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.

Files changed (168) hide show
  1. {volcengine_python_sdk-4.0.26.dist-info → volcengine_python_sdk-4.0.27.dist-info}/METADATA +1 -1
  2. {volcengine_python_sdk-4.0.26.dist-info → volcengine_python_sdk-4.0.27.dist-info}/RECORD +168 -44
  3. volcenginesdkacep/__init__.py +15 -0
  4. volcenginesdkacep/api/acep_api.py +485 -0
  5. volcenginesdkacep/models/__init__.py +15 -0
  6. volcenginesdkacep/models/backup_data_request.py +176 -0
  7. volcenginesdkacep/models/backup_data_response.py +149 -0
  8. volcenginesdkacep/models/delete_backup_data_request.py +150 -0
  9. volcenginesdkacep/models/delete_backup_data_response.py +123 -0
  10. volcenginesdkacep/models/detail_for_backup_data_output.py +201 -0
  11. volcenginesdkacep/models/detail_for_delete_backup_data_output.py +175 -0
  12. volcenginesdkacep/models/detail_for_restore_data_output.py +175 -0
  13. volcenginesdkacep/models/get_dc_bandwidth_daily_peak_request.py +204 -0
  14. volcenginesdkacep/models/get_dc_bandwidth_daily_peak_response.py +123 -0
  15. volcenginesdkacep/models/list_backup_data_request.py +254 -0
  16. volcenginesdkacep/models/list_backup_data_response.py +149 -0
  17. volcenginesdkacep/models/restore_data_request.py +203 -0
  18. volcenginesdkacep/models/restore_data_response.py +149 -0
  19. volcenginesdkacep/models/row_for_get_dc_bandwidth_daily_peak_output.py +253 -0
  20. volcenginesdkacep/models/row_for_list_backup_data_output.py +799 -0
  21. volcenginesdkclb/__init__.py +10 -0
  22. volcenginesdkclb/api/clb_api.py +194 -0
  23. volcenginesdkclb/models/__init__.py +10 -0
  24. volcenginesdkclb/models/access_log_for_describe_network_load_balancer_attributes_output.py +175 -0
  25. volcenginesdkclb/models/add_domain_extension_for_modify_listener_domain_extensions_input.py +175 -0
  26. volcenginesdkclb/models/convert_load_balancer_billing_type_request.py +27 -1
  27. volcenginesdkclb/models/describe_listener_attributes_response.py +27 -1
  28. volcenginesdkclb/models/describe_network_load_balancer_attributes_response.py +27 -1
  29. volcenginesdkclb/models/describe_nlb_server_groups_request.py +53 -1
  30. volcenginesdkclb/models/domain_extension_for_describe_listener_attributes_output.py +201 -0
  31. volcenginesdkclb/models/domain_extension_for_describe_listeners_output.py +201 -0
  32. volcenginesdkclb/models/listener_for_describe_listeners_output.py +27 -1
  33. volcenginesdkclb/models/modify_domain_extension_for_modify_listener_domain_extensions_input.py +175 -0
  34. volcenginesdkclb/models/modify_listener_domain_extensions_request.py +202 -0
  35. volcenginesdkclb/models/modify_listener_domain_extensions_response.py +123 -0
  36. volcenginesdkclb/models/modify_network_load_balancer_access_log_request.py +202 -0
  37. volcenginesdkclb/models/modify_network_load_balancer_access_log_response.py +123 -0
  38. volcenginesdkclb/models/remove_domain_extension_for_modify_listener_domain_extensions_input.py +123 -0
  39. volcenginesdkcore/api_client.py +1 -1
  40. volcenginesdkcore/configuration.py +1 -1
  41. volcenginesdkcore/interceptor/interceptors/build_request_interceptor.py +4 -0
  42. volcenginesdkcore/interceptor/interceptors/sign_request_interceptor.py +1 -1
  43. volcenginesdkdbw/__init__.py +18 -0
  44. volcenginesdkdbw/api/dbw_api.py +388 -0
  45. volcenginesdkdbw/models/__init__.py +18 -0
  46. volcenginesdkdbw/models/column_for_get_table_info_output.py +331 -0
  47. volcenginesdkdbw/models/execute_sql_request.py +231 -0
  48. volcenginesdkdbw/models/execute_sql_response.py +123 -0
  49. volcenginesdkdbw/models/foreign_key_for_get_table_info_output.py +279 -0
  50. volcenginesdkdbw/models/get_table_info_request.py +205 -0
  51. volcenginesdkdbw/models/get_table_info_response.py +123 -0
  52. volcenginesdkdbw/models/index_for_get_table_info_output.py +201 -0
  53. volcenginesdkdbw/models/item_for_list_databases_output.py +279 -0
  54. volcenginesdkdbw/models/list_databases_request.py +203 -0
  55. volcenginesdkdbw/models/list_databases_response.py +149 -0
  56. volcenginesdkdbw/models/list_tables_request.py +230 -0
  57. volcenginesdkdbw/models/list_tables_response.py +149 -0
  58. volcenginesdkdbw/models/partition_options_for_get_table_info_output.py +175 -0
  59. volcenginesdkdbw/models/result_for_execute_sql_output.py +305 -0
  60. volcenginesdkdbw/models/row_for_execute_sql_output.py +123 -0
  61. volcenginesdkdbw/models/running_info_for_execute_sql_output.py +201 -0
  62. volcenginesdkdbw/models/table_meta_for_get_table_info_output.py +383 -0
  63. volcenginesdkdbw/models/table_options_for_get_table_info_output.py +331 -0
  64. volcenginesdkgraph/__init__.py +48 -0
  65. volcenginesdkgraph/api/graph_api.py +951 -78
  66. volcenginesdkgraph/models/__init__.py +48 -0
  67. volcenginesdkgraph/models/availability_zone_for_list_graph_rag_service_output.py +253 -0
  68. volcenginesdkgraph/models/bg3_link_for_list_graph_rag_service_output.py +175 -0
  69. volcenginesdkgraph/models/bytestore_info_for_list_graph_rag_service_output.py +201 -0
  70. volcenginesdkgraph/models/conf_checker_for_get_conf_checker_output.py +409 -0
  71. volcenginesdkgraph/models/conf_checker_for_update_conf_checker_input.py +409 -0
  72. volcenginesdkgraph/models/conf_checker_for_validate_conf_checker_input.py +409 -0
  73. volcenginesdkgraph/models/convert_value_for_list_tablets_output.py +149 -0
  74. volcenginesdkgraph/models/create_instance_request.py +29 -3
  75. volcenginesdkgraph/models/first_for_list_tablet_task_output.py +175 -0
  76. volcenginesdkgraph/models/get_conf_checker_request.py +253 -0
  77. volcenginesdkgraph/models/get_conf_checker_response.py +123 -0
  78. volcenginesdkgraph/models/graphrag_add_knowledge_base_request.py +178 -0
  79. volcenginesdkgraph/models/graphrag_add_knowledge_base_response.py +95 -0
  80. volcenginesdkgraph/models/image_info_for_list_graph_rag_service_output.py +227 -0
  81. volcenginesdkgraph/models/info_for_list_graph_rag_service_output.py +175 -0
  82. volcenginesdkgraph/models/info_for_list_tablet_task_output.py +201 -0
  83. volcenginesdkgraph/models/ins_spec_for_list_graph_rag_service_output.py +175 -0
  84. volcenginesdkgraph/models/list_graph_rag_service_request.py +178 -0
  85. volcenginesdkgraph/models/list_graph_rag_service_response.py +149 -0
  86. volcenginesdkgraph/models/list_tablet_server_request.py +150 -0
  87. volcenginesdkgraph/models/list_tablet_server_response.py +149 -0
  88. volcenginesdkgraph/models/list_tablet_task_request.py +177 -0
  89. volcenginesdkgraph/models/list_tablet_task_response.py +123 -0
  90. volcenginesdkgraph/models/list_tablets_request.py +254 -0
  91. volcenginesdkgraph/models/list_tablets_response.py +123 -0
  92. volcenginesdkgraph/models/migrate_tablet_replica_request.py +257 -0
  93. volcenginesdkgraph/models/migrate_tablet_replica_response.py +123 -0
  94. volcenginesdkgraph/models/pending_schedule_replica_for_list_tablets_output.py +149 -0
  95. volcenginesdkgraph/models/replica_info_for_list_tablets_output.py +149 -0
  96. volcenginesdkgraph/models/replicas_to_close_for_list_tablet_task_output.py +227 -0
  97. volcenginesdkgraph/models/replicas_to_delete_for_list_tablet_task_output.py +227 -0
  98. volcenginesdkgraph/models/replicas_to_failover_by_promote_for_list_tablet_task_output.py +149 -0
  99. volcenginesdkgraph/models/replicas_to_failover_by_reopen_for_list_tablet_task_output.py +149 -0
  100. volcenginesdkgraph/models/replicas_to_open_or_add_for_list_tablet_task_output.py +227 -0
  101. volcenginesdkgraph/models/second_for_list_tablet_task_output.py +175 -0
  102. volcenginesdkgraph/models/storage_info_for_list_graph_rag_service_output.py +149 -0
  103. volcenginesdkgraph/models/tablet_info_for_list_tablets_output.py +149 -0
  104. volcenginesdkgraph/models/tablet_server_info_for_list_tablet_server_output.py +227 -0
  105. volcenginesdkgraph/models/tablet_task_info_for_list_tablet_task_output.py +435 -0
  106. volcenginesdkgraph/models/tablet_to_merge_for_list_tablet_task_output.py +149 -0
  107. volcenginesdkgraph/models/tablet_to_split_for_list_tablet_task_output.py +175 -0
  108. volcenginesdkgraph/models/tablets_to_delete_for_list_tablet_task_output.py +175 -0
  109. volcenginesdkgraph/models/tag_for_list_graph_rag_service_output.py +149 -0
  110. volcenginesdkgraph/models/update_conf_checker_request.py +123 -0
  111. volcenginesdkgraph/models/update_conf_checker_response.py +123 -0
  112. volcenginesdkgraph/models/validate_conf_checker_request.py +123 -0
  113. volcenginesdkgraph/models/validate_conf_checker_response.py +149 -0
  114. volcenginesdkgraph/models/value_for_list_tablets_output.py +201 -0
  115. volcenginesdkgraph/models/ve_graph_info_for_list_graph_rag_service_output.py +851 -0
  116. volcenginesdklivesaas/__init__.py +3 -0
  117. volcenginesdklivesaas/models/__init__.py +3 -0
  118. volcenginesdklivesaas/models/auto_start_config_for_create_activity_apiv2_input.py +175 -0
  119. volcenginesdklivesaas/models/auto_start_config_for_get_activity_basic_config_api_output.py +175 -0
  120. volcenginesdklivesaas/models/auto_start_config_for_update_activity_basic_config_api_input.py +175 -0
  121. volcenginesdklivesaas/models/create_activity_apiv2_request.py +27 -1
  122. volcenginesdklivesaas/models/get_activity_basic_config_api_response.py +79 -1
  123. volcenginesdklivesaas/models/update_activity_basic_config_api_request.py +53 -1
  124. volcenginesdkvefaas/__init__.py +4 -0
  125. volcenginesdkvefaas/api/vefaas_api.py +194 -0
  126. volcenginesdkvefaas/models/__init__.py +4 -0
  127. volcenginesdkvefaas/models/enable_user_cr_vpc_tunnel_request.py +124 -0
  128. volcenginesdkvefaas/models/enable_user_cr_vpc_tunnel_response.py +149 -0
  129. volcenginesdkvefaas/models/query_user_cr_vpc_tunnel_request.py +124 -0
  130. volcenginesdkvefaas/models/query_user_cr_vpc_tunnel_response.py +123 -0
  131. volcenginesdkvke/models/scheduled_instance_policy_for_create_scaling_policy_input.py +27 -1
  132. volcenginesdkvke/models/scheduled_instance_policy_for_list_scaling_policies_output.py +27 -1
  133. volcenginesdkvke/models/scheduled_instance_policy_for_update_scaling_policy_input.py +27 -1
  134. volcenginesdkvod20250101/__init__.py +26 -0
  135. volcenginesdkvod20250101/api/vod20250101_api.py +888 -112
  136. volcenginesdkvod20250101/models/__init__.py +26 -0
  137. volcenginesdkvod20250101/models/create_ai_termbase_request.py +256 -0
  138. volcenginesdkvod20250101/models/create_ai_termbase_response.py +123 -0
  139. volcenginesdkvod20250101/models/delete_ai_term_item_request.py +177 -0
  140. volcenginesdkvod20250101/models/delete_ai_term_item_response.py +95 -0
  141. volcenginesdkvod20250101/models/delete_ai_termbase_request.py +151 -0
  142. volcenginesdkvod20250101/models/delete_ai_termbase_response.py +95 -0
  143. volcenginesdkvod20250101/models/get_ai_termbase_request.py +151 -0
  144. volcenginesdkvod20250101/models/get_ai_termbase_response.py +123 -0
  145. volcenginesdkvod20250101/models/list_ai_termbase_request.py +124 -0
  146. volcenginesdkvod20250101/models/list_ai_termbase_response.py +123 -0
  147. volcenginesdkvod20250101/models/process_config_for_submit_ai_translation_workflow_input.py +53 -1
  148. volcenginesdkvod20250101/models/process_config_for_update_ai_translation_project_config_input.py +149 -0
  149. volcenginesdkvod20250101/models/scenario_for_create_ai_termbase_input.py +95 -0
  150. volcenginesdkvod20250101/models/set_ai_term_item_request.py +177 -0
  151. volcenginesdkvod20250101/models/set_ai_term_item_response.py +95 -0
  152. volcenginesdkvod20250101/models/term_item_for_create_ai_termbase_output.py +149 -0
  153. volcenginesdkvod20250101/models/term_item_for_get_ai_termbase_output.py +149 -0
  154. volcenginesdkvod20250101/models/term_item_for_list_ai_termbase_output.py +149 -0
  155. volcenginesdkvod20250101/models/term_item_for_set_ai_term_item_input.py +149 -0
  156. volcenginesdkvod20250101/models/termbase_config_for_submit_ai_translation_workflow_input.py +123 -0
  157. volcenginesdkvod20250101/models/termbase_for_create_ai_termbase_output.py +279 -0
  158. volcenginesdkvod20250101/models/termbase_for_get_ai_termbase_output.py +279 -0
  159. volcenginesdkvod20250101/models/termbase_for_list_ai_termbase_output.py +279 -0
  160. volcenginesdkvod20250101/models/translation_config_for_submit_ai_translation_workflow_input.py +27 -1
  161. volcenginesdkvod20250101/models/update_ai_termbase_request.py +203 -0
  162. volcenginesdkvod20250101/models/update_ai_termbase_response.py +95 -0
  163. volcenginesdkvod20250101/models/update_ai_translation_project_config_request.py +204 -0
  164. volcenginesdkvod20250101/models/update_ai_translation_project_config_response.py +95 -0
  165. {volcengine_python_sdk-4.0.26.dist-info → volcengine_python_sdk-4.0.27.dist-info}/WHEEL +0 -0
  166. {volcengine_python_sdk-4.0.26.dist-info → volcengine_python_sdk-4.0.27.dist-info}/licenses/LICENSE.txt +0 -0
  167. {volcengine_python_sdk-4.0.26.dist-info → volcengine_python_sdk-4.0.27.dist-info}/licenses/NOTICE.md +0 -0
  168. {volcengine_python_sdk-4.0.26.dist-info → volcengine_python_sdk-4.0.27.dist-info}/top_level.txt +0 -0
@@ -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 ForeignKeyForGetTableInfoOutput(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
+ 'name': 'str',
38
+ 'on_delete': 'int',
39
+ 'on_update': 'int',
40
+ 'ref_columns': 'list[str]',
41
+ 'ref_db': 'str',
42
+ 'ref_table': 'str'
43
+ }
44
+
45
+ attribute_map = {
46
+ 'columns': 'Columns',
47
+ 'name': 'Name',
48
+ 'on_delete': 'OnDelete',
49
+ 'on_update': 'OnUpdate',
50
+ 'ref_columns': 'RefColumns',
51
+ 'ref_db': 'RefDB',
52
+ 'ref_table': 'RefTable'
53
+ }
54
+
55
+ def __init__(self, columns=None, name=None, on_delete=None, on_update=None, ref_columns=None, ref_db=None, ref_table=None, _configuration=None): # noqa: E501
56
+ """ForeignKeyForGetTableInfoOutput - a model defined in Swagger""" # noqa: E501
57
+ if _configuration is None:
58
+ _configuration = Configuration()
59
+ self._configuration = _configuration
60
+
61
+ self._columns = None
62
+ self._name = None
63
+ self._on_delete = None
64
+ self._on_update = None
65
+ self._ref_columns = None
66
+ self._ref_db = None
67
+ self._ref_table = None
68
+ self.discriminator = None
69
+
70
+ if columns is not None:
71
+ self.columns = columns
72
+ if name is not None:
73
+ self.name = name
74
+ if on_delete is not None:
75
+ self.on_delete = on_delete
76
+ if on_update is not None:
77
+ self.on_update = on_update
78
+ if ref_columns is not None:
79
+ self.ref_columns = ref_columns
80
+ if ref_db is not None:
81
+ self.ref_db = ref_db
82
+ if ref_table is not None:
83
+ self.ref_table = ref_table
84
+
85
+ @property
86
+ def columns(self):
87
+ """Gets the columns of this ForeignKeyForGetTableInfoOutput. # noqa: E501
88
+
89
+
90
+ :return: The columns of this ForeignKeyForGetTableInfoOutput. # noqa: E501
91
+ :rtype: list[str]
92
+ """
93
+ return self._columns
94
+
95
+ @columns.setter
96
+ def columns(self, columns):
97
+ """Sets the columns of this ForeignKeyForGetTableInfoOutput.
98
+
99
+
100
+ :param columns: The columns of this ForeignKeyForGetTableInfoOutput. # noqa: E501
101
+ :type: list[str]
102
+ """
103
+
104
+ self._columns = columns
105
+
106
+ @property
107
+ def name(self):
108
+ """Gets the name of this ForeignKeyForGetTableInfoOutput. # noqa: E501
109
+
110
+
111
+ :return: The name of this ForeignKeyForGetTableInfoOutput. # noqa: E501
112
+ :rtype: str
113
+ """
114
+ return self._name
115
+
116
+ @name.setter
117
+ def name(self, name):
118
+ """Sets the name of this ForeignKeyForGetTableInfoOutput.
119
+
120
+
121
+ :param name: The name of this ForeignKeyForGetTableInfoOutput. # noqa: E501
122
+ :type: str
123
+ """
124
+
125
+ self._name = name
126
+
127
+ @property
128
+ def on_delete(self):
129
+ """Gets the on_delete of this ForeignKeyForGetTableInfoOutput. # noqa: E501
130
+
131
+
132
+ :return: The on_delete of this ForeignKeyForGetTableInfoOutput. # noqa: E501
133
+ :rtype: int
134
+ """
135
+ return self._on_delete
136
+
137
+ @on_delete.setter
138
+ def on_delete(self, on_delete):
139
+ """Sets the on_delete of this ForeignKeyForGetTableInfoOutput.
140
+
141
+
142
+ :param on_delete: The on_delete of this ForeignKeyForGetTableInfoOutput. # noqa: E501
143
+ :type: int
144
+ """
145
+
146
+ self._on_delete = on_delete
147
+
148
+ @property
149
+ def on_update(self):
150
+ """Gets the on_update of this ForeignKeyForGetTableInfoOutput. # noqa: E501
151
+
152
+
153
+ :return: The on_update of this ForeignKeyForGetTableInfoOutput. # noqa: E501
154
+ :rtype: int
155
+ """
156
+ return self._on_update
157
+
158
+ @on_update.setter
159
+ def on_update(self, on_update):
160
+ """Sets the on_update of this ForeignKeyForGetTableInfoOutput.
161
+
162
+
163
+ :param on_update: The on_update of this ForeignKeyForGetTableInfoOutput. # noqa: E501
164
+ :type: int
165
+ """
166
+
167
+ self._on_update = on_update
168
+
169
+ @property
170
+ def ref_columns(self):
171
+ """Gets the ref_columns of this ForeignKeyForGetTableInfoOutput. # noqa: E501
172
+
173
+
174
+ :return: The ref_columns of this ForeignKeyForGetTableInfoOutput. # noqa: E501
175
+ :rtype: list[str]
176
+ """
177
+ return self._ref_columns
178
+
179
+ @ref_columns.setter
180
+ def ref_columns(self, ref_columns):
181
+ """Sets the ref_columns of this ForeignKeyForGetTableInfoOutput.
182
+
183
+
184
+ :param ref_columns: The ref_columns of this ForeignKeyForGetTableInfoOutput. # noqa: E501
185
+ :type: list[str]
186
+ """
187
+
188
+ self._ref_columns = ref_columns
189
+
190
+ @property
191
+ def ref_db(self):
192
+ """Gets the ref_db of this ForeignKeyForGetTableInfoOutput. # noqa: E501
193
+
194
+
195
+ :return: The ref_db of this ForeignKeyForGetTableInfoOutput. # noqa: E501
196
+ :rtype: str
197
+ """
198
+ return self._ref_db
199
+
200
+ @ref_db.setter
201
+ def ref_db(self, ref_db):
202
+ """Sets the ref_db of this ForeignKeyForGetTableInfoOutput.
203
+
204
+
205
+ :param ref_db: The ref_db of this ForeignKeyForGetTableInfoOutput. # noqa: E501
206
+ :type: str
207
+ """
208
+
209
+ self._ref_db = ref_db
210
+
211
+ @property
212
+ def ref_table(self):
213
+ """Gets the ref_table of this ForeignKeyForGetTableInfoOutput. # noqa: E501
214
+
215
+
216
+ :return: The ref_table of this ForeignKeyForGetTableInfoOutput. # noqa: E501
217
+ :rtype: str
218
+ """
219
+ return self._ref_table
220
+
221
+ @ref_table.setter
222
+ def ref_table(self, ref_table):
223
+ """Sets the ref_table of this ForeignKeyForGetTableInfoOutput.
224
+
225
+
226
+ :param ref_table: The ref_table of this ForeignKeyForGetTableInfoOutput. # noqa: E501
227
+ :type: str
228
+ """
229
+
230
+ self._ref_table = ref_table
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(ForeignKeyForGetTableInfoOutput, 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, ForeignKeyForGetTableInfoOutput):
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, ForeignKeyForGetTableInfoOutput):
277
+ return True
278
+
279
+ return self.to_dict() != other.to_dict()
@@ -0,0 +1,205 @@
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 GetTableInfoRequest(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
+ 'table': 'str'
40
+ }
41
+
42
+ attribute_map = {
43
+ 'database': 'Database',
44
+ 'instance_id': 'InstanceID',
45
+ 'instance_type': 'InstanceType',
46
+ 'table': 'Table'
47
+ }
48
+
49
+ def __init__(self, database=None, instance_id=None, instance_type=None, table=None, _configuration=None): # noqa: E501
50
+ """GetTableInfoRequest - a model defined in Swagger""" # noqa: E501
51
+ if _configuration is None:
52
+ _configuration = Configuration()
53
+ self._configuration = _configuration
54
+
55
+ self._database = None
56
+ self._instance_id = None
57
+ self._instance_type = None
58
+ self._table = None
59
+ self.discriminator = None
60
+
61
+ self.database = database
62
+ self.instance_id = instance_id
63
+ self.instance_type = instance_type
64
+ self.table = table
65
+
66
+ @property
67
+ def database(self):
68
+ """Gets the database of this GetTableInfoRequest. # noqa: E501
69
+
70
+
71
+ :return: The database of this GetTableInfoRequest. # noqa: E501
72
+ :rtype: str
73
+ """
74
+ return self._database
75
+
76
+ @database.setter
77
+ def database(self, database):
78
+ """Sets the database of this GetTableInfoRequest.
79
+
80
+
81
+ :param database: The database of this GetTableInfoRequest. # noqa: E501
82
+ :type: str
83
+ """
84
+ if self._configuration.client_side_validation and database is None:
85
+ raise ValueError("Invalid value for `database`, must not be `None`") # noqa: E501
86
+
87
+ self._database = database
88
+
89
+ @property
90
+ def instance_id(self):
91
+ """Gets the instance_id of this GetTableInfoRequest. # noqa: E501
92
+
93
+
94
+ :return: The instance_id of this GetTableInfoRequest. # noqa: E501
95
+ :rtype: str
96
+ """
97
+ return self._instance_id
98
+
99
+ @instance_id.setter
100
+ def instance_id(self, instance_id):
101
+ """Sets the instance_id of this GetTableInfoRequest.
102
+
103
+
104
+ :param instance_id: The instance_id of this GetTableInfoRequest. # noqa: E501
105
+ :type: str
106
+ """
107
+ if self._configuration.client_side_validation and instance_id is None:
108
+ raise ValueError("Invalid value for `instance_id`, must not be `None`") # noqa: E501
109
+
110
+ self._instance_id = instance_id
111
+
112
+ @property
113
+ def instance_type(self):
114
+ """Gets the instance_type of this GetTableInfoRequest. # noqa: E501
115
+
116
+
117
+ :return: The instance_type of this GetTableInfoRequest. # noqa: E501
118
+ :rtype: str
119
+ """
120
+ return self._instance_type
121
+
122
+ @instance_type.setter
123
+ def instance_type(self, instance_type):
124
+ """Sets the instance_type of this GetTableInfoRequest.
125
+
126
+
127
+ :param instance_type: The instance_type of this GetTableInfoRequest. # noqa: E501
128
+ :type: str
129
+ """
130
+ if self._configuration.client_side_validation and instance_type is None:
131
+ raise ValueError("Invalid value for `instance_type`, must not be `None`") # noqa: E501
132
+
133
+ self._instance_type = instance_type
134
+
135
+ @property
136
+ def table(self):
137
+ """Gets the table of this GetTableInfoRequest. # noqa: E501
138
+
139
+
140
+ :return: The table of this GetTableInfoRequest. # noqa: E501
141
+ :rtype: str
142
+ """
143
+ return self._table
144
+
145
+ @table.setter
146
+ def table(self, table):
147
+ """Sets the table of this GetTableInfoRequest.
148
+
149
+
150
+ :param table: The table of this GetTableInfoRequest. # noqa: E501
151
+ :type: str
152
+ """
153
+ if self._configuration.client_side_validation and table is None:
154
+ raise ValueError("Invalid value for `table`, must not be `None`") # noqa: E501
155
+
156
+ self._table = table
157
+
158
+ def to_dict(self):
159
+ """Returns the model properties as a dict"""
160
+ result = {}
161
+
162
+ for attr, _ in six.iteritems(self.swagger_types):
163
+ value = getattr(self, attr)
164
+ if isinstance(value, list):
165
+ result[attr] = list(map(
166
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
167
+ value
168
+ ))
169
+ elif hasattr(value, "to_dict"):
170
+ result[attr] = value.to_dict()
171
+ elif isinstance(value, dict):
172
+ result[attr] = dict(map(
173
+ lambda item: (item[0], item[1].to_dict())
174
+ if hasattr(item[1], "to_dict") else item,
175
+ value.items()
176
+ ))
177
+ else:
178
+ result[attr] = value
179
+ if issubclass(GetTableInfoRequest, dict):
180
+ for key, value in self.items():
181
+ result[key] = value
182
+
183
+ return result
184
+
185
+ def to_str(self):
186
+ """Returns the string representation of the model"""
187
+ return pprint.pformat(self.to_dict())
188
+
189
+ def __repr__(self):
190
+ """For `print` and `pprint`"""
191
+ return self.to_str()
192
+
193
+ def __eq__(self, other):
194
+ """Returns true if both objects are equal"""
195
+ if not isinstance(other, GetTableInfoRequest):
196
+ return False
197
+
198
+ return self.to_dict() == other.to_dict()
199
+
200
+ def __ne__(self, other):
201
+ """Returns true if both objects are not equal"""
202
+ if not isinstance(other, GetTableInfoRequest):
203
+ return True
204
+
205
+ return self.to_dict() != other.to_dict()
@@ -0,0 +1,123 @@
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 GetTableInfoResponse(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
+ 'table_meta': 'TableMetaForGetTableInfoOutput'
37
+ }
38
+
39
+ attribute_map = {
40
+ 'table_meta': 'TableMeta'
41
+ }
42
+
43
+ def __init__(self, table_meta=None, _configuration=None): # noqa: E501
44
+ """GetTableInfoResponse - a model defined in Swagger""" # noqa: E501
45
+ if _configuration is None:
46
+ _configuration = Configuration()
47
+ self._configuration = _configuration
48
+
49
+ self._table_meta = None
50
+ self.discriminator = None
51
+
52
+ if table_meta is not None:
53
+ self.table_meta = table_meta
54
+
55
+ @property
56
+ def table_meta(self):
57
+ """Gets the table_meta of this GetTableInfoResponse. # noqa: E501
58
+
59
+
60
+ :return: The table_meta of this GetTableInfoResponse. # noqa: E501
61
+ :rtype: TableMetaForGetTableInfoOutput
62
+ """
63
+ return self._table_meta
64
+
65
+ @table_meta.setter
66
+ def table_meta(self, table_meta):
67
+ """Sets the table_meta of this GetTableInfoResponse.
68
+
69
+
70
+ :param table_meta: The table_meta of this GetTableInfoResponse. # noqa: E501
71
+ :type: TableMetaForGetTableInfoOutput
72
+ """
73
+
74
+ self._table_meta = table_meta
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(GetTableInfoResponse, 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, GetTableInfoResponse):
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, GetTableInfoResponse):
121
+ return True
122
+
123
+ return self.to_dict() != other.to_dict()