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
@@ -0,0 +1,172 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class ListOrganizationPoliciesRequest:
|
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
|
+
'operation_type': 'str',
|
21
|
+
'limit': 'int',
|
22
|
+
'offset': 'int'
|
23
|
+
}
|
24
|
+
|
25
|
+
attribute_map = {
|
26
|
+
'operation_type': 'operation_type',
|
27
|
+
'limit': 'limit',
|
28
|
+
'offset': 'offset'
|
29
|
+
}
|
30
|
+
|
31
|
+
def __init__(self, operation_type=None, limit=None, offset=None):
|
32
|
+
r"""ListOrganizationPoliciesRequest
|
33
|
+
|
34
|
+
The model defined in huaweicloud sdk
|
35
|
+
|
36
|
+
:param operation_type: 组织策略类型
|
37
|
+
:type operation_type: str
|
38
|
+
:param limit: 每页显示的条目数量,正整数
|
39
|
+
:type limit: int
|
40
|
+
:param offset: 偏移值,正整数
|
41
|
+
:type offset: int
|
42
|
+
"""
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
self._operation_type = None
|
47
|
+
self._limit = None
|
48
|
+
self._offset = None
|
49
|
+
self.discriminator = None
|
50
|
+
|
51
|
+
self.operation_type = operation_type
|
52
|
+
if limit is not None:
|
53
|
+
self.limit = limit
|
54
|
+
if offset is not None:
|
55
|
+
self.offset = offset
|
56
|
+
|
57
|
+
@property
|
58
|
+
def operation_type(self):
|
59
|
+
r"""Gets the operation_type of this ListOrganizationPoliciesRequest.
|
60
|
+
|
61
|
+
组织策略类型
|
62
|
+
|
63
|
+
:return: The operation_type of this ListOrganizationPoliciesRequest.
|
64
|
+
:rtype: str
|
65
|
+
"""
|
66
|
+
return self._operation_type
|
67
|
+
|
68
|
+
@operation_type.setter
|
69
|
+
def operation_type(self, operation_type):
|
70
|
+
r"""Sets the operation_type of this ListOrganizationPoliciesRequest.
|
71
|
+
|
72
|
+
组织策略类型
|
73
|
+
|
74
|
+
:param operation_type: The operation_type of this ListOrganizationPoliciesRequest.
|
75
|
+
:type operation_type: str
|
76
|
+
"""
|
77
|
+
self._operation_type = operation_type
|
78
|
+
|
79
|
+
@property
|
80
|
+
def limit(self):
|
81
|
+
r"""Gets the limit of this ListOrganizationPoliciesRequest.
|
82
|
+
|
83
|
+
每页显示的条目数量,正整数
|
84
|
+
|
85
|
+
:return: The limit of this ListOrganizationPoliciesRequest.
|
86
|
+
:rtype: int
|
87
|
+
"""
|
88
|
+
return self._limit
|
89
|
+
|
90
|
+
@limit.setter
|
91
|
+
def limit(self, limit):
|
92
|
+
r"""Sets the limit of this ListOrganizationPoliciesRequest.
|
93
|
+
|
94
|
+
每页显示的条目数量,正整数
|
95
|
+
|
96
|
+
:param limit: The limit of this ListOrganizationPoliciesRequest.
|
97
|
+
:type limit: int
|
98
|
+
"""
|
99
|
+
self._limit = limit
|
100
|
+
|
101
|
+
@property
|
102
|
+
def offset(self):
|
103
|
+
r"""Gets the offset of this ListOrganizationPoliciesRequest.
|
104
|
+
|
105
|
+
偏移值,正整数
|
106
|
+
|
107
|
+
:return: The offset of this ListOrganizationPoliciesRequest.
|
108
|
+
:rtype: int
|
109
|
+
"""
|
110
|
+
return self._offset
|
111
|
+
|
112
|
+
@offset.setter
|
113
|
+
def offset(self, offset):
|
114
|
+
r"""Sets the offset of this ListOrganizationPoliciesRequest.
|
115
|
+
|
116
|
+
偏移值,正整数
|
117
|
+
|
118
|
+
:param offset: The offset of this ListOrganizationPoliciesRequest.
|
119
|
+
:type offset: int
|
120
|
+
"""
|
121
|
+
self._offset = offset
|
122
|
+
|
123
|
+
def to_dict(self):
|
124
|
+
"""Returns the model properties as a dict"""
|
125
|
+
result = {}
|
126
|
+
|
127
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
128
|
+
value = getattr(self, attr)
|
129
|
+
if isinstance(value, list):
|
130
|
+
result[attr] = list(map(
|
131
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
132
|
+
value
|
133
|
+
))
|
134
|
+
elif hasattr(value, "to_dict"):
|
135
|
+
result[attr] = value.to_dict()
|
136
|
+
elif isinstance(value, dict):
|
137
|
+
result[attr] = dict(map(
|
138
|
+
lambda item: (item[0], item[1].to_dict())
|
139
|
+
if hasattr(item[1], "to_dict") else item,
|
140
|
+
value.items()
|
141
|
+
))
|
142
|
+
else:
|
143
|
+
if attr in self.sensitive_list:
|
144
|
+
result[attr] = "****"
|
145
|
+
else:
|
146
|
+
result[attr] = value
|
147
|
+
|
148
|
+
return result
|
149
|
+
|
150
|
+
def to_str(self):
|
151
|
+
"""Returns the string representation of the model"""
|
152
|
+
import simplejson as json
|
153
|
+
if six.PY2:
|
154
|
+
import sys
|
155
|
+
reload(sys)
|
156
|
+
sys.setdefaultencoding("utf-8")
|
157
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
158
|
+
|
159
|
+
def __repr__(self):
|
160
|
+
"""For `print`"""
|
161
|
+
return self.to_str()
|
162
|
+
|
163
|
+
def __eq__(self, other):
|
164
|
+
"""Returns true if both objects are equal"""
|
165
|
+
if not isinstance(other, ListOrganizationPoliciesRequest):
|
166
|
+
return False
|
167
|
+
|
168
|
+
return self.__dict__ == other.__dict__
|
169
|
+
|
170
|
+
def __ne__(self, other):
|
171
|
+
"""Returns true if both objects are not equal"""
|
172
|
+
return not self == other
|
@@ -0,0 +1,203 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.sdk_response import SdkResponse
|
6
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
7
|
+
|
8
|
+
|
9
|
+
class ListOrganizationPoliciesResponse(SdkResponse):
|
10
|
+
|
11
|
+
"""
|
12
|
+
Attributes:
|
13
|
+
openapi_types (dict): The key is attribute name
|
14
|
+
and the value is attribute type.
|
15
|
+
attribute_map (dict): The key is attribute name
|
16
|
+
and the value is json key in definition.
|
17
|
+
"""
|
18
|
+
sensitive_list = []
|
19
|
+
|
20
|
+
openapi_types = {
|
21
|
+
'policies': 'list[OrganizationPolicy]',
|
22
|
+
'count': 'int',
|
23
|
+
'limit': 'int',
|
24
|
+
'offset': 'int'
|
25
|
+
}
|
26
|
+
|
27
|
+
attribute_map = {
|
28
|
+
'policies': 'policies',
|
29
|
+
'count': 'count',
|
30
|
+
'limit': 'limit',
|
31
|
+
'offset': 'offset'
|
32
|
+
}
|
33
|
+
|
34
|
+
def __init__(self, policies=None, count=None, limit=None, offset=None):
|
35
|
+
r"""ListOrganizationPoliciesResponse
|
36
|
+
|
37
|
+
The model defined in huaweicloud sdk
|
38
|
+
|
39
|
+
:param policies: 组织策略列表
|
40
|
+
:type policies: list[:class:`huaweicloudsdkcbr.v1.OrganizationPolicy`]
|
41
|
+
:param count: 组织策略数量
|
42
|
+
:type count: int
|
43
|
+
:param limit: 每页显示的条目数量
|
44
|
+
:type limit: int
|
45
|
+
:param offset: 偏移量,表示从此偏移量开始查询
|
46
|
+
:type offset: int
|
47
|
+
"""
|
48
|
+
|
49
|
+
super(ListOrganizationPoliciesResponse, self).__init__()
|
50
|
+
|
51
|
+
self._policies = None
|
52
|
+
self._count = None
|
53
|
+
self._limit = None
|
54
|
+
self._offset = None
|
55
|
+
self.discriminator = None
|
56
|
+
|
57
|
+
if policies is not None:
|
58
|
+
self.policies = policies
|
59
|
+
if count is not None:
|
60
|
+
self.count = count
|
61
|
+
if limit is not None:
|
62
|
+
self.limit = limit
|
63
|
+
if offset is not None:
|
64
|
+
self.offset = offset
|
65
|
+
|
66
|
+
@property
|
67
|
+
def policies(self):
|
68
|
+
r"""Gets the policies of this ListOrganizationPoliciesResponse.
|
69
|
+
|
70
|
+
组织策略列表
|
71
|
+
|
72
|
+
:return: The policies of this ListOrganizationPoliciesResponse.
|
73
|
+
:rtype: list[:class:`huaweicloudsdkcbr.v1.OrganizationPolicy`]
|
74
|
+
"""
|
75
|
+
return self._policies
|
76
|
+
|
77
|
+
@policies.setter
|
78
|
+
def policies(self, policies):
|
79
|
+
r"""Sets the policies of this ListOrganizationPoliciesResponse.
|
80
|
+
|
81
|
+
组织策略列表
|
82
|
+
|
83
|
+
:param policies: The policies of this ListOrganizationPoliciesResponse.
|
84
|
+
:type policies: list[:class:`huaweicloudsdkcbr.v1.OrganizationPolicy`]
|
85
|
+
"""
|
86
|
+
self._policies = policies
|
87
|
+
|
88
|
+
@property
|
89
|
+
def count(self):
|
90
|
+
r"""Gets the count of this ListOrganizationPoliciesResponse.
|
91
|
+
|
92
|
+
组织策略数量
|
93
|
+
|
94
|
+
:return: The count of this ListOrganizationPoliciesResponse.
|
95
|
+
:rtype: int
|
96
|
+
"""
|
97
|
+
return self._count
|
98
|
+
|
99
|
+
@count.setter
|
100
|
+
def count(self, count):
|
101
|
+
r"""Sets the count of this ListOrganizationPoliciesResponse.
|
102
|
+
|
103
|
+
组织策略数量
|
104
|
+
|
105
|
+
:param count: The count of this ListOrganizationPoliciesResponse.
|
106
|
+
:type count: int
|
107
|
+
"""
|
108
|
+
self._count = count
|
109
|
+
|
110
|
+
@property
|
111
|
+
def limit(self):
|
112
|
+
r"""Gets the limit of this ListOrganizationPoliciesResponse.
|
113
|
+
|
114
|
+
每页显示的条目数量
|
115
|
+
|
116
|
+
:return: The limit of this ListOrganizationPoliciesResponse.
|
117
|
+
:rtype: int
|
118
|
+
"""
|
119
|
+
return self._limit
|
120
|
+
|
121
|
+
@limit.setter
|
122
|
+
def limit(self, limit):
|
123
|
+
r"""Sets the limit of this ListOrganizationPoliciesResponse.
|
124
|
+
|
125
|
+
每页显示的条目数量
|
126
|
+
|
127
|
+
:param limit: The limit of this ListOrganizationPoliciesResponse.
|
128
|
+
:type limit: int
|
129
|
+
"""
|
130
|
+
self._limit = limit
|
131
|
+
|
132
|
+
@property
|
133
|
+
def offset(self):
|
134
|
+
r"""Gets the offset of this ListOrganizationPoliciesResponse.
|
135
|
+
|
136
|
+
偏移量,表示从此偏移量开始查询
|
137
|
+
|
138
|
+
:return: The offset of this ListOrganizationPoliciesResponse.
|
139
|
+
:rtype: int
|
140
|
+
"""
|
141
|
+
return self._offset
|
142
|
+
|
143
|
+
@offset.setter
|
144
|
+
def offset(self, offset):
|
145
|
+
r"""Sets the offset of this ListOrganizationPoliciesResponse.
|
146
|
+
|
147
|
+
偏移量,表示从此偏移量开始查询
|
148
|
+
|
149
|
+
:param offset: The offset of this ListOrganizationPoliciesResponse.
|
150
|
+
:type offset: int
|
151
|
+
"""
|
152
|
+
self._offset = offset
|
153
|
+
|
154
|
+
def to_dict(self):
|
155
|
+
"""Returns the model properties as a dict"""
|
156
|
+
result = {}
|
157
|
+
|
158
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
159
|
+
value = getattr(self, attr)
|
160
|
+
if isinstance(value, list):
|
161
|
+
result[attr] = list(map(
|
162
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
163
|
+
value
|
164
|
+
))
|
165
|
+
elif hasattr(value, "to_dict"):
|
166
|
+
result[attr] = value.to_dict()
|
167
|
+
elif isinstance(value, dict):
|
168
|
+
result[attr] = dict(map(
|
169
|
+
lambda item: (item[0], item[1].to_dict())
|
170
|
+
if hasattr(item[1], "to_dict") else item,
|
171
|
+
value.items()
|
172
|
+
))
|
173
|
+
else:
|
174
|
+
if attr in self.sensitive_list:
|
175
|
+
result[attr] = "****"
|
176
|
+
else:
|
177
|
+
result[attr] = value
|
178
|
+
|
179
|
+
return result
|
180
|
+
|
181
|
+
def to_str(self):
|
182
|
+
"""Returns the string representation of the model"""
|
183
|
+
import simplejson as json
|
184
|
+
if six.PY2:
|
185
|
+
import sys
|
186
|
+
reload(sys)
|
187
|
+
sys.setdefaultencoding("utf-8")
|
188
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
189
|
+
|
190
|
+
def __repr__(self):
|
191
|
+
"""For `print`"""
|
192
|
+
return self.to_str()
|
193
|
+
|
194
|
+
def __eq__(self, other):
|
195
|
+
"""Returns true if both objects are equal"""
|
196
|
+
if not isinstance(other, ListOrganizationPoliciesResponse):
|
197
|
+
return False
|
198
|
+
|
199
|
+
return self.__dict__ == other.__dict__
|
200
|
+
|
201
|
+
def __ne__(self, other):
|
202
|
+
"""Returns true if both objects are not equal"""
|
203
|
+
return not self == other
|
@@ -0,0 +1,114 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class ListOrganizationPolicyDetailRequest:
|
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
|
+
'organization_policy_id': 'str'
|
21
|
+
}
|
22
|
+
|
23
|
+
attribute_map = {
|
24
|
+
'organization_policy_id': 'organization_policy_id'
|
25
|
+
}
|
26
|
+
|
27
|
+
def __init__(self, organization_policy_id=None):
|
28
|
+
r"""ListOrganizationPolicyDetailRequest
|
29
|
+
|
30
|
+
The model defined in huaweicloud sdk
|
31
|
+
|
32
|
+
:param organization_policy_id: 组织策略ID
|
33
|
+
:type organization_policy_id: str
|
34
|
+
"""
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
self._organization_policy_id = None
|
39
|
+
self.discriminator = None
|
40
|
+
|
41
|
+
self.organization_policy_id = organization_policy_id
|
42
|
+
|
43
|
+
@property
|
44
|
+
def organization_policy_id(self):
|
45
|
+
r"""Gets the organization_policy_id of this ListOrganizationPolicyDetailRequest.
|
46
|
+
|
47
|
+
组织策略ID
|
48
|
+
|
49
|
+
:return: The organization_policy_id of this ListOrganizationPolicyDetailRequest.
|
50
|
+
:rtype: str
|
51
|
+
"""
|
52
|
+
return self._organization_policy_id
|
53
|
+
|
54
|
+
@organization_policy_id.setter
|
55
|
+
def organization_policy_id(self, organization_policy_id):
|
56
|
+
r"""Sets the organization_policy_id of this ListOrganizationPolicyDetailRequest.
|
57
|
+
|
58
|
+
组织策略ID
|
59
|
+
|
60
|
+
:param organization_policy_id: The organization_policy_id of this ListOrganizationPolicyDetailRequest.
|
61
|
+
:type organization_policy_id: str
|
62
|
+
"""
|
63
|
+
self._organization_policy_id = organization_policy_id
|
64
|
+
|
65
|
+
def to_dict(self):
|
66
|
+
"""Returns the model properties as a dict"""
|
67
|
+
result = {}
|
68
|
+
|
69
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
70
|
+
value = getattr(self, attr)
|
71
|
+
if isinstance(value, list):
|
72
|
+
result[attr] = list(map(
|
73
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
74
|
+
value
|
75
|
+
))
|
76
|
+
elif hasattr(value, "to_dict"):
|
77
|
+
result[attr] = value.to_dict()
|
78
|
+
elif isinstance(value, dict):
|
79
|
+
result[attr] = dict(map(
|
80
|
+
lambda item: (item[0], item[1].to_dict())
|
81
|
+
if hasattr(item[1], "to_dict") else item,
|
82
|
+
value.items()
|
83
|
+
))
|
84
|
+
else:
|
85
|
+
if attr in self.sensitive_list:
|
86
|
+
result[attr] = "****"
|
87
|
+
else:
|
88
|
+
result[attr] = value
|
89
|
+
|
90
|
+
return result
|
91
|
+
|
92
|
+
def to_str(self):
|
93
|
+
"""Returns the string representation of the model"""
|
94
|
+
import simplejson as json
|
95
|
+
if six.PY2:
|
96
|
+
import sys
|
97
|
+
reload(sys)
|
98
|
+
sys.setdefaultencoding("utf-8")
|
99
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
100
|
+
|
101
|
+
def __repr__(self):
|
102
|
+
"""For `print`"""
|
103
|
+
return self.to_str()
|
104
|
+
|
105
|
+
def __eq__(self, other):
|
106
|
+
"""Returns true if both objects are equal"""
|
107
|
+
if not isinstance(other, ListOrganizationPolicyDetailRequest):
|
108
|
+
return False
|
109
|
+
|
110
|
+
return self.__dict__ == other.__dict__
|
111
|
+
|
112
|
+
def __ne__(self, other):
|
113
|
+
"""Returns true if both objects are not equal"""
|
114
|
+
return not self == other
|
@@ -0,0 +1,203 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.sdk_response import SdkResponse
|
6
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
7
|
+
|
8
|
+
|
9
|
+
class ListOrganizationPolicyDetailResponse(SdkResponse):
|
10
|
+
|
11
|
+
"""
|
12
|
+
Attributes:
|
13
|
+
openapi_types (dict): The key is attribute name
|
14
|
+
and the value is attribute type.
|
15
|
+
attribute_map (dict): The key is attribute name
|
16
|
+
and the value is json key in definition.
|
17
|
+
"""
|
18
|
+
sensitive_list = []
|
19
|
+
|
20
|
+
openapi_types = {
|
21
|
+
'policies': 'list[OrganizationPolicyStatus]',
|
22
|
+
'count': 'int',
|
23
|
+
'limit': 'int',
|
24
|
+
'offset': 'int'
|
25
|
+
}
|
26
|
+
|
27
|
+
attribute_map = {
|
28
|
+
'policies': 'policies',
|
29
|
+
'count': 'count',
|
30
|
+
'limit': 'limit',
|
31
|
+
'offset': 'offset'
|
32
|
+
}
|
33
|
+
|
34
|
+
def __init__(self, policies=None, count=None, limit=None, offset=None):
|
35
|
+
r"""ListOrganizationPolicyDetailResponse
|
36
|
+
|
37
|
+
The model defined in huaweicloud sdk
|
38
|
+
|
39
|
+
:param policies: 组织策略部署状态列表
|
40
|
+
:type policies: list[:class:`huaweicloudsdkcbr.v1.OrganizationPolicyStatus`]
|
41
|
+
:param count: 组织策略状态成员数量
|
42
|
+
:type count: int
|
43
|
+
:param limit: 每页显示的条目数量
|
44
|
+
:type limit: int
|
45
|
+
:param offset: 偏移量,表示从此偏移量开始查询
|
46
|
+
:type offset: int
|
47
|
+
"""
|
48
|
+
|
49
|
+
super(ListOrganizationPolicyDetailResponse, self).__init__()
|
50
|
+
|
51
|
+
self._policies = None
|
52
|
+
self._count = None
|
53
|
+
self._limit = None
|
54
|
+
self._offset = None
|
55
|
+
self.discriminator = None
|
56
|
+
|
57
|
+
if policies is not None:
|
58
|
+
self.policies = policies
|
59
|
+
if count is not None:
|
60
|
+
self.count = count
|
61
|
+
if limit is not None:
|
62
|
+
self.limit = limit
|
63
|
+
if offset is not None:
|
64
|
+
self.offset = offset
|
65
|
+
|
66
|
+
@property
|
67
|
+
def policies(self):
|
68
|
+
r"""Gets the policies of this ListOrganizationPolicyDetailResponse.
|
69
|
+
|
70
|
+
组织策略部署状态列表
|
71
|
+
|
72
|
+
:return: The policies of this ListOrganizationPolicyDetailResponse.
|
73
|
+
:rtype: list[:class:`huaweicloudsdkcbr.v1.OrganizationPolicyStatus`]
|
74
|
+
"""
|
75
|
+
return self._policies
|
76
|
+
|
77
|
+
@policies.setter
|
78
|
+
def policies(self, policies):
|
79
|
+
r"""Sets the policies of this ListOrganizationPolicyDetailResponse.
|
80
|
+
|
81
|
+
组织策略部署状态列表
|
82
|
+
|
83
|
+
:param policies: The policies of this ListOrganizationPolicyDetailResponse.
|
84
|
+
:type policies: list[:class:`huaweicloudsdkcbr.v1.OrganizationPolicyStatus`]
|
85
|
+
"""
|
86
|
+
self._policies = policies
|
87
|
+
|
88
|
+
@property
|
89
|
+
def count(self):
|
90
|
+
r"""Gets the count of this ListOrganizationPolicyDetailResponse.
|
91
|
+
|
92
|
+
组织策略状态成员数量
|
93
|
+
|
94
|
+
:return: The count of this ListOrganizationPolicyDetailResponse.
|
95
|
+
:rtype: int
|
96
|
+
"""
|
97
|
+
return self._count
|
98
|
+
|
99
|
+
@count.setter
|
100
|
+
def count(self, count):
|
101
|
+
r"""Sets the count of this ListOrganizationPolicyDetailResponse.
|
102
|
+
|
103
|
+
组织策略状态成员数量
|
104
|
+
|
105
|
+
:param count: The count of this ListOrganizationPolicyDetailResponse.
|
106
|
+
:type count: int
|
107
|
+
"""
|
108
|
+
self._count = count
|
109
|
+
|
110
|
+
@property
|
111
|
+
def limit(self):
|
112
|
+
r"""Gets the limit of this ListOrganizationPolicyDetailResponse.
|
113
|
+
|
114
|
+
每页显示的条目数量
|
115
|
+
|
116
|
+
:return: The limit of this ListOrganizationPolicyDetailResponse.
|
117
|
+
:rtype: int
|
118
|
+
"""
|
119
|
+
return self._limit
|
120
|
+
|
121
|
+
@limit.setter
|
122
|
+
def limit(self, limit):
|
123
|
+
r"""Sets the limit of this ListOrganizationPolicyDetailResponse.
|
124
|
+
|
125
|
+
每页显示的条目数量
|
126
|
+
|
127
|
+
:param limit: The limit of this ListOrganizationPolicyDetailResponse.
|
128
|
+
:type limit: int
|
129
|
+
"""
|
130
|
+
self._limit = limit
|
131
|
+
|
132
|
+
@property
|
133
|
+
def offset(self):
|
134
|
+
r"""Gets the offset of this ListOrganizationPolicyDetailResponse.
|
135
|
+
|
136
|
+
偏移量,表示从此偏移量开始查询
|
137
|
+
|
138
|
+
:return: The offset of this ListOrganizationPolicyDetailResponse.
|
139
|
+
:rtype: int
|
140
|
+
"""
|
141
|
+
return self._offset
|
142
|
+
|
143
|
+
@offset.setter
|
144
|
+
def offset(self, offset):
|
145
|
+
r"""Sets the offset of this ListOrganizationPolicyDetailResponse.
|
146
|
+
|
147
|
+
偏移量,表示从此偏移量开始查询
|
148
|
+
|
149
|
+
:param offset: The offset of this ListOrganizationPolicyDetailResponse.
|
150
|
+
:type offset: int
|
151
|
+
"""
|
152
|
+
self._offset = offset
|
153
|
+
|
154
|
+
def to_dict(self):
|
155
|
+
"""Returns the model properties as a dict"""
|
156
|
+
result = {}
|
157
|
+
|
158
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
159
|
+
value = getattr(self, attr)
|
160
|
+
if isinstance(value, list):
|
161
|
+
result[attr] = list(map(
|
162
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
163
|
+
value
|
164
|
+
))
|
165
|
+
elif hasattr(value, "to_dict"):
|
166
|
+
result[attr] = value.to_dict()
|
167
|
+
elif isinstance(value, dict):
|
168
|
+
result[attr] = dict(map(
|
169
|
+
lambda item: (item[0], item[1].to_dict())
|
170
|
+
if hasattr(item[1], "to_dict") else item,
|
171
|
+
value.items()
|
172
|
+
))
|
173
|
+
else:
|
174
|
+
if attr in self.sensitive_list:
|
175
|
+
result[attr] = "****"
|
176
|
+
else:
|
177
|
+
result[attr] = value
|
178
|
+
|
179
|
+
return result
|
180
|
+
|
181
|
+
def to_str(self):
|
182
|
+
"""Returns the string representation of the model"""
|
183
|
+
import simplejson as json
|
184
|
+
if six.PY2:
|
185
|
+
import sys
|
186
|
+
reload(sys)
|
187
|
+
sys.setdefaultencoding("utf-8")
|
188
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
189
|
+
|
190
|
+
def __repr__(self):
|
191
|
+
"""For `print`"""
|
192
|
+
return self.to_str()
|
193
|
+
|
194
|
+
def __eq__(self, other):
|
195
|
+
"""Returns true if both objects are equal"""
|
196
|
+
if not isinstance(other, ListOrganizationPolicyDetailResponse):
|
197
|
+
return False
|
198
|
+
|
199
|
+
return self.__dict__ == other.__dict__
|
200
|
+
|
201
|
+
def __ne__(self, other):
|
202
|
+
"""Returns true if both objects are not equal"""
|
203
|
+
return not self == other
|