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