huaweicloudsdkdrs 3.1.89__py2.py3-none-any.whl → 3.1.91__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.
Files changed (54) hide show
  1. huaweicloudsdkdrs/v3/__init__.py +26 -0
  2. huaweicloudsdkdrs/v3/drs_async_client.py +589 -1
  3. huaweicloudsdkdrs/v3/drs_client.py +589 -1
  4. huaweicloudsdkdrs/v3/model/__init__.py +26 -0
  5. huaweicloudsdkdrs/v3/model/add_data_transformation_req.py +138 -0
  6. huaweicloudsdkdrs/v3/model/api_http_null_resp.py +84 -0
  7. huaweicloudsdkdrs/v3/model/compare_job_info.py +376 -0
  8. huaweicloudsdkdrs/v3/model/create_data_compare_database_object.py +115 -0
  9. huaweicloudsdkdrs/v3/model/create_data_compare_transformation_info.py +142 -0
  10. huaweicloudsdkdrs/v3/model/create_data_level_table_compare_job_req.py +346 -0
  11. huaweicloudsdkdrs/v3/model/create_data_level_table_compare_job_request.py +168 -0
  12. huaweicloudsdkdrs/v3/model/create_data_level_table_compare_job_response.py +116 -0
  13. huaweicloudsdkdrs/v3/model/data_compare_overview_info.py +173 -0
  14. huaweicloudsdkdrs/v3/model/delete_compare_job_request.py +171 -0
  15. huaweicloudsdkdrs/v3/model/delete_compare_job_response.py +116 -0
  16. huaweicloudsdkdrs/v3/model/list_content_compare_detail_request.py +316 -0
  17. huaweicloudsdkdrs/v3/model/list_content_compare_detail_response.py +145 -0
  18. huaweicloudsdkdrs/v3/model/list_content_compare_overview_request.py +229 -0
  19. huaweicloudsdkdrs/v3/model/list_content_compare_overview_response.py +145 -0
  20. huaweicloudsdkdrs/v3/model/list_data_compare_detail_request.py +374 -0
  21. huaweicloudsdkdrs/v3/model/list_data_compare_detail_response.py +145 -0
  22. huaweicloudsdkdrs/v3/model/list_data_compare_overview_request.py +258 -0
  23. huaweicloudsdkdrs/v3/model/list_data_compare_overview_response.py +145 -0
  24. huaweicloudsdkdrs/v3/model/list_data_level_table_compare_jobs_request.py +201 -0
  25. huaweicloudsdkdrs/v3/model/list_data_level_table_compare_jobs_response.py +145 -0
  26. huaweicloudsdkdrs/v3/model/node_content_compare_detail_result.py +405 -0
  27. huaweicloudsdkdrs/v3/model/node_content_compare_overview_result.py +173 -0
  28. huaweicloudsdkdrs/v3/model/start_promptly_data_level_table_compare_job_request.py +171 -0
  29. huaweicloudsdkdrs/v3/model/start_promptly_data_level_table_compare_job_response.py +116 -0
  30. huaweicloudsdkdrs/v3/model/table_line_compare_result_info.py +289 -0
  31. huaweicloudsdkdrs/v5/__init__.py +10 -0
  32. huaweicloudsdkdrs/v5/drs_async_client.py +154 -0
  33. huaweicloudsdkdrs/v5/drs_client.py +154 -0
  34. huaweicloudsdkdrs/v5/model/__init__.py +10 -0
  35. huaweicloudsdkdrs/v5/model/action_req.py +3 -3
  36. huaweicloudsdkdrs/v5/model/compare_task_params.py +32 -3
  37. huaweicloudsdkdrs/v5/model/data_process_info.py +32 -3
  38. huaweicloudsdkdrs/v5/model/db_object_filtering_result.py +148 -3
  39. huaweicloudsdkdrs/v5/model/lists_agency_permissions_request.py +201 -0
  40. huaweicloudsdkdrs/v5/model/lists_agency_permissions_response.py +145 -0
  41. huaweicloudsdkdrs/v5/model/replay_error_sql_resp.py +173 -0
  42. huaweicloudsdkdrs/v5/model/replay_error_sql_template_resp.py +260 -0
  43. huaweicloudsdkdrs/v5/model/replay_shard_statics_resp.py +226 -0
  44. huaweicloudsdkdrs/v5/model/replay_slow_sql_resp.py +202 -0
  45. huaweicloudsdkdrs/v5/model/replay_slow_sql_template_resp.py +373 -0
  46. huaweicloudsdkdrs/v5/model/replaying_sql_resp.py +318 -0
  47. huaweicloudsdkdrs/v5/model/show_position_result_response.py +3 -3
  48. huaweicloudsdkdrs/v5/model/show_replay_results_request.py +374 -0
  49. huaweicloudsdkdrs/v5/model/show_replay_results_response.py +290 -0
  50. {huaweicloudsdkdrs-3.1.89.dist-info → huaweicloudsdkdrs-3.1.91.dist-info}/METADATA +2 -2
  51. {huaweicloudsdkdrs-3.1.89.dist-info → huaweicloudsdkdrs-3.1.91.dist-info}/RECORD +54 -18
  52. {huaweicloudsdkdrs-3.1.89.dist-info → huaweicloudsdkdrs-3.1.91.dist-info}/LICENSE +0 -0
  53. {huaweicloudsdkdrs-3.1.89.dist-info → huaweicloudsdkdrs-3.1.91.dist-info}/WHEEL +0 -0
  54. {huaweicloudsdkdrs-3.1.89.dist-info → huaweicloudsdkdrs-3.1.91.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,373 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class ReplaySlowSqlTemplateResp:
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
+ 'sql_template': 'str',
21
+ 'target_name': 'str',
22
+ 'schema_name': 'str',
23
+ 'query_type': 'str',
24
+ 'min_latency': 'int',
25
+ 'max_latency': 'int',
26
+ 'avg_latency': 'int',
27
+ 'total_latency': 'int',
28
+ 'target_type': 'str',
29
+ 'count': 'int'
30
+ }
31
+
32
+ attribute_map = {
33
+ 'sql_template': 'sql_template',
34
+ 'target_name': 'target_name',
35
+ 'schema_name': 'schema_name',
36
+ 'query_type': 'query_type',
37
+ 'min_latency': 'min_latency',
38
+ 'max_latency': 'max_latency',
39
+ 'avg_latency': 'avg_latency',
40
+ 'total_latency': 'total_latency',
41
+ 'target_type': 'target_type',
42
+ 'count': 'count'
43
+ }
44
+
45
+ def __init__(self, sql_template=None, target_name=None, schema_name=None, query_type=None, min_latency=None, max_latency=None, avg_latency=None, total_latency=None, target_type=None, count=None):
46
+ """ReplaySlowSqlTemplateResp
47
+
48
+ The model defined in huaweicloud sdk
49
+
50
+ :param sql_template: SQL语句模板
51
+ :type sql_template: str
52
+ :param target_name: 目标库别名
53
+ :type target_name: str
54
+ :param schema_name: schema名称
55
+ :type schema_name: str
56
+ :param query_type: SQL类型
57
+ :type query_type: str
58
+ :param min_latency: SQL执行最小耗时
59
+ :type min_latency: int
60
+ :param max_latency: SQL执行最大耗时
61
+ :type max_latency: int
62
+ :param avg_latency: SQL执行平均耗时
63
+ :type avg_latency: int
64
+ :param total_latency: SQL执行总的耗时
65
+ :type total_latency: int
66
+ :param target_type: 目标库类型
67
+ :type target_type: str
68
+ :param count: SQL数量
69
+ :type count: int
70
+ """
71
+
72
+
73
+
74
+ self._sql_template = None
75
+ self._target_name = None
76
+ self._schema_name = None
77
+ self._query_type = None
78
+ self._min_latency = None
79
+ self._max_latency = None
80
+ self._avg_latency = None
81
+ self._total_latency = None
82
+ self._target_type = None
83
+ self._count = None
84
+ self.discriminator = None
85
+
86
+ self.sql_template = sql_template
87
+ if target_name is not None:
88
+ self.target_name = target_name
89
+ if schema_name is not None:
90
+ self.schema_name = schema_name
91
+ if query_type is not None:
92
+ self.query_type = query_type
93
+ if min_latency is not None:
94
+ self.min_latency = min_latency
95
+ if max_latency is not None:
96
+ self.max_latency = max_latency
97
+ self.avg_latency = avg_latency
98
+ if total_latency is not None:
99
+ self.total_latency = total_latency
100
+ if target_type is not None:
101
+ self.target_type = target_type
102
+ self.count = count
103
+
104
+ @property
105
+ def sql_template(self):
106
+ """Gets the sql_template of this ReplaySlowSqlTemplateResp.
107
+
108
+ SQL语句模板
109
+
110
+ :return: The sql_template of this ReplaySlowSqlTemplateResp.
111
+ :rtype: str
112
+ """
113
+ return self._sql_template
114
+
115
+ @sql_template.setter
116
+ def sql_template(self, sql_template):
117
+ """Sets the sql_template of this ReplaySlowSqlTemplateResp.
118
+
119
+ SQL语句模板
120
+
121
+ :param sql_template: The sql_template of this ReplaySlowSqlTemplateResp.
122
+ :type sql_template: str
123
+ """
124
+ self._sql_template = sql_template
125
+
126
+ @property
127
+ def target_name(self):
128
+ """Gets the target_name of this ReplaySlowSqlTemplateResp.
129
+
130
+ 目标库别名
131
+
132
+ :return: The target_name of this ReplaySlowSqlTemplateResp.
133
+ :rtype: str
134
+ """
135
+ return self._target_name
136
+
137
+ @target_name.setter
138
+ def target_name(self, target_name):
139
+ """Sets the target_name of this ReplaySlowSqlTemplateResp.
140
+
141
+ 目标库别名
142
+
143
+ :param target_name: The target_name of this ReplaySlowSqlTemplateResp.
144
+ :type target_name: str
145
+ """
146
+ self._target_name = target_name
147
+
148
+ @property
149
+ def schema_name(self):
150
+ """Gets the schema_name of this ReplaySlowSqlTemplateResp.
151
+
152
+ schema名称
153
+
154
+ :return: The schema_name of this ReplaySlowSqlTemplateResp.
155
+ :rtype: str
156
+ """
157
+ return self._schema_name
158
+
159
+ @schema_name.setter
160
+ def schema_name(self, schema_name):
161
+ """Sets the schema_name of this ReplaySlowSqlTemplateResp.
162
+
163
+ schema名称
164
+
165
+ :param schema_name: The schema_name of this ReplaySlowSqlTemplateResp.
166
+ :type schema_name: str
167
+ """
168
+ self._schema_name = schema_name
169
+
170
+ @property
171
+ def query_type(self):
172
+ """Gets the query_type of this ReplaySlowSqlTemplateResp.
173
+
174
+ SQL类型
175
+
176
+ :return: The query_type of this ReplaySlowSqlTemplateResp.
177
+ :rtype: str
178
+ """
179
+ return self._query_type
180
+
181
+ @query_type.setter
182
+ def query_type(self, query_type):
183
+ """Sets the query_type of this ReplaySlowSqlTemplateResp.
184
+
185
+ SQL类型
186
+
187
+ :param query_type: The query_type of this ReplaySlowSqlTemplateResp.
188
+ :type query_type: str
189
+ """
190
+ self._query_type = query_type
191
+
192
+ @property
193
+ def min_latency(self):
194
+ """Gets the min_latency of this ReplaySlowSqlTemplateResp.
195
+
196
+ SQL执行最小耗时
197
+
198
+ :return: The min_latency of this ReplaySlowSqlTemplateResp.
199
+ :rtype: int
200
+ """
201
+ return self._min_latency
202
+
203
+ @min_latency.setter
204
+ def min_latency(self, min_latency):
205
+ """Sets the min_latency of this ReplaySlowSqlTemplateResp.
206
+
207
+ SQL执行最小耗时
208
+
209
+ :param min_latency: The min_latency of this ReplaySlowSqlTemplateResp.
210
+ :type min_latency: int
211
+ """
212
+ self._min_latency = min_latency
213
+
214
+ @property
215
+ def max_latency(self):
216
+ """Gets the max_latency of this ReplaySlowSqlTemplateResp.
217
+
218
+ SQL执行最大耗时
219
+
220
+ :return: The max_latency of this ReplaySlowSqlTemplateResp.
221
+ :rtype: int
222
+ """
223
+ return self._max_latency
224
+
225
+ @max_latency.setter
226
+ def max_latency(self, max_latency):
227
+ """Sets the max_latency of this ReplaySlowSqlTemplateResp.
228
+
229
+ SQL执行最大耗时
230
+
231
+ :param max_latency: The max_latency of this ReplaySlowSqlTemplateResp.
232
+ :type max_latency: int
233
+ """
234
+ self._max_latency = max_latency
235
+
236
+ @property
237
+ def avg_latency(self):
238
+ """Gets the avg_latency of this ReplaySlowSqlTemplateResp.
239
+
240
+ SQL执行平均耗时
241
+
242
+ :return: The avg_latency of this ReplaySlowSqlTemplateResp.
243
+ :rtype: int
244
+ """
245
+ return self._avg_latency
246
+
247
+ @avg_latency.setter
248
+ def avg_latency(self, avg_latency):
249
+ """Sets the avg_latency of this ReplaySlowSqlTemplateResp.
250
+
251
+ SQL执行平均耗时
252
+
253
+ :param avg_latency: The avg_latency of this ReplaySlowSqlTemplateResp.
254
+ :type avg_latency: int
255
+ """
256
+ self._avg_latency = avg_latency
257
+
258
+ @property
259
+ def total_latency(self):
260
+ """Gets the total_latency of this ReplaySlowSqlTemplateResp.
261
+
262
+ SQL执行总的耗时
263
+
264
+ :return: The total_latency of this ReplaySlowSqlTemplateResp.
265
+ :rtype: int
266
+ """
267
+ return self._total_latency
268
+
269
+ @total_latency.setter
270
+ def total_latency(self, total_latency):
271
+ """Sets the total_latency of this ReplaySlowSqlTemplateResp.
272
+
273
+ SQL执行总的耗时
274
+
275
+ :param total_latency: The total_latency of this ReplaySlowSqlTemplateResp.
276
+ :type total_latency: int
277
+ """
278
+ self._total_latency = total_latency
279
+
280
+ @property
281
+ def target_type(self):
282
+ """Gets the target_type of this ReplaySlowSqlTemplateResp.
283
+
284
+ 目标库类型
285
+
286
+ :return: The target_type of this ReplaySlowSqlTemplateResp.
287
+ :rtype: str
288
+ """
289
+ return self._target_type
290
+
291
+ @target_type.setter
292
+ def target_type(self, target_type):
293
+ """Sets the target_type of this ReplaySlowSqlTemplateResp.
294
+
295
+ 目标库类型
296
+
297
+ :param target_type: The target_type of this ReplaySlowSqlTemplateResp.
298
+ :type target_type: str
299
+ """
300
+ self._target_type = target_type
301
+
302
+ @property
303
+ def count(self):
304
+ """Gets the count of this ReplaySlowSqlTemplateResp.
305
+
306
+ SQL数量
307
+
308
+ :return: The count of this ReplaySlowSqlTemplateResp.
309
+ :rtype: int
310
+ """
311
+ return self._count
312
+
313
+ @count.setter
314
+ def count(self, count):
315
+ """Sets the count of this ReplaySlowSqlTemplateResp.
316
+
317
+ SQL数量
318
+
319
+ :param count: The count of this ReplaySlowSqlTemplateResp.
320
+ :type count: int
321
+ """
322
+ self._count = count
323
+
324
+ def to_dict(self):
325
+ """Returns the model properties as a dict"""
326
+ result = {}
327
+
328
+ for attr, _ in six.iteritems(self.openapi_types):
329
+ value = getattr(self, attr)
330
+ if isinstance(value, list):
331
+ result[attr] = list(map(
332
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
333
+ value
334
+ ))
335
+ elif hasattr(value, "to_dict"):
336
+ result[attr] = value.to_dict()
337
+ elif isinstance(value, dict):
338
+ result[attr] = dict(map(
339
+ lambda item: (item[0], item[1].to_dict())
340
+ if hasattr(item[1], "to_dict") else item,
341
+ value.items()
342
+ ))
343
+ else:
344
+ if attr in self.sensitive_list:
345
+ result[attr] = "****"
346
+ else:
347
+ result[attr] = value
348
+
349
+ return result
350
+
351
+ def to_str(self):
352
+ """Returns the string representation of the model"""
353
+ import simplejson as json
354
+ if six.PY2:
355
+ import sys
356
+ reload(sys)
357
+ sys.setdefaultencoding("utf-8")
358
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
359
+
360
+ def __repr__(self):
361
+ """For `print`"""
362
+ return self.to_str()
363
+
364
+ def __eq__(self, other):
365
+ """Returns true if both objects are equal"""
366
+ if not isinstance(other, ReplaySlowSqlTemplateResp):
367
+ return False
368
+
369
+ return self.__dict__ == other.__dict__
370
+
371
+ def __ne__(self, other):
372
+ """Returns true if both objects are not equal"""
373
+ return not self == other
@@ -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
@@ -38,7 +38,7 @@ class ShowPositionResultResponse(SdkResponse):
38
38
  :type job_id: str
39
39
  :param position: 位点信息
40
40
  :type position: str
41
- :param status: 查询状态。
41
+ :param status: 查询状态
42
42
  :type status: str
43
43
  """
44
44
 
@@ -104,7 +104,7 @@ class ShowPositionResultResponse(SdkResponse):
104
104
  def status(self):
105
105
  """Gets the status of this ShowPositionResultResponse.
106
106
 
107
- 查询状态。
107
+ 查询状态
108
108
 
109
109
  :return: The status of this ShowPositionResultResponse.
110
110
  :rtype: str
@@ -115,7 +115,7 @@ class ShowPositionResultResponse(SdkResponse):
115
115
  def status(self, status):
116
116
  """Sets the status of this ShowPositionResultResponse.
117
117
 
118
- 查询状态。
118
+ 查询状态
119
119
 
120
120
  :param status: The status of this ShowPositionResultResponse.
121
121
  :type status: str