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,168 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class CollectWdrSnapshotRequest:
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
+ 'body': 'CollectWdrSnapshotRequestBody'
23
+ }
24
+
25
+ attribute_map = {
26
+ 'x_language': 'X-Language',
27
+ 'instance_id': 'instance_id',
28
+ 'body': 'body'
29
+ }
30
+
31
+ def __init__(self, x_language=None, instance_id=None, body=None):
32
+ r"""CollectWdrSnapshotRequest
33
+
34
+ The model defined in huaweicloud sdk
35
+
36
+ :param x_language: **参数解释**: 语言。 **约束限制**: 不涉及。 **取值范围**: - zh-cn - en-us **默认取值**: en-us
37
+ :type x_language: str
38
+ :param instance_id: **参数解释**: 实例ID,此参数是用户创建实例的唯一标识。 **约束限制**: 不涉及。 **取值范围**: 只能由英文字母、数字组成,且长度为36个字符。 **默认取值**: 不涉及。
39
+ :type instance_id: str
40
+ :param body: Body of the CollectWdrSnapshotRequest
41
+ :type body: :class:`huaweicloudsdkgaussdbforopengauss.v3.CollectWdrSnapshotRequestBody`
42
+ """
43
+
44
+
45
+
46
+ self._x_language = None
47
+ self._instance_id = None
48
+ self._body = None
49
+ self.discriminator = None
50
+
51
+ if x_language is not None:
52
+ self.x_language = x_language
53
+ self.instance_id = instance_id
54
+ if body is not None:
55
+ self.body = body
56
+
57
+ @property
58
+ def x_language(self):
59
+ r"""Gets the x_language of this CollectWdrSnapshotRequest.
60
+
61
+ **参数解释**: 语言。 **约束限制**: 不涉及。 **取值范围**: - zh-cn - en-us **默认取值**: en-us
62
+
63
+ :return: The x_language of this CollectWdrSnapshotRequest.
64
+ :rtype: str
65
+ """
66
+ return self._x_language
67
+
68
+ @x_language.setter
69
+ def x_language(self, x_language):
70
+ r"""Sets the x_language of this CollectWdrSnapshotRequest.
71
+
72
+ **参数解释**: 语言。 **约束限制**: 不涉及。 **取值范围**: - zh-cn - en-us **默认取值**: en-us
73
+
74
+ :param x_language: The x_language of this CollectWdrSnapshotRequest.
75
+ :type x_language: str
76
+ """
77
+ self._x_language = x_language
78
+
79
+ @property
80
+ def instance_id(self):
81
+ r"""Gets the instance_id of this CollectWdrSnapshotRequest.
82
+
83
+ **参数解释**: 实例ID,此参数是用户创建实例的唯一标识。 **约束限制**: 不涉及。 **取值范围**: 只能由英文字母、数字组成,且长度为36个字符。 **默认取值**: 不涉及。
84
+
85
+ :return: The instance_id of this CollectWdrSnapshotRequest.
86
+ :rtype: str
87
+ """
88
+ return self._instance_id
89
+
90
+ @instance_id.setter
91
+ def instance_id(self, instance_id):
92
+ r"""Sets the instance_id of this CollectWdrSnapshotRequest.
93
+
94
+ **参数解释**: 实例ID,此参数是用户创建实例的唯一标识。 **约束限制**: 不涉及。 **取值范围**: 只能由英文字母、数字组成,且长度为36个字符。 **默认取值**: 不涉及。
95
+
96
+ :param instance_id: The instance_id of this CollectWdrSnapshotRequest.
97
+ :type instance_id: str
98
+ """
99
+ self._instance_id = instance_id
100
+
101
+ @property
102
+ def body(self):
103
+ r"""Gets the body of this CollectWdrSnapshotRequest.
104
+
105
+ :return: The body of this CollectWdrSnapshotRequest.
106
+ :rtype: :class:`huaweicloudsdkgaussdbforopengauss.v3.CollectWdrSnapshotRequestBody`
107
+ """
108
+ return self._body
109
+
110
+ @body.setter
111
+ def body(self, body):
112
+ r"""Sets the body of this CollectWdrSnapshotRequest.
113
+
114
+ :param body: The body of this CollectWdrSnapshotRequest.
115
+ :type body: :class:`huaweicloudsdkgaussdbforopengauss.v3.CollectWdrSnapshotRequestBody`
116
+ """
117
+ self._body = body
118
+
119
+ def to_dict(self):
120
+ """Returns the model properties as a dict"""
121
+ result = {}
122
+
123
+ for attr, _ in six.iteritems(self.openapi_types):
124
+ value = getattr(self, attr)
125
+ if isinstance(value, list):
126
+ result[attr] = list(map(
127
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
128
+ value
129
+ ))
130
+ elif hasattr(value, "to_dict"):
131
+ result[attr] = value.to_dict()
132
+ elif isinstance(value, dict):
133
+ result[attr] = dict(map(
134
+ lambda item: (item[0], item[1].to_dict())
135
+ if hasattr(item[1], "to_dict") else item,
136
+ value.items()
137
+ ))
138
+ else:
139
+ if attr in self.sensitive_list:
140
+ result[attr] = "****"
141
+ else:
142
+ result[attr] = value
143
+
144
+ return result
145
+
146
+ def to_str(self):
147
+ """Returns the string representation of the model"""
148
+ import simplejson as json
149
+ if six.PY2:
150
+ import sys
151
+ reload(sys)
152
+ sys.setdefaultencoding("utf-8")
153
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
154
+
155
+ def __repr__(self):
156
+ """For `print`"""
157
+ return self.to_str()
158
+
159
+ def __eq__(self, other):
160
+ """Returns true if both objects are equal"""
161
+ if not isinstance(other, CollectWdrSnapshotRequest):
162
+ return False
163
+
164
+ return self.__dict__ == other.__dict__
165
+
166
+ def __ne__(self, other):
167
+ """Returns true if both objects are not equal"""
168
+ return not self == other
@@ -0,0 +1,170 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class CollectWdrSnapshotRequestBody:
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
+ 'start_time': 'str',
21
+ 'end_time': 'str',
22
+ 'wdr_type': 'list[str]'
23
+ }
24
+
25
+ attribute_map = {
26
+ 'start_time': 'start_time',
27
+ 'end_time': 'end_time',
28
+ 'wdr_type': 'wdr_type'
29
+ }
30
+
31
+ def __init__(self, start_time=None, end_time=None, wdr_type=None):
32
+ r"""CollectWdrSnapshotRequestBody
33
+
34
+ The model defined in huaweicloud sdk
35
+
36
+ :param start_time: **参数解释**: 快照开始时间。 **约束限制**: 格式为“yyyy-mm-ddThh:mm:ssZ”。其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
37
+ :type start_time: str
38
+ :param end_time: **参数解释**: 快照结束时间。 **约束限制**: 格式为“yyyy-mm-ddThh:mm:ssZ”。其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
39
+ :type end_time: str
40
+ :param wdr_type: **参数解释**: 采集类型,包括实例级和组件级。 **约束限制**: 实例级则需要输入\"cluster\",组件级则需要输入组件ID。实例级和组件级无法同时输入。
41
+ :type wdr_type: list[str]
42
+ """
43
+
44
+
45
+
46
+ self._start_time = None
47
+ self._end_time = None
48
+ self._wdr_type = None
49
+ self.discriminator = None
50
+
51
+ self.start_time = start_time
52
+ self.end_time = end_time
53
+ self.wdr_type = wdr_type
54
+
55
+ @property
56
+ def start_time(self):
57
+ r"""Gets the start_time of this CollectWdrSnapshotRequestBody.
58
+
59
+ **参数解释**: 快照开始时间。 **约束限制**: 格式为“yyyy-mm-ddThh:mm:ssZ”。其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
60
+
61
+ :return: The start_time of this CollectWdrSnapshotRequestBody.
62
+ :rtype: str
63
+ """
64
+ return self._start_time
65
+
66
+ @start_time.setter
67
+ def start_time(self, start_time):
68
+ r"""Sets the start_time of this CollectWdrSnapshotRequestBody.
69
+
70
+ **参数解释**: 快照开始时间。 **约束限制**: 格式为“yyyy-mm-ddThh:mm:ssZ”。其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
71
+
72
+ :param start_time: The start_time of this CollectWdrSnapshotRequestBody.
73
+ :type start_time: str
74
+ """
75
+ self._start_time = start_time
76
+
77
+ @property
78
+ def end_time(self):
79
+ r"""Gets the end_time of this CollectWdrSnapshotRequestBody.
80
+
81
+ **参数解释**: 快照结束时间。 **约束限制**: 格式为“yyyy-mm-ddThh:mm:ssZ”。其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
82
+
83
+ :return: The end_time of this CollectWdrSnapshotRequestBody.
84
+ :rtype: str
85
+ """
86
+ return self._end_time
87
+
88
+ @end_time.setter
89
+ def end_time(self, end_time):
90
+ r"""Sets the end_time of this CollectWdrSnapshotRequestBody.
91
+
92
+ **参数解释**: 快照结束时间。 **约束限制**: 格式为“yyyy-mm-ddThh:mm:ssZ”。其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
93
+
94
+ :param end_time: The end_time of this CollectWdrSnapshotRequestBody.
95
+ :type end_time: str
96
+ """
97
+ self._end_time = end_time
98
+
99
+ @property
100
+ def wdr_type(self):
101
+ r"""Gets the wdr_type of this CollectWdrSnapshotRequestBody.
102
+
103
+ **参数解释**: 采集类型,包括实例级和组件级。 **约束限制**: 实例级则需要输入\"cluster\",组件级则需要输入组件ID。实例级和组件级无法同时输入。
104
+
105
+ :return: The wdr_type of this CollectWdrSnapshotRequestBody.
106
+ :rtype: list[str]
107
+ """
108
+ return self._wdr_type
109
+
110
+ @wdr_type.setter
111
+ def wdr_type(self, wdr_type):
112
+ r"""Sets the wdr_type of this CollectWdrSnapshotRequestBody.
113
+
114
+ **参数解释**: 采集类型,包括实例级和组件级。 **约束限制**: 实例级则需要输入\"cluster\",组件级则需要输入组件ID。实例级和组件级无法同时输入。
115
+
116
+ :param wdr_type: The wdr_type of this CollectWdrSnapshotRequestBody.
117
+ :type wdr_type: list[str]
118
+ """
119
+ self._wdr_type = wdr_type
120
+
121
+ def to_dict(self):
122
+ """Returns the model properties as a dict"""
123
+ result = {}
124
+
125
+ for attr, _ in six.iteritems(self.openapi_types):
126
+ value = getattr(self, attr)
127
+ if isinstance(value, list):
128
+ result[attr] = list(map(
129
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
130
+ value
131
+ ))
132
+ elif hasattr(value, "to_dict"):
133
+ result[attr] = value.to_dict()
134
+ elif isinstance(value, dict):
135
+ result[attr] = dict(map(
136
+ lambda item: (item[0], item[1].to_dict())
137
+ if hasattr(item[1], "to_dict") else item,
138
+ value.items()
139
+ ))
140
+ else:
141
+ if attr in self.sensitive_list:
142
+ result[attr] = "****"
143
+ else:
144
+ result[attr] = value
145
+
146
+ return result
147
+
148
+ def to_str(self):
149
+ """Returns the string representation of the model"""
150
+ import simplejson as json
151
+ if six.PY2:
152
+ import sys
153
+ reload(sys)
154
+ sys.setdefaultencoding("utf-8")
155
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
156
+
157
+ def __repr__(self):
158
+ """For `print`"""
159
+ return self.to_str()
160
+
161
+ def __eq__(self, other):
162
+ """Returns true if both objects are equal"""
163
+ if not isinstance(other, CollectWdrSnapshotRequestBody):
164
+ return False
165
+
166
+ return self.__dict__ == other.__dict__
167
+
168
+ def __ne__(self, other):
169
+ """Returns true if both objects are not equal"""
170
+ return not self == other
@@ -0,0 +1,116 @@
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 CollectWdrSnapshotResponse(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
+ 'job_id': 'str'
22
+ }
23
+
24
+ attribute_map = {
25
+ 'job_id': 'job_id'
26
+ }
27
+
28
+ def __init__(self, job_id=None):
29
+ r"""CollectWdrSnapshotResponse
30
+
31
+ The model defined in huaweicloud sdk
32
+
33
+ :param job_id: **参数解释**: 任务ID。 **取值范围**: 不涉及。
34
+ :type job_id: str
35
+ """
36
+
37
+ super(CollectWdrSnapshotResponse, self).__init__()
38
+
39
+ self._job_id = None
40
+ self.discriminator = None
41
+
42
+ if job_id is not None:
43
+ self.job_id = job_id
44
+
45
+ @property
46
+ def job_id(self):
47
+ r"""Gets the job_id of this CollectWdrSnapshotResponse.
48
+
49
+ **参数解释**: 任务ID。 **取值范围**: 不涉及。
50
+
51
+ :return: The job_id of this CollectWdrSnapshotResponse.
52
+ :rtype: str
53
+ """
54
+ return self._job_id
55
+
56
+ @job_id.setter
57
+ def job_id(self, job_id):
58
+ r"""Sets the job_id of this CollectWdrSnapshotResponse.
59
+
60
+ **参数解释**: 任务ID。 **取值范围**: 不涉及。
61
+
62
+ :param job_id: The job_id of this CollectWdrSnapshotResponse.
63
+ :type job_id: str
64
+ """
65
+ self._job_id = job_id
66
+
67
+ def to_dict(self):
68
+ """Returns the model properties as a dict"""
69
+ result = {}
70
+
71
+ for attr, _ in six.iteritems(self.openapi_types):
72
+ value = getattr(self, attr)
73
+ if isinstance(value, list):
74
+ result[attr] = list(map(
75
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
76
+ value
77
+ ))
78
+ elif hasattr(value, "to_dict"):
79
+ result[attr] = value.to_dict()
80
+ elif isinstance(value, dict):
81
+ result[attr] = dict(map(
82
+ lambda item: (item[0], item[1].to_dict())
83
+ if hasattr(item[1], "to_dict") else item,
84
+ value.items()
85
+ ))
86
+ else:
87
+ if attr in self.sensitive_list:
88
+ result[attr] = "****"
89
+ else:
90
+ result[attr] = value
91
+
92
+ return result
93
+
94
+ def to_str(self):
95
+ """Returns the string representation of the model"""
96
+ import simplejson as json
97
+ if six.PY2:
98
+ import sys
99
+ reload(sys)
100
+ sys.setdefaultencoding("utf-8")
101
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
102
+
103
+ def __repr__(self):
104
+ """For `print`"""
105
+ return self.to_str()
106
+
107
+ def __eq__(self, other):
108
+ """Returns true if both objects are equal"""
109
+ if not isinstance(other, CollectWdrSnapshotResponse):
110
+ return False
111
+
112
+ return self.__dict__ == other.__dict__
113
+
114
+ def __ne__(self, other):
115
+ """Returns true if both objects are not equal"""
116
+ return not self == other
@@ -0,0 +1,231 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class CompareConditionOption:
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
+ 'name': 'str',
21
+ 'enable_equal': 'bool',
22
+ 'min': 'int',
23
+ 'max': 'int',
24
+ 'value': 'int'
25
+ }
26
+
27
+ attribute_map = {
28
+ 'name': 'name',
29
+ 'enable_equal': 'enable_equal',
30
+ 'min': 'min',
31
+ 'max': 'max',
32
+ 'value': 'value'
33
+ }
34
+
35
+ def __init__(self, name=None, enable_equal=None, min=None, max=None, value=None):
36
+ r"""CompareConditionOption
37
+
38
+ The model defined in huaweicloud sdk
39
+
40
+ :param name: **参数解释**: 查询字段名称,当前仅支持特定的数值字段。 **约束限制**: 不涉及。 **取值范围**: - total_sql_time: 总SQL耗时。 - sql_time:SQL执行次数。 **默认取值**: 不涉及。
41
+ :type name: str
42
+ :param enable_equal: **参数解释**: 是否使能包含等于,如果为true,则表示包含边界条件(min或max)的取值。 **约束限制**: 不涉及。 **取值范围**: - true - false **默认取值**: 不涉及。
43
+ :type enable_equal: bool
44
+ :param min: **参数解释**: 最小值判断条件对应取值(大于条件)。 **约束限制**: 不涉及。 **取值范围**: [0, 2^63-1] **默认取值**: 不涉及。
45
+ :type min: int
46
+ :param max: **参数解释**: 最大值判断条件对应取值(小于条件)。 **约束限制**: 不涉及。 **取值范围**: [0, 2^63-1] **默认取值**: 不涉及。
47
+ :type max: int
48
+ :param value: **参数解释**: 等值判断条件对应取值(等于条件)。value的优先级最高,如果value不为空,则忽略min和max的取值设置;value为空时,才使能min和max的条件过滤。 **约束限制**: 不涉及。 **取值范围**: [0, 2^63-1] **默认取值**: 不涉及。
49
+ :type value: int
50
+ """
51
+
52
+
53
+
54
+ self._name = None
55
+ self._enable_equal = None
56
+ self._min = None
57
+ self._max = None
58
+ self._value = None
59
+ self.discriminator = None
60
+
61
+ if name is not None:
62
+ self.name = name
63
+ if enable_equal is not None:
64
+ self.enable_equal = enable_equal
65
+ if min is not None:
66
+ self.min = min
67
+ if max is not None:
68
+ self.max = max
69
+ if value is not None:
70
+ self.value = value
71
+
72
+ @property
73
+ def name(self):
74
+ r"""Gets the name of this CompareConditionOption.
75
+
76
+ **参数解释**: 查询字段名称,当前仅支持特定的数值字段。 **约束限制**: 不涉及。 **取值范围**: - total_sql_time: 总SQL耗时。 - sql_time:SQL执行次数。 **默认取值**: 不涉及。
77
+
78
+ :return: The name of this CompareConditionOption.
79
+ :rtype: str
80
+ """
81
+ return self._name
82
+
83
+ @name.setter
84
+ def name(self, name):
85
+ r"""Sets the name of this CompareConditionOption.
86
+
87
+ **参数解释**: 查询字段名称,当前仅支持特定的数值字段。 **约束限制**: 不涉及。 **取值范围**: - total_sql_time: 总SQL耗时。 - sql_time:SQL执行次数。 **默认取值**: 不涉及。
88
+
89
+ :param name: The name of this CompareConditionOption.
90
+ :type name: str
91
+ """
92
+ self._name = name
93
+
94
+ @property
95
+ def enable_equal(self):
96
+ r"""Gets the enable_equal of this CompareConditionOption.
97
+
98
+ **参数解释**: 是否使能包含等于,如果为true,则表示包含边界条件(min或max)的取值。 **约束限制**: 不涉及。 **取值范围**: - true - false **默认取值**: 不涉及。
99
+
100
+ :return: The enable_equal of this CompareConditionOption.
101
+ :rtype: bool
102
+ """
103
+ return self._enable_equal
104
+
105
+ @enable_equal.setter
106
+ def enable_equal(self, enable_equal):
107
+ r"""Sets the enable_equal of this CompareConditionOption.
108
+
109
+ **参数解释**: 是否使能包含等于,如果为true,则表示包含边界条件(min或max)的取值。 **约束限制**: 不涉及。 **取值范围**: - true - false **默认取值**: 不涉及。
110
+
111
+ :param enable_equal: The enable_equal of this CompareConditionOption.
112
+ :type enable_equal: bool
113
+ """
114
+ self._enable_equal = enable_equal
115
+
116
+ @property
117
+ def min(self):
118
+ r"""Gets the min of this CompareConditionOption.
119
+
120
+ **参数解释**: 最小值判断条件对应取值(大于条件)。 **约束限制**: 不涉及。 **取值范围**: [0, 2^63-1] **默认取值**: 不涉及。
121
+
122
+ :return: The min of this CompareConditionOption.
123
+ :rtype: int
124
+ """
125
+ return self._min
126
+
127
+ @min.setter
128
+ def min(self, min):
129
+ r"""Sets the min of this CompareConditionOption.
130
+
131
+ **参数解释**: 最小值判断条件对应取值(大于条件)。 **约束限制**: 不涉及。 **取值范围**: [0, 2^63-1] **默认取值**: 不涉及。
132
+
133
+ :param min: The min of this CompareConditionOption.
134
+ :type min: int
135
+ """
136
+ self._min = min
137
+
138
+ @property
139
+ def max(self):
140
+ r"""Gets the max of this CompareConditionOption.
141
+
142
+ **参数解释**: 最大值判断条件对应取值(小于条件)。 **约束限制**: 不涉及。 **取值范围**: [0, 2^63-1] **默认取值**: 不涉及。
143
+
144
+ :return: The max of this CompareConditionOption.
145
+ :rtype: int
146
+ """
147
+ return self._max
148
+
149
+ @max.setter
150
+ def max(self, max):
151
+ r"""Sets the max of this CompareConditionOption.
152
+
153
+ **参数解释**: 最大值判断条件对应取值(小于条件)。 **约束限制**: 不涉及。 **取值范围**: [0, 2^63-1] **默认取值**: 不涉及。
154
+
155
+ :param max: The max of this CompareConditionOption.
156
+ :type max: int
157
+ """
158
+ self._max = max
159
+
160
+ @property
161
+ def value(self):
162
+ r"""Gets the value of this CompareConditionOption.
163
+
164
+ **参数解释**: 等值判断条件对应取值(等于条件)。value的优先级最高,如果value不为空,则忽略min和max的取值设置;value为空时,才使能min和max的条件过滤。 **约束限制**: 不涉及。 **取值范围**: [0, 2^63-1] **默认取值**: 不涉及。
165
+
166
+ :return: The value of this CompareConditionOption.
167
+ :rtype: int
168
+ """
169
+ return self._value
170
+
171
+ @value.setter
172
+ def value(self, value):
173
+ r"""Sets the value of this CompareConditionOption.
174
+
175
+ **参数解释**: 等值判断条件对应取值(等于条件)。value的优先级最高,如果value不为空,则忽略min和max的取值设置;value为空时,才使能min和max的条件过滤。 **约束限制**: 不涉及。 **取值范围**: [0, 2^63-1] **默认取值**: 不涉及。
176
+
177
+ :param value: The value of this CompareConditionOption.
178
+ :type value: int
179
+ """
180
+ self._value = value
181
+
182
+ def to_dict(self):
183
+ """Returns the model properties as a dict"""
184
+ result = {}
185
+
186
+ for attr, _ in six.iteritems(self.openapi_types):
187
+ value = getattr(self, attr)
188
+ if isinstance(value, list):
189
+ result[attr] = list(map(
190
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
191
+ value
192
+ ))
193
+ elif hasattr(value, "to_dict"):
194
+ result[attr] = value.to_dict()
195
+ elif isinstance(value, dict):
196
+ result[attr] = dict(map(
197
+ lambda item: (item[0], item[1].to_dict())
198
+ if hasattr(item[1], "to_dict") else item,
199
+ value.items()
200
+ ))
201
+ else:
202
+ if attr in self.sensitive_list:
203
+ result[attr] = "****"
204
+ else:
205
+ result[attr] = value
206
+
207
+ return result
208
+
209
+ def to_str(self):
210
+ """Returns the string representation of the model"""
211
+ import simplejson as json
212
+ if six.PY2:
213
+ import sys
214
+ reload(sys)
215
+ sys.setdefaultencoding("utf-8")
216
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
217
+
218
+ def __repr__(self):
219
+ """For `print`"""
220
+ return self.to_str()
221
+
222
+ def __eq__(self, other):
223
+ """Returns true if both objects are equal"""
224
+ if not isinstance(other, CompareConditionOption):
225
+ return False
226
+
227
+ return self.__dict__ == other.__dict__
228
+
229
+ def __ne__(self, other):
230
+ """Returns true if both objects are not equal"""
231
+ return not self == other