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,128 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class ListTenantGeipSupportInstancesRequest:
|
|
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
|
+
'access_site': 'str',
|
|
19
|
+
'fields': 'list[str]'
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
attribute_map = {
|
|
23
|
+
'access_site': 'access_site',
|
|
24
|
+
'fields': 'fields'
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
def __init__(self, access_site=None, fields=None):
|
|
28
|
+
r"""ListTenantGeipSupportInstancesRequest
|
|
29
|
+
|
|
30
|
+
The model defined in huaweicloud sdk
|
|
31
|
+
|
|
32
|
+
:param access_site:
|
|
33
|
+
:type access_site: str
|
|
34
|
+
:param fields:
|
|
35
|
+
:type fields: list[str]
|
|
36
|
+
"""
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
self._access_site = None
|
|
41
|
+
self._fields = None
|
|
42
|
+
self.discriminator = None
|
|
43
|
+
|
|
44
|
+
self.access_site = access_site
|
|
45
|
+
if fields is not None:
|
|
46
|
+
self.fields = fields
|
|
47
|
+
|
|
48
|
+
@property
|
|
49
|
+
def access_site(self):
|
|
50
|
+
r"""Gets the access_site of this ListTenantGeipSupportInstancesRequest.
|
|
51
|
+
|
|
52
|
+
:return: The access_site of this ListTenantGeipSupportInstancesRequest.
|
|
53
|
+
:rtype: str
|
|
54
|
+
"""
|
|
55
|
+
return self._access_site
|
|
56
|
+
|
|
57
|
+
@access_site.setter
|
|
58
|
+
def access_site(self, access_site):
|
|
59
|
+
r"""Sets the access_site of this ListTenantGeipSupportInstancesRequest.
|
|
60
|
+
|
|
61
|
+
:param access_site: The access_site of this ListTenantGeipSupportInstancesRequest.
|
|
62
|
+
:type access_site: str
|
|
63
|
+
"""
|
|
64
|
+
self._access_site = access_site
|
|
65
|
+
|
|
66
|
+
@property
|
|
67
|
+
def fields(self):
|
|
68
|
+
r"""Gets the fields of this ListTenantGeipSupportInstancesRequest.
|
|
69
|
+
|
|
70
|
+
:return: The fields of this ListTenantGeipSupportInstancesRequest.
|
|
71
|
+
:rtype: list[str]
|
|
72
|
+
"""
|
|
73
|
+
return self._fields
|
|
74
|
+
|
|
75
|
+
@fields.setter
|
|
76
|
+
def fields(self, fields):
|
|
77
|
+
r"""Sets the fields of this ListTenantGeipSupportInstancesRequest.
|
|
78
|
+
|
|
79
|
+
:param fields: The fields of this ListTenantGeipSupportInstancesRequest.
|
|
80
|
+
:type fields: list[str]
|
|
81
|
+
"""
|
|
82
|
+
self._fields = fields
|
|
83
|
+
|
|
84
|
+
def to_dict(self):
|
|
85
|
+
result = {}
|
|
86
|
+
|
|
87
|
+
for attr, _ in self.openapi_types.items():
|
|
88
|
+
value = getattr(self, attr)
|
|
89
|
+
if isinstance(value, list):
|
|
90
|
+
result[attr] = list(map(
|
|
91
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
92
|
+
value
|
|
93
|
+
))
|
|
94
|
+
elif hasattr(value, "to_dict"):
|
|
95
|
+
result[attr] = value.to_dict()
|
|
96
|
+
elif isinstance(value, dict):
|
|
97
|
+
result[attr] = dict(map(
|
|
98
|
+
lambda item: (item[0], item[1].to_dict())
|
|
99
|
+
if hasattr(item[1], "to_dict") else item,
|
|
100
|
+
value.items()
|
|
101
|
+
))
|
|
102
|
+
else:
|
|
103
|
+
if attr in self.sensitive_list:
|
|
104
|
+
result[attr] = "****"
|
|
105
|
+
else:
|
|
106
|
+
result[attr] = value
|
|
107
|
+
|
|
108
|
+
return result
|
|
109
|
+
|
|
110
|
+
def to_str(self):
|
|
111
|
+
"""Returns the string representation of the model"""
|
|
112
|
+
import simplejson as json
|
|
113
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
114
|
+
|
|
115
|
+
def __repr__(self):
|
|
116
|
+
"""For `print`"""
|
|
117
|
+
return self.to_str()
|
|
118
|
+
|
|
119
|
+
def __eq__(self, other):
|
|
120
|
+
"""Returns true if both objects are equal"""
|
|
121
|
+
if not isinstance(other, ListTenantGeipSupportInstancesRequest):
|
|
122
|
+
return False
|
|
123
|
+
|
|
124
|
+
return self.__dict__ == other.__dict__
|
|
125
|
+
|
|
126
|
+
def __ne__(self, other):
|
|
127
|
+
"""Returns true if both objects are not equal"""
|
|
128
|
+
return not self == other
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.sdk_response import SdkResponse
|
|
4
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
class ListTenantGeipSupportInstancesResponse(SdkResponse):
|
|
8
|
+
|
|
9
|
+
"""
|
|
10
|
+
Attributes:
|
|
11
|
+
openapi_types (dict): The key is attribute name
|
|
12
|
+
and the value is attribute type.
|
|
13
|
+
attribute_map (dict): The key is attribute name
|
|
14
|
+
and the value is json key in definition.
|
|
15
|
+
"""
|
|
16
|
+
sensitive_list = []
|
|
17
|
+
|
|
18
|
+
openapi_types = {
|
|
19
|
+
'request_id': 'str',
|
|
20
|
+
'support_regions': 'list[ListSupportInstancesSupportRegions]',
|
|
21
|
+
'x_request_id': 'str'
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
attribute_map = {
|
|
25
|
+
'request_id': 'request_id',
|
|
26
|
+
'support_regions': 'support_regions',
|
|
27
|
+
'x_request_id': 'X-Request-Id'
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
def __init__(self, request_id=None, support_regions=None, x_request_id=None):
|
|
31
|
+
r"""ListTenantGeipSupportInstancesResponse
|
|
32
|
+
|
|
33
|
+
The model defined in huaweicloud sdk
|
|
34
|
+
|
|
35
|
+
:param request_id: 本次请求的编号
|
|
36
|
+
:type request_id: str
|
|
37
|
+
:param support_regions: 支持的Region对象
|
|
38
|
+
:type support_regions: list[:class:`huaweicloudsdkgeip.v3.ListSupportInstancesSupportRegions`]
|
|
39
|
+
:param x_request_id:
|
|
40
|
+
:type x_request_id: str
|
|
41
|
+
"""
|
|
42
|
+
|
|
43
|
+
super().__init__()
|
|
44
|
+
|
|
45
|
+
self._request_id = None
|
|
46
|
+
self._support_regions = None
|
|
47
|
+
self._x_request_id = None
|
|
48
|
+
self.discriminator = None
|
|
49
|
+
|
|
50
|
+
if request_id is not None:
|
|
51
|
+
self.request_id = request_id
|
|
52
|
+
if support_regions is not None:
|
|
53
|
+
self.support_regions = support_regions
|
|
54
|
+
if x_request_id is not None:
|
|
55
|
+
self.x_request_id = x_request_id
|
|
56
|
+
|
|
57
|
+
@property
|
|
58
|
+
def request_id(self):
|
|
59
|
+
r"""Gets the request_id of this ListTenantGeipSupportInstancesResponse.
|
|
60
|
+
|
|
61
|
+
本次请求的编号
|
|
62
|
+
|
|
63
|
+
:return: The request_id of this ListTenantGeipSupportInstancesResponse.
|
|
64
|
+
:rtype: str
|
|
65
|
+
"""
|
|
66
|
+
return self._request_id
|
|
67
|
+
|
|
68
|
+
@request_id.setter
|
|
69
|
+
def request_id(self, request_id):
|
|
70
|
+
r"""Sets the request_id of this ListTenantGeipSupportInstancesResponse.
|
|
71
|
+
|
|
72
|
+
本次请求的编号
|
|
73
|
+
|
|
74
|
+
:param request_id: The request_id of this ListTenantGeipSupportInstancesResponse.
|
|
75
|
+
:type request_id: str
|
|
76
|
+
"""
|
|
77
|
+
self._request_id = request_id
|
|
78
|
+
|
|
79
|
+
@property
|
|
80
|
+
def support_regions(self):
|
|
81
|
+
r"""Gets the support_regions of this ListTenantGeipSupportInstancesResponse.
|
|
82
|
+
|
|
83
|
+
支持的Region对象
|
|
84
|
+
|
|
85
|
+
:return: The support_regions of this ListTenantGeipSupportInstancesResponse.
|
|
86
|
+
:rtype: list[:class:`huaweicloudsdkgeip.v3.ListSupportInstancesSupportRegions`]
|
|
87
|
+
"""
|
|
88
|
+
return self._support_regions
|
|
89
|
+
|
|
90
|
+
@support_regions.setter
|
|
91
|
+
def support_regions(self, support_regions):
|
|
92
|
+
r"""Sets the support_regions of this ListTenantGeipSupportInstancesResponse.
|
|
93
|
+
|
|
94
|
+
支持的Region对象
|
|
95
|
+
|
|
96
|
+
:param support_regions: The support_regions of this ListTenantGeipSupportInstancesResponse.
|
|
97
|
+
:type support_regions: list[:class:`huaweicloudsdkgeip.v3.ListSupportInstancesSupportRegions`]
|
|
98
|
+
"""
|
|
99
|
+
self._support_regions = support_regions
|
|
100
|
+
|
|
101
|
+
@property
|
|
102
|
+
def x_request_id(self):
|
|
103
|
+
r"""Gets the x_request_id of this ListTenantGeipSupportInstancesResponse.
|
|
104
|
+
|
|
105
|
+
:return: The x_request_id of this ListTenantGeipSupportInstancesResponse.
|
|
106
|
+
:rtype: str
|
|
107
|
+
"""
|
|
108
|
+
return self._x_request_id
|
|
109
|
+
|
|
110
|
+
@x_request_id.setter
|
|
111
|
+
def x_request_id(self, x_request_id):
|
|
112
|
+
r"""Sets the x_request_id of this ListTenantGeipSupportInstancesResponse.
|
|
113
|
+
|
|
114
|
+
:param x_request_id: The x_request_id of this ListTenantGeipSupportInstancesResponse.
|
|
115
|
+
:type x_request_id: str
|
|
116
|
+
"""
|
|
117
|
+
self._x_request_id = x_request_id
|
|
118
|
+
|
|
119
|
+
def to_dict(self):
|
|
120
|
+
import warnings
|
|
121
|
+
warnings.warn("ListTenantGeipSupportInstancesResponse.to_dict() is deprecated and no longer maintained, "
|
|
122
|
+
"use to_json_object() to get the response content.", DeprecationWarning)
|
|
123
|
+
result = {}
|
|
124
|
+
|
|
125
|
+
for attr, _ in self.openapi_types.items():
|
|
126
|
+
value = getattr(self, attr)
|
|
127
|
+
if isinstance(value, list):
|
|
128
|
+
result[attr] = list(map(
|
|
129
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
130
|
+
value
|
|
131
|
+
))
|
|
132
|
+
elif hasattr(value, "to_dict"):
|
|
133
|
+
result[attr] = value.to_dict()
|
|
134
|
+
elif isinstance(value, dict):
|
|
135
|
+
result[attr] = dict(map(
|
|
136
|
+
lambda item: (item[0], item[1].to_dict())
|
|
137
|
+
if hasattr(item[1], "to_dict") else item,
|
|
138
|
+
value.items()
|
|
139
|
+
))
|
|
140
|
+
else:
|
|
141
|
+
if attr in self.sensitive_list:
|
|
142
|
+
result[attr] = "****"
|
|
143
|
+
else:
|
|
144
|
+
result[attr] = value
|
|
145
|
+
|
|
146
|
+
return result
|
|
147
|
+
|
|
148
|
+
def to_str(self):
|
|
149
|
+
"""Returns the string representation of the model"""
|
|
150
|
+
import simplejson as json
|
|
151
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
152
|
+
|
|
153
|
+
def __repr__(self):
|
|
154
|
+
"""For `print`"""
|
|
155
|
+
return self.to_str()
|
|
156
|
+
|
|
157
|
+
def __eq__(self, other):
|
|
158
|
+
"""Returns true if both objects are equal"""
|
|
159
|
+
if not isinstance(other, ListTenantGeipSupportInstancesResponse):
|
|
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,369 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class LockInfo:
|
|
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
|
+
'resource_type': 'str',
|
|
20
|
+
'resource_id': 'str',
|
|
21
|
+
'scene': 'str',
|
|
22
|
+
'source_type': 'str',
|
|
23
|
+
'source_id': 'str',
|
|
24
|
+
'check_url': 'str',
|
|
25
|
+
'action': 'str',
|
|
26
|
+
'created_at': 'datetime',
|
|
27
|
+
'updated_at': 'datetime'
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
attribute_map = {
|
|
31
|
+
'id': 'id',
|
|
32
|
+
'resource_type': 'resource_type',
|
|
33
|
+
'resource_id': 'resource_id',
|
|
34
|
+
'scene': 'scene',
|
|
35
|
+
'source_type': 'source_type',
|
|
36
|
+
'source_id': 'source_id',
|
|
37
|
+
'check_url': 'check_url',
|
|
38
|
+
'action': 'action',
|
|
39
|
+
'created_at': 'created_at',
|
|
40
|
+
'updated_at': 'updated_at'
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
def __init__(self, id=None, resource_type=None, resource_id=None, scene=None, source_type=None, source_id=None, check_url=None, action=None, created_at=None, updated_at=None):
|
|
44
|
+
r"""LockInfo
|
|
45
|
+
|
|
46
|
+
The model defined in huaweicloud sdk
|
|
47
|
+
|
|
48
|
+
:param id: 锁id
|
|
49
|
+
:type id: str
|
|
50
|
+
:param resource_type: 资源类型
|
|
51
|
+
:type resource_type: str
|
|
52
|
+
:param resource_id: 资源id
|
|
53
|
+
:type resource_id: str
|
|
54
|
+
:param scene: 场景类型
|
|
55
|
+
:type scene: str
|
|
56
|
+
:param source_type: 源类型
|
|
57
|
+
:type source_type: str
|
|
58
|
+
:param source_id: 源id
|
|
59
|
+
:type source_id: str
|
|
60
|
+
:param check_url: check地址
|
|
61
|
+
:type check_url: str
|
|
62
|
+
:param action: 动作类型
|
|
63
|
+
:type action: str
|
|
64
|
+
:param created_at: 创建时间
|
|
65
|
+
:type created_at: datetime
|
|
66
|
+
:param updated_at: 更新时间
|
|
67
|
+
:type updated_at: datetime
|
|
68
|
+
"""
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
self._id = None
|
|
73
|
+
self._resource_type = None
|
|
74
|
+
self._resource_id = None
|
|
75
|
+
self._scene = None
|
|
76
|
+
self._source_type = None
|
|
77
|
+
self._source_id = None
|
|
78
|
+
self._check_url = None
|
|
79
|
+
self._action = None
|
|
80
|
+
self._created_at = None
|
|
81
|
+
self._updated_at = None
|
|
82
|
+
self.discriminator = None
|
|
83
|
+
|
|
84
|
+
if id is not None:
|
|
85
|
+
self.id = id
|
|
86
|
+
if resource_type is not None:
|
|
87
|
+
self.resource_type = resource_type
|
|
88
|
+
if resource_id is not None:
|
|
89
|
+
self.resource_id = resource_id
|
|
90
|
+
if scene is not None:
|
|
91
|
+
self.scene = scene
|
|
92
|
+
if source_type is not None:
|
|
93
|
+
self.source_type = source_type
|
|
94
|
+
if source_id is not None:
|
|
95
|
+
self.source_id = source_id
|
|
96
|
+
if check_url is not None:
|
|
97
|
+
self.check_url = check_url
|
|
98
|
+
if action is not None:
|
|
99
|
+
self.action = action
|
|
100
|
+
if created_at is not None:
|
|
101
|
+
self.created_at = created_at
|
|
102
|
+
if updated_at is not None:
|
|
103
|
+
self.updated_at = updated_at
|
|
104
|
+
|
|
105
|
+
@property
|
|
106
|
+
def id(self):
|
|
107
|
+
r"""Gets the id of this LockInfo.
|
|
108
|
+
|
|
109
|
+
锁id
|
|
110
|
+
|
|
111
|
+
:return: The id of this LockInfo.
|
|
112
|
+
:rtype: str
|
|
113
|
+
"""
|
|
114
|
+
return self._id
|
|
115
|
+
|
|
116
|
+
@id.setter
|
|
117
|
+
def id(self, id):
|
|
118
|
+
r"""Sets the id of this LockInfo.
|
|
119
|
+
|
|
120
|
+
锁id
|
|
121
|
+
|
|
122
|
+
:param id: The id of this LockInfo.
|
|
123
|
+
:type id: str
|
|
124
|
+
"""
|
|
125
|
+
self._id = id
|
|
126
|
+
|
|
127
|
+
@property
|
|
128
|
+
def resource_type(self):
|
|
129
|
+
r"""Gets the resource_type of this LockInfo.
|
|
130
|
+
|
|
131
|
+
资源类型
|
|
132
|
+
|
|
133
|
+
:return: The resource_type of this LockInfo.
|
|
134
|
+
:rtype: str
|
|
135
|
+
"""
|
|
136
|
+
return self._resource_type
|
|
137
|
+
|
|
138
|
+
@resource_type.setter
|
|
139
|
+
def resource_type(self, resource_type):
|
|
140
|
+
r"""Sets the resource_type of this LockInfo.
|
|
141
|
+
|
|
142
|
+
资源类型
|
|
143
|
+
|
|
144
|
+
:param resource_type: The resource_type of this LockInfo.
|
|
145
|
+
:type resource_type: str
|
|
146
|
+
"""
|
|
147
|
+
self._resource_type = resource_type
|
|
148
|
+
|
|
149
|
+
@property
|
|
150
|
+
def resource_id(self):
|
|
151
|
+
r"""Gets the resource_id of this LockInfo.
|
|
152
|
+
|
|
153
|
+
资源id
|
|
154
|
+
|
|
155
|
+
:return: The resource_id of this LockInfo.
|
|
156
|
+
:rtype: str
|
|
157
|
+
"""
|
|
158
|
+
return self._resource_id
|
|
159
|
+
|
|
160
|
+
@resource_id.setter
|
|
161
|
+
def resource_id(self, resource_id):
|
|
162
|
+
r"""Sets the resource_id of this LockInfo.
|
|
163
|
+
|
|
164
|
+
资源id
|
|
165
|
+
|
|
166
|
+
:param resource_id: The resource_id of this LockInfo.
|
|
167
|
+
:type resource_id: str
|
|
168
|
+
"""
|
|
169
|
+
self._resource_id = resource_id
|
|
170
|
+
|
|
171
|
+
@property
|
|
172
|
+
def scene(self):
|
|
173
|
+
r"""Gets the scene of this LockInfo.
|
|
174
|
+
|
|
175
|
+
场景类型
|
|
176
|
+
|
|
177
|
+
:return: The scene of this LockInfo.
|
|
178
|
+
:rtype: str
|
|
179
|
+
"""
|
|
180
|
+
return self._scene
|
|
181
|
+
|
|
182
|
+
@scene.setter
|
|
183
|
+
def scene(self, scene):
|
|
184
|
+
r"""Sets the scene of this LockInfo.
|
|
185
|
+
|
|
186
|
+
场景类型
|
|
187
|
+
|
|
188
|
+
:param scene: The scene of this LockInfo.
|
|
189
|
+
:type scene: str
|
|
190
|
+
"""
|
|
191
|
+
self._scene = scene
|
|
192
|
+
|
|
193
|
+
@property
|
|
194
|
+
def source_type(self):
|
|
195
|
+
r"""Gets the source_type of this LockInfo.
|
|
196
|
+
|
|
197
|
+
源类型
|
|
198
|
+
|
|
199
|
+
:return: The source_type of this LockInfo.
|
|
200
|
+
:rtype: str
|
|
201
|
+
"""
|
|
202
|
+
return self._source_type
|
|
203
|
+
|
|
204
|
+
@source_type.setter
|
|
205
|
+
def source_type(self, source_type):
|
|
206
|
+
r"""Sets the source_type of this LockInfo.
|
|
207
|
+
|
|
208
|
+
源类型
|
|
209
|
+
|
|
210
|
+
:param source_type: The source_type of this LockInfo.
|
|
211
|
+
:type source_type: str
|
|
212
|
+
"""
|
|
213
|
+
self._source_type = source_type
|
|
214
|
+
|
|
215
|
+
@property
|
|
216
|
+
def source_id(self):
|
|
217
|
+
r"""Gets the source_id of this LockInfo.
|
|
218
|
+
|
|
219
|
+
源id
|
|
220
|
+
|
|
221
|
+
:return: The source_id of this LockInfo.
|
|
222
|
+
:rtype: str
|
|
223
|
+
"""
|
|
224
|
+
return self._source_id
|
|
225
|
+
|
|
226
|
+
@source_id.setter
|
|
227
|
+
def source_id(self, source_id):
|
|
228
|
+
r"""Sets the source_id of this LockInfo.
|
|
229
|
+
|
|
230
|
+
源id
|
|
231
|
+
|
|
232
|
+
:param source_id: The source_id of this LockInfo.
|
|
233
|
+
:type source_id: str
|
|
234
|
+
"""
|
|
235
|
+
self._source_id = source_id
|
|
236
|
+
|
|
237
|
+
@property
|
|
238
|
+
def check_url(self):
|
|
239
|
+
r"""Gets the check_url of this LockInfo.
|
|
240
|
+
|
|
241
|
+
check地址
|
|
242
|
+
|
|
243
|
+
:return: The check_url of this LockInfo.
|
|
244
|
+
:rtype: str
|
|
245
|
+
"""
|
|
246
|
+
return self._check_url
|
|
247
|
+
|
|
248
|
+
@check_url.setter
|
|
249
|
+
def check_url(self, check_url):
|
|
250
|
+
r"""Sets the check_url of this LockInfo.
|
|
251
|
+
|
|
252
|
+
check地址
|
|
253
|
+
|
|
254
|
+
:param check_url: The check_url of this LockInfo.
|
|
255
|
+
:type check_url: str
|
|
256
|
+
"""
|
|
257
|
+
self._check_url = check_url
|
|
258
|
+
|
|
259
|
+
@property
|
|
260
|
+
def action(self):
|
|
261
|
+
r"""Gets the action of this LockInfo.
|
|
262
|
+
|
|
263
|
+
动作类型
|
|
264
|
+
|
|
265
|
+
:return: The action of this LockInfo.
|
|
266
|
+
:rtype: str
|
|
267
|
+
"""
|
|
268
|
+
return self._action
|
|
269
|
+
|
|
270
|
+
@action.setter
|
|
271
|
+
def action(self, action):
|
|
272
|
+
r"""Sets the action of this LockInfo.
|
|
273
|
+
|
|
274
|
+
动作类型
|
|
275
|
+
|
|
276
|
+
:param action: The action of this LockInfo.
|
|
277
|
+
:type action: str
|
|
278
|
+
"""
|
|
279
|
+
self._action = action
|
|
280
|
+
|
|
281
|
+
@property
|
|
282
|
+
def created_at(self):
|
|
283
|
+
r"""Gets the created_at of this LockInfo.
|
|
284
|
+
|
|
285
|
+
创建时间
|
|
286
|
+
|
|
287
|
+
:return: The created_at of this LockInfo.
|
|
288
|
+
:rtype: datetime
|
|
289
|
+
"""
|
|
290
|
+
return self._created_at
|
|
291
|
+
|
|
292
|
+
@created_at.setter
|
|
293
|
+
def created_at(self, created_at):
|
|
294
|
+
r"""Sets the created_at of this LockInfo.
|
|
295
|
+
|
|
296
|
+
创建时间
|
|
297
|
+
|
|
298
|
+
:param created_at: The created_at of this LockInfo.
|
|
299
|
+
:type created_at: datetime
|
|
300
|
+
"""
|
|
301
|
+
self._created_at = created_at
|
|
302
|
+
|
|
303
|
+
@property
|
|
304
|
+
def updated_at(self):
|
|
305
|
+
r"""Gets the updated_at of this LockInfo.
|
|
306
|
+
|
|
307
|
+
更新时间
|
|
308
|
+
|
|
309
|
+
:return: The updated_at of this LockInfo.
|
|
310
|
+
:rtype: datetime
|
|
311
|
+
"""
|
|
312
|
+
return self._updated_at
|
|
313
|
+
|
|
314
|
+
@updated_at.setter
|
|
315
|
+
def updated_at(self, updated_at):
|
|
316
|
+
r"""Sets the updated_at of this LockInfo.
|
|
317
|
+
|
|
318
|
+
更新时间
|
|
319
|
+
|
|
320
|
+
:param updated_at: The updated_at of this LockInfo.
|
|
321
|
+
:type updated_at: datetime
|
|
322
|
+
"""
|
|
323
|
+
self._updated_at = updated_at
|
|
324
|
+
|
|
325
|
+
def to_dict(self):
|
|
326
|
+
result = {}
|
|
327
|
+
|
|
328
|
+
for attr, _ in self.openapi_types.items():
|
|
329
|
+
value = getattr(self, attr)
|
|
330
|
+
if isinstance(value, list):
|
|
331
|
+
result[attr] = list(map(
|
|
332
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
333
|
+
value
|
|
334
|
+
))
|
|
335
|
+
elif hasattr(value, "to_dict"):
|
|
336
|
+
result[attr] = value.to_dict()
|
|
337
|
+
elif isinstance(value, dict):
|
|
338
|
+
result[attr] = dict(map(
|
|
339
|
+
lambda item: (item[0], item[1].to_dict())
|
|
340
|
+
if hasattr(item[1], "to_dict") else item,
|
|
341
|
+
value.items()
|
|
342
|
+
))
|
|
343
|
+
else:
|
|
344
|
+
if attr in self.sensitive_list:
|
|
345
|
+
result[attr] = "****"
|
|
346
|
+
else:
|
|
347
|
+
result[attr] = value
|
|
348
|
+
|
|
349
|
+
return result
|
|
350
|
+
|
|
351
|
+
def to_str(self):
|
|
352
|
+
"""Returns the string representation of the model"""
|
|
353
|
+
import simplejson as json
|
|
354
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
355
|
+
|
|
356
|
+
def __repr__(self):
|
|
357
|
+
"""For `print`"""
|
|
358
|
+
return self.to_str()
|
|
359
|
+
|
|
360
|
+
def __eq__(self, other):
|
|
361
|
+
"""Returns true if both objects are equal"""
|
|
362
|
+
if not isinstance(other, LockInfo):
|
|
363
|
+
return False
|
|
364
|
+
|
|
365
|
+
return self.__dict__ == other.__dict__
|
|
366
|
+
|
|
367
|
+
def __ne__(self, other):
|
|
368
|
+
"""Returns true if both objects are not equal"""
|
|
369
|
+
return not self == other
|