huaweicloudsdkgeip 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.
Potentially problematic release.
This version of huaweicloudsdkgeip might be problematic. Click here for more details.
- huaweicloudsdkgeip/__init__.py +0 -0
- huaweicloudsdkgeip/v3/__init__.py +224 -0
- huaweicloudsdkgeip/v3/geip_async_client.py +4984 -0
- huaweicloudsdkgeip/v3/geip_client.py +4981 -0
- huaweicloudsdkgeip/v3/model/__init__.py +221 -0
- huaweicloudsdkgeip/v3/model/add_geip_segment_tags_request.py +135 -0
- huaweicloudsdkgeip/v3/model/add_geip_segment_tags_response.py +112 -0
- huaweicloudsdkgeip/v3/model/add_global_eip_tags_request.py +135 -0
- huaweicloudsdkgeip/v3/model/add_global_eip_tags_response.py +112 -0
- huaweicloudsdkgeip/v3/model/add_internet_bandwidth_tags_request.py +135 -0
- huaweicloudsdkgeip/v3/model/add_internet_bandwidth_tags_response.py +112 -0
- huaweicloudsdkgeip/v3/model/allowed_bandwidth_types.py +173 -0
- huaweicloudsdkgeip/v3/model/associate_geip_segment_instance_request.py +135 -0
- huaweicloudsdkgeip/v3/model/associate_geip_segment_instance_response.py +166 -0
- huaweicloudsdkgeip/v3/model/associate_instance_global_eip_request_body.py +135 -0
- huaweicloudsdkgeip/v3/model/associate_instance_global_eip_request_body_global_eip.py +136 -0
- huaweicloudsdkgeip/v3/model/associate_instance_global_eip_request_body_global_eip_associate_instance_info.py +260 -0
- huaweicloudsdkgeip/v3/model/associate_instance_global_eip_request_body_global_eip_gc_bandwidth_info.py +405 -0
- huaweicloudsdkgeip/v3/model/associate_instance_global_eip_segment_request_body.py +110 -0
- huaweicloudsdkgeip/v3/model/associate_instance_global_eip_segment_request_body_global_eip_segment.py +256 -0
- huaweicloudsdkgeip/v3/model/associate_instance_request.py +164 -0
- huaweicloudsdkgeip/v3/model/associate_instance_response.py +166 -0
- huaweicloudsdkgeip/v3/model/attach_internet_bandwidth.py +142 -0
- huaweicloudsdkgeip/v3/model/attach_internet_bandwidth_global_eip.py +741 -0
- huaweicloudsdkgeip/v3/model/attach_internet_bandwidth_global_eip_request_body.py +135 -0
- huaweicloudsdkgeip/v3/model/attach_internet_bandwidth_global_eip_request_body_global_eip.py +114 -0
- huaweicloudsdkgeip/v3/model/attach_internet_bandwidth_request.py +135 -0
- huaweicloudsdkgeip/v3/model/attach_internet_bandwidth_response.py +166 -0
- huaweicloudsdkgeip/v3/model/batch_attach_geip_segment_internet_bandwidth_request.py +111 -0
- huaweicloudsdkgeip/v3/model/batch_attach_geip_segment_internet_bandwidth_response.py +141 -0
- huaweicloudsdkgeip/v3/model/batch_attach_internet_bandwidth_request.py +111 -0
- huaweicloudsdkgeip/v3/model/batch_attach_internet_bandwidth_response.py +137 -0
- huaweicloudsdkgeip/v3/model/batch_attach_internet_bandwidths_global_eip_request_body.py +114 -0
- huaweicloudsdkgeip/v3/model/batch_attach_internet_bandwidths_global_eip_segment_request_body.py +114 -0
- huaweicloudsdkgeip/v3/model/batch_create_geip_segment_tags_request.py +135 -0
- huaweicloudsdkgeip/v3/model/batch_create_geip_segment_tags_response.py +112 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_job.py +173 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_request.py +111 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_request_body.py +135 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_request_body_global_eip.py +311 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_request_body_global_eip_internet_bandwidth_info.py +289 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_response.py +170 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_tags_request.py +135 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_tags_response.py +112 -0
- huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth.py +605 -0
- huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth_request.py +111 -0
- huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth_request_body.py +110 -0
- huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth_request_body_internet_bandwidth.py +402 -0
- huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth_response.py +170 -0
- huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth_tags_request.py +135 -0
- huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth_tags_response.py +112 -0
- huaweicloudsdkgeip/v3/model/batch_create_v2_request_body.py +143 -0
- huaweicloudsdkgeip/v3/model/batch_delete_geip_segment_tags_request.py +135 -0
- huaweicloudsdkgeip/v3/model/batch_delete_geip_segment_tags_response.py +112 -0
- huaweicloudsdkgeip/v3/model/batch_delete_global_eip_tags_request.py +135 -0
- huaweicloudsdkgeip/v3/model/batch_delete_global_eip_tags_response.py +112 -0
- huaweicloudsdkgeip/v3/model/batch_delete_internet_bandwidth_tags_request.py +135 -0
- huaweicloudsdkgeip/v3/model/batch_delete_internet_bandwidth_tags_response.py +112 -0
- huaweicloudsdkgeip/v3/model/batch_delete_v2_request_body.py +143 -0
- huaweicloudsdkgeip/v3/model/batch_delete_v2_request_body_tags.py +143 -0
- huaweicloudsdkgeip/v3/model/batch_detach_geip_segment_internet_bandwidth_request.py +111 -0
- huaweicloudsdkgeip/v3/model/batch_detach_geip_segment_internet_bandwidth_response.py +141 -0
- huaweicloudsdkgeip/v3/model/batch_detach_internet_bandwidth_request.py +111 -0
- huaweicloudsdkgeip/v3/model/batch_detach_internet_bandwidth_response.py +137 -0
- huaweicloudsdkgeip/v3/model/batch_detach_internet_bandwidths_global_eip_request_body.py +114 -0
- huaweicloudsdkgeip/v3/model/batch_detach_internet_bandwidths_global_eip_segment_request_body.py +114 -0
- huaweicloudsdkgeip/v3/model/batch_internet_bandwidths_global_eip_response_body.py +114 -0
- huaweicloudsdkgeip/v3/model/count_geip_segments.py +114 -0
- huaweicloudsdkgeip/v3/model/count_global_eip_segment_request.py +752 -0
- huaweicloudsdkgeip/v3/model/count_global_eip_segment_response.py +166 -0
- huaweicloudsdkgeip/v3/model/count_global_eips.py +114 -0
- huaweicloudsdkgeip/v3/model/count_global_eips_request.py +661 -0
- huaweicloudsdkgeip/v3/model/count_global_eips_response.py +166 -0
- huaweicloudsdkgeip/v3/model/count_internet_bandwidth_request.py +286 -0
- huaweicloudsdkgeip/v3/model/count_internet_bandwidth_response.py +166 -0
- huaweicloudsdkgeip/v3/model/count_internet_bandwidths.py +114 -0
- huaweicloudsdkgeip/v3/model/create_global_eip.py +142 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_request.py +111 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_request_body.py +135 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_request_body_global_eip.py +287 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_request_body_global_eip_tags.py +142 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_response.py +166 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_segment_request.py +111 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_segment_request_body.py +110 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_segment_request_body_global_eip_segment.py +311 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_segment_request_body_global_eip_segment_internet_bandwidth.py +289 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_segment_response.py +166 -0
- huaweicloudsdkgeip/v3/model/create_internet_bandwidth.py +691 -0
- huaweicloudsdkgeip/v3/model/create_internet_bandwidth_request.py +111 -0
- huaweicloudsdkgeip/v3/model/create_internet_bandwidth_request_body.py +110 -0
- huaweicloudsdkgeip/v3/model/create_internet_bandwidth_request_body_internet_bandwidth.py +372 -0
- huaweicloudsdkgeip/v3/model/create_internet_bandwidth_response.py +166 -0
- huaweicloudsdkgeip/v3/model/create_tag.py +143 -0
- huaweicloudsdkgeip/v3/model/create_user_disclaimer_record.py +173 -0
- huaweicloudsdkgeip/v3/model/create_user_disclaimer_request.py +84 -0
- huaweicloudsdkgeip/v3/model/create_user_disclaimer_response.py +166 -0
- huaweicloudsdkgeip/v3/model/create_v2_tag_request_body.py +110 -0
- huaweicloudsdkgeip/v3/model/create_v2_tag_request_body_tag.py +142 -0
- huaweicloudsdkgeip/v3/model/delete_geip_segment_tag_request.py +134 -0
- huaweicloudsdkgeip/v3/model/delete_geip_segment_tag_response.py +112 -0
- huaweicloudsdkgeip/v3/model/delete_global_eip_request.py +110 -0
- huaweicloudsdkgeip/v3/model/delete_global_eip_response.py +112 -0
- huaweicloudsdkgeip/v3/model/delete_global_eip_segment_request.py +110 -0
- huaweicloudsdkgeip/v3/model/delete_global_eip_segment_response.py +112 -0
- huaweicloudsdkgeip/v3/model/delete_global_eip_tag_request.py +134 -0
- huaweicloudsdkgeip/v3/model/delete_global_eip_tag_response.py +112 -0
- huaweicloudsdkgeip/v3/model/delete_internet_bandwidth_request.py +110 -0
- huaweicloudsdkgeip/v3/model/delete_internet_bandwidth_response.py +112 -0
- huaweicloudsdkgeip/v3/model/delete_internet_bandwidth_tag_request.py +134 -0
- huaweicloudsdkgeip/v3/model/delete_internet_bandwidth_tag_response.py +112 -0
- huaweicloudsdkgeip/v3/model/delete_user_disclaimer_request.py +84 -0
- huaweicloudsdkgeip/v3/model/delete_user_disclaimer_response.py +112 -0
- huaweicloudsdkgeip/v3/model/detach_internet_bandwidth.py +114 -0
- huaweicloudsdkgeip/v3/model/detach_internet_bandwidth_global_eips.py +741 -0
- huaweicloudsdkgeip/v3/model/detach_internet_bandwidth_request.py +135 -0
- huaweicloudsdkgeip/v3/model/detach_internet_bandwidth_response.py +166 -0
- huaweicloudsdkgeip/v3/model/disassociate_geip_segment_instance_request.py +110 -0
- huaweicloudsdkgeip/v3/model/disassociate_geip_segment_instance_response.py +166 -0
- huaweicloudsdkgeip/v3/model/disassociate_instance_request.py +138 -0
- huaweicloudsdkgeip/v3/model/disassociate_instance_response.py +166 -0
- huaweicloudsdkgeip/v3/model/ext_limit_pojo.py +173 -0
- huaweicloudsdkgeip/v3/model/geip_resource.py +198 -0
- huaweicloudsdkgeip/v3/model/geip_tags.py +142 -0
- huaweicloudsdkgeip/v3/model/get_account_tags_v2.py +142 -0
- huaweicloudsdkgeip/v3/model/global_connection_bandwidth_info.py +260 -0
- huaweicloudsdkgeip/v3/model/instance_info.py +347 -0
- huaweicloudsdkgeip/v3/model/internet_bandwidth_info.py +144 -0
- huaweicloudsdkgeip/v3/model/list_access_sites.py +318 -0
- huaweicloudsdkgeip/v3/model/list_access_sites_request.py +385 -0
- huaweicloudsdkgeip/v3/model/list_access_sites_response.py +195 -0
- huaweicloudsdkgeip/v3/model/list_geip_pools.py +434 -0
- huaweicloudsdkgeip/v3/model/list_geip_pools_request.py +460 -0
- huaweicloudsdkgeip/v3/model/list_geip_pools_response.py +195 -0
- huaweicloudsdkgeip/v3/model/list_geip_resource_quotas_request.py +252 -0
- huaweicloudsdkgeip/v3/model/list_geip_resource_quotas_response.py +166 -0
- huaweicloudsdkgeip/v3/model/list_geip_segment_count_filter_tags_request.py +111 -0
- huaweicloudsdkgeip/v3/model/list_geip_segment_count_filter_tags_response.py +170 -0
- huaweicloudsdkgeip/v3/model/list_geip_segment_domain_tags_request.py +84 -0
- huaweicloudsdkgeip/v3/model/list_geip_segment_domain_tags_response.py +199 -0
- huaweicloudsdkgeip/v3/model/list_geip_segment_filter_tags_request.py +169 -0
- huaweicloudsdkgeip/v3/model/list_geip_segment_filter_tags_response.py +199 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_count_filter_tags_request.py +111 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_count_filter_tags_response.py +170 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_domain_tags_request.py +84 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_domain_tags_response.py +199 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_filter_tags_request.py +161 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_filter_tags_response.py +199 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_segments.py +687 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_segments_request.py +860 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_segments_response.py +195 -0
- huaweicloudsdkgeip/v3/model/list_global_eips.py +741 -0
- huaweicloudsdkgeip/v3/model/list_global_eips_request.py +910 -0
- huaweicloudsdkgeip/v3/model/list_global_eips_response.py +195 -0
- huaweicloudsdkgeip/v3/model/list_global_eips_response_body_page_info.py +173 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_count_filter_tags_request.py +111 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_count_filter_tags_response.py +170 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_domain_tags_request.py +84 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_domain_tags_response.py +141 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_filter_tags_request.py +161 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_filter_tags_response.py +199 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_limits.py +256 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_limits_request.py +219 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_limits_response.py +170 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidths.py +753 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidths_request.py +535 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidths_response.py +195 -0
- huaweicloudsdkgeip/v3/model/list_jobs.py +318 -0
- huaweicloudsdkgeip/v3/model/list_jobs_request.py +360 -0
- huaweicloudsdkgeip/v3/model/list_jobs_response.py +195 -0
- huaweicloudsdkgeip/v3/model/list_quotas.py +114 -0
- huaweicloudsdkgeip/v3/model/list_resources_by_tags_request_body.py +114 -0
- huaweicloudsdkgeip/v3/model/list_support_instances_support_regions.py +318 -0
- huaweicloudsdkgeip/v3/model/list_support_masks.py +231 -0
- huaweicloudsdkgeip/v3/model/list_support_masks_request.py +360 -0
- huaweicloudsdkgeip/v3/model/list_support_masks_response.py +195 -0
- huaweicloudsdkgeip/v3/model/list_support_regions.py +347 -0
- huaweicloudsdkgeip/v3/model/list_support_regions_request.py +460 -0
- huaweicloudsdkgeip/v3/model/list_support_regions_response.py +195 -0
- huaweicloudsdkgeip/v3/model/list_tenant_geip_support_instances_request.py +135 -0
- huaweicloudsdkgeip/v3/model/list_tenant_geip_support_instances_response.py +170 -0
- huaweicloudsdkgeip/v3/model/lock_info.py +376 -0
- huaweicloudsdkgeip/v3/model/native_uuid.py +84 -0
- huaweicloudsdkgeip/v3/model/resources_info.py +202 -0
- huaweicloudsdkgeip/v3/model/short_global_eip_segment.py +144 -0
- huaweicloudsdkgeip/v3/model/show_geip_segment_tags_request.py +110 -0
- huaweicloudsdkgeip/v3/model/show_geip_segment_tags_response.py +199 -0
- huaweicloudsdkgeip/v3/model/show_global_eip.py +741 -0
- huaweicloudsdkgeip/v3/model/show_global_eip_request.py +135 -0
- huaweicloudsdkgeip/v3/model/show_global_eip_response.py +166 -0
- huaweicloudsdkgeip/v3/model/show_global_eip_segment.py +687 -0
- huaweicloudsdkgeip/v3/model/show_global_eip_segment_request.py +135 -0
- huaweicloudsdkgeip/v3/model/show_global_eip_segment_response.py +166 -0
- huaweicloudsdkgeip/v3/model/show_global_eip_tags_request.py +110 -0
- huaweicloudsdkgeip/v3/model/show_global_eip_tags_response.py +199 -0
- huaweicloudsdkgeip/v3/model/show_internet_bandwidth.py +695 -0
- huaweicloudsdkgeip/v3/model/show_internet_bandwidth_request.py +135 -0
- huaweicloudsdkgeip/v3/model/show_internet_bandwidth_response.py +166 -0
- huaweicloudsdkgeip/v3/model/show_internet_bandwidth_tags_request.py +110 -0
- huaweicloudsdkgeip/v3/model/show_internet_bandwidth_tags_response.py +199 -0
- huaweicloudsdkgeip/v3/model/show_job.py +318 -0
- huaweicloudsdkgeip/v3/model/show_jobs_request.py +139 -0
- huaweicloudsdkgeip/v3/model/show_jobs_response.py +166 -0
- huaweicloudsdkgeip/v3/model/show_user_disclaimer_record.py +173 -0
- huaweicloudsdkgeip/v3/model/show_user_disclaimer_request.py +111 -0
- huaweicloudsdkgeip/v3/model/show_user_disclaimer_response.py +166 -0
- huaweicloudsdkgeip/v3/model/sys_tag.py +142 -0
- huaweicloudsdkgeip/v3/model/tag.py +144 -0
- huaweicloudsdkgeip/v3/model/update_global_eip.py +144 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_request.py +135 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_request_body.py +135 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_request_body_global_eip.py +144 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_response.py +166 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_segment_request.py +135 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_segment_request_body.py +110 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_segment_request_body_global_eip_segment.py +144 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_segment_response.py +166 -0
- huaweicloudsdkgeip/v3/model/update_internet_bandwidth.py +637 -0
- huaweicloudsdkgeip/v3/model/update_internet_bandwidth_request.py +135 -0
- huaweicloudsdkgeip/v3/model/update_internet_bandwidth_request_body.py +110 -0
- huaweicloudsdkgeip/v3/model/update_internet_bandwidth_request_body_internet_bandwidth.py +231 -0
- huaweicloudsdkgeip/v3/model/update_internet_bandwidth_response.py +166 -0
- huaweicloudsdkgeip/v3/region/__init__.py +0 -0
- huaweicloudsdkgeip/v3/region/geip_region.py +31 -0
- huaweicloudsdkgeip-3.1.160.dist-info/LICENSE +13 -0
- huaweicloudsdkgeip-3.1.160.dist-info/METADATA +26 -0
- huaweicloudsdkgeip-3.1.160.dist-info/RECORD +228 -0
- huaweicloudsdkgeip-3.1.160.dist-info/WHEEL +5 -0
- huaweicloudsdkgeip-3.1.160.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class DeleteGlobalEipRequest:
|
|
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
|
+
'global_eip_id': 'str'
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
attribute_map = {
|
|
24
|
+
'global_eip_id': 'global_eip_id'
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
def __init__(self, global_eip_id=None):
|
|
28
|
+
r"""DeleteGlobalEipRequest
|
|
29
|
+
|
|
30
|
+
The model defined in huaweicloud sdk
|
|
31
|
+
|
|
32
|
+
:param global_eip_id:
|
|
33
|
+
:type global_eip_id: str
|
|
34
|
+
"""
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
self._global_eip_id = None
|
|
39
|
+
self.discriminator = None
|
|
40
|
+
|
|
41
|
+
self.global_eip_id = global_eip_id
|
|
42
|
+
|
|
43
|
+
@property
|
|
44
|
+
def global_eip_id(self):
|
|
45
|
+
r"""Gets the global_eip_id of this DeleteGlobalEipRequest.
|
|
46
|
+
|
|
47
|
+
:return: The global_eip_id of this DeleteGlobalEipRequest.
|
|
48
|
+
:rtype: str
|
|
49
|
+
"""
|
|
50
|
+
return self._global_eip_id
|
|
51
|
+
|
|
52
|
+
@global_eip_id.setter
|
|
53
|
+
def global_eip_id(self, global_eip_id):
|
|
54
|
+
r"""Sets the global_eip_id of this DeleteGlobalEipRequest.
|
|
55
|
+
|
|
56
|
+
:param global_eip_id: The global_eip_id of this DeleteGlobalEipRequest.
|
|
57
|
+
:type global_eip_id: str
|
|
58
|
+
"""
|
|
59
|
+
self._global_eip_id = global_eip_id
|
|
60
|
+
|
|
61
|
+
def to_dict(self):
|
|
62
|
+
"""Returns the model properties as a dict"""
|
|
63
|
+
result = {}
|
|
64
|
+
|
|
65
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
66
|
+
value = getattr(self, attr)
|
|
67
|
+
if isinstance(value, list):
|
|
68
|
+
result[attr] = list(map(
|
|
69
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
70
|
+
value
|
|
71
|
+
))
|
|
72
|
+
elif hasattr(value, "to_dict"):
|
|
73
|
+
result[attr] = value.to_dict()
|
|
74
|
+
elif isinstance(value, dict):
|
|
75
|
+
result[attr] = dict(map(
|
|
76
|
+
lambda item: (item[0], item[1].to_dict())
|
|
77
|
+
if hasattr(item[1], "to_dict") else item,
|
|
78
|
+
value.items()
|
|
79
|
+
))
|
|
80
|
+
else:
|
|
81
|
+
if attr in self.sensitive_list:
|
|
82
|
+
result[attr] = "****"
|
|
83
|
+
else:
|
|
84
|
+
result[attr] = value
|
|
85
|
+
|
|
86
|
+
return result
|
|
87
|
+
|
|
88
|
+
def to_str(self):
|
|
89
|
+
"""Returns the string representation of the model"""
|
|
90
|
+
import simplejson as json
|
|
91
|
+
if six.PY2:
|
|
92
|
+
import sys
|
|
93
|
+
reload(sys)
|
|
94
|
+
sys.setdefaultencoding("utf-8")
|
|
95
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
96
|
+
|
|
97
|
+
def __repr__(self):
|
|
98
|
+
"""For `print`"""
|
|
99
|
+
return self.to_str()
|
|
100
|
+
|
|
101
|
+
def __eq__(self, other):
|
|
102
|
+
"""Returns true if both objects are equal"""
|
|
103
|
+
if not isinstance(other, DeleteGlobalEipRequest):
|
|
104
|
+
return False
|
|
105
|
+
|
|
106
|
+
return self.__dict__ == other.__dict__
|
|
107
|
+
|
|
108
|
+
def __ne__(self, other):
|
|
109
|
+
"""Returns true if both objects are not equal"""
|
|
110
|
+
return not self == other
|
|
@@ -0,0 +1,112 @@
|
|
|
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 DeleteGlobalEipResponse(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
|
+
'x_request_id': 'str'
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
attribute_map = {
|
|
25
|
+
'x_request_id': 'X-Request-Id'
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
def __init__(self, x_request_id=None):
|
|
29
|
+
r"""DeleteGlobalEipResponse
|
|
30
|
+
|
|
31
|
+
The model defined in huaweicloud sdk
|
|
32
|
+
|
|
33
|
+
:param x_request_id:
|
|
34
|
+
:type x_request_id: str
|
|
35
|
+
"""
|
|
36
|
+
|
|
37
|
+
super(DeleteGlobalEipResponse, self).__init__()
|
|
38
|
+
|
|
39
|
+
self._x_request_id = None
|
|
40
|
+
self.discriminator = None
|
|
41
|
+
|
|
42
|
+
if x_request_id is not None:
|
|
43
|
+
self.x_request_id = x_request_id
|
|
44
|
+
|
|
45
|
+
@property
|
|
46
|
+
def x_request_id(self):
|
|
47
|
+
r"""Gets the x_request_id of this DeleteGlobalEipResponse.
|
|
48
|
+
|
|
49
|
+
:return: The x_request_id of this DeleteGlobalEipResponse.
|
|
50
|
+
:rtype: str
|
|
51
|
+
"""
|
|
52
|
+
return self._x_request_id
|
|
53
|
+
|
|
54
|
+
@x_request_id.setter
|
|
55
|
+
def x_request_id(self, x_request_id):
|
|
56
|
+
r"""Sets the x_request_id of this DeleteGlobalEipResponse.
|
|
57
|
+
|
|
58
|
+
:param x_request_id: The x_request_id of this DeleteGlobalEipResponse.
|
|
59
|
+
:type x_request_id: str
|
|
60
|
+
"""
|
|
61
|
+
self._x_request_id = x_request_id
|
|
62
|
+
|
|
63
|
+
def to_dict(self):
|
|
64
|
+
"""Returns the model properties as a dict"""
|
|
65
|
+
result = {}
|
|
66
|
+
|
|
67
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
68
|
+
value = getattr(self, attr)
|
|
69
|
+
if isinstance(value, list):
|
|
70
|
+
result[attr] = list(map(
|
|
71
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
72
|
+
value
|
|
73
|
+
))
|
|
74
|
+
elif hasattr(value, "to_dict"):
|
|
75
|
+
result[attr] = value.to_dict()
|
|
76
|
+
elif isinstance(value, dict):
|
|
77
|
+
result[attr] = dict(map(
|
|
78
|
+
lambda item: (item[0], item[1].to_dict())
|
|
79
|
+
if hasattr(item[1], "to_dict") else item,
|
|
80
|
+
value.items()
|
|
81
|
+
))
|
|
82
|
+
else:
|
|
83
|
+
if attr in self.sensitive_list:
|
|
84
|
+
result[attr] = "****"
|
|
85
|
+
else:
|
|
86
|
+
result[attr] = value
|
|
87
|
+
|
|
88
|
+
return result
|
|
89
|
+
|
|
90
|
+
def to_str(self):
|
|
91
|
+
"""Returns the string representation of the model"""
|
|
92
|
+
import simplejson as json
|
|
93
|
+
if six.PY2:
|
|
94
|
+
import sys
|
|
95
|
+
reload(sys)
|
|
96
|
+
sys.setdefaultencoding("utf-8")
|
|
97
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
98
|
+
|
|
99
|
+
def __repr__(self):
|
|
100
|
+
"""For `print`"""
|
|
101
|
+
return self.to_str()
|
|
102
|
+
|
|
103
|
+
def __eq__(self, other):
|
|
104
|
+
"""Returns true if both objects are equal"""
|
|
105
|
+
if not isinstance(other, DeleteGlobalEipResponse):
|
|
106
|
+
return False
|
|
107
|
+
|
|
108
|
+
return self.__dict__ == other.__dict__
|
|
109
|
+
|
|
110
|
+
def __ne__(self, other):
|
|
111
|
+
"""Returns true if both objects are not equal"""
|
|
112
|
+
return not self == other
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class DeleteGlobalEipSegmentRequest:
|
|
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
|
+
'global_eip_segment_id': 'str'
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
attribute_map = {
|
|
24
|
+
'global_eip_segment_id': 'global_eip_segment_id'
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
def __init__(self, global_eip_segment_id=None):
|
|
28
|
+
r"""DeleteGlobalEipSegmentRequest
|
|
29
|
+
|
|
30
|
+
The model defined in huaweicloud sdk
|
|
31
|
+
|
|
32
|
+
:param global_eip_segment_id:
|
|
33
|
+
:type global_eip_segment_id: str
|
|
34
|
+
"""
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
self._global_eip_segment_id = None
|
|
39
|
+
self.discriminator = None
|
|
40
|
+
|
|
41
|
+
self.global_eip_segment_id = global_eip_segment_id
|
|
42
|
+
|
|
43
|
+
@property
|
|
44
|
+
def global_eip_segment_id(self):
|
|
45
|
+
r"""Gets the global_eip_segment_id of this DeleteGlobalEipSegmentRequest.
|
|
46
|
+
|
|
47
|
+
:return: The global_eip_segment_id of this DeleteGlobalEipSegmentRequest.
|
|
48
|
+
:rtype: str
|
|
49
|
+
"""
|
|
50
|
+
return self._global_eip_segment_id
|
|
51
|
+
|
|
52
|
+
@global_eip_segment_id.setter
|
|
53
|
+
def global_eip_segment_id(self, global_eip_segment_id):
|
|
54
|
+
r"""Sets the global_eip_segment_id of this DeleteGlobalEipSegmentRequest.
|
|
55
|
+
|
|
56
|
+
:param global_eip_segment_id: The global_eip_segment_id of this DeleteGlobalEipSegmentRequest.
|
|
57
|
+
:type global_eip_segment_id: str
|
|
58
|
+
"""
|
|
59
|
+
self._global_eip_segment_id = global_eip_segment_id
|
|
60
|
+
|
|
61
|
+
def to_dict(self):
|
|
62
|
+
"""Returns the model properties as a dict"""
|
|
63
|
+
result = {}
|
|
64
|
+
|
|
65
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
66
|
+
value = getattr(self, attr)
|
|
67
|
+
if isinstance(value, list):
|
|
68
|
+
result[attr] = list(map(
|
|
69
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
70
|
+
value
|
|
71
|
+
))
|
|
72
|
+
elif hasattr(value, "to_dict"):
|
|
73
|
+
result[attr] = value.to_dict()
|
|
74
|
+
elif isinstance(value, dict):
|
|
75
|
+
result[attr] = dict(map(
|
|
76
|
+
lambda item: (item[0], item[1].to_dict())
|
|
77
|
+
if hasattr(item[1], "to_dict") else item,
|
|
78
|
+
value.items()
|
|
79
|
+
))
|
|
80
|
+
else:
|
|
81
|
+
if attr in self.sensitive_list:
|
|
82
|
+
result[attr] = "****"
|
|
83
|
+
else:
|
|
84
|
+
result[attr] = value
|
|
85
|
+
|
|
86
|
+
return result
|
|
87
|
+
|
|
88
|
+
def to_str(self):
|
|
89
|
+
"""Returns the string representation of the model"""
|
|
90
|
+
import simplejson as json
|
|
91
|
+
if six.PY2:
|
|
92
|
+
import sys
|
|
93
|
+
reload(sys)
|
|
94
|
+
sys.setdefaultencoding("utf-8")
|
|
95
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
96
|
+
|
|
97
|
+
def __repr__(self):
|
|
98
|
+
"""For `print`"""
|
|
99
|
+
return self.to_str()
|
|
100
|
+
|
|
101
|
+
def __eq__(self, other):
|
|
102
|
+
"""Returns true if both objects are equal"""
|
|
103
|
+
if not isinstance(other, DeleteGlobalEipSegmentRequest):
|
|
104
|
+
return False
|
|
105
|
+
|
|
106
|
+
return self.__dict__ == other.__dict__
|
|
107
|
+
|
|
108
|
+
def __ne__(self, other):
|
|
109
|
+
"""Returns true if both objects are not equal"""
|
|
110
|
+
return not self == other
|
|
@@ -0,0 +1,112 @@
|
|
|
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 DeleteGlobalEipSegmentResponse(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
|
+
'x_request_id': 'str'
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
attribute_map = {
|
|
25
|
+
'x_request_id': 'X-Request-Id'
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
def __init__(self, x_request_id=None):
|
|
29
|
+
r"""DeleteGlobalEipSegmentResponse
|
|
30
|
+
|
|
31
|
+
The model defined in huaweicloud sdk
|
|
32
|
+
|
|
33
|
+
:param x_request_id:
|
|
34
|
+
:type x_request_id: str
|
|
35
|
+
"""
|
|
36
|
+
|
|
37
|
+
super(DeleteGlobalEipSegmentResponse, self).__init__()
|
|
38
|
+
|
|
39
|
+
self._x_request_id = None
|
|
40
|
+
self.discriminator = None
|
|
41
|
+
|
|
42
|
+
if x_request_id is not None:
|
|
43
|
+
self.x_request_id = x_request_id
|
|
44
|
+
|
|
45
|
+
@property
|
|
46
|
+
def x_request_id(self):
|
|
47
|
+
r"""Gets the x_request_id of this DeleteGlobalEipSegmentResponse.
|
|
48
|
+
|
|
49
|
+
:return: The x_request_id of this DeleteGlobalEipSegmentResponse.
|
|
50
|
+
:rtype: str
|
|
51
|
+
"""
|
|
52
|
+
return self._x_request_id
|
|
53
|
+
|
|
54
|
+
@x_request_id.setter
|
|
55
|
+
def x_request_id(self, x_request_id):
|
|
56
|
+
r"""Sets the x_request_id of this DeleteGlobalEipSegmentResponse.
|
|
57
|
+
|
|
58
|
+
:param x_request_id: The x_request_id of this DeleteGlobalEipSegmentResponse.
|
|
59
|
+
:type x_request_id: str
|
|
60
|
+
"""
|
|
61
|
+
self._x_request_id = x_request_id
|
|
62
|
+
|
|
63
|
+
def to_dict(self):
|
|
64
|
+
"""Returns the model properties as a dict"""
|
|
65
|
+
result = {}
|
|
66
|
+
|
|
67
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
68
|
+
value = getattr(self, attr)
|
|
69
|
+
if isinstance(value, list):
|
|
70
|
+
result[attr] = list(map(
|
|
71
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
72
|
+
value
|
|
73
|
+
))
|
|
74
|
+
elif hasattr(value, "to_dict"):
|
|
75
|
+
result[attr] = value.to_dict()
|
|
76
|
+
elif isinstance(value, dict):
|
|
77
|
+
result[attr] = dict(map(
|
|
78
|
+
lambda item: (item[0], item[1].to_dict())
|
|
79
|
+
if hasattr(item[1], "to_dict") else item,
|
|
80
|
+
value.items()
|
|
81
|
+
))
|
|
82
|
+
else:
|
|
83
|
+
if attr in self.sensitive_list:
|
|
84
|
+
result[attr] = "****"
|
|
85
|
+
else:
|
|
86
|
+
result[attr] = value
|
|
87
|
+
|
|
88
|
+
return result
|
|
89
|
+
|
|
90
|
+
def to_str(self):
|
|
91
|
+
"""Returns the string representation of the model"""
|
|
92
|
+
import simplejson as json
|
|
93
|
+
if six.PY2:
|
|
94
|
+
import sys
|
|
95
|
+
reload(sys)
|
|
96
|
+
sys.setdefaultencoding("utf-8")
|
|
97
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
98
|
+
|
|
99
|
+
def __repr__(self):
|
|
100
|
+
"""For `print`"""
|
|
101
|
+
return self.to_str()
|
|
102
|
+
|
|
103
|
+
def __eq__(self, other):
|
|
104
|
+
"""Returns true if both objects are equal"""
|
|
105
|
+
if not isinstance(other, DeleteGlobalEipSegmentResponse):
|
|
106
|
+
return False
|
|
107
|
+
|
|
108
|
+
return self.__dict__ == other.__dict__
|
|
109
|
+
|
|
110
|
+
def __ne__(self, other):
|
|
111
|
+
"""Returns true if both objects are not equal"""
|
|
112
|
+
return not self == other
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class DeleteGlobalEipTagRequest:
|
|
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
|
+
'resource_id': 'str',
|
|
21
|
+
'tag_key': 'str'
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
attribute_map = {
|
|
25
|
+
'resource_id': 'resource_id',
|
|
26
|
+
'tag_key': 'tag_key'
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
def __init__(self, resource_id=None, tag_key=None):
|
|
30
|
+
r"""DeleteGlobalEipTagRequest
|
|
31
|
+
|
|
32
|
+
The model defined in huaweicloud sdk
|
|
33
|
+
|
|
34
|
+
:param resource_id:
|
|
35
|
+
:type resource_id: str
|
|
36
|
+
:param tag_key:
|
|
37
|
+
:type tag_key: str
|
|
38
|
+
"""
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
self._resource_id = None
|
|
43
|
+
self._tag_key = None
|
|
44
|
+
self.discriminator = None
|
|
45
|
+
|
|
46
|
+
self.resource_id = resource_id
|
|
47
|
+
self.tag_key = tag_key
|
|
48
|
+
|
|
49
|
+
@property
|
|
50
|
+
def resource_id(self):
|
|
51
|
+
r"""Gets the resource_id of this DeleteGlobalEipTagRequest.
|
|
52
|
+
|
|
53
|
+
:return: The resource_id of this DeleteGlobalEipTagRequest.
|
|
54
|
+
:rtype: str
|
|
55
|
+
"""
|
|
56
|
+
return self._resource_id
|
|
57
|
+
|
|
58
|
+
@resource_id.setter
|
|
59
|
+
def resource_id(self, resource_id):
|
|
60
|
+
r"""Sets the resource_id of this DeleteGlobalEipTagRequest.
|
|
61
|
+
|
|
62
|
+
:param resource_id: The resource_id of this DeleteGlobalEipTagRequest.
|
|
63
|
+
:type resource_id: str
|
|
64
|
+
"""
|
|
65
|
+
self._resource_id = resource_id
|
|
66
|
+
|
|
67
|
+
@property
|
|
68
|
+
def tag_key(self):
|
|
69
|
+
r"""Gets the tag_key of this DeleteGlobalEipTagRequest.
|
|
70
|
+
|
|
71
|
+
:return: The tag_key of this DeleteGlobalEipTagRequest.
|
|
72
|
+
:rtype: str
|
|
73
|
+
"""
|
|
74
|
+
return self._tag_key
|
|
75
|
+
|
|
76
|
+
@tag_key.setter
|
|
77
|
+
def tag_key(self, tag_key):
|
|
78
|
+
r"""Sets the tag_key of this DeleteGlobalEipTagRequest.
|
|
79
|
+
|
|
80
|
+
:param tag_key: The tag_key of this DeleteGlobalEipTagRequest.
|
|
81
|
+
:type tag_key: str
|
|
82
|
+
"""
|
|
83
|
+
self._tag_key = tag_key
|
|
84
|
+
|
|
85
|
+
def to_dict(self):
|
|
86
|
+
"""Returns the model properties as a dict"""
|
|
87
|
+
result = {}
|
|
88
|
+
|
|
89
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
90
|
+
value = getattr(self, attr)
|
|
91
|
+
if isinstance(value, list):
|
|
92
|
+
result[attr] = list(map(
|
|
93
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
94
|
+
value
|
|
95
|
+
))
|
|
96
|
+
elif hasattr(value, "to_dict"):
|
|
97
|
+
result[attr] = value.to_dict()
|
|
98
|
+
elif isinstance(value, dict):
|
|
99
|
+
result[attr] = dict(map(
|
|
100
|
+
lambda item: (item[0], item[1].to_dict())
|
|
101
|
+
if hasattr(item[1], "to_dict") else item,
|
|
102
|
+
value.items()
|
|
103
|
+
))
|
|
104
|
+
else:
|
|
105
|
+
if attr in self.sensitive_list:
|
|
106
|
+
result[attr] = "****"
|
|
107
|
+
else:
|
|
108
|
+
result[attr] = value
|
|
109
|
+
|
|
110
|
+
return result
|
|
111
|
+
|
|
112
|
+
def to_str(self):
|
|
113
|
+
"""Returns the string representation of the model"""
|
|
114
|
+
import simplejson as json
|
|
115
|
+
if six.PY2:
|
|
116
|
+
import sys
|
|
117
|
+
reload(sys)
|
|
118
|
+
sys.setdefaultencoding("utf-8")
|
|
119
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
120
|
+
|
|
121
|
+
def __repr__(self):
|
|
122
|
+
"""For `print`"""
|
|
123
|
+
return self.to_str()
|
|
124
|
+
|
|
125
|
+
def __eq__(self, other):
|
|
126
|
+
"""Returns true if both objects are equal"""
|
|
127
|
+
if not isinstance(other, DeleteGlobalEipTagRequest):
|
|
128
|
+
return False
|
|
129
|
+
|
|
130
|
+
return self.__dict__ == other.__dict__
|
|
131
|
+
|
|
132
|
+
def __ne__(self, other):
|
|
133
|
+
"""Returns true if both objects are not equal"""
|
|
134
|
+
return not self == other
|
|
@@ -0,0 +1,112 @@
|
|
|
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 DeleteGlobalEipTagResponse(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
|
+
'x_request_id': 'str'
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
attribute_map = {
|
|
25
|
+
'x_request_id': 'X-Request-Id'
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
def __init__(self, x_request_id=None):
|
|
29
|
+
r"""DeleteGlobalEipTagResponse
|
|
30
|
+
|
|
31
|
+
The model defined in huaweicloud sdk
|
|
32
|
+
|
|
33
|
+
:param x_request_id:
|
|
34
|
+
:type x_request_id: str
|
|
35
|
+
"""
|
|
36
|
+
|
|
37
|
+
super(DeleteGlobalEipTagResponse, self).__init__()
|
|
38
|
+
|
|
39
|
+
self._x_request_id = None
|
|
40
|
+
self.discriminator = None
|
|
41
|
+
|
|
42
|
+
if x_request_id is not None:
|
|
43
|
+
self.x_request_id = x_request_id
|
|
44
|
+
|
|
45
|
+
@property
|
|
46
|
+
def x_request_id(self):
|
|
47
|
+
r"""Gets the x_request_id of this DeleteGlobalEipTagResponse.
|
|
48
|
+
|
|
49
|
+
:return: The x_request_id of this DeleteGlobalEipTagResponse.
|
|
50
|
+
:rtype: str
|
|
51
|
+
"""
|
|
52
|
+
return self._x_request_id
|
|
53
|
+
|
|
54
|
+
@x_request_id.setter
|
|
55
|
+
def x_request_id(self, x_request_id):
|
|
56
|
+
r"""Sets the x_request_id of this DeleteGlobalEipTagResponse.
|
|
57
|
+
|
|
58
|
+
:param x_request_id: The x_request_id of this DeleteGlobalEipTagResponse.
|
|
59
|
+
:type x_request_id: str
|
|
60
|
+
"""
|
|
61
|
+
self._x_request_id = x_request_id
|
|
62
|
+
|
|
63
|
+
def to_dict(self):
|
|
64
|
+
"""Returns the model properties as a dict"""
|
|
65
|
+
result = {}
|
|
66
|
+
|
|
67
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
68
|
+
value = getattr(self, attr)
|
|
69
|
+
if isinstance(value, list):
|
|
70
|
+
result[attr] = list(map(
|
|
71
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
72
|
+
value
|
|
73
|
+
))
|
|
74
|
+
elif hasattr(value, "to_dict"):
|
|
75
|
+
result[attr] = value.to_dict()
|
|
76
|
+
elif isinstance(value, dict):
|
|
77
|
+
result[attr] = dict(map(
|
|
78
|
+
lambda item: (item[0], item[1].to_dict())
|
|
79
|
+
if hasattr(item[1], "to_dict") else item,
|
|
80
|
+
value.items()
|
|
81
|
+
))
|
|
82
|
+
else:
|
|
83
|
+
if attr in self.sensitive_list:
|
|
84
|
+
result[attr] = "****"
|
|
85
|
+
else:
|
|
86
|
+
result[attr] = value
|
|
87
|
+
|
|
88
|
+
return result
|
|
89
|
+
|
|
90
|
+
def to_str(self):
|
|
91
|
+
"""Returns the string representation of the model"""
|
|
92
|
+
import simplejson as json
|
|
93
|
+
if six.PY2:
|
|
94
|
+
import sys
|
|
95
|
+
reload(sys)
|
|
96
|
+
sys.setdefaultencoding("utf-8")
|
|
97
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
98
|
+
|
|
99
|
+
def __repr__(self):
|
|
100
|
+
"""For `print`"""
|
|
101
|
+
return self.to_str()
|
|
102
|
+
|
|
103
|
+
def __eq__(self, other):
|
|
104
|
+
"""Returns true if both objects are equal"""
|
|
105
|
+
if not isinstance(other, DeleteGlobalEipTagResponse):
|
|
106
|
+
return False
|
|
107
|
+
|
|
108
|
+
return self.__dict__ == other.__dict__
|
|
109
|
+
|
|
110
|
+
def __ne__(self, other):
|
|
111
|
+
"""Returns true if both objects are not equal"""
|
|
112
|
+
return not self == other
|