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,305 @@
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 ResultForExecuteSQLOutput(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
+ 'column_names': 'list[str]',
37
+ 'command_str': 'str',
38
+ 'reason_detail': 'str',
39
+ 'row_count': 'int',
40
+ 'rows': 'list[RowForExecuteSQLOutput]',
41
+ 'run_time': 'int',
42
+ 'running_info': 'RunningInfoForExecuteSQLOutput',
43
+ 'state': 'str'
44
+ }
45
+
46
+ attribute_map = {
47
+ 'column_names': 'ColumnNames',
48
+ 'command_str': 'CommandStr',
49
+ 'reason_detail': 'ReasonDetail',
50
+ 'row_count': 'RowCount',
51
+ 'rows': 'Rows',
52
+ 'run_time': 'RunTime',
53
+ 'running_info': 'RunningInfo',
54
+ 'state': 'State'
55
+ }
56
+
57
+ def __init__(self, column_names=None, command_str=None, reason_detail=None, row_count=None, rows=None, run_time=None, running_info=None, state=None, _configuration=None): # noqa: E501
58
+ """ResultForExecuteSQLOutput - a model defined in Swagger""" # noqa: E501
59
+ if _configuration is None:
60
+ _configuration = Configuration()
61
+ self._configuration = _configuration
62
+
63
+ self._column_names = None
64
+ self._command_str = None
65
+ self._reason_detail = None
66
+ self._row_count = None
67
+ self._rows = None
68
+ self._run_time = None
69
+ self._running_info = None
70
+ self._state = None
71
+ self.discriminator = None
72
+
73
+ if column_names is not None:
74
+ self.column_names = column_names
75
+ if command_str is not None:
76
+ self.command_str = command_str
77
+ if reason_detail is not None:
78
+ self.reason_detail = reason_detail
79
+ if row_count is not None:
80
+ self.row_count = row_count
81
+ if rows is not None:
82
+ self.rows = rows
83
+ if run_time is not None:
84
+ self.run_time = run_time
85
+ if running_info is not None:
86
+ self.running_info = running_info
87
+ if state is not None:
88
+ self.state = state
89
+
90
+ @property
91
+ def column_names(self):
92
+ """Gets the column_names of this ResultForExecuteSQLOutput. # noqa: E501
93
+
94
+
95
+ :return: The column_names of this ResultForExecuteSQLOutput. # noqa: E501
96
+ :rtype: list[str]
97
+ """
98
+ return self._column_names
99
+
100
+ @column_names.setter
101
+ def column_names(self, column_names):
102
+ """Sets the column_names of this ResultForExecuteSQLOutput.
103
+
104
+
105
+ :param column_names: The column_names of this ResultForExecuteSQLOutput. # noqa: E501
106
+ :type: list[str]
107
+ """
108
+
109
+ self._column_names = column_names
110
+
111
+ @property
112
+ def command_str(self):
113
+ """Gets the command_str of this ResultForExecuteSQLOutput. # noqa: E501
114
+
115
+
116
+ :return: The command_str of this ResultForExecuteSQLOutput. # noqa: E501
117
+ :rtype: str
118
+ """
119
+ return self._command_str
120
+
121
+ @command_str.setter
122
+ def command_str(self, command_str):
123
+ """Sets the command_str of this ResultForExecuteSQLOutput.
124
+
125
+
126
+ :param command_str: The command_str of this ResultForExecuteSQLOutput. # noqa: E501
127
+ :type: str
128
+ """
129
+
130
+ self._command_str = command_str
131
+
132
+ @property
133
+ def reason_detail(self):
134
+ """Gets the reason_detail of this ResultForExecuteSQLOutput. # noqa: E501
135
+
136
+
137
+ :return: The reason_detail of this ResultForExecuteSQLOutput. # noqa: E501
138
+ :rtype: str
139
+ """
140
+ return self._reason_detail
141
+
142
+ @reason_detail.setter
143
+ def reason_detail(self, reason_detail):
144
+ """Sets the reason_detail of this ResultForExecuteSQLOutput.
145
+
146
+
147
+ :param reason_detail: The reason_detail of this ResultForExecuteSQLOutput. # noqa: E501
148
+ :type: str
149
+ """
150
+
151
+ self._reason_detail = reason_detail
152
+
153
+ @property
154
+ def row_count(self):
155
+ """Gets the row_count of this ResultForExecuteSQLOutput. # noqa: E501
156
+
157
+
158
+ :return: The row_count of this ResultForExecuteSQLOutput. # noqa: E501
159
+ :rtype: int
160
+ """
161
+ return self._row_count
162
+
163
+ @row_count.setter
164
+ def row_count(self, row_count):
165
+ """Sets the row_count of this ResultForExecuteSQLOutput.
166
+
167
+
168
+ :param row_count: The row_count of this ResultForExecuteSQLOutput. # noqa: E501
169
+ :type: int
170
+ """
171
+
172
+ self._row_count = row_count
173
+
174
+ @property
175
+ def rows(self):
176
+ """Gets the rows of this ResultForExecuteSQLOutput. # noqa: E501
177
+
178
+
179
+ :return: The rows of this ResultForExecuteSQLOutput. # noqa: E501
180
+ :rtype: list[RowForExecuteSQLOutput]
181
+ """
182
+ return self._rows
183
+
184
+ @rows.setter
185
+ def rows(self, rows):
186
+ """Sets the rows of this ResultForExecuteSQLOutput.
187
+
188
+
189
+ :param rows: The rows of this ResultForExecuteSQLOutput. # noqa: E501
190
+ :type: list[RowForExecuteSQLOutput]
191
+ """
192
+
193
+ self._rows = rows
194
+
195
+ @property
196
+ def run_time(self):
197
+ """Gets the run_time of this ResultForExecuteSQLOutput. # noqa: E501
198
+
199
+
200
+ :return: The run_time of this ResultForExecuteSQLOutput. # noqa: E501
201
+ :rtype: int
202
+ """
203
+ return self._run_time
204
+
205
+ @run_time.setter
206
+ def run_time(self, run_time):
207
+ """Sets the run_time of this ResultForExecuteSQLOutput.
208
+
209
+
210
+ :param run_time: The run_time of this ResultForExecuteSQLOutput. # noqa: E501
211
+ :type: int
212
+ """
213
+
214
+ self._run_time = run_time
215
+
216
+ @property
217
+ def running_info(self):
218
+ """Gets the running_info of this ResultForExecuteSQLOutput. # noqa: E501
219
+
220
+
221
+ :return: The running_info of this ResultForExecuteSQLOutput. # noqa: E501
222
+ :rtype: RunningInfoForExecuteSQLOutput
223
+ """
224
+ return self._running_info
225
+
226
+ @running_info.setter
227
+ def running_info(self, running_info):
228
+ """Sets the running_info of this ResultForExecuteSQLOutput.
229
+
230
+
231
+ :param running_info: The running_info of this ResultForExecuteSQLOutput. # noqa: E501
232
+ :type: RunningInfoForExecuteSQLOutput
233
+ """
234
+
235
+ self._running_info = running_info
236
+
237
+ @property
238
+ def state(self):
239
+ """Gets the state of this ResultForExecuteSQLOutput. # noqa: E501
240
+
241
+
242
+ :return: The state of this ResultForExecuteSQLOutput. # noqa: E501
243
+ :rtype: str
244
+ """
245
+ return self._state
246
+
247
+ @state.setter
248
+ def state(self, state):
249
+ """Sets the state of this ResultForExecuteSQLOutput.
250
+
251
+
252
+ :param state: The state of this ResultForExecuteSQLOutput. # noqa: E501
253
+ :type: str
254
+ """
255
+
256
+ self._state = state
257
+
258
+ def to_dict(self):
259
+ """Returns the model properties as a dict"""
260
+ result = {}
261
+
262
+ for attr, _ in six.iteritems(self.swagger_types):
263
+ value = getattr(self, attr)
264
+ if isinstance(value, list):
265
+ result[attr] = list(map(
266
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
267
+ value
268
+ ))
269
+ elif hasattr(value, "to_dict"):
270
+ result[attr] = value.to_dict()
271
+ elif isinstance(value, dict):
272
+ result[attr] = dict(map(
273
+ lambda item: (item[0], item[1].to_dict())
274
+ if hasattr(item[1], "to_dict") else item,
275
+ value.items()
276
+ ))
277
+ else:
278
+ result[attr] = value
279
+ if issubclass(ResultForExecuteSQLOutput, dict):
280
+ for key, value in self.items():
281
+ result[key] = value
282
+
283
+ return result
284
+
285
+ def to_str(self):
286
+ """Returns the string representation of the model"""
287
+ return pprint.pformat(self.to_dict())
288
+
289
+ def __repr__(self):
290
+ """For `print` and `pprint`"""
291
+ return self.to_str()
292
+
293
+ def __eq__(self, other):
294
+ """Returns true if both objects are equal"""
295
+ if not isinstance(other, ResultForExecuteSQLOutput):
296
+ return False
297
+
298
+ return self.to_dict() == other.to_dict()
299
+
300
+ def __ne__(self, other):
301
+ """Returns true if both objects are not equal"""
302
+ if not isinstance(other, ResultForExecuteSQLOutput):
303
+ return True
304
+
305
+ 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 RowForExecuteSQLOutput(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
+ 'cells': 'list[str]'
37
+ }
38
+
39
+ attribute_map = {
40
+ 'cells': 'Cells'
41
+ }
42
+
43
+ def __init__(self, cells=None, _configuration=None): # noqa: E501
44
+ """RowForExecuteSQLOutput - a model defined in Swagger""" # noqa: E501
45
+ if _configuration is None:
46
+ _configuration = Configuration()
47
+ self._configuration = _configuration
48
+
49
+ self._cells = None
50
+ self.discriminator = None
51
+
52
+ if cells is not None:
53
+ self.cells = cells
54
+
55
+ @property
56
+ def cells(self):
57
+ """Gets the cells of this RowForExecuteSQLOutput. # noqa: E501
58
+
59
+
60
+ :return: The cells of this RowForExecuteSQLOutput. # noqa: E501
61
+ :rtype: list[str]
62
+ """
63
+ return self._cells
64
+
65
+ @cells.setter
66
+ def cells(self, cells):
67
+ """Sets the cells of this RowForExecuteSQLOutput.
68
+
69
+
70
+ :param cells: The cells of this RowForExecuteSQLOutput. # noqa: E501
71
+ :type: list[str]
72
+ """
73
+
74
+ self._cells = cells
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(RowForExecuteSQLOutput, 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, RowForExecuteSQLOutput):
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, RowForExecuteSQLOutput):
121
+ return True
122
+
123
+ return self.to_dict() != other.to_dict()
@@ -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 RunningInfoForExecuteSQLOutput(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
+ 'info': 'str',
37
+ 'is_online_ddl': 'bool',
38
+ 'progress': 'str',
39
+ 'task_id': 'str'
40
+ }
41
+
42
+ attribute_map = {
43
+ 'info': 'Info',
44
+ 'is_online_ddl': 'IsOnlineDDL',
45
+ 'progress': 'Progress',
46
+ 'task_id': 'TaskID'
47
+ }
48
+
49
+ def __init__(self, info=None, is_online_ddl=None, progress=None, task_id=None, _configuration=None): # noqa: E501
50
+ """RunningInfoForExecuteSQLOutput - a model defined in Swagger""" # noqa: E501
51
+ if _configuration is None:
52
+ _configuration = Configuration()
53
+ self._configuration = _configuration
54
+
55
+ self._info = None
56
+ self._is_online_ddl = None
57
+ self._progress = None
58
+ self._task_id = None
59
+ self.discriminator = None
60
+
61
+ if info is not None:
62
+ self.info = info
63
+ if is_online_ddl is not None:
64
+ self.is_online_ddl = is_online_ddl
65
+ if progress is not None:
66
+ self.progress = progress
67
+ if task_id is not None:
68
+ self.task_id = task_id
69
+
70
+ @property
71
+ def info(self):
72
+ """Gets the info of this RunningInfoForExecuteSQLOutput. # noqa: E501
73
+
74
+
75
+ :return: The info of this RunningInfoForExecuteSQLOutput. # noqa: E501
76
+ :rtype: str
77
+ """
78
+ return self._info
79
+
80
+ @info.setter
81
+ def info(self, info):
82
+ """Sets the info of this RunningInfoForExecuteSQLOutput.
83
+
84
+
85
+ :param info: The info of this RunningInfoForExecuteSQLOutput. # noqa: E501
86
+ :type: str
87
+ """
88
+
89
+ self._info = info
90
+
91
+ @property
92
+ def is_online_ddl(self):
93
+ """Gets the is_online_ddl of this RunningInfoForExecuteSQLOutput. # noqa: E501
94
+
95
+
96
+ :return: The is_online_ddl of this RunningInfoForExecuteSQLOutput. # noqa: E501
97
+ :rtype: bool
98
+ """
99
+ return self._is_online_ddl
100
+
101
+ @is_online_ddl.setter
102
+ def is_online_ddl(self, is_online_ddl):
103
+ """Sets the is_online_ddl of this RunningInfoForExecuteSQLOutput.
104
+
105
+
106
+ :param is_online_ddl: The is_online_ddl of this RunningInfoForExecuteSQLOutput. # noqa: E501
107
+ :type: bool
108
+ """
109
+
110
+ self._is_online_ddl = is_online_ddl
111
+
112
+ @property
113
+ def progress(self):
114
+ """Gets the progress of this RunningInfoForExecuteSQLOutput. # noqa: E501
115
+
116
+
117
+ :return: The progress of this RunningInfoForExecuteSQLOutput. # noqa: E501
118
+ :rtype: str
119
+ """
120
+ return self._progress
121
+
122
+ @progress.setter
123
+ def progress(self, progress):
124
+ """Sets the progress of this RunningInfoForExecuteSQLOutput.
125
+
126
+
127
+ :param progress: The progress of this RunningInfoForExecuteSQLOutput. # noqa: E501
128
+ :type: str
129
+ """
130
+
131
+ self._progress = progress
132
+
133
+ @property
134
+ def task_id(self):
135
+ """Gets the task_id of this RunningInfoForExecuteSQLOutput. # noqa: E501
136
+
137
+
138
+ :return: The task_id of this RunningInfoForExecuteSQLOutput. # noqa: E501
139
+ :rtype: str
140
+ """
141
+ return self._task_id
142
+
143
+ @task_id.setter
144
+ def task_id(self, task_id):
145
+ """Sets the task_id of this RunningInfoForExecuteSQLOutput.
146
+
147
+
148
+ :param task_id: The task_id of this RunningInfoForExecuteSQLOutput. # noqa: E501
149
+ :type: str
150
+ """
151
+
152
+ self._task_id = task_id
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(RunningInfoForExecuteSQLOutput, 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, RunningInfoForExecuteSQLOutput):
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, RunningInfoForExecuteSQLOutput):
199
+ return True
200
+
201
+ return self.to_dict() != other.to_dict()