huaweicloudsdkgeip 3.1.160__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of huaweicloudsdkgeip might be problematic. Click here for more details.
- huaweicloudsdkgeip/__init__.py +0 -0
- huaweicloudsdkgeip/v3/__init__.py +224 -0
- huaweicloudsdkgeip/v3/geip_async_client.py +4984 -0
- huaweicloudsdkgeip/v3/geip_client.py +4981 -0
- huaweicloudsdkgeip/v3/model/__init__.py +221 -0
- huaweicloudsdkgeip/v3/model/add_geip_segment_tags_request.py +135 -0
- huaweicloudsdkgeip/v3/model/add_geip_segment_tags_response.py +112 -0
- huaweicloudsdkgeip/v3/model/add_global_eip_tags_request.py +135 -0
- huaweicloudsdkgeip/v3/model/add_global_eip_tags_response.py +112 -0
- huaweicloudsdkgeip/v3/model/add_internet_bandwidth_tags_request.py +135 -0
- huaweicloudsdkgeip/v3/model/add_internet_bandwidth_tags_response.py +112 -0
- huaweicloudsdkgeip/v3/model/allowed_bandwidth_types.py +173 -0
- huaweicloudsdkgeip/v3/model/associate_geip_segment_instance_request.py +135 -0
- huaweicloudsdkgeip/v3/model/associate_geip_segment_instance_response.py +166 -0
- huaweicloudsdkgeip/v3/model/associate_instance_global_eip_request_body.py +135 -0
- huaweicloudsdkgeip/v3/model/associate_instance_global_eip_request_body_global_eip.py +136 -0
- huaweicloudsdkgeip/v3/model/associate_instance_global_eip_request_body_global_eip_associate_instance_info.py +260 -0
- huaweicloudsdkgeip/v3/model/associate_instance_global_eip_request_body_global_eip_gc_bandwidth_info.py +405 -0
- huaweicloudsdkgeip/v3/model/associate_instance_global_eip_segment_request_body.py +110 -0
- huaweicloudsdkgeip/v3/model/associate_instance_global_eip_segment_request_body_global_eip_segment.py +256 -0
- huaweicloudsdkgeip/v3/model/associate_instance_request.py +164 -0
- huaweicloudsdkgeip/v3/model/associate_instance_response.py +166 -0
- huaweicloudsdkgeip/v3/model/attach_internet_bandwidth.py +142 -0
- huaweicloudsdkgeip/v3/model/attach_internet_bandwidth_global_eip.py +741 -0
- huaweicloudsdkgeip/v3/model/attach_internet_bandwidth_global_eip_request_body.py +135 -0
- huaweicloudsdkgeip/v3/model/attach_internet_bandwidth_global_eip_request_body_global_eip.py +114 -0
- huaweicloudsdkgeip/v3/model/attach_internet_bandwidth_request.py +135 -0
- huaweicloudsdkgeip/v3/model/attach_internet_bandwidth_response.py +166 -0
- huaweicloudsdkgeip/v3/model/batch_attach_geip_segment_internet_bandwidth_request.py +111 -0
- huaweicloudsdkgeip/v3/model/batch_attach_geip_segment_internet_bandwidth_response.py +141 -0
- huaweicloudsdkgeip/v3/model/batch_attach_internet_bandwidth_request.py +111 -0
- huaweicloudsdkgeip/v3/model/batch_attach_internet_bandwidth_response.py +137 -0
- huaweicloudsdkgeip/v3/model/batch_attach_internet_bandwidths_global_eip_request_body.py +114 -0
- huaweicloudsdkgeip/v3/model/batch_attach_internet_bandwidths_global_eip_segment_request_body.py +114 -0
- huaweicloudsdkgeip/v3/model/batch_create_geip_segment_tags_request.py +135 -0
- huaweicloudsdkgeip/v3/model/batch_create_geip_segment_tags_response.py +112 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_job.py +173 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_request.py +111 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_request_body.py +135 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_request_body_global_eip.py +311 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_request_body_global_eip_internet_bandwidth_info.py +289 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_response.py +170 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_tags_request.py +135 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_tags_response.py +112 -0
- huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth.py +605 -0
- huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth_request.py +111 -0
- huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth_request_body.py +110 -0
- huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth_request_body_internet_bandwidth.py +402 -0
- huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth_response.py +170 -0
- huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth_tags_request.py +135 -0
- huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth_tags_response.py +112 -0
- huaweicloudsdkgeip/v3/model/batch_create_v2_request_body.py +143 -0
- huaweicloudsdkgeip/v3/model/batch_delete_geip_segment_tags_request.py +135 -0
- huaweicloudsdkgeip/v3/model/batch_delete_geip_segment_tags_response.py +112 -0
- huaweicloudsdkgeip/v3/model/batch_delete_global_eip_tags_request.py +135 -0
- huaweicloudsdkgeip/v3/model/batch_delete_global_eip_tags_response.py +112 -0
- huaweicloudsdkgeip/v3/model/batch_delete_internet_bandwidth_tags_request.py +135 -0
- huaweicloudsdkgeip/v3/model/batch_delete_internet_bandwidth_tags_response.py +112 -0
- huaweicloudsdkgeip/v3/model/batch_delete_v2_request_body.py +143 -0
- huaweicloudsdkgeip/v3/model/batch_delete_v2_request_body_tags.py +143 -0
- huaweicloudsdkgeip/v3/model/batch_detach_geip_segment_internet_bandwidth_request.py +111 -0
- huaweicloudsdkgeip/v3/model/batch_detach_geip_segment_internet_bandwidth_response.py +141 -0
- huaweicloudsdkgeip/v3/model/batch_detach_internet_bandwidth_request.py +111 -0
- huaweicloudsdkgeip/v3/model/batch_detach_internet_bandwidth_response.py +137 -0
- huaweicloudsdkgeip/v3/model/batch_detach_internet_bandwidths_global_eip_request_body.py +114 -0
- huaweicloudsdkgeip/v3/model/batch_detach_internet_bandwidths_global_eip_segment_request_body.py +114 -0
- huaweicloudsdkgeip/v3/model/batch_internet_bandwidths_global_eip_response_body.py +114 -0
- huaweicloudsdkgeip/v3/model/count_geip_segments.py +114 -0
- huaweicloudsdkgeip/v3/model/count_global_eip_segment_request.py +752 -0
- huaweicloudsdkgeip/v3/model/count_global_eip_segment_response.py +166 -0
- huaweicloudsdkgeip/v3/model/count_global_eips.py +114 -0
- huaweicloudsdkgeip/v3/model/count_global_eips_request.py +661 -0
- huaweicloudsdkgeip/v3/model/count_global_eips_response.py +166 -0
- huaweicloudsdkgeip/v3/model/count_internet_bandwidth_request.py +286 -0
- huaweicloudsdkgeip/v3/model/count_internet_bandwidth_response.py +166 -0
- huaweicloudsdkgeip/v3/model/count_internet_bandwidths.py +114 -0
- huaweicloudsdkgeip/v3/model/create_global_eip.py +142 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_request.py +111 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_request_body.py +135 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_request_body_global_eip.py +287 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_request_body_global_eip_tags.py +142 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_response.py +166 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_segment_request.py +111 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_segment_request_body.py +110 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_segment_request_body_global_eip_segment.py +311 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_segment_request_body_global_eip_segment_internet_bandwidth.py +289 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_segment_response.py +166 -0
- huaweicloudsdkgeip/v3/model/create_internet_bandwidth.py +691 -0
- huaweicloudsdkgeip/v3/model/create_internet_bandwidth_request.py +111 -0
- huaweicloudsdkgeip/v3/model/create_internet_bandwidth_request_body.py +110 -0
- huaweicloudsdkgeip/v3/model/create_internet_bandwidth_request_body_internet_bandwidth.py +372 -0
- huaweicloudsdkgeip/v3/model/create_internet_bandwidth_response.py +166 -0
- huaweicloudsdkgeip/v3/model/create_tag.py +143 -0
- huaweicloudsdkgeip/v3/model/create_user_disclaimer_record.py +173 -0
- huaweicloudsdkgeip/v3/model/create_user_disclaimer_request.py +84 -0
- huaweicloudsdkgeip/v3/model/create_user_disclaimer_response.py +166 -0
- huaweicloudsdkgeip/v3/model/create_v2_tag_request_body.py +110 -0
- huaweicloudsdkgeip/v3/model/create_v2_tag_request_body_tag.py +142 -0
- huaweicloudsdkgeip/v3/model/delete_geip_segment_tag_request.py +134 -0
- huaweicloudsdkgeip/v3/model/delete_geip_segment_tag_response.py +112 -0
- huaweicloudsdkgeip/v3/model/delete_global_eip_request.py +110 -0
- huaweicloudsdkgeip/v3/model/delete_global_eip_response.py +112 -0
- huaweicloudsdkgeip/v3/model/delete_global_eip_segment_request.py +110 -0
- huaweicloudsdkgeip/v3/model/delete_global_eip_segment_response.py +112 -0
- huaweicloudsdkgeip/v3/model/delete_global_eip_tag_request.py +134 -0
- huaweicloudsdkgeip/v3/model/delete_global_eip_tag_response.py +112 -0
- huaweicloudsdkgeip/v3/model/delete_internet_bandwidth_request.py +110 -0
- huaweicloudsdkgeip/v3/model/delete_internet_bandwidth_response.py +112 -0
- huaweicloudsdkgeip/v3/model/delete_internet_bandwidth_tag_request.py +134 -0
- huaweicloudsdkgeip/v3/model/delete_internet_bandwidth_tag_response.py +112 -0
- huaweicloudsdkgeip/v3/model/delete_user_disclaimer_request.py +84 -0
- huaweicloudsdkgeip/v3/model/delete_user_disclaimer_response.py +112 -0
- huaweicloudsdkgeip/v3/model/detach_internet_bandwidth.py +114 -0
- huaweicloudsdkgeip/v3/model/detach_internet_bandwidth_global_eips.py +741 -0
- huaweicloudsdkgeip/v3/model/detach_internet_bandwidth_request.py +135 -0
- huaweicloudsdkgeip/v3/model/detach_internet_bandwidth_response.py +166 -0
- huaweicloudsdkgeip/v3/model/disassociate_geip_segment_instance_request.py +110 -0
- huaweicloudsdkgeip/v3/model/disassociate_geip_segment_instance_response.py +166 -0
- huaweicloudsdkgeip/v3/model/disassociate_instance_request.py +138 -0
- huaweicloudsdkgeip/v3/model/disassociate_instance_response.py +166 -0
- huaweicloudsdkgeip/v3/model/ext_limit_pojo.py +173 -0
- huaweicloudsdkgeip/v3/model/geip_resource.py +198 -0
- huaweicloudsdkgeip/v3/model/geip_tags.py +142 -0
- huaweicloudsdkgeip/v3/model/get_account_tags_v2.py +142 -0
- huaweicloudsdkgeip/v3/model/global_connection_bandwidth_info.py +260 -0
- huaweicloudsdkgeip/v3/model/instance_info.py +347 -0
- huaweicloudsdkgeip/v3/model/internet_bandwidth_info.py +144 -0
- huaweicloudsdkgeip/v3/model/list_access_sites.py +318 -0
- huaweicloudsdkgeip/v3/model/list_access_sites_request.py +385 -0
- huaweicloudsdkgeip/v3/model/list_access_sites_response.py +195 -0
- huaweicloudsdkgeip/v3/model/list_geip_pools.py +434 -0
- huaweicloudsdkgeip/v3/model/list_geip_pools_request.py +460 -0
- huaweicloudsdkgeip/v3/model/list_geip_pools_response.py +195 -0
- huaweicloudsdkgeip/v3/model/list_geip_resource_quotas_request.py +252 -0
- huaweicloudsdkgeip/v3/model/list_geip_resource_quotas_response.py +166 -0
- huaweicloudsdkgeip/v3/model/list_geip_segment_count_filter_tags_request.py +111 -0
- huaweicloudsdkgeip/v3/model/list_geip_segment_count_filter_tags_response.py +170 -0
- huaweicloudsdkgeip/v3/model/list_geip_segment_domain_tags_request.py +84 -0
- huaweicloudsdkgeip/v3/model/list_geip_segment_domain_tags_response.py +199 -0
- huaweicloudsdkgeip/v3/model/list_geip_segment_filter_tags_request.py +169 -0
- huaweicloudsdkgeip/v3/model/list_geip_segment_filter_tags_response.py +199 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_count_filter_tags_request.py +111 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_count_filter_tags_response.py +170 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_domain_tags_request.py +84 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_domain_tags_response.py +199 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_filter_tags_request.py +161 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_filter_tags_response.py +199 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_segments.py +687 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_segments_request.py +860 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_segments_response.py +195 -0
- huaweicloudsdkgeip/v3/model/list_global_eips.py +741 -0
- huaweicloudsdkgeip/v3/model/list_global_eips_request.py +910 -0
- huaweicloudsdkgeip/v3/model/list_global_eips_response.py +195 -0
- huaweicloudsdkgeip/v3/model/list_global_eips_response_body_page_info.py +173 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_count_filter_tags_request.py +111 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_count_filter_tags_response.py +170 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_domain_tags_request.py +84 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_domain_tags_response.py +141 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_filter_tags_request.py +161 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_filter_tags_response.py +199 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_limits.py +256 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_limits_request.py +219 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_limits_response.py +170 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidths.py +753 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidths_request.py +535 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidths_response.py +195 -0
- huaweicloudsdkgeip/v3/model/list_jobs.py +318 -0
- huaweicloudsdkgeip/v3/model/list_jobs_request.py +360 -0
- huaweicloudsdkgeip/v3/model/list_jobs_response.py +195 -0
- huaweicloudsdkgeip/v3/model/list_quotas.py +114 -0
- huaweicloudsdkgeip/v3/model/list_resources_by_tags_request_body.py +114 -0
- huaweicloudsdkgeip/v3/model/list_support_instances_support_regions.py +318 -0
- huaweicloudsdkgeip/v3/model/list_support_masks.py +231 -0
- huaweicloudsdkgeip/v3/model/list_support_masks_request.py +360 -0
- huaweicloudsdkgeip/v3/model/list_support_masks_response.py +195 -0
- huaweicloudsdkgeip/v3/model/list_support_regions.py +347 -0
- huaweicloudsdkgeip/v3/model/list_support_regions_request.py +460 -0
- huaweicloudsdkgeip/v3/model/list_support_regions_response.py +195 -0
- huaweicloudsdkgeip/v3/model/list_tenant_geip_support_instances_request.py +135 -0
- huaweicloudsdkgeip/v3/model/list_tenant_geip_support_instances_response.py +170 -0
- huaweicloudsdkgeip/v3/model/lock_info.py +376 -0
- huaweicloudsdkgeip/v3/model/native_uuid.py +84 -0
- huaweicloudsdkgeip/v3/model/resources_info.py +202 -0
- huaweicloudsdkgeip/v3/model/short_global_eip_segment.py +144 -0
- huaweicloudsdkgeip/v3/model/show_geip_segment_tags_request.py +110 -0
- huaweicloudsdkgeip/v3/model/show_geip_segment_tags_response.py +199 -0
- huaweicloudsdkgeip/v3/model/show_global_eip.py +741 -0
- huaweicloudsdkgeip/v3/model/show_global_eip_request.py +135 -0
- huaweicloudsdkgeip/v3/model/show_global_eip_response.py +166 -0
- huaweicloudsdkgeip/v3/model/show_global_eip_segment.py +687 -0
- huaweicloudsdkgeip/v3/model/show_global_eip_segment_request.py +135 -0
- huaweicloudsdkgeip/v3/model/show_global_eip_segment_response.py +166 -0
- huaweicloudsdkgeip/v3/model/show_global_eip_tags_request.py +110 -0
- huaweicloudsdkgeip/v3/model/show_global_eip_tags_response.py +199 -0
- huaweicloudsdkgeip/v3/model/show_internet_bandwidth.py +695 -0
- huaweicloudsdkgeip/v3/model/show_internet_bandwidth_request.py +135 -0
- huaweicloudsdkgeip/v3/model/show_internet_bandwidth_response.py +166 -0
- huaweicloudsdkgeip/v3/model/show_internet_bandwidth_tags_request.py +110 -0
- huaweicloudsdkgeip/v3/model/show_internet_bandwidth_tags_response.py +199 -0
- huaweicloudsdkgeip/v3/model/show_job.py +318 -0
- huaweicloudsdkgeip/v3/model/show_jobs_request.py +139 -0
- huaweicloudsdkgeip/v3/model/show_jobs_response.py +166 -0
- huaweicloudsdkgeip/v3/model/show_user_disclaimer_record.py +173 -0
- huaweicloudsdkgeip/v3/model/show_user_disclaimer_request.py +111 -0
- huaweicloudsdkgeip/v3/model/show_user_disclaimer_response.py +166 -0
- huaweicloudsdkgeip/v3/model/sys_tag.py +142 -0
- huaweicloudsdkgeip/v3/model/tag.py +144 -0
- huaweicloudsdkgeip/v3/model/update_global_eip.py +144 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_request.py +135 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_request_body.py +135 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_request_body_global_eip.py +144 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_response.py +166 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_segment_request.py +135 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_segment_request_body.py +110 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_segment_request_body_global_eip_segment.py +144 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_segment_response.py +166 -0
- huaweicloudsdkgeip/v3/model/update_internet_bandwidth.py +637 -0
- huaweicloudsdkgeip/v3/model/update_internet_bandwidth_request.py +135 -0
- huaweicloudsdkgeip/v3/model/update_internet_bandwidth_request_body.py +110 -0
- huaweicloudsdkgeip/v3/model/update_internet_bandwidth_request_body_internet_bandwidth.py +231 -0
- huaweicloudsdkgeip/v3/model/update_internet_bandwidth_response.py +166 -0
- huaweicloudsdkgeip/v3/region/__init__.py +0 -0
- huaweicloudsdkgeip/v3/region/geip_region.py +31 -0
- huaweicloudsdkgeip-3.1.160.dist-info/LICENSE +13 -0
- huaweicloudsdkgeip-3.1.160.dist-info/METADATA +26 -0
- huaweicloudsdkgeip-3.1.160.dist-info/RECORD +228 -0
- huaweicloudsdkgeip-3.1.160.dist-info/WHEEL +5 -0
- huaweicloudsdkgeip-3.1.160.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,460 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class ListGeipPoolsRequest:
|
|
9
|
+
|
|
10
|
+
"""
|
|
11
|
+
Attributes:
|
|
12
|
+
openapi_types (dict): The key is attribute name
|
|
13
|
+
and the value is attribute type.
|
|
14
|
+
attribute_map (dict): The key is attribute name
|
|
15
|
+
and the value is json key in definition.
|
|
16
|
+
"""
|
|
17
|
+
sensitive_list = []
|
|
18
|
+
|
|
19
|
+
openapi_types = {
|
|
20
|
+
'limit': 'int',
|
|
21
|
+
'offset': 'int',
|
|
22
|
+
'marker': 'str',
|
|
23
|
+
'page_reverse': 'bool',
|
|
24
|
+
'fields': 'list[str]',
|
|
25
|
+
'sort_key': 'list[str]',
|
|
26
|
+
'sort_dir': 'list[str]',
|
|
27
|
+
'id': 'list[str]',
|
|
28
|
+
'code': 'list[str]',
|
|
29
|
+
'access_site': 'list[str]',
|
|
30
|
+
'isp': 'list[str]',
|
|
31
|
+
'ip_version': 'list[str]',
|
|
32
|
+
'status': 'list[str]',
|
|
33
|
+
'type': 'list[str]'
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
attribute_map = {
|
|
37
|
+
'limit': 'limit',
|
|
38
|
+
'offset': 'offset',
|
|
39
|
+
'marker': 'marker',
|
|
40
|
+
'page_reverse': 'page_reverse',
|
|
41
|
+
'fields': 'fields',
|
|
42
|
+
'sort_key': 'sort_key',
|
|
43
|
+
'sort_dir': 'sort_dir',
|
|
44
|
+
'id': 'id',
|
|
45
|
+
'code': 'code',
|
|
46
|
+
'access_site': 'access_site',
|
|
47
|
+
'isp': 'isp',
|
|
48
|
+
'ip_version': 'ip_version',
|
|
49
|
+
'status': 'status',
|
|
50
|
+
'type': 'type'
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
def __init__(self, limit=None, offset=None, marker=None, page_reverse=None, fields=None, sort_key=None, sort_dir=None, id=None, code=None, access_site=None, isp=None, ip_version=None, status=None, type=None):
|
|
54
|
+
r"""ListGeipPoolsRequest
|
|
55
|
+
|
|
56
|
+
The model defined in huaweicloud sdk
|
|
57
|
+
|
|
58
|
+
:param limit: 每页条数
|
|
59
|
+
:type limit: int
|
|
60
|
+
:param offset: 分页起始点
|
|
61
|
+
:type offset: int
|
|
62
|
+
:param marker: 分页起始点
|
|
63
|
+
:type marker: str
|
|
64
|
+
:param page_reverse: 翻页方向
|
|
65
|
+
:type page_reverse: bool
|
|
66
|
+
:param fields:
|
|
67
|
+
:type fields: list[str]
|
|
68
|
+
:param sort_key: 按照sort_key指定的字段排序
|
|
69
|
+
:type sort_key: list[str]
|
|
70
|
+
:param sort_dir: 排序的方向,倒序或者正序
|
|
71
|
+
:type sort_dir: list[str]
|
|
72
|
+
:param id:
|
|
73
|
+
:type id: list[str]
|
|
74
|
+
:param code:
|
|
75
|
+
:type code: list[str]
|
|
76
|
+
:param access_site:
|
|
77
|
+
:type access_site: list[str]
|
|
78
|
+
:param isp:
|
|
79
|
+
:type isp: list[str]
|
|
80
|
+
:param ip_version:
|
|
81
|
+
:type ip_version: list[str]
|
|
82
|
+
:param status:
|
|
83
|
+
:type status: list[str]
|
|
84
|
+
:param type:
|
|
85
|
+
:type type: list[str]
|
|
86
|
+
"""
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
self._limit = None
|
|
91
|
+
self._offset = None
|
|
92
|
+
self._marker = None
|
|
93
|
+
self._page_reverse = None
|
|
94
|
+
self._fields = None
|
|
95
|
+
self._sort_key = None
|
|
96
|
+
self._sort_dir = None
|
|
97
|
+
self._id = None
|
|
98
|
+
self._code = None
|
|
99
|
+
self._access_site = None
|
|
100
|
+
self._isp = None
|
|
101
|
+
self._ip_version = None
|
|
102
|
+
self._status = None
|
|
103
|
+
self._type = None
|
|
104
|
+
self.discriminator = None
|
|
105
|
+
|
|
106
|
+
if limit is not None:
|
|
107
|
+
self.limit = limit
|
|
108
|
+
if offset is not None:
|
|
109
|
+
self.offset = offset
|
|
110
|
+
if marker is not None:
|
|
111
|
+
self.marker = marker
|
|
112
|
+
if page_reverse is not None:
|
|
113
|
+
self.page_reverse = page_reverse
|
|
114
|
+
if fields is not None:
|
|
115
|
+
self.fields = fields
|
|
116
|
+
if sort_key is not None:
|
|
117
|
+
self.sort_key = sort_key
|
|
118
|
+
if sort_dir is not None:
|
|
119
|
+
self.sort_dir = sort_dir
|
|
120
|
+
if id is not None:
|
|
121
|
+
self.id = id
|
|
122
|
+
if code is not None:
|
|
123
|
+
self.code = code
|
|
124
|
+
if access_site is not None:
|
|
125
|
+
self.access_site = access_site
|
|
126
|
+
if isp is not None:
|
|
127
|
+
self.isp = isp
|
|
128
|
+
if ip_version is not None:
|
|
129
|
+
self.ip_version = ip_version
|
|
130
|
+
if status is not None:
|
|
131
|
+
self.status = status
|
|
132
|
+
if type is not None:
|
|
133
|
+
self.type = type
|
|
134
|
+
|
|
135
|
+
@property
|
|
136
|
+
def limit(self):
|
|
137
|
+
r"""Gets the limit of this ListGeipPoolsRequest.
|
|
138
|
+
|
|
139
|
+
每页条数
|
|
140
|
+
|
|
141
|
+
:return: The limit of this ListGeipPoolsRequest.
|
|
142
|
+
:rtype: int
|
|
143
|
+
"""
|
|
144
|
+
return self._limit
|
|
145
|
+
|
|
146
|
+
@limit.setter
|
|
147
|
+
def limit(self, limit):
|
|
148
|
+
r"""Sets the limit of this ListGeipPoolsRequest.
|
|
149
|
+
|
|
150
|
+
每页条数
|
|
151
|
+
|
|
152
|
+
:param limit: The limit of this ListGeipPoolsRequest.
|
|
153
|
+
:type limit: int
|
|
154
|
+
"""
|
|
155
|
+
self._limit = limit
|
|
156
|
+
|
|
157
|
+
@property
|
|
158
|
+
def offset(self):
|
|
159
|
+
r"""Gets the offset of this ListGeipPoolsRequest.
|
|
160
|
+
|
|
161
|
+
分页起始点
|
|
162
|
+
|
|
163
|
+
:return: The offset of this ListGeipPoolsRequest.
|
|
164
|
+
:rtype: int
|
|
165
|
+
"""
|
|
166
|
+
return self._offset
|
|
167
|
+
|
|
168
|
+
@offset.setter
|
|
169
|
+
def offset(self, offset):
|
|
170
|
+
r"""Sets the offset of this ListGeipPoolsRequest.
|
|
171
|
+
|
|
172
|
+
分页起始点
|
|
173
|
+
|
|
174
|
+
:param offset: The offset of this ListGeipPoolsRequest.
|
|
175
|
+
:type offset: int
|
|
176
|
+
"""
|
|
177
|
+
self._offset = offset
|
|
178
|
+
|
|
179
|
+
@property
|
|
180
|
+
def marker(self):
|
|
181
|
+
r"""Gets the marker of this ListGeipPoolsRequest.
|
|
182
|
+
|
|
183
|
+
分页起始点
|
|
184
|
+
|
|
185
|
+
:return: The marker of this ListGeipPoolsRequest.
|
|
186
|
+
:rtype: str
|
|
187
|
+
"""
|
|
188
|
+
return self._marker
|
|
189
|
+
|
|
190
|
+
@marker.setter
|
|
191
|
+
def marker(self, marker):
|
|
192
|
+
r"""Sets the marker of this ListGeipPoolsRequest.
|
|
193
|
+
|
|
194
|
+
分页起始点
|
|
195
|
+
|
|
196
|
+
:param marker: The marker of this ListGeipPoolsRequest.
|
|
197
|
+
:type marker: str
|
|
198
|
+
"""
|
|
199
|
+
self._marker = marker
|
|
200
|
+
|
|
201
|
+
@property
|
|
202
|
+
def page_reverse(self):
|
|
203
|
+
r"""Gets the page_reverse of this ListGeipPoolsRequest.
|
|
204
|
+
|
|
205
|
+
翻页方向
|
|
206
|
+
|
|
207
|
+
:return: The page_reverse of this ListGeipPoolsRequest.
|
|
208
|
+
:rtype: bool
|
|
209
|
+
"""
|
|
210
|
+
return self._page_reverse
|
|
211
|
+
|
|
212
|
+
@page_reverse.setter
|
|
213
|
+
def page_reverse(self, page_reverse):
|
|
214
|
+
r"""Sets the page_reverse of this ListGeipPoolsRequest.
|
|
215
|
+
|
|
216
|
+
翻页方向
|
|
217
|
+
|
|
218
|
+
:param page_reverse: The page_reverse of this ListGeipPoolsRequest.
|
|
219
|
+
:type page_reverse: bool
|
|
220
|
+
"""
|
|
221
|
+
self._page_reverse = page_reverse
|
|
222
|
+
|
|
223
|
+
@property
|
|
224
|
+
def fields(self):
|
|
225
|
+
r"""Gets the fields of this ListGeipPoolsRequest.
|
|
226
|
+
|
|
227
|
+
:return: The fields of this ListGeipPoolsRequest.
|
|
228
|
+
:rtype: list[str]
|
|
229
|
+
"""
|
|
230
|
+
return self._fields
|
|
231
|
+
|
|
232
|
+
@fields.setter
|
|
233
|
+
def fields(self, fields):
|
|
234
|
+
r"""Sets the fields of this ListGeipPoolsRequest.
|
|
235
|
+
|
|
236
|
+
:param fields: The fields of this ListGeipPoolsRequest.
|
|
237
|
+
:type fields: list[str]
|
|
238
|
+
"""
|
|
239
|
+
self._fields = fields
|
|
240
|
+
|
|
241
|
+
@property
|
|
242
|
+
def sort_key(self):
|
|
243
|
+
r"""Gets the sort_key of this ListGeipPoolsRequest.
|
|
244
|
+
|
|
245
|
+
按照sort_key指定的字段排序
|
|
246
|
+
|
|
247
|
+
:return: The sort_key of this ListGeipPoolsRequest.
|
|
248
|
+
:rtype: list[str]
|
|
249
|
+
"""
|
|
250
|
+
return self._sort_key
|
|
251
|
+
|
|
252
|
+
@sort_key.setter
|
|
253
|
+
def sort_key(self, sort_key):
|
|
254
|
+
r"""Sets the sort_key of this ListGeipPoolsRequest.
|
|
255
|
+
|
|
256
|
+
按照sort_key指定的字段排序
|
|
257
|
+
|
|
258
|
+
:param sort_key: The sort_key of this ListGeipPoolsRequest.
|
|
259
|
+
:type sort_key: list[str]
|
|
260
|
+
"""
|
|
261
|
+
self._sort_key = sort_key
|
|
262
|
+
|
|
263
|
+
@property
|
|
264
|
+
def sort_dir(self):
|
|
265
|
+
r"""Gets the sort_dir of this ListGeipPoolsRequest.
|
|
266
|
+
|
|
267
|
+
排序的方向,倒序或者正序
|
|
268
|
+
|
|
269
|
+
:return: The sort_dir of this ListGeipPoolsRequest.
|
|
270
|
+
:rtype: list[str]
|
|
271
|
+
"""
|
|
272
|
+
return self._sort_dir
|
|
273
|
+
|
|
274
|
+
@sort_dir.setter
|
|
275
|
+
def sort_dir(self, sort_dir):
|
|
276
|
+
r"""Sets the sort_dir of this ListGeipPoolsRequest.
|
|
277
|
+
|
|
278
|
+
排序的方向,倒序或者正序
|
|
279
|
+
|
|
280
|
+
:param sort_dir: The sort_dir of this ListGeipPoolsRequest.
|
|
281
|
+
:type sort_dir: list[str]
|
|
282
|
+
"""
|
|
283
|
+
self._sort_dir = sort_dir
|
|
284
|
+
|
|
285
|
+
@property
|
|
286
|
+
def id(self):
|
|
287
|
+
r"""Gets the id of this ListGeipPoolsRequest.
|
|
288
|
+
|
|
289
|
+
:return: The id of this ListGeipPoolsRequest.
|
|
290
|
+
:rtype: list[str]
|
|
291
|
+
"""
|
|
292
|
+
return self._id
|
|
293
|
+
|
|
294
|
+
@id.setter
|
|
295
|
+
def id(self, id):
|
|
296
|
+
r"""Sets the id of this ListGeipPoolsRequest.
|
|
297
|
+
|
|
298
|
+
:param id: The id of this ListGeipPoolsRequest.
|
|
299
|
+
:type id: list[str]
|
|
300
|
+
"""
|
|
301
|
+
self._id = id
|
|
302
|
+
|
|
303
|
+
@property
|
|
304
|
+
def code(self):
|
|
305
|
+
r"""Gets the code of this ListGeipPoolsRequest.
|
|
306
|
+
|
|
307
|
+
:return: The code of this ListGeipPoolsRequest.
|
|
308
|
+
:rtype: list[str]
|
|
309
|
+
"""
|
|
310
|
+
return self._code
|
|
311
|
+
|
|
312
|
+
@code.setter
|
|
313
|
+
def code(self, code):
|
|
314
|
+
r"""Sets the code of this ListGeipPoolsRequest.
|
|
315
|
+
|
|
316
|
+
:param code: The code of this ListGeipPoolsRequest.
|
|
317
|
+
:type code: list[str]
|
|
318
|
+
"""
|
|
319
|
+
self._code = code
|
|
320
|
+
|
|
321
|
+
@property
|
|
322
|
+
def access_site(self):
|
|
323
|
+
r"""Gets the access_site of this ListGeipPoolsRequest.
|
|
324
|
+
|
|
325
|
+
:return: The access_site of this ListGeipPoolsRequest.
|
|
326
|
+
:rtype: list[str]
|
|
327
|
+
"""
|
|
328
|
+
return self._access_site
|
|
329
|
+
|
|
330
|
+
@access_site.setter
|
|
331
|
+
def access_site(self, access_site):
|
|
332
|
+
r"""Sets the access_site of this ListGeipPoolsRequest.
|
|
333
|
+
|
|
334
|
+
:param access_site: The access_site of this ListGeipPoolsRequest.
|
|
335
|
+
:type access_site: list[str]
|
|
336
|
+
"""
|
|
337
|
+
self._access_site = access_site
|
|
338
|
+
|
|
339
|
+
@property
|
|
340
|
+
def isp(self):
|
|
341
|
+
r"""Gets the isp of this ListGeipPoolsRequest.
|
|
342
|
+
|
|
343
|
+
:return: The isp of this ListGeipPoolsRequest.
|
|
344
|
+
:rtype: list[str]
|
|
345
|
+
"""
|
|
346
|
+
return self._isp
|
|
347
|
+
|
|
348
|
+
@isp.setter
|
|
349
|
+
def isp(self, isp):
|
|
350
|
+
r"""Sets the isp of this ListGeipPoolsRequest.
|
|
351
|
+
|
|
352
|
+
:param isp: The isp of this ListGeipPoolsRequest.
|
|
353
|
+
:type isp: list[str]
|
|
354
|
+
"""
|
|
355
|
+
self._isp = isp
|
|
356
|
+
|
|
357
|
+
@property
|
|
358
|
+
def ip_version(self):
|
|
359
|
+
r"""Gets the ip_version of this ListGeipPoolsRequest.
|
|
360
|
+
|
|
361
|
+
:return: The ip_version of this ListGeipPoolsRequest.
|
|
362
|
+
:rtype: list[str]
|
|
363
|
+
"""
|
|
364
|
+
return self._ip_version
|
|
365
|
+
|
|
366
|
+
@ip_version.setter
|
|
367
|
+
def ip_version(self, ip_version):
|
|
368
|
+
r"""Sets the ip_version of this ListGeipPoolsRequest.
|
|
369
|
+
|
|
370
|
+
:param ip_version: The ip_version of this ListGeipPoolsRequest.
|
|
371
|
+
:type ip_version: list[str]
|
|
372
|
+
"""
|
|
373
|
+
self._ip_version = ip_version
|
|
374
|
+
|
|
375
|
+
@property
|
|
376
|
+
def status(self):
|
|
377
|
+
r"""Gets the status of this ListGeipPoolsRequest.
|
|
378
|
+
|
|
379
|
+
:return: The status of this ListGeipPoolsRequest.
|
|
380
|
+
:rtype: list[str]
|
|
381
|
+
"""
|
|
382
|
+
return self._status
|
|
383
|
+
|
|
384
|
+
@status.setter
|
|
385
|
+
def status(self, status):
|
|
386
|
+
r"""Sets the status of this ListGeipPoolsRequest.
|
|
387
|
+
|
|
388
|
+
:param status: The status of this ListGeipPoolsRequest.
|
|
389
|
+
:type status: list[str]
|
|
390
|
+
"""
|
|
391
|
+
self._status = status
|
|
392
|
+
|
|
393
|
+
@property
|
|
394
|
+
def type(self):
|
|
395
|
+
r"""Gets the type of this ListGeipPoolsRequest.
|
|
396
|
+
|
|
397
|
+
:return: The type of this ListGeipPoolsRequest.
|
|
398
|
+
:rtype: list[str]
|
|
399
|
+
"""
|
|
400
|
+
return self._type
|
|
401
|
+
|
|
402
|
+
@type.setter
|
|
403
|
+
def type(self, type):
|
|
404
|
+
r"""Sets the type of this ListGeipPoolsRequest.
|
|
405
|
+
|
|
406
|
+
:param type: The type of this ListGeipPoolsRequest.
|
|
407
|
+
:type type: list[str]
|
|
408
|
+
"""
|
|
409
|
+
self._type = type
|
|
410
|
+
|
|
411
|
+
def to_dict(self):
|
|
412
|
+
"""Returns the model properties as a dict"""
|
|
413
|
+
result = {}
|
|
414
|
+
|
|
415
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
416
|
+
value = getattr(self, attr)
|
|
417
|
+
if isinstance(value, list):
|
|
418
|
+
result[attr] = list(map(
|
|
419
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
420
|
+
value
|
|
421
|
+
))
|
|
422
|
+
elif hasattr(value, "to_dict"):
|
|
423
|
+
result[attr] = value.to_dict()
|
|
424
|
+
elif isinstance(value, dict):
|
|
425
|
+
result[attr] = dict(map(
|
|
426
|
+
lambda item: (item[0], item[1].to_dict())
|
|
427
|
+
if hasattr(item[1], "to_dict") else item,
|
|
428
|
+
value.items()
|
|
429
|
+
))
|
|
430
|
+
else:
|
|
431
|
+
if attr in self.sensitive_list:
|
|
432
|
+
result[attr] = "****"
|
|
433
|
+
else:
|
|
434
|
+
result[attr] = value
|
|
435
|
+
|
|
436
|
+
return result
|
|
437
|
+
|
|
438
|
+
def to_str(self):
|
|
439
|
+
"""Returns the string representation of the model"""
|
|
440
|
+
import simplejson as json
|
|
441
|
+
if six.PY2:
|
|
442
|
+
import sys
|
|
443
|
+
reload(sys)
|
|
444
|
+
sys.setdefaultencoding("utf-8")
|
|
445
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
446
|
+
|
|
447
|
+
def __repr__(self):
|
|
448
|
+
"""For `print`"""
|
|
449
|
+
return self.to_str()
|
|
450
|
+
|
|
451
|
+
def __eq__(self, other):
|
|
452
|
+
"""Returns true if both objects are equal"""
|
|
453
|
+
if not isinstance(other, ListGeipPoolsRequest):
|
|
454
|
+
return False
|
|
455
|
+
|
|
456
|
+
return self.__dict__ == other.__dict__
|
|
457
|
+
|
|
458
|
+
def __ne__(self, other):
|
|
459
|
+
"""Returns true if both objects are not equal"""
|
|
460
|
+
return not self == other
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.sdk_response import SdkResponse
|
|
6
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class ListGeipPoolsResponse(SdkResponse):
|
|
10
|
+
|
|
11
|
+
"""
|
|
12
|
+
Attributes:
|
|
13
|
+
openapi_types (dict): The key is attribute name
|
|
14
|
+
and the value is attribute type.
|
|
15
|
+
attribute_map (dict): The key is attribute name
|
|
16
|
+
and the value is json key in definition.
|
|
17
|
+
"""
|
|
18
|
+
sensitive_list = []
|
|
19
|
+
|
|
20
|
+
openapi_types = {
|
|
21
|
+
'request_id': 'str',
|
|
22
|
+
'geip_pools': 'list[ListGeipPools]',
|
|
23
|
+
'page_info': 'ListGlobalEipsResponseBodyPageInfo',
|
|
24
|
+
'x_request_id': 'str'
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
attribute_map = {
|
|
28
|
+
'request_id': 'request_id',
|
|
29
|
+
'geip_pools': 'geip_pools',
|
|
30
|
+
'page_info': 'page_info',
|
|
31
|
+
'x_request_id': 'X-Request-Id'
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
def __init__(self, request_id=None, geip_pools=None, page_info=None, x_request_id=None):
|
|
35
|
+
r"""ListGeipPoolsResponse
|
|
36
|
+
|
|
37
|
+
The model defined in huaweicloud sdk
|
|
38
|
+
|
|
39
|
+
:param request_id: 本次请求的编号
|
|
40
|
+
:type request_id: str
|
|
41
|
+
:param geip_pools: 全域弹性公网IP池列表
|
|
42
|
+
:type geip_pools: list[:class:`huaweicloudsdkgeip.v3.ListGeipPools`]
|
|
43
|
+
:param page_info:
|
|
44
|
+
:type page_info: :class:`huaweicloudsdkgeip.v3.ListGlobalEipsResponseBodyPageInfo`
|
|
45
|
+
:param x_request_id:
|
|
46
|
+
:type x_request_id: str
|
|
47
|
+
"""
|
|
48
|
+
|
|
49
|
+
super(ListGeipPoolsResponse, self).__init__()
|
|
50
|
+
|
|
51
|
+
self._request_id = None
|
|
52
|
+
self._geip_pools = None
|
|
53
|
+
self._page_info = None
|
|
54
|
+
self._x_request_id = None
|
|
55
|
+
self.discriminator = None
|
|
56
|
+
|
|
57
|
+
if request_id is not None:
|
|
58
|
+
self.request_id = request_id
|
|
59
|
+
if geip_pools is not None:
|
|
60
|
+
self.geip_pools = geip_pools
|
|
61
|
+
if page_info is not None:
|
|
62
|
+
self.page_info = page_info
|
|
63
|
+
if x_request_id is not None:
|
|
64
|
+
self.x_request_id = x_request_id
|
|
65
|
+
|
|
66
|
+
@property
|
|
67
|
+
def request_id(self):
|
|
68
|
+
r"""Gets the request_id of this ListGeipPoolsResponse.
|
|
69
|
+
|
|
70
|
+
本次请求的编号
|
|
71
|
+
|
|
72
|
+
:return: The request_id of this ListGeipPoolsResponse.
|
|
73
|
+
:rtype: str
|
|
74
|
+
"""
|
|
75
|
+
return self._request_id
|
|
76
|
+
|
|
77
|
+
@request_id.setter
|
|
78
|
+
def request_id(self, request_id):
|
|
79
|
+
r"""Sets the request_id of this ListGeipPoolsResponse.
|
|
80
|
+
|
|
81
|
+
本次请求的编号
|
|
82
|
+
|
|
83
|
+
:param request_id: The request_id of this ListGeipPoolsResponse.
|
|
84
|
+
:type request_id: str
|
|
85
|
+
"""
|
|
86
|
+
self._request_id = request_id
|
|
87
|
+
|
|
88
|
+
@property
|
|
89
|
+
def geip_pools(self):
|
|
90
|
+
r"""Gets the geip_pools of this ListGeipPoolsResponse.
|
|
91
|
+
|
|
92
|
+
全域弹性公网IP池列表
|
|
93
|
+
|
|
94
|
+
:return: The geip_pools of this ListGeipPoolsResponse.
|
|
95
|
+
:rtype: list[:class:`huaweicloudsdkgeip.v3.ListGeipPools`]
|
|
96
|
+
"""
|
|
97
|
+
return self._geip_pools
|
|
98
|
+
|
|
99
|
+
@geip_pools.setter
|
|
100
|
+
def geip_pools(self, geip_pools):
|
|
101
|
+
r"""Sets the geip_pools of this ListGeipPoolsResponse.
|
|
102
|
+
|
|
103
|
+
全域弹性公网IP池列表
|
|
104
|
+
|
|
105
|
+
:param geip_pools: The geip_pools of this ListGeipPoolsResponse.
|
|
106
|
+
:type geip_pools: list[:class:`huaweicloudsdkgeip.v3.ListGeipPools`]
|
|
107
|
+
"""
|
|
108
|
+
self._geip_pools = geip_pools
|
|
109
|
+
|
|
110
|
+
@property
|
|
111
|
+
def page_info(self):
|
|
112
|
+
r"""Gets the page_info of this ListGeipPoolsResponse.
|
|
113
|
+
|
|
114
|
+
:return: The page_info of this ListGeipPoolsResponse.
|
|
115
|
+
:rtype: :class:`huaweicloudsdkgeip.v3.ListGlobalEipsResponseBodyPageInfo`
|
|
116
|
+
"""
|
|
117
|
+
return self._page_info
|
|
118
|
+
|
|
119
|
+
@page_info.setter
|
|
120
|
+
def page_info(self, page_info):
|
|
121
|
+
r"""Sets the page_info of this ListGeipPoolsResponse.
|
|
122
|
+
|
|
123
|
+
:param page_info: The page_info of this ListGeipPoolsResponse.
|
|
124
|
+
:type page_info: :class:`huaweicloudsdkgeip.v3.ListGlobalEipsResponseBodyPageInfo`
|
|
125
|
+
"""
|
|
126
|
+
self._page_info = page_info
|
|
127
|
+
|
|
128
|
+
@property
|
|
129
|
+
def x_request_id(self):
|
|
130
|
+
r"""Gets the x_request_id of this ListGeipPoolsResponse.
|
|
131
|
+
|
|
132
|
+
:return: The x_request_id of this ListGeipPoolsResponse.
|
|
133
|
+
:rtype: str
|
|
134
|
+
"""
|
|
135
|
+
return self._x_request_id
|
|
136
|
+
|
|
137
|
+
@x_request_id.setter
|
|
138
|
+
def x_request_id(self, x_request_id):
|
|
139
|
+
r"""Sets the x_request_id of this ListGeipPoolsResponse.
|
|
140
|
+
|
|
141
|
+
:param x_request_id: The x_request_id of this ListGeipPoolsResponse.
|
|
142
|
+
:type x_request_id: str
|
|
143
|
+
"""
|
|
144
|
+
self._x_request_id = x_request_id
|
|
145
|
+
|
|
146
|
+
def to_dict(self):
|
|
147
|
+
"""Returns the model properties as a dict"""
|
|
148
|
+
result = {}
|
|
149
|
+
|
|
150
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
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
|
+
if six.PY2:
|
|
177
|
+
import sys
|
|
178
|
+
reload(sys)
|
|
179
|
+
sys.setdefaultencoding("utf-8")
|
|
180
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
181
|
+
|
|
182
|
+
def __repr__(self):
|
|
183
|
+
"""For `print`"""
|
|
184
|
+
return self.to_str()
|
|
185
|
+
|
|
186
|
+
def __eq__(self, other):
|
|
187
|
+
"""Returns true if both objects are equal"""
|
|
188
|
+
if not isinstance(other, ListGeipPoolsResponse):
|
|
189
|
+
return False
|
|
190
|
+
|
|
191
|
+
return self.__dict__ == other.__dict__
|
|
192
|
+
|
|
193
|
+
def __ne__(self, other):
|
|
194
|
+
"""Returns true if both objects are not equal"""
|
|
195
|
+
return not self == other
|