huaweicloudsdkgeip 3.1.177__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.
- 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 +128 -0
- huaweicloudsdkgeip/v3/model/add_geip_segment_tags_response.py +108 -0
- huaweicloudsdkgeip/v3/model/add_global_eip_tags_request.py +128 -0
- huaweicloudsdkgeip/v3/model/add_global_eip_tags_response.py +108 -0
- huaweicloudsdkgeip/v3/model/add_internet_bandwidth_tags_request.py +128 -0
- huaweicloudsdkgeip/v3/model/add_internet_bandwidth_tags_response.py +108 -0
- huaweicloudsdkgeip/v3/model/allowed_bandwidth_types.py +166 -0
- huaweicloudsdkgeip/v3/model/associate_geip_segment_instance_request.py +128 -0
- huaweicloudsdkgeip/v3/model/associate_geip_segment_instance_response.py +162 -0
- huaweicloudsdkgeip/v3/model/associate_instance_global_eip_request_body.py +128 -0
- huaweicloudsdkgeip/v3/model/associate_instance_global_eip_request_body_global_eip.py +129 -0
- huaweicloudsdkgeip/v3/model/associate_instance_global_eip_request_body_global_eip_associate_instance_info.py +253 -0
- huaweicloudsdkgeip/v3/model/associate_instance_global_eip_request_body_global_eip_gc_bandwidth_info.py +398 -0
- huaweicloudsdkgeip/v3/model/associate_instance_global_eip_segment_request_body.py +103 -0
- huaweicloudsdkgeip/v3/model/associate_instance_global_eip_segment_request_body_global_eip_segment.py +249 -0
- huaweicloudsdkgeip/v3/model/associate_instance_request.py +157 -0
- huaweicloudsdkgeip/v3/model/associate_instance_response.py +162 -0
- huaweicloudsdkgeip/v3/model/attach_internet_bandwidth.py +135 -0
- huaweicloudsdkgeip/v3/model/attach_internet_bandwidth_global_eip.py +734 -0
- huaweicloudsdkgeip/v3/model/attach_internet_bandwidth_global_eip_request_body.py +128 -0
- huaweicloudsdkgeip/v3/model/attach_internet_bandwidth_global_eip_request_body_global_eip.py +107 -0
- huaweicloudsdkgeip/v3/model/attach_internet_bandwidth_request.py +128 -0
- huaweicloudsdkgeip/v3/model/attach_internet_bandwidth_response.py +162 -0
- huaweicloudsdkgeip/v3/model/batch_attach_geip_segment_internet_bandwidth_request.py +104 -0
- huaweicloudsdkgeip/v3/model/batch_attach_geip_segment_internet_bandwidth_response.py +137 -0
- huaweicloudsdkgeip/v3/model/batch_attach_internet_bandwidth_request.py +104 -0
- huaweicloudsdkgeip/v3/model/batch_attach_internet_bandwidth_response.py +133 -0
- huaweicloudsdkgeip/v3/model/batch_attach_internet_bandwidths_global_eip_request_body.py +107 -0
- huaweicloudsdkgeip/v3/model/batch_attach_internet_bandwidths_global_eip_segment_request_body.py +107 -0
- huaweicloudsdkgeip/v3/model/batch_create_geip_segment_tags_request.py +128 -0
- huaweicloudsdkgeip/v3/model/batch_create_geip_segment_tags_response.py +108 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_job.py +166 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_request.py +104 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_request_body.py +128 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_request_body_global_eip.py +304 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_request_body_global_eip_internet_bandwidth_info.py +282 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_response.py +166 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_tags_request.py +128 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_tags_response.py +108 -0
- huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth.py +598 -0
- huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth_request.py +104 -0
- huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth_request_body.py +103 -0
- huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth_request_body_internet_bandwidth.py +395 -0
- huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth_response.py +166 -0
- huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth_tags_request.py +128 -0
- huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth_tags_response.py +108 -0
- huaweicloudsdkgeip/v3/model/batch_create_v2_request_body.py +136 -0
- huaweicloudsdkgeip/v3/model/batch_delete_geip_segment_tags_request.py +128 -0
- huaweicloudsdkgeip/v3/model/batch_delete_geip_segment_tags_response.py +108 -0
- huaweicloudsdkgeip/v3/model/batch_delete_global_eip_tags_request.py +128 -0
- huaweicloudsdkgeip/v3/model/batch_delete_global_eip_tags_response.py +108 -0
- huaweicloudsdkgeip/v3/model/batch_delete_internet_bandwidth_tags_request.py +128 -0
- huaweicloudsdkgeip/v3/model/batch_delete_internet_bandwidth_tags_response.py +108 -0
- huaweicloudsdkgeip/v3/model/batch_delete_v2_request_body.py +136 -0
- huaweicloudsdkgeip/v3/model/batch_delete_v2_request_body_tags.py +136 -0
- huaweicloudsdkgeip/v3/model/batch_detach_geip_segment_internet_bandwidth_request.py +104 -0
- huaweicloudsdkgeip/v3/model/batch_detach_geip_segment_internet_bandwidth_response.py +137 -0
- huaweicloudsdkgeip/v3/model/batch_detach_internet_bandwidth_request.py +104 -0
- huaweicloudsdkgeip/v3/model/batch_detach_internet_bandwidth_response.py +133 -0
- huaweicloudsdkgeip/v3/model/batch_detach_internet_bandwidths_global_eip_request_body.py +107 -0
- huaweicloudsdkgeip/v3/model/batch_detach_internet_bandwidths_global_eip_segment_request_body.py +107 -0
- huaweicloudsdkgeip/v3/model/batch_internet_bandwidths_global_eip_response_body.py +107 -0
- huaweicloudsdkgeip/v3/model/count_geip_segments.py +107 -0
- huaweicloudsdkgeip/v3/model/count_global_eip_segment_request.py +745 -0
- huaweicloudsdkgeip/v3/model/count_global_eip_segment_response.py +162 -0
- huaweicloudsdkgeip/v3/model/count_global_eips.py +107 -0
- huaweicloudsdkgeip/v3/model/count_global_eips_request.py +654 -0
- huaweicloudsdkgeip/v3/model/count_global_eips_response.py +162 -0
- huaweicloudsdkgeip/v3/model/count_internet_bandwidth_request.py +279 -0
- huaweicloudsdkgeip/v3/model/count_internet_bandwidth_response.py +162 -0
- huaweicloudsdkgeip/v3/model/count_internet_bandwidths.py +107 -0
- huaweicloudsdkgeip/v3/model/create_global_eip.py +135 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_request.py +104 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_request_body.py +128 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_request_body_global_eip.py +280 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_request_body_global_eip_tags.py +135 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_response.py +162 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_segment_request.py +104 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_segment_request_body.py +103 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_segment_request_body_global_eip_segment.py +304 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_segment_request_body_global_eip_segment_internet_bandwidth.py +282 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_segment_response.py +162 -0
- huaweicloudsdkgeip/v3/model/create_internet_bandwidth.py +684 -0
- huaweicloudsdkgeip/v3/model/create_internet_bandwidth_request.py +104 -0
- huaweicloudsdkgeip/v3/model/create_internet_bandwidth_request_body.py +103 -0
- huaweicloudsdkgeip/v3/model/create_internet_bandwidth_request_body_internet_bandwidth.py +365 -0
- huaweicloudsdkgeip/v3/model/create_internet_bandwidth_response.py +162 -0
- huaweicloudsdkgeip/v3/model/create_tag.py +136 -0
- huaweicloudsdkgeip/v3/model/create_user_disclaimer_record.py +166 -0
- huaweicloudsdkgeip/v3/model/create_user_disclaimer_request.py +77 -0
- huaweicloudsdkgeip/v3/model/create_user_disclaimer_response.py +162 -0
- huaweicloudsdkgeip/v3/model/create_v2_tag_request_body.py +103 -0
- huaweicloudsdkgeip/v3/model/create_v2_tag_request_body_tag.py +135 -0
- huaweicloudsdkgeip/v3/model/delete_geip_segment_tag_request.py +127 -0
- huaweicloudsdkgeip/v3/model/delete_geip_segment_tag_response.py +108 -0
- huaweicloudsdkgeip/v3/model/delete_global_eip_request.py +103 -0
- huaweicloudsdkgeip/v3/model/delete_global_eip_response.py +108 -0
- huaweicloudsdkgeip/v3/model/delete_global_eip_segment_request.py +103 -0
- huaweicloudsdkgeip/v3/model/delete_global_eip_segment_response.py +108 -0
- huaweicloudsdkgeip/v3/model/delete_global_eip_tag_request.py +127 -0
- huaweicloudsdkgeip/v3/model/delete_global_eip_tag_response.py +108 -0
- huaweicloudsdkgeip/v3/model/delete_internet_bandwidth_request.py +103 -0
- huaweicloudsdkgeip/v3/model/delete_internet_bandwidth_response.py +108 -0
- huaweicloudsdkgeip/v3/model/delete_internet_bandwidth_tag_request.py +127 -0
- huaweicloudsdkgeip/v3/model/delete_internet_bandwidth_tag_response.py +108 -0
- huaweicloudsdkgeip/v3/model/delete_user_disclaimer_request.py +77 -0
- huaweicloudsdkgeip/v3/model/delete_user_disclaimer_response.py +108 -0
- huaweicloudsdkgeip/v3/model/detach_internet_bandwidth.py +107 -0
- huaweicloudsdkgeip/v3/model/detach_internet_bandwidth_global_eips.py +734 -0
- huaweicloudsdkgeip/v3/model/detach_internet_bandwidth_request.py +128 -0
- huaweicloudsdkgeip/v3/model/detach_internet_bandwidth_response.py +162 -0
- huaweicloudsdkgeip/v3/model/disassociate_geip_segment_instance_request.py +103 -0
- huaweicloudsdkgeip/v3/model/disassociate_geip_segment_instance_response.py +162 -0
- huaweicloudsdkgeip/v3/model/disassociate_instance_request.py +131 -0
- huaweicloudsdkgeip/v3/model/disassociate_instance_response.py +162 -0
- huaweicloudsdkgeip/v3/model/ext_limit_pojo.py +166 -0
- huaweicloudsdkgeip/v3/model/geip_resource.py +191 -0
- huaweicloudsdkgeip/v3/model/geip_tags.py +135 -0
- huaweicloudsdkgeip/v3/model/get_account_tags_v2.py +135 -0
- huaweicloudsdkgeip/v3/model/global_connection_bandwidth_info.py +253 -0
- huaweicloudsdkgeip/v3/model/instance_info.py +340 -0
- huaweicloudsdkgeip/v3/model/internet_bandwidth_info.py +137 -0
- huaweicloudsdkgeip/v3/model/list_access_sites.py +311 -0
- huaweicloudsdkgeip/v3/model/list_access_sites_request.py +378 -0
- huaweicloudsdkgeip/v3/model/list_access_sites_response.py +191 -0
- huaweicloudsdkgeip/v3/model/list_geip_pools.py +427 -0
- huaweicloudsdkgeip/v3/model/list_geip_pools_request.py +453 -0
- huaweicloudsdkgeip/v3/model/list_geip_pools_response.py +191 -0
- huaweicloudsdkgeip/v3/model/list_geip_resource_quotas_request.py +245 -0
- huaweicloudsdkgeip/v3/model/list_geip_resource_quotas_response.py +162 -0
- huaweicloudsdkgeip/v3/model/list_geip_segment_count_filter_tags_request.py +104 -0
- huaweicloudsdkgeip/v3/model/list_geip_segment_count_filter_tags_response.py +166 -0
- huaweicloudsdkgeip/v3/model/list_geip_segment_domain_tags_request.py +77 -0
- huaweicloudsdkgeip/v3/model/list_geip_segment_domain_tags_response.py +195 -0
- huaweicloudsdkgeip/v3/model/list_geip_segment_filter_tags_request.py +162 -0
- huaweicloudsdkgeip/v3/model/list_geip_segment_filter_tags_response.py +195 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_count_filter_tags_request.py +104 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_count_filter_tags_response.py +166 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_domain_tags_request.py +77 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_domain_tags_response.py +195 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_filter_tags_request.py +154 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_filter_tags_response.py +195 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_segments.py +680 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_segments_request.py +853 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_segments_response.py +191 -0
- huaweicloudsdkgeip/v3/model/list_global_eips.py +734 -0
- huaweicloudsdkgeip/v3/model/list_global_eips_request.py +903 -0
- huaweicloudsdkgeip/v3/model/list_global_eips_response.py +191 -0
- huaweicloudsdkgeip/v3/model/list_global_eips_response_body_page_info.py +166 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_count_filter_tags_request.py +104 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_count_filter_tags_response.py +166 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_domain_tags_request.py +77 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_domain_tags_response.py +137 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_filter_tags_request.py +154 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_filter_tags_response.py +195 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_limits.py +249 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_limits_request.py +212 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_limits_response.py +166 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidths.py +746 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidths_request.py +528 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidths_response.py +191 -0
- huaweicloudsdkgeip/v3/model/list_jobs.py +311 -0
- huaweicloudsdkgeip/v3/model/list_jobs_request.py +353 -0
- huaweicloudsdkgeip/v3/model/list_jobs_response.py +191 -0
- huaweicloudsdkgeip/v3/model/list_quotas.py +107 -0
- huaweicloudsdkgeip/v3/model/list_resources_by_tags_request_body.py +107 -0
- huaweicloudsdkgeip/v3/model/list_support_instances_support_regions.py +311 -0
- huaweicloudsdkgeip/v3/model/list_support_masks.py +224 -0
- huaweicloudsdkgeip/v3/model/list_support_masks_request.py +353 -0
- huaweicloudsdkgeip/v3/model/list_support_masks_response.py +191 -0
- huaweicloudsdkgeip/v3/model/list_support_regions.py +340 -0
- huaweicloudsdkgeip/v3/model/list_support_regions_request.py +453 -0
- huaweicloudsdkgeip/v3/model/list_support_regions_response.py +191 -0
- huaweicloudsdkgeip/v3/model/list_tenant_geip_support_instances_request.py +128 -0
- huaweicloudsdkgeip/v3/model/list_tenant_geip_support_instances_response.py +166 -0
- huaweicloudsdkgeip/v3/model/lock_info.py +369 -0
- huaweicloudsdkgeip/v3/model/native_uuid.py +77 -0
- huaweicloudsdkgeip/v3/model/resources_info.py +195 -0
- huaweicloudsdkgeip/v3/model/short_global_eip_segment.py +137 -0
- huaweicloudsdkgeip/v3/model/show_geip_segment_tags_request.py +103 -0
- huaweicloudsdkgeip/v3/model/show_geip_segment_tags_response.py +195 -0
- huaweicloudsdkgeip/v3/model/show_global_eip.py +734 -0
- huaweicloudsdkgeip/v3/model/show_global_eip_request.py +128 -0
- huaweicloudsdkgeip/v3/model/show_global_eip_response.py +162 -0
- huaweicloudsdkgeip/v3/model/show_global_eip_segment.py +680 -0
- huaweicloudsdkgeip/v3/model/show_global_eip_segment_request.py +128 -0
- huaweicloudsdkgeip/v3/model/show_global_eip_segment_response.py +162 -0
- huaweicloudsdkgeip/v3/model/show_global_eip_tags_request.py +103 -0
- huaweicloudsdkgeip/v3/model/show_global_eip_tags_response.py +195 -0
- huaweicloudsdkgeip/v3/model/show_internet_bandwidth.py +688 -0
- huaweicloudsdkgeip/v3/model/show_internet_bandwidth_request.py +128 -0
- huaweicloudsdkgeip/v3/model/show_internet_bandwidth_response.py +162 -0
- huaweicloudsdkgeip/v3/model/show_internet_bandwidth_tags_request.py +103 -0
- huaweicloudsdkgeip/v3/model/show_internet_bandwidth_tags_response.py +195 -0
- huaweicloudsdkgeip/v3/model/show_job.py +311 -0
- huaweicloudsdkgeip/v3/model/show_jobs_request.py +132 -0
- huaweicloudsdkgeip/v3/model/show_jobs_response.py +162 -0
- huaweicloudsdkgeip/v3/model/show_user_disclaimer_record.py +166 -0
- huaweicloudsdkgeip/v3/model/show_user_disclaimer_request.py +104 -0
- huaweicloudsdkgeip/v3/model/show_user_disclaimer_response.py +162 -0
- huaweicloudsdkgeip/v3/model/sys_tag.py +135 -0
- huaweicloudsdkgeip/v3/model/tag.py +137 -0
- huaweicloudsdkgeip/v3/model/update_global_eip.py +137 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_request.py +128 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_request_body.py +128 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_request_body_global_eip.py +137 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_response.py +162 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_segment_request.py +128 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_segment_request_body.py +103 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_segment_request_body_global_eip_segment.py +137 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_segment_response.py +162 -0
- huaweicloudsdkgeip/v3/model/update_internet_bandwidth.py +630 -0
- huaweicloudsdkgeip/v3/model/update_internet_bandwidth_request.py +128 -0
- huaweicloudsdkgeip/v3/model/update_internet_bandwidth_request_body.py +103 -0
- huaweicloudsdkgeip/v3/model/update_internet_bandwidth_request_body_internet_bandwidth.py +224 -0
- huaweicloudsdkgeip/v3/model/update_internet_bandwidth_response.py +162 -0
- huaweicloudsdkgeip/v3/region/__init__.py +0 -0
- huaweicloudsdkgeip/v3/region/geip_region.py +31 -0
- huaweicloudsdkgeip-3.1.177.dist-info/METADATA +25 -0
- huaweicloudsdkgeip-3.1.177.dist-info/RECORD +227 -0
- huaweicloudsdkgeip-3.1.177.dist-info/WHEEL +4 -0
- huaweicloudsdkgeip-3.1.177.dist-info/licenses/LICENSE +13 -0
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class UpdateGlobalEip:
|
|
7
|
+
|
|
8
|
+
"""
|
|
9
|
+
Attributes:
|
|
10
|
+
openapi_types (dict): The key is attribute name
|
|
11
|
+
and the value is attribute type.
|
|
12
|
+
attribute_map (dict): The key is attribute name
|
|
13
|
+
and the value is json key in definition.
|
|
14
|
+
"""
|
|
15
|
+
sensitive_list = []
|
|
16
|
+
|
|
17
|
+
openapi_types = {
|
|
18
|
+
'id': 'str',
|
|
19
|
+
'name': 'str'
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
attribute_map = {
|
|
23
|
+
'id': 'id',
|
|
24
|
+
'name': 'name'
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
def __init__(self, id=None, name=None):
|
|
28
|
+
r"""UpdateGlobalEip
|
|
29
|
+
|
|
30
|
+
The model defined in huaweicloud sdk
|
|
31
|
+
|
|
32
|
+
:param id: 全域弹性公网IP的ID
|
|
33
|
+
:type id: str
|
|
34
|
+
:param name: - 功能说明:全域弹性公网IP名称 - 取值范围:1-64,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
|
|
35
|
+
:type name: str
|
|
36
|
+
"""
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
self._id = None
|
|
41
|
+
self._name = None
|
|
42
|
+
self.discriminator = None
|
|
43
|
+
|
|
44
|
+
if id is not None:
|
|
45
|
+
self.id = id
|
|
46
|
+
if name is not None:
|
|
47
|
+
self.name = name
|
|
48
|
+
|
|
49
|
+
@property
|
|
50
|
+
def id(self):
|
|
51
|
+
r"""Gets the id of this UpdateGlobalEip.
|
|
52
|
+
|
|
53
|
+
全域弹性公网IP的ID
|
|
54
|
+
|
|
55
|
+
:return: The id of this UpdateGlobalEip.
|
|
56
|
+
:rtype: str
|
|
57
|
+
"""
|
|
58
|
+
return self._id
|
|
59
|
+
|
|
60
|
+
@id.setter
|
|
61
|
+
def id(self, id):
|
|
62
|
+
r"""Sets the id of this UpdateGlobalEip.
|
|
63
|
+
|
|
64
|
+
全域弹性公网IP的ID
|
|
65
|
+
|
|
66
|
+
:param id: The id of this UpdateGlobalEip.
|
|
67
|
+
:type id: str
|
|
68
|
+
"""
|
|
69
|
+
self._id = id
|
|
70
|
+
|
|
71
|
+
@property
|
|
72
|
+
def name(self):
|
|
73
|
+
r"""Gets the name of this UpdateGlobalEip.
|
|
74
|
+
|
|
75
|
+
- 功能说明:全域弹性公网IP名称 - 取值范围:1-64,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
|
|
76
|
+
|
|
77
|
+
:return: The name of this UpdateGlobalEip.
|
|
78
|
+
:rtype: str
|
|
79
|
+
"""
|
|
80
|
+
return self._name
|
|
81
|
+
|
|
82
|
+
@name.setter
|
|
83
|
+
def name(self, name):
|
|
84
|
+
r"""Sets the name of this UpdateGlobalEip.
|
|
85
|
+
|
|
86
|
+
- 功能说明:全域弹性公网IP名称 - 取值范围:1-64,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
|
|
87
|
+
|
|
88
|
+
:param name: The name of this UpdateGlobalEip.
|
|
89
|
+
:type name: str
|
|
90
|
+
"""
|
|
91
|
+
self._name = name
|
|
92
|
+
|
|
93
|
+
def to_dict(self):
|
|
94
|
+
result = {}
|
|
95
|
+
|
|
96
|
+
for attr, _ in self.openapi_types.items():
|
|
97
|
+
value = getattr(self, attr)
|
|
98
|
+
if isinstance(value, list):
|
|
99
|
+
result[attr] = list(map(
|
|
100
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
101
|
+
value
|
|
102
|
+
))
|
|
103
|
+
elif hasattr(value, "to_dict"):
|
|
104
|
+
result[attr] = value.to_dict()
|
|
105
|
+
elif isinstance(value, dict):
|
|
106
|
+
result[attr] = dict(map(
|
|
107
|
+
lambda item: (item[0], item[1].to_dict())
|
|
108
|
+
if hasattr(item[1], "to_dict") else item,
|
|
109
|
+
value.items()
|
|
110
|
+
))
|
|
111
|
+
else:
|
|
112
|
+
if attr in self.sensitive_list:
|
|
113
|
+
result[attr] = "****"
|
|
114
|
+
else:
|
|
115
|
+
result[attr] = value
|
|
116
|
+
|
|
117
|
+
return result
|
|
118
|
+
|
|
119
|
+
def to_str(self):
|
|
120
|
+
"""Returns the string representation of the model"""
|
|
121
|
+
import simplejson as json
|
|
122
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
123
|
+
|
|
124
|
+
def __repr__(self):
|
|
125
|
+
"""For `print`"""
|
|
126
|
+
return self.to_str()
|
|
127
|
+
|
|
128
|
+
def __eq__(self, other):
|
|
129
|
+
"""Returns true if both objects are equal"""
|
|
130
|
+
if not isinstance(other, UpdateGlobalEip):
|
|
131
|
+
return False
|
|
132
|
+
|
|
133
|
+
return self.__dict__ == other.__dict__
|
|
134
|
+
|
|
135
|
+
def __ne__(self, other):
|
|
136
|
+
"""Returns true if both objects are not equal"""
|
|
137
|
+
return not self == other
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class UpdateGlobalEipRequest:
|
|
7
|
+
|
|
8
|
+
"""
|
|
9
|
+
Attributes:
|
|
10
|
+
openapi_types (dict): The key is attribute name
|
|
11
|
+
and the value is attribute type.
|
|
12
|
+
attribute_map (dict): The key is attribute name
|
|
13
|
+
and the value is json key in definition.
|
|
14
|
+
"""
|
|
15
|
+
sensitive_list = []
|
|
16
|
+
|
|
17
|
+
openapi_types = {
|
|
18
|
+
'global_eip_id': 'str',
|
|
19
|
+
'body': 'UpdateGlobalEipRequestBody'
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
attribute_map = {
|
|
23
|
+
'global_eip_id': 'global_eip_id',
|
|
24
|
+
'body': 'body'
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
def __init__(self, global_eip_id=None, body=None):
|
|
28
|
+
r"""UpdateGlobalEipRequest
|
|
29
|
+
|
|
30
|
+
The model defined in huaweicloud sdk
|
|
31
|
+
|
|
32
|
+
:param global_eip_id:
|
|
33
|
+
:type global_eip_id: str
|
|
34
|
+
:param body: Body of the UpdateGlobalEipRequest
|
|
35
|
+
:type body: :class:`huaweicloudsdkgeip.v3.UpdateGlobalEipRequestBody`
|
|
36
|
+
"""
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
self._global_eip_id = None
|
|
41
|
+
self._body = None
|
|
42
|
+
self.discriminator = None
|
|
43
|
+
|
|
44
|
+
self.global_eip_id = global_eip_id
|
|
45
|
+
if body is not None:
|
|
46
|
+
self.body = body
|
|
47
|
+
|
|
48
|
+
@property
|
|
49
|
+
def global_eip_id(self):
|
|
50
|
+
r"""Gets the global_eip_id of this UpdateGlobalEipRequest.
|
|
51
|
+
|
|
52
|
+
:return: The global_eip_id of this UpdateGlobalEipRequest.
|
|
53
|
+
:rtype: str
|
|
54
|
+
"""
|
|
55
|
+
return self._global_eip_id
|
|
56
|
+
|
|
57
|
+
@global_eip_id.setter
|
|
58
|
+
def global_eip_id(self, global_eip_id):
|
|
59
|
+
r"""Sets the global_eip_id of this UpdateGlobalEipRequest.
|
|
60
|
+
|
|
61
|
+
:param global_eip_id: The global_eip_id of this UpdateGlobalEipRequest.
|
|
62
|
+
:type global_eip_id: str
|
|
63
|
+
"""
|
|
64
|
+
self._global_eip_id = global_eip_id
|
|
65
|
+
|
|
66
|
+
@property
|
|
67
|
+
def body(self):
|
|
68
|
+
r"""Gets the body of this UpdateGlobalEipRequest.
|
|
69
|
+
|
|
70
|
+
:return: The body of this UpdateGlobalEipRequest.
|
|
71
|
+
:rtype: :class:`huaweicloudsdkgeip.v3.UpdateGlobalEipRequestBody`
|
|
72
|
+
"""
|
|
73
|
+
return self._body
|
|
74
|
+
|
|
75
|
+
@body.setter
|
|
76
|
+
def body(self, body):
|
|
77
|
+
r"""Sets the body of this UpdateGlobalEipRequest.
|
|
78
|
+
|
|
79
|
+
:param body: The body of this UpdateGlobalEipRequest.
|
|
80
|
+
:type body: :class:`huaweicloudsdkgeip.v3.UpdateGlobalEipRequestBody`
|
|
81
|
+
"""
|
|
82
|
+
self._body = body
|
|
83
|
+
|
|
84
|
+
def to_dict(self):
|
|
85
|
+
result = {}
|
|
86
|
+
|
|
87
|
+
for attr, _ in self.openapi_types.items():
|
|
88
|
+
value = getattr(self, attr)
|
|
89
|
+
if isinstance(value, list):
|
|
90
|
+
result[attr] = list(map(
|
|
91
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
92
|
+
value
|
|
93
|
+
))
|
|
94
|
+
elif hasattr(value, "to_dict"):
|
|
95
|
+
result[attr] = value.to_dict()
|
|
96
|
+
elif isinstance(value, dict):
|
|
97
|
+
result[attr] = dict(map(
|
|
98
|
+
lambda item: (item[0], item[1].to_dict())
|
|
99
|
+
if hasattr(item[1], "to_dict") else item,
|
|
100
|
+
value.items()
|
|
101
|
+
))
|
|
102
|
+
else:
|
|
103
|
+
if attr in self.sensitive_list:
|
|
104
|
+
result[attr] = "****"
|
|
105
|
+
else:
|
|
106
|
+
result[attr] = value
|
|
107
|
+
|
|
108
|
+
return result
|
|
109
|
+
|
|
110
|
+
def to_str(self):
|
|
111
|
+
"""Returns the string representation of the model"""
|
|
112
|
+
import simplejson as json
|
|
113
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
114
|
+
|
|
115
|
+
def __repr__(self):
|
|
116
|
+
"""For `print`"""
|
|
117
|
+
return self.to_str()
|
|
118
|
+
|
|
119
|
+
def __eq__(self, other):
|
|
120
|
+
"""Returns true if both objects are equal"""
|
|
121
|
+
if not isinstance(other, UpdateGlobalEipRequest):
|
|
122
|
+
return False
|
|
123
|
+
|
|
124
|
+
return self.__dict__ == other.__dict__
|
|
125
|
+
|
|
126
|
+
def __ne__(self, other):
|
|
127
|
+
"""Returns true if both objects are not equal"""
|
|
128
|
+
return not self == other
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class UpdateGlobalEipRequestBody:
|
|
7
|
+
|
|
8
|
+
"""
|
|
9
|
+
Attributes:
|
|
10
|
+
openapi_types (dict): The key is attribute name
|
|
11
|
+
and the value is attribute type.
|
|
12
|
+
attribute_map (dict): The key is attribute name
|
|
13
|
+
and the value is json key in definition.
|
|
14
|
+
"""
|
|
15
|
+
sensitive_list = []
|
|
16
|
+
|
|
17
|
+
openapi_types = {
|
|
18
|
+
'dry_run': 'bool',
|
|
19
|
+
'global_eip': 'UpdateGlobalEipRequestBodyGlobalEip'
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
attribute_map = {
|
|
23
|
+
'dry_run': 'dry_run',
|
|
24
|
+
'global_eip': 'global_eip'
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
def __init__(self, dry_run=None, global_eip=None):
|
|
28
|
+
r"""UpdateGlobalEipRequestBody
|
|
29
|
+
|
|
30
|
+
The model defined in huaweicloud sdk
|
|
31
|
+
|
|
32
|
+
:param dry_run:
|
|
33
|
+
:type dry_run: bool
|
|
34
|
+
:param global_eip:
|
|
35
|
+
:type global_eip: :class:`huaweicloudsdkgeip.v3.UpdateGlobalEipRequestBodyGlobalEip`
|
|
36
|
+
"""
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
self._dry_run = None
|
|
41
|
+
self._global_eip = None
|
|
42
|
+
self.discriminator = None
|
|
43
|
+
|
|
44
|
+
if dry_run is not None:
|
|
45
|
+
self.dry_run = dry_run
|
|
46
|
+
self.global_eip = global_eip
|
|
47
|
+
|
|
48
|
+
@property
|
|
49
|
+
def dry_run(self):
|
|
50
|
+
r"""Gets the dry_run of this UpdateGlobalEipRequestBody.
|
|
51
|
+
|
|
52
|
+
:return: The dry_run of this UpdateGlobalEipRequestBody.
|
|
53
|
+
:rtype: bool
|
|
54
|
+
"""
|
|
55
|
+
return self._dry_run
|
|
56
|
+
|
|
57
|
+
@dry_run.setter
|
|
58
|
+
def dry_run(self, dry_run):
|
|
59
|
+
r"""Sets the dry_run of this UpdateGlobalEipRequestBody.
|
|
60
|
+
|
|
61
|
+
:param dry_run: The dry_run of this UpdateGlobalEipRequestBody.
|
|
62
|
+
:type dry_run: bool
|
|
63
|
+
"""
|
|
64
|
+
self._dry_run = dry_run
|
|
65
|
+
|
|
66
|
+
@property
|
|
67
|
+
def global_eip(self):
|
|
68
|
+
r"""Gets the global_eip of this UpdateGlobalEipRequestBody.
|
|
69
|
+
|
|
70
|
+
:return: The global_eip of this UpdateGlobalEipRequestBody.
|
|
71
|
+
:rtype: :class:`huaweicloudsdkgeip.v3.UpdateGlobalEipRequestBodyGlobalEip`
|
|
72
|
+
"""
|
|
73
|
+
return self._global_eip
|
|
74
|
+
|
|
75
|
+
@global_eip.setter
|
|
76
|
+
def global_eip(self, global_eip):
|
|
77
|
+
r"""Sets the global_eip of this UpdateGlobalEipRequestBody.
|
|
78
|
+
|
|
79
|
+
:param global_eip: The global_eip of this UpdateGlobalEipRequestBody.
|
|
80
|
+
:type global_eip: :class:`huaweicloudsdkgeip.v3.UpdateGlobalEipRequestBodyGlobalEip`
|
|
81
|
+
"""
|
|
82
|
+
self._global_eip = global_eip
|
|
83
|
+
|
|
84
|
+
def to_dict(self):
|
|
85
|
+
result = {}
|
|
86
|
+
|
|
87
|
+
for attr, _ in self.openapi_types.items():
|
|
88
|
+
value = getattr(self, attr)
|
|
89
|
+
if isinstance(value, list):
|
|
90
|
+
result[attr] = list(map(
|
|
91
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
92
|
+
value
|
|
93
|
+
))
|
|
94
|
+
elif hasattr(value, "to_dict"):
|
|
95
|
+
result[attr] = value.to_dict()
|
|
96
|
+
elif isinstance(value, dict):
|
|
97
|
+
result[attr] = dict(map(
|
|
98
|
+
lambda item: (item[0], item[1].to_dict())
|
|
99
|
+
if hasattr(item[1], "to_dict") else item,
|
|
100
|
+
value.items()
|
|
101
|
+
))
|
|
102
|
+
else:
|
|
103
|
+
if attr in self.sensitive_list:
|
|
104
|
+
result[attr] = "****"
|
|
105
|
+
else:
|
|
106
|
+
result[attr] = value
|
|
107
|
+
|
|
108
|
+
return result
|
|
109
|
+
|
|
110
|
+
def to_str(self):
|
|
111
|
+
"""Returns the string representation of the model"""
|
|
112
|
+
import simplejson as json
|
|
113
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
114
|
+
|
|
115
|
+
def __repr__(self):
|
|
116
|
+
"""For `print`"""
|
|
117
|
+
return self.to_str()
|
|
118
|
+
|
|
119
|
+
def __eq__(self, other):
|
|
120
|
+
"""Returns true if both objects are equal"""
|
|
121
|
+
if not isinstance(other, UpdateGlobalEipRequestBody):
|
|
122
|
+
return False
|
|
123
|
+
|
|
124
|
+
return self.__dict__ == other.__dict__
|
|
125
|
+
|
|
126
|
+
def __ne__(self, other):
|
|
127
|
+
"""Returns true if both objects are not equal"""
|
|
128
|
+
return not self == other
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class UpdateGlobalEipRequestBodyGlobalEip:
|
|
7
|
+
|
|
8
|
+
"""
|
|
9
|
+
Attributes:
|
|
10
|
+
openapi_types (dict): The key is attribute name
|
|
11
|
+
and the value is attribute type.
|
|
12
|
+
attribute_map (dict): The key is attribute name
|
|
13
|
+
and the value is json key in definition.
|
|
14
|
+
"""
|
|
15
|
+
sensitive_list = []
|
|
16
|
+
|
|
17
|
+
openapi_types = {
|
|
18
|
+
'name': 'str',
|
|
19
|
+
'description': 'str'
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
attribute_map = {
|
|
23
|
+
'name': 'name',
|
|
24
|
+
'description': 'description'
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
def __init__(self, name=None, description=None):
|
|
28
|
+
r"""UpdateGlobalEipRequestBodyGlobalEip
|
|
29
|
+
|
|
30
|
+
The model defined in huaweicloud sdk
|
|
31
|
+
|
|
32
|
+
:param name: - 功能说明:全域弹性公网IP名称 - 取值范围:1-64,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
|
|
33
|
+
:type name: str
|
|
34
|
+
:param description: - 功能说明:用户自定义的资源描述 - 约束: - 值的长度最大512字符,由数字、字母、中文、_(下划线)、-(中划线)、.(点)组成。
|
|
35
|
+
:type description: str
|
|
36
|
+
"""
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
self._name = None
|
|
41
|
+
self._description = None
|
|
42
|
+
self.discriminator = None
|
|
43
|
+
|
|
44
|
+
if name is not None:
|
|
45
|
+
self.name = name
|
|
46
|
+
if description is not None:
|
|
47
|
+
self.description = description
|
|
48
|
+
|
|
49
|
+
@property
|
|
50
|
+
def name(self):
|
|
51
|
+
r"""Gets the name of this UpdateGlobalEipRequestBodyGlobalEip.
|
|
52
|
+
|
|
53
|
+
- 功能说明:全域弹性公网IP名称 - 取值范围:1-64,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
|
|
54
|
+
|
|
55
|
+
:return: The name of this UpdateGlobalEipRequestBodyGlobalEip.
|
|
56
|
+
:rtype: str
|
|
57
|
+
"""
|
|
58
|
+
return self._name
|
|
59
|
+
|
|
60
|
+
@name.setter
|
|
61
|
+
def name(self, name):
|
|
62
|
+
r"""Sets the name of this UpdateGlobalEipRequestBodyGlobalEip.
|
|
63
|
+
|
|
64
|
+
- 功能说明:全域弹性公网IP名称 - 取值范围:1-64,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
|
|
65
|
+
|
|
66
|
+
:param name: The name of this UpdateGlobalEipRequestBodyGlobalEip.
|
|
67
|
+
:type name: str
|
|
68
|
+
"""
|
|
69
|
+
self._name = name
|
|
70
|
+
|
|
71
|
+
@property
|
|
72
|
+
def description(self):
|
|
73
|
+
r"""Gets the description of this UpdateGlobalEipRequestBodyGlobalEip.
|
|
74
|
+
|
|
75
|
+
- 功能说明:用户自定义的资源描述 - 约束: - 值的长度最大512字符,由数字、字母、中文、_(下划线)、-(中划线)、.(点)组成。
|
|
76
|
+
|
|
77
|
+
:return: The description of this UpdateGlobalEipRequestBodyGlobalEip.
|
|
78
|
+
:rtype: str
|
|
79
|
+
"""
|
|
80
|
+
return self._description
|
|
81
|
+
|
|
82
|
+
@description.setter
|
|
83
|
+
def description(self, description):
|
|
84
|
+
r"""Sets the description of this UpdateGlobalEipRequestBodyGlobalEip.
|
|
85
|
+
|
|
86
|
+
- 功能说明:用户自定义的资源描述 - 约束: - 值的长度最大512字符,由数字、字母、中文、_(下划线)、-(中划线)、.(点)组成。
|
|
87
|
+
|
|
88
|
+
:param description: The description of this UpdateGlobalEipRequestBodyGlobalEip.
|
|
89
|
+
:type description: str
|
|
90
|
+
"""
|
|
91
|
+
self._description = description
|
|
92
|
+
|
|
93
|
+
def to_dict(self):
|
|
94
|
+
result = {}
|
|
95
|
+
|
|
96
|
+
for attr, _ in self.openapi_types.items():
|
|
97
|
+
value = getattr(self, attr)
|
|
98
|
+
if isinstance(value, list):
|
|
99
|
+
result[attr] = list(map(
|
|
100
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
101
|
+
value
|
|
102
|
+
))
|
|
103
|
+
elif hasattr(value, "to_dict"):
|
|
104
|
+
result[attr] = value.to_dict()
|
|
105
|
+
elif isinstance(value, dict):
|
|
106
|
+
result[attr] = dict(map(
|
|
107
|
+
lambda item: (item[0], item[1].to_dict())
|
|
108
|
+
if hasattr(item[1], "to_dict") else item,
|
|
109
|
+
value.items()
|
|
110
|
+
))
|
|
111
|
+
else:
|
|
112
|
+
if attr in self.sensitive_list:
|
|
113
|
+
result[attr] = "****"
|
|
114
|
+
else:
|
|
115
|
+
result[attr] = value
|
|
116
|
+
|
|
117
|
+
return result
|
|
118
|
+
|
|
119
|
+
def to_str(self):
|
|
120
|
+
"""Returns the string representation of the model"""
|
|
121
|
+
import simplejson as json
|
|
122
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
123
|
+
|
|
124
|
+
def __repr__(self):
|
|
125
|
+
"""For `print`"""
|
|
126
|
+
return self.to_str()
|
|
127
|
+
|
|
128
|
+
def __eq__(self, other):
|
|
129
|
+
"""Returns true if both objects are equal"""
|
|
130
|
+
if not isinstance(other, UpdateGlobalEipRequestBodyGlobalEip):
|
|
131
|
+
return False
|
|
132
|
+
|
|
133
|
+
return self.__dict__ == other.__dict__
|
|
134
|
+
|
|
135
|
+
def __ne__(self, other):
|
|
136
|
+
"""Returns true if both objects are not equal"""
|
|
137
|
+
return not self == other
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.sdk_response import SdkResponse
|
|
4
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
class UpdateGlobalEipResponse(SdkResponse):
|
|
8
|
+
|
|
9
|
+
"""
|
|
10
|
+
Attributes:
|
|
11
|
+
openapi_types (dict): The key is attribute name
|
|
12
|
+
and the value is attribute type.
|
|
13
|
+
attribute_map (dict): The key is attribute name
|
|
14
|
+
and the value is json key in definition.
|
|
15
|
+
"""
|
|
16
|
+
sensitive_list = []
|
|
17
|
+
|
|
18
|
+
openapi_types = {
|
|
19
|
+
'global_eip': 'UpdateGlobalEip',
|
|
20
|
+
'job_id': 'str',
|
|
21
|
+
'x_request_id': 'str'
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
attribute_map = {
|
|
25
|
+
'global_eip': 'global_eip',
|
|
26
|
+
'job_id': 'job_id',
|
|
27
|
+
'x_request_id': 'X-Request-Id'
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
def __init__(self, global_eip=None, job_id=None, x_request_id=None):
|
|
31
|
+
r"""UpdateGlobalEipResponse
|
|
32
|
+
|
|
33
|
+
The model defined in huaweicloud sdk
|
|
34
|
+
|
|
35
|
+
:param global_eip:
|
|
36
|
+
:type global_eip: :class:`huaweicloudsdkgeip.v3.UpdateGlobalEip`
|
|
37
|
+
:param job_id: 本次请求的job id
|
|
38
|
+
:type job_id: str
|
|
39
|
+
:param x_request_id:
|
|
40
|
+
:type x_request_id: str
|
|
41
|
+
"""
|
|
42
|
+
|
|
43
|
+
super().__init__()
|
|
44
|
+
|
|
45
|
+
self._global_eip = None
|
|
46
|
+
self._job_id = None
|
|
47
|
+
self._x_request_id = None
|
|
48
|
+
self.discriminator = None
|
|
49
|
+
|
|
50
|
+
if global_eip is not None:
|
|
51
|
+
self.global_eip = global_eip
|
|
52
|
+
if job_id is not None:
|
|
53
|
+
self.job_id = job_id
|
|
54
|
+
if x_request_id is not None:
|
|
55
|
+
self.x_request_id = x_request_id
|
|
56
|
+
|
|
57
|
+
@property
|
|
58
|
+
def global_eip(self):
|
|
59
|
+
r"""Gets the global_eip of this UpdateGlobalEipResponse.
|
|
60
|
+
|
|
61
|
+
:return: The global_eip of this UpdateGlobalEipResponse.
|
|
62
|
+
:rtype: :class:`huaweicloudsdkgeip.v3.UpdateGlobalEip`
|
|
63
|
+
"""
|
|
64
|
+
return self._global_eip
|
|
65
|
+
|
|
66
|
+
@global_eip.setter
|
|
67
|
+
def global_eip(self, global_eip):
|
|
68
|
+
r"""Sets the global_eip of this UpdateGlobalEipResponse.
|
|
69
|
+
|
|
70
|
+
:param global_eip: The global_eip of this UpdateGlobalEipResponse.
|
|
71
|
+
:type global_eip: :class:`huaweicloudsdkgeip.v3.UpdateGlobalEip`
|
|
72
|
+
"""
|
|
73
|
+
self._global_eip = global_eip
|
|
74
|
+
|
|
75
|
+
@property
|
|
76
|
+
def job_id(self):
|
|
77
|
+
r"""Gets the job_id of this UpdateGlobalEipResponse.
|
|
78
|
+
|
|
79
|
+
本次请求的job id
|
|
80
|
+
|
|
81
|
+
:return: The job_id of this UpdateGlobalEipResponse.
|
|
82
|
+
:rtype: str
|
|
83
|
+
"""
|
|
84
|
+
return self._job_id
|
|
85
|
+
|
|
86
|
+
@job_id.setter
|
|
87
|
+
def job_id(self, job_id):
|
|
88
|
+
r"""Sets the job_id of this UpdateGlobalEipResponse.
|
|
89
|
+
|
|
90
|
+
本次请求的job id
|
|
91
|
+
|
|
92
|
+
:param job_id: The job_id of this UpdateGlobalEipResponse.
|
|
93
|
+
:type job_id: str
|
|
94
|
+
"""
|
|
95
|
+
self._job_id = job_id
|
|
96
|
+
|
|
97
|
+
@property
|
|
98
|
+
def x_request_id(self):
|
|
99
|
+
r"""Gets the x_request_id of this UpdateGlobalEipResponse.
|
|
100
|
+
|
|
101
|
+
:return: The x_request_id of this UpdateGlobalEipResponse.
|
|
102
|
+
:rtype: str
|
|
103
|
+
"""
|
|
104
|
+
return self._x_request_id
|
|
105
|
+
|
|
106
|
+
@x_request_id.setter
|
|
107
|
+
def x_request_id(self, x_request_id):
|
|
108
|
+
r"""Sets the x_request_id of this UpdateGlobalEipResponse.
|
|
109
|
+
|
|
110
|
+
:param x_request_id: The x_request_id of this UpdateGlobalEipResponse.
|
|
111
|
+
:type x_request_id: str
|
|
112
|
+
"""
|
|
113
|
+
self._x_request_id = x_request_id
|
|
114
|
+
|
|
115
|
+
def to_dict(self):
|
|
116
|
+
import warnings
|
|
117
|
+
warnings.warn("UpdateGlobalEipResponse.to_dict() is deprecated and no longer maintained, "
|
|
118
|
+
"use to_json_object() to get the response content.", DeprecationWarning)
|
|
119
|
+
result = {}
|
|
120
|
+
|
|
121
|
+
for attr, _ in self.openapi_types.items():
|
|
122
|
+
value = getattr(self, attr)
|
|
123
|
+
if isinstance(value, list):
|
|
124
|
+
result[attr] = list(map(
|
|
125
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
126
|
+
value
|
|
127
|
+
))
|
|
128
|
+
elif hasattr(value, "to_dict"):
|
|
129
|
+
result[attr] = value.to_dict()
|
|
130
|
+
elif isinstance(value, dict):
|
|
131
|
+
result[attr] = dict(map(
|
|
132
|
+
lambda item: (item[0], item[1].to_dict())
|
|
133
|
+
if hasattr(item[1], "to_dict") else item,
|
|
134
|
+
value.items()
|
|
135
|
+
))
|
|
136
|
+
else:
|
|
137
|
+
if attr in self.sensitive_list:
|
|
138
|
+
result[attr] = "****"
|
|
139
|
+
else:
|
|
140
|
+
result[attr] = value
|
|
141
|
+
|
|
142
|
+
return result
|
|
143
|
+
|
|
144
|
+
def to_str(self):
|
|
145
|
+
"""Returns the string representation of the model"""
|
|
146
|
+
import simplejson as json
|
|
147
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
148
|
+
|
|
149
|
+
def __repr__(self):
|
|
150
|
+
"""For `print`"""
|
|
151
|
+
return self.to_str()
|
|
152
|
+
|
|
153
|
+
def __eq__(self, other):
|
|
154
|
+
"""Returns true if both objects are equal"""
|
|
155
|
+
if not isinstance(other, UpdateGlobalEipResponse):
|
|
156
|
+
return False
|
|
157
|
+
|
|
158
|
+
return self.__dict__ == other.__dict__
|
|
159
|
+
|
|
160
|
+
def __ne__(self, other):
|
|
161
|
+
"""Returns true if both objects are not equal"""
|
|
162
|
+
return not self == other
|