huaweicloudsdkcbr 3.0.42rc0__py3-none-any.whl → 3.1.160__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.
- huaweicloudsdkcbr/v1/__init__.py +110 -5
- huaweicloudsdkcbr/v1/cbr_async_client.py +3641 -1490
- huaweicloudsdkcbr/v1/cbr_client.py +3638 -1488
- huaweicloudsdkcbr/v1/model/__init__.py +109 -3
- huaweicloudsdkcbr/v1/model/add_agent_path_request.py +139 -0
- huaweicloudsdkcbr/v1/model/add_agent_path_response.py +145 -0
- huaweicloudsdkcbr/v1/model/add_member_request.py +26 -19
- huaweicloudsdkcbr/v1/model/add_member_response.py +27 -19
- huaweicloudsdkcbr/v1/model/add_members_req.py +52 -17
- huaweicloudsdkcbr/v1/model/add_vault_resource_request.py +26 -19
- huaweicloudsdkcbr/v1/model/add_vault_resource_response.py +19 -13
- huaweicloudsdkcbr/v1/model/agent.py +433 -0
- huaweicloudsdkcbr/v1/model/agent_add_path_req.py +143 -0
- huaweicloudsdkcbr/v1/model/agent_register.py +285 -0
- huaweicloudsdkcbr/v1/model/agent_register_req.py +110 -0
- huaweicloudsdkcbr/v1/model/agent_remove_path_req.py +114 -0
- huaweicloudsdkcbr/v1/model/agent_update.py +114 -0
- huaweicloudsdkcbr/v1/model/agent_update_req.py +110 -0
- huaweicloudsdkcbr/v1/model/associate_vault_policy_request.py +26 -19
- huaweicloudsdkcbr/v1/model/associate_vault_policy_response.py +20 -16
- huaweicloudsdkcbr/v1/model/backup_extend_info.py +91 -68
- huaweicloudsdkcbr/v1/model/backup_replicate_req.py +19 -16
- huaweicloudsdkcbr/v1/model/backup_replicate_req_body.py +43 -28
- huaweicloudsdkcbr/v1/model/backup_replicate_resp_body.py +55 -36
- huaweicloudsdkcbr/v1/model/backup_resp.py +246 -87
- huaweicloudsdkcbr/v1/model/backup_restore.py +67 -29
- huaweicloudsdkcbr/v1/model/backup_restore_req.py +19 -16
- huaweicloudsdkcbr/v1/model/backup_restore_server_mapping.py +25 -18
- huaweicloudsdkcbr/v1/model/backup_sync.py +53 -34
- huaweicloudsdkcbr/v1/model/backup_sync_req.py +19 -14
- huaweicloudsdkcbr/v1/model/backup_sync_resp_body.py +23 -16
- huaweicloudsdkcbr/v1/model/backup_update.py +115 -0
- huaweicloudsdkcbr/v1/model/backup_update_req.py +111 -0
- huaweicloudsdkcbr/v1/model/batch_create_and_delete_vault_tags_request.py +26 -19
- huaweicloudsdkcbr/v1/model/batch_create_and_delete_vault_tags_response.py +14 -10
- huaweicloudsdkcbr/v1/model/batch_update_vault_request.py +111 -0
- huaweicloudsdkcbr/v1/model/batch_update_vault_request_body.py +110 -0
- huaweicloudsdkcbr/v1/model/batch_update_vault_response.py +116 -0
- huaweicloudsdkcbr/v1/model/billing.py +125 -65
- huaweicloudsdkcbr/v1/model/billing_create.py +99 -70
- huaweicloudsdkcbr/v1/model/billing_update.py +23 -16
- huaweicloudsdkcbr/v1/model/bind_rules_tags.py +142 -0
- huaweicloudsdkcbr/v1/model/bulk_create_and_delete_vault_tags_req.py +30 -21
- huaweicloudsdkcbr/v1/model/cbc_order_change.py +225 -0
- huaweicloudsdkcbr/v1/model/cbc_order_result.py +200 -0
- huaweicloudsdkcbr/v1/model/cbc_product_info_order_change.py +199 -0
- huaweicloudsdkcbr/v1/model/cbc_product_info_update.py +199 -0
- huaweicloudsdkcbr/v1/model/cbc_update.py +196 -0
- huaweicloudsdkcbr/v1/model/change_order_request.py +111 -0
- huaweicloudsdkcbr/v1/model/change_order_response.py +174 -0
- huaweicloudsdkcbr/v1/model/change_to_period.py +286 -0
- huaweicloudsdkcbr/v1/model/change_vault_charge_mode_request.py +111 -0
- huaweicloudsdkcbr/v1/model/change_vault_charge_mode_response.py +174 -0
- huaweicloudsdkcbr/v1/model/check_agent_request.py +111 -0
- huaweicloudsdkcbr/v1/model/check_agent_response.py +116 -0
- huaweicloudsdkcbr/v1/model/checkpoint_create.py +47 -36
- huaweicloudsdkcbr/v1/model/checkpoint_create_skipped_resource.py +38 -25
- huaweicloudsdkcbr/v1/model/checkpoint_extra_info_resp.py +28 -19
- huaweicloudsdkcbr/v1/model/checkpoint_param.py +78 -34
- huaweicloudsdkcbr/v1/model/checkpoint_plan_create.py +35 -24
- huaweicloudsdkcbr/v1/model/checkpoint_replicate_param.py +43 -28
- huaweicloudsdkcbr/v1/model/checkpoint_replicate_req.py +19 -16
- huaweicloudsdkcbr/v1/model/checkpoint_replicate_resp_body.py +54 -35
- huaweicloudsdkcbr/v1/model/checkpoint_replicate_respbackups.py +23 -16
- huaweicloudsdkcbr/v1/model/checkpoint_resource_resp.py +57 -38
- huaweicloudsdkcbr/v1/model/{billbing_create_extra_info.py → combined_order.py} +65 -29
- huaweicloudsdkcbr/v1/model/copy_backup_request.py +26 -19
- huaweicloudsdkcbr/v1/model/copy_backup_response.py +20 -16
- huaweicloudsdkcbr/v1/model/copy_checkpoint_request.py +19 -16
- huaweicloudsdkcbr/v1/model/copy_checkpoint_response.py +20 -16
- huaweicloudsdkcbr/v1/model/create_checkpoint_request.py +19 -16
- huaweicloudsdkcbr/v1/model/create_checkpoint_response.py +20 -16
- huaweicloudsdkcbr/v1/model/create_organization_policy_request.py +111 -0
- huaweicloudsdkcbr/v1/model/create_organization_policy_response.py +112 -0
- huaweicloudsdkcbr/v1/model/create_policy_request.py +19 -16
- huaweicloudsdkcbr/v1/model/create_policy_response.py +20 -16
- huaweicloudsdkcbr/v1/model/create_post_paid_vault_request.py +111 -0
- huaweicloudsdkcbr/v1/model/create_post_paid_vault_response.py +203 -0
- huaweicloudsdkcbr/v1/model/create_vault_request.py +19 -16
- huaweicloudsdkcbr/v1/model/create_vault_response.py +21 -17
- huaweicloudsdkcbr/v1/model/create_vault_tags_request.py +26 -19
- huaweicloudsdkcbr/v1/model/create_vault_tags_response.py +14 -10
- huaweicloudsdkcbr/v1/model/delete_backup_request.py +20 -13
- huaweicloudsdkcbr/v1/model/delete_backup_response.py +14 -10
- huaweicloudsdkcbr/v1/model/delete_member_request.py +27 -16
- huaweicloudsdkcbr/v1/model/delete_member_response.py +14 -10
- huaweicloudsdkcbr/v1/model/delete_organization_policy_request.py +114 -0
- huaweicloudsdkcbr/v1/model/delete_organization_policy_response.py +85 -0
- huaweicloudsdkcbr/v1/model/delete_policy_request.py +20 -13
- huaweicloudsdkcbr/v1/model/delete_policy_response.py +14 -10
- huaweicloudsdkcbr/v1/model/delete_vault_request.py +20 -13
- huaweicloudsdkcbr/v1/model/delete_vault_response.py +14 -10
- huaweicloudsdkcbr/v1/model/delete_vault_tag_request.py +27 -16
- huaweicloudsdkcbr/v1/model/delete_vault_tag_response.py +14 -10
- huaweicloudsdkcbr/v1/model/disassociate_vault_policy_request.py +26 -19
- huaweicloudsdkcbr/v1/model/disassociate_vault_policy_response.py +20 -16
- huaweicloudsdkcbr/v1/model/domain_migrate.py +142 -0
- huaweicloudsdkcbr/v1/model/domain_migrate_project_status.py +286 -0
- huaweicloudsdkcbr/v1/model/{vault_resource_intances_resp.py → domain_projects_info.py} +54 -49
- huaweicloudsdkcbr/v1/model/exclude_path.py +144 -0
- huaweicloudsdkcbr/v1/model/image_data.py +20 -15
- huaweicloudsdkcbr/v1/model/import_backup_request.py +19 -16
- huaweicloudsdkcbr/v1/model/import_backup_response.py +20 -14
- huaweicloudsdkcbr/v1/model/import_checkpoint_request.py +111 -0
- huaweicloudsdkcbr/v1/model/import_checkpoint_response.py +112 -0
- huaweicloudsdkcbr/v1/model/instances_resource_detail.py +111 -0
- huaweicloudsdkcbr/v1/model/list_agent_request.py +202 -0
- huaweicloudsdkcbr/v1/model/list_agent_response.py +203 -0
- huaweicloudsdkcbr/v1/model/list_backups_request.py +221 -76
- huaweicloudsdkcbr/v1/model/list_backups_response.py +86 -20
- huaweicloudsdkcbr/v1/model/list_domain_projects_request.py +114 -0
- huaweicloudsdkcbr/v1/model/list_domain_projects_response.py +116 -0
- huaweicloudsdkcbr/v1/model/list_external_vault_request.py +316 -0
- huaweicloudsdkcbr/v1/model/list_external_vault_response.py +203 -0
- huaweicloudsdkcbr/v1/model/list_op_logs_request.py +97 -46
- huaweicloudsdkcbr/v1/model/list_op_logs_response.py +86 -20
- huaweicloudsdkcbr/v1/model/list_organization_policies_request.py +172 -0
- huaweicloudsdkcbr/v1/model/list_organization_policies_response.py +203 -0
- huaweicloudsdkcbr/v1/model/list_organization_policy_detail_request.py +114 -0
- huaweicloudsdkcbr/v1/model/list_organization_policy_detail_response.py +203 -0
- huaweicloudsdkcbr/v1/model/list_policies_request.py +27 -16
- huaweicloudsdkcbr/v1/model/list_policies_response.py +27 -19
- huaweicloudsdkcbr/v1/model/list_projects_request.py +84 -0
- huaweicloudsdkcbr/v1/model/list_projects_response.py +141 -0
- huaweicloudsdkcbr/v1/model/list_protectable_request.py +69 -34
- huaweicloudsdkcbr/v1/model/list_protectable_response.py +20 -14
- huaweicloudsdkcbr/v1/model/list_vault_request.py +92 -45
- huaweicloudsdkcbr/v1/model/list_vault_response.py +86 -20
- huaweicloudsdkcbr/v1/model/match.py +23 -16
- huaweicloudsdkcbr/v1/model/member.py +53 -34
- huaweicloudsdkcbr/v1/model/migrate_domain_request.py +111 -0
- huaweicloudsdkcbr/v1/model/migrate_domain_response.py +112 -0
- huaweicloudsdkcbr/v1/model/migrate_vault_resource_request.py +24 -21
- huaweicloudsdkcbr/v1/model/migrate_vault_resource_response.py +19 -13
- huaweicloudsdkcbr/v1/model/op_error_info.py +23 -16
- huaweicloudsdkcbr/v1/model/op_extend_info_bckup.py +43 -28
- huaweicloudsdkcbr/v1/model/op_extend_info_common.py +28 -19
- huaweicloudsdkcbr/v1/model/op_extend_info_delete.py +23 -16
- huaweicloudsdkcbr/v1/model/op_extend_info_remove_resources.py +31 -22
- huaweicloudsdkcbr/v1/model/op_extend_info_replication.py +63 -40
- huaweicloudsdkcbr/v1/model/op_extend_info_restore.py +33 -22
- huaweicloudsdkcbr/v1/model/op_extend_info_sync.py +28 -19
- huaweicloudsdkcbr/v1/model/op_extend_info_vault_delete.py +27 -20
- huaweicloudsdkcbr/v1/model/op_extra_info.py +67 -64
- huaweicloudsdkcbr/v1/model/operation_log.py +90 -61
- huaweicloudsdkcbr/v1/model/organization_policy.py +388 -0
- huaweicloudsdkcbr/v1/model/organization_policy_create.py +275 -0
- huaweicloudsdkcbr/v1/model/organization_policy_create_req.py +110 -0
- huaweicloudsdkcbr/v1/model/organization_policy_status.py +198 -0
- huaweicloudsdkcbr/v1/model/organization_policy_update.py +252 -0
- huaweicloudsdkcbr/v1/model/organization_policy_update_req.py +110 -0
- huaweicloudsdkcbr/v1/model/path.py +231 -0
- huaweicloudsdkcbr/v1/model/policy.py +51 -38
- huaweicloudsdkcbr/v1/model/policy_associate_vault.py +23 -16
- huaweicloudsdkcbr/v1/model/policy_create.py +40 -31
- huaweicloudsdkcbr/v1/model/policy_create_req.py +19 -16
- huaweicloudsdkcbr/v1/model/policy_trigger_properties_req.py +20 -15
- huaweicloudsdkcbr/v1/model/policy_trigger_properties_resp.py +25 -18
- huaweicloudsdkcbr/v1/model/policy_trigger_req.py +19 -16
- huaweicloudsdkcbr/v1/model/policy_trigger_resp.py +34 -25
- huaweicloudsdkcbr/v1/model/policy_update.py +35 -28
- huaweicloudsdkcbr/v1/model/policy_update_req.py +19 -16
- huaweicloudsdkcbr/v1/model/policyo_od_create.py +97 -45
- huaweicloudsdkcbr/v1/model/projects_list_info.py +314 -0
- huaweicloudsdkcbr/v1/model/protectable_agent_req.py +114 -0
- huaweicloudsdkcbr/v1/model/protectable_agent_status.py +260 -0
- huaweicloudsdkcbr/v1/model/protectable_agent_status_resource.py +171 -0
- huaweicloudsdkcbr/v1/model/protectable_replication_capabilities_resp_region.py +23 -16
- huaweicloudsdkcbr/v1/model/protectable_result.py +68 -30
- huaweicloudsdkcbr/v1/model/protectables_resp.py +58 -41
- huaweicloudsdkcbr/v1/model/register_agent_request.py +111 -0
- huaweicloudsdkcbr/v1/model/register_agent_response.py +112 -0
- huaweicloudsdkcbr/v1/model/remove_agent_path_request.py +139 -0
- huaweicloudsdkcbr/v1/model/remove_agent_path_response.py +145 -0
- huaweicloudsdkcbr/v1/model/remove_vault_resource_request.py +26 -19
- huaweicloudsdkcbr/v1/model/remove_vault_resource_response.py +19 -13
- huaweicloudsdkcbr/v1/model/replication_record_get.py +85 -58
- huaweicloudsdkcbr/v1/model/replication_records_extra_info.py +231 -0
- huaweicloudsdkcbr/v1/model/resource.py +38 -28
- huaweicloudsdkcbr/v1/model/resource_create.py +36 -27
- huaweicloudsdkcbr/v1/model/resource_extra_info.py +28 -21
- huaweicloudsdkcbr/v1/model/resource_extra_info_include_volumes.py +23 -16
- huaweicloudsdkcbr/v1/model/resource_resp.py +88 -42
- huaweicloudsdkcbr/v1/model/restore_backup_request.py +26 -19
- huaweicloudsdkcbr/v1/model/restore_backup_response.py +14 -10
- huaweicloudsdkcbr/v1/model/restore_details.py +114 -0
- huaweicloudsdkcbr/v1/model/self_links_info.py +115 -0
- huaweicloudsdkcbr/v1/model/set_vault_resource_request.py +139 -0
- huaweicloudsdkcbr/v1/model/set_vault_resource_response.py +116 -0
- huaweicloudsdkcbr/v1/model/show_agent_request.py +114 -0
- huaweicloudsdkcbr/v1/model/show_agent_response.py +112 -0
- huaweicloudsdkcbr/v1/model/show_backup_request.py +20 -13
- huaweicloudsdkcbr/v1/model/show_backup_response.py +21 -17
- huaweicloudsdkcbr/v1/model/show_checkpoint_request.py +20 -13
- huaweicloudsdkcbr/v1/model/show_checkpoint_response.py +20 -16
- huaweicloudsdkcbr/v1/model/show_domain_request.py +114 -0
- huaweicloudsdkcbr/v1/model/show_domain_response.py +203 -0
- huaweicloudsdkcbr/v1/model/show_member_detail_request.py +27 -16
- huaweicloudsdkcbr/v1/model/show_member_detail_response.py +20 -16
- huaweicloudsdkcbr/v1/model/show_members_detail_request.py +76 -37
- huaweicloudsdkcbr/v1/model/show_members_detail_response.py +27 -19
- huaweicloudsdkcbr/v1/model/show_metadata_request.py +114 -0
- huaweicloudsdkcbr/v1/model/show_metadata_response.py +319 -0
- huaweicloudsdkcbr/v1/model/show_migrate_status_request.py +115 -0
- huaweicloudsdkcbr/v1/model/show_migrate_status_response.py +145 -0
- huaweicloudsdkcbr/v1/model/show_op_log_request.py +20 -13
- huaweicloudsdkcbr/v1/model/show_op_log_response.py +20 -16
- huaweicloudsdkcbr/v1/model/show_organization_policy_request.py +114 -0
- huaweicloudsdkcbr/v1/model/show_organization_policy_response.py +112 -0
- huaweicloudsdkcbr/v1/model/show_policy_request.py +20 -13
- huaweicloudsdkcbr/v1/model/show_policy_response.py +20 -16
- huaweicloudsdkcbr/v1/model/show_protectable_request.py +27 -16
- huaweicloudsdkcbr/v1/model/show_protectable_response.py +20 -16
- huaweicloudsdkcbr/v1/model/show_replication_capabilities_request.py +13 -10
- huaweicloudsdkcbr/v1/model/show_replication_capabilities_response.py +20 -14
- huaweicloudsdkcbr/v1/model/show_storage_usage_request.py +202 -0
- huaweicloudsdkcbr/v1/model/show_storage_usage_response.py +145 -0
- huaweicloudsdkcbr/v1/model/show_summary_request.py +84 -0
- huaweicloudsdkcbr/v1/model/show_summary_response.py +145 -0
- huaweicloudsdkcbr/v1/model/show_vault_project_tag_request.py +13 -10
- huaweicloudsdkcbr/v1/model/show_vault_project_tag_response.py +20 -14
- huaweicloudsdkcbr/v1/model/show_vault_request.py +20 -13
- huaweicloudsdkcbr/v1/model/show_vault_resource_instances_request.py +19 -16
- huaweicloudsdkcbr/v1/model/show_vault_resource_instances_response.py +25 -17
- huaweicloudsdkcbr/v1/model/show_vault_response.py +20 -16
- huaweicloudsdkcbr/v1/model/show_vault_tag_request.py +20 -13
- huaweicloudsdkcbr/v1/model/show_vault_tag_response.py +26 -18
- huaweicloudsdkcbr/v1/model/storage_usage.py +257 -0
- huaweicloudsdkcbr/v1/model/sync_param.py +142 -0
- huaweicloudsdkcbr/v1/model/sync_req.py +110 -0
- huaweicloudsdkcbr/v1/model/sync_resp_body.py +142 -0
- huaweicloudsdkcbr/v1/model/sys_tag.py +25 -18
- huaweicloudsdkcbr/v1/model/sys_tags.py +23 -16
- huaweicloudsdkcbr/v1/model/tag.py +28 -22
- huaweicloudsdkcbr/v1/model/tag_resource.py +44 -35
- huaweicloudsdkcbr/v1/model/tags_req.py +23 -16
- huaweicloudsdkcbr/v1/model/tags_resp.py +27 -20
- huaweicloudsdkcbr/v1/model/unregister_agent_request.py +114 -0
- huaweicloudsdkcbr/v1/model/unregister_agent_response.py +85 -0
- huaweicloudsdkcbr/v1/model/update_agent_request.py +135 -0
- huaweicloudsdkcbr/v1/model/update_agent_response.py +112 -0
- huaweicloudsdkcbr/v1/model/update_backup_request.py +139 -0
- huaweicloudsdkcbr/v1/model/update_backup_response.py +112 -0
- huaweicloudsdkcbr/v1/model/update_member.py +23 -16
- huaweicloudsdkcbr/v1/model/update_member_status_request.py +33 -22
- huaweicloudsdkcbr/v1/model/update_member_status_response.py +20 -16
- huaweicloudsdkcbr/v1/model/update_order_request.py +139 -0
- huaweicloudsdkcbr/v1/model/update_order_response.py +174 -0
- huaweicloudsdkcbr/v1/model/update_organization_policy_request.py +139 -0
- huaweicloudsdkcbr/v1/model/update_organization_policy_response.py +112 -0
- huaweicloudsdkcbr/v1/model/update_policy_request.py +26 -19
- huaweicloudsdkcbr/v1/model/update_policy_response.py +20 -16
- huaweicloudsdkcbr/v1/model/update_vault_request.py +26 -19
- huaweicloudsdkcbr/v1/model/update_vault_response.py +20 -16
- huaweicloudsdkcbr/v1/model/vault.py +236 -93
- huaweicloudsdkcbr/v1/model/vault_add_resource_req.py +19 -14
- huaweicloudsdkcbr/v1/model/vault_associate.py +59 -22
- huaweicloudsdkcbr/v1/model/vault_backup.py +24 -19
- huaweicloudsdkcbr/v1/model/vault_backup_req.py +19 -16
- huaweicloudsdkcbr/v1/model/vault_batch_update.py +144 -0
- huaweicloudsdkcbr/v1/model/vault_bind_rules.py +22 -17
- huaweicloudsdkcbr/v1/model/vault_create.py +246 -53
- huaweicloudsdkcbr/v1/model/vault_create_parameters.py +111 -0
- huaweicloudsdkcbr/v1/model/vault_create_req.py +19 -16
- huaweicloudsdkcbr/v1/model/vault_create_resource.py +797 -0
- huaweicloudsdkcbr/v1/model/vault_dissociate.py +18 -13
- huaweicloudsdkcbr/v1/model/vault_get.py +256 -108
- huaweicloudsdkcbr/v1/model/vault_migrate_resource_req.py +23 -16
- huaweicloudsdkcbr/v1/model/vault_order.py +478 -0
- huaweicloudsdkcbr/v1/model/vault_order_create_reqs.py +110 -0
- huaweicloudsdkcbr/v1/model/vault_policy_resp.py +28 -19
- huaweicloudsdkcbr/v1/model/vault_remove_resource_req.py +20 -15
- huaweicloudsdkcbr/v1/model/vault_resource_instances_req.py +106 -52
- huaweicloudsdkcbr/v1/model/vault_set_resource_req.py +142 -0
- huaweicloudsdkcbr/v1/model/vault_tags_create_req.py +19 -16
- huaweicloudsdkcbr/v1/model/vault_update.py +130 -34
- huaweicloudsdkcbr/v1/model/vault_update_req.py +19 -16
- huaweicloudsdkcbr/v1/region/cbr_region.py +119 -45
- {huaweicloudsdkcbr-3.0.42rc0.dist-info → huaweicloudsdkcbr-3.1.160.dist-info}/METADATA +9 -9
- huaweicloudsdkcbr-3.1.160.dist-info/RECORD +285 -0
- {huaweicloudsdkcbr-3.0.42rc0.dist-info → huaweicloudsdkcbr-3.1.160.dist-info}/WHEEL +1 -1
- huaweicloudsdkcbr/v1/model/backup_detail.py +0 -654
- huaweicloudsdkcbr-3.0.42rc0.dist-info/RECORD +0 -179
- {huaweicloudsdkcbr-3.0.42rc0.dist-info → huaweicloudsdkcbr-3.1.160.dist-info}/LICENSE +0 -0
- {huaweicloudsdkcbr-3.0.42rc0.dist-info → huaweicloudsdkcbr-3.1.160.dist-info}/top_level.txt +0 -0
@@ -1,17 +1,12 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
|
3
|
-
import pprint
|
4
|
-
import re
|
5
|
-
|
6
3
|
import six
|
7
4
|
|
8
|
-
|
9
|
-
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
10
6
|
|
11
7
|
|
12
8
|
class ReplicationRecordGet:
|
13
9
|
|
14
|
-
|
15
10
|
"""
|
16
11
|
Attributes:
|
17
12
|
openapi_types (dict): The key is attribute name
|
@@ -19,7 +14,6 @@ class ReplicationRecordGet:
|
|
19
14
|
attribute_map (dict): The key is attribute name
|
20
15
|
and the value is json key in definition.
|
21
16
|
"""
|
22
|
-
|
23
17
|
sensitive_list = []
|
24
18
|
|
25
19
|
openapi_types = {
|
@@ -29,7 +23,7 @@ class ReplicationRecordGet:
|
|
29
23
|
'destination_project_id': 'str',
|
30
24
|
'destination_region': 'str',
|
31
25
|
'destination_vault_id': 'str',
|
32
|
-
'extra_info': '
|
26
|
+
'extra_info': 'ReplicationRecordsExtraInfo',
|
33
27
|
'id': 'str',
|
34
28
|
'source_backup_id': 'str',
|
35
29
|
'source_checkpoint_id': 'str',
|
@@ -57,7 +51,39 @@ class ReplicationRecordGet:
|
|
57
51
|
}
|
58
52
|
|
59
53
|
def __init__(self, created_at=None, destination_backup_id=None, destination_checkpoint_id=None, destination_project_id=None, destination_region=None, destination_vault_id=None, extra_info=None, id=None, source_backup_id=None, source_checkpoint_id=None, source_project_id=None, source_region=None, status=None, vault_id=None):
|
60
|
-
"""ReplicationRecordGet
|
54
|
+
r"""ReplicationRecordGet
|
55
|
+
|
56
|
+
The model defined in huaweicloud sdk
|
57
|
+
|
58
|
+
:param created_at: 复制的开始时间
|
59
|
+
:type created_at: str
|
60
|
+
:param destination_backup_id: 复制的目的备份ID
|
61
|
+
:type destination_backup_id: str
|
62
|
+
:param destination_checkpoint_id: 复制的目的备份记录ID
|
63
|
+
:type destination_checkpoint_id: str
|
64
|
+
:param destination_project_id: 复制的目标项目ID
|
65
|
+
:type destination_project_id: str
|
66
|
+
:param destination_region: 复制的目标区域
|
67
|
+
:type destination_region: str
|
68
|
+
:param destination_vault_id: 目标存储库ID
|
69
|
+
:type destination_vault_id: str
|
70
|
+
:param extra_info:
|
71
|
+
:type extra_info: :class:`huaweicloudsdkcbr.v1.ReplicationRecordsExtraInfo`
|
72
|
+
:param id: 复制记录ID
|
73
|
+
:type id: str
|
74
|
+
:param source_backup_id: 复制的源备份ID
|
75
|
+
:type source_backup_id: str
|
76
|
+
:param source_checkpoint_id: 复制的源备份记录ID
|
77
|
+
:type source_checkpoint_id: str
|
78
|
+
:param source_project_id: 复制的源项目ID
|
79
|
+
:type source_project_id: str
|
80
|
+
:param source_region: 复制的源区域
|
81
|
+
:type source_region: str
|
82
|
+
:param status: 复制的状态
|
83
|
+
:type status: str
|
84
|
+
:param vault_id: 备份所在的存储库ID
|
85
|
+
:type vault_id: str
|
86
|
+
"""
|
61
87
|
|
62
88
|
|
63
89
|
|
@@ -107,7 +133,7 @@ class ReplicationRecordGet:
|
|
107
133
|
|
108
134
|
@property
|
109
135
|
def created_at(self):
|
110
|
-
"""Gets the created_at of this ReplicationRecordGet.
|
136
|
+
r"""Gets the created_at of this ReplicationRecordGet.
|
111
137
|
|
112
138
|
复制的开始时间
|
113
139
|
|
@@ -118,18 +144,18 @@ class ReplicationRecordGet:
|
|
118
144
|
|
119
145
|
@created_at.setter
|
120
146
|
def created_at(self, created_at):
|
121
|
-
"""Sets the created_at of this ReplicationRecordGet.
|
147
|
+
r"""Sets the created_at of this ReplicationRecordGet.
|
122
148
|
|
123
149
|
复制的开始时间
|
124
150
|
|
125
151
|
:param created_at: The created_at of this ReplicationRecordGet.
|
126
|
-
:type: str
|
152
|
+
:type created_at: str
|
127
153
|
"""
|
128
154
|
self._created_at = created_at
|
129
155
|
|
130
156
|
@property
|
131
157
|
def destination_backup_id(self):
|
132
|
-
"""Gets the destination_backup_id of this ReplicationRecordGet.
|
158
|
+
r"""Gets the destination_backup_id of this ReplicationRecordGet.
|
133
159
|
|
134
160
|
复制的目的备份ID
|
135
161
|
|
@@ -140,18 +166,18 @@ class ReplicationRecordGet:
|
|
140
166
|
|
141
167
|
@destination_backup_id.setter
|
142
168
|
def destination_backup_id(self, destination_backup_id):
|
143
|
-
"""Sets the destination_backup_id of this ReplicationRecordGet.
|
169
|
+
r"""Sets the destination_backup_id of this ReplicationRecordGet.
|
144
170
|
|
145
171
|
复制的目的备份ID
|
146
172
|
|
147
173
|
:param destination_backup_id: The destination_backup_id of this ReplicationRecordGet.
|
148
|
-
:type: str
|
174
|
+
:type destination_backup_id: str
|
149
175
|
"""
|
150
176
|
self._destination_backup_id = destination_backup_id
|
151
177
|
|
152
178
|
@property
|
153
179
|
def destination_checkpoint_id(self):
|
154
|
-
"""Gets the destination_checkpoint_id of this ReplicationRecordGet.
|
180
|
+
r"""Gets the destination_checkpoint_id of this ReplicationRecordGet.
|
155
181
|
|
156
182
|
复制的目的备份记录ID
|
157
183
|
|
@@ -162,18 +188,18 @@ class ReplicationRecordGet:
|
|
162
188
|
|
163
189
|
@destination_checkpoint_id.setter
|
164
190
|
def destination_checkpoint_id(self, destination_checkpoint_id):
|
165
|
-
"""Sets the destination_checkpoint_id of this ReplicationRecordGet.
|
191
|
+
r"""Sets the destination_checkpoint_id of this ReplicationRecordGet.
|
166
192
|
|
167
193
|
复制的目的备份记录ID
|
168
194
|
|
169
195
|
:param destination_checkpoint_id: The destination_checkpoint_id of this ReplicationRecordGet.
|
170
|
-
:type: str
|
196
|
+
:type destination_checkpoint_id: str
|
171
197
|
"""
|
172
198
|
self._destination_checkpoint_id = destination_checkpoint_id
|
173
199
|
|
174
200
|
@property
|
175
201
|
def destination_project_id(self):
|
176
|
-
"""Gets the destination_project_id of this ReplicationRecordGet.
|
202
|
+
r"""Gets the destination_project_id of this ReplicationRecordGet.
|
177
203
|
|
178
204
|
复制的目标项目ID
|
179
205
|
|
@@ -184,18 +210,18 @@ class ReplicationRecordGet:
|
|
184
210
|
|
185
211
|
@destination_project_id.setter
|
186
212
|
def destination_project_id(self, destination_project_id):
|
187
|
-
"""Sets the destination_project_id of this ReplicationRecordGet.
|
213
|
+
r"""Sets the destination_project_id of this ReplicationRecordGet.
|
188
214
|
|
189
215
|
复制的目标项目ID
|
190
216
|
|
191
217
|
:param destination_project_id: The destination_project_id of this ReplicationRecordGet.
|
192
|
-
:type: str
|
218
|
+
:type destination_project_id: str
|
193
219
|
"""
|
194
220
|
self._destination_project_id = destination_project_id
|
195
221
|
|
196
222
|
@property
|
197
223
|
def destination_region(self):
|
198
|
-
"""Gets the destination_region of this ReplicationRecordGet.
|
224
|
+
r"""Gets the destination_region of this ReplicationRecordGet.
|
199
225
|
|
200
226
|
复制的目标区域
|
201
227
|
|
@@ -206,18 +232,18 @@ class ReplicationRecordGet:
|
|
206
232
|
|
207
233
|
@destination_region.setter
|
208
234
|
def destination_region(self, destination_region):
|
209
|
-
"""Sets the destination_region of this ReplicationRecordGet.
|
235
|
+
r"""Sets the destination_region of this ReplicationRecordGet.
|
210
236
|
|
211
237
|
复制的目标区域
|
212
238
|
|
213
239
|
:param destination_region: The destination_region of this ReplicationRecordGet.
|
214
|
-
:type: str
|
240
|
+
:type destination_region: str
|
215
241
|
"""
|
216
242
|
self._destination_region = destination_region
|
217
243
|
|
218
244
|
@property
|
219
245
|
def destination_vault_id(self):
|
220
|
-
"""Gets the destination_vault_id of this ReplicationRecordGet.
|
246
|
+
r"""Gets the destination_vault_id of this ReplicationRecordGet.
|
221
247
|
|
222
248
|
目标存储库ID
|
223
249
|
|
@@ -228,40 +254,36 @@ class ReplicationRecordGet:
|
|
228
254
|
|
229
255
|
@destination_vault_id.setter
|
230
256
|
def destination_vault_id(self, destination_vault_id):
|
231
|
-
"""Sets the destination_vault_id of this ReplicationRecordGet.
|
257
|
+
r"""Sets the destination_vault_id of this ReplicationRecordGet.
|
232
258
|
|
233
259
|
目标存储库ID
|
234
260
|
|
235
261
|
:param destination_vault_id: The destination_vault_id of this ReplicationRecordGet.
|
236
|
-
:type: str
|
262
|
+
:type destination_vault_id: str
|
237
263
|
"""
|
238
264
|
self._destination_vault_id = destination_vault_id
|
239
265
|
|
240
266
|
@property
|
241
267
|
def extra_info(self):
|
242
|
-
"""Gets the extra_info of this ReplicationRecordGet.
|
243
|
-
|
244
|
-
复制附加信息
|
268
|
+
r"""Gets the extra_info of this ReplicationRecordGet.
|
245
269
|
|
246
270
|
:return: The extra_info of this ReplicationRecordGet.
|
247
|
-
:rtype:
|
271
|
+
:rtype: :class:`huaweicloudsdkcbr.v1.ReplicationRecordsExtraInfo`
|
248
272
|
"""
|
249
273
|
return self._extra_info
|
250
274
|
|
251
275
|
@extra_info.setter
|
252
276
|
def extra_info(self, extra_info):
|
253
|
-
"""Sets the extra_info of this ReplicationRecordGet.
|
254
|
-
|
255
|
-
复制附加信息
|
277
|
+
r"""Sets the extra_info of this ReplicationRecordGet.
|
256
278
|
|
257
279
|
:param extra_info: The extra_info of this ReplicationRecordGet.
|
258
|
-
:type:
|
280
|
+
:type extra_info: :class:`huaweicloudsdkcbr.v1.ReplicationRecordsExtraInfo`
|
259
281
|
"""
|
260
282
|
self._extra_info = extra_info
|
261
283
|
|
262
284
|
@property
|
263
285
|
def id(self):
|
264
|
-
"""Gets the id of this ReplicationRecordGet.
|
286
|
+
r"""Gets the id of this ReplicationRecordGet.
|
265
287
|
|
266
288
|
复制记录ID
|
267
289
|
|
@@ -272,18 +294,18 @@ class ReplicationRecordGet:
|
|
272
294
|
|
273
295
|
@id.setter
|
274
296
|
def id(self, id):
|
275
|
-
"""Sets the id of this ReplicationRecordGet.
|
297
|
+
r"""Sets the id of this ReplicationRecordGet.
|
276
298
|
|
277
299
|
复制记录ID
|
278
300
|
|
279
301
|
:param id: The id of this ReplicationRecordGet.
|
280
|
-
:type: str
|
302
|
+
:type id: str
|
281
303
|
"""
|
282
304
|
self._id = id
|
283
305
|
|
284
306
|
@property
|
285
307
|
def source_backup_id(self):
|
286
|
-
"""Gets the source_backup_id of this ReplicationRecordGet.
|
308
|
+
r"""Gets the source_backup_id of this ReplicationRecordGet.
|
287
309
|
|
288
310
|
复制的源备份ID
|
289
311
|
|
@@ -294,18 +316,18 @@ class ReplicationRecordGet:
|
|
294
316
|
|
295
317
|
@source_backup_id.setter
|
296
318
|
def source_backup_id(self, source_backup_id):
|
297
|
-
"""Sets the source_backup_id of this ReplicationRecordGet.
|
319
|
+
r"""Sets the source_backup_id of this ReplicationRecordGet.
|
298
320
|
|
299
321
|
复制的源备份ID
|
300
322
|
|
301
323
|
:param source_backup_id: The source_backup_id of this ReplicationRecordGet.
|
302
|
-
:type: str
|
324
|
+
:type source_backup_id: str
|
303
325
|
"""
|
304
326
|
self._source_backup_id = source_backup_id
|
305
327
|
|
306
328
|
@property
|
307
329
|
def source_checkpoint_id(self):
|
308
|
-
"""Gets the source_checkpoint_id of this ReplicationRecordGet.
|
330
|
+
r"""Gets the source_checkpoint_id of this ReplicationRecordGet.
|
309
331
|
|
310
332
|
复制的源备份记录ID
|
311
333
|
|
@@ -316,18 +338,18 @@ class ReplicationRecordGet:
|
|
316
338
|
|
317
339
|
@source_checkpoint_id.setter
|
318
340
|
def source_checkpoint_id(self, source_checkpoint_id):
|
319
|
-
"""Sets the source_checkpoint_id of this ReplicationRecordGet.
|
341
|
+
r"""Sets the source_checkpoint_id of this ReplicationRecordGet.
|
320
342
|
|
321
343
|
复制的源备份记录ID
|
322
344
|
|
323
345
|
:param source_checkpoint_id: The source_checkpoint_id of this ReplicationRecordGet.
|
324
|
-
:type: str
|
346
|
+
:type source_checkpoint_id: str
|
325
347
|
"""
|
326
348
|
self._source_checkpoint_id = source_checkpoint_id
|
327
349
|
|
328
350
|
@property
|
329
351
|
def source_project_id(self):
|
330
|
-
"""Gets the source_project_id of this ReplicationRecordGet.
|
352
|
+
r"""Gets the source_project_id of this ReplicationRecordGet.
|
331
353
|
|
332
354
|
复制的源项目ID
|
333
355
|
|
@@ -338,18 +360,18 @@ class ReplicationRecordGet:
|
|
338
360
|
|
339
361
|
@source_project_id.setter
|
340
362
|
def source_project_id(self, source_project_id):
|
341
|
-
"""Sets the source_project_id of this ReplicationRecordGet.
|
363
|
+
r"""Sets the source_project_id of this ReplicationRecordGet.
|
342
364
|
|
343
365
|
复制的源项目ID
|
344
366
|
|
345
367
|
:param source_project_id: The source_project_id of this ReplicationRecordGet.
|
346
|
-
:type: str
|
368
|
+
:type source_project_id: str
|
347
369
|
"""
|
348
370
|
self._source_project_id = source_project_id
|
349
371
|
|
350
372
|
@property
|
351
373
|
def source_region(self):
|
352
|
-
"""Gets the source_region of this ReplicationRecordGet.
|
374
|
+
r"""Gets the source_region of this ReplicationRecordGet.
|
353
375
|
|
354
376
|
复制的源区域
|
355
377
|
|
@@ -360,18 +382,18 @@ class ReplicationRecordGet:
|
|
360
382
|
|
361
383
|
@source_region.setter
|
362
384
|
def source_region(self, source_region):
|
363
|
-
"""Sets the source_region of this ReplicationRecordGet.
|
385
|
+
r"""Sets the source_region of this ReplicationRecordGet.
|
364
386
|
|
365
387
|
复制的源区域
|
366
388
|
|
367
389
|
:param source_region: The source_region of this ReplicationRecordGet.
|
368
|
-
:type: str
|
390
|
+
:type source_region: str
|
369
391
|
"""
|
370
392
|
self._source_region = source_region
|
371
393
|
|
372
394
|
@property
|
373
395
|
def status(self):
|
374
|
-
"""Gets the status of this ReplicationRecordGet.
|
396
|
+
r"""Gets the status of this ReplicationRecordGet.
|
375
397
|
|
376
398
|
复制的状态
|
377
399
|
|
@@ -382,18 +404,18 @@ class ReplicationRecordGet:
|
|
382
404
|
|
383
405
|
@status.setter
|
384
406
|
def status(self, status):
|
385
|
-
"""Sets the status of this ReplicationRecordGet.
|
407
|
+
r"""Sets the status of this ReplicationRecordGet.
|
386
408
|
|
387
409
|
复制的状态
|
388
410
|
|
389
411
|
:param status: The status of this ReplicationRecordGet.
|
390
|
-
:type: str
|
412
|
+
:type status: str
|
391
413
|
"""
|
392
414
|
self._status = status
|
393
415
|
|
394
416
|
@property
|
395
417
|
def vault_id(self):
|
396
|
-
"""Gets the vault_id of this ReplicationRecordGet.
|
418
|
+
r"""Gets the vault_id of this ReplicationRecordGet.
|
397
419
|
|
398
420
|
备份所在的存储库ID
|
399
421
|
|
@@ -404,12 +426,12 @@ class ReplicationRecordGet:
|
|
404
426
|
|
405
427
|
@vault_id.setter
|
406
428
|
def vault_id(self, vault_id):
|
407
|
-
"""Sets the vault_id of this ReplicationRecordGet.
|
429
|
+
r"""Sets the vault_id of this ReplicationRecordGet.
|
408
430
|
|
409
431
|
备份所在的存储库ID
|
410
432
|
|
411
433
|
:param vault_id: The vault_id of this ReplicationRecordGet.
|
412
|
-
:type: str
|
434
|
+
:type vault_id: str
|
413
435
|
"""
|
414
436
|
self._vault_id = vault_id
|
415
437
|
|
@@ -442,10 +464,15 @@ class ReplicationRecordGet:
|
|
442
464
|
|
443
465
|
def to_str(self):
|
444
466
|
"""Returns the string representation of the model"""
|
445
|
-
|
467
|
+
import simplejson as json
|
468
|
+
if six.PY2:
|
469
|
+
import sys
|
470
|
+
reload(sys)
|
471
|
+
sys.setdefaultencoding("utf-8")
|
472
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
446
473
|
|
447
474
|
def __repr__(self):
|
448
|
-
"""For `print`
|
475
|
+
"""For `print`"""
|
449
476
|
return self.to_str()
|
450
477
|
|
451
478
|
def __eq__(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 ReplicationRecordsExtraInfo:
|
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
|
+
'progress': 'int',
|
21
|
+
'fail_code': 'str',
|
22
|
+
'fail_reason': 'str',
|
23
|
+
'auto_trigger': 'bool',
|
24
|
+
'destinatio_vault_id': 'str'
|
25
|
+
}
|
26
|
+
|
27
|
+
attribute_map = {
|
28
|
+
'progress': 'progress',
|
29
|
+
'fail_code': 'fail_code',
|
30
|
+
'fail_reason': 'fail_reason',
|
31
|
+
'auto_trigger': 'auto_trigger',
|
32
|
+
'destinatio_vault_id': 'destinatio_vault_id'
|
33
|
+
}
|
34
|
+
|
35
|
+
def __init__(self, progress=None, fail_code=None, fail_reason=None, auto_trigger=None, destinatio_vault_id=None):
|
36
|
+
r"""ReplicationRecordsExtraInfo
|
37
|
+
|
38
|
+
The model defined in huaweicloud sdk
|
39
|
+
|
40
|
+
:param progress: 复制进度
|
41
|
+
:type progress: int
|
42
|
+
:param fail_code: 失败错误码,成功时为空
|
43
|
+
:type fail_code: str
|
44
|
+
:param fail_reason: 错误原因
|
45
|
+
:type fail_reason: str
|
46
|
+
:param auto_trigger: 是否为自动调度复制
|
47
|
+
:type auto_trigger: bool
|
48
|
+
:param destinatio_vault_id: 目标端的存储库id
|
49
|
+
:type destinatio_vault_id: str
|
50
|
+
"""
|
51
|
+
|
52
|
+
|
53
|
+
|
54
|
+
self._progress = None
|
55
|
+
self._fail_code = None
|
56
|
+
self._fail_reason = None
|
57
|
+
self._auto_trigger = None
|
58
|
+
self._destinatio_vault_id = None
|
59
|
+
self.discriminator = None
|
60
|
+
|
61
|
+
if progress is not None:
|
62
|
+
self.progress = progress
|
63
|
+
if fail_code is not None:
|
64
|
+
self.fail_code = fail_code
|
65
|
+
if fail_reason is not None:
|
66
|
+
self.fail_reason = fail_reason
|
67
|
+
if auto_trigger is not None:
|
68
|
+
self.auto_trigger = auto_trigger
|
69
|
+
if destinatio_vault_id is not None:
|
70
|
+
self.destinatio_vault_id = destinatio_vault_id
|
71
|
+
|
72
|
+
@property
|
73
|
+
def progress(self):
|
74
|
+
r"""Gets the progress of this ReplicationRecordsExtraInfo.
|
75
|
+
|
76
|
+
复制进度
|
77
|
+
|
78
|
+
:return: The progress of this ReplicationRecordsExtraInfo.
|
79
|
+
:rtype: int
|
80
|
+
"""
|
81
|
+
return self._progress
|
82
|
+
|
83
|
+
@progress.setter
|
84
|
+
def progress(self, progress):
|
85
|
+
r"""Sets the progress of this ReplicationRecordsExtraInfo.
|
86
|
+
|
87
|
+
复制进度
|
88
|
+
|
89
|
+
:param progress: The progress of this ReplicationRecordsExtraInfo.
|
90
|
+
:type progress: int
|
91
|
+
"""
|
92
|
+
self._progress = progress
|
93
|
+
|
94
|
+
@property
|
95
|
+
def fail_code(self):
|
96
|
+
r"""Gets the fail_code of this ReplicationRecordsExtraInfo.
|
97
|
+
|
98
|
+
失败错误码,成功时为空
|
99
|
+
|
100
|
+
:return: The fail_code of this ReplicationRecordsExtraInfo.
|
101
|
+
:rtype: str
|
102
|
+
"""
|
103
|
+
return self._fail_code
|
104
|
+
|
105
|
+
@fail_code.setter
|
106
|
+
def fail_code(self, fail_code):
|
107
|
+
r"""Sets the fail_code of this ReplicationRecordsExtraInfo.
|
108
|
+
|
109
|
+
失败错误码,成功时为空
|
110
|
+
|
111
|
+
:param fail_code: The fail_code of this ReplicationRecordsExtraInfo.
|
112
|
+
:type fail_code: str
|
113
|
+
"""
|
114
|
+
self._fail_code = fail_code
|
115
|
+
|
116
|
+
@property
|
117
|
+
def fail_reason(self):
|
118
|
+
r"""Gets the fail_reason of this ReplicationRecordsExtraInfo.
|
119
|
+
|
120
|
+
错误原因
|
121
|
+
|
122
|
+
:return: The fail_reason of this ReplicationRecordsExtraInfo.
|
123
|
+
:rtype: str
|
124
|
+
"""
|
125
|
+
return self._fail_reason
|
126
|
+
|
127
|
+
@fail_reason.setter
|
128
|
+
def fail_reason(self, fail_reason):
|
129
|
+
r"""Sets the fail_reason of this ReplicationRecordsExtraInfo.
|
130
|
+
|
131
|
+
错误原因
|
132
|
+
|
133
|
+
:param fail_reason: The fail_reason of this ReplicationRecordsExtraInfo.
|
134
|
+
:type fail_reason: str
|
135
|
+
"""
|
136
|
+
self._fail_reason = fail_reason
|
137
|
+
|
138
|
+
@property
|
139
|
+
def auto_trigger(self):
|
140
|
+
r"""Gets the auto_trigger of this ReplicationRecordsExtraInfo.
|
141
|
+
|
142
|
+
是否为自动调度复制
|
143
|
+
|
144
|
+
:return: The auto_trigger of this ReplicationRecordsExtraInfo.
|
145
|
+
:rtype: bool
|
146
|
+
"""
|
147
|
+
return self._auto_trigger
|
148
|
+
|
149
|
+
@auto_trigger.setter
|
150
|
+
def auto_trigger(self, auto_trigger):
|
151
|
+
r"""Sets the auto_trigger of this ReplicationRecordsExtraInfo.
|
152
|
+
|
153
|
+
是否为自动调度复制
|
154
|
+
|
155
|
+
:param auto_trigger: The auto_trigger of this ReplicationRecordsExtraInfo.
|
156
|
+
:type auto_trigger: bool
|
157
|
+
"""
|
158
|
+
self._auto_trigger = auto_trigger
|
159
|
+
|
160
|
+
@property
|
161
|
+
def destinatio_vault_id(self):
|
162
|
+
r"""Gets the destinatio_vault_id of this ReplicationRecordsExtraInfo.
|
163
|
+
|
164
|
+
目标端的存储库id
|
165
|
+
|
166
|
+
:return: The destinatio_vault_id of this ReplicationRecordsExtraInfo.
|
167
|
+
:rtype: str
|
168
|
+
"""
|
169
|
+
return self._destinatio_vault_id
|
170
|
+
|
171
|
+
@destinatio_vault_id.setter
|
172
|
+
def destinatio_vault_id(self, destinatio_vault_id):
|
173
|
+
r"""Sets the destinatio_vault_id of this ReplicationRecordsExtraInfo.
|
174
|
+
|
175
|
+
目标端的存储库id
|
176
|
+
|
177
|
+
:param destinatio_vault_id: The destinatio_vault_id of this ReplicationRecordsExtraInfo.
|
178
|
+
:type destinatio_vault_id: str
|
179
|
+
"""
|
180
|
+
self._destinatio_vault_id = destinatio_vault_id
|
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, ReplicationRecordsExtraInfo):
|
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
|