huaweicloudsdkcodeartsbuild 3.1.164__py3-none-any.whl → 3.1.166__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 (76) hide show
  1. huaweicloudsdkcodeartsbuild/v3/__init__.py +66 -0
  2. huaweicloudsdkcodeartsbuild/v3/codeartsbuild_async_client.py +1553 -172
  3. huaweicloudsdkcodeartsbuild/v3/codeartsbuild_client.py +1553 -172
  4. huaweicloudsdkcodeartsbuild/v3/model/__init__.py +66 -0
  5. huaweicloudsdkcodeartsbuild/v3/model/add_favourite_custom_template_request.py +114 -0
  6. huaweicloudsdkcodeartsbuild/v3/model/add_favourite_custom_template_response.py +116 -0
  7. huaweicloudsdkcodeartsbuild/v3/model/add_keystore_permission_request_body.py +30 -1
  8. huaweicloudsdkcodeartsbuild/v3/model/apply_project_permission_request.py +111 -0
  9. huaweicloudsdkcodeartsbuild/v3/model/apply_project_permission_response.py +174 -0
  10. huaweicloudsdkcodeartsbuild/v3/model/batch_delete_build_jobs_request.py +111 -0
  11. huaweicloudsdkcodeartsbuild/v3/model/batch_delete_build_jobs_request_body.py +114 -0
  12. huaweicloudsdkcodeartsbuild/v3/model/batch_delete_build_jobs_response.py +170 -0
  13. huaweicloudsdkcodeartsbuild/v3/model/batch_update_job_role_permission_request.py +111 -0
  14. huaweicloudsdkcodeartsbuild/v3/model/batch_update_job_role_permission_response.py +174 -0
  15. huaweicloudsdkcodeartsbuild/v3/model/check_job_internal_request.py +84 -0
  16. huaweicloudsdkcodeartsbuild/v3/model/check_job_internal_response.py +174 -0
  17. huaweicloudsdkcodeartsbuild/v3/model/countdown_list.py +256 -0
  18. huaweicloudsdkcodeartsbuild/v3/model/countdown_list_tips.py +111 -0
  19. huaweicloudsdkcodeartsbuild/v3/model/countdown_request_body.py +170 -0
  20. huaweicloudsdkcodeartsbuild/v3/model/create_job_group_request.py +139 -0
  21. huaweicloudsdkcodeartsbuild/v3/model/create_job_group_response.py +174 -0
  22. huaweicloudsdkcodeartsbuild/v3/model/delete_group_request.py +142 -0
  23. huaweicloudsdkcodeartsbuild/v3/model/delete_group_response.py +174 -0
  24. huaweicloudsdkcodeartsbuild/v3/model/domain_statuses.py +521 -0
  25. huaweicloudsdkcodeartsbuild/v3/model/domains_statuses_request_body.py +115 -0
  26. huaweicloudsdkcodeartsbuild/v3/model/end_point_response.py +339 -0
  27. huaweicloudsdkcodeartsbuild/v3/model/end_point_response_authorization.py +144 -0
  28. huaweicloudsdkcodeartsbuild/v3/model/end_point_response_created_by.py +144 -0
  29. huaweicloudsdkcodeartsbuild/v3/model/job_group_request_body.py +231 -0
  30. huaweicloudsdkcodeartsbuild/v3/model/job_group_response_body_result.py +434 -0
  31. huaweicloudsdkcodeartsbuild/v3/model/job_group_tree_response_body.py +434 -0
  32. huaweicloudsdkcodeartsbuild/v3/model/job_role_permission.py +434 -0
  33. huaweicloudsdkcodeartsbuild/v3/model/job_status_result_response_body_result.py +173 -0
  34. huaweicloudsdkcodeartsbuild/v3/model/list_end_points_request.py +171 -0
  35. huaweicloudsdkcodeartsbuild/v3/model/list_end_points_response.py +170 -0
  36. huaweicloudsdkcodeartsbuild/v3/model/list_end_points_result_response_body_result.py +144 -0
  37. huaweicloudsdkcodeartsbuild/v3/model/list_group_tree_request.py +114 -0
  38. huaweicloudsdkcodeartsbuild/v3/model/list_group_tree_response.py +174 -0
  39. huaweicloudsdkcodeartsbuild/v3/model/move_group_request.py +139 -0
  40. huaweicloudsdkcodeartsbuild/v3/model/move_group_response.py +174 -0
  41. huaweicloudsdkcodeartsbuild/v3/model/move_job_group_request_body.py +144 -0
  42. huaweicloudsdkcodeartsbuild/v3/model/move_job_group_request_body_jobs.py +144 -0
  43. huaweicloudsdkcodeartsbuild/v3/model/move_job_group_response_body_result.py +144 -0
  44. huaweicloudsdkcodeartsbuild/v3/model/project_permission_request_body.py +173 -0
  45. huaweicloudsdkcodeartsbuild/v3/model/remover_favourite_custom_template_request.py +114 -0
  46. huaweicloudsdkcodeartsbuild/v3/model/remover_favourite_custom_template_response.py +116 -0
  47. huaweicloudsdkcodeartsbuild/v3/model/role_permissions_request_body.py +202 -0
  48. huaweicloudsdkcodeartsbuild/v3/model/show_available_inner_spec_request.py +142 -0
  49. huaweicloudsdkcodeartsbuild/v3/model/show_available_inner_spec_response.py +116 -0
  50. huaweicloudsdkcodeartsbuild/v3/model/show_build_details_request.py +142 -0
  51. huaweicloudsdkcodeartsbuild/v3/model/show_build_details_response.py +170 -0
  52. huaweicloudsdkcodeartsbuild/v3/model/show_domain_status_request.py +84 -0
  53. huaweicloudsdkcodeartsbuild/v3/model/show_domain_status_response.py +170 -0
  54. huaweicloudsdkcodeartsbuild/v3/model/show_domain_status_result.py +173 -0
  55. huaweicloudsdkcodeartsbuild/v3/model/show_domains_statuses_request.py +111 -0
  56. huaweicloudsdkcodeartsbuild/v3/model/show_domains_statuses_response.py +174 -0
  57. huaweicloudsdkcodeartsbuild/v3/model/show_package_spec_count_down_request.py +111 -0
  58. huaweicloudsdkcodeartsbuild/v3/model/show_package_spec_count_down_response.py +174 -0
  59. huaweicloudsdkcodeartsbuild/v3/model/show_template_request.py +114 -0
  60. huaweicloudsdkcodeartsbuild/v3/model/show_template_response.py +170 -0
  61. huaweicloudsdkcodeartsbuild/v3/model/show_user_charge_type_request.py +84 -0
  62. huaweicloudsdkcodeartsbuild/v3/model/show_user_charge_type_response.py +170 -0
  63. huaweicloudsdkcodeartsbuild/v3/model/show_user_charge_type_result.py +173 -0
  64. huaweicloudsdkcodeartsbuild/v3/model/show_user_charge_type_result_main_resource_list.py +202 -0
  65. huaweicloudsdkcodeartsbuild/v3/model/switched_packet_request.py +170 -0
  66. huaweicloudsdkcodeartsbuild/v3/model/switched_packet_response.py +174 -0
  67. huaweicloudsdkcodeartsbuild/v3/model/tips.py +202 -0
  68. huaweicloudsdkcodeartsbuild/v3/model/update_job_group_request.py +139 -0
  69. huaweicloudsdkcodeartsbuild/v3/model/update_job_group_response.py +174 -0
  70. huaweicloudsdkcodeartsbuild/v3/model/update_new_notice_new_request.py +139 -0
  71. huaweicloudsdkcodeartsbuild/v3/model/update_new_notice_new_response.py +174 -0
  72. {huaweicloudsdkcodeartsbuild-3.1.164.dist-info → huaweicloudsdkcodeartsbuild-3.1.166.dist-info}/METADATA +9 -10
  73. {huaweicloudsdkcodeartsbuild-3.1.164.dist-info → huaweicloudsdkcodeartsbuild-3.1.166.dist-info}/RECORD +75 -10
  74. {huaweicloudsdkcodeartsbuild-3.1.164.dist-info → huaweicloudsdkcodeartsbuild-3.1.166.dist-info}/WHEEL +1 -2
  75. huaweicloudsdkcodeartsbuild-3.1.164.dist-info/top_level.txt +0 -1
  76. {huaweicloudsdkcodeartsbuild-3.1.164.dist-info → huaweicloudsdkcodeartsbuild-3.1.166.dist-info/licenses}/LICENSE +0 -0
@@ -0,0 +1,339 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class EndPointResponse:
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
+ 'authorization': 'EndPointResponseAuthorization',
21
+ 'uuid': 'str',
22
+ 'url': 'str',
23
+ 'name': 'str',
24
+ 'project_uuid': 'str',
25
+ 'region_name': 'str',
26
+ 'data': 'object',
27
+ 'module_id': 'str',
28
+ 'created_by': 'EndPointResponseCreatedBy'
29
+ }
30
+
31
+ attribute_map = {
32
+ 'authorization': 'authorization',
33
+ 'uuid': 'uuid',
34
+ 'url': 'url',
35
+ 'name': 'name',
36
+ 'project_uuid': 'project_uuid',
37
+ 'region_name': 'region_name',
38
+ 'data': 'data',
39
+ 'module_id': 'module_id',
40
+ 'created_by': 'created_by'
41
+ }
42
+
43
+ def __init__(self, authorization=None, uuid=None, url=None, name=None, project_uuid=None, region_name=None, data=None, module_id=None, created_by=None):
44
+ r"""EndPointResponse
45
+
46
+ The model defined in huaweicloud sdk
47
+
48
+ :param authorization:
49
+ :type authorization: :class:`huaweicloudsdkcodeartsbuild.v3.EndPointResponseAuthorization`
50
+ :param uuid: uuid
51
+ :type uuid: str
52
+ :param url: 访问地址
53
+ :type url: str
54
+ :param name: 名称
55
+ :type name: str
56
+ :param project_uuid: 项目uuid
57
+ :type project_uuid: str
58
+ :param region_name: 区域名称
59
+ :type region_name: str
60
+ :param data: 数据
61
+ :type data: object
62
+ :param module_id: 模块id
63
+ :type module_id: str
64
+ :param created_by:
65
+ :type created_by: :class:`huaweicloudsdkcodeartsbuild.v3.EndPointResponseCreatedBy`
66
+ """
67
+
68
+
69
+
70
+ self._authorization = None
71
+ self._uuid = None
72
+ self._url = None
73
+ self._name = None
74
+ self._project_uuid = None
75
+ self._region_name = None
76
+ self._data = None
77
+ self._module_id = None
78
+ self._created_by = None
79
+ self.discriminator = None
80
+
81
+ if authorization is not None:
82
+ self.authorization = authorization
83
+ if uuid is not None:
84
+ self.uuid = uuid
85
+ if url is not None:
86
+ self.url = url
87
+ if name is not None:
88
+ self.name = name
89
+ if project_uuid is not None:
90
+ self.project_uuid = project_uuid
91
+ if region_name is not None:
92
+ self.region_name = region_name
93
+ if data is not None:
94
+ self.data = data
95
+ if module_id is not None:
96
+ self.module_id = module_id
97
+ if created_by is not None:
98
+ self.created_by = created_by
99
+
100
+ @property
101
+ def authorization(self):
102
+ r"""Gets the authorization of this EndPointResponse.
103
+
104
+ :return: The authorization of this EndPointResponse.
105
+ :rtype: :class:`huaweicloudsdkcodeartsbuild.v3.EndPointResponseAuthorization`
106
+ """
107
+ return self._authorization
108
+
109
+ @authorization.setter
110
+ def authorization(self, authorization):
111
+ r"""Sets the authorization of this EndPointResponse.
112
+
113
+ :param authorization: The authorization of this EndPointResponse.
114
+ :type authorization: :class:`huaweicloudsdkcodeartsbuild.v3.EndPointResponseAuthorization`
115
+ """
116
+ self._authorization = authorization
117
+
118
+ @property
119
+ def uuid(self):
120
+ r"""Gets the uuid of this EndPointResponse.
121
+
122
+ uuid
123
+
124
+ :return: The uuid of this EndPointResponse.
125
+ :rtype: str
126
+ """
127
+ return self._uuid
128
+
129
+ @uuid.setter
130
+ def uuid(self, uuid):
131
+ r"""Sets the uuid of this EndPointResponse.
132
+
133
+ uuid
134
+
135
+ :param uuid: The uuid of this EndPointResponse.
136
+ :type uuid: str
137
+ """
138
+ self._uuid = uuid
139
+
140
+ @property
141
+ def url(self):
142
+ r"""Gets the url of this EndPointResponse.
143
+
144
+ 访问地址
145
+
146
+ :return: The url of this EndPointResponse.
147
+ :rtype: str
148
+ """
149
+ return self._url
150
+
151
+ @url.setter
152
+ def url(self, url):
153
+ r"""Sets the url of this EndPointResponse.
154
+
155
+ 访问地址
156
+
157
+ :param url: The url of this EndPointResponse.
158
+ :type url: str
159
+ """
160
+ self._url = url
161
+
162
+ @property
163
+ def name(self):
164
+ r"""Gets the name of this EndPointResponse.
165
+
166
+ 名称
167
+
168
+ :return: The name of this EndPointResponse.
169
+ :rtype: str
170
+ """
171
+ return self._name
172
+
173
+ @name.setter
174
+ def name(self, name):
175
+ r"""Sets the name of this EndPointResponse.
176
+
177
+ 名称
178
+
179
+ :param name: The name of this EndPointResponse.
180
+ :type name: str
181
+ """
182
+ self._name = name
183
+
184
+ @property
185
+ def project_uuid(self):
186
+ r"""Gets the project_uuid of this EndPointResponse.
187
+
188
+ 项目uuid
189
+
190
+ :return: The project_uuid of this EndPointResponse.
191
+ :rtype: str
192
+ """
193
+ return self._project_uuid
194
+
195
+ @project_uuid.setter
196
+ def project_uuid(self, project_uuid):
197
+ r"""Sets the project_uuid of this EndPointResponse.
198
+
199
+ 项目uuid
200
+
201
+ :param project_uuid: The project_uuid of this EndPointResponse.
202
+ :type project_uuid: str
203
+ """
204
+ self._project_uuid = project_uuid
205
+
206
+ @property
207
+ def region_name(self):
208
+ r"""Gets the region_name of this EndPointResponse.
209
+
210
+ 区域名称
211
+
212
+ :return: The region_name of this EndPointResponse.
213
+ :rtype: str
214
+ """
215
+ return self._region_name
216
+
217
+ @region_name.setter
218
+ def region_name(self, region_name):
219
+ r"""Sets the region_name of this EndPointResponse.
220
+
221
+ 区域名称
222
+
223
+ :param region_name: The region_name of this EndPointResponse.
224
+ :type region_name: str
225
+ """
226
+ self._region_name = region_name
227
+
228
+ @property
229
+ def data(self):
230
+ r"""Gets the data of this EndPointResponse.
231
+
232
+ 数据
233
+
234
+ :return: The data of this EndPointResponse.
235
+ :rtype: object
236
+ """
237
+ return self._data
238
+
239
+ @data.setter
240
+ def data(self, data):
241
+ r"""Sets the data of this EndPointResponse.
242
+
243
+ 数据
244
+
245
+ :param data: The data of this EndPointResponse.
246
+ :type data: object
247
+ """
248
+ self._data = data
249
+
250
+ @property
251
+ def module_id(self):
252
+ r"""Gets the module_id of this EndPointResponse.
253
+
254
+ 模块id
255
+
256
+ :return: The module_id of this EndPointResponse.
257
+ :rtype: str
258
+ """
259
+ return self._module_id
260
+
261
+ @module_id.setter
262
+ def module_id(self, module_id):
263
+ r"""Sets the module_id of this EndPointResponse.
264
+
265
+ 模块id
266
+
267
+ :param module_id: The module_id of this EndPointResponse.
268
+ :type module_id: str
269
+ """
270
+ self._module_id = module_id
271
+
272
+ @property
273
+ def created_by(self):
274
+ r"""Gets the created_by of this EndPointResponse.
275
+
276
+ :return: The created_by of this EndPointResponse.
277
+ :rtype: :class:`huaweicloudsdkcodeartsbuild.v3.EndPointResponseCreatedBy`
278
+ """
279
+ return self._created_by
280
+
281
+ @created_by.setter
282
+ def created_by(self, created_by):
283
+ r"""Sets the created_by of this EndPointResponse.
284
+
285
+ :param created_by: The created_by of this EndPointResponse.
286
+ :type created_by: :class:`huaweicloudsdkcodeartsbuild.v3.EndPointResponseCreatedBy`
287
+ """
288
+ self._created_by = created_by
289
+
290
+ def to_dict(self):
291
+ """Returns the model properties as a dict"""
292
+ result = {}
293
+
294
+ for attr, _ in six.iteritems(self.openapi_types):
295
+ value = getattr(self, attr)
296
+ if isinstance(value, list):
297
+ result[attr] = list(map(
298
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
299
+ value
300
+ ))
301
+ elif hasattr(value, "to_dict"):
302
+ result[attr] = value.to_dict()
303
+ elif isinstance(value, dict):
304
+ result[attr] = dict(map(
305
+ lambda item: (item[0], item[1].to_dict())
306
+ if hasattr(item[1], "to_dict") else item,
307
+ value.items()
308
+ ))
309
+ else:
310
+ if attr in self.sensitive_list:
311
+ result[attr] = "****"
312
+ else:
313
+ result[attr] = value
314
+
315
+ return result
316
+
317
+ def to_str(self):
318
+ """Returns the string representation of the model"""
319
+ import simplejson as json
320
+ if six.PY2:
321
+ import sys
322
+ reload(sys)
323
+ sys.setdefaultencoding("utf-8")
324
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
325
+
326
+ def __repr__(self):
327
+ """For `print`"""
328
+ return self.to_str()
329
+
330
+ def __eq__(self, other):
331
+ """Returns true if both objects are equal"""
332
+ if not isinstance(other, EndPointResponse):
333
+ return False
334
+
335
+ return self.__dict__ == other.__dict__
336
+
337
+ def __ne__(self, other):
338
+ """Returns true if both objects are not equal"""
339
+ return not self == other
@@ -0,0 +1,144 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class EndPointResponseAuthorization:
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
+ 'parameters': 'object',
21
+ 'scheme': 'object'
22
+ }
23
+
24
+ attribute_map = {
25
+ 'parameters': 'parameters',
26
+ 'scheme': 'scheme'
27
+ }
28
+
29
+ def __init__(self, parameters=None, scheme=None):
30
+ r"""EndPointResponseAuthorization
31
+
32
+ The model defined in huaweicloud sdk
33
+
34
+ :param parameters: 参数
35
+ :type parameters: object
36
+ :param scheme: 计划
37
+ :type scheme: object
38
+ """
39
+
40
+
41
+
42
+ self._parameters = None
43
+ self._scheme = None
44
+ self.discriminator = None
45
+
46
+ if parameters is not None:
47
+ self.parameters = parameters
48
+ if scheme is not None:
49
+ self.scheme = scheme
50
+
51
+ @property
52
+ def parameters(self):
53
+ r"""Gets the parameters of this EndPointResponseAuthorization.
54
+
55
+ 参数
56
+
57
+ :return: The parameters of this EndPointResponseAuthorization.
58
+ :rtype: object
59
+ """
60
+ return self._parameters
61
+
62
+ @parameters.setter
63
+ def parameters(self, parameters):
64
+ r"""Sets the parameters of this EndPointResponseAuthorization.
65
+
66
+ 参数
67
+
68
+ :param parameters: The parameters of this EndPointResponseAuthorization.
69
+ :type parameters: object
70
+ """
71
+ self._parameters = parameters
72
+
73
+ @property
74
+ def scheme(self):
75
+ r"""Gets the scheme of this EndPointResponseAuthorization.
76
+
77
+ 计划
78
+
79
+ :return: The scheme of this EndPointResponseAuthorization.
80
+ :rtype: object
81
+ """
82
+ return self._scheme
83
+
84
+ @scheme.setter
85
+ def scheme(self, scheme):
86
+ r"""Sets the scheme of this EndPointResponseAuthorization.
87
+
88
+ 计划
89
+
90
+ :param scheme: The scheme of this EndPointResponseAuthorization.
91
+ :type scheme: object
92
+ """
93
+ self._scheme = scheme
94
+
95
+ def to_dict(self):
96
+ """Returns the model properties as a dict"""
97
+ result = {}
98
+
99
+ for attr, _ in six.iteritems(self.openapi_types):
100
+ value = getattr(self, attr)
101
+ if isinstance(value, list):
102
+ result[attr] = list(map(
103
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
104
+ value
105
+ ))
106
+ elif hasattr(value, "to_dict"):
107
+ result[attr] = value.to_dict()
108
+ elif isinstance(value, dict):
109
+ result[attr] = dict(map(
110
+ lambda item: (item[0], item[1].to_dict())
111
+ if hasattr(item[1], "to_dict") else item,
112
+ value.items()
113
+ ))
114
+ else:
115
+ if attr in self.sensitive_list:
116
+ result[attr] = "****"
117
+ else:
118
+ result[attr] = value
119
+
120
+ return result
121
+
122
+ def to_str(self):
123
+ """Returns the string representation of the model"""
124
+ import simplejson as json
125
+ if six.PY2:
126
+ import sys
127
+ reload(sys)
128
+ sys.setdefaultencoding("utf-8")
129
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
130
+
131
+ def __repr__(self):
132
+ """For `print`"""
133
+ return self.to_str()
134
+
135
+ def __eq__(self, other):
136
+ """Returns true if both objects are equal"""
137
+ if not isinstance(other, EndPointResponseAuthorization):
138
+ return False
139
+
140
+ return self.__dict__ == other.__dict__
141
+
142
+ def __ne__(self, other):
143
+ """Returns true if both objects are not equal"""
144
+ return not self == other
@@ -0,0 +1,144 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class EndPointResponseCreatedBy:
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
+ 'username': 'str',
21
+ 'user_id': 'str'
22
+ }
23
+
24
+ attribute_map = {
25
+ 'username': 'username',
26
+ 'user_id': 'user_id'
27
+ }
28
+
29
+ def __init__(self, username=None, user_id=None):
30
+ r"""EndPointResponseCreatedBy
31
+
32
+ The model defined in huaweicloud sdk
33
+
34
+ :param username: 创建者用户名
35
+ :type username: str
36
+ :param user_id: 创建者用户id
37
+ :type user_id: str
38
+ """
39
+
40
+
41
+
42
+ self._username = None
43
+ self._user_id = None
44
+ self.discriminator = None
45
+
46
+ if username is not None:
47
+ self.username = username
48
+ if user_id is not None:
49
+ self.user_id = user_id
50
+
51
+ @property
52
+ def username(self):
53
+ r"""Gets the username of this EndPointResponseCreatedBy.
54
+
55
+ 创建者用户名
56
+
57
+ :return: The username of this EndPointResponseCreatedBy.
58
+ :rtype: str
59
+ """
60
+ return self._username
61
+
62
+ @username.setter
63
+ def username(self, username):
64
+ r"""Sets the username of this EndPointResponseCreatedBy.
65
+
66
+ 创建者用户名
67
+
68
+ :param username: The username of this EndPointResponseCreatedBy.
69
+ :type username: str
70
+ """
71
+ self._username = username
72
+
73
+ @property
74
+ def user_id(self):
75
+ r"""Gets the user_id of this EndPointResponseCreatedBy.
76
+
77
+ 创建者用户id
78
+
79
+ :return: The user_id of this EndPointResponseCreatedBy.
80
+ :rtype: str
81
+ """
82
+ return self._user_id
83
+
84
+ @user_id.setter
85
+ def user_id(self, user_id):
86
+ r"""Sets the user_id of this EndPointResponseCreatedBy.
87
+
88
+ 创建者用户id
89
+
90
+ :param user_id: The user_id of this EndPointResponseCreatedBy.
91
+ :type user_id: str
92
+ """
93
+ self._user_id = user_id
94
+
95
+ def to_dict(self):
96
+ """Returns the model properties as a dict"""
97
+ result = {}
98
+
99
+ for attr, _ in six.iteritems(self.openapi_types):
100
+ value = getattr(self, attr)
101
+ if isinstance(value, list):
102
+ result[attr] = list(map(
103
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
104
+ value
105
+ ))
106
+ elif hasattr(value, "to_dict"):
107
+ result[attr] = value.to_dict()
108
+ elif isinstance(value, dict):
109
+ result[attr] = dict(map(
110
+ lambda item: (item[0], item[1].to_dict())
111
+ if hasattr(item[1], "to_dict") else item,
112
+ value.items()
113
+ ))
114
+ else:
115
+ if attr in self.sensitive_list:
116
+ result[attr] = "****"
117
+ else:
118
+ result[attr] = value
119
+
120
+ return result
121
+
122
+ def to_str(self):
123
+ """Returns the string representation of the model"""
124
+ import simplejson as json
125
+ if six.PY2:
126
+ import sys
127
+ reload(sys)
128
+ sys.setdefaultencoding("utf-8")
129
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
130
+
131
+ def __repr__(self):
132
+ """For `print`"""
133
+ return self.to_str()
134
+
135
+ def __eq__(self, other):
136
+ """Returns true if both objects are equal"""
137
+ if not isinstance(other, EndPointResponseCreatedBy):
138
+ return False
139
+
140
+ return self.__dict__ == other.__dict__
141
+
142
+ def __ne__(self, other):
143
+ """Returns true if both objects are not equal"""
144
+ return not self == other