任务状态¶
属性¶
名称 |
类型 |
描述 |
备注 |
|---|---|---|---|
id |
str |
[可选] |
|
type |
str |
[可选] |
|
状态 |
字符串 |
[可选] |
|
start_time |
int |
[可选] |
|
end_time |
int |
[可选] |
|
log |
str |
URL或日志字符串 |
[可选] |
详情 |
Dict[str, object] |
[可选] |
示例¶
from gs_interactive.models.job_status import JobStatus
# TODO update the JSON string below
json = "{}"
# create an instance of JobStatus from a JSON string
job_status_instance = JobStatus.from_json(json)
# print the JSON string representation of the object
print JobStatus.to_json()
# convert the object into a dict
job_status_dict = job_status_instance.to_dict()
# create an instance of JobStatus from a dict
job_status_form_dict = job_status.from_dict(job_status_dict)