forked from huaweicloud/huaweicloud-sdk-go-v3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
model_show_test_case_detail_response.go
58 lines (40 loc) · 1.42 KB
/
model_show_test_case_detail_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
46
47
48
49
50
51
52
53
54
55
56
57
58
package model
import (
"github.com/dysodeng/huaweicloud-sdk-go-v3/core/utils"
"strings"
)
// ShowTestCaseDetailResponse Response Object
type ShowTestCaseDetailResponse struct {
// 测试用例唯一标识
TestcaseId *string `json:"testcase_id,omitempty"`
// 软开云项目唯一标识
ProjectId *string `json:"project_id,omitempty"`
// 注册测试类型服务接口返回的服务id
ServiceId *int32 `json:"service_id,omitempty"`
// 测试用例名称
Name *string `json:"name,omitempty"`
// 测试用例编号
TestcaseNumber *string `json:"testcase_number,omitempty"`
// 测试用例等级
RankId *string `json:"rank_id,omitempty"`
// 测试用例状态
StatusId *string `json:"status_id,omitempty"`
AssignedUser *AssignedUserInfo `json:"assigned_user,omitempty"`
// 测试用例执行次数
ExecuteCount *int32 `json:"execute_count,omitempty"`
// 测试用例执行结果
ResultId *string `json:"result_id,omitempty"`
ExtendInfo *ExtendInfo `json:"extend_info,omitempty"`
// 接口调用失败错误码
ErrorCode *string `json:"error_code,omitempty"`
// 接口调用失败错误信息
ErrorMsg *string `json:"error_msg,omitempty"`
HttpStatusCode int `json:"-"`
}
func (o ShowTestCaseDetailResponse) String() string {
data, err := utils.Marshal(o)
if err != nil {
return "ShowTestCaseDetailResponse struct{}"
}
return strings.Join([]string{"ShowTestCaseDetailResponse", string(data)}, " ")
}