huaweicloudsdkgaussdb 3.1.98__py2.py3-none-any.whl → 3.1.100__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.
- huaweicloudsdkgaussdb/v3/__init__.py +52 -0
- huaweicloudsdkgaussdb/v3/gaussdb_async_client.py +1151 -45
- huaweicloudsdkgaussdb/v3/gaussdb_client.py +1151 -45
- huaweicloudsdkgaussdb/v3/model/__init__.py +52 -0
- huaweicloudsdkgaussdb/v3/model/auto_scaling_record_info.py +318 -0
- huaweicloudsdkgaussdb/v3/model/create_lts_configs.py +114 -0
- huaweicloudsdkgaussdb/v3/model/create_lts_configs_request.py +140 -0
- huaweicloudsdkgaussdb/v3/model/create_lts_configs_response.py +85 -0
- huaweicloudsdkgaussdb/v3/model/delete_lts_configs_request.py +140 -0
- huaweicloudsdkgaussdb/v3/model/delete_lts_configs_request_body.py +114 -0
- huaweicloudsdkgaussdb/v3/model/delete_lts_configs_response.py +85 -0
- huaweicloudsdkgaussdb/v3/model/instance_delete_lts_config.py +142 -0
- huaweicloudsdkgaussdb/v3/model/instance_lts_basic_info.py +318 -0
- huaweicloudsdkgaussdb/v3/model/instance_save_lts_config.py +198 -0
- huaweicloudsdkgaussdb/v3/model/ip_group_item.py +142 -0
- huaweicloudsdkgaussdb/v3/model/list_params_template_apply_history_request.py +172 -0
- huaweicloudsdkgaussdb/v3/model/list_params_template_apply_history_response.py +145 -0
- huaweicloudsdkgaussdb/v3/model/list_recycle_instances_request.py +173 -0
- huaweicloudsdkgaussdb/v3/model/list_recycle_instances_response.py +145 -0
- huaweicloudsdkgaussdb/v3/model/lts_config.py +202 -0
- huaweicloudsdkgaussdb/v3/model/lts_configs_v3.py +140 -0
- huaweicloudsdkgaussdb/v3/model/modify_node_priority_request.py +196 -0
- huaweicloudsdkgaussdb/v3/model/modify_node_priority_request_body.py +114 -0
- huaweicloudsdkgaussdb/v3/model/modify_node_priority_response.py +116 -0
- huaweicloudsdkgaussdb/v3/model/mysql_update_instance_name_request.py +32 -3
- huaweicloudsdkgaussdb/v3/model/proxy_configuration.py +260 -0
- huaweicloudsdkgaussdb/v3/model/proxy_ip_group_detail.py +170 -0
- huaweicloudsdkgaussdb/v3/model/recycle_instance_v3.py +579 -0
- huaweicloudsdkgaussdb/v3/model/recycle_policy.py +114 -0
- huaweicloudsdkgaussdb/v3/model/rename_instance_node_request.py +168 -0
- huaweicloudsdkgaussdb/v3/model/rename_instance_node_request_body.py +114 -0
- huaweicloudsdkgaussdb/v3/model/rename_instance_node_response.py +116 -0
- huaweicloudsdkgaussdb/v3/model/restart_proxy_instance_request.py +171 -0
- huaweicloudsdkgaussdb/v3/model/restart_proxy_instance_response.py +116 -0
- huaweicloudsdkgaussdb/v3/model/set_recycle_policy_request.py +140 -0
- huaweicloudsdkgaussdb/v3/model/set_recycle_policy_request_body.py +111 -0
- huaweicloudsdkgaussdb/v3/model/set_recycle_policy_response.py +85 -0
- huaweicloudsdkgaussdb/v3/model/show_auto_scaling_history_request.py +201 -0
- huaweicloudsdkgaussdb/v3/model/show_auto_scaling_history_response.py +145 -0
- huaweicloudsdkgaussdb/v3/model/show_dedicated_resource_info_response.py +18 -18
- huaweicloudsdkgaussdb/v3/model/show_instance_eip_request.py +143 -0
- huaweicloudsdkgaussdb/v3/model/show_instance_eip_response.py +493 -0
- huaweicloudsdkgaussdb/v3/model/show_lts_configs_request.py +260 -0
- huaweicloudsdkgaussdb/v3/model/show_lts_configs_response.py +145 -0
- huaweicloudsdkgaussdb/v3/model/show_proxy_configurations_request.py +258 -0
- huaweicloudsdkgaussdb/v3/model/show_proxy_configurations_response.py +145 -0
- huaweicloudsdkgaussdb/v3/model/show_proxy_ipgroup_response.py +5 -9
- huaweicloudsdkgaussdb/v3/model/show_recycle_policy_request.py +115 -0
- huaweicloudsdkgaussdb/v3/model/show_recycle_policy_response.py +112 -0
- huaweicloudsdkgaussdb/v3/model/show_slowlog_sensitive_status_request.py +143 -0
- huaweicloudsdkgaussdb/v3/model/show_slowlog_sensitive_status_response.py +116 -0
- huaweicloudsdkgaussdb/v3/model/single_node_info.py +142 -0
- huaweicloudsdkgaussdb/v3/model/template_apply_history.py +231 -0
- huaweicloudsdkgaussdb/v3/model/update_serverless_policy.py +142 -0
- huaweicloudsdkgaussdb/v3/model/update_serverless_policy_request.py +168 -0
- huaweicloudsdkgaussdb/v3/model/update_serverless_policy_response.py +85 -0
- huaweicloudsdkgaussdb/v3/model/update_slowlog_sensitive_switch_request.py +168 -0
- huaweicloudsdkgaussdb/v3/model/update_slowlog_sensitive_switch_request_body.py +114 -0
- huaweicloudsdkgaussdb/v3/model/update_slowlog_sensitive_switch_response.py +85 -0
- {huaweicloudsdkgaussdb-3.1.98.dist-info → huaweicloudsdkgaussdb-3.1.100.dist-info}/METADATA +2 -2
- {huaweicloudsdkgaussdb-3.1.98.dist-info → huaweicloudsdkgaussdb-3.1.100.dist-info}/RECORD +64 -12
- {huaweicloudsdkgaussdb-3.1.98.dist-info → huaweicloudsdkgaussdb-3.1.100.dist-info}/LICENSE +0 -0
- {huaweicloudsdkgaussdb-3.1.98.dist-info → huaweicloudsdkgaussdb-3.1.100.dist-info}/WHEEL +0 -0
- {huaweicloudsdkgaussdb-3.1.98.dist-info → huaweicloudsdkgaussdb-3.1.100.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,493 @@
|
|
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 ShowInstanceEipResponse(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
|
+
'can_enable_public_access': 'bool',
|
22
|
+
'id': 'str',
|
23
|
+
'type': 'str',
|
24
|
+
'port_id': 'str',
|
25
|
+
'public_ip_address': 'str',
|
26
|
+
'private_ip_address': 'str',
|
27
|
+
'status': 'str',
|
28
|
+
'tenant_id': 'str',
|
29
|
+
'create_time': 'str',
|
30
|
+
'bandwidth_id': 'str',
|
31
|
+
'bandwidth_name': 'str',
|
32
|
+
'bandwidth_size': 'str',
|
33
|
+
'bandwidth_share_type': 'str',
|
34
|
+
'profile': 'object'
|
35
|
+
}
|
36
|
+
|
37
|
+
attribute_map = {
|
38
|
+
'can_enable_public_access': 'can_enable_public_access',
|
39
|
+
'id': 'id',
|
40
|
+
'type': 'type',
|
41
|
+
'port_id': 'port_id',
|
42
|
+
'public_ip_address': 'public_ip_address',
|
43
|
+
'private_ip_address': 'private_ip_address',
|
44
|
+
'status': 'status',
|
45
|
+
'tenant_id': 'tenant_id',
|
46
|
+
'create_time': 'create_time',
|
47
|
+
'bandwidth_id': 'bandwidth_id',
|
48
|
+
'bandwidth_name': 'bandwidth_name',
|
49
|
+
'bandwidth_size': 'bandwidth_size',
|
50
|
+
'bandwidth_share_type': 'bandwidth_share_type',
|
51
|
+
'profile': 'profile'
|
52
|
+
}
|
53
|
+
|
54
|
+
def __init__(self, can_enable_public_access=None, id=None, type=None, port_id=None, public_ip_address=None, private_ip_address=None, status=None, tenant_id=None, create_time=None, bandwidth_id=None, bandwidth_name=None, bandwidth_size=None, bandwidth_share_type=None, profile=None):
|
55
|
+
"""ShowInstanceEipResponse
|
56
|
+
|
57
|
+
The model defined in huaweicloud sdk
|
58
|
+
|
59
|
+
:param can_enable_public_access: 是否能访问公网
|
60
|
+
:type can_enable_public_access: bool
|
61
|
+
:param id: 弹性公网ID。
|
62
|
+
:type id: str
|
63
|
+
:param type: 弹性公网IP的网络类型。
|
64
|
+
:type type: str
|
65
|
+
:param port_id: 端口ID。
|
66
|
+
:type port_id: str
|
67
|
+
:param public_ip_address: 弹性公网IP地址。
|
68
|
+
:type public_ip_address: str
|
69
|
+
:param private_ip_address: 私网IP地址。
|
70
|
+
:type private_ip_address: str
|
71
|
+
:param status: 弹性公网IP地址。
|
72
|
+
:type status: str
|
73
|
+
:param tenant_id: 租户ID。
|
74
|
+
:type tenant_id: str
|
75
|
+
:param create_time: 创建时间。
|
76
|
+
:type create_time: str
|
77
|
+
:param bandwidth_id: 带宽ID。
|
78
|
+
:type bandwidth_id: str
|
79
|
+
:param bandwidth_name: 带宽名称。
|
80
|
+
:type bandwidth_name: str
|
81
|
+
:param bandwidth_size: 带宽大小。
|
82
|
+
:type bandwidth_size: str
|
83
|
+
:param bandwidth_share_type: 带宽类型。枚举值:PER 和WHOLE。
|
84
|
+
:type bandwidth_share_type: str
|
85
|
+
:param profile: 额外参数,包括订单id、产品id等信息。如果profile不为空,说明是包周期的弹性公网IP。
|
86
|
+
:type profile: object
|
87
|
+
"""
|
88
|
+
|
89
|
+
super(ShowInstanceEipResponse, self).__init__()
|
90
|
+
|
91
|
+
self._can_enable_public_access = None
|
92
|
+
self._id = None
|
93
|
+
self._type = None
|
94
|
+
self._port_id = None
|
95
|
+
self._public_ip_address = None
|
96
|
+
self._private_ip_address = None
|
97
|
+
self._status = None
|
98
|
+
self._tenant_id = None
|
99
|
+
self._create_time = None
|
100
|
+
self._bandwidth_id = None
|
101
|
+
self._bandwidth_name = None
|
102
|
+
self._bandwidth_size = None
|
103
|
+
self._bandwidth_share_type = None
|
104
|
+
self._profile = None
|
105
|
+
self.discriminator = None
|
106
|
+
|
107
|
+
if can_enable_public_access is not None:
|
108
|
+
self.can_enable_public_access = can_enable_public_access
|
109
|
+
if id is not None:
|
110
|
+
self.id = id
|
111
|
+
if type is not None:
|
112
|
+
self.type = type
|
113
|
+
if port_id is not None:
|
114
|
+
self.port_id = port_id
|
115
|
+
if public_ip_address is not None:
|
116
|
+
self.public_ip_address = public_ip_address
|
117
|
+
if private_ip_address is not None:
|
118
|
+
self.private_ip_address = private_ip_address
|
119
|
+
if status is not None:
|
120
|
+
self.status = status
|
121
|
+
if tenant_id is not None:
|
122
|
+
self.tenant_id = tenant_id
|
123
|
+
if create_time is not None:
|
124
|
+
self.create_time = create_time
|
125
|
+
if bandwidth_id is not None:
|
126
|
+
self.bandwidth_id = bandwidth_id
|
127
|
+
if bandwidth_name is not None:
|
128
|
+
self.bandwidth_name = bandwidth_name
|
129
|
+
if bandwidth_size is not None:
|
130
|
+
self.bandwidth_size = bandwidth_size
|
131
|
+
if bandwidth_share_type is not None:
|
132
|
+
self.bandwidth_share_type = bandwidth_share_type
|
133
|
+
if profile is not None:
|
134
|
+
self.profile = profile
|
135
|
+
|
136
|
+
@property
|
137
|
+
def can_enable_public_access(self):
|
138
|
+
"""Gets the can_enable_public_access of this ShowInstanceEipResponse.
|
139
|
+
|
140
|
+
是否能访问公网
|
141
|
+
|
142
|
+
:return: The can_enable_public_access of this ShowInstanceEipResponse.
|
143
|
+
:rtype: bool
|
144
|
+
"""
|
145
|
+
return self._can_enable_public_access
|
146
|
+
|
147
|
+
@can_enable_public_access.setter
|
148
|
+
def can_enable_public_access(self, can_enable_public_access):
|
149
|
+
"""Sets the can_enable_public_access of this ShowInstanceEipResponse.
|
150
|
+
|
151
|
+
是否能访问公网
|
152
|
+
|
153
|
+
:param can_enable_public_access: The can_enable_public_access of this ShowInstanceEipResponse.
|
154
|
+
:type can_enable_public_access: bool
|
155
|
+
"""
|
156
|
+
self._can_enable_public_access = can_enable_public_access
|
157
|
+
|
158
|
+
@property
|
159
|
+
def id(self):
|
160
|
+
"""Gets the id of this ShowInstanceEipResponse.
|
161
|
+
|
162
|
+
弹性公网ID。
|
163
|
+
|
164
|
+
:return: The id of this ShowInstanceEipResponse.
|
165
|
+
:rtype: str
|
166
|
+
"""
|
167
|
+
return self._id
|
168
|
+
|
169
|
+
@id.setter
|
170
|
+
def id(self, id):
|
171
|
+
"""Sets the id of this ShowInstanceEipResponse.
|
172
|
+
|
173
|
+
弹性公网ID。
|
174
|
+
|
175
|
+
:param id: The id of this ShowInstanceEipResponse.
|
176
|
+
:type id: str
|
177
|
+
"""
|
178
|
+
self._id = id
|
179
|
+
|
180
|
+
@property
|
181
|
+
def type(self):
|
182
|
+
"""Gets the type of this ShowInstanceEipResponse.
|
183
|
+
|
184
|
+
弹性公网IP的网络类型。
|
185
|
+
|
186
|
+
:return: The type of this ShowInstanceEipResponse.
|
187
|
+
:rtype: str
|
188
|
+
"""
|
189
|
+
return self._type
|
190
|
+
|
191
|
+
@type.setter
|
192
|
+
def type(self, type):
|
193
|
+
"""Sets the type of this ShowInstanceEipResponse.
|
194
|
+
|
195
|
+
弹性公网IP的网络类型。
|
196
|
+
|
197
|
+
:param type: The type of this ShowInstanceEipResponse.
|
198
|
+
:type type: str
|
199
|
+
"""
|
200
|
+
self._type = type
|
201
|
+
|
202
|
+
@property
|
203
|
+
def port_id(self):
|
204
|
+
"""Gets the port_id of this ShowInstanceEipResponse.
|
205
|
+
|
206
|
+
端口ID。
|
207
|
+
|
208
|
+
:return: The port_id of this ShowInstanceEipResponse.
|
209
|
+
:rtype: str
|
210
|
+
"""
|
211
|
+
return self._port_id
|
212
|
+
|
213
|
+
@port_id.setter
|
214
|
+
def port_id(self, port_id):
|
215
|
+
"""Sets the port_id of this ShowInstanceEipResponse.
|
216
|
+
|
217
|
+
端口ID。
|
218
|
+
|
219
|
+
:param port_id: The port_id of this ShowInstanceEipResponse.
|
220
|
+
:type port_id: str
|
221
|
+
"""
|
222
|
+
self._port_id = port_id
|
223
|
+
|
224
|
+
@property
|
225
|
+
def public_ip_address(self):
|
226
|
+
"""Gets the public_ip_address of this ShowInstanceEipResponse.
|
227
|
+
|
228
|
+
弹性公网IP地址。
|
229
|
+
|
230
|
+
:return: The public_ip_address of this ShowInstanceEipResponse.
|
231
|
+
:rtype: str
|
232
|
+
"""
|
233
|
+
return self._public_ip_address
|
234
|
+
|
235
|
+
@public_ip_address.setter
|
236
|
+
def public_ip_address(self, public_ip_address):
|
237
|
+
"""Sets the public_ip_address of this ShowInstanceEipResponse.
|
238
|
+
|
239
|
+
弹性公网IP地址。
|
240
|
+
|
241
|
+
:param public_ip_address: The public_ip_address of this ShowInstanceEipResponse.
|
242
|
+
:type public_ip_address: str
|
243
|
+
"""
|
244
|
+
self._public_ip_address = public_ip_address
|
245
|
+
|
246
|
+
@property
|
247
|
+
def private_ip_address(self):
|
248
|
+
"""Gets the private_ip_address of this ShowInstanceEipResponse.
|
249
|
+
|
250
|
+
私网IP地址。
|
251
|
+
|
252
|
+
:return: The private_ip_address of this ShowInstanceEipResponse.
|
253
|
+
:rtype: str
|
254
|
+
"""
|
255
|
+
return self._private_ip_address
|
256
|
+
|
257
|
+
@private_ip_address.setter
|
258
|
+
def private_ip_address(self, private_ip_address):
|
259
|
+
"""Sets the private_ip_address of this ShowInstanceEipResponse.
|
260
|
+
|
261
|
+
私网IP地址。
|
262
|
+
|
263
|
+
:param private_ip_address: The private_ip_address of this ShowInstanceEipResponse.
|
264
|
+
:type private_ip_address: str
|
265
|
+
"""
|
266
|
+
self._private_ip_address = private_ip_address
|
267
|
+
|
268
|
+
@property
|
269
|
+
def status(self):
|
270
|
+
"""Gets the status of this ShowInstanceEipResponse.
|
271
|
+
|
272
|
+
弹性公网IP地址。
|
273
|
+
|
274
|
+
:return: The status of this ShowInstanceEipResponse.
|
275
|
+
:rtype: str
|
276
|
+
"""
|
277
|
+
return self._status
|
278
|
+
|
279
|
+
@status.setter
|
280
|
+
def status(self, status):
|
281
|
+
"""Sets the status of this ShowInstanceEipResponse.
|
282
|
+
|
283
|
+
弹性公网IP地址。
|
284
|
+
|
285
|
+
:param status: The status of this ShowInstanceEipResponse.
|
286
|
+
:type status: str
|
287
|
+
"""
|
288
|
+
self._status = status
|
289
|
+
|
290
|
+
@property
|
291
|
+
def tenant_id(self):
|
292
|
+
"""Gets the tenant_id of this ShowInstanceEipResponse.
|
293
|
+
|
294
|
+
租户ID。
|
295
|
+
|
296
|
+
:return: The tenant_id of this ShowInstanceEipResponse.
|
297
|
+
:rtype: str
|
298
|
+
"""
|
299
|
+
return self._tenant_id
|
300
|
+
|
301
|
+
@tenant_id.setter
|
302
|
+
def tenant_id(self, tenant_id):
|
303
|
+
"""Sets the tenant_id of this ShowInstanceEipResponse.
|
304
|
+
|
305
|
+
租户ID。
|
306
|
+
|
307
|
+
:param tenant_id: The tenant_id of this ShowInstanceEipResponse.
|
308
|
+
:type tenant_id: str
|
309
|
+
"""
|
310
|
+
self._tenant_id = tenant_id
|
311
|
+
|
312
|
+
@property
|
313
|
+
def create_time(self):
|
314
|
+
"""Gets the create_time of this ShowInstanceEipResponse.
|
315
|
+
|
316
|
+
创建时间。
|
317
|
+
|
318
|
+
:return: The create_time of this ShowInstanceEipResponse.
|
319
|
+
:rtype: str
|
320
|
+
"""
|
321
|
+
return self._create_time
|
322
|
+
|
323
|
+
@create_time.setter
|
324
|
+
def create_time(self, create_time):
|
325
|
+
"""Sets the create_time of this ShowInstanceEipResponse.
|
326
|
+
|
327
|
+
创建时间。
|
328
|
+
|
329
|
+
:param create_time: The create_time of this ShowInstanceEipResponse.
|
330
|
+
:type create_time: str
|
331
|
+
"""
|
332
|
+
self._create_time = create_time
|
333
|
+
|
334
|
+
@property
|
335
|
+
def bandwidth_id(self):
|
336
|
+
"""Gets the bandwidth_id of this ShowInstanceEipResponse.
|
337
|
+
|
338
|
+
带宽ID。
|
339
|
+
|
340
|
+
:return: The bandwidth_id of this ShowInstanceEipResponse.
|
341
|
+
:rtype: str
|
342
|
+
"""
|
343
|
+
return self._bandwidth_id
|
344
|
+
|
345
|
+
@bandwidth_id.setter
|
346
|
+
def bandwidth_id(self, bandwidth_id):
|
347
|
+
"""Sets the bandwidth_id of this ShowInstanceEipResponse.
|
348
|
+
|
349
|
+
带宽ID。
|
350
|
+
|
351
|
+
:param bandwidth_id: The bandwidth_id of this ShowInstanceEipResponse.
|
352
|
+
:type bandwidth_id: str
|
353
|
+
"""
|
354
|
+
self._bandwidth_id = bandwidth_id
|
355
|
+
|
356
|
+
@property
|
357
|
+
def bandwidth_name(self):
|
358
|
+
"""Gets the bandwidth_name of this ShowInstanceEipResponse.
|
359
|
+
|
360
|
+
带宽名称。
|
361
|
+
|
362
|
+
:return: The bandwidth_name of this ShowInstanceEipResponse.
|
363
|
+
:rtype: str
|
364
|
+
"""
|
365
|
+
return self._bandwidth_name
|
366
|
+
|
367
|
+
@bandwidth_name.setter
|
368
|
+
def bandwidth_name(self, bandwidth_name):
|
369
|
+
"""Sets the bandwidth_name of this ShowInstanceEipResponse.
|
370
|
+
|
371
|
+
带宽名称。
|
372
|
+
|
373
|
+
:param bandwidth_name: The bandwidth_name of this ShowInstanceEipResponse.
|
374
|
+
:type bandwidth_name: str
|
375
|
+
"""
|
376
|
+
self._bandwidth_name = bandwidth_name
|
377
|
+
|
378
|
+
@property
|
379
|
+
def bandwidth_size(self):
|
380
|
+
"""Gets the bandwidth_size of this ShowInstanceEipResponse.
|
381
|
+
|
382
|
+
带宽大小。
|
383
|
+
|
384
|
+
:return: The bandwidth_size of this ShowInstanceEipResponse.
|
385
|
+
:rtype: str
|
386
|
+
"""
|
387
|
+
return self._bandwidth_size
|
388
|
+
|
389
|
+
@bandwidth_size.setter
|
390
|
+
def bandwidth_size(self, bandwidth_size):
|
391
|
+
"""Sets the bandwidth_size of this ShowInstanceEipResponse.
|
392
|
+
|
393
|
+
带宽大小。
|
394
|
+
|
395
|
+
:param bandwidth_size: The bandwidth_size of this ShowInstanceEipResponse.
|
396
|
+
:type bandwidth_size: str
|
397
|
+
"""
|
398
|
+
self._bandwidth_size = bandwidth_size
|
399
|
+
|
400
|
+
@property
|
401
|
+
def bandwidth_share_type(self):
|
402
|
+
"""Gets the bandwidth_share_type of this ShowInstanceEipResponse.
|
403
|
+
|
404
|
+
带宽类型。枚举值:PER 和WHOLE。
|
405
|
+
|
406
|
+
:return: The bandwidth_share_type of this ShowInstanceEipResponse.
|
407
|
+
:rtype: str
|
408
|
+
"""
|
409
|
+
return self._bandwidth_share_type
|
410
|
+
|
411
|
+
@bandwidth_share_type.setter
|
412
|
+
def bandwidth_share_type(self, bandwidth_share_type):
|
413
|
+
"""Sets the bandwidth_share_type of this ShowInstanceEipResponse.
|
414
|
+
|
415
|
+
带宽类型。枚举值:PER 和WHOLE。
|
416
|
+
|
417
|
+
:param bandwidth_share_type: The bandwidth_share_type of this ShowInstanceEipResponse.
|
418
|
+
:type bandwidth_share_type: str
|
419
|
+
"""
|
420
|
+
self._bandwidth_share_type = bandwidth_share_type
|
421
|
+
|
422
|
+
@property
|
423
|
+
def profile(self):
|
424
|
+
"""Gets the profile of this ShowInstanceEipResponse.
|
425
|
+
|
426
|
+
额外参数,包括订单id、产品id等信息。如果profile不为空,说明是包周期的弹性公网IP。
|
427
|
+
|
428
|
+
:return: The profile of this ShowInstanceEipResponse.
|
429
|
+
:rtype: object
|
430
|
+
"""
|
431
|
+
return self._profile
|
432
|
+
|
433
|
+
@profile.setter
|
434
|
+
def profile(self, profile):
|
435
|
+
"""Sets the profile of this ShowInstanceEipResponse.
|
436
|
+
|
437
|
+
额外参数,包括订单id、产品id等信息。如果profile不为空,说明是包周期的弹性公网IP。
|
438
|
+
|
439
|
+
:param profile: The profile of this ShowInstanceEipResponse.
|
440
|
+
:type profile: object
|
441
|
+
"""
|
442
|
+
self._profile = profile
|
443
|
+
|
444
|
+
def to_dict(self):
|
445
|
+
"""Returns the model properties as a dict"""
|
446
|
+
result = {}
|
447
|
+
|
448
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
449
|
+
value = getattr(self, attr)
|
450
|
+
if isinstance(value, list):
|
451
|
+
result[attr] = list(map(
|
452
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
453
|
+
value
|
454
|
+
))
|
455
|
+
elif hasattr(value, "to_dict"):
|
456
|
+
result[attr] = value.to_dict()
|
457
|
+
elif isinstance(value, dict):
|
458
|
+
result[attr] = dict(map(
|
459
|
+
lambda item: (item[0], item[1].to_dict())
|
460
|
+
if hasattr(item[1], "to_dict") else item,
|
461
|
+
value.items()
|
462
|
+
))
|
463
|
+
else:
|
464
|
+
if attr in self.sensitive_list:
|
465
|
+
result[attr] = "****"
|
466
|
+
else:
|
467
|
+
result[attr] = value
|
468
|
+
|
469
|
+
return result
|
470
|
+
|
471
|
+
def to_str(self):
|
472
|
+
"""Returns the string representation of the model"""
|
473
|
+
import simplejson as json
|
474
|
+
if six.PY2:
|
475
|
+
import sys
|
476
|
+
reload(sys)
|
477
|
+
sys.setdefaultencoding("utf-8")
|
478
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
479
|
+
|
480
|
+
def __repr__(self):
|
481
|
+
"""For `print`"""
|
482
|
+
return self.to_str()
|
483
|
+
|
484
|
+
def __eq__(self, other):
|
485
|
+
"""Returns true if both objects are equal"""
|
486
|
+
if not isinstance(other, ShowInstanceEipResponse):
|
487
|
+
return False
|
488
|
+
|
489
|
+
return self.__dict__ == other.__dict__
|
490
|
+
|
491
|
+
def __ne__(self, other):
|
492
|
+
"""Returns true if both objects are not equal"""
|
493
|
+
return not self == other
|