huaweicloudsdkgaussdbforopengauss 3.1.166__py3-none-any.whl → 3.1.167__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.
Files changed (290) hide show
  1. huaweicloudsdkgaussdbforopengauss/v3/__init__.py +146 -3
  2. huaweicloudsdkgaussdbforopengauss/v3/gaussdbforopengauss_async_client.py +4328 -1256
  3. huaweicloudsdkgaussdbforopengauss/v3/gaussdbforopengauss_client.py +4328 -1256
  4. huaweicloudsdkgaussdbforopengauss/v3/model/__init__.py +146 -3
  5. huaweicloudsdkgaussdbforopengauss/v3/model/add_hba_conf_request_body.py +115 -0
  6. huaweicloudsdkgaussdbforopengauss/v3/model/add_hba_confs_request.py +168 -0
  7. huaweicloudsdkgaussdbforopengauss/v3/model/add_hba_confs_response.py +145 -0
  8. huaweicloudsdkgaussdbforopengauss/v3/model/add_instance_tags_request.py +6 -6
  9. huaweicloudsdkgaussdbforopengauss/v3/model/alarm_level_statistics_result.py +144 -0
  10. huaweicloudsdkgaussdbforopengauss/v3/model/allow_db_privileges_request.py +3 -3
  11. huaweicloudsdkgaussdbforopengauss/v3/model/allow_db_role_privileges_request.py +3 -3
  12. huaweicloudsdkgaussdbforopengauss/v3/model/applied_histories_result.py +3 -3
  13. huaweicloudsdkgaussdbforopengauss/v3/model/attach_eip_request.py +3 -3
  14. huaweicloudsdkgaussdbforopengauss/v3/model/backup_info.py +3 -3
  15. huaweicloudsdkgaussdbforopengauss/v3/model/backups.py +3 -3
  16. huaweicloudsdkgaussdbforopengauss/v3/model/backups_result.py +3 -3
  17. huaweicloudsdkgaussdbforopengauss/v3/model/base_ops_key_view_request_body.py +171 -0
  18. huaweicloudsdkgaussdbforopengauss/v3/model/bind_lts_config_request.py +140 -0
  19. huaweicloudsdkgaussdbforopengauss/v3/model/bind_lts_config_request_body.py +114 -0
  20. huaweicloudsdkgaussdbforopengauss/v3/model/bind_lts_config_response.py +116 -0
  21. huaweicloudsdkgaussdbforopengauss/v3/model/cancel_schedule_task_request.py +3 -3
  22. huaweicloudsdkgaussdbforopengauss/v3/model/collect_wdr_snapshot_request.py +168 -0
  23. huaweicloudsdkgaussdbforopengauss/v3/model/collect_wdr_snapshot_request_body.py +170 -0
  24. huaweicloudsdkgaussdbforopengauss/v3/model/collect_wdr_snapshot_response.py +116 -0
  25. huaweicloudsdkgaussdbforopengauss/v3/model/compare_condition_option.py +231 -0
  26. huaweicloudsdkgaussdbforopengauss/v3/model/component_info_result.py +202 -0
  27. huaweicloudsdkgaussdbforopengauss/v3/model/copy_configuration_request.py +3 -3
  28. huaweicloudsdkgaussdbforopengauss/v3/model/create_configuration_template_request.py +3 -3
  29. huaweicloudsdkgaussdbforopengauss/v3/model/create_cross_cloud_construct_disaster_request.py +3 -3
  30. huaweicloudsdkgaussdbforopengauss/v3/model/create_database_request.py +3 -3
  31. huaweicloudsdkgaussdbforopengauss/v3/model/create_database_schemas_request.py +3 -3
  32. huaweicloudsdkgaussdbforopengauss/v3/model/create_db_role_request.py +3 -3
  33. huaweicloudsdkgaussdbforopengauss/v3/model/create_db_user_request.py +3 -3
  34. huaweicloudsdkgaussdbforopengauss/v3/model/create_limit_task_request.py +3 -3
  35. huaweicloudsdkgaussdbforopengauss/v3/model/create_limit_task_response.py +3 -3
  36. huaweicloudsdkgaussdbforopengauss/v3/model/create_manual_backup_request_body.py +3 -3
  37. huaweicloudsdkgaussdbforopengauss/v3/model/create_readonly_nodes_request.py +168 -0
  38. huaweicloudsdkgaussdbforopengauss/v3/model/create_readonly_nodes_request_body.py +114 -0
  39. huaweicloudsdkgaussdbforopengauss/v3/model/create_readonly_nodes_response.py +116 -0
  40. huaweicloudsdkgaussdbforopengauss/v3/model/create_schedule_task_request.py +3 -3
  41. huaweicloudsdkgaussdbforopengauss/v3/model/create_slow_log_download_request.py +3 -3
  42. huaweicloudsdkgaussdbforopengauss/v3/model/create_wdr_snapshot_request.py +143 -0
  43. huaweicloudsdkgaussdbforopengauss/v3/model/create_wdr_snapshot_response.py +112 -0
  44. huaweicloudsdkgaussdbforopengauss/v3/model/create_wdr_snapshot_response_body.py +84 -0
  45. huaweicloudsdkgaussdbforopengauss/v3/model/database_for_list_table_result.py +114 -0
  46. huaweicloudsdkgaussdbforopengauss/v3/model/database_schema_table_result.py +6 -6
  47. huaweicloudsdkgaussdbforopengauss/v3/model/datapoint_result.py +142 -0
  48. huaweicloudsdkgaussdbforopengauss/v3/model/delete_configuration_request.py +3 -3
  49. huaweicloudsdkgaussdbforopengauss/v3/model/delete_database_request.py +6 -6
  50. huaweicloudsdkgaussdbforopengauss/v3/model/delete_database_schema_request.py +3 -3
  51. huaweicloudsdkgaussdbforopengauss/v3/model/delete_hba_conf_request_body.py +114 -0
  52. huaweicloudsdkgaussdbforopengauss/v3/model/delete_hba_confs_request.py +168 -0
  53. huaweicloudsdkgaussdbforopengauss/v3/model/delete_hba_confs_response.py +145 -0
  54. huaweicloudsdkgaussdbforopengauss/v3/model/delete_instance_request.py +3 -3
  55. huaweicloudsdkgaussdbforopengauss/v3/model/delete_instance_tag_request.py +3 -3
  56. huaweicloudsdkgaussdbforopengauss/v3/model/delete_job_request.py +3 -3
  57. huaweicloudsdkgaussdbforopengauss/v3/model/delete_limit_task_request.py +3 -3
  58. huaweicloudsdkgaussdbforopengauss/v3/model/delete_readonly_nodes_request.py +168 -0
  59. huaweicloudsdkgaussdbforopengauss/v3/model/delete_readonly_nodes_request_body.py +114 -0
  60. huaweicloudsdkgaussdbforopengauss/v3/model/delete_readonly_nodes_response.py +116 -0
  61. huaweicloudsdkgaussdbforopengauss/v3/model/delete_schedule_task_request.py +3 -3
  62. huaweicloudsdkgaussdbforopengauss/v3/model/dimension_list_result.py +173 -0
  63. huaweicloudsdkgaussdbforopengauss/v3/model/{error_response.py → error_response_body.py} +17 -17
  64. huaweicloudsdkgaussdbforopengauss/v3/model/excute_sql_node_info_result.py +231 -0
  65. huaweicloudsdkgaussdbforopengauss/v3/model/execute_cross_cloud_disaster_data_cache_end_request.py +3 -3
  66. huaweicloudsdkgaussdbforopengauss/v3/model/execute_cross_cloud_disaster_data_cache_start_request.py +3 -3
  67. huaweicloudsdkgaussdbforopengauss/v3/model/execute_cross_cloud_disaster_end_simulation_request.py +3 -3
  68. huaweicloudsdkgaussdbforopengauss/v3/model/execute_cross_cloud_disaster_recovery_failover_request.py +3 -3
  69. huaweicloudsdkgaussdbforopengauss/v3/model/execute_cross_cloud_disaster_restore_request.py +3 -3
  70. huaweicloudsdkgaussdbforopengauss/v3/model/execute_cross_cloud_disaster_start_simulation_request.py +3 -3
  71. huaweicloudsdkgaussdbforopengauss/v3/model/execute_cross_cloud_disaster_switchover_request.py +3 -3
  72. huaweicloudsdkgaussdbforopengauss/v3/model/execute_cross_cloud_release_disaster_request.py +3 -3
  73. huaweicloudsdkgaussdbforopengauss/v3/model/export_slow_sql_request.py +6 -6
  74. huaweicloudsdkgaussdbforopengauss/v3/model/export_table_volume_request_body.py +18 -18
  75. huaweicloudsdkgaussdbforopengauss/v3/model/full_sql_statistic_info_result.py +376 -0
  76. huaweicloudsdkgaussdbforopengauss/v3/model/gauss_db_error_response_body.py +6 -6
  77. huaweicloudsdkgaussdbforopengauss/v3/model/hba_conf_option.py +226 -0
  78. huaweicloudsdkgaussdbforopengauss/v3/model/hba_conf_result.py +231 -0
  79. huaweicloudsdkgaussdbforopengauss/v3/model/hba_history_result.py +231 -0
  80. huaweicloudsdkgaussdbforopengauss/v3/model/install_kernel_plugin_request.py +3 -3
  81. huaweicloudsdkgaussdbforopengauss/v3/model/instance_alarm_level_statistic_result.py +202 -0
  82. huaweicloudsdkgaussdbforopengauss/v3/model/instance_delete_lts_config_option.py +142 -0
  83. huaweicloudsdkgaussdbforopengauss/v3/model/instance_detail.py +3 -3
  84. huaweicloudsdkgaussdbforopengauss/v3/model/instance_info_result.py +3 -3
  85. huaweicloudsdkgaussdbforopengauss/v3/model/instance_lts_log_config_result.py +144 -0
  86. huaweicloudsdkgaussdbforopengauss/v3/model/instance_save_lts_config_option.py +198 -0
  87. huaweicloudsdkgaussdbforopengauss/v3/model/instance_task_detail.py +3 -3
  88. huaweicloudsdkgaussdbforopengauss/v3/model/instances_list_result.py +3 -3
  89. huaweicloudsdkgaussdbforopengauss/v3/model/instances_metric_result.py +521 -0
  90. huaweicloudsdkgaussdbforopengauss/v3/model/instances_nodes_result.py +173 -0
  91. huaweicloudsdkgaussdbforopengauss/v3/model/instances_result.py +3 -3
  92. huaweicloudsdkgaussdbforopengauss/v3/model/instances_statistics_response_body_instances_statistics.py +142 -0
  93. huaweicloudsdkgaussdbforopengauss/v3/model/kill_session_request_body.py +199 -0
  94. huaweicloudsdkgaussdbforopengauss/v3/model/list_applicable_instances_request.py +3 -3
  95. huaweicloudsdkgaussdbforopengauss/v3/model/list_applied_histories_request.py +3 -3
  96. huaweicloudsdkgaussdbforopengauss/v3/model/list_available_flavors_request.py +3 -3
  97. huaweicloudsdkgaussdbforopengauss/v3/model/list_backups_result.py +3 -3
  98. huaweicloudsdkgaussdbforopengauss/v3/model/list_binded_eips_request.py +3 -3
  99. huaweicloudsdkgaussdbforopengauss/v3/model/list_cn_infos_before_reduce_request.py +3 -3
  100. huaweicloudsdkgaussdbforopengauss/v3/model/list_cn_infos_before_reduce_response.py +3 -3
  101. huaweicloudsdkgaussdbforopengauss/v3/model/list_component_infos_request.py +3 -3
  102. huaweicloudsdkgaussdbforopengauss/v3/model/list_configurations_diff_request.py +3 -3
  103. huaweicloudsdkgaussdbforopengauss/v3/model/list_database_roles_request.py +3 -3
  104. huaweicloudsdkgaussdbforopengauss/v3/model/list_database_schema_tables_request.py +286 -0
  105. huaweicloudsdkgaussdbforopengauss/v3/model/list_database_schema_tables_response.py +145 -0
  106. huaweicloudsdkgaussdbforopengauss/v3/model/list_database_schemas_request.py +3 -3
  107. huaweicloudsdkgaussdbforopengauss/v3/model/list_database_volume_summary_request.py +143 -0
  108. huaweicloudsdkgaussdbforopengauss/v3/model/list_database_volume_summary_response.py +261 -0
  109. huaweicloudsdkgaussdbforopengauss/v3/model/list_databases_request.py +3 -3
  110. huaweicloudsdkgaussdbforopengauss/v3/model/list_db_users_request.py +3 -3
  111. huaweicloudsdkgaussdbforopengauss/v3/model/list_disaster_recovery_record_request.py +3 -3
  112. huaweicloudsdkgaussdbforopengauss/v3/model/list_disaster_recovery_record_response.py +7 -7
  113. huaweicloudsdkgaussdbforopengauss/v3/model/list_enhance_full_sql_statistics_request.py +168 -0
  114. huaweicloudsdkgaussdbforopengauss/v3/model/list_enhance_full_sql_statistics_request_body.py +722 -0
  115. huaweicloudsdkgaussdbforopengauss/v3/model/list_enhance_full_sql_statistics_response.py +145 -0
  116. huaweicloudsdkgaussdbforopengauss/v3/model/list_features_request.py +6 -6
  117. huaweicloudsdkgaussdbforopengauss/v3/model/list_hba_info_history_request.py +259 -0
  118. huaweicloudsdkgaussdbforopengauss/v3/model/list_hba_info_history_response.py +145 -0
  119. huaweicloudsdkgaussdbforopengauss/v3/model/list_hba_infos_request.py +201 -0
  120. huaweicloudsdkgaussdbforopengauss/v3/model/list_hba_infos_response.py +145 -0
  121. huaweicloudsdkgaussdbforopengauss/v3/model/list_instance_engine_detail_request.py +3 -3
  122. huaweicloudsdkgaussdbforopengauss/v3/model/list_instance_error_logs_request.py +3 -3
  123. huaweicloudsdkgaussdbforopengauss/v3/model/list_instance_tags_request.py +6 -6
  124. huaweicloudsdkgaussdbforopengauss/v3/model/list_kernel_plugins_request.py +3 -3
  125. huaweicloudsdkgaussdbforopengauss/v3/model/list_key_view_execute_node_request.py +143 -0
  126. huaweicloudsdkgaussdbforopengauss/v3/model/list_key_view_execute_node_response.py +116 -0
  127. huaweicloudsdkgaussdbforopengauss/v3/model/list_kms_tde_key_request.py +143 -0
  128. huaweicloudsdkgaussdbforopengauss/v3/model/list_kms_tde_key_response.py +174 -0
  129. huaweicloudsdkgaussdbforopengauss/v3/model/list_kms_tde_key_response_body_key_details.py +260 -0
  130. huaweicloudsdkgaussdbforopengauss/v3/model/list_limit_task_request.py +3 -3
  131. huaweicloudsdkgaussdbforopengauss/v3/model/list_limit_task_response_result.py +3 -3
  132. huaweicloudsdkgaussdbforopengauss/v3/model/list_lts_configs_request.py +288 -0
  133. huaweicloudsdkgaussdbforopengauss/v3/model/list_lts_configs_response.py +145 -0
  134. huaweicloudsdkgaussdbforopengauss/v3/model/list_metric_datas_request.py +231 -0
  135. huaweicloudsdkgaussdbforopengauss/v3/model/list_metric_datas_response.py +145 -0
  136. huaweicloudsdkgaussdbforopengauss/v3/model/list_node_limit_sql_model_request.py +3 -3
  137. huaweicloudsdkgaussdbforopengauss/v3/model/list_plugin_extensions_request.py +3 -3
  138. huaweicloudsdkgaussdbforopengauss/v3/model/list_readonly_nodes_request.py +143 -0
  139. huaweicloudsdkgaussdbforopengauss/v3/model/list_readonly_nodes_response.py +145 -0
  140. huaweicloudsdkgaussdbforopengauss/v3/model/list_readonly_nodes_result.py +202 -0
  141. huaweicloudsdkgaussdbforopengauss/v3/model/list_real_time_sessions_request.py +168 -0
  142. huaweicloudsdkgaussdbforopengauss/v3/model/list_real_time_sessions_request_body.py +167 -0
  143. huaweicloudsdkgaussdbforopengauss/v3/model/list_real_time_sessions_response.py +116 -0
  144. huaweicloudsdkgaussdbforopengauss/v3/model/list_recycle_instances_details_request.py +3 -3
  145. huaweicloudsdkgaussdbforopengauss/v3/model/list_recycle_instances_request.py +3 -3
  146. huaweicloudsdkgaussdbforopengauss/v3/model/list_restorable_instances_details_request.py +3 -3
  147. huaweicloudsdkgaussdbforopengauss/v3/model/list_restorable_instances_request.py +3 -3
  148. huaweicloudsdkgaussdbforopengauss/v3/model/list_restore_times_request.py +3 -3
  149. huaweicloudsdkgaussdbforopengauss/v3/model/list_schedule_task_request.py +3 -3
  150. huaweicloudsdkgaussdbforopengauss/v3/model/list_schema_and_table_request.py +6 -6
  151. huaweicloudsdkgaussdbforopengauss/v3/model/list_schema_and_table_request_body.py +8 -7
  152. huaweicloudsdkgaussdbforopengauss/v3/model/list_schema_and_table_response.py +3 -3
  153. huaweicloudsdkgaussdbforopengauss/v3/model/list_session_statistics_request.py +287 -0
  154. huaweicloudsdkgaussdbforopengauss/v3/model/list_session_statistics_response.py +145 -0
  155. huaweicloudsdkgaussdbforopengauss/v3/model/list_slow_sql_details_request.py +168 -0
  156. huaweicloudsdkgaussdbforopengauss/v3/model/list_slow_sql_details_response.py +145 -0
  157. huaweicloudsdkgaussdbforopengauss/v3/model/list_slow_sqls_request.py +168 -0
  158. huaweicloudsdkgaussdbforopengauss/v3/model/list_slow_sqls_request_body.py +284 -0
  159. huaweicloudsdkgaussdbforopengauss/v3/model/list_slow_sqls_response.py +145 -0
  160. huaweicloudsdkgaussdbforopengauss/v3/model/list_sql_excute_node_request_body.py +114 -0
  161. huaweicloudsdkgaussdbforopengauss/v3/model/list_sql_excute_nodes_request.py +168 -0
  162. huaweicloudsdkgaussdbforopengauss/v3/model/list_sql_excute_nodes_response.py +116 -0
  163. huaweicloudsdkgaussdbforopengauss/v3/model/list_support_kernel_plugins_request.py +3 -3
  164. huaweicloudsdkgaussdbforopengauss/v3/model/list_table_definition_request.py +227 -0
  165. huaweicloudsdkgaussdbforopengauss/v3/model/list_table_definition_response.py +116 -0
  166. huaweicloudsdkgaussdbforopengauss/v3/model/list_table_definitions_request.py +228 -0
  167. huaweicloudsdkgaussdbforopengauss/v3/model/list_table_definitions_response.py +116 -0
  168. huaweicloudsdkgaussdbforopengauss/v3/model/list_tasks_request.py +3 -3
  169. huaweicloudsdkgaussdbforopengauss/v3/model/list_top_sqls_request.py +168 -0
  170. huaweicloudsdkgaussdbforopengauss/v3/model/list_top_sqls_request_body.py +430 -0
  171. huaweicloudsdkgaussdbforopengauss/v3/model/list_top_sqls_response.py +145 -0
  172. huaweicloudsdkgaussdbforopengauss/v3/model/lts_log_config_result.py +202 -0
  173. huaweicloudsdkgaussdbforopengauss/v3/model/metric_data_result.py +226 -0
  174. huaweicloudsdkgaussdbforopengauss/v3/model/metric_name_result.py +144 -0
  175. huaweicloudsdkgaussdbforopengauss/v3/model/modify_eps_quota_request.py +3 -3
  176. huaweicloudsdkgaussdbforopengauss/v3/model/modify_hba_conf_request.py +168 -0
  177. huaweicloudsdkgaussdbforopengauss/v3/model/modify_hba_conf_request_body.py +142 -0
  178. huaweicloudsdkgaussdbforopengauss/v3/model/modify_hba_conf_response.py +145 -0
  179. huaweicloudsdkgaussdbforopengauss/v3/model/multi_query_condition_option.py +202 -0
  180. huaweicloudsdkgaussdbforopengauss/v3/model/node_distribution_option.py +198 -0
  181. huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_error_response.py +3 -3
  182. huaweicloudsdkgaussdbforopengauss/v3/model/ops_key_view_execute_node_result.py +289 -0
  183. huaweicloudsdkgaussdbforopengauss/v3/model/para_error_response_body.py +6 -6
  184. huaweicloudsdkgaussdbforopengauss/v3/model/real_time_session_result.py +666 -0
  185. huaweicloudsdkgaussdbforopengauss/v3/model/{record_info_response.py → record_info_response_result.py} +80 -80
  186. huaweicloudsdkgaussdbforopengauss/v3/model/redistribution_request_body.py +173 -0
  187. huaweicloudsdkgaussdbforopengauss/v3/model/region_instance_info.py +3 -3
  188. huaweicloudsdkgaussdbforopengauss/v3/model/reset_configuration_request.py +3 -3
  189. huaweicloudsdkgaussdbforopengauss/v3/model/reset_dr_config_request.py +3 -3
  190. huaweicloudsdkgaussdbforopengauss/v3/model/reset_pwd_request.py +3 -3
  191. huaweicloudsdkgaussdbforopengauss/v3/model/resize_instance_flavor_request.py +3 -3
  192. huaweicloudsdkgaussdbforopengauss/v3/model/restart_instance_request.py +3 -3
  193. huaweicloudsdkgaussdbforopengauss/v3/model/restore_hba_info_request.py +168 -0
  194. huaweicloudsdkgaussdbforopengauss/v3/model/restore_hba_info_request_body.py +115 -0
  195. huaweicloudsdkgaussdbforopengauss/v3/model/restore_hba_info_response.py +145 -0
  196. huaweicloudsdkgaussdbforopengauss/v3/model/resume_plugin_extensions_request.py +3 -3
  197. huaweicloudsdkgaussdbforopengauss/v3/model/run_instance_action_request.py +3 -3
  198. huaweicloudsdkgaussdbforopengauss/v3/model/schedule_task_detail.py +3 -3
  199. huaweicloudsdkgaussdbforopengauss/v3/model/schema_table_definition_result.py +144 -0
  200. huaweicloudsdkgaussdbforopengauss/v3/model/search_auto_enlarge_policy_request.py +3 -3
  201. huaweicloudsdkgaussdbforopengauss/v3/model/session_query_info_option.py +173 -0
  202. huaweicloudsdkgaussdbforopengauss/v3/model/set_backup_policy_request.py +6 -6
  203. huaweicloudsdkgaussdbforopengauss/v3/model/set_db_user_pwd_request.py +3 -3
  204. huaweicloudsdkgaussdbforopengauss/v3/model/set_kernel_plugin_license_request.py +3 -3
  205. huaweicloudsdkgaussdbforopengauss/v3/model/set_new_backup_policy_request.py +3 -3
  206. huaweicloudsdkgaussdbforopengauss/v3/model/show_alarm_statistics_request.py +171 -0
  207. huaweicloudsdkgaussdbforopengauss/v3/model/show_alarm_statistics_response.py +203 -0
  208. huaweicloudsdkgaussdbforopengauss/v3/model/show_backup_policy_request.py +6 -6
  209. huaweicloudsdkgaussdbforopengauss/v3/model/show_balance_status_request.py +3 -3
  210. huaweicloudsdkgaussdbforopengauss/v3/model/show_batch_upgrade_candidate_versions_response.py +8 -8
  211. huaweicloudsdkgaussdbforopengauss/v3/model/show_cross_cloud_disaster_instance_monitor_request.py +3 -3
  212. huaweicloudsdkgaussdbforopengauss/v3/model/show_cross_cloud_disaster_instance_monitor_response.py +3 -3
  213. huaweicloudsdkgaussdbforopengauss/v3/model/show_cross_cloud_disaster_relations_request.py +3 -3
  214. huaweicloudsdkgaussdbforopengauss/v3/model/show_deployment_form_request.py +3 -3
  215. huaweicloudsdkgaussdbforopengauss/v3/model/show_error_log_switch_status_request.py +3 -3
  216. huaweicloudsdkgaussdbforopengauss/v3/model/show_global_slow_sql_detail_request.py +168 -0
  217. huaweicloudsdkgaussdbforopengauss/v3/model/show_global_slow_sql_detail_request_body.py +255 -0
  218. huaweicloudsdkgaussdbforopengauss/v3/model/show_global_slow_sql_detail_response.py +145 -0
  219. huaweicloudsdkgaussdbforopengauss/v3/model/show_instance_configuration_request.py +3 -3
  220. huaweicloudsdkgaussdbforopengauss/v3/model/show_instance_disk_request.py +6 -6
  221. huaweicloudsdkgaussdbforopengauss/v3/model/show_instance_metric_data_request.py +284 -0
  222. huaweicloudsdkgaussdbforopengauss/v3/model/show_instance_metric_data_response.py +145 -0
  223. huaweicloudsdkgaussdbforopengauss/v3/model/show_instance_param_group_detail_request.py +3 -3
  224. huaweicloudsdkgaussdbforopengauss/v3/model/show_instance_param_group_request.py +3 -3
  225. huaweicloudsdkgaussdbforopengauss/v3/model/show_instance_snapshot_request.py +3 -3
  226. huaweicloudsdkgaussdbforopengauss/v3/model/show_instances_statistics_request.py +115 -0
  227. huaweicloudsdkgaussdbforopengauss/v3/model/show_instances_statistics_response.py +145 -0
  228. huaweicloudsdkgaussdbforopengauss/v3/model/show_kms_key_detail_request.py +171 -0
  229. huaweicloudsdkgaussdbforopengauss/v3/model/show_kms_key_detail_response.py +203 -0
  230. huaweicloudsdkgaussdbforopengauss/v3/model/show_limit_task_request.py +3 -3
  231. huaweicloudsdkgaussdbforopengauss/v3/model/show_metric_names_request.py +143 -0
  232. huaweicloudsdkgaussdbforopengauss/v3/model/show_metric_names_response.py +145 -0
  233. huaweicloudsdkgaussdbforopengauss/v3/model/show_recycle_policy_request.py +3 -3
  234. huaweicloudsdkgaussdbforopengauss/v3/model/show_session_overview_request.py +143 -0
  235. huaweicloudsdkgaussdbforopengauss/v3/model/show_session_overview_response.py +203 -0
  236. huaweicloudsdkgaussdbforopengauss/v3/model/show_slow_log_download_request.py +3 -3
  237. huaweicloudsdkgaussdbforopengauss/v3/model/show_slow_sql_plan_request.py +227 -0
  238. huaweicloudsdkgaussdbforopengauss/v3/model/show_slow_sql_plan_response.py +116 -0
  239. huaweicloudsdkgaussdbforopengauss/v3/model/show_slow_sql_stack_request.py +228 -0
  240. huaweicloudsdkgaussdbforopengauss/v3/model/show_slow_sql_stack_response.py +116 -0
  241. huaweicloudsdkgaussdbforopengauss/v3/model/show_source_instance_detail_request.py +3 -3
  242. huaweicloudsdkgaussdbforopengauss/v3/model/show_ssl_cert_download_link_request.py +6 -6
  243. huaweicloudsdkgaussdbforopengauss/v3/model/show_upgrade_candidate_versions_details_request.py +3 -3
  244. huaweicloudsdkgaussdbforopengauss/v3/model/show_upgrade_candidate_versions_request.py +3 -3
  245. huaweicloudsdkgaussdbforopengauss/v3/model/show_wdr_snapshot_status_request.py +143 -0
  246. huaweicloudsdkgaussdbforopengauss/v3/model/show_wdr_snapshot_status_response.py +174 -0
  247. huaweicloudsdkgaussdbforopengauss/v3/model/slow_sql_detail_request_body.py +255 -0
  248. huaweicloudsdkgaussdbforopengauss/v3/model/slow_sql_detail_result.py +666 -0
  249. huaweicloudsdkgaussdbforopengauss/v3/model/slow_sql_info_result.py +521 -0
  250. huaweicloudsdkgaussdbforopengauss/v3/model/start_instance_request.py +3 -3
  251. huaweicloudsdkgaussdbforopengauss/v3/model/start_mysql_compatibility_request.py +6 -6
  252. huaweicloudsdkgaussdbforopengauss/v3/model/stop_backup_request.py +3 -3
  253. huaweicloudsdkgaussdbforopengauss/v3/model/stop_free_session_request.py +168 -0
  254. huaweicloudsdkgaussdbforopengauss/v3/model/stop_free_session_response.py +116 -0
  255. huaweicloudsdkgaussdbforopengauss/v3/model/stop_instance_request.py +3 -3
  256. huaweicloudsdkgaussdbforopengauss/v3/model/stop_session_request.py +168 -0
  257. huaweicloudsdkgaussdbforopengauss/v3/model/stop_session_response.py +145 -0
  258. huaweicloudsdkgaussdbforopengauss/v3/model/switch_configuration_request.py +3 -3
  259. huaweicloudsdkgaussdbforopengauss/v3/model/switch_kms_tde_request.py +168 -0
  260. huaweicloudsdkgaussdbforopengauss/v3/model/switch_kms_tde_request_body.py +173 -0
  261. huaweicloudsdkgaussdbforopengauss/v3/model/switch_kms_tde_response.py +116 -0
  262. huaweicloudsdkgaussdbforopengauss/v3/model/switch_replica_request.py +168 -0
  263. huaweicloudsdkgaussdbforopengauss/v3/model/switch_replica_request_body.py +115 -0
  264. huaweicloudsdkgaussdbforopengauss/v3/model/switch_replica_response.py +145 -0
  265. huaweicloudsdkgaussdbforopengauss/v3/model/switch_shard_request.py +3 -3
  266. huaweicloudsdkgaussdbforopengauss/v3/model/switch_wdr_snapshot_request_body.py +114 -0
  267. huaweicloudsdkgaussdbforopengauss/v3/model/switch_wdr_snapshot_response_body.py +84 -0
  268. huaweicloudsdkgaussdbforopengauss/v3/model/switch_wdr_snapshot_status_request.py +168 -0
  269. huaweicloudsdkgaussdbforopengauss/v3/model/switch_wdr_snapshot_status_response.py +112 -0
  270. huaweicloudsdkgaussdbforopengauss/v3/model/sync_limit_data_request.py +3 -3
  271. huaweicloudsdkgaussdbforopengauss/v3/model/top_sql_info_result.py +637 -0
  272. huaweicloudsdkgaussdbforopengauss/v3/model/unbind_lts_config_request.py +140 -0
  273. huaweicloudsdkgaussdbforopengauss/v3/model/unbind_lts_config_request_body.py +114 -0
  274. huaweicloudsdkgaussdbforopengauss/v3/model/unbind_lts_config_response.py +116 -0
  275. huaweicloudsdkgaussdbforopengauss/v3/model/update_features_request.py +6 -6
  276. huaweicloudsdkgaussdbforopengauss/v3/model/update_instance_configuration_request.py +3 -3
  277. huaweicloudsdkgaussdbforopengauss/v3/model/update_instance_name_request.py +3 -3
  278. huaweicloudsdkgaussdbforopengauss/v3/model/update_limit_task_request.py +3 -3
  279. huaweicloudsdkgaussdbforopengauss/v3/model/update_mysql_compatibility_request.py +6 -6
  280. huaweicloudsdkgaussdbforopengauss/v3/model/update_redistribution_control_request.py +168 -0
  281. huaweicloudsdkgaussdbforopengauss/v3/model/update_redistribution_control_response.py +116 -0
  282. huaweicloudsdkgaussdbforopengauss/v3/model/upgrade_error_response_body.py +6 -6
  283. huaweicloudsdkgaussdbforopengauss/v3/model/upgrade_instance_version_request.py +6 -6
  284. huaweicloudsdkgaussdbforopengauss/v3/model/upgrade_instances_version_request.py +3 -3
  285. huaweicloudsdkgaussdbforopengauss/v3/model/validate_weak_password_request.py +3 -3
  286. {huaweicloudsdkgaussdbforopengauss-3.1.166.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.167.dist-info}/METADATA +2 -2
  287. {huaweicloudsdkgaussdbforopengauss-3.1.166.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.167.dist-info}/RECORD +289 -146
  288. huaweicloudsdkgaussdbforopengauss/v3/model/hotfix_info.py +0 -202
  289. {huaweicloudsdkgaussdbforopengauss-3.1.166.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.167.dist-info}/WHEEL +0 -0
  290. {huaweicloudsdkgaussdbforopengauss-3.1.166.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.167.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,286 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class ListDatabaseSchemaTablesRequest:
9
+
10
+ """
11
+ Attributes:
12
+ openapi_types (dict): The key is attribute name
13
+ and the value is attribute type.
14
+ attribute_map (dict): The key is attribute name
15
+ and the value is json key in definition.
16
+ """
17
+ sensitive_list = []
18
+
19
+ openapi_types = {
20
+ 'x_language': 'str',
21
+ 'instance_id': 'str',
22
+ 'db_name': 'str',
23
+ 'schema_name': 'str',
24
+ 'table_name_keyword': 'str',
25
+ 'offset': 'int',
26
+ 'limit': 'int'
27
+ }
28
+
29
+ attribute_map = {
30
+ 'x_language': 'X-Language',
31
+ 'instance_id': 'instance_id',
32
+ 'db_name': 'db_name',
33
+ 'schema_name': 'schema_name',
34
+ 'table_name_keyword': 'table_name_keyword',
35
+ 'offset': 'offset',
36
+ 'limit': 'limit'
37
+ }
38
+
39
+ def __init__(self, x_language=None, instance_id=None, db_name=None, schema_name=None, table_name_keyword=None, offset=None, limit=None):
40
+ r"""ListDatabaseSchemaTablesRequest
41
+
42
+ The model defined in huaweicloud sdk
43
+
44
+ :param x_language: **参数解释**: 语言。 **约束限制**: 不涉及。 **取值范围**: - zh-cn - en-us **默认取值**: en-us
45
+ :type x_language: str
46
+ :param instance_id: **参数解释**: 实例ID,此参数是用户创建实例的唯一标识。 **约束限制**: 不涉及。 **取值范围**: 只能由英文字母、数字组成,且长度为36个字符。 **默认取值**: 不涉及。
47
+ :type instance_id: str
48
+ :param db_name: **参数解释**: 数据库名称。 **约束限制**: 不能使用模板库,且是已存在的数据库名称。 模板库包括postgres, template0,template1,templatea,template_pdb,templatem。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
49
+ :type db_name: str
50
+ :param schema_name: **参数解释**: SCHEMA名称。 **约束限制**: 不能使用public,information_schema,且schema名称必须存在。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
51
+ :type schema_name: str
52
+ :param table_name_keyword: **参数解释**: 表名关键字。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
53
+ :type table_name_keyword: str
54
+ :param offset: **参数解释**: 偏移量,表示从此偏移量开始查询。 **约束限制**: 不涉及。 **取值范围**: [0~2147483647) **默认取值**: 0
55
+ :type offset: int
56
+ :param limit: **参数解释**: 每页显示的条目数量。 **约束限制**: 不涉及。 **取值范围**: [1, 200] **默认取值**: 10
57
+ :type limit: int
58
+ """
59
+
60
+
61
+
62
+ self._x_language = None
63
+ self._instance_id = None
64
+ self._db_name = None
65
+ self._schema_name = None
66
+ self._table_name_keyword = None
67
+ self._offset = None
68
+ self._limit = None
69
+ self.discriminator = None
70
+
71
+ if x_language is not None:
72
+ self.x_language = x_language
73
+ self.instance_id = instance_id
74
+ self.db_name = db_name
75
+ self.schema_name = schema_name
76
+ if table_name_keyword is not None:
77
+ self.table_name_keyword = table_name_keyword
78
+ if offset is not None:
79
+ self.offset = offset
80
+ if limit is not None:
81
+ self.limit = limit
82
+
83
+ @property
84
+ def x_language(self):
85
+ r"""Gets the x_language of this ListDatabaseSchemaTablesRequest.
86
+
87
+ **参数解释**: 语言。 **约束限制**: 不涉及。 **取值范围**: - zh-cn - en-us **默认取值**: en-us
88
+
89
+ :return: The x_language of this ListDatabaseSchemaTablesRequest.
90
+ :rtype: str
91
+ """
92
+ return self._x_language
93
+
94
+ @x_language.setter
95
+ def x_language(self, x_language):
96
+ r"""Sets the x_language of this ListDatabaseSchemaTablesRequest.
97
+
98
+ **参数解释**: 语言。 **约束限制**: 不涉及。 **取值范围**: - zh-cn - en-us **默认取值**: en-us
99
+
100
+ :param x_language: The x_language of this ListDatabaseSchemaTablesRequest.
101
+ :type x_language: str
102
+ """
103
+ self._x_language = x_language
104
+
105
+ @property
106
+ def instance_id(self):
107
+ r"""Gets the instance_id of this ListDatabaseSchemaTablesRequest.
108
+
109
+ **参数解释**: 实例ID,此参数是用户创建实例的唯一标识。 **约束限制**: 不涉及。 **取值范围**: 只能由英文字母、数字组成,且长度为36个字符。 **默认取值**: 不涉及。
110
+
111
+ :return: The instance_id of this ListDatabaseSchemaTablesRequest.
112
+ :rtype: str
113
+ """
114
+ return self._instance_id
115
+
116
+ @instance_id.setter
117
+ def instance_id(self, instance_id):
118
+ r"""Sets the instance_id of this ListDatabaseSchemaTablesRequest.
119
+
120
+ **参数解释**: 实例ID,此参数是用户创建实例的唯一标识。 **约束限制**: 不涉及。 **取值范围**: 只能由英文字母、数字组成,且长度为36个字符。 **默认取值**: 不涉及。
121
+
122
+ :param instance_id: The instance_id of this ListDatabaseSchemaTablesRequest.
123
+ :type instance_id: str
124
+ """
125
+ self._instance_id = instance_id
126
+
127
+ @property
128
+ def db_name(self):
129
+ r"""Gets the db_name of this ListDatabaseSchemaTablesRequest.
130
+
131
+ **参数解释**: 数据库名称。 **约束限制**: 不能使用模板库,且是已存在的数据库名称。 模板库包括postgres, template0,template1,templatea,template_pdb,templatem。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
132
+
133
+ :return: The db_name of this ListDatabaseSchemaTablesRequest.
134
+ :rtype: str
135
+ """
136
+ return self._db_name
137
+
138
+ @db_name.setter
139
+ def db_name(self, db_name):
140
+ r"""Sets the db_name of this ListDatabaseSchemaTablesRequest.
141
+
142
+ **参数解释**: 数据库名称。 **约束限制**: 不能使用模板库,且是已存在的数据库名称。 模板库包括postgres, template0,template1,templatea,template_pdb,templatem。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
143
+
144
+ :param db_name: The db_name of this ListDatabaseSchemaTablesRequest.
145
+ :type db_name: str
146
+ """
147
+ self._db_name = db_name
148
+
149
+ @property
150
+ def schema_name(self):
151
+ r"""Gets the schema_name of this ListDatabaseSchemaTablesRequest.
152
+
153
+ **参数解释**: SCHEMA名称。 **约束限制**: 不能使用public,information_schema,且schema名称必须存在。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
154
+
155
+ :return: The schema_name of this ListDatabaseSchemaTablesRequest.
156
+ :rtype: str
157
+ """
158
+ return self._schema_name
159
+
160
+ @schema_name.setter
161
+ def schema_name(self, schema_name):
162
+ r"""Sets the schema_name of this ListDatabaseSchemaTablesRequest.
163
+
164
+ **参数解释**: SCHEMA名称。 **约束限制**: 不能使用public,information_schema,且schema名称必须存在。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
165
+
166
+ :param schema_name: The schema_name of this ListDatabaseSchemaTablesRequest.
167
+ :type schema_name: str
168
+ """
169
+ self._schema_name = schema_name
170
+
171
+ @property
172
+ def table_name_keyword(self):
173
+ r"""Gets the table_name_keyword of this ListDatabaseSchemaTablesRequest.
174
+
175
+ **参数解释**: 表名关键字。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
176
+
177
+ :return: The table_name_keyword of this ListDatabaseSchemaTablesRequest.
178
+ :rtype: str
179
+ """
180
+ return self._table_name_keyword
181
+
182
+ @table_name_keyword.setter
183
+ def table_name_keyword(self, table_name_keyword):
184
+ r"""Sets the table_name_keyword of this ListDatabaseSchemaTablesRequest.
185
+
186
+ **参数解释**: 表名关键字。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
187
+
188
+ :param table_name_keyword: The table_name_keyword of this ListDatabaseSchemaTablesRequest.
189
+ :type table_name_keyword: str
190
+ """
191
+ self._table_name_keyword = table_name_keyword
192
+
193
+ @property
194
+ def offset(self):
195
+ r"""Gets the offset of this ListDatabaseSchemaTablesRequest.
196
+
197
+ **参数解释**: 偏移量,表示从此偏移量开始查询。 **约束限制**: 不涉及。 **取值范围**: [0~2147483647) **默认取值**: 0
198
+
199
+ :return: The offset of this ListDatabaseSchemaTablesRequest.
200
+ :rtype: int
201
+ """
202
+ return self._offset
203
+
204
+ @offset.setter
205
+ def offset(self, offset):
206
+ r"""Sets the offset of this ListDatabaseSchemaTablesRequest.
207
+
208
+ **参数解释**: 偏移量,表示从此偏移量开始查询。 **约束限制**: 不涉及。 **取值范围**: [0~2147483647) **默认取值**: 0
209
+
210
+ :param offset: The offset of this ListDatabaseSchemaTablesRequest.
211
+ :type offset: int
212
+ """
213
+ self._offset = offset
214
+
215
+ @property
216
+ def limit(self):
217
+ r"""Gets the limit of this ListDatabaseSchemaTablesRequest.
218
+
219
+ **参数解释**: 每页显示的条目数量。 **约束限制**: 不涉及。 **取值范围**: [1, 200] **默认取值**: 10
220
+
221
+ :return: The limit of this ListDatabaseSchemaTablesRequest.
222
+ :rtype: int
223
+ """
224
+ return self._limit
225
+
226
+ @limit.setter
227
+ def limit(self, limit):
228
+ r"""Sets the limit of this ListDatabaseSchemaTablesRequest.
229
+
230
+ **参数解释**: 每页显示的条目数量。 **约束限制**: 不涉及。 **取值范围**: [1, 200] **默认取值**: 10
231
+
232
+ :param limit: The limit of this ListDatabaseSchemaTablesRequest.
233
+ :type limit: int
234
+ """
235
+ self._limit = limit
236
+
237
+ def to_dict(self):
238
+ """Returns the model properties as a dict"""
239
+ result = {}
240
+
241
+ for attr, _ in six.iteritems(self.openapi_types):
242
+ value = getattr(self, attr)
243
+ if isinstance(value, list):
244
+ result[attr] = list(map(
245
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
246
+ value
247
+ ))
248
+ elif hasattr(value, "to_dict"):
249
+ result[attr] = value.to_dict()
250
+ elif isinstance(value, dict):
251
+ result[attr] = dict(map(
252
+ lambda item: (item[0], item[1].to_dict())
253
+ if hasattr(item[1], "to_dict") else item,
254
+ value.items()
255
+ ))
256
+ else:
257
+ if attr in self.sensitive_list:
258
+ result[attr] = "****"
259
+ else:
260
+ result[attr] = value
261
+
262
+ return result
263
+
264
+ def to_str(self):
265
+ """Returns the string representation of the model"""
266
+ import simplejson as json
267
+ if six.PY2:
268
+ import sys
269
+ reload(sys)
270
+ sys.setdefaultencoding("utf-8")
271
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
272
+
273
+ def __repr__(self):
274
+ """For `print`"""
275
+ return self.to_str()
276
+
277
+ def __eq__(self, other):
278
+ """Returns true if both objects are equal"""
279
+ if not isinstance(other, ListDatabaseSchemaTablesRequest):
280
+ return False
281
+
282
+ return self.__dict__ == other.__dict__
283
+
284
+ def __ne__(self, other):
285
+ """Returns true if both objects are not equal"""
286
+ return not self == other
@@ -0,0 +1,145 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.sdk_response import SdkResponse
6
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
7
+
8
+
9
+ class ListDatabaseSchemaTablesResponse(SdkResponse):
10
+
11
+ """
12
+ Attributes:
13
+ openapi_types (dict): The key is attribute name
14
+ and the value is attribute type.
15
+ attribute_map (dict): The key is attribute name
16
+ and the value is json key in definition.
17
+ """
18
+ sensitive_list = []
19
+
20
+ openapi_types = {
21
+ 'database_tables': 'list[DatabaseForListTableResult]',
22
+ 'total_count': 'int'
23
+ }
24
+
25
+ attribute_map = {
26
+ 'database_tables': 'database_tables',
27
+ 'total_count': 'total_count'
28
+ }
29
+
30
+ def __init__(self, database_tables=None, total_count=None):
31
+ r"""ListDatabaseSchemaTablesResponse
32
+
33
+ The model defined in huaweicloud sdk
34
+
35
+ :param database_tables: **参数解释**: 列表中每个元素表示一个数据库表。
36
+ :type database_tables: list[:class:`huaweicloudsdkgaussdbforopengauss.v3.DatabaseForListTableResult`]
37
+ :param total_count: **参数解释**: 数据库表总数。 **取值范围**: 不涉及。
38
+ :type total_count: int
39
+ """
40
+
41
+ super(ListDatabaseSchemaTablesResponse, self).__init__()
42
+
43
+ self._database_tables = None
44
+ self._total_count = None
45
+ self.discriminator = None
46
+
47
+ if database_tables is not None:
48
+ self.database_tables = database_tables
49
+ if total_count is not None:
50
+ self.total_count = total_count
51
+
52
+ @property
53
+ def database_tables(self):
54
+ r"""Gets the database_tables of this ListDatabaseSchemaTablesResponse.
55
+
56
+ **参数解释**: 列表中每个元素表示一个数据库表。
57
+
58
+ :return: The database_tables of this ListDatabaseSchemaTablesResponse.
59
+ :rtype: list[:class:`huaweicloudsdkgaussdbforopengauss.v3.DatabaseForListTableResult`]
60
+ """
61
+ return self._database_tables
62
+
63
+ @database_tables.setter
64
+ def database_tables(self, database_tables):
65
+ r"""Sets the database_tables of this ListDatabaseSchemaTablesResponse.
66
+
67
+ **参数解释**: 列表中每个元素表示一个数据库表。
68
+
69
+ :param database_tables: The database_tables of this ListDatabaseSchemaTablesResponse.
70
+ :type database_tables: list[:class:`huaweicloudsdkgaussdbforopengauss.v3.DatabaseForListTableResult`]
71
+ """
72
+ self._database_tables = database_tables
73
+
74
+ @property
75
+ def total_count(self):
76
+ r"""Gets the total_count of this ListDatabaseSchemaTablesResponse.
77
+
78
+ **参数解释**: 数据库表总数。 **取值范围**: 不涉及。
79
+
80
+ :return: The total_count of this ListDatabaseSchemaTablesResponse.
81
+ :rtype: int
82
+ """
83
+ return self._total_count
84
+
85
+ @total_count.setter
86
+ def total_count(self, total_count):
87
+ r"""Sets the total_count of this ListDatabaseSchemaTablesResponse.
88
+
89
+ **参数解释**: 数据库表总数。 **取值范围**: 不涉及。
90
+
91
+ :param total_count: The total_count of this ListDatabaseSchemaTablesResponse.
92
+ :type total_count: int
93
+ """
94
+ self._total_count = total_count
95
+
96
+ def to_dict(self):
97
+ """Returns the model properties as a dict"""
98
+ result = {}
99
+
100
+ for attr, _ in six.iteritems(self.openapi_types):
101
+ value = getattr(self, attr)
102
+ if isinstance(value, list):
103
+ result[attr] = list(map(
104
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
105
+ value
106
+ ))
107
+ elif hasattr(value, "to_dict"):
108
+ result[attr] = value.to_dict()
109
+ elif isinstance(value, dict):
110
+ result[attr] = dict(map(
111
+ lambda item: (item[0], item[1].to_dict())
112
+ if hasattr(item[1], "to_dict") else item,
113
+ value.items()
114
+ ))
115
+ else:
116
+ if attr in self.sensitive_list:
117
+ result[attr] = "****"
118
+ else:
119
+ result[attr] = value
120
+
121
+ return result
122
+
123
+ def to_str(self):
124
+ """Returns the string representation of the model"""
125
+ import simplejson as json
126
+ if six.PY2:
127
+ import sys
128
+ reload(sys)
129
+ sys.setdefaultencoding("utf-8")
130
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
131
+
132
+ def __repr__(self):
133
+ """For `print`"""
134
+ return self.to_str()
135
+
136
+ def __eq__(self, other):
137
+ """Returns true if both objects are equal"""
138
+ if not isinstance(other, ListDatabaseSchemaTablesResponse):
139
+ return False
140
+
141
+ return self.__dict__ == other.__dict__
142
+
143
+ def __ne__(self, other):
144
+ """Returns true if both objects are not equal"""
145
+ return not self == other
@@ -39,7 +39,7 @@ class ListDatabaseSchemasRequest:
39
39
 
40
40
  :param x_language: 语言
41
41
  :type x_language: str
42
- :param instance_id: 实例ID
42
+ :param instance_id: **参数解释**: 实例ID,此参数是用户创建实例的唯一标识。 **约束限制**: 不涉及。 **取值范围**: 只能由英文字母、数字组成,且长度为36个字符。 **默认取值**: 不涉及。
43
43
  :type instance_id: str
44
44
  :param db_name: 数据库名称。
45
45
  :type db_name: str
@@ -93,7 +93,7 @@ class ListDatabaseSchemasRequest:
93
93
  def instance_id(self):
94
94
  r"""Gets the instance_id of this ListDatabaseSchemasRequest.
95
95
 
96
- 实例ID
96
+ **参数解释**: 实例ID,此参数是用户创建实例的唯一标识。 **约束限制**: 不涉及。 **取值范围**: 只能由英文字母、数字组成,且长度为36个字符。 **默认取值**: 不涉及。
97
97
 
98
98
  :return: The instance_id of this ListDatabaseSchemasRequest.
99
99
  :rtype: str
@@ -104,7 +104,7 @@ class ListDatabaseSchemasRequest:
104
104
  def instance_id(self, instance_id):
105
105
  r"""Sets the instance_id of this ListDatabaseSchemasRequest.
106
106
 
107
- 实例ID
107
+ **参数解释**: 实例ID,此参数是用户创建实例的唯一标识。 **约束限制**: 不涉及。 **取值范围**: 只能由英文字母、数字组成,且长度为36个字符。 **默认取值**: 不涉及。
108
108
 
109
109
  :param instance_id: The instance_id of this ListDatabaseSchemasRequest.
110
110
  :type instance_id: str
@@ -0,0 +1,143 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class ListDatabaseVolumeSummaryRequest:
9
+
10
+ """
11
+ Attributes:
12
+ openapi_types (dict): The key is attribute name
13
+ and the value is attribute type.
14
+ attribute_map (dict): The key is attribute name
15
+ and the value is json key in definition.
16
+ """
17
+ sensitive_list = []
18
+
19
+ openapi_types = {
20
+ 'instance_id': 'str',
21
+ 'x_language': 'str'
22
+ }
23
+
24
+ attribute_map = {
25
+ 'instance_id': 'instance_id',
26
+ 'x_language': 'X-Language'
27
+ }
28
+
29
+ def __init__(self, instance_id=None, x_language=None):
30
+ r"""ListDatabaseVolumeSummaryRequest
31
+
32
+ The model defined in huaweicloud sdk
33
+
34
+ :param instance_id: **参数解释**: 实例ID,此参数是用户创建实例的唯一标识。 **约束限制**: 不涉及。 **取值范围**: 只能由英文字母、数字组成,且长度为36个字符。 **默认取值**: 不涉及。
35
+ :type instance_id: str
36
+ :param x_language: **参数解释**: 语言。 **约束限制**: 不涉及。 **取值范围**: - zh-cn - en-us **默认取值**: en-us
37
+ :type x_language: str
38
+ """
39
+
40
+
41
+
42
+ self._instance_id = None
43
+ self._x_language = None
44
+ self.discriminator = None
45
+
46
+ self.instance_id = instance_id
47
+ if x_language is not None:
48
+ self.x_language = x_language
49
+
50
+ @property
51
+ def instance_id(self):
52
+ r"""Gets the instance_id of this ListDatabaseVolumeSummaryRequest.
53
+
54
+ **参数解释**: 实例ID,此参数是用户创建实例的唯一标识。 **约束限制**: 不涉及。 **取值范围**: 只能由英文字母、数字组成,且长度为36个字符。 **默认取值**: 不涉及。
55
+
56
+ :return: The instance_id of this ListDatabaseVolumeSummaryRequest.
57
+ :rtype: str
58
+ """
59
+ return self._instance_id
60
+
61
+ @instance_id.setter
62
+ def instance_id(self, instance_id):
63
+ r"""Sets the instance_id of this ListDatabaseVolumeSummaryRequest.
64
+
65
+ **参数解释**: 实例ID,此参数是用户创建实例的唯一标识。 **约束限制**: 不涉及。 **取值范围**: 只能由英文字母、数字组成,且长度为36个字符。 **默认取值**: 不涉及。
66
+
67
+ :param instance_id: The instance_id of this ListDatabaseVolumeSummaryRequest.
68
+ :type instance_id: str
69
+ """
70
+ self._instance_id = instance_id
71
+
72
+ @property
73
+ def x_language(self):
74
+ r"""Gets the x_language of this ListDatabaseVolumeSummaryRequest.
75
+
76
+ **参数解释**: 语言。 **约束限制**: 不涉及。 **取值范围**: - zh-cn - en-us **默认取值**: en-us
77
+
78
+ :return: The x_language of this ListDatabaseVolumeSummaryRequest.
79
+ :rtype: str
80
+ """
81
+ return self._x_language
82
+
83
+ @x_language.setter
84
+ def x_language(self, x_language):
85
+ r"""Sets the x_language of this ListDatabaseVolumeSummaryRequest.
86
+
87
+ **参数解释**: 语言。 **约束限制**: 不涉及。 **取值范围**: - zh-cn - en-us **默认取值**: en-us
88
+
89
+ :param x_language: The x_language of this ListDatabaseVolumeSummaryRequest.
90
+ :type x_language: str
91
+ """
92
+ self._x_language = x_language
93
+
94
+ def to_dict(self):
95
+ """Returns the model properties as a dict"""
96
+ result = {}
97
+
98
+ for attr, _ in six.iteritems(self.openapi_types):
99
+ value = getattr(self, attr)
100
+ if isinstance(value, list):
101
+ result[attr] = list(map(
102
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
103
+ value
104
+ ))
105
+ elif hasattr(value, "to_dict"):
106
+ result[attr] = value.to_dict()
107
+ elif isinstance(value, dict):
108
+ result[attr] = dict(map(
109
+ lambda item: (item[0], item[1].to_dict())
110
+ if hasattr(item[1], "to_dict") else item,
111
+ value.items()
112
+ ))
113
+ else:
114
+ if attr in self.sensitive_list:
115
+ result[attr] = "****"
116
+ else:
117
+ result[attr] = value
118
+
119
+ return result
120
+
121
+ def to_str(self):
122
+ """Returns the string representation of the model"""
123
+ import simplejson as json
124
+ if six.PY2:
125
+ import sys
126
+ reload(sys)
127
+ sys.setdefaultencoding("utf-8")
128
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
129
+
130
+ def __repr__(self):
131
+ """For `print`"""
132
+ return self.to_str()
133
+
134
+ def __eq__(self, other):
135
+ """Returns true if both objects are equal"""
136
+ if not isinstance(other, ListDatabaseVolumeSummaryRequest):
137
+ return False
138
+
139
+ return self.__dict__ == other.__dict__
140
+
141
+ def __ne__(self, other):
142
+ """Returns true if both objects are not equal"""
143
+ return not self == other