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,252 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class ListGeipResourceQuotasRequest:
|
|
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
|
+
'type': 'list[str]'
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
attribute_map = {
|
|
29
|
+
'limit': 'limit',
|
|
30
|
+
'offset': 'offset',
|
|
31
|
+
'marker': 'marker',
|
|
32
|
+
'page_reverse': 'page_reverse',
|
|
33
|
+
'fields': 'fields',
|
|
34
|
+
'type': 'type'
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
def __init__(self, limit=None, offset=None, marker=None, page_reverse=None, fields=None, type=None):
|
|
38
|
+
r"""ListGeipResourceQuotasRequest
|
|
39
|
+
|
|
40
|
+
The model defined in huaweicloud sdk
|
|
41
|
+
|
|
42
|
+
:param limit: 每页条数
|
|
43
|
+
:type limit: int
|
|
44
|
+
:param offset: 分页起始点
|
|
45
|
+
:type offset: int
|
|
46
|
+
:param marker: 分页起始点
|
|
47
|
+
:type marker: str
|
|
48
|
+
:param page_reverse: 翻页方向
|
|
49
|
+
:type page_reverse: bool
|
|
50
|
+
:param fields:
|
|
51
|
+
:type fields: list[str]
|
|
52
|
+
:param type:
|
|
53
|
+
:type type: list[str]
|
|
54
|
+
"""
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
self._limit = None
|
|
59
|
+
self._offset = None
|
|
60
|
+
self._marker = None
|
|
61
|
+
self._page_reverse = None
|
|
62
|
+
self._fields = None
|
|
63
|
+
self._type = None
|
|
64
|
+
self.discriminator = None
|
|
65
|
+
|
|
66
|
+
if limit is not None:
|
|
67
|
+
self.limit = limit
|
|
68
|
+
if offset is not None:
|
|
69
|
+
self.offset = offset
|
|
70
|
+
if marker is not None:
|
|
71
|
+
self.marker = marker
|
|
72
|
+
if page_reverse is not None:
|
|
73
|
+
self.page_reverse = page_reverse
|
|
74
|
+
if fields is not None:
|
|
75
|
+
self.fields = fields
|
|
76
|
+
if type is not None:
|
|
77
|
+
self.type = type
|
|
78
|
+
|
|
79
|
+
@property
|
|
80
|
+
def limit(self):
|
|
81
|
+
r"""Gets the limit of this ListGeipResourceQuotasRequest.
|
|
82
|
+
|
|
83
|
+
每页条数
|
|
84
|
+
|
|
85
|
+
:return: The limit of this ListGeipResourceQuotasRequest.
|
|
86
|
+
:rtype: int
|
|
87
|
+
"""
|
|
88
|
+
return self._limit
|
|
89
|
+
|
|
90
|
+
@limit.setter
|
|
91
|
+
def limit(self, limit):
|
|
92
|
+
r"""Sets the limit of this ListGeipResourceQuotasRequest.
|
|
93
|
+
|
|
94
|
+
每页条数
|
|
95
|
+
|
|
96
|
+
:param limit: The limit of this ListGeipResourceQuotasRequest.
|
|
97
|
+
:type limit: int
|
|
98
|
+
"""
|
|
99
|
+
self._limit = limit
|
|
100
|
+
|
|
101
|
+
@property
|
|
102
|
+
def offset(self):
|
|
103
|
+
r"""Gets the offset of this ListGeipResourceQuotasRequest.
|
|
104
|
+
|
|
105
|
+
分页起始点
|
|
106
|
+
|
|
107
|
+
:return: The offset of this ListGeipResourceQuotasRequest.
|
|
108
|
+
:rtype: int
|
|
109
|
+
"""
|
|
110
|
+
return self._offset
|
|
111
|
+
|
|
112
|
+
@offset.setter
|
|
113
|
+
def offset(self, offset):
|
|
114
|
+
r"""Sets the offset of this ListGeipResourceQuotasRequest.
|
|
115
|
+
|
|
116
|
+
分页起始点
|
|
117
|
+
|
|
118
|
+
:param offset: The offset of this ListGeipResourceQuotasRequest.
|
|
119
|
+
:type offset: int
|
|
120
|
+
"""
|
|
121
|
+
self._offset = offset
|
|
122
|
+
|
|
123
|
+
@property
|
|
124
|
+
def marker(self):
|
|
125
|
+
r"""Gets the marker of this ListGeipResourceQuotasRequest.
|
|
126
|
+
|
|
127
|
+
分页起始点
|
|
128
|
+
|
|
129
|
+
:return: The marker of this ListGeipResourceQuotasRequest.
|
|
130
|
+
:rtype: str
|
|
131
|
+
"""
|
|
132
|
+
return self._marker
|
|
133
|
+
|
|
134
|
+
@marker.setter
|
|
135
|
+
def marker(self, marker):
|
|
136
|
+
r"""Sets the marker of this ListGeipResourceQuotasRequest.
|
|
137
|
+
|
|
138
|
+
分页起始点
|
|
139
|
+
|
|
140
|
+
:param marker: The marker of this ListGeipResourceQuotasRequest.
|
|
141
|
+
:type marker: str
|
|
142
|
+
"""
|
|
143
|
+
self._marker = marker
|
|
144
|
+
|
|
145
|
+
@property
|
|
146
|
+
def page_reverse(self):
|
|
147
|
+
r"""Gets the page_reverse of this ListGeipResourceQuotasRequest.
|
|
148
|
+
|
|
149
|
+
翻页方向
|
|
150
|
+
|
|
151
|
+
:return: The page_reverse of this ListGeipResourceQuotasRequest.
|
|
152
|
+
:rtype: bool
|
|
153
|
+
"""
|
|
154
|
+
return self._page_reverse
|
|
155
|
+
|
|
156
|
+
@page_reverse.setter
|
|
157
|
+
def page_reverse(self, page_reverse):
|
|
158
|
+
r"""Sets the page_reverse of this ListGeipResourceQuotasRequest.
|
|
159
|
+
|
|
160
|
+
翻页方向
|
|
161
|
+
|
|
162
|
+
:param page_reverse: The page_reverse of this ListGeipResourceQuotasRequest.
|
|
163
|
+
:type page_reverse: bool
|
|
164
|
+
"""
|
|
165
|
+
self._page_reverse = page_reverse
|
|
166
|
+
|
|
167
|
+
@property
|
|
168
|
+
def fields(self):
|
|
169
|
+
r"""Gets the fields of this ListGeipResourceQuotasRequest.
|
|
170
|
+
|
|
171
|
+
:return: The fields of this ListGeipResourceQuotasRequest.
|
|
172
|
+
:rtype: list[str]
|
|
173
|
+
"""
|
|
174
|
+
return self._fields
|
|
175
|
+
|
|
176
|
+
@fields.setter
|
|
177
|
+
def fields(self, fields):
|
|
178
|
+
r"""Sets the fields of this ListGeipResourceQuotasRequest.
|
|
179
|
+
|
|
180
|
+
:param fields: The fields of this ListGeipResourceQuotasRequest.
|
|
181
|
+
:type fields: list[str]
|
|
182
|
+
"""
|
|
183
|
+
self._fields = fields
|
|
184
|
+
|
|
185
|
+
@property
|
|
186
|
+
def type(self):
|
|
187
|
+
r"""Gets the type of this ListGeipResourceQuotasRequest.
|
|
188
|
+
|
|
189
|
+
:return: The type of this ListGeipResourceQuotasRequest.
|
|
190
|
+
:rtype: list[str]
|
|
191
|
+
"""
|
|
192
|
+
return self._type
|
|
193
|
+
|
|
194
|
+
@type.setter
|
|
195
|
+
def type(self, type):
|
|
196
|
+
r"""Sets the type of this ListGeipResourceQuotasRequest.
|
|
197
|
+
|
|
198
|
+
:param type: The type of this ListGeipResourceQuotasRequest.
|
|
199
|
+
:type type: list[str]
|
|
200
|
+
"""
|
|
201
|
+
self._type = type
|
|
202
|
+
|
|
203
|
+
def to_dict(self):
|
|
204
|
+
"""Returns the model properties as a dict"""
|
|
205
|
+
result = {}
|
|
206
|
+
|
|
207
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
208
|
+
value = getattr(self, attr)
|
|
209
|
+
if isinstance(value, list):
|
|
210
|
+
result[attr] = list(map(
|
|
211
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
212
|
+
value
|
|
213
|
+
))
|
|
214
|
+
elif hasattr(value, "to_dict"):
|
|
215
|
+
result[attr] = value.to_dict()
|
|
216
|
+
elif isinstance(value, dict):
|
|
217
|
+
result[attr] = dict(map(
|
|
218
|
+
lambda item: (item[0], item[1].to_dict())
|
|
219
|
+
if hasattr(item[1], "to_dict") else item,
|
|
220
|
+
value.items()
|
|
221
|
+
))
|
|
222
|
+
else:
|
|
223
|
+
if attr in self.sensitive_list:
|
|
224
|
+
result[attr] = "****"
|
|
225
|
+
else:
|
|
226
|
+
result[attr] = value
|
|
227
|
+
|
|
228
|
+
return result
|
|
229
|
+
|
|
230
|
+
def to_str(self):
|
|
231
|
+
"""Returns the string representation of the model"""
|
|
232
|
+
import simplejson as json
|
|
233
|
+
if six.PY2:
|
|
234
|
+
import sys
|
|
235
|
+
reload(sys)
|
|
236
|
+
sys.setdefaultencoding("utf-8")
|
|
237
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
238
|
+
|
|
239
|
+
def __repr__(self):
|
|
240
|
+
"""For `print`"""
|
|
241
|
+
return self.to_str()
|
|
242
|
+
|
|
243
|
+
def __eq__(self, other):
|
|
244
|
+
"""Returns true if both objects are equal"""
|
|
245
|
+
if not isinstance(other, ListGeipResourceQuotasRequest):
|
|
246
|
+
return False
|
|
247
|
+
|
|
248
|
+
return self.__dict__ == other.__dict__
|
|
249
|
+
|
|
250
|
+
def __ne__(self, other):
|
|
251
|
+
"""Returns true if both objects are not equal"""
|
|
252
|
+
return not self == other
|
|
@@ -0,0 +1,166 @@
|
|
|
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 ListGeipResourceQuotasResponse(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
|
+
'quotas': 'ListQuotas',
|
|
23
|
+
'x_request_id': 'str'
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
attribute_map = {
|
|
27
|
+
'request_id': 'request_id',
|
|
28
|
+
'quotas': 'quotas',
|
|
29
|
+
'x_request_id': 'X-Request-Id'
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
def __init__(self, request_id=None, quotas=None, x_request_id=None):
|
|
33
|
+
r"""ListGeipResourceQuotasResponse
|
|
34
|
+
|
|
35
|
+
The model defined in huaweicloud sdk
|
|
36
|
+
|
|
37
|
+
:param request_id: 本次请求的编号
|
|
38
|
+
:type request_id: str
|
|
39
|
+
:param quotas:
|
|
40
|
+
:type quotas: ListQuotas
|
|
41
|
+
:param x_request_id:
|
|
42
|
+
:type x_request_id: str
|
|
43
|
+
"""
|
|
44
|
+
|
|
45
|
+
super(ListGeipResourceQuotasResponse, self).__init__()
|
|
46
|
+
|
|
47
|
+
self._request_id = None
|
|
48
|
+
self._quotas = None
|
|
49
|
+
self._x_request_id = None
|
|
50
|
+
self.discriminator = None
|
|
51
|
+
|
|
52
|
+
if request_id is not None:
|
|
53
|
+
self.request_id = request_id
|
|
54
|
+
if quotas is not None:
|
|
55
|
+
self.quotas = quotas
|
|
56
|
+
if x_request_id is not None:
|
|
57
|
+
self.x_request_id = x_request_id
|
|
58
|
+
|
|
59
|
+
@property
|
|
60
|
+
def request_id(self):
|
|
61
|
+
r"""Gets the request_id of this ListGeipResourceQuotasResponse.
|
|
62
|
+
|
|
63
|
+
本次请求的编号
|
|
64
|
+
|
|
65
|
+
:return: The request_id of this ListGeipResourceQuotasResponse.
|
|
66
|
+
:rtype: str
|
|
67
|
+
"""
|
|
68
|
+
return self._request_id
|
|
69
|
+
|
|
70
|
+
@request_id.setter
|
|
71
|
+
def request_id(self, request_id):
|
|
72
|
+
r"""Sets the request_id of this ListGeipResourceQuotasResponse.
|
|
73
|
+
|
|
74
|
+
本次请求的编号
|
|
75
|
+
|
|
76
|
+
:param request_id: The request_id of this ListGeipResourceQuotasResponse.
|
|
77
|
+
:type request_id: str
|
|
78
|
+
"""
|
|
79
|
+
self._request_id = request_id
|
|
80
|
+
|
|
81
|
+
@property
|
|
82
|
+
def quotas(self):
|
|
83
|
+
r"""Gets the quotas of this ListGeipResourceQuotasResponse.
|
|
84
|
+
|
|
85
|
+
:return: The quotas of this ListGeipResourceQuotasResponse.
|
|
86
|
+
:rtype: ListQuotas
|
|
87
|
+
"""
|
|
88
|
+
return self._quotas
|
|
89
|
+
|
|
90
|
+
@quotas.setter
|
|
91
|
+
def quotas(self, quotas):
|
|
92
|
+
r"""Sets the quotas of this ListGeipResourceQuotasResponse.
|
|
93
|
+
|
|
94
|
+
:param quotas: The quotas of this ListGeipResourceQuotasResponse.
|
|
95
|
+
:type quotas: ListQuotas
|
|
96
|
+
"""
|
|
97
|
+
self._quotas = quotas
|
|
98
|
+
|
|
99
|
+
@property
|
|
100
|
+
def x_request_id(self):
|
|
101
|
+
r"""Gets the x_request_id of this ListGeipResourceQuotasResponse.
|
|
102
|
+
|
|
103
|
+
:return: The x_request_id of this ListGeipResourceQuotasResponse.
|
|
104
|
+
:rtype: str
|
|
105
|
+
"""
|
|
106
|
+
return self._x_request_id
|
|
107
|
+
|
|
108
|
+
@x_request_id.setter
|
|
109
|
+
def x_request_id(self, x_request_id):
|
|
110
|
+
r"""Sets the x_request_id of this ListGeipResourceQuotasResponse.
|
|
111
|
+
|
|
112
|
+
:param x_request_id: The x_request_id of this ListGeipResourceQuotasResponse.
|
|
113
|
+
:type x_request_id: str
|
|
114
|
+
"""
|
|
115
|
+
self._x_request_id = x_request_id
|
|
116
|
+
|
|
117
|
+
def to_dict(self):
|
|
118
|
+
"""Returns the model properties as a dict"""
|
|
119
|
+
result = {}
|
|
120
|
+
|
|
121
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
122
|
+
value = getattr(self, attr)
|
|
123
|
+
if isinstance(value, list):
|
|
124
|
+
result[attr] = list(map(
|
|
125
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
126
|
+
value
|
|
127
|
+
))
|
|
128
|
+
elif hasattr(value, "to_dict"):
|
|
129
|
+
result[attr] = value.to_dict()
|
|
130
|
+
elif isinstance(value, dict):
|
|
131
|
+
result[attr] = dict(map(
|
|
132
|
+
lambda item: (item[0], item[1].to_dict())
|
|
133
|
+
if hasattr(item[1], "to_dict") else item,
|
|
134
|
+
value.items()
|
|
135
|
+
))
|
|
136
|
+
else:
|
|
137
|
+
if attr in self.sensitive_list:
|
|
138
|
+
result[attr] = "****"
|
|
139
|
+
else:
|
|
140
|
+
result[attr] = value
|
|
141
|
+
|
|
142
|
+
return result
|
|
143
|
+
|
|
144
|
+
def to_str(self):
|
|
145
|
+
"""Returns the string representation of the model"""
|
|
146
|
+
import simplejson as json
|
|
147
|
+
if six.PY2:
|
|
148
|
+
import sys
|
|
149
|
+
reload(sys)
|
|
150
|
+
sys.setdefaultencoding("utf-8")
|
|
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, ListGeipResourceQuotasResponse):
|
|
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,111 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class ListGeipSegmentCountFilterTagsRequest:
|
|
9
|
+
|
|
10
|
+
"""
|
|
11
|
+
Attributes:
|
|
12
|
+
openapi_types (dict): The key is attribute name
|
|
13
|
+
and the value is attribute type.
|
|
14
|
+
attribute_map (dict): The key is attribute name
|
|
15
|
+
and the value is json key in definition.
|
|
16
|
+
"""
|
|
17
|
+
sensitive_list = []
|
|
18
|
+
|
|
19
|
+
openapi_types = {
|
|
20
|
+
'body': 'ListResourcesByTagsRequestBody'
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
attribute_map = {
|
|
24
|
+
'body': 'body'
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
def __init__(self, body=None):
|
|
28
|
+
r"""ListGeipSegmentCountFilterTagsRequest
|
|
29
|
+
|
|
30
|
+
The model defined in huaweicloud sdk
|
|
31
|
+
|
|
32
|
+
:param body: Body of the ListGeipSegmentCountFilterTagsRequest
|
|
33
|
+
:type body: :class:`huaweicloudsdkgeip.v3.ListResourcesByTagsRequestBody`
|
|
34
|
+
"""
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
self._body = None
|
|
39
|
+
self.discriminator = None
|
|
40
|
+
|
|
41
|
+
if body is not None:
|
|
42
|
+
self.body = body
|
|
43
|
+
|
|
44
|
+
@property
|
|
45
|
+
def body(self):
|
|
46
|
+
r"""Gets the body of this ListGeipSegmentCountFilterTagsRequest.
|
|
47
|
+
|
|
48
|
+
:return: The body of this ListGeipSegmentCountFilterTagsRequest.
|
|
49
|
+
:rtype: :class:`huaweicloudsdkgeip.v3.ListResourcesByTagsRequestBody`
|
|
50
|
+
"""
|
|
51
|
+
return self._body
|
|
52
|
+
|
|
53
|
+
@body.setter
|
|
54
|
+
def body(self, body):
|
|
55
|
+
r"""Sets the body of this ListGeipSegmentCountFilterTagsRequest.
|
|
56
|
+
|
|
57
|
+
:param body: The body of this ListGeipSegmentCountFilterTagsRequest.
|
|
58
|
+
:type body: :class:`huaweicloudsdkgeip.v3.ListResourcesByTagsRequestBody`
|
|
59
|
+
"""
|
|
60
|
+
self._body = body
|
|
61
|
+
|
|
62
|
+
def to_dict(self):
|
|
63
|
+
"""Returns the model properties as a dict"""
|
|
64
|
+
result = {}
|
|
65
|
+
|
|
66
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
67
|
+
value = getattr(self, attr)
|
|
68
|
+
if isinstance(value, list):
|
|
69
|
+
result[attr] = list(map(
|
|
70
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
71
|
+
value
|
|
72
|
+
))
|
|
73
|
+
elif hasattr(value, "to_dict"):
|
|
74
|
+
result[attr] = value.to_dict()
|
|
75
|
+
elif isinstance(value, dict):
|
|
76
|
+
result[attr] = dict(map(
|
|
77
|
+
lambda item: (item[0], item[1].to_dict())
|
|
78
|
+
if hasattr(item[1], "to_dict") else item,
|
|
79
|
+
value.items()
|
|
80
|
+
))
|
|
81
|
+
else:
|
|
82
|
+
if attr in self.sensitive_list:
|
|
83
|
+
result[attr] = "****"
|
|
84
|
+
else:
|
|
85
|
+
result[attr] = value
|
|
86
|
+
|
|
87
|
+
return result
|
|
88
|
+
|
|
89
|
+
def to_str(self):
|
|
90
|
+
"""Returns the string representation of the model"""
|
|
91
|
+
import simplejson as json
|
|
92
|
+
if six.PY2:
|
|
93
|
+
import sys
|
|
94
|
+
reload(sys)
|
|
95
|
+
sys.setdefaultencoding("utf-8")
|
|
96
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
97
|
+
|
|
98
|
+
def __repr__(self):
|
|
99
|
+
"""For `print`"""
|
|
100
|
+
return self.to_str()
|
|
101
|
+
|
|
102
|
+
def __eq__(self, other):
|
|
103
|
+
"""Returns true if both objects are equal"""
|
|
104
|
+
if not isinstance(other, ListGeipSegmentCountFilterTagsRequest):
|
|
105
|
+
return False
|
|
106
|
+
|
|
107
|
+
return self.__dict__ == other.__dict__
|
|
108
|
+
|
|
109
|
+
def __ne__(self, other):
|
|
110
|
+
"""Returns true if both objects are not equal"""
|
|
111
|
+
return not self == other
|
|
@@ -0,0 +1,170 @@
|
|
|
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 ListGeipSegmentCountFilterTagsResponse(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
|
+
'total_count': 'int',
|
|
23
|
+
'x_request_id': 'str'
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
attribute_map = {
|
|
27
|
+
'request_id': 'request_id',
|
|
28
|
+
'total_count': 'total_count',
|
|
29
|
+
'x_request_id': 'X-Request-Id'
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
def __init__(self, request_id=None, total_count=None, x_request_id=None):
|
|
33
|
+
r"""ListGeipSegmentCountFilterTagsResponse
|
|
34
|
+
|
|
35
|
+
The model defined in huaweicloud sdk
|
|
36
|
+
|
|
37
|
+
:param request_id: 本次请求的编号
|
|
38
|
+
:type request_id: str
|
|
39
|
+
:param total_count: 当前列表中资源数量。
|
|
40
|
+
:type total_count: int
|
|
41
|
+
:param x_request_id:
|
|
42
|
+
:type x_request_id: str
|
|
43
|
+
"""
|
|
44
|
+
|
|
45
|
+
super(ListGeipSegmentCountFilterTagsResponse, self).__init__()
|
|
46
|
+
|
|
47
|
+
self._request_id = None
|
|
48
|
+
self._total_count = None
|
|
49
|
+
self._x_request_id = None
|
|
50
|
+
self.discriminator = None
|
|
51
|
+
|
|
52
|
+
if request_id is not None:
|
|
53
|
+
self.request_id = request_id
|
|
54
|
+
if total_count is not None:
|
|
55
|
+
self.total_count = total_count
|
|
56
|
+
if x_request_id is not None:
|
|
57
|
+
self.x_request_id = x_request_id
|
|
58
|
+
|
|
59
|
+
@property
|
|
60
|
+
def request_id(self):
|
|
61
|
+
r"""Gets the request_id of this ListGeipSegmentCountFilterTagsResponse.
|
|
62
|
+
|
|
63
|
+
本次请求的编号
|
|
64
|
+
|
|
65
|
+
:return: The request_id of this ListGeipSegmentCountFilterTagsResponse.
|
|
66
|
+
:rtype: str
|
|
67
|
+
"""
|
|
68
|
+
return self._request_id
|
|
69
|
+
|
|
70
|
+
@request_id.setter
|
|
71
|
+
def request_id(self, request_id):
|
|
72
|
+
r"""Sets the request_id of this ListGeipSegmentCountFilterTagsResponse.
|
|
73
|
+
|
|
74
|
+
本次请求的编号
|
|
75
|
+
|
|
76
|
+
:param request_id: The request_id of this ListGeipSegmentCountFilterTagsResponse.
|
|
77
|
+
:type request_id: str
|
|
78
|
+
"""
|
|
79
|
+
self._request_id = request_id
|
|
80
|
+
|
|
81
|
+
@property
|
|
82
|
+
def total_count(self):
|
|
83
|
+
r"""Gets the total_count of this ListGeipSegmentCountFilterTagsResponse.
|
|
84
|
+
|
|
85
|
+
当前列表中资源数量。
|
|
86
|
+
|
|
87
|
+
:return: The total_count of this ListGeipSegmentCountFilterTagsResponse.
|
|
88
|
+
:rtype: int
|
|
89
|
+
"""
|
|
90
|
+
return self._total_count
|
|
91
|
+
|
|
92
|
+
@total_count.setter
|
|
93
|
+
def total_count(self, total_count):
|
|
94
|
+
r"""Sets the total_count of this ListGeipSegmentCountFilterTagsResponse.
|
|
95
|
+
|
|
96
|
+
当前列表中资源数量。
|
|
97
|
+
|
|
98
|
+
:param total_count: The total_count of this ListGeipSegmentCountFilterTagsResponse.
|
|
99
|
+
:type total_count: int
|
|
100
|
+
"""
|
|
101
|
+
self._total_count = total_count
|
|
102
|
+
|
|
103
|
+
@property
|
|
104
|
+
def x_request_id(self):
|
|
105
|
+
r"""Gets the x_request_id of this ListGeipSegmentCountFilterTagsResponse.
|
|
106
|
+
|
|
107
|
+
:return: The x_request_id of this ListGeipSegmentCountFilterTagsResponse.
|
|
108
|
+
:rtype: str
|
|
109
|
+
"""
|
|
110
|
+
return self._x_request_id
|
|
111
|
+
|
|
112
|
+
@x_request_id.setter
|
|
113
|
+
def x_request_id(self, x_request_id):
|
|
114
|
+
r"""Sets the x_request_id of this ListGeipSegmentCountFilterTagsResponse.
|
|
115
|
+
|
|
116
|
+
:param x_request_id: The x_request_id of this ListGeipSegmentCountFilterTagsResponse.
|
|
117
|
+
:type x_request_id: str
|
|
118
|
+
"""
|
|
119
|
+
self._x_request_id = x_request_id
|
|
120
|
+
|
|
121
|
+
def to_dict(self):
|
|
122
|
+
"""Returns the model properties as a dict"""
|
|
123
|
+
result = {}
|
|
124
|
+
|
|
125
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
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
|
+
if six.PY2:
|
|
152
|
+
import sys
|
|
153
|
+
reload(sys)
|
|
154
|
+
sys.setdefaultencoding("utf-8")
|
|
155
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
156
|
+
|
|
157
|
+
def __repr__(self):
|
|
158
|
+
"""For `print`"""
|
|
159
|
+
return self.to_str()
|
|
160
|
+
|
|
161
|
+
def __eq__(self, other):
|
|
162
|
+
"""Returns true if both objects are equal"""
|
|
163
|
+
if not isinstance(other, ListGeipSegmentCountFilterTagsResponse):
|
|
164
|
+
return False
|
|
165
|
+
|
|
166
|
+
return self.__dict__ == other.__dict__
|
|
167
|
+
|
|
168
|
+
def __ne__(self, other):
|
|
169
|
+
"""Returns true if both objects are not equal"""
|
|
170
|
+
return not self == other
|