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,311 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class ListAccessSites:
|
|
7
|
+
|
|
8
|
+
"""
|
|
9
|
+
Attributes:
|
|
10
|
+
openapi_types (dict): The key is attribute name
|
|
11
|
+
and the value is attribute type.
|
|
12
|
+
attribute_map (dict): The key is attribute name
|
|
13
|
+
and the value is json key in definition.
|
|
14
|
+
"""
|
|
15
|
+
sensitive_list = []
|
|
16
|
+
|
|
17
|
+
openapi_types = {
|
|
18
|
+
'id': 'str',
|
|
19
|
+
'name': 'str',
|
|
20
|
+
'proxy_region': 'str',
|
|
21
|
+
'iec_az_code': 'str',
|
|
22
|
+
'en_name': 'str',
|
|
23
|
+
'cn_name': 'str',
|
|
24
|
+
'created_at': 'datetime',
|
|
25
|
+
'updated_at': 'datetime'
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
attribute_map = {
|
|
29
|
+
'id': 'id',
|
|
30
|
+
'name': 'name',
|
|
31
|
+
'proxy_region': 'proxy_region',
|
|
32
|
+
'iec_az_code': 'iec_az_code',
|
|
33
|
+
'en_name': 'en_name',
|
|
34
|
+
'cn_name': 'cn_name',
|
|
35
|
+
'created_at': 'created_at',
|
|
36
|
+
'updated_at': 'updated_at'
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
def __init__(self, id=None, name=None, proxy_region=None, iec_az_code=None, en_name=None, cn_name=None, created_at=None, updated_at=None):
|
|
40
|
+
r"""ListAccessSites
|
|
41
|
+
|
|
42
|
+
The model defined in huaweicloud sdk
|
|
43
|
+
|
|
44
|
+
:param id: 接入点的ID
|
|
45
|
+
:type id: str
|
|
46
|
+
:param name: - 功能说明:接入点名称 - 取值范围:1-64,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
|
|
47
|
+
:type name: str
|
|
48
|
+
:param proxy_region: pop站点托管的region(id)
|
|
49
|
+
:type proxy_region: str
|
|
50
|
+
:param iec_az_code: 边缘站点az
|
|
51
|
+
:type iec_az_code: str
|
|
52
|
+
:param en_name: 英文名称
|
|
53
|
+
:type en_name: str
|
|
54
|
+
:param cn_name: 中文名称
|
|
55
|
+
:type cn_name: str
|
|
56
|
+
:param created_at: 创建时间
|
|
57
|
+
:type created_at: datetime
|
|
58
|
+
:param updated_at: 更新时间
|
|
59
|
+
:type updated_at: datetime
|
|
60
|
+
"""
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
self._id = None
|
|
65
|
+
self._name = None
|
|
66
|
+
self._proxy_region = None
|
|
67
|
+
self._iec_az_code = None
|
|
68
|
+
self._en_name = None
|
|
69
|
+
self._cn_name = None
|
|
70
|
+
self._created_at = None
|
|
71
|
+
self._updated_at = None
|
|
72
|
+
self.discriminator = None
|
|
73
|
+
|
|
74
|
+
if id is not None:
|
|
75
|
+
self.id = id
|
|
76
|
+
if name is not None:
|
|
77
|
+
self.name = name
|
|
78
|
+
if proxy_region is not None:
|
|
79
|
+
self.proxy_region = proxy_region
|
|
80
|
+
if iec_az_code is not None:
|
|
81
|
+
self.iec_az_code = iec_az_code
|
|
82
|
+
if en_name is not None:
|
|
83
|
+
self.en_name = en_name
|
|
84
|
+
if cn_name is not None:
|
|
85
|
+
self.cn_name = cn_name
|
|
86
|
+
if created_at is not None:
|
|
87
|
+
self.created_at = created_at
|
|
88
|
+
if updated_at is not None:
|
|
89
|
+
self.updated_at = updated_at
|
|
90
|
+
|
|
91
|
+
@property
|
|
92
|
+
def id(self):
|
|
93
|
+
r"""Gets the id of this ListAccessSites.
|
|
94
|
+
|
|
95
|
+
接入点的ID
|
|
96
|
+
|
|
97
|
+
:return: The id of this ListAccessSites.
|
|
98
|
+
:rtype: str
|
|
99
|
+
"""
|
|
100
|
+
return self._id
|
|
101
|
+
|
|
102
|
+
@id.setter
|
|
103
|
+
def id(self, id):
|
|
104
|
+
r"""Sets the id of this ListAccessSites.
|
|
105
|
+
|
|
106
|
+
接入点的ID
|
|
107
|
+
|
|
108
|
+
:param id: The id of this ListAccessSites.
|
|
109
|
+
:type id: str
|
|
110
|
+
"""
|
|
111
|
+
self._id = id
|
|
112
|
+
|
|
113
|
+
@property
|
|
114
|
+
def name(self):
|
|
115
|
+
r"""Gets the name of this ListAccessSites.
|
|
116
|
+
|
|
117
|
+
- 功能说明:接入点名称 - 取值范围:1-64,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
|
|
118
|
+
|
|
119
|
+
:return: The name of this ListAccessSites.
|
|
120
|
+
:rtype: str
|
|
121
|
+
"""
|
|
122
|
+
return self._name
|
|
123
|
+
|
|
124
|
+
@name.setter
|
|
125
|
+
def name(self, name):
|
|
126
|
+
r"""Sets the name of this ListAccessSites.
|
|
127
|
+
|
|
128
|
+
- 功能说明:接入点名称 - 取值范围:1-64,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
|
|
129
|
+
|
|
130
|
+
:param name: The name of this ListAccessSites.
|
|
131
|
+
:type name: str
|
|
132
|
+
"""
|
|
133
|
+
self._name = name
|
|
134
|
+
|
|
135
|
+
@property
|
|
136
|
+
def proxy_region(self):
|
|
137
|
+
r"""Gets the proxy_region of this ListAccessSites.
|
|
138
|
+
|
|
139
|
+
pop站点托管的region(id)
|
|
140
|
+
|
|
141
|
+
:return: The proxy_region of this ListAccessSites.
|
|
142
|
+
:rtype: str
|
|
143
|
+
"""
|
|
144
|
+
return self._proxy_region
|
|
145
|
+
|
|
146
|
+
@proxy_region.setter
|
|
147
|
+
def proxy_region(self, proxy_region):
|
|
148
|
+
r"""Sets the proxy_region of this ListAccessSites.
|
|
149
|
+
|
|
150
|
+
pop站点托管的region(id)
|
|
151
|
+
|
|
152
|
+
:param proxy_region: The proxy_region of this ListAccessSites.
|
|
153
|
+
:type proxy_region: str
|
|
154
|
+
"""
|
|
155
|
+
self._proxy_region = proxy_region
|
|
156
|
+
|
|
157
|
+
@property
|
|
158
|
+
def iec_az_code(self):
|
|
159
|
+
r"""Gets the iec_az_code of this ListAccessSites.
|
|
160
|
+
|
|
161
|
+
边缘站点az
|
|
162
|
+
|
|
163
|
+
:return: The iec_az_code of this ListAccessSites.
|
|
164
|
+
:rtype: str
|
|
165
|
+
"""
|
|
166
|
+
return self._iec_az_code
|
|
167
|
+
|
|
168
|
+
@iec_az_code.setter
|
|
169
|
+
def iec_az_code(self, iec_az_code):
|
|
170
|
+
r"""Sets the iec_az_code of this ListAccessSites.
|
|
171
|
+
|
|
172
|
+
边缘站点az
|
|
173
|
+
|
|
174
|
+
:param iec_az_code: The iec_az_code of this ListAccessSites.
|
|
175
|
+
:type iec_az_code: str
|
|
176
|
+
"""
|
|
177
|
+
self._iec_az_code = iec_az_code
|
|
178
|
+
|
|
179
|
+
@property
|
|
180
|
+
def en_name(self):
|
|
181
|
+
r"""Gets the en_name of this ListAccessSites.
|
|
182
|
+
|
|
183
|
+
英文名称
|
|
184
|
+
|
|
185
|
+
:return: The en_name of this ListAccessSites.
|
|
186
|
+
:rtype: str
|
|
187
|
+
"""
|
|
188
|
+
return self._en_name
|
|
189
|
+
|
|
190
|
+
@en_name.setter
|
|
191
|
+
def en_name(self, en_name):
|
|
192
|
+
r"""Sets the en_name of this ListAccessSites.
|
|
193
|
+
|
|
194
|
+
英文名称
|
|
195
|
+
|
|
196
|
+
:param en_name: The en_name of this ListAccessSites.
|
|
197
|
+
:type en_name: str
|
|
198
|
+
"""
|
|
199
|
+
self._en_name = en_name
|
|
200
|
+
|
|
201
|
+
@property
|
|
202
|
+
def cn_name(self):
|
|
203
|
+
r"""Gets the cn_name of this ListAccessSites.
|
|
204
|
+
|
|
205
|
+
中文名称
|
|
206
|
+
|
|
207
|
+
:return: The cn_name of this ListAccessSites.
|
|
208
|
+
:rtype: str
|
|
209
|
+
"""
|
|
210
|
+
return self._cn_name
|
|
211
|
+
|
|
212
|
+
@cn_name.setter
|
|
213
|
+
def cn_name(self, cn_name):
|
|
214
|
+
r"""Sets the cn_name of this ListAccessSites.
|
|
215
|
+
|
|
216
|
+
中文名称
|
|
217
|
+
|
|
218
|
+
:param cn_name: The cn_name of this ListAccessSites.
|
|
219
|
+
:type cn_name: str
|
|
220
|
+
"""
|
|
221
|
+
self._cn_name = cn_name
|
|
222
|
+
|
|
223
|
+
@property
|
|
224
|
+
def created_at(self):
|
|
225
|
+
r"""Gets the created_at of this ListAccessSites.
|
|
226
|
+
|
|
227
|
+
创建时间
|
|
228
|
+
|
|
229
|
+
:return: The created_at of this ListAccessSites.
|
|
230
|
+
:rtype: datetime
|
|
231
|
+
"""
|
|
232
|
+
return self._created_at
|
|
233
|
+
|
|
234
|
+
@created_at.setter
|
|
235
|
+
def created_at(self, created_at):
|
|
236
|
+
r"""Sets the created_at of this ListAccessSites.
|
|
237
|
+
|
|
238
|
+
创建时间
|
|
239
|
+
|
|
240
|
+
:param created_at: The created_at of this ListAccessSites.
|
|
241
|
+
:type created_at: datetime
|
|
242
|
+
"""
|
|
243
|
+
self._created_at = created_at
|
|
244
|
+
|
|
245
|
+
@property
|
|
246
|
+
def updated_at(self):
|
|
247
|
+
r"""Gets the updated_at of this ListAccessSites.
|
|
248
|
+
|
|
249
|
+
更新时间
|
|
250
|
+
|
|
251
|
+
:return: The updated_at of this ListAccessSites.
|
|
252
|
+
:rtype: datetime
|
|
253
|
+
"""
|
|
254
|
+
return self._updated_at
|
|
255
|
+
|
|
256
|
+
@updated_at.setter
|
|
257
|
+
def updated_at(self, updated_at):
|
|
258
|
+
r"""Sets the updated_at of this ListAccessSites.
|
|
259
|
+
|
|
260
|
+
更新时间
|
|
261
|
+
|
|
262
|
+
:param updated_at: The updated_at of this ListAccessSites.
|
|
263
|
+
:type updated_at: datetime
|
|
264
|
+
"""
|
|
265
|
+
self._updated_at = updated_at
|
|
266
|
+
|
|
267
|
+
def to_dict(self):
|
|
268
|
+
result = {}
|
|
269
|
+
|
|
270
|
+
for attr, _ in self.openapi_types.items():
|
|
271
|
+
value = getattr(self, attr)
|
|
272
|
+
if isinstance(value, list):
|
|
273
|
+
result[attr] = list(map(
|
|
274
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
275
|
+
value
|
|
276
|
+
))
|
|
277
|
+
elif hasattr(value, "to_dict"):
|
|
278
|
+
result[attr] = value.to_dict()
|
|
279
|
+
elif isinstance(value, dict):
|
|
280
|
+
result[attr] = dict(map(
|
|
281
|
+
lambda item: (item[0], item[1].to_dict())
|
|
282
|
+
if hasattr(item[1], "to_dict") else item,
|
|
283
|
+
value.items()
|
|
284
|
+
))
|
|
285
|
+
else:
|
|
286
|
+
if attr in self.sensitive_list:
|
|
287
|
+
result[attr] = "****"
|
|
288
|
+
else:
|
|
289
|
+
result[attr] = value
|
|
290
|
+
|
|
291
|
+
return result
|
|
292
|
+
|
|
293
|
+
def to_str(self):
|
|
294
|
+
"""Returns the string representation of the model"""
|
|
295
|
+
import simplejson as json
|
|
296
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
297
|
+
|
|
298
|
+
def __repr__(self):
|
|
299
|
+
"""For `print`"""
|
|
300
|
+
return self.to_str()
|
|
301
|
+
|
|
302
|
+
def __eq__(self, other):
|
|
303
|
+
"""Returns true if both objects are equal"""
|
|
304
|
+
if not isinstance(other, ListAccessSites):
|
|
305
|
+
return False
|
|
306
|
+
|
|
307
|
+
return self.__dict__ == other.__dict__
|
|
308
|
+
|
|
309
|
+
def __ne__(self, other):
|
|
310
|
+
"""Returns true if both objects are not equal"""
|
|
311
|
+
return not self == other
|
|
@@ -0,0 +1,378 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class ListAccessSitesRequest:
|
|
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
|
+
'limit': 'int',
|
|
19
|
+
'offset': 'int',
|
|
20
|
+
'marker': 'str',
|
|
21
|
+
'page_reverse': 'bool',
|
|
22
|
+
'fields': 'list[str]',
|
|
23
|
+
'sort_key': 'list[str]',
|
|
24
|
+
'sort_dir': 'list[str]',
|
|
25
|
+
'id': 'list[str]',
|
|
26
|
+
'code': 'list[str]',
|
|
27
|
+
'proxy_region': 'list[str]',
|
|
28
|
+
'iec_az_code': 'list[str]'
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
attribute_map = {
|
|
32
|
+
'limit': 'limit',
|
|
33
|
+
'offset': 'offset',
|
|
34
|
+
'marker': 'marker',
|
|
35
|
+
'page_reverse': 'page_reverse',
|
|
36
|
+
'fields': 'fields',
|
|
37
|
+
'sort_key': 'sort_key',
|
|
38
|
+
'sort_dir': 'sort_dir',
|
|
39
|
+
'id': 'id',
|
|
40
|
+
'code': 'code',
|
|
41
|
+
'proxy_region': 'proxy_region',
|
|
42
|
+
'iec_az_code': 'iec_az_code'
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
def __init__(self, limit=None, offset=None, marker=None, page_reverse=None, fields=None, sort_key=None, sort_dir=None, id=None, code=None, proxy_region=None, iec_az_code=None):
|
|
46
|
+
r"""ListAccessSitesRequest
|
|
47
|
+
|
|
48
|
+
The model defined in huaweicloud sdk
|
|
49
|
+
|
|
50
|
+
:param limit: 每页条数
|
|
51
|
+
:type limit: int
|
|
52
|
+
:param offset: 分页起始点
|
|
53
|
+
:type offset: int
|
|
54
|
+
:param marker: 分页起始点
|
|
55
|
+
:type marker: str
|
|
56
|
+
:param page_reverse: 翻页方向
|
|
57
|
+
:type page_reverse: bool
|
|
58
|
+
:param fields:
|
|
59
|
+
:type fields: list[str]
|
|
60
|
+
:param sort_key: 按照sort_key指定的字段排序
|
|
61
|
+
:type sort_key: list[str]
|
|
62
|
+
:param sort_dir: 排序的方向,倒序或者正序
|
|
63
|
+
:type sort_dir: list[str]
|
|
64
|
+
:param id:
|
|
65
|
+
:type id: list[str]
|
|
66
|
+
:param code:
|
|
67
|
+
:type code: list[str]
|
|
68
|
+
:param proxy_region:
|
|
69
|
+
:type proxy_region: list[str]
|
|
70
|
+
:param iec_az_code:
|
|
71
|
+
:type iec_az_code: list[str]
|
|
72
|
+
"""
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
self._limit = None
|
|
77
|
+
self._offset = None
|
|
78
|
+
self._marker = None
|
|
79
|
+
self._page_reverse = None
|
|
80
|
+
self._fields = None
|
|
81
|
+
self._sort_key = None
|
|
82
|
+
self._sort_dir = None
|
|
83
|
+
self._id = None
|
|
84
|
+
self._code = None
|
|
85
|
+
self._proxy_region = None
|
|
86
|
+
self._iec_az_code = None
|
|
87
|
+
self.discriminator = None
|
|
88
|
+
|
|
89
|
+
if limit is not None:
|
|
90
|
+
self.limit = limit
|
|
91
|
+
if offset is not None:
|
|
92
|
+
self.offset = offset
|
|
93
|
+
if marker is not None:
|
|
94
|
+
self.marker = marker
|
|
95
|
+
if page_reverse is not None:
|
|
96
|
+
self.page_reverse = page_reverse
|
|
97
|
+
if fields is not None:
|
|
98
|
+
self.fields = fields
|
|
99
|
+
if sort_key is not None:
|
|
100
|
+
self.sort_key = sort_key
|
|
101
|
+
if sort_dir is not None:
|
|
102
|
+
self.sort_dir = sort_dir
|
|
103
|
+
if id is not None:
|
|
104
|
+
self.id = id
|
|
105
|
+
if code is not None:
|
|
106
|
+
self.code = code
|
|
107
|
+
if proxy_region is not None:
|
|
108
|
+
self.proxy_region = proxy_region
|
|
109
|
+
if iec_az_code is not None:
|
|
110
|
+
self.iec_az_code = iec_az_code
|
|
111
|
+
|
|
112
|
+
@property
|
|
113
|
+
def limit(self):
|
|
114
|
+
r"""Gets the limit of this ListAccessSitesRequest.
|
|
115
|
+
|
|
116
|
+
每页条数
|
|
117
|
+
|
|
118
|
+
:return: The limit of this ListAccessSitesRequest.
|
|
119
|
+
:rtype: int
|
|
120
|
+
"""
|
|
121
|
+
return self._limit
|
|
122
|
+
|
|
123
|
+
@limit.setter
|
|
124
|
+
def limit(self, limit):
|
|
125
|
+
r"""Sets the limit of this ListAccessSitesRequest.
|
|
126
|
+
|
|
127
|
+
每页条数
|
|
128
|
+
|
|
129
|
+
:param limit: The limit of this ListAccessSitesRequest.
|
|
130
|
+
:type limit: int
|
|
131
|
+
"""
|
|
132
|
+
self._limit = limit
|
|
133
|
+
|
|
134
|
+
@property
|
|
135
|
+
def offset(self):
|
|
136
|
+
r"""Gets the offset of this ListAccessSitesRequest.
|
|
137
|
+
|
|
138
|
+
分页起始点
|
|
139
|
+
|
|
140
|
+
:return: The offset of this ListAccessSitesRequest.
|
|
141
|
+
:rtype: int
|
|
142
|
+
"""
|
|
143
|
+
return self._offset
|
|
144
|
+
|
|
145
|
+
@offset.setter
|
|
146
|
+
def offset(self, offset):
|
|
147
|
+
r"""Sets the offset of this ListAccessSitesRequest.
|
|
148
|
+
|
|
149
|
+
分页起始点
|
|
150
|
+
|
|
151
|
+
:param offset: The offset of this ListAccessSitesRequest.
|
|
152
|
+
:type offset: int
|
|
153
|
+
"""
|
|
154
|
+
self._offset = offset
|
|
155
|
+
|
|
156
|
+
@property
|
|
157
|
+
def marker(self):
|
|
158
|
+
r"""Gets the marker of this ListAccessSitesRequest.
|
|
159
|
+
|
|
160
|
+
分页起始点
|
|
161
|
+
|
|
162
|
+
:return: The marker of this ListAccessSitesRequest.
|
|
163
|
+
:rtype: str
|
|
164
|
+
"""
|
|
165
|
+
return self._marker
|
|
166
|
+
|
|
167
|
+
@marker.setter
|
|
168
|
+
def marker(self, marker):
|
|
169
|
+
r"""Sets the marker of this ListAccessSitesRequest.
|
|
170
|
+
|
|
171
|
+
分页起始点
|
|
172
|
+
|
|
173
|
+
:param marker: The marker of this ListAccessSitesRequest.
|
|
174
|
+
:type marker: str
|
|
175
|
+
"""
|
|
176
|
+
self._marker = marker
|
|
177
|
+
|
|
178
|
+
@property
|
|
179
|
+
def page_reverse(self):
|
|
180
|
+
r"""Gets the page_reverse of this ListAccessSitesRequest.
|
|
181
|
+
|
|
182
|
+
翻页方向
|
|
183
|
+
|
|
184
|
+
:return: The page_reverse of this ListAccessSitesRequest.
|
|
185
|
+
:rtype: bool
|
|
186
|
+
"""
|
|
187
|
+
return self._page_reverse
|
|
188
|
+
|
|
189
|
+
@page_reverse.setter
|
|
190
|
+
def page_reverse(self, page_reverse):
|
|
191
|
+
r"""Sets the page_reverse of this ListAccessSitesRequest.
|
|
192
|
+
|
|
193
|
+
翻页方向
|
|
194
|
+
|
|
195
|
+
:param page_reverse: The page_reverse of this ListAccessSitesRequest.
|
|
196
|
+
:type page_reverse: bool
|
|
197
|
+
"""
|
|
198
|
+
self._page_reverse = page_reverse
|
|
199
|
+
|
|
200
|
+
@property
|
|
201
|
+
def fields(self):
|
|
202
|
+
r"""Gets the fields of this ListAccessSitesRequest.
|
|
203
|
+
|
|
204
|
+
:return: The fields of this ListAccessSitesRequest.
|
|
205
|
+
:rtype: list[str]
|
|
206
|
+
"""
|
|
207
|
+
return self._fields
|
|
208
|
+
|
|
209
|
+
@fields.setter
|
|
210
|
+
def fields(self, fields):
|
|
211
|
+
r"""Sets the fields of this ListAccessSitesRequest.
|
|
212
|
+
|
|
213
|
+
:param fields: The fields of this ListAccessSitesRequest.
|
|
214
|
+
:type fields: list[str]
|
|
215
|
+
"""
|
|
216
|
+
self._fields = fields
|
|
217
|
+
|
|
218
|
+
@property
|
|
219
|
+
def sort_key(self):
|
|
220
|
+
r"""Gets the sort_key of this ListAccessSitesRequest.
|
|
221
|
+
|
|
222
|
+
按照sort_key指定的字段排序
|
|
223
|
+
|
|
224
|
+
:return: The sort_key of this ListAccessSitesRequest.
|
|
225
|
+
:rtype: list[str]
|
|
226
|
+
"""
|
|
227
|
+
return self._sort_key
|
|
228
|
+
|
|
229
|
+
@sort_key.setter
|
|
230
|
+
def sort_key(self, sort_key):
|
|
231
|
+
r"""Sets the sort_key of this ListAccessSitesRequest.
|
|
232
|
+
|
|
233
|
+
按照sort_key指定的字段排序
|
|
234
|
+
|
|
235
|
+
:param sort_key: The sort_key of this ListAccessSitesRequest.
|
|
236
|
+
:type sort_key: list[str]
|
|
237
|
+
"""
|
|
238
|
+
self._sort_key = sort_key
|
|
239
|
+
|
|
240
|
+
@property
|
|
241
|
+
def sort_dir(self):
|
|
242
|
+
r"""Gets the sort_dir of this ListAccessSitesRequest.
|
|
243
|
+
|
|
244
|
+
排序的方向,倒序或者正序
|
|
245
|
+
|
|
246
|
+
:return: The sort_dir of this ListAccessSitesRequest.
|
|
247
|
+
:rtype: list[str]
|
|
248
|
+
"""
|
|
249
|
+
return self._sort_dir
|
|
250
|
+
|
|
251
|
+
@sort_dir.setter
|
|
252
|
+
def sort_dir(self, sort_dir):
|
|
253
|
+
r"""Sets the sort_dir of this ListAccessSitesRequest.
|
|
254
|
+
|
|
255
|
+
排序的方向,倒序或者正序
|
|
256
|
+
|
|
257
|
+
:param sort_dir: The sort_dir of this ListAccessSitesRequest.
|
|
258
|
+
:type sort_dir: list[str]
|
|
259
|
+
"""
|
|
260
|
+
self._sort_dir = sort_dir
|
|
261
|
+
|
|
262
|
+
@property
|
|
263
|
+
def id(self):
|
|
264
|
+
r"""Gets the id of this ListAccessSitesRequest.
|
|
265
|
+
|
|
266
|
+
:return: The id of this ListAccessSitesRequest.
|
|
267
|
+
:rtype: list[str]
|
|
268
|
+
"""
|
|
269
|
+
return self._id
|
|
270
|
+
|
|
271
|
+
@id.setter
|
|
272
|
+
def id(self, id):
|
|
273
|
+
r"""Sets the id of this ListAccessSitesRequest.
|
|
274
|
+
|
|
275
|
+
:param id: The id of this ListAccessSitesRequest.
|
|
276
|
+
:type id: list[str]
|
|
277
|
+
"""
|
|
278
|
+
self._id = id
|
|
279
|
+
|
|
280
|
+
@property
|
|
281
|
+
def code(self):
|
|
282
|
+
r"""Gets the code of this ListAccessSitesRequest.
|
|
283
|
+
|
|
284
|
+
:return: The code of this ListAccessSitesRequest.
|
|
285
|
+
:rtype: list[str]
|
|
286
|
+
"""
|
|
287
|
+
return self._code
|
|
288
|
+
|
|
289
|
+
@code.setter
|
|
290
|
+
def code(self, code):
|
|
291
|
+
r"""Sets the code of this ListAccessSitesRequest.
|
|
292
|
+
|
|
293
|
+
:param code: The code of this ListAccessSitesRequest.
|
|
294
|
+
:type code: list[str]
|
|
295
|
+
"""
|
|
296
|
+
self._code = code
|
|
297
|
+
|
|
298
|
+
@property
|
|
299
|
+
def proxy_region(self):
|
|
300
|
+
r"""Gets the proxy_region of this ListAccessSitesRequest.
|
|
301
|
+
|
|
302
|
+
:return: The proxy_region of this ListAccessSitesRequest.
|
|
303
|
+
:rtype: list[str]
|
|
304
|
+
"""
|
|
305
|
+
return self._proxy_region
|
|
306
|
+
|
|
307
|
+
@proxy_region.setter
|
|
308
|
+
def proxy_region(self, proxy_region):
|
|
309
|
+
r"""Sets the proxy_region of this ListAccessSitesRequest.
|
|
310
|
+
|
|
311
|
+
:param proxy_region: The proxy_region of this ListAccessSitesRequest.
|
|
312
|
+
:type proxy_region: list[str]
|
|
313
|
+
"""
|
|
314
|
+
self._proxy_region = proxy_region
|
|
315
|
+
|
|
316
|
+
@property
|
|
317
|
+
def iec_az_code(self):
|
|
318
|
+
r"""Gets the iec_az_code of this ListAccessSitesRequest.
|
|
319
|
+
|
|
320
|
+
:return: The iec_az_code of this ListAccessSitesRequest.
|
|
321
|
+
:rtype: list[str]
|
|
322
|
+
"""
|
|
323
|
+
return self._iec_az_code
|
|
324
|
+
|
|
325
|
+
@iec_az_code.setter
|
|
326
|
+
def iec_az_code(self, iec_az_code):
|
|
327
|
+
r"""Sets the iec_az_code of this ListAccessSitesRequest.
|
|
328
|
+
|
|
329
|
+
:param iec_az_code: The iec_az_code of this ListAccessSitesRequest.
|
|
330
|
+
:type iec_az_code: list[str]
|
|
331
|
+
"""
|
|
332
|
+
self._iec_az_code = iec_az_code
|
|
333
|
+
|
|
334
|
+
def to_dict(self):
|
|
335
|
+
result = {}
|
|
336
|
+
|
|
337
|
+
for attr, _ in self.openapi_types.items():
|
|
338
|
+
value = getattr(self, attr)
|
|
339
|
+
if isinstance(value, list):
|
|
340
|
+
result[attr] = list(map(
|
|
341
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
342
|
+
value
|
|
343
|
+
))
|
|
344
|
+
elif hasattr(value, "to_dict"):
|
|
345
|
+
result[attr] = value.to_dict()
|
|
346
|
+
elif isinstance(value, dict):
|
|
347
|
+
result[attr] = dict(map(
|
|
348
|
+
lambda item: (item[0], item[1].to_dict())
|
|
349
|
+
if hasattr(item[1], "to_dict") else item,
|
|
350
|
+
value.items()
|
|
351
|
+
))
|
|
352
|
+
else:
|
|
353
|
+
if attr in self.sensitive_list:
|
|
354
|
+
result[attr] = "****"
|
|
355
|
+
else:
|
|
356
|
+
result[attr] = value
|
|
357
|
+
|
|
358
|
+
return result
|
|
359
|
+
|
|
360
|
+
def to_str(self):
|
|
361
|
+
"""Returns the string representation of the model"""
|
|
362
|
+
import simplejson as json
|
|
363
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
364
|
+
|
|
365
|
+
def __repr__(self):
|
|
366
|
+
"""For `print`"""
|
|
367
|
+
return self.to_str()
|
|
368
|
+
|
|
369
|
+
def __eq__(self, other):
|
|
370
|
+
"""Returns true if both objects are equal"""
|
|
371
|
+
if not isinstance(other, ListAccessSitesRequest):
|
|
372
|
+
return False
|
|
373
|
+
|
|
374
|
+
return self.__dict__ == other.__dict__
|
|
375
|
+
|
|
376
|
+
def __ne__(self, other):
|
|
377
|
+
"""Returns true if both objects are not equal"""
|
|
378
|
+
return not self == other
|