huaweicloudsdkdrs 3.1.86__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 +43 -0
- huaweicloudsdkdrs/v3/drs_async_client.py +1087 -65
- huaweicloudsdkdrs/v3/drs_client.py +1087 -65
- huaweicloudsdkdrs/v3/model/__init__.py +43 -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 +3 -3
- 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 +41 -12
- 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/kafka_security.py +290 -29
- 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/query_job_resp.py +51 -22
- huaweicloudsdkdrs/v3/model/query_jobs_req.py +3 -3
- 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/table_line_compare_result_info.py +289 -0
- huaweicloudsdkdrs/v3/region/drs_region.py +15 -0
- huaweicloudsdkdrs/v5/__init__.py +79 -1
- huaweicloudsdkdrs/v5/drs_async_client.py +2408 -750
- huaweicloudsdkdrs/v5/drs_client.py +2408 -750
- huaweicloudsdkdrs/v5/model/__init__.py +79 -1
- huaweicloudsdkdrs/v5/model/action_params.py +57 -3
- huaweicloudsdkdrs/v5/model/action_req.py +3 -3
- huaweicloudsdkdrs/v5/model/agency_role.py +144 -0
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- huaweicloudsdkdrs/v5/model/collect_db_objects_async_response.py +3 -3
- huaweicloudsdkdrs/v5/model/collect_db_objects_info_response.py +3 -3
- huaweicloudsdkdrs/v5/model/collect_position_async_response.py +3 -3
- 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_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/health_compare_job.py +9 -9
- huaweicloudsdkdrs/v5/model/job_base_info.py +35 -6
- huaweicloudsdkdrs/v5/model/job_detail_resp.py +35 -6
- huaweicloudsdkdrs/v5/model/job_endpoint_info.py +3 -3
- huaweicloudsdkdrs/v5/model/job_list_resp.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/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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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.86.dist-info → huaweicloudsdkdrs-3.1.132.dist-info}/METADATA +2 -2
- {huaweicloudsdkdrs-3.1.86.dist-info → huaweicloudsdkdrs-3.1.132.dist-info}/RECORD +180 -59
- {huaweicloudsdkdrs-3.1.86.dist-info → huaweicloudsdkdrs-3.1.132.dist-info}/WHEEL +1 -1
- huaweicloudsdkdrs/v5/model/create_job_resp.py +0 -227
- {huaweicloudsdkdrs-3.1.86.dist-info → huaweicloudsdkdrs-3.1.132.dist-info}/LICENSE +0 -0
- {huaweicloudsdkdrs-3.1.86.dist-info → huaweicloudsdkdrs-3.1.132.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,318 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class ReplayingSqlResp:
|
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
|
+
'schema_name': 'str',
|
21
|
+
'sql_statement': 'str',
|
22
|
+
'latency': 'int',
|
23
|
+
'execute_latency': 'int',
|
24
|
+
'status': 'str',
|
25
|
+
'client': 'str',
|
26
|
+
'connection_id': 'str',
|
27
|
+
'replay_start_time': 'str'
|
28
|
+
}
|
29
|
+
|
30
|
+
attribute_map = {
|
31
|
+
'schema_name': 'schema_name',
|
32
|
+
'sql_statement': 'sql_statement',
|
33
|
+
'latency': 'latency',
|
34
|
+
'execute_latency': 'execute_latency',
|
35
|
+
'status': 'status',
|
36
|
+
'client': 'client',
|
37
|
+
'connection_id': 'connection_id',
|
38
|
+
'replay_start_time': 'replay_start_time'
|
39
|
+
}
|
40
|
+
|
41
|
+
def __init__(self, schema_name=None, sql_statement=None, latency=None, execute_latency=None, status=None, client=None, connection_id=None, replay_start_time=None):
|
42
|
+
"""ReplayingSqlResp
|
43
|
+
|
44
|
+
The model defined in huaweicloud sdk
|
45
|
+
|
46
|
+
:param schema_name: 库名或shema名称
|
47
|
+
:type schema_name: str
|
48
|
+
:param sql_statement: SQL语句
|
49
|
+
:type sql_statement: str
|
50
|
+
:param latency: 原始执行耗时
|
51
|
+
:type latency: int
|
52
|
+
:param execute_latency: 回放执行耗时
|
53
|
+
:type execute_latency: int
|
54
|
+
:param status: 执行状态
|
55
|
+
:type status: str
|
56
|
+
:param client: 客户端IP
|
57
|
+
:type client: str
|
58
|
+
:param connection_id: 连接ID
|
59
|
+
:type connection_id: str
|
60
|
+
:param replay_start_time: 回放开始时间
|
61
|
+
:type replay_start_time: str
|
62
|
+
"""
|
63
|
+
|
64
|
+
|
65
|
+
|
66
|
+
self._schema_name = None
|
67
|
+
self._sql_statement = None
|
68
|
+
self._latency = None
|
69
|
+
self._execute_latency = None
|
70
|
+
self._status = None
|
71
|
+
self._client = None
|
72
|
+
self._connection_id = None
|
73
|
+
self._replay_start_time = None
|
74
|
+
self.discriminator = None
|
75
|
+
|
76
|
+
if schema_name is not None:
|
77
|
+
self.schema_name = schema_name
|
78
|
+
if sql_statement is not None:
|
79
|
+
self.sql_statement = sql_statement
|
80
|
+
if latency is not None:
|
81
|
+
self.latency = latency
|
82
|
+
if execute_latency is not None:
|
83
|
+
self.execute_latency = execute_latency
|
84
|
+
if status is not None:
|
85
|
+
self.status = status
|
86
|
+
if client is not None:
|
87
|
+
self.client = client
|
88
|
+
if connection_id is not None:
|
89
|
+
self.connection_id = connection_id
|
90
|
+
if replay_start_time is not None:
|
91
|
+
self.replay_start_time = replay_start_time
|
92
|
+
|
93
|
+
@property
|
94
|
+
def schema_name(self):
|
95
|
+
"""Gets the schema_name of this ReplayingSqlResp.
|
96
|
+
|
97
|
+
库名或shema名称
|
98
|
+
|
99
|
+
:return: The schema_name of this ReplayingSqlResp.
|
100
|
+
:rtype: str
|
101
|
+
"""
|
102
|
+
return self._schema_name
|
103
|
+
|
104
|
+
@schema_name.setter
|
105
|
+
def schema_name(self, schema_name):
|
106
|
+
"""Sets the schema_name of this ReplayingSqlResp.
|
107
|
+
|
108
|
+
库名或shema名称
|
109
|
+
|
110
|
+
:param schema_name: The schema_name of this ReplayingSqlResp.
|
111
|
+
:type schema_name: str
|
112
|
+
"""
|
113
|
+
self._schema_name = schema_name
|
114
|
+
|
115
|
+
@property
|
116
|
+
def sql_statement(self):
|
117
|
+
"""Gets the sql_statement of this ReplayingSqlResp.
|
118
|
+
|
119
|
+
SQL语句
|
120
|
+
|
121
|
+
:return: The sql_statement of this ReplayingSqlResp.
|
122
|
+
:rtype: str
|
123
|
+
"""
|
124
|
+
return self._sql_statement
|
125
|
+
|
126
|
+
@sql_statement.setter
|
127
|
+
def sql_statement(self, sql_statement):
|
128
|
+
"""Sets the sql_statement of this ReplayingSqlResp.
|
129
|
+
|
130
|
+
SQL语句
|
131
|
+
|
132
|
+
:param sql_statement: The sql_statement of this ReplayingSqlResp.
|
133
|
+
:type sql_statement: str
|
134
|
+
"""
|
135
|
+
self._sql_statement = sql_statement
|
136
|
+
|
137
|
+
@property
|
138
|
+
def latency(self):
|
139
|
+
"""Gets the latency of this ReplayingSqlResp.
|
140
|
+
|
141
|
+
原始执行耗时
|
142
|
+
|
143
|
+
:return: The latency of this ReplayingSqlResp.
|
144
|
+
:rtype: int
|
145
|
+
"""
|
146
|
+
return self._latency
|
147
|
+
|
148
|
+
@latency.setter
|
149
|
+
def latency(self, latency):
|
150
|
+
"""Sets the latency of this ReplayingSqlResp.
|
151
|
+
|
152
|
+
原始执行耗时
|
153
|
+
|
154
|
+
:param latency: The latency of this ReplayingSqlResp.
|
155
|
+
:type latency: int
|
156
|
+
"""
|
157
|
+
self._latency = latency
|
158
|
+
|
159
|
+
@property
|
160
|
+
def execute_latency(self):
|
161
|
+
"""Gets the execute_latency of this ReplayingSqlResp.
|
162
|
+
|
163
|
+
回放执行耗时
|
164
|
+
|
165
|
+
:return: The execute_latency of this ReplayingSqlResp.
|
166
|
+
:rtype: int
|
167
|
+
"""
|
168
|
+
return self._execute_latency
|
169
|
+
|
170
|
+
@execute_latency.setter
|
171
|
+
def execute_latency(self, execute_latency):
|
172
|
+
"""Sets the execute_latency of this ReplayingSqlResp.
|
173
|
+
|
174
|
+
回放执行耗时
|
175
|
+
|
176
|
+
:param execute_latency: The execute_latency of this ReplayingSqlResp.
|
177
|
+
:type execute_latency: int
|
178
|
+
"""
|
179
|
+
self._execute_latency = execute_latency
|
180
|
+
|
181
|
+
@property
|
182
|
+
def status(self):
|
183
|
+
"""Gets the status of this ReplayingSqlResp.
|
184
|
+
|
185
|
+
执行状态
|
186
|
+
|
187
|
+
:return: The status of this ReplayingSqlResp.
|
188
|
+
:rtype: str
|
189
|
+
"""
|
190
|
+
return self._status
|
191
|
+
|
192
|
+
@status.setter
|
193
|
+
def status(self, status):
|
194
|
+
"""Sets the status of this ReplayingSqlResp.
|
195
|
+
|
196
|
+
执行状态
|
197
|
+
|
198
|
+
:param status: The status of this ReplayingSqlResp.
|
199
|
+
:type status: str
|
200
|
+
"""
|
201
|
+
self._status = status
|
202
|
+
|
203
|
+
@property
|
204
|
+
def client(self):
|
205
|
+
"""Gets the client of this ReplayingSqlResp.
|
206
|
+
|
207
|
+
客户端IP
|
208
|
+
|
209
|
+
:return: The client of this ReplayingSqlResp.
|
210
|
+
:rtype: str
|
211
|
+
"""
|
212
|
+
return self._client
|
213
|
+
|
214
|
+
@client.setter
|
215
|
+
def client(self, client):
|
216
|
+
"""Sets the client of this ReplayingSqlResp.
|
217
|
+
|
218
|
+
客户端IP
|
219
|
+
|
220
|
+
:param client: The client of this ReplayingSqlResp.
|
221
|
+
:type client: str
|
222
|
+
"""
|
223
|
+
self._client = client
|
224
|
+
|
225
|
+
@property
|
226
|
+
def connection_id(self):
|
227
|
+
"""Gets the connection_id of this ReplayingSqlResp.
|
228
|
+
|
229
|
+
连接ID
|
230
|
+
|
231
|
+
:return: The connection_id of this ReplayingSqlResp.
|
232
|
+
:rtype: str
|
233
|
+
"""
|
234
|
+
return self._connection_id
|
235
|
+
|
236
|
+
@connection_id.setter
|
237
|
+
def connection_id(self, connection_id):
|
238
|
+
"""Sets the connection_id of this ReplayingSqlResp.
|
239
|
+
|
240
|
+
连接ID
|
241
|
+
|
242
|
+
:param connection_id: The connection_id of this ReplayingSqlResp.
|
243
|
+
:type connection_id: str
|
244
|
+
"""
|
245
|
+
self._connection_id = connection_id
|
246
|
+
|
247
|
+
@property
|
248
|
+
def replay_start_time(self):
|
249
|
+
"""Gets the replay_start_time of this ReplayingSqlResp.
|
250
|
+
|
251
|
+
回放开始时间
|
252
|
+
|
253
|
+
:return: The replay_start_time of this ReplayingSqlResp.
|
254
|
+
:rtype: str
|
255
|
+
"""
|
256
|
+
return self._replay_start_time
|
257
|
+
|
258
|
+
@replay_start_time.setter
|
259
|
+
def replay_start_time(self, replay_start_time):
|
260
|
+
"""Sets the replay_start_time of this ReplayingSqlResp.
|
261
|
+
|
262
|
+
回放开始时间
|
263
|
+
|
264
|
+
:param replay_start_time: The replay_start_time of this ReplayingSqlResp.
|
265
|
+
:type replay_start_time: str
|
266
|
+
"""
|
267
|
+
self._replay_start_time = replay_start_time
|
268
|
+
|
269
|
+
def to_dict(self):
|
270
|
+
"""Returns the model properties as a dict"""
|
271
|
+
result = {}
|
272
|
+
|
273
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
274
|
+
value = getattr(self, attr)
|
275
|
+
if isinstance(value, list):
|
276
|
+
result[attr] = list(map(
|
277
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
278
|
+
value
|
279
|
+
))
|
280
|
+
elif hasattr(value, "to_dict"):
|
281
|
+
result[attr] = value.to_dict()
|
282
|
+
elif isinstance(value, dict):
|
283
|
+
result[attr] = dict(map(
|
284
|
+
lambda item: (item[0], item[1].to_dict())
|
285
|
+
if hasattr(item[1], "to_dict") else item,
|
286
|
+
value.items()
|
287
|
+
))
|
288
|
+
else:
|
289
|
+
if attr in self.sensitive_list:
|
290
|
+
result[attr] = "****"
|
291
|
+
else:
|
292
|
+
result[attr] = value
|
293
|
+
|
294
|
+
return result
|
295
|
+
|
296
|
+
def to_str(self):
|
297
|
+
"""Returns the string representation of the model"""
|
298
|
+
import simplejson as json
|
299
|
+
if six.PY2:
|
300
|
+
import sys
|
301
|
+
reload(sys)
|
302
|
+
sys.setdefaultencoding("utf-8")
|
303
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
304
|
+
|
305
|
+
def __repr__(self):
|
306
|
+
"""For `print`"""
|
307
|
+
return self.to_str()
|
308
|
+
|
309
|
+
def __eq__(self, other):
|
310
|
+
"""Returns true if both objects are equal"""
|
311
|
+
if not isinstance(other, ReplayingSqlResp):
|
312
|
+
return False
|
313
|
+
|
314
|
+
return self.__dict__ == other.__dict__
|
315
|
+
|
316
|
+
def __ne__(self, other):
|
317
|
+
"""Returns true if both objects are not equal"""
|
318
|
+
return not self == other
|
@@ -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]
|