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,107 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class ListResourcesByTagsRequestBody:
|
|
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
|
+
'tags': 'list[CreateTag]'
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
attribute_map = {
|
|
22
|
+
'tags': 'tags'
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
def __init__(self, tags=None):
|
|
26
|
+
r"""ListResourcesByTagsRequestBody
|
|
27
|
+
|
|
28
|
+
The model defined in huaweicloud sdk
|
|
29
|
+
|
|
30
|
+
:param tags: 包含标签。
|
|
31
|
+
:type tags: list[:class:`huaweicloudsdkgeip.v3.CreateTag`]
|
|
32
|
+
"""
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
self._tags = None
|
|
37
|
+
self.discriminator = None
|
|
38
|
+
|
|
39
|
+
self.tags = tags
|
|
40
|
+
|
|
41
|
+
@property
|
|
42
|
+
def tags(self):
|
|
43
|
+
r"""Gets the tags of this ListResourcesByTagsRequestBody.
|
|
44
|
+
|
|
45
|
+
包含标签。
|
|
46
|
+
|
|
47
|
+
:return: The tags of this ListResourcesByTagsRequestBody.
|
|
48
|
+
:rtype: list[:class:`huaweicloudsdkgeip.v3.CreateTag`]
|
|
49
|
+
"""
|
|
50
|
+
return self._tags
|
|
51
|
+
|
|
52
|
+
@tags.setter
|
|
53
|
+
def tags(self, tags):
|
|
54
|
+
r"""Sets the tags of this ListResourcesByTagsRequestBody.
|
|
55
|
+
|
|
56
|
+
包含标签。
|
|
57
|
+
|
|
58
|
+
:param tags: The tags of this ListResourcesByTagsRequestBody.
|
|
59
|
+
:type tags: list[:class:`huaweicloudsdkgeip.v3.CreateTag`]
|
|
60
|
+
"""
|
|
61
|
+
self._tags = tags
|
|
62
|
+
|
|
63
|
+
def to_dict(self):
|
|
64
|
+
result = {}
|
|
65
|
+
|
|
66
|
+
for attr, _ in self.openapi_types.items():
|
|
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
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
93
|
+
|
|
94
|
+
def __repr__(self):
|
|
95
|
+
"""For `print`"""
|
|
96
|
+
return self.to_str()
|
|
97
|
+
|
|
98
|
+
def __eq__(self, other):
|
|
99
|
+
"""Returns true if both objects are equal"""
|
|
100
|
+
if not isinstance(other, ListResourcesByTagsRequestBody):
|
|
101
|
+
return False
|
|
102
|
+
|
|
103
|
+
return self.__dict__ == other.__dict__
|
|
104
|
+
|
|
105
|
+
def __ne__(self, other):
|
|
106
|
+
"""Returns true if both objects are not equal"""
|
|
107
|
+
return not self == other
|
|
@@ -0,0 +1,311 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class ListSupportInstancesSupportRegions:
|
|
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
|
+
'instance_type': 'str',
|
|
20
|
+
'public_border_group': 'str',
|
|
21
|
+
'region_id': 'str',
|
|
22
|
+
'access_site': 'str',
|
|
23
|
+
'status': 'str',
|
|
24
|
+
'created_at': 'datetime',
|
|
25
|
+
'updated_at': 'datetime'
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
attribute_map = {
|
|
29
|
+
'id': 'id',
|
|
30
|
+
'instance_type': 'instance_type',
|
|
31
|
+
'public_border_group': 'public_border_group',
|
|
32
|
+
'region_id': 'region_id',
|
|
33
|
+
'access_site': 'access_site',
|
|
34
|
+
'status': 'status',
|
|
35
|
+
'created_at': 'created_at',
|
|
36
|
+
'updated_at': 'updated_at'
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
def __init__(self, id=None, instance_type=None, public_border_group=None, region_id=None, access_site=None, status=None, created_at=None, updated_at=None):
|
|
40
|
+
r"""ListSupportInstancesSupportRegions
|
|
41
|
+
|
|
42
|
+
The model defined in huaweicloud sdk
|
|
43
|
+
|
|
44
|
+
:param id: 域弹性公网IP支持绑定的Region限制的ID
|
|
45
|
+
:type id: str
|
|
46
|
+
:param instance_type: 支持绑定的实例类型
|
|
47
|
+
:type instance_type: str
|
|
48
|
+
:param public_border_group: - 功能说明:表示中心站点资源或者边缘站点资源 - 取值范围:center、边缘站点名称
|
|
49
|
+
:type public_border_group: str
|
|
50
|
+
:param region_id: region_id
|
|
51
|
+
:type region_id: str
|
|
52
|
+
:param access_site: access_site,后端实例所在的站点信息
|
|
53
|
+
:type access_site: str
|
|
54
|
+
:param status: 状态
|
|
55
|
+
:type status: 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._instance_type = None
|
|
66
|
+
self._public_border_group = None
|
|
67
|
+
self._region_id = None
|
|
68
|
+
self._access_site = None
|
|
69
|
+
self._status = 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 instance_type is not None:
|
|
77
|
+
self.instance_type = instance_type
|
|
78
|
+
if public_border_group is not None:
|
|
79
|
+
self.public_border_group = public_border_group
|
|
80
|
+
if region_id is not None:
|
|
81
|
+
self.region_id = region_id
|
|
82
|
+
if access_site is not None:
|
|
83
|
+
self.access_site = access_site
|
|
84
|
+
if status is not None:
|
|
85
|
+
self.status = status
|
|
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 ListSupportInstancesSupportRegions.
|
|
94
|
+
|
|
95
|
+
域弹性公网IP支持绑定的Region限制的ID
|
|
96
|
+
|
|
97
|
+
:return: The id of this ListSupportInstancesSupportRegions.
|
|
98
|
+
:rtype: str
|
|
99
|
+
"""
|
|
100
|
+
return self._id
|
|
101
|
+
|
|
102
|
+
@id.setter
|
|
103
|
+
def id(self, id):
|
|
104
|
+
r"""Sets the id of this ListSupportInstancesSupportRegions.
|
|
105
|
+
|
|
106
|
+
域弹性公网IP支持绑定的Region限制的ID
|
|
107
|
+
|
|
108
|
+
:param id: The id of this ListSupportInstancesSupportRegions.
|
|
109
|
+
:type id: str
|
|
110
|
+
"""
|
|
111
|
+
self._id = id
|
|
112
|
+
|
|
113
|
+
@property
|
|
114
|
+
def instance_type(self):
|
|
115
|
+
r"""Gets the instance_type of this ListSupportInstancesSupportRegions.
|
|
116
|
+
|
|
117
|
+
支持绑定的实例类型
|
|
118
|
+
|
|
119
|
+
:return: The instance_type of this ListSupportInstancesSupportRegions.
|
|
120
|
+
:rtype: str
|
|
121
|
+
"""
|
|
122
|
+
return self._instance_type
|
|
123
|
+
|
|
124
|
+
@instance_type.setter
|
|
125
|
+
def instance_type(self, instance_type):
|
|
126
|
+
r"""Sets the instance_type of this ListSupportInstancesSupportRegions.
|
|
127
|
+
|
|
128
|
+
支持绑定的实例类型
|
|
129
|
+
|
|
130
|
+
:param instance_type: The instance_type of this ListSupportInstancesSupportRegions.
|
|
131
|
+
:type instance_type: str
|
|
132
|
+
"""
|
|
133
|
+
self._instance_type = instance_type
|
|
134
|
+
|
|
135
|
+
@property
|
|
136
|
+
def public_border_group(self):
|
|
137
|
+
r"""Gets the public_border_group of this ListSupportInstancesSupportRegions.
|
|
138
|
+
|
|
139
|
+
- 功能说明:表示中心站点资源或者边缘站点资源 - 取值范围:center、边缘站点名称
|
|
140
|
+
|
|
141
|
+
:return: The public_border_group of this ListSupportInstancesSupportRegions.
|
|
142
|
+
:rtype: str
|
|
143
|
+
"""
|
|
144
|
+
return self._public_border_group
|
|
145
|
+
|
|
146
|
+
@public_border_group.setter
|
|
147
|
+
def public_border_group(self, public_border_group):
|
|
148
|
+
r"""Sets the public_border_group of this ListSupportInstancesSupportRegions.
|
|
149
|
+
|
|
150
|
+
- 功能说明:表示中心站点资源或者边缘站点资源 - 取值范围:center、边缘站点名称
|
|
151
|
+
|
|
152
|
+
:param public_border_group: The public_border_group of this ListSupportInstancesSupportRegions.
|
|
153
|
+
:type public_border_group: str
|
|
154
|
+
"""
|
|
155
|
+
self._public_border_group = public_border_group
|
|
156
|
+
|
|
157
|
+
@property
|
|
158
|
+
def region_id(self):
|
|
159
|
+
r"""Gets the region_id of this ListSupportInstancesSupportRegions.
|
|
160
|
+
|
|
161
|
+
region_id
|
|
162
|
+
|
|
163
|
+
:return: The region_id of this ListSupportInstancesSupportRegions.
|
|
164
|
+
:rtype: str
|
|
165
|
+
"""
|
|
166
|
+
return self._region_id
|
|
167
|
+
|
|
168
|
+
@region_id.setter
|
|
169
|
+
def region_id(self, region_id):
|
|
170
|
+
r"""Sets the region_id of this ListSupportInstancesSupportRegions.
|
|
171
|
+
|
|
172
|
+
region_id
|
|
173
|
+
|
|
174
|
+
:param region_id: The region_id of this ListSupportInstancesSupportRegions.
|
|
175
|
+
:type region_id: str
|
|
176
|
+
"""
|
|
177
|
+
self._region_id = region_id
|
|
178
|
+
|
|
179
|
+
@property
|
|
180
|
+
def access_site(self):
|
|
181
|
+
r"""Gets the access_site of this ListSupportInstancesSupportRegions.
|
|
182
|
+
|
|
183
|
+
access_site,后端实例所在的站点信息
|
|
184
|
+
|
|
185
|
+
:return: The access_site of this ListSupportInstancesSupportRegions.
|
|
186
|
+
:rtype: str
|
|
187
|
+
"""
|
|
188
|
+
return self._access_site
|
|
189
|
+
|
|
190
|
+
@access_site.setter
|
|
191
|
+
def access_site(self, access_site):
|
|
192
|
+
r"""Sets the access_site of this ListSupportInstancesSupportRegions.
|
|
193
|
+
|
|
194
|
+
access_site,后端实例所在的站点信息
|
|
195
|
+
|
|
196
|
+
:param access_site: The access_site of this ListSupportInstancesSupportRegions.
|
|
197
|
+
:type access_site: str
|
|
198
|
+
"""
|
|
199
|
+
self._access_site = access_site
|
|
200
|
+
|
|
201
|
+
@property
|
|
202
|
+
def status(self):
|
|
203
|
+
r"""Gets the status of this ListSupportInstancesSupportRegions.
|
|
204
|
+
|
|
205
|
+
状态
|
|
206
|
+
|
|
207
|
+
:return: The status of this ListSupportInstancesSupportRegions.
|
|
208
|
+
:rtype: str
|
|
209
|
+
"""
|
|
210
|
+
return self._status
|
|
211
|
+
|
|
212
|
+
@status.setter
|
|
213
|
+
def status(self, status):
|
|
214
|
+
r"""Sets the status of this ListSupportInstancesSupportRegions.
|
|
215
|
+
|
|
216
|
+
状态
|
|
217
|
+
|
|
218
|
+
:param status: The status of this ListSupportInstancesSupportRegions.
|
|
219
|
+
:type status: str
|
|
220
|
+
"""
|
|
221
|
+
self._status = status
|
|
222
|
+
|
|
223
|
+
@property
|
|
224
|
+
def created_at(self):
|
|
225
|
+
r"""Gets the created_at of this ListSupportInstancesSupportRegions.
|
|
226
|
+
|
|
227
|
+
创建时间
|
|
228
|
+
|
|
229
|
+
:return: The created_at of this ListSupportInstancesSupportRegions.
|
|
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 ListSupportInstancesSupportRegions.
|
|
237
|
+
|
|
238
|
+
创建时间
|
|
239
|
+
|
|
240
|
+
:param created_at: The created_at of this ListSupportInstancesSupportRegions.
|
|
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 ListSupportInstancesSupportRegions.
|
|
248
|
+
|
|
249
|
+
更新时间
|
|
250
|
+
|
|
251
|
+
:return: The updated_at of this ListSupportInstancesSupportRegions.
|
|
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 ListSupportInstancesSupportRegions.
|
|
259
|
+
|
|
260
|
+
更新时间
|
|
261
|
+
|
|
262
|
+
:param updated_at: The updated_at of this ListSupportInstancesSupportRegions.
|
|
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, ListSupportInstancesSupportRegions):
|
|
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,224 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class ListSupportMasks:
|
|
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
|
+
'ip_version': 'int',
|
|
20
|
+
'mask': 'int',
|
|
21
|
+
'created_at': 'datetime',
|
|
22
|
+
'updated_at': 'datetime'
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
attribute_map = {
|
|
26
|
+
'id': 'id',
|
|
27
|
+
'ip_version': 'ip_version',
|
|
28
|
+
'mask': 'mask',
|
|
29
|
+
'created_at': 'created_at',
|
|
30
|
+
'updated_at': 'updated_at'
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
def __init__(self, id=None, ip_version=None, mask=None, created_at=None, updated_at=None):
|
|
34
|
+
r"""ListSupportMasks
|
|
35
|
+
|
|
36
|
+
The model defined in huaweicloud sdk
|
|
37
|
+
|
|
38
|
+
:param id: 全域弹性公网IP段支持的掩码的ID
|
|
39
|
+
:type id: str
|
|
40
|
+
:param ip_version: - 功能说明:全域弹性公网IP的版本 - 取值范围:4、6
|
|
41
|
+
:type ip_version: int
|
|
42
|
+
:param mask: 掩码长度
|
|
43
|
+
:type mask: int
|
|
44
|
+
:param created_at: 创建时间
|
|
45
|
+
:type created_at: datetime
|
|
46
|
+
:param updated_at: 更新时间
|
|
47
|
+
:type updated_at: datetime
|
|
48
|
+
"""
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
self._id = None
|
|
53
|
+
self._ip_version = None
|
|
54
|
+
self._mask = None
|
|
55
|
+
self._created_at = None
|
|
56
|
+
self._updated_at = None
|
|
57
|
+
self.discriminator = None
|
|
58
|
+
|
|
59
|
+
if id is not None:
|
|
60
|
+
self.id = id
|
|
61
|
+
if ip_version is not None:
|
|
62
|
+
self.ip_version = ip_version
|
|
63
|
+
if mask is not None:
|
|
64
|
+
self.mask = mask
|
|
65
|
+
if created_at is not None:
|
|
66
|
+
self.created_at = created_at
|
|
67
|
+
if updated_at is not None:
|
|
68
|
+
self.updated_at = updated_at
|
|
69
|
+
|
|
70
|
+
@property
|
|
71
|
+
def id(self):
|
|
72
|
+
r"""Gets the id of this ListSupportMasks.
|
|
73
|
+
|
|
74
|
+
全域弹性公网IP段支持的掩码的ID
|
|
75
|
+
|
|
76
|
+
:return: The id of this ListSupportMasks.
|
|
77
|
+
:rtype: str
|
|
78
|
+
"""
|
|
79
|
+
return self._id
|
|
80
|
+
|
|
81
|
+
@id.setter
|
|
82
|
+
def id(self, id):
|
|
83
|
+
r"""Sets the id of this ListSupportMasks.
|
|
84
|
+
|
|
85
|
+
全域弹性公网IP段支持的掩码的ID
|
|
86
|
+
|
|
87
|
+
:param id: The id of this ListSupportMasks.
|
|
88
|
+
:type id: str
|
|
89
|
+
"""
|
|
90
|
+
self._id = id
|
|
91
|
+
|
|
92
|
+
@property
|
|
93
|
+
def ip_version(self):
|
|
94
|
+
r"""Gets the ip_version of this ListSupportMasks.
|
|
95
|
+
|
|
96
|
+
- 功能说明:全域弹性公网IP的版本 - 取值范围:4、6
|
|
97
|
+
|
|
98
|
+
:return: The ip_version of this ListSupportMasks.
|
|
99
|
+
:rtype: int
|
|
100
|
+
"""
|
|
101
|
+
return self._ip_version
|
|
102
|
+
|
|
103
|
+
@ip_version.setter
|
|
104
|
+
def ip_version(self, ip_version):
|
|
105
|
+
r"""Sets the ip_version of this ListSupportMasks.
|
|
106
|
+
|
|
107
|
+
- 功能说明:全域弹性公网IP的版本 - 取值范围:4、6
|
|
108
|
+
|
|
109
|
+
:param ip_version: The ip_version of this ListSupportMasks.
|
|
110
|
+
:type ip_version: int
|
|
111
|
+
"""
|
|
112
|
+
self._ip_version = ip_version
|
|
113
|
+
|
|
114
|
+
@property
|
|
115
|
+
def mask(self):
|
|
116
|
+
r"""Gets the mask of this ListSupportMasks.
|
|
117
|
+
|
|
118
|
+
掩码长度
|
|
119
|
+
|
|
120
|
+
:return: The mask of this ListSupportMasks.
|
|
121
|
+
:rtype: int
|
|
122
|
+
"""
|
|
123
|
+
return self._mask
|
|
124
|
+
|
|
125
|
+
@mask.setter
|
|
126
|
+
def mask(self, mask):
|
|
127
|
+
r"""Sets the mask of this ListSupportMasks.
|
|
128
|
+
|
|
129
|
+
掩码长度
|
|
130
|
+
|
|
131
|
+
:param mask: The mask of this ListSupportMasks.
|
|
132
|
+
:type mask: int
|
|
133
|
+
"""
|
|
134
|
+
self._mask = mask
|
|
135
|
+
|
|
136
|
+
@property
|
|
137
|
+
def created_at(self):
|
|
138
|
+
r"""Gets the created_at of this ListSupportMasks.
|
|
139
|
+
|
|
140
|
+
创建时间
|
|
141
|
+
|
|
142
|
+
:return: The created_at of this ListSupportMasks.
|
|
143
|
+
:rtype: datetime
|
|
144
|
+
"""
|
|
145
|
+
return self._created_at
|
|
146
|
+
|
|
147
|
+
@created_at.setter
|
|
148
|
+
def created_at(self, created_at):
|
|
149
|
+
r"""Sets the created_at of this ListSupportMasks.
|
|
150
|
+
|
|
151
|
+
创建时间
|
|
152
|
+
|
|
153
|
+
:param created_at: The created_at of this ListSupportMasks.
|
|
154
|
+
:type created_at: datetime
|
|
155
|
+
"""
|
|
156
|
+
self._created_at = created_at
|
|
157
|
+
|
|
158
|
+
@property
|
|
159
|
+
def updated_at(self):
|
|
160
|
+
r"""Gets the updated_at of this ListSupportMasks.
|
|
161
|
+
|
|
162
|
+
更新时间
|
|
163
|
+
|
|
164
|
+
:return: The updated_at of this ListSupportMasks.
|
|
165
|
+
:rtype: datetime
|
|
166
|
+
"""
|
|
167
|
+
return self._updated_at
|
|
168
|
+
|
|
169
|
+
@updated_at.setter
|
|
170
|
+
def updated_at(self, updated_at):
|
|
171
|
+
r"""Sets the updated_at of this ListSupportMasks.
|
|
172
|
+
|
|
173
|
+
更新时间
|
|
174
|
+
|
|
175
|
+
:param updated_at: The updated_at of this ListSupportMasks.
|
|
176
|
+
:type updated_at: datetime
|
|
177
|
+
"""
|
|
178
|
+
self._updated_at = updated_at
|
|
179
|
+
|
|
180
|
+
def to_dict(self):
|
|
181
|
+
result = {}
|
|
182
|
+
|
|
183
|
+
for attr, _ in self.openapi_types.items():
|
|
184
|
+
value = getattr(self, attr)
|
|
185
|
+
if isinstance(value, list):
|
|
186
|
+
result[attr] = list(map(
|
|
187
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
188
|
+
value
|
|
189
|
+
))
|
|
190
|
+
elif hasattr(value, "to_dict"):
|
|
191
|
+
result[attr] = value.to_dict()
|
|
192
|
+
elif isinstance(value, dict):
|
|
193
|
+
result[attr] = dict(map(
|
|
194
|
+
lambda item: (item[0], item[1].to_dict())
|
|
195
|
+
if hasattr(item[1], "to_dict") else item,
|
|
196
|
+
value.items()
|
|
197
|
+
))
|
|
198
|
+
else:
|
|
199
|
+
if attr in self.sensitive_list:
|
|
200
|
+
result[attr] = "****"
|
|
201
|
+
else:
|
|
202
|
+
result[attr] = value
|
|
203
|
+
|
|
204
|
+
return result
|
|
205
|
+
|
|
206
|
+
def to_str(self):
|
|
207
|
+
"""Returns the string representation of the model"""
|
|
208
|
+
import simplejson as json
|
|
209
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
210
|
+
|
|
211
|
+
def __repr__(self):
|
|
212
|
+
"""For `print`"""
|
|
213
|
+
return self.to_str()
|
|
214
|
+
|
|
215
|
+
def __eq__(self, other):
|
|
216
|
+
"""Returns true if both objects are equal"""
|
|
217
|
+
if not isinstance(other, ListSupportMasks):
|
|
218
|
+
return False
|
|
219
|
+
|
|
220
|
+
return self.__dict__ == other.__dict__
|
|
221
|
+
|
|
222
|
+
def __ne__(self, other):
|
|
223
|
+
"""Returns true if both objects are not equal"""
|
|
224
|
+
return not self == other
|