huaweicloudsdkgeip 3.1.177__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- huaweicloudsdkgeip/__init__.py +0 -0
- huaweicloudsdkgeip/v3/__init__.py +224 -0
- huaweicloudsdkgeip/v3/geip_async_client.py +4984 -0
- huaweicloudsdkgeip/v3/geip_client.py +4981 -0
- huaweicloudsdkgeip/v3/model/__init__.py +221 -0
- huaweicloudsdkgeip/v3/model/add_geip_segment_tags_request.py +128 -0
- huaweicloudsdkgeip/v3/model/add_geip_segment_tags_response.py +108 -0
- huaweicloudsdkgeip/v3/model/add_global_eip_tags_request.py +128 -0
- huaweicloudsdkgeip/v3/model/add_global_eip_tags_response.py +108 -0
- huaweicloudsdkgeip/v3/model/add_internet_bandwidth_tags_request.py +128 -0
- huaweicloudsdkgeip/v3/model/add_internet_bandwidth_tags_response.py +108 -0
- huaweicloudsdkgeip/v3/model/allowed_bandwidth_types.py +166 -0
- huaweicloudsdkgeip/v3/model/associate_geip_segment_instance_request.py +128 -0
- huaweicloudsdkgeip/v3/model/associate_geip_segment_instance_response.py +162 -0
- huaweicloudsdkgeip/v3/model/associate_instance_global_eip_request_body.py +128 -0
- huaweicloudsdkgeip/v3/model/associate_instance_global_eip_request_body_global_eip.py +129 -0
- huaweicloudsdkgeip/v3/model/associate_instance_global_eip_request_body_global_eip_associate_instance_info.py +253 -0
- huaweicloudsdkgeip/v3/model/associate_instance_global_eip_request_body_global_eip_gc_bandwidth_info.py +398 -0
- huaweicloudsdkgeip/v3/model/associate_instance_global_eip_segment_request_body.py +103 -0
- huaweicloudsdkgeip/v3/model/associate_instance_global_eip_segment_request_body_global_eip_segment.py +249 -0
- huaweicloudsdkgeip/v3/model/associate_instance_request.py +157 -0
- huaweicloudsdkgeip/v3/model/associate_instance_response.py +162 -0
- huaweicloudsdkgeip/v3/model/attach_internet_bandwidth.py +135 -0
- huaweicloudsdkgeip/v3/model/attach_internet_bandwidth_global_eip.py +734 -0
- huaweicloudsdkgeip/v3/model/attach_internet_bandwidth_global_eip_request_body.py +128 -0
- huaweicloudsdkgeip/v3/model/attach_internet_bandwidth_global_eip_request_body_global_eip.py +107 -0
- huaweicloudsdkgeip/v3/model/attach_internet_bandwidth_request.py +128 -0
- huaweicloudsdkgeip/v3/model/attach_internet_bandwidth_response.py +162 -0
- huaweicloudsdkgeip/v3/model/batch_attach_geip_segment_internet_bandwidth_request.py +104 -0
- huaweicloudsdkgeip/v3/model/batch_attach_geip_segment_internet_bandwidth_response.py +137 -0
- huaweicloudsdkgeip/v3/model/batch_attach_internet_bandwidth_request.py +104 -0
- huaweicloudsdkgeip/v3/model/batch_attach_internet_bandwidth_response.py +133 -0
- huaweicloudsdkgeip/v3/model/batch_attach_internet_bandwidths_global_eip_request_body.py +107 -0
- huaweicloudsdkgeip/v3/model/batch_attach_internet_bandwidths_global_eip_segment_request_body.py +107 -0
- huaweicloudsdkgeip/v3/model/batch_create_geip_segment_tags_request.py +128 -0
- huaweicloudsdkgeip/v3/model/batch_create_geip_segment_tags_response.py +108 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_job.py +166 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_request.py +104 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_request_body.py +128 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_request_body_global_eip.py +304 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_request_body_global_eip_internet_bandwidth_info.py +282 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_response.py +166 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_tags_request.py +128 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_tags_response.py +108 -0
- huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth.py +598 -0
- huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth_request.py +104 -0
- huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth_request_body.py +103 -0
- huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth_request_body_internet_bandwidth.py +395 -0
- huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth_response.py +166 -0
- huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth_tags_request.py +128 -0
- huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth_tags_response.py +108 -0
- huaweicloudsdkgeip/v3/model/batch_create_v2_request_body.py +136 -0
- huaweicloudsdkgeip/v3/model/batch_delete_geip_segment_tags_request.py +128 -0
- huaweicloudsdkgeip/v3/model/batch_delete_geip_segment_tags_response.py +108 -0
- huaweicloudsdkgeip/v3/model/batch_delete_global_eip_tags_request.py +128 -0
- huaweicloudsdkgeip/v3/model/batch_delete_global_eip_tags_response.py +108 -0
- huaweicloudsdkgeip/v3/model/batch_delete_internet_bandwidth_tags_request.py +128 -0
- huaweicloudsdkgeip/v3/model/batch_delete_internet_bandwidth_tags_response.py +108 -0
- huaweicloudsdkgeip/v3/model/batch_delete_v2_request_body.py +136 -0
- huaweicloudsdkgeip/v3/model/batch_delete_v2_request_body_tags.py +136 -0
- huaweicloudsdkgeip/v3/model/batch_detach_geip_segment_internet_bandwidth_request.py +104 -0
- huaweicloudsdkgeip/v3/model/batch_detach_geip_segment_internet_bandwidth_response.py +137 -0
- huaweicloudsdkgeip/v3/model/batch_detach_internet_bandwidth_request.py +104 -0
- huaweicloudsdkgeip/v3/model/batch_detach_internet_bandwidth_response.py +133 -0
- huaweicloudsdkgeip/v3/model/batch_detach_internet_bandwidths_global_eip_request_body.py +107 -0
- huaweicloudsdkgeip/v3/model/batch_detach_internet_bandwidths_global_eip_segment_request_body.py +107 -0
- huaweicloudsdkgeip/v3/model/batch_internet_bandwidths_global_eip_response_body.py +107 -0
- huaweicloudsdkgeip/v3/model/count_geip_segments.py +107 -0
- huaweicloudsdkgeip/v3/model/count_global_eip_segment_request.py +745 -0
- huaweicloudsdkgeip/v3/model/count_global_eip_segment_response.py +162 -0
- huaweicloudsdkgeip/v3/model/count_global_eips.py +107 -0
- huaweicloudsdkgeip/v3/model/count_global_eips_request.py +654 -0
- huaweicloudsdkgeip/v3/model/count_global_eips_response.py +162 -0
- huaweicloudsdkgeip/v3/model/count_internet_bandwidth_request.py +279 -0
- huaweicloudsdkgeip/v3/model/count_internet_bandwidth_response.py +162 -0
- huaweicloudsdkgeip/v3/model/count_internet_bandwidths.py +107 -0
- huaweicloudsdkgeip/v3/model/create_global_eip.py +135 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_request.py +104 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_request_body.py +128 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_request_body_global_eip.py +280 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_request_body_global_eip_tags.py +135 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_response.py +162 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_segment_request.py +104 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_segment_request_body.py +103 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_segment_request_body_global_eip_segment.py +304 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_segment_request_body_global_eip_segment_internet_bandwidth.py +282 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_segment_response.py +162 -0
- huaweicloudsdkgeip/v3/model/create_internet_bandwidth.py +684 -0
- huaweicloudsdkgeip/v3/model/create_internet_bandwidth_request.py +104 -0
- huaweicloudsdkgeip/v3/model/create_internet_bandwidth_request_body.py +103 -0
- huaweicloudsdkgeip/v3/model/create_internet_bandwidth_request_body_internet_bandwidth.py +365 -0
- huaweicloudsdkgeip/v3/model/create_internet_bandwidth_response.py +162 -0
- huaweicloudsdkgeip/v3/model/create_tag.py +136 -0
- huaweicloudsdkgeip/v3/model/create_user_disclaimer_record.py +166 -0
- huaweicloudsdkgeip/v3/model/create_user_disclaimer_request.py +77 -0
- huaweicloudsdkgeip/v3/model/create_user_disclaimer_response.py +162 -0
- huaweicloudsdkgeip/v3/model/create_v2_tag_request_body.py +103 -0
- huaweicloudsdkgeip/v3/model/create_v2_tag_request_body_tag.py +135 -0
- huaweicloudsdkgeip/v3/model/delete_geip_segment_tag_request.py +127 -0
- huaweicloudsdkgeip/v3/model/delete_geip_segment_tag_response.py +108 -0
- huaweicloudsdkgeip/v3/model/delete_global_eip_request.py +103 -0
- huaweicloudsdkgeip/v3/model/delete_global_eip_response.py +108 -0
- huaweicloudsdkgeip/v3/model/delete_global_eip_segment_request.py +103 -0
- huaweicloudsdkgeip/v3/model/delete_global_eip_segment_response.py +108 -0
- huaweicloudsdkgeip/v3/model/delete_global_eip_tag_request.py +127 -0
- huaweicloudsdkgeip/v3/model/delete_global_eip_tag_response.py +108 -0
- huaweicloudsdkgeip/v3/model/delete_internet_bandwidth_request.py +103 -0
- huaweicloudsdkgeip/v3/model/delete_internet_bandwidth_response.py +108 -0
- huaweicloudsdkgeip/v3/model/delete_internet_bandwidth_tag_request.py +127 -0
- huaweicloudsdkgeip/v3/model/delete_internet_bandwidth_tag_response.py +108 -0
- huaweicloudsdkgeip/v3/model/delete_user_disclaimer_request.py +77 -0
- huaweicloudsdkgeip/v3/model/delete_user_disclaimer_response.py +108 -0
- huaweicloudsdkgeip/v3/model/detach_internet_bandwidth.py +107 -0
- huaweicloudsdkgeip/v3/model/detach_internet_bandwidth_global_eips.py +734 -0
- huaweicloudsdkgeip/v3/model/detach_internet_bandwidth_request.py +128 -0
- huaweicloudsdkgeip/v3/model/detach_internet_bandwidth_response.py +162 -0
- huaweicloudsdkgeip/v3/model/disassociate_geip_segment_instance_request.py +103 -0
- huaweicloudsdkgeip/v3/model/disassociate_geip_segment_instance_response.py +162 -0
- huaweicloudsdkgeip/v3/model/disassociate_instance_request.py +131 -0
- huaweicloudsdkgeip/v3/model/disassociate_instance_response.py +162 -0
- huaweicloudsdkgeip/v3/model/ext_limit_pojo.py +166 -0
- huaweicloudsdkgeip/v3/model/geip_resource.py +191 -0
- huaweicloudsdkgeip/v3/model/geip_tags.py +135 -0
- huaweicloudsdkgeip/v3/model/get_account_tags_v2.py +135 -0
- huaweicloudsdkgeip/v3/model/global_connection_bandwidth_info.py +253 -0
- huaweicloudsdkgeip/v3/model/instance_info.py +340 -0
- huaweicloudsdkgeip/v3/model/internet_bandwidth_info.py +137 -0
- huaweicloudsdkgeip/v3/model/list_access_sites.py +311 -0
- huaweicloudsdkgeip/v3/model/list_access_sites_request.py +378 -0
- huaweicloudsdkgeip/v3/model/list_access_sites_response.py +191 -0
- huaweicloudsdkgeip/v3/model/list_geip_pools.py +427 -0
- huaweicloudsdkgeip/v3/model/list_geip_pools_request.py +453 -0
- huaweicloudsdkgeip/v3/model/list_geip_pools_response.py +191 -0
- huaweicloudsdkgeip/v3/model/list_geip_resource_quotas_request.py +245 -0
- huaweicloudsdkgeip/v3/model/list_geip_resource_quotas_response.py +162 -0
- huaweicloudsdkgeip/v3/model/list_geip_segment_count_filter_tags_request.py +104 -0
- huaweicloudsdkgeip/v3/model/list_geip_segment_count_filter_tags_response.py +166 -0
- huaweicloudsdkgeip/v3/model/list_geip_segment_domain_tags_request.py +77 -0
- huaweicloudsdkgeip/v3/model/list_geip_segment_domain_tags_response.py +195 -0
- huaweicloudsdkgeip/v3/model/list_geip_segment_filter_tags_request.py +162 -0
- huaweicloudsdkgeip/v3/model/list_geip_segment_filter_tags_response.py +195 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_count_filter_tags_request.py +104 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_count_filter_tags_response.py +166 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_domain_tags_request.py +77 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_domain_tags_response.py +195 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_filter_tags_request.py +154 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_filter_tags_response.py +195 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_segments.py +680 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_segments_request.py +853 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_segments_response.py +191 -0
- huaweicloudsdkgeip/v3/model/list_global_eips.py +734 -0
- huaweicloudsdkgeip/v3/model/list_global_eips_request.py +903 -0
- huaweicloudsdkgeip/v3/model/list_global_eips_response.py +191 -0
- huaweicloudsdkgeip/v3/model/list_global_eips_response_body_page_info.py +166 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_count_filter_tags_request.py +104 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_count_filter_tags_response.py +166 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_domain_tags_request.py +77 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_domain_tags_response.py +137 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_filter_tags_request.py +154 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_filter_tags_response.py +195 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_limits.py +249 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_limits_request.py +212 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_limits_response.py +166 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidths.py +746 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidths_request.py +528 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidths_response.py +191 -0
- huaweicloudsdkgeip/v3/model/list_jobs.py +311 -0
- huaweicloudsdkgeip/v3/model/list_jobs_request.py +353 -0
- huaweicloudsdkgeip/v3/model/list_jobs_response.py +191 -0
- huaweicloudsdkgeip/v3/model/list_quotas.py +107 -0
- huaweicloudsdkgeip/v3/model/list_resources_by_tags_request_body.py +107 -0
- huaweicloudsdkgeip/v3/model/list_support_instances_support_regions.py +311 -0
- huaweicloudsdkgeip/v3/model/list_support_masks.py +224 -0
- huaweicloudsdkgeip/v3/model/list_support_masks_request.py +353 -0
- huaweicloudsdkgeip/v3/model/list_support_masks_response.py +191 -0
- huaweicloudsdkgeip/v3/model/list_support_regions.py +340 -0
- huaweicloudsdkgeip/v3/model/list_support_regions_request.py +453 -0
- huaweicloudsdkgeip/v3/model/list_support_regions_response.py +191 -0
- huaweicloudsdkgeip/v3/model/list_tenant_geip_support_instances_request.py +128 -0
- huaweicloudsdkgeip/v3/model/list_tenant_geip_support_instances_response.py +166 -0
- huaweicloudsdkgeip/v3/model/lock_info.py +369 -0
- huaweicloudsdkgeip/v3/model/native_uuid.py +77 -0
- huaweicloudsdkgeip/v3/model/resources_info.py +195 -0
- huaweicloudsdkgeip/v3/model/short_global_eip_segment.py +137 -0
- huaweicloudsdkgeip/v3/model/show_geip_segment_tags_request.py +103 -0
- huaweicloudsdkgeip/v3/model/show_geip_segment_tags_response.py +195 -0
- huaweicloudsdkgeip/v3/model/show_global_eip.py +734 -0
- huaweicloudsdkgeip/v3/model/show_global_eip_request.py +128 -0
- huaweicloudsdkgeip/v3/model/show_global_eip_response.py +162 -0
- huaweicloudsdkgeip/v3/model/show_global_eip_segment.py +680 -0
- huaweicloudsdkgeip/v3/model/show_global_eip_segment_request.py +128 -0
- huaweicloudsdkgeip/v3/model/show_global_eip_segment_response.py +162 -0
- huaweicloudsdkgeip/v3/model/show_global_eip_tags_request.py +103 -0
- huaweicloudsdkgeip/v3/model/show_global_eip_tags_response.py +195 -0
- huaweicloudsdkgeip/v3/model/show_internet_bandwidth.py +688 -0
- huaweicloudsdkgeip/v3/model/show_internet_bandwidth_request.py +128 -0
- huaweicloudsdkgeip/v3/model/show_internet_bandwidth_response.py +162 -0
- huaweicloudsdkgeip/v3/model/show_internet_bandwidth_tags_request.py +103 -0
- huaweicloudsdkgeip/v3/model/show_internet_bandwidth_tags_response.py +195 -0
- huaweicloudsdkgeip/v3/model/show_job.py +311 -0
- huaweicloudsdkgeip/v3/model/show_jobs_request.py +132 -0
- huaweicloudsdkgeip/v3/model/show_jobs_response.py +162 -0
- huaweicloudsdkgeip/v3/model/show_user_disclaimer_record.py +166 -0
- huaweicloudsdkgeip/v3/model/show_user_disclaimer_request.py +104 -0
- huaweicloudsdkgeip/v3/model/show_user_disclaimer_response.py +162 -0
- huaweicloudsdkgeip/v3/model/sys_tag.py +135 -0
- huaweicloudsdkgeip/v3/model/tag.py +137 -0
- huaweicloudsdkgeip/v3/model/update_global_eip.py +137 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_request.py +128 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_request_body.py +128 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_request_body_global_eip.py +137 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_response.py +162 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_segment_request.py +128 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_segment_request_body.py +103 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_segment_request_body_global_eip_segment.py +137 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_segment_response.py +162 -0
- huaweicloudsdkgeip/v3/model/update_internet_bandwidth.py +630 -0
- huaweicloudsdkgeip/v3/model/update_internet_bandwidth_request.py +128 -0
- huaweicloudsdkgeip/v3/model/update_internet_bandwidth_request_body.py +103 -0
- huaweicloudsdkgeip/v3/model/update_internet_bandwidth_request_body_internet_bandwidth.py +224 -0
- huaweicloudsdkgeip/v3/model/update_internet_bandwidth_response.py +162 -0
- huaweicloudsdkgeip/v3/region/__init__.py +0 -0
- huaweicloudsdkgeip/v3/region/geip_region.py +31 -0
- huaweicloudsdkgeip-3.1.177.dist-info/METADATA +25 -0
- huaweicloudsdkgeip-3.1.177.dist-info/RECORD +227 -0
- huaweicloudsdkgeip-3.1.177.dist-info/WHEEL +4 -0
- huaweicloudsdkgeip-3.1.177.dist-info/licenses/LICENSE +13 -0
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class BatchCreateInternetBandwidthRequestBody:
|
|
7
|
+
|
|
8
|
+
"""
|
|
9
|
+
Attributes:
|
|
10
|
+
openapi_types (dict): The key is attribute name
|
|
11
|
+
and the value is attribute type.
|
|
12
|
+
attribute_map (dict): The key is attribute name
|
|
13
|
+
and the value is json key in definition.
|
|
14
|
+
"""
|
|
15
|
+
sensitive_list = []
|
|
16
|
+
|
|
17
|
+
openapi_types = {
|
|
18
|
+
'internet_bandwidth': 'BatchCreateInternetBandwidthRequestBodyInternetBandwidth'
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
attribute_map = {
|
|
22
|
+
'internet_bandwidth': 'internet_bandwidth'
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
def __init__(self, internet_bandwidth=None):
|
|
26
|
+
r"""BatchCreateInternetBandwidthRequestBody
|
|
27
|
+
|
|
28
|
+
The model defined in huaweicloud sdk
|
|
29
|
+
|
|
30
|
+
:param internet_bandwidth:
|
|
31
|
+
:type internet_bandwidth: :class:`huaweicloudsdkgeip.v3.BatchCreateInternetBandwidthRequestBodyInternetBandwidth`
|
|
32
|
+
"""
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
self._internet_bandwidth = None
|
|
37
|
+
self.discriminator = None
|
|
38
|
+
|
|
39
|
+
self.internet_bandwidth = internet_bandwidth
|
|
40
|
+
|
|
41
|
+
@property
|
|
42
|
+
def internet_bandwidth(self):
|
|
43
|
+
r"""Gets the internet_bandwidth of this BatchCreateInternetBandwidthRequestBody.
|
|
44
|
+
|
|
45
|
+
:return: The internet_bandwidth of this BatchCreateInternetBandwidthRequestBody.
|
|
46
|
+
:rtype: :class:`huaweicloudsdkgeip.v3.BatchCreateInternetBandwidthRequestBodyInternetBandwidth`
|
|
47
|
+
"""
|
|
48
|
+
return self._internet_bandwidth
|
|
49
|
+
|
|
50
|
+
@internet_bandwidth.setter
|
|
51
|
+
def internet_bandwidth(self, internet_bandwidth):
|
|
52
|
+
r"""Sets the internet_bandwidth of this BatchCreateInternetBandwidthRequestBody.
|
|
53
|
+
|
|
54
|
+
:param internet_bandwidth: The internet_bandwidth of this BatchCreateInternetBandwidthRequestBody.
|
|
55
|
+
:type internet_bandwidth: :class:`huaweicloudsdkgeip.v3.BatchCreateInternetBandwidthRequestBodyInternetBandwidth`
|
|
56
|
+
"""
|
|
57
|
+
self._internet_bandwidth = internet_bandwidth
|
|
58
|
+
|
|
59
|
+
def to_dict(self):
|
|
60
|
+
result = {}
|
|
61
|
+
|
|
62
|
+
for attr, _ in self.openapi_types.items():
|
|
63
|
+
value = getattr(self, attr)
|
|
64
|
+
if isinstance(value, list):
|
|
65
|
+
result[attr] = list(map(
|
|
66
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
67
|
+
value
|
|
68
|
+
))
|
|
69
|
+
elif hasattr(value, "to_dict"):
|
|
70
|
+
result[attr] = value.to_dict()
|
|
71
|
+
elif isinstance(value, dict):
|
|
72
|
+
result[attr] = dict(map(
|
|
73
|
+
lambda item: (item[0], item[1].to_dict())
|
|
74
|
+
if hasattr(item[1], "to_dict") else item,
|
|
75
|
+
value.items()
|
|
76
|
+
))
|
|
77
|
+
else:
|
|
78
|
+
if attr in self.sensitive_list:
|
|
79
|
+
result[attr] = "****"
|
|
80
|
+
else:
|
|
81
|
+
result[attr] = value
|
|
82
|
+
|
|
83
|
+
return result
|
|
84
|
+
|
|
85
|
+
def to_str(self):
|
|
86
|
+
"""Returns the string representation of the model"""
|
|
87
|
+
import simplejson as json
|
|
88
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
89
|
+
|
|
90
|
+
def __repr__(self):
|
|
91
|
+
"""For `print`"""
|
|
92
|
+
return self.to_str()
|
|
93
|
+
|
|
94
|
+
def __eq__(self, other):
|
|
95
|
+
"""Returns true if both objects are equal"""
|
|
96
|
+
if not isinstance(other, BatchCreateInternetBandwidthRequestBody):
|
|
97
|
+
return False
|
|
98
|
+
|
|
99
|
+
return self.__dict__ == other.__dict__
|
|
100
|
+
|
|
101
|
+
def __ne__(self, other):
|
|
102
|
+
"""Returns true if both objects are not equal"""
|
|
103
|
+
return not self == other
|
huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth_request_body_internet_bandwidth.py
ADDED
|
@@ -0,0 +1,395 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class BatchCreateInternetBandwidthRequestBodyInternetBandwidth:
|
|
7
|
+
|
|
8
|
+
"""
|
|
9
|
+
Attributes:
|
|
10
|
+
openapi_types (dict): The key is attribute name
|
|
11
|
+
and the value is attribute type.
|
|
12
|
+
attribute_map (dict): The key is attribute name
|
|
13
|
+
and the value is json key in definition.
|
|
14
|
+
"""
|
|
15
|
+
sensitive_list = []
|
|
16
|
+
|
|
17
|
+
openapi_types = {
|
|
18
|
+
'ingress_size': 'int',
|
|
19
|
+
'charge_mode': 'str',
|
|
20
|
+
'isp': 'str',
|
|
21
|
+
'access_site': 'str',
|
|
22
|
+
'size': 'int',
|
|
23
|
+
'name': 'str',
|
|
24
|
+
'description': 'str',
|
|
25
|
+
'count': 'int',
|
|
26
|
+
'tags': 'list[CreateGlobalEipRequestBodyGlobalEipTags]',
|
|
27
|
+
'enterprise_project_id': 'str',
|
|
28
|
+
'type': 'str'
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
attribute_map = {
|
|
32
|
+
'ingress_size': 'ingress_size',
|
|
33
|
+
'charge_mode': 'charge_mode',
|
|
34
|
+
'isp': 'isp',
|
|
35
|
+
'access_site': 'access_site',
|
|
36
|
+
'size': 'size',
|
|
37
|
+
'name': 'name',
|
|
38
|
+
'description': 'description',
|
|
39
|
+
'count': 'count',
|
|
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, count=None, tags=None, enterprise_project_id=None, type=None):
|
|
46
|
+
r"""BatchCreateInternetBandwidthRequestBodyInternetBandwidth
|
|
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 count: 批创个数
|
|
65
|
+
:type count: int
|
|
66
|
+
:param tags: 全域公网带宽标签
|
|
67
|
+
:type tags: list[:class:`huaweicloudsdkgeip.v3.CreateGlobalEipRequestBodyGlobalEipTags`]
|
|
68
|
+
:param enterprise_project_id: - 企业项目ID。最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。 - 创建全域弹性公网IP时,给全域弹性公网IP绑定企业项目ID。 - 不指定该参数时,默认值是 0 - 关于企业项目ID的获取及企业项目特性的详细信息,请参见[《企业管理用户指南》](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)。
|
|
69
|
+
:type enterprise_project_id: str
|
|
70
|
+
:param type: 全域公网带宽类型
|
|
71
|
+
:type type: str
|
|
72
|
+
"""
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
self._ingress_size = None
|
|
77
|
+
self._charge_mode = None
|
|
78
|
+
self._isp = None
|
|
79
|
+
self._access_site = None
|
|
80
|
+
self._size = None
|
|
81
|
+
self._name = None
|
|
82
|
+
self._description = None
|
|
83
|
+
self._count = None
|
|
84
|
+
self._tags = None
|
|
85
|
+
self._enterprise_project_id = None
|
|
86
|
+
self._type = None
|
|
87
|
+
self.discriminator = None
|
|
88
|
+
|
|
89
|
+
if ingress_size is not None:
|
|
90
|
+
self.ingress_size = ingress_size
|
|
91
|
+
if charge_mode is not None:
|
|
92
|
+
self.charge_mode = charge_mode
|
|
93
|
+
self.isp = isp
|
|
94
|
+
self.access_site = access_site
|
|
95
|
+
self.size = size
|
|
96
|
+
if name is not None:
|
|
97
|
+
self.name = name
|
|
98
|
+
if description is not None:
|
|
99
|
+
self.description = description
|
|
100
|
+
if count is not None:
|
|
101
|
+
self.count = count
|
|
102
|
+
if tags is not None:
|
|
103
|
+
self.tags = tags
|
|
104
|
+
if enterprise_project_id is not None:
|
|
105
|
+
self.enterprise_project_id = enterprise_project_id
|
|
106
|
+
if type is not None:
|
|
107
|
+
self.type = type
|
|
108
|
+
|
|
109
|
+
@property
|
|
110
|
+
def ingress_size(self):
|
|
111
|
+
r"""Gets the ingress_size of this BatchCreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
112
|
+
|
|
113
|
+
全域公网带宽大小(入云方向)
|
|
114
|
+
|
|
115
|
+
:return: The ingress_size of this BatchCreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
116
|
+
:rtype: int
|
|
117
|
+
"""
|
|
118
|
+
return self._ingress_size
|
|
119
|
+
|
|
120
|
+
@ingress_size.setter
|
|
121
|
+
def ingress_size(self, ingress_size):
|
|
122
|
+
r"""Sets the ingress_size of this BatchCreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
123
|
+
|
|
124
|
+
全域公网带宽大小(入云方向)
|
|
125
|
+
|
|
126
|
+
:param ingress_size: The ingress_size of this BatchCreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
127
|
+
:type ingress_size: int
|
|
128
|
+
"""
|
|
129
|
+
self._ingress_size = ingress_size
|
|
130
|
+
|
|
131
|
+
@property
|
|
132
|
+
def charge_mode(self):
|
|
133
|
+
r"""Gets the charge_mode of this BatchCreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
134
|
+
|
|
135
|
+
计费模式
|
|
136
|
+
|
|
137
|
+
:return: The charge_mode of this BatchCreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
138
|
+
:rtype: str
|
|
139
|
+
"""
|
|
140
|
+
return self._charge_mode
|
|
141
|
+
|
|
142
|
+
@charge_mode.setter
|
|
143
|
+
def charge_mode(self, charge_mode):
|
|
144
|
+
r"""Sets the charge_mode of this BatchCreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
145
|
+
|
|
146
|
+
计费模式
|
|
147
|
+
|
|
148
|
+
:param charge_mode: The charge_mode of this BatchCreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
149
|
+
:type charge_mode: str
|
|
150
|
+
"""
|
|
151
|
+
self._charge_mode = charge_mode
|
|
152
|
+
|
|
153
|
+
@property
|
|
154
|
+
def isp(self):
|
|
155
|
+
r"""Gets the isp of this BatchCreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
156
|
+
|
|
157
|
+
全域弹性公网IP所属线路
|
|
158
|
+
|
|
159
|
+
:return: The isp of this BatchCreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
160
|
+
:rtype: str
|
|
161
|
+
"""
|
|
162
|
+
return self._isp
|
|
163
|
+
|
|
164
|
+
@isp.setter
|
|
165
|
+
def isp(self, isp):
|
|
166
|
+
r"""Sets the isp of this BatchCreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
167
|
+
|
|
168
|
+
全域弹性公网IP所属线路
|
|
169
|
+
|
|
170
|
+
:param isp: The isp of this BatchCreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
171
|
+
:type isp: str
|
|
172
|
+
"""
|
|
173
|
+
self._isp = isp
|
|
174
|
+
|
|
175
|
+
@property
|
|
176
|
+
def access_site(self):
|
|
177
|
+
r"""Gets the access_site of this BatchCreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
178
|
+
|
|
179
|
+
接入点信息
|
|
180
|
+
|
|
181
|
+
:return: The access_site of this BatchCreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
182
|
+
:rtype: str
|
|
183
|
+
"""
|
|
184
|
+
return self._access_site
|
|
185
|
+
|
|
186
|
+
@access_site.setter
|
|
187
|
+
def access_site(self, access_site):
|
|
188
|
+
r"""Sets the access_site of this BatchCreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
189
|
+
|
|
190
|
+
接入点信息
|
|
191
|
+
|
|
192
|
+
:param access_site: The access_site of this BatchCreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
193
|
+
:type access_site: str
|
|
194
|
+
"""
|
|
195
|
+
self._access_site = access_site
|
|
196
|
+
|
|
197
|
+
@property
|
|
198
|
+
def size(self):
|
|
199
|
+
r"""Gets the size of this BatchCreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
200
|
+
|
|
201
|
+
全域公网带宽大小(出云方向)
|
|
202
|
+
|
|
203
|
+
:return: The size of this BatchCreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
204
|
+
:rtype: int
|
|
205
|
+
"""
|
|
206
|
+
return self._size
|
|
207
|
+
|
|
208
|
+
@size.setter
|
|
209
|
+
def size(self, size):
|
|
210
|
+
r"""Sets the size of this BatchCreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
211
|
+
|
|
212
|
+
全域公网带宽大小(出云方向)
|
|
213
|
+
|
|
214
|
+
:param size: The size of this BatchCreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
215
|
+
:type size: int
|
|
216
|
+
"""
|
|
217
|
+
self._size = size
|
|
218
|
+
|
|
219
|
+
@property
|
|
220
|
+
def name(self):
|
|
221
|
+
r"""Gets the name of this BatchCreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
222
|
+
|
|
223
|
+
- 功能说明:全域公网带宽名称 - 取值范围:1-64,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
|
|
224
|
+
|
|
225
|
+
:return: The name of this BatchCreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
226
|
+
:rtype: str
|
|
227
|
+
"""
|
|
228
|
+
return self._name
|
|
229
|
+
|
|
230
|
+
@name.setter
|
|
231
|
+
def name(self, name):
|
|
232
|
+
r"""Sets the name of this BatchCreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
233
|
+
|
|
234
|
+
- 功能说明:全域公网带宽名称 - 取值范围:1-64,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
|
|
235
|
+
|
|
236
|
+
:param name: The name of this BatchCreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
237
|
+
:type name: str
|
|
238
|
+
"""
|
|
239
|
+
self._name = name
|
|
240
|
+
|
|
241
|
+
@property
|
|
242
|
+
def description(self):
|
|
243
|
+
r"""Gets the description of this BatchCreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
244
|
+
|
|
245
|
+
- 功能说明:用户自定义的资源描述 - 约束: - 值的长度最大512字符,由数字、字母、中文、_(下划线)、-(中划线)、.(点)组成。
|
|
246
|
+
|
|
247
|
+
:return: The description of this BatchCreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
248
|
+
:rtype: str
|
|
249
|
+
"""
|
|
250
|
+
return self._description
|
|
251
|
+
|
|
252
|
+
@description.setter
|
|
253
|
+
def description(self, description):
|
|
254
|
+
r"""Sets the description of this BatchCreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
255
|
+
|
|
256
|
+
- 功能说明:用户自定义的资源描述 - 约束: - 值的长度最大512字符,由数字、字母、中文、_(下划线)、-(中划线)、.(点)组成。
|
|
257
|
+
|
|
258
|
+
:param description: The description of this BatchCreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
259
|
+
:type description: str
|
|
260
|
+
"""
|
|
261
|
+
self._description = description
|
|
262
|
+
|
|
263
|
+
@property
|
|
264
|
+
def count(self):
|
|
265
|
+
r"""Gets the count of this BatchCreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
266
|
+
|
|
267
|
+
批创个数
|
|
268
|
+
|
|
269
|
+
:return: The count of this BatchCreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
270
|
+
:rtype: int
|
|
271
|
+
"""
|
|
272
|
+
return self._count
|
|
273
|
+
|
|
274
|
+
@count.setter
|
|
275
|
+
def count(self, count):
|
|
276
|
+
r"""Sets the count of this BatchCreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
277
|
+
|
|
278
|
+
批创个数
|
|
279
|
+
|
|
280
|
+
:param count: The count of this BatchCreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
281
|
+
:type count: int
|
|
282
|
+
"""
|
|
283
|
+
self._count = count
|
|
284
|
+
|
|
285
|
+
@property
|
|
286
|
+
def tags(self):
|
|
287
|
+
r"""Gets the tags of this BatchCreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
288
|
+
|
|
289
|
+
全域公网带宽标签
|
|
290
|
+
|
|
291
|
+
:return: The tags of this BatchCreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
292
|
+
:rtype: list[:class:`huaweicloudsdkgeip.v3.CreateGlobalEipRequestBodyGlobalEipTags`]
|
|
293
|
+
"""
|
|
294
|
+
return self._tags
|
|
295
|
+
|
|
296
|
+
@tags.setter
|
|
297
|
+
def tags(self, tags):
|
|
298
|
+
r"""Sets the tags of this BatchCreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
299
|
+
|
|
300
|
+
全域公网带宽标签
|
|
301
|
+
|
|
302
|
+
:param tags: The tags of this BatchCreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
303
|
+
:type tags: list[:class:`huaweicloudsdkgeip.v3.CreateGlobalEipRequestBodyGlobalEipTags`]
|
|
304
|
+
"""
|
|
305
|
+
self._tags = tags
|
|
306
|
+
|
|
307
|
+
@property
|
|
308
|
+
def enterprise_project_id(self):
|
|
309
|
+
r"""Gets the enterprise_project_id of this BatchCreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
310
|
+
|
|
311
|
+
- 企业项目ID。最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。 - 创建全域弹性公网IP时,给全域弹性公网IP绑定企业项目ID。 - 不指定该参数时,默认值是 0 - 关于企业项目ID的获取及企业项目特性的详细信息,请参见[《企业管理用户指南》](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)。
|
|
312
|
+
|
|
313
|
+
:return: The enterprise_project_id of this BatchCreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
314
|
+
:rtype: str
|
|
315
|
+
"""
|
|
316
|
+
return self._enterprise_project_id
|
|
317
|
+
|
|
318
|
+
@enterprise_project_id.setter
|
|
319
|
+
def enterprise_project_id(self, enterprise_project_id):
|
|
320
|
+
r"""Sets the enterprise_project_id of this BatchCreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
321
|
+
|
|
322
|
+
- 企业项目ID。最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。 - 创建全域弹性公网IP时,给全域弹性公网IP绑定企业项目ID。 - 不指定该参数时,默认值是 0 - 关于企业项目ID的获取及企业项目特性的详细信息,请参见[《企业管理用户指南》](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)。
|
|
323
|
+
|
|
324
|
+
:param enterprise_project_id: The enterprise_project_id of this BatchCreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
325
|
+
:type enterprise_project_id: str
|
|
326
|
+
"""
|
|
327
|
+
self._enterprise_project_id = enterprise_project_id
|
|
328
|
+
|
|
329
|
+
@property
|
|
330
|
+
def type(self):
|
|
331
|
+
r"""Gets the type of this BatchCreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
332
|
+
|
|
333
|
+
全域公网带宽类型
|
|
334
|
+
|
|
335
|
+
:return: The type of this BatchCreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
336
|
+
:rtype: str
|
|
337
|
+
"""
|
|
338
|
+
return self._type
|
|
339
|
+
|
|
340
|
+
@type.setter
|
|
341
|
+
def type(self, type):
|
|
342
|
+
r"""Sets the type of this BatchCreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
343
|
+
|
|
344
|
+
全域公网带宽类型
|
|
345
|
+
|
|
346
|
+
:param type: The type of this BatchCreateInternetBandwidthRequestBodyInternetBandwidth.
|
|
347
|
+
:type type: str
|
|
348
|
+
"""
|
|
349
|
+
self._type = type
|
|
350
|
+
|
|
351
|
+
def to_dict(self):
|
|
352
|
+
result = {}
|
|
353
|
+
|
|
354
|
+
for attr, _ in self.openapi_types.items():
|
|
355
|
+
value = getattr(self, attr)
|
|
356
|
+
if isinstance(value, list):
|
|
357
|
+
result[attr] = list(map(
|
|
358
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
359
|
+
value
|
|
360
|
+
))
|
|
361
|
+
elif hasattr(value, "to_dict"):
|
|
362
|
+
result[attr] = value.to_dict()
|
|
363
|
+
elif isinstance(value, dict):
|
|
364
|
+
result[attr] = dict(map(
|
|
365
|
+
lambda item: (item[0], item[1].to_dict())
|
|
366
|
+
if hasattr(item[1], "to_dict") else item,
|
|
367
|
+
value.items()
|
|
368
|
+
))
|
|
369
|
+
else:
|
|
370
|
+
if attr in self.sensitive_list:
|
|
371
|
+
result[attr] = "****"
|
|
372
|
+
else:
|
|
373
|
+
result[attr] = value
|
|
374
|
+
|
|
375
|
+
return result
|
|
376
|
+
|
|
377
|
+
def to_str(self):
|
|
378
|
+
"""Returns the string representation of the model"""
|
|
379
|
+
import simplejson as json
|
|
380
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
381
|
+
|
|
382
|
+
def __repr__(self):
|
|
383
|
+
"""For `print`"""
|
|
384
|
+
return self.to_str()
|
|
385
|
+
|
|
386
|
+
def __eq__(self, other):
|
|
387
|
+
"""Returns true if both objects are equal"""
|
|
388
|
+
if not isinstance(other, BatchCreateInternetBandwidthRequestBodyInternetBandwidth):
|
|
389
|
+
return False
|
|
390
|
+
|
|
391
|
+
return self.__dict__ == other.__dict__
|
|
392
|
+
|
|
393
|
+
def __ne__(self, other):
|
|
394
|
+
"""Returns true if both objects are not equal"""
|
|
395
|
+
return not self == other
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.sdk_response import SdkResponse
|
|
4
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
class BatchCreateInternetBandwidthResponse(SdkResponse):
|
|
8
|
+
|
|
9
|
+
"""
|
|
10
|
+
Attributes:
|
|
11
|
+
openapi_types (dict): The key is attribute name
|
|
12
|
+
and the value is attribute type.
|
|
13
|
+
attribute_map (dict): The key is attribute name
|
|
14
|
+
and the value is json key in definition.
|
|
15
|
+
"""
|
|
16
|
+
sensitive_list = []
|
|
17
|
+
|
|
18
|
+
openapi_types = {
|
|
19
|
+
'request_id': 'str',
|
|
20
|
+
'internet_bandwidths': 'list[BatchCreateInternetBandwidth]',
|
|
21
|
+
'x_request_id': 'str'
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
attribute_map = {
|
|
25
|
+
'request_id': 'request_id',
|
|
26
|
+
'internet_bandwidths': 'internet_bandwidths',
|
|
27
|
+
'x_request_id': 'X-Request-Id'
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
def __init__(self, request_id=None, internet_bandwidths=None, x_request_id=None):
|
|
31
|
+
r"""BatchCreateInternetBandwidthResponse
|
|
32
|
+
|
|
33
|
+
The model defined in huaweicloud sdk
|
|
34
|
+
|
|
35
|
+
:param request_id: 本次请求的编号
|
|
36
|
+
:type request_id: str
|
|
37
|
+
:param internet_bandwidths: 创建成功响应体对象
|
|
38
|
+
:type internet_bandwidths: list[:class:`huaweicloudsdkgeip.v3.BatchCreateInternetBandwidth`]
|
|
39
|
+
:param x_request_id:
|
|
40
|
+
:type x_request_id: str
|
|
41
|
+
"""
|
|
42
|
+
|
|
43
|
+
super().__init__()
|
|
44
|
+
|
|
45
|
+
self._request_id = None
|
|
46
|
+
self._internet_bandwidths = None
|
|
47
|
+
self._x_request_id = None
|
|
48
|
+
self.discriminator = None
|
|
49
|
+
|
|
50
|
+
if request_id is not None:
|
|
51
|
+
self.request_id = request_id
|
|
52
|
+
if internet_bandwidths is not None:
|
|
53
|
+
self.internet_bandwidths = internet_bandwidths
|
|
54
|
+
if x_request_id is not None:
|
|
55
|
+
self.x_request_id = x_request_id
|
|
56
|
+
|
|
57
|
+
@property
|
|
58
|
+
def request_id(self):
|
|
59
|
+
r"""Gets the request_id of this BatchCreateInternetBandwidthResponse.
|
|
60
|
+
|
|
61
|
+
本次请求的编号
|
|
62
|
+
|
|
63
|
+
:return: The request_id of this BatchCreateInternetBandwidthResponse.
|
|
64
|
+
:rtype: str
|
|
65
|
+
"""
|
|
66
|
+
return self._request_id
|
|
67
|
+
|
|
68
|
+
@request_id.setter
|
|
69
|
+
def request_id(self, request_id):
|
|
70
|
+
r"""Sets the request_id of this BatchCreateInternetBandwidthResponse.
|
|
71
|
+
|
|
72
|
+
本次请求的编号
|
|
73
|
+
|
|
74
|
+
:param request_id: The request_id of this BatchCreateInternetBandwidthResponse.
|
|
75
|
+
:type request_id: str
|
|
76
|
+
"""
|
|
77
|
+
self._request_id = request_id
|
|
78
|
+
|
|
79
|
+
@property
|
|
80
|
+
def internet_bandwidths(self):
|
|
81
|
+
r"""Gets the internet_bandwidths of this BatchCreateInternetBandwidthResponse.
|
|
82
|
+
|
|
83
|
+
创建成功响应体对象
|
|
84
|
+
|
|
85
|
+
:return: The internet_bandwidths of this BatchCreateInternetBandwidthResponse.
|
|
86
|
+
:rtype: list[:class:`huaweicloudsdkgeip.v3.BatchCreateInternetBandwidth`]
|
|
87
|
+
"""
|
|
88
|
+
return self._internet_bandwidths
|
|
89
|
+
|
|
90
|
+
@internet_bandwidths.setter
|
|
91
|
+
def internet_bandwidths(self, internet_bandwidths):
|
|
92
|
+
r"""Sets the internet_bandwidths of this BatchCreateInternetBandwidthResponse.
|
|
93
|
+
|
|
94
|
+
创建成功响应体对象
|
|
95
|
+
|
|
96
|
+
:param internet_bandwidths: The internet_bandwidths of this BatchCreateInternetBandwidthResponse.
|
|
97
|
+
:type internet_bandwidths: list[:class:`huaweicloudsdkgeip.v3.BatchCreateInternetBandwidth`]
|
|
98
|
+
"""
|
|
99
|
+
self._internet_bandwidths = internet_bandwidths
|
|
100
|
+
|
|
101
|
+
@property
|
|
102
|
+
def x_request_id(self):
|
|
103
|
+
r"""Gets the x_request_id of this BatchCreateInternetBandwidthResponse.
|
|
104
|
+
|
|
105
|
+
:return: The x_request_id of this BatchCreateInternetBandwidthResponse.
|
|
106
|
+
:rtype: str
|
|
107
|
+
"""
|
|
108
|
+
return self._x_request_id
|
|
109
|
+
|
|
110
|
+
@x_request_id.setter
|
|
111
|
+
def x_request_id(self, x_request_id):
|
|
112
|
+
r"""Sets the x_request_id of this BatchCreateInternetBandwidthResponse.
|
|
113
|
+
|
|
114
|
+
:param x_request_id: The x_request_id of this BatchCreateInternetBandwidthResponse.
|
|
115
|
+
:type x_request_id: str
|
|
116
|
+
"""
|
|
117
|
+
self._x_request_id = x_request_id
|
|
118
|
+
|
|
119
|
+
def to_dict(self):
|
|
120
|
+
import warnings
|
|
121
|
+
warnings.warn("BatchCreateInternetBandwidthResponse.to_dict() is deprecated and no longer maintained, "
|
|
122
|
+
"use to_json_object() to get the response content.", DeprecationWarning)
|
|
123
|
+
result = {}
|
|
124
|
+
|
|
125
|
+
for attr, _ in self.openapi_types.items():
|
|
126
|
+
value = getattr(self, attr)
|
|
127
|
+
if isinstance(value, list):
|
|
128
|
+
result[attr] = list(map(
|
|
129
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
130
|
+
value
|
|
131
|
+
))
|
|
132
|
+
elif hasattr(value, "to_dict"):
|
|
133
|
+
result[attr] = value.to_dict()
|
|
134
|
+
elif isinstance(value, dict):
|
|
135
|
+
result[attr] = dict(map(
|
|
136
|
+
lambda item: (item[0], item[1].to_dict())
|
|
137
|
+
if hasattr(item[1], "to_dict") else item,
|
|
138
|
+
value.items()
|
|
139
|
+
))
|
|
140
|
+
else:
|
|
141
|
+
if attr in self.sensitive_list:
|
|
142
|
+
result[attr] = "****"
|
|
143
|
+
else:
|
|
144
|
+
result[attr] = value
|
|
145
|
+
|
|
146
|
+
return result
|
|
147
|
+
|
|
148
|
+
def to_str(self):
|
|
149
|
+
"""Returns the string representation of the model"""
|
|
150
|
+
import simplejson as json
|
|
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, BatchCreateInternetBandwidthResponse):
|
|
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
|