volcengine-python-sdk 4.0.19__py2.py3-none-any.whl → 4.0.21__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 volcengine-python-sdk might be problematic. Click here for more details.
- volcengine_python_sdk-4.0.21.dist-info/METADATA +214 -0
- {volcengine_python_sdk-4.0.19.dist-info → volcengine_python_sdk-4.0.21.dist-info}/RECORD +98 -74
- {volcengine_python_sdk-4.0.19.dist-info → volcengine_python_sdk-4.0.21.dist-info}/WHEEL +1 -1
- volcenginesdkalb/__init__.py +0 -2
- volcenginesdkalb/models/__init__.py +0 -2
- volcenginesdkalb/models/convert_forward_group_config_for_create_rules_input.py +3 -3
- volcenginesdkalb/models/convert_forward_group_config_for_modify_rules_input.py +3 -3
- volcenginesdkalb/models/convert_redirect_config_for_describe_rules_output.py +6 -6
- volcenginesdkalb/models/server_group_sticky_session_for_create_rules_input.py +3 -3
- volcenginesdkalb/models/server_group_sticky_session_for_describe_rules_output.py +3 -3
- volcenginesdkalb/models/server_group_sticky_session_for_modify_rules_input.py +3 -3
- volcenginesdkalb/models/traffic_limit_config_for_create_rules_input.py +3 -3
- volcenginesdkalb/models/traffic_limit_config_for_modify_rules_input.py +3 -3
- volcenginesdkarkruntime/resources/images/images.py +1 -1
- volcenginesdkarkruntime/resources/responses/input_items.py +2 -2
- volcenginesdkarkruntime/resources/responses/responses.py +4 -1
- volcenginesdkarkruntime/types/images/images.py +3 -0
- volcenginesdkcore/api_client.py +1 -1
- volcenginesdkcore/configuration.py +1 -1
- volcenginesdkrdsmysqlv2/__init__.py +39 -25
- volcenginesdkrdsmysqlv2/api/rds_mysql_v2_api.py +1347 -1153
- volcenginesdkrdsmysqlv2/models/__init__.py +39 -25
- volcenginesdkrdsmysqlv2/models/address_for_describe_db_instance_endpoints_output.py +305 -0
- volcenginesdkrdsmysqlv2/models/allow_list_for_describe_allow_lists_output.py +27 -1
- volcenginesdkrdsmysqlv2/models/basic_info_for_describe_db_instance_detail_output.py +1 -105
- volcenginesdkrdsmysqlv2/models/change_object_for_sync_allow_list_output.py +331 -0
- volcenginesdkrdsmysqlv2/models/charge_detail_for_describe_db_instance_charge_detail_output.py +383 -0
- volcenginesdkrdsmysqlv2/models/create_db_endpoint_request.py +27 -1
- volcenginesdkrdsmysqlv2/models/create_db_instance_request.py +27 -1
- volcenginesdkrdsmysqlv2/models/create_dr_db_instance_request.py +27 -1
- volcenginesdkrdsmysqlv2/models/db_instance_attribute_for_describe_db_instance_attribute_output.py +825 -0
- volcenginesdkrdsmysqlv2/models/describe_allow_lists_request.py +29 -3
- volcenginesdkrdsmysqlv2/models/describe_backup_policy_response.py +53 -1
- volcenginesdkrdsmysqlv2/models/describe_db_disaster_recovery_instances_request.py +124 -0
- volcenginesdkrdsmysqlv2/models/describe_db_disaster_recovery_instances_response.py +305 -0
- volcenginesdkrdsmysqlv2/models/{describe_db_auto_scaling_config_request.py → describe_db_instance_attribute_request.py} +9 -9
- volcenginesdkrdsmysqlv2/models/describe_db_instance_attribute_response.py +123 -0
- volcenginesdkrdsmysqlv2/models/describe_db_instance_charge_detail_request.py +124 -0
- volcenginesdkrdsmysqlv2/models/describe_db_instance_charge_detail_response.py +123 -0
- volcenginesdkrdsmysqlv2/models/describe_db_instance_endpoints_request.py +124 -0
- volcenginesdkrdsmysqlv2/models/describe_db_instance_endpoints_response.py +123 -0
- volcenginesdkrdsmysqlv2/models/describe_db_instance_ha_config_request.py +124 -0
- volcenginesdkrdsmysqlv2/models/{describe_available_cross_region_request.py → describe_db_instance_ha_config_response.py} +36 -37
- volcenginesdkrdsmysqlv2/models/describe_db_instance_price_detail_response.py +29 -3
- volcenginesdkrdsmysqlv2/models/{describe_cross_backup_policy_request.py → describe_db_instance_tde_request.py} +9 -9
- volcenginesdkrdsmysqlv2/models/describe_db_instance_tde_response.py +123 -0
- volcenginesdkrdsmysqlv2/models/describe_db_proxy_price_detail_response.py +27 -1
- volcenginesdkrdsmysqlv2/models/describe_db_proxy_request.py +124 -0
- volcenginesdkrdsmysqlv2/models/describe_db_proxy_response.py +123 -0
- volcenginesdkrdsmysqlv2/models/describe_resource_usage_request.py +124 -0
- volcenginesdkrdsmysqlv2/models/describe_resource_usage_response.py +565 -0
- volcenginesdkrdsmysqlv2/models/disaster_recovery_instance_for_describe_db_disaster_recovery_instances_output.py +279 -0
- volcenginesdkrdsmysqlv2/models/endpoint_for_describe_db_instance_detail_output.py +27 -1
- volcenginesdkrdsmysqlv2/models/endpoint_for_describe_db_instance_endpoints_output.py +669 -0
- volcenginesdkrdsmysqlv2/models/maintenance_window_for_describe_db_instance_attribute_output.py +175 -0
- volcenginesdkrdsmysqlv2/models/modify_backup_policy_request.py +53 -1
- volcenginesdkrdsmysqlv2/models/modify_backup_policy_response.py +53 -1
- volcenginesdkrdsmysqlv2/models/modify_db_endpoint_request.py +53 -1
- volcenginesdkrdsmysqlv2/models/modify_db_instance_tde_request.py +281 -0
- volcenginesdkrdsmysqlv2/models/{modify_db_auto_scaling_config_response.py → modify_db_instance_tde_response.py} +5 -5
- volcenginesdkrdsmysqlv2/models/{upgrade_db_instance_kernel_version_request.py → modify_db_instance_type_request.py} +55 -29
- volcenginesdkrdsmysqlv2/models/{restore_to_cross_region_instance_response.py → modify_db_instance_type_response.py} +13 -13
- volcenginesdkrdsmysqlv2/models/node_for_describe_db_instance_ha_config_output.py +435 -0
- volcenginesdkrdsmysqlv2/models/{node_info_for_restore_to_cross_region_instance_input.py → node_info_for_modify_db_instance_type_input.py} +25 -25
- volcenginesdkalb/models/convert_forward_group_config_server_group_tuple_for_create_rules_input.py → volcenginesdkrdsmysqlv2/models/proxy_detail_for_describe_db_proxy_output.py +37 -37
- volcenginesdkrdsmysqlv2/models/{describe_available_cross_region_response.py → proxy_node_custom_for_create_db_instance_input.py} +22 -22
- volcenginesdkrdsmysqlv2/models/proxy_node_custom_for_create_dr_db_instance_input.py +123 -0
- volcenginesdkrdsmysqlv2/models/proxy_node_custom_for_rebuild_db_instance_input.py +123 -0
- volcenginesdkrdsmysqlv2/models/proxy_node_custom_for_restore_to_new_instance_input.py +123 -0
- volcenginesdkrdsmysqlv2/models/proxy_resource_info_for_describe_db_proxy_output.py +175 -0
- volcenginesdkalb/models/convert_forward_group_config_server_group_tuple_for_modify_rules_input.py → volcenginesdkrdsmysqlv2/models/read_only_node_weight_for_describe_db_instance_endpoints_output.py +54 -28
- volcenginesdkrdsmysqlv2/models/rebuild_db_instance_request.py +27 -1
- volcenginesdkrdsmysqlv2/models/restore_to_new_instance_request.py +27 -1
- volcenginesdkrdsmysqlv2/models/sync_allow_list_request.py +150 -0
- volcenginesdkrdsmysqlv2/models/sync_allow_list_response.py +123 -0
- volcenginesdkrdsmysqlv2/models/{instance_tag_for_restore_to_cross_region_instance_input.py → tag_for_describe_db_instance_attribute_output.py} +13 -13
- volcenginesdkresourceshare/__init__.py +12 -0
- volcenginesdkresourceshare/api/resource_share_api.py +291 -0
- volcenginesdkresourceshare/models/__init__.py +12 -0
- volcenginesdkresourceshare/models/create_resource_share_request.py +29 -3
- volcenginesdkresourceshare/models/create_resource_share_response.py +29 -1
- volcenginesdkresourceshare/models/describe_resource_shares_request.py +31 -6
- volcenginesdkresourceshare/models/list_tags_for_resources_request.py +228 -0
- volcenginesdkrdsmysqlv2/models/describe_cross_region_backup_db_instances_response.py → volcenginesdkresourceshare/models/list_tags_for_resources_response.py +53 -27
- volcenginesdkresourceshare/models/resource_share_for_describe_resource_shares_output.py +27 -1
- volcenginesdkresourceshare/models/resource_tag_for_list_tags_for_resources_output.py +201 -0
- volcenginesdkresourceshare/models/tag_filter_for_describe_resource_shares_input.py +149 -0
- volcenginesdkresourceshare/models/tag_filter_for_list_tags_for_resources_input.py +149 -0
- volcenginesdkresourceshare/models/tag_for_create_resource_share_input.py +149 -0
- volcenginesdkresourceshare/models/tag_for_describe_resource_shares_output.py +149 -0
- volcenginesdkresourceshare/models/tag_for_tag_resources_input.py +151 -0
- volcenginesdkresourceshare/models/tag_resources_request.py +176 -0
- volcenginesdkrdsmysqlv2/models/upgrade_db_instance_kernel_version_response.py → volcenginesdkresourceshare/models/tag_resources_response.py +6 -6
- volcenginesdkresourceshare/models/untag_resources_request.py +176 -0
- volcenginesdkrdsmysqlv2/models/modify_db_instance_auto_upgrade_minor_version_response.py → volcenginesdkresourceshare/models/untag_resources_response.py +6 -6
- volcengine_python_sdk-4.0.19.dist-info/METADATA +0 -20
- volcenginesdkrdsmysqlv2/models/auto_storage_scaling_config_for_restore_to_cross_region_instance_input.py +0 -175
- volcenginesdkrdsmysqlv2/models/charge_info_for_restore_to_cross_region_instance_input.py +0 -227
- volcenginesdkrdsmysqlv2/models/data_for_describe_cross_region_backup_db_instances_output.py +0 -357
- volcenginesdkrdsmysqlv2/models/describe_cross_backup_policy_response.py +0 -227
- volcenginesdkrdsmysqlv2/models/describe_cross_region_backup_db_instances_request.py +0 -279
- volcenginesdkrdsmysqlv2/models/describe_db_auto_scaling_config_response.py +0 -227
- volcenginesdkrdsmysqlv2/models/modify_cross_backup_policy_request.py +0 -228
- volcenginesdkrdsmysqlv2/models/modify_cross_backup_policy_response.py +0 -227
- volcenginesdkrdsmysqlv2/models/modify_db_auto_scaling_config_request.py +0 -150
- volcenginesdkrdsmysqlv2/models/modify_db_instance_auto_upgrade_minor_version_request.py +0 -151
- volcenginesdkrdsmysqlv2/models/restore_to_cross_region_instance_request.py +0 -597
- volcenginesdkrdsmysqlv2/models/storage_config_for_describe_db_auto_scaling_config_output.py +0 -175
- volcenginesdkrdsmysqlv2/models/storage_config_for_modify_db_auto_scaling_config_input.py +0 -175
- {volcengine_python_sdk-4.0.19.dist-info → volcengine_python_sdk-4.0.21.dist-info/licenses}/LICENSE.txt +0 -0
- {volcengine_python_sdk-4.0.19.dist-info → volcengine_python_sdk-4.0.21.dist-info/licenses}/NOTICE.md +0 -0
- {volcengine_python_sdk-4.0.19.dist-info → volcengine_python_sdk-4.0.21.dist-info}/top_level.txt +0 -0
|
@@ -35,10 +35,6 @@ class BasicInfoForDescribeDBInstanceDetailOutput(object):
|
|
|
35
35
|
swagger_types = {
|
|
36
36
|
'allow_list_version': 'str',
|
|
37
37
|
'auto_upgrade_minor_version': 'str',
|
|
38
|
-
'backup_free_quota_size': 'int',
|
|
39
|
-
'backup_use': 'float',
|
|
40
|
-
'basic_backup_binlog_size': 'int',
|
|
41
|
-
'basic_backup_data_size': 'int',
|
|
42
38
|
'create_time': 'str',
|
|
43
39
|
'current_kernel_version': 'str',
|
|
44
40
|
'db_engine_version': 'str',
|
|
@@ -77,10 +73,6 @@ class BasicInfoForDescribeDBInstanceDetailOutput(object):
|
|
|
77
73
|
attribute_map = {
|
|
78
74
|
'allow_list_version': 'AllowListVersion',
|
|
79
75
|
'auto_upgrade_minor_version': 'AutoUpgradeMinorVersion',
|
|
80
|
-
'backup_free_quota_size': 'BackupFreeQuotaSize',
|
|
81
|
-
'backup_use': 'BackupUse',
|
|
82
|
-
'basic_backup_binlog_size': 'BasicBackupBinlogSize',
|
|
83
|
-
'basic_backup_data_size': 'BasicBackupDataSize',
|
|
84
76
|
'create_time': 'CreateTime',
|
|
85
77
|
'current_kernel_version': 'CurrentKernelVersion',
|
|
86
78
|
'db_engine_version': 'DBEngineVersion',
|
|
@@ -116,7 +108,7 @@ class BasicInfoForDescribeDBInstanceDetailOutput(object):
|
|
|
116
108
|
'zone_id': 'ZoneId'
|
|
117
109
|
}
|
|
118
110
|
|
|
119
|
-
def __init__(self, allow_list_version=None, auto_upgrade_minor_version=None,
|
|
111
|
+
def __init__(self, allow_list_version=None, auto_upgrade_minor_version=None, create_time=None, current_kernel_version=None, db_engine_version=None, data_sync_mode=None, deletion_protection=None, dr_dts_task_id=None, dr_dts_task_name=None, dr_dts_task_status=None, dr_seconds_behind_master=None, instance_id=None, instance_name=None, instance_status=None, instance_type=None, lower_case_table_names=None, maintenance_window=None, master_instance_id=None, master_instance_name=None, master_region=None, memory=None, node_number=None, node_spec=None, project_name=None, region_id=None, storage_space=None, storage_type=None, storage_use=None, subnet_id=None, tags=None, time_zone=None, update_time=None, vcpu=None, vpc_id=None, zone_id=None, _configuration=None): # noqa: E501
|
|
120
112
|
"""BasicInfoForDescribeDBInstanceDetailOutput - a model defined in Swagger""" # noqa: E501
|
|
121
113
|
if _configuration is None:
|
|
122
114
|
_configuration = Configuration()
|
|
@@ -124,10 +116,6 @@ class BasicInfoForDescribeDBInstanceDetailOutput(object):
|
|
|
124
116
|
|
|
125
117
|
self._allow_list_version = None
|
|
126
118
|
self._auto_upgrade_minor_version = None
|
|
127
|
-
self._backup_free_quota_size = None
|
|
128
|
-
self._backup_use = None
|
|
129
|
-
self._basic_backup_binlog_size = None
|
|
130
|
-
self._basic_backup_data_size = None
|
|
131
119
|
self._create_time = None
|
|
132
120
|
self._current_kernel_version = None
|
|
133
121
|
self._db_engine_version = None
|
|
@@ -167,14 +155,6 @@ class BasicInfoForDescribeDBInstanceDetailOutput(object):
|
|
|
167
155
|
self.allow_list_version = allow_list_version
|
|
168
156
|
if auto_upgrade_minor_version is not None:
|
|
169
157
|
self.auto_upgrade_minor_version = auto_upgrade_minor_version
|
|
170
|
-
if backup_free_quota_size is not None:
|
|
171
|
-
self.backup_free_quota_size = backup_free_quota_size
|
|
172
|
-
if backup_use is not None:
|
|
173
|
-
self.backup_use = backup_use
|
|
174
|
-
if basic_backup_binlog_size is not None:
|
|
175
|
-
self.basic_backup_binlog_size = basic_backup_binlog_size
|
|
176
|
-
if basic_backup_data_size is not None:
|
|
177
|
-
self.basic_backup_data_size = basic_backup_data_size
|
|
178
158
|
if create_time is not None:
|
|
179
159
|
self.create_time = create_time
|
|
180
160
|
if current_kernel_version is not None:
|
|
@@ -284,90 +264,6 @@ class BasicInfoForDescribeDBInstanceDetailOutput(object):
|
|
|
284
264
|
|
|
285
265
|
self._auto_upgrade_minor_version = auto_upgrade_minor_version
|
|
286
266
|
|
|
287
|
-
@property
|
|
288
|
-
def backup_free_quota_size(self):
|
|
289
|
-
"""Gets the backup_free_quota_size of this BasicInfoForDescribeDBInstanceDetailOutput. # noqa: E501
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
:return: The backup_free_quota_size of this BasicInfoForDescribeDBInstanceDetailOutput. # noqa: E501
|
|
293
|
-
:rtype: int
|
|
294
|
-
"""
|
|
295
|
-
return self._backup_free_quota_size
|
|
296
|
-
|
|
297
|
-
@backup_free_quota_size.setter
|
|
298
|
-
def backup_free_quota_size(self, backup_free_quota_size):
|
|
299
|
-
"""Sets the backup_free_quota_size of this BasicInfoForDescribeDBInstanceDetailOutput.
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
:param backup_free_quota_size: The backup_free_quota_size of this BasicInfoForDescribeDBInstanceDetailOutput. # noqa: E501
|
|
303
|
-
:type: int
|
|
304
|
-
"""
|
|
305
|
-
|
|
306
|
-
self._backup_free_quota_size = backup_free_quota_size
|
|
307
|
-
|
|
308
|
-
@property
|
|
309
|
-
def backup_use(self):
|
|
310
|
-
"""Gets the backup_use of this BasicInfoForDescribeDBInstanceDetailOutput. # noqa: E501
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
:return: The backup_use of this BasicInfoForDescribeDBInstanceDetailOutput. # noqa: E501
|
|
314
|
-
:rtype: float
|
|
315
|
-
"""
|
|
316
|
-
return self._backup_use
|
|
317
|
-
|
|
318
|
-
@backup_use.setter
|
|
319
|
-
def backup_use(self, backup_use):
|
|
320
|
-
"""Sets the backup_use of this BasicInfoForDescribeDBInstanceDetailOutput.
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
:param backup_use: The backup_use of this BasicInfoForDescribeDBInstanceDetailOutput. # noqa: E501
|
|
324
|
-
:type: float
|
|
325
|
-
"""
|
|
326
|
-
|
|
327
|
-
self._backup_use = backup_use
|
|
328
|
-
|
|
329
|
-
@property
|
|
330
|
-
def basic_backup_binlog_size(self):
|
|
331
|
-
"""Gets the basic_backup_binlog_size of this BasicInfoForDescribeDBInstanceDetailOutput. # noqa: E501
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
:return: The basic_backup_binlog_size of this BasicInfoForDescribeDBInstanceDetailOutput. # noqa: E501
|
|
335
|
-
:rtype: int
|
|
336
|
-
"""
|
|
337
|
-
return self._basic_backup_binlog_size
|
|
338
|
-
|
|
339
|
-
@basic_backup_binlog_size.setter
|
|
340
|
-
def basic_backup_binlog_size(self, basic_backup_binlog_size):
|
|
341
|
-
"""Sets the basic_backup_binlog_size of this BasicInfoForDescribeDBInstanceDetailOutput.
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
:param basic_backup_binlog_size: The basic_backup_binlog_size of this BasicInfoForDescribeDBInstanceDetailOutput. # noqa: E501
|
|
345
|
-
:type: int
|
|
346
|
-
"""
|
|
347
|
-
|
|
348
|
-
self._basic_backup_binlog_size = basic_backup_binlog_size
|
|
349
|
-
|
|
350
|
-
@property
|
|
351
|
-
def basic_backup_data_size(self):
|
|
352
|
-
"""Gets the basic_backup_data_size of this BasicInfoForDescribeDBInstanceDetailOutput. # noqa: E501
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
:return: The basic_backup_data_size of this BasicInfoForDescribeDBInstanceDetailOutput. # noqa: E501
|
|
356
|
-
:rtype: int
|
|
357
|
-
"""
|
|
358
|
-
return self._basic_backup_data_size
|
|
359
|
-
|
|
360
|
-
@basic_backup_data_size.setter
|
|
361
|
-
def basic_backup_data_size(self, basic_backup_data_size):
|
|
362
|
-
"""Sets the basic_backup_data_size of this BasicInfoForDescribeDBInstanceDetailOutput.
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
:param basic_backup_data_size: The basic_backup_data_size of this BasicInfoForDescribeDBInstanceDetailOutput. # noqa: E501
|
|
366
|
-
:type: int
|
|
367
|
-
"""
|
|
368
|
-
|
|
369
|
-
self._basic_backup_data_size = basic_backup_data_size
|
|
370
|
-
|
|
371
267
|
@property
|
|
372
268
|
def create_time(self):
|
|
373
269
|
"""Gets the create_time of this BasicInfoForDescribeDBInstanceDetailOutput. # noqa: E501
|
|
@@ -0,0 +1,331 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
rds_mysql_v2
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: common-version
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import pprint
|
|
15
|
+
import re # noqa: F401
|
|
16
|
+
|
|
17
|
+
import six
|
|
18
|
+
|
|
19
|
+
from volcenginesdkcore.configuration import Configuration
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class ChangeObjectForSyncAllowListOutput(object):
|
|
23
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
24
|
+
|
|
25
|
+
Do not edit the class manually.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
"""
|
|
29
|
+
Attributes:
|
|
30
|
+
swagger_types (dict): The key is attribute name
|
|
31
|
+
and the value is attribute type.
|
|
32
|
+
attribute_map (dict): The key is attribute name
|
|
33
|
+
and the value is json key in definition.
|
|
34
|
+
"""
|
|
35
|
+
swagger_types = {
|
|
36
|
+
'added_ip_list': 'list[str]',
|
|
37
|
+
'bind_mode': 'str',
|
|
38
|
+
'has_changed': 'bool',
|
|
39
|
+
'has_deleted': 'bool',
|
|
40
|
+
'new_ip_list': 'list[str]',
|
|
41
|
+
'old_ip_list': 'list[str]',
|
|
42
|
+
'removed_ip_list': 'list[str]',
|
|
43
|
+
'security_group_id': 'str',
|
|
44
|
+
'security_group_name': 'str'
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
attribute_map = {
|
|
48
|
+
'added_ip_list': 'AddedIpList',
|
|
49
|
+
'bind_mode': 'BindMode',
|
|
50
|
+
'has_changed': 'HasChanged',
|
|
51
|
+
'has_deleted': 'HasDeleted',
|
|
52
|
+
'new_ip_list': 'NewIpList',
|
|
53
|
+
'old_ip_list': 'OldIpList',
|
|
54
|
+
'removed_ip_list': 'RemovedIpList',
|
|
55
|
+
'security_group_id': 'SecurityGroupId',
|
|
56
|
+
'security_group_name': 'SecurityGroupName'
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
def __init__(self, added_ip_list=None, bind_mode=None, has_changed=None, has_deleted=None, new_ip_list=None, old_ip_list=None, removed_ip_list=None, security_group_id=None, security_group_name=None, _configuration=None): # noqa: E501
|
|
60
|
+
"""ChangeObjectForSyncAllowListOutput - a model defined in Swagger""" # noqa: E501
|
|
61
|
+
if _configuration is None:
|
|
62
|
+
_configuration = Configuration()
|
|
63
|
+
self._configuration = _configuration
|
|
64
|
+
|
|
65
|
+
self._added_ip_list = None
|
|
66
|
+
self._bind_mode = None
|
|
67
|
+
self._has_changed = None
|
|
68
|
+
self._has_deleted = None
|
|
69
|
+
self._new_ip_list = None
|
|
70
|
+
self._old_ip_list = None
|
|
71
|
+
self._removed_ip_list = None
|
|
72
|
+
self._security_group_id = None
|
|
73
|
+
self._security_group_name = None
|
|
74
|
+
self.discriminator = None
|
|
75
|
+
|
|
76
|
+
if added_ip_list is not None:
|
|
77
|
+
self.added_ip_list = added_ip_list
|
|
78
|
+
if bind_mode is not None:
|
|
79
|
+
self.bind_mode = bind_mode
|
|
80
|
+
if has_changed is not None:
|
|
81
|
+
self.has_changed = has_changed
|
|
82
|
+
if has_deleted is not None:
|
|
83
|
+
self.has_deleted = has_deleted
|
|
84
|
+
if new_ip_list is not None:
|
|
85
|
+
self.new_ip_list = new_ip_list
|
|
86
|
+
if old_ip_list is not None:
|
|
87
|
+
self.old_ip_list = old_ip_list
|
|
88
|
+
if removed_ip_list is not None:
|
|
89
|
+
self.removed_ip_list = removed_ip_list
|
|
90
|
+
if security_group_id is not None:
|
|
91
|
+
self.security_group_id = security_group_id
|
|
92
|
+
if security_group_name is not None:
|
|
93
|
+
self.security_group_name = security_group_name
|
|
94
|
+
|
|
95
|
+
@property
|
|
96
|
+
def added_ip_list(self):
|
|
97
|
+
"""Gets the added_ip_list of this ChangeObjectForSyncAllowListOutput. # noqa: E501
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
:return: The added_ip_list of this ChangeObjectForSyncAllowListOutput. # noqa: E501
|
|
101
|
+
:rtype: list[str]
|
|
102
|
+
"""
|
|
103
|
+
return self._added_ip_list
|
|
104
|
+
|
|
105
|
+
@added_ip_list.setter
|
|
106
|
+
def added_ip_list(self, added_ip_list):
|
|
107
|
+
"""Sets the added_ip_list of this ChangeObjectForSyncAllowListOutput.
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
:param added_ip_list: The added_ip_list of this ChangeObjectForSyncAllowListOutput. # noqa: E501
|
|
111
|
+
:type: list[str]
|
|
112
|
+
"""
|
|
113
|
+
|
|
114
|
+
self._added_ip_list = added_ip_list
|
|
115
|
+
|
|
116
|
+
@property
|
|
117
|
+
def bind_mode(self):
|
|
118
|
+
"""Gets the bind_mode of this ChangeObjectForSyncAllowListOutput. # noqa: E501
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
:return: The bind_mode of this ChangeObjectForSyncAllowListOutput. # noqa: E501
|
|
122
|
+
:rtype: str
|
|
123
|
+
"""
|
|
124
|
+
return self._bind_mode
|
|
125
|
+
|
|
126
|
+
@bind_mode.setter
|
|
127
|
+
def bind_mode(self, bind_mode):
|
|
128
|
+
"""Sets the bind_mode of this ChangeObjectForSyncAllowListOutput.
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
:param bind_mode: The bind_mode of this ChangeObjectForSyncAllowListOutput. # noqa: E501
|
|
132
|
+
:type: str
|
|
133
|
+
"""
|
|
134
|
+
|
|
135
|
+
self._bind_mode = bind_mode
|
|
136
|
+
|
|
137
|
+
@property
|
|
138
|
+
def has_changed(self):
|
|
139
|
+
"""Gets the has_changed of this ChangeObjectForSyncAllowListOutput. # noqa: E501
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
:return: The has_changed of this ChangeObjectForSyncAllowListOutput. # noqa: E501
|
|
143
|
+
:rtype: bool
|
|
144
|
+
"""
|
|
145
|
+
return self._has_changed
|
|
146
|
+
|
|
147
|
+
@has_changed.setter
|
|
148
|
+
def has_changed(self, has_changed):
|
|
149
|
+
"""Sets the has_changed of this ChangeObjectForSyncAllowListOutput.
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
:param has_changed: The has_changed of this ChangeObjectForSyncAllowListOutput. # noqa: E501
|
|
153
|
+
:type: bool
|
|
154
|
+
"""
|
|
155
|
+
|
|
156
|
+
self._has_changed = has_changed
|
|
157
|
+
|
|
158
|
+
@property
|
|
159
|
+
def has_deleted(self):
|
|
160
|
+
"""Gets the has_deleted of this ChangeObjectForSyncAllowListOutput. # noqa: E501
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
:return: The has_deleted of this ChangeObjectForSyncAllowListOutput. # noqa: E501
|
|
164
|
+
:rtype: bool
|
|
165
|
+
"""
|
|
166
|
+
return self._has_deleted
|
|
167
|
+
|
|
168
|
+
@has_deleted.setter
|
|
169
|
+
def has_deleted(self, has_deleted):
|
|
170
|
+
"""Sets the has_deleted of this ChangeObjectForSyncAllowListOutput.
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
:param has_deleted: The has_deleted of this ChangeObjectForSyncAllowListOutput. # noqa: E501
|
|
174
|
+
:type: bool
|
|
175
|
+
"""
|
|
176
|
+
|
|
177
|
+
self._has_deleted = has_deleted
|
|
178
|
+
|
|
179
|
+
@property
|
|
180
|
+
def new_ip_list(self):
|
|
181
|
+
"""Gets the new_ip_list of this ChangeObjectForSyncAllowListOutput. # noqa: E501
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
:return: The new_ip_list of this ChangeObjectForSyncAllowListOutput. # noqa: E501
|
|
185
|
+
:rtype: list[str]
|
|
186
|
+
"""
|
|
187
|
+
return self._new_ip_list
|
|
188
|
+
|
|
189
|
+
@new_ip_list.setter
|
|
190
|
+
def new_ip_list(self, new_ip_list):
|
|
191
|
+
"""Sets the new_ip_list of this ChangeObjectForSyncAllowListOutput.
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
:param new_ip_list: The new_ip_list of this ChangeObjectForSyncAllowListOutput. # noqa: E501
|
|
195
|
+
:type: list[str]
|
|
196
|
+
"""
|
|
197
|
+
|
|
198
|
+
self._new_ip_list = new_ip_list
|
|
199
|
+
|
|
200
|
+
@property
|
|
201
|
+
def old_ip_list(self):
|
|
202
|
+
"""Gets the old_ip_list of this ChangeObjectForSyncAllowListOutput. # noqa: E501
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
:return: The old_ip_list of this ChangeObjectForSyncAllowListOutput. # noqa: E501
|
|
206
|
+
:rtype: list[str]
|
|
207
|
+
"""
|
|
208
|
+
return self._old_ip_list
|
|
209
|
+
|
|
210
|
+
@old_ip_list.setter
|
|
211
|
+
def old_ip_list(self, old_ip_list):
|
|
212
|
+
"""Sets the old_ip_list of this ChangeObjectForSyncAllowListOutput.
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
:param old_ip_list: The old_ip_list of this ChangeObjectForSyncAllowListOutput. # noqa: E501
|
|
216
|
+
:type: list[str]
|
|
217
|
+
"""
|
|
218
|
+
|
|
219
|
+
self._old_ip_list = old_ip_list
|
|
220
|
+
|
|
221
|
+
@property
|
|
222
|
+
def removed_ip_list(self):
|
|
223
|
+
"""Gets the removed_ip_list of this ChangeObjectForSyncAllowListOutput. # noqa: E501
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
:return: The removed_ip_list of this ChangeObjectForSyncAllowListOutput. # noqa: E501
|
|
227
|
+
:rtype: list[str]
|
|
228
|
+
"""
|
|
229
|
+
return self._removed_ip_list
|
|
230
|
+
|
|
231
|
+
@removed_ip_list.setter
|
|
232
|
+
def removed_ip_list(self, removed_ip_list):
|
|
233
|
+
"""Sets the removed_ip_list of this ChangeObjectForSyncAllowListOutput.
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
:param removed_ip_list: The removed_ip_list of this ChangeObjectForSyncAllowListOutput. # noqa: E501
|
|
237
|
+
:type: list[str]
|
|
238
|
+
"""
|
|
239
|
+
|
|
240
|
+
self._removed_ip_list = removed_ip_list
|
|
241
|
+
|
|
242
|
+
@property
|
|
243
|
+
def security_group_id(self):
|
|
244
|
+
"""Gets the security_group_id of this ChangeObjectForSyncAllowListOutput. # noqa: E501
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
:return: The security_group_id of this ChangeObjectForSyncAllowListOutput. # noqa: E501
|
|
248
|
+
:rtype: str
|
|
249
|
+
"""
|
|
250
|
+
return self._security_group_id
|
|
251
|
+
|
|
252
|
+
@security_group_id.setter
|
|
253
|
+
def security_group_id(self, security_group_id):
|
|
254
|
+
"""Sets the security_group_id of this ChangeObjectForSyncAllowListOutput.
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
:param security_group_id: The security_group_id of this ChangeObjectForSyncAllowListOutput. # noqa: E501
|
|
258
|
+
:type: str
|
|
259
|
+
"""
|
|
260
|
+
|
|
261
|
+
self._security_group_id = security_group_id
|
|
262
|
+
|
|
263
|
+
@property
|
|
264
|
+
def security_group_name(self):
|
|
265
|
+
"""Gets the security_group_name of this ChangeObjectForSyncAllowListOutput. # noqa: E501
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
:return: The security_group_name of this ChangeObjectForSyncAllowListOutput. # noqa: E501
|
|
269
|
+
:rtype: str
|
|
270
|
+
"""
|
|
271
|
+
return self._security_group_name
|
|
272
|
+
|
|
273
|
+
@security_group_name.setter
|
|
274
|
+
def security_group_name(self, security_group_name):
|
|
275
|
+
"""Sets the security_group_name of this ChangeObjectForSyncAllowListOutput.
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
:param security_group_name: The security_group_name of this ChangeObjectForSyncAllowListOutput. # noqa: E501
|
|
279
|
+
:type: str
|
|
280
|
+
"""
|
|
281
|
+
|
|
282
|
+
self._security_group_name = security_group_name
|
|
283
|
+
|
|
284
|
+
def to_dict(self):
|
|
285
|
+
"""Returns the model properties as a dict"""
|
|
286
|
+
result = {}
|
|
287
|
+
|
|
288
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
289
|
+
value = getattr(self, attr)
|
|
290
|
+
if isinstance(value, list):
|
|
291
|
+
result[attr] = list(map(
|
|
292
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
293
|
+
value
|
|
294
|
+
))
|
|
295
|
+
elif hasattr(value, "to_dict"):
|
|
296
|
+
result[attr] = value.to_dict()
|
|
297
|
+
elif isinstance(value, dict):
|
|
298
|
+
result[attr] = dict(map(
|
|
299
|
+
lambda item: (item[0], item[1].to_dict())
|
|
300
|
+
if hasattr(item[1], "to_dict") else item,
|
|
301
|
+
value.items()
|
|
302
|
+
))
|
|
303
|
+
else:
|
|
304
|
+
result[attr] = value
|
|
305
|
+
if issubclass(ChangeObjectForSyncAllowListOutput, dict):
|
|
306
|
+
for key, value in self.items():
|
|
307
|
+
result[key] = value
|
|
308
|
+
|
|
309
|
+
return result
|
|
310
|
+
|
|
311
|
+
def to_str(self):
|
|
312
|
+
"""Returns the string representation of the model"""
|
|
313
|
+
return pprint.pformat(self.to_dict())
|
|
314
|
+
|
|
315
|
+
def __repr__(self):
|
|
316
|
+
"""For `print` and `pprint`"""
|
|
317
|
+
return self.to_str()
|
|
318
|
+
|
|
319
|
+
def __eq__(self, other):
|
|
320
|
+
"""Returns true if both objects are equal"""
|
|
321
|
+
if not isinstance(other, ChangeObjectForSyncAllowListOutput):
|
|
322
|
+
return False
|
|
323
|
+
|
|
324
|
+
return self.to_dict() == other.to_dict()
|
|
325
|
+
|
|
326
|
+
def __ne__(self, other):
|
|
327
|
+
"""Returns true if both objects are not equal"""
|
|
328
|
+
if not isinstance(other, ChangeObjectForSyncAllowListOutput):
|
|
329
|
+
return True
|
|
330
|
+
|
|
331
|
+
return self.to_dict() != other.to_dict()
|