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.
Files changed (192) hide show
  1. huaweicloudsdkdrs/v3/__init__.py +48 -0
  2. huaweicloudsdkdrs/v3/drs_async_client.py +1140 -43
  3. huaweicloudsdkdrs/v3/drs_client.py +1140 -43
  4. huaweicloudsdkdrs/v3/model/__init__.py +48 -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/batch_job_action_req.py +9 -9
  8. huaweicloudsdkdrs/v3/model/compare_job_content_detail_info.py +202 -0
  9. huaweicloudsdkdrs/v3/model/compare_job_info.py +376 -0
  10. huaweicloudsdkdrs/v3/model/create_compare_result_file_request.py +196 -0
  11. huaweicloudsdkdrs/v3/model/create_compare_result_file_response.py +116 -0
  12. huaweicloudsdkdrs/v3/model/create_data_compare_database_object.py +115 -0
  13. huaweicloudsdkdrs/v3/model/create_data_compare_transformation_info.py +142 -0
  14. huaweicloudsdkdrs/v3/model/create_data_level_table_compare_job_req.py +346 -0
  15. huaweicloudsdkdrs/v3/model/create_data_level_table_compare_job_request.py +168 -0
  16. huaweicloudsdkdrs/v3/model/create_data_level_table_compare_job_response.py +116 -0
  17. huaweicloudsdkdrs/v3/model/create_job_req.py +67 -9
  18. huaweicloudsdkdrs/v3/model/create_object_compare_job_req.py +115 -0
  19. huaweicloudsdkdrs/v3/model/create_object_level_compare_job_request.py +168 -0
  20. huaweicloudsdkdrs/v3/model/create_object_level_compare_job_response.py +116 -0
  21. huaweicloudsdkdrs/v3/model/data_compare_overview_info.py +173 -0
  22. huaweicloudsdkdrs/v3/model/delete_compare_job_request.py +171 -0
  23. huaweicloudsdkdrs/v3/model/delete_compare_job_response.py +116 -0
  24. huaweicloudsdkdrs/v3/model/download_compare_result_file_request.py +255 -0
  25. huaweicloudsdkdrs/v3/model/download_compare_result_file_response.py +85 -0
  26. huaweicloudsdkdrs/v3/model/endpoint.py +28 -3
  27. huaweicloudsdkdrs/v3/model/export_compare_result_req.py +172 -0
  28. huaweicloudsdkdrs/v3/model/failed_to_bind_eip_child_info.py +144 -0
  29. huaweicloudsdkdrs/v3/model/kafka_security.py +290 -29
  30. huaweicloudsdkdrs/v3/model/list_available_node_types_request.py +257 -0
  31. huaweicloudsdkdrs/v3/model/list_available_node_types_response.py +116 -0
  32. huaweicloudsdkdrs/v3/model/list_content_compare_detail_request.py +316 -0
  33. huaweicloudsdkdrs/v3/model/list_content_compare_detail_response.py +145 -0
  34. huaweicloudsdkdrs/v3/model/list_content_compare_difference_request.py +287 -0
  35. huaweicloudsdkdrs/v3/model/list_content_compare_difference_response.py +232 -0
  36. huaweicloudsdkdrs/v3/model/list_content_compare_overview_request.py +229 -0
  37. huaweicloudsdkdrs/v3/model/list_content_compare_overview_response.py +145 -0
  38. huaweicloudsdkdrs/v3/model/list_data_compare_detail_request.py +374 -0
  39. huaweicloudsdkdrs/v3/model/list_data_compare_detail_response.py +145 -0
  40. huaweicloudsdkdrs/v3/model/list_data_compare_overview_request.py +258 -0
  41. huaweicloudsdkdrs/v3/model/list_data_compare_overview_response.py +145 -0
  42. huaweicloudsdkdrs/v3/model/list_data_level_table_compare_jobs_request.py +201 -0
  43. huaweicloudsdkdrs/v3/model/list_data_level_table_compare_jobs_response.py +145 -0
  44. huaweicloudsdkdrs/v3/model/list_obeject_level_compare_detail_request.py +258 -0
  45. huaweicloudsdkdrs/v3/model/list_obeject_level_compare_detail_response.py +145 -0
  46. huaweicloudsdkdrs/v3/model/list_obeject_level_compare_overview_request.py +143 -0
  47. huaweicloudsdkdrs/v3/model/list_obeject_level_compare_overview_response.py +319 -0
  48. huaweicloudsdkdrs/v3/model/modify_job_req.py +3 -3
  49. huaweicloudsdkdrs/v3/model/node_content_compare_detail_result.py +405 -0
  50. huaweicloudsdkdrs/v3/model/node_content_compare_overview_result.py +173 -0
  51. huaweicloudsdkdrs/v3/model/objects_compare_detail_info.py +260 -0
  52. huaweicloudsdkdrs/v3/model/objects_compare_overview_info.py +202 -0
  53. huaweicloudsdkdrs/v3/model/public_ip_config.py +170 -0
  54. huaweicloudsdkdrs/v3/model/query_job_resp.py +129 -13
  55. huaweicloudsdkdrs/v3/model/query_jobs_req.py +3 -3
  56. huaweicloudsdkdrs/v3/model/query_support_node_type_bean.py +144 -0
  57. huaweicloudsdkdrs/v3/model/start_promptly_data_level_table_compare_job_request.py +171 -0
  58. huaweicloudsdkdrs/v3/model/start_promptly_data_level_table_compare_job_response.py +116 -0
  59. huaweicloudsdkdrs/v3/model/sync_policy_req.py +32 -3
  60. huaweicloudsdkdrs/v3/model/table_line_compare_result_info.py +289 -0
  61. huaweicloudsdkdrs/v3/region/drs_region.py +15 -0
  62. huaweicloudsdkdrs/v5/__init__.py +81 -1
  63. huaweicloudsdkdrs/v5/drs_async_client.py +2408 -750
  64. huaweicloudsdkdrs/v5/drs_client.py +2408 -750
  65. huaweicloudsdkdrs/v5/model/__init__.py +81 -1
  66. huaweicloudsdkdrs/v5/model/action_params.py +82 -3
  67. huaweicloudsdkdrs/v5/model/action_req.py +3 -3
  68. huaweicloudsdkdrs/v5/model/agency_role.py +144 -0
  69. huaweicloudsdkdrs/v5/model/async_create_job_req.py +32 -3
  70. huaweicloudsdkdrs/v5/model/backup_file_info.py +201 -0
  71. huaweicloudsdkdrs/v5/model/backup_file_resp.py +173 -0
  72. huaweicloudsdkdrs/v5/model/backup_info.py +171 -0
  73. huaweicloudsdkdrs/v5/model/backup_info_resp.py +173 -0
  74. huaweicloudsdkdrs/v5/model/backup_job_base_info.py +229 -0
  75. huaweicloudsdkdrs/v5/model/backup_job_endpoint_info.py +172 -0
  76. huaweicloudsdkdrs/v5/model/backup_restore_option_info.py +315 -0
  77. huaweicloudsdkdrs/v5/model/base_endpoint.py +6 -6
  78. huaweicloudsdkdrs/v5/model/change_to_period_request.py +168 -0
  79. huaweicloudsdkdrs/v5/model/change_to_period_response.py +116 -0
  80. huaweicloudsdkdrs/v5/model/check_data_filter_response.py +35 -6
  81. huaweicloudsdkdrs/v5/model/children_job_list_resp.py +3 -3
  82. huaweicloudsdkdrs/v5/model/clean_alarms_request.py +171 -0
  83. huaweicloudsdkdrs/v5/model/clean_alarms_response.py +116 -0
  84. huaweicloudsdkdrs/v5/model/collect_columns_response.py +35 -6
  85. huaweicloudsdkdrs/v5/model/collect_db_objects_async_response.py +35 -6
  86. huaweicloudsdkdrs/v5/model/collect_db_objects_info_response.py +35 -6
  87. huaweicloudsdkdrs/v5/model/collect_position_async_response.py +35 -6
  88. huaweicloudsdkdrs/v5/model/compare_job_info.py +65 -7
  89. huaweicloudsdkdrs/v5/model/compare_result_info.py +28 -3
  90. huaweicloudsdkdrs/v5/model/compare_task_params.py +32 -3
  91. huaweicloudsdkdrs/v5/model/connection_config.py +115 -0
  92. huaweicloudsdkdrs/v5/model/connection_resp.py +355 -0
  93. huaweicloudsdkdrs/v5/model/content_compare_overview_info.py +3 -3
  94. huaweicloudsdkdrs/v5/model/content_diff_detail_info.py +231 -0
  95. huaweicloudsdkdrs/v5/model/content_diff_detail_vo.py +202 -0
  96. huaweicloudsdkdrs/v5/model/create_connection_req.py +324 -0
  97. huaweicloudsdkdrs/v5/model/create_connection_request.py +140 -0
  98. huaweicloudsdkdrs/v5/model/create_connection_response.py +361 -0
  99. huaweicloudsdkdrs/v5/model/create_job_req.py +32 -3
  100. huaweicloudsdkdrs/v5/model/create_job_response.py +139 -19
  101. huaweicloudsdkdrs/v5/model/create_offline_task_req.py +182 -0
  102. huaweicloudsdkdrs/v5/model/create_replication_job_request.py +140 -0
  103. huaweicloudsdkdrs/v5/model/create_replication_job_response.py +116 -0
  104. huaweicloudsdkdrs/v5/model/data_process_info.py +32 -3
  105. huaweicloudsdkdrs/v5/model/db_object_filtering_result.py +148 -3
  106. huaweicloudsdkdrs/v5/model/ddl_alarm_resp.py +311 -0
  107. huaweicloudsdkdrs/v5/model/delete_connection_request.py +143 -0
  108. huaweicloudsdkdrs/v5/model/delete_connection_response.py +116 -0
  109. huaweicloudsdkdrs/v5/model/delete_replication_job_request.py +143 -0
  110. huaweicloudsdkdrs/v5/model/delete_replication_job_response.py +116 -0
  111. huaweicloudsdkdrs/v5/model/delete_user_driver_req.py +142 -0
  112. huaweicloudsdkdrs/v5/model/delete_user_jdbc_driver_request.py +140 -0
  113. huaweicloudsdkdrs/v5/model/delete_user_jdbc_driver_response.py +116 -0
  114. huaweicloudsdkdrs/v5/model/download_db_object_template_request.py +3 -3
  115. huaweicloudsdkdrs/v5/model/failed_to_bind_eip_child_info.py +144 -0
  116. huaweicloudsdkdrs/v5/model/health_compare_job.py +9 -9
  117. huaweicloudsdkdrs/v5/model/job_base_info.py +35 -6
  118. huaweicloudsdkdrs/v5/model/job_detail_resp.py +122 -6
  119. huaweicloudsdkdrs/v5/model/job_endpoint_info.py +3 -3
  120. huaweicloudsdkdrs/v5/model/job_list_resp.py +3 -3
  121. huaweicloudsdkdrs/v5/model/job_node_vpc_info.py +3 -3
  122. huaweicloudsdkdrs/v5/model/list_connections_request.py +492 -0
  123. huaweicloudsdkdrs/v5/model/list_connections_response.py +145 -0
  124. huaweicloudsdkdrs/v5/model/list_job_ddls_request.py +288 -0
  125. huaweicloudsdkdrs/v5/model/list_job_ddls_response.py +145 -0
  126. huaweicloudsdkdrs/v5/model/list_replication_jobs_request.py +463 -0
  127. huaweicloudsdkdrs/v5/model/list_replication_jobs_response.py +145 -0
  128. huaweicloudsdkdrs/v5/model/list_user_jdbc_drivers_request.py +201 -0
  129. huaweicloudsdkdrs/v5/model/list_user_jdbc_drivers_response.py +145 -0
  130. huaweicloudsdkdrs/v5/model/lists_agency_permissions_request.py +201 -0
  131. huaweicloudsdkdrs/v5/model/lists_agency_permissions_response.py +145 -0
  132. huaweicloudsdkdrs/v5/model/modify_compare_policy_req.py +288 -0
  133. huaweicloudsdkdrs/v5/model/modify_connection_request.py +168 -0
  134. huaweicloudsdkdrs/v5/model/modify_connection_response.py +116 -0
  135. huaweicloudsdkdrs/v5/model/modify_offline_task_req.py +143 -0
  136. huaweicloudsdkdrs/v5/model/objects_health_compare_overview_info.py +202 -0
  137. huaweicloudsdkdrs/v5/model/offline_task_info.py +342 -0
  138. huaweicloudsdkdrs/v5/model/policy_config.py +32 -3
  139. huaweicloudsdkdrs/v5/model/public_ip_config.py +170 -0
  140. huaweicloudsdkdrs/v5/model/replay_config_info.py +282 -0
  141. huaweicloudsdkdrs/v5/model/replay_error_classification.py +201 -0
  142. huaweicloudsdkdrs/v5/model/replay_error_sql_resp.py +173 -0
  143. huaweicloudsdkdrs/v5/model/replay_error_sql_template_resp.py +289 -0
  144. huaweicloudsdkdrs/v5/model/replay_shard_statics_resp.py +226 -0
  145. huaweicloudsdkdrs/v5/model/replay_slow_sql_resp.py +202 -0
  146. huaweicloudsdkdrs/v5/model/replay_slow_sql_template_resp.py +402 -0
  147. huaweicloudsdkdrs/v5/model/replaying_sql_resp.py +318 -0
  148. huaweicloudsdkdrs/v5/model/resource_tag.py +3 -3
  149. huaweicloudsdkdrs/v5/model/show_agency_info_request.py +143 -0
  150. huaweicloudsdkdrs/v5/model/show_agency_info_response.py +174 -0
  151. huaweicloudsdkdrs/v5/model/show_compare_policy_response.py +3 -3
  152. huaweicloudsdkdrs/v5/model/show_data_processing_rules_result_response.py +35 -6
  153. huaweicloudsdkdrs/v5/model/show_db_object_template_progress_request.py +32 -3
  154. huaweicloudsdkdrs/v5/model/show_db_object_template_result_request.py +32 -3
  155. huaweicloudsdkdrs/v5/model/show_health_compare_job_detail_request.py +171 -0
  156. huaweicloudsdkdrs/v5/model/show_health_compare_job_detail_response.py +261 -0
  157. huaweicloudsdkdrs/v5/model/show_health_object_compare_job_overview_request.py +171 -0
  158. huaweicloudsdkdrs/v5/model/show_health_object_compare_job_overview_response.py +116 -0
  159. huaweicloudsdkdrs/v5/model/show_job_detail_request.py +3 -3
  160. huaweicloudsdkdrs/v5/model/show_position_result_response.py +32 -3
  161. huaweicloudsdkdrs/v5/model/show_replay_results_request.py +461 -0
  162. huaweicloudsdkdrs/v5/model/show_replay_results_response.py +319 -0
  163. huaweicloudsdkdrs/v5/model/show_replication_job_request.py +143 -0
  164. huaweicloudsdkdrs/v5/model/show_replication_job_response.py +390 -0
  165. huaweicloudsdkdrs/v5/model/show_support_object_type_response.py +32 -3
  166. huaweicloudsdkdrs/v5/model/show_update_object_saving_status_response.py +35 -6
  167. huaweicloudsdkdrs/v5/model/sync_user_jdbc_driver_request.py +168 -0
  168. huaweicloudsdkdrs/v5/model/sync_user_jdbc_driver_response.py +116 -0
  169. huaweicloudsdkdrs/v5/model/to_period_req.py +198 -0
  170. huaweicloudsdkdrs/v5/model/update_agency_policy_request.py +168 -0
  171. huaweicloudsdkdrs/v5/model/update_agency_policy_request_body.py +142 -0
  172. huaweicloudsdkdrs/v5/model/update_agency_policy_response.py +116 -0
  173. huaweicloudsdkdrs/v5/model/update_compare_policy_request.py +168 -0
  174. huaweicloudsdkdrs/v5/model/update_compare_policy_response.py +116 -0
  175. huaweicloudsdkdrs/v5/model/update_connection_req.py +327 -0
  176. huaweicloudsdkdrs/v5/model/update_data_progress_response.py +35 -6
  177. huaweicloudsdkdrs/v5/model/update_job_req.py +3 -3
  178. huaweicloudsdkdrs/v5/model/update_replication_job_request.py +168 -0
  179. huaweicloudsdkdrs/v5/model/update_replication_job_response.py +116 -0
  180. huaweicloudsdkdrs/v5/model/update_user_driver_req.py +142 -0
  181. huaweicloudsdkdrs/v5/model/upload_db_object_template_request.py +3 -3
  182. huaweicloudsdkdrs/v5/model/upload_jdbc_driver_request_body.py +3 -3
  183. huaweicloudsdkdrs/v5/model/upload_user_jdbc_driver_request.py +168 -0
  184. huaweicloudsdkdrs/v5/model/upload_user_jdbc_driver_request_body.py +114 -0
  185. huaweicloudsdkdrs/v5/model/upload_user_jdbc_driver_response.py +116 -0
  186. huaweicloudsdkdrs/v5/region/drs_region.py +15 -0
  187. {huaweicloudsdkdrs-3.1.85.dist-info → huaweicloudsdkdrs-3.1.132.dist-info}/METADATA +2 -2
  188. {huaweicloudsdkdrs-3.1.85.dist-info → huaweicloudsdkdrs-3.1.132.dist-info}/RECORD +191 -63
  189. {huaweicloudsdkdrs-3.1.85.dist-info → huaweicloudsdkdrs-3.1.132.dist-info}/WHEEL +1 -1
  190. huaweicloudsdkdrs/v5/model/create_job_resp.py +0 -227
  191. {huaweicloudsdkdrs-3.1.85.dist-info → huaweicloudsdkdrs-3.1.132.dist-info}/LICENSE +0 -0
  192. {huaweicloudsdkdrs-3.1.85.dist-info → huaweicloudsdkdrs-3.1.132.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,355 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class ConnectionResp:
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
+ 'connection_id': 'str',
21
+ 'name': 'str',
22
+ 'create_time': 'int',
23
+ 'db_type': 'str',
24
+ 'config': 'ConnectionConfig',
25
+ 'endpoint': 'BaseEndpoint',
26
+ 'vpc': 'CloudVpcInfo',
27
+ 'ssl': 'EndpointSslConfig',
28
+ 'enterprise_project_id': 'str',
29
+ 'description': 'str'
30
+ }
31
+
32
+ attribute_map = {
33
+ 'connection_id': 'connection_id',
34
+ 'name': 'name',
35
+ 'create_time': 'create_time',
36
+ 'db_type': 'db_type',
37
+ 'config': 'config',
38
+ 'endpoint': 'endpoint',
39
+ 'vpc': 'vpc',
40
+ 'ssl': 'ssl',
41
+ 'enterprise_project_id': 'enterprise_project_id',
42
+ 'description': 'description'
43
+ }
44
+
45
+ def __init__(self, connection_id=None, name=None, create_time=None, db_type=None, config=None, endpoint=None, vpc=None, ssl=None, enterprise_project_id=None, description=None):
46
+ """ConnectionResp
47
+
48
+ The model defined in huaweicloud sdk
49
+
50
+ :param connection_id: 连接ID。
51
+ :type connection_id: str
52
+ :param name: 连接名称。
53
+ :type name: str
54
+ :param create_time: 连接创建时间,格式为时间戳。
55
+ :type create_time: int
56
+ :param db_type: 连接类型。
57
+ :type db_type: str
58
+ :param config:
59
+ :type config: :class:`huaweicloudsdkdrs.v5.ConnectionConfig`
60
+ :param endpoint:
61
+ :type endpoint: :class:`huaweicloudsdkdrs.v5.BaseEndpoint`
62
+ :param vpc:
63
+ :type vpc: :class:`huaweicloudsdkdrs.v5.CloudVpcInfo`
64
+ :param ssl:
65
+ :type ssl: :class:`huaweicloudsdkdrs.v5.EndpointSslConfig`
66
+ :param enterprise_project_id: 企业项目ID。
67
+ :type enterprise_project_id: str
68
+ :param description: 描述。
69
+ :type description: str
70
+ """
71
+
72
+
73
+
74
+ self._connection_id = None
75
+ self._name = None
76
+ self._create_time = None
77
+ self._db_type = None
78
+ self._config = None
79
+ self._endpoint = None
80
+ self._vpc = None
81
+ self._ssl = None
82
+ self._enterprise_project_id = None
83
+ self._description = None
84
+ self.discriminator = None
85
+
86
+ self.connection_id = connection_id
87
+ self.name = name
88
+ self.create_time = create_time
89
+ self.db_type = db_type
90
+ if config is not None:
91
+ self.config = config
92
+ self.endpoint = endpoint
93
+ if vpc is not None:
94
+ self.vpc = vpc
95
+ if ssl is not None:
96
+ self.ssl = ssl
97
+ if enterprise_project_id is not None:
98
+ self.enterprise_project_id = enterprise_project_id
99
+ if description is not None:
100
+ self.description = description
101
+
102
+ @property
103
+ def connection_id(self):
104
+ """Gets the connection_id of this ConnectionResp.
105
+
106
+ 连接ID。
107
+
108
+ :return: The connection_id of this ConnectionResp.
109
+ :rtype: str
110
+ """
111
+ return self._connection_id
112
+
113
+ @connection_id.setter
114
+ def connection_id(self, connection_id):
115
+ """Sets the connection_id of this ConnectionResp.
116
+
117
+ 连接ID。
118
+
119
+ :param connection_id: The connection_id of this ConnectionResp.
120
+ :type connection_id: str
121
+ """
122
+ self._connection_id = connection_id
123
+
124
+ @property
125
+ def name(self):
126
+ """Gets the name of this ConnectionResp.
127
+
128
+ 连接名称。
129
+
130
+ :return: The name of this ConnectionResp.
131
+ :rtype: str
132
+ """
133
+ return self._name
134
+
135
+ @name.setter
136
+ def name(self, name):
137
+ """Sets the name of this ConnectionResp.
138
+
139
+ 连接名称。
140
+
141
+ :param name: The name of this ConnectionResp.
142
+ :type name: str
143
+ """
144
+ self._name = name
145
+
146
+ @property
147
+ def create_time(self):
148
+ """Gets the create_time of this ConnectionResp.
149
+
150
+ 连接创建时间,格式为时间戳。
151
+
152
+ :return: The create_time of this ConnectionResp.
153
+ :rtype: int
154
+ """
155
+ return self._create_time
156
+
157
+ @create_time.setter
158
+ def create_time(self, create_time):
159
+ """Sets the create_time of this ConnectionResp.
160
+
161
+ 连接创建时间,格式为时间戳。
162
+
163
+ :param create_time: The create_time of this ConnectionResp.
164
+ :type create_time: int
165
+ """
166
+ self._create_time = create_time
167
+
168
+ @property
169
+ def db_type(self):
170
+ """Gets the db_type of this ConnectionResp.
171
+
172
+ 连接类型。
173
+
174
+ :return: The db_type of this ConnectionResp.
175
+ :rtype: str
176
+ """
177
+ return self._db_type
178
+
179
+ @db_type.setter
180
+ def db_type(self, db_type):
181
+ """Sets the db_type of this ConnectionResp.
182
+
183
+ 连接类型。
184
+
185
+ :param db_type: The db_type of this ConnectionResp.
186
+ :type db_type: str
187
+ """
188
+ self._db_type = db_type
189
+
190
+ @property
191
+ def config(self):
192
+ """Gets the config of this ConnectionResp.
193
+
194
+ :return: The config of this ConnectionResp.
195
+ :rtype: :class:`huaweicloudsdkdrs.v5.ConnectionConfig`
196
+ """
197
+ return self._config
198
+
199
+ @config.setter
200
+ def config(self, config):
201
+ """Sets the config of this ConnectionResp.
202
+
203
+ :param config: The config of this ConnectionResp.
204
+ :type config: :class:`huaweicloudsdkdrs.v5.ConnectionConfig`
205
+ """
206
+ self._config = config
207
+
208
+ @property
209
+ def endpoint(self):
210
+ """Gets the endpoint of this ConnectionResp.
211
+
212
+ :return: The endpoint of this ConnectionResp.
213
+ :rtype: :class:`huaweicloudsdkdrs.v5.BaseEndpoint`
214
+ """
215
+ return self._endpoint
216
+
217
+ @endpoint.setter
218
+ def endpoint(self, endpoint):
219
+ """Sets the endpoint of this ConnectionResp.
220
+
221
+ :param endpoint: The endpoint of this ConnectionResp.
222
+ :type endpoint: :class:`huaweicloudsdkdrs.v5.BaseEndpoint`
223
+ """
224
+ self._endpoint = endpoint
225
+
226
+ @property
227
+ def vpc(self):
228
+ """Gets the vpc of this ConnectionResp.
229
+
230
+ :return: The vpc of this ConnectionResp.
231
+ :rtype: :class:`huaweicloudsdkdrs.v5.CloudVpcInfo`
232
+ """
233
+ return self._vpc
234
+
235
+ @vpc.setter
236
+ def vpc(self, vpc):
237
+ """Sets the vpc of this ConnectionResp.
238
+
239
+ :param vpc: The vpc of this ConnectionResp.
240
+ :type vpc: :class:`huaweicloudsdkdrs.v5.CloudVpcInfo`
241
+ """
242
+ self._vpc = vpc
243
+
244
+ @property
245
+ def ssl(self):
246
+ """Gets the ssl of this ConnectionResp.
247
+
248
+ :return: The ssl of this ConnectionResp.
249
+ :rtype: :class:`huaweicloudsdkdrs.v5.EndpointSslConfig`
250
+ """
251
+ return self._ssl
252
+
253
+ @ssl.setter
254
+ def ssl(self, ssl):
255
+ """Sets the ssl of this ConnectionResp.
256
+
257
+ :param ssl: The ssl of this ConnectionResp.
258
+ :type ssl: :class:`huaweicloudsdkdrs.v5.EndpointSslConfig`
259
+ """
260
+ self._ssl = ssl
261
+
262
+ @property
263
+ def enterprise_project_id(self):
264
+ """Gets the enterprise_project_id of this ConnectionResp.
265
+
266
+ 企业项目ID。
267
+
268
+ :return: The enterprise_project_id of this ConnectionResp.
269
+ :rtype: str
270
+ """
271
+ return self._enterprise_project_id
272
+
273
+ @enterprise_project_id.setter
274
+ def enterprise_project_id(self, enterprise_project_id):
275
+ """Sets the enterprise_project_id of this ConnectionResp.
276
+
277
+ 企业项目ID。
278
+
279
+ :param enterprise_project_id: The enterprise_project_id of this ConnectionResp.
280
+ :type enterprise_project_id: str
281
+ """
282
+ self._enterprise_project_id = enterprise_project_id
283
+
284
+ @property
285
+ def description(self):
286
+ """Gets the description of this ConnectionResp.
287
+
288
+ 描述。
289
+
290
+ :return: The description of this ConnectionResp.
291
+ :rtype: str
292
+ """
293
+ return self._description
294
+
295
+ @description.setter
296
+ def description(self, description):
297
+ """Sets the description of this ConnectionResp.
298
+
299
+ 描述。
300
+
301
+ :param description: The description of this ConnectionResp.
302
+ :type description: str
303
+ """
304
+ self._description = description
305
+
306
+ def to_dict(self):
307
+ """Returns the model properties as a dict"""
308
+ result = {}
309
+
310
+ for attr, _ in six.iteritems(self.openapi_types):
311
+ value = getattr(self, attr)
312
+ if isinstance(value, list):
313
+ result[attr] = list(map(
314
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
315
+ value
316
+ ))
317
+ elif hasattr(value, "to_dict"):
318
+ result[attr] = value.to_dict()
319
+ elif isinstance(value, dict):
320
+ result[attr] = dict(map(
321
+ lambda item: (item[0], item[1].to_dict())
322
+ if hasattr(item[1], "to_dict") else item,
323
+ value.items()
324
+ ))
325
+ else:
326
+ if attr in self.sensitive_list:
327
+ result[attr] = "****"
328
+ else:
329
+ result[attr] = value
330
+
331
+ return result
332
+
333
+ def to_str(self):
334
+ """Returns the string representation of the model"""
335
+ import simplejson as json
336
+ if six.PY2:
337
+ import sys
338
+ reload(sys)
339
+ sys.setdefaultencoding("utf-8")
340
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
341
+
342
+ def __repr__(self):
343
+ """For `print`"""
344
+ return self.to_str()
345
+
346
+ def __eq__(self, other):
347
+ """Returns true if both objects are equal"""
348
+ if not isinstance(other, ConnectionResp):
349
+ return False
350
+
351
+ return self.__dict__ == other.__dict__
352
+
353
+ def __ne__(self, other):
354
+ """Returns true if both objects are not equal"""
355
+ return not self == other
@@ -39,7 +39,7 @@ class ContentCompareOverviewInfo:
39
39
  :type source_db: str
40
40
  :param target_db: 目标库库名。
41
41
  :type target_db: str
42
- :param status: 对比结果。取值: - CONSISTENT:一致。 - INCONSISTENT:不一致。 - COMPARING:正在对比。 - WAITING_FOR_COMPARISON:等待对比。 - FAILED_TO_COMPARE:对比失败。 - TARGET_DB_NOT_EXIST:目标库不存在。 - CAN_NOT_COMPARE:无法对比。
42
+ :param status: 对比结果。取值: - CONSISTENT:一致。 - INCONSISTENT:不一致。 - COMPARING:正在对比。 - WAITING_FOR_COMPARISON:等待对比。 - FAILED_TO_COMPARE:对比失败。 - TARGET_DB_NOT_EXIST:目标库不存在。 - CAN_NOT_COMPARE:无法对比。 - WAIT_FOR_COMPARE:命令已下发,等待对比结果。 - CANCELED:已取消。
43
43
  :type status: str
44
44
  :param compare_result: 对比结果。
45
45
  :type compare_result: bool
@@ -110,7 +110,7 @@ class ContentCompareOverviewInfo:
110
110
  def status(self):
111
111
  """Gets the status of this ContentCompareOverviewInfo.
112
112
 
113
- 对比结果。取值: - CONSISTENT:一致。 - INCONSISTENT:不一致。 - COMPARING:正在对比。 - WAITING_FOR_COMPARISON:等待对比。 - FAILED_TO_COMPARE:对比失败。 - TARGET_DB_NOT_EXIST:目标库不存在。 - CAN_NOT_COMPARE:无法对比。
113
+ 对比结果。取值: - CONSISTENT:一致。 - INCONSISTENT:不一致。 - COMPARING:正在对比。 - WAITING_FOR_COMPARISON:等待对比。 - FAILED_TO_COMPARE:对比失败。 - TARGET_DB_NOT_EXIST:目标库不存在。 - CAN_NOT_COMPARE:无法对比。 - WAIT_FOR_COMPARE:命令已下发,等待对比结果。 - CANCELED:已取消。
114
114
 
115
115
  :return: The status of this ContentCompareOverviewInfo.
116
116
  :rtype: str
@@ -121,7 +121,7 @@ class ContentCompareOverviewInfo:
121
121
  def status(self, status):
122
122
  """Sets the status of this ContentCompareOverviewInfo.
123
123
 
124
- 对比结果。取值: - CONSISTENT:一致。 - INCONSISTENT:不一致。 - COMPARING:正在对比。 - WAITING_FOR_COMPARISON:等待对比。 - FAILED_TO_COMPARE:对比失败。 - TARGET_DB_NOT_EXIST:目标库不存在。 - CAN_NOT_COMPARE:无法对比。
124
+ 对比结果。取值: - CONSISTENT:一致。 - INCONSISTENT:不一致。 - COMPARING:正在对比。 - WAITING_FOR_COMPARISON:等待对比。 - FAILED_TO_COMPARE:对比失败。 - TARGET_DB_NOT_EXIST:目标库不存在。 - CAN_NOT_COMPARE:无法对比。 - WAIT_FOR_COMPARE:命令已下发,等待对比结果。 - CANCELED:已取消。
125
125
 
126
126
  :param status: The status of this ContentCompareOverviewInfo.
127
127
  :type status: str
@@ -0,0 +1,231 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class ContentDiffDetailInfo:
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
+ 'count': 'int',
21
+ 'target_meta_is_null': 'int',
22
+ 'source_meta_is_null': 'int',
23
+ 'source_target_meta_not_null': 'int',
24
+ 'contents_infos': 'list[ContentDiffDetailVO]'
25
+ }
26
+
27
+ attribute_map = {
28
+ 'count': 'count',
29
+ 'target_meta_is_null': 'target_meta_is_null',
30
+ 'source_meta_is_null': 'source_meta_is_null',
31
+ 'source_target_meta_not_null': 'source_target_meta_not_null',
32
+ 'contents_infos': 'contents_infos'
33
+ }
34
+
35
+ def __init__(self, count=None, target_meta_is_null=None, source_meta_is_null=None, source_target_meta_not_null=None, contents_infos=None):
36
+ """ContentDiffDetailInfo
37
+
38
+ The model defined in huaweicloud sdk
39
+
40
+ :param count: 数量。
41
+ :type count: int
42
+ :param target_meta_is_null: 对比不一致详情:只有源库存在。
43
+ :type target_meta_is_null: int
44
+ :param source_meta_is_null: 对比不一致详情:只有目标库存在。
45
+ :type source_meta_is_null: int
46
+ :param source_target_meta_not_null: 对比不一致详情:源和目标端均存在。
47
+ :type source_target_meta_not_null: int
48
+ :param contents_infos: 信息列表。
49
+ :type contents_infos: list[:class:`huaweicloudsdkdrs.v5.ContentDiffDetailVO`]
50
+ """
51
+
52
+
53
+
54
+ self._count = None
55
+ self._target_meta_is_null = None
56
+ self._source_meta_is_null = None
57
+ self._source_target_meta_not_null = None
58
+ self._contents_infos = None
59
+ self.discriminator = None
60
+
61
+ if count is not None:
62
+ self.count = count
63
+ if target_meta_is_null is not None:
64
+ self.target_meta_is_null = target_meta_is_null
65
+ if source_meta_is_null is not None:
66
+ self.source_meta_is_null = source_meta_is_null
67
+ if source_target_meta_not_null is not None:
68
+ self.source_target_meta_not_null = source_target_meta_not_null
69
+ if contents_infos is not None:
70
+ self.contents_infos = contents_infos
71
+
72
+ @property
73
+ def count(self):
74
+ """Gets the count of this ContentDiffDetailInfo.
75
+
76
+ 数量。
77
+
78
+ :return: The count of this ContentDiffDetailInfo.
79
+ :rtype: int
80
+ """
81
+ return self._count
82
+
83
+ @count.setter
84
+ def count(self, count):
85
+ """Sets the count of this ContentDiffDetailInfo.
86
+
87
+ 数量。
88
+
89
+ :param count: The count of this ContentDiffDetailInfo.
90
+ :type count: int
91
+ """
92
+ self._count = count
93
+
94
+ @property
95
+ def target_meta_is_null(self):
96
+ """Gets the target_meta_is_null of this ContentDiffDetailInfo.
97
+
98
+ 对比不一致详情:只有源库存在。
99
+
100
+ :return: The target_meta_is_null of this ContentDiffDetailInfo.
101
+ :rtype: int
102
+ """
103
+ return self._target_meta_is_null
104
+
105
+ @target_meta_is_null.setter
106
+ def target_meta_is_null(self, target_meta_is_null):
107
+ """Sets the target_meta_is_null of this ContentDiffDetailInfo.
108
+
109
+ 对比不一致详情:只有源库存在。
110
+
111
+ :param target_meta_is_null: The target_meta_is_null of this ContentDiffDetailInfo.
112
+ :type target_meta_is_null: int
113
+ """
114
+ self._target_meta_is_null = target_meta_is_null
115
+
116
+ @property
117
+ def source_meta_is_null(self):
118
+ """Gets the source_meta_is_null of this ContentDiffDetailInfo.
119
+
120
+ 对比不一致详情:只有目标库存在。
121
+
122
+ :return: The source_meta_is_null of this ContentDiffDetailInfo.
123
+ :rtype: int
124
+ """
125
+ return self._source_meta_is_null
126
+
127
+ @source_meta_is_null.setter
128
+ def source_meta_is_null(self, source_meta_is_null):
129
+ """Sets the source_meta_is_null of this ContentDiffDetailInfo.
130
+
131
+ 对比不一致详情:只有目标库存在。
132
+
133
+ :param source_meta_is_null: The source_meta_is_null of this ContentDiffDetailInfo.
134
+ :type source_meta_is_null: int
135
+ """
136
+ self._source_meta_is_null = source_meta_is_null
137
+
138
+ @property
139
+ def source_target_meta_not_null(self):
140
+ """Gets the source_target_meta_not_null of this ContentDiffDetailInfo.
141
+
142
+ 对比不一致详情:源和目标端均存在。
143
+
144
+ :return: The source_target_meta_not_null of this ContentDiffDetailInfo.
145
+ :rtype: int
146
+ """
147
+ return self._source_target_meta_not_null
148
+
149
+ @source_target_meta_not_null.setter
150
+ def source_target_meta_not_null(self, source_target_meta_not_null):
151
+ """Sets the source_target_meta_not_null of this ContentDiffDetailInfo.
152
+
153
+ 对比不一致详情:源和目标端均存在。
154
+
155
+ :param source_target_meta_not_null: The source_target_meta_not_null of this ContentDiffDetailInfo.
156
+ :type source_target_meta_not_null: int
157
+ """
158
+ self._source_target_meta_not_null = source_target_meta_not_null
159
+
160
+ @property
161
+ def contents_infos(self):
162
+ """Gets the contents_infos of this ContentDiffDetailInfo.
163
+
164
+ 信息列表。
165
+
166
+ :return: The contents_infos of this ContentDiffDetailInfo.
167
+ :rtype: list[:class:`huaweicloudsdkdrs.v5.ContentDiffDetailVO`]
168
+ """
169
+ return self._contents_infos
170
+
171
+ @contents_infos.setter
172
+ def contents_infos(self, contents_infos):
173
+ """Sets the contents_infos of this ContentDiffDetailInfo.
174
+
175
+ 信息列表。
176
+
177
+ :param contents_infos: The contents_infos of this ContentDiffDetailInfo.
178
+ :type contents_infos: list[:class:`huaweicloudsdkdrs.v5.ContentDiffDetailVO`]
179
+ """
180
+ self._contents_infos = contents_infos
181
+
182
+ def to_dict(self):
183
+ """Returns the model properties as a dict"""
184
+ result = {}
185
+
186
+ for attr, _ in six.iteritems(self.openapi_types):
187
+ value = getattr(self, attr)
188
+ if isinstance(value, list):
189
+ result[attr] = list(map(
190
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
191
+ value
192
+ ))
193
+ elif hasattr(value, "to_dict"):
194
+ result[attr] = value.to_dict()
195
+ elif isinstance(value, dict):
196
+ result[attr] = dict(map(
197
+ lambda item: (item[0], item[1].to_dict())
198
+ if hasattr(item[1], "to_dict") else item,
199
+ value.items()
200
+ ))
201
+ else:
202
+ if attr in self.sensitive_list:
203
+ result[attr] = "****"
204
+ else:
205
+ result[attr] = value
206
+
207
+ return result
208
+
209
+ def to_str(self):
210
+ """Returns the string representation of the model"""
211
+ import simplejson as json
212
+ if six.PY2:
213
+ import sys
214
+ reload(sys)
215
+ sys.setdefaultencoding("utf-8")
216
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
217
+
218
+ def __repr__(self):
219
+ """For `print`"""
220
+ return self.to_str()
221
+
222
+ def __eq__(self, other):
223
+ """Returns true if both objects are equal"""
224
+ if not isinstance(other, ContentDiffDetailInfo):
225
+ return False
226
+
227
+ return self.__dict__ == other.__dict__
228
+
229
+ def __ne__(self, other):
230
+ """Returns true if both objects are not equal"""
231
+ return not self == other