huaweicloudsdkdrs 3.1.63__py2.py3-none-any.whl → 3.1.64__py2.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.
- huaweicloudsdkdrs/v5/__init__.py +5 -0
- huaweicloudsdkdrs/v5/drs_async_client.py +122 -0
- huaweicloudsdkdrs/v5/drs_client.py +120 -0
- huaweicloudsdkdrs/v5/model/__init__.py +5 -0
- huaweicloudsdkdrs/v5/model/collect_position_async_request.py +168 -0
- huaweicloudsdkdrs/v5/model/collect_position_async_response.py +145 -0
- huaweicloudsdkdrs/v5/model/query_db_position_req.py +114 -0
- huaweicloudsdkdrs/v5/model/show_position_result_request.py +171 -0
- huaweicloudsdkdrs/v5/model/show_position_result_response.py +145 -0
- {huaweicloudsdkdrs-3.1.63.dist-info → huaweicloudsdkdrs-3.1.64.dist-info}/METADATA +2 -2
- {huaweicloudsdkdrs-3.1.63.dist-info → huaweicloudsdkdrs-3.1.64.dist-info}/RECORD +14 -9
- {huaweicloudsdkdrs-3.1.63.dist-info → huaweicloudsdkdrs-3.1.64.dist-info}/WHEEL +1 -1
- {huaweicloudsdkdrs-3.1.63.dist-info → huaweicloudsdkdrs-3.1.64.dist-info}/LICENSE +0 -0
- {huaweicloudsdkdrs-3.1.63.dist-info → huaweicloudsdkdrs-3.1.64.dist-info}/top_level.txt +0 -0
huaweicloudsdkdrs/v5/__init__.py
CHANGED
@@ -51,6 +51,8 @@ from huaweicloudsdkdrs.v5.model.collect_db_objects_async_request import CollectD
|
|
51
51
|
from huaweicloudsdkdrs.v5.model.collect_db_objects_async_response import CollectDbObjectsAsyncResponse
|
52
52
|
from huaweicloudsdkdrs.v5.model.collect_db_objects_info_request import CollectDbObjectsInfoRequest
|
53
53
|
from huaweicloudsdkdrs.v5.model.collect_db_objects_info_response import CollectDbObjectsInfoResponse
|
54
|
+
from huaweicloudsdkdrs.v5.model.collect_position_async_request import CollectPositionAsyncRequest
|
55
|
+
from huaweicloudsdkdrs.v5.model.collect_position_async_response import CollectPositionAsyncResponse
|
54
56
|
from huaweicloudsdkdrs.v5.model.column_object import ColumnObject
|
55
57
|
from huaweicloudsdkdrs.v5.model.commit_async_job_request import CommitAsyncJobRequest
|
56
58
|
from huaweicloudsdkdrs.v5.model.commit_async_job_response import CommitAsyncJobResponse
|
@@ -138,6 +140,7 @@ from huaweicloudsdkdrs.v5.model.progress_complete_info import ProgressCompleteIn
|
|
138
140
|
from huaweicloudsdkdrs.v5.model.project_tag import ProjectTag
|
139
141
|
from huaweicloudsdkdrs.v5.model.query_column_info import QueryColumnInfo
|
140
142
|
from huaweicloudsdkdrs.v5.model.query_column_req import QueryColumnReq
|
143
|
+
from huaweicloudsdkdrs.v5.model.query_db_position_req import QueryDbPositionReq
|
141
144
|
from huaweicloudsdkdrs.v5.model.query_metric_result import QueryMetricResult
|
142
145
|
from huaweicloudsdkdrs.v5.model.query_migration_object_progress_info import QueryMigrationObjectProgressInfo
|
143
146
|
from huaweicloudsdkdrs.v5.model.query_network_result import QueryNetworkResult
|
@@ -185,6 +188,8 @@ from huaweicloudsdkdrs.v5.model.show_monitor_data_request import ShowMonitorData
|
|
185
188
|
from huaweicloudsdkdrs.v5.model.show_monitor_data_response import ShowMonitorDataResponse
|
186
189
|
from huaweicloudsdkdrs.v5.model.show_object_mapping_request import ShowObjectMappingRequest
|
187
190
|
from huaweicloudsdkdrs.v5.model.show_object_mapping_response import ShowObjectMappingResponse
|
191
|
+
from huaweicloudsdkdrs.v5.model.show_position_result_request import ShowPositionResultRequest
|
192
|
+
from huaweicloudsdkdrs.v5.model.show_position_result_response import ShowPositionResultResponse
|
188
193
|
from huaweicloudsdkdrs.v5.model.show_progress_data_request import ShowProgressDataRequest
|
189
194
|
from huaweicloudsdkdrs.v5.model.show_progress_data_response import ShowProgressDataResponse
|
190
195
|
from huaweicloudsdkdrs.v5.model.show_support_object_type_request import ShowSupportObjectTypeRequest
|
@@ -585,6 +585,67 @@ class DrsAsyncClient(Client):
|
|
585
585
|
collection_formats=collection_formats,
|
586
586
|
request_type=request.__class__.__name__)
|
587
587
|
|
588
|
+
def collect_position_async_async(self, request):
|
589
|
+
"""采集数据库位点信息
|
590
|
+
|
591
|
+
采集数据库位点信息。
|
592
|
+
|
593
|
+
Please refer to HUAWEI cloud API Explorer for details.
|
594
|
+
|
595
|
+
|
596
|
+
:param request: Request instance for CollectPositionAsync
|
597
|
+
:type request: :class:`huaweicloudsdkdrs.v5.CollectPositionAsyncRequest`
|
598
|
+
:rtype: :class:`huaweicloudsdkdrs.v5.CollectPositionAsyncResponse`
|
599
|
+
"""
|
600
|
+
return self._collect_position_async_with_http_info(request)
|
601
|
+
|
602
|
+
def _collect_position_async_with_http_info(self, request):
|
603
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
604
|
+
|
605
|
+
cname = None
|
606
|
+
|
607
|
+
collection_formats = {}
|
608
|
+
|
609
|
+
path_params = {}
|
610
|
+
if 'job_id' in local_var_params:
|
611
|
+
path_params['job_id'] = local_var_params['job_id']
|
612
|
+
|
613
|
+
query_params = []
|
614
|
+
|
615
|
+
header_params = {}
|
616
|
+
if 'x_language' in local_var_params:
|
617
|
+
header_params['X-Language'] = local_var_params['x_language']
|
618
|
+
|
619
|
+
form_params = {}
|
620
|
+
|
621
|
+
body_params = None
|
622
|
+
if 'body' in local_var_params:
|
623
|
+
body_params = local_var_params['body']
|
624
|
+
if isinstance(request, SdkStreamRequest):
|
625
|
+
body_params = request.get_file_stream()
|
626
|
+
|
627
|
+
response_headers = []
|
628
|
+
|
629
|
+
header_params['Content-Type'] = http_utils.select_header_content_type(
|
630
|
+
['application/json'])
|
631
|
+
|
632
|
+
auth_settings = []
|
633
|
+
|
634
|
+
return self.call_api(
|
635
|
+
resource_path='/v5/{project_id}/jobs/{job_id}/collect-db-position',
|
636
|
+
method='POST',
|
637
|
+
path_params=path_params,
|
638
|
+
query_params=query_params,
|
639
|
+
header_params=header_params,
|
640
|
+
body=body_params,
|
641
|
+
post_params=form_params,
|
642
|
+
cname=cname,
|
643
|
+
response_type='CollectPositionAsyncResponse',
|
644
|
+
response_headers=response_headers,
|
645
|
+
auth_settings=auth_settings,
|
646
|
+
collection_formats=collection_formats,
|
647
|
+
request_type=request.__class__.__name__)
|
648
|
+
|
588
649
|
def commit_async_job_async(self, request):
|
589
650
|
"""提交批量创建异步任务
|
590
651
|
|
@@ -2721,6 +2782,67 @@ class DrsAsyncClient(Client):
|
|
2721
2782
|
collection_formats=collection_formats,
|
2722
2783
|
request_type=request.__class__.__name__)
|
2723
2784
|
|
2785
|
+
def show_position_result_async(self, request):
|
2786
|
+
"""获取查询数据库位点的结果
|
2787
|
+
|
2788
|
+
获取查询数据库位点的结果
|
2789
|
+
|
2790
|
+
Please refer to HUAWEI cloud API Explorer for details.
|
2791
|
+
|
2792
|
+
|
2793
|
+
:param request: Request instance for ShowPositionResult
|
2794
|
+
:type request: :class:`huaweicloudsdkdrs.v5.ShowPositionResultRequest`
|
2795
|
+
:rtype: :class:`huaweicloudsdkdrs.v5.ShowPositionResultResponse`
|
2796
|
+
"""
|
2797
|
+
return self._show_position_result_with_http_info(request)
|
2798
|
+
|
2799
|
+
def _show_position_result_with_http_info(self, request):
|
2800
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
2801
|
+
|
2802
|
+
cname = None
|
2803
|
+
|
2804
|
+
collection_formats = {}
|
2805
|
+
|
2806
|
+
path_params = {}
|
2807
|
+
if 'job_id' in local_var_params:
|
2808
|
+
path_params['job_id'] = local_var_params['job_id']
|
2809
|
+
|
2810
|
+
query_params = []
|
2811
|
+
if 'query_id' in local_var_params:
|
2812
|
+
query_params.append(('query_id', local_var_params['query_id']))
|
2813
|
+
|
2814
|
+
header_params = {}
|
2815
|
+
if 'x_language' in local_var_params:
|
2816
|
+
header_params['X-Language'] = local_var_params['x_language']
|
2817
|
+
|
2818
|
+
form_params = {}
|
2819
|
+
|
2820
|
+
body_params = None
|
2821
|
+
if isinstance(request, SdkStreamRequest):
|
2822
|
+
body_params = request.get_file_stream()
|
2823
|
+
|
2824
|
+
response_headers = []
|
2825
|
+
|
2826
|
+
header_params['Content-Type'] = http_utils.select_header_content_type(
|
2827
|
+
['application/json'])
|
2828
|
+
|
2829
|
+
auth_settings = []
|
2830
|
+
|
2831
|
+
return self.call_api(
|
2832
|
+
resource_path='/v5/{project_id}/jobs/{job_id}/db-position',
|
2833
|
+
method='GET',
|
2834
|
+
path_params=path_params,
|
2835
|
+
query_params=query_params,
|
2836
|
+
header_params=header_params,
|
2837
|
+
body=body_params,
|
2838
|
+
post_params=form_params,
|
2839
|
+
cname=cname,
|
2840
|
+
response_type='ShowPositionResultResponse',
|
2841
|
+
response_headers=response_headers,
|
2842
|
+
auth_settings=auth_settings,
|
2843
|
+
collection_formats=collection_formats,
|
2844
|
+
request_type=request.__class__.__name__)
|
2845
|
+
|
2724
2846
|
def show_progress_data_async(self, request):
|
2725
2847
|
"""查询数据级流式对比列表
|
2726
2848
|
|
@@ -576,6 +576,66 @@ class DrsClient(Client):
|
|
576
576
|
collection_formats=collection_formats,
|
577
577
|
request_type=request.__class__.__name__)
|
578
578
|
|
579
|
+
def collect_position_async(self, request):
|
580
|
+
"""采集数据库位点信息
|
581
|
+
|
582
|
+
采集数据库位点信息。
|
583
|
+
|
584
|
+
Please refer to HUAWEI cloud API Explorer for details.
|
585
|
+
|
586
|
+
:param request: Request instance for CollectPositionAsync
|
587
|
+
:type request: :class:`huaweicloudsdkdrs.v5.CollectPositionAsyncRequest`
|
588
|
+
:rtype: :class:`huaweicloudsdkdrs.v5.CollectPositionAsyncResponse`
|
589
|
+
"""
|
590
|
+
return self._collect_position_async_with_http_info(request)
|
591
|
+
|
592
|
+
def _collect_position_async_with_http_info(self, request):
|
593
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
594
|
+
|
595
|
+
cname = None
|
596
|
+
|
597
|
+
collection_formats = {}
|
598
|
+
|
599
|
+
path_params = {}
|
600
|
+
if 'job_id' in local_var_params:
|
601
|
+
path_params['job_id'] = local_var_params['job_id']
|
602
|
+
|
603
|
+
query_params = []
|
604
|
+
|
605
|
+
header_params = {}
|
606
|
+
if 'x_language' in local_var_params:
|
607
|
+
header_params['X-Language'] = local_var_params['x_language']
|
608
|
+
|
609
|
+
form_params = {}
|
610
|
+
|
611
|
+
body_params = None
|
612
|
+
if 'body' in local_var_params:
|
613
|
+
body_params = local_var_params['body']
|
614
|
+
if isinstance(request, SdkStreamRequest):
|
615
|
+
body_params = request.get_file_stream()
|
616
|
+
|
617
|
+
response_headers = []
|
618
|
+
|
619
|
+
header_params['Content-Type'] = http_utils.select_header_content_type(
|
620
|
+
['application/json'])
|
621
|
+
|
622
|
+
auth_settings = []
|
623
|
+
|
624
|
+
return self.call_api(
|
625
|
+
resource_path='/v5/{project_id}/jobs/{job_id}/collect-db-position',
|
626
|
+
method='POST',
|
627
|
+
path_params=path_params,
|
628
|
+
query_params=query_params,
|
629
|
+
header_params=header_params,
|
630
|
+
body=body_params,
|
631
|
+
post_params=form_params,
|
632
|
+
cname=cname,
|
633
|
+
response_type='CollectPositionAsyncResponse',
|
634
|
+
response_headers=response_headers,
|
635
|
+
auth_settings=auth_settings,
|
636
|
+
collection_formats=collection_formats,
|
637
|
+
request_type=request.__class__.__name__)
|
638
|
+
|
579
639
|
def commit_async_job(self, request):
|
580
640
|
"""提交批量创建异步任务
|
581
641
|
|
@@ -2678,6 +2738,66 @@ class DrsClient(Client):
|
|
2678
2738
|
collection_formats=collection_formats,
|
2679
2739
|
request_type=request.__class__.__name__)
|
2680
2740
|
|
2741
|
+
def show_position_result(self, request):
|
2742
|
+
"""获取查询数据库位点的结果
|
2743
|
+
|
2744
|
+
获取查询数据库位点的结果
|
2745
|
+
|
2746
|
+
Please refer to HUAWEI cloud API Explorer for details.
|
2747
|
+
|
2748
|
+
:param request: Request instance for ShowPositionResult
|
2749
|
+
:type request: :class:`huaweicloudsdkdrs.v5.ShowPositionResultRequest`
|
2750
|
+
:rtype: :class:`huaweicloudsdkdrs.v5.ShowPositionResultResponse`
|
2751
|
+
"""
|
2752
|
+
return self._show_position_result_with_http_info(request)
|
2753
|
+
|
2754
|
+
def _show_position_result_with_http_info(self, request):
|
2755
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
2756
|
+
|
2757
|
+
cname = None
|
2758
|
+
|
2759
|
+
collection_formats = {}
|
2760
|
+
|
2761
|
+
path_params = {}
|
2762
|
+
if 'job_id' in local_var_params:
|
2763
|
+
path_params['job_id'] = local_var_params['job_id']
|
2764
|
+
|
2765
|
+
query_params = []
|
2766
|
+
if 'query_id' in local_var_params:
|
2767
|
+
query_params.append(('query_id', local_var_params['query_id']))
|
2768
|
+
|
2769
|
+
header_params = {}
|
2770
|
+
if 'x_language' in local_var_params:
|
2771
|
+
header_params['X-Language'] = local_var_params['x_language']
|
2772
|
+
|
2773
|
+
form_params = {}
|
2774
|
+
|
2775
|
+
body_params = None
|
2776
|
+
if isinstance(request, SdkStreamRequest):
|
2777
|
+
body_params = request.get_file_stream()
|
2778
|
+
|
2779
|
+
response_headers = []
|
2780
|
+
|
2781
|
+
header_params['Content-Type'] = http_utils.select_header_content_type(
|
2782
|
+
['application/json'])
|
2783
|
+
|
2784
|
+
auth_settings = []
|
2785
|
+
|
2786
|
+
return self.call_api(
|
2787
|
+
resource_path='/v5/{project_id}/jobs/{job_id}/db-position',
|
2788
|
+
method='GET',
|
2789
|
+
path_params=path_params,
|
2790
|
+
query_params=query_params,
|
2791
|
+
header_params=header_params,
|
2792
|
+
body=body_params,
|
2793
|
+
post_params=form_params,
|
2794
|
+
cname=cname,
|
2795
|
+
response_type='ShowPositionResultResponse',
|
2796
|
+
response_headers=response_headers,
|
2797
|
+
auth_settings=auth_settings,
|
2798
|
+
collection_formats=collection_formats,
|
2799
|
+
request_type=request.__class__.__name__)
|
2800
|
+
|
2681
2801
|
def show_progress_data(self, request):
|
2682
2802
|
"""查询数据级流式对比列表
|
2683
2803
|
|
@@ -49,6 +49,8 @@ from huaweicloudsdkdrs.v5.model.collect_db_objects_async_request import CollectD
|
|
49
49
|
from huaweicloudsdkdrs.v5.model.collect_db_objects_async_response import CollectDbObjectsAsyncResponse
|
50
50
|
from huaweicloudsdkdrs.v5.model.collect_db_objects_info_request import CollectDbObjectsInfoRequest
|
51
51
|
from huaweicloudsdkdrs.v5.model.collect_db_objects_info_response import CollectDbObjectsInfoResponse
|
52
|
+
from huaweicloudsdkdrs.v5.model.collect_position_async_request import CollectPositionAsyncRequest
|
53
|
+
from huaweicloudsdkdrs.v5.model.collect_position_async_response import CollectPositionAsyncResponse
|
52
54
|
from huaweicloudsdkdrs.v5.model.column_object import ColumnObject
|
53
55
|
from huaweicloudsdkdrs.v5.model.commit_async_job_request import CommitAsyncJobRequest
|
54
56
|
from huaweicloudsdkdrs.v5.model.commit_async_job_response import CommitAsyncJobResponse
|
@@ -136,6 +138,7 @@ from huaweicloudsdkdrs.v5.model.progress_complete_info import ProgressCompleteIn
|
|
136
138
|
from huaweicloudsdkdrs.v5.model.project_tag import ProjectTag
|
137
139
|
from huaweicloudsdkdrs.v5.model.query_column_info import QueryColumnInfo
|
138
140
|
from huaweicloudsdkdrs.v5.model.query_column_req import QueryColumnReq
|
141
|
+
from huaweicloudsdkdrs.v5.model.query_db_position_req import QueryDbPositionReq
|
139
142
|
from huaweicloudsdkdrs.v5.model.query_metric_result import QueryMetricResult
|
140
143
|
from huaweicloudsdkdrs.v5.model.query_migration_object_progress_info import QueryMigrationObjectProgressInfo
|
141
144
|
from huaweicloudsdkdrs.v5.model.query_network_result import QueryNetworkResult
|
@@ -183,6 +186,8 @@ from huaweicloudsdkdrs.v5.model.show_monitor_data_request import ShowMonitorData
|
|
183
186
|
from huaweicloudsdkdrs.v5.model.show_monitor_data_response import ShowMonitorDataResponse
|
184
187
|
from huaweicloudsdkdrs.v5.model.show_object_mapping_request import ShowObjectMappingRequest
|
185
188
|
from huaweicloudsdkdrs.v5.model.show_object_mapping_response import ShowObjectMappingResponse
|
189
|
+
from huaweicloudsdkdrs.v5.model.show_position_result_request import ShowPositionResultRequest
|
190
|
+
from huaweicloudsdkdrs.v5.model.show_position_result_response import ShowPositionResultResponse
|
186
191
|
from huaweicloudsdkdrs.v5.model.show_progress_data_request import ShowProgressDataRequest
|
187
192
|
from huaweicloudsdkdrs.v5.model.show_progress_data_response import ShowProgressDataResponse
|
188
193
|
from huaweicloudsdkdrs.v5.model.show_support_object_type_request import ShowSupportObjectTypeRequest
|
@@ -0,0 +1,168 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class CollectPositionAsyncRequest:
|
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
|
+
'job_id': 'str',
|
21
|
+
'x_language': 'str',
|
22
|
+
'body': 'QueryDbPositionReq'
|
23
|
+
}
|
24
|
+
|
25
|
+
attribute_map = {
|
26
|
+
'job_id': 'job_id',
|
27
|
+
'x_language': 'X-Language',
|
28
|
+
'body': 'body'
|
29
|
+
}
|
30
|
+
|
31
|
+
def __init__(self, job_id=None, x_language=None, body=None):
|
32
|
+
"""CollectPositionAsyncRequest
|
33
|
+
|
34
|
+
The model defined in huaweicloud sdk
|
35
|
+
|
36
|
+
:param job_id: 任务ID
|
37
|
+
:type job_id: str
|
38
|
+
:param x_language: 请求语言类型。
|
39
|
+
:type x_language: str
|
40
|
+
:param body: Body of the CollectPositionAsyncRequest
|
41
|
+
:type body: :class:`huaweicloudsdkdrs.v5.QueryDbPositionReq`
|
42
|
+
"""
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
self._job_id = None
|
47
|
+
self._x_language = None
|
48
|
+
self._body = None
|
49
|
+
self.discriminator = None
|
50
|
+
|
51
|
+
self.job_id = job_id
|
52
|
+
if x_language is not None:
|
53
|
+
self.x_language = x_language
|
54
|
+
if body is not None:
|
55
|
+
self.body = body
|
56
|
+
|
57
|
+
@property
|
58
|
+
def job_id(self):
|
59
|
+
"""Gets the job_id of this CollectPositionAsyncRequest.
|
60
|
+
|
61
|
+
任务ID
|
62
|
+
|
63
|
+
:return: The job_id of this CollectPositionAsyncRequest.
|
64
|
+
:rtype: str
|
65
|
+
"""
|
66
|
+
return self._job_id
|
67
|
+
|
68
|
+
@job_id.setter
|
69
|
+
def job_id(self, job_id):
|
70
|
+
"""Sets the job_id of this CollectPositionAsyncRequest.
|
71
|
+
|
72
|
+
任务ID
|
73
|
+
|
74
|
+
:param job_id: The job_id of this CollectPositionAsyncRequest.
|
75
|
+
:type job_id: str
|
76
|
+
"""
|
77
|
+
self._job_id = job_id
|
78
|
+
|
79
|
+
@property
|
80
|
+
def x_language(self):
|
81
|
+
"""Gets the x_language of this CollectPositionAsyncRequest.
|
82
|
+
|
83
|
+
请求语言类型。
|
84
|
+
|
85
|
+
:return: The x_language of this CollectPositionAsyncRequest.
|
86
|
+
:rtype: str
|
87
|
+
"""
|
88
|
+
return self._x_language
|
89
|
+
|
90
|
+
@x_language.setter
|
91
|
+
def x_language(self, x_language):
|
92
|
+
"""Sets the x_language of this CollectPositionAsyncRequest.
|
93
|
+
|
94
|
+
请求语言类型。
|
95
|
+
|
96
|
+
:param x_language: The x_language of this CollectPositionAsyncRequest.
|
97
|
+
:type x_language: str
|
98
|
+
"""
|
99
|
+
self._x_language = x_language
|
100
|
+
|
101
|
+
@property
|
102
|
+
def body(self):
|
103
|
+
"""Gets the body of this CollectPositionAsyncRequest.
|
104
|
+
|
105
|
+
:return: The body of this CollectPositionAsyncRequest.
|
106
|
+
:rtype: :class:`huaweicloudsdkdrs.v5.QueryDbPositionReq`
|
107
|
+
"""
|
108
|
+
return self._body
|
109
|
+
|
110
|
+
@body.setter
|
111
|
+
def body(self, body):
|
112
|
+
"""Sets the body of this CollectPositionAsyncRequest.
|
113
|
+
|
114
|
+
:param body: The body of this CollectPositionAsyncRequest.
|
115
|
+
:type body: :class:`huaweicloudsdkdrs.v5.QueryDbPositionReq`
|
116
|
+
"""
|
117
|
+
self._body = body
|
118
|
+
|
119
|
+
def to_dict(self):
|
120
|
+
"""Returns the model properties as a dict"""
|
121
|
+
result = {}
|
122
|
+
|
123
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
124
|
+
value = getattr(self, attr)
|
125
|
+
if isinstance(value, list):
|
126
|
+
result[attr] = list(map(
|
127
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
128
|
+
value
|
129
|
+
))
|
130
|
+
elif hasattr(value, "to_dict"):
|
131
|
+
result[attr] = value.to_dict()
|
132
|
+
elif isinstance(value, dict):
|
133
|
+
result[attr] = dict(map(
|
134
|
+
lambda item: (item[0], item[1].to_dict())
|
135
|
+
if hasattr(item[1], "to_dict") else item,
|
136
|
+
value.items()
|
137
|
+
))
|
138
|
+
else:
|
139
|
+
if attr in self.sensitive_list:
|
140
|
+
result[attr] = "****"
|
141
|
+
else:
|
142
|
+
result[attr] = value
|
143
|
+
|
144
|
+
return result
|
145
|
+
|
146
|
+
def to_str(self):
|
147
|
+
"""Returns the string representation of the model"""
|
148
|
+
import simplejson as json
|
149
|
+
if six.PY2:
|
150
|
+
import sys
|
151
|
+
reload(sys)
|
152
|
+
sys.setdefaultencoding("utf-8")
|
153
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
154
|
+
|
155
|
+
def __repr__(self):
|
156
|
+
"""For `print`"""
|
157
|
+
return self.to_str()
|
158
|
+
|
159
|
+
def __eq__(self, other):
|
160
|
+
"""Returns true if both objects are equal"""
|
161
|
+
if not isinstance(other, CollectPositionAsyncRequest):
|
162
|
+
return False
|
163
|
+
|
164
|
+
return self.__dict__ == other.__dict__
|
165
|
+
|
166
|
+
def __ne__(self, other):
|
167
|
+
"""Returns true if both objects are not equal"""
|
168
|
+
return not self == other
|
@@ -0,0 +1,145 @@
|
|
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 CollectPositionAsyncResponse(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
|
+
'id': 'str',
|
22
|
+
'status': 'str'
|
23
|
+
}
|
24
|
+
|
25
|
+
attribute_map = {
|
26
|
+
'id': 'id',
|
27
|
+
'status': 'status'
|
28
|
+
}
|
29
|
+
|
30
|
+
def __init__(self, id=None, status=None):
|
31
|
+
"""CollectPositionAsyncResponse
|
32
|
+
|
33
|
+
The model defined in huaweicloud sdk
|
34
|
+
|
35
|
+
:param id: 查询结果id
|
36
|
+
:type id: str
|
37
|
+
:param status: 查询状态
|
38
|
+
:type status: str
|
39
|
+
"""
|
40
|
+
|
41
|
+
super(CollectPositionAsyncResponse, self).__init__()
|
42
|
+
|
43
|
+
self._id = None
|
44
|
+
self._status = None
|
45
|
+
self.discriminator = None
|
46
|
+
|
47
|
+
if id is not None:
|
48
|
+
self.id = id
|
49
|
+
if status is not None:
|
50
|
+
self.status = status
|
51
|
+
|
52
|
+
@property
|
53
|
+
def id(self):
|
54
|
+
"""Gets the id of this CollectPositionAsyncResponse.
|
55
|
+
|
56
|
+
查询结果id
|
57
|
+
|
58
|
+
:return: The id of this CollectPositionAsyncResponse.
|
59
|
+
:rtype: str
|
60
|
+
"""
|
61
|
+
return self._id
|
62
|
+
|
63
|
+
@id.setter
|
64
|
+
def id(self, id):
|
65
|
+
"""Sets the id of this CollectPositionAsyncResponse.
|
66
|
+
|
67
|
+
查询结果id
|
68
|
+
|
69
|
+
:param id: The id of this CollectPositionAsyncResponse.
|
70
|
+
:type id: str
|
71
|
+
"""
|
72
|
+
self._id = id
|
73
|
+
|
74
|
+
@property
|
75
|
+
def status(self):
|
76
|
+
"""Gets the status of this CollectPositionAsyncResponse.
|
77
|
+
|
78
|
+
查询状态
|
79
|
+
|
80
|
+
:return: The status of this CollectPositionAsyncResponse.
|
81
|
+
:rtype: str
|
82
|
+
"""
|
83
|
+
return self._status
|
84
|
+
|
85
|
+
@status.setter
|
86
|
+
def status(self, status):
|
87
|
+
"""Sets the status of this CollectPositionAsyncResponse.
|
88
|
+
|
89
|
+
查询状态
|
90
|
+
|
91
|
+
:param status: The status of this CollectPositionAsyncResponse.
|
92
|
+
:type status: str
|
93
|
+
"""
|
94
|
+
self._status = status
|
95
|
+
|
96
|
+
def to_dict(self):
|
97
|
+
"""Returns the model properties as a dict"""
|
98
|
+
result = {}
|
99
|
+
|
100
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
101
|
+
value = getattr(self, attr)
|
102
|
+
if isinstance(value, list):
|
103
|
+
result[attr] = list(map(
|
104
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
105
|
+
value
|
106
|
+
))
|
107
|
+
elif hasattr(value, "to_dict"):
|
108
|
+
result[attr] = value.to_dict()
|
109
|
+
elif isinstance(value, dict):
|
110
|
+
result[attr] = dict(map(
|
111
|
+
lambda item: (item[0], item[1].to_dict())
|
112
|
+
if hasattr(item[1], "to_dict") else item,
|
113
|
+
value.items()
|
114
|
+
))
|
115
|
+
else:
|
116
|
+
if attr in self.sensitive_list:
|
117
|
+
result[attr] = "****"
|
118
|
+
else:
|
119
|
+
result[attr] = value
|
120
|
+
|
121
|
+
return result
|
122
|
+
|
123
|
+
def to_str(self):
|
124
|
+
"""Returns the string representation of the model"""
|
125
|
+
import simplejson as json
|
126
|
+
if six.PY2:
|
127
|
+
import sys
|
128
|
+
reload(sys)
|
129
|
+
sys.setdefaultencoding("utf-8")
|
130
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
131
|
+
|
132
|
+
def __repr__(self):
|
133
|
+
"""For `print`"""
|
134
|
+
return self.to_str()
|
135
|
+
|
136
|
+
def __eq__(self, other):
|
137
|
+
"""Returns true if both objects are equal"""
|
138
|
+
if not isinstance(other, CollectPositionAsyncResponse):
|
139
|
+
return False
|
140
|
+
|
141
|
+
return self.__dict__ == other.__dict__
|
142
|
+
|
143
|
+
def __ne__(self, other):
|
144
|
+
"""Returns true if both objects are not equal"""
|
145
|
+
return not self == other
|
@@ -0,0 +1,114 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class QueryDbPositionReq:
|
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
|
+
'reset_position_time': 'str'
|
21
|
+
}
|
22
|
+
|
23
|
+
attribute_map = {
|
24
|
+
'reset_position_time': 'reset_position_time'
|
25
|
+
}
|
26
|
+
|
27
|
+
def __init__(self, reset_position_time=None):
|
28
|
+
"""QueryDbPositionReq
|
29
|
+
|
30
|
+
The model defined in huaweicloud sdk
|
31
|
+
|
32
|
+
:param reset_position_time: 重置位点时间, 使用UTC时间 示例:2023-09-19 15:00:00,UTC时间是2023-09-19T07:00:00Z
|
33
|
+
:type reset_position_time: str
|
34
|
+
"""
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
self._reset_position_time = None
|
39
|
+
self.discriminator = None
|
40
|
+
|
41
|
+
self.reset_position_time = reset_position_time
|
42
|
+
|
43
|
+
@property
|
44
|
+
def reset_position_time(self):
|
45
|
+
"""Gets the reset_position_time of this QueryDbPositionReq.
|
46
|
+
|
47
|
+
重置位点时间, 使用UTC时间 示例:2023-09-19 15:00:00,UTC时间是2023-09-19T07:00:00Z
|
48
|
+
|
49
|
+
:return: The reset_position_time of this QueryDbPositionReq.
|
50
|
+
:rtype: str
|
51
|
+
"""
|
52
|
+
return self._reset_position_time
|
53
|
+
|
54
|
+
@reset_position_time.setter
|
55
|
+
def reset_position_time(self, reset_position_time):
|
56
|
+
"""Sets the reset_position_time of this QueryDbPositionReq.
|
57
|
+
|
58
|
+
重置位点时间, 使用UTC时间 示例:2023-09-19 15:00:00,UTC时间是2023-09-19T07:00:00Z
|
59
|
+
|
60
|
+
:param reset_position_time: The reset_position_time of this QueryDbPositionReq.
|
61
|
+
:type reset_position_time: str
|
62
|
+
"""
|
63
|
+
self._reset_position_time = reset_position_time
|
64
|
+
|
65
|
+
def to_dict(self):
|
66
|
+
"""Returns the model properties as a dict"""
|
67
|
+
result = {}
|
68
|
+
|
69
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
70
|
+
value = getattr(self, attr)
|
71
|
+
if isinstance(value, list):
|
72
|
+
result[attr] = list(map(
|
73
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
74
|
+
value
|
75
|
+
))
|
76
|
+
elif hasattr(value, "to_dict"):
|
77
|
+
result[attr] = value.to_dict()
|
78
|
+
elif isinstance(value, dict):
|
79
|
+
result[attr] = dict(map(
|
80
|
+
lambda item: (item[0], item[1].to_dict())
|
81
|
+
if hasattr(item[1], "to_dict") else item,
|
82
|
+
value.items()
|
83
|
+
))
|
84
|
+
else:
|
85
|
+
if attr in self.sensitive_list:
|
86
|
+
result[attr] = "****"
|
87
|
+
else:
|
88
|
+
result[attr] = value
|
89
|
+
|
90
|
+
return result
|
91
|
+
|
92
|
+
def to_str(self):
|
93
|
+
"""Returns the string representation of the model"""
|
94
|
+
import simplejson as json
|
95
|
+
if six.PY2:
|
96
|
+
import sys
|
97
|
+
reload(sys)
|
98
|
+
sys.setdefaultencoding("utf-8")
|
99
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
100
|
+
|
101
|
+
def __repr__(self):
|
102
|
+
"""For `print`"""
|
103
|
+
return self.to_str()
|
104
|
+
|
105
|
+
def __eq__(self, other):
|
106
|
+
"""Returns true if both objects are equal"""
|
107
|
+
if not isinstance(other, QueryDbPositionReq):
|
108
|
+
return False
|
109
|
+
|
110
|
+
return self.__dict__ == other.__dict__
|
111
|
+
|
112
|
+
def __ne__(self, other):
|
113
|
+
"""Returns true if both objects are not equal"""
|
114
|
+
return not self == other
|
@@ -0,0 +1,171 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class ShowPositionResultRequest:
|
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
|
+
'x_language': 'str',
|
21
|
+
'job_id': 'str',
|
22
|
+
'query_id': 'str'
|
23
|
+
}
|
24
|
+
|
25
|
+
attribute_map = {
|
26
|
+
'x_language': 'X-Language',
|
27
|
+
'job_id': 'job_id',
|
28
|
+
'query_id': 'query_id'
|
29
|
+
}
|
30
|
+
|
31
|
+
def __init__(self, x_language=None, job_id=None, query_id=None):
|
32
|
+
"""ShowPositionResultRequest
|
33
|
+
|
34
|
+
The model defined in huaweicloud sdk
|
35
|
+
|
36
|
+
:param x_language: 请求语言类型。
|
37
|
+
:type x_language: str
|
38
|
+
:param job_id: 任务ID。
|
39
|
+
:type job_id: str
|
40
|
+
:param query_id: 位点信息采集的ID,由采集数据库位点信息接口返回的ID。
|
41
|
+
:type query_id: str
|
42
|
+
"""
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
self._x_language = None
|
47
|
+
self._job_id = None
|
48
|
+
self._query_id = None
|
49
|
+
self.discriminator = None
|
50
|
+
|
51
|
+
if x_language is not None:
|
52
|
+
self.x_language = x_language
|
53
|
+
self.job_id = job_id
|
54
|
+
self.query_id = query_id
|
55
|
+
|
56
|
+
@property
|
57
|
+
def x_language(self):
|
58
|
+
"""Gets the x_language of this ShowPositionResultRequest.
|
59
|
+
|
60
|
+
请求语言类型。
|
61
|
+
|
62
|
+
:return: The x_language of this ShowPositionResultRequest.
|
63
|
+
:rtype: str
|
64
|
+
"""
|
65
|
+
return self._x_language
|
66
|
+
|
67
|
+
@x_language.setter
|
68
|
+
def x_language(self, x_language):
|
69
|
+
"""Sets the x_language of this ShowPositionResultRequest.
|
70
|
+
|
71
|
+
请求语言类型。
|
72
|
+
|
73
|
+
:param x_language: The x_language of this ShowPositionResultRequest.
|
74
|
+
:type x_language: str
|
75
|
+
"""
|
76
|
+
self._x_language = x_language
|
77
|
+
|
78
|
+
@property
|
79
|
+
def job_id(self):
|
80
|
+
"""Gets the job_id of this ShowPositionResultRequest.
|
81
|
+
|
82
|
+
任务ID。
|
83
|
+
|
84
|
+
:return: The job_id of this ShowPositionResultRequest.
|
85
|
+
:rtype: str
|
86
|
+
"""
|
87
|
+
return self._job_id
|
88
|
+
|
89
|
+
@job_id.setter
|
90
|
+
def job_id(self, job_id):
|
91
|
+
"""Sets the job_id of this ShowPositionResultRequest.
|
92
|
+
|
93
|
+
任务ID。
|
94
|
+
|
95
|
+
:param job_id: The job_id of this ShowPositionResultRequest.
|
96
|
+
:type job_id: str
|
97
|
+
"""
|
98
|
+
self._job_id = job_id
|
99
|
+
|
100
|
+
@property
|
101
|
+
def query_id(self):
|
102
|
+
"""Gets the query_id of this ShowPositionResultRequest.
|
103
|
+
|
104
|
+
位点信息采集的ID,由采集数据库位点信息接口返回的ID。
|
105
|
+
|
106
|
+
:return: The query_id of this ShowPositionResultRequest.
|
107
|
+
:rtype: str
|
108
|
+
"""
|
109
|
+
return self._query_id
|
110
|
+
|
111
|
+
@query_id.setter
|
112
|
+
def query_id(self, query_id):
|
113
|
+
"""Sets the query_id of this ShowPositionResultRequest.
|
114
|
+
|
115
|
+
位点信息采集的ID,由采集数据库位点信息接口返回的ID。
|
116
|
+
|
117
|
+
:param query_id: The query_id of this ShowPositionResultRequest.
|
118
|
+
:type query_id: str
|
119
|
+
"""
|
120
|
+
self._query_id = query_id
|
121
|
+
|
122
|
+
def to_dict(self):
|
123
|
+
"""Returns the model properties as a dict"""
|
124
|
+
result = {}
|
125
|
+
|
126
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
127
|
+
value = getattr(self, attr)
|
128
|
+
if isinstance(value, list):
|
129
|
+
result[attr] = list(map(
|
130
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
131
|
+
value
|
132
|
+
))
|
133
|
+
elif hasattr(value, "to_dict"):
|
134
|
+
result[attr] = value.to_dict()
|
135
|
+
elif isinstance(value, dict):
|
136
|
+
result[attr] = dict(map(
|
137
|
+
lambda item: (item[0], item[1].to_dict())
|
138
|
+
if hasattr(item[1], "to_dict") else item,
|
139
|
+
value.items()
|
140
|
+
))
|
141
|
+
else:
|
142
|
+
if attr in self.sensitive_list:
|
143
|
+
result[attr] = "****"
|
144
|
+
else:
|
145
|
+
result[attr] = value
|
146
|
+
|
147
|
+
return result
|
148
|
+
|
149
|
+
def to_str(self):
|
150
|
+
"""Returns the string representation of the model"""
|
151
|
+
import simplejson as json
|
152
|
+
if six.PY2:
|
153
|
+
import sys
|
154
|
+
reload(sys)
|
155
|
+
sys.setdefaultencoding("utf-8")
|
156
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
157
|
+
|
158
|
+
def __repr__(self):
|
159
|
+
"""For `print`"""
|
160
|
+
return self.to_str()
|
161
|
+
|
162
|
+
def __eq__(self, other):
|
163
|
+
"""Returns true if both objects are equal"""
|
164
|
+
if not isinstance(other, ShowPositionResultRequest):
|
165
|
+
return False
|
166
|
+
|
167
|
+
return self.__dict__ == other.__dict__
|
168
|
+
|
169
|
+
def __ne__(self, other):
|
170
|
+
"""Returns true if both objects are not equal"""
|
171
|
+
return not self == other
|
@@ -0,0 +1,145 @@
|
|
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 ShowPositionResultResponse(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
|
+
'job_id': 'str',
|
22
|
+
'position': 'str'
|
23
|
+
}
|
24
|
+
|
25
|
+
attribute_map = {
|
26
|
+
'job_id': 'job_id',
|
27
|
+
'position': 'position'
|
28
|
+
}
|
29
|
+
|
30
|
+
def __init__(self, job_id=None, position=None):
|
31
|
+
"""ShowPositionResultResponse
|
32
|
+
|
33
|
+
The model defined in huaweicloud sdk
|
34
|
+
|
35
|
+
:param job_id: 任务ID
|
36
|
+
:type job_id: str
|
37
|
+
:param position: 位点信息
|
38
|
+
:type position: str
|
39
|
+
"""
|
40
|
+
|
41
|
+
super(ShowPositionResultResponse, self).__init__()
|
42
|
+
|
43
|
+
self._job_id = None
|
44
|
+
self._position = None
|
45
|
+
self.discriminator = None
|
46
|
+
|
47
|
+
if job_id is not None:
|
48
|
+
self.job_id = job_id
|
49
|
+
if position is not None:
|
50
|
+
self.position = position
|
51
|
+
|
52
|
+
@property
|
53
|
+
def job_id(self):
|
54
|
+
"""Gets the job_id of this ShowPositionResultResponse.
|
55
|
+
|
56
|
+
任务ID
|
57
|
+
|
58
|
+
:return: The job_id of this ShowPositionResultResponse.
|
59
|
+
:rtype: str
|
60
|
+
"""
|
61
|
+
return self._job_id
|
62
|
+
|
63
|
+
@job_id.setter
|
64
|
+
def job_id(self, job_id):
|
65
|
+
"""Sets the job_id of this ShowPositionResultResponse.
|
66
|
+
|
67
|
+
任务ID
|
68
|
+
|
69
|
+
:param job_id: The job_id of this ShowPositionResultResponse.
|
70
|
+
:type job_id: str
|
71
|
+
"""
|
72
|
+
self._job_id = job_id
|
73
|
+
|
74
|
+
@property
|
75
|
+
def position(self):
|
76
|
+
"""Gets the position of this ShowPositionResultResponse.
|
77
|
+
|
78
|
+
位点信息
|
79
|
+
|
80
|
+
:return: The position of this ShowPositionResultResponse.
|
81
|
+
:rtype: str
|
82
|
+
"""
|
83
|
+
return self._position
|
84
|
+
|
85
|
+
@position.setter
|
86
|
+
def position(self, position):
|
87
|
+
"""Sets the position of this ShowPositionResultResponse.
|
88
|
+
|
89
|
+
位点信息
|
90
|
+
|
91
|
+
:param position: The position of this ShowPositionResultResponse.
|
92
|
+
:type position: str
|
93
|
+
"""
|
94
|
+
self._position = position
|
95
|
+
|
96
|
+
def to_dict(self):
|
97
|
+
"""Returns the model properties as a dict"""
|
98
|
+
result = {}
|
99
|
+
|
100
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
101
|
+
value = getattr(self, attr)
|
102
|
+
if isinstance(value, list):
|
103
|
+
result[attr] = list(map(
|
104
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
105
|
+
value
|
106
|
+
))
|
107
|
+
elif hasattr(value, "to_dict"):
|
108
|
+
result[attr] = value.to_dict()
|
109
|
+
elif isinstance(value, dict):
|
110
|
+
result[attr] = dict(map(
|
111
|
+
lambda item: (item[0], item[1].to_dict())
|
112
|
+
if hasattr(item[1], "to_dict") else item,
|
113
|
+
value.items()
|
114
|
+
))
|
115
|
+
else:
|
116
|
+
if attr in self.sensitive_list:
|
117
|
+
result[attr] = "****"
|
118
|
+
else:
|
119
|
+
result[attr] = value
|
120
|
+
|
121
|
+
return result
|
122
|
+
|
123
|
+
def to_str(self):
|
124
|
+
"""Returns the string representation of the model"""
|
125
|
+
import simplejson as json
|
126
|
+
if six.PY2:
|
127
|
+
import sys
|
128
|
+
reload(sys)
|
129
|
+
sys.setdefaultencoding("utf-8")
|
130
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
131
|
+
|
132
|
+
def __repr__(self):
|
133
|
+
"""For `print`"""
|
134
|
+
return self.to_str()
|
135
|
+
|
136
|
+
def __eq__(self, other):
|
137
|
+
"""Returns true if both objects are equal"""
|
138
|
+
if not isinstance(other, ShowPositionResultResponse):
|
139
|
+
return False
|
140
|
+
|
141
|
+
return self.__dict__ == other.__dict__
|
142
|
+
|
143
|
+
def __ne__(self, other):
|
144
|
+
"""Returns true if both objects are not equal"""
|
145
|
+
return not self == other
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: huaweicloudsdkdrs
|
3
|
-
Version: 3.1.
|
3
|
+
Version: 3.1.64
|
4
4
|
Summary: DRS
|
5
5
|
Home-page: https://github.com/huaweicloud/huaweicloud-sdk-python-v3
|
6
6
|
Author: HuaweiCloud SDK
|
@@ -22,6 +22,6 @@ Classifier: Topic :: Software Development
|
|
22
22
|
Requires-Python: >=2.7,!=3.0.*,!=3.1.*,!=3.2.*
|
23
23
|
Description-Content-Type: text/markdown
|
24
24
|
License-File: LICENSE
|
25
|
-
Requires-Dist: huaweicloudsdkcore >=3.1.
|
25
|
+
Requires-Dist: huaweicloudsdkcore >=3.1.64
|
26
26
|
|
27
27
|
See detailed information in [huaweicloud-sdk-python-v3](https://github.com/huaweicloud/huaweicloud-sdk-python-v3).
|
@@ -212,10 +212,10 @@ huaweicloudsdkdrs/v3/model/user_account_vo.py,sha256=dDMC9DmWVBqziBYvO8NIS5JECPJ
|
|
212
212
|
huaweicloudsdkdrs/v3/model/user_role_vo.py,sha256=DE95DIyHWAj3bK6vKIqvF6p092TbAn85SVD15SwLtuI,6684
|
213
213
|
huaweicloudsdkdrs/v3/region/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
214
214
|
huaweicloudsdkdrs/v3/region/drs_region.py,sha256=Pm1Y0w5yRmPpaL6NWk4Jgi1iL9nFv_jXKpuQ9zHHHgs,3801
|
215
|
-
huaweicloudsdkdrs/v5/__init__.py,sha256=
|
216
|
-
huaweicloudsdkdrs/v5/drs_async_client.py,sha256=
|
217
|
-
huaweicloudsdkdrs/v5/drs_client.py,sha256=
|
218
|
-
huaweicloudsdkdrs/v5/model/__init__.py,sha256=
|
215
|
+
huaweicloudsdkdrs/v5/__init__.py,sha256=npDSt5ulaXTw0NAw1pfsC7hubAnTljghbnXIACXio8c,19336
|
216
|
+
huaweicloudsdkdrs/v5/drs_async_client.py,sha256=Zza8a9jwf7IBloD7Hwt94HjLuWa52EUxZMZwk5hF9p8,123258
|
217
|
+
huaweicloudsdkdrs/v5/drs_client.py,sha256=roH3e9HQRBFJdwnCIz6AbdOdI_V819OIo6dtPw-Joj4,122816
|
218
|
+
huaweicloudsdkdrs/v5/model/__init__.py,sha256=p_-w9yBX5y7773Jjw855ju4L5Ic1bKvC5vJLzyeeBcM,19250
|
219
219
|
huaweicloudsdkdrs/v5/model/action_base_resp.py,sha256=ttC50jaMIRDTAmaW16u4G-FhhBnod0feaA4hWfoXptc,5636
|
220
220
|
huaweicloudsdkdrs/v5/model/action_params.py,sha256=5EigIjgAYz2h_qlbgq-kiAoUlxp5iJs8dTUT51SzHq4,9707
|
221
221
|
huaweicloudsdkdrs/v5/model/action_req.py,sha256=SyM5FukjCzZVaWO0WZWEdbjOIf8YHhgJ7wWurrSGItI,5987
|
@@ -262,6 +262,8 @@ huaweicloudsdkdrs/v5/model/collect_db_objects_async_request.py,sha256=NidzoiYaIJ
|
|
262
262
|
huaweicloudsdkdrs/v5/model/collect_db_objects_async_response.py,sha256=1xgh4hRQZgPatU7L-Vk9XNwkEjp9YUrRdKdCvTjB7ig,3887
|
263
263
|
huaweicloudsdkdrs/v5/model/collect_db_objects_info_request.py,sha256=FqYiU-gaAJcFrvVmDfOYOld0x9JWWT1vLAbgei9wijQ,4766
|
264
264
|
huaweicloudsdkdrs/v5/model/collect_db_objects_info_response.py,sha256=CdNe3Jk6hZFwALzFbMixR9SPu7Uwz1gXkRVL43c5j-A,3875
|
265
|
+
huaweicloudsdkdrs/v5/model/collect_position_async_request.py,sha256=mBj2MEzmafOzUtrFwcdDSW2H3rjjlqCdLHAqnKKySAM,4733
|
266
|
+
huaweicloudsdkdrs/v5/model/collect_position_async_response.py,sha256=uhcrwDWDC_5jaQdBmfS3WpyOzv0g-UpBFoJtILMkaVM,3875
|
265
267
|
huaweicloudsdkdrs/v5/model/column_object.py,sha256=PKvlMCoISaiIOjT0RMibs7jRYLc3GoNmg7-H9aQy2ME,18435
|
266
268
|
huaweicloudsdkdrs/v5/model/commit_async_job_request.py,sha256=9LCnXRcsLc3kGUNtGWzL-3xOG_Gdqiv-noL2f6nUW4Y,4165
|
267
269
|
huaweicloudsdkdrs/v5/model/commit_async_job_response.py,sha256=FD5Yr5p2seUkOZF4u5GPzt63t7baexTd1FCUZPP1KRo,3189
|
@@ -349,6 +351,7 @@ huaweicloudsdkdrs/v5/model/progress_complete_info.py,sha256=P_OfItVhzsi7sM6l-N0F
|
|
349
351
|
huaweicloudsdkdrs/v5/model/project_tag.py,sha256=4ZR4TKsKY1cngaszfACazr07l5imao_UIcCDtNWmHyE,3597
|
350
352
|
huaweicloudsdkdrs/v5/model/query_column_info.py,sha256=YglLPVsuWqRY3b57QmX5G5E1dgo3rziF0SRm9PI6Ozw,7917
|
351
353
|
huaweicloudsdkdrs/v5/model/query_column_req.py,sha256=qVeoltwmlZcRn_ZIX6P9su3ECxcNVrfd-weAgr8rQSk,4388
|
354
|
+
huaweicloudsdkdrs/v5/model/query_db_position_req.py,sha256=-MJDvFby7MM0vGczjX7YAI-wQ8UD6gGSVx2yDsTFNPM,3533
|
352
355
|
huaweicloudsdkdrs/v5/model/query_metric_result.py,sha256=kzoUb1zliA9UXK188KfAyycJS34p7ByBzfaGU-Jsnko,16976
|
353
356
|
huaweicloudsdkdrs/v5/model/query_migration_object_progress_info.py,sha256=VnDYpjTJEs87KuR--NUuFem7fnQHFmvLlXXZjJKA0N4,8584
|
354
357
|
huaweicloudsdkdrs/v5/model/query_network_result.py,sha256=4ZjS8bqsgRTqQYDL-fTXoa8Vj90Xp7IcGaiA8PhLDJc,7005
|
@@ -396,6 +399,8 @@ huaweicloudsdkdrs/v5/model/show_monitor_data_request.py,sha256=Dyqoi3qDuC9Eg7Z2h
|
|
396
399
|
huaweicloudsdkdrs/v5/model/show_monitor_data_response.py,sha256=GV83gxNYbjG-qI8PO-mF4LPOWCq9TddUZhrMcG8_a80,20708
|
397
400
|
huaweicloudsdkdrs/v5/model/show_object_mapping_request.py,sha256=_JdSQva3iIZV-9GqROmFdlrLO5JmcuN1D7vqyMjw5TQ,4742
|
398
401
|
huaweicloudsdkdrs/v5/model/show_object_mapping_response.py,sha256=PZhgjysgsKVUga-nih6ISaNuuR20e72zXF2gflkPR1Y,4387
|
402
|
+
huaweicloudsdkdrs/v5/model/show_position_result_request.py,sha256=5OtIZdtPhnE8PTUT0VydcUMw0gCmqvHFbACNjrJYAv4,4826
|
403
|
+
huaweicloudsdkdrs/v5/model/show_position_result_response.py,sha256=3CJEfGACYa2yLmXYOzVrPasQPJQRFYNK4xFeE01fcFo,3971
|
399
404
|
huaweicloudsdkdrs/v5/model/show_progress_data_request.py,sha256=AxrYR0F0BrSDmy0acqq-YI_0jTWrmGQZb673mcFkPP4,6659
|
400
405
|
huaweicloudsdkdrs/v5/model/show_progress_data_response.py,sha256=aMYRTq1dIKfRHM4Bgx6BVhvNkmxC9gI2C5gJ5sLZw8M,5315
|
401
406
|
huaweicloudsdkdrs/v5/model/show_support_object_type_request.py,sha256=_EdyU_PiG_yO3vFd_E6RX6sjlbI0aHD51ZI8jk4omZ8,3921
|
@@ -437,8 +442,8 @@ huaweicloudsdkdrs/v5/model/validate_job_name_request.py,sha256=74qQd020c2h8BdFUs
|
|
437
442
|
huaweicloudsdkdrs/v5/model/validate_job_name_response.py,sha256=Yehy1O1CeximGx5YvOn7luyGGLz__HTT-tWpZTV0BUE,4895
|
438
443
|
huaweicloudsdkdrs/v5/region/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
439
444
|
huaweicloudsdkdrs/v5/region/drs_region.py,sha256=Pm1Y0w5yRmPpaL6NWk4Jgi1iL9nFv_jXKpuQ9zHHHgs,3801
|
440
|
-
huaweicloudsdkdrs-3.1.
|
441
|
-
huaweicloudsdkdrs-3.1.
|
442
|
-
huaweicloudsdkdrs-3.1.
|
443
|
-
huaweicloudsdkdrs-3.1.
|
444
|
-
huaweicloudsdkdrs-3.1.
|
445
|
+
huaweicloudsdkdrs-3.1.64.dist-info/LICENSE,sha256=4_VSTLuxcsybRG9N4Isktlj1rAIBBsfl0Tjc0gBTijo,604
|
446
|
+
huaweicloudsdkdrs-3.1.64.dist-info/METADATA,sha256=5lp7bQJQ_lQb94pQCqCULLMY9ZWp78ssRaF8DZrot9o,1134
|
447
|
+
huaweicloudsdkdrs-3.1.64.dist-info/WHEEL,sha256=P2T-6epvtXQ2cBOE_U1K4_noqlJFN3tj15djMgEu4NM,110
|
448
|
+
huaweicloudsdkdrs-3.1.64.dist-info/top_level.txt,sha256=FJmOnPaGx7WoM_NJdeECns2-V--JJZyO0PVtyQAgpYg,18
|
449
|
+
huaweicloudsdkdrs-3.1.64.dist-info/RECORD,,
|
File without changes
|
File without changes
|