huaweicloudsdkdrs 3.1.94__py2.py3-none-any.whl → 3.1.95__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 +17 -0
- huaweicloudsdkdrs/v3/drs_async_client.py +434 -0
- huaweicloudsdkdrs/v3/drs_client.py +434 -0
- huaweicloudsdkdrs/v3/model/__init__.py +17 -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/create_compare_result_file_request.py +196 -0
- huaweicloudsdkdrs/v3/model/create_compare_result_file_response.py +116 -0
- 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/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 +3 -3
- 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 +3 -3
- huaweicloudsdkdrs/v3/model/list_data_compare_detail_request.py +3 -3
- huaweicloudsdkdrs/v3/model/list_data_compare_overview_request.py +3 -3
- huaweicloudsdkdrs/v3/model/list_data_level_table_compare_jobs_request.py +3 -3
- 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/objects_compare_detail_info.py +260 -0
- huaweicloudsdkdrs/v3/model/objects_compare_overview_info.py +202 -0
- huaweicloudsdkdrs/v5/__init__.py +11 -0
- huaweicloudsdkdrs/v5/drs_async_client.py +207 -0
- huaweicloudsdkdrs/v5/drs_client.py +207 -0
- huaweicloudsdkdrs/v5/model/__init__.py +11 -0
- huaweicloudsdkdrs/v5/model/action_params.py +28 -3
- huaweicloudsdkdrs/v5/model/action_req.py +3 -3
- huaweicloudsdkdrs/v5/model/children_job_list_resp.py +3 -3
- huaweicloudsdkdrs/v5/model/compare_result_info.py +28 -3
- 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/health_compare_job.py +9 -9
- huaweicloudsdkdrs/v5/model/job_detail_resp.py +32 -3
- huaweicloudsdkdrs/v5/model/job_list_resp.py +3 -3
- huaweicloudsdkdrs/v5/model/modify_compare_policy_req.py +288 -0
- huaweicloudsdkdrs/v5/model/objects_health_compare_overview_info.py +202 -0
- huaweicloudsdkdrs/v5/model/replay_config_info.py +282 -0
- huaweicloudsdkdrs/v5/model/show_compare_policy_response.py +3 -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/update_compare_policy_request.py +168 -0
- huaweicloudsdkdrs/v5/model/update_compare_policy_response.py +116 -0
- huaweicloudsdkdrs/v5/model/update_job_req.py +3 -3
- {huaweicloudsdkdrs-3.1.94.dist-info → huaweicloudsdkdrs-3.1.95.dist-info}/METADATA +2 -2
- {huaweicloudsdkdrs-3.1.94.dist-info → huaweicloudsdkdrs-3.1.95.dist-info}/RECORD +60 -32
- {huaweicloudsdkdrs-3.1.94.dist-info → huaweicloudsdkdrs-3.1.95.dist-info}/LICENSE +0 -0
- {huaweicloudsdkdrs-3.1.94.dist-info → huaweicloudsdkdrs-3.1.95.dist-info}/WHEEL +0 -0
- {huaweicloudsdkdrs-3.1.94.dist-info → huaweicloudsdkdrs-3.1.95.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,287 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class ListContentCompareDifferenceRequest:
|
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
|
+
'compare_job_id': 'str',
|
23
|
+
'table_name': 'str',
|
24
|
+
'db_name': 'str',
|
25
|
+
'limit': 'int',
|
26
|
+
'offset': 'int'
|
27
|
+
}
|
28
|
+
|
29
|
+
attribute_map = {
|
30
|
+
'x_language': 'X-Language',
|
31
|
+
'job_id': 'job_id',
|
32
|
+
'compare_job_id': 'compare_job_id',
|
33
|
+
'table_name': 'table_name',
|
34
|
+
'db_name': 'db_name',
|
35
|
+
'limit': 'limit',
|
36
|
+
'offset': 'offset'
|
37
|
+
}
|
38
|
+
|
39
|
+
def __init__(self, x_language=None, job_id=None, compare_job_id=None, table_name=None, db_name=None, limit=None, offset=None):
|
40
|
+
"""ListContentCompareDifferenceRequest
|
41
|
+
|
42
|
+
The model defined in huaweicloud sdk
|
43
|
+
|
44
|
+
:param x_language: 请求语言类型。
|
45
|
+
:type x_language: str
|
46
|
+
:param job_id: 任务ID。
|
47
|
+
:type job_id: str
|
48
|
+
:param compare_job_id: 对比任务ID。
|
49
|
+
:type compare_job_id: str
|
50
|
+
:param table_name: 表名。
|
51
|
+
:type table_name: str
|
52
|
+
:param db_name: 源库名称。
|
53
|
+
:type db_name: str
|
54
|
+
:param limit: 每页显示的条目数量,最大值1000。
|
55
|
+
:type limit: int
|
56
|
+
:param offset: 偏移量,表示从此偏移量开始查询, offset大于等于0。
|
57
|
+
:type offset: int
|
58
|
+
"""
|
59
|
+
|
60
|
+
|
61
|
+
|
62
|
+
self._x_language = None
|
63
|
+
self._job_id = None
|
64
|
+
self._compare_job_id = None
|
65
|
+
self._table_name = None
|
66
|
+
self._db_name = None
|
67
|
+
self._limit = None
|
68
|
+
self._offset = None
|
69
|
+
self.discriminator = None
|
70
|
+
|
71
|
+
if x_language is not None:
|
72
|
+
self.x_language = x_language
|
73
|
+
self.job_id = job_id
|
74
|
+
self.compare_job_id = compare_job_id
|
75
|
+
if table_name is not None:
|
76
|
+
self.table_name = table_name
|
77
|
+
if db_name is not None:
|
78
|
+
self.db_name = db_name
|
79
|
+
if limit is not None:
|
80
|
+
self.limit = limit
|
81
|
+
if offset is not None:
|
82
|
+
self.offset = offset
|
83
|
+
|
84
|
+
@property
|
85
|
+
def x_language(self):
|
86
|
+
"""Gets the x_language of this ListContentCompareDifferenceRequest.
|
87
|
+
|
88
|
+
请求语言类型。
|
89
|
+
|
90
|
+
:return: The x_language of this ListContentCompareDifferenceRequest.
|
91
|
+
:rtype: str
|
92
|
+
"""
|
93
|
+
return self._x_language
|
94
|
+
|
95
|
+
@x_language.setter
|
96
|
+
def x_language(self, x_language):
|
97
|
+
"""Sets the x_language of this ListContentCompareDifferenceRequest.
|
98
|
+
|
99
|
+
请求语言类型。
|
100
|
+
|
101
|
+
:param x_language: The x_language of this ListContentCompareDifferenceRequest.
|
102
|
+
:type x_language: str
|
103
|
+
"""
|
104
|
+
self._x_language = x_language
|
105
|
+
|
106
|
+
@property
|
107
|
+
def job_id(self):
|
108
|
+
"""Gets the job_id of this ListContentCompareDifferenceRequest.
|
109
|
+
|
110
|
+
任务ID。
|
111
|
+
|
112
|
+
:return: The job_id of this ListContentCompareDifferenceRequest.
|
113
|
+
:rtype: str
|
114
|
+
"""
|
115
|
+
return self._job_id
|
116
|
+
|
117
|
+
@job_id.setter
|
118
|
+
def job_id(self, job_id):
|
119
|
+
"""Sets the job_id of this ListContentCompareDifferenceRequest.
|
120
|
+
|
121
|
+
任务ID。
|
122
|
+
|
123
|
+
:param job_id: The job_id of this ListContentCompareDifferenceRequest.
|
124
|
+
:type job_id: str
|
125
|
+
"""
|
126
|
+
self._job_id = job_id
|
127
|
+
|
128
|
+
@property
|
129
|
+
def compare_job_id(self):
|
130
|
+
"""Gets the compare_job_id of this ListContentCompareDifferenceRequest.
|
131
|
+
|
132
|
+
对比任务ID。
|
133
|
+
|
134
|
+
:return: The compare_job_id of this ListContentCompareDifferenceRequest.
|
135
|
+
:rtype: str
|
136
|
+
"""
|
137
|
+
return self._compare_job_id
|
138
|
+
|
139
|
+
@compare_job_id.setter
|
140
|
+
def compare_job_id(self, compare_job_id):
|
141
|
+
"""Sets the compare_job_id of this ListContentCompareDifferenceRequest.
|
142
|
+
|
143
|
+
对比任务ID。
|
144
|
+
|
145
|
+
:param compare_job_id: The compare_job_id of this ListContentCompareDifferenceRequest.
|
146
|
+
:type compare_job_id: str
|
147
|
+
"""
|
148
|
+
self._compare_job_id = compare_job_id
|
149
|
+
|
150
|
+
@property
|
151
|
+
def table_name(self):
|
152
|
+
"""Gets the table_name of this ListContentCompareDifferenceRequest.
|
153
|
+
|
154
|
+
表名。
|
155
|
+
|
156
|
+
:return: The table_name of this ListContentCompareDifferenceRequest.
|
157
|
+
:rtype: str
|
158
|
+
"""
|
159
|
+
return self._table_name
|
160
|
+
|
161
|
+
@table_name.setter
|
162
|
+
def table_name(self, table_name):
|
163
|
+
"""Sets the table_name of this ListContentCompareDifferenceRequest.
|
164
|
+
|
165
|
+
表名。
|
166
|
+
|
167
|
+
:param table_name: The table_name of this ListContentCompareDifferenceRequest.
|
168
|
+
:type table_name: str
|
169
|
+
"""
|
170
|
+
self._table_name = table_name
|
171
|
+
|
172
|
+
@property
|
173
|
+
def db_name(self):
|
174
|
+
"""Gets the db_name of this ListContentCompareDifferenceRequest.
|
175
|
+
|
176
|
+
源库名称。
|
177
|
+
|
178
|
+
:return: The db_name of this ListContentCompareDifferenceRequest.
|
179
|
+
:rtype: str
|
180
|
+
"""
|
181
|
+
return self._db_name
|
182
|
+
|
183
|
+
@db_name.setter
|
184
|
+
def db_name(self, db_name):
|
185
|
+
"""Sets the db_name of this ListContentCompareDifferenceRequest.
|
186
|
+
|
187
|
+
源库名称。
|
188
|
+
|
189
|
+
:param db_name: The db_name of this ListContentCompareDifferenceRequest.
|
190
|
+
:type db_name: str
|
191
|
+
"""
|
192
|
+
self._db_name = db_name
|
193
|
+
|
194
|
+
@property
|
195
|
+
def limit(self):
|
196
|
+
"""Gets the limit of this ListContentCompareDifferenceRequest.
|
197
|
+
|
198
|
+
每页显示的条目数量,最大值1000。
|
199
|
+
|
200
|
+
:return: The limit of this ListContentCompareDifferenceRequest.
|
201
|
+
:rtype: int
|
202
|
+
"""
|
203
|
+
return self._limit
|
204
|
+
|
205
|
+
@limit.setter
|
206
|
+
def limit(self, limit):
|
207
|
+
"""Sets the limit of this ListContentCompareDifferenceRequest.
|
208
|
+
|
209
|
+
每页显示的条目数量,最大值1000。
|
210
|
+
|
211
|
+
:param limit: The limit of this ListContentCompareDifferenceRequest.
|
212
|
+
:type limit: int
|
213
|
+
"""
|
214
|
+
self._limit = limit
|
215
|
+
|
216
|
+
@property
|
217
|
+
def offset(self):
|
218
|
+
"""Gets the offset of this ListContentCompareDifferenceRequest.
|
219
|
+
|
220
|
+
偏移量,表示从此偏移量开始查询, offset大于等于0。
|
221
|
+
|
222
|
+
:return: The offset of this ListContentCompareDifferenceRequest.
|
223
|
+
:rtype: int
|
224
|
+
"""
|
225
|
+
return self._offset
|
226
|
+
|
227
|
+
@offset.setter
|
228
|
+
def offset(self, offset):
|
229
|
+
"""Sets the offset of this ListContentCompareDifferenceRequest.
|
230
|
+
|
231
|
+
偏移量,表示从此偏移量开始查询, offset大于等于0。
|
232
|
+
|
233
|
+
:param offset: The offset of this ListContentCompareDifferenceRequest.
|
234
|
+
:type offset: int
|
235
|
+
"""
|
236
|
+
self._offset = offset
|
237
|
+
|
238
|
+
def to_dict(self):
|
239
|
+
"""Returns the model properties as a dict"""
|
240
|
+
result = {}
|
241
|
+
|
242
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
243
|
+
value = getattr(self, attr)
|
244
|
+
if isinstance(value, list):
|
245
|
+
result[attr] = list(map(
|
246
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
247
|
+
value
|
248
|
+
))
|
249
|
+
elif hasattr(value, "to_dict"):
|
250
|
+
result[attr] = value.to_dict()
|
251
|
+
elif isinstance(value, dict):
|
252
|
+
result[attr] = dict(map(
|
253
|
+
lambda item: (item[0], item[1].to_dict())
|
254
|
+
if hasattr(item[1], "to_dict") else item,
|
255
|
+
value.items()
|
256
|
+
))
|
257
|
+
else:
|
258
|
+
if attr in self.sensitive_list:
|
259
|
+
result[attr] = "****"
|
260
|
+
else:
|
261
|
+
result[attr] = value
|
262
|
+
|
263
|
+
return result
|
264
|
+
|
265
|
+
def to_str(self):
|
266
|
+
"""Returns the string representation of the model"""
|
267
|
+
import simplejson as json
|
268
|
+
if six.PY2:
|
269
|
+
import sys
|
270
|
+
reload(sys)
|
271
|
+
sys.setdefaultencoding("utf-8")
|
272
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
273
|
+
|
274
|
+
def __repr__(self):
|
275
|
+
"""For `print`"""
|
276
|
+
return self.to_str()
|
277
|
+
|
278
|
+
def __eq__(self, other):
|
279
|
+
"""Returns true if both objects are equal"""
|
280
|
+
if not isinstance(other, ListContentCompareDifferenceRequest):
|
281
|
+
return False
|
282
|
+
|
283
|
+
return self.__dict__ == other.__dict__
|
284
|
+
|
285
|
+
def __ne__(self, other):
|
286
|
+
"""Returns true if both objects are not equal"""
|
287
|
+
return not self == other
|
@@ -0,0 +1,232 @@
|
|
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 ListContentCompareDifferenceResponse(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
|
+
'count': 'int',
|
22
|
+
'target_meta_is_null': 'int',
|
23
|
+
'source_meta_is_null': 'int',
|
24
|
+
'source_target_meta_not_null': 'int',
|
25
|
+
'contents_infos': 'list[CompareJobContentDetailInfo]'
|
26
|
+
}
|
27
|
+
|
28
|
+
attribute_map = {
|
29
|
+
'count': 'count',
|
30
|
+
'target_meta_is_null': 'target_meta_is_null',
|
31
|
+
'source_meta_is_null': 'source_meta_is_null',
|
32
|
+
'source_target_meta_not_null': 'source_target_meta_not_null',
|
33
|
+
'contents_infos': 'contents_infos'
|
34
|
+
}
|
35
|
+
|
36
|
+
def __init__(self, count=None, target_meta_is_null=None, source_meta_is_null=None, source_target_meta_not_null=None, contents_infos=None):
|
37
|
+
"""ListContentCompareDifferenceResponse
|
38
|
+
|
39
|
+
The model defined in huaweicloud sdk
|
40
|
+
|
41
|
+
:param count: 总数量。
|
42
|
+
:type count: int
|
43
|
+
:param target_meta_is_null: 对比不一致详情数量:只有源库存在。
|
44
|
+
:type target_meta_is_null: int
|
45
|
+
:param source_meta_is_null: 对比不一致详情数量:只有目标库存在。
|
46
|
+
:type source_meta_is_null: int
|
47
|
+
:param source_target_meta_not_null: 对比不一致详情数量:源和目标端均存在。
|
48
|
+
:type source_target_meta_not_null: int
|
49
|
+
:param contents_infos: 详细内容信息列表。
|
50
|
+
:type contents_infos: list[:class:`huaweicloudsdkdrs.v3.CompareJobContentDetailInfo`]
|
51
|
+
"""
|
52
|
+
|
53
|
+
super(ListContentCompareDifferenceResponse, self).__init__()
|
54
|
+
|
55
|
+
self._count = None
|
56
|
+
self._target_meta_is_null = None
|
57
|
+
self._source_meta_is_null = None
|
58
|
+
self._source_target_meta_not_null = None
|
59
|
+
self._contents_infos = None
|
60
|
+
self.discriminator = None
|
61
|
+
|
62
|
+
if count is not None:
|
63
|
+
self.count = count
|
64
|
+
if target_meta_is_null is not None:
|
65
|
+
self.target_meta_is_null = target_meta_is_null
|
66
|
+
if source_meta_is_null is not None:
|
67
|
+
self.source_meta_is_null = source_meta_is_null
|
68
|
+
if source_target_meta_not_null is not None:
|
69
|
+
self.source_target_meta_not_null = source_target_meta_not_null
|
70
|
+
if contents_infos is not None:
|
71
|
+
self.contents_infos = contents_infos
|
72
|
+
|
73
|
+
@property
|
74
|
+
def count(self):
|
75
|
+
"""Gets the count of this ListContentCompareDifferenceResponse.
|
76
|
+
|
77
|
+
总数量。
|
78
|
+
|
79
|
+
:return: The count of this ListContentCompareDifferenceResponse.
|
80
|
+
:rtype: int
|
81
|
+
"""
|
82
|
+
return self._count
|
83
|
+
|
84
|
+
@count.setter
|
85
|
+
def count(self, count):
|
86
|
+
"""Sets the count of this ListContentCompareDifferenceResponse.
|
87
|
+
|
88
|
+
总数量。
|
89
|
+
|
90
|
+
:param count: The count of this ListContentCompareDifferenceResponse.
|
91
|
+
:type count: int
|
92
|
+
"""
|
93
|
+
self._count = count
|
94
|
+
|
95
|
+
@property
|
96
|
+
def target_meta_is_null(self):
|
97
|
+
"""Gets the target_meta_is_null of this ListContentCompareDifferenceResponse.
|
98
|
+
|
99
|
+
对比不一致详情数量:只有源库存在。
|
100
|
+
|
101
|
+
:return: The target_meta_is_null of this ListContentCompareDifferenceResponse.
|
102
|
+
:rtype: int
|
103
|
+
"""
|
104
|
+
return self._target_meta_is_null
|
105
|
+
|
106
|
+
@target_meta_is_null.setter
|
107
|
+
def target_meta_is_null(self, target_meta_is_null):
|
108
|
+
"""Sets the target_meta_is_null of this ListContentCompareDifferenceResponse.
|
109
|
+
|
110
|
+
对比不一致详情数量:只有源库存在。
|
111
|
+
|
112
|
+
:param target_meta_is_null: The target_meta_is_null of this ListContentCompareDifferenceResponse.
|
113
|
+
:type target_meta_is_null: int
|
114
|
+
"""
|
115
|
+
self._target_meta_is_null = target_meta_is_null
|
116
|
+
|
117
|
+
@property
|
118
|
+
def source_meta_is_null(self):
|
119
|
+
"""Gets the source_meta_is_null of this ListContentCompareDifferenceResponse.
|
120
|
+
|
121
|
+
对比不一致详情数量:只有目标库存在。
|
122
|
+
|
123
|
+
:return: The source_meta_is_null of this ListContentCompareDifferenceResponse.
|
124
|
+
:rtype: int
|
125
|
+
"""
|
126
|
+
return self._source_meta_is_null
|
127
|
+
|
128
|
+
@source_meta_is_null.setter
|
129
|
+
def source_meta_is_null(self, source_meta_is_null):
|
130
|
+
"""Sets the source_meta_is_null of this ListContentCompareDifferenceResponse.
|
131
|
+
|
132
|
+
对比不一致详情数量:只有目标库存在。
|
133
|
+
|
134
|
+
:param source_meta_is_null: The source_meta_is_null of this ListContentCompareDifferenceResponse.
|
135
|
+
:type source_meta_is_null: int
|
136
|
+
"""
|
137
|
+
self._source_meta_is_null = source_meta_is_null
|
138
|
+
|
139
|
+
@property
|
140
|
+
def source_target_meta_not_null(self):
|
141
|
+
"""Gets the source_target_meta_not_null of this ListContentCompareDifferenceResponse.
|
142
|
+
|
143
|
+
对比不一致详情数量:源和目标端均存在。
|
144
|
+
|
145
|
+
:return: The source_target_meta_not_null of this ListContentCompareDifferenceResponse.
|
146
|
+
:rtype: int
|
147
|
+
"""
|
148
|
+
return self._source_target_meta_not_null
|
149
|
+
|
150
|
+
@source_target_meta_not_null.setter
|
151
|
+
def source_target_meta_not_null(self, source_target_meta_not_null):
|
152
|
+
"""Sets the source_target_meta_not_null of this ListContentCompareDifferenceResponse.
|
153
|
+
|
154
|
+
对比不一致详情数量:源和目标端均存在。
|
155
|
+
|
156
|
+
:param source_target_meta_not_null: The source_target_meta_not_null of this ListContentCompareDifferenceResponse.
|
157
|
+
:type source_target_meta_not_null: int
|
158
|
+
"""
|
159
|
+
self._source_target_meta_not_null = source_target_meta_not_null
|
160
|
+
|
161
|
+
@property
|
162
|
+
def contents_infos(self):
|
163
|
+
"""Gets the contents_infos of this ListContentCompareDifferenceResponse.
|
164
|
+
|
165
|
+
详细内容信息列表。
|
166
|
+
|
167
|
+
:return: The contents_infos of this ListContentCompareDifferenceResponse.
|
168
|
+
:rtype: list[:class:`huaweicloudsdkdrs.v3.CompareJobContentDetailInfo`]
|
169
|
+
"""
|
170
|
+
return self._contents_infos
|
171
|
+
|
172
|
+
@contents_infos.setter
|
173
|
+
def contents_infos(self, contents_infos):
|
174
|
+
"""Sets the contents_infos of this ListContentCompareDifferenceResponse.
|
175
|
+
|
176
|
+
详细内容信息列表。
|
177
|
+
|
178
|
+
:param contents_infos: The contents_infos of this ListContentCompareDifferenceResponse.
|
179
|
+
:type contents_infos: list[:class:`huaweicloudsdkdrs.v3.CompareJobContentDetailInfo`]
|
180
|
+
"""
|
181
|
+
self._contents_infos = contents_infos
|
182
|
+
|
183
|
+
def to_dict(self):
|
184
|
+
"""Returns the model properties as a dict"""
|
185
|
+
result = {}
|
186
|
+
|
187
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
188
|
+
value = getattr(self, attr)
|
189
|
+
if isinstance(value, list):
|
190
|
+
result[attr] = list(map(
|
191
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
192
|
+
value
|
193
|
+
))
|
194
|
+
elif hasattr(value, "to_dict"):
|
195
|
+
result[attr] = value.to_dict()
|
196
|
+
elif isinstance(value, dict):
|
197
|
+
result[attr] = dict(map(
|
198
|
+
lambda item: (item[0], item[1].to_dict())
|
199
|
+
if hasattr(item[1], "to_dict") else item,
|
200
|
+
value.items()
|
201
|
+
))
|
202
|
+
else:
|
203
|
+
if attr in self.sensitive_list:
|
204
|
+
result[attr] = "****"
|
205
|
+
else:
|
206
|
+
result[attr] = value
|
207
|
+
|
208
|
+
return result
|
209
|
+
|
210
|
+
def to_str(self):
|
211
|
+
"""Returns the string representation of the model"""
|
212
|
+
import simplejson as json
|
213
|
+
if six.PY2:
|
214
|
+
import sys
|
215
|
+
reload(sys)
|
216
|
+
sys.setdefaultencoding("utf-8")
|
217
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
218
|
+
|
219
|
+
def __repr__(self):
|
220
|
+
"""For `print`"""
|
221
|
+
return self.to_str()
|
222
|
+
|
223
|
+
def __eq__(self, other):
|
224
|
+
"""Returns true if both objects are equal"""
|
225
|
+
if not isinstance(other, ListContentCompareDifferenceResponse):
|
226
|
+
return False
|
227
|
+
|
228
|
+
return self.__dict__ == other.__dict__
|
229
|
+
|
230
|
+
def __ne__(self, other):
|
231
|
+
"""Returns true if both objects are not equal"""
|
232
|
+
return not self == other
|
@@ -43,7 +43,7 @@ class ListContentCompareOverviewRequest:
|
|
43
43
|
:type job_id: str
|
44
44
|
:param compare_job_id: 对比任务ID。
|
45
45
|
:type compare_job_id: str
|
46
|
-
:param limit:
|
46
|
+
:param limit: 每页显示的条目数量,最大值1000。
|
47
47
|
:type limit: int
|
48
48
|
:param offset: 偏移量,表示从此偏移量开始查询, offset大于等于0。
|
49
49
|
:type offset: int
|
@@ -137,7 +137,7 @@ class ListContentCompareOverviewRequest:
|
|
137
137
|
def limit(self):
|
138
138
|
"""Gets the limit of this ListContentCompareOverviewRequest.
|
139
139
|
|
140
|
-
|
140
|
+
每页显示的条目数量,最大值1000。
|
141
141
|
|
142
142
|
:return: The limit of this ListContentCompareOverviewRequest.
|
143
143
|
:rtype: int
|
@@ -148,7 +148,7 @@ class ListContentCompareOverviewRequest:
|
|
148
148
|
def limit(self, limit):
|
149
149
|
"""Sets the limit of this ListContentCompareOverviewRequest.
|
150
150
|
|
151
|
-
|
151
|
+
每页显示的条目数量,最大值1000。
|
152
152
|
|
153
153
|
:param limit: The limit of this ListContentCompareOverviewRequest.
|
154
154
|
:type limit: int
|
@@ -63,7 +63,7 @@ class ListDataCompareDetailRequest:
|
|
63
63
|
:type target_db_name: str
|
64
64
|
:param query_tb_name: 表名过滤关键字。
|
65
65
|
:type query_tb_name: str
|
66
|
-
:param limit:
|
66
|
+
:param limit: 每页显示的条目数量,最大值1000。
|
67
67
|
:type limit: int
|
68
68
|
:param offset: 偏移量,表示从此偏移量开始查询, offset大于等于0。
|
69
69
|
:type offset: int
|
@@ -282,7 +282,7 @@ class ListDataCompareDetailRequest:
|
|
282
282
|
def limit(self):
|
283
283
|
"""Gets the limit of this ListDataCompareDetailRequest.
|
284
284
|
|
285
|
-
|
285
|
+
每页显示的条目数量,最大值1000。
|
286
286
|
|
287
287
|
:return: The limit of this ListDataCompareDetailRequest.
|
288
288
|
:rtype: int
|
@@ -293,7 +293,7 @@ class ListDataCompareDetailRequest:
|
|
293
293
|
def limit(self, limit):
|
294
294
|
"""Sets the limit of this ListDataCompareDetailRequest.
|
295
295
|
|
296
|
-
|
296
|
+
每页显示的条目数量,最大值1000。
|
297
297
|
|
298
298
|
:param limit: The limit of this ListDataCompareDetailRequest.
|
299
299
|
:type limit: int
|
@@ -47,7 +47,7 @@ class ListDataCompareOverviewRequest:
|
|
47
47
|
:type compare_job_id: str
|
48
48
|
:param status: 对比状态。 - 0:对比不一致 - 2:对比一致 - 3:目标库表不存在 - 4:对比失败 - 5:正在对比中 - 6:等待对比中 - 7:任务已取消 - 8:源库为空 - 9:目标库为空 - 10:源库和目标库都为空 - 11:源表不存在 - 12:目标表不存在 - 13:原表和目标表都不存在 - 14:源数据库连接失败 - 15:目标库数据库连接失败 - 16:源数据库执行SQL超时 - 17:目标数据库执行SQL超时 - 18:源数据库执行SQL错误 - 19:目标数据库执行SQL错误 - 20:源库和目标库都不存在 - 21:源库不存在 - 22:目标库不存在 - 23:行数为亿行,未进行对比 - 27:超时
|
49
49
|
:type status: int
|
50
|
-
:param limit:
|
50
|
+
:param limit: 每页显示的条目数量,最大值1000。
|
51
51
|
:type limit: int
|
52
52
|
:param offset: 偏移量,表示从此偏移量开始查询, offset大于等于0。
|
53
53
|
:type offset: int
|
@@ -166,7 +166,7 @@ class ListDataCompareOverviewRequest:
|
|
166
166
|
def limit(self):
|
167
167
|
"""Gets the limit of this ListDataCompareOverviewRequest.
|
168
168
|
|
169
|
-
|
169
|
+
每页显示的条目数量,最大值1000。
|
170
170
|
|
171
171
|
:return: The limit of this ListDataCompareOverviewRequest.
|
172
172
|
:rtype: int
|
@@ -177,7 +177,7 @@ class ListDataCompareOverviewRequest:
|
|
177
177
|
def limit(self, limit):
|
178
178
|
"""Sets the limit of this ListDataCompareOverviewRequest.
|
179
179
|
|
180
|
-
|
180
|
+
每页显示的条目数量,最大值1000。
|
181
181
|
|
182
182
|
:param limit: The limit of this ListDataCompareOverviewRequest.
|
183
183
|
:type limit: int
|
@@ -39,7 +39,7 @@ class ListDataLevelTableCompareJobsRequest:
|
|
39
39
|
:type x_language: str
|
40
40
|
:param job_id: 任务ID。
|
41
41
|
:type job_id: str
|
42
|
-
:param limit:
|
42
|
+
:param limit: 每页显示的条目数量,最大值1000。
|
43
43
|
:type limit: int
|
44
44
|
:param offset: 偏移量,表示从此偏移量开始查询, offset大于等于0。
|
45
45
|
:type offset: int
|
@@ -109,7 +109,7 @@ class ListDataLevelTableCompareJobsRequest:
|
|
109
109
|
def limit(self):
|
110
110
|
"""Gets the limit of this ListDataLevelTableCompareJobsRequest.
|
111
111
|
|
112
|
-
|
112
|
+
每页显示的条目数量,最大值1000。
|
113
113
|
|
114
114
|
:return: The limit of this ListDataLevelTableCompareJobsRequest.
|
115
115
|
:rtype: int
|
@@ -120,7 +120,7 @@ class ListDataLevelTableCompareJobsRequest:
|
|
120
120
|
def limit(self, limit):
|
121
121
|
"""Sets the limit of this ListDataLevelTableCompareJobsRequest.
|
122
122
|
|
123
|
-
|
123
|
+
每页显示的条目数量,最大值1000。
|
124
124
|
|
125
125
|
:param limit: The limit of this ListDataLevelTableCompareJobsRequest.
|
126
126
|
:type limit: int
|