ErrorDetail¶
A single, field-level problem that contributed to an error response.
Properties¶
| Name | Type | Description | Notes |
|---|---|---|---|
| location | str | Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id' | [optional] |
| message | str | Error message text | [optional] |
| value | object | [optional] |
Example¶
from odm_api.models.error_detail import ErrorDetail
# TODO update the JSON string below
json = "{}"
# create an instance of ErrorDetail from a JSON string
error_detail_instance = ErrorDetail.from_json(json)
# print the JSON string representation of the object
print(ErrorDetail.to_json())
# convert the object into a dict
error_detail_dict = error_detail_instance.to_dict()
# create an instance of ErrorDetail from a dict
error_detail_from_dict = ErrorDetail.from_dict(error_detail_dict)