huaweicloudsdkvpcep 3.1.160__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 (114) hide show
  1. huaweicloudsdkvpcep/__init__.py +0 -0
  2. huaweicloudsdkvpcep/v1/__init__.py +110 -0
  3. huaweicloudsdkvpcep/v1/model/__init__.py +107 -0
  4. huaweicloudsdkvpcep/v1/model/accept_or_reject_endpoint_request.py +139 -0
  5. huaweicloudsdkvpcep/v1/model/accept_or_reject_endpoint_request_body.py +142 -0
  6. huaweicloudsdkvpcep/v1/model/accept_or_reject_endpoint_response.py +116 -0
  7. huaweicloudsdkvpcep/v1/model/add_or_remove_service_permissions_request.py +139 -0
  8. huaweicloudsdkvpcep/v1/model/add_or_remove_service_permissions_request_body.py +171 -0
  9. huaweicloudsdkvpcep/v1/model/add_or_remove_service_permissions_response.py +145 -0
  10. huaweicloudsdkvpcep/v1/model/batch_add_endpoint_service_permissions_request.py +139 -0
  11. huaweicloudsdkvpcep/v1/model/batch_add_endpoint_service_permissions_request_body.py +143 -0
  12. huaweicloudsdkvpcep/v1/model/batch_add_endpoint_service_permissions_response.py +116 -0
  13. huaweicloudsdkvpcep/v1/model/batch_add_or_remove_resource_instance_request.py +167 -0
  14. huaweicloudsdkvpcep/v1/model/batch_add_or_remove_resource_instance_request_body.py +143 -0
  15. huaweicloudsdkvpcep/v1/model/batch_add_or_remove_resource_instance_response.py +85 -0
  16. huaweicloudsdkvpcep/v1/model/batch_remove_endpoint_service_permissions_request.py +139 -0
  17. huaweicloudsdkvpcep/v1/model/batch_remove_endpoint_service_permissions_request_body.py +114 -0
  18. huaweicloudsdkvpcep/v1/model/batch_remove_endpoint_service_permissions_response.py +116 -0
  19. huaweicloudsdkvpcep/v1/model/connection_endpoints.py +318 -0
  20. huaweicloudsdkvpcep/v1/model/connections_desc.py +142 -0
  21. huaweicloudsdkvpcep/v1/model/create_endpoint_request.py +111 -0
  22. huaweicloudsdkvpcep/v1/model/create_endpoint_request_body.py +490 -0
  23. huaweicloudsdkvpcep/v1/model/create_endpoint_response.py +841 -0
  24. huaweicloudsdkvpcep/v1/model/create_endpoint_service_request.py +111 -0
  25. huaweicloudsdkvpcep/v1/model/create_endpoint_service_request_body.py +459 -0
  26. huaweicloudsdkvpcep/v1/model/create_endpoint_service_response.py +638 -0
  27. huaweicloudsdkvpcep/v1/model/delete_endpoint_policy_request.py +114 -0
  28. huaweicloudsdkvpcep/v1/model/delete_endpoint_policy_response.py +725 -0
  29. huaweicloudsdkvpcep/v1/model/delete_endpoint_request.py +114 -0
  30. huaweicloudsdkvpcep/v1/model/delete_endpoint_response.py +85 -0
  31. huaweicloudsdkvpcep/v1/model/delete_endpoint_service_request.py +114 -0
  32. huaweicloudsdkvpcep/v1/model/delete_endpoint_service_response.py +85 -0
  33. huaweicloudsdkvpcep/v1/model/endpoint_response_body.py +811 -0
  34. huaweicloudsdkvpcep/v1/model/endpoint_service.py +289 -0
  35. huaweicloudsdkvpcep/v1/model/eps_add_permission_request.py +142 -0
  36. huaweicloudsdkvpcep/v1/model/eps_permission.py +231 -0
  37. huaweicloudsdkvpcep/v1/model/eps_remove_permission_request.py +114 -0
  38. huaweicloudsdkvpcep/v1/model/eps_update_permission_desc.py +114 -0
  39. huaweicloudsdkvpcep/v1/model/error.py +144 -0
  40. huaweicloudsdkvpcep/v1/model/link.py +173 -0
  41. huaweicloudsdkvpcep/v1/model/list_endpoint_info_details_request.py +114 -0
  42. huaweicloudsdkvpcep/v1/model/list_endpoint_info_details_response.py +895 -0
  43. huaweicloudsdkvpcep/v1/model/list_endpoint_service_request.py +347 -0
  44. huaweicloudsdkvpcep/v1/model/list_endpoint_service_response.py +145 -0
  45. huaweicloudsdkvpcep/v1/model/list_endpoints_request.py +289 -0
  46. huaweicloudsdkvpcep/v1/model/list_endpoints_response.py +145 -0
  47. huaweicloudsdkvpcep/v1/model/list_query_project_resource_tags_request.py +114 -0
  48. huaweicloudsdkvpcep/v1/model/list_query_project_resource_tags_response.py +116 -0
  49. huaweicloudsdkvpcep/v1/model/list_quota_details_request.py +115 -0
  50. huaweicloudsdkvpcep/v1/model/list_quota_details_response.py +112 -0
  51. huaweicloudsdkvpcep/v1/model/list_resource_instances_request.py +139 -0
  52. huaweicloudsdkvpcep/v1/model/list_resource_instances_response.py +145 -0
  53. huaweicloudsdkvpcep/v1/model/list_service_connections_request.py +317 -0
  54. huaweicloudsdkvpcep/v1/model/list_service_connections_response.py +145 -0
  55. huaweicloudsdkvpcep/v1/model/list_service_describe_details_request.py +144 -0
  56. huaweicloudsdkvpcep/v1/model/list_service_describe_details_response.py +290 -0
  57. huaweicloudsdkvpcep/v1/model/list_service_details_request.py +114 -0
  58. huaweicloudsdkvpcep/v1/model/list_service_details_response.py +667 -0
  59. huaweicloudsdkvpcep/v1/model/list_service_permissions_details_request.py +259 -0
  60. huaweicloudsdkvpcep/v1/model/list_service_permissions_details_response.py +145 -0
  61. huaweicloudsdkvpcep/v1/model/list_service_public_details_request.py +260 -0
  62. huaweicloudsdkvpcep/v1/model/list_service_public_details_response.py +145 -0
  63. huaweicloudsdkvpcep/v1/model/list_specified_version_details_request.py +114 -0
  64. huaweicloudsdkvpcep/v1/model/list_specified_version_details_response.py +112 -0
  65. huaweicloudsdkvpcep/v1/model/list_version_details_request.py +84 -0
  66. huaweicloudsdkvpcep/v1/model/list_version_details_response.py +116 -0
  67. huaweicloudsdkvpcep/v1/model/match.py +142 -0
  68. huaweicloudsdkvpcep/v1/model/permission_object.py +202 -0
  69. huaweicloudsdkvpcep/v1/model/policy_statement.py +199 -0
  70. huaweicloudsdkvpcep/v1/model/port_list.py +173 -0
  71. huaweicloudsdkvpcep/v1/model/query_error.py +144 -0
  72. huaweicloudsdkvpcep/v1/model/query_resource_instance_tags_body.py +375 -0
  73. huaweicloudsdkvpcep/v1/model/quotas.py +173 -0
  74. huaweicloudsdkvpcep/v1/model/resource_instance.py +173 -0
  75. huaweicloudsdkvpcep/v1/model/resource_tag.py +143 -0
  76. huaweicloudsdkvpcep/v1/model/resources_response_body.py +115 -0
  77. huaweicloudsdkvpcep/v1/model/routetable_info_error.py +144 -0
  78. huaweicloudsdkvpcep/v1/model/routetable_info_error_detial.py +144 -0
  79. huaweicloudsdkvpcep/v1/model/service_list.py +724 -0
  80. huaweicloudsdkvpcep/v1/model/tag_list.py +144 -0
  81. huaweicloudsdkvpcep/v1/model/tag_values_list.py +142 -0
  82. huaweicloudsdkvpcep/v1/model/update_endpoint_connections_desc_request.py +139 -0
  83. huaweicloudsdkvpcep/v1/model/update_endpoint_connections_desc_request_body.py +114 -0
  84. huaweicloudsdkvpcep/v1/model/update_endpoint_connections_desc_response.py +116 -0
  85. huaweicloudsdkvpcep/v1/model/update_endpoint_policy_request.py +139 -0
  86. huaweicloudsdkvpcep/v1/model/update_endpoint_policy_request_body.py +144 -0
  87. huaweicloudsdkvpcep/v1/model/update_endpoint_policy_response.py +725 -0
  88. huaweicloudsdkvpcep/v1/model/update_endpoint_routetable_request.py +139 -0
  89. huaweicloudsdkvpcep/v1/model/update_endpoint_routetable_request_body.py +114 -0
  90. huaweicloudsdkvpcep/v1/model/update_endpoint_routetable_response.py +145 -0
  91. huaweicloudsdkvpcep/v1/model/update_endpoint_service_name_request.py +139 -0
  92. huaweicloudsdkvpcep/v1/model/update_endpoint_service_name_request_body.py +115 -0
  93. huaweicloudsdkvpcep/v1/model/update_endpoint_service_name_response.py +116 -0
  94. huaweicloudsdkvpcep/v1/model/update_endpoint_service_permission_desc_request.py +167 -0
  95. huaweicloudsdkvpcep/v1/model/update_endpoint_service_permission_desc_request_body.py +110 -0
  96. huaweicloudsdkvpcep/v1/model/update_endpoint_service_permission_desc_response.py +116 -0
  97. huaweicloudsdkvpcep/v1/model/update_endpoint_service_request.py +139 -0
  98. huaweicloudsdkvpcep/v1/model/update_endpoint_service_request_body.py +289 -0
  99. huaweicloudsdkvpcep/v1/model/update_endpoint_service_response.py +638 -0
  100. huaweicloudsdkvpcep/v1/model/update_endpoint_white_request.py +139 -0
  101. huaweicloudsdkvpcep/v1/model/update_endpoint_white_request_body.py +144 -0
  102. huaweicloudsdkvpcep/v1/model/update_endpoint_white_response.py +667 -0
  103. huaweicloudsdkvpcep/v1/model/upgrade_endpoint_service_request.py +114 -0
  104. huaweicloudsdkvpcep/v1/model/upgrade_endpoint_service_response.py +85 -0
  105. huaweicloudsdkvpcep/v1/model/version_object.py +260 -0
  106. huaweicloudsdkvpcep/v1/region/__init__.py +0 -0
  107. huaweicloudsdkvpcep/v1/region/vpcep_region.py +124 -0
  108. huaweicloudsdkvpcep/v1/vpcep_async_client.py +2211 -0
  109. huaweicloudsdkvpcep/v1/vpcep_client.py +2208 -0
  110. huaweicloudsdkvpcep-3.1.160.dist-info/LICENSE +13 -0
  111. huaweicloudsdkvpcep-3.1.160.dist-info/METADATA +26 -0
  112. huaweicloudsdkvpcep-3.1.160.dist-info/RECORD +114 -0
  113. huaweicloudsdkvpcep-3.1.160.dist-info/WHEEL +5 -0
  114. huaweicloudsdkvpcep-3.1.160.dist-info/top_level.txt +1 -0
@@ -0,0 +1,895 @@
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 ListEndpointInfoDetailsResponse(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
+ 'id': 'str',
22
+ 'service_type': 'str',
23
+ 'status': 'str',
24
+ 'active_status': 'list[str]',
25
+ 'enable_status': 'str',
26
+ 'specification_name': 'str',
27
+ 'endpoint_service_name': 'str',
28
+ 'marker_id': 'int',
29
+ 'endpoint_service_id': 'str',
30
+ 'enable_dns': 'bool',
31
+ 'dns_names': 'list[str]',
32
+ 'ip': 'str',
33
+ 'vpc_id': 'str',
34
+ 'subnet_id': 'str',
35
+ 'created_at': 'datetime',
36
+ 'updated_at': 'datetime',
37
+ 'project_id': 'str',
38
+ 'tags': 'list[TagList]',
39
+ 'error': 'list[QueryError]',
40
+ 'whitelist': 'list[str]',
41
+ 'enable_whitelist': 'bool',
42
+ 'routetables': 'list[str]',
43
+ 'description': 'str',
44
+ 'policy_statement': 'list[PolicyStatement]',
45
+ 'policy_document': 'object',
46
+ 'endpoint_pool_id': 'str',
47
+ 'public_border_group': 'str',
48
+ 'ipv6_address': 'str'
49
+ }
50
+
51
+ attribute_map = {
52
+ 'id': 'id',
53
+ 'service_type': 'service_type',
54
+ 'status': 'status',
55
+ 'active_status': 'active_status',
56
+ 'enable_status': 'enable_status',
57
+ 'specification_name': 'specification_name',
58
+ 'endpoint_service_name': 'endpoint_service_name',
59
+ 'marker_id': 'marker_id',
60
+ 'endpoint_service_id': 'endpoint_service_id',
61
+ 'enable_dns': 'enable_dns',
62
+ 'dns_names': 'dns_names',
63
+ 'ip': 'ip',
64
+ 'vpc_id': 'vpc_id',
65
+ 'subnet_id': 'subnet_id',
66
+ 'created_at': 'created_at',
67
+ 'updated_at': 'updated_at',
68
+ 'project_id': 'project_id',
69
+ 'tags': 'tags',
70
+ 'error': 'error',
71
+ 'whitelist': 'whitelist',
72
+ 'enable_whitelist': 'enable_whitelist',
73
+ 'routetables': 'routetables',
74
+ 'description': 'description',
75
+ 'policy_statement': 'policy_statement',
76
+ 'policy_document': 'policy_document',
77
+ 'endpoint_pool_id': 'endpoint_pool_id',
78
+ 'public_border_group': 'public_border_group',
79
+ 'ipv6_address': 'ipv6_address'
80
+ }
81
+
82
+ def __init__(self, id=None, service_type=None, status=None, active_status=None, enable_status=None, specification_name=None, endpoint_service_name=None, marker_id=None, endpoint_service_id=None, enable_dns=None, dns_names=None, ip=None, vpc_id=None, subnet_id=None, created_at=None, updated_at=None, project_id=None, tags=None, error=None, whitelist=None, enable_whitelist=None, routetables=None, description=None, policy_statement=None, policy_document=None, endpoint_pool_id=None, public_border_group=None, ipv6_address=None):
83
+ r"""ListEndpointInfoDetailsResponse
84
+
85
+ The model defined in huaweicloud sdk
86
+
87
+ :param id: 终端节点的ID,唯一标识。
88
+ :type id: str
89
+ :param service_type: 终端节点连接的终端节点服务类型。 - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。
90
+ :type service_type: str
91
+ :param status: 终端节点的连接状态。 - pendingAcceptance:待接受 - creating:创建中 - accepted:已接受 - rejected:已拒绝 - failed:失败 - deleting:删除中
92
+ :type status: str
93
+ :param active_status: 账号状态。 - frozen:冻结 - active:解冻
94
+ :type active_status: list[str]
95
+ :param enable_status: 终端节点是否可用。 - enable:启用 - disable:不启用
96
+ :type enable_status: str
97
+ :param specification_name: 终端节点服务规格的名称。
98
+ :type specification_name: str
99
+ :param endpoint_service_name: 终端节点服务的名称。
100
+ :type endpoint_service_name: str
101
+ :param marker_id: 终端节点的报文标识。
102
+ :type marker_id: int
103
+ :param endpoint_service_id: 终端节点服务的ID。
104
+ :type endpoint_service_id: str
105
+ :param enable_dns: 是否创建域名。 - true:创建域名 - false:不创建域名 说明 当创建gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。
106
+ :type enable_dns: bool
107
+ :param dns_names: 访问所连接的终端节点服务的域名。 当“enable_dns”为true时,该参数可见。
108
+ :type dns_names: list[str]
109
+ :param ip: 访问所连接的终端节点服务的IP。 仅当同时满足如下条件时,返回该参数: - 当查询连接interface类型终端节点服务的终端节点时。 - 终端节点服务启用“连接审批”功能,且已经“接受”连接审批。 “status”可以是“accepted”或者“rejected(仅支持“接受”连接审批后再“拒绝”的情况)”。
110
+ :type ip: str
111
+ :param vpc_id: 终端节点所在的VPC的ID。
112
+ :type vpc_id: str
113
+ :param subnet_id: vpc_id对应VPC下已创建的网络(network)的ID,UUID格式。
114
+ :type subnet_id: str
115
+ :param created_at: 终端节点的创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
116
+ :type created_at: datetime
117
+ :param updated_at: 终端节点的更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
118
+ :type updated_at: datetime
119
+ :param project_id: 项目ID,获取方法请参见获取项目ID。
120
+ :type project_id: str
121
+ :param tags: 标签列表,没有标签默认为空数组。
122
+ :type tags: list[:class:`huaweicloudsdkvpcep.v1.TagList`]
123
+ :param error:
124
+ :type error: list[:class:`huaweicloudsdkvpcep.v1.QueryError`]
125
+ :param whitelist: 控制访问终端节点的白名单。 若未创建,则返回空列表。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。
126
+ :type whitelist: list[str]
127
+ :param enable_whitelist: 是否开启网络ACL隔离。 - true:开启网络ACL隔离 - false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。
128
+ :type enable_whitelist: bool
129
+ :param routetables: 路由表ID列表。 若未指定,返回默认VPC下路由表ID。 创建gateway类型终端节点服务的终端节点时,显示此参数。
130
+ :type routetables: list[str]
131
+ :param description: 描述字段,支持中英文字母、数字等字符,不支持“<”或“>”字符。
132
+ :type description: str
133
+ :param policy_statement: Gateway类型终端节点策略信息,仅限OBS、SFS的终端节点服务的enable_policy值为true时支持该参数。
134
+ :type policy_statement: list[:class:`huaweicloudsdkvpcep.v1.PolicyStatement`]
135
+ :param policy_document: 终端节点策略信息,仅当终端节点服务的enable_policy值为true时支持该参数,默认值为完全访问权限。(OBS、SFS的终端节点服务暂不支持该参数)
136
+ :type policy_document: object
137
+ :param endpoint_pool_id: 待废弃,实例相关联的集群ID
138
+ :type endpoint_pool_id: str
139
+ :param public_border_group: 终端节点对应Pool的Public Border Group信息
140
+ :type public_border_group: str
141
+ :param ipv6_address: 访问所连接的终端节点服务的IPv6的地址。 创建终端节点时,可以指定访问所连接的终端节点服务的IP,不指定的情况下,会使用系统生成的一个地址。 仅专业型终端节点支持此参数。
142
+ :type ipv6_address: str
143
+ """
144
+
145
+ super(ListEndpointInfoDetailsResponse, self).__init__()
146
+
147
+ self._id = None
148
+ self._service_type = None
149
+ self._status = None
150
+ self._active_status = None
151
+ self._enable_status = None
152
+ self._specification_name = None
153
+ self._endpoint_service_name = None
154
+ self._marker_id = None
155
+ self._endpoint_service_id = None
156
+ self._enable_dns = None
157
+ self._dns_names = None
158
+ self._ip = None
159
+ self._vpc_id = None
160
+ self._subnet_id = None
161
+ self._created_at = None
162
+ self._updated_at = None
163
+ self._project_id = None
164
+ self._tags = None
165
+ self._error = None
166
+ self._whitelist = None
167
+ self._enable_whitelist = None
168
+ self._routetables = None
169
+ self._description = None
170
+ self._policy_statement = None
171
+ self._policy_document = None
172
+ self._endpoint_pool_id = None
173
+ self._public_border_group = None
174
+ self._ipv6_address = None
175
+ self.discriminator = None
176
+
177
+ if id is not None:
178
+ self.id = id
179
+ if service_type is not None:
180
+ self.service_type = service_type
181
+ if status is not None:
182
+ self.status = status
183
+ if active_status is not None:
184
+ self.active_status = active_status
185
+ if enable_status is not None:
186
+ self.enable_status = enable_status
187
+ if specification_name is not None:
188
+ self.specification_name = specification_name
189
+ if endpoint_service_name is not None:
190
+ self.endpoint_service_name = endpoint_service_name
191
+ if marker_id is not None:
192
+ self.marker_id = marker_id
193
+ if endpoint_service_id is not None:
194
+ self.endpoint_service_id = endpoint_service_id
195
+ if enable_dns is not None:
196
+ self.enable_dns = enable_dns
197
+ if dns_names is not None:
198
+ self.dns_names = dns_names
199
+ if ip is not None:
200
+ self.ip = ip
201
+ if vpc_id is not None:
202
+ self.vpc_id = vpc_id
203
+ if subnet_id is not None:
204
+ self.subnet_id = subnet_id
205
+ if created_at is not None:
206
+ self.created_at = created_at
207
+ if updated_at is not None:
208
+ self.updated_at = updated_at
209
+ if project_id is not None:
210
+ self.project_id = project_id
211
+ if tags is not None:
212
+ self.tags = tags
213
+ if error is not None:
214
+ self.error = error
215
+ if whitelist is not None:
216
+ self.whitelist = whitelist
217
+ if enable_whitelist is not None:
218
+ self.enable_whitelist = enable_whitelist
219
+ if routetables is not None:
220
+ self.routetables = routetables
221
+ if description is not None:
222
+ self.description = description
223
+ if policy_statement is not None:
224
+ self.policy_statement = policy_statement
225
+ if policy_document is not None:
226
+ self.policy_document = policy_document
227
+ if endpoint_pool_id is not None:
228
+ self.endpoint_pool_id = endpoint_pool_id
229
+ if public_border_group is not None:
230
+ self.public_border_group = public_border_group
231
+ if ipv6_address is not None:
232
+ self.ipv6_address = ipv6_address
233
+
234
+ @property
235
+ def id(self):
236
+ r"""Gets the id of this ListEndpointInfoDetailsResponse.
237
+
238
+ 终端节点的ID,唯一标识。
239
+
240
+ :return: The id of this ListEndpointInfoDetailsResponse.
241
+ :rtype: str
242
+ """
243
+ return self._id
244
+
245
+ @id.setter
246
+ def id(self, id):
247
+ r"""Sets the id of this ListEndpointInfoDetailsResponse.
248
+
249
+ 终端节点的ID,唯一标识。
250
+
251
+ :param id: The id of this ListEndpointInfoDetailsResponse.
252
+ :type id: str
253
+ """
254
+ self._id = id
255
+
256
+ @property
257
+ def service_type(self):
258
+ r"""Gets the service_type of this ListEndpointInfoDetailsResponse.
259
+
260
+ 终端节点连接的终端节点服务类型。 - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。
261
+
262
+ :return: The service_type of this ListEndpointInfoDetailsResponse.
263
+ :rtype: str
264
+ """
265
+ return self._service_type
266
+
267
+ @service_type.setter
268
+ def service_type(self, service_type):
269
+ r"""Sets the service_type of this ListEndpointInfoDetailsResponse.
270
+
271
+ 终端节点连接的终端节点服务类型。 - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。
272
+
273
+ :param service_type: The service_type of this ListEndpointInfoDetailsResponse.
274
+ :type service_type: str
275
+ """
276
+ self._service_type = service_type
277
+
278
+ @property
279
+ def status(self):
280
+ r"""Gets the status of this ListEndpointInfoDetailsResponse.
281
+
282
+ 终端节点的连接状态。 - pendingAcceptance:待接受 - creating:创建中 - accepted:已接受 - rejected:已拒绝 - failed:失败 - deleting:删除中
283
+
284
+ :return: The status of this ListEndpointInfoDetailsResponse.
285
+ :rtype: str
286
+ """
287
+ return self._status
288
+
289
+ @status.setter
290
+ def status(self, status):
291
+ r"""Sets the status of this ListEndpointInfoDetailsResponse.
292
+
293
+ 终端节点的连接状态。 - pendingAcceptance:待接受 - creating:创建中 - accepted:已接受 - rejected:已拒绝 - failed:失败 - deleting:删除中
294
+
295
+ :param status: The status of this ListEndpointInfoDetailsResponse.
296
+ :type status: str
297
+ """
298
+ self._status = status
299
+
300
+ @property
301
+ def active_status(self):
302
+ r"""Gets the active_status of this ListEndpointInfoDetailsResponse.
303
+
304
+ 账号状态。 - frozen:冻结 - active:解冻
305
+
306
+ :return: The active_status of this ListEndpointInfoDetailsResponse.
307
+ :rtype: list[str]
308
+ """
309
+ return self._active_status
310
+
311
+ @active_status.setter
312
+ def active_status(self, active_status):
313
+ r"""Sets the active_status of this ListEndpointInfoDetailsResponse.
314
+
315
+ 账号状态。 - frozen:冻结 - active:解冻
316
+
317
+ :param active_status: The active_status of this ListEndpointInfoDetailsResponse.
318
+ :type active_status: list[str]
319
+ """
320
+ self._active_status = active_status
321
+
322
+ @property
323
+ def enable_status(self):
324
+ r"""Gets the enable_status of this ListEndpointInfoDetailsResponse.
325
+
326
+ 终端节点是否可用。 - enable:启用 - disable:不启用
327
+
328
+ :return: The enable_status of this ListEndpointInfoDetailsResponse.
329
+ :rtype: str
330
+ """
331
+ return self._enable_status
332
+
333
+ @enable_status.setter
334
+ def enable_status(self, enable_status):
335
+ r"""Sets the enable_status of this ListEndpointInfoDetailsResponse.
336
+
337
+ 终端节点是否可用。 - enable:启用 - disable:不启用
338
+
339
+ :param enable_status: The enable_status of this ListEndpointInfoDetailsResponse.
340
+ :type enable_status: str
341
+ """
342
+ self._enable_status = enable_status
343
+
344
+ @property
345
+ def specification_name(self):
346
+ r"""Gets the specification_name of this ListEndpointInfoDetailsResponse.
347
+
348
+ 终端节点服务规格的名称。
349
+
350
+ :return: The specification_name of this ListEndpointInfoDetailsResponse.
351
+ :rtype: str
352
+ """
353
+ return self._specification_name
354
+
355
+ @specification_name.setter
356
+ def specification_name(self, specification_name):
357
+ r"""Sets the specification_name of this ListEndpointInfoDetailsResponse.
358
+
359
+ 终端节点服务规格的名称。
360
+
361
+ :param specification_name: The specification_name of this ListEndpointInfoDetailsResponse.
362
+ :type specification_name: str
363
+ """
364
+ self._specification_name = specification_name
365
+
366
+ @property
367
+ def endpoint_service_name(self):
368
+ r"""Gets the endpoint_service_name of this ListEndpointInfoDetailsResponse.
369
+
370
+ 终端节点服务的名称。
371
+
372
+ :return: The endpoint_service_name of this ListEndpointInfoDetailsResponse.
373
+ :rtype: str
374
+ """
375
+ return self._endpoint_service_name
376
+
377
+ @endpoint_service_name.setter
378
+ def endpoint_service_name(self, endpoint_service_name):
379
+ r"""Sets the endpoint_service_name of this ListEndpointInfoDetailsResponse.
380
+
381
+ 终端节点服务的名称。
382
+
383
+ :param endpoint_service_name: The endpoint_service_name of this ListEndpointInfoDetailsResponse.
384
+ :type endpoint_service_name: str
385
+ """
386
+ self._endpoint_service_name = endpoint_service_name
387
+
388
+ @property
389
+ def marker_id(self):
390
+ r"""Gets the marker_id of this ListEndpointInfoDetailsResponse.
391
+
392
+ 终端节点的报文标识。
393
+
394
+ :return: The marker_id of this ListEndpointInfoDetailsResponse.
395
+ :rtype: int
396
+ """
397
+ return self._marker_id
398
+
399
+ @marker_id.setter
400
+ def marker_id(self, marker_id):
401
+ r"""Sets the marker_id of this ListEndpointInfoDetailsResponse.
402
+
403
+ 终端节点的报文标识。
404
+
405
+ :param marker_id: The marker_id of this ListEndpointInfoDetailsResponse.
406
+ :type marker_id: int
407
+ """
408
+ self._marker_id = marker_id
409
+
410
+ @property
411
+ def endpoint_service_id(self):
412
+ r"""Gets the endpoint_service_id of this ListEndpointInfoDetailsResponse.
413
+
414
+ 终端节点服务的ID。
415
+
416
+ :return: The endpoint_service_id of this ListEndpointInfoDetailsResponse.
417
+ :rtype: str
418
+ """
419
+ return self._endpoint_service_id
420
+
421
+ @endpoint_service_id.setter
422
+ def endpoint_service_id(self, endpoint_service_id):
423
+ r"""Sets the endpoint_service_id of this ListEndpointInfoDetailsResponse.
424
+
425
+ 终端节点服务的ID。
426
+
427
+ :param endpoint_service_id: The endpoint_service_id of this ListEndpointInfoDetailsResponse.
428
+ :type endpoint_service_id: str
429
+ """
430
+ self._endpoint_service_id = endpoint_service_id
431
+
432
+ @property
433
+ def enable_dns(self):
434
+ r"""Gets the enable_dns of this ListEndpointInfoDetailsResponse.
435
+
436
+ 是否创建域名。 - true:创建域名 - false:不创建域名 说明 当创建gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。
437
+
438
+ :return: The enable_dns of this ListEndpointInfoDetailsResponse.
439
+ :rtype: bool
440
+ """
441
+ return self._enable_dns
442
+
443
+ @enable_dns.setter
444
+ def enable_dns(self, enable_dns):
445
+ r"""Sets the enable_dns of this ListEndpointInfoDetailsResponse.
446
+
447
+ 是否创建域名。 - true:创建域名 - false:不创建域名 说明 当创建gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。
448
+
449
+ :param enable_dns: The enable_dns of this ListEndpointInfoDetailsResponse.
450
+ :type enable_dns: bool
451
+ """
452
+ self._enable_dns = enable_dns
453
+
454
+ @property
455
+ def dns_names(self):
456
+ r"""Gets the dns_names of this ListEndpointInfoDetailsResponse.
457
+
458
+ 访问所连接的终端节点服务的域名。 当“enable_dns”为true时,该参数可见。
459
+
460
+ :return: The dns_names of this ListEndpointInfoDetailsResponse.
461
+ :rtype: list[str]
462
+ """
463
+ return self._dns_names
464
+
465
+ @dns_names.setter
466
+ def dns_names(self, dns_names):
467
+ r"""Sets the dns_names of this ListEndpointInfoDetailsResponse.
468
+
469
+ 访问所连接的终端节点服务的域名。 当“enable_dns”为true时,该参数可见。
470
+
471
+ :param dns_names: The dns_names of this ListEndpointInfoDetailsResponse.
472
+ :type dns_names: list[str]
473
+ """
474
+ self._dns_names = dns_names
475
+
476
+ @property
477
+ def ip(self):
478
+ r"""Gets the ip of this ListEndpointInfoDetailsResponse.
479
+
480
+ 访问所连接的终端节点服务的IP。 仅当同时满足如下条件时,返回该参数: - 当查询连接interface类型终端节点服务的终端节点时。 - 终端节点服务启用“连接审批”功能,且已经“接受”连接审批。 “status”可以是“accepted”或者“rejected(仅支持“接受”连接审批后再“拒绝”的情况)”。
481
+
482
+ :return: The ip of this ListEndpointInfoDetailsResponse.
483
+ :rtype: str
484
+ """
485
+ return self._ip
486
+
487
+ @ip.setter
488
+ def ip(self, ip):
489
+ r"""Sets the ip of this ListEndpointInfoDetailsResponse.
490
+
491
+ 访问所连接的终端节点服务的IP。 仅当同时满足如下条件时,返回该参数: - 当查询连接interface类型终端节点服务的终端节点时。 - 终端节点服务启用“连接审批”功能,且已经“接受”连接审批。 “status”可以是“accepted”或者“rejected(仅支持“接受”连接审批后再“拒绝”的情况)”。
492
+
493
+ :param ip: The ip of this ListEndpointInfoDetailsResponse.
494
+ :type ip: str
495
+ """
496
+ self._ip = ip
497
+
498
+ @property
499
+ def vpc_id(self):
500
+ r"""Gets the vpc_id of this ListEndpointInfoDetailsResponse.
501
+
502
+ 终端节点所在的VPC的ID。
503
+
504
+ :return: The vpc_id of this ListEndpointInfoDetailsResponse.
505
+ :rtype: str
506
+ """
507
+ return self._vpc_id
508
+
509
+ @vpc_id.setter
510
+ def vpc_id(self, vpc_id):
511
+ r"""Sets the vpc_id of this ListEndpointInfoDetailsResponse.
512
+
513
+ 终端节点所在的VPC的ID。
514
+
515
+ :param vpc_id: The vpc_id of this ListEndpointInfoDetailsResponse.
516
+ :type vpc_id: str
517
+ """
518
+ self._vpc_id = vpc_id
519
+
520
+ @property
521
+ def subnet_id(self):
522
+ r"""Gets the subnet_id of this ListEndpointInfoDetailsResponse.
523
+
524
+ vpc_id对应VPC下已创建的网络(network)的ID,UUID格式。
525
+
526
+ :return: The subnet_id of this ListEndpointInfoDetailsResponse.
527
+ :rtype: str
528
+ """
529
+ return self._subnet_id
530
+
531
+ @subnet_id.setter
532
+ def subnet_id(self, subnet_id):
533
+ r"""Sets the subnet_id of this ListEndpointInfoDetailsResponse.
534
+
535
+ vpc_id对应VPC下已创建的网络(network)的ID,UUID格式。
536
+
537
+ :param subnet_id: The subnet_id of this ListEndpointInfoDetailsResponse.
538
+ :type subnet_id: str
539
+ """
540
+ self._subnet_id = subnet_id
541
+
542
+ @property
543
+ def created_at(self):
544
+ r"""Gets the created_at of this ListEndpointInfoDetailsResponse.
545
+
546
+ 终端节点的创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
547
+
548
+ :return: The created_at of this ListEndpointInfoDetailsResponse.
549
+ :rtype: datetime
550
+ """
551
+ return self._created_at
552
+
553
+ @created_at.setter
554
+ def created_at(self, created_at):
555
+ r"""Sets the created_at of this ListEndpointInfoDetailsResponse.
556
+
557
+ 终端节点的创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
558
+
559
+ :param created_at: The created_at of this ListEndpointInfoDetailsResponse.
560
+ :type created_at: datetime
561
+ """
562
+ self._created_at = created_at
563
+
564
+ @property
565
+ def updated_at(self):
566
+ r"""Gets the updated_at of this ListEndpointInfoDetailsResponse.
567
+
568
+ 终端节点的更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
569
+
570
+ :return: The updated_at of this ListEndpointInfoDetailsResponse.
571
+ :rtype: datetime
572
+ """
573
+ return self._updated_at
574
+
575
+ @updated_at.setter
576
+ def updated_at(self, updated_at):
577
+ r"""Sets the updated_at of this ListEndpointInfoDetailsResponse.
578
+
579
+ 终端节点的更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
580
+
581
+ :param updated_at: The updated_at of this ListEndpointInfoDetailsResponse.
582
+ :type updated_at: datetime
583
+ """
584
+ self._updated_at = updated_at
585
+
586
+ @property
587
+ def project_id(self):
588
+ r"""Gets the project_id of this ListEndpointInfoDetailsResponse.
589
+
590
+ 项目ID,获取方法请参见获取项目ID。
591
+
592
+ :return: The project_id of this ListEndpointInfoDetailsResponse.
593
+ :rtype: str
594
+ """
595
+ return self._project_id
596
+
597
+ @project_id.setter
598
+ def project_id(self, project_id):
599
+ r"""Sets the project_id of this ListEndpointInfoDetailsResponse.
600
+
601
+ 项目ID,获取方法请参见获取项目ID。
602
+
603
+ :param project_id: The project_id of this ListEndpointInfoDetailsResponse.
604
+ :type project_id: str
605
+ """
606
+ self._project_id = project_id
607
+
608
+ @property
609
+ def tags(self):
610
+ r"""Gets the tags of this ListEndpointInfoDetailsResponse.
611
+
612
+ 标签列表,没有标签默认为空数组。
613
+
614
+ :return: The tags of this ListEndpointInfoDetailsResponse.
615
+ :rtype: list[:class:`huaweicloudsdkvpcep.v1.TagList`]
616
+ """
617
+ return self._tags
618
+
619
+ @tags.setter
620
+ def tags(self, tags):
621
+ r"""Sets the tags of this ListEndpointInfoDetailsResponse.
622
+
623
+ 标签列表,没有标签默认为空数组。
624
+
625
+ :param tags: The tags of this ListEndpointInfoDetailsResponse.
626
+ :type tags: list[:class:`huaweicloudsdkvpcep.v1.TagList`]
627
+ """
628
+ self._tags = tags
629
+
630
+ @property
631
+ def error(self):
632
+ r"""Gets the error of this ListEndpointInfoDetailsResponse.
633
+
634
+ :return: The error of this ListEndpointInfoDetailsResponse.
635
+ :rtype: list[:class:`huaweicloudsdkvpcep.v1.QueryError`]
636
+ """
637
+ return self._error
638
+
639
+ @error.setter
640
+ def error(self, error):
641
+ r"""Sets the error of this ListEndpointInfoDetailsResponse.
642
+
643
+ :param error: The error of this ListEndpointInfoDetailsResponse.
644
+ :type error: list[:class:`huaweicloudsdkvpcep.v1.QueryError`]
645
+ """
646
+ self._error = error
647
+
648
+ @property
649
+ def whitelist(self):
650
+ r"""Gets the whitelist of this ListEndpointInfoDetailsResponse.
651
+
652
+ 控制访问终端节点的白名单。 若未创建,则返回空列表。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。
653
+
654
+ :return: The whitelist of this ListEndpointInfoDetailsResponse.
655
+ :rtype: list[str]
656
+ """
657
+ return self._whitelist
658
+
659
+ @whitelist.setter
660
+ def whitelist(self, whitelist):
661
+ r"""Sets the whitelist of this ListEndpointInfoDetailsResponse.
662
+
663
+ 控制访问终端节点的白名单。 若未创建,则返回空列表。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。
664
+
665
+ :param whitelist: The whitelist of this ListEndpointInfoDetailsResponse.
666
+ :type whitelist: list[str]
667
+ """
668
+ self._whitelist = whitelist
669
+
670
+ @property
671
+ def enable_whitelist(self):
672
+ r"""Gets the enable_whitelist of this ListEndpointInfoDetailsResponse.
673
+
674
+ 是否开启网络ACL隔离。 - true:开启网络ACL隔离 - false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。
675
+
676
+ :return: The enable_whitelist of this ListEndpointInfoDetailsResponse.
677
+ :rtype: bool
678
+ """
679
+ return self._enable_whitelist
680
+
681
+ @enable_whitelist.setter
682
+ def enable_whitelist(self, enable_whitelist):
683
+ r"""Sets the enable_whitelist of this ListEndpointInfoDetailsResponse.
684
+
685
+ 是否开启网络ACL隔离。 - true:开启网络ACL隔离 - false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。
686
+
687
+ :param enable_whitelist: The enable_whitelist of this ListEndpointInfoDetailsResponse.
688
+ :type enable_whitelist: bool
689
+ """
690
+ self._enable_whitelist = enable_whitelist
691
+
692
+ @property
693
+ def routetables(self):
694
+ r"""Gets the routetables of this ListEndpointInfoDetailsResponse.
695
+
696
+ 路由表ID列表。 若未指定,返回默认VPC下路由表ID。 创建gateway类型终端节点服务的终端节点时,显示此参数。
697
+
698
+ :return: The routetables of this ListEndpointInfoDetailsResponse.
699
+ :rtype: list[str]
700
+ """
701
+ return self._routetables
702
+
703
+ @routetables.setter
704
+ def routetables(self, routetables):
705
+ r"""Sets the routetables of this ListEndpointInfoDetailsResponse.
706
+
707
+ 路由表ID列表。 若未指定,返回默认VPC下路由表ID。 创建gateway类型终端节点服务的终端节点时,显示此参数。
708
+
709
+ :param routetables: The routetables of this ListEndpointInfoDetailsResponse.
710
+ :type routetables: list[str]
711
+ """
712
+ self._routetables = routetables
713
+
714
+ @property
715
+ def description(self):
716
+ r"""Gets the description of this ListEndpointInfoDetailsResponse.
717
+
718
+ 描述字段,支持中英文字母、数字等字符,不支持“<”或“>”字符。
719
+
720
+ :return: The description of this ListEndpointInfoDetailsResponse.
721
+ :rtype: str
722
+ """
723
+ return self._description
724
+
725
+ @description.setter
726
+ def description(self, description):
727
+ r"""Sets the description of this ListEndpointInfoDetailsResponse.
728
+
729
+ 描述字段,支持中英文字母、数字等字符,不支持“<”或“>”字符。
730
+
731
+ :param description: The description of this ListEndpointInfoDetailsResponse.
732
+ :type description: str
733
+ """
734
+ self._description = description
735
+
736
+ @property
737
+ def policy_statement(self):
738
+ r"""Gets the policy_statement of this ListEndpointInfoDetailsResponse.
739
+
740
+ Gateway类型终端节点策略信息,仅限OBS、SFS的终端节点服务的enable_policy值为true时支持该参数。
741
+
742
+ :return: The policy_statement of this ListEndpointInfoDetailsResponse.
743
+ :rtype: list[:class:`huaweicloudsdkvpcep.v1.PolicyStatement`]
744
+ """
745
+ return self._policy_statement
746
+
747
+ @policy_statement.setter
748
+ def policy_statement(self, policy_statement):
749
+ r"""Sets the policy_statement of this ListEndpointInfoDetailsResponse.
750
+
751
+ Gateway类型终端节点策略信息,仅限OBS、SFS的终端节点服务的enable_policy值为true时支持该参数。
752
+
753
+ :param policy_statement: The policy_statement of this ListEndpointInfoDetailsResponse.
754
+ :type policy_statement: list[:class:`huaweicloudsdkvpcep.v1.PolicyStatement`]
755
+ """
756
+ self._policy_statement = policy_statement
757
+
758
+ @property
759
+ def policy_document(self):
760
+ r"""Gets the policy_document of this ListEndpointInfoDetailsResponse.
761
+
762
+ 终端节点策略信息,仅当终端节点服务的enable_policy值为true时支持该参数,默认值为完全访问权限。(OBS、SFS的终端节点服务暂不支持该参数)
763
+
764
+ :return: The policy_document of this ListEndpointInfoDetailsResponse.
765
+ :rtype: object
766
+ """
767
+ return self._policy_document
768
+
769
+ @policy_document.setter
770
+ def policy_document(self, policy_document):
771
+ r"""Sets the policy_document of this ListEndpointInfoDetailsResponse.
772
+
773
+ 终端节点策略信息,仅当终端节点服务的enable_policy值为true时支持该参数,默认值为完全访问权限。(OBS、SFS的终端节点服务暂不支持该参数)
774
+
775
+ :param policy_document: The policy_document of this ListEndpointInfoDetailsResponse.
776
+ :type policy_document: object
777
+ """
778
+ self._policy_document = policy_document
779
+
780
+ @property
781
+ def endpoint_pool_id(self):
782
+ r"""Gets the endpoint_pool_id of this ListEndpointInfoDetailsResponse.
783
+
784
+ 待废弃,实例相关联的集群ID
785
+
786
+ :return: The endpoint_pool_id of this ListEndpointInfoDetailsResponse.
787
+ :rtype: str
788
+ """
789
+ return self._endpoint_pool_id
790
+
791
+ @endpoint_pool_id.setter
792
+ def endpoint_pool_id(self, endpoint_pool_id):
793
+ r"""Sets the endpoint_pool_id of this ListEndpointInfoDetailsResponse.
794
+
795
+ 待废弃,实例相关联的集群ID
796
+
797
+ :param endpoint_pool_id: The endpoint_pool_id of this ListEndpointInfoDetailsResponse.
798
+ :type endpoint_pool_id: str
799
+ """
800
+ self._endpoint_pool_id = endpoint_pool_id
801
+
802
+ @property
803
+ def public_border_group(self):
804
+ r"""Gets the public_border_group of this ListEndpointInfoDetailsResponse.
805
+
806
+ 终端节点对应Pool的Public Border Group信息
807
+
808
+ :return: The public_border_group of this ListEndpointInfoDetailsResponse.
809
+ :rtype: str
810
+ """
811
+ return self._public_border_group
812
+
813
+ @public_border_group.setter
814
+ def public_border_group(self, public_border_group):
815
+ r"""Sets the public_border_group of this ListEndpointInfoDetailsResponse.
816
+
817
+ 终端节点对应Pool的Public Border Group信息
818
+
819
+ :param public_border_group: The public_border_group of this ListEndpointInfoDetailsResponse.
820
+ :type public_border_group: str
821
+ """
822
+ self._public_border_group = public_border_group
823
+
824
+ @property
825
+ def ipv6_address(self):
826
+ r"""Gets the ipv6_address of this ListEndpointInfoDetailsResponse.
827
+
828
+ 访问所连接的终端节点服务的IPv6的地址。 创建终端节点时,可以指定访问所连接的终端节点服务的IP,不指定的情况下,会使用系统生成的一个地址。 仅专业型终端节点支持此参数。
829
+
830
+ :return: The ipv6_address of this ListEndpointInfoDetailsResponse.
831
+ :rtype: str
832
+ """
833
+ return self._ipv6_address
834
+
835
+ @ipv6_address.setter
836
+ def ipv6_address(self, ipv6_address):
837
+ r"""Sets the ipv6_address of this ListEndpointInfoDetailsResponse.
838
+
839
+ 访问所连接的终端节点服务的IPv6的地址。 创建终端节点时,可以指定访问所连接的终端节点服务的IP,不指定的情况下,会使用系统生成的一个地址。 仅专业型终端节点支持此参数。
840
+
841
+ :param ipv6_address: The ipv6_address of this ListEndpointInfoDetailsResponse.
842
+ :type ipv6_address: str
843
+ """
844
+ self._ipv6_address = ipv6_address
845
+
846
+ def to_dict(self):
847
+ """Returns the model properties as a dict"""
848
+ result = {}
849
+
850
+ for attr, _ in six.iteritems(self.openapi_types):
851
+ value = getattr(self, attr)
852
+ if isinstance(value, list):
853
+ result[attr] = list(map(
854
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
855
+ value
856
+ ))
857
+ elif hasattr(value, "to_dict"):
858
+ result[attr] = value.to_dict()
859
+ elif isinstance(value, dict):
860
+ result[attr] = dict(map(
861
+ lambda item: (item[0], item[1].to_dict())
862
+ if hasattr(item[1], "to_dict") else item,
863
+ value.items()
864
+ ))
865
+ else:
866
+ if attr in self.sensitive_list:
867
+ result[attr] = "****"
868
+ else:
869
+ result[attr] = value
870
+
871
+ return result
872
+
873
+ def to_str(self):
874
+ """Returns the string representation of the model"""
875
+ import simplejson as json
876
+ if six.PY2:
877
+ import sys
878
+ reload(sys)
879
+ sys.setdefaultencoding("utf-8")
880
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
881
+
882
+ def __repr__(self):
883
+ """For `print`"""
884
+ return self.to_str()
885
+
886
+ def __eq__(self, other):
887
+ """Returns true if both objects are equal"""
888
+ if not isinstance(other, ListEndpointInfoDetailsResponse):
889
+ return False
890
+
891
+ return self.__dict__ == other.__dict__
892
+
893
+ def __ne__(self, other):
894
+ """Returns true if both objects are not equal"""
895
+ return not self == other