|
Asset Connector Documentation
|
Classes | |
| class | ResponseBody |
Functions | |
| ResponseBody | create_response (int status_code, str message, str payload="{}", str value="") |
| Create a ResponseBody instance with the given parameters. | |
| ResponseBody response_body.create_response | ( | int | status_code, |
| str | message, | ||
| str | payload = "{}", |
||
| str | value = "" |
||
| ) |
Create a ResponseBody instance with the given parameters.
| status_code | The HTTP status code of the response. |
| message | A message providing additional information about the response. |
| payload | Json content of the response. |
| value | The value returned by the operation, if applicable. |
Definition at line 60 of file response_body.py.