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,249 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class ListInternetBandwidthLimits:
|
|
7
|
+
|
|
8
|
+
"""
|
|
9
|
+
Attributes:
|
|
10
|
+
openapi_types (dict): The key is attribute name
|
|
11
|
+
and the value is attribute type.
|
|
12
|
+
attribute_map (dict): The key is attribute name
|
|
13
|
+
and the value is json key in definition.
|
|
14
|
+
"""
|
|
15
|
+
sensitive_list = []
|
|
16
|
+
|
|
17
|
+
openapi_types = {
|
|
18
|
+
'id': 'str',
|
|
19
|
+
'charge_mode': 'str',
|
|
20
|
+
'min_size': 'int',
|
|
21
|
+
'ext_limit': 'ExtLimitPojo',
|
|
22
|
+
'max_size': 'int',
|
|
23
|
+
'type': 'str'
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
attribute_map = {
|
|
27
|
+
'id': 'id',
|
|
28
|
+
'charge_mode': 'charge_mode',
|
|
29
|
+
'min_size': 'min_size',
|
|
30
|
+
'ext_limit': 'ext_limit',
|
|
31
|
+
'max_size': 'max_size',
|
|
32
|
+
'type': 'type'
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
def __init__(self, id=None, charge_mode=None, min_size=None, ext_limit=None, max_size=None, type=None):
|
|
36
|
+
r"""ListInternetBandwidthLimits
|
|
37
|
+
|
|
38
|
+
The model defined in huaweicloud sdk
|
|
39
|
+
|
|
40
|
+
:param id: 全域公网带宽限制的ID
|
|
41
|
+
:type id: str
|
|
42
|
+
:param charge_mode: 全域公网带宽的计费模式
|
|
43
|
+
:type charge_mode: str
|
|
44
|
+
:param min_size: 该类型全域公网带宽可购买的最小size
|
|
45
|
+
:type min_size: int
|
|
46
|
+
:param ext_limit:
|
|
47
|
+
:type ext_limit: :class:`huaweicloudsdkgeip.v3.ExtLimitPojo`
|
|
48
|
+
:param max_size: 该类型全域公网带宽可购买的最大size
|
|
49
|
+
:type max_size: int
|
|
50
|
+
:param type: 全域公网带宽类型
|
|
51
|
+
:type type: str
|
|
52
|
+
"""
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
self._id = None
|
|
57
|
+
self._charge_mode = None
|
|
58
|
+
self._min_size = None
|
|
59
|
+
self._ext_limit = None
|
|
60
|
+
self._max_size = None
|
|
61
|
+
self._type = None
|
|
62
|
+
self.discriminator = None
|
|
63
|
+
|
|
64
|
+
if id is not None:
|
|
65
|
+
self.id = id
|
|
66
|
+
if charge_mode is not None:
|
|
67
|
+
self.charge_mode = charge_mode
|
|
68
|
+
if min_size is not None:
|
|
69
|
+
self.min_size = min_size
|
|
70
|
+
if ext_limit is not None:
|
|
71
|
+
self.ext_limit = ext_limit
|
|
72
|
+
if max_size is not None:
|
|
73
|
+
self.max_size = max_size
|
|
74
|
+
if type is not None:
|
|
75
|
+
self.type = type
|
|
76
|
+
|
|
77
|
+
@property
|
|
78
|
+
def id(self):
|
|
79
|
+
r"""Gets the id of this ListInternetBandwidthLimits.
|
|
80
|
+
|
|
81
|
+
全域公网带宽限制的ID
|
|
82
|
+
|
|
83
|
+
:return: The id of this ListInternetBandwidthLimits.
|
|
84
|
+
:rtype: str
|
|
85
|
+
"""
|
|
86
|
+
return self._id
|
|
87
|
+
|
|
88
|
+
@id.setter
|
|
89
|
+
def id(self, id):
|
|
90
|
+
r"""Sets the id of this ListInternetBandwidthLimits.
|
|
91
|
+
|
|
92
|
+
全域公网带宽限制的ID
|
|
93
|
+
|
|
94
|
+
:param id: The id of this ListInternetBandwidthLimits.
|
|
95
|
+
:type id: str
|
|
96
|
+
"""
|
|
97
|
+
self._id = id
|
|
98
|
+
|
|
99
|
+
@property
|
|
100
|
+
def charge_mode(self):
|
|
101
|
+
r"""Gets the charge_mode of this ListInternetBandwidthLimits.
|
|
102
|
+
|
|
103
|
+
全域公网带宽的计费模式
|
|
104
|
+
|
|
105
|
+
:return: The charge_mode of this ListInternetBandwidthLimits.
|
|
106
|
+
:rtype: str
|
|
107
|
+
"""
|
|
108
|
+
return self._charge_mode
|
|
109
|
+
|
|
110
|
+
@charge_mode.setter
|
|
111
|
+
def charge_mode(self, charge_mode):
|
|
112
|
+
r"""Sets the charge_mode of this ListInternetBandwidthLimits.
|
|
113
|
+
|
|
114
|
+
全域公网带宽的计费模式
|
|
115
|
+
|
|
116
|
+
:param charge_mode: The charge_mode of this ListInternetBandwidthLimits.
|
|
117
|
+
:type charge_mode: str
|
|
118
|
+
"""
|
|
119
|
+
self._charge_mode = charge_mode
|
|
120
|
+
|
|
121
|
+
@property
|
|
122
|
+
def min_size(self):
|
|
123
|
+
r"""Gets the min_size of this ListInternetBandwidthLimits.
|
|
124
|
+
|
|
125
|
+
该类型全域公网带宽可购买的最小size
|
|
126
|
+
|
|
127
|
+
:return: The min_size of this ListInternetBandwidthLimits.
|
|
128
|
+
:rtype: int
|
|
129
|
+
"""
|
|
130
|
+
return self._min_size
|
|
131
|
+
|
|
132
|
+
@min_size.setter
|
|
133
|
+
def min_size(self, min_size):
|
|
134
|
+
r"""Sets the min_size of this ListInternetBandwidthLimits.
|
|
135
|
+
|
|
136
|
+
该类型全域公网带宽可购买的最小size
|
|
137
|
+
|
|
138
|
+
:param min_size: The min_size of this ListInternetBandwidthLimits.
|
|
139
|
+
:type min_size: int
|
|
140
|
+
"""
|
|
141
|
+
self._min_size = min_size
|
|
142
|
+
|
|
143
|
+
@property
|
|
144
|
+
def ext_limit(self):
|
|
145
|
+
r"""Gets the ext_limit of this ListInternetBandwidthLimits.
|
|
146
|
+
|
|
147
|
+
:return: The ext_limit of this ListInternetBandwidthLimits.
|
|
148
|
+
:rtype: :class:`huaweicloudsdkgeip.v3.ExtLimitPojo`
|
|
149
|
+
"""
|
|
150
|
+
return self._ext_limit
|
|
151
|
+
|
|
152
|
+
@ext_limit.setter
|
|
153
|
+
def ext_limit(self, ext_limit):
|
|
154
|
+
r"""Sets the ext_limit of this ListInternetBandwidthLimits.
|
|
155
|
+
|
|
156
|
+
:param ext_limit: The ext_limit of this ListInternetBandwidthLimits.
|
|
157
|
+
:type ext_limit: :class:`huaweicloudsdkgeip.v3.ExtLimitPojo`
|
|
158
|
+
"""
|
|
159
|
+
self._ext_limit = ext_limit
|
|
160
|
+
|
|
161
|
+
@property
|
|
162
|
+
def max_size(self):
|
|
163
|
+
r"""Gets the max_size of this ListInternetBandwidthLimits.
|
|
164
|
+
|
|
165
|
+
该类型全域公网带宽可购买的最大size
|
|
166
|
+
|
|
167
|
+
:return: The max_size of this ListInternetBandwidthLimits.
|
|
168
|
+
:rtype: int
|
|
169
|
+
"""
|
|
170
|
+
return self._max_size
|
|
171
|
+
|
|
172
|
+
@max_size.setter
|
|
173
|
+
def max_size(self, max_size):
|
|
174
|
+
r"""Sets the max_size of this ListInternetBandwidthLimits.
|
|
175
|
+
|
|
176
|
+
该类型全域公网带宽可购买的最大size
|
|
177
|
+
|
|
178
|
+
:param max_size: The max_size of this ListInternetBandwidthLimits.
|
|
179
|
+
:type max_size: int
|
|
180
|
+
"""
|
|
181
|
+
self._max_size = max_size
|
|
182
|
+
|
|
183
|
+
@property
|
|
184
|
+
def type(self):
|
|
185
|
+
r"""Gets the type of this ListInternetBandwidthLimits.
|
|
186
|
+
|
|
187
|
+
全域公网带宽类型
|
|
188
|
+
|
|
189
|
+
:return: The type of this ListInternetBandwidthLimits.
|
|
190
|
+
:rtype: str
|
|
191
|
+
"""
|
|
192
|
+
return self._type
|
|
193
|
+
|
|
194
|
+
@type.setter
|
|
195
|
+
def type(self, type):
|
|
196
|
+
r"""Sets the type of this ListInternetBandwidthLimits.
|
|
197
|
+
|
|
198
|
+
全域公网带宽类型
|
|
199
|
+
|
|
200
|
+
:param type: The type of this ListInternetBandwidthLimits.
|
|
201
|
+
:type type: str
|
|
202
|
+
"""
|
|
203
|
+
self._type = type
|
|
204
|
+
|
|
205
|
+
def to_dict(self):
|
|
206
|
+
result = {}
|
|
207
|
+
|
|
208
|
+
for attr, _ in self.openapi_types.items():
|
|
209
|
+
value = getattr(self, attr)
|
|
210
|
+
if isinstance(value, list):
|
|
211
|
+
result[attr] = list(map(
|
|
212
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
213
|
+
value
|
|
214
|
+
))
|
|
215
|
+
elif hasattr(value, "to_dict"):
|
|
216
|
+
result[attr] = value.to_dict()
|
|
217
|
+
elif isinstance(value, dict):
|
|
218
|
+
result[attr] = dict(map(
|
|
219
|
+
lambda item: (item[0], item[1].to_dict())
|
|
220
|
+
if hasattr(item[1], "to_dict") else item,
|
|
221
|
+
value.items()
|
|
222
|
+
))
|
|
223
|
+
else:
|
|
224
|
+
if attr in self.sensitive_list:
|
|
225
|
+
result[attr] = "****"
|
|
226
|
+
else:
|
|
227
|
+
result[attr] = value
|
|
228
|
+
|
|
229
|
+
return result
|
|
230
|
+
|
|
231
|
+
def to_str(self):
|
|
232
|
+
"""Returns the string representation of the model"""
|
|
233
|
+
import simplejson as json
|
|
234
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
235
|
+
|
|
236
|
+
def __repr__(self):
|
|
237
|
+
"""For `print`"""
|
|
238
|
+
return self.to_str()
|
|
239
|
+
|
|
240
|
+
def __eq__(self, other):
|
|
241
|
+
"""Returns true if both objects are equal"""
|
|
242
|
+
if not isinstance(other, ListInternetBandwidthLimits):
|
|
243
|
+
return False
|
|
244
|
+
|
|
245
|
+
return self.__dict__ == other.__dict__
|
|
246
|
+
|
|
247
|
+
def __ne__(self, other):
|
|
248
|
+
"""Returns true if both objects are not equal"""
|
|
249
|
+
return not self == other
|
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class ListInternetBandwidthLimitsRequest:
|
|
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
|
+
'fields': 'list[str]',
|
|
19
|
+
'sort_key': 'list[str]',
|
|
20
|
+
'sort_dir': 'list[str]',
|
|
21
|
+
'charge_mode': 'list[str]',
|
|
22
|
+
'type': 'str'
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
attribute_map = {
|
|
26
|
+
'fields': 'fields',
|
|
27
|
+
'sort_key': 'sort_key',
|
|
28
|
+
'sort_dir': 'sort_dir',
|
|
29
|
+
'charge_mode': 'charge_mode',
|
|
30
|
+
'type': 'type'
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
def __init__(self, fields=None, sort_key=None, sort_dir=None, charge_mode=None, type=None):
|
|
34
|
+
r"""ListInternetBandwidthLimitsRequest
|
|
35
|
+
|
|
36
|
+
The model defined in huaweicloud sdk
|
|
37
|
+
|
|
38
|
+
:param fields:
|
|
39
|
+
:type fields: list[str]
|
|
40
|
+
:param sort_key: 按照sort_key指定的字段排序
|
|
41
|
+
:type sort_key: list[str]
|
|
42
|
+
:param sort_dir: 排序的方向,倒序或者正序
|
|
43
|
+
:type sort_dir: list[str]
|
|
44
|
+
:param charge_mode:
|
|
45
|
+
:type charge_mode: list[str]
|
|
46
|
+
:param type:
|
|
47
|
+
:type type: str
|
|
48
|
+
"""
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
self._fields = None
|
|
53
|
+
self._sort_key = None
|
|
54
|
+
self._sort_dir = None
|
|
55
|
+
self._charge_mode = None
|
|
56
|
+
self._type = None
|
|
57
|
+
self.discriminator = None
|
|
58
|
+
|
|
59
|
+
if fields is not None:
|
|
60
|
+
self.fields = fields
|
|
61
|
+
if sort_key is not None:
|
|
62
|
+
self.sort_key = sort_key
|
|
63
|
+
if sort_dir is not None:
|
|
64
|
+
self.sort_dir = sort_dir
|
|
65
|
+
if charge_mode is not None:
|
|
66
|
+
self.charge_mode = charge_mode
|
|
67
|
+
if type is not None:
|
|
68
|
+
self.type = type
|
|
69
|
+
|
|
70
|
+
@property
|
|
71
|
+
def fields(self):
|
|
72
|
+
r"""Gets the fields of this ListInternetBandwidthLimitsRequest.
|
|
73
|
+
|
|
74
|
+
:return: The fields of this ListInternetBandwidthLimitsRequest.
|
|
75
|
+
:rtype: list[str]
|
|
76
|
+
"""
|
|
77
|
+
return self._fields
|
|
78
|
+
|
|
79
|
+
@fields.setter
|
|
80
|
+
def fields(self, fields):
|
|
81
|
+
r"""Sets the fields of this ListInternetBandwidthLimitsRequest.
|
|
82
|
+
|
|
83
|
+
:param fields: The fields of this ListInternetBandwidthLimitsRequest.
|
|
84
|
+
:type fields: list[str]
|
|
85
|
+
"""
|
|
86
|
+
self._fields = fields
|
|
87
|
+
|
|
88
|
+
@property
|
|
89
|
+
def sort_key(self):
|
|
90
|
+
r"""Gets the sort_key of this ListInternetBandwidthLimitsRequest.
|
|
91
|
+
|
|
92
|
+
按照sort_key指定的字段排序
|
|
93
|
+
|
|
94
|
+
:return: The sort_key of this ListInternetBandwidthLimitsRequest.
|
|
95
|
+
:rtype: list[str]
|
|
96
|
+
"""
|
|
97
|
+
return self._sort_key
|
|
98
|
+
|
|
99
|
+
@sort_key.setter
|
|
100
|
+
def sort_key(self, sort_key):
|
|
101
|
+
r"""Sets the sort_key of this ListInternetBandwidthLimitsRequest.
|
|
102
|
+
|
|
103
|
+
按照sort_key指定的字段排序
|
|
104
|
+
|
|
105
|
+
:param sort_key: The sort_key of this ListInternetBandwidthLimitsRequest.
|
|
106
|
+
:type sort_key: list[str]
|
|
107
|
+
"""
|
|
108
|
+
self._sort_key = sort_key
|
|
109
|
+
|
|
110
|
+
@property
|
|
111
|
+
def sort_dir(self):
|
|
112
|
+
r"""Gets the sort_dir of this ListInternetBandwidthLimitsRequest.
|
|
113
|
+
|
|
114
|
+
排序的方向,倒序或者正序
|
|
115
|
+
|
|
116
|
+
:return: The sort_dir of this ListInternetBandwidthLimitsRequest.
|
|
117
|
+
:rtype: list[str]
|
|
118
|
+
"""
|
|
119
|
+
return self._sort_dir
|
|
120
|
+
|
|
121
|
+
@sort_dir.setter
|
|
122
|
+
def sort_dir(self, sort_dir):
|
|
123
|
+
r"""Sets the sort_dir of this ListInternetBandwidthLimitsRequest.
|
|
124
|
+
|
|
125
|
+
排序的方向,倒序或者正序
|
|
126
|
+
|
|
127
|
+
:param sort_dir: The sort_dir of this ListInternetBandwidthLimitsRequest.
|
|
128
|
+
:type sort_dir: list[str]
|
|
129
|
+
"""
|
|
130
|
+
self._sort_dir = sort_dir
|
|
131
|
+
|
|
132
|
+
@property
|
|
133
|
+
def charge_mode(self):
|
|
134
|
+
r"""Gets the charge_mode of this ListInternetBandwidthLimitsRequest.
|
|
135
|
+
|
|
136
|
+
:return: The charge_mode of this ListInternetBandwidthLimitsRequest.
|
|
137
|
+
:rtype: list[str]
|
|
138
|
+
"""
|
|
139
|
+
return self._charge_mode
|
|
140
|
+
|
|
141
|
+
@charge_mode.setter
|
|
142
|
+
def charge_mode(self, charge_mode):
|
|
143
|
+
r"""Sets the charge_mode of this ListInternetBandwidthLimitsRequest.
|
|
144
|
+
|
|
145
|
+
:param charge_mode: The charge_mode of this ListInternetBandwidthLimitsRequest.
|
|
146
|
+
:type charge_mode: list[str]
|
|
147
|
+
"""
|
|
148
|
+
self._charge_mode = charge_mode
|
|
149
|
+
|
|
150
|
+
@property
|
|
151
|
+
def type(self):
|
|
152
|
+
r"""Gets the type of this ListInternetBandwidthLimitsRequest.
|
|
153
|
+
|
|
154
|
+
:return: The type of this ListInternetBandwidthLimitsRequest.
|
|
155
|
+
:rtype: str
|
|
156
|
+
"""
|
|
157
|
+
return self._type
|
|
158
|
+
|
|
159
|
+
@type.setter
|
|
160
|
+
def type(self, type):
|
|
161
|
+
r"""Sets the type of this ListInternetBandwidthLimitsRequest.
|
|
162
|
+
|
|
163
|
+
:param type: The type of this ListInternetBandwidthLimitsRequest.
|
|
164
|
+
:type type: str
|
|
165
|
+
"""
|
|
166
|
+
self._type = type
|
|
167
|
+
|
|
168
|
+
def to_dict(self):
|
|
169
|
+
result = {}
|
|
170
|
+
|
|
171
|
+
for attr, _ in self.openapi_types.items():
|
|
172
|
+
value = getattr(self, attr)
|
|
173
|
+
if isinstance(value, list):
|
|
174
|
+
result[attr] = list(map(
|
|
175
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
176
|
+
value
|
|
177
|
+
))
|
|
178
|
+
elif hasattr(value, "to_dict"):
|
|
179
|
+
result[attr] = value.to_dict()
|
|
180
|
+
elif isinstance(value, dict):
|
|
181
|
+
result[attr] = dict(map(
|
|
182
|
+
lambda item: (item[0], item[1].to_dict())
|
|
183
|
+
if hasattr(item[1], "to_dict") else item,
|
|
184
|
+
value.items()
|
|
185
|
+
))
|
|
186
|
+
else:
|
|
187
|
+
if attr in self.sensitive_list:
|
|
188
|
+
result[attr] = "****"
|
|
189
|
+
else:
|
|
190
|
+
result[attr] = value
|
|
191
|
+
|
|
192
|
+
return result
|
|
193
|
+
|
|
194
|
+
def to_str(self):
|
|
195
|
+
"""Returns the string representation of the model"""
|
|
196
|
+
import simplejson as json
|
|
197
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
198
|
+
|
|
199
|
+
def __repr__(self):
|
|
200
|
+
"""For `print`"""
|
|
201
|
+
return self.to_str()
|
|
202
|
+
|
|
203
|
+
def __eq__(self, other):
|
|
204
|
+
"""Returns true if both objects are equal"""
|
|
205
|
+
if not isinstance(other, ListInternetBandwidthLimitsRequest):
|
|
206
|
+
return False
|
|
207
|
+
|
|
208
|
+
return self.__dict__ == other.__dict__
|
|
209
|
+
|
|
210
|
+
def __ne__(self, other):
|
|
211
|
+
"""Returns true if both objects are not equal"""
|
|
212
|
+
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 ListInternetBandwidthLimitsResponse(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_bandwidth_limits': 'list[ListInternetBandwidthLimits]',
|
|
21
|
+
'x_request_id': 'str'
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
attribute_map = {
|
|
25
|
+
'request_id': 'request_id',
|
|
26
|
+
'internet_bandwidth_limits': 'internet_bandwidth_limits',
|
|
27
|
+
'x_request_id': 'X-Request-Id'
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
def __init__(self, request_id=None, internet_bandwidth_limits=None, x_request_id=None):
|
|
31
|
+
r"""ListInternetBandwidthLimitsResponse
|
|
32
|
+
|
|
33
|
+
The model defined in huaweicloud sdk
|
|
34
|
+
|
|
35
|
+
:param request_id: 本次请求的编号
|
|
36
|
+
:type request_id: str
|
|
37
|
+
:param internet_bandwidth_limits: 全域公网带宽限制列表
|
|
38
|
+
:type internet_bandwidth_limits: list[:class:`huaweicloudsdkgeip.v3.ListInternetBandwidthLimits`]
|
|
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_bandwidth_limits = 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_bandwidth_limits is not None:
|
|
53
|
+
self.internet_bandwidth_limits = internet_bandwidth_limits
|
|
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 ListInternetBandwidthLimitsResponse.
|
|
60
|
+
|
|
61
|
+
本次请求的编号
|
|
62
|
+
|
|
63
|
+
:return: The request_id of this ListInternetBandwidthLimitsResponse.
|
|
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 ListInternetBandwidthLimitsResponse.
|
|
71
|
+
|
|
72
|
+
本次请求的编号
|
|
73
|
+
|
|
74
|
+
:param request_id: The request_id of this ListInternetBandwidthLimitsResponse.
|
|
75
|
+
:type request_id: str
|
|
76
|
+
"""
|
|
77
|
+
self._request_id = request_id
|
|
78
|
+
|
|
79
|
+
@property
|
|
80
|
+
def internet_bandwidth_limits(self):
|
|
81
|
+
r"""Gets the internet_bandwidth_limits of this ListInternetBandwidthLimitsResponse.
|
|
82
|
+
|
|
83
|
+
全域公网带宽限制列表
|
|
84
|
+
|
|
85
|
+
:return: The internet_bandwidth_limits of this ListInternetBandwidthLimitsResponse.
|
|
86
|
+
:rtype: list[:class:`huaweicloudsdkgeip.v3.ListInternetBandwidthLimits`]
|
|
87
|
+
"""
|
|
88
|
+
return self._internet_bandwidth_limits
|
|
89
|
+
|
|
90
|
+
@internet_bandwidth_limits.setter
|
|
91
|
+
def internet_bandwidth_limits(self, internet_bandwidth_limits):
|
|
92
|
+
r"""Sets the internet_bandwidth_limits of this ListInternetBandwidthLimitsResponse.
|
|
93
|
+
|
|
94
|
+
全域公网带宽限制列表
|
|
95
|
+
|
|
96
|
+
:param internet_bandwidth_limits: The internet_bandwidth_limits of this ListInternetBandwidthLimitsResponse.
|
|
97
|
+
:type internet_bandwidth_limits: list[:class:`huaweicloudsdkgeip.v3.ListInternetBandwidthLimits`]
|
|
98
|
+
"""
|
|
99
|
+
self._internet_bandwidth_limits = internet_bandwidth_limits
|
|
100
|
+
|
|
101
|
+
@property
|
|
102
|
+
def x_request_id(self):
|
|
103
|
+
r"""Gets the x_request_id of this ListInternetBandwidthLimitsResponse.
|
|
104
|
+
|
|
105
|
+
:return: The x_request_id of this ListInternetBandwidthLimitsResponse.
|
|
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 ListInternetBandwidthLimitsResponse.
|
|
113
|
+
|
|
114
|
+
:param x_request_id: The x_request_id of this ListInternetBandwidthLimitsResponse.
|
|
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("ListInternetBandwidthLimitsResponse.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, ListInternetBandwidthLimitsResponse):
|
|
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
|