Skip to content

Latest commit

History

History
33 lines (24 loc) · 1.19 KB

File metadata and controls

33 lines (24 loc) · 1.19 KB

BaseResponseBasic

Properties

NameTypeDescriptionNotes
statusboolResponse status on whether the request succeeded[optional] [default to True]
dataBasic[optional]
messagestr[optional]
errorsList[ErrorModel][optional]
metaMetaModelMetadata[optional]

Example

fromrevengai.models.base_response_basicimportBaseResponseBasic# TODO update the JSON string belowjson="{}"# create an instance of BaseResponseBasic from a JSON stringbase_response_basic_instance=BaseResponseBasic.from_json(json)
# print the JSON string representation of the objectprint(BaseResponseBasic.to_json())
# convert the object into a dictbase_response_basic_dict=base_response_basic_instance.to_dict()
# create an instance of BaseResponseBasic from a dictbase_response_basic_from_dict=BaseResponseBasic.from_dict(base_response_basic_dict)

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