-
Notifications
You must be signed in to change notification settings - Fork 44
/
model_release_resp.go
67 lines (46 loc) · 1.44 KB
/
model_release_resp.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
59
60
61
62
63
64
65
66
67
package model
import (
"github.com/huaweicloud/huaweicloud-sdk-go-v3/core/utils"
"strings"
)
type ReleaseResp struct {
// 模板名称
ChartName *string `json:"chart_name,omitempty"`
// 是否公开模板
ChartPublic *bool `json:"chart_public,omitempty"`
// 模板版本
ChartVersion *string `json:"chart_version,omitempty"`
// 集群ID
ClusterId *string `json:"cluster_id,omitempty"`
// 集群名称
ClusterName *string `json:"cluster_name,omitempty"`
// 创建时间
CreateAt *string `json:"create_at,omitempty"`
// 模板实例描述
Description *string `json:"description,omitempty"`
// 模板实例名称
Name *string `json:"name,omitempty"`
// 模板实例所在的命名空间
Namespace *string `json:"namespace,omitempty"`
// 模板实例参数
Parameters *string `json:"parameters,omitempty"`
// 模板实例需要的资源
Resources *string `json:"resources,omitempty"`
// 模板实例状态
Status *string `json:"status,omitempty"`
// 模板实例状态描述
StatusDescription *string `json:"status_description,omitempty"`
// 更新时间
UpdateAt *string `json:"update_at,omitempty"`
// 模板实例的值
Values *string `json:"values,omitempty"`
// 模板实例版本
Version *int32 `json:"version,omitempty"`
}
func (o ReleaseResp) String() string {
data, err := utils.Marshal(o)
if err != nil {
return "ReleaseResp struct{}"
}
return strings.Join([]string{"ReleaseResp", string(data)}, " ")
}