The error payload from the REST API.
Name | Type | Description | Notes |
---|---|---|---|
statusmsg | str | The error message as string. |
from pyPeblar.models.api_error import ApiError
# TODO update the JSON string below
json = "{}"
# create an instance of ApiError from a JSON string
api_error_instance = ApiError.from_json(json)
# print the JSON string representation of the object
print(ApiError.to_json())
# convert the object into a dict
api_error_dict = api_error_instance.to_dict()
# create an instance of ApiError from a dict
api_error_from_dict = ApiError.from_dict(api_error_dict)