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,149 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
dbw
|
|
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 ListDatabasesResponse(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
|
+
'items': 'list[ItemForListDatabasesOutput]',
|
|
37
|
+
'total': 'int'
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
attribute_map = {
|
|
41
|
+
'items': 'Items',
|
|
42
|
+
'total': 'Total'
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
def __init__(self, items=None, total=None, _configuration=None): # noqa: E501
|
|
46
|
+
"""ListDatabasesResponse - a model defined in Swagger""" # noqa: E501
|
|
47
|
+
if _configuration is None:
|
|
48
|
+
_configuration = Configuration()
|
|
49
|
+
self._configuration = _configuration
|
|
50
|
+
|
|
51
|
+
self._items = None
|
|
52
|
+
self._total = None
|
|
53
|
+
self.discriminator = None
|
|
54
|
+
|
|
55
|
+
if items is not None:
|
|
56
|
+
self.items = items
|
|
57
|
+
if total is not None:
|
|
58
|
+
self.total = total
|
|
59
|
+
|
|
60
|
+
@property
|
|
61
|
+
def items(self):
|
|
62
|
+
"""Gets the items of this ListDatabasesResponse. # noqa: E501
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
:return: The items of this ListDatabasesResponse. # noqa: E501
|
|
66
|
+
:rtype: list[ItemForListDatabasesOutput]
|
|
67
|
+
"""
|
|
68
|
+
return self._items
|
|
69
|
+
|
|
70
|
+
@items.setter
|
|
71
|
+
def items(self, items):
|
|
72
|
+
"""Sets the items of this ListDatabasesResponse.
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
:param items: The items of this ListDatabasesResponse. # noqa: E501
|
|
76
|
+
:type: list[ItemForListDatabasesOutput]
|
|
77
|
+
"""
|
|
78
|
+
|
|
79
|
+
self._items = items
|
|
80
|
+
|
|
81
|
+
@property
|
|
82
|
+
def total(self):
|
|
83
|
+
"""Gets the total of this ListDatabasesResponse. # noqa: E501
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
:return: The total of this ListDatabasesResponse. # noqa: E501
|
|
87
|
+
:rtype: int
|
|
88
|
+
"""
|
|
89
|
+
return self._total
|
|
90
|
+
|
|
91
|
+
@total.setter
|
|
92
|
+
def total(self, total):
|
|
93
|
+
"""Sets the total of this ListDatabasesResponse.
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
:param total: The total of this ListDatabasesResponse. # noqa: E501
|
|
97
|
+
:type: int
|
|
98
|
+
"""
|
|
99
|
+
|
|
100
|
+
self._total = total
|
|
101
|
+
|
|
102
|
+
def to_dict(self):
|
|
103
|
+
"""Returns the model properties as a dict"""
|
|
104
|
+
result = {}
|
|
105
|
+
|
|
106
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
107
|
+
value = getattr(self, attr)
|
|
108
|
+
if isinstance(value, list):
|
|
109
|
+
result[attr] = list(map(
|
|
110
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
111
|
+
value
|
|
112
|
+
))
|
|
113
|
+
elif hasattr(value, "to_dict"):
|
|
114
|
+
result[attr] = value.to_dict()
|
|
115
|
+
elif isinstance(value, dict):
|
|
116
|
+
result[attr] = dict(map(
|
|
117
|
+
lambda item: (item[0], item[1].to_dict())
|
|
118
|
+
if hasattr(item[1], "to_dict") else item,
|
|
119
|
+
value.items()
|
|
120
|
+
))
|
|
121
|
+
else:
|
|
122
|
+
result[attr] = value
|
|
123
|
+
if issubclass(ListDatabasesResponse, dict):
|
|
124
|
+
for key, value in self.items():
|
|
125
|
+
result[key] = value
|
|
126
|
+
|
|
127
|
+
return result
|
|
128
|
+
|
|
129
|
+
def to_str(self):
|
|
130
|
+
"""Returns the string representation of the model"""
|
|
131
|
+
return pprint.pformat(self.to_dict())
|
|
132
|
+
|
|
133
|
+
def __repr__(self):
|
|
134
|
+
"""For `print` and `pprint`"""
|
|
135
|
+
return self.to_str()
|
|
136
|
+
|
|
137
|
+
def __eq__(self, other):
|
|
138
|
+
"""Returns true if both objects are equal"""
|
|
139
|
+
if not isinstance(other, ListDatabasesResponse):
|
|
140
|
+
return False
|
|
141
|
+
|
|
142
|
+
return self.to_dict() == other.to_dict()
|
|
143
|
+
|
|
144
|
+
def __ne__(self, other):
|
|
145
|
+
"""Returns true if both objects are not equal"""
|
|
146
|
+
if not isinstance(other, ListDatabasesResponse):
|
|
147
|
+
return True
|
|
148
|
+
|
|
149
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
dbw
|
|
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 ListTablesRequest(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
|
+
'database': 'str',
|
|
37
|
+
'instance_id': 'str',
|
|
38
|
+
'instance_type': 'str',
|
|
39
|
+
'page_number': 'int',
|
|
40
|
+
'page_size': 'int'
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
attribute_map = {
|
|
44
|
+
'database': 'Database',
|
|
45
|
+
'instance_id': 'InstanceID',
|
|
46
|
+
'instance_type': 'InstanceType',
|
|
47
|
+
'page_number': 'PageNumber',
|
|
48
|
+
'page_size': 'PageSize'
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
def __init__(self, database=None, instance_id=None, instance_type=None, page_number=None, page_size=None, _configuration=None): # noqa: E501
|
|
52
|
+
"""ListTablesRequest - a model defined in Swagger""" # noqa: E501
|
|
53
|
+
if _configuration is None:
|
|
54
|
+
_configuration = Configuration()
|
|
55
|
+
self._configuration = _configuration
|
|
56
|
+
|
|
57
|
+
self._database = None
|
|
58
|
+
self._instance_id = None
|
|
59
|
+
self._instance_type = None
|
|
60
|
+
self._page_number = None
|
|
61
|
+
self._page_size = None
|
|
62
|
+
self.discriminator = None
|
|
63
|
+
|
|
64
|
+
self.database = database
|
|
65
|
+
self.instance_id = instance_id
|
|
66
|
+
self.instance_type = instance_type
|
|
67
|
+
if page_number is not None:
|
|
68
|
+
self.page_number = page_number
|
|
69
|
+
if page_size is not None:
|
|
70
|
+
self.page_size = page_size
|
|
71
|
+
|
|
72
|
+
@property
|
|
73
|
+
def database(self):
|
|
74
|
+
"""Gets the database of this ListTablesRequest. # noqa: E501
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
:return: The database of this ListTablesRequest. # noqa: E501
|
|
78
|
+
:rtype: str
|
|
79
|
+
"""
|
|
80
|
+
return self._database
|
|
81
|
+
|
|
82
|
+
@database.setter
|
|
83
|
+
def database(self, database):
|
|
84
|
+
"""Sets the database of this ListTablesRequest.
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
:param database: The database of this ListTablesRequest. # noqa: E501
|
|
88
|
+
:type: str
|
|
89
|
+
"""
|
|
90
|
+
if self._configuration.client_side_validation and database is None:
|
|
91
|
+
raise ValueError("Invalid value for `database`, must not be `None`") # noqa: E501
|
|
92
|
+
|
|
93
|
+
self._database = database
|
|
94
|
+
|
|
95
|
+
@property
|
|
96
|
+
def instance_id(self):
|
|
97
|
+
"""Gets the instance_id of this ListTablesRequest. # noqa: E501
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
:return: The instance_id of this ListTablesRequest. # noqa: E501
|
|
101
|
+
:rtype: str
|
|
102
|
+
"""
|
|
103
|
+
return self._instance_id
|
|
104
|
+
|
|
105
|
+
@instance_id.setter
|
|
106
|
+
def instance_id(self, instance_id):
|
|
107
|
+
"""Sets the instance_id of this ListTablesRequest.
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
:param instance_id: The instance_id of this ListTablesRequest. # noqa: E501
|
|
111
|
+
:type: str
|
|
112
|
+
"""
|
|
113
|
+
if self._configuration.client_side_validation and instance_id is None:
|
|
114
|
+
raise ValueError("Invalid value for `instance_id`, must not be `None`") # noqa: E501
|
|
115
|
+
|
|
116
|
+
self._instance_id = instance_id
|
|
117
|
+
|
|
118
|
+
@property
|
|
119
|
+
def instance_type(self):
|
|
120
|
+
"""Gets the instance_type of this ListTablesRequest. # noqa: E501
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
:return: The instance_type of this ListTablesRequest. # noqa: E501
|
|
124
|
+
:rtype: str
|
|
125
|
+
"""
|
|
126
|
+
return self._instance_type
|
|
127
|
+
|
|
128
|
+
@instance_type.setter
|
|
129
|
+
def instance_type(self, instance_type):
|
|
130
|
+
"""Sets the instance_type of this ListTablesRequest.
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
:param instance_type: The instance_type of this ListTablesRequest. # noqa: E501
|
|
134
|
+
:type: str
|
|
135
|
+
"""
|
|
136
|
+
if self._configuration.client_side_validation and instance_type is None:
|
|
137
|
+
raise ValueError("Invalid value for `instance_type`, must not be `None`") # noqa: E501
|
|
138
|
+
|
|
139
|
+
self._instance_type = instance_type
|
|
140
|
+
|
|
141
|
+
@property
|
|
142
|
+
def page_number(self):
|
|
143
|
+
"""Gets the page_number of this ListTablesRequest. # noqa: E501
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
:return: The page_number of this ListTablesRequest. # noqa: E501
|
|
147
|
+
:rtype: int
|
|
148
|
+
"""
|
|
149
|
+
return self._page_number
|
|
150
|
+
|
|
151
|
+
@page_number.setter
|
|
152
|
+
def page_number(self, page_number):
|
|
153
|
+
"""Sets the page_number of this ListTablesRequest.
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
:param page_number: The page_number of this ListTablesRequest. # noqa: E501
|
|
157
|
+
:type: int
|
|
158
|
+
"""
|
|
159
|
+
|
|
160
|
+
self._page_number = page_number
|
|
161
|
+
|
|
162
|
+
@property
|
|
163
|
+
def page_size(self):
|
|
164
|
+
"""Gets the page_size of this ListTablesRequest. # noqa: E501
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
:return: The page_size of this ListTablesRequest. # noqa: E501
|
|
168
|
+
:rtype: int
|
|
169
|
+
"""
|
|
170
|
+
return self._page_size
|
|
171
|
+
|
|
172
|
+
@page_size.setter
|
|
173
|
+
def page_size(self, page_size):
|
|
174
|
+
"""Sets the page_size of this ListTablesRequest.
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
:param page_size: The page_size of this ListTablesRequest. # noqa: E501
|
|
178
|
+
:type: int
|
|
179
|
+
"""
|
|
180
|
+
|
|
181
|
+
self._page_size = page_size
|
|
182
|
+
|
|
183
|
+
def to_dict(self):
|
|
184
|
+
"""Returns the model properties as a dict"""
|
|
185
|
+
result = {}
|
|
186
|
+
|
|
187
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
188
|
+
value = getattr(self, attr)
|
|
189
|
+
if isinstance(value, list):
|
|
190
|
+
result[attr] = list(map(
|
|
191
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
192
|
+
value
|
|
193
|
+
))
|
|
194
|
+
elif hasattr(value, "to_dict"):
|
|
195
|
+
result[attr] = value.to_dict()
|
|
196
|
+
elif isinstance(value, dict):
|
|
197
|
+
result[attr] = dict(map(
|
|
198
|
+
lambda item: (item[0], item[1].to_dict())
|
|
199
|
+
if hasattr(item[1], "to_dict") else item,
|
|
200
|
+
value.items()
|
|
201
|
+
))
|
|
202
|
+
else:
|
|
203
|
+
result[attr] = value
|
|
204
|
+
if issubclass(ListTablesRequest, dict):
|
|
205
|
+
for key, value in self.items():
|
|
206
|
+
result[key] = value
|
|
207
|
+
|
|
208
|
+
return result
|
|
209
|
+
|
|
210
|
+
def to_str(self):
|
|
211
|
+
"""Returns the string representation of the model"""
|
|
212
|
+
return pprint.pformat(self.to_dict())
|
|
213
|
+
|
|
214
|
+
def __repr__(self):
|
|
215
|
+
"""For `print` and `pprint`"""
|
|
216
|
+
return self.to_str()
|
|
217
|
+
|
|
218
|
+
def __eq__(self, other):
|
|
219
|
+
"""Returns true if both objects are equal"""
|
|
220
|
+
if not isinstance(other, ListTablesRequest):
|
|
221
|
+
return False
|
|
222
|
+
|
|
223
|
+
return self.to_dict() == other.to_dict()
|
|
224
|
+
|
|
225
|
+
def __ne__(self, other):
|
|
226
|
+
"""Returns true if both objects are not equal"""
|
|
227
|
+
if not isinstance(other, ListTablesRequest):
|
|
228
|
+
return True
|
|
229
|
+
|
|
230
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
dbw
|
|
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 ListTablesResponse(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
|
+
'items': 'list[str]',
|
|
37
|
+
'total': 'int'
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
attribute_map = {
|
|
41
|
+
'items': 'Items',
|
|
42
|
+
'total': 'Total'
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
def __init__(self, items=None, total=None, _configuration=None): # noqa: E501
|
|
46
|
+
"""ListTablesResponse - a model defined in Swagger""" # noqa: E501
|
|
47
|
+
if _configuration is None:
|
|
48
|
+
_configuration = Configuration()
|
|
49
|
+
self._configuration = _configuration
|
|
50
|
+
|
|
51
|
+
self._items = None
|
|
52
|
+
self._total = None
|
|
53
|
+
self.discriminator = None
|
|
54
|
+
|
|
55
|
+
if items is not None:
|
|
56
|
+
self.items = items
|
|
57
|
+
if total is not None:
|
|
58
|
+
self.total = total
|
|
59
|
+
|
|
60
|
+
@property
|
|
61
|
+
def items(self):
|
|
62
|
+
"""Gets the items of this ListTablesResponse. # noqa: E501
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
:return: The items of this ListTablesResponse. # noqa: E501
|
|
66
|
+
:rtype: list[str]
|
|
67
|
+
"""
|
|
68
|
+
return self._items
|
|
69
|
+
|
|
70
|
+
@items.setter
|
|
71
|
+
def items(self, items):
|
|
72
|
+
"""Sets the items of this ListTablesResponse.
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
:param items: The items of this ListTablesResponse. # noqa: E501
|
|
76
|
+
:type: list[str]
|
|
77
|
+
"""
|
|
78
|
+
|
|
79
|
+
self._items = items
|
|
80
|
+
|
|
81
|
+
@property
|
|
82
|
+
def total(self):
|
|
83
|
+
"""Gets the total of this ListTablesResponse. # noqa: E501
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
:return: The total of this ListTablesResponse. # noqa: E501
|
|
87
|
+
:rtype: int
|
|
88
|
+
"""
|
|
89
|
+
return self._total
|
|
90
|
+
|
|
91
|
+
@total.setter
|
|
92
|
+
def total(self, total):
|
|
93
|
+
"""Sets the total of this ListTablesResponse.
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
:param total: The total of this ListTablesResponse. # noqa: E501
|
|
97
|
+
:type: int
|
|
98
|
+
"""
|
|
99
|
+
|
|
100
|
+
self._total = total
|
|
101
|
+
|
|
102
|
+
def to_dict(self):
|
|
103
|
+
"""Returns the model properties as a dict"""
|
|
104
|
+
result = {}
|
|
105
|
+
|
|
106
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
107
|
+
value = getattr(self, attr)
|
|
108
|
+
if isinstance(value, list):
|
|
109
|
+
result[attr] = list(map(
|
|
110
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
111
|
+
value
|
|
112
|
+
))
|
|
113
|
+
elif hasattr(value, "to_dict"):
|
|
114
|
+
result[attr] = value.to_dict()
|
|
115
|
+
elif isinstance(value, dict):
|
|
116
|
+
result[attr] = dict(map(
|
|
117
|
+
lambda item: (item[0], item[1].to_dict())
|
|
118
|
+
if hasattr(item[1], "to_dict") else item,
|
|
119
|
+
value.items()
|
|
120
|
+
))
|
|
121
|
+
else:
|
|
122
|
+
result[attr] = value
|
|
123
|
+
if issubclass(ListTablesResponse, dict):
|
|
124
|
+
for key, value in self.items():
|
|
125
|
+
result[key] = value
|
|
126
|
+
|
|
127
|
+
return result
|
|
128
|
+
|
|
129
|
+
def to_str(self):
|
|
130
|
+
"""Returns the string representation of the model"""
|
|
131
|
+
return pprint.pformat(self.to_dict())
|
|
132
|
+
|
|
133
|
+
def __repr__(self):
|
|
134
|
+
"""For `print` and `pprint`"""
|
|
135
|
+
return self.to_str()
|
|
136
|
+
|
|
137
|
+
def __eq__(self, other):
|
|
138
|
+
"""Returns true if both objects are equal"""
|
|
139
|
+
if not isinstance(other, ListTablesResponse):
|
|
140
|
+
return False
|
|
141
|
+
|
|
142
|
+
return self.to_dict() == other.to_dict()
|
|
143
|
+
|
|
144
|
+
def __ne__(self, other):
|
|
145
|
+
"""Returns true if both objects are not equal"""
|
|
146
|
+
if not isinstance(other, ListTablesResponse):
|
|
147
|
+
return True
|
|
148
|
+
|
|
149
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
dbw
|
|
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 PartitionOptionsForGetTableInfoOutput(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
|
+
'is_partition_table': 'bool',
|
|
37
|
+
'partition_key': 'str',
|
|
38
|
+
'partition_method': 'str'
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
attribute_map = {
|
|
42
|
+
'is_partition_table': 'IsPartitionTable',
|
|
43
|
+
'partition_key': 'PartitionKey',
|
|
44
|
+
'partition_method': 'PartitionMethod'
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
def __init__(self, is_partition_table=None, partition_key=None, partition_method=None, _configuration=None): # noqa: E501
|
|
48
|
+
"""PartitionOptionsForGetTableInfoOutput - a model defined in Swagger""" # noqa: E501
|
|
49
|
+
if _configuration is None:
|
|
50
|
+
_configuration = Configuration()
|
|
51
|
+
self._configuration = _configuration
|
|
52
|
+
|
|
53
|
+
self._is_partition_table = None
|
|
54
|
+
self._partition_key = None
|
|
55
|
+
self._partition_method = None
|
|
56
|
+
self.discriminator = None
|
|
57
|
+
|
|
58
|
+
if is_partition_table is not None:
|
|
59
|
+
self.is_partition_table = is_partition_table
|
|
60
|
+
if partition_key is not None:
|
|
61
|
+
self.partition_key = partition_key
|
|
62
|
+
if partition_method is not None:
|
|
63
|
+
self.partition_method = partition_method
|
|
64
|
+
|
|
65
|
+
@property
|
|
66
|
+
def is_partition_table(self):
|
|
67
|
+
"""Gets the is_partition_table of this PartitionOptionsForGetTableInfoOutput. # noqa: E501
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
:return: The is_partition_table of this PartitionOptionsForGetTableInfoOutput. # noqa: E501
|
|
71
|
+
:rtype: bool
|
|
72
|
+
"""
|
|
73
|
+
return self._is_partition_table
|
|
74
|
+
|
|
75
|
+
@is_partition_table.setter
|
|
76
|
+
def is_partition_table(self, is_partition_table):
|
|
77
|
+
"""Sets the is_partition_table of this PartitionOptionsForGetTableInfoOutput.
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
:param is_partition_table: The is_partition_table of this PartitionOptionsForGetTableInfoOutput. # noqa: E501
|
|
81
|
+
:type: bool
|
|
82
|
+
"""
|
|
83
|
+
|
|
84
|
+
self._is_partition_table = is_partition_table
|
|
85
|
+
|
|
86
|
+
@property
|
|
87
|
+
def partition_key(self):
|
|
88
|
+
"""Gets the partition_key of this PartitionOptionsForGetTableInfoOutput. # noqa: E501
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
:return: The partition_key of this PartitionOptionsForGetTableInfoOutput. # noqa: E501
|
|
92
|
+
:rtype: str
|
|
93
|
+
"""
|
|
94
|
+
return self._partition_key
|
|
95
|
+
|
|
96
|
+
@partition_key.setter
|
|
97
|
+
def partition_key(self, partition_key):
|
|
98
|
+
"""Sets the partition_key of this PartitionOptionsForGetTableInfoOutput.
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
:param partition_key: The partition_key of this PartitionOptionsForGetTableInfoOutput. # noqa: E501
|
|
102
|
+
:type: str
|
|
103
|
+
"""
|
|
104
|
+
|
|
105
|
+
self._partition_key = partition_key
|
|
106
|
+
|
|
107
|
+
@property
|
|
108
|
+
def partition_method(self):
|
|
109
|
+
"""Gets the partition_method of this PartitionOptionsForGetTableInfoOutput. # noqa: E501
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
:return: The partition_method of this PartitionOptionsForGetTableInfoOutput. # noqa: E501
|
|
113
|
+
:rtype: str
|
|
114
|
+
"""
|
|
115
|
+
return self._partition_method
|
|
116
|
+
|
|
117
|
+
@partition_method.setter
|
|
118
|
+
def partition_method(self, partition_method):
|
|
119
|
+
"""Sets the partition_method of this PartitionOptionsForGetTableInfoOutput.
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
:param partition_method: The partition_method of this PartitionOptionsForGetTableInfoOutput. # noqa: E501
|
|
123
|
+
:type: str
|
|
124
|
+
"""
|
|
125
|
+
|
|
126
|
+
self._partition_method = partition_method
|
|
127
|
+
|
|
128
|
+
def to_dict(self):
|
|
129
|
+
"""Returns the model properties as a dict"""
|
|
130
|
+
result = {}
|
|
131
|
+
|
|
132
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
133
|
+
value = getattr(self, attr)
|
|
134
|
+
if isinstance(value, list):
|
|
135
|
+
result[attr] = list(map(
|
|
136
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
137
|
+
value
|
|
138
|
+
))
|
|
139
|
+
elif hasattr(value, "to_dict"):
|
|
140
|
+
result[attr] = value.to_dict()
|
|
141
|
+
elif isinstance(value, dict):
|
|
142
|
+
result[attr] = dict(map(
|
|
143
|
+
lambda item: (item[0], item[1].to_dict())
|
|
144
|
+
if hasattr(item[1], "to_dict") else item,
|
|
145
|
+
value.items()
|
|
146
|
+
))
|
|
147
|
+
else:
|
|
148
|
+
result[attr] = value
|
|
149
|
+
if issubclass(PartitionOptionsForGetTableInfoOutput, dict):
|
|
150
|
+
for key, value in self.items():
|
|
151
|
+
result[key] = value
|
|
152
|
+
|
|
153
|
+
return result
|
|
154
|
+
|
|
155
|
+
def to_str(self):
|
|
156
|
+
"""Returns the string representation of the model"""
|
|
157
|
+
return pprint.pformat(self.to_dict())
|
|
158
|
+
|
|
159
|
+
def __repr__(self):
|
|
160
|
+
"""For `print` and `pprint`"""
|
|
161
|
+
return self.to_str()
|
|
162
|
+
|
|
163
|
+
def __eq__(self, other):
|
|
164
|
+
"""Returns true if both objects are equal"""
|
|
165
|
+
if not isinstance(other, PartitionOptionsForGetTableInfoOutput):
|
|
166
|
+
return False
|
|
167
|
+
|
|
168
|
+
return self.to_dict() == other.to_dict()
|
|
169
|
+
|
|
170
|
+
def __ne__(self, other):
|
|
171
|
+
"""Returns true if both objects are not equal"""
|
|
172
|
+
if not isinstance(other, PartitionOptionsForGetTableInfoOutput):
|
|
173
|
+
return True
|
|
174
|
+
|
|
175
|
+
return self.to_dict() != other.to_dict()
|