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.
- huaweicloudsdkgaussdbforopengauss/v3/__init__.py +146 -3
- huaweicloudsdkgaussdbforopengauss/v3/gaussdbforopengauss_async_client.py +4328 -1256
- huaweicloudsdkgaussdbforopengauss/v3/gaussdbforopengauss_client.py +4328 -1256
- huaweicloudsdkgaussdbforopengauss/v3/model/__init__.py +146 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/add_hba_conf_request_body.py +115 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/add_hba_confs_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/add_hba_confs_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/add_instance_tags_request.py +6 -6
- huaweicloudsdkgaussdbforopengauss/v3/model/alarm_level_statistics_result.py +144 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/allow_db_privileges_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/allow_db_role_privileges_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/applied_histories_result.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/attach_eip_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/backup_info.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/backups.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/backups_result.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/base_ops_key_view_request_body.py +171 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/bind_lts_config_request.py +140 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/bind_lts_config_request_body.py +114 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/bind_lts_config_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/cancel_schedule_task_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/collect_wdr_snapshot_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/collect_wdr_snapshot_request_body.py +170 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/collect_wdr_snapshot_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/compare_condition_option.py +231 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/component_info_result.py +202 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/copy_configuration_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/create_configuration_template_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/create_cross_cloud_construct_disaster_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/create_database_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/create_database_schemas_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/create_db_role_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/create_db_user_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/create_limit_task_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/create_limit_task_response.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/create_manual_backup_request_body.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/create_readonly_nodes_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_readonly_nodes_request_body.py +114 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_readonly_nodes_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_schedule_task_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/create_slow_log_download_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/create_wdr_snapshot_request.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_wdr_snapshot_response.py +112 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_wdr_snapshot_response_body.py +84 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/database_for_list_table_result.py +114 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/database_schema_table_result.py +6 -6
- huaweicloudsdkgaussdbforopengauss/v3/model/datapoint_result.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/delete_configuration_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/delete_database_request.py +6 -6
- huaweicloudsdkgaussdbforopengauss/v3/model/delete_database_schema_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/delete_hba_conf_request_body.py +114 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/delete_hba_confs_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/delete_hba_confs_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/delete_instance_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/delete_instance_tag_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/delete_job_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/delete_limit_task_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/delete_readonly_nodes_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/delete_readonly_nodes_request_body.py +114 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/delete_readonly_nodes_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/delete_schedule_task_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/dimension_list_result.py +173 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/{error_response.py → error_response_body.py} +17 -17
- huaweicloudsdkgaussdbforopengauss/v3/model/excute_sql_node_info_result.py +231 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/execute_cross_cloud_disaster_data_cache_end_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/execute_cross_cloud_disaster_data_cache_start_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/execute_cross_cloud_disaster_end_simulation_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/execute_cross_cloud_disaster_recovery_failover_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/execute_cross_cloud_disaster_restore_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/execute_cross_cloud_disaster_start_simulation_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/execute_cross_cloud_disaster_switchover_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/execute_cross_cloud_release_disaster_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/export_slow_sql_request.py +6 -6
- huaweicloudsdkgaussdbforopengauss/v3/model/export_table_volume_request_body.py +18 -18
- huaweicloudsdkgaussdbforopengauss/v3/model/full_sql_statistic_info_result.py +376 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/gauss_db_error_response_body.py +6 -6
- huaweicloudsdkgaussdbforopengauss/v3/model/hba_conf_option.py +226 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/hba_conf_result.py +231 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/hba_history_result.py +231 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/install_kernel_plugin_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/instance_alarm_level_statistic_result.py +202 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/instance_delete_lts_config_option.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/instance_detail.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/instance_info_result.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/instance_lts_log_config_result.py +144 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/instance_save_lts_config_option.py +198 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/instance_task_detail.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/instances_list_result.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/instances_metric_result.py +521 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/instances_nodes_result.py +173 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/instances_result.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/instances_statistics_response_body_instances_statistics.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/kill_session_request_body.py +199 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_applicable_instances_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/list_applied_histories_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/list_available_flavors_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/list_backups_result.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/list_binded_eips_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/list_cn_infos_before_reduce_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/list_cn_infos_before_reduce_response.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/list_component_infos_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/list_configurations_diff_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/list_database_roles_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/list_database_schema_tables_request.py +286 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_database_schema_tables_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_database_schemas_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/list_database_volume_summary_request.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_database_volume_summary_response.py +261 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_databases_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/list_db_users_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/list_disaster_recovery_record_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/list_disaster_recovery_record_response.py +7 -7
- huaweicloudsdkgaussdbforopengauss/v3/model/list_enhance_full_sql_statistics_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_enhance_full_sql_statistics_request_body.py +722 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_enhance_full_sql_statistics_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_features_request.py +6 -6
- huaweicloudsdkgaussdbforopengauss/v3/model/list_hba_info_history_request.py +259 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_hba_info_history_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_hba_infos_request.py +201 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_hba_infos_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_instance_engine_detail_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/list_instance_error_logs_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/list_instance_tags_request.py +6 -6
- huaweicloudsdkgaussdbforopengauss/v3/model/list_kernel_plugins_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/list_key_view_execute_node_request.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_key_view_execute_node_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_kms_tde_key_request.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_kms_tde_key_response.py +174 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_kms_tde_key_response_body_key_details.py +260 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_limit_task_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/list_limit_task_response_result.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/list_lts_configs_request.py +288 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_lts_configs_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_metric_datas_request.py +231 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_metric_datas_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_node_limit_sql_model_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/list_plugin_extensions_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/list_readonly_nodes_request.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_readonly_nodes_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_readonly_nodes_result.py +202 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_real_time_sessions_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_real_time_sessions_request_body.py +167 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_real_time_sessions_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_recycle_instances_details_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/list_recycle_instances_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/list_restorable_instances_details_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/list_restorable_instances_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/list_restore_times_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/list_schedule_task_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/list_schema_and_table_request.py +6 -6
- huaweicloudsdkgaussdbforopengauss/v3/model/list_schema_and_table_request_body.py +8 -7
- huaweicloudsdkgaussdbforopengauss/v3/model/list_schema_and_table_response.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/list_session_statistics_request.py +287 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_session_statistics_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_slow_sql_details_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_slow_sql_details_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_slow_sqls_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_slow_sqls_request_body.py +284 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_slow_sqls_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_sql_excute_node_request_body.py +114 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_sql_excute_nodes_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_sql_excute_nodes_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_support_kernel_plugins_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/list_table_definition_request.py +227 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_table_definition_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_table_definitions_request.py +228 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_table_definitions_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_tasks_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/list_top_sqls_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_top_sqls_request_body.py +430 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_top_sqls_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/lts_log_config_result.py +202 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/metric_data_result.py +226 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/metric_name_result.py +144 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/modify_eps_quota_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/modify_hba_conf_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/modify_hba_conf_request_body.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/modify_hba_conf_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/multi_query_condition_option.py +202 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/node_distribution_option.py +198 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_error_response.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/ops_key_view_execute_node_result.py +289 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/para_error_response_body.py +6 -6
- huaweicloudsdkgaussdbforopengauss/v3/model/real_time_session_result.py +666 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/{record_info_response.py → record_info_response_result.py} +80 -80
- huaweicloudsdkgaussdbforopengauss/v3/model/redistribution_request_body.py +173 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/region_instance_info.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/reset_configuration_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/reset_dr_config_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/reset_pwd_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/resize_instance_flavor_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/restart_instance_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/restore_hba_info_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/restore_hba_info_request_body.py +115 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/restore_hba_info_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/resume_plugin_extensions_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/run_instance_action_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/schedule_task_detail.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/schema_table_definition_result.py +144 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/search_auto_enlarge_policy_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/session_query_info_option.py +173 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/set_backup_policy_request.py +6 -6
- huaweicloudsdkgaussdbforopengauss/v3/model/set_db_user_pwd_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/set_kernel_plugin_license_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/set_new_backup_policy_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/show_alarm_statistics_request.py +171 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_alarm_statistics_response.py +203 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_backup_policy_request.py +6 -6
- huaweicloudsdkgaussdbforopengauss/v3/model/show_balance_status_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/show_batch_upgrade_candidate_versions_response.py +8 -8
- huaweicloudsdkgaussdbforopengauss/v3/model/show_cross_cloud_disaster_instance_monitor_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/show_cross_cloud_disaster_instance_monitor_response.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/show_cross_cloud_disaster_relations_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/show_deployment_form_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/show_error_log_switch_status_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/show_global_slow_sql_detail_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_global_slow_sql_detail_request_body.py +255 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_global_slow_sql_detail_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_instance_configuration_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/show_instance_disk_request.py +6 -6
- huaweicloudsdkgaussdbforopengauss/v3/model/show_instance_metric_data_request.py +284 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_instance_metric_data_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_instance_param_group_detail_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/show_instance_param_group_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/show_instance_snapshot_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/show_instances_statistics_request.py +115 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_instances_statistics_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_kms_key_detail_request.py +171 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_kms_key_detail_response.py +203 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_limit_task_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/show_metric_names_request.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_metric_names_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_recycle_policy_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/show_session_overview_request.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_session_overview_response.py +203 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_slow_log_download_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/show_slow_sql_plan_request.py +227 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_slow_sql_plan_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_slow_sql_stack_request.py +228 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_slow_sql_stack_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_source_instance_detail_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/show_ssl_cert_download_link_request.py +6 -6
- huaweicloudsdkgaussdbforopengauss/v3/model/show_upgrade_candidate_versions_details_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/show_upgrade_candidate_versions_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/show_wdr_snapshot_status_request.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_wdr_snapshot_status_response.py +174 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/slow_sql_detail_request_body.py +255 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/slow_sql_detail_result.py +666 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/slow_sql_info_result.py +521 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/start_instance_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/start_mysql_compatibility_request.py +6 -6
- huaweicloudsdkgaussdbforopengauss/v3/model/stop_backup_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/stop_free_session_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/stop_free_session_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/stop_instance_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/stop_session_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/stop_session_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/switch_configuration_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/switch_kms_tde_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/switch_kms_tde_request_body.py +173 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/switch_kms_tde_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/switch_replica_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/switch_replica_request_body.py +115 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/switch_replica_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/switch_shard_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/switch_wdr_snapshot_request_body.py +114 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/switch_wdr_snapshot_response_body.py +84 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/switch_wdr_snapshot_status_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/switch_wdr_snapshot_status_response.py +112 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/sync_limit_data_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/top_sql_info_result.py +637 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/unbind_lts_config_request.py +140 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/unbind_lts_config_request_body.py +114 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/unbind_lts_config_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/update_features_request.py +6 -6
- huaweicloudsdkgaussdbforopengauss/v3/model/update_instance_configuration_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/update_instance_name_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/update_limit_task_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/update_mysql_compatibility_request.py +6 -6
- huaweicloudsdkgaussdbforopengauss/v3/model/update_redistribution_control_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/update_redistribution_control_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/upgrade_error_response_body.py +6 -6
- huaweicloudsdkgaussdbforopengauss/v3/model/upgrade_instance_version_request.py +6 -6
- huaweicloudsdkgaussdbforopengauss/v3/model/upgrade_instances_version_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/validate_weak_password_request.py +3 -3
- {huaweicloudsdkgaussdbforopengauss-3.1.166.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.167.dist-info}/METADATA +2 -2
- {huaweicloudsdkgaussdbforopengauss-3.1.166.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.167.dist-info}/RECORD +289 -146
- huaweicloudsdkgaussdbforopengauss/v3/model/hotfix_info.py +0 -202
- {huaweicloudsdkgaussdbforopengauss-3.1.166.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.167.dist-info}/WHEEL +0 -0
- {huaweicloudsdkgaussdbforopengauss-3.1.166.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.167.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,722 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class ListEnhanceFullSqlStatisticsRequestBody:
|
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
|
+
'limit': 'int',
|
21
|
+
'offset': 'int',
|
22
|
+
'node_id': 'str',
|
23
|
+
'begin_time': 'str',
|
24
|
+
'end_time': 'str',
|
25
|
+
'query': 'str',
|
26
|
+
'sql_id': 'str',
|
27
|
+
'sql_exec_id': 'str',
|
28
|
+
'transaction_id': 'str',
|
29
|
+
'trace_id': 'str',
|
30
|
+
'db_name': 'str',
|
31
|
+
'schema_name': 'str',
|
32
|
+
'username': 'str',
|
33
|
+
'client_addr': 'str',
|
34
|
+
'client_port': 'str',
|
35
|
+
'order_by': 'str',
|
36
|
+
'is_slow_sql': 'bool',
|
37
|
+
'order': 'str',
|
38
|
+
'application_name': 'str',
|
39
|
+
'component_id': 'str',
|
40
|
+
'multi_queries': 'list[MultiQueryConditionOption]',
|
41
|
+
'compare_conditions': 'list[CompareConditionOption]'
|
42
|
+
}
|
43
|
+
|
44
|
+
attribute_map = {
|
45
|
+
'limit': 'limit',
|
46
|
+
'offset': 'offset',
|
47
|
+
'node_id': 'node_id',
|
48
|
+
'begin_time': 'begin_time',
|
49
|
+
'end_time': 'end_time',
|
50
|
+
'query': 'query',
|
51
|
+
'sql_id': 'sql_id',
|
52
|
+
'sql_exec_id': 'sql_exec_id',
|
53
|
+
'transaction_id': 'transaction_id',
|
54
|
+
'trace_id': 'trace_id',
|
55
|
+
'db_name': 'db_name',
|
56
|
+
'schema_name': 'schema_name',
|
57
|
+
'username': 'username',
|
58
|
+
'client_addr': 'client_addr',
|
59
|
+
'client_port': 'client_port',
|
60
|
+
'order_by': 'order_by',
|
61
|
+
'is_slow_sql': 'is_slow_sql',
|
62
|
+
'order': 'order',
|
63
|
+
'application_name': 'application_name',
|
64
|
+
'component_id': 'component_id',
|
65
|
+
'multi_queries': 'multi_queries',
|
66
|
+
'compare_conditions': 'compare_conditions'
|
67
|
+
}
|
68
|
+
|
69
|
+
def __init__(self, limit=None, offset=None, node_id=None, begin_time=None, end_time=None, query=None, sql_id=None, sql_exec_id=None, transaction_id=None, trace_id=None, db_name=None, schema_name=None, username=None, client_addr=None, client_port=None, order_by=None, is_slow_sql=None, order=None, application_name=None, component_id=None, multi_queries=None, compare_conditions=None):
|
70
|
+
r"""ListEnhanceFullSqlStatisticsRequestBody
|
71
|
+
|
72
|
+
The model defined in huaweicloud sdk
|
73
|
+
|
74
|
+
:param limit: **参数解释**: 查询记录数。例如该参数设定为10,则查询结果最多只显示10条记录。 **约束限制**: 不涉及。 **取值范围**: [1, 1000] **默认取值**: 默认为10。
|
75
|
+
:type limit: int
|
76
|
+
:param offset: **参数解释**: 索引位置,偏移量。从第一条数据偏移offset条数据后开始查询。例如:该参数指定为0,limit指定为10,则只展示第1~10条数据。 **约束限制**: 不涉及。 **取值范围**: [0, 9223372036854774807] **默认取值**: 默认为0(偏移0条数据,表示从第一条数据开始查询)。
|
77
|
+
:type offset: int
|
78
|
+
:param node_id: **参数解释**: 节点ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
79
|
+
:type node_id: str
|
80
|
+
:param begin_time: **参数解释**: 查询开始时间。 **约束限制**: ISO 8601 UTC格式。模式为“yyyy-mm-ddThh:mm:ssZ”。其中,T指某个时间的开始;Z指时区偏移量。时区中的+号需要进行URL编码,编码为%2B,时区中的-号无需编码。例如:北京时间偏移显示为+0800,begin_time=2024-03-15T17:20:33+0800,传参时编码为begin_time=2024-03-15T17:20:33%2B0800。 **取值范围**: 时间区间(begin_time ~ end_time)不能超过30天。 **默认取值**: 不涉及。
|
81
|
+
:type begin_time: str
|
82
|
+
:param end_time: **参数解释**: 查询结束时间。 **约束限制**: ISO 8601 UTC格式。模式为“yyyy-mm-ddThh:mm:ssZ”。其中,T指某个时间的开始;Z指时区偏移量。时区中的+号需要进行URL编码,编码为%2B,时区中的-号无需编码。例如:北京时间偏移显示为+0800,end_time=2024-03-16T17:20:33+0800,传参时编码为end_time=2024-03-16T17:20:33%2B0800。 **取值范围**: 时间区间(begin_time ~ end_time)不能超过30天。 **默认取值**: 不涉及。
|
83
|
+
:type end_time: str
|
84
|
+
:param query: **参数解释**: SQL文本。 **约束限制**: 不涉及。 **取值范围**: 长度1~4096。 **默认取值**: 不涉及。
|
85
|
+
:type query: str
|
86
|
+
:param sql_id: **参数解释**: 归一化SQL ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
87
|
+
:type sql_id: str
|
88
|
+
:param sql_exec_id: **参数解释**: 唯一SQL ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
89
|
+
:type sql_exec_id: str
|
90
|
+
:param transaction_id: **参数解释**: 事务ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
91
|
+
:type transaction_id: str
|
92
|
+
:param trace_id: **参数解释**: 链路ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
93
|
+
:type trace_id: str
|
94
|
+
:param db_name: **参数解释**: 数据库名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
95
|
+
:type db_name: str
|
96
|
+
:param schema_name: **参数解释**: schema名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
97
|
+
:type schema_name: str
|
98
|
+
:param username: **参数解释**: 用户名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
99
|
+
:type username: str
|
100
|
+
:param client_addr: **参数解释**: 客户端地址。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
101
|
+
:type client_addr: str
|
102
|
+
:param client_port: **参数解释**: 客户端端口。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
103
|
+
:type client_port: str
|
104
|
+
:param order_by: **参数解释**: 排序字段。 **约束限制**: 不涉及。 **取值范围**: - sql_id - sql_count - avg_db_time - avg_cpu_time - avg_execution_time - avg_data_io_time - start_time_stamp **默认取值**: sql_count
|
105
|
+
:type order_by: str
|
106
|
+
:param is_slow_sql: **参数解释**: 是否是慢SQL。 **约束限制**: 不涉及。 **取值范围**: - true:是慢SQL。 - false:不是慢SQL。 **默认取值**: 不涉及。
|
107
|
+
:type is_slow_sql: bool
|
108
|
+
:param order: **参数解释**: 排序方式,支持升序和降序。 **约束限制**: 不涉及。 **取值范围**: - DESC:降序。 - ASC:升序。 **默认取值**: DESC
|
109
|
+
:type order: str
|
110
|
+
:param application_name: **参数解释**: 应用名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
111
|
+
:type application_name: str
|
112
|
+
:param component_id: **参数解释**: 组件ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
113
|
+
:type component_id: str
|
114
|
+
:param multi_queries: **参数解释**: 字段汇聚查询条件列表。 **约束限制**: 只支持针对query字段全与或者全或的查询。
|
115
|
+
:type multi_queries: list[:class:`huaweicloudsdkgaussdbforopengauss.v3.MultiQueryConditionOption`]
|
116
|
+
:param compare_conditions: **参数解释**: 组合比较查询条件,可针对某个给定过滤字段,进行区间范围、大小、小于等条件合并查询。 **约束限制**: 不涉及。
|
117
|
+
:type compare_conditions: list[:class:`huaweicloudsdkgaussdbforopengauss.v3.CompareConditionOption`]
|
118
|
+
"""
|
119
|
+
|
120
|
+
|
121
|
+
|
122
|
+
self._limit = None
|
123
|
+
self._offset = None
|
124
|
+
self._node_id = None
|
125
|
+
self._begin_time = None
|
126
|
+
self._end_time = None
|
127
|
+
self._query = None
|
128
|
+
self._sql_id = None
|
129
|
+
self._sql_exec_id = None
|
130
|
+
self._transaction_id = None
|
131
|
+
self._trace_id = None
|
132
|
+
self._db_name = None
|
133
|
+
self._schema_name = None
|
134
|
+
self._username = None
|
135
|
+
self._client_addr = None
|
136
|
+
self._client_port = None
|
137
|
+
self._order_by = None
|
138
|
+
self._is_slow_sql = None
|
139
|
+
self._order = None
|
140
|
+
self._application_name = None
|
141
|
+
self._component_id = None
|
142
|
+
self._multi_queries = None
|
143
|
+
self._compare_conditions = None
|
144
|
+
self.discriminator = None
|
145
|
+
|
146
|
+
if limit is not None:
|
147
|
+
self.limit = limit
|
148
|
+
if offset is not None:
|
149
|
+
self.offset = offset
|
150
|
+
if node_id is not None:
|
151
|
+
self.node_id = node_id
|
152
|
+
self.begin_time = begin_time
|
153
|
+
self.end_time = end_time
|
154
|
+
if query is not None:
|
155
|
+
self.query = query
|
156
|
+
if sql_id is not None:
|
157
|
+
self.sql_id = sql_id
|
158
|
+
if sql_exec_id is not None:
|
159
|
+
self.sql_exec_id = sql_exec_id
|
160
|
+
if transaction_id is not None:
|
161
|
+
self.transaction_id = transaction_id
|
162
|
+
if trace_id is not None:
|
163
|
+
self.trace_id = trace_id
|
164
|
+
if db_name is not None:
|
165
|
+
self.db_name = db_name
|
166
|
+
if schema_name is not None:
|
167
|
+
self.schema_name = schema_name
|
168
|
+
if username is not None:
|
169
|
+
self.username = username
|
170
|
+
if client_addr is not None:
|
171
|
+
self.client_addr = client_addr
|
172
|
+
if client_port is not None:
|
173
|
+
self.client_port = client_port
|
174
|
+
if order_by is not None:
|
175
|
+
self.order_by = order_by
|
176
|
+
if is_slow_sql is not None:
|
177
|
+
self.is_slow_sql = is_slow_sql
|
178
|
+
if order is not None:
|
179
|
+
self.order = order
|
180
|
+
if application_name is not None:
|
181
|
+
self.application_name = application_name
|
182
|
+
if component_id is not None:
|
183
|
+
self.component_id = component_id
|
184
|
+
if multi_queries is not None:
|
185
|
+
self.multi_queries = multi_queries
|
186
|
+
if compare_conditions is not None:
|
187
|
+
self.compare_conditions = compare_conditions
|
188
|
+
|
189
|
+
@property
|
190
|
+
def limit(self):
|
191
|
+
r"""Gets the limit of this ListEnhanceFullSqlStatisticsRequestBody.
|
192
|
+
|
193
|
+
**参数解释**: 查询记录数。例如该参数设定为10,则查询结果最多只显示10条记录。 **约束限制**: 不涉及。 **取值范围**: [1, 1000] **默认取值**: 默认为10。
|
194
|
+
|
195
|
+
:return: The limit of this ListEnhanceFullSqlStatisticsRequestBody.
|
196
|
+
:rtype: int
|
197
|
+
"""
|
198
|
+
return self._limit
|
199
|
+
|
200
|
+
@limit.setter
|
201
|
+
def limit(self, limit):
|
202
|
+
r"""Sets the limit of this ListEnhanceFullSqlStatisticsRequestBody.
|
203
|
+
|
204
|
+
**参数解释**: 查询记录数。例如该参数设定为10,则查询结果最多只显示10条记录。 **约束限制**: 不涉及。 **取值范围**: [1, 1000] **默认取值**: 默认为10。
|
205
|
+
|
206
|
+
:param limit: The limit of this ListEnhanceFullSqlStatisticsRequestBody.
|
207
|
+
:type limit: int
|
208
|
+
"""
|
209
|
+
self._limit = limit
|
210
|
+
|
211
|
+
@property
|
212
|
+
def offset(self):
|
213
|
+
r"""Gets the offset of this ListEnhanceFullSqlStatisticsRequestBody.
|
214
|
+
|
215
|
+
**参数解释**: 索引位置,偏移量。从第一条数据偏移offset条数据后开始查询。例如:该参数指定为0,limit指定为10,则只展示第1~10条数据。 **约束限制**: 不涉及。 **取值范围**: [0, 9223372036854774807] **默认取值**: 默认为0(偏移0条数据,表示从第一条数据开始查询)。
|
216
|
+
|
217
|
+
:return: The offset of this ListEnhanceFullSqlStatisticsRequestBody.
|
218
|
+
:rtype: int
|
219
|
+
"""
|
220
|
+
return self._offset
|
221
|
+
|
222
|
+
@offset.setter
|
223
|
+
def offset(self, offset):
|
224
|
+
r"""Sets the offset of this ListEnhanceFullSqlStatisticsRequestBody.
|
225
|
+
|
226
|
+
**参数解释**: 索引位置,偏移量。从第一条数据偏移offset条数据后开始查询。例如:该参数指定为0,limit指定为10,则只展示第1~10条数据。 **约束限制**: 不涉及。 **取值范围**: [0, 9223372036854774807] **默认取值**: 默认为0(偏移0条数据,表示从第一条数据开始查询)。
|
227
|
+
|
228
|
+
:param offset: The offset of this ListEnhanceFullSqlStatisticsRequestBody.
|
229
|
+
:type offset: int
|
230
|
+
"""
|
231
|
+
self._offset = offset
|
232
|
+
|
233
|
+
@property
|
234
|
+
def node_id(self):
|
235
|
+
r"""Gets the node_id of this ListEnhanceFullSqlStatisticsRequestBody.
|
236
|
+
|
237
|
+
**参数解释**: 节点ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
238
|
+
|
239
|
+
:return: The node_id of this ListEnhanceFullSqlStatisticsRequestBody.
|
240
|
+
:rtype: str
|
241
|
+
"""
|
242
|
+
return self._node_id
|
243
|
+
|
244
|
+
@node_id.setter
|
245
|
+
def node_id(self, node_id):
|
246
|
+
r"""Sets the node_id of this ListEnhanceFullSqlStatisticsRequestBody.
|
247
|
+
|
248
|
+
**参数解释**: 节点ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
249
|
+
|
250
|
+
:param node_id: The node_id of this ListEnhanceFullSqlStatisticsRequestBody.
|
251
|
+
:type node_id: str
|
252
|
+
"""
|
253
|
+
self._node_id = node_id
|
254
|
+
|
255
|
+
@property
|
256
|
+
def begin_time(self):
|
257
|
+
r"""Gets the begin_time of this ListEnhanceFullSqlStatisticsRequestBody.
|
258
|
+
|
259
|
+
**参数解释**: 查询开始时间。 **约束限制**: ISO 8601 UTC格式。模式为“yyyy-mm-ddThh:mm:ssZ”。其中,T指某个时间的开始;Z指时区偏移量。时区中的+号需要进行URL编码,编码为%2B,时区中的-号无需编码。例如:北京时间偏移显示为+0800,begin_time=2024-03-15T17:20:33+0800,传参时编码为begin_time=2024-03-15T17:20:33%2B0800。 **取值范围**: 时间区间(begin_time ~ end_time)不能超过30天。 **默认取值**: 不涉及。
|
260
|
+
|
261
|
+
:return: The begin_time of this ListEnhanceFullSqlStatisticsRequestBody.
|
262
|
+
:rtype: str
|
263
|
+
"""
|
264
|
+
return self._begin_time
|
265
|
+
|
266
|
+
@begin_time.setter
|
267
|
+
def begin_time(self, begin_time):
|
268
|
+
r"""Sets the begin_time of this ListEnhanceFullSqlStatisticsRequestBody.
|
269
|
+
|
270
|
+
**参数解释**: 查询开始时间。 **约束限制**: ISO 8601 UTC格式。模式为“yyyy-mm-ddThh:mm:ssZ”。其中,T指某个时间的开始;Z指时区偏移量。时区中的+号需要进行URL编码,编码为%2B,时区中的-号无需编码。例如:北京时间偏移显示为+0800,begin_time=2024-03-15T17:20:33+0800,传参时编码为begin_time=2024-03-15T17:20:33%2B0800。 **取值范围**: 时间区间(begin_time ~ end_time)不能超过30天。 **默认取值**: 不涉及。
|
271
|
+
|
272
|
+
:param begin_time: The begin_time of this ListEnhanceFullSqlStatisticsRequestBody.
|
273
|
+
:type begin_time: str
|
274
|
+
"""
|
275
|
+
self._begin_time = begin_time
|
276
|
+
|
277
|
+
@property
|
278
|
+
def end_time(self):
|
279
|
+
r"""Gets the end_time of this ListEnhanceFullSqlStatisticsRequestBody.
|
280
|
+
|
281
|
+
**参数解释**: 查询结束时间。 **约束限制**: ISO 8601 UTC格式。模式为“yyyy-mm-ddThh:mm:ssZ”。其中,T指某个时间的开始;Z指时区偏移量。时区中的+号需要进行URL编码,编码为%2B,时区中的-号无需编码。例如:北京时间偏移显示为+0800,end_time=2024-03-16T17:20:33+0800,传参时编码为end_time=2024-03-16T17:20:33%2B0800。 **取值范围**: 时间区间(begin_time ~ end_time)不能超过30天。 **默认取值**: 不涉及。
|
282
|
+
|
283
|
+
:return: The end_time of this ListEnhanceFullSqlStatisticsRequestBody.
|
284
|
+
:rtype: str
|
285
|
+
"""
|
286
|
+
return self._end_time
|
287
|
+
|
288
|
+
@end_time.setter
|
289
|
+
def end_time(self, end_time):
|
290
|
+
r"""Sets the end_time of this ListEnhanceFullSqlStatisticsRequestBody.
|
291
|
+
|
292
|
+
**参数解释**: 查询结束时间。 **约束限制**: ISO 8601 UTC格式。模式为“yyyy-mm-ddThh:mm:ssZ”。其中,T指某个时间的开始;Z指时区偏移量。时区中的+号需要进行URL编码,编码为%2B,时区中的-号无需编码。例如:北京时间偏移显示为+0800,end_time=2024-03-16T17:20:33+0800,传参时编码为end_time=2024-03-16T17:20:33%2B0800。 **取值范围**: 时间区间(begin_time ~ end_time)不能超过30天。 **默认取值**: 不涉及。
|
293
|
+
|
294
|
+
:param end_time: The end_time of this ListEnhanceFullSqlStatisticsRequestBody.
|
295
|
+
:type end_time: str
|
296
|
+
"""
|
297
|
+
self._end_time = end_time
|
298
|
+
|
299
|
+
@property
|
300
|
+
def query(self):
|
301
|
+
r"""Gets the query of this ListEnhanceFullSqlStatisticsRequestBody.
|
302
|
+
|
303
|
+
**参数解释**: SQL文本。 **约束限制**: 不涉及。 **取值范围**: 长度1~4096。 **默认取值**: 不涉及。
|
304
|
+
|
305
|
+
:return: The query of this ListEnhanceFullSqlStatisticsRequestBody.
|
306
|
+
:rtype: str
|
307
|
+
"""
|
308
|
+
return self._query
|
309
|
+
|
310
|
+
@query.setter
|
311
|
+
def query(self, query):
|
312
|
+
r"""Sets the query of this ListEnhanceFullSqlStatisticsRequestBody.
|
313
|
+
|
314
|
+
**参数解释**: SQL文本。 **约束限制**: 不涉及。 **取值范围**: 长度1~4096。 **默认取值**: 不涉及。
|
315
|
+
|
316
|
+
:param query: The query of this ListEnhanceFullSqlStatisticsRequestBody.
|
317
|
+
:type query: str
|
318
|
+
"""
|
319
|
+
self._query = query
|
320
|
+
|
321
|
+
@property
|
322
|
+
def sql_id(self):
|
323
|
+
r"""Gets the sql_id of this ListEnhanceFullSqlStatisticsRequestBody.
|
324
|
+
|
325
|
+
**参数解释**: 归一化SQL ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
326
|
+
|
327
|
+
:return: The sql_id of this ListEnhanceFullSqlStatisticsRequestBody.
|
328
|
+
:rtype: str
|
329
|
+
"""
|
330
|
+
return self._sql_id
|
331
|
+
|
332
|
+
@sql_id.setter
|
333
|
+
def sql_id(self, sql_id):
|
334
|
+
r"""Sets the sql_id of this ListEnhanceFullSqlStatisticsRequestBody.
|
335
|
+
|
336
|
+
**参数解释**: 归一化SQL ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
337
|
+
|
338
|
+
:param sql_id: The sql_id of this ListEnhanceFullSqlStatisticsRequestBody.
|
339
|
+
:type sql_id: str
|
340
|
+
"""
|
341
|
+
self._sql_id = sql_id
|
342
|
+
|
343
|
+
@property
|
344
|
+
def sql_exec_id(self):
|
345
|
+
r"""Gets the sql_exec_id of this ListEnhanceFullSqlStatisticsRequestBody.
|
346
|
+
|
347
|
+
**参数解释**: 唯一SQL ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
348
|
+
|
349
|
+
:return: The sql_exec_id of this ListEnhanceFullSqlStatisticsRequestBody.
|
350
|
+
:rtype: str
|
351
|
+
"""
|
352
|
+
return self._sql_exec_id
|
353
|
+
|
354
|
+
@sql_exec_id.setter
|
355
|
+
def sql_exec_id(self, sql_exec_id):
|
356
|
+
r"""Sets the sql_exec_id of this ListEnhanceFullSqlStatisticsRequestBody.
|
357
|
+
|
358
|
+
**参数解释**: 唯一SQL ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
359
|
+
|
360
|
+
:param sql_exec_id: The sql_exec_id of this ListEnhanceFullSqlStatisticsRequestBody.
|
361
|
+
:type sql_exec_id: str
|
362
|
+
"""
|
363
|
+
self._sql_exec_id = sql_exec_id
|
364
|
+
|
365
|
+
@property
|
366
|
+
def transaction_id(self):
|
367
|
+
r"""Gets the transaction_id of this ListEnhanceFullSqlStatisticsRequestBody.
|
368
|
+
|
369
|
+
**参数解释**: 事务ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
370
|
+
|
371
|
+
:return: The transaction_id of this ListEnhanceFullSqlStatisticsRequestBody.
|
372
|
+
:rtype: str
|
373
|
+
"""
|
374
|
+
return self._transaction_id
|
375
|
+
|
376
|
+
@transaction_id.setter
|
377
|
+
def transaction_id(self, transaction_id):
|
378
|
+
r"""Sets the transaction_id of this ListEnhanceFullSqlStatisticsRequestBody.
|
379
|
+
|
380
|
+
**参数解释**: 事务ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
381
|
+
|
382
|
+
:param transaction_id: The transaction_id of this ListEnhanceFullSqlStatisticsRequestBody.
|
383
|
+
:type transaction_id: str
|
384
|
+
"""
|
385
|
+
self._transaction_id = transaction_id
|
386
|
+
|
387
|
+
@property
|
388
|
+
def trace_id(self):
|
389
|
+
r"""Gets the trace_id of this ListEnhanceFullSqlStatisticsRequestBody.
|
390
|
+
|
391
|
+
**参数解释**: 链路ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
392
|
+
|
393
|
+
:return: The trace_id of this ListEnhanceFullSqlStatisticsRequestBody.
|
394
|
+
:rtype: str
|
395
|
+
"""
|
396
|
+
return self._trace_id
|
397
|
+
|
398
|
+
@trace_id.setter
|
399
|
+
def trace_id(self, trace_id):
|
400
|
+
r"""Sets the trace_id of this ListEnhanceFullSqlStatisticsRequestBody.
|
401
|
+
|
402
|
+
**参数解释**: 链路ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
403
|
+
|
404
|
+
:param trace_id: The trace_id of this ListEnhanceFullSqlStatisticsRequestBody.
|
405
|
+
:type trace_id: str
|
406
|
+
"""
|
407
|
+
self._trace_id = trace_id
|
408
|
+
|
409
|
+
@property
|
410
|
+
def db_name(self):
|
411
|
+
r"""Gets the db_name of this ListEnhanceFullSqlStatisticsRequestBody.
|
412
|
+
|
413
|
+
**参数解释**: 数据库名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
414
|
+
|
415
|
+
:return: The db_name of this ListEnhanceFullSqlStatisticsRequestBody.
|
416
|
+
:rtype: str
|
417
|
+
"""
|
418
|
+
return self._db_name
|
419
|
+
|
420
|
+
@db_name.setter
|
421
|
+
def db_name(self, db_name):
|
422
|
+
r"""Sets the db_name of this ListEnhanceFullSqlStatisticsRequestBody.
|
423
|
+
|
424
|
+
**参数解释**: 数据库名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
425
|
+
|
426
|
+
:param db_name: The db_name of this ListEnhanceFullSqlStatisticsRequestBody.
|
427
|
+
:type db_name: str
|
428
|
+
"""
|
429
|
+
self._db_name = db_name
|
430
|
+
|
431
|
+
@property
|
432
|
+
def schema_name(self):
|
433
|
+
r"""Gets the schema_name of this ListEnhanceFullSqlStatisticsRequestBody.
|
434
|
+
|
435
|
+
**参数解释**: schema名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
436
|
+
|
437
|
+
:return: The schema_name of this ListEnhanceFullSqlStatisticsRequestBody.
|
438
|
+
:rtype: str
|
439
|
+
"""
|
440
|
+
return self._schema_name
|
441
|
+
|
442
|
+
@schema_name.setter
|
443
|
+
def schema_name(self, schema_name):
|
444
|
+
r"""Sets the schema_name of this ListEnhanceFullSqlStatisticsRequestBody.
|
445
|
+
|
446
|
+
**参数解释**: schema名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
447
|
+
|
448
|
+
:param schema_name: The schema_name of this ListEnhanceFullSqlStatisticsRequestBody.
|
449
|
+
:type schema_name: str
|
450
|
+
"""
|
451
|
+
self._schema_name = schema_name
|
452
|
+
|
453
|
+
@property
|
454
|
+
def username(self):
|
455
|
+
r"""Gets the username of this ListEnhanceFullSqlStatisticsRequestBody.
|
456
|
+
|
457
|
+
**参数解释**: 用户名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
458
|
+
|
459
|
+
:return: The username of this ListEnhanceFullSqlStatisticsRequestBody.
|
460
|
+
:rtype: str
|
461
|
+
"""
|
462
|
+
return self._username
|
463
|
+
|
464
|
+
@username.setter
|
465
|
+
def username(self, username):
|
466
|
+
r"""Sets the username of this ListEnhanceFullSqlStatisticsRequestBody.
|
467
|
+
|
468
|
+
**参数解释**: 用户名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
469
|
+
|
470
|
+
:param username: The username of this ListEnhanceFullSqlStatisticsRequestBody.
|
471
|
+
:type username: str
|
472
|
+
"""
|
473
|
+
self._username = username
|
474
|
+
|
475
|
+
@property
|
476
|
+
def client_addr(self):
|
477
|
+
r"""Gets the client_addr of this ListEnhanceFullSqlStatisticsRequestBody.
|
478
|
+
|
479
|
+
**参数解释**: 客户端地址。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
480
|
+
|
481
|
+
:return: The client_addr of this ListEnhanceFullSqlStatisticsRequestBody.
|
482
|
+
:rtype: str
|
483
|
+
"""
|
484
|
+
return self._client_addr
|
485
|
+
|
486
|
+
@client_addr.setter
|
487
|
+
def client_addr(self, client_addr):
|
488
|
+
r"""Sets the client_addr of this ListEnhanceFullSqlStatisticsRequestBody.
|
489
|
+
|
490
|
+
**参数解释**: 客户端地址。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
491
|
+
|
492
|
+
:param client_addr: The client_addr of this ListEnhanceFullSqlStatisticsRequestBody.
|
493
|
+
:type client_addr: str
|
494
|
+
"""
|
495
|
+
self._client_addr = client_addr
|
496
|
+
|
497
|
+
@property
|
498
|
+
def client_port(self):
|
499
|
+
r"""Gets the client_port of this ListEnhanceFullSqlStatisticsRequestBody.
|
500
|
+
|
501
|
+
**参数解释**: 客户端端口。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
502
|
+
|
503
|
+
:return: The client_port of this ListEnhanceFullSqlStatisticsRequestBody.
|
504
|
+
:rtype: str
|
505
|
+
"""
|
506
|
+
return self._client_port
|
507
|
+
|
508
|
+
@client_port.setter
|
509
|
+
def client_port(self, client_port):
|
510
|
+
r"""Sets the client_port of this ListEnhanceFullSqlStatisticsRequestBody.
|
511
|
+
|
512
|
+
**参数解释**: 客户端端口。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
513
|
+
|
514
|
+
:param client_port: The client_port of this ListEnhanceFullSqlStatisticsRequestBody.
|
515
|
+
:type client_port: str
|
516
|
+
"""
|
517
|
+
self._client_port = client_port
|
518
|
+
|
519
|
+
@property
|
520
|
+
def order_by(self):
|
521
|
+
r"""Gets the order_by of this ListEnhanceFullSqlStatisticsRequestBody.
|
522
|
+
|
523
|
+
**参数解释**: 排序字段。 **约束限制**: 不涉及。 **取值范围**: - sql_id - sql_count - avg_db_time - avg_cpu_time - avg_execution_time - avg_data_io_time - start_time_stamp **默认取值**: sql_count
|
524
|
+
|
525
|
+
:return: The order_by of this ListEnhanceFullSqlStatisticsRequestBody.
|
526
|
+
:rtype: str
|
527
|
+
"""
|
528
|
+
return self._order_by
|
529
|
+
|
530
|
+
@order_by.setter
|
531
|
+
def order_by(self, order_by):
|
532
|
+
r"""Sets the order_by of this ListEnhanceFullSqlStatisticsRequestBody.
|
533
|
+
|
534
|
+
**参数解释**: 排序字段。 **约束限制**: 不涉及。 **取值范围**: - sql_id - sql_count - avg_db_time - avg_cpu_time - avg_execution_time - avg_data_io_time - start_time_stamp **默认取值**: sql_count
|
535
|
+
|
536
|
+
:param order_by: The order_by of this ListEnhanceFullSqlStatisticsRequestBody.
|
537
|
+
:type order_by: str
|
538
|
+
"""
|
539
|
+
self._order_by = order_by
|
540
|
+
|
541
|
+
@property
|
542
|
+
def is_slow_sql(self):
|
543
|
+
r"""Gets the is_slow_sql of this ListEnhanceFullSqlStatisticsRequestBody.
|
544
|
+
|
545
|
+
**参数解释**: 是否是慢SQL。 **约束限制**: 不涉及。 **取值范围**: - true:是慢SQL。 - false:不是慢SQL。 **默认取值**: 不涉及。
|
546
|
+
|
547
|
+
:return: The is_slow_sql of this ListEnhanceFullSqlStatisticsRequestBody.
|
548
|
+
:rtype: bool
|
549
|
+
"""
|
550
|
+
return self._is_slow_sql
|
551
|
+
|
552
|
+
@is_slow_sql.setter
|
553
|
+
def is_slow_sql(self, is_slow_sql):
|
554
|
+
r"""Sets the is_slow_sql of this ListEnhanceFullSqlStatisticsRequestBody.
|
555
|
+
|
556
|
+
**参数解释**: 是否是慢SQL。 **约束限制**: 不涉及。 **取值范围**: - true:是慢SQL。 - false:不是慢SQL。 **默认取值**: 不涉及。
|
557
|
+
|
558
|
+
:param is_slow_sql: The is_slow_sql of this ListEnhanceFullSqlStatisticsRequestBody.
|
559
|
+
:type is_slow_sql: bool
|
560
|
+
"""
|
561
|
+
self._is_slow_sql = is_slow_sql
|
562
|
+
|
563
|
+
@property
|
564
|
+
def order(self):
|
565
|
+
r"""Gets the order of this ListEnhanceFullSqlStatisticsRequestBody.
|
566
|
+
|
567
|
+
**参数解释**: 排序方式,支持升序和降序。 **约束限制**: 不涉及。 **取值范围**: - DESC:降序。 - ASC:升序。 **默认取值**: DESC
|
568
|
+
|
569
|
+
:return: The order of this ListEnhanceFullSqlStatisticsRequestBody.
|
570
|
+
:rtype: str
|
571
|
+
"""
|
572
|
+
return self._order
|
573
|
+
|
574
|
+
@order.setter
|
575
|
+
def order(self, order):
|
576
|
+
r"""Sets the order of this ListEnhanceFullSqlStatisticsRequestBody.
|
577
|
+
|
578
|
+
**参数解释**: 排序方式,支持升序和降序。 **约束限制**: 不涉及。 **取值范围**: - DESC:降序。 - ASC:升序。 **默认取值**: DESC
|
579
|
+
|
580
|
+
:param order: The order of this ListEnhanceFullSqlStatisticsRequestBody.
|
581
|
+
:type order: str
|
582
|
+
"""
|
583
|
+
self._order = order
|
584
|
+
|
585
|
+
@property
|
586
|
+
def application_name(self):
|
587
|
+
r"""Gets the application_name of this ListEnhanceFullSqlStatisticsRequestBody.
|
588
|
+
|
589
|
+
**参数解释**: 应用名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
590
|
+
|
591
|
+
:return: The application_name of this ListEnhanceFullSqlStatisticsRequestBody.
|
592
|
+
:rtype: str
|
593
|
+
"""
|
594
|
+
return self._application_name
|
595
|
+
|
596
|
+
@application_name.setter
|
597
|
+
def application_name(self, application_name):
|
598
|
+
r"""Sets the application_name of this ListEnhanceFullSqlStatisticsRequestBody.
|
599
|
+
|
600
|
+
**参数解释**: 应用名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
601
|
+
|
602
|
+
:param application_name: The application_name of this ListEnhanceFullSqlStatisticsRequestBody.
|
603
|
+
:type application_name: str
|
604
|
+
"""
|
605
|
+
self._application_name = application_name
|
606
|
+
|
607
|
+
@property
|
608
|
+
def component_id(self):
|
609
|
+
r"""Gets the component_id of this ListEnhanceFullSqlStatisticsRequestBody.
|
610
|
+
|
611
|
+
**参数解释**: 组件ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
612
|
+
|
613
|
+
:return: The component_id of this ListEnhanceFullSqlStatisticsRequestBody.
|
614
|
+
:rtype: str
|
615
|
+
"""
|
616
|
+
return self._component_id
|
617
|
+
|
618
|
+
@component_id.setter
|
619
|
+
def component_id(self, component_id):
|
620
|
+
r"""Sets the component_id of this ListEnhanceFullSqlStatisticsRequestBody.
|
621
|
+
|
622
|
+
**参数解释**: 组件ID。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
|
623
|
+
|
624
|
+
:param component_id: The component_id of this ListEnhanceFullSqlStatisticsRequestBody.
|
625
|
+
:type component_id: str
|
626
|
+
"""
|
627
|
+
self._component_id = component_id
|
628
|
+
|
629
|
+
@property
|
630
|
+
def multi_queries(self):
|
631
|
+
r"""Gets the multi_queries of this ListEnhanceFullSqlStatisticsRequestBody.
|
632
|
+
|
633
|
+
**参数解释**: 字段汇聚查询条件列表。 **约束限制**: 只支持针对query字段全与或者全或的查询。
|
634
|
+
|
635
|
+
:return: The multi_queries of this ListEnhanceFullSqlStatisticsRequestBody.
|
636
|
+
:rtype: list[:class:`huaweicloudsdkgaussdbforopengauss.v3.MultiQueryConditionOption`]
|
637
|
+
"""
|
638
|
+
return self._multi_queries
|
639
|
+
|
640
|
+
@multi_queries.setter
|
641
|
+
def multi_queries(self, multi_queries):
|
642
|
+
r"""Sets the multi_queries of this ListEnhanceFullSqlStatisticsRequestBody.
|
643
|
+
|
644
|
+
**参数解释**: 字段汇聚查询条件列表。 **约束限制**: 只支持针对query字段全与或者全或的查询。
|
645
|
+
|
646
|
+
:param multi_queries: The multi_queries of this ListEnhanceFullSqlStatisticsRequestBody.
|
647
|
+
:type multi_queries: list[:class:`huaweicloudsdkgaussdbforopengauss.v3.MultiQueryConditionOption`]
|
648
|
+
"""
|
649
|
+
self._multi_queries = multi_queries
|
650
|
+
|
651
|
+
@property
|
652
|
+
def compare_conditions(self):
|
653
|
+
r"""Gets the compare_conditions of this ListEnhanceFullSqlStatisticsRequestBody.
|
654
|
+
|
655
|
+
**参数解释**: 组合比较查询条件,可针对某个给定过滤字段,进行区间范围、大小、小于等条件合并查询。 **约束限制**: 不涉及。
|
656
|
+
|
657
|
+
:return: The compare_conditions of this ListEnhanceFullSqlStatisticsRequestBody.
|
658
|
+
:rtype: list[:class:`huaweicloudsdkgaussdbforopengauss.v3.CompareConditionOption`]
|
659
|
+
"""
|
660
|
+
return self._compare_conditions
|
661
|
+
|
662
|
+
@compare_conditions.setter
|
663
|
+
def compare_conditions(self, compare_conditions):
|
664
|
+
r"""Sets the compare_conditions of this ListEnhanceFullSqlStatisticsRequestBody.
|
665
|
+
|
666
|
+
**参数解释**: 组合比较查询条件,可针对某个给定过滤字段,进行区间范围、大小、小于等条件合并查询。 **约束限制**: 不涉及。
|
667
|
+
|
668
|
+
:param compare_conditions: The compare_conditions of this ListEnhanceFullSqlStatisticsRequestBody.
|
669
|
+
:type compare_conditions: list[:class:`huaweicloudsdkgaussdbforopengauss.v3.CompareConditionOption`]
|
670
|
+
"""
|
671
|
+
self._compare_conditions = compare_conditions
|
672
|
+
|
673
|
+
def to_dict(self):
|
674
|
+
"""Returns the model properties as a dict"""
|
675
|
+
result = {}
|
676
|
+
|
677
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
678
|
+
value = getattr(self, attr)
|
679
|
+
if isinstance(value, list):
|
680
|
+
result[attr] = list(map(
|
681
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
682
|
+
value
|
683
|
+
))
|
684
|
+
elif hasattr(value, "to_dict"):
|
685
|
+
result[attr] = value.to_dict()
|
686
|
+
elif isinstance(value, dict):
|
687
|
+
result[attr] = dict(map(
|
688
|
+
lambda item: (item[0], item[1].to_dict())
|
689
|
+
if hasattr(item[1], "to_dict") else item,
|
690
|
+
value.items()
|
691
|
+
))
|
692
|
+
else:
|
693
|
+
if attr in self.sensitive_list:
|
694
|
+
result[attr] = "****"
|
695
|
+
else:
|
696
|
+
result[attr] = value
|
697
|
+
|
698
|
+
return result
|
699
|
+
|
700
|
+
def to_str(self):
|
701
|
+
"""Returns the string representation of the model"""
|
702
|
+
import simplejson as json
|
703
|
+
if six.PY2:
|
704
|
+
import sys
|
705
|
+
reload(sys)
|
706
|
+
sys.setdefaultencoding("utf-8")
|
707
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
708
|
+
|
709
|
+
def __repr__(self):
|
710
|
+
"""For `print`"""
|
711
|
+
return self.to_str()
|
712
|
+
|
713
|
+
def __eq__(self, other):
|
714
|
+
"""Returns true if both objects are equal"""
|
715
|
+
if not isinstance(other, ListEnhanceFullSqlStatisticsRequestBody):
|
716
|
+
return False
|
717
|
+
|
718
|
+
return self.__dict__ == other.__dict__
|
719
|
+
|
720
|
+
def __ne__(self, other):
|
721
|
+
"""Returns true if both objects are not equal"""
|
722
|
+
return not self == other
|