Skip to content

Latest commit

History

History
33 lines (24 loc) · 1.15 KB

File metadata and controls

33 lines (24 loc) · 1.15 KB

BaseResponseStr

Properties

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

Example

fromrevengai.models.base_response_strimportBaseResponseStr# TODO update the JSON string belowjson="{}"# create an instance of BaseResponseStr from a JSON stringbase_response_str_instance=BaseResponseStr.from_json(json)
# print the JSON string representation of the objectprint(BaseResponseStr.to_json())
# convert the object into a dictbase_response_str_dict=base_response_str_instance.to_dict()
# create an instance of BaseResponseStr from a dictbase_response_str_from_dict=BaseResponseStr.from_dict(base_response_str_dict)

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