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,201 @@
|
|
|
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 IndexForGetTableInfoOutput(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
|
+
'columns': 'list[str]',
|
|
37
|
+
'index_type': 'str',
|
|
38
|
+
'name': 'str',
|
|
39
|
+
'type': 'str'
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
attribute_map = {
|
|
43
|
+
'columns': 'Columns',
|
|
44
|
+
'index_type': 'IndexType',
|
|
45
|
+
'name': 'Name',
|
|
46
|
+
'type': 'Type'
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
def __init__(self, columns=None, index_type=None, name=None, type=None, _configuration=None): # noqa: E501
|
|
50
|
+
"""IndexForGetTableInfoOutput - a model defined in Swagger""" # noqa: E501
|
|
51
|
+
if _configuration is None:
|
|
52
|
+
_configuration = Configuration()
|
|
53
|
+
self._configuration = _configuration
|
|
54
|
+
|
|
55
|
+
self._columns = None
|
|
56
|
+
self._index_type = None
|
|
57
|
+
self._name = None
|
|
58
|
+
self._type = None
|
|
59
|
+
self.discriminator = None
|
|
60
|
+
|
|
61
|
+
if columns is not None:
|
|
62
|
+
self.columns = columns
|
|
63
|
+
if index_type is not None:
|
|
64
|
+
self.index_type = index_type
|
|
65
|
+
if name is not None:
|
|
66
|
+
self.name = name
|
|
67
|
+
if type is not None:
|
|
68
|
+
self.type = type
|
|
69
|
+
|
|
70
|
+
@property
|
|
71
|
+
def columns(self):
|
|
72
|
+
"""Gets the columns of this IndexForGetTableInfoOutput. # noqa: E501
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
:return: The columns of this IndexForGetTableInfoOutput. # noqa: E501
|
|
76
|
+
:rtype: list[str]
|
|
77
|
+
"""
|
|
78
|
+
return self._columns
|
|
79
|
+
|
|
80
|
+
@columns.setter
|
|
81
|
+
def columns(self, columns):
|
|
82
|
+
"""Sets the columns of this IndexForGetTableInfoOutput.
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
:param columns: The columns of this IndexForGetTableInfoOutput. # noqa: E501
|
|
86
|
+
:type: list[str]
|
|
87
|
+
"""
|
|
88
|
+
|
|
89
|
+
self._columns = columns
|
|
90
|
+
|
|
91
|
+
@property
|
|
92
|
+
def index_type(self):
|
|
93
|
+
"""Gets the index_type of this IndexForGetTableInfoOutput. # noqa: E501
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
:return: The index_type of this IndexForGetTableInfoOutput. # noqa: E501
|
|
97
|
+
:rtype: str
|
|
98
|
+
"""
|
|
99
|
+
return self._index_type
|
|
100
|
+
|
|
101
|
+
@index_type.setter
|
|
102
|
+
def index_type(self, index_type):
|
|
103
|
+
"""Sets the index_type of this IndexForGetTableInfoOutput.
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
:param index_type: The index_type of this IndexForGetTableInfoOutput. # noqa: E501
|
|
107
|
+
:type: str
|
|
108
|
+
"""
|
|
109
|
+
|
|
110
|
+
self._index_type = index_type
|
|
111
|
+
|
|
112
|
+
@property
|
|
113
|
+
def name(self):
|
|
114
|
+
"""Gets the name of this IndexForGetTableInfoOutput. # noqa: E501
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
:return: The name of this IndexForGetTableInfoOutput. # noqa: E501
|
|
118
|
+
:rtype: str
|
|
119
|
+
"""
|
|
120
|
+
return self._name
|
|
121
|
+
|
|
122
|
+
@name.setter
|
|
123
|
+
def name(self, name):
|
|
124
|
+
"""Sets the name of this IndexForGetTableInfoOutput.
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
:param name: The name of this IndexForGetTableInfoOutput. # noqa: E501
|
|
128
|
+
:type: str
|
|
129
|
+
"""
|
|
130
|
+
|
|
131
|
+
self._name = name
|
|
132
|
+
|
|
133
|
+
@property
|
|
134
|
+
def type(self):
|
|
135
|
+
"""Gets the type of this IndexForGetTableInfoOutput. # noqa: E501
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
:return: The type of this IndexForGetTableInfoOutput. # noqa: E501
|
|
139
|
+
:rtype: str
|
|
140
|
+
"""
|
|
141
|
+
return self._type
|
|
142
|
+
|
|
143
|
+
@type.setter
|
|
144
|
+
def type(self, type):
|
|
145
|
+
"""Sets the type of this IndexForGetTableInfoOutput.
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
:param type: The type of this IndexForGetTableInfoOutput. # noqa: E501
|
|
149
|
+
:type: str
|
|
150
|
+
"""
|
|
151
|
+
|
|
152
|
+
self._type = type
|
|
153
|
+
|
|
154
|
+
def to_dict(self):
|
|
155
|
+
"""Returns the model properties as a dict"""
|
|
156
|
+
result = {}
|
|
157
|
+
|
|
158
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
159
|
+
value = getattr(self, attr)
|
|
160
|
+
if isinstance(value, list):
|
|
161
|
+
result[attr] = list(map(
|
|
162
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
163
|
+
value
|
|
164
|
+
))
|
|
165
|
+
elif hasattr(value, "to_dict"):
|
|
166
|
+
result[attr] = value.to_dict()
|
|
167
|
+
elif isinstance(value, dict):
|
|
168
|
+
result[attr] = dict(map(
|
|
169
|
+
lambda item: (item[0], item[1].to_dict())
|
|
170
|
+
if hasattr(item[1], "to_dict") else item,
|
|
171
|
+
value.items()
|
|
172
|
+
))
|
|
173
|
+
else:
|
|
174
|
+
result[attr] = value
|
|
175
|
+
if issubclass(IndexForGetTableInfoOutput, dict):
|
|
176
|
+
for key, value in self.items():
|
|
177
|
+
result[key] = value
|
|
178
|
+
|
|
179
|
+
return result
|
|
180
|
+
|
|
181
|
+
def to_str(self):
|
|
182
|
+
"""Returns the string representation of the model"""
|
|
183
|
+
return pprint.pformat(self.to_dict())
|
|
184
|
+
|
|
185
|
+
def __repr__(self):
|
|
186
|
+
"""For `print` and `pprint`"""
|
|
187
|
+
return self.to_str()
|
|
188
|
+
|
|
189
|
+
def __eq__(self, other):
|
|
190
|
+
"""Returns true if both objects are equal"""
|
|
191
|
+
if not isinstance(other, IndexForGetTableInfoOutput):
|
|
192
|
+
return False
|
|
193
|
+
|
|
194
|
+
return self.to_dict() == other.to_dict()
|
|
195
|
+
|
|
196
|
+
def __ne__(self, other):
|
|
197
|
+
"""Returns true if both objects are not equal"""
|
|
198
|
+
if not isinstance(other, IndexForGetTableInfoOutput):
|
|
199
|
+
return True
|
|
200
|
+
|
|
201
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,279 @@
|
|
|
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 ItemForListDatabasesOutput(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
|
+
'c_type': 'str',
|
|
37
|
+
'character_set_name': 'str',
|
|
38
|
+
'collation_name': 'str',
|
|
39
|
+
'description': 'str',
|
|
40
|
+
'is_system_db': 'bool',
|
|
41
|
+
'limit': 'str',
|
|
42
|
+
'name': 'str'
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
attribute_map = {
|
|
46
|
+
'c_type': 'CType',
|
|
47
|
+
'character_set_name': 'CharacterSetName',
|
|
48
|
+
'collation_name': 'CollationName',
|
|
49
|
+
'description': 'Description',
|
|
50
|
+
'is_system_db': 'IsSystemDB',
|
|
51
|
+
'limit': 'Limit',
|
|
52
|
+
'name': 'Name'
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
def __init__(self, c_type=None, character_set_name=None, collation_name=None, description=None, is_system_db=None, limit=None, name=None, _configuration=None): # noqa: E501
|
|
56
|
+
"""ItemForListDatabasesOutput - a model defined in Swagger""" # noqa: E501
|
|
57
|
+
if _configuration is None:
|
|
58
|
+
_configuration = Configuration()
|
|
59
|
+
self._configuration = _configuration
|
|
60
|
+
|
|
61
|
+
self._c_type = None
|
|
62
|
+
self._character_set_name = None
|
|
63
|
+
self._collation_name = None
|
|
64
|
+
self._description = None
|
|
65
|
+
self._is_system_db = None
|
|
66
|
+
self._limit = None
|
|
67
|
+
self._name = None
|
|
68
|
+
self.discriminator = None
|
|
69
|
+
|
|
70
|
+
if c_type is not None:
|
|
71
|
+
self.c_type = c_type
|
|
72
|
+
if character_set_name is not None:
|
|
73
|
+
self.character_set_name = character_set_name
|
|
74
|
+
if collation_name is not None:
|
|
75
|
+
self.collation_name = collation_name
|
|
76
|
+
if description is not None:
|
|
77
|
+
self.description = description
|
|
78
|
+
if is_system_db is not None:
|
|
79
|
+
self.is_system_db = is_system_db
|
|
80
|
+
if limit is not None:
|
|
81
|
+
self.limit = limit
|
|
82
|
+
if name is not None:
|
|
83
|
+
self.name = name
|
|
84
|
+
|
|
85
|
+
@property
|
|
86
|
+
def c_type(self):
|
|
87
|
+
"""Gets the c_type of this ItemForListDatabasesOutput. # noqa: E501
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
:return: The c_type of this ItemForListDatabasesOutput. # noqa: E501
|
|
91
|
+
:rtype: str
|
|
92
|
+
"""
|
|
93
|
+
return self._c_type
|
|
94
|
+
|
|
95
|
+
@c_type.setter
|
|
96
|
+
def c_type(self, c_type):
|
|
97
|
+
"""Sets the c_type of this ItemForListDatabasesOutput.
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
:param c_type: The c_type of this ItemForListDatabasesOutput. # noqa: E501
|
|
101
|
+
:type: str
|
|
102
|
+
"""
|
|
103
|
+
|
|
104
|
+
self._c_type = c_type
|
|
105
|
+
|
|
106
|
+
@property
|
|
107
|
+
def character_set_name(self):
|
|
108
|
+
"""Gets the character_set_name of this ItemForListDatabasesOutput. # noqa: E501
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
:return: The character_set_name of this ItemForListDatabasesOutput. # noqa: E501
|
|
112
|
+
:rtype: str
|
|
113
|
+
"""
|
|
114
|
+
return self._character_set_name
|
|
115
|
+
|
|
116
|
+
@character_set_name.setter
|
|
117
|
+
def character_set_name(self, character_set_name):
|
|
118
|
+
"""Sets the character_set_name of this ItemForListDatabasesOutput.
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
:param character_set_name: The character_set_name of this ItemForListDatabasesOutput. # noqa: E501
|
|
122
|
+
:type: str
|
|
123
|
+
"""
|
|
124
|
+
|
|
125
|
+
self._character_set_name = character_set_name
|
|
126
|
+
|
|
127
|
+
@property
|
|
128
|
+
def collation_name(self):
|
|
129
|
+
"""Gets the collation_name of this ItemForListDatabasesOutput. # noqa: E501
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
:return: The collation_name of this ItemForListDatabasesOutput. # noqa: E501
|
|
133
|
+
:rtype: str
|
|
134
|
+
"""
|
|
135
|
+
return self._collation_name
|
|
136
|
+
|
|
137
|
+
@collation_name.setter
|
|
138
|
+
def collation_name(self, collation_name):
|
|
139
|
+
"""Sets the collation_name of this ItemForListDatabasesOutput.
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
:param collation_name: The collation_name of this ItemForListDatabasesOutput. # noqa: E501
|
|
143
|
+
:type: str
|
|
144
|
+
"""
|
|
145
|
+
|
|
146
|
+
self._collation_name = collation_name
|
|
147
|
+
|
|
148
|
+
@property
|
|
149
|
+
def description(self):
|
|
150
|
+
"""Gets the description of this ItemForListDatabasesOutput. # noqa: E501
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
:return: The description of this ItemForListDatabasesOutput. # noqa: E501
|
|
154
|
+
:rtype: str
|
|
155
|
+
"""
|
|
156
|
+
return self._description
|
|
157
|
+
|
|
158
|
+
@description.setter
|
|
159
|
+
def description(self, description):
|
|
160
|
+
"""Sets the description of this ItemForListDatabasesOutput.
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
:param description: The description of this ItemForListDatabasesOutput. # noqa: E501
|
|
164
|
+
:type: str
|
|
165
|
+
"""
|
|
166
|
+
|
|
167
|
+
self._description = description
|
|
168
|
+
|
|
169
|
+
@property
|
|
170
|
+
def is_system_db(self):
|
|
171
|
+
"""Gets the is_system_db of this ItemForListDatabasesOutput. # noqa: E501
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
:return: The is_system_db of this ItemForListDatabasesOutput. # noqa: E501
|
|
175
|
+
:rtype: bool
|
|
176
|
+
"""
|
|
177
|
+
return self._is_system_db
|
|
178
|
+
|
|
179
|
+
@is_system_db.setter
|
|
180
|
+
def is_system_db(self, is_system_db):
|
|
181
|
+
"""Sets the is_system_db of this ItemForListDatabasesOutput.
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
:param is_system_db: The is_system_db of this ItemForListDatabasesOutput. # noqa: E501
|
|
185
|
+
:type: bool
|
|
186
|
+
"""
|
|
187
|
+
|
|
188
|
+
self._is_system_db = is_system_db
|
|
189
|
+
|
|
190
|
+
@property
|
|
191
|
+
def limit(self):
|
|
192
|
+
"""Gets the limit of this ItemForListDatabasesOutput. # noqa: E501
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
:return: The limit of this ItemForListDatabasesOutput. # noqa: E501
|
|
196
|
+
:rtype: str
|
|
197
|
+
"""
|
|
198
|
+
return self._limit
|
|
199
|
+
|
|
200
|
+
@limit.setter
|
|
201
|
+
def limit(self, limit):
|
|
202
|
+
"""Sets the limit of this ItemForListDatabasesOutput.
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
:param limit: The limit of this ItemForListDatabasesOutput. # noqa: E501
|
|
206
|
+
:type: str
|
|
207
|
+
"""
|
|
208
|
+
|
|
209
|
+
self._limit = limit
|
|
210
|
+
|
|
211
|
+
@property
|
|
212
|
+
def name(self):
|
|
213
|
+
"""Gets the name of this ItemForListDatabasesOutput. # noqa: E501
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
:return: The name of this ItemForListDatabasesOutput. # noqa: E501
|
|
217
|
+
:rtype: str
|
|
218
|
+
"""
|
|
219
|
+
return self._name
|
|
220
|
+
|
|
221
|
+
@name.setter
|
|
222
|
+
def name(self, name):
|
|
223
|
+
"""Sets the name of this ItemForListDatabasesOutput.
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
:param name: The name of this ItemForListDatabasesOutput. # noqa: E501
|
|
227
|
+
:type: str
|
|
228
|
+
"""
|
|
229
|
+
|
|
230
|
+
self._name = name
|
|
231
|
+
|
|
232
|
+
def to_dict(self):
|
|
233
|
+
"""Returns the model properties as a dict"""
|
|
234
|
+
result = {}
|
|
235
|
+
|
|
236
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
237
|
+
value = getattr(self, attr)
|
|
238
|
+
if isinstance(value, list):
|
|
239
|
+
result[attr] = list(map(
|
|
240
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
241
|
+
value
|
|
242
|
+
))
|
|
243
|
+
elif hasattr(value, "to_dict"):
|
|
244
|
+
result[attr] = value.to_dict()
|
|
245
|
+
elif isinstance(value, dict):
|
|
246
|
+
result[attr] = dict(map(
|
|
247
|
+
lambda item: (item[0], item[1].to_dict())
|
|
248
|
+
if hasattr(item[1], "to_dict") else item,
|
|
249
|
+
value.items()
|
|
250
|
+
))
|
|
251
|
+
else:
|
|
252
|
+
result[attr] = value
|
|
253
|
+
if issubclass(ItemForListDatabasesOutput, dict):
|
|
254
|
+
for key, value in self.items():
|
|
255
|
+
result[key] = value
|
|
256
|
+
|
|
257
|
+
return result
|
|
258
|
+
|
|
259
|
+
def to_str(self):
|
|
260
|
+
"""Returns the string representation of the model"""
|
|
261
|
+
return pprint.pformat(self.to_dict())
|
|
262
|
+
|
|
263
|
+
def __repr__(self):
|
|
264
|
+
"""For `print` and `pprint`"""
|
|
265
|
+
return self.to_str()
|
|
266
|
+
|
|
267
|
+
def __eq__(self, other):
|
|
268
|
+
"""Returns true if both objects are equal"""
|
|
269
|
+
if not isinstance(other, ItemForListDatabasesOutput):
|
|
270
|
+
return False
|
|
271
|
+
|
|
272
|
+
return self.to_dict() == other.to_dict()
|
|
273
|
+
|
|
274
|
+
def __ne__(self, other):
|
|
275
|
+
"""Returns true if both objects are not equal"""
|
|
276
|
+
if not isinstance(other, ItemForListDatabasesOutput):
|
|
277
|
+
return True
|
|
278
|
+
|
|
279
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,203 @@
|
|
|
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 ListDatabasesRequest(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
|
+
'instance_type': 'str',
|
|
38
|
+
'page_number': 'int',
|
|
39
|
+
'page_size': 'int'
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
attribute_map = {
|
|
43
|
+
'instance_id': 'InstanceID',
|
|
44
|
+
'instance_type': 'InstanceType',
|
|
45
|
+
'page_number': 'PageNumber',
|
|
46
|
+
'page_size': 'PageSize'
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
def __init__(self, instance_id=None, instance_type=None, page_number=None, page_size=None, _configuration=None): # noqa: E501
|
|
50
|
+
"""ListDatabasesRequest - a model defined in Swagger""" # noqa: E501
|
|
51
|
+
if _configuration is None:
|
|
52
|
+
_configuration = Configuration()
|
|
53
|
+
self._configuration = _configuration
|
|
54
|
+
|
|
55
|
+
self._instance_id = None
|
|
56
|
+
self._instance_type = None
|
|
57
|
+
self._page_number = None
|
|
58
|
+
self._page_size = None
|
|
59
|
+
self.discriminator = None
|
|
60
|
+
|
|
61
|
+
self.instance_id = instance_id
|
|
62
|
+
self.instance_type = instance_type
|
|
63
|
+
if page_number is not None:
|
|
64
|
+
self.page_number = page_number
|
|
65
|
+
if page_size is not None:
|
|
66
|
+
self.page_size = page_size
|
|
67
|
+
|
|
68
|
+
@property
|
|
69
|
+
def instance_id(self):
|
|
70
|
+
"""Gets the instance_id of this ListDatabasesRequest. # noqa: E501
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
:return: The instance_id of this ListDatabasesRequest. # noqa: E501
|
|
74
|
+
:rtype: str
|
|
75
|
+
"""
|
|
76
|
+
return self._instance_id
|
|
77
|
+
|
|
78
|
+
@instance_id.setter
|
|
79
|
+
def instance_id(self, instance_id):
|
|
80
|
+
"""Sets the instance_id of this ListDatabasesRequest.
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
:param instance_id: The instance_id of this ListDatabasesRequest. # noqa: E501
|
|
84
|
+
:type: str
|
|
85
|
+
"""
|
|
86
|
+
if self._configuration.client_side_validation and instance_id is None:
|
|
87
|
+
raise ValueError("Invalid value for `instance_id`, must not be `None`") # noqa: E501
|
|
88
|
+
|
|
89
|
+
self._instance_id = instance_id
|
|
90
|
+
|
|
91
|
+
@property
|
|
92
|
+
def instance_type(self):
|
|
93
|
+
"""Gets the instance_type of this ListDatabasesRequest. # noqa: E501
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
:return: The instance_type of this ListDatabasesRequest. # noqa: E501
|
|
97
|
+
:rtype: str
|
|
98
|
+
"""
|
|
99
|
+
return self._instance_type
|
|
100
|
+
|
|
101
|
+
@instance_type.setter
|
|
102
|
+
def instance_type(self, instance_type):
|
|
103
|
+
"""Sets the instance_type of this ListDatabasesRequest.
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
:param instance_type: The instance_type of this ListDatabasesRequest. # noqa: E501
|
|
107
|
+
:type: str
|
|
108
|
+
"""
|
|
109
|
+
if self._configuration.client_side_validation and instance_type is None:
|
|
110
|
+
raise ValueError("Invalid value for `instance_type`, must not be `None`") # noqa: E501
|
|
111
|
+
|
|
112
|
+
self._instance_type = instance_type
|
|
113
|
+
|
|
114
|
+
@property
|
|
115
|
+
def page_number(self):
|
|
116
|
+
"""Gets the page_number of this ListDatabasesRequest. # noqa: E501
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
:return: The page_number of this ListDatabasesRequest. # noqa: E501
|
|
120
|
+
:rtype: int
|
|
121
|
+
"""
|
|
122
|
+
return self._page_number
|
|
123
|
+
|
|
124
|
+
@page_number.setter
|
|
125
|
+
def page_number(self, page_number):
|
|
126
|
+
"""Sets the page_number of this ListDatabasesRequest.
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
:param page_number: The page_number of this ListDatabasesRequest. # noqa: E501
|
|
130
|
+
:type: int
|
|
131
|
+
"""
|
|
132
|
+
|
|
133
|
+
self._page_number = page_number
|
|
134
|
+
|
|
135
|
+
@property
|
|
136
|
+
def page_size(self):
|
|
137
|
+
"""Gets the page_size of this ListDatabasesRequest. # noqa: E501
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
:return: The page_size of this ListDatabasesRequest. # noqa: E501
|
|
141
|
+
:rtype: int
|
|
142
|
+
"""
|
|
143
|
+
return self._page_size
|
|
144
|
+
|
|
145
|
+
@page_size.setter
|
|
146
|
+
def page_size(self, page_size):
|
|
147
|
+
"""Sets the page_size of this ListDatabasesRequest.
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
:param page_size: The page_size of this ListDatabasesRequest. # noqa: E501
|
|
151
|
+
:type: int
|
|
152
|
+
"""
|
|
153
|
+
|
|
154
|
+
self._page_size = page_size
|
|
155
|
+
|
|
156
|
+
def to_dict(self):
|
|
157
|
+
"""Returns the model properties as a dict"""
|
|
158
|
+
result = {}
|
|
159
|
+
|
|
160
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
161
|
+
value = getattr(self, attr)
|
|
162
|
+
if isinstance(value, list):
|
|
163
|
+
result[attr] = list(map(
|
|
164
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
165
|
+
value
|
|
166
|
+
))
|
|
167
|
+
elif hasattr(value, "to_dict"):
|
|
168
|
+
result[attr] = value.to_dict()
|
|
169
|
+
elif isinstance(value, dict):
|
|
170
|
+
result[attr] = dict(map(
|
|
171
|
+
lambda item: (item[0], item[1].to_dict())
|
|
172
|
+
if hasattr(item[1], "to_dict") else item,
|
|
173
|
+
value.items()
|
|
174
|
+
))
|
|
175
|
+
else:
|
|
176
|
+
result[attr] = value
|
|
177
|
+
if issubclass(ListDatabasesRequest, dict):
|
|
178
|
+
for key, value in self.items():
|
|
179
|
+
result[key] = value
|
|
180
|
+
|
|
181
|
+
return result
|
|
182
|
+
|
|
183
|
+
def to_str(self):
|
|
184
|
+
"""Returns the string representation of the model"""
|
|
185
|
+
return pprint.pformat(self.to_dict())
|
|
186
|
+
|
|
187
|
+
def __repr__(self):
|
|
188
|
+
"""For `print` and `pprint`"""
|
|
189
|
+
return self.to_str()
|
|
190
|
+
|
|
191
|
+
def __eq__(self, other):
|
|
192
|
+
"""Returns true if both objects are equal"""
|
|
193
|
+
if not isinstance(other, ListDatabasesRequest):
|
|
194
|
+
return False
|
|
195
|
+
|
|
196
|
+
return self.to_dict() == other.to_dict()
|
|
197
|
+
|
|
198
|
+
def __ne__(self, other):
|
|
199
|
+
"""Returns true if both objects are not equal"""
|
|
200
|
+
if not isinstance(other, ListDatabasesRequest):
|
|
201
|
+
return True
|
|
202
|
+
|
|
203
|
+
return self.to_dict() != other.to_dict()
|