volcengine-python-sdk 4.0.26__py2.py3-none-any.whl → 4.0.27__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.
Potentially problematic release.
This version of volcengine-python-sdk might be problematic. Click here for more details.
- {volcengine_python_sdk-4.0.26.dist-info → volcengine_python_sdk-4.0.27.dist-info}/METADATA +1 -1
- {volcengine_python_sdk-4.0.26.dist-info → volcengine_python_sdk-4.0.27.dist-info}/RECORD +168 -44
- volcenginesdkacep/__init__.py +15 -0
- volcenginesdkacep/api/acep_api.py +485 -0
- volcenginesdkacep/models/__init__.py +15 -0
- volcenginesdkacep/models/backup_data_request.py +176 -0
- volcenginesdkacep/models/backup_data_response.py +149 -0
- volcenginesdkacep/models/delete_backup_data_request.py +150 -0
- volcenginesdkacep/models/delete_backup_data_response.py +123 -0
- volcenginesdkacep/models/detail_for_backup_data_output.py +201 -0
- volcenginesdkacep/models/detail_for_delete_backup_data_output.py +175 -0
- volcenginesdkacep/models/detail_for_restore_data_output.py +175 -0
- volcenginesdkacep/models/get_dc_bandwidth_daily_peak_request.py +204 -0
- volcenginesdkacep/models/get_dc_bandwidth_daily_peak_response.py +123 -0
- volcenginesdkacep/models/list_backup_data_request.py +254 -0
- volcenginesdkacep/models/list_backup_data_response.py +149 -0
- volcenginesdkacep/models/restore_data_request.py +203 -0
- volcenginesdkacep/models/restore_data_response.py +149 -0
- volcenginesdkacep/models/row_for_get_dc_bandwidth_daily_peak_output.py +253 -0
- volcenginesdkacep/models/row_for_list_backup_data_output.py +799 -0
- volcenginesdkclb/__init__.py +10 -0
- volcenginesdkclb/api/clb_api.py +194 -0
- volcenginesdkclb/models/__init__.py +10 -0
- volcenginesdkclb/models/access_log_for_describe_network_load_balancer_attributes_output.py +175 -0
- volcenginesdkclb/models/add_domain_extension_for_modify_listener_domain_extensions_input.py +175 -0
- volcenginesdkclb/models/convert_load_balancer_billing_type_request.py +27 -1
- volcenginesdkclb/models/describe_listener_attributes_response.py +27 -1
- volcenginesdkclb/models/describe_network_load_balancer_attributes_response.py +27 -1
- volcenginesdkclb/models/describe_nlb_server_groups_request.py +53 -1
- volcenginesdkclb/models/domain_extension_for_describe_listener_attributes_output.py +201 -0
- volcenginesdkclb/models/domain_extension_for_describe_listeners_output.py +201 -0
- volcenginesdkclb/models/listener_for_describe_listeners_output.py +27 -1
- volcenginesdkclb/models/modify_domain_extension_for_modify_listener_domain_extensions_input.py +175 -0
- volcenginesdkclb/models/modify_listener_domain_extensions_request.py +202 -0
- volcenginesdkclb/models/modify_listener_domain_extensions_response.py +123 -0
- volcenginesdkclb/models/modify_network_load_balancer_access_log_request.py +202 -0
- volcenginesdkclb/models/modify_network_load_balancer_access_log_response.py +123 -0
- volcenginesdkclb/models/remove_domain_extension_for_modify_listener_domain_extensions_input.py +123 -0
- volcenginesdkcore/api_client.py +1 -1
- volcenginesdkcore/configuration.py +1 -1
- volcenginesdkcore/interceptor/interceptors/build_request_interceptor.py +4 -0
- volcenginesdkcore/interceptor/interceptors/sign_request_interceptor.py +1 -1
- volcenginesdkdbw/__init__.py +18 -0
- volcenginesdkdbw/api/dbw_api.py +388 -0
- volcenginesdkdbw/models/__init__.py +18 -0
- volcenginesdkdbw/models/column_for_get_table_info_output.py +331 -0
- volcenginesdkdbw/models/execute_sql_request.py +231 -0
- volcenginesdkdbw/models/execute_sql_response.py +123 -0
- volcenginesdkdbw/models/foreign_key_for_get_table_info_output.py +279 -0
- volcenginesdkdbw/models/get_table_info_request.py +205 -0
- volcenginesdkdbw/models/get_table_info_response.py +123 -0
- volcenginesdkdbw/models/index_for_get_table_info_output.py +201 -0
- volcenginesdkdbw/models/item_for_list_databases_output.py +279 -0
- volcenginesdkdbw/models/list_databases_request.py +203 -0
- volcenginesdkdbw/models/list_databases_response.py +149 -0
- volcenginesdkdbw/models/list_tables_request.py +230 -0
- volcenginesdkdbw/models/list_tables_response.py +149 -0
- volcenginesdkdbw/models/partition_options_for_get_table_info_output.py +175 -0
- volcenginesdkdbw/models/result_for_execute_sql_output.py +305 -0
- volcenginesdkdbw/models/row_for_execute_sql_output.py +123 -0
- volcenginesdkdbw/models/running_info_for_execute_sql_output.py +201 -0
- volcenginesdkdbw/models/table_meta_for_get_table_info_output.py +383 -0
- volcenginesdkdbw/models/table_options_for_get_table_info_output.py +331 -0
- volcenginesdkgraph/__init__.py +48 -0
- volcenginesdkgraph/api/graph_api.py +951 -78
- volcenginesdkgraph/models/__init__.py +48 -0
- volcenginesdkgraph/models/availability_zone_for_list_graph_rag_service_output.py +253 -0
- volcenginesdkgraph/models/bg3_link_for_list_graph_rag_service_output.py +175 -0
- volcenginesdkgraph/models/bytestore_info_for_list_graph_rag_service_output.py +201 -0
- volcenginesdkgraph/models/conf_checker_for_get_conf_checker_output.py +409 -0
- volcenginesdkgraph/models/conf_checker_for_update_conf_checker_input.py +409 -0
- volcenginesdkgraph/models/conf_checker_for_validate_conf_checker_input.py +409 -0
- volcenginesdkgraph/models/convert_value_for_list_tablets_output.py +149 -0
- volcenginesdkgraph/models/create_instance_request.py +29 -3
- volcenginesdkgraph/models/first_for_list_tablet_task_output.py +175 -0
- volcenginesdkgraph/models/get_conf_checker_request.py +253 -0
- volcenginesdkgraph/models/get_conf_checker_response.py +123 -0
- volcenginesdkgraph/models/graphrag_add_knowledge_base_request.py +178 -0
- volcenginesdkgraph/models/graphrag_add_knowledge_base_response.py +95 -0
- volcenginesdkgraph/models/image_info_for_list_graph_rag_service_output.py +227 -0
- volcenginesdkgraph/models/info_for_list_graph_rag_service_output.py +175 -0
- volcenginesdkgraph/models/info_for_list_tablet_task_output.py +201 -0
- volcenginesdkgraph/models/ins_spec_for_list_graph_rag_service_output.py +175 -0
- volcenginesdkgraph/models/list_graph_rag_service_request.py +178 -0
- volcenginesdkgraph/models/list_graph_rag_service_response.py +149 -0
- volcenginesdkgraph/models/list_tablet_server_request.py +150 -0
- volcenginesdkgraph/models/list_tablet_server_response.py +149 -0
- volcenginesdkgraph/models/list_tablet_task_request.py +177 -0
- volcenginesdkgraph/models/list_tablet_task_response.py +123 -0
- volcenginesdkgraph/models/list_tablets_request.py +254 -0
- volcenginesdkgraph/models/list_tablets_response.py +123 -0
- volcenginesdkgraph/models/migrate_tablet_replica_request.py +257 -0
- volcenginesdkgraph/models/migrate_tablet_replica_response.py +123 -0
- volcenginesdkgraph/models/pending_schedule_replica_for_list_tablets_output.py +149 -0
- volcenginesdkgraph/models/replica_info_for_list_tablets_output.py +149 -0
- volcenginesdkgraph/models/replicas_to_close_for_list_tablet_task_output.py +227 -0
- volcenginesdkgraph/models/replicas_to_delete_for_list_tablet_task_output.py +227 -0
- volcenginesdkgraph/models/replicas_to_failover_by_promote_for_list_tablet_task_output.py +149 -0
- volcenginesdkgraph/models/replicas_to_failover_by_reopen_for_list_tablet_task_output.py +149 -0
- volcenginesdkgraph/models/replicas_to_open_or_add_for_list_tablet_task_output.py +227 -0
- volcenginesdkgraph/models/second_for_list_tablet_task_output.py +175 -0
- volcenginesdkgraph/models/storage_info_for_list_graph_rag_service_output.py +149 -0
- volcenginesdkgraph/models/tablet_info_for_list_tablets_output.py +149 -0
- volcenginesdkgraph/models/tablet_server_info_for_list_tablet_server_output.py +227 -0
- volcenginesdkgraph/models/tablet_task_info_for_list_tablet_task_output.py +435 -0
- volcenginesdkgraph/models/tablet_to_merge_for_list_tablet_task_output.py +149 -0
- volcenginesdkgraph/models/tablet_to_split_for_list_tablet_task_output.py +175 -0
- volcenginesdkgraph/models/tablets_to_delete_for_list_tablet_task_output.py +175 -0
- volcenginesdkgraph/models/tag_for_list_graph_rag_service_output.py +149 -0
- volcenginesdkgraph/models/update_conf_checker_request.py +123 -0
- volcenginesdkgraph/models/update_conf_checker_response.py +123 -0
- volcenginesdkgraph/models/validate_conf_checker_request.py +123 -0
- volcenginesdkgraph/models/validate_conf_checker_response.py +149 -0
- volcenginesdkgraph/models/value_for_list_tablets_output.py +201 -0
- volcenginesdkgraph/models/ve_graph_info_for_list_graph_rag_service_output.py +851 -0
- volcenginesdklivesaas/__init__.py +3 -0
- volcenginesdklivesaas/models/__init__.py +3 -0
- volcenginesdklivesaas/models/auto_start_config_for_create_activity_apiv2_input.py +175 -0
- volcenginesdklivesaas/models/auto_start_config_for_get_activity_basic_config_api_output.py +175 -0
- volcenginesdklivesaas/models/auto_start_config_for_update_activity_basic_config_api_input.py +175 -0
- volcenginesdklivesaas/models/create_activity_apiv2_request.py +27 -1
- volcenginesdklivesaas/models/get_activity_basic_config_api_response.py +79 -1
- volcenginesdklivesaas/models/update_activity_basic_config_api_request.py +53 -1
- volcenginesdkvefaas/__init__.py +4 -0
- volcenginesdkvefaas/api/vefaas_api.py +194 -0
- volcenginesdkvefaas/models/__init__.py +4 -0
- volcenginesdkvefaas/models/enable_user_cr_vpc_tunnel_request.py +124 -0
- volcenginesdkvefaas/models/enable_user_cr_vpc_tunnel_response.py +149 -0
- volcenginesdkvefaas/models/query_user_cr_vpc_tunnel_request.py +124 -0
- volcenginesdkvefaas/models/query_user_cr_vpc_tunnel_response.py +123 -0
- volcenginesdkvke/models/scheduled_instance_policy_for_create_scaling_policy_input.py +27 -1
- volcenginesdkvke/models/scheduled_instance_policy_for_list_scaling_policies_output.py +27 -1
- volcenginesdkvke/models/scheduled_instance_policy_for_update_scaling_policy_input.py +27 -1
- volcenginesdkvod20250101/__init__.py +26 -0
- volcenginesdkvod20250101/api/vod20250101_api.py +888 -112
- volcenginesdkvod20250101/models/__init__.py +26 -0
- volcenginesdkvod20250101/models/create_ai_termbase_request.py +256 -0
- volcenginesdkvod20250101/models/create_ai_termbase_response.py +123 -0
- volcenginesdkvod20250101/models/delete_ai_term_item_request.py +177 -0
- volcenginesdkvod20250101/models/delete_ai_term_item_response.py +95 -0
- volcenginesdkvod20250101/models/delete_ai_termbase_request.py +151 -0
- volcenginesdkvod20250101/models/delete_ai_termbase_response.py +95 -0
- volcenginesdkvod20250101/models/get_ai_termbase_request.py +151 -0
- volcenginesdkvod20250101/models/get_ai_termbase_response.py +123 -0
- volcenginesdkvod20250101/models/list_ai_termbase_request.py +124 -0
- volcenginesdkvod20250101/models/list_ai_termbase_response.py +123 -0
- volcenginesdkvod20250101/models/process_config_for_submit_ai_translation_workflow_input.py +53 -1
- volcenginesdkvod20250101/models/process_config_for_update_ai_translation_project_config_input.py +149 -0
- volcenginesdkvod20250101/models/scenario_for_create_ai_termbase_input.py +95 -0
- volcenginesdkvod20250101/models/set_ai_term_item_request.py +177 -0
- volcenginesdkvod20250101/models/set_ai_term_item_response.py +95 -0
- volcenginesdkvod20250101/models/term_item_for_create_ai_termbase_output.py +149 -0
- volcenginesdkvod20250101/models/term_item_for_get_ai_termbase_output.py +149 -0
- volcenginesdkvod20250101/models/term_item_for_list_ai_termbase_output.py +149 -0
- volcenginesdkvod20250101/models/term_item_for_set_ai_term_item_input.py +149 -0
- volcenginesdkvod20250101/models/termbase_config_for_submit_ai_translation_workflow_input.py +123 -0
- volcenginesdkvod20250101/models/termbase_for_create_ai_termbase_output.py +279 -0
- volcenginesdkvod20250101/models/termbase_for_get_ai_termbase_output.py +279 -0
- volcenginesdkvod20250101/models/termbase_for_list_ai_termbase_output.py +279 -0
- volcenginesdkvod20250101/models/translation_config_for_submit_ai_translation_workflow_input.py +27 -1
- volcenginesdkvod20250101/models/update_ai_termbase_request.py +203 -0
- volcenginesdkvod20250101/models/update_ai_termbase_response.py +95 -0
- volcenginesdkvod20250101/models/update_ai_translation_project_config_request.py +204 -0
- volcenginesdkvod20250101/models/update_ai_translation_project_config_response.py +95 -0
- {volcengine_python_sdk-4.0.26.dist-info → volcengine_python_sdk-4.0.27.dist-info}/WHEEL +0 -0
- {volcengine_python_sdk-4.0.26.dist-info → volcengine_python_sdk-4.0.27.dist-info}/licenses/LICENSE.txt +0 -0
- {volcengine_python_sdk-4.0.26.dist-info → volcengine_python_sdk-4.0.27.dist-info}/licenses/NOTICE.md +0 -0
- {volcengine_python_sdk-4.0.26.dist-info → volcengine_python_sdk-4.0.27.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,254 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
graph
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: common-version
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import pprint
|
|
15
|
+
import re # noqa: F401
|
|
16
|
+
|
|
17
|
+
import six
|
|
18
|
+
|
|
19
|
+
from volcenginesdkcore.configuration import Configuration
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class ListTabletsRequest(object):
|
|
23
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
24
|
+
|
|
25
|
+
Do not edit the class manually.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
"""
|
|
29
|
+
Attributes:
|
|
30
|
+
swagger_types (dict): The key is attribute name
|
|
31
|
+
and the value is attribute type.
|
|
32
|
+
attribute_map (dict): The key is attribute name
|
|
33
|
+
and the value is json key in definition.
|
|
34
|
+
"""
|
|
35
|
+
swagger_types = {
|
|
36
|
+
'instance_id': 'str',
|
|
37
|
+
'region': 'str',
|
|
38
|
+
'request_tablet_server_addr': 'str',
|
|
39
|
+
'return_partition_route_info': 'bool',
|
|
40
|
+
'return_tablet_route_info': 'bool',
|
|
41
|
+
'table_names': 'list[str]'
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
attribute_map = {
|
|
45
|
+
'instance_id': 'InstanceId',
|
|
46
|
+
'region': 'Region',
|
|
47
|
+
'request_tablet_server_addr': 'RequestTabletServerAddr',
|
|
48
|
+
'return_partition_route_info': 'ReturnPartitionRouteInfo',
|
|
49
|
+
'return_tablet_route_info': 'ReturnTabletRouteInfo',
|
|
50
|
+
'table_names': 'TableNames'
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
def __init__(self, instance_id=None, region=None, request_tablet_server_addr=None, return_partition_route_info=None, return_tablet_route_info=None, table_names=None, _configuration=None): # noqa: E501
|
|
54
|
+
"""ListTabletsRequest - a model defined in Swagger""" # noqa: E501
|
|
55
|
+
if _configuration is None:
|
|
56
|
+
_configuration = Configuration()
|
|
57
|
+
self._configuration = _configuration
|
|
58
|
+
|
|
59
|
+
self._instance_id = None
|
|
60
|
+
self._region = None
|
|
61
|
+
self._request_tablet_server_addr = None
|
|
62
|
+
self._return_partition_route_info = None
|
|
63
|
+
self._return_tablet_route_info = None
|
|
64
|
+
self._table_names = None
|
|
65
|
+
self.discriminator = None
|
|
66
|
+
|
|
67
|
+
self.instance_id = instance_id
|
|
68
|
+
if region is not None:
|
|
69
|
+
self.region = region
|
|
70
|
+
if request_tablet_server_addr is not None:
|
|
71
|
+
self.request_tablet_server_addr = request_tablet_server_addr
|
|
72
|
+
if return_partition_route_info is not None:
|
|
73
|
+
self.return_partition_route_info = return_partition_route_info
|
|
74
|
+
if return_tablet_route_info is not None:
|
|
75
|
+
self.return_tablet_route_info = return_tablet_route_info
|
|
76
|
+
if table_names is not None:
|
|
77
|
+
self.table_names = table_names
|
|
78
|
+
|
|
79
|
+
@property
|
|
80
|
+
def instance_id(self):
|
|
81
|
+
"""Gets the instance_id of this ListTabletsRequest. # noqa: E501
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
:return: The instance_id of this ListTabletsRequest. # noqa: E501
|
|
85
|
+
:rtype: str
|
|
86
|
+
"""
|
|
87
|
+
return self._instance_id
|
|
88
|
+
|
|
89
|
+
@instance_id.setter
|
|
90
|
+
def instance_id(self, instance_id):
|
|
91
|
+
"""Sets the instance_id of this ListTabletsRequest.
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
:param instance_id: The instance_id of this ListTabletsRequest. # noqa: E501
|
|
95
|
+
:type: str
|
|
96
|
+
"""
|
|
97
|
+
if self._configuration.client_side_validation and instance_id is None:
|
|
98
|
+
raise ValueError("Invalid value for `instance_id`, must not be `None`") # noqa: E501
|
|
99
|
+
|
|
100
|
+
self._instance_id = instance_id
|
|
101
|
+
|
|
102
|
+
@property
|
|
103
|
+
def region(self):
|
|
104
|
+
"""Gets the region of this ListTabletsRequest. # noqa: E501
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
:return: The region of this ListTabletsRequest. # noqa: E501
|
|
108
|
+
:rtype: str
|
|
109
|
+
"""
|
|
110
|
+
return self._region
|
|
111
|
+
|
|
112
|
+
@region.setter
|
|
113
|
+
def region(self, region):
|
|
114
|
+
"""Sets the region of this ListTabletsRequest.
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
:param region: The region of this ListTabletsRequest. # noqa: E501
|
|
118
|
+
:type: str
|
|
119
|
+
"""
|
|
120
|
+
|
|
121
|
+
self._region = region
|
|
122
|
+
|
|
123
|
+
@property
|
|
124
|
+
def request_tablet_server_addr(self):
|
|
125
|
+
"""Gets the request_tablet_server_addr of this ListTabletsRequest. # noqa: E501
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
:return: The request_tablet_server_addr of this ListTabletsRequest. # noqa: E501
|
|
129
|
+
:rtype: str
|
|
130
|
+
"""
|
|
131
|
+
return self._request_tablet_server_addr
|
|
132
|
+
|
|
133
|
+
@request_tablet_server_addr.setter
|
|
134
|
+
def request_tablet_server_addr(self, request_tablet_server_addr):
|
|
135
|
+
"""Sets the request_tablet_server_addr of this ListTabletsRequest.
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
:param request_tablet_server_addr: The request_tablet_server_addr of this ListTabletsRequest. # noqa: E501
|
|
139
|
+
:type: str
|
|
140
|
+
"""
|
|
141
|
+
|
|
142
|
+
self._request_tablet_server_addr = request_tablet_server_addr
|
|
143
|
+
|
|
144
|
+
@property
|
|
145
|
+
def return_partition_route_info(self):
|
|
146
|
+
"""Gets the return_partition_route_info of this ListTabletsRequest. # noqa: E501
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
:return: The return_partition_route_info of this ListTabletsRequest. # noqa: E501
|
|
150
|
+
:rtype: bool
|
|
151
|
+
"""
|
|
152
|
+
return self._return_partition_route_info
|
|
153
|
+
|
|
154
|
+
@return_partition_route_info.setter
|
|
155
|
+
def return_partition_route_info(self, return_partition_route_info):
|
|
156
|
+
"""Sets the return_partition_route_info of this ListTabletsRequest.
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
:param return_partition_route_info: The return_partition_route_info of this ListTabletsRequest. # noqa: E501
|
|
160
|
+
:type: bool
|
|
161
|
+
"""
|
|
162
|
+
|
|
163
|
+
self._return_partition_route_info = return_partition_route_info
|
|
164
|
+
|
|
165
|
+
@property
|
|
166
|
+
def return_tablet_route_info(self):
|
|
167
|
+
"""Gets the return_tablet_route_info of this ListTabletsRequest. # noqa: E501
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
:return: The return_tablet_route_info of this ListTabletsRequest. # noqa: E501
|
|
171
|
+
:rtype: bool
|
|
172
|
+
"""
|
|
173
|
+
return self._return_tablet_route_info
|
|
174
|
+
|
|
175
|
+
@return_tablet_route_info.setter
|
|
176
|
+
def return_tablet_route_info(self, return_tablet_route_info):
|
|
177
|
+
"""Sets the return_tablet_route_info of this ListTabletsRequest.
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
:param return_tablet_route_info: The return_tablet_route_info of this ListTabletsRequest. # noqa: E501
|
|
181
|
+
:type: bool
|
|
182
|
+
"""
|
|
183
|
+
|
|
184
|
+
self._return_tablet_route_info = return_tablet_route_info
|
|
185
|
+
|
|
186
|
+
@property
|
|
187
|
+
def table_names(self):
|
|
188
|
+
"""Gets the table_names of this ListTabletsRequest. # noqa: E501
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
:return: The table_names of this ListTabletsRequest. # noqa: E501
|
|
192
|
+
:rtype: list[str]
|
|
193
|
+
"""
|
|
194
|
+
return self._table_names
|
|
195
|
+
|
|
196
|
+
@table_names.setter
|
|
197
|
+
def table_names(self, table_names):
|
|
198
|
+
"""Sets the table_names of this ListTabletsRequest.
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
:param table_names: The table_names of this ListTabletsRequest. # noqa: E501
|
|
202
|
+
:type: list[str]
|
|
203
|
+
"""
|
|
204
|
+
|
|
205
|
+
self._table_names = table_names
|
|
206
|
+
|
|
207
|
+
def to_dict(self):
|
|
208
|
+
"""Returns the model properties as a dict"""
|
|
209
|
+
result = {}
|
|
210
|
+
|
|
211
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
212
|
+
value = getattr(self, attr)
|
|
213
|
+
if isinstance(value, list):
|
|
214
|
+
result[attr] = list(map(
|
|
215
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
216
|
+
value
|
|
217
|
+
))
|
|
218
|
+
elif hasattr(value, "to_dict"):
|
|
219
|
+
result[attr] = value.to_dict()
|
|
220
|
+
elif isinstance(value, dict):
|
|
221
|
+
result[attr] = dict(map(
|
|
222
|
+
lambda item: (item[0], item[1].to_dict())
|
|
223
|
+
if hasattr(item[1], "to_dict") else item,
|
|
224
|
+
value.items()
|
|
225
|
+
))
|
|
226
|
+
else:
|
|
227
|
+
result[attr] = value
|
|
228
|
+
if issubclass(ListTabletsRequest, dict):
|
|
229
|
+
for key, value in self.items():
|
|
230
|
+
result[key] = value
|
|
231
|
+
|
|
232
|
+
return result
|
|
233
|
+
|
|
234
|
+
def to_str(self):
|
|
235
|
+
"""Returns the string representation of the model"""
|
|
236
|
+
return pprint.pformat(self.to_dict())
|
|
237
|
+
|
|
238
|
+
def __repr__(self):
|
|
239
|
+
"""For `print` and `pprint`"""
|
|
240
|
+
return self.to_str()
|
|
241
|
+
|
|
242
|
+
def __eq__(self, other):
|
|
243
|
+
"""Returns true if both objects are equal"""
|
|
244
|
+
if not isinstance(other, ListTabletsRequest):
|
|
245
|
+
return False
|
|
246
|
+
|
|
247
|
+
return self.to_dict() == other.to_dict()
|
|
248
|
+
|
|
249
|
+
def __ne__(self, other):
|
|
250
|
+
"""Returns true if both objects are not equal"""
|
|
251
|
+
if not isinstance(other, ListTabletsRequest):
|
|
252
|
+
return True
|
|
253
|
+
|
|
254
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
graph
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: common-version
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import pprint
|
|
15
|
+
import re # noqa: F401
|
|
16
|
+
|
|
17
|
+
import six
|
|
18
|
+
|
|
19
|
+
from volcenginesdkcore.configuration import Configuration
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class ListTabletsResponse(object):
|
|
23
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
24
|
+
|
|
25
|
+
Do not edit the class manually.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
"""
|
|
29
|
+
Attributes:
|
|
30
|
+
swagger_types (dict): The key is attribute name
|
|
31
|
+
and the value is attribute type.
|
|
32
|
+
attribute_map (dict): The key is attribute name
|
|
33
|
+
and the value is json key in definition.
|
|
34
|
+
"""
|
|
35
|
+
swagger_types = {
|
|
36
|
+
'tablet_infos': 'list[TabletInfoForListTabletsOutput]'
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
attribute_map = {
|
|
40
|
+
'tablet_infos': 'TabletInfos'
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
def __init__(self, tablet_infos=None, _configuration=None): # noqa: E501
|
|
44
|
+
"""ListTabletsResponse - a model defined in Swagger""" # noqa: E501
|
|
45
|
+
if _configuration is None:
|
|
46
|
+
_configuration = Configuration()
|
|
47
|
+
self._configuration = _configuration
|
|
48
|
+
|
|
49
|
+
self._tablet_infos = None
|
|
50
|
+
self.discriminator = None
|
|
51
|
+
|
|
52
|
+
if tablet_infos is not None:
|
|
53
|
+
self.tablet_infos = tablet_infos
|
|
54
|
+
|
|
55
|
+
@property
|
|
56
|
+
def tablet_infos(self):
|
|
57
|
+
"""Gets the tablet_infos of this ListTabletsResponse. # noqa: E501
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
:return: The tablet_infos of this ListTabletsResponse. # noqa: E501
|
|
61
|
+
:rtype: list[TabletInfoForListTabletsOutput]
|
|
62
|
+
"""
|
|
63
|
+
return self._tablet_infos
|
|
64
|
+
|
|
65
|
+
@tablet_infos.setter
|
|
66
|
+
def tablet_infos(self, tablet_infos):
|
|
67
|
+
"""Sets the tablet_infos of this ListTabletsResponse.
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
:param tablet_infos: The tablet_infos of this ListTabletsResponse. # noqa: E501
|
|
71
|
+
:type: list[TabletInfoForListTabletsOutput]
|
|
72
|
+
"""
|
|
73
|
+
|
|
74
|
+
self._tablet_infos = tablet_infos
|
|
75
|
+
|
|
76
|
+
def to_dict(self):
|
|
77
|
+
"""Returns the model properties as a dict"""
|
|
78
|
+
result = {}
|
|
79
|
+
|
|
80
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
81
|
+
value = getattr(self, attr)
|
|
82
|
+
if isinstance(value, list):
|
|
83
|
+
result[attr] = list(map(
|
|
84
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
85
|
+
value
|
|
86
|
+
))
|
|
87
|
+
elif hasattr(value, "to_dict"):
|
|
88
|
+
result[attr] = value.to_dict()
|
|
89
|
+
elif isinstance(value, dict):
|
|
90
|
+
result[attr] = dict(map(
|
|
91
|
+
lambda item: (item[0], item[1].to_dict())
|
|
92
|
+
if hasattr(item[1], "to_dict") else item,
|
|
93
|
+
value.items()
|
|
94
|
+
))
|
|
95
|
+
else:
|
|
96
|
+
result[attr] = value
|
|
97
|
+
if issubclass(ListTabletsResponse, dict):
|
|
98
|
+
for key, value in self.items():
|
|
99
|
+
result[key] = value
|
|
100
|
+
|
|
101
|
+
return result
|
|
102
|
+
|
|
103
|
+
def to_str(self):
|
|
104
|
+
"""Returns the string representation of the model"""
|
|
105
|
+
return pprint.pformat(self.to_dict())
|
|
106
|
+
|
|
107
|
+
def __repr__(self):
|
|
108
|
+
"""For `print` and `pprint`"""
|
|
109
|
+
return self.to_str()
|
|
110
|
+
|
|
111
|
+
def __eq__(self, other):
|
|
112
|
+
"""Returns true if both objects are equal"""
|
|
113
|
+
if not isinstance(other, ListTabletsResponse):
|
|
114
|
+
return False
|
|
115
|
+
|
|
116
|
+
return self.to_dict() == other.to_dict()
|
|
117
|
+
|
|
118
|
+
def __ne__(self, other):
|
|
119
|
+
"""Returns true if both objects are not equal"""
|
|
120
|
+
if not isinstance(other, ListTabletsResponse):
|
|
121
|
+
return True
|
|
122
|
+
|
|
123
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
graph
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: common-version
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import pprint
|
|
15
|
+
import re # noqa: F401
|
|
16
|
+
|
|
17
|
+
import six
|
|
18
|
+
|
|
19
|
+
from volcenginesdkcore.configuration import Configuration
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class MigrateTabletReplicaRequest(object):
|
|
23
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
24
|
+
|
|
25
|
+
Do not edit the class manually.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
"""
|
|
29
|
+
Attributes:
|
|
30
|
+
swagger_types (dict): The key is attribute name
|
|
31
|
+
and the value is attribute type.
|
|
32
|
+
attribute_map (dict): The key is attribute name
|
|
33
|
+
and the value is json key in definition.
|
|
34
|
+
"""
|
|
35
|
+
swagger_types = {
|
|
36
|
+
'instance_id': 'str',
|
|
37
|
+
'region': 'str',
|
|
38
|
+
'replica_id': 'int',
|
|
39
|
+
'table_name': 'str',
|
|
40
|
+
'tablet_id': 'int',
|
|
41
|
+
'target_server_addr': 'str'
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
attribute_map = {
|
|
45
|
+
'instance_id': 'InstanceId',
|
|
46
|
+
'region': 'Region',
|
|
47
|
+
'replica_id': 'ReplicaId',
|
|
48
|
+
'table_name': 'TableName',
|
|
49
|
+
'tablet_id': 'TabletId',
|
|
50
|
+
'target_server_addr': 'TargetServerAddr'
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
def __init__(self, instance_id=None, region=None, replica_id=None, table_name=None, tablet_id=None, target_server_addr=None, _configuration=None): # noqa: E501
|
|
54
|
+
"""MigrateTabletReplicaRequest - a model defined in Swagger""" # noqa: E501
|
|
55
|
+
if _configuration is None:
|
|
56
|
+
_configuration = Configuration()
|
|
57
|
+
self._configuration = _configuration
|
|
58
|
+
|
|
59
|
+
self._instance_id = None
|
|
60
|
+
self._region = None
|
|
61
|
+
self._replica_id = None
|
|
62
|
+
self._table_name = None
|
|
63
|
+
self._tablet_id = None
|
|
64
|
+
self._target_server_addr = None
|
|
65
|
+
self.discriminator = None
|
|
66
|
+
|
|
67
|
+
self.instance_id = instance_id
|
|
68
|
+
if region is not None:
|
|
69
|
+
self.region = region
|
|
70
|
+
self.replica_id = replica_id
|
|
71
|
+
self.table_name = table_name
|
|
72
|
+
self.tablet_id = tablet_id
|
|
73
|
+
if target_server_addr is not None:
|
|
74
|
+
self.target_server_addr = target_server_addr
|
|
75
|
+
|
|
76
|
+
@property
|
|
77
|
+
def instance_id(self):
|
|
78
|
+
"""Gets the instance_id of this MigrateTabletReplicaRequest. # noqa: E501
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
:return: The instance_id of this MigrateTabletReplicaRequest. # noqa: E501
|
|
82
|
+
:rtype: str
|
|
83
|
+
"""
|
|
84
|
+
return self._instance_id
|
|
85
|
+
|
|
86
|
+
@instance_id.setter
|
|
87
|
+
def instance_id(self, instance_id):
|
|
88
|
+
"""Sets the instance_id of this MigrateTabletReplicaRequest.
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
:param instance_id: The instance_id of this MigrateTabletReplicaRequest. # noqa: E501
|
|
92
|
+
:type: str
|
|
93
|
+
"""
|
|
94
|
+
if self._configuration.client_side_validation and instance_id is None:
|
|
95
|
+
raise ValueError("Invalid value for `instance_id`, must not be `None`") # noqa: E501
|
|
96
|
+
|
|
97
|
+
self._instance_id = instance_id
|
|
98
|
+
|
|
99
|
+
@property
|
|
100
|
+
def region(self):
|
|
101
|
+
"""Gets the region of this MigrateTabletReplicaRequest. # noqa: E501
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
:return: The region of this MigrateTabletReplicaRequest. # noqa: E501
|
|
105
|
+
:rtype: str
|
|
106
|
+
"""
|
|
107
|
+
return self._region
|
|
108
|
+
|
|
109
|
+
@region.setter
|
|
110
|
+
def region(self, region):
|
|
111
|
+
"""Sets the region of this MigrateTabletReplicaRequest.
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
:param region: The region of this MigrateTabletReplicaRequest. # noqa: E501
|
|
115
|
+
:type: str
|
|
116
|
+
"""
|
|
117
|
+
|
|
118
|
+
self._region = region
|
|
119
|
+
|
|
120
|
+
@property
|
|
121
|
+
def replica_id(self):
|
|
122
|
+
"""Gets the replica_id of this MigrateTabletReplicaRequest. # noqa: E501
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
:return: The replica_id of this MigrateTabletReplicaRequest. # noqa: E501
|
|
126
|
+
:rtype: int
|
|
127
|
+
"""
|
|
128
|
+
return self._replica_id
|
|
129
|
+
|
|
130
|
+
@replica_id.setter
|
|
131
|
+
def replica_id(self, replica_id):
|
|
132
|
+
"""Sets the replica_id of this MigrateTabletReplicaRequest.
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
:param replica_id: The replica_id of this MigrateTabletReplicaRequest. # noqa: E501
|
|
136
|
+
:type: int
|
|
137
|
+
"""
|
|
138
|
+
if self._configuration.client_side_validation and replica_id is None:
|
|
139
|
+
raise ValueError("Invalid value for `replica_id`, must not be `None`") # noqa: E501
|
|
140
|
+
|
|
141
|
+
self._replica_id = replica_id
|
|
142
|
+
|
|
143
|
+
@property
|
|
144
|
+
def table_name(self):
|
|
145
|
+
"""Gets the table_name of this MigrateTabletReplicaRequest. # noqa: E501
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
:return: The table_name of this MigrateTabletReplicaRequest. # noqa: E501
|
|
149
|
+
:rtype: str
|
|
150
|
+
"""
|
|
151
|
+
return self._table_name
|
|
152
|
+
|
|
153
|
+
@table_name.setter
|
|
154
|
+
def table_name(self, table_name):
|
|
155
|
+
"""Sets the table_name of this MigrateTabletReplicaRequest.
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
:param table_name: The table_name of this MigrateTabletReplicaRequest. # noqa: E501
|
|
159
|
+
:type: str
|
|
160
|
+
"""
|
|
161
|
+
if self._configuration.client_side_validation and table_name is None:
|
|
162
|
+
raise ValueError("Invalid value for `table_name`, must not be `None`") # noqa: E501
|
|
163
|
+
|
|
164
|
+
self._table_name = table_name
|
|
165
|
+
|
|
166
|
+
@property
|
|
167
|
+
def tablet_id(self):
|
|
168
|
+
"""Gets the tablet_id of this MigrateTabletReplicaRequest. # noqa: E501
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
:return: The tablet_id of this MigrateTabletReplicaRequest. # noqa: E501
|
|
172
|
+
:rtype: int
|
|
173
|
+
"""
|
|
174
|
+
return self._tablet_id
|
|
175
|
+
|
|
176
|
+
@tablet_id.setter
|
|
177
|
+
def tablet_id(self, tablet_id):
|
|
178
|
+
"""Sets the tablet_id of this MigrateTabletReplicaRequest.
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
:param tablet_id: The tablet_id of this MigrateTabletReplicaRequest. # noqa: E501
|
|
182
|
+
:type: int
|
|
183
|
+
"""
|
|
184
|
+
if self._configuration.client_side_validation and tablet_id is None:
|
|
185
|
+
raise ValueError("Invalid value for `tablet_id`, must not be `None`") # noqa: E501
|
|
186
|
+
|
|
187
|
+
self._tablet_id = tablet_id
|
|
188
|
+
|
|
189
|
+
@property
|
|
190
|
+
def target_server_addr(self):
|
|
191
|
+
"""Gets the target_server_addr of this MigrateTabletReplicaRequest. # noqa: E501
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
:return: The target_server_addr of this MigrateTabletReplicaRequest. # noqa: E501
|
|
195
|
+
:rtype: str
|
|
196
|
+
"""
|
|
197
|
+
return self._target_server_addr
|
|
198
|
+
|
|
199
|
+
@target_server_addr.setter
|
|
200
|
+
def target_server_addr(self, target_server_addr):
|
|
201
|
+
"""Sets the target_server_addr of this MigrateTabletReplicaRequest.
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
:param target_server_addr: The target_server_addr of this MigrateTabletReplicaRequest. # noqa: E501
|
|
205
|
+
:type: str
|
|
206
|
+
"""
|
|
207
|
+
|
|
208
|
+
self._target_server_addr = target_server_addr
|
|
209
|
+
|
|
210
|
+
def to_dict(self):
|
|
211
|
+
"""Returns the model properties as a dict"""
|
|
212
|
+
result = {}
|
|
213
|
+
|
|
214
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
215
|
+
value = getattr(self, attr)
|
|
216
|
+
if isinstance(value, list):
|
|
217
|
+
result[attr] = list(map(
|
|
218
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
219
|
+
value
|
|
220
|
+
))
|
|
221
|
+
elif hasattr(value, "to_dict"):
|
|
222
|
+
result[attr] = value.to_dict()
|
|
223
|
+
elif isinstance(value, dict):
|
|
224
|
+
result[attr] = dict(map(
|
|
225
|
+
lambda item: (item[0], item[1].to_dict())
|
|
226
|
+
if hasattr(item[1], "to_dict") else item,
|
|
227
|
+
value.items()
|
|
228
|
+
))
|
|
229
|
+
else:
|
|
230
|
+
result[attr] = value
|
|
231
|
+
if issubclass(MigrateTabletReplicaRequest, dict):
|
|
232
|
+
for key, value in self.items():
|
|
233
|
+
result[key] = value
|
|
234
|
+
|
|
235
|
+
return result
|
|
236
|
+
|
|
237
|
+
def to_str(self):
|
|
238
|
+
"""Returns the string representation of the model"""
|
|
239
|
+
return pprint.pformat(self.to_dict())
|
|
240
|
+
|
|
241
|
+
def __repr__(self):
|
|
242
|
+
"""For `print` and `pprint`"""
|
|
243
|
+
return self.to_str()
|
|
244
|
+
|
|
245
|
+
def __eq__(self, other):
|
|
246
|
+
"""Returns true if both objects are equal"""
|
|
247
|
+
if not isinstance(other, MigrateTabletReplicaRequest):
|
|
248
|
+
return False
|
|
249
|
+
|
|
250
|
+
return self.to_dict() == other.to_dict()
|
|
251
|
+
|
|
252
|
+
def __ne__(self, other):
|
|
253
|
+
"""Returns true if both objects are not equal"""
|
|
254
|
+
if not isinstance(other, MigrateTabletReplicaRequest):
|
|
255
|
+
return True
|
|
256
|
+
|
|
257
|
+
return self.to_dict() != other.to_dict()
|