huaweicloudsdkcodeartsbuild 3.1.148__py2.py3-none-any.whl → 3.1.150__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- huaweicloudsdkcodeartsbuild/v3/__init__.py +77 -2
- huaweicloudsdkcodeartsbuild/v3/codeartsbuild_async_client.py +1619 -123
- huaweicloudsdkcodeartsbuild/v3/codeartsbuild_client.py +1619 -123
- huaweicloudsdkcodeartsbuild/v3/model/__init__.py +77 -2
- huaweicloudsdkcodeartsbuild/v3/model/build_info_record.py +604 -0
- huaweicloudsdkcodeartsbuild/v3/model/build_info_record_commit_info.py +144 -0
- huaweicloudsdkcodeartsbuild/v3/model/build_params.py +173 -0
- huaweicloudsdkcodeartsbuild/v3/model/build_params_body_result.py +115 -0
- huaweicloudsdkcodeartsbuild/v3/model/build_record.py +981 -0
- huaweicloudsdkcodeartsbuild/v3/model/build_record_build_record_type.py +202 -0
- huaweicloudsdkcodeartsbuild/v3/model/build_record_parameters.py +202 -0
- huaweicloudsdkcodeartsbuild/v3/model/build_stage_record.py +608 -0
- huaweicloudsdkcodeartsbuild/v3/model/constraints.py +173 -0
- huaweicloudsdkcodeartsbuild/v3/model/download_real_time_log_request.py +199 -0
- huaweicloudsdkcodeartsbuild/v3/model/download_real_time_log_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/{flow_graph_result.py → flow_graph2_result.py} +15 -15
- huaweicloudsdkcodeartsbuild/v3/model/{flow_graph_result_edges.py → flow_graph2_result_edges.py} +11 -11
- huaweicloudsdkcodeartsbuild/v3/model/full_stages_result.py +115 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_build_info_record_body_result.py +231 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_build_info_record_by_job_id_request.py +228 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_build_info_record_by_job_id_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_build_info_record_request.py +228 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_build_info_record_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_official_template_request.py +173 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_official_template_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_official_template_result.py +144 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_project_jobs_request.py +373 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_project_jobs_response.py +145 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_recycling_job_request.py +173 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_recycling_job_response.py +228 -0
- huaweicloudsdkcodeartsbuild/v3/model/parameter.py +144 -0
- huaweicloudsdkcodeartsbuild/v3/model/params.py +289 -0
- huaweicloudsdkcodeartsbuild/v3/model/real_time_log_response_body_result.py +202 -0
- huaweicloudsdkcodeartsbuild/v3/model/recycling_job.py +347 -0
- huaweicloudsdkcodeartsbuild/v3/model/recycling_jobs_result.py +173 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_build_params_list_request.py +84 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_build_params_list_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_build_record_build_script_request.py +114 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_build_record_build_script_response.py +174 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_build_record_full_stages_request.py +143 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_build_record_full_stages_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_build_record_request.py +114 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_build_record_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_flow_graph_response.py +4 -4
- huaweicloudsdkcodeartsbuild/v3/model/show_image_template_list_request.py +84 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_image_template_list_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_image_template_list_response_body_result.py +115 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_image_template_list_response_body_result_image_templates.py +318 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_build_success_ratio_request.py +199 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_build_success_ratio_response.py +141 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_build_success_ratio_result.py +260 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_build_success_ratio_result_every_day_report.py +144 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_build_time_request.py +199 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_build_time_response.py +141 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_build_time_result.py +231 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_build_time_result_chart.py +202 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_config_diff_request.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_config_diff_response.py +145 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_config_request.py +143 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_config_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_info_request.py +114 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_info_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_info_result.py +724 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_role_permission_request.py +114 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_role_permission_response.py +145 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_role_permission_result.py +492 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_system_parameters_request.py +84 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_system_parameters_response.py +174 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_project_permission_request.py +114 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_project_permission_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_report_summary.py +463 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_report_summary_body_result.py +140 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_report_summary_request.py +142 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_report_summary_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_running_status_request.py +114 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_running_status_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_running_status_result.py +202 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_user_project_permission_result.py +260 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_yaml_template_request.py +143 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_yaml_template_response.py +174 -0
- huaweicloudsdkcodeartsbuild/v3/model/system_parameters_result.py +173 -0
- huaweicloudsdkcodeartsbuild/v3/model/template_list.py +459 -0
- huaweicloudsdkcodeartsbuild/v3/region/codeartsbuild_region.py +6 -0
- {huaweicloudsdkcodeartsbuild-3.1.148.dist-info → huaweicloudsdkcodeartsbuild-3.1.150.dist-info}/METADATA +2 -2
- {huaweicloudsdkcodeartsbuild-3.1.148.dist-info → huaweicloudsdkcodeartsbuild-3.1.150.dist-info}/RECORD +88 -13
- {huaweicloudsdkcodeartsbuild-3.1.148.dist-info → huaweicloudsdkcodeartsbuild-3.1.150.dist-info}/LICENSE +0 -0
- {huaweicloudsdkcodeartsbuild-3.1.148.dist-info → huaweicloudsdkcodeartsbuild-3.1.150.dist-info}/WHEEL +0 -0
- {huaweicloudsdkcodeartsbuild-3.1.148.dist-info → huaweicloudsdkcodeartsbuild-3.1.150.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,173 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class Constraints:
|
9
|
+
|
10
|
+
"""
|
11
|
+
Attributes:
|
12
|
+
openapi_types (dict): The key is attribute name
|
13
|
+
and the value is attribute type.
|
14
|
+
attribute_map (dict): The key is attribute name
|
15
|
+
and the value is json key in definition.
|
16
|
+
"""
|
17
|
+
sensitive_list = []
|
18
|
+
|
19
|
+
openapi_types = {
|
20
|
+
'errormsg': 'str',
|
21
|
+
'type': 'str',
|
22
|
+
'value': 'str'
|
23
|
+
}
|
24
|
+
|
25
|
+
attribute_map = {
|
26
|
+
'errormsg': 'errormsg',
|
27
|
+
'type': 'type',
|
28
|
+
'value': 'value'
|
29
|
+
}
|
30
|
+
|
31
|
+
def __init__(self, errormsg=None, type=None, value=None):
|
32
|
+
r"""Constraints
|
33
|
+
|
34
|
+
The model defined in huaweicloud sdk
|
35
|
+
|
36
|
+
:param errormsg: 错误信息
|
37
|
+
:type errormsg: str
|
38
|
+
:param type: 类型
|
39
|
+
:type type: str
|
40
|
+
:param value: 参考值
|
41
|
+
:type value: str
|
42
|
+
"""
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
self._errormsg = None
|
47
|
+
self._type = None
|
48
|
+
self._value = None
|
49
|
+
self.discriminator = None
|
50
|
+
|
51
|
+
if errormsg is not None:
|
52
|
+
self.errormsg = errormsg
|
53
|
+
if type is not None:
|
54
|
+
self.type = type
|
55
|
+
if value is not None:
|
56
|
+
self.value = value
|
57
|
+
|
58
|
+
@property
|
59
|
+
def errormsg(self):
|
60
|
+
r"""Gets the errormsg of this Constraints.
|
61
|
+
|
62
|
+
错误信息
|
63
|
+
|
64
|
+
:return: The errormsg of this Constraints.
|
65
|
+
:rtype: str
|
66
|
+
"""
|
67
|
+
return self._errormsg
|
68
|
+
|
69
|
+
@errormsg.setter
|
70
|
+
def errormsg(self, errormsg):
|
71
|
+
r"""Sets the errormsg of this Constraints.
|
72
|
+
|
73
|
+
错误信息
|
74
|
+
|
75
|
+
:param errormsg: The errormsg of this Constraints.
|
76
|
+
:type errormsg: str
|
77
|
+
"""
|
78
|
+
self._errormsg = errormsg
|
79
|
+
|
80
|
+
@property
|
81
|
+
def type(self):
|
82
|
+
r"""Gets the type of this Constraints.
|
83
|
+
|
84
|
+
类型
|
85
|
+
|
86
|
+
:return: The type of this Constraints.
|
87
|
+
:rtype: str
|
88
|
+
"""
|
89
|
+
return self._type
|
90
|
+
|
91
|
+
@type.setter
|
92
|
+
def type(self, type):
|
93
|
+
r"""Sets the type of this Constraints.
|
94
|
+
|
95
|
+
类型
|
96
|
+
|
97
|
+
:param type: The type of this Constraints.
|
98
|
+
:type type: str
|
99
|
+
"""
|
100
|
+
self._type = type
|
101
|
+
|
102
|
+
@property
|
103
|
+
def value(self):
|
104
|
+
r"""Gets the value of this Constraints.
|
105
|
+
|
106
|
+
参考值
|
107
|
+
|
108
|
+
:return: The value of this Constraints.
|
109
|
+
:rtype: str
|
110
|
+
"""
|
111
|
+
return self._value
|
112
|
+
|
113
|
+
@value.setter
|
114
|
+
def value(self, value):
|
115
|
+
r"""Sets the value of this Constraints.
|
116
|
+
|
117
|
+
参考值
|
118
|
+
|
119
|
+
:param value: The value of this Constraints.
|
120
|
+
:type value: str
|
121
|
+
"""
|
122
|
+
self._value = value
|
123
|
+
|
124
|
+
def to_dict(self):
|
125
|
+
"""Returns the model properties as a dict"""
|
126
|
+
result = {}
|
127
|
+
|
128
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
129
|
+
value = getattr(self, attr)
|
130
|
+
if isinstance(value, list):
|
131
|
+
result[attr] = list(map(
|
132
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
133
|
+
value
|
134
|
+
))
|
135
|
+
elif hasattr(value, "to_dict"):
|
136
|
+
result[attr] = value.to_dict()
|
137
|
+
elif isinstance(value, dict):
|
138
|
+
result[attr] = dict(map(
|
139
|
+
lambda item: (item[0], item[1].to_dict())
|
140
|
+
if hasattr(item[1], "to_dict") else item,
|
141
|
+
value.items()
|
142
|
+
))
|
143
|
+
else:
|
144
|
+
if attr in self.sensitive_list:
|
145
|
+
result[attr] = "****"
|
146
|
+
else:
|
147
|
+
result[attr] = value
|
148
|
+
|
149
|
+
return result
|
150
|
+
|
151
|
+
def to_str(self):
|
152
|
+
"""Returns the string representation of the model"""
|
153
|
+
import simplejson as json
|
154
|
+
if six.PY2:
|
155
|
+
import sys
|
156
|
+
reload(sys)
|
157
|
+
sys.setdefaultencoding("utf-8")
|
158
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
159
|
+
|
160
|
+
def __repr__(self):
|
161
|
+
"""For `print`"""
|
162
|
+
return self.to_str()
|
163
|
+
|
164
|
+
def __eq__(self, other):
|
165
|
+
"""Returns true if both objects are equal"""
|
166
|
+
if not isinstance(other, Constraints):
|
167
|
+
return False
|
168
|
+
|
169
|
+
return self.__dict__ == other.__dict__
|
170
|
+
|
171
|
+
def __ne__(self, other):
|
172
|
+
"""Returns true if both objects are not equal"""
|
173
|
+
return not self == other
|
@@ -0,0 +1,199 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class DownloadRealTimeLogRequest:
|
9
|
+
|
10
|
+
"""
|
11
|
+
Attributes:
|
12
|
+
openapi_types (dict): The key is attribute name
|
13
|
+
and the value is attribute type.
|
14
|
+
attribute_map (dict): The key is attribute name
|
15
|
+
and the value is json key in definition.
|
16
|
+
"""
|
17
|
+
sensitive_list = []
|
18
|
+
|
19
|
+
openapi_types = {
|
20
|
+
'job_id': 'str',
|
21
|
+
'build_no': 'int',
|
22
|
+
'offset': 'int',
|
23
|
+
'length': 'int'
|
24
|
+
}
|
25
|
+
|
26
|
+
attribute_map = {
|
27
|
+
'job_id': 'job_id',
|
28
|
+
'build_no': 'build_no',
|
29
|
+
'offset': 'offset',
|
30
|
+
'length': 'length'
|
31
|
+
}
|
32
|
+
|
33
|
+
def __init__(self, job_id=None, build_no=None, offset=None, length=None):
|
34
|
+
r"""DownloadRealTimeLogRequest
|
35
|
+
|
36
|
+
The model defined in huaweicloud sdk
|
37
|
+
|
38
|
+
:param job_id: 构建的任务ID; 编辑构建任务时,浏览器URL末尾的32位数字、字母组合的字符串。
|
39
|
+
:type job_id: str
|
40
|
+
:param build_no: 构建任务的构建编号,从1开始,每次构建递增1
|
41
|
+
:type build_no: int
|
42
|
+
:param offset: 偏移量,传入前一次请求返回的offset
|
43
|
+
:type offset: int
|
44
|
+
:param length: 可控制返回内容长度,默认值为1000000
|
45
|
+
:type length: int
|
46
|
+
"""
|
47
|
+
|
48
|
+
|
49
|
+
|
50
|
+
self._job_id = None
|
51
|
+
self._build_no = None
|
52
|
+
self._offset = None
|
53
|
+
self._length = None
|
54
|
+
self.discriminator = None
|
55
|
+
|
56
|
+
self.job_id = job_id
|
57
|
+
self.build_no = build_no
|
58
|
+
self.offset = offset
|
59
|
+
if length is not None:
|
60
|
+
self.length = length
|
61
|
+
|
62
|
+
@property
|
63
|
+
def job_id(self):
|
64
|
+
r"""Gets the job_id of this DownloadRealTimeLogRequest.
|
65
|
+
|
66
|
+
构建的任务ID; 编辑构建任务时,浏览器URL末尾的32位数字、字母组合的字符串。
|
67
|
+
|
68
|
+
:return: The job_id of this DownloadRealTimeLogRequest.
|
69
|
+
:rtype: str
|
70
|
+
"""
|
71
|
+
return self._job_id
|
72
|
+
|
73
|
+
@job_id.setter
|
74
|
+
def job_id(self, job_id):
|
75
|
+
r"""Sets the job_id of this DownloadRealTimeLogRequest.
|
76
|
+
|
77
|
+
构建的任务ID; 编辑构建任务时,浏览器URL末尾的32位数字、字母组合的字符串。
|
78
|
+
|
79
|
+
:param job_id: The job_id of this DownloadRealTimeLogRequest.
|
80
|
+
:type job_id: str
|
81
|
+
"""
|
82
|
+
self._job_id = job_id
|
83
|
+
|
84
|
+
@property
|
85
|
+
def build_no(self):
|
86
|
+
r"""Gets the build_no of this DownloadRealTimeLogRequest.
|
87
|
+
|
88
|
+
构建任务的构建编号,从1开始,每次构建递增1
|
89
|
+
|
90
|
+
:return: The build_no of this DownloadRealTimeLogRequest.
|
91
|
+
:rtype: int
|
92
|
+
"""
|
93
|
+
return self._build_no
|
94
|
+
|
95
|
+
@build_no.setter
|
96
|
+
def build_no(self, build_no):
|
97
|
+
r"""Sets the build_no of this DownloadRealTimeLogRequest.
|
98
|
+
|
99
|
+
构建任务的构建编号,从1开始,每次构建递增1
|
100
|
+
|
101
|
+
:param build_no: The build_no of this DownloadRealTimeLogRequest.
|
102
|
+
:type build_no: int
|
103
|
+
"""
|
104
|
+
self._build_no = build_no
|
105
|
+
|
106
|
+
@property
|
107
|
+
def offset(self):
|
108
|
+
r"""Gets the offset of this DownloadRealTimeLogRequest.
|
109
|
+
|
110
|
+
偏移量,传入前一次请求返回的offset
|
111
|
+
|
112
|
+
:return: The offset of this DownloadRealTimeLogRequest.
|
113
|
+
:rtype: int
|
114
|
+
"""
|
115
|
+
return self._offset
|
116
|
+
|
117
|
+
@offset.setter
|
118
|
+
def offset(self, offset):
|
119
|
+
r"""Sets the offset of this DownloadRealTimeLogRequest.
|
120
|
+
|
121
|
+
偏移量,传入前一次请求返回的offset
|
122
|
+
|
123
|
+
:param offset: The offset of this DownloadRealTimeLogRequest.
|
124
|
+
:type offset: int
|
125
|
+
"""
|
126
|
+
self._offset = offset
|
127
|
+
|
128
|
+
@property
|
129
|
+
def length(self):
|
130
|
+
r"""Gets the length of this DownloadRealTimeLogRequest.
|
131
|
+
|
132
|
+
可控制返回内容长度,默认值为1000000
|
133
|
+
|
134
|
+
:return: The length of this DownloadRealTimeLogRequest.
|
135
|
+
:rtype: int
|
136
|
+
"""
|
137
|
+
return self._length
|
138
|
+
|
139
|
+
@length.setter
|
140
|
+
def length(self, length):
|
141
|
+
r"""Sets the length of this DownloadRealTimeLogRequest.
|
142
|
+
|
143
|
+
可控制返回内容长度,默认值为1000000
|
144
|
+
|
145
|
+
:param length: The length of this DownloadRealTimeLogRequest.
|
146
|
+
:type length: int
|
147
|
+
"""
|
148
|
+
self._length = length
|
149
|
+
|
150
|
+
def to_dict(self):
|
151
|
+
"""Returns the model properties as a dict"""
|
152
|
+
result = {}
|
153
|
+
|
154
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
155
|
+
value = getattr(self, attr)
|
156
|
+
if isinstance(value, list):
|
157
|
+
result[attr] = list(map(
|
158
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
159
|
+
value
|
160
|
+
))
|
161
|
+
elif hasattr(value, "to_dict"):
|
162
|
+
result[attr] = value.to_dict()
|
163
|
+
elif isinstance(value, dict):
|
164
|
+
result[attr] = dict(map(
|
165
|
+
lambda item: (item[0], item[1].to_dict())
|
166
|
+
if hasattr(item[1], "to_dict") else item,
|
167
|
+
value.items()
|
168
|
+
))
|
169
|
+
else:
|
170
|
+
if attr in self.sensitive_list:
|
171
|
+
result[attr] = "****"
|
172
|
+
else:
|
173
|
+
result[attr] = value
|
174
|
+
|
175
|
+
return result
|
176
|
+
|
177
|
+
def to_str(self):
|
178
|
+
"""Returns the string representation of the model"""
|
179
|
+
import simplejson as json
|
180
|
+
if six.PY2:
|
181
|
+
import sys
|
182
|
+
reload(sys)
|
183
|
+
sys.setdefaultencoding("utf-8")
|
184
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
185
|
+
|
186
|
+
def __repr__(self):
|
187
|
+
"""For `print`"""
|
188
|
+
return self.to_str()
|
189
|
+
|
190
|
+
def __eq__(self, other):
|
191
|
+
"""Returns true if both objects are equal"""
|
192
|
+
if not isinstance(other, DownloadRealTimeLogRequest):
|
193
|
+
return False
|
194
|
+
|
195
|
+
return self.__dict__ == other.__dict__
|
196
|
+
|
197
|
+
def __ne__(self, other):
|
198
|
+
"""Returns true if both objects are not equal"""
|
199
|
+
return not self == other
|
@@ -0,0 +1,170 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.sdk_response import SdkResponse
|
6
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
7
|
+
|
8
|
+
|
9
|
+
class DownloadRealTimeLogResponse(SdkResponse):
|
10
|
+
|
11
|
+
"""
|
12
|
+
Attributes:
|
13
|
+
openapi_types (dict): The key is attribute name
|
14
|
+
and the value is attribute type.
|
15
|
+
attribute_map (dict): The key is attribute name
|
16
|
+
and the value is json key in definition.
|
17
|
+
"""
|
18
|
+
sensitive_list = []
|
19
|
+
|
20
|
+
openapi_types = {
|
21
|
+
'result': 'RealTimeLogResponseBodyResult',
|
22
|
+
'error': 'str',
|
23
|
+
'status': 'str'
|
24
|
+
}
|
25
|
+
|
26
|
+
attribute_map = {
|
27
|
+
'result': 'result',
|
28
|
+
'error': 'error',
|
29
|
+
'status': 'status'
|
30
|
+
}
|
31
|
+
|
32
|
+
def __init__(self, result=None, error=None, status=None):
|
33
|
+
r"""DownloadRealTimeLogResponse
|
34
|
+
|
35
|
+
The model defined in huaweicloud sdk
|
36
|
+
|
37
|
+
:param result:
|
38
|
+
:type result: :class:`huaweicloudsdkcodeartsbuild.v3.RealTimeLogResponseBodyResult`
|
39
|
+
:param error: 返回错误信息
|
40
|
+
:type error: str
|
41
|
+
:param status: 返回状态信息
|
42
|
+
:type status: str
|
43
|
+
"""
|
44
|
+
|
45
|
+
super(DownloadRealTimeLogResponse, self).__init__()
|
46
|
+
|
47
|
+
self._result = None
|
48
|
+
self._error = None
|
49
|
+
self._status = None
|
50
|
+
self.discriminator = None
|
51
|
+
|
52
|
+
if result is not None:
|
53
|
+
self.result = result
|
54
|
+
if error is not None:
|
55
|
+
self.error = error
|
56
|
+
if status is not None:
|
57
|
+
self.status = status
|
58
|
+
|
59
|
+
@property
|
60
|
+
def result(self):
|
61
|
+
r"""Gets the result of this DownloadRealTimeLogResponse.
|
62
|
+
|
63
|
+
:return: The result of this DownloadRealTimeLogResponse.
|
64
|
+
:rtype: :class:`huaweicloudsdkcodeartsbuild.v3.RealTimeLogResponseBodyResult`
|
65
|
+
"""
|
66
|
+
return self._result
|
67
|
+
|
68
|
+
@result.setter
|
69
|
+
def result(self, result):
|
70
|
+
r"""Sets the result of this DownloadRealTimeLogResponse.
|
71
|
+
|
72
|
+
:param result: The result of this DownloadRealTimeLogResponse.
|
73
|
+
:type result: :class:`huaweicloudsdkcodeartsbuild.v3.RealTimeLogResponseBodyResult`
|
74
|
+
"""
|
75
|
+
self._result = result
|
76
|
+
|
77
|
+
@property
|
78
|
+
def error(self):
|
79
|
+
r"""Gets the error of this DownloadRealTimeLogResponse.
|
80
|
+
|
81
|
+
返回错误信息
|
82
|
+
|
83
|
+
:return: The error of this DownloadRealTimeLogResponse.
|
84
|
+
:rtype: str
|
85
|
+
"""
|
86
|
+
return self._error
|
87
|
+
|
88
|
+
@error.setter
|
89
|
+
def error(self, error):
|
90
|
+
r"""Sets the error of this DownloadRealTimeLogResponse.
|
91
|
+
|
92
|
+
返回错误信息
|
93
|
+
|
94
|
+
:param error: The error of this DownloadRealTimeLogResponse.
|
95
|
+
:type error: str
|
96
|
+
"""
|
97
|
+
self._error = error
|
98
|
+
|
99
|
+
@property
|
100
|
+
def status(self):
|
101
|
+
r"""Gets the status of this DownloadRealTimeLogResponse.
|
102
|
+
|
103
|
+
返回状态信息
|
104
|
+
|
105
|
+
:return: The status of this DownloadRealTimeLogResponse.
|
106
|
+
:rtype: str
|
107
|
+
"""
|
108
|
+
return self._status
|
109
|
+
|
110
|
+
@status.setter
|
111
|
+
def status(self, status):
|
112
|
+
r"""Sets the status of this DownloadRealTimeLogResponse.
|
113
|
+
|
114
|
+
返回状态信息
|
115
|
+
|
116
|
+
:param status: The status of this DownloadRealTimeLogResponse.
|
117
|
+
:type status: str
|
118
|
+
"""
|
119
|
+
self._status = status
|
120
|
+
|
121
|
+
def to_dict(self):
|
122
|
+
"""Returns the model properties as a dict"""
|
123
|
+
result = {}
|
124
|
+
|
125
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
126
|
+
value = getattr(self, attr)
|
127
|
+
if isinstance(value, list):
|
128
|
+
result[attr] = list(map(
|
129
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
130
|
+
value
|
131
|
+
))
|
132
|
+
elif hasattr(value, "to_dict"):
|
133
|
+
result[attr] = value.to_dict()
|
134
|
+
elif isinstance(value, dict):
|
135
|
+
result[attr] = dict(map(
|
136
|
+
lambda item: (item[0], item[1].to_dict())
|
137
|
+
if hasattr(item[1], "to_dict") else item,
|
138
|
+
value.items()
|
139
|
+
))
|
140
|
+
else:
|
141
|
+
if attr in self.sensitive_list:
|
142
|
+
result[attr] = "****"
|
143
|
+
else:
|
144
|
+
result[attr] = value
|
145
|
+
|
146
|
+
return result
|
147
|
+
|
148
|
+
def to_str(self):
|
149
|
+
"""Returns the string representation of the model"""
|
150
|
+
import simplejson as json
|
151
|
+
if six.PY2:
|
152
|
+
import sys
|
153
|
+
reload(sys)
|
154
|
+
sys.setdefaultencoding("utf-8")
|
155
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
156
|
+
|
157
|
+
def __repr__(self):
|
158
|
+
"""For `print`"""
|
159
|
+
return self.to_str()
|
160
|
+
|
161
|
+
def __eq__(self, other):
|
162
|
+
"""Returns true if both objects are equal"""
|
163
|
+
if not isinstance(other, DownloadRealTimeLogResponse):
|
164
|
+
return False
|
165
|
+
|
166
|
+
return self.__dict__ == other.__dict__
|
167
|
+
|
168
|
+
def __ne__(self, other):
|
169
|
+
"""Returns true if both objects are not equal"""
|
170
|
+
return not self == other
|
@@ -5,7 +5,7 @@ import six
|
|
5
5
|
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
6
|
|
7
7
|
|
8
|
-
class
|
8
|
+
class FlowGraph2Result:
|
9
9
|
|
10
10
|
"""
|
11
11
|
Attributes:
|
@@ -17,7 +17,7 @@ class FlowGraphResult:
|
|
17
17
|
sensitive_list = []
|
18
18
|
|
19
19
|
openapi_types = {
|
20
|
-
'edges': 'list[
|
20
|
+
'edges': 'list[FlowGraph2ResultEdges]',
|
21
21
|
'vertices': 'list[Vertices]'
|
22
22
|
}
|
23
23
|
|
@@ -27,12 +27,12 @@ class FlowGraphResult:
|
|
27
27
|
}
|
28
28
|
|
29
29
|
def __init__(self, edges=None, vertices=None):
|
30
|
-
r"""
|
30
|
+
r"""FlowGraph2Result
|
31
31
|
|
32
32
|
The model defined in huaweicloud sdk
|
33
33
|
|
34
34
|
:param edges: edges
|
35
|
-
:type edges: list[:class:`huaweicloudsdkcodeartsbuild.v3.
|
35
|
+
:type edges: list[:class:`huaweicloudsdkcodeartsbuild.v3.FlowGraph2ResultEdges`]
|
36
36
|
:param vertices: record信息
|
37
37
|
:type vertices: list[:class:`huaweicloudsdkcodeartsbuild.v3.Vertices`]
|
38
38
|
"""
|
@@ -50,44 +50,44 @@ class FlowGraphResult:
|
|
50
50
|
|
51
51
|
@property
|
52
52
|
def edges(self):
|
53
|
-
r"""Gets the edges of this
|
53
|
+
r"""Gets the edges of this FlowGraph2Result.
|
54
54
|
|
55
55
|
edges
|
56
56
|
|
57
|
-
:return: The edges of this
|
58
|
-
:rtype: list[:class:`huaweicloudsdkcodeartsbuild.v3.
|
57
|
+
:return: The edges of this FlowGraph2Result.
|
58
|
+
:rtype: list[:class:`huaweicloudsdkcodeartsbuild.v3.FlowGraph2ResultEdges`]
|
59
59
|
"""
|
60
60
|
return self._edges
|
61
61
|
|
62
62
|
@edges.setter
|
63
63
|
def edges(self, edges):
|
64
|
-
r"""Sets the edges of this
|
64
|
+
r"""Sets the edges of this FlowGraph2Result.
|
65
65
|
|
66
66
|
edges
|
67
67
|
|
68
|
-
:param edges: The edges of this
|
69
|
-
:type edges: list[:class:`huaweicloudsdkcodeartsbuild.v3.
|
68
|
+
:param edges: The edges of this FlowGraph2Result.
|
69
|
+
:type edges: list[:class:`huaweicloudsdkcodeartsbuild.v3.FlowGraph2ResultEdges`]
|
70
70
|
"""
|
71
71
|
self._edges = edges
|
72
72
|
|
73
73
|
@property
|
74
74
|
def vertices(self):
|
75
|
-
r"""Gets the vertices of this
|
75
|
+
r"""Gets the vertices of this FlowGraph2Result.
|
76
76
|
|
77
77
|
record信息
|
78
78
|
|
79
|
-
:return: The vertices of this
|
79
|
+
:return: The vertices of this FlowGraph2Result.
|
80
80
|
:rtype: list[:class:`huaweicloudsdkcodeartsbuild.v3.Vertices`]
|
81
81
|
"""
|
82
82
|
return self._vertices
|
83
83
|
|
84
84
|
@vertices.setter
|
85
85
|
def vertices(self, vertices):
|
86
|
-
r"""Sets the vertices of this
|
86
|
+
r"""Sets the vertices of this FlowGraph2Result.
|
87
87
|
|
88
88
|
record信息
|
89
89
|
|
90
|
-
:param vertices: The vertices of this
|
90
|
+
:param vertices: The vertices of this FlowGraph2Result.
|
91
91
|
:type vertices: list[:class:`huaweicloudsdkcodeartsbuild.v3.Vertices`]
|
92
92
|
"""
|
93
93
|
self._vertices = vertices
|
@@ -134,7 +134,7 @@ class FlowGraphResult:
|
|
134
134
|
|
135
135
|
def __eq__(self, other):
|
136
136
|
"""Returns true if both objects are equal"""
|
137
|
-
if not isinstance(other,
|
137
|
+
if not isinstance(other, FlowGraph2Result):
|
138
138
|
return False
|
139
139
|
|
140
140
|
return self.__dict__ == other.__dict__
|