huaweicloudsdkgeip 3.1.160__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of huaweicloudsdkgeip might be problematic. Click here for more details.
- huaweicloudsdkgeip/__init__.py +0 -0
- huaweicloudsdkgeip/v3/__init__.py +224 -0
- huaweicloudsdkgeip/v3/geip_async_client.py +4984 -0
- huaweicloudsdkgeip/v3/geip_client.py +4981 -0
- huaweicloudsdkgeip/v3/model/__init__.py +221 -0
- huaweicloudsdkgeip/v3/model/add_geip_segment_tags_request.py +135 -0
- huaweicloudsdkgeip/v3/model/add_geip_segment_tags_response.py +112 -0
- huaweicloudsdkgeip/v3/model/add_global_eip_tags_request.py +135 -0
- huaweicloudsdkgeip/v3/model/add_global_eip_tags_response.py +112 -0
- huaweicloudsdkgeip/v3/model/add_internet_bandwidth_tags_request.py +135 -0
- huaweicloudsdkgeip/v3/model/add_internet_bandwidth_tags_response.py +112 -0
- huaweicloudsdkgeip/v3/model/allowed_bandwidth_types.py +173 -0
- huaweicloudsdkgeip/v3/model/associate_geip_segment_instance_request.py +135 -0
- huaweicloudsdkgeip/v3/model/associate_geip_segment_instance_response.py +166 -0
- huaweicloudsdkgeip/v3/model/associate_instance_global_eip_request_body.py +135 -0
- huaweicloudsdkgeip/v3/model/associate_instance_global_eip_request_body_global_eip.py +136 -0
- huaweicloudsdkgeip/v3/model/associate_instance_global_eip_request_body_global_eip_associate_instance_info.py +260 -0
- huaweicloudsdkgeip/v3/model/associate_instance_global_eip_request_body_global_eip_gc_bandwidth_info.py +405 -0
- huaweicloudsdkgeip/v3/model/associate_instance_global_eip_segment_request_body.py +110 -0
- huaweicloudsdkgeip/v3/model/associate_instance_global_eip_segment_request_body_global_eip_segment.py +256 -0
- huaweicloudsdkgeip/v3/model/associate_instance_request.py +164 -0
- huaweicloudsdkgeip/v3/model/associate_instance_response.py +166 -0
- huaweicloudsdkgeip/v3/model/attach_internet_bandwidth.py +142 -0
- huaweicloudsdkgeip/v3/model/attach_internet_bandwidth_global_eip.py +741 -0
- huaweicloudsdkgeip/v3/model/attach_internet_bandwidth_global_eip_request_body.py +135 -0
- huaweicloudsdkgeip/v3/model/attach_internet_bandwidth_global_eip_request_body_global_eip.py +114 -0
- huaweicloudsdkgeip/v3/model/attach_internet_bandwidth_request.py +135 -0
- huaweicloudsdkgeip/v3/model/attach_internet_bandwidth_response.py +166 -0
- huaweicloudsdkgeip/v3/model/batch_attach_geip_segment_internet_bandwidth_request.py +111 -0
- huaweicloudsdkgeip/v3/model/batch_attach_geip_segment_internet_bandwidth_response.py +141 -0
- huaweicloudsdkgeip/v3/model/batch_attach_internet_bandwidth_request.py +111 -0
- huaweicloudsdkgeip/v3/model/batch_attach_internet_bandwidth_response.py +137 -0
- huaweicloudsdkgeip/v3/model/batch_attach_internet_bandwidths_global_eip_request_body.py +114 -0
- huaweicloudsdkgeip/v3/model/batch_attach_internet_bandwidths_global_eip_segment_request_body.py +114 -0
- huaweicloudsdkgeip/v3/model/batch_create_geip_segment_tags_request.py +135 -0
- huaweicloudsdkgeip/v3/model/batch_create_geip_segment_tags_response.py +112 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_job.py +173 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_request.py +111 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_request_body.py +135 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_request_body_global_eip.py +311 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_request_body_global_eip_internet_bandwidth_info.py +289 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_response.py +170 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_tags_request.py +135 -0
- huaweicloudsdkgeip/v3/model/batch_create_global_eip_tags_response.py +112 -0
- huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth.py +605 -0
- huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth_request.py +111 -0
- huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth_request_body.py +110 -0
- huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth_request_body_internet_bandwidth.py +402 -0
- huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth_response.py +170 -0
- huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth_tags_request.py +135 -0
- huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth_tags_response.py +112 -0
- huaweicloudsdkgeip/v3/model/batch_create_v2_request_body.py +143 -0
- huaweicloudsdkgeip/v3/model/batch_delete_geip_segment_tags_request.py +135 -0
- huaweicloudsdkgeip/v3/model/batch_delete_geip_segment_tags_response.py +112 -0
- huaweicloudsdkgeip/v3/model/batch_delete_global_eip_tags_request.py +135 -0
- huaweicloudsdkgeip/v3/model/batch_delete_global_eip_tags_response.py +112 -0
- huaweicloudsdkgeip/v3/model/batch_delete_internet_bandwidth_tags_request.py +135 -0
- huaweicloudsdkgeip/v3/model/batch_delete_internet_bandwidth_tags_response.py +112 -0
- huaweicloudsdkgeip/v3/model/batch_delete_v2_request_body.py +143 -0
- huaweicloudsdkgeip/v3/model/batch_delete_v2_request_body_tags.py +143 -0
- huaweicloudsdkgeip/v3/model/batch_detach_geip_segment_internet_bandwidth_request.py +111 -0
- huaweicloudsdkgeip/v3/model/batch_detach_geip_segment_internet_bandwidth_response.py +141 -0
- huaweicloudsdkgeip/v3/model/batch_detach_internet_bandwidth_request.py +111 -0
- huaweicloudsdkgeip/v3/model/batch_detach_internet_bandwidth_response.py +137 -0
- huaweicloudsdkgeip/v3/model/batch_detach_internet_bandwidths_global_eip_request_body.py +114 -0
- huaweicloudsdkgeip/v3/model/batch_detach_internet_bandwidths_global_eip_segment_request_body.py +114 -0
- huaweicloudsdkgeip/v3/model/batch_internet_bandwidths_global_eip_response_body.py +114 -0
- huaweicloudsdkgeip/v3/model/count_geip_segments.py +114 -0
- huaweicloudsdkgeip/v3/model/count_global_eip_segment_request.py +752 -0
- huaweicloudsdkgeip/v3/model/count_global_eip_segment_response.py +166 -0
- huaweicloudsdkgeip/v3/model/count_global_eips.py +114 -0
- huaweicloudsdkgeip/v3/model/count_global_eips_request.py +661 -0
- huaweicloudsdkgeip/v3/model/count_global_eips_response.py +166 -0
- huaweicloudsdkgeip/v3/model/count_internet_bandwidth_request.py +286 -0
- huaweicloudsdkgeip/v3/model/count_internet_bandwidth_response.py +166 -0
- huaweicloudsdkgeip/v3/model/count_internet_bandwidths.py +114 -0
- huaweicloudsdkgeip/v3/model/create_global_eip.py +142 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_request.py +111 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_request_body.py +135 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_request_body_global_eip.py +287 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_request_body_global_eip_tags.py +142 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_response.py +166 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_segment_request.py +111 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_segment_request_body.py +110 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_segment_request_body_global_eip_segment.py +311 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_segment_request_body_global_eip_segment_internet_bandwidth.py +289 -0
- huaweicloudsdkgeip/v3/model/create_global_eip_segment_response.py +166 -0
- huaweicloudsdkgeip/v3/model/create_internet_bandwidth.py +691 -0
- huaweicloudsdkgeip/v3/model/create_internet_bandwidth_request.py +111 -0
- huaweicloudsdkgeip/v3/model/create_internet_bandwidth_request_body.py +110 -0
- huaweicloudsdkgeip/v3/model/create_internet_bandwidth_request_body_internet_bandwidth.py +372 -0
- huaweicloudsdkgeip/v3/model/create_internet_bandwidth_response.py +166 -0
- huaweicloudsdkgeip/v3/model/create_tag.py +143 -0
- huaweicloudsdkgeip/v3/model/create_user_disclaimer_record.py +173 -0
- huaweicloudsdkgeip/v3/model/create_user_disclaimer_request.py +84 -0
- huaweicloudsdkgeip/v3/model/create_user_disclaimer_response.py +166 -0
- huaweicloudsdkgeip/v3/model/create_v2_tag_request_body.py +110 -0
- huaweicloudsdkgeip/v3/model/create_v2_tag_request_body_tag.py +142 -0
- huaweicloudsdkgeip/v3/model/delete_geip_segment_tag_request.py +134 -0
- huaweicloudsdkgeip/v3/model/delete_geip_segment_tag_response.py +112 -0
- huaweicloudsdkgeip/v3/model/delete_global_eip_request.py +110 -0
- huaweicloudsdkgeip/v3/model/delete_global_eip_response.py +112 -0
- huaweicloudsdkgeip/v3/model/delete_global_eip_segment_request.py +110 -0
- huaweicloudsdkgeip/v3/model/delete_global_eip_segment_response.py +112 -0
- huaweicloudsdkgeip/v3/model/delete_global_eip_tag_request.py +134 -0
- huaweicloudsdkgeip/v3/model/delete_global_eip_tag_response.py +112 -0
- huaweicloudsdkgeip/v3/model/delete_internet_bandwidth_request.py +110 -0
- huaweicloudsdkgeip/v3/model/delete_internet_bandwidth_response.py +112 -0
- huaweicloudsdkgeip/v3/model/delete_internet_bandwidth_tag_request.py +134 -0
- huaweicloudsdkgeip/v3/model/delete_internet_bandwidth_tag_response.py +112 -0
- huaweicloudsdkgeip/v3/model/delete_user_disclaimer_request.py +84 -0
- huaweicloudsdkgeip/v3/model/delete_user_disclaimer_response.py +112 -0
- huaweicloudsdkgeip/v3/model/detach_internet_bandwidth.py +114 -0
- huaweicloudsdkgeip/v3/model/detach_internet_bandwidth_global_eips.py +741 -0
- huaweicloudsdkgeip/v3/model/detach_internet_bandwidth_request.py +135 -0
- huaweicloudsdkgeip/v3/model/detach_internet_bandwidth_response.py +166 -0
- huaweicloudsdkgeip/v3/model/disassociate_geip_segment_instance_request.py +110 -0
- huaweicloudsdkgeip/v3/model/disassociate_geip_segment_instance_response.py +166 -0
- huaweicloudsdkgeip/v3/model/disassociate_instance_request.py +138 -0
- huaweicloudsdkgeip/v3/model/disassociate_instance_response.py +166 -0
- huaweicloudsdkgeip/v3/model/ext_limit_pojo.py +173 -0
- huaweicloudsdkgeip/v3/model/geip_resource.py +198 -0
- huaweicloudsdkgeip/v3/model/geip_tags.py +142 -0
- huaweicloudsdkgeip/v3/model/get_account_tags_v2.py +142 -0
- huaweicloudsdkgeip/v3/model/global_connection_bandwidth_info.py +260 -0
- huaweicloudsdkgeip/v3/model/instance_info.py +347 -0
- huaweicloudsdkgeip/v3/model/internet_bandwidth_info.py +144 -0
- huaweicloudsdkgeip/v3/model/list_access_sites.py +318 -0
- huaweicloudsdkgeip/v3/model/list_access_sites_request.py +385 -0
- huaweicloudsdkgeip/v3/model/list_access_sites_response.py +195 -0
- huaweicloudsdkgeip/v3/model/list_geip_pools.py +434 -0
- huaweicloudsdkgeip/v3/model/list_geip_pools_request.py +460 -0
- huaweicloudsdkgeip/v3/model/list_geip_pools_response.py +195 -0
- huaweicloudsdkgeip/v3/model/list_geip_resource_quotas_request.py +252 -0
- huaweicloudsdkgeip/v3/model/list_geip_resource_quotas_response.py +166 -0
- huaweicloudsdkgeip/v3/model/list_geip_segment_count_filter_tags_request.py +111 -0
- huaweicloudsdkgeip/v3/model/list_geip_segment_count_filter_tags_response.py +170 -0
- huaweicloudsdkgeip/v3/model/list_geip_segment_domain_tags_request.py +84 -0
- huaweicloudsdkgeip/v3/model/list_geip_segment_domain_tags_response.py +199 -0
- huaweicloudsdkgeip/v3/model/list_geip_segment_filter_tags_request.py +169 -0
- huaweicloudsdkgeip/v3/model/list_geip_segment_filter_tags_response.py +199 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_count_filter_tags_request.py +111 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_count_filter_tags_response.py +170 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_domain_tags_request.py +84 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_domain_tags_response.py +199 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_filter_tags_request.py +161 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_filter_tags_response.py +199 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_segments.py +687 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_segments_request.py +860 -0
- huaweicloudsdkgeip/v3/model/list_global_eip_segments_response.py +195 -0
- huaweicloudsdkgeip/v3/model/list_global_eips.py +741 -0
- huaweicloudsdkgeip/v3/model/list_global_eips_request.py +910 -0
- huaweicloudsdkgeip/v3/model/list_global_eips_response.py +195 -0
- huaweicloudsdkgeip/v3/model/list_global_eips_response_body_page_info.py +173 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_count_filter_tags_request.py +111 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_count_filter_tags_response.py +170 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_domain_tags_request.py +84 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_domain_tags_response.py +141 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_filter_tags_request.py +161 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_filter_tags_response.py +199 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_limits.py +256 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_limits_request.py +219 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidth_limits_response.py +170 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidths.py +753 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidths_request.py +535 -0
- huaweicloudsdkgeip/v3/model/list_internet_bandwidths_response.py +195 -0
- huaweicloudsdkgeip/v3/model/list_jobs.py +318 -0
- huaweicloudsdkgeip/v3/model/list_jobs_request.py +360 -0
- huaweicloudsdkgeip/v3/model/list_jobs_response.py +195 -0
- huaweicloudsdkgeip/v3/model/list_quotas.py +114 -0
- huaweicloudsdkgeip/v3/model/list_resources_by_tags_request_body.py +114 -0
- huaweicloudsdkgeip/v3/model/list_support_instances_support_regions.py +318 -0
- huaweicloudsdkgeip/v3/model/list_support_masks.py +231 -0
- huaweicloudsdkgeip/v3/model/list_support_masks_request.py +360 -0
- huaweicloudsdkgeip/v3/model/list_support_masks_response.py +195 -0
- huaweicloudsdkgeip/v3/model/list_support_regions.py +347 -0
- huaweicloudsdkgeip/v3/model/list_support_regions_request.py +460 -0
- huaweicloudsdkgeip/v3/model/list_support_regions_response.py +195 -0
- huaweicloudsdkgeip/v3/model/list_tenant_geip_support_instances_request.py +135 -0
- huaweicloudsdkgeip/v3/model/list_tenant_geip_support_instances_response.py +170 -0
- huaweicloudsdkgeip/v3/model/lock_info.py +376 -0
- huaweicloudsdkgeip/v3/model/native_uuid.py +84 -0
- huaweicloudsdkgeip/v3/model/resources_info.py +202 -0
- huaweicloudsdkgeip/v3/model/short_global_eip_segment.py +144 -0
- huaweicloudsdkgeip/v3/model/show_geip_segment_tags_request.py +110 -0
- huaweicloudsdkgeip/v3/model/show_geip_segment_tags_response.py +199 -0
- huaweicloudsdkgeip/v3/model/show_global_eip.py +741 -0
- huaweicloudsdkgeip/v3/model/show_global_eip_request.py +135 -0
- huaweicloudsdkgeip/v3/model/show_global_eip_response.py +166 -0
- huaweicloudsdkgeip/v3/model/show_global_eip_segment.py +687 -0
- huaweicloudsdkgeip/v3/model/show_global_eip_segment_request.py +135 -0
- huaweicloudsdkgeip/v3/model/show_global_eip_segment_response.py +166 -0
- huaweicloudsdkgeip/v3/model/show_global_eip_tags_request.py +110 -0
- huaweicloudsdkgeip/v3/model/show_global_eip_tags_response.py +199 -0
- huaweicloudsdkgeip/v3/model/show_internet_bandwidth.py +695 -0
- huaweicloudsdkgeip/v3/model/show_internet_bandwidth_request.py +135 -0
- huaweicloudsdkgeip/v3/model/show_internet_bandwidth_response.py +166 -0
- huaweicloudsdkgeip/v3/model/show_internet_bandwidth_tags_request.py +110 -0
- huaweicloudsdkgeip/v3/model/show_internet_bandwidth_tags_response.py +199 -0
- huaweicloudsdkgeip/v3/model/show_job.py +318 -0
- huaweicloudsdkgeip/v3/model/show_jobs_request.py +139 -0
- huaweicloudsdkgeip/v3/model/show_jobs_response.py +166 -0
- huaweicloudsdkgeip/v3/model/show_user_disclaimer_record.py +173 -0
- huaweicloudsdkgeip/v3/model/show_user_disclaimer_request.py +111 -0
- huaweicloudsdkgeip/v3/model/show_user_disclaimer_response.py +166 -0
- huaweicloudsdkgeip/v3/model/sys_tag.py +142 -0
- huaweicloudsdkgeip/v3/model/tag.py +144 -0
- huaweicloudsdkgeip/v3/model/update_global_eip.py +144 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_request.py +135 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_request_body.py +135 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_request_body_global_eip.py +144 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_response.py +166 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_segment_request.py +135 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_segment_request_body.py +110 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_segment_request_body_global_eip_segment.py +144 -0
- huaweicloudsdkgeip/v3/model/update_global_eip_segment_response.py +166 -0
- huaweicloudsdkgeip/v3/model/update_internet_bandwidth.py +637 -0
- huaweicloudsdkgeip/v3/model/update_internet_bandwidth_request.py +135 -0
- huaweicloudsdkgeip/v3/model/update_internet_bandwidth_request_body.py +110 -0
- huaweicloudsdkgeip/v3/model/update_internet_bandwidth_request_body_internet_bandwidth.py +231 -0
- huaweicloudsdkgeip/v3/model/update_internet_bandwidth_response.py +166 -0
- huaweicloudsdkgeip/v3/region/__init__.py +0 -0
- huaweicloudsdkgeip/v3/region/geip_region.py +31 -0
- huaweicloudsdkgeip-3.1.160.dist-info/LICENSE +13 -0
- huaweicloudsdkgeip-3.1.160.dist-info/METADATA +26 -0
- huaweicloudsdkgeip-3.1.160.dist-info/RECORD +228 -0
- huaweicloudsdkgeip-3.1.160.dist-info/WHEEL +5 -0
- huaweicloudsdkgeip-3.1.160.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.sdk_response import SdkResponse
|
|
6
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class CreateUserDisclaimerResponse(SdkResponse):
|
|
10
|
+
|
|
11
|
+
"""
|
|
12
|
+
Attributes:
|
|
13
|
+
openapi_types (dict): The key is attribute name
|
|
14
|
+
and the value is attribute type.
|
|
15
|
+
attribute_map (dict): The key is attribute name
|
|
16
|
+
and the value is json key in definition.
|
|
17
|
+
"""
|
|
18
|
+
sensitive_list = []
|
|
19
|
+
|
|
20
|
+
openapi_types = {
|
|
21
|
+
'request_id': 'str',
|
|
22
|
+
'user_disclaimer_record': 'CreateUserDisclaimerRecord',
|
|
23
|
+
'x_request_id': 'str'
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
attribute_map = {
|
|
27
|
+
'request_id': 'request_id',
|
|
28
|
+
'user_disclaimer_record': 'user_disclaimer_record',
|
|
29
|
+
'x_request_id': 'X-Request-Id'
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
def __init__(self, request_id=None, user_disclaimer_record=None, x_request_id=None):
|
|
33
|
+
r"""CreateUserDisclaimerResponse
|
|
34
|
+
|
|
35
|
+
The model defined in huaweicloud sdk
|
|
36
|
+
|
|
37
|
+
:param request_id: 本次请求的编号
|
|
38
|
+
:type request_id: str
|
|
39
|
+
:param user_disclaimer_record:
|
|
40
|
+
:type user_disclaimer_record: :class:`huaweicloudsdkgeip.v3.CreateUserDisclaimerRecord`
|
|
41
|
+
:param x_request_id:
|
|
42
|
+
:type x_request_id: str
|
|
43
|
+
"""
|
|
44
|
+
|
|
45
|
+
super(CreateUserDisclaimerResponse, self).__init__()
|
|
46
|
+
|
|
47
|
+
self._request_id = None
|
|
48
|
+
self._user_disclaimer_record = None
|
|
49
|
+
self._x_request_id = None
|
|
50
|
+
self.discriminator = None
|
|
51
|
+
|
|
52
|
+
if request_id is not None:
|
|
53
|
+
self.request_id = request_id
|
|
54
|
+
if user_disclaimer_record is not None:
|
|
55
|
+
self.user_disclaimer_record = user_disclaimer_record
|
|
56
|
+
if x_request_id is not None:
|
|
57
|
+
self.x_request_id = x_request_id
|
|
58
|
+
|
|
59
|
+
@property
|
|
60
|
+
def request_id(self):
|
|
61
|
+
r"""Gets the request_id of this CreateUserDisclaimerResponse.
|
|
62
|
+
|
|
63
|
+
本次请求的编号
|
|
64
|
+
|
|
65
|
+
:return: The request_id of this CreateUserDisclaimerResponse.
|
|
66
|
+
:rtype: str
|
|
67
|
+
"""
|
|
68
|
+
return self._request_id
|
|
69
|
+
|
|
70
|
+
@request_id.setter
|
|
71
|
+
def request_id(self, request_id):
|
|
72
|
+
r"""Sets the request_id of this CreateUserDisclaimerResponse.
|
|
73
|
+
|
|
74
|
+
本次请求的编号
|
|
75
|
+
|
|
76
|
+
:param request_id: The request_id of this CreateUserDisclaimerResponse.
|
|
77
|
+
:type request_id: str
|
|
78
|
+
"""
|
|
79
|
+
self._request_id = request_id
|
|
80
|
+
|
|
81
|
+
@property
|
|
82
|
+
def user_disclaimer_record(self):
|
|
83
|
+
r"""Gets the user_disclaimer_record of this CreateUserDisclaimerResponse.
|
|
84
|
+
|
|
85
|
+
:return: The user_disclaimer_record of this CreateUserDisclaimerResponse.
|
|
86
|
+
:rtype: :class:`huaweicloudsdkgeip.v3.CreateUserDisclaimerRecord`
|
|
87
|
+
"""
|
|
88
|
+
return self._user_disclaimer_record
|
|
89
|
+
|
|
90
|
+
@user_disclaimer_record.setter
|
|
91
|
+
def user_disclaimer_record(self, user_disclaimer_record):
|
|
92
|
+
r"""Sets the user_disclaimer_record of this CreateUserDisclaimerResponse.
|
|
93
|
+
|
|
94
|
+
:param user_disclaimer_record: The user_disclaimer_record of this CreateUserDisclaimerResponse.
|
|
95
|
+
:type user_disclaimer_record: :class:`huaweicloudsdkgeip.v3.CreateUserDisclaimerRecord`
|
|
96
|
+
"""
|
|
97
|
+
self._user_disclaimer_record = user_disclaimer_record
|
|
98
|
+
|
|
99
|
+
@property
|
|
100
|
+
def x_request_id(self):
|
|
101
|
+
r"""Gets the x_request_id of this CreateUserDisclaimerResponse.
|
|
102
|
+
|
|
103
|
+
:return: The x_request_id of this CreateUserDisclaimerResponse.
|
|
104
|
+
:rtype: str
|
|
105
|
+
"""
|
|
106
|
+
return self._x_request_id
|
|
107
|
+
|
|
108
|
+
@x_request_id.setter
|
|
109
|
+
def x_request_id(self, x_request_id):
|
|
110
|
+
r"""Sets the x_request_id of this CreateUserDisclaimerResponse.
|
|
111
|
+
|
|
112
|
+
:param x_request_id: The x_request_id of this CreateUserDisclaimerResponse.
|
|
113
|
+
:type x_request_id: str
|
|
114
|
+
"""
|
|
115
|
+
self._x_request_id = x_request_id
|
|
116
|
+
|
|
117
|
+
def to_dict(self):
|
|
118
|
+
"""Returns the model properties as a dict"""
|
|
119
|
+
result = {}
|
|
120
|
+
|
|
121
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
122
|
+
value = getattr(self, attr)
|
|
123
|
+
if isinstance(value, list):
|
|
124
|
+
result[attr] = list(map(
|
|
125
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
126
|
+
value
|
|
127
|
+
))
|
|
128
|
+
elif hasattr(value, "to_dict"):
|
|
129
|
+
result[attr] = value.to_dict()
|
|
130
|
+
elif isinstance(value, dict):
|
|
131
|
+
result[attr] = dict(map(
|
|
132
|
+
lambda item: (item[0], item[1].to_dict())
|
|
133
|
+
if hasattr(item[1], "to_dict") else item,
|
|
134
|
+
value.items()
|
|
135
|
+
))
|
|
136
|
+
else:
|
|
137
|
+
if attr in self.sensitive_list:
|
|
138
|
+
result[attr] = "****"
|
|
139
|
+
else:
|
|
140
|
+
result[attr] = value
|
|
141
|
+
|
|
142
|
+
return result
|
|
143
|
+
|
|
144
|
+
def to_str(self):
|
|
145
|
+
"""Returns the string representation of the model"""
|
|
146
|
+
import simplejson as json
|
|
147
|
+
if six.PY2:
|
|
148
|
+
import sys
|
|
149
|
+
reload(sys)
|
|
150
|
+
sys.setdefaultencoding("utf-8")
|
|
151
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
152
|
+
|
|
153
|
+
def __repr__(self):
|
|
154
|
+
"""For `print`"""
|
|
155
|
+
return self.to_str()
|
|
156
|
+
|
|
157
|
+
def __eq__(self, other):
|
|
158
|
+
"""Returns true if both objects are equal"""
|
|
159
|
+
if not isinstance(other, CreateUserDisclaimerResponse):
|
|
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,110 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class CreateV2TagRequestBody:
|
|
9
|
+
|
|
10
|
+
"""
|
|
11
|
+
Attributes:
|
|
12
|
+
openapi_types (dict): The key is attribute name
|
|
13
|
+
and the value is attribute type.
|
|
14
|
+
attribute_map (dict): The key is attribute name
|
|
15
|
+
and the value is json key in definition.
|
|
16
|
+
"""
|
|
17
|
+
sensitive_list = []
|
|
18
|
+
|
|
19
|
+
openapi_types = {
|
|
20
|
+
'tag': 'CreateV2TagRequestBodyTag'
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
attribute_map = {
|
|
24
|
+
'tag': 'tag'
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
def __init__(self, tag=None):
|
|
28
|
+
r"""CreateV2TagRequestBody
|
|
29
|
+
|
|
30
|
+
The model defined in huaweicloud sdk
|
|
31
|
+
|
|
32
|
+
:param tag:
|
|
33
|
+
:type tag: :class:`huaweicloudsdkgeip.v3.CreateV2TagRequestBodyTag`
|
|
34
|
+
"""
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
self._tag = None
|
|
39
|
+
self.discriminator = None
|
|
40
|
+
|
|
41
|
+
self.tag = tag
|
|
42
|
+
|
|
43
|
+
@property
|
|
44
|
+
def tag(self):
|
|
45
|
+
r"""Gets the tag of this CreateV2TagRequestBody.
|
|
46
|
+
|
|
47
|
+
:return: The tag of this CreateV2TagRequestBody.
|
|
48
|
+
:rtype: :class:`huaweicloudsdkgeip.v3.CreateV2TagRequestBodyTag`
|
|
49
|
+
"""
|
|
50
|
+
return self._tag
|
|
51
|
+
|
|
52
|
+
@tag.setter
|
|
53
|
+
def tag(self, tag):
|
|
54
|
+
r"""Sets the tag of this CreateV2TagRequestBody.
|
|
55
|
+
|
|
56
|
+
:param tag: The tag of this CreateV2TagRequestBody.
|
|
57
|
+
:type tag: :class:`huaweicloudsdkgeip.v3.CreateV2TagRequestBodyTag`
|
|
58
|
+
"""
|
|
59
|
+
self._tag = tag
|
|
60
|
+
|
|
61
|
+
def to_dict(self):
|
|
62
|
+
"""Returns the model properties as a dict"""
|
|
63
|
+
result = {}
|
|
64
|
+
|
|
65
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
66
|
+
value = getattr(self, attr)
|
|
67
|
+
if isinstance(value, list):
|
|
68
|
+
result[attr] = list(map(
|
|
69
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
70
|
+
value
|
|
71
|
+
))
|
|
72
|
+
elif hasattr(value, "to_dict"):
|
|
73
|
+
result[attr] = value.to_dict()
|
|
74
|
+
elif isinstance(value, dict):
|
|
75
|
+
result[attr] = dict(map(
|
|
76
|
+
lambda item: (item[0], item[1].to_dict())
|
|
77
|
+
if hasattr(item[1], "to_dict") else item,
|
|
78
|
+
value.items()
|
|
79
|
+
))
|
|
80
|
+
else:
|
|
81
|
+
if attr in self.sensitive_list:
|
|
82
|
+
result[attr] = "****"
|
|
83
|
+
else:
|
|
84
|
+
result[attr] = value
|
|
85
|
+
|
|
86
|
+
return result
|
|
87
|
+
|
|
88
|
+
def to_str(self):
|
|
89
|
+
"""Returns the string representation of the model"""
|
|
90
|
+
import simplejson as json
|
|
91
|
+
if six.PY2:
|
|
92
|
+
import sys
|
|
93
|
+
reload(sys)
|
|
94
|
+
sys.setdefaultencoding("utf-8")
|
|
95
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
96
|
+
|
|
97
|
+
def __repr__(self):
|
|
98
|
+
"""For `print`"""
|
|
99
|
+
return self.to_str()
|
|
100
|
+
|
|
101
|
+
def __eq__(self, other):
|
|
102
|
+
"""Returns true if both objects are equal"""
|
|
103
|
+
if not isinstance(other, CreateV2TagRequestBody):
|
|
104
|
+
return False
|
|
105
|
+
|
|
106
|
+
return self.__dict__ == other.__dict__
|
|
107
|
+
|
|
108
|
+
def __ne__(self, other):
|
|
109
|
+
"""Returns true if both objects are not equal"""
|
|
110
|
+
return not self == other
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class CreateV2TagRequestBodyTag:
|
|
9
|
+
|
|
10
|
+
"""
|
|
11
|
+
Attributes:
|
|
12
|
+
openapi_types (dict): The key is attribute name
|
|
13
|
+
and the value is attribute type.
|
|
14
|
+
attribute_map (dict): The key is attribute name
|
|
15
|
+
and the value is json key in definition.
|
|
16
|
+
"""
|
|
17
|
+
sensitive_list = []
|
|
18
|
+
|
|
19
|
+
openapi_types = {
|
|
20
|
+
'key': 'str',
|
|
21
|
+
'value': 'str'
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
attribute_map = {
|
|
25
|
+
'key': 'key',
|
|
26
|
+
'value': 'value'
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
def __init__(self, key=None, value=None):
|
|
30
|
+
r"""CreateV2TagRequestBodyTag
|
|
31
|
+
|
|
32
|
+
The model defined in huaweicloud sdk
|
|
33
|
+
|
|
34
|
+
:param key: - 功能说明:标签名称 - 约束: - 创建的预定义标签如果与已有的预定义标签完全相同,则会覆盖已有的预定义标签;若只有“键”相同,“值”不同,则为新创建的预定义标签。 - 键的长度最大36字符,由英文字母、数字、下划线、中划线、中文字符组成。 - 单个资源最多可以添加20个标签。
|
|
35
|
+
:type key: str
|
|
36
|
+
:param value: - 功能说明:标签值 - 约束: - 值的长度最大43字符,由英文字母、数字、下划线、点、中划线、中文字符组成。
|
|
37
|
+
:type value: str
|
|
38
|
+
"""
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
self._key = None
|
|
43
|
+
self._value = None
|
|
44
|
+
self.discriminator = None
|
|
45
|
+
|
|
46
|
+
self.key = key
|
|
47
|
+
self.value = value
|
|
48
|
+
|
|
49
|
+
@property
|
|
50
|
+
def key(self):
|
|
51
|
+
r"""Gets the key of this CreateV2TagRequestBodyTag.
|
|
52
|
+
|
|
53
|
+
- 功能说明:标签名称 - 约束: - 创建的预定义标签如果与已有的预定义标签完全相同,则会覆盖已有的预定义标签;若只有“键”相同,“值”不同,则为新创建的预定义标签。 - 键的长度最大36字符,由英文字母、数字、下划线、中划线、中文字符组成。 - 单个资源最多可以添加20个标签。
|
|
54
|
+
|
|
55
|
+
:return: The key of this CreateV2TagRequestBodyTag.
|
|
56
|
+
:rtype: str
|
|
57
|
+
"""
|
|
58
|
+
return self._key
|
|
59
|
+
|
|
60
|
+
@key.setter
|
|
61
|
+
def key(self, key):
|
|
62
|
+
r"""Sets the key of this CreateV2TagRequestBodyTag.
|
|
63
|
+
|
|
64
|
+
- 功能说明:标签名称 - 约束: - 创建的预定义标签如果与已有的预定义标签完全相同,则会覆盖已有的预定义标签;若只有“键”相同,“值”不同,则为新创建的预定义标签。 - 键的长度最大36字符,由英文字母、数字、下划线、中划线、中文字符组成。 - 单个资源最多可以添加20个标签。
|
|
65
|
+
|
|
66
|
+
:param key: The key of this CreateV2TagRequestBodyTag.
|
|
67
|
+
:type key: str
|
|
68
|
+
"""
|
|
69
|
+
self._key = key
|
|
70
|
+
|
|
71
|
+
@property
|
|
72
|
+
def value(self):
|
|
73
|
+
r"""Gets the value of this CreateV2TagRequestBodyTag.
|
|
74
|
+
|
|
75
|
+
- 功能说明:标签值 - 约束: - 值的长度最大43字符,由英文字母、数字、下划线、点、中划线、中文字符组成。
|
|
76
|
+
|
|
77
|
+
:return: The value of this CreateV2TagRequestBodyTag.
|
|
78
|
+
:rtype: str
|
|
79
|
+
"""
|
|
80
|
+
return self._value
|
|
81
|
+
|
|
82
|
+
@value.setter
|
|
83
|
+
def value(self, value):
|
|
84
|
+
r"""Sets the value of this CreateV2TagRequestBodyTag.
|
|
85
|
+
|
|
86
|
+
- 功能说明:标签值 - 约束: - 值的长度最大43字符,由英文字母、数字、下划线、点、中划线、中文字符组成。
|
|
87
|
+
|
|
88
|
+
:param value: The value of this CreateV2TagRequestBodyTag.
|
|
89
|
+
:type value: str
|
|
90
|
+
"""
|
|
91
|
+
self._value = value
|
|
92
|
+
|
|
93
|
+
def to_dict(self):
|
|
94
|
+
"""Returns the model properties as a dict"""
|
|
95
|
+
result = {}
|
|
96
|
+
|
|
97
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
98
|
+
value = getattr(self, attr)
|
|
99
|
+
if isinstance(value, list):
|
|
100
|
+
result[attr] = list(map(
|
|
101
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
102
|
+
value
|
|
103
|
+
))
|
|
104
|
+
elif hasattr(value, "to_dict"):
|
|
105
|
+
result[attr] = value.to_dict()
|
|
106
|
+
elif isinstance(value, dict):
|
|
107
|
+
result[attr] = dict(map(
|
|
108
|
+
lambda item: (item[0], item[1].to_dict())
|
|
109
|
+
if hasattr(item[1], "to_dict") else item,
|
|
110
|
+
value.items()
|
|
111
|
+
))
|
|
112
|
+
else:
|
|
113
|
+
if attr in self.sensitive_list:
|
|
114
|
+
result[attr] = "****"
|
|
115
|
+
else:
|
|
116
|
+
result[attr] = value
|
|
117
|
+
|
|
118
|
+
return result
|
|
119
|
+
|
|
120
|
+
def to_str(self):
|
|
121
|
+
"""Returns the string representation of the model"""
|
|
122
|
+
import simplejson as json
|
|
123
|
+
if six.PY2:
|
|
124
|
+
import sys
|
|
125
|
+
reload(sys)
|
|
126
|
+
sys.setdefaultencoding("utf-8")
|
|
127
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
128
|
+
|
|
129
|
+
def __repr__(self):
|
|
130
|
+
"""For `print`"""
|
|
131
|
+
return self.to_str()
|
|
132
|
+
|
|
133
|
+
def __eq__(self, other):
|
|
134
|
+
"""Returns true if both objects are equal"""
|
|
135
|
+
if not isinstance(other, CreateV2TagRequestBodyTag):
|
|
136
|
+
return False
|
|
137
|
+
|
|
138
|
+
return self.__dict__ == other.__dict__
|
|
139
|
+
|
|
140
|
+
def __ne__(self, other):
|
|
141
|
+
"""Returns true if both objects are not equal"""
|
|
142
|
+
return not self == other
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class DeleteGeipSegmentTagRequest:
|
|
9
|
+
|
|
10
|
+
"""
|
|
11
|
+
Attributes:
|
|
12
|
+
openapi_types (dict): The key is attribute name
|
|
13
|
+
and the value is attribute type.
|
|
14
|
+
attribute_map (dict): The key is attribute name
|
|
15
|
+
and the value is json key in definition.
|
|
16
|
+
"""
|
|
17
|
+
sensitive_list = []
|
|
18
|
+
|
|
19
|
+
openapi_types = {
|
|
20
|
+
'resource_id': 'str',
|
|
21
|
+
'tag_key': 'str'
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
attribute_map = {
|
|
25
|
+
'resource_id': 'resource_id',
|
|
26
|
+
'tag_key': 'tag_key'
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
def __init__(self, resource_id=None, tag_key=None):
|
|
30
|
+
r"""DeleteGeipSegmentTagRequest
|
|
31
|
+
|
|
32
|
+
The model defined in huaweicloud sdk
|
|
33
|
+
|
|
34
|
+
:param resource_id:
|
|
35
|
+
:type resource_id: str
|
|
36
|
+
:param tag_key:
|
|
37
|
+
:type tag_key: str
|
|
38
|
+
"""
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
self._resource_id = None
|
|
43
|
+
self._tag_key = None
|
|
44
|
+
self.discriminator = None
|
|
45
|
+
|
|
46
|
+
self.resource_id = resource_id
|
|
47
|
+
self.tag_key = tag_key
|
|
48
|
+
|
|
49
|
+
@property
|
|
50
|
+
def resource_id(self):
|
|
51
|
+
r"""Gets the resource_id of this DeleteGeipSegmentTagRequest.
|
|
52
|
+
|
|
53
|
+
:return: The resource_id of this DeleteGeipSegmentTagRequest.
|
|
54
|
+
:rtype: str
|
|
55
|
+
"""
|
|
56
|
+
return self._resource_id
|
|
57
|
+
|
|
58
|
+
@resource_id.setter
|
|
59
|
+
def resource_id(self, resource_id):
|
|
60
|
+
r"""Sets the resource_id of this DeleteGeipSegmentTagRequest.
|
|
61
|
+
|
|
62
|
+
:param resource_id: The resource_id of this DeleteGeipSegmentTagRequest.
|
|
63
|
+
:type resource_id: str
|
|
64
|
+
"""
|
|
65
|
+
self._resource_id = resource_id
|
|
66
|
+
|
|
67
|
+
@property
|
|
68
|
+
def tag_key(self):
|
|
69
|
+
r"""Gets the tag_key of this DeleteGeipSegmentTagRequest.
|
|
70
|
+
|
|
71
|
+
:return: The tag_key of this DeleteGeipSegmentTagRequest.
|
|
72
|
+
:rtype: str
|
|
73
|
+
"""
|
|
74
|
+
return self._tag_key
|
|
75
|
+
|
|
76
|
+
@tag_key.setter
|
|
77
|
+
def tag_key(self, tag_key):
|
|
78
|
+
r"""Sets the tag_key of this DeleteGeipSegmentTagRequest.
|
|
79
|
+
|
|
80
|
+
:param tag_key: The tag_key of this DeleteGeipSegmentTagRequest.
|
|
81
|
+
:type tag_key: str
|
|
82
|
+
"""
|
|
83
|
+
self._tag_key = tag_key
|
|
84
|
+
|
|
85
|
+
def to_dict(self):
|
|
86
|
+
"""Returns the model properties as a dict"""
|
|
87
|
+
result = {}
|
|
88
|
+
|
|
89
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
90
|
+
value = getattr(self, attr)
|
|
91
|
+
if isinstance(value, list):
|
|
92
|
+
result[attr] = list(map(
|
|
93
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
94
|
+
value
|
|
95
|
+
))
|
|
96
|
+
elif hasattr(value, "to_dict"):
|
|
97
|
+
result[attr] = value.to_dict()
|
|
98
|
+
elif isinstance(value, dict):
|
|
99
|
+
result[attr] = dict(map(
|
|
100
|
+
lambda item: (item[0], item[1].to_dict())
|
|
101
|
+
if hasattr(item[1], "to_dict") else item,
|
|
102
|
+
value.items()
|
|
103
|
+
))
|
|
104
|
+
else:
|
|
105
|
+
if attr in self.sensitive_list:
|
|
106
|
+
result[attr] = "****"
|
|
107
|
+
else:
|
|
108
|
+
result[attr] = value
|
|
109
|
+
|
|
110
|
+
return result
|
|
111
|
+
|
|
112
|
+
def to_str(self):
|
|
113
|
+
"""Returns the string representation of the model"""
|
|
114
|
+
import simplejson as json
|
|
115
|
+
if six.PY2:
|
|
116
|
+
import sys
|
|
117
|
+
reload(sys)
|
|
118
|
+
sys.setdefaultencoding("utf-8")
|
|
119
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
120
|
+
|
|
121
|
+
def __repr__(self):
|
|
122
|
+
"""For `print`"""
|
|
123
|
+
return self.to_str()
|
|
124
|
+
|
|
125
|
+
def __eq__(self, other):
|
|
126
|
+
"""Returns true if both objects are equal"""
|
|
127
|
+
if not isinstance(other, DeleteGeipSegmentTagRequest):
|
|
128
|
+
return False
|
|
129
|
+
|
|
130
|
+
return self.__dict__ == other.__dict__
|
|
131
|
+
|
|
132
|
+
def __ne__(self, other):
|
|
133
|
+
"""Returns true if both objects are not equal"""
|
|
134
|
+
return not self == other
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.sdk_response import SdkResponse
|
|
6
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class DeleteGeipSegmentTagResponse(SdkResponse):
|
|
10
|
+
|
|
11
|
+
"""
|
|
12
|
+
Attributes:
|
|
13
|
+
openapi_types (dict): The key is attribute name
|
|
14
|
+
and the value is attribute type.
|
|
15
|
+
attribute_map (dict): The key is attribute name
|
|
16
|
+
and the value is json key in definition.
|
|
17
|
+
"""
|
|
18
|
+
sensitive_list = []
|
|
19
|
+
|
|
20
|
+
openapi_types = {
|
|
21
|
+
'x_request_id': 'str'
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
attribute_map = {
|
|
25
|
+
'x_request_id': 'X-Request-Id'
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
def __init__(self, x_request_id=None):
|
|
29
|
+
r"""DeleteGeipSegmentTagResponse
|
|
30
|
+
|
|
31
|
+
The model defined in huaweicloud sdk
|
|
32
|
+
|
|
33
|
+
:param x_request_id:
|
|
34
|
+
:type x_request_id: str
|
|
35
|
+
"""
|
|
36
|
+
|
|
37
|
+
super(DeleteGeipSegmentTagResponse, self).__init__()
|
|
38
|
+
|
|
39
|
+
self._x_request_id = None
|
|
40
|
+
self.discriminator = None
|
|
41
|
+
|
|
42
|
+
if x_request_id is not None:
|
|
43
|
+
self.x_request_id = x_request_id
|
|
44
|
+
|
|
45
|
+
@property
|
|
46
|
+
def x_request_id(self):
|
|
47
|
+
r"""Gets the x_request_id of this DeleteGeipSegmentTagResponse.
|
|
48
|
+
|
|
49
|
+
:return: The x_request_id of this DeleteGeipSegmentTagResponse.
|
|
50
|
+
:rtype: str
|
|
51
|
+
"""
|
|
52
|
+
return self._x_request_id
|
|
53
|
+
|
|
54
|
+
@x_request_id.setter
|
|
55
|
+
def x_request_id(self, x_request_id):
|
|
56
|
+
r"""Sets the x_request_id of this DeleteGeipSegmentTagResponse.
|
|
57
|
+
|
|
58
|
+
:param x_request_id: The x_request_id of this DeleteGeipSegmentTagResponse.
|
|
59
|
+
:type x_request_id: str
|
|
60
|
+
"""
|
|
61
|
+
self._x_request_id = x_request_id
|
|
62
|
+
|
|
63
|
+
def to_dict(self):
|
|
64
|
+
"""Returns the model properties as a dict"""
|
|
65
|
+
result = {}
|
|
66
|
+
|
|
67
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
68
|
+
value = getattr(self, attr)
|
|
69
|
+
if isinstance(value, list):
|
|
70
|
+
result[attr] = list(map(
|
|
71
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
72
|
+
value
|
|
73
|
+
))
|
|
74
|
+
elif hasattr(value, "to_dict"):
|
|
75
|
+
result[attr] = value.to_dict()
|
|
76
|
+
elif isinstance(value, dict):
|
|
77
|
+
result[attr] = dict(map(
|
|
78
|
+
lambda item: (item[0], item[1].to_dict())
|
|
79
|
+
if hasattr(item[1], "to_dict") else item,
|
|
80
|
+
value.items()
|
|
81
|
+
))
|
|
82
|
+
else:
|
|
83
|
+
if attr in self.sensitive_list:
|
|
84
|
+
result[attr] = "****"
|
|
85
|
+
else:
|
|
86
|
+
result[attr] = value
|
|
87
|
+
|
|
88
|
+
return result
|
|
89
|
+
|
|
90
|
+
def to_str(self):
|
|
91
|
+
"""Returns the string representation of the model"""
|
|
92
|
+
import simplejson as json
|
|
93
|
+
if six.PY2:
|
|
94
|
+
import sys
|
|
95
|
+
reload(sys)
|
|
96
|
+
sys.setdefaultencoding("utf-8")
|
|
97
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
98
|
+
|
|
99
|
+
def __repr__(self):
|
|
100
|
+
"""For `print`"""
|
|
101
|
+
return self.to_str()
|
|
102
|
+
|
|
103
|
+
def __eq__(self, other):
|
|
104
|
+
"""Returns true if both objects are equal"""
|
|
105
|
+
if not isinstance(other, DeleteGeipSegmentTagResponse):
|
|
106
|
+
return False
|
|
107
|
+
|
|
108
|
+
return self.__dict__ == other.__dict__
|
|
109
|
+
|
|
110
|
+
def __ne__(self, other):
|
|
111
|
+
"""Returns true if both objects are not equal"""
|
|
112
|
+
return not self == other
|