volcengine-python-sdk 4.0.26__py2.py3-none-any.whl → 4.0.28__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 (427) hide show
  1. {volcengine_python_sdk-4.0.26.dist-info → volcengine_python_sdk-4.0.28.dist-info}/METADATA +1 -1
  2. {volcengine_python_sdk-4.0.26.dist-info → volcengine_python_sdk-4.0.28.dist-info}/RECORD +427 -44
  3. {volcengine_python_sdk-4.0.26.dist-info → volcengine_python_sdk-4.0.28.dist-info}/top_level.txt +1 -0
  4. volcenginesdkacep/__init__.py +15 -0
  5. volcenginesdkacep/api/acep_api.py +485 -0
  6. volcenginesdkacep/models/__init__.py +15 -0
  7. volcenginesdkacep/models/backup_data_request.py +176 -0
  8. volcenginesdkacep/models/backup_data_response.py +149 -0
  9. volcenginesdkacep/models/delete_backup_data_request.py +150 -0
  10. volcenginesdkacep/models/delete_backup_data_response.py +123 -0
  11. volcenginesdkacep/models/detail_for_backup_data_output.py +201 -0
  12. volcenginesdkacep/models/detail_for_delete_backup_data_output.py +175 -0
  13. volcenginesdkacep/models/detail_for_restore_data_output.py +175 -0
  14. volcenginesdkacep/models/get_dc_bandwidth_daily_peak_request.py +204 -0
  15. volcenginesdkacep/models/get_dc_bandwidth_daily_peak_response.py +123 -0
  16. volcenginesdkacep/models/list_backup_data_request.py +254 -0
  17. volcenginesdkacep/models/list_backup_data_response.py +149 -0
  18. volcenginesdkacep/models/restore_data_request.py +203 -0
  19. volcenginesdkacep/models/restore_data_response.py +149 -0
  20. volcenginesdkacep/models/row_for_get_dc_bandwidth_daily_peak_output.py +253 -0
  21. volcenginesdkacep/models/row_for_list_backup_data_output.py +799 -0
  22. volcenginesdkclb/__init__.py +10 -0
  23. volcenginesdkclb/api/clb_api.py +194 -0
  24. volcenginesdkclb/models/__init__.py +10 -0
  25. volcenginesdkclb/models/access_log_for_describe_network_load_balancer_attributes_output.py +175 -0
  26. volcenginesdkclb/models/add_domain_extension_for_modify_listener_domain_extensions_input.py +175 -0
  27. volcenginesdkclb/models/convert_load_balancer_billing_type_request.py +27 -1
  28. volcenginesdkclb/models/describe_listener_attributes_response.py +27 -1
  29. volcenginesdkclb/models/describe_network_load_balancer_attributes_response.py +27 -1
  30. volcenginesdkclb/models/describe_nlb_server_groups_request.py +53 -1
  31. volcenginesdkclb/models/domain_extension_for_describe_listener_attributes_output.py +201 -0
  32. volcenginesdkclb/models/domain_extension_for_describe_listeners_output.py +201 -0
  33. volcenginesdkclb/models/listener_for_describe_listeners_output.py +27 -1
  34. volcenginesdkclb/models/modify_domain_extension_for_modify_listener_domain_extensions_input.py +175 -0
  35. volcenginesdkclb/models/modify_listener_domain_extensions_request.py +202 -0
  36. volcenginesdkclb/models/modify_listener_domain_extensions_response.py +123 -0
  37. volcenginesdkclb/models/modify_network_load_balancer_access_log_request.py +202 -0
  38. volcenginesdkclb/models/modify_network_load_balancer_access_log_response.py +123 -0
  39. volcenginesdkclb/models/remove_domain_extension_for_modify_listener_domain_extensions_input.py +123 -0
  40. volcenginesdkcore/api_client.py +1 -1
  41. volcenginesdkcore/configuration.py +1 -1
  42. volcenginesdkcore/interceptor/interceptors/build_request_interceptor.py +4 -0
  43. volcenginesdkcore/interceptor/interceptors/sign_request_interceptor.py +1 -1
  44. volcenginesdkdbw/__init__.py +18 -0
  45. volcenginesdkdbw/api/dbw_api.py +388 -0
  46. volcenginesdkdbw/models/__init__.py +18 -0
  47. volcenginesdkdbw/models/column_for_get_table_info_output.py +331 -0
  48. volcenginesdkdbw/models/execute_sql_request.py +231 -0
  49. volcenginesdkdbw/models/execute_sql_response.py +123 -0
  50. volcenginesdkdbw/models/foreign_key_for_get_table_info_output.py +279 -0
  51. volcenginesdkdbw/models/get_table_info_request.py +205 -0
  52. volcenginesdkdbw/models/get_table_info_response.py +123 -0
  53. volcenginesdkdbw/models/index_for_get_table_info_output.py +201 -0
  54. volcenginesdkdbw/models/item_for_list_databases_output.py +279 -0
  55. volcenginesdkdbw/models/list_databases_request.py +203 -0
  56. volcenginesdkdbw/models/list_databases_response.py +149 -0
  57. volcenginesdkdbw/models/list_tables_request.py +230 -0
  58. volcenginesdkdbw/models/list_tables_response.py +149 -0
  59. volcenginesdkdbw/models/partition_options_for_get_table_info_output.py +175 -0
  60. volcenginesdkdbw/models/result_for_execute_sql_output.py +305 -0
  61. volcenginesdkdbw/models/row_for_execute_sql_output.py +123 -0
  62. volcenginesdkdbw/models/running_info_for_execute_sql_output.py +201 -0
  63. volcenginesdkdbw/models/table_meta_for_get_table_info_output.py +383 -0
  64. volcenginesdkdbw/models/table_options_for_get_table_info_output.py +331 -0
  65. volcenginesdkgraph/__init__.py +48 -0
  66. volcenginesdkgraph/api/graph_api.py +951 -78
  67. volcenginesdkgraph/models/__init__.py +48 -0
  68. volcenginesdkgraph/models/availability_zone_for_list_graph_rag_service_output.py +253 -0
  69. volcenginesdkgraph/models/bg3_link_for_list_graph_rag_service_output.py +175 -0
  70. volcenginesdkgraph/models/bytestore_info_for_list_graph_rag_service_output.py +201 -0
  71. volcenginesdkgraph/models/conf_checker_for_get_conf_checker_output.py +409 -0
  72. volcenginesdkgraph/models/conf_checker_for_update_conf_checker_input.py +409 -0
  73. volcenginesdkgraph/models/conf_checker_for_validate_conf_checker_input.py +409 -0
  74. volcenginesdkgraph/models/convert_value_for_list_tablets_output.py +149 -0
  75. volcenginesdkgraph/models/create_instance_request.py +29 -3
  76. volcenginesdkgraph/models/first_for_list_tablet_task_output.py +175 -0
  77. volcenginesdkgraph/models/get_conf_checker_request.py +253 -0
  78. volcenginesdkgraph/models/get_conf_checker_response.py +123 -0
  79. volcenginesdkgraph/models/graphrag_add_knowledge_base_request.py +178 -0
  80. volcenginesdkgraph/models/graphrag_add_knowledge_base_response.py +95 -0
  81. volcenginesdkgraph/models/image_info_for_list_graph_rag_service_output.py +227 -0
  82. volcenginesdkgraph/models/info_for_list_graph_rag_service_output.py +175 -0
  83. volcenginesdkgraph/models/info_for_list_tablet_task_output.py +201 -0
  84. volcenginesdkgraph/models/ins_spec_for_list_graph_rag_service_output.py +175 -0
  85. volcenginesdkgraph/models/list_graph_rag_service_request.py +178 -0
  86. volcenginesdkgraph/models/list_graph_rag_service_response.py +149 -0
  87. volcenginesdkgraph/models/list_tablet_server_request.py +150 -0
  88. volcenginesdkgraph/models/list_tablet_server_response.py +149 -0
  89. volcenginesdkgraph/models/list_tablet_task_request.py +177 -0
  90. volcenginesdkgraph/models/list_tablet_task_response.py +123 -0
  91. volcenginesdkgraph/models/list_tablets_request.py +254 -0
  92. volcenginesdkgraph/models/list_tablets_response.py +123 -0
  93. volcenginesdkgraph/models/migrate_tablet_replica_request.py +257 -0
  94. volcenginesdkgraph/models/migrate_tablet_replica_response.py +123 -0
  95. volcenginesdkgraph/models/pending_schedule_replica_for_list_tablets_output.py +149 -0
  96. volcenginesdkgraph/models/replica_info_for_list_tablets_output.py +149 -0
  97. volcenginesdkgraph/models/replicas_to_close_for_list_tablet_task_output.py +227 -0
  98. volcenginesdkgraph/models/replicas_to_delete_for_list_tablet_task_output.py +227 -0
  99. volcenginesdkgraph/models/replicas_to_failover_by_promote_for_list_tablet_task_output.py +149 -0
  100. volcenginesdkgraph/models/replicas_to_failover_by_reopen_for_list_tablet_task_output.py +149 -0
  101. volcenginesdkgraph/models/replicas_to_open_or_add_for_list_tablet_task_output.py +227 -0
  102. volcenginesdkgraph/models/second_for_list_tablet_task_output.py +175 -0
  103. volcenginesdkgraph/models/storage_info_for_list_graph_rag_service_output.py +149 -0
  104. volcenginesdkgraph/models/tablet_info_for_list_tablets_output.py +149 -0
  105. volcenginesdkgraph/models/tablet_server_info_for_list_tablet_server_output.py +227 -0
  106. volcenginesdkgraph/models/tablet_task_info_for_list_tablet_task_output.py +435 -0
  107. volcenginesdkgraph/models/tablet_to_merge_for_list_tablet_task_output.py +149 -0
  108. volcenginesdkgraph/models/tablet_to_split_for_list_tablet_task_output.py +175 -0
  109. volcenginesdkgraph/models/tablets_to_delete_for_list_tablet_task_output.py +175 -0
  110. volcenginesdkgraph/models/tag_for_list_graph_rag_service_output.py +149 -0
  111. volcenginesdkgraph/models/update_conf_checker_request.py +123 -0
  112. volcenginesdkgraph/models/update_conf_checker_response.py +123 -0
  113. volcenginesdkgraph/models/validate_conf_checker_request.py +123 -0
  114. volcenginesdkgraph/models/validate_conf_checker_response.py +149 -0
  115. volcenginesdkgraph/models/value_for_list_tablets_output.py +201 -0
  116. volcenginesdkgraph/models/ve_graph_info_for_list_graph_rag_service_output.py +851 -0
  117. volcenginesdkid/__init__.py +276 -0
  118. volcenginesdkid/api/__init__.py +6 -0
  119. volcenginesdkid/api/id_api.py +7891 -0
  120. volcenginesdkid/models/__init__.py +272 -0
  121. volcenginesdkid/models/api_key_auth_config_for_batch_get_inbound_auth_config_output.py +201 -0
  122. volcenginesdkid/models/api_key_auth_config_for_create_api_key_input.py +201 -0
  123. volcenginesdkid/models/api_key_auth_config_for_create_inbound_auth_config_input.py +201 -0
  124. volcenginesdkid/models/api_key_auth_config_for_create_inbound_auth_config_output.py +201 -0
  125. volcenginesdkid/models/api_key_auth_config_for_get_inbound_auth_config_output.py +201 -0
  126. volcenginesdkid/models/api_key_auth_config_for_list_inbound_auth_configs_output.py +201 -0
  127. volcenginesdkid/models/api_key_auth_config_for_update_inbound_auth_config_input.py +201 -0
  128. volcenginesdkid/models/api_key_credential_provider_for_batch_get_api_key_credential_providers_output.py +201 -0
  129. volcenginesdkid/models/api_key_credential_provider_for_list_api_key_credential_providers_output.py +201 -0
  130. volcenginesdkid/models/api_key_metadata_for_batch_get_inbound_auth_config_output.py +149 -0
  131. volcenginesdkid/models/api_key_metadata_for_create_api_key_credential_provider_input.py +149 -0
  132. volcenginesdkid/models/api_key_metadata_for_create_api_key_input.py +149 -0
  133. volcenginesdkid/models/api_key_metadata_for_create_inbound_auth_config_input.py +149 -0
  134. volcenginesdkid/models/api_key_metadata_for_create_inbound_auth_config_output.py +149 -0
  135. volcenginesdkid/models/api_key_metadata_for_get_api_key_credential_provider_output.py +149 -0
  136. volcenginesdkid/models/api_key_metadata_for_get_inbound_auth_config_output.py +149 -0
  137. volcenginesdkid/models/api_key_metadata_for_get_resource_api_key_output.py +149 -0
  138. volcenginesdkid/models/api_key_metadata_for_list_inbound_auth_configs_output.py +149 -0
  139. volcenginesdkid/models/api_key_metadata_for_update_api_key_credential_provider_input.py +149 -0
  140. volcenginesdkid/models/api_key_metadata_for_update_inbound_auth_config_input.py +149 -0
  141. volcenginesdkid/models/attach_inbound_auth_config_request.py +151 -0
  142. volcenginesdkid/models/attach_inbound_auth_config_response.py +95 -0
  143. volcenginesdkid/models/authorization_server_metadata_for_create_oauth2_credential_provider_input.py +201 -0
  144. volcenginesdkid/models/authorization_server_metadata_for_get_oauth2_credential_provider_output.py +201 -0
  145. volcenginesdkid/models/authorization_server_metadata_for_update_oauth2_credential_provider_input.py +201 -0
  146. volcenginesdkid/models/batch_get_api_key_credential_providers_request.py +149 -0
  147. volcenginesdkid/models/batch_get_api_key_credential_providers_response.py +123 -0
  148. volcenginesdkid/models/batch_get_inbound_auth_config_request.py +123 -0
  149. volcenginesdkid/models/batch_get_inbound_auth_config_response.py +123 -0
  150. volcenginesdkid/models/batch_get_oauth2_credential_providers_request.py +149 -0
  151. volcenginesdkid/models/batch_get_oauth2_credential_providers_response.py +123 -0
  152. volcenginesdkid/models/check_api_key_request.py +124 -0
  153. volcenginesdkid/models/check_api_key_response.py +95 -0
  154. volcenginesdkid/models/check_permission_request.py +254 -0
  155. volcenginesdkid/models/check_permission_response.py +149 -0
  156. volcenginesdkid/models/config_for_create_oauth2_credential_provider_input.py +331 -0
  157. volcenginesdkid/models/config_for_get_oauth2_credential_provider_output.py +331 -0
  158. volcenginesdkid/models/config_for_update_oauth2_credential_provider_input.py +331 -0
  159. volcenginesdkid/models/create_api_key_credential_provider_request.py +203 -0
  160. volcenginesdkid/models/create_api_key_credential_provider_response.py +175 -0
  161. volcenginesdkid/models/create_api_key_request.py +150 -0
  162. volcenginesdkid/models/create_api_key_response.py +95 -0
  163. volcenginesdkid/models/create_identity_provider_o_auth_request.py +419 -0
  164. volcenginesdkid/models/create_identity_provider_o_auth_response.py +409 -0
  165. volcenginesdkid/models/create_identity_provider_oidc_request.py +365 -0
  166. volcenginesdkid/models/create_identity_provider_oidc_response.py +357 -0
  167. volcenginesdkid/models/create_inbound_auth_config_request.py +254 -0
  168. volcenginesdkid/models/create_inbound_auth_config_response.py +357 -0
  169. volcenginesdkid/models/create_namespace_request.py +149 -0
  170. volcenginesdkid/models/create_namespace_response.py +175 -0
  171. volcenginesdkid/models/create_oauth2_credential_provider_request.py +206 -0
  172. volcenginesdkid/models/create_oauth2_credential_provider_response.py +175 -0
  173. volcenginesdkid/models/create_policy_request.py +149 -0
  174. volcenginesdkid/models/create_policy_response.py +175 -0
  175. volcenginesdkid/models/create_user_pool_client_request.py +230 -0
  176. volcenginesdkid/models/create_user_pool_client_response.py +461 -0
  177. volcenginesdkid/models/create_user_pool_request.py +150 -0
  178. volcenginesdkid/models/create_user_pool_response.py +383 -0
  179. volcenginesdkid/models/create_user_request.py +410 -0
  180. volcenginesdkid/models/create_user_response.py +773 -0
  181. volcenginesdkid/models/create_users_csv_request.py +124 -0
  182. volcenginesdkid/models/create_users_csv_response.py +201 -0
  183. volcenginesdkid/models/create_users_request.py +150 -0
  184. volcenginesdkid/models/create_users_response.py +201 -0
  185. volcenginesdkid/models/create_workload_identity_request.py +228 -0
  186. volcenginesdkid/models/create_workload_identity_response.py +305 -0
  187. volcenginesdkid/models/create_workload_pool_request.py +149 -0
  188. volcenginesdkid/models/create_workload_pool_response.py +253 -0
  189. volcenginesdkid/models/credential_provider_for_list_credential_providers_output.py +253 -0
  190. volcenginesdkid/models/custom_parameters_for_create_oauth2_credential_provider_input.py +123 -0
  191. volcenginesdkid/models/custom_parameters_for_get_oauth2_credential_provider_output.py +123 -0
  192. volcenginesdkid/models/custom_parameters_for_get_resource_oauth2_token_input.py +123 -0
  193. volcenginesdkid/models/custom_parameters_for_update_oauth2_credential_provider_input.py +123 -0
  194. volcenginesdkid/models/data_for_list_identity_providers_o_auth_output.py +409 -0
  195. volcenginesdkid/models/data_for_list_identity_providers_oidc_output.py +357 -0
  196. volcenginesdkid/models/data_for_list_identity_providers_output.py +227 -0
  197. volcenginesdkid/models/data_for_list_policies_output.py +175 -0
  198. volcenginesdkid/models/data_for_list_user_pool_clients_output.py +253 -0
  199. volcenginesdkid/models/data_for_list_user_pools_output.py +279 -0
  200. volcenginesdkid/models/data_for_list_users_output.py +773 -0
  201. volcenginesdkid/models/delete_api_key_credential_provider_request.py +150 -0
  202. volcenginesdkid/models/delete_api_key_credential_provider_response.py +95 -0
  203. volcenginesdkid/models/delete_api_key_request.py +151 -0
  204. volcenginesdkid/models/delete_api_key_response.py +95 -0
  205. volcenginesdkid/models/delete_identity_provider_o_auth_request.py +151 -0
  206. volcenginesdkid/models/delete_identity_provider_o_auth_response.py +123 -0
  207. volcenginesdkid/models/delete_identity_provider_oidc_request.py +151 -0
  208. volcenginesdkid/models/delete_identity_provider_oidc_response.py +123 -0
  209. volcenginesdkid/models/delete_identity_provider_request.py +151 -0
  210. volcenginesdkid/models/delete_identity_provider_response.py +123 -0
  211. volcenginesdkid/models/delete_inbound_auth_config_request.py +124 -0
  212. volcenginesdkid/models/delete_inbound_auth_config_response.py +95 -0
  213. volcenginesdkid/models/delete_namespace_request.py +123 -0
  214. volcenginesdkid/models/delete_namespace_response.py +149 -0
  215. volcenginesdkid/models/delete_oauth2_credential_provider_request.py +150 -0
  216. volcenginesdkid/models/delete_oauth2_credential_provider_response.py +95 -0
  217. volcenginesdkid/models/delete_policy_request.py +149 -0
  218. volcenginesdkid/models/delete_policy_response.py +149 -0
  219. volcenginesdkid/models/delete_user_pool_client_request.py +151 -0
  220. volcenginesdkid/models/delete_user_pool_client_response.py +123 -0
  221. volcenginesdkid/models/delete_user_pool_request.py +124 -0
  222. volcenginesdkid/models/delete_user_pool_response.py +123 -0
  223. volcenginesdkid/models/delete_users_request.py +150 -0
  224. volcenginesdkid/models/delete_users_response.py +201 -0
  225. volcenginesdkid/models/delete_workload_identity_request.py +150 -0
  226. volcenginesdkid/models/delete_workload_identity_response.py +95 -0
  227. volcenginesdkid/models/delete_workload_pool_request.py +123 -0
  228. volcenginesdkid/models/delete_workload_pool_response.py +95 -0
  229. volcenginesdkid/models/detach_inbound_auth_config_request.py +151 -0
  230. volcenginesdkid/models/detach_inbound_auth_config_response.py +95 -0
  231. volcenginesdkid/models/entity_for_check_permission_input.py +149 -0
  232. volcenginesdkid/models/entry_for_create_oauth2_credential_provider_input.py +149 -0
  233. volcenginesdkid/models/entry_for_get_oauth2_credential_provider_output.py +149 -0
  234. volcenginesdkid/models/entry_for_get_resource_oauth2_token_input.py +149 -0
  235. volcenginesdkid/models/entry_for_update_oauth2_credential_provider_input.py +149 -0
  236. volcenginesdkid/models/filter_for_list_identity_providers_input.py +149 -0
  237. volcenginesdkid/models/filter_for_list_user_pool_clients_input.py +175 -0
  238. volcenginesdkid/models/filter_for_list_user_pools_input.py +201 -0
  239. volcenginesdkid/models/filter_for_list_users_input.py +435 -0
  240. volcenginesdkid/models/get_api_key_credential_provider_request.py +150 -0
  241. volcenginesdkid/models/get_api_key_credential_provider_response.py +279 -0
  242. volcenginesdkid/models/get_identity_provider_o_auth_request.py +151 -0
  243. volcenginesdkid/models/get_identity_provider_o_auth_response.py +409 -0
  244. volcenginesdkid/models/get_identity_provider_oidc_request.py +151 -0
  245. volcenginesdkid/models/get_identity_provider_oidc_response.py +357 -0
  246. volcenginesdkid/models/get_inbound_auth_config_request.py +124 -0
  247. volcenginesdkid/models/get_inbound_auth_config_response.py +357 -0
  248. volcenginesdkid/models/get_namespace_request.py +149 -0
  249. volcenginesdkid/models/get_namespace_response.py +201 -0
  250. volcenginesdkid/models/get_oauth2_credential_provider_request.py +150 -0
  251. volcenginesdkid/models/get_oauth2_credential_provider_response.py +305 -0
  252. volcenginesdkid/models/get_policy_request.py +149 -0
  253. volcenginesdkid/models/get_policy_response.py +175 -0
  254. volcenginesdkid/models/get_resource_api_key_request.py +177 -0
  255. volcenginesdkid/models/get_resource_api_key_response.py +149 -0
  256. volcenginesdkid/models/get_resource_oauth2_token_request.py +307 -0
  257. volcenginesdkid/models/get_resource_oauth2_token_response.py +149 -0
  258. volcenginesdkid/models/get_user_csv_template_request.py +124 -0
  259. volcenginesdkid/models/get_user_csv_template_response.py +95 -0
  260. volcenginesdkid/models/get_user_pool_client_request.py +151 -0
  261. volcenginesdkid/models/get_user_pool_client_response.py +461 -0
  262. volcenginesdkid/models/get_user_pool_request.py +124 -0
  263. volcenginesdkid/models/get_user_pool_response.py +383 -0
  264. volcenginesdkid/models/get_user_request.py +151 -0
  265. volcenginesdkid/models/get_user_response.py +773 -0
  266. volcenginesdkid/models/get_workload_access_token_for_jwt_request.py +176 -0
  267. volcenginesdkid/models/get_workload_access_token_for_jwt_response.py +149 -0
  268. volcenginesdkid/models/get_workload_access_token_for_user_id_request.py +176 -0
  269. volcenginesdkid/models/get_workload_access_token_for_user_id_response.py +149 -0
  270. volcenginesdkid/models/get_workload_access_token_request.py +149 -0
  271. volcenginesdkid/models/get_workload_access_token_response.py +149 -0
  272. volcenginesdkid/models/get_workload_identity_request.py +150 -0
  273. volcenginesdkid/models/get_workload_identity_response.py +305 -0
  274. volcenginesdkid/models/get_workload_pool_request.py +149 -0
  275. volcenginesdkid/models/get_workload_pool_response.py +253 -0
  276. volcenginesdkid/models/grant_permission_request.py +228 -0
  277. volcenginesdkid/models/grant_permission_response.py +175 -0
  278. volcenginesdkid/models/id_token_for_create_user_pool_client_output.py +123 -0
  279. volcenginesdkid/models/id_token_for_get_user_pool_client_output.py +123 -0
  280. volcenginesdkid/models/id_token_for_update_user_pool_client_input.py +123 -0
  281. volcenginesdkid/models/id_token_for_update_user_pool_client_output.py +123 -0
  282. volcenginesdkid/models/inbound_auth_config_for_batch_get_inbound_auth_config_output.py +357 -0
  283. volcenginesdkid/models/inbound_auth_config_for_list_inbound_auth_configs_output.py +357 -0
  284. volcenginesdkid/models/jwt_auth_config_for_batch_get_inbound_auth_config_output.py +175 -0
  285. volcenginesdkid/models/jwt_auth_config_for_create_inbound_auth_config_input.py +175 -0
  286. volcenginesdkid/models/jwt_auth_config_for_create_inbound_auth_config_output.py +175 -0
  287. volcenginesdkid/models/jwt_auth_config_for_get_inbound_auth_config_output.py +175 -0
  288. volcenginesdkid/models/jwt_auth_config_for_list_inbound_auth_configs_output.py +175 -0
  289. volcenginesdkid/models/jwt_auth_config_for_update_inbound_auth_config_input.py +175 -0
  290. volcenginesdkid/models/list_api_key_credential_providers_request.py +177 -0
  291. volcenginesdkid/models/list_api_key_credential_providers_response.py +201 -0
  292. volcenginesdkid/models/list_credential_providers_request.py +177 -0
  293. volcenginesdkid/models/list_credential_providers_response.py +201 -0
  294. volcenginesdkid/models/list_identity_providers_o_auth_request.py +124 -0
  295. volcenginesdkid/models/list_identity_providers_o_auth_response.py +201 -0
  296. volcenginesdkid/models/list_identity_providers_oidc_request.py +124 -0
  297. volcenginesdkid/models/list_identity_providers_oidc_response.py +201 -0
  298. volcenginesdkid/models/list_identity_providers_request.py +204 -0
  299. volcenginesdkid/models/list_identity_providers_response.py +201 -0
  300. volcenginesdkid/models/list_inbound_auth_configs_request.py +203 -0
  301. volcenginesdkid/models/list_inbound_auth_configs_response.py +201 -0
  302. volcenginesdkid/models/list_namespaces_request.py +149 -0
  303. volcenginesdkid/models/list_namespaces_response.py +201 -0
  304. volcenginesdkid/models/list_oauth2_credential_providers_request.py +177 -0
  305. volcenginesdkid/models/list_oauth2_credential_providers_response.py +201 -0
  306. volcenginesdkid/models/list_policies_request.py +123 -0
  307. volcenginesdkid/models/list_policies_response.py +123 -0
  308. volcenginesdkid/models/list_user_pool_clients_request.py +256 -0
  309. volcenginesdkid/models/list_user_pool_clients_response.py +201 -0
  310. volcenginesdkid/models/list_user_pools_request.py +229 -0
  311. volcenginesdkid/models/list_user_pools_response.py +201 -0
  312. volcenginesdkid/models/list_users_request.py +256 -0
  313. volcenginesdkid/models/list_users_response.py +201 -0
  314. volcenginesdkid/models/list_workload_identities_request.py +209 -0
  315. volcenginesdkid/models/list_workload_identities_response.py +201 -0
  316. volcenginesdkid/models/list_workload_pools_request.py +157 -0
  317. volcenginesdkid/models/list_workload_pools_response.py +201 -0
  318. volcenginesdkid/models/oauth2_callback_request.py +178 -0
  319. volcenginesdkid/models/oauth2_callback_response.py +123 -0
  320. volcenginesdkid/models/oauth2_credential_provider_for_batch_get_oauth2_credential_providers_output.py +227 -0
  321. volcenginesdkid/models/oauth2_credential_provider_for_list_oauth2_credential_providers_output.py +227 -0
  322. volcenginesdkid/models/oauth2_discovery_for_create_oauth2_credential_provider_input.py +149 -0
  323. volcenginesdkid/models/oauth2_discovery_for_get_oauth2_credential_provider_output.py +149 -0
  324. volcenginesdkid/models/oauth2_discovery_for_update_oauth2_credential_provider_input.py +149 -0
  325. volcenginesdkid/models/operation_for_check_permission_input.py +149 -0
  326. volcenginesdkid/models/operation_for_grant_permission_input.py +175 -0
  327. volcenginesdkid/models/original_caller_for_check_permission_input.py +149 -0
  328. volcenginesdkid/models/original_caller_for_grant_permission_input.py +175 -0
  329. volcenginesdkid/models/parent_for_check_permission_input.py +149 -0
  330. volcenginesdkid/models/principal_for_check_permission_input.py +149 -0
  331. volcenginesdkid/models/principal_for_grant_permission_input.py +175 -0
  332. volcenginesdkid/models/provider_options_for_create_identity_provider_o_auth_input.py +227 -0
  333. volcenginesdkid/models/provider_options_for_create_identity_provider_o_auth_output.py +227 -0
  334. volcenginesdkid/models/provider_options_for_create_identity_provider_oidc_input.py +227 -0
  335. volcenginesdkid/models/provider_options_for_create_identity_provider_oidc_output.py +227 -0
  336. volcenginesdkid/models/provider_options_for_get_identity_provider_o_auth_output.py +227 -0
  337. volcenginesdkid/models/provider_options_for_get_identity_provider_oidc_output.py +227 -0
  338. volcenginesdkid/models/provider_options_for_list_identity_providers_o_auth_output.py +227 -0
  339. volcenginesdkid/models/provider_options_for_list_identity_providers_oidc_output.py +227 -0
  340. volcenginesdkid/models/provider_options_for_update_identity_provider_o_auth_input.py +227 -0
  341. volcenginesdkid/models/provider_options_for_update_identity_provider_o_auth_output.py +227 -0
  342. volcenginesdkid/models/provider_options_for_update_identity_provider_oidc_input.py +227 -0
  343. volcenginesdkid/models/provider_options_for_update_identity_provider_oidc_output.py +227 -0
  344. volcenginesdkid/models/reference_for_check_permission_input.py +149 -0
  345. volcenginesdkid/models/refresh_token_for_create_user_pool_client_output.py +227 -0
  346. volcenginesdkid/models/refresh_token_for_get_user_pool_client_output.py +227 -0
  347. volcenginesdkid/models/refresh_token_for_update_user_pool_client_input.py +227 -0
  348. volcenginesdkid/models/refresh_token_for_update_user_pool_client_output.py +227 -0
  349. volcenginesdkid/models/resource_for_check_permission_input.py +149 -0
  350. volcenginesdkid/models/resource_for_grant_permission_input.py +175 -0
  351. volcenginesdkid/models/update_api_key_credential_provider_request.py +202 -0
  352. volcenginesdkid/models/update_api_key_credential_provider_response.py +227 -0
  353. volcenginesdkid/models/update_identity_provider_o_auth_request.py +440 -0
  354. volcenginesdkid/models/update_identity_provider_o_auth_response.py +409 -0
  355. volcenginesdkid/models/update_identity_provider_oidc_request.py +388 -0
  356. volcenginesdkid/models/update_identity_provider_oidc_response.py +357 -0
  357. volcenginesdkid/models/update_inbound_auth_config_request.py +202 -0
  358. volcenginesdkid/models/update_inbound_auth_config_response.py +95 -0
  359. volcenginesdkid/models/update_namespace_request.py +149 -0
  360. volcenginesdkid/models/update_namespace_response.py +149 -0
  361. volcenginesdkid/models/update_oauth2_credential_provider_request.py +176 -0
  362. volcenginesdkid/models/update_oauth2_credential_provider_response.py +227 -0
  363. volcenginesdkid/models/update_user_pool_client_request.py +359 -0
  364. volcenginesdkid/models/update_user_pool_client_response.py +461 -0
  365. volcenginesdkid/models/update_user_pool_request.py +176 -0
  366. volcenginesdkid/models/update_user_pool_response.py +383 -0
  367. volcenginesdkid/models/update_user_request.py +411 -0
  368. volcenginesdkid/models/update_user_response.py +773 -0
  369. volcenginesdkid/models/update_workload_identity_request.py +202 -0
  370. volcenginesdkid/models/update_workload_identity_response.py +95 -0
  371. volcenginesdkid/models/update_workload_pool_request.py +149 -0
  372. volcenginesdkid/models/update_workload_pool_response.py +95 -0
  373. volcenginesdkid/models/user_for_create_users_input.py +383 -0
  374. volcenginesdkid/models/workload_identity_for_list_workload_identities_output.py +305 -0
  375. volcenginesdkid/models/workload_pool_for_list_workload_pools_output.py +253 -0
  376. volcenginesdklivesaas/__init__.py +3 -0
  377. volcenginesdklivesaas/models/__init__.py +3 -0
  378. volcenginesdklivesaas/models/auto_start_config_for_create_activity_apiv2_input.py +175 -0
  379. volcenginesdklivesaas/models/auto_start_config_for_get_activity_basic_config_api_output.py +175 -0
  380. volcenginesdklivesaas/models/auto_start_config_for_update_activity_basic_config_api_input.py +175 -0
  381. volcenginesdklivesaas/models/create_activity_apiv2_request.py +27 -1
  382. volcenginesdklivesaas/models/get_activity_basic_config_api_response.py +79 -1
  383. volcenginesdklivesaas/models/update_activity_basic_config_api_request.py +53 -1
  384. volcenginesdkvefaas/__init__.py +4 -0
  385. volcenginesdkvefaas/api/vefaas_api.py +194 -0
  386. volcenginesdkvefaas/models/__init__.py +4 -0
  387. volcenginesdkvefaas/models/enable_user_cr_vpc_tunnel_request.py +124 -0
  388. volcenginesdkvefaas/models/enable_user_cr_vpc_tunnel_response.py +149 -0
  389. volcenginesdkvefaas/models/query_user_cr_vpc_tunnel_request.py +124 -0
  390. volcenginesdkvefaas/models/query_user_cr_vpc_tunnel_response.py +123 -0
  391. volcenginesdkvke/models/scheduled_instance_policy_for_create_scaling_policy_input.py +27 -1
  392. volcenginesdkvke/models/scheduled_instance_policy_for_list_scaling_policies_output.py +27 -1
  393. volcenginesdkvke/models/scheduled_instance_policy_for_update_scaling_policy_input.py +27 -1
  394. volcenginesdkvod20250101/__init__.py +26 -0
  395. volcenginesdkvod20250101/api/vod20250101_api.py +888 -112
  396. volcenginesdkvod20250101/models/__init__.py +26 -0
  397. volcenginesdkvod20250101/models/create_ai_termbase_request.py +256 -0
  398. volcenginesdkvod20250101/models/create_ai_termbase_response.py +123 -0
  399. volcenginesdkvod20250101/models/delete_ai_term_item_request.py +177 -0
  400. volcenginesdkvod20250101/models/delete_ai_term_item_response.py +95 -0
  401. volcenginesdkvod20250101/models/delete_ai_termbase_request.py +151 -0
  402. volcenginesdkvod20250101/models/delete_ai_termbase_response.py +95 -0
  403. volcenginesdkvod20250101/models/get_ai_termbase_request.py +151 -0
  404. volcenginesdkvod20250101/models/get_ai_termbase_response.py +123 -0
  405. volcenginesdkvod20250101/models/list_ai_termbase_request.py +124 -0
  406. volcenginesdkvod20250101/models/list_ai_termbase_response.py +123 -0
  407. volcenginesdkvod20250101/models/process_config_for_submit_ai_translation_workflow_input.py +53 -1
  408. volcenginesdkvod20250101/models/process_config_for_update_ai_translation_project_config_input.py +149 -0
  409. volcenginesdkvod20250101/models/scenario_for_create_ai_termbase_input.py +95 -0
  410. volcenginesdkvod20250101/models/set_ai_term_item_request.py +177 -0
  411. volcenginesdkvod20250101/models/set_ai_term_item_response.py +95 -0
  412. volcenginesdkvod20250101/models/term_item_for_create_ai_termbase_output.py +149 -0
  413. volcenginesdkvod20250101/models/term_item_for_get_ai_termbase_output.py +149 -0
  414. volcenginesdkvod20250101/models/term_item_for_list_ai_termbase_output.py +149 -0
  415. volcenginesdkvod20250101/models/term_item_for_set_ai_term_item_input.py +149 -0
  416. volcenginesdkvod20250101/models/termbase_config_for_submit_ai_translation_workflow_input.py +123 -0
  417. volcenginesdkvod20250101/models/termbase_for_create_ai_termbase_output.py +279 -0
  418. volcenginesdkvod20250101/models/termbase_for_get_ai_termbase_output.py +279 -0
  419. volcenginesdkvod20250101/models/termbase_for_list_ai_termbase_output.py +279 -0
  420. volcenginesdkvod20250101/models/translation_config_for_submit_ai_translation_workflow_input.py +27 -1
  421. volcenginesdkvod20250101/models/update_ai_termbase_request.py +203 -0
  422. volcenginesdkvod20250101/models/update_ai_termbase_response.py +95 -0
  423. volcenginesdkvod20250101/models/update_ai_translation_project_config_request.py +204 -0
  424. volcenginesdkvod20250101/models/update_ai_translation_project_config_response.py +95 -0
  425. {volcengine_python_sdk-4.0.26.dist-info → volcengine_python_sdk-4.0.28.dist-info}/WHEEL +0 -0
  426. {volcengine_python_sdk-4.0.26.dist-info → volcengine_python_sdk-4.0.28.dist-info}/licenses/LICENSE.txt +0 -0
  427. {volcengine_python_sdk-4.0.26.dist-info → volcengine_python_sdk-4.0.28.dist-info}/licenses/NOTICE.md +0 -0
@@ -0,0 +1,331 @@
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 ColumnForGetTableInfoOutput(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
+ 'allow_be_null': 'bool',
37
+ 'comment': 'str',
38
+ 'default_value': 'str',
39
+ 'is_auto_increment': 'bool',
40
+ 'is_primary_key': 'bool',
41
+ 'length': 'str',
42
+ 'name': 'str',
43
+ 'primary_key_order': 'str',
44
+ 'type': 'str'
45
+ }
46
+
47
+ attribute_map = {
48
+ 'allow_be_null': 'AllowBeNull',
49
+ 'comment': 'Comment',
50
+ 'default_value': 'DefaultValue',
51
+ 'is_auto_increment': 'IsAutoIncrement',
52
+ 'is_primary_key': 'IsPrimaryKey',
53
+ 'length': 'Length',
54
+ 'name': 'Name',
55
+ 'primary_key_order': 'PrimaryKeyOrder',
56
+ 'type': 'Type'
57
+ }
58
+
59
+ def __init__(self, allow_be_null=None, comment=None, default_value=None, is_auto_increment=None, is_primary_key=None, length=None, name=None, primary_key_order=None, type=None, _configuration=None): # noqa: E501
60
+ """ColumnForGetTableInfoOutput - a model defined in Swagger""" # noqa: E501
61
+ if _configuration is None:
62
+ _configuration = Configuration()
63
+ self._configuration = _configuration
64
+
65
+ self._allow_be_null = None
66
+ self._comment = None
67
+ self._default_value = None
68
+ self._is_auto_increment = None
69
+ self._is_primary_key = None
70
+ self._length = None
71
+ self._name = None
72
+ self._primary_key_order = None
73
+ self._type = None
74
+ self.discriminator = None
75
+
76
+ if allow_be_null is not None:
77
+ self.allow_be_null = allow_be_null
78
+ if comment is not None:
79
+ self.comment = comment
80
+ if default_value is not None:
81
+ self.default_value = default_value
82
+ if is_auto_increment is not None:
83
+ self.is_auto_increment = is_auto_increment
84
+ if is_primary_key is not None:
85
+ self.is_primary_key = is_primary_key
86
+ if length is not None:
87
+ self.length = length
88
+ if name is not None:
89
+ self.name = name
90
+ if primary_key_order is not None:
91
+ self.primary_key_order = primary_key_order
92
+ if type is not None:
93
+ self.type = type
94
+
95
+ @property
96
+ def allow_be_null(self):
97
+ """Gets the allow_be_null of this ColumnForGetTableInfoOutput. # noqa: E501
98
+
99
+
100
+ :return: The allow_be_null of this ColumnForGetTableInfoOutput. # noqa: E501
101
+ :rtype: bool
102
+ """
103
+ return self._allow_be_null
104
+
105
+ @allow_be_null.setter
106
+ def allow_be_null(self, allow_be_null):
107
+ """Sets the allow_be_null of this ColumnForGetTableInfoOutput.
108
+
109
+
110
+ :param allow_be_null: The allow_be_null of this ColumnForGetTableInfoOutput. # noqa: E501
111
+ :type: bool
112
+ """
113
+
114
+ self._allow_be_null = allow_be_null
115
+
116
+ @property
117
+ def comment(self):
118
+ """Gets the comment of this ColumnForGetTableInfoOutput. # noqa: E501
119
+
120
+
121
+ :return: The comment of this ColumnForGetTableInfoOutput. # noqa: E501
122
+ :rtype: str
123
+ """
124
+ return self._comment
125
+
126
+ @comment.setter
127
+ def comment(self, comment):
128
+ """Sets the comment of this ColumnForGetTableInfoOutput.
129
+
130
+
131
+ :param comment: The comment of this ColumnForGetTableInfoOutput. # noqa: E501
132
+ :type: str
133
+ """
134
+
135
+ self._comment = comment
136
+
137
+ @property
138
+ def default_value(self):
139
+ """Gets the default_value of this ColumnForGetTableInfoOutput. # noqa: E501
140
+
141
+
142
+ :return: The default_value of this ColumnForGetTableInfoOutput. # noqa: E501
143
+ :rtype: str
144
+ """
145
+ return self._default_value
146
+
147
+ @default_value.setter
148
+ def default_value(self, default_value):
149
+ """Sets the default_value of this ColumnForGetTableInfoOutput.
150
+
151
+
152
+ :param default_value: The default_value of this ColumnForGetTableInfoOutput. # noqa: E501
153
+ :type: str
154
+ """
155
+
156
+ self._default_value = default_value
157
+
158
+ @property
159
+ def is_auto_increment(self):
160
+ """Gets the is_auto_increment of this ColumnForGetTableInfoOutput. # noqa: E501
161
+
162
+
163
+ :return: The is_auto_increment of this ColumnForGetTableInfoOutput. # noqa: E501
164
+ :rtype: bool
165
+ """
166
+ return self._is_auto_increment
167
+
168
+ @is_auto_increment.setter
169
+ def is_auto_increment(self, is_auto_increment):
170
+ """Sets the is_auto_increment of this ColumnForGetTableInfoOutput.
171
+
172
+
173
+ :param is_auto_increment: The is_auto_increment of this ColumnForGetTableInfoOutput. # noqa: E501
174
+ :type: bool
175
+ """
176
+
177
+ self._is_auto_increment = is_auto_increment
178
+
179
+ @property
180
+ def is_primary_key(self):
181
+ """Gets the is_primary_key of this ColumnForGetTableInfoOutput. # noqa: E501
182
+
183
+
184
+ :return: The is_primary_key of this ColumnForGetTableInfoOutput. # noqa: E501
185
+ :rtype: bool
186
+ """
187
+ return self._is_primary_key
188
+
189
+ @is_primary_key.setter
190
+ def is_primary_key(self, is_primary_key):
191
+ """Sets the is_primary_key of this ColumnForGetTableInfoOutput.
192
+
193
+
194
+ :param is_primary_key: The is_primary_key of this ColumnForGetTableInfoOutput. # noqa: E501
195
+ :type: bool
196
+ """
197
+
198
+ self._is_primary_key = is_primary_key
199
+
200
+ @property
201
+ def length(self):
202
+ """Gets the length of this ColumnForGetTableInfoOutput. # noqa: E501
203
+
204
+
205
+ :return: The length of this ColumnForGetTableInfoOutput. # noqa: E501
206
+ :rtype: str
207
+ """
208
+ return self._length
209
+
210
+ @length.setter
211
+ def length(self, length):
212
+ """Sets the length of this ColumnForGetTableInfoOutput.
213
+
214
+
215
+ :param length: The length of this ColumnForGetTableInfoOutput. # noqa: E501
216
+ :type: str
217
+ """
218
+
219
+ self._length = length
220
+
221
+ @property
222
+ def name(self):
223
+ """Gets the name of this ColumnForGetTableInfoOutput. # noqa: E501
224
+
225
+
226
+ :return: The name of this ColumnForGetTableInfoOutput. # noqa: E501
227
+ :rtype: str
228
+ """
229
+ return self._name
230
+
231
+ @name.setter
232
+ def name(self, name):
233
+ """Sets the name of this ColumnForGetTableInfoOutput.
234
+
235
+
236
+ :param name: The name of this ColumnForGetTableInfoOutput. # noqa: E501
237
+ :type: str
238
+ """
239
+
240
+ self._name = name
241
+
242
+ @property
243
+ def primary_key_order(self):
244
+ """Gets the primary_key_order of this ColumnForGetTableInfoOutput. # noqa: E501
245
+
246
+
247
+ :return: The primary_key_order of this ColumnForGetTableInfoOutput. # noqa: E501
248
+ :rtype: str
249
+ """
250
+ return self._primary_key_order
251
+
252
+ @primary_key_order.setter
253
+ def primary_key_order(self, primary_key_order):
254
+ """Sets the primary_key_order of this ColumnForGetTableInfoOutput.
255
+
256
+
257
+ :param primary_key_order: The primary_key_order of this ColumnForGetTableInfoOutput. # noqa: E501
258
+ :type: str
259
+ """
260
+
261
+ self._primary_key_order = primary_key_order
262
+
263
+ @property
264
+ def type(self):
265
+ """Gets the type of this ColumnForGetTableInfoOutput. # noqa: E501
266
+
267
+
268
+ :return: The type of this ColumnForGetTableInfoOutput. # noqa: E501
269
+ :rtype: str
270
+ """
271
+ return self._type
272
+
273
+ @type.setter
274
+ def type(self, type):
275
+ """Sets the type of this ColumnForGetTableInfoOutput.
276
+
277
+
278
+ :param type: The type of this ColumnForGetTableInfoOutput. # noqa: E501
279
+ :type: str
280
+ """
281
+
282
+ self._type = type
283
+
284
+ def to_dict(self):
285
+ """Returns the model properties as a dict"""
286
+ result = {}
287
+
288
+ for attr, _ in six.iteritems(self.swagger_types):
289
+ value = getattr(self, attr)
290
+ if isinstance(value, list):
291
+ result[attr] = list(map(
292
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
293
+ value
294
+ ))
295
+ elif hasattr(value, "to_dict"):
296
+ result[attr] = value.to_dict()
297
+ elif isinstance(value, dict):
298
+ result[attr] = dict(map(
299
+ lambda item: (item[0], item[1].to_dict())
300
+ if hasattr(item[1], "to_dict") else item,
301
+ value.items()
302
+ ))
303
+ else:
304
+ result[attr] = value
305
+ if issubclass(ColumnForGetTableInfoOutput, dict):
306
+ for key, value in self.items():
307
+ result[key] = value
308
+
309
+ return result
310
+
311
+ def to_str(self):
312
+ """Returns the string representation of the model"""
313
+ return pprint.pformat(self.to_dict())
314
+
315
+ def __repr__(self):
316
+ """For `print` and `pprint`"""
317
+ return self.to_str()
318
+
319
+ def __eq__(self, other):
320
+ """Returns true if both objects are equal"""
321
+ if not isinstance(other, ColumnForGetTableInfoOutput):
322
+ return False
323
+
324
+ return self.to_dict() == other.to_dict()
325
+
326
+ def __ne__(self, other):
327
+ """Returns true if both objects are not equal"""
328
+ if not isinstance(other, ColumnForGetTableInfoOutput):
329
+ return True
330
+
331
+ return self.to_dict() != other.to_dict()
@@ -0,0 +1,231 @@
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 ExecuteSQLRequest(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
+ 'commands': 'str',
37
+ 'database': 'str',
38
+ 'instance_id': 'str',
39
+ 'instance_type': 'str',
40
+ 'time_out_seconds': 'int'
41
+ }
42
+
43
+ attribute_map = {
44
+ 'commands': 'Commands',
45
+ 'database': 'Database',
46
+ 'instance_id': 'InstanceID',
47
+ 'instance_type': 'InstanceType',
48
+ 'time_out_seconds': 'TimeOutSeconds'
49
+ }
50
+
51
+ def __init__(self, commands=None, database=None, instance_id=None, instance_type=None, time_out_seconds=None, _configuration=None): # noqa: E501
52
+ """ExecuteSQLRequest - a model defined in Swagger""" # noqa: E501
53
+ if _configuration is None:
54
+ _configuration = Configuration()
55
+ self._configuration = _configuration
56
+
57
+ self._commands = None
58
+ self._database = None
59
+ self._instance_id = None
60
+ self._instance_type = None
61
+ self._time_out_seconds = None
62
+ self.discriminator = None
63
+
64
+ self.commands = commands
65
+ self.database = database
66
+ self.instance_id = instance_id
67
+ self.instance_type = instance_type
68
+ if time_out_seconds is not None:
69
+ self.time_out_seconds = time_out_seconds
70
+
71
+ @property
72
+ def commands(self):
73
+ """Gets the commands of this ExecuteSQLRequest. # noqa: E501
74
+
75
+
76
+ :return: The commands of this ExecuteSQLRequest. # noqa: E501
77
+ :rtype: str
78
+ """
79
+ return self._commands
80
+
81
+ @commands.setter
82
+ def commands(self, commands):
83
+ """Sets the commands of this ExecuteSQLRequest.
84
+
85
+
86
+ :param commands: The commands of this ExecuteSQLRequest. # noqa: E501
87
+ :type: str
88
+ """
89
+ if self._configuration.client_side_validation and commands is None:
90
+ raise ValueError("Invalid value for `commands`, must not be `None`") # noqa: E501
91
+
92
+ self._commands = commands
93
+
94
+ @property
95
+ def database(self):
96
+ """Gets the database of this ExecuteSQLRequest. # noqa: E501
97
+
98
+
99
+ :return: The database of this ExecuteSQLRequest. # noqa: E501
100
+ :rtype: str
101
+ """
102
+ return self._database
103
+
104
+ @database.setter
105
+ def database(self, database):
106
+ """Sets the database of this ExecuteSQLRequest.
107
+
108
+
109
+ :param database: The database of this ExecuteSQLRequest. # noqa: E501
110
+ :type: str
111
+ """
112
+ if self._configuration.client_side_validation and database is None:
113
+ raise ValueError("Invalid value for `database`, must not be `None`") # noqa: E501
114
+
115
+ self._database = database
116
+
117
+ @property
118
+ def instance_id(self):
119
+ """Gets the instance_id of this ExecuteSQLRequest. # noqa: E501
120
+
121
+
122
+ :return: The instance_id of this ExecuteSQLRequest. # noqa: E501
123
+ :rtype: str
124
+ """
125
+ return self._instance_id
126
+
127
+ @instance_id.setter
128
+ def instance_id(self, instance_id):
129
+ """Sets the instance_id of this ExecuteSQLRequest.
130
+
131
+
132
+ :param instance_id: The instance_id of this ExecuteSQLRequest. # noqa: E501
133
+ :type: str
134
+ """
135
+ if self._configuration.client_side_validation and instance_id is None:
136
+ raise ValueError("Invalid value for `instance_id`, must not be `None`") # noqa: E501
137
+
138
+ self._instance_id = instance_id
139
+
140
+ @property
141
+ def instance_type(self):
142
+ """Gets the instance_type of this ExecuteSQLRequest. # noqa: E501
143
+
144
+
145
+ :return: The instance_type of this ExecuteSQLRequest. # noqa: E501
146
+ :rtype: str
147
+ """
148
+ return self._instance_type
149
+
150
+ @instance_type.setter
151
+ def instance_type(self, instance_type):
152
+ """Sets the instance_type of this ExecuteSQLRequest.
153
+
154
+
155
+ :param instance_type: The instance_type of this ExecuteSQLRequest. # noqa: E501
156
+ :type: str
157
+ """
158
+ if self._configuration.client_side_validation and instance_type is None:
159
+ raise ValueError("Invalid value for `instance_type`, must not be `None`") # noqa: E501
160
+
161
+ self._instance_type = instance_type
162
+
163
+ @property
164
+ def time_out_seconds(self):
165
+ """Gets the time_out_seconds of this ExecuteSQLRequest. # noqa: E501
166
+
167
+
168
+ :return: The time_out_seconds of this ExecuteSQLRequest. # noqa: E501
169
+ :rtype: int
170
+ """
171
+ return self._time_out_seconds
172
+
173
+ @time_out_seconds.setter
174
+ def time_out_seconds(self, time_out_seconds):
175
+ """Sets the time_out_seconds of this ExecuteSQLRequest.
176
+
177
+
178
+ :param time_out_seconds: The time_out_seconds of this ExecuteSQLRequest. # noqa: E501
179
+ :type: int
180
+ """
181
+
182
+ self._time_out_seconds = time_out_seconds
183
+
184
+ def to_dict(self):
185
+ """Returns the model properties as a dict"""
186
+ result = {}
187
+
188
+ for attr, _ in six.iteritems(self.swagger_types):
189
+ value = getattr(self, attr)
190
+ if isinstance(value, list):
191
+ result[attr] = list(map(
192
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
193
+ value
194
+ ))
195
+ elif hasattr(value, "to_dict"):
196
+ result[attr] = value.to_dict()
197
+ elif isinstance(value, dict):
198
+ result[attr] = dict(map(
199
+ lambda item: (item[0], item[1].to_dict())
200
+ if hasattr(item[1], "to_dict") else item,
201
+ value.items()
202
+ ))
203
+ else:
204
+ result[attr] = value
205
+ if issubclass(ExecuteSQLRequest, dict):
206
+ for key, value in self.items():
207
+ result[key] = value
208
+
209
+ return result
210
+
211
+ def to_str(self):
212
+ """Returns the string representation of the model"""
213
+ return pprint.pformat(self.to_dict())
214
+
215
+ def __repr__(self):
216
+ """For `print` and `pprint`"""
217
+ return self.to_str()
218
+
219
+ def __eq__(self, other):
220
+ """Returns true if both objects are equal"""
221
+ if not isinstance(other, ExecuteSQLRequest):
222
+ return False
223
+
224
+ return self.to_dict() == other.to_dict()
225
+
226
+ def __ne__(self, other):
227
+ """Returns true if both objects are not equal"""
228
+ if not isinstance(other, ExecuteSQLRequest):
229
+ return True
230
+
231
+ 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 ExecuteSQLResponse(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
+ 'results': 'list[ResultForExecuteSQLOutput]'
37
+ }
38
+
39
+ attribute_map = {
40
+ 'results': 'Results'
41
+ }
42
+
43
+ def __init__(self, results=None, _configuration=None): # noqa: E501
44
+ """ExecuteSQLResponse - a model defined in Swagger""" # noqa: E501
45
+ if _configuration is None:
46
+ _configuration = Configuration()
47
+ self._configuration = _configuration
48
+
49
+ self._results = None
50
+ self.discriminator = None
51
+
52
+ if results is not None:
53
+ self.results = results
54
+
55
+ @property
56
+ def results(self):
57
+ """Gets the results of this ExecuteSQLResponse. # noqa: E501
58
+
59
+
60
+ :return: The results of this ExecuteSQLResponse. # noqa: E501
61
+ :rtype: list[ResultForExecuteSQLOutput]
62
+ """
63
+ return self._results
64
+
65
+ @results.setter
66
+ def results(self, results):
67
+ """Sets the results of this ExecuteSQLResponse.
68
+
69
+
70
+ :param results: The results of this ExecuteSQLResponse. # noqa: E501
71
+ :type: list[ResultForExecuteSQLOutput]
72
+ """
73
+
74
+ self._results = results
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(ExecuteSQLResponse, 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, ExecuteSQLResponse):
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, ExecuteSQLResponse):
121
+ return True
122
+
123
+ return self.to_dict() != other.to_dict()