huaweicloudsdkgaussdbforopengauss 3.1.85__py2.py3-none-any.whl → 3.1.132__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- huaweicloudsdkgaussdbforopengauss/v3/__init__.py +167 -1
- huaweicloudsdkgaussdbforopengauss/v3/gaussdbforopengauss_async_client.py +4890 -1170
- huaweicloudsdkgaussdbforopengauss/v3/gaussdbforopengauss_client.py +4890 -1170
- huaweicloudsdkgaussdbforopengauss/v3/model/__init__.py +167 -1
- huaweicloudsdkgaussdbforopengauss/v3/model/allow_db_role_privileges_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/allow_db_role_privileges_request_body.py +138 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/allow_db_role_privileges_response.py +85 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/available_flavor_info_result.py +18 -18
- huaweicloudsdkgaussdbforopengauss/v3/model/backup_policy_info.py +314 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/batch_show_upgrade_candidate_versions_request.py +140 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/batch_show_upgrade_candidate_versions_response.py +232 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/can_be_rollbacked_hotfix_detail.py +202 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/can_be_upgraded_hotfix_detail.py +202 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/cn_info_before_reduce.py +231 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/components.py +61 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/configurations_result.py +339 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/confirm_restored_data_request.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/confirm_restored_data_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_configuration_template_request_body.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/create_database_instance_request.py +140 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_database_instance_request_body.py +722 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_database_instance_response.py +170 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_database_instance_result.py +544 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_db_role_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_db_role_request_body.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_db_role_response.py +85 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_gauss_db_instance_request.py +169 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_gauss_db_instance_response.py +170 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_instance_datastore_option.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_limit_task_node_option.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_limit_task_node_result.py +144 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_limit_task_request.py +139 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_limit_task_request_body.py +458 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_limit_task_response.py +725 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_manual_backup_request_body.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/create_slow_log_download_request.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/create_slow_log_download_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/data_stroe_error_response.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/datastore_result.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/delete_backup_error_response.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/delete_database_schema_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/delete_database_schema_request_body.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/delete_database_schema_response.py +85 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/delete_instance_tag_request.py +171 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/delete_instance_tag_response.py +174 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/delete_limit_task_request.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/delete_limit_task_response.py +85 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/delete_manual_backup_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/delete_manual_backup_response.py +61 -1
- huaweicloudsdkgaussdbforopengauss/v3/model/download_backup_error_response.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/error_response.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/feature_result.py +289 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/flavor_error_response.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/gauss_d_bfor_open_gauss_list_database.py +61 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/gauss_d_bfor_open_gauss_role_attributes.py +199 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/gauss_d_bfor_open_gauss_user_for_list.py +50 -21
- huaweicloudsdkgaussdbforopengauss/v3/model/{gauss_d_bfor_open_gauss_user_for_list_attributes.py → gauss_d_bfor_open_gauss_user_for_list_attribute.py} +67 -38
- huaweicloudsdkgaussdbforopengauss/v3/model/gauss_db_error_response_body.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/gauss_db_list_database_roles.py +197 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/gauss_db_list_database_roles_priv.py +347 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/gauss_db_upgrade_instances_version_request.py +200 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/hotfix_info.py +202 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/hotfix_info_result.py +202 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/hotfix_rollback_infos.py +202 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/hotfix_upgrade_infos.py +202 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/hotfix_version_info.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/install_kernel_plugin_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/install_kernel_plugin_request_body.py +170 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/install_kernel_plugin_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/instance_log_file.py +260 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/instances_result.py +4 -4
- huaweicloudsdkgaussdbforopengauss/v3/model/limit_task_rule_info_option.py +170 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_backups_details_request.py +318 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_backups_details_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_backups_result.py +372 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_cn_infos_before_reduce_request.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_cn_infos_before_reduce_response.py +174 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_database_instances_request.py +405 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_database_instances_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_database_roles_request.py +201 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_database_roles_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_datastore.py +61 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/list_datastores_details_request.py +115 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_datastores_details_response.py +112 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_features_request.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_features_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_flavors_details_request.py +260 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_flavors_details_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_instance_datastore.py +258 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_instance_details_request.py +405 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_instance_details_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_instance_error_logs_request.py +257 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_instance_error_logs_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_instances_result.py +957 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_kernel_plugins_request.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_kernel_plugins_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_limit_task_request.py +404 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_limit_task_response.py +203 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_limit_task_response_result.py +695 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_node_limit_sql_model_request.py +229 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_node_limit_sql_model_response.py +203 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_node_limit_sql_model_response_result.py +144 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_parameter_group_templates_request.py +173 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_parameter_group_templates_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_plugin_extensions_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_plugin_extensions_request_body.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_plugin_extensions_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_recycle_instances_details_request.py +202 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_recycle_instances_details_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_restorable_instances_details_request.py +259 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_restorable_instances_details_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_support_kernel_plugins_request.py +115 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_support_kernel_plugins_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_top_io_traffics_request.py +257 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/list_top_io_traffics_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/my_sql_compatibility_result.py +115 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_error_response.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_ha.py +32 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_ha_option.py +32 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_instance_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_instance_request_body.py +35 -6
- huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_upgrade_request.py +230 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/para_group_parameter_result.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/param_group_diff_request_body.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/plugin_extensions.py +144 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/recovery_backup_source.py +200 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/recovery_backup_target.py +114 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/recycle_instances_detail_result.py +6 -6
- huaweicloudsdkgaussdbforopengauss/v3/model/recycle_instances_detail_result_v1.py +566 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/resource_error_response.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/restore_instance_request.py +140 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/restore_instance_request_body.py +134 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/restore_instance_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/resume_plugin_extensions_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/resume_plugin_extensions_request_body.py +198 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/resume_plugin_extensions_response.py +112 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/roll_upgrade_progress.py +231 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/search_auto_enlarge_policy_request.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/search_auto_enlarge_policy_response.py +319 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/set_kernel_plugin_license_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/set_kernel_plugin_license_request_body.py +114 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/set_kernel_plugin_license_response.py +112 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/set_new_backup_policy_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/set_new_backup_policy_request_body.py +110 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/set_new_backup_policy_response.py +85 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_backup_policy.py +4 -4
- huaweicloudsdkgaussdbforopengauss/v3/model/show_batch_upgrade_candidate_versions_request.py +140 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_batch_upgrade_candidate_versions_response.py +232 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_error_log_switch_status_request.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_error_log_switch_status_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_instance_param_group_detail_request.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_instance_param_group_detail_response.py +232 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_limit_task_node_option.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_limit_task_request.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_limit_task_response.py +406 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_parameter_group_detail_request.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_parameter_group_detail_response.py +319 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_slow_log_download_request.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_slow_log_download_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_source_instance_detail_request.py +202 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_source_instance_detail_response.py +348 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_upgrade_candidate_versions_details_request.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_upgrade_candidate_versions_details_response.py +373 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_upgrade_candidate_versions_request.py +143 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/show_upgrade_candidate_versions_response.py +373 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/slow_log_download_info.py +463 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/start_instance_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/start_instance_request_body.py +114 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/start_instance_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/start_my_sql_compatibility_request_body.py +114 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/start_mysql_compatibility_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/start_mysql_compatibility_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/stop_instance_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/stop_instance_request_body.py +114 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/stop_instance_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/sync_limit_data_request.py +114 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/sync_limit_data_response.py +203 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/task_detail_result.py +59 -1
- huaweicloudsdkgaussdbforopengauss/v3/model/top_io_info.py +405 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/update_features_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/update_features_request_body.py +114 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/update_features_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/update_instance_configuration_response.py +32 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/update_limit_task_request.py +167 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/update_limit_task_request_body.py +318 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/update_limit_task_response.py +406 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/update_my_sql_compatibility_request_body.py +114 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/update_mysql_compatibility_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/update_mysql_compatibility_response.py +116 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/upgrade_action_info.py +144 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/upgrade_error_response_body.py +142 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/upgrade_instance_version_request.py +168 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/upgrade_instance_version_response.py +145 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/upgrade_instances_request_body.py +115 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/upgrade_instances_version_request.py +140 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/upgrade_instances_version_response.py +232 -0
- huaweicloudsdkgaussdbforopengauss/v3/model/upgrade_type_info.py +202 -0
- huaweicloudsdkgaussdbforopengauss/v3/region/gaussdbforopengauss_region.py +30 -0
- {huaweicloudsdkgaussdbforopengauss-3.1.85.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.132.dist-info}/METADATA +2 -2
- {huaweicloudsdkgaussdbforopengauss-3.1.85.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.132.dist-info}/RECORD +203 -37
- {huaweicloudsdkgaussdbforopengauss-3.1.85.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.132.dist-info}/WHEEL +1 -1
- {huaweicloudsdkgaussdbforopengauss-3.1.85.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.132.dist-info}/LICENSE +0 -0
- {huaweicloudsdkgaussdbforopengauss-3.1.85.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.132.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,202 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class HotfixRollbackInfos:
|
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
|
+
'version': 'str',
|
21
|
+
'common_patch': 'str',
|
22
|
+
'backup_sensitive': 'bool',
|
23
|
+
'descripition': 'str'
|
24
|
+
}
|
25
|
+
|
26
|
+
attribute_map = {
|
27
|
+
'version': 'version',
|
28
|
+
'common_patch': 'common_patch',
|
29
|
+
'backup_sensitive': 'backup_sensitive',
|
30
|
+
'descripition': 'descripition'
|
31
|
+
}
|
32
|
+
|
33
|
+
def __init__(self, version=None, common_patch=None, backup_sensitive=None, descripition=None):
|
34
|
+
"""HotfixRollbackInfos
|
35
|
+
|
36
|
+
The model defined in huaweicloud sdk
|
37
|
+
|
38
|
+
:param version: 热补丁版本。
|
39
|
+
:type version: str
|
40
|
+
:param common_patch: 通用/非通用补丁信息。 枚举值: \"common\": 通用补丁。 \"certain\": 定制补丁。
|
41
|
+
:type common_patch: str
|
42
|
+
:param backup_sensitive: 是否和备份相关。
|
43
|
+
:type backup_sensitive: bool
|
44
|
+
:param descripition: 补丁的描述信息。
|
45
|
+
:type descripition: str
|
46
|
+
"""
|
47
|
+
|
48
|
+
|
49
|
+
|
50
|
+
self._version = None
|
51
|
+
self._common_patch = None
|
52
|
+
self._backup_sensitive = None
|
53
|
+
self._descripition = None
|
54
|
+
self.discriminator = None
|
55
|
+
|
56
|
+
if version is not None:
|
57
|
+
self.version = version
|
58
|
+
if common_patch is not None:
|
59
|
+
self.common_patch = common_patch
|
60
|
+
if backup_sensitive is not None:
|
61
|
+
self.backup_sensitive = backup_sensitive
|
62
|
+
if descripition is not None:
|
63
|
+
self.descripition = descripition
|
64
|
+
|
65
|
+
@property
|
66
|
+
def version(self):
|
67
|
+
"""Gets the version of this HotfixRollbackInfos.
|
68
|
+
|
69
|
+
热补丁版本。
|
70
|
+
|
71
|
+
:return: The version of this HotfixRollbackInfos.
|
72
|
+
:rtype: str
|
73
|
+
"""
|
74
|
+
return self._version
|
75
|
+
|
76
|
+
@version.setter
|
77
|
+
def version(self, version):
|
78
|
+
"""Sets the version of this HotfixRollbackInfos.
|
79
|
+
|
80
|
+
热补丁版本。
|
81
|
+
|
82
|
+
:param version: The version of this HotfixRollbackInfos.
|
83
|
+
:type version: str
|
84
|
+
"""
|
85
|
+
self._version = version
|
86
|
+
|
87
|
+
@property
|
88
|
+
def common_patch(self):
|
89
|
+
"""Gets the common_patch of this HotfixRollbackInfos.
|
90
|
+
|
91
|
+
通用/非通用补丁信息。 枚举值: \"common\": 通用补丁。 \"certain\": 定制补丁。
|
92
|
+
|
93
|
+
:return: The common_patch of this HotfixRollbackInfos.
|
94
|
+
:rtype: str
|
95
|
+
"""
|
96
|
+
return self._common_patch
|
97
|
+
|
98
|
+
@common_patch.setter
|
99
|
+
def common_patch(self, common_patch):
|
100
|
+
"""Sets the common_patch of this HotfixRollbackInfos.
|
101
|
+
|
102
|
+
通用/非通用补丁信息。 枚举值: \"common\": 通用补丁。 \"certain\": 定制补丁。
|
103
|
+
|
104
|
+
:param common_patch: The common_patch of this HotfixRollbackInfos.
|
105
|
+
:type common_patch: str
|
106
|
+
"""
|
107
|
+
self._common_patch = common_patch
|
108
|
+
|
109
|
+
@property
|
110
|
+
def backup_sensitive(self):
|
111
|
+
"""Gets the backup_sensitive of this HotfixRollbackInfos.
|
112
|
+
|
113
|
+
是否和备份相关。
|
114
|
+
|
115
|
+
:return: The backup_sensitive of this HotfixRollbackInfos.
|
116
|
+
:rtype: bool
|
117
|
+
"""
|
118
|
+
return self._backup_sensitive
|
119
|
+
|
120
|
+
@backup_sensitive.setter
|
121
|
+
def backup_sensitive(self, backup_sensitive):
|
122
|
+
"""Sets the backup_sensitive of this HotfixRollbackInfos.
|
123
|
+
|
124
|
+
是否和备份相关。
|
125
|
+
|
126
|
+
:param backup_sensitive: The backup_sensitive of this HotfixRollbackInfos.
|
127
|
+
:type backup_sensitive: bool
|
128
|
+
"""
|
129
|
+
self._backup_sensitive = backup_sensitive
|
130
|
+
|
131
|
+
@property
|
132
|
+
def descripition(self):
|
133
|
+
"""Gets the descripition of this HotfixRollbackInfos.
|
134
|
+
|
135
|
+
补丁的描述信息。
|
136
|
+
|
137
|
+
:return: The descripition of this HotfixRollbackInfos.
|
138
|
+
:rtype: str
|
139
|
+
"""
|
140
|
+
return self._descripition
|
141
|
+
|
142
|
+
@descripition.setter
|
143
|
+
def descripition(self, descripition):
|
144
|
+
"""Sets the descripition of this HotfixRollbackInfos.
|
145
|
+
|
146
|
+
补丁的描述信息。
|
147
|
+
|
148
|
+
:param descripition: The descripition of this HotfixRollbackInfos.
|
149
|
+
:type descripition: str
|
150
|
+
"""
|
151
|
+
self._descripition = descripition
|
152
|
+
|
153
|
+
def to_dict(self):
|
154
|
+
"""Returns the model properties as a dict"""
|
155
|
+
result = {}
|
156
|
+
|
157
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
158
|
+
value = getattr(self, attr)
|
159
|
+
if isinstance(value, list):
|
160
|
+
result[attr] = list(map(
|
161
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
162
|
+
value
|
163
|
+
))
|
164
|
+
elif hasattr(value, "to_dict"):
|
165
|
+
result[attr] = value.to_dict()
|
166
|
+
elif isinstance(value, dict):
|
167
|
+
result[attr] = dict(map(
|
168
|
+
lambda item: (item[0], item[1].to_dict())
|
169
|
+
if hasattr(item[1], "to_dict") else item,
|
170
|
+
value.items()
|
171
|
+
))
|
172
|
+
else:
|
173
|
+
if attr in self.sensitive_list:
|
174
|
+
result[attr] = "****"
|
175
|
+
else:
|
176
|
+
result[attr] = value
|
177
|
+
|
178
|
+
return result
|
179
|
+
|
180
|
+
def to_str(self):
|
181
|
+
"""Returns the string representation of the model"""
|
182
|
+
import simplejson as json
|
183
|
+
if six.PY2:
|
184
|
+
import sys
|
185
|
+
reload(sys)
|
186
|
+
sys.setdefaultencoding("utf-8")
|
187
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
188
|
+
|
189
|
+
def __repr__(self):
|
190
|
+
"""For `print`"""
|
191
|
+
return self.to_str()
|
192
|
+
|
193
|
+
def __eq__(self, other):
|
194
|
+
"""Returns true if both objects are equal"""
|
195
|
+
if not isinstance(other, HotfixRollbackInfos):
|
196
|
+
return False
|
197
|
+
|
198
|
+
return self.__dict__ == other.__dict__
|
199
|
+
|
200
|
+
def __ne__(self, other):
|
201
|
+
"""Returns true if both objects are not equal"""
|
202
|
+
return not self == other
|
@@ -0,0 +1,202 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class HotfixUpgradeInfos:
|
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
|
+
'version': 'str',
|
21
|
+
'common_patch': 'str',
|
22
|
+
'backup_sensitive': 'bool',
|
23
|
+
'descripition': 'str'
|
24
|
+
}
|
25
|
+
|
26
|
+
attribute_map = {
|
27
|
+
'version': 'version',
|
28
|
+
'common_patch': 'common_patch',
|
29
|
+
'backup_sensitive': 'backup_sensitive',
|
30
|
+
'descripition': 'descripition'
|
31
|
+
}
|
32
|
+
|
33
|
+
def __init__(self, version=None, common_patch=None, backup_sensitive=None, descripition=None):
|
34
|
+
"""HotfixUpgradeInfos
|
35
|
+
|
36
|
+
The model defined in huaweicloud sdk
|
37
|
+
|
38
|
+
:param version: 热补丁版本。
|
39
|
+
:type version: str
|
40
|
+
:param common_patch: 通用/非通用补丁信息。 枚举值: \"common\": 通用补丁。 \"certain\": 定制补丁。
|
41
|
+
:type common_patch: str
|
42
|
+
:param backup_sensitive: 是否和备份相关。
|
43
|
+
:type backup_sensitive: bool
|
44
|
+
:param descripition: 补丁的描述信息。
|
45
|
+
:type descripition: str
|
46
|
+
"""
|
47
|
+
|
48
|
+
|
49
|
+
|
50
|
+
self._version = None
|
51
|
+
self._common_patch = None
|
52
|
+
self._backup_sensitive = None
|
53
|
+
self._descripition = None
|
54
|
+
self.discriminator = None
|
55
|
+
|
56
|
+
if version is not None:
|
57
|
+
self.version = version
|
58
|
+
if common_patch is not None:
|
59
|
+
self.common_patch = common_patch
|
60
|
+
if backup_sensitive is not None:
|
61
|
+
self.backup_sensitive = backup_sensitive
|
62
|
+
if descripition is not None:
|
63
|
+
self.descripition = descripition
|
64
|
+
|
65
|
+
@property
|
66
|
+
def version(self):
|
67
|
+
"""Gets the version of this HotfixUpgradeInfos.
|
68
|
+
|
69
|
+
热补丁版本。
|
70
|
+
|
71
|
+
:return: The version of this HotfixUpgradeInfos.
|
72
|
+
:rtype: str
|
73
|
+
"""
|
74
|
+
return self._version
|
75
|
+
|
76
|
+
@version.setter
|
77
|
+
def version(self, version):
|
78
|
+
"""Sets the version of this HotfixUpgradeInfos.
|
79
|
+
|
80
|
+
热补丁版本。
|
81
|
+
|
82
|
+
:param version: The version of this HotfixUpgradeInfos.
|
83
|
+
:type version: str
|
84
|
+
"""
|
85
|
+
self._version = version
|
86
|
+
|
87
|
+
@property
|
88
|
+
def common_patch(self):
|
89
|
+
"""Gets the common_patch of this HotfixUpgradeInfos.
|
90
|
+
|
91
|
+
通用/非通用补丁信息。 枚举值: \"common\": 通用补丁。 \"certain\": 定制补丁。
|
92
|
+
|
93
|
+
:return: The common_patch of this HotfixUpgradeInfos.
|
94
|
+
:rtype: str
|
95
|
+
"""
|
96
|
+
return self._common_patch
|
97
|
+
|
98
|
+
@common_patch.setter
|
99
|
+
def common_patch(self, common_patch):
|
100
|
+
"""Sets the common_patch of this HotfixUpgradeInfos.
|
101
|
+
|
102
|
+
通用/非通用补丁信息。 枚举值: \"common\": 通用补丁。 \"certain\": 定制补丁。
|
103
|
+
|
104
|
+
:param common_patch: The common_patch of this HotfixUpgradeInfos.
|
105
|
+
:type common_patch: str
|
106
|
+
"""
|
107
|
+
self._common_patch = common_patch
|
108
|
+
|
109
|
+
@property
|
110
|
+
def backup_sensitive(self):
|
111
|
+
"""Gets the backup_sensitive of this HotfixUpgradeInfos.
|
112
|
+
|
113
|
+
是否和备份相关。
|
114
|
+
|
115
|
+
:return: The backup_sensitive of this HotfixUpgradeInfos.
|
116
|
+
:rtype: bool
|
117
|
+
"""
|
118
|
+
return self._backup_sensitive
|
119
|
+
|
120
|
+
@backup_sensitive.setter
|
121
|
+
def backup_sensitive(self, backup_sensitive):
|
122
|
+
"""Sets the backup_sensitive of this HotfixUpgradeInfos.
|
123
|
+
|
124
|
+
是否和备份相关。
|
125
|
+
|
126
|
+
:param backup_sensitive: The backup_sensitive of this HotfixUpgradeInfos.
|
127
|
+
:type backup_sensitive: bool
|
128
|
+
"""
|
129
|
+
self._backup_sensitive = backup_sensitive
|
130
|
+
|
131
|
+
@property
|
132
|
+
def descripition(self):
|
133
|
+
"""Gets the descripition of this HotfixUpgradeInfos.
|
134
|
+
|
135
|
+
补丁的描述信息。
|
136
|
+
|
137
|
+
:return: The descripition of this HotfixUpgradeInfos.
|
138
|
+
:rtype: str
|
139
|
+
"""
|
140
|
+
return self._descripition
|
141
|
+
|
142
|
+
@descripition.setter
|
143
|
+
def descripition(self, descripition):
|
144
|
+
"""Sets the descripition of this HotfixUpgradeInfos.
|
145
|
+
|
146
|
+
补丁的描述信息。
|
147
|
+
|
148
|
+
:param descripition: The descripition of this HotfixUpgradeInfos.
|
149
|
+
:type descripition: str
|
150
|
+
"""
|
151
|
+
self._descripition = descripition
|
152
|
+
|
153
|
+
def to_dict(self):
|
154
|
+
"""Returns the model properties as a dict"""
|
155
|
+
result = {}
|
156
|
+
|
157
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
158
|
+
value = getattr(self, attr)
|
159
|
+
if isinstance(value, list):
|
160
|
+
result[attr] = list(map(
|
161
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
162
|
+
value
|
163
|
+
))
|
164
|
+
elif hasattr(value, "to_dict"):
|
165
|
+
result[attr] = value.to_dict()
|
166
|
+
elif isinstance(value, dict):
|
167
|
+
result[attr] = dict(map(
|
168
|
+
lambda item: (item[0], item[1].to_dict())
|
169
|
+
if hasattr(item[1], "to_dict") else item,
|
170
|
+
value.items()
|
171
|
+
))
|
172
|
+
else:
|
173
|
+
if attr in self.sensitive_list:
|
174
|
+
result[attr] = "****"
|
175
|
+
else:
|
176
|
+
result[attr] = value
|
177
|
+
|
178
|
+
return result
|
179
|
+
|
180
|
+
def to_str(self):
|
181
|
+
"""Returns the string representation of the model"""
|
182
|
+
import simplejson as json
|
183
|
+
if six.PY2:
|
184
|
+
import sys
|
185
|
+
reload(sys)
|
186
|
+
sys.setdefaultencoding("utf-8")
|
187
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
188
|
+
|
189
|
+
def __repr__(self):
|
190
|
+
"""For `print`"""
|
191
|
+
return self.to_str()
|
192
|
+
|
193
|
+
def __eq__(self, other):
|
194
|
+
"""Returns true if both objects are equal"""
|
195
|
+
if not isinstance(other, HotfixUpgradeInfos):
|
196
|
+
return False
|
197
|
+
|
198
|
+
return self.__dict__ == other.__dict__
|
199
|
+
|
200
|
+
def __ne__(self, other):
|
201
|
+
"""Returns true if both objects are not equal"""
|
202
|
+
return not self == other
|
@@ -0,0 +1,143 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class HotfixVersionInfo:
|
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
|
+
'version': 'str',
|
21
|
+
'upgrade_finished_time': 'str'
|
22
|
+
}
|
23
|
+
|
24
|
+
attribute_map = {
|
25
|
+
'version': 'version',
|
26
|
+
'upgrade_finished_time': 'upgrade_finished_time'
|
27
|
+
}
|
28
|
+
|
29
|
+
def __init__(self, version=None, upgrade_finished_time=None):
|
30
|
+
"""HotfixVersionInfo
|
31
|
+
|
32
|
+
The model defined in huaweicloud sdk
|
33
|
+
|
34
|
+
:param version: 热补丁版本。
|
35
|
+
:type version: str
|
36
|
+
:param upgrade_finished_time: 热补丁升级完成时间列表。 热补丁升级完成时间,格式为“yyyy-mm-dd hh:mm:ss timezone”。 其中timezone是指时区。
|
37
|
+
:type upgrade_finished_time: str
|
38
|
+
"""
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
self._version = None
|
43
|
+
self._upgrade_finished_time = None
|
44
|
+
self.discriminator = None
|
45
|
+
|
46
|
+
self.version = version
|
47
|
+
if upgrade_finished_time is not None:
|
48
|
+
self.upgrade_finished_time = upgrade_finished_time
|
49
|
+
|
50
|
+
@property
|
51
|
+
def version(self):
|
52
|
+
"""Gets the version of this HotfixVersionInfo.
|
53
|
+
|
54
|
+
热补丁版本。
|
55
|
+
|
56
|
+
:return: The version of this HotfixVersionInfo.
|
57
|
+
:rtype: str
|
58
|
+
"""
|
59
|
+
return self._version
|
60
|
+
|
61
|
+
@version.setter
|
62
|
+
def version(self, version):
|
63
|
+
"""Sets the version of this HotfixVersionInfo.
|
64
|
+
|
65
|
+
热补丁版本。
|
66
|
+
|
67
|
+
:param version: The version of this HotfixVersionInfo.
|
68
|
+
:type version: str
|
69
|
+
"""
|
70
|
+
self._version = version
|
71
|
+
|
72
|
+
@property
|
73
|
+
def upgrade_finished_time(self):
|
74
|
+
"""Gets the upgrade_finished_time of this HotfixVersionInfo.
|
75
|
+
|
76
|
+
热补丁升级完成时间列表。 热补丁升级完成时间,格式为“yyyy-mm-dd hh:mm:ss timezone”。 其中timezone是指时区。
|
77
|
+
|
78
|
+
:return: The upgrade_finished_time of this HotfixVersionInfo.
|
79
|
+
:rtype: str
|
80
|
+
"""
|
81
|
+
return self._upgrade_finished_time
|
82
|
+
|
83
|
+
@upgrade_finished_time.setter
|
84
|
+
def upgrade_finished_time(self, upgrade_finished_time):
|
85
|
+
"""Sets the upgrade_finished_time of this HotfixVersionInfo.
|
86
|
+
|
87
|
+
热补丁升级完成时间列表。 热补丁升级完成时间,格式为“yyyy-mm-dd hh:mm:ss timezone”。 其中timezone是指时区。
|
88
|
+
|
89
|
+
:param upgrade_finished_time: The upgrade_finished_time of this HotfixVersionInfo.
|
90
|
+
:type upgrade_finished_time: str
|
91
|
+
"""
|
92
|
+
self._upgrade_finished_time = upgrade_finished_time
|
93
|
+
|
94
|
+
def to_dict(self):
|
95
|
+
"""Returns the model properties as a dict"""
|
96
|
+
result = {}
|
97
|
+
|
98
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
99
|
+
value = getattr(self, attr)
|
100
|
+
if isinstance(value, list):
|
101
|
+
result[attr] = list(map(
|
102
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
103
|
+
value
|
104
|
+
))
|
105
|
+
elif hasattr(value, "to_dict"):
|
106
|
+
result[attr] = value.to_dict()
|
107
|
+
elif isinstance(value, dict):
|
108
|
+
result[attr] = dict(map(
|
109
|
+
lambda item: (item[0], item[1].to_dict())
|
110
|
+
if hasattr(item[1], "to_dict") else item,
|
111
|
+
value.items()
|
112
|
+
))
|
113
|
+
else:
|
114
|
+
if attr in self.sensitive_list:
|
115
|
+
result[attr] = "****"
|
116
|
+
else:
|
117
|
+
result[attr] = value
|
118
|
+
|
119
|
+
return result
|
120
|
+
|
121
|
+
def to_str(self):
|
122
|
+
"""Returns the string representation of the model"""
|
123
|
+
import simplejson as json
|
124
|
+
if six.PY2:
|
125
|
+
import sys
|
126
|
+
reload(sys)
|
127
|
+
sys.setdefaultencoding("utf-8")
|
128
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
129
|
+
|
130
|
+
def __repr__(self):
|
131
|
+
"""For `print`"""
|
132
|
+
return self.to_str()
|
133
|
+
|
134
|
+
def __eq__(self, other):
|
135
|
+
"""Returns true if both objects are equal"""
|
136
|
+
if not isinstance(other, HotfixVersionInfo):
|
137
|
+
return False
|
138
|
+
|
139
|
+
return self.__dict__ == other.__dict__
|
140
|
+
|
141
|
+
def __ne__(self, other):
|
142
|
+
"""Returns true if both objects are not equal"""
|
143
|
+
return not self == other
|