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,111 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class CreateInternetBandwidthRequest:
|
|
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
|
+
'body': 'CreateInternetBandwidthRequestBody'
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
attribute_map = {
|
|
24
|
+
'body': 'body'
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
def __init__(self, body=None):
|
|
28
|
+
r"""CreateInternetBandwidthRequest
|
|
29
|
+
|
|
30
|
+
The model defined in huaweicloud sdk
|
|
31
|
+
|
|
32
|
+
:param body: Body of the CreateInternetBandwidthRequest
|
|
33
|
+
:type body: :class:`huaweicloudsdkgeip.v3.CreateInternetBandwidthRequestBody`
|
|
34
|
+
"""
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
self._body = None
|
|
39
|
+
self.discriminator = None
|
|
40
|
+
|
|
41
|
+
if body is not None:
|
|
42
|
+
self.body = body
|
|
43
|
+
|
|
44
|
+
@property
|
|
45
|
+
def body(self):
|
|
46
|
+
r"""Gets the body of this CreateInternetBandwidthRequest.
|
|
47
|
+
|
|
48
|
+
:return: The body of this CreateInternetBandwidthRequest.
|
|
49
|
+
:rtype: :class:`huaweicloudsdkgeip.v3.CreateInternetBandwidthRequestBody`
|
|
50
|
+
"""
|
|
51
|
+
return self._body
|
|
52
|
+
|
|
53
|
+
@body.setter
|
|
54
|
+
def body(self, body):
|
|
55
|
+
r"""Sets the body of this CreateInternetBandwidthRequest.
|
|
56
|
+
|
|
57
|
+
:param body: The body of this CreateInternetBandwidthRequest.
|
|
58
|
+
:type body: :class:`huaweicloudsdkgeip.v3.CreateInternetBandwidthRequestBody`
|
|
59
|
+
"""
|
|
60
|
+
self._body = body
|
|
61
|
+
|
|
62
|
+
def to_dict(self):
|
|
63
|
+
"""Returns the model properties as a dict"""
|
|
64
|
+
result = {}
|
|
65
|
+
|
|
66
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
67
|
+
value = getattr(self, attr)
|
|
68
|
+
if isinstance(value, list):
|
|
69
|
+
result[attr] = list(map(
|
|
70
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
71
|
+
value
|
|
72
|
+
))
|
|
73
|
+
elif hasattr(value, "to_dict"):
|
|
74
|
+
result[attr] = value.to_dict()
|
|
75
|
+
elif isinstance(value, dict):
|
|
76
|
+
result[attr] = dict(map(
|
|
77
|
+
lambda item: (item[0], item[1].to_dict())
|
|
78
|
+
if hasattr(item[1], "to_dict") else item,
|
|
79
|
+
value.items()
|
|
80
|
+
))
|
|
81
|
+
else:
|
|
82
|
+
if attr in self.sensitive_list:
|
|
83
|
+
result[attr] = "****"
|
|
84
|
+
else:
|
|
85
|
+
result[attr] = value
|
|
86
|
+
|
|
87
|
+
return result
|
|
88
|
+
|
|
89
|
+
def to_str(self):
|
|
90
|
+
"""Returns the string representation of the model"""
|
|
91
|
+
import simplejson as json
|
|
92
|
+
if six.PY2:
|
|
93
|
+
import sys
|
|
94
|
+
reload(sys)
|
|
95
|
+
sys.setdefaultencoding("utf-8")
|
|
96
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
97
|
+
|
|
98
|
+
def __repr__(self):
|
|
99
|
+
"""For `print`"""
|
|
100
|
+
return self.to_str()
|
|
101
|
+
|
|
102
|
+
def __eq__(self, other):
|
|
103
|
+
"""Returns true if both objects are equal"""
|
|
104
|
+
if not isinstance(other, CreateInternetBandwidthRequest):
|
|
105
|
+
return False
|
|
106
|
+
|
|
107
|
+
return self.__dict__ == other.__dict__
|
|
108
|
+
|
|
109
|
+
def __ne__(self, other):
|
|
110
|
+
"""Returns true if both objects are not equal"""
|
|
111
|
+
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 CreateInternetBandwidthRequestBody:
|
|
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
|
+
'internet_bandwidth': 'CreateInternetBandwidthRequestBodyInternetBandwidth'
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
attribute_map = {
|
|
24
|
+
'internet_bandwidth': 'internet_bandwidth'
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
def __init__(self, internet_bandwidth=None):
|
|
28
|
+
r"""CreateInternetBandwidthRequestBody
|
|
29
|
+
|
|
30
|
+
The model defined in huaweicloud sdk
|
|
31
|
+
|
|
32
|
+
:param internet_bandwidth:
|
|
33
|
+
:type internet_bandwidth: :class:`huaweicloudsdkgeip.v3.CreateInternetBandwidthRequestBodyInternetBandwidth`
|
|
34
|
+
"""
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
self._internet_bandwidth = None
|
|
39
|
+
self.discriminator = None
|
|
40
|
+
|
|
41
|
+
self.internet_bandwidth = internet_bandwidth
|
|
42
|
+
|
|
43
|
+
@property
|
|
44
|
+
def internet_bandwidth(self):
|
|
45
|
+
r"""Gets the internet_bandwidth of this CreateInternetBandwidthRequestBody.
|
|
46
|
+
|
|
47
|
+
:return: The internet_bandwidth of this CreateInternetBandwidthRequestBody.
|
|
48
|
+
:rtype: :class:`huaweicloudsdkgeip.v3.CreateInternetBandwidthRequestBodyInternetBandwidth`
|
|
49
|
+
"""
|
|
50
|
+
return self._internet_bandwidth
|
|
51
|
+
|
|
52
|
+
@internet_bandwidth.setter
|
|
53
|
+
def internet_bandwidth(self, internet_bandwidth):
|
|
54
|
+
r"""Sets the internet_bandwidth of this CreateInternetBandwidthRequestBody.
|
|
55
|
+
|
|
56
|
+
:param internet_bandwidth: The internet_bandwidth of this CreateInternetBandwidthRequestBody.
|
|
57
|
+
:type internet_bandwidth: :class:`huaweicloudsdkgeip.v3.CreateInternetBandwidthRequestBodyInternetBandwidth`
|
|
58
|
+
"""
|
|
59
|
+
self._internet_bandwidth = internet_bandwidth
|
|
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, CreateInternetBandwidthRequestBody):
|
|
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,372 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class CreateInternetBandwidthRequestBodyInternetBandwidth:
|
|
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
|
+
'ingress_size': 'int',
|
|
21
|
+
'charge_mode': 'str',
|
|
22
|
+
'isp': 'str',
|
|
23
|
+
'access_site': 'str',
|
|
24
|
+
'size': 'int',
|
|
25
|
+
'name': 'str',
|
|
26
|
+
'description': 'str',
|
|
27
|
+
'tags': 'list[CreateGlobalEipRequestBodyGlobalEipTags]',
|
|
28
|
+
'enterprise_project_id': 'str',
|
|
29
|
+
'type': 'str'
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
attribute_map = {
|
|
33
|
+
'ingress_size': 'ingress_size',
|
|
34
|
+
'charge_mode': 'charge_mode',
|
|
35
|
+
'isp': 'isp',
|
|
36
|
+
'access_site': 'access_site',
|
|
37
|
+
'size': 'size',
|
|
38
|
+
'name': 'name',
|
|
39
|
+
'description': 'description',
|
|
40
|
+
'tags': 'tags',
|
|
41
|
+
'enterprise_project_id': 'enterprise_project_id',
|
|
42
|
+
'type': 'type'
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
def __init__(self, ingress_size=None, charge_mode=None, isp=None, access_site=None, size=None, name=None, description=None, tags=None, enterprise_project_id=None, type=None):
|
|
46
|
+
r"""CreateInternetBandwidthRequestBodyInternetBandwidth
|
|
47
|
+
|
|
48
|
+
The model defined in huaweicloud sdk
|
|
49
|
+
|
|
50
|
+
:param ingress_size: 全域公网带宽大小(入云方向)
|
|
51
|
+
:type ingress_size: int
|
|
52
|
+
:param charge_mode: 计费模式
|
|
53
|
+
:type charge_mode: str
|
|
54
|
+
:param isp: 全域弹性公网IP所属线路
|
|
55
|
+
:type isp: str
|
|
56
|
+
:param access_site: 接入点信息
|
|
57
|
+
:type access_site: str
|
|
58
|
+
:param size: 全域公网带宽大小(出云方向)
|
|
59
|
+
:type size: int
|
|
60
|
+
:param name: - 功能说明:全域公网带宽名称 - 取值范围:1-64,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
|
|
61
|
+
:type name: str
|
|
62
|
+
:param description: - 功能说明:用户自定义的资源描述 - 约束: - 值的长度最大512字符,由数字、字母、中文、_(下划线)、-(中划线)、.(点)组成。
|
|
63
|
+
:type description: str
|
|
64
|
+
:param tags: 全域公网带宽标签
|
|
65
|
+
:type tags: list[:class:`huaweicloudsdkgeip.v3.CreateGlobalEipRequestBodyGlobalEipTags`]
|
|
66
|
+
:param enterprise_project_id: - 企业项目ID。最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。 - 创建全域弹性公网IP时,给全域弹性公网IP绑定企业项目ID。 - 不指定该参数时,默认值是 0 - 关于企业项目ID的获取及企业项目特性的详细信息,请参见[《企业管理用户指南》](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)。
|
|
67
|
+
:type enterprise_project_id: str
|
|
68
|
+
:param type: 全域公网带宽类型
|
|
69
|
+
:type type: str
|
|
70
|
+
"""
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
self._ingress_size = None
|
|
75
|
+
self._charge_mode = None
|
|
76
|
+
self._isp = None
|
|
77
|
+
self._access_site = None
|
|
78
|
+
self._size = None
|
|
79
|
+
self._name = None
|
|
80
|
+
self._description = None
|
|
81
|
+
self._tags = None
|
|
82
|
+
self._enterprise_project_id = None
|
|
83
|
+
self._type = None
|
|
84
|
+
self.discriminator = None
|
|
85
|
+
|
|
86
|
+
if ingress_size is not None:
|
|
87
|
+
self.ingress_size = ingress_size
|
|
88
|
+
self.charge_mode = charge_mode
|
|
89
|
+
self.isp = isp
|
|
90
|
+
self.access_site = access_site
|
|
91
|
+
self.size = size
|
|
92
|
+
if name is not None:
|
|
93
|
+
self.name = name
|
|
94
|
+
if description is not None:
|
|
95
|
+
self.description = description
|
|
96
|
+
if tags is not None:
|
|
97
|
+
self.tags = tags
|
|
98
|
+
if enterprise_project_id is not None:
|
|
99
|
+
self.enterprise_project_id = enterprise_project_id
|
|
100
|
+
if type is not None:
|
|
101
|
+
self.type = type
|
|
102
|
+
|
|
103
|
+
@property
|
|
104
|
+
def ingress_size(self):
|
|
105
|
+
r"""Gets the ingress_size of this CreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
106
|
+
|
|
107
|
+
全域公网带宽大小(入云方向)
|
|
108
|
+
|
|
109
|
+
:return: The ingress_size of this CreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
110
|
+
:rtype: int
|
|
111
|
+
"""
|
|
112
|
+
return self._ingress_size
|
|
113
|
+
|
|
114
|
+
@ingress_size.setter
|
|
115
|
+
def ingress_size(self, ingress_size):
|
|
116
|
+
r"""Sets the ingress_size of this CreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
117
|
+
|
|
118
|
+
全域公网带宽大小(入云方向)
|
|
119
|
+
|
|
120
|
+
:param ingress_size: The ingress_size of this CreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
121
|
+
:type ingress_size: int
|
|
122
|
+
"""
|
|
123
|
+
self._ingress_size = ingress_size
|
|
124
|
+
|
|
125
|
+
@property
|
|
126
|
+
def charge_mode(self):
|
|
127
|
+
r"""Gets the charge_mode of this CreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
128
|
+
|
|
129
|
+
计费模式
|
|
130
|
+
|
|
131
|
+
:return: The charge_mode of this CreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
132
|
+
:rtype: str
|
|
133
|
+
"""
|
|
134
|
+
return self._charge_mode
|
|
135
|
+
|
|
136
|
+
@charge_mode.setter
|
|
137
|
+
def charge_mode(self, charge_mode):
|
|
138
|
+
r"""Sets the charge_mode of this CreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
139
|
+
|
|
140
|
+
计费模式
|
|
141
|
+
|
|
142
|
+
:param charge_mode: The charge_mode of this CreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
143
|
+
:type charge_mode: str
|
|
144
|
+
"""
|
|
145
|
+
self._charge_mode = charge_mode
|
|
146
|
+
|
|
147
|
+
@property
|
|
148
|
+
def isp(self):
|
|
149
|
+
r"""Gets the isp of this CreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
150
|
+
|
|
151
|
+
全域弹性公网IP所属线路
|
|
152
|
+
|
|
153
|
+
:return: The isp of this CreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
154
|
+
:rtype: str
|
|
155
|
+
"""
|
|
156
|
+
return self._isp
|
|
157
|
+
|
|
158
|
+
@isp.setter
|
|
159
|
+
def isp(self, isp):
|
|
160
|
+
r"""Sets the isp of this CreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
161
|
+
|
|
162
|
+
全域弹性公网IP所属线路
|
|
163
|
+
|
|
164
|
+
:param isp: The isp of this CreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
165
|
+
:type isp: str
|
|
166
|
+
"""
|
|
167
|
+
self._isp = isp
|
|
168
|
+
|
|
169
|
+
@property
|
|
170
|
+
def access_site(self):
|
|
171
|
+
r"""Gets the access_site of this CreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
172
|
+
|
|
173
|
+
接入点信息
|
|
174
|
+
|
|
175
|
+
:return: The access_site of this CreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
176
|
+
:rtype: str
|
|
177
|
+
"""
|
|
178
|
+
return self._access_site
|
|
179
|
+
|
|
180
|
+
@access_site.setter
|
|
181
|
+
def access_site(self, access_site):
|
|
182
|
+
r"""Sets the access_site of this CreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
183
|
+
|
|
184
|
+
接入点信息
|
|
185
|
+
|
|
186
|
+
:param access_site: The access_site of this CreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
187
|
+
:type access_site: str
|
|
188
|
+
"""
|
|
189
|
+
self._access_site = access_site
|
|
190
|
+
|
|
191
|
+
@property
|
|
192
|
+
def size(self):
|
|
193
|
+
r"""Gets the size of this CreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
194
|
+
|
|
195
|
+
全域公网带宽大小(出云方向)
|
|
196
|
+
|
|
197
|
+
:return: The size of this CreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
198
|
+
:rtype: int
|
|
199
|
+
"""
|
|
200
|
+
return self._size
|
|
201
|
+
|
|
202
|
+
@size.setter
|
|
203
|
+
def size(self, size):
|
|
204
|
+
r"""Sets the size of this CreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
205
|
+
|
|
206
|
+
全域公网带宽大小(出云方向)
|
|
207
|
+
|
|
208
|
+
:param size: The size of this CreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
209
|
+
:type size: int
|
|
210
|
+
"""
|
|
211
|
+
self._size = size
|
|
212
|
+
|
|
213
|
+
@property
|
|
214
|
+
def name(self):
|
|
215
|
+
r"""Gets the name of this CreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
216
|
+
|
|
217
|
+
- 功能说明:全域公网带宽名称 - 取值范围:1-64,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
|
|
218
|
+
|
|
219
|
+
:return: The name of this CreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
220
|
+
:rtype: str
|
|
221
|
+
"""
|
|
222
|
+
return self._name
|
|
223
|
+
|
|
224
|
+
@name.setter
|
|
225
|
+
def name(self, name):
|
|
226
|
+
r"""Sets the name of this CreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
227
|
+
|
|
228
|
+
- 功能说明:全域公网带宽名称 - 取值范围:1-64,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
|
|
229
|
+
|
|
230
|
+
:param name: The name of this CreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
231
|
+
:type name: str
|
|
232
|
+
"""
|
|
233
|
+
self._name = name
|
|
234
|
+
|
|
235
|
+
@property
|
|
236
|
+
def description(self):
|
|
237
|
+
r"""Gets the description of this CreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
238
|
+
|
|
239
|
+
- 功能说明:用户自定义的资源描述 - 约束: - 值的长度最大512字符,由数字、字母、中文、_(下划线)、-(中划线)、.(点)组成。
|
|
240
|
+
|
|
241
|
+
:return: The description of this CreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
242
|
+
:rtype: str
|
|
243
|
+
"""
|
|
244
|
+
return self._description
|
|
245
|
+
|
|
246
|
+
@description.setter
|
|
247
|
+
def description(self, description):
|
|
248
|
+
r"""Sets the description of this CreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
249
|
+
|
|
250
|
+
- 功能说明:用户自定义的资源描述 - 约束: - 值的长度最大512字符,由数字、字母、中文、_(下划线)、-(中划线)、.(点)组成。
|
|
251
|
+
|
|
252
|
+
:param description: The description of this CreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
253
|
+
:type description: str
|
|
254
|
+
"""
|
|
255
|
+
self._description = description
|
|
256
|
+
|
|
257
|
+
@property
|
|
258
|
+
def tags(self):
|
|
259
|
+
r"""Gets the tags of this CreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
260
|
+
|
|
261
|
+
全域公网带宽标签
|
|
262
|
+
|
|
263
|
+
:return: The tags of this CreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
264
|
+
:rtype: list[:class:`huaweicloudsdkgeip.v3.CreateGlobalEipRequestBodyGlobalEipTags`]
|
|
265
|
+
"""
|
|
266
|
+
return self._tags
|
|
267
|
+
|
|
268
|
+
@tags.setter
|
|
269
|
+
def tags(self, tags):
|
|
270
|
+
r"""Sets the tags of this CreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
271
|
+
|
|
272
|
+
全域公网带宽标签
|
|
273
|
+
|
|
274
|
+
:param tags: The tags of this CreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
275
|
+
:type tags: list[:class:`huaweicloudsdkgeip.v3.CreateGlobalEipRequestBodyGlobalEipTags`]
|
|
276
|
+
"""
|
|
277
|
+
self._tags = tags
|
|
278
|
+
|
|
279
|
+
@property
|
|
280
|
+
def enterprise_project_id(self):
|
|
281
|
+
r"""Gets the enterprise_project_id of this CreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
282
|
+
|
|
283
|
+
- 企业项目ID。最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。 - 创建全域弹性公网IP时,给全域弹性公网IP绑定企业项目ID。 - 不指定该参数时,默认值是 0 - 关于企业项目ID的获取及企业项目特性的详细信息,请参见[《企业管理用户指南》](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)。
|
|
284
|
+
|
|
285
|
+
:return: The enterprise_project_id of this CreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
286
|
+
:rtype: str
|
|
287
|
+
"""
|
|
288
|
+
return self._enterprise_project_id
|
|
289
|
+
|
|
290
|
+
@enterprise_project_id.setter
|
|
291
|
+
def enterprise_project_id(self, enterprise_project_id):
|
|
292
|
+
r"""Sets the enterprise_project_id of this CreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
293
|
+
|
|
294
|
+
- 企业项目ID。最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。 - 创建全域弹性公网IP时,给全域弹性公网IP绑定企业项目ID。 - 不指定该参数时,默认值是 0 - 关于企业项目ID的获取及企业项目特性的详细信息,请参见[《企业管理用户指南》](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)。
|
|
295
|
+
|
|
296
|
+
:param enterprise_project_id: The enterprise_project_id of this CreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
297
|
+
:type enterprise_project_id: str
|
|
298
|
+
"""
|
|
299
|
+
self._enterprise_project_id = enterprise_project_id
|
|
300
|
+
|
|
301
|
+
@property
|
|
302
|
+
def type(self):
|
|
303
|
+
r"""Gets the type of this CreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
304
|
+
|
|
305
|
+
全域公网带宽类型
|
|
306
|
+
|
|
307
|
+
:return: The type of this CreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
308
|
+
:rtype: str
|
|
309
|
+
"""
|
|
310
|
+
return self._type
|
|
311
|
+
|
|
312
|
+
@type.setter
|
|
313
|
+
def type(self, type):
|
|
314
|
+
r"""Sets the type of this CreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
315
|
+
|
|
316
|
+
全域公网带宽类型
|
|
317
|
+
|
|
318
|
+
:param type: The type of this CreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
319
|
+
:type type: str
|
|
320
|
+
"""
|
|
321
|
+
self._type = type
|
|
322
|
+
|
|
323
|
+
def to_dict(self):
|
|
324
|
+
"""Returns the model properties as a dict"""
|
|
325
|
+
result = {}
|
|
326
|
+
|
|
327
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
328
|
+
value = getattr(self, attr)
|
|
329
|
+
if isinstance(value, list):
|
|
330
|
+
result[attr] = list(map(
|
|
331
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
332
|
+
value
|
|
333
|
+
))
|
|
334
|
+
elif hasattr(value, "to_dict"):
|
|
335
|
+
result[attr] = value.to_dict()
|
|
336
|
+
elif isinstance(value, dict):
|
|
337
|
+
result[attr] = dict(map(
|
|
338
|
+
lambda item: (item[0], item[1].to_dict())
|
|
339
|
+
if hasattr(item[1], "to_dict") else item,
|
|
340
|
+
value.items()
|
|
341
|
+
))
|
|
342
|
+
else:
|
|
343
|
+
if attr in self.sensitive_list:
|
|
344
|
+
result[attr] = "****"
|
|
345
|
+
else:
|
|
346
|
+
result[attr] = value
|
|
347
|
+
|
|
348
|
+
return result
|
|
349
|
+
|
|
350
|
+
def to_str(self):
|
|
351
|
+
"""Returns the string representation of the model"""
|
|
352
|
+
import simplejson as json
|
|
353
|
+
if six.PY2:
|
|
354
|
+
import sys
|
|
355
|
+
reload(sys)
|
|
356
|
+
sys.setdefaultencoding("utf-8")
|
|
357
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
358
|
+
|
|
359
|
+
def __repr__(self):
|
|
360
|
+
"""For `print`"""
|
|
361
|
+
return self.to_str()
|
|
362
|
+
|
|
363
|
+
def __eq__(self, other):
|
|
364
|
+
"""Returns true if both objects are equal"""
|
|
365
|
+
if not isinstance(other, CreateInternetBandwidthRequestBodyInternetBandwidth):
|
|
366
|
+
return False
|
|
367
|
+
|
|
368
|
+
return self.__dict__ == other.__dict__
|
|
369
|
+
|
|
370
|
+
def __ne__(self, other):
|
|
371
|
+
"""Returns true if both objects are not equal"""
|
|
372
|
+
return not self == other
|