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,287 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class CreateGlobalEipRequestBodyGlobalEip:
|
|
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
|
+
'name': 'str',
|
|
21
|
+
'description': 'str',
|
|
22
|
+
'geip_pool_name': 'str',
|
|
23
|
+
'access_site': 'str',
|
|
24
|
+
'internet_bandwidth_id': 'str',
|
|
25
|
+
'tags': 'list[CreateGlobalEipRequestBodyGlobalEipTags]',
|
|
26
|
+
'enterprise_project_id': 'str'
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
attribute_map = {
|
|
30
|
+
'name': 'name',
|
|
31
|
+
'description': 'description',
|
|
32
|
+
'geip_pool_name': 'geip_pool_name',
|
|
33
|
+
'access_site': 'access_site',
|
|
34
|
+
'internet_bandwidth_id': 'internet_bandwidth_id',
|
|
35
|
+
'tags': 'tags',
|
|
36
|
+
'enterprise_project_id': 'enterprise_project_id'
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
def __init__(self, name=None, description=None, geip_pool_name=None, access_site=None, internet_bandwidth_id=None, tags=None, enterprise_project_id=None):
|
|
40
|
+
r"""CreateGlobalEipRequestBodyGlobalEip
|
|
41
|
+
|
|
42
|
+
The model defined in huaweicloud sdk
|
|
43
|
+
|
|
44
|
+
:param name: - 功能说明:全域弹性公网IP段名称 - 取值范围:1-64,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
|
|
45
|
+
:type name: str
|
|
46
|
+
:param description: - 功能说明:用户自定义的资源描述 - 约束: - 值的长度最大512字符,由数字、字母、中文、_(下划线)、-(中划线)、.(点)组成。
|
|
47
|
+
:type description: str
|
|
48
|
+
:param geip_pool_name: 全域弹性公网IP池子名称
|
|
49
|
+
:type geip_pool_name: str
|
|
50
|
+
:param access_site: 接入点信息
|
|
51
|
+
:type access_site: str
|
|
52
|
+
:param internet_bandwidth_id: 全域公网带宽的ID
|
|
53
|
+
:type internet_bandwidth_id: str
|
|
54
|
+
:param tags: 全域弹性公网IP标签
|
|
55
|
+
:type tags: list[:class:`huaweicloudsdkgeip.v3.CreateGlobalEipRequestBodyGlobalEipTags`]
|
|
56
|
+
:param enterprise_project_id: - 企业项目ID。最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。 - 创建全域弹性公网IP时,给全域弹性公网IP绑定企业项目ID。 - 不指定该参数时,默认值是 0 - 关于企业项目ID的获取及企业项目特性的详细信息,请参见[《企业管理用户指南》](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)。
|
|
57
|
+
:type enterprise_project_id: str
|
|
58
|
+
"""
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
self._name = None
|
|
63
|
+
self._description = None
|
|
64
|
+
self._geip_pool_name = None
|
|
65
|
+
self._access_site = None
|
|
66
|
+
self._internet_bandwidth_id = None
|
|
67
|
+
self._tags = None
|
|
68
|
+
self._enterprise_project_id = None
|
|
69
|
+
self.discriminator = None
|
|
70
|
+
|
|
71
|
+
if name is not None:
|
|
72
|
+
self.name = name
|
|
73
|
+
if description is not None:
|
|
74
|
+
self.description = description
|
|
75
|
+
self.geip_pool_name = geip_pool_name
|
|
76
|
+
self.access_site = access_site
|
|
77
|
+
if internet_bandwidth_id is not None:
|
|
78
|
+
self.internet_bandwidth_id = internet_bandwidth_id
|
|
79
|
+
if tags is not None:
|
|
80
|
+
self.tags = tags
|
|
81
|
+
if enterprise_project_id is not None:
|
|
82
|
+
self.enterprise_project_id = enterprise_project_id
|
|
83
|
+
|
|
84
|
+
@property
|
|
85
|
+
def name(self):
|
|
86
|
+
r"""Gets the name of this CreateGlobalEipRequestBodyGlobalEip.
|
|
87
|
+
|
|
88
|
+
- 功能说明:全域弹性公网IP段名称 - 取值范围:1-64,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
|
|
89
|
+
|
|
90
|
+
:return: The name of this CreateGlobalEipRequestBodyGlobalEip.
|
|
91
|
+
:rtype: str
|
|
92
|
+
"""
|
|
93
|
+
return self._name
|
|
94
|
+
|
|
95
|
+
@name.setter
|
|
96
|
+
def name(self, name):
|
|
97
|
+
r"""Sets the name of this CreateGlobalEipRequestBodyGlobalEip.
|
|
98
|
+
|
|
99
|
+
- 功能说明:全域弹性公网IP段名称 - 取值范围:1-64,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
|
|
100
|
+
|
|
101
|
+
:param name: The name of this CreateGlobalEipRequestBodyGlobalEip.
|
|
102
|
+
:type name: str
|
|
103
|
+
"""
|
|
104
|
+
self._name = name
|
|
105
|
+
|
|
106
|
+
@property
|
|
107
|
+
def description(self):
|
|
108
|
+
r"""Gets the description of this CreateGlobalEipRequestBodyGlobalEip.
|
|
109
|
+
|
|
110
|
+
- 功能说明:用户自定义的资源描述 - 约束: - 值的长度最大512字符,由数字、字母、中文、_(下划线)、-(中划线)、.(点)组成。
|
|
111
|
+
|
|
112
|
+
:return: The description of this CreateGlobalEipRequestBodyGlobalEip.
|
|
113
|
+
:rtype: str
|
|
114
|
+
"""
|
|
115
|
+
return self._description
|
|
116
|
+
|
|
117
|
+
@description.setter
|
|
118
|
+
def description(self, description):
|
|
119
|
+
r"""Sets the description of this CreateGlobalEipRequestBodyGlobalEip.
|
|
120
|
+
|
|
121
|
+
- 功能说明:用户自定义的资源描述 - 约束: - 值的长度最大512字符,由数字、字母、中文、_(下划线)、-(中划线)、.(点)组成。
|
|
122
|
+
|
|
123
|
+
:param description: The description of this CreateGlobalEipRequestBodyGlobalEip.
|
|
124
|
+
:type description: str
|
|
125
|
+
"""
|
|
126
|
+
self._description = description
|
|
127
|
+
|
|
128
|
+
@property
|
|
129
|
+
def geip_pool_name(self):
|
|
130
|
+
r"""Gets the geip_pool_name of this CreateGlobalEipRequestBodyGlobalEip.
|
|
131
|
+
|
|
132
|
+
全域弹性公网IP池子名称
|
|
133
|
+
|
|
134
|
+
:return: The geip_pool_name of this CreateGlobalEipRequestBodyGlobalEip.
|
|
135
|
+
:rtype: str
|
|
136
|
+
"""
|
|
137
|
+
return self._geip_pool_name
|
|
138
|
+
|
|
139
|
+
@geip_pool_name.setter
|
|
140
|
+
def geip_pool_name(self, geip_pool_name):
|
|
141
|
+
r"""Sets the geip_pool_name of this CreateGlobalEipRequestBodyGlobalEip.
|
|
142
|
+
|
|
143
|
+
全域弹性公网IP池子名称
|
|
144
|
+
|
|
145
|
+
:param geip_pool_name: The geip_pool_name of this CreateGlobalEipRequestBodyGlobalEip.
|
|
146
|
+
:type geip_pool_name: str
|
|
147
|
+
"""
|
|
148
|
+
self._geip_pool_name = geip_pool_name
|
|
149
|
+
|
|
150
|
+
@property
|
|
151
|
+
def access_site(self):
|
|
152
|
+
r"""Gets the access_site of this CreateGlobalEipRequestBodyGlobalEip.
|
|
153
|
+
|
|
154
|
+
接入点信息
|
|
155
|
+
|
|
156
|
+
:return: The access_site of this CreateGlobalEipRequestBodyGlobalEip.
|
|
157
|
+
:rtype: str
|
|
158
|
+
"""
|
|
159
|
+
return self._access_site
|
|
160
|
+
|
|
161
|
+
@access_site.setter
|
|
162
|
+
def access_site(self, access_site):
|
|
163
|
+
r"""Sets the access_site of this CreateGlobalEipRequestBodyGlobalEip.
|
|
164
|
+
|
|
165
|
+
接入点信息
|
|
166
|
+
|
|
167
|
+
:param access_site: The access_site of this CreateGlobalEipRequestBodyGlobalEip.
|
|
168
|
+
:type access_site: str
|
|
169
|
+
"""
|
|
170
|
+
self._access_site = access_site
|
|
171
|
+
|
|
172
|
+
@property
|
|
173
|
+
def internet_bandwidth_id(self):
|
|
174
|
+
r"""Gets the internet_bandwidth_id of this CreateGlobalEipRequestBodyGlobalEip.
|
|
175
|
+
|
|
176
|
+
全域公网带宽的ID
|
|
177
|
+
|
|
178
|
+
:return: The internet_bandwidth_id of this CreateGlobalEipRequestBodyGlobalEip.
|
|
179
|
+
:rtype: str
|
|
180
|
+
"""
|
|
181
|
+
return self._internet_bandwidth_id
|
|
182
|
+
|
|
183
|
+
@internet_bandwidth_id.setter
|
|
184
|
+
def internet_bandwidth_id(self, internet_bandwidth_id):
|
|
185
|
+
r"""Sets the internet_bandwidth_id of this CreateGlobalEipRequestBodyGlobalEip.
|
|
186
|
+
|
|
187
|
+
全域公网带宽的ID
|
|
188
|
+
|
|
189
|
+
:param internet_bandwidth_id: The internet_bandwidth_id of this CreateGlobalEipRequestBodyGlobalEip.
|
|
190
|
+
:type internet_bandwidth_id: str
|
|
191
|
+
"""
|
|
192
|
+
self._internet_bandwidth_id = internet_bandwidth_id
|
|
193
|
+
|
|
194
|
+
@property
|
|
195
|
+
def tags(self):
|
|
196
|
+
r"""Gets the tags of this CreateGlobalEipRequestBodyGlobalEip.
|
|
197
|
+
|
|
198
|
+
全域弹性公网IP标签
|
|
199
|
+
|
|
200
|
+
:return: The tags of this CreateGlobalEipRequestBodyGlobalEip.
|
|
201
|
+
:rtype: list[:class:`huaweicloudsdkgeip.v3.CreateGlobalEipRequestBodyGlobalEipTags`]
|
|
202
|
+
"""
|
|
203
|
+
return self._tags
|
|
204
|
+
|
|
205
|
+
@tags.setter
|
|
206
|
+
def tags(self, tags):
|
|
207
|
+
r"""Sets the tags of this CreateGlobalEipRequestBodyGlobalEip.
|
|
208
|
+
|
|
209
|
+
全域弹性公网IP标签
|
|
210
|
+
|
|
211
|
+
:param tags: The tags of this CreateGlobalEipRequestBodyGlobalEip.
|
|
212
|
+
:type tags: list[:class:`huaweicloudsdkgeip.v3.CreateGlobalEipRequestBodyGlobalEipTags`]
|
|
213
|
+
"""
|
|
214
|
+
self._tags = tags
|
|
215
|
+
|
|
216
|
+
@property
|
|
217
|
+
def enterprise_project_id(self):
|
|
218
|
+
r"""Gets the enterprise_project_id of this CreateGlobalEipRequestBodyGlobalEip.
|
|
219
|
+
|
|
220
|
+
- 企业项目ID。最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。 - 创建全域弹性公网IP时,给全域弹性公网IP绑定企业项目ID。 - 不指定该参数时,默认值是 0 - 关于企业项目ID的获取及企业项目特性的详细信息,请参见[《企业管理用户指南》](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)。
|
|
221
|
+
|
|
222
|
+
:return: The enterprise_project_id of this CreateGlobalEipRequestBodyGlobalEip.
|
|
223
|
+
:rtype: str
|
|
224
|
+
"""
|
|
225
|
+
return self._enterprise_project_id
|
|
226
|
+
|
|
227
|
+
@enterprise_project_id.setter
|
|
228
|
+
def enterprise_project_id(self, enterprise_project_id):
|
|
229
|
+
r"""Sets the enterprise_project_id of this CreateGlobalEipRequestBodyGlobalEip.
|
|
230
|
+
|
|
231
|
+
- 企业项目ID。最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。 - 创建全域弹性公网IP时,给全域弹性公网IP绑定企业项目ID。 - 不指定该参数时,默认值是 0 - 关于企业项目ID的获取及企业项目特性的详细信息,请参见[《企业管理用户指南》](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)。
|
|
232
|
+
|
|
233
|
+
:param enterprise_project_id: The enterprise_project_id of this CreateGlobalEipRequestBodyGlobalEip.
|
|
234
|
+
:type enterprise_project_id: str
|
|
235
|
+
"""
|
|
236
|
+
self._enterprise_project_id = enterprise_project_id
|
|
237
|
+
|
|
238
|
+
def to_dict(self):
|
|
239
|
+
"""Returns the model properties as a dict"""
|
|
240
|
+
result = {}
|
|
241
|
+
|
|
242
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
243
|
+
value = getattr(self, attr)
|
|
244
|
+
if isinstance(value, list):
|
|
245
|
+
result[attr] = list(map(
|
|
246
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
247
|
+
value
|
|
248
|
+
))
|
|
249
|
+
elif hasattr(value, "to_dict"):
|
|
250
|
+
result[attr] = value.to_dict()
|
|
251
|
+
elif isinstance(value, dict):
|
|
252
|
+
result[attr] = dict(map(
|
|
253
|
+
lambda item: (item[0], item[1].to_dict())
|
|
254
|
+
if hasattr(item[1], "to_dict") else item,
|
|
255
|
+
value.items()
|
|
256
|
+
))
|
|
257
|
+
else:
|
|
258
|
+
if attr in self.sensitive_list:
|
|
259
|
+
result[attr] = "****"
|
|
260
|
+
else:
|
|
261
|
+
result[attr] = value
|
|
262
|
+
|
|
263
|
+
return result
|
|
264
|
+
|
|
265
|
+
def to_str(self):
|
|
266
|
+
"""Returns the string representation of the model"""
|
|
267
|
+
import simplejson as json
|
|
268
|
+
if six.PY2:
|
|
269
|
+
import sys
|
|
270
|
+
reload(sys)
|
|
271
|
+
sys.setdefaultencoding("utf-8")
|
|
272
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
273
|
+
|
|
274
|
+
def __repr__(self):
|
|
275
|
+
"""For `print`"""
|
|
276
|
+
return self.to_str()
|
|
277
|
+
|
|
278
|
+
def __eq__(self, other):
|
|
279
|
+
"""Returns true if both objects are equal"""
|
|
280
|
+
if not isinstance(other, CreateGlobalEipRequestBodyGlobalEip):
|
|
281
|
+
return False
|
|
282
|
+
|
|
283
|
+
return self.__dict__ == other.__dict__
|
|
284
|
+
|
|
285
|
+
def __ne__(self, other):
|
|
286
|
+
"""Returns true if both objects are not equal"""
|
|
287
|
+
return not self == other
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class CreateGlobalEipRequestBodyGlobalEipTags:
|
|
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
|
+
'key': 'str',
|
|
21
|
+
'value': 'str'
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
attribute_map = {
|
|
25
|
+
'key': 'key',
|
|
26
|
+
'value': 'value'
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
def __init__(self, key=None, value=None):
|
|
30
|
+
r"""CreateGlobalEipRequestBodyGlobalEipTags
|
|
31
|
+
|
|
32
|
+
The model defined in huaweicloud sdk
|
|
33
|
+
|
|
34
|
+
:param key: - 功能说明:标签名称 - 约束: - 创建的预定义标签如果与已有的预定义标签完全相同,则会覆盖已有的预定义标签;若只有“键”相同,“值”不同,则为新创建的预定义标签。 - 键的长度最大36字符,由英文字母、数字、下划线、中划线、中文字符组成。 - 单个资源最多可以添加20个标签。
|
|
35
|
+
:type key: str
|
|
36
|
+
:param value: - 功能说明:标签值 - 约束: - 值的长度最大43字符,由英文字母、数字、下划线、点、中划线、中文字符组成。
|
|
37
|
+
:type value: str
|
|
38
|
+
"""
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
self._key = None
|
|
43
|
+
self._value = None
|
|
44
|
+
self.discriminator = None
|
|
45
|
+
|
|
46
|
+
self.key = key
|
|
47
|
+
self.value = value
|
|
48
|
+
|
|
49
|
+
@property
|
|
50
|
+
def key(self):
|
|
51
|
+
r"""Gets the key of this CreateGlobalEipRequestBodyGlobalEipTags.
|
|
52
|
+
|
|
53
|
+
- 功能说明:标签名称 - 约束: - 创建的预定义标签如果与已有的预定义标签完全相同,则会覆盖已有的预定义标签;若只有“键”相同,“值”不同,则为新创建的预定义标签。 - 键的长度最大36字符,由英文字母、数字、下划线、中划线、中文字符组成。 - 单个资源最多可以添加20个标签。
|
|
54
|
+
|
|
55
|
+
:return: The key of this CreateGlobalEipRequestBodyGlobalEipTags.
|
|
56
|
+
:rtype: str
|
|
57
|
+
"""
|
|
58
|
+
return self._key
|
|
59
|
+
|
|
60
|
+
@key.setter
|
|
61
|
+
def key(self, key):
|
|
62
|
+
r"""Sets the key of this CreateGlobalEipRequestBodyGlobalEipTags.
|
|
63
|
+
|
|
64
|
+
- 功能说明:标签名称 - 约束: - 创建的预定义标签如果与已有的预定义标签完全相同,则会覆盖已有的预定义标签;若只有“键”相同,“值”不同,则为新创建的预定义标签。 - 键的长度最大36字符,由英文字母、数字、下划线、中划线、中文字符组成。 - 单个资源最多可以添加20个标签。
|
|
65
|
+
|
|
66
|
+
:param key: The key of this CreateGlobalEipRequestBodyGlobalEipTags.
|
|
67
|
+
:type key: str
|
|
68
|
+
"""
|
|
69
|
+
self._key = key
|
|
70
|
+
|
|
71
|
+
@property
|
|
72
|
+
def value(self):
|
|
73
|
+
r"""Gets the value of this CreateGlobalEipRequestBodyGlobalEipTags.
|
|
74
|
+
|
|
75
|
+
- 功能说明:标签值 - 约束: - 值的长度最大43字符,由英文字母、数字、下划线、点、中划线、中文字符组成。
|
|
76
|
+
|
|
77
|
+
:return: The value of this CreateGlobalEipRequestBodyGlobalEipTags.
|
|
78
|
+
:rtype: str
|
|
79
|
+
"""
|
|
80
|
+
return self._value
|
|
81
|
+
|
|
82
|
+
@value.setter
|
|
83
|
+
def value(self, value):
|
|
84
|
+
r"""Sets the value of this CreateGlobalEipRequestBodyGlobalEipTags.
|
|
85
|
+
|
|
86
|
+
- 功能说明:标签值 - 约束: - 值的长度最大43字符,由英文字母、数字、下划线、点、中划线、中文字符组成。
|
|
87
|
+
|
|
88
|
+
:param value: The value of this CreateGlobalEipRequestBodyGlobalEipTags.
|
|
89
|
+
:type value: str
|
|
90
|
+
"""
|
|
91
|
+
self._value = value
|
|
92
|
+
|
|
93
|
+
def to_dict(self):
|
|
94
|
+
"""Returns the model properties as a dict"""
|
|
95
|
+
result = {}
|
|
96
|
+
|
|
97
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
98
|
+
value = getattr(self, attr)
|
|
99
|
+
if isinstance(value, list):
|
|
100
|
+
result[attr] = list(map(
|
|
101
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
102
|
+
value
|
|
103
|
+
))
|
|
104
|
+
elif hasattr(value, "to_dict"):
|
|
105
|
+
result[attr] = value.to_dict()
|
|
106
|
+
elif isinstance(value, dict):
|
|
107
|
+
result[attr] = dict(map(
|
|
108
|
+
lambda item: (item[0], item[1].to_dict())
|
|
109
|
+
if hasattr(item[1], "to_dict") else item,
|
|
110
|
+
value.items()
|
|
111
|
+
))
|
|
112
|
+
else:
|
|
113
|
+
if attr in self.sensitive_list:
|
|
114
|
+
result[attr] = "****"
|
|
115
|
+
else:
|
|
116
|
+
result[attr] = value
|
|
117
|
+
|
|
118
|
+
return result
|
|
119
|
+
|
|
120
|
+
def to_str(self):
|
|
121
|
+
"""Returns the string representation of the model"""
|
|
122
|
+
import simplejson as json
|
|
123
|
+
if six.PY2:
|
|
124
|
+
import sys
|
|
125
|
+
reload(sys)
|
|
126
|
+
sys.setdefaultencoding("utf-8")
|
|
127
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
128
|
+
|
|
129
|
+
def __repr__(self):
|
|
130
|
+
"""For `print`"""
|
|
131
|
+
return self.to_str()
|
|
132
|
+
|
|
133
|
+
def __eq__(self, other):
|
|
134
|
+
"""Returns true if both objects are equal"""
|
|
135
|
+
if not isinstance(other, CreateGlobalEipRequestBodyGlobalEipTags):
|
|
136
|
+
return False
|
|
137
|
+
|
|
138
|
+
return self.__dict__ == other.__dict__
|
|
139
|
+
|
|
140
|
+
def __ne__(self, other):
|
|
141
|
+
"""Returns true if both objects are not equal"""
|
|
142
|
+
return not self == other
|
|
@@ -0,0 +1,166 @@
|
|
|
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 CreateGlobalEipResponse(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
|
+
'job_id': 'str',
|
|
22
|
+
'global_eip': 'CreateGlobalEip',
|
|
23
|
+
'x_request_id': 'str'
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
attribute_map = {
|
|
27
|
+
'job_id': 'job_id',
|
|
28
|
+
'global_eip': 'global_eip',
|
|
29
|
+
'x_request_id': 'X-Request-Id'
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
def __init__(self, job_id=None, global_eip=None, x_request_id=None):
|
|
33
|
+
r"""CreateGlobalEipResponse
|
|
34
|
+
|
|
35
|
+
The model defined in huaweicloud sdk
|
|
36
|
+
|
|
37
|
+
:param job_id: 本次请求的job id
|
|
38
|
+
:type job_id: str
|
|
39
|
+
:param global_eip:
|
|
40
|
+
:type global_eip: :class:`huaweicloudsdkgeip.v3.CreateGlobalEip`
|
|
41
|
+
:param x_request_id:
|
|
42
|
+
:type x_request_id: str
|
|
43
|
+
"""
|
|
44
|
+
|
|
45
|
+
super(CreateGlobalEipResponse, self).__init__()
|
|
46
|
+
|
|
47
|
+
self._job_id = None
|
|
48
|
+
self._global_eip = None
|
|
49
|
+
self._x_request_id = None
|
|
50
|
+
self.discriminator = None
|
|
51
|
+
|
|
52
|
+
if job_id is not None:
|
|
53
|
+
self.job_id = job_id
|
|
54
|
+
if global_eip is not None:
|
|
55
|
+
self.global_eip = global_eip
|
|
56
|
+
if x_request_id is not None:
|
|
57
|
+
self.x_request_id = x_request_id
|
|
58
|
+
|
|
59
|
+
@property
|
|
60
|
+
def job_id(self):
|
|
61
|
+
r"""Gets the job_id of this CreateGlobalEipResponse.
|
|
62
|
+
|
|
63
|
+
本次请求的job id
|
|
64
|
+
|
|
65
|
+
:return: The job_id of this CreateGlobalEipResponse.
|
|
66
|
+
:rtype: str
|
|
67
|
+
"""
|
|
68
|
+
return self._job_id
|
|
69
|
+
|
|
70
|
+
@job_id.setter
|
|
71
|
+
def job_id(self, job_id):
|
|
72
|
+
r"""Sets the job_id of this CreateGlobalEipResponse.
|
|
73
|
+
|
|
74
|
+
本次请求的job id
|
|
75
|
+
|
|
76
|
+
:param job_id: The job_id of this CreateGlobalEipResponse.
|
|
77
|
+
:type job_id: str
|
|
78
|
+
"""
|
|
79
|
+
self._job_id = job_id
|
|
80
|
+
|
|
81
|
+
@property
|
|
82
|
+
def global_eip(self):
|
|
83
|
+
r"""Gets the global_eip of this CreateGlobalEipResponse.
|
|
84
|
+
|
|
85
|
+
:return: The global_eip of this CreateGlobalEipResponse.
|
|
86
|
+
:rtype: :class:`huaweicloudsdkgeip.v3.CreateGlobalEip`
|
|
87
|
+
"""
|
|
88
|
+
return self._global_eip
|
|
89
|
+
|
|
90
|
+
@global_eip.setter
|
|
91
|
+
def global_eip(self, global_eip):
|
|
92
|
+
r"""Sets the global_eip of this CreateGlobalEipResponse.
|
|
93
|
+
|
|
94
|
+
:param global_eip: The global_eip of this CreateGlobalEipResponse.
|
|
95
|
+
:type global_eip: :class:`huaweicloudsdkgeip.v3.CreateGlobalEip`
|
|
96
|
+
"""
|
|
97
|
+
self._global_eip = global_eip
|
|
98
|
+
|
|
99
|
+
@property
|
|
100
|
+
def x_request_id(self):
|
|
101
|
+
r"""Gets the x_request_id of this CreateGlobalEipResponse.
|
|
102
|
+
|
|
103
|
+
:return: The x_request_id of this CreateGlobalEipResponse.
|
|
104
|
+
:rtype: str
|
|
105
|
+
"""
|
|
106
|
+
return self._x_request_id
|
|
107
|
+
|
|
108
|
+
@x_request_id.setter
|
|
109
|
+
def x_request_id(self, x_request_id):
|
|
110
|
+
r"""Sets the x_request_id of this CreateGlobalEipResponse.
|
|
111
|
+
|
|
112
|
+
:param x_request_id: The x_request_id of this CreateGlobalEipResponse.
|
|
113
|
+
:type x_request_id: str
|
|
114
|
+
"""
|
|
115
|
+
self._x_request_id = x_request_id
|
|
116
|
+
|
|
117
|
+
def to_dict(self):
|
|
118
|
+
"""Returns the model properties as a dict"""
|
|
119
|
+
result = {}
|
|
120
|
+
|
|
121
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
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
|
+
if six.PY2:
|
|
148
|
+
import sys
|
|
149
|
+
reload(sys)
|
|
150
|
+
sys.setdefaultencoding("utf-8")
|
|
151
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
152
|
+
|
|
153
|
+
def __repr__(self):
|
|
154
|
+
"""For `print`"""
|
|
155
|
+
return self.to_str()
|
|
156
|
+
|
|
157
|
+
def __eq__(self, other):
|
|
158
|
+
"""Returns true if both objects are equal"""
|
|
159
|
+
if not isinstance(other, CreateGlobalEipResponse):
|
|
160
|
+
return False
|
|
161
|
+
|
|
162
|
+
return self.__dict__ == other.__dict__
|
|
163
|
+
|
|
164
|
+
def __ne__(self, other):
|
|
165
|
+
"""Returns true if both objects are not equal"""
|
|
166
|
+
return not self == other
|