forked from huaweicloud/huaweicloud-sdk-go-v3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
model_show_job_response.go
45 lines (32 loc) · 1.12 KB
/
model_show_job_response.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
package model
import (
"github.com/dysodeng/huaweicloud-sdk-go-v3/core/utils"
"strings"
)
// ShowJobResponse Response Object
type ShowJobResponse struct {
// 请求的唯一标识ID。
RequestId *string `json:"request_id,omitempty"`
// 任务的唯一标识
JobId *string `json:"job_id,omitempty"`
// 任务处理开始时间 时间格式为UTC,YYYY-MM-DDTHH:MM:SSZ
BeginTime *string `json:"begin_time,omitempty"`
// 任务处理结束时间 时间格式为UTC,YYYY-MM-DDTHH:MM:SSZ
EndTime *string `json:"end_time,omitempty"`
// 任务状态 - 1: 运行中 - 2: 成功 - -1: 失败
Status *int32 `json:"status,omitempty"`
// 任务错误码说明。
ErrorMsg *string `json:"error_msg,omitempty"`
// 任务错误码
ErrorCode *string `json:"error_code,omitempty"`
// 任务执行返回内容,最长1024个字节
ExecuteMsg *string `json:"execute_msg,omitempty"`
HttpStatusCode int `json:"-"`
}
func (o ShowJobResponse) String() string {
data, err := utils.Marshal(o)
if err != nil {
return "ShowJobResponse struct{}"
}
return strings.Join([]string{"ShowJobResponse", string(data)}, " ")
}