huaweicloudsdkcodeartsbuild 3.1.151__py2.py3-none-any.whl → 3.1.152__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.
Files changed (66) hide show
  1. huaweicloudsdkcodeartsbuild/v3/__init__.py +57 -0
  2. huaweicloudsdkcodeartsbuild/v3/codeartsbuild_async_client.py +2171 -906
  3. huaweicloudsdkcodeartsbuild/v3/codeartsbuild_client.py +2171 -906
  4. huaweicloudsdkcodeartsbuild/v3/model/__init__.py +57 -0
  5. huaweicloudsdkcodeartsbuild/v3/model/build_parameter.py +144 -0
  6. huaweicloudsdkcodeartsbuild/v3/model/check_job_count_is_top_limit_request.py +84 -0
  7. huaweicloudsdkcodeartsbuild/v3/model/check_job_count_is_top_limit_response.py +174 -0
  8. huaweicloudsdkcodeartsbuild/v3/model/download_junit_coverage_zip_request.py +170 -0
  9. huaweicloudsdkcodeartsbuild/v3/model/download_junit_coverage_zip_response.py +85 -0
  10. huaweicloudsdkcodeartsbuild/v3/model/is_disable_result.py +260 -0
  11. huaweicloudsdkcodeartsbuild/v3/model/job_status_body.py +173 -0
  12. huaweicloudsdkcodeartsbuild/v3/model/job_summary.py +202 -0
  13. huaweicloudsdkcodeartsbuild/v3/model/job_summary_body_result.py +111 -0
  14. huaweicloudsdkcodeartsbuild/v3/model/job_update_record_list_vo_result.py +144 -0
  15. huaweicloudsdkcodeartsbuild/v3/model/job_update_record_list_vo_result_job_update_records.py +289 -0
  16. huaweicloudsdkcodeartsbuild/v3/model/list_build_parameter_request.py +142 -0
  17. huaweicloudsdkcodeartsbuild/v3/model/list_build_parameter_response.py +174 -0
  18. huaweicloudsdkcodeartsbuild/v3/model/list_custom_template_request.py +231 -0
  19. huaweicloudsdkcodeartsbuild/v3/model/list_custom_template_response.py +170 -0
  20. huaweicloudsdkcodeartsbuild/v3/model/list_job_request.py +84 -0
  21. huaweicloudsdkcodeartsbuild/v3/model/list_job_response.py +141 -0
  22. huaweicloudsdkcodeartsbuild/v3/model/list_job_result.py +144 -0
  23. huaweicloudsdkcodeartsbuild/v3/model/list_job_result_job_list.py +1217 -0
  24. huaweicloudsdkcodeartsbuild/v3/model/list_junit_coverage_summary_request.py +142 -0
  25. huaweicloudsdkcodeartsbuild/v3/model/list_junit_coverage_summary_response.py +170 -0
  26. huaweicloudsdkcodeartsbuild/v3/model/list_junit_coverage_summary_result.py +115 -0
  27. huaweicloudsdkcodeartsbuild/v3/model/list_junit_coverage_summary_result_unit_summary_list.py +231 -0
  28. huaweicloudsdkcodeartsbuild/v3/model/list_keystore_search_request.py +173 -0
  29. huaweicloudsdkcodeartsbuild/v3/model/list_keystore_search_response.py +170 -0
  30. huaweicloudsdkcodeartsbuild/v3/model/list_keystore_search_response_body_result.py +144 -0
  31. huaweicloudsdkcodeartsbuild/v3/model/list_keystore_search_response_body_result_keystore_list.py +517 -0
  32. huaweicloudsdkcodeartsbuild/v3/model/list_keystore_search_response_body_result_permission.py +231 -0
  33. huaweicloudsdkcodeartsbuild/v3/model/list_repo_branch_request.py +142 -0
  34. huaweicloudsdkcodeartsbuild/v3/model/list_repo_branch_response.py +145 -0
  35. huaweicloudsdkcodeartsbuild/v3/model/list_repository_request.py +114 -0
  36. huaweicloudsdkcodeartsbuild/v3/model/list_repository_response.py +170 -0
  37. huaweicloudsdkcodeartsbuild/v3/model/list_update_job_history_request.py +172 -0
  38. huaweicloudsdkcodeartsbuild/v3/model/list_update_job_history_response.py +170 -0
  39. huaweicloudsdkcodeartsbuild/v3/model/query_custom_templates_result.py +144 -0
  40. huaweicloudsdkcodeartsbuild/v3/model/repositories_result.py +144 -0
  41. huaweicloudsdkcodeartsbuild/v3/model/show_build_record_flow_graph_request.py +114 -0
  42. huaweicloudsdkcodeartsbuild/v3/model/show_build_record_flow_graph_response.py +170 -0
  43. huaweicloudsdkcodeartsbuild/v3/model/show_copy_name_request.py +114 -0
  44. huaweicloudsdkcodeartsbuild/v3/model/show_copy_name_response.py +174 -0
  45. huaweicloudsdkcodeartsbuild/v3/model/show_default_project_permission_request.py +142 -0
  46. huaweicloudsdkcodeartsbuild/v3/model/show_default_project_permission_response.py +174 -0
  47. huaweicloudsdkcodeartsbuild/v3/model/show_default_project_permission_response_body_result.py +347 -0
  48. huaweicloudsdkcodeartsbuild/v3/model/show_disable_request.py +114 -0
  49. huaweicloudsdkcodeartsbuild/v3/model/show_disable_response.py +170 -0
  50. huaweicloudsdkcodeartsbuild/v3/model/show_job_build_record_detail_request.py +142 -0
  51. huaweicloudsdkcodeartsbuild/v3/model/show_job_build_record_detail_response.py +170 -0
  52. huaweicloudsdkcodeartsbuild/v3/model/show_job_step_status_request.py +143 -0
  53. huaweicloudsdkcodeartsbuild/v3/model/show_job_step_status_response.py +170 -0
  54. huaweicloudsdkcodeartsbuild/v3/model/show_job_total_request.py +172 -0
  55. huaweicloudsdkcodeartsbuild/v3/model/show_job_total_response.py +170 -0
  56. huaweicloudsdkcodeartsbuild/v3/model/show_summary_build_job_info_request.py +84 -0
  57. huaweicloudsdkcodeartsbuild/v3/model/show_summary_build_job_info_response.py +170 -0
  58. huaweicloudsdkcodeartsbuild/v3/model/show_user_over_package_quota_request.py +114 -0
  59. huaweicloudsdkcodeartsbuild/v3/model/show_user_over_package_quota_response.py +170 -0
  60. huaweicloudsdkcodeartsbuild/v3/model/show_user_over_package_quota_result.py +173 -0
  61. huaweicloudsdkcodeartsbuild/v3/model/total_response_body_result.py +115 -0
  62. {huaweicloudsdkcodeartsbuild-3.1.151.dist-info → huaweicloudsdkcodeartsbuild-3.1.152.dist-info}/METADATA +2 -2
  63. {huaweicloudsdkcodeartsbuild-3.1.151.dist-info → huaweicloudsdkcodeartsbuild-3.1.152.dist-info}/RECORD +66 -9
  64. {huaweicloudsdkcodeartsbuild-3.1.151.dist-info → huaweicloudsdkcodeartsbuild-3.1.152.dist-info}/LICENSE +0 -0
  65. {huaweicloudsdkcodeartsbuild-3.1.151.dist-info → huaweicloudsdkcodeartsbuild-3.1.152.dist-info}/WHEEL +0 -0
  66. {huaweicloudsdkcodeartsbuild-3.1.151.dist-info → huaweicloudsdkcodeartsbuild-3.1.152.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,231 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class ListCustomTemplateRequest:
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
+ 'name': 'str',
21
+ 'filter': 'str',
22
+ 'page': 'int',
23
+ 'page_size': 'int',
24
+ 'tags': 'str'
25
+ }
26
+
27
+ attribute_map = {
28
+ 'name': 'name',
29
+ 'filter': 'filter',
30
+ 'page': 'page',
31
+ 'page_size': 'page_size',
32
+ 'tags': 'tags'
33
+ }
34
+
35
+ def __init__(self, name=None, filter=None, page=None, page_size=None, tags=None):
36
+ r"""ListCustomTemplateRequest
37
+
38
+ The model defined in huaweicloud sdk
39
+
40
+ :param name: 名称
41
+ :type name: str
42
+ :param filter: 过滤条件
43
+ :type filter: str
44
+ :param page: 分页页码,表示从此页开始查询,page大于等于1
45
+ :type page: int
46
+ :param page_size: 每页显示的条目数量,page_size小于等于100
47
+ :type page_size: int
48
+ :param tags: 构建状态过滤条件
49
+ :type tags: str
50
+ """
51
+
52
+
53
+
54
+ self._name = None
55
+ self._filter = None
56
+ self._page = None
57
+ self._page_size = None
58
+ self._tags = None
59
+ self.discriminator = None
60
+
61
+ if name is not None:
62
+ self.name = name
63
+ if filter is not None:
64
+ self.filter = filter
65
+ if page is not None:
66
+ self.page = page
67
+ if page_size is not None:
68
+ self.page_size = page_size
69
+ if tags is not None:
70
+ self.tags = tags
71
+
72
+ @property
73
+ def name(self):
74
+ r"""Gets the name of this ListCustomTemplateRequest.
75
+
76
+ 名称
77
+
78
+ :return: The name of this ListCustomTemplateRequest.
79
+ :rtype: str
80
+ """
81
+ return self._name
82
+
83
+ @name.setter
84
+ def name(self, name):
85
+ r"""Sets the name of this ListCustomTemplateRequest.
86
+
87
+ 名称
88
+
89
+ :param name: The name of this ListCustomTemplateRequest.
90
+ :type name: str
91
+ """
92
+ self._name = name
93
+
94
+ @property
95
+ def filter(self):
96
+ r"""Gets the filter of this ListCustomTemplateRequest.
97
+
98
+ 过滤条件
99
+
100
+ :return: The filter of this ListCustomTemplateRequest.
101
+ :rtype: str
102
+ """
103
+ return self._filter
104
+
105
+ @filter.setter
106
+ def filter(self, filter):
107
+ r"""Sets the filter of this ListCustomTemplateRequest.
108
+
109
+ 过滤条件
110
+
111
+ :param filter: The filter of this ListCustomTemplateRequest.
112
+ :type filter: str
113
+ """
114
+ self._filter = filter
115
+
116
+ @property
117
+ def page(self):
118
+ r"""Gets the page of this ListCustomTemplateRequest.
119
+
120
+ 分页页码,表示从此页开始查询,page大于等于1
121
+
122
+ :return: The page of this ListCustomTemplateRequest.
123
+ :rtype: int
124
+ """
125
+ return self._page
126
+
127
+ @page.setter
128
+ def page(self, page):
129
+ r"""Sets the page of this ListCustomTemplateRequest.
130
+
131
+ 分页页码,表示从此页开始查询,page大于等于1
132
+
133
+ :param page: The page of this ListCustomTemplateRequest.
134
+ :type page: int
135
+ """
136
+ self._page = page
137
+
138
+ @property
139
+ def page_size(self):
140
+ r"""Gets the page_size of this ListCustomTemplateRequest.
141
+
142
+ 每页显示的条目数量,page_size小于等于100
143
+
144
+ :return: The page_size of this ListCustomTemplateRequest.
145
+ :rtype: int
146
+ """
147
+ return self._page_size
148
+
149
+ @page_size.setter
150
+ def page_size(self, page_size):
151
+ r"""Sets the page_size of this ListCustomTemplateRequest.
152
+
153
+ 每页显示的条目数量,page_size小于等于100
154
+
155
+ :param page_size: The page_size of this ListCustomTemplateRequest.
156
+ :type page_size: int
157
+ """
158
+ self._page_size = page_size
159
+
160
+ @property
161
+ def tags(self):
162
+ r"""Gets the tags of this ListCustomTemplateRequest.
163
+
164
+ 构建状态过滤条件
165
+
166
+ :return: The tags of this ListCustomTemplateRequest.
167
+ :rtype: str
168
+ """
169
+ return self._tags
170
+
171
+ @tags.setter
172
+ def tags(self, tags):
173
+ r"""Sets the tags of this ListCustomTemplateRequest.
174
+
175
+ 构建状态过滤条件
176
+
177
+ :param tags: The tags of this ListCustomTemplateRequest.
178
+ :type tags: str
179
+ """
180
+ self._tags = tags
181
+
182
+ def to_dict(self):
183
+ """Returns the model properties as a dict"""
184
+ result = {}
185
+
186
+ for attr, _ in six.iteritems(self.openapi_types):
187
+ value = getattr(self, attr)
188
+ if isinstance(value, list):
189
+ result[attr] = list(map(
190
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
191
+ value
192
+ ))
193
+ elif hasattr(value, "to_dict"):
194
+ result[attr] = value.to_dict()
195
+ elif isinstance(value, dict):
196
+ result[attr] = dict(map(
197
+ lambda item: (item[0], item[1].to_dict())
198
+ if hasattr(item[1], "to_dict") else item,
199
+ value.items()
200
+ ))
201
+ else:
202
+ if attr in self.sensitive_list:
203
+ result[attr] = "****"
204
+ else:
205
+ result[attr] = value
206
+
207
+ return result
208
+
209
+ def to_str(self):
210
+ """Returns the string representation of the model"""
211
+ import simplejson as json
212
+ if six.PY2:
213
+ import sys
214
+ reload(sys)
215
+ sys.setdefaultencoding("utf-8")
216
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
217
+
218
+ def __repr__(self):
219
+ """For `print`"""
220
+ return self.to_str()
221
+
222
+ def __eq__(self, other):
223
+ """Returns true if both objects are equal"""
224
+ if not isinstance(other, ListCustomTemplateRequest):
225
+ return False
226
+
227
+ return self.__dict__ == other.__dict__
228
+
229
+ def __ne__(self, other):
230
+ """Returns true if both objects are not equal"""
231
+ 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 ListCustomTemplateResponse(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': 'QueryCustomTemplatesResult',
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"""ListCustomTemplateResponse
34
+
35
+ The model defined in huaweicloud sdk
36
+
37
+ :param result:
38
+ :type result: :class:`huaweicloudsdkcodeartsbuild.v3.QueryCustomTemplatesResult`
39
+ :param error: 返回错误信息
40
+ :type error: str
41
+ :param status: 返回状态信息
42
+ :type status: str
43
+ """
44
+
45
+ super(ListCustomTemplateResponse, 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 ListCustomTemplateResponse.
62
+
63
+ :return: The result of this ListCustomTemplateResponse.
64
+ :rtype: :class:`huaweicloudsdkcodeartsbuild.v3.QueryCustomTemplatesResult`
65
+ """
66
+ return self._result
67
+
68
+ @result.setter
69
+ def result(self, result):
70
+ r"""Sets the result of this ListCustomTemplateResponse.
71
+
72
+ :param result: The result of this ListCustomTemplateResponse.
73
+ :type result: :class:`huaweicloudsdkcodeartsbuild.v3.QueryCustomTemplatesResult`
74
+ """
75
+ self._result = result
76
+
77
+ @property
78
+ def error(self):
79
+ r"""Gets the error of this ListCustomTemplateResponse.
80
+
81
+ 返回错误信息
82
+
83
+ :return: The error of this ListCustomTemplateResponse.
84
+ :rtype: str
85
+ """
86
+ return self._error
87
+
88
+ @error.setter
89
+ def error(self, error):
90
+ r"""Sets the error of this ListCustomTemplateResponse.
91
+
92
+ 返回错误信息
93
+
94
+ :param error: The error of this ListCustomTemplateResponse.
95
+ :type error: str
96
+ """
97
+ self._error = error
98
+
99
+ @property
100
+ def status(self):
101
+ r"""Gets the status of this ListCustomTemplateResponse.
102
+
103
+ 返回状态信息
104
+
105
+ :return: The status of this ListCustomTemplateResponse.
106
+ :rtype: str
107
+ """
108
+ return self._status
109
+
110
+ @status.setter
111
+ def status(self, status):
112
+ r"""Sets the status of this ListCustomTemplateResponse.
113
+
114
+ 返回状态信息
115
+
116
+ :param status: The status of this ListCustomTemplateResponse.
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, ListCustomTemplateResponse):
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
@@ -0,0 +1,84 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class ListJobRequest:
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
+ }
21
+
22
+ attribute_map = {
23
+ }
24
+
25
+ def __init__(self):
26
+ r"""ListJobRequest
27
+
28
+ The model defined in huaweicloud sdk
29
+
30
+ """
31
+
32
+
33
+ self.discriminator = None
34
+
35
+ def to_dict(self):
36
+ """Returns the model properties as a dict"""
37
+ result = {}
38
+
39
+ for attr, _ in six.iteritems(self.openapi_types):
40
+ value = getattr(self, attr)
41
+ if isinstance(value, list):
42
+ result[attr] = list(map(
43
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
44
+ value
45
+ ))
46
+ elif hasattr(value, "to_dict"):
47
+ result[attr] = value.to_dict()
48
+ elif isinstance(value, dict):
49
+ result[attr] = dict(map(
50
+ lambda item: (item[0], item[1].to_dict())
51
+ if hasattr(item[1], "to_dict") else item,
52
+ value.items()
53
+ ))
54
+ else:
55
+ if attr in self.sensitive_list:
56
+ result[attr] = "****"
57
+ else:
58
+ result[attr] = value
59
+
60
+ return result
61
+
62
+ def to_str(self):
63
+ """Returns the string representation of the model"""
64
+ import simplejson as json
65
+ if six.PY2:
66
+ import sys
67
+ reload(sys)
68
+ sys.setdefaultencoding("utf-8")
69
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
70
+
71
+ def __repr__(self):
72
+ """For `print`"""
73
+ return self.to_str()
74
+
75
+ def __eq__(self, other):
76
+ """Returns true if both objects are equal"""
77
+ if not isinstance(other, ListJobRequest):
78
+ return False
79
+
80
+ return self.__dict__ == other.__dict__
81
+
82
+ def __ne__(self, other):
83
+ """Returns true if both objects are not equal"""
84
+ return not self == other
@@ -0,0 +1,141 @@
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 ListJobResponse(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': 'ListJobResult',
22
+ 'status': 'str'
23
+ }
24
+
25
+ attribute_map = {
26
+ 'result': 'result',
27
+ 'status': 'status'
28
+ }
29
+
30
+ def __init__(self, result=None, status=None):
31
+ r"""ListJobResponse
32
+
33
+ The model defined in huaweicloud sdk
34
+
35
+ :param result:
36
+ :type result: :class:`huaweicloudsdkcodeartsbuild.v3.ListJobResult`
37
+ :param status: 返回状态信息
38
+ :type status: str
39
+ """
40
+
41
+ super(ListJobResponse, self).__init__()
42
+
43
+ self._result = None
44
+ self._status = None
45
+ self.discriminator = None
46
+
47
+ if result is not None:
48
+ self.result = result
49
+ if status is not None:
50
+ self.status = status
51
+
52
+ @property
53
+ def result(self):
54
+ r"""Gets the result of this ListJobResponse.
55
+
56
+ :return: The result of this ListJobResponse.
57
+ :rtype: :class:`huaweicloudsdkcodeartsbuild.v3.ListJobResult`
58
+ """
59
+ return self._result
60
+
61
+ @result.setter
62
+ def result(self, result):
63
+ r"""Sets the result of this ListJobResponse.
64
+
65
+ :param result: The result of this ListJobResponse.
66
+ :type result: :class:`huaweicloudsdkcodeartsbuild.v3.ListJobResult`
67
+ """
68
+ self._result = result
69
+
70
+ @property
71
+ def status(self):
72
+ r"""Gets the status of this ListJobResponse.
73
+
74
+ 返回状态信息
75
+
76
+ :return: The status of this ListJobResponse.
77
+ :rtype: str
78
+ """
79
+ return self._status
80
+
81
+ @status.setter
82
+ def status(self, status):
83
+ r"""Sets the status of this ListJobResponse.
84
+
85
+ 返回状态信息
86
+
87
+ :param status: The status of this ListJobResponse.
88
+ :type status: str
89
+ """
90
+ self._status = status
91
+
92
+ def to_dict(self):
93
+ """Returns the model properties as a dict"""
94
+ result = {}
95
+
96
+ for attr, _ in six.iteritems(self.openapi_types):
97
+ value = getattr(self, attr)
98
+ if isinstance(value, list):
99
+ result[attr] = list(map(
100
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
101
+ value
102
+ ))
103
+ elif hasattr(value, "to_dict"):
104
+ result[attr] = value.to_dict()
105
+ elif isinstance(value, dict):
106
+ result[attr] = dict(map(
107
+ lambda item: (item[0], item[1].to_dict())
108
+ if hasattr(item[1], "to_dict") else item,
109
+ value.items()
110
+ ))
111
+ else:
112
+ if attr in self.sensitive_list:
113
+ result[attr] = "****"
114
+ else:
115
+ result[attr] = value
116
+
117
+ return result
118
+
119
+ def to_str(self):
120
+ """Returns the string representation of the model"""
121
+ import simplejson as json
122
+ if six.PY2:
123
+ import sys
124
+ reload(sys)
125
+ sys.setdefaultencoding("utf-8")
126
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
127
+
128
+ def __repr__(self):
129
+ """For `print`"""
130
+ return self.to_str()
131
+
132
+ def __eq__(self, other):
133
+ """Returns true if both objects are equal"""
134
+ if not isinstance(other, ListJobResponse):
135
+ return False
136
+
137
+ return self.__dict__ == other.__dict__
138
+
139
+ def __ne__(self, other):
140
+ """Returns true if both objects are not equal"""
141
+ return not self == other