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,191 @@
|
|
|
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 ListInternetBandwidthsResponse(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
|
+
'internet_bandwidths': 'list[ListInternetBandwidths]',
|
|
21
|
+
'page_info': 'ListGlobalEipsResponseBodyPageInfo',
|
|
22
|
+
'x_request_id': 'str'
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
attribute_map = {
|
|
26
|
+
'request_id': 'request_id',
|
|
27
|
+
'internet_bandwidths': 'internet_bandwidths',
|
|
28
|
+
'page_info': 'page_info',
|
|
29
|
+
'x_request_id': 'X-Request-Id'
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
def __init__(self, request_id=None, internet_bandwidths=None, page_info=None, x_request_id=None):
|
|
33
|
+
r"""ListInternetBandwidthsResponse
|
|
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.ListInternetBandwidths`]
|
|
41
|
+
:param page_info:
|
|
42
|
+
:type page_info: :class:`huaweicloudsdkgeip.v3.ListGlobalEipsResponseBodyPageInfo`
|
|
43
|
+
:param x_request_id:
|
|
44
|
+
:type x_request_id: str
|
|
45
|
+
"""
|
|
46
|
+
|
|
47
|
+
super().__init__()
|
|
48
|
+
|
|
49
|
+
self._request_id = None
|
|
50
|
+
self._internet_bandwidths = None
|
|
51
|
+
self._page_info = None
|
|
52
|
+
self._x_request_id = None
|
|
53
|
+
self.discriminator = None
|
|
54
|
+
|
|
55
|
+
if request_id is not None:
|
|
56
|
+
self.request_id = request_id
|
|
57
|
+
if internet_bandwidths is not None:
|
|
58
|
+
self.internet_bandwidths = internet_bandwidths
|
|
59
|
+
if page_info is not None:
|
|
60
|
+
self.page_info = page_info
|
|
61
|
+
if x_request_id is not None:
|
|
62
|
+
self.x_request_id = x_request_id
|
|
63
|
+
|
|
64
|
+
@property
|
|
65
|
+
def request_id(self):
|
|
66
|
+
r"""Gets the request_id of this ListInternetBandwidthsResponse.
|
|
67
|
+
|
|
68
|
+
本次请求的编号
|
|
69
|
+
|
|
70
|
+
:return: The request_id of this ListInternetBandwidthsResponse.
|
|
71
|
+
:rtype: str
|
|
72
|
+
"""
|
|
73
|
+
return self._request_id
|
|
74
|
+
|
|
75
|
+
@request_id.setter
|
|
76
|
+
def request_id(self, request_id):
|
|
77
|
+
r"""Sets the request_id of this ListInternetBandwidthsResponse.
|
|
78
|
+
|
|
79
|
+
本次请求的编号
|
|
80
|
+
|
|
81
|
+
:param request_id: The request_id of this ListInternetBandwidthsResponse.
|
|
82
|
+
:type request_id: str
|
|
83
|
+
"""
|
|
84
|
+
self._request_id = request_id
|
|
85
|
+
|
|
86
|
+
@property
|
|
87
|
+
def internet_bandwidths(self):
|
|
88
|
+
r"""Gets the internet_bandwidths of this ListInternetBandwidthsResponse.
|
|
89
|
+
|
|
90
|
+
全域公网带宽列表
|
|
91
|
+
|
|
92
|
+
:return: The internet_bandwidths of this ListInternetBandwidthsResponse.
|
|
93
|
+
:rtype: list[:class:`huaweicloudsdkgeip.v3.ListInternetBandwidths`]
|
|
94
|
+
"""
|
|
95
|
+
return self._internet_bandwidths
|
|
96
|
+
|
|
97
|
+
@internet_bandwidths.setter
|
|
98
|
+
def internet_bandwidths(self, internet_bandwidths):
|
|
99
|
+
r"""Sets the internet_bandwidths of this ListInternetBandwidthsResponse.
|
|
100
|
+
|
|
101
|
+
全域公网带宽列表
|
|
102
|
+
|
|
103
|
+
:param internet_bandwidths: The internet_bandwidths of this ListInternetBandwidthsResponse.
|
|
104
|
+
:type internet_bandwidths: list[:class:`huaweicloudsdkgeip.v3.ListInternetBandwidths`]
|
|
105
|
+
"""
|
|
106
|
+
self._internet_bandwidths = internet_bandwidths
|
|
107
|
+
|
|
108
|
+
@property
|
|
109
|
+
def page_info(self):
|
|
110
|
+
r"""Gets the page_info of this ListInternetBandwidthsResponse.
|
|
111
|
+
|
|
112
|
+
:return: The page_info of this ListInternetBandwidthsResponse.
|
|
113
|
+
:rtype: :class:`huaweicloudsdkgeip.v3.ListGlobalEipsResponseBodyPageInfo`
|
|
114
|
+
"""
|
|
115
|
+
return self._page_info
|
|
116
|
+
|
|
117
|
+
@page_info.setter
|
|
118
|
+
def page_info(self, page_info):
|
|
119
|
+
r"""Sets the page_info of this ListInternetBandwidthsResponse.
|
|
120
|
+
|
|
121
|
+
:param page_info: The page_info of this ListInternetBandwidthsResponse.
|
|
122
|
+
:type page_info: :class:`huaweicloudsdkgeip.v3.ListGlobalEipsResponseBodyPageInfo`
|
|
123
|
+
"""
|
|
124
|
+
self._page_info = page_info
|
|
125
|
+
|
|
126
|
+
@property
|
|
127
|
+
def x_request_id(self):
|
|
128
|
+
r"""Gets the x_request_id of this ListInternetBandwidthsResponse.
|
|
129
|
+
|
|
130
|
+
:return: The x_request_id of this ListInternetBandwidthsResponse.
|
|
131
|
+
:rtype: str
|
|
132
|
+
"""
|
|
133
|
+
return self._x_request_id
|
|
134
|
+
|
|
135
|
+
@x_request_id.setter
|
|
136
|
+
def x_request_id(self, x_request_id):
|
|
137
|
+
r"""Sets the x_request_id of this ListInternetBandwidthsResponse.
|
|
138
|
+
|
|
139
|
+
:param x_request_id: The x_request_id of this ListInternetBandwidthsResponse.
|
|
140
|
+
:type x_request_id: str
|
|
141
|
+
"""
|
|
142
|
+
self._x_request_id = x_request_id
|
|
143
|
+
|
|
144
|
+
def to_dict(self):
|
|
145
|
+
import warnings
|
|
146
|
+
warnings.warn("ListInternetBandwidthsResponse.to_dict() is deprecated and no longer maintained, "
|
|
147
|
+
"use to_json_object() to get the response content.", DeprecationWarning)
|
|
148
|
+
result = {}
|
|
149
|
+
|
|
150
|
+
for attr, _ in self.openapi_types.items():
|
|
151
|
+
value = getattr(self, attr)
|
|
152
|
+
if isinstance(value, list):
|
|
153
|
+
result[attr] = list(map(
|
|
154
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
155
|
+
value
|
|
156
|
+
))
|
|
157
|
+
elif hasattr(value, "to_dict"):
|
|
158
|
+
result[attr] = value.to_dict()
|
|
159
|
+
elif isinstance(value, dict):
|
|
160
|
+
result[attr] = dict(map(
|
|
161
|
+
lambda item: (item[0], item[1].to_dict())
|
|
162
|
+
if hasattr(item[1], "to_dict") else item,
|
|
163
|
+
value.items()
|
|
164
|
+
))
|
|
165
|
+
else:
|
|
166
|
+
if attr in self.sensitive_list:
|
|
167
|
+
result[attr] = "****"
|
|
168
|
+
else:
|
|
169
|
+
result[attr] = value
|
|
170
|
+
|
|
171
|
+
return result
|
|
172
|
+
|
|
173
|
+
def to_str(self):
|
|
174
|
+
"""Returns the string representation of the model"""
|
|
175
|
+
import simplejson as json
|
|
176
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
177
|
+
|
|
178
|
+
def __repr__(self):
|
|
179
|
+
"""For `print`"""
|
|
180
|
+
return self.to_str()
|
|
181
|
+
|
|
182
|
+
def __eq__(self, other):
|
|
183
|
+
"""Returns true if both objects are equal"""
|
|
184
|
+
if not isinstance(other, ListInternetBandwidthsResponse):
|
|
185
|
+
return False
|
|
186
|
+
|
|
187
|
+
return self.__dict__ == other.__dict__
|
|
188
|
+
|
|
189
|
+
def __ne__(self, other):
|
|
190
|
+
"""Returns true if both objects are not equal"""
|
|
191
|
+
return not self == other
|
|
@@ -0,0 +1,311 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class ListJobs:
|
|
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
|
+
'action': 'str',
|
|
20
|
+
'status': 'str',
|
|
21
|
+
'error_task': 'str',
|
|
22
|
+
'error_code': 'str',
|
|
23
|
+
'error_message': 'str',
|
|
24
|
+
'start_time': 'datetime',
|
|
25
|
+
'end_time': 'datetime'
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
attribute_map = {
|
|
29
|
+
'id': 'id',
|
|
30
|
+
'action': 'action',
|
|
31
|
+
'status': 'status',
|
|
32
|
+
'error_task': 'error_task',
|
|
33
|
+
'error_code': 'error_code',
|
|
34
|
+
'error_message': 'error_message',
|
|
35
|
+
'start_time': 'start_time',
|
|
36
|
+
'end_time': 'end_time'
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
def __init__(self, id=None, action=None, status=None, error_task=None, error_code=None, error_message=None, start_time=None, end_time=None):
|
|
40
|
+
r"""ListJobs
|
|
41
|
+
|
|
42
|
+
The model defined in huaweicloud sdk
|
|
43
|
+
|
|
44
|
+
:param id: Job的ID
|
|
45
|
+
:type id: str
|
|
46
|
+
:param action: 处理规则
|
|
47
|
+
:type action: str
|
|
48
|
+
:param status: 状态
|
|
49
|
+
:type status: str
|
|
50
|
+
:param error_task: error_task
|
|
51
|
+
:type error_task: str
|
|
52
|
+
:param error_code: error_code
|
|
53
|
+
:type error_code: str
|
|
54
|
+
:param error_message: error_message
|
|
55
|
+
:type error_message: str
|
|
56
|
+
:param start_time: 起始时间
|
|
57
|
+
:type start_time: datetime
|
|
58
|
+
:param end_time: 结束时间
|
|
59
|
+
:type end_time: datetime
|
|
60
|
+
"""
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
self._id = None
|
|
65
|
+
self._action = None
|
|
66
|
+
self._status = None
|
|
67
|
+
self._error_task = None
|
|
68
|
+
self._error_code = None
|
|
69
|
+
self._error_message = None
|
|
70
|
+
self._start_time = None
|
|
71
|
+
self._end_time = None
|
|
72
|
+
self.discriminator = None
|
|
73
|
+
|
|
74
|
+
if id is not None:
|
|
75
|
+
self.id = id
|
|
76
|
+
if action is not None:
|
|
77
|
+
self.action = action
|
|
78
|
+
if status is not None:
|
|
79
|
+
self.status = status
|
|
80
|
+
if error_task is not None:
|
|
81
|
+
self.error_task = error_task
|
|
82
|
+
if error_code is not None:
|
|
83
|
+
self.error_code = error_code
|
|
84
|
+
if error_message is not None:
|
|
85
|
+
self.error_message = error_message
|
|
86
|
+
if start_time is not None:
|
|
87
|
+
self.start_time = start_time
|
|
88
|
+
if end_time is not None:
|
|
89
|
+
self.end_time = end_time
|
|
90
|
+
|
|
91
|
+
@property
|
|
92
|
+
def id(self):
|
|
93
|
+
r"""Gets the id of this ListJobs.
|
|
94
|
+
|
|
95
|
+
Job的ID
|
|
96
|
+
|
|
97
|
+
:return: The id of this ListJobs.
|
|
98
|
+
:rtype: str
|
|
99
|
+
"""
|
|
100
|
+
return self._id
|
|
101
|
+
|
|
102
|
+
@id.setter
|
|
103
|
+
def id(self, id):
|
|
104
|
+
r"""Sets the id of this ListJobs.
|
|
105
|
+
|
|
106
|
+
Job的ID
|
|
107
|
+
|
|
108
|
+
:param id: The id of this ListJobs.
|
|
109
|
+
:type id: str
|
|
110
|
+
"""
|
|
111
|
+
self._id = id
|
|
112
|
+
|
|
113
|
+
@property
|
|
114
|
+
def action(self):
|
|
115
|
+
r"""Gets the action of this ListJobs.
|
|
116
|
+
|
|
117
|
+
处理规则
|
|
118
|
+
|
|
119
|
+
:return: The action of this ListJobs.
|
|
120
|
+
:rtype: str
|
|
121
|
+
"""
|
|
122
|
+
return self._action
|
|
123
|
+
|
|
124
|
+
@action.setter
|
|
125
|
+
def action(self, action):
|
|
126
|
+
r"""Sets the action of this ListJobs.
|
|
127
|
+
|
|
128
|
+
处理规则
|
|
129
|
+
|
|
130
|
+
:param action: The action of this ListJobs.
|
|
131
|
+
:type action: str
|
|
132
|
+
"""
|
|
133
|
+
self._action = action
|
|
134
|
+
|
|
135
|
+
@property
|
|
136
|
+
def status(self):
|
|
137
|
+
r"""Gets the status of this ListJobs.
|
|
138
|
+
|
|
139
|
+
状态
|
|
140
|
+
|
|
141
|
+
:return: The status of this ListJobs.
|
|
142
|
+
:rtype: str
|
|
143
|
+
"""
|
|
144
|
+
return self._status
|
|
145
|
+
|
|
146
|
+
@status.setter
|
|
147
|
+
def status(self, status):
|
|
148
|
+
r"""Sets the status of this ListJobs.
|
|
149
|
+
|
|
150
|
+
状态
|
|
151
|
+
|
|
152
|
+
:param status: The status of this ListJobs.
|
|
153
|
+
:type status: str
|
|
154
|
+
"""
|
|
155
|
+
self._status = status
|
|
156
|
+
|
|
157
|
+
@property
|
|
158
|
+
def error_task(self):
|
|
159
|
+
r"""Gets the error_task of this ListJobs.
|
|
160
|
+
|
|
161
|
+
error_task
|
|
162
|
+
|
|
163
|
+
:return: The error_task of this ListJobs.
|
|
164
|
+
:rtype: str
|
|
165
|
+
"""
|
|
166
|
+
return self._error_task
|
|
167
|
+
|
|
168
|
+
@error_task.setter
|
|
169
|
+
def error_task(self, error_task):
|
|
170
|
+
r"""Sets the error_task of this ListJobs.
|
|
171
|
+
|
|
172
|
+
error_task
|
|
173
|
+
|
|
174
|
+
:param error_task: The error_task of this ListJobs.
|
|
175
|
+
:type error_task: str
|
|
176
|
+
"""
|
|
177
|
+
self._error_task = error_task
|
|
178
|
+
|
|
179
|
+
@property
|
|
180
|
+
def error_code(self):
|
|
181
|
+
r"""Gets the error_code of this ListJobs.
|
|
182
|
+
|
|
183
|
+
error_code
|
|
184
|
+
|
|
185
|
+
:return: The error_code of this ListJobs.
|
|
186
|
+
:rtype: str
|
|
187
|
+
"""
|
|
188
|
+
return self._error_code
|
|
189
|
+
|
|
190
|
+
@error_code.setter
|
|
191
|
+
def error_code(self, error_code):
|
|
192
|
+
r"""Sets the error_code of this ListJobs.
|
|
193
|
+
|
|
194
|
+
error_code
|
|
195
|
+
|
|
196
|
+
:param error_code: The error_code of this ListJobs.
|
|
197
|
+
:type error_code: str
|
|
198
|
+
"""
|
|
199
|
+
self._error_code = error_code
|
|
200
|
+
|
|
201
|
+
@property
|
|
202
|
+
def error_message(self):
|
|
203
|
+
r"""Gets the error_message of this ListJobs.
|
|
204
|
+
|
|
205
|
+
error_message
|
|
206
|
+
|
|
207
|
+
:return: The error_message of this ListJobs.
|
|
208
|
+
:rtype: str
|
|
209
|
+
"""
|
|
210
|
+
return self._error_message
|
|
211
|
+
|
|
212
|
+
@error_message.setter
|
|
213
|
+
def error_message(self, error_message):
|
|
214
|
+
r"""Sets the error_message of this ListJobs.
|
|
215
|
+
|
|
216
|
+
error_message
|
|
217
|
+
|
|
218
|
+
:param error_message: The error_message of this ListJobs.
|
|
219
|
+
:type error_message: str
|
|
220
|
+
"""
|
|
221
|
+
self._error_message = error_message
|
|
222
|
+
|
|
223
|
+
@property
|
|
224
|
+
def start_time(self):
|
|
225
|
+
r"""Gets the start_time of this ListJobs.
|
|
226
|
+
|
|
227
|
+
起始时间
|
|
228
|
+
|
|
229
|
+
:return: The start_time of this ListJobs.
|
|
230
|
+
:rtype: datetime
|
|
231
|
+
"""
|
|
232
|
+
return self._start_time
|
|
233
|
+
|
|
234
|
+
@start_time.setter
|
|
235
|
+
def start_time(self, start_time):
|
|
236
|
+
r"""Sets the start_time of this ListJobs.
|
|
237
|
+
|
|
238
|
+
起始时间
|
|
239
|
+
|
|
240
|
+
:param start_time: The start_time of this ListJobs.
|
|
241
|
+
:type start_time: datetime
|
|
242
|
+
"""
|
|
243
|
+
self._start_time = start_time
|
|
244
|
+
|
|
245
|
+
@property
|
|
246
|
+
def end_time(self):
|
|
247
|
+
r"""Gets the end_time of this ListJobs.
|
|
248
|
+
|
|
249
|
+
结束时间
|
|
250
|
+
|
|
251
|
+
:return: The end_time of this ListJobs.
|
|
252
|
+
:rtype: datetime
|
|
253
|
+
"""
|
|
254
|
+
return self._end_time
|
|
255
|
+
|
|
256
|
+
@end_time.setter
|
|
257
|
+
def end_time(self, end_time):
|
|
258
|
+
r"""Sets the end_time of this ListJobs.
|
|
259
|
+
|
|
260
|
+
结束时间
|
|
261
|
+
|
|
262
|
+
:param end_time: The end_time of this ListJobs.
|
|
263
|
+
:type end_time: datetime
|
|
264
|
+
"""
|
|
265
|
+
self._end_time = end_time
|
|
266
|
+
|
|
267
|
+
def to_dict(self):
|
|
268
|
+
result = {}
|
|
269
|
+
|
|
270
|
+
for attr, _ in self.openapi_types.items():
|
|
271
|
+
value = getattr(self, attr)
|
|
272
|
+
if isinstance(value, list):
|
|
273
|
+
result[attr] = list(map(
|
|
274
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
275
|
+
value
|
|
276
|
+
))
|
|
277
|
+
elif hasattr(value, "to_dict"):
|
|
278
|
+
result[attr] = value.to_dict()
|
|
279
|
+
elif isinstance(value, dict):
|
|
280
|
+
result[attr] = dict(map(
|
|
281
|
+
lambda item: (item[0], item[1].to_dict())
|
|
282
|
+
if hasattr(item[1], "to_dict") else item,
|
|
283
|
+
value.items()
|
|
284
|
+
))
|
|
285
|
+
else:
|
|
286
|
+
if attr in self.sensitive_list:
|
|
287
|
+
result[attr] = "****"
|
|
288
|
+
else:
|
|
289
|
+
result[attr] = value
|
|
290
|
+
|
|
291
|
+
return result
|
|
292
|
+
|
|
293
|
+
def to_str(self):
|
|
294
|
+
"""Returns the string representation of the model"""
|
|
295
|
+
import simplejson as json
|
|
296
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
297
|
+
|
|
298
|
+
def __repr__(self):
|
|
299
|
+
"""For `print`"""
|
|
300
|
+
return self.to_str()
|
|
301
|
+
|
|
302
|
+
def __eq__(self, other):
|
|
303
|
+
"""Returns true if both objects are equal"""
|
|
304
|
+
if not isinstance(other, ListJobs):
|
|
305
|
+
return False
|
|
306
|
+
|
|
307
|
+
return self.__dict__ == other.__dict__
|
|
308
|
+
|
|
309
|
+
def __ne__(self, other):
|
|
310
|
+
"""Returns true if both objects are not equal"""
|
|
311
|
+
return not self == other
|