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,191 @@
|
|
|
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 ListGlobalEipsResponse(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
|
+
'global_eips': 'list[ListGlobalEips]',
|
|
21
|
+
'page_info': 'ListGlobalEipsResponseBodyPageInfo',
|
|
22
|
+
'x_request_id': 'str'
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
attribute_map = {
|
|
26
|
+
'request_id': 'request_id',
|
|
27
|
+
'global_eips': 'global_eips',
|
|
28
|
+
'page_info': 'page_info',
|
|
29
|
+
'x_request_id': 'X-Request-Id'
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
def __init__(self, request_id=None, global_eips=None, page_info=None, x_request_id=None):
|
|
33
|
+
r"""ListGlobalEipsResponse
|
|
34
|
+
|
|
35
|
+
The model defined in huaweicloud sdk
|
|
36
|
+
|
|
37
|
+
:param request_id: 本次请求的编号
|
|
38
|
+
:type request_id: str
|
|
39
|
+
:param global_eips: 全域弹性公网IP列表
|
|
40
|
+
:type global_eips: list[:class:`huaweicloudsdkgeip.v3.ListGlobalEips`]
|
|
41
|
+
:param page_info:
|
|
42
|
+
:type page_info: :class:`huaweicloudsdkgeip.v3.ListGlobalEipsResponseBodyPageInfo`
|
|
43
|
+
:param x_request_id:
|
|
44
|
+
:type x_request_id: str
|
|
45
|
+
"""
|
|
46
|
+
|
|
47
|
+
super().__init__()
|
|
48
|
+
|
|
49
|
+
self._request_id = None
|
|
50
|
+
self._global_eips = None
|
|
51
|
+
self._page_info = None
|
|
52
|
+
self._x_request_id = None
|
|
53
|
+
self.discriminator = None
|
|
54
|
+
|
|
55
|
+
if request_id is not None:
|
|
56
|
+
self.request_id = request_id
|
|
57
|
+
if global_eips is not None:
|
|
58
|
+
self.global_eips = global_eips
|
|
59
|
+
if page_info is not None:
|
|
60
|
+
self.page_info = page_info
|
|
61
|
+
if x_request_id is not None:
|
|
62
|
+
self.x_request_id = x_request_id
|
|
63
|
+
|
|
64
|
+
@property
|
|
65
|
+
def request_id(self):
|
|
66
|
+
r"""Gets the request_id of this ListGlobalEipsResponse.
|
|
67
|
+
|
|
68
|
+
本次请求的编号
|
|
69
|
+
|
|
70
|
+
:return: The request_id of this ListGlobalEipsResponse.
|
|
71
|
+
:rtype: str
|
|
72
|
+
"""
|
|
73
|
+
return self._request_id
|
|
74
|
+
|
|
75
|
+
@request_id.setter
|
|
76
|
+
def request_id(self, request_id):
|
|
77
|
+
r"""Sets the request_id of this ListGlobalEipsResponse.
|
|
78
|
+
|
|
79
|
+
本次请求的编号
|
|
80
|
+
|
|
81
|
+
:param request_id: The request_id of this ListGlobalEipsResponse.
|
|
82
|
+
:type request_id: str
|
|
83
|
+
"""
|
|
84
|
+
self._request_id = request_id
|
|
85
|
+
|
|
86
|
+
@property
|
|
87
|
+
def global_eips(self):
|
|
88
|
+
r"""Gets the global_eips of this ListGlobalEipsResponse.
|
|
89
|
+
|
|
90
|
+
全域弹性公网IP列表
|
|
91
|
+
|
|
92
|
+
:return: The global_eips of this ListGlobalEipsResponse.
|
|
93
|
+
:rtype: list[:class:`huaweicloudsdkgeip.v3.ListGlobalEips`]
|
|
94
|
+
"""
|
|
95
|
+
return self._global_eips
|
|
96
|
+
|
|
97
|
+
@global_eips.setter
|
|
98
|
+
def global_eips(self, global_eips):
|
|
99
|
+
r"""Sets the global_eips of this ListGlobalEipsResponse.
|
|
100
|
+
|
|
101
|
+
全域弹性公网IP列表
|
|
102
|
+
|
|
103
|
+
:param global_eips: The global_eips of this ListGlobalEipsResponse.
|
|
104
|
+
:type global_eips: list[:class:`huaweicloudsdkgeip.v3.ListGlobalEips`]
|
|
105
|
+
"""
|
|
106
|
+
self._global_eips = global_eips
|
|
107
|
+
|
|
108
|
+
@property
|
|
109
|
+
def page_info(self):
|
|
110
|
+
r"""Gets the page_info of this ListGlobalEipsResponse.
|
|
111
|
+
|
|
112
|
+
:return: The page_info of this ListGlobalEipsResponse.
|
|
113
|
+
:rtype: :class:`huaweicloudsdkgeip.v3.ListGlobalEipsResponseBodyPageInfo`
|
|
114
|
+
"""
|
|
115
|
+
return self._page_info
|
|
116
|
+
|
|
117
|
+
@page_info.setter
|
|
118
|
+
def page_info(self, page_info):
|
|
119
|
+
r"""Sets the page_info of this ListGlobalEipsResponse.
|
|
120
|
+
|
|
121
|
+
:param page_info: The page_info of this ListGlobalEipsResponse.
|
|
122
|
+
:type page_info: :class:`huaweicloudsdkgeip.v3.ListGlobalEipsResponseBodyPageInfo`
|
|
123
|
+
"""
|
|
124
|
+
self._page_info = page_info
|
|
125
|
+
|
|
126
|
+
@property
|
|
127
|
+
def x_request_id(self):
|
|
128
|
+
r"""Gets the x_request_id of this ListGlobalEipsResponse.
|
|
129
|
+
|
|
130
|
+
:return: The x_request_id of this ListGlobalEipsResponse.
|
|
131
|
+
:rtype: str
|
|
132
|
+
"""
|
|
133
|
+
return self._x_request_id
|
|
134
|
+
|
|
135
|
+
@x_request_id.setter
|
|
136
|
+
def x_request_id(self, x_request_id):
|
|
137
|
+
r"""Sets the x_request_id of this ListGlobalEipsResponse.
|
|
138
|
+
|
|
139
|
+
:param x_request_id: The x_request_id of this ListGlobalEipsResponse.
|
|
140
|
+
:type x_request_id: str
|
|
141
|
+
"""
|
|
142
|
+
self._x_request_id = x_request_id
|
|
143
|
+
|
|
144
|
+
def to_dict(self):
|
|
145
|
+
import warnings
|
|
146
|
+
warnings.warn("ListGlobalEipsResponse.to_dict() is deprecated and no longer maintained, "
|
|
147
|
+
"use to_json_object() to get the response content.", DeprecationWarning)
|
|
148
|
+
result = {}
|
|
149
|
+
|
|
150
|
+
for attr, _ in self.openapi_types.items():
|
|
151
|
+
value = getattr(self, attr)
|
|
152
|
+
if isinstance(value, list):
|
|
153
|
+
result[attr] = list(map(
|
|
154
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
155
|
+
value
|
|
156
|
+
))
|
|
157
|
+
elif hasattr(value, "to_dict"):
|
|
158
|
+
result[attr] = value.to_dict()
|
|
159
|
+
elif isinstance(value, dict):
|
|
160
|
+
result[attr] = dict(map(
|
|
161
|
+
lambda item: (item[0], item[1].to_dict())
|
|
162
|
+
if hasattr(item[1], "to_dict") else item,
|
|
163
|
+
value.items()
|
|
164
|
+
))
|
|
165
|
+
else:
|
|
166
|
+
if attr in self.sensitive_list:
|
|
167
|
+
result[attr] = "****"
|
|
168
|
+
else:
|
|
169
|
+
result[attr] = value
|
|
170
|
+
|
|
171
|
+
return result
|
|
172
|
+
|
|
173
|
+
def to_str(self):
|
|
174
|
+
"""Returns the string representation of the model"""
|
|
175
|
+
import simplejson as json
|
|
176
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
177
|
+
|
|
178
|
+
def __repr__(self):
|
|
179
|
+
"""For `print`"""
|
|
180
|
+
return self.to_str()
|
|
181
|
+
|
|
182
|
+
def __eq__(self, other):
|
|
183
|
+
"""Returns true if both objects are equal"""
|
|
184
|
+
if not isinstance(other, ListGlobalEipsResponse):
|
|
185
|
+
return False
|
|
186
|
+
|
|
187
|
+
return self.__dict__ == other.__dict__
|
|
188
|
+
|
|
189
|
+
def __ne__(self, other):
|
|
190
|
+
"""Returns true if both objects are not equal"""
|
|
191
|
+
return not self == other
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class ListGlobalEipsResponseBodyPageInfo:
|
|
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
|
+
'next_marker': 'str',
|
|
19
|
+
'previous_marker': 'str',
|
|
20
|
+
'current_count': 'int'
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
attribute_map = {
|
|
24
|
+
'next_marker': 'next_marker',
|
|
25
|
+
'previous_marker': 'previous_marker',
|
|
26
|
+
'current_count': 'current_count'
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
def __init__(self, next_marker=None, previous_marker=None, current_count=None):
|
|
30
|
+
r"""ListGlobalEipsResponseBodyPageInfo
|
|
31
|
+
|
|
32
|
+
The model defined in huaweicloud sdk
|
|
33
|
+
|
|
34
|
+
:param next_marker: 翻页时,作为后一页的marker取值
|
|
35
|
+
:type next_marker: str
|
|
36
|
+
:param previous_marker: 翻页时,作为前一页的marker取值
|
|
37
|
+
:type previous_marker: str
|
|
38
|
+
:param current_count: 当前页的数据总数
|
|
39
|
+
:type current_count: int
|
|
40
|
+
"""
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
self._next_marker = None
|
|
45
|
+
self._previous_marker = None
|
|
46
|
+
self._current_count = None
|
|
47
|
+
self.discriminator = None
|
|
48
|
+
|
|
49
|
+
if next_marker is not None:
|
|
50
|
+
self.next_marker = next_marker
|
|
51
|
+
if previous_marker is not None:
|
|
52
|
+
self.previous_marker = previous_marker
|
|
53
|
+
if current_count is not None:
|
|
54
|
+
self.current_count = current_count
|
|
55
|
+
|
|
56
|
+
@property
|
|
57
|
+
def next_marker(self):
|
|
58
|
+
r"""Gets the next_marker of this ListGlobalEipsResponseBodyPageInfo.
|
|
59
|
+
|
|
60
|
+
翻页时,作为后一页的marker取值
|
|
61
|
+
|
|
62
|
+
:return: The next_marker of this ListGlobalEipsResponseBodyPageInfo.
|
|
63
|
+
:rtype: str
|
|
64
|
+
"""
|
|
65
|
+
return self._next_marker
|
|
66
|
+
|
|
67
|
+
@next_marker.setter
|
|
68
|
+
def next_marker(self, next_marker):
|
|
69
|
+
r"""Sets the next_marker of this ListGlobalEipsResponseBodyPageInfo.
|
|
70
|
+
|
|
71
|
+
翻页时,作为后一页的marker取值
|
|
72
|
+
|
|
73
|
+
:param next_marker: The next_marker of this ListGlobalEipsResponseBodyPageInfo.
|
|
74
|
+
:type next_marker: str
|
|
75
|
+
"""
|
|
76
|
+
self._next_marker = next_marker
|
|
77
|
+
|
|
78
|
+
@property
|
|
79
|
+
def previous_marker(self):
|
|
80
|
+
r"""Gets the previous_marker of this ListGlobalEipsResponseBodyPageInfo.
|
|
81
|
+
|
|
82
|
+
翻页时,作为前一页的marker取值
|
|
83
|
+
|
|
84
|
+
:return: The previous_marker of this ListGlobalEipsResponseBodyPageInfo.
|
|
85
|
+
:rtype: str
|
|
86
|
+
"""
|
|
87
|
+
return self._previous_marker
|
|
88
|
+
|
|
89
|
+
@previous_marker.setter
|
|
90
|
+
def previous_marker(self, previous_marker):
|
|
91
|
+
r"""Sets the previous_marker of this ListGlobalEipsResponseBodyPageInfo.
|
|
92
|
+
|
|
93
|
+
翻页时,作为前一页的marker取值
|
|
94
|
+
|
|
95
|
+
:param previous_marker: The previous_marker of this ListGlobalEipsResponseBodyPageInfo.
|
|
96
|
+
:type previous_marker: str
|
|
97
|
+
"""
|
|
98
|
+
self._previous_marker = previous_marker
|
|
99
|
+
|
|
100
|
+
@property
|
|
101
|
+
def current_count(self):
|
|
102
|
+
r"""Gets the current_count of this ListGlobalEipsResponseBodyPageInfo.
|
|
103
|
+
|
|
104
|
+
当前页的数据总数
|
|
105
|
+
|
|
106
|
+
:return: The current_count of this ListGlobalEipsResponseBodyPageInfo.
|
|
107
|
+
:rtype: int
|
|
108
|
+
"""
|
|
109
|
+
return self._current_count
|
|
110
|
+
|
|
111
|
+
@current_count.setter
|
|
112
|
+
def current_count(self, current_count):
|
|
113
|
+
r"""Sets the current_count of this ListGlobalEipsResponseBodyPageInfo.
|
|
114
|
+
|
|
115
|
+
当前页的数据总数
|
|
116
|
+
|
|
117
|
+
:param current_count: The current_count of this ListGlobalEipsResponseBodyPageInfo.
|
|
118
|
+
:type current_count: int
|
|
119
|
+
"""
|
|
120
|
+
self._current_count = current_count
|
|
121
|
+
|
|
122
|
+
def to_dict(self):
|
|
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, ListGlobalEipsResponseBodyPageInfo):
|
|
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
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class ListInternetBandwidthCountFilterTagsRequest:
|
|
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
|
+
'body': 'ListResourcesByTagsRequestBody'
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
attribute_map = {
|
|
22
|
+
'body': 'body'
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
def __init__(self, body=None):
|
|
26
|
+
r"""ListInternetBandwidthCountFilterTagsRequest
|
|
27
|
+
|
|
28
|
+
The model defined in huaweicloud sdk
|
|
29
|
+
|
|
30
|
+
:param body: Body of the ListInternetBandwidthCountFilterTagsRequest
|
|
31
|
+
:type body: :class:`huaweicloudsdkgeip.v3.ListResourcesByTagsRequestBody`
|
|
32
|
+
"""
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
self._body = None
|
|
37
|
+
self.discriminator = None
|
|
38
|
+
|
|
39
|
+
if body is not None:
|
|
40
|
+
self.body = body
|
|
41
|
+
|
|
42
|
+
@property
|
|
43
|
+
def body(self):
|
|
44
|
+
r"""Gets the body of this ListInternetBandwidthCountFilterTagsRequest.
|
|
45
|
+
|
|
46
|
+
:return: The body of this ListInternetBandwidthCountFilterTagsRequest.
|
|
47
|
+
:rtype: :class:`huaweicloudsdkgeip.v3.ListResourcesByTagsRequestBody`
|
|
48
|
+
"""
|
|
49
|
+
return self._body
|
|
50
|
+
|
|
51
|
+
@body.setter
|
|
52
|
+
def body(self, body):
|
|
53
|
+
r"""Sets the body of this ListInternetBandwidthCountFilterTagsRequest.
|
|
54
|
+
|
|
55
|
+
:param body: The body of this ListInternetBandwidthCountFilterTagsRequest.
|
|
56
|
+
:type body: :class:`huaweicloudsdkgeip.v3.ListResourcesByTagsRequestBody`
|
|
57
|
+
"""
|
|
58
|
+
self._body = body
|
|
59
|
+
|
|
60
|
+
def to_dict(self):
|
|
61
|
+
result = {}
|
|
62
|
+
|
|
63
|
+
for attr, _ in self.openapi_types.items():
|
|
64
|
+
value = getattr(self, attr)
|
|
65
|
+
if isinstance(value, list):
|
|
66
|
+
result[attr] = list(map(
|
|
67
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
68
|
+
value
|
|
69
|
+
))
|
|
70
|
+
elif hasattr(value, "to_dict"):
|
|
71
|
+
result[attr] = value.to_dict()
|
|
72
|
+
elif isinstance(value, dict):
|
|
73
|
+
result[attr] = dict(map(
|
|
74
|
+
lambda item: (item[0], item[1].to_dict())
|
|
75
|
+
if hasattr(item[1], "to_dict") else item,
|
|
76
|
+
value.items()
|
|
77
|
+
))
|
|
78
|
+
else:
|
|
79
|
+
if attr in self.sensitive_list:
|
|
80
|
+
result[attr] = "****"
|
|
81
|
+
else:
|
|
82
|
+
result[attr] = value
|
|
83
|
+
|
|
84
|
+
return result
|
|
85
|
+
|
|
86
|
+
def to_str(self):
|
|
87
|
+
"""Returns the string representation of the model"""
|
|
88
|
+
import simplejson as json
|
|
89
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
90
|
+
|
|
91
|
+
def __repr__(self):
|
|
92
|
+
"""For `print`"""
|
|
93
|
+
return self.to_str()
|
|
94
|
+
|
|
95
|
+
def __eq__(self, other):
|
|
96
|
+
"""Returns true if both objects are equal"""
|
|
97
|
+
if not isinstance(other, ListInternetBandwidthCountFilterTagsRequest):
|
|
98
|
+
return False
|
|
99
|
+
|
|
100
|
+
return self.__dict__ == other.__dict__
|
|
101
|
+
|
|
102
|
+
def __ne__(self, other):
|
|
103
|
+
"""Returns true if both objects are not equal"""
|
|
104
|
+
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 ListInternetBandwidthCountFilterTagsResponse(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
|
+
'total_count': 'int',
|
|
21
|
+
'x_request_id': 'str'
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
attribute_map = {
|
|
25
|
+
'request_id': 'request_id',
|
|
26
|
+
'total_count': 'total_count',
|
|
27
|
+
'x_request_id': 'X-Request-Id'
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
def __init__(self, request_id=None, total_count=None, x_request_id=None):
|
|
31
|
+
r"""ListInternetBandwidthCountFilterTagsResponse
|
|
32
|
+
|
|
33
|
+
The model defined in huaweicloud sdk
|
|
34
|
+
|
|
35
|
+
:param request_id: 本次请求的编号
|
|
36
|
+
:type request_id: str
|
|
37
|
+
:param total_count: 当前列表中资源数量。
|
|
38
|
+
:type total_count: int
|
|
39
|
+
:param x_request_id:
|
|
40
|
+
:type x_request_id: str
|
|
41
|
+
"""
|
|
42
|
+
|
|
43
|
+
super().__init__()
|
|
44
|
+
|
|
45
|
+
self._request_id = None
|
|
46
|
+
self._total_count = 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 total_count is not None:
|
|
53
|
+
self.total_count = total_count
|
|
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 ListInternetBandwidthCountFilterTagsResponse.
|
|
60
|
+
|
|
61
|
+
本次请求的编号
|
|
62
|
+
|
|
63
|
+
:return: The request_id of this ListInternetBandwidthCountFilterTagsResponse.
|
|
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 ListInternetBandwidthCountFilterTagsResponse.
|
|
71
|
+
|
|
72
|
+
本次请求的编号
|
|
73
|
+
|
|
74
|
+
:param request_id: The request_id of this ListInternetBandwidthCountFilterTagsResponse.
|
|
75
|
+
:type request_id: str
|
|
76
|
+
"""
|
|
77
|
+
self._request_id = request_id
|
|
78
|
+
|
|
79
|
+
@property
|
|
80
|
+
def total_count(self):
|
|
81
|
+
r"""Gets the total_count of this ListInternetBandwidthCountFilterTagsResponse.
|
|
82
|
+
|
|
83
|
+
当前列表中资源数量。
|
|
84
|
+
|
|
85
|
+
:return: The total_count of this ListInternetBandwidthCountFilterTagsResponse.
|
|
86
|
+
:rtype: int
|
|
87
|
+
"""
|
|
88
|
+
return self._total_count
|
|
89
|
+
|
|
90
|
+
@total_count.setter
|
|
91
|
+
def total_count(self, total_count):
|
|
92
|
+
r"""Sets the total_count of this ListInternetBandwidthCountFilterTagsResponse.
|
|
93
|
+
|
|
94
|
+
当前列表中资源数量。
|
|
95
|
+
|
|
96
|
+
:param total_count: The total_count of this ListInternetBandwidthCountFilterTagsResponse.
|
|
97
|
+
:type total_count: int
|
|
98
|
+
"""
|
|
99
|
+
self._total_count = total_count
|
|
100
|
+
|
|
101
|
+
@property
|
|
102
|
+
def x_request_id(self):
|
|
103
|
+
r"""Gets the x_request_id of this ListInternetBandwidthCountFilterTagsResponse.
|
|
104
|
+
|
|
105
|
+
:return: The x_request_id of this ListInternetBandwidthCountFilterTagsResponse.
|
|
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 ListInternetBandwidthCountFilterTagsResponse.
|
|
113
|
+
|
|
114
|
+
:param x_request_id: The x_request_id of this ListInternetBandwidthCountFilterTagsResponse.
|
|
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("ListInternetBandwidthCountFilterTagsResponse.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, ListInternetBandwidthCountFilterTagsResponse):
|
|
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
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class ListInternetBandwidthDomainTagsRequest:
|
|
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
|
+
}
|
|
19
|
+
|
|
20
|
+
attribute_map = {
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
def __init__(self):
|
|
24
|
+
r"""ListInternetBandwidthDomainTagsRequest
|
|
25
|
+
|
|
26
|
+
The model defined in huaweicloud sdk
|
|
27
|
+
|
|
28
|
+
"""
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
self.discriminator = None
|
|
32
|
+
|
|
33
|
+
def to_dict(self):
|
|
34
|
+
result = {}
|
|
35
|
+
|
|
36
|
+
for attr, _ in self.openapi_types.items():
|
|
37
|
+
value = getattr(self, attr)
|
|
38
|
+
if isinstance(value, list):
|
|
39
|
+
result[attr] = list(map(
|
|
40
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
41
|
+
value
|
|
42
|
+
))
|
|
43
|
+
elif hasattr(value, "to_dict"):
|
|
44
|
+
result[attr] = value.to_dict()
|
|
45
|
+
elif isinstance(value, dict):
|
|
46
|
+
result[attr] = dict(map(
|
|
47
|
+
lambda item: (item[0], item[1].to_dict())
|
|
48
|
+
if hasattr(item[1], "to_dict") else item,
|
|
49
|
+
value.items()
|
|
50
|
+
))
|
|
51
|
+
else:
|
|
52
|
+
if attr in self.sensitive_list:
|
|
53
|
+
result[attr] = "****"
|
|
54
|
+
else:
|
|
55
|
+
result[attr] = value
|
|
56
|
+
|
|
57
|
+
return result
|
|
58
|
+
|
|
59
|
+
def to_str(self):
|
|
60
|
+
"""Returns the string representation of the model"""
|
|
61
|
+
import simplejson as json
|
|
62
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
63
|
+
|
|
64
|
+
def __repr__(self):
|
|
65
|
+
"""For `print`"""
|
|
66
|
+
return self.to_str()
|
|
67
|
+
|
|
68
|
+
def __eq__(self, other):
|
|
69
|
+
"""Returns true if both objects are equal"""
|
|
70
|
+
if not isinstance(other, ListInternetBandwidthDomainTagsRequest):
|
|
71
|
+
return False
|
|
72
|
+
|
|
73
|
+
return self.__dict__ == other.__dict__
|
|
74
|
+
|
|
75
|
+
def __ne__(self, other):
|
|
76
|
+
"""Returns true if both objects are not equal"""
|
|
77
|
+
return not self == other
|