Skip to content

Latest commit

History

History
30 lines (21 loc) · 848 Bytes

File metadata and controls

30 lines (21 loc) · 848 Bytes

ErrorModel

Properties

NameTypeDescriptionNotes
codestr
messagestr

Example

fromrevengai.models.error_modelimportErrorModel# TODO update the JSON string belowjson="{}"# create an instance of ErrorModel from a JSON stringerror_model_instance=ErrorModel.from_json(json)
# print the JSON string representation of the objectprint(ErrorModel.to_json())
# convert the object into a dicterror_model_dict=error_model_instance.to_dict()
# create an instance of ErrorModel from a dicterror_model_from_dict=ErrorModel.from_dict(error_model_dict)

[Back to Model list][Back to API list][Back to README]