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,170 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.sdk_response import SdkResponse
|
|
6
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class BatchCreateInternetBandwidthResponse(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
|
+
'internet_bandwidths': 'list[BatchCreateInternetBandwidth]',
|
|
23
|
+
'x_request_id': 'str'
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
attribute_map = {
|
|
27
|
+
'request_id': 'request_id',
|
|
28
|
+
'internet_bandwidths': 'internet_bandwidths',
|
|
29
|
+
'x_request_id': 'X-Request-Id'
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
def __init__(self, request_id=None, internet_bandwidths=None, x_request_id=None):
|
|
33
|
+
r"""BatchCreateInternetBandwidthResponse
|
|
34
|
+
|
|
35
|
+
The model defined in huaweicloud sdk
|
|
36
|
+
|
|
37
|
+
:param request_id: 本次请求的编号
|
|
38
|
+
:type request_id: str
|
|
39
|
+
:param internet_bandwidths: 创建成功响应体对象
|
|
40
|
+
:type internet_bandwidths: list[:class:`huaweicloudsdkgeip.v3.BatchCreateInternetBandwidth`]
|
|
41
|
+
:param x_request_id:
|
|
42
|
+
:type x_request_id: str
|
|
43
|
+
"""
|
|
44
|
+
|
|
45
|
+
super(BatchCreateInternetBandwidthResponse, self).__init__()
|
|
46
|
+
|
|
47
|
+
self._request_id = None
|
|
48
|
+
self._internet_bandwidths = 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 internet_bandwidths is not None:
|
|
55
|
+
self.internet_bandwidths = internet_bandwidths
|
|
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 BatchCreateInternetBandwidthResponse.
|
|
62
|
+
|
|
63
|
+
本次请求的编号
|
|
64
|
+
|
|
65
|
+
:return: The request_id of this BatchCreateInternetBandwidthResponse.
|
|
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 BatchCreateInternetBandwidthResponse.
|
|
73
|
+
|
|
74
|
+
本次请求的编号
|
|
75
|
+
|
|
76
|
+
:param request_id: The request_id of this BatchCreateInternetBandwidthResponse.
|
|
77
|
+
:type request_id: str
|
|
78
|
+
"""
|
|
79
|
+
self._request_id = request_id
|
|
80
|
+
|
|
81
|
+
@property
|
|
82
|
+
def internet_bandwidths(self):
|
|
83
|
+
r"""Gets the internet_bandwidths of this BatchCreateInternetBandwidthResponse.
|
|
84
|
+
|
|
85
|
+
创建成功响应体对象
|
|
86
|
+
|
|
87
|
+
:return: The internet_bandwidths of this BatchCreateInternetBandwidthResponse.
|
|
88
|
+
:rtype: list[:class:`huaweicloudsdkgeip.v3.BatchCreateInternetBandwidth`]
|
|
89
|
+
"""
|
|
90
|
+
return self._internet_bandwidths
|
|
91
|
+
|
|
92
|
+
@internet_bandwidths.setter
|
|
93
|
+
def internet_bandwidths(self, internet_bandwidths):
|
|
94
|
+
r"""Sets the internet_bandwidths of this BatchCreateInternetBandwidthResponse.
|
|
95
|
+
|
|
96
|
+
创建成功响应体对象
|
|
97
|
+
|
|
98
|
+
:param internet_bandwidths: The internet_bandwidths of this BatchCreateInternetBandwidthResponse.
|
|
99
|
+
:type internet_bandwidths: list[:class:`huaweicloudsdkgeip.v3.BatchCreateInternetBandwidth`]
|
|
100
|
+
"""
|
|
101
|
+
self._internet_bandwidths = internet_bandwidths
|
|
102
|
+
|
|
103
|
+
@property
|
|
104
|
+
def x_request_id(self):
|
|
105
|
+
r"""Gets the x_request_id of this BatchCreateInternetBandwidthResponse.
|
|
106
|
+
|
|
107
|
+
:return: The x_request_id of this BatchCreateInternetBandwidthResponse.
|
|
108
|
+
:rtype: str
|
|
109
|
+
"""
|
|
110
|
+
return self._x_request_id
|
|
111
|
+
|
|
112
|
+
@x_request_id.setter
|
|
113
|
+
def x_request_id(self, x_request_id):
|
|
114
|
+
r"""Sets the x_request_id of this BatchCreateInternetBandwidthResponse.
|
|
115
|
+
|
|
116
|
+
:param x_request_id: The x_request_id of this BatchCreateInternetBandwidthResponse.
|
|
117
|
+
:type x_request_id: str
|
|
118
|
+
"""
|
|
119
|
+
self._x_request_id = x_request_id
|
|
120
|
+
|
|
121
|
+
def to_dict(self):
|
|
122
|
+
"""Returns the model properties as a dict"""
|
|
123
|
+
result = {}
|
|
124
|
+
|
|
125
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
126
|
+
value = getattr(self, attr)
|
|
127
|
+
if isinstance(value, list):
|
|
128
|
+
result[attr] = list(map(
|
|
129
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
130
|
+
value
|
|
131
|
+
))
|
|
132
|
+
elif hasattr(value, "to_dict"):
|
|
133
|
+
result[attr] = value.to_dict()
|
|
134
|
+
elif isinstance(value, dict):
|
|
135
|
+
result[attr] = dict(map(
|
|
136
|
+
lambda item: (item[0], item[1].to_dict())
|
|
137
|
+
if hasattr(item[1], "to_dict") else item,
|
|
138
|
+
value.items()
|
|
139
|
+
))
|
|
140
|
+
else:
|
|
141
|
+
if attr in self.sensitive_list:
|
|
142
|
+
result[attr] = "****"
|
|
143
|
+
else:
|
|
144
|
+
result[attr] = value
|
|
145
|
+
|
|
146
|
+
return result
|
|
147
|
+
|
|
148
|
+
def to_str(self):
|
|
149
|
+
"""Returns the string representation of the model"""
|
|
150
|
+
import simplejson as json
|
|
151
|
+
if six.PY2:
|
|
152
|
+
import sys
|
|
153
|
+
reload(sys)
|
|
154
|
+
sys.setdefaultencoding("utf-8")
|
|
155
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
156
|
+
|
|
157
|
+
def __repr__(self):
|
|
158
|
+
"""For `print`"""
|
|
159
|
+
return self.to_str()
|
|
160
|
+
|
|
161
|
+
def __eq__(self, other):
|
|
162
|
+
"""Returns true if both objects are equal"""
|
|
163
|
+
if not isinstance(other, BatchCreateInternetBandwidthResponse):
|
|
164
|
+
return False
|
|
165
|
+
|
|
166
|
+
return self.__dict__ == other.__dict__
|
|
167
|
+
|
|
168
|
+
def __ne__(self, other):
|
|
169
|
+
"""Returns true if both objects are not equal"""
|
|
170
|
+
return not self == other
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class BatchCreateInternetBandwidthTagsRequest:
|
|
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
|
+
'body': 'BatchCreateV2RequestBody'
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
attribute_map = {
|
|
25
|
+
'resource_id': 'resource_id',
|
|
26
|
+
'body': 'body'
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
def __init__(self, resource_id=None, body=None):
|
|
30
|
+
r"""BatchCreateInternetBandwidthTagsRequest
|
|
31
|
+
|
|
32
|
+
The model defined in huaweicloud sdk
|
|
33
|
+
|
|
34
|
+
:param resource_id:
|
|
35
|
+
:type resource_id: str
|
|
36
|
+
:param body: Body of the BatchCreateInternetBandwidthTagsRequest
|
|
37
|
+
:type body: :class:`huaweicloudsdkgeip.v3.BatchCreateV2RequestBody`
|
|
38
|
+
"""
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
self._resource_id = None
|
|
43
|
+
self._body = None
|
|
44
|
+
self.discriminator = None
|
|
45
|
+
|
|
46
|
+
self.resource_id = resource_id
|
|
47
|
+
if body is not None:
|
|
48
|
+
self.body = body
|
|
49
|
+
|
|
50
|
+
@property
|
|
51
|
+
def resource_id(self):
|
|
52
|
+
r"""Gets the resource_id of this BatchCreateInternetBandwidthTagsRequest.
|
|
53
|
+
|
|
54
|
+
:return: The resource_id of this BatchCreateInternetBandwidthTagsRequest.
|
|
55
|
+
:rtype: str
|
|
56
|
+
"""
|
|
57
|
+
return self._resource_id
|
|
58
|
+
|
|
59
|
+
@resource_id.setter
|
|
60
|
+
def resource_id(self, resource_id):
|
|
61
|
+
r"""Sets the resource_id of this BatchCreateInternetBandwidthTagsRequest.
|
|
62
|
+
|
|
63
|
+
:param resource_id: The resource_id of this BatchCreateInternetBandwidthTagsRequest.
|
|
64
|
+
:type resource_id: str
|
|
65
|
+
"""
|
|
66
|
+
self._resource_id = resource_id
|
|
67
|
+
|
|
68
|
+
@property
|
|
69
|
+
def body(self):
|
|
70
|
+
r"""Gets the body of this BatchCreateInternetBandwidthTagsRequest.
|
|
71
|
+
|
|
72
|
+
:return: The body of this BatchCreateInternetBandwidthTagsRequest.
|
|
73
|
+
:rtype: :class:`huaweicloudsdkgeip.v3.BatchCreateV2RequestBody`
|
|
74
|
+
"""
|
|
75
|
+
return self._body
|
|
76
|
+
|
|
77
|
+
@body.setter
|
|
78
|
+
def body(self, body):
|
|
79
|
+
r"""Sets the body of this BatchCreateInternetBandwidthTagsRequest.
|
|
80
|
+
|
|
81
|
+
:param body: The body of this BatchCreateInternetBandwidthTagsRequest.
|
|
82
|
+
:type body: :class:`huaweicloudsdkgeip.v3.BatchCreateV2RequestBody`
|
|
83
|
+
"""
|
|
84
|
+
self._body = body
|
|
85
|
+
|
|
86
|
+
def to_dict(self):
|
|
87
|
+
"""Returns the model properties as a dict"""
|
|
88
|
+
result = {}
|
|
89
|
+
|
|
90
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
91
|
+
value = getattr(self, attr)
|
|
92
|
+
if isinstance(value, list):
|
|
93
|
+
result[attr] = list(map(
|
|
94
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
95
|
+
value
|
|
96
|
+
))
|
|
97
|
+
elif hasattr(value, "to_dict"):
|
|
98
|
+
result[attr] = value.to_dict()
|
|
99
|
+
elif isinstance(value, dict):
|
|
100
|
+
result[attr] = dict(map(
|
|
101
|
+
lambda item: (item[0], item[1].to_dict())
|
|
102
|
+
if hasattr(item[1], "to_dict") else item,
|
|
103
|
+
value.items()
|
|
104
|
+
))
|
|
105
|
+
else:
|
|
106
|
+
if attr in self.sensitive_list:
|
|
107
|
+
result[attr] = "****"
|
|
108
|
+
else:
|
|
109
|
+
result[attr] = value
|
|
110
|
+
|
|
111
|
+
return result
|
|
112
|
+
|
|
113
|
+
def to_str(self):
|
|
114
|
+
"""Returns the string representation of the model"""
|
|
115
|
+
import simplejson as json
|
|
116
|
+
if six.PY2:
|
|
117
|
+
import sys
|
|
118
|
+
reload(sys)
|
|
119
|
+
sys.setdefaultencoding("utf-8")
|
|
120
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
121
|
+
|
|
122
|
+
def __repr__(self):
|
|
123
|
+
"""For `print`"""
|
|
124
|
+
return self.to_str()
|
|
125
|
+
|
|
126
|
+
def __eq__(self, other):
|
|
127
|
+
"""Returns true if both objects are equal"""
|
|
128
|
+
if not isinstance(other, BatchCreateInternetBandwidthTagsRequest):
|
|
129
|
+
return False
|
|
130
|
+
|
|
131
|
+
return self.__dict__ == other.__dict__
|
|
132
|
+
|
|
133
|
+
def __ne__(self, other):
|
|
134
|
+
"""Returns true if both objects are not equal"""
|
|
135
|
+
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 BatchCreateInternetBandwidthTagsResponse(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"""BatchCreateInternetBandwidthTagsResponse
|
|
30
|
+
|
|
31
|
+
The model defined in huaweicloud sdk
|
|
32
|
+
|
|
33
|
+
:param x_request_id:
|
|
34
|
+
:type x_request_id: str
|
|
35
|
+
"""
|
|
36
|
+
|
|
37
|
+
super(BatchCreateInternetBandwidthTagsResponse, 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 BatchCreateInternetBandwidthTagsResponse.
|
|
48
|
+
|
|
49
|
+
:return: The x_request_id of this BatchCreateInternetBandwidthTagsResponse.
|
|
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 BatchCreateInternetBandwidthTagsResponse.
|
|
57
|
+
|
|
58
|
+
:param x_request_id: The x_request_id of this BatchCreateInternetBandwidthTagsResponse.
|
|
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, BatchCreateInternetBandwidthTagsResponse):
|
|
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
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class BatchCreateV2RequestBody:
|
|
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
|
+
'tags': 'list[CreateGlobalEipRequestBodyGlobalEipTags]',
|
|
21
|
+
'sys_tags': 'list[CreateGlobalEipRequestBodyGlobalEipTags]'
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
attribute_map = {
|
|
25
|
+
'tags': 'tags',
|
|
26
|
+
'sys_tags': 'sys_tags'
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
def __init__(self, tags=None, sys_tags=None):
|
|
30
|
+
r"""BatchCreateV2RequestBody
|
|
31
|
+
|
|
32
|
+
The model defined in huaweicloud sdk
|
|
33
|
+
|
|
34
|
+
:param tags: 全域弹性公网IP标签
|
|
35
|
+
:type tags: list[:class:`huaweicloudsdkgeip.v3.CreateGlobalEipRequestBodyGlobalEipTags`]
|
|
36
|
+
:param sys_tags: 系统标签
|
|
37
|
+
:type sys_tags: list[:class:`huaweicloudsdkgeip.v3.CreateGlobalEipRequestBodyGlobalEipTags`]
|
|
38
|
+
"""
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
self._tags = None
|
|
43
|
+
self._sys_tags = None
|
|
44
|
+
self.discriminator = None
|
|
45
|
+
|
|
46
|
+
self.tags = tags
|
|
47
|
+
if sys_tags is not None:
|
|
48
|
+
self.sys_tags = sys_tags
|
|
49
|
+
|
|
50
|
+
@property
|
|
51
|
+
def tags(self):
|
|
52
|
+
r"""Gets the tags of this BatchCreateV2RequestBody.
|
|
53
|
+
|
|
54
|
+
全域弹性公网IP标签
|
|
55
|
+
|
|
56
|
+
:return: The tags of this BatchCreateV2RequestBody.
|
|
57
|
+
:rtype: list[:class:`huaweicloudsdkgeip.v3.CreateGlobalEipRequestBodyGlobalEipTags`]
|
|
58
|
+
"""
|
|
59
|
+
return self._tags
|
|
60
|
+
|
|
61
|
+
@tags.setter
|
|
62
|
+
def tags(self, tags):
|
|
63
|
+
r"""Sets the tags of this BatchCreateV2RequestBody.
|
|
64
|
+
|
|
65
|
+
全域弹性公网IP标签
|
|
66
|
+
|
|
67
|
+
:param tags: The tags of this BatchCreateV2RequestBody.
|
|
68
|
+
:type tags: list[:class:`huaweicloudsdkgeip.v3.CreateGlobalEipRequestBodyGlobalEipTags`]
|
|
69
|
+
"""
|
|
70
|
+
self._tags = tags
|
|
71
|
+
|
|
72
|
+
@property
|
|
73
|
+
def sys_tags(self):
|
|
74
|
+
r"""Gets the sys_tags of this BatchCreateV2RequestBody.
|
|
75
|
+
|
|
76
|
+
系统标签
|
|
77
|
+
|
|
78
|
+
:return: The sys_tags of this BatchCreateV2RequestBody.
|
|
79
|
+
:rtype: list[:class:`huaweicloudsdkgeip.v3.CreateGlobalEipRequestBodyGlobalEipTags`]
|
|
80
|
+
"""
|
|
81
|
+
return self._sys_tags
|
|
82
|
+
|
|
83
|
+
@sys_tags.setter
|
|
84
|
+
def sys_tags(self, sys_tags):
|
|
85
|
+
r"""Sets the sys_tags of this BatchCreateV2RequestBody.
|
|
86
|
+
|
|
87
|
+
系统标签
|
|
88
|
+
|
|
89
|
+
:param sys_tags: The sys_tags of this BatchCreateV2RequestBody.
|
|
90
|
+
:type sys_tags: list[:class:`huaweicloudsdkgeip.v3.CreateGlobalEipRequestBodyGlobalEipTags`]
|
|
91
|
+
"""
|
|
92
|
+
self._sys_tags = sys_tags
|
|
93
|
+
|
|
94
|
+
def to_dict(self):
|
|
95
|
+
"""Returns the model properties as a dict"""
|
|
96
|
+
result = {}
|
|
97
|
+
|
|
98
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
99
|
+
value = getattr(self, attr)
|
|
100
|
+
if isinstance(value, list):
|
|
101
|
+
result[attr] = list(map(
|
|
102
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
103
|
+
value
|
|
104
|
+
))
|
|
105
|
+
elif hasattr(value, "to_dict"):
|
|
106
|
+
result[attr] = value.to_dict()
|
|
107
|
+
elif isinstance(value, dict):
|
|
108
|
+
result[attr] = dict(map(
|
|
109
|
+
lambda item: (item[0], item[1].to_dict())
|
|
110
|
+
if hasattr(item[1], "to_dict") else item,
|
|
111
|
+
value.items()
|
|
112
|
+
))
|
|
113
|
+
else:
|
|
114
|
+
if attr in self.sensitive_list:
|
|
115
|
+
result[attr] = "****"
|
|
116
|
+
else:
|
|
117
|
+
result[attr] = value
|
|
118
|
+
|
|
119
|
+
return result
|
|
120
|
+
|
|
121
|
+
def to_str(self):
|
|
122
|
+
"""Returns the string representation of the model"""
|
|
123
|
+
import simplejson as json
|
|
124
|
+
if six.PY2:
|
|
125
|
+
import sys
|
|
126
|
+
reload(sys)
|
|
127
|
+
sys.setdefaultencoding("utf-8")
|
|
128
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
129
|
+
|
|
130
|
+
def __repr__(self):
|
|
131
|
+
"""For `print`"""
|
|
132
|
+
return self.to_str()
|
|
133
|
+
|
|
134
|
+
def __eq__(self, other):
|
|
135
|
+
"""Returns true if both objects are equal"""
|
|
136
|
+
if not isinstance(other, BatchCreateV2RequestBody):
|
|
137
|
+
return False
|
|
138
|
+
|
|
139
|
+
return self.__dict__ == other.__dict__
|
|
140
|
+
|
|
141
|
+
def __ne__(self, other):
|
|
142
|
+
"""Returns true if both objects are not equal"""
|
|
143
|
+
return not self == other
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class BatchDeleteGeipSegmentTagsRequest:
|
|
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
|
+
'body': 'BatchDeleteV2RequestBody'
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
attribute_map = {
|
|
25
|
+
'resource_id': 'resource_id',
|
|
26
|
+
'body': 'body'
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
def __init__(self, resource_id=None, body=None):
|
|
30
|
+
r"""BatchDeleteGeipSegmentTagsRequest
|
|
31
|
+
|
|
32
|
+
The model defined in huaweicloud sdk
|
|
33
|
+
|
|
34
|
+
:param resource_id:
|
|
35
|
+
:type resource_id: str
|
|
36
|
+
:param body: Body of the BatchDeleteGeipSegmentTagsRequest
|
|
37
|
+
:type body: :class:`huaweicloudsdkgeip.v3.BatchDeleteV2RequestBody`
|
|
38
|
+
"""
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
self._resource_id = None
|
|
43
|
+
self._body = None
|
|
44
|
+
self.discriminator = None
|
|
45
|
+
|
|
46
|
+
self.resource_id = resource_id
|
|
47
|
+
if body is not None:
|
|
48
|
+
self.body = body
|
|
49
|
+
|
|
50
|
+
@property
|
|
51
|
+
def resource_id(self):
|
|
52
|
+
r"""Gets the resource_id of this BatchDeleteGeipSegmentTagsRequest.
|
|
53
|
+
|
|
54
|
+
:return: The resource_id of this BatchDeleteGeipSegmentTagsRequest.
|
|
55
|
+
:rtype: str
|
|
56
|
+
"""
|
|
57
|
+
return self._resource_id
|
|
58
|
+
|
|
59
|
+
@resource_id.setter
|
|
60
|
+
def resource_id(self, resource_id):
|
|
61
|
+
r"""Sets the resource_id of this BatchDeleteGeipSegmentTagsRequest.
|
|
62
|
+
|
|
63
|
+
:param resource_id: The resource_id of this BatchDeleteGeipSegmentTagsRequest.
|
|
64
|
+
:type resource_id: str
|
|
65
|
+
"""
|
|
66
|
+
self._resource_id = resource_id
|
|
67
|
+
|
|
68
|
+
@property
|
|
69
|
+
def body(self):
|
|
70
|
+
r"""Gets the body of this BatchDeleteGeipSegmentTagsRequest.
|
|
71
|
+
|
|
72
|
+
:return: The body of this BatchDeleteGeipSegmentTagsRequest.
|
|
73
|
+
:rtype: :class:`huaweicloudsdkgeip.v3.BatchDeleteV2RequestBody`
|
|
74
|
+
"""
|
|
75
|
+
return self._body
|
|
76
|
+
|
|
77
|
+
@body.setter
|
|
78
|
+
def body(self, body):
|
|
79
|
+
r"""Sets the body of this BatchDeleteGeipSegmentTagsRequest.
|
|
80
|
+
|
|
81
|
+
:param body: The body of this BatchDeleteGeipSegmentTagsRequest.
|
|
82
|
+
:type body: :class:`huaweicloudsdkgeip.v3.BatchDeleteV2RequestBody`
|
|
83
|
+
"""
|
|
84
|
+
self._body = body
|
|
85
|
+
|
|
86
|
+
def to_dict(self):
|
|
87
|
+
"""Returns the model properties as a dict"""
|
|
88
|
+
result = {}
|
|
89
|
+
|
|
90
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
91
|
+
value = getattr(self, attr)
|
|
92
|
+
if isinstance(value, list):
|
|
93
|
+
result[attr] = list(map(
|
|
94
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
95
|
+
value
|
|
96
|
+
))
|
|
97
|
+
elif hasattr(value, "to_dict"):
|
|
98
|
+
result[attr] = value.to_dict()
|
|
99
|
+
elif isinstance(value, dict):
|
|
100
|
+
result[attr] = dict(map(
|
|
101
|
+
lambda item: (item[0], item[1].to_dict())
|
|
102
|
+
if hasattr(item[1], "to_dict") else item,
|
|
103
|
+
value.items()
|
|
104
|
+
))
|
|
105
|
+
else:
|
|
106
|
+
if attr in self.sensitive_list:
|
|
107
|
+
result[attr] = "****"
|
|
108
|
+
else:
|
|
109
|
+
result[attr] = value
|
|
110
|
+
|
|
111
|
+
return result
|
|
112
|
+
|
|
113
|
+
def to_str(self):
|
|
114
|
+
"""Returns the string representation of the model"""
|
|
115
|
+
import simplejson as json
|
|
116
|
+
if six.PY2:
|
|
117
|
+
import sys
|
|
118
|
+
reload(sys)
|
|
119
|
+
sys.setdefaultencoding("utf-8")
|
|
120
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
121
|
+
|
|
122
|
+
def __repr__(self):
|
|
123
|
+
"""For `print`"""
|
|
124
|
+
return self.to_str()
|
|
125
|
+
|
|
126
|
+
def __eq__(self, other):
|
|
127
|
+
"""Returns true if both objects are equal"""
|
|
128
|
+
if not isinstance(other, BatchDeleteGeipSegmentTagsRequest):
|
|
129
|
+
return False
|
|
130
|
+
|
|
131
|
+
return self.__dict__ == other.__dict__
|
|
132
|
+
|
|
133
|
+
def __ne__(self, other):
|
|
134
|
+
"""Returns true if both objects are not equal"""
|
|
135
|
+
return not self == other
|