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,311 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class ShowJob:
|
|
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"""ShowJob
|
|
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 ShowJob.
|
|
94
|
+
|
|
95
|
+
Job的ID
|
|
96
|
+
|
|
97
|
+
:return: The id of this ShowJob.
|
|
98
|
+
:rtype: str
|
|
99
|
+
"""
|
|
100
|
+
return self._id
|
|
101
|
+
|
|
102
|
+
@id.setter
|
|
103
|
+
def id(self, id):
|
|
104
|
+
r"""Sets the id of this ShowJob.
|
|
105
|
+
|
|
106
|
+
Job的ID
|
|
107
|
+
|
|
108
|
+
:param id: The id of this ShowJob.
|
|
109
|
+
:type id: str
|
|
110
|
+
"""
|
|
111
|
+
self._id = id
|
|
112
|
+
|
|
113
|
+
@property
|
|
114
|
+
def action(self):
|
|
115
|
+
r"""Gets the action of this ShowJob.
|
|
116
|
+
|
|
117
|
+
处理规则
|
|
118
|
+
|
|
119
|
+
:return: The action of this ShowJob.
|
|
120
|
+
:rtype: str
|
|
121
|
+
"""
|
|
122
|
+
return self._action
|
|
123
|
+
|
|
124
|
+
@action.setter
|
|
125
|
+
def action(self, action):
|
|
126
|
+
r"""Sets the action of this ShowJob.
|
|
127
|
+
|
|
128
|
+
处理规则
|
|
129
|
+
|
|
130
|
+
:param action: The action of this ShowJob.
|
|
131
|
+
:type action: str
|
|
132
|
+
"""
|
|
133
|
+
self._action = action
|
|
134
|
+
|
|
135
|
+
@property
|
|
136
|
+
def status(self):
|
|
137
|
+
r"""Gets the status of this ShowJob.
|
|
138
|
+
|
|
139
|
+
状态
|
|
140
|
+
|
|
141
|
+
:return: The status of this ShowJob.
|
|
142
|
+
:rtype: str
|
|
143
|
+
"""
|
|
144
|
+
return self._status
|
|
145
|
+
|
|
146
|
+
@status.setter
|
|
147
|
+
def status(self, status):
|
|
148
|
+
r"""Sets the status of this ShowJob.
|
|
149
|
+
|
|
150
|
+
状态
|
|
151
|
+
|
|
152
|
+
:param status: The status of this ShowJob.
|
|
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 ShowJob.
|
|
160
|
+
|
|
161
|
+
error_task
|
|
162
|
+
|
|
163
|
+
:return: The error_task of this ShowJob.
|
|
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 ShowJob.
|
|
171
|
+
|
|
172
|
+
error_task
|
|
173
|
+
|
|
174
|
+
:param error_task: The error_task of this ShowJob.
|
|
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 ShowJob.
|
|
182
|
+
|
|
183
|
+
error_code
|
|
184
|
+
|
|
185
|
+
:return: The error_code of this ShowJob.
|
|
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 ShowJob.
|
|
193
|
+
|
|
194
|
+
error_code
|
|
195
|
+
|
|
196
|
+
:param error_code: The error_code of this ShowJob.
|
|
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 ShowJob.
|
|
204
|
+
|
|
205
|
+
error_message
|
|
206
|
+
|
|
207
|
+
:return: The error_message of this ShowJob.
|
|
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 ShowJob.
|
|
215
|
+
|
|
216
|
+
error_message
|
|
217
|
+
|
|
218
|
+
:param error_message: The error_message of this ShowJob.
|
|
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 ShowJob.
|
|
226
|
+
|
|
227
|
+
起始时间
|
|
228
|
+
|
|
229
|
+
:return: The start_time of this ShowJob.
|
|
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 ShowJob.
|
|
237
|
+
|
|
238
|
+
起始时间
|
|
239
|
+
|
|
240
|
+
:param start_time: The start_time of this ShowJob.
|
|
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 ShowJob.
|
|
248
|
+
|
|
249
|
+
结束时间
|
|
250
|
+
|
|
251
|
+
:return: The end_time of this ShowJob.
|
|
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 ShowJob.
|
|
259
|
+
|
|
260
|
+
结束时间
|
|
261
|
+
|
|
262
|
+
:param end_time: The end_time of this ShowJob.
|
|
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, ShowJob):
|
|
305
|
+
return False
|
|
306
|
+
|
|
307
|
+
return self.__dict__ == other.__dict__
|
|
308
|
+
|
|
309
|
+
def __ne__(self, other):
|
|
310
|
+
"""Returns true if both objects are not equal"""
|
|
311
|
+
return not self == other
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class ShowJobsRequest:
|
|
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
|
+
'job_id': 'str',
|
|
19
|
+
'fields': 'list[str]'
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
attribute_map = {
|
|
23
|
+
'job_id': 'job_id',
|
|
24
|
+
'fields': 'fields'
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
def __init__(self, job_id=None, fields=None):
|
|
28
|
+
r"""ShowJobsRequest
|
|
29
|
+
|
|
30
|
+
The model defined in huaweicloud sdk
|
|
31
|
+
|
|
32
|
+
:param job_id: job_id
|
|
33
|
+
:type job_id: str
|
|
34
|
+
:param fields:
|
|
35
|
+
:type fields: list[str]
|
|
36
|
+
"""
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
self._job_id = None
|
|
41
|
+
self._fields = None
|
|
42
|
+
self.discriminator = None
|
|
43
|
+
|
|
44
|
+
self.job_id = job_id
|
|
45
|
+
if fields is not None:
|
|
46
|
+
self.fields = fields
|
|
47
|
+
|
|
48
|
+
@property
|
|
49
|
+
def job_id(self):
|
|
50
|
+
r"""Gets the job_id of this ShowJobsRequest.
|
|
51
|
+
|
|
52
|
+
job_id
|
|
53
|
+
|
|
54
|
+
:return: The job_id of this ShowJobsRequest.
|
|
55
|
+
:rtype: str
|
|
56
|
+
"""
|
|
57
|
+
return self._job_id
|
|
58
|
+
|
|
59
|
+
@job_id.setter
|
|
60
|
+
def job_id(self, job_id):
|
|
61
|
+
r"""Sets the job_id of this ShowJobsRequest.
|
|
62
|
+
|
|
63
|
+
job_id
|
|
64
|
+
|
|
65
|
+
:param job_id: The job_id of this ShowJobsRequest.
|
|
66
|
+
:type job_id: str
|
|
67
|
+
"""
|
|
68
|
+
self._job_id = job_id
|
|
69
|
+
|
|
70
|
+
@property
|
|
71
|
+
def fields(self):
|
|
72
|
+
r"""Gets the fields of this ShowJobsRequest.
|
|
73
|
+
|
|
74
|
+
:return: The fields of this ShowJobsRequest.
|
|
75
|
+
:rtype: list[str]
|
|
76
|
+
"""
|
|
77
|
+
return self._fields
|
|
78
|
+
|
|
79
|
+
@fields.setter
|
|
80
|
+
def fields(self, fields):
|
|
81
|
+
r"""Sets the fields of this ShowJobsRequest.
|
|
82
|
+
|
|
83
|
+
:param fields: The fields of this ShowJobsRequest.
|
|
84
|
+
:type fields: list[str]
|
|
85
|
+
"""
|
|
86
|
+
self._fields = fields
|
|
87
|
+
|
|
88
|
+
def to_dict(self):
|
|
89
|
+
result = {}
|
|
90
|
+
|
|
91
|
+
for attr, _ in self.openapi_types.items():
|
|
92
|
+
value = getattr(self, attr)
|
|
93
|
+
if isinstance(value, list):
|
|
94
|
+
result[attr] = list(map(
|
|
95
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
96
|
+
value
|
|
97
|
+
))
|
|
98
|
+
elif hasattr(value, "to_dict"):
|
|
99
|
+
result[attr] = value.to_dict()
|
|
100
|
+
elif isinstance(value, dict):
|
|
101
|
+
result[attr] = dict(map(
|
|
102
|
+
lambda item: (item[0], item[1].to_dict())
|
|
103
|
+
if hasattr(item[1], "to_dict") else item,
|
|
104
|
+
value.items()
|
|
105
|
+
))
|
|
106
|
+
else:
|
|
107
|
+
if attr in self.sensitive_list:
|
|
108
|
+
result[attr] = "****"
|
|
109
|
+
else:
|
|
110
|
+
result[attr] = value
|
|
111
|
+
|
|
112
|
+
return result
|
|
113
|
+
|
|
114
|
+
def to_str(self):
|
|
115
|
+
"""Returns the string representation of the model"""
|
|
116
|
+
import simplejson as json
|
|
117
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
118
|
+
|
|
119
|
+
def __repr__(self):
|
|
120
|
+
"""For `print`"""
|
|
121
|
+
return self.to_str()
|
|
122
|
+
|
|
123
|
+
def __eq__(self, other):
|
|
124
|
+
"""Returns true if both objects are equal"""
|
|
125
|
+
if not isinstance(other, ShowJobsRequest):
|
|
126
|
+
return False
|
|
127
|
+
|
|
128
|
+
return self.__dict__ == other.__dict__
|
|
129
|
+
|
|
130
|
+
def __ne__(self, other):
|
|
131
|
+
"""Returns true if both objects are not equal"""
|
|
132
|
+
return not self == other
|
|
@@ -0,0 +1,162 @@
|
|
|
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 ShowJobsResponse(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
|
+
'job': 'ShowJob',
|
|
21
|
+
'x_request_id': 'str'
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
attribute_map = {
|
|
25
|
+
'request_id': 'request_id',
|
|
26
|
+
'job': 'job',
|
|
27
|
+
'x_request_id': 'X-Request-Id'
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
def __init__(self, request_id=None, job=None, x_request_id=None):
|
|
31
|
+
r"""ShowJobsResponse
|
|
32
|
+
|
|
33
|
+
The model defined in huaweicloud sdk
|
|
34
|
+
|
|
35
|
+
:param request_id: 本次请求的编号
|
|
36
|
+
:type request_id: str
|
|
37
|
+
:param job:
|
|
38
|
+
:type job: :class:`huaweicloudsdkgeip.v3.ShowJob`
|
|
39
|
+
:param x_request_id:
|
|
40
|
+
:type x_request_id: str
|
|
41
|
+
"""
|
|
42
|
+
|
|
43
|
+
super().__init__()
|
|
44
|
+
|
|
45
|
+
self._request_id = None
|
|
46
|
+
self._job = None
|
|
47
|
+
self._x_request_id = None
|
|
48
|
+
self.discriminator = None
|
|
49
|
+
|
|
50
|
+
if request_id is not None:
|
|
51
|
+
self.request_id = request_id
|
|
52
|
+
if job is not None:
|
|
53
|
+
self.job = job
|
|
54
|
+
if x_request_id is not None:
|
|
55
|
+
self.x_request_id = x_request_id
|
|
56
|
+
|
|
57
|
+
@property
|
|
58
|
+
def request_id(self):
|
|
59
|
+
r"""Gets the request_id of this ShowJobsResponse.
|
|
60
|
+
|
|
61
|
+
本次请求的编号
|
|
62
|
+
|
|
63
|
+
:return: The request_id of this ShowJobsResponse.
|
|
64
|
+
:rtype: str
|
|
65
|
+
"""
|
|
66
|
+
return self._request_id
|
|
67
|
+
|
|
68
|
+
@request_id.setter
|
|
69
|
+
def request_id(self, request_id):
|
|
70
|
+
r"""Sets the request_id of this ShowJobsResponse.
|
|
71
|
+
|
|
72
|
+
本次请求的编号
|
|
73
|
+
|
|
74
|
+
:param request_id: The request_id of this ShowJobsResponse.
|
|
75
|
+
:type request_id: str
|
|
76
|
+
"""
|
|
77
|
+
self._request_id = request_id
|
|
78
|
+
|
|
79
|
+
@property
|
|
80
|
+
def job(self):
|
|
81
|
+
r"""Gets the job of this ShowJobsResponse.
|
|
82
|
+
|
|
83
|
+
:return: The job of this ShowJobsResponse.
|
|
84
|
+
:rtype: :class:`huaweicloudsdkgeip.v3.ShowJob`
|
|
85
|
+
"""
|
|
86
|
+
return self._job
|
|
87
|
+
|
|
88
|
+
@job.setter
|
|
89
|
+
def job(self, job):
|
|
90
|
+
r"""Sets the job of this ShowJobsResponse.
|
|
91
|
+
|
|
92
|
+
:param job: The job of this ShowJobsResponse.
|
|
93
|
+
:type job: :class:`huaweicloudsdkgeip.v3.ShowJob`
|
|
94
|
+
"""
|
|
95
|
+
self._job = job
|
|
96
|
+
|
|
97
|
+
@property
|
|
98
|
+
def x_request_id(self):
|
|
99
|
+
r"""Gets the x_request_id of this ShowJobsResponse.
|
|
100
|
+
|
|
101
|
+
:return: The x_request_id of this ShowJobsResponse.
|
|
102
|
+
:rtype: str
|
|
103
|
+
"""
|
|
104
|
+
return self._x_request_id
|
|
105
|
+
|
|
106
|
+
@x_request_id.setter
|
|
107
|
+
def x_request_id(self, x_request_id):
|
|
108
|
+
r"""Sets the x_request_id of this ShowJobsResponse.
|
|
109
|
+
|
|
110
|
+
:param x_request_id: The x_request_id of this ShowJobsResponse.
|
|
111
|
+
:type x_request_id: str
|
|
112
|
+
"""
|
|
113
|
+
self._x_request_id = x_request_id
|
|
114
|
+
|
|
115
|
+
def to_dict(self):
|
|
116
|
+
import warnings
|
|
117
|
+
warnings.warn("ShowJobsResponse.to_dict() is deprecated and no longer maintained, "
|
|
118
|
+
"use to_json_object() to get the response content.", DeprecationWarning)
|
|
119
|
+
result = {}
|
|
120
|
+
|
|
121
|
+
for attr, _ in self.openapi_types.items():
|
|
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
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
148
|
+
|
|
149
|
+
def __repr__(self):
|
|
150
|
+
"""For `print`"""
|
|
151
|
+
return self.to_str()
|
|
152
|
+
|
|
153
|
+
def __eq__(self, other):
|
|
154
|
+
"""Returns true if both objects are equal"""
|
|
155
|
+
if not isinstance(other, ShowJobsResponse):
|
|
156
|
+
return False
|
|
157
|
+
|
|
158
|
+
return self.__dict__ == other.__dict__
|
|
159
|
+
|
|
160
|
+
def __ne__(self, other):
|
|
161
|
+
"""Returns true if both objects are not equal"""
|
|
162
|
+
return not self == other
|