huaweicloudsdkdrs 3.1.85__py2.py3-none-any.whl → 3.1.132__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/v3/__init__.py +48 -0
- huaweicloudsdkdrs/v3/drs_async_client.py +1140 -43
- huaweicloudsdkdrs/v3/drs_client.py +1140 -43
- huaweicloudsdkdrs/v3/model/__init__.py +48 -0
- huaweicloudsdkdrs/v3/model/add_data_transformation_req.py +138 -0
- huaweicloudsdkdrs/v3/model/api_http_null_resp.py +84 -0
- huaweicloudsdkdrs/v3/model/batch_job_action_req.py +9 -9
- huaweicloudsdkdrs/v3/model/compare_job_content_detail_info.py +202 -0
- huaweicloudsdkdrs/v3/model/compare_job_info.py +376 -0
- huaweicloudsdkdrs/v3/model/create_compare_result_file_request.py +196 -0
- huaweicloudsdkdrs/v3/model/create_compare_result_file_response.py +116 -0
- huaweicloudsdkdrs/v3/model/create_data_compare_database_object.py +115 -0
- huaweicloudsdkdrs/v3/model/create_data_compare_transformation_info.py +142 -0
- huaweicloudsdkdrs/v3/model/create_data_level_table_compare_job_req.py +346 -0
- huaweicloudsdkdrs/v3/model/create_data_level_table_compare_job_request.py +168 -0
- huaweicloudsdkdrs/v3/model/create_data_level_table_compare_job_response.py +116 -0
- huaweicloudsdkdrs/v3/model/create_job_req.py +67 -9
- huaweicloudsdkdrs/v3/model/create_object_compare_job_req.py +115 -0
- huaweicloudsdkdrs/v3/model/create_object_level_compare_job_request.py +168 -0
- huaweicloudsdkdrs/v3/model/create_object_level_compare_job_response.py +116 -0
- huaweicloudsdkdrs/v3/model/data_compare_overview_info.py +173 -0
- huaweicloudsdkdrs/v3/model/delete_compare_job_request.py +171 -0
- huaweicloudsdkdrs/v3/model/delete_compare_job_response.py +116 -0
- huaweicloudsdkdrs/v3/model/download_compare_result_file_request.py +255 -0
- huaweicloudsdkdrs/v3/model/download_compare_result_file_response.py +85 -0
- huaweicloudsdkdrs/v3/model/endpoint.py +28 -3
- huaweicloudsdkdrs/v3/model/export_compare_result_req.py +172 -0
- huaweicloudsdkdrs/v3/model/failed_to_bind_eip_child_info.py +144 -0
- huaweicloudsdkdrs/v3/model/kafka_security.py +290 -29
- huaweicloudsdkdrs/v3/model/list_available_node_types_request.py +257 -0
- huaweicloudsdkdrs/v3/model/list_available_node_types_response.py +116 -0
- huaweicloudsdkdrs/v3/model/list_content_compare_detail_request.py +316 -0
- huaweicloudsdkdrs/v3/model/list_content_compare_detail_response.py +145 -0
- huaweicloudsdkdrs/v3/model/list_content_compare_difference_request.py +287 -0
- huaweicloudsdkdrs/v3/model/list_content_compare_difference_response.py +232 -0
- huaweicloudsdkdrs/v3/model/list_content_compare_overview_request.py +229 -0
- huaweicloudsdkdrs/v3/model/list_content_compare_overview_response.py +145 -0
- huaweicloudsdkdrs/v3/model/list_data_compare_detail_request.py +374 -0
- huaweicloudsdkdrs/v3/model/list_data_compare_detail_response.py +145 -0
- huaweicloudsdkdrs/v3/model/list_data_compare_overview_request.py +258 -0
- huaweicloudsdkdrs/v3/model/list_data_compare_overview_response.py +145 -0
- huaweicloudsdkdrs/v3/model/list_data_level_table_compare_jobs_request.py +201 -0
- huaweicloudsdkdrs/v3/model/list_data_level_table_compare_jobs_response.py +145 -0
- huaweicloudsdkdrs/v3/model/list_obeject_level_compare_detail_request.py +258 -0
- huaweicloudsdkdrs/v3/model/list_obeject_level_compare_detail_response.py +145 -0
- huaweicloudsdkdrs/v3/model/list_obeject_level_compare_overview_request.py +143 -0
- huaweicloudsdkdrs/v3/model/list_obeject_level_compare_overview_response.py +319 -0
- huaweicloudsdkdrs/v3/model/modify_job_req.py +3 -3
- huaweicloudsdkdrs/v3/model/node_content_compare_detail_result.py +405 -0
- huaweicloudsdkdrs/v3/model/node_content_compare_overview_result.py +173 -0
- huaweicloudsdkdrs/v3/model/objects_compare_detail_info.py +260 -0
- huaweicloudsdkdrs/v3/model/objects_compare_overview_info.py +202 -0
- huaweicloudsdkdrs/v3/model/public_ip_config.py +170 -0
- huaweicloudsdkdrs/v3/model/query_job_resp.py +129 -13
- huaweicloudsdkdrs/v3/model/query_jobs_req.py +3 -3
- huaweicloudsdkdrs/v3/model/query_support_node_type_bean.py +144 -0
- huaweicloudsdkdrs/v3/model/start_promptly_data_level_table_compare_job_request.py +171 -0
- huaweicloudsdkdrs/v3/model/start_promptly_data_level_table_compare_job_response.py +116 -0
- huaweicloudsdkdrs/v3/model/sync_policy_req.py +32 -3
- huaweicloudsdkdrs/v3/model/table_line_compare_result_info.py +289 -0
- huaweicloudsdkdrs/v3/region/drs_region.py +15 -0
- huaweicloudsdkdrs/v5/__init__.py +81 -1
- huaweicloudsdkdrs/v5/drs_async_client.py +2408 -750
- huaweicloudsdkdrs/v5/drs_client.py +2408 -750
- huaweicloudsdkdrs/v5/model/__init__.py +81 -1
- huaweicloudsdkdrs/v5/model/action_params.py +82 -3
- huaweicloudsdkdrs/v5/model/action_req.py +3 -3
- huaweicloudsdkdrs/v5/model/agency_role.py +144 -0
- huaweicloudsdkdrs/v5/model/async_create_job_req.py +32 -3
- huaweicloudsdkdrs/v5/model/backup_file_info.py +201 -0
- huaweicloudsdkdrs/v5/model/backup_file_resp.py +173 -0
- huaweicloudsdkdrs/v5/model/backup_info.py +171 -0
- huaweicloudsdkdrs/v5/model/backup_info_resp.py +173 -0
- huaweicloudsdkdrs/v5/model/backup_job_base_info.py +229 -0
- huaweicloudsdkdrs/v5/model/backup_job_endpoint_info.py +172 -0
- huaweicloudsdkdrs/v5/model/backup_restore_option_info.py +315 -0
- huaweicloudsdkdrs/v5/model/base_endpoint.py +6 -6
- huaweicloudsdkdrs/v5/model/change_to_period_request.py +168 -0
- huaweicloudsdkdrs/v5/model/change_to_period_response.py +116 -0
- huaweicloudsdkdrs/v5/model/check_data_filter_response.py +35 -6
- huaweicloudsdkdrs/v5/model/children_job_list_resp.py +3 -3
- huaweicloudsdkdrs/v5/model/clean_alarms_request.py +171 -0
- huaweicloudsdkdrs/v5/model/clean_alarms_response.py +116 -0
- huaweicloudsdkdrs/v5/model/collect_columns_response.py +35 -6
- huaweicloudsdkdrs/v5/model/collect_db_objects_async_response.py +35 -6
- huaweicloudsdkdrs/v5/model/collect_db_objects_info_response.py +35 -6
- huaweicloudsdkdrs/v5/model/collect_position_async_response.py +35 -6
- huaweicloudsdkdrs/v5/model/compare_job_info.py +65 -7
- huaweicloudsdkdrs/v5/model/compare_result_info.py +28 -3
- huaweicloudsdkdrs/v5/model/compare_task_params.py +32 -3
- huaweicloudsdkdrs/v5/model/connection_config.py +115 -0
- huaweicloudsdkdrs/v5/model/connection_resp.py +355 -0
- huaweicloudsdkdrs/v5/model/content_compare_overview_info.py +3 -3
- huaweicloudsdkdrs/v5/model/content_diff_detail_info.py +231 -0
- huaweicloudsdkdrs/v5/model/content_diff_detail_vo.py +202 -0
- huaweicloudsdkdrs/v5/model/create_connection_req.py +324 -0
- huaweicloudsdkdrs/v5/model/create_connection_request.py +140 -0
- huaweicloudsdkdrs/v5/model/create_connection_response.py +361 -0
- huaweicloudsdkdrs/v5/model/create_job_req.py +32 -3
- huaweicloudsdkdrs/v5/model/create_job_response.py +139 -19
- huaweicloudsdkdrs/v5/model/create_offline_task_req.py +182 -0
- huaweicloudsdkdrs/v5/model/create_replication_job_request.py +140 -0
- huaweicloudsdkdrs/v5/model/create_replication_job_response.py +116 -0
- huaweicloudsdkdrs/v5/model/data_process_info.py +32 -3
- huaweicloudsdkdrs/v5/model/db_object_filtering_result.py +148 -3
- huaweicloudsdkdrs/v5/model/ddl_alarm_resp.py +311 -0
- huaweicloudsdkdrs/v5/model/delete_connection_request.py +143 -0
- huaweicloudsdkdrs/v5/model/delete_connection_response.py +116 -0
- huaweicloudsdkdrs/v5/model/delete_replication_job_request.py +143 -0
- huaweicloudsdkdrs/v5/model/delete_replication_job_response.py +116 -0
- huaweicloudsdkdrs/v5/model/delete_user_driver_req.py +142 -0
- huaweicloudsdkdrs/v5/model/delete_user_jdbc_driver_request.py +140 -0
- huaweicloudsdkdrs/v5/model/delete_user_jdbc_driver_response.py +116 -0
- huaweicloudsdkdrs/v5/model/download_db_object_template_request.py +3 -3
- huaweicloudsdkdrs/v5/model/failed_to_bind_eip_child_info.py +144 -0
- huaweicloudsdkdrs/v5/model/health_compare_job.py +9 -9
- huaweicloudsdkdrs/v5/model/job_base_info.py +35 -6
- huaweicloudsdkdrs/v5/model/job_detail_resp.py +122 -6
- huaweicloudsdkdrs/v5/model/job_endpoint_info.py +3 -3
- huaweicloudsdkdrs/v5/model/job_list_resp.py +3 -3
- huaweicloudsdkdrs/v5/model/job_node_vpc_info.py +3 -3
- huaweicloudsdkdrs/v5/model/list_connections_request.py +492 -0
- huaweicloudsdkdrs/v5/model/list_connections_response.py +145 -0
- huaweicloudsdkdrs/v5/model/list_job_ddls_request.py +288 -0
- huaweicloudsdkdrs/v5/model/list_job_ddls_response.py +145 -0
- huaweicloudsdkdrs/v5/model/list_replication_jobs_request.py +463 -0
- huaweicloudsdkdrs/v5/model/list_replication_jobs_response.py +145 -0
- huaweicloudsdkdrs/v5/model/list_user_jdbc_drivers_request.py +201 -0
- huaweicloudsdkdrs/v5/model/list_user_jdbc_drivers_response.py +145 -0
- huaweicloudsdkdrs/v5/model/lists_agency_permissions_request.py +201 -0
- huaweicloudsdkdrs/v5/model/lists_agency_permissions_response.py +145 -0
- huaweicloudsdkdrs/v5/model/modify_compare_policy_req.py +288 -0
- huaweicloudsdkdrs/v5/model/modify_connection_request.py +168 -0
- huaweicloudsdkdrs/v5/model/modify_connection_response.py +116 -0
- huaweicloudsdkdrs/v5/model/modify_offline_task_req.py +143 -0
- huaweicloudsdkdrs/v5/model/objects_health_compare_overview_info.py +202 -0
- huaweicloudsdkdrs/v5/model/offline_task_info.py +342 -0
- huaweicloudsdkdrs/v5/model/policy_config.py +32 -3
- huaweicloudsdkdrs/v5/model/public_ip_config.py +170 -0
- huaweicloudsdkdrs/v5/model/replay_config_info.py +282 -0
- huaweicloudsdkdrs/v5/model/replay_error_classification.py +201 -0
- huaweicloudsdkdrs/v5/model/replay_error_sql_resp.py +173 -0
- huaweicloudsdkdrs/v5/model/replay_error_sql_template_resp.py +289 -0
- huaweicloudsdkdrs/v5/model/replay_shard_statics_resp.py +226 -0
- huaweicloudsdkdrs/v5/model/replay_slow_sql_resp.py +202 -0
- huaweicloudsdkdrs/v5/model/replay_slow_sql_template_resp.py +402 -0
- huaweicloudsdkdrs/v5/model/replaying_sql_resp.py +318 -0
- huaweicloudsdkdrs/v5/model/resource_tag.py +3 -3
- huaweicloudsdkdrs/v5/model/show_agency_info_request.py +143 -0
- huaweicloudsdkdrs/v5/model/show_agency_info_response.py +174 -0
- huaweicloudsdkdrs/v5/model/show_compare_policy_response.py +3 -3
- huaweicloudsdkdrs/v5/model/show_data_processing_rules_result_response.py +35 -6
- huaweicloudsdkdrs/v5/model/show_db_object_template_progress_request.py +32 -3
- huaweicloudsdkdrs/v5/model/show_db_object_template_result_request.py +32 -3
- huaweicloudsdkdrs/v5/model/show_health_compare_job_detail_request.py +171 -0
- huaweicloudsdkdrs/v5/model/show_health_compare_job_detail_response.py +261 -0
- huaweicloudsdkdrs/v5/model/show_health_object_compare_job_overview_request.py +171 -0
- huaweicloudsdkdrs/v5/model/show_health_object_compare_job_overview_response.py +116 -0
- huaweicloudsdkdrs/v5/model/show_job_detail_request.py +3 -3
- huaweicloudsdkdrs/v5/model/show_position_result_response.py +32 -3
- huaweicloudsdkdrs/v5/model/show_replay_results_request.py +461 -0
- huaweicloudsdkdrs/v5/model/show_replay_results_response.py +319 -0
- huaweicloudsdkdrs/v5/model/show_replication_job_request.py +143 -0
- huaweicloudsdkdrs/v5/model/show_replication_job_response.py +390 -0
- huaweicloudsdkdrs/v5/model/show_support_object_type_response.py +32 -3
- huaweicloudsdkdrs/v5/model/show_update_object_saving_status_response.py +35 -6
- huaweicloudsdkdrs/v5/model/sync_user_jdbc_driver_request.py +168 -0
- huaweicloudsdkdrs/v5/model/sync_user_jdbc_driver_response.py +116 -0
- huaweicloudsdkdrs/v5/model/to_period_req.py +198 -0
- huaweicloudsdkdrs/v5/model/update_agency_policy_request.py +168 -0
- huaweicloudsdkdrs/v5/model/update_agency_policy_request_body.py +142 -0
- huaweicloudsdkdrs/v5/model/update_agency_policy_response.py +116 -0
- huaweicloudsdkdrs/v5/model/update_compare_policy_request.py +168 -0
- huaweicloudsdkdrs/v5/model/update_compare_policy_response.py +116 -0
- huaweicloudsdkdrs/v5/model/update_connection_req.py +327 -0
- huaweicloudsdkdrs/v5/model/update_data_progress_response.py +35 -6
- huaweicloudsdkdrs/v5/model/update_job_req.py +3 -3
- huaweicloudsdkdrs/v5/model/update_replication_job_request.py +168 -0
- huaweicloudsdkdrs/v5/model/update_replication_job_response.py +116 -0
- huaweicloudsdkdrs/v5/model/update_user_driver_req.py +142 -0
- huaweicloudsdkdrs/v5/model/upload_db_object_template_request.py +3 -3
- huaweicloudsdkdrs/v5/model/upload_jdbc_driver_request_body.py +3 -3
- huaweicloudsdkdrs/v5/model/upload_user_jdbc_driver_request.py +168 -0
- huaweicloudsdkdrs/v5/model/upload_user_jdbc_driver_request_body.py +114 -0
- huaweicloudsdkdrs/v5/model/upload_user_jdbc_driver_response.py +116 -0
- huaweicloudsdkdrs/v5/region/drs_region.py +15 -0
- {huaweicloudsdkdrs-3.1.85.dist-info → huaweicloudsdkdrs-3.1.132.dist-info}/METADATA +2 -2
- {huaweicloudsdkdrs-3.1.85.dist-info → huaweicloudsdkdrs-3.1.132.dist-info}/RECORD +191 -63
- {huaweicloudsdkdrs-3.1.85.dist-info → huaweicloudsdkdrs-3.1.132.dist-info}/WHEEL +1 -1
- huaweicloudsdkdrs/v5/model/create_job_resp.py +0 -227
- {huaweicloudsdkdrs-3.1.85.dist-info → huaweicloudsdkdrs-3.1.132.dist-info}/LICENSE +0 -0
- {huaweicloudsdkdrs-3.1.85.dist-info → huaweicloudsdkdrs-3.1.132.dist-info}/top_level.txt +0 -0
@@ -33,7 +33,7 @@ class ResourceTag:
|
|
33
33
|
|
34
34
|
:param key: 标签键。 约束:最大长度36,只能包含字母、数字、下划线、中划线和中文。
|
35
35
|
:type key: str
|
36
|
-
:param value:
|
36
|
+
:param value: 标签值。标签的值可以包含任意语种字母、数字、空格和_ . : / = + - @。
|
37
37
|
:type value: str
|
38
38
|
"""
|
39
39
|
|
@@ -74,7 +74,7 @@ class ResourceTag:
|
|
74
74
|
def value(self):
|
75
75
|
"""Gets the value of this ResourceTag.
|
76
76
|
|
77
|
-
|
77
|
+
标签值。标签的值可以包含任意语种字母、数字、空格和_ . : / = + - @。
|
78
78
|
|
79
79
|
:return: The value of this ResourceTag.
|
80
80
|
:rtype: str
|
@@ -85,7 +85,7 @@ class ResourceTag:
|
|
85
85
|
def value(self, value):
|
86
86
|
"""Sets the value of this ResourceTag.
|
87
87
|
|
88
|
-
|
88
|
+
标签值。标签的值可以包含任意语种字母、数字、空格和_ . : / = + - @。
|
89
89
|
|
90
90
|
:param value: The value of this ResourceTag.
|
91
91
|
:type value: str
|
@@ -0,0 +1,143 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class ShowAgencyInfoRequest:
|
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
|
+
'agency_name': 'str'
|
22
|
+
}
|
23
|
+
|
24
|
+
attribute_map = {
|
25
|
+
'x_language': 'X-Language',
|
26
|
+
'agency_name': 'agency_name'
|
27
|
+
}
|
28
|
+
|
29
|
+
def __init__(self, x_language=None, agency_name=None):
|
30
|
+
"""ShowAgencyInfoRequest
|
31
|
+
|
32
|
+
The model defined in huaweicloud sdk
|
33
|
+
|
34
|
+
:param x_language: 请求语言类型。默认en-us。 取值范围: - en-us - zh-cn
|
35
|
+
:type x_language: str
|
36
|
+
:param agency_name: 委托名称。
|
37
|
+
:type agency_name: str
|
38
|
+
"""
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
self._x_language = None
|
43
|
+
self._agency_name = None
|
44
|
+
self.discriminator = None
|
45
|
+
|
46
|
+
if x_language is not None:
|
47
|
+
self.x_language = x_language
|
48
|
+
self.agency_name = agency_name
|
49
|
+
|
50
|
+
@property
|
51
|
+
def x_language(self):
|
52
|
+
"""Gets the x_language of this ShowAgencyInfoRequest.
|
53
|
+
|
54
|
+
请求语言类型。默认en-us。 取值范围: - en-us - zh-cn
|
55
|
+
|
56
|
+
:return: The x_language of this ShowAgencyInfoRequest.
|
57
|
+
:rtype: str
|
58
|
+
"""
|
59
|
+
return self._x_language
|
60
|
+
|
61
|
+
@x_language.setter
|
62
|
+
def x_language(self, x_language):
|
63
|
+
"""Sets the x_language of this ShowAgencyInfoRequest.
|
64
|
+
|
65
|
+
请求语言类型。默认en-us。 取值范围: - en-us - zh-cn
|
66
|
+
|
67
|
+
:param x_language: The x_language of this ShowAgencyInfoRequest.
|
68
|
+
:type x_language: str
|
69
|
+
"""
|
70
|
+
self._x_language = x_language
|
71
|
+
|
72
|
+
@property
|
73
|
+
def agency_name(self):
|
74
|
+
"""Gets the agency_name of this ShowAgencyInfoRequest.
|
75
|
+
|
76
|
+
委托名称。
|
77
|
+
|
78
|
+
:return: The agency_name of this ShowAgencyInfoRequest.
|
79
|
+
:rtype: str
|
80
|
+
"""
|
81
|
+
return self._agency_name
|
82
|
+
|
83
|
+
@agency_name.setter
|
84
|
+
def agency_name(self, agency_name):
|
85
|
+
"""Sets the agency_name of this ShowAgencyInfoRequest.
|
86
|
+
|
87
|
+
委托名称。
|
88
|
+
|
89
|
+
:param agency_name: The agency_name of this ShowAgencyInfoRequest.
|
90
|
+
:type agency_name: str
|
91
|
+
"""
|
92
|
+
self._agency_name = agency_name
|
93
|
+
|
94
|
+
def to_dict(self):
|
95
|
+
"""Returns the model properties as a dict"""
|
96
|
+
result = {}
|
97
|
+
|
98
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
99
|
+
value = getattr(self, attr)
|
100
|
+
if isinstance(value, list):
|
101
|
+
result[attr] = list(map(
|
102
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
103
|
+
value
|
104
|
+
))
|
105
|
+
elif hasattr(value, "to_dict"):
|
106
|
+
result[attr] = value.to_dict()
|
107
|
+
elif isinstance(value, dict):
|
108
|
+
result[attr] = dict(map(
|
109
|
+
lambda item: (item[0], item[1].to_dict())
|
110
|
+
if hasattr(item[1], "to_dict") else item,
|
111
|
+
value.items()
|
112
|
+
))
|
113
|
+
else:
|
114
|
+
if attr in self.sensitive_list:
|
115
|
+
result[attr] = "****"
|
116
|
+
else:
|
117
|
+
result[attr] = value
|
118
|
+
|
119
|
+
return result
|
120
|
+
|
121
|
+
def to_str(self):
|
122
|
+
"""Returns the string representation of the model"""
|
123
|
+
import simplejson as json
|
124
|
+
if six.PY2:
|
125
|
+
import sys
|
126
|
+
reload(sys)
|
127
|
+
sys.setdefaultencoding("utf-8")
|
128
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
129
|
+
|
130
|
+
def __repr__(self):
|
131
|
+
"""For `print`"""
|
132
|
+
return self.to_str()
|
133
|
+
|
134
|
+
def __eq__(self, other):
|
135
|
+
"""Returns true if both objects are equal"""
|
136
|
+
if not isinstance(other, ShowAgencyInfoRequest):
|
137
|
+
return False
|
138
|
+
|
139
|
+
return self.__dict__ == other.__dict__
|
140
|
+
|
141
|
+
def __ne__(self, other):
|
142
|
+
"""Returns true if both objects are not equal"""
|
143
|
+
return not self == other
|
@@ -0,0 +1,174 @@
|
|
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 ShowAgencyInfoResponse(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
|
+
'is_existed': 'bool',
|
22
|
+
'name': 'str',
|
23
|
+
'roles': 'list[AgencyRole]'
|
24
|
+
}
|
25
|
+
|
26
|
+
attribute_map = {
|
27
|
+
'is_existed': 'is_existed',
|
28
|
+
'name': 'name',
|
29
|
+
'roles': 'roles'
|
30
|
+
}
|
31
|
+
|
32
|
+
def __init__(self, is_existed=None, name=None, roles=None):
|
33
|
+
"""ShowAgencyInfoResponse
|
34
|
+
|
35
|
+
The model defined in huaweicloud sdk
|
36
|
+
|
37
|
+
:param is_existed: 委托是否存在。
|
38
|
+
:type is_existed: bool
|
39
|
+
:param name: 委托名称。
|
40
|
+
:type name: str
|
41
|
+
:param roles: 委托绑定的权限策略信息。
|
42
|
+
:type roles: list[:class:`huaweicloudsdkdrs.v5.AgencyRole`]
|
43
|
+
"""
|
44
|
+
|
45
|
+
super(ShowAgencyInfoResponse, self).__init__()
|
46
|
+
|
47
|
+
self._is_existed = None
|
48
|
+
self._name = None
|
49
|
+
self._roles = None
|
50
|
+
self.discriminator = None
|
51
|
+
|
52
|
+
if is_existed is not None:
|
53
|
+
self.is_existed = is_existed
|
54
|
+
if name is not None:
|
55
|
+
self.name = name
|
56
|
+
if roles is not None:
|
57
|
+
self.roles = roles
|
58
|
+
|
59
|
+
@property
|
60
|
+
def is_existed(self):
|
61
|
+
"""Gets the is_existed of this ShowAgencyInfoResponse.
|
62
|
+
|
63
|
+
委托是否存在。
|
64
|
+
|
65
|
+
:return: The is_existed of this ShowAgencyInfoResponse.
|
66
|
+
:rtype: bool
|
67
|
+
"""
|
68
|
+
return self._is_existed
|
69
|
+
|
70
|
+
@is_existed.setter
|
71
|
+
def is_existed(self, is_existed):
|
72
|
+
"""Sets the is_existed of this ShowAgencyInfoResponse.
|
73
|
+
|
74
|
+
委托是否存在。
|
75
|
+
|
76
|
+
:param is_existed: The is_existed of this ShowAgencyInfoResponse.
|
77
|
+
:type is_existed: bool
|
78
|
+
"""
|
79
|
+
self._is_existed = is_existed
|
80
|
+
|
81
|
+
@property
|
82
|
+
def name(self):
|
83
|
+
"""Gets the name of this ShowAgencyInfoResponse.
|
84
|
+
|
85
|
+
委托名称。
|
86
|
+
|
87
|
+
:return: The name of this ShowAgencyInfoResponse.
|
88
|
+
:rtype: str
|
89
|
+
"""
|
90
|
+
return self._name
|
91
|
+
|
92
|
+
@name.setter
|
93
|
+
def name(self, name):
|
94
|
+
"""Sets the name of this ShowAgencyInfoResponse.
|
95
|
+
|
96
|
+
委托名称。
|
97
|
+
|
98
|
+
:param name: The name of this ShowAgencyInfoResponse.
|
99
|
+
:type name: str
|
100
|
+
"""
|
101
|
+
self._name = name
|
102
|
+
|
103
|
+
@property
|
104
|
+
def roles(self):
|
105
|
+
"""Gets the roles of this ShowAgencyInfoResponse.
|
106
|
+
|
107
|
+
委托绑定的权限策略信息。
|
108
|
+
|
109
|
+
:return: The roles of this ShowAgencyInfoResponse.
|
110
|
+
:rtype: list[:class:`huaweicloudsdkdrs.v5.AgencyRole`]
|
111
|
+
"""
|
112
|
+
return self._roles
|
113
|
+
|
114
|
+
@roles.setter
|
115
|
+
def roles(self, roles):
|
116
|
+
"""Sets the roles of this ShowAgencyInfoResponse.
|
117
|
+
|
118
|
+
委托绑定的权限策略信息。
|
119
|
+
|
120
|
+
:param roles: The roles of this ShowAgencyInfoResponse.
|
121
|
+
:type roles: list[:class:`huaweicloudsdkdrs.v5.AgencyRole`]
|
122
|
+
"""
|
123
|
+
self._roles = roles
|
124
|
+
|
125
|
+
def to_dict(self):
|
126
|
+
"""Returns the model properties as a dict"""
|
127
|
+
result = {}
|
128
|
+
|
129
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
130
|
+
value = getattr(self, attr)
|
131
|
+
if isinstance(value, list):
|
132
|
+
result[attr] = list(map(
|
133
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
134
|
+
value
|
135
|
+
))
|
136
|
+
elif hasattr(value, "to_dict"):
|
137
|
+
result[attr] = value.to_dict()
|
138
|
+
elif isinstance(value, dict):
|
139
|
+
result[attr] = dict(map(
|
140
|
+
lambda item: (item[0], item[1].to_dict())
|
141
|
+
if hasattr(item[1], "to_dict") else item,
|
142
|
+
value.items()
|
143
|
+
))
|
144
|
+
else:
|
145
|
+
if attr in self.sensitive_list:
|
146
|
+
result[attr] = "****"
|
147
|
+
else:
|
148
|
+
result[attr] = value
|
149
|
+
|
150
|
+
return result
|
151
|
+
|
152
|
+
def to_str(self):
|
153
|
+
"""Returns the string representation of the model"""
|
154
|
+
import simplejson as json
|
155
|
+
if six.PY2:
|
156
|
+
import sys
|
157
|
+
reload(sys)
|
158
|
+
sys.setdefaultencoding("utf-8")
|
159
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
160
|
+
|
161
|
+
def __repr__(self):
|
162
|
+
"""For `print`"""
|
163
|
+
return self.to_str()
|
164
|
+
|
165
|
+
def __eq__(self, other):
|
166
|
+
"""Returns true if both objects are equal"""
|
167
|
+
if not isinstance(other, ShowAgencyInfoResponse):
|
168
|
+
return False
|
169
|
+
|
170
|
+
return self.__dict__ == other.__dict__
|
171
|
+
|
172
|
+
def __ne__(self, other):
|
173
|
+
"""Returns true if both objects are not equal"""
|
174
|
+
return not self == other
|
@@ -52,7 +52,7 @@ class ShowComparePolicyResponse(SdkResponse):
|
|
52
52
|
:type begin_time: str
|
53
53
|
:param end_time: 对比结束时间。
|
54
54
|
:type end_time: str
|
55
|
-
:param compare_type:
|
55
|
+
:param compare_type: 对比类型: - object_comparison:对象对比。 - lines:行对比。 - account:用户对比。
|
56
56
|
:type compare_type: list[str]
|
57
57
|
:param next_compare_time: 下次对比时间,UTC时间,例如:2023-06-12T08:00:00Z
|
58
58
|
:type next_compare_time: str
|
@@ -183,7 +183,7 @@ class ShowComparePolicyResponse(SdkResponse):
|
|
183
183
|
def compare_type(self):
|
184
184
|
"""Gets the compare_type of this ShowComparePolicyResponse.
|
185
185
|
|
186
|
-
|
186
|
+
对比类型: - object_comparison:对象对比。 - lines:行对比。 - account:用户对比。
|
187
187
|
|
188
188
|
:return: The compare_type of this ShowComparePolicyResponse.
|
189
189
|
:rtype: list[str]
|
@@ -194,7 +194,7 @@ class ShowComparePolicyResponse(SdkResponse):
|
|
194
194
|
def compare_type(self, compare_type):
|
195
195
|
"""Sets the compare_type of this ShowComparePolicyResponse.
|
196
196
|
|
197
|
-
|
197
|
+
对比类型: - object_comparison:对象对比。 - lines:行对比。 - account:用户对比。
|
198
198
|
|
199
199
|
:param compare_type: The compare_type of this ShowComparePolicyResponse.
|
200
200
|
:type compare_type: list[str]
|
@@ -19,35 +19,42 @@ class ShowDataProcessingRulesResultResponse(SdkResponse):
|
|
19
19
|
|
20
20
|
openapi_types = {
|
21
21
|
'id': 'str',
|
22
|
-
'status': 'str'
|
22
|
+
'status': 'str',
|
23
|
+
'job_id': 'str'
|
23
24
|
}
|
24
25
|
|
25
26
|
attribute_map = {
|
26
27
|
'id': 'id',
|
27
|
-
'status': 'status'
|
28
|
+
'status': 'status',
|
29
|
+
'job_id': 'job_id'
|
28
30
|
}
|
29
31
|
|
30
|
-
def __init__(self, id=None, status=None):
|
32
|
+
def __init__(self, id=None, status=None, job_id=None):
|
31
33
|
"""ShowDataProcessingRulesResultResponse
|
32
34
|
|
33
35
|
The model defined in huaweicloud sdk
|
34
36
|
|
35
37
|
:param id: 查询结果id
|
36
38
|
:type id: str
|
37
|
-
:param status: 查询状态
|
39
|
+
:param status: 查询状态 pending:处理中 failed:失败 success:成功
|
38
40
|
:type status: str
|
41
|
+
:param job_id: 任务ID
|
42
|
+
:type job_id: str
|
39
43
|
"""
|
40
44
|
|
41
45
|
super(ShowDataProcessingRulesResultResponse, self).__init__()
|
42
46
|
|
43
47
|
self._id = None
|
44
48
|
self._status = None
|
49
|
+
self._job_id = None
|
45
50
|
self.discriminator = None
|
46
51
|
|
47
52
|
if id is not None:
|
48
53
|
self.id = id
|
49
54
|
if status is not None:
|
50
55
|
self.status = status
|
56
|
+
if job_id is not None:
|
57
|
+
self.job_id = job_id
|
51
58
|
|
52
59
|
@property
|
53
60
|
def id(self):
|
@@ -75,7 +82,7 @@ class ShowDataProcessingRulesResultResponse(SdkResponse):
|
|
75
82
|
def status(self):
|
76
83
|
"""Gets the status of this ShowDataProcessingRulesResultResponse.
|
77
84
|
|
78
|
-
查询状态
|
85
|
+
查询状态 pending:处理中 failed:失败 success:成功
|
79
86
|
|
80
87
|
:return: The status of this ShowDataProcessingRulesResultResponse.
|
81
88
|
:rtype: str
|
@@ -86,13 +93,35 @@ class ShowDataProcessingRulesResultResponse(SdkResponse):
|
|
86
93
|
def status(self, status):
|
87
94
|
"""Sets the status of this ShowDataProcessingRulesResultResponse.
|
88
95
|
|
89
|
-
查询状态
|
96
|
+
查询状态 pending:处理中 failed:失败 success:成功
|
90
97
|
|
91
98
|
:param status: The status of this ShowDataProcessingRulesResultResponse.
|
92
99
|
:type status: str
|
93
100
|
"""
|
94
101
|
self._status = status
|
95
102
|
|
103
|
+
@property
|
104
|
+
def job_id(self):
|
105
|
+
"""Gets the job_id of this ShowDataProcessingRulesResultResponse.
|
106
|
+
|
107
|
+
任务ID
|
108
|
+
|
109
|
+
:return: The job_id of this ShowDataProcessingRulesResultResponse.
|
110
|
+
:rtype: str
|
111
|
+
"""
|
112
|
+
return self._job_id
|
113
|
+
|
114
|
+
@job_id.setter
|
115
|
+
def job_id(self, job_id):
|
116
|
+
"""Sets the job_id of this ShowDataProcessingRulesResultResponse.
|
117
|
+
|
118
|
+
任务ID
|
119
|
+
|
120
|
+
:param job_id: The job_id of this ShowDataProcessingRulesResultResponse.
|
121
|
+
:type job_id: str
|
122
|
+
"""
|
123
|
+
self._job_id = job_id
|
124
|
+
|
96
125
|
def to_dict(self):
|
97
126
|
"""Returns the model properties as a dict"""
|
98
127
|
result = {}
|
@@ -20,17 +20,19 @@ class ShowDbObjectTemplateProgressRequest:
|
|
20
20
|
'job_id': 'str',
|
21
21
|
'x_language': 'str',
|
22
22
|
'offset': 'int',
|
23
|
-
'limit': 'int'
|
23
|
+
'limit': 'int',
|
24
|
+
'type': 'str'
|
24
25
|
}
|
25
26
|
|
26
27
|
attribute_map = {
|
27
28
|
'job_id': 'job_id',
|
28
29
|
'x_language': 'X-Language',
|
29
30
|
'offset': 'offset',
|
30
|
-
'limit': 'limit'
|
31
|
+
'limit': 'limit',
|
32
|
+
'type': 'type'
|
31
33
|
}
|
32
34
|
|
33
|
-
def __init__(self, job_id=None, x_language=None, offset=None, limit=None):
|
35
|
+
def __init__(self, job_id=None, x_language=None, offset=None, limit=None, type=None):
|
34
36
|
"""ShowDbObjectTemplateProgressRequest
|
35
37
|
|
36
38
|
The model defined in huaweicloud sdk
|
@@ -43,6 +45,8 @@ class ShowDbObjectTemplateProgressRequest:
|
|
43
45
|
:type offset: int
|
44
46
|
:param limit: 查询返回记录的数量限制。
|
45
47
|
:type limit: int
|
48
|
+
:param type: 默认为空。 - column:当进行列加工导入时,查询列加工导入进度。
|
49
|
+
:type type: str
|
46
50
|
"""
|
47
51
|
|
48
52
|
|
@@ -51,6 +55,7 @@ class ShowDbObjectTemplateProgressRequest:
|
|
51
55
|
self._x_language = None
|
52
56
|
self._offset = None
|
53
57
|
self._limit = None
|
58
|
+
self._type = None
|
54
59
|
self.discriminator = None
|
55
60
|
|
56
61
|
self.job_id = job_id
|
@@ -60,6 +65,8 @@ class ShowDbObjectTemplateProgressRequest:
|
|
60
65
|
self.offset = offset
|
61
66
|
if limit is not None:
|
62
67
|
self.limit = limit
|
68
|
+
if type is not None:
|
69
|
+
self.type = type
|
63
70
|
|
64
71
|
@property
|
65
72
|
def job_id(self):
|
@@ -149,6 +156,28 @@ class ShowDbObjectTemplateProgressRequest:
|
|
149
156
|
"""
|
150
157
|
self._limit = limit
|
151
158
|
|
159
|
+
@property
|
160
|
+
def type(self):
|
161
|
+
"""Gets the type of this ShowDbObjectTemplateProgressRequest.
|
162
|
+
|
163
|
+
默认为空。 - column:当进行列加工导入时,查询列加工导入进度。
|
164
|
+
|
165
|
+
:return: The type of this ShowDbObjectTemplateProgressRequest.
|
166
|
+
:rtype: str
|
167
|
+
"""
|
168
|
+
return self._type
|
169
|
+
|
170
|
+
@type.setter
|
171
|
+
def type(self, type):
|
172
|
+
"""Sets the type of this ShowDbObjectTemplateProgressRequest.
|
173
|
+
|
174
|
+
默认为空。 - column:当进行列加工导入时,查询列加工导入进度。
|
175
|
+
|
176
|
+
:param type: The type of this ShowDbObjectTemplateProgressRequest.
|
177
|
+
:type type: str
|
178
|
+
"""
|
179
|
+
self._type = type
|
180
|
+
|
152
181
|
def to_dict(self):
|
153
182
|
"""Returns the model properties as a dict"""
|
154
183
|
result = {}
|
@@ -19,16 +19,18 @@ class ShowDbObjectTemplateResultRequest:
|
|
19
19
|
openapi_types = {
|
20
20
|
'job_id': 'str',
|
21
21
|
'x_language': 'str',
|
22
|
-
'type': 'str'
|
22
|
+
'type': 'str',
|
23
|
+
'file_export_object_level': 'str'
|
23
24
|
}
|
24
25
|
|
25
26
|
attribute_map = {
|
26
27
|
'job_id': 'job_id',
|
27
28
|
'x_language': 'X-Language',
|
28
|
-
'type': 'type'
|
29
|
+
'type': 'type',
|
30
|
+
'file_export_object_level': 'file_export_object_level'
|
29
31
|
}
|
30
32
|
|
31
|
-
def __init__(self, job_id=None, x_language=None, type=None):
|
33
|
+
def __init__(self, job_id=None, x_language=None, type=None, file_export_object_level=None):
|
32
34
|
"""ShowDbObjectTemplateResultRequest
|
33
35
|
|
34
36
|
The model defined in huaweicloud sdk
|
@@ -39,6 +41,8 @@ class ShowDbObjectTemplateResultRequest:
|
|
39
41
|
:type x_language: str
|
40
42
|
:param type: 导入的结果类型。取值: - detail:获取最新导入的文件与校验结果,上传后的文件若存在错误,会同时将错误原因标记在文件内。 - synchronized:获取已同步的(已下发的)对象文件结果。 - change: 获取新增和删除的对象结果(当再编辑时使用)
|
41
43
|
:type type: str
|
44
|
+
:param file_export_object_level: 默认为空。当进行列加工导入时,查询列加工导入进度,取值column。
|
45
|
+
:type file_export_object_level: str
|
42
46
|
"""
|
43
47
|
|
44
48
|
|
@@ -46,12 +50,15 @@ class ShowDbObjectTemplateResultRequest:
|
|
46
50
|
self._job_id = None
|
47
51
|
self._x_language = None
|
48
52
|
self._type = None
|
53
|
+
self._file_export_object_level = None
|
49
54
|
self.discriminator = None
|
50
55
|
|
51
56
|
self.job_id = job_id
|
52
57
|
if x_language is not None:
|
53
58
|
self.x_language = x_language
|
54
59
|
self.type = type
|
60
|
+
if file_export_object_level is not None:
|
61
|
+
self.file_export_object_level = file_export_object_level
|
55
62
|
|
56
63
|
@property
|
57
64
|
def job_id(self):
|
@@ -119,6 +126,28 @@ class ShowDbObjectTemplateResultRequest:
|
|
119
126
|
"""
|
120
127
|
self._type = type
|
121
128
|
|
129
|
+
@property
|
130
|
+
def file_export_object_level(self):
|
131
|
+
"""Gets the file_export_object_level of this ShowDbObjectTemplateResultRequest.
|
132
|
+
|
133
|
+
默认为空。当进行列加工导入时,查询列加工导入进度,取值column。
|
134
|
+
|
135
|
+
:return: The file_export_object_level of this ShowDbObjectTemplateResultRequest.
|
136
|
+
:rtype: str
|
137
|
+
"""
|
138
|
+
return self._file_export_object_level
|
139
|
+
|
140
|
+
@file_export_object_level.setter
|
141
|
+
def file_export_object_level(self, file_export_object_level):
|
142
|
+
"""Sets the file_export_object_level of this ShowDbObjectTemplateResultRequest.
|
143
|
+
|
144
|
+
默认为空。当进行列加工导入时,查询列加工导入进度,取值column。
|
145
|
+
|
146
|
+
:param file_export_object_level: The file_export_object_level of this ShowDbObjectTemplateResultRequest.
|
147
|
+
:type file_export_object_level: str
|
148
|
+
"""
|
149
|
+
self._file_export_object_level = file_export_object_level
|
150
|
+
|
122
151
|
def to_dict(self):
|
123
152
|
"""Returns the model properties as a dict"""
|
124
153
|
result = {}
|