huaweicloudsdktics 3.1.65__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.

Potentially problematic release.


This version of huaweicloudsdktics might be problematic. Click here for more details.

Files changed (78) hide show
  1. huaweicloudsdktics/__init__.py +0 -0
  2. huaweicloudsdktics/v1/__init__.py +74 -0
  3. huaweicloudsdktics/v1/model/__init__.py +71 -0
  4. huaweicloudsdktics/v1/model/agent_list_vo.py +521 -0
  5. huaweicloudsdktics/v1/model/deploy_vo.py +228 -0
  6. huaweicloudsdktics/v1/model/fl_job_list_vo.py +457 -0
  7. huaweicloudsdktics/v1/model/job_report_base_info_vo.py +256 -0
  8. huaweicloudsdktics/v1/model/job_report_env_vo.py +231 -0
  9. huaweicloudsdktics/v1/model/job_report_output_vo.py +173 -0
  10. huaweicloudsdktics/v1/model/job_report_partner_vo.py +231 -0
  11. huaweicloudsdktics/v1/model/league_dataset_statistics_vo.py +260 -0
  12. huaweicloudsdktics/v1/model/league_partner_statistics_vo.py +318 -0
  13. huaweicloudsdktics/v1/model/league_update_vo.py +173 -0
  14. huaweicloudsdktics/v1/model/list_agents_request.py +200 -0
  15. huaweicloudsdktics/v1/model/list_agents_response.py +145 -0
  16. huaweicloudsdktics/v1/model/list_audit_info_request.py +170 -0
  17. huaweicloudsdktics/v1/model/list_audit_info_response.py +145 -0
  18. huaweicloudsdktics/v1/model/list_fl_job_request.py +170 -0
  19. huaweicloudsdktics/v1/model/list_fl_job_response.py +145 -0
  20. huaweicloudsdktics/v1/model/list_instance_history_request.py +199 -0
  21. huaweicloudsdktics/v1/model/list_instance_history_response.py +145 -0
  22. huaweicloudsdktics/v1/model/list_league_datasets_request.py +228 -0
  23. huaweicloudsdktics/v1/model/list_league_datasets_response.py +145 -0
  24. huaweicloudsdktics/v1/model/list_leagues_request.py +170 -0
  25. huaweicloudsdktics/v1/model/list_leagues_response.py +145 -0
  26. huaweicloudsdktics/v1/model/list_nodes_request.py +170 -0
  27. huaweicloudsdktics/v1/model/list_nodes_response.py +145 -0
  28. huaweicloudsdktics/v1/model/list_notices_request.py +142 -0
  29. huaweicloudsdktics/v1/model/list_notices_response.py +145 -0
  30. huaweicloudsdktics/v1/model/list_partners_request.py +170 -0
  31. huaweicloudsdktics/v1/model/list_partners_response.py +145 -0
  32. huaweicloudsdktics/v1/model/list_sql_job_request.py +170 -0
  33. huaweicloudsdktics/v1/model/list_sql_job_response.py +145 -0
  34. huaweicloudsdktics/v1/model/partner_data_vo.py +289 -0
  35. huaweicloudsdktics/v1/model/processor_vo.py +374 -0
  36. huaweicloudsdktics/v1/model/round_deploy_vo.py +144 -0
  37. huaweicloudsdktics/v1/model/show_agent_detail_request.py +114 -0
  38. huaweicloudsdktics/v1/model/show_agent_detail_response.py +212 -0
  39. huaweicloudsdktics/v1/model/show_dataset_statistics_request.py +172 -0
  40. huaweicloudsdktics/v1/model/show_dataset_statistics_response.py +112 -0
  41. huaweicloudsdktics/v1/model/show_instance_report_request.py +142 -0
  42. huaweicloudsdktics/v1/model/show_instance_report_response.py +220 -0
  43. huaweicloudsdktics/v1/model/show_job_instance_dag_request.py +170 -0
  44. huaweicloudsdktics/v1/model/show_job_instance_dag_response.py +112 -0
  45. huaweicloudsdktics/v1/model/show_job_statistics_request.py +172 -0
  46. huaweicloudsdktics/v1/model/show_job_statistics_response.py +232 -0
  47. huaweicloudsdktics/v1/model/show_league_request.py +114 -0
  48. huaweicloudsdktics/v1/model/show_league_response.py +725 -0
  49. huaweicloudsdktics/v1/model/show_overview_request.py +84 -0
  50. huaweicloudsdktics/v1/model/show_overview_response.py +203 -0
  51. huaweicloudsdktics/v1/model/show_partner_statistics_request.py +172 -0
  52. huaweicloudsdktics/v1/model/show_partner_statistics_response.py +112 -0
  53. huaweicloudsdktics/v1/model/stage_vo.py +201 -0
  54. huaweicloudsdktics/v1/model/tics_agent_deploy.py +724 -0
  55. huaweicloudsdktics/v1/model/tics_agent_deploy_bcs.py +289 -0
  56. huaweicloudsdktics/v1/model/tics_agent_deploy_detail.py +434 -0
  57. huaweicloudsdktics/v1/model/tics_agent_nat_common_info.py +202 -0
  58. huaweicloudsdktics/v1/model/tics_agent_node_info.py +318 -0
  59. huaweicloudsdktics/v1/model/tics_approve_log_vo.py +484 -0
  60. huaweicloudsdktics/v1/model/tics_dataset_column.py +405 -0
  61. huaweicloudsdktics/v1/model/tics_job_instance_vo.py +401 -0
  62. huaweicloudsdktics/v1/model/tics_league_audit_log.py +376 -0
  63. huaweicloudsdktics/v1/model/tics_league_list_vo.py +543 -0
  64. huaweicloudsdktics/v1/model/tics_league_notice_vo.py +430 -0
  65. huaweicloudsdktics/v1/model/tics_league_partner_vo.py +202 -0
  66. huaweicloudsdktics/v1/model/tics_sql_job_vo.py +483 -0
  67. huaweicloudsdktics/v1/model/tics_trust_info_vo.py +347 -0
  68. huaweicloudsdktics/v1/model/update_league_request.py +139 -0
  69. huaweicloudsdktics/v1/model/update_league_response.py +112 -0
  70. huaweicloudsdktics/v1/region/__init__.py +0 -0
  71. huaweicloudsdktics/v1/region/tics_region.py +38 -0
  72. huaweicloudsdktics/v1/tics_async_client.py +1214 -0
  73. huaweicloudsdktics/v1/tics_client.py +1193 -0
  74. huaweicloudsdktics-3.1.65.dist-info/LICENSE +13 -0
  75. huaweicloudsdktics-3.1.65.dist-info/METADATA +27 -0
  76. huaweicloudsdktics-3.1.65.dist-info/RECORD +78 -0
  77. huaweicloudsdktics-3.1.65.dist-info/WHEEL +6 -0
  78. huaweicloudsdktics-3.1.65.dist-info/top_level.txt +1 -0
@@ -0,0 +1,434 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class TicsAgentDeployDetail:
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
+ 'agent_access_address': 'str',
21
+ 'agent_id': 'str',
22
+ 'cce_cluster_id': 'str',
23
+ 'cce_cluster_name': 'str',
24
+ 'console_ip': 'str',
25
+ 'console_port': 'int',
26
+ 'host_path': 'str',
27
+ 'namespace_name': 'str',
28
+ 'obs_pvc_name': 'str',
29
+ 'persistence_id': 'str',
30
+ 'resource_spec_code': 'str',
31
+ 'web_port': 'int'
32
+ }
33
+
34
+ attribute_map = {
35
+ 'agent_access_address': 'agent_access_address',
36
+ 'agent_id': 'agent_id',
37
+ 'cce_cluster_id': 'cce_cluster_id',
38
+ 'cce_cluster_name': 'cce_cluster_name',
39
+ 'console_ip': 'console_ip',
40
+ 'console_port': 'console_port',
41
+ 'host_path': 'host_path',
42
+ 'namespace_name': 'namespace_name',
43
+ 'obs_pvc_name': 'obs_pvc_name',
44
+ 'persistence_id': 'persistence_id',
45
+ 'resource_spec_code': 'resource_spec_code',
46
+ 'web_port': 'web_port'
47
+ }
48
+
49
+ def __init__(self, agent_access_address=None, agent_id=None, cce_cluster_id=None, cce_cluster_name=None, console_ip=None, console_port=None, host_path=None, namespace_name=None, obs_pvc_name=None, persistence_id=None, resource_spec_code=None, web_port=None):
50
+ """TicsAgentDeployDetail
51
+
52
+ The model defined in huaweicloud sdk
53
+
54
+ :param agent_access_address: 可信节点访问地址
55
+ :type agent_access_address: str
56
+ :param agent_id: 可信节点Id
57
+ :type agent_id: str
58
+ :param cce_cluster_id: 可信节点所在cce集群的Id
59
+ :type cce_cluster_id: str
60
+ :param cce_cluster_name: 可信节点所在cce集群的名称
61
+ :type cce_cluster_name: str
62
+ :param console_ip: 可信节点所在ip
63
+ :type console_ip: str
64
+ :param console_port: 可信节点服务端口
65
+ :type console_port: int
66
+ :param host_path: 主机挂载路径,本地挂载才会有值
67
+ :type host_path: str
68
+ :param namespace_name: 命名空间名称
69
+ :type namespace_name: str
70
+ :param obs_pvc_name: 可信节点CCE部署场景,对象文件存储PVC
71
+ :type obs_pvc_name: str
72
+ :param persistence_id: 持久化存储唯一标识
73
+ :type persistence_id: str
74
+ :param resource_spec_code: 代理部署规格
75
+ :type resource_spec_code: str
76
+ :param web_port: 可信节点访问端口
77
+ :type web_port: int
78
+ """
79
+
80
+
81
+
82
+ self._agent_access_address = None
83
+ self._agent_id = None
84
+ self._cce_cluster_id = None
85
+ self._cce_cluster_name = None
86
+ self._console_ip = None
87
+ self._console_port = None
88
+ self._host_path = None
89
+ self._namespace_name = None
90
+ self._obs_pvc_name = None
91
+ self._persistence_id = None
92
+ self._resource_spec_code = None
93
+ self._web_port = None
94
+ self.discriminator = None
95
+
96
+ if agent_access_address is not None:
97
+ self.agent_access_address = agent_access_address
98
+ if agent_id is not None:
99
+ self.agent_id = agent_id
100
+ if cce_cluster_id is not None:
101
+ self.cce_cluster_id = cce_cluster_id
102
+ if cce_cluster_name is not None:
103
+ self.cce_cluster_name = cce_cluster_name
104
+ if console_ip is not None:
105
+ self.console_ip = console_ip
106
+ if console_port is not None:
107
+ self.console_port = console_port
108
+ if host_path is not None:
109
+ self.host_path = host_path
110
+ if namespace_name is not None:
111
+ self.namespace_name = namespace_name
112
+ if obs_pvc_name is not None:
113
+ self.obs_pvc_name = obs_pvc_name
114
+ if persistence_id is not None:
115
+ self.persistence_id = persistence_id
116
+ if resource_spec_code is not None:
117
+ self.resource_spec_code = resource_spec_code
118
+ if web_port is not None:
119
+ self.web_port = web_port
120
+
121
+ @property
122
+ def agent_access_address(self):
123
+ """Gets the agent_access_address of this TicsAgentDeployDetail.
124
+
125
+ 可信节点访问地址
126
+
127
+ :return: The agent_access_address of this TicsAgentDeployDetail.
128
+ :rtype: str
129
+ """
130
+ return self._agent_access_address
131
+
132
+ @agent_access_address.setter
133
+ def agent_access_address(self, agent_access_address):
134
+ """Sets the agent_access_address of this TicsAgentDeployDetail.
135
+
136
+ 可信节点访问地址
137
+
138
+ :param agent_access_address: The agent_access_address of this TicsAgentDeployDetail.
139
+ :type agent_access_address: str
140
+ """
141
+ self._agent_access_address = agent_access_address
142
+
143
+ @property
144
+ def agent_id(self):
145
+ """Gets the agent_id of this TicsAgentDeployDetail.
146
+
147
+ 可信节点Id
148
+
149
+ :return: The agent_id of this TicsAgentDeployDetail.
150
+ :rtype: str
151
+ """
152
+ return self._agent_id
153
+
154
+ @agent_id.setter
155
+ def agent_id(self, agent_id):
156
+ """Sets the agent_id of this TicsAgentDeployDetail.
157
+
158
+ 可信节点Id
159
+
160
+ :param agent_id: The agent_id of this TicsAgentDeployDetail.
161
+ :type agent_id: str
162
+ """
163
+ self._agent_id = agent_id
164
+
165
+ @property
166
+ def cce_cluster_id(self):
167
+ """Gets the cce_cluster_id of this TicsAgentDeployDetail.
168
+
169
+ 可信节点所在cce集群的Id
170
+
171
+ :return: The cce_cluster_id of this TicsAgentDeployDetail.
172
+ :rtype: str
173
+ """
174
+ return self._cce_cluster_id
175
+
176
+ @cce_cluster_id.setter
177
+ def cce_cluster_id(self, cce_cluster_id):
178
+ """Sets the cce_cluster_id of this TicsAgentDeployDetail.
179
+
180
+ 可信节点所在cce集群的Id
181
+
182
+ :param cce_cluster_id: The cce_cluster_id of this TicsAgentDeployDetail.
183
+ :type cce_cluster_id: str
184
+ """
185
+ self._cce_cluster_id = cce_cluster_id
186
+
187
+ @property
188
+ def cce_cluster_name(self):
189
+ """Gets the cce_cluster_name of this TicsAgentDeployDetail.
190
+
191
+ 可信节点所在cce集群的名称
192
+
193
+ :return: The cce_cluster_name of this TicsAgentDeployDetail.
194
+ :rtype: str
195
+ """
196
+ return self._cce_cluster_name
197
+
198
+ @cce_cluster_name.setter
199
+ def cce_cluster_name(self, cce_cluster_name):
200
+ """Sets the cce_cluster_name of this TicsAgentDeployDetail.
201
+
202
+ 可信节点所在cce集群的名称
203
+
204
+ :param cce_cluster_name: The cce_cluster_name of this TicsAgentDeployDetail.
205
+ :type cce_cluster_name: str
206
+ """
207
+ self._cce_cluster_name = cce_cluster_name
208
+
209
+ @property
210
+ def console_ip(self):
211
+ """Gets the console_ip of this TicsAgentDeployDetail.
212
+
213
+ 可信节点所在ip
214
+
215
+ :return: The console_ip of this TicsAgentDeployDetail.
216
+ :rtype: str
217
+ """
218
+ return self._console_ip
219
+
220
+ @console_ip.setter
221
+ def console_ip(self, console_ip):
222
+ """Sets the console_ip of this TicsAgentDeployDetail.
223
+
224
+ 可信节点所在ip
225
+
226
+ :param console_ip: The console_ip of this TicsAgentDeployDetail.
227
+ :type console_ip: str
228
+ """
229
+ self._console_ip = console_ip
230
+
231
+ @property
232
+ def console_port(self):
233
+ """Gets the console_port of this TicsAgentDeployDetail.
234
+
235
+ 可信节点服务端口
236
+
237
+ :return: The console_port of this TicsAgentDeployDetail.
238
+ :rtype: int
239
+ """
240
+ return self._console_port
241
+
242
+ @console_port.setter
243
+ def console_port(self, console_port):
244
+ """Sets the console_port of this TicsAgentDeployDetail.
245
+
246
+ 可信节点服务端口
247
+
248
+ :param console_port: The console_port of this TicsAgentDeployDetail.
249
+ :type console_port: int
250
+ """
251
+ self._console_port = console_port
252
+
253
+ @property
254
+ def host_path(self):
255
+ """Gets the host_path of this TicsAgentDeployDetail.
256
+
257
+ 主机挂载路径,本地挂载才会有值
258
+
259
+ :return: The host_path of this TicsAgentDeployDetail.
260
+ :rtype: str
261
+ """
262
+ return self._host_path
263
+
264
+ @host_path.setter
265
+ def host_path(self, host_path):
266
+ """Sets the host_path of this TicsAgentDeployDetail.
267
+
268
+ 主机挂载路径,本地挂载才会有值
269
+
270
+ :param host_path: The host_path of this TicsAgentDeployDetail.
271
+ :type host_path: str
272
+ """
273
+ self._host_path = host_path
274
+
275
+ @property
276
+ def namespace_name(self):
277
+ """Gets the namespace_name of this TicsAgentDeployDetail.
278
+
279
+ 命名空间名称
280
+
281
+ :return: The namespace_name of this TicsAgentDeployDetail.
282
+ :rtype: str
283
+ """
284
+ return self._namespace_name
285
+
286
+ @namespace_name.setter
287
+ def namespace_name(self, namespace_name):
288
+ """Sets the namespace_name of this TicsAgentDeployDetail.
289
+
290
+ 命名空间名称
291
+
292
+ :param namespace_name: The namespace_name of this TicsAgentDeployDetail.
293
+ :type namespace_name: str
294
+ """
295
+ self._namespace_name = namespace_name
296
+
297
+ @property
298
+ def obs_pvc_name(self):
299
+ """Gets the obs_pvc_name of this TicsAgentDeployDetail.
300
+
301
+ 可信节点CCE部署场景,对象文件存储PVC
302
+
303
+ :return: The obs_pvc_name of this TicsAgentDeployDetail.
304
+ :rtype: str
305
+ """
306
+ return self._obs_pvc_name
307
+
308
+ @obs_pvc_name.setter
309
+ def obs_pvc_name(self, obs_pvc_name):
310
+ """Sets the obs_pvc_name of this TicsAgentDeployDetail.
311
+
312
+ 可信节点CCE部署场景,对象文件存储PVC
313
+
314
+ :param obs_pvc_name: The obs_pvc_name of this TicsAgentDeployDetail.
315
+ :type obs_pvc_name: str
316
+ """
317
+ self._obs_pvc_name = obs_pvc_name
318
+
319
+ @property
320
+ def persistence_id(self):
321
+ """Gets the persistence_id of this TicsAgentDeployDetail.
322
+
323
+ 持久化存储唯一标识
324
+
325
+ :return: The persistence_id of this TicsAgentDeployDetail.
326
+ :rtype: str
327
+ """
328
+ return self._persistence_id
329
+
330
+ @persistence_id.setter
331
+ def persistence_id(self, persistence_id):
332
+ """Sets the persistence_id of this TicsAgentDeployDetail.
333
+
334
+ 持久化存储唯一标识
335
+
336
+ :param persistence_id: The persistence_id of this TicsAgentDeployDetail.
337
+ :type persistence_id: str
338
+ """
339
+ self._persistence_id = persistence_id
340
+
341
+ @property
342
+ def resource_spec_code(self):
343
+ """Gets the resource_spec_code of this TicsAgentDeployDetail.
344
+
345
+ 代理部署规格
346
+
347
+ :return: The resource_spec_code of this TicsAgentDeployDetail.
348
+ :rtype: str
349
+ """
350
+ return self._resource_spec_code
351
+
352
+ @resource_spec_code.setter
353
+ def resource_spec_code(self, resource_spec_code):
354
+ """Sets the resource_spec_code of this TicsAgentDeployDetail.
355
+
356
+ 代理部署规格
357
+
358
+ :param resource_spec_code: The resource_spec_code of this TicsAgentDeployDetail.
359
+ :type resource_spec_code: str
360
+ """
361
+ self._resource_spec_code = resource_spec_code
362
+
363
+ @property
364
+ def web_port(self):
365
+ """Gets the web_port of this TicsAgentDeployDetail.
366
+
367
+ 可信节点访问端口
368
+
369
+ :return: The web_port of this TicsAgentDeployDetail.
370
+ :rtype: int
371
+ """
372
+ return self._web_port
373
+
374
+ @web_port.setter
375
+ def web_port(self, web_port):
376
+ """Sets the web_port of this TicsAgentDeployDetail.
377
+
378
+ 可信节点访问端口
379
+
380
+ :param web_port: The web_port of this TicsAgentDeployDetail.
381
+ :type web_port: int
382
+ """
383
+ self._web_port = web_port
384
+
385
+ def to_dict(self):
386
+ """Returns the model properties as a dict"""
387
+ result = {}
388
+
389
+ for attr, _ in six.iteritems(self.openapi_types):
390
+ value = getattr(self, attr)
391
+ if isinstance(value, list):
392
+ result[attr] = list(map(
393
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
394
+ value
395
+ ))
396
+ elif hasattr(value, "to_dict"):
397
+ result[attr] = value.to_dict()
398
+ elif isinstance(value, dict):
399
+ result[attr] = dict(map(
400
+ lambda item: (item[0], item[1].to_dict())
401
+ if hasattr(item[1], "to_dict") else item,
402
+ value.items()
403
+ ))
404
+ else:
405
+ if attr in self.sensitive_list:
406
+ result[attr] = "****"
407
+ else:
408
+ result[attr] = value
409
+
410
+ return result
411
+
412
+ def to_str(self):
413
+ """Returns the string representation of the model"""
414
+ import simplejson as json
415
+ if six.PY2:
416
+ import sys
417
+ reload(sys)
418
+ sys.setdefaultencoding("utf-8")
419
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
420
+
421
+ def __repr__(self):
422
+ """For `print`"""
423
+ return self.to_str()
424
+
425
+ def __eq__(self, other):
426
+ """Returns true if both objects are equal"""
427
+ if not isinstance(other, TicsAgentDeployDetail):
428
+ return False
429
+
430
+ return self.__dict__ == other.__dict__
431
+
432
+ def __ne__(self, other):
433
+ """Returns true if both objects are not equal"""
434
+ return not self == other
@@ -0,0 +1,202 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class TicsAgentNatCommonInfo:
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
+ 'nat_id': 'str',
21
+ 'project_id': 'str',
22
+ 'subnet_id': 'str',
23
+ 'vpc_id': 'str'
24
+ }
25
+
26
+ attribute_map = {
27
+ 'nat_id': 'nat_id',
28
+ 'project_id': 'project_id',
29
+ 'subnet_id': 'subnet_id',
30
+ 'vpc_id': 'vpc_id'
31
+ }
32
+
33
+ def __init__(self, nat_id=None, project_id=None, subnet_id=None, vpc_id=None):
34
+ """TicsAgentNatCommonInfo
35
+
36
+ The model defined in huaweicloud sdk
37
+
38
+ :param nat_id: 可信节点绑定的网关id
39
+ :type nat_id: str
40
+ :param project_id: 项目id
41
+ :type project_id: str
42
+ :param subnet_id: 可信节点绑定的CCE集群所在子网id
43
+ :type subnet_id: str
44
+ :param vpc_id: 可信节点绑定的CCE集群所在虚拟私有云id
45
+ :type vpc_id: str
46
+ """
47
+
48
+
49
+
50
+ self._nat_id = None
51
+ self._project_id = None
52
+ self._subnet_id = None
53
+ self._vpc_id = None
54
+ self.discriminator = None
55
+
56
+ if nat_id is not None:
57
+ self.nat_id = nat_id
58
+ if project_id is not None:
59
+ self.project_id = project_id
60
+ if subnet_id is not None:
61
+ self.subnet_id = subnet_id
62
+ if vpc_id is not None:
63
+ self.vpc_id = vpc_id
64
+
65
+ @property
66
+ def nat_id(self):
67
+ """Gets the nat_id of this TicsAgentNatCommonInfo.
68
+
69
+ 可信节点绑定的网关id
70
+
71
+ :return: The nat_id of this TicsAgentNatCommonInfo.
72
+ :rtype: str
73
+ """
74
+ return self._nat_id
75
+
76
+ @nat_id.setter
77
+ def nat_id(self, nat_id):
78
+ """Sets the nat_id of this TicsAgentNatCommonInfo.
79
+
80
+ 可信节点绑定的网关id
81
+
82
+ :param nat_id: The nat_id of this TicsAgentNatCommonInfo.
83
+ :type nat_id: str
84
+ """
85
+ self._nat_id = nat_id
86
+
87
+ @property
88
+ def project_id(self):
89
+ """Gets the project_id of this TicsAgentNatCommonInfo.
90
+
91
+ 项目id
92
+
93
+ :return: The project_id of this TicsAgentNatCommonInfo.
94
+ :rtype: str
95
+ """
96
+ return self._project_id
97
+
98
+ @project_id.setter
99
+ def project_id(self, project_id):
100
+ """Sets the project_id of this TicsAgentNatCommonInfo.
101
+
102
+ 项目id
103
+
104
+ :param project_id: The project_id of this TicsAgentNatCommonInfo.
105
+ :type project_id: str
106
+ """
107
+ self._project_id = project_id
108
+
109
+ @property
110
+ def subnet_id(self):
111
+ """Gets the subnet_id of this TicsAgentNatCommonInfo.
112
+
113
+ 可信节点绑定的CCE集群所在子网id
114
+
115
+ :return: The subnet_id of this TicsAgentNatCommonInfo.
116
+ :rtype: str
117
+ """
118
+ return self._subnet_id
119
+
120
+ @subnet_id.setter
121
+ def subnet_id(self, subnet_id):
122
+ """Sets the subnet_id of this TicsAgentNatCommonInfo.
123
+
124
+ 可信节点绑定的CCE集群所在子网id
125
+
126
+ :param subnet_id: The subnet_id of this TicsAgentNatCommonInfo.
127
+ :type subnet_id: str
128
+ """
129
+ self._subnet_id = subnet_id
130
+
131
+ @property
132
+ def vpc_id(self):
133
+ """Gets the vpc_id of this TicsAgentNatCommonInfo.
134
+
135
+ 可信节点绑定的CCE集群所在虚拟私有云id
136
+
137
+ :return: The vpc_id of this TicsAgentNatCommonInfo.
138
+ :rtype: str
139
+ """
140
+ return self._vpc_id
141
+
142
+ @vpc_id.setter
143
+ def vpc_id(self, vpc_id):
144
+ """Sets the vpc_id of this TicsAgentNatCommonInfo.
145
+
146
+ 可信节点绑定的CCE集群所在虚拟私有云id
147
+
148
+ :param vpc_id: The vpc_id of this TicsAgentNatCommonInfo.
149
+ :type vpc_id: str
150
+ """
151
+ self._vpc_id = vpc_id
152
+
153
+ def to_dict(self):
154
+ """Returns the model properties as a dict"""
155
+ result = {}
156
+
157
+ for attr, _ in six.iteritems(self.openapi_types):
158
+ value = getattr(self, attr)
159
+ if isinstance(value, list):
160
+ result[attr] = list(map(
161
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
162
+ value
163
+ ))
164
+ elif hasattr(value, "to_dict"):
165
+ result[attr] = value.to_dict()
166
+ elif isinstance(value, dict):
167
+ result[attr] = dict(map(
168
+ lambda item: (item[0], item[1].to_dict())
169
+ if hasattr(item[1], "to_dict") else item,
170
+ value.items()
171
+ ))
172
+ else:
173
+ if attr in self.sensitive_list:
174
+ result[attr] = "****"
175
+ else:
176
+ result[attr] = value
177
+
178
+ return result
179
+
180
+ def to_str(self):
181
+ """Returns the string representation of the model"""
182
+ import simplejson as json
183
+ if six.PY2:
184
+ import sys
185
+ reload(sys)
186
+ sys.setdefaultencoding("utf-8")
187
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
188
+
189
+ def __repr__(self):
190
+ """For `print`"""
191
+ return self.to_str()
192
+
193
+ def __eq__(self, other):
194
+ """Returns true if both objects are equal"""
195
+ if not isinstance(other, TicsAgentNatCommonInfo):
196
+ return False
197
+
198
+ return self.__dict__ == other.__dict__
199
+
200
+ def __ne__(self, other):
201
+ """Returns true if both objects are not equal"""
202
+ return not self == other