huaweicloudsdkcbr 3.0.43rc0__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 +3638 -1487
- huaweicloudsdkcbr/v1/cbr_client.py +3639 -1489
- 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 +121 -61
- huaweicloudsdkcbr/v1/model/billing_create.py +95 -66
- 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 +29 -20
- 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 +26 -20
- huaweicloudsdkcbr/v1/model/tag_resource.py +44 -35
- huaweicloudsdkcbr/v1/model/tags_req.py +23 -16
- huaweicloudsdkcbr/v1/model/tags_resp.py +23 -16
- 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.43rc0.dist-info → huaweicloudsdkcbr-3.1.160.dist-info}/METADATA +9 -9
- huaweicloudsdkcbr-3.1.160.dist-info/RECORD +285 -0
- {huaweicloudsdkcbr-3.0.43rc0.dist-info → huaweicloudsdkcbr-3.1.160.dist-info}/WHEEL +1 -1
- huaweicloudsdkcbr/v1/model/backup_detail.py +0 -654
- huaweicloudsdkcbr-3.0.43rc0.dist-info/RECORD +0 -179
- {huaweicloudsdkcbr-3.0.43rc0.dist-info → huaweicloudsdkcbr-3.1.160.dist-info}/LICENSE +0 -0
- {huaweicloudsdkcbr-3.0.43rc0.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 BillingCreate:
|
13
9
|
|
14
|
-
|
15
10
|
"""
|
16
11
|
Attributes:
|
17
12
|
openapi_types (dict): The key is attribute name
|
@@ -19,7 +14,6 @@ class BillingCreate:
|
|
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 = {
|
@@ -34,7 +28,7 @@ class BillingCreate:
|
|
34
28
|
'is_auto_renew': 'bool',
|
35
29
|
'is_auto_pay': 'bool',
|
36
30
|
'console_url': 'str',
|
37
|
-
'
|
31
|
+
'is_multi_az': 'bool'
|
38
32
|
}
|
39
33
|
|
40
34
|
attribute_map = {
|
@@ -49,11 +43,39 @@ class BillingCreate:
|
|
49
43
|
'is_auto_renew': 'is_auto_renew',
|
50
44
|
'is_auto_pay': 'is_auto_pay',
|
51
45
|
'console_url': 'console_url',
|
52
|
-
'
|
46
|
+
'is_multi_az': 'is_multi_az'
|
53
47
|
}
|
54
48
|
|
55
|
-
def __init__(self, cloud_type=None, consistent_level=None, object_type=None, protect_type=None, size=None, charging_mode=None, period_type=None, period_num=None, is_auto_renew=None, is_auto_pay=None, console_url=None,
|
56
|
-
"""BillingCreate
|
49
|
+
def __init__(self, cloud_type=None, consistent_level=None, object_type=None, protect_type=None, size=None, charging_mode=None, period_type=None, period_num=None, is_auto_renew=None, is_auto_pay=None, console_url=None, is_multi_az=None):
|
50
|
+
r"""BillingCreate
|
51
|
+
|
52
|
+
The model defined in huaweicloud sdk
|
53
|
+
|
54
|
+
:param cloud_type: 云平台,公有云或者混合云
|
55
|
+
:type cloud_type: str
|
56
|
+
:param consistent_level: 规格,崩溃一致性(crash_consistent)或应用一致性(app_consistent)
|
57
|
+
:type consistent_level: str
|
58
|
+
:param object_type: 对象类型:云服务器(server),云硬盘(disk),文件系统(turbo),云桌面(workspace),VMware(vmware),关系型数据库(rds),文件(file)。
|
59
|
+
:type object_type: str
|
60
|
+
:param protect_type: 保护类型:备份(backup)、复制(replication)
|
61
|
+
:type protect_type: str
|
62
|
+
:param size: 容量,单位GB
|
63
|
+
:type size: int
|
64
|
+
:param charging_mode: 创建模式,按需:post_paid,包周期:pre_paid,默认为post_paid
|
65
|
+
:type charging_mode: str
|
66
|
+
:param period_type: 创建类型,charging_mode为pre_paid必填,按年(year)或者按月(month)
|
67
|
+
:type period_type: str
|
68
|
+
:param period_num: 创建类型的数量,charging_mode为pre_paid必填
|
69
|
+
:type period_num: int
|
70
|
+
:param is_auto_renew: 到期后是否自动续期,默认不续期
|
71
|
+
:type is_auto_renew: bool
|
72
|
+
:param is_auto_pay: 是否自动付费,默认为不自动付费
|
73
|
+
:type is_auto_pay: bool
|
74
|
+
:param console_url: 跳转URL
|
75
|
+
:type console_url: str
|
76
|
+
:param is_multi_az: 存储库多az属性,默认为false
|
77
|
+
:type is_multi_az: bool
|
78
|
+
"""
|
57
79
|
|
58
80
|
|
59
81
|
|
@@ -68,7 +90,7 @@ class BillingCreate:
|
|
68
90
|
self._is_auto_renew = None
|
69
91
|
self._is_auto_pay = None
|
70
92
|
self._console_url = None
|
71
|
-
self.
|
93
|
+
self._is_multi_az = None
|
72
94
|
self.discriminator = None
|
73
95
|
|
74
96
|
if cloud_type is not None:
|
@@ -89,12 +111,12 @@ class BillingCreate:
|
|
89
111
|
self.is_auto_pay = is_auto_pay
|
90
112
|
if console_url is not None:
|
91
113
|
self.console_url = console_url
|
92
|
-
if
|
93
|
-
self.
|
114
|
+
if is_multi_az is not None:
|
115
|
+
self.is_multi_az = is_multi_az
|
94
116
|
|
95
117
|
@property
|
96
118
|
def cloud_type(self):
|
97
|
-
"""Gets the cloud_type of this BillingCreate.
|
119
|
+
r"""Gets the cloud_type of this BillingCreate.
|
98
120
|
|
99
121
|
云平台,公有云或者混合云
|
100
122
|
|
@@ -105,18 +127,18 @@ class BillingCreate:
|
|
105
127
|
|
106
128
|
@cloud_type.setter
|
107
129
|
def cloud_type(self, cloud_type):
|
108
|
-
"""Sets the cloud_type of this BillingCreate.
|
130
|
+
r"""Sets the cloud_type of this BillingCreate.
|
109
131
|
|
110
132
|
云平台,公有云或者混合云
|
111
133
|
|
112
134
|
:param cloud_type: The cloud_type of this BillingCreate.
|
113
|
-
:type: str
|
135
|
+
:type cloud_type: str
|
114
136
|
"""
|
115
137
|
self._cloud_type = cloud_type
|
116
138
|
|
117
139
|
@property
|
118
140
|
def consistent_level(self):
|
119
|
-
"""Gets the consistent_level of this BillingCreate.
|
141
|
+
r"""Gets the consistent_level of this BillingCreate.
|
120
142
|
|
121
143
|
规格,崩溃一致性(crash_consistent)或应用一致性(app_consistent)
|
122
144
|
|
@@ -127,20 +149,20 @@ class BillingCreate:
|
|
127
149
|
|
128
150
|
@consistent_level.setter
|
129
151
|
def consistent_level(self, consistent_level):
|
130
|
-
"""Sets the consistent_level of this BillingCreate.
|
152
|
+
r"""Sets the consistent_level of this BillingCreate.
|
131
153
|
|
132
154
|
规格,崩溃一致性(crash_consistent)或应用一致性(app_consistent)
|
133
155
|
|
134
156
|
:param consistent_level: The consistent_level of this BillingCreate.
|
135
|
-
:type: str
|
157
|
+
:type consistent_level: str
|
136
158
|
"""
|
137
159
|
self._consistent_level = consistent_level
|
138
160
|
|
139
161
|
@property
|
140
162
|
def object_type(self):
|
141
|
-
"""Gets the object_type of this BillingCreate.
|
163
|
+
r"""Gets the object_type of this BillingCreate.
|
142
164
|
|
143
|
-
对象类型:云服务器(server),云硬盘(disk),文件系统(turbo)。
|
165
|
+
对象类型:云服务器(server),云硬盘(disk),文件系统(turbo),云桌面(workspace),VMware(vmware),关系型数据库(rds),文件(file)。
|
144
166
|
|
145
167
|
:return: The object_type of this BillingCreate.
|
146
168
|
:rtype: str
|
@@ -149,18 +171,18 @@ class BillingCreate:
|
|
149
171
|
|
150
172
|
@object_type.setter
|
151
173
|
def object_type(self, object_type):
|
152
|
-
"""Sets the object_type of this BillingCreate.
|
174
|
+
r"""Sets the object_type of this BillingCreate.
|
153
175
|
|
154
|
-
对象类型:云服务器(server),云硬盘(disk),文件系统(turbo)。
|
176
|
+
对象类型:云服务器(server),云硬盘(disk),文件系统(turbo),云桌面(workspace),VMware(vmware),关系型数据库(rds),文件(file)。
|
155
177
|
|
156
178
|
:param object_type: The object_type of this BillingCreate.
|
157
|
-
:type: str
|
179
|
+
:type object_type: str
|
158
180
|
"""
|
159
181
|
self._object_type = object_type
|
160
182
|
|
161
183
|
@property
|
162
184
|
def protect_type(self):
|
163
|
-
"""Gets the protect_type of this BillingCreate.
|
185
|
+
r"""Gets the protect_type of this BillingCreate.
|
164
186
|
|
165
187
|
保护类型:备份(backup)、复制(replication)
|
166
188
|
|
@@ -171,18 +193,18 @@ class BillingCreate:
|
|
171
193
|
|
172
194
|
@protect_type.setter
|
173
195
|
def protect_type(self, protect_type):
|
174
|
-
"""Sets the protect_type of this BillingCreate.
|
196
|
+
r"""Sets the protect_type of this BillingCreate.
|
175
197
|
|
176
198
|
保护类型:备份(backup)、复制(replication)
|
177
199
|
|
178
200
|
:param protect_type: The protect_type of this BillingCreate.
|
179
|
-
:type: str
|
201
|
+
:type protect_type: str
|
180
202
|
"""
|
181
203
|
self._protect_type = protect_type
|
182
204
|
|
183
205
|
@property
|
184
206
|
def size(self):
|
185
|
-
"""Gets the size of this BillingCreate.
|
207
|
+
r"""Gets the size of this BillingCreate.
|
186
208
|
|
187
209
|
容量,单位GB
|
188
210
|
|
@@ -193,18 +215,18 @@ class BillingCreate:
|
|
193
215
|
|
194
216
|
@size.setter
|
195
217
|
def size(self, size):
|
196
|
-
"""Sets the size of this BillingCreate.
|
218
|
+
r"""Sets the size of this BillingCreate.
|
197
219
|
|
198
220
|
容量,单位GB
|
199
221
|
|
200
222
|
:param size: The size of this BillingCreate.
|
201
|
-
:type: int
|
223
|
+
:type size: int
|
202
224
|
"""
|
203
225
|
self._size = size
|
204
226
|
|
205
227
|
@property
|
206
228
|
def charging_mode(self):
|
207
|
-
"""Gets the charging_mode of this BillingCreate.
|
229
|
+
r"""Gets the charging_mode of this BillingCreate.
|
208
230
|
|
209
231
|
创建模式,按需:post_paid,包周期:pre_paid,默认为post_paid
|
210
232
|
|
@@ -215,20 +237,20 @@ class BillingCreate:
|
|
215
237
|
|
216
238
|
@charging_mode.setter
|
217
239
|
def charging_mode(self, charging_mode):
|
218
|
-
"""Sets the charging_mode of this BillingCreate.
|
240
|
+
r"""Sets the charging_mode of this BillingCreate.
|
219
241
|
|
220
242
|
创建模式,按需:post_paid,包周期:pre_paid,默认为post_paid
|
221
243
|
|
222
244
|
:param charging_mode: The charging_mode of this BillingCreate.
|
223
|
-
:type: str
|
245
|
+
:type charging_mode: str
|
224
246
|
"""
|
225
247
|
self._charging_mode = charging_mode
|
226
248
|
|
227
249
|
@property
|
228
250
|
def period_type(self):
|
229
|
-
"""Gets the period_type of this BillingCreate.
|
251
|
+
r"""Gets the period_type of this BillingCreate.
|
230
252
|
|
231
|
-
|
253
|
+
创建类型,charging_mode为pre_paid必填,按年(year)或者按月(month)
|
232
254
|
|
233
255
|
:return: The period_type of this BillingCreate.
|
234
256
|
:rtype: str
|
@@ -237,20 +259,20 @@ class BillingCreate:
|
|
237
259
|
|
238
260
|
@period_type.setter
|
239
261
|
def period_type(self, period_type):
|
240
|
-
"""Sets the period_type of this BillingCreate.
|
262
|
+
r"""Sets the period_type of this BillingCreate.
|
241
263
|
|
242
|
-
|
264
|
+
创建类型,charging_mode为pre_paid必填,按年(year)或者按月(month)
|
243
265
|
|
244
266
|
:param period_type: The period_type of this BillingCreate.
|
245
|
-
:type: str
|
267
|
+
:type period_type: str
|
246
268
|
"""
|
247
269
|
self._period_type = period_type
|
248
270
|
|
249
271
|
@property
|
250
272
|
def period_num(self):
|
251
|
-
"""Gets the period_num of this BillingCreate.
|
273
|
+
r"""Gets the period_num of this BillingCreate.
|
252
274
|
|
253
|
-
|
275
|
+
创建类型的数量,charging_mode为pre_paid必填
|
254
276
|
|
255
277
|
:return: The period_num of this BillingCreate.
|
256
278
|
:rtype: int
|
@@ -259,18 +281,18 @@ class BillingCreate:
|
|
259
281
|
|
260
282
|
@period_num.setter
|
261
283
|
def period_num(self, period_num):
|
262
|
-
"""Sets the period_num of this BillingCreate.
|
284
|
+
r"""Sets the period_num of this BillingCreate.
|
263
285
|
|
264
|
-
|
286
|
+
创建类型的数量,charging_mode为pre_paid必填
|
265
287
|
|
266
288
|
:param period_num: The period_num of this BillingCreate.
|
267
|
-
:type: int
|
289
|
+
:type period_num: int
|
268
290
|
"""
|
269
291
|
self._period_num = period_num
|
270
292
|
|
271
293
|
@property
|
272
294
|
def is_auto_renew(self):
|
273
|
-
"""Gets the is_auto_renew of this BillingCreate.
|
295
|
+
r"""Gets the is_auto_renew of this BillingCreate.
|
274
296
|
|
275
297
|
到期后是否自动续期,默认不续期
|
276
298
|
|
@@ -281,18 +303,18 @@ class BillingCreate:
|
|
281
303
|
|
282
304
|
@is_auto_renew.setter
|
283
305
|
def is_auto_renew(self, is_auto_renew):
|
284
|
-
"""Sets the is_auto_renew of this BillingCreate.
|
306
|
+
r"""Sets the is_auto_renew of this BillingCreate.
|
285
307
|
|
286
308
|
到期后是否自动续期,默认不续期
|
287
309
|
|
288
310
|
:param is_auto_renew: The is_auto_renew of this BillingCreate.
|
289
|
-
:type: bool
|
311
|
+
:type is_auto_renew: bool
|
290
312
|
"""
|
291
313
|
self._is_auto_renew = is_auto_renew
|
292
314
|
|
293
315
|
@property
|
294
316
|
def is_auto_pay(self):
|
295
|
-
"""Gets the is_auto_pay of this BillingCreate.
|
317
|
+
r"""Gets the is_auto_pay of this BillingCreate.
|
296
318
|
|
297
319
|
是否自动付费,默认为不自动付费
|
298
320
|
|
@@ -303,18 +325,18 @@ class BillingCreate:
|
|
303
325
|
|
304
326
|
@is_auto_pay.setter
|
305
327
|
def is_auto_pay(self, is_auto_pay):
|
306
|
-
"""Sets the is_auto_pay of this BillingCreate.
|
328
|
+
r"""Sets the is_auto_pay of this BillingCreate.
|
307
329
|
|
308
330
|
是否自动付费,默认为不自动付费
|
309
331
|
|
310
332
|
:param is_auto_pay: The is_auto_pay of this BillingCreate.
|
311
|
-
:type: bool
|
333
|
+
:type is_auto_pay: bool
|
312
334
|
"""
|
313
335
|
self._is_auto_pay = is_auto_pay
|
314
336
|
|
315
337
|
@property
|
316
338
|
def console_url(self):
|
317
|
-
"""Gets the console_url of this BillingCreate.
|
339
|
+
r"""Gets the console_url of this BillingCreate.
|
318
340
|
|
319
341
|
跳转URL
|
320
342
|
|
@@ -325,34 +347,36 @@ class BillingCreate:
|
|
325
347
|
|
326
348
|
@console_url.setter
|
327
349
|
def console_url(self, console_url):
|
328
|
-
"""Sets the console_url of this BillingCreate.
|
350
|
+
r"""Sets the console_url of this BillingCreate.
|
329
351
|
|
330
352
|
跳转URL
|
331
353
|
|
332
354
|
:param console_url: The console_url of this BillingCreate.
|
333
|
-
:type: str
|
355
|
+
:type console_url: str
|
334
356
|
"""
|
335
357
|
self._console_url = console_url
|
336
358
|
|
337
359
|
@property
|
338
|
-
def
|
339
|
-
"""Gets the
|
360
|
+
def is_multi_az(self):
|
361
|
+
r"""Gets the is_multi_az of this BillingCreate.
|
340
362
|
|
363
|
+
存储库多az属性,默认为false
|
341
364
|
|
342
|
-
:return: The
|
343
|
-
:rtype:
|
365
|
+
:return: The is_multi_az of this BillingCreate.
|
366
|
+
:rtype: bool
|
344
367
|
"""
|
345
|
-
return self.
|
368
|
+
return self._is_multi_az
|
346
369
|
|
347
|
-
@
|
348
|
-
def
|
349
|
-
"""Sets the
|
370
|
+
@is_multi_az.setter
|
371
|
+
def is_multi_az(self, is_multi_az):
|
372
|
+
r"""Sets the is_multi_az of this BillingCreate.
|
350
373
|
|
374
|
+
存储库多az属性,默认为false
|
351
375
|
|
352
|
-
:param
|
353
|
-
:type:
|
376
|
+
:param is_multi_az: The is_multi_az of this BillingCreate.
|
377
|
+
:type is_multi_az: bool
|
354
378
|
"""
|
355
|
-
self.
|
379
|
+
self._is_multi_az = is_multi_az
|
356
380
|
|
357
381
|
def to_dict(self):
|
358
382
|
"""Returns the model properties as a dict"""
|
@@ -383,10 +407,15 @@ class BillingCreate:
|
|
383
407
|
|
384
408
|
def to_str(self):
|
385
409
|
"""Returns the string representation of the model"""
|
386
|
-
|
410
|
+
import simplejson as json
|
411
|
+
if six.PY2:
|
412
|
+
import sys
|
413
|
+
reload(sys)
|
414
|
+
sys.setdefaultencoding("utf-8")
|
415
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
387
416
|
|
388
417
|
def __repr__(self):
|
389
|
-
"""For `print`
|
418
|
+
"""For `print`"""
|
390
419
|
return self.to_str()
|
391
420
|
|
392
421
|
def __eq__(self, other):
|
@@ -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 BillingUpdate:
|
13
9
|
|
14
|
-
|
15
10
|
"""
|
16
11
|
Attributes:
|
17
12
|
openapi_types (dict): The key is attribute name
|
@@ -19,7 +14,6 @@ class BillingUpdate:
|
|
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 = {
|
@@ -33,7 +27,15 @@ class BillingUpdate:
|
|
33
27
|
}
|
34
28
|
|
35
29
|
def __init__(self, consistent_level=None, size=None):
|
36
|
-
"""BillingUpdate
|
30
|
+
r"""BillingUpdate
|
31
|
+
|
32
|
+
The model defined in huaweicloud sdk
|
33
|
+
|
34
|
+
:param consistent_level: 存储库规格
|
35
|
+
:type consistent_level: str
|
36
|
+
:param size: 存储库大小,单位为GB
|
37
|
+
:type size: int
|
38
|
+
"""
|
37
39
|
|
38
40
|
|
39
41
|
|
@@ -48,7 +50,7 @@ class BillingUpdate:
|
|
48
50
|
|
49
51
|
@property
|
50
52
|
def consistent_level(self):
|
51
|
-
"""Gets the consistent_level of this BillingUpdate.
|
53
|
+
r"""Gets the consistent_level of this BillingUpdate.
|
52
54
|
|
53
55
|
存储库规格
|
54
56
|
|
@@ -59,18 +61,18 @@ class BillingUpdate:
|
|
59
61
|
|
60
62
|
@consistent_level.setter
|
61
63
|
def consistent_level(self, consistent_level):
|
62
|
-
"""Sets the consistent_level of this BillingUpdate.
|
64
|
+
r"""Sets the consistent_level of this BillingUpdate.
|
63
65
|
|
64
66
|
存储库规格
|
65
67
|
|
66
68
|
:param consistent_level: The consistent_level of this BillingUpdate.
|
67
|
-
:type: str
|
69
|
+
:type consistent_level: str
|
68
70
|
"""
|
69
71
|
self._consistent_level = consistent_level
|
70
72
|
|
71
73
|
@property
|
72
74
|
def size(self):
|
73
|
-
"""Gets the size of this BillingUpdate.
|
75
|
+
r"""Gets the size of this BillingUpdate.
|
74
76
|
|
75
77
|
存储库大小,单位为GB
|
76
78
|
|
@@ -81,12 +83,12 @@ class BillingUpdate:
|
|
81
83
|
|
82
84
|
@size.setter
|
83
85
|
def size(self, size):
|
84
|
-
"""Sets the size of this BillingUpdate.
|
86
|
+
r"""Sets the size of this BillingUpdate.
|
85
87
|
|
86
88
|
存储库大小,单位为GB
|
87
89
|
|
88
90
|
:param size: The size of this BillingUpdate.
|
89
|
-
:type: int
|
91
|
+
:type size: int
|
90
92
|
"""
|
91
93
|
self._size = size
|
92
94
|
|
@@ -119,10 +121,15 @@ class BillingUpdate:
|
|
119
121
|
|
120
122
|
def to_str(self):
|
121
123
|
"""Returns the string representation of the model"""
|
122
|
-
|
124
|
+
import simplejson as json
|
125
|
+
if six.PY2:
|
126
|
+
import sys
|
127
|
+
reload(sys)
|
128
|
+
sys.setdefaultencoding("utf-8")
|
129
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
123
130
|
|
124
131
|
def __repr__(self):
|
125
|
-
"""For `print`
|
132
|
+
"""For `print`"""
|
126
133
|
return self.to_str()
|
127
134
|
|
128
135
|
def __eq__(self, other):
|
@@ -0,0 +1,142 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class BindRulesTags:
|
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
|
+
'key': 'str',
|
21
|
+
'value': 'str'
|
22
|
+
}
|
23
|
+
|
24
|
+
attribute_map = {
|
25
|
+
'key': 'key',
|
26
|
+
'value': 'value'
|
27
|
+
}
|
28
|
+
|
29
|
+
def __init__(self, key=None, value=None):
|
30
|
+
r"""BindRulesTags
|
31
|
+
|
32
|
+
The model defined in huaweicloud sdk
|
33
|
+
|
34
|
+
:param key: key不能包含非打印字符ASCII(0-31),“=”,“*”,“<”,“>”,“\\\\”,“,”,“|”,“/”。 [key只能由中文,字母,数字,“-”,“_”组成。](tag:hws,hws_hk,fcs_vm,ctc) [key只能由字母,数字,“_”,“-”组成。](tag:dt,ocb,tlf,sbc,g42,hcso_dt)
|
35
|
+
:type key: str
|
36
|
+
:param value: value不能包含非打印字符ASCII(0-31),“=”,“*”,“<”,“>”,“\\”,“,”,“|”,“/”。 [value只能由中文,字母,数字,“-”,“_”,“.”组成。](tag:hws,hws_hk,fcs_vm,ctc) [value只能由字母,数字,“_”,“-”组成。](tag:dt,ocb,tlf,sbc,g42,hcso_dt)
|
37
|
+
:type value: str
|
38
|
+
"""
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
self._key = None
|
43
|
+
self._value = None
|
44
|
+
self.discriminator = None
|
45
|
+
|
46
|
+
self.key = key
|
47
|
+
self.value = value
|
48
|
+
|
49
|
+
@property
|
50
|
+
def key(self):
|
51
|
+
r"""Gets the key of this BindRulesTags.
|
52
|
+
|
53
|
+
key不能包含非打印字符ASCII(0-31),“=”,“*”,“<”,“>”,“\\\\”,“,”,“|”,“/”。 [key只能由中文,字母,数字,“-”,“_”组成。](tag:hws,hws_hk,fcs_vm,ctc) [key只能由字母,数字,“_”,“-”组成。](tag:dt,ocb,tlf,sbc,g42,hcso_dt)
|
54
|
+
|
55
|
+
:return: The key of this BindRulesTags.
|
56
|
+
:rtype: str
|
57
|
+
"""
|
58
|
+
return self._key
|
59
|
+
|
60
|
+
@key.setter
|
61
|
+
def key(self, key):
|
62
|
+
r"""Sets the key of this BindRulesTags.
|
63
|
+
|
64
|
+
key不能包含非打印字符ASCII(0-31),“=”,“*”,“<”,“>”,“\\\\”,“,”,“|”,“/”。 [key只能由中文,字母,数字,“-”,“_”组成。](tag:hws,hws_hk,fcs_vm,ctc) [key只能由字母,数字,“_”,“-”组成。](tag:dt,ocb,tlf,sbc,g42,hcso_dt)
|
65
|
+
|
66
|
+
:param key: The key of this BindRulesTags.
|
67
|
+
:type key: str
|
68
|
+
"""
|
69
|
+
self._key = key
|
70
|
+
|
71
|
+
@property
|
72
|
+
def value(self):
|
73
|
+
r"""Gets the value of this BindRulesTags.
|
74
|
+
|
75
|
+
value不能包含非打印字符ASCII(0-31),“=”,“*”,“<”,“>”,“\\”,“,”,“|”,“/”。 [value只能由中文,字母,数字,“-”,“_”,“.”组成。](tag:hws,hws_hk,fcs_vm,ctc) [value只能由字母,数字,“_”,“-”组成。](tag:dt,ocb,tlf,sbc,g42,hcso_dt)
|
76
|
+
|
77
|
+
:return: The value of this BindRulesTags.
|
78
|
+
:rtype: str
|
79
|
+
"""
|
80
|
+
return self._value
|
81
|
+
|
82
|
+
@value.setter
|
83
|
+
def value(self, value):
|
84
|
+
r"""Sets the value of this BindRulesTags.
|
85
|
+
|
86
|
+
value不能包含非打印字符ASCII(0-31),“=”,“*”,“<”,“>”,“\\”,“,”,“|”,“/”。 [value只能由中文,字母,数字,“-”,“_”,“.”组成。](tag:hws,hws_hk,fcs_vm,ctc) [value只能由字母,数字,“_”,“-”组成。](tag:dt,ocb,tlf,sbc,g42,hcso_dt)
|
87
|
+
|
88
|
+
:param value: The value of this BindRulesTags.
|
89
|
+
:type value: str
|
90
|
+
"""
|
91
|
+
self._value = value
|
92
|
+
|
93
|
+
def to_dict(self):
|
94
|
+
"""Returns the model properties as a dict"""
|
95
|
+
result = {}
|
96
|
+
|
97
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
98
|
+
value = getattr(self, attr)
|
99
|
+
if isinstance(value, list):
|
100
|
+
result[attr] = list(map(
|
101
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
102
|
+
value
|
103
|
+
))
|
104
|
+
elif hasattr(value, "to_dict"):
|
105
|
+
result[attr] = value.to_dict()
|
106
|
+
elif isinstance(value, dict):
|
107
|
+
result[attr] = dict(map(
|
108
|
+
lambda item: (item[0], item[1].to_dict())
|
109
|
+
if hasattr(item[1], "to_dict") else item,
|
110
|
+
value.items()
|
111
|
+
))
|
112
|
+
else:
|
113
|
+
if attr in self.sensitive_list:
|
114
|
+
result[attr] = "****"
|
115
|
+
else:
|
116
|
+
result[attr] = value
|
117
|
+
|
118
|
+
return result
|
119
|
+
|
120
|
+
def to_str(self):
|
121
|
+
"""Returns the string representation of the model"""
|
122
|
+
import simplejson as json
|
123
|
+
if six.PY2:
|
124
|
+
import sys
|
125
|
+
reload(sys)
|
126
|
+
sys.setdefaultencoding("utf-8")
|
127
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
128
|
+
|
129
|
+
def __repr__(self):
|
130
|
+
"""For `print`"""
|
131
|
+
return self.to_str()
|
132
|
+
|
133
|
+
def __eq__(self, other):
|
134
|
+
"""Returns true if both objects are equal"""
|
135
|
+
if not isinstance(other, BindRulesTags):
|
136
|
+
return False
|
137
|
+
|
138
|
+
return self.__dict__ == other.__dict__
|
139
|
+
|
140
|
+
def __ne__(self, other):
|
141
|
+
"""Returns true if both objects are not equal"""
|
142
|
+
return not self == other
|