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,361 @@
|
|
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 CreateConnectionResponse(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
|
+
'connection_id': 'str',
|
22
|
+
'name': 'str',
|
23
|
+
'create_time': 'int',
|
24
|
+
'db_type': 'str',
|
25
|
+
'config': 'ConnectionConfig',
|
26
|
+
'endpoint': 'BaseEndpoint',
|
27
|
+
'vpc': 'CloudVpcInfo',
|
28
|
+
'ssl': 'EndpointSslConfig',
|
29
|
+
'enterprise_project_id': 'str',
|
30
|
+
'description': 'str'
|
31
|
+
}
|
32
|
+
|
33
|
+
attribute_map = {
|
34
|
+
'connection_id': 'connection_id',
|
35
|
+
'name': 'name',
|
36
|
+
'create_time': 'create_time',
|
37
|
+
'db_type': 'db_type',
|
38
|
+
'config': 'config',
|
39
|
+
'endpoint': 'endpoint',
|
40
|
+
'vpc': 'vpc',
|
41
|
+
'ssl': 'ssl',
|
42
|
+
'enterprise_project_id': 'enterprise_project_id',
|
43
|
+
'description': 'description'
|
44
|
+
}
|
45
|
+
|
46
|
+
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):
|
47
|
+
"""CreateConnectionResponse
|
48
|
+
|
49
|
+
The model defined in huaweicloud sdk
|
50
|
+
|
51
|
+
:param connection_id: 连接ID。
|
52
|
+
:type connection_id: str
|
53
|
+
:param name: 连接名称。
|
54
|
+
:type name: str
|
55
|
+
:param create_time: 连接创建时间,格式为时间戳。
|
56
|
+
:type create_time: int
|
57
|
+
:param db_type: 连接类型。
|
58
|
+
:type db_type: str
|
59
|
+
:param config:
|
60
|
+
:type config: :class:`huaweicloudsdkdrs.v5.ConnectionConfig`
|
61
|
+
:param endpoint:
|
62
|
+
:type endpoint: :class:`huaweicloudsdkdrs.v5.BaseEndpoint`
|
63
|
+
:param vpc:
|
64
|
+
:type vpc: :class:`huaweicloudsdkdrs.v5.CloudVpcInfo`
|
65
|
+
:param ssl:
|
66
|
+
:type ssl: :class:`huaweicloudsdkdrs.v5.EndpointSslConfig`
|
67
|
+
:param enterprise_project_id: 企业项目ID。
|
68
|
+
:type enterprise_project_id: str
|
69
|
+
:param description: 描述。
|
70
|
+
:type description: str
|
71
|
+
"""
|
72
|
+
|
73
|
+
super(CreateConnectionResponse, self).__init__()
|
74
|
+
|
75
|
+
self._connection_id = None
|
76
|
+
self._name = None
|
77
|
+
self._create_time = None
|
78
|
+
self._db_type = None
|
79
|
+
self._config = None
|
80
|
+
self._endpoint = None
|
81
|
+
self._vpc = None
|
82
|
+
self._ssl = None
|
83
|
+
self._enterprise_project_id = None
|
84
|
+
self._description = None
|
85
|
+
self.discriminator = None
|
86
|
+
|
87
|
+
if connection_id is not None:
|
88
|
+
self.connection_id = connection_id
|
89
|
+
if name is not None:
|
90
|
+
self.name = name
|
91
|
+
if create_time is not None:
|
92
|
+
self.create_time = create_time
|
93
|
+
if db_type is not None:
|
94
|
+
self.db_type = db_type
|
95
|
+
if config is not None:
|
96
|
+
self.config = config
|
97
|
+
if endpoint is not None:
|
98
|
+
self.endpoint = endpoint
|
99
|
+
if vpc is not None:
|
100
|
+
self.vpc = vpc
|
101
|
+
if ssl is not None:
|
102
|
+
self.ssl = ssl
|
103
|
+
if enterprise_project_id is not None:
|
104
|
+
self.enterprise_project_id = enterprise_project_id
|
105
|
+
if description is not None:
|
106
|
+
self.description = description
|
107
|
+
|
108
|
+
@property
|
109
|
+
def connection_id(self):
|
110
|
+
"""Gets the connection_id of this CreateConnectionResponse.
|
111
|
+
|
112
|
+
连接ID。
|
113
|
+
|
114
|
+
:return: The connection_id of this CreateConnectionResponse.
|
115
|
+
:rtype: str
|
116
|
+
"""
|
117
|
+
return self._connection_id
|
118
|
+
|
119
|
+
@connection_id.setter
|
120
|
+
def connection_id(self, connection_id):
|
121
|
+
"""Sets the connection_id of this CreateConnectionResponse.
|
122
|
+
|
123
|
+
连接ID。
|
124
|
+
|
125
|
+
:param connection_id: The connection_id of this CreateConnectionResponse.
|
126
|
+
:type connection_id: str
|
127
|
+
"""
|
128
|
+
self._connection_id = connection_id
|
129
|
+
|
130
|
+
@property
|
131
|
+
def name(self):
|
132
|
+
"""Gets the name of this CreateConnectionResponse.
|
133
|
+
|
134
|
+
连接名称。
|
135
|
+
|
136
|
+
:return: The name of this CreateConnectionResponse.
|
137
|
+
:rtype: str
|
138
|
+
"""
|
139
|
+
return self._name
|
140
|
+
|
141
|
+
@name.setter
|
142
|
+
def name(self, name):
|
143
|
+
"""Sets the name of this CreateConnectionResponse.
|
144
|
+
|
145
|
+
连接名称。
|
146
|
+
|
147
|
+
:param name: The name of this CreateConnectionResponse.
|
148
|
+
:type name: str
|
149
|
+
"""
|
150
|
+
self._name = name
|
151
|
+
|
152
|
+
@property
|
153
|
+
def create_time(self):
|
154
|
+
"""Gets the create_time of this CreateConnectionResponse.
|
155
|
+
|
156
|
+
连接创建时间,格式为时间戳。
|
157
|
+
|
158
|
+
:return: The create_time of this CreateConnectionResponse.
|
159
|
+
:rtype: int
|
160
|
+
"""
|
161
|
+
return self._create_time
|
162
|
+
|
163
|
+
@create_time.setter
|
164
|
+
def create_time(self, create_time):
|
165
|
+
"""Sets the create_time of this CreateConnectionResponse.
|
166
|
+
|
167
|
+
连接创建时间,格式为时间戳。
|
168
|
+
|
169
|
+
:param create_time: The create_time of this CreateConnectionResponse.
|
170
|
+
:type create_time: int
|
171
|
+
"""
|
172
|
+
self._create_time = create_time
|
173
|
+
|
174
|
+
@property
|
175
|
+
def db_type(self):
|
176
|
+
"""Gets the db_type of this CreateConnectionResponse.
|
177
|
+
|
178
|
+
连接类型。
|
179
|
+
|
180
|
+
:return: The db_type of this CreateConnectionResponse.
|
181
|
+
:rtype: str
|
182
|
+
"""
|
183
|
+
return self._db_type
|
184
|
+
|
185
|
+
@db_type.setter
|
186
|
+
def db_type(self, db_type):
|
187
|
+
"""Sets the db_type of this CreateConnectionResponse.
|
188
|
+
|
189
|
+
连接类型。
|
190
|
+
|
191
|
+
:param db_type: The db_type of this CreateConnectionResponse.
|
192
|
+
:type db_type: str
|
193
|
+
"""
|
194
|
+
self._db_type = db_type
|
195
|
+
|
196
|
+
@property
|
197
|
+
def config(self):
|
198
|
+
"""Gets the config of this CreateConnectionResponse.
|
199
|
+
|
200
|
+
:return: The config of this CreateConnectionResponse.
|
201
|
+
:rtype: :class:`huaweicloudsdkdrs.v5.ConnectionConfig`
|
202
|
+
"""
|
203
|
+
return self._config
|
204
|
+
|
205
|
+
@config.setter
|
206
|
+
def config(self, config):
|
207
|
+
"""Sets the config of this CreateConnectionResponse.
|
208
|
+
|
209
|
+
:param config: The config of this CreateConnectionResponse.
|
210
|
+
:type config: :class:`huaweicloudsdkdrs.v5.ConnectionConfig`
|
211
|
+
"""
|
212
|
+
self._config = config
|
213
|
+
|
214
|
+
@property
|
215
|
+
def endpoint(self):
|
216
|
+
"""Gets the endpoint of this CreateConnectionResponse.
|
217
|
+
|
218
|
+
:return: The endpoint of this CreateConnectionResponse.
|
219
|
+
:rtype: :class:`huaweicloudsdkdrs.v5.BaseEndpoint`
|
220
|
+
"""
|
221
|
+
return self._endpoint
|
222
|
+
|
223
|
+
@endpoint.setter
|
224
|
+
def endpoint(self, endpoint):
|
225
|
+
"""Sets the endpoint of this CreateConnectionResponse.
|
226
|
+
|
227
|
+
:param endpoint: The endpoint of this CreateConnectionResponse.
|
228
|
+
:type endpoint: :class:`huaweicloudsdkdrs.v5.BaseEndpoint`
|
229
|
+
"""
|
230
|
+
self._endpoint = endpoint
|
231
|
+
|
232
|
+
@property
|
233
|
+
def vpc(self):
|
234
|
+
"""Gets the vpc of this CreateConnectionResponse.
|
235
|
+
|
236
|
+
:return: The vpc of this CreateConnectionResponse.
|
237
|
+
:rtype: :class:`huaweicloudsdkdrs.v5.CloudVpcInfo`
|
238
|
+
"""
|
239
|
+
return self._vpc
|
240
|
+
|
241
|
+
@vpc.setter
|
242
|
+
def vpc(self, vpc):
|
243
|
+
"""Sets the vpc of this CreateConnectionResponse.
|
244
|
+
|
245
|
+
:param vpc: The vpc of this CreateConnectionResponse.
|
246
|
+
:type vpc: :class:`huaweicloudsdkdrs.v5.CloudVpcInfo`
|
247
|
+
"""
|
248
|
+
self._vpc = vpc
|
249
|
+
|
250
|
+
@property
|
251
|
+
def ssl(self):
|
252
|
+
"""Gets the ssl of this CreateConnectionResponse.
|
253
|
+
|
254
|
+
:return: The ssl of this CreateConnectionResponse.
|
255
|
+
:rtype: :class:`huaweicloudsdkdrs.v5.EndpointSslConfig`
|
256
|
+
"""
|
257
|
+
return self._ssl
|
258
|
+
|
259
|
+
@ssl.setter
|
260
|
+
def ssl(self, ssl):
|
261
|
+
"""Sets the ssl of this CreateConnectionResponse.
|
262
|
+
|
263
|
+
:param ssl: The ssl of this CreateConnectionResponse.
|
264
|
+
:type ssl: :class:`huaweicloudsdkdrs.v5.EndpointSslConfig`
|
265
|
+
"""
|
266
|
+
self._ssl = ssl
|
267
|
+
|
268
|
+
@property
|
269
|
+
def enterprise_project_id(self):
|
270
|
+
"""Gets the enterprise_project_id of this CreateConnectionResponse.
|
271
|
+
|
272
|
+
企业项目ID。
|
273
|
+
|
274
|
+
:return: The enterprise_project_id of this CreateConnectionResponse.
|
275
|
+
:rtype: str
|
276
|
+
"""
|
277
|
+
return self._enterprise_project_id
|
278
|
+
|
279
|
+
@enterprise_project_id.setter
|
280
|
+
def enterprise_project_id(self, enterprise_project_id):
|
281
|
+
"""Sets the enterprise_project_id of this CreateConnectionResponse.
|
282
|
+
|
283
|
+
企业项目ID。
|
284
|
+
|
285
|
+
:param enterprise_project_id: The enterprise_project_id of this CreateConnectionResponse.
|
286
|
+
:type enterprise_project_id: str
|
287
|
+
"""
|
288
|
+
self._enterprise_project_id = enterprise_project_id
|
289
|
+
|
290
|
+
@property
|
291
|
+
def description(self):
|
292
|
+
"""Gets the description of this CreateConnectionResponse.
|
293
|
+
|
294
|
+
描述。
|
295
|
+
|
296
|
+
:return: The description of this CreateConnectionResponse.
|
297
|
+
:rtype: str
|
298
|
+
"""
|
299
|
+
return self._description
|
300
|
+
|
301
|
+
@description.setter
|
302
|
+
def description(self, description):
|
303
|
+
"""Sets the description of this CreateConnectionResponse.
|
304
|
+
|
305
|
+
描述。
|
306
|
+
|
307
|
+
:param description: The description of this CreateConnectionResponse.
|
308
|
+
:type description: str
|
309
|
+
"""
|
310
|
+
self._description = description
|
311
|
+
|
312
|
+
def to_dict(self):
|
313
|
+
"""Returns the model properties as a dict"""
|
314
|
+
result = {}
|
315
|
+
|
316
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
317
|
+
value = getattr(self, attr)
|
318
|
+
if isinstance(value, list):
|
319
|
+
result[attr] = list(map(
|
320
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
321
|
+
value
|
322
|
+
))
|
323
|
+
elif hasattr(value, "to_dict"):
|
324
|
+
result[attr] = value.to_dict()
|
325
|
+
elif isinstance(value, dict):
|
326
|
+
result[attr] = dict(map(
|
327
|
+
lambda item: (item[0], item[1].to_dict())
|
328
|
+
if hasattr(item[1], "to_dict") else item,
|
329
|
+
value.items()
|
330
|
+
))
|
331
|
+
else:
|
332
|
+
if attr in self.sensitive_list:
|
333
|
+
result[attr] = "****"
|
334
|
+
else:
|
335
|
+
result[attr] = value
|
336
|
+
|
337
|
+
return result
|
338
|
+
|
339
|
+
def to_str(self):
|
340
|
+
"""Returns the string representation of the model"""
|
341
|
+
import simplejson as json
|
342
|
+
if six.PY2:
|
343
|
+
import sys
|
344
|
+
reload(sys)
|
345
|
+
sys.setdefaultencoding("utf-8")
|
346
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
347
|
+
|
348
|
+
def __repr__(self):
|
349
|
+
"""For `print`"""
|
350
|
+
return self.to_str()
|
351
|
+
|
352
|
+
def __eq__(self, other):
|
353
|
+
"""Returns true if both objects are equal"""
|
354
|
+
if not isinstance(other, CreateConnectionResponse):
|
355
|
+
return False
|
356
|
+
|
357
|
+
return self.__dict__ == other.__dict__
|
358
|
+
|
359
|
+
def __ne__(self, other):
|
360
|
+
"""Returns true if both objects are not equal"""
|
361
|
+
return not self == other
|
@@ -18,47 +18,167 @@ class CreateJobResponse(SdkResponse):
|
|
18
18
|
sensitive_list = []
|
19
19
|
|
20
20
|
openapi_types = {
|
21
|
-
'
|
21
|
+
'id': 'str',
|
22
|
+
'name': 'str',
|
23
|
+
'status': 'str',
|
24
|
+
'create_time': 'str',
|
25
|
+
'is_clone_job': 'str'
|
22
26
|
}
|
23
27
|
|
24
28
|
attribute_map = {
|
25
|
-
'
|
29
|
+
'id': 'id',
|
30
|
+
'name': 'name',
|
31
|
+
'status': 'status',
|
32
|
+
'create_time': 'create_time',
|
33
|
+
'is_clone_job': 'is_clone_job'
|
26
34
|
}
|
27
35
|
|
28
|
-
def __init__(self,
|
36
|
+
def __init__(self, id=None, name=None, status=None, create_time=None, is_clone_job=None):
|
29
37
|
"""CreateJobResponse
|
30
38
|
|
31
39
|
The model defined in huaweicloud sdk
|
32
40
|
|
33
|
-
:param
|
34
|
-
:type
|
41
|
+
:param id: 任务ID。
|
42
|
+
:type id: str
|
43
|
+
:param name: 任务名称。
|
44
|
+
:type name: str
|
45
|
+
:param status: 任务状态。
|
46
|
+
:type status: str
|
47
|
+
:param create_time: 任务创建时间。
|
48
|
+
:type create_time: str
|
49
|
+
:param is_clone_job: 是否为克隆任务。
|
50
|
+
:type is_clone_job: str
|
35
51
|
"""
|
36
52
|
|
37
53
|
super(CreateJobResponse, self).__init__()
|
38
54
|
|
39
|
-
self.
|
55
|
+
self._id = None
|
56
|
+
self._name = None
|
57
|
+
self._status = None
|
58
|
+
self._create_time = None
|
59
|
+
self._is_clone_job = None
|
40
60
|
self.discriminator = None
|
41
61
|
|
42
|
-
if
|
43
|
-
self.
|
62
|
+
if id is not None:
|
63
|
+
self.id = id
|
64
|
+
if name is not None:
|
65
|
+
self.name = name
|
66
|
+
if status is not None:
|
67
|
+
self.status = status
|
68
|
+
if create_time is not None:
|
69
|
+
self.create_time = create_time
|
70
|
+
if is_clone_job is not None:
|
71
|
+
self.is_clone_job = is_clone_job
|
44
72
|
|
45
73
|
@property
|
46
|
-
def
|
47
|
-
"""Gets the
|
74
|
+
def id(self):
|
75
|
+
"""Gets the id of this CreateJobResponse.
|
48
76
|
|
49
|
-
|
50
|
-
|
77
|
+
任务ID。
|
78
|
+
|
79
|
+
:return: The id of this CreateJobResponse.
|
80
|
+
:rtype: str
|
81
|
+
"""
|
82
|
+
return self._id
|
83
|
+
|
84
|
+
@id.setter
|
85
|
+
def id(self, id):
|
86
|
+
"""Sets the id of this CreateJobResponse.
|
87
|
+
|
88
|
+
任务ID。
|
89
|
+
|
90
|
+
:param id: The id of this CreateJobResponse.
|
91
|
+
:type id: str
|
92
|
+
"""
|
93
|
+
self._id = id
|
94
|
+
|
95
|
+
@property
|
96
|
+
def name(self):
|
97
|
+
"""Gets the name of this CreateJobResponse.
|
98
|
+
|
99
|
+
任务名称。
|
100
|
+
|
101
|
+
:return: The name of this CreateJobResponse.
|
102
|
+
:rtype: str
|
103
|
+
"""
|
104
|
+
return self._name
|
105
|
+
|
106
|
+
@name.setter
|
107
|
+
def name(self, name):
|
108
|
+
"""Sets the name of this CreateJobResponse.
|
109
|
+
|
110
|
+
任务名称。
|
111
|
+
|
112
|
+
:param name: The name of this CreateJobResponse.
|
113
|
+
:type name: str
|
114
|
+
"""
|
115
|
+
self._name = name
|
116
|
+
|
117
|
+
@property
|
118
|
+
def status(self):
|
119
|
+
"""Gets the status of this CreateJobResponse.
|
120
|
+
|
121
|
+
任务状态。
|
122
|
+
|
123
|
+
:return: The status of this CreateJobResponse.
|
124
|
+
:rtype: str
|
51
125
|
"""
|
52
|
-
return self.
|
126
|
+
return self._status
|
127
|
+
|
128
|
+
@status.setter
|
129
|
+
def status(self, status):
|
130
|
+
"""Sets the status of this CreateJobResponse.
|
131
|
+
|
132
|
+
任务状态。
|
133
|
+
|
134
|
+
:param status: The status of this CreateJobResponse.
|
135
|
+
:type status: str
|
136
|
+
"""
|
137
|
+
self._status = status
|
138
|
+
|
139
|
+
@property
|
140
|
+
def create_time(self):
|
141
|
+
"""Gets the create_time of this CreateJobResponse.
|
142
|
+
|
143
|
+
任务创建时间。
|
144
|
+
|
145
|
+
:return: The create_time of this CreateJobResponse.
|
146
|
+
:rtype: str
|
147
|
+
"""
|
148
|
+
return self._create_time
|
149
|
+
|
150
|
+
@create_time.setter
|
151
|
+
def create_time(self, create_time):
|
152
|
+
"""Sets the create_time of this CreateJobResponse.
|
153
|
+
|
154
|
+
任务创建时间。
|
155
|
+
|
156
|
+
:param create_time: The create_time of this CreateJobResponse.
|
157
|
+
:type create_time: str
|
158
|
+
"""
|
159
|
+
self._create_time = create_time
|
160
|
+
|
161
|
+
@property
|
162
|
+
def is_clone_job(self):
|
163
|
+
"""Gets the is_clone_job of this CreateJobResponse.
|
164
|
+
|
165
|
+
是否为克隆任务。
|
166
|
+
|
167
|
+
:return: The is_clone_job of this CreateJobResponse.
|
168
|
+
:rtype: str
|
169
|
+
"""
|
170
|
+
return self._is_clone_job
|
171
|
+
|
172
|
+
@is_clone_job.setter
|
173
|
+
def is_clone_job(self, is_clone_job):
|
174
|
+
"""Sets the is_clone_job of this CreateJobResponse.
|
53
175
|
|
54
|
-
|
55
|
-
def job(self, job):
|
56
|
-
"""Sets the job of this CreateJobResponse.
|
176
|
+
是否为克隆任务。
|
57
177
|
|
58
|
-
:param
|
59
|
-
:type
|
178
|
+
:param is_clone_job: The is_clone_job of this CreateJobResponse.
|
179
|
+
:type is_clone_job: str
|
60
180
|
"""
|
61
|
-
self.
|
181
|
+
self._is_clone_job = is_clone_job
|
62
182
|
|
63
183
|
def to_dict(self):
|
64
184
|
"""Returns the model properties as a dict"""
|