API响应附带状态码

属性

名称

类型

描述

备注

code

int

[可选]

消息

字符串

[可选]

示例

from gs_interactive.models.api_response_with_code import APIResponseWithCode

# TODO update the JSON string below
json = "{}"
# create an instance of APIResponseWithCode from a JSON string
api_response_with_code_instance = APIResponseWithCode.from_json(json)
# print the JSON string representation of the object
print APIResponseWithCode.to_json()

# convert the object into a dict
api_response_with_code_dict = api_response_with_code_instance.to_dict()
# create an instance of APIResponseWithCode from a dict
api_response_with_code_form_dict = api_response_with_code.from_dict(api_response_with_code_dict)

[返回模型列表] [返回API列表] [返回python_sdk]