From 005c9666deda1114284ca582082a6512217e78ef Mon Sep 17 00:00:00 2001 From: Huaweicloud-SDK Date: Thu, 14 Mar 2024 19:13:03 +0800 Subject: [PATCH] release 3.1.86 source code --- CHANGELOG.md | 643 +++++++ CHANGELOG_CN.md | 643 +++++++ VERSION | 2 +- huaweicloud-sdk-aad/requirements.txt | 2 +- huaweicloud-sdk-aad/setup.py | 4 +- huaweicloud-sdk-all/requirements.txt | 324 ++-- huaweicloud-sdk-all/setup.py | 326 ++-- huaweicloud-sdk-antiddos/requirements.txt | 2 +- huaweicloud-sdk-antiddos/setup.py | 4 +- huaweicloud-sdk-aom/requirements.txt | 2 +- huaweicloud-sdk-aom/setup.py | 4 +- huaweicloud-sdk-aos/requirements.txt | 2 +- huaweicloud-sdk-aos/setup.py | 4 +- huaweicloud-sdk-apig/requirements.txt | 2 +- huaweicloud-sdk-apig/setup.py | 4 +- huaweicloud-sdk-apm/requirements.txt | 2 +- huaweicloud-sdk-apm/setup.py | 4 +- huaweicloud-sdk-as/requirements.txt | 2 +- huaweicloud-sdk-as/setup.py | 4 +- huaweicloud-sdk-asm/requirements.txt | 2 +- huaweicloud-sdk-asm/setup.py | 4 +- huaweicloud-sdk-bcs/requirements.txt | 2 +- huaweicloud-sdk-bcs/setup.py | 4 +- huaweicloud-sdk-bms/requirements.txt | 2 +- huaweicloud-sdk-bms/setup.py | 4 +- huaweicloud-sdk-bss/requirements.txt | 2 +- huaweicloud-sdk-bss/setup.py | 4 +- huaweicloud-sdk-bssintl/requirements.txt | 2 +- huaweicloud-sdk-bssintl/setup.py | 4 +- .../v1/model/access_configuration_port.py | 16 +- huaweicloud-sdk-cae/requirements.txt | 2 +- huaweicloud-sdk-cae/setup.py | 4 +- huaweicloud-sdk-campusgo/requirements.txt | 2 +- huaweicloud-sdk-campusgo/setup.py | 4 +- huaweicloud-sdk-cbh/requirements.txt | 2 +- huaweicloud-sdk-cbh/setup.py | 4 +- huaweicloud-sdk-cbr/requirements.txt | 2 +- huaweicloud-sdk-cbr/setup.py | 4 +- huaweicloud-sdk-cbs/requirements.txt | 2 +- huaweicloud-sdk-cbs/setup.py | 4 +- huaweicloud-sdk-cc/requirements.txt | 2 +- huaweicloud-sdk-cc/setup.py | 4 +- .../huaweicloudsdkcce/v3/region/cce_region.py | 6 + huaweicloud-sdk-cce/requirements.txt | 2 +- huaweicloud-sdk-cce/setup.py | 4 +- huaweicloud-sdk-ccm/requirements.txt | 2 +- huaweicloud-sdk-ccm/setup.py | 4 +- huaweicloud-sdk-cdm/requirements.txt | 2 +- huaweicloud-sdk-cdm/setup.py | 4 +- .../huaweicloudsdkcdn/v1/cdn_async_client.py | 68 +- .../huaweicloudsdkcdn/v1/cdn_client.py | 68 +- .../v1/model/batch_delete_tags_response.py | 29 +- .../v1/model/create_domain_response.py | 31 +- .../model/create_preheating_tasks_response.py | 31 +- .../v1/model/create_refresh_tasks_response.py | 31 +- .../v1/model/create_tags_response.py | 29 +- .../v1/model/delete_domain_response.py | 31 +- .../v1/model/disable_domain_response.py | 31 +- .../v1/model/enable_domain_response.py | 31 +- .../v1/model/list_domains_response.py | 31 +- .../model/show_black_white_list_response.py | 31 +- .../v1/model/show_cache_rules_response.py | 31 +- .../show_certificates_https_info_response.py | 31 +- .../v1/model/show_domain_detail_response.py | 31 +- .../model/show_domain_full_config_response.py | 31 +- .../show_history_task_details_response.py | 31 +- .../v1/model/show_history_tasks_response.py | 31 +- .../v1/model/show_http_info_response.py | 31 +- .../v1/model/show_ip_info_response.py | 31 +- .../v1/model/show_origin_host_response.py | 31 +- .../v1/model/show_refer_response.py | 31 +- .../v1/model/show_response_header_response.py | 31 +- .../v1/model/show_tags_response.py | 31 +- .../model/update_black_white_list_response.py | 31 +- .../v1/model/update_cache_rules_response.py | 31 +- .../update_domain_full_config_response.py | 29 +- ...date_domain_multi_certificates_response.py | 31 +- .../v1/model/update_domain_origin_response.py | 31 +- .../model/update_follow302_switch_response.py | 31 +- .../v1/model/update_https_info_response.py | 31 +- .../v1/model/update_origin_host_response.py | 31 +- .../update_private_bucket_access_response.py | 31 +- .../v1/model/update_range_switch_response.py | 31 +- .../v1/model/update_refer_response.py | 31 +- .../model/update_response_header_response.py | 31 +- .../huaweicloudsdkcdn/v2/cdn_async_client.py | 44 +- .../huaweicloudsdkcdn/v2/cdn_client.py | 44 +- .../v2/model/batch_copy_domain_response.py | 31 +- .../v2/model/batch_delete_tags_response.py | 29 +- .../v2/model/create_domain_response.py | 31 +- .../model/create_preheating_tasks_response.py | 31 +- .../v2/model/create_refresh_tasks_response.py | 31 +- .../v2/model/create_tags_response.py | 29 +- .../v2/model/delete_domain_response.py | 31 +- .../v2/model/disable_domain_response.py | 31 +- .../v2/model/enable_domain_response.py | 31 +- .../v2/model/list_domains_response.py | 31 +- .../show_certificates_https_info_response.py | 31 +- .../show_domain_detail_by_name_response.py | 31 +- .../model/show_domain_full_config_response.py | 31 +- .../show_history_task_details_response.py | 31 +- .../v2/model/show_history_tasks_response.py | 31 +- .../v2/model/show_ip_info_response.py | 31 +- .../v2/model/show_tags_response.py | 31 +- .../show_verify_domain_owner_info_response.py | 31 +- .../update_domain_full_config_response.py | 29 +- ...date_domain_multi_certificates_response.py | 31 +- .../update_private_bucket_access_response.py | 31 +- .../v2/model/verify_domain_owner_response.py | 31 +- huaweicloud-sdk-cdn/requirements.txt | 2 +- huaweicloud-sdk-cdn/setup.py | 4 +- huaweicloud-sdk-ces/requirements.txt | 2 +- huaweicloud-sdk-ces/setup.py | 4 +- huaweicloud-sdk-cfw/requirements.txt | 2 +- huaweicloud-sdk-cfw/setup.py | 4 +- huaweicloud-sdk-cgs/requirements.txt | 2 +- huaweicloud-sdk-cgs/setup.py | 4 +- huaweicloud-sdk-classroom/requirements.txt | 2 +- huaweicloud-sdk-classroom/setup.py | 4 +- huaweicloud-sdk-cloudide/requirements.txt | 2 +- huaweicloud-sdk-cloudide/setup.py | 4 +- huaweicloud-sdk-cloudpond/requirements.txt | 2 +- huaweicloud-sdk-cloudpond/setup.py | 4 +- huaweicloud-sdk-cloudrtc/requirements.txt | 2 +- huaweicloud-sdk-cloudrtc/setup.py | 4 +- huaweicloud-sdk-cloudtable/requirements.txt | 2 +- huaweicloud-sdk-cloudtable/setup.py | 4 +- huaweicloud-sdk-cloudtest/requirements.txt | 2 +- huaweicloud-sdk-cloudtest/setup.py | 4 +- .../requirements.txt | 2 +- huaweicloud-sdk-codeartsartifact/setup.py | 4 +- .../requirements.txt | 2 +- huaweicloud-sdk-codeartsbuild/setup.py | 4 +- .../requirements.txt | 2 +- huaweicloud-sdk-codeartscheck/setup.py | 4 +- .../requirements.txt | 2 +- huaweicloud-sdk-codeartsdeploy/setup.py | 4 +- .../requirements.txt | 2 +- huaweicloud-sdk-codeartsinspector/setup.py | 4 +- .../requirements.txt | 2 +- huaweicloud-sdk-codeartspipeline/setup.py | 4 +- huaweicloud-sdk-codecraft/requirements.txt | 2 +- huaweicloud-sdk-codecraft/setup.py | 4 +- huaweicloud-sdk-codehub/requirements.txt | 2 +- huaweicloud-sdk-codehub/setup.py | 4 +- huaweicloud-sdk-config/requirements.txt | 2 +- huaweicloud-sdk-config/setup.py | 4 +- .../huaweicloudsdkcore/client.py | 20 +- huaweicloud-sdk-core/setup.py | 5 +- huaweicloud-sdk-core/test-requirements.txt | 2 +- huaweicloud-sdk-core/tests/test_client.py | 100 + huaweicloud-sdk-cph/requirements.txt | 2 +- huaweicloud-sdk-cph/setup.py | 4 +- huaweicloud-sdk-cpts/requirements.txt | 2 +- huaweicloud-sdk-cpts/setup.py | 4 +- huaweicloud-sdk-cse/requirements.txt | 2 +- huaweicloud-sdk-cse/setup.py | 4 +- huaweicloud-sdk-csms/requirements.txt | 2 +- huaweicloud-sdk-csms/setup.py | 4 +- huaweicloud-sdk-css/requirements.txt | 2 +- huaweicloud-sdk-css/setup.py | 4 +- huaweicloud-sdk-cts/requirements.txt | 2 +- huaweicloud-sdk-cts/setup.py | 4 +- huaweicloud-sdk-das/requirements.txt | 2 +- huaweicloud-sdk-das/setup.py | 4 +- .../requirements.txt | 2 +- huaweicloud-sdk-dataartsstudio/setup.py | 4 +- huaweicloud-sdk-dbss/requirements.txt | 2 +- huaweicloud-sdk-dbss/setup.py | 4 +- huaweicloud-sdk-dc/requirements.txt | 2 +- huaweicloud-sdk-dc/setup.py | 4 +- huaweicloud-sdk-dcs/requirements.txt | 2 +- huaweicloud-sdk-dcs/setup.py | 4 +- huaweicloud-sdk-ddm/requirements.txt | 2 +- huaweicloud-sdk-ddm/setup.py | 4 +- huaweicloud-sdk-dds/requirements.txt | 2 +- huaweicloud-sdk-dds/setup.py | 4 +- huaweicloud-sdk-deh/requirements.txt | 2 +- huaweicloud-sdk-deh/setup.py | 4 +- huaweicloud-sdk-devsecurity/requirements.txt | 2 +- huaweicloud-sdk-devsecurity/setup.py | 4 +- huaweicloud-sdk-devstar/requirements.txt | 2 +- huaweicloud-sdk-devstar/setup.py | 4 +- huaweicloud-sdk-dgc/requirements.txt | 2 +- huaweicloud-sdk-dgc/setup.py | 4 +- huaweicloud-sdk-dis/requirements.txt | 2 +- huaweicloud-sdk-dis/setup.py | 4 +- huaweicloud-sdk-dlf/requirements.txt | 2 +- huaweicloud-sdk-dlf/setup.py | 4 +- .../huaweicloudsdkdli/v1/region/dli_region.py | 3 + huaweicloud-sdk-dli/requirements.txt | 2 +- huaweicloud-sdk-dli/setup.py | 4 +- huaweicloud-sdk-dns/requirements.txt | 2 +- huaweicloud-sdk-dns/setup.py | 4 +- huaweicloud-sdk-dris/requirements.txt | 2 +- huaweicloud-sdk-dris/setup.py | 4 +- .../huaweicloudsdkdrs/v3/__init__.py | 5 + .../huaweicloudsdkdrs/v3/drs_async_client.py | 75 + .../huaweicloudsdkdrs/v3/drs_client.py | 75 + .../huaweicloudsdkdrs/v3/model/__init__.py | 5 + .../v3/model/batch_job_action_req.py | 12 +- .../v3/model/create_job_req.py | 35 +- .../v3/model/failed_to_bind_eip_child_info.py | 86 +- .../list_available_node_types_request.py | 257 +++ .../list_available_node_types_response.py | 50 +- .../v3/model/public_ip_config.py | 118 +- .../v3/model/query_job_resp.py | 93 +- .../v3/model/query_support_node_type_bean.py | 84 +- .../v3/model/sync_policy_req.py | 35 +- .../huaweicloudsdkdrs/v5/__init__.py | 2 + .../huaweicloudsdkdrs/v5/model/__init__.py | 2 + .../v5/model/action_params.py | 31 +- .../huaweicloudsdkdrs/v5/model/action_req.py | 6 +- .../v5/model/async_create_job_req.py | 35 +- .../v5/model/base_endpoint.py | 6 +- .../v5/model/check_data_filter_response.py | 35 +- .../v5/model/collect_columns_response.py | 35 +- .../collect_db_objects_async_response.py | 35 +- .../model/collect_db_objects_info_response.py | 35 +- .../model/collect_position_async_response.py | 35 +- .../v5/model/create_job_req.py | 35 +- .../v5/model/failed_to_bind_eip_child_info.py | 79 +- .../v5/model/job_detail_resp.py | 93 +- .../v5/model/job_node_vpc_info.py | 6 +- .../v5/model/public_ip_config.py | 170 ++ ...w_data_processing_rules_result_response.py | 35 +- ...ow_update_object_saving_status_response.py | 35 +- .../v5/model/update_data_progress_response.py | 35 +- huaweicloud-sdk-drs/requirements.txt | 2 +- huaweicloud-sdk-drs/setup.py | 4 +- huaweicloud-sdk-dsc/requirements.txt | 2 +- huaweicloud-sdk-dsc/setup.py | 4 +- huaweicloud-sdk-dwr/requirements.txt | 2 +- huaweicloud-sdk-dwr/setup.py | 4 +- .../huaweicloudsdkdws/v2/__init__.py | 6 + .../huaweicloudsdkdws/v2/dws_async_client.py | 152 ++ .../huaweicloudsdkdws/v2/dws_client.py | 152 ++ .../huaweicloudsdkdws/v2/model/__init__.py | 6 + .../v2/model/cluster_metric.py | 260 +++ .../v2/model/list_metrics_data_request.py | 312 ++++ .../v2/model/list_metrics_data_response.py | 203 +++ .../v2/model/list_metrics_request.py | 228 +++ .../v2/model/list_metrics_response.py | 203 +++ .../v2/model/simple_field_dto.py | 82 +- huaweicloud-sdk-dws/requirements.txt | 2 +- huaweicloud-sdk-dws/setup.py | 4 +- huaweicloud-sdk-ec/requirements.txt | 2 +- huaweicloud-sdk-ec/setup.py | 4 +- .../v2/model/list_resize_flavors_request.py | 6 +- .../huaweicloudsdkecs/v2/region/ecs_region.py | 3 + huaweicloud-sdk-ecs/requirements.txt | 2 +- huaweicloud-sdk-ecs/setup.py | 4 +- huaweicloud-sdk-edgesec/requirements.txt | 2 +- huaweicloud-sdk-edgesec/setup.py | 4 +- huaweicloud-sdk-eg/requirements.txt | 2 +- huaweicloud-sdk-eg/setup.py | 4 +- huaweicloud-sdk-eihealth/requirements.txt | 2 +- huaweicloud-sdk-eihealth/setup.py | 4 +- huaweicloud-sdk-eip/requirements.txt | 2 +- huaweicloud-sdk-eip/setup.py | 4 +- huaweicloud-sdk-elb/requirements.txt | 2 +- huaweicloud-sdk-elb/setup.py | 4 +- huaweicloud-sdk-eps/requirements.txt | 2 +- huaweicloud-sdk-eps/setup.py | 4 +- huaweicloud-sdk-er/requirements.txt | 2 +- huaweicloud-sdk-er/setup.py | 4 +- huaweicloud-sdk-evs/requirements.txt | 2 +- huaweicloud-sdk-evs/setup.py | 4 +- huaweicloud-sdk-frs/requirements.txt | 2 +- huaweicloud-sdk-frs/setup.py | 4 +- .../requirements.txt | 2 +- huaweicloud-sdk-functiongraph/setup.py | 4 +- huaweicloud-sdk-ga/requirements.txt | 2 +- huaweicloud-sdk-ga/setup.py | 4 +- huaweicloud-sdk-gaussdb/requirements.txt | 2 +- huaweicloud-sdk-gaussdb/setup.py | 4 +- .../requirements.txt | 2 +- huaweicloud-sdk-gaussdbfornosql/setup.py | 4 +- .../requirements.txt | 2 +- huaweicloud-sdk-gaussdbforopengauss/setup.py | 4 +- huaweicloud-sdk-geip/requirements.txt | 2 +- huaweicloud-sdk-geip/setup.py | 4 +- huaweicloud-sdk-ges/requirements.txt | 2 +- huaweicloud-sdk-ges/setup.py | 4 +- huaweicloud-sdk-gsl/requirements.txt | 2 +- huaweicloud-sdk-gsl/setup.py | 4 +- huaweicloud-sdk-hilens/requirements.txt | 2 +- huaweicloud-sdk-hilens/setup.py | 4 +- huaweicloud-sdk-hss/requirements.txt | 2 +- huaweicloud-sdk-hss/setup.py | 4 +- huaweicloud-sdk-iam/requirements.txt | 2 +- huaweicloud-sdk-iam/setup.py | 4 +- .../requirements.txt | 2 +- huaweicloud-sdk-iamaccessanalyzer/setup.py | 4 +- .../v1/__init__.py | 65 - .../v1/identitycenter_async_client.py | 1623 +---------------- .../v1/identitycenter_client.py | 1623 +---------------- .../v1/model/__init__.py | 65 - .../v1/model/account_assignment_dto.py | 202 -- ...account_assignment_operation_status_dto.py | 347 ---- ...ssignment_operation_status_metadata_dto.py | 173 -- ...naged_policy_to_permission_set_req_body.py | 173 -- ...anaged_policy_to_permission_set_request.py | 159 -- ...naged_policy_to_permission_set_req_body.py | 143 -- ...anaged_policy_to_permission_set_request.py | 159 -- ...naged_policy_to_permission_set_response.py | 85 - .../create_account_assignment_req_body.py | 226 --- .../create_account_assignment_response.py | 112 -- .../model/create_permission_set_req_body.py | 230 --- .../delete_account_assignment_req_body.py | 226 --- .../delete_account_assignment_response.py | 112 -- ...ount_assignment_creation_status_request.py | 138 -- ...unt_assignment_creation_status_response.py | 112 -- ...ount_assignment_deletion_status_request.py | 138 -- ...unt_assignment_deletion_status_response.py | 112 -- ...mission_set_provisioning_status_request.py | 134 -- ...ission_set_provisioning_status_response.py | 112 -- ..._reference_from_permission_set_req_body.py | 110 -- ...y_reference_from_permission_set_request.py | 159 -- ..._reference_from_permission_set_response.py | 85 - ...aged_policy_from_permission_set_request.py | 159 -- .../v1/model/instance_metadata_entry_dto.py | 53 +- ...ount_assignment_creation_status_request.py | 189 -- ...unt_assignment_creation_status_response.py | 141 -- ...ount_assignment_deletion_status_request.py | 189 -- ...unt_assignment_deletion_status_response.py | 141 -- .../model/list_account_assignments_request.py | 217 --- .../list_account_assignments_response.py | 141 -- ..._for_provisioned_permission_set_request.py | 213 --- ...for_provisioned_permission_set_response.py | 137 -- ...cy_references_in_permission_set_request.py | 184 -- ...y_references_in_permission_set_response.py | 141 -- .../v1/model/list_instances_request.py | 44 +- .../v1/model/list_instances_response.py | 6 +- ...aged_policies_in_permission_set_request.py | 184 -- ...ged_policies_in_permission_set_response.py | 141 -- ...ission_set_provisioning_status_response.py | 141 -- ...ion_sets_provisioned_to_account_request.py | 217 --- ...on_sets_provisioned_to_account_response.py | 141 -- .../v1/model/list_permission_sets_request.py | 247 --- .../list_profile_associations_response.py | 112 -- .../v1/model/page_info_dto.py | 6 +- .../v1/model/permission_set_dto.py | 260 --- .../permission_set_provisioning_status_dto.py | 260 --- ...on_set_provisioning_status_metadata_dto.py | 173 -- .../model/update_permission_set_req_body.py | 173 -- .../model/update_permission_set_response.py | 85 - .../v1/region/identitycenter_region.py | 3 + .../requirements.txt | 2 +- huaweicloud-sdk-identitycenter/setup.py | 4 +- .../v1/__init__.py | 2 + .../v1/identitycenterstore_async_client.py | 2 +- .../v1/identitycenterstore_client.py | 2 +- .../v1/model/__init__.py | 2 + .../v1/model/address_dto.py | 6 +- .../v1/model/email_dto.py | 41 +- .../v1/model/enterprise_dto.py | 256 +++ .../v1/model/list_users_response.py | 6 +- .../v1/model/manager_dto.py | 38 +- .../v1/model/name_dto.py | 6 +- .../v1/model/phone_number_dto.py | 6 +- .../v1/model/user_dto.py | 66 +- .../v1/region/identitycenterstore_region.py | 9 + .../requirements.txt | 2 +- huaweicloud-sdk-identitycenterstore/setup.py | 4 +- huaweicloud-sdk-idme/requirements.txt | 2 +- huaweicloud-sdk-idme/setup.py | 4 +- .../v1/idmeclassicapi_async_client.py | 114 +- .../v1/idmeclassicapi_client.py | 114 +- .../v1/model/list_all_versions_request.py | 12 +- .../v1/model/persistable_model_save_as_dto.py | 6 +- ...ds_dto_version_model_version_master_dto.py | 3 +- .../v1/model/version_model_master.py | 3 +- .../v1/model/version_model_master_ids_dto.py | 3 +- .../version_model_version_check_out_dto.py | 6 +- ...n_checkout_and_update_dto_version_model.py | 9 +- .../model/version_model_version_master_dto.py | 3 +- ...rsion_model_version_master_modifier_dto.py | 3 +- .../version_model_version_master_query_dto.py | 12 +- ...ion_revise_and_update_dto_version_model.py | 15 +- .../model/version_model_version_revise_dto.py | 12 +- ...on_update_and_checkin_dto_version_model.py | 3 +- .../model/version_model_version_update_dto.py | 6 +- .../requirements.txt | 2 +- huaweicloud-sdk-idmeclassicapi/setup.py | 4 +- huaweicloud-sdk-iec/requirements.txt | 2 +- huaweicloud-sdk-iec/setup.py | 4 +- huaweicloud-sdk-ief/requirements.txt | 2 +- huaweicloud-sdk-ief/setup.py | 4 +- huaweicloud-sdk-image/requirements.txt | 2 +- huaweicloud-sdk-image/setup.py | 4 +- huaweicloud-sdk-imagesearch/requirements.txt | 2 +- huaweicloud-sdk-imagesearch/setup.py | 4 +- .../huaweicloudsdkims/v2/region/ims_region.py | 3 + huaweicloud-sdk-ims/requirements.txt | 2 +- huaweicloud-sdk-ims/setup.py | 4 +- huaweicloud-sdk-iotanalytics/requirements.txt | 2 +- huaweicloud-sdk-iotanalytics/setup.py | 4 +- huaweicloud-sdk-iotda/requirements.txt | 2 +- huaweicloud-sdk-iotda/setup.py | 4 +- huaweicloud-sdk-iotedge/requirements.txt | 2 +- huaweicloud-sdk-iotedge/setup.py | 4 +- huaweicloud-sdk-ivs/requirements.txt | 2 +- huaweicloud-sdk-ivs/setup.py | 4 +- .../v2/region/kafka_region.py | 3 + huaweicloud-sdk-kafka/requirements.txt | 2 +- huaweicloud-sdk-kafka/setup.py | 4 +- huaweicloud-sdk-kms/requirements.txt | 2 +- huaweicloud-sdk-kms/setup.py | 4 +- huaweicloud-sdk-koomessage/requirements.txt | 2 +- huaweicloud-sdk-koomessage/setup.py | 4 +- huaweicloud-sdk-kps/requirements.txt | 2 +- huaweicloud-sdk-kps/setup.py | 4 +- .../v1/region/lakeformation_region.py | 21 +- .../requirements.txt | 2 +- huaweicloud-sdk-lakeformation/setup.py | 4 +- huaweicloud-sdk-live/requirements.txt | 2 +- huaweicloud-sdk-live/setup.py | 4 +- huaweicloud-sdk-lts/requirements.txt | 2 +- huaweicloud-sdk-lts/setup.py | 4 +- huaweicloud-sdk-mapds/requirements.txt | 2 +- huaweicloud-sdk-mapds/setup.py | 4 +- huaweicloud-sdk-mas/requirements.txt | 2 +- huaweicloud-sdk-mas/setup.py | 4 +- huaweicloud-sdk-meeting/requirements.txt | 2 +- huaweicloud-sdk-meeting/setup.py | 4 +- .../huaweicloudsdkmetastudio/v1/__init__.py | 23 + .../v1/metastudio_async_client.py | 589 +++++- .../v1/metastudio_client.py | 589 +++++- .../v1/model/__init__.py | 23 + .../v1/model/active_code_info.py | 318 ++++ .../v1/model/chat_video_config_rsp.py | 12 +- .../v1/model/co_streamer_config.py | 140 ++ .../v1/model/control_smart_live_req.py | 6 +- .../v1/model/create_active_code_req.py | 170 ++ .../v1/model/create_active_code_request.py | 63 +- .../v1/model/create_active_code_response.py | 344 ++++ ...create_assetby_replication_info_request.py | 63 +- ...reate_assetby_replication_info_response.py | 37 +- .../v1/model/create_dialog_url_req.py | 12 +- .../v1/model/create_smart_chat_room_req.py | 18 +- .../model/create_smart_chat_room_response.py | 6 +- .../v1/model/create_smart_live_room_req.py | 31 +- .../v1/model/delete_active_code_request.py | 63 +- .../v1/model/delete_active_code_response.py | 37 +- .../digital_human_business_card_job_info.py | 6 +- .../v1/model/digital_human_video.py | 6 +- .../execute_smart_live_command_response.py | 37 +- .../v1/model/job_state.py | 2 + .../v1/model/list_active_code_request.py | 201 ++ .../v1/model/list_active_code_response.py | 228 +++ .../v1/model/list_assets_request.py | 31 +- .../v1/model/list_smart_chat_rooms_request.py | 6 +- .../model/list_smart_chat_rooms_response.py | 43 +- .../v1/model/live_job_log.py | 45 +- .../v1/model/live_video_script_info.py | 31 +- .../v1/model/replication_asset_info.py | 169 ++ .../v1/model/replication_enc_info.py | 173 ++ .../v1/model/reset_active_code_request.py | 81 +- .../v1/model/reset_active_code_response.py | 344 ++++ .../show2_d_digital_human_video_response.py | 6 +- .../v1/model/show_active_code_request.py | 83 +- .../v1/model/show_active_code_response.py | 344 ++++ .../show_asset_replication_info_request.py | 81 +- .../show_asset_replication_info_response.py | 195 ++ ...show_photo_digital_human_video_response.py | 6 +- .../v1/model/show_smart_chat_job_request.py | 6 +- .../v1/model/show_smart_chat_room_response.py | 42 +- .../v1/model/show_smart_live_response.py | 52 +- .../v1/model/show_smart_live_room_response.py | 56 +- .../model/show_voice_training_job_response.py | 31 +- .../v1/model/smart_chat_room_base_info.py | 55 +- .../v1/model/smart_live_job.py | 56 +- .../v1/model/smart_live_room_base_info.py | 60 +- .../v1/model/start_smart_chat_job_request.py | 6 +- .../v1/model/start_smart_live_req.py | 31 +- .../v1/model/stop_smart_chat_job_request.py | 6 +- .../v1/model/subtitle_config.py | 18 +- .../v1/model/text_config.py | 6 +- .../v1/model/training_job_info.py | 31 +- .../v1/model/trigger_process.py | 35 +- .../v1/model/update_active_code_req.py | 115 ++ .../v1/model/update_active_code_request.py | 99 +- .../v1/model/update_active_code_response.py | 344 ++++ .../model/update_smart_chat_room_response.py | 42 +- .../model/update_smart_live_room_response.py | 56 +- huaweicloud-sdk-metastudio/requirements.txt | 2 +- huaweicloud-sdk-metastudio/setup.py | 4 +- huaweicloud-sdk-moderation/requirements.txt | 2 +- huaweicloud-sdk-moderation/setup.py | 4 +- .../model/animated_graphics_output_param.py | 3 +- huaweicloud-sdk-mpc/requirements.txt | 2 +- huaweicloud-sdk-mpc/setup.py | 4 +- huaweicloud-sdk-mrs/requirements.txt | 2 +- huaweicloud-sdk-mrs/setup.py | 4 +- huaweicloud-sdk-msgsms/requirements.txt | 2 +- huaweicloud-sdk-msgsms/setup.py | 4 +- huaweicloud-sdk-mssi/requirements.txt | 2 +- huaweicloud-sdk-mssi/setup.py | 4 +- huaweicloud-sdk-nat/requirements.txt | 2 +- huaweicloud-sdk-nat/setup.py | 4 +- huaweicloud-sdk-nlp/requirements.txt | 2 +- huaweicloud-sdk-nlp/setup.py | 4 +- huaweicloud-sdk-obs/requirements.txt | 2 +- huaweicloud-sdk-obs/setup.py | 4 +- huaweicloud-sdk-ocr/requirements.txt | 2 +- huaweicloud-sdk-ocr/setup.py | 4 +- huaweicloud-sdk-octopus/requirements.txt | 2 +- huaweicloud-sdk-octopus/setup.py | 4 +- huaweicloud-sdk-oms/requirements.txt | 2 +- huaweicloud-sdk-oms/setup.py | 4 +- huaweicloud-sdk-optverse/requirements.txt | 2 +- huaweicloud-sdk-optverse/setup.py | 4 +- .../v1/__init__.py | 3 + .../v1/model/__init__.py | 3 + .../v1/model/accept_handshake_request.py | 6 +- .../v1/model/account_dto.py | 60 +- .../v1/model/cancel_handshake_request.py | 6 +- .../v1/model/close_account_status_dto.py | 255 +++ .../v1/model/create_account_status_dto.py | 36 +- .../v1/model/create_tag_resource_request.py | 12 +- .../v1/model/decline_handshake_request.py | 6 +- .../v1/model/delegated_administrator_dto.py | 36 +- .../model/delegated_administrator_req_body.py | 6 +- .../v1/model/delegated_service_dto.py | 6 +- .../v1/model/delete_tag_resource_request.py | 12 +- .../v1/model/handshake_dto.py | 24 +- .../v1/model/invite_account_req_body.py | 12 +- .../v1/model/list_accounts_response.py | 6 +- .../list_close_account_statuses_request.py | 115 ++ .../list_close_account_statuses_response.py | 50 +- .../model/list_delegated_services_request.py | 6 +- .../model/list_delegated_services_response.py | 6 +- .../v1/model/list_entities_response.py | 6 +- .../v1/model/list_handshakes_response.py | 6 +- .../v1/model/list_policies_request.py | 6 +- .../list_received_handshakes_response.py | 6 +- .../model/list_resource_instances_request.py | 6 +- .../v1/model/list_resource_tags_request.py | 6 +- .../v1/model/list_tag_resources_request.py | 12 +- .../model/list_tags_for_resource_request.py | 6 +- .../v1/model/move_account_req_body.py | 12 +- .../v1/model/move_account_request.py | 6 +- .../v1/model/organization_dto.py | 12 +- .../v1/model/policy_summary_dto.py | 6 +- .../v1/model/policy_tach_req_body.py | 6 +- .../v1/model/policy_type_summary_dto.py | 6 +- .../v1/model/remove_account_request.py | 6 +- .../v1/model/resource_instance_req_body.py | 6 +- .../v1/model/root_dto.py | 6 +- .../v1/model/show_account_request.py | 6 +- .../model/show_effective_policies_request.py | 6 +- .../model/show_effective_policies_response.py | 6 +- .../v1/model/show_handshake_request.py | 6 +- .../show_resource_instances_count_request.py | 6 +- .../v1/model/tag_resource_request.py | 6 +- .../v1/model/target_dto.py | 6 +- .../v1/model/untag_resource_request.py | 6 +- .../v1/organizations_async_client.py | 190 +- .../v1/organizations_client.py | 190 +- .../requirements.txt | 2 +- huaweicloud-sdk-organizations/setup.py | 4 +- huaweicloud-sdk-orgid/requirements.txt | 2 +- huaweicloud-sdk-orgid/setup.py | 4 +- huaweicloud-sdk-oroas/requirements.txt | 2 +- huaweicloud-sdk-oroas/setup.py | 4 +- huaweicloud-sdk-osm/requirements.txt | 2 +- huaweicloud-sdk-osm/setup.py | 4 +- .../requirements.txt | 2 +- huaweicloud-sdk-pangulargemodels/setup.py | 4 +- huaweicloud-sdk-projectman/requirements.txt | 2 +- huaweicloud-sdk-projectman/setup.py | 4 +- .../v2/region/rabbitmq_region.py | 3 + huaweicloud-sdk-rabbitmq/requirements.txt | 2 +- huaweicloud-sdk-rabbitmq/setup.py | 4 +- .../huaweicloudsdkram/v1/__init__.py | 2 + .../huaweicloudsdkram/v1/model/__init__.py | 2 + .../v1/model/associate_permission_req_body.py | 62 +- .../model/list_permission_versions_request.py | 97 +- .../list_permission_versions_response.py | 66 +- .../v1/model/list_permissions_request.py | 35 +- .../huaweicloudsdkram/v1/model/permission.py | 151 +- .../v1/model/permission_summary.py | 151 +- .../huaweicloudsdkram/v1/model/quotas.py | 6 +- .../v1/model/resource_share_association.py | 6 +- .../v1/model/resource_share_invitation.py | 12 +- .../v1/model/shared_principal.py | 6 +- .../v1/model/show_permission_request.py | 35 +- .../huaweicloudsdkram/v1/ram_async_client.py | 83 +- .../huaweicloudsdkram/v1/ram_client.py | 83 +- huaweicloud-sdk-ram/requirements.txt | 2 +- huaweicloud-sdk-ram/setup.py | 4 +- .../show_binlog_clear_policy_response.py | 35 +- huaweicloud-sdk-rds/requirements.txt | 2 +- huaweicloud-sdk-rds/setup.py | 4 +- huaweicloud-sdk-res/requirements.txt | 2 +- huaweicloud-sdk-res/setup.py | 4 +- huaweicloud-sdk-rgc/requirements.txt | 2 +- huaweicloud-sdk-rgc/setup.py | 4 +- huaweicloud-sdk-rms/requirements.txt | 2 +- huaweicloud-sdk-rms/setup.py | 4 +- .../v2/region/rocketmq_region.py | 3 + huaweicloud-sdk-rocketmq/requirements.txt | 2 +- huaweicloud-sdk-rocketmq/setup.py | 4 +- huaweicloud-sdk-roma/requirements.txt | 2 +- huaweicloud-sdk-roma/setup.py | 4 +- huaweicloud-sdk-sa/requirements.txt | 2 +- huaweicloud-sdk-sa/setup.py | 4 +- huaweicloud-sdk-scm/requirements.txt | 2 +- huaweicloud-sdk-scm/setup.py | 4 +- huaweicloud-sdk-sdrs/requirements.txt | 2 +- huaweicloud-sdk-sdrs/setup.py | 4 +- huaweicloud-sdk-secmaster/requirements.txt | 2 +- huaweicloud-sdk-secmaster/setup.py | 4 +- huaweicloud-sdk-servicestage/requirements.txt | 2 +- huaweicloud-sdk-servicestage/setup.py | 4 +- huaweicloud-sdk-sfsturbo/requirements.txt | 2 +- huaweicloud-sdk-sfsturbo/setup.py | 4 +- huaweicloud-sdk-sis/requirements.txt | 2 +- huaweicloud-sdk-sis/setup.py | 4 +- huaweicloud-sdk-smn/requirements.txt | 2 +- huaweicloud-sdk-smn/setup.py | 4 +- .../huaweicloudsdksms/v3/region/sms_region.py | 2 +- huaweicloud-sdk-sms/requirements.txt | 2 +- huaweicloud-sdk-sms/setup.py | 4 +- huaweicloud-sdk-swr/requirements.txt | 2 +- huaweicloud-sdk-swr/setup.py | 4 +- huaweicloud-sdk-tics/requirements.txt | 2 +- huaweicloud-sdk-tics/setup.py | 4 +- huaweicloud-sdk-tms/requirements.txt | 2 +- huaweicloud-sdk-tms/setup.py | 4 +- huaweicloud-sdk-ugo/requirements.txt | 2 +- huaweicloud-sdk-ugo/setup.py | 4 +- huaweicloud-sdk-vas/requirements.txt | 2 +- huaweicloud-sdk-vas/setup.py | 4 +- huaweicloud-sdk-vcm/requirements.txt | 2 +- huaweicloud-sdk-vcm/setup.py | 4 +- huaweicloud-sdk-vod/requirements.txt | 2 +- huaweicloud-sdk-vod/setup.py | 4 +- huaweicloud-sdk-vpc/requirements.txt | 2 +- huaweicloud-sdk-vpc/setup.py | 4 +- .../huaweicloudsdkvpcep/v1/__init__.py | 16 +- .../huaweicloudsdkvpcep/v1/model/__init__.py | 16 +- .../accept_or_reject_endpoint_request_body.py | 6 +- ...remove_service_permissions_request_body.py | 12 +- ..._or_remove_service_permissions_response.py | 12 +- ...dd_endpoint_service_permissions_request.py | 8 +- ...point_service_permissions_request_body.py} | 28 +- ...d_endpoint_service_permissions_response.py | 6 +- ...add_or_remove_resource_instance_request.py | 20 +- ..._remove_resource_instance_request_body.py} | 22 +- ...ve_endpoint_service_permissions_request.py | 8 +- ...point_service_permissions_request_body.py} | 20 +- ...e_endpoint_service_permissions_response.py | 6 +- .../v1/model/connection_endpoints.py | 22 +- .../v1/model/create_endpoint_request_body.py | 12 +- .../v1/model/create_endpoint_response.py | 91 +- .../create_endpoint_service_request_body.py | 30 +- .../model/create_endpoint_service_response.py | 58 +- .../model/delete_endpoint_policy_response.py | 129 +- ...oint_resp.py => endpoint_response_body.py} | 244 +-- .../v1/model/endpoint_service.py | 26 +- .../v1/model/eps_add_permission_request.py | 6 +- .../v1/model/eps_permission.py | 20 +- .../list_endpoint_info_details_response.py | 66 +- .../v1/model/list_endpoint_service_request.py | 18 +- .../v1/model/list_endpoints_request.py | 12 +- .../v1/model/list_endpoints_response.py | 8 +- ...ist_query_project_resource_tags_request.py | 6 +- .../v1/model/list_quota_details_request.py | 6 +- .../v1/model/list_quota_details_response.py | 8 +- .../model/list_resource_instances_request.py | 6 +- .../model/list_service_connections_request.py | 18 +- .../list_service_describe_details_response.py | 26 +- .../v1/model/list_service_details_response.py | 58 +- ...ist_service_permissions_details_request.py | 12 +- .../list_service_public_details_request.py | 12 +- .../v1/model/permission_object.py | 20 +- .../v1/model/policy_statement.py | 6 +- .../huaweicloudsdkvpcep/v1/model/quotas.py | 6 +- ...ces_resp.py => resources_response_body.py} | 14 +- .../v1/model/service_list.py | 58 +- ...pdate_endpoint_connections_desc_request.py | 8 +- ...endpoint_connections_desc_request_body.py} | 14 +- .../model/update_endpoint_policy_response.py | 129 +- .../update_endpoint_service_name_request.py | 8 +- ...ate_endpoint_service_name_request_body.py} | 14 +- ...ndpoint_service_permission_desc_request.py | 8 +- ...t_service_permission_desc_request_body.py} | 14 +- ...dpoint_service_permission_desc_response.py | 6 +- .../update_endpoint_service_request_body.py | 18 +- .../model/update_endpoint_service_response.py | 58 +- .../update_endpoint_white_request_body.py | 12 +- .../model/update_endpoint_white_response.py | 52 +- .../v1/model/version_object.py | 20 +- .../v1/vpcep_async_client.py | 2 +- .../huaweicloudsdkvpcep/v1/vpcep_client.py | 2 +- huaweicloud-sdk-vpcep/requirements.txt | 2 +- huaweicloud-sdk-vpcep/setup.py | 4 +- huaweicloud-sdk-vpn/requirements.txt | 2 +- huaweicloud-sdk-vpn/setup.py | 4 +- huaweicloud-sdk-waf/requirements.txt | 2 +- huaweicloud-sdk-waf/setup.py | 4 +- huaweicloud-sdk-workspace/requirements.txt | 2 +- huaweicloud-sdk-workspace/setup.py | 4 +- huaweicloud-sdk-workspaceapp/requirements.txt | 2 +- huaweicloud-sdk-workspaceapp/setup.py | 4 +- 707 files changed, 15172 insertions(+), 14243 deletions(-) create mode 100644 huaweicloud-sdk-core/tests/test_client.py rename huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/accessor_dto.py => huaweicloud-sdk-drs/huaweicloudsdkdrs/v3/model/failed_to_bind_eip_child_info.py (66%) create mode 100644 huaweicloud-sdk-drs/huaweicloudsdkdrs/v3/model/list_available_node_types_request.py rename huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/create_permission_set_response.py => huaweicloud-sdk-drs/huaweicloudsdkdrs/v3/model/list_available_node_types_response.py (64%) rename huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/association_dto.py => huaweicloud-sdk-drs/huaweicloudsdkdrs/v3/model/public_ip_config.py (51%) rename huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/tag_dto.py => huaweicloud-sdk-drs/huaweicloudsdkdrs/v3/model/query_support_node_type_bean.py (57%) rename huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/customer_managed_policy_reference_dto.py => huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/failed_to_bind_eip_child_info.py (65%) create mode 100644 huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/public_ip_config.py create mode 100644 huaweicloud-sdk-dws/huaweicloudsdkdws/v2/model/cluster_metric.py create mode 100644 huaweicloud-sdk-dws/huaweicloudsdkdws/v2/model/list_metrics_data_request.py create mode 100644 huaweicloud-sdk-dws/huaweicloudsdkdws/v2/model/list_metrics_data_response.py create mode 100644 huaweicloud-sdk-dws/huaweicloudsdkdws/v2/model/list_metrics_request.py create mode 100644 huaweicloud-sdk-dws/huaweicloudsdkdws/v2/model/list_metrics_response.py rename huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_profile_associations_request.py => huaweicloud-sdk-dws/huaweicloudsdkdws/v2/model/simple_field_dto.py (57%) delete mode 100644 huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/account_assignment_dto.py delete mode 100644 huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/account_assignment_operation_status_dto.py delete mode 100644 huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/account_assignment_operation_status_metadata_dto.py delete mode 100644 huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/attach_customer_managed_policy_to_permission_set_req_body.py delete mode 100644 huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/attach_customer_managed_policy_to_permission_set_request.py delete mode 100644 huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/attach_managed_policy_to_permission_set_req_body.py delete mode 100644 huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/attach_managed_policy_to_permission_set_request.py delete mode 100644 huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/attach_managed_policy_to_permission_set_response.py delete mode 100644 huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/create_account_assignment_req_body.py delete mode 100644 huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/create_account_assignment_response.py delete mode 100644 huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/create_permission_set_req_body.py delete mode 100644 huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/delete_account_assignment_req_body.py delete mode 100644 huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/delete_account_assignment_response.py delete mode 100644 huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/describe_account_assignment_creation_status_request.py delete mode 100644 huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/describe_account_assignment_creation_status_response.py delete mode 100644 huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/describe_account_assignment_deletion_status_request.py delete mode 100644 huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/describe_account_assignment_deletion_status_response.py delete mode 100644 huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/describe_permission_set_provisioning_status_request.py delete mode 100644 huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/describe_permission_set_provisioning_status_response.py delete mode 100644 huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/detach_customer_managed_policy_reference_from_permission_set_req_body.py delete mode 100644 huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/detach_customer_managed_policy_reference_from_permission_set_request.py delete mode 100644 huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/detach_customer_managed_policy_reference_from_permission_set_response.py delete mode 100644 huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/detach_managed_policy_from_permission_set_request.py delete mode 100644 huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_account_assignment_creation_status_request.py delete mode 100644 huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_account_assignment_creation_status_response.py delete mode 100644 huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_account_assignment_deletion_status_request.py delete mode 100644 huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_account_assignment_deletion_status_response.py delete mode 100644 huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_account_assignments_request.py delete mode 100644 huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_account_assignments_response.py delete mode 100644 huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_accounts_for_provisioned_permission_set_request.py delete mode 100644 huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_accounts_for_provisioned_permission_set_response.py delete mode 100644 huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_customer_managed_policy_references_in_permission_set_request.py delete mode 100644 huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_customer_managed_policy_references_in_permission_set_response.py delete mode 100644 huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_managed_policies_in_permission_set_request.py delete mode 100644 huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_managed_policies_in_permission_set_response.py delete mode 100644 huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_permission_set_provisioning_status_response.py delete mode 100644 huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_permission_sets_provisioned_to_account_request.py delete mode 100644 huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_permission_sets_provisioned_to_account_response.py delete mode 100644 huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_permission_sets_request.py delete mode 100644 huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_profile_associations_response.py delete mode 100644 huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/permission_set_dto.py delete mode 100644 huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/permission_set_provisioning_status_dto.py delete mode 100644 huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/permission_set_provisioning_status_metadata_dto.py delete mode 100644 huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/update_permission_set_req_body.py delete mode 100644 huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/update_permission_set_response.py create mode 100644 huaweicloud-sdk-identitycenterstore/huaweicloudsdkidentitycenterstore/v1/model/enterprise_dto.py rename huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/detach_managed_policy_from_permission_set_response.py => huaweicloud-sdk-identitycenterstore/huaweicloudsdkidentitycenterstore/v1/model/manager_dto.py (75%) create mode 100644 huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/active_code_info.py create mode 100644 huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/co_streamer_config.py create mode 100644 huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_active_code_req.py rename huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/delete_account_assignment_request.py => huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_active_code_request.py (60%) create mode 100644 huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_active_code_response.py rename huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/create_account_assignment_request.py => huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_assetby_replication_info_request.py (58%) rename huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/delete_permission_set_response.py => huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_assetby_replication_info_response.py (66%) rename huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/create_permission_set_request.py => huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/delete_active_code_request.py (62%) rename huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/attach_customer_managed_policy_to_permission_set_response.py => huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/delete_active_code_response.py (68%) create mode 100644 huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_active_code_request.py create mode 100644 huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_active_code_response.py rename huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/detach_managed_policy_from_permission_set_req_body.py => huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/live_job_log.py (65%) create mode 100644 huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/replication_asset_info.py create mode 100644 huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/replication_enc_info.py rename huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/delete_permission_set_request.py => huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/reset_active_code_request.py (54%) create mode 100644 huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/reset_active_code_response.py rename huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/attached_managed_policy_dto.py => huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_active_code_request.py (55%) create mode 100644 huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_active_code_response.py rename huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/describe_permission_set_request.py => huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_asset_replication_info_request.py (55%) create mode 100644 huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_asset_replication_info_response.py create mode 100644 huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_active_code_req.py rename huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/update_permission_set_request.py => huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_active_code_request.py (51%) create mode 100644 huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_active_code_response.py create mode 100644 huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/close_account_status_dto.py create mode 100644 huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/list_close_account_statuses_request.py rename huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/describe_permission_set_response.py => huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/list_close_account_statuses_response.py (57%) rename huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_permission_set_provisioning_status_request.py => huaweicloud-sdk-ram/huaweicloudsdkram/v1/model/list_permission_versions_request.py (53%) rename huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_permission_sets_response.py => huaweicloud-sdk-ram/huaweicloudsdkram/v1/model/list_permission_versions_response.py (58%) rename huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/{batch_add_permission_request.py => batch_add_endpoint_service_permissions_request_body.py} (72%) rename huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/{batch_add_or_remove_resource_instance_body.py => batch_add_or_remove_resource_instance_request_body.py} (94%) rename huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/{batch_remove_permission_request.py => batch_remove_endpoint_service_permissions_request_body.py} (80%) rename huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/{endpoint_resp.py => endpoint_response_body.py} (68%) rename huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/{resources_resp.py => resources_response_body.py} (88%) rename huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/{update_ep_connections.py => update_endpoint_connections_desc_request_body.py} (85%) rename huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/{update_endpoint_service_name_mode.py => update_endpoint_service_name_request_body.py} (91%) rename huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/{update_permission_desc_request.py => update_endpoint_service_permission_desc_request_body.py} (83%) diff --git a/CHANGELOG.md b/CHANGELOG.md index de0f131bbc..f1936b6aa4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,646 @@ +# 3.1.86 2024-03-14 + +### HuaweiCloud SDK CAE + +- _Features_ + - None +- _Bug Fix_ + - None +- _Change_ + - **ListComponentConfigurations** + - changes of response param + - `* items.data.spec.items.ports.target_port: string -> int32` + - `* items.data.spec.items.ports.port: string -> int32` + - **CreateComponentConfiguration** + - changes of request param + - `* items.data.spec.items.ports.target_port: string -> int32` + - `* items.data.spec.items.ports.port: string -> int32` + +### HuaweiCloud SDK DGC + +- _Features_ + - None +- _Bug Fix_ + - None +- _Change_ + - **CreateJob** + - changes of request param + - `+ nodes.type: enum value [OneclickCDC]` + - **ShowJob** + - changes of response param + - `+ nodes.type: enum value [OneclickCDC]` + - **UpdateJob** + - changes of request param + - `+ nodes.type: enum value [OneclickCDC]` + - **CreateSupplementdata** + - changes of request param + - `+ dependJobs.nodes.type: enum value [OneclickCDC]` + +### HuaweiCloud SDK DRS + +- _Features_ + - Support the API `ListAvailableNodeTypes` +- _Bug Fix_ + - None +- _Change_ + - **BatchSetPolicy** + - changes of request param + - `+ jobs.ddl_topic` + - **BatchCreateJobs** + - changes of request param + - `+ jobs.public_ip_list` + - **ShowJobList** + - changes of response param + - `+ jobs.children.job_direction: enum value [non-dbs]` + - `- jobs.children.job_direction: enum value [no-dbs]` + - **BatchListJobDetails** + - changes of response param + - `+ results.public_ip_list` + - `+ results.bind_public_ip_state` + - `+ results.children` + - **ShowUpdateObjectSavingStatus** + - changes of response param + - `+ job_id` + - **CollectDbObjectsAsync** + - changes of response param + - `+ job_id` + - **ShowDataProcessingRulesResult** + - changes of response param + - `+ job_id` + - **CollectDbObjectsInfo** + - changes of response param + - `+ job_id` + - **CollectPositionAsync** + - changes of response param + - `+ job_id` + - **CollectColumns** + - changes of response param + - `+ job_id` + - **CreateJob** + - changes of request param + - `+ job.public_ip_list` + - **BatchCreateJobsAsync** + - changes of request param + - `+ jobs.public_ip_list` + - **UpdateDataProgress** + - changes of response param + - `+ job_id` + - **CheckDataFilter** + - changes of response param + - `+ job_id` + - **ListAsyncJobDetail** + - changes of response param + - `+ jobs.public_ip_list` + - `+ jobs.bind_public_ip_state` + - `+ jobs.children` + - **ShowJobDetail** + - changes of response param + - `+ job.public_ip_list` + - `+ job.bind_public_ip_state` + - `+ job.children` + - **ExecuteJobAction** + - changes of request param + - `+ job.action_name: enum value [bind_eip,unbind_eip]` + - `+ job.action_params.public_ip_config` + - **BatchExecuteJobActions** + - changes of request param + - `+ jobs.action_name: enum value [bind_eip,unbind_eip]` + - `+ jobs.action_params.public_ip_config` + +### HuaweiCloud SDK DWS + +- _Features_ + - Support the APIs `ListMetrics`, `ListMetricsData` +- _Bug Fix_ + - None +- _Change_ + - None + +### HuaweiCloud SDK IdentityCenter + +- _Features_ + - None +- _Bug Fix_ + - None +- _Change_ + - Remove the following APIs: + - `AttachCustomerManagedPolicyToPermissionSet` + - `DetachCustomerManagedPolicyReferenceFromPermissionSet` + - `ListCustomerManagedPolicyReferencesInPermissionSet` + - `ListProfileAssociations` + - `AttachManagedPolicyToPermissionSet` + - `DeleteAccountAssignment` + - `DescribeAccountAssignmentCreationStatus` + - `DescribePermissionSetProvisioningStatus` + - `DetachManagedPolicyFromPermissionSet` + - `ListAccountAssignmentCreationStatus` + - `ListAccountAssignmentDeletionStatus` + - `ListAccountAssignments` + - `ListAccountsForProvisionedPermissionSet` + - `ListManagedPoliciesInPermissionSet` + - `ListPermissionSetProvisioningStatus` + - `ListPermissionSets` + - `CreatePermissionSet` + - `ListPermissionSetsProvisionedToAccount` + - `CreateAccountAssignment` + - `DescribeAccountAssignmentDeletionStatus` + - `DescribePermissionSet` + - `UpdatePermissionSet` + - `DeletePermissionSet` + - **ListInstances** + - changes of request param + - `+ X-Security-Token` + - changes of response param + - `+ instances.instance_urn` + +### HuaweiCloud SDK IdentityCenterStore + +- _Features_ + - None +- _Bug Fix_ + - None +- _Change_ + - **ListUsers** + - changes of response param + - `+ users.external_id` + - `+ users.enterprise` + - `+ users.emails.verification_status` + +### HuaweiCloud SDK MetaStudio + +- _Features_ + - Support the following APIs: + - `ShowAssetReplicationInfo` + - `CreateAssetbyReplicationInfo` + - `ListActiveCode` + - `CreateActiveCode` + - `ShowActiveCode` + - `UpdateActiveCode` + - `ResetActiveCode` + - `DeleteActiveCode` +- _Bug Fix_ + - None +- _Change_ + - **CreateFile** + - changes of response param + - `+ file_id` + - `+ upload_url` + - **ShowJobUploadingAddress** + - changes of response param + - `+ package_url` + - `+ authorization_letter_uploading_url` + - `+ segment_url` + - **ShowJobAuditResult** + - changes of response param + - `+ system_audit_result` + - `+ admin_audit_result` + - **ShowTrainingSegmentInfo** + - changes of response param + - `+ confirmed_index` + - **ConfirmTrainingSegment** + - changes of response param + - `+ unmatched_index_hit` + - `+ confirm_result` + - **Create2dModelTrainingJob** + - changes of response param + - `+ cover_upload_url` + - `+ job_id` + - `+ grant_file_upload_url` + - `+ training_video_upload_url` + - `+ id_card_image2_upload_url` + - `+ id_card_image1_upload_url` + - **List2dModelTrainingJob** + - changes of response param + - `+ jobs` + - `+ count` + - **Execute2dModelTrainingCommandByUser** + - changes of response param + - `+ commond_result` + - `+ attachment_upload_url` + - `+ multipart_data` + - **ExecuteSmartLiveCommand** + - changes of request param + - `+ command: enum value [REWRITE_INTERACTION_RULES,GET_LIVE_JOB_CONFIG_INFO]` + - changes of response param + - `+ command_id` + - `+ command: enum value [REWRITE_INTERACTION_RULES,GET_LIVE_JOB_CONFIG_INFO]` + - **CreateTrainingBasicJob** + - changes of response param + - `+ job_id` + - `+ segment_uploading_url` + - `+ authorization_letter_uploading_url` + - `+ training_data_uploading_url` + - **CreateTrainingMiddleJob** + - changes of response param + - `+ job_id` + - `+ segment_uploading_url` + - `+ authorization_letter_uploading_url` + - `+ training_data_uploading_url` + - **CreateTrainingAdvanceJob** + - changes of response param + - `+ job_id` + - `+ segment_uploading_url` + - `+ authorization_letter_uploading_url` + - `+ training_data_uploading_url` + - **ShowVoiceTrainingJob** + - changes of response param + - `+ job_type` + - `+ create_time` + - `+ sex` + - `+ create_type` + - `+ voice_name` + - `+ language` + - `+ voice_authorization_url` + - `+ asset_id` + - `+ lastupdate_time` + - `+ job_failed_code` + - `+ reject_times` + - `+ app_user_id` + - `+ job_id` + - `+ state` + - `+ tag` + - `+ job_failed_reason` + - `+ state: enum value [USER_RESULT_REVIEW,USER_REVIEW_REJECT]` + - **Update2dModelTrainingJob** + - changes of response param + - `+ cover_upload_url` + - `+ job_id` + - `+ grant_file_upload_url` + - `+ training_video_upload_url` + - `+ id_card_image2_upload_url` + - `+ id_card_image1_upload_url` + - **Show2dModelTrainingJob** + - changes of response param + - `+ model_version` + - `+ inference_data_process_action_mark_info` + - `+ model_resolution` + - `+ inference_data_process_video_mark_info` + - `+ asset_id` + - `+ training_video_download_url` + - `+ mask_file_download_url` + - `+ grant_file_download_url` + - `+ project_id` + - `+ operation_logs` + - `+ contact` + - `+ matting_type` + - `+ verify_video_download_url` + - `+ state` + - `+ cover_download_url` + - `+ create_time` + - `+ is_background_replacement` + - `+ comment_logs` + - `+ markable_video_download_url` + - `+ tags` + - `+ last_update_time` + - `+ batch_name` + - `+ id_card_image1_download_url` + - `+ id_card_image2_download_url` + - `+ job_id` + - `+ is_mask_file_uploaded` + - `+ name` + - **ListDigitalHumanVideo** + - changes of response param + - `+ jobs.state: enum value [BLOCK]` + - **CreateDigitalHumanBusinessCard** + - changes of response param + - `+ job_id` + - **ListDigitalHumanBusinessCard** + - changes of response param + - `+ jobs.state: enum value [BLOCK]` + - **UpdateDigitalHumanBusinessCard** + - changes of response param + - `+ job_id` + - **ShowDigitalHumanBusinessCard** + - changes of response param + - `+ job_info.state: enum value [BLOCK]` + - **ListSmartChatRooms** + - changes of response param + - `+ count_concurrency` + - `+ smart_chat_rooms.concurrency` + - **ShowSmartLive** + - changes of response param + - `+ co_streamer_config` + - `+ live_job_log` + - **CreatePictureModelingJob** + - changes of response param + - `+ model_asset_id` + - `+ job_id` + - **ListVoiceTrainingJob** + - changes of response param + - `+ jobs` + - `+ count` + - `+ reject_times` + - `+ jobs.reject_times` + - `+ jobs.state: enum value [USER_RESULT_REVIEW,USER_REVIEW_REJECT]` + - **StartSmartLive** + - changes of request param + - `+ co_streamer_config` + - **ListSmartLive** + - changes of response param + - `+ co_streamer_config` + - `+ live_job_log` + - `+ smart_live_jobs.co_streamer_config` + - `+ smart_live_jobs.live_job_log` + - **ListSmartLiveJobs** + - changes of response param + - `+ co_streamer_config` + - `+ live_job_log` + - `+ smart_live_jobs.co_streamer_config` + - `+ smart_live_jobs.live_job_log` + - **CreateVideoMotionCaptureJob** + - changes of response param + - `+ rtc_room_info` + - `+ job_id` + - **Show2DDigitalHumanVideo** + - changes of response param + - `+ state: enum value [BLOCK]` + - **ShowPhotoDigitalHumanVideo** + - changes of response param + - `+ state: enum value [BLOCK]` + - **ListSmartLiveRooms** + - changes of response param + - `+ smart_live_rooms.view_mode` + - `+ smart_live_rooms.thumbnail` + - **CreateSmartLiveRoom** + - changes of request param + - `+ co_streamer_config` + - `+ scene_scripts.script_id` + - `+ interaction_rules.trigger.reply_role` + - **ShowSmartLiveRoom** + - changes of response param + - `+ thumbnail` + - `+ co_streamer_config` + - `+ scene_scripts.script_id` + - `+ interaction_rules.trigger.reply_role` + - **UpdateSmartLiveRoom** + - changes of request param + - `+ co_streamer_config` + - `+ scene_scripts.script_id` + - `+ interaction_rules.trigger.reply_role` + - changes of response param + - `+ thumbnail` + - `+ co_streamer_config` + - `+ scene_scripts.script_id` + - `+ interaction_rules.trigger.reply_role` + - **UpdateInteractionRuleGroup** + - changes of request param + - `+ interaction_rules.trigger.reply_role` + - changes of response param + - `+ interaction_rules.trigger.reply_role` + - **ListAssets** + - changes of request param + - `+ X-REAL-IP` + - **CreateInteractionRuleGroup** + - changes of request param + - `+ interaction_rules.trigger.reply_role` + - **ListInteractionRuleGroups** + - changes of response param + - `+ interaction_rule_groups.interaction_rules.trigger.reply_role` + +### HuaweiCloud SDK Organizations + +- _Features_ + - Support the API `ListCloseAccountStatuses` +- _Bug Fix_ + - None +- _Change_ + - **ListAccounts** + - changes of response param + - `+ accounts.status` + - **ShowAccount** + - changes of response param + - `+ account.status` + +### HuaweiCloud SDK RAM + +- _Features_ + - Support the API `ListPermissionVersions` +- _Bug Fix_ + - None +- _Change_ + - **ListPermissions** + - changes of request param + - `+ permission_type` + - changes of response param + - `+ permissions.permission_urn` + - `+ permissions.permission_type` + - `+ permissions.default_version` + - `+ permissions.version` + - `+ permissions.status` + - **ShowPermission** + - changes of request param + - `+ permission_version` + - changes of response param + - `+ permission.permission_urn` + - `+ permission.permission_type` + - `+ permission.default_version` + - `+ permission.version` + - `+ permission.status` + +### HuaweiCloud SDK RDS + +- _Features_ + - None +- _Bug Fix_ + - None +- _Change_ + - **ShowBinlogClearPolicy** + - changes of response param + - `+ binlog_clear_type` + +### HuaweiCloud SDK VPCEP + +- _Features_ + - None +- _Bug Fix_ + - None +- _Change_ + - **AddOrRemoveServicePermissions** + - changes of response param + - `- permission_type: enum value [domainId,orgPath]` + - **ListServiceDescribeDetails** + - changes of response param + - `- service_type: enum value [interface]` + - `* created_at: string -> date-time` + - **ListServiceDetails** + - changes of response param + - `- server_type: enum value [VM,VIP,LB]` + - `- status: enum value [creating,available,failed]` + - `- service_type: enum value [gataway,interface]` + - `* created_at: string -> date-time` + - `* updated_at: string -> date-time` + - `- tcp_proxy: enum value [close,toa_open,proxy_open,open,proxy_vni]` + - **UpdateEndpointService** + - changes of response param + - `- server_type: enum value [VM,VIP,LB]` + - `- status: enum value [creating,available,failed]` + - `* created_at: string -> date-time` + - `* updated_at: string -> date-time` + - `- tcp_proxy: enum value [close,toa_open,proxy_open,open,proxy_vni]` + - **ListServicePermissionsDetails** + - changes of response param + - `- permissions.permission_type: enum value [domainId,orgPath]` + - `* permissions.created_at: string -> date-time` + - **ListServicePublicDetails** + - changes of response param + - `- endpoint_services.service_type: enum value [interface,gateway]` + - `* endpoint_services.created_at: string -> date-time` + - **ListEndpointInfoDetails** + - changes of response param + - `- service_type: enum value [interface,gateway]` + - `- status: enum value [pendingAcceptance,creating,accepted,rejected,failed,deleting]` + - `- enable_status: enum value [enable,disable]` + - `* created_at: string -> date-time` + - `* updated_at: string -> date-time` + - `* policy_statement: list -> list` + - **UpdateEndpointWhite** + - changes of response param + - `- service_type: enum value [interface,gateway]` + - `- status: enum value [pendingAcceptance,creating,accepted,rejected,failed,deleting]` + - `* created_at: string -> date-time` + - `* updated_at: string -> date-time` + - **BatchAddOrRemoveResourceInstance** + - changes of request param + - `+ resource_type: enum value [endpoint_service,endpoint]` + - `+ action: enum value [create,delete]` + - `* body: object -> object` + - **ListQueryProjectResourceTags** + - changes of request param + - `+ resource_type: enum value [endpoint_service,endpoint]` + - **BatchAddEndpointServicePermissions** + - changes of request param + - `* body: object -> object` + - changes of response param + - `* permissions.created_at: string -> date-time` + - **BatchRemoveEndpointServicePermissions** + - changes of request param + - `* body: object -> object` + - changes of response param + - `* permissions.created_at: string -> date-time` + - **UpdateEndpointServicePermissionDesc** + - changes of request param + - `* body: object -> object` + - changes of response param + - `* permissions.created_at: string -> date-time` + - **UpdateEndpointPolicy** + - changes of request param + - `+ policy_statement.Effect: enum value [Allow,Refuse]` + - changes of response param + - `- enable_dns` + - `- dns_names` + - `- subnet_id` + - `- service_type: enum value [interface,gateway]` + - `- status: enum value [pendingAcceptance,creating,accepted,rejected,failed,deleting]` + - `* created_at: string -> date-time` + - `* updated_at: string -> date-time` + - `+ policy_statement.Effect: enum value [Allow,Refuse]` + - **DeleteEndpointPolicy** + - changes of response param + - `- enable_dns` + - `- dns_names` + - `- subnet_id` + - `- service_type: enum value [interface,gateway]` + - `- status: enum value [pendingAcceptance,creating,accepted,rejected,failed,deleting]` + - `* created_at: string -> date-time` + - `* updated_at: string -> date-time` + - `+ policy_statement.Effect: enum value [Allow,Refuse]` + - **CreateEndpointService** + - changes of request param + - `+ service_type: enum value [gateway,interface]` + - changes of response param + - `- server_type: enum value [VM,VIP,LB]` + - `- status: enum value [creating,available,failed]` + - `* created_at: string -> date-time` + - `* updated_at: string -> date-time` + - `- tcp_proxy: enum value [close,toa_open,proxy_open,open,proxy_vni]` + - **ListEndpointService** + - changes of response param + - `- endpoint_services.status: enum value [creating,available,failed]` + - `- endpoint_services.service_type: enum value [VM,VIP,LB]` + - `* endpoint_services.created_at: string -> date-time` + - `* endpoint_services.updated_at: string -> date-time` + - `- endpoint_services.tcp_proxy: enum value [close,toa_open,proxy_open,open,proxy_vni]` + - **ListServiceConnections** + - changes of request param + - `+ status: enum value [pendingAcceptance,accepted,rejected,failed]` + - changes of response param + - `* connections.created_at: string -> date-time` + - `* connections.updated_at: string -> date-time` + - `- connections.status: enum value [pendingAcceptance,creating,accepted,rejected,failed,deleting]` + - **AcceptOrRejectEndpoint** + - changes of response param + - `* connections.created_at: string -> date-time` + - `* connections.updated_at: string -> date-time` + - `- connections.status: enum value [pendingAcceptance,creating,accepted,rejected,failed,deleting]` + - **CreateEndpoint** + - changes of response param + - `- dns_names` + - `- service_type: enum value [interface,gateway]` + - `- status: enum value [pendingAcceptance,creating,accepted,rejected,failed,deleting]` + - `* created_at: string -> date-time` + - `* updated_at: string -> date-time` + - `* policy_statement: list -> list` + - **ListEndpoints** + - changes of request param + - `+ sort_key: enum value [create_at,update_at]` + - `+ sort_dir: enum value [desc,asc]` + - changes of response param + - `- endpoint_pool_id` + - `- endpoint_service_id` + - `- vpc_id` + - `- created_at` + - `- description` + - `- error` + - `- updated_at` + - `- enable_whitelist` + - `- project_id` + - `- marker_id` + - `- id` + - `- public_border_group` + - `- policy_statement` + - `- routetables` + - `- endpoint_service_name` + - `- ip` + - `- whitelist` + - `- tags` + - `- enable_dns` + - `- service_type` + - `- active_status` + - `- dns_names` + - `- subnet_id` + - `- status` + - `- endpoints.service_type: enum value [interface,gateway]` + - `- endpoints.status: enum value [pendingAcceptance,creating,accepted,rejected,failed,deleting]` + - `* endpoints.created_at: string -> date-time` + - `* endpoints.updated_at: string -> date-time` + - `+ endpoints.policy_statement.Effect: enum value [Allow,Refuse]` + - `* endpoints: list -> list` + - **ListQuotaDetails** + - changes of response param + - `- quotas.resources.type: enum value [endpoint_service,endpoint]` + - `* quotas: object -> object` + - **ListVersionDetails** + - changes of response param + - `- versions.status: enum value [CURRENT,SUPPORT,DEPRECATED]` + - `- versions.id: enum value [v1]` + - `* versions.updated: string -> date-time` + - **ListSpecifiedVersionDetails** + - changes of response param + - `- version.status: enum value [CURRENT,SUPPORT,DEPRECATED]` + - `- version.id: enum value [v1]` + - `* version.updated: string -> date-time` + - **ListResourceInstances** + - changes of request param + - `+ resource_type: enum value [endpoint_service,endpoint]` + - `+ action: enum value [filter,count]` + - **UpdateEndpointConnectionsDesc** + - changes of request param + - `* body: object -> object` + - changes of response param + - `* connections.created_at: string -> date-time` + - `* connections.updated_at: string -> date-time` + - `- connections.status: enum value [pendingAcceptance,creating,accepted,rejected,failed,deleting]` + # 3.1.85 2024-03-07 ### HuaweiCloud SDK BMS diff --git a/CHANGELOG_CN.md b/CHANGELOG_CN.md index 6793bb6944..c103187253 100644 --- a/CHANGELOG_CN.md +++ b/CHANGELOG_CN.md @@ -1,3 +1,646 @@ +# 3.1.86 2024-03-14 + +### HuaweiCloud SDK CAE + +- _新增特性_ + - 无 +- _解决问题_ + - 无 +- _特性变更_ + - **ListComponentConfigurations** + - 响应参数变更 + - `* items.data.spec.items.ports.target_port: string -> int32` + - `* items.data.spec.items.ports.port: string -> int32` + - **CreateComponentConfiguration** + - 请求参数变更 + - `* items.data.spec.items.ports.target_port: string -> int32` + - `* items.data.spec.items.ports.port: string -> int32` + +### HuaweiCloud SDK DGC + +- _新增特性_ + - 无 +- _解决问题_ + - 无 +- _特性变更_ + - **CreateJob** + - 请求参数变更 + - `+ nodes.type: enum value [OneclickCDC]` + - **ShowJob** + - 响应参数变更 + - `+ nodes.type: enum value [OneclickCDC]` + - **UpdateJob** + - 请求参数变更 + - `+ nodes.type: enum value [OneclickCDC]` + - **CreateSupplementdata** + - 请求参数变更 + - `+ dependJobs.nodes.type: enum value [OneclickCDC]` + +### HuaweiCloud SDK DRS + +- _新增特性_ + - 支持接口`ListAvailableNodeTypes` +- _解决问题_ + - 无 +- _特性变更_ + - **BatchSetPolicy** + - 请求参数变更 + - `+ jobs.ddl_topic` + - **BatchCreateJobs** + - 请求参数变更 + - `+ jobs.public_ip_list` + - **ShowJobList** + - 响应参数变更 + - `+ jobs.children.job_direction: enum value [non-dbs]` + - `- jobs.children.job_direction: enum value [no-dbs]` + - **BatchListJobDetails** + - 响应参数变更 + - `+ results.public_ip_list` + - `+ results.bind_public_ip_state` + - `+ results.children` + - **ShowUpdateObjectSavingStatus** + - 响应参数变更 + - `+ job_id` + - **CollectDbObjectsAsync** + - 响应参数变更 + - `+ job_id` + - **ShowDataProcessingRulesResult** + - 响应参数变更 + - `+ job_id` + - **CollectDbObjectsInfo** + - 响应参数变更 + - `+ job_id` + - **CollectPositionAsync** + - 响应参数变更 + - `+ job_id` + - **CollectColumns** + - 响应参数变更 + - `+ job_id` + - **CreateJob** + - 请求参数变更 + - `+ job.public_ip_list` + - **BatchCreateJobsAsync** + - 请求参数变更 + - `+ jobs.public_ip_list` + - **UpdateDataProgress** + - 响应参数变更 + - `+ job_id` + - **CheckDataFilter** + - 响应参数变更 + - `+ job_id` + - **ListAsyncJobDetail** + - 响应参数变更 + - `+ jobs.public_ip_list` + - `+ jobs.bind_public_ip_state` + - `+ jobs.children` + - **ShowJobDetail** + - 响应参数变更 + - `+ job.public_ip_list` + - `+ job.bind_public_ip_state` + - `+ job.children` + - **ExecuteJobAction** + - 请求参数变更 + - `+ job.action_name: enum value [bind_eip,unbind_eip]` + - `+ job.action_params.public_ip_config` + - **BatchExecuteJobActions** + - 请求参数变更 + - `+ jobs.action_name: enum value [bind_eip,unbind_eip]` + - `+ jobs.action_params.public_ip_config` + +### HuaweiCloud SDK DWS + +- _新增特性_ + - 支持接口`ListMetrics`、`ListMetricsData` +- _解决问题_ + - 无 +- _特性变更_ + - 无 + +### HuaweiCloud SDK IdentityCenter + +- _新增特性_ + - 无 +- _解决问题_ + - 无 +- _特性变更_ + - 移除以下接口: + - `AttachCustomerManagedPolicyToPermissionSet` + - `DetachCustomerManagedPolicyReferenceFromPermissionSet` + - `ListCustomerManagedPolicyReferencesInPermissionSet` + - `ListProfileAssociations` + - `AttachManagedPolicyToPermissionSet` + - `DeleteAccountAssignment` + - `DescribeAccountAssignmentCreationStatus` + - `DescribePermissionSetProvisioningStatus` + - `DetachManagedPolicyFromPermissionSet` + - `ListAccountAssignmentCreationStatus` + - `ListAccountAssignmentDeletionStatus` + - `ListAccountAssignments` + - `ListAccountsForProvisionedPermissionSet` + - `ListManagedPoliciesInPermissionSet` + - `ListPermissionSetProvisioningStatus` + - `ListPermissionSets` + - `CreatePermissionSet` + - `ListPermissionSetsProvisionedToAccount` + - `CreateAccountAssignment` + - `DescribeAccountAssignmentDeletionStatus` + - `DescribePermissionSet` + - `UpdatePermissionSet` + - `DeletePermissionSet` + - **ListInstances** + - 请求参数变更 + - `+ X-Security-Token` + - 响应参数变更 + - `+ instances.instance_urn` + +### HuaweiCloud SDK IdentityCenterStore + +- _新增特性_ + - 无 +- _解决问题_ + - 无 +- _特性变更_ + - **ListUsers** + - 响应参数变更 + - `+ users.external_id` + - `+ users.enterprise` + - `+ users.emails.verification_status` + +### HuaweiCloud SDK MetaStudio + +- _新增特性_ + - 支持以下接口: + - `ShowAssetReplicationInfo` + - `CreateAssetbyReplicationInfo` + - `ListActiveCode` + - `CreateActiveCode` + - `ShowActiveCode` + - `UpdateActiveCode` + - `ResetActiveCode` + - `DeleteActiveCode` +- _解决问题_ + - 无 +- _特性变更_ + - **CreateFile** + - 响应参数变更 + - `+ file_id` + - `+ upload_url` + - **ShowJobUploadingAddress** + - 响应参数变更 + - `+ package_url` + - `+ authorization_letter_uploading_url` + - `+ segment_url` + - **ShowJobAuditResult** + - 响应参数变更 + - `+ system_audit_result` + - `+ admin_audit_result` + - **ShowTrainingSegmentInfo** + - 响应参数变更 + - `+ confirmed_index` + - **ConfirmTrainingSegment** + - 响应参数变更 + - `+ unmatched_index_hit` + - `+ confirm_result` + - **Create2dModelTrainingJob** + - 响应参数变更 + - `+ cover_upload_url` + - `+ job_id` + - `+ grant_file_upload_url` + - `+ training_video_upload_url` + - `+ id_card_image2_upload_url` + - `+ id_card_image1_upload_url` + - **List2dModelTrainingJob** + - 响应参数变更 + - `+ jobs` + - `+ count` + - **Execute2dModelTrainingCommandByUser** + - 响应参数变更 + - `+ commond_result` + - `+ attachment_upload_url` + - `+ multipart_data` + - **ExecuteSmartLiveCommand** + - 请求参数变更 + - `+ command: enum value [REWRITE_INTERACTION_RULES,GET_LIVE_JOB_CONFIG_INFO]` + - 响应参数变更 + - `+ command_id` + - `+ command: enum value [REWRITE_INTERACTION_RULES,GET_LIVE_JOB_CONFIG_INFO]` + - **CreateTrainingBasicJob** + - 响应参数变更 + - `+ job_id` + - `+ segment_uploading_url` + - `+ authorization_letter_uploading_url` + - `+ training_data_uploading_url` + - **CreateTrainingMiddleJob** + - 响应参数变更 + - `+ job_id` + - `+ segment_uploading_url` + - `+ authorization_letter_uploading_url` + - `+ training_data_uploading_url` + - **CreateTrainingAdvanceJob** + - 响应参数变更 + - `+ job_id` + - `+ segment_uploading_url` + - `+ authorization_letter_uploading_url` + - `+ training_data_uploading_url` + - **ShowVoiceTrainingJob** + - 响应参数变更 + - `+ job_type` + - `+ create_time` + - `+ sex` + - `+ create_type` + - `+ voice_name` + - `+ language` + - `+ voice_authorization_url` + - `+ asset_id` + - `+ lastupdate_time` + - `+ job_failed_code` + - `+ reject_times` + - `+ app_user_id` + - `+ job_id` + - `+ state` + - `+ tag` + - `+ job_failed_reason` + - `+ state: enum value [USER_RESULT_REVIEW,USER_REVIEW_REJECT]` + - **Update2dModelTrainingJob** + - 响应参数变更 + - `+ cover_upload_url` + - `+ job_id` + - `+ grant_file_upload_url` + - `+ training_video_upload_url` + - `+ id_card_image2_upload_url` + - `+ id_card_image1_upload_url` + - **Show2dModelTrainingJob** + - 响应参数变更 + - `+ model_version` + - `+ inference_data_process_action_mark_info` + - `+ model_resolution` + - `+ inference_data_process_video_mark_info` + - `+ asset_id` + - `+ training_video_download_url` + - `+ mask_file_download_url` + - `+ grant_file_download_url` + - `+ project_id` + - `+ operation_logs` + - `+ contact` + - `+ matting_type` + - `+ verify_video_download_url` + - `+ state` + - `+ cover_download_url` + - `+ create_time` + - `+ is_background_replacement` + - `+ comment_logs` + - `+ markable_video_download_url` + - `+ tags` + - `+ last_update_time` + - `+ batch_name` + - `+ id_card_image1_download_url` + - `+ id_card_image2_download_url` + - `+ job_id` + - `+ is_mask_file_uploaded` + - `+ name` + - **ListDigitalHumanVideo** + - 响应参数变更 + - `+ jobs.state: enum value [BLOCK]` + - **CreateDigitalHumanBusinessCard** + - 响应参数变更 + - `+ job_id` + - **ListDigitalHumanBusinessCard** + - 响应参数变更 + - `+ jobs.state: enum value [BLOCK]` + - **UpdateDigitalHumanBusinessCard** + - 响应参数变更 + - `+ job_id` + - **ShowDigitalHumanBusinessCard** + - 响应参数变更 + - `+ job_info.state: enum value [BLOCK]` + - **ListSmartChatRooms** + - 响应参数变更 + - `+ count_concurrency` + - `+ smart_chat_rooms.concurrency` + - **ShowSmartLive** + - 响应参数变更 + - `+ co_streamer_config` + - `+ live_job_log` + - **CreatePictureModelingJob** + - 响应参数变更 + - `+ model_asset_id` + - `+ job_id` + - **ListVoiceTrainingJob** + - 响应参数变更 + - `+ jobs` + - `+ count` + - `+ reject_times` + - `+ jobs.reject_times` + - `+ jobs.state: enum value [USER_RESULT_REVIEW,USER_REVIEW_REJECT]` + - **StartSmartLive** + - 请求参数变更 + - `+ co_streamer_config` + - **ListSmartLive** + - 响应参数变更 + - `+ co_streamer_config` + - `+ live_job_log` + - `+ smart_live_jobs.co_streamer_config` + - `+ smart_live_jobs.live_job_log` + - **ListSmartLiveJobs** + - 响应参数变更 + - `+ co_streamer_config` + - `+ live_job_log` + - `+ smart_live_jobs.co_streamer_config` + - `+ smart_live_jobs.live_job_log` + - **CreateVideoMotionCaptureJob** + - 响应参数变更 + - `+ rtc_room_info` + - `+ job_id` + - **Show2DDigitalHumanVideo** + - 响应参数变更 + - `+ state: enum value [BLOCK]` + - **ShowPhotoDigitalHumanVideo** + - 响应参数变更 + - `+ state: enum value [BLOCK]` + - **ListSmartLiveRooms** + - 响应参数变更 + - `+ smart_live_rooms.view_mode` + - `+ smart_live_rooms.thumbnail` + - **CreateSmartLiveRoom** + - 请求参数变更 + - `+ co_streamer_config` + - `+ scene_scripts.script_id` + - `+ interaction_rules.trigger.reply_role` + - **ShowSmartLiveRoom** + - 响应参数变更 + - `+ thumbnail` + - `+ co_streamer_config` + - `+ scene_scripts.script_id` + - `+ interaction_rules.trigger.reply_role` + - **UpdateSmartLiveRoom** + - 请求参数变更 + - `+ co_streamer_config` + - `+ scene_scripts.script_id` + - `+ interaction_rules.trigger.reply_role` + - 响应参数变更 + - `+ thumbnail` + - `+ co_streamer_config` + - `+ scene_scripts.script_id` + - `+ interaction_rules.trigger.reply_role` + - **UpdateInteractionRuleGroup** + - 请求参数变更 + - `+ interaction_rules.trigger.reply_role` + - 响应参数变更 + - `+ interaction_rules.trigger.reply_role` + - **ListAssets** + - 请求参数变更 + - `+ X-REAL-IP` + - **CreateInteractionRuleGroup** + - 请求参数变更 + - `+ interaction_rules.trigger.reply_role` + - **ListInteractionRuleGroups** + - 响应参数变更 + - `+ interaction_rule_groups.interaction_rules.trigger.reply_role` + +### HuaweiCloud SDK Organizations + +- _新增特性_ + - 支持接口`ListCloseAccountStatuses` +- _解决问题_ + - 无 +- _特性变更_ + - **ListAccounts** + - 响应参数变更 + - `+ accounts.status` + - **ShowAccount** + - 响应参数变更 + - `+ account.status` + +### HuaweiCloud SDK RAM + +- _新增特性_ + - 支持接口`ListPermissionVersions` +- _解决问题_ + - 无 +- _特性变更_ + - **ListPermissions** + - 请求参数变更 + - `+ permission_type` + - 响应参数变更 + - `+ permissions.permission_urn` + - `+ permissions.permission_type` + - `+ permissions.default_version` + - `+ permissions.version` + - `+ permissions.status` + - **ShowPermission** + - 请求参数变更 + - `+ permission_version` + - 响应参数变更 + - `+ permission.permission_urn` + - `+ permission.permission_type` + - `+ permission.default_version` + - `+ permission.version` + - `+ permission.status` + +### HuaweiCloud SDK RDS + +- _新增特性_ + - 无 +- _解决问题_ + - 无 +- _特性变更_ + - **ShowBinlogClearPolicy** + - 响应参数变更 + - `+ binlog_clear_type` + +### HuaweiCloud SDK VPCEP + +- _新增特性_ + - 无 +- _解决问题_ + - 无 +- _特性变更_ + - **AddOrRemoveServicePermissions** + - 响应参数变更 + - `- permission_type: enum value [domainId,orgPath]` + - **ListServiceDescribeDetails** + - 响应参数变更 + - `- service_type: enum value [interface]` + - `* created_at: string -> date-time` + - **ListServiceDetails** + - 响应参数变更 + - `- server_type: enum value [VM,VIP,LB]` + - `- status: enum value [creating,available,failed]` + - `- service_type: enum value [gataway,interface]` + - `* created_at: string -> date-time` + - `* updated_at: string -> date-time` + - `- tcp_proxy: enum value [close,toa_open,proxy_open,open,proxy_vni]` + - **UpdateEndpointService** + - 响应参数变更 + - `- server_type: enum value [VM,VIP,LB]` + - `- status: enum value [creating,available,failed]` + - `* created_at: string -> date-time` + - `* updated_at: string -> date-time` + - `- tcp_proxy: enum value [close,toa_open,proxy_open,open,proxy_vni]` + - **ListServicePermissionsDetails** + - 响应参数变更 + - `- permissions.permission_type: enum value [domainId,orgPath]` + - `* permissions.created_at: string -> date-time` + - **ListServicePublicDetails** + - 响应参数变更 + - `- endpoint_services.service_type: enum value [interface,gateway]` + - `* endpoint_services.created_at: string -> date-time` + - **ListEndpointInfoDetails** + - 响应参数变更 + - `- service_type: enum value [interface,gateway]` + - `- status: enum value [pendingAcceptance,creating,accepted,rejected,failed,deleting]` + - `- enable_status: enum value [enable,disable]` + - `* created_at: string -> date-time` + - `* updated_at: string -> date-time` + - `* policy_statement: list -> list` + - **UpdateEndpointWhite** + - 响应参数变更 + - `- service_type: enum value [interface,gateway]` + - `- status: enum value [pendingAcceptance,creating,accepted,rejected,failed,deleting]` + - `* created_at: string -> date-time` + - `* updated_at: string -> date-time` + - **BatchAddOrRemoveResourceInstance** + - 请求参数变更 + - `+ resource_type: enum value [endpoint_service,endpoint]` + - `+ action: enum value [create,delete]` + - `* body: object -> object` + - **ListQueryProjectResourceTags** + - 请求参数变更 + - `+ resource_type: enum value [endpoint_service,endpoint]` + - **BatchAddEndpointServicePermissions** + - 请求参数变更 + - `* body: object -> object` + - 响应参数变更 + - `* permissions.created_at: string -> date-time` + - **BatchRemoveEndpointServicePermissions** + - 请求参数变更 + - `* body: object -> object` + - 响应参数变更 + - `* permissions.created_at: string -> date-time` + - **UpdateEndpointServicePermissionDesc** + - 请求参数变更 + - `* body: object -> object` + - 响应参数变更 + - `* permissions.created_at: string -> date-time` + - **UpdateEndpointPolicy** + - 请求参数变更 + - `+ policy_statement.Effect: enum value [Allow,Refuse]` + - 响应参数变更 + - `- enable_dns` + - `- dns_names` + - `- subnet_id` + - `- service_type: enum value [interface,gateway]` + - `- status: enum value [pendingAcceptance,creating,accepted,rejected,failed,deleting]` + - `* created_at: string -> date-time` + - `* updated_at: string -> date-time` + - `+ policy_statement.Effect: enum value [Allow,Refuse]` + - **DeleteEndpointPolicy** + - 响应参数变更 + - `- enable_dns` + - `- dns_names` + - `- subnet_id` + - `- service_type: enum value [interface,gateway]` + - `- status: enum value [pendingAcceptance,creating,accepted,rejected,failed,deleting]` + - `* created_at: string -> date-time` + - `* updated_at: string -> date-time` + - `+ policy_statement.Effect: enum value [Allow,Refuse]` + - **CreateEndpointService** + - 请求参数变更 + - `+ service_type: enum value [gateway,interface]` + - 响应参数变更 + - `- server_type: enum value [VM,VIP,LB]` + - `- status: enum value [creating,available,failed]` + - `* created_at: string -> date-time` + - `* updated_at: string -> date-time` + - `- tcp_proxy: enum value [close,toa_open,proxy_open,open,proxy_vni]` + - **ListEndpointService** + - 响应参数变更 + - `- endpoint_services.status: enum value [creating,available,failed]` + - `- endpoint_services.service_type: enum value [VM,VIP,LB]` + - `* endpoint_services.created_at: string -> date-time` + - `* endpoint_services.updated_at: string -> date-time` + - `- endpoint_services.tcp_proxy: enum value [close,toa_open,proxy_open,open,proxy_vni]` + - **ListServiceConnections** + - 请求参数变更 + - `+ status: enum value [pendingAcceptance,accepted,rejected,failed]` + - 响应参数变更 + - `* connections.created_at: string -> date-time` + - `* connections.updated_at: string -> date-time` + - `- connections.status: enum value [pendingAcceptance,creating,accepted,rejected,failed,deleting]` + - **AcceptOrRejectEndpoint** + - 响应参数变更 + - `* connections.created_at: string -> date-time` + - `* connections.updated_at: string -> date-time` + - `- connections.status: enum value [pendingAcceptance,creating,accepted,rejected,failed,deleting]` + - **CreateEndpoint** + - 响应参数变更 + - `- dns_names` + - `- service_type: enum value [interface,gateway]` + - `- status: enum value [pendingAcceptance,creating,accepted,rejected,failed,deleting]` + - `* created_at: string -> date-time` + - `* updated_at: string -> date-time` + - `* policy_statement: list -> list` + - **ListEndpoints** + - 请求参数变更 + - `+ sort_key: enum value [create_at,update_at]` + - `+ sort_dir: enum value [desc,asc]` + - 响应参数变更 + - `- endpoint_pool_id` + - `- endpoint_service_id` + - `- vpc_id` + - `- created_at` + - `- description` + - `- error` + - `- updated_at` + - `- enable_whitelist` + - `- project_id` + - `- marker_id` + - `- id` + - `- public_border_group` + - `- policy_statement` + - `- routetables` + - `- endpoint_service_name` + - `- ip` + - `- whitelist` + - `- tags` + - `- enable_dns` + - `- service_type` + - `- active_status` + - `- dns_names` + - `- subnet_id` + - `- status` + - `- endpoints.service_type: enum value [interface,gateway]` + - `- endpoints.status: enum value [pendingAcceptance,creating,accepted,rejected,failed,deleting]` + - `* endpoints.created_at: string -> date-time` + - `* endpoints.updated_at: string -> date-time` + - `+ endpoints.policy_statement.Effect: enum value [Allow,Refuse]` + - `* endpoints: list -> list` + - **ListQuotaDetails** + - 响应参数变更 + - `- quotas.resources.type: enum value [endpoint_service,endpoint]` + - `* quotas: object -> object` + - **ListVersionDetails** + - 响应参数变更 + - `- versions.status: enum value [CURRENT,SUPPORT,DEPRECATED]` + - `- versions.id: enum value [v1]` + - `* versions.updated: string -> date-time` + - **ListSpecifiedVersionDetails** + - 响应参数变更 + - `- version.status: enum value [CURRENT,SUPPORT,DEPRECATED]` + - `- version.id: enum value [v1]` + - `* version.updated: string -> date-time` + - **ListResourceInstances** + - 请求参数变更 + - `+ resource_type: enum value [endpoint_service,endpoint]` + - `+ action: enum value [filter,count]` + - **UpdateEndpointConnectionsDesc** + - 请求参数变更 + - `* body: object -> object` + - 响应参数变更 + - `* connections.created_at: string -> date-time` + - `* connections.updated_at: string -> date-time` + - `- connections.status: enum value [pendingAcceptance,creating,accepted,rejected,failed,deleting]` + # 3.1.85 2024-03-07 ### HuaweiCloud SDK BMS diff --git a/VERSION b/VERSION index f00f59b3c7..4a349469d8 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.1.85 +3.1.86 diff --git a/huaweicloud-sdk-aad/requirements.txt b/huaweicloud-sdk-aad/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-aad/requirements.txt +++ b/huaweicloud-sdk-aad/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-aad/setup.py b/huaweicloud-sdk-aad/setup.py index 7eafbd88c0..48630379d0 100644 --- a/huaweicloud-sdk-aad/setup.py +++ b/huaweicloud-sdk-aad/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkaad" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-all/requirements.txt b/huaweicloud-sdk-all/requirements.txt index 70feb68c66..8e9d089788 100644 --- a/huaweicloud-sdk-all/requirements.txt +++ b/huaweicloud-sdk-all/requirements.txt @@ -1,162 +1,162 @@ -huaweicloudsdkcore == 3.1.85 -huaweicloudsdkaad == 3.1.85 -huaweicloudsdkantiddos == 3.1.85 -huaweicloudsdkaom == 3.1.85 -huaweicloudsdkaos == 3.1.85 -huaweicloudsdkapig == 3.1.85 -huaweicloudsdkapm == 3.1.85 -huaweicloudsdkas == 3.1.85 -huaweicloudsdkasm == 3.1.85 -huaweicloudsdkbcs == 3.1.85 -huaweicloudsdkbms == 3.1.85 -huaweicloudsdkbss == 3.1.85 -huaweicloudsdkbssintl == 3.1.85 -huaweicloudsdkcae == 3.1.85 -huaweicloudsdkcampusgo == 3.1.85 -huaweicloudsdkcbh == 3.1.85 -huaweicloudsdkcbr == 3.1.85 -huaweicloudsdkcbs == 3.1.85 -huaweicloudsdkcc == 3.1.85 -huaweicloudsdkcce == 3.1.85 -huaweicloudsdkccm == 3.1.85 -huaweicloudsdkcdm == 3.1.85 -huaweicloudsdkcdn == 3.1.85 -huaweicloudsdkces == 3.1.85 -huaweicloudsdkcfw == 3.1.85 -huaweicloudsdkcgs == 3.1.85 -huaweicloudsdkclassroom == 3.1.85 -huaweicloudsdkcloudide == 3.1.85 -huaweicloudsdkcloudpond == 3.1.85 -huaweicloudsdkcloudrtc == 3.1.85 -huaweicloudsdkcloudtable == 3.1.85 -huaweicloudsdkcloudtest == 3.1.85 -huaweicloudsdkcodeartsartifact == 3.1.85 -huaweicloudsdkcodeartsbuild == 3.1.85 -huaweicloudsdkcodeartscheck == 3.1.85 -huaweicloudsdkcodeartsdeploy == 3.1.85 -huaweicloudsdkcodeartsinspector == 3.1.85 -huaweicloudsdkcodeartspipeline == 3.1.85 -huaweicloudsdkcodecraft == 3.1.85 -huaweicloudsdkcodehub == 3.1.85 -huaweicloudsdkconfig == 3.1.85 -huaweicloudsdkcph == 3.1.85 -huaweicloudsdkcpts == 3.1.85 -huaweicloudsdkcse == 3.1.85 -huaweicloudsdkcsms == 3.1.85 -huaweicloudsdkcss == 3.1.85 -huaweicloudsdkcts == 3.1.85 -huaweicloudsdkdas == 3.1.85 -huaweicloudsdkdataartsstudio == 3.1.85 -huaweicloudsdkdbss == 3.1.85 -huaweicloudsdkdc == 3.1.85 -huaweicloudsdkdcs == 3.1.85 -huaweicloudsdkddm == 3.1.85 -huaweicloudsdkdds == 3.1.85 -huaweicloudsdkdeh == 3.1.85 -huaweicloudsdkdevsecurity == 3.1.85 -huaweicloudsdkdevstar == 3.1.85 -huaweicloudsdkdgc == 3.1.85 -huaweicloudsdkdis == 3.1.85 -huaweicloudsdkdlf == 3.1.85 -huaweicloudsdkdli == 3.1.85 -huaweicloudsdkdns == 3.1.85 -huaweicloudsdkdris == 3.1.85 -huaweicloudsdkdrs == 3.1.85 -huaweicloudsdkdsc == 3.1.85 -huaweicloudsdkdwr == 3.1.85 -huaweicloudsdkdws == 3.1.85 -huaweicloudsdkec == 3.1.85 -huaweicloudsdkecs == 3.1.85 -huaweicloudsdkedgesec == 3.1.85 -huaweicloudsdkeg == 3.1.85 -huaweicloudsdkeihealth == 3.1.85 -huaweicloudsdkeip == 3.1.85 -huaweicloudsdkelb == 3.1.85 -huaweicloudsdkeps == 3.1.85 -huaweicloudsdker == 3.1.85 -huaweicloudsdkevs == 3.1.85 -huaweicloudsdkfrs == 3.1.85 -huaweicloudsdkfunctiongraph == 3.1.85 -huaweicloudsdkga == 3.1.85 -huaweicloudsdkgaussdb == 3.1.85 -huaweicloudsdkgaussdbfornosql == 3.1.85 -huaweicloudsdkgaussdbforopengauss == 3.1.85 -huaweicloudsdkgeip == 3.1.85 -huaweicloudsdkges == 3.1.85 -huaweicloudsdkgsl == 3.1.85 -huaweicloudsdkhilens == 3.1.85 -huaweicloudsdkhss == 3.1.85 -huaweicloudsdkiam == 3.1.85 -huaweicloudsdkiamaccessanalyzer == 3.1.85 -huaweicloudsdkidentitycenter == 3.1.85 -huaweicloudsdkidentitycenterstore == 3.1.85 -huaweicloudsdkidme == 3.1.85 -huaweicloudsdkidmeclassicapi == 3.1.85 -huaweicloudsdkiec == 3.1.85 -huaweicloudsdkief == 3.1.85 -huaweicloudsdkimage == 3.1.85 -huaweicloudsdkimagesearch == 3.1.85 -huaweicloudsdkims == 3.1.85 -huaweicloudsdkiotanalytics == 3.1.85 -huaweicloudsdkiotda == 3.1.85 -huaweicloudsdkiotedge == 3.1.85 -huaweicloudsdkivs == 3.1.85 -huaweicloudsdkkafka == 3.1.85 -huaweicloudsdkkms == 3.1.85 -huaweicloudsdkkoomessage == 3.1.85 -huaweicloudsdkkps == 3.1.85 -huaweicloudsdklakeformation == 3.1.85 -huaweicloudsdklive == 3.1.85 -huaweicloudsdklts == 3.1.85 -huaweicloudsdkmapds == 3.1.85 -huaweicloudsdkmas == 3.1.85 -huaweicloudsdkmeeting == 3.1.85 -huaweicloudsdkmetastudio == 3.1.85 -huaweicloudsdkmoderation == 3.1.85 -huaweicloudsdkmpc == 3.1.85 -huaweicloudsdkmrs == 3.1.85 -huaweicloudsdkmsgsms == 3.1.85 -huaweicloudsdkmssi == 3.1.85 -huaweicloudsdknat == 3.1.85 -huaweicloudsdknlp == 3.1.85 -huaweicloudsdkobs == 3.1.85 -huaweicloudsdkocr == 3.1.85 -huaweicloudsdkoctopus == 3.1.85 -huaweicloudsdkoms == 3.1.85 -huaweicloudsdkoptverse == 3.1.85 -huaweicloudsdkorganizations == 3.1.85 -huaweicloudsdkorgid == 3.1.85 -huaweicloudsdkoroas == 3.1.85 -huaweicloudsdkosm == 3.1.85 -huaweicloudsdkpangulargemodels == 3.1.85 -huaweicloudsdkprojectman == 3.1.85 -huaweicloudsdkrabbitmq == 3.1.85 -huaweicloudsdkram == 3.1.85 -huaweicloudsdkrds == 3.1.85 -huaweicloudsdkres == 3.1.85 -huaweicloudsdkrgc == 3.1.85 -huaweicloudsdkrms == 3.1.85 -huaweicloudsdkrocketmq == 3.1.85 -huaweicloudsdkroma == 3.1.85 -huaweicloudsdksa == 3.1.85 -huaweicloudsdkscm == 3.1.85 -huaweicloudsdksdrs == 3.1.85 -huaweicloudsdksecmaster == 3.1.85 -huaweicloudsdkservicestage == 3.1.85 -huaweicloudsdksfsturbo == 3.1.85 -huaweicloudsdksis == 3.1.85 -huaweicloudsdksmn == 3.1.85 -huaweicloudsdksms == 3.1.85 -huaweicloudsdkswr == 3.1.85 -huaweicloudsdktics == 3.1.85 -huaweicloudsdktms == 3.1.85 -huaweicloudsdkugo == 3.1.85 -huaweicloudsdkvas == 3.1.85 -huaweicloudsdkvcm == 3.1.85 -huaweicloudsdkvod == 3.1.85 -huaweicloudsdkvpc == 3.1.85 -huaweicloudsdkvpcep == 3.1.85 -huaweicloudsdkvpn == 3.1.85 -huaweicloudsdkwaf == 3.1.85 -huaweicloudsdkworkspace == 3.1.85 -huaweicloudsdkworkspaceapp == 3.1.85 +huaweicloudsdkcore == 3.1.86 +huaweicloudsdkaad == 3.1.86 +huaweicloudsdkantiddos == 3.1.86 +huaweicloudsdkaom == 3.1.86 +huaweicloudsdkaos == 3.1.86 +huaweicloudsdkapig == 3.1.86 +huaweicloudsdkapm == 3.1.86 +huaweicloudsdkas == 3.1.86 +huaweicloudsdkasm == 3.1.86 +huaweicloudsdkbcs == 3.1.86 +huaweicloudsdkbms == 3.1.86 +huaweicloudsdkbss == 3.1.86 +huaweicloudsdkbssintl == 3.1.86 +huaweicloudsdkcae == 3.1.86 +huaweicloudsdkcampusgo == 3.1.86 +huaweicloudsdkcbh == 3.1.86 +huaweicloudsdkcbr == 3.1.86 +huaweicloudsdkcbs == 3.1.86 +huaweicloudsdkcc == 3.1.86 +huaweicloudsdkcce == 3.1.86 +huaweicloudsdkccm == 3.1.86 +huaweicloudsdkcdm == 3.1.86 +huaweicloudsdkcdn == 3.1.86 +huaweicloudsdkces == 3.1.86 +huaweicloudsdkcfw == 3.1.86 +huaweicloudsdkcgs == 3.1.86 +huaweicloudsdkclassroom == 3.1.86 +huaweicloudsdkcloudide == 3.1.86 +huaweicloudsdkcloudpond == 3.1.86 +huaweicloudsdkcloudrtc == 3.1.86 +huaweicloudsdkcloudtable == 3.1.86 +huaweicloudsdkcloudtest == 3.1.86 +huaweicloudsdkcodeartsartifact == 3.1.86 +huaweicloudsdkcodeartsbuild == 3.1.86 +huaweicloudsdkcodeartscheck == 3.1.86 +huaweicloudsdkcodeartsdeploy == 3.1.86 +huaweicloudsdkcodeartsinspector == 3.1.86 +huaweicloudsdkcodeartspipeline == 3.1.86 +huaweicloudsdkcodecraft == 3.1.86 +huaweicloudsdkcodehub == 3.1.86 +huaweicloudsdkconfig == 3.1.86 +huaweicloudsdkcph == 3.1.86 +huaweicloudsdkcpts == 3.1.86 +huaweicloudsdkcse == 3.1.86 +huaweicloudsdkcsms == 3.1.86 +huaweicloudsdkcss == 3.1.86 +huaweicloudsdkcts == 3.1.86 +huaweicloudsdkdas == 3.1.86 +huaweicloudsdkdataartsstudio == 3.1.86 +huaweicloudsdkdbss == 3.1.86 +huaweicloudsdkdc == 3.1.86 +huaweicloudsdkdcs == 3.1.86 +huaweicloudsdkddm == 3.1.86 +huaweicloudsdkdds == 3.1.86 +huaweicloudsdkdeh == 3.1.86 +huaweicloudsdkdevsecurity == 3.1.86 +huaweicloudsdkdevstar == 3.1.86 +huaweicloudsdkdgc == 3.1.86 +huaweicloudsdkdis == 3.1.86 +huaweicloudsdkdlf == 3.1.86 +huaweicloudsdkdli == 3.1.86 +huaweicloudsdkdns == 3.1.86 +huaweicloudsdkdris == 3.1.86 +huaweicloudsdkdrs == 3.1.86 +huaweicloudsdkdsc == 3.1.86 +huaweicloudsdkdwr == 3.1.86 +huaweicloudsdkdws == 3.1.86 +huaweicloudsdkec == 3.1.86 +huaweicloudsdkecs == 3.1.86 +huaweicloudsdkedgesec == 3.1.86 +huaweicloudsdkeg == 3.1.86 +huaweicloudsdkeihealth == 3.1.86 +huaweicloudsdkeip == 3.1.86 +huaweicloudsdkelb == 3.1.86 +huaweicloudsdkeps == 3.1.86 +huaweicloudsdker == 3.1.86 +huaweicloudsdkevs == 3.1.86 +huaweicloudsdkfrs == 3.1.86 +huaweicloudsdkfunctiongraph == 3.1.86 +huaweicloudsdkga == 3.1.86 +huaweicloudsdkgaussdb == 3.1.86 +huaweicloudsdkgaussdbfornosql == 3.1.86 +huaweicloudsdkgaussdbforopengauss == 3.1.86 +huaweicloudsdkgeip == 3.1.86 +huaweicloudsdkges == 3.1.86 +huaweicloudsdkgsl == 3.1.86 +huaweicloudsdkhilens == 3.1.86 +huaweicloudsdkhss == 3.1.86 +huaweicloudsdkiam == 3.1.86 +huaweicloudsdkiamaccessanalyzer == 3.1.86 +huaweicloudsdkidentitycenter == 3.1.86 +huaweicloudsdkidentitycenterstore == 3.1.86 +huaweicloudsdkidme == 3.1.86 +huaweicloudsdkidmeclassicapi == 3.1.86 +huaweicloudsdkiec == 3.1.86 +huaweicloudsdkief == 3.1.86 +huaweicloudsdkimage == 3.1.86 +huaweicloudsdkimagesearch == 3.1.86 +huaweicloudsdkims == 3.1.86 +huaweicloudsdkiotanalytics == 3.1.86 +huaweicloudsdkiotda == 3.1.86 +huaweicloudsdkiotedge == 3.1.86 +huaweicloudsdkivs == 3.1.86 +huaweicloudsdkkafka == 3.1.86 +huaweicloudsdkkms == 3.1.86 +huaweicloudsdkkoomessage == 3.1.86 +huaweicloudsdkkps == 3.1.86 +huaweicloudsdklakeformation == 3.1.86 +huaweicloudsdklive == 3.1.86 +huaweicloudsdklts == 3.1.86 +huaweicloudsdkmapds == 3.1.86 +huaweicloudsdkmas == 3.1.86 +huaweicloudsdkmeeting == 3.1.86 +huaweicloudsdkmetastudio == 3.1.86 +huaweicloudsdkmoderation == 3.1.86 +huaweicloudsdkmpc == 3.1.86 +huaweicloudsdkmrs == 3.1.86 +huaweicloudsdkmsgsms == 3.1.86 +huaweicloudsdkmssi == 3.1.86 +huaweicloudsdknat == 3.1.86 +huaweicloudsdknlp == 3.1.86 +huaweicloudsdkobs == 3.1.86 +huaweicloudsdkocr == 3.1.86 +huaweicloudsdkoctopus == 3.1.86 +huaweicloudsdkoms == 3.1.86 +huaweicloudsdkoptverse == 3.1.86 +huaweicloudsdkorganizations == 3.1.86 +huaweicloudsdkorgid == 3.1.86 +huaweicloudsdkoroas == 3.1.86 +huaweicloudsdkosm == 3.1.86 +huaweicloudsdkpangulargemodels == 3.1.86 +huaweicloudsdkprojectman == 3.1.86 +huaweicloudsdkrabbitmq == 3.1.86 +huaweicloudsdkram == 3.1.86 +huaweicloudsdkrds == 3.1.86 +huaweicloudsdkres == 3.1.86 +huaweicloudsdkrgc == 3.1.86 +huaweicloudsdkrms == 3.1.86 +huaweicloudsdkrocketmq == 3.1.86 +huaweicloudsdkroma == 3.1.86 +huaweicloudsdksa == 3.1.86 +huaweicloudsdkscm == 3.1.86 +huaweicloudsdksdrs == 3.1.86 +huaweicloudsdksecmaster == 3.1.86 +huaweicloudsdkservicestage == 3.1.86 +huaweicloudsdksfsturbo == 3.1.86 +huaweicloudsdksis == 3.1.86 +huaweicloudsdksmn == 3.1.86 +huaweicloudsdksms == 3.1.86 +huaweicloudsdkswr == 3.1.86 +huaweicloudsdktics == 3.1.86 +huaweicloudsdktms == 3.1.86 +huaweicloudsdkugo == 3.1.86 +huaweicloudsdkvas == 3.1.86 +huaweicloudsdkvcm == 3.1.86 +huaweicloudsdkvod == 3.1.86 +huaweicloudsdkvpc == 3.1.86 +huaweicloudsdkvpcep == 3.1.86 +huaweicloudsdkvpn == 3.1.86 +huaweicloudsdkwaf == 3.1.86 +huaweicloudsdkworkspace == 3.1.86 +huaweicloudsdkworkspaceapp == 3.1.86 diff --git a/huaweicloud-sdk-all/setup.py b/huaweicloud-sdk-all/setup.py index 714cd64092..da819c1e9b 100644 --- a/huaweicloud-sdk-all/setup.py +++ b/huaweicloud-sdk-all/setup.py @@ -23,7 +23,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkall" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -34,168 +34,168 @@ LONG_DESCRIPTION = f.read() INSTALL_REQUIRES = [ - 'huaweicloudsdkcore==3.1.85', - 'huaweicloudsdkaad==3.1.85', - 'huaweicloudsdkantiddos==3.1.85', - 'huaweicloudsdkaom==3.1.85', - 'huaweicloudsdkaos==3.1.85', - 'huaweicloudsdkapig==3.1.85', - 'huaweicloudsdkapm==3.1.85', - 'huaweicloudsdkas==3.1.85', - 'huaweicloudsdkasm==3.1.85', - 'huaweicloudsdkbcs==3.1.85', - 'huaweicloudsdkbms==3.1.85', - 'huaweicloudsdkbss==3.1.85', - 'huaweicloudsdkbssintl==3.1.85', - 'huaweicloudsdkcae==3.1.85', - 'huaweicloudsdkcampusgo==3.1.85', - 'huaweicloudsdkcbh==3.1.85', - 'huaweicloudsdkcbr==3.1.85', - 'huaweicloudsdkcbs==3.1.85', - 'huaweicloudsdkcc==3.1.85', - 'huaweicloudsdkcce==3.1.85', - 'huaweicloudsdkccm==3.1.85', - 'huaweicloudsdkcdm==3.1.85', - 'huaweicloudsdkcdn==3.1.85', - 'huaweicloudsdkces==3.1.85', - 'huaweicloudsdkcfw==3.1.85', - 'huaweicloudsdkcgs==3.1.85', - 'huaweicloudsdkclassroom==3.1.85', - 'huaweicloudsdkcloudide==3.1.85', - 'huaweicloudsdkcloudpond==3.1.85', - 'huaweicloudsdkcloudrtc==3.1.85', - 'huaweicloudsdkcloudtable==3.1.85', - 'huaweicloudsdkcloudtest==3.1.85', - 'huaweicloudsdkcodeartsartifact==3.1.85', - 'huaweicloudsdkcodeartsbuild==3.1.85', - 'huaweicloudsdkcodeartscheck==3.1.85', - 'huaweicloudsdkcodeartsdeploy==3.1.85', - 'huaweicloudsdkcodeartsinspector==3.1.85', - 'huaweicloudsdkcodeartspipeline==3.1.85', - 'huaweicloudsdkcodecraft==3.1.85', - 'huaweicloudsdkcodehub==3.1.85', - 'huaweicloudsdkconfig==3.1.85', - 'huaweicloudsdkcph==3.1.85', - 'huaweicloudsdkcpts==3.1.85', - 'huaweicloudsdkcse==3.1.85', - 'huaweicloudsdkcsms==3.1.85', - 'huaweicloudsdkcss==3.1.85', - 'huaweicloudsdkcts==3.1.85', - 'huaweicloudsdkdas==3.1.85', - 'huaweicloudsdkdataartsstudio==3.1.85', - 'huaweicloudsdkdbss==3.1.85', - 'huaweicloudsdkdc==3.1.85', - 'huaweicloudsdkdcs==3.1.85', - 'huaweicloudsdkddm==3.1.85', - 'huaweicloudsdkdds==3.1.85', - 'huaweicloudsdkdeh==3.1.85', - 'huaweicloudsdkdevsecurity==3.1.85', - 'huaweicloudsdkdevstar==3.1.85', - 'huaweicloudsdkdgc==3.1.85', - 'huaweicloudsdkdis==3.1.85', - 'huaweicloudsdkdlf==3.1.85', - 'huaweicloudsdkdli==3.1.85', - 'huaweicloudsdkdns==3.1.85', - 'huaweicloudsdkdris==3.1.85', - 'huaweicloudsdkdrs==3.1.85', - 'huaweicloudsdkdsc==3.1.85', - 'huaweicloudsdkdwr==3.1.85', - 'huaweicloudsdkdws==3.1.85', - 'huaweicloudsdkec==3.1.85', - 'huaweicloudsdkecs==3.1.85', - 'huaweicloudsdkedgesec==3.1.85', - 'huaweicloudsdkeg==3.1.85', - 'huaweicloudsdkeihealth==3.1.85', - 'huaweicloudsdkeip==3.1.85', - 'huaweicloudsdkelb==3.1.85', - 'huaweicloudsdkeps==3.1.85', - 'huaweicloudsdker==3.1.85', - 'huaweicloudsdkevs==3.1.85', - 'huaweicloudsdkfrs==3.1.85', - 'huaweicloudsdkfunctiongraph==3.1.85', - 'huaweicloudsdkga==3.1.85', - 'huaweicloudsdkgaussdb==3.1.85', - 'huaweicloudsdkgaussdbfornosql==3.1.85', - 'huaweicloudsdkgaussdbforopengauss==3.1.85', - 'huaweicloudsdkgeip==3.1.85', - 'huaweicloudsdkges==3.1.85', - 'huaweicloudsdkgsl==3.1.85', - 'huaweicloudsdkhilens==3.1.85', - 'huaweicloudsdkhss==3.1.85', - 'huaweicloudsdkiam==3.1.85', - 'huaweicloudsdkiamaccessanalyzer==3.1.85', - 'huaweicloudsdkidentitycenter==3.1.85', - 'huaweicloudsdkidentitycenterstore==3.1.85', - 'huaweicloudsdkidme==3.1.85', - 'huaweicloudsdkidmeclassicapi==3.1.85', - 'huaweicloudsdkiec==3.1.85', - 'huaweicloudsdkief==3.1.85', - 'huaweicloudsdkimage==3.1.85', - 'huaweicloudsdkimagesearch==3.1.85', - 'huaweicloudsdkims==3.1.85', - 'huaweicloudsdkiotanalytics==3.1.85', - 'huaweicloudsdkiotda==3.1.85', - 'huaweicloudsdkiotedge==3.1.85', - 'huaweicloudsdkivs==3.1.85', - 'huaweicloudsdkkafka==3.1.85', - 'huaweicloudsdkkms==3.1.85', - 'huaweicloudsdkkoomessage==3.1.85', - 'huaweicloudsdkkps==3.1.85', - 'huaweicloudsdklakeformation==3.1.85', - 'huaweicloudsdklive==3.1.85', - 'huaweicloudsdklts==3.1.85', - 'huaweicloudsdkmapds==3.1.85', - 'huaweicloudsdkmas==3.1.85', - 'huaweicloudsdkmeeting==3.1.85', - 'huaweicloudsdkmetastudio==3.1.85', - 'huaweicloudsdkmoderation==3.1.85', - 'huaweicloudsdkmpc==3.1.85', - 'huaweicloudsdkmrs==3.1.85', - 'huaweicloudsdkmsgsms==3.1.85', - 'huaweicloudsdkmssi==3.1.85', - 'huaweicloudsdknat==3.1.85', - 'huaweicloudsdknlp==3.1.85', - 'huaweicloudsdkobs==3.1.85', - 'huaweicloudsdkocr==3.1.85', - 'huaweicloudsdkoctopus==3.1.85', - 'huaweicloudsdkoms==3.1.85', - 'huaweicloudsdkoptverse==3.1.85', - 'huaweicloudsdkorganizations==3.1.85', - 'huaweicloudsdkorgid==3.1.85', - 'huaweicloudsdkoroas==3.1.85', - 'huaweicloudsdkosm==3.1.85', - 'huaweicloudsdkpangulargemodels==3.1.85', - 'huaweicloudsdkprojectman==3.1.85', - 'huaweicloudsdkrabbitmq==3.1.85', - 'huaweicloudsdkram==3.1.85', - 'huaweicloudsdkrds==3.1.85', - 'huaweicloudsdkres==3.1.85', - 'huaweicloudsdkrgc==3.1.85', - 'huaweicloudsdkrms==3.1.85', - 'huaweicloudsdkrocketmq==3.1.85', - 'huaweicloudsdkroma==3.1.85', - 'huaweicloudsdksa==3.1.85', - 'huaweicloudsdkscm==3.1.85', - 'huaweicloudsdksdrs==3.1.85', - 'huaweicloudsdksecmaster==3.1.85', - 'huaweicloudsdkservicestage==3.1.85', - 'huaweicloudsdksfsturbo==3.1.85', - 'huaweicloudsdksis==3.1.85', - 'huaweicloudsdksmn==3.1.85', - 'huaweicloudsdksms==3.1.85', - 'huaweicloudsdkswr==3.1.85', - 'huaweicloudsdktics==3.1.85', - 'huaweicloudsdktms==3.1.85', - 'huaweicloudsdkugo==3.1.85', - 'huaweicloudsdkvas==3.1.85', - 'huaweicloudsdkvcm==3.1.85', - 'huaweicloudsdkvod==3.1.85', - 'huaweicloudsdkvpc==3.1.85', - 'huaweicloudsdkvpcep==3.1.85', - 'huaweicloudsdkvpn==3.1.85', - 'huaweicloudsdkwaf==3.1.85', - 'huaweicloudsdkworkspace==3.1.85', - 'huaweicloudsdkworkspaceapp==3.1.85', + 'huaweicloudsdkcore==3.1.86', + 'huaweicloudsdkaad==3.1.86', + 'huaweicloudsdkantiddos==3.1.86', + 'huaweicloudsdkaom==3.1.86', + 'huaweicloudsdkaos==3.1.86', + 'huaweicloudsdkapig==3.1.86', + 'huaweicloudsdkapm==3.1.86', + 'huaweicloudsdkas==3.1.86', + 'huaweicloudsdkasm==3.1.86', + 'huaweicloudsdkbcs==3.1.86', + 'huaweicloudsdkbms==3.1.86', + 'huaweicloudsdkbss==3.1.86', + 'huaweicloudsdkbssintl==3.1.86', + 'huaweicloudsdkcae==3.1.86', + 'huaweicloudsdkcampusgo==3.1.86', + 'huaweicloudsdkcbh==3.1.86', + 'huaweicloudsdkcbr==3.1.86', + 'huaweicloudsdkcbs==3.1.86', + 'huaweicloudsdkcc==3.1.86', + 'huaweicloudsdkcce==3.1.86', + 'huaweicloudsdkccm==3.1.86', + 'huaweicloudsdkcdm==3.1.86', + 'huaweicloudsdkcdn==3.1.86', + 'huaweicloudsdkces==3.1.86', + 'huaweicloudsdkcfw==3.1.86', + 'huaweicloudsdkcgs==3.1.86', + 'huaweicloudsdkclassroom==3.1.86', + 'huaweicloudsdkcloudide==3.1.86', + 'huaweicloudsdkcloudpond==3.1.86', + 'huaweicloudsdkcloudrtc==3.1.86', + 'huaweicloudsdkcloudtable==3.1.86', + 'huaweicloudsdkcloudtest==3.1.86', + 'huaweicloudsdkcodeartsartifact==3.1.86', + 'huaweicloudsdkcodeartsbuild==3.1.86', + 'huaweicloudsdkcodeartscheck==3.1.86', + 'huaweicloudsdkcodeartsdeploy==3.1.86', + 'huaweicloudsdkcodeartsinspector==3.1.86', + 'huaweicloudsdkcodeartspipeline==3.1.86', + 'huaweicloudsdkcodecraft==3.1.86', + 'huaweicloudsdkcodehub==3.1.86', + 'huaweicloudsdkconfig==3.1.86', + 'huaweicloudsdkcph==3.1.86', + 'huaweicloudsdkcpts==3.1.86', + 'huaweicloudsdkcse==3.1.86', + 'huaweicloudsdkcsms==3.1.86', + 'huaweicloudsdkcss==3.1.86', + 'huaweicloudsdkcts==3.1.86', + 'huaweicloudsdkdas==3.1.86', + 'huaweicloudsdkdataartsstudio==3.1.86', + 'huaweicloudsdkdbss==3.1.86', + 'huaweicloudsdkdc==3.1.86', + 'huaweicloudsdkdcs==3.1.86', + 'huaweicloudsdkddm==3.1.86', + 'huaweicloudsdkdds==3.1.86', + 'huaweicloudsdkdeh==3.1.86', + 'huaweicloudsdkdevsecurity==3.1.86', + 'huaweicloudsdkdevstar==3.1.86', + 'huaweicloudsdkdgc==3.1.86', + 'huaweicloudsdkdis==3.1.86', + 'huaweicloudsdkdlf==3.1.86', + 'huaweicloudsdkdli==3.1.86', + 'huaweicloudsdkdns==3.1.86', + 'huaweicloudsdkdris==3.1.86', + 'huaweicloudsdkdrs==3.1.86', + 'huaweicloudsdkdsc==3.1.86', + 'huaweicloudsdkdwr==3.1.86', + 'huaweicloudsdkdws==3.1.86', + 'huaweicloudsdkec==3.1.86', + 'huaweicloudsdkecs==3.1.86', + 'huaweicloudsdkedgesec==3.1.86', + 'huaweicloudsdkeg==3.1.86', + 'huaweicloudsdkeihealth==3.1.86', + 'huaweicloudsdkeip==3.1.86', + 'huaweicloudsdkelb==3.1.86', + 'huaweicloudsdkeps==3.1.86', + 'huaweicloudsdker==3.1.86', + 'huaweicloudsdkevs==3.1.86', + 'huaweicloudsdkfrs==3.1.86', + 'huaweicloudsdkfunctiongraph==3.1.86', + 'huaweicloudsdkga==3.1.86', + 'huaweicloudsdkgaussdb==3.1.86', + 'huaweicloudsdkgaussdbfornosql==3.1.86', + 'huaweicloudsdkgaussdbforopengauss==3.1.86', + 'huaweicloudsdkgeip==3.1.86', + 'huaweicloudsdkges==3.1.86', + 'huaweicloudsdkgsl==3.1.86', + 'huaweicloudsdkhilens==3.1.86', + 'huaweicloudsdkhss==3.1.86', + 'huaweicloudsdkiam==3.1.86', + 'huaweicloudsdkiamaccessanalyzer==3.1.86', + 'huaweicloudsdkidentitycenter==3.1.86', + 'huaweicloudsdkidentitycenterstore==3.1.86', + 'huaweicloudsdkidme==3.1.86', + 'huaweicloudsdkidmeclassicapi==3.1.86', + 'huaweicloudsdkiec==3.1.86', + 'huaweicloudsdkief==3.1.86', + 'huaweicloudsdkimage==3.1.86', + 'huaweicloudsdkimagesearch==3.1.86', + 'huaweicloudsdkims==3.1.86', + 'huaweicloudsdkiotanalytics==3.1.86', + 'huaweicloudsdkiotda==3.1.86', + 'huaweicloudsdkiotedge==3.1.86', + 'huaweicloudsdkivs==3.1.86', + 'huaweicloudsdkkafka==3.1.86', + 'huaweicloudsdkkms==3.1.86', + 'huaweicloudsdkkoomessage==3.1.86', + 'huaweicloudsdkkps==3.1.86', + 'huaweicloudsdklakeformation==3.1.86', + 'huaweicloudsdklive==3.1.86', + 'huaweicloudsdklts==3.1.86', + 'huaweicloudsdkmapds==3.1.86', + 'huaweicloudsdkmas==3.1.86', + 'huaweicloudsdkmeeting==3.1.86', + 'huaweicloudsdkmetastudio==3.1.86', + 'huaweicloudsdkmoderation==3.1.86', + 'huaweicloudsdkmpc==3.1.86', + 'huaweicloudsdkmrs==3.1.86', + 'huaweicloudsdkmsgsms==3.1.86', + 'huaweicloudsdkmssi==3.1.86', + 'huaweicloudsdknat==3.1.86', + 'huaweicloudsdknlp==3.1.86', + 'huaweicloudsdkobs==3.1.86', + 'huaweicloudsdkocr==3.1.86', + 'huaweicloudsdkoctopus==3.1.86', + 'huaweicloudsdkoms==3.1.86', + 'huaweicloudsdkoptverse==3.1.86', + 'huaweicloudsdkorganizations==3.1.86', + 'huaweicloudsdkorgid==3.1.86', + 'huaweicloudsdkoroas==3.1.86', + 'huaweicloudsdkosm==3.1.86', + 'huaweicloudsdkpangulargemodels==3.1.86', + 'huaweicloudsdkprojectman==3.1.86', + 'huaweicloudsdkrabbitmq==3.1.86', + 'huaweicloudsdkram==3.1.86', + 'huaweicloudsdkrds==3.1.86', + 'huaweicloudsdkres==3.1.86', + 'huaweicloudsdkrgc==3.1.86', + 'huaweicloudsdkrms==3.1.86', + 'huaweicloudsdkrocketmq==3.1.86', + 'huaweicloudsdkroma==3.1.86', + 'huaweicloudsdksa==3.1.86', + 'huaweicloudsdkscm==3.1.86', + 'huaweicloudsdksdrs==3.1.86', + 'huaweicloudsdksecmaster==3.1.86', + 'huaweicloudsdkservicestage==3.1.86', + 'huaweicloudsdksfsturbo==3.1.86', + 'huaweicloudsdksis==3.1.86', + 'huaweicloudsdksmn==3.1.86', + 'huaweicloudsdksms==3.1.86', + 'huaweicloudsdkswr==3.1.86', + 'huaweicloudsdktics==3.1.86', + 'huaweicloudsdktms==3.1.86', + 'huaweicloudsdkugo==3.1.86', + 'huaweicloudsdkvas==3.1.86', + 'huaweicloudsdkvcm==3.1.86', + 'huaweicloudsdkvod==3.1.86', + 'huaweicloudsdkvpc==3.1.86', + 'huaweicloudsdkvpcep==3.1.86', + 'huaweicloudsdkvpn==3.1.86', + 'huaweicloudsdkwaf==3.1.86', + 'huaweicloudsdkworkspace==3.1.86', + 'huaweicloudsdkworkspaceapp==3.1.86', ] OPTIONS = { diff --git a/huaweicloud-sdk-antiddos/requirements.txt b/huaweicloud-sdk-antiddos/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-antiddos/requirements.txt +++ b/huaweicloud-sdk-antiddos/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-antiddos/setup.py b/huaweicloud-sdk-antiddos/setup.py index 0edabc6e51..19214e3937 100644 --- a/huaweicloud-sdk-antiddos/setup.py +++ b/huaweicloud-sdk-antiddos/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkantiddos" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-aom/requirements.txt b/huaweicloud-sdk-aom/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-aom/requirements.txt +++ b/huaweicloud-sdk-aom/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-aom/setup.py b/huaweicloud-sdk-aom/setup.py index a996f5fe18..baf66e08d4 100644 --- a/huaweicloud-sdk-aom/setup.py +++ b/huaweicloud-sdk-aom/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkaom" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-aos/requirements.txt b/huaweicloud-sdk-aos/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-aos/requirements.txt +++ b/huaweicloud-sdk-aos/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-aos/setup.py b/huaweicloud-sdk-aos/setup.py index 932fddd775..475f8f436e 100644 --- a/huaweicloud-sdk-aos/setup.py +++ b/huaweicloud-sdk-aos/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkaos" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-apig/requirements.txt b/huaweicloud-sdk-apig/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-apig/requirements.txt +++ b/huaweicloud-sdk-apig/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-apig/setup.py b/huaweicloud-sdk-apig/setup.py index 00b70de81b..d1a9d81ac1 100644 --- a/huaweicloud-sdk-apig/setup.py +++ b/huaweicloud-sdk-apig/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkapig" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-apm/requirements.txt b/huaweicloud-sdk-apm/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-apm/requirements.txt +++ b/huaweicloud-sdk-apm/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-apm/setup.py b/huaweicloud-sdk-apm/setup.py index 33a909d467..5425f90d6e 100644 --- a/huaweicloud-sdk-apm/setup.py +++ b/huaweicloud-sdk-apm/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkapm" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-as/requirements.txt b/huaweicloud-sdk-as/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-as/requirements.txt +++ b/huaweicloud-sdk-as/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-as/setup.py b/huaweicloud-sdk-as/setup.py index 0d671e22d9..d361082e0f 100644 --- a/huaweicloud-sdk-as/setup.py +++ b/huaweicloud-sdk-as/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkas" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-asm/requirements.txt b/huaweicloud-sdk-asm/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-asm/requirements.txt +++ b/huaweicloud-sdk-asm/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-asm/setup.py b/huaweicloud-sdk-asm/setup.py index c1fd6a7d02..e3ee5b8a39 100644 --- a/huaweicloud-sdk-asm/setup.py +++ b/huaweicloud-sdk-asm/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkasm" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-bcs/requirements.txt b/huaweicloud-sdk-bcs/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-bcs/requirements.txt +++ b/huaweicloud-sdk-bcs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-bcs/setup.py b/huaweicloud-sdk-bcs/setup.py index 56d55f5cb0..7281115390 100644 --- a/huaweicloud-sdk-bcs/setup.py +++ b/huaweicloud-sdk-bcs/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkbcs" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-bms/requirements.txt b/huaweicloud-sdk-bms/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-bms/requirements.txt +++ b/huaweicloud-sdk-bms/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-bms/setup.py b/huaweicloud-sdk-bms/setup.py index d2f1f0b2ad..8756576be5 100644 --- a/huaweicloud-sdk-bms/setup.py +++ b/huaweicloud-sdk-bms/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkbms" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-bss/requirements.txt b/huaweicloud-sdk-bss/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-bss/requirements.txt +++ b/huaweicloud-sdk-bss/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-bss/setup.py b/huaweicloud-sdk-bss/setup.py index 72d80df750..dc8246f287 100644 --- a/huaweicloud-sdk-bss/setup.py +++ b/huaweicloud-sdk-bss/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkbss" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-bssintl/requirements.txt b/huaweicloud-sdk-bssintl/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-bssintl/requirements.txt +++ b/huaweicloud-sdk-bssintl/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-bssintl/setup.py b/huaweicloud-sdk-bssintl/setup.py index 20bd878cd2..c407b0327f 100644 --- a/huaweicloud-sdk-bssintl/setup.py +++ b/huaweicloud-sdk-bssintl/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkbssintl" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cae/huaweicloudsdkcae/v1/model/access_configuration_port.py b/huaweicloud-sdk-cae/huaweicloudsdkcae/v1/model/access_configuration_port.py index 3a1e7be8f3..d6bac5794f 100644 --- a/huaweicloud-sdk-cae/huaweicloudsdkcae/v1/model/access_configuration_port.py +++ b/huaweicloud-sdk-cae/huaweicloudsdkcae/v1/model/access_configuration_port.py @@ -17,8 +17,8 @@ class AccessConfigurationPort: sensitive_list = [] openapi_types = { - 'target_port': 'str', - 'port': 'str', + 'target_port': 'int', + 'port': 'int', 'protocol': 'str', 'default_certificate': 'str', 'certificate': 'str', @@ -44,9 +44,9 @@ def __init__(self, target_port=None, port=None, protocol=None, default_certifica The model defined in huaweicloud sdk :param target_port: 监听端口。 - :type target_port: str + :type target_port: int :param port: 访问端口。 - :type port: str + :type port: int :param protocol: 协议,负载均衡支持TCP,负载均衡与路由配置支持HTTP、HTTPS。 :type protocol: str :param default_certificate: 默认证书,访问方式配置为转发策略且协议为HTTPS时配置,未配置域名证书对时使用默认证书。 @@ -97,7 +97,7 @@ def target_port(self): 监听端口。 :return: The target_port of this AccessConfigurationPort. - :rtype: str + :rtype: int """ return self._target_port @@ -108,7 +108,7 @@ def target_port(self, target_port): 监听端口。 :param target_port: The target_port of this AccessConfigurationPort. - :type target_port: str + :type target_port: int """ self._target_port = target_port @@ -119,7 +119,7 @@ def port(self): 访问端口。 :return: The port of this AccessConfigurationPort. - :rtype: str + :rtype: int """ return self._port @@ -130,7 +130,7 @@ def port(self, port): 访问端口。 :param port: The port of this AccessConfigurationPort. - :type port: str + :type port: int """ self._port = port diff --git a/huaweicloud-sdk-cae/requirements.txt b/huaweicloud-sdk-cae/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-cae/requirements.txt +++ b/huaweicloud-sdk-cae/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-cae/setup.py b/huaweicloud-sdk-cae/setup.py index 3ed0d5425b..de26a38609 100644 --- a/huaweicloud-sdk-cae/setup.py +++ b/huaweicloud-sdk-cae/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcae" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-campusgo/requirements.txt b/huaweicloud-sdk-campusgo/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-campusgo/requirements.txt +++ b/huaweicloud-sdk-campusgo/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-campusgo/setup.py b/huaweicloud-sdk-campusgo/setup.py index 55ba1c0d2e..eb5deac779 100644 --- a/huaweicloud-sdk-campusgo/setup.py +++ b/huaweicloud-sdk-campusgo/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcampusgo" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cbh/requirements.txt b/huaweicloud-sdk-cbh/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-cbh/requirements.txt +++ b/huaweicloud-sdk-cbh/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-cbh/setup.py b/huaweicloud-sdk-cbh/setup.py index aef04994fa..e490487630 100644 --- a/huaweicloud-sdk-cbh/setup.py +++ b/huaweicloud-sdk-cbh/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcbh" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cbr/requirements.txt b/huaweicloud-sdk-cbr/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-cbr/requirements.txt +++ b/huaweicloud-sdk-cbr/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-cbr/setup.py b/huaweicloud-sdk-cbr/setup.py index 5ec8443fe8..559d13c736 100644 --- a/huaweicloud-sdk-cbr/setup.py +++ b/huaweicloud-sdk-cbr/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcbr" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cbs/requirements.txt b/huaweicloud-sdk-cbs/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-cbs/requirements.txt +++ b/huaweicloud-sdk-cbs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-cbs/setup.py b/huaweicloud-sdk-cbs/setup.py index 83907feaa8..e64a68b1af 100644 --- a/huaweicloud-sdk-cbs/setup.py +++ b/huaweicloud-sdk-cbs/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcbs" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cc/requirements.txt b/huaweicloud-sdk-cc/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-cc/requirements.txt +++ b/huaweicloud-sdk-cc/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-cc/setup.py b/huaweicloud-sdk-cc/setup.py index e862308b8f..24db2be1a1 100644 --- a/huaweicloud-sdk-cc/setup.py +++ b/huaweicloud-sdk-cc/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcc" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/region/cce_region.py b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/region/cce_region.py index 7f6d25df75..a5e62c7252 100644 --- a/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/region/cce_region.py +++ b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/region/cce_region.py @@ -54,6 +54,10 @@ class CceRegion: "https://cce.eu-west-101.myhuaweicloud.eu") CN_NORTH_11 = Region("cn-north-11", "https://cce.cn-north-11.myhuaweicloud.com") + MY_KUALALUMPUR_1 = Region("my-kualalumpur-1", + "https://cce.my-kualalumpur-1.myhuaweicloud.com") + EU_WEST_0 = Region("eu-west-0", + "https://cce.eu-west-0.myhuaweicloud.com") static_fields = { "cn-north-1": CN_NORTH_1, @@ -80,6 +84,8 @@ class CceRegion: "ae-ad-1": AE_AD_1, "eu-west-101": EU_WEST_101, "cn-north-11": CN_NORTH_11, + "my-kualalumpur-1": MY_KUALALUMPUR_1, + "eu-west-0": EU_WEST_0, } @classmethod diff --git a/huaweicloud-sdk-cce/requirements.txt b/huaweicloud-sdk-cce/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-cce/requirements.txt +++ b/huaweicloud-sdk-cce/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-cce/setup.py b/huaweicloud-sdk-cce/setup.py index 234184f77e..45a2eeb768 100644 --- a/huaweicloud-sdk-cce/setup.py +++ b/huaweicloud-sdk-cce/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcce" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ccm/requirements.txt b/huaweicloud-sdk-ccm/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-ccm/requirements.txt +++ b/huaweicloud-sdk-ccm/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-ccm/setup.py b/huaweicloud-sdk-ccm/setup.py index 9d6d526df2..de9efcf0b3 100644 --- a/huaweicloud-sdk-ccm/setup.py +++ b/huaweicloud-sdk-ccm/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkccm" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cdm/requirements.txt b/huaweicloud-sdk-cdm/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-cdm/requirements.txt +++ b/huaweicloud-sdk-cdm/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-cdm/setup.py b/huaweicloud-sdk-cdm/setup.py index 059cc520a9..884d17f2f3 100644 --- a/huaweicloud-sdk-cdm/setup.py +++ b/huaweicloud-sdk-cdm/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcdm" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/cdn_async_client.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/cdn_async_client.py index d21c07f3a3..2bef50fcb4 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/cdn_async_client.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/cdn_async_client.py @@ -79,7 +79,7 @@ def _batch_delete_tags_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -144,7 +144,7 @@ def _create_domain_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -211,7 +211,7 @@ def _create_preheating_tasks_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -278,7 +278,7 @@ def _create_refresh_tasks_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -343,7 +343,7 @@ def _create_tags_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -410,7 +410,7 @@ def _delete_domain_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -477,7 +477,7 @@ def _disable_domain_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -544,7 +544,7 @@ def _enable_domain_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -625,7 +625,7 @@ def _list_domains_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -692,7 +692,7 @@ def _show_black_white_list_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -759,7 +759,7 @@ def _show_cache_rules_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -832,7 +832,7 @@ def _show_certificates_https_info_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -899,7 +899,7 @@ def _show_domain_detail_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -967,7 +967,7 @@ def _show_domain_full_config_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -1413,7 +1413,7 @@ def _show_history_task_details_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -1496,7 +1496,7 @@ def _show_history_tasks_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -1563,7 +1563,7 @@ def _show_http_info_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -1630,7 +1630,7 @@ def _show_ip_info_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -1772,7 +1772,7 @@ def _show_origin_host_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -1902,7 +1902,7 @@ def _show_refer_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -1969,7 +1969,7 @@ def _show_response_header_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -2034,7 +2034,7 @@ def _show_tags_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -2272,7 +2272,7 @@ def _update_black_white_list_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -2341,7 +2341,7 @@ def _update_cache_rules_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -2411,7 +2411,7 @@ def _update_domain_full_config_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -2478,7 +2478,7 @@ def _update_domain_multi_certificates_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -2547,7 +2547,7 @@ def _update_domain_origin_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -2616,7 +2616,7 @@ def _update_follow302_switch_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -2685,7 +2685,7 @@ def _update_https_info_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -2754,7 +2754,7 @@ def _update_origin_host_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -2823,7 +2823,7 @@ def _update_private_bucket_access_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -2894,7 +2894,7 @@ def _update_range_switch_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -2963,7 +2963,7 @@ def _update_refer_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -3032,7 +3032,7 @@ def _update_response_header_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/cdn_client.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/cdn_client.py index b1bc075fd6..9576dd5d9b 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/cdn_client.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/cdn_client.py @@ -79,7 +79,7 @@ def _batch_delete_tags_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -144,7 +144,7 @@ def _create_domain_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -211,7 +211,7 @@ def _create_preheating_tasks_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -278,7 +278,7 @@ def _create_refresh_tasks_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -343,7 +343,7 @@ def _create_tags_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -410,7 +410,7 @@ def _delete_domain_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -477,7 +477,7 @@ def _disable_domain_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -544,7 +544,7 @@ def _enable_domain_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -625,7 +625,7 @@ def _list_domains_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -692,7 +692,7 @@ def _show_black_white_list_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -759,7 +759,7 @@ def _show_cache_rules_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -832,7 +832,7 @@ def _show_certificates_https_info_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -899,7 +899,7 @@ def _show_domain_detail_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -967,7 +967,7 @@ def _show_domain_full_config_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -1413,7 +1413,7 @@ def _show_history_task_details_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -1496,7 +1496,7 @@ def _show_history_tasks_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -1563,7 +1563,7 @@ def _show_http_info_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -1630,7 +1630,7 @@ def _show_ip_info_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -1772,7 +1772,7 @@ def _show_origin_host_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -1902,7 +1902,7 @@ def _show_refer_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -1969,7 +1969,7 @@ def _show_response_header_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -2034,7 +2034,7 @@ def _show_tags_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -2272,7 +2272,7 @@ def _update_black_white_list_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -2341,7 +2341,7 @@ def _update_cache_rules_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -2411,7 +2411,7 @@ def _update_domain_full_config_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -2478,7 +2478,7 @@ def _update_domain_multi_certificates_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -2547,7 +2547,7 @@ def _update_domain_origin_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -2616,7 +2616,7 @@ def _update_follow302_switch_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -2685,7 +2685,7 @@ def _update_https_info_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -2754,7 +2754,7 @@ def _update_origin_host_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -2823,7 +2823,7 @@ def _update_private_bucket_access_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -2894,7 +2894,7 @@ def _update_range_switch_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -2963,7 +2963,7 @@ def _update_refer_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -3032,7 +3032,7 @@ def _update_response_header_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/batch_delete_tags_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/batch_delete_tags_response.py index 34fd852f32..83d58523e1 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/batch_delete_tags_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/batch_delete_tags_response.py @@ -18,21 +18,48 @@ class BatchDeleteTagsResponse(SdkResponse): sensitive_list = [] openapi_types = { + 'x_request_id': 'str' } attribute_map = { + 'x_request_id': 'X-Request-Id' } - def __init__(self): + def __init__(self, x_request_id=None): """BatchDeleteTagsResponse The model defined in huaweicloud sdk + :param x_request_id: + :type x_request_id: str """ super(BatchDeleteTagsResponse, self).__init__() + + self._x_request_id = None self.discriminator = None + if x_request_id is not None: + self.x_request_id = x_request_id + + @property + def x_request_id(self): + """Gets the x_request_id of this BatchDeleteTagsResponse. + + :return: The x_request_id of this BatchDeleteTagsResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this BatchDeleteTagsResponse. + + :param x_request_id: The x_request_id of this BatchDeleteTagsResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/create_domain_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/create_domain_response.py index 337a730ee3..a38b120f32 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/create_domain_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/create_domain_response.py @@ -18,29 +18,36 @@ class CreateDomainResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'domain': 'CreateDomainResponseBodyContent' + 'domain': 'CreateDomainResponseBodyContent', + 'x_request_id': 'str' } attribute_map = { - 'domain': 'domain' + 'domain': 'domain', + 'x_request_id': 'X-Request-Id' } - def __init__(self, domain=None): + def __init__(self, domain=None, x_request_id=None): """CreateDomainResponse The model defined in huaweicloud sdk :param domain: :type domain: :class:`huaweicloudsdkcdn.v1.CreateDomainResponseBodyContent` + :param x_request_id: + :type x_request_id: str """ super(CreateDomainResponse, self).__init__() self._domain = None + self._x_request_id = None self.discriminator = None if domain is not None: self.domain = domain + if x_request_id is not None: + self.x_request_id = x_request_id @property def domain(self): @@ -60,6 +67,24 @@ def domain(self, domain): """ self._domain = domain + @property + def x_request_id(self): + """Gets the x_request_id of this CreateDomainResponse. + + :return: The x_request_id of this CreateDomainResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this CreateDomainResponse. + + :param x_request_id: The x_request_id of this CreateDomainResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/create_preheating_tasks_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/create_preheating_tasks_response.py index 0e73a90ea1..ce65d333fe 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/create_preheating_tasks_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/create_preheating_tasks_response.py @@ -18,29 +18,36 @@ class CreatePreheatingTasksResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'preheating_task': 'str' + 'preheating_task': 'str', + 'x_request_id': 'str' } attribute_map = { - 'preheating_task': 'preheating_task' + 'preheating_task': 'preheating_task', + 'x_request_id': 'X-Request-Id' } - def __init__(self, preheating_task=None): + def __init__(self, preheating_task=None, x_request_id=None): """CreatePreheatingTasksResponse The model defined in huaweicloud sdk :param preheating_task: 任务ID。 :type preheating_task: str + :param x_request_id: + :type x_request_id: str """ super(CreatePreheatingTasksResponse, self).__init__() self._preheating_task = None + self._x_request_id = None self.discriminator = None if preheating_task is not None: self.preheating_task = preheating_task + if x_request_id is not None: + self.x_request_id = x_request_id @property def preheating_task(self): @@ -64,6 +71,24 @@ def preheating_task(self, preheating_task): """ self._preheating_task = preheating_task + @property + def x_request_id(self): + """Gets the x_request_id of this CreatePreheatingTasksResponse. + + :return: The x_request_id of this CreatePreheatingTasksResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this CreatePreheatingTasksResponse. + + :param x_request_id: The x_request_id of this CreatePreheatingTasksResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/create_refresh_tasks_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/create_refresh_tasks_response.py index ca8a077127..55cf889076 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/create_refresh_tasks_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/create_refresh_tasks_response.py @@ -18,29 +18,36 @@ class CreateRefreshTasksResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'refresh_task': 'str' + 'refresh_task': 'str', + 'x_request_id': 'str' } attribute_map = { - 'refresh_task': 'refresh_task' + 'refresh_task': 'refresh_task', + 'x_request_id': 'X-Request-Id' } - def __init__(self, refresh_task=None): + def __init__(self, refresh_task=None, x_request_id=None): """CreateRefreshTasksResponse The model defined in huaweicloud sdk :param refresh_task: 任务ID。 :type refresh_task: str + :param x_request_id: + :type x_request_id: str """ super(CreateRefreshTasksResponse, self).__init__() self._refresh_task = None + self._x_request_id = None self.discriminator = None if refresh_task is not None: self.refresh_task = refresh_task + if x_request_id is not None: + self.x_request_id = x_request_id @property def refresh_task(self): @@ -64,6 +71,24 @@ def refresh_task(self, refresh_task): """ self._refresh_task = refresh_task + @property + def x_request_id(self): + """Gets the x_request_id of this CreateRefreshTasksResponse. + + :return: The x_request_id of this CreateRefreshTasksResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this CreateRefreshTasksResponse. + + :param x_request_id: The x_request_id of this CreateRefreshTasksResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/create_tags_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/create_tags_response.py index cd36d5a261..e7cbefa5f4 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/create_tags_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/create_tags_response.py @@ -18,21 +18,48 @@ class CreateTagsResponse(SdkResponse): sensitive_list = [] openapi_types = { + 'x_request_id': 'str' } attribute_map = { + 'x_request_id': 'X-Request-Id' } - def __init__(self): + def __init__(self, x_request_id=None): """CreateTagsResponse The model defined in huaweicloud sdk + :param x_request_id: + :type x_request_id: str """ super(CreateTagsResponse, self).__init__() + + self._x_request_id = None self.discriminator = None + if x_request_id is not None: + self.x_request_id = x_request_id + + @property + def x_request_id(self): + """Gets the x_request_id of this CreateTagsResponse. + + :return: The x_request_id of this CreateTagsResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this CreateTagsResponse. + + :param x_request_id: The x_request_id of this CreateTagsResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/delete_domain_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/delete_domain_response.py index fbd72d0172..5115bdeebf 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/delete_domain_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/delete_domain_response.py @@ -18,29 +18,36 @@ class DeleteDomainResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'domain': 'DomainsWithPort' + 'domain': 'DomainsWithPort', + 'x_request_id': 'str' } attribute_map = { - 'domain': 'domain' + 'domain': 'domain', + 'x_request_id': 'X-Request-Id' } - def __init__(self, domain=None): + def __init__(self, domain=None, x_request_id=None): """DeleteDomainResponse The model defined in huaweicloud sdk :param domain: :type domain: :class:`huaweicloudsdkcdn.v1.DomainsWithPort` + :param x_request_id: + :type x_request_id: str """ super(DeleteDomainResponse, self).__init__() self._domain = None + self._x_request_id = None self.discriminator = None if domain is not None: self.domain = domain + if x_request_id is not None: + self.x_request_id = x_request_id @property def domain(self): @@ -60,6 +67,24 @@ def domain(self, domain): """ self._domain = domain + @property + def x_request_id(self): + """Gets the x_request_id of this DeleteDomainResponse. + + :return: The x_request_id of this DeleteDomainResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this DeleteDomainResponse. + + :param x_request_id: The x_request_id of this DeleteDomainResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/disable_domain_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/disable_domain_response.py index 0c7f6dfc9a..cb2827ca14 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/disable_domain_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/disable_domain_response.py @@ -18,29 +18,36 @@ class DisableDomainResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'domain': 'DomainsWithPort' + 'domain': 'DomainsWithPort', + 'x_request_id': 'str' } attribute_map = { - 'domain': 'domain' + 'domain': 'domain', + 'x_request_id': 'X-Request-Id' } - def __init__(self, domain=None): + def __init__(self, domain=None, x_request_id=None): """DisableDomainResponse The model defined in huaweicloud sdk :param domain: :type domain: :class:`huaweicloudsdkcdn.v1.DomainsWithPort` + :param x_request_id: + :type x_request_id: str """ super(DisableDomainResponse, self).__init__() self._domain = None + self._x_request_id = None self.discriminator = None if domain is not None: self.domain = domain + if x_request_id is not None: + self.x_request_id = x_request_id @property def domain(self): @@ -60,6 +67,24 @@ def domain(self, domain): """ self._domain = domain + @property + def x_request_id(self): + """Gets the x_request_id of this DisableDomainResponse. + + :return: The x_request_id of this DisableDomainResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this DisableDomainResponse. + + :param x_request_id: The x_request_id of this DisableDomainResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/enable_domain_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/enable_domain_response.py index aaedc067ca..f66a4dc64a 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/enable_domain_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/enable_domain_response.py @@ -18,29 +18,36 @@ class EnableDomainResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'domain': 'DomainsWithPort' + 'domain': 'DomainsWithPort', + 'x_request_id': 'str' } attribute_map = { - 'domain': 'domain' + 'domain': 'domain', + 'x_request_id': 'X-Request-Id' } - def __init__(self, domain=None): + def __init__(self, domain=None, x_request_id=None): """EnableDomainResponse The model defined in huaweicloud sdk :param domain: :type domain: :class:`huaweicloudsdkcdn.v1.DomainsWithPort` + :param x_request_id: + :type x_request_id: str """ super(EnableDomainResponse, self).__init__() self._domain = None + self._x_request_id = None self.discriminator = None if domain is not None: self.domain = domain + if x_request_id is not None: + self.x_request_id = x_request_id @property def domain(self): @@ -60,6 +67,24 @@ def domain(self, domain): """ self._domain = domain + @property + def x_request_id(self): + """Gets the x_request_id of this EnableDomainResponse. + + :return: The x_request_id of this EnableDomainResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this EnableDomainResponse. + + :param x_request_id: The x_request_id of this EnableDomainResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/list_domains_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/list_domains_response.py index fe97dd02b9..ea2d02fd63 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/list_domains_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/list_domains_response.py @@ -19,15 +19,17 @@ class ListDomainsResponse(SdkResponse): openapi_types = { 'total': 'int', - 'domains': 'list[Domains]' + 'domains': 'list[Domains]', + 'x_request_id': 'str' } attribute_map = { 'total': 'total', - 'domains': 'domains' + 'domains': 'domains', + 'x_request_id': 'X-Request-Id' } - def __init__(self, total=None, domains=None): + def __init__(self, total=None, domains=None, x_request_id=None): """ListDomainsResponse The model defined in huaweicloud sdk @@ -36,18 +38,23 @@ def __init__(self, total=None, domains=None): :type total: int :param domains: 域名信息 :type domains: list[:class:`huaweicloudsdkcdn.v1.Domains`] + :param x_request_id: + :type x_request_id: str """ super(ListDomainsResponse, self).__init__() self._total = None self._domains = None + self._x_request_id = None self.discriminator = None if total is not None: self.total = total if domains is not None: self.domains = domains + if x_request_id is not None: + self.x_request_id = x_request_id @property def total(self): @@ -93,6 +100,24 @@ def domains(self, domains): """ self._domains = domains + @property + def x_request_id(self): + """Gets the x_request_id of this ListDomainsResponse. + + :return: The x_request_id of this ListDomainsResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this ListDomainsResponse. + + :param x_request_id: The x_request_id of this ListDomainsResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/show_black_white_list_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/show_black_white_list_response.py index f86ba408d7..4ccc15efb6 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/show_black_white_list_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/show_black_white_list_response.py @@ -19,15 +19,17 @@ class ShowBlackWhiteListResponse(SdkResponse): openapi_types = { 'type': 'int', - 'ip_list': 'list[str]' + 'ip_list': 'list[str]', + 'x_request_id': 'str' } attribute_map = { 'type': 'type', - 'ip_list': 'ip_list' + 'ip_list': 'ip_list', + 'x_request_id': 'X-Request-Id' } - def __init__(self, type=None, ip_list=None): + def __init__(self, type=None, ip_list=None, x_request_id=None): """ShowBlackWhiteListResponse The model defined in huaweicloud sdk @@ -36,18 +38,23 @@ def __init__(self, type=None, ip_list=None): :type type: int :param ip_list: IP黑白名单列表。 :type ip_list: list[str] + :param x_request_id: + :type x_request_id: str """ super(ShowBlackWhiteListResponse, self).__init__() self._type = None self._ip_list = None + self._x_request_id = None self.discriminator = None if type is not None: self.type = type if ip_list is not None: self.ip_list = ip_list + if x_request_id is not None: + self.x_request_id = x_request_id @property def type(self): @@ -93,6 +100,24 @@ def ip_list(self, ip_list): """ self._ip_list = ip_list + @property + def x_request_id(self): + """Gets the x_request_id of this ShowBlackWhiteListResponse. + + :return: The x_request_id of this ShowBlackWhiteListResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this ShowBlackWhiteListResponse. + + :param x_request_id: The x_request_id of this ShowBlackWhiteListResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/show_cache_rules_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/show_cache_rules_response.py index 908e57017d..95ab7aa389 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/show_cache_rules_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/show_cache_rules_response.py @@ -18,29 +18,36 @@ class ShowCacheRulesResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'cache_config': 'CacheConfig' + 'cache_config': 'CacheConfig', + 'x_request_id': 'str' } attribute_map = { - 'cache_config': 'cache_config' + 'cache_config': 'cache_config', + 'x_request_id': 'X-Request-Id' } - def __init__(self, cache_config=None): + def __init__(self, cache_config=None, x_request_id=None): """ShowCacheRulesResponse The model defined in huaweicloud sdk :param cache_config: :type cache_config: :class:`huaweicloudsdkcdn.v1.CacheConfig` + :param x_request_id: + :type x_request_id: str """ super(ShowCacheRulesResponse, self).__init__() self._cache_config = None + self._x_request_id = None self.discriminator = None if cache_config is not None: self.cache_config = cache_config + if x_request_id is not None: + self.x_request_id = x_request_id @property def cache_config(self): @@ -60,6 +67,24 @@ def cache_config(self, cache_config): """ self._cache_config = cache_config + @property + def x_request_id(self): + """Gets the x_request_id of this ShowCacheRulesResponse. + + :return: The x_request_id of this ShowCacheRulesResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this ShowCacheRulesResponse. + + :param x_request_id: The x_request_id of this ShowCacheRulesResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/show_certificates_https_info_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/show_certificates_https_info_response.py index 2bd264ffbe..e88defc182 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/show_certificates_https_info_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/show_certificates_https_info_response.py @@ -19,15 +19,17 @@ class ShowCertificatesHttpsInfoResponse(SdkResponse): openapi_types = { 'total': 'int', - 'https': 'list[HttpsDetail]' + 'https': 'list[HttpsDetail]', + 'x_request_id': 'str' } attribute_map = { 'total': 'total', - 'https': 'https' + 'https': 'https', + 'x_request_id': 'X-Request-Id' } - def __init__(self, total=None, https=None): + def __init__(self, total=None, https=None, x_request_id=None): """ShowCertificatesHttpsInfoResponse The model defined in huaweicloud sdk @@ -36,18 +38,23 @@ def __init__(self, total=None, https=None): :type total: int :param https: https配置。 :type https: list[:class:`huaweicloudsdkcdn.v1.HttpsDetail`] + :param x_request_id: + :type x_request_id: str """ super(ShowCertificatesHttpsInfoResponse, self).__init__() self._total = None self._https = None + self._x_request_id = None self.discriminator = None if total is not None: self.total = total if https is not None: self.https = https + if x_request_id is not None: + self.x_request_id = x_request_id @property def total(self): @@ -93,6 +100,24 @@ def https(self, https): """ self._https = https + @property + def x_request_id(self): + """Gets the x_request_id of this ShowCertificatesHttpsInfoResponse. + + :return: The x_request_id of this ShowCertificatesHttpsInfoResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this ShowCertificatesHttpsInfoResponse. + + :param x_request_id: The x_request_id of this ShowCertificatesHttpsInfoResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/show_domain_detail_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/show_domain_detail_response.py index 98d9598c91..90dc78b86d 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/show_domain_detail_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/show_domain_detail_response.py @@ -18,29 +18,36 @@ class ShowDomainDetailResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'domain': 'DomainsWithPort' + 'domain': 'DomainsWithPort', + 'x_request_id': 'str' } attribute_map = { - 'domain': 'domain' + 'domain': 'domain', + 'x_request_id': 'X-Request-Id' } - def __init__(self, domain=None): + def __init__(self, domain=None, x_request_id=None): """ShowDomainDetailResponse The model defined in huaweicloud sdk :param domain: :type domain: :class:`huaweicloudsdkcdn.v1.DomainsWithPort` + :param x_request_id: + :type x_request_id: str """ super(ShowDomainDetailResponse, self).__init__() self._domain = None + self._x_request_id = None self.discriminator = None if domain is not None: self.domain = domain + if x_request_id is not None: + self.x_request_id = x_request_id @property def domain(self): @@ -60,6 +67,24 @@ def domain(self, domain): """ self._domain = domain + @property + def x_request_id(self): + """Gets the x_request_id of this ShowDomainDetailResponse. + + :return: The x_request_id of this ShowDomainDetailResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this ShowDomainDetailResponse. + + :param x_request_id: The x_request_id of this ShowDomainDetailResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/show_domain_full_config_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/show_domain_full_config_response.py index add2bac418..8f6519e900 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/show_domain_full_config_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/show_domain_full_config_response.py @@ -18,29 +18,36 @@ class ShowDomainFullConfigResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'configs': 'ConfigsGetBody' + 'configs': 'ConfigsGetBody', + 'x_request_id': 'str' } attribute_map = { - 'configs': 'configs' + 'configs': 'configs', + 'x_request_id': 'X-Request-Id' } - def __init__(self, configs=None): + def __init__(self, configs=None, x_request_id=None): """ShowDomainFullConfigResponse The model defined in huaweicloud sdk :param configs: :type configs: :class:`huaweicloudsdkcdn.v1.ConfigsGetBody` + :param x_request_id: + :type x_request_id: str """ super(ShowDomainFullConfigResponse, self).__init__() self._configs = None + self._x_request_id = None self.discriminator = None if configs is not None: self.configs = configs + if x_request_id is not None: + self.x_request_id = x_request_id @property def configs(self): @@ -60,6 +67,24 @@ def configs(self, configs): """ self._configs = configs + @property + def x_request_id(self): + """Gets the x_request_id of this ShowDomainFullConfigResponse. + + :return: The x_request_id of this ShowDomainFullConfigResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this ShowDomainFullConfigResponse. + + :param x_request_id: The x_request_id of this ShowDomainFullConfigResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/show_history_task_details_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/show_history_task_details_response.py index f8ae1aa8a7..59c528cf49 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/show_history_task_details_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/show_history_task_details_response.py @@ -27,7 +27,8 @@ class ShowHistoryTaskDetailsResponse(SdkResponse): 'succeed': 'int', 'failed': 'int', 'total': 'int', - 'file_type': 'str' + 'file_type': 'str', + 'x_request_id': 'str' } attribute_map = { @@ -40,10 +41,11 @@ class ShowHistoryTaskDetailsResponse(SdkResponse): 'succeed': 'succeed', 'failed': 'failed', 'total': 'total', - 'file_type': 'file_type' + 'file_type': 'file_type', + 'x_request_id': 'X-Request-Id' } - def __init__(self, id=None, task_type=None, status=None, urls=None, create_time=None, processing=None, succeed=None, failed=None, total=None, file_type=None): + def __init__(self, id=None, task_type=None, status=None, urls=None, create_time=None, processing=None, succeed=None, failed=None, total=None, file_type=None, x_request_id=None): """ShowHistoryTaskDetailsResponse The model defined in huaweicloud sdk @@ -68,6 +70,8 @@ def __init__(self, id=None, task_type=None, status=None, urls=None, create_time= :type total: int :param file_type: 文件类型,file:文件;directory:目录,默认是文件file, :type file_type: str + :param x_request_id: + :type x_request_id: str """ super(ShowHistoryTaskDetailsResponse, self).__init__() @@ -82,6 +86,7 @@ def __init__(self, id=None, task_type=None, status=None, urls=None, create_time= self._failed = None self._total = None self._file_type = None + self._x_request_id = None self.discriminator = None if id is not None: @@ -104,6 +109,8 @@ def __init__(self, id=None, task_type=None, status=None, urls=None, create_time= self.total = total if file_type is not None: self.file_type = file_type + if x_request_id is not None: + self.x_request_id = x_request_id @property def id(self): @@ -325,6 +332,24 @@ def file_type(self, file_type): """ self._file_type = file_type + @property + def x_request_id(self): + """Gets the x_request_id of this ShowHistoryTaskDetailsResponse. + + :return: The x_request_id of this ShowHistoryTaskDetailsResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this ShowHistoryTaskDetailsResponse. + + :param x_request_id: The x_request_id of this ShowHistoryTaskDetailsResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/show_history_tasks_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/show_history_tasks_response.py index 0afd0d53e2..b13eda9eba 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/show_history_tasks_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/show_history_tasks_response.py @@ -19,15 +19,17 @@ class ShowHistoryTasksResponse(SdkResponse): openapi_types = { 'total': 'int', - 'tasks': 'list[TasksObject]' + 'tasks': 'list[TasksObject]', + 'x_request_id': 'str' } attribute_map = { 'total': 'total', - 'tasks': 'tasks' + 'tasks': 'tasks', + 'x_request_id': 'X-Request-Id' } - def __init__(self, total=None, tasks=None): + def __init__(self, total=None, tasks=None, x_request_id=None): """ShowHistoryTasksResponse The model defined in huaweicloud sdk @@ -36,18 +38,23 @@ def __init__(self, total=None, tasks=None): :type total: int :param tasks: 日志列表数据 :type tasks: list[:class:`huaweicloudsdkcdn.v1.TasksObject`] + :param x_request_id: + :type x_request_id: str """ super(ShowHistoryTasksResponse, self).__init__() self._total = None self._tasks = None + self._x_request_id = None self.discriminator = None if total is not None: self.total = total if tasks is not None: self.tasks = tasks + if x_request_id is not None: + self.x_request_id = x_request_id @property def total(self): @@ -93,6 +100,24 @@ def tasks(self, tasks): """ self._tasks = tasks + @property + def x_request_id(self): + """Gets the x_request_id of this ShowHistoryTasksResponse. + + :return: The x_request_id of this ShowHistoryTasksResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this ShowHistoryTasksResponse. + + :param x_request_id: The x_request_id of this ShowHistoryTasksResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/show_http_info_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/show_http_info_response.py index e90cd8c67d..57dc22a331 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/show_http_info_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/show_http_info_response.py @@ -18,29 +18,36 @@ class ShowHttpInfoResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'https': 'HttpInfoResponseBody' + 'https': 'HttpInfoResponseBody', + 'x_request_id': 'str' } attribute_map = { - 'https': 'https' + 'https': 'https', + 'x_request_id': 'X-Request-Id' } - def __init__(self, https=None): + def __init__(self, https=None, x_request_id=None): """ShowHttpInfoResponse The model defined in huaweicloud sdk :param https: :type https: :class:`huaweicloudsdkcdn.v1.HttpInfoResponseBody` + :param x_request_id: + :type x_request_id: str """ super(ShowHttpInfoResponse, self).__init__() self._https = None + self._x_request_id = None self.discriminator = None if https is not None: self.https = https + if x_request_id is not None: + self.x_request_id = x_request_id @property def https(self): @@ -60,6 +67,24 @@ def https(self, https): """ self._https = https + @property + def x_request_id(self): + """Gets the x_request_id of this ShowHttpInfoResponse. + + :return: The x_request_id of this ShowHttpInfoResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this ShowHttpInfoResponse. + + :param x_request_id: The x_request_id of this ShowHttpInfoResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/show_ip_info_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/show_ip_info_response.py index 070a5e0e71..1ad0dce9dd 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/show_ip_info_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/show_ip_info_response.py @@ -18,29 +18,36 @@ class ShowIpInfoResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'cdn_ips': 'list[CdnIps]' + 'cdn_ips': 'list[CdnIps]', + 'x_request_id': 'str' } attribute_map = { - 'cdn_ips': 'cdn_ips' + 'cdn_ips': 'cdn_ips', + 'x_request_id': 'X-Request-Id' } - def __init__(self, cdn_ips=None): + def __init__(self, cdn_ips=None, x_request_id=None): """ShowIpInfoResponse The model defined in huaweicloud sdk :param cdn_ips: IP归属信息列表。 :type cdn_ips: list[:class:`huaweicloudsdkcdn.v1.CdnIps`] + :param x_request_id: + :type x_request_id: str """ super(ShowIpInfoResponse, self).__init__() self._cdn_ips = None + self._x_request_id = None self.discriminator = None if cdn_ips is not None: self.cdn_ips = cdn_ips + if x_request_id is not None: + self.x_request_id = x_request_id @property def cdn_ips(self): @@ -64,6 +71,24 @@ def cdn_ips(self, cdn_ips): """ self._cdn_ips = cdn_ips + @property + def x_request_id(self): + """Gets the x_request_id of this ShowIpInfoResponse. + + :return: The x_request_id of this ShowIpInfoResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this ShowIpInfoResponse. + + :param x_request_id: The x_request_id of this ShowIpInfoResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/show_origin_host_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/show_origin_host_response.py index 6ef66dc814..1657c43ae9 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/show_origin_host_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/show_origin_host_response.py @@ -18,29 +18,36 @@ class ShowOriginHostResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'origin_host': 'DomainOriginHost' + 'origin_host': 'DomainOriginHost', + 'x_request_id': 'str' } attribute_map = { - 'origin_host': 'origin_host' + 'origin_host': 'origin_host', + 'x_request_id': 'X-Request-Id' } - def __init__(self, origin_host=None): + def __init__(self, origin_host=None, x_request_id=None): """ShowOriginHostResponse The model defined in huaweicloud sdk :param origin_host: :type origin_host: :class:`huaweicloudsdkcdn.v1.DomainOriginHost` + :param x_request_id: + :type x_request_id: str """ super(ShowOriginHostResponse, self).__init__() self._origin_host = None + self._x_request_id = None self.discriminator = None if origin_host is not None: self.origin_host = origin_host + if x_request_id is not None: + self.x_request_id = x_request_id @property def origin_host(self): @@ -60,6 +67,24 @@ def origin_host(self, origin_host): """ self._origin_host = origin_host + @property + def x_request_id(self): + """Gets the x_request_id of this ShowOriginHostResponse. + + :return: The x_request_id of this ShowOriginHostResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this ShowOriginHostResponse. + + :param x_request_id: The x_request_id of this ShowOriginHostResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/show_refer_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/show_refer_response.py index e825e2f09a..6453a23731 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/show_refer_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/show_refer_response.py @@ -18,29 +18,36 @@ class ShowReferResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'referer': 'RefererRsp' + 'referer': 'RefererRsp', + 'x_request_id': 'str' } attribute_map = { - 'referer': 'referer' + 'referer': 'referer', + 'x_request_id': 'X-Request-Id' } - def __init__(self, referer=None): + def __init__(self, referer=None, x_request_id=None): """ShowReferResponse The model defined in huaweicloud sdk :param referer: :type referer: :class:`huaweicloudsdkcdn.v1.RefererRsp` + :param x_request_id: + :type x_request_id: str """ super(ShowReferResponse, self).__init__() self._referer = None + self._x_request_id = None self.discriminator = None if referer is not None: self.referer = referer + if x_request_id is not None: + self.x_request_id = x_request_id @property def referer(self): @@ -60,6 +67,24 @@ def referer(self, referer): """ self._referer = referer + @property + def x_request_id(self): + """Gets the x_request_id of this ShowReferResponse. + + :return: The x_request_id of this ShowReferResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this ShowReferResponse. + + :param x_request_id: The x_request_id of this ShowReferResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/show_response_header_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/show_response_header_response.py index 4aaef41dfc..4dcb03490d 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/show_response_header_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/show_response_header_response.py @@ -18,29 +18,36 @@ class ShowResponseHeaderResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'headers': 'HeaderMap' + 'headers': 'HeaderMap', + 'x_request_id': 'str' } attribute_map = { - 'headers': 'headers' + 'headers': 'headers', + 'x_request_id': 'X-Request-Id' } - def __init__(self, headers=None): + def __init__(self, headers=None, x_request_id=None): """ShowResponseHeaderResponse The model defined in huaweicloud sdk :param headers: :type headers: :class:`huaweicloudsdkcdn.v1.HeaderMap` + :param x_request_id: + :type x_request_id: str """ super(ShowResponseHeaderResponse, self).__init__() self._headers = None + self._x_request_id = None self.discriminator = None if headers is not None: self.headers = headers + if x_request_id is not None: + self.x_request_id = x_request_id @property def headers(self): @@ -60,6 +67,24 @@ def headers(self, headers): """ self._headers = headers + @property + def x_request_id(self): + """Gets the x_request_id of this ShowResponseHeaderResponse. + + :return: The x_request_id of this ShowResponseHeaderResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this ShowResponseHeaderResponse. + + :param x_request_id: The x_request_id of this ShowResponseHeaderResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/show_tags_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/show_tags_response.py index 2781c767a2..34be55aa42 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/show_tags_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/show_tags_response.py @@ -18,29 +18,36 @@ class ShowTagsResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'tags': 'list[Map]' + 'tags': 'list[Map]', + 'x_request_id': 'str' } attribute_map = { - 'tags': 'tags' + 'tags': 'tags', + 'x_request_id': 'X-Request-Id' } - def __init__(self, tags=None): + def __init__(self, tags=None, x_request_id=None): """ShowTagsResponse The model defined in huaweicloud sdk :param tags: 标签列表。 :type tags: list[:class:`huaweicloudsdkcdn.v1.Map`] + :param x_request_id: + :type x_request_id: str """ super(ShowTagsResponse, self).__init__() self._tags = None + self._x_request_id = None self.discriminator = None if tags is not None: self.tags = tags + if x_request_id is not None: + self.x_request_id = x_request_id @property def tags(self): @@ -64,6 +71,24 @@ def tags(self, tags): """ self._tags = tags + @property + def x_request_id(self): + """Gets the x_request_id of this ShowTagsResponse. + + :return: The x_request_id of this ShowTagsResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this ShowTagsResponse. + + :param x_request_id: The x_request_id of this ShowTagsResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/update_black_white_list_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/update_black_white_list_response.py index 35a510096a..ab8074679b 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/update_black_white_list_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/update_black_white_list_response.py @@ -20,16 +20,18 @@ class UpdateBlackWhiteListResponse(SdkResponse): openapi_types = { 'code': 'str', 'result': 'str', - 'data': 'object' + 'data': 'object', + 'x_request_id': 'str' } attribute_map = { 'code': 'code', 'result': 'result', - 'data': 'data' + 'data': 'data', + 'x_request_id': 'X-Request-Id' } - def __init__(self, code=None, result=None, data=None): + def __init__(self, code=None, result=None, data=None, x_request_id=None): """UpdateBlackWhiteListResponse The model defined in huaweicloud sdk @@ -40,6 +42,8 @@ def __init__(self, code=None, result=None, data=None): :type result: str :param data: 响应体返回内容。 :type data: object + :param x_request_id: + :type x_request_id: str """ super(UpdateBlackWhiteListResponse, self).__init__() @@ -47,6 +51,7 @@ def __init__(self, code=None, result=None, data=None): self._code = None self._result = None self._data = None + self._x_request_id = None self.discriminator = None if code is not None: @@ -55,6 +60,8 @@ def __init__(self, code=None, result=None, data=None): self.result = result if data is not None: self.data = data + if x_request_id is not None: + self.x_request_id = x_request_id @property def code(self): @@ -122,6 +129,24 @@ def data(self, data): """ self._data = data + @property + def x_request_id(self): + """Gets the x_request_id of this UpdateBlackWhiteListResponse. + + :return: The x_request_id of this UpdateBlackWhiteListResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this UpdateBlackWhiteListResponse. + + :param x_request_id: The x_request_id of this UpdateBlackWhiteListResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/update_cache_rules_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/update_cache_rules_response.py index 191724e337..ec5aa12db7 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/update_cache_rules_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/update_cache_rules_response.py @@ -18,29 +18,36 @@ class UpdateCacheRulesResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'cache_config': 'CacheConfig' + 'cache_config': 'CacheConfig', + 'x_request_id': 'str' } attribute_map = { - 'cache_config': 'cache_config' + 'cache_config': 'cache_config', + 'x_request_id': 'X-Request-Id' } - def __init__(self, cache_config=None): + def __init__(self, cache_config=None, x_request_id=None): """UpdateCacheRulesResponse The model defined in huaweicloud sdk :param cache_config: :type cache_config: :class:`huaweicloudsdkcdn.v1.CacheConfig` + :param x_request_id: + :type x_request_id: str """ super(UpdateCacheRulesResponse, self).__init__() self._cache_config = None + self._x_request_id = None self.discriminator = None if cache_config is not None: self.cache_config = cache_config + if x_request_id is not None: + self.x_request_id = x_request_id @property def cache_config(self): @@ -60,6 +67,24 @@ def cache_config(self, cache_config): """ self._cache_config = cache_config + @property + def x_request_id(self): + """Gets the x_request_id of this UpdateCacheRulesResponse. + + :return: The x_request_id of this UpdateCacheRulesResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this UpdateCacheRulesResponse. + + :param x_request_id: The x_request_id of this UpdateCacheRulesResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/update_domain_full_config_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/update_domain_full_config_response.py index 9e9fed8cc8..a95b2750ec 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/update_domain_full_config_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/update_domain_full_config_response.py @@ -18,21 +18,48 @@ class UpdateDomainFullConfigResponse(SdkResponse): sensitive_list = [] openapi_types = { + 'x_request_id': 'str' } attribute_map = { + 'x_request_id': 'X-Request-Id' } - def __init__(self): + def __init__(self, x_request_id=None): """UpdateDomainFullConfigResponse The model defined in huaweicloud sdk + :param x_request_id: + :type x_request_id: str """ super(UpdateDomainFullConfigResponse, self).__init__() + + self._x_request_id = None self.discriminator = None + if x_request_id is not None: + self.x_request_id = x_request_id + + @property + def x_request_id(self): + """Gets the x_request_id of this UpdateDomainFullConfigResponse. + + :return: The x_request_id of this UpdateDomainFullConfigResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this UpdateDomainFullConfigResponse. + + :param x_request_id: The x_request_id of this UpdateDomainFullConfigResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/update_domain_multi_certificates_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/update_domain_multi_certificates_response.py index 002dc48648..ca7396dc83 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/update_domain_multi_certificates_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/update_domain_multi_certificates_response.py @@ -18,29 +18,36 @@ class UpdateDomainMultiCertificatesResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'https': 'UpdateDomainMultiCertificatesResponseBodyContent' + 'https': 'UpdateDomainMultiCertificatesResponseBodyContent', + 'x_request_id': 'str' } attribute_map = { - 'https': 'https' + 'https': 'https', + 'x_request_id': 'X-Request-Id' } - def __init__(self, https=None): + def __init__(self, https=None, x_request_id=None): """UpdateDomainMultiCertificatesResponse The model defined in huaweicloud sdk :param https: :type https: :class:`huaweicloudsdkcdn.v1.UpdateDomainMultiCertificatesResponseBodyContent` + :param x_request_id: + :type x_request_id: str """ super(UpdateDomainMultiCertificatesResponse, self).__init__() self._https = None + self._x_request_id = None self.discriminator = None if https is not None: self.https = https + if x_request_id is not None: + self.x_request_id = x_request_id @property def https(self): @@ -60,6 +67,24 @@ def https(self, https): """ self._https = https + @property + def x_request_id(self): + """Gets the x_request_id of this UpdateDomainMultiCertificatesResponse. + + :return: The x_request_id of this UpdateDomainMultiCertificatesResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this UpdateDomainMultiCertificatesResponse. + + :param x_request_id: The x_request_id of this UpdateDomainMultiCertificatesResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/update_domain_origin_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/update_domain_origin_response.py index a0d6ac31b5..c1386d2a10 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/update_domain_origin_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/update_domain_origin_response.py @@ -18,29 +18,36 @@ class UpdateDomainOriginResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'origin': 'ResourceBody' + 'origin': 'ResourceBody', + 'x_request_id': 'str' } attribute_map = { - 'origin': 'origin' + 'origin': 'origin', + 'x_request_id': 'X-Request-Id' } - def __init__(self, origin=None): + def __init__(self, origin=None, x_request_id=None): """UpdateDomainOriginResponse The model defined in huaweicloud sdk :param origin: :type origin: :class:`huaweicloudsdkcdn.v1.ResourceBody` + :param x_request_id: + :type x_request_id: str """ super(UpdateDomainOriginResponse, self).__init__() self._origin = None + self._x_request_id = None self.discriminator = None if origin is not None: self.origin = origin + if x_request_id is not None: + self.x_request_id = x_request_id @property def origin(self): @@ -60,6 +67,24 @@ def origin(self, origin): """ self._origin = origin + @property + def x_request_id(self): + """Gets the x_request_id of this UpdateDomainOriginResponse. + + :return: The x_request_id of this UpdateDomainOriginResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this UpdateDomainOriginResponse. + + :param x_request_id: The x_request_id of this UpdateDomainOriginResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/update_follow302_switch_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/update_follow302_switch_response.py index c52bf67445..8f11372908 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/update_follow302_switch_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/update_follow302_switch_response.py @@ -18,29 +18,36 @@ class UpdateFollow302SwitchResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'follow_status': 'Follow302StatusBody' + 'follow_status': 'Follow302StatusBody', + 'x_request_id': 'str' } attribute_map = { - 'follow_status': 'follow_status' + 'follow_status': 'follow_status', + 'x_request_id': 'X-Request-Id' } - def __init__(self, follow_status=None): + def __init__(self, follow_status=None, x_request_id=None): """UpdateFollow302SwitchResponse The model defined in huaweicloud sdk :param follow_status: :type follow_status: :class:`huaweicloudsdkcdn.v1.Follow302StatusBody` + :param x_request_id: + :type x_request_id: str """ super(UpdateFollow302SwitchResponse, self).__init__() self._follow_status = None + self._x_request_id = None self.discriminator = None if follow_status is not None: self.follow_status = follow_status + if x_request_id is not None: + self.x_request_id = x_request_id @property def follow_status(self): @@ -60,6 +67,24 @@ def follow_status(self, follow_status): """ self._follow_status = follow_status + @property + def x_request_id(self): + """Gets the x_request_id of this UpdateFollow302SwitchResponse. + + :return: The x_request_id of this UpdateFollow302SwitchResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this UpdateFollow302SwitchResponse. + + :param x_request_id: The x_request_id of this UpdateFollow302SwitchResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/update_https_info_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/update_https_info_response.py index 82029578e0..659b4eba90 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/update_https_info_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/update_https_info_response.py @@ -18,29 +18,36 @@ class UpdateHttpsInfoResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'https': 'HttpInfoResponseBody' + 'https': 'HttpInfoResponseBody', + 'x_request_id': 'str' } attribute_map = { - 'https': 'https' + 'https': 'https', + 'x_request_id': 'X-Request-Id' } - def __init__(self, https=None): + def __init__(self, https=None, x_request_id=None): """UpdateHttpsInfoResponse The model defined in huaweicloud sdk :param https: :type https: :class:`huaweicloudsdkcdn.v1.HttpInfoResponseBody` + :param x_request_id: + :type x_request_id: str """ super(UpdateHttpsInfoResponse, self).__init__() self._https = None + self._x_request_id = None self.discriminator = None if https is not None: self.https = https + if x_request_id is not None: + self.x_request_id = x_request_id @property def https(self): @@ -60,6 +67,24 @@ def https(self, https): """ self._https = https + @property + def x_request_id(self): + """Gets the x_request_id of this UpdateHttpsInfoResponse. + + :return: The x_request_id of this UpdateHttpsInfoResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this UpdateHttpsInfoResponse. + + :param x_request_id: The x_request_id of this UpdateHttpsInfoResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/update_origin_host_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/update_origin_host_response.py index fe89c0ad1f..d93d29e4cb 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/update_origin_host_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/update_origin_host_response.py @@ -18,29 +18,36 @@ class UpdateOriginHostResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'origin_host': 'DomainOriginHost' + 'origin_host': 'DomainOriginHost', + 'x_request_id': 'str' } attribute_map = { - 'origin_host': 'origin_host' + 'origin_host': 'origin_host', + 'x_request_id': 'X-Request-Id' } - def __init__(self, origin_host=None): + def __init__(self, origin_host=None, x_request_id=None): """UpdateOriginHostResponse The model defined in huaweicloud sdk :param origin_host: :type origin_host: :class:`huaweicloudsdkcdn.v1.DomainOriginHost` + :param x_request_id: + :type x_request_id: str """ super(UpdateOriginHostResponse, self).__init__() self._origin_host = None + self._x_request_id = None self.discriminator = None if origin_host is not None: self.origin_host = origin_host + if x_request_id is not None: + self.x_request_id = x_request_id @property def origin_host(self): @@ -60,6 +67,24 @@ def origin_host(self, origin_host): """ self._origin_host = origin_host + @property + def x_request_id(self): + """Gets the x_request_id of this UpdateOriginHostResponse. + + :return: The x_request_id of this UpdateOriginHostResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this UpdateOriginHostResponse. + + :param x_request_id: The x_request_id of this UpdateOriginHostResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/update_private_bucket_access_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/update_private_bucket_access_response.py index 67d5bbec1b..072fb8c514 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/update_private_bucket_access_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/update_private_bucket_access_response.py @@ -18,29 +18,36 @@ class UpdatePrivateBucketAccessResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'status': 'bool' + 'status': 'bool', + 'x_request_id': 'str' } attribute_map = { - 'status': 'status' + 'status': 'status', + 'x_request_id': 'X-Request-Id' } - def __init__(self, status=None): + def __init__(self, status=None, x_request_id=None): """UpdatePrivateBucketAccessResponse The model defined in huaweicloud sdk :param status: 桶开启关闭状态(true:开启;false:关闭) :type status: bool + :param x_request_id: + :type x_request_id: str """ super(UpdatePrivateBucketAccessResponse, self).__init__() self._status = None + self._x_request_id = None self.discriminator = None if status is not None: self.status = status + if x_request_id is not None: + self.x_request_id = x_request_id @property def status(self): @@ -64,6 +71,24 @@ def status(self, status): """ self._status = status + @property + def x_request_id(self): + """Gets the x_request_id of this UpdatePrivateBucketAccessResponse. + + :return: The x_request_id of this UpdatePrivateBucketAccessResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this UpdatePrivateBucketAccessResponse. + + :param x_request_id: The x_request_id of this UpdatePrivateBucketAccessResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/update_range_switch_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/update_range_switch_response.py index 1c535eb033..949190b6f7 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/update_range_switch_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/update_range_switch_response.py @@ -18,29 +18,36 @@ class UpdateRangeSwitchResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'origin_range': 'OriginRangeBody' + 'origin_range': 'OriginRangeBody', + 'x_request_id': 'str' } attribute_map = { - 'origin_range': 'origin_range' + 'origin_range': 'origin_range', + 'x_request_id': 'X-Request-Id' } - def __init__(self, origin_range=None): + def __init__(self, origin_range=None, x_request_id=None): """UpdateRangeSwitchResponse The model defined in huaweicloud sdk :param origin_range: :type origin_range: :class:`huaweicloudsdkcdn.v1.OriginRangeBody` + :param x_request_id: + :type x_request_id: str """ super(UpdateRangeSwitchResponse, self).__init__() self._origin_range = None + self._x_request_id = None self.discriminator = None if origin_range is not None: self.origin_range = origin_range + if x_request_id is not None: + self.x_request_id = x_request_id @property def origin_range(self): @@ -60,6 +67,24 @@ def origin_range(self, origin_range): """ self._origin_range = origin_range + @property + def x_request_id(self): + """Gets the x_request_id of this UpdateRangeSwitchResponse. + + :return: The x_request_id of this UpdateRangeSwitchResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this UpdateRangeSwitchResponse. + + :param x_request_id: The x_request_id of this UpdateRangeSwitchResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/update_refer_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/update_refer_response.py index 79191c48af..8df8555b1b 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/update_refer_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/update_refer_response.py @@ -18,29 +18,36 @@ class UpdateReferResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'referer': 'RefererRsp' + 'referer': 'RefererRsp', + 'x_request_id': 'str' } attribute_map = { - 'referer': 'referer' + 'referer': 'referer', + 'x_request_id': 'X-Request-Id' } - def __init__(self, referer=None): + def __init__(self, referer=None, x_request_id=None): """UpdateReferResponse The model defined in huaweicloud sdk :param referer: :type referer: :class:`huaweicloudsdkcdn.v1.RefererRsp` + :param x_request_id: + :type x_request_id: str """ super(UpdateReferResponse, self).__init__() self._referer = None + self._x_request_id = None self.discriminator = None if referer is not None: self.referer = referer + if x_request_id is not None: + self.x_request_id = x_request_id @property def referer(self): @@ -60,6 +67,24 @@ def referer(self, referer): """ self._referer = referer + @property + def x_request_id(self): + """Gets the x_request_id of this UpdateReferResponse. + + :return: The x_request_id of this UpdateReferResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this UpdateReferResponse. + + :param x_request_id: The x_request_id of this UpdateReferResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/update_response_header_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/update_response_header_response.py index b3921651c6..6ed2ea825e 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/update_response_header_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v1/model/update_response_header_response.py @@ -18,29 +18,36 @@ class UpdateResponseHeaderResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'headers': 'HeaderMap' + 'headers': 'HeaderMap', + 'x_request_id': 'str' } attribute_map = { - 'headers': 'headers' + 'headers': 'headers', + 'x_request_id': 'X-Request-Id' } - def __init__(self, headers=None): + def __init__(self, headers=None, x_request_id=None): """UpdateResponseHeaderResponse The model defined in huaweicloud sdk :param headers: :type headers: :class:`huaweicloudsdkcdn.v1.HeaderMap` + :param x_request_id: + :type x_request_id: str """ super(UpdateResponseHeaderResponse, self).__init__() self._headers = None + self._x_request_id = None self.discriminator = None if headers is not None: self.headers = headers + if x_request_id is not None: + self.x_request_id = x_request_id @property def headers(self): @@ -60,6 +67,24 @@ def headers(self, headers): """ self._headers = headers + @property + def x_request_id(self): + """Gets the x_request_id of this UpdateResponseHeaderResponse. + + :return: The x_request_id of this UpdateResponseHeaderResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this UpdateResponseHeaderResponse. + + :param x_request_id: The x_request_id of this UpdateResponseHeaderResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/cdn_async_client.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/cdn_async_client.py index 0a5e723e8b..d4fbad85d8 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/cdn_async_client.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/cdn_async_client.py @@ -80,7 +80,7 @@ def _batch_copy_domain_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -145,7 +145,7 @@ def _batch_delete_tags_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -210,7 +210,7 @@ def _create_domain_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -277,7 +277,7 @@ def _create_preheating_tasks_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -344,7 +344,7 @@ def _create_refresh_tasks_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -409,7 +409,7 @@ def _create_tags_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -476,7 +476,7 @@ def _delete_domain_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -543,7 +543,7 @@ def _disable_domain_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -796,7 +796,7 @@ def _enable_domain_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -960,7 +960,7 @@ def _list_domains_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -1195,7 +1195,7 @@ def _show_certificates_https_info_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -1339,7 +1339,7 @@ def _show_domain_detail_by_name_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -1408,7 +1408,7 @@ def _show_domain_full_config_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -1675,7 +1675,7 @@ def _show_history_task_details_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -1758,7 +1758,7 @@ def _show_history_tasks_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -1825,7 +1825,7 @@ def _show_ip_info_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -1965,7 +1965,7 @@ def _show_tags_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -2285,7 +2285,7 @@ def _show_verify_domain_owner_info_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -2354,7 +2354,7 @@ def _update_domain_full_config_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -2421,7 +2421,7 @@ def _update_domain_multi_certificates_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -2490,7 +2490,7 @@ def _update_private_bucket_access_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -2557,7 +2557,7 @@ def _verify_domain_owner_http_info(self, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/cdn_client.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/cdn_client.py index b1f413ccb8..7b9091f50d 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/cdn_client.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/cdn_client.py @@ -80,7 +80,7 @@ def _batch_copy_domain_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -145,7 +145,7 @@ def _batch_delete_tags_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -210,7 +210,7 @@ def _create_domain_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -277,7 +277,7 @@ def _create_preheating_tasks_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -344,7 +344,7 @@ def _create_refresh_tasks_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -409,7 +409,7 @@ def _create_tags_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -476,7 +476,7 @@ def _delete_domain_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -543,7 +543,7 @@ def _disable_domain_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -796,7 +796,7 @@ def _enable_domain_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -960,7 +960,7 @@ def _list_domains_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -1195,7 +1195,7 @@ def _show_certificates_https_info_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -1339,7 +1339,7 @@ def _show_domain_detail_by_name_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -1408,7 +1408,7 @@ def _show_domain_full_config_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -1675,7 +1675,7 @@ def _show_history_task_details_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -1758,7 +1758,7 @@ def _show_history_tasks_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -1825,7 +1825,7 @@ def _show_ip_info_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -1965,7 +1965,7 @@ def _show_tags_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -2285,7 +2285,7 @@ def _show_verify_domain_owner_info_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -2354,7 +2354,7 @@ def _update_domain_full_config_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -2421,7 +2421,7 @@ def _update_domain_multi_certificates_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -2490,7 +2490,7 @@ def _update_private_bucket_access_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) @@ -2557,7 +2557,7 @@ def _verify_domain_owner_http_info(cls, request): if isinstance(request, SdkStreamRequest): body = request.get_file_stream() - response_headers = [] + response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( ['application/json']) diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/batch_copy_domain_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/batch_copy_domain_response.py index 71cc339bc2..fadfa17e2f 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/batch_copy_domain_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/batch_copy_domain_response.py @@ -18,29 +18,36 @@ class BatchCopyDomainResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'result': 'list[BatchCopyResultVo]' + 'result': 'list[BatchCopyResultVo]', + 'x_request_id': 'str' } attribute_map = { - 'result': 'result' + 'result': 'result', + 'x_request_id': 'X-Request-Id' } - def __init__(self, result=None): + def __init__(self, result=None, x_request_id=None): """BatchCopyDomainResponse The model defined in huaweicloud sdk :param result: 复制配置结果。 :type result: list[:class:`huaweicloudsdkcdn.v2.BatchCopyResultVo`] + :param x_request_id: + :type x_request_id: str """ super(BatchCopyDomainResponse, self).__init__() self._result = None + self._x_request_id = None self.discriminator = None if result is not None: self.result = result + if x_request_id is not None: + self.x_request_id = x_request_id @property def result(self): @@ -64,6 +71,24 @@ def result(self, result): """ self._result = result + @property + def x_request_id(self): + """Gets the x_request_id of this BatchCopyDomainResponse. + + :return: The x_request_id of this BatchCopyDomainResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this BatchCopyDomainResponse. + + :param x_request_id: The x_request_id of this BatchCopyDomainResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/batch_delete_tags_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/batch_delete_tags_response.py index 34fd852f32..83d58523e1 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/batch_delete_tags_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/batch_delete_tags_response.py @@ -18,21 +18,48 @@ class BatchDeleteTagsResponse(SdkResponse): sensitive_list = [] openapi_types = { + 'x_request_id': 'str' } attribute_map = { + 'x_request_id': 'X-Request-Id' } - def __init__(self): + def __init__(self, x_request_id=None): """BatchDeleteTagsResponse The model defined in huaweicloud sdk + :param x_request_id: + :type x_request_id: str """ super(BatchDeleteTagsResponse, self).__init__() + + self._x_request_id = None self.discriminator = None + if x_request_id is not None: + self.x_request_id = x_request_id + + @property + def x_request_id(self): + """Gets the x_request_id of this BatchDeleteTagsResponse. + + :return: The x_request_id of this BatchDeleteTagsResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this BatchDeleteTagsResponse. + + :param x_request_id: The x_request_id of this BatchDeleteTagsResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/create_domain_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/create_domain_response.py index 105bbf997d..31a3014b87 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/create_domain_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/create_domain_response.py @@ -18,29 +18,36 @@ class CreateDomainResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'domain': 'CreateDomainResponseBodyContent' + 'domain': 'CreateDomainResponseBodyContent', + 'x_request_id': 'str' } attribute_map = { - 'domain': 'domain' + 'domain': 'domain', + 'x_request_id': 'X-Request-Id' } - def __init__(self, domain=None): + def __init__(self, domain=None, x_request_id=None): """CreateDomainResponse The model defined in huaweicloud sdk :param domain: :type domain: :class:`huaweicloudsdkcdn.v2.CreateDomainResponseBodyContent` + :param x_request_id: + :type x_request_id: str """ super(CreateDomainResponse, self).__init__() self._domain = None + self._x_request_id = None self.discriminator = None if domain is not None: self.domain = domain + if x_request_id is not None: + self.x_request_id = x_request_id @property def domain(self): @@ -60,6 +67,24 @@ def domain(self, domain): """ self._domain = domain + @property + def x_request_id(self): + """Gets the x_request_id of this CreateDomainResponse. + + :return: The x_request_id of this CreateDomainResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this CreateDomainResponse. + + :param x_request_id: The x_request_id of this CreateDomainResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/create_preheating_tasks_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/create_preheating_tasks_response.py index 0e73a90ea1..ce65d333fe 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/create_preheating_tasks_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/create_preheating_tasks_response.py @@ -18,29 +18,36 @@ class CreatePreheatingTasksResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'preheating_task': 'str' + 'preheating_task': 'str', + 'x_request_id': 'str' } attribute_map = { - 'preheating_task': 'preheating_task' + 'preheating_task': 'preheating_task', + 'x_request_id': 'X-Request-Id' } - def __init__(self, preheating_task=None): + def __init__(self, preheating_task=None, x_request_id=None): """CreatePreheatingTasksResponse The model defined in huaweicloud sdk :param preheating_task: 任务ID。 :type preheating_task: str + :param x_request_id: + :type x_request_id: str """ super(CreatePreheatingTasksResponse, self).__init__() self._preheating_task = None + self._x_request_id = None self.discriminator = None if preheating_task is not None: self.preheating_task = preheating_task + if x_request_id is not None: + self.x_request_id = x_request_id @property def preheating_task(self): @@ -64,6 +71,24 @@ def preheating_task(self, preheating_task): """ self._preheating_task = preheating_task + @property + def x_request_id(self): + """Gets the x_request_id of this CreatePreheatingTasksResponse. + + :return: The x_request_id of this CreatePreheatingTasksResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this CreatePreheatingTasksResponse. + + :param x_request_id: The x_request_id of this CreatePreheatingTasksResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/create_refresh_tasks_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/create_refresh_tasks_response.py index ca8a077127..55cf889076 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/create_refresh_tasks_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/create_refresh_tasks_response.py @@ -18,29 +18,36 @@ class CreateRefreshTasksResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'refresh_task': 'str' + 'refresh_task': 'str', + 'x_request_id': 'str' } attribute_map = { - 'refresh_task': 'refresh_task' + 'refresh_task': 'refresh_task', + 'x_request_id': 'X-Request-Id' } - def __init__(self, refresh_task=None): + def __init__(self, refresh_task=None, x_request_id=None): """CreateRefreshTasksResponse The model defined in huaweicloud sdk :param refresh_task: 任务ID。 :type refresh_task: str + :param x_request_id: + :type x_request_id: str """ super(CreateRefreshTasksResponse, self).__init__() self._refresh_task = None + self._x_request_id = None self.discriminator = None if refresh_task is not None: self.refresh_task = refresh_task + if x_request_id is not None: + self.x_request_id = x_request_id @property def refresh_task(self): @@ -64,6 +71,24 @@ def refresh_task(self, refresh_task): """ self._refresh_task = refresh_task + @property + def x_request_id(self): + """Gets the x_request_id of this CreateRefreshTasksResponse. + + :return: The x_request_id of this CreateRefreshTasksResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this CreateRefreshTasksResponse. + + :param x_request_id: The x_request_id of this CreateRefreshTasksResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/create_tags_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/create_tags_response.py index cd36d5a261..e7cbefa5f4 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/create_tags_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/create_tags_response.py @@ -18,21 +18,48 @@ class CreateTagsResponse(SdkResponse): sensitive_list = [] openapi_types = { + 'x_request_id': 'str' } attribute_map = { + 'x_request_id': 'X-Request-Id' } - def __init__(self): + def __init__(self, x_request_id=None): """CreateTagsResponse The model defined in huaweicloud sdk + :param x_request_id: + :type x_request_id: str """ super(CreateTagsResponse, self).__init__() + + self._x_request_id = None self.discriminator = None + if x_request_id is not None: + self.x_request_id = x_request_id + + @property + def x_request_id(self): + """Gets the x_request_id of this CreateTagsResponse. + + :return: The x_request_id of this CreateTagsResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this CreateTagsResponse. + + :param x_request_id: The x_request_id of this CreateTagsResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/delete_domain_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/delete_domain_response.py index a2c04133d5..d4c666b0a2 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/delete_domain_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/delete_domain_response.py @@ -18,29 +18,36 @@ class DeleteDomainResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'domain': 'DomainsWithPort' + 'domain': 'DomainsWithPort', + 'x_request_id': 'str' } attribute_map = { - 'domain': 'domain' + 'domain': 'domain', + 'x_request_id': 'X-Request-Id' } - def __init__(self, domain=None): + def __init__(self, domain=None, x_request_id=None): """DeleteDomainResponse The model defined in huaweicloud sdk :param domain: :type domain: :class:`huaweicloudsdkcdn.v2.DomainsWithPort` + :param x_request_id: + :type x_request_id: str """ super(DeleteDomainResponse, self).__init__() self._domain = None + self._x_request_id = None self.discriminator = None if domain is not None: self.domain = domain + if x_request_id is not None: + self.x_request_id = x_request_id @property def domain(self): @@ -60,6 +67,24 @@ def domain(self, domain): """ self._domain = domain + @property + def x_request_id(self): + """Gets the x_request_id of this DeleteDomainResponse. + + :return: The x_request_id of this DeleteDomainResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this DeleteDomainResponse. + + :param x_request_id: The x_request_id of this DeleteDomainResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/disable_domain_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/disable_domain_response.py index eb23521978..1718087711 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/disable_domain_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/disable_domain_response.py @@ -18,29 +18,36 @@ class DisableDomainResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'domain': 'DomainsWithPort' + 'domain': 'DomainsWithPort', + 'x_request_id': 'str' } attribute_map = { - 'domain': 'domain' + 'domain': 'domain', + 'x_request_id': 'X-Request-Id' } - def __init__(self, domain=None): + def __init__(self, domain=None, x_request_id=None): """DisableDomainResponse The model defined in huaweicloud sdk :param domain: :type domain: :class:`huaweicloudsdkcdn.v2.DomainsWithPort` + :param x_request_id: + :type x_request_id: str """ super(DisableDomainResponse, self).__init__() self._domain = None + self._x_request_id = None self.discriminator = None if domain is not None: self.domain = domain + if x_request_id is not None: + self.x_request_id = x_request_id @property def domain(self): @@ -60,6 +67,24 @@ def domain(self, domain): """ self._domain = domain + @property + def x_request_id(self): + """Gets the x_request_id of this DisableDomainResponse. + + :return: The x_request_id of this DisableDomainResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this DisableDomainResponse. + + :param x_request_id: The x_request_id of this DisableDomainResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/enable_domain_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/enable_domain_response.py index a664bb4a47..44f8b4554c 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/enable_domain_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/enable_domain_response.py @@ -18,29 +18,36 @@ class EnableDomainResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'domain': 'DomainsWithPort' + 'domain': 'DomainsWithPort', + 'x_request_id': 'str' } attribute_map = { - 'domain': 'domain' + 'domain': 'domain', + 'x_request_id': 'X-Request-Id' } - def __init__(self, domain=None): + def __init__(self, domain=None, x_request_id=None): """EnableDomainResponse The model defined in huaweicloud sdk :param domain: :type domain: :class:`huaweicloudsdkcdn.v2.DomainsWithPort` + :param x_request_id: + :type x_request_id: str """ super(EnableDomainResponse, self).__init__() self._domain = None + self._x_request_id = None self.discriminator = None if domain is not None: self.domain = domain + if x_request_id is not None: + self.x_request_id = x_request_id @property def domain(self): @@ -60,6 +67,24 @@ def domain(self, domain): """ self._domain = domain + @property + def x_request_id(self): + """Gets the x_request_id of this EnableDomainResponse. + + :return: The x_request_id of this EnableDomainResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this EnableDomainResponse. + + :param x_request_id: The x_request_id of this EnableDomainResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/list_domains_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/list_domains_response.py index 0354fbc6a6..92c4dd7137 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/list_domains_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/list_domains_response.py @@ -19,15 +19,17 @@ class ListDomainsResponse(SdkResponse): openapi_types = { 'total': 'int', - 'domains': 'list[Domains]' + 'domains': 'list[Domains]', + 'x_request_id': 'str' } attribute_map = { 'total': 'total', - 'domains': 'domains' + 'domains': 'domains', + 'x_request_id': 'X-Request-Id' } - def __init__(self, total=None, domains=None): + def __init__(self, total=None, domains=None, x_request_id=None): """ListDomainsResponse The model defined in huaweicloud sdk @@ -36,18 +38,23 @@ def __init__(self, total=None, domains=None): :type total: int :param domains: 域名信息。 :type domains: list[:class:`huaweicloudsdkcdn.v2.Domains`] + :param x_request_id: + :type x_request_id: str """ super(ListDomainsResponse, self).__init__() self._total = None self._domains = None + self._x_request_id = None self.discriminator = None if total is not None: self.total = total if domains is not None: self.domains = domains + if x_request_id is not None: + self.x_request_id = x_request_id @property def total(self): @@ -93,6 +100,24 @@ def domains(self, domains): """ self._domains = domains + @property + def x_request_id(self): + """Gets the x_request_id of this ListDomainsResponse. + + :return: The x_request_id of this ListDomainsResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this ListDomainsResponse. + + :param x_request_id: The x_request_id of this ListDomainsResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/show_certificates_https_info_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/show_certificates_https_info_response.py index ff138620fe..04c2c87926 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/show_certificates_https_info_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/show_certificates_https_info_response.py @@ -19,15 +19,17 @@ class ShowCertificatesHttpsInfoResponse(SdkResponse): openapi_types = { 'total': 'int', - 'https': 'list[HttpsDetail]' + 'https': 'list[HttpsDetail]', + 'x_request_id': 'str' } attribute_map = { 'total': 'total', - 'https': 'https' + 'https': 'https', + 'x_request_id': 'X-Request-Id' } - def __init__(self, total=None, https=None): + def __init__(self, total=None, https=None, x_request_id=None): """ShowCertificatesHttpsInfoResponse The model defined in huaweicloud sdk @@ -36,18 +38,23 @@ def __init__(self, total=None, https=None): :type total: int :param https: https配置。 :type https: list[:class:`huaweicloudsdkcdn.v2.HttpsDetail`] + :param x_request_id: + :type x_request_id: str """ super(ShowCertificatesHttpsInfoResponse, self).__init__() self._total = None self._https = None + self._x_request_id = None self.discriminator = None if total is not None: self.total = total if https is not None: self.https = https + if x_request_id is not None: + self.x_request_id = x_request_id @property def total(self): @@ -93,6 +100,24 @@ def https(self, https): """ self._https = https + @property + def x_request_id(self): + """Gets the x_request_id of this ShowCertificatesHttpsInfoResponse. + + :return: The x_request_id of this ShowCertificatesHttpsInfoResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this ShowCertificatesHttpsInfoResponse. + + :param x_request_id: The x_request_id of this ShowCertificatesHttpsInfoResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/show_domain_detail_by_name_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/show_domain_detail_by_name_response.py index 65733863a1..d8bf72c455 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/show_domain_detail_by_name_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/show_domain_detail_by_name_response.py @@ -18,29 +18,36 @@ class ShowDomainDetailByNameResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'domain': 'DomainsDetail' + 'domain': 'DomainsDetail', + 'x_request_id': 'str' } attribute_map = { - 'domain': 'domain' + 'domain': 'domain', + 'x_request_id': 'X-Request-Id' } - def __init__(self, domain=None): + def __init__(self, domain=None, x_request_id=None): """ShowDomainDetailByNameResponse The model defined in huaweicloud sdk :param domain: :type domain: :class:`huaweicloudsdkcdn.v2.DomainsDetail` + :param x_request_id: + :type x_request_id: str """ super(ShowDomainDetailByNameResponse, self).__init__() self._domain = None + self._x_request_id = None self.discriminator = None if domain is not None: self.domain = domain + if x_request_id is not None: + self.x_request_id = x_request_id @property def domain(self): @@ -60,6 +67,24 @@ def domain(self, domain): """ self._domain = domain + @property + def x_request_id(self): + """Gets the x_request_id of this ShowDomainDetailByNameResponse. + + :return: The x_request_id of this ShowDomainDetailByNameResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this ShowDomainDetailByNameResponse. + + :param x_request_id: The x_request_id of this ShowDomainDetailByNameResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/show_domain_full_config_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/show_domain_full_config_response.py index e5e150abeb..484f53cafc 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/show_domain_full_config_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/show_domain_full_config_response.py @@ -18,29 +18,36 @@ class ShowDomainFullConfigResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'configs': 'ConfigsGetBody' + 'configs': 'ConfigsGetBody', + 'x_request_id': 'str' } attribute_map = { - 'configs': 'configs' + 'configs': 'configs', + 'x_request_id': 'X-Request-Id' } - def __init__(self, configs=None): + def __init__(self, configs=None, x_request_id=None): """ShowDomainFullConfigResponse The model defined in huaweicloud sdk :param configs: :type configs: :class:`huaweicloudsdkcdn.v2.ConfigsGetBody` + :param x_request_id: + :type x_request_id: str """ super(ShowDomainFullConfigResponse, self).__init__() self._configs = None + self._x_request_id = None self.discriminator = None if configs is not None: self.configs = configs + if x_request_id is not None: + self.x_request_id = x_request_id @property def configs(self): @@ -60,6 +67,24 @@ def configs(self, configs): """ self._configs = configs + @property + def x_request_id(self): + """Gets the x_request_id of this ShowDomainFullConfigResponse. + + :return: The x_request_id of this ShowDomainFullConfigResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this ShowDomainFullConfigResponse. + + :param x_request_id: The x_request_id of this ShowDomainFullConfigResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/show_history_task_details_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/show_history_task_details_response.py index 2be8be1e40..513a294477 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/show_history_task_details_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/show_history_task_details_response.py @@ -27,7 +27,8 @@ class ShowHistoryTaskDetailsResponse(SdkResponse): 'succeed': 'int', 'failed': 'int', 'total': 'int', - 'file_type': 'str' + 'file_type': 'str', + 'x_request_id': 'str' } attribute_map = { @@ -40,10 +41,11 @@ class ShowHistoryTaskDetailsResponse(SdkResponse): 'succeed': 'succeed', 'failed': 'failed', 'total': 'total', - 'file_type': 'file_type' + 'file_type': 'file_type', + 'x_request_id': 'X-Request-Id' } - def __init__(self, id=None, task_type=None, status=None, urls=None, create_time=None, processing=None, succeed=None, failed=None, total=None, file_type=None): + def __init__(self, id=None, task_type=None, status=None, urls=None, create_time=None, processing=None, succeed=None, failed=None, total=None, file_type=None, x_request_id=None): """ShowHistoryTaskDetailsResponse The model defined in huaweicloud sdk @@ -68,6 +70,8 @@ def __init__(self, id=None, task_type=None, status=None, urls=None, create_time= :type total: int :param file_type: 文件类型,file:文件;directory:目录,默认是文件file。 :type file_type: str + :param x_request_id: + :type x_request_id: str """ super(ShowHistoryTaskDetailsResponse, self).__init__() @@ -82,6 +86,7 @@ def __init__(self, id=None, task_type=None, status=None, urls=None, create_time= self._failed = None self._total = None self._file_type = None + self._x_request_id = None self.discriminator = None if id is not None: @@ -104,6 +109,8 @@ def __init__(self, id=None, task_type=None, status=None, urls=None, create_time= self.total = total if file_type is not None: self.file_type = file_type + if x_request_id is not None: + self.x_request_id = x_request_id @property def id(self): @@ -325,6 +332,24 @@ def file_type(self, file_type): """ self._file_type = file_type + @property + def x_request_id(self): + """Gets the x_request_id of this ShowHistoryTaskDetailsResponse. + + :return: The x_request_id of this ShowHistoryTaskDetailsResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this ShowHistoryTaskDetailsResponse. + + :param x_request_id: The x_request_id of this ShowHistoryTaskDetailsResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/show_history_tasks_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/show_history_tasks_response.py index 702a99cf5b..622c80cbe4 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/show_history_tasks_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/show_history_tasks_response.py @@ -19,15 +19,17 @@ class ShowHistoryTasksResponse(SdkResponse): openapi_types = { 'total': 'int', - 'tasks': 'list[TasksObject]' + 'tasks': 'list[TasksObject]', + 'x_request_id': 'str' } attribute_map = { 'total': 'total', - 'tasks': 'tasks' + 'tasks': 'tasks', + 'x_request_id': 'X-Request-Id' } - def __init__(self, total=None, tasks=None): + def __init__(self, total=None, tasks=None, x_request_id=None): """ShowHistoryTasksResponse The model defined in huaweicloud sdk @@ -36,18 +38,23 @@ def __init__(self, total=None, tasks=None): :type total: int :param tasks: 日志列表数据 :type tasks: list[:class:`huaweicloudsdkcdn.v2.TasksObject`] + :param x_request_id: + :type x_request_id: str """ super(ShowHistoryTasksResponse, self).__init__() self._total = None self._tasks = None + self._x_request_id = None self.discriminator = None if total is not None: self.total = total if tasks is not None: self.tasks = tasks + if x_request_id is not None: + self.x_request_id = x_request_id @property def total(self): @@ -93,6 +100,24 @@ def tasks(self, tasks): """ self._tasks = tasks + @property + def x_request_id(self): + """Gets the x_request_id of this ShowHistoryTasksResponse. + + :return: The x_request_id of this ShowHistoryTasksResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this ShowHistoryTasksResponse. + + :param x_request_id: The x_request_id of this ShowHistoryTasksResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/show_ip_info_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/show_ip_info_response.py index cc9b228b06..173e082273 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/show_ip_info_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/show_ip_info_response.py @@ -18,29 +18,36 @@ class ShowIpInfoResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'cdn_ips': 'list[CdnIps]' + 'cdn_ips': 'list[CdnIps]', + 'x_request_id': 'str' } attribute_map = { - 'cdn_ips': 'cdn_ips' + 'cdn_ips': 'cdn_ips', + 'x_request_id': 'X-Request-Id' } - def __init__(self, cdn_ips=None): + def __init__(self, cdn_ips=None, x_request_id=None): """ShowIpInfoResponse The model defined in huaweicloud sdk :param cdn_ips: IP归属信息列表。 :type cdn_ips: list[:class:`huaweicloudsdkcdn.v2.CdnIps`] + :param x_request_id: + :type x_request_id: str """ super(ShowIpInfoResponse, self).__init__() self._cdn_ips = None + self._x_request_id = None self.discriminator = None if cdn_ips is not None: self.cdn_ips = cdn_ips + if x_request_id is not None: + self.x_request_id = x_request_id @property def cdn_ips(self): @@ -64,6 +71,24 @@ def cdn_ips(self, cdn_ips): """ self._cdn_ips = cdn_ips + @property + def x_request_id(self): + """Gets the x_request_id of this ShowIpInfoResponse. + + :return: The x_request_id of this ShowIpInfoResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this ShowIpInfoResponse. + + :param x_request_id: The x_request_id of this ShowIpInfoResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/show_tags_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/show_tags_response.py index 23bb0e6053..f27b386a12 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/show_tags_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/show_tags_response.py @@ -18,29 +18,36 @@ class ShowTagsResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'tags': 'list[TagMap]' + 'tags': 'list[TagMap]', + 'x_request_id': 'str' } attribute_map = { - 'tags': 'tags' + 'tags': 'tags', + 'x_request_id': 'X-Request-Id' } - def __init__(self, tags=None): + def __init__(self, tags=None, x_request_id=None): """ShowTagsResponse The model defined in huaweicloud sdk :param tags: 标签列表 :type tags: list[:class:`huaweicloudsdkcdn.v2.TagMap`] + :param x_request_id: + :type x_request_id: str """ super(ShowTagsResponse, self).__init__() self._tags = None + self._x_request_id = None self.discriminator = None if tags is not None: self.tags = tags + if x_request_id is not None: + self.x_request_id = x_request_id @property def tags(self): @@ -64,6 +71,24 @@ def tags(self, tags): """ self._tags = tags + @property + def x_request_id(self): + """Gets the x_request_id of this ShowTagsResponse. + + :return: The x_request_id of this ShowTagsResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this ShowTagsResponse. + + :param x_request_id: The x_request_id of this ShowTagsResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/show_verify_domain_owner_info_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/show_verify_domain_owner_info_response.py index 229d47c40c..12957e59ee 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/show_verify_domain_owner_info_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/show_verify_domain_owner_info_response.py @@ -24,7 +24,8 @@ class ShowVerifyDomainOwnerInfoResponse(SdkResponse): 'domain_name': 'str', 'verify_domain_name': 'str', 'file_verify_filename': 'str', - 'verify_content': 'str' + 'verify_content': 'str', + 'x_request_id': 'str' } attribute_map = { @@ -34,10 +35,11 @@ class ShowVerifyDomainOwnerInfoResponse(SdkResponse): 'domain_name': 'domain_name', 'verify_domain_name': 'verify_domain_name', 'file_verify_filename': 'file_verify_filename', - 'verify_content': 'verify_content' + 'verify_content': 'verify_content', + 'x_request_id': 'X-Request-Id' } - def __init__(self, dns_verify_type=None, dns_verify_name=None, file_verify_url=None, domain_name=None, verify_domain_name=None, file_verify_filename=None, verify_content=None): + def __init__(self, dns_verify_type=None, dns_verify_name=None, file_verify_url=None, domain_name=None, verify_domain_name=None, file_verify_filename=None, verify_content=None, x_request_id=None): """ShowVerifyDomainOwnerInfoResponse The model defined in huaweicloud sdk @@ -56,6 +58,8 @@ def __init__(self, dns_verify_type=None, dns_verify_name=None, file_verify_url=N :type file_verify_filename: str :param verify_content: 探测内容,DNS值或者文件内容,时间加uuid :type verify_content: str + :param x_request_id: + :type x_request_id: str """ super(ShowVerifyDomainOwnerInfoResponse, self).__init__() @@ -67,6 +71,7 @@ def __init__(self, dns_verify_type=None, dns_verify_name=None, file_verify_url=N self._verify_domain_name = None self._file_verify_filename = None self._verify_content = None + self._x_request_id = None self.discriminator = None if dns_verify_type is not None: @@ -83,6 +88,8 @@ def __init__(self, dns_verify_type=None, dns_verify_name=None, file_verify_url=N self.file_verify_filename = file_verify_filename if verify_content is not None: self.verify_content = verify_content + if x_request_id is not None: + self.x_request_id = x_request_id @property def dns_verify_type(self): @@ -238,6 +245,24 @@ def verify_content(self, verify_content): """ self._verify_content = verify_content + @property + def x_request_id(self): + """Gets the x_request_id of this ShowVerifyDomainOwnerInfoResponse. + + :return: The x_request_id of this ShowVerifyDomainOwnerInfoResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this ShowVerifyDomainOwnerInfoResponse. + + :param x_request_id: The x_request_id of this ShowVerifyDomainOwnerInfoResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/update_domain_full_config_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/update_domain_full_config_response.py index 9e9fed8cc8..a95b2750ec 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/update_domain_full_config_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/update_domain_full_config_response.py @@ -18,21 +18,48 @@ class UpdateDomainFullConfigResponse(SdkResponse): sensitive_list = [] openapi_types = { + 'x_request_id': 'str' } attribute_map = { + 'x_request_id': 'X-Request-Id' } - def __init__(self): + def __init__(self, x_request_id=None): """UpdateDomainFullConfigResponse The model defined in huaweicloud sdk + :param x_request_id: + :type x_request_id: str """ super(UpdateDomainFullConfigResponse, self).__init__() + + self._x_request_id = None self.discriminator = None + if x_request_id is not None: + self.x_request_id = x_request_id + + @property + def x_request_id(self): + """Gets the x_request_id of this UpdateDomainFullConfigResponse. + + :return: The x_request_id of this UpdateDomainFullConfigResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this UpdateDomainFullConfigResponse. + + :param x_request_id: The x_request_id of this UpdateDomainFullConfigResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/update_domain_multi_certificates_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/update_domain_multi_certificates_response.py index 0aeebaa19e..3ee2c80a56 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/update_domain_multi_certificates_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/update_domain_multi_certificates_response.py @@ -18,29 +18,36 @@ class UpdateDomainMultiCertificatesResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'https': 'UpdateDomainMultiCertificatesResponseBodyContent' + 'https': 'UpdateDomainMultiCertificatesResponseBodyContent', + 'x_request_id': 'str' } attribute_map = { - 'https': 'https' + 'https': 'https', + 'x_request_id': 'X-Request-Id' } - def __init__(self, https=None): + def __init__(self, https=None, x_request_id=None): """UpdateDomainMultiCertificatesResponse The model defined in huaweicloud sdk :param https: :type https: :class:`huaweicloudsdkcdn.v2.UpdateDomainMultiCertificatesResponseBodyContent` + :param x_request_id: + :type x_request_id: str """ super(UpdateDomainMultiCertificatesResponse, self).__init__() self._https = None + self._x_request_id = None self.discriminator = None if https is not None: self.https = https + if x_request_id is not None: + self.x_request_id = x_request_id @property def https(self): @@ -60,6 +67,24 @@ def https(self, https): """ self._https = https + @property + def x_request_id(self): + """Gets the x_request_id of this UpdateDomainMultiCertificatesResponse. + + :return: The x_request_id of this UpdateDomainMultiCertificatesResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this UpdateDomainMultiCertificatesResponse. + + :param x_request_id: The x_request_id of this UpdateDomainMultiCertificatesResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/update_private_bucket_access_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/update_private_bucket_access_response.py index 67d5bbec1b..072fb8c514 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/update_private_bucket_access_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/update_private_bucket_access_response.py @@ -18,29 +18,36 @@ class UpdatePrivateBucketAccessResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'status': 'bool' + 'status': 'bool', + 'x_request_id': 'str' } attribute_map = { - 'status': 'status' + 'status': 'status', + 'x_request_id': 'X-Request-Id' } - def __init__(self, status=None): + def __init__(self, status=None, x_request_id=None): """UpdatePrivateBucketAccessResponse The model defined in huaweicloud sdk :param status: 桶开启关闭状态(true:开启;false:关闭) :type status: bool + :param x_request_id: + :type x_request_id: str """ super(UpdatePrivateBucketAccessResponse, self).__init__() self._status = None + self._x_request_id = None self.discriminator = None if status is not None: self.status = status + if x_request_id is not None: + self.x_request_id = x_request_id @property def status(self): @@ -64,6 +71,24 @@ def status(self, status): """ self._status = status + @property + def x_request_id(self): + """Gets the x_request_id of this UpdatePrivateBucketAccessResponse. + + :return: The x_request_id of this UpdatePrivateBucketAccessResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this UpdatePrivateBucketAccessResponse. + + :param x_request_id: The x_request_id of this UpdatePrivateBucketAccessResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/verify_domain_owner_response.py b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/verify_domain_owner_response.py index 171607462b..2a27f15957 100644 --- a/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/verify_domain_owner_response.py +++ b/huaweicloud-sdk-cdn/huaweicloudsdkcdn/v2/model/verify_domain_owner_response.py @@ -18,29 +18,36 @@ class VerifyDomainOwnerResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'result': 'bool' + 'result': 'bool', + 'x_request_id': 'str' } attribute_map = { - 'result': 'result' + 'result': 'result', + 'x_request_id': 'X-Request-Id' } - def __init__(self, result=None): + def __init__(self, result=None, x_request_id=None): """VerifyDomainOwnerResponse The model defined in huaweicloud sdk :param result: 验证是否通过,true:通过,false:不通过 :type result: bool + :param x_request_id: + :type x_request_id: str """ super(VerifyDomainOwnerResponse, self).__init__() self._result = None + self._x_request_id = None self.discriminator = None if result is not None: self.result = result + if x_request_id is not None: + self.x_request_id = x_request_id @property def result(self): @@ -64,6 +71,24 @@ def result(self, result): """ self._result = result + @property + def x_request_id(self): + """Gets the x_request_id of this VerifyDomainOwnerResponse. + + :return: The x_request_id of this VerifyDomainOwnerResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this VerifyDomainOwnerResponse. + + :param x_request_id: The x_request_id of this VerifyDomainOwnerResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-cdn/requirements.txt b/huaweicloud-sdk-cdn/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-cdn/requirements.txt +++ b/huaweicloud-sdk-cdn/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-cdn/setup.py b/huaweicloud-sdk-cdn/setup.py index d4b849e840..f70fc4c798 100644 --- a/huaweicloud-sdk-cdn/setup.py +++ b/huaweicloud-sdk-cdn/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcdn" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ces/requirements.txt b/huaweicloud-sdk-ces/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-ces/requirements.txt +++ b/huaweicloud-sdk-ces/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-ces/setup.py b/huaweicloud-sdk-ces/setup.py index 57f93be92d..c292269cbf 100644 --- a/huaweicloud-sdk-ces/setup.py +++ b/huaweicloud-sdk-ces/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkces" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cfw/requirements.txt b/huaweicloud-sdk-cfw/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-cfw/requirements.txt +++ b/huaweicloud-sdk-cfw/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-cfw/setup.py b/huaweicloud-sdk-cfw/setup.py index bad6a9cfe6..9805aae5b5 100644 --- a/huaweicloud-sdk-cfw/setup.py +++ b/huaweicloud-sdk-cfw/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcfw" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cgs/requirements.txt b/huaweicloud-sdk-cgs/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-cgs/requirements.txt +++ b/huaweicloud-sdk-cgs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-cgs/setup.py b/huaweicloud-sdk-cgs/setup.py index f8501c149b..45b65a58d3 100644 --- a/huaweicloud-sdk-cgs/setup.py +++ b/huaweicloud-sdk-cgs/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcgs" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-classroom/requirements.txt b/huaweicloud-sdk-classroom/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-classroom/requirements.txt +++ b/huaweicloud-sdk-classroom/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-classroom/setup.py b/huaweicloud-sdk-classroom/setup.py index 945397dfc1..4e69267080 100644 --- a/huaweicloud-sdk-classroom/setup.py +++ b/huaweicloud-sdk-classroom/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkclassroom" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cloudide/requirements.txt b/huaweicloud-sdk-cloudide/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-cloudide/requirements.txt +++ b/huaweicloud-sdk-cloudide/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-cloudide/setup.py b/huaweicloud-sdk-cloudide/setup.py index 8a971e99f5..1ae380521c 100644 --- a/huaweicloud-sdk-cloudide/setup.py +++ b/huaweicloud-sdk-cloudide/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcloudide" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cloudpond/requirements.txt b/huaweicloud-sdk-cloudpond/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-cloudpond/requirements.txt +++ b/huaweicloud-sdk-cloudpond/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-cloudpond/setup.py b/huaweicloud-sdk-cloudpond/setup.py index f0b91e0d7d..84620dbcf4 100644 --- a/huaweicloud-sdk-cloudpond/setup.py +++ b/huaweicloud-sdk-cloudpond/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcloudpond" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cloudrtc/requirements.txt b/huaweicloud-sdk-cloudrtc/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-cloudrtc/requirements.txt +++ b/huaweicloud-sdk-cloudrtc/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-cloudrtc/setup.py b/huaweicloud-sdk-cloudrtc/setup.py index 98f35943f5..f594228627 100644 --- a/huaweicloud-sdk-cloudrtc/setup.py +++ b/huaweicloud-sdk-cloudrtc/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcloudrtc" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cloudtable/requirements.txt b/huaweicloud-sdk-cloudtable/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-cloudtable/requirements.txt +++ b/huaweicloud-sdk-cloudtable/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-cloudtable/setup.py b/huaweicloud-sdk-cloudtable/setup.py index 98b723464a..a644e1e404 100644 --- a/huaweicloud-sdk-cloudtable/setup.py +++ b/huaweicloud-sdk-cloudtable/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcloudtable" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cloudtest/requirements.txt b/huaweicloud-sdk-cloudtest/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-cloudtest/requirements.txt +++ b/huaweicloud-sdk-cloudtest/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-cloudtest/setup.py b/huaweicloud-sdk-cloudtest/setup.py index f7a40d53e2..85a1f438f8 100644 --- a/huaweicloud-sdk-cloudtest/setup.py +++ b/huaweicloud-sdk-cloudtest/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcloudtest" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-codeartsartifact/requirements.txt b/huaweicloud-sdk-codeartsartifact/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-codeartsartifact/requirements.txt +++ b/huaweicloud-sdk-codeartsartifact/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-codeartsartifact/setup.py b/huaweicloud-sdk-codeartsartifact/setup.py index 445c46095c..b94e6a4a13 100644 --- a/huaweicloud-sdk-codeartsartifact/setup.py +++ b/huaweicloud-sdk-codeartsartifact/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcodeartsartifact" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-codeartsbuild/requirements.txt b/huaweicloud-sdk-codeartsbuild/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-codeartsbuild/requirements.txt +++ b/huaweicloud-sdk-codeartsbuild/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-codeartsbuild/setup.py b/huaweicloud-sdk-codeartsbuild/setup.py index 77e2df5701..dd216a70a7 100644 --- a/huaweicloud-sdk-codeartsbuild/setup.py +++ b/huaweicloud-sdk-codeartsbuild/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcodeartsbuild" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-codeartscheck/requirements.txt b/huaweicloud-sdk-codeartscheck/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-codeartscheck/requirements.txt +++ b/huaweicloud-sdk-codeartscheck/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-codeartscheck/setup.py b/huaweicloud-sdk-codeartscheck/setup.py index 6263a71689..1b33e2c270 100644 --- a/huaweicloud-sdk-codeartscheck/setup.py +++ b/huaweicloud-sdk-codeartscheck/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcodeartscheck" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-codeartsdeploy/requirements.txt b/huaweicloud-sdk-codeartsdeploy/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-codeartsdeploy/requirements.txt +++ b/huaweicloud-sdk-codeartsdeploy/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-codeartsdeploy/setup.py b/huaweicloud-sdk-codeartsdeploy/setup.py index ed2f9e4776..6892378c9f 100644 --- a/huaweicloud-sdk-codeartsdeploy/setup.py +++ b/huaweicloud-sdk-codeartsdeploy/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcodeartsdeploy" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-codeartsinspector/requirements.txt b/huaweicloud-sdk-codeartsinspector/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-codeartsinspector/requirements.txt +++ b/huaweicloud-sdk-codeartsinspector/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-codeartsinspector/setup.py b/huaweicloud-sdk-codeartsinspector/setup.py index 508210ea29..eabccafca9 100644 --- a/huaweicloud-sdk-codeartsinspector/setup.py +++ b/huaweicloud-sdk-codeartsinspector/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcodeartsinspector" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-codeartspipeline/requirements.txt b/huaweicloud-sdk-codeartspipeline/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-codeartspipeline/requirements.txt +++ b/huaweicloud-sdk-codeartspipeline/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-codeartspipeline/setup.py b/huaweicloud-sdk-codeartspipeline/setup.py index f425d32754..f52463c121 100644 --- a/huaweicloud-sdk-codeartspipeline/setup.py +++ b/huaweicloud-sdk-codeartspipeline/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcodeartspipeline" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-codecraft/requirements.txt b/huaweicloud-sdk-codecraft/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-codecraft/requirements.txt +++ b/huaweicloud-sdk-codecraft/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-codecraft/setup.py b/huaweicloud-sdk-codecraft/setup.py index d40c19480e..befb93bd71 100644 --- a/huaweicloud-sdk-codecraft/setup.py +++ b/huaweicloud-sdk-codecraft/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcodecraft" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-codehub/requirements.txt b/huaweicloud-sdk-codehub/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-codehub/requirements.txt +++ b/huaweicloud-sdk-codehub/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-codehub/setup.py b/huaweicloud-sdk-codehub/setup.py index e4d172c292..1e6830ce90 100644 --- a/huaweicloud-sdk-codehub/setup.py +++ b/huaweicloud-sdk-codehub/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcodehub" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-config/requirements.txt b/huaweicloud-sdk-config/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-config/requirements.txt +++ b/huaweicloud-sdk-config/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-config/setup.py b/huaweicloud-sdk-config/setup.py index c05b036bad..2fd6ef761c 100644 --- a/huaweicloud-sdk-config/setup.py +++ b/huaweicloud-sdk-config/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkconfig" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-core/huaweicloudsdkcore/client.py b/huaweicloud-sdk-core/huaweicloudsdkcore/client.py index 4db42e08db..6d4aad5d61 100644 --- a/huaweicloud-sdk-core/huaweicloudsdkcore/client.py +++ b/huaweicloud-sdk-core/huaweicloudsdkcore/client.py @@ -210,6 +210,7 @@ class Client(object): _APPLICATION_JSON = "application/json" _APPLICATION_XML = "application/xml" _APPLICATION_OCTET_STREAM = "application/octet-stream" + _APPLICATION_X_WWW_FORM_URLENCODED = "application/x-www-form-urlencoded" _MULTIPART_FORM_DATA = "multipart/form-data" _XML_NAME = "xml_name" _AUTHORIZATION = "Authorization" @@ -378,7 +379,15 @@ def _is_iterable_body(cls, body): return not isinstance(body, _BASE_ITER_TYPES) @classmethod - def _parse_formdata_body(cls, body): + def _parse_form_urlencoded_body(cls, body): + if not body: + body = {} + body = http_utils.sanitize_for_serialization(body) + # handle bool: True -> 'true' + return {k: str(v).lower() if isinstance(v, bool) else v for k, v in body.items()} + + @classmethod + def _parse_form_data_body(cls, body): if not body: body = {} body = http_utils.sanitize_for_serialization(body) @@ -389,12 +398,11 @@ def _parse_formdata_body(cls, body): if isinstance(value, FormFile): files.append((key, value)) else: - fields[key] = str(value) + fields[key] = str(value).lower() if isinstance(value, bool) else str(value) for file_tuple in files: fields[file_tuple[0]] = file_tuple[1].convert_to_file_tuple() - multipart = MultipartEncoder(fields=fields) - return multipart + return MultipartEncoder(fields=fields) @classmethod def _parse_stream_body(cls, body, callback, content_length): @@ -487,8 +495,10 @@ def build_future_request(self, method, resource_path, path_params, query_params, content_type = header_params.setdefault(self._CONTENT_TYPE, self._APPLICATION_JSON) if content_type == self._MULTIPART_FORM_DATA: - body = self._parse_formdata_body(request_body) + body = self._parse_form_data_body(request_body) header_params[self._CONTENT_TYPE] = body.content_type + elif content_type == self._APPLICATION_X_WWW_FORM_URLENCODED: + body = self._parse_form_urlencoded_body(request_body) elif content_type == self._APPLICATION_XML: body = self._parse_xml_body(request_body) elif content_type == self._APPLICATION_OCTET_STREAM: diff --git a/huaweicloud-sdk-core/setup.py b/huaweicloud-sdk-core/setup.py index 4e344de470..3da23906ad 100644 --- a/huaweicloud-sdk-core/setup.py +++ b/huaweicloud-sdk-core/setup.py @@ -22,7 +22,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcore" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -45,7 +45,8 @@ 'pytest', 'pytest-cov', 'pytest-mock', - 'requests-mock' + 'requests-mock', + 'responses' ] OPTIONS = { diff --git a/huaweicloud-sdk-core/test-requirements.txt b/huaweicloud-sdk-core/test-requirements.txt index 304491699b..28e3836290 100644 --- a/huaweicloud-sdk-core/test-requirements.txt +++ b/huaweicloud-sdk-core/test-requirements.txt @@ -3,4 +3,4 @@ pytest pytest-cov pytest-mock requests-mock - +responses \ No newline at end of file diff --git a/huaweicloud-sdk-core/tests/test_client.py b/huaweicloud-sdk-core/tests/test_client.py new file mode 100644 index 0000000000..283a984601 --- /dev/null +++ b/huaweicloud-sdk-core/tests/test_client.py @@ -0,0 +1,100 @@ +# coding: utf-8 +""" + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache LICENSE, Version 2.0 (the + "LICENSE"); you may not use this file except in compliance + with the LICENSE. You may obtain a copy of the LICENSE at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the LICENSE is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the LICENSE for the + specific language governing permissions and limitations + under the LICENSE. +""" +import pytest +import responses +from responses import matchers + +from huaweicloudsdkcore.auth.credentials import BasicCredentials +from huaweicloudsdkcore.client import Client +from huaweicloudsdkcore.http.http_config import HttpConfig +from huaweicloudsdkcore.sdk_response import SdkResponse + +from tests.model.vpc import Vpc, Route + + +class MockSdkResponse(SdkResponse): + openapi_types = {} + attribute_map = {} + + +@pytest.fixture +def mocked_responses(): + with responses.RequestsMock() as resps: + yield resps + + +@pytest.fixture +def mocked_client(): + client = (Client() + .with_credentials(BasicCredentials("ak", "sk", "project_id")) + .with_config(HttpConfig.get_default_config()) + .with_endpoints(["https://example.com"])) + client.init_http_client() + yield client + + +def test_application_json(mocked_responses, mocked_client): + mocked_responses.post( + "https://example.com/test-content-type/application-json", + match=[ + matchers.header_matcher({"Content-Type": "application/json"}), + matchers.json_params_matcher({ + 'cidr': 'cidr', + 'description': 'description', + 'id': 'id', + 'name': 'name', + 'routes': [ + { + 'destination': 'destination', + 'nexthop': 'nexthop' + } + ], + 'status': 'status' + }) + ] + ) + + route = Route(destination="destination", nexthop='nexthop') + vpc = Vpc(id="id", name="name", cidr="cidr", description="description", routes=[route], status="status") + mocked_client.do_http_request(method="POST", + header_params={"Content-Type": "application/json"}, + resource_path="/test-content-type/application-json", + response_type=MockSdkResponse, + body=vpc) + + +def test_form_urlencoded(mocked_responses, mocked_client): + mocked_responses.post( + "https://example.com/test-content-type/x-www-form-urlencoded", + match=[ + matchers.header_matcher({"Content-Type": "application/x-www-form-urlencoded"}), + matchers.urlencoded_params_matcher({"str": "val", "int": "1", "bool": "true"}) + ] + ) + + mocked_client.do_http_request(method="POST", + header_params={"Content-Type": "application/x-www-form-urlencoded"}, + resource_path="/test-content-type/x-www-form-urlencoded", + response_type=MockSdkResponse, + body={"str": "val", "int": 1, "bool": True}) + + +if __name__ == '__main__': + pytest.main() diff --git a/huaweicloud-sdk-cph/requirements.txt b/huaweicloud-sdk-cph/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-cph/requirements.txt +++ b/huaweicloud-sdk-cph/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-cph/setup.py b/huaweicloud-sdk-cph/setup.py index fbc43a0fb9..aa204e7ec6 100644 --- a/huaweicloud-sdk-cph/setup.py +++ b/huaweicloud-sdk-cph/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcph" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cpts/requirements.txt b/huaweicloud-sdk-cpts/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-cpts/requirements.txt +++ b/huaweicloud-sdk-cpts/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-cpts/setup.py b/huaweicloud-sdk-cpts/setup.py index 30f6f6493c..ff7844d79c 100644 --- a/huaweicloud-sdk-cpts/setup.py +++ b/huaweicloud-sdk-cpts/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcpts" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cse/requirements.txt b/huaweicloud-sdk-cse/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-cse/requirements.txt +++ b/huaweicloud-sdk-cse/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-cse/setup.py b/huaweicloud-sdk-cse/setup.py index 498e629f2b..d470912135 100644 --- a/huaweicloud-sdk-cse/setup.py +++ b/huaweicloud-sdk-cse/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcse" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-csms/requirements.txt b/huaweicloud-sdk-csms/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-csms/requirements.txt +++ b/huaweicloud-sdk-csms/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-csms/setup.py b/huaweicloud-sdk-csms/setup.py index 4f0b67b5af..4dd78f85e3 100644 --- a/huaweicloud-sdk-csms/setup.py +++ b/huaweicloud-sdk-csms/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcsms" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-css/requirements.txt b/huaweicloud-sdk-css/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-css/requirements.txt +++ b/huaweicloud-sdk-css/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-css/setup.py b/huaweicloud-sdk-css/setup.py index 262e9acb37..6340f998d6 100644 --- a/huaweicloud-sdk-css/setup.py +++ b/huaweicloud-sdk-css/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcss" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cts/requirements.txt b/huaweicloud-sdk-cts/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-cts/requirements.txt +++ b/huaweicloud-sdk-cts/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-cts/setup.py b/huaweicloud-sdk-cts/setup.py index c88a25df96..0458a6d8c0 100644 --- a/huaweicloud-sdk-cts/setup.py +++ b/huaweicloud-sdk-cts/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcts" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-das/requirements.txt b/huaweicloud-sdk-das/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-das/requirements.txt +++ b/huaweicloud-sdk-das/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-das/setup.py b/huaweicloud-sdk-das/setup.py index 007ac5a3be..33d3130e42 100644 --- a/huaweicloud-sdk-das/setup.py +++ b/huaweicloud-sdk-das/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkdas" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dataartsstudio/requirements.txt b/huaweicloud-sdk-dataartsstudio/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-dataartsstudio/requirements.txt +++ b/huaweicloud-sdk-dataartsstudio/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-dataartsstudio/setup.py b/huaweicloud-sdk-dataartsstudio/setup.py index eafc3f18a6..215ba6e0f4 100644 --- a/huaweicloud-sdk-dataartsstudio/setup.py +++ b/huaweicloud-sdk-dataartsstudio/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkdataartsstudio" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dbss/requirements.txt b/huaweicloud-sdk-dbss/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-dbss/requirements.txt +++ b/huaweicloud-sdk-dbss/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-dbss/setup.py b/huaweicloud-sdk-dbss/setup.py index cd224cd83d..1b247daa30 100644 --- a/huaweicloud-sdk-dbss/setup.py +++ b/huaweicloud-sdk-dbss/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkdbss" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dc/requirements.txt b/huaweicloud-sdk-dc/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-dc/requirements.txt +++ b/huaweicloud-sdk-dc/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-dc/setup.py b/huaweicloud-sdk-dc/setup.py index f2f5ea116e..c271467923 100644 --- a/huaweicloud-sdk-dc/setup.py +++ b/huaweicloud-sdk-dc/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkdc" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dcs/requirements.txt b/huaweicloud-sdk-dcs/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-dcs/requirements.txt +++ b/huaweicloud-sdk-dcs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-dcs/setup.py b/huaweicloud-sdk-dcs/setup.py index 14585b72f2..e28d073904 100644 --- a/huaweicloud-sdk-dcs/setup.py +++ b/huaweicloud-sdk-dcs/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkdcs" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ddm/requirements.txt b/huaweicloud-sdk-ddm/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-ddm/requirements.txt +++ b/huaweicloud-sdk-ddm/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-ddm/setup.py b/huaweicloud-sdk-ddm/setup.py index e891d04b05..183fc4e94e 100644 --- a/huaweicloud-sdk-ddm/setup.py +++ b/huaweicloud-sdk-ddm/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkddm" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dds/requirements.txt b/huaweicloud-sdk-dds/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-dds/requirements.txt +++ b/huaweicloud-sdk-dds/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-dds/setup.py b/huaweicloud-sdk-dds/setup.py index 0c383c71d2..f8332299d5 100644 --- a/huaweicloud-sdk-dds/setup.py +++ b/huaweicloud-sdk-dds/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkdds" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-deh/requirements.txt b/huaweicloud-sdk-deh/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-deh/requirements.txt +++ b/huaweicloud-sdk-deh/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-deh/setup.py b/huaweicloud-sdk-deh/setup.py index 71b7d3d58a..3831c7f14c 100644 --- a/huaweicloud-sdk-deh/setup.py +++ b/huaweicloud-sdk-deh/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkdeh" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-devsecurity/requirements.txt b/huaweicloud-sdk-devsecurity/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-devsecurity/requirements.txt +++ b/huaweicloud-sdk-devsecurity/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-devsecurity/setup.py b/huaweicloud-sdk-devsecurity/setup.py index ca497c0ea9..19792c5130 100644 --- a/huaweicloud-sdk-devsecurity/setup.py +++ b/huaweicloud-sdk-devsecurity/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkdevsecurity" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-devstar/requirements.txt b/huaweicloud-sdk-devstar/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-devstar/requirements.txt +++ b/huaweicloud-sdk-devstar/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-devstar/setup.py b/huaweicloud-sdk-devstar/setup.py index bbdc4ac6ff..14adea382c 100644 --- a/huaweicloud-sdk-devstar/setup.py +++ b/huaweicloud-sdk-devstar/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkdevstar" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dgc/requirements.txt b/huaweicloud-sdk-dgc/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-dgc/requirements.txt +++ b/huaweicloud-sdk-dgc/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-dgc/setup.py b/huaweicloud-sdk-dgc/setup.py index b1f2b3e70d..df2a3ac755 100644 --- a/huaweicloud-sdk-dgc/setup.py +++ b/huaweicloud-sdk-dgc/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkdgc" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dis/requirements.txt b/huaweicloud-sdk-dis/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-dis/requirements.txt +++ b/huaweicloud-sdk-dis/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-dis/setup.py b/huaweicloud-sdk-dis/setup.py index 77dd49b6d5..26a3e3f6de 100644 --- a/huaweicloud-sdk-dis/setup.py +++ b/huaweicloud-sdk-dis/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkdis" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dlf/requirements.txt b/huaweicloud-sdk-dlf/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-dlf/requirements.txt +++ b/huaweicloud-sdk-dlf/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-dlf/setup.py b/huaweicloud-sdk-dlf/setup.py index be10c29272..ac8c3ced65 100644 --- a/huaweicloud-sdk-dlf/setup.py +++ b/huaweicloud-sdk-dlf/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkdlf" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dli/huaweicloudsdkdli/v1/region/dli_region.py b/huaweicloud-sdk-dli/huaweicloudsdkdli/v1/region/dli_region.py index e941471ebb..579ffaf14d 100644 --- a/huaweicloud-sdk-dli/huaweicloudsdkdli/v1/region/dli_region.py +++ b/huaweicloud-sdk-dli/huaweicloudsdkdli/v1/region/dli_region.py @@ -6,6 +6,8 @@ class DliRegion: _PROVIDER = RegionProviderChain.get_default_region_provider_chain("DLI") + MY_KUALALUMPUR_1 = Region("my-kualalumpur-1", + "https://dli.my-kualalumpur-1.myhuaweicloud.com") CN_NORTH_2 = Region("cn-north-2", "https://dli.cn-north-2.myhuaweicloud.com") CN_NORTH_4 = Region("cn-north-4", @@ -54,6 +56,7 @@ class DliRegion: "https://dli.me-east-1.myhuaweicloud.com") static_fields = { + "my-kualalumpur-1": MY_KUALALUMPUR_1, "cn-north-2": CN_NORTH_2, "cn-north-4": CN_NORTH_4, "cn-north-1": CN_NORTH_1, diff --git a/huaweicloud-sdk-dli/requirements.txt b/huaweicloud-sdk-dli/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-dli/requirements.txt +++ b/huaweicloud-sdk-dli/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-dli/setup.py b/huaweicloud-sdk-dli/setup.py index 2d4209fc2c..0a1201ead5 100644 --- a/huaweicloud-sdk-dli/setup.py +++ b/huaweicloud-sdk-dli/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkdli" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dns/requirements.txt b/huaweicloud-sdk-dns/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-dns/requirements.txt +++ b/huaweicloud-sdk-dns/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-dns/setup.py b/huaweicloud-sdk-dns/setup.py index 5ba5c248f3..593ecc7b8f 100644 --- a/huaweicloud-sdk-dns/setup.py +++ b/huaweicloud-sdk-dns/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkdns" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dris/requirements.txt b/huaweicloud-sdk-dris/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-dris/requirements.txt +++ b/huaweicloud-sdk-dris/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-dris/setup.py b/huaweicloud-sdk-dris/setup.py index 9efbfcb9b5..47523aab5b 100644 --- a/huaweicloud-sdk-dris/setup.py +++ b/huaweicloud-sdk-dris/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkdris" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-drs/huaweicloudsdkdrs/v3/__init__.py b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v3/__init__.py index abb2fc97a7..f4098bf354 100644 --- a/huaweicloud-sdk-drs/huaweicloudsdkdrs/v3/__init__.py +++ b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v3/__init__.py @@ -120,6 +120,7 @@ from huaweicloudsdkdrs.v3.model.delete_job_resp import DeleteJobResp from huaweicloudsdkdrs.v3.model.endpoint import Endpoint from huaweicloudsdkdrs.v3.model.endpoint_vo import EndpointVO +from huaweicloudsdkdrs.v3.model.failed_to_bind_eip_child_info import FailedToBindEipChildInfo from huaweicloudsdkdrs.v3.model.get_data_transformation_resp import GetDataTransformationResp from huaweicloudsdkdrs.v3.model.import_smn_resp import ImportSmnResp from huaweicloudsdkdrs.v3.model.inst_info import InstInfo @@ -132,6 +133,8 @@ from huaweicloudsdkdrs.v3.model.line_compare_result import LineCompareResult from huaweicloudsdkdrs.v3.model.line_compare_result_details import LineCompareResultDetails from huaweicloudsdkdrs.v3.model.line_compare_result_overview import LineCompareResultOverview +from huaweicloudsdkdrs.v3.model.list_available_node_types_request import ListAvailableNodeTypesRequest +from huaweicloudsdkdrs.v3.model.list_available_node_types_response import ListAvailableNodeTypesResponse from huaweicloudsdkdrs.v3.model.list_available_zone_request import ListAvailableZoneRequest from huaweicloudsdkdrs.v3.model.list_available_zone_response import ListAvailableZoneResponse from huaweicloudsdkdrs.v3.model.list_compare_result_request import ListCompareResultRequest @@ -159,6 +162,7 @@ from huaweicloudsdkdrs.v3.model.precheck_fail_sub_job_vo import PrecheckFailSubJobVO from huaweicloudsdkdrs.v3.model.precheck_result import PrecheckResult from huaweicloudsdkdrs.v3.model.progress_info import ProgressInfo +from huaweicloudsdkdrs.v3.model.public_ip_config import PublicIpConfig from huaweicloudsdkdrs.v3.model.query_available_node_type_req import QueryAvailableNodeTypeReq from huaweicloudsdkdrs.v3.model.query_compare_result_req import QueryCompareResultReq from huaweicloudsdkdrs.v3.model.query_data_guard_monitor_and_chart_resp import QueryDataGuardMonitorAndChartResp @@ -176,6 +180,7 @@ from huaweicloudsdkdrs.v3.model.query_smn_info_resp import QuerySmnInfoResp from huaweicloudsdkdrs.v3.model.query_struct_detail_resp import QueryStructDetailResp from huaweicloudsdkdrs.v3.model.query_struct_process_resp import QueryStructProcessResp +from huaweicloudsdkdrs.v3.model.query_support_node_type_bean import QuerySupportNodeTypeBean from huaweicloudsdkdrs.v3.model.query_user_detail_resp import QueryUserDetailResp from huaweicloudsdkdrs.v3.model.query_user_resp import QueryUserResp from huaweicloudsdkdrs.v3.model.quota_resource import QuotaResource diff --git a/huaweicloud-sdk-drs/huaweicloudsdkdrs/v3/drs_async_client.py b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v3/drs_async_client.py index a4face96e6..9aa1e40b21 100644 --- a/huaweicloud-sdk-drs/huaweicloudsdkdrs/v3/drs_async_client.py +++ b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v3/drs_async_client.py @@ -1850,6 +1850,81 @@ def _create_compare_task_http_info(self, request): return http_info + def list_available_node_types_async(self, request): + """查询可用的Node规格 + + 查询可用的Node规格 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for ListAvailableNodeTypes + :type request: :class:`huaweicloudsdkdrs.v3.ListAvailableNodeTypesRequest` + :rtype: :class:`huaweicloudsdkdrs.v3.ListAvailableNodeTypesResponse` + """ + http_info = self._list_available_node_types_http_info(request) + return self._call_api(**http_info) + + def list_available_node_types_async_invoker(self, request): + http_info = self._list_available_node_types_http_info(request) + return AsyncInvoker(self, http_info) + + def _list_available_node_types_http_info(self, request): + http_info = { + "method": "GET", + "resource_path": "/v3/{project_id}/node-type", + "request_type": request.__class__.__name__, + "response_type": "ListAvailableNodeTypesResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'engine_type' in local_var_params: + query_params.append(('engine_type', local_var_params['engine_type'])) + if 'db_use_type' in local_var_params: + query_params.append(('db_use_type', local_var_params['db_use_type'])) + if 'job_direction' in local_var_params: + query_params.append(('job_direction', local_var_params['job_direction'])) + if 'is_use_sellout_info' in local_var_params: + query_params.append(('is_use_sellout_info', local_var_params['is_use_sellout_info'])) + if 'is_multi_write' in local_var_params: + query_params.append(('is_multi_write', local_var_params['is_multi_write'])) + + header_params = {} + if 'x_language' in local_var_params: + header_params['X-Language'] = local_var_params['x_language'] + + form_params = {} + + body = None + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = [] + + header_params['Content-Type'] = http_utils.select_header_content_type( + ['application/json']) + + auth_settings = [] + + http_info["cname"] = cname + http_info["collection_formats"] = collection_formats + http_info["path_params"] = path_params + http_info["query_params"] = query_params + http_info["header_params"] = header_params + http_info["post_params"] = form_params + http_info["body"] = body + http_info["response_headers"] = response_headers + + return http_info + def list_available_zone_async(self, request): """查询规格未售罄的可用区 diff --git a/huaweicloud-sdk-drs/huaweicloudsdkdrs/v3/drs_client.py b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v3/drs_client.py index 6babdb9e7a..cbffc54823 100644 --- a/huaweicloud-sdk-drs/huaweicloudsdkdrs/v3/drs_client.py +++ b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v3/drs_client.py @@ -1850,6 +1850,81 @@ def _create_compare_task_http_info(cls, request): return http_info + def list_available_node_types(self, request): + """查询可用的Node规格 + + 查询可用的Node规格 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for ListAvailableNodeTypes + :type request: :class:`huaweicloudsdkdrs.v3.ListAvailableNodeTypesRequest` + :rtype: :class:`huaweicloudsdkdrs.v3.ListAvailableNodeTypesResponse` + """ + http_info = self._list_available_node_types_http_info(request) + return self._call_api(**http_info) + + def list_available_node_types_invoker(self, request): + http_info = self._list_available_node_types_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _list_available_node_types_http_info(cls, request): + http_info = { + "method": "GET", + "resource_path": "/v3/{project_id}/node-type", + "request_type": request.__class__.__name__, + "response_type": "ListAvailableNodeTypesResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'engine_type' in local_var_params: + query_params.append(('engine_type', local_var_params['engine_type'])) + if 'db_use_type' in local_var_params: + query_params.append(('db_use_type', local_var_params['db_use_type'])) + if 'job_direction' in local_var_params: + query_params.append(('job_direction', local_var_params['job_direction'])) + if 'is_use_sellout_info' in local_var_params: + query_params.append(('is_use_sellout_info', local_var_params['is_use_sellout_info'])) + if 'is_multi_write' in local_var_params: + query_params.append(('is_multi_write', local_var_params['is_multi_write'])) + + header_params = {} + if 'x_language' in local_var_params: + header_params['X-Language'] = local_var_params['x_language'] + + form_params = {} + + body = None + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = [] + + header_params['Content-Type'] = http_utils.select_header_content_type( + ['application/json']) + + auth_settings = [] + + http_info["cname"] = cname + http_info["collection_formats"] = collection_formats + http_info["path_params"] = path_params + http_info["query_params"] = query_params + http_info["header_params"] = header_params + http_info["post_params"] = form_params + http_info["body"] = body + http_info["response_headers"] = response_headers + + return http_info + def list_available_zone(self, request): """查询规格未售罄的可用区 diff --git a/huaweicloud-sdk-drs/huaweicloudsdkdrs/v3/model/__init__.py b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v3/model/__init__.py index 9642590fb5..014f6b455d 100644 --- a/huaweicloud-sdk-drs/huaweicloudsdkdrs/v3/model/__init__.py +++ b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v3/model/__init__.py @@ -118,6 +118,7 @@ from huaweicloudsdkdrs.v3.model.delete_job_resp import DeleteJobResp from huaweicloudsdkdrs.v3.model.endpoint import Endpoint from huaweicloudsdkdrs.v3.model.endpoint_vo import EndpointVO +from huaweicloudsdkdrs.v3.model.failed_to_bind_eip_child_info import FailedToBindEipChildInfo from huaweicloudsdkdrs.v3.model.get_data_transformation_resp import GetDataTransformationResp from huaweicloudsdkdrs.v3.model.import_smn_resp import ImportSmnResp from huaweicloudsdkdrs.v3.model.inst_info import InstInfo @@ -130,6 +131,8 @@ from huaweicloudsdkdrs.v3.model.line_compare_result import LineCompareResult from huaweicloudsdkdrs.v3.model.line_compare_result_details import LineCompareResultDetails from huaweicloudsdkdrs.v3.model.line_compare_result_overview import LineCompareResultOverview +from huaweicloudsdkdrs.v3.model.list_available_node_types_request import ListAvailableNodeTypesRequest +from huaweicloudsdkdrs.v3.model.list_available_node_types_response import ListAvailableNodeTypesResponse from huaweicloudsdkdrs.v3.model.list_available_zone_request import ListAvailableZoneRequest from huaweicloudsdkdrs.v3.model.list_available_zone_response import ListAvailableZoneResponse from huaweicloudsdkdrs.v3.model.list_compare_result_request import ListCompareResultRequest @@ -157,6 +160,7 @@ from huaweicloudsdkdrs.v3.model.precheck_fail_sub_job_vo import PrecheckFailSubJobVO from huaweicloudsdkdrs.v3.model.precheck_result import PrecheckResult from huaweicloudsdkdrs.v3.model.progress_info import ProgressInfo +from huaweicloudsdkdrs.v3.model.public_ip_config import PublicIpConfig from huaweicloudsdkdrs.v3.model.query_available_node_type_req import QueryAvailableNodeTypeReq from huaweicloudsdkdrs.v3.model.query_compare_result_req import QueryCompareResultReq from huaweicloudsdkdrs.v3.model.query_data_guard_monitor_and_chart_resp import QueryDataGuardMonitorAndChartResp @@ -174,6 +178,7 @@ from huaweicloudsdkdrs.v3.model.query_smn_info_resp import QuerySmnInfoResp from huaweicloudsdkdrs.v3.model.query_struct_detail_resp import QueryStructDetailResp from huaweicloudsdkdrs.v3.model.query_struct_process_resp import QueryStructProcessResp +from huaweicloudsdkdrs.v3.model.query_support_node_type_bean import QuerySupportNodeTypeBean from huaweicloudsdkdrs.v3.model.query_user_detail_resp import QueryUserDetailResp from huaweicloudsdkdrs.v3.model.query_user_resp import QueryUserResp from huaweicloudsdkdrs.v3.model.quota_resource import QuotaResource diff --git a/huaweicloud-sdk-drs/huaweicloudsdkdrs/v3/model/batch_job_action_req.py b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v3/model/batch_job_action_req.py index 47b9d7b39a..06cbe9b839 100644 --- a/huaweicloud-sdk-drs/huaweicloudsdkdrs/v3/model/batch_job_action_req.py +++ b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v3/model/batch_job_action_req.py @@ -33,9 +33,9 @@ def __init__(self, action=None, job_id=None, _property=None): The model defined in huaweicloud sdk - :param action: 执行操作 + :param action: 需要执行的特定操作。 :type action: str - :param job_id: 任务ID(集群模式 取父任务的任务id) + :param job_id: 任务ID(集群模式 取父任务的任务ID)。 :type job_id: str :param _property: 操作对应的参数(API参考文档-批量测试连接-集群模式-property字段数据结构说明)[字段说明参考](https://support.huaweicloud.com/api-drs/zh-cn_topic_0295171516.html) :type _property: str @@ -56,7 +56,7 @@ def __init__(self, action=None, job_id=None, _property=None): def action(self): """Gets the action of this BatchJobActionReq. - 执行操作 + 需要执行的特定操作。 :return: The action of this BatchJobActionReq. :rtype: str @@ -67,7 +67,7 @@ def action(self): def action(self, action): """Sets the action of this BatchJobActionReq. - 执行操作 + 需要执行的特定操作。 :param action: The action of this BatchJobActionReq. :type action: str @@ -78,7 +78,7 @@ def action(self, action): def job_id(self): """Gets the job_id of this BatchJobActionReq. - 任务ID(集群模式 取父任务的任务id) + 任务ID(集群模式 取父任务的任务ID)。 :return: The job_id of this BatchJobActionReq. :rtype: str @@ -89,7 +89,7 @@ def job_id(self): def job_id(self, job_id): """Sets the job_id of this BatchJobActionReq. - 任务ID(集群模式 取父任务的任务id) + 任务ID(集群模式 取父任务的任务ID)。 :param job_id: The job_id of this BatchJobActionReq. :type job_id: str diff --git a/huaweicloud-sdk-drs/huaweicloudsdkdrs/v3/model/create_job_req.py b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v3/model/create_job_req.py index a86fa9c5b2..913f5dd13a 100644 --- a/huaweicloud-sdk-drs/huaweicloudsdkdrs/v3/model/create_job_req.py +++ b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v3/model/create_job_req.py @@ -39,7 +39,8 @@ class CreateJobReq: 'master_az': 'str', 'slave_az': 'str', 'charging_mode': 'str', - 'period_order': 'PeriodOrderInfo' + 'period_order': 'PeriodOrderInfo', + 'public_ip_list': 'list[PublicIpConfig]' } attribute_map = { @@ -65,10 +66,11 @@ class CreateJobReq: 'master_az': 'master_az', 'slave_az': 'slave_az', 'charging_mode': 'charging_mode', - 'period_order': 'period_order' + 'period_order': 'period_order', + 'public_ip_list': 'public_ip_list' } - def __init__(self, bind_eip=None, db_use_type=None, name=None, description=None, engine_type=None, is_target_readonly=None, job_direction=None, multi_write=None, net_type=None, node_num=None, node_type=None, source_endpoint=None, target_endpoint=None, tags=None, task_type=None, customize_sutnet_id=None, product_id=None, sys_tags=None, expired_days=None, master_az=None, slave_az=None, charging_mode=None, period_order=None): + def __init__(self, bind_eip=None, db_use_type=None, name=None, description=None, engine_type=None, is_target_readonly=None, job_direction=None, multi_write=None, net_type=None, node_num=None, node_type=None, source_endpoint=None, target_endpoint=None, tags=None, task_type=None, customize_sutnet_id=None, product_id=None, sys_tags=None, expired_days=None, master_az=None, slave_az=None, charging_mode=None, period_order=None, public_ip_list=None): """CreateJobReq The model defined in huaweicloud sdk @@ -119,6 +121,8 @@ def __init__(self, bind_eip=None, db_use_type=None, name=None, description=None, :type charging_mode: str :param period_order: :type period_order: :class:`huaweicloudsdkdrs.v3.PeriodOrderInfo` + :param public_ip_list: 指定公网IP的信息 + :type public_ip_list: list[:class:`huaweicloudsdkdrs.v3.PublicIpConfig`] """ @@ -146,6 +150,7 @@ def __init__(self, bind_eip=None, db_use_type=None, name=None, description=None, self._slave_az = None self._charging_mode = None self._period_order = None + self._public_ip_list = None self.discriminator = None if bind_eip is not None: @@ -184,6 +189,8 @@ def __init__(self, bind_eip=None, db_use_type=None, name=None, description=None, self.charging_mode = charging_mode if period_order is not None: self.period_order = period_order + if public_ip_list is not None: + self.public_ip_list = public_ip_list @property def bind_eip(self): @@ -679,6 +686,28 @@ def period_order(self, period_order): """ self._period_order = period_order + @property + def public_ip_list(self): + """Gets the public_ip_list of this CreateJobReq. + + 指定公网IP的信息 + + :return: The public_ip_list of this CreateJobReq. + :rtype: list[:class:`huaweicloudsdkdrs.v3.PublicIpConfig`] + """ + return self._public_ip_list + + @public_ip_list.setter + def public_ip_list(self, public_ip_list): + """Sets the public_ip_list of this CreateJobReq. + + 指定公网IP的信息 + + :param public_ip_list: The public_ip_list of this CreateJobReq. + :type public_ip_list: list[:class:`huaweicloudsdkdrs.v3.PublicIpConfig`] + """ + self._public_ip_list = public_ip_list + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/accessor_dto.py b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v3/model/failed_to_bind_eip_child_info.py similarity index 66% rename from huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/accessor_dto.py rename to huaweicloud-sdk-drs/huaweicloudsdkdrs/v3/model/failed_to_bind_eip_child_info.py index 93c13720d4..95e1a66e65 100644 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/accessor_dto.py +++ b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v3/model/failed_to_bind_eip_child_info.py @@ -5,7 +5,7 @@ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class AccessorDto: +class FailedToBindEipChildInfo: """ Attributes: @@ -17,94 +17,80 @@ class AccessorDto: sensitive_list = [] openapi_types = { - 'name': 'str', 'id': 'str', - 'accessor_type': 'str' + 'name': 'str' } attribute_map = { - 'name': 'name', 'id': 'id', - 'accessor_type': 'accessor_type' + 'name': 'name' } - def __init__(self, name=None, id=None, accessor_type=None): - """AccessorDto + def __init__(self, id=None, name=None): + """FailedToBindEipChildInfo The model defined in huaweicloud sdk - :param name: - :type name: str - :param id: + :param id: 子任务ID :type id: str - :param accessor_type: - :type accessor_type: str + :param name: 子任务名称 + :type name: str """ - self._name = None self._id = None - self._accessor_type = None + self._name = None self.discriminator = None - self.name = name - self.id = id - self.accessor_type = accessor_type - - @property - def name(self): - """Gets the name of this AccessorDto. - - :return: The name of this AccessorDto. - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this AccessorDto. - - :param name: The name of this AccessorDto. - :type name: str - """ - self._name = name + if id is not None: + self.id = id + if name is not None: + self.name = name @property def id(self): - """Gets the id of this AccessorDto. + """Gets the id of this FailedToBindEipChildInfo. - :return: The id of this AccessorDto. + 子任务ID + + :return: The id of this FailedToBindEipChildInfo. :rtype: str """ return self._id @id.setter def id(self, id): - """Sets the id of this AccessorDto. + """Sets the id of this FailedToBindEipChildInfo. + + 子任务ID - :param id: The id of this AccessorDto. + :param id: The id of this FailedToBindEipChildInfo. :type id: str """ self._id = id @property - def accessor_type(self): - """Gets the accessor_type of this AccessorDto. + def name(self): + """Gets the name of this FailedToBindEipChildInfo. - :return: The accessor_type of this AccessorDto. + 子任务名称 + + :return: The name of this FailedToBindEipChildInfo. :rtype: str """ - return self._accessor_type + return self._name - @accessor_type.setter - def accessor_type(self, accessor_type): - """Sets the accessor_type of this AccessorDto. + @name.setter + def name(self, name): + """Sets the name of this FailedToBindEipChildInfo. - :param accessor_type: The accessor_type of this AccessorDto. - :type accessor_type: str + 子任务名称 + + :param name: The name of this FailedToBindEipChildInfo. + :type name: str """ - self._accessor_type = accessor_type + self._name = name def to_dict(self): """Returns the model properties as a dict""" @@ -148,7 +134,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, AccessorDto): + if not isinstance(other, FailedToBindEipChildInfo): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-drs/huaweicloudsdkdrs/v3/model/list_available_node_types_request.py b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v3/model/list_available_node_types_request.py new file mode 100644 index 0000000000..8106efa324 --- /dev/null +++ b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v3/model/list_available_node_types_request.py @@ -0,0 +1,257 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ListAvailableNodeTypesRequest: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'x_language': 'str', + 'engine_type': 'str', + 'db_use_type': 'str', + 'job_direction': 'str', + 'is_use_sellout_info': 'bool', + 'is_multi_write': 'bool' + } + + attribute_map = { + 'x_language': 'X-Language', + 'engine_type': 'engine_type', + 'db_use_type': 'db_use_type', + 'job_direction': 'job_direction', + 'is_use_sellout_info': 'is_use_sellout_info', + 'is_multi_write': 'is_multi_write' + } + + def __init__(self, x_language=None, engine_type=None, db_use_type=None, job_direction=None, is_use_sellout_info=None, is_multi_write=None): + """ListAvailableNodeTypesRequest + + The model defined in huaweicloud sdk + + :param x_language: 请求语言类型。 + :type x_language: str + :param engine_type: 引擎类型 + :type engine_type: str + :param db_use_type: 迁移场景。 - migration:实时迁移 - sync:实时同步 - cloudDataGuard:实时灾备 + :type db_use_type: str + :param job_direction: 迁移方向,up:入云 ,down:出云,non-dbs:自建。 + :type job_direction: str + :param is_use_sellout_info: 是否查询资源售罄情况 + :type is_use_sellout_info: bool + :param is_multi_write: 是否是双主灾备 + :type is_multi_write: bool + """ + + + + self._x_language = None + self._engine_type = None + self._db_use_type = None + self._job_direction = None + self._is_use_sellout_info = None + self._is_multi_write = None + self.discriminator = None + + if x_language is not None: + self.x_language = x_language + self.engine_type = engine_type + self.db_use_type = db_use_type + self.job_direction = job_direction + if is_use_sellout_info is not None: + self.is_use_sellout_info = is_use_sellout_info + if is_multi_write is not None: + self.is_multi_write = is_multi_write + + @property + def x_language(self): + """Gets the x_language of this ListAvailableNodeTypesRequest. + + 请求语言类型。 + + :return: The x_language of this ListAvailableNodeTypesRequest. + :rtype: str + """ + return self._x_language + + @x_language.setter + def x_language(self, x_language): + """Sets the x_language of this ListAvailableNodeTypesRequest. + + 请求语言类型。 + + :param x_language: The x_language of this ListAvailableNodeTypesRequest. + :type x_language: str + """ + self._x_language = x_language + + @property + def engine_type(self): + """Gets the engine_type of this ListAvailableNodeTypesRequest. + + 引擎类型 + + :return: The engine_type of this ListAvailableNodeTypesRequest. + :rtype: str + """ + return self._engine_type + + @engine_type.setter + def engine_type(self, engine_type): + """Sets the engine_type of this ListAvailableNodeTypesRequest. + + 引擎类型 + + :param engine_type: The engine_type of this ListAvailableNodeTypesRequest. + :type engine_type: str + """ + self._engine_type = engine_type + + @property + def db_use_type(self): + """Gets the db_use_type of this ListAvailableNodeTypesRequest. + + 迁移场景。 - migration:实时迁移 - sync:实时同步 - cloudDataGuard:实时灾备 + + :return: The db_use_type of this ListAvailableNodeTypesRequest. + :rtype: str + """ + return self._db_use_type + + @db_use_type.setter + def db_use_type(self, db_use_type): + """Sets the db_use_type of this ListAvailableNodeTypesRequest. + + 迁移场景。 - migration:实时迁移 - sync:实时同步 - cloudDataGuard:实时灾备 + + :param db_use_type: The db_use_type of this ListAvailableNodeTypesRequest. + :type db_use_type: str + """ + self._db_use_type = db_use_type + + @property + def job_direction(self): + """Gets the job_direction of this ListAvailableNodeTypesRequest. + + 迁移方向,up:入云 ,down:出云,non-dbs:自建。 + + :return: The job_direction of this ListAvailableNodeTypesRequest. + :rtype: str + """ + return self._job_direction + + @job_direction.setter + def job_direction(self, job_direction): + """Sets the job_direction of this ListAvailableNodeTypesRequest. + + 迁移方向,up:入云 ,down:出云,non-dbs:自建。 + + :param job_direction: The job_direction of this ListAvailableNodeTypesRequest. + :type job_direction: str + """ + self._job_direction = job_direction + + @property + def is_use_sellout_info(self): + """Gets the is_use_sellout_info of this ListAvailableNodeTypesRequest. + + 是否查询资源售罄情况 + + :return: The is_use_sellout_info of this ListAvailableNodeTypesRequest. + :rtype: bool + """ + return self._is_use_sellout_info + + @is_use_sellout_info.setter + def is_use_sellout_info(self, is_use_sellout_info): + """Sets the is_use_sellout_info of this ListAvailableNodeTypesRequest. + + 是否查询资源售罄情况 + + :param is_use_sellout_info: The is_use_sellout_info of this ListAvailableNodeTypesRequest. + :type is_use_sellout_info: bool + """ + self._is_use_sellout_info = is_use_sellout_info + + @property + def is_multi_write(self): + """Gets the is_multi_write of this ListAvailableNodeTypesRequest. + + 是否是双主灾备 + + :return: The is_multi_write of this ListAvailableNodeTypesRequest. + :rtype: bool + """ + return self._is_multi_write + + @is_multi_write.setter + def is_multi_write(self, is_multi_write): + """Sets the is_multi_write of this ListAvailableNodeTypesRequest. + + 是否是双主灾备 + + :param is_multi_write: The is_multi_write of this ListAvailableNodeTypesRequest. + :type is_multi_write: bool + """ + self._is_multi_write = is_multi_write + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ListAvailableNodeTypesRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/create_permission_set_response.py b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v3/model/list_available_node_types_response.py similarity index 64% rename from huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/create_permission_set_response.py rename to huaweicloud-sdk-drs/huaweicloudsdkdrs/v3/model/list_available_node_types_response.py index c630f2e683..bb8d3ae712 100644 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/create_permission_set_response.py +++ b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v3/model/list_available_node_types_response.py @@ -6,7 +6,7 @@ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class CreatePermissionSetResponse(SdkResponse): +class ListAvailableNodeTypesResponse(SdkResponse): """ Attributes: @@ -18,47 +18,51 @@ class CreatePermissionSetResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'permission_set': 'PermissionSetDto' + 'node_types': 'list[QuerySupportNodeTypeBean]' } attribute_map = { - 'permission_set': 'permission_set' + 'node_types': 'node_types' } - def __init__(self, permission_set=None): - """CreatePermissionSetResponse + def __init__(self, node_types=None): + """ListAvailableNodeTypesResponse The model defined in huaweicloud sdk - :param permission_set: - :type permission_set: :class:`huaweicloudsdkidentitycenter.v1.PermissionSetDto` + :param node_types: Node规格列表 + :type node_types: list[:class:`huaweicloudsdkdrs.v3.QuerySupportNodeTypeBean`] """ - super(CreatePermissionSetResponse, self).__init__() + super(ListAvailableNodeTypesResponse, self).__init__() - self._permission_set = None + self._node_types = None self.discriminator = None - if permission_set is not None: - self.permission_set = permission_set + if node_types is not None: + self.node_types = node_types @property - def permission_set(self): - """Gets the permission_set of this CreatePermissionSetResponse. + def node_types(self): + """Gets the node_types of this ListAvailableNodeTypesResponse. - :return: The permission_set of this CreatePermissionSetResponse. - :rtype: :class:`huaweicloudsdkidentitycenter.v1.PermissionSetDto` + Node规格列表 + + :return: The node_types of this ListAvailableNodeTypesResponse. + :rtype: list[:class:`huaweicloudsdkdrs.v3.QuerySupportNodeTypeBean`] """ - return self._permission_set + return self._node_types + + @node_types.setter + def node_types(self, node_types): + """Sets the node_types of this ListAvailableNodeTypesResponse. - @permission_set.setter - def permission_set(self, permission_set): - """Sets the permission_set of this CreatePermissionSetResponse. + Node规格列表 - :param permission_set: The permission_set of this CreatePermissionSetResponse. - :type permission_set: :class:`huaweicloudsdkidentitycenter.v1.PermissionSetDto` + :param node_types: The node_types of this ListAvailableNodeTypesResponse. + :type node_types: list[:class:`huaweicloudsdkdrs.v3.QuerySupportNodeTypeBean`] """ - self._permission_set = permission_set + self._node_types = node_types def to_dict(self): """Returns the model properties as a dict""" @@ -102,7 +106,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, CreatePermissionSetResponse): + if not isinstance(other, ListAvailableNodeTypesResponse): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/association_dto.py b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v3/model/public_ip_config.py similarity index 51% rename from huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/association_dto.py rename to huaweicloud-sdk-drs/huaweicloudsdkdrs/v3/model/public_ip_config.py index 2b6b39bfda..2c8e2abc21 100644 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/association_dto.py +++ b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v3/model/public_ip_config.py @@ -5,7 +5,7 @@ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class AssociationDto: +class PublicIpConfig: """ Attributes: @@ -17,94 +17,106 @@ class AssociationDto: sensitive_list = [] openapi_types = { - 'accessor': 'AccessorDto', - 'instance_id': 'str', - 'profile_id': 'str' + 'id': 'str', + 'public_ip': 'str', + 'type': 'str' } attribute_map = { - 'accessor': 'accessor', - 'instance_id': 'instance_id', - 'profile_id': 'profile_id' + 'id': 'id', + 'public_ip': 'public_ip', + 'type': 'type' } - def __init__(self, accessor=None, instance_id=None, profile_id=None): - """AssociationDto + def __init__(self, id=None, public_ip=None, type=None): + """PublicIpConfig The model defined in huaweicloud sdk - :param accessor: - :type accessor: :class:`huaweicloudsdkidentitycenter.v1.AccessorDto` - :param instance_id: - :type instance_id: str - :param profile_id: - :type profile_id: str + :param id: 指定公网IP的ID + :type id: str + :param public_ip: 指定公网IP + :type public_ip: str + :param type: 指定公网IP绑定任务的类型: - 主备任务:主是master,备是slave - 其他固定传master + :type type: str """ - self._accessor = None - self._instance_id = None - self._profile_id = None + self._id = None + self._public_ip = None + self._type = None self.discriminator = None - self.accessor = accessor - self.instance_id = instance_id - self.profile_id = profile_id + self.id = id + self.public_ip = public_ip + self.type = type @property - def accessor(self): - """Gets the accessor of this AssociationDto. + def id(self): + """Gets the id of this PublicIpConfig. - :return: The accessor of this AssociationDto. - :rtype: :class:`huaweicloudsdkidentitycenter.v1.AccessorDto` + 指定公网IP的ID + + :return: The id of this PublicIpConfig. + :rtype: str """ - return self._accessor + return self._id - @accessor.setter - def accessor(self, accessor): - """Sets the accessor of this AssociationDto. + @id.setter + def id(self, id): + """Sets the id of this PublicIpConfig. - :param accessor: The accessor of this AssociationDto. - :type accessor: :class:`huaweicloudsdkidentitycenter.v1.AccessorDto` + 指定公网IP的ID + + :param id: The id of this PublicIpConfig. + :type id: str """ - self._accessor = accessor + self._id = id @property - def instance_id(self): - """Gets the instance_id of this AssociationDto. + def public_ip(self): + """Gets the public_ip of this PublicIpConfig. + + 指定公网IP - :return: The instance_id of this AssociationDto. + :return: The public_ip of this PublicIpConfig. :rtype: str """ - return self._instance_id + return self._public_ip - @instance_id.setter - def instance_id(self, instance_id): - """Sets the instance_id of this AssociationDto. + @public_ip.setter + def public_ip(self, public_ip): + """Sets the public_ip of this PublicIpConfig. - :param instance_id: The instance_id of this AssociationDto. - :type instance_id: str + 指定公网IP + + :param public_ip: The public_ip of this PublicIpConfig. + :type public_ip: str """ - self._instance_id = instance_id + self._public_ip = public_ip @property - def profile_id(self): - """Gets the profile_id of this AssociationDto. + def type(self): + """Gets the type of this PublicIpConfig. + + 指定公网IP绑定任务的类型: - 主备任务:主是master,备是slave - 其他固定传master - :return: The profile_id of this AssociationDto. + :return: The type of this PublicIpConfig. :rtype: str """ - return self._profile_id + return self._type + + @type.setter + def type(self, type): + """Sets the type of this PublicIpConfig. - @profile_id.setter - def profile_id(self, profile_id): - """Sets the profile_id of this AssociationDto. + 指定公网IP绑定任务的类型: - 主备任务:主是master,备是slave - 其他固定传master - :param profile_id: The profile_id of this AssociationDto. - :type profile_id: str + :param type: The type of this PublicIpConfig. + :type type: str """ - self._profile_id = profile_id + self._type = type def to_dict(self): """Returns the model properties as a dict""" @@ -148,7 +160,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, AssociationDto): + if not isinstance(other, PublicIpConfig): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-drs/huaweicloudsdkdrs/v3/model/query_job_resp.py b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v3/model/query_job_resp.py index 3c78f97e21..85e609c8a8 100644 --- a/huaweicloud-sdk-drs/huaweicloudsdkdrs/v3/model/query_job_resp.py +++ b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v3/model/query_job_resp.py @@ -73,7 +73,10 @@ class QueryJobResp: 'object_infos': 'list[DatabaseObjectInfo]', 'original_job_direction': 'str', 'data_transformation': 'GetDataTransformationResp', - 'tags': 'list[Tag]' + 'tags': 'list[Tag]', + 'public_ip_list': 'list[PublicIpConfig]', + 'bind_public_ip_state': 'str', + 'children': 'list[FailedToBindEipChildInfo]' } attribute_map = { @@ -133,10 +136,13 @@ class QueryJobResp: 'object_infos': 'object_infos', 'original_job_direction': 'original_job_direction', 'data_transformation': 'data_transformation', - 'tags': 'tags' + 'tags': 'tags', + 'public_ip_list': 'public_ip_list', + 'bind_public_ip_state': 'bind_public_ip_state', + 'children': 'children' } - def __init__(self, id=None, parent_id=None, name=None, status=None, description=None, create_time=None, task_type=None, source_endpoint=None, dmq_endpoint=None, source_sharding=None, target_endpoint=None, net_type=None, failed_reason=None, inst_info=None, actual_start_time=None, full_transfer_complete_time=None, update_time=None, job_direction=None, db_use_type=None, need_restart=None, is_target_readonly=None, conflict_policy=None, filter_ddl_policy=None, speed_limit=None, schema_type=None, node_num=None, object_switch=None, master_job_id=None, full_mode=None, struct_trans=None, index_trans=None, replace_definer=None, migrate_user=None, sync_database=None, error_code=None, error_message=None, target_root_db=None, az_code=None, vpc_id=None, subnet_id=None, security_group_id=None, multi_write=None, support_ip_v6=None, inherit_id=None, gtid=None, alarm_notify=None, incre_start_position=None, is_multi_az=None, az_name=None, master_az=None, slave_az=None, node_role=None, period_order=None, object_infos=None, original_job_direction=None, data_transformation=None, tags=None): + def __init__(self, id=None, parent_id=None, name=None, status=None, description=None, create_time=None, task_type=None, source_endpoint=None, dmq_endpoint=None, source_sharding=None, target_endpoint=None, net_type=None, failed_reason=None, inst_info=None, actual_start_time=None, full_transfer_complete_time=None, update_time=None, job_direction=None, db_use_type=None, need_restart=None, is_target_readonly=None, conflict_policy=None, filter_ddl_policy=None, speed_limit=None, schema_type=None, node_num=None, object_switch=None, master_job_id=None, full_mode=None, struct_trans=None, index_trans=None, replace_definer=None, migrate_user=None, sync_database=None, error_code=None, error_message=None, target_root_db=None, az_code=None, vpc_id=None, subnet_id=None, security_group_id=None, multi_write=None, support_ip_v6=None, inherit_id=None, gtid=None, alarm_notify=None, incre_start_position=None, is_multi_az=None, az_name=None, master_az=None, slave_az=None, node_role=None, period_order=None, object_infos=None, original_job_direction=None, data_transformation=None, tags=None, public_ip_list=None, bind_public_ip_state=None, children=None): """QueryJobResp The model defined in huaweicloud sdk @@ -255,6 +261,12 @@ def __init__(self, id=None, parent_id=None, name=None, status=None, description= :type data_transformation: :class:`huaweicloudsdkdrs.v3.GetDataTransformationResp` :param tags: DRS任务标签 :type tags: list[:class:`huaweicloudsdkdrs.v3.Tag`] + :param public_ip_list: 指定公网Ip的信息 + :type public_ip_list: list[:class:`huaweicloudsdkdrs.v3.PublicIpConfig`] + :param bind_public_ip_state: 是否成功绑定公网IP + :type bind_public_ip_state: str + :param children: 多任务时,存在子任务绑定失败时,返回子任务的信息 + :type children: list[:class:`huaweicloudsdkdrs.v3.FailedToBindEipChildInfo`] """ @@ -316,6 +328,9 @@ def __init__(self, id=None, parent_id=None, name=None, status=None, description= self._original_job_direction = None self._data_transformation = None self._tags = None + self._public_ip_list = None + self._bind_public_ip_state = None + self._children = None self.discriminator = None if id is not None: @@ -432,6 +447,12 @@ def __init__(self, id=None, parent_id=None, name=None, status=None, description= self.data_transformation = data_transformation if tags is not None: self.tags = tags + if public_ip_list is not None: + self.public_ip_list = public_ip_list + if bind_public_ip_state is not None: + self.bind_public_ip_state = bind_public_ip_state + if children is not None: + self.children = children @property def id(self): @@ -1655,6 +1676,72 @@ def tags(self, tags): """ self._tags = tags + @property + def public_ip_list(self): + """Gets the public_ip_list of this QueryJobResp. + + 指定公网Ip的信息 + + :return: The public_ip_list of this QueryJobResp. + :rtype: list[:class:`huaweicloudsdkdrs.v3.PublicIpConfig`] + """ + return self._public_ip_list + + @public_ip_list.setter + def public_ip_list(self, public_ip_list): + """Sets the public_ip_list of this QueryJobResp. + + 指定公网Ip的信息 + + :param public_ip_list: The public_ip_list of this QueryJobResp. + :type public_ip_list: list[:class:`huaweicloudsdkdrs.v3.PublicIpConfig`] + """ + self._public_ip_list = public_ip_list + + @property + def bind_public_ip_state(self): + """Gets the bind_public_ip_state of this QueryJobResp. + + 是否成功绑定公网IP + + :return: The bind_public_ip_state of this QueryJobResp. + :rtype: str + """ + return self._bind_public_ip_state + + @bind_public_ip_state.setter + def bind_public_ip_state(self, bind_public_ip_state): + """Sets the bind_public_ip_state of this QueryJobResp. + + 是否成功绑定公网IP + + :param bind_public_ip_state: The bind_public_ip_state of this QueryJobResp. + :type bind_public_ip_state: str + """ + self._bind_public_ip_state = bind_public_ip_state + + @property + def children(self): + """Gets the children of this QueryJobResp. + + 多任务时,存在子任务绑定失败时,返回子任务的信息 + + :return: The children of this QueryJobResp. + :rtype: list[:class:`huaweicloudsdkdrs.v3.FailedToBindEipChildInfo`] + """ + return self._children + + @children.setter + def children(self, children): + """Sets the children of this QueryJobResp. + + 多任务时,存在子任务绑定失败时,返回子任务的信息 + + :param children: The children of this QueryJobResp. + :type children: list[:class:`huaweicloudsdkdrs.v3.FailedToBindEipChildInfo`] + """ + self._children = children + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/tag_dto.py b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v3/model/query_support_node_type_bean.py similarity index 57% rename from huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/tag_dto.py rename to huaweicloud-sdk-drs/huaweicloudsdkdrs/v3/model/query_support_node_type_bean.py index 7e3f78e054..5746c27d06 100644 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/tag_dto.py +++ b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v3/model/query_support_node_type_bean.py @@ -5,7 +5,7 @@ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class TagDto: +class QuerySupportNodeTypeBean: """ Attributes: @@ -17,78 +17,80 @@ class TagDto: sensitive_list = [] openapi_types = { - 'key': 'str', - 'value': 'str' + 'node_type': 'str', + 'is_sellout': 'bool' } attribute_map = { - 'key': 'key', - 'value': 'value' + 'node_type': 'node_type', + 'is_sellout': 'is_sellout' } - def __init__(self, key=None, value=None): - """TagDto + def __init__(self, node_type=None, is_sellout=None): + """QuerySupportNodeTypeBean The model defined in huaweicloud sdk - :param key: 标签的键 - :type key: str - :param value: 标签的值,可以为空字符串,但不能为null - :type value: str + :param node_type: 规格类型 + :type node_type: str + :param is_sellout: 是否售罄 + :type is_sellout: bool """ - self._key = None - self._value = None + self._node_type = None + self._is_sellout = None self.discriminator = None - self.key = key - self.value = value + if node_type is not None: + self.node_type = node_type + if is_sellout is not None: + self.is_sellout = is_sellout @property - def key(self): - """Gets the key of this TagDto. + def node_type(self): + """Gets the node_type of this QuerySupportNodeTypeBean. - 标签的键 + 规格类型 - :return: The key of this TagDto. + :return: The node_type of this QuerySupportNodeTypeBean. :rtype: str """ - return self._key + return self._node_type - @key.setter - def key(self, key): - """Sets the key of this TagDto. + @node_type.setter + def node_type(self, node_type): + """Sets the node_type of this QuerySupportNodeTypeBean. - 标签的键 + 规格类型 - :param key: The key of this TagDto. - :type key: str + :param node_type: The node_type of this QuerySupportNodeTypeBean. + :type node_type: str """ - self._key = key + self._node_type = node_type @property - def value(self): - """Gets the value of this TagDto. + def is_sellout(self): + """Gets the is_sellout of this QuerySupportNodeTypeBean. - 标签的值,可以为空字符串,但不能为null + 是否售罄 - :return: The value of this TagDto. - :rtype: str + :return: The is_sellout of this QuerySupportNodeTypeBean. + :rtype: bool """ - return self._value + return self._is_sellout - @value.setter - def value(self, value): - """Sets the value of this TagDto. + @is_sellout.setter + def is_sellout(self, is_sellout): + """Sets the is_sellout of this QuerySupportNodeTypeBean. - 标签的值,可以为空字符串,但不能为null + 是否售罄 - :param value: The value of this TagDto. - :type value: str + :param is_sellout: The is_sellout of this QuerySupportNodeTypeBean. + :type is_sellout: bool """ - self._value = value + self._is_sellout = is_sellout def to_dict(self): """Returns the model properties as a dict""" @@ -132,7 +134,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, TagDto): + if not isinstance(other, QuerySupportNodeTypeBean): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-drs/huaweicloudsdkdrs/v3/model/sync_policy_req.py b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v3/model/sync_policy_req.py index 48d5922942..eb0815558d 100644 --- a/huaweicloud-sdk-drs/huaweicloudsdkdrs/v3/model/sync_policy_req.py +++ b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v3/model/sync_policy_req.py @@ -33,7 +33,8 @@ class SyncPolicyReq: 'export_snapshot': 'bool', 'slot_name': 'str', 'file_and_position': 'str', - 'gtid_set': 'str' + 'gtid_set': 'str', + 'ddl_topic': 'str' } attribute_map = { @@ -53,10 +54,11 @@ class SyncPolicyReq: 'export_snapshot': 'export_snapshot', 'slot_name': 'slot_name', 'file_and_position': 'file_and_position', - 'gtid_set': 'gtid_set' + 'gtid_set': 'gtid_set', + 'ddl_topic': 'ddl_topic' } - def __init__(self, job_id=None, conflict_policy=None, filter_ddl_policy=None, ddl_trans=None, index_trans=None, topic_policy=None, topic=None, partition_policy=None, kafka_data_format=None, topic_name_format=None, partitions_num=None, replication_factor=None, is_fill_materialized_view=None, export_snapshot=None, slot_name=None, file_and_position=None, gtid_set=None): + def __init__(self, job_id=None, conflict_policy=None, filter_ddl_policy=None, ddl_trans=None, index_trans=None, topic_policy=None, topic=None, partition_policy=None, kafka_data_format=None, topic_name_format=None, partitions_num=None, replication_factor=None, is_fill_materialized_view=None, export_snapshot=None, slot_name=None, file_and_position=None, gtid_set=None, ddl_topic=None): """SyncPolicyReq The model defined in huaweicloud sdk @@ -95,6 +97,8 @@ def __init__(self, job_id=None, conflict_policy=None, filter_ddl_policy=None, dd :type file_and_position: str :param gtid_set: - MySQL为源的任务需要,通过show master status命令获取源库位点,根据提示填写Executed_Gtid_Set(如果源库为MySQL 5.5版本,则不支持使用同步任务)。 - 不能包含< > & \" \\' / \\\\\\\\ 特殊字符和中文。且不能超过2048个字符 :type gtid_set: str + :param ddl_topic: 存储DDL的topic。Kafka为目标且ddl_trans为true时必填,取值:目标库已存在的topic名称,确保topic已存在。 + :type ddl_topic: str """ @@ -116,6 +120,7 @@ def __init__(self, job_id=None, conflict_policy=None, filter_ddl_policy=None, dd self._slot_name = None self._file_and_position = None self._gtid_set = None + self._ddl_topic = None self.discriminator = None self.job_id = job_id @@ -151,6 +156,8 @@ def __init__(self, job_id=None, conflict_policy=None, filter_ddl_policy=None, dd self.file_and_position = file_and_position if gtid_set is not None: self.gtid_set = gtid_set + if ddl_topic is not None: + self.ddl_topic = ddl_topic @property def job_id(self): @@ -526,6 +533,28 @@ def gtid_set(self, gtid_set): """ self._gtid_set = gtid_set + @property + def ddl_topic(self): + """Gets the ddl_topic of this SyncPolicyReq. + + 存储DDL的topic。Kafka为目标且ddl_trans为true时必填,取值:目标库已存在的topic名称,确保topic已存在。 + + :return: The ddl_topic of this SyncPolicyReq. + :rtype: str + """ + return self._ddl_topic + + @ddl_topic.setter + def ddl_topic(self, ddl_topic): + """Sets the ddl_topic of this SyncPolicyReq. + + 存储DDL的topic。Kafka为目标且ddl_trans为true时必填,取值:目标库已存在的topic名称,确保topic已存在。 + + :param ddl_topic: The ddl_topic of this SyncPolicyReq. + :type ddl_topic: str + """ + self._ddl_topic = ddl_topic + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/__init__.py b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/__init__.py index 8c77b5214a..4e2f319171 100644 --- a/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/__init__.py +++ b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/__init__.py @@ -108,6 +108,7 @@ from huaweicloudsdkdrs.v5.model.execute_job_action_response import ExecuteJobActionResponse from huaweicloudsdkdrs.v5.model.export_operation_info_request import ExportOperationInfoRequest from huaweicloudsdkdrs.v5.model.export_operation_info_response import ExportOperationInfoResponse +from huaweicloudsdkdrs.v5.model.failed_to_bind_eip_child_info import FailedToBindEipChildInfo from huaweicloudsdkdrs.v5.model.flow_compare_data import FlowCompareData from huaweicloudsdkdrs.v5.model.health_compare_job import HealthCompareJob from huaweicloudsdkdrs.v5.model.import_batch_create_jobs_request import ImportBatchCreateJobsRequest @@ -169,6 +170,7 @@ from huaweicloudsdkdrs.v5.model.product_info import ProductInfo from huaweicloudsdkdrs.v5.model.progress_complete_info import ProgressCompleteInfo from huaweicloudsdkdrs.v5.model.project_tag import ProjectTag +from huaweicloudsdkdrs.v5.model.public_ip_config import PublicIpConfig from huaweicloudsdkdrs.v5.model.query_column_info import QueryColumnInfo from huaweicloudsdkdrs.v5.model.query_column_req import QueryColumnReq from huaweicloudsdkdrs.v5.model.query_db_position_req import QueryDbPositionReq diff --git a/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/__init__.py b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/__init__.py index 7b67a80de9..7c837ba070 100644 --- a/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/__init__.py +++ b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/__init__.py @@ -106,6 +106,7 @@ from huaweicloudsdkdrs.v5.model.execute_job_action_response import ExecuteJobActionResponse from huaweicloudsdkdrs.v5.model.export_operation_info_request import ExportOperationInfoRequest from huaweicloudsdkdrs.v5.model.export_operation_info_response import ExportOperationInfoResponse +from huaweicloudsdkdrs.v5.model.failed_to_bind_eip_child_info import FailedToBindEipChildInfo from huaweicloudsdkdrs.v5.model.flow_compare_data import FlowCompareData from huaweicloudsdkdrs.v5.model.health_compare_job import HealthCompareJob from huaweicloudsdkdrs.v5.model.import_batch_create_jobs_request import ImportBatchCreateJobsRequest @@ -167,6 +168,7 @@ from huaweicloudsdkdrs.v5.model.product_info import ProductInfo from huaweicloudsdkdrs.v5.model.progress_complete_info import ProgressCompleteInfo from huaweicloudsdkdrs.v5.model.project_tag import ProjectTag +from huaweicloudsdkdrs.v5.model.public_ip_config import PublicIpConfig from huaweicloudsdkdrs.v5.model.query_column_info import QueryColumnInfo from huaweicloudsdkdrs.v5.model.query_column_req import QueryColumnReq from huaweicloudsdkdrs.v5.model.query_db_position_req import QueryDbPositionReq diff --git a/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/action_params.py b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/action_params.py index 8672c17e78..b6ea0d9aa1 100644 --- a/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/action_params.py +++ b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/action_params.py @@ -24,7 +24,8 @@ class ActionParams: 'start_time': 'str', 'compare_task_param': 'CompareTaskParams', 'is_sync_re_edit': 'bool', - 'force_delete': 'bool' + 'force_delete': 'bool', + 'public_ip_config': 'PublicIpConfig' } attribute_map = { @@ -35,10 +36,11 @@ class ActionParams: 'start_time': 'start_time', 'compare_task_param': 'compare_task_param', 'is_sync_re_edit': 'is_sync_re_edit', - 'force_delete': 'force_delete' + 'force_delete': 'force_delete', + 'public_ip_config': 'public_ip_config' } - def __init__(self, endpoints=None, precheck_mode=None, skip_precheck_info=None, pause_mode=None, start_time=None, compare_task_param=None, is_sync_re_edit=None, force_delete=None): + def __init__(self, endpoints=None, precheck_mode=None, skip_precheck_info=None, pause_mode=None, start_time=None, compare_task_param=None, is_sync_re_edit=None, force_delete=None, public_ip_config=None): """ActionParams The model defined in huaweicloud sdk @@ -59,6 +61,8 @@ def __init__(self, endpoints=None, precheck_mode=None, skip_precheck_info=None, :type is_sync_re_edit: bool :param force_delete: 强制结束时取值为true。 :type force_delete: bool + :param public_ip_config: + :type public_ip_config: :class:`huaweicloudsdkdrs.v5.PublicIpConfig` """ @@ -71,6 +75,7 @@ def __init__(self, endpoints=None, precheck_mode=None, skip_precheck_info=None, self._compare_task_param = None self._is_sync_re_edit = None self._force_delete = None + self._public_ip_config = None self.discriminator = None if endpoints is not None: @@ -89,6 +94,8 @@ def __init__(self, endpoints=None, precheck_mode=None, skip_precheck_info=None, self.is_sync_re_edit = is_sync_re_edit if force_delete is not None: self.force_delete = force_delete + if public_ip_config is not None: + self.public_ip_config = public_ip_config @property def endpoints(self): @@ -258,6 +265,24 @@ def force_delete(self, force_delete): """ self._force_delete = force_delete + @property + def public_ip_config(self): + """Gets the public_ip_config of this ActionParams. + + :return: The public_ip_config of this ActionParams. + :rtype: :class:`huaweicloudsdkdrs.v5.PublicIpConfig` + """ + return self._public_ip_config + + @public_ip_config.setter + def public_ip_config(self, public_ip_config): + """Sets the public_ip_config of this ActionParams. + + :param public_ip_config: The public_ip_config of this ActionParams. + :type public_ip_config: :class:`huaweicloudsdkdrs.v5.PublicIpConfig` + """ + self._public_ip_config = public_ip_config + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/action_req.py b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/action_req.py index c6301c99d7..5ceb24ed87 100644 --- a/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/action_req.py +++ b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/action_req.py @@ -35,7 +35,7 @@ def __init__(self, job_id=None, action_name=None, action_params=None): :param job_id: 任务ID (对比任务相关操作,多任务场景传父任务详情返回的master_job_id),批量操作时必填 :type job_id: str - :param action_name: 操作任务动作名称。取值: - network:测试连接源库/目标库。 - precheck:执行预检查。 - start:启动任务。 - stop:暂停任务。 - restart:重试任务。 - reset:重置任务。 - terminate:结束任务。 - skip_precheck:跳过预检查。 - create_compare:创建对比任务。 - cancel_compare:取消对比任务。 - column_limit:字段过滤。 - reload_parameters:重新加载任务参数。 + :param action_name: 操作任务动作名称。取值: - network:测试连接源库/目标库。 - precheck:执行预检查。 - start:启动任务。 - stop:暂停任务。 - restart:重试任务。 - reset:重置任务。 - terminate:结束任务。 - skip_precheck:跳过预检查。 - create_compare:创建对比任务。 - cancel_compare:取消对比任务。 - column_limit:字段过滤。 - reload_parameters:重新加载任务参数。 - bind_eip:绑定公网IP。 - unbind_eip:解绑公网IP。 :type action_name: str :param action_params: :type action_params: :class:`huaweicloudsdkdrs.v5.ActionParams` @@ -80,7 +80,7 @@ def job_id(self, job_id): def action_name(self): """Gets the action_name of this ActionReq. - 操作任务动作名称。取值: - network:测试连接源库/目标库。 - precheck:执行预检查。 - start:启动任务。 - stop:暂停任务。 - restart:重试任务。 - reset:重置任务。 - terminate:结束任务。 - skip_precheck:跳过预检查。 - create_compare:创建对比任务。 - cancel_compare:取消对比任务。 - column_limit:字段过滤。 - reload_parameters:重新加载任务参数。 + 操作任务动作名称。取值: - network:测试连接源库/目标库。 - precheck:执行预检查。 - start:启动任务。 - stop:暂停任务。 - restart:重试任务。 - reset:重置任务。 - terminate:结束任务。 - skip_precheck:跳过预检查。 - create_compare:创建对比任务。 - cancel_compare:取消对比任务。 - column_limit:字段过滤。 - reload_parameters:重新加载任务参数。 - bind_eip:绑定公网IP。 - unbind_eip:解绑公网IP。 :return: The action_name of this ActionReq. :rtype: str @@ -91,7 +91,7 @@ def action_name(self): def action_name(self, action_name): """Sets the action_name of this ActionReq. - 操作任务动作名称。取值: - network:测试连接源库/目标库。 - precheck:执行预检查。 - start:启动任务。 - stop:暂停任务。 - restart:重试任务。 - reset:重置任务。 - terminate:结束任务。 - skip_precheck:跳过预检查。 - create_compare:创建对比任务。 - cancel_compare:取消对比任务。 - column_limit:字段过滤。 - reload_parameters:重新加载任务参数。 + 操作任务动作名称。取值: - network:测试连接源库/目标库。 - precheck:执行预检查。 - start:启动任务。 - stop:暂停任务。 - restart:重试任务。 - reset:重置任务。 - terminate:结束任务。 - skip_precheck:跳过预检查。 - create_compare:创建对比任务。 - cancel_compare:取消对比任务。 - column_limit:字段过滤。 - reload_parameters:重新加载任务参数。 - bind_eip:绑定公网IP。 - unbind_eip:解绑公网IP。 :param action_name: The action_name of this ActionReq. :type action_name: str diff --git a/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/async_create_job_req.py b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/async_create_job_req.py index 557860dde6..a85bec695c 100644 --- a/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/async_create_job_req.py +++ b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/async_create_job_req.py @@ -28,7 +28,8 @@ class AsyncCreateJobReq: 'db_param': 'DbParamInfo', 'tuning_params': 'TuningParamInfo', 'period_order': 'PeriodOrderInfo', - 'node_info': 'JobNodeInfo' + 'node_info': 'JobNodeInfo', + 'public_ip_list': 'list[PublicIpConfig]' } attribute_map = { @@ -43,10 +44,11 @@ class AsyncCreateJobReq: 'db_param': 'db_param', 'tuning_params': 'tuning_params', 'period_order': 'period_order', - 'node_info': 'node_info' + 'node_info': 'node_info', + 'public_ip_list': 'public_ip_list' } - def __init__(self, base_info=None, source_endpoint=None, target_endpoint=None, alarm_notify=None, speed_limit=None, user_migration=None, policy_config=None, db_object=None, db_param=None, tuning_params=None, period_order=None, node_info=None): + def __init__(self, base_info=None, source_endpoint=None, target_endpoint=None, alarm_notify=None, speed_limit=None, user_migration=None, policy_config=None, db_object=None, db_param=None, tuning_params=None, period_order=None, node_info=None, public_ip_list=None): """AsyncCreateJobReq The model defined in huaweicloud sdk @@ -75,6 +77,8 @@ def __init__(self, base_info=None, source_endpoint=None, target_endpoint=None, a :type period_order: :class:`huaweicloudsdkdrs.v5.PeriodOrderInfo` :param node_info: :type node_info: :class:`huaweicloudsdkdrs.v5.JobNodeInfo` + :param public_ip_list: 指定公网IP的信息 + :type public_ip_list: list[:class:`huaweicloudsdkdrs.v5.PublicIpConfig`] """ @@ -91,6 +95,7 @@ def __init__(self, base_info=None, source_endpoint=None, target_endpoint=None, a self._tuning_params = None self._period_order = None self._node_info = None + self._public_ip_list = None self.discriminator = None self.base_info = base_info @@ -111,6 +116,8 @@ def __init__(self, base_info=None, source_endpoint=None, target_endpoint=None, a if period_order is not None: self.period_order = period_order self.node_info = node_info + if public_ip_list is not None: + self.public_ip_list = public_ip_list @property def base_info(self): @@ -340,6 +347,28 @@ def node_info(self, node_info): """ self._node_info = node_info + @property + def public_ip_list(self): + """Gets the public_ip_list of this AsyncCreateJobReq. + + 指定公网IP的信息 + + :return: The public_ip_list of this AsyncCreateJobReq. + :rtype: list[:class:`huaweicloudsdkdrs.v5.PublicIpConfig`] + """ + return self._public_ip_list + + @public_ip_list.setter + def public_ip_list(self, public_ip_list): + """Sets the public_ip_list of this AsyncCreateJobReq. + + 指定公网IP的信息 + + :param public_ip_list: The public_ip_list of this AsyncCreateJobReq. + :type public_ip_list: list[:class:`huaweicloudsdkdrs.v5.PublicIpConfig`] + """ + self._public_ip_list = public_ip_list + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/base_endpoint.py b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/base_endpoint.py index 3a4b71ecbf..2d4b1084b2 100644 --- a/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/base_endpoint.py +++ b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/base_endpoint.py @@ -51,7 +51,7 @@ def __init__(self, id=None, endpoint_name=None, ip=None, db_port=None, db_user=N :type id: str :param endpoint_name: 数据库场景类型。取值: - oracle:云下自建Oracle数据库。 - ecs_oracle:华为云ECS自建Oracle数据库。 - cloud_gaussdbv5:华为云数据库GaussDB分布式。 - mysql:他云/本地自建MySQL数据库。 - ecs_mysql:华为云ECS自建MySQL数据库。 - cloud_mysql:华为云数据库RDS for MySQL。 - redis:云下自建Redis数据。 - ecs_redis:华为云ECS自建Redis数据。 - rediscluster:云下自建Redis集群数据库。 - ecs_rediscluster:华为云ECS自建Redis集群数据库。 - cloud_gaussdb_redis:华为云数据库GeminiDB Redis。 :type endpoint_name: str - :param ip: 数据库IP。 约束: - 数据库为自建MongoDB时,数据库IP与端口之间用“:”英文冒号拼接,多个值之间请用“,”英文逗号隔开,最多支持填写3个IP地址或域名。 - 数据库为DDS实例时,数据库IP与端口之间用“:”英文冒号拼接,多个IP端口之间请用“,”英文逗号分隔。 - 数据库为Redis集群时,请填写源端Redis集群所有分片的IP地址和对应端口,数据库IP与端口之间用“:”英文冒号拼接,多个IP端口之间请用“,”英文逗号分隔,并且推荐填写集群分片的Slave节点的IP地址。最多支持填写32个IP地址或域名,多个值之间请用英文逗号隔开。 示例: - MySQL:192.168.0.10 - MongoDB:192.168.0.10:8080,192.168.0.11:8080,192.168.0.12:8080 - DDS:192.168.205.130:8635,192.168.250.64:8635 - Redis集群:192.168.0.1:8080,192.168.0.2:8080 + :param ip: 数据库IP。 约束: - 数据库为自建MongoDB时,数据库IP与端口之间用“:”英文冒号拼接,多个值之间请用“,”英文逗号隔开,最多支持填写3个IP地址或域名。 - 数据库为DDS实例时,数据库IP与端口之间用“:”英文冒号拼接,多个IP端口之间请用“,”英文逗号分隔。 - 数据库为Redis集群时,请填写源端Redis集群所有分片的IP地址和对应端口,数据库IP与端口之间用“:”英文冒号拼接,多个IP端口之间请用“,”英文逗号分隔,并且推荐填写集群分片的Slave节点的IP地址。最多支持填写32个IP地址或域名,多个值之间请用英文逗号隔开。 示例: - MySQL:ip - MongoDB:ip:port,ip:port,ip:port - DDS:ip:port,ip:port - Redis集群:ip:port,ip:port :type ip: str :param db_port: 数据库端口。 约束:输入范围为1-65535之间的整数。 :type db_port: str @@ -149,7 +149,7 @@ def endpoint_name(self, endpoint_name): def ip(self): """Gets the ip of this BaseEndpoint. - 数据库IP。 约束: - 数据库为自建MongoDB时,数据库IP与端口之间用“:”英文冒号拼接,多个值之间请用“,”英文逗号隔开,最多支持填写3个IP地址或域名。 - 数据库为DDS实例时,数据库IP与端口之间用“:”英文冒号拼接,多个IP端口之间请用“,”英文逗号分隔。 - 数据库为Redis集群时,请填写源端Redis集群所有分片的IP地址和对应端口,数据库IP与端口之间用“:”英文冒号拼接,多个IP端口之间请用“,”英文逗号分隔,并且推荐填写集群分片的Slave节点的IP地址。最多支持填写32个IP地址或域名,多个值之间请用英文逗号隔开。 示例: - MySQL:192.168.0.10 - MongoDB:192.168.0.10:8080,192.168.0.11:8080,192.168.0.12:8080 - DDS:192.168.205.130:8635,192.168.250.64:8635 - Redis集群:192.168.0.1:8080,192.168.0.2:8080 + 数据库IP。 约束: - 数据库为自建MongoDB时,数据库IP与端口之间用“:”英文冒号拼接,多个值之间请用“,”英文逗号隔开,最多支持填写3个IP地址或域名。 - 数据库为DDS实例时,数据库IP与端口之间用“:”英文冒号拼接,多个IP端口之间请用“,”英文逗号分隔。 - 数据库为Redis集群时,请填写源端Redis集群所有分片的IP地址和对应端口,数据库IP与端口之间用“:”英文冒号拼接,多个IP端口之间请用“,”英文逗号分隔,并且推荐填写集群分片的Slave节点的IP地址。最多支持填写32个IP地址或域名,多个值之间请用英文逗号隔开。 示例: - MySQL:ip - MongoDB:ip:port,ip:port,ip:port - DDS:ip:port,ip:port - Redis集群:ip:port,ip:port :return: The ip of this BaseEndpoint. :rtype: str @@ -160,7 +160,7 @@ def ip(self): def ip(self, ip): """Sets the ip of this BaseEndpoint. - 数据库IP。 约束: - 数据库为自建MongoDB时,数据库IP与端口之间用“:”英文冒号拼接,多个值之间请用“,”英文逗号隔开,最多支持填写3个IP地址或域名。 - 数据库为DDS实例时,数据库IP与端口之间用“:”英文冒号拼接,多个IP端口之间请用“,”英文逗号分隔。 - 数据库为Redis集群时,请填写源端Redis集群所有分片的IP地址和对应端口,数据库IP与端口之间用“:”英文冒号拼接,多个IP端口之间请用“,”英文逗号分隔,并且推荐填写集群分片的Slave节点的IP地址。最多支持填写32个IP地址或域名,多个值之间请用英文逗号隔开。 示例: - MySQL:192.168.0.10 - MongoDB:192.168.0.10:8080,192.168.0.11:8080,192.168.0.12:8080 - DDS:192.168.205.130:8635,192.168.250.64:8635 - Redis集群:192.168.0.1:8080,192.168.0.2:8080 + 数据库IP。 约束: - 数据库为自建MongoDB时,数据库IP与端口之间用“:”英文冒号拼接,多个值之间请用“,”英文逗号隔开,最多支持填写3个IP地址或域名。 - 数据库为DDS实例时,数据库IP与端口之间用“:”英文冒号拼接,多个IP端口之间请用“,”英文逗号分隔。 - 数据库为Redis集群时,请填写源端Redis集群所有分片的IP地址和对应端口,数据库IP与端口之间用“:”英文冒号拼接,多个IP端口之间请用“,”英文逗号分隔,并且推荐填写集群分片的Slave节点的IP地址。最多支持填写32个IP地址或域名,多个值之间请用英文逗号隔开。 示例: - MySQL:ip - MongoDB:ip:port,ip:port,ip:port - DDS:ip:port,ip:port - Redis集群:ip:port,ip:port :param ip: The ip of this BaseEndpoint. :type ip: str diff --git a/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/check_data_filter_response.py b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/check_data_filter_response.py index 0c02c85e65..55ed16738e 100644 --- a/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/check_data_filter_response.py +++ b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/check_data_filter_response.py @@ -19,15 +19,17 @@ class CheckDataFilterResponse(SdkResponse): openapi_types = { 'id': 'str', - 'status': 'str' + 'status': 'str', + 'job_id': 'str' } attribute_map = { 'id': 'id', - 'status': 'status' + 'status': 'status', + 'job_id': 'job_id' } - def __init__(self, id=None, status=None): + def __init__(self, id=None, status=None, job_id=None): """CheckDataFilterResponse The model defined in huaweicloud sdk @@ -36,18 +38,23 @@ def __init__(self, id=None, status=None): :type id: str :param status: 查询状态 :type status: str + :param job_id: 任务ID + :type job_id: str """ super(CheckDataFilterResponse, self).__init__() self._id = None self._status = None + self._job_id = None self.discriminator = None if id is not None: self.id = id if status is not None: self.status = status + if job_id is not None: + self.job_id = job_id @property def id(self): @@ -93,6 +100,28 @@ def status(self, status): """ self._status = status + @property + def job_id(self): + """Gets the job_id of this CheckDataFilterResponse. + + 任务ID + + :return: The job_id of this CheckDataFilterResponse. + :rtype: str + """ + return self._job_id + + @job_id.setter + def job_id(self, job_id): + """Sets the job_id of this CheckDataFilterResponse. + + 任务ID + + :param job_id: The job_id of this CheckDataFilterResponse. + :type job_id: str + """ + self._job_id = job_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/collect_columns_response.py b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/collect_columns_response.py index 550cd3f896..42e1a06b6c 100644 --- a/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/collect_columns_response.py +++ b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/collect_columns_response.py @@ -19,15 +19,17 @@ class CollectColumnsResponse(SdkResponse): openapi_types = { 'id': 'str', - 'status': 'str' + 'status': 'str', + 'job_id': 'str' } attribute_map = { 'id': 'id', - 'status': 'status' + 'status': 'status', + 'job_id': 'job_id' } - def __init__(self, id=None, status=None): + def __init__(self, id=None, status=None, job_id=None): """CollectColumnsResponse The model defined in huaweicloud sdk @@ -36,18 +38,23 @@ def __init__(self, id=None, status=None): :type id: str :param status: 查询状态 :type status: str + :param job_id: 任务ID + :type job_id: str """ super(CollectColumnsResponse, self).__init__() self._id = None self._status = None + self._job_id = None self.discriminator = None if id is not None: self.id = id if status is not None: self.status = status + if job_id is not None: + self.job_id = job_id @property def id(self): @@ -93,6 +100,28 @@ def status(self, status): """ self._status = status + @property + def job_id(self): + """Gets the job_id of this CollectColumnsResponse. + + 任务ID + + :return: The job_id of this CollectColumnsResponse. + :rtype: str + """ + return self._job_id + + @job_id.setter + def job_id(self, job_id): + """Sets the job_id of this CollectColumnsResponse. + + 任务ID + + :param job_id: The job_id of this CollectColumnsResponse. + :type job_id: str + """ + self._job_id = job_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/collect_db_objects_async_response.py b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/collect_db_objects_async_response.py index a8e390faa1..965ae0d6c6 100644 --- a/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/collect_db_objects_async_response.py +++ b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/collect_db_objects_async_response.py @@ -19,15 +19,17 @@ class CollectDbObjectsAsyncResponse(SdkResponse): openapi_types = { 'id': 'str', - 'status': 'str' + 'status': 'str', + 'job_id': 'str' } attribute_map = { 'id': 'id', - 'status': 'status' + 'status': 'status', + 'job_id': 'job_id' } - def __init__(self, id=None, status=None): + def __init__(self, id=None, status=None, job_id=None): """CollectDbObjectsAsyncResponse The model defined in huaweicloud sdk @@ -36,18 +38,23 @@ def __init__(self, id=None, status=None): :type id: str :param status: 查询状态 :type status: str + :param job_id: 任务ID + :type job_id: str """ super(CollectDbObjectsAsyncResponse, self).__init__() self._id = None self._status = None + self._job_id = None self.discriminator = None if id is not None: self.id = id if status is not None: self.status = status + if job_id is not None: + self.job_id = job_id @property def id(self): @@ -93,6 +100,28 @@ def status(self, status): """ self._status = status + @property + def job_id(self): + """Gets the job_id of this CollectDbObjectsAsyncResponse. + + 任务ID + + :return: The job_id of this CollectDbObjectsAsyncResponse. + :rtype: str + """ + return self._job_id + + @job_id.setter + def job_id(self, job_id): + """Sets the job_id of this CollectDbObjectsAsyncResponse. + + 任务ID + + :param job_id: The job_id of this CollectDbObjectsAsyncResponse. + :type job_id: str + """ + self._job_id = job_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/collect_db_objects_info_response.py b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/collect_db_objects_info_response.py index ae71b9cbbc..14f60c137d 100644 --- a/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/collect_db_objects_info_response.py +++ b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/collect_db_objects_info_response.py @@ -19,15 +19,17 @@ class CollectDbObjectsInfoResponse(SdkResponse): openapi_types = { 'id': 'str', - 'status': 'str' + 'status': 'str', + 'job_id': 'str' } attribute_map = { 'id': 'id', - 'status': 'status' + 'status': 'status', + 'job_id': 'job_id' } - def __init__(self, id=None, status=None): + def __init__(self, id=None, status=None, job_id=None): """CollectDbObjectsInfoResponse The model defined in huaweicloud sdk @@ -36,18 +38,23 @@ def __init__(self, id=None, status=None): :type id: str :param status: 查询状态 :type status: str + :param job_id: 任务ID + :type job_id: str """ super(CollectDbObjectsInfoResponse, self).__init__() self._id = None self._status = None + self._job_id = None self.discriminator = None if id is not None: self.id = id if status is not None: self.status = status + if job_id is not None: + self.job_id = job_id @property def id(self): @@ -93,6 +100,28 @@ def status(self, status): """ self._status = status + @property + def job_id(self): + """Gets the job_id of this CollectDbObjectsInfoResponse. + + 任务ID + + :return: The job_id of this CollectDbObjectsInfoResponse. + :rtype: str + """ + return self._job_id + + @job_id.setter + def job_id(self, job_id): + """Sets the job_id of this CollectDbObjectsInfoResponse. + + 任务ID + + :param job_id: The job_id of this CollectDbObjectsInfoResponse. + :type job_id: str + """ + self._job_id = job_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/collect_position_async_response.py b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/collect_position_async_response.py index a520d772a2..deae9a77b1 100644 --- a/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/collect_position_async_response.py +++ b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/collect_position_async_response.py @@ -19,15 +19,17 @@ class CollectPositionAsyncResponse(SdkResponse): openapi_types = { 'id': 'str', - 'status': 'str' + 'status': 'str', + 'job_id': 'str' } attribute_map = { 'id': 'id', - 'status': 'status' + 'status': 'status', + 'job_id': 'job_id' } - def __init__(self, id=None, status=None): + def __init__(self, id=None, status=None, job_id=None): """CollectPositionAsyncResponse The model defined in huaweicloud sdk @@ -36,18 +38,23 @@ def __init__(self, id=None, status=None): :type id: str :param status: 查询状态 :type status: str + :param job_id: 任务ID + :type job_id: str """ super(CollectPositionAsyncResponse, self).__init__() self._id = None self._status = None + self._job_id = None self.discriminator = None if id is not None: self.id = id if status is not None: self.status = status + if job_id is not None: + self.job_id = job_id @property def id(self): @@ -93,6 +100,28 @@ def status(self, status): """ self._status = status + @property + def job_id(self): + """Gets the job_id of this CollectPositionAsyncResponse. + + 任务ID + + :return: The job_id of this CollectPositionAsyncResponse. + :rtype: str + """ + return self._job_id + + @job_id.setter + def job_id(self, job_id): + """Sets the job_id of this CollectPositionAsyncResponse. + + 任务ID + + :param job_id: The job_id of this CollectPositionAsyncResponse. + :type job_id: str + """ + self._job_id = job_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/create_job_req.py b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/create_job_req.py index 4067d07e88..e1fd89f669 100644 --- a/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/create_job_req.py +++ b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/create_job_req.py @@ -21,7 +21,8 @@ class CreateJobReq: 'source_endpoint': 'list[JobEndpointInfo]', 'target_endpoint': 'list[JobEndpointInfo]', 'period_order': 'PeriodOrderInfo', - 'node_info': 'JobNodeInfo' + 'node_info': 'JobNodeInfo', + 'public_ip_list': 'list[PublicIpConfig]' } attribute_map = { @@ -29,10 +30,11 @@ class CreateJobReq: 'source_endpoint': 'source_endpoint', 'target_endpoint': 'target_endpoint', 'period_order': 'period_order', - 'node_info': 'node_info' + 'node_info': 'node_info', + 'public_ip_list': 'public_ip_list' } - def __init__(self, base_info=None, source_endpoint=None, target_endpoint=None, period_order=None, node_info=None): + def __init__(self, base_info=None, source_endpoint=None, target_endpoint=None, period_order=None, node_info=None, public_ip_list=None): """CreateJobReq The model defined in huaweicloud sdk @@ -47,6 +49,8 @@ def __init__(self, base_info=None, source_endpoint=None, target_endpoint=None, p :type period_order: :class:`huaweicloudsdkdrs.v5.PeriodOrderInfo` :param node_info: :type node_info: :class:`huaweicloudsdkdrs.v5.JobNodeInfo` + :param public_ip_list: 指定公网IP的信息 + :type public_ip_list: list[:class:`huaweicloudsdkdrs.v5.PublicIpConfig`] """ @@ -56,6 +60,7 @@ def __init__(self, base_info=None, source_endpoint=None, target_endpoint=None, p self._target_endpoint = None self._period_order = None self._node_info = None + self._public_ip_list = None self.discriminator = None self.base_info = base_info @@ -64,6 +69,8 @@ def __init__(self, base_info=None, source_endpoint=None, target_endpoint=None, p if period_order is not None: self.period_order = period_order self.node_info = node_info + if public_ip_list is not None: + self.public_ip_list = public_ip_list @property def base_info(self): @@ -163,6 +170,28 @@ def node_info(self, node_info): """ self._node_info = node_info + @property + def public_ip_list(self): + """Gets the public_ip_list of this CreateJobReq. + + 指定公网IP的信息 + + :return: The public_ip_list of this CreateJobReq. + :rtype: list[:class:`huaweicloudsdkdrs.v5.PublicIpConfig`] + """ + return self._public_ip_list + + @public_ip_list.setter + def public_ip_list(self, public_ip_list): + """Sets the public_ip_list of this CreateJobReq. + + 指定公网IP的信息 + + :param public_ip_list: The public_ip_list of this CreateJobReq. + :type public_ip_list: list[:class:`huaweicloudsdkdrs.v5.PublicIpConfig`] + """ + self._public_ip_list = public_ip_list + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/customer_managed_policy_reference_dto.py b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/failed_to_bind_eip_child_info.py similarity index 65% rename from huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/customer_managed_policy_reference_dto.py rename to huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/failed_to_bind_eip_child_info.py index 3842516f12..95e1a66e65 100644 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/customer_managed_policy_reference_dto.py +++ b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/failed_to_bind_eip_child_info.py @@ -5,7 +5,7 @@ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class CustomerManagedPolicyReferenceDto: +class FailedToBindEipChildInfo: """ Attributes: @@ -17,79 +17,80 @@ class CustomerManagedPolicyReferenceDto: sensitive_list = [] openapi_types = { - 'name': 'str', - 'path': 'str' + 'id': 'str', + 'name': 'str' } attribute_map = { - 'name': 'name', - 'path': 'path' + 'id': 'id', + 'name': 'name' } - def __init__(self, name=None, path=None): - """CustomerManagedPolicyReferenceDto + def __init__(self, id=None, name=None): + """FailedToBindEipChildInfo The model defined in huaweicloud sdk - :param name: IAM策略名称. + :param id: 子任务ID + :type id: str + :param name: 子任务名称 :type name: str - :param path: IAM策略路径,默认值/. - :type path: str """ + self._id = None self._name = None - self._path = None self.discriminator = None - self.name = name - if path is not None: - self.path = path + if id is not None: + self.id = id + if name is not None: + self.name = name @property - def name(self): - """Gets the name of this CustomerManagedPolicyReferenceDto. + def id(self): + """Gets the id of this FailedToBindEipChildInfo. - IAM策略名称. + 子任务ID - :return: The name of this CustomerManagedPolicyReferenceDto. + :return: The id of this FailedToBindEipChildInfo. :rtype: str """ - return self._name + return self._id - @name.setter - def name(self, name): - """Sets the name of this CustomerManagedPolicyReferenceDto. + @id.setter + def id(self, id): + """Sets the id of this FailedToBindEipChildInfo. - IAM策略名称. + 子任务ID - :param name: The name of this CustomerManagedPolicyReferenceDto. - :type name: str + :param id: The id of this FailedToBindEipChildInfo. + :type id: str """ - self._name = name + self._id = id @property - def path(self): - """Gets the path of this CustomerManagedPolicyReferenceDto. + def name(self): + """Gets the name of this FailedToBindEipChildInfo. - IAM策略路径,默认值/. + 子任务名称 - :return: The path of this CustomerManagedPolicyReferenceDto. + :return: The name of this FailedToBindEipChildInfo. :rtype: str """ - return self._path + return self._name - @path.setter - def path(self, path): - """Sets the path of this CustomerManagedPolicyReferenceDto. + @name.setter + def name(self, name): + """Sets the name of this FailedToBindEipChildInfo. - IAM策略路径,默认值/. + 子任务名称 - :param path: The path of this CustomerManagedPolicyReferenceDto. - :type path: str + :param name: The name of this FailedToBindEipChildInfo. + :type name: str """ - self._path = path + self._name = name def to_dict(self): """Returns the model properties as a dict""" @@ -133,7 +134,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, CustomerManagedPolicyReferenceDto): + if not isinstance(other, FailedToBindEipChildInfo): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/job_detail_resp.py b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/job_detail_resp.py index 42710f82fa..c66d704585 100644 --- a/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/job_detail_resp.py +++ b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/job_detail_resp.py @@ -43,7 +43,10 @@ class JobDetailResp: 'support_import_file_resp': 'SupportImportFileResult', 'instance_features': 'dict(str, str)', 'task_version': 'str', - 'connection_management': 'ConnectionManagement' + 'connection_management': 'ConnectionManagement', + 'public_ip_list': 'list[PublicIpConfig]', + 'bind_public_ip_state': 'str', + 'children': 'list[FailedToBindEipChildInfo]' } attribute_map = { @@ -73,10 +76,13 @@ class JobDetailResp: 'support_import_file_resp': 'support_import_file_resp', 'instance_features': 'instance_features', 'task_version': 'task_version', - 'connection_management': 'connection_management' + 'connection_management': 'connection_management', + 'public_ip_list': 'public_ip_list', + 'bind_public_ip_state': 'bind_public_ip_state', + 'children': 'children' } - def __init__(self, id=None, status=None, create_time=None, total_count=None, master_job_id=None, base_info=None, source_endpoint=None, target_endpoint=None, alarm_notify=None, speed_limit=None, user_migration=None, policy_config=None, db_param=None, tuning_params=None, period_order=None, node_info=None, logs=None, network_results=None, precheck_result=None, progress_info=None, migration_object_progress_info=None, metrics=None, compare_result=None, support_import_file_resp=None, instance_features=None, task_version=None, connection_management=None): + def __init__(self, id=None, status=None, create_time=None, total_count=None, master_job_id=None, base_info=None, source_endpoint=None, target_endpoint=None, alarm_notify=None, speed_limit=None, user_migration=None, policy_config=None, db_param=None, tuning_params=None, period_order=None, node_info=None, logs=None, network_results=None, precheck_result=None, progress_info=None, migration_object_progress_info=None, metrics=None, compare_result=None, support_import_file_resp=None, instance_features=None, task_version=None, connection_management=None, public_ip_list=None, bind_public_ip_state=None, children=None): """JobDetailResp The model defined in huaweicloud sdk @@ -135,6 +141,12 @@ def __init__(self, id=None, status=None, create_time=None, total_count=None, mas :type task_version: str :param connection_management: :type connection_management: :class:`huaweicloudsdkdrs.v5.ConnectionManagement` + :param public_ip_list: 指定公网IP的信息 + :type public_ip_list: list[:class:`huaweicloudsdkdrs.v5.PublicIpConfig`] + :param bind_public_ip_state: 是否成功绑定公网IP + :type bind_public_ip_state: str + :param children: 多任务时,存在子任务绑定失败时,返回子任务的信息 + :type children: list[:class:`huaweicloudsdkdrs.v5.FailedToBindEipChildInfo`] """ @@ -166,6 +178,9 @@ def __init__(self, id=None, status=None, create_time=None, total_count=None, mas self._instance_features = None self._task_version = None self._connection_management = None + self._public_ip_list = None + self._bind_public_ip_state = None + self._children = None self.discriminator = None if id is not None: @@ -222,6 +237,12 @@ def __init__(self, id=None, status=None, create_time=None, total_count=None, mas self.task_version = task_version if connection_management is not None: self.connection_management = connection_management + if public_ip_list is not None: + self.public_ip_list = public_ip_list + if bind_public_ip_state is not None: + self.bind_public_ip_state = bind_public_ip_state + if children is not None: + self.children = children @property def id(self): @@ -757,6 +778,72 @@ def connection_management(self, connection_management): """ self._connection_management = connection_management + @property + def public_ip_list(self): + """Gets the public_ip_list of this JobDetailResp. + + 指定公网IP的信息 + + :return: The public_ip_list of this JobDetailResp. + :rtype: list[:class:`huaweicloudsdkdrs.v5.PublicIpConfig`] + """ + return self._public_ip_list + + @public_ip_list.setter + def public_ip_list(self, public_ip_list): + """Sets the public_ip_list of this JobDetailResp. + + 指定公网IP的信息 + + :param public_ip_list: The public_ip_list of this JobDetailResp. + :type public_ip_list: list[:class:`huaweicloudsdkdrs.v5.PublicIpConfig`] + """ + self._public_ip_list = public_ip_list + + @property + def bind_public_ip_state(self): + """Gets the bind_public_ip_state of this JobDetailResp. + + 是否成功绑定公网IP + + :return: The bind_public_ip_state of this JobDetailResp. + :rtype: str + """ + return self._bind_public_ip_state + + @bind_public_ip_state.setter + def bind_public_ip_state(self, bind_public_ip_state): + """Sets the bind_public_ip_state of this JobDetailResp. + + 是否成功绑定公网IP + + :param bind_public_ip_state: The bind_public_ip_state of this JobDetailResp. + :type bind_public_ip_state: str + """ + self._bind_public_ip_state = bind_public_ip_state + + @property + def children(self): + """Gets the children of this JobDetailResp. + + 多任务时,存在子任务绑定失败时,返回子任务的信息 + + :return: The children of this JobDetailResp. + :rtype: list[:class:`huaweicloudsdkdrs.v5.FailedToBindEipChildInfo`] + """ + return self._children + + @children.setter + def children(self, children): + """Sets the children of this JobDetailResp. + + 多任务时,存在子任务绑定失败时,返回子任务的信息 + + :param children: The children of this JobDetailResp. + :type children: list[:class:`huaweicloudsdkdrs.v5.FailedToBindEipChildInfo`] + """ + self._children = children + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/job_node_vpc_info.py b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/job_node_vpc_info.py index d2c0c40b1f..ed66ec1763 100644 --- a/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/job_node_vpc_info.py +++ b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/job_node_vpc_info.py @@ -39,7 +39,7 @@ def __init__(self, vpc_id=None, subnet_id=None, custom_node_ip=None, security_gr :type vpc_id: str :param subnet_id: 任务实例所在子网ID。 :type subnet_id: str - :param custom_node_ip: 指定创建任务实例IP地址,多个IP端口之间请用“,”英文逗号分隔,目前仅支持设置IPv4地址,获取方法如下: - 方法1:登录虚拟私有云服务的控制台界面,单击VPC下的子网,进入子网详情页面,查找子网的网段,选择未被占用的IP 。 - 方法2:通过虚拟私有云服务的API接口查询,具体操作可参考查询私有IP列表,选择“device_owner”为空的私有IP。 示例: \"192.168.0.10,192.168.0.11\" + :param custom_node_ip: 指定创建任务实例IP地址,多个IP端口之间请用“,”英文逗号分隔,目前仅支持设置IPv4地址,获取方法如下: - 方法1:登录虚拟私有云服务的控制台界面,单击VPC下的子网,进入子网详情页面,查找子网的网段,选择未被占用的IP 。 - 方法2:通过虚拟私有云服务的API接口查询,具体操作可参考查询私有IP列表,选择“device_owner”为空的私有IP。 :type custom_node_ip: str :param security_group_id: 任务实例所在的安全组ID。 :type security_group_id: str @@ -108,7 +108,7 @@ def subnet_id(self, subnet_id): def custom_node_ip(self): """Gets the custom_node_ip of this JobNodeVpcInfo. - 指定创建任务实例IP地址,多个IP端口之间请用“,”英文逗号分隔,目前仅支持设置IPv4地址,获取方法如下: - 方法1:登录虚拟私有云服务的控制台界面,单击VPC下的子网,进入子网详情页面,查找子网的网段,选择未被占用的IP 。 - 方法2:通过虚拟私有云服务的API接口查询,具体操作可参考查询私有IP列表,选择“device_owner”为空的私有IP。 示例: \"192.168.0.10,192.168.0.11\" + 指定创建任务实例IP地址,多个IP端口之间请用“,”英文逗号分隔,目前仅支持设置IPv4地址,获取方法如下: - 方法1:登录虚拟私有云服务的控制台界面,单击VPC下的子网,进入子网详情页面,查找子网的网段,选择未被占用的IP 。 - 方法2:通过虚拟私有云服务的API接口查询,具体操作可参考查询私有IP列表,选择“device_owner”为空的私有IP。 :return: The custom_node_ip of this JobNodeVpcInfo. :rtype: str @@ -119,7 +119,7 @@ def custom_node_ip(self): def custom_node_ip(self, custom_node_ip): """Sets the custom_node_ip of this JobNodeVpcInfo. - 指定创建任务实例IP地址,多个IP端口之间请用“,”英文逗号分隔,目前仅支持设置IPv4地址,获取方法如下: - 方法1:登录虚拟私有云服务的控制台界面,单击VPC下的子网,进入子网详情页面,查找子网的网段,选择未被占用的IP 。 - 方法2:通过虚拟私有云服务的API接口查询,具体操作可参考查询私有IP列表,选择“device_owner”为空的私有IP。 示例: \"192.168.0.10,192.168.0.11\" + 指定创建任务实例IP地址,多个IP端口之间请用“,”英文逗号分隔,目前仅支持设置IPv4地址,获取方法如下: - 方法1:登录虚拟私有云服务的控制台界面,单击VPC下的子网,进入子网详情页面,查找子网的网段,选择未被占用的IP 。 - 方法2:通过虚拟私有云服务的API接口查询,具体操作可参考查询私有IP列表,选择“device_owner”为空的私有IP。 :param custom_node_ip: The custom_node_ip of this JobNodeVpcInfo. :type custom_node_ip: str diff --git a/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/public_ip_config.py b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/public_ip_config.py new file mode 100644 index 0000000000..7b5e614905 --- /dev/null +++ b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/public_ip_config.py @@ -0,0 +1,170 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class PublicIpConfig: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'id': 'str', + 'public_ip': 'str', + 'type': 'str' + } + + attribute_map = { + 'id': 'id', + 'public_ip': 'public_ip', + 'type': 'type' + } + + def __init__(self, id=None, public_ip=None, type=None): + """PublicIpConfig + + The model defined in huaweicloud sdk + + :param id: 指定公网IP的ID + :type id: str + :param public_ip: 指定公网IP + :type public_ip: str + :param type: 指定公网IP绑定任务的类型: - 主备任务:主是master,备是slave - 其他固定为master + :type type: str + """ + + + + self._id = None + self._public_ip = None + self._type = None + self.discriminator = None + + self.id = id + self.public_ip = public_ip + self.type = type + + @property + def id(self): + """Gets the id of this PublicIpConfig. + + 指定公网IP的ID + + :return: The id of this PublicIpConfig. + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this PublicIpConfig. + + 指定公网IP的ID + + :param id: The id of this PublicIpConfig. + :type id: str + """ + self._id = id + + @property + def public_ip(self): + """Gets the public_ip of this PublicIpConfig. + + 指定公网IP + + :return: The public_ip of this PublicIpConfig. + :rtype: str + """ + return self._public_ip + + @public_ip.setter + def public_ip(self, public_ip): + """Sets the public_ip of this PublicIpConfig. + + 指定公网IP + + :param public_ip: The public_ip of this PublicIpConfig. + :type public_ip: str + """ + self._public_ip = public_ip + + @property + def type(self): + """Gets the type of this PublicIpConfig. + + 指定公网IP绑定任务的类型: - 主备任务:主是master,备是slave - 其他固定为master + + :return: The type of this PublicIpConfig. + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this PublicIpConfig. + + 指定公网IP绑定任务的类型: - 主备任务:主是master,备是slave - 其他固定为master + + :param type: The type of this PublicIpConfig. + :type type: str + """ + self._type = type + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, PublicIpConfig): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/show_data_processing_rules_result_response.py b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/show_data_processing_rules_result_response.py index 0f29fe9730..554a5a3137 100644 --- a/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/show_data_processing_rules_result_response.py +++ b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/show_data_processing_rules_result_response.py @@ -19,15 +19,17 @@ class ShowDataProcessingRulesResultResponse(SdkResponse): openapi_types = { 'id': 'str', - 'status': 'str' + 'status': 'str', + 'job_id': 'str' } attribute_map = { 'id': 'id', - 'status': 'status' + 'status': 'status', + 'job_id': 'job_id' } - def __init__(self, id=None, status=None): + def __init__(self, id=None, status=None, job_id=None): """ShowDataProcessingRulesResultResponse The model defined in huaweicloud sdk @@ -36,18 +38,23 @@ def __init__(self, id=None, status=None): :type id: str :param status: 查询状态 :type status: str + :param job_id: 任务ID + :type job_id: str """ super(ShowDataProcessingRulesResultResponse, self).__init__() self._id = None self._status = None + self._job_id = None self.discriminator = None if id is not None: self.id = id if status is not None: self.status = status + if job_id is not None: + self.job_id = job_id @property def id(self): @@ -93,6 +100,28 @@ def status(self, status): """ self._status = status + @property + def job_id(self): + """Gets the job_id of this ShowDataProcessingRulesResultResponse. + + 任务ID + + :return: The job_id of this ShowDataProcessingRulesResultResponse. + :rtype: str + """ + return self._job_id + + @job_id.setter + def job_id(self, job_id): + """Sets the job_id of this ShowDataProcessingRulesResultResponse. + + 任务ID + + :param job_id: The job_id of this ShowDataProcessingRulesResultResponse. + :type job_id: str + """ + self._job_id = job_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/show_update_object_saving_status_response.py b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/show_update_object_saving_status_response.py index e407dbb700..429a6231a2 100644 --- a/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/show_update_object_saving_status_response.py +++ b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/show_update_object_saving_status_response.py @@ -19,15 +19,17 @@ class ShowUpdateObjectSavingStatusResponse(SdkResponse): openapi_types = { 'id': 'str', - 'status': 'str' + 'status': 'str', + 'job_id': 'str' } attribute_map = { 'id': 'id', - 'status': 'status' + 'status': 'status', + 'job_id': 'job_id' } - def __init__(self, id=None, status=None): + def __init__(self, id=None, status=None, job_id=None): """ShowUpdateObjectSavingStatusResponse The model defined in huaweicloud sdk @@ -36,18 +38,23 @@ def __init__(self, id=None, status=None): :type id: str :param status: 查询状态 :type status: str + :param job_id: 任务ID + :type job_id: str """ super(ShowUpdateObjectSavingStatusResponse, self).__init__() self._id = None self._status = None + self._job_id = None self.discriminator = None if id is not None: self.id = id if status is not None: self.status = status + if job_id is not None: + self.job_id = job_id @property def id(self): @@ -93,6 +100,28 @@ def status(self, status): """ self._status = status + @property + def job_id(self): + """Gets the job_id of this ShowUpdateObjectSavingStatusResponse. + + 任务ID + + :return: The job_id of this ShowUpdateObjectSavingStatusResponse. + :rtype: str + """ + return self._job_id + + @job_id.setter + def job_id(self, job_id): + """Sets the job_id of this ShowUpdateObjectSavingStatusResponse. + + 任务ID + + :param job_id: The job_id of this ShowUpdateObjectSavingStatusResponse. + :type job_id: str + """ + self._job_id = job_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/update_data_progress_response.py b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/update_data_progress_response.py index 6d7a2606d6..ffdf832d50 100644 --- a/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/update_data_progress_response.py +++ b/huaweicloud-sdk-drs/huaweicloudsdkdrs/v5/model/update_data_progress_response.py @@ -19,15 +19,17 @@ class UpdateDataProgressResponse(SdkResponse): openapi_types = { 'id': 'str', - 'status': 'str' + 'status': 'str', + 'job_id': 'str' } attribute_map = { 'id': 'id', - 'status': 'status' + 'status': 'status', + 'job_id': 'job_id' } - def __init__(self, id=None, status=None): + def __init__(self, id=None, status=None, job_id=None): """UpdateDataProgressResponse The model defined in huaweicloud sdk @@ -36,18 +38,23 @@ def __init__(self, id=None, status=None): :type id: str :param status: 查询状态 :type status: str + :param job_id: 任务ID + :type job_id: str """ super(UpdateDataProgressResponse, self).__init__() self._id = None self._status = None + self._job_id = None self.discriminator = None if id is not None: self.id = id if status is not None: self.status = status + if job_id is not None: + self.job_id = job_id @property def id(self): @@ -93,6 +100,28 @@ def status(self, status): """ self._status = status + @property + def job_id(self): + """Gets the job_id of this UpdateDataProgressResponse. + + 任务ID + + :return: The job_id of this UpdateDataProgressResponse. + :rtype: str + """ + return self._job_id + + @job_id.setter + def job_id(self, job_id): + """Sets the job_id of this UpdateDataProgressResponse. + + 任务ID + + :param job_id: The job_id of this UpdateDataProgressResponse. + :type job_id: str + """ + self._job_id = job_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-drs/requirements.txt b/huaweicloud-sdk-drs/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-drs/requirements.txt +++ b/huaweicloud-sdk-drs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-drs/setup.py b/huaweicloud-sdk-drs/setup.py index 40a1bd5360..666d3c55ae 100644 --- a/huaweicloud-sdk-drs/setup.py +++ b/huaweicloud-sdk-drs/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkdrs" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dsc/requirements.txt b/huaweicloud-sdk-dsc/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-dsc/requirements.txt +++ b/huaweicloud-sdk-dsc/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-dsc/setup.py b/huaweicloud-sdk-dsc/setup.py index 1233e96ee0..275f757c6c 100644 --- a/huaweicloud-sdk-dsc/setup.py +++ b/huaweicloud-sdk-dsc/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkdsc" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dwr/requirements.txt b/huaweicloud-sdk-dwr/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-dwr/requirements.txt +++ b/huaweicloud-sdk-dwr/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-dwr/setup.py b/huaweicloud-sdk-dwr/setup.py index 7fcb054300..47eb5ba78d 100644 --- a/huaweicloud-sdk-dwr/setup.py +++ b/huaweicloud-sdk-dwr/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkdwr" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dws/huaweicloudsdkdws/v2/__init__.py b/huaweicloud-sdk-dws/huaweicloudsdkdws/v2/__init__.py index 6f17d7179e..6e00939122 100644 --- a/huaweicloud-sdk-dws/huaweicloudsdkdws/v2/__init__.py +++ b/huaweicloud-sdk-dws/huaweicloudsdkdws/v2/__init__.py @@ -63,6 +63,7 @@ from huaweicloudsdkdws.v2.model.cluster_elb_info import ClusterElbInfo from huaweicloudsdkdws.v2.model.cluster_flavor_resp import ClusterFlavorResp from huaweicloudsdkdws.v2.model.cluster_info import ClusterInfo +from huaweicloudsdkdws.v2.model.cluster_metric import ClusterMetric from huaweicloudsdkdws.v2.model.cluster_node_info import ClusterNodeInfo from huaweicloudsdkdws.v2.model.cluster_recovery_progress import ClusterRecoveryProgress from huaweicloudsdkdws.v2.model.cluster_ring import ClusterRing @@ -270,6 +271,10 @@ from huaweicloudsdkdws.v2.model.list_logical_clusters_response import ListLogicalClustersResponse from huaweicloudsdkdws.v2.model.list_lts_logs_request import ListLtsLogsRequest from huaweicloudsdkdws.v2.model.list_lts_logs_response import ListLtsLogsResponse +from huaweicloudsdkdws.v2.model.list_metrics_data_request import ListMetricsDataRequest +from huaweicloudsdkdws.v2.model.list_metrics_data_response import ListMetricsDataResponse +from huaweicloudsdkdws.v2.model.list_metrics_request import ListMetricsRequest +from huaweicloudsdkdws.v2.model.list_metrics_response import ListMetricsResponse from huaweicloudsdkdws.v2.model.list_monitor_indicator_data_request import ListMonitorIndicatorDataRequest from huaweicloudsdkdws.v2.model.list_monitor_indicator_data_response import ListMonitorIndicatorDataResponse from huaweicloudsdkdws.v2.model.list_monitor_indicators_request import ListMonitorIndicatorsRequest @@ -420,6 +425,7 @@ from huaweicloudsdkdws.v2.model.show_workload_queue_response import ShowWorkloadQueueResponse from huaweicloudsdkdws.v2.model.shrink_cluster_request import ShrinkClusterRequest from huaweicloudsdkdws.v2.model.shrink_cluster_response import ShrinkClusterResponse +from huaweicloudsdkdws.v2.model.simple_field_dto import SimpleFieldDto from huaweicloudsdkdws.v2.model.snapshot import Snapshot from huaweicloudsdkdws.v2.model.snapshot_detail import SnapshotDetail from huaweicloudsdkdws.v2.model.snapshot_region import SnapshotRegion diff --git a/huaweicloud-sdk-dws/huaweicloudsdkdws/v2/dws_async_client.py b/huaweicloud-sdk-dws/huaweicloudsdkdws/v2/dws_async_client.py index 04ca1bcc3f..f2be339a7b 100644 --- a/huaweicloud-sdk-dws/huaweicloudsdkdws/v2/dws_async_client.py +++ b/huaweicloud-sdk-dws/huaweicloudsdkdws/v2/dws_async_client.py @@ -5914,6 +5914,158 @@ def _list_lts_logs_http_info(self, request): return http_info + def list_metrics_async(self, request): + """查询集群使用指标列表 + + 查询集群使用指标列表 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for ListMetrics + :type request: :class:`huaweicloudsdkdws.v2.ListMetricsRequest` + :rtype: :class:`huaweicloudsdkdws.v2.ListMetricsResponse` + """ + http_info = self._list_metrics_http_info(request) + return self._call_api(**http_info) + + def list_metrics_async_invoker(self, request): + http_info = self._list_metrics_http_info(request) + return AsyncInvoker(self, http_info) + + def _list_metrics_http_info(self, request): + http_info = { + "method": "GET", + "resource_path": "/v1/{project_id}/clusters/{cluster_id}/dms/metrics", + "request_type": request.__class__.__name__, + "response_type": "ListMetricsResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'cluster_id' in local_var_params: + path_params['cluster_id'] = local_var_params['cluster_id'] + + query_params = [] + if 'offset' in local_var_params: + query_params.append(('offset', local_var_params['offset'])) + if 'limit' in local_var_params: + query_params.append(('limit', local_var_params['limit'])) + if 'order_by' in local_var_params: + query_params.append(('order_by', local_var_params['order_by'])) + if 'sort_by' in local_var_params: + query_params.append(('sort_by', local_var_params['sort_by'])) + + header_params = {} + + form_params = {} + + body = None + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = [] + + header_params['Content-Type'] = http_utils.select_header_content_type( + ['application/json']) + + auth_settings = [] + + http_info["cname"] = cname + http_info["collection_formats"] = collection_formats + http_info["path_params"] = path_params + http_info["query_params"] = query_params + http_info["header_params"] = header_params + http_info["post_params"] = form_params + http_info["body"] = body + http_info["response_headers"] = response_headers + + return http_info + + def list_metrics_data_async(self, request): + """获取指定指标相关采集数据 + + 获取指定指标相关采集数据 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for ListMetricsData + :type request: :class:`huaweicloudsdkdws.v2.ListMetricsDataRequest` + :rtype: :class:`huaweicloudsdkdws.v2.ListMetricsDataResponse` + """ + http_info = self._list_metrics_data_http_info(request) + return self._call_api(**http_info) + + def list_metrics_data_async_invoker(self, request): + http_info = self._list_metrics_data_http_info(request) + return AsyncInvoker(self, http_info) + + def _list_metrics_data_http_info(self, request): + http_info = { + "method": "GET", + "resource_path": "/v1/{project_id}/clusters/{cluster_id}/dms/metrics/{metric_name}", + "request_type": request.__class__.__name__, + "response_type": "ListMetricsDataResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'cluster_id' in local_var_params: + path_params['cluster_id'] = local_var_params['cluster_id'] + if 'metric_name' in local_var_params: + path_params['metric_name'] = local_var_params['metric_name'] + + query_params = [] + if 'offset' in local_var_params: + query_params.append(('offset', local_var_params['offset'])) + if 'limit' in local_var_params: + query_params.append(('limit', local_var_params['limit'])) + if '_from' in local_var_params: + query_params.append(('from', local_var_params['_from'])) + if 'to' in local_var_params: + query_params.append(('to', local_var_params['to'])) + if 'order_by' in local_var_params: + query_params.append(('order_by', local_var_params['order_by'])) + if 'sort_by' in local_var_params: + query_params.append(('sort_by', local_var_params['sort_by'])) + + header_params = {} + + form_params = {} + + body = None + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = [] + + header_params['Content-Type'] = http_utils.select_header_content_type( + ['application/json']) + + auth_settings = [] + + http_info["cname"] = cname + http_info["collection_formats"] = collection_formats + http_info["path_params"] = path_params + http_info["query_params"] = query_params + http_info["header_params"] = header_params + http_info["post_params"] = form_params + http_info["body"] = body + http_info["response_headers"] = response_headers + + return http_info + def list_monitor_indicator_data_async(self, request): """openApi查询历史监控数据 diff --git a/huaweicloud-sdk-dws/huaweicloudsdkdws/v2/dws_client.py b/huaweicloud-sdk-dws/huaweicloudsdkdws/v2/dws_client.py index 4a0f06c185..8e51cd4583 100644 --- a/huaweicloud-sdk-dws/huaweicloudsdkdws/v2/dws_client.py +++ b/huaweicloud-sdk-dws/huaweicloudsdkdws/v2/dws_client.py @@ -5914,6 +5914,158 @@ def _list_lts_logs_http_info(cls, request): return http_info + def list_metrics(self, request): + """查询集群使用指标列表 + + 查询集群使用指标列表 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for ListMetrics + :type request: :class:`huaweicloudsdkdws.v2.ListMetricsRequest` + :rtype: :class:`huaweicloudsdkdws.v2.ListMetricsResponse` + """ + http_info = self._list_metrics_http_info(request) + return self._call_api(**http_info) + + def list_metrics_invoker(self, request): + http_info = self._list_metrics_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _list_metrics_http_info(cls, request): + http_info = { + "method": "GET", + "resource_path": "/v1/{project_id}/clusters/{cluster_id}/dms/metrics", + "request_type": request.__class__.__name__, + "response_type": "ListMetricsResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'cluster_id' in local_var_params: + path_params['cluster_id'] = local_var_params['cluster_id'] + + query_params = [] + if 'offset' in local_var_params: + query_params.append(('offset', local_var_params['offset'])) + if 'limit' in local_var_params: + query_params.append(('limit', local_var_params['limit'])) + if 'order_by' in local_var_params: + query_params.append(('order_by', local_var_params['order_by'])) + if 'sort_by' in local_var_params: + query_params.append(('sort_by', local_var_params['sort_by'])) + + header_params = {} + + form_params = {} + + body = None + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = [] + + header_params['Content-Type'] = http_utils.select_header_content_type( + ['application/json']) + + auth_settings = [] + + http_info["cname"] = cname + http_info["collection_formats"] = collection_formats + http_info["path_params"] = path_params + http_info["query_params"] = query_params + http_info["header_params"] = header_params + http_info["post_params"] = form_params + http_info["body"] = body + http_info["response_headers"] = response_headers + + return http_info + + def list_metrics_data(self, request): + """获取指定指标相关采集数据 + + 获取指定指标相关采集数据 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for ListMetricsData + :type request: :class:`huaweicloudsdkdws.v2.ListMetricsDataRequest` + :rtype: :class:`huaweicloudsdkdws.v2.ListMetricsDataResponse` + """ + http_info = self._list_metrics_data_http_info(request) + return self._call_api(**http_info) + + def list_metrics_data_invoker(self, request): + http_info = self._list_metrics_data_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _list_metrics_data_http_info(cls, request): + http_info = { + "method": "GET", + "resource_path": "/v1/{project_id}/clusters/{cluster_id}/dms/metrics/{metric_name}", + "request_type": request.__class__.__name__, + "response_type": "ListMetricsDataResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'cluster_id' in local_var_params: + path_params['cluster_id'] = local_var_params['cluster_id'] + if 'metric_name' in local_var_params: + path_params['metric_name'] = local_var_params['metric_name'] + + query_params = [] + if 'offset' in local_var_params: + query_params.append(('offset', local_var_params['offset'])) + if 'limit' in local_var_params: + query_params.append(('limit', local_var_params['limit'])) + if '_from' in local_var_params: + query_params.append(('from', local_var_params['_from'])) + if 'to' in local_var_params: + query_params.append(('to', local_var_params['to'])) + if 'order_by' in local_var_params: + query_params.append(('order_by', local_var_params['order_by'])) + if 'sort_by' in local_var_params: + query_params.append(('sort_by', local_var_params['sort_by'])) + + header_params = {} + + form_params = {} + + body = None + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = [] + + header_params['Content-Type'] = http_utils.select_header_content_type( + ['application/json']) + + auth_settings = [] + + http_info["cname"] = cname + http_info["collection_formats"] = collection_formats + http_info["path_params"] = path_params + http_info["query_params"] = query_params + http_info["header_params"] = header_params + http_info["post_params"] = form_params + http_info["body"] = body + http_info["response_headers"] = response_headers + + return http_info + def list_monitor_indicator_data(self, request): """openApi查询历史监控数据 diff --git a/huaweicloud-sdk-dws/huaweicloudsdkdws/v2/model/__init__.py b/huaweicloud-sdk-dws/huaweicloudsdkdws/v2/model/__init__.py index d50f09e1dd..fe9c3bf279 100644 --- a/huaweicloud-sdk-dws/huaweicloudsdkdws/v2/model/__init__.py +++ b/huaweicloud-sdk-dws/huaweicloudsdkdws/v2/model/__init__.py @@ -61,6 +61,7 @@ from huaweicloudsdkdws.v2.model.cluster_elb_info import ClusterElbInfo from huaweicloudsdkdws.v2.model.cluster_flavor_resp import ClusterFlavorResp from huaweicloudsdkdws.v2.model.cluster_info import ClusterInfo +from huaweicloudsdkdws.v2.model.cluster_metric import ClusterMetric from huaweicloudsdkdws.v2.model.cluster_node_info import ClusterNodeInfo from huaweicloudsdkdws.v2.model.cluster_recovery_progress import ClusterRecoveryProgress from huaweicloudsdkdws.v2.model.cluster_ring import ClusterRing @@ -268,6 +269,10 @@ from huaweicloudsdkdws.v2.model.list_logical_clusters_response import ListLogicalClustersResponse from huaweicloudsdkdws.v2.model.list_lts_logs_request import ListLtsLogsRequest from huaweicloudsdkdws.v2.model.list_lts_logs_response import ListLtsLogsResponse +from huaweicloudsdkdws.v2.model.list_metrics_data_request import ListMetricsDataRequest +from huaweicloudsdkdws.v2.model.list_metrics_data_response import ListMetricsDataResponse +from huaweicloudsdkdws.v2.model.list_metrics_request import ListMetricsRequest +from huaweicloudsdkdws.v2.model.list_metrics_response import ListMetricsResponse from huaweicloudsdkdws.v2.model.list_monitor_indicator_data_request import ListMonitorIndicatorDataRequest from huaweicloudsdkdws.v2.model.list_monitor_indicator_data_response import ListMonitorIndicatorDataResponse from huaweicloudsdkdws.v2.model.list_monitor_indicators_request import ListMonitorIndicatorsRequest @@ -418,6 +423,7 @@ from huaweicloudsdkdws.v2.model.show_workload_queue_response import ShowWorkloadQueueResponse from huaweicloudsdkdws.v2.model.shrink_cluster_request import ShrinkClusterRequest from huaweicloudsdkdws.v2.model.shrink_cluster_response import ShrinkClusterResponse +from huaweicloudsdkdws.v2.model.simple_field_dto import SimpleFieldDto from huaweicloudsdkdws.v2.model.snapshot import Snapshot from huaweicloudsdkdws.v2.model.snapshot_detail import SnapshotDetail from huaweicloudsdkdws.v2.model.snapshot_region import SnapshotRegion diff --git a/huaweicloud-sdk-dws/huaweicloudsdkdws/v2/model/cluster_metric.py b/huaweicloud-sdk-dws/huaweicloudsdkdws/v2/model/cluster_metric.py new file mode 100644 index 0000000000..6c401aef35 --- /dev/null +++ b/huaweicloud-sdk-dws/huaweicloudsdkdws/v2/model/cluster_metric.py @@ -0,0 +1,260 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ClusterMetric: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'scope': 'str', + 'fields': 'list[SimpleFieldDto]', + 'metric_name': 'str', + 'collect_rate': 'int', + 'collect_range': 'list[str]', + 'create_time': 'str' + } + + attribute_map = { + 'scope': 'scope', + 'fields': 'fields', + 'metric_name': 'metric_name', + 'collect_rate': 'collect_rate', + 'collect_range': 'collect_range', + 'create_time': 'create_time' + } + + def __init__(self, scope=None, fields=None, metric_name=None, collect_rate=None, collect_range=None, create_time=None): + """ClusterMetric + + The model defined in huaweicloud sdk + + :param scope: 指标名称。 + :type scope: str + :param fields: 指标表相关字段信息。 + :type fields: list[:class:`huaweicloudsdkdws.v2.SimpleFieldDto`] + :param metric_name: 作用域。 + :type metric_name: str + :param collect_rate: 采集速率。 + :type collect_rate: int + :param collect_range: 采集时间范围。 + :type collect_range: list[str] + :param create_time: 创建时间。 + :type create_time: str + """ + + + + self._scope = None + self._fields = None + self._metric_name = None + self._collect_rate = None + self._collect_range = None + self._create_time = None + self.discriminator = None + + if scope is not None: + self.scope = scope + if fields is not None: + self.fields = fields + if metric_name is not None: + self.metric_name = metric_name + if collect_rate is not None: + self.collect_rate = collect_rate + if collect_range is not None: + self.collect_range = collect_range + if create_time is not None: + self.create_time = create_time + + @property + def scope(self): + """Gets the scope of this ClusterMetric. + + 指标名称。 + + :return: The scope of this ClusterMetric. + :rtype: str + """ + return self._scope + + @scope.setter + def scope(self, scope): + """Sets the scope of this ClusterMetric. + + 指标名称。 + + :param scope: The scope of this ClusterMetric. + :type scope: str + """ + self._scope = scope + + @property + def fields(self): + """Gets the fields of this ClusterMetric. + + 指标表相关字段信息。 + + :return: The fields of this ClusterMetric. + :rtype: list[:class:`huaweicloudsdkdws.v2.SimpleFieldDto`] + """ + return self._fields + + @fields.setter + def fields(self, fields): + """Sets the fields of this ClusterMetric. + + 指标表相关字段信息。 + + :param fields: The fields of this ClusterMetric. + :type fields: list[:class:`huaweicloudsdkdws.v2.SimpleFieldDto`] + """ + self._fields = fields + + @property + def metric_name(self): + """Gets the metric_name of this ClusterMetric. + + 作用域。 + + :return: The metric_name of this ClusterMetric. + :rtype: str + """ + return self._metric_name + + @metric_name.setter + def metric_name(self, metric_name): + """Sets the metric_name of this ClusterMetric. + + 作用域。 + + :param metric_name: The metric_name of this ClusterMetric. + :type metric_name: str + """ + self._metric_name = metric_name + + @property + def collect_rate(self): + """Gets the collect_rate of this ClusterMetric. + + 采集速率。 + + :return: The collect_rate of this ClusterMetric. + :rtype: int + """ + return self._collect_rate + + @collect_rate.setter + def collect_rate(self, collect_rate): + """Sets the collect_rate of this ClusterMetric. + + 采集速率。 + + :param collect_rate: The collect_rate of this ClusterMetric. + :type collect_rate: int + """ + self._collect_rate = collect_rate + + @property + def collect_range(self): + """Gets the collect_range of this ClusterMetric. + + 采集时间范围。 + + :return: The collect_range of this ClusterMetric. + :rtype: list[str] + """ + return self._collect_range + + @collect_range.setter + def collect_range(self, collect_range): + """Sets the collect_range of this ClusterMetric. + + 采集时间范围。 + + :param collect_range: The collect_range of this ClusterMetric. + :type collect_range: list[str] + """ + self._collect_range = collect_range + + @property + def create_time(self): + """Gets the create_time of this ClusterMetric. + + 创建时间。 + + :return: The create_time of this ClusterMetric. + :rtype: str + """ + return self._create_time + + @create_time.setter + def create_time(self, create_time): + """Sets the create_time of this ClusterMetric. + + 创建时间。 + + :param create_time: The create_time of this ClusterMetric. + :type create_time: str + """ + self._create_time = create_time + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ClusterMetric): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-dws/huaweicloudsdkdws/v2/model/list_metrics_data_request.py b/huaweicloud-sdk-dws/huaweicloudsdkdws/v2/model/list_metrics_data_request.py new file mode 100644 index 0000000000..1ca46a1d56 --- /dev/null +++ b/huaweicloud-sdk-dws/huaweicloudsdkdws/v2/model/list_metrics_data_request.py @@ -0,0 +1,312 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ListMetricsDataRequest: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'cluster_id': 'str', + 'metric_name': 'str', + 'offset': 'int', + 'limit': 'int', + '_from': 'int', + 'to': 'int', + 'order_by': 'str', + 'sort_by': 'str' + } + + attribute_map = { + 'cluster_id': 'cluster_id', + 'metric_name': 'metric_name', + 'offset': 'offset', + 'limit': 'limit', + '_from': 'from', + 'to': 'to', + 'order_by': 'order_by', + 'sort_by': 'sort_by' + } + + def __init__(self, cluster_id=None, metric_name=None, offset=None, limit=None, _from=None, to=None, order_by=None, sort_by=None): + """ListMetricsDataRequest + + The model defined in huaweicloud sdk + + :param cluster_id: 集群ID。 + :type cluster_id: str + :param metric_name: 指标名称。 + :type metric_name: str + :param offset: 偏移量,表示从此偏移量开始查询,offset>=0。 + :type offset: int + :param limit: 每页显示的条目数量,最大1000。 + :type limit: int + :param _from: 采集开始时间,13位时间戳。 + :type _from: int + :param to: 采集结束时间,13位时间戳。开始时间到结束时间最多不超过一天。 + :type to: int + :param order_by: 排序字段。固定取值。 ctime:采集时间。 + :type order_by: str + :param sort_by: 正序还是倒叙。固定取值。 asc:正序。 desc:倒序。 + :type sort_by: str + """ + + + + self._cluster_id = None + self._metric_name = None + self._offset = None + self._limit = None + self.__from = None + self._to = None + self._order_by = None + self._sort_by = None + self.discriminator = None + + self.cluster_id = cluster_id + self.metric_name = metric_name + self.offset = offset + self.limit = limit + self._from = _from + self.to = to + if order_by is not None: + self.order_by = order_by + if sort_by is not None: + self.sort_by = sort_by + + @property + def cluster_id(self): + """Gets the cluster_id of this ListMetricsDataRequest. + + 集群ID。 + + :return: The cluster_id of this ListMetricsDataRequest. + :rtype: str + """ + return self._cluster_id + + @cluster_id.setter + def cluster_id(self, cluster_id): + """Sets the cluster_id of this ListMetricsDataRequest. + + 集群ID。 + + :param cluster_id: The cluster_id of this ListMetricsDataRequest. + :type cluster_id: str + """ + self._cluster_id = cluster_id + + @property + def metric_name(self): + """Gets the metric_name of this ListMetricsDataRequest. + + 指标名称。 + + :return: The metric_name of this ListMetricsDataRequest. + :rtype: str + """ + return self._metric_name + + @metric_name.setter + def metric_name(self, metric_name): + """Sets the metric_name of this ListMetricsDataRequest. + + 指标名称。 + + :param metric_name: The metric_name of this ListMetricsDataRequest. + :type metric_name: str + """ + self._metric_name = metric_name + + @property + def offset(self): + """Gets the offset of this ListMetricsDataRequest. + + 偏移量,表示从此偏移量开始查询,offset>=0。 + + :return: The offset of this ListMetricsDataRequest. + :rtype: int + """ + return self._offset + + @offset.setter + def offset(self, offset): + """Sets the offset of this ListMetricsDataRequest. + + 偏移量,表示从此偏移量开始查询,offset>=0。 + + :param offset: The offset of this ListMetricsDataRequest. + :type offset: int + """ + self._offset = offset + + @property + def limit(self): + """Gets the limit of this ListMetricsDataRequest. + + 每页显示的条目数量,最大1000。 + + :return: The limit of this ListMetricsDataRequest. + :rtype: int + """ + return self._limit + + @limit.setter + def limit(self, limit): + """Sets the limit of this ListMetricsDataRequest. + + 每页显示的条目数量,最大1000。 + + :param limit: The limit of this ListMetricsDataRequest. + :type limit: int + """ + self._limit = limit + + @property + def _from(self): + """Gets the _from of this ListMetricsDataRequest. + + 采集开始时间,13位时间戳。 + + :return: The _from of this ListMetricsDataRequest. + :rtype: int + """ + return self.__from + + @_from.setter + def _from(self, _from): + """Sets the _from of this ListMetricsDataRequest. + + 采集开始时间,13位时间戳。 + + :param _from: The _from of this ListMetricsDataRequest. + :type _from: int + """ + self.__from = _from + + @property + def to(self): + """Gets the to of this ListMetricsDataRequest. + + 采集结束时间,13位时间戳。开始时间到结束时间最多不超过一天。 + + :return: The to of this ListMetricsDataRequest. + :rtype: int + """ + return self._to + + @to.setter + def to(self, to): + """Sets the to of this ListMetricsDataRequest. + + 采集结束时间,13位时间戳。开始时间到结束时间最多不超过一天。 + + :param to: The to of this ListMetricsDataRequest. + :type to: int + """ + self._to = to + + @property + def order_by(self): + """Gets the order_by of this ListMetricsDataRequest. + + 排序字段。固定取值。 ctime:采集时间。 + + :return: The order_by of this ListMetricsDataRequest. + :rtype: str + """ + return self._order_by + + @order_by.setter + def order_by(self, order_by): + """Sets the order_by of this ListMetricsDataRequest. + + 排序字段。固定取值。 ctime:采集时间。 + + :param order_by: The order_by of this ListMetricsDataRequest. + :type order_by: str + """ + self._order_by = order_by + + @property + def sort_by(self): + """Gets the sort_by of this ListMetricsDataRequest. + + 正序还是倒叙。固定取值。 asc:正序。 desc:倒序。 + + :return: The sort_by of this ListMetricsDataRequest. + :rtype: str + """ + return self._sort_by + + @sort_by.setter + def sort_by(self, sort_by): + """Sets the sort_by of this ListMetricsDataRequest. + + 正序还是倒叙。固定取值。 asc:正序。 desc:倒序。 + + :param sort_by: The sort_by of this ListMetricsDataRequest. + :type sort_by: str + """ + self._sort_by = sort_by + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ListMetricsDataRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-dws/huaweicloudsdkdws/v2/model/list_metrics_data_response.py b/huaweicloud-sdk-dws/huaweicloudsdkdws/v2/model/list_metrics_data_response.py new file mode 100644 index 0000000000..88e29f6920 --- /dev/null +++ b/huaweicloud-sdk-dws/huaweicloudsdkdws/v2/model/list_metrics_data_response.py @@ -0,0 +1,203 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_response import SdkResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ListMetricsDataResponse(SdkResponse): + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'code': 'int', + 'msg': 'str', + 'data': 'list[dict(str, str)]', + 'count': 'int' + } + + attribute_map = { + 'code': 'code', + 'msg': 'msg', + 'data': 'data', + 'count': 'count' + } + + def __init__(self, code=None, msg=None, data=None, count=None): + """ListMetricsDataResponse + + The model defined in huaweicloud sdk + + :param code: 响应码 + :type code: int + :param msg: 响应信息 + :type msg: str + :param data: 指标采集数据列表。 + :type data: list[dict(str, str)] + :param count: 总列表大小。 + :type count: int + """ + + super(ListMetricsDataResponse, self).__init__() + + self._code = None + self._msg = None + self._data = None + self._count = None + self.discriminator = None + + if code is not None: + self.code = code + if msg is not None: + self.msg = msg + if data is not None: + self.data = data + if count is not None: + self.count = count + + @property + def code(self): + """Gets the code of this ListMetricsDataResponse. + + 响应码 + + :return: The code of this ListMetricsDataResponse. + :rtype: int + """ + return self._code + + @code.setter + def code(self, code): + """Sets the code of this ListMetricsDataResponse. + + 响应码 + + :param code: The code of this ListMetricsDataResponse. + :type code: int + """ + self._code = code + + @property + def msg(self): + """Gets the msg of this ListMetricsDataResponse. + + 响应信息 + + :return: The msg of this ListMetricsDataResponse. + :rtype: str + """ + return self._msg + + @msg.setter + def msg(self, msg): + """Sets the msg of this ListMetricsDataResponse. + + 响应信息 + + :param msg: The msg of this ListMetricsDataResponse. + :type msg: str + """ + self._msg = msg + + @property + def data(self): + """Gets the data of this ListMetricsDataResponse. + + 指标采集数据列表。 + + :return: The data of this ListMetricsDataResponse. + :rtype: list[dict(str, str)] + """ + return self._data + + @data.setter + def data(self, data): + """Sets the data of this ListMetricsDataResponse. + + 指标采集数据列表。 + + :param data: The data of this ListMetricsDataResponse. + :type data: list[dict(str, str)] + """ + self._data = data + + @property + def count(self): + """Gets the count of this ListMetricsDataResponse. + + 总列表大小。 + + :return: The count of this ListMetricsDataResponse. + :rtype: int + """ + return self._count + + @count.setter + def count(self, count): + """Sets the count of this ListMetricsDataResponse. + + 总列表大小。 + + :param count: The count of this ListMetricsDataResponse. + :type count: int + """ + self._count = count + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ListMetricsDataResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-dws/huaweicloudsdkdws/v2/model/list_metrics_request.py b/huaweicloud-sdk-dws/huaweicloudsdkdws/v2/model/list_metrics_request.py new file mode 100644 index 0000000000..7b24f18751 --- /dev/null +++ b/huaweicloud-sdk-dws/huaweicloudsdkdws/v2/model/list_metrics_request.py @@ -0,0 +1,228 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ListMetricsRequest: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'cluster_id': 'str', + 'offset': 'int', + 'limit': 'int', + 'order_by': 'str', + 'sort_by': 'str' + } + + attribute_map = { + 'cluster_id': 'cluster_id', + 'offset': 'offset', + 'limit': 'limit', + 'order_by': 'order_by', + 'sort_by': 'sort_by' + } + + def __init__(self, cluster_id=None, offset=None, limit=None, order_by=None, sort_by=None): + """ListMetricsRequest + + The model defined in huaweicloud sdk + + :param cluster_id: 集群ID + :type cluster_id: str + :param offset: 偏移量,表示从此偏移量开始查询,offset>=0。 + :type offset: int + :param limit: 每页显示的条目数量,最大1000。 + :type limit: int + :param order_by: 排序字段。固定取值。 create_time:创建时间。 + :type order_by: str + :param sort_by: 正序还是倒叙。固定取值。 asc:正序。 desc:倒序。 + :type sort_by: str + """ + + + + self._cluster_id = None + self._offset = None + self._limit = None + self._order_by = None + self._sort_by = None + self.discriminator = None + + self.cluster_id = cluster_id + self.offset = offset + self.limit = limit + if order_by is not None: + self.order_by = order_by + if sort_by is not None: + self.sort_by = sort_by + + @property + def cluster_id(self): + """Gets the cluster_id of this ListMetricsRequest. + + 集群ID + + :return: The cluster_id of this ListMetricsRequest. + :rtype: str + """ + return self._cluster_id + + @cluster_id.setter + def cluster_id(self, cluster_id): + """Sets the cluster_id of this ListMetricsRequest. + + 集群ID + + :param cluster_id: The cluster_id of this ListMetricsRequest. + :type cluster_id: str + """ + self._cluster_id = cluster_id + + @property + def offset(self): + """Gets the offset of this ListMetricsRequest. + + 偏移量,表示从此偏移量开始查询,offset>=0。 + + :return: The offset of this ListMetricsRequest. + :rtype: int + """ + return self._offset + + @offset.setter + def offset(self, offset): + """Sets the offset of this ListMetricsRequest. + + 偏移量,表示从此偏移量开始查询,offset>=0。 + + :param offset: The offset of this ListMetricsRequest. + :type offset: int + """ + self._offset = offset + + @property + def limit(self): + """Gets the limit of this ListMetricsRequest. + + 每页显示的条目数量,最大1000。 + + :return: The limit of this ListMetricsRequest. + :rtype: int + """ + return self._limit + + @limit.setter + def limit(self, limit): + """Sets the limit of this ListMetricsRequest. + + 每页显示的条目数量,最大1000。 + + :param limit: The limit of this ListMetricsRequest. + :type limit: int + """ + self._limit = limit + + @property + def order_by(self): + """Gets the order_by of this ListMetricsRequest. + + 排序字段。固定取值。 create_time:创建时间。 + + :return: The order_by of this ListMetricsRequest. + :rtype: str + """ + return self._order_by + + @order_by.setter + def order_by(self, order_by): + """Sets the order_by of this ListMetricsRequest. + + 排序字段。固定取值。 create_time:创建时间。 + + :param order_by: The order_by of this ListMetricsRequest. + :type order_by: str + """ + self._order_by = order_by + + @property + def sort_by(self): + """Gets the sort_by of this ListMetricsRequest. + + 正序还是倒叙。固定取值。 asc:正序。 desc:倒序。 + + :return: The sort_by of this ListMetricsRequest. + :rtype: str + """ + return self._sort_by + + @sort_by.setter + def sort_by(self, sort_by): + """Sets the sort_by of this ListMetricsRequest. + + 正序还是倒叙。固定取值。 asc:正序。 desc:倒序。 + + :param sort_by: The sort_by of this ListMetricsRequest. + :type sort_by: str + """ + self._sort_by = sort_by + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ListMetricsRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-dws/huaweicloudsdkdws/v2/model/list_metrics_response.py b/huaweicloud-sdk-dws/huaweicloudsdkdws/v2/model/list_metrics_response.py new file mode 100644 index 0000000000..3a0d9ec852 --- /dev/null +++ b/huaweicloud-sdk-dws/huaweicloudsdkdws/v2/model/list_metrics_response.py @@ -0,0 +1,203 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_response import SdkResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ListMetricsResponse(SdkResponse): + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'code': 'int', + 'msg': 'str', + 'data': 'list[ClusterMetric]', + 'count': 'int' + } + + attribute_map = { + 'code': 'code', + 'msg': 'msg', + 'data': 'data', + 'count': 'count' + } + + def __init__(self, code=None, msg=None, data=None, count=None): + """ListMetricsResponse + + The model defined in huaweicloud sdk + + :param code: 响应码 + :type code: int + :param msg: 响应信息 + :type msg: str + :param data: 指标列表。 + :type data: list[:class:`huaweicloudsdkdws.v2.ClusterMetric`] + :param count: 总列表大小。 + :type count: int + """ + + super(ListMetricsResponse, self).__init__() + + self._code = None + self._msg = None + self._data = None + self._count = None + self.discriminator = None + + if code is not None: + self.code = code + if msg is not None: + self.msg = msg + if data is not None: + self.data = data + if count is not None: + self.count = count + + @property + def code(self): + """Gets the code of this ListMetricsResponse. + + 响应码 + + :return: The code of this ListMetricsResponse. + :rtype: int + """ + return self._code + + @code.setter + def code(self, code): + """Sets the code of this ListMetricsResponse. + + 响应码 + + :param code: The code of this ListMetricsResponse. + :type code: int + """ + self._code = code + + @property + def msg(self): + """Gets the msg of this ListMetricsResponse. + + 响应信息 + + :return: The msg of this ListMetricsResponse. + :rtype: str + """ + return self._msg + + @msg.setter + def msg(self, msg): + """Sets the msg of this ListMetricsResponse. + + 响应信息 + + :param msg: The msg of this ListMetricsResponse. + :type msg: str + """ + self._msg = msg + + @property + def data(self): + """Gets the data of this ListMetricsResponse. + + 指标列表。 + + :return: The data of this ListMetricsResponse. + :rtype: list[:class:`huaweicloudsdkdws.v2.ClusterMetric`] + """ + return self._data + + @data.setter + def data(self, data): + """Sets the data of this ListMetricsResponse. + + 指标列表。 + + :param data: The data of this ListMetricsResponse. + :type data: list[:class:`huaweicloudsdkdws.v2.ClusterMetric`] + """ + self._data = data + + @property + def count(self): + """Gets the count of this ListMetricsResponse. + + 总列表大小。 + + :return: The count of this ListMetricsResponse. + :rtype: int + """ + return self._count + + @count.setter + def count(self, count): + """Sets the count of this ListMetricsResponse. + + 总列表大小。 + + :param count: The count of this ListMetricsResponse. + :type count: int + """ + self._count = count + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ListMetricsResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_profile_associations_request.py b/huaweicloud-sdk-dws/huaweicloudsdkdws/v2/model/simple_field_dto.py similarity index 57% rename from huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_profile_associations_request.py rename to huaweicloud-sdk-dws/huaweicloudsdkdws/v2/model/simple_field_dto.py index 97fdac8c61..8ad4ea2366 100644 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_profile_associations_request.py +++ b/huaweicloud-sdk-dws/huaweicloudsdkdws/v2/model/simple_field_dto.py @@ -5,7 +5,7 @@ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class ListProfileAssociationsRequest: +class SimpleFieldDto: """ Attributes: @@ -17,74 +17,80 @@ class ListProfileAssociationsRequest: sensitive_list = [] openapi_types = { - 'instance_id': 'str', - 'profile_id': 'str' + 'column_name': 'str', + 'column_type': 'str' } attribute_map = { - 'instance_id': 'instance_id', - 'profile_id': 'profile_id' + 'column_name': 'column_name', + 'column_type': 'column_type' } - def __init__(self, instance_id=None, profile_id=None): - """ListProfileAssociationsRequest + def __init__(self, column_name=None, column_type=None): + """SimpleFieldDto The model defined in huaweicloud sdk - :param instance_id: - :type instance_id: str - :param profile_id: 待查询的profile唯一标识 - :type profile_id: str + :param column_name: 指标表对应字段名称。 + :type column_name: str + :param column_type: 指标表对应字段类型。 + :type column_type: str """ - self._instance_id = None - self._profile_id = None + self._column_name = None + self._column_type = None self.discriminator = None - self.instance_id = instance_id - self.profile_id = profile_id + if column_name is not None: + self.column_name = column_name + if column_type is not None: + self.column_type = column_type @property - def instance_id(self): - """Gets the instance_id of this ListProfileAssociationsRequest. + def column_name(self): + """Gets the column_name of this SimpleFieldDto. - :return: The instance_id of this ListProfileAssociationsRequest. + 指标表对应字段名称。 + + :return: The column_name of this SimpleFieldDto. :rtype: str """ - return self._instance_id + return self._column_name + + @column_name.setter + def column_name(self, column_name): + """Sets the column_name of this SimpleFieldDto. - @instance_id.setter - def instance_id(self, instance_id): - """Sets the instance_id of this ListProfileAssociationsRequest. + 指标表对应字段名称。 - :param instance_id: The instance_id of this ListProfileAssociationsRequest. - :type instance_id: str + :param column_name: The column_name of this SimpleFieldDto. + :type column_name: str """ - self._instance_id = instance_id + self._column_name = column_name @property - def profile_id(self): - """Gets the profile_id of this ListProfileAssociationsRequest. + def column_type(self): + """Gets the column_type of this SimpleFieldDto. - 待查询的profile唯一标识 + 指标表对应字段类型。 - :return: The profile_id of this ListProfileAssociationsRequest. + :return: The column_type of this SimpleFieldDto. :rtype: str """ - return self._profile_id + return self._column_type - @profile_id.setter - def profile_id(self, profile_id): - """Sets the profile_id of this ListProfileAssociationsRequest. + @column_type.setter + def column_type(self, column_type): + """Sets the column_type of this SimpleFieldDto. - 待查询的profile唯一标识 + 指标表对应字段类型。 - :param profile_id: The profile_id of this ListProfileAssociationsRequest. - :type profile_id: str + :param column_type: The column_type of this SimpleFieldDto. + :type column_type: str """ - self._profile_id = profile_id + self._column_type = column_type def to_dict(self): """Returns the model properties as a dict""" @@ -128,7 +134,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, ListProfileAssociationsRequest): + if not isinstance(other, SimpleFieldDto): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-dws/requirements.txt b/huaweicloud-sdk-dws/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-dws/requirements.txt +++ b/huaweicloud-sdk-dws/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-dws/setup.py b/huaweicloud-sdk-dws/setup.py index f08f601b4c..2a88dbeeeb 100644 --- a/huaweicloud-sdk-dws/setup.py +++ b/huaweicloud-sdk-dws/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkdws" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ec/requirements.txt b/huaweicloud-sdk-ec/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-ec/requirements.txt +++ b/huaweicloud-sdk-ec/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-ec/setup.py b/huaweicloud-sdk-ec/setup.py index 982adf0b9a..3da97e0c14 100644 --- a/huaweicloud-sdk-ec/setup.py +++ b/huaweicloud-sdk-ec/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkec" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ecs/huaweicloudsdkecs/v2/model/list_resize_flavors_request.py b/huaweicloud-sdk-ecs/huaweicloudsdkecs/v2/model/list_resize_flavors_request.py index fb0e246da4..49fecaa5be 100644 --- a/huaweicloud-sdk-ecs/huaweicloudsdkecs/v2/model/list_resize_flavors_request.py +++ b/huaweicloud-sdk-ecs/huaweicloudsdkecs/v2/model/list_resize_flavors_request.py @@ -49,7 +49,7 @@ def __init__(self, instance_uuid=None, limit=None, marker=None, sort_dir=None, s :type marker: str :param sort_dir: 升序/降序排序,默认值为:asc。 取值范围: - asc:表示升序。 - desc:表示降序 :type sort_dir: str - :param sort_key: 排序字段。 key的取值范围: - flavorid:表示规格ID。 - sort_key的默认值为“flavorid”。 - name:表示规格名称。 - memory_mb:表示内存大小。 - vcpus:表示CPU大小。 - root_gb:表示系统盘大小。 + :param sort_key: 排序字段。默认值为“flavorid”。 key的取值范围: - flavorid:表示规格ID。 - name:表示规格名称。 - memory_mb:表示内存大小。 - vcpus:表示CPU大小。 - root_gb:表示系统盘大小。 :type sort_key: str :param source_flavor_id: 进行规格切换的云服务器源规格ID。(instance_uuid,source_flavor_id and source_flavor_name 不能都为空) :type source_flavor_id: str @@ -175,7 +175,7 @@ def sort_dir(self, sort_dir): def sort_key(self): """Gets the sort_key of this ListResizeFlavorsRequest. - 排序字段。 key的取值范围: - flavorid:表示规格ID。 - sort_key的默认值为“flavorid”。 - name:表示规格名称。 - memory_mb:表示内存大小。 - vcpus:表示CPU大小。 - root_gb:表示系统盘大小。 + 排序字段。默认值为“flavorid”。 key的取值范围: - flavorid:表示规格ID。 - name:表示规格名称。 - memory_mb:表示内存大小。 - vcpus:表示CPU大小。 - root_gb:表示系统盘大小。 :return: The sort_key of this ListResizeFlavorsRequest. :rtype: str @@ -186,7 +186,7 @@ def sort_key(self): def sort_key(self, sort_key): """Sets the sort_key of this ListResizeFlavorsRequest. - 排序字段。 key的取值范围: - flavorid:表示规格ID。 - sort_key的默认值为“flavorid”。 - name:表示规格名称。 - memory_mb:表示内存大小。 - vcpus:表示CPU大小。 - root_gb:表示系统盘大小。 + 排序字段。默认值为“flavorid”。 key的取值范围: - flavorid:表示规格ID。 - name:表示规格名称。 - memory_mb:表示内存大小。 - vcpus:表示CPU大小。 - root_gb:表示系统盘大小。 :param sort_key: The sort_key of this ListResizeFlavorsRequest. :type sort_key: str diff --git a/huaweicloud-sdk-ecs/huaweicloudsdkecs/v2/region/ecs_region.py b/huaweicloud-sdk-ecs/huaweicloudsdkecs/v2/region/ecs_region.py index 9cb55ff28c..01b1931ccc 100644 --- a/huaweicloud-sdk-ecs/huaweicloudsdkecs/v2/region/ecs_region.py +++ b/huaweicloud-sdk-ecs/huaweicloudsdkecs/v2/region/ecs_region.py @@ -56,6 +56,8 @@ class EcsRegion: "https://ecs.cn-east-5.myhuaweicloud.com") EU_WEST_0 = Region("eu-west-0", "https://ecs.eu-west-0.myhuaweicloud.com") + MY_KUALALUMPUR_1 = Region("my-kualalumpur-1", + "https://ecs.my-kualalumpur-1.myhuaweicloud.com") static_fields = { "cn-north-1": CN_NORTH_1, @@ -83,6 +85,7 @@ class EcsRegion: "eu-west-101": EU_WEST_101, "cn-east-5": CN_EAST_5, "eu-west-0": EU_WEST_0, + "my-kualalumpur-1": MY_KUALALUMPUR_1, } @classmethod diff --git a/huaweicloud-sdk-ecs/requirements.txt b/huaweicloud-sdk-ecs/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-ecs/requirements.txt +++ b/huaweicloud-sdk-ecs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-ecs/setup.py b/huaweicloud-sdk-ecs/setup.py index bb54d9181a..6826b35311 100644 --- a/huaweicloud-sdk-ecs/setup.py +++ b/huaweicloud-sdk-ecs/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkecs" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-edgesec/requirements.txt b/huaweicloud-sdk-edgesec/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-edgesec/requirements.txt +++ b/huaweicloud-sdk-edgesec/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-edgesec/setup.py b/huaweicloud-sdk-edgesec/setup.py index 0f1bb8aa6d..7f36bc7800 100644 --- a/huaweicloud-sdk-edgesec/setup.py +++ b/huaweicloud-sdk-edgesec/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkedgesec" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-eg/requirements.txt b/huaweicloud-sdk-eg/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-eg/requirements.txt +++ b/huaweicloud-sdk-eg/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-eg/setup.py b/huaweicloud-sdk-eg/setup.py index e691e322f7..6a99531483 100644 --- a/huaweicloud-sdk-eg/setup.py +++ b/huaweicloud-sdk-eg/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkeg" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-eihealth/requirements.txt b/huaweicloud-sdk-eihealth/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-eihealth/requirements.txt +++ b/huaweicloud-sdk-eihealth/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-eihealth/setup.py b/huaweicloud-sdk-eihealth/setup.py index 73866c5709..e3c01edc6a 100644 --- a/huaweicloud-sdk-eihealth/setup.py +++ b/huaweicloud-sdk-eihealth/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkeihealth" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-eip/requirements.txt b/huaweicloud-sdk-eip/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-eip/requirements.txt +++ b/huaweicloud-sdk-eip/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-eip/setup.py b/huaweicloud-sdk-eip/setup.py index bcac8281db..8cf13c53cf 100644 --- a/huaweicloud-sdk-eip/setup.py +++ b/huaweicloud-sdk-eip/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkeip" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-elb/requirements.txt b/huaweicloud-sdk-elb/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-elb/requirements.txt +++ b/huaweicloud-sdk-elb/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-elb/setup.py b/huaweicloud-sdk-elb/setup.py index d8a086569b..f1255348a1 100644 --- a/huaweicloud-sdk-elb/setup.py +++ b/huaweicloud-sdk-elb/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkelb" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-eps/requirements.txt b/huaweicloud-sdk-eps/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-eps/requirements.txt +++ b/huaweicloud-sdk-eps/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-eps/setup.py b/huaweicloud-sdk-eps/setup.py index d01d67fe21..b55ae6988c 100644 --- a/huaweicloud-sdk-eps/setup.py +++ b/huaweicloud-sdk-eps/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkeps" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-er/requirements.txt b/huaweicloud-sdk-er/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-er/requirements.txt +++ b/huaweicloud-sdk-er/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-er/setup.py b/huaweicloud-sdk-er/setup.py index bc56fbfcc7..bd6f189d96 100644 --- a/huaweicloud-sdk-er/setup.py +++ b/huaweicloud-sdk-er/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdker" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-evs/requirements.txt b/huaweicloud-sdk-evs/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-evs/requirements.txt +++ b/huaweicloud-sdk-evs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-evs/setup.py b/huaweicloud-sdk-evs/setup.py index 2e3ae456b3..288a212bbe 100644 --- a/huaweicloud-sdk-evs/setup.py +++ b/huaweicloud-sdk-evs/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkevs" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-frs/requirements.txt b/huaweicloud-sdk-frs/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-frs/requirements.txt +++ b/huaweicloud-sdk-frs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-frs/setup.py b/huaweicloud-sdk-frs/setup.py index 73c34a3efd..198a79445b 100644 --- a/huaweicloud-sdk-frs/setup.py +++ b/huaweicloud-sdk-frs/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkfrs" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-functiongraph/requirements.txt b/huaweicloud-sdk-functiongraph/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-functiongraph/requirements.txt +++ b/huaweicloud-sdk-functiongraph/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-functiongraph/setup.py b/huaweicloud-sdk-functiongraph/setup.py index 982a880640..7a808afdcc 100644 --- a/huaweicloud-sdk-functiongraph/setup.py +++ b/huaweicloud-sdk-functiongraph/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkfunctiongraph" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ga/requirements.txt b/huaweicloud-sdk-ga/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-ga/requirements.txt +++ b/huaweicloud-sdk-ga/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-ga/setup.py b/huaweicloud-sdk-ga/setup.py index 20b104fb7a..1ed16a133f 100644 --- a/huaweicloud-sdk-ga/setup.py +++ b/huaweicloud-sdk-ga/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkga" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-gaussdb/requirements.txt b/huaweicloud-sdk-gaussdb/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-gaussdb/requirements.txt +++ b/huaweicloud-sdk-gaussdb/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-gaussdb/setup.py b/huaweicloud-sdk-gaussdb/setup.py index 3c556edd6c..401f9f5964 100644 --- a/huaweicloud-sdk-gaussdb/setup.py +++ b/huaweicloud-sdk-gaussdb/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkgaussdb" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-gaussdbfornosql/requirements.txt b/huaweicloud-sdk-gaussdbfornosql/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-gaussdbfornosql/requirements.txt +++ b/huaweicloud-sdk-gaussdbfornosql/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-gaussdbfornosql/setup.py b/huaweicloud-sdk-gaussdbfornosql/setup.py index 0ef4504729..72d68e1006 100644 --- a/huaweicloud-sdk-gaussdbfornosql/setup.py +++ b/huaweicloud-sdk-gaussdbfornosql/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkgaussdbfornosql" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-gaussdbforopengauss/requirements.txt b/huaweicloud-sdk-gaussdbforopengauss/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-gaussdbforopengauss/requirements.txt +++ b/huaweicloud-sdk-gaussdbforopengauss/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-gaussdbforopengauss/setup.py b/huaweicloud-sdk-gaussdbforopengauss/setup.py index d8a906ec1a..363aadb3fc 100644 --- a/huaweicloud-sdk-gaussdbforopengauss/setup.py +++ b/huaweicloud-sdk-gaussdbforopengauss/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkgaussdbforopengauss" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-geip/requirements.txt b/huaweicloud-sdk-geip/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-geip/requirements.txt +++ b/huaweicloud-sdk-geip/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-geip/setup.py b/huaweicloud-sdk-geip/setup.py index 224efe7afe..c81fa65e7d 100644 --- a/huaweicloud-sdk-geip/setup.py +++ b/huaweicloud-sdk-geip/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkgeip" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ges/requirements.txt b/huaweicloud-sdk-ges/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-ges/requirements.txt +++ b/huaweicloud-sdk-ges/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-ges/setup.py b/huaweicloud-sdk-ges/setup.py index 28adfa0ef5..5669bfcaed 100644 --- a/huaweicloud-sdk-ges/setup.py +++ b/huaweicloud-sdk-ges/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkges" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-gsl/requirements.txt b/huaweicloud-sdk-gsl/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-gsl/requirements.txt +++ b/huaweicloud-sdk-gsl/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-gsl/setup.py b/huaweicloud-sdk-gsl/setup.py index 0166309c77..bc1d4bbc7e 100644 --- a/huaweicloud-sdk-gsl/setup.py +++ b/huaweicloud-sdk-gsl/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkgsl" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-hilens/requirements.txt b/huaweicloud-sdk-hilens/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-hilens/requirements.txt +++ b/huaweicloud-sdk-hilens/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-hilens/setup.py b/huaweicloud-sdk-hilens/setup.py index 6730166be0..9e0b9f6fdd 100644 --- a/huaweicloud-sdk-hilens/setup.py +++ b/huaweicloud-sdk-hilens/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkhilens" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-hss/requirements.txt b/huaweicloud-sdk-hss/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-hss/requirements.txt +++ b/huaweicloud-sdk-hss/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-hss/setup.py b/huaweicloud-sdk-hss/setup.py index cf30a7be07..0d36743692 100644 --- a/huaweicloud-sdk-hss/setup.py +++ b/huaweicloud-sdk-hss/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkhss" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-iam/requirements.txt b/huaweicloud-sdk-iam/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-iam/requirements.txt +++ b/huaweicloud-sdk-iam/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-iam/setup.py b/huaweicloud-sdk-iam/setup.py index 317d48e326..079be515f0 100644 --- a/huaweicloud-sdk-iam/setup.py +++ b/huaweicloud-sdk-iam/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkiam" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-iamaccessanalyzer/requirements.txt b/huaweicloud-sdk-iamaccessanalyzer/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-iamaccessanalyzer/requirements.txt +++ b/huaweicloud-sdk-iamaccessanalyzer/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-iamaccessanalyzer/setup.py b/huaweicloud-sdk-iamaccessanalyzer/setup.py index 6a8214307d..bae462b515 100644 --- a/huaweicloud-sdk-iamaccessanalyzer/setup.py +++ b/huaweicloud-sdk-iamaccessanalyzer/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkiamaccessanalyzer" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/__init__.py b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/__init__.py index 6d3339c563..8cf790d683 100644 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/__init__.py +++ b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/__init__.py @@ -5,73 +5,8 @@ from huaweicloudsdkidentitycenter.v1.identitycenter_client import IdentityCenterClient from huaweicloudsdkidentitycenter.v1.identitycenter_async_client import IdentityCenterAsyncClient -from huaweicloudsdkidentitycenter.v1.model.accessor_dto import AccessorDto -from huaweicloudsdkidentitycenter.v1.model.account_assignment_dto import AccountAssignmentDto -from huaweicloudsdkidentitycenter.v1.model.account_assignment_operation_status_dto import AccountAssignmentOperationStatusDto -from huaweicloudsdkidentitycenter.v1.model.account_assignment_operation_status_metadata_dto import AccountAssignmentOperationStatusMetadataDto -from huaweicloudsdkidentitycenter.v1.model.association_dto import AssociationDto -from huaweicloudsdkidentitycenter.v1.model.attach_customer_managed_policy_to_permission_set_req_body import AttachCustomerManagedPolicyToPermissionSetReqBody -from huaweicloudsdkidentitycenter.v1.model.attach_customer_managed_policy_to_permission_set_request import AttachCustomerManagedPolicyToPermissionSetRequest -from huaweicloudsdkidentitycenter.v1.model.attach_customer_managed_policy_to_permission_set_response import AttachCustomerManagedPolicyToPermissionSetResponse -from huaweicloudsdkidentitycenter.v1.model.attach_managed_policy_to_permission_set_req_body import AttachManagedPolicyToPermissionSetReqBody -from huaweicloudsdkidentitycenter.v1.model.attach_managed_policy_to_permission_set_request import AttachManagedPolicyToPermissionSetRequest -from huaweicloudsdkidentitycenter.v1.model.attach_managed_policy_to_permission_set_response import AttachManagedPolicyToPermissionSetResponse -from huaweicloudsdkidentitycenter.v1.model.attached_managed_policy_dto import AttachedManagedPolicyDto -from huaweicloudsdkidentitycenter.v1.model.create_account_assignment_req_body import CreateAccountAssignmentReqBody -from huaweicloudsdkidentitycenter.v1.model.create_account_assignment_request import CreateAccountAssignmentRequest -from huaweicloudsdkidentitycenter.v1.model.create_account_assignment_response import CreateAccountAssignmentResponse -from huaweicloudsdkidentitycenter.v1.model.create_permission_set_req_body import CreatePermissionSetReqBody -from huaweicloudsdkidentitycenter.v1.model.create_permission_set_request import CreatePermissionSetRequest -from huaweicloudsdkidentitycenter.v1.model.create_permission_set_response import CreatePermissionSetResponse -from huaweicloudsdkidentitycenter.v1.model.customer_managed_policy_reference_dto import CustomerManagedPolicyReferenceDto -from huaweicloudsdkidentitycenter.v1.model.delete_account_assignment_req_body import DeleteAccountAssignmentReqBody -from huaweicloudsdkidentitycenter.v1.model.delete_account_assignment_request import DeleteAccountAssignmentRequest -from huaweicloudsdkidentitycenter.v1.model.delete_account_assignment_response import DeleteAccountAssignmentResponse -from huaweicloudsdkidentitycenter.v1.model.delete_permission_set_request import DeletePermissionSetRequest -from huaweicloudsdkidentitycenter.v1.model.delete_permission_set_response import DeletePermissionSetResponse -from huaweicloudsdkidentitycenter.v1.model.describe_account_assignment_creation_status_request import DescribeAccountAssignmentCreationStatusRequest -from huaweicloudsdkidentitycenter.v1.model.describe_account_assignment_creation_status_response import DescribeAccountAssignmentCreationStatusResponse -from huaweicloudsdkidentitycenter.v1.model.describe_account_assignment_deletion_status_request import DescribeAccountAssignmentDeletionStatusRequest -from huaweicloudsdkidentitycenter.v1.model.describe_account_assignment_deletion_status_response import DescribeAccountAssignmentDeletionStatusResponse -from huaweicloudsdkidentitycenter.v1.model.describe_permission_set_provisioning_status_request import DescribePermissionSetProvisioningStatusRequest -from huaweicloudsdkidentitycenter.v1.model.describe_permission_set_provisioning_status_response import DescribePermissionSetProvisioningStatusResponse -from huaweicloudsdkidentitycenter.v1.model.describe_permission_set_request import DescribePermissionSetRequest -from huaweicloudsdkidentitycenter.v1.model.describe_permission_set_response import DescribePermissionSetResponse -from huaweicloudsdkidentitycenter.v1.model.detach_customer_managed_policy_reference_from_permission_set_req_body import DetachCustomerManagedPolicyReferenceFromPermissionSetReqBody -from huaweicloudsdkidentitycenter.v1.model.detach_customer_managed_policy_reference_from_permission_set_request import DetachCustomerManagedPolicyReferenceFromPermissionSetRequest -from huaweicloudsdkidentitycenter.v1.model.detach_customer_managed_policy_reference_from_permission_set_response import DetachCustomerManagedPolicyReferenceFromPermissionSetResponse -from huaweicloudsdkidentitycenter.v1.model.detach_managed_policy_from_permission_set_req_body import DetachManagedPolicyFromPermissionSetReqBody -from huaweicloudsdkidentitycenter.v1.model.detach_managed_policy_from_permission_set_request import DetachManagedPolicyFromPermissionSetRequest -from huaweicloudsdkidentitycenter.v1.model.detach_managed_policy_from_permission_set_response import DetachManagedPolicyFromPermissionSetResponse from huaweicloudsdkidentitycenter.v1.model.instance_metadata_entry_dto import InstanceMetadataEntryDto -from huaweicloudsdkidentitycenter.v1.model.list_account_assignment_creation_status_request import ListAccountAssignmentCreationStatusRequest -from huaweicloudsdkidentitycenter.v1.model.list_account_assignment_creation_status_response import ListAccountAssignmentCreationStatusResponse -from huaweicloudsdkidentitycenter.v1.model.list_account_assignment_deletion_status_request import ListAccountAssignmentDeletionStatusRequest -from huaweicloudsdkidentitycenter.v1.model.list_account_assignment_deletion_status_response import ListAccountAssignmentDeletionStatusResponse -from huaweicloudsdkidentitycenter.v1.model.list_account_assignments_request import ListAccountAssignmentsRequest -from huaweicloudsdkidentitycenter.v1.model.list_account_assignments_response import ListAccountAssignmentsResponse -from huaweicloudsdkidentitycenter.v1.model.list_accounts_for_provisioned_permission_set_request import ListAccountsForProvisionedPermissionSetRequest -from huaweicloudsdkidentitycenter.v1.model.list_accounts_for_provisioned_permission_set_response import ListAccountsForProvisionedPermissionSetResponse -from huaweicloudsdkidentitycenter.v1.model.list_customer_managed_policy_references_in_permission_set_request import ListCustomerManagedPolicyReferencesInPermissionSetRequest -from huaweicloudsdkidentitycenter.v1.model.list_customer_managed_policy_references_in_permission_set_response import ListCustomerManagedPolicyReferencesInPermissionSetResponse from huaweicloudsdkidentitycenter.v1.model.list_instances_request import ListInstancesRequest from huaweicloudsdkidentitycenter.v1.model.list_instances_response import ListInstancesResponse -from huaweicloudsdkidentitycenter.v1.model.list_managed_policies_in_permission_set_request import ListManagedPoliciesInPermissionSetRequest -from huaweicloudsdkidentitycenter.v1.model.list_managed_policies_in_permission_set_response import ListManagedPoliciesInPermissionSetResponse -from huaweicloudsdkidentitycenter.v1.model.list_permission_set_provisioning_status_request import ListPermissionSetProvisioningStatusRequest -from huaweicloudsdkidentitycenter.v1.model.list_permission_set_provisioning_status_response import ListPermissionSetProvisioningStatusResponse -from huaweicloudsdkidentitycenter.v1.model.list_permission_sets_provisioned_to_account_request import ListPermissionSetsProvisionedToAccountRequest -from huaweicloudsdkidentitycenter.v1.model.list_permission_sets_provisioned_to_account_response import ListPermissionSetsProvisionedToAccountResponse -from huaweicloudsdkidentitycenter.v1.model.list_permission_sets_request import ListPermissionSetsRequest -from huaweicloudsdkidentitycenter.v1.model.list_permission_sets_response import ListPermissionSetsResponse -from huaweicloudsdkidentitycenter.v1.model.list_profile_associations_request import ListProfileAssociationsRequest -from huaweicloudsdkidentitycenter.v1.model.list_profile_associations_response import ListProfileAssociationsResponse from huaweicloudsdkidentitycenter.v1.model.page_info_dto import PageInfoDto -from huaweicloudsdkidentitycenter.v1.model.permission_set_dto import PermissionSetDto -from huaweicloudsdkidentitycenter.v1.model.permission_set_provisioning_status_dto import PermissionSetProvisioningStatusDto -from huaweicloudsdkidentitycenter.v1.model.permission_set_provisioning_status_metadata_dto import PermissionSetProvisioningStatusMetadataDto -from huaweicloudsdkidentitycenter.v1.model.tag_dto import TagDto -from huaweicloudsdkidentitycenter.v1.model.update_permission_set_req_body import UpdatePermissionSetReqBody -from huaweicloudsdkidentitycenter.v1.model.update_permission_set_request import UpdatePermissionSetRequest -from huaweicloudsdkidentitycenter.v1.model.update_permission_set_response import UpdatePermissionSetResponse diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/identitycenter_async_client.py b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/identitycenter_async_client.py index ad5aa3462c..ae930a7a69 100644 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/identitycenter_async_client.py +++ b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/identitycenter_async_client.py @@ -32,1553 +32,31 @@ def new_builder(cls, clazz=None): return client_builder - def create_account_assignment_async(self, request): - """创建帐户分配 - - 使用指定的权限集为指定帐户分配对应主体的访问权限,主体可为IdentityCenter用户或IdentityCenter用户组 - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for CreateAccountAssignment - :type request: :class:`huaweicloudsdkidentitycenter.v1.CreateAccountAssignmentRequest` - :rtype: :class:`huaweicloudsdkidentitycenter.v1.CreateAccountAssignmentResponse` - """ - http_info = self._create_account_assignment_http_info(request) - return self._call_api(**http_info) - - def create_account_assignment_async_invoker(self, request): - http_info = self._create_account_assignment_http_info(request) - return AsyncInvoker(self, http_info) - - def _create_account_assignment_http_info(self, request): - http_info = { - "method": "POST", - "resource_path": "/v1/instances/{instance_id}/account-assignments/create", - "request_type": request.__class__.__name__, - "response_type": "CreateAccountAssignmentResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'instance_id' in local_var_params: - path_params['instance_id'] = local_var_params['instance_id'] - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if 'body' in local_var_params: - body = local_var_params['body'] - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json']) - - auth_settings = ['AccessKeyAuth'] - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def delete_account_assignment_async(self, request): - """使用指定的权限集从指定帐户删除主体的访问权限 - - 使用指定的权限集从指定帐户删除主体的访问权限 - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for DeleteAccountAssignment - :type request: :class:`huaweicloudsdkidentitycenter.v1.DeleteAccountAssignmentRequest` - :rtype: :class:`huaweicloudsdkidentitycenter.v1.DeleteAccountAssignmentResponse` - """ - http_info = self._delete_account_assignment_http_info(request) - return self._call_api(**http_info) - - def delete_account_assignment_async_invoker(self, request): - http_info = self._delete_account_assignment_http_info(request) - return AsyncInvoker(self, http_info) - - def _delete_account_assignment_http_info(self, request): - http_info = { - "method": "POST", - "resource_path": "/v1/instances/{instance_id}/account-assignments/delete", - "request_type": request.__class__.__name__, - "response_type": "DeleteAccountAssignmentResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'instance_id' in local_var_params: - path_params['instance_id'] = local_var_params['instance_id'] - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if 'body' in local_var_params: - body = local_var_params['body'] - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json']) - - auth_settings = ['AccessKeyAuth'] - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def describe_account_assignment_creation_status_async(self, request): - """查询账号分配请求的状态 - - 根据请求ID,查询指定IAM Identity Center实例下的帐户分配创建状态详情信息 - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for DescribeAccountAssignmentCreationStatus - :type request: :class:`huaweicloudsdkidentitycenter.v1.DescribeAccountAssignmentCreationStatusRequest` - :rtype: :class:`huaweicloudsdkidentitycenter.v1.DescribeAccountAssignmentCreationStatusResponse` - """ - http_info = self._describe_account_assignment_creation_status_http_info(request) - return self._call_api(**http_info) - - def describe_account_assignment_creation_status_async_invoker(self, request): - http_info = self._describe_account_assignment_creation_status_http_info(request) - return AsyncInvoker(self, http_info) - - def _describe_account_assignment_creation_status_http_info(self, request): - http_info = { - "method": "GET", - "resource_path": "/v1/instances/{instance_id}/account-assignments/creation-status/{request_id}", - "request_type": request.__class__.__name__, - "response_type": "DescribeAccountAssignmentCreationStatusResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'instance_id' in local_var_params: - path_params['instance_id'] = local_var_params['instance_id'] - if 'request_id' in local_var_params: - path_params['request_id'] = local_var_params['request_id'] - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json']) - - auth_settings = ['AccessKeyAuth'] - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def describe_account_assignment_deletion_status_async(self, request): - """查询账户分配删除状态详情 - - 根据请求ID,查询指定IAM Identity Center实例下的帐户分配删除状态详情信息 - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for DescribeAccountAssignmentDeletionStatus - :type request: :class:`huaweicloudsdkidentitycenter.v1.DescribeAccountAssignmentDeletionStatusRequest` - :rtype: :class:`huaweicloudsdkidentitycenter.v1.DescribeAccountAssignmentDeletionStatusResponse` - """ - http_info = self._describe_account_assignment_deletion_status_http_info(request) - return self._call_api(**http_info) - - def describe_account_assignment_deletion_status_async_invoker(self, request): - http_info = self._describe_account_assignment_deletion_status_http_info(request) - return AsyncInvoker(self, http_info) - - def _describe_account_assignment_deletion_status_http_info(self, request): - http_info = { - "method": "GET", - "resource_path": "/v1/instances/{instance_id}/account-assignments/deletion-status/{request_id}", - "request_type": request.__class__.__name__, - "response_type": "DescribeAccountAssignmentDeletionStatusResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'instance_id' in local_var_params: - path_params['instance_id'] = local_var_params['instance_id'] - if 'request_id' in local_var_params: - path_params['request_id'] = local_var_params['request_id'] - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json']) - - auth_settings = ['AccessKeyAuth'] - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def list_account_assignment_creation_status_async(self, request): - """列出账户分配创建状态 - - 查询指定IAM Identity Center实例下的帐户分配的创建状态列表 - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for ListAccountAssignmentCreationStatus - :type request: :class:`huaweicloudsdkidentitycenter.v1.ListAccountAssignmentCreationStatusRequest` - :rtype: :class:`huaweicloudsdkidentitycenter.v1.ListAccountAssignmentCreationStatusResponse` - """ - http_info = self._list_account_assignment_creation_status_http_info(request) - return self._call_api(**http_info) - - def list_account_assignment_creation_status_async_invoker(self, request): - http_info = self._list_account_assignment_creation_status_http_info(request) - return AsyncInvoker(self, http_info) - - def _list_account_assignment_creation_status_http_info(self, request): - http_info = { - "method": "GET", - "resource_path": "/v1/instances/{instance_id}/account-assignments/creation-statuses", - "request_type": request.__class__.__name__, - "response_type": "ListAccountAssignmentCreationStatusResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'instance_id' in local_var_params: - path_params['instance_id'] = local_var_params['instance_id'] - - query_params = [] - if 'status' in local_var_params: - query_params.append(('status', local_var_params['status'])) - if 'limit' in local_var_params: - query_params.append(('limit', local_var_params['limit'])) - if 'marker' in local_var_params: - query_params.append(('marker', local_var_params['marker'])) - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json']) - - auth_settings = ['AccessKeyAuth'] - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def list_account_assignment_deletion_status_async(self, request): - """列出账户分配删除状态 - - 查询指定IAM Identity Center实例下的帐户分配的删除状态列表 - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for ListAccountAssignmentDeletionStatus - :type request: :class:`huaweicloudsdkidentitycenter.v1.ListAccountAssignmentDeletionStatusRequest` - :rtype: :class:`huaweicloudsdkidentitycenter.v1.ListAccountAssignmentDeletionStatusResponse` - """ - http_info = self._list_account_assignment_deletion_status_http_info(request) - return self._call_api(**http_info) - - def list_account_assignment_deletion_status_async_invoker(self, request): - http_info = self._list_account_assignment_deletion_status_http_info(request) - return AsyncInvoker(self, http_info) - - def _list_account_assignment_deletion_status_http_info(self, request): - http_info = { - "method": "GET", - "resource_path": "/v1/instances/{instance_id}/account-assignments/deletion-statuses", - "request_type": request.__class__.__name__, - "response_type": "ListAccountAssignmentDeletionStatusResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'instance_id' in local_var_params: - path_params['instance_id'] = local_var_params['instance_id'] - - query_params = [] - if 'status' in local_var_params: - query_params.append(('status', local_var_params['status'])) - if 'limit' in local_var_params: - query_params.append(('limit', local_var_params['limit'])) - if 'marker' in local_var_params: - query_params.append(('marker', local_var_params['marker'])) - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json']) - - auth_settings = ['AccessKeyAuth'] - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def list_account_assignments_async(self, request): - """列出与指定权限集以及指定帐户关联的用户/用户组 - - 列出与指定权限集以及指定帐户关联的用户/用户组 - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for ListAccountAssignments - :type request: :class:`huaweicloudsdkidentitycenter.v1.ListAccountAssignmentsRequest` - :rtype: :class:`huaweicloudsdkidentitycenter.v1.ListAccountAssignmentsResponse` - """ - http_info = self._list_account_assignments_http_info(request) - return self._call_api(**http_info) - - def list_account_assignments_async_invoker(self, request): - http_info = self._list_account_assignments_http_info(request) - return AsyncInvoker(self, http_info) - - def _list_account_assignments_http_info(self, request): - http_info = { - "method": "GET", - "resource_path": "/v1/instances/{instance_id}/account-assignments", - "request_type": request.__class__.__name__, - "response_type": "ListAccountAssignmentsResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'instance_id' in local_var_params: - path_params['instance_id'] = local_var_params['instance_id'] - - query_params = [] - if 'limit' in local_var_params: - query_params.append(('limit', local_var_params['limit'])) - if 'marker' in local_var_params: - query_params.append(('marker', local_var_params['marker'])) - if 'account_id' in local_var_params: - query_params.append(('account_id', local_var_params['account_id'])) - if 'permission_set_id' in local_var_params: - query_params.append(('permission_set_id', local_var_params['permission_set_id'])) - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json']) - - auth_settings = ['AccessKeyAuth'] - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def list_profile_associations_async(self, request): - """查询profile关联的用户或组列表 - - 查询profile关联的用户或组列表 - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for ListProfileAssociations - :type request: :class:`huaweicloudsdkidentitycenter.v1.ListProfileAssociationsRequest` - :rtype: :class:`huaweicloudsdkidentitycenter.v1.ListProfileAssociationsResponse` - """ - http_info = self._list_profile_associations_http_info(request) - return self._call_api(**http_info) - - def list_profile_associations_async_invoker(self, request): - http_info = self._list_profile_associations_http_info(request) - return AsyncInvoker(self, http_info) - - def _list_profile_associations_http_info(self, request): - http_info = { - "method": "GET", - "resource_path": "/v1/instances/{instance_id}/profile-associations", - "request_type": request.__class__.__name__, - "response_type": "ListProfileAssociationsResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'instance_id' in local_var_params: - path_params['instance_id'] = local_var_params['instance_id'] - - query_params = [] - if 'profile_id' in local_var_params: - query_params.append(('profile_id', local_var_params['profile_id'])) - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json']) - - auth_settings = ['AccessKeyAuth'] - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def list_instances_async(self, request): - """查询实例列表 - - 查询 IAM Identity Center的资源实例列表. - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for ListInstances - :type request: :class:`huaweicloudsdkidentitycenter.v1.ListInstancesRequest` - :rtype: :class:`huaweicloudsdkidentitycenter.v1.ListInstancesResponse` - """ - http_info = self._list_instances_http_info(request) - return self._call_api(**http_info) - - def list_instances_async_invoker(self, request): - http_info = self._list_instances_http_info(request) - return AsyncInvoker(self, http_info) - - def _list_instances_http_info(self, request): - http_info = { - "method": "GET", - "resource_path": "/v1/instances", - "request_type": request.__class__.__name__, - "response_type": "ListInstancesResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'limit' in local_var_params: - query_params.append(('limit', local_var_params['limit'])) - if 'marker' in local_var_params: - query_params.append(('marker', local_var_params['marker'])) - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json']) - - auth_settings = ['AccessKeyAuth'] - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def attach_customer_managed_policy_to_permission_set_async(self, request): - """将指定的客户自定义管理策略附加到指定的权限集 - - 将指定的客户自定义管理策略附加到指定的权限集 - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for AttachCustomerManagedPolicyToPermissionSet - :type request: :class:`huaweicloudsdkidentitycenter.v1.AttachCustomerManagedPolicyToPermissionSetRequest` - :rtype: :class:`huaweicloudsdkidentitycenter.v1.AttachCustomerManagedPolicyToPermissionSetResponse` - """ - http_info = self._attach_customer_managed_policy_to_permission_set_http_info(request) - return self._call_api(**http_info) - - def attach_customer_managed_policy_to_permission_set_async_invoker(self, request): - http_info = self._attach_customer_managed_policy_to_permission_set_http_info(request) - return AsyncInvoker(self, http_info) - - def _attach_customer_managed_policy_to_permission_set_http_info(self, request): - http_info = { - "method": "POST", - "resource_path": "/v1/instances/{instance_id}/permission-sets/{permission_set_id}/attach-customer-managed-policy", - "request_type": request.__class__.__name__, - "response_type": "AttachCustomerManagedPolicyToPermissionSetResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'permission_set_id' in local_var_params: - path_params['permission_set_id'] = local_var_params['permission_set_id'] - if 'instance_id' in local_var_params: - path_params['instance_id'] = local_var_params['instance_id'] - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if 'body' in local_var_params: - body = local_var_params['body'] - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json']) - - auth_settings = ['AccessKeyAuth'] - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def attach_managed_policy_to_permission_set_async(self, request): - """将系统管理策略附加到权限集 - - 将系统管理策略附加到权限集 - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for AttachManagedPolicyToPermissionSet - :type request: :class:`huaweicloudsdkidentitycenter.v1.AttachManagedPolicyToPermissionSetRequest` - :rtype: :class:`huaweicloudsdkidentitycenter.v1.AttachManagedPolicyToPermissionSetResponse` - """ - http_info = self._attach_managed_policy_to_permission_set_http_info(request) - return self._call_api(**http_info) - - def attach_managed_policy_to_permission_set_async_invoker(self, request): - http_info = self._attach_managed_policy_to_permission_set_http_info(request) - return AsyncInvoker(self, http_info) - - def _attach_managed_policy_to_permission_set_http_info(self, request): - http_info = { - "method": "POST", - "resource_path": "/v1/instances/{instance_id}/permission-sets/{permission_set_id}/attach-managed-policy", - "request_type": request.__class__.__name__, - "response_type": "AttachManagedPolicyToPermissionSetResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'instance_id' in local_var_params: - path_params['instance_id'] = local_var_params['instance_id'] - if 'permission_set_id' in local_var_params: - path_params['permission_set_id'] = local_var_params['permission_set_id'] - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if 'body' in local_var_params: - body = local_var_params['body'] - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json']) - - auth_settings = ['AccessKeyAuth'] - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def create_permission_set_async(self, request): - """在指定的IAM Identity Center实例中创建权限集 - - 在指定的IAM Identity Center实例中创建一个权限集 - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for CreatePermissionSet - :type request: :class:`huaweicloudsdkidentitycenter.v1.CreatePermissionSetRequest` - :rtype: :class:`huaweicloudsdkidentitycenter.v1.CreatePermissionSetResponse` - """ - http_info = self._create_permission_set_http_info(request) - return self._call_api(**http_info) - - def create_permission_set_async_invoker(self, request): - http_info = self._create_permission_set_http_info(request) - return AsyncInvoker(self, http_info) - - def _create_permission_set_http_info(self, request): - http_info = { - "method": "POST", - "resource_path": "/v1/instances/{instance_id}/permission-sets", - "request_type": request.__class__.__name__, - "response_type": "CreatePermissionSetResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'instance_id' in local_var_params: - path_params['instance_id'] = local_var_params['instance_id'] - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if 'body' in local_var_params: - body = local_var_params['body'] - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json']) - - auth_settings = ['AccessKeyAuth'] - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def delete_permission_set_async(self, request): - """删除指定实例的权限集 - - 删除指定实例的权限集 - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for DeletePermissionSet - :type request: :class:`huaweicloudsdkidentitycenter.v1.DeletePermissionSetRequest` - :rtype: :class:`huaweicloudsdkidentitycenter.v1.DeletePermissionSetResponse` - """ - http_info = self._delete_permission_set_http_info(request) - return self._call_api(**http_info) - - def delete_permission_set_async_invoker(self, request): - http_info = self._delete_permission_set_http_info(request) - return AsyncInvoker(self, http_info) - - def _delete_permission_set_http_info(self, request): - http_info = { - "method": "DELETE", - "resource_path": "/v1/instances/{instance_id}/permission-sets/{permission_set_id}", - "request_type": request.__class__.__name__, - "response_type": "DeletePermissionSetResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'instance_id' in local_var_params: - path_params['instance_id'] = local_var_params['instance_id'] - if 'permission_set_id' in local_var_params: - path_params['permission_set_id'] = local_var_params['permission_set_id'] - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json']) - - auth_settings = ['AccessKeyAuth'] - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def describe_permission_set_async(self, request): - """查询权限集详情 - - 根据权限集ID,查询指定权限集的详情信息 - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for DescribePermissionSet - :type request: :class:`huaweicloudsdkidentitycenter.v1.DescribePermissionSetRequest` - :rtype: :class:`huaweicloudsdkidentitycenter.v1.DescribePermissionSetResponse` - """ - http_info = self._describe_permission_set_http_info(request) - return self._call_api(**http_info) - - def describe_permission_set_async_invoker(self, request): - http_info = self._describe_permission_set_http_info(request) - return AsyncInvoker(self, http_info) - - def _describe_permission_set_http_info(self, request): - http_info = { - "method": "GET", - "resource_path": "/v1/instances/{instance_id}/permission-sets/{permission_set_id}", - "request_type": request.__class__.__name__, - "response_type": "DescribePermissionSetResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'instance_id' in local_var_params: - path_params['instance_id'] = local_var_params['instance_id'] - if 'permission_set_id' in local_var_params: - path_params['permission_set_id'] = local_var_params['permission_set_id'] - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json']) - - auth_settings = ['AccessKeyAuth'] - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def describe_permission_set_provisioning_status_async(self, request): - """查询权限集预分配状态详情 - - 根据请求Id,查询权限集预分配状态的详情信息 - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for DescribePermissionSetProvisioningStatus - :type request: :class:`huaweicloudsdkidentitycenter.v1.DescribePermissionSetProvisioningStatusRequest` - :rtype: :class:`huaweicloudsdkidentitycenter.v1.DescribePermissionSetProvisioningStatusResponse` - """ - http_info = self._describe_permission_set_provisioning_status_http_info(request) - return self._call_api(**http_info) - - def describe_permission_set_provisioning_status_async_invoker(self, request): - http_info = self._describe_permission_set_provisioning_status_http_info(request) - return AsyncInvoker(self, http_info) - - def _describe_permission_set_provisioning_status_http_info(self, request): - http_info = { - "method": "GET", - "resource_path": "/v1/instances/{instance_id}/permission-sets/provisioning-status/{request_id}", - "request_type": request.__class__.__name__, - "response_type": "DescribePermissionSetProvisioningStatusResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'instance_id' in local_var_params: - path_params['instance_id'] = local_var_params['instance_id'] - if 'request_id' in local_var_params: - path_params['request_id'] = local_var_params['request_id'] - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json']) - - auth_settings = ['AccessKeyAuth'] - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def detach_customer_managed_policy_reference_from_permission_set_async(self, request): - """将附加的客户自定义管理策略从指定的权限集中分离 - - 将附加的客户自定义管理策略从指定的权限集中分离 - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for DetachCustomerManagedPolicyReferenceFromPermissionSet - :type request: :class:`huaweicloudsdkidentitycenter.v1.DetachCustomerManagedPolicyReferenceFromPermissionSetRequest` - :rtype: :class:`huaweicloudsdkidentitycenter.v1.DetachCustomerManagedPolicyReferenceFromPermissionSetResponse` - """ - http_info = self._detach_customer_managed_policy_reference_from_permission_set_http_info(request) - return self._call_api(**http_info) - - def detach_customer_managed_policy_reference_from_permission_set_async_invoker(self, request): - http_info = self._detach_customer_managed_policy_reference_from_permission_set_http_info(request) - return AsyncInvoker(self, http_info) - - def _detach_customer_managed_policy_reference_from_permission_set_http_info(self, request): - http_info = { - "method": "POST", - "resource_path": "/v1/instances/{instance_id}/permission-sets/{permission_set_id}/detach-customer-managed-policy", - "request_type": request.__class__.__name__, - "response_type": "DetachCustomerManagedPolicyReferenceFromPermissionSetResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'instance_id' in local_var_params: - path_params['instance_id'] = local_var_params['instance_id'] - if 'permission_set_id' in local_var_params: - path_params['permission_set_id'] = local_var_params['permission_set_id'] - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if 'body' in local_var_params: - body = local_var_params['body'] - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json']) - - auth_settings = ['AccessKeyAuth'] - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def detach_managed_policy_from_permission_set_async(self, request): - """将附加的系统策略从指定的权限集中分离 - - 将附加的系统策略从指定的权限集中分离 - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for DetachManagedPolicyFromPermissionSet - :type request: :class:`huaweicloudsdkidentitycenter.v1.DetachManagedPolicyFromPermissionSetRequest` - :rtype: :class:`huaweicloudsdkidentitycenter.v1.DetachManagedPolicyFromPermissionSetResponse` - """ - http_info = self._detach_managed_policy_from_permission_set_http_info(request) - return self._call_api(**http_info) - - def detach_managed_policy_from_permission_set_async_invoker(self, request): - http_info = self._detach_managed_policy_from_permission_set_http_info(request) - return AsyncInvoker(self, http_info) - - def _detach_managed_policy_from_permission_set_http_info(self, request): - http_info = { - "method": "POST", - "resource_path": "/v1/instances/{instance_id}/permission-sets/{permission_set_id}/detach-managed-policy", - "request_type": request.__class__.__name__, - "response_type": "DetachManagedPolicyFromPermissionSetResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'instance_id' in local_var_params: - path_params['instance_id'] = local_var_params['instance_id'] - if 'permission_set_id' in local_var_params: - path_params['permission_set_id'] = local_var_params['permission_set_id'] - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if 'body' in local_var_params: - body = local_var_params['body'] - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json']) - - auth_settings = ['AccessKeyAuth'] - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def list_accounts_for_provisioned_permission_set_async(self, request): - """列出权限集关联的账户 - - 查询与指定权限集关联的账户列表 - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for ListAccountsForProvisionedPermissionSet - :type request: :class:`huaweicloudsdkidentitycenter.v1.ListAccountsForProvisionedPermissionSetRequest` - :rtype: :class:`huaweicloudsdkidentitycenter.v1.ListAccountsForProvisionedPermissionSetResponse` - """ - http_info = self._list_accounts_for_provisioned_permission_set_http_info(request) - return self._call_api(**http_info) - - def list_accounts_for_provisioned_permission_set_async_invoker(self, request): - http_info = self._list_accounts_for_provisioned_permission_set_http_info(request) - return AsyncInvoker(self, http_info) - - def _list_accounts_for_provisioned_permission_set_http_info(self, request): - http_info = { - "method": "GET", - "resource_path": "/v1/instances/{instance_id}/permission-sets/{permission_set_id}/accounts", - "request_type": request.__class__.__name__, - "response_type": "ListAccountsForProvisionedPermissionSetResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'instance_id' in local_var_params: - path_params['instance_id'] = local_var_params['instance_id'] - if 'permission_set_id' in local_var_params: - path_params['permission_set_id'] = local_var_params['permission_set_id'] - - query_params = [] - if 'limit' in local_var_params: - query_params.append(('limit', local_var_params['limit'])) - if 'marker' in local_var_params: - query_params.append(('marker', local_var_params['marker'])) - if 'provisioning_status' in local_var_params: - query_params.append(('provisioning_status', local_var_params['provisioning_status'])) - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json']) - - auth_settings = ['AccessKeyAuth'] - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def list_customer_managed_policy_references_in_permission_set_async(self, request): - """获取附加到指定权限集的所有客户自定义策略列表 - - 获取附加到指定权限集的所有客户自定义策略列表 - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for ListCustomerManagedPolicyReferencesInPermissionSet - :type request: :class:`huaweicloudsdkidentitycenter.v1.ListCustomerManagedPolicyReferencesInPermissionSetRequest` - :rtype: :class:`huaweicloudsdkidentitycenter.v1.ListCustomerManagedPolicyReferencesInPermissionSetResponse` - """ - http_info = self._list_customer_managed_policy_references_in_permission_set_http_info(request) - return self._call_api(**http_info) - - def list_customer_managed_policy_references_in_permission_set_async_invoker(self, request): - http_info = self._list_customer_managed_policy_references_in_permission_set_http_info(request) - return AsyncInvoker(self, http_info) - - def _list_customer_managed_policy_references_in_permission_set_http_info(self, request): - http_info = { - "method": "GET", - "resource_path": "/v1/instances/{instance_id}/permission-sets/{permission_set_id}/customer-managed-policies", - "request_type": request.__class__.__name__, - "response_type": "ListCustomerManagedPolicyReferencesInPermissionSetResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'instance_id' in local_var_params: - path_params['instance_id'] = local_var_params['instance_id'] - if 'permission_set_id' in local_var_params: - path_params['permission_set_id'] = local_var_params['permission_set_id'] - - query_params = [] - if 'limit' in local_var_params: - query_params.append(('limit', local_var_params['limit'])) - if 'marker' in local_var_params: - query_params.append(('marker', local_var_params['marker'])) - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json']) - - auth_settings = ['AccessKeyAuth'] - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def list_managed_policies_in_permission_set_async(self, request): - """列出权限集中附加的系统管理策略 - - 列出权限集中附加的系统管理策略 - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for ListManagedPoliciesInPermissionSet - :type request: :class:`huaweicloudsdkidentitycenter.v1.ListManagedPoliciesInPermissionSetRequest` - :rtype: :class:`huaweicloudsdkidentitycenter.v1.ListManagedPoliciesInPermissionSetResponse` - """ - http_info = self._list_managed_policies_in_permission_set_http_info(request) - return self._call_api(**http_info) - - def list_managed_policies_in_permission_set_async_invoker(self, request): - http_info = self._list_managed_policies_in_permission_set_http_info(request) - return AsyncInvoker(self, http_info) - - def _list_managed_policies_in_permission_set_http_info(self, request): - http_info = { - "method": "GET", - "resource_path": "/v1/instances/{instance_id}/permission-sets/{permission_set_id}/managed-policies", - "request_type": request.__class__.__name__, - "response_type": "ListManagedPoliciesInPermissionSetResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'instance_id' in local_var_params: - path_params['instance_id'] = local_var_params['instance_id'] - if 'permission_set_id' in local_var_params: - path_params['permission_set_id'] = local_var_params['permission_set_id'] - - query_params = [] - if 'limit' in local_var_params: - query_params.append(('limit', local_var_params['limit'])) - if 'marker' in local_var_params: - query_params.append(('marker', local_var_params['marker'])) - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json']) - - auth_settings = ['AccessKeyAuth'] - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def list_permission_set_provisioning_status_async(self, request): - """列出权限集预分配状态 - - 查询指定实例中的权限集预分配状态列表 - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for ListPermissionSetProvisioningStatus - :type request: :class:`huaweicloudsdkidentitycenter.v1.ListPermissionSetProvisioningStatusRequest` - :rtype: :class:`huaweicloudsdkidentitycenter.v1.ListPermissionSetProvisioningStatusResponse` - """ - http_info = self._list_permission_set_provisioning_status_http_info(request) - return self._call_api(**http_info) - - def list_permission_set_provisioning_status_async_invoker(self, request): - http_info = self._list_permission_set_provisioning_status_http_info(request) - return AsyncInvoker(self, http_info) - - def _list_permission_set_provisioning_status_http_info(self, request): - http_info = { - "method": "GET", - "resource_path": "/v1/instances/{instance_id}/permission-sets/provisioning-statuses", - "request_type": request.__class__.__name__, - "response_type": "ListPermissionSetProvisioningStatusResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'instance_id' in local_var_params: - path_params['instance_id'] = local_var_params['instance_id'] - - query_params = [] - if 'limit' in local_var_params: - query_params.append(('limit', local_var_params['limit'])) - if 'marker' in local_var_params: - query_params.append(('marker', local_var_params['marker'])) - if 'status' in local_var_params: - query_params.append(('status', local_var_params['status'])) - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json']) - - auth_settings = ['AccessKeyAuth'] - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def list_permission_sets_async(self, request): - """列出指定实例的权限集列表 - - 列出指定实例的权限集列表 - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for ListPermissionSets - :type request: :class:`huaweicloudsdkidentitycenter.v1.ListPermissionSetsRequest` - :rtype: :class:`huaweicloudsdkidentitycenter.v1.ListPermissionSetsResponse` - """ - http_info = self._list_permission_sets_http_info(request) - return self._call_api(**http_info) - - def list_permission_sets_async_invoker(self, request): - http_info = self._list_permission_sets_http_info(request) - return AsyncInvoker(self, http_info) - - def _list_permission_sets_http_info(self, request): - http_info = { - "method": "GET", - "resource_path": "/v1/instances/{instance_id}/permission-sets", - "request_type": request.__class__.__name__, - "response_type": "ListPermissionSetsResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'instance_id' in local_var_params: - path_params['instance_id'] = local_var_params['instance_id'] - - query_params = [] - if 'limit' in local_var_params: - query_params.append(('limit', local_var_params['limit'])) - if 'marker' in local_var_params: - query_params.append(('marker', local_var_params['marker'])) - if 'permission_set_id' in local_var_params: - query_params.append(('permission_set_id', local_var_params['permission_set_id'])) - if 'permission_urn' in local_var_params: - query_params.append(('permission_urn', local_var_params['permission_urn'])) - if 'name' in local_var_params: - query_params.append(('name', local_var_params['name'])) - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json']) - - auth_settings = ['AccessKeyAuth'] - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def list_permission_sets_provisioned_to_account_async(self, request): - """列出分配给指定帐户的权限集列表 + def list_instances_async(self, request): + """列出实例 - 列出分配给指定帐户的权限集列表 + 查询IAM身份中心的实例列表。 Please refer to HUAWEI cloud API Explorer for details. - :param request: Request instance for ListPermissionSetsProvisionedToAccount - :type request: :class:`huaweicloudsdkidentitycenter.v1.ListPermissionSetsProvisionedToAccountRequest` - :rtype: :class:`huaweicloudsdkidentitycenter.v1.ListPermissionSetsProvisionedToAccountResponse` + :param request: Request instance for ListInstances + :type request: :class:`huaweicloudsdkidentitycenter.v1.ListInstancesRequest` + :rtype: :class:`huaweicloudsdkidentitycenter.v1.ListInstancesResponse` """ - http_info = self._list_permission_sets_provisioned_to_account_http_info(request) + http_info = self._list_instances_http_info(request) return self._call_api(**http_info) - def list_permission_sets_provisioned_to_account_async_invoker(self, request): - http_info = self._list_permission_sets_provisioned_to_account_http_info(request) + def list_instances_async_invoker(self, request): + http_info = self._list_instances_http_info(request) return AsyncInvoker(self, http_info) - def _list_permission_sets_provisioned_to_account_http_info(self, request): + def _list_instances_http_info(self, request): http_info = { "method": "GET", - "resource_path": "/v1/instances/{instance_id}/permission-sets/provisioned-to-accounts", + "resource_path": "/v1/instances", "request_type": request.__class__.__name__, - "response_type": "ListPermissionSetsProvisionedToAccountResponse" + "response_type": "ListInstancesResponse" } local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} @@ -1588,93 +66,20 @@ def _list_permission_sets_provisioned_to_account_http_info(self, request): collection_formats = {} path_params = {} - if 'instance_id' in local_var_params: - path_params['instance_id'] = local_var_params['instance_id'] query_params = [] if 'limit' in local_var_params: query_params.append(('limit', local_var_params['limit'])) if 'marker' in local_var_params: query_params.append(('marker', local_var_params['marker'])) - if 'account_id' in local_var_params: - query_params.append(('account_id', local_var_params['account_id'])) - if 'provisioning_status' in local_var_params: - query_params.append(('provisioning_status', local_var_params['provisioning_status'])) - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json']) - - auth_settings = ['AccessKeyAuth'] - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def update_permission_set_async(self, request): - """更新权限集 - - 根据权限集ID,删除指定权限集的属性 - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for UpdatePermissionSet - :type request: :class:`huaweicloudsdkidentitycenter.v1.UpdatePermissionSetRequest` - :rtype: :class:`huaweicloudsdkidentitycenter.v1.UpdatePermissionSetResponse` - """ - http_info = self._update_permission_set_http_info(request) - return self._call_api(**http_info) - - def update_permission_set_async_invoker(self, request): - http_info = self._update_permission_set_http_info(request) - return AsyncInvoker(self, http_info) - - def _update_permission_set_http_info(self, request): - http_info = { - "method": "PUT", - "resource_path": "/v1/instances/{instance_id}/permission-sets/{permission_set_id}", - "request_type": request.__class__.__name__, - "response_type": "UpdatePermissionSetResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'instance_id' in local_var_params: - path_params['instance_id'] = local_var_params['instance_id'] - if 'permission_set_id' in local_var_params: - path_params['permission_set_id'] = local_var_params['permission_set_id'] - - query_params = [] header_params = {} + if 'x_security_token' in local_var_params: + header_params['X-Security-Token'] = local_var_params['x_security_token'] form_params = {} body = None - if 'body' in local_var_params: - body = local_var_params['body'] if isinstance(request, SdkStreamRequest): body = request.get_file_stream() diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/identitycenter_client.py b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/identitycenter_client.py index a2c68eaba0..95f3187d7a 100644 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/identitycenter_client.py +++ b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/identitycenter_client.py @@ -32,1553 +32,31 @@ def new_builder(cls, clazz=None): return client_builder - def create_account_assignment(self, request): - """创建帐户分配 - - 使用指定的权限集为指定帐户分配对应主体的访问权限,主体可为IdentityCenter用户或IdentityCenter用户组 - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for CreateAccountAssignment - :type request: :class:`huaweicloudsdkidentitycenter.v1.CreateAccountAssignmentRequest` - :rtype: :class:`huaweicloudsdkidentitycenter.v1.CreateAccountAssignmentResponse` - """ - http_info = self._create_account_assignment_http_info(request) - return self._call_api(**http_info) - - def create_account_assignment_invoker(self, request): - http_info = self._create_account_assignment_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _create_account_assignment_http_info(cls, request): - http_info = { - "method": "POST", - "resource_path": "/v1/instances/{instance_id}/account-assignments/create", - "request_type": request.__class__.__name__, - "response_type": "CreateAccountAssignmentResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'instance_id' in local_var_params: - path_params['instance_id'] = local_var_params['instance_id'] - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if 'body' in local_var_params: - body = local_var_params['body'] - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json']) - - auth_settings = ['AccessKeyAuth'] - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def delete_account_assignment(self, request): - """使用指定的权限集从指定帐户删除主体的访问权限 - - 使用指定的权限集从指定帐户删除主体的访问权限 - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for DeleteAccountAssignment - :type request: :class:`huaweicloudsdkidentitycenter.v1.DeleteAccountAssignmentRequest` - :rtype: :class:`huaweicloudsdkidentitycenter.v1.DeleteAccountAssignmentResponse` - """ - http_info = self._delete_account_assignment_http_info(request) - return self._call_api(**http_info) - - def delete_account_assignment_invoker(self, request): - http_info = self._delete_account_assignment_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _delete_account_assignment_http_info(cls, request): - http_info = { - "method": "POST", - "resource_path": "/v1/instances/{instance_id}/account-assignments/delete", - "request_type": request.__class__.__name__, - "response_type": "DeleteAccountAssignmentResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'instance_id' in local_var_params: - path_params['instance_id'] = local_var_params['instance_id'] - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if 'body' in local_var_params: - body = local_var_params['body'] - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json']) - - auth_settings = ['AccessKeyAuth'] - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def describe_account_assignment_creation_status(self, request): - """查询账号分配请求的状态 - - 根据请求ID,查询指定IAM Identity Center实例下的帐户分配创建状态详情信息 - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for DescribeAccountAssignmentCreationStatus - :type request: :class:`huaweicloudsdkidentitycenter.v1.DescribeAccountAssignmentCreationStatusRequest` - :rtype: :class:`huaweicloudsdkidentitycenter.v1.DescribeAccountAssignmentCreationStatusResponse` - """ - http_info = self._describe_account_assignment_creation_status_http_info(request) - return self._call_api(**http_info) - - def describe_account_assignment_creation_status_invoker(self, request): - http_info = self._describe_account_assignment_creation_status_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _describe_account_assignment_creation_status_http_info(cls, request): - http_info = { - "method": "GET", - "resource_path": "/v1/instances/{instance_id}/account-assignments/creation-status/{request_id}", - "request_type": request.__class__.__name__, - "response_type": "DescribeAccountAssignmentCreationStatusResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'instance_id' in local_var_params: - path_params['instance_id'] = local_var_params['instance_id'] - if 'request_id' in local_var_params: - path_params['request_id'] = local_var_params['request_id'] - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json']) - - auth_settings = ['AccessKeyAuth'] - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def describe_account_assignment_deletion_status(self, request): - """查询账户分配删除状态详情 - - 根据请求ID,查询指定IAM Identity Center实例下的帐户分配删除状态详情信息 - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for DescribeAccountAssignmentDeletionStatus - :type request: :class:`huaweicloudsdkidentitycenter.v1.DescribeAccountAssignmentDeletionStatusRequest` - :rtype: :class:`huaweicloudsdkidentitycenter.v1.DescribeAccountAssignmentDeletionStatusResponse` - """ - http_info = self._describe_account_assignment_deletion_status_http_info(request) - return self._call_api(**http_info) - - def describe_account_assignment_deletion_status_invoker(self, request): - http_info = self._describe_account_assignment_deletion_status_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _describe_account_assignment_deletion_status_http_info(cls, request): - http_info = { - "method": "GET", - "resource_path": "/v1/instances/{instance_id}/account-assignments/deletion-status/{request_id}", - "request_type": request.__class__.__name__, - "response_type": "DescribeAccountAssignmentDeletionStatusResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'instance_id' in local_var_params: - path_params['instance_id'] = local_var_params['instance_id'] - if 'request_id' in local_var_params: - path_params['request_id'] = local_var_params['request_id'] - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json']) - - auth_settings = ['AccessKeyAuth'] - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def list_account_assignment_creation_status(self, request): - """列出账户分配创建状态 - - 查询指定IAM Identity Center实例下的帐户分配的创建状态列表 - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for ListAccountAssignmentCreationStatus - :type request: :class:`huaweicloudsdkidentitycenter.v1.ListAccountAssignmentCreationStatusRequest` - :rtype: :class:`huaweicloudsdkidentitycenter.v1.ListAccountAssignmentCreationStatusResponse` - """ - http_info = self._list_account_assignment_creation_status_http_info(request) - return self._call_api(**http_info) - - def list_account_assignment_creation_status_invoker(self, request): - http_info = self._list_account_assignment_creation_status_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _list_account_assignment_creation_status_http_info(cls, request): - http_info = { - "method": "GET", - "resource_path": "/v1/instances/{instance_id}/account-assignments/creation-statuses", - "request_type": request.__class__.__name__, - "response_type": "ListAccountAssignmentCreationStatusResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'instance_id' in local_var_params: - path_params['instance_id'] = local_var_params['instance_id'] - - query_params = [] - if 'status' in local_var_params: - query_params.append(('status', local_var_params['status'])) - if 'limit' in local_var_params: - query_params.append(('limit', local_var_params['limit'])) - if 'marker' in local_var_params: - query_params.append(('marker', local_var_params['marker'])) - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json']) - - auth_settings = ['AccessKeyAuth'] - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def list_account_assignment_deletion_status(self, request): - """列出账户分配删除状态 - - 查询指定IAM Identity Center实例下的帐户分配的删除状态列表 - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for ListAccountAssignmentDeletionStatus - :type request: :class:`huaweicloudsdkidentitycenter.v1.ListAccountAssignmentDeletionStatusRequest` - :rtype: :class:`huaweicloudsdkidentitycenter.v1.ListAccountAssignmentDeletionStatusResponse` - """ - http_info = self._list_account_assignment_deletion_status_http_info(request) - return self._call_api(**http_info) - - def list_account_assignment_deletion_status_invoker(self, request): - http_info = self._list_account_assignment_deletion_status_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _list_account_assignment_deletion_status_http_info(cls, request): - http_info = { - "method": "GET", - "resource_path": "/v1/instances/{instance_id}/account-assignments/deletion-statuses", - "request_type": request.__class__.__name__, - "response_type": "ListAccountAssignmentDeletionStatusResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'instance_id' in local_var_params: - path_params['instance_id'] = local_var_params['instance_id'] - - query_params = [] - if 'status' in local_var_params: - query_params.append(('status', local_var_params['status'])) - if 'limit' in local_var_params: - query_params.append(('limit', local_var_params['limit'])) - if 'marker' in local_var_params: - query_params.append(('marker', local_var_params['marker'])) - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json']) - - auth_settings = ['AccessKeyAuth'] - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def list_account_assignments(self, request): - """列出与指定权限集以及指定帐户关联的用户/用户组 - - 列出与指定权限集以及指定帐户关联的用户/用户组 - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for ListAccountAssignments - :type request: :class:`huaweicloudsdkidentitycenter.v1.ListAccountAssignmentsRequest` - :rtype: :class:`huaweicloudsdkidentitycenter.v1.ListAccountAssignmentsResponse` - """ - http_info = self._list_account_assignments_http_info(request) - return self._call_api(**http_info) - - def list_account_assignments_invoker(self, request): - http_info = self._list_account_assignments_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _list_account_assignments_http_info(cls, request): - http_info = { - "method": "GET", - "resource_path": "/v1/instances/{instance_id}/account-assignments", - "request_type": request.__class__.__name__, - "response_type": "ListAccountAssignmentsResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'instance_id' in local_var_params: - path_params['instance_id'] = local_var_params['instance_id'] - - query_params = [] - if 'limit' in local_var_params: - query_params.append(('limit', local_var_params['limit'])) - if 'marker' in local_var_params: - query_params.append(('marker', local_var_params['marker'])) - if 'account_id' in local_var_params: - query_params.append(('account_id', local_var_params['account_id'])) - if 'permission_set_id' in local_var_params: - query_params.append(('permission_set_id', local_var_params['permission_set_id'])) - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json']) - - auth_settings = ['AccessKeyAuth'] - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def list_profile_associations(self, request): - """查询profile关联的用户或组列表 - - 查询profile关联的用户或组列表 - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for ListProfileAssociations - :type request: :class:`huaweicloudsdkidentitycenter.v1.ListProfileAssociationsRequest` - :rtype: :class:`huaweicloudsdkidentitycenter.v1.ListProfileAssociationsResponse` - """ - http_info = self._list_profile_associations_http_info(request) - return self._call_api(**http_info) - - def list_profile_associations_invoker(self, request): - http_info = self._list_profile_associations_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _list_profile_associations_http_info(cls, request): - http_info = { - "method": "GET", - "resource_path": "/v1/instances/{instance_id}/profile-associations", - "request_type": request.__class__.__name__, - "response_type": "ListProfileAssociationsResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'instance_id' in local_var_params: - path_params['instance_id'] = local_var_params['instance_id'] - - query_params = [] - if 'profile_id' in local_var_params: - query_params.append(('profile_id', local_var_params['profile_id'])) - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json']) - - auth_settings = ['AccessKeyAuth'] - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def list_instances(self, request): - """查询实例列表 - - 查询 IAM Identity Center的资源实例列表. - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for ListInstances - :type request: :class:`huaweicloudsdkidentitycenter.v1.ListInstancesRequest` - :rtype: :class:`huaweicloudsdkidentitycenter.v1.ListInstancesResponse` - """ - http_info = self._list_instances_http_info(request) - return self._call_api(**http_info) - - def list_instances_invoker(self, request): - http_info = self._list_instances_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _list_instances_http_info(cls, request): - http_info = { - "method": "GET", - "resource_path": "/v1/instances", - "request_type": request.__class__.__name__, - "response_type": "ListInstancesResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'limit' in local_var_params: - query_params.append(('limit', local_var_params['limit'])) - if 'marker' in local_var_params: - query_params.append(('marker', local_var_params['marker'])) - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json']) - - auth_settings = ['AccessKeyAuth'] - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def attach_customer_managed_policy_to_permission_set(self, request): - """将指定的客户自定义管理策略附加到指定的权限集 - - 将指定的客户自定义管理策略附加到指定的权限集 - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for AttachCustomerManagedPolicyToPermissionSet - :type request: :class:`huaweicloudsdkidentitycenter.v1.AttachCustomerManagedPolicyToPermissionSetRequest` - :rtype: :class:`huaweicloudsdkidentitycenter.v1.AttachCustomerManagedPolicyToPermissionSetResponse` - """ - http_info = self._attach_customer_managed_policy_to_permission_set_http_info(request) - return self._call_api(**http_info) - - def attach_customer_managed_policy_to_permission_set_invoker(self, request): - http_info = self._attach_customer_managed_policy_to_permission_set_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _attach_customer_managed_policy_to_permission_set_http_info(cls, request): - http_info = { - "method": "POST", - "resource_path": "/v1/instances/{instance_id}/permission-sets/{permission_set_id}/attach-customer-managed-policy", - "request_type": request.__class__.__name__, - "response_type": "AttachCustomerManagedPolicyToPermissionSetResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'permission_set_id' in local_var_params: - path_params['permission_set_id'] = local_var_params['permission_set_id'] - if 'instance_id' in local_var_params: - path_params['instance_id'] = local_var_params['instance_id'] - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if 'body' in local_var_params: - body = local_var_params['body'] - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json']) - - auth_settings = ['AccessKeyAuth'] - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def attach_managed_policy_to_permission_set(self, request): - """将系统管理策略附加到权限集 - - 将系统管理策略附加到权限集 - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for AttachManagedPolicyToPermissionSet - :type request: :class:`huaweicloudsdkidentitycenter.v1.AttachManagedPolicyToPermissionSetRequest` - :rtype: :class:`huaweicloudsdkidentitycenter.v1.AttachManagedPolicyToPermissionSetResponse` - """ - http_info = self._attach_managed_policy_to_permission_set_http_info(request) - return self._call_api(**http_info) - - def attach_managed_policy_to_permission_set_invoker(self, request): - http_info = self._attach_managed_policy_to_permission_set_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _attach_managed_policy_to_permission_set_http_info(cls, request): - http_info = { - "method": "POST", - "resource_path": "/v1/instances/{instance_id}/permission-sets/{permission_set_id}/attach-managed-policy", - "request_type": request.__class__.__name__, - "response_type": "AttachManagedPolicyToPermissionSetResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'instance_id' in local_var_params: - path_params['instance_id'] = local_var_params['instance_id'] - if 'permission_set_id' in local_var_params: - path_params['permission_set_id'] = local_var_params['permission_set_id'] - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if 'body' in local_var_params: - body = local_var_params['body'] - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json']) - - auth_settings = ['AccessKeyAuth'] - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def create_permission_set(self, request): - """在指定的IAM Identity Center实例中创建权限集 - - 在指定的IAM Identity Center实例中创建一个权限集 - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for CreatePermissionSet - :type request: :class:`huaweicloudsdkidentitycenter.v1.CreatePermissionSetRequest` - :rtype: :class:`huaweicloudsdkidentitycenter.v1.CreatePermissionSetResponse` - """ - http_info = self._create_permission_set_http_info(request) - return self._call_api(**http_info) - - def create_permission_set_invoker(self, request): - http_info = self._create_permission_set_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _create_permission_set_http_info(cls, request): - http_info = { - "method": "POST", - "resource_path": "/v1/instances/{instance_id}/permission-sets", - "request_type": request.__class__.__name__, - "response_type": "CreatePermissionSetResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'instance_id' in local_var_params: - path_params['instance_id'] = local_var_params['instance_id'] - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if 'body' in local_var_params: - body = local_var_params['body'] - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json']) - - auth_settings = ['AccessKeyAuth'] - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def delete_permission_set(self, request): - """删除指定实例的权限集 - - 删除指定实例的权限集 - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for DeletePermissionSet - :type request: :class:`huaweicloudsdkidentitycenter.v1.DeletePermissionSetRequest` - :rtype: :class:`huaweicloudsdkidentitycenter.v1.DeletePermissionSetResponse` - """ - http_info = self._delete_permission_set_http_info(request) - return self._call_api(**http_info) - - def delete_permission_set_invoker(self, request): - http_info = self._delete_permission_set_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _delete_permission_set_http_info(cls, request): - http_info = { - "method": "DELETE", - "resource_path": "/v1/instances/{instance_id}/permission-sets/{permission_set_id}", - "request_type": request.__class__.__name__, - "response_type": "DeletePermissionSetResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'instance_id' in local_var_params: - path_params['instance_id'] = local_var_params['instance_id'] - if 'permission_set_id' in local_var_params: - path_params['permission_set_id'] = local_var_params['permission_set_id'] - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json']) - - auth_settings = ['AccessKeyAuth'] - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def describe_permission_set(self, request): - """查询权限集详情 - - 根据权限集ID,查询指定权限集的详情信息 - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for DescribePermissionSet - :type request: :class:`huaweicloudsdkidentitycenter.v1.DescribePermissionSetRequest` - :rtype: :class:`huaweicloudsdkidentitycenter.v1.DescribePermissionSetResponse` - """ - http_info = self._describe_permission_set_http_info(request) - return self._call_api(**http_info) - - def describe_permission_set_invoker(self, request): - http_info = self._describe_permission_set_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _describe_permission_set_http_info(cls, request): - http_info = { - "method": "GET", - "resource_path": "/v1/instances/{instance_id}/permission-sets/{permission_set_id}", - "request_type": request.__class__.__name__, - "response_type": "DescribePermissionSetResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'instance_id' in local_var_params: - path_params['instance_id'] = local_var_params['instance_id'] - if 'permission_set_id' in local_var_params: - path_params['permission_set_id'] = local_var_params['permission_set_id'] - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json']) - - auth_settings = ['AccessKeyAuth'] - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def describe_permission_set_provisioning_status(self, request): - """查询权限集预分配状态详情 - - 根据请求Id,查询权限集预分配状态的详情信息 - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for DescribePermissionSetProvisioningStatus - :type request: :class:`huaweicloudsdkidentitycenter.v1.DescribePermissionSetProvisioningStatusRequest` - :rtype: :class:`huaweicloudsdkidentitycenter.v1.DescribePermissionSetProvisioningStatusResponse` - """ - http_info = self._describe_permission_set_provisioning_status_http_info(request) - return self._call_api(**http_info) - - def describe_permission_set_provisioning_status_invoker(self, request): - http_info = self._describe_permission_set_provisioning_status_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _describe_permission_set_provisioning_status_http_info(cls, request): - http_info = { - "method": "GET", - "resource_path": "/v1/instances/{instance_id}/permission-sets/provisioning-status/{request_id}", - "request_type": request.__class__.__name__, - "response_type": "DescribePermissionSetProvisioningStatusResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'instance_id' in local_var_params: - path_params['instance_id'] = local_var_params['instance_id'] - if 'request_id' in local_var_params: - path_params['request_id'] = local_var_params['request_id'] - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json']) - - auth_settings = ['AccessKeyAuth'] - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def detach_customer_managed_policy_reference_from_permission_set(self, request): - """将附加的客户自定义管理策略从指定的权限集中分离 - - 将附加的客户自定义管理策略从指定的权限集中分离 - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for DetachCustomerManagedPolicyReferenceFromPermissionSet - :type request: :class:`huaweicloudsdkidentitycenter.v1.DetachCustomerManagedPolicyReferenceFromPermissionSetRequest` - :rtype: :class:`huaweicloudsdkidentitycenter.v1.DetachCustomerManagedPolicyReferenceFromPermissionSetResponse` - """ - http_info = self._detach_customer_managed_policy_reference_from_permission_set_http_info(request) - return self._call_api(**http_info) - - def detach_customer_managed_policy_reference_from_permission_set_invoker(self, request): - http_info = self._detach_customer_managed_policy_reference_from_permission_set_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _detach_customer_managed_policy_reference_from_permission_set_http_info(cls, request): - http_info = { - "method": "POST", - "resource_path": "/v1/instances/{instance_id}/permission-sets/{permission_set_id}/detach-customer-managed-policy", - "request_type": request.__class__.__name__, - "response_type": "DetachCustomerManagedPolicyReferenceFromPermissionSetResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'instance_id' in local_var_params: - path_params['instance_id'] = local_var_params['instance_id'] - if 'permission_set_id' in local_var_params: - path_params['permission_set_id'] = local_var_params['permission_set_id'] - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if 'body' in local_var_params: - body = local_var_params['body'] - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json']) - - auth_settings = ['AccessKeyAuth'] - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def detach_managed_policy_from_permission_set(self, request): - """将附加的系统策略从指定的权限集中分离 - - 将附加的系统策略从指定的权限集中分离 - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for DetachManagedPolicyFromPermissionSet - :type request: :class:`huaweicloudsdkidentitycenter.v1.DetachManagedPolicyFromPermissionSetRequest` - :rtype: :class:`huaweicloudsdkidentitycenter.v1.DetachManagedPolicyFromPermissionSetResponse` - """ - http_info = self._detach_managed_policy_from_permission_set_http_info(request) - return self._call_api(**http_info) - - def detach_managed_policy_from_permission_set_invoker(self, request): - http_info = self._detach_managed_policy_from_permission_set_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _detach_managed_policy_from_permission_set_http_info(cls, request): - http_info = { - "method": "POST", - "resource_path": "/v1/instances/{instance_id}/permission-sets/{permission_set_id}/detach-managed-policy", - "request_type": request.__class__.__name__, - "response_type": "DetachManagedPolicyFromPermissionSetResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'instance_id' in local_var_params: - path_params['instance_id'] = local_var_params['instance_id'] - if 'permission_set_id' in local_var_params: - path_params['permission_set_id'] = local_var_params['permission_set_id'] - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if 'body' in local_var_params: - body = local_var_params['body'] - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json']) - - auth_settings = ['AccessKeyAuth'] - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def list_accounts_for_provisioned_permission_set(self, request): - """列出权限集关联的账户 - - 查询与指定权限集关联的账户列表 - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for ListAccountsForProvisionedPermissionSet - :type request: :class:`huaweicloudsdkidentitycenter.v1.ListAccountsForProvisionedPermissionSetRequest` - :rtype: :class:`huaweicloudsdkidentitycenter.v1.ListAccountsForProvisionedPermissionSetResponse` - """ - http_info = self._list_accounts_for_provisioned_permission_set_http_info(request) - return self._call_api(**http_info) - - def list_accounts_for_provisioned_permission_set_invoker(self, request): - http_info = self._list_accounts_for_provisioned_permission_set_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _list_accounts_for_provisioned_permission_set_http_info(cls, request): - http_info = { - "method": "GET", - "resource_path": "/v1/instances/{instance_id}/permission-sets/{permission_set_id}/accounts", - "request_type": request.__class__.__name__, - "response_type": "ListAccountsForProvisionedPermissionSetResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'instance_id' in local_var_params: - path_params['instance_id'] = local_var_params['instance_id'] - if 'permission_set_id' in local_var_params: - path_params['permission_set_id'] = local_var_params['permission_set_id'] - - query_params = [] - if 'limit' in local_var_params: - query_params.append(('limit', local_var_params['limit'])) - if 'marker' in local_var_params: - query_params.append(('marker', local_var_params['marker'])) - if 'provisioning_status' in local_var_params: - query_params.append(('provisioning_status', local_var_params['provisioning_status'])) - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json']) - - auth_settings = ['AccessKeyAuth'] - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def list_customer_managed_policy_references_in_permission_set(self, request): - """获取附加到指定权限集的所有客户自定义策略列表 - - 获取附加到指定权限集的所有客户自定义策略列表 - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for ListCustomerManagedPolicyReferencesInPermissionSet - :type request: :class:`huaweicloudsdkidentitycenter.v1.ListCustomerManagedPolicyReferencesInPermissionSetRequest` - :rtype: :class:`huaweicloudsdkidentitycenter.v1.ListCustomerManagedPolicyReferencesInPermissionSetResponse` - """ - http_info = self._list_customer_managed_policy_references_in_permission_set_http_info(request) - return self._call_api(**http_info) - - def list_customer_managed_policy_references_in_permission_set_invoker(self, request): - http_info = self._list_customer_managed_policy_references_in_permission_set_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _list_customer_managed_policy_references_in_permission_set_http_info(cls, request): - http_info = { - "method": "GET", - "resource_path": "/v1/instances/{instance_id}/permission-sets/{permission_set_id}/customer-managed-policies", - "request_type": request.__class__.__name__, - "response_type": "ListCustomerManagedPolicyReferencesInPermissionSetResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'instance_id' in local_var_params: - path_params['instance_id'] = local_var_params['instance_id'] - if 'permission_set_id' in local_var_params: - path_params['permission_set_id'] = local_var_params['permission_set_id'] - - query_params = [] - if 'limit' in local_var_params: - query_params.append(('limit', local_var_params['limit'])) - if 'marker' in local_var_params: - query_params.append(('marker', local_var_params['marker'])) - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json']) - - auth_settings = ['AccessKeyAuth'] - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def list_managed_policies_in_permission_set(self, request): - """列出权限集中附加的系统管理策略 - - 列出权限集中附加的系统管理策略 - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for ListManagedPoliciesInPermissionSet - :type request: :class:`huaweicloudsdkidentitycenter.v1.ListManagedPoliciesInPermissionSetRequest` - :rtype: :class:`huaweicloudsdkidentitycenter.v1.ListManagedPoliciesInPermissionSetResponse` - """ - http_info = self._list_managed_policies_in_permission_set_http_info(request) - return self._call_api(**http_info) - - def list_managed_policies_in_permission_set_invoker(self, request): - http_info = self._list_managed_policies_in_permission_set_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _list_managed_policies_in_permission_set_http_info(cls, request): - http_info = { - "method": "GET", - "resource_path": "/v1/instances/{instance_id}/permission-sets/{permission_set_id}/managed-policies", - "request_type": request.__class__.__name__, - "response_type": "ListManagedPoliciesInPermissionSetResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'instance_id' in local_var_params: - path_params['instance_id'] = local_var_params['instance_id'] - if 'permission_set_id' in local_var_params: - path_params['permission_set_id'] = local_var_params['permission_set_id'] - - query_params = [] - if 'limit' in local_var_params: - query_params.append(('limit', local_var_params['limit'])) - if 'marker' in local_var_params: - query_params.append(('marker', local_var_params['marker'])) - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json']) - - auth_settings = ['AccessKeyAuth'] - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def list_permission_set_provisioning_status(self, request): - """列出权限集预分配状态 - - 查询指定实例中的权限集预分配状态列表 - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for ListPermissionSetProvisioningStatus - :type request: :class:`huaweicloudsdkidentitycenter.v1.ListPermissionSetProvisioningStatusRequest` - :rtype: :class:`huaweicloudsdkidentitycenter.v1.ListPermissionSetProvisioningStatusResponse` - """ - http_info = self._list_permission_set_provisioning_status_http_info(request) - return self._call_api(**http_info) - - def list_permission_set_provisioning_status_invoker(self, request): - http_info = self._list_permission_set_provisioning_status_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _list_permission_set_provisioning_status_http_info(cls, request): - http_info = { - "method": "GET", - "resource_path": "/v1/instances/{instance_id}/permission-sets/provisioning-statuses", - "request_type": request.__class__.__name__, - "response_type": "ListPermissionSetProvisioningStatusResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'instance_id' in local_var_params: - path_params['instance_id'] = local_var_params['instance_id'] - - query_params = [] - if 'limit' in local_var_params: - query_params.append(('limit', local_var_params['limit'])) - if 'marker' in local_var_params: - query_params.append(('marker', local_var_params['marker'])) - if 'status' in local_var_params: - query_params.append(('status', local_var_params['status'])) - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json']) - - auth_settings = ['AccessKeyAuth'] - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def list_permission_sets(self, request): - """列出指定实例的权限集列表 - - 列出指定实例的权限集列表 - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for ListPermissionSets - :type request: :class:`huaweicloudsdkidentitycenter.v1.ListPermissionSetsRequest` - :rtype: :class:`huaweicloudsdkidentitycenter.v1.ListPermissionSetsResponse` - """ - http_info = self._list_permission_sets_http_info(request) - return self._call_api(**http_info) - - def list_permission_sets_invoker(self, request): - http_info = self._list_permission_sets_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _list_permission_sets_http_info(cls, request): - http_info = { - "method": "GET", - "resource_path": "/v1/instances/{instance_id}/permission-sets", - "request_type": request.__class__.__name__, - "response_type": "ListPermissionSetsResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'instance_id' in local_var_params: - path_params['instance_id'] = local_var_params['instance_id'] - - query_params = [] - if 'limit' in local_var_params: - query_params.append(('limit', local_var_params['limit'])) - if 'marker' in local_var_params: - query_params.append(('marker', local_var_params['marker'])) - if 'permission_set_id' in local_var_params: - query_params.append(('permission_set_id', local_var_params['permission_set_id'])) - if 'permission_urn' in local_var_params: - query_params.append(('permission_urn', local_var_params['permission_urn'])) - if 'name' in local_var_params: - query_params.append(('name', local_var_params['name'])) - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json']) - - auth_settings = ['AccessKeyAuth'] - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def list_permission_sets_provisioned_to_account(self, request): - """列出分配给指定帐户的权限集列表 + def list_instances(self, request): + """列出实例 - 列出分配给指定帐户的权限集列表 + 查询IAM身份中心的实例列表。 Please refer to HUAWEI cloud API Explorer for details. - :param request: Request instance for ListPermissionSetsProvisionedToAccount - :type request: :class:`huaweicloudsdkidentitycenter.v1.ListPermissionSetsProvisionedToAccountRequest` - :rtype: :class:`huaweicloudsdkidentitycenter.v1.ListPermissionSetsProvisionedToAccountResponse` + :param request: Request instance for ListInstances + :type request: :class:`huaweicloudsdkidentitycenter.v1.ListInstancesRequest` + :rtype: :class:`huaweicloudsdkidentitycenter.v1.ListInstancesResponse` """ - http_info = self._list_permission_sets_provisioned_to_account_http_info(request) + http_info = self._list_instances_http_info(request) return self._call_api(**http_info) - def list_permission_sets_provisioned_to_account_invoker(self, request): - http_info = self._list_permission_sets_provisioned_to_account_http_info(request) + def list_instances_invoker(self, request): + http_info = self._list_instances_http_info(request) return SyncInvoker(self, http_info) @classmethod - def _list_permission_sets_provisioned_to_account_http_info(cls, request): + def _list_instances_http_info(cls, request): http_info = { "method": "GET", - "resource_path": "/v1/instances/{instance_id}/permission-sets/provisioned-to-accounts", + "resource_path": "/v1/instances", "request_type": request.__class__.__name__, - "response_type": "ListPermissionSetsProvisionedToAccountResponse" + "response_type": "ListInstancesResponse" } local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} @@ -1588,93 +66,20 @@ def _list_permission_sets_provisioned_to_account_http_info(cls, request): collection_formats = {} path_params = {} - if 'instance_id' in local_var_params: - path_params['instance_id'] = local_var_params['instance_id'] query_params = [] if 'limit' in local_var_params: query_params.append(('limit', local_var_params['limit'])) if 'marker' in local_var_params: query_params.append(('marker', local_var_params['marker'])) - if 'account_id' in local_var_params: - query_params.append(('account_id', local_var_params['account_id'])) - if 'provisioning_status' in local_var_params: - query_params.append(('provisioning_status', local_var_params['provisioning_status'])) - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json']) - - auth_settings = ['AccessKeyAuth'] - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def update_permission_set(self, request): - """更新权限集 - - 根据权限集ID,删除指定权限集的属性 - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for UpdatePermissionSet - :type request: :class:`huaweicloudsdkidentitycenter.v1.UpdatePermissionSetRequest` - :rtype: :class:`huaweicloudsdkidentitycenter.v1.UpdatePermissionSetResponse` - """ - http_info = self._update_permission_set_http_info(request) - return self._call_api(**http_info) - - def update_permission_set_invoker(self, request): - http_info = self._update_permission_set_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _update_permission_set_http_info(cls, request): - http_info = { - "method": "PUT", - "resource_path": "/v1/instances/{instance_id}/permission-sets/{permission_set_id}", - "request_type": request.__class__.__name__, - "response_type": "UpdatePermissionSetResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'instance_id' in local_var_params: - path_params['instance_id'] = local_var_params['instance_id'] - if 'permission_set_id' in local_var_params: - path_params['permission_set_id'] = local_var_params['permission_set_id'] - - query_params = [] header_params = {} + if 'x_security_token' in local_var_params: + header_params['X-Security-Token'] = local_var_params['x_security_token'] form_params = {} body = None - if 'body' in local_var_params: - body = local_var_params['body'] if isinstance(request, SdkStreamRequest): body = request.get_file_stream() diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/__init__.py b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/__init__.py index 081c6db6b0..d2eec763e3 100644 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/__init__.py +++ b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/__init__.py @@ -3,72 +3,7 @@ from __future__ import absolute_import # import models into model package -from huaweicloudsdkidentitycenter.v1.model.accessor_dto import AccessorDto -from huaweicloudsdkidentitycenter.v1.model.account_assignment_dto import AccountAssignmentDto -from huaweicloudsdkidentitycenter.v1.model.account_assignment_operation_status_dto import AccountAssignmentOperationStatusDto -from huaweicloudsdkidentitycenter.v1.model.account_assignment_operation_status_metadata_dto import AccountAssignmentOperationStatusMetadataDto -from huaweicloudsdkidentitycenter.v1.model.association_dto import AssociationDto -from huaweicloudsdkidentitycenter.v1.model.attach_customer_managed_policy_to_permission_set_req_body import AttachCustomerManagedPolicyToPermissionSetReqBody -from huaweicloudsdkidentitycenter.v1.model.attach_customer_managed_policy_to_permission_set_request import AttachCustomerManagedPolicyToPermissionSetRequest -from huaweicloudsdkidentitycenter.v1.model.attach_customer_managed_policy_to_permission_set_response import AttachCustomerManagedPolicyToPermissionSetResponse -from huaweicloudsdkidentitycenter.v1.model.attach_managed_policy_to_permission_set_req_body import AttachManagedPolicyToPermissionSetReqBody -from huaweicloudsdkidentitycenter.v1.model.attach_managed_policy_to_permission_set_request import AttachManagedPolicyToPermissionSetRequest -from huaweicloudsdkidentitycenter.v1.model.attach_managed_policy_to_permission_set_response import AttachManagedPolicyToPermissionSetResponse -from huaweicloudsdkidentitycenter.v1.model.attached_managed_policy_dto import AttachedManagedPolicyDto -from huaweicloudsdkidentitycenter.v1.model.create_account_assignment_req_body import CreateAccountAssignmentReqBody -from huaweicloudsdkidentitycenter.v1.model.create_account_assignment_request import CreateAccountAssignmentRequest -from huaweicloudsdkidentitycenter.v1.model.create_account_assignment_response import CreateAccountAssignmentResponse -from huaweicloudsdkidentitycenter.v1.model.create_permission_set_req_body import CreatePermissionSetReqBody -from huaweicloudsdkidentitycenter.v1.model.create_permission_set_request import CreatePermissionSetRequest -from huaweicloudsdkidentitycenter.v1.model.create_permission_set_response import CreatePermissionSetResponse -from huaweicloudsdkidentitycenter.v1.model.customer_managed_policy_reference_dto import CustomerManagedPolicyReferenceDto -from huaweicloudsdkidentitycenter.v1.model.delete_account_assignment_req_body import DeleteAccountAssignmentReqBody -from huaweicloudsdkidentitycenter.v1.model.delete_account_assignment_request import DeleteAccountAssignmentRequest -from huaweicloudsdkidentitycenter.v1.model.delete_account_assignment_response import DeleteAccountAssignmentResponse -from huaweicloudsdkidentitycenter.v1.model.delete_permission_set_request import DeletePermissionSetRequest -from huaweicloudsdkidentitycenter.v1.model.delete_permission_set_response import DeletePermissionSetResponse -from huaweicloudsdkidentitycenter.v1.model.describe_account_assignment_creation_status_request import DescribeAccountAssignmentCreationStatusRequest -from huaweicloudsdkidentitycenter.v1.model.describe_account_assignment_creation_status_response import DescribeAccountAssignmentCreationStatusResponse -from huaweicloudsdkidentitycenter.v1.model.describe_account_assignment_deletion_status_request import DescribeAccountAssignmentDeletionStatusRequest -from huaweicloudsdkidentitycenter.v1.model.describe_account_assignment_deletion_status_response import DescribeAccountAssignmentDeletionStatusResponse -from huaweicloudsdkidentitycenter.v1.model.describe_permission_set_provisioning_status_request import DescribePermissionSetProvisioningStatusRequest -from huaweicloudsdkidentitycenter.v1.model.describe_permission_set_provisioning_status_response import DescribePermissionSetProvisioningStatusResponse -from huaweicloudsdkidentitycenter.v1.model.describe_permission_set_request import DescribePermissionSetRequest -from huaweicloudsdkidentitycenter.v1.model.describe_permission_set_response import DescribePermissionSetResponse -from huaweicloudsdkidentitycenter.v1.model.detach_customer_managed_policy_reference_from_permission_set_req_body import DetachCustomerManagedPolicyReferenceFromPermissionSetReqBody -from huaweicloudsdkidentitycenter.v1.model.detach_customer_managed_policy_reference_from_permission_set_request import DetachCustomerManagedPolicyReferenceFromPermissionSetRequest -from huaweicloudsdkidentitycenter.v1.model.detach_customer_managed_policy_reference_from_permission_set_response import DetachCustomerManagedPolicyReferenceFromPermissionSetResponse -from huaweicloudsdkidentitycenter.v1.model.detach_managed_policy_from_permission_set_req_body import DetachManagedPolicyFromPermissionSetReqBody -from huaweicloudsdkidentitycenter.v1.model.detach_managed_policy_from_permission_set_request import DetachManagedPolicyFromPermissionSetRequest -from huaweicloudsdkidentitycenter.v1.model.detach_managed_policy_from_permission_set_response import DetachManagedPolicyFromPermissionSetResponse from huaweicloudsdkidentitycenter.v1.model.instance_metadata_entry_dto import InstanceMetadataEntryDto -from huaweicloudsdkidentitycenter.v1.model.list_account_assignment_creation_status_request import ListAccountAssignmentCreationStatusRequest -from huaweicloudsdkidentitycenter.v1.model.list_account_assignment_creation_status_response import ListAccountAssignmentCreationStatusResponse -from huaweicloudsdkidentitycenter.v1.model.list_account_assignment_deletion_status_request import ListAccountAssignmentDeletionStatusRequest -from huaweicloudsdkidentitycenter.v1.model.list_account_assignment_deletion_status_response import ListAccountAssignmentDeletionStatusResponse -from huaweicloudsdkidentitycenter.v1.model.list_account_assignments_request import ListAccountAssignmentsRequest -from huaweicloudsdkidentitycenter.v1.model.list_account_assignments_response import ListAccountAssignmentsResponse -from huaweicloudsdkidentitycenter.v1.model.list_accounts_for_provisioned_permission_set_request import ListAccountsForProvisionedPermissionSetRequest -from huaweicloudsdkidentitycenter.v1.model.list_accounts_for_provisioned_permission_set_response import ListAccountsForProvisionedPermissionSetResponse -from huaweicloudsdkidentitycenter.v1.model.list_customer_managed_policy_references_in_permission_set_request import ListCustomerManagedPolicyReferencesInPermissionSetRequest -from huaweicloudsdkidentitycenter.v1.model.list_customer_managed_policy_references_in_permission_set_response import ListCustomerManagedPolicyReferencesInPermissionSetResponse from huaweicloudsdkidentitycenter.v1.model.list_instances_request import ListInstancesRequest from huaweicloudsdkidentitycenter.v1.model.list_instances_response import ListInstancesResponse -from huaweicloudsdkidentitycenter.v1.model.list_managed_policies_in_permission_set_request import ListManagedPoliciesInPermissionSetRequest -from huaweicloudsdkidentitycenter.v1.model.list_managed_policies_in_permission_set_response import ListManagedPoliciesInPermissionSetResponse -from huaweicloudsdkidentitycenter.v1.model.list_permission_set_provisioning_status_request import ListPermissionSetProvisioningStatusRequest -from huaweicloudsdkidentitycenter.v1.model.list_permission_set_provisioning_status_response import ListPermissionSetProvisioningStatusResponse -from huaweicloudsdkidentitycenter.v1.model.list_permission_sets_provisioned_to_account_request import ListPermissionSetsProvisionedToAccountRequest -from huaweicloudsdkidentitycenter.v1.model.list_permission_sets_provisioned_to_account_response import ListPermissionSetsProvisionedToAccountResponse -from huaweicloudsdkidentitycenter.v1.model.list_permission_sets_request import ListPermissionSetsRequest -from huaweicloudsdkidentitycenter.v1.model.list_permission_sets_response import ListPermissionSetsResponse -from huaweicloudsdkidentitycenter.v1.model.list_profile_associations_request import ListProfileAssociationsRequest -from huaweicloudsdkidentitycenter.v1.model.list_profile_associations_response import ListProfileAssociationsResponse from huaweicloudsdkidentitycenter.v1.model.page_info_dto import PageInfoDto -from huaweicloudsdkidentitycenter.v1.model.permission_set_dto import PermissionSetDto -from huaweicloudsdkidentitycenter.v1.model.permission_set_provisioning_status_dto import PermissionSetProvisioningStatusDto -from huaweicloudsdkidentitycenter.v1.model.permission_set_provisioning_status_metadata_dto import PermissionSetProvisioningStatusMetadataDto -from huaweicloudsdkidentitycenter.v1.model.tag_dto import TagDto -from huaweicloudsdkidentitycenter.v1.model.update_permission_set_req_body import UpdatePermissionSetReqBody -from huaweicloudsdkidentitycenter.v1.model.update_permission_set_request import UpdatePermissionSetRequest -from huaweicloudsdkidentitycenter.v1.model.update_permission_set_response import UpdatePermissionSetResponse diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/account_assignment_dto.py b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/account_assignment_dto.py deleted file mode 100644 index 061e948486..0000000000 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/account_assignment_dto.py +++ /dev/null @@ -1,202 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class AccountAssignmentDto: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - 'account_id': 'str', - 'permission_set_id': 'str', - 'principal_id': 'str', - 'principal_type': 'str' - } - - attribute_map = { - 'account_id': 'account_id', - 'permission_set_id': 'permission_set_id', - 'principal_id': 'principal_id', - 'principal_type': 'principal_type' - } - - def __init__(self, account_id=None, permission_set_id=None, principal_id=None, principal_type=None): - """AccountAssignmentDto - - The model defined in huaweicloud sdk - - :param account_id: 账号的唯一标识 - :type account_id: str - :param permission_set_id: 权限集唯一标识 - :type permission_set_id: str - :param principal_id: IAM身份中心中的一个实体身份唯一标识,例如用户或用户组 - :type principal_id: str - :param principal_type: 创建绑定的实体类型 - :type principal_type: str - """ - - - - self._account_id = None - self._permission_set_id = None - self._principal_id = None - self._principal_type = None - self.discriminator = None - - if account_id is not None: - self.account_id = account_id - if permission_set_id is not None: - self.permission_set_id = permission_set_id - if principal_id is not None: - self.principal_id = principal_id - if principal_type is not None: - self.principal_type = principal_type - - @property - def account_id(self): - """Gets the account_id of this AccountAssignmentDto. - - 账号的唯一标识 - - :return: The account_id of this AccountAssignmentDto. - :rtype: str - """ - return self._account_id - - @account_id.setter - def account_id(self, account_id): - """Sets the account_id of this AccountAssignmentDto. - - 账号的唯一标识 - - :param account_id: The account_id of this AccountAssignmentDto. - :type account_id: str - """ - self._account_id = account_id - - @property - def permission_set_id(self): - """Gets the permission_set_id of this AccountAssignmentDto. - - 权限集唯一标识 - - :return: The permission_set_id of this AccountAssignmentDto. - :rtype: str - """ - return self._permission_set_id - - @permission_set_id.setter - def permission_set_id(self, permission_set_id): - """Sets the permission_set_id of this AccountAssignmentDto. - - 权限集唯一标识 - - :param permission_set_id: The permission_set_id of this AccountAssignmentDto. - :type permission_set_id: str - """ - self._permission_set_id = permission_set_id - - @property - def principal_id(self): - """Gets the principal_id of this AccountAssignmentDto. - - IAM身份中心中的一个实体身份唯一标识,例如用户或用户组 - - :return: The principal_id of this AccountAssignmentDto. - :rtype: str - """ - return self._principal_id - - @principal_id.setter - def principal_id(self, principal_id): - """Sets the principal_id of this AccountAssignmentDto. - - IAM身份中心中的一个实体身份唯一标识,例如用户或用户组 - - :param principal_id: The principal_id of this AccountAssignmentDto. - :type principal_id: str - """ - self._principal_id = principal_id - - @property - def principal_type(self): - """Gets the principal_type of this AccountAssignmentDto. - - 创建绑定的实体类型 - - :return: The principal_type of this AccountAssignmentDto. - :rtype: str - """ - return self._principal_type - - @principal_type.setter - def principal_type(self, principal_type): - """Sets the principal_type of this AccountAssignmentDto. - - 创建绑定的实体类型 - - :param principal_type: The principal_type of this AccountAssignmentDto. - :type principal_type: str - """ - self._principal_type = principal_type - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - if attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - if six.PY2: - import sys - reload(sys) - sys.setdefaultencoding("utf-8") - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AccountAssignmentDto): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/account_assignment_operation_status_dto.py b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/account_assignment_operation_status_dto.py deleted file mode 100644 index b907aea1a2..0000000000 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/account_assignment_operation_status_dto.py +++ /dev/null @@ -1,347 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class AccountAssignmentOperationStatusDto: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - 'created_date': 'int', - 'failure_reason': 'str', - 'permission_set_id': 'str', - 'principal_id': 'str', - 'principal_type': 'str', - 'request_id': 'str', - 'status': 'str', - 'target_id': 'str', - 'target_type': 'str' - } - - attribute_map = { - 'created_date': 'created_date', - 'failure_reason': 'failure_reason', - 'permission_set_id': 'permission_set_id', - 'principal_id': 'principal_id', - 'principal_type': 'principal_type', - 'request_id': 'request_id', - 'status': 'status', - 'target_id': 'target_id', - 'target_type': 'target_type' - } - - def __init__(self, created_date=None, failure_reason=None, permission_set_id=None, principal_id=None, principal_type=None, request_id=None, status=None, target_id=None, target_type=None): - """AccountAssignmentOperationStatusDto - - The model defined in huaweicloud sdk - - :param created_date: 权限集创建日期 - :type created_date: int - :param failure_reason: 失败原因 - :type failure_reason: str - :param permission_set_id: 权限集唯一标识 - :type permission_set_id: str - :param principal_id: IAM身份中心中的一个实体身份唯一标识,例如用户或用户组 - :type principal_id: str - :param principal_type: 创建绑定的实体类型 - :type principal_type: str - :param request_id: 请求唯一标识 - :type request_id: str - :param status: 权限集授权状态 - :type status: str - :param target_id: 目标实体的唯一标识 - :type target_id: str - :param target_type: 实体类型 - :type target_type: str - """ - - - - self._created_date = None - self._failure_reason = None - self._permission_set_id = None - self._principal_id = None - self._principal_type = None - self._request_id = None - self._status = None - self._target_id = None - self._target_type = None - self.discriminator = None - - if created_date is not None: - self.created_date = created_date - if failure_reason is not None: - self.failure_reason = failure_reason - if permission_set_id is not None: - self.permission_set_id = permission_set_id - if principal_id is not None: - self.principal_id = principal_id - if principal_type is not None: - self.principal_type = principal_type - if request_id is not None: - self.request_id = request_id - if status is not None: - self.status = status - if target_id is not None: - self.target_id = target_id - if target_type is not None: - self.target_type = target_type - - @property - def created_date(self): - """Gets the created_date of this AccountAssignmentOperationStatusDto. - - 权限集创建日期 - - :return: The created_date of this AccountAssignmentOperationStatusDto. - :rtype: int - """ - return self._created_date - - @created_date.setter - def created_date(self, created_date): - """Sets the created_date of this AccountAssignmentOperationStatusDto. - - 权限集创建日期 - - :param created_date: The created_date of this AccountAssignmentOperationStatusDto. - :type created_date: int - """ - self._created_date = created_date - - @property - def failure_reason(self): - """Gets the failure_reason of this AccountAssignmentOperationStatusDto. - - 失败原因 - - :return: The failure_reason of this AccountAssignmentOperationStatusDto. - :rtype: str - """ - return self._failure_reason - - @failure_reason.setter - def failure_reason(self, failure_reason): - """Sets the failure_reason of this AccountAssignmentOperationStatusDto. - - 失败原因 - - :param failure_reason: The failure_reason of this AccountAssignmentOperationStatusDto. - :type failure_reason: str - """ - self._failure_reason = failure_reason - - @property - def permission_set_id(self): - """Gets the permission_set_id of this AccountAssignmentOperationStatusDto. - - 权限集唯一标识 - - :return: The permission_set_id of this AccountAssignmentOperationStatusDto. - :rtype: str - """ - return self._permission_set_id - - @permission_set_id.setter - def permission_set_id(self, permission_set_id): - """Sets the permission_set_id of this AccountAssignmentOperationStatusDto. - - 权限集唯一标识 - - :param permission_set_id: The permission_set_id of this AccountAssignmentOperationStatusDto. - :type permission_set_id: str - """ - self._permission_set_id = permission_set_id - - @property - def principal_id(self): - """Gets the principal_id of this AccountAssignmentOperationStatusDto. - - IAM身份中心中的一个实体身份唯一标识,例如用户或用户组 - - :return: The principal_id of this AccountAssignmentOperationStatusDto. - :rtype: str - """ - return self._principal_id - - @principal_id.setter - def principal_id(self, principal_id): - """Sets the principal_id of this AccountAssignmentOperationStatusDto. - - IAM身份中心中的一个实体身份唯一标识,例如用户或用户组 - - :param principal_id: The principal_id of this AccountAssignmentOperationStatusDto. - :type principal_id: str - """ - self._principal_id = principal_id - - @property - def principal_type(self): - """Gets the principal_type of this AccountAssignmentOperationStatusDto. - - 创建绑定的实体类型 - - :return: The principal_type of this AccountAssignmentOperationStatusDto. - :rtype: str - """ - return self._principal_type - - @principal_type.setter - def principal_type(self, principal_type): - """Sets the principal_type of this AccountAssignmentOperationStatusDto. - - 创建绑定的实体类型 - - :param principal_type: The principal_type of this AccountAssignmentOperationStatusDto. - :type principal_type: str - """ - self._principal_type = principal_type - - @property - def request_id(self): - """Gets the request_id of this AccountAssignmentOperationStatusDto. - - 请求唯一标识 - - :return: The request_id of this AccountAssignmentOperationStatusDto. - :rtype: str - """ - return self._request_id - - @request_id.setter - def request_id(self, request_id): - """Sets the request_id of this AccountAssignmentOperationStatusDto. - - 请求唯一标识 - - :param request_id: The request_id of this AccountAssignmentOperationStatusDto. - :type request_id: str - """ - self._request_id = request_id - - @property - def status(self): - """Gets the status of this AccountAssignmentOperationStatusDto. - - 权限集授权状态 - - :return: The status of this AccountAssignmentOperationStatusDto. - :rtype: str - """ - return self._status - - @status.setter - def status(self, status): - """Sets the status of this AccountAssignmentOperationStatusDto. - - 权限集授权状态 - - :param status: The status of this AccountAssignmentOperationStatusDto. - :type status: str - """ - self._status = status - - @property - def target_id(self): - """Gets the target_id of this AccountAssignmentOperationStatusDto. - - 目标实体的唯一标识 - - :return: The target_id of this AccountAssignmentOperationStatusDto. - :rtype: str - """ - return self._target_id - - @target_id.setter - def target_id(self, target_id): - """Sets the target_id of this AccountAssignmentOperationStatusDto. - - 目标实体的唯一标识 - - :param target_id: The target_id of this AccountAssignmentOperationStatusDto. - :type target_id: str - """ - self._target_id = target_id - - @property - def target_type(self): - """Gets the target_type of this AccountAssignmentOperationStatusDto. - - 实体类型 - - :return: The target_type of this AccountAssignmentOperationStatusDto. - :rtype: str - """ - return self._target_type - - @target_type.setter - def target_type(self, target_type): - """Sets the target_type of this AccountAssignmentOperationStatusDto. - - 实体类型 - - :param target_type: The target_type of this AccountAssignmentOperationStatusDto. - :type target_type: str - """ - self._target_type = target_type - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - if attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - if six.PY2: - import sys - reload(sys) - sys.setdefaultencoding("utf-8") - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AccountAssignmentOperationStatusDto): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/account_assignment_operation_status_metadata_dto.py b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/account_assignment_operation_status_metadata_dto.py deleted file mode 100644 index 655fa0b774..0000000000 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/account_assignment_operation_status_metadata_dto.py +++ /dev/null @@ -1,173 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class AccountAssignmentOperationStatusMetadataDto: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - 'created_date': 'int', - 'request_id': 'str', - 'status': 'str' - } - - attribute_map = { - 'created_date': 'created_date', - 'request_id': 'request_id', - 'status': 'status' - } - - def __init__(self, created_date=None, request_id=None, status=None): - """AccountAssignmentOperationStatusMetadataDto - - The model defined in huaweicloud sdk - - :param created_date: 创建日期 - :type created_date: int - :param request_id: 请求唯一标识 - :type request_id: str - :param status: 权限集授权状态 - :type status: str - """ - - - - self._created_date = None - self._request_id = None - self._status = None - self.discriminator = None - - if created_date is not None: - self.created_date = created_date - if request_id is not None: - self.request_id = request_id - if status is not None: - self.status = status - - @property - def created_date(self): - """Gets the created_date of this AccountAssignmentOperationStatusMetadataDto. - - 创建日期 - - :return: The created_date of this AccountAssignmentOperationStatusMetadataDto. - :rtype: int - """ - return self._created_date - - @created_date.setter - def created_date(self, created_date): - """Sets the created_date of this AccountAssignmentOperationStatusMetadataDto. - - 创建日期 - - :param created_date: The created_date of this AccountAssignmentOperationStatusMetadataDto. - :type created_date: int - """ - self._created_date = created_date - - @property - def request_id(self): - """Gets the request_id of this AccountAssignmentOperationStatusMetadataDto. - - 请求唯一标识 - - :return: The request_id of this AccountAssignmentOperationStatusMetadataDto. - :rtype: str - """ - return self._request_id - - @request_id.setter - def request_id(self, request_id): - """Sets the request_id of this AccountAssignmentOperationStatusMetadataDto. - - 请求唯一标识 - - :param request_id: The request_id of this AccountAssignmentOperationStatusMetadataDto. - :type request_id: str - """ - self._request_id = request_id - - @property - def status(self): - """Gets the status of this AccountAssignmentOperationStatusMetadataDto. - - 权限集授权状态 - - :return: The status of this AccountAssignmentOperationStatusMetadataDto. - :rtype: str - """ - return self._status - - @status.setter - def status(self, status): - """Sets the status of this AccountAssignmentOperationStatusMetadataDto. - - 权限集授权状态 - - :param status: The status of this AccountAssignmentOperationStatusMetadataDto. - :type status: str - """ - self._status = status - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - if attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - if six.PY2: - import sys - reload(sys) - sys.setdefaultencoding("utf-8") - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AccountAssignmentOperationStatusMetadataDto): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/attach_customer_managed_policy_to_permission_set_req_body.py b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/attach_customer_managed_policy_to_permission_set_req_body.py deleted file mode 100644 index d7bf3c82c1..0000000000 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/attach_customer_managed_policy_to_permission_set_req_body.py +++ /dev/null @@ -1,173 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class AttachCustomerManagedPolicyToPermissionSetReqBody: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - 'policy_name': 'str', - 'policy_content': 'str', - 'description': 'str' - } - - attribute_map = { - 'policy_name': 'policy_name', - 'policy_content': 'policy_content', - 'description': 'description' - } - - def __init__(self, policy_name=None, policy_content=None, description=None): - """AttachCustomerManagedPolicyToPermissionSetReqBody - - The model defined in huaweicloud sdk - - :param policy_name: 策略名称 - :type policy_name: str - :param policy_content: 策略内容 - :type policy_content: str - :param description: 策略描述 - :type description: str - """ - - - - self._policy_name = None - self._policy_content = None - self._description = None - self.discriminator = None - - if policy_name is not None: - self.policy_name = policy_name - if policy_content is not None: - self.policy_content = policy_content - if description is not None: - self.description = description - - @property - def policy_name(self): - """Gets the policy_name of this AttachCustomerManagedPolicyToPermissionSetReqBody. - - 策略名称 - - :return: The policy_name of this AttachCustomerManagedPolicyToPermissionSetReqBody. - :rtype: str - """ - return self._policy_name - - @policy_name.setter - def policy_name(self, policy_name): - """Sets the policy_name of this AttachCustomerManagedPolicyToPermissionSetReqBody. - - 策略名称 - - :param policy_name: The policy_name of this AttachCustomerManagedPolicyToPermissionSetReqBody. - :type policy_name: str - """ - self._policy_name = policy_name - - @property - def policy_content(self): - """Gets the policy_content of this AttachCustomerManagedPolicyToPermissionSetReqBody. - - 策略内容 - - :return: The policy_content of this AttachCustomerManagedPolicyToPermissionSetReqBody. - :rtype: str - """ - return self._policy_content - - @policy_content.setter - def policy_content(self, policy_content): - """Sets the policy_content of this AttachCustomerManagedPolicyToPermissionSetReqBody. - - 策略内容 - - :param policy_content: The policy_content of this AttachCustomerManagedPolicyToPermissionSetReqBody. - :type policy_content: str - """ - self._policy_content = policy_content - - @property - def description(self): - """Gets the description of this AttachCustomerManagedPolicyToPermissionSetReqBody. - - 策略描述 - - :return: The description of this AttachCustomerManagedPolicyToPermissionSetReqBody. - :rtype: str - """ - return self._description - - @description.setter - def description(self, description): - """Sets the description of this AttachCustomerManagedPolicyToPermissionSetReqBody. - - 策略描述 - - :param description: The description of this AttachCustomerManagedPolicyToPermissionSetReqBody. - :type description: str - """ - self._description = description - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - if attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - if six.PY2: - import sys - reload(sys) - sys.setdefaultencoding("utf-8") - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AttachCustomerManagedPolicyToPermissionSetReqBody): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/attach_customer_managed_policy_to_permission_set_request.py b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/attach_customer_managed_policy_to_permission_set_request.py deleted file mode 100644 index 2590cec184..0000000000 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/attach_customer_managed_policy_to_permission_set_request.py +++ /dev/null @@ -1,159 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class AttachCustomerManagedPolicyToPermissionSetRequest: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - 'permission_set_id': 'str', - 'instance_id': 'str', - 'body': 'AttachCustomerManagedPolicyToPermissionSetReqBody' - } - - attribute_map = { - 'permission_set_id': 'permission_set_id', - 'instance_id': 'instance_id', - 'body': 'body' - } - - def __init__(self, permission_set_id=None, instance_id=None, body=None): - """AttachCustomerManagedPolicyToPermissionSetRequest - - The model defined in huaweicloud sdk - - :param permission_set_id: - :type permission_set_id: str - :param instance_id: - :type instance_id: str - :param body: Body of the AttachCustomerManagedPolicyToPermissionSetRequest - :type body: :class:`huaweicloudsdkidentitycenter.v1.AttachCustomerManagedPolicyToPermissionSetReqBody` - """ - - - - self._permission_set_id = None - self._instance_id = None - self._body = None - self.discriminator = None - - self.permission_set_id = permission_set_id - self.instance_id = instance_id - if body is not None: - self.body = body - - @property - def permission_set_id(self): - """Gets the permission_set_id of this AttachCustomerManagedPolicyToPermissionSetRequest. - - :return: The permission_set_id of this AttachCustomerManagedPolicyToPermissionSetRequest. - :rtype: str - """ - return self._permission_set_id - - @permission_set_id.setter - def permission_set_id(self, permission_set_id): - """Sets the permission_set_id of this AttachCustomerManagedPolicyToPermissionSetRequest. - - :param permission_set_id: The permission_set_id of this AttachCustomerManagedPolicyToPermissionSetRequest. - :type permission_set_id: str - """ - self._permission_set_id = permission_set_id - - @property - def instance_id(self): - """Gets the instance_id of this AttachCustomerManagedPolicyToPermissionSetRequest. - - :return: The instance_id of this AttachCustomerManagedPolicyToPermissionSetRequest. - :rtype: str - """ - return self._instance_id - - @instance_id.setter - def instance_id(self, instance_id): - """Sets the instance_id of this AttachCustomerManagedPolicyToPermissionSetRequest. - - :param instance_id: The instance_id of this AttachCustomerManagedPolicyToPermissionSetRequest. - :type instance_id: str - """ - self._instance_id = instance_id - - @property - def body(self): - """Gets the body of this AttachCustomerManagedPolicyToPermissionSetRequest. - - :return: The body of this AttachCustomerManagedPolicyToPermissionSetRequest. - :rtype: :class:`huaweicloudsdkidentitycenter.v1.AttachCustomerManagedPolicyToPermissionSetReqBody` - """ - return self._body - - @body.setter - def body(self, body): - """Sets the body of this AttachCustomerManagedPolicyToPermissionSetRequest. - - :param body: The body of this AttachCustomerManagedPolicyToPermissionSetRequest. - :type body: :class:`huaweicloudsdkidentitycenter.v1.AttachCustomerManagedPolicyToPermissionSetReqBody` - """ - self._body = body - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - if attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - if six.PY2: - import sys - reload(sys) - sys.setdefaultencoding("utf-8") - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AttachCustomerManagedPolicyToPermissionSetRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/attach_managed_policy_to_permission_set_req_body.py b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/attach_managed_policy_to_permission_set_req_body.py deleted file mode 100644 index 864872471a..0000000000 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/attach_managed_policy_to_permission_set_req_body.py +++ /dev/null @@ -1,143 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class AttachManagedPolicyToPermissionSetReqBody: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - 'managed_policy_id': 'str', - 'managed_policy_name': 'str' - } - - attribute_map = { - 'managed_policy_id': 'managed_policy_id', - 'managed_policy_name': 'managed_policy_name' - } - - def __init__(self, managed_policy_id=None, managed_policy_name=None): - """AttachManagedPolicyToPermissionSetReqBody - - The model defined in huaweicloud sdk - - :param managed_policy_id: 系统管理策略唯一标识 - :type managed_policy_id: str - :param managed_policy_name: 系统管理策略名称 - :type managed_policy_name: str - """ - - - - self._managed_policy_id = None - self._managed_policy_name = None - self.discriminator = None - - self.managed_policy_id = managed_policy_id - if managed_policy_name is not None: - self.managed_policy_name = managed_policy_name - - @property - def managed_policy_id(self): - """Gets the managed_policy_id of this AttachManagedPolicyToPermissionSetReqBody. - - 系统管理策略唯一标识 - - :return: The managed_policy_id of this AttachManagedPolicyToPermissionSetReqBody. - :rtype: str - """ - return self._managed_policy_id - - @managed_policy_id.setter - def managed_policy_id(self, managed_policy_id): - """Sets the managed_policy_id of this AttachManagedPolicyToPermissionSetReqBody. - - 系统管理策略唯一标识 - - :param managed_policy_id: The managed_policy_id of this AttachManagedPolicyToPermissionSetReqBody. - :type managed_policy_id: str - """ - self._managed_policy_id = managed_policy_id - - @property - def managed_policy_name(self): - """Gets the managed_policy_name of this AttachManagedPolicyToPermissionSetReqBody. - - 系统管理策略名称 - - :return: The managed_policy_name of this AttachManagedPolicyToPermissionSetReqBody. - :rtype: str - """ - return self._managed_policy_name - - @managed_policy_name.setter - def managed_policy_name(self, managed_policy_name): - """Sets the managed_policy_name of this AttachManagedPolicyToPermissionSetReqBody. - - 系统管理策略名称 - - :param managed_policy_name: The managed_policy_name of this AttachManagedPolicyToPermissionSetReqBody. - :type managed_policy_name: str - """ - self._managed_policy_name = managed_policy_name - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - if attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - if six.PY2: - import sys - reload(sys) - sys.setdefaultencoding("utf-8") - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AttachManagedPolicyToPermissionSetReqBody): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/attach_managed_policy_to_permission_set_request.py b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/attach_managed_policy_to_permission_set_request.py deleted file mode 100644 index 1302c528b9..0000000000 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/attach_managed_policy_to_permission_set_request.py +++ /dev/null @@ -1,159 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class AttachManagedPolicyToPermissionSetRequest: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - 'instance_id': 'str', - 'permission_set_id': 'str', - 'body': 'AttachManagedPolicyToPermissionSetReqBody' - } - - attribute_map = { - 'instance_id': 'instance_id', - 'permission_set_id': 'permission_set_id', - 'body': 'body' - } - - def __init__(self, instance_id=None, permission_set_id=None, body=None): - """AttachManagedPolicyToPermissionSetRequest - - The model defined in huaweicloud sdk - - :param instance_id: - :type instance_id: str - :param permission_set_id: - :type permission_set_id: str - :param body: Body of the AttachManagedPolicyToPermissionSetRequest - :type body: :class:`huaweicloudsdkidentitycenter.v1.AttachManagedPolicyToPermissionSetReqBody` - """ - - - - self._instance_id = None - self._permission_set_id = None - self._body = None - self.discriminator = None - - self.instance_id = instance_id - self.permission_set_id = permission_set_id - if body is not None: - self.body = body - - @property - def instance_id(self): - """Gets the instance_id of this AttachManagedPolicyToPermissionSetRequest. - - :return: The instance_id of this AttachManagedPolicyToPermissionSetRequest. - :rtype: str - """ - return self._instance_id - - @instance_id.setter - def instance_id(self, instance_id): - """Sets the instance_id of this AttachManagedPolicyToPermissionSetRequest. - - :param instance_id: The instance_id of this AttachManagedPolicyToPermissionSetRequest. - :type instance_id: str - """ - self._instance_id = instance_id - - @property - def permission_set_id(self): - """Gets the permission_set_id of this AttachManagedPolicyToPermissionSetRequest. - - :return: The permission_set_id of this AttachManagedPolicyToPermissionSetRequest. - :rtype: str - """ - return self._permission_set_id - - @permission_set_id.setter - def permission_set_id(self, permission_set_id): - """Sets the permission_set_id of this AttachManagedPolicyToPermissionSetRequest. - - :param permission_set_id: The permission_set_id of this AttachManagedPolicyToPermissionSetRequest. - :type permission_set_id: str - """ - self._permission_set_id = permission_set_id - - @property - def body(self): - """Gets the body of this AttachManagedPolicyToPermissionSetRequest. - - :return: The body of this AttachManagedPolicyToPermissionSetRequest. - :rtype: :class:`huaweicloudsdkidentitycenter.v1.AttachManagedPolicyToPermissionSetReqBody` - """ - return self._body - - @body.setter - def body(self, body): - """Sets the body of this AttachManagedPolicyToPermissionSetRequest. - - :param body: The body of this AttachManagedPolicyToPermissionSetRequest. - :type body: :class:`huaweicloudsdkidentitycenter.v1.AttachManagedPolicyToPermissionSetReqBody` - """ - self._body = body - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - if attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - if six.PY2: - import sys - reload(sys) - sys.setdefaultencoding("utf-8") - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AttachManagedPolicyToPermissionSetRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/attach_managed_policy_to_permission_set_response.py b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/attach_managed_policy_to_permission_set_response.py deleted file mode 100644 index fcbfb0dffd..0000000000 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/attach_managed_policy_to_permission_set_response.py +++ /dev/null @@ -1,85 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class AttachManagedPolicyToPermissionSetResponse(SdkResponse): - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - } - - attribute_map = { - } - - def __init__(self): - """AttachManagedPolicyToPermissionSetResponse - - The model defined in huaweicloud sdk - - """ - - super(AttachManagedPolicyToPermissionSetResponse, self).__init__() - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - if attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - if six.PY2: - import sys - reload(sys) - sys.setdefaultencoding("utf-8") - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AttachManagedPolicyToPermissionSetResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/create_account_assignment_req_body.py b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/create_account_assignment_req_body.py deleted file mode 100644 index f7de8cd3a4..0000000000 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/create_account_assignment_req_body.py +++ /dev/null @@ -1,226 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class CreateAccountAssignmentReqBody: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - 'permission_set_id': 'str', - 'principal_id': 'str', - 'principal_type': 'str', - 'target_id': 'str', - 'target_type': 'str' - } - - attribute_map = { - 'permission_set_id': 'permission_set_id', - 'principal_id': 'principal_id', - 'principal_type': 'principal_type', - 'target_id': 'target_id', - 'target_type': 'target_type' - } - - def __init__(self, permission_set_id=None, principal_id=None, principal_type=None, target_id=None, target_type=None): - """CreateAccountAssignmentReqBody - - The model defined in huaweicloud sdk - - :param permission_set_id: 权限集唯一标识 - :type permission_set_id: str - :param principal_id: IAM身份中心中的一个实体身份唯一标识,例如用户或用户组 - :type principal_id: str - :param principal_type: 创建绑定的实体类型 - :type principal_type: str - :param target_id: 待绑定的目标实体标识. - :type target_id: str - :param target_type: 创建绑定的实体类型 - :type target_type: str - """ - - - - self._permission_set_id = None - self._principal_id = None - self._principal_type = None - self._target_id = None - self._target_type = None - self.discriminator = None - - self.permission_set_id = permission_set_id - self.principal_id = principal_id - self.principal_type = principal_type - self.target_id = target_id - self.target_type = target_type - - @property - def permission_set_id(self): - """Gets the permission_set_id of this CreateAccountAssignmentReqBody. - - 权限集唯一标识 - - :return: The permission_set_id of this CreateAccountAssignmentReqBody. - :rtype: str - """ - return self._permission_set_id - - @permission_set_id.setter - def permission_set_id(self, permission_set_id): - """Sets the permission_set_id of this CreateAccountAssignmentReqBody. - - 权限集唯一标识 - - :param permission_set_id: The permission_set_id of this CreateAccountAssignmentReqBody. - :type permission_set_id: str - """ - self._permission_set_id = permission_set_id - - @property - def principal_id(self): - """Gets the principal_id of this CreateAccountAssignmentReqBody. - - IAM身份中心中的一个实体身份唯一标识,例如用户或用户组 - - :return: The principal_id of this CreateAccountAssignmentReqBody. - :rtype: str - """ - return self._principal_id - - @principal_id.setter - def principal_id(self, principal_id): - """Sets the principal_id of this CreateAccountAssignmentReqBody. - - IAM身份中心中的一个实体身份唯一标识,例如用户或用户组 - - :param principal_id: The principal_id of this CreateAccountAssignmentReqBody. - :type principal_id: str - """ - self._principal_id = principal_id - - @property - def principal_type(self): - """Gets the principal_type of this CreateAccountAssignmentReqBody. - - 创建绑定的实体类型 - - :return: The principal_type of this CreateAccountAssignmentReqBody. - :rtype: str - """ - return self._principal_type - - @principal_type.setter - def principal_type(self, principal_type): - """Sets the principal_type of this CreateAccountAssignmentReqBody. - - 创建绑定的实体类型 - - :param principal_type: The principal_type of this CreateAccountAssignmentReqBody. - :type principal_type: str - """ - self._principal_type = principal_type - - @property - def target_id(self): - """Gets the target_id of this CreateAccountAssignmentReqBody. - - 待绑定的目标实体标识. - - :return: The target_id of this CreateAccountAssignmentReqBody. - :rtype: str - """ - return self._target_id - - @target_id.setter - def target_id(self, target_id): - """Sets the target_id of this CreateAccountAssignmentReqBody. - - 待绑定的目标实体标识. - - :param target_id: The target_id of this CreateAccountAssignmentReqBody. - :type target_id: str - """ - self._target_id = target_id - - @property - def target_type(self): - """Gets the target_type of this CreateAccountAssignmentReqBody. - - 创建绑定的实体类型 - - :return: The target_type of this CreateAccountAssignmentReqBody. - :rtype: str - """ - return self._target_type - - @target_type.setter - def target_type(self, target_type): - """Sets the target_type of this CreateAccountAssignmentReqBody. - - 创建绑定的实体类型 - - :param target_type: The target_type of this CreateAccountAssignmentReqBody. - :type target_type: str - """ - self._target_type = target_type - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - if attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - if six.PY2: - import sys - reload(sys) - sys.setdefaultencoding("utf-8") - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CreateAccountAssignmentReqBody): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/create_account_assignment_response.py b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/create_account_assignment_response.py deleted file mode 100644 index 4e55408c8e..0000000000 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/create_account_assignment_response.py +++ /dev/null @@ -1,112 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class CreateAccountAssignmentResponse(SdkResponse): - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - 'account_assignment_creation_status': 'AccountAssignmentOperationStatusDto' - } - - attribute_map = { - 'account_assignment_creation_status': 'account_assignment_creation_status' - } - - def __init__(self, account_assignment_creation_status=None): - """CreateAccountAssignmentResponse - - The model defined in huaweicloud sdk - - :param account_assignment_creation_status: - :type account_assignment_creation_status: :class:`huaweicloudsdkidentitycenter.v1.AccountAssignmentOperationStatusDto` - """ - - super(CreateAccountAssignmentResponse, self).__init__() - - self._account_assignment_creation_status = None - self.discriminator = None - - if account_assignment_creation_status is not None: - self.account_assignment_creation_status = account_assignment_creation_status - - @property - def account_assignment_creation_status(self): - """Gets the account_assignment_creation_status of this CreateAccountAssignmentResponse. - - :return: The account_assignment_creation_status of this CreateAccountAssignmentResponse. - :rtype: :class:`huaweicloudsdkidentitycenter.v1.AccountAssignmentOperationStatusDto` - """ - return self._account_assignment_creation_status - - @account_assignment_creation_status.setter - def account_assignment_creation_status(self, account_assignment_creation_status): - """Sets the account_assignment_creation_status of this CreateAccountAssignmentResponse. - - :param account_assignment_creation_status: The account_assignment_creation_status of this CreateAccountAssignmentResponse. - :type account_assignment_creation_status: :class:`huaweicloudsdkidentitycenter.v1.AccountAssignmentOperationStatusDto` - """ - self._account_assignment_creation_status = account_assignment_creation_status - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - if attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - if six.PY2: - import sys - reload(sys) - sys.setdefaultencoding("utf-8") - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CreateAccountAssignmentResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/create_permission_set_req_body.py b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/create_permission_set_req_body.py deleted file mode 100644 index 49d65c1303..0000000000 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/create_permission_set_req_body.py +++ /dev/null @@ -1,230 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class CreatePermissionSetReqBody: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - 'description': 'str', - 'name': 'str', - 'relay_state': 'str', - 'session_duration': 'str', - 'tags': 'list[TagDto]' - } - - attribute_map = { - 'description': 'description', - 'name': 'name', - 'relay_state': 'relay_state', - 'session_duration': 'session_duration', - 'tags': 'tags' - } - - def __init__(self, description=None, name=None, relay_state=None, session_duration=None, tags=None): - """CreatePermissionSetReqBody - - The model defined in huaweicloud sdk - - :param description: 权限集描述 - :type description: str - :param name: 权限集名称. - :type name: str - :param relay_state: 用于在联合身份验证过程中重定向应用程序中的用户 - :type relay_state: str - :param session_duration: 应用程序用户会话在ISO-8601标准中有效的时间长度 - :type session_duration: str - :param tags: The tags to attach to the new PermissionSet. - :type tags: list[:class:`huaweicloudsdkidentitycenter.v1.TagDto`] - """ - - - - self._description = None - self._name = None - self._relay_state = None - self._session_duration = None - self._tags = None - self.discriminator = None - - if description is not None: - self.description = description - self.name = name - if relay_state is not None: - self.relay_state = relay_state - if session_duration is not None: - self.session_duration = session_duration - if tags is not None: - self.tags = tags - - @property - def description(self): - """Gets the description of this CreatePermissionSetReqBody. - - 权限集描述 - - :return: The description of this CreatePermissionSetReqBody. - :rtype: str - """ - return self._description - - @description.setter - def description(self, description): - """Sets the description of this CreatePermissionSetReqBody. - - 权限集描述 - - :param description: The description of this CreatePermissionSetReqBody. - :type description: str - """ - self._description = description - - @property - def name(self): - """Gets the name of this CreatePermissionSetReqBody. - - 权限集名称. - - :return: The name of this CreatePermissionSetReqBody. - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this CreatePermissionSetReqBody. - - 权限集名称. - - :param name: The name of this CreatePermissionSetReqBody. - :type name: str - """ - self._name = name - - @property - def relay_state(self): - """Gets the relay_state of this CreatePermissionSetReqBody. - - 用于在联合身份验证过程中重定向应用程序中的用户 - - :return: The relay_state of this CreatePermissionSetReqBody. - :rtype: str - """ - return self._relay_state - - @relay_state.setter - def relay_state(self, relay_state): - """Sets the relay_state of this CreatePermissionSetReqBody. - - 用于在联合身份验证过程中重定向应用程序中的用户 - - :param relay_state: The relay_state of this CreatePermissionSetReqBody. - :type relay_state: str - """ - self._relay_state = relay_state - - @property - def session_duration(self): - """Gets the session_duration of this CreatePermissionSetReqBody. - - 应用程序用户会话在ISO-8601标准中有效的时间长度 - - :return: The session_duration of this CreatePermissionSetReqBody. - :rtype: str - """ - return self._session_duration - - @session_duration.setter - def session_duration(self, session_duration): - """Sets the session_duration of this CreatePermissionSetReqBody. - - 应用程序用户会话在ISO-8601标准中有效的时间长度 - - :param session_duration: The session_duration of this CreatePermissionSetReqBody. - :type session_duration: str - """ - self._session_duration = session_duration - - @property - def tags(self): - """Gets the tags of this CreatePermissionSetReqBody. - - The tags to attach to the new PermissionSet. - - :return: The tags of this CreatePermissionSetReqBody. - :rtype: list[:class:`huaweicloudsdkidentitycenter.v1.TagDto`] - """ - return self._tags - - @tags.setter - def tags(self, tags): - """Sets the tags of this CreatePermissionSetReqBody. - - The tags to attach to the new PermissionSet. - - :param tags: The tags of this CreatePermissionSetReqBody. - :type tags: list[:class:`huaweicloudsdkidentitycenter.v1.TagDto`] - """ - self._tags = tags - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - if attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - if six.PY2: - import sys - reload(sys) - sys.setdefaultencoding("utf-8") - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CreatePermissionSetReqBody): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/delete_account_assignment_req_body.py b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/delete_account_assignment_req_body.py deleted file mode 100644 index 4cb09734d5..0000000000 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/delete_account_assignment_req_body.py +++ /dev/null @@ -1,226 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class DeleteAccountAssignmentReqBody: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - 'permission_set_id': 'str', - 'principal_id': 'str', - 'principal_type': 'str', - 'target_id': 'str', - 'target_type': 'str' - } - - attribute_map = { - 'permission_set_id': 'permission_set_id', - 'principal_id': 'principal_id', - 'principal_type': 'principal_type', - 'target_id': 'target_id', - 'target_type': 'target_type' - } - - def __init__(self, permission_set_id=None, principal_id=None, principal_type=None, target_id=None, target_type=None): - """DeleteAccountAssignmentReqBody - - The model defined in huaweicloud sdk - - :param permission_set_id: 权限集唯一标识 - :type permission_set_id: str - :param principal_id: IAM身份中心中的一个实体身份唯一标识,例如用户或用户组 - :type principal_id: str - :param principal_type: 实体类型 - :type principal_type: str - :param target_id: 目标账户身份标识 - :type target_id: str - :param target_type: 目标类型 - :type target_type: str - """ - - - - self._permission_set_id = None - self._principal_id = None - self._principal_type = None - self._target_id = None - self._target_type = None - self.discriminator = None - - self.permission_set_id = permission_set_id - self.principal_id = principal_id - self.principal_type = principal_type - self.target_id = target_id - self.target_type = target_type - - @property - def permission_set_id(self): - """Gets the permission_set_id of this DeleteAccountAssignmentReqBody. - - 权限集唯一标识 - - :return: The permission_set_id of this DeleteAccountAssignmentReqBody. - :rtype: str - """ - return self._permission_set_id - - @permission_set_id.setter - def permission_set_id(self, permission_set_id): - """Sets the permission_set_id of this DeleteAccountAssignmentReqBody. - - 权限集唯一标识 - - :param permission_set_id: The permission_set_id of this DeleteAccountAssignmentReqBody. - :type permission_set_id: str - """ - self._permission_set_id = permission_set_id - - @property - def principal_id(self): - """Gets the principal_id of this DeleteAccountAssignmentReqBody. - - IAM身份中心中的一个实体身份唯一标识,例如用户或用户组 - - :return: The principal_id of this DeleteAccountAssignmentReqBody. - :rtype: str - """ - return self._principal_id - - @principal_id.setter - def principal_id(self, principal_id): - """Sets the principal_id of this DeleteAccountAssignmentReqBody. - - IAM身份中心中的一个实体身份唯一标识,例如用户或用户组 - - :param principal_id: The principal_id of this DeleteAccountAssignmentReqBody. - :type principal_id: str - """ - self._principal_id = principal_id - - @property - def principal_type(self): - """Gets the principal_type of this DeleteAccountAssignmentReqBody. - - 实体类型 - - :return: The principal_type of this DeleteAccountAssignmentReqBody. - :rtype: str - """ - return self._principal_type - - @principal_type.setter - def principal_type(self, principal_type): - """Sets the principal_type of this DeleteAccountAssignmentReqBody. - - 实体类型 - - :param principal_type: The principal_type of this DeleteAccountAssignmentReqBody. - :type principal_type: str - """ - self._principal_type = principal_type - - @property - def target_id(self): - """Gets the target_id of this DeleteAccountAssignmentReqBody. - - 目标账户身份标识 - - :return: The target_id of this DeleteAccountAssignmentReqBody. - :rtype: str - """ - return self._target_id - - @target_id.setter - def target_id(self, target_id): - """Sets the target_id of this DeleteAccountAssignmentReqBody. - - 目标账户身份标识 - - :param target_id: The target_id of this DeleteAccountAssignmentReqBody. - :type target_id: str - """ - self._target_id = target_id - - @property - def target_type(self): - """Gets the target_type of this DeleteAccountAssignmentReqBody. - - 目标类型 - - :return: The target_type of this DeleteAccountAssignmentReqBody. - :rtype: str - """ - return self._target_type - - @target_type.setter - def target_type(self, target_type): - """Sets the target_type of this DeleteAccountAssignmentReqBody. - - 目标类型 - - :param target_type: The target_type of this DeleteAccountAssignmentReqBody. - :type target_type: str - """ - self._target_type = target_type - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - if attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - if six.PY2: - import sys - reload(sys) - sys.setdefaultencoding("utf-8") - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, DeleteAccountAssignmentReqBody): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/delete_account_assignment_response.py b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/delete_account_assignment_response.py deleted file mode 100644 index 1043644b2f..0000000000 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/delete_account_assignment_response.py +++ /dev/null @@ -1,112 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class DeleteAccountAssignmentResponse(SdkResponse): - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - 'account_assignment_deletion_status': 'AccountAssignmentOperationStatusDto' - } - - attribute_map = { - 'account_assignment_deletion_status': 'account_assignment_deletion_status' - } - - def __init__(self, account_assignment_deletion_status=None): - """DeleteAccountAssignmentResponse - - The model defined in huaweicloud sdk - - :param account_assignment_deletion_status: - :type account_assignment_deletion_status: :class:`huaweicloudsdkidentitycenter.v1.AccountAssignmentOperationStatusDto` - """ - - super(DeleteAccountAssignmentResponse, self).__init__() - - self._account_assignment_deletion_status = None - self.discriminator = None - - if account_assignment_deletion_status is not None: - self.account_assignment_deletion_status = account_assignment_deletion_status - - @property - def account_assignment_deletion_status(self): - """Gets the account_assignment_deletion_status of this DeleteAccountAssignmentResponse. - - :return: The account_assignment_deletion_status of this DeleteAccountAssignmentResponse. - :rtype: :class:`huaweicloudsdkidentitycenter.v1.AccountAssignmentOperationStatusDto` - """ - return self._account_assignment_deletion_status - - @account_assignment_deletion_status.setter - def account_assignment_deletion_status(self, account_assignment_deletion_status): - """Sets the account_assignment_deletion_status of this DeleteAccountAssignmentResponse. - - :param account_assignment_deletion_status: The account_assignment_deletion_status of this DeleteAccountAssignmentResponse. - :type account_assignment_deletion_status: :class:`huaweicloudsdkidentitycenter.v1.AccountAssignmentOperationStatusDto` - """ - self._account_assignment_deletion_status = account_assignment_deletion_status - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - if attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - if six.PY2: - import sys - reload(sys) - sys.setdefaultencoding("utf-8") - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, DeleteAccountAssignmentResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/describe_account_assignment_creation_status_request.py b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/describe_account_assignment_creation_status_request.py deleted file mode 100644 index df29dcf6e6..0000000000 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/describe_account_assignment_creation_status_request.py +++ /dev/null @@ -1,138 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class DescribeAccountAssignmentCreationStatusRequest: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - 'instance_id': 'str', - 'request_id': 'str' - } - - attribute_map = { - 'instance_id': 'instance_id', - 'request_id': 'request_id' - } - - def __init__(self, instance_id=None, request_id=None): - """DescribeAccountAssignmentCreationStatusRequest - - The model defined in huaweicloud sdk - - :param instance_id: - :type instance_id: str - :param request_id: 请求的唯一标识 - :type request_id: str - """ - - - - self._instance_id = None - self._request_id = None - self.discriminator = None - - self.instance_id = instance_id - self.request_id = request_id - - @property - def instance_id(self): - """Gets the instance_id of this DescribeAccountAssignmentCreationStatusRequest. - - :return: The instance_id of this DescribeAccountAssignmentCreationStatusRequest. - :rtype: str - """ - return self._instance_id - - @instance_id.setter - def instance_id(self, instance_id): - """Sets the instance_id of this DescribeAccountAssignmentCreationStatusRequest. - - :param instance_id: The instance_id of this DescribeAccountAssignmentCreationStatusRequest. - :type instance_id: str - """ - self._instance_id = instance_id - - @property - def request_id(self): - """Gets the request_id of this DescribeAccountAssignmentCreationStatusRequest. - - 请求的唯一标识 - - :return: The request_id of this DescribeAccountAssignmentCreationStatusRequest. - :rtype: str - """ - return self._request_id - - @request_id.setter - def request_id(self, request_id): - """Sets the request_id of this DescribeAccountAssignmentCreationStatusRequest. - - 请求的唯一标识 - - :param request_id: The request_id of this DescribeAccountAssignmentCreationStatusRequest. - :type request_id: str - """ - self._request_id = request_id - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - if attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - if six.PY2: - import sys - reload(sys) - sys.setdefaultencoding("utf-8") - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, DescribeAccountAssignmentCreationStatusRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/describe_account_assignment_creation_status_response.py b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/describe_account_assignment_creation_status_response.py deleted file mode 100644 index 9eb35d55c8..0000000000 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/describe_account_assignment_creation_status_response.py +++ /dev/null @@ -1,112 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class DescribeAccountAssignmentCreationStatusResponse(SdkResponse): - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - 'account_assignment_creation_status': 'AccountAssignmentOperationStatusDto' - } - - attribute_map = { - 'account_assignment_creation_status': 'account_assignment_creation_status' - } - - def __init__(self, account_assignment_creation_status=None): - """DescribeAccountAssignmentCreationStatusResponse - - The model defined in huaweicloud sdk - - :param account_assignment_creation_status: - :type account_assignment_creation_status: :class:`huaweicloudsdkidentitycenter.v1.AccountAssignmentOperationStatusDto` - """ - - super(DescribeAccountAssignmentCreationStatusResponse, self).__init__() - - self._account_assignment_creation_status = None - self.discriminator = None - - if account_assignment_creation_status is not None: - self.account_assignment_creation_status = account_assignment_creation_status - - @property - def account_assignment_creation_status(self): - """Gets the account_assignment_creation_status of this DescribeAccountAssignmentCreationStatusResponse. - - :return: The account_assignment_creation_status of this DescribeAccountAssignmentCreationStatusResponse. - :rtype: :class:`huaweicloudsdkidentitycenter.v1.AccountAssignmentOperationStatusDto` - """ - return self._account_assignment_creation_status - - @account_assignment_creation_status.setter - def account_assignment_creation_status(self, account_assignment_creation_status): - """Sets the account_assignment_creation_status of this DescribeAccountAssignmentCreationStatusResponse. - - :param account_assignment_creation_status: The account_assignment_creation_status of this DescribeAccountAssignmentCreationStatusResponse. - :type account_assignment_creation_status: :class:`huaweicloudsdkidentitycenter.v1.AccountAssignmentOperationStatusDto` - """ - self._account_assignment_creation_status = account_assignment_creation_status - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - if attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - if six.PY2: - import sys - reload(sys) - sys.setdefaultencoding("utf-8") - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, DescribeAccountAssignmentCreationStatusResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/describe_account_assignment_deletion_status_request.py b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/describe_account_assignment_deletion_status_request.py deleted file mode 100644 index 4d86ef7c34..0000000000 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/describe_account_assignment_deletion_status_request.py +++ /dev/null @@ -1,138 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class DescribeAccountAssignmentDeletionStatusRequest: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - 'instance_id': 'str', - 'request_id': 'str' - } - - attribute_map = { - 'instance_id': 'instance_id', - 'request_id': 'request_id' - } - - def __init__(self, instance_id=None, request_id=None): - """DescribeAccountAssignmentDeletionStatusRequest - - The model defined in huaweicloud sdk - - :param instance_id: - :type instance_id: str - :param request_id: 请求唯一标识 - :type request_id: str - """ - - - - self._instance_id = None - self._request_id = None - self.discriminator = None - - self.instance_id = instance_id - self.request_id = request_id - - @property - def instance_id(self): - """Gets the instance_id of this DescribeAccountAssignmentDeletionStatusRequest. - - :return: The instance_id of this DescribeAccountAssignmentDeletionStatusRequest. - :rtype: str - """ - return self._instance_id - - @instance_id.setter - def instance_id(self, instance_id): - """Sets the instance_id of this DescribeAccountAssignmentDeletionStatusRequest. - - :param instance_id: The instance_id of this DescribeAccountAssignmentDeletionStatusRequest. - :type instance_id: str - """ - self._instance_id = instance_id - - @property - def request_id(self): - """Gets the request_id of this DescribeAccountAssignmentDeletionStatusRequest. - - 请求唯一标识 - - :return: The request_id of this DescribeAccountAssignmentDeletionStatusRequest. - :rtype: str - """ - return self._request_id - - @request_id.setter - def request_id(self, request_id): - """Sets the request_id of this DescribeAccountAssignmentDeletionStatusRequest. - - 请求唯一标识 - - :param request_id: The request_id of this DescribeAccountAssignmentDeletionStatusRequest. - :type request_id: str - """ - self._request_id = request_id - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - if attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - if six.PY2: - import sys - reload(sys) - sys.setdefaultencoding("utf-8") - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, DescribeAccountAssignmentDeletionStatusRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/describe_account_assignment_deletion_status_response.py b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/describe_account_assignment_deletion_status_response.py deleted file mode 100644 index eb5ffabeec..0000000000 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/describe_account_assignment_deletion_status_response.py +++ /dev/null @@ -1,112 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class DescribeAccountAssignmentDeletionStatusResponse(SdkResponse): - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - 'account_assignment_deletion_status': 'AccountAssignmentOperationStatusDto' - } - - attribute_map = { - 'account_assignment_deletion_status': 'account_assignment_deletion_status' - } - - def __init__(self, account_assignment_deletion_status=None): - """DescribeAccountAssignmentDeletionStatusResponse - - The model defined in huaweicloud sdk - - :param account_assignment_deletion_status: - :type account_assignment_deletion_status: :class:`huaweicloudsdkidentitycenter.v1.AccountAssignmentOperationStatusDto` - """ - - super(DescribeAccountAssignmentDeletionStatusResponse, self).__init__() - - self._account_assignment_deletion_status = None - self.discriminator = None - - if account_assignment_deletion_status is not None: - self.account_assignment_deletion_status = account_assignment_deletion_status - - @property - def account_assignment_deletion_status(self): - """Gets the account_assignment_deletion_status of this DescribeAccountAssignmentDeletionStatusResponse. - - :return: The account_assignment_deletion_status of this DescribeAccountAssignmentDeletionStatusResponse. - :rtype: :class:`huaweicloudsdkidentitycenter.v1.AccountAssignmentOperationStatusDto` - """ - return self._account_assignment_deletion_status - - @account_assignment_deletion_status.setter - def account_assignment_deletion_status(self, account_assignment_deletion_status): - """Sets the account_assignment_deletion_status of this DescribeAccountAssignmentDeletionStatusResponse. - - :param account_assignment_deletion_status: The account_assignment_deletion_status of this DescribeAccountAssignmentDeletionStatusResponse. - :type account_assignment_deletion_status: :class:`huaweicloudsdkidentitycenter.v1.AccountAssignmentOperationStatusDto` - """ - self._account_assignment_deletion_status = account_assignment_deletion_status - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - if attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - if six.PY2: - import sys - reload(sys) - sys.setdefaultencoding("utf-8") - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, DescribeAccountAssignmentDeletionStatusResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/describe_permission_set_provisioning_status_request.py b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/describe_permission_set_provisioning_status_request.py deleted file mode 100644 index 17b29de8c4..0000000000 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/describe_permission_set_provisioning_status_request.py +++ /dev/null @@ -1,134 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class DescribePermissionSetProvisioningStatusRequest: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - 'instance_id': 'str', - 'request_id': 'str' - } - - attribute_map = { - 'instance_id': 'instance_id', - 'request_id': 'request_id' - } - - def __init__(self, instance_id=None, request_id=None): - """DescribePermissionSetProvisioningStatusRequest - - The model defined in huaweicloud sdk - - :param instance_id: - :type instance_id: str - :param request_id: - :type request_id: str - """ - - - - self._instance_id = None - self._request_id = None - self.discriminator = None - - self.instance_id = instance_id - self.request_id = request_id - - @property - def instance_id(self): - """Gets the instance_id of this DescribePermissionSetProvisioningStatusRequest. - - :return: The instance_id of this DescribePermissionSetProvisioningStatusRequest. - :rtype: str - """ - return self._instance_id - - @instance_id.setter - def instance_id(self, instance_id): - """Sets the instance_id of this DescribePermissionSetProvisioningStatusRequest. - - :param instance_id: The instance_id of this DescribePermissionSetProvisioningStatusRequest. - :type instance_id: str - """ - self._instance_id = instance_id - - @property - def request_id(self): - """Gets the request_id of this DescribePermissionSetProvisioningStatusRequest. - - :return: The request_id of this DescribePermissionSetProvisioningStatusRequest. - :rtype: str - """ - return self._request_id - - @request_id.setter - def request_id(self, request_id): - """Sets the request_id of this DescribePermissionSetProvisioningStatusRequest. - - :param request_id: The request_id of this DescribePermissionSetProvisioningStatusRequest. - :type request_id: str - """ - self._request_id = request_id - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - if attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - if six.PY2: - import sys - reload(sys) - sys.setdefaultencoding("utf-8") - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, DescribePermissionSetProvisioningStatusRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/describe_permission_set_provisioning_status_response.py b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/describe_permission_set_provisioning_status_response.py deleted file mode 100644 index 537af1752c..0000000000 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/describe_permission_set_provisioning_status_response.py +++ /dev/null @@ -1,112 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class DescribePermissionSetProvisioningStatusResponse(SdkResponse): - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - 'permission_set_provisioning_status': 'PermissionSetProvisioningStatusDto' - } - - attribute_map = { - 'permission_set_provisioning_status': 'permission_set_provisioning_status' - } - - def __init__(self, permission_set_provisioning_status=None): - """DescribePermissionSetProvisioningStatusResponse - - The model defined in huaweicloud sdk - - :param permission_set_provisioning_status: - :type permission_set_provisioning_status: :class:`huaweicloudsdkidentitycenter.v1.PermissionSetProvisioningStatusDto` - """ - - super(DescribePermissionSetProvisioningStatusResponse, self).__init__() - - self._permission_set_provisioning_status = None - self.discriminator = None - - if permission_set_provisioning_status is not None: - self.permission_set_provisioning_status = permission_set_provisioning_status - - @property - def permission_set_provisioning_status(self): - """Gets the permission_set_provisioning_status of this DescribePermissionSetProvisioningStatusResponse. - - :return: The permission_set_provisioning_status of this DescribePermissionSetProvisioningStatusResponse. - :rtype: :class:`huaweicloudsdkidentitycenter.v1.PermissionSetProvisioningStatusDto` - """ - return self._permission_set_provisioning_status - - @permission_set_provisioning_status.setter - def permission_set_provisioning_status(self, permission_set_provisioning_status): - """Sets the permission_set_provisioning_status of this DescribePermissionSetProvisioningStatusResponse. - - :param permission_set_provisioning_status: The permission_set_provisioning_status of this DescribePermissionSetProvisioningStatusResponse. - :type permission_set_provisioning_status: :class:`huaweicloudsdkidentitycenter.v1.PermissionSetProvisioningStatusDto` - """ - self._permission_set_provisioning_status = permission_set_provisioning_status - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - if attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - if six.PY2: - import sys - reload(sys) - sys.setdefaultencoding("utf-8") - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, DescribePermissionSetProvisioningStatusResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/detach_customer_managed_policy_reference_from_permission_set_req_body.py b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/detach_customer_managed_policy_reference_from_permission_set_req_body.py deleted file mode 100644 index c153739023..0000000000 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/detach_customer_managed_policy_reference_from_permission_set_req_body.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class DetachCustomerManagedPolicyReferenceFromPermissionSetReqBody: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - 'customer_managed_policy_reference': 'CustomerManagedPolicyReferenceDto' - } - - attribute_map = { - 'customer_managed_policy_reference': 'customer_managed_policy_reference' - } - - def __init__(self, customer_managed_policy_reference=None): - """DetachCustomerManagedPolicyReferenceFromPermissionSetReqBody - - The model defined in huaweicloud sdk - - :param customer_managed_policy_reference: - :type customer_managed_policy_reference: :class:`huaweicloudsdkidentitycenter.v1.CustomerManagedPolicyReferenceDto` - """ - - - - self._customer_managed_policy_reference = None - self.discriminator = None - - self.customer_managed_policy_reference = customer_managed_policy_reference - - @property - def customer_managed_policy_reference(self): - """Gets the customer_managed_policy_reference of this DetachCustomerManagedPolicyReferenceFromPermissionSetReqBody. - - :return: The customer_managed_policy_reference of this DetachCustomerManagedPolicyReferenceFromPermissionSetReqBody. - :rtype: :class:`huaweicloudsdkidentitycenter.v1.CustomerManagedPolicyReferenceDto` - """ - return self._customer_managed_policy_reference - - @customer_managed_policy_reference.setter - def customer_managed_policy_reference(self, customer_managed_policy_reference): - """Sets the customer_managed_policy_reference of this DetachCustomerManagedPolicyReferenceFromPermissionSetReqBody. - - :param customer_managed_policy_reference: The customer_managed_policy_reference of this DetachCustomerManagedPolicyReferenceFromPermissionSetReqBody. - :type customer_managed_policy_reference: :class:`huaweicloudsdkidentitycenter.v1.CustomerManagedPolicyReferenceDto` - """ - self._customer_managed_policy_reference = customer_managed_policy_reference - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - if attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - if six.PY2: - import sys - reload(sys) - sys.setdefaultencoding("utf-8") - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, DetachCustomerManagedPolicyReferenceFromPermissionSetReqBody): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/detach_customer_managed_policy_reference_from_permission_set_request.py b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/detach_customer_managed_policy_reference_from_permission_set_request.py deleted file mode 100644 index 80339e69ab..0000000000 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/detach_customer_managed_policy_reference_from_permission_set_request.py +++ /dev/null @@ -1,159 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class DetachCustomerManagedPolicyReferenceFromPermissionSetRequest: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - 'instance_id': 'str', - 'permission_set_id': 'str', - 'body': 'DetachCustomerManagedPolicyReferenceFromPermissionSetReqBody' - } - - attribute_map = { - 'instance_id': 'instance_id', - 'permission_set_id': 'permission_set_id', - 'body': 'body' - } - - def __init__(self, instance_id=None, permission_set_id=None, body=None): - """DetachCustomerManagedPolicyReferenceFromPermissionSetRequest - - The model defined in huaweicloud sdk - - :param instance_id: - :type instance_id: str - :param permission_set_id: - :type permission_set_id: str - :param body: Body of the DetachCustomerManagedPolicyReferenceFromPermissionSetRequest - :type body: :class:`huaweicloudsdkidentitycenter.v1.DetachCustomerManagedPolicyReferenceFromPermissionSetReqBody` - """ - - - - self._instance_id = None - self._permission_set_id = None - self._body = None - self.discriminator = None - - self.instance_id = instance_id - self.permission_set_id = permission_set_id - if body is not None: - self.body = body - - @property - def instance_id(self): - """Gets the instance_id of this DetachCustomerManagedPolicyReferenceFromPermissionSetRequest. - - :return: The instance_id of this DetachCustomerManagedPolicyReferenceFromPermissionSetRequest. - :rtype: str - """ - return self._instance_id - - @instance_id.setter - def instance_id(self, instance_id): - """Sets the instance_id of this DetachCustomerManagedPolicyReferenceFromPermissionSetRequest. - - :param instance_id: The instance_id of this DetachCustomerManagedPolicyReferenceFromPermissionSetRequest. - :type instance_id: str - """ - self._instance_id = instance_id - - @property - def permission_set_id(self): - """Gets the permission_set_id of this DetachCustomerManagedPolicyReferenceFromPermissionSetRequest. - - :return: The permission_set_id of this DetachCustomerManagedPolicyReferenceFromPermissionSetRequest. - :rtype: str - """ - return self._permission_set_id - - @permission_set_id.setter - def permission_set_id(self, permission_set_id): - """Sets the permission_set_id of this DetachCustomerManagedPolicyReferenceFromPermissionSetRequest. - - :param permission_set_id: The permission_set_id of this DetachCustomerManagedPolicyReferenceFromPermissionSetRequest. - :type permission_set_id: str - """ - self._permission_set_id = permission_set_id - - @property - def body(self): - """Gets the body of this DetachCustomerManagedPolicyReferenceFromPermissionSetRequest. - - :return: The body of this DetachCustomerManagedPolicyReferenceFromPermissionSetRequest. - :rtype: :class:`huaweicloudsdkidentitycenter.v1.DetachCustomerManagedPolicyReferenceFromPermissionSetReqBody` - """ - return self._body - - @body.setter - def body(self, body): - """Sets the body of this DetachCustomerManagedPolicyReferenceFromPermissionSetRequest. - - :param body: The body of this DetachCustomerManagedPolicyReferenceFromPermissionSetRequest. - :type body: :class:`huaweicloudsdkidentitycenter.v1.DetachCustomerManagedPolicyReferenceFromPermissionSetReqBody` - """ - self._body = body - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - if attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - if six.PY2: - import sys - reload(sys) - sys.setdefaultencoding("utf-8") - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, DetachCustomerManagedPolicyReferenceFromPermissionSetRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/detach_customer_managed_policy_reference_from_permission_set_response.py b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/detach_customer_managed_policy_reference_from_permission_set_response.py deleted file mode 100644 index 55f2641bd9..0000000000 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/detach_customer_managed_policy_reference_from_permission_set_response.py +++ /dev/null @@ -1,85 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class DetachCustomerManagedPolicyReferenceFromPermissionSetResponse(SdkResponse): - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - } - - attribute_map = { - } - - def __init__(self): - """DetachCustomerManagedPolicyReferenceFromPermissionSetResponse - - The model defined in huaweicloud sdk - - """ - - super(DetachCustomerManagedPolicyReferenceFromPermissionSetResponse, self).__init__() - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - if attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - if six.PY2: - import sys - reload(sys) - sys.setdefaultencoding("utf-8") - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, DetachCustomerManagedPolicyReferenceFromPermissionSetResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/detach_managed_policy_from_permission_set_request.py b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/detach_managed_policy_from_permission_set_request.py deleted file mode 100644 index eb3812bdb7..0000000000 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/detach_managed_policy_from_permission_set_request.py +++ /dev/null @@ -1,159 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class DetachManagedPolicyFromPermissionSetRequest: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - 'instance_id': 'str', - 'permission_set_id': 'str', - 'body': 'DetachManagedPolicyFromPermissionSetReqBody' - } - - attribute_map = { - 'instance_id': 'instance_id', - 'permission_set_id': 'permission_set_id', - 'body': 'body' - } - - def __init__(self, instance_id=None, permission_set_id=None, body=None): - """DetachManagedPolicyFromPermissionSetRequest - - The model defined in huaweicloud sdk - - :param instance_id: - :type instance_id: str - :param permission_set_id: - :type permission_set_id: str - :param body: Body of the DetachManagedPolicyFromPermissionSetRequest - :type body: :class:`huaweicloudsdkidentitycenter.v1.DetachManagedPolicyFromPermissionSetReqBody` - """ - - - - self._instance_id = None - self._permission_set_id = None - self._body = None - self.discriminator = None - - self.instance_id = instance_id - self.permission_set_id = permission_set_id - if body is not None: - self.body = body - - @property - def instance_id(self): - """Gets the instance_id of this DetachManagedPolicyFromPermissionSetRequest. - - :return: The instance_id of this DetachManagedPolicyFromPermissionSetRequest. - :rtype: str - """ - return self._instance_id - - @instance_id.setter - def instance_id(self, instance_id): - """Sets the instance_id of this DetachManagedPolicyFromPermissionSetRequest. - - :param instance_id: The instance_id of this DetachManagedPolicyFromPermissionSetRequest. - :type instance_id: str - """ - self._instance_id = instance_id - - @property - def permission_set_id(self): - """Gets the permission_set_id of this DetachManagedPolicyFromPermissionSetRequest. - - :return: The permission_set_id of this DetachManagedPolicyFromPermissionSetRequest. - :rtype: str - """ - return self._permission_set_id - - @permission_set_id.setter - def permission_set_id(self, permission_set_id): - """Sets the permission_set_id of this DetachManagedPolicyFromPermissionSetRequest. - - :param permission_set_id: The permission_set_id of this DetachManagedPolicyFromPermissionSetRequest. - :type permission_set_id: str - """ - self._permission_set_id = permission_set_id - - @property - def body(self): - """Gets the body of this DetachManagedPolicyFromPermissionSetRequest. - - :return: The body of this DetachManagedPolicyFromPermissionSetRequest. - :rtype: :class:`huaweicloudsdkidentitycenter.v1.DetachManagedPolicyFromPermissionSetReqBody` - """ - return self._body - - @body.setter - def body(self, body): - """Sets the body of this DetachManagedPolicyFromPermissionSetRequest. - - :param body: The body of this DetachManagedPolicyFromPermissionSetRequest. - :type body: :class:`huaweicloudsdkidentitycenter.v1.DetachManagedPolicyFromPermissionSetReqBody` - """ - self._body = body - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - if attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - if six.PY2: - import sys - reload(sys) - sys.setdefaultencoding("utf-8") - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, DetachManagedPolicyFromPermissionSetRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/instance_metadata_entry_dto.py b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/instance_metadata_entry_dto.py index 5c9f1c550d..efbba1dad6 100644 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/instance_metadata_entry_dto.py +++ b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/instance_metadata_entry_dto.py @@ -19,26 +19,30 @@ class InstanceMetadataEntryDto: openapi_types = { 'identity_store_id': 'str', 'instance_id': 'str', - 'alias': 'str' + 'alias': 'str', + 'instance_urn': 'str' } attribute_map = { 'identity_store_id': 'identity_store_id', 'instance_id': 'instance_id', - 'alias': 'alias' + 'alias': 'alias', + 'instance_urn': 'instance_urn' } - def __init__(self, identity_store_id=None, instance_id=None, alias=None): + def __init__(self, identity_store_id=None, instance_id=None, alias=None, instance_urn=None): """InstanceMetadataEntryDto The model defined in huaweicloud sdk - :param identity_store_id: 关联到IAM身份中心的identity store的唯一标识 + :param identity_store_id: 关联到IAM身份中心实例的身份源的全局唯一标识符(ID) :type identity_store_id: str - :param instance_id: IAM身份中心实例唯一标识. + :param instance_id: IAM身份中心实例的全局唯一标识符(ID) :type instance_id: str - :param alias: 用户自定义的identity_store_id别名 + :param alias: 用户为身份源标识符定义的别名 :type alias: str + :param instance_urn: 实例的统一资源名称(URN) + :type instance_urn: str """ @@ -46,18 +50,21 @@ def __init__(self, identity_store_id=None, instance_id=None, alias=None): self._identity_store_id = None self._instance_id = None self._alias = None + self._instance_urn = None self.discriminator = None self.identity_store_id = identity_store_id self.instance_id = instance_id if alias is not None: self.alias = alias + if instance_urn is not None: + self.instance_urn = instance_urn @property def identity_store_id(self): """Gets the identity_store_id of this InstanceMetadataEntryDto. - 关联到IAM身份中心的identity store的唯一标识 + 关联到IAM身份中心实例的身份源的全局唯一标识符(ID) :return: The identity_store_id of this InstanceMetadataEntryDto. :rtype: str @@ -68,7 +75,7 @@ def identity_store_id(self): def identity_store_id(self, identity_store_id): """Sets the identity_store_id of this InstanceMetadataEntryDto. - 关联到IAM身份中心的identity store的唯一标识 + 关联到IAM身份中心实例的身份源的全局唯一标识符(ID) :param identity_store_id: The identity_store_id of this InstanceMetadataEntryDto. :type identity_store_id: str @@ -79,7 +86,7 @@ def identity_store_id(self, identity_store_id): def instance_id(self): """Gets the instance_id of this InstanceMetadataEntryDto. - IAM身份中心实例唯一标识. + IAM身份中心实例的全局唯一标识符(ID) :return: The instance_id of this InstanceMetadataEntryDto. :rtype: str @@ -90,7 +97,7 @@ def instance_id(self): def instance_id(self, instance_id): """Sets the instance_id of this InstanceMetadataEntryDto. - IAM身份中心实例唯一标识. + IAM身份中心实例的全局唯一标识符(ID) :param instance_id: The instance_id of this InstanceMetadataEntryDto. :type instance_id: str @@ -101,7 +108,7 @@ def instance_id(self, instance_id): def alias(self): """Gets the alias of this InstanceMetadataEntryDto. - 用户自定义的identity_store_id别名 + 用户为身份源标识符定义的别名 :return: The alias of this InstanceMetadataEntryDto. :rtype: str @@ -112,13 +119,35 @@ def alias(self): def alias(self, alias): """Sets the alias of this InstanceMetadataEntryDto. - 用户自定义的identity_store_id别名 + 用户为身份源标识符定义的别名 :param alias: The alias of this InstanceMetadataEntryDto. :type alias: str """ self._alias = alias + @property + def instance_urn(self): + """Gets the instance_urn of this InstanceMetadataEntryDto. + + 实例的统一资源名称(URN) + + :return: The instance_urn of this InstanceMetadataEntryDto. + :rtype: str + """ + return self._instance_urn + + @instance_urn.setter + def instance_urn(self, instance_urn): + """Sets the instance_urn of this InstanceMetadataEntryDto. + + 实例的统一资源名称(URN) + + :param instance_urn: The instance_urn of this InstanceMetadataEntryDto. + :type instance_urn: str + """ + self._instance_urn = instance_urn + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_account_assignment_creation_status_request.py b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_account_assignment_creation_status_request.py deleted file mode 100644 index 6abb70d26c..0000000000 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_account_assignment_creation_status_request.py +++ /dev/null @@ -1,189 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ListAccountAssignmentCreationStatusRequest: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - 'instance_id': 'str', - 'status': 'str', - 'limit': 'int', - 'marker': 'str' - } - - attribute_map = { - 'instance_id': 'instance_id', - 'status': 'status', - 'limit': 'limit', - 'marker': 'marker' - } - - def __init__(self, instance_id=None, status=None, limit=None, marker=None): - """ListAccountAssignmentCreationStatusRequest - - The model defined in huaweicloud sdk - - :param instance_id: - :type instance_id: str - :param status: Filters he operation status list based on the passed attribute value. - :type status: str - :param limit: - :type limit: int - :param marker: - :type marker: str - """ - - - - self._instance_id = None - self._status = None - self._limit = None - self._marker = None - self.discriminator = None - - self.instance_id = instance_id - if status is not None: - self.status = status - if limit is not None: - self.limit = limit - if marker is not None: - self.marker = marker - - @property - def instance_id(self): - """Gets the instance_id of this ListAccountAssignmentCreationStatusRequest. - - :return: The instance_id of this ListAccountAssignmentCreationStatusRequest. - :rtype: str - """ - return self._instance_id - - @instance_id.setter - def instance_id(self, instance_id): - """Sets the instance_id of this ListAccountAssignmentCreationStatusRequest. - - :param instance_id: The instance_id of this ListAccountAssignmentCreationStatusRequest. - :type instance_id: str - """ - self._instance_id = instance_id - - @property - def status(self): - """Gets the status of this ListAccountAssignmentCreationStatusRequest. - - Filters he operation status list based on the passed attribute value. - - :return: The status of this ListAccountAssignmentCreationStatusRequest. - :rtype: str - """ - return self._status - - @status.setter - def status(self, status): - """Sets the status of this ListAccountAssignmentCreationStatusRequest. - - Filters he operation status list based on the passed attribute value. - - :param status: The status of this ListAccountAssignmentCreationStatusRequest. - :type status: str - """ - self._status = status - - @property - def limit(self): - """Gets the limit of this ListAccountAssignmentCreationStatusRequest. - - :return: The limit of this ListAccountAssignmentCreationStatusRequest. - :rtype: int - """ - return self._limit - - @limit.setter - def limit(self, limit): - """Sets the limit of this ListAccountAssignmentCreationStatusRequest. - - :param limit: The limit of this ListAccountAssignmentCreationStatusRequest. - :type limit: int - """ - self._limit = limit - - @property - def marker(self): - """Gets the marker of this ListAccountAssignmentCreationStatusRequest. - - :return: The marker of this ListAccountAssignmentCreationStatusRequest. - :rtype: str - """ - return self._marker - - @marker.setter - def marker(self, marker): - """Sets the marker of this ListAccountAssignmentCreationStatusRequest. - - :param marker: The marker of this ListAccountAssignmentCreationStatusRequest. - :type marker: str - """ - self._marker = marker - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - if attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - if six.PY2: - import sys - reload(sys) - sys.setdefaultencoding("utf-8") - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ListAccountAssignmentCreationStatusRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_account_assignment_creation_status_response.py b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_account_assignment_creation_status_response.py deleted file mode 100644 index c6a9327c8f..0000000000 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_account_assignment_creation_status_response.py +++ /dev/null @@ -1,141 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ListAccountAssignmentCreationStatusResponse(SdkResponse): - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - 'account_assignments_creation_status': 'list[AccountAssignmentOperationStatusMetadataDto]', - 'page_info': 'PageInfoDto' - } - - attribute_map = { - 'account_assignments_creation_status': 'account_assignments_creation_status', - 'page_info': 'page_info' - } - - def __init__(self, account_assignments_creation_status=None, page_info=None): - """ListAccountAssignmentCreationStatusResponse - - The model defined in huaweicloud sdk - - :param account_assignments_creation_status: 操作状态列表. - :type account_assignments_creation_status: list[:class:`huaweicloudsdkidentitycenter.v1.AccountAssignmentOperationStatusMetadataDto`] - :param page_info: - :type page_info: :class:`huaweicloudsdkidentitycenter.v1.PageInfoDto` - """ - - super(ListAccountAssignmentCreationStatusResponse, self).__init__() - - self._account_assignments_creation_status = None - self._page_info = None - self.discriminator = None - - if account_assignments_creation_status is not None: - self.account_assignments_creation_status = account_assignments_creation_status - if page_info is not None: - self.page_info = page_info - - @property - def account_assignments_creation_status(self): - """Gets the account_assignments_creation_status of this ListAccountAssignmentCreationStatusResponse. - - 操作状态列表. - - :return: The account_assignments_creation_status of this ListAccountAssignmentCreationStatusResponse. - :rtype: list[:class:`huaweicloudsdkidentitycenter.v1.AccountAssignmentOperationStatusMetadataDto`] - """ - return self._account_assignments_creation_status - - @account_assignments_creation_status.setter - def account_assignments_creation_status(self, account_assignments_creation_status): - """Sets the account_assignments_creation_status of this ListAccountAssignmentCreationStatusResponse. - - 操作状态列表. - - :param account_assignments_creation_status: The account_assignments_creation_status of this ListAccountAssignmentCreationStatusResponse. - :type account_assignments_creation_status: list[:class:`huaweicloudsdkidentitycenter.v1.AccountAssignmentOperationStatusMetadataDto`] - """ - self._account_assignments_creation_status = account_assignments_creation_status - - @property - def page_info(self): - """Gets the page_info of this ListAccountAssignmentCreationStatusResponse. - - :return: The page_info of this ListAccountAssignmentCreationStatusResponse. - :rtype: :class:`huaweicloudsdkidentitycenter.v1.PageInfoDto` - """ - return self._page_info - - @page_info.setter - def page_info(self, page_info): - """Sets the page_info of this ListAccountAssignmentCreationStatusResponse. - - :param page_info: The page_info of this ListAccountAssignmentCreationStatusResponse. - :type page_info: :class:`huaweicloudsdkidentitycenter.v1.PageInfoDto` - """ - self._page_info = page_info - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - if attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - if six.PY2: - import sys - reload(sys) - sys.setdefaultencoding("utf-8") - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ListAccountAssignmentCreationStatusResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_account_assignment_deletion_status_request.py b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_account_assignment_deletion_status_request.py deleted file mode 100644 index d021140c72..0000000000 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_account_assignment_deletion_status_request.py +++ /dev/null @@ -1,189 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ListAccountAssignmentDeletionStatusRequest: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - 'instance_id': 'str', - 'status': 'str', - 'limit': 'int', - 'marker': 'str' - } - - attribute_map = { - 'instance_id': 'instance_id', - 'status': 'status', - 'limit': 'limit', - 'marker': 'marker' - } - - def __init__(self, instance_id=None, status=None, limit=None, marker=None): - """ListAccountAssignmentDeletionStatusRequest - - The model defined in huaweicloud sdk - - :param instance_id: - :type instance_id: str - :param status: Filters he operation status list based on the passed attribute value. - :type status: str - :param limit: - :type limit: int - :param marker: - :type marker: str - """ - - - - self._instance_id = None - self._status = None - self._limit = None - self._marker = None - self.discriminator = None - - self.instance_id = instance_id - if status is not None: - self.status = status - if limit is not None: - self.limit = limit - if marker is not None: - self.marker = marker - - @property - def instance_id(self): - """Gets the instance_id of this ListAccountAssignmentDeletionStatusRequest. - - :return: The instance_id of this ListAccountAssignmentDeletionStatusRequest. - :rtype: str - """ - return self._instance_id - - @instance_id.setter - def instance_id(self, instance_id): - """Sets the instance_id of this ListAccountAssignmentDeletionStatusRequest. - - :param instance_id: The instance_id of this ListAccountAssignmentDeletionStatusRequest. - :type instance_id: str - """ - self._instance_id = instance_id - - @property - def status(self): - """Gets the status of this ListAccountAssignmentDeletionStatusRequest. - - Filters he operation status list based on the passed attribute value. - - :return: The status of this ListAccountAssignmentDeletionStatusRequest. - :rtype: str - """ - return self._status - - @status.setter - def status(self, status): - """Sets the status of this ListAccountAssignmentDeletionStatusRequest. - - Filters he operation status list based on the passed attribute value. - - :param status: The status of this ListAccountAssignmentDeletionStatusRequest. - :type status: str - """ - self._status = status - - @property - def limit(self): - """Gets the limit of this ListAccountAssignmentDeletionStatusRequest. - - :return: The limit of this ListAccountAssignmentDeletionStatusRequest. - :rtype: int - """ - return self._limit - - @limit.setter - def limit(self, limit): - """Sets the limit of this ListAccountAssignmentDeletionStatusRequest. - - :param limit: The limit of this ListAccountAssignmentDeletionStatusRequest. - :type limit: int - """ - self._limit = limit - - @property - def marker(self): - """Gets the marker of this ListAccountAssignmentDeletionStatusRequest. - - :return: The marker of this ListAccountAssignmentDeletionStatusRequest. - :rtype: str - """ - return self._marker - - @marker.setter - def marker(self, marker): - """Sets the marker of this ListAccountAssignmentDeletionStatusRequest. - - :param marker: The marker of this ListAccountAssignmentDeletionStatusRequest. - :type marker: str - """ - self._marker = marker - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - if attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - if six.PY2: - import sys - reload(sys) - sys.setdefaultencoding("utf-8") - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ListAccountAssignmentDeletionStatusRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_account_assignment_deletion_status_response.py b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_account_assignment_deletion_status_response.py deleted file mode 100644 index e4a4b936e9..0000000000 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_account_assignment_deletion_status_response.py +++ /dev/null @@ -1,141 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ListAccountAssignmentDeletionStatusResponse(SdkResponse): - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - 'account_assignments_deletion_status': 'list[AccountAssignmentOperationStatusMetadataDto]', - 'page_info': 'PageInfoDto' - } - - attribute_map = { - 'account_assignments_deletion_status': 'account_assignments_deletion_status', - 'page_info': 'page_info' - } - - def __init__(self, account_assignments_deletion_status=None, page_info=None): - """ListAccountAssignmentDeletionStatusResponse - - The model defined in huaweicloud sdk - - :param account_assignments_deletion_status: 操作状态集合 - :type account_assignments_deletion_status: list[:class:`huaweicloudsdkidentitycenter.v1.AccountAssignmentOperationStatusMetadataDto`] - :param page_info: - :type page_info: :class:`huaweicloudsdkidentitycenter.v1.PageInfoDto` - """ - - super(ListAccountAssignmentDeletionStatusResponse, self).__init__() - - self._account_assignments_deletion_status = None - self._page_info = None - self.discriminator = None - - if account_assignments_deletion_status is not None: - self.account_assignments_deletion_status = account_assignments_deletion_status - if page_info is not None: - self.page_info = page_info - - @property - def account_assignments_deletion_status(self): - """Gets the account_assignments_deletion_status of this ListAccountAssignmentDeletionStatusResponse. - - 操作状态集合 - - :return: The account_assignments_deletion_status of this ListAccountAssignmentDeletionStatusResponse. - :rtype: list[:class:`huaweicloudsdkidentitycenter.v1.AccountAssignmentOperationStatusMetadataDto`] - """ - return self._account_assignments_deletion_status - - @account_assignments_deletion_status.setter - def account_assignments_deletion_status(self, account_assignments_deletion_status): - """Sets the account_assignments_deletion_status of this ListAccountAssignmentDeletionStatusResponse. - - 操作状态集合 - - :param account_assignments_deletion_status: The account_assignments_deletion_status of this ListAccountAssignmentDeletionStatusResponse. - :type account_assignments_deletion_status: list[:class:`huaweicloudsdkidentitycenter.v1.AccountAssignmentOperationStatusMetadataDto`] - """ - self._account_assignments_deletion_status = account_assignments_deletion_status - - @property - def page_info(self): - """Gets the page_info of this ListAccountAssignmentDeletionStatusResponse. - - :return: The page_info of this ListAccountAssignmentDeletionStatusResponse. - :rtype: :class:`huaweicloudsdkidentitycenter.v1.PageInfoDto` - """ - return self._page_info - - @page_info.setter - def page_info(self, page_info): - """Sets the page_info of this ListAccountAssignmentDeletionStatusResponse. - - :param page_info: The page_info of this ListAccountAssignmentDeletionStatusResponse. - :type page_info: :class:`huaweicloudsdkidentitycenter.v1.PageInfoDto` - """ - self._page_info = page_info - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - if attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - if six.PY2: - import sys - reload(sys) - sys.setdefaultencoding("utf-8") - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ListAccountAssignmentDeletionStatusResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_account_assignments_request.py b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_account_assignments_request.py deleted file mode 100644 index afe73ba390..0000000000 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_account_assignments_request.py +++ /dev/null @@ -1,217 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ListAccountAssignmentsRequest: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - 'instance_id': 'str', - 'limit': 'int', - 'marker': 'str', - 'account_id': 'str', - 'permission_set_id': 'str' - } - - attribute_map = { - 'instance_id': 'instance_id', - 'limit': 'limit', - 'marker': 'marker', - 'account_id': 'account_id', - 'permission_set_id': 'permission_set_id' - } - - def __init__(self, instance_id=None, limit=None, marker=None, account_id=None, permission_set_id=None): - """ListAccountAssignmentsRequest - - The model defined in huaweicloud sdk - - :param instance_id: - :type instance_id: str - :param limit: - :type limit: int - :param marker: - :type marker: str - :param account_id: 指定账户的唯一身份标识. - :type account_id: str - :param permission_set_id: 指定权限集的唯一身份标识. - :type permission_set_id: str - """ - - - - self._instance_id = None - self._limit = None - self._marker = None - self._account_id = None - self._permission_set_id = None - self.discriminator = None - - self.instance_id = instance_id - if limit is not None: - self.limit = limit - if marker is not None: - self.marker = marker - self.account_id = account_id - if permission_set_id is not None: - self.permission_set_id = permission_set_id - - @property - def instance_id(self): - """Gets the instance_id of this ListAccountAssignmentsRequest. - - :return: The instance_id of this ListAccountAssignmentsRequest. - :rtype: str - """ - return self._instance_id - - @instance_id.setter - def instance_id(self, instance_id): - """Sets the instance_id of this ListAccountAssignmentsRequest. - - :param instance_id: The instance_id of this ListAccountAssignmentsRequest. - :type instance_id: str - """ - self._instance_id = instance_id - - @property - def limit(self): - """Gets the limit of this ListAccountAssignmentsRequest. - - :return: The limit of this ListAccountAssignmentsRequest. - :rtype: int - """ - return self._limit - - @limit.setter - def limit(self, limit): - """Sets the limit of this ListAccountAssignmentsRequest. - - :param limit: The limit of this ListAccountAssignmentsRequest. - :type limit: int - """ - self._limit = limit - - @property - def marker(self): - """Gets the marker of this ListAccountAssignmentsRequest. - - :return: The marker of this ListAccountAssignmentsRequest. - :rtype: str - """ - return self._marker - - @marker.setter - def marker(self, marker): - """Sets the marker of this ListAccountAssignmentsRequest. - - :param marker: The marker of this ListAccountAssignmentsRequest. - :type marker: str - """ - self._marker = marker - - @property - def account_id(self): - """Gets the account_id of this ListAccountAssignmentsRequest. - - 指定账户的唯一身份标识. - - :return: The account_id of this ListAccountAssignmentsRequest. - :rtype: str - """ - return self._account_id - - @account_id.setter - def account_id(self, account_id): - """Sets the account_id of this ListAccountAssignmentsRequest. - - 指定账户的唯一身份标识. - - :param account_id: The account_id of this ListAccountAssignmentsRequest. - :type account_id: str - """ - self._account_id = account_id - - @property - def permission_set_id(self): - """Gets the permission_set_id of this ListAccountAssignmentsRequest. - - 指定权限集的唯一身份标识. - - :return: The permission_set_id of this ListAccountAssignmentsRequest. - :rtype: str - """ - return self._permission_set_id - - @permission_set_id.setter - def permission_set_id(self, permission_set_id): - """Sets the permission_set_id of this ListAccountAssignmentsRequest. - - 指定权限集的唯一身份标识. - - :param permission_set_id: The permission_set_id of this ListAccountAssignmentsRequest. - :type permission_set_id: str - """ - self._permission_set_id = permission_set_id - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - if attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - if six.PY2: - import sys - reload(sys) - sys.setdefaultencoding("utf-8") - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ListAccountAssignmentsRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_account_assignments_response.py b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_account_assignments_response.py deleted file mode 100644 index 2afc4bb0ef..0000000000 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_account_assignments_response.py +++ /dev/null @@ -1,141 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ListAccountAssignmentsResponse(SdkResponse): - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - 'account_assignments': 'list[AccountAssignmentDto]', - 'page_info': 'PageInfoDto' - } - - attribute_map = { - 'account_assignments': 'account_assignments', - 'page_info': 'page_info' - } - - def __init__(self, account_assignments=None, page_info=None): - """ListAccountAssignmentsResponse - - The model defined in huaweicloud sdk - - :param account_assignments: 与输入帐户和权限集匹配的工作分配列表 - :type account_assignments: list[:class:`huaweicloudsdkidentitycenter.v1.AccountAssignmentDto`] - :param page_info: - :type page_info: :class:`huaweicloudsdkidentitycenter.v1.PageInfoDto` - """ - - super(ListAccountAssignmentsResponse, self).__init__() - - self._account_assignments = None - self._page_info = None - self.discriminator = None - - if account_assignments is not None: - self.account_assignments = account_assignments - if page_info is not None: - self.page_info = page_info - - @property - def account_assignments(self): - """Gets the account_assignments of this ListAccountAssignmentsResponse. - - 与输入帐户和权限集匹配的工作分配列表 - - :return: The account_assignments of this ListAccountAssignmentsResponse. - :rtype: list[:class:`huaweicloudsdkidentitycenter.v1.AccountAssignmentDto`] - """ - return self._account_assignments - - @account_assignments.setter - def account_assignments(self, account_assignments): - """Sets the account_assignments of this ListAccountAssignmentsResponse. - - 与输入帐户和权限集匹配的工作分配列表 - - :param account_assignments: The account_assignments of this ListAccountAssignmentsResponse. - :type account_assignments: list[:class:`huaweicloudsdkidentitycenter.v1.AccountAssignmentDto`] - """ - self._account_assignments = account_assignments - - @property - def page_info(self): - """Gets the page_info of this ListAccountAssignmentsResponse. - - :return: The page_info of this ListAccountAssignmentsResponse. - :rtype: :class:`huaweicloudsdkidentitycenter.v1.PageInfoDto` - """ - return self._page_info - - @page_info.setter - def page_info(self, page_info): - """Sets the page_info of this ListAccountAssignmentsResponse. - - :param page_info: The page_info of this ListAccountAssignmentsResponse. - :type page_info: :class:`huaweicloudsdkidentitycenter.v1.PageInfoDto` - """ - self._page_info = page_info - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - if attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - if six.PY2: - import sys - reload(sys) - sys.setdefaultencoding("utf-8") - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ListAccountAssignmentsResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_accounts_for_provisioned_permission_set_request.py b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_accounts_for_provisioned_permission_set_request.py deleted file mode 100644 index 66245fe62e..0000000000 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_accounts_for_provisioned_permission_set_request.py +++ /dev/null @@ -1,213 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ListAccountsForProvisionedPermissionSetRequest: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - 'instance_id': 'str', - 'permission_set_id': 'str', - 'limit': 'int', - 'marker': 'str', - 'provisioning_status': 'str' - } - - attribute_map = { - 'instance_id': 'instance_id', - 'permission_set_id': 'permission_set_id', - 'limit': 'limit', - 'marker': 'marker', - 'provisioning_status': 'provisioning_status' - } - - def __init__(self, instance_id=None, permission_set_id=None, limit=None, marker=None, provisioning_status=None): - """ListAccountsForProvisionedPermissionSetRequest - - The model defined in huaweicloud sdk - - :param instance_id: - :type instance_id: str - :param permission_set_id: - :type permission_set_id: str - :param limit: - :type limit: int - :param marker: - :type marker: str - :param provisioning_status: 权限集分配状态. - :type provisioning_status: str - """ - - - - self._instance_id = None - self._permission_set_id = None - self._limit = None - self._marker = None - self._provisioning_status = None - self.discriminator = None - - self.instance_id = instance_id - self.permission_set_id = permission_set_id - if limit is not None: - self.limit = limit - if marker is not None: - self.marker = marker - if provisioning_status is not None: - self.provisioning_status = provisioning_status - - @property - def instance_id(self): - """Gets the instance_id of this ListAccountsForProvisionedPermissionSetRequest. - - :return: The instance_id of this ListAccountsForProvisionedPermissionSetRequest. - :rtype: str - """ - return self._instance_id - - @instance_id.setter - def instance_id(self, instance_id): - """Sets the instance_id of this ListAccountsForProvisionedPermissionSetRequest. - - :param instance_id: The instance_id of this ListAccountsForProvisionedPermissionSetRequest. - :type instance_id: str - """ - self._instance_id = instance_id - - @property - def permission_set_id(self): - """Gets the permission_set_id of this ListAccountsForProvisionedPermissionSetRequest. - - :return: The permission_set_id of this ListAccountsForProvisionedPermissionSetRequest. - :rtype: str - """ - return self._permission_set_id - - @permission_set_id.setter - def permission_set_id(self, permission_set_id): - """Sets the permission_set_id of this ListAccountsForProvisionedPermissionSetRequest. - - :param permission_set_id: The permission_set_id of this ListAccountsForProvisionedPermissionSetRequest. - :type permission_set_id: str - """ - self._permission_set_id = permission_set_id - - @property - def limit(self): - """Gets the limit of this ListAccountsForProvisionedPermissionSetRequest. - - :return: The limit of this ListAccountsForProvisionedPermissionSetRequest. - :rtype: int - """ - return self._limit - - @limit.setter - def limit(self, limit): - """Sets the limit of this ListAccountsForProvisionedPermissionSetRequest. - - :param limit: The limit of this ListAccountsForProvisionedPermissionSetRequest. - :type limit: int - """ - self._limit = limit - - @property - def marker(self): - """Gets the marker of this ListAccountsForProvisionedPermissionSetRequest. - - :return: The marker of this ListAccountsForProvisionedPermissionSetRequest. - :rtype: str - """ - return self._marker - - @marker.setter - def marker(self, marker): - """Sets the marker of this ListAccountsForProvisionedPermissionSetRequest. - - :param marker: The marker of this ListAccountsForProvisionedPermissionSetRequest. - :type marker: str - """ - self._marker = marker - - @property - def provisioning_status(self): - """Gets the provisioning_status of this ListAccountsForProvisionedPermissionSetRequest. - - 权限集分配状态. - - :return: The provisioning_status of this ListAccountsForProvisionedPermissionSetRequest. - :rtype: str - """ - return self._provisioning_status - - @provisioning_status.setter - def provisioning_status(self, provisioning_status): - """Sets the provisioning_status of this ListAccountsForProvisionedPermissionSetRequest. - - 权限集分配状态. - - :param provisioning_status: The provisioning_status of this ListAccountsForProvisionedPermissionSetRequest. - :type provisioning_status: str - """ - self._provisioning_status = provisioning_status - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - if attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - if six.PY2: - import sys - reload(sys) - sys.setdefaultencoding("utf-8") - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ListAccountsForProvisionedPermissionSetRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_accounts_for_provisioned_permission_set_response.py b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_accounts_for_provisioned_permission_set_response.py deleted file mode 100644 index 467a92f9c3..0000000000 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_accounts_for_provisioned_permission_set_response.py +++ /dev/null @@ -1,137 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ListAccountsForProvisionedPermissionSetResponse(SdkResponse): - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - 'account_ids': 'list[str]', - 'page_info': 'PageInfoDto' - } - - attribute_map = { - 'account_ids': 'account_ids', - 'page_info': 'page_info' - } - - def __init__(self, account_ids=None, page_info=None): - """ListAccountsForProvisionedPermissionSetResponse - - The model defined in huaweicloud sdk - - :param account_ids: - :type account_ids: list[str] - :param page_info: - :type page_info: :class:`huaweicloudsdkidentitycenter.v1.PageInfoDto` - """ - - super(ListAccountsForProvisionedPermissionSetResponse, self).__init__() - - self._account_ids = None - self._page_info = None - self.discriminator = None - - if account_ids is not None: - self.account_ids = account_ids - if page_info is not None: - self.page_info = page_info - - @property - def account_ids(self): - """Gets the account_ids of this ListAccountsForProvisionedPermissionSetResponse. - - :return: The account_ids of this ListAccountsForProvisionedPermissionSetResponse. - :rtype: list[str] - """ - return self._account_ids - - @account_ids.setter - def account_ids(self, account_ids): - """Sets the account_ids of this ListAccountsForProvisionedPermissionSetResponse. - - :param account_ids: The account_ids of this ListAccountsForProvisionedPermissionSetResponse. - :type account_ids: list[str] - """ - self._account_ids = account_ids - - @property - def page_info(self): - """Gets the page_info of this ListAccountsForProvisionedPermissionSetResponse. - - :return: The page_info of this ListAccountsForProvisionedPermissionSetResponse. - :rtype: :class:`huaweicloudsdkidentitycenter.v1.PageInfoDto` - """ - return self._page_info - - @page_info.setter - def page_info(self, page_info): - """Sets the page_info of this ListAccountsForProvisionedPermissionSetResponse. - - :param page_info: The page_info of this ListAccountsForProvisionedPermissionSetResponse. - :type page_info: :class:`huaweicloudsdkidentitycenter.v1.PageInfoDto` - """ - self._page_info = page_info - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - if attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - if six.PY2: - import sys - reload(sys) - sys.setdefaultencoding("utf-8") - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ListAccountsForProvisionedPermissionSetResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_customer_managed_policy_references_in_permission_set_request.py b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_customer_managed_policy_references_in_permission_set_request.py deleted file mode 100644 index a07089a25f..0000000000 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_customer_managed_policy_references_in_permission_set_request.py +++ /dev/null @@ -1,184 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ListCustomerManagedPolicyReferencesInPermissionSetRequest: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - 'instance_id': 'str', - 'permission_set_id': 'str', - 'limit': 'int', - 'marker': 'str' - } - - attribute_map = { - 'instance_id': 'instance_id', - 'permission_set_id': 'permission_set_id', - 'limit': 'limit', - 'marker': 'marker' - } - - def __init__(self, instance_id=None, permission_set_id=None, limit=None, marker=None): - """ListCustomerManagedPolicyReferencesInPermissionSetRequest - - The model defined in huaweicloud sdk - - :param instance_id: - :type instance_id: str - :param permission_set_id: - :type permission_set_id: str - :param limit: - :type limit: int - :param marker: - :type marker: str - """ - - - - self._instance_id = None - self._permission_set_id = None - self._limit = None - self._marker = None - self.discriminator = None - - self.instance_id = instance_id - self.permission_set_id = permission_set_id - if limit is not None: - self.limit = limit - if marker is not None: - self.marker = marker - - @property - def instance_id(self): - """Gets the instance_id of this ListCustomerManagedPolicyReferencesInPermissionSetRequest. - - :return: The instance_id of this ListCustomerManagedPolicyReferencesInPermissionSetRequest. - :rtype: str - """ - return self._instance_id - - @instance_id.setter - def instance_id(self, instance_id): - """Sets the instance_id of this ListCustomerManagedPolicyReferencesInPermissionSetRequest. - - :param instance_id: The instance_id of this ListCustomerManagedPolicyReferencesInPermissionSetRequest. - :type instance_id: str - """ - self._instance_id = instance_id - - @property - def permission_set_id(self): - """Gets the permission_set_id of this ListCustomerManagedPolicyReferencesInPermissionSetRequest. - - :return: The permission_set_id of this ListCustomerManagedPolicyReferencesInPermissionSetRequest. - :rtype: str - """ - return self._permission_set_id - - @permission_set_id.setter - def permission_set_id(self, permission_set_id): - """Sets the permission_set_id of this ListCustomerManagedPolicyReferencesInPermissionSetRequest. - - :param permission_set_id: The permission_set_id of this ListCustomerManagedPolicyReferencesInPermissionSetRequest. - :type permission_set_id: str - """ - self._permission_set_id = permission_set_id - - @property - def limit(self): - """Gets the limit of this ListCustomerManagedPolicyReferencesInPermissionSetRequest. - - :return: The limit of this ListCustomerManagedPolicyReferencesInPermissionSetRequest. - :rtype: int - """ - return self._limit - - @limit.setter - def limit(self, limit): - """Sets the limit of this ListCustomerManagedPolicyReferencesInPermissionSetRequest. - - :param limit: The limit of this ListCustomerManagedPolicyReferencesInPermissionSetRequest. - :type limit: int - """ - self._limit = limit - - @property - def marker(self): - """Gets the marker of this ListCustomerManagedPolicyReferencesInPermissionSetRequest. - - :return: The marker of this ListCustomerManagedPolicyReferencesInPermissionSetRequest. - :rtype: str - """ - return self._marker - - @marker.setter - def marker(self, marker): - """Sets the marker of this ListCustomerManagedPolicyReferencesInPermissionSetRequest. - - :param marker: The marker of this ListCustomerManagedPolicyReferencesInPermissionSetRequest. - :type marker: str - """ - self._marker = marker - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - if attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - if six.PY2: - import sys - reload(sys) - sys.setdefaultencoding("utf-8") - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ListCustomerManagedPolicyReferencesInPermissionSetRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_customer_managed_policy_references_in_permission_set_response.py b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_customer_managed_policy_references_in_permission_set_response.py deleted file mode 100644 index ee093e8bc8..0000000000 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_customer_managed_policy_references_in_permission_set_response.py +++ /dev/null @@ -1,141 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ListCustomerManagedPolicyReferencesInPermissionSetResponse(SdkResponse): - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - 'customer_managed_policy_references': 'list[CustomerManagedPolicyReferenceDto]', - 'page_info': 'PageInfoDto' - } - - attribute_map = { - 'customer_managed_policy_references': 'customer_managed_policy_references', - 'page_info': 'page_info' - } - - def __init__(self, customer_managed_policy_references=None, page_info=None): - """ListCustomerManagedPolicyReferencesInPermissionSetResponse - - The model defined in huaweicloud sdk - - :param customer_managed_policy_references: 指定附加到权限集的客户管理策略的名称和路径. - :type customer_managed_policy_references: list[:class:`huaweicloudsdkidentitycenter.v1.CustomerManagedPolicyReferenceDto`] - :param page_info: - :type page_info: :class:`huaweicloudsdkidentitycenter.v1.PageInfoDto` - """ - - super(ListCustomerManagedPolicyReferencesInPermissionSetResponse, self).__init__() - - self._customer_managed_policy_references = None - self._page_info = None - self.discriminator = None - - if customer_managed_policy_references is not None: - self.customer_managed_policy_references = customer_managed_policy_references - if page_info is not None: - self.page_info = page_info - - @property - def customer_managed_policy_references(self): - """Gets the customer_managed_policy_references of this ListCustomerManagedPolicyReferencesInPermissionSetResponse. - - 指定附加到权限集的客户管理策略的名称和路径. - - :return: The customer_managed_policy_references of this ListCustomerManagedPolicyReferencesInPermissionSetResponse. - :rtype: list[:class:`huaweicloudsdkidentitycenter.v1.CustomerManagedPolicyReferenceDto`] - """ - return self._customer_managed_policy_references - - @customer_managed_policy_references.setter - def customer_managed_policy_references(self, customer_managed_policy_references): - """Sets the customer_managed_policy_references of this ListCustomerManagedPolicyReferencesInPermissionSetResponse. - - 指定附加到权限集的客户管理策略的名称和路径. - - :param customer_managed_policy_references: The customer_managed_policy_references of this ListCustomerManagedPolicyReferencesInPermissionSetResponse. - :type customer_managed_policy_references: list[:class:`huaweicloudsdkidentitycenter.v1.CustomerManagedPolicyReferenceDto`] - """ - self._customer_managed_policy_references = customer_managed_policy_references - - @property - def page_info(self): - """Gets the page_info of this ListCustomerManagedPolicyReferencesInPermissionSetResponse. - - :return: The page_info of this ListCustomerManagedPolicyReferencesInPermissionSetResponse. - :rtype: :class:`huaweicloudsdkidentitycenter.v1.PageInfoDto` - """ - return self._page_info - - @page_info.setter - def page_info(self, page_info): - """Sets the page_info of this ListCustomerManagedPolicyReferencesInPermissionSetResponse. - - :param page_info: The page_info of this ListCustomerManagedPolicyReferencesInPermissionSetResponse. - :type page_info: :class:`huaweicloudsdkidentitycenter.v1.PageInfoDto` - """ - self._page_info = page_info - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - if attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - if six.PY2: - import sys - reload(sys) - sys.setdefaultencoding("utf-8") - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ListCustomerManagedPolicyReferencesInPermissionSetResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_instances_request.py b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_instances_request.py index 3bfb1efbce..0242ea9fe9 100644 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_instances_request.py +++ b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_instances_request.py @@ -15,43 +15,75 @@ class ListInstancesRequest: and the value is json key in definition. """ sensitive_list = [] + sensitive_list.append('x_security_token') openapi_types = { + 'x_security_token': 'str', 'limit': 'int', 'marker': 'str' } attribute_map = { + 'x_security_token': 'X-Security-Token', 'limit': 'limit', 'marker': 'marker' } - def __init__(self, limit=None, marker=None): + def __init__(self, x_security_token=None, limit=None, marker=None): """ListInstancesRequest The model defined in huaweicloud sdk - :param limit: + :param x_security_token: 如果正在使用临时安全凭据,则此header是必需的,该值是临时安全凭据的安全令牌(会话令牌)。 + :type x_security_token: str + :param limit: 每个请求返回的最大结果数 :type limit: int - :param marker: + :param marker: 分页标记 :type marker: str """ + self._x_security_token = None self._limit = None self._marker = None self.discriminator = None + if x_security_token is not None: + self.x_security_token = x_security_token if limit is not None: self.limit = limit if marker is not None: self.marker = marker + @property + def x_security_token(self): + """Gets the x_security_token of this ListInstancesRequest. + + 如果正在使用临时安全凭据,则此header是必需的,该值是临时安全凭据的安全令牌(会话令牌)。 + + :return: The x_security_token of this ListInstancesRequest. + :rtype: str + """ + return self._x_security_token + + @x_security_token.setter + def x_security_token(self, x_security_token): + """Sets the x_security_token of this ListInstancesRequest. + + 如果正在使用临时安全凭据,则此header是必需的,该值是临时安全凭据的安全令牌(会话令牌)。 + + :param x_security_token: The x_security_token of this ListInstancesRequest. + :type x_security_token: str + """ + self._x_security_token = x_security_token + @property def limit(self): """Gets the limit of this ListInstancesRequest. + 每个请求返回的最大结果数 + :return: The limit of this ListInstancesRequest. :rtype: int """ @@ -61,6 +93,8 @@ def limit(self): def limit(self, limit): """Sets the limit of this ListInstancesRequest. + 每个请求返回的最大结果数 + :param limit: The limit of this ListInstancesRequest. :type limit: int """ @@ -70,6 +104,8 @@ def limit(self, limit): def marker(self): """Gets the marker of this ListInstancesRequest. + 分页标记 + :return: The marker of this ListInstancesRequest. :rtype: str """ @@ -79,6 +115,8 @@ def marker(self): def marker(self, marker): """Sets the marker of this ListInstancesRequest. + 分页标记 + :param marker: The marker of this ListInstancesRequest. :type marker: str """ diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_instances_response.py b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_instances_response.py index c307335d29..a762cc57e1 100644 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_instances_response.py +++ b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_instances_response.py @@ -32,7 +32,7 @@ def __init__(self, instances=None, page_info=None): The model defined in huaweicloud sdk - :param instances: IdentityCenter实例信息列表 + :param instances: IAM身份中心实例信息列表 :type instances: list[:class:`huaweicloudsdkidentitycenter.v1.InstanceMetadataEntryDto`] :param page_info: :type page_info: :class:`huaweicloudsdkidentitycenter.v1.PageInfoDto` @@ -53,7 +53,7 @@ def __init__(self, instances=None, page_info=None): def instances(self): """Gets the instances of this ListInstancesResponse. - IdentityCenter实例信息列表 + IAM身份中心实例信息列表 :return: The instances of this ListInstancesResponse. :rtype: list[:class:`huaweicloudsdkidentitycenter.v1.InstanceMetadataEntryDto`] @@ -64,7 +64,7 @@ def instances(self): def instances(self, instances): """Sets the instances of this ListInstancesResponse. - IdentityCenter实例信息列表 + IAM身份中心实例信息列表 :param instances: The instances of this ListInstancesResponse. :type instances: list[:class:`huaweicloudsdkidentitycenter.v1.InstanceMetadataEntryDto`] diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_managed_policies_in_permission_set_request.py b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_managed_policies_in_permission_set_request.py deleted file mode 100644 index 221f39ebbd..0000000000 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_managed_policies_in_permission_set_request.py +++ /dev/null @@ -1,184 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ListManagedPoliciesInPermissionSetRequest: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - 'instance_id': 'str', - 'permission_set_id': 'str', - 'limit': 'int', - 'marker': 'str' - } - - attribute_map = { - 'instance_id': 'instance_id', - 'permission_set_id': 'permission_set_id', - 'limit': 'limit', - 'marker': 'marker' - } - - def __init__(self, instance_id=None, permission_set_id=None, limit=None, marker=None): - """ListManagedPoliciesInPermissionSetRequest - - The model defined in huaweicloud sdk - - :param instance_id: - :type instance_id: str - :param permission_set_id: - :type permission_set_id: str - :param limit: - :type limit: int - :param marker: - :type marker: str - """ - - - - self._instance_id = None - self._permission_set_id = None - self._limit = None - self._marker = None - self.discriminator = None - - self.instance_id = instance_id - self.permission_set_id = permission_set_id - if limit is not None: - self.limit = limit - if marker is not None: - self.marker = marker - - @property - def instance_id(self): - """Gets the instance_id of this ListManagedPoliciesInPermissionSetRequest. - - :return: The instance_id of this ListManagedPoliciesInPermissionSetRequest. - :rtype: str - """ - return self._instance_id - - @instance_id.setter - def instance_id(self, instance_id): - """Sets the instance_id of this ListManagedPoliciesInPermissionSetRequest. - - :param instance_id: The instance_id of this ListManagedPoliciesInPermissionSetRequest. - :type instance_id: str - """ - self._instance_id = instance_id - - @property - def permission_set_id(self): - """Gets the permission_set_id of this ListManagedPoliciesInPermissionSetRequest. - - :return: The permission_set_id of this ListManagedPoliciesInPermissionSetRequest. - :rtype: str - """ - return self._permission_set_id - - @permission_set_id.setter - def permission_set_id(self, permission_set_id): - """Sets the permission_set_id of this ListManagedPoliciesInPermissionSetRequest. - - :param permission_set_id: The permission_set_id of this ListManagedPoliciesInPermissionSetRequest. - :type permission_set_id: str - """ - self._permission_set_id = permission_set_id - - @property - def limit(self): - """Gets the limit of this ListManagedPoliciesInPermissionSetRequest. - - :return: The limit of this ListManagedPoliciesInPermissionSetRequest. - :rtype: int - """ - return self._limit - - @limit.setter - def limit(self, limit): - """Sets the limit of this ListManagedPoliciesInPermissionSetRequest. - - :param limit: The limit of this ListManagedPoliciesInPermissionSetRequest. - :type limit: int - """ - self._limit = limit - - @property - def marker(self): - """Gets the marker of this ListManagedPoliciesInPermissionSetRequest. - - :return: The marker of this ListManagedPoliciesInPermissionSetRequest. - :rtype: str - """ - return self._marker - - @marker.setter - def marker(self, marker): - """Sets the marker of this ListManagedPoliciesInPermissionSetRequest. - - :param marker: The marker of this ListManagedPoliciesInPermissionSetRequest. - :type marker: str - """ - self._marker = marker - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - if attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - if six.PY2: - import sys - reload(sys) - sys.setdefaultencoding("utf-8") - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ListManagedPoliciesInPermissionSetRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_managed_policies_in_permission_set_response.py b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_managed_policies_in_permission_set_response.py deleted file mode 100644 index e21479d0a6..0000000000 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_managed_policies_in_permission_set_response.py +++ /dev/null @@ -1,141 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ListManagedPoliciesInPermissionSetResponse(SdkResponse): - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - 'attached_managed_policies': 'list[AttachedManagedPolicyDto]', - 'page_info': 'PageInfoDto' - } - - attribute_map = { - 'attached_managed_policies': 'attached_managed_policies', - 'page_info': 'page_info' - } - - def __init__(self, attached_managed_policies=None, page_info=None): - """ListManagedPoliciesInPermissionSetResponse - - The model defined in huaweicloud sdk - - :param attached_managed_policies: AttachedManagedPolicy数据类型对象的数组 - :type attached_managed_policies: list[:class:`huaweicloudsdkidentitycenter.v1.AttachedManagedPolicyDto`] - :param page_info: - :type page_info: :class:`huaweicloudsdkidentitycenter.v1.PageInfoDto` - """ - - super(ListManagedPoliciesInPermissionSetResponse, self).__init__() - - self._attached_managed_policies = None - self._page_info = None - self.discriminator = None - - if attached_managed_policies is not None: - self.attached_managed_policies = attached_managed_policies - if page_info is not None: - self.page_info = page_info - - @property - def attached_managed_policies(self): - """Gets the attached_managed_policies of this ListManagedPoliciesInPermissionSetResponse. - - AttachedManagedPolicy数据类型对象的数组 - - :return: The attached_managed_policies of this ListManagedPoliciesInPermissionSetResponse. - :rtype: list[:class:`huaweicloudsdkidentitycenter.v1.AttachedManagedPolicyDto`] - """ - return self._attached_managed_policies - - @attached_managed_policies.setter - def attached_managed_policies(self, attached_managed_policies): - """Sets the attached_managed_policies of this ListManagedPoliciesInPermissionSetResponse. - - AttachedManagedPolicy数据类型对象的数组 - - :param attached_managed_policies: The attached_managed_policies of this ListManagedPoliciesInPermissionSetResponse. - :type attached_managed_policies: list[:class:`huaweicloudsdkidentitycenter.v1.AttachedManagedPolicyDto`] - """ - self._attached_managed_policies = attached_managed_policies - - @property - def page_info(self): - """Gets the page_info of this ListManagedPoliciesInPermissionSetResponse. - - :return: The page_info of this ListManagedPoliciesInPermissionSetResponse. - :rtype: :class:`huaweicloudsdkidentitycenter.v1.PageInfoDto` - """ - return self._page_info - - @page_info.setter - def page_info(self, page_info): - """Sets the page_info of this ListManagedPoliciesInPermissionSetResponse. - - :param page_info: The page_info of this ListManagedPoliciesInPermissionSetResponse. - :type page_info: :class:`huaweicloudsdkidentitycenter.v1.PageInfoDto` - """ - self._page_info = page_info - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - if attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - if six.PY2: - import sys - reload(sys) - sys.setdefaultencoding("utf-8") - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ListManagedPoliciesInPermissionSetResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_permission_set_provisioning_status_response.py b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_permission_set_provisioning_status_response.py deleted file mode 100644 index fff53f6375..0000000000 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_permission_set_provisioning_status_response.py +++ /dev/null @@ -1,141 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ListPermissionSetProvisioningStatusResponse(SdkResponse): - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - 'permission_sets_provisioning_status': 'list[PermissionSetProvisioningStatusMetadataDto]', - 'page_info': 'PageInfoDto' - } - - attribute_map = { - 'permission_sets_provisioning_status': 'permission_sets_provisioning_status', - 'page_info': 'page_info' - } - - def __init__(self, permission_sets_provisioning_status=None, page_info=None): - """ListPermissionSetProvisioningStatusResponse - - The model defined in huaweicloud sdk - - :param permission_sets_provisioning_status: 权限集授权状态 - :type permission_sets_provisioning_status: list[:class:`huaweicloudsdkidentitycenter.v1.PermissionSetProvisioningStatusMetadataDto`] - :param page_info: - :type page_info: :class:`huaweicloudsdkidentitycenter.v1.PageInfoDto` - """ - - super(ListPermissionSetProvisioningStatusResponse, self).__init__() - - self._permission_sets_provisioning_status = None - self._page_info = None - self.discriminator = None - - if permission_sets_provisioning_status is not None: - self.permission_sets_provisioning_status = permission_sets_provisioning_status - if page_info is not None: - self.page_info = page_info - - @property - def permission_sets_provisioning_status(self): - """Gets the permission_sets_provisioning_status of this ListPermissionSetProvisioningStatusResponse. - - 权限集授权状态 - - :return: The permission_sets_provisioning_status of this ListPermissionSetProvisioningStatusResponse. - :rtype: list[:class:`huaweicloudsdkidentitycenter.v1.PermissionSetProvisioningStatusMetadataDto`] - """ - return self._permission_sets_provisioning_status - - @permission_sets_provisioning_status.setter - def permission_sets_provisioning_status(self, permission_sets_provisioning_status): - """Sets the permission_sets_provisioning_status of this ListPermissionSetProvisioningStatusResponse. - - 权限集授权状态 - - :param permission_sets_provisioning_status: The permission_sets_provisioning_status of this ListPermissionSetProvisioningStatusResponse. - :type permission_sets_provisioning_status: list[:class:`huaweicloudsdkidentitycenter.v1.PermissionSetProvisioningStatusMetadataDto`] - """ - self._permission_sets_provisioning_status = permission_sets_provisioning_status - - @property - def page_info(self): - """Gets the page_info of this ListPermissionSetProvisioningStatusResponse. - - :return: The page_info of this ListPermissionSetProvisioningStatusResponse. - :rtype: :class:`huaweicloudsdkidentitycenter.v1.PageInfoDto` - """ - return self._page_info - - @page_info.setter - def page_info(self, page_info): - """Sets the page_info of this ListPermissionSetProvisioningStatusResponse. - - :param page_info: The page_info of this ListPermissionSetProvisioningStatusResponse. - :type page_info: :class:`huaweicloudsdkidentitycenter.v1.PageInfoDto` - """ - self._page_info = page_info - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - if attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - if six.PY2: - import sys - reload(sys) - sys.setdefaultencoding("utf-8") - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ListPermissionSetProvisioningStatusResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_permission_sets_provisioned_to_account_request.py b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_permission_sets_provisioned_to_account_request.py deleted file mode 100644 index 63b7674745..0000000000 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_permission_sets_provisioned_to_account_request.py +++ /dev/null @@ -1,217 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ListPermissionSetsProvisionedToAccountRequest: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - 'instance_id': 'str', - 'limit': 'int', - 'marker': 'str', - 'account_id': 'str', - 'provisioning_status': 'str' - } - - attribute_map = { - 'instance_id': 'instance_id', - 'limit': 'limit', - 'marker': 'marker', - 'account_id': 'account_id', - 'provisioning_status': 'provisioning_status' - } - - def __init__(self, instance_id=None, limit=None, marker=None, account_id=None, provisioning_status=None): - """ListPermissionSetsProvisionedToAccountRequest - - The model defined in huaweicloud sdk - - :param instance_id: - :type instance_id: str - :param limit: - :type limit: int - :param marker: - :type marker: str - :param account_id: 指定账户的唯一身份标识. - :type account_id: str - :param provisioning_status: 权限集授权状态 - :type provisioning_status: str - """ - - - - self._instance_id = None - self._limit = None - self._marker = None - self._account_id = None - self._provisioning_status = None - self.discriminator = None - - self.instance_id = instance_id - if limit is not None: - self.limit = limit - if marker is not None: - self.marker = marker - self.account_id = account_id - if provisioning_status is not None: - self.provisioning_status = provisioning_status - - @property - def instance_id(self): - """Gets the instance_id of this ListPermissionSetsProvisionedToAccountRequest. - - :return: The instance_id of this ListPermissionSetsProvisionedToAccountRequest. - :rtype: str - """ - return self._instance_id - - @instance_id.setter - def instance_id(self, instance_id): - """Sets the instance_id of this ListPermissionSetsProvisionedToAccountRequest. - - :param instance_id: The instance_id of this ListPermissionSetsProvisionedToAccountRequest. - :type instance_id: str - """ - self._instance_id = instance_id - - @property - def limit(self): - """Gets the limit of this ListPermissionSetsProvisionedToAccountRequest. - - :return: The limit of this ListPermissionSetsProvisionedToAccountRequest. - :rtype: int - """ - return self._limit - - @limit.setter - def limit(self, limit): - """Sets the limit of this ListPermissionSetsProvisionedToAccountRequest. - - :param limit: The limit of this ListPermissionSetsProvisionedToAccountRequest. - :type limit: int - """ - self._limit = limit - - @property - def marker(self): - """Gets the marker of this ListPermissionSetsProvisionedToAccountRequest. - - :return: The marker of this ListPermissionSetsProvisionedToAccountRequest. - :rtype: str - """ - return self._marker - - @marker.setter - def marker(self, marker): - """Sets the marker of this ListPermissionSetsProvisionedToAccountRequest. - - :param marker: The marker of this ListPermissionSetsProvisionedToAccountRequest. - :type marker: str - """ - self._marker = marker - - @property - def account_id(self): - """Gets the account_id of this ListPermissionSetsProvisionedToAccountRequest. - - 指定账户的唯一身份标识. - - :return: The account_id of this ListPermissionSetsProvisionedToAccountRequest. - :rtype: str - """ - return self._account_id - - @account_id.setter - def account_id(self, account_id): - """Sets the account_id of this ListPermissionSetsProvisionedToAccountRequest. - - 指定账户的唯一身份标识. - - :param account_id: The account_id of this ListPermissionSetsProvisionedToAccountRequest. - :type account_id: str - """ - self._account_id = account_id - - @property - def provisioning_status(self): - """Gets the provisioning_status of this ListPermissionSetsProvisionedToAccountRequest. - - 权限集授权状态 - - :return: The provisioning_status of this ListPermissionSetsProvisionedToAccountRequest. - :rtype: str - """ - return self._provisioning_status - - @provisioning_status.setter - def provisioning_status(self, provisioning_status): - """Sets the provisioning_status of this ListPermissionSetsProvisionedToAccountRequest. - - 权限集授权状态 - - :param provisioning_status: The provisioning_status of this ListPermissionSetsProvisionedToAccountRequest. - :type provisioning_status: str - """ - self._provisioning_status = provisioning_status - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - if attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - if six.PY2: - import sys - reload(sys) - sys.setdefaultencoding("utf-8") - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ListPermissionSetsProvisionedToAccountRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_permission_sets_provisioned_to_account_response.py b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_permission_sets_provisioned_to_account_response.py deleted file mode 100644 index ed1d5a61ea..0000000000 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_permission_sets_provisioned_to_account_response.py +++ /dev/null @@ -1,141 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ListPermissionSetsProvisionedToAccountResponse(SdkResponse): - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - 'permission_sets': 'list[str]', - 'page_info': 'PageInfoDto' - } - - attribute_map = { - 'permission_sets': 'permission_sets', - 'page_info': 'page_info' - } - - def __init__(self, permission_sets=None, page_info=None): - """ListPermissionSetsProvisionedToAccountResponse - - The model defined in huaweicloud sdk - - :param permission_sets: 权限集列表 - :type permission_sets: list[str] - :param page_info: - :type page_info: :class:`huaweicloudsdkidentitycenter.v1.PageInfoDto` - """ - - super(ListPermissionSetsProvisionedToAccountResponse, self).__init__() - - self._permission_sets = None - self._page_info = None - self.discriminator = None - - if permission_sets is not None: - self.permission_sets = permission_sets - if page_info is not None: - self.page_info = page_info - - @property - def permission_sets(self): - """Gets the permission_sets of this ListPermissionSetsProvisionedToAccountResponse. - - 权限集列表 - - :return: The permission_sets of this ListPermissionSetsProvisionedToAccountResponse. - :rtype: list[str] - """ - return self._permission_sets - - @permission_sets.setter - def permission_sets(self, permission_sets): - """Sets the permission_sets of this ListPermissionSetsProvisionedToAccountResponse. - - 权限集列表 - - :param permission_sets: The permission_sets of this ListPermissionSetsProvisionedToAccountResponse. - :type permission_sets: list[str] - """ - self._permission_sets = permission_sets - - @property - def page_info(self): - """Gets the page_info of this ListPermissionSetsProvisionedToAccountResponse. - - :return: The page_info of this ListPermissionSetsProvisionedToAccountResponse. - :rtype: :class:`huaweicloudsdkidentitycenter.v1.PageInfoDto` - """ - return self._page_info - - @page_info.setter - def page_info(self, page_info): - """Sets the page_info of this ListPermissionSetsProvisionedToAccountResponse. - - :param page_info: The page_info of this ListPermissionSetsProvisionedToAccountResponse. - :type page_info: :class:`huaweicloudsdkidentitycenter.v1.PageInfoDto` - """ - self._page_info = page_info - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - if attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - if six.PY2: - import sys - reload(sys) - sys.setdefaultencoding("utf-8") - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ListPermissionSetsProvisionedToAccountResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_permission_sets_request.py b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_permission_sets_request.py deleted file mode 100644 index 1af88a92b2..0000000000 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_permission_sets_request.py +++ /dev/null @@ -1,247 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ListPermissionSetsRequest: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - 'instance_id': 'str', - 'limit': 'int', - 'marker': 'str', - 'permission_set_id': 'str', - 'permission_urn': 'str', - 'name': 'str' - } - - attribute_map = { - 'instance_id': 'instance_id', - 'limit': 'limit', - 'marker': 'marker', - 'permission_set_id': 'permission_set_id', - 'permission_urn': 'permission_urn', - 'name': 'name' - } - - def __init__(self, instance_id=None, limit=None, marker=None, permission_set_id=None, permission_urn=None, name=None): - """ListPermissionSetsRequest - - The model defined in huaweicloud sdk - - :param instance_id: - :type instance_id: str - :param limit: - :type limit: int - :param marker: - :type marker: str - :param permission_set_id: 权限集的全局唯一标识符(ID) - :type permission_set_id: str - :param permission_urn: 权限集urn - :type permission_urn: str - :param name: 权限集名称 - :type name: str - """ - - - - self._instance_id = None - self._limit = None - self._marker = None - self._permission_set_id = None - self._permission_urn = None - self._name = None - self.discriminator = None - - self.instance_id = instance_id - if limit is not None: - self.limit = limit - if marker is not None: - self.marker = marker - if permission_set_id is not None: - self.permission_set_id = permission_set_id - if permission_urn is not None: - self.permission_urn = permission_urn - if name is not None: - self.name = name - - @property - def instance_id(self): - """Gets the instance_id of this ListPermissionSetsRequest. - - :return: The instance_id of this ListPermissionSetsRequest. - :rtype: str - """ - return self._instance_id - - @instance_id.setter - def instance_id(self, instance_id): - """Sets the instance_id of this ListPermissionSetsRequest. - - :param instance_id: The instance_id of this ListPermissionSetsRequest. - :type instance_id: str - """ - self._instance_id = instance_id - - @property - def limit(self): - """Gets the limit of this ListPermissionSetsRequest. - - :return: The limit of this ListPermissionSetsRequest. - :rtype: int - """ - return self._limit - - @limit.setter - def limit(self, limit): - """Sets the limit of this ListPermissionSetsRequest. - - :param limit: The limit of this ListPermissionSetsRequest. - :type limit: int - """ - self._limit = limit - - @property - def marker(self): - """Gets the marker of this ListPermissionSetsRequest. - - :return: The marker of this ListPermissionSetsRequest. - :rtype: str - """ - return self._marker - - @marker.setter - def marker(self, marker): - """Sets the marker of this ListPermissionSetsRequest. - - :param marker: The marker of this ListPermissionSetsRequest. - :type marker: str - """ - self._marker = marker - - @property - def permission_set_id(self): - """Gets the permission_set_id of this ListPermissionSetsRequest. - - 权限集的全局唯一标识符(ID) - - :return: The permission_set_id of this ListPermissionSetsRequest. - :rtype: str - """ - return self._permission_set_id - - @permission_set_id.setter - def permission_set_id(self, permission_set_id): - """Sets the permission_set_id of this ListPermissionSetsRequest. - - 权限集的全局唯一标识符(ID) - - :param permission_set_id: The permission_set_id of this ListPermissionSetsRequest. - :type permission_set_id: str - """ - self._permission_set_id = permission_set_id - - @property - def permission_urn(self): - """Gets the permission_urn of this ListPermissionSetsRequest. - - 权限集urn - - :return: The permission_urn of this ListPermissionSetsRequest. - :rtype: str - """ - return self._permission_urn - - @permission_urn.setter - def permission_urn(self, permission_urn): - """Sets the permission_urn of this ListPermissionSetsRequest. - - 权限集urn - - :param permission_urn: The permission_urn of this ListPermissionSetsRequest. - :type permission_urn: str - """ - self._permission_urn = permission_urn - - @property - def name(self): - """Gets the name of this ListPermissionSetsRequest. - - 权限集名称 - - :return: The name of this ListPermissionSetsRequest. - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this ListPermissionSetsRequest. - - 权限集名称 - - :param name: The name of this ListPermissionSetsRequest. - :type name: str - """ - self._name = name - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - if attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - if six.PY2: - import sys - reload(sys) - sys.setdefaultencoding("utf-8") - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ListPermissionSetsRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_profile_associations_response.py b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_profile_associations_response.py deleted file mode 100644 index a065586322..0000000000 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_profile_associations_response.py +++ /dev/null @@ -1,112 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ListProfileAssociationsResponse(SdkResponse): - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - 'associations': 'list[AssociationDto]' - } - - attribute_map = { - 'associations': 'associations' - } - - def __init__(self, associations=None): - """ListProfileAssociationsResponse - - The model defined in huaweicloud sdk - - :param associations: - :type associations: list[:class:`huaweicloudsdkidentitycenter.v1.AssociationDto`] - """ - - super(ListProfileAssociationsResponse, self).__init__() - - self._associations = None - self.discriminator = None - - if associations is not None: - self.associations = associations - - @property - def associations(self): - """Gets the associations of this ListProfileAssociationsResponse. - - :return: The associations of this ListProfileAssociationsResponse. - :rtype: list[:class:`huaweicloudsdkidentitycenter.v1.AssociationDto`] - """ - return self._associations - - @associations.setter - def associations(self, associations): - """Sets the associations of this ListProfileAssociationsResponse. - - :param associations: The associations of this ListProfileAssociationsResponse. - :type associations: list[:class:`huaweicloudsdkidentitycenter.v1.AssociationDto`] - """ - self._associations = associations - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - if attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - if six.PY2: - import sys - reload(sys) - sys.setdefaultencoding("utf-8") - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ListProfileAssociationsResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/page_info_dto.py b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/page_info_dto.py index 97e86c8854..3a047830b5 100644 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/page_info_dto.py +++ b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/page_info_dto.py @@ -31,7 +31,7 @@ def __init__(self, next_marker=None, current_count=None): The model defined in huaweicloud sdk - :param next_marker: 下一部分。您应该重复此操作,直到next_marker响应元素返回为null。 如果存在,则表示可用的输出比当前响应中包含的输出多。在对操作的后续调用中,在标签请求参数中使用此值,以获取输出的下一部分。您应该重复此操作,直到next_marker响应元素返回为null。 + :param next_marker: 如果存在,则表示可用的输出比当前响应中包含的输出多。在对操作的后续调用中,在标签请求参数中使用此值,以获取输出的下一部分。您应该重复此操作,直到next_marker响应元素返回为null :type next_marker: str :param current_count: 本页返回条目数量 :type current_count: int @@ -51,7 +51,7 @@ def __init__(self, next_marker=None, current_count=None): def next_marker(self): """Gets the next_marker of this PageInfoDto. - 下一部分。您应该重复此操作,直到next_marker响应元素返回为null。 如果存在,则表示可用的输出比当前响应中包含的输出多。在对操作的后续调用中,在标签请求参数中使用此值,以获取输出的下一部分。您应该重复此操作,直到next_marker响应元素返回为null。 + 如果存在,则表示可用的输出比当前响应中包含的输出多。在对操作的后续调用中,在标签请求参数中使用此值,以获取输出的下一部分。您应该重复此操作,直到next_marker响应元素返回为null :return: The next_marker of this PageInfoDto. :rtype: str @@ -62,7 +62,7 @@ def next_marker(self): def next_marker(self, next_marker): """Sets the next_marker of this PageInfoDto. - 下一部分。您应该重复此操作,直到next_marker响应元素返回为null。 如果存在,则表示可用的输出比当前响应中包含的输出多。在对操作的后续调用中,在标签请求参数中使用此值,以获取输出的下一部分。您应该重复此操作,直到next_marker响应元素返回为null。 + 如果存在,则表示可用的输出比当前响应中包含的输出多。在对操作的后续调用中,在标签请求参数中使用此值,以获取输出的下一部分。您应该重复此操作,直到next_marker响应元素返回为null :param next_marker: The next_marker of this PageInfoDto. :type next_marker: str diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/permission_set_dto.py b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/permission_set_dto.py deleted file mode 100644 index 7e30ae48bf..0000000000 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/permission_set_dto.py +++ /dev/null @@ -1,260 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class PermissionSetDto: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - 'created_date': 'int', - 'description': 'str', - 'name': 'str', - 'permission_set_id': 'str', - 'relay_state': 'str', - 'session_duration': 'str' - } - - attribute_map = { - 'created_date': 'created_date', - 'description': 'description', - 'name': 'name', - 'permission_set_id': 'permission_set_id', - 'relay_state': 'relay_state', - 'session_duration': 'session_duration' - } - - def __init__(self, created_date=None, description=None, name=None, permission_set_id=None, relay_state=None, session_duration=None): - """PermissionSetDto - - The model defined in huaweicloud sdk - - :param created_date: 权限集的创建时间 - :type created_date: int - :param description: 权限集的描述 - :type description: str - :param name: 权限集的名称 - :type name: str - :param permission_set_id: 权限集的唯一标识 - :type permission_set_id: str - :param relay_state: 用于在联合身份验证过程中重定向应用程序中的用户 - :type relay_state: str - :param session_duration: 应用程序用户会话在ISO-8601标准中有效的时间长度 - :type session_duration: str - """ - - - - self._created_date = None - self._description = None - self._name = None - self._permission_set_id = None - self._relay_state = None - self._session_duration = None - self.discriminator = None - - if created_date is not None: - self.created_date = created_date - if description is not None: - self.description = description - if name is not None: - self.name = name - if permission_set_id is not None: - self.permission_set_id = permission_set_id - if relay_state is not None: - self.relay_state = relay_state - if session_duration is not None: - self.session_duration = session_duration - - @property - def created_date(self): - """Gets the created_date of this PermissionSetDto. - - 权限集的创建时间 - - :return: The created_date of this PermissionSetDto. - :rtype: int - """ - return self._created_date - - @created_date.setter - def created_date(self, created_date): - """Sets the created_date of this PermissionSetDto. - - 权限集的创建时间 - - :param created_date: The created_date of this PermissionSetDto. - :type created_date: int - """ - self._created_date = created_date - - @property - def description(self): - """Gets the description of this PermissionSetDto. - - 权限集的描述 - - :return: The description of this PermissionSetDto. - :rtype: str - """ - return self._description - - @description.setter - def description(self, description): - """Sets the description of this PermissionSetDto. - - 权限集的描述 - - :param description: The description of this PermissionSetDto. - :type description: str - """ - self._description = description - - @property - def name(self): - """Gets the name of this PermissionSetDto. - - 权限集的名称 - - :return: The name of this PermissionSetDto. - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this PermissionSetDto. - - 权限集的名称 - - :param name: The name of this PermissionSetDto. - :type name: str - """ - self._name = name - - @property - def permission_set_id(self): - """Gets the permission_set_id of this PermissionSetDto. - - 权限集的唯一标识 - - :return: The permission_set_id of this PermissionSetDto. - :rtype: str - """ - return self._permission_set_id - - @permission_set_id.setter - def permission_set_id(self, permission_set_id): - """Sets the permission_set_id of this PermissionSetDto. - - 权限集的唯一标识 - - :param permission_set_id: The permission_set_id of this PermissionSetDto. - :type permission_set_id: str - """ - self._permission_set_id = permission_set_id - - @property - def relay_state(self): - """Gets the relay_state of this PermissionSetDto. - - 用于在联合身份验证过程中重定向应用程序中的用户 - - :return: The relay_state of this PermissionSetDto. - :rtype: str - """ - return self._relay_state - - @relay_state.setter - def relay_state(self, relay_state): - """Sets the relay_state of this PermissionSetDto. - - 用于在联合身份验证过程中重定向应用程序中的用户 - - :param relay_state: The relay_state of this PermissionSetDto. - :type relay_state: str - """ - self._relay_state = relay_state - - @property - def session_duration(self): - """Gets the session_duration of this PermissionSetDto. - - 应用程序用户会话在ISO-8601标准中有效的时间长度 - - :return: The session_duration of this PermissionSetDto. - :rtype: str - """ - return self._session_duration - - @session_duration.setter - def session_duration(self, session_duration): - """Sets the session_duration of this PermissionSetDto. - - 应用程序用户会话在ISO-8601标准中有效的时间长度 - - :param session_duration: The session_duration of this PermissionSetDto. - :type session_duration: str - """ - self._session_duration = session_duration - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - if attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - if six.PY2: - import sys - reload(sys) - sys.setdefaultencoding("utf-8") - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, PermissionSetDto): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/permission_set_provisioning_status_dto.py b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/permission_set_provisioning_status_dto.py deleted file mode 100644 index a2a03d5a34..0000000000 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/permission_set_provisioning_status_dto.py +++ /dev/null @@ -1,260 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class PermissionSetProvisioningStatusDto: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - 'account_id': 'str', - 'created_date': 'str', - 'failure_reason': 'str', - 'permission_set_id': 'str', - 'request_id': 'str', - 'status': 'str' - } - - attribute_map = { - 'account_id': 'account_id', - 'created_date': 'created_date', - 'failure_reason': 'failure_reason', - 'permission_set_id': 'permission_set_id', - 'request_id': 'request_id', - 'status': 'status' - } - - def __init__(self, account_id=None, created_date=None, failure_reason=None, permission_set_id=None, request_id=None, status=None): - """PermissionSetProvisioningStatusDto - - The model defined in huaweicloud sdk - - :param account_id: 指定账户的唯一身份标识. - :type account_id: str - :param created_date: 权限集创建日期 - :type created_date: str - :param failure_reason: 失败原因 - :type failure_reason: str - :param permission_set_id: 权限集唯一标识 - :type permission_set_id: str - :param request_id: 请求唯一标识 - :type request_id: str - :param status: 权限集授权状态 - :type status: str - """ - - - - self._account_id = None - self._created_date = None - self._failure_reason = None - self._permission_set_id = None - self._request_id = None - self._status = None - self.discriminator = None - - if account_id is not None: - self.account_id = account_id - if created_date is not None: - self.created_date = created_date - if failure_reason is not None: - self.failure_reason = failure_reason - if permission_set_id is not None: - self.permission_set_id = permission_set_id - if request_id is not None: - self.request_id = request_id - if status is not None: - self.status = status - - @property - def account_id(self): - """Gets the account_id of this PermissionSetProvisioningStatusDto. - - 指定账户的唯一身份标识. - - :return: The account_id of this PermissionSetProvisioningStatusDto. - :rtype: str - """ - return self._account_id - - @account_id.setter - def account_id(self, account_id): - """Sets the account_id of this PermissionSetProvisioningStatusDto. - - 指定账户的唯一身份标识. - - :param account_id: The account_id of this PermissionSetProvisioningStatusDto. - :type account_id: str - """ - self._account_id = account_id - - @property - def created_date(self): - """Gets the created_date of this PermissionSetProvisioningStatusDto. - - 权限集创建日期 - - :return: The created_date of this PermissionSetProvisioningStatusDto. - :rtype: str - """ - return self._created_date - - @created_date.setter - def created_date(self, created_date): - """Sets the created_date of this PermissionSetProvisioningStatusDto. - - 权限集创建日期 - - :param created_date: The created_date of this PermissionSetProvisioningStatusDto. - :type created_date: str - """ - self._created_date = created_date - - @property - def failure_reason(self): - """Gets the failure_reason of this PermissionSetProvisioningStatusDto. - - 失败原因 - - :return: The failure_reason of this PermissionSetProvisioningStatusDto. - :rtype: str - """ - return self._failure_reason - - @failure_reason.setter - def failure_reason(self, failure_reason): - """Sets the failure_reason of this PermissionSetProvisioningStatusDto. - - 失败原因 - - :param failure_reason: The failure_reason of this PermissionSetProvisioningStatusDto. - :type failure_reason: str - """ - self._failure_reason = failure_reason - - @property - def permission_set_id(self): - """Gets the permission_set_id of this PermissionSetProvisioningStatusDto. - - 权限集唯一标识 - - :return: The permission_set_id of this PermissionSetProvisioningStatusDto. - :rtype: str - """ - return self._permission_set_id - - @permission_set_id.setter - def permission_set_id(self, permission_set_id): - """Sets the permission_set_id of this PermissionSetProvisioningStatusDto. - - 权限集唯一标识 - - :param permission_set_id: The permission_set_id of this PermissionSetProvisioningStatusDto. - :type permission_set_id: str - """ - self._permission_set_id = permission_set_id - - @property - def request_id(self): - """Gets the request_id of this PermissionSetProvisioningStatusDto. - - 请求唯一标识 - - :return: The request_id of this PermissionSetProvisioningStatusDto. - :rtype: str - """ - return self._request_id - - @request_id.setter - def request_id(self, request_id): - """Sets the request_id of this PermissionSetProvisioningStatusDto. - - 请求唯一标识 - - :param request_id: The request_id of this PermissionSetProvisioningStatusDto. - :type request_id: str - """ - self._request_id = request_id - - @property - def status(self): - """Gets the status of this PermissionSetProvisioningStatusDto. - - 权限集授权状态 - - :return: The status of this PermissionSetProvisioningStatusDto. - :rtype: str - """ - return self._status - - @status.setter - def status(self, status): - """Sets the status of this PermissionSetProvisioningStatusDto. - - 权限集授权状态 - - :param status: The status of this PermissionSetProvisioningStatusDto. - :type status: str - """ - self._status = status - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - if attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - if six.PY2: - import sys - reload(sys) - sys.setdefaultencoding("utf-8") - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, PermissionSetProvisioningStatusDto): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/permission_set_provisioning_status_metadata_dto.py b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/permission_set_provisioning_status_metadata_dto.py deleted file mode 100644 index e92c2731ec..0000000000 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/permission_set_provisioning_status_metadata_dto.py +++ /dev/null @@ -1,173 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class PermissionSetProvisioningStatusMetadataDto: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - 'created_date': 'int', - 'request_id': 'str', - 'status': 'str' - } - - attribute_map = { - 'created_date': 'created_date', - 'request_id': 'request_id', - 'status': 'status' - } - - def __init__(self, created_date=None, request_id=None, status=None): - """PermissionSetProvisioningStatusMetadataDto - - The model defined in huaweicloud sdk - - :param created_date: 权限集创建日期 - :type created_date: int - :param request_id: 请求唯一标识 - :type request_id: str - :param status: 权限集授权状态 - :type status: str - """ - - - - self._created_date = None - self._request_id = None - self._status = None - self.discriminator = None - - if created_date is not None: - self.created_date = created_date - if request_id is not None: - self.request_id = request_id - if status is not None: - self.status = status - - @property - def created_date(self): - """Gets the created_date of this PermissionSetProvisioningStatusMetadataDto. - - 权限集创建日期 - - :return: The created_date of this PermissionSetProvisioningStatusMetadataDto. - :rtype: int - """ - return self._created_date - - @created_date.setter - def created_date(self, created_date): - """Sets the created_date of this PermissionSetProvisioningStatusMetadataDto. - - 权限集创建日期 - - :param created_date: The created_date of this PermissionSetProvisioningStatusMetadataDto. - :type created_date: int - """ - self._created_date = created_date - - @property - def request_id(self): - """Gets the request_id of this PermissionSetProvisioningStatusMetadataDto. - - 请求唯一标识 - - :return: The request_id of this PermissionSetProvisioningStatusMetadataDto. - :rtype: str - """ - return self._request_id - - @request_id.setter - def request_id(self, request_id): - """Sets the request_id of this PermissionSetProvisioningStatusMetadataDto. - - 请求唯一标识 - - :param request_id: The request_id of this PermissionSetProvisioningStatusMetadataDto. - :type request_id: str - """ - self._request_id = request_id - - @property - def status(self): - """Gets the status of this PermissionSetProvisioningStatusMetadataDto. - - 权限集授权状态 - - :return: The status of this PermissionSetProvisioningStatusMetadataDto. - :rtype: str - """ - return self._status - - @status.setter - def status(self, status): - """Sets the status of this PermissionSetProvisioningStatusMetadataDto. - - 权限集授权状态 - - :param status: The status of this PermissionSetProvisioningStatusMetadataDto. - :type status: str - """ - self._status = status - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - if attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - if six.PY2: - import sys - reload(sys) - sys.setdefaultencoding("utf-8") - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, PermissionSetProvisioningStatusMetadataDto): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/update_permission_set_req_body.py b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/update_permission_set_req_body.py deleted file mode 100644 index 27a81d4414..0000000000 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/update_permission_set_req_body.py +++ /dev/null @@ -1,173 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class UpdatePermissionSetReqBody: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - 'description': 'str', - 'relay_state': 'str', - 'session_duration': 'str' - } - - attribute_map = { - 'description': 'description', - 'relay_state': 'relay_state', - 'session_duration': 'session_duration' - } - - def __init__(self, description=None, relay_state=None, session_duration=None): - """UpdatePermissionSetReqBody - - The model defined in huaweicloud sdk - - :param description: 权限集描述 - :type description: str - :param relay_state: 用于在联合身份验证过程中重定向应用程序中的用户 - :type relay_state: str - :param session_duration: 应用程序用户会话在ISO-8601标准中有效的时间长度 - :type session_duration: str - """ - - - - self._description = None - self._relay_state = None - self._session_duration = None - self.discriminator = None - - if description is not None: - self.description = description - if relay_state is not None: - self.relay_state = relay_state - if session_duration is not None: - self.session_duration = session_duration - - @property - def description(self): - """Gets the description of this UpdatePermissionSetReqBody. - - 权限集描述 - - :return: The description of this UpdatePermissionSetReqBody. - :rtype: str - """ - return self._description - - @description.setter - def description(self, description): - """Sets the description of this UpdatePermissionSetReqBody. - - 权限集描述 - - :param description: The description of this UpdatePermissionSetReqBody. - :type description: str - """ - self._description = description - - @property - def relay_state(self): - """Gets the relay_state of this UpdatePermissionSetReqBody. - - 用于在联合身份验证过程中重定向应用程序中的用户 - - :return: The relay_state of this UpdatePermissionSetReqBody. - :rtype: str - """ - return self._relay_state - - @relay_state.setter - def relay_state(self, relay_state): - """Sets the relay_state of this UpdatePermissionSetReqBody. - - 用于在联合身份验证过程中重定向应用程序中的用户 - - :param relay_state: The relay_state of this UpdatePermissionSetReqBody. - :type relay_state: str - """ - self._relay_state = relay_state - - @property - def session_duration(self): - """Gets the session_duration of this UpdatePermissionSetReqBody. - - 应用程序用户会话在ISO-8601标准中有效的时间长度 - - :return: The session_duration of this UpdatePermissionSetReqBody. - :rtype: str - """ - return self._session_duration - - @session_duration.setter - def session_duration(self, session_duration): - """Sets the session_duration of this UpdatePermissionSetReqBody. - - 应用程序用户会话在ISO-8601标准中有效的时间长度 - - :param session_duration: The session_duration of this UpdatePermissionSetReqBody. - :type session_duration: str - """ - self._session_duration = session_duration - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - if attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - if six.PY2: - import sys - reload(sys) - sys.setdefaultencoding("utf-8") - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, UpdatePermissionSetReqBody): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/update_permission_set_response.py b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/update_permission_set_response.py deleted file mode 100644 index 515f43730e..0000000000 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/update_permission_set_response.py +++ /dev/null @@ -1,85 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class UpdatePermissionSetResponse(SdkResponse): - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - } - - attribute_map = { - } - - def __init__(self): - """UpdatePermissionSetResponse - - The model defined in huaweicloud sdk - - """ - - super(UpdatePermissionSetResponse, self).__init__() - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - if attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - if six.PY2: - import sys - reload(sys) - sys.setdefaultencoding("utf-8") - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, UpdatePermissionSetResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/region/identitycenter_region.py b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/region/identitycenter_region.py index 42083323d6..bdc472394f 100644 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/region/identitycenter_region.py +++ b/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/region/identitycenter_region.py @@ -8,9 +8,12 @@ class IdentityCenterRegion: CN_NORTH_4 = Region("cn-north-4", "https://identitycenter.myhuaweicloud.com") + CN_SOUTH_1 = Region("cn-south-1", + "https://identitycenter.myhuaweicloud.com") static_fields = { "cn-north-4": CN_NORTH_4, + "cn-south-1": CN_SOUTH_1, } @classmethod diff --git a/huaweicloud-sdk-identitycenter/requirements.txt b/huaweicloud-sdk-identitycenter/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-identitycenter/requirements.txt +++ b/huaweicloud-sdk-identitycenter/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-identitycenter/setup.py b/huaweicloud-sdk-identitycenter/setup.py index 02ce5b4903..e312e19e83 100644 --- a/huaweicloud-sdk-identitycenter/setup.py +++ b/huaweicloud-sdk-identitycenter/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkidentitycenter" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-identitycenterstore/huaweicloudsdkidentitycenterstore/v1/__init__.py b/huaweicloud-sdk-identitycenterstore/huaweicloudsdkidentitycenterstore/v1/__init__.py index 52792e644d..ab0f6a1b02 100644 --- a/huaweicloud-sdk-identitycenterstore/huaweicloudsdkidentitycenterstore/v1/__init__.py +++ b/huaweicloud-sdk-identitycenterstore/huaweicloudsdkidentitycenterstore/v1/__init__.py @@ -7,9 +7,11 @@ from huaweicloudsdkidentitycenterstore.v1.model.address_dto import AddressDto from huaweicloudsdkidentitycenterstore.v1.model.email_dto import EmailDto +from huaweicloudsdkidentitycenterstore.v1.model.enterprise_dto import EnterpriseDto from huaweicloudsdkidentitycenterstore.v1.model.external_id_dto import ExternalIdDto from huaweicloudsdkidentitycenterstore.v1.model.list_users_request import ListUsersRequest from huaweicloudsdkidentitycenterstore.v1.model.list_users_response import ListUsersResponse +from huaweicloudsdkidentitycenterstore.v1.model.manager_dto import ManagerDto from huaweicloudsdkidentitycenterstore.v1.model.name_dto import NameDto from huaweicloudsdkidentitycenterstore.v1.model.page_info_dto import PageInfoDto from huaweicloudsdkidentitycenterstore.v1.model.phone_number_dto import PhoneNumberDto diff --git a/huaweicloud-sdk-identitycenterstore/huaweicloudsdkidentitycenterstore/v1/identitycenterstore_async_client.py b/huaweicloud-sdk-identitycenterstore/huaweicloudsdkidentitycenterstore/v1/identitycenterstore_async_client.py index 4c523de8b5..ad49d1121e 100644 --- a/huaweicloud-sdk-identitycenterstore/huaweicloudsdkidentitycenterstore/v1/identitycenterstore_async_client.py +++ b/huaweicloud-sdk-identitycenterstore/huaweicloudsdkidentitycenterstore/v1/identitycenterstore_async_client.py @@ -35,7 +35,7 @@ def new_builder(cls, clazz=None): def list_users_async(self, request): """列出用户 - 查询指定IdentityStore下的IdentityCenter用户列表 + 查询指定身份源下的IAM身份中心用户列表。 Please refer to HUAWEI cloud API Explorer for details. diff --git a/huaweicloud-sdk-identitycenterstore/huaweicloudsdkidentitycenterstore/v1/identitycenterstore_client.py b/huaweicloud-sdk-identitycenterstore/huaweicloudsdkidentitycenterstore/v1/identitycenterstore_client.py index fba724d924..f970ae43c2 100644 --- a/huaweicloud-sdk-identitycenterstore/huaweicloudsdkidentitycenterstore/v1/identitycenterstore_client.py +++ b/huaweicloud-sdk-identitycenterstore/huaweicloudsdkidentitycenterstore/v1/identitycenterstore_client.py @@ -35,7 +35,7 @@ def new_builder(cls, clazz=None): def list_users(self, request): """列出用户 - 查询指定IdentityStore下的IdentityCenter用户列表 + 查询指定身份源下的IAM身份中心用户列表。 Please refer to HUAWEI cloud API Explorer for details. diff --git a/huaweicloud-sdk-identitycenterstore/huaweicloudsdkidentitycenterstore/v1/model/__init__.py b/huaweicloud-sdk-identitycenterstore/huaweicloudsdkidentitycenterstore/v1/model/__init__.py index 3c67075ad6..ae7718a19e 100644 --- a/huaweicloud-sdk-identitycenterstore/huaweicloudsdkidentitycenterstore/v1/model/__init__.py +++ b/huaweicloud-sdk-identitycenterstore/huaweicloudsdkidentitycenterstore/v1/model/__init__.py @@ -5,9 +5,11 @@ # import models into model package from huaweicloudsdkidentitycenterstore.v1.model.address_dto import AddressDto from huaweicloudsdkidentitycenterstore.v1.model.email_dto import EmailDto +from huaweicloudsdkidentitycenterstore.v1.model.enterprise_dto import EnterpriseDto from huaweicloudsdkidentitycenterstore.v1.model.external_id_dto import ExternalIdDto from huaweicloudsdkidentitycenterstore.v1.model.list_users_request import ListUsersRequest from huaweicloudsdkidentitycenterstore.v1.model.list_users_response import ListUsersResponse +from huaweicloudsdkidentitycenterstore.v1.model.manager_dto import ManagerDto from huaweicloudsdkidentitycenterstore.v1.model.name_dto import NameDto from huaweicloudsdkidentitycenterstore.v1.model.page_info_dto import PageInfoDto from huaweicloudsdkidentitycenterstore.v1.model.phone_number_dto import PhoneNumberDto diff --git a/huaweicloud-sdk-identitycenterstore/huaweicloudsdkidentitycenterstore/v1/model/address_dto.py b/huaweicloud-sdk-identitycenterstore/huaweicloudsdkidentitycenterstore/v1/model/address_dto.py index 7087295b5a..322245c478 100644 --- a/huaweicloud-sdk-identitycenterstore/huaweicloudsdkidentitycenterstore/v1/model/address_dto.py +++ b/huaweicloud-sdk-identitycenterstore/huaweicloudsdkidentitycenterstore/v1/model/address_dto.py @@ -58,7 +58,7 @@ def __init__(self, country=None, formatted=None, locality=None, postal_code=None :type locality: str :param postal_code: 邮政编码 :type postal_code: str - :param primary: 一个布尔值,表示这是否是用户的主地址 + :param primary: 一个布尔值,表示这是否为用户的主地址 :type primary: bool :param region: 区域 :type region: str @@ -189,7 +189,7 @@ def postal_code(self, postal_code): def primary(self): """Gets the primary of this AddressDto. - 一个布尔值,表示这是否是用户的主地址 + 一个布尔值,表示这是否为用户的主地址 :return: The primary of this AddressDto. :rtype: bool @@ -200,7 +200,7 @@ def primary(self): def primary(self, primary): """Sets the primary of this AddressDto. - 一个布尔值,表示这是否是用户的主地址 + 一个布尔值,表示这是否为用户的主地址 :param primary: The primary of this AddressDto. :type primary: bool diff --git a/huaweicloud-sdk-identitycenterstore/huaweicloudsdkidentitycenterstore/v1/model/email_dto.py b/huaweicloud-sdk-identitycenterstore/huaweicloudsdkidentitycenterstore/v1/model/email_dto.py index b623d55140..3dcc100228 100644 --- a/huaweicloud-sdk-identitycenterstore/huaweicloudsdkidentitycenterstore/v1/model/email_dto.py +++ b/huaweicloud-sdk-identitycenterstore/huaweicloudsdkidentitycenterstore/v1/model/email_dto.py @@ -21,26 +21,30 @@ class EmailDto: openapi_types = { 'primary': 'bool', 'type': 'str', - 'value': 'str' + 'value': 'str', + 'verification_status': 'str' } attribute_map = { 'primary': 'primary', 'type': 'type', - 'value': 'value' + 'value': 'value', + 'verification_status': 'verification_status' } - def __init__(self, primary=None, type=None, value=None): + def __init__(self, primary=None, type=None, value=None, verification_status=None): """EmailDto The model defined in huaweicloud sdk - :param primary: 一个布尔值,表示这是否是用户的主电子邮箱 + :param primary: 一个布尔值,表示这是否为用户的主电子邮箱 :type primary: bool :param type: 表示电子邮箱类型的字符串 :type type: str :param value: 包含电子邮箱地址的字符串 :type value: str + :param verification_status: 电子邮箱地址的验证状态 + :type verification_status: str """ @@ -48,17 +52,20 @@ def __init__(self, primary=None, type=None, value=None): self._primary = None self._type = None self._value = None + self._verification_status = None self.discriminator = None self.primary = primary self.type = type self.value = value + if verification_status is not None: + self.verification_status = verification_status @property def primary(self): """Gets the primary of this EmailDto. - 一个布尔值,表示这是否是用户的主电子邮箱 + 一个布尔值,表示这是否为用户的主电子邮箱 :return: The primary of this EmailDto. :rtype: bool @@ -69,7 +76,7 @@ def primary(self): def primary(self, primary): """Sets the primary of this EmailDto. - 一个布尔值,表示这是否是用户的主电子邮箱 + 一个布尔值,表示这是否为用户的主电子邮箱 :param primary: The primary of this EmailDto. :type primary: bool @@ -120,6 +127,28 @@ def value(self, value): """ self._value = value + @property + def verification_status(self): + """Gets the verification_status of this EmailDto. + + 电子邮箱地址的验证状态 + + :return: The verification_status of this EmailDto. + :rtype: str + """ + return self._verification_status + + @verification_status.setter + def verification_status(self, verification_status): + """Sets the verification_status of this EmailDto. + + 电子邮箱地址的验证状态 + + :param verification_status: The verification_status of this EmailDto. + :type verification_status: str + """ + self._verification_status = verification_status + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-identitycenterstore/huaweicloudsdkidentitycenterstore/v1/model/enterprise_dto.py b/huaweicloud-sdk-identitycenterstore/huaweicloudsdkidentitycenterstore/v1/model/enterprise_dto.py new file mode 100644 index 0000000000..ed0db3787b --- /dev/null +++ b/huaweicloud-sdk-identitycenterstore/huaweicloudsdkidentitycenterstore/v1/model/enterprise_dto.py @@ -0,0 +1,256 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class EnterpriseDto: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'cost_center': 'str', + 'department': 'str', + 'division': 'str', + 'employee_number': 'str', + 'manager': 'ManagerDto', + 'organization': 'str' + } + + attribute_map = { + 'cost_center': 'cost_center', + 'department': 'department', + 'division': 'division', + 'employee_number': 'employee_number', + 'manager': 'manager', + 'organization': 'organization' + } + + def __init__(self, cost_center=None, department=None, division=None, employee_number=None, manager=None, organization=None): + """EnterpriseDto + + The model defined in huaweicloud sdk + + :param cost_center: 成本中心 + :type cost_center: str + :param department: 部门 + :type department: str + :param division: 分部 + :type division: str + :param employee_number: 员工编号 + :type employee_number: str + :param manager: + :type manager: :class:`huaweicloudsdkidentitycenterstore.v1.ManagerDto` + :param organization: 组织 + :type organization: str + """ + + + + self._cost_center = None + self._department = None + self._division = None + self._employee_number = None + self._manager = None + self._organization = None + self.discriminator = None + + if cost_center is not None: + self.cost_center = cost_center + if department is not None: + self.department = department + if division is not None: + self.division = division + if employee_number is not None: + self.employee_number = employee_number + if manager is not None: + self.manager = manager + if organization is not None: + self.organization = organization + + @property + def cost_center(self): + """Gets the cost_center of this EnterpriseDto. + + 成本中心 + + :return: The cost_center of this EnterpriseDto. + :rtype: str + """ + return self._cost_center + + @cost_center.setter + def cost_center(self, cost_center): + """Sets the cost_center of this EnterpriseDto. + + 成本中心 + + :param cost_center: The cost_center of this EnterpriseDto. + :type cost_center: str + """ + self._cost_center = cost_center + + @property + def department(self): + """Gets the department of this EnterpriseDto. + + 部门 + + :return: The department of this EnterpriseDto. + :rtype: str + """ + return self._department + + @department.setter + def department(self, department): + """Sets the department of this EnterpriseDto. + + 部门 + + :param department: The department of this EnterpriseDto. + :type department: str + """ + self._department = department + + @property + def division(self): + """Gets the division of this EnterpriseDto. + + 分部 + + :return: The division of this EnterpriseDto. + :rtype: str + """ + return self._division + + @division.setter + def division(self, division): + """Sets the division of this EnterpriseDto. + + 分部 + + :param division: The division of this EnterpriseDto. + :type division: str + """ + self._division = division + + @property + def employee_number(self): + """Gets the employee_number of this EnterpriseDto. + + 员工编号 + + :return: The employee_number of this EnterpriseDto. + :rtype: str + """ + return self._employee_number + + @employee_number.setter + def employee_number(self, employee_number): + """Sets the employee_number of this EnterpriseDto. + + 员工编号 + + :param employee_number: The employee_number of this EnterpriseDto. + :type employee_number: str + """ + self._employee_number = employee_number + + @property + def manager(self): + """Gets the manager of this EnterpriseDto. + + :return: The manager of this EnterpriseDto. + :rtype: :class:`huaweicloudsdkidentitycenterstore.v1.ManagerDto` + """ + return self._manager + + @manager.setter + def manager(self, manager): + """Sets the manager of this EnterpriseDto. + + :param manager: The manager of this EnterpriseDto. + :type manager: :class:`huaweicloudsdkidentitycenterstore.v1.ManagerDto` + """ + self._manager = manager + + @property + def organization(self): + """Gets the organization of this EnterpriseDto. + + 组织 + + :return: The organization of this EnterpriseDto. + :rtype: str + """ + return self._organization + + @organization.setter + def organization(self, organization): + """Sets the organization of this EnterpriseDto. + + 组织 + + :param organization: The organization of this EnterpriseDto. + :type organization: str + """ + self._organization = organization + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, EnterpriseDto): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-identitycenterstore/huaweicloudsdkidentitycenterstore/v1/model/list_users_response.py b/huaweicloud-sdk-identitycenterstore/huaweicloudsdkidentitycenterstore/v1/model/list_users_response.py index 999fe691e0..6ce93b4fe5 100644 --- a/huaweicloud-sdk-identitycenterstore/huaweicloudsdkidentitycenterstore/v1/model/list_users_response.py +++ b/huaweicloud-sdk-identitycenterstore/huaweicloudsdkidentitycenterstore/v1/model/list_users_response.py @@ -34,7 +34,7 @@ def __init__(self, page_info=None, users=None): :param page_info: :type page_info: :class:`huaweicloudsdkidentitycenterstore.v1.PageInfoDto` - :param users: IdentityStore中的用户列表。 + :param users: 身份源中的用户列表 :type users: list[:class:`huaweicloudsdkidentitycenterstore.v1.UserDto`] """ @@ -71,7 +71,7 @@ def page_info(self, page_info): def users(self): """Gets the users of this ListUsersResponse. - IdentityStore中的用户列表。 + 身份源中的用户列表 :return: The users of this ListUsersResponse. :rtype: list[:class:`huaweicloudsdkidentitycenterstore.v1.UserDto`] @@ -82,7 +82,7 @@ def users(self): def users(self, users): """Sets the users of this ListUsersResponse. - IdentityStore中的用户列表。 + 身份源中的用户列表 :param users: The users of this ListUsersResponse. :type users: list[:class:`huaweicloudsdkidentitycenterstore.v1.UserDto`] diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/detach_managed_policy_from_permission_set_response.py b/huaweicloud-sdk-identitycenterstore/huaweicloudsdkidentitycenterstore/v1/model/manager_dto.py similarity index 75% rename from huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/detach_managed_policy_from_permission_set_response.py rename to huaweicloud-sdk-identitycenterstore/huaweicloudsdkidentitycenterstore/v1/model/manager_dto.py index a0bb5c0b1b..28e6e0d86c 100644 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/detach_managed_policy_from_permission_set_response.py +++ b/huaweicloud-sdk-identitycenterstore/huaweicloudsdkidentitycenterstore/v1/model/manager_dto.py @@ -2,11 +2,10 @@ import six -from huaweicloudsdkcore.sdk_response import SdkResponse from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class DetachManagedPolicyFromPermissionSetResponse(SdkResponse): +class ManagerDto: """ Attributes: @@ -18,21 +17,48 @@ class DetachManagedPolicyFromPermissionSetResponse(SdkResponse): sensitive_list = [] openapi_types = { + 'value': 'str' } attribute_map = { + 'value': 'value' } - def __init__(self): - """DetachManagedPolicyFromPermissionSetResponse + def __init__(self, value=None): + """ManagerDto The model defined in huaweicloud sdk + :param value: + :type value: str """ - super(DetachManagedPolicyFromPermissionSetResponse, self).__init__() + + + self._value = None self.discriminator = None + if value is not None: + self.value = value + + @property + def value(self): + """Gets the value of this ManagerDto. + + :return: The value of this ManagerDto. + :rtype: str + """ + return self._value + + @value.setter + def value(self, value): + """Sets the value of this ManagerDto. + + :param value: The value of this ManagerDto. + :type value: str + """ + self._value = value + def to_dict(self): """Returns the model properties as a dict""" result = {} @@ -75,7 +101,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, DetachManagedPolicyFromPermissionSetResponse): + if not isinstance(other, ManagerDto): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-identitycenterstore/huaweicloudsdkidentitycenterstore/v1/model/name_dto.py b/huaweicloud-sdk-identitycenterstore/huaweicloudsdkidentitycenterstore/v1/model/name_dto.py index e355c12379..ad7d69262e 100644 --- a/huaweicloud-sdk-identitycenterstore/huaweicloudsdkidentitycenterstore/v1/model/name_dto.py +++ b/huaweicloud-sdk-identitycenterstore/huaweicloudsdkidentitycenterstore/v1/model/name_dto.py @@ -47,7 +47,7 @@ def __init__(self, family_name=None, formatted=None, given_name=None, honorific_ :param family_name: 用户的姓氏 :type family_name: str - :param formatted: 包含要显示的名称的格式化版本的字符串display. + :param formatted: 包含要显示的名称的格式化版本的字符串 :type formatted: str :param given_name: 用户的名字 :type given_name: str @@ -106,7 +106,7 @@ def family_name(self, family_name): def formatted(self): """Gets the formatted of this NameDto. - 包含要显示的名称的格式化版本的字符串display. + 包含要显示的名称的格式化版本的字符串 :return: The formatted of this NameDto. :rtype: str @@ -117,7 +117,7 @@ def formatted(self): def formatted(self, formatted): """Sets the formatted of this NameDto. - 包含要显示的名称的格式化版本的字符串display. + 包含要显示的名称的格式化版本的字符串 :param formatted: The formatted of this NameDto. :type formatted: str diff --git a/huaweicloud-sdk-identitycenterstore/huaweicloudsdkidentitycenterstore/v1/model/phone_number_dto.py b/huaweicloud-sdk-identitycenterstore/huaweicloudsdkidentitycenterstore/v1/model/phone_number_dto.py index 5b72364e7e..da1ab92e56 100644 --- a/huaweicloud-sdk-identitycenterstore/huaweicloudsdkidentitycenterstore/v1/model/phone_number_dto.py +++ b/huaweicloud-sdk-identitycenterstore/huaweicloudsdkidentitycenterstore/v1/model/phone_number_dto.py @@ -35,7 +35,7 @@ def __init__(self, primary=None, type=None, value=None): The model defined in huaweicloud sdk - :param primary: 一个布尔值,表示这是否是用户的主电话号码 + :param primary: 一个布尔值,表示这是否为用户的主电话号码 :type primary: bool :param type: 表示电话号码类型的字符串 :type type: str @@ -61,7 +61,7 @@ def __init__(self, primary=None, type=None, value=None): def primary(self): """Gets the primary of this PhoneNumberDto. - 一个布尔值,表示这是否是用户的主电话号码 + 一个布尔值,表示这是否为用户的主电话号码 :return: The primary of this PhoneNumberDto. :rtype: bool @@ -72,7 +72,7 @@ def primary(self): def primary(self, primary): """Sets the primary of this PhoneNumberDto. - 一个布尔值,表示这是否是用户的主电话号码 + 一个布尔值,表示这是否为用户的主电话号码 :param primary: The primary of this PhoneNumberDto. :type primary: bool diff --git a/huaweicloud-sdk-identitycenterstore/huaweicloudsdkidentitycenterstore/v1/model/user_dto.py b/huaweicloud-sdk-identitycenterstore/huaweicloudsdkidentitycenterstore/v1/model/user_dto.py index 0ed7ad626d..cda4595ea8 100644 --- a/huaweicloud-sdk-identitycenterstore/huaweicloudsdkidentitycenterstore/v1/model/user_dto.py +++ b/huaweicloud-sdk-identitycenterstore/huaweicloudsdkidentitycenterstore/v1/model/user_dto.py @@ -20,6 +20,7 @@ class UserDto: 'addresses': 'list[AddressDto]', 'display_name': 'str', 'emails': 'list[EmailDto]', + 'external_id': 'str', 'external_ids': 'list[ExternalIdDto]', 'identity_store_id': 'str', 'locale': 'str', @@ -37,13 +38,15 @@ class UserDto: 'created_by': 'str', 'updated_at': 'int', 'updated_by': 'str', - 'enabled': 'bool' + 'enabled': 'bool', + 'enterprise': 'EnterpriseDto' } attribute_map = { 'addresses': 'addresses', 'display_name': 'display_name', 'emails': 'emails', + 'external_id': 'external_id', 'external_ids': 'external_ids', 'identity_store_id': 'identity_store_id', 'locale': 'locale', @@ -61,10 +64,11 @@ class UserDto: 'created_by': 'created_by', 'updated_at': 'updated_at', 'updated_by': 'updated_by', - 'enabled': 'enabled' + 'enabled': 'enabled', + 'enterprise': 'enterprise' } - def __init__(self, addresses=None, display_name=None, emails=None, external_ids=None, identity_store_id=None, locale=None, name=None, nickname=None, phone_numbers=None, preferred_language=None, profile_url=None, timezone=None, title=None, user_id=None, user_name=None, user_type=None, created_at=None, created_by=None, updated_at=None, updated_by=None, enabled=None): + def __init__(self, addresses=None, display_name=None, emails=None, external_id=None, external_ids=None, identity_store_id=None, locale=None, name=None, nickname=None, phone_numbers=None, preferred_language=None, profile_url=None, timezone=None, title=None, user_id=None, user_name=None, user_type=None, created_at=None, created_by=None, updated_at=None, updated_by=None, enabled=None, enterprise=None): """UserDto The model defined in huaweicloud sdk @@ -75,6 +79,8 @@ def __init__(self, addresses=None, display_name=None, emails=None, external_ids= :type display_name: str :param emails: 用户的电子邮箱信息列表 :type emails: list[:class:`huaweicloudsdkidentitycenterstore.v1.EmailDto`] + :param external_id: 外部身份源分配给此资源的标识符 + :type external_id: str :param external_ids: 用户的外部标识符信息列表 :type external_ids: list[:class:`huaweicloudsdkidentitycenterstore.v1.ExternalIdDto`] :param identity_store_id: 身份源的全局唯一标识符(ID) @@ -95,7 +101,7 @@ def __init__(self, addresses=None, display_name=None, emails=None, external_ids= :type timezone: str :param title: 用户头衔 :type title: str - :param user_id: 身份源中IdentityCenter用户的全局唯一标识符(ID) + :param user_id: 身份源中IAM身份中心用户的全局唯一标识符(ID) :type user_id: str :param user_name: 用户名,用于标识用户的唯一字符串 :type user_name: str @@ -111,6 +117,8 @@ def __init__(self, addresses=None, display_name=None, emails=None, external_ids= :type updated_by: str :param enabled: 一个布尔值,表示用户是否启用 :type enabled: bool + :param enterprise: + :type enterprise: :class:`huaweicloudsdkidentitycenterstore.v1.EnterpriseDto` """ @@ -118,6 +126,7 @@ def __init__(self, addresses=None, display_name=None, emails=None, external_ids= self._addresses = None self._display_name = None self._emails = None + self._external_id = None self._external_ids = None self._identity_store_id = None self._locale = None @@ -136,12 +145,15 @@ def __init__(self, addresses=None, display_name=None, emails=None, external_ids= self._updated_at = None self._updated_by = None self._enabled = None + self._enterprise = None self.discriminator = None if addresses is not None: self.addresses = addresses self.display_name = display_name self.emails = emails + if external_id is not None: + self.external_id = external_id if external_ids is not None: self.external_ids = external_ids self.identity_store_id = identity_store_id @@ -169,6 +181,8 @@ def __init__(self, addresses=None, display_name=None, emails=None, external_ids= self.updated_at = updated_at self.updated_by = updated_by self.enabled = enabled + if enterprise is not None: + self.enterprise = enterprise @property def addresses(self): @@ -236,6 +250,28 @@ def emails(self, emails): """ self._emails = emails + @property + def external_id(self): + """Gets the external_id of this UserDto. + + 外部身份源分配给此资源的标识符 + + :return: The external_id of this UserDto. + :rtype: str + """ + return self._external_id + + @external_id.setter + def external_id(self, external_id): + """Sets the external_id of this UserDto. + + 外部身份源分配给此资源的标识符 + + :param external_id: The external_id of this UserDto. + :type external_id: str + """ + self._external_id = external_id + @property def external_ids(self): """Gets the external_ids of this UserDto. @@ -456,7 +492,7 @@ def title(self, title): def user_id(self): """Gets the user_id of this UserDto. - 身份源中IdentityCenter用户的全局唯一标识符(ID) + 身份源中IAM身份中心用户的全局唯一标识符(ID) :return: The user_id of this UserDto. :rtype: str @@ -467,7 +503,7 @@ def user_id(self): def user_id(self, user_id): """Sets the user_id of this UserDto. - 身份源中IdentityCenter用户的全局唯一标识符(ID) + 身份源中IAM身份中心用户的全局唯一标识符(ID) :param user_id: The user_id of this UserDto. :type user_id: str @@ -628,6 +664,24 @@ def enabled(self, enabled): """ self._enabled = enabled + @property + def enterprise(self): + """Gets the enterprise of this UserDto. + + :return: The enterprise of this UserDto. + :rtype: :class:`huaweicloudsdkidentitycenterstore.v1.EnterpriseDto` + """ + return self._enterprise + + @enterprise.setter + def enterprise(self, enterprise): + """Sets the enterprise of this UserDto. + + :param enterprise: The enterprise of this UserDto. + :type enterprise: :class:`huaweicloudsdkidentitycenterstore.v1.EnterpriseDto` + """ + self._enterprise = enterprise + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-identitycenterstore/huaweicloudsdkidentitycenterstore/v1/region/identitycenterstore_region.py b/huaweicloud-sdk-identitycenterstore/huaweicloudsdkidentitycenterstore/v1/region/identitycenterstore_region.py index def906c78e..3ae689f891 100644 --- a/huaweicloud-sdk-identitycenterstore/huaweicloudsdkidentitycenterstore/v1/region/identitycenterstore_region.py +++ b/huaweicloud-sdk-identitycenterstore/huaweicloudsdkidentitycenterstore/v1/region/identitycenterstore_region.py @@ -8,12 +8,21 @@ class IdentityCenterStoreRegion: CN_EAST_3 = Region("cn-east-3", "https://identitystore.cn-east-3.myhuaweicloud.com") + CN_NORTH_4 = Region("cn-north-4", + "https://identitystore.cn-north-4.myhuaweicloud.com") AP_SOUTHEAST_4 = Region("ap-southeast-4", "https://identitystore.ap-southeast-4.myhuaweicloud.com") + AP_SOUTHEAST_3 = Region("ap-southeast-3", + "https://identitystore.ap-southeast-3.myhuaweicloud.com") + AP_SOUTHEAST_2 = Region("ap-southeast-2", + "https://identitystore.ap-southeast-2.myhuaweicloud.com") static_fields = { "cn-east-3": CN_EAST_3, + "cn-north-4": CN_NORTH_4, "ap-southeast-4": AP_SOUTHEAST_4, + "ap-southeast-3": AP_SOUTHEAST_3, + "ap-southeast-2": AP_SOUTHEAST_2, } @classmethod diff --git a/huaweicloud-sdk-identitycenterstore/requirements.txt b/huaweicloud-sdk-identitycenterstore/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-identitycenterstore/requirements.txt +++ b/huaweicloud-sdk-identitycenterstore/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-identitycenterstore/setup.py b/huaweicloud-sdk-identitycenterstore/setup.py index 07cfd00425..0141438339 100644 --- a/huaweicloud-sdk-identitycenterstore/setup.py +++ b/huaweicloud-sdk-identitycenterstore/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkidentitycenterstore" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-idme/requirements.txt b/huaweicloud-sdk-idme/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-idme/requirements.txt +++ b/huaweicloud-sdk-idme/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-idme/setup.py b/huaweicloud-sdk-idme/setup.py index e5140ebe69..7d5b7a71fe 100644 --- a/huaweicloud-sdk-idme/setup.py +++ b/huaweicloud-sdk-idme/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkidme" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/idmeclassicapi_async_client.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/idmeclassicapi_async_client.py index 5ed39dc327..eb2a279fd9 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/idmeclassicapi_async_client.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/idmeclassicapi_async_client.py @@ -33,9 +33,9 @@ def new_builder(cls, clazz=None): return client_builder def batch_checkin_async(self, request): - """XDM_批量检入VersionModel + """批量检入M-V模型数据实例 - 根据主对象ID批量检入版本对象,小版本升版。 + 根据主对象ID批量检入M-V模型数据实例。已检入的数据实例会生成一个新的迭代版本,并将数据存储至系统中。 Please refer to HUAWEI cloud API Explorer for details. @@ -102,9 +102,9 @@ def _batch_checkin_http_info(self, request): return http_info def batch_checkout_async(self, request): - """XDM_批量检出VersionModel + """批量检出M-V模型数据实例 - 根据主对象ID批量检出版本对象。 + 根据主对象ID批量检出M-V模型数据实例。 Please refer to HUAWEI cloud API Explorer for details. @@ -171,9 +171,9 @@ def _batch_checkout_http_info(self, request): return http_info def batch_checkout_and_update_async(self, request): - """XDM_批量检出并更新VersionModel + """批量检出并更新M-V模型 - 根据主对象ID批量检出对象并根据传入字段批量更新版本对象。 + 根据主对象ID批量检出并更新M-V模型数据实例。 Please refer to HUAWEI cloud API Explorer for details. @@ -240,9 +240,9 @@ def _batch_checkout_and_update_http_info(self, request): return http_info def batch_checkout_undo_async(self, request): - """XDM_批量撤销检出VersionModel + """批量撤销检出M-V模型数据实例 - 根据主对象ID批量撤销检出版本对象。 + 通过此接口批量撤销指定M-V模型实例的检出,将实例数据批量还原至检出前的内容。 Please refer to HUAWEI cloud API Explorer for details. @@ -309,9 +309,9 @@ def _batch_checkout_undo_http_info(self, request): return http_info def batch_checkout_undo_by_admin_async(self, request): - """XDM_管理员批量撤销检出VersionModel + """管理员批量撤销检出M-V模型数据实例 - 管理员根据主对象ID批量撤销检出版本对象。 + 管理员通过此接口批量撤销指定M-V模型实例的检出,将实例数据批量还原至检出前的内容。 Please refer to HUAWEI cloud API Explorer for details. @@ -447,9 +447,9 @@ def _batch_create_using_post_http_info(self, request): return http_info def batch_delete_branch_async(self, request): - """XDM_批量删除VersionModel最新分支版本下所有小版本 + """批量删除最新大版本下的所有小版本 - 根据主对象ID&业务版本列表,批量删除最新分支版本下的所有小版本。 + 根据主对象ID和父模型ID,批量软删除最新大版本下的所有小版本。请您谨慎使用删除操作,删除后该数据将无法恢复。 Please refer to HUAWEI cloud API Explorer for details. @@ -516,9 +516,9 @@ def _batch_delete_branch_http_info(self, request): return http_info def batch_delete_logical_branch_async(self, request): - """XDM_批量软删除VersionModel最新分支版本下所有小版本 + """批量软删除最新大版本下的所有小版本 - 批量软删除最新分支版本下的所有小版本。 + 根据主对象ID,批量软删除最新大版本下的所有小版本。通过此接口进行删除操作时,系统会将当前删除的实例数据转存至XDM应用的XDMLogicDeleteData内置模型中。 Please refer to HUAWEI cloud API Explorer for details. @@ -727,9 +727,9 @@ def _batch_delete_using_post_http_info(self, request): return http_info def batch_execute_revise_async(self, request): - """XDM_批量修订VersionModel。 + """批量修订M-V模型数据实例 - 根据主对象ID批量修订对象。 + 通过此接口批量修订指定M-V模型实例。修订后,实例的“version.修订版本”会更新为新的修订版本。 Please refer to HUAWEI cloud API Explorer for details. @@ -865,9 +865,9 @@ def _batch_show_get_using_post_http_info(self, request): return http_info def batch_update_and_checkin_async(self, request): - """XDM_批量更新并检入VersionModel + """批量更新并检入M-V模型数据实例 - 根据传入字段批量更新版本对象并根据主对象ID批量检入对象。 + 通过此接口批量更新指定M-V模型实例,并检入这些实例。 Please refer to HUAWEI cloud API Explorer for details. @@ -934,9 +934,9 @@ def _batch_update_and_checkin_http_info(self, request): return http_info def batch_update_and_revise_async(self, request): - """XDM_批量修订且更新VersionModel。 + """批量修订并更新M-V模型数据实例 - 根据主对象ID批量修订对象并根据传入字段更新主对象+版本对象。 + 根据主对象ID批量修订并更新M-V模型数据实例,即修订后实例的“version.修订版本”更新为新的修订版本,并同时更新该实例的信息。 Please refer to HUAWEI cloud API Explorer for details. @@ -1003,9 +1003,9 @@ def _batch_update_and_revise_http_info(self, request): return http_info def batch_update_by_admin_async(self, request): - """XDM_管理员批量更新VersionModel指定属性 + """管理员批量更新M-V模型数据实例 - 以管理员身份批量更新指定版本实例上的基础信息。 + 管理员通过此接口批量更新指定M-V模型的指定实例数据。如果某个实例的唯一编码不存在,则不做任何更新操作。 Please refer to HUAWEI cloud API Explorer for details. @@ -1141,9 +1141,9 @@ def _batch_update_using_post_http_info(self, request): return http_info def batch_update_version_async(self, request): - """XDM_批量升版最新版本对象VersionModel的版本号 + """批量升级M-V模型实例的版本号 - 根据ID批量升版最新版本对象数据的版本号。 + 根据M-V模型实体的唯一编码,批量将该实体下实例的版本号更新至最新版本。 Please refer to HUAWEI cloud API Explorer for details. @@ -1210,9 +1210,9 @@ def _batch_update_version_http_info(self, request): return http_info def checkin_async(self, request): - """XDM_检入VersionModel + """检入M-V模型数据实例 - 根据主对象ID检入版本对象,按照设置的规则生成新的业务版本。 + 根据主对象ID检入M-V模型数据实例。已检入的数据实例会生成一个新的迭代版本,并将数据存储至系统中。 Please refer to HUAWEI cloud API Explorer for details. @@ -1279,9 +1279,9 @@ def _checkin_http_info(self, request): return http_info def checkout_async(self, request): - """XDM_检出VersionModel + """检出M-V模型数据实例 - 根据主对象ID检出版本对象,复制生成一条新的版本记录且状态为已检出。 + 根据主对象ID检出M-V模型数据实例,检出后会生成一个新的数据实例,该实例会完全复制原实例现有的信息,且状态修改为已检出。 Please refer to HUAWEI cloud API Explorer for details. @@ -1348,9 +1348,9 @@ def _checkout_http_info(self, request): return http_info def checkout_and_update_async(self, request): - """XDM_检出并更新VersionModel + """检出并更新M-V模型 - 根据主对象ID检出对象并根据传入字段更新版本对象。 + 根据主对象ID检出并更新M-V模型数据实例,即检出后生成一个新的数据实例的同时,更新该新实例的信息。 Please refer to HUAWEI cloud API Explorer for details. @@ -1417,9 +1417,9 @@ def _checkout_and_update_http_info(self, request): return http_info def checkout_undo_async(self, request): - """XDM_撤销检出VersionModel + """撤销检出M-V模型数据实例 - 根据主对象ID撤销检出版本对象,删除新的版本记录且状态为已检入。 + 通过此接口撤销指定M-V模型实例的检出,将实例数据还原至检出前的内容。 Please refer to HUAWEI cloud API Explorer for details. @@ -1486,9 +1486,9 @@ def _checkout_undo_http_info(self, request): return http_info def checkout_undo_by_admin_async(self, request): - """XDM_管理员撤销检出VersionModel + """管理员撤销检出M-V模型数据实例 - 管理员根据主对象ID撤销检出版本对象。 + 管理员通过此接口撤销指定M-V模型实例的检出,将实例数据还原至检出前的内容。 Please refer to HUAWEI cloud API Explorer for details. @@ -1555,9 +1555,9 @@ def _checkout_undo_by_admin_http_info(self, request): return http_info def compare_business_version_async(self, request): - """XDM_VersionModel业务版本对比 + """对比M-V模型实例 - 根据主对象id,输入版本号(大版本+小版本)进行版本属性与关系对比。(建议使用新的接口instance-attrs-comparison和\\ instance-relation-comparison比较属性和关系)。 + 通过此接口可以对比某个M-V模型数据实例的不同版本的属性和关系。建议使用数据建模引擎(xDM Foundation,简称xDM-F)新增的差异对比功能,即使用instance-attrs-comparison和instance-relation-comparison接口,更多内容可在应用运行态的“数据服务管理 > 全量数据服务 > 系统管理API > 属性对比API”中查看。 Please refer to HUAWEI cloud API Explorer for details. @@ -1762,9 +1762,9 @@ def _create_using_post_http_info(self, request): return http_info def delete_branch_async(self, request): - """XDM_删除VersionModel最新分支版本下所有小版本 + """删除最新大版本下的所有小版本 - 根据masterid&version删除最新大版本下的所有小版本。 + 根据父模型ID和版本对象,删除最新大版本下的所有小版本。请您谨慎使用删除操作,删除后该数据将无法恢复。 Please refer to HUAWEI cloud API Explorer for details. @@ -1902,9 +1902,9 @@ def _delete_by_condition_using_post_http_info(self, request): return http_info def delete_latest_version_async(self, request): - """XDM_删除VersionModel最新分支的最新版本 + """删除版本对象下最新分支的最新版本实例数据 - 根据主对象ID入参,删除最新分支的最新版本。 + 根据主对象ID,删除版本对象下最新分支的最新版本实例数据。请您谨慎使用删除操作,删除后该数据将无法恢复。 Please refer to HUAWEI cloud API Explorer for details. @@ -1971,9 +1971,9 @@ def _delete_latest_version_http_info(self, request): return http_info def delete_logical_branch_async(self, request): - """XDM_软删除VersionModel最新分支版本下所有小版本 + """软删除M-V模型实例下最新分支的所有小版本数据 - 软删除最新分支版本下的所有小版本。 + 根据父模型ID和版本对象,软删除M-V模型实例下最新分支的所有小版本数据。通过此接口进行删除操作时,系统会将当前删除的实例数据转存至XDM应用的XDMLogicDeleteData内置模型中。 Please refer to HUAWEI cloud API Explorer for details. @@ -2040,9 +2040,9 @@ def _delete_logical_branch_http_info(self, request): return http_info def delete_logical_latest_version_async(self, request): - """XDM_软删除VersionModel最新分支的最新版本 + """软删除版本对象下最新分支的最新版本实例数据 - 根据主对象ID入参,软删最新分支的最新版本。 + 根据主对象ID,软删除版本对象下最新分支的最新版本实例数据。通过此接口进行删除操作时,系统会将当前删除的实例数据转存至XDM应用的XDMLogicDeleteData内置模型中。 Please refer to HUAWEI cloud API Explorer for details. @@ -2180,9 +2180,9 @@ def _delete_using_post_http_info(self, request): return http_info def execute_revise_async(self, request): - """XDM_修订VersionModel + """修订M-V模型数据实例 - 根据主对象ID修订对象,按照设置的规则生成新的业务版本。 + 通过此接口修订指定M-V模型实例。修订后,该实例的“version.修订版本”会更新为新的修订版本。 Please refer to HUAWEI cloud API Explorer for details. @@ -2249,9 +2249,9 @@ def _execute_revise_http_info(self, request): return http_info def list_all_versions_async(self, request): - """XDM_获取VersionModel版本列表 + """获取指定M-V模型实例的版本列表 - 根据主对象ID,获取全量版本以及对应版本对象list属性。 + 根据主对象ID,获取对应M-V模型实例的所有版本信息(包含对应版本下的属性信息)。 Please refer to HUAWEI cloud API Explorer for details. @@ -2425,7 +2425,7 @@ def _list_query_using_post_http_info(self, request): def list_select_using_post_async(self, request): """查询实例的指定属性 - 根据查询条件及指定属性分页返回(不支持扩展属性作为选定属性列)。 + 根据查询条件及指定属性分页返回(不支持扩展属性作为选定属性列)。 Please refer to HUAWEI cloud API Explorer for details. @@ -3246,9 +3246,9 @@ def _show_statics_using_post_http_info(self, request): return http_info def show_version_by_master_async(self, request): - """XDM_获取VersionModel对应版本信息 + """获取指定版本的M-V模型实例数据 - 根据Masterid和版本号和小版本号,返回对应版本属性,小版本号为空则返回最新小版本属性。 + 根据主对象ID、迭代版本和版本号,查询M-V模型实例的详细版本信息。 Please refer to HUAWEI cloud API Explorer for details. @@ -3315,9 +3315,9 @@ def _show_version_by_master_http_info(self, request): return http_info def update_and_checkin_async(self, request): - """XDM_更新并检入VersionModel + """更新并检入M-V模型数据实例 - 根据传入字段更新版本对象并根据主对象ID检入对象。 + 通过此接口更新指定M-V模型实例,并检入该实例。 Please refer to HUAWEI cloud API Explorer for details. @@ -3384,9 +3384,9 @@ def _update_and_checkin_http_info(self, request): return http_info def update_and_revise_async(self, request): - """XDM_修订且更新VersionModel。 + """修订并更新M-V模型数据实例 - 根据主对象ID修订对象并根据传入字段更新主对象+版本对象。 + 根据主对象ID修订并更新M-V模型数据实例,即修订后实例的“version.修订版本”更新为新的修订版本,并同时更新该实例的信息。 Please refer to HUAWEI cloud API Explorer for details. @@ -3453,9 +3453,9 @@ def _update_and_revise_http_info(self, request): return http_info def update_by_admin_async(self, request): - """XDM_管理员更新对象VersionModel指定属性 + """管理员更新M-V模型数据实例 - 以管理员身份更新指定版本实例上的基础信息。 + 管理员通过此接口更新指定M-V模型的指定实例数据。如果实例的唯一编码不存在,则不做任何更新操作。 Please refer to HUAWEI cloud API Explorer for details. diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/idmeclassicapi_client.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/idmeclassicapi_client.py index 47e331b878..eee6220012 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/idmeclassicapi_client.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/idmeclassicapi_client.py @@ -33,9 +33,9 @@ def new_builder(cls, clazz=None): return client_builder def batch_checkin(self, request): - """XDM_批量检入VersionModel + """批量检入M-V模型数据实例 - 根据主对象ID批量检入版本对象,小版本升版。 + 根据主对象ID批量检入M-V模型数据实例。已检入的数据实例会生成一个新的迭代版本,并将数据存储至系统中。 Please refer to HUAWEI cloud API Explorer for details. @@ -102,9 +102,9 @@ def _batch_checkin_http_info(cls, request): return http_info def batch_checkout(self, request): - """XDM_批量检出VersionModel + """批量检出M-V模型数据实例 - 根据主对象ID批量检出版本对象。 + 根据主对象ID批量检出M-V模型数据实例。 Please refer to HUAWEI cloud API Explorer for details. @@ -171,9 +171,9 @@ def _batch_checkout_http_info(cls, request): return http_info def batch_checkout_and_update(self, request): - """XDM_批量检出并更新VersionModel + """批量检出并更新M-V模型 - 根据主对象ID批量检出对象并根据传入字段批量更新版本对象。 + 根据主对象ID批量检出并更新M-V模型数据实例。 Please refer to HUAWEI cloud API Explorer for details. @@ -240,9 +240,9 @@ def _batch_checkout_and_update_http_info(cls, request): return http_info def batch_checkout_undo(self, request): - """XDM_批量撤销检出VersionModel + """批量撤销检出M-V模型数据实例 - 根据主对象ID批量撤销检出版本对象。 + 通过此接口批量撤销指定M-V模型实例的检出,将实例数据批量还原至检出前的内容。 Please refer to HUAWEI cloud API Explorer for details. @@ -309,9 +309,9 @@ def _batch_checkout_undo_http_info(cls, request): return http_info def batch_checkout_undo_by_admin(self, request): - """XDM_管理员批量撤销检出VersionModel + """管理员批量撤销检出M-V模型数据实例 - 管理员根据主对象ID批量撤销检出版本对象。 + 管理员通过此接口批量撤销指定M-V模型实例的检出,将实例数据批量还原至检出前的内容。 Please refer to HUAWEI cloud API Explorer for details. @@ -447,9 +447,9 @@ def _batch_create_using_post_http_info(cls, request): return http_info def batch_delete_branch(self, request): - """XDM_批量删除VersionModel最新分支版本下所有小版本 + """批量删除最新大版本下的所有小版本 - 根据主对象ID&业务版本列表,批量删除最新分支版本下的所有小版本。 + 根据主对象ID和父模型ID,批量软删除最新大版本下的所有小版本。请您谨慎使用删除操作,删除后该数据将无法恢复。 Please refer to HUAWEI cloud API Explorer for details. @@ -516,9 +516,9 @@ def _batch_delete_branch_http_info(cls, request): return http_info def batch_delete_logical_branch(self, request): - """XDM_批量软删除VersionModel最新分支版本下所有小版本 + """批量软删除最新大版本下的所有小版本 - 批量软删除最新分支版本下的所有小版本。 + 根据主对象ID,批量软删除最新大版本下的所有小版本。通过此接口进行删除操作时,系统会将当前删除的实例数据转存至XDM应用的XDMLogicDeleteData内置模型中。 Please refer to HUAWEI cloud API Explorer for details. @@ -727,9 +727,9 @@ def _batch_delete_using_post_http_info(cls, request): return http_info def batch_execute_revise(self, request): - """XDM_批量修订VersionModel。 + """批量修订M-V模型数据实例 - 根据主对象ID批量修订对象。 + 通过此接口批量修订指定M-V模型实例。修订后,实例的“version.修订版本”会更新为新的修订版本。 Please refer to HUAWEI cloud API Explorer for details. @@ -865,9 +865,9 @@ def _batch_show_get_using_post_http_info(cls, request): return http_info def batch_update_and_checkin(self, request): - """XDM_批量更新并检入VersionModel + """批量更新并检入M-V模型数据实例 - 根据传入字段批量更新版本对象并根据主对象ID批量检入对象。 + 通过此接口批量更新指定M-V模型实例,并检入这些实例。 Please refer to HUAWEI cloud API Explorer for details. @@ -934,9 +934,9 @@ def _batch_update_and_checkin_http_info(cls, request): return http_info def batch_update_and_revise(self, request): - """XDM_批量修订且更新VersionModel。 + """批量修订并更新M-V模型数据实例 - 根据主对象ID批量修订对象并根据传入字段更新主对象+版本对象。 + 根据主对象ID批量修订并更新M-V模型数据实例,即修订后实例的“version.修订版本”更新为新的修订版本,并同时更新该实例的信息。 Please refer to HUAWEI cloud API Explorer for details. @@ -1003,9 +1003,9 @@ def _batch_update_and_revise_http_info(cls, request): return http_info def batch_update_by_admin(self, request): - """XDM_管理员批量更新VersionModel指定属性 + """管理员批量更新M-V模型数据实例 - 以管理员身份批量更新指定版本实例上的基础信息。 + 管理员通过此接口批量更新指定M-V模型的指定实例数据。如果某个实例的唯一编码不存在,则不做任何更新操作。 Please refer to HUAWEI cloud API Explorer for details. @@ -1141,9 +1141,9 @@ def _batch_update_using_post_http_info(cls, request): return http_info def batch_update_version(self, request): - """XDM_批量升版最新版本对象VersionModel的版本号 + """批量升级M-V模型实例的版本号 - 根据ID批量升版最新版本对象数据的版本号。 + 根据M-V模型实体的唯一编码,批量将该实体下实例的版本号更新至最新版本。 Please refer to HUAWEI cloud API Explorer for details. @@ -1210,9 +1210,9 @@ def _batch_update_version_http_info(cls, request): return http_info def checkin(self, request): - """XDM_检入VersionModel + """检入M-V模型数据实例 - 根据主对象ID检入版本对象,按照设置的规则生成新的业务版本。 + 根据主对象ID检入M-V模型数据实例。已检入的数据实例会生成一个新的迭代版本,并将数据存储至系统中。 Please refer to HUAWEI cloud API Explorer for details. @@ -1279,9 +1279,9 @@ def _checkin_http_info(cls, request): return http_info def checkout(self, request): - """XDM_检出VersionModel + """检出M-V模型数据实例 - 根据主对象ID检出版本对象,复制生成一条新的版本记录且状态为已检出。 + 根据主对象ID检出M-V模型数据实例,检出后会生成一个新的数据实例,该实例会完全复制原实例现有的信息,且状态修改为已检出。 Please refer to HUAWEI cloud API Explorer for details. @@ -1348,9 +1348,9 @@ def _checkout_http_info(cls, request): return http_info def checkout_and_update(self, request): - """XDM_检出并更新VersionModel + """检出并更新M-V模型 - 根据主对象ID检出对象并根据传入字段更新版本对象。 + 根据主对象ID检出并更新M-V模型数据实例,即检出后生成一个新的数据实例的同时,更新该新实例的信息。 Please refer to HUAWEI cloud API Explorer for details. @@ -1417,9 +1417,9 @@ def _checkout_and_update_http_info(cls, request): return http_info def checkout_undo(self, request): - """XDM_撤销检出VersionModel + """撤销检出M-V模型数据实例 - 根据主对象ID撤销检出版本对象,删除新的版本记录且状态为已检入。 + 通过此接口撤销指定M-V模型实例的检出,将实例数据还原至检出前的内容。 Please refer to HUAWEI cloud API Explorer for details. @@ -1486,9 +1486,9 @@ def _checkout_undo_http_info(cls, request): return http_info def checkout_undo_by_admin(self, request): - """XDM_管理员撤销检出VersionModel + """管理员撤销检出M-V模型数据实例 - 管理员根据主对象ID撤销检出版本对象。 + 管理员通过此接口撤销指定M-V模型实例的检出,将实例数据还原至检出前的内容。 Please refer to HUAWEI cloud API Explorer for details. @@ -1555,9 +1555,9 @@ def _checkout_undo_by_admin_http_info(cls, request): return http_info def compare_business_version(self, request): - """XDM_VersionModel业务版本对比 + """对比M-V模型实例 - 根据主对象id,输入版本号(大版本+小版本)进行版本属性与关系对比。(建议使用新的接口instance-attrs-comparison和\\ instance-relation-comparison比较属性和关系)。 + 通过此接口可以对比某个M-V模型数据实例的不同版本的属性和关系。建议使用数据建模引擎(xDM Foundation,简称xDM-F)新增的差异对比功能,即使用instance-attrs-comparison和instance-relation-comparison接口,更多内容可在应用运行态的“数据服务管理 > 全量数据服务 > 系统管理API > 属性对比API”中查看。 Please refer to HUAWEI cloud API Explorer for details. @@ -1762,9 +1762,9 @@ def _create_using_post_http_info(cls, request): return http_info def delete_branch(self, request): - """XDM_删除VersionModel最新分支版本下所有小版本 + """删除最新大版本下的所有小版本 - 根据masterid&version删除最新大版本下的所有小版本。 + 根据父模型ID和版本对象,删除最新大版本下的所有小版本。请您谨慎使用删除操作,删除后该数据将无法恢复。 Please refer to HUAWEI cloud API Explorer for details. @@ -1902,9 +1902,9 @@ def _delete_by_condition_using_post_http_info(cls, request): return http_info def delete_latest_version(self, request): - """XDM_删除VersionModel最新分支的最新版本 + """删除版本对象下最新分支的最新版本实例数据 - 根据主对象ID入参,删除最新分支的最新版本。 + 根据主对象ID,删除版本对象下最新分支的最新版本实例数据。请您谨慎使用删除操作,删除后该数据将无法恢复。 Please refer to HUAWEI cloud API Explorer for details. @@ -1971,9 +1971,9 @@ def _delete_latest_version_http_info(cls, request): return http_info def delete_logical_branch(self, request): - """XDM_软删除VersionModel最新分支版本下所有小版本 + """软删除M-V模型实例下最新分支的所有小版本数据 - 软删除最新分支版本下的所有小版本。 + 根据父模型ID和版本对象,软删除M-V模型实例下最新分支的所有小版本数据。通过此接口进行删除操作时,系统会将当前删除的实例数据转存至XDM应用的XDMLogicDeleteData内置模型中。 Please refer to HUAWEI cloud API Explorer for details. @@ -2040,9 +2040,9 @@ def _delete_logical_branch_http_info(cls, request): return http_info def delete_logical_latest_version(self, request): - """XDM_软删除VersionModel最新分支的最新版本 + """软删除版本对象下最新分支的最新版本实例数据 - 根据主对象ID入参,软删最新分支的最新版本。 + 根据主对象ID,软删除版本对象下最新分支的最新版本实例数据。通过此接口进行删除操作时,系统会将当前删除的实例数据转存至XDM应用的XDMLogicDeleteData内置模型中。 Please refer to HUAWEI cloud API Explorer for details. @@ -2180,9 +2180,9 @@ def _delete_using_post_http_info(cls, request): return http_info def execute_revise(self, request): - """XDM_修订VersionModel + """修订M-V模型数据实例 - 根据主对象ID修订对象,按照设置的规则生成新的业务版本。 + 通过此接口修订指定M-V模型实例。修订后,该实例的“version.修订版本”会更新为新的修订版本。 Please refer to HUAWEI cloud API Explorer for details. @@ -2249,9 +2249,9 @@ def _execute_revise_http_info(cls, request): return http_info def list_all_versions(self, request): - """XDM_获取VersionModel版本列表 + """获取指定M-V模型实例的版本列表 - 根据主对象ID,获取全量版本以及对应版本对象list属性。 + 根据主对象ID,获取对应M-V模型实例的所有版本信息(包含对应版本下的属性信息)。 Please refer to HUAWEI cloud API Explorer for details. @@ -2425,7 +2425,7 @@ def _list_query_using_post_http_info(cls, request): def list_select_using_post(self, request): """查询实例的指定属性 - 根据查询条件及指定属性分页返回(不支持扩展属性作为选定属性列)。 + 根据查询条件及指定属性分页返回(不支持扩展属性作为选定属性列)。 Please refer to HUAWEI cloud API Explorer for details. @@ -3246,9 +3246,9 @@ def _show_statics_using_post_http_info(cls, request): return http_info def show_version_by_master(self, request): - """XDM_获取VersionModel对应版本信息 + """获取指定版本的M-V模型实例数据 - 根据Masterid和版本号和小版本号,返回对应版本属性,小版本号为空则返回最新小版本属性。 + 根据主对象ID、迭代版本和版本号,查询M-V模型实例的详细版本信息。 Please refer to HUAWEI cloud API Explorer for details. @@ -3315,9 +3315,9 @@ def _show_version_by_master_http_info(cls, request): return http_info def update_and_checkin(self, request): - """XDM_更新并检入VersionModel + """更新并检入M-V模型数据实例 - 根据传入字段更新版本对象并根据主对象ID检入对象。 + 通过此接口更新指定M-V模型实例,并检入该实例。 Please refer to HUAWEI cloud API Explorer for details. @@ -3384,9 +3384,9 @@ def _update_and_checkin_http_info(cls, request): return http_info def update_and_revise(self, request): - """XDM_修订且更新VersionModel。 + """修订并更新M-V模型数据实例 - 根据主对象ID修订对象并根据传入字段更新主对象+版本对象。 + 根据主对象ID修订并更新M-V模型数据实例,即修订后实例的“version.修订版本”更新为新的修订版本,并同时更新该实例的信息。 Please refer to HUAWEI cloud API Explorer for details. @@ -3453,9 +3453,9 @@ def _update_and_revise_http_info(cls, request): return http_info def update_by_admin(self, request): - """XDM_管理员更新对象VersionModel指定属性 + """管理员更新M-V模型数据实例 - 以管理员身份更新指定版本实例上的基础信息。 + 管理员通过此接口更新指定M-V模型的指定实例数据。如果实例的唯一编码不存在,则不做任何更新操作。 Please refer to HUAWEI cloud API Explorer for details. diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_all_versions_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_all_versions_request.py index 08d7d4bc0c..9bdfab4b69 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_all_versions_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_all_versions_request.py @@ -69,9 +69,9 @@ def __init__(self, cur_page=None, end_index=None, max_page_size=None, page_size= :type identifier: str :param model_name: 数据模型的英文名称。 :type model_name: str - :param cur_page_path: 当前页 + :param cur_page_path: 当前页数(路径参数)。 :type cur_page_path: int - :param page_size_path: 每页大小 + :param page_size_path: 当前页数(路径参数)。 :type page_size_path: int :param body: Body of the ListAllVersionsRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOVersionModelVersionMasterDTO` @@ -316,7 +316,7 @@ def model_name(self, model_name): def cur_page_path(self): """Gets the cur_page_path of this ListAllVersionsRequest. - 当前页 + 当前页数(路径参数)。 :return: The cur_page_path of this ListAllVersionsRequest. :rtype: int @@ -327,7 +327,7 @@ def cur_page_path(self): def cur_page_path(self, cur_page_path): """Sets the cur_page_path of this ListAllVersionsRequest. - 当前页 + 当前页数(路径参数)。 :param cur_page_path: The cur_page_path of this ListAllVersionsRequest. :type cur_page_path: int @@ -338,7 +338,7 @@ def cur_page_path(self, cur_page_path): def page_size_path(self): """Gets the page_size_path of this ListAllVersionsRequest. - 每页大小 + 当前页数(路径参数)。 :return: The page_size_path of this ListAllVersionsRequest. :rtype: int @@ -349,7 +349,7 @@ def page_size_path(self): def page_size_path(self, page_size_path): """Sets the page_size_path of this ListAllVersionsRequest. - 每页大小 + 当前页数(路径参数)。 :param page_size_path: The page_size_path of this ListAllVersionsRequest. :type page_size_path: int diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persistable_model_save_as_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persistable_model_save_as_dto.py index dbee490310..663389b951 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persistable_model_save_as_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persistable_model_save_as_dto.py @@ -69,7 +69,7 @@ def __init__(self, id=None, modifier=None, last_update_time=None, creator=None, :type tenant: :class:`huaweicloudsdkidmeclassicapi.v1.ObjectReferenceParamDTO` :param source_entity_number: 源模型编号。 :type source_entity_number: str - :param source_instance_id: 源实例的唯一标识(单实例为ID,版本实例为versionId)。 + :param source_instance_id: 源实例的唯一标识(单实例为ID,版本实例为versionId)。 :type source_instance_id: str :param need_set_null_attrs: 置空字段数组。 :type need_set_null_attrs: list[str] @@ -300,7 +300,7 @@ def source_entity_number(self, source_entity_number): def source_instance_id(self): """Gets the source_instance_id of this PersistableModelSaveAsDTO. - 源实例的唯一标识(单实例为ID,版本实例为versionId)。 + 源实例的唯一标识(单实例为ID,版本实例为versionId)。 :return: The source_instance_id of this PersistableModelSaveAsDTO. :rtype: str @@ -311,7 +311,7 @@ def source_instance_id(self): def source_instance_id(self, source_instance_id): """Sets the source_instance_id of this PersistableModelSaveAsDTO. - 源实例的唯一标识(单实例为ID,版本实例为versionId)。 + 源实例的唯一标识(单实例为ID,版本实例为versionId)。 :param source_instance_id: The source_instance_id of this PersistableModelSaveAsDTO. :type source_instance_id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_master_ids_dto_version_model_version_master_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_master_ids_dto_version_model_version_master_dto.py index a27ae6539a..1b00a47aca 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_master_ids_dto_version_model_version_master_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_master_ids_dto_version_model_version_master_dto.py @@ -43,8 +43,7 @@ def __init__(self, master_ids=None, modifier=None): self._modifier = None self.discriminator = None - if master_ids is not None: - self.master_ids = master_ids + self.master_ids = master_ids if modifier is not None: self.modifier = modifier diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_master.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_master.py index 8e03cfa9c2..c071aa57e3 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_master.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_master.py @@ -72,8 +72,7 @@ def __init__(self, create_time=None, creator=None, id=None, last_update_time=Non self.create_time = create_time if creator is not None: self.creator = creator - if id is not None: - self.id = id + self.id = id if last_update_time is not None: self.last_update_time = last_update_time if modifier is not None: diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_master_ids_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_master_ids_dto.py index fd2a65acca..f88774499c 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_master_ids_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_master_ids_dto.py @@ -43,8 +43,7 @@ def __init__(self, master_id=None, version=None): self._version = None self.discriminator = None - if master_id is not None: - self.master_id = master_id + self.master_id = master_id if version is not None: self.version = version diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_version_check_out_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_version_check_out_dto.py index 7c14785747..2c24560811 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_version_check_out_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_version_check_out_dto.py @@ -45,7 +45,7 @@ def __init__(self, creator=None, custom_link_set=None, master_id=None, modifier= :type master_id: str :param modifier: 更新者。 :type modifier: str - :param work_copy_type: 关系COPY类型。 - BOTH:以其为源或目标的均需要复制。 - CUSTOM:自定义复制。 - NONE:不复制。 - SOURCE:仅复制以此为源的。 - TARGET:仅复制以此为目标的。 + :param work_copy_type: 关系的复制类型。 - BOTH:复制当前M-V模型作为源端与目标端的关系。 - CUSTOM:自定义复制当前M-V模型的关系。 - NONE:不复制当前M-V模型的关系。 - SOURCE:仅复制当前M-V模型作为源端的关系。 - TARGET:仅复制当前M-V模型作为目标端的关系。 :type work_copy_type: str """ @@ -160,7 +160,7 @@ def modifier(self, modifier): def work_copy_type(self): """Gets the work_copy_type of this VersionModelVersionCheckOutDTO. - 关系COPY类型。 - BOTH:以其为源或目标的均需要复制。 - CUSTOM:自定义复制。 - NONE:不复制。 - SOURCE:仅复制以此为源的。 - TARGET:仅复制以此为目标的。 + 关系的复制类型。 - BOTH:复制当前M-V模型作为源端与目标端的关系。 - CUSTOM:自定义复制当前M-V模型的关系。 - NONE:不复制当前M-V模型的关系。 - SOURCE:仅复制当前M-V模型作为源端的关系。 - TARGET:仅复制当前M-V模型作为目标端的关系。 :return: The work_copy_type of this VersionModelVersionCheckOutDTO. :rtype: str @@ -171,7 +171,7 @@ def work_copy_type(self): def work_copy_type(self, work_copy_type): """Sets the work_copy_type of this VersionModelVersionCheckOutDTO. - 关系COPY类型。 - BOTH:以其为源或目标的均需要复制。 - CUSTOM:自定义复制。 - NONE:不复制。 - SOURCE:仅复制以此为源的。 - TARGET:仅复制以此为目标的。 + 关系的复制类型。 - BOTH:复制当前M-V模型作为源端与目标端的关系。 - CUSTOM:自定义复制当前M-V模型的关系。 - NONE:不复制当前M-V模型的关系。 - SOURCE:仅复制当前M-V模型作为源端的关系。 - TARGET:仅复制当前M-V模型作为目标端的关系。 :param work_copy_type: The work_copy_type of this VersionModelVersionCheckOutDTO. :type work_copy_type: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_version_checkout_and_update_dto_version_model.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_version_checkout_and_update_dto_version_model.py index 0d21e68aad..1546e96b3e 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_version_checkout_and_update_dto_version_model.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_version_checkout_and_update_dto_version_model.py @@ -49,7 +49,7 @@ def __init__(self, creator=None, custom_link_set=None, data=None, master_id=None :type master_id: str :param modifier: 更新者。 :type modifier: str - :param work_copy_type: 关系COPY类型。 - BOTH:以其为源或目标的均需要复制。 - CUSTOM:自定义复制。 - NONE:不复制。 - SOURCE:仅复制以此为源的。 - TARGET:仅复制以此为目标的。 + :param work_copy_type: 关系的复制类型。 - BOTH:复制当前M-V模型作为源端与目标端的关系。 - CUSTOM:自定义复制当前M-V模型的关系。 - NONE:不复制当前M-V模型的关系。 - SOURCE:仅复制当前M-V模型作为源端的关系。 - TARGET:仅复制当前M-V模型作为目标端的关系。 :type work_copy_type: str """ @@ -67,8 +67,7 @@ def __init__(self, creator=None, custom_link_set=None, data=None, master_id=None self.creator = creator if custom_link_set is not None: self.custom_link_set = custom_link_set - if data is not None: - self.data = data + self.data = data self.master_id = master_id if modifier is not None: self.modifier = modifier @@ -185,7 +184,7 @@ def modifier(self, modifier): def work_copy_type(self): """Gets the work_copy_type of this VersionModelVersionCheckoutAndUpdateDTOVersionModel. - 关系COPY类型。 - BOTH:以其为源或目标的均需要复制。 - CUSTOM:自定义复制。 - NONE:不复制。 - SOURCE:仅复制以此为源的。 - TARGET:仅复制以此为目标的。 + 关系的复制类型。 - BOTH:复制当前M-V模型作为源端与目标端的关系。 - CUSTOM:自定义复制当前M-V模型的关系。 - NONE:不复制当前M-V模型的关系。 - SOURCE:仅复制当前M-V模型作为源端的关系。 - TARGET:仅复制当前M-V模型作为目标端的关系。 :return: The work_copy_type of this VersionModelVersionCheckoutAndUpdateDTOVersionModel. :rtype: str @@ -196,7 +195,7 @@ def work_copy_type(self): def work_copy_type(self, work_copy_type): """Sets the work_copy_type of this VersionModelVersionCheckoutAndUpdateDTOVersionModel. - 关系COPY类型。 - BOTH:以其为源或目标的均需要复制。 - CUSTOM:自定义复制。 - NONE:不复制。 - SOURCE:仅复制以此为源的。 - TARGET:仅复制以此为目标的。 + 关系的复制类型。 - BOTH:复制当前M-V模型作为源端与目标端的关系。 - CUSTOM:自定义复制当前M-V模型的关系。 - NONE:不复制当前M-V模型的关系。 - SOURCE:仅复制当前M-V模型作为源端的关系。 - TARGET:仅复制当前M-V模型作为目标端的关系。 :param work_copy_type: The work_copy_type of this VersionModelVersionCheckoutAndUpdateDTOVersionModel. :type work_copy_type: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_version_master_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_version_master_dto.py index 1676facb31..354b606c46 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_version_master_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_version_master_dto.py @@ -43,8 +43,7 @@ def __init__(self, master_id=None, version=None): self._version = None self.discriminator = None - if master_id is not None: - self.master_id = master_id + self.master_id = master_id if version is not None: self.version = version diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_version_master_modifier_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_version_master_modifier_dto.py index 0c54f55061..9e3e55dc52 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_version_master_modifier_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_version_master_modifier_dto.py @@ -48,8 +48,7 @@ def __init__(self, master_id=None, modifier=None, version=None): self._version = None self.discriminator = None - if master_id is not None: - self.master_id = master_id + self.master_id = master_id if modifier is not None: self.modifier = modifier if version is not None: diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_version_master_query_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_version_master_query_dto.py index c94593e071..15b7d782c1 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_version_master_query_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_version_master_query_dto.py @@ -37,7 +37,7 @@ def __init__(self, decrypt=None, iteration=None, master_id=None, version=None): :param decrypt: 是否加密。 - true:加密。 - false:不加密。 :type decrypt: bool - :param iteration: 迭代版本。 + :param iteration: 迭代版本。如果此参数为空,则返回M-V模型实例的最新版本信息。 :type iteration: int :param master_id: 主对象ID。 :type master_id: str @@ -57,10 +57,8 @@ def __init__(self, decrypt=None, iteration=None, master_id=None, version=None): self.decrypt = decrypt if iteration is not None: self.iteration = iteration - if master_id is not None: - self.master_id = master_id - if version is not None: - self.version = version + self.master_id = master_id + self.version = version @property def decrypt(self): @@ -88,7 +86,7 @@ def decrypt(self, decrypt): def iteration(self): """Gets the iteration of this VersionModelVersionMasterQueryDTO. - 迭代版本。 + 迭代版本。如果此参数为空,则返回M-V模型实例的最新版本信息。 :return: The iteration of this VersionModelVersionMasterQueryDTO. :rtype: int @@ -99,7 +97,7 @@ def iteration(self): def iteration(self, iteration): """Sets the iteration of this VersionModelVersionMasterQueryDTO. - 迭代版本。 + 迭代版本。如果此参数为空,则返回M-V模型实例的最新版本信息。 :param iteration: The iteration of this VersionModelVersionMasterQueryDTO. :type iteration: int diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_version_revise_and_update_dto_version_model.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_version_revise_and_update_dto_version_model.py index 5d26335e43..6940d24512 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_version_revise_and_update_dto_version_model.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_version_revise_and_update_dto_version_model.py @@ -49,9 +49,9 @@ def __init__(self, creator=None, custom_link_set=None, data=None, master_id=None :type data: :class:`huaweicloudsdkidmeclassicapi.v1.VersionModel` :param master_id: 主对象ID。 :type master_id: str - :param modifier: + :param modifier: 更新者。 :type modifier: str - :param work_copy_type: 关系COPY类型。 - BOTH:以其为源或目标的均需要复制。 - CUSTOM:自定义复制。 - NONE:不复制。 - SOURCE:仅复制以此为源的。 - TARGET:仅复制以此为目标的。 + :param work_copy_type: 关系的复制类型。 - BOTH:复制当前M-V模型作为源端与目标端的关系。 - CUSTOM:自定义复制当前M-V模型的关系。 - NONE:不复制当前M-V模型的关系。 - SOURCE:仅复制当前M-V模型作为源端的关系。 - TARGET:仅复制当前M-V模型作为目标端的关系。 :type work_copy_type: str :param working_copy: 是否已检出。 - true:已检出。 - false:未检出。 :type working_copy: bool @@ -72,8 +72,7 @@ def __init__(self, creator=None, custom_link_set=None, data=None, master_id=None self.creator = creator if custom_link_set is not None: self.custom_link_set = custom_link_set - if data is not None: - self.data = data + self.data = data self.master_id = master_id if modifier is not None: self.modifier = modifier @@ -170,6 +169,8 @@ def master_id(self, master_id): def modifier(self): """Gets the modifier of this VersionModelVersionReviseAndUpdateDTOVersionModel. + 更新者。 + :return: The modifier of this VersionModelVersionReviseAndUpdateDTOVersionModel. :rtype: str """ @@ -179,6 +180,8 @@ def modifier(self): def modifier(self, modifier): """Sets the modifier of this VersionModelVersionReviseAndUpdateDTOVersionModel. + 更新者。 + :param modifier: The modifier of this VersionModelVersionReviseAndUpdateDTOVersionModel. :type modifier: str """ @@ -188,7 +191,7 @@ def modifier(self, modifier): def work_copy_type(self): """Gets the work_copy_type of this VersionModelVersionReviseAndUpdateDTOVersionModel. - 关系COPY类型。 - BOTH:以其为源或目标的均需要复制。 - CUSTOM:自定义复制。 - NONE:不复制。 - SOURCE:仅复制以此为源的。 - TARGET:仅复制以此为目标的。 + 关系的复制类型。 - BOTH:复制当前M-V模型作为源端与目标端的关系。 - CUSTOM:自定义复制当前M-V模型的关系。 - NONE:不复制当前M-V模型的关系。 - SOURCE:仅复制当前M-V模型作为源端的关系。 - TARGET:仅复制当前M-V模型作为目标端的关系。 :return: The work_copy_type of this VersionModelVersionReviseAndUpdateDTOVersionModel. :rtype: str @@ -199,7 +202,7 @@ def work_copy_type(self): def work_copy_type(self, work_copy_type): """Sets the work_copy_type of this VersionModelVersionReviseAndUpdateDTOVersionModel. - 关系COPY类型。 - BOTH:以其为源或目标的均需要复制。 - CUSTOM:自定义复制。 - NONE:不复制。 - SOURCE:仅复制以此为源的。 - TARGET:仅复制以此为目标的。 + 关系的复制类型。 - BOTH:复制当前M-V模型作为源端与目标端的关系。 - CUSTOM:自定义复制当前M-V模型的关系。 - NONE:不复制当前M-V模型的关系。 - SOURCE:仅复制当前M-V模型作为源端的关系。 - TARGET:仅复制当前M-V模型作为目标端的关系。 :param work_copy_type: The work_copy_type of this VersionModelVersionReviseAndUpdateDTOVersionModel. :type work_copy_type: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_version_revise_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_version_revise_dto.py index 887ef7b28e..196542067d 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_version_revise_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_version_revise_dto.py @@ -47,9 +47,9 @@ def __init__(self, creator=None, custom_link_set=None, master_id=None, modifier= :type master_id: str :param modifier: 更新者。 :type modifier: str - :param work_copy_type: 关系COPY类型。 - BOTH:以其为源或目标的均需要复制。 - CUSTOM:自定义复制。 - NONE:不复制。 - SOURCE:仅复制以此为源的。 - TARGET:仅复制以此为目标的。 + :param work_copy_type: 关系的复制类型。 - BOTH:复制当前M-V模型作为源端与目标端的关系。 - CUSTOM:自定义复制当前M-V模型的关系。 - NONE:不复制当前M-V模型的关系。 - SOURCE:仅复制当前M-V模型作为源端的关系。 - TARGET:仅复制当前M-V模型作为目标端的关系。 :type work_copy_type: str - :param working_copy: 是否已检出。 + :param working_copy: 是否已检出。 - true:已检出。 - false:未检出。 :type working_copy: bool """ @@ -167,7 +167,7 @@ def modifier(self, modifier): def work_copy_type(self): """Gets the work_copy_type of this VersionModelVersionReviseDTO. - 关系COPY类型。 - BOTH:以其为源或目标的均需要复制。 - CUSTOM:自定义复制。 - NONE:不复制。 - SOURCE:仅复制以此为源的。 - TARGET:仅复制以此为目标的。 + 关系的复制类型。 - BOTH:复制当前M-V模型作为源端与目标端的关系。 - CUSTOM:自定义复制当前M-V模型的关系。 - NONE:不复制当前M-V模型的关系。 - SOURCE:仅复制当前M-V模型作为源端的关系。 - TARGET:仅复制当前M-V模型作为目标端的关系。 :return: The work_copy_type of this VersionModelVersionReviseDTO. :rtype: str @@ -178,7 +178,7 @@ def work_copy_type(self): def work_copy_type(self, work_copy_type): """Sets the work_copy_type of this VersionModelVersionReviseDTO. - 关系COPY类型。 - BOTH:以其为源或目标的均需要复制。 - CUSTOM:自定义复制。 - NONE:不复制。 - SOURCE:仅复制以此为源的。 - TARGET:仅复制以此为目标的。 + 关系的复制类型。 - BOTH:复制当前M-V模型作为源端与目标端的关系。 - CUSTOM:自定义复制当前M-V模型的关系。 - NONE:不复制当前M-V模型的关系。 - SOURCE:仅复制当前M-V模型作为源端的关系。 - TARGET:仅复制当前M-V模型作为目标端的关系。 :param work_copy_type: The work_copy_type of this VersionModelVersionReviseDTO. :type work_copy_type: str @@ -189,7 +189,7 @@ def work_copy_type(self, work_copy_type): def working_copy(self): """Gets the working_copy of this VersionModelVersionReviseDTO. - 是否已检出。 + 是否已检出。 - true:已检出。 - false:未检出。 :return: The working_copy of this VersionModelVersionReviseDTO. :rtype: bool @@ -200,7 +200,7 @@ def working_copy(self): def working_copy(self, working_copy): """Sets the working_copy of this VersionModelVersionReviseDTO. - 是否已检出。 + 是否已检出。 - true:已检出。 - false:未检出。 :param working_copy: The working_copy of this VersionModelVersionReviseDTO. :type working_copy: bool diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_version_update_and_checkin_dto_version_model.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_version_update_and_checkin_dto_version_model.py index 235b27232a..d114379d2a 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_version_update_and_checkin_dto_version_model.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_version_update_and_checkin_dto_version_model.py @@ -48,8 +48,7 @@ def __init__(self, data=None, master_id=None, modifier=None): self._modifier = None self.discriminator = None - if data is not None: - self.data = data + self.data = data self.master_id = master_id if modifier is not None: self.modifier = modifier diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_version_update_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_version_update_dto.py index e723b9f7ae..5c3eddd0ae 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_version_update_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_version_update_dto.py @@ -48,12 +48,10 @@ def __init__(self, id=None, iteration=None, version=None): self._version = None self.discriminator = None - if id is not None: - self.id = id + self.id = id if iteration is not None: self.iteration = iteration - if version is not None: - self.version = version + self.version = version @property def id(self): diff --git a/huaweicloud-sdk-idmeclassicapi/requirements.txt b/huaweicloud-sdk-idmeclassicapi/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-idmeclassicapi/requirements.txt +++ b/huaweicloud-sdk-idmeclassicapi/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-idmeclassicapi/setup.py b/huaweicloud-sdk-idmeclassicapi/setup.py index 4dac68ee71..6e90133f25 100644 --- a/huaweicloud-sdk-idmeclassicapi/setup.py +++ b/huaweicloud-sdk-idmeclassicapi/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkidmeclassicapi" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-iec/requirements.txt b/huaweicloud-sdk-iec/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-iec/requirements.txt +++ b/huaweicloud-sdk-iec/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-iec/setup.py b/huaweicloud-sdk-iec/setup.py index dc97eb7c24..4a908e8177 100644 --- a/huaweicloud-sdk-iec/setup.py +++ b/huaweicloud-sdk-iec/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkiec" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ief/requirements.txt b/huaweicloud-sdk-ief/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-ief/requirements.txt +++ b/huaweicloud-sdk-ief/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-ief/setup.py b/huaweicloud-sdk-ief/setup.py index 25190c9235..931c9d6b35 100644 --- a/huaweicloud-sdk-ief/setup.py +++ b/huaweicloud-sdk-ief/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkief" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-image/requirements.txt b/huaweicloud-sdk-image/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-image/requirements.txt +++ b/huaweicloud-sdk-image/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-image/setup.py b/huaweicloud-sdk-image/setup.py index e0ce1dd060..5113127d8c 100644 --- a/huaweicloud-sdk-image/setup.py +++ b/huaweicloud-sdk-image/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkimage" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-imagesearch/requirements.txt b/huaweicloud-sdk-imagesearch/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-imagesearch/requirements.txt +++ b/huaweicloud-sdk-imagesearch/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-imagesearch/setup.py b/huaweicloud-sdk-imagesearch/setup.py index ec72e4e52b..9a2b31aad3 100644 --- a/huaweicloud-sdk-imagesearch/setup.py +++ b/huaweicloud-sdk-imagesearch/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkimagesearch" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ims/huaweicloudsdkims/v2/region/ims_region.py b/huaweicloud-sdk-ims/huaweicloudsdkims/v2/region/ims_region.py index ec8c291448..d7ed1985d6 100644 --- a/huaweicloud-sdk-ims/huaweicloudsdkims/v2/region/ims_region.py +++ b/huaweicloud-sdk-ims/huaweicloudsdkims/v2/region/ims_region.py @@ -56,6 +56,8 @@ class ImsRegion: "https://ims.cn-east-5.myhuaweicloud.com") EU_WEST_0 = Region("eu-west-0", "https://ims.eu-west-0.myhuaweicloud.com") + MY_KUALALUMPUR_1 = Region("my-kualalumpur-1", + "https://ims.my-kualalumpur-1.myhuaweicloud.com") static_fields = { "af-south-1": AF_SOUTH_1, @@ -83,6 +85,7 @@ class ImsRegion: "eu-west-101": EU_WEST_101, "cn-east-5": CN_EAST_5, "eu-west-0": EU_WEST_0, + "my-kualalumpur-1": MY_KUALALUMPUR_1, } @classmethod diff --git a/huaweicloud-sdk-ims/requirements.txt b/huaweicloud-sdk-ims/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-ims/requirements.txt +++ b/huaweicloud-sdk-ims/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-ims/setup.py b/huaweicloud-sdk-ims/setup.py index 6ae1eee890..fc9cad57e7 100644 --- a/huaweicloud-sdk-ims/setup.py +++ b/huaweicloud-sdk-ims/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkims" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-iotanalytics/requirements.txt b/huaweicloud-sdk-iotanalytics/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-iotanalytics/requirements.txt +++ b/huaweicloud-sdk-iotanalytics/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-iotanalytics/setup.py b/huaweicloud-sdk-iotanalytics/setup.py index 8e6f40fb01..0b10955fbb 100644 --- a/huaweicloud-sdk-iotanalytics/setup.py +++ b/huaweicloud-sdk-iotanalytics/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkiotanalytics" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-iotda/requirements.txt b/huaweicloud-sdk-iotda/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-iotda/requirements.txt +++ b/huaweicloud-sdk-iotda/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-iotda/setup.py b/huaweicloud-sdk-iotda/setup.py index 3f3fa22221..e5b2b5cd84 100644 --- a/huaweicloud-sdk-iotda/setup.py +++ b/huaweicloud-sdk-iotda/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkiotda" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-iotedge/requirements.txt b/huaweicloud-sdk-iotedge/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-iotedge/requirements.txt +++ b/huaweicloud-sdk-iotedge/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-iotedge/setup.py b/huaweicloud-sdk-iotedge/setup.py index 3cd0805468..07c45ab936 100644 --- a/huaweicloud-sdk-iotedge/setup.py +++ b/huaweicloud-sdk-iotedge/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkiotedge" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ivs/requirements.txt b/huaweicloud-sdk-ivs/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-ivs/requirements.txt +++ b/huaweicloud-sdk-ivs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-ivs/setup.py b/huaweicloud-sdk-ivs/setup.py index 0770f97f9d..ba4e1926d4 100644 --- a/huaweicloud-sdk-ivs/setup.py +++ b/huaweicloud-sdk-ivs/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkivs" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-kafka/huaweicloudsdkkafka/v2/region/kafka_region.py b/huaweicloud-sdk-kafka/huaweicloudsdkkafka/v2/region/kafka_region.py index 03604eda43..89d472cfda 100644 --- a/huaweicloud-sdk-kafka/huaweicloudsdkkafka/v2/region/kafka_region.py +++ b/huaweicloud-sdk-kafka/huaweicloudsdkkafka/v2/region/kafka_region.py @@ -56,6 +56,8 @@ class KafkaRegion: "https://dms.me-east-1.myhuaweicloud.com") CN_EAST_5 = Region("cn-east-5", "https://dms.cn-east-5.myhuaweicloud.com") + MY_KUALALUMPUR_1 = Region("my-kualalumpur-1", + "https://dms.my-kualalumpur-1.myhuaweicloud.com") static_fields = { "eu-west-101": EU_WEST_101, @@ -83,6 +85,7 @@ class KafkaRegion: "eu-west-0": EU_WEST_0, "me-east-1": ME_EAST_1, "cn-east-5": CN_EAST_5, + "my-kualalumpur-1": MY_KUALALUMPUR_1, } @classmethod diff --git a/huaweicloud-sdk-kafka/requirements.txt b/huaweicloud-sdk-kafka/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-kafka/requirements.txt +++ b/huaweicloud-sdk-kafka/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-kafka/setup.py b/huaweicloud-sdk-kafka/setup.py index 73fc558e60..3fc5b94356 100644 --- a/huaweicloud-sdk-kafka/setup.py +++ b/huaweicloud-sdk-kafka/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkkafka" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-kms/requirements.txt b/huaweicloud-sdk-kms/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-kms/requirements.txt +++ b/huaweicloud-sdk-kms/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-kms/setup.py b/huaweicloud-sdk-kms/setup.py index b98c9a8e2a..4b9b63d58d 100644 --- a/huaweicloud-sdk-kms/setup.py +++ b/huaweicloud-sdk-kms/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkkms" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-koomessage/requirements.txt b/huaweicloud-sdk-koomessage/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-koomessage/requirements.txt +++ b/huaweicloud-sdk-koomessage/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-koomessage/setup.py b/huaweicloud-sdk-koomessage/setup.py index 4991e9008d..d46cf719d1 100644 --- a/huaweicloud-sdk-koomessage/setup.py +++ b/huaweicloud-sdk-koomessage/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkkoomessage" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-kps/requirements.txt b/huaweicloud-sdk-kps/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-kps/requirements.txt +++ b/huaweicloud-sdk-kps/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-kps/setup.py b/huaweicloud-sdk-kps/setup.py index 09fd365e6d..c2acea8125 100644 --- a/huaweicloud-sdk-kps/setup.py +++ b/huaweicloud-sdk-kps/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkkps" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-lakeformation/huaweicloudsdklakeformation/v1/region/lakeformation_region.py b/huaweicloud-sdk-lakeformation/huaweicloudsdklakeformation/v1/region/lakeformation_region.py index 74d1bf6dfa..fea423cc62 100644 --- a/huaweicloud-sdk-lakeformation/huaweicloudsdklakeformation/v1/region/lakeformation_region.py +++ b/huaweicloud-sdk-lakeformation/huaweicloudsdklakeformation/v1/region/lakeformation_region.py @@ -6,17 +6,26 @@ class LakeFormationRegion: _PROVIDER = RegionProviderChain.get_default_region_provider_chain("LAKEFORMATION") - CN_NORTH_9 = Region("cn-north-9", - "https://lakeformation.cn-north-9.myhuaweicloud.com") - CN_NORTH_2 = Region("cn-north-2", - "https://lakeformation.cn-north-2.myhuaweicloud.com") CN_NORTH_4 = Region("cn-north-4", "https://lakeformation.cn-north-4.myhuaweicloud.com") + CN_NORTH_9 = Region("cn-north-9", + "https://lakeformation.cn-north-9.myhuaweicloud.com") + CN_EAST_3 = Region("cn-east-3", + "https://lakeformation.cn-east-3.myhuaweicloud.com") + CN_SOUTH_1 = Region("cn-south-1", + "https://lakeformation.cn-south-1.myhuaweicloud.com") + CN_NORTH_11 = Region("cn-north-11", + "https://lakeformation.cn-north-11.myhuaweicloud.com") + LA_NORTH_2 = Region("la-north-2", + "https://lakeformation.la-north-2.myhuaweicloud.com") static_fields = { - "cn-north-9": CN_NORTH_9, - "cn-north-2": CN_NORTH_2, "cn-north-4": CN_NORTH_4, + "cn-north-9": CN_NORTH_9, + "cn-east-3": CN_EAST_3, + "cn-south-1": CN_SOUTH_1, + "cn-north-11": CN_NORTH_11, + "la-north-2": LA_NORTH_2, } @classmethod diff --git a/huaweicloud-sdk-lakeformation/requirements.txt b/huaweicloud-sdk-lakeformation/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-lakeformation/requirements.txt +++ b/huaweicloud-sdk-lakeformation/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-lakeformation/setup.py b/huaweicloud-sdk-lakeformation/setup.py index 23f9005307..bc2f9c2297 100644 --- a/huaweicloud-sdk-lakeformation/setup.py +++ b/huaweicloud-sdk-lakeformation/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdklakeformation" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-live/requirements.txt b/huaweicloud-sdk-live/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-live/requirements.txt +++ b/huaweicloud-sdk-live/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-live/setup.py b/huaweicloud-sdk-live/setup.py index 507c625d4c..8bb6b0da7d 100644 --- a/huaweicloud-sdk-live/setup.py +++ b/huaweicloud-sdk-live/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdklive" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-lts/requirements.txt b/huaweicloud-sdk-lts/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-lts/requirements.txt +++ b/huaweicloud-sdk-lts/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-lts/setup.py b/huaweicloud-sdk-lts/setup.py index a4c062bfca..dbf4a0d7d3 100644 --- a/huaweicloud-sdk-lts/setup.py +++ b/huaweicloud-sdk-lts/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdklts" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-mapds/requirements.txt b/huaweicloud-sdk-mapds/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-mapds/requirements.txt +++ b/huaweicloud-sdk-mapds/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-mapds/setup.py b/huaweicloud-sdk-mapds/setup.py index a9c13621d3..5d643181d1 100644 --- a/huaweicloud-sdk-mapds/setup.py +++ b/huaweicloud-sdk-mapds/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkmapds" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-mas/requirements.txt b/huaweicloud-sdk-mas/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-mas/requirements.txt +++ b/huaweicloud-sdk-mas/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-mas/setup.py b/huaweicloud-sdk-mas/setup.py index a7ca4773c3..16d0ee3a75 100644 --- a/huaweicloud-sdk-mas/setup.py +++ b/huaweicloud-sdk-mas/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkmas" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-meeting/requirements.txt b/huaweicloud-sdk-meeting/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-meeting/requirements.txt +++ b/huaweicloud-sdk-meeting/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-meeting/setup.py b/huaweicloud-sdk-meeting/setup.py index 1cecd9712f..d676dc869d 100644 --- a/huaweicloud-sdk-meeting/setup.py +++ b/huaweicloud-sdk-meeting/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkmeeting" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/__init__.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/__init__.py index b04decdd19..9a39d763db 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/__init__.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/__init__.py @@ -6,6 +6,7 @@ from huaweicloudsdkmetastudio.v1.metastudio_async_client import MetaStudioAsyncClient from huaweicloudsdkmetastudio.v1.model.action_mark_item import ActionMarkItem +from huaweicloudsdkmetastudio.v1.model.active_code_info import ActiveCodeInfo from huaweicloudsdkmetastudio.v1.model.animation_asset_meta import AnimationAssetMeta from huaweicloudsdkmetastudio.v1.model.animation_config import AnimationConfig from huaweicloudsdkmetastudio.v1.model.animation_item import AnimationItem @@ -29,6 +30,7 @@ from huaweicloudsdkmetastudio.v1.model.chat_video_config_rsp import ChatVideoConfigRsp from huaweicloudsdkmetastudio.v1.model.check_text_language_request import CheckTextLanguageRequest from huaweicloudsdkmetastudio.v1.model.check_text_language_response import CheckTextLanguageResponse +from huaweicloudsdkmetastudio.v1.model.co_streamer_config import CoStreamerConfig from huaweicloudsdkmetastudio.v1.model.comment_data import CommentData from huaweicloudsdkmetastudio.v1.model.comment_log_info import CommentLogInfo from huaweicloudsdkmetastudio.v1.model.commit_voice_training_job_request import CommitVoiceTrainingJobRequest @@ -49,6 +51,11 @@ from huaweicloudsdkmetastudio.v1.model.create2d_model_training_job_req import Create2dModelTrainingJobReq from huaweicloudsdkmetastudio.v1.model.create2d_model_training_job_request import Create2dModelTrainingJobRequest from huaweicloudsdkmetastudio.v1.model.create2d_model_training_job_response import Create2dModelTrainingJobResponse +from huaweicloudsdkmetastudio.v1.model.create_active_code_req import CreateActiveCodeReq +from huaweicloudsdkmetastudio.v1.model.create_active_code_request import CreateActiveCodeRequest +from huaweicloudsdkmetastudio.v1.model.create_active_code_response import CreateActiveCodeResponse +from huaweicloudsdkmetastudio.v1.model.create_assetby_replication_info_request import CreateAssetbyReplicationInfoRequest +from huaweicloudsdkmetastudio.v1.model.create_assetby_replication_info_response import CreateAssetbyReplicationInfoResponse from huaweicloudsdkmetastudio.v1.model.create_dialog_url_req import CreateDialogUrlReq from huaweicloudsdkmetastudio.v1.model.create_dialog_url_request import CreateDialogUrlRequest from huaweicloudsdkmetastudio.v1.model.create_dialog_url_response import CreateDialogUrlResponse @@ -110,6 +117,8 @@ from huaweicloudsdkmetastudio.v1.model.create_video_scripts_response import CreateVideoScriptsResponse from huaweicloudsdkmetastudio.v1.model.delete2d_model_training_job_request import Delete2dModelTrainingJobRequest from huaweicloudsdkmetastudio.v1.model.delete2d_model_training_job_response import Delete2dModelTrainingJobResponse +from huaweicloudsdkmetastudio.v1.model.delete_active_code_request import DeleteActiveCodeRequest +from huaweicloudsdkmetastudio.v1.model.delete_active_code_response import DeleteActiveCodeResponse from huaweicloudsdkmetastudio.v1.model.delete_asset_request import DeleteAssetRequest from huaweicloudsdkmetastudio.v1.model.delete_asset_response import DeleteAssetResponse from huaweicloudsdkmetastudio.v1.model.delete_digital_human_business_card_request import DeleteDigitalHumanBusinessCardRequest @@ -172,6 +181,8 @@ from huaweicloudsdkmetastudio.v1.model.layer_size_config import LayerSizeConfig from huaweicloudsdkmetastudio.v1.model.list2d_model_training_job_request import List2dModelTrainingJobRequest from huaweicloudsdkmetastudio.v1.model.list2d_model_training_job_response import List2dModelTrainingJobResponse +from huaweicloudsdkmetastudio.v1.model.list_active_code_request import ListActiveCodeRequest +from huaweicloudsdkmetastudio.v1.model.list_active_code_response import ListActiveCodeResponse from huaweicloudsdkmetastudio.v1.model.list_asset_summary_request import ListAssetSummaryRequest from huaweicloudsdkmetastudio.v1.model.list_asset_summary_response import ListAssetSummaryResponse from huaweicloudsdkmetastudio.v1.model.list_asset_summarys_req import ListAssetSummarysReq @@ -214,6 +225,7 @@ from huaweicloudsdkmetastudio.v1.model.live_event_call_back_config import LiveEventCallBackConfig from huaweicloudsdkmetastudio.v1.model.live_event_report_request import LiveEventReportRequest from huaweicloudsdkmetastudio.v1.model.live_event_report_response import LiveEventReportResponse +from huaweicloudsdkmetastudio.v1.model.live_job_log import LiveJobLog from huaweicloudsdkmetastudio.v1.model.live_shoot_script_item import LiveShootScriptItem from huaweicloudsdkmetastudio.v1.model.live_video_script_info import LiveVideoScriptInfo from huaweicloudsdkmetastudio.v1.model.live_warning_item import LiveWarningItem @@ -236,8 +248,12 @@ from huaweicloudsdkmetastudio.v1.model.play_policy import PlayPolicy from huaweicloudsdkmetastudio.v1.model.rtc_room_info_list import RTCRoomInfoList from huaweicloudsdkmetastudio.v1.model.rtc_user_info import RTCUserInfo +from huaweicloudsdkmetastudio.v1.model.replication_asset_info import ReplicationAssetInfo +from huaweicloudsdkmetastudio.v1.model.replication_enc_info import ReplicationEncInfo from huaweicloudsdkmetastudio.v1.model.reply_audio_info import ReplyAudioInfo from huaweicloudsdkmetastudio.v1.model.report_live_event_req import ReportLiveEventReq +from huaweicloudsdkmetastudio.v1.model.reset_active_code_request import ResetActiveCodeRequest +from huaweicloudsdkmetastudio.v1.model.reset_active_code_response import ResetActiveCodeResponse from huaweicloudsdkmetastudio.v1.model.restore_asset_request import RestoreAssetRequest from huaweicloudsdkmetastudio.v1.model.restore_asset_response import RestoreAssetResponse from huaweicloudsdkmetastudio.v1.model.review_config import ReviewConfig @@ -256,6 +272,10 @@ from huaweicloudsdkmetastudio.v1.model.show2_d_digital_human_video_response import Show2DDigitalHumanVideoResponse from huaweicloudsdkmetastudio.v1.model.show2d_model_training_job_request import Show2dModelTrainingJobRequest from huaweicloudsdkmetastudio.v1.model.show2d_model_training_job_response import Show2dModelTrainingJobResponse +from huaweicloudsdkmetastudio.v1.model.show_active_code_request import ShowActiveCodeRequest +from huaweicloudsdkmetastudio.v1.model.show_active_code_response import ShowActiveCodeResponse +from huaweicloudsdkmetastudio.v1.model.show_asset_replication_info_request import ShowAssetReplicationInfoRequest +from huaweicloudsdkmetastudio.v1.model.show_asset_replication_info_response import ShowAssetReplicationInfoResponse from huaweicloudsdkmetastudio.v1.model.show_asset_request import ShowAssetRequest from huaweicloudsdkmetastudio.v1.model.show_asset_response import ShowAssetResponse from huaweicloudsdkmetastudio.v1.model.show_digital_human_business_card_request import ShowDigitalHumanBusinessCardRequest @@ -323,6 +343,9 @@ from huaweicloudsdkmetastudio.v1.model.trigger_process import TriggerProcess from huaweicloudsdkmetastudio.v1.model.update2d_model_training_job_request import Update2dModelTrainingJobRequest from huaweicloudsdkmetastudio.v1.model.update2d_model_training_job_response import Update2dModelTrainingJobResponse +from huaweicloudsdkmetastudio.v1.model.update_active_code_req import UpdateActiveCodeReq +from huaweicloudsdkmetastudio.v1.model.update_active_code_request import UpdateActiveCodeRequest +from huaweicloudsdkmetastudio.v1.model.update_active_code_response import UpdateActiveCodeResponse from huaweicloudsdkmetastudio.v1.model.update_digital_asset_request import UpdateDigitalAssetRequest from huaweicloudsdkmetastudio.v1.model.update_digital_asset_request_body import UpdateDigitalAssetRequestBody from huaweicloudsdkmetastudio.v1.model.update_digital_asset_response import UpdateDigitalAssetResponse diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/metastudio_async_client.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/metastudio_async_client.py index 61ea7fcffc..8985e57c5d 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/metastudio_async_client.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/metastudio_async_client.py @@ -32,6 +32,414 @@ def new_builder(cls, clazz=None): return client_builder + def create_active_code_async(self, request): + """创建激活码 + + 该接口用于创建激活码。 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for CreateActiveCode + :type request: :class:`huaweicloudsdkmetastudio.v1.CreateActiveCodeRequest` + :rtype: :class:`huaweicloudsdkmetastudio.v1.CreateActiveCodeResponse` + """ + http_info = self._create_active_code_http_info(request) + return self._call_api(**http_info) + + def create_active_code_async_invoker(self, request): + http_info = self._create_active_code_http_info(request) + return AsyncInvoker(self, http_info) + + def _create_active_code_http_info(self, request): + http_info = { + "method": "POST", + "resource_path": "/v1/{project_id}/digital-human-chat/active-code", + "request_type": request.__class__.__name__, + "response_type": "CreateActiveCodeResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + if 'x_app_user_id' in local_var_params: + header_params['X-App-UserId'] = local_var_params['x_app_user_id'] + + form_params = {} + + body = None + if 'body' in local_var_params: + body = local_var_params['body'] + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = ["X-Request-Id", ] + + header_params['Content-Type'] = http_utils.select_header_content_type( + ['application/json']) + + auth_settings = [] + + http_info["cname"] = cname + http_info["collection_formats"] = collection_formats + http_info["path_params"] = path_params + http_info["query_params"] = query_params + http_info["header_params"] = header_params + http_info["post_params"] = form_params + http_info["body"] = body + http_info["response_headers"] = response_headers + + return http_info + + def delete_active_code_async(self, request): + """删除激活码 + + 该接口用于删除激活码。 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for DeleteActiveCode + :type request: :class:`huaweicloudsdkmetastudio.v1.DeleteActiveCodeRequest` + :rtype: :class:`huaweicloudsdkmetastudio.v1.DeleteActiveCodeResponse` + """ + http_info = self._delete_active_code_http_info(request) + return self._call_api(**http_info) + + def delete_active_code_async_invoker(self, request): + http_info = self._delete_active_code_http_info(request) + return AsyncInvoker(self, http_info) + + def _delete_active_code_http_info(self, request): + http_info = { + "method": "POST", + "resource_path": "/v1/{project_id}/digital-human-chat/active-code/delete", + "request_type": request.__class__.__name__, + "response_type": "DeleteActiveCodeResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + if 'x_app_user_id' in local_var_params: + header_params['X-App-UserId'] = local_var_params['x_app_user_id'] + + form_params = {} + + body = None + if 'body' in local_var_params: + body = local_var_params['body'] + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = ["X-Request-Id", ] + + header_params['Content-Type'] = http_utils.select_header_content_type( + ['application/json']) + + auth_settings = [] + + http_info["cname"] = cname + http_info["collection_formats"] = collection_formats + http_info["path_params"] = path_params + http_info["query_params"] = query_params + http_info["header_params"] = header_params + http_info["post_params"] = form_params + http_info["body"] = body + http_info["response_headers"] = response_headers + + return http_info + + def list_active_code_async(self, request): + """查询激活码列表 + + 该接口用于查询激活码列表。 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for ListActiveCode + :type request: :class:`huaweicloudsdkmetastudio.v1.ListActiveCodeRequest` + :rtype: :class:`huaweicloudsdkmetastudio.v1.ListActiveCodeResponse` + """ + http_info = self._list_active_code_http_info(request) + return self._call_api(**http_info) + + def list_active_code_async_invoker(self, request): + http_info = self._list_active_code_http_info(request) + return AsyncInvoker(self, http_info) + + def _list_active_code_http_info(self, request): + http_info = { + "method": "GET", + "resource_path": "/v1/{project_id}/digital-human-chat/active-code", + "request_type": request.__class__.__name__, + "response_type": "ListActiveCodeResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'offset' in local_var_params: + query_params.append(('offset', local_var_params['offset'])) + if 'limit' in local_var_params: + query_params.append(('limit', local_var_params['limit'])) + if 'robot_id' in local_var_params: + query_params.append(('robot_id', local_var_params['robot_id'])) + + header_params = {} + if 'x_app_user_id' in local_var_params: + header_params['X-App-UserId'] = local_var_params['x_app_user_id'] + + form_params = {} + + body = None + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = ["X-Request-Id", ] + + header_params['Content-Type'] = http_utils.select_header_content_type( + ['application/json']) + + auth_settings = [] + + http_info["cname"] = cname + http_info["collection_formats"] = collection_formats + http_info["path_params"] = path_params + http_info["query_params"] = query_params + http_info["header_params"] = header_params + http_info["post_params"] = form_params + http_info["body"] = body + http_info["response_headers"] = response_headers + + return http_info + + def reset_active_code_async(self, request): + """重置激活码 + + 该接口用于重置激活码。 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for ResetActiveCode + :type request: :class:`huaweicloudsdkmetastudio.v1.ResetActiveCodeRequest` + :rtype: :class:`huaweicloudsdkmetastudio.v1.ResetActiveCodeResponse` + """ + http_info = self._reset_active_code_http_info(request) + return self._call_api(**http_info) + + def reset_active_code_async_invoker(self, request): + http_info = self._reset_active_code_http_info(request) + return AsyncInvoker(self, http_info) + + def _reset_active_code_http_info(self, request): + http_info = { + "method": "PUT", + "resource_path": "/v1/{project_id}/digital-human-chat/active-code/{active_code_id}/reset", + "request_type": request.__class__.__name__, + "response_type": "ResetActiveCodeResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'active_code_id' in local_var_params: + path_params['active_code_id'] = local_var_params['active_code_id'] + + query_params = [] + + header_params = {} + if 'x_app_user_id' in local_var_params: + header_params['X-App-UserId'] = local_var_params['x_app_user_id'] + + form_params = {} + + body = None + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = ["X-Request-Id", ] + + header_params['Content-Type'] = http_utils.select_header_content_type( + ['application/json']) + + auth_settings = [] + + http_info["cname"] = cname + http_info["collection_formats"] = collection_formats + http_info["path_params"] = path_params + http_info["query_params"] = query_params + http_info["header_params"] = header_params + http_info["post_params"] = form_params + http_info["body"] = body + http_info["response_headers"] = response_headers + + return http_info + + def show_active_code_async(self, request): + """查询激活码详情 + + 该接口用于查询激活码详情。 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for ShowActiveCode + :type request: :class:`huaweicloudsdkmetastudio.v1.ShowActiveCodeRequest` + :rtype: :class:`huaweicloudsdkmetastudio.v1.ShowActiveCodeResponse` + """ + http_info = self._show_active_code_http_info(request) + return self._call_api(**http_info) + + def show_active_code_async_invoker(self, request): + http_info = self._show_active_code_http_info(request) + return AsyncInvoker(self, http_info) + + def _show_active_code_http_info(self, request): + http_info = { + "method": "GET", + "resource_path": "/v1/{project_id}/digital-human-chat/active-code/{active_code_id}", + "request_type": request.__class__.__name__, + "response_type": "ShowActiveCodeResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'active_code_id' in local_var_params: + path_params['active_code_id'] = local_var_params['active_code_id'] + + query_params = [] + + header_params = {} + if 'x_app_user_id' in local_var_params: + header_params['X-App-UserId'] = local_var_params['x_app_user_id'] + + form_params = {} + + body = None + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = ["X-Request-Id", ] + + header_params['Content-Type'] = http_utils.select_header_content_type( + ['application/json']) + + auth_settings = [] + + http_info["cname"] = cname + http_info["collection_formats"] = collection_formats + http_info["path_params"] = path_params + http_info["query_params"] = query_params + http_info["header_params"] = header_params + http_info["post_params"] = form_params + http_info["body"] = body + http_info["response_headers"] = response_headers + + return http_info + + def update_active_code_async(self, request): + """修改激活码 + + 该接口用于修改激活码。 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for UpdateActiveCode + :type request: :class:`huaweicloudsdkmetastudio.v1.UpdateActiveCodeRequest` + :rtype: :class:`huaweicloudsdkmetastudio.v1.UpdateActiveCodeResponse` + """ + http_info = self._update_active_code_http_info(request) + return self._call_api(**http_info) + + def update_active_code_async_invoker(self, request): + http_info = self._update_active_code_http_info(request) + return AsyncInvoker(self, http_info) + + def _update_active_code_http_info(self, request): + http_info = { + "method": "PUT", + "resource_path": "/v1/{project_id}/digital-human-chat/active-code/{active_code_id}", + "request_type": request.__class__.__name__, + "response_type": "UpdateActiveCodeResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'active_code_id' in local_var_params: + path_params['active_code_id'] = local_var_params['active_code_id'] + + query_params = [] + + header_params = {} + if 'x_app_user_id' in local_var_params: + header_params['X-App-UserId'] = local_var_params['x_app_user_id'] + + form_params = {} + + body = None + if 'body' in local_var_params: + body = local_var_params['body'] + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = ["X-Request-Id", ] + + header_params['Content-Type'] = http_utils.select_header_content_type( + ['application/json']) + + auth_settings = [] + + http_info["cname"] = cname + http_info["collection_formats"] = collection_formats + http_info["path_params"] = path_params + http_info["query_params"] = query_params + http_info["header_params"] = header_params + http_info["post_params"] = form_params + http_info["body"] = body + http_info["response_headers"] = response_headers + + return http_info + def create_dialog_url_async(self, request): """创建对话链接 @@ -306,6 +714,73 @@ def _stop_smart_chat_job_http_info(self, request): return http_info + def create_assetby_replication_info_async(self, request): + """复制资产 + + 该接口用于在Region B复制Region A的指定资产。 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for CreateAssetbyReplicationInfo + :type request: :class:`huaweicloudsdkmetastudio.v1.CreateAssetbyReplicationInfoRequest` + :rtype: :class:`huaweicloudsdkmetastudio.v1.CreateAssetbyReplicationInfoResponse` + """ + http_info = self._create_assetby_replication_info_http_info(request) + return self._call_api(**http_info) + + def create_assetby_replication_info_async_invoker(self, request): + http_info = self._create_assetby_replication_info_http_info(request) + return AsyncInvoker(self, http_info) + + def _create_assetby_replication_info_http_info(self, request): + http_info = { + "method": "POST", + "resource_path": "/v1/{project_id}/digital-assets-by-replication-info", + "request_type": request.__class__.__name__, + "response_type": "CreateAssetbyReplicationInfoResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + if 'x_app_user_id' in local_var_params: + header_params['X-App-UserId'] = local_var_params['x_app_user_id'] + + form_params = {} + + body = None + if 'body' in local_var_params: + body = local_var_params['body'] + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = ["X-Request-Id", ] + + header_params['Content-Type'] = http_utils.select_header_content_type( + ['application/json']) + + auth_settings = [] + + http_info["cname"] = cname + http_info["collection_formats"] = collection_formats + http_info["path_params"] = path_params + http_info["query_params"] = query_params + http_info["header_params"] = header_params + http_info["post_params"] = form_params + http_info["body"] = body + http_info["response_headers"] = response_headers + + return http_info + def create_digital_asset_async(self, request): """创建资产 @@ -588,6 +1063,8 @@ def _list_assets_http_info(self, request): query_params.append(('role', local_var_params['role'])) header_params = {} + if 'x_real_ip' in local_var_params: + header_params['X-REAL-IP'] = local_var_params['x_real_ip'] if 'x_app_user_id' in local_var_params: header_params['X-App-UserId'] = local_var_params['x_app_user_id'] @@ -749,6 +1226,73 @@ def _show_asset_http_info(self, request): return http_info + def show_asset_replication_info_async(self, request): + """查询资产复制信息 + + 当需要将资产从A Region复制到B Region时,先要在A Region调用该接口用于查询资产复制信息。 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for ShowAssetReplicationInfo + :type request: :class:`huaweicloudsdkmetastudio.v1.ShowAssetReplicationInfoRequest` + :rtype: :class:`huaweicloudsdkmetastudio.v1.ShowAssetReplicationInfoResponse` + """ + http_info = self._show_asset_replication_info_http_info(request) + return self._call_api(**http_info) + + def show_asset_replication_info_async_invoker(self, request): + http_info = self._show_asset_replication_info_http_info(request) + return AsyncInvoker(self, http_info) + + def _show_asset_replication_info_http_info(self, request): + http_info = { + "method": "GET", + "resource_path": "/v1/{project_id}/digital-assets/{asset_id}/replication-info", + "request_type": request.__class__.__name__, + "response_type": "ShowAssetReplicationInfoResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'asset_id' in local_var_params: + path_params['asset_id'] = local_var_params['asset_id'] + + query_params = [] + + header_params = {} + if 'x_app_user_id' in local_var_params: + header_params['X-App-UserId'] = local_var_params['x_app_user_id'] + + form_params = {} + + body = None + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = ["X-Request-Id", ] + + header_params['Content-Type'] = http_utils.select_header_content_type( + ['application/json']) + + auth_settings = [] + + http_info["cname"] = cname + http_info["collection_formats"] = collection_formats + http_info["path_params"] = path_params + http_info["query_params"] = query_params + http_info["header_params"] = header_params + http_info["post_params"] = form_params + http_info["body"] = body + http_info["response_headers"] = response_headers + + return http_info + def update_digital_asset_async(self, request): """更新资产 @@ -1373,7 +1917,7 @@ def _create2_d_digital_human_video_http_info(self, request): response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json;charset=utf-8']) + ['application/json']) auth_settings = [] @@ -1576,7 +2120,7 @@ def _create_photo_detection_http_info(self, request): response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json;charset=utf-8']) + ['application/json']) auth_settings = [] @@ -1643,7 +2187,7 @@ def _create_photo_digital_human_video_http_info(self, request): response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json;charset=utf-8']) + ['application/json']) auth_settings = [] @@ -1848,7 +2392,7 @@ def _confirm_file_upload_http_info(self, request): response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json;charset=utf-8']) + ['application/json']) auth_settings = [] @@ -1915,7 +2459,7 @@ def _create_file_http_info(self, request): response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json;charset=utf-8']) + ['application/json']) auth_settings = [] @@ -2001,6 +2545,7 @@ def create_once_code_async(self, request): """创建一次性鉴权码 该接口用于创建一次性鉴权码,有效期5分钟,鉴权码只能使用一次,每次使用后需要重新获取。 + > 接口只能通过第三方后台调用,不能在浏览器前台直接调用,否则会有跨域问题。 Please refer to HUAWEI cloud API Explorer for details. @@ -2690,9 +3235,9 @@ def _update_robot_http_info(self, request): return http_info def create_smart_chat_room_async(self, request): - """创建智能交互对话直播间 + """创建智能交互对话 - 该接口用于创建智能交互对话直播间。 + 该接口用于创建智能交互对话。 Please refer to HUAWEI cloud API Explorer for details. @@ -2757,9 +3302,9 @@ def _create_smart_chat_room_http_info(self, request): return http_info def delete_smart_chat_room_async(self, request): - """删除智能交互对话直播间 + """删除智能交互对话 - 该接口用于删除智能交互对话直播间。 + 该接口用于删除智能交互对话。 Please refer to HUAWEI cloud API Explorer for details. @@ -2824,9 +3369,9 @@ def _delete_smart_chat_room_http_info(self, request): return http_info def list_smart_chat_rooms_async(self, request): - """查询智能交互对话直播间列表 + """查询智能交互对话列表 - 该接口用于智能交互对话直播间列表。 + 该接口用于智能交互对话列表。 Please refer to HUAWEI cloud API Explorer for details. @@ -2901,9 +3446,9 @@ def _list_smart_chat_rooms_http_info(self, request): return http_info def show_smart_chat_room_async(self, request): - """查询智能交互对话直播间详情 + """查询智能交互对话详情 - 该接口用于查询智能交互对话直播间详情。 + 该接口用于查询智能交互对话详情。 Please refer to HUAWEI cloud API Explorer for details. @@ -2968,9 +3513,9 @@ def _show_smart_chat_room_http_info(self, request): return http_info def update_smart_chat_room_async(self, request): - """更新智能交互对话直播间信息 + """更新智能交互对话信息 - 该接口用于智能交互对话直播间信息。 + 该接口用于智能交互对话信息。 Please refer to HUAWEI cloud API Explorer for details. @@ -4853,7 +5398,7 @@ def _create_training_advance_job_http_info(self, request): response_headers = [] header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json;charset=utf-8']) + ['application/json']) auth_settings = [] @@ -4925,7 +5470,7 @@ def _create_training_basic_job_http_info(self, request): response_headers = [] header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json;charset=utf-8']) + ['application/json']) auth_settings = [] @@ -4997,7 +5542,7 @@ def _create_training_middle_job_http_info(self, request): response_headers = [] header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json;charset=utf-8']) + ['application/json']) auth_settings = [] @@ -5474,7 +6019,7 @@ def _create2d_model_training_job_http_info(self, request): response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json;charset=utf-8']) + ['application/json']) auth_settings = [] @@ -5611,7 +6156,7 @@ def _execute2d_model_training_command_by_user_http_info(self, request): response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json;charset=utf-8']) + ['application/json']) auth_settings = [] @@ -5835,7 +6380,7 @@ def _update2d_model_training_job_http_info(self, request): response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json;charset=utf-8']) + ['application/json']) auth_settings = [] @@ -6111,7 +6656,7 @@ def _execute_video_motion_capture_command_http_info(self, request): response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json;charset=utf-8']) + ['application/json']) auth_settings = [] diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/metastudio_client.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/metastudio_client.py index 0fa6e28ecb..2f36140552 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/metastudio_client.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/metastudio_client.py @@ -32,6 +32,414 @@ def new_builder(cls, clazz=None): return client_builder + def create_active_code(self, request): + """创建激活码 + + 该接口用于创建激活码。 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for CreateActiveCode + :type request: :class:`huaweicloudsdkmetastudio.v1.CreateActiveCodeRequest` + :rtype: :class:`huaweicloudsdkmetastudio.v1.CreateActiveCodeResponse` + """ + http_info = self._create_active_code_http_info(request) + return self._call_api(**http_info) + + def create_active_code_invoker(self, request): + http_info = self._create_active_code_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _create_active_code_http_info(cls, request): + http_info = { + "method": "POST", + "resource_path": "/v1/{project_id}/digital-human-chat/active-code", + "request_type": request.__class__.__name__, + "response_type": "CreateActiveCodeResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + if 'x_app_user_id' in local_var_params: + header_params['X-App-UserId'] = local_var_params['x_app_user_id'] + + form_params = {} + + body = None + if 'body' in local_var_params: + body = local_var_params['body'] + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = ["X-Request-Id", ] + + header_params['Content-Type'] = http_utils.select_header_content_type( + ['application/json']) + + auth_settings = [] + + http_info["cname"] = cname + http_info["collection_formats"] = collection_formats + http_info["path_params"] = path_params + http_info["query_params"] = query_params + http_info["header_params"] = header_params + http_info["post_params"] = form_params + http_info["body"] = body + http_info["response_headers"] = response_headers + + return http_info + + def delete_active_code(self, request): + """删除激活码 + + 该接口用于删除激活码。 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for DeleteActiveCode + :type request: :class:`huaweicloudsdkmetastudio.v1.DeleteActiveCodeRequest` + :rtype: :class:`huaweicloudsdkmetastudio.v1.DeleteActiveCodeResponse` + """ + http_info = self._delete_active_code_http_info(request) + return self._call_api(**http_info) + + def delete_active_code_invoker(self, request): + http_info = self._delete_active_code_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _delete_active_code_http_info(cls, request): + http_info = { + "method": "POST", + "resource_path": "/v1/{project_id}/digital-human-chat/active-code/delete", + "request_type": request.__class__.__name__, + "response_type": "DeleteActiveCodeResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + if 'x_app_user_id' in local_var_params: + header_params['X-App-UserId'] = local_var_params['x_app_user_id'] + + form_params = {} + + body = None + if 'body' in local_var_params: + body = local_var_params['body'] + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = ["X-Request-Id", ] + + header_params['Content-Type'] = http_utils.select_header_content_type( + ['application/json']) + + auth_settings = [] + + http_info["cname"] = cname + http_info["collection_formats"] = collection_formats + http_info["path_params"] = path_params + http_info["query_params"] = query_params + http_info["header_params"] = header_params + http_info["post_params"] = form_params + http_info["body"] = body + http_info["response_headers"] = response_headers + + return http_info + + def list_active_code(self, request): + """查询激活码列表 + + 该接口用于查询激活码列表。 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for ListActiveCode + :type request: :class:`huaweicloudsdkmetastudio.v1.ListActiveCodeRequest` + :rtype: :class:`huaweicloudsdkmetastudio.v1.ListActiveCodeResponse` + """ + http_info = self._list_active_code_http_info(request) + return self._call_api(**http_info) + + def list_active_code_invoker(self, request): + http_info = self._list_active_code_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _list_active_code_http_info(cls, request): + http_info = { + "method": "GET", + "resource_path": "/v1/{project_id}/digital-human-chat/active-code", + "request_type": request.__class__.__name__, + "response_type": "ListActiveCodeResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'offset' in local_var_params: + query_params.append(('offset', local_var_params['offset'])) + if 'limit' in local_var_params: + query_params.append(('limit', local_var_params['limit'])) + if 'robot_id' in local_var_params: + query_params.append(('robot_id', local_var_params['robot_id'])) + + header_params = {} + if 'x_app_user_id' in local_var_params: + header_params['X-App-UserId'] = local_var_params['x_app_user_id'] + + form_params = {} + + body = None + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = ["X-Request-Id", ] + + header_params['Content-Type'] = http_utils.select_header_content_type( + ['application/json']) + + auth_settings = [] + + http_info["cname"] = cname + http_info["collection_formats"] = collection_formats + http_info["path_params"] = path_params + http_info["query_params"] = query_params + http_info["header_params"] = header_params + http_info["post_params"] = form_params + http_info["body"] = body + http_info["response_headers"] = response_headers + + return http_info + + def reset_active_code(self, request): + """重置激活码 + + 该接口用于重置激活码。 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for ResetActiveCode + :type request: :class:`huaweicloudsdkmetastudio.v1.ResetActiveCodeRequest` + :rtype: :class:`huaweicloudsdkmetastudio.v1.ResetActiveCodeResponse` + """ + http_info = self._reset_active_code_http_info(request) + return self._call_api(**http_info) + + def reset_active_code_invoker(self, request): + http_info = self._reset_active_code_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _reset_active_code_http_info(cls, request): + http_info = { + "method": "PUT", + "resource_path": "/v1/{project_id}/digital-human-chat/active-code/{active_code_id}/reset", + "request_type": request.__class__.__name__, + "response_type": "ResetActiveCodeResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'active_code_id' in local_var_params: + path_params['active_code_id'] = local_var_params['active_code_id'] + + query_params = [] + + header_params = {} + if 'x_app_user_id' in local_var_params: + header_params['X-App-UserId'] = local_var_params['x_app_user_id'] + + form_params = {} + + body = None + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = ["X-Request-Id", ] + + header_params['Content-Type'] = http_utils.select_header_content_type( + ['application/json']) + + auth_settings = [] + + http_info["cname"] = cname + http_info["collection_formats"] = collection_formats + http_info["path_params"] = path_params + http_info["query_params"] = query_params + http_info["header_params"] = header_params + http_info["post_params"] = form_params + http_info["body"] = body + http_info["response_headers"] = response_headers + + return http_info + + def show_active_code(self, request): + """查询激活码详情 + + 该接口用于查询激活码详情。 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for ShowActiveCode + :type request: :class:`huaweicloudsdkmetastudio.v1.ShowActiveCodeRequest` + :rtype: :class:`huaweicloudsdkmetastudio.v1.ShowActiveCodeResponse` + """ + http_info = self._show_active_code_http_info(request) + return self._call_api(**http_info) + + def show_active_code_invoker(self, request): + http_info = self._show_active_code_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _show_active_code_http_info(cls, request): + http_info = { + "method": "GET", + "resource_path": "/v1/{project_id}/digital-human-chat/active-code/{active_code_id}", + "request_type": request.__class__.__name__, + "response_type": "ShowActiveCodeResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'active_code_id' in local_var_params: + path_params['active_code_id'] = local_var_params['active_code_id'] + + query_params = [] + + header_params = {} + if 'x_app_user_id' in local_var_params: + header_params['X-App-UserId'] = local_var_params['x_app_user_id'] + + form_params = {} + + body = None + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = ["X-Request-Id", ] + + header_params['Content-Type'] = http_utils.select_header_content_type( + ['application/json']) + + auth_settings = [] + + http_info["cname"] = cname + http_info["collection_formats"] = collection_formats + http_info["path_params"] = path_params + http_info["query_params"] = query_params + http_info["header_params"] = header_params + http_info["post_params"] = form_params + http_info["body"] = body + http_info["response_headers"] = response_headers + + return http_info + + def update_active_code(self, request): + """修改激活码 + + 该接口用于修改激活码。 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for UpdateActiveCode + :type request: :class:`huaweicloudsdkmetastudio.v1.UpdateActiveCodeRequest` + :rtype: :class:`huaweicloudsdkmetastudio.v1.UpdateActiveCodeResponse` + """ + http_info = self._update_active_code_http_info(request) + return self._call_api(**http_info) + + def update_active_code_invoker(self, request): + http_info = self._update_active_code_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _update_active_code_http_info(cls, request): + http_info = { + "method": "PUT", + "resource_path": "/v1/{project_id}/digital-human-chat/active-code/{active_code_id}", + "request_type": request.__class__.__name__, + "response_type": "UpdateActiveCodeResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'active_code_id' in local_var_params: + path_params['active_code_id'] = local_var_params['active_code_id'] + + query_params = [] + + header_params = {} + if 'x_app_user_id' in local_var_params: + header_params['X-App-UserId'] = local_var_params['x_app_user_id'] + + form_params = {} + + body = None + if 'body' in local_var_params: + body = local_var_params['body'] + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = ["X-Request-Id", ] + + header_params['Content-Type'] = http_utils.select_header_content_type( + ['application/json']) + + auth_settings = [] + + http_info["cname"] = cname + http_info["collection_formats"] = collection_formats + http_info["path_params"] = path_params + http_info["query_params"] = query_params + http_info["header_params"] = header_params + http_info["post_params"] = form_params + http_info["body"] = body + http_info["response_headers"] = response_headers + + return http_info + def create_dialog_url(self, request): """创建对话链接 @@ -306,6 +714,73 @@ def _stop_smart_chat_job_http_info(cls, request): return http_info + def create_assetby_replication_info(self, request): + """复制资产 + + 该接口用于在Region B复制Region A的指定资产。 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for CreateAssetbyReplicationInfo + :type request: :class:`huaweicloudsdkmetastudio.v1.CreateAssetbyReplicationInfoRequest` + :rtype: :class:`huaweicloudsdkmetastudio.v1.CreateAssetbyReplicationInfoResponse` + """ + http_info = self._create_assetby_replication_info_http_info(request) + return self._call_api(**http_info) + + def create_assetby_replication_info_invoker(self, request): + http_info = self._create_assetby_replication_info_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _create_assetby_replication_info_http_info(cls, request): + http_info = { + "method": "POST", + "resource_path": "/v1/{project_id}/digital-assets-by-replication-info", + "request_type": request.__class__.__name__, + "response_type": "CreateAssetbyReplicationInfoResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + if 'x_app_user_id' in local_var_params: + header_params['X-App-UserId'] = local_var_params['x_app_user_id'] + + form_params = {} + + body = None + if 'body' in local_var_params: + body = local_var_params['body'] + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = ["X-Request-Id", ] + + header_params['Content-Type'] = http_utils.select_header_content_type( + ['application/json']) + + auth_settings = [] + + http_info["cname"] = cname + http_info["collection_formats"] = collection_formats + http_info["path_params"] = path_params + http_info["query_params"] = query_params + http_info["header_params"] = header_params + http_info["post_params"] = form_params + http_info["body"] = body + http_info["response_headers"] = response_headers + + return http_info + def create_digital_asset(self, request): """创建资产 @@ -588,6 +1063,8 @@ def _list_assets_http_info(cls, request): query_params.append(('role', local_var_params['role'])) header_params = {} + if 'x_real_ip' in local_var_params: + header_params['X-REAL-IP'] = local_var_params['x_real_ip'] if 'x_app_user_id' in local_var_params: header_params['X-App-UserId'] = local_var_params['x_app_user_id'] @@ -749,6 +1226,73 @@ def _show_asset_http_info(cls, request): return http_info + def show_asset_replication_info(self, request): + """查询资产复制信息 + + 当需要将资产从A Region复制到B Region时,先要在A Region调用该接口用于查询资产复制信息。 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for ShowAssetReplicationInfo + :type request: :class:`huaweicloudsdkmetastudio.v1.ShowAssetReplicationInfoRequest` + :rtype: :class:`huaweicloudsdkmetastudio.v1.ShowAssetReplicationInfoResponse` + """ + http_info = self._show_asset_replication_info_http_info(request) + return self._call_api(**http_info) + + def show_asset_replication_info_invoker(self, request): + http_info = self._show_asset_replication_info_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _show_asset_replication_info_http_info(cls, request): + http_info = { + "method": "GET", + "resource_path": "/v1/{project_id}/digital-assets/{asset_id}/replication-info", + "request_type": request.__class__.__name__, + "response_type": "ShowAssetReplicationInfoResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'asset_id' in local_var_params: + path_params['asset_id'] = local_var_params['asset_id'] + + query_params = [] + + header_params = {} + if 'x_app_user_id' in local_var_params: + header_params['X-App-UserId'] = local_var_params['x_app_user_id'] + + form_params = {} + + body = None + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = ["X-Request-Id", ] + + header_params['Content-Type'] = http_utils.select_header_content_type( + ['application/json']) + + auth_settings = [] + + http_info["cname"] = cname + http_info["collection_formats"] = collection_formats + http_info["path_params"] = path_params + http_info["query_params"] = query_params + http_info["header_params"] = header_params + http_info["post_params"] = form_params + http_info["body"] = body + http_info["response_headers"] = response_headers + + return http_info + def update_digital_asset(self, request): """更新资产 @@ -1373,7 +1917,7 @@ def _create2_d_digital_human_video_http_info(cls, request): response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json;charset=utf-8']) + ['application/json']) auth_settings = [] @@ -1576,7 +2120,7 @@ def _create_photo_detection_http_info(cls, request): response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json;charset=utf-8']) + ['application/json']) auth_settings = [] @@ -1643,7 +2187,7 @@ def _create_photo_digital_human_video_http_info(cls, request): response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json;charset=utf-8']) + ['application/json']) auth_settings = [] @@ -1848,7 +2392,7 @@ def _confirm_file_upload_http_info(cls, request): response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json;charset=utf-8']) + ['application/json']) auth_settings = [] @@ -1915,7 +2459,7 @@ def _create_file_http_info(cls, request): response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json;charset=utf-8']) + ['application/json']) auth_settings = [] @@ -2001,6 +2545,7 @@ def create_once_code(self, request): """创建一次性鉴权码 该接口用于创建一次性鉴权码,有效期5分钟,鉴权码只能使用一次,每次使用后需要重新获取。 + > 接口只能通过第三方后台调用,不能在浏览器前台直接调用,否则会有跨域问题。 Please refer to HUAWEI cloud API Explorer for details. @@ -2690,9 +3235,9 @@ def _update_robot_http_info(cls, request): return http_info def create_smart_chat_room(self, request): - """创建智能交互对话直播间 + """创建智能交互对话 - 该接口用于创建智能交互对话直播间。 + 该接口用于创建智能交互对话。 Please refer to HUAWEI cloud API Explorer for details. @@ -2757,9 +3302,9 @@ def _create_smart_chat_room_http_info(cls, request): return http_info def delete_smart_chat_room(self, request): - """删除智能交互对话直播间 + """删除智能交互对话 - 该接口用于删除智能交互对话直播间。 + 该接口用于删除智能交互对话。 Please refer to HUAWEI cloud API Explorer for details. @@ -2824,9 +3369,9 @@ def _delete_smart_chat_room_http_info(cls, request): return http_info def list_smart_chat_rooms(self, request): - """查询智能交互对话直播间列表 + """查询智能交互对话列表 - 该接口用于智能交互对话直播间列表。 + 该接口用于智能交互对话列表。 Please refer to HUAWEI cloud API Explorer for details. @@ -2901,9 +3446,9 @@ def _list_smart_chat_rooms_http_info(cls, request): return http_info def show_smart_chat_room(self, request): - """查询智能交互对话直播间详情 + """查询智能交互对话详情 - 该接口用于查询智能交互对话直播间详情。 + 该接口用于查询智能交互对话详情。 Please refer to HUAWEI cloud API Explorer for details. @@ -2968,9 +3513,9 @@ def _show_smart_chat_room_http_info(cls, request): return http_info def update_smart_chat_room(self, request): - """更新智能交互对话直播间信息 + """更新智能交互对话信息 - 该接口用于智能交互对话直播间信息。 + 该接口用于智能交互对话信息。 Please refer to HUAWEI cloud API Explorer for details. @@ -4853,7 +5398,7 @@ def _create_training_advance_job_http_info(cls, request): response_headers = [] header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json;charset=utf-8']) + ['application/json']) auth_settings = [] @@ -4925,7 +5470,7 @@ def _create_training_basic_job_http_info(cls, request): response_headers = [] header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json;charset=utf-8']) + ['application/json']) auth_settings = [] @@ -4997,7 +5542,7 @@ def _create_training_middle_job_http_info(cls, request): response_headers = [] header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json;charset=utf-8']) + ['application/json']) auth_settings = [] @@ -5474,7 +6019,7 @@ def _create2d_model_training_job_http_info(cls, request): response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json;charset=utf-8']) + ['application/json']) auth_settings = [] @@ -5611,7 +6156,7 @@ def _execute2d_model_training_command_by_user_http_info(cls, request): response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json;charset=utf-8']) + ['application/json']) auth_settings = [] @@ -5835,7 +6380,7 @@ def _update2d_model_training_job_http_info(cls, request): response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json;charset=utf-8']) + ['application/json']) auth_settings = [] @@ -6111,7 +6656,7 @@ def _execute_video_motion_capture_command_http_info(cls, request): response_headers = ["X-Request-Id", ] header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json;charset=utf-8']) + ['application/json']) auth_settings = [] diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/__init__.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/__init__.py index db92008b00..87b1ebbe9c 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/__init__.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/__init__.py @@ -4,6 +4,7 @@ # import models into model package from huaweicloudsdkmetastudio.v1.model.action_mark_item import ActionMarkItem +from huaweicloudsdkmetastudio.v1.model.active_code_info import ActiveCodeInfo from huaweicloudsdkmetastudio.v1.model.animation_asset_meta import AnimationAssetMeta from huaweicloudsdkmetastudio.v1.model.animation_config import AnimationConfig from huaweicloudsdkmetastudio.v1.model.animation_item import AnimationItem @@ -27,6 +28,7 @@ from huaweicloudsdkmetastudio.v1.model.chat_video_config_rsp import ChatVideoConfigRsp from huaweicloudsdkmetastudio.v1.model.check_text_language_request import CheckTextLanguageRequest from huaweicloudsdkmetastudio.v1.model.check_text_language_response import CheckTextLanguageResponse +from huaweicloudsdkmetastudio.v1.model.co_streamer_config import CoStreamerConfig from huaweicloudsdkmetastudio.v1.model.comment_data import CommentData from huaweicloudsdkmetastudio.v1.model.comment_log_info import CommentLogInfo from huaweicloudsdkmetastudio.v1.model.commit_voice_training_job_request import CommitVoiceTrainingJobRequest @@ -47,6 +49,11 @@ from huaweicloudsdkmetastudio.v1.model.create2d_model_training_job_req import Create2dModelTrainingJobReq from huaweicloudsdkmetastudio.v1.model.create2d_model_training_job_request import Create2dModelTrainingJobRequest from huaweicloudsdkmetastudio.v1.model.create2d_model_training_job_response import Create2dModelTrainingJobResponse +from huaweicloudsdkmetastudio.v1.model.create_active_code_req import CreateActiveCodeReq +from huaweicloudsdkmetastudio.v1.model.create_active_code_request import CreateActiveCodeRequest +from huaweicloudsdkmetastudio.v1.model.create_active_code_response import CreateActiveCodeResponse +from huaweicloudsdkmetastudio.v1.model.create_assetby_replication_info_request import CreateAssetbyReplicationInfoRequest +from huaweicloudsdkmetastudio.v1.model.create_assetby_replication_info_response import CreateAssetbyReplicationInfoResponse from huaweicloudsdkmetastudio.v1.model.create_dialog_url_req import CreateDialogUrlReq from huaweicloudsdkmetastudio.v1.model.create_dialog_url_request import CreateDialogUrlRequest from huaweicloudsdkmetastudio.v1.model.create_dialog_url_response import CreateDialogUrlResponse @@ -108,6 +115,8 @@ from huaweicloudsdkmetastudio.v1.model.create_video_scripts_response import CreateVideoScriptsResponse from huaweicloudsdkmetastudio.v1.model.delete2d_model_training_job_request import Delete2dModelTrainingJobRequest from huaweicloudsdkmetastudio.v1.model.delete2d_model_training_job_response import Delete2dModelTrainingJobResponse +from huaweicloudsdkmetastudio.v1.model.delete_active_code_request import DeleteActiveCodeRequest +from huaweicloudsdkmetastudio.v1.model.delete_active_code_response import DeleteActiveCodeResponse from huaweicloudsdkmetastudio.v1.model.delete_asset_request import DeleteAssetRequest from huaweicloudsdkmetastudio.v1.model.delete_asset_response import DeleteAssetResponse from huaweicloudsdkmetastudio.v1.model.delete_digital_human_business_card_request import DeleteDigitalHumanBusinessCardRequest @@ -170,6 +179,8 @@ from huaweicloudsdkmetastudio.v1.model.layer_size_config import LayerSizeConfig from huaweicloudsdkmetastudio.v1.model.list2d_model_training_job_request import List2dModelTrainingJobRequest from huaweicloudsdkmetastudio.v1.model.list2d_model_training_job_response import List2dModelTrainingJobResponse +from huaweicloudsdkmetastudio.v1.model.list_active_code_request import ListActiveCodeRequest +from huaweicloudsdkmetastudio.v1.model.list_active_code_response import ListActiveCodeResponse from huaweicloudsdkmetastudio.v1.model.list_asset_summary_request import ListAssetSummaryRequest from huaweicloudsdkmetastudio.v1.model.list_asset_summary_response import ListAssetSummaryResponse from huaweicloudsdkmetastudio.v1.model.list_asset_summarys_req import ListAssetSummarysReq @@ -212,6 +223,7 @@ from huaweicloudsdkmetastudio.v1.model.live_event_call_back_config import LiveEventCallBackConfig from huaweicloudsdkmetastudio.v1.model.live_event_report_request import LiveEventReportRequest from huaweicloudsdkmetastudio.v1.model.live_event_report_response import LiveEventReportResponse +from huaweicloudsdkmetastudio.v1.model.live_job_log import LiveJobLog from huaweicloudsdkmetastudio.v1.model.live_shoot_script_item import LiveShootScriptItem from huaweicloudsdkmetastudio.v1.model.live_video_script_info import LiveVideoScriptInfo from huaweicloudsdkmetastudio.v1.model.live_warning_item import LiveWarningItem @@ -234,8 +246,12 @@ from huaweicloudsdkmetastudio.v1.model.play_policy import PlayPolicy from huaweicloudsdkmetastudio.v1.model.rtc_room_info_list import RTCRoomInfoList from huaweicloudsdkmetastudio.v1.model.rtc_user_info import RTCUserInfo +from huaweicloudsdkmetastudio.v1.model.replication_asset_info import ReplicationAssetInfo +from huaweicloudsdkmetastudio.v1.model.replication_enc_info import ReplicationEncInfo from huaweicloudsdkmetastudio.v1.model.reply_audio_info import ReplyAudioInfo from huaweicloudsdkmetastudio.v1.model.report_live_event_req import ReportLiveEventReq +from huaweicloudsdkmetastudio.v1.model.reset_active_code_request import ResetActiveCodeRequest +from huaweicloudsdkmetastudio.v1.model.reset_active_code_response import ResetActiveCodeResponse from huaweicloudsdkmetastudio.v1.model.restore_asset_request import RestoreAssetRequest from huaweicloudsdkmetastudio.v1.model.restore_asset_response import RestoreAssetResponse from huaweicloudsdkmetastudio.v1.model.review_config import ReviewConfig @@ -254,6 +270,10 @@ from huaweicloudsdkmetastudio.v1.model.show2_d_digital_human_video_response import Show2DDigitalHumanVideoResponse from huaweicloudsdkmetastudio.v1.model.show2d_model_training_job_request import Show2dModelTrainingJobRequest from huaweicloudsdkmetastudio.v1.model.show2d_model_training_job_response import Show2dModelTrainingJobResponse +from huaweicloudsdkmetastudio.v1.model.show_active_code_request import ShowActiveCodeRequest +from huaweicloudsdkmetastudio.v1.model.show_active_code_response import ShowActiveCodeResponse +from huaweicloudsdkmetastudio.v1.model.show_asset_replication_info_request import ShowAssetReplicationInfoRequest +from huaweicloudsdkmetastudio.v1.model.show_asset_replication_info_response import ShowAssetReplicationInfoResponse from huaweicloudsdkmetastudio.v1.model.show_asset_request import ShowAssetRequest from huaweicloudsdkmetastudio.v1.model.show_asset_response import ShowAssetResponse from huaweicloudsdkmetastudio.v1.model.show_digital_human_business_card_request import ShowDigitalHumanBusinessCardRequest @@ -321,6 +341,9 @@ from huaweicloudsdkmetastudio.v1.model.trigger_process import TriggerProcess from huaweicloudsdkmetastudio.v1.model.update2d_model_training_job_request import Update2dModelTrainingJobRequest from huaweicloudsdkmetastudio.v1.model.update2d_model_training_job_response import Update2dModelTrainingJobResponse +from huaweicloudsdkmetastudio.v1.model.update_active_code_req import UpdateActiveCodeReq +from huaweicloudsdkmetastudio.v1.model.update_active_code_request import UpdateActiveCodeRequest +from huaweicloudsdkmetastudio.v1.model.update_active_code_response import UpdateActiveCodeResponse from huaweicloudsdkmetastudio.v1.model.update_digital_asset_request import UpdateDigitalAssetRequest from huaweicloudsdkmetastudio.v1.model.update_digital_asset_request_body import UpdateDigitalAssetRequestBody from huaweicloudsdkmetastudio.v1.model.update_digital_asset_response import UpdateDigitalAssetResponse diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/active_code_info.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/active_code_info.py new file mode 100644 index 0000000000..15975c9bdf --- /dev/null +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/active_code_info.py @@ -0,0 +1,318 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ActiveCodeInfo: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'active_code_id': 'str', + 'active_code': 'str', + 'robot_id': 'str', + 'room_id': 'str', + 'valid_period': 'int', + 'expire_time': 'str', + 'create_time': 'str', + 'update_time': 'str' + } + + attribute_map = { + 'active_code_id': 'active_code_id', + 'active_code': 'active_code', + 'robot_id': 'robot_id', + 'room_id': 'room_id', + 'valid_period': 'valid_period', + 'expire_time': 'expire_time', + 'create_time': 'create_time', + 'update_time': 'update_time' + } + + def __init__(self, active_code_id=None, active_code=None, robot_id=None, room_id=None, valid_period=None, expire_time=None, create_time=None, update_time=None): + """ActiveCodeInfo + + The model defined in huaweicloud sdk + + :param active_code_id: 激活码ID。 + :type active_code_id: str + :param active_code: 激活码。 + :type active_code: str + :param robot_id: 应用ID。 + :type robot_id: str + :param room_id: 智能交互对话ID。 + :type room_id: str + :param valid_period: 有效天数(0表示长期有效)。 + :type valid_period: int + :param expire_time: 过期时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + :type expire_time: str + :param create_time: 创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + :type create_time: str + :param update_time: 更新时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + :type update_time: str + """ + + + + self._active_code_id = None + self._active_code = None + self._robot_id = None + self._room_id = None + self._valid_period = None + self._expire_time = None + self._create_time = None + self._update_time = None + self.discriminator = None + + if active_code_id is not None: + self.active_code_id = active_code_id + if active_code is not None: + self.active_code = active_code + if robot_id is not None: + self.robot_id = robot_id + if room_id is not None: + self.room_id = room_id + if valid_period is not None: + self.valid_period = valid_period + if expire_time is not None: + self.expire_time = expire_time + if create_time is not None: + self.create_time = create_time + if update_time is not None: + self.update_time = update_time + + @property + def active_code_id(self): + """Gets the active_code_id of this ActiveCodeInfo. + + 激活码ID。 + + :return: The active_code_id of this ActiveCodeInfo. + :rtype: str + """ + return self._active_code_id + + @active_code_id.setter + def active_code_id(self, active_code_id): + """Sets the active_code_id of this ActiveCodeInfo. + + 激活码ID。 + + :param active_code_id: The active_code_id of this ActiveCodeInfo. + :type active_code_id: str + """ + self._active_code_id = active_code_id + + @property + def active_code(self): + """Gets the active_code of this ActiveCodeInfo. + + 激活码。 + + :return: The active_code of this ActiveCodeInfo. + :rtype: str + """ + return self._active_code + + @active_code.setter + def active_code(self, active_code): + """Sets the active_code of this ActiveCodeInfo. + + 激活码。 + + :param active_code: The active_code of this ActiveCodeInfo. + :type active_code: str + """ + self._active_code = active_code + + @property + def robot_id(self): + """Gets the robot_id of this ActiveCodeInfo. + + 应用ID。 + + :return: The robot_id of this ActiveCodeInfo. + :rtype: str + """ + return self._robot_id + + @robot_id.setter + def robot_id(self, robot_id): + """Sets the robot_id of this ActiveCodeInfo. + + 应用ID。 + + :param robot_id: The robot_id of this ActiveCodeInfo. + :type robot_id: str + """ + self._robot_id = robot_id + + @property + def room_id(self): + """Gets the room_id of this ActiveCodeInfo. + + 智能交互对话ID。 + + :return: The room_id of this ActiveCodeInfo. + :rtype: str + """ + return self._room_id + + @room_id.setter + def room_id(self, room_id): + """Sets the room_id of this ActiveCodeInfo. + + 智能交互对话ID。 + + :param room_id: The room_id of this ActiveCodeInfo. + :type room_id: str + """ + self._room_id = room_id + + @property + def valid_period(self): + """Gets the valid_period of this ActiveCodeInfo. + + 有效天数(0表示长期有效)。 + + :return: The valid_period of this ActiveCodeInfo. + :rtype: int + """ + return self._valid_period + + @valid_period.setter + def valid_period(self, valid_period): + """Sets the valid_period of this ActiveCodeInfo. + + 有效天数(0表示长期有效)。 + + :param valid_period: The valid_period of this ActiveCodeInfo. + :type valid_period: int + """ + self._valid_period = valid_period + + @property + def expire_time(self): + """Gets the expire_time of this ActiveCodeInfo. + + 过期时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + + :return: The expire_time of this ActiveCodeInfo. + :rtype: str + """ + return self._expire_time + + @expire_time.setter + def expire_time(self, expire_time): + """Sets the expire_time of this ActiveCodeInfo. + + 过期时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + + :param expire_time: The expire_time of this ActiveCodeInfo. + :type expire_time: str + """ + self._expire_time = expire_time + + @property + def create_time(self): + """Gets the create_time of this ActiveCodeInfo. + + 创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + + :return: The create_time of this ActiveCodeInfo. + :rtype: str + """ + return self._create_time + + @create_time.setter + def create_time(self, create_time): + """Sets the create_time of this ActiveCodeInfo. + + 创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + + :param create_time: The create_time of this ActiveCodeInfo. + :type create_time: str + """ + self._create_time = create_time + + @property + def update_time(self): + """Gets the update_time of this ActiveCodeInfo. + + 更新时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + + :return: The update_time of this ActiveCodeInfo. + :rtype: str + """ + return self._update_time + + @update_time.setter + def update_time(self, update_time): + """Sets the update_time of this ActiveCodeInfo. + + 更新时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + + :param update_time: The update_time of this ActiveCodeInfo. + :type update_time: str + """ + self._update_time = update_time + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ActiveCodeInfo): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/chat_video_config_rsp.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/chat_video_config_rsp.py index 3a3161ecb7..ec57a05794 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/chat_video_config_rsp.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/chat_video_config_rsp.py @@ -31,9 +31,9 @@ def __init__(self, width=None, height=None): The model defined in huaweicloud sdk - :param width: 视频宽度。 单位:像素。 最小值320,最大值2560。 > * clip_mode=RESIZE时,当前支持1920x1080、1080x1920、1280x720、720x1280、3840x2160、2160x3840六种分辨率。4K分辨率视频需要分身数字人模型支持4K的情况下才能使用。 > * clip_mode=CROP,裁剪后视频,(dx,dy)为原点,保留视频像宽度为width。 > * 分身数字人直播目前只支持1080x1920。 + :param width: 视频宽度。 单位:像素。 最小值320,最大值2560。 > * clip_mode=RESIZE时,当前支持1920x1080、1080x1920、1280x720、720x1280四种分辨率。 :type width: int - :param height: 视频高度。 单位:像素。 最小值320,最大值2560。 > * clip_mode=RESIZE时,当前支持1920x1080、1080x1920、1280x720、720x1280、3840x2160、2160x3840六种分辨率分辨率。 > * clip_mode=CROP,裁剪后视频,(dx,dy)为原点,保留视频像高度为height。 > * 分身数字人直播目前只支持1080x1920。 + :param height: 视频高度。 单位:像素。 最小值320,最大值2560。 > * clip_mode=RESIZE时,当前支持1920x1080、1080x1920、1280x720、720x1280四种分辨率。 :type height: int """ @@ -52,7 +52,7 @@ def __init__(self, width=None, height=None): def width(self): """Gets the width of this ChatVideoConfigRsp. - 视频宽度。 单位:像素。 最小值320,最大值2560。 > * clip_mode=RESIZE时,当前支持1920x1080、1080x1920、1280x720、720x1280、3840x2160、2160x3840六种分辨率。4K分辨率视频需要分身数字人模型支持4K的情况下才能使用。 > * clip_mode=CROP,裁剪后视频,(dx,dy)为原点,保留视频像宽度为width。 > * 分身数字人直播目前只支持1080x1920。 + 视频宽度。 单位:像素。 最小值320,最大值2560。 > * clip_mode=RESIZE时,当前支持1920x1080、1080x1920、1280x720、720x1280四种分辨率。 :return: The width of this ChatVideoConfigRsp. :rtype: int @@ -63,7 +63,7 @@ def width(self): def width(self, width): """Sets the width of this ChatVideoConfigRsp. - 视频宽度。 单位:像素。 最小值320,最大值2560。 > * clip_mode=RESIZE时,当前支持1920x1080、1080x1920、1280x720、720x1280、3840x2160、2160x3840六种分辨率。4K分辨率视频需要分身数字人模型支持4K的情况下才能使用。 > * clip_mode=CROP,裁剪后视频,(dx,dy)为原点,保留视频像宽度为width。 > * 分身数字人直播目前只支持1080x1920。 + 视频宽度。 单位:像素。 最小值320,最大值2560。 > * clip_mode=RESIZE时,当前支持1920x1080、1080x1920、1280x720、720x1280四种分辨率。 :param width: The width of this ChatVideoConfigRsp. :type width: int @@ -74,7 +74,7 @@ def width(self, width): def height(self): """Gets the height of this ChatVideoConfigRsp. - 视频高度。 单位:像素。 最小值320,最大值2560。 > * clip_mode=RESIZE时,当前支持1920x1080、1080x1920、1280x720、720x1280、3840x2160、2160x3840六种分辨率分辨率。 > * clip_mode=CROP,裁剪后视频,(dx,dy)为原点,保留视频像高度为height。 > * 分身数字人直播目前只支持1080x1920。 + 视频高度。 单位:像素。 最小值320,最大值2560。 > * clip_mode=RESIZE时,当前支持1920x1080、1080x1920、1280x720、720x1280四种分辨率。 :return: The height of this ChatVideoConfigRsp. :rtype: int @@ -85,7 +85,7 @@ def height(self): def height(self, height): """Sets the height of this ChatVideoConfigRsp. - 视频高度。 单位:像素。 最小值320,最大值2560。 > * clip_mode=RESIZE时,当前支持1920x1080、1080x1920、1280x720、720x1280、3840x2160、2160x3840六种分辨率分辨率。 > * clip_mode=CROP,裁剪后视频,(dx,dy)为原点,保留视频像高度为height。 > * 分身数字人直播目前只支持1080x1920。 + 视频高度。 单位:像素。 最小值320,最大值2560。 > * clip_mode=RESIZE时,当前支持1920x1080、1080x1920、1280x720、720x1280四种分辨率。 :param height: The height of this ChatVideoConfigRsp. :type height: int diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/co_streamer_config.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/co_streamer_config.py new file mode 100644 index 0000000000..d6b73f3669 --- /dev/null +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/co_streamer_config.py @@ -0,0 +1,140 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class CoStreamerConfig: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'voice_config': 'VoiceConfig', + 'streamer_action': 'str' + } + + attribute_map = { + 'voice_config': 'voice_config', + 'streamer_action': 'streamer_action' + } + + def __init__(self, voice_config=None, streamer_action=None): + """CoStreamerConfig + + The model defined in huaweicloud sdk + + :param voice_config: + :type voice_config: :class:`huaweicloudsdkmetastudio.v1.VoiceConfig` + :param streamer_action: 助播出声时主播行为。 * SILENCE:静默 * VOLUME_DOWN:音量降低 + :type streamer_action: str + """ + + + + self._voice_config = None + self._streamer_action = None + self.discriminator = None + + if voice_config is not None: + self.voice_config = voice_config + if streamer_action is not None: + self.streamer_action = streamer_action + + @property + def voice_config(self): + """Gets the voice_config of this CoStreamerConfig. + + :return: The voice_config of this CoStreamerConfig. + :rtype: :class:`huaweicloudsdkmetastudio.v1.VoiceConfig` + """ + return self._voice_config + + @voice_config.setter + def voice_config(self, voice_config): + """Sets the voice_config of this CoStreamerConfig. + + :param voice_config: The voice_config of this CoStreamerConfig. + :type voice_config: :class:`huaweicloudsdkmetastudio.v1.VoiceConfig` + """ + self._voice_config = voice_config + + @property + def streamer_action(self): + """Gets the streamer_action of this CoStreamerConfig. + + 助播出声时主播行为。 * SILENCE:静默 * VOLUME_DOWN:音量降低 + + :return: The streamer_action of this CoStreamerConfig. + :rtype: str + """ + return self._streamer_action + + @streamer_action.setter + def streamer_action(self, streamer_action): + """Sets the streamer_action of this CoStreamerConfig. + + 助播出声时主播行为。 * SILENCE:静默 * VOLUME_DOWN:音量降低 + + :param streamer_action: The streamer_action of this CoStreamerConfig. + :type streamer_action: str + """ + self._streamer_action = streamer_action + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoStreamerConfig): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/control_smart_live_req.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/control_smart_live_req.py index 69c3aef2ee..e96b81066d 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/control_smart_live_req.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/control_smart_live_req.py @@ -33,7 +33,7 @@ def __init__(self, command=None, params=None, review_config=None): The model defined in huaweicloud sdk - :param command: 命令名称。 - INSERT_PLAY_SCRIPT: 插入表演脚本。用于互动回复。数字人不变,背景不变。params结构定义:PlayTextInfo - REWRITE_PLAY_SCRIPT: 动态编辑未播放剧本。params结构定义:scene_scripts - INSERT_PLAY_AUDIO:插入驱动音频。用于音频直接驱动。数字人不变,背景不变。params结构定义:PlayAudioInfo - GET_CURRENT_PLAYING_SCRIPTS: 查询本轮剧本列表。响应为LivePlayingScriptList结构 - SHOW_LAYER:显示导播素材,用于直播导播。params结构定义:LiveGuideRuleInfo + :param command: 命令名称。 - INSERT_PLAY_SCRIPT: 插入表演脚本。用于互动回复。数字人不变,背景不变。params结构定义:PlayTextInfo - REWRITE_PLAY_SCRIPT: 动态编辑未播放剧本。params结构定义:scene_scripts - INSERT_PLAY_AUDIO:插入驱动音频。用于音频直接驱动。数字人不变,背景不变。params结构定义:PlayAudioInfo - REWRITE_INTERACTION_RULES: 动态修改互动规则。params结构定义:interaction_rules - GET_CURRENT_PLAYING_SCRIPTS: 查询本轮剧本列表。响应为LivePlayingScriptList结构 - SHOW_LAYER:显示导播素材,用于直播导播。params结构定义:LiveGuideRuleInfo - GET_LIVE_JOB_CONFIG_INFO:获取任务中的房间信息。params结构定义:SmartLiveRoomInfo :type command: str :param params: 命令参数。 :type params: object @@ -58,7 +58,7 @@ def __init__(self, command=None, params=None, review_config=None): def command(self): """Gets the command of this ControlSmartLiveReq. - 命令名称。 - INSERT_PLAY_SCRIPT: 插入表演脚本。用于互动回复。数字人不变,背景不变。params结构定义:PlayTextInfo - REWRITE_PLAY_SCRIPT: 动态编辑未播放剧本。params结构定义:scene_scripts - INSERT_PLAY_AUDIO:插入驱动音频。用于音频直接驱动。数字人不变,背景不变。params结构定义:PlayAudioInfo - GET_CURRENT_PLAYING_SCRIPTS: 查询本轮剧本列表。响应为LivePlayingScriptList结构 - SHOW_LAYER:显示导播素材,用于直播导播。params结构定义:LiveGuideRuleInfo + 命令名称。 - INSERT_PLAY_SCRIPT: 插入表演脚本。用于互动回复。数字人不变,背景不变。params结构定义:PlayTextInfo - REWRITE_PLAY_SCRIPT: 动态编辑未播放剧本。params结构定义:scene_scripts - INSERT_PLAY_AUDIO:插入驱动音频。用于音频直接驱动。数字人不变,背景不变。params结构定义:PlayAudioInfo - REWRITE_INTERACTION_RULES: 动态修改互动规则。params结构定义:interaction_rules - GET_CURRENT_PLAYING_SCRIPTS: 查询本轮剧本列表。响应为LivePlayingScriptList结构 - SHOW_LAYER:显示导播素材,用于直播导播。params结构定义:LiveGuideRuleInfo - GET_LIVE_JOB_CONFIG_INFO:获取任务中的房间信息。params结构定义:SmartLiveRoomInfo :return: The command of this ControlSmartLiveReq. :rtype: str @@ -69,7 +69,7 @@ def command(self): def command(self, command): """Sets the command of this ControlSmartLiveReq. - 命令名称。 - INSERT_PLAY_SCRIPT: 插入表演脚本。用于互动回复。数字人不变,背景不变。params结构定义:PlayTextInfo - REWRITE_PLAY_SCRIPT: 动态编辑未播放剧本。params结构定义:scene_scripts - INSERT_PLAY_AUDIO:插入驱动音频。用于音频直接驱动。数字人不变,背景不变。params结构定义:PlayAudioInfo - GET_CURRENT_PLAYING_SCRIPTS: 查询本轮剧本列表。响应为LivePlayingScriptList结构 - SHOW_LAYER:显示导播素材,用于直播导播。params结构定义:LiveGuideRuleInfo + 命令名称。 - INSERT_PLAY_SCRIPT: 插入表演脚本。用于互动回复。数字人不变,背景不变。params结构定义:PlayTextInfo - REWRITE_PLAY_SCRIPT: 动态编辑未播放剧本。params结构定义:scene_scripts - INSERT_PLAY_AUDIO:插入驱动音频。用于音频直接驱动。数字人不变,背景不变。params结构定义:PlayAudioInfo - REWRITE_INTERACTION_RULES: 动态修改互动规则。params结构定义:interaction_rules - GET_CURRENT_PLAYING_SCRIPTS: 查询本轮剧本列表。响应为LivePlayingScriptList结构 - SHOW_LAYER:显示导播素材,用于直播导播。params结构定义:LiveGuideRuleInfo - GET_LIVE_JOB_CONFIG_INFO:获取任务中的房间信息。params结构定义:SmartLiveRoomInfo :param command: The command of this ControlSmartLiveReq. :type command: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_active_code_req.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_active_code_req.py new file mode 100644 index 0000000000..7ad3702c9f --- /dev/null +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_active_code_req.py @@ -0,0 +1,170 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class CreateActiveCodeReq: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'robot_id': 'str', + 'room_id': 'str', + 'valid_period': 'int' + } + + attribute_map = { + 'robot_id': 'robot_id', + 'room_id': 'room_id', + 'valid_period': 'valid_period' + } + + def __init__(self, robot_id=None, room_id=None, valid_period=None): + """CreateActiveCodeReq + + The model defined in huaweicloud sdk + + :param robot_id: 应用ID。 + :type robot_id: str + :param room_id: 智能交互对话ID。 + :type room_id: str + :param valid_period: 有效天数(0表示长期有效)。 + :type valid_period: int + """ + + + + self._robot_id = None + self._room_id = None + self._valid_period = None + self.discriminator = None + + self.robot_id = robot_id + self.room_id = room_id + self.valid_period = valid_period + + @property + def robot_id(self): + """Gets the robot_id of this CreateActiveCodeReq. + + 应用ID。 + + :return: The robot_id of this CreateActiveCodeReq. + :rtype: str + """ + return self._robot_id + + @robot_id.setter + def robot_id(self, robot_id): + """Sets the robot_id of this CreateActiveCodeReq. + + 应用ID。 + + :param robot_id: The robot_id of this CreateActiveCodeReq. + :type robot_id: str + """ + self._robot_id = robot_id + + @property + def room_id(self): + """Gets the room_id of this CreateActiveCodeReq. + + 智能交互对话ID。 + + :return: The room_id of this CreateActiveCodeReq. + :rtype: str + """ + return self._room_id + + @room_id.setter + def room_id(self, room_id): + """Sets the room_id of this CreateActiveCodeReq. + + 智能交互对话ID。 + + :param room_id: The room_id of this CreateActiveCodeReq. + :type room_id: str + """ + self._room_id = room_id + + @property + def valid_period(self): + """Gets the valid_period of this CreateActiveCodeReq. + + 有效天数(0表示长期有效)。 + + :return: The valid_period of this CreateActiveCodeReq. + :rtype: int + """ + return self._valid_period + + @valid_period.setter + def valid_period(self, valid_period): + """Sets the valid_period of this CreateActiveCodeReq. + + 有效天数(0表示长期有效)。 + + :param valid_period: The valid_period of this CreateActiveCodeReq. + :type valid_period: int + """ + self._valid_period = valid_period + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CreateActiveCodeReq): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/delete_account_assignment_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_active_code_request.py similarity index 60% rename from huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/delete_account_assignment_request.py rename to huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_active_code_request.py index 9b00c6b50e..a4b9a6b529 100644 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/delete_account_assignment_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_active_code_request.py @@ -5,7 +5,7 @@ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class DeleteAccountAssignmentRequest: +class CreateActiveCodeRequest: """ Attributes: @@ -17,69 +17,74 @@ class DeleteAccountAssignmentRequest: sensitive_list = [] openapi_types = { - 'instance_id': 'str', - 'body': 'DeleteAccountAssignmentReqBody' + 'x_app_user_id': 'str', + 'body': 'CreateActiveCodeReq' } attribute_map = { - 'instance_id': 'instance_id', + 'x_app_user_id': 'X-App-UserId', 'body': 'body' } - def __init__(self, instance_id=None, body=None): - """DeleteAccountAssignmentRequest + def __init__(self, x_app_user_id=None, body=None): + """CreateActiveCodeRequest The model defined in huaweicloud sdk - :param instance_id: - :type instance_id: str - :param body: Body of the DeleteAccountAssignmentRequest - :type body: :class:`huaweicloudsdkidentitycenter.v1.DeleteAccountAssignmentReqBody` + :param x_app_user_id: 开发者应用作为资产权属的可选字段。 + :type x_app_user_id: str + :param body: Body of the CreateActiveCodeRequest + :type body: :class:`huaweicloudsdkmetastudio.v1.CreateActiveCodeReq` """ - self._instance_id = None + self._x_app_user_id = None self._body = None self.discriminator = None - self.instance_id = instance_id + if x_app_user_id is not None: + self.x_app_user_id = x_app_user_id if body is not None: self.body = body @property - def instance_id(self): - """Gets the instance_id of this DeleteAccountAssignmentRequest. + def x_app_user_id(self): + """Gets the x_app_user_id of this CreateActiveCodeRequest. - :return: The instance_id of this DeleteAccountAssignmentRequest. + 开发者应用作为资产权属的可选字段。 + + :return: The x_app_user_id of this CreateActiveCodeRequest. :rtype: str """ - return self._instance_id + return self._x_app_user_id + + @x_app_user_id.setter + def x_app_user_id(self, x_app_user_id): + """Sets the x_app_user_id of this CreateActiveCodeRequest. - @instance_id.setter - def instance_id(self, instance_id): - """Sets the instance_id of this DeleteAccountAssignmentRequest. + 开发者应用作为资产权属的可选字段。 - :param instance_id: The instance_id of this DeleteAccountAssignmentRequest. - :type instance_id: str + :param x_app_user_id: The x_app_user_id of this CreateActiveCodeRequest. + :type x_app_user_id: str """ - self._instance_id = instance_id + self._x_app_user_id = x_app_user_id @property def body(self): - """Gets the body of this DeleteAccountAssignmentRequest. + """Gets the body of this CreateActiveCodeRequest. - :return: The body of this DeleteAccountAssignmentRequest. - :rtype: :class:`huaweicloudsdkidentitycenter.v1.DeleteAccountAssignmentReqBody` + :return: The body of this CreateActiveCodeRequest. + :rtype: :class:`huaweicloudsdkmetastudio.v1.CreateActiveCodeReq` """ return self._body @body.setter def body(self, body): - """Sets the body of this DeleteAccountAssignmentRequest. + """Sets the body of this CreateActiveCodeRequest. - :param body: The body of this DeleteAccountAssignmentRequest. - :type body: :class:`huaweicloudsdkidentitycenter.v1.DeleteAccountAssignmentReqBody` + :param body: The body of this CreateActiveCodeRequest. + :type body: :class:`huaweicloudsdkmetastudio.v1.CreateActiveCodeReq` """ self._body = body @@ -125,7 +130,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, DeleteAccountAssignmentRequest): + if not isinstance(other, CreateActiveCodeRequest): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_active_code_response.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_active_code_response.py new file mode 100644 index 0000000000..b41c398c22 --- /dev/null +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_active_code_response.py @@ -0,0 +1,344 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_response import SdkResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class CreateActiveCodeResponse(SdkResponse): + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'active_code_id': 'str', + 'active_code': 'str', + 'robot_id': 'str', + 'room_id': 'str', + 'valid_period': 'int', + 'expire_time': 'str', + 'create_time': 'str', + 'update_time': 'str', + 'x_request_id': 'str' + } + + attribute_map = { + 'active_code_id': 'active_code_id', + 'active_code': 'active_code', + 'robot_id': 'robot_id', + 'room_id': 'room_id', + 'valid_period': 'valid_period', + 'expire_time': 'expire_time', + 'create_time': 'create_time', + 'update_time': 'update_time', + 'x_request_id': 'X-Request-Id' + } + + def __init__(self, active_code_id=None, active_code=None, robot_id=None, room_id=None, valid_period=None, expire_time=None, create_time=None, update_time=None, x_request_id=None): + """CreateActiveCodeResponse + + The model defined in huaweicloud sdk + + :param active_code_id: 激活码ID。 + :type active_code_id: str + :param active_code: 激活码。 + :type active_code: str + :param robot_id: 应用ID。 + :type robot_id: str + :param room_id: 智能交互对话ID。 + :type room_id: str + :param valid_period: 有效天数(0表示长期有效)。 + :type valid_period: int + :param expire_time: 过期时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + :type expire_time: str + :param create_time: 创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + :type create_time: str + :param update_time: 更新时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + :type update_time: str + :param x_request_id: + :type x_request_id: str + """ + + super(CreateActiveCodeResponse, self).__init__() + + self._active_code_id = None + self._active_code = None + self._robot_id = None + self._room_id = None + self._valid_period = None + self._expire_time = None + self._create_time = None + self._update_time = None + self._x_request_id = None + self.discriminator = None + + if active_code_id is not None: + self.active_code_id = active_code_id + if active_code is not None: + self.active_code = active_code + if robot_id is not None: + self.robot_id = robot_id + if room_id is not None: + self.room_id = room_id + if valid_period is not None: + self.valid_period = valid_period + if expire_time is not None: + self.expire_time = expire_time + if create_time is not None: + self.create_time = create_time + if update_time is not None: + self.update_time = update_time + if x_request_id is not None: + self.x_request_id = x_request_id + + @property + def active_code_id(self): + """Gets the active_code_id of this CreateActiveCodeResponse. + + 激活码ID。 + + :return: The active_code_id of this CreateActiveCodeResponse. + :rtype: str + """ + return self._active_code_id + + @active_code_id.setter + def active_code_id(self, active_code_id): + """Sets the active_code_id of this CreateActiveCodeResponse. + + 激活码ID。 + + :param active_code_id: The active_code_id of this CreateActiveCodeResponse. + :type active_code_id: str + """ + self._active_code_id = active_code_id + + @property + def active_code(self): + """Gets the active_code of this CreateActiveCodeResponse. + + 激活码。 + + :return: The active_code of this CreateActiveCodeResponse. + :rtype: str + """ + return self._active_code + + @active_code.setter + def active_code(self, active_code): + """Sets the active_code of this CreateActiveCodeResponse. + + 激活码。 + + :param active_code: The active_code of this CreateActiveCodeResponse. + :type active_code: str + """ + self._active_code = active_code + + @property + def robot_id(self): + """Gets the robot_id of this CreateActiveCodeResponse. + + 应用ID。 + + :return: The robot_id of this CreateActiveCodeResponse. + :rtype: str + """ + return self._robot_id + + @robot_id.setter + def robot_id(self, robot_id): + """Sets the robot_id of this CreateActiveCodeResponse. + + 应用ID。 + + :param robot_id: The robot_id of this CreateActiveCodeResponse. + :type robot_id: str + """ + self._robot_id = robot_id + + @property + def room_id(self): + """Gets the room_id of this CreateActiveCodeResponse. + + 智能交互对话ID。 + + :return: The room_id of this CreateActiveCodeResponse. + :rtype: str + """ + return self._room_id + + @room_id.setter + def room_id(self, room_id): + """Sets the room_id of this CreateActiveCodeResponse. + + 智能交互对话ID。 + + :param room_id: The room_id of this CreateActiveCodeResponse. + :type room_id: str + """ + self._room_id = room_id + + @property + def valid_period(self): + """Gets the valid_period of this CreateActiveCodeResponse. + + 有效天数(0表示长期有效)。 + + :return: The valid_period of this CreateActiveCodeResponse. + :rtype: int + """ + return self._valid_period + + @valid_period.setter + def valid_period(self, valid_period): + """Sets the valid_period of this CreateActiveCodeResponse. + + 有效天数(0表示长期有效)。 + + :param valid_period: The valid_period of this CreateActiveCodeResponse. + :type valid_period: int + """ + self._valid_period = valid_period + + @property + def expire_time(self): + """Gets the expire_time of this CreateActiveCodeResponse. + + 过期时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + + :return: The expire_time of this CreateActiveCodeResponse. + :rtype: str + """ + return self._expire_time + + @expire_time.setter + def expire_time(self, expire_time): + """Sets the expire_time of this CreateActiveCodeResponse. + + 过期时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + + :param expire_time: The expire_time of this CreateActiveCodeResponse. + :type expire_time: str + """ + self._expire_time = expire_time + + @property + def create_time(self): + """Gets the create_time of this CreateActiveCodeResponse. + + 创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + + :return: The create_time of this CreateActiveCodeResponse. + :rtype: str + """ + return self._create_time + + @create_time.setter + def create_time(self, create_time): + """Sets the create_time of this CreateActiveCodeResponse. + + 创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + + :param create_time: The create_time of this CreateActiveCodeResponse. + :type create_time: str + """ + self._create_time = create_time + + @property + def update_time(self): + """Gets the update_time of this CreateActiveCodeResponse. + + 更新时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + + :return: The update_time of this CreateActiveCodeResponse. + :rtype: str + """ + return self._update_time + + @update_time.setter + def update_time(self, update_time): + """Sets the update_time of this CreateActiveCodeResponse. + + 更新时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + + :param update_time: The update_time of this CreateActiveCodeResponse. + :type update_time: str + """ + self._update_time = update_time + + @property + def x_request_id(self): + """Gets the x_request_id of this CreateActiveCodeResponse. + + :return: The x_request_id of this CreateActiveCodeResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this CreateActiveCodeResponse. + + :param x_request_id: The x_request_id of this CreateActiveCodeResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CreateActiveCodeResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/create_account_assignment_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_assetby_replication_info_request.py similarity index 58% rename from huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/create_account_assignment_request.py rename to huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_assetby_replication_info_request.py index 6004b61f59..d8d5ab0a9b 100644 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/create_account_assignment_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_assetby_replication_info_request.py @@ -5,7 +5,7 @@ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class CreateAccountAssignmentRequest: +class CreateAssetbyReplicationInfoRequest: """ Attributes: @@ -17,69 +17,74 @@ class CreateAccountAssignmentRequest: sensitive_list = [] openapi_types = { - 'instance_id': 'str', - 'body': 'CreateAccountAssignmentReqBody' + 'x_app_user_id': 'str', + 'body': 'ReplicationAssetInfo' } attribute_map = { - 'instance_id': 'instance_id', + 'x_app_user_id': 'X-App-UserId', 'body': 'body' } - def __init__(self, instance_id=None, body=None): - """CreateAccountAssignmentRequest + def __init__(self, x_app_user_id=None, body=None): + """CreateAssetbyReplicationInfoRequest The model defined in huaweicloud sdk - :param instance_id: - :type instance_id: str - :param body: Body of the CreateAccountAssignmentRequest - :type body: :class:`huaweicloudsdkidentitycenter.v1.CreateAccountAssignmentReqBody` + :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :type x_app_user_id: str + :param body: Body of the CreateAssetbyReplicationInfoRequest + :type body: :class:`huaweicloudsdkmetastudio.v1.ReplicationAssetInfo` """ - self._instance_id = None + self._x_app_user_id = None self._body = None self.discriminator = None - self.instance_id = instance_id + if x_app_user_id is not None: + self.x_app_user_id = x_app_user_id if body is not None: self.body = body @property - def instance_id(self): - """Gets the instance_id of this CreateAccountAssignmentRequest. + def x_app_user_id(self): + """Gets the x_app_user_id of this CreateAssetbyReplicationInfoRequest. - :return: The instance_id of this CreateAccountAssignmentRequest. + 第三方用户ID。 > * 不允许输入中文。 + + :return: The x_app_user_id of this CreateAssetbyReplicationInfoRequest. :rtype: str """ - return self._instance_id + return self._x_app_user_id + + @x_app_user_id.setter + def x_app_user_id(self, x_app_user_id): + """Sets the x_app_user_id of this CreateAssetbyReplicationInfoRequest. - @instance_id.setter - def instance_id(self, instance_id): - """Sets the instance_id of this CreateAccountAssignmentRequest. + 第三方用户ID。 > * 不允许输入中文。 - :param instance_id: The instance_id of this CreateAccountAssignmentRequest. - :type instance_id: str + :param x_app_user_id: The x_app_user_id of this CreateAssetbyReplicationInfoRequest. + :type x_app_user_id: str """ - self._instance_id = instance_id + self._x_app_user_id = x_app_user_id @property def body(self): - """Gets the body of this CreateAccountAssignmentRequest. + """Gets the body of this CreateAssetbyReplicationInfoRequest. - :return: The body of this CreateAccountAssignmentRequest. - :rtype: :class:`huaweicloudsdkidentitycenter.v1.CreateAccountAssignmentReqBody` + :return: The body of this CreateAssetbyReplicationInfoRequest. + :rtype: :class:`huaweicloudsdkmetastudio.v1.ReplicationAssetInfo` """ return self._body @body.setter def body(self, body): - """Sets the body of this CreateAccountAssignmentRequest. + """Sets the body of this CreateAssetbyReplicationInfoRequest. - :param body: The body of this CreateAccountAssignmentRequest. - :type body: :class:`huaweicloudsdkidentitycenter.v1.CreateAccountAssignmentReqBody` + :param body: The body of this CreateAssetbyReplicationInfoRequest. + :type body: :class:`huaweicloudsdkmetastudio.v1.ReplicationAssetInfo` """ self._body = body @@ -125,7 +130,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, CreateAccountAssignmentRequest): + if not isinstance(other, CreateAssetbyReplicationInfoRequest): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/delete_permission_set_response.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_assetby_replication_info_response.py similarity index 66% rename from huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/delete_permission_set_response.py rename to huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_assetby_replication_info_response.py index 422c8f41bf..f0f7032bf5 100644 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/delete_permission_set_response.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_assetby_replication_info_response.py @@ -6,7 +6,7 @@ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class DeletePermissionSetResponse(SdkResponse): +class CreateAssetbyReplicationInfoResponse(SdkResponse): """ Attributes: @@ -18,21 +18,48 @@ class DeletePermissionSetResponse(SdkResponse): sensitive_list = [] openapi_types = { + 'x_request_id': 'str' } attribute_map = { + 'x_request_id': 'X-Request-Id' } - def __init__(self): - """DeletePermissionSetResponse + def __init__(self, x_request_id=None): + """CreateAssetbyReplicationInfoResponse The model defined in huaweicloud sdk + :param x_request_id: + :type x_request_id: str """ - super(DeletePermissionSetResponse, self).__init__() + super(CreateAssetbyReplicationInfoResponse, self).__init__() + + self._x_request_id = None self.discriminator = None + if x_request_id is not None: + self.x_request_id = x_request_id + + @property + def x_request_id(self): + """Gets the x_request_id of this CreateAssetbyReplicationInfoResponse. + + :return: The x_request_id of this CreateAssetbyReplicationInfoResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this CreateAssetbyReplicationInfoResponse. + + :param x_request_id: The x_request_id of this CreateAssetbyReplicationInfoResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} @@ -75,7 +102,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, DeletePermissionSetResponse): + if not isinstance(other, CreateAssetbyReplicationInfoResponse): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_dialog_url_req.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_dialog_url_req.py index 1762b8f67a..83c6a605bb 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_dialog_url_req.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_dialog_url_req.py @@ -31,9 +31,9 @@ def __init__(self, room_id=None, robot_id=None): The model defined in huaweicloud sdk - :param room_id: 直播间ID。 + :param room_id: 智能交互对话ID。 :type room_id: str - :param robot_id: 机器人ID。 + :param robot_id: 应用ID。 :type robot_id: str """ @@ -50,7 +50,7 @@ def __init__(self, room_id=None, robot_id=None): def room_id(self): """Gets the room_id of this CreateDialogUrlReq. - 直播间ID。 + 智能交互对话ID。 :return: The room_id of this CreateDialogUrlReq. :rtype: str @@ -61,7 +61,7 @@ def room_id(self): def room_id(self, room_id): """Sets the room_id of this CreateDialogUrlReq. - 直播间ID。 + 智能交互对话ID。 :param room_id: The room_id of this CreateDialogUrlReq. :type room_id: str @@ -72,7 +72,7 @@ def room_id(self, room_id): def robot_id(self): """Gets the robot_id of this CreateDialogUrlReq. - 机器人ID。 + 应用ID。 :return: The robot_id of this CreateDialogUrlReq. :rtype: str @@ -83,7 +83,7 @@ def robot_id(self): def robot_id(self, robot_id): """Sets the robot_id of this CreateDialogUrlReq. - 机器人ID。 + 应用ID。 :param robot_id: The robot_id of this CreateDialogUrlReq. :type robot_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_smart_chat_room_req.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_smart_chat_room_req.py index 0bf772d3b3..2748e2ad35 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_smart_chat_room_req.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_smart_chat_room_req.py @@ -49,9 +49,9 @@ def __init__(self, room_name=None, room_description=None, video_config=None, mod The model defined in huaweicloud sdk - :param room_name: 直播间名称 + :param room_name: 对话名称 :type room_name: str - :param room_description: 直播间描述。 + :param room_description: 对话描述。 :type room_description: str :param video_config: :type video_config: :class:`huaweicloudsdkmetastudio.v1.VideoConfig` @@ -59,7 +59,7 @@ def __init__(self, room_name=None, room_description=None, video_config=None, mod :type model_asset_id: str :param voice_config: :type voice_config: :class:`huaweicloudsdkmetastudio.v1.VoiceConfig` - :param robot_id: 机器人ID。 + :param robot_id: 机器人ID。获取方法请参考[创建应用](CreateRobot.xml)。 :type robot_id: str :param concurrency: 并发路数。 :type concurrency: int @@ -113,7 +113,7 @@ def __init__(self, room_name=None, room_description=None, video_config=None, mod def room_name(self): """Gets the room_name of this CreateSmartChatRoomReq. - 直播间名称 + 对话名称 :return: The room_name of this CreateSmartChatRoomReq. :rtype: str @@ -124,7 +124,7 @@ def room_name(self): def room_name(self, room_name): """Sets the room_name of this CreateSmartChatRoomReq. - 直播间名称 + 对话名称 :param room_name: The room_name of this CreateSmartChatRoomReq. :type room_name: str @@ -135,7 +135,7 @@ def room_name(self, room_name): def room_description(self): """Gets the room_description of this CreateSmartChatRoomReq. - 直播间描述。 + 对话描述。 :return: The room_description of this CreateSmartChatRoomReq. :rtype: str @@ -146,7 +146,7 @@ def room_description(self): def room_description(self, room_description): """Sets the room_description of this CreateSmartChatRoomReq. - 直播间描述。 + 对话描述。 :param room_description: The room_description of this CreateSmartChatRoomReq. :type room_description: str @@ -215,7 +215,7 @@ def voice_config(self, voice_config): def robot_id(self): """Gets the robot_id of this CreateSmartChatRoomReq. - 机器人ID。 + 机器人ID。获取方法请参考[创建应用](CreateRobot.xml)。 :return: The robot_id of this CreateSmartChatRoomReq. :rtype: str @@ -226,7 +226,7 @@ def robot_id(self): def robot_id(self, robot_id): """Sets the robot_id of this CreateSmartChatRoomReq. - 机器人ID。 + 机器人ID。获取方法请参考[创建应用](CreateRobot.xml)。 :param robot_id: The robot_id of this CreateSmartChatRoomReq. :type robot_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_smart_chat_room_response.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_smart_chat_room_response.py index 08b218e055..56927ded9e 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_smart_chat_room_response.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_smart_chat_room_response.py @@ -32,7 +32,7 @@ def __init__(self, room_id=None, x_request_id=None): The model defined in huaweicloud sdk - :param room_id: 智能交互对话直播间ID + :param room_id: 智能交互对话ID :type room_id: str :param x_request_id: :type x_request_id: str @@ -53,7 +53,7 @@ def __init__(self, room_id=None, x_request_id=None): def room_id(self): """Gets the room_id of this CreateSmartChatRoomResponse. - 智能交互对话直播间ID + 智能交互对话ID :return: The room_id of this CreateSmartChatRoomResponse. :rtype: str @@ -64,7 +64,7 @@ def room_id(self): def room_id(self, room_id): """Sets the room_id of this CreateSmartChatRoomResponse. - 智能交互对话直播间ID + 智能交互对话ID :param room_id: The room_id of this CreateSmartChatRoomResponse. :type room_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_smart_live_room_req.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_smart_live_room_req.py index d9bb95c628..661ffb732e 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_smart_live_room_req.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_smart_live_room_req.py @@ -30,7 +30,8 @@ class CreateSmartLiveRoomReq: 'live_event_callback_config': 'LiveEventCallBackConfig', 'review_config': 'ReviewConfig', 'shared_config': 'SharedConfig', - 'view_mode': 'str' + 'view_mode': 'str', + 'co_streamer_config': 'CoStreamerConfig' } attribute_map = { @@ -47,10 +48,11 @@ class CreateSmartLiveRoomReq: 'live_event_callback_config': 'live_event_callback_config', 'review_config': 'review_config', 'shared_config': 'shared_config', - 'view_mode': 'view_mode' + 'view_mode': 'view_mode', + 'co_streamer_config': 'co_streamer_config' } - def __init__(self, room_name=None, room_description=None, room_type=None, scene_scripts=None, interaction_rules=None, play_policy=None, video_config=None, output_urls=None, stream_keys=None, backup_model_asset_ids=None, live_event_callback_config=None, review_config=None, shared_config=None, view_mode=None): + def __init__(self, room_name=None, room_description=None, room_type=None, scene_scripts=None, interaction_rules=None, play_policy=None, video_config=None, output_urls=None, stream_keys=None, backup_model_asset_ids=None, live_event_callback_config=None, review_config=None, shared_config=None, view_mode=None, co_streamer_config=None): """CreateSmartLiveRoomReq The model defined in huaweicloud sdk @@ -83,6 +85,8 @@ def __init__(self, room_name=None, room_description=None, room_type=None, scene_ :type shared_config: :class:`huaweicloudsdkmetastudio.v1.SharedConfig` :param view_mode: 横竖屏类型。默认值为:VERTICAL。 * LANDSCAPE:横屏。 * VERTICAL: 竖屏。 :type view_mode: str + :param co_streamer_config: + :type co_streamer_config: :class:`huaweicloudsdkmetastudio.v1.CoStreamerConfig` """ @@ -101,6 +105,7 @@ def __init__(self, room_name=None, room_description=None, room_type=None, scene_ self._review_config = None self._shared_config = None self._view_mode = None + self._co_streamer_config = None self.discriminator = None self.room_name = room_name @@ -130,6 +135,8 @@ def __init__(self, room_name=None, room_description=None, room_type=None, scene_ self.shared_config = shared_config if view_mode is not None: self.view_mode = view_mode + if co_streamer_config is not None: + self.co_streamer_config = co_streamer_config @property def room_name(self): @@ -419,6 +426,24 @@ def view_mode(self, view_mode): """ self._view_mode = view_mode + @property + def co_streamer_config(self): + """Gets the co_streamer_config of this CreateSmartLiveRoomReq. + + :return: The co_streamer_config of this CreateSmartLiveRoomReq. + :rtype: :class:`huaweicloudsdkmetastudio.v1.CoStreamerConfig` + """ + return self._co_streamer_config + + @co_streamer_config.setter + def co_streamer_config(self, co_streamer_config): + """Sets the co_streamer_config of this CreateSmartLiveRoomReq. + + :param co_streamer_config: The co_streamer_config of this CreateSmartLiveRoomReq. + :type co_streamer_config: :class:`huaweicloudsdkmetastudio.v1.CoStreamerConfig` + """ + self._co_streamer_config = co_streamer_config + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/create_permission_set_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/delete_active_code_request.py similarity index 62% rename from huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/create_permission_set_request.py rename to huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/delete_active_code_request.py index f281e9832a..b19db2675b 100644 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/create_permission_set_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/delete_active_code_request.py @@ -5,7 +5,7 @@ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class CreatePermissionSetRequest: +class DeleteActiveCodeRequest: """ Attributes: @@ -17,69 +17,74 @@ class CreatePermissionSetRequest: sensitive_list = [] openapi_types = { - 'instance_id': 'str', - 'body': 'CreatePermissionSetReqBody' + 'x_app_user_id': 'str', + 'body': 'list[str]' } attribute_map = { - 'instance_id': 'instance_id', + 'x_app_user_id': 'X-App-UserId', 'body': 'body' } - def __init__(self, instance_id=None, body=None): - """CreatePermissionSetRequest + def __init__(self, x_app_user_id=None, body=None): + """DeleteActiveCodeRequest The model defined in huaweicloud sdk - :param instance_id: - :type instance_id: str - :param body: Body of the CreatePermissionSetRequest - :type body: :class:`huaweicloudsdkidentitycenter.v1.CreatePermissionSetReqBody` + :param x_app_user_id: 开发者应用作为资产权属的可选字段。 + :type x_app_user_id: str + :param body: Body of the DeleteActiveCodeRequest + :type body: list[str] """ - self._instance_id = None + self._x_app_user_id = None self._body = None self.discriminator = None - self.instance_id = instance_id + if x_app_user_id is not None: + self.x_app_user_id = x_app_user_id if body is not None: self.body = body @property - def instance_id(self): - """Gets the instance_id of this CreatePermissionSetRequest. + def x_app_user_id(self): + """Gets the x_app_user_id of this DeleteActiveCodeRequest. - :return: The instance_id of this CreatePermissionSetRequest. + 开发者应用作为资产权属的可选字段。 + + :return: The x_app_user_id of this DeleteActiveCodeRequest. :rtype: str """ - return self._instance_id + return self._x_app_user_id + + @x_app_user_id.setter + def x_app_user_id(self, x_app_user_id): + """Sets the x_app_user_id of this DeleteActiveCodeRequest. - @instance_id.setter - def instance_id(self, instance_id): - """Sets the instance_id of this CreatePermissionSetRequest. + 开发者应用作为资产权属的可选字段。 - :param instance_id: The instance_id of this CreatePermissionSetRequest. - :type instance_id: str + :param x_app_user_id: The x_app_user_id of this DeleteActiveCodeRequest. + :type x_app_user_id: str """ - self._instance_id = instance_id + self._x_app_user_id = x_app_user_id @property def body(self): - """Gets the body of this CreatePermissionSetRequest. + """Gets the body of this DeleteActiveCodeRequest. - :return: The body of this CreatePermissionSetRequest. - :rtype: :class:`huaweicloudsdkidentitycenter.v1.CreatePermissionSetReqBody` + :return: The body of this DeleteActiveCodeRequest. + :rtype: list[str] """ return self._body @body.setter def body(self, body): - """Sets the body of this CreatePermissionSetRequest. + """Sets the body of this DeleteActiveCodeRequest. - :param body: The body of this CreatePermissionSetRequest. - :type body: :class:`huaweicloudsdkidentitycenter.v1.CreatePermissionSetReqBody` + :param body: The body of this DeleteActiveCodeRequest. + :type body: list[str] """ self._body = body @@ -125,7 +130,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, CreatePermissionSetRequest): + if not isinstance(other, DeleteActiveCodeRequest): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/attach_customer_managed_policy_to_permission_set_response.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/delete_active_code_response.py similarity index 68% rename from huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/attach_customer_managed_policy_to_permission_set_response.py rename to huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/delete_active_code_response.py index eb7d20f07c..829a24dd56 100644 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/attach_customer_managed_policy_to_permission_set_response.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/delete_active_code_response.py @@ -6,7 +6,7 @@ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class AttachCustomerManagedPolicyToPermissionSetResponse(SdkResponse): +class DeleteActiveCodeResponse(SdkResponse): """ Attributes: @@ -18,21 +18,48 @@ class AttachCustomerManagedPolicyToPermissionSetResponse(SdkResponse): sensitive_list = [] openapi_types = { + 'x_request_id': 'str' } attribute_map = { + 'x_request_id': 'X-Request-Id' } - def __init__(self): - """AttachCustomerManagedPolicyToPermissionSetResponse + def __init__(self, x_request_id=None): + """DeleteActiveCodeResponse The model defined in huaweicloud sdk + :param x_request_id: + :type x_request_id: str """ - super(AttachCustomerManagedPolicyToPermissionSetResponse, self).__init__() + super(DeleteActiveCodeResponse, self).__init__() + + self._x_request_id = None self.discriminator = None + if x_request_id is not None: + self.x_request_id = x_request_id + + @property + def x_request_id(self): + """Gets the x_request_id of this DeleteActiveCodeResponse. + + :return: The x_request_id of this DeleteActiveCodeResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this DeleteActiveCodeResponse. + + :param x_request_id: The x_request_id of this DeleteActiveCodeResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + def to_dict(self): """Returns the model properties as a dict""" result = {} @@ -75,7 +102,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, AttachCustomerManagedPolicyToPermissionSetResponse): + if not isinstance(other, DeleteActiveCodeResponse): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/digital_human_business_card_job_info.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/digital_human_business_card_job_info.py index c0df01916e..325c220885 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/digital_human_business_card_job_info.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/digital_human_business_card_job_info.py @@ -47,7 +47,7 @@ def __init__(self, job_id=None, state=None, start_time=None, end_time=None, outp :param job_id: 任务ID。 :type job_id: str - :param state: 任务的状态。 * WAITING: 等待 * PROCESSING: 处理中 * SUCCEED: 成功 * FAILED: 失败 * CANCELED: 取消 + :param state: 任务的状态。 * WAITING: 等待 * PROCESSING: 处理中 * SUCCEED: 成功 * FAILED: 失败 * CANCELED: 取消 * BLOCK: 冻结 :type state: str :param start_time: 数字人名片制作开始时间。 :type start_time: str @@ -121,7 +121,7 @@ def job_id(self, job_id): def state(self): """Gets the state of this DigitalHumanBusinessCardJobInfo. - 任务的状态。 * WAITING: 等待 * PROCESSING: 处理中 * SUCCEED: 成功 * FAILED: 失败 * CANCELED: 取消 + 任务的状态。 * WAITING: 等待 * PROCESSING: 处理中 * SUCCEED: 成功 * FAILED: 失败 * CANCELED: 取消 * BLOCK: 冻结 :return: The state of this DigitalHumanBusinessCardJobInfo. :rtype: str @@ -132,7 +132,7 @@ def state(self): def state(self, state): """Sets the state of this DigitalHumanBusinessCardJobInfo. - 任务的状态。 * WAITING: 等待 * PROCESSING: 处理中 * SUCCEED: 成功 * FAILED: 失败 * CANCELED: 取消 + 任务的状态。 * WAITING: 等待 * PROCESSING: 处理中 * SUCCEED: 成功 * FAILED: 失败 * CANCELED: 取消 * BLOCK: 冻结 :param state: The state of this DigitalHumanBusinessCardJobInfo. :type state: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/digital_human_video.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/digital_human_video.py index fe91346d5c..eac26d5330 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/digital_human_video.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/digital_human_video.py @@ -49,7 +49,7 @@ def __init__(self, job_id=None, state=None, job_type=None, start_time=None, end_ :param job_id: 任务ID。 :type job_id: str - :param state: 任务的状态。 * WAITING:等待 * PROCESSING:处理中 * SUCCEED:成功 * FAILED:失败 * CANCELED:取消 + :param state: 任务的状态。 * WAITING:等待 * PROCESSING:处理中 * SUCCEED:成功 * FAILED:失败 * CANCELED:取消 * BLOCK: 冻结 :type state: str :param job_type: 任务类型。 * 2D_DIGITAL_HUMAN_VIDEO: 分身数字人视频制作任务 * PHOTO_DIGITAL_HUMAN_VIDEO: 照片数字人视频制作任务 :type job_type: str @@ -128,7 +128,7 @@ def job_id(self, job_id): def state(self): """Gets the state of this DigitalHumanVideo. - 任务的状态。 * WAITING:等待 * PROCESSING:处理中 * SUCCEED:成功 * FAILED:失败 * CANCELED:取消 + 任务的状态。 * WAITING:等待 * PROCESSING:处理中 * SUCCEED:成功 * FAILED:失败 * CANCELED:取消 * BLOCK: 冻结 :return: The state of this DigitalHumanVideo. :rtype: str @@ -139,7 +139,7 @@ def state(self): def state(self, state): """Sets the state of this DigitalHumanVideo. - 任务的状态。 * WAITING:等待 * PROCESSING:处理中 * SUCCEED:成功 * FAILED:失败 * CANCELED:取消 + 任务的状态。 * WAITING:等待 * PROCESSING:处理中 * SUCCEED:成功 * FAILED:失败 * CANCELED:取消 * BLOCK: 冻结 :param state: The state of this DigitalHumanVideo. :type state: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/execute_smart_live_command_response.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/execute_smart_live_command_response.py index ce20de7ea6..dae1b6d0e2 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/execute_smart_live_command_response.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/execute_smart_live_command_response.py @@ -18,23 +18,27 @@ class ExecuteSmartLiveCommandResponse(SdkResponse): sensitive_list = [] openapi_types = { + 'command_id': 'str', 'command': 'str', 'result': 'str', 'x_request_id': 'str' } attribute_map = { + 'command_id': 'command_id', 'command': 'command', 'result': 'result', 'x_request_id': 'X-Request-Id' } - def __init__(self, command=None, result=None, x_request_id=None): + def __init__(self, command_id=None, command=None, result=None, x_request_id=None): """ExecuteSmartLiveCommandResponse The model defined in huaweicloud sdk - :param command: 命令名称。 - INSERT_PLAY_SCRIPT: 插入表演脚本。用于互动回复。数字人不变,背景不变。params结构定义:ShootScript - REWRITE_PLAY_SCRIPT: 动态编辑未播放剧本。params结构定义:scene_scripts - INSERT_PLAY_AUDIO: 插入驱动音频。用于音频直接驱动。数字人不变,背景不变。params结构定义:PlayAudioInfo - GET_CURRENT_PLAYING_SCRIPTS: 查询本轮剧本列表。响应为LivePlayingScriptList结构 + :param command_id: 控制命令ID + :type command_id: str + :param command: 命令名称。 - INSERT_PLAY_SCRIPT: 插入表演脚本。用于互动回复。数字人不变,背景不变。params结构定义:ShootScript - REWRITE_PLAY_SCRIPT: 动态编辑未播放剧本。params结构定义:scene_scripts - INSERT_PLAY_AUDIO: 插入驱动音频。用于音频直接驱动。数字人不变,背景不变。params结构定义:PlayAudioInfo - GET_CURRENT_PLAYING_SCRIPTS: 查询本轮剧本列表。响应为LivePlayingScriptList结构 - REWRITE_INTERACTION_RULES: 动态修改互动规则。params结构定义:interaction_rules - GET_LIVE_JOB_CONFIG_INFO: 获取任务中的房间信息。params结构定义:SmartLiveRoomInfo :type command: str :param result: 命令执行结果 :type result: str @@ -44,11 +48,14 @@ def __init__(self, command=None, result=None, x_request_id=None): super(ExecuteSmartLiveCommandResponse, self).__init__() + self._command_id = None self._command = None self._result = None self._x_request_id = None self.discriminator = None + if command_id is not None: + self.command_id = command_id if command is not None: self.command = command if result is not None: @@ -56,11 +63,33 @@ def __init__(self, command=None, result=None, x_request_id=None): if x_request_id is not None: self.x_request_id = x_request_id + @property + def command_id(self): + """Gets the command_id of this ExecuteSmartLiveCommandResponse. + + 控制命令ID + + :return: The command_id of this ExecuteSmartLiveCommandResponse. + :rtype: str + """ + return self._command_id + + @command_id.setter + def command_id(self, command_id): + """Sets the command_id of this ExecuteSmartLiveCommandResponse. + + 控制命令ID + + :param command_id: The command_id of this ExecuteSmartLiveCommandResponse. + :type command_id: str + """ + self._command_id = command_id + @property def command(self): """Gets the command of this ExecuteSmartLiveCommandResponse. - 命令名称。 - INSERT_PLAY_SCRIPT: 插入表演脚本。用于互动回复。数字人不变,背景不变。params结构定义:ShootScript - REWRITE_PLAY_SCRIPT: 动态编辑未播放剧本。params结构定义:scene_scripts - INSERT_PLAY_AUDIO: 插入驱动音频。用于音频直接驱动。数字人不变,背景不变。params结构定义:PlayAudioInfo - GET_CURRENT_PLAYING_SCRIPTS: 查询本轮剧本列表。响应为LivePlayingScriptList结构 + 命令名称。 - INSERT_PLAY_SCRIPT: 插入表演脚本。用于互动回复。数字人不变,背景不变。params结构定义:ShootScript - REWRITE_PLAY_SCRIPT: 动态编辑未播放剧本。params结构定义:scene_scripts - INSERT_PLAY_AUDIO: 插入驱动音频。用于音频直接驱动。数字人不变,背景不变。params结构定义:PlayAudioInfo - GET_CURRENT_PLAYING_SCRIPTS: 查询本轮剧本列表。响应为LivePlayingScriptList结构 - REWRITE_INTERACTION_RULES: 动态修改互动规则。params结构定义:interaction_rules - GET_LIVE_JOB_CONFIG_INFO: 获取任务中的房间信息。params结构定义:SmartLiveRoomInfo :return: The command of this ExecuteSmartLiveCommandResponse. :rtype: str @@ -71,7 +100,7 @@ def command(self): def command(self, command): """Sets the command of this ExecuteSmartLiveCommandResponse. - 命令名称。 - INSERT_PLAY_SCRIPT: 插入表演脚本。用于互动回复。数字人不变,背景不变。params结构定义:ShootScript - REWRITE_PLAY_SCRIPT: 动态编辑未播放剧本。params结构定义:scene_scripts - INSERT_PLAY_AUDIO: 插入驱动音频。用于音频直接驱动。数字人不变,背景不变。params结构定义:PlayAudioInfo - GET_CURRENT_PLAYING_SCRIPTS: 查询本轮剧本列表。响应为LivePlayingScriptList结构 + 命令名称。 - INSERT_PLAY_SCRIPT: 插入表演脚本。用于互动回复。数字人不变,背景不变。params结构定义:ShootScript - REWRITE_PLAY_SCRIPT: 动态编辑未播放剧本。params结构定义:scene_scripts - INSERT_PLAY_AUDIO: 插入驱动音频。用于音频直接驱动。数字人不变,背景不变。params结构定义:PlayAudioInfo - GET_CURRENT_PLAYING_SCRIPTS: 查询本轮剧本列表。响应为LivePlayingScriptList结构 - REWRITE_INTERACTION_RULES: 动态修改互动规则。params结构定义:interaction_rules - GET_LIVE_JOB_CONFIG_INFO: 获取任务中的房间信息。params结构定义:SmartLiveRoomInfo :param command: The command of this ExecuteSmartLiveCommandResponse. :type command: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/job_state.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/job_state.py index 365d5bc2f0..951ffa8b4f 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/job_state.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/job_state.py @@ -16,6 +16,8 @@ class JobState: PROCESSING = "PROCESSING" RESULT_REVIEW = "RESULT_REVIEW" AUDIT_FAILED = "AUDIT_FAILED" + USER_RESULT_REVIEW = "USER_RESULT_REVIEW" + USER_REVIEW_REJECT = "USER_REVIEW_REJECT" FAILED = "FAILED" SUCCEED = "SUCCEED" """ diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_active_code_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_active_code_request.py new file mode 100644 index 0000000000..eeca77926b --- /dev/null +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_active_code_request.py @@ -0,0 +1,201 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ListActiveCodeRequest: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'x_app_user_id': 'str', + 'offset': 'int', + 'limit': 'int', + 'robot_id': 'str' + } + + attribute_map = { + 'x_app_user_id': 'X-App-UserId', + 'offset': 'offset', + 'limit': 'limit', + 'robot_id': 'robot_id' + } + + def __init__(self, x_app_user_id=None, offset=None, limit=None, robot_id=None): + """ListActiveCodeRequest + + The model defined in huaweicloud sdk + + :param x_app_user_id: 开发者应用作为资产权属的可选字段。 + :type x_app_user_id: str + :param offset: 偏移量,表示从此偏移量开始查询。 + :type offset: int + :param limit: 每页显示的条目数量。 + :type limit: int + :param robot_id: 应用ID。 + :type robot_id: str + """ + + + + self._x_app_user_id = None + self._offset = None + self._limit = None + self._robot_id = None + self.discriminator = None + + if x_app_user_id is not None: + self.x_app_user_id = x_app_user_id + if offset is not None: + self.offset = offset + if limit is not None: + self.limit = limit + self.robot_id = robot_id + + @property + def x_app_user_id(self): + """Gets the x_app_user_id of this ListActiveCodeRequest. + + 开发者应用作为资产权属的可选字段。 + + :return: The x_app_user_id of this ListActiveCodeRequest. + :rtype: str + """ + return self._x_app_user_id + + @x_app_user_id.setter + def x_app_user_id(self, x_app_user_id): + """Sets the x_app_user_id of this ListActiveCodeRequest. + + 开发者应用作为资产权属的可选字段。 + + :param x_app_user_id: The x_app_user_id of this ListActiveCodeRequest. + :type x_app_user_id: str + """ + self._x_app_user_id = x_app_user_id + + @property + def offset(self): + """Gets the offset of this ListActiveCodeRequest. + + 偏移量,表示从此偏移量开始查询。 + + :return: The offset of this ListActiveCodeRequest. + :rtype: int + """ + return self._offset + + @offset.setter + def offset(self, offset): + """Sets the offset of this ListActiveCodeRequest. + + 偏移量,表示从此偏移量开始查询。 + + :param offset: The offset of this ListActiveCodeRequest. + :type offset: int + """ + self._offset = offset + + @property + def limit(self): + """Gets the limit of this ListActiveCodeRequest. + + 每页显示的条目数量。 + + :return: The limit of this ListActiveCodeRequest. + :rtype: int + """ + return self._limit + + @limit.setter + def limit(self, limit): + """Sets the limit of this ListActiveCodeRequest. + + 每页显示的条目数量。 + + :param limit: The limit of this ListActiveCodeRequest. + :type limit: int + """ + self._limit = limit + + @property + def robot_id(self): + """Gets the robot_id of this ListActiveCodeRequest. + + 应用ID。 + + :return: The robot_id of this ListActiveCodeRequest. + :rtype: str + """ + return self._robot_id + + @robot_id.setter + def robot_id(self, robot_id): + """Sets the robot_id of this ListActiveCodeRequest. + + 应用ID。 + + :param robot_id: The robot_id of this ListActiveCodeRequest. + :type robot_id: str + """ + self._robot_id = robot_id + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ListActiveCodeRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_active_code_response.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_active_code_response.py new file mode 100644 index 0000000000..fac0ae2f18 --- /dev/null +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_active_code_response.py @@ -0,0 +1,228 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_response import SdkResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ListActiveCodeResponse(SdkResponse): + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'offset': 'int', + 'limit': 'int', + 'count': 'int', + 'data': 'list[ActiveCodeInfo]', + 'x_request_id': 'str' + } + + attribute_map = { + 'offset': 'offset', + 'limit': 'limit', + 'count': 'count', + 'data': 'data', + 'x_request_id': 'X-Request-Id' + } + + def __init__(self, offset=None, limit=None, count=None, data=None, x_request_id=None): + """ListActiveCodeResponse + + The model defined in huaweicloud sdk + + :param offset: 与第一条数据的偏移量 + :type offset: int + :param limit: 页面大小 + :type limit: int + :param count: 总数量 + :type count: int + :param data: 激活码信息 + :type data: list[:class:`huaweicloudsdkmetastudio.v1.ActiveCodeInfo`] + :param x_request_id: + :type x_request_id: str + """ + + super(ListActiveCodeResponse, self).__init__() + + self._offset = None + self._limit = None + self._count = None + self._data = None + self._x_request_id = None + self.discriminator = None + + if offset is not None: + self.offset = offset + if limit is not None: + self.limit = limit + if count is not None: + self.count = count + if data is not None: + self.data = data + if x_request_id is not None: + self.x_request_id = x_request_id + + @property + def offset(self): + """Gets the offset of this ListActiveCodeResponse. + + 与第一条数据的偏移量 + + :return: The offset of this ListActiveCodeResponse. + :rtype: int + """ + return self._offset + + @offset.setter + def offset(self, offset): + """Sets the offset of this ListActiveCodeResponse. + + 与第一条数据的偏移量 + + :param offset: The offset of this ListActiveCodeResponse. + :type offset: int + """ + self._offset = offset + + @property + def limit(self): + """Gets the limit of this ListActiveCodeResponse. + + 页面大小 + + :return: The limit of this ListActiveCodeResponse. + :rtype: int + """ + return self._limit + + @limit.setter + def limit(self, limit): + """Sets the limit of this ListActiveCodeResponse. + + 页面大小 + + :param limit: The limit of this ListActiveCodeResponse. + :type limit: int + """ + self._limit = limit + + @property + def count(self): + """Gets the count of this ListActiveCodeResponse. + + 总数量 + + :return: The count of this ListActiveCodeResponse. + :rtype: int + """ + return self._count + + @count.setter + def count(self, count): + """Sets the count of this ListActiveCodeResponse. + + 总数量 + + :param count: The count of this ListActiveCodeResponse. + :type count: int + """ + self._count = count + + @property + def data(self): + """Gets the data of this ListActiveCodeResponse. + + 激活码信息 + + :return: The data of this ListActiveCodeResponse. + :rtype: list[:class:`huaweicloudsdkmetastudio.v1.ActiveCodeInfo`] + """ + return self._data + + @data.setter + def data(self, data): + """Sets the data of this ListActiveCodeResponse. + + 激活码信息 + + :param data: The data of this ListActiveCodeResponse. + :type data: list[:class:`huaweicloudsdkmetastudio.v1.ActiveCodeInfo`] + """ + self._data = data + + @property + def x_request_id(self): + """Gets the x_request_id of this ListActiveCodeResponse. + + :return: The x_request_id of this ListActiveCodeResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this ListActiveCodeResponse. + + :param x_request_id: The x_request_id of this ListActiveCodeResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ListActiveCodeResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_assets_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_assets_request.py index 1e68e938cb..f4da4b97b6 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_assets_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_assets_request.py @@ -17,6 +17,7 @@ class ListAssetsRequest: sensitive_list = [] openapi_types = { + 'x_real_ip': 'str', 'x_app_user_id': 'str', 'limit': 'int', 'offset': 'int', @@ -41,6 +42,7 @@ class ListAssetsRequest: } attribute_map = { + 'x_real_ip': 'X-REAL-IP', 'x_app_user_id': 'X-App-UserId', 'limit': 'limit', 'offset': 'offset', @@ -64,11 +66,13 @@ class ListAssetsRequest: 'role': 'role' } - def __init__(self, x_app_user_id=None, limit=None, offset=None, name=None, tag=None, start_time=None, end_time=None, asset_type=None, sort_key=None, sort_dir=None, asset_source=None, asset_state=None, style_id=None, render_engine=None, sex=None, language=None, system_property=None, action_editable=None, is_movable=None, voice_provider=None, role=None): + def __init__(self, x_real_ip=None, x_app_user_id=None, limit=None, offset=None, name=None, tag=None, start_time=None, end_time=None, asset_type=None, sort_key=None, sort_dir=None, asset_source=None, asset_state=None, style_id=None, render_engine=None, sex=None, language=None, system_property=None, action_editable=None, is_movable=None, voice_provider=None, role=None): """ListAssetsRequest The model defined in huaweicloud sdk + :param x_real_ip: 客户端IP + :type x_real_ip: str :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 :type x_app_user_id: str :param limit: 每页显示的条目数量。 @@ -115,6 +119,7 @@ def __init__(self, x_app_user_id=None, limit=None, offset=None, name=None, tag=N + self._x_real_ip = None self._x_app_user_id = None self._limit = None self._offset = None @@ -138,6 +143,8 @@ def __init__(self, x_app_user_id=None, limit=None, offset=None, name=None, tag=N self._role = None self.discriminator = None + if x_real_ip is not None: + self.x_real_ip = x_real_ip if x_app_user_id is not None: self.x_app_user_id = x_app_user_id if limit is not None: @@ -181,6 +188,28 @@ def __init__(self, x_app_user_id=None, limit=None, offset=None, name=None, tag=N if role is not None: self.role = role + @property + def x_real_ip(self): + """Gets the x_real_ip of this ListAssetsRequest. + + 客户端IP + + :return: The x_real_ip of this ListAssetsRequest. + :rtype: str + """ + return self._x_real_ip + + @x_real_ip.setter + def x_real_ip(self, x_real_ip): + """Sets the x_real_ip of this ListAssetsRequest. + + 客户端IP + + :param x_real_ip: The x_real_ip of this ListAssetsRequest. + :type x_real_ip: str + """ + self._x_real_ip = x_real_ip + @property def x_app_user_id(self): """Gets the x_app_user_id of this ListAssetsRequest. diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_smart_chat_rooms_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_smart_chat_rooms_request.py index 87a3b43909..d722bd210d 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_smart_chat_rooms_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_smart_chat_rooms_request.py @@ -47,7 +47,7 @@ def __init__(self, x_app_user_id=None, offset=None, limit=None, room_name=None, :type offset: int :param limit: 每页显示的条目数量。 :type limit: int - :param room_name: 按智能交互对话直播间名称模糊查询。 + :param room_name: 按智能交互对话名称模糊查询。 :type room_name: str :param model_name: 按形象名称模糊查询。 :type model_name: str @@ -153,7 +153,7 @@ def limit(self, limit): def room_name(self): """Gets the room_name of this ListSmartChatRoomsRequest. - 按智能交互对话直播间名称模糊查询。 + 按智能交互对话名称模糊查询。 :return: The room_name of this ListSmartChatRoomsRequest. :rtype: str @@ -164,7 +164,7 @@ def room_name(self): def room_name(self, room_name): """Sets the room_name of this ListSmartChatRoomsRequest. - 按智能交互对话直播间名称模糊查询。 + 按智能交互对话名称模糊查询。 :param room_name: The room_name of this ListSmartChatRoomsRequest. :type room_name: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_smart_chat_rooms_response.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_smart_chat_rooms_response.py index 7b461086c4..280145ce9e 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_smart_chat_rooms_response.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_smart_chat_rooms_response.py @@ -19,24 +19,28 @@ class ListSmartChatRoomsResponse(SdkResponse): openapi_types = { 'count': 'int', + 'count_concurrency': 'int', 'smart_chat_rooms': 'list[SmartChatRoomBaseInfo]', 'x_request_id': 'str' } attribute_map = { 'count': 'count', + 'count_concurrency': 'count_concurrency', 'smart_chat_rooms': 'smart_chat_rooms', 'x_request_id': 'X-Request-Id' } - def __init__(self, count=None, smart_chat_rooms=None, x_request_id=None): + def __init__(self, count=None, count_concurrency=None, smart_chat_rooms=None, x_request_id=None): """ListSmartChatRoomsResponse The model defined in huaweicloud sdk - :param count: 智能交互对话直播间总数。 + :param count: 智能交互对话总数。 :type count: int - :param smart_chat_rooms: 智能交互对话直播间列表。 + :param count_concurrency: 智能交互对话总并发路数。 + :type count_concurrency: int + :param smart_chat_rooms: 智能交互对话列表。 :type smart_chat_rooms: list[:class:`huaweicloudsdkmetastudio.v1.SmartChatRoomBaseInfo`] :param x_request_id: :type x_request_id: str @@ -45,12 +49,15 @@ def __init__(self, count=None, smart_chat_rooms=None, x_request_id=None): super(ListSmartChatRoomsResponse, self).__init__() self._count = None + self._count_concurrency = None self._smart_chat_rooms = None self._x_request_id = None self.discriminator = None if count is not None: self.count = count + if count_concurrency is not None: + self.count_concurrency = count_concurrency if smart_chat_rooms is not None: self.smart_chat_rooms = smart_chat_rooms if x_request_id is not None: @@ -60,7 +67,7 @@ def __init__(self, count=None, smart_chat_rooms=None, x_request_id=None): def count(self): """Gets the count of this ListSmartChatRoomsResponse. - 智能交互对话直播间总数。 + 智能交互对话总数。 :return: The count of this ListSmartChatRoomsResponse. :rtype: int @@ -71,18 +78,40 @@ def count(self): def count(self, count): """Sets the count of this ListSmartChatRoomsResponse. - 智能交互对话直播间总数。 + 智能交互对话总数。 :param count: The count of this ListSmartChatRoomsResponse. :type count: int """ self._count = count + @property + def count_concurrency(self): + """Gets the count_concurrency of this ListSmartChatRoomsResponse. + + 智能交互对话总并发路数。 + + :return: The count_concurrency of this ListSmartChatRoomsResponse. + :rtype: int + """ + return self._count_concurrency + + @count_concurrency.setter + def count_concurrency(self, count_concurrency): + """Sets the count_concurrency of this ListSmartChatRoomsResponse. + + 智能交互对话总并发路数。 + + :param count_concurrency: The count_concurrency of this ListSmartChatRoomsResponse. + :type count_concurrency: int + """ + self._count_concurrency = count_concurrency + @property def smart_chat_rooms(self): """Gets the smart_chat_rooms of this ListSmartChatRoomsResponse. - 智能交互对话直播间列表。 + 智能交互对话列表。 :return: The smart_chat_rooms of this ListSmartChatRoomsResponse. :rtype: list[:class:`huaweicloudsdkmetastudio.v1.SmartChatRoomBaseInfo`] @@ -93,7 +122,7 @@ def smart_chat_rooms(self): def smart_chat_rooms(self, smart_chat_rooms): """Sets the smart_chat_rooms of this ListSmartChatRoomsResponse. - 智能交互对话直播间列表。 + 智能交互对话列表。 :param smart_chat_rooms: The smart_chat_rooms of this ListSmartChatRoomsResponse. :type smart_chat_rooms: list[:class:`huaweicloudsdkmetastudio.v1.SmartChatRoomBaseInfo`] diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/detach_managed_policy_from_permission_set_req_body.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/live_job_log.py similarity index 65% rename from huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/detach_managed_policy_from_permission_set_req_body.py rename to huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/live_job_log.py index 97e9a92485..516a969397 100644 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/detach_managed_policy_from_permission_set_req_body.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/live_job_log.py @@ -5,7 +5,7 @@ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class DetachManagedPolicyFromPermissionSetReqBody: +class LiveJobLog: """ Attributes: @@ -17,50 +17,51 @@ class DetachManagedPolicyFromPermissionSetReqBody: sensitive_list = [] openapi_types = { - 'managed_policy_id': 'str' + 'interaction_records_url': 'str' } attribute_map = { - 'managed_policy_id': 'managed_policy_id' + 'interaction_records_url': 'interaction_records_url' } - def __init__(self, managed_policy_id=None): - """DetachManagedPolicyFromPermissionSetReqBody + def __init__(self, interaction_records_url=None): + """LiveJobLog The model defined in huaweicloud sdk - :param managed_policy_id: 管理策略唯一标识 - :type managed_policy_id: str + :param interaction_records_url: 直播互动记录文件地址 + :type interaction_records_url: str """ - self._managed_policy_id = None + self._interaction_records_url = None self.discriminator = None - self.managed_policy_id = managed_policy_id + if interaction_records_url is not None: + self.interaction_records_url = interaction_records_url @property - def managed_policy_id(self): - """Gets the managed_policy_id of this DetachManagedPolicyFromPermissionSetReqBody. + def interaction_records_url(self): + """Gets the interaction_records_url of this LiveJobLog. - 管理策略唯一标识 + 直播互动记录文件地址 - :return: The managed_policy_id of this DetachManagedPolicyFromPermissionSetReqBody. + :return: The interaction_records_url of this LiveJobLog. :rtype: str """ - return self._managed_policy_id + return self._interaction_records_url - @managed_policy_id.setter - def managed_policy_id(self, managed_policy_id): - """Sets the managed_policy_id of this DetachManagedPolicyFromPermissionSetReqBody. + @interaction_records_url.setter + def interaction_records_url(self, interaction_records_url): + """Sets the interaction_records_url of this LiveJobLog. - 管理策略唯一标识 + 直播互动记录文件地址 - :param managed_policy_id: The managed_policy_id of this DetachManagedPolicyFromPermissionSetReqBody. - :type managed_policy_id: str + :param interaction_records_url: The interaction_records_url of this LiveJobLog. + :type interaction_records_url: str """ - self._managed_policy_id = managed_policy_id + self._interaction_records_url = interaction_records_url def to_dict(self): """Returns the model properties as a dict""" @@ -104,7 +105,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, DetachManagedPolicyFromPermissionSetReqBody): + if not isinstance(other, LiveJobLog): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/live_video_script_info.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/live_video_script_info.py index 74a64e6d32..94e072f83b 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/live_video_script_info.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/live_video_script_info.py @@ -17,6 +17,7 @@ class LiveVideoScriptInfo: sensitive_list = [] openapi_types = { + 'script_id': 'str', 'script_name': 'str', 'script_description': 'str', 'dh_id': 'str', @@ -28,6 +29,7 @@ class LiveVideoScriptInfo: } attribute_map = { + 'script_id': 'script_id', 'script_name': 'script_name', 'script_description': 'script_description', 'dh_id': 'dh_id', @@ -38,11 +40,13 @@ class LiveVideoScriptInfo: 'shoot_scripts': 'shoot_scripts' } - def __init__(self, script_name=None, script_description=None, dh_id=None, model_asset_id=None, voice_config=None, background_config=None, layer_config=None, shoot_scripts=None): + def __init__(self, script_id=None, script_name=None, script_description=None, dh_id=None, model_asset_id=None, voice_config=None, background_config=None, layer_config=None, shoot_scripts=None): """LiveVideoScriptInfo The model defined in huaweicloud sdk + :param script_id: 剧本ID。 + :type script_id: str :param script_name: 剧本名称 :type script_name: str :param script_description: 剧本描述。 @@ -63,6 +67,7 @@ def __init__(self, script_name=None, script_description=None, dh_id=None, model_ + self._script_id = None self._script_name = None self._script_description = None self._dh_id = None @@ -73,6 +78,8 @@ def __init__(self, script_name=None, script_description=None, dh_id=None, model_ self._shoot_scripts = None self.discriminator = None + if script_id is not None: + self.script_id = script_id self.script_name = script_name if script_description is not None: self.script_description = script_description @@ -88,6 +95,28 @@ def __init__(self, script_name=None, script_description=None, dh_id=None, model_ self.layer_config = layer_config self.shoot_scripts = shoot_scripts + @property + def script_id(self): + """Gets the script_id of this LiveVideoScriptInfo. + + 剧本ID。 + + :return: The script_id of this LiveVideoScriptInfo. + :rtype: str + """ + return self._script_id + + @script_id.setter + def script_id(self, script_id): + """Sets the script_id of this LiveVideoScriptInfo. + + 剧本ID。 + + :param script_id: The script_id of this LiveVideoScriptInfo. + :type script_id: str + """ + self._script_id = script_id + @property def script_name(self): """Gets the script_name of this LiveVideoScriptInfo. diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/replication_asset_info.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/replication_asset_info.py new file mode 100644 index 0000000000..0e4a05cd80 --- /dev/null +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/replication_asset_info.py @@ -0,0 +1,169 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ReplicationAssetInfo: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'asset_id': 'str', + 'asset_info': 'str', + 'encryption_info': 'ReplicationEncInfo' + } + + attribute_map = { + 'asset_id': 'asset_id', + 'asset_info': 'asset_info', + 'encryption_info': 'encryption_info' + } + + def __init__(self, asset_id=None, asset_info=None, encryption_info=None): + """ReplicationAssetInfo + + The model defined in huaweicloud sdk + + :param asset_id: 资产ID。 + :type asset_id: str + :param asset_info: 加密后的资产信息。 + :type asset_info: str + :param encryption_info: + :type encryption_info: :class:`huaweicloudsdkmetastudio.v1.ReplicationEncInfo` + """ + + + + self._asset_id = None + self._asset_info = None + self._encryption_info = None + self.discriminator = None + + if asset_id is not None: + self.asset_id = asset_id + if asset_info is not None: + self.asset_info = asset_info + if encryption_info is not None: + self.encryption_info = encryption_info + + @property + def asset_id(self): + """Gets the asset_id of this ReplicationAssetInfo. + + 资产ID。 + + :return: The asset_id of this ReplicationAssetInfo. + :rtype: str + """ + return self._asset_id + + @asset_id.setter + def asset_id(self, asset_id): + """Sets the asset_id of this ReplicationAssetInfo. + + 资产ID。 + + :param asset_id: The asset_id of this ReplicationAssetInfo. + :type asset_id: str + """ + self._asset_id = asset_id + + @property + def asset_info(self): + """Gets the asset_info of this ReplicationAssetInfo. + + 加密后的资产信息。 + + :return: The asset_info of this ReplicationAssetInfo. + :rtype: str + """ + return self._asset_info + + @asset_info.setter + def asset_info(self, asset_info): + """Sets the asset_info of this ReplicationAssetInfo. + + 加密后的资产信息。 + + :param asset_info: The asset_info of this ReplicationAssetInfo. + :type asset_info: str + """ + self._asset_info = asset_info + + @property + def encryption_info(self): + """Gets the encryption_info of this ReplicationAssetInfo. + + :return: The encryption_info of this ReplicationAssetInfo. + :rtype: :class:`huaweicloudsdkmetastudio.v1.ReplicationEncInfo` + """ + return self._encryption_info + + @encryption_info.setter + def encryption_info(self, encryption_info): + """Sets the encryption_info of this ReplicationAssetInfo. + + :param encryption_info: The encryption_info of this ReplicationAssetInfo. + :type encryption_info: :class:`huaweicloudsdkmetastudio.v1.ReplicationEncInfo` + """ + self._encryption_info = encryption_info + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ReplicationAssetInfo): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/replication_enc_info.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/replication_enc_info.py new file mode 100644 index 0000000000..6b43382ead --- /dev/null +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/replication_enc_info.py @@ -0,0 +1,173 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ReplicationEncInfo: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'algorithm': 'str', + 'key_id': 'str', + 'iv': 'str' + } + + attribute_map = { + 'algorithm': 'algorithm', + 'key_id': 'key_id', + 'iv': 'iv' + } + + def __init__(self, algorithm=None, key_id=None, iv=None): + """ReplicationEncInfo + + The model defined in huaweicloud sdk + + :param algorithm: 加密算法 + :type algorithm: str + :param key_id: 秘钥id + :type key_id: str + :param iv: 初始化向量 + :type iv: str + """ + + + + self._algorithm = None + self._key_id = None + self._iv = None + self.discriminator = None + + if algorithm is not None: + self.algorithm = algorithm + if key_id is not None: + self.key_id = key_id + if iv is not None: + self.iv = iv + + @property + def algorithm(self): + """Gets the algorithm of this ReplicationEncInfo. + + 加密算法 + + :return: The algorithm of this ReplicationEncInfo. + :rtype: str + """ + return self._algorithm + + @algorithm.setter + def algorithm(self, algorithm): + """Sets the algorithm of this ReplicationEncInfo. + + 加密算法 + + :param algorithm: The algorithm of this ReplicationEncInfo. + :type algorithm: str + """ + self._algorithm = algorithm + + @property + def key_id(self): + """Gets the key_id of this ReplicationEncInfo. + + 秘钥id + + :return: The key_id of this ReplicationEncInfo. + :rtype: str + """ + return self._key_id + + @key_id.setter + def key_id(self, key_id): + """Sets the key_id of this ReplicationEncInfo. + + 秘钥id + + :param key_id: The key_id of this ReplicationEncInfo. + :type key_id: str + """ + self._key_id = key_id + + @property + def iv(self): + """Gets the iv of this ReplicationEncInfo. + + 初始化向量 + + :return: The iv of this ReplicationEncInfo. + :rtype: str + """ + return self._iv + + @iv.setter + def iv(self, iv): + """Sets the iv of this ReplicationEncInfo. + + 初始化向量 + + :param iv: The iv of this ReplicationEncInfo. + :type iv: str + """ + self._iv = iv + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ReplicationEncInfo): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/delete_permission_set_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/reset_active_code_request.py similarity index 54% rename from huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/delete_permission_set_request.py rename to huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/reset_active_code_request.py index 6d6410225e..2656099e62 100644 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/delete_permission_set_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/reset_active_code_request.py @@ -5,7 +5,7 @@ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class DeletePermissionSetRequest: +class ResetActiveCodeRequest: """ Attributes: @@ -17,70 +17,79 @@ class DeletePermissionSetRequest: sensitive_list = [] openapi_types = { - 'instance_id': 'str', - 'permission_set_id': 'str' + 'x_app_user_id': 'str', + 'active_code_id': 'str' } attribute_map = { - 'instance_id': 'instance_id', - 'permission_set_id': 'permission_set_id' + 'x_app_user_id': 'X-App-UserId', + 'active_code_id': 'active_code_id' } - def __init__(self, instance_id=None, permission_set_id=None): - """DeletePermissionSetRequest + def __init__(self, x_app_user_id=None, active_code_id=None): + """ResetActiveCodeRequest The model defined in huaweicloud sdk - :param instance_id: - :type instance_id: str - :param permission_set_id: - :type permission_set_id: str + :param x_app_user_id: 开发者应用作为资产权属的可选字段。 + :type x_app_user_id: str + :param active_code_id: 激活码ID。 + :type active_code_id: str """ - self._instance_id = None - self._permission_set_id = None + self._x_app_user_id = None + self._active_code_id = None self.discriminator = None - self.instance_id = instance_id - self.permission_set_id = permission_set_id + if x_app_user_id is not None: + self.x_app_user_id = x_app_user_id + self.active_code_id = active_code_id @property - def instance_id(self): - """Gets the instance_id of this DeletePermissionSetRequest. + def x_app_user_id(self): + """Gets the x_app_user_id of this ResetActiveCodeRequest. - :return: The instance_id of this DeletePermissionSetRequest. + 开发者应用作为资产权属的可选字段。 + + :return: The x_app_user_id of this ResetActiveCodeRequest. :rtype: str """ - return self._instance_id + return self._x_app_user_id + + @x_app_user_id.setter + def x_app_user_id(self, x_app_user_id): + """Sets the x_app_user_id of this ResetActiveCodeRequest. - @instance_id.setter - def instance_id(self, instance_id): - """Sets the instance_id of this DeletePermissionSetRequest. + 开发者应用作为资产权属的可选字段。 - :param instance_id: The instance_id of this DeletePermissionSetRequest. - :type instance_id: str + :param x_app_user_id: The x_app_user_id of this ResetActiveCodeRequest. + :type x_app_user_id: str """ - self._instance_id = instance_id + self._x_app_user_id = x_app_user_id @property - def permission_set_id(self): - """Gets the permission_set_id of this DeletePermissionSetRequest. + def active_code_id(self): + """Gets the active_code_id of this ResetActiveCodeRequest. - :return: The permission_set_id of this DeletePermissionSetRequest. + 激活码ID。 + + :return: The active_code_id of this ResetActiveCodeRequest. :rtype: str """ - return self._permission_set_id + return self._active_code_id + + @active_code_id.setter + def active_code_id(self, active_code_id): + """Sets the active_code_id of this ResetActiveCodeRequest. - @permission_set_id.setter - def permission_set_id(self, permission_set_id): - """Sets the permission_set_id of this DeletePermissionSetRequest. + 激活码ID。 - :param permission_set_id: The permission_set_id of this DeletePermissionSetRequest. - :type permission_set_id: str + :param active_code_id: The active_code_id of this ResetActiveCodeRequest. + :type active_code_id: str """ - self._permission_set_id = permission_set_id + self._active_code_id = active_code_id def to_dict(self): """Returns the model properties as a dict""" @@ -124,7 +133,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, DeletePermissionSetRequest): + if not isinstance(other, ResetActiveCodeRequest): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/reset_active_code_response.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/reset_active_code_response.py new file mode 100644 index 0000000000..56a60d6d14 --- /dev/null +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/reset_active_code_response.py @@ -0,0 +1,344 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_response import SdkResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ResetActiveCodeResponse(SdkResponse): + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'active_code_id': 'str', + 'active_code': 'str', + 'robot_id': 'str', + 'room_id': 'str', + 'valid_period': 'int', + 'expire_time': 'str', + 'create_time': 'str', + 'update_time': 'str', + 'x_request_id': 'str' + } + + attribute_map = { + 'active_code_id': 'active_code_id', + 'active_code': 'active_code', + 'robot_id': 'robot_id', + 'room_id': 'room_id', + 'valid_period': 'valid_period', + 'expire_time': 'expire_time', + 'create_time': 'create_time', + 'update_time': 'update_time', + 'x_request_id': 'X-Request-Id' + } + + def __init__(self, active_code_id=None, active_code=None, robot_id=None, room_id=None, valid_period=None, expire_time=None, create_time=None, update_time=None, x_request_id=None): + """ResetActiveCodeResponse + + The model defined in huaweicloud sdk + + :param active_code_id: 激活码ID。 + :type active_code_id: str + :param active_code: 激活码。 + :type active_code: str + :param robot_id: 应用ID。 + :type robot_id: str + :param room_id: 智能交互对话ID。 + :type room_id: str + :param valid_period: 有效天数(0表示长期有效)。 + :type valid_period: int + :param expire_time: 过期时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + :type expire_time: str + :param create_time: 创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + :type create_time: str + :param update_time: 更新时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + :type update_time: str + :param x_request_id: + :type x_request_id: str + """ + + super(ResetActiveCodeResponse, self).__init__() + + self._active_code_id = None + self._active_code = None + self._robot_id = None + self._room_id = None + self._valid_period = None + self._expire_time = None + self._create_time = None + self._update_time = None + self._x_request_id = None + self.discriminator = None + + if active_code_id is not None: + self.active_code_id = active_code_id + if active_code is not None: + self.active_code = active_code + if robot_id is not None: + self.robot_id = robot_id + if room_id is not None: + self.room_id = room_id + if valid_period is not None: + self.valid_period = valid_period + if expire_time is not None: + self.expire_time = expire_time + if create_time is not None: + self.create_time = create_time + if update_time is not None: + self.update_time = update_time + if x_request_id is not None: + self.x_request_id = x_request_id + + @property + def active_code_id(self): + """Gets the active_code_id of this ResetActiveCodeResponse. + + 激活码ID。 + + :return: The active_code_id of this ResetActiveCodeResponse. + :rtype: str + """ + return self._active_code_id + + @active_code_id.setter + def active_code_id(self, active_code_id): + """Sets the active_code_id of this ResetActiveCodeResponse. + + 激活码ID。 + + :param active_code_id: The active_code_id of this ResetActiveCodeResponse. + :type active_code_id: str + """ + self._active_code_id = active_code_id + + @property + def active_code(self): + """Gets the active_code of this ResetActiveCodeResponse. + + 激活码。 + + :return: The active_code of this ResetActiveCodeResponse. + :rtype: str + """ + return self._active_code + + @active_code.setter + def active_code(self, active_code): + """Sets the active_code of this ResetActiveCodeResponse. + + 激活码。 + + :param active_code: The active_code of this ResetActiveCodeResponse. + :type active_code: str + """ + self._active_code = active_code + + @property + def robot_id(self): + """Gets the robot_id of this ResetActiveCodeResponse. + + 应用ID。 + + :return: The robot_id of this ResetActiveCodeResponse. + :rtype: str + """ + return self._robot_id + + @robot_id.setter + def robot_id(self, robot_id): + """Sets the robot_id of this ResetActiveCodeResponse. + + 应用ID。 + + :param robot_id: The robot_id of this ResetActiveCodeResponse. + :type robot_id: str + """ + self._robot_id = robot_id + + @property + def room_id(self): + """Gets the room_id of this ResetActiveCodeResponse. + + 智能交互对话ID。 + + :return: The room_id of this ResetActiveCodeResponse. + :rtype: str + """ + return self._room_id + + @room_id.setter + def room_id(self, room_id): + """Sets the room_id of this ResetActiveCodeResponse. + + 智能交互对话ID。 + + :param room_id: The room_id of this ResetActiveCodeResponse. + :type room_id: str + """ + self._room_id = room_id + + @property + def valid_period(self): + """Gets the valid_period of this ResetActiveCodeResponse. + + 有效天数(0表示长期有效)。 + + :return: The valid_period of this ResetActiveCodeResponse. + :rtype: int + """ + return self._valid_period + + @valid_period.setter + def valid_period(self, valid_period): + """Sets the valid_period of this ResetActiveCodeResponse. + + 有效天数(0表示长期有效)。 + + :param valid_period: The valid_period of this ResetActiveCodeResponse. + :type valid_period: int + """ + self._valid_period = valid_period + + @property + def expire_time(self): + """Gets the expire_time of this ResetActiveCodeResponse. + + 过期时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + + :return: The expire_time of this ResetActiveCodeResponse. + :rtype: str + """ + return self._expire_time + + @expire_time.setter + def expire_time(self, expire_time): + """Sets the expire_time of this ResetActiveCodeResponse. + + 过期时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + + :param expire_time: The expire_time of this ResetActiveCodeResponse. + :type expire_time: str + """ + self._expire_time = expire_time + + @property + def create_time(self): + """Gets the create_time of this ResetActiveCodeResponse. + + 创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + + :return: The create_time of this ResetActiveCodeResponse. + :rtype: str + """ + return self._create_time + + @create_time.setter + def create_time(self, create_time): + """Sets the create_time of this ResetActiveCodeResponse. + + 创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + + :param create_time: The create_time of this ResetActiveCodeResponse. + :type create_time: str + """ + self._create_time = create_time + + @property + def update_time(self): + """Gets the update_time of this ResetActiveCodeResponse. + + 更新时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + + :return: The update_time of this ResetActiveCodeResponse. + :rtype: str + """ + return self._update_time + + @update_time.setter + def update_time(self, update_time): + """Sets the update_time of this ResetActiveCodeResponse. + + 更新时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + + :param update_time: The update_time of this ResetActiveCodeResponse. + :type update_time: str + """ + self._update_time = update_time + + @property + def x_request_id(self): + """Gets the x_request_id of this ResetActiveCodeResponse. + + :return: The x_request_id of this ResetActiveCodeResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this ResetActiveCodeResponse. + + :param x_request_id: The x_request_id of this ResetActiveCodeResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ResetActiveCodeResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show2_d_digital_human_video_response.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show2_d_digital_human_video_response.py index 755c63a822..947993396f 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show2_d_digital_human_video_response.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show2_d_digital_human_video_response.py @@ -68,7 +68,7 @@ def __init__(self, job_id=None, state=None, job_type=None, start_time=None, end_ :param job_id: 任务ID。 :type job_id: str - :param state: 任务的状态。 * WAITING:等待 * PROCESSING:处理中 * SUCCEED:成功 * FAILED:失败 * CANCELED:取消 + :param state: 任务的状态。 * WAITING:等待 * PROCESSING:处理中 * SUCCEED:成功 * FAILED:失败 * CANCELED:取消 * BLOCK: 冻结 :type state: str :param job_type: 任务类型。 * 2D_DIGITAL_HUMAN_VIDEO: 分身数字人视频制作任务 * PHOTO_DIGITAL_HUMAN_VIDEO: 照片数字人视频制作任务 :type job_type: str @@ -192,7 +192,7 @@ def job_id(self, job_id): def state(self): """Gets the state of this Show2DDigitalHumanVideoResponse. - 任务的状态。 * WAITING:等待 * PROCESSING:处理中 * SUCCEED:成功 * FAILED:失败 * CANCELED:取消 + 任务的状态。 * WAITING:等待 * PROCESSING:处理中 * SUCCEED:成功 * FAILED:失败 * CANCELED:取消 * BLOCK: 冻结 :return: The state of this Show2DDigitalHumanVideoResponse. :rtype: str @@ -203,7 +203,7 @@ def state(self): def state(self, state): """Sets the state of this Show2DDigitalHumanVideoResponse. - 任务的状态。 * WAITING:等待 * PROCESSING:处理中 * SUCCEED:成功 * FAILED:失败 * CANCELED:取消 + 任务的状态。 * WAITING:等待 * PROCESSING:处理中 * SUCCEED:成功 * FAILED:失败 * CANCELED:取消 * BLOCK: 冻结 :param state: The state of this Show2DDigitalHumanVideoResponse. :type state: str diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/attached_managed_policy_dto.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_active_code_request.py similarity index 55% rename from huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/attached_managed_policy_dto.py rename to huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_active_code_request.py index df37ec4302..0e8c99f878 100644 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/attached_managed_policy_dto.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_active_code_request.py @@ -5,7 +5,7 @@ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class AttachedManagedPolicyDto: +class ShowActiveCodeRequest: """ Attributes: @@ -17,80 +17,79 @@ class AttachedManagedPolicyDto: sensitive_list = [] openapi_types = { - 'policy_id': 'str', - 'policy_name': 'str' + 'x_app_user_id': 'str', + 'active_code_id': 'str' } attribute_map = { - 'policy_id': 'policy_id', - 'policy_name': 'policy_name' + 'x_app_user_id': 'X-App-UserId', + 'active_code_id': 'active_code_id' } - def __init__(self, policy_id=None, policy_name=None): - """AttachedManagedPolicyDto + def __init__(self, x_app_user_id=None, active_code_id=None): + """ShowActiveCodeRequest The model defined in huaweicloud sdk - :param policy_id: 系统策略唯一标识 - :type policy_id: str - :param policy_name: 系统策略名称 - :type policy_name: str + :param x_app_user_id: 开发者应用作为资产权属的可选字段。 + :type x_app_user_id: str + :param active_code_id: 激活码ID。 + :type active_code_id: str """ - self._policy_id = None - self._policy_name = None + self._x_app_user_id = None + self._active_code_id = None self.discriminator = None - if policy_id is not None: - self.policy_id = policy_id - if policy_name is not None: - self.policy_name = policy_name + if x_app_user_id is not None: + self.x_app_user_id = x_app_user_id + self.active_code_id = active_code_id @property - def policy_id(self): - """Gets the policy_id of this AttachedManagedPolicyDto. + def x_app_user_id(self): + """Gets the x_app_user_id of this ShowActiveCodeRequest. - 系统策略唯一标识 + 开发者应用作为资产权属的可选字段。 - :return: The policy_id of this AttachedManagedPolicyDto. + :return: The x_app_user_id of this ShowActiveCodeRequest. :rtype: str """ - return self._policy_id + return self._x_app_user_id - @policy_id.setter - def policy_id(self, policy_id): - """Sets the policy_id of this AttachedManagedPolicyDto. + @x_app_user_id.setter + def x_app_user_id(self, x_app_user_id): + """Sets the x_app_user_id of this ShowActiveCodeRequest. - 系统策略唯一标识 + 开发者应用作为资产权属的可选字段。 - :param policy_id: The policy_id of this AttachedManagedPolicyDto. - :type policy_id: str + :param x_app_user_id: The x_app_user_id of this ShowActiveCodeRequest. + :type x_app_user_id: str """ - self._policy_id = policy_id + self._x_app_user_id = x_app_user_id @property - def policy_name(self): - """Gets the policy_name of this AttachedManagedPolicyDto. + def active_code_id(self): + """Gets the active_code_id of this ShowActiveCodeRequest. - 系统策略名称 + 激活码ID。 - :return: The policy_name of this AttachedManagedPolicyDto. + :return: The active_code_id of this ShowActiveCodeRequest. :rtype: str """ - return self._policy_name + return self._active_code_id - @policy_name.setter - def policy_name(self, policy_name): - """Sets the policy_name of this AttachedManagedPolicyDto. + @active_code_id.setter + def active_code_id(self, active_code_id): + """Sets the active_code_id of this ShowActiveCodeRequest. - 系统策略名称 + 激活码ID。 - :param policy_name: The policy_name of this AttachedManagedPolicyDto. - :type policy_name: str + :param active_code_id: The active_code_id of this ShowActiveCodeRequest. + :type active_code_id: str """ - self._policy_name = policy_name + self._active_code_id = active_code_id def to_dict(self): """Returns the model properties as a dict""" @@ -134,7 +133,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, AttachedManagedPolicyDto): + if not isinstance(other, ShowActiveCodeRequest): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_active_code_response.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_active_code_response.py new file mode 100644 index 0000000000..861952f661 --- /dev/null +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_active_code_response.py @@ -0,0 +1,344 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_response import SdkResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ShowActiveCodeResponse(SdkResponse): + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'active_code_id': 'str', + 'active_code': 'str', + 'robot_id': 'str', + 'room_id': 'str', + 'valid_period': 'int', + 'expire_time': 'str', + 'create_time': 'str', + 'update_time': 'str', + 'x_request_id': 'str' + } + + attribute_map = { + 'active_code_id': 'active_code_id', + 'active_code': 'active_code', + 'robot_id': 'robot_id', + 'room_id': 'room_id', + 'valid_period': 'valid_period', + 'expire_time': 'expire_time', + 'create_time': 'create_time', + 'update_time': 'update_time', + 'x_request_id': 'X-Request-Id' + } + + def __init__(self, active_code_id=None, active_code=None, robot_id=None, room_id=None, valid_period=None, expire_time=None, create_time=None, update_time=None, x_request_id=None): + """ShowActiveCodeResponse + + The model defined in huaweicloud sdk + + :param active_code_id: 激活码ID。 + :type active_code_id: str + :param active_code: 激活码。 + :type active_code: str + :param robot_id: 应用ID。 + :type robot_id: str + :param room_id: 智能交互对话ID。 + :type room_id: str + :param valid_period: 有效天数(0表示长期有效)。 + :type valid_period: int + :param expire_time: 过期时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + :type expire_time: str + :param create_time: 创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + :type create_time: str + :param update_time: 更新时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + :type update_time: str + :param x_request_id: + :type x_request_id: str + """ + + super(ShowActiveCodeResponse, self).__init__() + + self._active_code_id = None + self._active_code = None + self._robot_id = None + self._room_id = None + self._valid_period = None + self._expire_time = None + self._create_time = None + self._update_time = None + self._x_request_id = None + self.discriminator = None + + if active_code_id is not None: + self.active_code_id = active_code_id + if active_code is not None: + self.active_code = active_code + if robot_id is not None: + self.robot_id = robot_id + if room_id is not None: + self.room_id = room_id + if valid_period is not None: + self.valid_period = valid_period + if expire_time is not None: + self.expire_time = expire_time + if create_time is not None: + self.create_time = create_time + if update_time is not None: + self.update_time = update_time + if x_request_id is not None: + self.x_request_id = x_request_id + + @property + def active_code_id(self): + """Gets the active_code_id of this ShowActiveCodeResponse. + + 激活码ID。 + + :return: The active_code_id of this ShowActiveCodeResponse. + :rtype: str + """ + return self._active_code_id + + @active_code_id.setter + def active_code_id(self, active_code_id): + """Sets the active_code_id of this ShowActiveCodeResponse. + + 激活码ID。 + + :param active_code_id: The active_code_id of this ShowActiveCodeResponse. + :type active_code_id: str + """ + self._active_code_id = active_code_id + + @property + def active_code(self): + """Gets the active_code of this ShowActiveCodeResponse. + + 激活码。 + + :return: The active_code of this ShowActiveCodeResponse. + :rtype: str + """ + return self._active_code + + @active_code.setter + def active_code(self, active_code): + """Sets the active_code of this ShowActiveCodeResponse. + + 激活码。 + + :param active_code: The active_code of this ShowActiveCodeResponse. + :type active_code: str + """ + self._active_code = active_code + + @property + def robot_id(self): + """Gets the robot_id of this ShowActiveCodeResponse. + + 应用ID。 + + :return: The robot_id of this ShowActiveCodeResponse. + :rtype: str + """ + return self._robot_id + + @robot_id.setter + def robot_id(self, robot_id): + """Sets the robot_id of this ShowActiveCodeResponse. + + 应用ID。 + + :param robot_id: The robot_id of this ShowActiveCodeResponse. + :type robot_id: str + """ + self._robot_id = robot_id + + @property + def room_id(self): + """Gets the room_id of this ShowActiveCodeResponse. + + 智能交互对话ID。 + + :return: The room_id of this ShowActiveCodeResponse. + :rtype: str + """ + return self._room_id + + @room_id.setter + def room_id(self, room_id): + """Sets the room_id of this ShowActiveCodeResponse. + + 智能交互对话ID。 + + :param room_id: The room_id of this ShowActiveCodeResponse. + :type room_id: str + """ + self._room_id = room_id + + @property + def valid_period(self): + """Gets the valid_period of this ShowActiveCodeResponse. + + 有效天数(0表示长期有效)。 + + :return: The valid_period of this ShowActiveCodeResponse. + :rtype: int + """ + return self._valid_period + + @valid_period.setter + def valid_period(self, valid_period): + """Sets the valid_period of this ShowActiveCodeResponse. + + 有效天数(0表示长期有效)。 + + :param valid_period: The valid_period of this ShowActiveCodeResponse. + :type valid_period: int + """ + self._valid_period = valid_period + + @property + def expire_time(self): + """Gets the expire_time of this ShowActiveCodeResponse. + + 过期时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + + :return: The expire_time of this ShowActiveCodeResponse. + :rtype: str + """ + return self._expire_time + + @expire_time.setter + def expire_time(self, expire_time): + """Sets the expire_time of this ShowActiveCodeResponse. + + 过期时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + + :param expire_time: The expire_time of this ShowActiveCodeResponse. + :type expire_time: str + """ + self._expire_time = expire_time + + @property + def create_time(self): + """Gets the create_time of this ShowActiveCodeResponse. + + 创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + + :return: The create_time of this ShowActiveCodeResponse. + :rtype: str + """ + return self._create_time + + @create_time.setter + def create_time(self, create_time): + """Sets the create_time of this ShowActiveCodeResponse. + + 创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + + :param create_time: The create_time of this ShowActiveCodeResponse. + :type create_time: str + """ + self._create_time = create_time + + @property + def update_time(self): + """Gets the update_time of this ShowActiveCodeResponse. + + 更新时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + + :return: The update_time of this ShowActiveCodeResponse. + :rtype: str + """ + return self._update_time + + @update_time.setter + def update_time(self, update_time): + """Sets the update_time of this ShowActiveCodeResponse. + + 更新时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + + :param update_time: The update_time of this ShowActiveCodeResponse. + :type update_time: str + """ + self._update_time = update_time + + @property + def x_request_id(self): + """Gets the x_request_id of this ShowActiveCodeResponse. + + :return: The x_request_id of this ShowActiveCodeResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this ShowActiveCodeResponse. + + :param x_request_id: The x_request_id of this ShowActiveCodeResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ShowActiveCodeResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/describe_permission_set_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_asset_replication_info_request.py similarity index 55% rename from huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/describe_permission_set_request.py rename to huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_asset_replication_info_request.py index de2d470945..ff4e2e5c27 100644 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/describe_permission_set_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_asset_replication_info_request.py @@ -5,7 +5,7 @@ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class DescribePermissionSetRequest: +class ShowAssetReplicationInfoRequest: """ Attributes: @@ -17,70 +17,79 @@ class DescribePermissionSetRequest: sensitive_list = [] openapi_types = { - 'instance_id': 'str', - 'permission_set_id': 'str' + 'x_app_user_id': 'str', + 'asset_id': 'str' } attribute_map = { - 'instance_id': 'instance_id', - 'permission_set_id': 'permission_set_id' + 'x_app_user_id': 'X-App-UserId', + 'asset_id': 'asset_id' } - def __init__(self, instance_id=None, permission_set_id=None): - """DescribePermissionSetRequest + def __init__(self, x_app_user_id=None, asset_id=None): + """ShowAssetReplicationInfoRequest The model defined in huaweicloud sdk - :param instance_id: - :type instance_id: str - :param permission_set_id: - :type permission_set_id: str + :param x_app_user_id: 第三方用户ID。 > * 不允许输入中文。 + :type x_app_user_id: str + :param asset_id: 资产ID。 + :type asset_id: str """ - self._instance_id = None - self._permission_set_id = None + self._x_app_user_id = None + self._asset_id = None self.discriminator = None - self.instance_id = instance_id - self.permission_set_id = permission_set_id + if x_app_user_id is not None: + self.x_app_user_id = x_app_user_id + self.asset_id = asset_id @property - def instance_id(self): - """Gets the instance_id of this DescribePermissionSetRequest. + def x_app_user_id(self): + """Gets the x_app_user_id of this ShowAssetReplicationInfoRequest. - :return: The instance_id of this DescribePermissionSetRequest. + 第三方用户ID。 > * 不允许输入中文。 + + :return: The x_app_user_id of this ShowAssetReplicationInfoRequest. :rtype: str """ - return self._instance_id + return self._x_app_user_id + + @x_app_user_id.setter + def x_app_user_id(self, x_app_user_id): + """Sets the x_app_user_id of this ShowAssetReplicationInfoRequest. - @instance_id.setter - def instance_id(self, instance_id): - """Sets the instance_id of this DescribePermissionSetRequest. + 第三方用户ID。 > * 不允许输入中文。 - :param instance_id: The instance_id of this DescribePermissionSetRequest. - :type instance_id: str + :param x_app_user_id: The x_app_user_id of this ShowAssetReplicationInfoRequest. + :type x_app_user_id: str """ - self._instance_id = instance_id + self._x_app_user_id = x_app_user_id @property - def permission_set_id(self): - """Gets the permission_set_id of this DescribePermissionSetRequest. + def asset_id(self): + """Gets the asset_id of this ShowAssetReplicationInfoRequest. - :return: The permission_set_id of this DescribePermissionSetRequest. + 资产ID。 + + :return: The asset_id of this ShowAssetReplicationInfoRequest. :rtype: str """ - return self._permission_set_id + return self._asset_id + + @asset_id.setter + def asset_id(self, asset_id): + """Sets the asset_id of this ShowAssetReplicationInfoRequest. - @permission_set_id.setter - def permission_set_id(self, permission_set_id): - """Sets the permission_set_id of this DescribePermissionSetRequest. + 资产ID。 - :param permission_set_id: The permission_set_id of this DescribePermissionSetRequest. - :type permission_set_id: str + :param asset_id: The asset_id of this ShowAssetReplicationInfoRequest. + :type asset_id: str """ - self._permission_set_id = permission_set_id + self._asset_id = asset_id def to_dict(self): """Returns the model properties as a dict""" @@ -124,7 +133,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, DescribePermissionSetRequest): + if not isinstance(other, ShowAssetReplicationInfoRequest): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_asset_replication_info_response.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_asset_replication_info_response.py new file mode 100644 index 0000000000..40e0fe8336 --- /dev/null +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_asset_replication_info_response.py @@ -0,0 +1,195 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_response import SdkResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ShowAssetReplicationInfoResponse(SdkResponse): + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'asset_id': 'str', + 'asset_info': 'str', + 'encryption_info': 'ReplicationEncInfo', + 'x_request_id': 'str' + } + + attribute_map = { + 'asset_id': 'asset_id', + 'asset_info': 'asset_info', + 'encryption_info': 'encryption_info', + 'x_request_id': 'X-Request-Id' + } + + def __init__(self, asset_id=None, asset_info=None, encryption_info=None, x_request_id=None): + """ShowAssetReplicationInfoResponse + + The model defined in huaweicloud sdk + + :param asset_id: 资产ID。 + :type asset_id: str + :param asset_info: 加密后的资产信息。 + :type asset_info: str + :param encryption_info: + :type encryption_info: :class:`huaweicloudsdkmetastudio.v1.ReplicationEncInfo` + :param x_request_id: + :type x_request_id: str + """ + + super(ShowAssetReplicationInfoResponse, self).__init__() + + self._asset_id = None + self._asset_info = None + self._encryption_info = None + self._x_request_id = None + self.discriminator = None + + if asset_id is not None: + self.asset_id = asset_id + if asset_info is not None: + self.asset_info = asset_info + if encryption_info is not None: + self.encryption_info = encryption_info + if x_request_id is not None: + self.x_request_id = x_request_id + + @property + def asset_id(self): + """Gets the asset_id of this ShowAssetReplicationInfoResponse. + + 资产ID。 + + :return: The asset_id of this ShowAssetReplicationInfoResponse. + :rtype: str + """ + return self._asset_id + + @asset_id.setter + def asset_id(self, asset_id): + """Sets the asset_id of this ShowAssetReplicationInfoResponse. + + 资产ID。 + + :param asset_id: The asset_id of this ShowAssetReplicationInfoResponse. + :type asset_id: str + """ + self._asset_id = asset_id + + @property + def asset_info(self): + """Gets the asset_info of this ShowAssetReplicationInfoResponse. + + 加密后的资产信息。 + + :return: The asset_info of this ShowAssetReplicationInfoResponse. + :rtype: str + """ + return self._asset_info + + @asset_info.setter + def asset_info(self, asset_info): + """Sets the asset_info of this ShowAssetReplicationInfoResponse. + + 加密后的资产信息。 + + :param asset_info: The asset_info of this ShowAssetReplicationInfoResponse. + :type asset_info: str + """ + self._asset_info = asset_info + + @property + def encryption_info(self): + """Gets the encryption_info of this ShowAssetReplicationInfoResponse. + + :return: The encryption_info of this ShowAssetReplicationInfoResponse. + :rtype: :class:`huaweicloudsdkmetastudio.v1.ReplicationEncInfo` + """ + return self._encryption_info + + @encryption_info.setter + def encryption_info(self, encryption_info): + """Sets the encryption_info of this ShowAssetReplicationInfoResponse. + + :param encryption_info: The encryption_info of this ShowAssetReplicationInfoResponse. + :type encryption_info: :class:`huaweicloudsdkmetastudio.v1.ReplicationEncInfo` + """ + self._encryption_info = encryption_info + + @property + def x_request_id(self): + """Gets the x_request_id of this ShowAssetReplicationInfoResponse. + + :return: The x_request_id of this ShowAssetReplicationInfoResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this ShowAssetReplicationInfoResponse. + + :param x_request_id: The x_request_id of this ShowAssetReplicationInfoResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ShowAssetReplicationInfoResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_photo_digital_human_video_response.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_photo_digital_human_video_response.py index b6c2b731c7..9b5a4101c0 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_photo_digital_human_video_response.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_photo_digital_human_video_response.py @@ -62,7 +62,7 @@ def __init__(self, job_id=None, state=None, job_type=None, start_time=None, end_ :param job_id: 任务ID。 :type job_id: str - :param state: 任务的状态。 * WAITING:等待 * PROCESSING:处理中 * SUCCEED:成功 * FAILED:失败 * CANCELED:取消 + :param state: 任务的状态。 * WAITING:等待 * PROCESSING:处理中 * SUCCEED:成功 * FAILED:失败 * CANCELED:取消 * BLOCK: 冻结 :type state: str :param job_type: 任务类型。 * 2D_DIGITAL_HUMAN_VIDEO: 分身数字人视频制作任务 * PHOTO_DIGITAL_HUMAN_VIDEO: 照片数字人视频制作任务 :type job_type: str @@ -171,7 +171,7 @@ def job_id(self, job_id): def state(self): """Gets the state of this ShowPhotoDigitalHumanVideoResponse. - 任务的状态。 * WAITING:等待 * PROCESSING:处理中 * SUCCEED:成功 * FAILED:失败 * CANCELED:取消 + 任务的状态。 * WAITING:等待 * PROCESSING:处理中 * SUCCEED:成功 * FAILED:失败 * CANCELED:取消 * BLOCK: 冻结 :return: The state of this ShowPhotoDigitalHumanVideoResponse. :rtype: str @@ -182,7 +182,7 @@ def state(self): def state(self, state): """Sets the state of this ShowPhotoDigitalHumanVideoResponse. - 任务的状态。 * WAITING:等待 * PROCESSING:处理中 * SUCCEED:成功 * FAILED:失败 * CANCELED:取消 + 任务的状态。 * WAITING:等待 * PROCESSING:处理中 * SUCCEED:成功 * FAILED:失败 * CANCELED:取消 * BLOCK: 冻结 :param state: The state of this ShowPhotoDigitalHumanVideoResponse. :type state: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_smart_chat_job_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_smart_chat_job_request.py index bc4b05a052..7218c5f214 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_smart_chat_job_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_smart_chat_job_request.py @@ -35,7 +35,7 @@ def __init__(self, x_app_user_id=None, room_id=None, job_id=None): :param x_app_user_id: 开发者应用作为资产权属的可选字段。 :type x_app_user_id: str - :param room_id: 直播间ID,获取方法请参考[[创建智能交互对话直播间](https://support.huaweicloud.com/api-metastudio/CreateSmartChatRoom.html)](tag:hc,hk)[“创建智能交互对话直播间”](tag:cmcc)。 + :param room_id: 智能交互对话ID,获取方法请参考[[创建智能交互对话直播间](https://support.huaweicloud.com/api-metastudio/CreateSmartChatRoom.html)](tag:hc,hk)[“创建智能交互对话直播间”](tag:cmcc)。 :type room_id: str :param job_id: 任务ID。 :type job_id: str @@ -79,7 +79,7 @@ def x_app_user_id(self, x_app_user_id): def room_id(self): """Gets the room_id of this ShowSmartChatJobRequest. - 直播间ID,获取方法请参考[[创建智能交互对话直播间](https://support.huaweicloud.com/api-metastudio/CreateSmartChatRoom.html)](tag:hc,hk)[“创建智能交互对话直播间”](tag:cmcc)。 + 智能交互对话ID,获取方法请参考[[创建智能交互对话直播间](https://support.huaweicloud.com/api-metastudio/CreateSmartChatRoom.html)](tag:hc,hk)[“创建智能交互对话直播间”](tag:cmcc)。 :return: The room_id of this ShowSmartChatJobRequest. :rtype: str @@ -90,7 +90,7 @@ def room_id(self): def room_id(self, room_id): """Sets the room_id of this ShowSmartChatJobRequest. - 直播间ID,获取方法请参考[[创建智能交互对话直播间](https://support.huaweicloud.com/api-metastudio/CreateSmartChatRoom.html)](tag:hc,hk)[“创建智能交互对话直播间”](tag:cmcc)。 + 智能交互对话ID,获取方法请参考[[创建智能交互对话直播间](https://support.huaweicloud.com/api-metastudio/CreateSmartChatRoom.html)](tag:hc,hk)[“创建智能交互对话直播间”](tag:cmcc)。 :param room_id: The room_id of this ShowSmartChatJobRequest. :type room_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_smart_chat_room_response.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_smart_chat_room_response.py index 6e1e1dc13a..cd33859e89 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_smart_chat_room_response.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_smart_chat_room_response.py @@ -60,9 +60,9 @@ def __init__(self, room_name=None, room_description=None, video_config=None, mod The model defined in huaweicloud sdk - :param room_name: 直播间名称 + :param room_name: 对话名称 :type room_name: str - :param room_description: 直播间描述。 + :param room_description: 对话描述。 :type room_description: str :param video_config: :type video_config: :class:`huaweicloudsdkmetastudio.v1.VideoConfig` @@ -70,7 +70,7 @@ def __init__(self, room_name=None, room_description=None, video_config=None, mod :type model_asset_id: str :param voice_config: :type voice_config: :class:`huaweicloudsdkmetastudio.v1.VoiceConfig` - :param robot_id: 机器人ID。 + :param robot_id: 机器人ID。获取方法请参考[创建应用](CreateRobot.xml)。 :type robot_id: str :param concurrency: 并发路数。 :type concurrency: int @@ -82,13 +82,13 @@ def __init__(self, room_name=None, room_description=None, video_config=None, mod :type review_config: :class:`huaweicloudsdkmetastudio.v1.ReviewConfig` :param chat_subtitle_config: :type chat_subtitle_config: :class:`huaweicloudsdkmetastudio.v1.ChatSubtitleConfig` - :param room_id: 直播间ID + :param room_id: 对话ID。 :type room_id: str - :param create_time: 智能交互对话直播间创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + :param create_time: 智能交互对话创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 :type create_time: str - :param update_time: 智能交互对话直播间更新时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + :param update_time: 智能交互对话更新时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 :type update_time: str - :param cover_url: 直播间封面图URL + :param cover_url: 对话封面图URL :type cover_url: str :param x_request_id: :type x_request_id: str @@ -149,7 +149,7 @@ def __init__(self, room_name=None, room_description=None, video_config=None, mod def room_name(self): """Gets the room_name of this ShowSmartChatRoomResponse. - 直播间名称 + 对话名称 :return: The room_name of this ShowSmartChatRoomResponse. :rtype: str @@ -160,7 +160,7 @@ def room_name(self): def room_name(self, room_name): """Sets the room_name of this ShowSmartChatRoomResponse. - 直播间名称 + 对话名称 :param room_name: The room_name of this ShowSmartChatRoomResponse. :type room_name: str @@ -171,7 +171,7 @@ def room_name(self, room_name): def room_description(self): """Gets the room_description of this ShowSmartChatRoomResponse. - 直播间描述。 + 对话描述。 :return: The room_description of this ShowSmartChatRoomResponse. :rtype: str @@ -182,7 +182,7 @@ def room_description(self): def room_description(self, room_description): """Sets the room_description of this ShowSmartChatRoomResponse. - 直播间描述。 + 对话描述。 :param room_description: The room_description of this ShowSmartChatRoomResponse. :type room_description: str @@ -251,7 +251,7 @@ def voice_config(self, voice_config): def robot_id(self): """Gets the robot_id of this ShowSmartChatRoomResponse. - 机器人ID。 + 机器人ID。获取方法请参考[创建应用](CreateRobot.xml)。 :return: The robot_id of this ShowSmartChatRoomResponse. :rtype: str @@ -262,7 +262,7 @@ def robot_id(self): def robot_id(self, robot_id): """Sets the robot_id of this ShowSmartChatRoomResponse. - 机器人ID。 + 机器人ID。获取方法请参考[创建应用](CreateRobot.xml)。 :param robot_id: The robot_id of this ShowSmartChatRoomResponse. :type robot_id: str @@ -371,7 +371,7 @@ def chat_subtitle_config(self, chat_subtitle_config): def room_id(self): """Gets the room_id of this ShowSmartChatRoomResponse. - 直播间ID + 对话ID。 :return: The room_id of this ShowSmartChatRoomResponse. :rtype: str @@ -382,7 +382,7 @@ def room_id(self): def room_id(self, room_id): """Sets the room_id of this ShowSmartChatRoomResponse. - 直播间ID + 对话ID。 :param room_id: The room_id of this ShowSmartChatRoomResponse. :type room_id: str @@ -393,7 +393,7 @@ def room_id(self, room_id): def create_time(self): """Gets the create_time of this ShowSmartChatRoomResponse. - 智能交互对话直播间创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 智能交互对话创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 :return: The create_time of this ShowSmartChatRoomResponse. :rtype: str @@ -404,7 +404,7 @@ def create_time(self): def create_time(self, create_time): """Sets the create_time of this ShowSmartChatRoomResponse. - 智能交互对话直播间创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 智能交互对话创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 :param create_time: The create_time of this ShowSmartChatRoomResponse. :type create_time: str @@ -415,7 +415,7 @@ def create_time(self, create_time): def update_time(self): """Gets the update_time of this ShowSmartChatRoomResponse. - 智能交互对话直播间更新时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 智能交互对话更新时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 :return: The update_time of this ShowSmartChatRoomResponse. :rtype: str @@ -426,7 +426,7 @@ def update_time(self): def update_time(self, update_time): """Sets the update_time of this ShowSmartChatRoomResponse. - 智能交互对话直播间更新时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 智能交互对话更新时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 :param update_time: The update_time of this ShowSmartChatRoomResponse. :type update_time: str @@ -437,7 +437,7 @@ def update_time(self, update_time): def cover_url(self): """Gets the cover_url of this ShowSmartChatRoomResponse. - 直播间封面图URL + 对话封面图URL :return: The cover_url of this ShowSmartChatRoomResponse. :rtype: str @@ -448,7 +448,7 @@ def cover_url(self): def cover_url(self, cover_url): """Sets the cover_url of this ShowSmartChatRoomResponse. - 直播间封面图URL + 对话封面图URL :param cover_url: The cover_url of this ShowSmartChatRoomResponse. :type cover_url: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_smart_live_response.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_smart_live_response.py index a2fadfd456..75d04133a9 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_smart_live_response.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_smart_live_response.py @@ -34,6 +34,8 @@ class ShowSmartLiveResponse(SdkResponse): 'stream_duration': 'float', 'block_reason': 'str', 'cover_url': 'str', + 'co_streamer_config': 'CoStreamerConfig', + 'live_job_log': 'LiveJobLog', 'x_request_id': 'str' } @@ -54,10 +56,12 @@ class ShowSmartLiveResponse(SdkResponse): 'stream_duration': 'stream_duration', 'block_reason': 'block_reason', 'cover_url': 'cover_url', + 'co_streamer_config': 'co_streamer_config', + 'live_job_log': 'live_job_log', 'x_request_id': 'X-Request-Id' } - def __init__(self, job_id=None, room_id=None, room_name=None, state=None, duration=None, start_time=None, end_time=None, error_info=None, create_time=None, lastupdate_time=None, rtc_room_info=None, live_event_report_url=None, live_event_callback_config=None, stream_duration=None, block_reason=None, cover_url=None, x_request_id=None): + def __init__(self, job_id=None, room_id=None, room_name=None, state=None, duration=None, start_time=None, end_time=None, error_info=None, create_time=None, lastupdate_time=None, rtc_room_info=None, live_event_report_url=None, live_event_callback_config=None, stream_duration=None, block_reason=None, cover_url=None, co_streamer_config=None, live_job_log=None, x_request_id=None): """ShowSmartLiveResponse The model defined in huaweicloud sdk @@ -94,6 +98,10 @@ def __init__(self, job_id=None, room_id=None, room_name=None, state=None, durati :type block_reason: str :param cover_url: 直播间封面图UR :type cover_url: str + :param co_streamer_config: + :type co_streamer_config: :class:`huaweicloudsdkmetastudio.v1.CoStreamerConfig` + :param live_job_log: + :type live_job_log: :class:`huaweicloudsdkmetastudio.v1.LiveJobLog` :param x_request_id: :type x_request_id: str """ @@ -116,6 +124,8 @@ def __init__(self, job_id=None, room_id=None, room_name=None, state=None, durati self._stream_duration = None self._block_reason = None self._cover_url = None + self._co_streamer_config = None + self._live_job_log = None self._x_request_id = None self.discriminator = None @@ -151,6 +161,10 @@ def __init__(self, job_id=None, room_id=None, room_name=None, state=None, durati self.block_reason = block_reason if cover_url is not None: self.cover_url = cover_url + if co_streamer_config is not None: + self.co_streamer_config = co_streamer_config + if live_job_log is not None: + self.live_job_log = live_job_log if x_request_id is not None: self.x_request_id = x_request_id @@ -494,6 +508,42 @@ def cover_url(self, cover_url): """ self._cover_url = cover_url + @property + def co_streamer_config(self): + """Gets the co_streamer_config of this ShowSmartLiveResponse. + + :return: The co_streamer_config of this ShowSmartLiveResponse. + :rtype: :class:`huaweicloudsdkmetastudio.v1.CoStreamerConfig` + """ + return self._co_streamer_config + + @co_streamer_config.setter + def co_streamer_config(self, co_streamer_config): + """Sets the co_streamer_config of this ShowSmartLiveResponse. + + :param co_streamer_config: The co_streamer_config of this ShowSmartLiveResponse. + :type co_streamer_config: :class:`huaweicloudsdkmetastudio.v1.CoStreamerConfig` + """ + self._co_streamer_config = co_streamer_config + + @property + def live_job_log(self): + """Gets the live_job_log of this ShowSmartLiveResponse. + + :return: The live_job_log of this ShowSmartLiveResponse. + :rtype: :class:`huaweicloudsdkmetastudio.v1.LiveJobLog` + """ + return self._live_job_log + + @live_job_log.setter + def live_job_log(self, live_job_log): + """Sets the live_job_log of this ShowSmartLiveResponse. + + :param live_job_log: The live_job_log of this ShowSmartLiveResponse. + :type live_job_log: :class:`huaweicloudsdkmetastudio.v1.LiveJobLog` + """ + self._live_job_log = live_job_log + @property def x_request_id(self): """Gets the x_request_id of this ShowSmartLiveResponse. diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_smart_live_room_response.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_smart_live_room_response.py index c38b36bf1b..7534695f9e 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_smart_live_room_response.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_smart_live_room_response.py @@ -32,10 +32,12 @@ class ShowSmartLiveRoomResponse(SdkResponse): 'review_config': 'ReviewConfig', 'shared_config': 'SharedConfig', 'view_mode': 'str', + 'co_streamer_config': 'CoStreamerConfig', 'room_id': 'str', 'create_time': 'str', 'update_time': 'str', 'cover_url': 'str', + 'thumbnail': 'str', 'room_state': 'str', 'error_info': 'ErrorResponse', 'x_request_id': 'str' @@ -56,16 +58,18 @@ class ShowSmartLiveRoomResponse(SdkResponse): 'review_config': 'review_config', 'shared_config': 'shared_config', 'view_mode': 'view_mode', + 'co_streamer_config': 'co_streamer_config', 'room_id': 'room_id', 'create_time': 'create_time', 'update_time': 'update_time', 'cover_url': 'cover_url', + 'thumbnail': 'thumbnail', 'room_state': 'room_state', 'error_info': 'error_info', 'x_request_id': 'X-Request-Id' } - def __init__(self, room_name=None, room_description=None, room_type=None, scene_scripts=None, interaction_rules=None, play_policy=None, video_config=None, output_urls=None, stream_keys=None, backup_model_asset_ids=None, live_event_callback_config=None, review_config=None, shared_config=None, view_mode=None, room_id=None, create_time=None, update_time=None, cover_url=None, room_state=None, error_info=None, x_request_id=None): + def __init__(self, room_name=None, room_description=None, room_type=None, scene_scripts=None, interaction_rules=None, play_policy=None, video_config=None, output_urls=None, stream_keys=None, backup_model_asset_ids=None, live_event_callback_config=None, review_config=None, shared_config=None, view_mode=None, co_streamer_config=None, room_id=None, create_time=None, update_time=None, cover_url=None, thumbnail=None, room_state=None, error_info=None, x_request_id=None): """ShowSmartLiveRoomResponse The model defined in huaweicloud sdk @@ -98,6 +102,8 @@ def __init__(self, room_name=None, room_description=None, room_type=None, scene_ :type shared_config: :class:`huaweicloudsdkmetastudio.v1.SharedConfig` :param view_mode: 横竖屏类型。默认值为:VERTICAL。 * LANDSCAPE:横屏。 * VERTICAL: 竖屏。 :type view_mode: str + :param co_streamer_config: + :type co_streamer_config: :class:`huaweicloudsdkmetastudio.v1.CoStreamerConfig` :param room_id: 直播间ID :type room_id: str :param create_time: 直播间创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 @@ -106,6 +112,8 @@ def __init__(self, room_name=None, room_description=None, room_type=None, scene_ :type update_time: str :param cover_url: 直播间封面图URL :type cover_url: str + :param thumbnail: 直播间封面图新URL + :type thumbnail: str :param room_state: 直播间配置状态。 - ENABLE: 直播间正常可用。 - DISABLE: 直播间不可用。不可用原因在error_info中说明。 - BLOCKED:直播间被冻结。冻结原因在error_info中说明。 :type room_state: str :param error_info: @@ -130,10 +138,12 @@ def __init__(self, room_name=None, room_description=None, room_type=None, scene_ self._review_config = None self._shared_config = None self._view_mode = None + self._co_streamer_config = None self._room_id = None self._create_time = None self._update_time = None self._cover_url = None + self._thumbnail = None self._room_state = None self._error_info = None self._x_request_id = None @@ -166,6 +176,8 @@ def __init__(self, room_name=None, room_description=None, room_type=None, scene_ self.shared_config = shared_config if view_mode is not None: self.view_mode = view_mode + if co_streamer_config is not None: + self.co_streamer_config = co_streamer_config if room_id is not None: self.room_id = room_id if create_time is not None: @@ -174,6 +186,8 @@ def __init__(self, room_name=None, room_description=None, room_type=None, scene_ self.update_time = update_time if cover_url is not None: self.cover_url = cover_url + if thumbnail is not None: + self.thumbnail = thumbnail if room_state is not None: self.room_state = room_state if error_info is not None: @@ -469,6 +483,24 @@ def view_mode(self, view_mode): """ self._view_mode = view_mode + @property + def co_streamer_config(self): + """Gets the co_streamer_config of this ShowSmartLiveRoomResponse. + + :return: The co_streamer_config of this ShowSmartLiveRoomResponse. + :rtype: :class:`huaweicloudsdkmetastudio.v1.CoStreamerConfig` + """ + return self._co_streamer_config + + @co_streamer_config.setter + def co_streamer_config(self, co_streamer_config): + """Sets the co_streamer_config of this ShowSmartLiveRoomResponse. + + :param co_streamer_config: The co_streamer_config of this ShowSmartLiveRoomResponse. + :type co_streamer_config: :class:`huaweicloudsdkmetastudio.v1.CoStreamerConfig` + """ + self._co_streamer_config = co_streamer_config + @property def room_id(self): """Gets the room_id of this ShowSmartLiveRoomResponse. @@ -557,6 +589,28 @@ def cover_url(self, cover_url): """ self._cover_url = cover_url + @property + def thumbnail(self): + """Gets the thumbnail of this ShowSmartLiveRoomResponse. + + 直播间封面图新URL + + :return: The thumbnail of this ShowSmartLiveRoomResponse. + :rtype: str + """ + return self._thumbnail + + @thumbnail.setter + def thumbnail(self, thumbnail): + """Sets the thumbnail of this ShowSmartLiveRoomResponse. + + 直播间封面图新URL + + :param thumbnail: The thumbnail of this ShowSmartLiveRoomResponse. + :type thumbnail: str + """ + self._thumbnail = thumbnail + @property def room_state(self): """Gets the room_state of this ShowSmartLiveRoomResponse. diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_voice_training_job_response.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_voice_training_job_response.py index 7e80a83cc3..410a411bf6 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_voice_training_job_response.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_voice_training_job_response.py @@ -25,6 +25,7 @@ class ShowVoiceTrainingJobResponse(SdkResponse): 'sex': 'str', 'language': 'str', 'state': 'JobState', + 'reject_times': 'int', 'asset_id': 'str', 'job_failed_code': 'str', 'job_failed_reason': 'str', @@ -43,6 +44,7 @@ class ShowVoiceTrainingJobResponse(SdkResponse): 'sex': 'sex', 'language': 'language', 'state': 'state', + 'reject_times': 'reject_times', 'asset_id': 'asset_id', 'job_failed_code': 'job_failed_code', 'job_failed_reason': 'job_failed_reason', @@ -53,7 +55,7 @@ class ShowVoiceTrainingJobResponse(SdkResponse): 'tag': 'tag' } - def __init__(self, job_type=None, job_id=None, app_user_id=None, voice_name=None, sex=None, language=None, state=None, asset_id=None, job_failed_code=None, job_failed_reason=None, create_time=None, lastupdate_time=None, voice_authorization_url=None, create_type=None, tag=None): + def __init__(self, job_type=None, job_id=None, app_user_id=None, voice_name=None, sex=None, language=None, state=None, reject_times=None, asset_id=None, job_failed_code=None, job_failed_reason=None, create_time=None, lastupdate_time=None, voice_authorization_url=None, create_type=None, tag=None): """ShowVoiceTrainingJobResponse The model defined in huaweicloud sdk @@ -72,6 +74,8 @@ def __init__(self, job_type=None, job_id=None, app_user_id=None, voice_name=None :type language: str :param state: :type state: :class:`huaweicloudsdkmetastudio.v1.JobState` + :param reject_times: 本次任务中该状态出现的次数 + :type reject_times: int :param asset_id: 当任务状态为成功时呈现,音色模型在资产库中的id。 :type asset_id: str :param job_failed_code: 当任务失败时呈现,失败错误码。 @@ -99,6 +103,7 @@ def __init__(self, job_type=None, job_id=None, app_user_id=None, voice_name=None self._sex = None self._language = None self._state = None + self._reject_times = None self._asset_id = None self._job_failed_code = None self._job_failed_reason = None @@ -123,6 +128,8 @@ def __init__(self, job_type=None, job_id=None, app_user_id=None, voice_name=None self.language = language if state is not None: self.state = state + if reject_times is not None: + self.reject_times = reject_times if asset_id is not None: self.asset_id = asset_id if job_failed_code is not None: @@ -286,6 +293,28 @@ def state(self, state): """ self._state = state + @property + def reject_times(self): + """Gets the reject_times of this ShowVoiceTrainingJobResponse. + + 本次任务中该状态出现的次数 + + :return: The reject_times of this ShowVoiceTrainingJobResponse. + :rtype: int + """ + return self._reject_times + + @reject_times.setter + def reject_times(self, reject_times): + """Sets the reject_times of this ShowVoiceTrainingJobResponse. + + 本次任务中该状态出现的次数 + + :param reject_times: The reject_times of this ShowVoiceTrainingJobResponse. + :type reject_times: int + """ + self._reject_times = reject_times + @property def asset_id(self): """Gets the asset_id of this ShowVoiceTrainingJobResponse. diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/smart_chat_room_base_info.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/smart_chat_room_base_info.py index 867111114a..dc1ae549e2 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/smart_chat_room_base_info.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/smart_chat_room_base_info.py @@ -24,6 +24,7 @@ class SmartChatRoomBaseInfo: 'cover_url': 'str', 'model_infos': 'ModelInfo', 'voice_config': 'VoiceConfig', + 'concurrency': 'int', 'create_time': 'str', 'update_time': 'str' } @@ -36,29 +37,32 @@ class SmartChatRoomBaseInfo: 'cover_url': 'cover_url', 'model_infos': 'model_infos', 'voice_config': 'voice_config', + 'concurrency': 'concurrency', 'create_time': 'create_time', 'update_time': 'update_time' } - def __init__(self, room_id=None, room_name=None, room_description=None, robot_id=None, cover_url=None, model_infos=None, voice_config=None, create_time=None, update_time=None): + def __init__(self, room_id=None, room_name=None, room_description=None, robot_id=None, cover_url=None, model_infos=None, voice_config=None, concurrency=None, create_time=None, update_time=None): """SmartChatRoomBaseInfo The model defined in huaweicloud sdk - :param room_id: 智能交互对话直播间ID + :param room_id: 智能交互对话ID :type room_id: str - :param room_name: 智能交互对话直播间名称 + :param room_name: 智能交互对话名称 :type room_name: str - :param room_description: 智能交互对话直播间描述。 + :param room_description: 智能交互对话描述。 :type room_description: str :param robot_id: 机器人ID。 :type robot_id: str - :param cover_url: 直播间封面图URL + :param cover_url: 对话封面图URL :type cover_url: str :param model_infos: :type model_infos: :class:`huaweicloudsdkmetastudio.v1.ModelInfo` :param voice_config: :type voice_config: :class:`huaweicloudsdkmetastudio.v1.VoiceConfig` + :param concurrency: 并发路数。 + :type concurrency: int :param create_time: 创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 :type create_time: str :param update_time: 更新时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 @@ -74,6 +78,7 @@ def __init__(self, room_id=None, room_name=None, room_description=None, robot_id self._cover_url = None self._model_infos = None self._voice_config = None + self._concurrency = None self._create_time = None self._update_time = None self.discriminator = None @@ -92,6 +97,8 @@ def __init__(self, room_id=None, room_name=None, room_description=None, robot_id self.model_infos = model_infos if voice_config is not None: self.voice_config = voice_config + if concurrency is not None: + self.concurrency = concurrency if create_time is not None: self.create_time = create_time if update_time is not None: @@ -101,7 +108,7 @@ def __init__(self, room_id=None, room_name=None, room_description=None, robot_id def room_id(self): """Gets the room_id of this SmartChatRoomBaseInfo. - 智能交互对话直播间ID + 智能交互对话ID :return: The room_id of this SmartChatRoomBaseInfo. :rtype: str @@ -112,7 +119,7 @@ def room_id(self): def room_id(self, room_id): """Sets the room_id of this SmartChatRoomBaseInfo. - 智能交互对话直播间ID + 智能交互对话ID :param room_id: The room_id of this SmartChatRoomBaseInfo. :type room_id: str @@ -123,7 +130,7 @@ def room_id(self, room_id): def room_name(self): """Gets the room_name of this SmartChatRoomBaseInfo. - 智能交互对话直播间名称 + 智能交互对话名称 :return: The room_name of this SmartChatRoomBaseInfo. :rtype: str @@ -134,7 +141,7 @@ def room_name(self): def room_name(self, room_name): """Sets the room_name of this SmartChatRoomBaseInfo. - 智能交互对话直播间名称 + 智能交互对话名称 :param room_name: The room_name of this SmartChatRoomBaseInfo. :type room_name: str @@ -145,7 +152,7 @@ def room_name(self, room_name): def room_description(self): """Gets the room_description of this SmartChatRoomBaseInfo. - 智能交互对话直播间描述。 + 智能交互对话描述。 :return: The room_description of this SmartChatRoomBaseInfo. :rtype: str @@ -156,7 +163,7 @@ def room_description(self): def room_description(self, room_description): """Sets the room_description of this SmartChatRoomBaseInfo. - 智能交互对话直播间描述。 + 智能交互对话描述。 :param room_description: The room_description of this SmartChatRoomBaseInfo. :type room_description: str @@ -189,7 +196,7 @@ def robot_id(self, robot_id): def cover_url(self): """Gets the cover_url of this SmartChatRoomBaseInfo. - 直播间封面图URL + 对话封面图URL :return: The cover_url of this SmartChatRoomBaseInfo. :rtype: str @@ -200,7 +207,7 @@ def cover_url(self): def cover_url(self, cover_url): """Sets the cover_url of this SmartChatRoomBaseInfo. - 直播间封面图URL + 对话封面图URL :param cover_url: The cover_url of this SmartChatRoomBaseInfo. :type cover_url: str @@ -243,6 +250,28 @@ def voice_config(self, voice_config): """ self._voice_config = voice_config + @property + def concurrency(self): + """Gets the concurrency of this SmartChatRoomBaseInfo. + + 并发路数。 + + :return: The concurrency of this SmartChatRoomBaseInfo. + :rtype: int + """ + return self._concurrency + + @concurrency.setter + def concurrency(self, concurrency): + """Sets the concurrency of this SmartChatRoomBaseInfo. + + 并发路数。 + + :param concurrency: The concurrency of this SmartChatRoomBaseInfo. + :type concurrency: int + """ + self._concurrency = concurrency + @property def create_time(self): """Gets the create_time of this SmartChatRoomBaseInfo. diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/smart_live_job.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/smart_live_job.py index bb241b4504..19dfe761f2 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/smart_live_job.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/smart_live_job.py @@ -32,7 +32,9 @@ class SmartLiveJob: 'live_event_callback_config': 'LiveEventCallBackConfig', 'stream_duration': 'float', 'block_reason': 'str', - 'cover_url': 'str' + 'cover_url': 'str', + 'co_streamer_config': 'CoStreamerConfig', + 'live_job_log': 'LiveJobLog' } attribute_map = { @@ -51,10 +53,12 @@ class SmartLiveJob: 'live_event_callback_config': 'live_event_callback_config', 'stream_duration': 'stream_duration', 'block_reason': 'block_reason', - 'cover_url': 'cover_url' + 'cover_url': 'cover_url', + 'co_streamer_config': 'co_streamer_config', + 'live_job_log': 'live_job_log' } - def __init__(self, job_id=None, room_id=None, room_name=None, state=None, duration=None, start_time=None, end_time=None, error_info=None, create_time=None, lastupdate_time=None, rtc_room_info=None, live_event_report_url=None, live_event_callback_config=None, stream_duration=None, block_reason=None, cover_url=None): + def __init__(self, job_id=None, room_id=None, room_name=None, state=None, duration=None, start_time=None, end_time=None, error_info=None, create_time=None, lastupdate_time=None, rtc_room_info=None, live_event_report_url=None, live_event_callback_config=None, stream_duration=None, block_reason=None, cover_url=None, co_streamer_config=None, live_job_log=None): """SmartLiveJob The model defined in huaweicloud sdk @@ -91,6 +95,10 @@ def __init__(self, job_id=None, room_id=None, room_name=None, state=None, durati :type block_reason: str :param cover_url: 直播间封面图UR :type cover_url: str + :param co_streamer_config: + :type co_streamer_config: :class:`huaweicloudsdkmetastudio.v1.CoStreamerConfig` + :param live_job_log: + :type live_job_log: :class:`huaweicloudsdkmetastudio.v1.LiveJobLog` """ @@ -111,6 +119,8 @@ def __init__(self, job_id=None, room_id=None, room_name=None, state=None, durati self._stream_duration = None self._block_reason = None self._cover_url = None + self._co_streamer_config = None + self._live_job_log = None self.discriminator = None if job_id is not None: @@ -145,6 +155,10 @@ def __init__(self, job_id=None, room_id=None, room_name=None, state=None, durati self.block_reason = block_reason if cover_url is not None: self.cover_url = cover_url + if co_streamer_config is not None: + self.co_streamer_config = co_streamer_config + if live_job_log is not None: + self.live_job_log = live_job_log @property def job_id(self): @@ -486,6 +500,42 @@ def cover_url(self, cover_url): """ self._cover_url = cover_url + @property + def co_streamer_config(self): + """Gets the co_streamer_config of this SmartLiveJob. + + :return: The co_streamer_config of this SmartLiveJob. + :rtype: :class:`huaweicloudsdkmetastudio.v1.CoStreamerConfig` + """ + return self._co_streamer_config + + @co_streamer_config.setter + def co_streamer_config(self, co_streamer_config): + """Sets the co_streamer_config of this SmartLiveJob. + + :param co_streamer_config: The co_streamer_config of this SmartLiveJob. + :type co_streamer_config: :class:`huaweicloudsdkmetastudio.v1.CoStreamerConfig` + """ + self._co_streamer_config = co_streamer_config + + @property + def live_job_log(self): + """Gets the live_job_log of this SmartLiveJob. + + :return: The live_job_log of this SmartLiveJob. + :rtype: :class:`huaweicloudsdkmetastudio.v1.LiveJobLog` + """ + return self._live_job_log + + @live_job_log.setter + def live_job_log(self, live_job_log): + """Sets the live_job_log of this SmartLiveJob. + + :param live_job_log: The live_job_log of this SmartLiveJob. + :type live_job_log: :class:`huaweicloudsdkmetastudio.v1.LiveJobLog` + """ + self._live_job_log = live_job_log + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/smart_live_room_base_info.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/smart_live_room_base_info.py index dc4cff9ce4..50df06f644 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/smart_live_room_base_info.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/smart_live_room_base_info.py @@ -22,10 +22,12 @@ class SmartLiveRoomBaseInfo: 'room_name': 'str', 'room_type': 'str', 'room_state': 'str', + 'view_mode': 'str', 'error_info': 'ErrorResponse', 'shared_config': 'SharedConfig', 'room_description': 'str', 'cover_url': 'str', + 'thumbnail': 'str', 'model_infos': 'list[ModelInfo]', 'create_time': 'str', 'update_time': 'str', @@ -40,10 +42,12 @@ class SmartLiveRoomBaseInfo: 'room_name': 'room_name', 'room_type': 'room_type', 'room_state': 'room_state', + 'view_mode': 'view_mode', 'error_info': 'error_info', 'shared_config': 'shared_config', 'room_description': 'room_description', 'cover_url': 'cover_url', + 'thumbnail': 'thumbnail', 'model_infos': 'model_infos', 'create_time': 'create_time', 'update_time': 'update_time', @@ -52,7 +56,7 @@ class SmartLiveRoomBaseInfo: 'last_job_status': 'last_job_status' } - def __init__(self, room_id=None, project_id=None, room_name=None, room_type=None, room_state=None, error_info=None, shared_config=None, room_description=None, cover_url=None, model_infos=None, create_time=None, update_time=None, last_job_start_time=None, last_job_end_time=None, last_job_status=None): + def __init__(self, room_id=None, project_id=None, room_name=None, room_type=None, room_state=None, view_mode=None, error_info=None, shared_config=None, room_description=None, cover_url=None, thumbnail=None, model_infos=None, create_time=None, update_time=None, last_job_start_time=None, last_job_end_time=None, last_job_status=None): """SmartLiveRoomBaseInfo The model defined in huaweicloud sdk @@ -67,6 +71,8 @@ def __init__(self, room_id=None, project_id=None, room_name=None, room_type=None :type room_type: str :param room_state: 直播间配置状态。 - ENABLE: 直播间正常可用。 - DISABLE: 直播间不可用。不可用原因在error_info中说明。 - BLOCKED:直播间被冻结。冻结原因在error_info中说明。 :type room_state: str + :param view_mode: 横竖屏类型。默认值为:VERTICAL。 * LANDSCAPE:横屏。 * VERTICAL: 竖屏。 + :type view_mode: str :param error_info: :type error_info: :class:`huaweicloudsdkmetastudio.v1.ErrorResponse` :param shared_config: @@ -75,6 +81,8 @@ def __init__(self, room_id=None, project_id=None, room_name=None, room_type=None :type room_description: str :param cover_url: 直播间封面图URL :type cover_url: str + :param thumbnail: 直播间封面图URL + :type thumbnail: str :param model_infos: 数字人模型信息 :type model_infos: list[:class:`huaweicloudsdkmetastudio.v1.ModelInfo`] :param create_time: 创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 @@ -96,10 +104,12 @@ def __init__(self, room_id=None, project_id=None, room_name=None, room_type=None self._room_name = None self._room_type = None self._room_state = None + self._view_mode = None self._error_info = None self._shared_config = None self._room_description = None self._cover_url = None + self._thumbnail = None self._model_infos = None self._create_time = None self._update_time = None @@ -118,6 +128,8 @@ def __init__(self, room_id=None, project_id=None, room_name=None, room_type=None self.room_type = room_type if room_state is not None: self.room_state = room_state + if view_mode is not None: + self.view_mode = view_mode if error_info is not None: self.error_info = error_info if shared_config is not None: @@ -126,6 +138,8 @@ def __init__(self, room_id=None, project_id=None, room_name=None, room_type=None self.room_description = room_description if cover_url is not None: self.cover_url = cover_url + if thumbnail is not None: + self.thumbnail = thumbnail if model_infos is not None: self.model_infos = model_infos if create_time is not None: @@ -249,6 +263,28 @@ def room_state(self, room_state): """ self._room_state = room_state + @property + def view_mode(self): + """Gets the view_mode of this SmartLiveRoomBaseInfo. + + 横竖屏类型。默认值为:VERTICAL。 * LANDSCAPE:横屏。 * VERTICAL: 竖屏。 + + :return: The view_mode of this SmartLiveRoomBaseInfo. + :rtype: str + """ + return self._view_mode + + @view_mode.setter + def view_mode(self, view_mode): + """Sets the view_mode of this SmartLiveRoomBaseInfo. + + 横竖屏类型。默认值为:VERTICAL。 * LANDSCAPE:横屏。 * VERTICAL: 竖屏。 + + :param view_mode: The view_mode of this SmartLiveRoomBaseInfo. + :type view_mode: str + """ + self._view_mode = view_mode + @property def error_info(self): """Gets the error_info of this SmartLiveRoomBaseInfo. @@ -329,6 +365,28 @@ def cover_url(self, cover_url): """ self._cover_url = cover_url + @property + def thumbnail(self): + """Gets the thumbnail of this SmartLiveRoomBaseInfo. + + 直播间封面图URL + + :return: The thumbnail of this SmartLiveRoomBaseInfo. + :rtype: str + """ + return self._thumbnail + + @thumbnail.setter + def thumbnail(self, thumbnail): + """Sets the thumbnail of this SmartLiveRoomBaseInfo. + + 直播间封面图URL + + :param thumbnail: The thumbnail of this SmartLiveRoomBaseInfo. + :type thumbnail: str + """ + self._thumbnail = thumbnail + @property def model_infos(self): """Gets the model_infos of this SmartLiveRoomBaseInfo. diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/start_smart_chat_job_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/start_smart_chat_job_request.py index 15c09ccdb9..89a86fba88 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/start_smart_chat_job_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/start_smart_chat_job_request.py @@ -35,7 +35,7 @@ def __init__(self, x_app_user_id=None, room_id=None, robot_id=None): :param x_app_user_id: 开发者应用作为资产权属的可选字段。 :type x_app_user_id: str - :param room_id: 直播间ID,获取方法请参考[[创建智能交互对话直播间](https://support.huaweicloud.com/api-metastudio/CreateSmartChatRoom.html)](tag:hc,hk)[“创建智能交互对话直播间”](tag:cmcc)。 + :param room_id: 智能交互对话ID,获取方法请参考[[创建智能交互对话直播间](https://support.huaweicloud.com/api-metastudio/CreateSmartChatRoom.html)](tag:hc,hk)[“创建智能交互对话直播间”](tag:cmcc)。 :type room_id: str :param robot_id: 应用ID,获取方法请参考[[创建应用](https://support.huaweicloud.com/api-metastudio/CreateRobot.html)](tag:hc,hk)[“创建应用”](tag:cmcc)。 :type robot_id: str @@ -79,7 +79,7 @@ def x_app_user_id(self, x_app_user_id): def room_id(self): """Gets the room_id of this StartSmartChatJobRequest. - 直播间ID,获取方法请参考[[创建智能交互对话直播间](https://support.huaweicloud.com/api-metastudio/CreateSmartChatRoom.html)](tag:hc,hk)[“创建智能交互对话直播间”](tag:cmcc)。 + 智能交互对话ID,获取方法请参考[[创建智能交互对话直播间](https://support.huaweicloud.com/api-metastudio/CreateSmartChatRoom.html)](tag:hc,hk)[“创建智能交互对话直播间”](tag:cmcc)。 :return: The room_id of this StartSmartChatJobRequest. :rtype: str @@ -90,7 +90,7 @@ def room_id(self): def room_id(self, room_id): """Sets the room_id of this StartSmartChatJobRequest. - 直播间ID,获取方法请参考[[创建智能交互对话直播间](https://support.huaweicloud.com/api-metastudio/CreateSmartChatRoom.html)](tag:hc,hk)[“创建智能交互对话直播间”](tag:cmcc)。 + 智能交互对话ID,获取方法请参考[[创建智能交互对话直播间](https://support.huaweicloud.com/api-metastudio/CreateSmartChatRoom.html)](tag:hc,hk)[“创建智能交互对话直播间”](tag:cmcc)。 :param room_id: The room_id of this StartSmartChatJobRequest. :type room_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/start_smart_live_req.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/start_smart_live_req.py index e609f1c6a2..9f3782ce68 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/start_smart_live_req.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/start_smart_live_req.py @@ -23,7 +23,8 @@ class StartSmartLiveReq: 'stream_keys': 'list[str]', 'interaction_callback_url': 'str', 'live_event_callback_config': 'LiveEventCallBackConfig', - 'view_mode': 'str' + 'view_mode': 'str', + 'co_streamer_config': 'CoStreamerConfig' } attribute_map = { @@ -33,10 +34,11 @@ class StartSmartLiveReq: 'stream_keys': 'stream_keys', 'interaction_callback_url': 'interaction_callback_url', 'live_event_callback_config': 'live_event_callback_config', - 'view_mode': 'view_mode' + 'view_mode': 'view_mode', + 'co_streamer_config': 'co_streamer_config' } - def __init__(self, video_config=None, play_policy=None, output_urls=None, stream_keys=None, interaction_callback_url=None, live_event_callback_config=None, view_mode=None): + def __init__(self, video_config=None, play_policy=None, output_urls=None, stream_keys=None, interaction_callback_url=None, live_event_callback_config=None, view_mode=None, co_streamer_config=None): """StartSmartLiveReq The model defined in huaweicloud sdk @@ -55,6 +57,8 @@ def __init__(self, video_config=None, play_policy=None, output_urls=None, stream :type live_event_callback_config: :class:`huaweicloudsdkmetastudio.v1.LiveEventCallBackConfig` :param view_mode: 横竖屏类型。默认值为:VERTICAL。 * LANDSCAPE:横屏。 * VERTICAL: 竖屏。 :type view_mode: str + :param co_streamer_config: + :type co_streamer_config: :class:`huaweicloudsdkmetastudio.v1.CoStreamerConfig` """ @@ -66,6 +70,7 @@ def __init__(self, video_config=None, play_policy=None, output_urls=None, stream self._interaction_callback_url = None self._live_event_callback_config = None self._view_mode = None + self._co_streamer_config = None self.discriminator = None if video_config is not None: @@ -82,6 +87,8 @@ def __init__(self, video_config=None, play_policy=None, output_urls=None, stream self.live_event_callback_config = live_event_callback_config if view_mode is not None: self.view_mode = view_mode + if co_streamer_config is not None: + self.co_streamer_config = co_streamer_config @property def video_config(self): @@ -225,6 +232,24 @@ def view_mode(self, view_mode): """ self._view_mode = view_mode + @property + def co_streamer_config(self): + """Gets the co_streamer_config of this StartSmartLiveReq. + + :return: The co_streamer_config of this StartSmartLiveReq. + :rtype: :class:`huaweicloudsdkmetastudio.v1.CoStreamerConfig` + """ + return self._co_streamer_config + + @co_streamer_config.setter + def co_streamer_config(self, co_streamer_config): + """Sets the co_streamer_config of this StartSmartLiveReq. + + :param co_streamer_config: The co_streamer_config of this StartSmartLiveReq. + :type co_streamer_config: :class:`huaweicloudsdkmetastudio.v1.CoStreamerConfig` + """ + self._co_streamer_config = co_streamer_config + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/stop_smart_chat_job_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/stop_smart_chat_job_request.py index 5ac79a23e3..0378971afd 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/stop_smart_chat_job_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/stop_smart_chat_job_request.py @@ -35,7 +35,7 @@ def __init__(self, x_app_user_id=None, room_id=None, job_id=None): :param x_app_user_id: 开发者应用作为资产权属的可选字段。 :type x_app_user_id: str - :param room_id: 直播间ID,获取方法请参考[[创建智能交互对话直播间](https://support.huaweicloud.com/api-metastudio/CreateSmartChatRoom.html)](tag:hc,hk)[“创建智能交互对话直播间”](tag:cmcc)。 + :param room_id: 智能交互对话ID,获取方法请参考[[创建智能交互对话直播间](https://support.huaweicloud.com/api-metastudio/CreateSmartChatRoom.html)](tag:hc,hk)[“创建智能交互对话直播间”](tag:cmcc)。 :type room_id: str :param job_id: 任务ID。 :type job_id: str @@ -79,7 +79,7 @@ def x_app_user_id(self, x_app_user_id): def room_id(self): """Gets the room_id of this StopSmartChatJobRequest. - 直播间ID,获取方法请参考[[创建智能交互对话直播间](https://support.huaweicloud.com/api-metastudio/CreateSmartChatRoom.html)](tag:hc,hk)[“创建智能交互对话直播间”](tag:cmcc)。 + 智能交互对话ID,获取方法请参考[[创建智能交互对话直播间](https://support.huaweicloud.com/api-metastudio/CreateSmartChatRoom.html)](tag:hc,hk)[“创建智能交互对话直播间”](tag:cmcc)。 :return: The room_id of this StopSmartChatJobRequest. :rtype: str @@ -90,7 +90,7 @@ def room_id(self): def room_id(self, room_id): """Sets the room_id of this StopSmartChatJobRequest. - 直播间ID,获取方法请参考[[创建智能交互对话直播间](https://support.huaweicloud.com/api-metastudio/CreateSmartChatRoom.html)](tag:hc,hk)[“创建智能交互对话直播间”](tag:cmcc)。 + 智能交互对话ID,获取方法请参考[[创建智能交互对话直播间](https://support.huaweicloud.com/api-metastudio/CreateSmartChatRoom.html)](tag:hc,hk)[“创建智能交互对话直播间”](tag:cmcc)。 :param room_id: The room_id of this StopSmartChatJobRequest. :type room_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/subtitle_config.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/subtitle_config.py index c05f113d3d..29aab3e3fa 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/subtitle_config.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/subtitle_config.py @@ -39,15 +39,15 @@ def __init__(self, dx=None, dy=None, font_name=None, font_size=None, h=None, w=N The model defined in huaweicloud sdk - :param dx: 字幕左上角像素点坐标。 > *横屏(16:9)视频像素为1920x1080;竖屏(9:16)视频像素为1080x1920。 + :param dx: 字幕框左下角像素点坐标。 > *横屏(16:9)视频像素为1920x1080;竖屏(9:16)视频像素为1080x1920。 :type dx: int - :param dy: 字幕左上角像素点坐标。 > *横屏(16:9)视频像素为1920x1080;竖屏(9:16)视频像素为1080x1920。 + :param dy: 字幕框左下角像素点坐标。 > *横屏(16:9)视频像素为1920x1080;竖屏(9:16)视频像素为1080x1920。 :type dy: int :param font_name: 字体。当前支持的字体: * HarmonyOS_Sans_SC_Black:鸿蒙粗体 * HarmonyOS_Sans_SC_Regular:鸿蒙常规 * HarmonyOS_Sans_SC_Thin:鸿蒙细体 :type font_name: str :param font_size: 字体大小。 取值范围:[4, 120] :type font_size: int - :param h: 字幕框高度 + :param h: 字幕框高度 > * 字幕框宽度固定为屏幕宽度的80% > * 参数h用于方便前端计算字幕框左上角坐标,后台不使用该参数 :type h: int :param w: 字幕框宽度 :type w: int @@ -80,7 +80,7 @@ def __init__(self, dx=None, dy=None, font_name=None, font_size=None, h=None, w=N def dx(self): """Gets the dx of this SubtitleConfig. - 字幕左上角像素点坐标。 > *横屏(16:9)视频像素为1920x1080;竖屏(9:16)视频像素为1080x1920。 + 字幕框左下角像素点坐标。 > *横屏(16:9)视频像素为1920x1080;竖屏(9:16)视频像素为1080x1920。 :return: The dx of this SubtitleConfig. :rtype: int @@ -91,7 +91,7 @@ def dx(self): def dx(self, dx): """Sets the dx of this SubtitleConfig. - 字幕左上角像素点坐标。 > *横屏(16:9)视频像素为1920x1080;竖屏(9:16)视频像素为1080x1920。 + 字幕框左下角像素点坐标。 > *横屏(16:9)视频像素为1920x1080;竖屏(9:16)视频像素为1080x1920。 :param dx: The dx of this SubtitleConfig. :type dx: int @@ -102,7 +102,7 @@ def dx(self, dx): def dy(self): """Gets the dy of this SubtitleConfig. - 字幕左上角像素点坐标。 > *横屏(16:9)视频像素为1920x1080;竖屏(9:16)视频像素为1080x1920。 + 字幕框左下角像素点坐标。 > *横屏(16:9)视频像素为1920x1080;竖屏(9:16)视频像素为1080x1920。 :return: The dy of this SubtitleConfig. :rtype: int @@ -113,7 +113,7 @@ def dy(self): def dy(self, dy): """Sets the dy of this SubtitleConfig. - 字幕左上角像素点坐标。 > *横屏(16:9)视频像素为1920x1080;竖屏(9:16)视频像素为1080x1920。 + 字幕框左下角像素点坐标。 > *横屏(16:9)视频像素为1920x1080;竖屏(9:16)视频像素为1080x1920。 :param dy: The dy of this SubtitleConfig. :type dy: int @@ -168,7 +168,7 @@ def font_size(self, font_size): def h(self): """Gets the h of this SubtitleConfig. - 字幕框高度 + 字幕框高度 > * 字幕框宽度固定为屏幕宽度的80% > * 参数h用于方便前端计算字幕框左上角坐标,后台不使用该参数 :return: The h of this SubtitleConfig. :rtype: int @@ -179,7 +179,7 @@ def h(self): def h(self, h): """Sets the h of this SubtitleConfig. - 字幕框高度 + 字幕框高度 > * 字幕框宽度固定为屏幕宽度的80% > * 参数h用于方便前端计算字幕框左上角坐标,后台不使用该参数 :param h: The h of this SubtitleConfig. :type h: int diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/text_config.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/text_config.py index e503aaea50..a0cc431deb 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/text_config.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/text_config.py @@ -29,7 +29,7 @@ def __init__(self, text=None): The model defined in huaweicloud sdk - :param text: 台词脚本。 支持两种模式,纯文本模式和标签模式。 ### 纯文本模式 纯文本模式,使用方法,如“大家好,我是人工智大家,是个虚拟主播” ### 标签模式 标签模式的定义使用SSML(Speech Synthesis Markup Language)标记语言。 - **\\<speak>** \\<speak>标签是所有文本的根节点。一切需要调用SSML标签的文本都要包含在\\<speak> \\</speak>对中。 - **\\<emotion>** \\<emotion>标签是情感标签。对指定一句或多句话生效,标签开始在句子起始位置,标签关闭在句子结尾。用法:\\<emotion type=\"情感标签\">。type可取值包括:HAPPY、SAD、CALM、ANGER - **\\<insert-action>** \\<insert-action>标签是动作标签。在文本的指定位置插入动作。用法:\\<insert-action id=\"动作资产ID\" name=\"动作名称\" tag=\"动作标识\"/>。动作资产信息通过资产库接口查询获取。 - **\\<break>** \\<break>标签是停顿标签。在文本的指定位置插入停顿。用法:\\<break time=\"停顿时长\"/>。停顿时长单位是毫秒,最小值200毫秒。 - **\\<phoneme>** \\<phoneme>标签是多音字标签。多音字标签可以指定单个汉字的读音。标签起始和关闭之间只能包含1个汉字。属性可取值为汉语拼音,声调用1、2、3、4表示。用法:\\<phoneme ph=\"拼音\"/>字\\</phoneme>。 > * 举例:\\<speak> \\<emotion type=\\\"HAPPY\\\">\\<insert-action id=\"2692ea5d095caaafcfed21dc4590b701\" name=\"双手指尖交触\" tag=\"system_female_animation_0026\"/>大家好,\\<break time=\"200ms\"/>我是MetaStudio制作的人工智能数字人。\\</emotion>我带大家\\<phoneme ph=\"liao3\">了\\</phoneme>解MetaStudio。\\</speak> > * 分身数字人视频制作仅break和phoneme标签生效。 + :param text: 台词脚本。 支持两种模式,纯文本模式和标签模式。 ### 纯文本模式 纯文本模式,使用方法,如“大家好,我是人工智大家,是个虚拟主播”。 ### 标签模式 SSML标签的详细定义请参考[文本驱动SSML定义](metastudio_02_0038.xml)。 :type text: str """ @@ -44,7 +44,7 @@ def __init__(self, text=None): def text(self): """Gets the text of this TextConfig. - 台词脚本。 支持两种模式,纯文本模式和标签模式。 ### 纯文本模式 纯文本模式,使用方法,如“大家好,我是人工智大家,是个虚拟主播” ### 标签模式 标签模式的定义使用SSML(Speech Synthesis Markup Language)标记语言。 - **\\** \\标签是所有文本的根节点。一切需要调用SSML标签的文本都要包含在\\ \\对中。 - **\\** \\标签是情感标签。对指定一句或多句话生效,标签开始在句子起始位置,标签关闭在句子结尾。用法:\\。type可取值包括:HAPPY、SAD、CALM、ANGER - **\\** \\标签是动作标签。在文本的指定位置插入动作。用法:\\。动作资产信息通过资产库接口查询获取。 - **\\** \\标签是停顿标签。在文本的指定位置插入停顿。用法:\\。停顿时长单位是毫秒,最小值200毫秒。 - **\\** \\标签是多音字标签。多音字标签可以指定单个汉字的读音。标签起始和关闭之间只能包含1个汉字。属性可取值为汉语拼音,声调用1、2、3、4表示。用法:\\字\\。 > * 举例:\\ \\\\大家好,\\我是MetaStudio制作的人工智能数字人。\\我带大家\\了\\解MetaStudio。\\ > * 分身数字人视频制作仅break和phoneme标签生效。 + 台词脚本。 支持两种模式,纯文本模式和标签模式。 ### 纯文本模式 纯文本模式,使用方法,如“大家好,我是人工智大家,是个虚拟主播”。 ### 标签模式 SSML标签的详细定义请参考[文本驱动SSML定义](metastudio_02_0038.xml)。 :return: The text of this TextConfig. :rtype: str @@ -55,7 +55,7 @@ def text(self): def text(self, text): """Sets the text of this TextConfig. - 台词脚本。 支持两种模式,纯文本模式和标签模式。 ### 纯文本模式 纯文本模式,使用方法,如“大家好,我是人工智大家,是个虚拟主播” ### 标签模式 标签模式的定义使用SSML(Speech Synthesis Markup Language)标记语言。 - **\\** \\标签是所有文本的根节点。一切需要调用SSML标签的文本都要包含在\\ \\对中。 - **\\** \\标签是情感标签。对指定一句或多句话生效,标签开始在句子起始位置,标签关闭在句子结尾。用法:\\。type可取值包括:HAPPY、SAD、CALM、ANGER - **\\** \\标签是动作标签。在文本的指定位置插入动作。用法:\\。动作资产信息通过资产库接口查询获取。 - **\\** \\标签是停顿标签。在文本的指定位置插入停顿。用法:\\。停顿时长单位是毫秒,最小值200毫秒。 - **\\** \\标签是多音字标签。多音字标签可以指定单个汉字的读音。标签起始和关闭之间只能包含1个汉字。属性可取值为汉语拼音,声调用1、2、3、4表示。用法:\\字\\。 > * 举例:\\ \\\\大家好,\\我是MetaStudio制作的人工智能数字人。\\我带大家\\了\\解MetaStudio。\\ > * 分身数字人视频制作仅break和phoneme标签生效。 + 台词脚本。 支持两种模式,纯文本模式和标签模式。 ### 纯文本模式 纯文本模式,使用方法,如“大家好,我是人工智大家,是个虚拟主播”。 ### 标签模式 SSML标签的详细定义请参考[文本驱动SSML定义](metastudio_02_0038.xml)。 :param text: The text of this TextConfig. :type text: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/training_job_info.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/training_job_info.py index 8988332a05..5b8eacc0f8 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/training_job_info.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/training_job_info.py @@ -24,6 +24,7 @@ class TrainingJobInfo: 'sex': 'str', 'language': 'str', 'state': 'JobState', + 'reject_times': 'int', 'asset_id': 'str', 'job_failed_code': 'str', 'job_failed_reason': 'str', @@ -42,6 +43,7 @@ class TrainingJobInfo: 'sex': 'sex', 'language': 'language', 'state': 'state', + 'reject_times': 'reject_times', 'asset_id': 'asset_id', 'job_failed_code': 'job_failed_code', 'job_failed_reason': 'job_failed_reason', @@ -52,7 +54,7 @@ class TrainingJobInfo: 'tag': 'tag' } - def __init__(self, job_type=None, job_id=None, app_user_id=None, voice_name=None, sex=None, language=None, state=None, asset_id=None, job_failed_code=None, job_failed_reason=None, create_time=None, lastupdate_time=None, voice_authorization_url=None, create_type=None, tag=None): + def __init__(self, job_type=None, job_id=None, app_user_id=None, voice_name=None, sex=None, language=None, state=None, reject_times=None, asset_id=None, job_failed_code=None, job_failed_reason=None, create_time=None, lastupdate_time=None, voice_authorization_url=None, create_type=None, tag=None): """TrainingJobInfo The model defined in huaweicloud sdk @@ -71,6 +73,8 @@ def __init__(self, job_type=None, job_id=None, app_user_id=None, voice_name=None :type language: str :param state: :type state: :class:`huaweicloudsdkmetastudio.v1.JobState` + :param reject_times: 本次任务中该状态出现的次数 + :type reject_times: int :param asset_id: 当任务状态为成功时呈现,音色模型在资产库中的id。 :type asset_id: str :param job_failed_code: 当任务失败时呈现,失败错误码。 @@ -98,6 +102,7 @@ def __init__(self, job_type=None, job_id=None, app_user_id=None, voice_name=None self._sex = None self._language = None self._state = None + self._reject_times = None self._asset_id = None self._job_failed_code = None self._job_failed_reason = None @@ -122,6 +127,8 @@ def __init__(self, job_type=None, job_id=None, app_user_id=None, voice_name=None self.language = language if state is not None: self.state = state + if reject_times is not None: + self.reject_times = reject_times if asset_id is not None: self.asset_id = asset_id if job_failed_code is not None: @@ -285,6 +292,28 @@ def state(self, state): """ self._state = state + @property + def reject_times(self): + """Gets the reject_times of this TrainingJobInfo. + + 本次任务中该状态出现的次数 + + :return: The reject_times of this TrainingJobInfo. + :rtype: int + """ + return self._reject_times + + @reject_times.setter + def reject_times(self, reject_times): + """Sets the reject_times of this TrainingJobInfo. + + 本次任务中该状态出现的次数 + + :param reject_times: The reject_times of this TrainingJobInfo. + :type reject_times: int + """ + self._reject_times = reject_times + @property def asset_id(self): """Gets the asset_id of this TrainingJobInfo. diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/trigger_process.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/trigger_process.py index f9acd84062..f5c295ac68 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/trigger_process.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/trigger_process.py @@ -22,7 +22,8 @@ class TriggerProcess: 'layer_config': 'SmartLayerConfig', 'reply_texts': 'list[str]', 'reply_audios': 'list[ReplyAudioInfo]', - 'reply_order': 'str' + 'reply_order': 'str', + 'reply_role': 'str' } attribute_map = { @@ -31,10 +32,11 @@ class TriggerProcess: 'layer_config': 'layer_config', 'reply_texts': 'reply_texts', 'reply_audios': 'reply_audios', - 'reply_order': 'reply_order' + 'reply_order': 'reply_order', + 'reply_role': 'reply_role' } - def __init__(self, time_window=None, reply_mode=None, layer_config=None, reply_texts=None, reply_audios=None, reply_order=None): + def __init__(self, time_window=None, reply_mode=None, layer_config=None, reply_texts=None, reply_audios=None, reply_order=None, reply_role=None): """TriggerProcess The model defined in huaweicloud sdk @@ -51,6 +53,8 @@ def __init__(self, time_window=None, reply_mode=None, layer_config=None, reply_t :type reply_audios: list[:class:`huaweicloudsdkmetastudio.v1.ReplyAudioInfo`] :param reply_order: 回复次序 - RANDOM:随机 - ORDER:顺序循环 :type reply_order: str + :param reply_role: 回复角色。默认为主播 * STREAMER:主播 * CO_STREAMER:助播 + :type reply_role: str """ @@ -61,6 +65,7 @@ def __init__(self, time_window=None, reply_mode=None, layer_config=None, reply_t self._reply_texts = None self._reply_audios = None self._reply_order = None + self._reply_role = None self.discriminator = None if time_window is not None: @@ -75,6 +80,8 @@ def __init__(self, time_window=None, reply_mode=None, layer_config=None, reply_t self.reply_audios = reply_audios if reply_order is not None: self.reply_order = reply_order + if reply_role is not None: + self.reply_role = reply_role @property def time_window(self): @@ -204,6 +211,28 @@ def reply_order(self, reply_order): """ self._reply_order = reply_order + @property + def reply_role(self): + """Gets the reply_role of this TriggerProcess. + + 回复角色。默认为主播 * STREAMER:主播 * CO_STREAMER:助播 + + :return: The reply_role of this TriggerProcess. + :rtype: str + """ + return self._reply_role + + @reply_role.setter + def reply_role(self, reply_role): + """Sets the reply_role of this TriggerProcess. + + 回复角色。默认为主播 * STREAMER:主播 * CO_STREAMER:助播 + + :param reply_role: The reply_role of this TriggerProcess. + :type reply_role: str + """ + self._reply_role = reply_role + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_active_code_req.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_active_code_req.py new file mode 100644 index 0000000000..3840b11ce0 --- /dev/null +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_active_code_req.py @@ -0,0 +1,115 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class UpdateActiveCodeReq: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'valid_period': 'int' + } + + attribute_map = { + 'valid_period': 'valid_period' + } + + def __init__(self, valid_period=None): + """UpdateActiveCodeReq + + The model defined in huaweicloud sdk + + :param valid_period: 有效天数(0表示长期有效)。 + :type valid_period: int + """ + + + + self._valid_period = None + self.discriminator = None + + if valid_period is not None: + self.valid_period = valid_period + + @property + def valid_period(self): + """Gets the valid_period of this UpdateActiveCodeReq. + + 有效天数(0表示长期有效)。 + + :return: The valid_period of this UpdateActiveCodeReq. + :rtype: int + """ + return self._valid_period + + @valid_period.setter + def valid_period(self, valid_period): + """Sets the valid_period of this UpdateActiveCodeReq. + + 有效天数(0表示长期有效)。 + + :param valid_period: The valid_period of this UpdateActiveCodeReq. + :type valid_period: int + """ + self._valid_period = valid_period + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, UpdateActiveCodeReq): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/update_permission_set_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_active_code_request.py similarity index 51% rename from huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/update_permission_set_request.py rename to huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_active_code_request.py index de0ae7ac17..ba09f525db 100644 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/update_permission_set_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_active_code_request.py @@ -5,7 +5,7 @@ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class UpdatePermissionSetRequest: +class UpdateActiveCodeRequest: """ Attributes: @@ -17,93 +17,102 @@ class UpdatePermissionSetRequest: sensitive_list = [] openapi_types = { - 'instance_id': 'str', - 'permission_set_id': 'str', - 'body': 'UpdatePermissionSetReqBody' + 'x_app_user_id': 'str', + 'active_code_id': 'str', + 'body': 'UpdateActiveCodeReq' } attribute_map = { - 'instance_id': 'instance_id', - 'permission_set_id': 'permission_set_id', + 'x_app_user_id': 'X-App-UserId', + 'active_code_id': 'active_code_id', 'body': 'body' } - def __init__(self, instance_id=None, permission_set_id=None, body=None): - """UpdatePermissionSetRequest + def __init__(self, x_app_user_id=None, active_code_id=None, body=None): + """UpdateActiveCodeRequest The model defined in huaweicloud sdk - :param instance_id: - :type instance_id: str - :param permission_set_id: - :type permission_set_id: str - :param body: Body of the UpdatePermissionSetRequest - :type body: :class:`huaweicloudsdkidentitycenter.v1.UpdatePermissionSetReqBody` + :param x_app_user_id: 开发者应用作为资产权属的可选字段。 + :type x_app_user_id: str + :param active_code_id: 激活码ID。 + :type active_code_id: str + :param body: Body of the UpdateActiveCodeRequest + :type body: :class:`huaweicloudsdkmetastudio.v1.UpdateActiveCodeReq` """ - self._instance_id = None - self._permission_set_id = None + self._x_app_user_id = None + self._active_code_id = None self._body = None self.discriminator = None - self.instance_id = instance_id - self.permission_set_id = permission_set_id + if x_app_user_id is not None: + self.x_app_user_id = x_app_user_id + self.active_code_id = active_code_id if body is not None: self.body = body @property - def instance_id(self): - """Gets the instance_id of this UpdatePermissionSetRequest. + def x_app_user_id(self): + """Gets the x_app_user_id of this UpdateActiveCodeRequest. - :return: The instance_id of this UpdatePermissionSetRequest. + 开发者应用作为资产权属的可选字段。 + + :return: The x_app_user_id of this UpdateActiveCodeRequest. :rtype: str """ - return self._instance_id + return self._x_app_user_id + + @x_app_user_id.setter + def x_app_user_id(self, x_app_user_id): + """Sets the x_app_user_id of this UpdateActiveCodeRequest. - @instance_id.setter - def instance_id(self, instance_id): - """Sets the instance_id of this UpdatePermissionSetRequest. + 开发者应用作为资产权属的可选字段。 - :param instance_id: The instance_id of this UpdatePermissionSetRequest. - :type instance_id: str + :param x_app_user_id: The x_app_user_id of this UpdateActiveCodeRequest. + :type x_app_user_id: str """ - self._instance_id = instance_id + self._x_app_user_id = x_app_user_id @property - def permission_set_id(self): - """Gets the permission_set_id of this UpdatePermissionSetRequest. + def active_code_id(self): + """Gets the active_code_id of this UpdateActiveCodeRequest. - :return: The permission_set_id of this UpdatePermissionSetRequest. + 激活码ID。 + + :return: The active_code_id of this UpdateActiveCodeRequest. :rtype: str """ - return self._permission_set_id + return self._active_code_id + + @active_code_id.setter + def active_code_id(self, active_code_id): + """Sets the active_code_id of this UpdateActiveCodeRequest. - @permission_set_id.setter - def permission_set_id(self, permission_set_id): - """Sets the permission_set_id of this UpdatePermissionSetRequest. + 激活码ID。 - :param permission_set_id: The permission_set_id of this UpdatePermissionSetRequest. - :type permission_set_id: str + :param active_code_id: The active_code_id of this UpdateActiveCodeRequest. + :type active_code_id: str """ - self._permission_set_id = permission_set_id + self._active_code_id = active_code_id @property def body(self): - """Gets the body of this UpdatePermissionSetRequest. + """Gets the body of this UpdateActiveCodeRequest. - :return: The body of this UpdatePermissionSetRequest. - :rtype: :class:`huaweicloudsdkidentitycenter.v1.UpdatePermissionSetReqBody` + :return: The body of this UpdateActiveCodeRequest. + :rtype: :class:`huaweicloudsdkmetastudio.v1.UpdateActiveCodeReq` """ return self._body @body.setter def body(self, body): - """Sets the body of this UpdatePermissionSetRequest. + """Sets the body of this UpdateActiveCodeRequest. - :param body: The body of this UpdatePermissionSetRequest. - :type body: :class:`huaweicloudsdkidentitycenter.v1.UpdatePermissionSetReqBody` + :param body: The body of this UpdateActiveCodeRequest. + :type body: :class:`huaweicloudsdkmetastudio.v1.UpdateActiveCodeReq` """ self._body = body @@ -149,7 +158,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, UpdatePermissionSetRequest): + if not isinstance(other, UpdateActiveCodeRequest): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_active_code_response.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_active_code_response.py new file mode 100644 index 0000000000..d2fb6d92e2 --- /dev/null +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_active_code_response.py @@ -0,0 +1,344 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_response import SdkResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class UpdateActiveCodeResponse(SdkResponse): + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'active_code_id': 'str', + 'active_code': 'str', + 'robot_id': 'str', + 'room_id': 'str', + 'valid_period': 'int', + 'expire_time': 'str', + 'create_time': 'str', + 'update_time': 'str', + 'x_request_id': 'str' + } + + attribute_map = { + 'active_code_id': 'active_code_id', + 'active_code': 'active_code', + 'robot_id': 'robot_id', + 'room_id': 'room_id', + 'valid_period': 'valid_period', + 'expire_time': 'expire_time', + 'create_time': 'create_time', + 'update_time': 'update_time', + 'x_request_id': 'X-Request-Id' + } + + def __init__(self, active_code_id=None, active_code=None, robot_id=None, room_id=None, valid_period=None, expire_time=None, create_time=None, update_time=None, x_request_id=None): + """UpdateActiveCodeResponse + + The model defined in huaweicloud sdk + + :param active_code_id: 激活码ID。 + :type active_code_id: str + :param active_code: 激活码。 + :type active_code: str + :param robot_id: 应用ID。 + :type robot_id: str + :param room_id: 智能交互对话ID。 + :type room_id: str + :param valid_period: 有效天数(0表示长期有效)。 + :type valid_period: int + :param expire_time: 过期时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + :type expire_time: str + :param create_time: 创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + :type create_time: str + :param update_time: 更新时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + :type update_time: str + :param x_request_id: + :type x_request_id: str + """ + + super(UpdateActiveCodeResponse, self).__init__() + + self._active_code_id = None + self._active_code = None + self._robot_id = None + self._room_id = None + self._valid_period = None + self._expire_time = None + self._create_time = None + self._update_time = None + self._x_request_id = None + self.discriminator = None + + if active_code_id is not None: + self.active_code_id = active_code_id + if active_code is not None: + self.active_code = active_code + if robot_id is not None: + self.robot_id = robot_id + if room_id is not None: + self.room_id = room_id + if valid_period is not None: + self.valid_period = valid_period + if expire_time is not None: + self.expire_time = expire_time + if create_time is not None: + self.create_time = create_time + if update_time is not None: + self.update_time = update_time + if x_request_id is not None: + self.x_request_id = x_request_id + + @property + def active_code_id(self): + """Gets the active_code_id of this UpdateActiveCodeResponse. + + 激活码ID。 + + :return: The active_code_id of this UpdateActiveCodeResponse. + :rtype: str + """ + return self._active_code_id + + @active_code_id.setter + def active_code_id(self, active_code_id): + """Sets the active_code_id of this UpdateActiveCodeResponse. + + 激活码ID。 + + :param active_code_id: The active_code_id of this UpdateActiveCodeResponse. + :type active_code_id: str + """ + self._active_code_id = active_code_id + + @property + def active_code(self): + """Gets the active_code of this UpdateActiveCodeResponse. + + 激活码。 + + :return: The active_code of this UpdateActiveCodeResponse. + :rtype: str + """ + return self._active_code + + @active_code.setter + def active_code(self, active_code): + """Sets the active_code of this UpdateActiveCodeResponse. + + 激活码。 + + :param active_code: The active_code of this UpdateActiveCodeResponse. + :type active_code: str + """ + self._active_code = active_code + + @property + def robot_id(self): + """Gets the robot_id of this UpdateActiveCodeResponse. + + 应用ID。 + + :return: The robot_id of this UpdateActiveCodeResponse. + :rtype: str + """ + return self._robot_id + + @robot_id.setter + def robot_id(self, robot_id): + """Sets the robot_id of this UpdateActiveCodeResponse. + + 应用ID。 + + :param robot_id: The robot_id of this UpdateActiveCodeResponse. + :type robot_id: str + """ + self._robot_id = robot_id + + @property + def room_id(self): + """Gets the room_id of this UpdateActiveCodeResponse. + + 智能交互对话ID。 + + :return: The room_id of this UpdateActiveCodeResponse. + :rtype: str + """ + return self._room_id + + @room_id.setter + def room_id(self, room_id): + """Sets the room_id of this UpdateActiveCodeResponse. + + 智能交互对话ID。 + + :param room_id: The room_id of this UpdateActiveCodeResponse. + :type room_id: str + """ + self._room_id = room_id + + @property + def valid_period(self): + """Gets the valid_period of this UpdateActiveCodeResponse. + + 有效天数(0表示长期有效)。 + + :return: The valid_period of this UpdateActiveCodeResponse. + :rtype: int + """ + return self._valid_period + + @valid_period.setter + def valid_period(self, valid_period): + """Sets the valid_period of this UpdateActiveCodeResponse. + + 有效天数(0表示长期有效)。 + + :param valid_period: The valid_period of this UpdateActiveCodeResponse. + :type valid_period: int + """ + self._valid_period = valid_period + + @property + def expire_time(self): + """Gets the expire_time of this UpdateActiveCodeResponse. + + 过期时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + + :return: The expire_time of this UpdateActiveCodeResponse. + :rtype: str + """ + return self._expire_time + + @expire_time.setter + def expire_time(self, expire_time): + """Sets the expire_time of this UpdateActiveCodeResponse. + + 过期时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + + :param expire_time: The expire_time of this UpdateActiveCodeResponse. + :type expire_time: str + """ + self._expire_time = expire_time + + @property + def create_time(self): + """Gets the create_time of this UpdateActiveCodeResponse. + + 创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + + :return: The create_time of this UpdateActiveCodeResponse. + :rtype: str + """ + return self._create_time + + @create_time.setter + def create_time(self, create_time): + """Sets the create_time of this UpdateActiveCodeResponse. + + 创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + + :param create_time: The create_time of this UpdateActiveCodeResponse. + :type create_time: str + """ + self._create_time = create_time + + @property + def update_time(self): + """Gets the update_time of this UpdateActiveCodeResponse. + + 更新时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + + :return: The update_time of this UpdateActiveCodeResponse. + :rtype: str + """ + return self._update_time + + @update_time.setter + def update_time(self, update_time): + """Sets the update_time of this UpdateActiveCodeResponse. + + 更新时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + + :param update_time: The update_time of this UpdateActiveCodeResponse. + :type update_time: str + """ + self._update_time = update_time + + @property + def x_request_id(self): + """Gets the x_request_id of this UpdateActiveCodeResponse. + + :return: The x_request_id of this UpdateActiveCodeResponse. + :rtype: str + """ + return self._x_request_id + + @x_request_id.setter + def x_request_id(self, x_request_id): + """Sets the x_request_id of this UpdateActiveCodeResponse. + + :param x_request_id: The x_request_id of this UpdateActiveCodeResponse. + :type x_request_id: str + """ + self._x_request_id = x_request_id + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, UpdateActiveCodeResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_smart_chat_room_response.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_smart_chat_room_response.py index 920b0ee901..2ac9dc85e6 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_smart_chat_room_response.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_smart_chat_room_response.py @@ -60,9 +60,9 @@ def __init__(self, room_name=None, room_description=None, video_config=None, mod The model defined in huaweicloud sdk - :param room_name: 直播间名称 + :param room_name: 对话名称 :type room_name: str - :param room_description: 直播间描述。 + :param room_description: 对话描述。 :type room_description: str :param video_config: :type video_config: :class:`huaweicloudsdkmetastudio.v1.VideoConfig` @@ -70,7 +70,7 @@ def __init__(self, room_name=None, room_description=None, video_config=None, mod :type model_asset_id: str :param voice_config: :type voice_config: :class:`huaweicloudsdkmetastudio.v1.VoiceConfig` - :param robot_id: 机器人ID。 + :param robot_id: 机器人ID。获取方法请参考[创建应用](CreateRobot.xml)。 :type robot_id: str :param concurrency: 并发路数。 :type concurrency: int @@ -82,13 +82,13 @@ def __init__(self, room_name=None, room_description=None, video_config=None, mod :type review_config: :class:`huaweicloudsdkmetastudio.v1.ReviewConfig` :param chat_subtitle_config: :type chat_subtitle_config: :class:`huaweicloudsdkmetastudio.v1.ChatSubtitleConfig` - :param room_id: 直播间ID + :param room_id: 对话ID。 :type room_id: str - :param create_time: 智能交互对话直播间创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + :param create_time: 智能交互对话创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 :type create_time: str - :param update_time: 智能交互对话直播间更新时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + :param update_time: 智能交互对话更新时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 :type update_time: str - :param cover_url: 直播间封面图URL + :param cover_url: 对话封面图URL :type cover_url: str :param x_request_id: :type x_request_id: str @@ -149,7 +149,7 @@ def __init__(self, room_name=None, room_description=None, video_config=None, mod def room_name(self): """Gets the room_name of this UpdateSmartChatRoomResponse. - 直播间名称 + 对话名称 :return: The room_name of this UpdateSmartChatRoomResponse. :rtype: str @@ -160,7 +160,7 @@ def room_name(self): def room_name(self, room_name): """Sets the room_name of this UpdateSmartChatRoomResponse. - 直播间名称 + 对话名称 :param room_name: The room_name of this UpdateSmartChatRoomResponse. :type room_name: str @@ -171,7 +171,7 @@ def room_name(self, room_name): def room_description(self): """Gets the room_description of this UpdateSmartChatRoomResponse. - 直播间描述。 + 对话描述。 :return: The room_description of this UpdateSmartChatRoomResponse. :rtype: str @@ -182,7 +182,7 @@ def room_description(self): def room_description(self, room_description): """Sets the room_description of this UpdateSmartChatRoomResponse. - 直播间描述。 + 对话描述。 :param room_description: The room_description of this UpdateSmartChatRoomResponse. :type room_description: str @@ -251,7 +251,7 @@ def voice_config(self, voice_config): def robot_id(self): """Gets the robot_id of this UpdateSmartChatRoomResponse. - 机器人ID。 + 机器人ID。获取方法请参考[创建应用](CreateRobot.xml)。 :return: The robot_id of this UpdateSmartChatRoomResponse. :rtype: str @@ -262,7 +262,7 @@ def robot_id(self): def robot_id(self, robot_id): """Sets the robot_id of this UpdateSmartChatRoomResponse. - 机器人ID。 + 机器人ID。获取方法请参考[创建应用](CreateRobot.xml)。 :param robot_id: The robot_id of this UpdateSmartChatRoomResponse. :type robot_id: str @@ -371,7 +371,7 @@ def chat_subtitle_config(self, chat_subtitle_config): def room_id(self): """Gets the room_id of this UpdateSmartChatRoomResponse. - 直播间ID + 对话ID。 :return: The room_id of this UpdateSmartChatRoomResponse. :rtype: str @@ -382,7 +382,7 @@ def room_id(self): def room_id(self, room_id): """Sets the room_id of this UpdateSmartChatRoomResponse. - 直播间ID + 对话ID。 :param room_id: The room_id of this UpdateSmartChatRoomResponse. :type room_id: str @@ -393,7 +393,7 @@ def room_id(self, room_id): def create_time(self): """Gets the create_time of this UpdateSmartChatRoomResponse. - 智能交互对话直播间创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 智能交互对话创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 :return: The create_time of this UpdateSmartChatRoomResponse. :rtype: str @@ -404,7 +404,7 @@ def create_time(self): def create_time(self, create_time): """Sets the create_time of this UpdateSmartChatRoomResponse. - 智能交互对话直播间创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 智能交互对话创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 :param create_time: The create_time of this UpdateSmartChatRoomResponse. :type create_time: str @@ -415,7 +415,7 @@ def create_time(self, create_time): def update_time(self): """Gets the update_time of this UpdateSmartChatRoomResponse. - 智能交互对话直播间更新时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 智能交互对话更新时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 :return: The update_time of this UpdateSmartChatRoomResponse. :rtype: str @@ -426,7 +426,7 @@ def update_time(self): def update_time(self, update_time): """Sets the update_time of this UpdateSmartChatRoomResponse. - 智能交互对话直播间更新时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 智能交互对话更新时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 :param update_time: The update_time of this UpdateSmartChatRoomResponse. :type update_time: str @@ -437,7 +437,7 @@ def update_time(self, update_time): def cover_url(self): """Gets the cover_url of this UpdateSmartChatRoomResponse. - 直播间封面图URL + 对话封面图URL :return: The cover_url of this UpdateSmartChatRoomResponse. :rtype: str @@ -448,7 +448,7 @@ def cover_url(self): def cover_url(self, cover_url): """Sets the cover_url of this UpdateSmartChatRoomResponse. - 直播间封面图URL + 对话封面图URL :param cover_url: The cover_url of this UpdateSmartChatRoomResponse. :type cover_url: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_smart_live_room_response.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_smart_live_room_response.py index 7e603691cc..0533438c08 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_smart_live_room_response.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_smart_live_room_response.py @@ -32,10 +32,12 @@ class UpdateSmartLiveRoomResponse(SdkResponse): 'review_config': 'ReviewConfig', 'shared_config': 'SharedConfig', 'view_mode': 'str', + 'co_streamer_config': 'CoStreamerConfig', 'room_id': 'str', 'create_time': 'str', 'update_time': 'str', 'cover_url': 'str', + 'thumbnail': 'str', 'room_state': 'str', 'error_info': 'ErrorResponse', 'x_request_id': 'str' @@ -56,16 +58,18 @@ class UpdateSmartLiveRoomResponse(SdkResponse): 'review_config': 'review_config', 'shared_config': 'shared_config', 'view_mode': 'view_mode', + 'co_streamer_config': 'co_streamer_config', 'room_id': 'room_id', 'create_time': 'create_time', 'update_time': 'update_time', 'cover_url': 'cover_url', + 'thumbnail': 'thumbnail', 'room_state': 'room_state', 'error_info': 'error_info', 'x_request_id': 'X-Request-Id' } - def __init__(self, room_name=None, room_description=None, room_type=None, scene_scripts=None, interaction_rules=None, play_policy=None, video_config=None, output_urls=None, stream_keys=None, backup_model_asset_ids=None, live_event_callback_config=None, review_config=None, shared_config=None, view_mode=None, room_id=None, create_time=None, update_time=None, cover_url=None, room_state=None, error_info=None, x_request_id=None): + def __init__(self, room_name=None, room_description=None, room_type=None, scene_scripts=None, interaction_rules=None, play_policy=None, video_config=None, output_urls=None, stream_keys=None, backup_model_asset_ids=None, live_event_callback_config=None, review_config=None, shared_config=None, view_mode=None, co_streamer_config=None, room_id=None, create_time=None, update_time=None, cover_url=None, thumbnail=None, room_state=None, error_info=None, x_request_id=None): """UpdateSmartLiveRoomResponse The model defined in huaweicloud sdk @@ -98,6 +102,8 @@ def __init__(self, room_name=None, room_description=None, room_type=None, scene_ :type shared_config: :class:`huaweicloudsdkmetastudio.v1.SharedConfig` :param view_mode: 横竖屏类型。默认值为:VERTICAL。 * LANDSCAPE:横屏。 * VERTICAL: 竖屏。 :type view_mode: str + :param co_streamer_config: + :type co_streamer_config: :class:`huaweicloudsdkmetastudio.v1.CoStreamerConfig` :param room_id: 直播间ID :type room_id: str :param create_time: 直播间创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 @@ -106,6 +112,8 @@ def __init__(self, room_name=None, room_description=None, room_type=None, scene_ :type update_time: str :param cover_url: 直播间封面图URL :type cover_url: str + :param thumbnail: 直播间封面图新URL + :type thumbnail: str :param room_state: 直播间配置状态。 - ENABLE: 直播间正常可用。 - DISABLE: 直播间不可用。不可用原因在error_info中说明。 - BLOCKED:直播间被冻结。冻结原因在error_info中说明。 :type room_state: str :param error_info: @@ -130,10 +138,12 @@ def __init__(self, room_name=None, room_description=None, room_type=None, scene_ self._review_config = None self._shared_config = None self._view_mode = None + self._co_streamer_config = None self._room_id = None self._create_time = None self._update_time = None self._cover_url = None + self._thumbnail = None self._room_state = None self._error_info = None self._x_request_id = None @@ -166,6 +176,8 @@ def __init__(self, room_name=None, room_description=None, room_type=None, scene_ self.shared_config = shared_config if view_mode is not None: self.view_mode = view_mode + if co_streamer_config is not None: + self.co_streamer_config = co_streamer_config if room_id is not None: self.room_id = room_id if create_time is not None: @@ -174,6 +186,8 @@ def __init__(self, room_name=None, room_description=None, room_type=None, scene_ self.update_time = update_time if cover_url is not None: self.cover_url = cover_url + if thumbnail is not None: + self.thumbnail = thumbnail if room_state is not None: self.room_state = room_state if error_info is not None: @@ -469,6 +483,24 @@ def view_mode(self, view_mode): """ self._view_mode = view_mode + @property + def co_streamer_config(self): + """Gets the co_streamer_config of this UpdateSmartLiveRoomResponse. + + :return: The co_streamer_config of this UpdateSmartLiveRoomResponse. + :rtype: :class:`huaweicloudsdkmetastudio.v1.CoStreamerConfig` + """ + return self._co_streamer_config + + @co_streamer_config.setter + def co_streamer_config(self, co_streamer_config): + """Sets the co_streamer_config of this UpdateSmartLiveRoomResponse. + + :param co_streamer_config: The co_streamer_config of this UpdateSmartLiveRoomResponse. + :type co_streamer_config: :class:`huaweicloudsdkmetastudio.v1.CoStreamerConfig` + """ + self._co_streamer_config = co_streamer_config + @property def room_id(self): """Gets the room_id of this UpdateSmartLiveRoomResponse. @@ -557,6 +589,28 @@ def cover_url(self, cover_url): """ self._cover_url = cover_url + @property + def thumbnail(self): + """Gets the thumbnail of this UpdateSmartLiveRoomResponse. + + 直播间封面图新URL + + :return: The thumbnail of this UpdateSmartLiveRoomResponse. + :rtype: str + """ + return self._thumbnail + + @thumbnail.setter + def thumbnail(self, thumbnail): + """Sets the thumbnail of this UpdateSmartLiveRoomResponse. + + 直播间封面图新URL + + :param thumbnail: The thumbnail of this UpdateSmartLiveRoomResponse. + :type thumbnail: str + """ + self._thumbnail = thumbnail + @property def room_state(self): """Gets the room_state of this UpdateSmartLiveRoomResponse. diff --git a/huaweicloud-sdk-metastudio/requirements.txt b/huaweicloud-sdk-metastudio/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-metastudio/requirements.txt +++ b/huaweicloud-sdk-metastudio/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-metastudio/setup.py b/huaweicloud-sdk-metastudio/setup.py index cc9e69ca5a..aef3a59879 100644 --- a/huaweicloud-sdk-metastudio/setup.py +++ b/huaweicloud-sdk-metastudio/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkmetastudio" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-moderation/requirements.txt b/huaweicloud-sdk-moderation/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-moderation/requirements.txt +++ b/huaweicloud-sdk-moderation/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-moderation/setup.py b/huaweicloud-sdk-moderation/setup.py index 22e2365ea8..d5b6ac9a47 100644 --- a/huaweicloud-sdk-moderation/setup.py +++ b/huaweicloud-sdk-moderation/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkmoderation" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-mpc/huaweicloudsdkmpc/v1/model/animated_graphics_output_param.py b/huaweicloud-sdk-mpc/huaweicloudsdkmpc/v1/model/animated_graphics_output_param.py index 2523455f1d..ad02566f46 100644 --- a/huaweicloud-sdk-mpc/huaweicloudsdkmpc/v1/model/animated_graphics_output_param.py +++ b/huaweicloud-sdk-mpc/huaweicloudsdkmpc/v1/model/animated_graphics_output_param.py @@ -63,8 +63,7 @@ def __init__(self, format=None, width=None, height=None, start=None, end=None, f self._frame_rate = None self.discriminator = None - if format is not None: - self.format = format + self.format = format self.width = width self.height = height self.start = start diff --git a/huaweicloud-sdk-mpc/requirements.txt b/huaweicloud-sdk-mpc/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-mpc/requirements.txt +++ b/huaweicloud-sdk-mpc/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-mpc/setup.py b/huaweicloud-sdk-mpc/setup.py index f32589997d..09e74b2ee3 100644 --- a/huaweicloud-sdk-mpc/setup.py +++ b/huaweicloud-sdk-mpc/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkmpc" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-mrs/requirements.txt b/huaweicloud-sdk-mrs/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-mrs/requirements.txt +++ b/huaweicloud-sdk-mrs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-mrs/setup.py b/huaweicloud-sdk-mrs/setup.py index 68f8cb18c1..5bcefeabe9 100644 --- a/huaweicloud-sdk-mrs/setup.py +++ b/huaweicloud-sdk-mrs/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkmrs" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-msgsms/requirements.txt b/huaweicloud-sdk-msgsms/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-msgsms/requirements.txt +++ b/huaweicloud-sdk-msgsms/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-msgsms/setup.py b/huaweicloud-sdk-msgsms/setup.py index d62ad923e8..55fdf7d6e8 100644 --- a/huaweicloud-sdk-msgsms/setup.py +++ b/huaweicloud-sdk-msgsms/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkmsgsms" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-mssi/requirements.txt b/huaweicloud-sdk-mssi/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-mssi/requirements.txt +++ b/huaweicloud-sdk-mssi/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-mssi/setup.py b/huaweicloud-sdk-mssi/setup.py index b99d0c3a15..195db39a75 100644 --- a/huaweicloud-sdk-mssi/setup.py +++ b/huaweicloud-sdk-mssi/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkmssi" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-nat/requirements.txt b/huaweicloud-sdk-nat/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-nat/requirements.txt +++ b/huaweicloud-sdk-nat/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-nat/setup.py b/huaweicloud-sdk-nat/setup.py index eae5913650..cf68281976 100644 --- a/huaweicloud-sdk-nat/setup.py +++ b/huaweicloud-sdk-nat/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdknat" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-nlp/requirements.txt b/huaweicloud-sdk-nlp/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-nlp/requirements.txt +++ b/huaweicloud-sdk-nlp/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-nlp/setup.py b/huaweicloud-sdk-nlp/setup.py index db73d94d02..146a018db1 100644 --- a/huaweicloud-sdk-nlp/setup.py +++ b/huaweicloud-sdk-nlp/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdknlp" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-obs/requirements.txt b/huaweicloud-sdk-obs/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-obs/requirements.txt +++ b/huaweicloud-sdk-obs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-obs/setup.py b/huaweicloud-sdk-obs/setup.py index f7411c79b1..ead0e0a23d 100644 --- a/huaweicloud-sdk-obs/setup.py +++ b/huaweicloud-sdk-obs/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkobs" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ocr/requirements.txt b/huaweicloud-sdk-ocr/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-ocr/requirements.txt +++ b/huaweicloud-sdk-ocr/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-ocr/setup.py b/huaweicloud-sdk-ocr/setup.py index 4f064942a9..2d973767d4 100644 --- a/huaweicloud-sdk-ocr/setup.py +++ b/huaweicloud-sdk-ocr/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkocr" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-octopus/requirements.txt b/huaweicloud-sdk-octopus/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-octopus/requirements.txt +++ b/huaweicloud-sdk-octopus/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-octopus/setup.py b/huaweicloud-sdk-octopus/setup.py index 6164913a6b..c9745c213f 100644 --- a/huaweicloud-sdk-octopus/setup.py +++ b/huaweicloud-sdk-octopus/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkoctopus" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-oms/requirements.txt b/huaweicloud-sdk-oms/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-oms/requirements.txt +++ b/huaweicloud-sdk-oms/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-oms/setup.py b/huaweicloud-sdk-oms/setup.py index 5ff13fe249..771218125c 100644 --- a/huaweicloud-sdk-oms/setup.py +++ b/huaweicloud-sdk-oms/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkoms" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-optverse/requirements.txt b/huaweicloud-sdk-optverse/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-optverse/requirements.txt +++ b/huaweicloud-sdk-optverse/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-optverse/setup.py b/huaweicloud-sdk-optverse/setup.py index 6e7900667e..f83904f9d7 100644 --- a/huaweicloud-sdk-optverse/setup.py +++ b/huaweicloud-sdk-optverse/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkoptverse" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/__init__.py b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/__init__.py index d02ff2e86d..788e21afa9 100644 --- a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/__init__.py +++ b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/__init__.py @@ -12,6 +12,7 @@ from huaweicloudsdkorganizations.v1.model.attach_policy_response import AttachPolicyResponse from huaweicloudsdkorganizations.v1.model.cancel_handshake_request import CancelHandshakeRequest from huaweicloudsdkorganizations.v1.model.cancel_handshake_response import CancelHandshakeResponse +from huaweicloudsdkorganizations.v1.model.close_account_status_dto import CloseAccountStatusDto from huaweicloudsdkorganizations.v1.model.create_account_status_dto import CreateAccountStatusDto from huaweicloudsdkorganizations.v1.model.create_organization_request import CreateOrganizationRequest from huaweicloudsdkorganizations.v1.model.create_organization_response import CreateOrganizationResponse @@ -57,6 +58,8 @@ from huaweicloudsdkorganizations.v1.model.leave_organization_response import LeaveOrganizationResponse from huaweicloudsdkorganizations.v1.model.list_accounts_request import ListAccountsRequest from huaweicloudsdkorganizations.v1.model.list_accounts_response import ListAccountsResponse +from huaweicloudsdkorganizations.v1.model.list_close_account_statuses_request import ListCloseAccountStatusesRequest +from huaweicloudsdkorganizations.v1.model.list_close_account_statuses_response import ListCloseAccountStatusesResponse from huaweicloudsdkorganizations.v1.model.list_create_account_statuses_request import ListCreateAccountStatusesRequest from huaweicloudsdkorganizations.v1.model.list_create_account_statuses_response import ListCreateAccountStatusesResponse from huaweicloudsdkorganizations.v1.model.list_delegated_administrators_request import ListDelegatedAdministratorsRequest diff --git a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/__init__.py b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/__init__.py index d25d4fe389..047069903a 100644 --- a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/__init__.py +++ b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/__init__.py @@ -10,6 +10,7 @@ from huaweicloudsdkorganizations.v1.model.attach_policy_response import AttachPolicyResponse from huaweicloudsdkorganizations.v1.model.cancel_handshake_request import CancelHandshakeRequest from huaweicloudsdkorganizations.v1.model.cancel_handshake_response import CancelHandshakeResponse +from huaweicloudsdkorganizations.v1.model.close_account_status_dto import CloseAccountStatusDto from huaweicloudsdkorganizations.v1.model.create_account_status_dto import CreateAccountStatusDto from huaweicloudsdkorganizations.v1.model.create_organization_request import CreateOrganizationRequest from huaweicloudsdkorganizations.v1.model.create_organization_response import CreateOrganizationResponse @@ -55,6 +56,8 @@ from huaweicloudsdkorganizations.v1.model.leave_organization_response import LeaveOrganizationResponse from huaweicloudsdkorganizations.v1.model.list_accounts_request import ListAccountsRequest from huaweicloudsdkorganizations.v1.model.list_accounts_response import ListAccountsResponse +from huaweicloudsdkorganizations.v1.model.list_close_account_statuses_request import ListCloseAccountStatusesRequest +from huaweicloudsdkorganizations.v1.model.list_close_account_statuses_response import ListCloseAccountStatusesResponse from huaweicloudsdkorganizations.v1.model.list_create_account_statuses_request import ListCreateAccountStatusesRequest from huaweicloudsdkorganizations.v1.model.list_create_account_statuses_response import ListCreateAccountStatusesResponse from huaweicloudsdkorganizations.v1.model.list_delegated_administrators_request import ListDelegatedAdministratorsRequest diff --git a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/accept_handshake_request.py b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/accept_handshake_request.py index ef7614eae7..9946f221ba 100644 --- a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/accept_handshake_request.py +++ b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/accept_handshake_request.py @@ -29,7 +29,7 @@ def __init__(self, handshake_id=None): The model defined in huaweicloud sdk - :param handshake_id: 邀请的唯一标识符(ID)。帐号在发起邀请时创建ID。 + :param handshake_id: 邀请的唯一标识符(ID)。账号在发起邀请时创建ID。 :type handshake_id: str """ @@ -44,7 +44,7 @@ def __init__(self, handshake_id=None): def handshake_id(self): """Gets the handshake_id of this AcceptHandshakeRequest. - 邀请的唯一标识符(ID)。帐号在发起邀请时创建ID。 + 邀请的唯一标识符(ID)。账号在发起邀请时创建ID。 :return: The handshake_id of this AcceptHandshakeRequest. :rtype: str @@ -55,7 +55,7 @@ def handshake_id(self): def handshake_id(self, handshake_id): """Sets the handshake_id of this AcceptHandshakeRequest. - 邀请的唯一标识符(ID)。帐号在发起邀请时创建ID。 + 邀请的唯一标识符(ID)。账号在发起邀请时创建ID。 :param handshake_id: The handshake_id of this AcceptHandshakeRequest. :type handshake_id: str diff --git a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/account_dto.py b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/account_dto.py index fc334dd866..7471d218b8 100644 --- a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/account_dto.py +++ b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/account_dto.py @@ -20,6 +20,7 @@ class AccountDto: 'id': 'str', 'urn': 'str', 'join_method': 'str', + 'status': 'str', 'joined_at': 'datetime', 'name': 'str' } @@ -28,24 +29,27 @@ class AccountDto: 'id': 'id', 'urn': 'urn', 'join_method': 'join_method', + 'status': 'status', 'joined_at': 'joined_at', 'name': 'name' } - def __init__(self, id=None, urn=None, join_method=None, joined_at=None, name=None): + def __init__(self, id=None, urn=None, join_method=None, status=None, joined_at=None, name=None): """AccountDto The model defined in huaweicloud sdk - :param id: 帐号的唯一标识符(ID)。 + :param id: 账号的唯一标识符(ID)。 :type id: str - :param urn: 帐号的统一资源名称。 + :param urn: 账号的统一资源名称。 :type urn: str - :param join_method: 帐号加入组织的方式,invited:邀请加入,created:创建加入。 + :param join_method: 账号加入组织的方式,invited:邀请加入,created:创建加入。 :type join_method: str - :param joined_at: 帐号加入组织的日期。 + :param status: 账号当前的状态,ACTIVE 有效| SUSPENDED 静默| PENDING_CLOSURE 关闭中 + :type status: str + :param joined_at: 账号加入组织的日期。 :type joined_at: datetime - :param name: 帐号名称。 + :param name: 账号名称 :type name: str """ @@ -54,6 +58,7 @@ def __init__(self, id=None, urn=None, join_method=None, joined_at=None, name=Non self._id = None self._urn = None self._join_method = None + self._status = None self._joined_at = None self._name = None self.discriminator = None @@ -61,6 +66,7 @@ def __init__(self, id=None, urn=None, join_method=None, joined_at=None, name=Non self.id = id self.urn = urn self.join_method = join_method + self.status = status self.joined_at = joined_at self.name = name @@ -68,7 +74,7 @@ def __init__(self, id=None, urn=None, join_method=None, joined_at=None, name=Non def id(self): """Gets the id of this AccountDto. - 帐号的唯一标识符(ID)。 + 账号的唯一标识符(ID)。 :return: The id of this AccountDto. :rtype: str @@ -79,7 +85,7 @@ def id(self): def id(self, id): """Sets the id of this AccountDto. - 帐号的唯一标识符(ID)。 + 账号的唯一标识符(ID)。 :param id: The id of this AccountDto. :type id: str @@ -90,7 +96,7 @@ def id(self, id): def urn(self): """Gets the urn of this AccountDto. - 帐号的统一资源名称。 + 账号的统一资源名称。 :return: The urn of this AccountDto. :rtype: str @@ -101,7 +107,7 @@ def urn(self): def urn(self, urn): """Sets the urn of this AccountDto. - 帐号的统一资源名称。 + 账号的统一资源名称。 :param urn: The urn of this AccountDto. :type urn: str @@ -112,7 +118,7 @@ def urn(self, urn): def join_method(self): """Gets the join_method of this AccountDto. - 帐号加入组织的方式,invited:邀请加入,created:创建加入。 + 账号加入组织的方式,invited:邀请加入,created:创建加入。 :return: The join_method of this AccountDto. :rtype: str @@ -123,18 +129,40 @@ def join_method(self): def join_method(self, join_method): """Sets the join_method of this AccountDto. - 帐号加入组织的方式,invited:邀请加入,created:创建加入。 + 账号加入组织的方式,invited:邀请加入,created:创建加入。 :param join_method: The join_method of this AccountDto. :type join_method: str """ self._join_method = join_method + @property + def status(self): + """Gets the status of this AccountDto. + + 账号当前的状态,ACTIVE 有效| SUSPENDED 静默| PENDING_CLOSURE 关闭中 + + :return: The status of this AccountDto. + :rtype: str + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this AccountDto. + + 账号当前的状态,ACTIVE 有效| SUSPENDED 静默| PENDING_CLOSURE 关闭中 + + :param status: The status of this AccountDto. + :type status: str + """ + self._status = status + @property def joined_at(self): """Gets the joined_at of this AccountDto. - 帐号加入组织的日期。 + 账号加入组织的日期。 :return: The joined_at of this AccountDto. :rtype: datetime @@ -145,7 +173,7 @@ def joined_at(self): def joined_at(self, joined_at): """Sets the joined_at of this AccountDto. - 帐号加入组织的日期。 + 账号加入组织的日期。 :param joined_at: The joined_at of this AccountDto. :type joined_at: datetime @@ -156,7 +184,7 @@ def joined_at(self, joined_at): def name(self): """Gets the name of this AccountDto. - 帐号名称。 + 账号名称 :return: The name of this AccountDto. :rtype: str @@ -167,7 +195,7 @@ def name(self): def name(self, name): """Sets the name of this AccountDto. - 帐号名称。 + 账号名称 :param name: The name of this AccountDto. :type name: str diff --git a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/cancel_handshake_request.py b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/cancel_handshake_request.py index 557bd51af7..b08002d9f4 100644 --- a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/cancel_handshake_request.py +++ b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/cancel_handshake_request.py @@ -29,7 +29,7 @@ def __init__(self, handshake_id=None): The model defined in huaweicloud sdk - :param handshake_id: 邀请的唯一标识符(ID)。帐号在发起邀请时创建ID。 + :param handshake_id: 邀请的唯一标识符(ID)。账号在发起邀请时创建ID。 :type handshake_id: str """ @@ -44,7 +44,7 @@ def __init__(self, handshake_id=None): def handshake_id(self): """Gets the handshake_id of this CancelHandshakeRequest. - 邀请的唯一标识符(ID)。帐号在发起邀请时创建ID。 + 邀请的唯一标识符(ID)。账号在发起邀请时创建ID。 :return: The handshake_id of this CancelHandshakeRequest. :rtype: str @@ -55,7 +55,7 @@ def handshake_id(self): def handshake_id(self, handshake_id): """Sets the handshake_id of this CancelHandshakeRequest. - 邀请的唯一标识符(ID)。帐号在发起邀请时创建ID。 + 邀请的唯一标识符(ID)。账号在发起邀请时创建ID。 :param handshake_id: The handshake_id of this CancelHandshakeRequest. :type handshake_id: str diff --git a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/close_account_status_dto.py b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/close_account_status_dto.py new file mode 100644 index 0000000000..d7540ebee8 --- /dev/null +++ b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/close_account_status_dto.py @@ -0,0 +1,255 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class CloseAccountStatusDto: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'account_id': 'str', + 'created_at': 'datetime', + 'updated_at': 'datetime', + 'organization_id': 'str', + 'state': 'str', + 'failure_reason': 'str' + } + + attribute_map = { + 'account_id': 'account_id', + 'created_at': 'created_at', + 'updated_at': 'updated_at', + 'organization_id': 'organization_id', + 'state': 'state', + 'failure_reason': 'failure_reason' + } + + def __init__(self, account_id=None, created_at=None, updated_at=None, organization_id=None, state=None, failure_reason=None): + """CloseAccountStatusDto + + The model defined in huaweicloud sdk + + :param account_id: 账号的唯一标识符(ID)。 + :type account_id: str + :param created_at: 请求关闭账号的日期和时间。 + :type created_at: datetime + :param updated_at: 请求关闭账号状态更新的日期和时间。 + :type updated_at: datetime + :param organization_id: 组织的唯一标识符(ID)。 + :type organization_id: str + :param state: 关闭账号的状态,pending_closure:关闭中,suspended:已关闭 + :type state: str + :param failure_reason: 如果请求失败,则说明失败原因。 + :type failure_reason: str + """ + + + + self._account_id = None + self._created_at = None + self._updated_at = None + self._organization_id = None + self._state = None + self._failure_reason = None + self.discriminator = None + + self.account_id = account_id + self.created_at = created_at + self.updated_at = updated_at + self.organization_id = organization_id + self.state = state + if failure_reason is not None: + self.failure_reason = failure_reason + + @property + def account_id(self): + """Gets the account_id of this CloseAccountStatusDto. + + 账号的唯一标识符(ID)。 + + :return: The account_id of this CloseAccountStatusDto. + :rtype: str + """ + return self._account_id + + @account_id.setter + def account_id(self, account_id): + """Sets the account_id of this CloseAccountStatusDto. + + 账号的唯一标识符(ID)。 + + :param account_id: The account_id of this CloseAccountStatusDto. + :type account_id: str + """ + self._account_id = account_id + + @property + def created_at(self): + """Gets the created_at of this CloseAccountStatusDto. + + 请求关闭账号的日期和时间。 + + :return: The created_at of this CloseAccountStatusDto. + :rtype: datetime + """ + return self._created_at + + @created_at.setter + def created_at(self, created_at): + """Sets the created_at of this CloseAccountStatusDto. + + 请求关闭账号的日期和时间。 + + :param created_at: The created_at of this CloseAccountStatusDto. + :type created_at: datetime + """ + self._created_at = created_at + + @property + def updated_at(self): + """Gets the updated_at of this CloseAccountStatusDto. + + 请求关闭账号状态更新的日期和时间。 + + :return: The updated_at of this CloseAccountStatusDto. + :rtype: datetime + """ + return self._updated_at + + @updated_at.setter + def updated_at(self, updated_at): + """Sets the updated_at of this CloseAccountStatusDto. + + 请求关闭账号状态更新的日期和时间。 + + :param updated_at: The updated_at of this CloseAccountStatusDto. + :type updated_at: datetime + """ + self._updated_at = updated_at + + @property + def organization_id(self): + """Gets the organization_id of this CloseAccountStatusDto. + + 组织的唯一标识符(ID)。 + + :return: The organization_id of this CloseAccountStatusDto. + :rtype: str + """ + return self._organization_id + + @organization_id.setter + def organization_id(self, organization_id): + """Sets the organization_id of this CloseAccountStatusDto. + + 组织的唯一标识符(ID)。 + + :param organization_id: The organization_id of this CloseAccountStatusDto. + :type organization_id: str + """ + self._organization_id = organization_id + + @property + def state(self): + """Gets the state of this CloseAccountStatusDto. + + 关闭账号的状态,pending_closure:关闭中,suspended:已关闭 + + :return: The state of this CloseAccountStatusDto. + :rtype: str + """ + return self._state + + @state.setter + def state(self, state): + """Sets the state of this CloseAccountStatusDto. + + 关闭账号的状态,pending_closure:关闭中,suspended:已关闭 + + :param state: The state of this CloseAccountStatusDto. + :type state: str + """ + self._state = state + + @property + def failure_reason(self): + """Gets the failure_reason of this CloseAccountStatusDto. + + 如果请求失败,则说明失败原因。 + + :return: The failure_reason of this CloseAccountStatusDto. + :rtype: str + """ + return self._failure_reason + + @failure_reason.setter + def failure_reason(self, failure_reason): + """Sets the failure_reason of this CloseAccountStatusDto. + + 如果请求失败,则说明失败原因。 + + :param failure_reason: The failure_reason of this CloseAccountStatusDto. + :type failure_reason: str + """ + self._failure_reason = failure_reason + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CloseAccountStatusDto): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/create_account_status_dto.py b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/create_account_status_dto.py index 18d489a912..1b17aeea03 100644 --- a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/create_account_status_dto.py +++ b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/create_account_status_dto.py @@ -41,17 +41,17 @@ def __init__(self, account_id=None, account_name=None, completed_at=None, create The model defined in huaweicloud sdk - :param account_id: 如果帐号创建成功,则为新帐号的唯一标识符(ID)。 + :param account_id: 如果账号创建成功,则为新账号的唯一标识符(ID)。 :type account_id: str - :param account_name: 帐号名称。 + :param account_name: 账号名称 :type account_name: str - :param completed_at: 创建帐号和完成请求的日期和时间。 + :param completed_at: 创建账号和完成请求的日期和时间。 :type completed_at: datetime - :param created_at: 请求创建帐号的日期和时间。 + :param created_at: 请求创建账号的日期和时间。 :type created_at: datetime - :param id: 请求的唯一标识符(ID)。您可以从创建帐号的初始CreateAccount请求的响应中获得此值。 + :param id: 请求的唯一标识符(ID)。您可以从创建账号的初始CreateAccount请求的响应中获得此值。 :type id: str - :param state: 创建帐号的异步请求的状态,in_progress:处理中,succeeded:成功,failed:失败。 + :param state: 创建账号的异步请求的状态,in_progress:处理中,succeeded:成功,failed:失败。 :type state: str :param failure_reason: 如果请求失败,则说明失败原因。 :type failure_reason: str @@ -81,7 +81,7 @@ def __init__(self, account_id=None, account_name=None, completed_at=None, create def account_id(self): """Gets the account_id of this CreateAccountStatusDto. - 如果帐号创建成功,则为新帐号的唯一标识符(ID)。 + 如果账号创建成功,则为新账号的唯一标识符(ID)。 :return: The account_id of this CreateAccountStatusDto. :rtype: str @@ -92,7 +92,7 @@ def account_id(self): def account_id(self, account_id): """Sets the account_id of this CreateAccountStatusDto. - 如果帐号创建成功,则为新帐号的唯一标识符(ID)。 + 如果账号创建成功,则为新账号的唯一标识符(ID)。 :param account_id: The account_id of this CreateAccountStatusDto. :type account_id: str @@ -103,7 +103,7 @@ def account_id(self, account_id): def account_name(self): """Gets the account_name of this CreateAccountStatusDto. - 帐号名称。 + 账号名称 :return: The account_name of this CreateAccountStatusDto. :rtype: str @@ -114,7 +114,7 @@ def account_name(self): def account_name(self, account_name): """Sets the account_name of this CreateAccountStatusDto. - 帐号名称。 + 账号名称 :param account_name: The account_name of this CreateAccountStatusDto. :type account_name: str @@ -125,7 +125,7 @@ def account_name(self, account_name): def completed_at(self): """Gets the completed_at of this CreateAccountStatusDto. - 创建帐号和完成请求的日期和时间。 + 创建账号和完成请求的日期和时间。 :return: The completed_at of this CreateAccountStatusDto. :rtype: datetime @@ -136,7 +136,7 @@ def completed_at(self): def completed_at(self, completed_at): """Sets the completed_at of this CreateAccountStatusDto. - 创建帐号和完成请求的日期和时间。 + 创建账号和完成请求的日期和时间。 :param completed_at: The completed_at of this CreateAccountStatusDto. :type completed_at: datetime @@ -147,7 +147,7 @@ def completed_at(self, completed_at): def created_at(self): """Gets the created_at of this CreateAccountStatusDto. - 请求创建帐号的日期和时间。 + 请求创建账号的日期和时间。 :return: The created_at of this CreateAccountStatusDto. :rtype: datetime @@ -158,7 +158,7 @@ def created_at(self): def created_at(self, created_at): """Sets the created_at of this CreateAccountStatusDto. - 请求创建帐号的日期和时间。 + 请求创建账号的日期和时间。 :param created_at: The created_at of this CreateAccountStatusDto. :type created_at: datetime @@ -169,7 +169,7 @@ def created_at(self, created_at): def id(self): """Gets the id of this CreateAccountStatusDto. - 请求的唯一标识符(ID)。您可以从创建帐号的初始CreateAccount请求的响应中获得此值。 + 请求的唯一标识符(ID)。您可以从创建账号的初始CreateAccount请求的响应中获得此值。 :return: The id of this CreateAccountStatusDto. :rtype: str @@ -180,7 +180,7 @@ def id(self): def id(self, id): """Sets the id of this CreateAccountStatusDto. - 请求的唯一标识符(ID)。您可以从创建帐号的初始CreateAccount请求的响应中获得此值。 + 请求的唯一标识符(ID)。您可以从创建账号的初始CreateAccount请求的响应中获得此值。 :param id: The id of this CreateAccountStatusDto. :type id: str @@ -191,7 +191,7 @@ def id(self, id): def state(self): """Gets the state of this CreateAccountStatusDto. - 创建帐号的异步请求的状态,in_progress:处理中,succeeded:成功,failed:失败。 + 创建账号的异步请求的状态,in_progress:处理中,succeeded:成功,failed:失败。 :return: The state of this CreateAccountStatusDto. :rtype: str @@ -202,7 +202,7 @@ def state(self): def state(self, state): """Sets the state of this CreateAccountStatusDto. - 创建帐号的异步请求的状态,in_progress:处理中,succeeded:成功,failed:失败。 + 创建账号的异步请求的状态,in_progress:处理中,succeeded:成功,failed:失败。 :param state: The state of this CreateAccountStatusDto. :type state: str diff --git a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/create_tag_resource_request.py b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/create_tag_resource_request.py index 96e7bcb4cf..8c65e41cc0 100644 --- a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/create_tag_resource_request.py +++ b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/create_tag_resource_request.py @@ -33,9 +33,9 @@ def __init__(self, resource_type=None, resource_id=None, body=None): The model defined in huaweicloud sdk - :param resource_type: 资源类型 organizations:policies服务策略 organizations:ous组织OU organizations:accounts 帐号信息 organizations:roots根 + :param resource_type: 资源类型 organizations:policies服务策略 organizations:ous组织OU organizations:accounts账号信息 organizations:roots根 :type resource_type: str - :param resource_id: 根、组织单元、帐号或策略的唯一标识符(ID)。 + :param resource_id: 根、组织单元、账号或策略的唯一标识符(ID)。 :type resource_id: str :param body: Body of the CreateTagResourceRequest :type body: :class:`huaweicloudsdkorganizations.v1.TagResourceReqBody` @@ -57,7 +57,7 @@ def __init__(self, resource_type=None, resource_id=None, body=None): def resource_type(self): """Gets the resource_type of this CreateTagResourceRequest. - 资源类型 organizations:policies服务策略 organizations:ous组织OU organizations:accounts 帐号信息 organizations:roots根 + 资源类型 organizations:policies服务策略 organizations:ous组织OU organizations:accounts账号信息 organizations:roots根 :return: The resource_type of this CreateTagResourceRequest. :rtype: str @@ -68,7 +68,7 @@ def resource_type(self): def resource_type(self, resource_type): """Sets the resource_type of this CreateTagResourceRequest. - 资源类型 organizations:policies服务策略 organizations:ous组织OU organizations:accounts 帐号信息 organizations:roots根 + 资源类型 organizations:policies服务策略 organizations:ous组织OU organizations:accounts账号信息 organizations:roots根 :param resource_type: The resource_type of this CreateTagResourceRequest. :type resource_type: str @@ -79,7 +79,7 @@ def resource_type(self, resource_type): def resource_id(self): """Gets the resource_id of this CreateTagResourceRequest. - 根、组织单元、帐号或策略的唯一标识符(ID)。 + 根、组织单元、账号或策略的唯一标识符(ID)。 :return: The resource_id of this CreateTagResourceRequest. :rtype: str @@ -90,7 +90,7 @@ def resource_id(self): def resource_id(self, resource_id): """Sets the resource_id of this CreateTagResourceRequest. - 根、组织单元、帐号或策略的唯一标识符(ID)。 + 根、组织单元、账号或策略的唯一标识符(ID)。 :param resource_id: The resource_id of this CreateTagResourceRequest. :type resource_id: str diff --git a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/decline_handshake_request.py b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/decline_handshake_request.py index 622e5edb2e..406de0f5fa 100644 --- a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/decline_handshake_request.py +++ b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/decline_handshake_request.py @@ -29,7 +29,7 @@ def __init__(self, handshake_id=None): The model defined in huaweicloud sdk - :param handshake_id: 邀请的唯一标识符(ID)。帐号在发起邀请时创建ID。 + :param handshake_id: 邀请的唯一标识符(ID)。账号在发起邀请时创建ID。 :type handshake_id: str """ @@ -44,7 +44,7 @@ def __init__(self, handshake_id=None): def handshake_id(self): """Gets the handshake_id of this DeclineHandshakeRequest. - 邀请的唯一标识符(ID)。帐号在发起邀请时创建ID。 + 邀请的唯一标识符(ID)。账号在发起邀请时创建ID。 :return: The handshake_id of this DeclineHandshakeRequest. :rtype: str @@ -55,7 +55,7 @@ def handshake_id(self): def handshake_id(self, handshake_id): """Sets the handshake_id of this DeclineHandshakeRequest. - 邀请的唯一标识符(ID)。帐号在发起邀请时创建ID。 + 邀请的唯一标识符(ID)。账号在发起邀请时创建ID。 :param handshake_id: The handshake_id of this DeclineHandshakeRequest. :type handshake_id: str diff --git a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/delegated_administrator_dto.py b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/delegated_administrator_dto.py index c66c1db76f..f5f053258a 100644 --- a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/delegated_administrator_dto.py +++ b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/delegated_administrator_dto.py @@ -39,17 +39,17 @@ def __init__(self, delegation_enabled_at=None, account_id=None, account_urn=None The model defined in huaweicloud sdk - :param delegation_enabled_at: 将帐号设置为委托管理员的日期。 + :param delegation_enabled_at: 将账号设置为委托管理员的日期。 :type delegation_enabled_at: datetime - :param account_id: 帐号的唯一标识符(ID)。 + :param account_id: 账号的唯一标识符(ID)。 :type account_id: str - :param account_urn: 帐号的统一资源名称。 + :param account_urn: 账号的统一资源名称。 :type account_urn: str - :param join_method: 帐号加入组织的方式,invited:邀请加入,created:创建加入。 + :param join_method: 账号加入组织的方式,invited:邀请加入,created:创建加入。 :type join_method: str - :param joined_at: 帐号成为组织一部分的日期。 + :param joined_at: 账号成为组织一部分的日期。 :type joined_at: datetime - :param account_name: 帐号名称。 + :param account_name: 账号名称 :type account_name: str """ @@ -74,7 +74,7 @@ def __init__(self, delegation_enabled_at=None, account_id=None, account_urn=None def delegation_enabled_at(self): """Gets the delegation_enabled_at of this DelegatedAdministratorDto. - 将帐号设置为委托管理员的日期。 + 将账号设置为委托管理员的日期。 :return: The delegation_enabled_at of this DelegatedAdministratorDto. :rtype: datetime @@ -85,7 +85,7 @@ def delegation_enabled_at(self): def delegation_enabled_at(self, delegation_enabled_at): """Sets the delegation_enabled_at of this DelegatedAdministratorDto. - 将帐号设置为委托管理员的日期。 + 将账号设置为委托管理员的日期。 :param delegation_enabled_at: The delegation_enabled_at of this DelegatedAdministratorDto. :type delegation_enabled_at: datetime @@ -96,7 +96,7 @@ def delegation_enabled_at(self, delegation_enabled_at): def account_id(self): """Gets the account_id of this DelegatedAdministratorDto. - 帐号的唯一标识符(ID)。 + 账号的唯一标识符(ID)。 :return: The account_id of this DelegatedAdministratorDto. :rtype: str @@ -107,7 +107,7 @@ def account_id(self): def account_id(self, account_id): """Sets the account_id of this DelegatedAdministratorDto. - 帐号的唯一标识符(ID)。 + 账号的唯一标识符(ID)。 :param account_id: The account_id of this DelegatedAdministratorDto. :type account_id: str @@ -118,7 +118,7 @@ def account_id(self, account_id): def account_urn(self): """Gets the account_urn of this DelegatedAdministratorDto. - 帐号的统一资源名称。 + 账号的统一资源名称。 :return: The account_urn of this DelegatedAdministratorDto. :rtype: str @@ -129,7 +129,7 @@ def account_urn(self): def account_urn(self, account_urn): """Sets the account_urn of this DelegatedAdministratorDto. - 帐号的统一资源名称。 + 账号的统一资源名称。 :param account_urn: The account_urn of this DelegatedAdministratorDto. :type account_urn: str @@ -140,7 +140,7 @@ def account_urn(self, account_urn): def join_method(self): """Gets the join_method of this DelegatedAdministratorDto. - 帐号加入组织的方式,invited:邀请加入,created:创建加入。 + 账号加入组织的方式,invited:邀请加入,created:创建加入。 :return: The join_method of this DelegatedAdministratorDto. :rtype: str @@ -151,7 +151,7 @@ def join_method(self): def join_method(self, join_method): """Sets the join_method of this DelegatedAdministratorDto. - 帐号加入组织的方式,invited:邀请加入,created:创建加入。 + 账号加入组织的方式,invited:邀请加入,created:创建加入。 :param join_method: The join_method of this DelegatedAdministratorDto. :type join_method: str @@ -162,7 +162,7 @@ def join_method(self, join_method): def joined_at(self): """Gets the joined_at of this DelegatedAdministratorDto. - 帐号成为组织一部分的日期。 + 账号成为组织一部分的日期。 :return: The joined_at of this DelegatedAdministratorDto. :rtype: datetime @@ -173,7 +173,7 @@ def joined_at(self): def joined_at(self, joined_at): """Sets the joined_at of this DelegatedAdministratorDto. - 帐号成为组织一部分的日期。 + 账号成为组织一部分的日期。 :param joined_at: The joined_at of this DelegatedAdministratorDto. :type joined_at: datetime @@ -184,7 +184,7 @@ def joined_at(self, joined_at): def account_name(self): """Gets the account_name of this DelegatedAdministratorDto. - 帐号名称。 + 账号名称 :return: The account_name of this DelegatedAdministratorDto. :rtype: str @@ -195,7 +195,7 @@ def account_name(self): def account_name(self, account_name): """Sets the account_name of this DelegatedAdministratorDto. - 帐号名称。 + 账号名称 :param account_name: The account_name of this DelegatedAdministratorDto. :type account_name: str diff --git a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/delegated_administrator_req_body.py b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/delegated_administrator_req_body.py index c9b2504131..640504889d 100644 --- a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/delegated_administrator_req_body.py +++ b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/delegated_administrator_req_body.py @@ -33,7 +33,7 @@ def __init__(self, service_principal=None, account_id=None): :param service_principal: 服务主体名称。 :type service_principal: str - :param account_id: 帐号的唯一标识符(ID)。 + :param account_id: 账号的唯一标识符(ID)。 :type account_id: str """ @@ -72,7 +72,7 @@ def service_principal(self, service_principal): def account_id(self): """Gets the account_id of this DelegatedAdministratorReqBody. - 帐号的唯一标识符(ID)。 + 账号的唯一标识符(ID)。 :return: The account_id of this DelegatedAdministratorReqBody. :rtype: str @@ -83,7 +83,7 @@ def account_id(self): def account_id(self, account_id): """Sets the account_id of this DelegatedAdministratorReqBody. - 帐号的唯一标识符(ID)。 + 账号的唯一标识符(ID)。 :param account_id: The account_id of this DelegatedAdministratorReqBody. :type account_id: str diff --git a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/delegated_service_dto.py b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/delegated_service_dto.py index b2a09c4d01..62d68d1928 100644 --- a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/delegated_service_dto.py +++ b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/delegated_service_dto.py @@ -33,7 +33,7 @@ def __init__(self, service_principal=None, delegation_enabled_at=None): :param service_principal: 服务主体的名称。 :type service_principal: str - :param delegation_enabled_at: 帐号成为此服务的委托管理员的日期。 + :param delegation_enabled_at: 账号成为此服务的委托管理员的日期。 :type delegation_enabled_at: datetime """ @@ -72,7 +72,7 @@ def service_principal(self, service_principal): def delegation_enabled_at(self): """Gets the delegation_enabled_at of this DelegatedServiceDto. - 帐号成为此服务的委托管理员的日期。 + 账号成为此服务的委托管理员的日期。 :return: The delegation_enabled_at of this DelegatedServiceDto. :rtype: datetime @@ -83,7 +83,7 @@ def delegation_enabled_at(self): def delegation_enabled_at(self, delegation_enabled_at): """Sets the delegation_enabled_at of this DelegatedServiceDto. - 帐号成为此服务的委托管理员的日期。 + 账号成为此服务的委托管理员的日期。 :param delegation_enabled_at: The delegation_enabled_at of this DelegatedServiceDto. :type delegation_enabled_at: datetime diff --git a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/delete_tag_resource_request.py b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/delete_tag_resource_request.py index 2366490d40..b4e5aeefff 100644 --- a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/delete_tag_resource_request.py +++ b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/delete_tag_resource_request.py @@ -33,9 +33,9 @@ def __init__(self, resource_type=None, resource_id=None, body=None): The model defined in huaweicloud sdk - :param resource_type: 资源类型 organizations:policies服务策略 organizations:ous组织OU organizations:accounts 帐号信息 organizations:roots根 + :param resource_type: 资源类型 organizations:policies服务策略 organizations:ous组织OU organizations:accounts账号信息 organizations:roots根 :type resource_type: str - :param resource_id: 根、组织单元、帐号或策略的唯一标识符(ID)。 + :param resource_id: 根、组织单元、账号或策略的唯一标识符(ID)。 :type resource_id: str :param body: Body of the DeleteTagResourceRequest :type body: :class:`huaweicloudsdkorganizations.v1.TagResourceReqBody` @@ -57,7 +57,7 @@ def __init__(self, resource_type=None, resource_id=None, body=None): def resource_type(self): """Gets the resource_type of this DeleteTagResourceRequest. - 资源类型 organizations:policies服务策略 organizations:ous组织OU organizations:accounts 帐号信息 organizations:roots根 + 资源类型 organizations:policies服务策略 organizations:ous组织OU organizations:accounts账号信息 organizations:roots根 :return: The resource_type of this DeleteTagResourceRequest. :rtype: str @@ -68,7 +68,7 @@ def resource_type(self): def resource_type(self, resource_type): """Sets the resource_type of this DeleteTagResourceRequest. - 资源类型 organizations:policies服务策略 organizations:ous组织OU organizations:accounts 帐号信息 organizations:roots根 + 资源类型 organizations:policies服务策略 organizations:ous组织OU organizations:accounts账号信息 organizations:roots根 :param resource_type: The resource_type of this DeleteTagResourceRequest. :type resource_type: str @@ -79,7 +79,7 @@ def resource_type(self, resource_type): def resource_id(self): """Gets the resource_id of this DeleteTagResourceRequest. - 根、组织单元、帐号或策略的唯一标识符(ID)。 + 根、组织单元、账号或策略的唯一标识符(ID)。 :return: The resource_id of this DeleteTagResourceRequest. :rtype: str @@ -90,7 +90,7 @@ def resource_id(self): def resource_id(self, resource_id): """Sets the resource_id of this DeleteTagResourceRequest. - 根、组织单元、帐号或策略的唯一标识符(ID)。 + 根、组织单元、账号或策略的唯一标识符(ID)。 :param resource_id: The resource_id of this DeleteTagResourceRequest. :type resource_id: str diff --git a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/handshake_dto.py b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/handshake_dto.py index 4c19c21af5..002ff2b275 100644 --- a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/handshake_dto.py +++ b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/handshake_dto.py @@ -47,7 +47,7 @@ def __init__(self, id=None, urn=None, updated_at=None, created_at=None, manageme The model defined in huaweicloud sdk - :param id: 邀请(握手)的唯一标识符(ID)。源帐号在发起邀请(握手)时创建ID。 + :param id: 邀请(握手)的唯一标识符(ID)。源账号在发起邀请(握手)时创建ID。 :type id: str :param urn: 邀请(握手)的统一资源名称。 :type urn: str @@ -55,13 +55,13 @@ def __init__(self, id=None, urn=None, updated_at=None, created_at=None, manageme :type updated_at: datetime :param created_at: 提出邀请(握手)请求的日期和时间。 :type created_at: datetime - :param management_account_id: 组织管理帐号的唯一标识符(ID)。 + :param management_account_id: 组织管理账号的唯一标识符(ID)。 :type management_account_id: str - :param management_account_name: 组织管理帐号的名称。 + :param management_account_name: 组织管理账号的名称。 :type management_account_name: str :param organization_id: 组织的唯一标识符(ID)。 :type organization_id: str - :param notes: 给收件帐号所有者的邮件中的附加信息。 + :param notes: 给收件账号所有者的邮件中的附加信息。 :type notes: str :param target: :type target: :class:`huaweicloudsdkorganizations.v1.TargetDto` @@ -98,7 +98,7 @@ def __init__(self, id=None, urn=None, updated_at=None, created_at=None, manageme def id(self): """Gets the id of this HandshakeDto. - 邀请(握手)的唯一标识符(ID)。源帐号在发起邀请(握手)时创建ID。 + 邀请(握手)的唯一标识符(ID)。源账号在发起邀请(握手)时创建ID。 :return: The id of this HandshakeDto. :rtype: str @@ -109,7 +109,7 @@ def id(self): def id(self, id): """Sets the id of this HandshakeDto. - 邀请(握手)的唯一标识符(ID)。源帐号在发起邀请(握手)时创建ID。 + 邀请(握手)的唯一标识符(ID)。源账号在发起邀请(握手)时创建ID。 :param id: The id of this HandshakeDto. :type id: str @@ -186,7 +186,7 @@ def created_at(self, created_at): def management_account_id(self): """Gets the management_account_id of this HandshakeDto. - 组织管理帐号的唯一标识符(ID)。 + 组织管理账号的唯一标识符(ID)。 :return: The management_account_id of this HandshakeDto. :rtype: str @@ -197,7 +197,7 @@ def management_account_id(self): def management_account_id(self, management_account_id): """Sets the management_account_id of this HandshakeDto. - 组织管理帐号的唯一标识符(ID)。 + 组织管理账号的唯一标识符(ID)。 :param management_account_id: The management_account_id of this HandshakeDto. :type management_account_id: str @@ -208,7 +208,7 @@ def management_account_id(self, management_account_id): def management_account_name(self): """Gets the management_account_name of this HandshakeDto. - 组织管理帐号的名称。 + 组织管理账号的名称。 :return: The management_account_name of this HandshakeDto. :rtype: str @@ -219,7 +219,7 @@ def management_account_name(self): def management_account_name(self, management_account_name): """Sets the management_account_name of this HandshakeDto. - 组织管理帐号的名称。 + 组织管理账号的名称。 :param management_account_name: The management_account_name of this HandshakeDto. :type management_account_name: str @@ -252,7 +252,7 @@ def organization_id(self, organization_id): def notes(self): """Gets the notes of this HandshakeDto. - 给收件帐号所有者的邮件中的附加信息。 + 给收件账号所有者的邮件中的附加信息。 :return: The notes of this HandshakeDto. :rtype: str @@ -263,7 +263,7 @@ def notes(self): def notes(self, notes): """Sets the notes of this HandshakeDto. - 给收件帐号所有者的邮件中的附加信息。 + 给收件账号所有者的邮件中的附加信息。 :param notes: The notes of this HandshakeDto. :type notes: str diff --git a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/invite_account_req_body.py b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/invite_account_req_body.py index 0646f55418..2bf5cb7178 100644 --- a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/invite_account_req_body.py +++ b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/invite_account_req_body.py @@ -35,9 +35,9 @@ def __init__(self, target=None, notes=None, tags=None): :param target: :type target: :class:`huaweicloudsdkorganizations.v1.TargetDto` - :param notes: 给收件帐号所有者的邮件中的附加信息。 + :param notes: 给收件账号所有者的邮件中的附加信息。 :type notes: str - :param tags: 要绑定到新创建的帐号的标签列表。 + :param tags: 要绑定到新创建的账号的标签列表。 :type tags: list[:class:`huaweicloudsdkorganizations.v1.TagDto`] """ @@ -75,7 +75,7 @@ def target(self, target): def notes(self): """Gets the notes of this InviteAccountReqBody. - 给收件帐号所有者的邮件中的附加信息。 + 给收件账号所有者的邮件中的附加信息。 :return: The notes of this InviteAccountReqBody. :rtype: str @@ -86,7 +86,7 @@ def notes(self): def notes(self, notes): """Sets the notes of this InviteAccountReqBody. - 给收件帐号所有者的邮件中的附加信息。 + 给收件账号所有者的邮件中的附加信息。 :param notes: The notes of this InviteAccountReqBody. :type notes: str @@ -97,7 +97,7 @@ def notes(self, notes): def tags(self): """Gets the tags of this InviteAccountReqBody. - 要绑定到新创建的帐号的标签列表。 + 要绑定到新创建的账号的标签列表。 :return: The tags of this InviteAccountReqBody. :rtype: list[:class:`huaweicloudsdkorganizations.v1.TagDto`] @@ -108,7 +108,7 @@ def tags(self): def tags(self, tags): """Sets the tags of this InviteAccountReqBody. - 要绑定到新创建的帐号的标签列表。 + 要绑定到新创建的账号的标签列表。 :param tags: The tags of this InviteAccountReqBody. :type tags: list[:class:`huaweicloudsdkorganizations.v1.TagDto`] diff --git a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/list_accounts_response.py b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/list_accounts_response.py index fb14b8cb88..c0bc78da1f 100644 --- a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/list_accounts_response.py +++ b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/list_accounts_response.py @@ -32,7 +32,7 @@ def __init__(self, accounts=None, page_info=None): The model defined in huaweicloud sdk - :param accounts: 组织中的帐号列表。 + :param accounts: 组织中的账号列表。 :type accounts: list[:class:`huaweicloudsdkorganizations.v1.AccountDto`] :param page_info: :type page_info: :class:`huaweicloudsdkorganizations.v1.PageInfoDto` @@ -53,7 +53,7 @@ def __init__(self, accounts=None, page_info=None): def accounts(self): """Gets the accounts of this ListAccountsResponse. - 组织中的帐号列表。 + 组织中的账号列表。 :return: The accounts of this ListAccountsResponse. :rtype: list[:class:`huaweicloudsdkorganizations.v1.AccountDto`] @@ -64,7 +64,7 @@ def accounts(self): def accounts(self, accounts): """Sets the accounts of this ListAccountsResponse. - 组织中的帐号列表。 + 组织中的账号列表。 :param accounts: The accounts of this ListAccountsResponse. :type accounts: list[:class:`huaweicloudsdkorganizations.v1.AccountDto`] diff --git a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/list_close_account_statuses_request.py b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/list_close_account_statuses_request.py new file mode 100644 index 0000000000..de02bcf43b --- /dev/null +++ b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/list_close_account_statuses_request.py @@ -0,0 +1,115 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ListCloseAccountStatusesRequest: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'states': 'list[str]' + } + + attribute_map = { + 'states': 'states' + } + + def __init__(self, states=None): + """ListCloseAccountStatusesRequest + + The model defined in huaweicloud sdk + + :param states: 要包含在响应中的一个或多个状态的列表。如果此参数不存在,则所有请求都包含在响应中。 + :type states: list[str] + """ + + + + self._states = None + self.discriminator = None + + if states is not None: + self.states = states + + @property + def states(self): + """Gets the states of this ListCloseAccountStatusesRequest. + + 要包含在响应中的一个或多个状态的列表。如果此参数不存在,则所有请求都包含在响应中。 + + :return: The states of this ListCloseAccountStatusesRequest. + :rtype: list[str] + """ + return self._states + + @states.setter + def states(self, states): + """Sets the states of this ListCloseAccountStatusesRequest. + + 要包含在响应中的一个或多个状态的列表。如果此参数不存在,则所有请求都包含在响应中。 + + :param states: The states of this ListCloseAccountStatusesRequest. + :type states: list[str] + """ + self._states = states + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ListCloseAccountStatusesRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/describe_permission_set_response.py b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/list_close_account_statuses_response.py similarity index 57% rename from huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/describe_permission_set_response.py rename to huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/list_close_account_statuses_response.py index 1a8c414d25..5765a1509d 100644 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/describe_permission_set_response.py +++ b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/list_close_account_statuses_response.py @@ -6,7 +6,7 @@ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class DescribePermissionSetResponse(SdkResponse): +class ListCloseAccountStatusesResponse(SdkResponse): """ Attributes: @@ -18,47 +18,51 @@ class DescribePermissionSetResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'permission_set': 'PermissionSetDto' + 'close_account_statuses': 'list[CloseAccountStatusDto]' } attribute_map = { - 'permission_set': 'permission_set' + 'close_account_statuses': 'close_account_statuses' } - def __init__(self, permission_set=None): - """DescribePermissionSetResponse + def __init__(self, close_account_statuses=None): + """ListCloseAccountStatusesResponse The model defined in huaweicloud sdk - :param permission_set: - :type permission_set: :class:`huaweicloudsdkidentitycenter.v1.PermissionSetDto` + :param close_account_statuses: 包含有关请求的详细信息的对象列表。 + :type close_account_statuses: list[:class:`huaweicloudsdkorganizations.v1.CloseAccountStatusDto`] """ - super(DescribePermissionSetResponse, self).__init__() + super(ListCloseAccountStatusesResponse, self).__init__() - self._permission_set = None + self._close_account_statuses = None self.discriminator = None - if permission_set is not None: - self.permission_set = permission_set + if close_account_statuses is not None: + self.close_account_statuses = close_account_statuses @property - def permission_set(self): - """Gets the permission_set of this DescribePermissionSetResponse. + def close_account_statuses(self): + """Gets the close_account_statuses of this ListCloseAccountStatusesResponse. - :return: The permission_set of this DescribePermissionSetResponse. - :rtype: :class:`huaweicloudsdkidentitycenter.v1.PermissionSetDto` + 包含有关请求的详细信息的对象列表。 + + :return: The close_account_statuses of this ListCloseAccountStatusesResponse. + :rtype: list[:class:`huaweicloudsdkorganizations.v1.CloseAccountStatusDto`] """ - return self._permission_set + return self._close_account_statuses + + @close_account_statuses.setter + def close_account_statuses(self, close_account_statuses): + """Sets the close_account_statuses of this ListCloseAccountStatusesResponse. - @permission_set.setter - def permission_set(self, permission_set): - """Sets the permission_set of this DescribePermissionSetResponse. + 包含有关请求的详细信息的对象列表。 - :param permission_set: The permission_set of this DescribePermissionSetResponse. - :type permission_set: :class:`huaweicloudsdkidentitycenter.v1.PermissionSetDto` + :param close_account_statuses: The close_account_statuses of this ListCloseAccountStatusesResponse. + :type close_account_statuses: list[:class:`huaweicloudsdkorganizations.v1.CloseAccountStatusDto`] """ - self._permission_set = permission_set + self._close_account_statuses = close_account_statuses def to_dict(self): """Returns the model properties as a dict""" @@ -102,7 +106,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, DescribePermissionSetResponse): + if not isinstance(other, ListCloseAccountStatusesResponse): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/list_delegated_services_request.py b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/list_delegated_services_request.py index a5442657d5..70b178db25 100644 --- a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/list_delegated_services_request.py +++ b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/list_delegated_services_request.py @@ -33,7 +33,7 @@ def __init__(self, account_id=None, limit=None, marker=None): The model defined in huaweicloud sdk - :param account_id: 帐号的唯一标识符(ID)。 + :param account_id: 账号的唯一标识符(ID)。 :type account_id: str :param limit: 页面中最大结果数量。 :type limit: int @@ -58,7 +58,7 @@ def __init__(self, account_id=None, limit=None, marker=None): def account_id(self): """Gets the account_id of this ListDelegatedServicesRequest. - 帐号的唯一标识符(ID)。 + 账号的唯一标识符(ID)。 :return: The account_id of this ListDelegatedServicesRequest. :rtype: str @@ -69,7 +69,7 @@ def account_id(self): def account_id(self, account_id): """Sets the account_id of this ListDelegatedServicesRequest. - 帐号的唯一标识符(ID)。 + 账号的唯一标识符(ID)。 :param account_id: The account_id of this ListDelegatedServicesRequest. :type account_id: str diff --git a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/list_delegated_services_response.py b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/list_delegated_services_response.py index d2cefd075f..29888c623a 100644 --- a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/list_delegated_services_response.py +++ b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/list_delegated_services_response.py @@ -32,7 +32,7 @@ def __init__(self, delegated_services=None, page_info=None): The model defined in huaweicloud sdk - :param delegated_services: 帐号是其委托管理员的服务。 + :param delegated_services: 账号是其委托管理员的服务。 :type delegated_services: list[:class:`huaweicloudsdkorganizations.v1.DelegatedServiceDto`] :param page_info: :type page_info: :class:`huaweicloudsdkorganizations.v1.PageInfoDto` @@ -53,7 +53,7 @@ def __init__(self, delegated_services=None, page_info=None): def delegated_services(self): """Gets the delegated_services of this ListDelegatedServicesResponse. - 帐号是其委托管理员的服务。 + 账号是其委托管理员的服务。 :return: The delegated_services of this ListDelegatedServicesResponse. :rtype: list[:class:`huaweicloudsdkorganizations.v1.DelegatedServiceDto`] @@ -64,7 +64,7 @@ def delegated_services(self): def delegated_services(self, delegated_services): """Sets the delegated_services of this ListDelegatedServicesResponse. - 帐号是其委托管理员的服务。 + 账号是其委托管理员的服务。 :param delegated_services: The delegated_services of this ListDelegatedServicesResponse. :type delegated_services: list[:class:`huaweicloudsdkorganizations.v1.DelegatedServiceDto`] diff --git a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/list_entities_response.py b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/list_entities_response.py index dfd915d6d4..f8cd029da9 100644 --- a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/list_entities_response.py +++ b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/list_entities_response.py @@ -32,7 +32,7 @@ def __init__(self, entities=None, page_info=None): The model defined in huaweicloud sdk - :param entities: 组织中的根、组织单元和帐号的列表。 + :param entities: 组织中的根、组织单元和账号的列表。 :type entities: list[:class:`huaweicloudsdkorganizations.v1.EntityDto`] :param page_info: :type page_info: :class:`huaweicloudsdkorganizations.v1.PageInfoDto` @@ -53,7 +53,7 @@ def __init__(self, entities=None, page_info=None): def entities(self): """Gets the entities of this ListEntitiesResponse. - 组织中的根、组织单元和帐号的列表。 + 组织中的根、组织单元和账号的列表。 :return: The entities of this ListEntitiesResponse. :rtype: list[:class:`huaweicloudsdkorganizations.v1.EntityDto`] @@ -64,7 +64,7 @@ def entities(self): def entities(self, entities): """Sets the entities of this ListEntitiesResponse. - 组织中的根、组织单元和帐号的列表。 + 组织中的根、组织单元和账号的列表。 :param entities: The entities of this ListEntitiesResponse. :type entities: list[:class:`huaweicloudsdkorganizations.v1.EntityDto`] diff --git a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/list_handshakes_response.py b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/list_handshakes_response.py index 4bd6362dff..48a2d95431 100644 --- a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/list_handshakes_response.py +++ b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/list_handshakes_response.py @@ -32,7 +32,7 @@ def __init__(self, handshakes=None, page_info=None): The model defined in huaweicloud sdk - :param handshakes: 邀请(握手)对象的列表,其中包含与指定帐号关联的每个邀请(握手)的详细信息。 + :param handshakes: 邀请(握手)对象的列表,其中包含与指定账号关联的每个邀请(握手)的详细信息。 :type handshakes: list[:class:`huaweicloudsdkorganizations.v1.HandshakeDto`] :param page_info: :type page_info: :class:`huaweicloudsdkorganizations.v1.PageInfoDto` @@ -53,7 +53,7 @@ def __init__(self, handshakes=None, page_info=None): def handshakes(self): """Gets the handshakes of this ListHandshakesResponse. - 邀请(握手)对象的列表,其中包含与指定帐号关联的每个邀请(握手)的详细信息。 + 邀请(握手)对象的列表,其中包含与指定账号关联的每个邀请(握手)的详细信息。 :return: The handshakes of this ListHandshakesResponse. :rtype: list[:class:`huaweicloudsdkorganizations.v1.HandshakeDto`] @@ -64,7 +64,7 @@ def handshakes(self): def handshakes(self, handshakes): """Sets the handshakes of this ListHandshakesResponse. - 邀请(握手)对象的列表,其中包含与指定帐号关联的每个邀请(握手)的详细信息。 + 邀请(握手)对象的列表,其中包含与指定账号关联的每个邀请(握手)的详细信息。 :param handshakes: The handshakes of this ListHandshakesResponse. :type handshakes: list[:class:`huaweicloudsdkorganizations.v1.HandshakeDto`] diff --git a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/list_policies_request.py b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/list_policies_request.py index e073e087b4..29f43cbf49 100644 --- a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/list_policies_request.py +++ b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/list_policies_request.py @@ -35,7 +35,7 @@ def __init__(self, attached_entity_id=None, limit=None, marker=None, x_language= The model defined in huaweicloud sdk - :param attached_entity_id: 根、组织单元或帐号的唯一标识符(ID)。 + :param attached_entity_id: 根、组织单元或账号的唯一标识符(ID)。 :type attached_entity_id: str :param limit: 页面中最大结果数量。 :type limit: int @@ -66,7 +66,7 @@ def __init__(self, attached_entity_id=None, limit=None, marker=None, x_language= def attached_entity_id(self): """Gets the attached_entity_id of this ListPoliciesRequest. - 根、组织单元或帐号的唯一标识符(ID)。 + 根、组织单元或账号的唯一标识符(ID)。 :return: The attached_entity_id of this ListPoliciesRequest. :rtype: str @@ -77,7 +77,7 @@ def attached_entity_id(self): def attached_entity_id(self, attached_entity_id): """Sets the attached_entity_id of this ListPoliciesRequest. - 根、组织单元或帐号的唯一标识符(ID)。 + 根、组织单元或账号的唯一标识符(ID)。 :param attached_entity_id: The attached_entity_id of this ListPoliciesRequest. :type attached_entity_id: str diff --git a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/list_received_handshakes_response.py b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/list_received_handshakes_response.py index f9dcb086e4..c6b60f4fd8 100644 --- a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/list_received_handshakes_response.py +++ b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/list_received_handshakes_response.py @@ -32,7 +32,7 @@ def __init__(self, handshakes=None, page_info=None): The model defined in huaweicloud sdk - :param handshakes: 邀请(握手)对象的列表,其中包含与指定帐号关联的每个邀请(握手)的详细信息。 + :param handshakes: 邀请(握手)对象的列表,其中包含与指定账号关联的每个邀请(握手)的详细信息。 :type handshakes: list[:class:`huaweicloudsdkorganizations.v1.HandshakeDto`] :param page_info: :type page_info: :class:`huaweicloudsdkorganizations.v1.PageInfoDto` @@ -53,7 +53,7 @@ def __init__(self, handshakes=None, page_info=None): def handshakes(self): """Gets the handshakes of this ListReceivedHandshakesResponse. - 邀请(握手)对象的列表,其中包含与指定帐号关联的每个邀请(握手)的详细信息。 + 邀请(握手)对象的列表,其中包含与指定账号关联的每个邀请(握手)的详细信息。 :return: The handshakes of this ListReceivedHandshakesResponse. :rtype: list[:class:`huaweicloudsdkorganizations.v1.HandshakeDto`] @@ -64,7 +64,7 @@ def handshakes(self): def handshakes(self, handshakes): """Sets the handshakes of this ListReceivedHandshakesResponse. - 邀请(握手)对象的列表,其中包含与指定帐号关联的每个邀请(握手)的详细信息。 + 邀请(握手)对象的列表,其中包含与指定账号关联的每个邀请(握手)的详细信息。 :param handshakes: The handshakes of this ListReceivedHandshakesResponse. :type handshakes: list[:class:`huaweicloudsdkorganizations.v1.HandshakeDto`] diff --git a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/list_resource_instances_request.py b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/list_resource_instances_request.py index 3f753af7f3..ff96497b85 100644 --- a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/list_resource_instances_request.py +++ b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/list_resource_instances_request.py @@ -39,7 +39,7 @@ def __init__(self, limit=None, offset=None, resource_type=None, body=None): :type limit: int :param offset: 分页标记。 :type offset: str - :param resource_type: 资源类型 organizations:policies服务策略 organizations:ous组织OU organizations:accounts 帐号信息 organizations:roots根 + :param resource_type: 资源类型 organizations:policies服务策略 organizations:ous组织OU organizations:accounts账号信息 organizations:roots根 :type resource_type: str :param body: Body of the ListResourceInstancesRequest :type body: :class:`huaweicloudsdkorganizations.v1.ResourceInstanceReqBody` @@ -109,7 +109,7 @@ def offset(self, offset): def resource_type(self): """Gets the resource_type of this ListResourceInstancesRequest. - 资源类型 organizations:policies服务策略 organizations:ous组织OU organizations:accounts 帐号信息 organizations:roots根 + 资源类型 organizations:policies服务策略 organizations:ous组织OU organizations:accounts账号信息 organizations:roots根 :return: The resource_type of this ListResourceInstancesRequest. :rtype: str @@ -120,7 +120,7 @@ def resource_type(self): def resource_type(self, resource_type): """Sets the resource_type of this ListResourceInstancesRequest. - 资源类型 organizations:policies服务策略 organizations:ous组织OU organizations:accounts 帐号信息 organizations:roots根 + 资源类型 organizations:policies服务策略 organizations:ous组织OU organizations:accounts账号信息 organizations:roots根 :param resource_type: The resource_type of this ListResourceInstancesRequest. :type resource_type: str diff --git a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/list_resource_tags_request.py b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/list_resource_tags_request.py index c0c0a81377..f35c87e964 100644 --- a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/list_resource_tags_request.py +++ b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/list_resource_tags_request.py @@ -29,7 +29,7 @@ def __init__(self, resource_type=None): The model defined in huaweicloud sdk - :param resource_type: 资源类型 organizations:policies服务策略 organizations:ous组织OU organizations:accounts 帐号信息 organizations:roots根 + :param resource_type: 资源类型 organizations:policies服务策略 organizations:ous组织OU organizations:accounts账号信息 organizations:roots根 :type resource_type: str """ @@ -44,7 +44,7 @@ def __init__(self, resource_type=None): def resource_type(self): """Gets the resource_type of this ListResourceTagsRequest. - 资源类型 organizations:policies服务策略 organizations:ous组织OU organizations:accounts 帐号信息 organizations:roots根 + 资源类型 organizations:policies服务策略 organizations:ous组织OU organizations:accounts账号信息 organizations:roots根 :return: The resource_type of this ListResourceTagsRequest. :rtype: str @@ -55,7 +55,7 @@ def resource_type(self): def resource_type(self, resource_type): """Sets the resource_type of this ListResourceTagsRequest. - 资源类型 organizations:policies服务策略 organizations:ous组织OU organizations:accounts 帐号信息 organizations:roots根 + 资源类型 organizations:policies服务策略 organizations:ous组织OU organizations:accounts账号信息 organizations:roots根 :param resource_type: The resource_type of this ListResourceTagsRequest. :type resource_type: str diff --git a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/list_tag_resources_request.py b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/list_tag_resources_request.py index 8f8e11fa5d..369dea1f62 100644 --- a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/list_tag_resources_request.py +++ b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/list_tag_resources_request.py @@ -35,9 +35,9 @@ def __init__(self, resource_type=None, resource_id=None, limit=None, marker=None The model defined in huaweicloud sdk - :param resource_type: 资源类型 organizations:policies服务策略 organizations:ous组织OU organizations:accounts 帐号信息 organizations:roots根 + :param resource_type: 资源类型 organizations:policies服务策略 organizations:ous组织OU organizations:accounts账号信息 organizations:roots根 :type resource_type: str - :param resource_id: 根、组织单元、帐号或策略的唯一标识符(ID)。 + :param resource_id: 根、组织单元、账号或策略的唯一标识符(ID)。 :type resource_id: str :param limit: 页面中最大结果数量。 :type limit: int @@ -64,7 +64,7 @@ def __init__(self, resource_type=None, resource_id=None, limit=None, marker=None def resource_type(self): """Gets the resource_type of this ListTagResourcesRequest. - 资源类型 organizations:policies服务策略 organizations:ous组织OU organizations:accounts 帐号信息 organizations:roots根 + 资源类型 organizations:policies服务策略 organizations:ous组织OU organizations:accounts账号信息 organizations:roots根 :return: The resource_type of this ListTagResourcesRequest. :rtype: str @@ -75,7 +75,7 @@ def resource_type(self): def resource_type(self, resource_type): """Sets the resource_type of this ListTagResourcesRequest. - 资源类型 organizations:policies服务策略 organizations:ous组织OU organizations:accounts 帐号信息 organizations:roots根 + 资源类型 organizations:policies服务策略 organizations:ous组织OU organizations:accounts账号信息 organizations:roots根 :param resource_type: The resource_type of this ListTagResourcesRequest. :type resource_type: str @@ -86,7 +86,7 @@ def resource_type(self, resource_type): def resource_id(self): """Gets the resource_id of this ListTagResourcesRequest. - 根、组织单元、帐号或策略的唯一标识符(ID)。 + 根、组织单元、账号或策略的唯一标识符(ID)。 :return: The resource_id of this ListTagResourcesRequest. :rtype: str @@ -97,7 +97,7 @@ def resource_id(self): def resource_id(self, resource_id): """Sets the resource_id of this ListTagResourcesRequest. - 根、组织单元、帐号或策略的唯一标识符(ID)。 + 根、组织单元、账号或策略的唯一标识符(ID)。 :param resource_id: The resource_id of this ListTagResourcesRequest. :type resource_id: str diff --git a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/list_tags_for_resource_request.py b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/list_tags_for_resource_request.py index 60ec7bad11..b4ff232231 100644 --- a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/list_tags_for_resource_request.py +++ b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/list_tags_for_resource_request.py @@ -33,7 +33,7 @@ def __init__(self, resource_id=None, limit=None, marker=None): The model defined in huaweicloud sdk - :param resource_id: 根、组织单元、帐号或策略的唯一标识符(ID)。 + :param resource_id: 根、组织单元、账号或策略的唯一标识符(ID)。 :type resource_id: str :param limit: 页面中最大结果数量。 :type limit: int @@ -58,7 +58,7 @@ def __init__(self, resource_id=None, limit=None, marker=None): def resource_id(self): """Gets the resource_id of this ListTagsForResourceRequest. - 根、组织单元、帐号或策略的唯一标识符(ID)。 + 根、组织单元、账号或策略的唯一标识符(ID)。 :return: The resource_id of this ListTagsForResourceRequest. :rtype: str @@ -69,7 +69,7 @@ def resource_id(self): def resource_id(self, resource_id): """Sets the resource_id of this ListTagsForResourceRequest. - 根、组织单元、帐号或策略的唯一标识符(ID)。 + 根、组织单元、账号或策略的唯一标识符(ID)。 :param resource_id: The resource_id of this ListTagsForResourceRequest. :type resource_id: str diff --git a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/move_account_req_body.py b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/move_account_req_body.py index d0126d9a74..ba657ff5ad 100644 --- a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/move_account_req_body.py +++ b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/move_account_req_body.py @@ -31,9 +31,9 @@ def __init__(self, source_parent_id=None, destination_parent_id=None): The model defined in huaweicloud sdk - :param source_parent_id: 要移出帐号的根或组织单元的唯一标识符(ID)。 + :param source_parent_id: 要移出账号的根或组织单元的唯一标识符(ID)。 :type source_parent_id: str - :param destination_parent_id: 要移入帐号的根或组织单元的唯一标识符(ID)。 + :param destination_parent_id: 要移入账号的根或组织单元的唯一标识符(ID)。 :type destination_parent_id: str """ @@ -50,7 +50,7 @@ def __init__(self, source_parent_id=None, destination_parent_id=None): def source_parent_id(self): """Gets the source_parent_id of this MoveAccountReqBody. - 要移出帐号的根或组织单元的唯一标识符(ID)。 + 要移出账号的根或组织单元的唯一标识符(ID)。 :return: The source_parent_id of this MoveAccountReqBody. :rtype: str @@ -61,7 +61,7 @@ def source_parent_id(self): def source_parent_id(self, source_parent_id): """Sets the source_parent_id of this MoveAccountReqBody. - 要移出帐号的根或组织单元的唯一标识符(ID)。 + 要移出账号的根或组织单元的唯一标识符(ID)。 :param source_parent_id: The source_parent_id of this MoveAccountReqBody. :type source_parent_id: str @@ -72,7 +72,7 @@ def source_parent_id(self, source_parent_id): def destination_parent_id(self): """Gets the destination_parent_id of this MoveAccountReqBody. - 要移入帐号的根或组织单元的唯一标识符(ID)。 + 要移入账号的根或组织单元的唯一标识符(ID)。 :return: The destination_parent_id of this MoveAccountReqBody. :rtype: str @@ -83,7 +83,7 @@ def destination_parent_id(self): def destination_parent_id(self, destination_parent_id): """Sets the destination_parent_id of this MoveAccountReqBody. - 要移入帐号的根或组织单元的唯一标识符(ID)。 + 要移入账号的根或组织单元的唯一标识符(ID)。 :param destination_parent_id: The destination_parent_id of this MoveAccountReqBody. :type destination_parent_id: str diff --git a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/move_account_request.py b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/move_account_request.py index 32e695334b..cf6965121c 100644 --- a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/move_account_request.py +++ b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/move_account_request.py @@ -31,7 +31,7 @@ def __init__(self, account_id=None, body=None): The model defined in huaweicloud sdk - :param account_id: 帐号的唯一标识符(ID)。 + :param account_id: 账号的唯一标识符(ID)。 :type account_id: str :param body: Body of the MoveAccountRequest :type body: :class:`huaweicloudsdkorganizations.v1.MoveAccountReqBody` @@ -51,7 +51,7 @@ def __init__(self, account_id=None, body=None): def account_id(self): """Gets the account_id of this MoveAccountRequest. - 帐号的唯一标识符(ID)。 + 账号的唯一标识符(ID)。 :return: The account_id of this MoveAccountRequest. :rtype: str @@ -62,7 +62,7 @@ def account_id(self): def account_id(self, account_id): """Sets the account_id of this MoveAccountRequest. - 帐号的唯一标识符(ID)。 + 账号的唯一标识符(ID)。 :param account_id: The account_id of this MoveAccountRequest. :type account_id: str diff --git a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/organization_dto.py b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/organization_dto.py index 406015079a..eaf93b5f15 100644 --- a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/organization_dto.py +++ b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/organization_dto.py @@ -41,9 +41,9 @@ def __init__(self, id=None, urn=None, management_account_id=None, management_acc :type id: str :param urn: 组织的统一资源名称。 :type urn: str - :param management_account_id: 组织管理帐号的唯一标识符(ID)。 + :param management_account_id: 组织管理账号的唯一标识符(ID)。 :type management_account_id: str - :param management_account_name: 组织的管理帐号的名称。 + :param management_account_name: 组织的管理账号的名称。 :type management_account_name: str :param created_at: 组织的创建时间。 :type created_at: datetime @@ -112,7 +112,7 @@ def urn(self, urn): def management_account_id(self): """Gets the management_account_id of this OrganizationDto. - 组织管理帐号的唯一标识符(ID)。 + 组织管理账号的唯一标识符(ID)。 :return: The management_account_id of this OrganizationDto. :rtype: str @@ -123,7 +123,7 @@ def management_account_id(self): def management_account_id(self, management_account_id): """Sets the management_account_id of this OrganizationDto. - 组织管理帐号的唯一标识符(ID)。 + 组织管理账号的唯一标识符(ID)。 :param management_account_id: The management_account_id of this OrganizationDto. :type management_account_id: str @@ -134,7 +134,7 @@ def management_account_id(self, management_account_id): def management_account_name(self): """Gets the management_account_name of this OrganizationDto. - 组织的管理帐号的名称。 + 组织的管理账号的名称。 :return: The management_account_name of this OrganizationDto. :rtype: str @@ -145,7 +145,7 @@ def management_account_name(self): def management_account_name(self, management_account_name): """Sets the management_account_name of this OrganizationDto. - 组织的管理帐号的名称。 + 组织的管理账号的名称。 :param management_account_name: The management_account_name of this OrganizationDto. :type management_account_name: str diff --git a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/policy_summary_dto.py b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/policy_summary_dto.py index 9dc40ec129..6e0447f4d0 100644 --- a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/policy_summary_dto.py +++ b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/policy_summary_dto.py @@ -39,7 +39,7 @@ def __init__(self, is_builtin=None, description=None, id=None, urn=None, name=No The model defined in huaweicloud sdk - :param is_builtin: 一个布尔值,指示指定的策略是否为系统策略。如果为true,即为系统策略,则可以将策略附加到根、组织单元或帐号,但不能编辑它。 + :param is_builtin: 一个布尔值,指示指定的策略是否为系统策略。如果为true,即为系统策略,则可以将策略附加到根、组织单元或账号,但不能编辑它。 :type is_builtin: bool :param description: 策略说明。 :type description: str @@ -74,7 +74,7 @@ def __init__(self, is_builtin=None, description=None, id=None, urn=None, name=No def is_builtin(self): """Gets the is_builtin of this PolicySummaryDto. - 一个布尔值,指示指定的策略是否为系统策略。如果为true,即为系统策略,则可以将策略附加到根、组织单元或帐号,但不能编辑它。 + 一个布尔值,指示指定的策略是否为系统策略。如果为true,即为系统策略,则可以将策略附加到根、组织单元或账号,但不能编辑它。 :return: The is_builtin of this PolicySummaryDto. :rtype: bool @@ -85,7 +85,7 @@ def is_builtin(self): def is_builtin(self, is_builtin): """Sets the is_builtin of this PolicySummaryDto. - 一个布尔值,指示指定的策略是否为系统策略。如果为true,即为系统策略,则可以将策略附加到根、组织单元或帐号,但不能编辑它。 + 一个布尔值,指示指定的策略是否为系统策略。如果为true,即为系统策略,则可以将策略附加到根、组织单元或账号,但不能编辑它。 :param is_builtin: The is_builtin of this PolicySummaryDto. :type is_builtin: bool diff --git a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/policy_tach_req_body.py b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/policy_tach_req_body.py index f0cd127d81..730692299b 100644 --- a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/policy_tach_req_body.py +++ b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/policy_tach_req_body.py @@ -29,7 +29,7 @@ def __init__(self, entity_id=None): The model defined in huaweicloud sdk - :param entity_id: 根、组织单元或帐号的唯一标识符(ID)。 + :param entity_id: 根、组织单元或账号的唯一标识符(ID)。 :type entity_id: str """ @@ -44,7 +44,7 @@ def __init__(self, entity_id=None): def entity_id(self): """Gets the entity_id of this PolicyTachReqBody. - 根、组织单元或帐号的唯一标识符(ID)。 + 根、组织单元或账号的唯一标识符(ID)。 :return: The entity_id of this PolicyTachReqBody. :rtype: str @@ -55,7 +55,7 @@ def entity_id(self): def entity_id(self, entity_id): """Sets the entity_id of this PolicyTachReqBody. - 根、组织单元或帐号的唯一标识符(ID)。 + 根、组织单元或账号的唯一标识符(ID)。 :param entity_id: The entity_id of this PolicyTachReqBody. :type entity_id: str diff --git a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/policy_type_summary_dto.py b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/policy_type_summary_dto.py index d4e3c51385..5362d0fe42 100644 --- a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/policy_type_summary_dto.py +++ b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/policy_type_summary_dto.py @@ -31,7 +31,7 @@ def __init__(self, status=None, type=None): The model defined in huaweicloud sdk - :param status: 与根关联的策略类型状态。要将指定类型的策略绑定到根或该根中的组织单元或帐号,该策略必须在组织中可用,并在该根已启用。enabled:启用;pending_enable:启用中;disabled:禁用;pending_disable:禁用中。 + :param status: 与根关联的策略类型状态。要将指定类型的策略绑定到根或该根中的组织单元或账号,该策略必须在组织中可用,并在该根已启用。enabled:启用;pending_enable:启用中;disabled:禁用;pending_disable:禁用中。 :type status: str :param type: 策略类型的名称,service_control_policy:服务控制策略;tag_policy:标签策略。 :type type: str @@ -50,7 +50,7 @@ def __init__(self, status=None, type=None): def status(self): """Gets the status of this PolicyTypeSummaryDto. - 与根关联的策略类型状态。要将指定类型的策略绑定到根或该根中的组织单元或帐号,该策略必须在组织中可用,并在该根已启用。enabled:启用;pending_enable:启用中;disabled:禁用;pending_disable:禁用中。 + 与根关联的策略类型状态。要将指定类型的策略绑定到根或该根中的组织单元或账号,该策略必须在组织中可用,并在该根已启用。enabled:启用;pending_enable:启用中;disabled:禁用;pending_disable:禁用中。 :return: The status of this PolicyTypeSummaryDto. :rtype: str @@ -61,7 +61,7 @@ def status(self): def status(self, status): """Sets the status of this PolicyTypeSummaryDto. - 与根关联的策略类型状态。要将指定类型的策略绑定到根或该根中的组织单元或帐号,该策略必须在组织中可用,并在该根已启用。enabled:启用;pending_enable:启用中;disabled:禁用;pending_disable:禁用中。 + 与根关联的策略类型状态。要将指定类型的策略绑定到根或该根中的组织单元或账号,该策略必须在组织中可用,并在该根已启用。enabled:启用;pending_enable:启用中;disabled:禁用;pending_disable:禁用中。 :param status: The status of this PolicyTypeSummaryDto. :type status: str diff --git a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/remove_account_request.py b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/remove_account_request.py index 33b4cab076..08194cbb39 100644 --- a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/remove_account_request.py +++ b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/remove_account_request.py @@ -29,7 +29,7 @@ def __init__(self, account_id=None): The model defined in huaweicloud sdk - :param account_id: 帐号的唯一标识符(ID)。 + :param account_id: 账号的唯一标识符(ID)。 :type account_id: str """ @@ -44,7 +44,7 @@ def __init__(self, account_id=None): def account_id(self): """Gets the account_id of this RemoveAccountRequest. - 帐号的唯一标识符(ID)。 + 账号的唯一标识符(ID)。 :return: The account_id of this RemoveAccountRequest. :rtype: str @@ -55,7 +55,7 @@ def account_id(self): def account_id(self, account_id): """Sets the account_id of this RemoveAccountRequest. - 帐号的唯一标识符(ID)。 + 账号的唯一标识符(ID)。 :param account_id: The account_id of this RemoveAccountRequest. :type account_id: str diff --git a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/resource_instance_req_body.py b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/resource_instance_req_body.py index 783b38ac6a..d76affae67 100644 --- a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/resource_instance_req_body.py +++ b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/resource_instance_req_body.py @@ -37,7 +37,7 @@ def __init__(self, without_any_tag=None, tags=None, matches=None): :type without_any_tag: bool :param tags: 包含标签,最多包含10个key,每个key下面的value最多10个,结构体不能缺失,key不能为空或者空字符串。Key不能重复,同一个key中values不能重复。返回包含所有标签的资源列表,key之间是与的关系,key-value结构中value是或的关系。无tag过滤条件时返回全量数据。 :type tags: list[:class:`huaweicloudsdkorganizations.v1.TagsDTO`] - :param matches: 要绑定到新创建的帐号的标签列表。 + :param matches: 要绑定到新创建的账号的标签列表。 :type matches: list[:class:`huaweicloudsdkorganizations.v1.Match`] """ @@ -103,7 +103,7 @@ def tags(self, tags): def matches(self): """Gets the matches of this ResourceInstanceReqBody. - 要绑定到新创建的帐号的标签列表。 + 要绑定到新创建的账号的标签列表。 :return: The matches of this ResourceInstanceReqBody. :rtype: list[:class:`huaweicloudsdkorganizations.v1.Match`] @@ -114,7 +114,7 @@ def matches(self): def matches(self, matches): """Sets the matches of this ResourceInstanceReqBody. - 要绑定到新创建的帐号的标签列表。 + 要绑定到新创建的账号的标签列表。 :param matches: The matches of this ResourceInstanceReqBody. :type matches: list[:class:`huaweicloudsdkorganizations.v1.Match`] diff --git a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/root_dto.py b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/root_dto.py index 701d66253b..13c4066f4c 100644 --- a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/root_dto.py +++ b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/root_dto.py @@ -43,7 +43,7 @@ def __init__(self, id=None, urn=None, name=None, policy_types=None, created_at=N :type urn: str :param name: 根的名称。 :type name: str - :param policy_types: 策略类型在当前根已启用,则该类型策略可以绑定到根或其组织单元或帐号。 + :param policy_types: 策略类型在当前根已启用,则该类型策略可以绑定到根或其组织单元或账号。 :type policy_types: list[:class:`huaweicloudsdkorganizations.v1.PolicyTypeSummaryDto`] :param created_at: 根的创建时间。 :type created_at: datetime @@ -134,7 +134,7 @@ def name(self, name): def policy_types(self): """Gets the policy_types of this RootDto. - 策略类型在当前根已启用,则该类型策略可以绑定到根或其组织单元或帐号。 + 策略类型在当前根已启用,则该类型策略可以绑定到根或其组织单元或账号。 :return: The policy_types of this RootDto. :rtype: list[:class:`huaweicloudsdkorganizations.v1.PolicyTypeSummaryDto`] @@ -145,7 +145,7 @@ def policy_types(self): def policy_types(self, policy_types): """Sets the policy_types of this RootDto. - 策略类型在当前根已启用,则该类型策略可以绑定到根或其组织单元或帐号。 + 策略类型在当前根已启用,则该类型策略可以绑定到根或其组织单元或账号。 :param policy_types: The policy_types of this RootDto. :type policy_types: list[:class:`huaweicloudsdkorganizations.v1.PolicyTypeSummaryDto`] diff --git a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/show_account_request.py b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/show_account_request.py index 27e94164b1..f2a1b02fb4 100644 --- a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/show_account_request.py +++ b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/show_account_request.py @@ -29,7 +29,7 @@ def __init__(self, account_id=None): The model defined in huaweicloud sdk - :param account_id: 帐号的唯一标识符(ID)。 + :param account_id: 账号的唯一标识符(ID)。 :type account_id: str """ @@ -44,7 +44,7 @@ def __init__(self, account_id=None): def account_id(self): """Gets the account_id of this ShowAccountRequest. - 帐号的唯一标识符(ID)。 + 账号的唯一标识符(ID)。 :return: The account_id of this ShowAccountRequest. :rtype: str @@ -55,7 +55,7 @@ def account_id(self): def account_id(self, account_id): """Sets the account_id of this ShowAccountRequest. - 帐号的唯一标识符(ID)。 + 账号的唯一标识符(ID)。 :param account_id: The account_id of this ShowAccountRequest. :type account_id: str diff --git a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/show_effective_policies_request.py b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/show_effective_policies_request.py index cfaf10317d..3e583073f3 100644 --- a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/show_effective_policies_request.py +++ b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/show_effective_policies_request.py @@ -31,7 +31,7 @@ def __init__(self, entity_id=None, policy_type=None): The model defined in huaweicloud sdk - :param entity_id: 帐号的唯一标识符(ID)。当前还不支持指定根、组织单元。 + :param entity_id: 账号的唯一标识符(ID)。当前还不支持指定根、组织单元。 :type entity_id: str :param policy_type: 策略类型的名称,tag_policy标签策略。 :type policy_type: str @@ -50,7 +50,7 @@ def __init__(self, entity_id=None, policy_type=None): def entity_id(self): """Gets the entity_id of this ShowEffectivePoliciesRequest. - 帐号的唯一标识符(ID)。当前还不支持指定根、组织单元。 + 账号的唯一标识符(ID)。当前还不支持指定根、组织单元。 :return: The entity_id of this ShowEffectivePoliciesRequest. :rtype: str @@ -61,7 +61,7 @@ def entity_id(self): def entity_id(self, entity_id): """Sets the entity_id of this ShowEffectivePoliciesRequest. - 帐号的唯一标识符(ID)。当前还不支持指定根、组织单元。 + 账号的唯一标识符(ID)。当前还不支持指定根、组织单元。 :param entity_id: The entity_id of this ShowEffectivePoliciesRequest. :type entity_id: str diff --git a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/show_effective_policies_response.py b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/show_effective_policies_response.py index 95ae4ff0c6..3511111bca 100644 --- a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/show_effective_policies_response.py +++ b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/show_effective_policies_response.py @@ -42,7 +42,7 @@ def __init__(self, last_updated_at=None, policy_content=None, policy_type=None, :type policy_content: str :param policy_type: 策略类型的名称,tag_policy标签策略。 :type policy_type: str - :param entity_id: 根、组织单元或帐号的唯一标识符(ID)。 + :param entity_id: 根、组织单元或账号的唯一标识符(ID)。 :type entity_id: str """ @@ -133,7 +133,7 @@ def policy_type(self, policy_type): def entity_id(self): """Gets the entity_id of this ShowEffectivePoliciesResponse. - 根、组织单元或帐号的唯一标识符(ID)。 + 根、组织单元或账号的唯一标识符(ID)。 :return: The entity_id of this ShowEffectivePoliciesResponse. :rtype: str @@ -144,7 +144,7 @@ def entity_id(self): def entity_id(self, entity_id): """Sets the entity_id of this ShowEffectivePoliciesResponse. - 根、组织单元或帐号的唯一标识符(ID)。 + 根、组织单元或账号的唯一标识符(ID)。 :param entity_id: The entity_id of this ShowEffectivePoliciesResponse. :type entity_id: str diff --git a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/show_handshake_request.py b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/show_handshake_request.py index 67a51852c4..3b815692d6 100644 --- a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/show_handshake_request.py +++ b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/show_handshake_request.py @@ -29,7 +29,7 @@ def __init__(self, handshake_id=None): The model defined in huaweicloud sdk - :param handshake_id: 邀请的唯一标识符(ID)。帐号在发起邀请时创建ID。 + :param handshake_id: 邀请的唯一标识符(ID)。账号在发起邀请时创建ID。 :type handshake_id: str """ @@ -44,7 +44,7 @@ def __init__(self, handshake_id=None): def handshake_id(self): """Gets the handshake_id of this ShowHandshakeRequest. - 邀请的唯一标识符(ID)。帐号在发起邀请时创建ID。 + 邀请的唯一标识符(ID)。账号在发起邀请时创建ID。 :return: The handshake_id of this ShowHandshakeRequest. :rtype: str @@ -55,7 +55,7 @@ def handshake_id(self): def handshake_id(self, handshake_id): """Sets the handshake_id of this ShowHandshakeRequest. - 邀请的唯一标识符(ID)。帐号在发起邀请时创建ID。 + 邀请的唯一标识符(ID)。账号在发起邀请时创建ID。 :param handshake_id: The handshake_id of this ShowHandshakeRequest. :type handshake_id: str diff --git a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/show_resource_instances_count_request.py b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/show_resource_instances_count_request.py index 376cf76993..9c197fc869 100644 --- a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/show_resource_instances_count_request.py +++ b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/show_resource_instances_count_request.py @@ -31,7 +31,7 @@ def __init__(self, resource_type=None, body=None): The model defined in huaweicloud sdk - :param resource_type: 资源类型 organizations:policies服务策略 organizations:ous组织OU organizations:accounts 帐号信息 organizations:roots根 + :param resource_type: 资源类型 organizations:policies服务策略 organizations:ous组织OU organizations:accounts账号信息 organizations:roots根 :type resource_type: str :param body: Body of the ShowResourceInstancesCountRequest :type body: :class:`huaweicloudsdkorganizations.v1.ResourceInstanceReqBody` @@ -51,7 +51,7 @@ def __init__(self, resource_type=None, body=None): def resource_type(self): """Gets the resource_type of this ShowResourceInstancesCountRequest. - 资源类型 organizations:policies服务策略 organizations:ous组织OU organizations:accounts 帐号信息 organizations:roots根 + 资源类型 organizations:policies服务策略 organizations:ous组织OU organizations:accounts账号信息 organizations:roots根 :return: The resource_type of this ShowResourceInstancesCountRequest. :rtype: str @@ -62,7 +62,7 @@ def resource_type(self): def resource_type(self, resource_type): """Sets the resource_type of this ShowResourceInstancesCountRequest. - 资源类型 organizations:policies服务策略 organizations:ous组织OU organizations:accounts 帐号信息 organizations:roots根 + 资源类型 organizations:policies服务策略 organizations:ous组织OU organizations:accounts账号信息 organizations:roots根 :param resource_type: The resource_type of this ShowResourceInstancesCountRequest. :type resource_type: str diff --git a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/tag_resource_request.py b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/tag_resource_request.py index 65a1556da5..52686a29ff 100644 --- a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/tag_resource_request.py +++ b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/tag_resource_request.py @@ -31,7 +31,7 @@ def __init__(self, resource_id=None, body=None): The model defined in huaweicloud sdk - :param resource_id: 根、组织单元、帐号或策略的唯一标识符(ID)。 + :param resource_id: 根、组织单元、账号或策略的唯一标识符(ID)。 :type resource_id: str :param body: Body of the TagResourceRequest :type body: :class:`huaweicloudsdkorganizations.v1.TagResourceReqBody` @@ -51,7 +51,7 @@ def __init__(self, resource_id=None, body=None): def resource_id(self): """Gets the resource_id of this TagResourceRequest. - 根、组织单元、帐号或策略的唯一标识符(ID)。 + 根、组织单元、账号或策略的唯一标识符(ID)。 :return: The resource_id of this TagResourceRequest. :rtype: str @@ -62,7 +62,7 @@ def resource_id(self): def resource_id(self, resource_id): """Sets the resource_id of this TagResourceRequest. - 根、组织单元、帐号或策略的唯一标识符(ID)。 + 根、组织单元、账号或策略的唯一标识符(ID)。 :param resource_id: The resource_id of this TagResourceRequest. :type resource_id: str diff --git a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/target_dto.py b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/target_dto.py index feac7bdf96..a82675cdb1 100644 --- a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/target_dto.py +++ b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/target_dto.py @@ -33,7 +33,7 @@ def __init__(self, type=None, entity=None): :param type: 目标类型,account:账户,email:邮箱。 :type type: str - :param entity: 如果指定 'type:account',则必须提供帐号ID作为实体。如果指定'type:email',则必须指定与帐号关联的电子邮件地址。 + :param entity: 如果指定 \"type:account\",则必须提供账号ID作为实体。如果指定\"type:email\",则必须指定与账号关联的电子邮件地址。 :type entity: str """ @@ -72,7 +72,7 @@ def type(self, type): def entity(self): """Gets the entity of this TargetDto. - 如果指定 'type:account',则必须提供帐号ID作为实体。如果指定'type:email',则必须指定与帐号关联的电子邮件地址。 + 如果指定 \"type:account\",则必须提供账号ID作为实体。如果指定\"type:email\",则必须指定与账号关联的电子邮件地址。 :return: The entity of this TargetDto. :rtype: str @@ -83,7 +83,7 @@ def entity(self): def entity(self, entity): """Sets the entity of this TargetDto. - 如果指定 'type:account',则必须提供帐号ID作为实体。如果指定'type:email',则必须指定与帐号关联的电子邮件地址。 + 如果指定 \"type:account\",则必须提供账号ID作为实体。如果指定\"type:email\",则必须指定与账号关联的电子邮件地址。 :param entity: The entity of this TargetDto. :type entity: str diff --git a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/untag_resource_request.py b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/untag_resource_request.py index f9edbf675e..a676bbe5ef 100644 --- a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/untag_resource_request.py +++ b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/model/untag_resource_request.py @@ -31,7 +31,7 @@ def __init__(self, resource_id=None, body=None): The model defined in huaweicloud sdk - :param resource_id: 根、组织单元、帐号或策略的唯一标识符(ID)。 + :param resource_id: 根、组织单元、账号或策略的唯一标识符(ID)。 :type resource_id: str :param body: Body of the UntagResourceRequest :type body: :class:`huaweicloudsdkorganizations.v1.UntagResourceReqBody` @@ -51,7 +51,7 @@ def __init__(self, resource_id=None, body=None): def resource_id(self): """Gets the resource_id of this UntagResourceRequest. - 根、组织单元、帐号或策略的唯一标识符(ID)。 + 根、组织单元、账号或策略的唯一标识符(ID)。 :return: The resource_id of this UntagResourceRequest. :rtype: str @@ -62,7 +62,7 @@ def resource_id(self): def resource_id(self, resource_id): """Sets the resource_id of this UntagResourceRequest. - 根、组织单元、帐号或策略的唯一标识符(ID)。 + 根、组织单元、账号或策略的唯一标识符(ID)。 :param resource_id: The resource_id of this UntagResourceRequest. :type resource_id: str diff --git a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/organizations_async_client.py b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/organizations_async_client.py index 64b5dcb673..ef02c5614c 100644 --- a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/organizations_async_client.py +++ b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/organizations_async_client.py @@ -33,9 +33,9 @@ def new_builder(cls, clazz=None): return client_builder def invite_account_async(self, request): - """邀请帐号加入组织 + """邀请账号加入组织 - 向另一个帐号发送邀请,受邀帐号将以成员帐号加入您的组织。此操作只能由组织的管理帐号调用。 + 向另一个账号发送邀请,受邀账号将以成员账号加入您的组织。此操作只能由组织的管理账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -98,9 +98,9 @@ def _invite_account_http_info(self, request): return http_info def list_accounts_async(self, request): - """列出组织中的帐号 + """列出组织中的账号 - 列出组织中的帐号。此操作只能由组织的管理帐号或作为服务委托管理员的成员帐号调用。如果指定父级组织单元,则将获得作为父级直系子级的所有帐号的列表。 + 列出组织中的账号。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。如果指定父级组织单元,则将获得作为父级直系子级的所有账号的列表。 Please refer to HUAWEI cloud API Explorer for details. @@ -166,10 +166,76 @@ def _list_accounts_http_info(self, request): return http_info + def list_close_account_statuses_async(self, request): + """列出关闭账号的状态 + + 列出组织中指定状态的账号关闭请求。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for ListCloseAccountStatuses + :type request: :class:`huaweicloudsdkorganizations.v1.ListCloseAccountStatusesRequest` + :rtype: :class:`huaweicloudsdkorganizations.v1.ListCloseAccountStatusesResponse` + """ + http_info = self._list_close_account_statuses_http_info(request) + return self._call_api(**http_info) + + def list_close_account_statuses_async_invoker(self, request): + http_info = self._list_close_account_statuses_http_info(request) + return AsyncInvoker(self, http_info) + + def _list_close_account_statuses_http_info(self, request): + http_info = { + "method": "GET", + "resource_path": "/v1/organizations/close-account-status", + "request_type": request.__class__.__name__, + "response_type": "ListCloseAccountStatusesResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'states' in local_var_params: + query_params.append(('states', local_var_params['states'])) + collection_formats['states'] = 'multi' + + header_params = {} + + form_params = {} + + body = None + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = [] + + header_params['Content-Type'] = http_utils.select_header_content_type( + ['application/json']) + + auth_settings = ['AccessKeyAuth'] + + http_info["cname"] = cname + http_info["collection_formats"] = collection_formats + http_info["path_params"] = path_params + http_info["query_params"] = query_params + http_info["header_params"] = header_params + http_info["post_params"] = form_params + http_info["body"] = body + http_info["response_headers"] = response_headers + + return http_info + def list_create_account_statuses_async(self, request): - """列出创建帐号的状态 + """列出创建账号的状态 - 列出组织中指定状态的帐号创建请求。此操作只能由组织的管理帐号或作为服务委托管理员的成员帐号调用。 + 列出组织中指定状态的账号创建请求。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -237,9 +303,9 @@ def _list_create_account_statuses_http_info(self, request): return http_info def move_account_async(self, request): - """移动帐号 + """移动账号 - 将帐号从其当前源位置(根或组织单元)移动到指定的目标位置(根或组织单元)。 + 将账号从其当前源位置(根或组织单元)移动到指定的目标位置(根或组织单元)。 Please refer to HUAWEI cloud API Explorer for details. @@ -304,9 +370,9 @@ def _move_account_http_info(self, request): return http_info def remove_account_async(self, request): - """移除指定的帐号 + """移除指定的账号 - 从组织中移除指定的帐号。移除的帐号将成为一个独立帐号,该帐号不是任何组织的成员。此操作只能由组织的管理帐号调用。只有当帐号配置了作为独立帐号运行所需的信息时,您才能从组织中移除帐号。注意,要移除的帐号不能是组织启用的任何服务的委托管理员帐号。 + 从组织中移除指定的账号。移除的账号将成为一个独立账号,该账号不是任何组织的成员。此操作只能由组织的管理账号调用。只有当账号配置了作为独立账号运行所需的信息时,您才能从组织中移除账号。注意,要移除的账号不能是组织启用的任何服务的委托管理员账号。 Please refer to HUAWEI cloud API Explorer for details. @@ -369,9 +435,9 @@ def _remove_account_http_info(self, request): return http_info def show_account_async(self, request): - """查询帐号信息 + """查询账号信息 - 查询有关指定帐号的信息。此操作只能由组织的管理帐号或作为服务委托管理员的成员帐号调用。 + 查询有关指定账号的信息。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -434,9 +500,9 @@ def _show_account_http_info(self, request): return http_info def show_create_account_status_async(self, request): - """查询有关创建帐号状态的信息 + """查询有关创建账号状态的信息 - 检索创建帐号的异步请求的当前状态。此操作只能由组织的管理帐号或作为服务委托管理员的成员帐号调用。 + 检索创建账号的异步请求的当前状态。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -501,7 +567,7 @@ def _show_create_account_status_http_info(self, request): def deregister_delegated_administrator_async(self, request): """注销服务的委托管理员 - 删除指定成员帐号作为指定服务的委托管理员。此操作只能由组织的管理帐号调用。 + 删除指定成员账号作为指定服务的委托管理员。此操作只能由组织的管理账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -564,9 +630,9 @@ def _deregister_delegated_administrator_http_info(self, request): return http_info def list_delegated_administrators_async(self, request): - """列出此组织中指定为委托管理员的帐号 + """列出此组织中指定为委托管理员的账号 - 列出在此组织中指定为委派管理员的帐号。此操作只能由组织的管理帐号或作为服务委托管理员的成员帐号调用。 + 列出在此组织中指定为委派管理员的账号。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -633,9 +699,9 @@ def _list_delegated_administrators_http_info(self, request): return http_info def list_delegated_services_async(self, request): - """列出指定帐号是其委托管理员的服务 + """列出指定账号是其委托管理员的服务 - 列出指定帐号是其委托管理员的服务。此操作只能由组织的管理帐号或作为服务委托管理员的成员帐号调用。 + 列出指定账号是其委托管理员的服务。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -704,7 +770,7 @@ def _list_delegated_services_http_info(self, request): def register_delegated_administrator_async(self, request): """注册作为服务委托管理员 - 指定成员帐号能够管理指定服务的组织功能。此接口授予委托管理员对组织服务数据的只读访问权限。委托管理员帐号中的IAM用户仍需要IAM权限才能访问和管理服务。此操作只能由组织的管理帐号调用。 + 指定成员账号能够管理指定服务的组织功能。此接口授予委托管理员对组织服务数据的只读访问权限。委托管理员账号中的IAM用户仍需要IAM权限才能访问和管理服务。此操作只能由组织的管理账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -834,7 +900,7 @@ def _accept_handshake_http_info(self, request): def cancel_handshake_async(self, request): """取消邀请 - 取消邀请,此时邀请状态将设置为已取消。此接口只能由发起邀请的帐号调用。取消邀请后,此邀请信息将继续保留并出现在相关API的返回结果中,保留期限为30天。 + 取消邀请,此时邀请状态将设置为已取消。此接口只能由发起邀请的账号调用。取消邀请后,此邀请信息将继续保留并出现在相关API的返回结果中,保留期限为30天。 Please refer to HUAWEI cloud API Explorer for details. @@ -899,7 +965,7 @@ def _cancel_handshake_http_info(self, request): def decline_handshake_async(self, request): """拒绝邀请 - 拒绝邀请请求。受邀帐号拒绝邀请,此时当前邀请状态将设置为拒绝,邀请停止。此接口只能由受邀帐号调用。邀请发起者无法再次激活被拒绝的邀请,但可以重新发送新的邀请。 + 拒绝邀请请求。受邀账号拒绝邀请,此时当前邀请状态将设置为拒绝,邀请停止。此接口只能由受邀账号调用。邀请发起者无法再次激活被拒绝的邀请,但可以重新发送新的邀请。 Please refer to HUAWEI cloud API Explorer for details. @@ -964,7 +1030,7 @@ def _decline_handshake_http_info(self, request): def list_handshakes_async(self, request): """列出发送的邀请 - 列出所属组织发送的邀请。此操作只能由组织的管理帐号或作为服务委托管理员的成员帐号调用。 + 列出所属组织发送的邀请。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -1031,7 +1097,7 @@ def _list_handshakes_http_info(self, request): def list_received_handshakes_async(self, request): """列出收到的邀请 - 列出帐号收到的所有邀请。此操作可以由任何帐号调用。 + 列出账号收到的所有邀请。此操作可以由任何账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -1098,7 +1164,7 @@ def _list_received_handshakes_http_info(self, request): def show_handshake_async(self, request): """查询邀请相关信息 - 查询组织中已有帐号邀请的相关信息。此接口可以由组织中的任何帐号调用。 + 查询组织中已有账号邀请的相关信息。此接口可以由组织中的任何账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -1161,9 +1227,9 @@ def _show_handshake_http_info(self, request): return http_info def list_entities_async(self, request): - """列出组织中的根、组织单元和帐号 + """列出组织中的根、组织单元和账号 - 列出组织中包含的所有根、组织单元和帐号。此操作只能由组织的管理帐号或作为服务委托管理员的成员帐号调用。您可以通过指定父ID和子ID参数来过滤实体。 + 列出组织中包含的所有根、组织单元和账号。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。您可以通过指定父ID和子ID参数来过滤实体。 Please refer to HUAWEI cloud API Explorer for details. @@ -1234,7 +1300,7 @@ def _list_entities_http_info(self, request): def list_quotas_async(self, request): """列出租户的组织配额 - 列出租户的组织配额。此操作只能由组织的管理帐号或作为服务委托管理员的成员帐号调用。 + 列出租户的组织配额。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -1423,7 +1489,7 @@ def _list_tag_policy_services_http_info(self, request): def show_effective_policies_async(self, request): """查询有效的策略 - 查询指定策略类型和帐户的有效策略信息。当前此接口不支持查询服务控制策略(service_control_policy)。此操作只能由组织的管理帐号或作为服务委托管理员的成员帐号调用。 + 查询指定策略类型和账户的有效策略信息。当前此接口不支持查询服务控制策略(service_control_policy)。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -1490,7 +1556,7 @@ def _show_effective_policies_http_info(self, request): def create_organization_async(self, request): """创建组织 - 创建组织。调用此接口的帐号将自动成为新组织的管理帐号,调用此接口的帐号凭证必须是新组织管理帐号的帐号凭证。 + 创建组织。调用此接口的账号将自动成为新组织的管理账号,调用此接口的账号凭证必须是新组织管理账号的账号凭证。 Please refer to HUAWEI cloud API Explorer for details. @@ -1553,7 +1619,7 @@ def _create_organization_http_info(self, request): def delete_organization_async(self, request): """删除组织 - 删除组织。您必须使用管理帐号才能删除组织,并且先移除组织中的所有帐号、组织单元和策略。 + 删除组织。您必须使用管理账号才能删除组织,并且先移除组织中的所有账号、组织单元和策略。 Please refer to HUAWEI cloud API Explorer for details. @@ -1616,7 +1682,7 @@ def _delete_organization_http_info(self, request): def leave_organization_async(self, request): """离开当前组织 - 此操作只能由组织的成员帐号调用。只有当组织帐号配置了作为独立帐号运行所需的信息时,您才能作为成员账户离开组织。要离开的帐号不能是组织启用的任何服务的委托管理员帐号。 + 此操作只能由组织的成员账号调用。只有当组织账号配置了作为独立账号运行所需的信息时,您才能作为成员账户离开组织。要离开的账号不能是组织启用的任何服务的委托管理员账号。 Please refer to HUAWEI cloud API Explorer for details. @@ -1679,7 +1745,7 @@ def _leave_organization_http_info(self, request): def list_roots_async(self, request): """列出组织的根 - 列出当前组织的根。此接口只能由组织的管理帐号或作为服务委托管理员的成员帐号调用。 + 列出当前组织的根。此接口只能由组织的管理账号或作为服务委托管理员的成员账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -1746,7 +1812,7 @@ def _list_roots_http_info(self, request): def show_organization_async(self, request): """查询所属组织信息 - 查询帐号所属组织的信息。此操作可以由组织中的任何帐号调用。 + 查询账号所属组织的信息。此操作可以由组织中的任何账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -1809,7 +1875,7 @@ def _show_organization_http_info(self, request): def create_organizational_unit_async(self, request): """创建组织单元 - 在根或父组织单元中创建组织单元。组织单元是帐号的容器,使您能够对帐号进行分组管理,并根据业务要求应用策略。此操作只能由组织的管理帐号调用。 + 在根或父组织单元中创建组织单元。组织单元是账号的容器,使您能够对账号进行分组管理,并根据业务要求应用策略。此操作只能由组织的管理账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -1874,7 +1940,7 @@ def _create_organizational_unit_http_info(self, request): def delete_organizational_unit_async(self, request): """删除组织单元 - 从根或其他组织单元中删除组织单元。前提是您必须先移除该组织单元中的所有成员帐号或将成员帐号移动至其他组织单元,必须删除该组织单元中的所有子组织单元。此操作只能由组织的管理帐号调用。 + 从根或其他组织单元中删除组织单元。前提是您必须先移除该组织单元中的所有成员账号或将成员账号移动至其他组织单元,必须删除该组织单元中的所有子组织单元。此操作只能由组织的管理账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -1939,7 +2005,7 @@ def _delete_organizational_unit_http_info(self, request): def list_organizational_units_async(self, request): """列出组织单元 - 列出组织中的所有组织单元。如果指定父级组织单元,则将获得父级直系子级的组织单元列表。此操作只能由组织的管理帐号或作为服务委托管理员的成员帐号调用。 + 列出组织中的所有组织单元。如果指定父级组织单元,则将获得父级直系子级的组织单元列表。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -2008,7 +2074,7 @@ def _list_organizational_units_http_info(self, request): def show_organizational_unit_async(self, request): """查询有关组织单元的信息 - 查询有关组织单元的信息。此操作只能由组织的管理帐号或作为服务委托管理员的成员帐号调用。 + 查询有关组织单元的信息。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -2073,7 +2139,7 @@ def _show_organizational_unit_http_info(self, request): def update_organizational_unit_async(self, request): """更改组织单元名称 - 重命名指定的组织单元。重命名后组织单元ID不变,下属子组织单元和下属帐号不变,组织单元绑定的策略不变。此操作只能由组织的管理帐号调用。 + 重命名指定的组织单元。重命名后组织单元ID不变,下属子组织单元和下属账号不变,组织单元绑定的策略不变。此操作只能由组织的管理账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -2140,7 +2206,7 @@ def _update_organizational_unit_http_info(self, request): def attach_policy_async(self, request): """将策略跟实体绑定 - 绑定策略到根、组织单元或个人账户。此操作只能由组织的管理帐号调用。 + 绑定策略到根、组织单元或个人账户。此操作只能由组织的管理账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -2207,7 +2273,7 @@ def _attach_policy_http_info(self, request): def create_policy_async(self, request): """创建策略 - 创建指定类型的策略。此操作只能由组织的管理帐号调用。 + 创建指定类型的策略。此操作只能由组织的管理账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -2274,7 +2340,7 @@ def _create_policy_http_info(self, request): def delete_policy_async(self, request): """删除策略 - 从组织中删除指定的策略。在执行此操作之前,必须首先将策略跟所有组织单元、根和帐号解绑。此操作只能由组织的管理帐号调用。 + 从组织中删除指定的策略。在执行此操作之前,必须首先将策略跟所有组织单元、根和账号解绑。此操作只能由组织的管理账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -2339,7 +2405,7 @@ def _delete_policy_http_info(self, request): def detach_policy_async(self, request): """将策略跟实体解绑 - 从根、组织单元或帐号解绑策略。此操作只能由组织的管理帐号调用。 + 从根、组织单元或账号解绑策略。此操作只能由组织的管理账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -2406,7 +2472,7 @@ def _detach_policy_http_info(self, request): def disable_policy_type_async(self, request): """禁用根中的策略类型 - 禁用根中的策略类型。只有在根中启用了特定类型的策略,才能将该类型的策略绑定到根中的实体。执行此操作后,您不能再将指定类型的策略绑定到该根或该根中的任何组织单元或帐号。这是在后台执行的异步请求。您可以使用ListRoots查看指定根的策略类型的状态。此操作只能由组织的管理帐号调用。 + 禁用根中的策略类型。只有在根中启用了特定类型的策略,才能将该类型的策略绑定到根中的实体。执行此操作后,您不能再将指定类型的策略绑定到该根或该根中的任何组织单元或账号。这是在后台执行的异步请求。您可以使用ListRoots查看指定根的策略类型的状态。此操作只能由组织的管理账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -2471,7 +2537,7 @@ def _disable_policy_type_http_info(self, request): def enable_policy_type_async(self, request): """在根中启用策略类型 - 在根中启用策略类型。在根中启用策略类型后,您可以将该类型的策略绑定到根、或该根中的任何组织单元和帐号。这是在后台执行的异步请求。您可以使用ListRoots查看指定根的策略类型的状态。此操作只能由组织的管理帐号调用。 + 在根中启用策略类型。在根中启用策略类型后,您可以将该类型的策略绑定到根、或该根中的任何组织单元和账号。这是在后台执行的异步请求。您可以使用ListRoots查看指定根的策略类型的状态。此操作只能由组织的管理账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -2536,7 +2602,7 @@ def _enable_policy_type_http_info(self, request): def list_entities_for_policy_async(self, request): """列出跟指定策略绑定的所有实体 - 列出跟指定策略绑定的所有根、组织单元和帐号。此操作只能由组织的管理帐号或作为服务委托管理员的成员帐号调用。 + 列出跟指定策略绑定的所有根、组织单元和账号。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -2605,7 +2671,7 @@ def _list_entities_for_policy_http_info(self, request): def list_policies_async(self, request): """列出策略 - 列出组织中的所有策略。如果指定了资源ID,例如组织单元ID或帐号ID,则将获得该资源已绑定的策略列表。此操作只能由组织的管理帐号或作为服务委托管理员的成员帐号调用。 + 列出组织中的所有策略。如果指定了资源ID,例如组织单元ID或账号ID,则将获得该资源已绑定的策略列表。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -2676,7 +2742,7 @@ def _list_policies_http_info(self, request): def show_policy_async(self, request): """查询策略相关信息 - 检索策略的相关信息。此操作只能由组织的管理帐号或作为服务委托管理员的成员帐号调用。 + 检索策略的相关信息。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -2743,7 +2809,7 @@ def _show_policy_http_info(self, request): def update_policy_async(self, request): """更新策略 - 更新策略,可以更新策略的名称、描述或内容。如果不提供任何参数,则策略将保持不变。您不能更改策略的类型。此操作只能由组织的管理帐号调用。 + 更新策略,可以更新策略的名称、描述或内容。如果不提供任何参数,则策略将保持不变。您不能更改策略的类型。此操作只能由组织的管理账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -2812,7 +2878,7 @@ def _update_policy_http_info(self, request): def create_tag_resource_async(self, request): """为指定资源添加标签 - 向指定的资源添加一个或多个标签。目前,您可以将标签附加到组织中的帐号、组织单元、根和策略。此操作只能由组织的管理帐号调用 + 向指定的资源添加一个或多个标签。目前,您可以将标签附加到组织中的账号、组织单元、根和策略。此操作只能由组织的管理账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -2881,7 +2947,7 @@ def _create_tag_resource_http_info(self, request): def delete_tag_resource_async(self, request): """从指定资源中删除指定主键标签 - 从指定资源中删除具有指定主键的任何标签。您可以将标签绑定到组织中的帐号、组织单元、根和策略。此操作只能由组织的管理帐号调用 + 从指定资源中删除具有指定主键的任何标签。您可以将标签绑定到组织中的账号、组织单元、根和策略。此操作只能由组织的管理账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -2950,7 +3016,7 @@ def _delete_tag_resource_http_info(self, request): def list_resource_instances_async(self, request): """根据资源类型及标签信息查询实例列表 - 根据资源类型及标签信息查询实例列表 + 根据资源类型及标签信息查询实例列表。 Please refer to HUAWEI cloud API Explorer for details. @@ -3019,9 +3085,9 @@ def _list_resource_instances_http_info(self, request): return http_info def list_resource_tags_async(self, request): - """查询项目标签 + """查询资源标签 - 查询项目标签 + 查询资源标签。 Please refer to HUAWEI cloud API Explorer for details. @@ -3086,7 +3152,7 @@ def _list_resource_tags_http_info(self, request): def list_tag_resources_async(self, request): """列出绑定到指定资源的标签 - 列出绑定到指定资源的标签。您可以将标签附加到组织中的帐号、组织单元、根和策略。此操作只能由组织的管理帐号或作为服务委托管理员的成员帐号调用 + 列出绑定到指定资源的标签。您可以将标签附加到组织中的账号、组织单元、根和策略。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -3157,7 +3223,7 @@ def _list_tag_resources_http_info(self, request): def list_tags_for_resource_async(self, request): """列出绑定到指定资源的标签 - 列出绑定到指定资源的标签。您可以将标签附加到组织中的帐号、组织单元、根和策略。此操作只能由组织的管理帐号或作为服务委托管理员的成员帐号调用。 + 列出绑定到指定资源的标签。您可以将标签附加到组织中的账号、组织单元、根和策略。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -3226,7 +3292,7 @@ def _list_tags_for_resource_http_info(self, request): def show_resource_instances_count_async(self, request): """根据资源类型及标签信息查询实例数量 - 根据资源类型及标签信息查询实例数量 + 根据资源类型及标签信息查询实例数量。 Please refer to HUAWEI cloud API Explorer for details. @@ -3293,7 +3359,7 @@ def _show_resource_instances_count_http_info(self, request): def tag_resource_async(self, request): """为指定资源添加标签 - 向指定的资源添加一个或多个标签。目前,您可以将标签附加到组织中的帐号、组织单元、根和策略。此操作只能由组织的管理帐号调用。 + 向指定的资源添加一个或多个标签。目前,您可以将标签附加到组织中的账号、组织单元、根和策略。此操作只能由组织的管理账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -3360,7 +3426,7 @@ def _tag_resource_http_info(self, request): def untag_resource_async(self, request): """从指定资源中删除指定主键标签 - 从指定资源中删除具有指定主键的任何标签。您可以将标签绑定到组织中的帐号、组织单元、根和策略。此操作只能由组织的管理帐号调用。 + 从指定资源中删除具有指定主键的任何标签。您可以将标签绑定到组织中的账号、组织单元、根和策略。此操作只能由组织的管理账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -3427,7 +3493,7 @@ def _untag_resource_http_info(self, request): def disable_trusted_service_async(self, request): """禁用受信任服务 - 禁用服务(由service_principal指定的服务)与组织的集成。禁用可信服务后,指定服务将不可以在组织中的新帐号中创建服务关联委托。这意味着该服务无法代表您对组织中的任何新帐号执行操作。在服务完成从组织中的清理之前,服务仍可以在旧帐号中执行操作。此接口只能由组织的管理帐号调用。 + 禁用服务(由service_principal指定的服务)与组织的集成。禁用可信服务后,指定服务将不可以在组织中的新账号中创建服务关联委托。这意味着该服务无法代表您对组织中的任何新账号执行操作。在服务完成从组织中的清理之前,服务仍可以在旧账号中执行操作。此接口只能由组织的管理账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -3492,7 +3558,7 @@ def _disable_trusted_service_http_info(self, request): def enable_trusted_service_async(self, request): """启用可信服务 - 启用服务(由service_principal指定的服务)与组织的集成。启用可信服务后,允许指定的可信服务对组织中的所有帐号创建服务关联委托。这允许可信服务代表您在组织及其帐号中执行操作。此接口只能由组织的管理帐号调用。 + 启用服务(由service_principal指定的服务)与组织的集成。启用可信服务后,允许指定的可信服务对组织中的所有账号创建服务关联委托。这允许可信服务代表您在组织及其账号中执行操作。此接口只能由组织的管理账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -3557,7 +3623,7 @@ def _enable_trusted_service_http_info(self, request): def list_trusted_services_async(self, request): """列出组织的可信服务列表 - 返回启用与组织集成的可信服务列表。此操作只能由组织的管理帐号或作为服务委托管理员的成员帐号调用。 + 返回启用与组织集成的可信服务列表。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。 Please refer to HUAWEI cloud API Explorer for details. diff --git a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/organizations_client.py b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/organizations_client.py index 6bd70a7c63..4a897f0a23 100644 --- a/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/organizations_client.py +++ b/huaweicloud-sdk-organizations/huaweicloudsdkorganizations/v1/organizations_client.py @@ -33,9 +33,9 @@ def new_builder(cls, clazz=None): return client_builder def invite_account(self, request): - """邀请帐号加入组织 + """邀请账号加入组织 - 向另一个帐号发送邀请,受邀帐号将以成员帐号加入您的组织。此操作只能由组织的管理帐号调用。 + 向另一个账号发送邀请,受邀账号将以成员账号加入您的组织。此操作只能由组织的管理账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -98,9 +98,9 @@ def _invite_account_http_info(cls, request): return http_info def list_accounts(self, request): - """列出组织中的帐号 + """列出组织中的账号 - 列出组织中的帐号。此操作只能由组织的管理帐号或作为服务委托管理员的成员帐号调用。如果指定父级组织单元,则将获得作为父级直系子级的所有帐号的列表。 + 列出组织中的账号。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。如果指定父级组织单元,则将获得作为父级直系子级的所有账号的列表。 Please refer to HUAWEI cloud API Explorer for details. @@ -166,10 +166,76 @@ def _list_accounts_http_info(cls, request): return http_info + def list_close_account_statuses(self, request): + """列出关闭账号的状态 + + 列出组织中指定状态的账号关闭请求。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for ListCloseAccountStatuses + :type request: :class:`huaweicloudsdkorganizations.v1.ListCloseAccountStatusesRequest` + :rtype: :class:`huaweicloudsdkorganizations.v1.ListCloseAccountStatusesResponse` + """ + http_info = self._list_close_account_statuses_http_info(request) + return self._call_api(**http_info) + + def list_close_account_statuses_invoker(self, request): + http_info = self._list_close_account_statuses_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _list_close_account_statuses_http_info(cls, request): + http_info = { + "method": "GET", + "resource_path": "/v1/organizations/close-account-status", + "request_type": request.__class__.__name__, + "response_type": "ListCloseAccountStatusesResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'states' in local_var_params: + query_params.append(('states', local_var_params['states'])) + collection_formats['states'] = 'multi' + + header_params = {} + + form_params = {} + + body = None + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = [] + + header_params['Content-Type'] = http_utils.select_header_content_type( + ['application/json']) + + auth_settings = ['AccessKeyAuth'] + + http_info["cname"] = cname + http_info["collection_formats"] = collection_formats + http_info["path_params"] = path_params + http_info["query_params"] = query_params + http_info["header_params"] = header_params + http_info["post_params"] = form_params + http_info["body"] = body + http_info["response_headers"] = response_headers + + return http_info + def list_create_account_statuses(self, request): - """列出创建帐号的状态 + """列出创建账号的状态 - 列出组织中指定状态的帐号创建请求。此操作只能由组织的管理帐号或作为服务委托管理员的成员帐号调用。 + 列出组织中指定状态的账号创建请求。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -237,9 +303,9 @@ def _list_create_account_statuses_http_info(cls, request): return http_info def move_account(self, request): - """移动帐号 + """移动账号 - 将帐号从其当前源位置(根或组织单元)移动到指定的目标位置(根或组织单元)。 + 将账号从其当前源位置(根或组织单元)移动到指定的目标位置(根或组织单元)。 Please refer to HUAWEI cloud API Explorer for details. @@ -304,9 +370,9 @@ def _move_account_http_info(cls, request): return http_info def remove_account(self, request): - """移除指定的帐号 + """移除指定的账号 - 从组织中移除指定的帐号。移除的帐号将成为一个独立帐号,该帐号不是任何组织的成员。此操作只能由组织的管理帐号调用。只有当帐号配置了作为独立帐号运行所需的信息时,您才能从组织中移除帐号。注意,要移除的帐号不能是组织启用的任何服务的委托管理员帐号。 + 从组织中移除指定的账号。移除的账号将成为一个独立账号,该账号不是任何组织的成员。此操作只能由组织的管理账号调用。只有当账号配置了作为独立账号运行所需的信息时,您才能从组织中移除账号。注意,要移除的账号不能是组织启用的任何服务的委托管理员账号。 Please refer to HUAWEI cloud API Explorer for details. @@ -369,9 +435,9 @@ def _remove_account_http_info(cls, request): return http_info def show_account(self, request): - """查询帐号信息 + """查询账号信息 - 查询有关指定帐号的信息。此操作只能由组织的管理帐号或作为服务委托管理员的成员帐号调用。 + 查询有关指定账号的信息。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -434,9 +500,9 @@ def _show_account_http_info(cls, request): return http_info def show_create_account_status(self, request): - """查询有关创建帐号状态的信息 + """查询有关创建账号状态的信息 - 检索创建帐号的异步请求的当前状态。此操作只能由组织的管理帐号或作为服务委托管理员的成员帐号调用。 + 检索创建账号的异步请求的当前状态。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -501,7 +567,7 @@ def _show_create_account_status_http_info(cls, request): def deregister_delegated_administrator(self, request): """注销服务的委托管理员 - 删除指定成员帐号作为指定服务的委托管理员。此操作只能由组织的管理帐号调用。 + 删除指定成员账号作为指定服务的委托管理员。此操作只能由组织的管理账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -564,9 +630,9 @@ def _deregister_delegated_administrator_http_info(cls, request): return http_info def list_delegated_administrators(self, request): - """列出此组织中指定为委托管理员的帐号 + """列出此组织中指定为委托管理员的账号 - 列出在此组织中指定为委派管理员的帐号。此操作只能由组织的管理帐号或作为服务委托管理员的成员帐号调用。 + 列出在此组织中指定为委派管理员的账号。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -633,9 +699,9 @@ def _list_delegated_administrators_http_info(cls, request): return http_info def list_delegated_services(self, request): - """列出指定帐号是其委托管理员的服务 + """列出指定账号是其委托管理员的服务 - 列出指定帐号是其委托管理员的服务。此操作只能由组织的管理帐号或作为服务委托管理员的成员帐号调用。 + 列出指定账号是其委托管理员的服务。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -704,7 +770,7 @@ def _list_delegated_services_http_info(cls, request): def register_delegated_administrator(self, request): """注册作为服务委托管理员 - 指定成员帐号能够管理指定服务的组织功能。此接口授予委托管理员对组织服务数据的只读访问权限。委托管理员帐号中的IAM用户仍需要IAM权限才能访问和管理服务。此操作只能由组织的管理帐号调用。 + 指定成员账号能够管理指定服务的组织功能。此接口授予委托管理员对组织服务数据的只读访问权限。委托管理员账号中的IAM用户仍需要IAM权限才能访问和管理服务。此操作只能由组织的管理账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -834,7 +900,7 @@ def _accept_handshake_http_info(cls, request): def cancel_handshake(self, request): """取消邀请 - 取消邀请,此时邀请状态将设置为已取消。此接口只能由发起邀请的帐号调用。取消邀请后,此邀请信息将继续保留并出现在相关API的返回结果中,保留期限为30天。 + 取消邀请,此时邀请状态将设置为已取消。此接口只能由发起邀请的账号调用。取消邀请后,此邀请信息将继续保留并出现在相关API的返回结果中,保留期限为30天。 Please refer to HUAWEI cloud API Explorer for details. @@ -899,7 +965,7 @@ def _cancel_handshake_http_info(cls, request): def decline_handshake(self, request): """拒绝邀请 - 拒绝邀请请求。受邀帐号拒绝邀请,此时当前邀请状态将设置为拒绝,邀请停止。此接口只能由受邀帐号调用。邀请发起者无法再次激活被拒绝的邀请,但可以重新发送新的邀请。 + 拒绝邀请请求。受邀账号拒绝邀请,此时当前邀请状态将设置为拒绝,邀请停止。此接口只能由受邀账号调用。邀请发起者无法再次激活被拒绝的邀请,但可以重新发送新的邀请。 Please refer to HUAWEI cloud API Explorer for details. @@ -964,7 +1030,7 @@ def _decline_handshake_http_info(cls, request): def list_handshakes(self, request): """列出发送的邀请 - 列出所属组织发送的邀请。此操作只能由组织的管理帐号或作为服务委托管理员的成员帐号调用。 + 列出所属组织发送的邀请。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -1031,7 +1097,7 @@ def _list_handshakes_http_info(cls, request): def list_received_handshakes(self, request): """列出收到的邀请 - 列出帐号收到的所有邀请。此操作可以由任何帐号调用。 + 列出账号收到的所有邀请。此操作可以由任何账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -1098,7 +1164,7 @@ def _list_received_handshakes_http_info(cls, request): def show_handshake(self, request): """查询邀请相关信息 - 查询组织中已有帐号邀请的相关信息。此接口可以由组织中的任何帐号调用。 + 查询组织中已有账号邀请的相关信息。此接口可以由组织中的任何账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -1161,9 +1227,9 @@ def _show_handshake_http_info(cls, request): return http_info def list_entities(self, request): - """列出组织中的根、组织单元和帐号 + """列出组织中的根、组织单元和账号 - 列出组织中包含的所有根、组织单元和帐号。此操作只能由组织的管理帐号或作为服务委托管理员的成员帐号调用。您可以通过指定父ID和子ID参数来过滤实体。 + 列出组织中包含的所有根、组织单元和账号。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。您可以通过指定父ID和子ID参数来过滤实体。 Please refer to HUAWEI cloud API Explorer for details. @@ -1234,7 +1300,7 @@ def _list_entities_http_info(cls, request): def list_quotas(self, request): """列出租户的组织配额 - 列出租户的组织配额。此操作只能由组织的管理帐号或作为服务委托管理员的成员帐号调用。 + 列出租户的组织配额。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -1423,7 +1489,7 @@ def _list_tag_policy_services_http_info(cls, request): def show_effective_policies(self, request): """查询有效的策略 - 查询指定策略类型和帐户的有效策略信息。当前此接口不支持查询服务控制策略(service_control_policy)。此操作只能由组织的管理帐号或作为服务委托管理员的成员帐号调用。 + 查询指定策略类型和账户的有效策略信息。当前此接口不支持查询服务控制策略(service_control_policy)。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -1490,7 +1556,7 @@ def _show_effective_policies_http_info(cls, request): def create_organization(self, request): """创建组织 - 创建组织。调用此接口的帐号将自动成为新组织的管理帐号,调用此接口的帐号凭证必须是新组织管理帐号的帐号凭证。 + 创建组织。调用此接口的账号将自动成为新组织的管理账号,调用此接口的账号凭证必须是新组织管理账号的账号凭证。 Please refer to HUAWEI cloud API Explorer for details. @@ -1553,7 +1619,7 @@ def _create_organization_http_info(cls, request): def delete_organization(self, request): """删除组织 - 删除组织。您必须使用管理帐号才能删除组织,并且先移除组织中的所有帐号、组织单元和策略。 + 删除组织。您必须使用管理账号才能删除组织,并且先移除组织中的所有账号、组织单元和策略。 Please refer to HUAWEI cloud API Explorer for details. @@ -1616,7 +1682,7 @@ def _delete_organization_http_info(cls, request): def leave_organization(self, request): """离开当前组织 - 此操作只能由组织的成员帐号调用。只有当组织帐号配置了作为独立帐号运行所需的信息时,您才能作为成员账户离开组织。要离开的帐号不能是组织启用的任何服务的委托管理员帐号。 + 此操作只能由组织的成员账号调用。只有当组织账号配置了作为独立账号运行所需的信息时,您才能作为成员账户离开组织。要离开的账号不能是组织启用的任何服务的委托管理员账号。 Please refer to HUAWEI cloud API Explorer for details. @@ -1679,7 +1745,7 @@ def _leave_organization_http_info(cls, request): def list_roots(self, request): """列出组织的根 - 列出当前组织的根。此接口只能由组织的管理帐号或作为服务委托管理员的成员帐号调用。 + 列出当前组织的根。此接口只能由组织的管理账号或作为服务委托管理员的成员账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -1746,7 +1812,7 @@ def _list_roots_http_info(cls, request): def show_organization(self, request): """查询所属组织信息 - 查询帐号所属组织的信息。此操作可以由组织中的任何帐号调用。 + 查询账号所属组织的信息。此操作可以由组织中的任何账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -1809,7 +1875,7 @@ def _show_organization_http_info(cls, request): def create_organizational_unit(self, request): """创建组织单元 - 在根或父组织单元中创建组织单元。组织单元是帐号的容器,使您能够对帐号进行分组管理,并根据业务要求应用策略。此操作只能由组织的管理帐号调用。 + 在根或父组织单元中创建组织单元。组织单元是账号的容器,使您能够对账号进行分组管理,并根据业务要求应用策略。此操作只能由组织的管理账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -1874,7 +1940,7 @@ def _create_organizational_unit_http_info(cls, request): def delete_organizational_unit(self, request): """删除组织单元 - 从根或其他组织单元中删除组织单元。前提是您必须先移除该组织单元中的所有成员帐号或将成员帐号移动至其他组织单元,必须删除该组织单元中的所有子组织单元。此操作只能由组织的管理帐号调用。 + 从根或其他组织单元中删除组织单元。前提是您必须先移除该组织单元中的所有成员账号或将成员账号移动至其他组织单元,必须删除该组织单元中的所有子组织单元。此操作只能由组织的管理账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -1939,7 +2005,7 @@ def _delete_organizational_unit_http_info(cls, request): def list_organizational_units(self, request): """列出组织单元 - 列出组织中的所有组织单元。如果指定父级组织单元,则将获得父级直系子级的组织单元列表。此操作只能由组织的管理帐号或作为服务委托管理员的成员帐号调用。 + 列出组织中的所有组织单元。如果指定父级组织单元,则将获得父级直系子级的组织单元列表。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -2008,7 +2074,7 @@ def _list_organizational_units_http_info(cls, request): def show_organizational_unit(self, request): """查询有关组织单元的信息 - 查询有关组织单元的信息。此操作只能由组织的管理帐号或作为服务委托管理员的成员帐号调用。 + 查询有关组织单元的信息。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -2073,7 +2139,7 @@ def _show_organizational_unit_http_info(cls, request): def update_organizational_unit(self, request): """更改组织单元名称 - 重命名指定的组织单元。重命名后组织单元ID不变,下属子组织单元和下属帐号不变,组织单元绑定的策略不变。此操作只能由组织的管理帐号调用。 + 重命名指定的组织单元。重命名后组织单元ID不变,下属子组织单元和下属账号不变,组织单元绑定的策略不变。此操作只能由组织的管理账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -2140,7 +2206,7 @@ def _update_organizational_unit_http_info(cls, request): def attach_policy(self, request): """将策略跟实体绑定 - 绑定策略到根、组织单元或个人账户。此操作只能由组织的管理帐号调用。 + 绑定策略到根、组织单元或个人账户。此操作只能由组织的管理账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -2207,7 +2273,7 @@ def _attach_policy_http_info(cls, request): def create_policy(self, request): """创建策略 - 创建指定类型的策略。此操作只能由组织的管理帐号调用。 + 创建指定类型的策略。此操作只能由组织的管理账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -2274,7 +2340,7 @@ def _create_policy_http_info(cls, request): def delete_policy(self, request): """删除策略 - 从组织中删除指定的策略。在执行此操作之前,必须首先将策略跟所有组织单元、根和帐号解绑。此操作只能由组织的管理帐号调用。 + 从组织中删除指定的策略。在执行此操作之前,必须首先将策略跟所有组织单元、根和账号解绑。此操作只能由组织的管理账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -2339,7 +2405,7 @@ def _delete_policy_http_info(cls, request): def detach_policy(self, request): """将策略跟实体解绑 - 从根、组织单元或帐号解绑策略。此操作只能由组织的管理帐号调用。 + 从根、组织单元或账号解绑策略。此操作只能由组织的管理账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -2406,7 +2472,7 @@ def _detach_policy_http_info(cls, request): def disable_policy_type(self, request): """禁用根中的策略类型 - 禁用根中的策略类型。只有在根中启用了特定类型的策略,才能将该类型的策略绑定到根中的实体。执行此操作后,您不能再将指定类型的策略绑定到该根或该根中的任何组织单元或帐号。这是在后台执行的异步请求。您可以使用ListRoots查看指定根的策略类型的状态。此操作只能由组织的管理帐号调用。 + 禁用根中的策略类型。只有在根中启用了特定类型的策略,才能将该类型的策略绑定到根中的实体。执行此操作后,您不能再将指定类型的策略绑定到该根或该根中的任何组织单元或账号。这是在后台执行的异步请求。您可以使用ListRoots查看指定根的策略类型的状态。此操作只能由组织的管理账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -2471,7 +2537,7 @@ def _disable_policy_type_http_info(cls, request): def enable_policy_type(self, request): """在根中启用策略类型 - 在根中启用策略类型。在根中启用策略类型后,您可以将该类型的策略绑定到根、或该根中的任何组织单元和帐号。这是在后台执行的异步请求。您可以使用ListRoots查看指定根的策略类型的状态。此操作只能由组织的管理帐号调用。 + 在根中启用策略类型。在根中启用策略类型后,您可以将该类型的策略绑定到根、或该根中的任何组织单元和账号。这是在后台执行的异步请求。您可以使用ListRoots查看指定根的策略类型的状态。此操作只能由组织的管理账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -2536,7 +2602,7 @@ def _enable_policy_type_http_info(cls, request): def list_entities_for_policy(self, request): """列出跟指定策略绑定的所有实体 - 列出跟指定策略绑定的所有根、组织单元和帐号。此操作只能由组织的管理帐号或作为服务委托管理员的成员帐号调用。 + 列出跟指定策略绑定的所有根、组织单元和账号。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -2605,7 +2671,7 @@ def _list_entities_for_policy_http_info(cls, request): def list_policies(self, request): """列出策略 - 列出组织中的所有策略。如果指定了资源ID,例如组织单元ID或帐号ID,则将获得该资源已绑定的策略列表。此操作只能由组织的管理帐号或作为服务委托管理员的成员帐号调用。 + 列出组织中的所有策略。如果指定了资源ID,例如组织单元ID或账号ID,则将获得该资源已绑定的策略列表。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -2676,7 +2742,7 @@ def _list_policies_http_info(cls, request): def show_policy(self, request): """查询策略相关信息 - 检索策略的相关信息。此操作只能由组织的管理帐号或作为服务委托管理员的成员帐号调用。 + 检索策略的相关信息。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -2743,7 +2809,7 @@ def _show_policy_http_info(cls, request): def update_policy(self, request): """更新策略 - 更新策略,可以更新策略的名称、描述或内容。如果不提供任何参数,则策略将保持不变。您不能更改策略的类型。此操作只能由组织的管理帐号调用。 + 更新策略,可以更新策略的名称、描述或内容。如果不提供任何参数,则策略将保持不变。您不能更改策略的类型。此操作只能由组织的管理账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -2812,7 +2878,7 @@ def _update_policy_http_info(cls, request): def create_tag_resource(self, request): """为指定资源添加标签 - 向指定的资源添加一个或多个标签。目前,您可以将标签附加到组织中的帐号、组织单元、根和策略。此操作只能由组织的管理帐号调用 + 向指定的资源添加一个或多个标签。目前,您可以将标签附加到组织中的账号、组织单元、根和策略。此操作只能由组织的管理账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -2881,7 +2947,7 @@ def _create_tag_resource_http_info(cls, request): def delete_tag_resource(self, request): """从指定资源中删除指定主键标签 - 从指定资源中删除具有指定主键的任何标签。您可以将标签绑定到组织中的帐号、组织单元、根和策略。此操作只能由组织的管理帐号调用 + 从指定资源中删除具有指定主键的任何标签。您可以将标签绑定到组织中的账号、组织单元、根和策略。此操作只能由组织的管理账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -2950,7 +3016,7 @@ def _delete_tag_resource_http_info(cls, request): def list_resource_instances(self, request): """根据资源类型及标签信息查询实例列表 - 根据资源类型及标签信息查询实例列表 + 根据资源类型及标签信息查询实例列表。 Please refer to HUAWEI cloud API Explorer for details. @@ -3019,9 +3085,9 @@ def _list_resource_instances_http_info(cls, request): return http_info def list_resource_tags(self, request): - """查询项目标签 + """查询资源标签 - 查询项目标签 + 查询资源标签。 Please refer to HUAWEI cloud API Explorer for details. @@ -3086,7 +3152,7 @@ def _list_resource_tags_http_info(cls, request): def list_tag_resources(self, request): """列出绑定到指定资源的标签 - 列出绑定到指定资源的标签。您可以将标签附加到组织中的帐号、组织单元、根和策略。此操作只能由组织的管理帐号或作为服务委托管理员的成员帐号调用 + 列出绑定到指定资源的标签。您可以将标签附加到组织中的账号、组织单元、根和策略。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -3157,7 +3223,7 @@ def _list_tag_resources_http_info(cls, request): def list_tags_for_resource(self, request): """列出绑定到指定资源的标签 - 列出绑定到指定资源的标签。您可以将标签附加到组织中的帐号、组织单元、根和策略。此操作只能由组织的管理帐号或作为服务委托管理员的成员帐号调用。 + 列出绑定到指定资源的标签。您可以将标签附加到组织中的账号、组织单元、根和策略。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -3226,7 +3292,7 @@ def _list_tags_for_resource_http_info(cls, request): def show_resource_instances_count(self, request): """根据资源类型及标签信息查询实例数量 - 根据资源类型及标签信息查询实例数量 + 根据资源类型及标签信息查询实例数量。 Please refer to HUAWEI cloud API Explorer for details. @@ -3293,7 +3359,7 @@ def _show_resource_instances_count_http_info(cls, request): def tag_resource(self, request): """为指定资源添加标签 - 向指定的资源添加一个或多个标签。目前,您可以将标签附加到组织中的帐号、组织单元、根和策略。此操作只能由组织的管理帐号调用。 + 向指定的资源添加一个或多个标签。目前,您可以将标签附加到组织中的账号、组织单元、根和策略。此操作只能由组织的管理账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -3360,7 +3426,7 @@ def _tag_resource_http_info(cls, request): def untag_resource(self, request): """从指定资源中删除指定主键标签 - 从指定资源中删除具有指定主键的任何标签。您可以将标签绑定到组织中的帐号、组织单元、根和策略。此操作只能由组织的管理帐号调用。 + 从指定资源中删除具有指定主键的任何标签。您可以将标签绑定到组织中的账号、组织单元、根和策略。此操作只能由组织的管理账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -3427,7 +3493,7 @@ def _untag_resource_http_info(cls, request): def disable_trusted_service(self, request): """禁用受信任服务 - 禁用服务(由service_principal指定的服务)与组织的集成。禁用可信服务后,指定服务将不可以在组织中的新帐号中创建服务关联委托。这意味着该服务无法代表您对组织中的任何新帐号执行操作。在服务完成从组织中的清理之前,服务仍可以在旧帐号中执行操作。此接口只能由组织的管理帐号调用。 + 禁用服务(由service_principal指定的服务)与组织的集成。禁用可信服务后,指定服务将不可以在组织中的新账号中创建服务关联委托。这意味着该服务无法代表您对组织中的任何新账号执行操作。在服务完成从组织中的清理之前,服务仍可以在旧账号中执行操作。此接口只能由组织的管理账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -3492,7 +3558,7 @@ def _disable_trusted_service_http_info(cls, request): def enable_trusted_service(self, request): """启用可信服务 - 启用服务(由service_principal指定的服务)与组织的集成。启用可信服务后,允许指定的可信服务对组织中的所有帐号创建服务关联委托。这允许可信服务代表您在组织及其帐号中执行操作。此接口只能由组织的管理帐号调用。 + 启用服务(由service_principal指定的服务)与组织的集成。启用可信服务后,允许指定的可信服务对组织中的所有账号创建服务关联委托。这允许可信服务代表您在组织及其账号中执行操作。此接口只能由组织的管理账号调用。 Please refer to HUAWEI cloud API Explorer for details. @@ -3557,7 +3623,7 @@ def _enable_trusted_service_http_info(cls, request): def list_trusted_services(self, request): """列出组织的可信服务列表 - 返回启用与组织集成的可信服务列表。此操作只能由组织的管理帐号或作为服务委托管理员的成员帐号调用。 + 返回启用与组织集成的可信服务列表。此操作只能由组织的管理账号或作为服务委托管理员的成员账号调用。 Please refer to HUAWEI cloud API Explorer for details. diff --git a/huaweicloud-sdk-organizations/requirements.txt b/huaweicloud-sdk-organizations/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-organizations/requirements.txt +++ b/huaweicloud-sdk-organizations/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-organizations/setup.py b/huaweicloud-sdk-organizations/setup.py index 682211dad7..a77f222cb1 100644 --- a/huaweicloud-sdk-organizations/setup.py +++ b/huaweicloud-sdk-organizations/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkorganizations" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-orgid/requirements.txt b/huaweicloud-sdk-orgid/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-orgid/requirements.txt +++ b/huaweicloud-sdk-orgid/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-orgid/setup.py b/huaweicloud-sdk-orgid/setup.py index 4ea555c9f8..8a4bba9bc9 100644 --- a/huaweicloud-sdk-orgid/setup.py +++ b/huaweicloud-sdk-orgid/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkorgid" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-oroas/requirements.txt b/huaweicloud-sdk-oroas/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-oroas/requirements.txt +++ b/huaweicloud-sdk-oroas/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-oroas/setup.py b/huaweicloud-sdk-oroas/setup.py index f88ae246e6..3018bc1a29 100644 --- a/huaweicloud-sdk-oroas/setup.py +++ b/huaweicloud-sdk-oroas/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkoroas" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-osm/requirements.txt b/huaweicloud-sdk-osm/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-osm/requirements.txt +++ b/huaweicloud-sdk-osm/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-osm/setup.py b/huaweicloud-sdk-osm/setup.py index ed2b53b23a..800db27ab4 100644 --- a/huaweicloud-sdk-osm/setup.py +++ b/huaweicloud-sdk-osm/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkosm" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-pangulargemodels/requirements.txt b/huaweicloud-sdk-pangulargemodels/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-pangulargemodels/requirements.txt +++ b/huaweicloud-sdk-pangulargemodels/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-pangulargemodels/setup.py b/huaweicloud-sdk-pangulargemodels/setup.py index 22cf18fe6c..6e92d1f639 100644 --- a/huaweicloud-sdk-pangulargemodels/setup.py +++ b/huaweicloud-sdk-pangulargemodels/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkpangulargemodels" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-projectman/requirements.txt b/huaweicloud-sdk-projectman/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-projectman/requirements.txt +++ b/huaweicloud-sdk-projectman/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-projectman/setup.py b/huaweicloud-sdk-projectman/setup.py index ba75a8fcfd..ea62ba6bd9 100644 --- a/huaweicloud-sdk-projectman/setup.py +++ b/huaweicloud-sdk-projectman/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkprojectman" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-rabbitmq/huaweicloudsdkrabbitmq/v2/region/rabbitmq_region.py b/huaweicloud-sdk-rabbitmq/huaweicloudsdkrabbitmq/v2/region/rabbitmq_region.py index 03aad41d03..4a11beee92 100644 --- a/huaweicloud-sdk-rabbitmq/huaweicloudsdkrabbitmq/v2/region/rabbitmq_region.py +++ b/huaweicloud-sdk-rabbitmq/huaweicloudsdkrabbitmq/v2/region/rabbitmq_region.py @@ -56,6 +56,8 @@ class RabbitMQRegion: "https://dms.me-east-1.myhuaweicloud.com") CN_EAST_5 = Region("cn-east-5", "https://dms.cn-east-5.myhuaweicloud.com") + MY_KUALALUMPUR_1 = Region("my-kualalumpur-1", + "https://dms.my-kualalumpur-1.myhuaweicloud.com") static_fields = { "eu-west-101": EU_WEST_101, @@ -83,6 +85,7 @@ class RabbitMQRegion: "eu-west-0": EU_WEST_0, "me-east-1": ME_EAST_1, "cn-east-5": CN_EAST_5, + "my-kualalumpur-1": MY_KUALALUMPUR_1, } @classmethod diff --git a/huaweicloud-sdk-rabbitmq/requirements.txt b/huaweicloud-sdk-rabbitmq/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-rabbitmq/requirements.txt +++ b/huaweicloud-sdk-rabbitmq/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-rabbitmq/setup.py b/huaweicloud-sdk-rabbitmq/setup.py index de07818c91..77dbb1a980 100644 --- a/huaweicloud-sdk-rabbitmq/setup.py +++ b/huaweicloud-sdk-rabbitmq/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkrabbitmq" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ram/huaweicloudsdkram/v1/__init__.py b/huaweicloud-sdk-ram/huaweicloudsdkram/v1/__init__.py index 22abe93589..9ba2221fd8 100644 --- a/huaweicloud-sdk-ram/huaweicloudsdkram/v1/__init__.py +++ b/huaweicloud-sdk-ram/huaweicloudsdkram/v1/__init__.py @@ -31,6 +31,8 @@ from huaweicloudsdkram.v1.model.disassociate_resource_share_response import DisassociateResourceShareResponse from huaweicloudsdkram.v1.model.enable_organization_share_request import EnableOrganizationShareRequest from huaweicloudsdkram.v1.model.enable_organization_share_response import EnableOrganizationShareResponse +from huaweicloudsdkram.v1.model.list_permission_versions_request import ListPermissionVersionsRequest +from huaweicloudsdkram.v1.model.list_permission_versions_response import ListPermissionVersionsResponse from huaweicloudsdkram.v1.model.list_permissions_request import ListPermissionsRequest from huaweicloudsdkram.v1.model.list_permissions_response import ListPermissionsResponse from huaweicloudsdkram.v1.model.list_quota_request import ListQuotaRequest diff --git a/huaweicloud-sdk-ram/huaweicloudsdkram/v1/model/__init__.py b/huaweicloud-sdk-ram/huaweicloudsdkram/v1/model/__init__.py index 152801f5f6..6fa99c3cc5 100644 --- a/huaweicloud-sdk-ram/huaweicloudsdkram/v1/model/__init__.py +++ b/huaweicloud-sdk-ram/huaweicloudsdkram/v1/model/__init__.py @@ -29,6 +29,8 @@ from huaweicloudsdkram.v1.model.disassociate_resource_share_response import DisassociateResourceShareResponse from huaweicloudsdkram.v1.model.enable_organization_share_request import EnableOrganizationShareRequest from huaweicloudsdkram.v1.model.enable_organization_share_response import EnableOrganizationShareResponse +from huaweicloudsdkram.v1.model.list_permission_versions_request import ListPermissionVersionsRequest +from huaweicloudsdkram.v1.model.list_permission_versions_response import ListPermissionVersionsResponse from huaweicloudsdkram.v1.model.list_permissions_request import ListPermissionsRequest from huaweicloudsdkram.v1.model.list_permissions_response import ListPermissionsResponse from huaweicloudsdkram.v1.model.list_quota_request import ListQuotaRequest diff --git a/huaweicloud-sdk-ram/huaweicloudsdkram/v1/model/associate_permission_req_body.py b/huaweicloud-sdk-ram/huaweicloudsdkram/v1/model/associate_permission_req_body.py index e737394f37..0fbf357603 100644 --- a/huaweicloud-sdk-ram/huaweicloudsdkram/v1/model/associate_permission_req_body.py +++ b/huaweicloud-sdk-ram/huaweicloudsdkram/v1/model/associate_permission_req_body.py @@ -17,57 +17,35 @@ class AssociatePermissionReqBody: sensitive_list = [] openapi_types = { - 'permission_id': 'str', - 'replace': 'bool' + 'replace': 'bool', + 'permission_id': 'str' } attribute_map = { - 'permission_id': 'permission_id', - 'replace': 'replace' + 'replace': 'replace', + 'permission_id': 'permission_id' } - def __init__(self, permission_id=None, replace=None): + def __init__(self, replace=None, permission_id=None): """AssociatePermissionReqBody The model defined in huaweicloud sdk - :param permission_id: 共享资源权限的ID。 - :type permission_id: str :param replace: 指定特定的权限替换或绑定到与资源共享实例关联的现有资源类型。设置为\"true\"可将相同的资源类型的权限替换为当前权限。设置为\"false\"将权限绑定到当前资源类型。默认值为\"false\"。资源共享实例中的每个资源类型只能绑定一个权限。如果资源共享实例中已具有指定资源类型的权限,并且将\"replace\"设置为\"false\",则操作返回错误。这有助于防止意外覆盖权限。 :type replace: bool + :param permission_id: 共享资源权限的ID。 + :type permission_id: str """ - self._permission_id = None self._replace = None + self._permission_id = None self.discriminator = None - self.permission_id = permission_id if replace is not None: self.replace = replace - - @property - def permission_id(self): - """Gets the permission_id of this AssociatePermissionReqBody. - - 共享资源权限的ID。 - - :return: The permission_id of this AssociatePermissionReqBody. - :rtype: str - """ - return self._permission_id - - @permission_id.setter - def permission_id(self, permission_id): - """Sets the permission_id of this AssociatePermissionReqBody. - - 共享资源权限的ID。 - - :param permission_id: The permission_id of this AssociatePermissionReqBody. - :type permission_id: str - """ - self._permission_id = permission_id + self.permission_id = permission_id @property def replace(self): @@ -91,6 +69,28 @@ def replace(self, replace): """ self._replace = replace + @property + def permission_id(self): + """Gets the permission_id of this AssociatePermissionReqBody. + + 共享资源权限的ID。 + + :return: The permission_id of this AssociatePermissionReqBody. + :rtype: str + """ + return self._permission_id + + @permission_id.setter + def permission_id(self, permission_id): + """Sets the permission_id of this AssociatePermissionReqBody. + + 共享资源权限的ID。 + + :param permission_id: The permission_id of this AssociatePermissionReqBody. + :type permission_id: str + """ + self._permission_id = permission_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_permission_set_provisioning_status_request.py b/huaweicloud-sdk-ram/huaweicloudsdkram/v1/model/list_permission_versions_request.py similarity index 53% rename from huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_permission_set_provisioning_status_request.py rename to huaweicloud-sdk-ram/huaweicloudsdkram/v1/model/list_permission_versions_request.py index 4a14d1c201..47f3d573aa 100644 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_permission_set_provisioning_status_request.py +++ b/huaweicloud-sdk-ram/huaweicloudsdkram/v1/model/list_permission_versions_request.py @@ -5,7 +5,7 @@ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class ListPermissionSetProvisioningStatusRequest: +class ListPermissionVersionsRequest: """ Attributes: @@ -17,125 +17,108 @@ class ListPermissionSetProvisioningStatusRequest: sensitive_list = [] openapi_types = { - 'instance_id': 'str', 'limit': 'int', 'marker': 'str', - 'status': 'str' + 'permission_id': 'str' } attribute_map = { - 'instance_id': 'instance_id', 'limit': 'limit', 'marker': 'marker', - 'status': 'status' + 'permission_id': 'permission_id' } - def __init__(self, instance_id=None, limit=None, marker=None, status=None): - """ListPermissionSetProvisioningStatusRequest + def __init__(self, limit=None, marker=None, permission_id=None): + """ListPermissionVersionsRequest The model defined in huaweicloud sdk - :param instance_id: - :type instance_id: str - :param limit: + :param limit: 分页页面的最大值。 :type limit: int - :param marker: + :param marker: 页面标记。 :type marker: str - :param status: Filters he operation status list based on the passed attribute value. - :type status: str + :param permission_id: 共享资源权限的ID。 + :type permission_id: str """ - self._instance_id = None self._limit = None self._marker = None - self._status = None + self._permission_id = None self.discriminator = None - self.instance_id = instance_id if limit is not None: self.limit = limit if marker is not None: self.marker = marker - if status is not None: - self.status = status - - @property - def instance_id(self): - """Gets the instance_id of this ListPermissionSetProvisioningStatusRequest. - - :return: The instance_id of this ListPermissionSetProvisioningStatusRequest. - :rtype: str - """ - return self._instance_id - - @instance_id.setter - def instance_id(self, instance_id): - """Sets the instance_id of this ListPermissionSetProvisioningStatusRequest. - - :param instance_id: The instance_id of this ListPermissionSetProvisioningStatusRequest. - :type instance_id: str - """ - self._instance_id = instance_id + self.permission_id = permission_id @property def limit(self): - """Gets the limit of this ListPermissionSetProvisioningStatusRequest. + """Gets the limit of this ListPermissionVersionsRequest. + + 分页页面的最大值。 - :return: The limit of this ListPermissionSetProvisioningStatusRequest. + :return: The limit of this ListPermissionVersionsRequest. :rtype: int """ return self._limit @limit.setter def limit(self, limit): - """Sets the limit of this ListPermissionSetProvisioningStatusRequest. + """Sets the limit of this ListPermissionVersionsRequest. - :param limit: The limit of this ListPermissionSetProvisioningStatusRequest. + 分页页面的最大值。 + + :param limit: The limit of this ListPermissionVersionsRequest. :type limit: int """ self._limit = limit @property def marker(self): - """Gets the marker of this ListPermissionSetProvisioningStatusRequest. + """Gets the marker of this ListPermissionVersionsRequest. + + 页面标记。 - :return: The marker of this ListPermissionSetProvisioningStatusRequest. + :return: The marker of this ListPermissionVersionsRequest. :rtype: str """ return self._marker @marker.setter def marker(self, marker): - """Sets the marker of this ListPermissionSetProvisioningStatusRequest. + """Sets the marker of this ListPermissionVersionsRequest. + + 页面标记。 - :param marker: The marker of this ListPermissionSetProvisioningStatusRequest. + :param marker: The marker of this ListPermissionVersionsRequest. :type marker: str """ self._marker = marker @property - def status(self): - """Gets the status of this ListPermissionSetProvisioningStatusRequest. + def permission_id(self): + """Gets the permission_id of this ListPermissionVersionsRequest. - Filters he operation status list based on the passed attribute value. + 共享资源权限的ID。 - :return: The status of this ListPermissionSetProvisioningStatusRequest. + :return: The permission_id of this ListPermissionVersionsRequest. :rtype: str """ - return self._status + return self._permission_id - @status.setter - def status(self, status): - """Sets the status of this ListPermissionSetProvisioningStatusRequest. + @permission_id.setter + def permission_id(self, permission_id): + """Sets the permission_id of this ListPermissionVersionsRequest. - Filters he operation status list based on the passed attribute value. + 共享资源权限的ID。 - :param status: The status of this ListPermissionSetProvisioningStatusRequest. - :type status: str + :param permission_id: The permission_id of this ListPermissionVersionsRequest. + :type permission_id: str """ - self._status = status + self._permission_id = permission_id def to_dict(self): """Returns the model properties as a dict""" @@ -179,7 +162,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, ListPermissionSetProvisioningStatusRequest): + if not isinstance(other, ListPermissionVersionsRequest): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_permission_sets_response.py b/huaweicloud-sdk-ram/huaweicloudsdkram/v1/model/list_permission_versions_response.py similarity index 58% rename from huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_permission_sets_response.py rename to huaweicloud-sdk-ram/huaweicloudsdkram/v1/model/list_permission_versions_response.py index 35ed8c3d18..6ea1c79708 100644 --- a/huaweicloud-sdk-identitycenter/huaweicloudsdkidentitycenter/v1/model/list_permission_sets_response.py +++ b/huaweicloud-sdk-ram/huaweicloudsdkram/v1/model/list_permission_versions_response.py @@ -6,7 +6,7 @@ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class ListPermissionSetsResponse(SdkResponse): +class ListPermissionVersionsResponse(SdkResponse): """ Attributes: @@ -18,74 +18,74 @@ class ListPermissionSetsResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'permission_sets': 'list[PermissionSetDto]', - 'page_info': 'PageInfoDto' + 'permissions': 'list[PermissionSummary]', + 'page_info': 'PageInfo' } attribute_map = { - 'permission_sets': 'permission_sets', + 'permissions': 'permissions', 'page_info': 'page_info' } - def __init__(self, permission_sets=None, page_info=None): - """ListPermissionSetsResponse + def __init__(self, permissions=None, page_info=None): + """ListPermissionVersionsResponse The model defined in huaweicloud sdk - :param permission_sets: 权限集列表 - :type permission_sets: list[:class:`huaweicloudsdkidentitycenter.v1.PermissionSetDto`] + :param permissions: 共享资源权限的详细信息列表。 + :type permissions: list[:class:`huaweicloudsdkram.v1.PermissionSummary`] :param page_info: - :type page_info: :class:`huaweicloudsdkidentitycenter.v1.PageInfoDto` + :type page_info: :class:`huaweicloudsdkram.v1.PageInfo` """ - super(ListPermissionSetsResponse, self).__init__() + super(ListPermissionVersionsResponse, self).__init__() - self._permission_sets = None + self._permissions = None self._page_info = None self.discriminator = None - if permission_sets is not None: - self.permission_sets = permission_sets + if permissions is not None: + self.permissions = permissions if page_info is not None: self.page_info = page_info @property - def permission_sets(self): - """Gets the permission_sets of this ListPermissionSetsResponse. + def permissions(self): + """Gets the permissions of this ListPermissionVersionsResponse. - 权限集列表 + 共享资源权限的详细信息列表。 - :return: The permission_sets of this ListPermissionSetsResponse. - :rtype: list[:class:`huaweicloudsdkidentitycenter.v1.PermissionSetDto`] + :return: The permissions of this ListPermissionVersionsResponse. + :rtype: list[:class:`huaweicloudsdkram.v1.PermissionSummary`] """ - return self._permission_sets + return self._permissions - @permission_sets.setter - def permission_sets(self, permission_sets): - """Sets the permission_sets of this ListPermissionSetsResponse. + @permissions.setter + def permissions(self, permissions): + """Sets the permissions of this ListPermissionVersionsResponse. - 权限集列表 + 共享资源权限的详细信息列表。 - :param permission_sets: The permission_sets of this ListPermissionSetsResponse. - :type permission_sets: list[:class:`huaweicloudsdkidentitycenter.v1.PermissionSetDto`] + :param permissions: The permissions of this ListPermissionVersionsResponse. + :type permissions: list[:class:`huaweicloudsdkram.v1.PermissionSummary`] """ - self._permission_sets = permission_sets + self._permissions = permissions @property def page_info(self): - """Gets the page_info of this ListPermissionSetsResponse. + """Gets the page_info of this ListPermissionVersionsResponse. - :return: The page_info of this ListPermissionSetsResponse. - :rtype: :class:`huaweicloudsdkidentitycenter.v1.PageInfoDto` + :return: The page_info of this ListPermissionVersionsResponse. + :rtype: :class:`huaweicloudsdkram.v1.PageInfo` """ return self._page_info @page_info.setter def page_info(self, page_info): - """Sets the page_info of this ListPermissionSetsResponse. + """Sets the page_info of this ListPermissionVersionsResponse. - :param page_info: The page_info of this ListPermissionSetsResponse. - :type page_info: :class:`huaweicloudsdkidentitycenter.v1.PageInfoDto` + :param page_info: The page_info of this ListPermissionVersionsResponse. + :type page_info: :class:`huaweicloudsdkram.v1.PageInfo` """ self._page_info = page_info @@ -131,7 +131,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, ListPermissionSetsResponse): + if not isinstance(other, ListPermissionVersionsResponse): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-ram/huaweicloudsdkram/v1/model/list_permissions_request.py b/huaweicloud-sdk-ram/huaweicloudsdkram/v1/model/list_permissions_request.py index d192074d04..27faa70f00 100644 --- a/huaweicloud-sdk-ram/huaweicloudsdkram/v1/model/list_permissions_request.py +++ b/huaweicloud-sdk-ram/huaweicloudsdkram/v1/model/list_permissions_request.py @@ -19,16 +19,18 @@ class ListPermissionsRequest: openapi_types = { 'limit': 'int', 'marker': 'str', - 'resource_type': 'str' + 'resource_type': 'str', + 'permission_type': 'str' } attribute_map = { 'limit': 'limit', 'marker': 'marker', - 'resource_type': 'resource_type' + 'resource_type': 'resource_type', + 'permission_type': 'permission_type' } - def __init__(self, limit=None, marker=None, resource_type=None): + def __init__(self, limit=None, marker=None, resource_type=None, permission_type=None): """ListPermissionsRequest The model defined in huaweicloud sdk @@ -39,6 +41,8 @@ def __init__(self, limit=None, marker=None, resource_type=None): :type marker: str :param resource_type: 资源类型的名称。 :type resource_type: str + :param permission_type: 权限类型。RAM_MANAGED表示RAM托管的权限,CUSTOMER_MANAGED表示租户创建的自定义的权限,ALL表示所有的权限。 + :type permission_type: str """ @@ -46,6 +50,7 @@ def __init__(self, limit=None, marker=None, resource_type=None): self._limit = None self._marker = None self._resource_type = None + self._permission_type = None self.discriminator = None if limit is not None: @@ -54,6 +59,8 @@ def __init__(self, limit=None, marker=None, resource_type=None): self.marker = marker if resource_type is not None: self.resource_type = resource_type + if permission_type is not None: + self.permission_type = permission_type @property def limit(self): @@ -121,6 +128,28 @@ def resource_type(self, resource_type): """ self._resource_type = resource_type + @property + def permission_type(self): + """Gets the permission_type of this ListPermissionsRequest. + + 权限类型。RAM_MANAGED表示RAM托管的权限,CUSTOMER_MANAGED表示租户创建的自定义的权限,ALL表示所有的权限。 + + :return: The permission_type of this ListPermissionsRequest. + :rtype: str + """ + return self._permission_type + + @permission_type.setter + def permission_type(self, permission_type): + """Sets the permission_type of this ListPermissionsRequest. + + 权限类型。RAM_MANAGED表示RAM托管的权限,CUSTOMER_MANAGED表示租户创建的自定义的权限,ALL表示所有的权限。 + + :param permission_type: The permission_type of this ListPermissionsRequest. + :type permission_type: str + """ + self._permission_type = permission_type + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-ram/huaweicloudsdkram/v1/model/permission.py b/huaweicloud-sdk-ram/huaweicloudsdkram/v1/model/permission.py index 581668a7e2..3fe69fe584 100644 --- a/huaweicloud-sdk-ram/huaweicloudsdkram/v1/model/permission.py +++ b/huaweicloud-sdk-ram/huaweicloudsdkram/v1/model/permission.py @@ -23,7 +23,12 @@ class Permission: 'content': 'str', 'is_resource_type_default': 'bool', 'created_at': 'datetime', - 'updated_at': 'datetime' + 'updated_at': 'datetime', + 'permission_urn': 'str', + 'permission_type': 'str', + 'default_version': 'bool', + 'version': 'int', + 'status': 'str' } attribute_map = { @@ -33,10 +38,15 @@ class Permission: 'content': 'content', 'is_resource_type_default': 'is_resource_type_default', 'created_at': 'created_at', - 'updated_at': 'updated_at' + 'updated_at': 'updated_at', + 'permission_urn': 'permission_urn', + 'permission_type': 'permission_type', + 'default_version': 'default_version', + 'version': 'version', + 'status': 'status' } - def __init__(self, id=None, name=None, resource_type=None, content=None, is_resource_type_default=None, created_at=None, updated_at=None): + def __init__(self, id=None, name=None, resource_type=None, content=None, is_resource_type_default=None, created_at=None, updated_at=None, permission_urn=None, permission_type=None, default_version=None, version=None, status=None): """Permission The model defined in huaweicloud sdk @@ -55,6 +65,16 @@ def __init__(self, id=None, name=None, resource_type=None, content=None, is_reso :type created_at: datetime :param updated_at: 最后一次更新权限的时间。 :type updated_at: datetime + :param permission_urn: 权限URN。 + :type permission_urn: str + :param permission_type: 权限类型。 + :type permission_type: str + :param default_version: 此权限是否为默认版本。 + :type default_version: bool + :param version: 权限版本。 + :type version: int + :param status: 权限的状态 + :type status: str """ @@ -66,6 +86,11 @@ def __init__(self, id=None, name=None, resource_type=None, content=None, is_reso self._is_resource_type_default = None self._created_at = None self._updated_at = None + self._permission_urn = None + self._permission_type = None + self._default_version = None + self._version = None + self._status = None self.discriminator = None self.id = id @@ -75,6 +100,16 @@ def __init__(self, id=None, name=None, resource_type=None, content=None, is_reso self.is_resource_type_default = is_resource_type_default self.created_at = created_at self.updated_at = updated_at + if permission_urn is not None: + self.permission_urn = permission_urn + if permission_type is not None: + self.permission_type = permission_type + if default_version is not None: + self.default_version = default_version + if version is not None: + self.version = version + if status is not None: + self.status = status @property def id(self): @@ -230,6 +265,116 @@ def updated_at(self, updated_at): """ self._updated_at = updated_at + @property + def permission_urn(self): + """Gets the permission_urn of this Permission. + + 权限URN。 + + :return: The permission_urn of this Permission. + :rtype: str + """ + return self._permission_urn + + @permission_urn.setter + def permission_urn(self, permission_urn): + """Sets the permission_urn of this Permission. + + 权限URN。 + + :param permission_urn: The permission_urn of this Permission. + :type permission_urn: str + """ + self._permission_urn = permission_urn + + @property + def permission_type(self): + """Gets the permission_type of this Permission. + + 权限类型。 + + :return: The permission_type of this Permission. + :rtype: str + """ + return self._permission_type + + @permission_type.setter + def permission_type(self, permission_type): + """Sets the permission_type of this Permission. + + 权限类型。 + + :param permission_type: The permission_type of this Permission. + :type permission_type: str + """ + self._permission_type = permission_type + + @property + def default_version(self): + """Gets the default_version of this Permission. + + 此权限是否为默认版本。 + + :return: The default_version of this Permission. + :rtype: bool + """ + return self._default_version + + @default_version.setter + def default_version(self, default_version): + """Sets the default_version of this Permission. + + 此权限是否为默认版本。 + + :param default_version: The default_version of this Permission. + :type default_version: bool + """ + self._default_version = default_version + + @property + def version(self): + """Gets the version of this Permission. + + 权限版本。 + + :return: The version of this Permission. + :rtype: int + """ + return self._version + + @version.setter + def version(self, version): + """Sets the version of this Permission. + + 权限版本。 + + :param version: The version of this Permission. + :type version: int + """ + self._version = version + + @property + def status(self): + """Gets the status of this Permission. + + 权限的状态 + + :return: The status of this Permission. + :rtype: str + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this Permission. + + 权限的状态 + + :param status: The status of this Permission. + :type status: str + """ + self._status = status + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-ram/huaweicloudsdkram/v1/model/permission_summary.py b/huaweicloud-sdk-ram/huaweicloudsdkram/v1/model/permission_summary.py index fd3bc8e956..c020851a41 100644 --- a/huaweicloud-sdk-ram/huaweicloudsdkram/v1/model/permission_summary.py +++ b/huaweicloud-sdk-ram/huaweicloudsdkram/v1/model/permission_summary.py @@ -22,7 +22,12 @@ class PermissionSummary: 'resource_type': 'str', 'is_resource_type_default': 'bool', 'created_at': 'datetime', - 'updated_at': 'datetime' + 'updated_at': 'datetime', + 'permission_urn': 'str', + 'permission_type': 'str', + 'default_version': 'bool', + 'version': 'int', + 'status': 'str' } attribute_map = { @@ -31,10 +36,15 @@ class PermissionSummary: 'resource_type': 'resource_type', 'is_resource_type_default': 'is_resource_type_default', 'created_at': 'created_at', - 'updated_at': 'updated_at' + 'updated_at': 'updated_at', + 'permission_urn': 'permission_urn', + 'permission_type': 'permission_type', + 'default_version': 'default_version', + 'version': 'version', + 'status': 'status' } - def __init__(self, id=None, name=None, resource_type=None, is_resource_type_default=None, created_at=None, updated_at=None): + def __init__(self, id=None, name=None, resource_type=None, is_resource_type_default=None, created_at=None, updated_at=None, permission_urn=None, permission_type=None, default_version=None, version=None, status=None): """PermissionSummary The model defined in huaweicloud sdk @@ -51,6 +61,16 @@ def __init__(self, id=None, name=None, resource_type=None, is_resource_type_defa :type created_at: datetime :param updated_at: 上次更新权限的时间。 :type updated_at: datetime + :param permission_urn: 权限URN。 + :type permission_urn: str + :param permission_type: 权限类型,RAM托管或者租户自定义权限。 + :type permission_type: str + :param default_version: 是否是默认版本。 + :type default_version: bool + :param version: 权限版本。 + :type version: int + :param status: 权限的状态 + :type status: str """ @@ -61,6 +81,11 @@ def __init__(self, id=None, name=None, resource_type=None, is_resource_type_defa self._is_resource_type_default = None self._created_at = None self._updated_at = None + self._permission_urn = None + self._permission_type = None + self._default_version = None + self._version = None + self._status = None self.discriminator = None self.id = id @@ -69,6 +94,16 @@ def __init__(self, id=None, name=None, resource_type=None, is_resource_type_defa self.is_resource_type_default = is_resource_type_default self.created_at = created_at self.updated_at = updated_at + if permission_urn is not None: + self.permission_urn = permission_urn + if permission_type is not None: + self.permission_type = permission_type + if default_version is not None: + self.default_version = default_version + if version is not None: + self.version = version + if status is not None: + self.status = status @property def id(self): @@ -202,6 +237,116 @@ def updated_at(self, updated_at): """ self._updated_at = updated_at + @property + def permission_urn(self): + """Gets the permission_urn of this PermissionSummary. + + 权限URN。 + + :return: The permission_urn of this PermissionSummary. + :rtype: str + """ + return self._permission_urn + + @permission_urn.setter + def permission_urn(self, permission_urn): + """Sets the permission_urn of this PermissionSummary. + + 权限URN。 + + :param permission_urn: The permission_urn of this PermissionSummary. + :type permission_urn: str + """ + self._permission_urn = permission_urn + + @property + def permission_type(self): + """Gets the permission_type of this PermissionSummary. + + 权限类型,RAM托管或者租户自定义权限。 + + :return: The permission_type of this PermissionSummary. + :rtype: str + """ + return self._permission_type + + @permission_type.setter + def permission_type(self, permission_type): + """Sets the permission_type of this PermissionSummary. + + 权限类型,RAM托管或者租户自定义权限。 + + :param permission_type: The permission_type of this PermissionSummary. + :type permission_type: str + """ + self._permission_type = permission_type + + @property + def default_version(self): + """Gets the default_version of this PermissionSummary. + + 是否是默认版本。 + + :return: The default_version of this PermissionSummary. + :rtype: bool + """ + return self._default_version + + @default_version.setter + def default_version(self, default_version): + """Sets the default_version of this PermissionSummary. + + 是否是默认版本。 + + :param default_version: The default_version of this PermissionSummary. + :type default_version: bool + """ + self._default_version = default_version + + @property + def version(self): + """Gets the version of this PermissionSummary. + + 权限版本。 + + :return: The version of this PermissionSummary. + :rtype: int + """ + return self._version + + @version.setter + def version(self, version): + """Sets the version of this PermissionSummary. + + 权限版本。 + + :param version: The version of this PermissionSummary. + :type version: int + """ + self._version = version + + @property + def status(self): + """Gets the status of this PermissionSummary. + + 权限的状态 + + :return: The status of this PermissionSummary. + :rtype: str + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this PermissionSummary. + + 权限的状态 + + :param status: The status of this PermissionSummary. + :type status: str + """ + self._status = status + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-ram/huaweicloudsdkram/v1/model/quotas.py b/huaweicloud-sdk-ram/huaweicloudsdkram/v1/model/quotas.py index b4806126c6..248cabbc82 100644 --- a/huaweicloud-sdk-ram/huaweicloudsdkram/v1/model/quotas.py +++ b/huaweicloud-sdk-ram/huaweicloudsdkram/v1/model/quotas.py @@ -37,7 +37,7 @@ def __init__(self, type=None, quota=None, min=None, max=None, used=None): The model defined in huaweicloud sdk - :param type: 配额类型。resource_share帐号创建资源共享的数量,resource_association资源共享关联的资源数量,principal_association资源共享关联的身份数量,permission_association资源共享关联的权限数量,tag_association资源共享关联的标签数量。 + :param type: 配额类型。resource_share账号创建资源共享的数量,resource_association资源共享关联的资源数量,principal_association资源共享关联的身份数量,permission_association资源共享关联的权限数量,tag_association资源共享关联的标签数量。 :type type: str :param quota: 总配额数量。 :type quota: int @@ -68,7 +68,7 @@ def __init__(self, type=None, quota=None, min=None, max=None, used=None): def type(self): """Gets the type of this Quotas. - 配额类型。resource_share帐号创建资源共享的数量,resource_association资源共享关联的资源数量,principal_association资源共享关联的身份数量,permission_association资源共享关联的权限数量,tag_association资源共享关联的标签数量。 + 配额类型。resource_share账号创建资源共享的数量,resource_association资源共享关联的资源数量,principal_association资源共享关联的身份数量,permission_association资源共享关联的权限数量,tag_association资源共享关联的标签数量。 :return: The type of this Quotas. :rtype: str @@ -79,7 +79,7 @@ def type(self): def type(self, type): """Sets the type of this Quotas. - 配额类型。resource_share帐号创建资源共享的数量,resource_association资源共享关联的资源数量,principal_association资源共享关联的身份数量,permission_association资源共享关联的权限数量,tag_association资源共享关联的标签数量。 + 配额类型。resource_share账号创建资源共享的数量,resource_association资源共享关联的资源数量,principal_association资源共享关联的身份数量,permission_association资源共享关联的权限数量,tag_association资源共享关联的标签数量。 :param type: The type of this Quotas. :type type: str diff --git a/huaweicloud-sdk-ram/huaweicloudsdkram/v1/model/resource_share_association.py b/huaweicloud-sdk-ram/huaweicloudsdkram/v1/model/resource_share_association.py index d3db2fb962..f56accca08 100644 --- a/huaweicloud-sdk-ram/huaweicloudsdkram/v1/model/resource_share_association.py +++ b/huaweicloud-sdk-ram/huaweicloudsdkram/v1/model/resource_share_association.py @@ -45,7 +45,7 @@ def __init__(self, associated_entity=None, association_type=None, created_at=Non The model defined in huaweicloud sdk - :param associated_entity: 绑定的实体。这可以是共享资源的URN、帐号ID、共享资源目录的URN或文件夹的URN之一。 + :param associated_entity: 绑定的实体。这可以是共享资源的URN、账号ID、组织根的URN或OU的URN之一。 :type associated_entity: str :param association_type: 绑定中包含的实体类型。 :type association_type: str @@ -94,7 +94,7 @@ def __init__(self, associated_entity=None, association_type=None, created_at=Non def associated_entity(self): """Gets the associated_entity of this ResourceShareAssociation. - 绑定的实体。这可以是共享资源的URN、帐号ID、共享资源目录的URN或文件夹的URN之一。 + 绑定的实体。这可以是共享资源的URN、账号ID、组织根的URN或OU的URN之一。 :return: The associated_entity of this ResourceShareAssociation. :rtype: str @@ -105,7 +105,7 @@ def associated_entity(self): def associated_entity(self, associated_entity): """Sets the associated_entity of this ResourceShareAssociation. - 绑定的实体。这可以是共享资源的URN、帐号ID、共享资源目录的URN或文件夹的URN之一。 + 绑定的实体。这可以是共享资源的URN、账号ID、组织根的URN或OU的URN之一。 :param associated_entity: The associated_entity of this ResourceShareAssociation. :type associated_entity: str diff --git a/huaweicloud-sdk-ram/huaweicloudsdkram/v1/model/resource_share_invitation.py b/huaweicloud-sdk-ram/huaweicloudsdkram/v1/model/resource_share_invitation.py index 5b08d0211d..cc71077688 100644 --- a/huaweicloud-sdk-ram/huaweicloudsdkram/v1/model/resource_share_invitation.py +++ b/huaweicloud-sdk-ram/huaweicloudsdkram/v1/model/resource_share_invitation.py @@ -43,7 +43,7 @@ def __init__(self, receiver_account_id=None, resource_share_id=None, resource_sh The model defined in huaweicloud sdk - :param receiver_account_id: 接收资源共享邀请的帐号ID。 + :param receiver_account_id: 接收资源共享邀请的账号ID。 :type receiver_account_id: str :param resource_share_id: 资源共享实例的ID。 :type resource_share_id: str @@ -51,7 +51,7 @@ def __init__(self, receiver_account_id=None, resource_share_id=None, resource_sh :type resource_share_name: str :param resource_share_invitation_id: 资源共享邀请的ID。 :type resource_share_invitation_id: str - :param sender_account_id: 发送资源共享邀请的帐号ID。 + :param sender_account_id: 发送资源共享邀请的账号ID。 :type sender_account_id: str :param status: 资源共享邀请的当前状态。 :type status: str @@ -94,7 +94,7 @@ def __init__(self, receiver_account_id=None, resource_share_id=None, resource_sh def receiver_account_id(self): """Gets the receiver_account_id of this ResourceShareInvitation. - 接收资源共享邀请的帐号ID。 + 接收资源共享邀请的账号ID。 :return: The receiver_account_id of this ResourceShareInvitation. :rtype: str @@ -105,7 +105,7 @@ def receiver_account_id(self): def receiver_account_id(self, receiver_account_id): """Sets the receiver_account_id of this ResourceShareInvitation. - 接收资源共享邀请的帐号ID。 + 接收资源共享邀请的账号ID。 :param receiver_account_id: The receiver_account_id of this ResourceShareInvitation. :type receiver_account_id: str @@ -182,7 +182,7 @@ def resource_share_invitation_id(self, resource_share_invitation_id): def sender_account_id(self): """Gets the sender_account_id of this ResourceShareInvitation. - 发送资源共享邀请的帐号ID。 + 发送资源共享邀请的账号ID。 :return: The sender_account_id of this ResourceShareInvitation. :rtype: str @@ -193,7 +193,7 @@ def sender_account_id(self): def sender_account_id(self, sender_account_id): """Sets the sender_account_id of this ResourceShareInvitation. - 发送资源共享邀请的帐号ID。 + 发送资源共享邀请的账号ID。 :param sender_account_id: The sender_account_id of this ResourceShareInvitation. :type sender_account_id: str diff --git a/huaweicloud-sdk-ram/huaweicloudsdkram/v1/model/shared_principal.py b/huaweicloud-sdk-ram/huaweicloudsdkram/v1/model/shared_principal.py index 2e61ab410f..6d8dbe2fa8 100644 --- a/huaweicloud-sdk-ram/huaweicloudsdkram/v1/model/shared_principal.py +++ b/huaweicloud-sdk-ram/huaweicloudsdkram/v1/model/shared_principal.py @@ -37,7 +37,7 @@ def __init__(self, resource_share_id=None, id=None, created_at=None, updated_at= :param resource_share_id: 资源使用者绑定的资源共享实例的ID。 :type resource_share_id: str - :param id: 资源使用者的帐号ID或URN。 + :param id: 资源使用者的账号ID或URN。 :type id: str :param created_at: 资源使用者与资源共享实例关联的时间。 :type created_at: datetime @@ -88,7 +88,7 @@ def resource_share_id(self, resource_share_id): def id(self): """Gets the id of this SharedPrincipal. - 资源使用者的帐号ID或URN。 + 资源使用者的账号ID或URN。 :return: The id of this SharedPrincipal. :rtype: str @@ -99,7 +99,7 @@ def id(self): def id(self, id): """Sets the id of this SharedPrincipal. - 资源使用者的帐号ID或URN。 + 资源使用者的账号ID或URN。 :param id: The id of this SharedPrincipal. :type id: str diff --git a/huaweicloud-sdk-ram/huaweicloudsdkram/v1/model/show_permission_request.py b/huaweicloud-sdk-ram/huaweicloudsdkram/v1/model/show_permission_request.py index 2f675669eb..cba0223395 100644 --- a/huaweicloud-sdk-ram/huaweicloudsdkram/v1/model/show_permission_request.py +++ b/huaweicloud-sdk-ram/huaweicloudsdkram/v1/model/show_permission_request.py @@ -17,28 +17,35 @@ class ShowPermissionRequest: sensitive_list = [] openapi_types = { - 'permission_id': 'str' + 'permission_id': 'str', + 'permission_version': 'int' } attribute_map = { - 'permission_id': 'permission_id' + 'permission_id': 'permission_id', + 'permission_version': 'permission_version' } - def __init__(self, permission_id=None): + def __init__(self, permission_id=None, permission_version=None): """ShowPermissionRequest The model defined in huaweicloud sdk :param permission_id: 共享资源权限的ID。 :type permission_id: str + :param permission_version: 资源权限版本。 + :type permission_version: int """ self._permission_id = None + self._permission_version = None self.discriminator = None self.permission_id = permission_id + if permission_version is not None: + self.permission_version = permission_version @property def permission_id(self): @@ -62,6 +69,28 @@ def permission_id(self, permission_id): """ self._permission_id = permission_id + @property + def permission_version(self): + """Gets the permission_version of this ShowPermissionRequest. + + 资源权限版本。 + + :return: The permission_version of this ShowPermissionRequest. + :rtype: int + """ + return self._permission_version + + @permission_version.setter + def permission_version(self, permission_version): + """Sets the permission_version of this ShowPermissionRequest. + + 资源权限版本。 + + :param permission_version: The permission_version of this ShowPermissionRequest. + :type permission_version: int + """ + self._permission_version = permission_version + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-ram/huaweicloudsdkram/v1/ram_async_client.py b/huaweicloud-sdk-ram/huaweicloudsdkram/v1/ram_async_client.py index c390123eb1..10cac6eb7f 100644 --- a/huaweicloud-sdk-ram/huaweicloudsdkram/v1/ram_async_client.py +++ b/huaweicloud-sdk-ram/huaweicloudsdkram/v1/ram_async_client.py @@ -240,7 +240,7 @@ def _list_resource_share_permissions_http_info(self, request): def list_quota_async(self, request): """查询资源共享的配额 - 查询当前帐号的资源共享配额信息。 + 查询当前账号的资源共享配额信息。 Please refer to HUAWEI cloud API Explorer for details. @@ -556,6 +556,75 @@ def _show_organization_share_http_info(self, request): return http_info + def list_permission_versions_async(self, request): + """获取权限的所有版本 + + 获取权限的所有版本。 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for ListPermissionVersions + :type request: :class:`huaweicloudsdkram.v1.ListPermissionVersionsRequest` + :rtype: :class:`huaweicloudsdkram.v1.ListPermissionVersionsResponse` + """ + http_info = self._list_permission_versions_http_info(request) + return self._call_api(**http_info) + + def list_permission_versions_async_invoker(self, request): + http_info = self._list_permission_versions_http_info(request) + return AsyncInvoker(self, http_info) + + def _list_permission_versions_http_info(self, request): + http_info = { + "method": "GET", + "resource_path": "/v1/permissions/{permission_id}/versions", + "request_type": request.__class__.__name__, + "response_type": "ListPermissionVersionsResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'permission_id' in local_var_params: + path_params['permission_id'] = local_var_params['permission_id'] + + query_params = [] + if 'limit' in local_var_params: + query_params.append(('limit', local_var_params['limit'])) + if 'marker' in local_var_params: + query_params.append(('marker', local_var_params['marker'])) + + header_params = {} + + form_params = {} + + body = None + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = [] + + header_params['Content-Type'] = http_utils.select_header_content_type( + ['application/json']) + + auth_settings = [] + + http_info["cname"] = cname + http_info["collection_formats"] = collection_formats + http_info["path_params"] = path_params + http_info["query_params"] = query_params + http_info["header_params"] = header_params + http_info["post_params"] = form_params + http_info["body"] = body + http_info["response_headers"] = response_headers + + return http_info + def list_permissions_async(self, request): """检索共享资源权限列表 @@ -598,6 +667,8 @@ def _list_permissions_http_info(self, request): query_params.append(('marker', local_var_params['marker'])) if 'resource_type' in local_var_params: query_params.append(('resource_type', local_var_params['resource_type'])) + if 'permission_type' in local_var_params: + query_params.append(('permission_type', local_var_params['permission_type'])) header_params = {} @@ -628,7 +699,7 @@ def _list_permissions_http_info(self, request): def show_permission_async(self, request): """检索资源共享权限内容 - 检索指定资源类型的共享资源权限内容。 + 检索指定资源类型的共享资源指定版本的权限内容,如果不指定权限版本,则返回默认版本的权限内容。 Please refer to HUAWEI cloud API Explorer for details. @@ -663,6 +734,8 @@ def _show_permission_http_info(self, request): path_params['permission_id'] = local_var_params['permission_id'] query_params = [] + if 'permission_version' in local_var_params: + query_params.append(('permission_version', local_var_params['permission_version'])) header_params = {} @@ -888,7 +961,7 @@ def _create_resource_share_http_info(self, request): def delete_resource_share_async(self, request): """删除资源共享实例 - 删除指定的资源共享实例。此操作不会删除实体资源,仅停止向其他帐号共享资源。 + 删除指定的资源共享实例。此操作不会删除实体资源,仅停止向其他账号共享资源。 Please refer to HUAWEI cloud API Explorer for details. @@ -1284,7 +1357,7 @@ def _search_resource_share_associations_http_info(self, request): def accept_resource_share_invitation_async(self, request): """接受共享邀请 - 接受来自其他帐号的资源共享邀请。 + 接受来自其他账号的资源共享邀请。 Please refer to HUAWEI cloud API Explorer for details. @@ -1349,7 +1422,7 @@ def _accept_resource_share_invitation_http_info(self, request): def reject_resource_share_invitation_async(self, request): """拒绝共享邀请 - 拒绝来自其他帐号的资源共享邀请。 + 拒绝来自其他账号的资源共享邀请。 Please refer to HUAWEI cloud API Explorer for details. diff --git a/huaweicloud-sdk-ram/huaweicloudsdkram/v1/ram_client.py b/huaweicloud-sdk-ram/huaweicloudsdkram/v1/ram_client.py index 908d2755ff..430158aeaf 100644 --- a/huaweicloud-sdk-ram/huaweicloudsdkram/v1/ram_client.py +++ b/huaweicloud-sdk-ram/huaweicloudsdkram/v1/ram_client.py @@ -240,7 +240,7 @@ def _list_resource_share_permissions_http_info(cls, request): def list_quota(self, request): """查询资源共享的配额 - 查询当前帐号的资源共享配额信息。 + 查询当前账号的资源共享配额信息。 Please refer to HUAWEI cloud API Explorer for details. @@ -556,6 +556,75 @@ def _show_organization_share_http_info(cls, request): return http_info + def list_permission_versions(self, request): + """获取权限的所有版本 + + 获取权限的所有版本。 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for ListPermissionVersions + :type request: :class:`huaweicloudsdkram.v1.ListPermissionVersionsRequest` + :rtype: :class:`huaweicloudsdkram.v1.ListPermissionVersionsResponse` + """ + http_info = self._list_permission_versions_http_info(request) + return self._call_api(**http_info) + + def list_permission_versions_invoker(self, request): + http_info = self._list_permission_versions_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _list_permission_versions_http_info(cls, request): + http_info = { + "method": "GET", + "resource_path": "/v1/permissions/{permission_id}/versions", + "request_type": request.__class__.__name__, + "response_type": "ListPermissionVersionsResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'permission_id' in local_var_params: + path_params['permission_id'] = local_var_params['permission_id'] + + query_params = [] + if 'limit' in local_var_params: + query_params.append(('limit', local_var_params['limit'])) + if 'marker' in local_var_params: + query_params.append(('marker', local_var_params['marker'])) + + header_params = {} + + form_params = {} + + body = None + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = [] + + header_params['Content-Type'] = http_utils.select_header_content_type( + ['application/json']) + + auth_settings = [] + + http_info["cname"] = cname + http_info["collection_formats"] = collection_formats + http_info["path_params"] = path_params + http_info["query_params"] = query_params + http_info["header_params"] = header_params + http_info["post_params"] = form_params + http_info["body"] = body + http_info["response_headers"] = response_headers + + return http_info + def list_permissions(self, request): """检索共享资源权限列表 @@ -598,6 +667,8 @@ def _list_permissions_http_info(cls, request): query_params.append(('marker', local_var_params['marker'])) if 'resource_type' in local_var_params: query_params.append(('resource_type', local_var_params['resource_type'])) + if 'permission_type' in local_var_params: + query_params.append(('permission_type', local_var_params['permission_type'])) header_params = {} @@ -628,7 +699,7 @@ def _list_permissions_http_info(cls, request): def show_permission(self, request): """检索资源共享权限内容 - 检索指定资源类型的共享资源权限内容。 + 检索指定资源类型的共享资源指定版本的权限内容,如果不指定权限版本,则返回默认版本的权限内容。 Please refer to HUAWEI cloud API Explorer for details. @@ -663,6 +734,8 @@ def _show_permission_http_info(cls, request): path_params['permission_id'] = local_var_params['permission_id'] query_params = [] + if 'permission_version' in local_var_params: + query_params.append(('permission_version', local_var_params['permission_version'])) header_params = {} @@ -888,7 +961,7 @@ def _create_resource_share_http_info(cls, request): def delete_resource_share(self, request): """删除资源共享实例 - 删除指定的资源共享实例。此操作不会删除实体资源,仅停止向其他帐号共享资源。 + 删除指定的资源共享实例。此操作不会删除实体资源,仅停止向其他账号共享资源。 Please refer to HUAWEI cloud API Explorer for details. @@ -1284,7 +1357,7 @@ def _search_resource_share_associations_http_info(cls, request): def accept_resource_share_invitation(self, request): """接受共享邀请 - 接受来自其他帐号的资源共享邀请。 + 接受来自其他账号的资源共享邀请。 Please refer to HUAWEI cloud API Explorer for details. @@ -1349,7 +1422,7 @@ def _accept_resource_share_invitation_http_info(cls, request): def reject_resource_share_invitation(self, request): """拒绝共享邀请 - 拒绝来自其他帐号的资源共享邀请。 + 拒绝来自其他账号的资源共享邀请。 Please refer to HUAWEI cloud API Explorer for details. diff --git a/huaweicloud-sdk-ram/requirements.txt b/huaweicloud-sdk-ram/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-ram/requirements.txt +++ b/huaweicloud-sdk-ram/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-ram/setup.py b/huaweicloud-sdk-ram/setup.py index 3444ea50db..45c73ea881 100644 --- a/huaweicloud-sdk-ram/setup.py +++ b/huaweicloud-sdk-ram/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkram" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-rds/huaweicloudsdkrds/v3/model/show_binlog_clear_policy_response.py b/huaweicloud-sdk-rds/huaweicloudsdkrds/v3/model/show_binlog_clear_policy_response.py index d15cb251b2..95aa5cdbb0 100644 --- a/huaweicloud-sdk-rds/huaweicloudsdkrds/v3/model/show_binlog_clear_policy_response.py +++ b/huaweicloud-sdk-rds/huaweicloudsdkrds/v3/model/show_binlog_clear_policy_response.py @@ -18,29 +18,36 @@ class ShowBinlogClearPolicyResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'binlog_retention_hours': 'int' + 'binlog_retention_hours': 'int', + 'binlog_clear_type': 'str' } attribute_map = { - 'binlog_retention_hours': 'binlog_retention_hours' + 'binlog_retention_hours': 'binlog_retention_hours', + 'binlog_clear_type': 'binlog_clear_type' } - def __init__(self, binlog_retention_hours=None): + def __init__(self, binlog_retention_hours=None, binlog_clear_type=None): """ShowBinlogClearPolicyResponse The model defined in huaweicloud sdk :param binlog_retention_hours: binlog保留时长 :type binlog_retention_hours: int + :param binlog_clear_type: 二进制日志保留策略,取值:time、fast - time:表示按时长保留二进制文件 - fast:表示快速清理,不保留二进制文件 + :type binlog_clear_type: str """ super(ShowBinlogClearPolicyResponse, self).__init__() self._binlog_retention_hours = None + self._binlog_clear_type = None self.discriminator = None if binlog_retention_hours is not None: self.binlog_retention_hours = binlog_retention_hours + if binlog_clear_type is not None: + self.binlog_clear_type = binlog_clear_type @property def binlog_retention_hours(self): @@ -64,6 +71,28 @@ def binlog_retention_hours(self, binlog_retention_hours): """ self._binlog_retention_hours = binlog_retention_hours + @property + def binlog_clear_type(self): + """Gets the binlog_clear_type of this ShowBinlogClearPolicyResponse. + + 二进制日志保留策略,取值:time、fast - time:表示按时长保留二进制文件 - fast:表示快速清理,不保留二进制文件 + + :return: The binlog_clear_type of this ShowBinlogClearPolicyResponse. + :rtype: str + """ + return self._binlog_clear_type + + @binlog_clear_type.setter + def binlog_clear_type(self, binlog_clear_type): + """Sets the binlog_clear_type of this ShowBinlogClearPolicyResponse. + + 二进制日志保留策略,取值:time、fast - time:表示按时长保留二进制文件 - fast:表示快速清理,不保留二进制文件 + + :param binlog_clear_type: The binlog_clear_type of this ShowBinlogClearPolicyResponse. + :type binlog_clear_type: str + """ + self._binlog_clear_type = binlog_clear_type + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-rds/requirements.txt b/huaweicloud-sdk-rds/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-rds/requirements.txt +++ b/huaweicloud-sdk-rds/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-rds/setup.py b/huaweicloud-sdk-rds/setup.py index 3684ca4130..6a899307a6 100644 --- a/huaweicloud-sdk-rds/setup.py +++ b/huaweicloud-sdk-rds/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkrds" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-res/requirements.txt b/huaweicloud-sdk-res/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-res/requirements.txt +++ b/huaweicloud-sdk-res/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-res/setup.py b/huaweicloud-sdk-res/setup.py index c74773cb6e..fed34cd858 100644 --- a/huaweicloud-sdk-res/setup.py +++ b/huaweicloud-sdk-res/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkres" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-rgc/requirements.txt b/huaweicloud-sdk-rgc/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-rgc/requirements.txt +++ b/huaweicloud-sdk-rgc/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-rgc/setup.py b/huaweicloud-sdk-rgc/setup.py index e3ecfe1ee2..02184e4508 100644 --- a/huaweicloud-sdk-rgc/setup.py +++ b/huaweicloud-sdk-rgc/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkrgc" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-rms/requirements.txt b/huaweicloud-sdk-rms/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-rms/requirements.txt +++ b/huaweicloud-sdk-rms/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-rms/setup.py b/huaweicloud-sdk-rms/setup.py index 0d5fb36f48..f87cfd416a 100644 --- a/huaweicloud-sdk-rms/setup.py +++ b/huaweicloud-sdk-rms/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkrms" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-rocketmq/huaweicloudsdkrocketmq/v2/region/rocketmq_region.py b/huaweicloud-sdk-rocketmq/huaweicloudsdkrocketmq/v2/region/rocketmq_region.py index 741a2114ef..8f14e36920 100644 --- a/huaweicloud-sdk-rocketmq/huaweicloudsdkrocketmq/v2/region/rocketmq_region.py +++ b/huaweicloud-sdk-rocketmq/huaweicloudsdkrocketmq/v2/region/rocketmq_region.py @@ -54,6 +54,8 @@ class RocketMQRegion: "https://dms.na-mexico-1.myhuaweicloud.com") CN_EAST_5 = Region("cn-east-5", "https://dms.cn-east-5.myhuaweicloud.com") + MY_KUALALUMPUR_1 = Region("my-kualalumpur-1", + "https://dms.my-kualalumpur-1.myhuaweicloud.com") static_fields = { "eu-west-101": EU_WEST_101, @@ -80,6 +82,7 @@ class RocketMQRegion: "me-east-1": ME_EAST_1, "na-mexico-1": NA_MEXICO_1, "cn-east-5": CN_EAST_5, + "my-kualalumpur-1": MY_KUALALUMPUR_1, } @classmethod diff --git a/huaweicloud-sdk-rocketmq/requirements.txt b/huaweicloud-sdk-rocketmq/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-rocketmq/requirements.txt +++ b/huaweicloud-sdk-rocketmq/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-rocketmq/setup.py b/huaweicloud-sdk-rocketmq/setup.py index 50943d169c..683c6b147c 100644 --- a/huaweicloud-sdk-rocketmq/setup.py +++ b/huaweicloud-sdk-rocketmq/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkrocketmq" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-roma/requirements.txt b/huaweicloud-sdk-roma/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-roma/requirements.txt +++ b/huaweicloud-sdk-roma/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-roma/setup.py b/huaweicloud-sdk-roma/setup.py index a1bb272505..e57c4cb898 100644 --- a/huaweicloud-sdk-roma/setup.py +++ b/huaweicloud-sdk-roma/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkroma" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-sa/requirements.txt b/huaweicloud-sdk-sa/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-sa/requirements.txt +++ b/huaweicloud-sdk-sa/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-sa/setup.py b/huaweicloud-sdk-sa/setup.py index 10a0da8e6d..ac6b1c28d8 100644 --- a/huaweicloud-sdk-sa/setup.py +++ b/huaweicloud-sdk-sa/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdksa" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-scm/requirements.txt b/huaweicloud-sdk-scm/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-scm/requirements.txt +++ b/huaweicloud-sdk-scm/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-scm/setup.py b/huaweicloud-sdk-scm/setup.py index fc9754be22..c21150cdf6 100644 --- a/huaweicloud-sdk-scm/setup.py +++ b/huaweicloud-sdk-scm/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkscm" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-sdrs/requirements.txt b/huaweicloud-sdk-sdrs/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-sdrs/requirements.txt +++ b/huaweicloud-sdk-sdrs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-sdrs/setup.py b/huaweicloud-sdk-sdrs/setup.py index 48a9640b24..fb7ced208e 100644 --- a/huaweicloud-sdk-sdrs/setup.py +++ b/huaweicloud-sdk-sdrs/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdksdrs" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-secmaster/requirements.txt b/huaweicloud-sdk-secmaster/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-secmaster/requirements.txt +++ b/huaweicloud-sdk-secmaster/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-secmaster/setup.py b/huaweicloud-sdk-secmaster/setup.py index 1823d57f7e..d428e8046d 100644 --- a/huaweicloud-sdk-secmaster/setup.py +++ b/huaweicloud-sdk-secmaster/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdksecmaster" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-servicestage/requirements.txt b/huaweicloud-sdk-servicestage/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-servicestage/requirements.txt +++ b/huaweicloud-sdk-servicestage/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-servicestage/setup.py b/huaweicloud-sdk-servicestage/setup.py index f4122fe8c2..28e5d8589a 100644 --- a/huaweicloud-sdk-servicestage/setup.py +++ b/huaweicloud-sdk-servicestage/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkservicestage" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-sfsturbo/requirements.txt b/huaweicloud-sdk-sfsturbo/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-sfsturbo/requirements.txt +++ b/huaweicloud-sdk-sfsturbo/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-sfsturbo/setup.py b/huaweicloud-sdk-sfsturbo/setup.py index 6874156b15..e66aba1106 100644 --- a/huaweicloud-sdk-sfsturbo/setup.py +++ b/huaweicloud-sdk-sfsturbo/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdksfsturbo" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-sis/requirements.txt b/huaweicloud-sdk-sis/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-sis/requirements.txt +++ b/huaweicloud-sdk-sis/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-sis/setup.py b/huaweicloud-sdk-sis/setup.py index 2847744f33..c3f55e8d2c 100644 --- a/huaweicloud-sdk-sis/setup.py +++ b/huaweicloud-sdk-sis/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdksis" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-smn/requirements.txt b/huaweicloud-sdk-smn/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-smn/requirements.txt +++ b/huaweicloud-sdk-smn/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-smn/setup.py b/huaweicloud-sdk-smn/setup.py index 266c3fa2b1..7ce91fb36c 100644 --- a/huaweicloud-sdk-smn/setup.py +++ b/huaweicloud-sdk-smn/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdksmn" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-sms/huaweicloudsdksms/v3/region/sms_region.py b/huaweicloud-sdk-sms/huaweicloudsdksms/v3/region/sms_region.py index bab6be946a..5d36604f22 100644 --- a/huaweicloud-sdk-sms/huaweicloudsdksms/v3/region/sms_region.py +++ b/huaweicloud-sdk-sms/huaweicloudsdksms/v3/region/sms_region.py @@ -11,7 +11,7 @@ class SmsRegion: AP_SOUTHEAST_3 = Region("ap-southeast-3", "https://sms.ap-southeast-3.myhuaweicloud.com") MY_KUALALUMPUR_1 = Region("my-kualalumpur-1", - "https://sms.my-kualalumpur-1.alphaedge.tmone.com.my") + "https://sms.my-kualalumpur-1.myhuaweicloud.com") EU_WEST_101 = Region("eu-west-101", "https://sms.eu-west-101.myhuaweicloud.eu") diff --git a/huaweicloud-sdk-sms/requirements.txt b/huaweicloud-sdk-sms/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-sms/requirements.txt +++ b/huaweicloud-sdk-sms/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-sms/setup.py b/huaweicloud-sdk-sms/setup.py index c98c7cb55f..342304d1c8 100644 --- a/huaweicloud-sdk-sms/setup.py +++ b/huaweicloud-sdk-sms/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdksms" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-swr/requirements.txt b/huaweicloud-sdk-swr/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-swr/requirements.txt +++ b/huaweicloud-sdk-swr/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-swr/setup.py b/huaweicloud-sdk-swr/setup.py index 9c51c07b06..dfe293ccf6 100644 --- a/huaweicloud-sdk-swr/setup.py +++ b/huaweicloud-sdk-swr/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkswr" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-tics/requirements.txt b/huaweicloud-sdk-tics/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-tics/requirements.txt +++ b/huaweicloud-sdk-tics/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-tics/setup.py b/huaweicloud-sdk-tics/setup.py index 4f2532d427..fba9ff0fb6 100644 --- a/huaweicloud-sdk-tics/setup.py +++ b/huaweicloud-sdk-tics/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdktics" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-tms/requirements.txt b/huaweicloud-sdk-tms/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-tms/requirements.txt +++ b/huaweicloud-sdk-tms/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-tms/setup.py b/huaweicloud-sdk-tms/setup.py index 3dcc6d0e12..2d85ae6323 100644 --- a/huaweicloud-sdk-tms/setup.py +++ b/huaweicloud-sdk-tms/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdktms" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ugo/requirements.txt b/huaweicloud-sdk-ugo/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-ugo/requirements.txt +++ b/huaweicloud-sdk-ugo/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-ugo/setup.py b/huaweicloud-sdk-ugo/setup.py index 4d1fae3601..215be23fef 100644 --- a/huaweicloud-sdk-ugo/setup.py +++ b/huaweicloud-sdk-ugo/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkugo" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-vas/requirements.txt b/huaweicloud-sdk-vas/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-vas/requirements.txt +++ b/huaweicloud-sdk-vas/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-vas/setup.py b/huaweicloud-sdk-vas/setup.py index 83a8744df9..4784b1b2c2 100644 --- a/huaweicloud-sdk-vas/setup.py +++ b/huaweicloud-sdk-vas/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkvas" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-vcm/requirements.txt b/huaweicloud-sdk-vcm/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-vcm/requirements.txt +++ b/huaweicloud-sdk-vcm/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-vcm/setup.py b/huaweicloud-sdk-vcm/setup.py index 86d8e68954..e14edab8e4 100644 --- a/huaweicloud-sdk-vcm/setup.py +++ b/huaweicloud-sdk-vcm/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkvcm" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-vod/requirements.txt b/huaweicloud-sdk-vod/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-vod/requirements.txt +++ b/huaweicloud-sdk-vod/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-vod/setup.py b/huaweicloud-sdk-vod/setup.py index 10714b97fe..d1eb38b463 100644 --- a/huaweicloud-sdk-vod/setup.py +++ b/huaweicloud-sdk-vod/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkvod" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-vpc/requirements.txt b/huaweicloud-sdk-vpc/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-vpc/requirements.txt +++ b/huaweicloud-sdk-vpc/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-vpc/setup.py b/huaweicloud-sdk-vpc/setup.py index fefa96fe34..ab440cd95e 100644 --- a/huaweicloud-sdk-vpc/setup.py +++ b/huaweicloud-sdk-vpc/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkvpc" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/__init__.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/__init__.py index 05b0e47241..8b16f25141 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/__init__.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/__init__.py @@ -12,14 +12,14 @@ from huaweicloudsdkvpcep.v1.model.add_or_remove_service_permissions_request_body import AddOrRemoveServicePermissionsRequestBody from huaweicloudsdkvpcep.v1.model.add_or_remove_service_permissions_response import AddOrRemoveServicePermissionsResponse from huaweicloudsdkvpcep.v1.model.batch_add_endpoint_service_permissions_request import BatchAddEndpointServicePermissionsRequest +from huaweicloudsdkvpcep.v1.model.batch_add_endpoint_service_permissions_request_body import BatchAddEndpointServicePermissionsRequestBody from huaweicloudsdkvpcep.v1.model.batch_add_endpoint_service_permissions_response import BatchAddEndpointServicePermissionsResponse -from huaweicloudsdkvpcep.v1.model.batch_add_or_remove_resource_instance_body import BatchAddOrRemoveResourceInstanceBody from huaweicloudsdkvpcep.v1.model.batch_add_or_remove_resource_instance_request import BatchAddOrRemoveResourceInstanceRequest +from huaweicloudsdkvpcep.v1.model.batch_add_or_remove_resource_instance_request_body import BatchAddOrRemoveResourceInstanceRequestBody from huaweicloudsdkvpcep.v1.model.batch_add_or_remove_resource_instance_response import BatchAddOrRemoveResourceInstanceResponse -from huaweicloudsdkvpcep.v1.model.batch_add_permission_request import BatchAddPermissionRequest from huaweicloudsdkvpcep.v1.model.batch_remove_endpoint_service_permissions_request import BatchRemoveEndpointServicePermissionsRequest +from huaweicloudsdkvpcep.v1.model.batch_remove_endpoint_service_permissions_request_body import BatchRemoveEndpointServicePermissionsRequestBody from huaweicloudsdkvpcep.v1.model.batch_remove_endpoint_service_permissions_response import BatchRemoveEndpointServicePermissionsResponse -from huaweicloudsdkvpcep.v1.model.batch_remove_permission_request import BatchRemovePermissionRequest from huaweicloudsdkvpcep.v1.model.connection_endpoints import ConnectionEndpoints from huaweicloudsdkvpcep.v1.model.connections_desc import ConnectionsDesc from huaweicloudsdkvpcep.v1.model.create_endpoint_request import CreateEndpointRequest @@ -34,7 +34,7 @@ from huaweicloudsdkvpcep.v1.model.delete_endpoint_response import DeleteEndpointResponse from huaweicloudsdkvpcep.v1.model.delete_endpoint_service_request import DeleteEndpointServiceRequest from huaweicloudsdkvpcep.v1.model.delete_endpoint_service_response import DeleteEndpointServiceResponse -from huaweicloudsdkvpcep.v1.model.endpoint_resp import EndpointResp +from huaweicloudsdkvpcep.v1.model.endpoint_response_body import EndpointResponseBody from huaweicloudsdkvpcep.v1.model.endpoint_service import EndpointService from huaweicloudsdkvpcep.v1.model.eps_add_permission_request import EpsAddPermissionRequest from huaweicloudsdkvpcep.v1.model.eps_permission import EpsPermission @@ -77,13 +77,14 @@ from huaweicloudsdkvpcep.v1.model.quotas import Quotas from huaweicloudsdkvpcep.v1.model.resource_instance import ResourceInstance from huaweicloudsdkvpcep.v1.model.resource_tag import ResourceTag -from huaweicloudsdkvpcep.v1.model.resources_resp import ResourcesResp +from huaweicloudsdkvpcep.v1.model.resources_response_body import ResourcesResponseBody from huaweicloudsdkvpcep.v1.model.routetable_info_error import RoutetableInfoError from huaweicloudsdkvpcep.v1.model.routetable_info_error_detial import RoutetableInfoErrorDetial from huaweicloudsdkvpcep.v1.model.service_list import ServiceList from huaweicloudsdkvpcep.v1.model.tag_list import TagList from huaweicloudsdkvpcep.v1.model.tag_values_list import TagValuesList from huaweicloudsdkvpcep.v1.model.update_endpoint_connections_desc_request import UpdateEndpointConnectionsDescRequest +from huaweicloudsdkvpcep.v1.model.update_endpoint_connections_desc_request_body import UpdateEndpointConnectionsDescRequestBody from huaweicloudsdkvpcep.v1.model.update_endpoint_connections_desc_response import UpdateEndpointConnectionsDescResponse from huaweicloudsdkvpcep.v1.model.update_endpoint_policy_request import UpdateEndpointPolicyRequest from huaweicloudsdkvpcep.v1.model.update_endpoint_policy_request_body import UpdateEndpointPolicyRequestBody @@ -91,10 +92,11 @@ from huaweicloudsdkvpcep.v1.model.update_endpoint_routetable_request import UpdateEndpointRoutetableRequest from huaweicloudsdkvpcep.v1.model.update_endpoint_routetable_request_body import UpdateEndpointRoutetableRequestBody from huaweicloudsdkvpcep.v1.model.update_endpoint_routetable_response import UpdateEndpointRoutetableResponse -from huaweicloudsdkvpcep.v1.model.update_endpoint_service_name_mode import UpdateEndpointServiceNameMode from huaweicloudsdkvpcep.v1.model.update_endpoint_service_name_request import UpdateEndpointServiceNameRequest +from huaweicloudsdkvpcep.v1.model.update_endpoint_service_name_request_body import UpdateEndpointServiceNameRequestBody from huaweicloudsdkvpcep.v1.model.update_endpoint_service_name_response import UpdateEndpointServiceNameResponse from huaweicloudsdkvpcep.v1.model.update_endpoint_service_permission_desc_request import UpdateEndpointServicePermissionDescRequest +from huaweicloudsdkvpcep.v1.model.update_endpoint_service_permission_desc_request_body import UpdateEndpointServicePermissionDescRequestBody from huaweicloudsdkvpcep.v1.model.update_endpoint_service_permission_desc_response import UpdateEndpointServicePermissionDescResponse from huaweicloudsdkvpcep.v1.model.update_endpoint_service_request import UpdateEndpointServiceRequest from huaweicloudsdkvpcep.v1.model.update_endpoint_service_request_body import UpdateEndpointServiceRequestBody @@ -102,7 +104,5 @@ from huaweicloudsdkvpcep.v1.model.update_endpoint_white_request import UpdateEndpointWhiteRequest from huaweicloudsdkvpcep.v1.model.update_endpoint_white_request_body import UpdateEndpointWhiteRequestBody from huaweicloudsdkvpcep.v1.model.update_endpoint_white_response import UpdateEndpointWhiteResponse -from huaweicloudsdkvpcep.v1.model.update_ep_connections import UpdateEpConnections -from huaweicloudsdkvpcep.v1.model.update_permission_desc_request import UpdatePermissionDescRequest from huaweicloudsdkvpcep.v1.model.version_object import VersionObject diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/__init__.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/__init__.py index 194e0f0dcc..7649342b45 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/__init__.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/__init__.py @@ -10,14 +10,14 @@ from huaweicloudsdkvpcep.v1.model.add_or_remove_service_permissions_request_body import AddOrRemoveServicePermissionsRequestBody from huaweicloudsdkvpcep.v1.model.add_or_remove_service_permissions_response import AddOrRemoveServicePermissionsResponse from huaweicloudsdkvpcep.v1.model.batch_add_endpoint_service_permissions_request import BatchAddEndpointServicePermissionsRequest +from huaweicloudsdkvpcep.v1.model.batch_add_endpoint_service_permissions_request_body import BatchAddEndpointServicePermissionsRequestBody from huaweicloudsdkvpcep.v1.model.batch_add_endpoint_service_permissions_response import BatchAddEndpointServicePermissionsResponse -from huaweicloudsdkvpcep.v1.model.batch_add_or_remove_resource_instance_body import BatchAddOrRemoveResourceInstanceBody from huaweicloudsdkvpcep.v1.model.batch_add_or_remove_resource_instance_request import BatchAddOrRemoveResourceInstanceRequest +from huaweicloudsdkvpcep.v1.model.batch_add_or_remove_resource_instance_request_body import BatchAddOrRemoveResourceInstanceRequestBody from huaweicloudsdkvpcep.v1.model.batch_add_or_remove_resource_instance_response import BatchAddOrRemoveResourceInstanceResponse -from huaweicloudsdkvpcep.v1.model.batch_add_permission_request import BatchAddPermissionRequest from huaweicloudsdkvpcep.v1.model.batch_remove_endpoint_service_permissions_request import BatchRemoveEndpointServicePermissionsRequest +from huaweicloudsdkvpcep.v1.model.batch_remove_endpoint_service_permissions_request_body import BatchRemoveEndpointServicePermissionsRequestBody from huaweicloudsdkvpcep.v1.model.batch_remove_endpoint_service_permissions_response import BatchRemoveEndpointServicePermissionsResponse -from huaweicloudsdkvpcep.v1.model.batch_remove_permission_request import BatchRemovePermissionRequest from huaweicloudsdkvpcep.v1.model.connection_endpoints import ConnectionEndpoints from huaweicloudsdkvpcep.v1.model.connections_desc import ConnectionsDesc from huaweicloudsdkvpcep.v1.model.create_endpoint_request import CreateEndpointRequest @@ -32,7 +32,7 @@ from huaweicloudsdkvpcep.v1.model.delete_endpoint_response import DeleteEndpointResponse from huaweicloudsdkvpcep.v1.model.delete_endpoint_service_request import DeleteEndpointServiceRequest from huaweicloudsdkvpcep.v1.model.delete_endpoint_service_response import DeleteEndpointServiceResponse -from huaweicloudsdkvpcep.v1.model.endpoint_resp import EndpointResp +from huaweicloudsdkvpcep.v1.model.endpoint_response_body import EndpointResponseBody from huaweicloudsdkvpcep.v1.model.endpoint_service import EndpointService from huaweicloudsdkvpcep.v1.model.eps_add_permission_request import EpsAddPermissionRequest from huaweicloudsdkvpcep.v1.model.eps_permission import EpsPermission @@ -75,13 +75,14 @@ from huaweicloudsdkvpcep.v1.model.quotas import Quotas from huaweicloudsdkvpcep.v1.model.resource_instance import ResourceInstance from huaweicloudsdkvpcep.v1.model.resource_tag import ResourceTag -from huaweicloudsdkvpcep.v1.model.resources_resp import ResourcesResp +from huaweicloudsdkvpcep.v1.model.resources_response_body import ResourcesResponseBody from huaweicloudsdkvpcep.v1.model.routetable_info_error import RoutetableInfoError from huaweicloudsdkvpcep.v1.model.routetable_info_error_detial import RoutetableInfoErrorDetial from huaweicloudsdkvpcep.v1.model.service_list import ServiceList from huaweicloudsdkvpcep.v1.model.tag_list import TagList from huaweicloudsdkvpcep.v1.model.tag_values_list import TagValuesList from huaweicloudsdkvpcep.v1.model.update_endpoint_connections_desc_request import UpdateEndpointConnectionsDescRequest +from huaweicloudsdkvpcep.v1.model.update_endpoint_connections_desc_request_body import UpdateEndpointConnectionsDescRequestBody from huaweicloudsdkvpcep.v1.model.update_endpoint_connections_desc_response import UpdateEndpointConnectionsDescResponse from huaweicloudsdkvpcep.v1.model.update_endpoint_policy_request import UpdateEndpointPolicyRequest from huaweicloudsdkvpcep.v1.model.update_endpoint_policy_request_body import UpdateEndpointPolicyRequestBody @@ -89,10 +90,11 @@ from huaweicloudsdkvpcep.v1.model.update_endpoint_routetable_request import UpdateEndpointRoutetableRequest from huaweicloudsdkvpcep.v1.model.update_endpoint_routetable_request_body import UpdateEndpointRoutetableRequestBody from huaweicloudsdkvpcep.v1.model.update_endpoint_routetable_response import UpdateEndpointRoutetableResponse -from huaweicloudsdkvpcep.v1.model.update_endpoint_service_name_mode import UpdateEndpointServiceNameMode from huaweicloudsdkvpcep.v1.model.update_endpoint_service_name_request import UpdateEndpointServiceNameRequest +from huaweicloudsdkvpcep.v1.model.update_endpoint_service_name_request_body import UpdateEndpointServiceNameRequestBody from huaweicloudsdkvpcep.v1.model.update_endpoint_service_name_response import UpdateEndpointServiceNameResponse from huaweicloudsdkvpcep.v1.model.update_endpoint_service_permission_desc_request import UpdateEndpointServicePermissionDescRequest +from huaweicloudsdkvpcep.v1.model.update_endpoint_service_permission_desc_request_body import UpdateEndpointServicePermissionDescRequestBody from huaweicloudsdkvpcep.v1.model.update_endpoint_service_permission_desc_response import UpdateEndpointServicePermissionDescResponse from huaweicloudsdkvpcep.v1.model.update_endpoint_service_request import UpdateEndpointServiceRequest from huaweicloudsdkvpcep.v1.model.update_endpoint_service_request_body import UpdateEndpointServiceRequestBody @@ -100,6 +102,4 @@ from huaweicloudsdkvpcep.v1.model.update_endpoint_white_request import UpdateEndpointWhiteRequest from huaweicloudsdkvpcep.v1.model.update_endpoint_white_request_body import UpdateEndpointWhiteRequestBody from huaweicloudsdkvpcep.v1.model.update_endpoint_white_response import UpdateEndpointWhiteResponse -from huaweicloudsdkvpcep.v1.model.update_ep_connections import UpdateEpConnections -from huaweicloudsdkvpcep.v1.model.update_permission_desc_request import UpdatePermissionDescRequest from huaweicloudsdkvpcep.v1.model.version_object import VersionObject diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/accept_or_reject_endpoint_request_body.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/accept_or_reject_endpoint_request_body.py index 4d59901e4d..c2d8b97916 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/accept_or_reject_endpoint_request_body.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/accept_or_reject_endpoint_request_body.py @@ -31,7 +31,7 @@ def __init__(self, action=None, endpoints=None): The model defined in huaweicloud sdk - :param action: 允许或拒绝连接。 ● receive:允许连接。 ● reject:拒绝连接。 + :param action: 允许或拒绝连接。 - receive:允许连接。 - reject:拒绝连接。 :type action: str :param endpoints: 终端节点ID列表。 每次请求目前支持单条endpoint的接受或拒绝。 :type endpoints: list[str] @@ -50,7 +50,7 @@ def __init__(self, action=None, endpoints=None): def action(self): """Gets the action of this AcceptOrRejectEndpointRequestBody. - 允许或拒绝连接。 ● receive:允许连接。 ● reject:拒绝连接。 + 允许或拒绝连接。 - receive:允许连接。 - reject:拒绝连接。 :return: The action of this AcceptOrRejectEndpointRequestBody. :rtype: str @@ -61,7 +61,7 @@ def action(self): def action(self, action): """Sets the action of this AcceptOrRejectEndpointRequestBody. - 允许或拒绝连接。 ● receive:允许连接。 ● reject:拒绝连接。 + 允许或拒绝连接。 - receive:允许连接。 - reject:拒绝连接。 :param action: The action of this AcceptOrRejectEndpointRequestBody. :type action: str diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/add_or_remove_service_permissions_request_body.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/add_or_remove_service_permissions_request_body.py index 3e56c4f698..64e364c214 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/add_or_remove_service_permissions_request_body.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/add_or_remove_service_permissions_request_body.py @@ -33,9 +33,9 @@ def __init__(self, permissions=None, permission_type=None, action=None): The model defined in huaweicloud sdk - :param permissions: permission列表。 权限格式为:iam:domain::domain_id或者organizations:orgPath::org_path其中, ● “iam:domain::”和“organizations:orgPath::”为固定格式。 ● “domain_id”为可连接用户的帐号ID,org_path可连接用户的组织路径 domain_id类型支持输入包括“a~z”、“A~Z”、“0~9”或者“*,最大长度可以传64; org_path类型支持“a~z”、“A~Z”、“0~9”、“/-*?”或者“*”,最大长度可以传1024; “*”表示所有终端节点可连接。 例如:iam:domain::6e9dfd51d1124e8d8498dce894923a0dd或者organizations:orgPath::o-3j59d1231uprgk9yuvlidra7zbzfi578/r-rldbu1vmxdw5ahdkknxnvd5rgag77m2z/ou-7tuddd8nh99rebxltawsm6qct5z7rklv/* + :param permissions: permission列表。 权限格式为: - iam:domain::domain_id。其中: “iam:domain::”为固定格式,“domain_id”为可连接用户的帐号ID。 domain_id类型支持输入包括“a~z”、“A~Z”、“0~9”或者“*”,最大长度可以传64。 - organizations:orgPath::org_path。其中: “organizations:orgPath::”为固定格式,org_path为可连接用户的组织路径。 org_path类型支持“a~z”、“A~Z”、“0~9”、“/-*?”或者“*”,最大长度可以传1024。 “*”表示所有终端节点可连接。 示例: - iam:domain::6e9dfd51d1124e8d8498dce894923a0dd - organizations:orgPath::o-3j59d1231uprgk9yuvlidra7zbzfi578/r-rldbu1vmxdw5ahdkknxnvd5rgag77m2z/ou-7tuddd8nh99rebxltawsm6qct5z7rklv/* - * :type permissions: list[str] - :param permission_type: 终端节点服务白名单类型。 ● domainId:基于账户ID配置终端节点服务白名单。 ● orgPath:基于账户所在组织路径配置终端节点服务白名单。 + :param permission_type: 终端节点服务白名单类型。 - domainId:基于账户ID配置终端节点服务白名单。 - orgPath:基于账户所在组织路径配置终端节点服务白名单。 :type permission_type: str :param action: 要执行的操作。 add/remove。 :type action: str @@ -57,7 +57,7 @@ def __init__(self, permissions=None, permission_type=None, action=None): def permissions(self): """Gets the permissions of this AddOrRemoveServicePermissionsRequestBody. - permission列表。 权限格式为:iam:domain::domain_id或者organizations:orgPath::org_path其中, ● “iam:domain::”和“organizations:orgPath::”为固定格式。 ● “domain_id”为可连接用户的帐号ID,org_path可连接用户的组织路径 domain_id类型支持输入包括“a~z”、“A~Z”、“0~9”或者“*,最大长度可以传64; org_path类型支持“a~z”、“A~Z”、“0~9”、“/-*?”或者“*”,最大长度可以传1024; “*”表示所有终端节点可连接。 例如:iam:domain::6e9dfd51d1124e8d8498dce894923a0dd或者organizations:orgPath::o-3j59d1231uprgk9yuvlidra7zbzfi578/r-rldbu1vmxdw5ahdkknxnvd5rgag77m2z/ou-7tuddd8nh99rebxltawsm6qct5z7rklv/* + permission列表。 权限格式为: - iam:domain::domain_id。其中: “iam:domain::”为固定格式,“domain_id”为可连接用户的帐号ID。 domain_id类型支持输入包括“a~z”、“A~Z”、“0~9”或者“*”,最大长度可以传64。 - organizations:orgPath::org_path。其中: “organizations:orgPath::”为固定格式,org_path为可连接用户的组织路径。 org_path类型支持“a~z”、“A~Z”、“0~9”、“/-*?”或者“*”,最大长度可以传1024。 “*”表示所有终端节点可连接。 示例: - iam:domain::6e9dfd51d1124e8d8498dce894923a0dd - organizations:orgPath::o-3j59d1231uprgk9yuvlidra7zbzfi578/r-rldbu1vmxdw5ahdkknxnvd5rgag77m2z/ou-7tuddd8nh99rebxltawsm6qct5z7rklv/* - * :return: The permissions of this AddOrRemoveServicePermissionsRequestBody. :rtype: list[str] @@ -68,7 +68,7 @@ def permissions(self): def permissions(self, permissions): """Sets the permissions of this AddOrRemoveServicePermissionsRequestBody. - permission列表。 权限格式为:iam:domain::domain_id或者organizations:orgPath::org_path其中, ● “iam:domain::”和“organizations:orgPath::”为固定格式。 ● “domain_id”为可连接用户的帐号ID,org_path可连接用户的组织路径 domain_id类型支持输入包括“a~z”、“A~Z”、“0~9”或者“*,最大长度可以传64; org_path类型支持“a~z”、“A~Z”、“0~9”、“/-*?”或者“*”,最大长度可以传1024; “*”表示所有终端节点可连接。 例如:iam:domain::6e9dfd51d1124e8d8498dce894923a0dd或者organizations:orgPath::o-3j59d1231uprgk9yuvlidra7zbzfi578/r-rldbu1vmxdw5ahdkknxnvd5rgag77m2z/ou-7tuddd8nh99rebxltawsm6qct5z7rklv/* + permission列表。 权限格式为: - iam:domain::domain_id。其中: “iam:domain::”为固定格式,“domain_id”为可连接用户的帐号ID。 domain_id类型支持输入包括“a~z”、“A~Z”、“0~9”或者“*”,最大长度可以传64。 - organizations:orgPath::org_path。其中: “organizations:orgPath::”为固定格式,org_path为可连接用户的组织路径。 org_path类型支持“a~z”、“A~Z”、“0~9”、“/-*?”或者“*”,最大长度可以传1024。 “*”表示所有终端节点可连接。 示例: - iam:domain::6e9dfd51d1124e8d8498dce894923a0dd - organizations:orgPath::o-3j59d1231uprgk9yuvlidra7zbzfi578/r-rldbu1vmxdw5ahdkknxnvd5rgag77m2z/ou-7tuddd8nh99rebxltawsm6qct5z7rklv/* - * :param permissions: The permissions of this AddOrRemoveServicePermissionsRequestBody. :type permissions: list[str] @@ -79,7 +79,7 @@ def permissions(self, permissions): def permission_type(self): """Gets the permission_type of this AddOrRemoveServicePermissionsRequestBody. - 终端节点服务白名单类型。 ● domainId:基于账户ID配置终端节点服务白名单。 ● orgPath:基于账户所在组织路径配置终端节点服务白名单。 + 终端节点服务白名单类型。 - domainId:基于账户ID配置终端节点服务白名单。 - orgPath:基于账户所在组织路径配置终端节点服务白名单。 :return: The permission_type of this AddOrRemoveServicePermissionsRequestBody. :rtype: str @@ -90,7 +90,7 @@ def permission_type(self): def permission_type(self, permission_type): """Sets the permission_type of this AddOrRemoveServicePermissionsRequestBody. - 终端节点服务白名单类型。 ● domainId:基于账户ID配置终端节点服务白名单。 ● orgPath:基于账户所在组织路径配置终端节点服务白名单。 + 终端节点服务白名单类型。 - domainId:基于账户ID配置终端节点服务白名单。 - orgPath:基于账户所在组织路径配置终端节点服务白名单。 :param permission_type: The permission_type of this AddOrRemoveServicePermissionsRequestBody. :type permission_type: str diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/add_or_remove_service_permissions_response.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/add_or_remove_service_permissions_response.py index 3f3cf5af00..cff1276831 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/add_or_remove_service_permissions_response.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/add_or_remove_service_permissions_response.py @@ -32,9 +32,9 @@ def __init__(self, permissions=None, permission_type=None): The model defined in huaweicloud sdk - :param permissions: permission列表。 权限格式为:iam:domain::domain_id或者organizations:orgPath::org_path其中, ● “iam:domain::”和“organizations:orgPath::”为固定格式。 ● “domain_id”为可连接用户的帐号ID,org_path可连接用户的组织路径 domain_id类型支持输入包括“a~z”、“A~Z”、“0~9”或者“*”,org_path类型支持“a~z”、“A~Z”、“0~9”、“/-*?”或者“*”。 “*”表示所有终端节点可连接。 例如:iam:domain::6e9dfd51d1124e8d8498dce894923a0dd或者organizations:orgPath::o-3j59d1231uprgk9yuvlidra7zbzfi578/r-rldbu1vmxdw5ahdkknxnvd5rgag77m2z/ou-7tuddd8nh99rebxltawsm6qct5z7rklv/* + :param permissions: permission列表。 权限格式为: - iam:domain::domain_id。其中: “iam:domain::”为固定格式,“domain_id”为可连接用户的帐号ID。 domain_id类型支持输入包括“a~z”、“A~Z”、“0~9”或者“*”,最大长度可以传64。 - organizations:orgPath::org_path。其中: “organizations:orgPath::”为固定格式,org_path为可连接用户的组织路径。 org_path类型支持“a~z”、“A~Z”、“0~9”、“/-*?”或者“*”,最大长度可以传1024。 “*”表示所有终端节点可连接。 示例: - iam:domain::6e9dfd51d1124e8d8498dce894923a0dd - organizations:orgPath::o-3j59d1231uprgk9yuvlidra7zbzfi578/r-rldbu1vmxdw5ahdkknxnvd5rgag77m2z/ou-7tuddd8nh99rebxltawsm6qct5z7rklv/* - * :type permissions: list[str] - :param permission_type: 终端节点服务白名单类型。 ● domainId:基于账户ID配置终端节点服务白名单。 ● orgPath:基于账户所在组织路径配置终端节点服务白名单。 + :param permission_type: 终端节点服务白名单类型。 - domainId:基于账户ID配置终端节点服务白名单。 - orgPath:基于账户所在组织路径配置终端节点服务白名单。 :type permission_type: str """ @@ -53,7 +53,7 @@ def __init__(self, permissions=None, permission_type=None): def permissions(self): """Gets the permissions of this AddOrRemoveServicePermissionsResponse. - permission列表。 权限格式为:iam:domain::domain_id或者organizations:orgPath::org_path其中, ● “iam:domain::”和“organizations:orgPath::”为固定格式。 ● “domain_id”为可连接用户的帐号ID,org_path可连接用户的组织路径 domain_id类型支持输入包括“a~z”、“A~Z”、“0~9”或者“*”,org_path类型支持“a~z”、“A~Z”、“0~9”、“/-*?”或者“*”。 “*”表示所有终端节点可连接。 例如:iam:domain::6e9dfd51d1124e8d8498dce894923a0dd或者organizations:orgPath::o-3j59d1231uprgk9yuvlidra7zbzfi578/r-rldbu1vmxdw5ahdkknxnvd5rgag77m2z/ou-7tuddd8nh99rebxltawsm6qct5z7rklv/* + permission列表。 权限格式为: - iam:domain::domain_id。其中: “iam:domain::”为固定格式,“domain_id”为可连接用户的帐号ID。 domain_id类型支持输入包括“a~z”、“A~Z”、“0~9”或者“*”,最大长度可以传64。 - organizations:orgPath::org_path。其中: “organizations:orgPath::”为固定格式,org_path为可连接用户的组织路径。 org_path类型支持“a~z”、“A~Z”、“0~9”、“/-*?”或者“*”,最大长度可以传1024。 “*”表示所有终端节点可连接。 示例: - iam:domain::6e9dfd51d1124e8d8498dce894923a0dd - organizations:orgPath::o-3j59d1231uprgk9yuvlidra7zbzfi578/r-rldbu1vmxdw5ahdkknxnvd5rgag77m2z/ou-7tuddd8nh99rebxltawsm6qct5z7rklv/* - * :return: The permissions of this AddOrRemoveServicePermissionsResponse. :rtype: list[str] @@ -64,7 +64,7 @@ def permissions(self): def permissions(self, permissions): """Sets the permissions of this AddOrRemoveServicePermissionsResponse. - permission列表。 权限格式为:iam:domain::domain_id或者organizations:orgPath::org_path其中, ● “iam:domain::”和“organizations:orgPath::”为固定格式。 ● “domain_id”为可连接用户的帐号ID,org_path可连接用户的组织路径 domain_id类型支持输入包括“a~z”、“A~Z”、“0~9”或者“*”,org_path类型支持“a~z”、“A~Z”、“0~9”、“/-*?”或者“*”。 “*”表示所有终端节点可连接。 例如:iam:domain::6e9dfd51d1124e8d8498dce894923a0dd或者organizations:orgPath::o-3j59d1231uprgk9yuvlidra7zbzfi578/r-rldbu1vmxdw5ahdkknxnvd5rgag77m2z/ou-7tuddd8nh99rebxltawsm6qct5z7rklv/* + permission列表。 权限格式为: - iam:domain::domain_id。其中: “iam:domain::”为固定格式,“domain_id”为可连接用户的帐号ID。 domain_id类型支持输入包括“a~z”、“A~Z”、“0~9”或者“*”,最大长度可以传64。 - organizations:orgPath::org_path。其中: “organizations:orgPath::”为固定格式,org_path为可连接用户的组织路径。 org_path类型支持“a~z”、“A~Z”、“0~9”、“/-*?”或者“*”,最大长度可以传1024。 “*”表示所有终端节点可连接。 示例: - iam:domain::6e9dfd51d1124e8d8498dce894923a0dd - organizations:orgPath::o-3j59d1231uprgk9yuvlidra7zbzfi578/r-rldbu1vmxdw5ahdkknxnvd5rgag77m2z/ou-7tuddd8nh99rebxltawsm6qct5z7rklv/* - * :param permissions: The permissions of this AddOrRemoveServicePermissionsResponse. :type permissions: list[str] @@ -75,7 +75,7 @@ def permissions(self, permissions): def permission_type(self): """Gets the permission_type of this AddOrRemoveServicePermissionsResponse. - 终端节点服务白名单类型。 ● domainId:基于账户ID配置终端节点服务白名单。 ● orgPath:基于账户所在组织路径配置终端节点服务白名单。 + 终端节点服务白名单类型。 - domainId:基于账户ID配置终端节点服务白名单。 - orgPath:基于账户所在组织路径配置终端节点服务白名单。 :return: The permission_type of this AddOrRemoveServicePermissionsResponse. :rtype: str @@ -86,7 +86,7 @@ def permission_type(self): def permission_type(self, permission_type): """Sets the permission_type of this AddOrRemoveServicePermissionsResponse. - 终端节点服务白名单类型。 ● domainId:基于账户ID配置终端节点服务白名单。 ● orgPath:基于账户所在组织路径配置终端节点服务白名单。 + 终端节点服务白名单类型。 - domainId:基于账户ID配置终端节点服务白名单。 - orgPath:基于账户所在组织路径配置终端节点服务白名单。 :param permission_type: The permission_type of this AddOrRemoveServicePermissionsResponse. :type permission_type: str diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/batch_add_endpoint_service_permissions_request.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/batch_add_endpoint_service_permissions_request.py index ee3ba766fd..b5074e1cde 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/batch_add_endpoint_service_permissions_request.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/batch_add_endpoint_service_permissions_request.py @@ -18,7 +18,7 @@ class BatchAddEndpointServicePermissionsRequest: openapi_types = { 'vpc_endpoint_service_id': 'str', - 'body': 'BatchAddPermissionRequest' + 'body': 'BatchAddEndpointServicePermissionsRequestBody' } attribute_map = { @@ -34,7 +34,7 @@ def __init__(self, vpc_endpoint_service_id=None, body=None): :param vpc_endpoint_service_id: 终端节点服务的ID。 :type vpc_endpoint_service_id: str :param body: Body of the BatchAddEndpointServicePermissionsRequest - :type body: :class:`huaweicloudsdkvpcep.v1.BatchAddPermissionRequest` + :type body: :class:`huaweicloudsdkvpcep.v1.BatchAddEndpointServicePermissionsRequestBody` """ @@ -74,7 +74,7 @@ def body(self): """Gets the body of this BatchAddEndpointServicePermissionsRequest. :return: The body of this BatchAddEndpointServicePermissionsRequest. - :rtype: :class:`huaweicloudsdkvpcep.v1.BatchAddPermissionRequest` + :rtype: :class:`huaweicloudsdkvpcep.v1.BatchAddEndpointServicePermissionsRequestBody` """ return self._body @@ -83,7 +83,7 @@ def body(self, body): """Sets the body of this BatchAddEndpointServicePermissionsRequest. :param body: The body of this BatchAddEndpointServicePermissionsRequest. - :type body: :class:`huaweicloudsdkvpcep.v1.BatchAddPermissionRequest` + :type body: :class:`huaweicloudsdkvpcep.v1.BatchAddEndpointServicePermissionsRequestBody` """ self._body = body diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/batch_add_permission_request.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/batch_add_endpoint_service_permissions_request_body.py similarity index 72% rename from huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/batch_add_permission_request.py rename to huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/batch_add_endpoint_service_permissions_request_body.py index cb8abf2871..609db4a314 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/batch_add_permission_request.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/batch_add_endpoint_service_permissions_request_body.py @@ -5,7 +5,7 @@ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class BatchAddPermissionRequest: +class BatchAddEndpointServicePermissionsRequestBody: """ Attributes: @@ -27,13 +27,13 @@ class BatchAddPermissionRequest: } def __init__(self, permissions=None, permission_type=None): - """BatchAddPermissionRequest + """BatchAddEndpointServicePermissionsRequestBody The model defined in huaweicloud sdk :param permissions: 终端节点服务白名单列表 :type permissions: list[:class:`huaweicloudsdkvpcep.v1.EpsAddPermissionRequest`] - :param permission_type: 终端节点服务白名单类型。 ● domainId:基于账户ID配置终端节点服务白名单。 ● orgPath:基于账户所在组织路径配置终端节点服务白名单。 + :param permission_type: 终端节点服务白名单类型。 - domainId:基于账户ID配置终端节点服务白名单。 - orgPath:基于账户所在组织路径配置终端节点服务白名单。 :type permission_type: str """ @@ -49,44 +49,44 @@ def __init__(self, permissions=None, permission_type=None): @property def permissions(self): - """Gets the permissions of this BatchAddPermissionRequest. + """Gets the permissions of this BatchAddEndpointServicePermissionsRequestBody. 终端节点服务白名单列表 - :return: The permissions of this BatchAddPermissionRequest. + :return: The permissions of this BatchAddEndpointServicePermissionsRequestBody. :rtype: list[:class:`huaweicloudsdkvpcep.v1.EpsAddPermissionRequest`] """ return self._permissions @permissions.setter def permissions(self, permissions): - """Sets the permissions of this BatchAddPermissionRequest. + """Sets the permissions of this BatchAddEndpointServicePermissionsRequestBody. 终端节点服务白名单列表 - :param permissions: The permissions of this BatchAddPermissionRequest. + :param permissions: The permissions of this BatchAddEndpointServicePermissionsRequestBody. :type permissions: list[:class:`huaweicloudsdkvpcep.v1.EpsAddPermissionRequest`] """ self._permissions = permissions @property def permission_type(self): - """Gets the permission_type of this BatchAddPermissionRequest. + """Gets the permission_type of this BatchAddEndpointServicePermissionsRequestBody. - 终端节点服务白名单类型。 ● domainId:基于账户ID配置终端节点服务白名单。 ● orgPath:基于账户所在组织路径配置终端节点服务白名单。 + 终端节点服务白名单类型。 - domainId:基于账户ID配置终端节点服务白名单。 - orgPath:基于账户所在组织路径配置终端节点服务白名单。 - :return: The permission_type of this BatchAddPermissionRequest. + :return: The permission_type of this BatchAddEndpointServicePermissionsRequestBody. :rtype: str """ return self._permission_type @permission_type.setter def permission_type(self, permission_type): - """Sets the permission_type of this BatchAddPermissionRequest. + """Sets the permission_type of this BatchAddEndpointServicePermissionsRequestBody. - 终端节点服务白名单类型。 ● domainId:基于账户ID配置终端节点服务白名单。 ● orgPath:基于账户所在组织路径配置终端节点服务白名单。 + 终端节点服务白名单类型。 - domainId:基于账户ID配置终端节点服务白名单。 - orgPath:基于账户所在组织路径配置终端节点服务白名单。 - :param permission_type: The permission_type of this BatchAddPermissionRequest. + :param permission_type: The permission_type of this BatchAddEndpointServicePermissionsRequestBody. :type permission_type: str """ self._permission_type = permission_type @@ -133,7 +133,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, BatchAddPermissionRequest): + if not isinstance(other, BatchAddEndpointServicePermissionsRequestBody): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/batch_add_endpoint_service_permissions_response.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/batch_add_endpoint_service_permissions_response.py index 27d4bb7633..27fd801979 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/batch_add_endpoint_service_permissions_response.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/batch_add_endpoint_service_permissions_response.py @@ -30,7 +30,7 @@ def __init__(self, permissions=None): The model defined in huaweicloud sdk - :param permissions: + :param permissions: 终端节点服务白名单 :type permissions: list[:class:`huaweicloudsdkvpcep.v1.EpsPermission`] """ @@ -46,6 +46,8 @@ def __init__(self, permissions=None): def permissions(self): """Gets the permissions of this BatchAddEndpointServicePermissionsResponse. + 终端节点服务白名单 + :return: The permissions of this BatchAddEndpointServicePermissionsResponse. :rtype: list[:class:`huaweicloudsdkvpcep.v1.EpsPermission`] """ @@ -55,6 +57,8 @@ def permissions(self): def permissions(self, permissions): """Sets the permissions of this BatchAddEndpointServicePermissionsResponse. + 终端节点服务白名单 + :param permissions: The permissions of this BatchAddEndpointServicePermissionsResponse. :type permissions: list[:class:`huaweicloudsdkvpcep.v1.EpsPermission`] """ diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/batch_add_or_remove_resource_instance_request.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/batch_add_or_remove_resource_instance_request.py index 43cfccc909..4ed6ba37a9 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/batch_add_or_remove_resource_instance_request.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/batch_add_or_remove_resource_instance_request.py @@ -19,7 +19,7 @@ class BatchAddOrRemoveResourceInstanceRequest: openapi_types = { 'resource_type': 'str', 'resource_id': 'str', - 'body': 'BatchAddOrRemoveResourceInstanceBody' + 'body': 'BatchAddOrRemoveResourceInstanceRequestBody' } attribute_map = { @@ -33,12 +33,12 @@ def __init__(self, resource_type=None, resource_id=None, body=None): The model defined in huaweicloud sdk - :param resource_type: 资源类型,值为:endpoint_service或endpoint。 + :param resource_type: 资源类型。 - endpoint_service:终端节点服务 - endpoint:终端节点 :type resource_type: str - :param resource_id: 资源ID,Endpoint ServiceID或Endpoint ID。 + :param resource_id: 资源ID,Endpoint Service ID或Endpoint ID。 :type resource_id: str :param body: Body of the BatchAddOrRemoveResourceInstanceRequest - :type body: :class:`huaweicloudsdkvpcep.v1.BatchAddOrRemoveResourceInstanceBody` + :type body: :class:`huaweicloudsdkvpcep.v1.BatchAddOrRemoveResourceInstanceRequestBody` """ @@ -57,7 +57,7 @@ def __init__(self, resource_type=None, resource_id=None, body=None): def resource_type(self): """Gets the resource_type of this BatchAddOrRemoveResourceInstanceRequest. - 资源类型,值为:endpoint_service或endpoint。 + 资源类型。 - endpoint_service:终端节点服务 - endpoint:终端节点 :return: The resource_type of this BatchAddOrRemoveResourceInstanceRequest. :rtype: str @@ -68,7 +68,7 @@ def resource_type(self): def resource_type(self, resource_type): """Sets the resource_type of this BatchAddOrRemoveResourceInstanceRequest. - 资源类型,值为:endpoint_service或endpoint。 + 资源类型。 - endpoint_service:终端节点服务 - endpoint:终端节点 :param resource_type: The resource_type of this BatchAddOrRemoveResourceInstanceRequest. :type resource_type: str @@ -79,7 +79,7 @@ def resource_type(self, resource_type): def resource_id(self): """Gets the resource_id of this BatchAddOrRemoveResourceInstanceRequest. - 资源ID,Endpoint ServiceID或Endpoint ID。 + 资源ID,Endpoint Service ID或Endpoint ID。 :return: The resource_id of this BatchAddOrRemoveResourceInstanceRequest. :rtype: str @@ -90,7 +90,7 @@ def resource_id(self): def resource_id(self, resource_id): """Sets the resource_id of this BatchAddOrRemoveResourceInstanceRequest. - 资源ID,Endpoint ServiceID或Endpoint ID。 + 资源ID,Endpoint Service ID或Endpoint ID。 :param resource_id: The resource_id of this BatchAddOrRemoveResourceInstanceRequest. :type resource_id: str @@ -102,7 +102,7 @@ def body(self): """Gets the body of this BatchAddOrRemoveResourceInstanceRequest. :return: The body of this BatchAddOrRemoveResourceInstanceRequest. - :rtype: :class:`huaweicloudsdkvpcep.v1.BatchAddOrRemoveResourceInstanceBody` + :rtype: :class:`huaweicloudsdkvpcep.v1.BatchAddOrRemoveResourceInstanceRequestBody` """ return self._body @@ -111,7 +111,7 @@ def body(self, body): """Sets the body of this BatchAddOrRemoveResourceInstanceRequest. :param body: The body of this BatchAddOrRemoveResourceInstanceRequest. - :type body: :class:`huaweicloudsdkvpcep.v1.BatchAddOrRemoveResourceInstanceBody` + :type body: :class:`huaweicloudsdkvpcep.v1.BatchAddOrRemoveResourceInstanceRequestBody` """ self._body = body diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/batch_add_or_remove_resource_instance_body.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/batch_add_or_remove_resource_instance_request_body.py similarity index 94% rename from huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/batch_add_or_remove_resource_instance_body.py rename to huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/batch_add_or_remove_resource_instance_request_body.py index a4bd663fa5..0f6d77f163 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/batch_add_or_remove_resource_instance_body.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/batch_add_or_remove_resource_instance_request_body.py @@ -5,7 +5,7 @@ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class BatchAddOrRemoveResourceInstanceBody: +class BatchAddOrRemoveResourceInstanceRequestBody: """ Attributes: @@ -27,7 +27,7 @@ class BatchAddOrRemoveResourceInstanceBody: } def __init__(self, tags=None, action=None): - """BatchAddOrRemoveResourceInstanceBody + """BatchAddOrRemoveResourceInstanceRequestBody The model defined in huaweicloud sdk @@ -49,44 +49,44 @@ def __init__(self, tags=None, action=None): @property def tags(self): - """Gets the tags of this BatchAddOrRemoveResourceInstanceBody. + """Gets the tags of this BatchAddOrRemoveResourceInstanceRequestBody. 标签列表,没有标签默认为空数组。 - :return: The tags of this BatchAddOrRemoveResourceInstanceBody. + :return: The tags of this BatchAddOrRemoveResourceInstanceRequestBody. :rtype: list[:class:`huaweicloudsdkvpcep.v1.ResourceTag`] """ return self._tags @tags.setter def tags(self, tags): - """Sets the tags of this BatchAddOrRemoveResourceInstanceBody. + """Sets the tags of this BatchAddOrRemoveResourceInstanceRequestBody. 标签列表,没有标签默认为空数组。 - :param tags: The tags of this BatchAddOrRemoveResourceInstanceBody. + :param tags: The tags of this BatchAddOrRemoveResourceInstanceRequestBody. :type tags: list[:class:`huaweicloudsdkvpcep.v1.ResourceTag`] """ self._tags = tags @property def action(self): - """Gets the action of this BatchAddOrRemoveResourceInstanceBody. + """Gets the action of this BatchAddOrRemoveResourceInstanceRequestBody. 操作标识:仅限于 create(创建) delete(删除) - :return: The action of this BatchAddOrRemoveResourceInstanceBody. + :return: The action of this BatchAddOrRemoveResourceInstanceRequestBody. :rtype: str """ return self._action @action.setter def action(self, action): - """Sets the action of this BatchAddOrRemoveResourceInstanceBody. + """Sets the action of this BatchAddOrRemoveResourceInstanceRequestBody. 操作标识:仅限于 create(创建) delete(删除) - :param action: The action of this BatchAddOrRemoveResourceInstanceBody. + :param action: The action of this BatchAddOrRemoveResourceInstanceRequestBody. :type action: str """ self._action = action @@ -133,7 +133,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, BatchAddOrRemoveResourceInstanceBody): + if not isinstance(other, BatchAddOrRemoveResourceInstanceRequestBody): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/batch_remove_endpoint_service_permissions_request.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/batch_remove_endpoint_service_permissions_request.py index b66d45009d..fbab69becc 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/batch_remove_endpoint_service_permissions_request.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/batch_remove_endpoint_service_permissions_request.py @@ -18,7 +18,7 @@ class BatchRemoveEndpointServicePermissionsRequest: openapi_types = { 'vpc_endpoint_service_id': 'str', - 'body': 'BatchRemovePermissionRequest' + 'body': 'BatchRemoveEndpointServicePermissionsRequestBody' } attribute_map = { @@ -34,7 +34,7 @@ def __init__(self, vpc_endpoint_service_id=None, body=None): :param vpc_endpoint_service_id: 终端节点服务的ID。 :type vpc_endpoint_service_id: str :param body: Body of the BatchRemoveEndpointServicePermissionsRequest - :type body: :class:`huaweicloudsdkvpcep.v1.BatchRemovePermissionRequest` + :type body: :class:`huaweicloudsdkvpcep.v1.BatchRemoveEndpointServicePermissionsRequestBody` """ @@ -74,7 +74,7 @@ def body(self): """Gets the body of this BatchRemoveEndpointServicePermissionsRequest. :return: The body of this BatchRemoveEndpointServicePermissionsRequest. - :rtype: :class:`huaweicloudsdkvpcep.v1.BatchRemovePermissionRequest` + :rtype: :class:`huaweicloudsdkvpcep.v1.BatchRemoveEndpointServicePermissionsRequestBody` """ return self._body @@ -83,7 +83,7 @@ def body(self, body): """Sets the body of this BatchRemoveEndpointServicePermissionsRequest. :param body: The body of this BatchRemoveEndpointServicePermissionsRequest. - :type body: :class:`huaweicloudsdkvpcep.v1.BatchRemovePermissionRequest` + :type body: :class:`huaweicloudsdkvpcep.v1.BatchRemoveEndpointServicePermissionsRequestBody` """ self._body = body diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/batch_remove_permission_request.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/batch_remove_endpoint_service_permissions_request_body.py similarity index 80% rename from huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/batch_remove_permission_request.py rename to huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/batch_remove_endpoint_service_permissions_request_body.py index 091a84b34d..35732e8d37 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/batch_remove_permission_request.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/batch_remove_endpoint_service_permissions_request_body.py @@ -5,7 +5,7 @@ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class BatchRemovePermissionRequest: +class BatchRemoveEndpointServicePermissionsRequestBody: """ Attributes: @@ -25,11 +25,11 @@ class BatchRemovePermissionRequest: } def __init__(self, permissions=None): - """BatchRemovePermissionRequest + """BatchRemoveEndpointServicePermissionsRequestBody The model defined in huaweicloud sdk - :param permissions: + :param permissions: 终端节点服务白名单 :type permissions: list[:class:`huaweicloudsdkvpcep.v1.EpsRemovePermissionRequest`] """ @@ -42,18 +42,22 @@ def __init__(self, permissions=None): @property def permissions(self): - """Gets the permissions of this BatchRemovePermissionRequest. + """Gets the permissions of this BatchRemoveEndpointServicePermissionsRequestBody. - :return: The permissions of this BatchRemovePermissionRequest. + 终端节点服务白名单 + + :return: The permissions of this BatchRemoveEndpointServicePermissionsRequestBody. :rtype: list[:class:`huaweicloudsdkvpcep.v1.EpsRemovePermissionRequest`] """ return self._permissions @permissions.setter def permissions(self, permissions): - """Sets the permissions of this BatchRemovePermissionRequest. + """Sets the permissions of this BatchRemoveEndpointServicePermissionsRequestBody. + + 终端节点服务白名单 - :param permissions: The permissions of this BatchRemovePermissionRequest. + :param permissions: The permissions of this BatchRemoveEndpointServicePermissionsRequestBody. :type permissions: list[:class:`huaweicloudsdkvpcep.v1.EpsRemovePermissionRequest`] """ self._permissions = permissions @@ -100,7 +104,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, BatchRemovePermissionRequest): + if not isinstance(other, BatchRemoveEndpointServicePermissionsRequestBody): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/batch_remove_endpoint_service_permissions_response.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/batch_remove_endpoint_service_permissions_response.py index 092b7cdaf9..3bef01ba35 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/batch_remove_endpoint_service_permissions_response.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/batch_remove_endpoint_service_permissions_response.py @@ -30,7 +30,7 @@ def __init__(self, permissions=None): The model defined in huaweicloud sdk - :param permissions: + :param permissions: 终端节点服务白名单 :type permissions: list[:class:`huaweicloudsdkvpcep.v1.EpsPermission`] """ @@ -46,6 +46,8 @@ def __init__(self, permissions=None): def permissions(self): """Gets the permissions of this BatchRemoveEndpointServicePermissionsResponse. + 终端节点服务白名单 + :return: The permissions of this BatchRemoveEndpointServicePermissionsResponse. :rtype: list[:class:`huaweicloudsdkvpcep.v1.EpsPermission`] """ @@ -55,6 +57,8 @@ def permissions(self): def permissions(self, permissions): """Sets the permissions of this BatchRemoveEndpointServicePermissionsResponse. + 终端节点服务白名单 + :param permissions: The permissions of this BatchRemoveEndpointServicePermissionsResponse. :type permissions: list[:class:`huaweicloudsdkvpcep.v1.EpsPermission`] """ diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/connection_endpoints.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/connection_endpoints.py index f519b5ee93..fec30808f7 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/connection_endpoints.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/connection_endpoints.py @@ -19,8 +19,8 @@ class ConnectionEndpoints: openapi_types = { 'id': 'str', 'marker_id': 'int', - 'created_at': 'str', - 'updated_at': 'str', + 'created_at': 'datetime', + 'updated_at': 'datetime', 'domain_id': 'str', 'error': 'list[QueryError]', 'status': 'str', @@ -48,14 +48,14 @@ def __init__(self, id=None, marker_id=None, created_at=None, updated_at=None, do :param marker_id: 终端节点的报文标识。 :type marker_id: int :param created_at: 终端节点的创建时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ - :type created_at: str + :type created_at: datetime :param updated_at: 终端节点的更新时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ - :type updated_at: str + :type updated_at: datetime :param domain_id: 用户的Domain ID。 :type domain_id: str :param error: 错误信息。 当终端节点服务状态异常,即“status”的值为“failed”时,会返回该字段。 :type error: list[:class:`huaweicloudsdkvpcep.v1.QueryError`] - :param status: 终端节点的连接状态。 ● pendingAcceptance:待接受 ● creating:创建中 ● accepted:已接受 ● rejected:已拒绝 ● failed:失败 ● deleting:删除中 + :param status: 终端节点的连接状态。 - pendingAcceptance:待接受 - creating:创建中 - accepted:已接受 - rejected:已拒绝 - failed:失败 - deleting:删除中 :type status: str :param description: 终端节点连接描述。 :type description: str @@ -141,7 +141,7 @@ def created_at(self): 终端节点的创建时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ :return: The created_at of this ConnectionEndpoints. - :rtype: str + :rtype: datetime """ return self._created_at @@ -152,7 +152,7 @@ def created_at(self, created_at): 终端节点的创建时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ :param created_at: The created_at of this ConnectionEndpoints. - :type created_at: str + :type created_at: datetime """ self._created_at = created_at @@ -163,7 +163,7 @@ def updated_at(self): 终端节点的更新时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ :return: The updated_at of this ConnectionEndpoints. - :rtype: str + :rtype: datetime """ return self._updated_at @@ -174,7 +174,7 @@ def updated_at(self, updated_at): 终端节点的更新时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ :param updated_at: The updated_at of this ConnectionEndpoints. - :type updated_at: str + :type updated_at: datetime """ self._updated_at = updated_at @@ -226,7 +226,7 @@ def error(self, error): def status(self): """Gets the status of this ConnectionEndpoints. - 终端节点的连接状态。 ● pendingAcceptance:待接受 ● creating:创建中 ● accepted:已接受 ● rejected:已拒绝 ● failed:失败 ● deleting:删除中 + 终端节点的连接状态。 - pendingAcceptance:待接受 - creating:创建中 - accepted:已接受 - rejected:已拒绝 - failed:失败 - deleting:删除中 :return: The status of this ConnectionEndpoints. :rtype: str @@ -237,7 +237,7 @@ def status(self): def status(self, status): """Sets the status of this ConnectionEndpoints. - 终端节点的连接状态。 ● pendingAcceptance:待接受 ● creating:创建中 ● accepted:已接受 ● rejected:已拒绝 ● failed:失败 ● deleting:删除中 + 终端节点的连接状态。 - pendingAcceptance:待接受 - creating:创建中 - accepted:已接受 - rejected:已拒绝 - failed:失败 - deleting:删除中 :param status: The status of this ConnectionEndpoints. :type status: str diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/create_endpoint_request_body.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/create_endpoint_request_body.py index ccc4be61b6..25132251ef 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/create_endpoint_request_body.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/create_endpoint_request_body.py @@ -47,13 +47,13 @@ def __init__(self, subnet_id=None, endpoint_service_id=None, vpc_id=None, enable The model defined in huaweicloud sdk - :param subnet_id: 说明: 创建Interface类型Client必选。 需要指定vpc_id对应VPC下已创建的网络(network)的ID,UUID格式。 详细内容请参考《虚拟私有云API参考》中的“查询子网”,详见响应消息中的“id”字段。 创建连接Interface类型终端节点服务的终端节点时,此参数必选。 说明 ● VPC的子网网段不能与198.19.128.0/17重叠 ● VPC路由表中自定义路由的目的地址不能与198.19.128.0/17重叠 + :param subnet_id: 创建Interface类型Client必选。 需要指定vpc_id对应VPC下已创建的网络(network)的ID,UUID格式。 详细内容请参考《虚拟私有云API参考》中的“查询子网”,详见响应消息中的“id”字段。 创建连接Interface类型终端节点服务的终端节点时,此参数必选。 说明: - VPC的子网网段不能与198.19.128.0/17重叠 - VPC路由表中自定义路由的目的地址不能与198.19.128.0/17重叠 :type subnet_id: str :param endpoint_service_id: 终端节点服务的ID。 可以通过查询终端节点服务概 要获取要连接的终端节点服务 ID。 :type endpoint_service_id: str :param vpc_id: 终端节点所在的VPC的ID。 详细内容请参考《虚拟私有云API参考》中的“查询VPC”, 详见响应消息中的“id”字段。 :type vpc_id: str - :param enable_dns: 是否创建域名。 ● true:创建域名 ● false:不创建域名 默认值为false。 说明 当创建连接gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。 + :param enable_dns: 是否创建域名。 - true:创建域名 - false:不创建域名 默认值为false。 说明 当创建连接gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。 :type enable_dns: bool :param tags: 标签列表,没有标签默认为空数组。 :type tags: list[:class:`huaweicloudsdkvpcep.v1.TagList`] @@ -106,7 +106,7 @@ def __init__(self, subnet_id=None, endpoint_service_id=None, vpc_id=None, enable def subnet_id(self): """Gets the subnet_id of this CreateEndpointRequestBody. - 说明: 创建Interface类型Client必选。 需要指定vpc_id对应VPC下已创建的网络(network)的ID,UUID格式。 详细内容请参考《虚拟私有云API参考》中的“查询子网”,详见响应消息中的“id”字段。 创建连接Interface类型终端节点服务的终端节点时,此参数必选。 说明 ● VPC的子网网段不能与198.19.128.0/17重叠 ● VPC路由表中自定义路由的目的地址不能与198.19.128.0/17重叠 + 创建Interface类型Client必选。 需要指定vpc_id对应VPC下已创建的网络(network)的ID,UUID格式。 详细内容请参考《虚拟私有云API参考》中的“查询子网”,详见响应消息中的“id”字段。 创建连接Interface类型终端节点服务的终端节点时,此参数必选。 说明: - VPC的子网网段不能与198.19.128.0/17重叠 - VPC路由表中自定义路由的目的地址不能与198.19.128.0/17重叠 :return: The subnet_id of this CreateEndpointRequestBody. :rtype: str @@ -117,7 +117,7 @@ def subnet_id(self): def subnet_id(self, subnet_id): """Sets the subnet_id of this CreateEndpointRequestBody. - 说明: 创建Interface类型Client必选。 需要指定vpc_id对应VPC下已创建的网络(network)的ID,UUID格式。 详细内容请参考《虚拟私有云API参考》中的“查询子网”,详见响应消息中的“id”字段。 创建连接Interface类型终端节点服务的终端节点时,此参数必选。 说明 ● VPC的子网网段不能与198.19.128.0/17重叠 ● VPC路由表中自定义路由的目的地址不能与198.19.128.0/17重叠 + 创建Interface类型Client必选。 需要指定vpc_id对应VPC下已创建的网络(network)的ID,UUID格式。 详细内容请参考《虚拟私有云API参考》中的“查询子网”,详见响应消息中的“id”字段。 创建连接Interface类型终端节点服务的终端节点时,此参数必选。 说明: - VPC的子网网段不能与198.19.128.0/17重叠 - VPC路由表中自定义路由的目的地址不能与198.19.128.0/17重叠 :param subnet_id: The subnet_id of this CreateEndpointRequestBody. :type subnet_id: str @@ -172,7 +172,7 @@ def vpc_id(self, vpc_id): def enable_dns(self): """Gets the enable_dns of this CreateEndpointRequestBody. - 是否创建域名。 ● true:创建域名 ● false:不创建域名 默认值为false。 说明 当创建连接gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。 + 是否创建域名。 - true:创建域名 - false:不创建域名 默认值为false。 说明 当创建连接gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。 :return: The enable_dns of this CreateEndpointRequestBody. :rtype: bool @@ -183,7 +183,7 @@ def enable_dns(self): def enable_dns(self, enable_dns): """Sets the enable_dns of this CreateEndpointRequestBody. - 是否创建域名。 ● true:创建域名 ● false:不创建域名 默认值为false。 说明 当创建连接gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。 + 是否创建域名。 - true:创建域名 - false:不创建域名 默认值为false。 说明 当创建连接gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。 :param enable_dns: The enable_dns of this CreateEndpointRequestBody. :type enable_dns: bool diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/create_endpoint_response.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/create_endpoint_response.py index 2db898fd4a..3ccc120a6f 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/create_endpoint_response.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/create_endpoint_response.py @@ -27,11 +27,10 @@ class CreateEndpointResponse(SdkResponse): 'marker_id': 'int', 'endpoint_service_id': 'str', 'enable_dns': 'bool', - 'dns_names': 'list[str]', 'subnet_id': 'str', 'vpc_id': 'str', - 'created_at': 'str', - 'updated_at': 'str', + 'created_at': 'datetime', + 'updated_at': 'datetime', 'project_id': 'str', 'tags': 'list[TagList]', 'whitelist': 'list[str]', @@ -39,7 +38,7 @@ class CreateEndpointResponse(SdkResponse): 'routetables': 'list[str]', 'specification_name': 'str', 'description': 'str', - 'policy_statement': 'list[str]', + 'policy_statement': 'list[PolicyStatement]', 'enable_status': 'str', 'endpoint_pool_id': 'str', 'public_border_group': 'str' @@ -55,7 +54,6 @@ class CreateEndpointResponse(SdkResponse): 'marker_id': 'marker_id', 'endpoint_service_id': 'endpoint_service_id', 'enable_dns': 'enable_dns', - 'dns_names': 'dns_names', 'subnet_id': 'subnet_id', 'vpc_id': 'vpc_id', 'created_at': 'created_at', @@ -73,20 +71,20 @@ class CreateEndpointResponse(SdkResponse): 'public_border_group': 'public_border_group' } - def __init__(self, id=None, service_type=None, status=None, ip=None, active_status=None, endpoint_service_name=None, marker_id=None, endpoint_service_id=None, enable_dns=None, dns_names=None, subnet_id=None, vpc_id=None, created_at=None, updated_at=None, project_id=None, tags=None, whitelist=None, enable_whitelist=None, routetables=None, specification_name=None, description=None, policy_statement=None, enable_status=None, endpoint_pool_id=None, public_border_group=None): + def __init__(self, id=None, service_type=None, status=None, ip=None, active_status=None, endpoint_service_name=None, marker_id=None, endpoint_service_id=None, enable_dns=None, subnet_id=None, vpc_id=None, created_at=None, updated_at=None, project_id=None, tags=None, whitelist=None, enable_whitelist=None, routetables=None, specification_name=None, description=None, policy_statement=None, enable_status=None, endpoint_pool_id=None, public_border_group=None): """CreateEndpointResponse The model defined in huaweicloud sdk :param id: 终端节点的ID,唯一标识。 :type id: str - :param service_type: 终端节点连接的终端节点服务类型。 ● gataway:由运维人员配置。用户无需创建,可直接使用。 ● interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。 + :param service_type: 终端节点连接的终端节点服务类型。 - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。 :type service_type: str - :param status: 终端节点的状态。 ● pendingAcceptance:待接受 ● creating:创建中 ● accepted:已接受 ● rejected:已拒绝 ● failed:失败 ● deleting:删除中 + :param status: 终端节点的状态。 - pendingAcceptance:待接受 - creating:创建中 - accepted:已接受 - rejected:已拒绝 - failed:失败 - deleting:删除中 :type status: str :param ip: 终端节点ip :type ip: str - :param active_status: 帐号状态。 ● frozen:冻结 ● active:解冻 + :param active_status: 帐号状态。 - frozen:冻结 - active:解冻 :type active_status: list[str] :param endpoint_service_name: 终端节点服务的名称。 :type endpoint_service_name: str @@ -94,25 +92,23 @@ def __init__(self, id=None, service_type=None, status=None, ip=None, active_stat :type marker_id: int :param endpoint_service_id: 终端节点服务的ID。 :type endpoint_service_id: str - :param enable_dns: 是否创建域名。 ● true:创建域名 ● false:不创建域名 说明 当创建连接gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。 + :param enable_dns: 是否创建域名。 - true:创建域名 - false:不创建域名 说明 当创建连接gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。 :type enable_dns: bool - :param dns_names: 访问所连接的终端节点服务的域名。 当“enable_dns”为true时,该参数可见。 - :type dns_names: list[str] :param subnet_id: vpc_id对应VPC下已创建的网络(network)的ID,UUID格式。 :type subnet_id: str :param vpc_id: 终端节点所在的VPC的ID。 :type vpc_id: str :param created_at: 终端节点的创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ - :type created_at: str + :type created_at: datetime :param updated_at: 终端节点的更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ - :type updated_at: str + :type updated_at: datetime :param project_id: 项目ID,获取方法请参见获取项目ID。 :type project_id: str :param tags: 标签列表,没有标签默认为空数组。 :type tags: list[:class:`huaweicloudsdkvpcep.v1.TagList`] :param whitelist: 控制访问终端节点的白名单。 若未创建,则返回空列表。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。 :type whitelist: list[str] - :param enable_whitelist: 是否开启网络ACL隔离。 ● true:开启网络ACL隔离 ● false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。 + :param enable_whitelist: 是否开启网络ACL隔离。 - true:开启网络ACL隔离 - false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。 :type enable_whitelist: bool :param routetables: 路由表ID列表。 若未指定,返回默认VPC下路由表ID。 创建连接Gateway类型终端节点服务的终端节点时,显示此参数。 :type routetables: list[str] @@ -121,8 +117,8 @@ def __init__(self, id=None, service_type=None, status=None, ip=None, active_stat :param description: 描述 :type description: str :param policy_statement: 只涉及开启双端固定的网关型终端节点,响应体展示此字段 - :type policy_statement: list[str] - :param enable_status: 终端节点是否已停用,取值【enable/disable】 + :type policy_statement: list[:class:`huaweicloudsdkvpcep.v1.PolicyStatement`] + :param enable_status: 终端节点是否可用。 - enable:启用 - disable:不启用 :type enable_status: str :param endpoint_pool_id: 待废弃,实例相关联的集群ID :type endpoint_pool_id: str @@ -141,7 +137,6 @@ def __init__(self, id=None, service_type=None, status=None, ip=None, active_stat self._marker_id = None self._endpoint_service_id = None self._enable_dns = None - self._dns_names = None self._subnet_id = None self._vpc_id = None self._created_at = None @@ -177,8 +172,6 @@ def __init__(self, id=None, service_type=None, status=None, ip=None, active_stat self.endpoint_service_id = endpoint_service_id if enable_dns is not None: self.enable_dns = enable_dns - if dns_names is not None: - self.dns_names = dns_names if subnet_id is not None: self.subnet_id = subnet_id if vpc_id is not None: @@ -236,7 +229,7 @@ def id(self, id): def service_type(self): """Gets the service_type of this CreateEndpointResponse. - 终端节点连接的终端节点服务类型。 ● gataway:由运维人员配置。用户无需创建,可直接使用。 ● interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。 + 终端节点连接的终端节点服务类型。 - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。 :return: The service_type of this CreateEndpointResponse. :rtype: str @@ -247,7 +240,7 @@ def service_type(self): def service_type(self, service_type): """Sets the service_type of this CreateEndpointResponse. - 终端节点连接的终端节点服务类型。 ● gataway:由运维人员配置。用户无需创建,可直接使用。 ● interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。 + 终端节点连接的终端节点服务类型。 - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。 :param service_type: The service_type of this CreateEndpointResponse. :type service_type: str @@ -258,7 +251,7 @@ def service_type(self, service_type): def status(self): """Gets the status of this CreateEndpointResponse. - 终端节点的状态。 ● pendingAcceptance:待接受 ● creating:创建中 ● accepted:已接受 ● rejected:已拒绝 ● failed:失败 ● deleting:删除中 + 终端节点的状态。 - pendingAcceptance:待接受 - creating:创建中 - accepted:已接受 - rejected:已拒绝 - failed:失败 - deleting:删除中 :return: The status of this CreateEndpointResponse. :rtype: str @@ -269,7 +262,7 @@ def status(self): def status(self, status): """Sets the status of this CreateEndpointResponse. - 终端节点的状态。 ● pendingAcceptance:待接受 ● creating:创建中 ● accepted:已接受 ● rejected:已拒绝 ● failed:失败 ● deleting:删除中 + 终端节点的状态。 - pendingAcceptance:待接受 - creating:创建中 - accepted:已接受 - rejected:已拒绝 - failed:失败 - deleting:删除中 :param status: The status of this CreateEndpointResponse. :type status: str @@ -302,7 +295,7 @@ def ip(self, ip): def active_status(self): """Gets the active_status of this CreateEndpointResponse. - 帐号状态。 ● frozen:冻结 ● active:解冻 + 帐号状态。 - frozen:冻结 - active:解冻 :return: The active_status of this CreateEndpointResponse. :rtype: list[str] @@ -313,7 +306,7 @@ def active_status(self): def active_status(self, active_status): """Sets the active_status of this CreateEndpointResponse. - 帐号状态。 ● frozen:冻结 ● active:解冻 + 帐号状态。 - frozen:冻结 - active:解冻 :param active_status: The active_status of this CreateEndpointResponse. :type active_status: list[str] @@ -390,7 +383,7 @@ def endpoint_service_id(self, endpoint_service_id): def enable_dns(self): """Gets the enable_dns of this CreateEndpointResponse. - 是否创建域名。 ● true:创建域名 ● false:不创建域名 说明 当创建连接gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。 + 是否创建域名。 - true:创建域名 - false:不创建域名 说明 当创建连接gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。 :return: The enable_dns of this CreateEndpointResponse. :rtype: bool @@ -401,35 +394,13 @@ def enable_dns(self): def enable_dns(self, enable_dns): """Sets the enable_dns of this CreateEndpointResponse. - 是否创建域名。 ● true:创建域名 ● false:不创建域名 说明 当创建连接gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。 + 是否创建域名。 - true:创建域名 - false:不创建域名 说明 当创建连接gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。 :param enable_dns: The enable_dns of this CreateEndpointResponse. :type enable_dns: bool """ self._enable_dns = enable_dns - @property - def dns_names(self): - """Gets the dns_names of this CreateEndpointResponse. - - 访问所连接的终端节点服务的域名。 当“enable_dns”为true时,该参数可见。 - - :return: The dns_names of this CreateEndpointResponse. - :rtype: list[str] - """ - return self._dns_names - - @dns_names.setter - def dns_names(self, dns_names): - """Sets the dns_names of this CreateEndpointResponse. - - 访问所连接的终端节点服务的域名。 当“enable_dns”为true时,该参数可见。 - - :param dns_names: The dns_names of this CreateEndpointResponse. - :type dns_names: list[str] - """ - self._dns_names = dns_names - @property def subnet_id(self): """Gets the subnet_id of this CreateEndpointResponse. @@ -481,7 +452,7 @@ def created_at(self): 终端节点的创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ :return: The created_at of this CreateEndpointResponse. - :rtype: str + :rtype: datetime """ return self._created_at @@ -492,7 +463,7 @@ def created_at(self, created_at): 终端节点的创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ :param created_at: The created_at of this CreateEndpointResponse. - :type created_at: str + :type created_at: datetime """ self._created_at = created_at @@ -503,7 +474,7 @@ def updated_at(self): 终端节点的更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ :return: The updated_at of this CreateEndpointResponse. - :rtype: str + :rtype: datetime """ return self._updated_at @@ -514,7 +485,7 @@ def updated_at(self, updated_at): 终端节点的更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ :param updated_at: The updated_at of this CreateEndpointResponse. - :type updated_at: str + :type updated_at: datetime """ self._updated_at = updated_at @@ -588,7 +559,7 @@ def whitelist(self, whitelist): def enable_whitelist(self): """Gets the enable_whitelist of this CreateEndpointResponse. - 是否开启网络ACL隔离。 ● true:开启网络ACL隔离 ● false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。 + 是否开启网络ACL隔离。 - true:开启网络ACL隔离 - false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。 :return: The enable_whitelist of this CreateEndpointResponse. :rtype: bool @@ -599,7 +570,7 @@ def enable_whitelist(self): def enable_whitelist(self, enable_whitelist): """Sets the enable_whitelist of this CreateEndpointResponse. - 是否开启网络ACL隔离。 ● true:开启网络ACL隔离 ● false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。 + 是否开启网络ACL隔离。 - true:开启网络ACL隔离 - false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。 :param enable_whitelist: The enable_whitelist of this CreateEndpointResponse. :type enable_whitelist: bool @@ -679,7 +650,7 @@ def policy_statement(self): 只涉及开启双端固定的网关型终端节点,响应体展示此字段 :return: The policy_statement of this CreateEndpointResponse. - :rtype: list[str] + :rtype: list[:class:`huaweicloudsdkvpcep.v1.PolicyStatement`] """ return self._policy_statement @@ -690,7 +661,7 @@ def policy_statement(self, policy_statement): 只涉及开启双端固定的网关型终端节点,响应体展示此字段 :param policy_statement: The policy_statement of this CreateEndpointResponse. - :type policy_statement: list[str] + :type policy_statement: list[:class:`huaweicloudsdkvpcep.v1.PolicyStatement`] """ self._policy_statement = policy_statement @@ -698,7 +669,7 @@ def policy_statement(self, policy_statement): def enable_status(self): """Gets the enable_status of this CreateEndpointResponse. - 终端节点是否已停用,取值【enable/disable】 + 终端节点是否可用。 - enable:启用 - disable:不启用 :return: The enable_status of this CreateEndpointResponse. :rtype: str @@ -709,7 +680,7 @@ def enable_status(self): def enable_status(self, enable_status): """Sets the enable_status of this CreateEndpointResponse. - 终端节点是否已停用,取值【enable/disable】 + 终端节点是否可用。 - enable:启用 - disable:不启用 :param enable_status: The enable_status of this CreateEndpointResponse. :type enable_status: str diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/create_endpoint_service_request_body.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/create_endpoint_service_request_body.py index d63c8db867..59b1eced11 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/create_endpoint_service_request_body.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/create_endpoint_service_request_body.py @@ -55,21 +55,21 @@ def __init__(self, port_id=None, service_name=None, vpc_id=None, approval_enable :type service_name: str :param vpc_id: 终端节点服务对应后端资源所在的VPC的ID。 详细内容请参考《虚拟私有云API参考》中的“查询VPC”,详见响应消息中的“id”字段。 :type vpc_id: str - :param approval_enabled: 是否需要审批。 ● false:不需要审批,创建的终端节点连接直接为accepted状态。 ● true:需要审批,创建的终端节点连接为pendingAcceptance状态, 需要终端节点服务所属用户审核后方可使用。 默认为true,需要审批。 + :param approval_enabled: 是否需要审批。 - false:不需要审批,创建的终端节点连接直接为accepted状态。 - true:需要审批,创建的终端节点连接为pendingAcceptance状态, 需要终端节点服务所属用户审核后方可使用。 默认为true,需要审批。 :type approval_enabled: bool - :param service_type: 终端节点服务类型。 仅支持将用户私有服务创建为interface类型的终端节点服务。 终端节点服务类型包括“网关(gateway)型”和“接口(interface)型”: ● gateway:由运维人员配置。用户无需创建,可直接使用。 ● interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建, 用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节点。 + :param service_type: 终端节点服务类型。 仅支持将用户私有服务创建为interface类型的终端节点服务。 终端节点服务类型包括“网关(gateway)型”和“接口(interface)型”: - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建, 用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节点。 :type service_type: str - :param server_type: 资源类型。 ● VM:云服务器,适用于作为服务器使用。 ● VIP:虚拟IP,适用于作为虚IP场景使用。(该字段已废弃,请优先使用LB类型) ● LB:负载均衡,适用于高访问量业务和对可靠性和容灾性要求较高的业务。 + :param server_type: 资源类型。 - VM:云服务器,适用于作为服务器使用。 - VIP:虚拟IP,适用于作为虚IP场景使用。(该字段已废弃,请优先使用LB类型) - LB:负载均衡,适用于高访问量业务和对可靠性和容灾性要求较高的业务。 :type server_type: str :param ports: 服务开放的端口映射列表,详细内容请参见表4-10。 同一个终端节点服务下,不允许重复的端口映射。若多个终端节点服务共用一个port_id, 则终端节点服务之间的所有端口映射的server_port和protocol的组合不能重复, 单次最多添加200个。 :type ports: list[:class:`huaweicloudsdkvpcep.v1.PortList`] - :param tcp_proxy: 用于控制将哪些信息(如客户端的源IP、源端口、marker_id等)携带到服务端。 支持携带的客户端信息包括如下两种类型: ● TCP TOA:表示将客户端信息插入到tcp option字段中携带至服务端。 说明:仅当后端资源为OBS时,支持TCP TOA类型信息携带方式。 ● Proxy Protocol:表示将客户端信息插入到tcp payload字段中携带至服务端。 仅当服务端支持解析上述字段时,该参数设置才有效。 该参数的取值包括: ● close:表示关闭代理协议。 ● toa_open:表示开启代理协议“tcp_toa”。 ● proxy_open:表示开启代理协议“proxy_protocol”。 ● open:表示同时开启代理协议“tcp_toa”和“proxy_protocol”。 ● proxy_vni: 关闭toa,开启proxy和vni。 默认值为“close”。 + :param tcp_proxy: 用于控制将哪些信息(如客户端的源IP、源端口、marker_id等)携带到服务端。 支持携带的客户端信息包括如下两种类型: - TCP TOA:表示将客户端信息插入到tcp option字段中携带至服务端。 说明:仅当后端资源为OBS时,支持TCP TOA类型信息携带方式。 - Proxy Protocol:表示将客户端信息插入到tcp payload字段中携带至服务端。 仅当服务端支持解析上述字段时,该参数设置才有效。 该参数的取值包括: - close:表示关闭代理协议。 - toa_open:表示开启代理协议“tcp_toa”。 - proxy_open:表示开启代理协议“proxy_protocol”。 - open:表示同时开启代理协议“tcp_toa”和“proxy_protocol”。 - proxy_vni: 关闭toa,开启proxy和vni。 默认值为“close”。 :type tcp_proxy: str :param tags: 资源标签列表。同一个终端节点服务最多可添加10个标签。 :type tags: list[:class:`huaweicloudsdkvpcep.v1.TagList`] :param description: 描述字段,支持中英文字母、数字等字符,不支持“<”或“>”字符。 描述字段,支持中英文字母、数字等字符,不支持“<”或“>”字符。 :type description: str - :param enable_policy: 是否开启终端节点策略。 ● false:不支持设置终端节点策略 ● true:支持设置终端节点策略 默认为false + :param enable_policy: 是否开启终端节点策略。 - false:不支持设置终端节点策略 - true:支持设置终端节点策略 默认为false :type enable_policy: bool """ @@ -177,7 +177,7 @@ def vpc_id(self, vpc_id): def approval_enabled(self): """Gets the approval_enabled of this CreateEndpointServiceRequestBody. - 是否需要审批。 ● false:不需要审批,创建的终端节点连接直接为accepted状态。 ● true:需要审批,创建的终端节点连接为pendingAcceptance状态, 需要终端节点服务所属用户审核后方可使用。 默认为true,需要审批。 + 是否需要审批。 - false:不需要审批,创建的终端节点连接直接为accepted状态。 - true:需要审批,创建的终端节点连接为pendingAcceptance状态, 需要终端节点服务所属用户审核后方可使用。 默认为true,需要审批。 :return: The approval_enabled of this CreateEndpointServiceRequestBody. :rtype: bool @@ -188,7 +188,7 @@ def approval_enabled(self): def approval_enabled(self, approval_enabled): """Sets the approval_enabled of this CreateEndpointServiceRequestBody. - 是否需要审批。 ● false:不需要审批,创建的终端节点连接直接为accepted状态。 ● true:需要审批,创建的终端节点连接为pendingAcceptance状态, 需要终端节点服务所属用户审核后方可使用。 默认为true,需要审批。 + 是否需要审批。 - false:不需要审批,创建的终端节点连接直接为accepted状态。 - true:需要审批,创建的终端节点连接为pendingAcceptance状态, 需要终端节点服务所属用户审核后方可使用。 默认为true,需要审批。 :param approval_enabled: The approval_enabled of this CreateEndpointServiceRequestBody. :type approval_enabled: bool @@ -199,7 +199,7 @@ def approval_enabled(self, approval_enabled): def service_type(self): """Gets the service_type of this CreateEndpointServiceRequestBody. - 终端节点服务类型。 仅支持将用户私有服务创建为interface类型的终端节点服务。 终端节点服务类型包括“网关(gateway)型”和“接口(interface)型”: ● gateway:由运维人员配置。用户无需创建,可直接使用。 ● interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建, 用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节点。 + 终端节点服务类型。 仅支持将用户私有服务创建为interface类型的终端节点服务。 终端节点服务类型包括“网关(gateway)型”和“接口(interface)型”: - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建, 用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节点。 :return: The service_type of this CreateEndpointServiceRequestBody. :rtype: str @@ -210,7 +210,7 @@ def service_type(self): def service_type(self, service_type): """Sets the service_type of this CreateEndpointServiceRequestBody. - 终端节点服务类型。 仅支持将用户私有服务创建为interface类型的终端节点服务。 终端节点服务类型包括“网关(gateway)型”和“接口(interface)型”: ● gateway:由运维人员配置。用户无需创建,可直接使用。 ● interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建, 用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节点。 + 终端节点服务类型。 仅支持将用户私有服务创建为interface类型的终端节点服务。 终端节点服务类型包括“网关(gateway)型”和“接口(interface)型”: - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建, 用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节点。 :param service_type: The service_type of this CreateEndpointServiceRequestBody. :type service_type: str @@ -221,7 +221,7 @@ def service_type(self, service_type): def server_type(self): """Gets the server_type of this CreateEndpointServiceRequestBody. - 资源类型。 ● VM:云服务器,适用于作为服务器使用。 ● VIP:虚拟IP,适用于作为虚IP场景使用。(该字段已废弃,请优先使用LB类型) ● LB:负载均衡,适用于高访问量业务和对可靠性和容灾性要求较高的业务。 + 资源类型。 - VM:云服务器,适用于作为服务器使用。 - VIP:虚拟IP,适用于作为虚IP场景使用。(该字段已废弃,请优先使用LB类型) - LB:负载均衡,适用于高访问量业务和对可靠性和容灾性要求较高的业务。 :return: The server_type of this CreateEndpointServiceRequestBody. :rtype: str @@ -232,7 +232,7 @@ def server_type(self): def server_type(self, server_type): """Sets the server_type of this CreateEndpointServiceRequestBody. - 资源类型。 ● VM:云服务器,适用于作为服务器使用。 ● VIP:虚拟IP,适用于作为虚IP场景使用。(该字段已废弃,请优先使用LB类型) ● LB:负载均衡,适用于高访问量业务和对可靠性和容灾性要求较高的业务。 + 资源类型。 - VM:云服务器,适用于作为服务器使用。 - VIP:虚拟IP,适用于作为虚IP场景使用。(该字段已废弃,请优先使用LB类型) - LB:负载均衡,适用于高访问量业务和对可靠性和容灾性要求较高的业务。 :param server_type: The server_type of this CreateEndpointServiceRequestBody. :type server_type: str @@ -265,7 +265,7 @@ def ports(self, ports): def tcp_proxy(self): """Gets the tcp_proxy of this CreateEndpointServiceRequestBody. - 用于控制将哪些信息(如客户端的源IP、源端口、marker_id等)携带到服务端。 支持携带的客户端信息包括如下两种类型: ● TCP TOA:表示将客户端信息插入到tcp option字段中携带至服务端。 说明:仅当后端资源为OBS时,支持TCP TOA类型信息携带方式。 ● Proxy Protocol:表示将客户端信息插入到tcp payload字段中携带至服务端。 仅当服务端支持解析上述字段时,该参数设置才有效。 该参数的取值包括: ● close:表示关闭代理协议。 ● toa_open:表示开启代理协议“tcp_toa”。 ● proxy_open:表示开启代理协议“proxy_protocol”。 ● open:表示同时开启代理协议“tcp_toa”和“proxy_protocol”。 ● proxy_vni: 关闭toa,开启proxy和vni。 默认值为“close”。 + 用于控制将哪些信息(如客户端的源IP、源端口、marker_id等)携带到服务端。 支持携带的客户端信息包括如下两种类型: - TCP TOA:表示将客户端信息插入到tcp option字段中携带至服务端。 说明:仅当后端资源为OBS时,支持TCP TOA类型信息携带方式。 - Proxy Protocol:表示将客户端信息插入到tcp payload字段中携带至服务端。 仅当服务端支持解析上述字段时,该参数设置才有效。 该参数的取值包括: - close:表示关闭代理协议。 - toa_open:表示开启代理协议“tcp_toa”。 - proxy_open:表示开启代理协议“proxy_protocol”。 - open:表示同时开启代理协议“tcp_toa”和“proxy_protocol”。 - proxy_vni: 关闭toa,开启proxy和vni。 默认值为“close”。 :return: The tcp_proxy of this CreateEndpointServiceRequestBody. :rtype: str @@ -276,7 +276,7 @@ def tcp_proxy(self): def tcp_proxy(self, tcp_proxy): """Sets the tcp_proxy of this CreateEndpointServiceRequestBody. - 用于控制将哪些信息(如客户端的源IP、源端口、marker_id等)携带到服务端。 支持携带的客户端信息包括如下两种类型: ● TCP TOA:表示将客户端信息插入到tcp option字段中携带至服务端。 说明:仅当后端资源为OBS时,支持TCP TOA类型信息携带方式。 ● Proxy Protocol:表示将客户端信息插入到tcp payload字段中携带至服务端。 仅当服务端支持解析上述字段时,该参数设置才有效。 该参数的取值包括: ● close:表示关闭代理协议。 ● toa_open:表示开启代理协议“tcp_toa”。 ● proxy_open:表示开启代理协议“proxy_protocol”。 ● open:表示同时开启代理协议“tcp_toa”和“proxy_protocol”。 ● proxy_vni: 关闭toa,开启proxy和vni。 默认值为“close”。 + 用于控制将哪些信息(如客户端的源IP、源端口、marker_id等)携带到服务端。 支持携带的客户端信息包括如下两种类型: - TCP TOA:表示将客户端信息插入到tcp option字段中携带至服务端。 说明:仅当后端资源为OBS时,支持TCP TOA类型信息携带方式。 - Proxy Protocol:表示将客户端信息插入到tcp payload字段中携带至服务端。 仅当服务端支持解析上述字段时,该参数设置才有效。 该参数的取值包括: - close:表示关闭代理协议。 - toa_open:表示开启代理协议“tcp_toa”。 - proxy_open:表示开启代理协议“proxy_protocol”。 - open:表示同时开启代理协议“tcp_toa”和“proxy_protocol”。 - proxy_vni: 关闭toa,开启proxy和vni。 默认值为“close”。 :param tcp_proxy: The tcp_proxy of this CreateEndpointServiceRequestBody. :type tcp_proxy: str @@ -331,7 +331,7 @@ def description(self, description): def enable_policy(self): """Gets the enable_policy of this CreateEndpointServiceRequestBody. - 是否开启终端节点策略。 ● false:不支持设置终端节点策略 ● true:支持设置终端节点策略 默认为false + 是否开启终端节点策略。 - false:不支持设置终端节点策略 - true:支持设置终端节点策略 默认为false :return: The enable_policy of this CreateEndpointServiceRequestBody. :rtype: bool @@ -342,7 +342,7 @@ def enable_policy(self): def enable_policy(self, enable_policy): """Sets the enable_policy of this CreateEndpointServiceRequestBody. - 是否开启终端节点策略。 ● false:不支持设置终端节点策略 ● true:支持设置终端节点策略 默认为false + 是否开启终端节点策略。 - false:不支持设置终端节点策略 - true:支持设置终端节点策略 默认为false :param enable_policy: The enable_policy of this CreateEndpointServiceRequestBody. :type enable_policy: bool diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/create_endpoint_service_response.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/create_endpoint_service_response.py index 607f1855e4..3d6111e7f8 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/create_endpoint_service_response.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/create_endpoint_service_response.py @@ -27,8 +27,8 @@ class CreateEndpointServiceResponse(SdkResponse): 'approval_enabled': 'bool', 'status': 'str', 'service_type': 'str', - 'created_at': 'str', - 'updated_at': 'str', + 'created_at': 'datetime', + 'updated_at': 'datetime', 'project_id': 'str', 'ports': 'list[PortList]', 'tcp_proxy': 'str', @@ -64,37 +64,37 @@ def __init__(self, id=None, port_id=None, service_name=None, server_type=None, v :param id: 终端节点服务的ID,唯一标识。 :type id: str - :param port_id: 标识终端节点服务后端资源的ID, 格式为通用唯一识别码(Universally Unique Identifier,下文简称UUID)。 取值为: ● LB类型:负载均衡器内网IP对应的端口ID。 ● VM类型:弹性云服务器IP地址对应的网卡ID。 ● VIP类型:虚拟资源所在物理服务器对应的网卡ID。(该字段已废弃,请优先使用LB类型) + :param port_id: 标识终端节点服务后端资源的ID, 格式为通用唯一识别码(Universally Unique Identifier,下文简称UUID)。 取值为: - LB类型:负载均衡器内网IP对应的端口ID。 - VM类型:弹性云服务器IP地址对应的网卡ID。 - VIP类型:虚拟资源所在物理服务器对应的网卡ID。(该字段已废弃,请优先使用LB类型) :type port_id: str :param service_name: 终端节点服务的名称。 :type service_name: str - :param server_type: 资源类型。 ● VM:云服务器。 ● VIP:虚拟IP。 ● LB:增强负载均衡型。 + :param server_type: 资源类型。 - VM:云服务器。 - VIP:虚拟IP。 - LB:增强负载均衡型。 :type server_type: str :param vpc_id: 终端节点服务对应后端资源所在的VPC的ID。 :type vpc_id: str :param pool_id: 终端节点服务对应的集群id :type pool_id: str - :param approval_enabled: 是否需要审批。 ● false:不需要审批,创建的终端节点连接直接为accepted状态。 ● true:需要审批,创建的终端节点连接为pendingAcceptance状态, 需要终端节点服务所属用户审核后方可使用。 + :param approval_enabled: 是否需要审批。 - false:不需要审批,创建的终端节点连接直接为accepted状态。 - true:需要审批,创建的终端节点连接为pendingAcceptance状态, 需要终端节点服务所属用户审核后方可使用。 :type approval_enabled: bool - :param status: 终端节点服务的状态。 ● creating:创建中 ● available:可连接 ● failed:失败 + :param status: 终端节点服务的状态。 - creating:创建中 - available:可连接 - failed:失败 :type status: str - :param service_type: 终端节点服务类型。 终端节点服务类型包括“网关(gataway)型”和“接口(interface)型”: ● gataway:由运维人员配置。用户无需创建,可直接使用。 ● interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节点。 + :param service_type: 终端节点服务类型。 终端节点服务类型包括“网关(gateway)型”和“接口(interface)型”: - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节点。 :type service_type: str :param created_at: 终端节点服务的创建时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ - :type created_at: str + :type created_at: datetime :param updated_at: 终端节点服务的更新时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ - :type updated_at: str + :type updated_at: datetime :param project_id: 项目ID :type project_id: str :param ports: 服务开放的端口映射列表 同一个终端节点服务下,不允许重复的端口映射。 若多个终端节点服务共用一个port_id, 则终端节点服务之间的所有端口映射的server_port和protocol的组合不能重复。 :type ports: list[:class:`huaweicloudsdkvpcep.v1.PortList`] - :param tcp_proxy: 用于控制将哪些信息(如客户端的源IP、源端口、marker_id等)携带到服务端。 支持携带的客户端信息包括如下两种类型: ● TCP TOA:表示将客户端信息插入到tcp option字段中携带至服务端。 说明:仅当后端资源为OBS时,支持TCP TOA类型信息携带方式。 ● Proxy Protocol:表示将客户端信息插入到tcp payload字段中携带至服务端。 仅当服务端支持解析上述字段时,该参数设置才有效。 该参数的取值包括: ● close:表示关闭代理协议。 ● toa_open:表示开启代理协议“tcp_toa”。 ● proxy_open:表示开启代理协议“proxy_protocol”。 ● open:表示同时开启代理协议“tcp_toa”和“proxy_protocol”。 ● proxy_vni: 关闭toa,开启proxy和vni。 默认值为“close”。 + :param tcp_proxy: 用于控制将哪些信息(如客户端的源IP、源端口、marker_id等)携带到服务端。 支持携带的客户端信息包括如下两种类型: - TCP TOA:表示将客户端信息插入到tcp option字段中携带至服务端。 说明:仅当后端资源为OBS时,支持TCP TOA类型信息携带方式。 - Proxy Protocol:表示将客户端信息插入到tcp payload字段中携带至服务端。 仅当服务端支持解析上述字段时,该参数设置才有效。 该参数的取值包括: - close:表示关闭代理协议。 - toa_open:表示开启代理协议“tcp_toa”。 - proxy_open:表示开启代理协议“proxy_protocol”。 - open:表示同时开启代理协议“tcp_toa”和“proxy_protocol”。 - proxy_vni: 关闭toa,开启proxy和vni。 默认值为“close”。 :type tcp_proxy: str :param tags: 资源标签列表 :type tags: list[:class:`huaweicloudsdkvpcep.v1.TagList`] :param description: 描述字段,支持中英文字母、数字等字符,不支持“<”或“>”字符。 :type description: str - :param enable_policy: 是否开启终端节点策略。 ● false:不支持设置终端节点策略 ● true:支持设置终端节点策略 默认为false + :param enable_policy: 是否开启终端节点策略。 - false:不支持设置终端节点策略 - true:支持设置终端节点策略 默认为false :type enable_policy: bool """ @@ -180,7 +180,7 @@ def id(self, id): def port_id(self): """Gets the port_id of this CreateEndpointServiceResponse. - 标识终端节点服务后端资源的ID, 格式为通用唯一识别码(Universally Unique Identifier,下文简称UUID)。 取值为: ● LB类型:负载均衡器内网IP对应的端口ID。 ● VM类型:弹性云服务器IP地址对应的网卡ID。 ● VIP类型:虚拟资源所在物理服务器对应的网卡ID。(该字段已废弃,请优先使用LB类型) + 标识终端节点服务后端资源的ID, 格式为通用唯一识别码(Universally Unique Identifier,下文简称UUID)。 取值为: - LB类型:负载均衡器内网IP对应的端口ID。 - VM类型:弹性云服务器IP地址对应的网卡ID。 - VIP类型:虚拟资源所在物理服务器对应的网卡ID。(该字段已废弃,请优先使用LB类型) :return: The port_id of this CreateEndpointServiceResponse. :rtype: str @@ -191,7 +191,7 @@ def port_id(self): def port_id(self, port_id): """Sets the port_id of this CreateEndpointServiceResponse. - 标识终端节点服务后端资源的ID, 格式为通用唯一识别码(Universally Unique Identifier,下文简称UUID)。 取值为: ● LB类型:负载均衡器内网IP对应的端口ID。 ● VM类型:弹性云服务器IP地址对应的网卡ID。 ● VIP类型:虚拟资源所在物理服务器对应的网卡ID。(该字段已废弃,请优先使用LB类型) + 标识终端节点服务后端资源的ID, 格式为通用唯一识别码(Universally Unique Identifier,下文简称UUID)。 取值为: - LB类型:负载均衡器内网IP对应的端口ID。 - VM类型:弹性云服务器IP地址对应的网卡ID。 - VIP类型:虚拟资源所在物理服务器对应的网卡ID。(该字段已废弃,请优先使用LB类型) :param port_id: The port_id of this CreateEndpointServiceResponse. :type port_id: str @@ -224,7 +224,7 @@ def service_name(self, service_name): def server_type(self): """Gets the server_type of this CreateEndpointServiceResponse. - 资源类型。 ● VM:云服务器。 ● VIP:虚拟IP。 ● LB:增强负载均衡型。 + 资源类型。 - VM:云服务器。 - VIP:虚拟IP。 - LB:增强负载均衡型。 :return: The server_type of this CreateEndpointServiceResponse. :rtype: str @@ -235,7 +235,7 @@ def server_type(self): def server_type(self, server_type): """Sets the server_type of this CreateEndpointServiceResponse. - 资源类型。 ● VM:云服务器。 ● VIP:虚拟IP。 ● LB:增强负载均衡型。 + 资源类型。 - VM:云服务器。 - VIP:虚拟IP。 - LB:增强负载均衡型。 :param server_type: The server_type of this CreateEndpointServiceResponse. :type server_type: str @@ -290,7 +290,7 @@ def pool_id(self, pool_id): def approval_enabled(self): """Gets the approval_enabled of this CreateEndpointServiceResponse. - 是否需要审批。 ● false:不需要审批,创建的终端节点连接直接为accepted状态。 ● true:需要审批,创建的终端节点连接为pendingAcceptance状态, 需要终端节点服务所属用户审核后方可使用。 + 是否需要审批。 - false:不需要审批,创建的终端节点连接直接为accepted状态。 - true:需要审批,创建的终端节点连接为pendingAcceptance状态, 需要终端节点服务所属用户审核后方可使用。 :return: The approval_enabled of this CreateEndpointServiceResponse. :rtype: bool @@ -301,7 +301,7 @@ def approval_enabled(self): def approval_enabled(self, approval_enabled): """Sets the approval_enabled of this CreateEndpointServiceResponse. - 是否需要审批。 ● false:不需要审批,创建的终端节点连接直接为accepted状态。 ● true:需要审批,创建的终端节点连接为pendingAcceptance状态, 需要终端节点服务所属用户审核后方可使用。 + 是否需要审批。 - false:不需要审批,创建的终端节点连接直接为accepted状态。 - true:需要审批,创建的终端节点连接为pendingAcceptance状态, 需要终端节点服务所属用户审核后方可使用。 :param approval_enabled: The approval_enabled of this CreateEndpointServiceResponse. :type approval_enabled: bool @@ -312,7 +312,7 @@ def approval_enabled(self, approval_enabled): def status(self): """Gets the status of this CreateEndpointServiceResponse. - 终端节点服务的状态。 ● creating:创建中 ● available:可连接 ● failed:失败 + 终端节点服务的状态。 - creating:创建中 - available:可连接 - failed:失败 :return: The status of this CreateEndpointServiceResponse. :rtype: str @@ -323,7 +323,7 @@ def status(self): def status(self, status): """Sets the status of this CreateEndpointServiceResponse. - 终端节点服务的状态。 ● creating:创建中 ● available:可连接 ● failed:失败 + 终端节点服务的状态。 - creating:创建中 - available:可连接 - failed:失败 :param status: The status of this CreateEndpointServiceResponse. :type status: str @@ -334,7 +334,7 @@ def status(self, status): def service_type(self): """Gets the service_type of this CreateEndpointServiceResponse. - 终端节点服务类型。 终端节点服务类型包括“网关(gataway)型”和“接口(interface)型”: ● gataway:由运维人员配置。用户无需创建,可直接使用。 ● interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节点。 + 终端节点服务类型。 终端节点服务类型包括“网关(gateway)型”和“接口(interface)型”: - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节点。 :return: The service_type of this CreateEndpointServiceResponse. :rtype: str @@ -345,7 +345,7 @@ def service_type(self): def service_type(self, service_type): """Sets the service_type of this CreateEndpointServiceResponse. - 终端节点服务类型。 终端节点服务类型包括“网关(gataway)型”和“接口(interface)型”: ● gataway:由运维人员配置。用户无需创建,可直接使用。 ● interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节点。 + 终端节点服务类型。 终端节点服务类型包括“网关(gateway)型”和“接口(interface)型”: - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节点。 :param service_type: The service_type of this CreateEndpointServiceResponse. :type service_type: str @@ -359,7 +359,7 @@ def created_at(self): 终端节点服务的创建时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ :return: The created_at of this CreateEndpointServiceResponse. - :rtype: str + :rtype: datetime """ return self._created_at @@ -370,7 +370,7 @@ def created_at(self, created_at): 终端节点服务的创建时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ :param created_at: The created_at of this CreateEndpointServiceResponse. - :type created_at: str + :type created_at: datetime """ self._created_at = created_at @@ -381,7 +381,7 @@ def updated_at(self): 终端节点服务的更新时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ :return: The updated_at of this CreateEndpointServiceResponse. - :rtype: str + :rtype: datetime """ return self._updated_at @@ -392,7 +392,7 @@ def updated_at(self, updated_at): 终端节点服务的更新时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ :param updated_at: The updated_at of this CreateEndpointServiceResponse. - :type updated_at: str + :type updated_at: datetime """ self._updated_at = updated_at @@ -444,7 +444,7 @@ def ports(self, ports): def tcp_proxy(self): """Gets the tcp_proxy of this CreateEndpointServiceResponse. - 用于控制将哪些信息(如客户端的源IP、源端口、marker_id等)携带到服务端。 支持携带的客户端信息包括如下两种类型: ● TCP TOA:表示将客户端信息插入到tcp option字段中携带至服务端。 说明:仅当后端资源为OBS时,支持TCP TOA类型信息携带方式。 ● Proxy Protocol:表示将客户端信息插入到tcp payload字段中携带至服务端。 仅当服务端支持解析上述字段时,该参数设置才有效。 该参数的取值包括: ● close:表示关闭代理协议。 ● toa_open:表示开启代理协议“tcp_toa”。 ● proxy_open:表示开启代理协议“proxy_protocol”。 ● open:表示同时开启代理协议“tcp_toa”和“proxy_protocol”。 ● proxy_vni: 关闭toa,开启proxy和vni。 默认值为“close”。 + 用于控制将哪些信息(如客户端的源IP、源端口、marker_id等)携带到服务端。 支持携带的客户端信息包括如下两种类型: - TCP TOA:表示将客户端信息插入到tcp option字段中携带至服务端。 说明:仅当后端资源为OBS时,支持TCP TOA类型信息携带方式。 - Proxy Protocol:表示将客户端信息插入到tcp payload字段中携带至服务端。 仅当服务端支持解析上述字段时,该参数设置才有效。 该参数的取值包括: - close:表示关闭代理协议。 - toa_open:表示开启代理协议“tcp_toa”。 - proxy_open:表示开启代理协议“proxy_protocol”。 - open:表示同时开启代理协议“tcp_toa”和“proxy_protocol”。 - proxy_vni: 关闭toa,开启proxy和vni。 默认值为“close”。 :return: The tcp_proxy of this CreateEndpointServiceResponse. :rtype: str @@ -455,7 +455,7 @@ def tcp_proxy(self): def tcp_proxy(self, tcp_proxy): """Sets the tcp_proxy of this CreateEndpointServiceResponse. - 用于控制将哪些信息(如客户端的源IP、源端口、marker_id等)携带到服务端。 支持携带的客户端信息包括如下两种类型: ● TCP TOA:表示将客户端信息插入到tcp option字段中携带至服务端。 说明:仅当后端资源为OBS时,支持TCP TOA类型信息携带方式。 ● Proxy Protocol:表示将客户端信息插入到tcp payload字段中携带至服务端。 仅当服务端支持解析上述字段时,该参数设置才有效。 该参数的取值包括: ● close:表示关闭代理协议。 ● toa_open:表示开启代理协议“tcp_toa”。 ● proxy_open:表示开启代理协议“proxy_protocol”。 ● open:表示同时开启代理协议“tcp_toa”和“proxy_protocol”。 ● proxy_vni: 关闭toa,开启proxy和vni。 默认值为“close”。 + 用于控制将哪些信息(如客户端的源IP、源端口、marker_id等)携带到服务端。 支持携带的客户端信息包括如下两种类型: - TCP TOA:表示将客户端信息插入到tcp option字段中携带至服务端。 说明:仅当后端资源为OBS时,支持TCP TOA类型信息携带方式。 - Proxy Protocol:表示将客户端信息插入到tcp payload字段中携带至服务端。 仅当服务端支持解析上述字段时,该参数设置才有效。 该参数的取值包括: - close:表示关闭代理协议。 - toa_open:表示开启代理协议“tcp_toa”。 - proxy_open:表示开启代理协议“proxy_protocol”。 - open:表示同时开启代理协议“tcp_toa”和“proxy_protocol”。 - proxy_vni: 关闭toa,开启proxy和vni。 默认值为“close”。 :param tcp_proxy: The tcp_proxy of this CreateEndpointServiceResponse. :type tcp_proxy: str @@ -510,7 +510,7 @@ def description(self, description): def enable_policy(self): """Gets the enable_policy of this CreateEndpointServiceResponse. - 是否开启终端节点策略。 ● false:不支持设置终端节点策略 ● true:支持设置终端节点策略 默认为false + 是否开启终端节点策略。 - false:不支持设置终端节点策略 - true:支持设置终端节点策略 默认为false :return: The enable_policy of this CreateEndpointServiceResponse. :rtype: bool @@ -521,7 +521,7 @@ def enable_policy(self): def enable_policy(self, enable_policy): """Sets the enable_policy of this CreateEndpointServiceResponse. - 是否开启终端节点策略。 ● false:不支持设置终端节点策略 ● true:支持设置终端节点策略 默认为false + 是否开启终端节点策略。 - false:不支持设置终端节点策略 - true:支持设置终端节点策略 默认为false :param enable_policy: The enable_policy of this CreateEndpointServiceResponse. :type enable_policy: bool diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/delete_endpoint_policy_response.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/delete_endpoint_policy_response.py index 010f66a6db..987312b906 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/delete_endpoint_policy_response.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/delete_endpoint_policy_response.py @@ -25,13 +25,10 @@ class DeleteEndpointPolicyResponse(SdkResponse): 'endpoint_service_name': 'str', 'marker_id': 'int', 'endpoint_service_id': 'str', - 'enable_dns': 'bool', - 'dns_names': 'list[str]', 'ip': 'str', 'vpc_id': 'str', - 'subnet_id': 'str', - 'created_at': 'str', - 'updated_at': 'str', + 'created_at': 'datetime', + 'updated_at': 'datetime', 'project_id': 'str', 'tags': 'list[TagList]', 'error': 'list[QueryError]', @@ -52,11 +49,8 @@ class DeleteEndpointPolicyResponse(SdkResponse): 'endpoint_service_name': 'endpoint_service_name', 'marker_id': 'marker_id', 'endpoint_service_id': 'endpoint_service_id', - 'enable_dns': 'enable_dns', - 'dns_names': 'dns_names', 'ip': 'ip', 'vpc_id': 'vpc_id', - 'subnet_id': 'subnet_id', 'created_at': 'created_at', 'updated_at': 'updated_at', 'project_id': 'project_id', @@ -71,18 +65,18 @@ class DeleteEndpointPolicyResponse(SdkResponse): 'public_border_group': 'public_border_group' } - def __init__(self, id=None, service_type=None, status=None, active_status=None, endpoint_service_name=None, marker_id=None, endpoint_service_id=None, enable_dns=None, dns_names=None, ip=None, vpc_id=None, subnet_id=None, created_at=None, updated_at=None, project_id=None, tags=None, error=None, whitelist=None, enable_whitelist=None, routetables=None, description=None, policy_statement=None, endpoint_pool_id=None, public_border_group=None): + def __init__(self, id=None, service_type=None, status=None, active_status=None, endpoint_service_name=None, marker_id=None, endpoint_service_id=None, ip=None, vpc_id=None, created_at=None, updated_at=None, project_id=None, tags=None, error=None, whitelist=None, enable_whitelist=None, routetables=None, description=None, policy_statement=None, endpoint_pool_id=None, public_border_group=None): """DeleteEndpointPolicyResponse The model defined in huaweicloud sdk :param id: 终端节点的ID,唯一标识。 :type id: str - :param service_type: 终端节点连接的终端节点服务类型。 ● gataway:由运维人员配置。用户无需创建,可直接使用。 ● interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。 + :param service_type: 终端节点连接的终端节点服务类型。 - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。 :type service_type: str - :param status: 终端节点的连接状态。 ● pendingAcceptance:待接受 ● creating:创建中 ● accepted:已接受 ● failed:失败 + :param status: 终端节点的连接状态。 - pendingAcceptance:待接受 - creating:创建中 - accepted:已接受 - rejected:已拒绝 - failed:失败 - deleting:删除中 :type status: str - :param active_status: 帐号状态。 ● frozen:冻结 ● active:解冻 + :param active_status: 帐号状态。 - frozen:冻结 - active:解冻 :type active_status: list[str] :param endpoint_service_name: 终端节点服务的名称。 :type endpoint_service_name: str @@ -90,20 +84,14 @@ def __init__(self, id=None, service_type=None, status=None, active_status=None, :type marker_id: int :param endpoint_service_id: 终端节点服务的ID。 :type endpoint_service_id: str - :param enable_dns: 是否创建域名。 ● true:创建域名 ● false:不创建域名 说明 当创建连接gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。 - :type enable_dns: bool - :param dns_names: 访问所连接的终端节点服务的域名。 当“enable_dns”为true时,该参数可见。 - :type dns_names: list[str] :param ip: 访问所连接的终端节点服务的IP。 仅当同时满足如下条件时,返回该参数: 当查询连接interface类型终端节点服务的终端节点时。 终端节点服务启用“连接审批”功能,且已经“接受”连接审批。 “status”可以是“accepted”或者“rejected(仅支持“接受”连接审批后再“拒绝”的情况)”。 :type ip: str :param vpc_id: 终端节点所在的VPC的ID。 :type vpc_id: str - :param subnet_id: vpc_id对应VPC下已创建的网络(network)的ID,UUID格式。 - :type subnet_id: str :param created_at: 终端节点的创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ - :type created_at: str + :type created_at: datetime :param updated_at: 终端节点的更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ - :type updated_at: str + :type updated_at: datetime :param project_id: 项目ID,获取方法请参见获取项目ID。 :type project_id: str :param tags: 标签列表,没有标签默认为空数组。 @@ -112,7 +100,7 @@ def __init__(self, id=None, service_type=None, status=None, active_status=None, :type error: list[:class:`huaweicloudsdkvpcep.v1.QueryError`] :param whitelist: 控制访问终端节点的白名单。 若未创建,则返回空列表。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。 :type whitelist: list[str] - :param enable_whitelist: 是否开启网络ACL隔离。 ● true:开启网络ACL隔离 ● false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。 + :param enable_whitelist: 是否开启网络ACL隔离。 - true:开启网络ACL隔离 - false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。 :type enable_whitelist: bool :param routetables: 路由表ID列表。 若未指定,返回默认VPC下路由表ID。 创建连接Gateway类型终端节点服务的终端节点时,显示此参数。 :type routetables: list[str] @@ -135,11 +123,8 @@ def __init__(self, id=None, service_type=None, status=None, active_status=None, self._endpoint_service_name = None self._marker_id = None self._endpoint_service_id = None - self._enable_dns = None - self._dns_names = None self._ip = None self._vpc_id = None - self._subnet_id = None self._created_at = None self._updated_at = None self._project_id = None @@ -168,16 +153,10 @@ def __init__(self, id=None, service_type=None, status=None, active_status=None, self.marker_id = marker_id if endpoint_service_id is not None: self.endpoint_service_id = endpoint_service_id - if enable_dns is not None: - self.enable_dns = enable_dns - if dns_names is not None: - self.dns_names = dns_names if ip is not None: self.ip = ip if vpc_id is not None: self.vpc_id = vpc_id - if subnet_id is not None: - self.subnet_id = subnet_id if created_at is not None: self.created_at = created_at if updated_at is not None: @@ -229,7 +208,7 @@ def id(self, id): def service_type(self): """Gets the service_type of this DeleteEndpointPolicyResponse. - 终端节点连接的终端节点服务类型。 ● gataway:由运维人员配置。用户无需创建,可直接使用。 ● interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。 + 终端节点连接的终端节点服务类型。 - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。 :return: The service_type of this DeleteEndpointPolicyResponse. :rtype: str @@ -240,7 +219,7 @@ def service_type(self): def service_type(self, service_type): """Sets the service_type of this DeleteEndpointPolicyResponse. - 终端节点连接的终端节点服务类型。 ● gataway:由运维人员配置。用户无需创建,可直接使用。 ● interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。 + 终端节点连接的终端节点服务类型。 - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。 :param service_type: The service_type of this DeleteEndpointPolicyResponse. :type service_type: str @@ -251,7 +230,7 @@ def service_type(self, service_type): def status(self): """Gets the status of this DeleteEndpointPolicyResponse. - 终端节点的连接状态。 ● pendingAcceptance:待接受 ● creating:创建中 ● accepted:已接受 ● failed:失败 + 终端节点的连接状态。 - pendingAcceptance:待接受 - creating:创建中 - accepted:已接受 - rejected:已拒绝 - failed:失败 - deleting:删除中 :return: The status of this DeleteEndpointPolicyResponse. :rtype: str @@ -262,7 +241,7 @@ def status(self): def status(self, status): """Sets the status of this DeleteEndpointPolicyResponse. - 终端节点的连接状态。 ● pendingAcceptance:待接受 ● creating:创建中 ● accepted:已接受 ● failed:失败 + 终端节点的连接状态。 - pendingAcceptance:待接受 - creating:创建中 - accepted:已接受 - rejected:已拒绝 - failed:失败 - deleting:删除中 :param status: The status of this DeleteEndpointPolicyResponse. :type status: str @@ -273,7 +252,7 @@ def status(self, status): def active_status(self): """Gets the active_status of this DeleteEndpointPolicyResponse. - 帐号状态。 ● frozen:冻结 ● active:解冻 + 帐号状态。 - frozen:冻结 - active:解冻 :return: The active_status of this DeleteEndpointPolicyResponse. :rtype: list[str] @@ -284,7 +263,7 @@ def active_status(self): def active_status(self, active_status): """Sets the active_status of this DeleteEndpointPolicyResponse. - 帐号状态。 ● frozen:冻结 ● active:解冻 + 帐号状态。 - frozen:冻结 - active:解冻 :param active_status: The active_status of this DeleteEndpointPolicyResponse. :type active_status: list[str] @@ -357,50 +336,6 @@ def endpoint_service_id(self, endpoint_service_id): """ self._endpoint_service_id = endpoint_service_id - @property - def enable_dns(self): - """Gets the enable_dns of this DeleteEndpointPolicyResponse. - - 是否创建域名。 ● true:创建域名 ● false:不创建域名 说明 当创建连接gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。 - - :return: The enable_dns of this DeleteEndpointPolicyResponse. - :rtype: bool - """ - return self._enable_dns - - @enable_dns.setter - def enable_dns(self, enable_dns): - """Sets the enable_dns of this DeleteEndpointPolicyResponse. - - 是否创建域名。 ● true:创建域名 ● false:不创建域名 说明 当创建连接gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。 - - :param enable_dns: The enable_dns of this DeleteEndpointPolicyResponse. - :type enable_dns: bool - """ - self._enable_dns = enable_dns - - @property - def dns_names(self): - """Gets the dns_names of this DeleteEndpointPolicyResponse. - - 访问所连接的终端节点服务的域名。 当“enable_dns”为true时,该参数可见。 - - :return: The dns_names of this DeleteEndpointPolicyResponse. - :rtype: list[str] - """ - return self._dns_names - - @dns_names.setter - def dns_names(self, dns_names): - """Sets the dns_names of this DeleteEndpointPolicyResponse. - - 访问所连接的终端节点服务的域名。 当“enable_dns”为true时,该参数可见。 - - :param dns_names: The dns_names of this DeleteEndpointPolicyResponse. - :type dns_names: list[str] - """ - self._dns_names = dns_names - @property def ip(self): """Gets the ip of this DeleteEndpointPolicyResponse. @@ -445,28 +380,6 @@ def vpc_id(self, vpc_id): """ self._vpc_id = vpc_id - @property - def subnet_id(self): - """Gets the subnet_id of this DeleteEndpointPolicyResponse. - - vpc_id对应VPC下已创建的网络(network)的ID,UUID格式。 - - :return: The subnet_id of this DeleteEndpointPolicyResponse. - :rtype: str - """ - return self._subnet_id - - @subnet_id.setter - def subnet_id(self, subnet_id): - """Sets the subnet_id of this DeleteEndpointPolicyResponse. - - vpc_id对应VPC下已创建的网络(network)的ID,UUID格式。 - - :param subnet_id: The subnet_id of this DeleteEndpointPolicyResponse. - :type subnet_id: str - """ - self._subnet_id = subnet_id - @property def created_at(self): """Gets the created_at of this DeleteEndpointPolicyResponse. @@ -474,7 +387,7 @@ def created_at(self): 终端节点的创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ :return: The created_at of this DeleteEndpointPolicyResponse. - :rtype: str + :rtype: datetime """ return self._created_at @@ -485,7 +398,7 @@ def created_at(self, created_at): 终端节点的创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ :param created_at: The created_at of this DeleteEndpointPolicyResponse. - :type created_at: str + :type created_at: datetime """ self._created_at = created_at @@ -496,7 +409,7 @@ def updated_at(self): 终端节点的更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ :return: The updated_at of this DeleteEndpointPolicyResponse. - :rtype: str + :rtype: datetime """ return self._updated_at @@ -507,7 +420,7 @@ def updated_at(self, updated_at): 终端节点的更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ :param updated_at: The updated_at of this DeleteEndpointPolicyResponse. - :type updated_at: str + :type updated_at: datetime """ self._updated_at = updated_at @@ -603,7 +516,7 @@ def whitelist(self, whitelist): def enable_whitelist(self): """Gets the enable_whitelist of this DeleteEndpointPolicyResponse. - 是否开启网络ACL隔离。 ● true:开启网络ACL隔离 ● false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。 + 是否开启网络ACL隔离。 - true:开启网络ACL隔离 - false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。 :return: The enable_whitelist of this DeleteEndpointPolicyResponse. :rtype: bool @@ -614,7 +527,7 @@ def enable_whitelist(self): def enable_whitelist(self, enable_whitelist): """Sets the enable_whitelist of this DeleteEndpointPolicyResponse. - 是否开启网络ACL隔离。 ● true:开启网络ACL隔离 ● false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。 + 是否开启网络ACL隔离。 - true:开启网络ACL隔离 - false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。 :param enable_whitelist: The enable_whitelist of this DeleteEndpointPolicyResponse. :type enable_whitelist: bool diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/endpoint_resp.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/endpoint_response_body.py similarity index 68% rename from huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/endpoint_resp.py rename to huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/endpoint_response_body.py index 74000d5ba3..30f80035ec 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/endpoint_resp.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/endpoint_response_body.py @@ -5,7 +5,7 @@ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class EndpointResp: +class EndpointResponseBody: """ Attributes: @@ -29,8 +29,8 @@ class EndpointResp: 'ip': 'str', 'vpc_id': 'str', 'subnet_id': 'str', - 'created_at': 'str', - 'updated_at': 'str', + 'created_at': 'datetime', + 'updated_at': 'datetime', 'project_id': 'str', 'tags': 'list[TagList]', 'error': 'list[QueryError]', @@ -71,17 +71,17 @@ class EndpointResp: } def __init__(self, id=None, service_type=None, status=None, active_status=None, endpoint_service_name=None, marker_id=None, endpoint_service_id=None, enable_dns=None, dns_names=None, ip=None, vpc_id=None, subnet_id=None, created_at=None, updated_at=None, project_id=None, tags=None, error=None, whitelist=None, enable_whitelist=None, routetables=None, description=None, policy_statement=None, endpoint_pool_id=None, public_border_group=None): - """EndpointResp + """EndpointResponseBody The model defined in huaweicloud sdk :param id: 终端节点的ID,唯一标识。 :type id: str - :param service_type: 终端节点连接的终端节点服务类型。 ● gataway:由运维人员配置。用户无需创建,可直接使用。 ● interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。 + :param service_type: 终端节点连接的终端节点服务类型。 - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。 :type service_type: str - :param status: 终端节点的连接状态。 ● pendingAcceptance:待接受 ● creating:创建中 ● accepted:已接受 ● failed:失败 + :param status: 终端节点的连接状态。 - pendingAcceptance:待接受 - creating:创建中 - accepted:已接受 - rejected:已拒绝 - failed:失败 - deleting:删除中 :type status: str - :param active_status: 帐号状态。 ● frozen:冻结 ● active:解冻 + :param active_status: 帐号状态。 - frozen:冻结 - active:解冻 :type active_status: list[str] :param endpoint_service_name: 终端节点服务的名称。 :type endpoint_service_name: str @@ -89,7 +89,7 @@ def __init__(self, id=None, service_type=None, status=None, active_status=None, :type marker_id: int :param endpoint_service_id: 终端节点服务的ID。 :type endpoint_service_id: str - :param enable_dns: 是否创建域名。 ● true:创建域名 ● false:不创建域名 说明 当创建连接gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。 + :param enable_dns: 是否创建域名。 - true:创建域名 - false:不创建域名 说明 当创建连接gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。 :type enable_dns: bool :param dns_names: 访问所连接的终端节点服务的域名。 当“enable_dns”为true时,该参数可见。 :type dns_names: list[str] @@ -100,9 +100,9 @@ def __init__(self, id=None, service_type=None, status=None, active_status=None, :param subnet_id: vpc_id对应VPC下已创建的网络(network)的ID,UUID格式。 :type subnet_id: str :param created_at: 终端节点的创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ - :type created_at: str + :type created_at: datetime :param updated_at: 终端节点的更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ - :type updated_at: str + :type updated_at: datetime :param project_id: 项目ID,获取方法请参见获取项目ID。 :type project_id: str :param tags: 标签列表,没有标签默认为空数组。 @@ -111,7 +111,7 @@ def __init__(self, id=None, service_type=None, status=None, active_status=None, :type error: list[:class:`huaweicloudsdkvpcep.v1.QueryError`] :param whitelist: 控制访问终端节点的白名单。 若未创建,则返回空列表。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。 :type whitelist: list[str] - :param enable_whitelist: 是否开启网络ACL隔离。 ● true:开启网络ACL隔离 ● false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。 + :param enable_whitelist: 是否开启网络ACL隔离。 - true:开启网络ACL隔离 - false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。 :type enable_whitelist: bool :param routetables: 路由表ID列表。 若未指定,返回默认VPC下路由表ID。 创建连接Gateway类型终端节点服务的终端节点时,显示此参数。 :type routetables: list[str] @@ -204,528 +204,528 @@ def __init__(self, id=None, service_type=None, status=None, active_status=None, @property def id(self): - """Gets the id of this EndpointResp. + """Gets the id of this EndpointResponseBody. 终端节点的ID,唯一标识。 - :return: The id of this EndpointResp. + :return: The id of this EndpointResponseBody. :rtype: str """ return self._id @id.setter def id(self, id): - """Sets the id of this EndpointResp. + """Sets the id of this EndpointResponseBody. 终端节点的ID,唯一标识。 - :param id: The id of this EndpointResp. + :param id: The id of this EndpointResponseBody. :type id: str """ self._id = id @property def service_type(self): - """Gets the service_type of this EndpointResp. + """Gets the service_type of this EndpointResponseBody. - 终端节点连接的终端节点服务类型。 ● gataway:由运维人员配置。用户无需创建,可直接使用。 ● interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。 + 终端节点连接的终端节点服务类型。 - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。 - :return: The service_type of this EndpointResp. + :return: The service_type of this EndpointResponseBody. :rtype: str """ return self._service_type @service_type.setter def service_type(self, service_type): - """Sets the service_type of this EndpointResp. + """Sets the service_type of this EndpointResponseBody. - 终端节点连接的终端节点服务类型。 ● gataway:由运维人员配置。用户无需创建,可直接使用。 ● interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。 + 终端节点连接的终端节点服务类型。 - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。 - :param service_type: The service_type of this EndpointResp. + :param service_type: The service_type of this EndpointResponseBody. :type service_type: str """ self._service_type = service_type @property def status(self): - """Gets the status of this EndpointResp. + """Gets the status of this EndpointResponseBody. - 终端节点的连接状态。 ● pendingAcceptance:待接受 ● creating:创建中 ● accepted:已接受 ● failed:失败 + 终端节点的连接状态。 - pendingAcceptance:待接受 - creating:创建中 - accepted:已接受 - rejected:已拒绝 - failed:失败 - deleting:删除中 - :return: The status of this EndpointResp. + :return: The status of this EndpointResponseBody. :rtype: str """ return self._status @status.setter def status(self, status): - """Sets the status of this EndpointResp. + """Sets the status of this EndpointResponseBody. - 终端节点的连接状态。 ● pendingAcceptance:待接受 ● creating:创建中 ● accepted:已接受 ● failed:失败 + 终端节点的连接状态。 - pendingAcceptance:待接受 - creating:创建中 - accepted:已接受 - rejected:已拒绝 - failed:失败 - deleting:删除中 - :param status: The status of this EndpointResp. + :param status: The status of this EndpointResponseBody. :type status: str """ self._status = status @property def active_status(self): - """Gets the active_status of this EndpointResp. + """Gets the active_status of this EndpointResponseBody. - 帐号状态。 ● frozen:冻结 ● active:解冻 + 帐号状态。 - frozen:冻结 - active:解冻 - :return: The active_status of this EndpointResp. + :return: The active_status of this EndpointResponseBody. :rtype: list[str] """ return self._active_status @active_status.setter def active_status(self, active_status): - """Sets the active_status of this EndpointResp. + """Sets the active_status of this EndpointResponseBody. - 帐号状态。 ● frozen:冻结 ● active:解冻 + 帐号状态。 - frozen:冻结 - active:解冻 - :param active_status: The active_status of this EndpointResp. + :param active_status: The active_status of this EndpointResponseBody. :type active_status: list[str] """ self._active_status = active_status @property def endpoint_service_name(self): - """Gets the endpoint_service_name of this EndpointResp. + """Gets the endpoint_service_name of this EndpointResponseBody. 终端节点服务的名称。 - :return: The endpoint_service_name of this EndpointResp. + :return: The endpoint_service_name of this EndpointResponseBody. :rtype: str """ return self._endpoint_service_name @endpoint_service_name.setter def endpoint_service_name(self, endpoint_service_name): - """Sets the endpoint_service_name of this EndpointResp. + """Sets the endpoint_service_name of this EndpointResponseBody. 终端节点服务的名称。 - :param endpoint_service_name: The endpoint_service_name of this EndpointResp. + :param endpoint_service_name: The endpoint_service_name of this EndpointResponseBody. :type endpoint_service_name: str """ self._endpoint_service_name = endpoint_service_name @property def marker_id(self): - """Gets the marker_id of this EndpointResp. + """Gets the marker_id of this EndpointResponseBody. 终端节点的报文标识。 - :return: The marker_id of this EndpointResp. + :return: The marker_id of this EndpointResponseBody. :rtype: int """ return self._marker_id @marker_id.setter def marker_id(self, marker_id): - """Sets the marker_id of this EndpointResp. + """Sets the marker_id of this EndpointResponseBody. 终端节点的报文标识。 - :param marker_id: The marker_id of this EndpointResp. + :param marker_id: The marker_id of this EndpointResponseBody. :type marker_id: int """ self._marker_id = marker_id @property def endpoint_service_id(self): - """Gets the endpoint_service_id of this EndpointResp. + """Gets the endpoint_service_id of this EndpointResponseBody. 终端节点服务的ID。 - :return: The endpoint_service_id of this EndpointResp. + :return: The endpoint_service_id of this EndpointResponseBody. :rtype: str """ return self._endpoint_service_id @endpoint_service_id.setter def endpoint_service_id(self, endpoint_service_id): - """Sets the endpoint_service_id of this EndpointResp. + """Sets the endpoint_service_id of this EndpointResponseBody. 终端节点服务的ID。 - :param endpoint_service_id: The endpoint_service_id of this EndpointResp. + :param endpoint_service_id: The endpoint_service_id of this EndpointResponseBody. :type endpoint_service_id: str """ self._endpoint_service_id = endpoint_service_id @property def enable_dns(self): - """Gets the enable_dns of this EndpointResp. + """Gets the enable_dns of this EndpointResponseBody. - 是否创建域名。 ● true:创建域名 ● false:不创建域名 说明 当创建连接gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。 + 是否创建域名。 - true:创建域名 - false:不创建域名 说明 当创建连接gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。 - :return: The enable_dns of this EndpointResp. + :return: The enable_dns of this EndpointResponseBody. :rtype: bool """ return self._enable_dns @enable_dns.setter def enable_dns(self, enable_dns): - """Sets the enable_dns of this EndpointResp. + """Sets the enable_dns of this EndpointResponseBody. - 是否创建域名。 ● true:创建域名 ● false:不创建域名 说明 当创建连接gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。 + 是否创建域名。 - true:创建域名 - false:不创建域名 说明 当创建连接gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。 - :param enable_dns: The enable_dns of this EndpointResp. + :param enable_dns: The enable_dns of this EndpointResponseBody. :type enable_dns: bool """ self._enable_dns = enable_dns @property def dns_names(self): - """Gets the dns_names of this EndpointResp. + """Gets the dns_names of this EndpointResponseBody. 访问所连接的终端节点服务的域名。 当“enable_dns”为true时,该参数可见。 - :return: The dns_names of this EndpointResp. + :return: The dns_names of this EndpointResponseBody. :rtype: list[str] """ return self._dns_names @dns_names.setter def dns_names(self, dns_names): - """Sets the dns_names of this EndpointResp. + """Sets the dns_names of this EndpointResponseBody. 访问所连接的终端节点服务的域名。 当“enable_dns”为true时,该参数可见。 - :param dns_names: The dns_names of this EndpointResp. + :param dns_names: The dns_names of this EndpointResponseBody. :type dns_names: list[str] """ self._dns_names = dns_names @property def ip(self): - """Gets the ip of this EndpointResp. + """Gets the ip of this EndpointResponseBody. 访问所连接的终端节点服务的IP。 仅当同时满足如下条件时,返回该参数: 当查询连接interface类型终端节点服务的终端节点时。 终端节点服务启用“连接审批”功能,且已经“接受”连接审批。 “status”可以是“accepted”或者“rejected(仅支持“接受”连接审批后再“拒绝”的情况)”。 - :return: The ip of this EndpointResp. + :return: The ip of this EndpointResponseBody. :rtype: str """ return self._ip @ip.setter def ip(self, ip): - """Sets the ip of this EndpointResp. + """Sets the ip of this EndpointResponseBody. 访问所连接的终端节点服务的IP。 仅当同时满足如下条件时,返回该参数: 当查询连接interface类型终端节点服务的终端节点时。 终端节点服务启用“连接审批”功能,且已经“接受”连接审批。 “status”可以是“accepted”或者“rejected(仅支持“接受”连接审批后再“拒绝”的情况)”。 - :param ip: The ip of this EndpointResp. + :param ip: The ip of this EndpointResponseBody. :type ip: str """ self._ip = ip @property def vpc_id(self): - """Gets the vpc_id of this EndpointResp. + """Gets the vpc_id of this EndpointResponseBody. 终端节点所在的VPC的ID。 - :return: The vpc_id of this EndpointResp. + :return: The vpc_id of this EndpointResponseBody. :rtype: str """ return self._vpc_id @vpc_id.setter def vpc_id(self, vpc_id): - """Sets the vpc_id of this EndpointResp. + """Sets the vpc_id of this EndpointResponseBody. 终端节点所在的VPC的ID。 - :param vpc_id: The vpc_id of this EndpointResp. + :param vpc_id: The vpc_id of this EndpointResponseBody. :type vpc_id: str """ self._vpc_id = vpc_id @property def subnet_id(self): - """Gets the subnet_id of this EndpointResp. + """Gets the subnet_id of this EndpointResponseBody. vpc_id对应VPC下已创建的网络(network)的ID,UUID格式。 - :return: The subnet_id of this EndpointResp. + :return: The subnet_id of this EndpointResponseBody. :rtype: str """ return self._subnet_id @subnet_id.setter def subnet_id(self, subnet_id): - """Sets the subnet_id of this EndpointResp. + """Sets the subnet_id of this EndpointResponseBody. vpc_id对应VPC下已创建的网络(network)的ID,UUID格式。 - :param subnet_id: The subnet_id of this EndpointResp. + :param subnet_id: The subnet_id of this EndpointResponseBody. :type subnet_id: str """ self._subnet_id = subnet_id @property def created_at(self): - """Gets the created_at of this EndpointResp. + """Gets the created_at of this EndpointResponseBody. 终端节点的创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ - :return: The created_at of this EndpointResp. - :rtype: str + :return: The created_at of this EndpointResponseBody. + :rtype: datetime """ return self._created_at @created_at.setter def created_at(self, created_at): - """Sets the created_at of this EndpointResp. + """Sets the created_at of this EndpointResponseBody. 终端节点的创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ - :param created_at: The created_at of this EndpointResp. - :type created_at: str + :param created_at: The created_at of this EndpointResponseBody. + :type created_at: datetime """ self._created_at = created_at @property def updated_at(self): - """Gets the updated_at of this EndpointResp. + """Gets the updated_at of this EndpointResponseBody. 终端节点的更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ - :return: The updated_at of this EndpointResp. - :rtype: str + :return: The updated_at of this EndpointResponseBody. + :rtype: datetime """ return self._updated_at @updated_at.setter def updated_at(self, updated_at): - """Sets the updated_at of this EndpointResp. + """Sets the updated_at of this EndpointResponseBody. 终端节点的更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ - :param updated_at: The updated_at of this EndpointResp. - :type updated_at: str + :param updated_at: The updated_at of this EndpointResponseBody. + :type updated_at: datetime """ self._updated_at = updated_at @property def project_id(self): - """Gets the project_id of this EndpointResp. + """Gets the project_id of this EndpointResponseBody. 项目ID,获取方法请参见获取项目ID。 - :return: The project_id of this EndpointResp. + :return: The project_id of this EndpointResponseBody. :rtype: str """ return self._project_id @project_id.setter def project_id(self, project_id): - """Sets the project_id of this EndpointResp. + """Sets the project_id of this EndpointResponseBody. 项目ID,获取方法请参见获取项目ID。 - :param project_id: The project_id of this EndpointResp. + :param project_id: The project_id of this EndpointResponseBody. :type project_id: str """ self._project_id = project_id @property def tags(self): - """Gets the tags of this EndpointResp. + """Gets the tags of this EndpointResponseBody. 标签列表,没有标签默认为空数组。 - :return: The tags of this EndpointResp. + :return: The tags of this EndpointResponseBody. :rtype: list[:class:`huaweicloudsdkvpcep.v1.TagList`] """ return self._tags @tags.setter def tags(self, tags): - """Sets the tags of this EndpointResp. + """Sets the tags of this EndpointResponseBody. 标签列表,没有标签默认为空数组。 - :param tags: The tags of this EndpointResp. + :param tags: The tags of this EndpointResponseBody. :type tags: list[:class:`huaweicloudsdkvpcep.v1.TagList`] """ self._tags = tags @property def error(self): - """Gets the error of this EndpointResp. + """Gets the error of this EndpointResponseBody. 错误信息。 当终端节点状态异常,即“status”的值为“failed”时,会返回该字段。 - :return: The error of this EndpointResp. + :return: The error of this EndpointResponseBody. :rtype: list[:class:`huaweicloudsdkvpcep.v1.QueryError`] """ return self._error @error.setter def error(self, error): - """Sets the error of this EndpointResp. + """Sets the error of this EndpointResponseBody. 错误信息。 当终端节点状态异常,即“status”的值为“failed”时,会返回该字段。 - :param error: The error of this EndpointResp. + :param error: The error of this EndpointResponseBody. :type error: list[:class:`huaweicloudsdkvpcep.v1.QueryError`] """ self._error = error @property def whitelist(self): - """Gets the whitelist of this EndpointResp. + """Gets the whitelist of this EndpointResponseBody. 控制访问终端节点的白名单。 若未创建,则返回空列表。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。 - :return: The whitelist of this EndpointResp. + :return: The whitelist of this EndpointResponseBody. :rtype: list[str] """ return self._whitelist @whitelist.setter def whitelist(self, whitelist): - """Sets the whitelist of this EndpointResp. + """Sets the whitelist of this EndpointResponseBody. 控制访问终端节点的白名单。 若未创建,则返回空列表。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。 - :param whitelist: The whitelist of this EndpointResp. + :param whitelist: The whitelist of this EndpointResponseBody. :type whitelist: list[str] """ self._whitelist = whitelist @property def enable_whitelist(self): - """Gets the enable_whitelist of this EndpointResp. + """Gets the enable_whitelist of this EndpointResponseBody. - 是否开启网络ACL隔离。 ● true:开启网络ACL隔离 ● false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。 + 是否开启网络ACL隔离。 - true:开启网络ACL隔离 - false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。 - :return: The enable_whitelist of this EndpointResp. + :return: The enable_whitelist of this EndpointResponseBody. :rtype: bool """ return self._enable_whitelist @enable_whitelist.setter def enable_whitelist(self, enable_whitelist): - """Sets the enable_whitelist of this EndpointResp. + """Sets the enable_whitelist of this EndpointResponseBody. - 是否开启网络ACL隔离。 ● true:开启网络ACL隔离 ● false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。 + 是否开启网络ACL隔离。 - true:开启网络ACL隔离 - false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。 - :param enable_whitelist: The enable_whitelist of this EndpointResp. + :param enable_whitelist: The enable_whitelist of this EndpointResponseBody. :type enable_whitelist: bool """ self._enable_whitelist = enable_whitelist @property def routetables(self): - """Gets the routetables of this EndpointResp. + """Gets the routetables of this EndpointResponseBody. 路由表ID列表。 若未指定,返回默认VPC下路由表ID。 创建连接Gateway类型终端节点服务的终端节点时,显示此参数。 - :return: The routetables of this EndpointResp. + :return: The routetables of this EndpointResponseBody. :rtype: list[str] """ return self._routetables @routetables.setter def routetables(self, routetables): - """Sets the routetables of this EndpointResp. + """Sets the routetables of this EndpointResponseBody. 路由表ID列表。 若未指定,返回默认VPC下路由表ID。 创建连接Gateway类型终端节点服务的终端节点时,显示此参数。 - :param routetables: The routetables of this EndpointResp. + :param routetables: The routetables of this EndpointResponseBody. :type routetables: list[str] """ self._routetables = routetables @property def description(self): - """Gets the description of this EndpointResp. + """Gets the description of this EndpointResponseBody. 描述字段,支持中英文字母、数字等字符,不支持“<”或“>”字符。 - :return: The description of this EndpointResp. + :return: The description of this EndpointResponseBody. :rtype: str """ return self._description @description.setter def description(self, description): - """Sets the description of this EndpointResp. + """Sets the description of this EndpointResponseBody. 描述字段,支持中英文字母、数字等字符,不支持“<”或“>”字符。 - :param description: The description of this EndpointResp. + :param description: The description of this EndpointResponseBody. :type description: str """ self._description = description @property def policy_statement(self): - """Gets the policy_statement of this EndpointResp. + """Gets the policy_statement of this EndpointResponseBody. 只涉及开启双端固定的网关型终端节点,响应体展示此字段 - :return: The policy_statement of this EndpointResp. + :return: The policy_statement of this EndpointResponseBody. :rtype: list[:class:`huaweicloudsdkvpcep.v1.PolicyStatement`] """ return self._policy_statement @policy_statement.setter def policy_statement(self, policy_statement): - """Sets the policy_statement of this EndpointResp. + """Sets the policy_statement of this EndpointResponseBody. 只涉及开启双端固定的网关型终端节点,响应体展示此字段 - :param policy_statement: The policy_statement of this EndpointResp. + :param policy_statement: The policy_statement of this EndpointResponseBody. :type policy_statement: list[:class:`huaweicloudsdkvpcep.v1.PolicyStatement`] """ self._policy_statement = policy_statement @property def endpoint_pool_id(self): - """Gets the endpoint_pool_id of this EndpointResp. + """Gets the endpoint_pool_id of this EndpointResponseBody. 待废弃,实例相关联的集群ID - :return: The endpoint_pool_id of this EndpointResp. + :return: The endpoint_pool_id of this EndpointResponseBody. :rtype: str """ return self._endpoint_pool_id @endpoint_pool_id.setter def endpoint_pool_id(self, endpoint_pool_id): - """Sets the endpoint_pool_id of this EndpointResp. + """Sets the endpoint_pool_id of this EndpointResponseBody. 待废弃,实例相关联的集群ID - :param endpoint_pool_id: The endpoint_pool_id of this EndpointResp. + :param endpoint_pool_id: The endpoint_pool_id of this EndpointResponseBody. :type endpoint_pool_id: str """ self._endpoint_pool_id = endpoint_pool_id @property def public_border_group(self): - """Gets the public_border_group of this EndpointResp. + """Gets the public_border_group of this EndpointResponseBody. 终端节点关联的Public Border Group信息,只有当终端节点和边缘Pool相关联时才会返回改字段 - :return: The public_border_group of this EndpointResp. + :return: The public_border_group of this EndpointResponseBody. :rtype: str """ return self._public_border_group @public_border_group.setter def public_border_group(self, public_border_group): - """Sets the public_border_group of this EndpointResp. + """Sets the public_border_group of this EndpointResponseBody. 终端节点关联的Public Border Group信息,只有当终端节点和边缘Pool相关联时才会返回改字段 - :param public_border_group: The public_border_group of this EndpointResp. + :param public_border_group: The public_border_group of this EndpointResponseBody. :type public_border_group: str """ self._public_border_group = public_border_group @@ -772,7 +772,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, EndpointResp): + if not isinstance(other, EndpointResponseBody): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/endpoint_service.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/endpoint_service.py index 1692f1e091..cac6d11b59 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/endpoint_service.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/endpoint_service.py @@ -21,7 +21,7 @@ class EndpointService: 'owner': 'str', 'service_name': 'str', 'service_type': 'str', - 'created_at': 'str', + 'created_at': 'datetime', 'is_charge': 'bool', 'enable_policy': 'bool' } @@ -47,13 +47,13 @@ def __init__(self, id=None, owner=None, service_name=None, service_type=None, cr :type owner: str :param service_name: 公共终端节点服务的名称。 :type service_name: str - :param service_type: 终端节点服务类型。 ● gataway:由运维人员配置。用户无需创建,可直接使用。 ● interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建, 用户可直接使用。 您可以通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节点。 + :param service_type: 终端节点服务类型。 - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建, 用户可直接使用。 您可以通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节点。 :type service_type: str :param created_at: 终端节点服务的创建时间。 采用UTC时间格式,格式为:YYYYMM-DDTHH:MM:SSZ - :type created_at: str - :param is_charge: 连接该终端节点服务的终端节点是否计费。 ● true:计费 ● false:不计费 + :type created_at: datetime + :param is_charge: 连接该终端节点服务的终端节点是否计费。 - true:计费 - false:不计费 :type is_charge: bool - :param enable_policy: 是否开启终端节点策略。 ● false:不支持设置终端节点策略 ● true:支持设置终端节点策略 默认为false 是否开启终端节点策略。 ● false:不支持设置终端节点策略 ● true:支持设置终端节点策略 默认为false + :param enable_policy: 是否开启终端节点策略。 - false:不支持设置终端节点策略 - true:支持设置终端节点策略 默认为false 是否开启终端节点策略。 - false:不支持设置终端节点策略 - true:支持设置终端节点策略 默认为false :type enable_policy: bool """ @@ -153,7 +153,7 @@ def service_name(self, service_name): def service_type(self): """Gets the service_type of this EndpointService. - 终端节点服务类型。 ● gataway:由运维人员配置。用户无需创建,可直接使用。 ● interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建, 用户可直接使用。 您可以通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节点。 + 终端节点服务类型。 - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建, 用户可直接使用。 您可以通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节点。 :return: The service_type of this EndpointService. :rtype: str @@ -164,7 +164,7 @@ def service_type(self): def service_type(self, service_type): """Sets the service_type of this EndpointService. - 终端节点服务类型。 ● gataway:由运维人员配置。用户无需创建,可直接使用。 ● interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建, 用户可直接使用。 您可以通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节点。 + 终端节点服务类型。 - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建, 用户可直接使用。 您可以通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节点。 :param service_type: The service_type of this EndpointService. :type service_type: str @@ -178,7 +178,7 @@ def created_at(self): 终端节点服务的创建时间。 采用UTC时间格式,格式为:YYYYMM-DDTHH:MM:SSZ :return: The created_at of this EndpointService. - :rtype: str + :rtype: datetime """ return self._created_at @@ -189,7 +189,7 @@ def created_at(self, created_at): 终端节点服务的创建时间。 采用UTC时间格式,格式为:YYYYMM-DDTHH:MM:SSZ :param created_at: The created_at of this EndpointService. - :type created_at: str + :type created_at: datetime """ self._created_at = created_at @@ -197,7 +197,7 @@ def created_at(self, created_at): def is_charge(self): """Gets the is_charge of this EndpointService. - 连接该终端节点服务的终端节点是否计费。 ● true:计费 ● false:不计费 + 连接该终端节点服务的终端节点是否计费。 - true:计费 - false:不计费 :return: The is_charge of this EndpointService. :rtype: bool @@ -208,7 +208,7 @@ def is_charge(self): def is_charge(self, is_charge): """Sets the is_charge of this EndpointService. - 连接该终端节点服务的终端节点是否计费。 ● true:计费 ● false:不计费 + 连接该终端节点服务的终端节点是否计费。 - true:计费 - false:不计费 :param is_charge: The is_charge of this EndpointService. :type is_charge: bool @@ -219,7 +219,7 @@ def is_charge(self, is_charge): def enable_policy(self): """Gets the enable_policy of this EndpointService. - 是否开启终端节点策略。 ● false:不支持设置终端节点策略 ● true:支持设置终端节点策略 默认为false 是否开启终端节点策略。 ● false:不支持设置终端节点策略 ● true:支持设置终端节点策略 默认为false + 是否开启终端节点策略。 - false:不支持设置终端节点策略 - true:支持设置终端节点策略 默认为false 是否开启终端节点策略。 - false:不支持设置终端节点策略 - true:支持设置终端节点策略 默认为false :return: The enable_policy of this EndpointService. :rtype: bool @@ -230,7 +230,7 @@ def enable_policy(self): def enable_policy(self, enable_policy): """Sets the enable_policy of this EndpointService. - 是否开启终端节点策略。 ● false:不支持设置终端节点策略 ● true:支持设置终端节点策略 默认为false 是否开启终端节点策略。 ● false:不支持设置终端节点策略 ● true:支持设置终端节点策略 默认为false + 是否开启终端节点策略。 - false:不支持设置终端节点策略 - true:支持设置终端节点策略 默认为false 是否开启终端节点策略。 - false:不支持设置终端节点策略 - true:支持设置终端节点策略 默认为false :param enable_policy: The enable_policy of this EndpointService. :type enable_policy: bool diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/eps_add_permission_request.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/eps_add_permission_request.py index 50cb18db11..44133a7687 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/eps_add_permission_request.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/eps_add_permission_request.py @@ -31,7 +31,7 @@ def __init__(self, permission=None, description=None): The model defined in huaweicloud sdk - :param permission: 权限格式为:iam:domain::domain_id或者organizations:orgPath::org_path其中, ● “iam:domain::”和“organizations:orgPath::”为固定格式。 ● “domain_id”为可连接用户的帐号ID,org_path可连接用户的组织路径 domain_id类型支持输入包括“a~z”、“A~Z”、“0~9”或者“*,最大长度可以传64; org_path类型支持“a~z”、“A~Z”、“0~9”、“/-*?”或者“*”,最大长度可以传1024; 例如:iam:domain::6e9dfd51d1124e8d8498dce894923a0dd或者organizations:orgPath::o-3j59d1231uprgk9yuvlidra7zbzfi578/r-rldbu1vmxdw5ahdkknxnvd5rgag77m2z/ou-7tuddd8nh99rebxltawsm6qct5z7rklv/* + :param permission: permission列表。 权限格式为: - iam:domain::domain_id。其中: “iam:domain::”为固定格式,“domain_id”为可连接用户的帐号ID。 domain_id类型支持输入包括“a~z”、“A~Z”、“0~9”或者“*”,最大长度可以传64。 - organizations:orgPath::org_path。其中: “organizations:orgPath::”为固定格式,org_path为可连接用户的组织路径。 org_path类型支持“a~z”、“A~Z”、“0~9”、“/-*?”或者“*”,最大长度可以传1024。 “*”表示所有终端节点可连接。 示例: - iam:domain::6e9dfd51d1124e8d8498dce894923a0dd - organizations:orgPath::o-3j59d1231uprgk9yuvlidra7zbzfi578/r-rldbu1vmxdw5ahdkknxnvd5rgag77m2z/ou-7tuddd8nh99rebxltawsm6qct5z7rklv/* - * :type permission: str :param description: 终端节点服务白名单描述 :type description: str @@ -50,7 +50,7 @@ def __init__(self, permission=None, description=None): def permission(self): """Gets the permission of this EpsAddPermissionRequest. - 权限格式为:iam:domain::domain_id或者organizations:orgPath::org_path其中, ● “iam:domain::”和“organizations:orgPath::”为固定格式。 ● “domain_id”为可连接用户的帐号ID,org_path可连接用户的组织路径 domain_id类型支持输入包括“a~z”、“A~Z”、“0~9”或者“*,最大长度可以传64; org_path类型支持“a~z”、“A~Z”、“0~9”、“/-*?”或者“*”,最大长度可以传1024; 例如:iam:domain::6e9dfd51d1124e8d8498dce894923a0dd或者organizations:orgPath::o-3j59d1231uprgk9yuvlidra7zbzfi578/r-rldbu1vmxdw5ahdkknxnvd5rgag77m2z/ou-7tuddd8nh99rebxltawsm6qct5z7rklv/* + permission列表。 权限格式为: - iam:domain::domain_id。其中: “iam:domain::”为固定格式,“domain_id”为可连接用户的帐号ID。 domain_id类型支持输入包括“a~z”、“A~Z”、“0~9”或者“*”,最大长度可以传64。 - organizations:orgPath::org_path。其中: “organizations:orgPath::”为固定格式,org_path为可连接用户的组织路径。 org_path类型支持“a~z”、“A~Z”、“0~9”、“/-*?”或者“*”,最大长度可以传1024。 “*”表示所有终端节点可连接。 示例: - iam:domain::6e9dfd51d1124e8d8498dce894923a0dd - organizations:orgPath::o-3j59d1231uprgk9yuvlidra7zbzfi578/r-rldbu1vmxdw5ahdkknxnvd5rgag77m2z/ou-7tuddd8nh99rebxltawsm6qct5z7rklv/* - * :return: The permission of this EpsAddPermissionRequest. :rtype: str @@ -61,7 +61,7 @@ def permission(self): def permission(self, permission): """Sets the permission of this EpsAddPermissionRequest. - 权限格式为:iam:domain::domain_id或者organizations:orgPath::org_path其中, ● “iam:domain::”和“organizations:orgPath::”为固定格式。 ● “domain_id”为可连接用户的帐号ID,org_path可连接用户的组织路径 domain_id类型支持输入包括“a~z”、“A~Z”、“0~9”或者“*,最大长度可以传64; org_path类型支持“a~z”、“A~Z”、“0~9”、“/-*?”或者“*”,最大长度可以传1024; 例如:iam:domain::6e9dfd51d1124e8d8498dce894923a0dd或者organizations:orgPath::o-3j59d1231uprgk9yuvlidra7zbzfi578/r-rldbu1vmxdw5ahdkknxnvd5rgag77m2z/ou-7tuddd8nh99rebxltawsm6qct5z7rklv/* + permission列表。 权限格式为: - iam:domain::domain_id。其中: “iam:domain::”为固定格式,“domain_id”为可连接用户的帐号ID。 domain_id类型支持输入包括“a~z”、“A~Z”、“0~9”或者“*”,最大长度可以传64。 - organizations:orgPath::org_path。其中: “organizations:orgPath::”为固定格式,org_path为可连接用户的组织路径。 org_path类型支持“a~z”、“A~Z”、“0~9”、“/-*?”或者“*”,最大长度可以传1024。 “*”表示所有终端节点可连接。 示例: - iam:domain::6e9dfd51d1124e8d8498dce894923a0dd - organizations:orgPath::o-3j59d1231uprgk9yuvlidra7zbzfi578/r-rldbu1vmxdw5ahdkknxnvd5rgag77m2z/ou-7tuddd8nh99rebxltawsm6qct5z7rklv/* - * :param permission: The permission of this EpsAddPermissionRequest. :type permission: str diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/eps_permission.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/eps_permission.py index 194cbf97ba..cecb100f04 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/eps_permission.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/eps_permission.py @@ -21,7 +21,7 @@ class EpsPermission: 'permission': 'str', 'permission_type': 'str', 'description': 'str', - 'created_at': 'str' + 'created_at': 'datetime' } attribute_map = { @@ -39,14 +39,14 @@ def __init__(self, id=None, permission=None, permission_type=None, description=N :param id: 白名单表主键ID :type id: str - :param permission: 权限格式为:iam:domain::domain_id或者organizations:orgPath::org_path其中, ● “iam:domain::”和“organizations:orgPath::”为固定格式。 ● “domain_id”为可连接用户的帐号ID,org_path可连接用户的组织路径 domain_id类型支持输入包括“a~z”、“A~Z”、“0~9”或者“*”,org_path类型支持“a~z”、“A~Z”、“0~9”、“/-*?”或者“*”。 “*”表示所有终端节点可连接。 例如:iam:domain::6e9dfd51d1124e8d8498dce894923a0dd或者organizations:orgPath::o-3j59d1231uprgk9yuvlidra7zbzfi578/r-rldbu1vmxdw5ahdkknxnvd5rgag77m2z/ou-7tuddd8nh99rebxltawsm6qct5z7rklv/* + :param permission: permission列表。 权限格式为: - iam:domain::domain_id。其中: “iam:domain::”为固定格式,“domain_id”为可连接用户的帐号ID。 domain_id类型支持输入包括“a~z”、“A~Z”、“0~9”或者“*”,最大长度可以传64。 - organizations:orgPath::org_path。其中: “organizations:orgPath::”为固定格式,org_path为可连接用户的组织路径。 org_path类型支持“a~z”、“A~Z”、“0~9”、“/-*?”或者“*”,最大长度可以传1024。 “*”表示所有终端节点可连接。 示例: - iam:domain::6e9dfd51d1124e8d8498dce894923a0dd - organizations:orgPath::o-3j59d1231uprgk9yuvlidra7zbzfi578/r-rldbu1vmxdw5ahdkknxnvd5rgag77m2z/ou-7tuddd8nh99rebxltawsm6qct5z7rklv/* - * :type permission: str - :param permission_type: 终端节点服务白名单类型。 ● domainId:基于账户ID配置终端节点服务白名单。 ● orgPath:基于账户所在组织路径配置终端节点服务白名单。 + :param permission_type: 终端节点服务白名单类型。 - domainId:基于账户ID配置终端节点服务白名单。 - orgPath:基于账户所在组织路径配置终端节点服务白名单。 :type permission_type: str :param description: 终端节点服务白名单描述 :type description: str :param created_at: 白名单创建时间 - :type created_at: str + :type created_at: datetime """ @@ -95,7 +95,7 @@ def id(self, id): def permission(self): """Gets the permission of this EpsPermission. - 权限格式为:iam:domain::domain_id或者organizations:orgPath::org_path其中, ● “iam:domain::”和“organizations:orgPath::”为固定格式。 ● “domain_id”为可连接用户的帐号ID,org_path可连接用户的组织路径 domain_id类型支持输入包括“a~z”、“A~Z”、“0~9”或者“*”,org_path类型支持“a~z”、“A~Z”、“0~9”、“/-*?”或者“*”。 “*”表示所有终端节点可连接。 例如:iam:domain::6e9dfd51d1124e8d8498dce894923a0dd或者organizations:orgPath::o-3j59d1231uprgk9yuvlidra7zbzfi578/r-rldbu1vmxdw5ahdkknxnvd5rgag77m2z/ou-7tuddd8nh99rebxltawsm6qct5z7rklv/* + permission列表。 权限格式为: - iam:domain::domain_id。其中: “iam:domain::”为固定格式,“domain_id”为可连接用户的帐号ID。 domain_id类型支持输入包括“a~z”、“A~Z”、“0~9”或者“*”,最大长度可以传64。 - organizations:orgPath::org_path。其中: “organizations:orgPath::”为固定格式,org_path为可连接用户的组织路径。 org_path类型支持“a~z”、“A~Z”、“0~9”、“/-*?”或者“*”,最大长度可以传1024。 “*”表示所有终端节点可连接。 示例: - iam:domain::6e9dfd51d1124e8d8498dce894923a0dd - organizations:orgPath::o-3j59d1231uprgk9yuvlidra7zbzfi578/r-rldbu1vmxdw5ahdkknxnvd5rgag77m2z/ou-7tuddd8nh99rebxltawsm6qct5z7rklv/* - * :return: The permission of this EpsPermission. :rtype: str @@ -106,7 +106,7 @@ def permission(self): def permission(self, permission): """Sets the permission of this EpsPermission. - 权限格式为:iam:domain::domain_id或者organizations:orgPath::org_path其中, ● “iam:domain::”和“organizations:orgPath::”为固定格式。 ● “domain_id”为可连接用户的帐号ID,org_path可连接用户的组织路径 domain_id类型支持输入包括“a~z”、“A~Z”、“0~9”或者“*”,org_path类型支持“a~z”、“A~Z”、“0~9”、“/-*?”或者“*”。 “*”表示所有终端节点可连接。 例如:iam:domain::6e9dfd51d1124e8d8498dce894923a0dd或者organizations:orgPath::o-3j59d1231uprgk9yuvlidra7zbzfi578/r-rldbu1vmxdw5ahdkknxnvd5rgag77m2z/ou-7tuddd8nh99rebxltawsm6qct5z7rklv/* + permission列表。 权限格式为: - iam:domain::domain_id。其中: “iam:domain::”为固定格式,“domain_id”为可连接用户的帐号ID。 domain_id类型支持输入包括“a~z”、“A~Z”、“0~9”或者“*”,最大长度可以传64。 - organizations:orgPath::org_path。其中: “organizations:orgPath::”为固定格式,org_path为可连接用户的组织路径。 org_path类型支持“a~z”、“A~Z”、“0~9”、“/-*?”或者“*”,最大长度可以传1024。 “*”表示所有终端节点可连接。 示例: - iam:domain::6e9dfd51d1124e8d8498dce894923a0dd - organizations:orgPath::o-3j59d1231uprgk9yuvlidra7zbzfi578/r-rldbu1vmxdw5ahdkknxnvd5rgag77m2z/ou-7tuddd8nh99rebxltawsm6qct5z7rklv/* - * :param permission: The permission of this EpsPermission. :type permission: str @@ -117,7 +117,7 @@ def permission(self, permission): def permission_type(self): """Gets the permission_type of this EpsPermission. - 终端节点服务白名单类型。 ● domainId:基于账户ID配置终端节点服务白名单。 ● orgPath:基于账户所在组织路径配置终端节点服务白名单。 + 终端节点服务白名单类型。 - domainId:基于账户ID配置终端节点服务白名单。 - orgPath:基于账户所在组织路径配置终端节点服务白名单。 :return: The permission_type of this EpsPermission. :rtype: str @@ -128,7 +128,7 @@ def permission_type(self): def permission_type(self, permission_type): """Sets the permission_type of this EpsPermission. - 终端节点服务白名单类型。 ● domainId:基于账户ID配置终端节点服务白名单。 ● orgPath:基于账户所在组织路径配置终端节点服务白名单。 + 终端节点服务白名单类型。 - domainId:基于账户ID配置终端节点服务白名单。 - orgPath:基于账户所在组织路径配置终端节点服务白名单。 :param permission_type: The permission_type of this EpsPermission. :type permission_type: str @@ -164,7 +164,7 @@ def created_at(self): 白名单创建时间 :return: The created_at of this EpsPermission. - :rtype: str + :rtype: datetime """ return self._created_at @@ -175,7 +175,7 @@ def created_at(self, created_at): 白名单创建时间 :param created_at: The created_at of this EpsPermission. - :type created_at: str + :type created_at: datetime """ self._created_at = created_at diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_endpoint_info_details_response.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_endpoint_info_details_response.py index ff3aea4c8b..71f4db4735 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_endpoint_info_details_response.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_endpoint_info_details_response.py @@ -32,8 +32,8 @@ class ListEndpointInfoDetailsResponse(SdkResponse): 'ip': 'str', 'vpc_id': 'str', 'subnet_id': 'str', - 'created_at': 'str', - 'updated_at': 'str', + 'created_at': 'datetime', + 'updated_at': 'datetime', 'project_id': 'str', 'tags': 'list[TagList]', 'error': 'QueryError', @@ -41,7 +41,7 @@ class ListEndpointInfoDetailsResponse(SdkResponse): 'enable_whitelist': 'bool', 'routetables': 'list[str]', 'description': 'str', - 'policy_statement': 'list[str]', + 'policy_statement': 'list[PolicyStatement]', 'endpoint_pool_id': 'str', 'public_border_group': 'str' } @@ -82,13 +82,13 @@ def __init__(self, id=None, service_type=None, status=None, active_status=None, :param id: 终端节点的ID,唯一标识。 :type id: str - :param service_type: 终端节点连接的终端节点服务类型。 ● gataway:由运维人员配置。用户无需创建,可直接使用。 ● interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。 + :param service_type: 终端节点连接的终端节点服务类型。 - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。 :type service_type: str - :param status: 终端节点的连接状态。 ● pendingAcceptance:待接受 ● creating:创建中 ● accepted:已接受 ● failed:失败 + :param status: 终端节点的连接状态。 - pendingAcceptance:待接受 - creating:创建中 - accepted:已接受 - rejected:已拒绝 - failed:失败 - deleting:删除中 :type status: str - :param active_status: 帐号状态。 ● frozen:冻结 ● active:解冻 + :param active_status: 帐号状态。 - frozen:冻结 - active:解冻 :type active_status: list[str] - :param enable_status: 终端节点是否可用。 ● enable:启用 ● disable:不启用 + :param enable_status: 终端节点是否可用。 - enable:启用 - disable:不启用 :type enable_status: str :param specification_name: 终端节点服务规格的名称。 :type specification_name: str @@ -98,20 +98,20 @@ def __init__(self, id=None, service_type=None, status=None, active_status=None, :type marker_id: int :param endpoint_service_id: 终端节点服务的ID。 :type endpoint_service_id: str - :param enable_dns: 是否创建域名。 ● true:创建域名 ● false:不创建域名 说明 当创建连接gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。 + :param enable_dns: 是否创建域名。 - true:创建域名 - false:不创建域名 说明 当创建连接gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。 :type enable_dns: bool :param dns_names: 访问所连接的终端节点服务的域名。 当“enable_dns”为true时,该参数可见。 :type dns_names: list[str] - :param ip: 访问所连接的终端节点服务的IP。 仅当同时满足如下条件时,返回该参数: ● 当查询连接interface类型终端节点服务的终端节点时。 ● 终端节点服务启用“连接审批”功能,且已经“接受”连接审批。 “status”可以是“accepted”或者“rejected(仅支持“接受”连接审批后再“拒绝”的情况)”。 + :param ip: 访问所连接的终端节点服务的IP。 仅当同时满足如下条件时,返回该参数: - 当查询连接interface类型终端节点服务的终端节点时。 - 终端节点服务启用“连接审批”功能,且已经“接受”连接审批。 “status”可以是“accepted”或者“rejected(仅支持“接受”连接审批后再“拒绝”的情况)”。 :type ip: str :param vpc_id: 终端节点所在的VPC的ID。 :type vpc_id: str :param subnet_id: vpc_id对应VPC下已创建的网络(network)的ID,UUID格式。 :type subnet_id: str :param created_at: 终端节点的创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ - :type created_at: str + :type created_at: datetime :param updated_at: 终端节点的更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ - :type updated_at: str + :type updated_at: datetime :param project_id: 项目ID,获取方法请参见获取项目ID。 :type project_id: str :param tags: 标签列表,没有标签默认为空数组。 @@ -120,14 +120,14 @@ def __init__(self, id=None, service_type=None, status=None, active_status=None, :type error: :class:`huaweicloudsdkvpcep.v1.QueryError` :param whitelist: 控制访问终端节点的白名单。 若未创建,则返回空列表。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。 :type whitelist: list[str] - :param enable_whitelist: 是否开启网络ACL隔离。 ● true:开启网络ACL隔离 ● false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。 + :param enable_whitelist: 是否开启网络ACL隔离。 - true:开启网络ACL隔离 - false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。 :type enable_whitelist: bool :param routetables: 路由表ID列表。 若未指定,返回默认VPC下路由表ID。 创建连接Gateway类型终端节点服务的终端节点时,显示此参数。 :type routetables: list[str] :param description: 描述字段,支持中英文字母、数字等字符,不支持“<”或“>”字符。 :type description: str :param policy_statement: 只涉及开启双端固定的网关型终端节点,响应体展示此字段 - :type policy_statement: list[str] + :type policy_statement: list[:class:`huaweicloudsdkvpcep.v1.PolicyStatement`] :param endpoint_pool_id: 待废弃,实例相关联的集群ID :type endpoint_pool_id: str :param public_border_group: 终端节点对应Pool的Public Border Group信息 @@ -243,7 +243,7 @@ def id(self, id): def service_type(self): """Gets the service_type of this ListEndpointInfoDetailsResponse. - 终端节点连接的终端节点服务类型。 ● gataway:由运维人员配置。用户无需创建,可直接使用。 ● interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。 + 终端节点连接的终端节点服务类型。 - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。 :return: The service_type of this ListEndpointInfoDetailsResponse. :rtype: str @@ -254,7 +254,7 @@ def service_type(self): def service_type(self, service_type): """Sets the service_type of this ListEndpointInfoDetailsResponse. - 终端节点连接的终端节点服务类型。 ● gataway:由运维人员配置。用户无需创建,可直接使用。 ● interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。 + 终端节点连接的终端节点服务类型。 - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。 :param service_type: The service_type of this ListEndpointInfoDetailsResponse. :type service_type: str @@ -265,7 +265,7 @@ def service_type(self, service_type): def status(self): """Gets the status of this ListEndpointInfoDetailsResponse. - 终端节点的连接状态。 ● pendingAcceptance:待接受 ● creating:创建中 ● accepted:已接受 ● failed:失败 + 终端节点的连接状态。 - pendingAcceptance:待接受 - creating:创建中 - accepted:已接受 - rejected:已拒绝 - failed:失败 - deleting:删除中 :return: The status of this ListEndpointInfoDetailsResponse. :rtype: str @@ -276,7 +276,7 @@ def status(self): def status(self, status): """Sets the status of this ListEndpointInfoDetailsResponse. - 终端节点的连接状态。 ● pendingAcceptance:待接受 ● creating:创建中 ● accepted:已接受 ● failed:失败 + 终端节点的连接状态。 - pendingAcceptance:待接受 - creating:创建中 - accepted:已接受 - rejected:已拒绝 - failed:失败 - deleting:删除中 :param status: The status of this ListEndpointInfoDetailsResponse. :type status: str @@ -287,7 +287,7 @@ def status(self, status): def active_status(self): """Gets the active_status of this ListEndpointInfoDetailsResponse. - 帐号状态。 ● frozen:冻结 ● active:解冻 + 帐号状态。 - frozen:冻结 - active:解冻 :return: The active_status of this ListEndpointInfoDetailsResponse. :rtype: list[str] @@ -298,7 +298,7 @@ def active_status(self): def active_status(self, active_status): """Sets the active_status of this ListEndpointInfoDetailsResponse. - 帐号状态。 ● frozen:冻结 ● active:解冻 + 帐号状态。 - frozen:冻结 - active:解冻 :param active_status: The active_status of this ListEndpointInfoDetailsResponse. :type active_status: list[str] @@ -309,7 +309,7 @@ def active_status(self, active_status): def enable_status(self): """Gets the enable_status of this ListEndpointInfoDetailsResponse. - 终端节点是否可用。 ● enable:启用 ● disable:不启用 + 终端节点是否可用。 - enable:启用 - disable:不启用 :return: The enable_status of this ListEndpointInfoDetailsResponse. :rtype: str @@ -320,7 +320,7 @@ def enable_status(self): def enable_status(self, enable_status): """Sets the enable_status of this ListEndpointInfoDetailsResponse. - 终端节点是否可用。 ● enable:启用 ● disable:不启用 + 终端节点是否可用。 - enable:启用 - disable:不启用 :param enable_status: The enable_status of this ListEndpointInfoDetailsResponse. :type enable_status: str @@ -419,7 +419,7 @@ def endpoint_service_id(self, endpoint_service_id): def enable_dns(self): """Gets the enable_dns of this ListEndpointInfoDetailsResponse. - 是否创建域名。 ● true:创建域名 ● false:不创建域名 说明 当创建连接gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。 + 是否创建域名。 - true:创建域名 - false:不创建域名 说明 当创建连接gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。 :return: The enable_dns of this ListEndpointInfoDetailsResponse. :rtype: bool @@ -430,7 +430,7 @@ def enable_dns(self): def enable_dns(self, enable_dns): """Sets the enable_dns of this ListEndpointInfoDetailsResponse. - 是否创建域名。 ● true:创建域名 ● false:不创建域名 说明 当创建连接gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。 + 是否创建域名。 - true:创建域名 - false:不创建域名 说明 当创建连接gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。 :param enable_dns: The enable_dns of this ListEndpointInfoDetailsResponse. :type enable_dns: bool @@ -463,7 +463,7 @@ def dns_names(self, dns_names): def ip(self): """Gets the ip of this ListEndpointInfoDetailsResponse. - 访问所连接的终端节点服务的IP。 仅当同时满足如下条件时,返回该参数: ● 当查询连接interface类型终端节点服务的终端节点时。 ● 终端节点服务启用“连接审批”功能,且已经“接受”连接审批。 “status”可以是“accepted”或者“rejected(仅支持“接受”连接审批后再“拒绝”的情况)”。 + 访问所连接的终端节点服务的IP。 仅当同时满足如下条件时,返回该参数: - 当查询连接interface类型终端节点服务的终端节点时。 - 终端节点服务启用“连接审批”功能,且已经“接受”连接审批。 “status”可以是“accepted”或者“rejected(仅支持“接受”连接审批后再“拒绝”的情况)”。 :return: The ip of this ListEndpointInfoDetailsResponse. :rtype: str @@ -474,7 +474,7 @@ def ip(self): def ip(self, ip): """Sets the ip of this ListEndpointInfoDetailsResponse. - 访问所连接的终端节点服务的IP。 仅当同时满足如下条件时,返回该参数: ● 当查询连接interface类型终端节点服务的终端节点时。 ● 终端节点服务启用“连接审批”功能,且已经“接受”连接审批。 “status”可以是“accepted”或者“rejected(仅支持“接受”连接审批后再“拒绝”的情况)”。 + 访问所连接的终端节点服务的IP。 仅当同时满足如下条件时,返回该参数: - 当查询连接interface类型终端节点服务的终端节点时。 - 终端节点服务启用“连接审批”功能,且已经“接受”连接审批。 “status”可以是“accepted”或者“rejected(仅支持“接受”连接审批后再“拒绝”的情况)”。 :param ip: The ip of this ListEndpointInfoDetailsResponse. :type ip: str @@ -532,7 +532,7 @@ def created_at(self): 终端节点的创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ :return: The created_at of this ListEndpointInfoDetailsResponse. - :rtype: str + :rtype: datetime """ return self._created_at @@ -543,7 +543,7 @@ def created_at(self, created_at): 终端节点的创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ :param created_at: The created_at of this ListEndpointInfoDetailsResponse. - :type created_at: str + :type created_at: datetime """ self._created_at = created_at @@ -554,7 +554,7 @@ def updated_at(self): 终端节点的更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ :return: The updated_at of this ListEndpointInfoDetailsResponse. - :rtype: str + :rtype: datetime """ return self._updated_at @@ -565,7 +565,7 @@ def updated_at(self, updated_at): 终端节点的更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ :param updated_at: The updated_at of this ListEndpointInfoDetailsResponse. - :type updated_at: str + :type updated_at: datetime """ self._updated_at = updated_at @@ -657,7 +657,7 @@ def whitelist(self, whitelist): def enable_whitelist(self): """Gets the enable_whitelist of this ListEndpointInfoDetailsResponse. - 是否开启网络ACL隔离。 ● true:开启网络ACL隔离 ● false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。 + 是否开启网络ACL隔离。 - true:开启网络ACL隔离 - false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。 :return: The enable_whitelist of this ListEndpointInfoDetailsResponse. :rtype: bool @@ -668,7 +668,7 @@ def enable_whitelist(self): def enable_whitelist(self, enable_whitelist): """Sets the enable_whitelist of this ListEndpointInfoDetailsResponse. - 是否开启网络ACL隔离。 ● true:开启网络ACL隔离 ● false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。 + 是否开启网络ACL隔离。 - true:开启网络ACL隔离 - false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。 :param enable_whitelist: The enable_whitelist of this ListEndpointInfoDetailsResponse. :type enable_whitelist: bool @@ -726,7 +726,7 @@ def policy_statement(self): 只涉及开启双端固定的网关型终端节点,响应体展示此字段 :return: The policy_statement of this ListEndpointInfoDetailsResponse. - :rtype: list[str] + :rtype: list[:class:`huaweicloudsdkvpcep.v1.PolicyStatement`] """ return self._policy_statement @@ -737,7 +737,7 @@ def policy_statement(self, policy_statement): 只涉及开启双端固定的网关型终端节点,响应体展示此字段 :param policy_statement: The policy_statement of this ListEndpointInfoDetailsResponse. - :type policy_statement: list[str] + :type policy_statement: list[:class:`huaweicloudsdkvpcep.v1.PolicyStatement`] """ self._policy_statement = policy_statement diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_endpoint_service_request.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_endpoint_service_request.py index fcd7ec7b73..57002ecab5 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_endpoint_service_request.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_endpoint_service_request.py @@ -47,11 +47,11 @@ def __init__(self, endpoint_service_name=None, id=None, status=None, sort_key=No :type endpoint_service_name: str :param id: 终端节点服务的ID,唯一标识。 :type id: str - :param status: 终端节点服务的状态。 ● creating:创建中 ● available:可连接 ● failed:失败 ● deleting:删除中 + :param status: 终端节点服务的状态。 - creating:创建中 - available:可连接 - failed:失败 - deleting:删除中 :type status: str - :param sort_key: 查询结果中终端节点服务列表的排序字段,取值为: ● create_at:终端节点服务的创建时间 ● update_at:终端节点服务的更新时间 默认值为create_at。 + :param sort_key: 查询结果中终端节点服务列表的排序字段,取值为: - create_at:终端节点服务的创建时间 - update_at:终端节点服务的更新时间 默认值为create_at。 :type sort_key: str - :param sort_dir: 查询结果中终端节点服务列表的排序方式,取值为: ● desc:降序排序 ● asc:升序排序 默认值为desc。 + :param sort_dir: 查询结果中终端节点服务列表的排序方式,取值为: - desc:降序排序 - asc:升序排序 默认值为desc。 :type sort_dir: str :param limit: 查询返回的终端节点服务数量限制,即每页返回的终端节点服务的个数。 取值范围:0~1000,取值一般为10,20或者50,默认为10。 :type limit: int @@ -138,7 +138,7 @@ def id(self, id): def status(self): """Gets the status of this ListEndpointServiceRequest. - 终端节点服务的状态。 ● creating:创建中 ● available:可连接 ● failed:失败 ● deleting:删除中 + 终端节点服务的状态。 - creating:创建中 - available:可连接 - failed:失败 - deleting:删除中 :return: The status of this ListEndpointServiceRequest. :rtype: str @@ -149,7 +149,7 @@ def status(self): def status(self, status): """Sets the status of this ListEndpointServiceRequest. - 终端节点服务的状态。 ● creating:创建中 ● available:可连接 ● failed:失败 ● deleting:删除中 + 终端节点服务的状态。 - creating:创建中 - available:可连接 - failed:失败 - deleting:删除中 :param status: The status of this ListEndpointServiceRequest. :type status: str @@ -160,7 +160,7 @@ def status(self, status): def sort_key(self): """Gets the sort_key of this ListEndpointServiceRequest. - 查询结果中终端节点服务列表的排序字段,取值为: ● create_at:终端节点服务的创建时间 ● update_at:终端节点服务的更新时间 默认值为create_at。 + 查询结果中终端节点服务列表的排序字段,取值为: - create_at:终端节点服务的创建时间 - update_at:终端节点服务的更新时间 默认值为create_at。 :return: The sort_key of this ListEndpointServiceRequest. :rtype: str @@ -171,7 +171,7 @@ def sort_key(self): def sort_key(self, sort_key): """Sets the sort_key of this ListEndpointServiceRequest. - 查询结果中终端节点服务列表的排序字段,取值为: ● create_at:终端节点服务的创建时间 ● update_at:终端节点服务的更新时间 默认值为create_at。 + 查询结果中终端节点服务列表的排序字段,取值为: - create_at:终端节点服务的创建时间 - update_at:终端节点服务的更新时间 默认值为create_at。 :param sort_key: The sort_key of this ListEndpointServiceRequest. :type sort_key: str @@ -182,7 +182,7 @@ def sort_key(self, sort_key): def sort_dir(self): """Gets the sort_dir of this ListEndpointServiceRequest. - 查询结果中终端节点服务列表的排序方式,取值为: ● desc:降序排序 ● asc:升序排序 默认值为desc。 + 查询结果中终端节点服务列表的排序方式,取值为: - desc:降序排序 - asc:升序排序 默认值为desc。 :return: The sort_dir of this ListEndpointServiceRequest. :rtype: str @@ -193,7 +193,7 @@ def sort_dir(self): def sort_dir(self, sort_dir): """Sets the sort_dir of this ListEndpointServiceRequest. - 查询结果中终端节点服务列表的排序方式,取值为: ● desc:降序排序 ● asc:升序排序 默认值为desc。 + 查询结果中终端节点服务列表的排序方式,取值为: - desc:降序排序 - asc:升序排序 默认值为desc。 :param sort_dir: The sort_dir of this ListEndpointServiceRequest. :type sort_dir: str diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_endpoints_request.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_endpoints_request.py index 32a77b9edf..2b686f23ae 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_endpoints_request.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_endpoints_request.py @@ -53,9 +53,9 @@ def __init__(self, endpoint_service_name=None, vpc_id=None, id=None, limit=None, :type limit: int :param offset: 偏移量。 偏移量为一个大于0小于终端节点服务总个数的整数, 表示从偏移量后面的终端节点服务开始查询。 :type offset: int - :param sort_key: 查询结果中终端节点列表的排序字段,取值为: ● create_at:终端节点的创建时间 ● update_at:终端节点的更新时间 默认值为create_at。 + :param sort_key: 查询结果中终端节点列表的排序字段,取值为: - create_at:终端节点的创建时间 - update_at:终端节点的更新时间 默认值为create_at。 :type sort_key: str - :param sort_dir: 查询结果中终端节点列表的排序方式,取值为: ● desc:降序排序 ● asc:升序排序 默认值为desc。 + :param sort_dir: 查询结果中终端节点列表的排序方式,取值为: - desc:降序排序 - asc:升序排序 默认值为desc。 :type sort_dir: str :param public_border_group: 筛选结果中匹配边缘属性的EPS :type public_border_group: str @@ -204,7 +204,7 @@ def offset(self, offset): def sort_key(self): """Gets the sort_key of this ListEndpointsRequest. - 查询结果中终端节点列表的排序字段,取值为: ● create_at:终端节点的创建时间 ● update_at:终端节点的更新时间 默认值为create_at。 + 查询结果中终端节点列表的排序字段,取值为: - create_at:终端节点的创建时间 - update_at:终端节点的更新时间 默认值为create_at。 :return: The sort_key of this ListEndpointsRequest. :rtype: str @@ -215,7 +215,7 @@ def sort_key(self): def sort_key(self, sort_key): """Sets the sort_key of this ListEndpointsRequest. - 查询结果中终端节点列表的排序字段,取值为: ● create_at:终端节点的创建时间 ● update_at:终端节点的更新时间 默认值为create_at。 + 查询结果中终端节点列表的排序字段,取值为: - create_at:终端节点的创建时间 - update_at:终端节点的更新时间 默认值为create_at。 :param sort_key: The sort_key of this ListEndpointsRequest. :type sort_key: str @@ -226,7 +226,7 @@ def sort_key(self, sort_key): def sort_dir(self): """Gets the sort_dir of this ListEndpointsRequest. - 查询结果中终端节点列表的排序方式,取值为: ● desc:降序排序 ● asc:升序排序 默认值为desc。 + 查询结果中终端节点列表的排序方式,取值为: - desc:降序排序 - asc:升序排序 默认值为desc。 :return: The sort_dir of this ListEndpointsRequest. :rtype: str @@ -237,7 +237,7 @@ def sort_dir(self): def sort_dir(self, sort_dir): """Sets the sort_dir of this ListEndpointsRequest. - 查询结果中终端节点列表的排序方式,取值为: ● desc:降序排序 ● asc:升序排序 默认值为desc。 + 查询结果中终端节点列表的排序方式,取值为: - desc:降序排序 - asc:升序排序 默认值为desc。 :param sort_dir: The sort_dir of this ListEndpointsRequest. :type sort_dir: str diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_endpoints_response.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_endpoints_response.py index 649631c287..011b368cbb 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_endpoints_response.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_endpoints_response.py @@ -18,7 +18,7 @@ class ListEndpointsResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'endpoints': 'list[EndpointResp]', + 'endpoints': 'list[EndpointResponseBody]', 'total_count': 'int' } @@ -33,7 +33,7 @@ def __init__(self, endpoints=None, total_count=None): The model defined in huaweicloud sdk :param endpoints: 终端节点列表。 - :type endpoints: list[:class:`huaweicloudsdkvpcep.v1.EndpointResp`] + :type endpoints: list[:class:`huaweicloudsdkvpcep.v1.EndpointResponseBody`] :param total_count: 满足查询条件的终端节点总条数,不受分页(即limit、offset参数)影响。 :type total_count: int """ @@ -56,7 +56,7 @@ def endpoints(self): 终端节点列表。 :return: The endpoints of this ListEndpointsResponse. - :rtype: list[:class:`huaweicloudsdkvpcep.v1.EndpointResp`] + :rtype: list[:class:`huaweicloudsdkvpcep.v1.EndpointResponseBody`] """ return self._endpoints @@ -67,7 +67,7 @@ def endpoints(self, endpoints): 终端节点列表。 :param endpoints: The endpoints of this ListEndpointsResponse. - :type endpoints: list[:class:`huaweicloudsdkvpcep.v1.EndpointResp`] + :type endpoints: list[:class:`huaweicloudsdkvpcep.v1.EndpointResponseBody`] """ self._endpoints = endpoints diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_query_project_resource_tags_request.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_query_project_resource_tags_request.py index e6bf23705f..6d6b6a8cda 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_query_project_resource_tags_request.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_query_project_resource_tags_request.py @@ -29,7 +29,7 @@ def __init__(self, resource_type=None): The model defined in huaweicloud sdk - :param resource_type: 资源类型,值为:endpoint_service或endpoint。 + :param resource_type: 资源类型。 - endpoint_service:终端节点服务 - endpoint:终端节点 :type resource_type: str """ @@ -44,7 +44,7 @@ def __init__(self, resource_type=None): def resource_type(self): """Gets the resource_type of this ListQueryProjectResourceTagsRequest. - 资源类型,值为:endpoint_service或endpoint。 + 资源类型。 - endpoint_service:终端节点服务 - endpoint:终端节点 :return: The resource_type of this ListQueryProjectResourceTagsRequest. :rtype: str @@ -55,7 +55,7 @@ def resource_type(self): def resource_type(self, resource_type): """Sets the resource_type of this ListQueryProjectResourceTagsRequest. - 资源类型,值为:endpoint_service或endpoint。 + 资源类型。 - endpoint_service:终端节点服务 - endpoint:终端节点 :param resource_type: The resource_type of this ListQueryProjectResourceTagsRequest. :type resource_type: str diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_quota_details_request.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_quota_details_request.py index 38b1c46e53..2aba4954bf 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_quota_details_request.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_quota_details_request.py @@ -29,7 +29,7 @@ def __init__(self, type=None): The model defined in huaweicloud sdk - :param type: 资源类型。 ● endpoint_service:终端节点服务 ● endpoint:终端节点 + :param type: 资源类型。 - endpoint_service:终端节点服务 - endpoint:终端节点 :type type: str """ @@ -45,7 +45,7 @@ def __init__(self, type=None): def type(self): """Gets the type of this ListQuotaDetailsRequest. - 资源类型。 ● endpoint_service:终端节点服务 ● endpoint:终端节点 + 资源类型。 - endpoint_service:终端节点服务 - endpoint:终端节点 :return: The type of this ListQuotaDetailsRequest. :rtype: str @@ -56,7 +56,7 @@ def type(self): def type(self, type): """Sets the type of this ListQuotaDetailsRequest. - 资源类型。 ● endpoint_service:终端节点服务 ● endpoint:终端节点 + 资源类型。 - endpoint_service:终端节点服务 - endpoint:终端节点 :param type: The type of this ListQuotaDetailsRequest. :type type: str diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_quota_details_response.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_quota_details_response.py index 08d051a086..c1042d26b7 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_quota_details_response.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_quota_details_response.py @@ -18,7 +18,7 @@ class ListQuotaDetailsResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'quotas': 'ResourcesResp' + 'quotas': 'ResourcesResponseBody' } attribute_map = { @@ -31,7 +31,7 @@ def __init__(self, quotas=None): The model defined in huaweicloud sdk :param quotas: - :type quotas: :class:`huaweicloudsdkvpcep.v1.ResourcesResp` + :type quotas: :class:`huaweicloudsdkvpcep.v1.ResourcesResponseBody` """ super(ListQuotaDetailsResponse, self).__init__() @@ -47,7 +47,7 @@ def quotas(self): """Gets the quotas of this ListQuotaDetailsResponse. :return: The quotas of this ListQuotaDetailsResponse. - :rtype: :class:`huaweicloudsdkvpcep.v1.ResourcesResp` + :rtype: :class:`huaweicloudsdkvpcep.v1.ResourcesResponseBody` """ return self._quotas @@ -56,7 +56,7 @@ def quotas(self, quotas): """Sets the quotas of this ListQuotaDetailsResponse. :param quotas: The quotas of this ListQuotaDetailsResponse. - :type quotas: :class:`huaweicloudsdkvpcep.v1.ResourcesResp` + :type quotas: :class:`huaweicloudsdkvpcep.v1.ResourcesResponseBody` """ self._quotas = quotas diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_resource_instances_request.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_resource_instances_request.py index 83ca3e71da..5e5c4b166e 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_resource_instances_request.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_resource_instances_request.py @@ -31,7 +31,7 @@ def __init__(self, resource_type=None, body=None): The model defined in huaweicloud sdk - :param resource_type: 资源类型,值为:endpoint_service或endpoint。 + :param resource_type: 资源类型,值为:endpoint_service或endpoint。 - endpoint_service:云服务器,适用于作为服务器使用。 - endpoint:虚拟IP,适用于作为虚IP场景使用 :type resource_type: str :param body: Body of the ListResourceInstancesRequest :type body: :class:`huaweicloudsdkvpcep.v1.QueryResourceInstanceTagsBody` @@ -51,7 +51,7 @@ def __init__(self, resource_type=None, body=None): def resource_type(self): """Gets the resource_type of this ListResourceInstancesRequest. - 资源类型,值为:endpoint_service或endpoint。 + 资源类型,值为:endpoint_service或endpoint。 - endpoint_service:云服务器,适用于作为服务器使用。 - endpoint:虚拟IP,适用于作为虚IP场景使用 :return: The resource_type of this ListResourceInstancesRequest. :rtype: str @@ -62,7 +62,7 @@ def resource_type(self): def resource_type(self, resource_type): """Sets the resource_type of this ListResourceInstancesRequest. - 资源类型,值为:endpoint_service或endpoint。 + 资源类型,值为:endpoint_service或endpoint。 - endpoint_service:云服务器,适用于作为服务器使用。 - endpoint:虚拟IP,适用于作为虚IP场景使用 :param resource_type: The resource_type of this ListResourceInstancesRequest. :type resource_type: str diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_service_connections_request.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_service_connections_request.py index 5cf391a97d..f52fd8e17f 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_service_connections_request.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_service_connections_request.py @@ -49,11 +49,11 @@ def __init__(self, vpc_endpoint_service_id=None, id=None, marker_id=None, status :type id: str :param marker_id: 终端节点的报文标识。 :type marker_id: str - :param status: 终端节点的连接状态。 ● pendingAcceptance:待接受 ● accepted:已接受 ● rejected:已拒绝 ● failed:失败 + :param status: 终端节点的连接状态。 - pendingAcceptance:待接受 - accepted:已接受 - rejected:已拒绝 - failed:失败 :type status: str - :param sort_key: 查询结果中终端节点列表的排序字段,取值为: ● create_at:终端节点的创建时间 ● update_at:终端节点的更新时间 默认值为create_at。 + :param sort_key: 查询结果中终端节点列表的排序字段,取值为: - create_at:终端节点的创建时间 - update_at:终端节点的更新时间 默认值为create_at。 :type sort_key: str - :param sort_dir: 查询结果中终端节点列表的排序方式,取值为: ● desc:降序排序 ● asc:升序排序 默认值为desc。 + :param sort_dir: 查询结果中终端节点列表的排序方式,取值为: - desc:降序排序 - asc:升序排序 默认值为desc。 :type sort_dir: str :param limit: 查询返回终端节点服务的连接列表限制每页个数,即每页返回的个数。 取值范围:0~1000,取值一般为10,20或者50,默认为10。 :type limit: int @@ -159,7 +159,7 @@ def marker_id(self, marker_id): def status(self): """Gets the status of this ListServiceConnectionsRequest. - 终端节点的连接状态。 ● pendingAcceptance:待接受 ● accepted:已接受 ● rejected:已拒绝 ● failed:失败 + 终端节点的连接状态。 - pendingAcceptance:待接受 - accepted:已接受 - rejected:已拒绝 - failed:失败 :return: The status of this ListServiceConnectionsRequest. :rtype: str @@ -170,7 +170,7 @@ def status(self): def status(self, status): """Sets the status of this ListServiceConnectionsRequest. - 终端节点的连接状态。 ● pendingAcceptance:待接受 ● accepted:已接受 ● rejected:已拒绝 ● failed:失败 + 终端节点的连接状态。 - pendingAcceptance:待接受 - accepted:已接受 - rejected:已拒绝 - failed:失败 :param status: The status of this ListServiceConnectionsRequest. :type status: str @@ -181,7 +181,7 @@ def status(self, status): def sort_key(self): """Gets the sort_key of this ListServiceConnectionsRequest. - 查询结果中终端节点列表的排序字段,取值为: ● create_at:终端节点的创建时间 ● update_at:终端节点的更新时间 默认值为create_at。 + 查询结果中终端节点列表的排序字段,取值为: - create_at:终端节点的创建时间 - update_at:终端节点的更新时间 默认值为create_at。 :return: The sort_key of this ListServiceConnectionsRequest. :rtype: str @@ -192,7 +192,7 @@ def sort_key(self): def sort_key(self, sort_key): """Sets the sort_key of this ListServiceConnectionsRequest. - 查询结果中终端节点列表的排序字段,取值为: ● create_at:终端节点的创建时间 ● update_at:终端节点的更新时间 默认值为create_at。 + 查询结果中终端节点列表的排序字段,取值为: - create_at:终端节点的创建时间 - update_at:终端节点的更新时间 默认值为create_at。 :param sort_key: The sort_key of this ListServiceConnectionsRequest. :type sort_key: str @@ -203,7 +203,7 @@ def sort_key(self, sort_key): def sort_dir(self): """Gets the sort_dir of this ListServiceConnectionsRequest. - 查询结果中终端节点列表的排序方式,取值为: ● desc:降序排序 ● asc:升序排序 默认值为desc。 + 查询结果中终端节点列表的排序方式,取值为: - desc:降序排序 - asc:升序排序 默认值为desc。 :return: The sort_dir of this ListServiceConnectionsRequest. :rtype: str @@ -214,7 +214,7 @@ def sort_dir(self): def sort_dir(self, sort_dir): """Sets the sort_dir of this ListServiceConnectionsRequest. - 查询结果中终端节点列表的排序方式,取值为: ● desc:降序排序 ● asc:升序排序 默认值为desc。 + 查询结果中终端节点列表的排序方式,取值为: - desc:降序排序 - asc:升序排序 默认值为desc。 :param sort_dir: The sort_dir of this ListServiceConnectionsRequest. :type sort_dir: str diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_service_describe_details_response.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_service_describe_details_response.py index ae0379c20a..70bde2b95e 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_service_describe_details_response.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_service_describe_details_response.py @@ -21,7 +21,7 @@ class ListServiceDescribeDetailsResponse(SdkResponse): 'id': 'str', 'service_name': 'str', 'service_type': 'str', - 'created_at': 'str', + 'created_at': 'datetime', 'is_charge': 'bool', 'public_border_group': 'str', 'enable_policy': 'bool' @@ -46,15 +46,15 @@ def __init__(self, id=None, service_name=None, service_type=None, created_at=Non :type id: str :param service_name: 终端节点服务的名称。 :type service_name: str - :param service_type: 终端节点服务类型。仅支持将用户私有服务创建为interface类型的终端节点服务。 ● gataway:由运维人员配置。用户无需创建,可直接使用。 ● interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节点。 + :param service_type: 终端节点服务类型。仅支持将用户私有服务创建为interface类型的终端节点服务。 - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节点。 :type service_type: str :param created_at: 终端节点服务的创建时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ - :type created_at: str - :param is_charge: 连接该终端节点服务的终端节点是否计费。 ● true:计费 ● false:不计费 + :type created_at: datetime + :param is_charge: 连接该终端节点服务的终端节点是否计费。 - true:计费 - false:不计费 :type is_charge: bool :param public_border_group: 终端节点对应Pool的Public Border Group信息 :type public_border_group: str - :param enable_policy: 是否开启终端节点策略。 ● false:不支持设置终端节点策略 ● true:支持设置终端节点策略 默认为false 是否开启终端节点策略。 ● false:不支持设置终端节点策略 ● true:支持设置终端节点策略 默认为false + :param enable_policy: 是否开启终端节点策略。 - false:不支持设置终端节点策略 - true:支持设置终端节点策略 默认为false 是否开启终端节点策略。 - false:不支持设置终端节点策略 - true:支持设置终端节点策略 默认为false :type enable_policy: bool """ @@ -132,7 +132,7 @@ def service_name(self, service_name): def service_type(self): """Gets the service_type of this ListServiceDescribeDetailsResponse. - 终端节点服务类型。仅支持将用户私有服务创建为interface类型的终端节点服务。 ● gataway:由运维人员配置。用户无需创建,可直接使用。 ● interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节点。 + 终端节点服务类型。仅支持将用户私有服务创建为interface类型的终端节点服务。 - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节点。 :return: The service_type of this ListServiceDescribeDetailsResponse. :rtype: str @@ -143,7 +143,7 @@ def service_type(self): def service_type(self, service_type): """Sets the service_type of this ListServiceDescribeDetailsResponse. - 终端节点服务类型。仅支持将用户私有服务创建为interface类型的终端节点服务。 ● gataway:由运维人员配置。用户无需创建,可直接使用。 ● interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节点。 + 终端节点服务类型。仅支持将用户私有服务创建为interface类型的终端节点服务。 - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节点。 :param service_type: The service_type of this ListServiceDescribeDetailsResponse. :type service_type: str @@ -157,7 +157,7 @@ def created_at(self): 终端节点服务的创建时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ :return: The created_at of this ListServiceDescribeDetailsResponse. - :rtype: str + :rtype: datetime """ return self._created_at @@ -168,7 +168,7 @@ def created_at(self, created_at): 终端节点服务的创建时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ :param created_at: The created_at of this ListServiceDescribeDetailsResponse. - :type created_at: str + :type created_at: datetime """ self._created_at = created_at @@ -176,7 +176,7 @@ def created_at(self, created_at): def is_charge(self): """Gets the is_charge of this ListServiceDescribeDetailsResponse. - 连接该终端节点服务的终端节点是否计费。 ● true:计费 ● false:不计费 + 连接该终端节点服务的终端节点是否计费。 - true:计费 - false:不计费 :return: The is_charge of this ListServiceDescribeDetailsResponse. :rtype: bool @@ -187,7 +187,7 @@ def is_charge(self): def is_charge(self, is_charge): """Sets the is_charge of this ListServiceDescribeDetailsResponse. - 连接该终端节点服务的终端节点是否计费。 ● true:计费 ● false:不计费 + 连接该终端节点服务的终端节点是否计费。 - true:计费 - false:不计费 :param is_charge: The is_charge of this ListServiceDescribeDetailsResponse. :type is_charge: bool @@ -220,7 +220,7 @@ def public_border_group(self, public_border_group): def enable_policy(self): """Gets the enable_policy of this ListServiceDescribeDetailsResponse. - 是否开启终端节点策略。 ● false:不支持设置终端节点策略 ● true:支持设置终端节点策略 默认为false 是否开启终端节点策略。 ● false:不支持设置终端节点策略 ● true:支持设置终端节点策略 默认为false + 是否开启终端节点策略。 - false:不支持设置终端节点策略 - true:支持设置终端节点策略 默认为false 是否开启终端节点策略。 - false:不支持设置终端节点策略 - true:支持设置终端节点策略 默认为false :return: The enable_policy of this ListServiceDescribeDetailsResponse. :rtype: bool @@ -231,7 +231,7 @@ def enable_policy(self): def enable_policy(self, enable_policy): """Sets the enable_policy of this ListServiceDescribeDetailsResponse. - 是否开启终端节点策略。 ● false:不支持设置终端节点策略 ● true:支持设置终端节点策略 默认为false 是否开启终端节点策略。 ● false:不支持设置终端节点策略 ● true:支持设置终端节点策略 默认为false + 是否开启终端节点策略。 - false:不支持设置终端节点策略 - true:支持设置终端节点策略 默认为false 是否开启终端节点策略。 - false:不支持设置终端节点策略 - true:支持设置终端节点策略 默认为false :param enable_policy: The enable_policy of this ListServiceDescribeDetailsResponse. :type enable_policy: bool diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_service_details_response.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_service_details_response.py index c00275684d..85a93a189e 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_service_details_response.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_service_details_response.py @@ -26,8 +26,8 @@ class ListServiceDetailsResponse(SdkResponse): 'approval_enabled': 'bool', 'status': 'str', 'service_type': 'str', - 'created_at': 'str', - 'updated_at': 'str', + 'created_at': 'datetime', + 'updated_at': 'datetime', 'project_id': 'str', 'cidr_type': 'str', 'ports': 'list[PortList]', @@ -66,37 +66,37 @@ def __init__(self, id=None, port_id=None, service_name=None, server_type=None, v :param id: 终端节点服务的ID,唯一标识。 :type id: str - :param port_id: 标识终端节点服务后端资源的ID, 格式为通用唯一识别码(Universally Unique Identifier,下文简称UUID)。取值为: ● LB类型:负载均衡器内网IP对应的端口ID。 ● VM类型:弹性云服务器IP地址对应的网卡ID。 ● VIP类型:虚拟资源所在物理服务器对应的网卡ID。(该字段已废弃,请优先使用LB类型) + :param port_id: 标识终端节点服务后端资源的ID, 格式为通用唯一识别码(Universally Unique Identifier,下文简称UUID)。取值为: - LB类型:负载均衡器内网IP对应的端口ID。 - VM类型:弹性云服务器IP地址对应的网卡ID。 - VIP类型:虚拟资源所在物理服务器对应的网卡ID。(该字段已废弃,请优先使用LB类型) :type port_id: str :param service_name: 终端节点服务的名称。 :type service_name: str - :param server_type: 资源类型。 ● VM:云服务器。 ● VIP:虚拟IP。 ● LB:增强负载均衡型。 + :param server_type: 资源类型。 - VM:云服务器。 - VIP:虚拟IP。 - LB:增强负载均衡型。 :type server_type: str :param vpc_id: 终端节点服务对应后端资源所在的VPC的ID。 :type vpc_id: str - :param approval_enabled: 是否需要审批。 ● false:不需要审批,创建的终端节点连接直接为accepted状态。 ● true:需要审批,创建的终端节点连接为pendingAcceptance状态, 需要终端节点服务所属用户审核后方可使用。 + :param approval_enabled: 是否需要审批。 - false:不需要审批,创建的终端节点连接直接为accepted状态。 - true:需要审批,创建的终端节点连接为pendingAcceptance状态, 需要终端节点服务所属用户审核后方可使用。 :type approval_enabled: bool - :param status: 终端节点服务的状态。 ● creating:创建中 ● available:可连接 ● failed:失败 ● deleting:删除中 + :param status: 终端节点服务的状态。 - creating:创建中 - available:可连接 - failed:失败 - deleting:删除中 :type status: str - :param service_type: 终端节点服务类型。 终端节点服务类型包括“网关(gataway)型”和“接口(interface)型”: ● gataway:由运维人员配置。用户无需创建,可直接使用。 ● interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节。 + :param service_type: 终端节点服务类型。 终端节点服务类型包括“网关(gateway)型”和“接口(interface)型”: - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节。 :type service_type: str :param created_at: 终端节点服务的创建时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ - :type created_at: str + :type created_at: datetime :param updated_at: 终端节点服务的更新时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ - :type updated_at: str + :type updated_at: datetime :param project_id: 项目ID,获取方法请参见获取项目ID。 :type project_id: str :param cidr_type: 网段类型。 public:公网网段 internal:内网网段 默认值为internal。 :type cidr_type: str :param ports: 服务开放的端口映射列表,详细内容请参见表4-17 同一个终端节点服务下,不允许重复的端口映射。若多个终端节点服务共用一个port_id,则 终端节点服务之间的所有端口映射的server_port和protocol的组合不能重复。 :type ports: list[:class:`huaweicloudsdkvpcep.v1.PortList`] - :param tcp_proxy: 用于控制将哪些信息(如客户端的源IP、源端口、marker_id等)携带到服务端。 支持携带的客户端信息包括如下两种类型: ● TCP TOA:表示将客户端信息插入到tcp option字段中携带至服务端。 说明:仅当后端资源为OBS时,支持TCP TOA类型信息携带方式。 ● Proxy Protocol:表示将客户端信息插入到tcp payload字段中携带至服务端。 仅当服务端支持解析上述字段时,该参数设置才有效。 该参数的取值包括: ● close:表示关闭代理协议。 ● toa_open:表示开启代理协议“tcp_toa”。 ● proxy_open:表示开启代理协议“proxy_protocol”。 ● open:表示同时开启代理协议“tcp_toa”和“proxy_protocol”。 ● proxy_vni: 关闭toa,开启proxy和vni。 默认值为“close”。 + :param tcp_proxy: 用于控制将哪些信息(如客户端的源IP、源端口、marker_id等)携带到服务端。 支持携带的客户端信息包括如下两种类型: - TCP TOA:表示将客户端信息插入到tcp option字段中携带至服务端。 说明:仅当后端资源为OBS时,支持TCP TOA类型信息携带方式。 - Proxy Protocol:表示将客户端信息插入到tcp payload字段中携带至服务端。 仅当服务端支持解析上述字段时,该参数设置才有效。 该参数的取值包括: - close:表示关闭代理协议。 - toa_open:表示开启代理协议“tcp_toa”。 - proxy_open:表示开启代理协议“proxy_protocol”。 - open:表示同时开启代理协议“tcp_toa”和“proxy_protocol”。 - proxy_vni: 关闭toa,开启proxy和vni。 默认值为“close”。 :type tcp_proxy: str :param tags: 资源标签列表 :type tags: list[:class:`huaweicloudsdkvpcep.v1.TagList`] :param error: 提交任务异常时返回的异常信息 :type error: list[:class:`huaweicloudsdkvpcep.v1.Error`] - :param enable_policy: 是否开启终端节点策略。 ● false:不支持设置终端节点策略 ● true:支持设置终端节点策略 默认为false + :param enable_policy: 是否开启终端节点策略。 - false:不支持设置终端节点策略 - true:支持设置终端节点策略 默认为false :type enable_policy: bool :param description: 描述字段,支持中英文字母、数字等字符,不支持“<”或“>”字符。 :type description: str @@ -187,7 +187,7 @@ def id(self, id): def port_id(self): """Gets the port_id of this ListServiceDetailsResponse. - 标识终端节点服务后端资源的ID, 格式为通用唯一识别码(Universally Unique Identifier,下文简称UUID)。取值为: ● LB类型:负载均衡器内网IP对应的端口ID。 ● VM类型:弹性云服务器IP地址对应的网卡ID。 ● VIP类型:虚拟资源所在物理服务器对应的网卡ID。(该字段已废弃,请优先使用LB类型) + 标识终端节点服务后端资源的ID, 格式为通用唯一识别码(Universally Unique Identifier,下文简称UUID)。取值为: - LB类型:负载均衡器内网IP对应的端口ID。 - VM类型:弹性云服务器IP地址对应的网卡ID。 - VIP类型:虚拟资源所在物理服务器对应的网卡ID。(该字段已废弃,请优先使用LB类型) :return: The port_id of this ListServiceDetailsResponse. :rtype: str @@ -198,7 +198,7 @@ def port_id(self): def port_id(self, port_id): """Sets the port_id of this ListServiceDetailsResponse. - 标识终端节点服务后端资源的ID, 格式为通用唯一识别码(Universally Unique Identifier,下文简称UUID)。取值为: ● LB类型:负载均衡器内网IP对应的端口ID。 ● VM类型:弹性云服务器IP地址对应的网卡ID。 ● VIP类型:虚拟资源所在物理服务器对应的网卡ID。(该字段已废弃,请优先使用LB类型) + 标识终端节点服务后端资源的ID, 格式为通用唯一识别码(Universally Unique Identifier,下文简称UUID)。取值为: - LB类型:负载均衡器内网IP对应的端口ID。 - VM类型:弹性云服务器IP地址对应的网卡ID。 - VIP类型:虚拟资源所在物理服务器对应的网卡ID。(该字段已废弃,请优先使用LB类型) :param port_id: The port_id of this ListServiceDetailsResponse. :type port_id: str @@ -231,7 +231,7 @@ def service_name(self, service_name): def server_type(self): """Gets the server_type of this ListServiceDetailsResponse. - 资源类型。 ● VM:云服务器。 ● VIP:虚拟IP。 ● LB:增强负载均衡型。 + 资源类型。 - VM:云服务器。 - VIP:虚拟IP。 - LB:增强负载均衡型。 :return: The server_type of this ListServiceDetailsResponse. :rtype: str @@ -242,7 +242,7 @@ def server_type(self): def server_type(self, server_type): """Sets the server_type of this ListServiceDetailsResponse. - 资源类型。 ● VM:云服务器。 ● VIP:虚拟IP。 ● LB:增强负载均衡型。 + 资源类型。 - VM:云服务器。 - VIP:虚拟IP。 - LB:增强负载均衡型。 :param server_type: The server_type of this ListServiceDetailsResponse. :type server_type: str @@ -275,7 +275,7 @@ def vpc_id(self, vpc_id): def approval_enabled(self): """Gets the approval_enabled of this ListServiceDetailsResponse. - 是否需要审批。 ● false:不需要审批,创建的终端节点连接直接为accepted状态。 ● true:需要审批,创建的终端节点连接为pendingAcceptance状态, 需要终端节点服务所属用户审核后方可使用。 + 是否需要审批。 - false:不需要审批,创建的终端节点连接直接为accepted状态。 - true:需要审批,创建的终端节点连接为pendingAcceptance状态, 需要终端节点服务所属用户审核后方可使用。 :return: The approval_enabled of this ListServiceDetailsResponse. :rtype: bool @@ -286,7 +286,7 @@ def approval_enabled(self): def approval_enabled(self, approval_enabled): """Sets the approval_enabled of this ListServiceDetailsResponse. - 是否需要审批。 ● false:不需要审批,创建的终端节点连接直接为accepted状态。 ● true:需要审批,创建的终端节点连接为pendingAcceptance状态, 需要终端节点服务所属用户审核后方可使用。 + 是否需要审批。 - false:不需要审批,创建的终端节点连接直接为accepted状态。 - true:需要审批,创建的终端节点连接为pendingAcceptance状态, 需要终端节点服务所属用户审核后方可使用。 :param approval_enabled: The approval_enabled of this ListServiceDetailsResponse. :type approval_enabled: bool @@ -297,7 +297,7 @@ def approval_enabled(self, approval_enabled): def status(self): """Gets the status of this ListServiceDetailsResponse. - 终端节点服务的状态。 ● creating:创建中 ● available:可连接 ● failed:失败 ● deleting:删除中 + 终端节点服务的状态。 - creating:创建中 - available:可连接 - failed:失败 - deleting:删除中 :return: The status of this ListServiceDetailsResponse. :rtype: str @@ -308,7 +308,7 @@ def status(self): def status(self, status): """Sets the status of this ListServiceDetailsResponse. - 终端节点服务的状态。 ● creating:创建中 ● available:可连接 ● failed:失败 ● deleting:删除中 + 终端节点服务的状态。 - creating:创建中 - available:可连接 - failed:失败 - deleting:删除中 :param status: The status of this ListServiceDetailsResponse. :type status: str @@ -319,7 +319,7 @@ def status(self, status): def service_type(self): """Gets the service_type of this ListServiceDetailsResponse. - 终端节点服务类型。 终端节点服务类型包括“网关(gataway)型”和“接口(interface)型”: ● gataway:由运维人员配置。用户无需创建,可直接使用。 ● interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节。 + 终端节点服务类型。 终端节点服务类型包括“网关(gateway)型”和“接口(interface)型”: - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节。 :return: The service_type of this ListServiceDetailsResponse. :rtype: str @@ -330,7 +330,7 @@ def service_type(self): def service_type(self, service_type): """Sets the service_type of this ListServiceDetailsResponse. - 终端节点服务类型。 终端节点服务类型包括“网关(gataway)型”和“接口(interface)型”: ● gataway:由运维人员配置。用户无需创建,可直接使用。 ● interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节。 + 终端节点服务类型。 终端节点服务类型包括“网关(gateway)型”和“接口(interface)型”: - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节。 :param service_type: The service_type of this ListServiceDetailsResponse. :type service_type: str @@ -344,7 +344,7 @@ def created_at(self): 终端节点服务的创建时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ :return: The created_at of this ListServiceDetailsResponse. - :rtype: str + :rtype: datetime """ return self._created_at @@ -355,7 +355,7 @@ def created_at(self, created_at): 终端节点服务的创建时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ :param created_at: The created_at of this ListServiceDetailsResponse. - :type created_at: str + :type created_at: datetime """ self._created_at = created_at @@ -366,7 +366,7 @@ def updated_at(self): 终端节点服务的更新时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ :return: The updated_at of this ListServiceDetailsResponse. - :rtype: str + :rtype: datetime """ return self._updated_at @@ -377,7 +377,7 @@ def updated_at(self, updated_at): 终端节点服务的更新时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ :param updated_at: The updated_at of this ListServiceDetailsResponse. - :type updated_at: str + :type updated_at: datetime """ self._updated_at = updated_at @@ -451,7 +451,7 @@ def ports(self, ports): def tcp_proxy(self): """Gets the tcp_proxy of this ListServiceDetailsResponse. - 用于控制将哪些信息(如客户端的源IP、源端口、marker_id等)携带到服务端。 支持携带的客户端信息包括如下两种类型: ● TCP TOA:表示将客户端信息插入到tcp option字段中携带至服务端。 说明:仅当后端资源为OBS时,支持TCP TOA类型信息携带方式。 ● Proxy Protocol:表示将客户端信息插入到tcp payload字段中携带至服务端。 仅当服务端支持解析上述字段时,该参数设置才有效。 该参数的取值包括: ● close:表示关闭代理协议。 ● toa_open:表示开启代理协议“tcp_toa”。 ● proxy_open:表示开启代理协议“proxy_protocol”。 ● open:表示同时开启代理协议“tcp_toa”和“proxy_protocol”。 ● proxy_vni: 关闭toa,开启proxy和vni。 默认值为“close”。 + 用于控制将哪些信息(如客户端的源IP、源端口、marker_id等)携带到服务端。 支持携带的客户端信息包括如下两种类型: - TCP TOA:表示将客户端信息插入到tcp option字段中携带至服务端。 说明:仅当后端资源为OBS时,支持TCP TOA类型信息携带方式。 - Proxy Protocol:表示将客户端信息插入到tcp payload字段中携带至服务端。 仅当服务端支持解析上述字段时,该参数设置才有效。 该参数的取值包括: - close:表示关闭代理协议。 - toa_open:表示开启代理协议“tcp_toa”。 - proxy_open:表示开启代理协议“proxy_protocol”。 - open:表示同时开启代理协议“tcp_toa”和“proxy_protocol”。 - proxy_vni: 关闭toa,开启proxy和vni。 默认值为“close”。 :return: The tcp_proxy of this ListServiceDetailsResponse. :rtype: str @@ -462,7 +462,7 @@ def tcp_proxy(self): def tcp_proxy(self, tcp_proxy): """Sets the tcp_proxy of this ListServiceDetailsResponse. - 用于控制将哪些信息(如客户端的源IP、源端口、marker_id等)携带到服务端。 支持携带的客户端信息包括如下两种类型: ● TCP TOA:表示将客户端信息插入到tcp option字段中携带至服务端。 说明:仅当后端资源为OBS时,支持TCP TOA类型信息携带方式。 ● Proxy Protocol:表示将客户端信息插入到tcp payload字段中携带至服务端。 仅当服务端支持解析上述字段时,该参数设置才有效。 该参数的取值包括: ● close:表示关闭代理协议。 ● toa_open:表示开启代理协议“tcp_toa”。 ● proxy_open:表示开启代理协议“proxy_protocol”。 ● open:表示同时开启代理协议“tcp_toa”和“proxy_protocol”。 ● proxy_vni: 关闭toa,开启proxy和vni。 默认值为“close”。 + 用于控制将哪些信息(如客户端的源IP、源端口、marker_id等)携带到服务端。 支持携带的客户端信息包括如下两种类型: - TCP TOA:表示将客户端信息插入到tcp option字段中携带至服务端。 说明:仅当后端资源为OBS时,支持TCP TOA类型信息携带方式。 - Proxy Protocol:表示将客户端信息插入到tcp payload字段中携带至服务端。 仅当服务端支持解析上述字段时,该参数设置才有效。 该参数的取值包括: - close:表示关闭代理协议。 - toa_open:表示开启代理协议“tcp_toa”。 - proxy_open:表示开启代理协议“proxy_protocol”。 - open:表示同时开启代理协议“tcp_toa”和“proxy_protocol”。 - proxy_vni: 关闭toa,开启proxy和vni。 默认值为“close”。 :param tcp_proxy: The tcp_proxy of this ListServiceDetailsResponse. :type tcp_proxy: str @@ -517,7 +517,7 @@ def error(self, error): def enable_policy(self): """Gets the enable_policy of this ListServiceDetailsResponse. - 是否开启终端节点策略。 ● false:不支持设置终端节点策略 ● true:支持设置终端节点策略 默认为false + 是否开启终端节点策略。 - false:不支持设置终端节点策略 - true:支持设置终端节点策略 默认为false :return: The enable_policy of this ListServiceDetailsResponse. :rtype: bool @@ -528,7 +528,7 @@ def enable_policy(self): def enable_policy(self, enable_policy): """Sets the enable_policy of this ListServiceDetailsResponse. - 是否开启终端节点策略。 ● false:不支持设置终端节点策略 ● true:支持设置终端节点策略 默认为false + 是否开启终端节点策略。 - false:不支持设置终端节点策略 - true:支持设置终端节点策略 默认为false :param enable_policy: The enable_policy of this ListServiceDetailsResponse. :type enable_policy: bool diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_service_permissions_details_request.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_service_permissions_details_request.py index 405bd43ea4..65982a8a75 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_service_permissions_details_request.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_service_permissions_details_request.py @@ -47,9 +47,9 @@ def __init__(self, vpc_endpoint_service_id=None, permission=None, limit=None, of :type limit: int :param offset: 偏移量。 偏移量为一个大于0小于终端节点服务总个数的整数, 表示从偏移量后面的终端节点服务开始查询。 :type offset: int - :param sort_key: 查询结果中白名单列表的排序字段,取值为create_at,表示白名单的添加时间。 + :param sort_key: 查询结果中终端节点服务列表的排序字段,取值为: - create_at:终端节点服务的创建时间 - update_at:终端节点服务的更新时间 默认值为create_at。 :type sort_key: str - :param sort_dir: 查询结果中白名单列表的排序方式,取值为: ● desc:降序排序 ● asc:升序排序 默认值为desc。 + :param sort_dir: 查询结果中白名单列表的排序方式,取值为: - desc:降序排序 - asc:升序排序 默认值为desc。 :type sort_dir: str """ @@ -167,7 +167,7 @@ def offset(self, offset): def sort_key(self): """Gets the sort_key of this ListServicePermissionsDetailsRequest. - 查询结果中白名单列表的排序字段,取值为create_at,表示白名单的添加时间。 + 查询结果中终端节点服务列表的排序字段,取值为: - create_at:终端节点服务的创建时间 - update_at:终端节点服务的更新时间 默认值为create_at。 :return: The sort_key of this ListServicePermissionsDetailsRequest. :rtype: str @@ -178,7 +178,7 @@ def sort_key(self): def sort_key(self, sort_key): """Sets the sort_key of this ListServicePermissionsDetailsRequest. - 查询结果中白名单列表的排序字段,取值为create_at,表示白名单的添加时间。 + 查询结果中终端节点服务列表的排序字段,取值为: - create_at:终端节点服务的创建时间 - update_at:终端节点服务的更新时间 默认值为create_at。 :param sort_key: The sort_key of this ListServicePermissionsDetailsRequest. :type sort_key: str @@ -189,7 +189,7 @@ def sort_key(self, sort_key): def sort_dir(self): """Gets the sort_dir of this ListServicePermissionsDetailsRequest. - 查询结果中白名单列表的排序方式,取值为: ● desc:降序排序 ● asc:升序排序 默认值为desc。 + 查询结果中白名单列表的排序方式,取值为: - desc:降序排序 - asc:升序排序 默认值为desc。 :return: The sort_dir of this ListServicePermissionsDetailsRequest. :rtype: str @@ -200,7 +200,7 @@ def sort_dir(self): def sort_dir(self, sort_dir): """Sets the sort_dir of this ListServicePermissionsDetailsRequest. - 查询结果中白名单列表的排序方式,取值为: ● desc:降序排序 ● asc:升序排序 默认值为desc。 + 查询结果中白名单列表的排序方式,取值为: - desc:降序排序 - asc:升序排序 默认值为desc。 :param sort_dir: The sort_dir of this ListServicePermissionsDetailsRequest. :type sort_dir: str diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_service_public_details_request.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_service_public_details_request.py index 50fc3e1fcb..c1a66ddbcd 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_service_public_details_request.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_service_public_details_request.py @@ -47,9 +47,9 @@ def __init__(self, limit=None, offset=None, endpoint_service_name=None, id=None, :type endpoint_service_name: str :param id: 公共终端节点服务的ID,唯一标识。 :type id: str - :param sort_key: 查询结果中终端节点服务列表的排序字段,取值为: ● create_at:终端节点服务的创建时间 ● update_at:终端节点服务的更新时间 默认值为create_at。 + :param sort_key: 查询结果中终端节点服务列表的排序字段,取值为: - create_at:终端节点服务的创建时间 - update_at:终端节点服务的更新时间 默认值为create_at。 :type sort_key: str - :param sort_dir: 查询结果中终端节点服务列表的排序方式,取值为: ● desc:降序排序 ● asc:升序排序 默认值为desc。 + :param sort_dir: 查询结果中终端节点服务列表的排序方式,取值为: - desc:降序排序 - asc:升序排序 默认值为desc。 :type sort_dir: str """ @@ -168,7 +168,7 @@ def id(self, id): def sort_key(self): """Gets the sort_key of this ListServicePublicDetailsRequest. - 查询结果中终端节点服务列表的排序字段,取值为: ● create_at:终端节点服务的创建时间 ● update_at:终端节点服务的更新时间 默认值为create_at。 + 查询结果中终端节点服务列表的排序字段,取值为: - create_at:终端节点服务的创建时间 - update_at:终端节点服务的更新时间 默认值为create_at。 :return: The sort_key of this ListServicePublicDetailsRequest. :rtype: str @@ -179,7 +179,7 @@ def sort_key(self): def sort_key(self, sort_key): """Sets the sort_key of this ListServicePublicDetailsRequest. - 查询结果中终端节点服务列表的排序字段,取值为: ● create_at:终端节点服务的创建时间 ● update_at:终端节点服务的更新时间 默认值为create_at。 + 查询结果中终端节点服务列表的排序字段,取值为: - create_at:终端节点服务的创建时间 - update_at:终端节点服务的更新时间 默认值为create_at。 :param sort_key: The sort_key of this ListServicePublicDetailsRequest. :type sort_key: str @@ -190,7 +190,7 @@ def sort_key(self, sort_key): def sort_dir(self): """Gets the sort_dir of this ListServicePublicDetailsRequest. - 查询结果中终端节点服务列表的排序方式,取值为: ● desc:降序排序 ● asc:升序排序 默认值为desc。 + 查询结果中终端节点服务列表的排序方式,取值为: - desc:降序排序 - asc:升序排序 默认值为desc。 :return: The sort_dir of this ListServicePublicDetailsRequest. :rtype: str @@ -201,7 +201,7 @@ def sort_dir(self): def sort_dir(self, sort_dir): """Sets the sort_dir of this ListServicePublicDetailsRequest. - 查询结果中终端节点服务列表的排序方式,取值为: ● desc:降序排序 ● asc:升序排序 默认值为desc。 + 查询结果中终端节点服务列表的排序方式,取值为: - desc:降序排序 - asc:升序排序 默认值为desc。 :param sort_dir: The sort_dir of this ListServicePublicDetailsRequest. :type sort_dir: str diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/permission_object.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/permission_object.py index 8694aa07b8..2b420b220d 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/permission_object.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/permission_object.py @@ -20,7 +20,7 @@ class PermissionObject: 'id': 'str', 'permission': 'str', 'permission_type': 'str', - 'created_at': 'str' + 'created_at': 'datetime' } attribute_map = { @@ -37,12 +37,12 @@ def __init__(self, id=None, permission=None, permission_type=None, created_at=No :param id: permission的ID,唯一标识。 :type id: str - :param permission: permission列表。 权限格式为:iam:domain::domain_id或者organizations:orgPath::org_path其中, ● “iam:domain::”和“organizations:orgPath::”为固定格式。 ● “domain_id”为可连接用户的帐号ID,org_path可连接用户的组织路径 domain_id类型支持输入包括“a~z”、“A~Z”、“0~9”或者“*”,org_path类型支持“a~z”、“A~Z”、“0~9”、“/-*?”或者“*”。 “*”表示所有终端节点可连接。 例如:iam:domain::6e9dfd51d1124e8d8498dce894923a0dd或者organizations:orgPath::o-3j59d1231uprgk9yuvlidra7zbzfi578/r-rldbu1vmxdw5ahdkknxnvd5rgag77m2z/ou-7tuddd8nh99rebxltawsm6qct5z7rklv/* + :param permission: permission列表。 权限格式为: - iam:domain::domain_id。其中: “iam:domain::”为固定格式,“domain_id”为可连接用户的帐号ID。 domain_id类型支持输入包括“a~z”、“A~Z”、“0~9”或者“*”,最大长度可以传64。 - organizations:orgPath::org_path。其中: “organizations:orgPath::”为固定格式,org_path为可连接用户的组织路径。 org_path类型支持“a~z”、“A~Z”、“0~9”、“/-*?”或者“*”,最大长度可以传1024。 “*”表示所有终端节点可连接。 示例: - iam:domain::6e9dfd51d1124e8d8498dce894923a0dd - organizations:orgPath::o-3j59d1231uprgk9yuvlidra7zbzfi578/r-rldbu1vmxdw5ahdkknxnvd5rgag77m2z/ou-7tuddd8nh99rebxltawsm6qct5z7rklv/* - * :type permission: str - :param permission_type: 终端节点服务白名单类型。 ● domainId:基于账户ID配置终端节点服务白名单。 ● orgPath:基于账户所在组织路径配置终端节点服务白名单。 + :param permission_type: 终端节点服务白名单类型。 - domainId:基于账户ID配置终端节点服务白名单。 - orgPath:基于账户所在组织路径配置终端节点服务白名单。 :type permission_type: str :param created_at: 白名单的添加时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ - :type created_at: str + :type created_at: datetime """ @@ -88,7 +88,7 @@ def id(self, id): def permission(self): """Gets the permission of this PermissionObject. - permission列表。 权限格式为:iam:domain::domain_id或者organizations:orgPath::org_path其中, ● “iam:domain::”和“organizations:orgPath::”为固定格式。 ● “domain_id”为可连接用户的帐号ID,org_path可连接用户的组织路径 domain_id类型支持输入包括“a~z”、“A~Z”、“0~9”或者“*”,org_path类型支持“a~z”、“A~Z”、“0~9”、“/-*?”或者“*”。 “*”表示所有终端节点可连接。 例如:iam:domain::6e9dfd51d1124e8d8498dce894923a0dd或者organizations:orgPath::o-3j59d1231uprgk9yuvlidra7zbzfi578/r-rldbu1vmxdw5ahdkknxnvd5rgag77m2z/ou-7tuddd8nh99rebxltawsm6qct5z7rklv/* + permission列表。 权限格式为: - iam:domain::domain_id。其中: “iam:domain::”为固定格式,“domain_id”为可连接用户的帐号ID。 domain_id类型支持输入包括“a~z”、“A~Z”、“0~9”或者“*”,最大长度可以传64。 - organizations:orgPath::org_path。其中: “organizations:orgPath::”为固定格式,org_path为可连接用户的组织路径。 org_path类型支持“a~z”、“A~Z”、“0~9”、“/-*?”或者“*”,最大长度可以传1024。 “*”表示所有终端节点可连接。 示例: - iam:domain::6e9dfd51d1124e8d8498dce894923a0dd - organizations:orgPath::o-3j59d1231uprgk9yuvlidra7zbzfi578/r-rldbu1vmxdw5ahdkknxnvd5rgag77m2z/ou-7tuddd8nh99rebxltawsm6qct5z7rklv/* - * :return: The permission of this PermissionObject. :rtype: str @@ -99,7 +99,7 @@ def permission(self): def permission(self, permission): """Sets the permission of this PermissionObject. - permission列表。 权限格式为:iam:domain::domain_id或者organizations:orgPath::org_path其中, ● “iam:domain::”和“organizations:orgPath::”为固定格式。 ● “domain_id”为可连接用户的帐号ID,org_path可连接用户的组织路径 domain_id类型支持输入包括“a~z”、“A~Z”、“0~9”或者“*”,org_path类型支持“a~z”、“A~Z”、“0~9”、“/-*?”或者“*”。 “*”表示所有终端节点可连接。 例如:iam:domain::6e9dfd51d1124e8d8498dce894923a0dd或者organizations:orgPath::o-3j59d1231uprgk9yuvlidra7zbzfi578/r-rldbu1vmxdw5ahdkknxnvd5rgag77m2z/ou-7tuddd8nh99rebxltawsm6qct5z7rklv/* + permission列表。 权限格式为: - iam:domain::domain_id。其中: “iam:domain::”为固定格式,“domain_id”为可连接用户的帐号ID。 domain_id类型支持输入包括“a~z”、“A~Z”、“0~9”或者“*”,最大长度可以传64。 - organizations:orgPath::org_path。其中: “organizations:orgPath::”为固定格式,org_path为可连接用户的组织路径。 org_path类型支持“a~z”、“A~Z”、“0~9”、“/-*?”或者“*”,最大长度可以传1024。 “*”表示所有终端节点可连接。 示例: - iam:domain::6e9dfd51d1124e8d8498dce894923a0dd - organizations:orgPath::o-3j59d1231uprgk9yuvlidra7zbzfi578/r-rldbu1vmxdw5ahdkknxnvd5rgag77m2z/ou-7tuddd8nh99rebxltawsm6qct5z7rklv/* - * :param permission: The permission of this PermissionObject. :type permission: str @@ -110,7 +110,7 @@ def permission(self, permission): def permission_type(self): """Gets the permission_type of this PermissionObject. - 终端节点服务白名单类型。 ● domainId:基于账户ID配置终端节点服务白名单。 ● orgPath:基于账户所在组织路径配置终端节点服务白名单。 + 终端节点服务白名单类型。 - domainId:基于账户ID配置终端节点服务白名单。 - orgPath:基于账户所在组织路径配置终端节点服务白名单。 :return: The permission_type of this PermissionObject. :rtype: str @@ -121,7 +121,7 @@ def permission_type(self): def permission_type(self, permission_type): """Sets the permission_type of this PermissionObject. - 终端节点服务白名单类型。 ● domainId:基于账户ID配置终端节点服务白名单。 ● orgPath:基于账户所在组织路径配置终端节点服务白名单。 + 终端节点服务白名单类型。 - domainId:基于账户ID配置终端节点服务白名单。 - orgPath:基于账户所在组织路径配置终端节点服务白名单。 :param permission_type: The permission_type of this PermissionObject. :type permission_type: str @@ -135,7 +135,7 @@ def created_at(self): 白名单的添加时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ :return: The created_at of this PermissionObject. - :rtype: str + :rtype: datetime """ return self._created_at @@ -146,7 +146,7 @@ def created_at(self, created_at): 白名单的添加时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ :param created_at: The created_at of this PermissionObject. - :type created_at: str + :type created_at: datetime """ self._created_at = created_at diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/policy_statement.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/policy_statement.py index 938026dae4..4cae326ab8 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/policy_statement.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/policy_statement.py @@ -33,7 +33,7 @@ def __init__(self, effect=None, action=None, resource=None): The model defined in huaweicloud sdk - :param effect: 允许或拒绝,控制访问权限 + :param effect: Allow允许或Refuse拒绝,控制访问权限 :type effect: str :param action: obs访问权限 :type action: list[str] @@ -56,7 +56,7 @@ def __init__(self, effect=None, action=None, resource=None): def effect(self): """Gets the effect of this PolicyStatement. - 允许或拒绝,控制访问权限 + Allow允许或Refuse拒绝,控制访问权限 :return: The effect of this PolicyStatement. :rtype: str @@ -67,7 +67,7 @@ def effect(self): def effect(self, effect): """Sets the effect of this PolicyStatement. - 允许或拒绝,控制访问权限 + Allow允许或Refuse拒绝,控制访问权限 :param effect: The effect of this PolicyStatement. :type effect: str diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/quotas.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/quotas.py index 43c2a384f4..9a1fa22dbd 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/quotas.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/quotas.py @@ -33,7 +33,7 @@ def __init__(self, type=None, used=None, quota=None): The model defined in huaweicloud sdk - :param type: 资源类型。支持根据资源类型过滤查询指定类型的配额。 ● endpoint_service:终端节点服务 ● endpoint:终端节点 + :param type: 资源类型。支持根据资源类型过滤查询指定类型的配额。 - endpoint_service:终端节点服务 - endpoint:终端节点 :type type: str :param used: 已创建的资源个数。 取值范围:0~quota数。 :type used: int @@ -59,7 +59,7 @@ def __init__(self, type=None, used=None, quota=None): def type(self): """Gets the type of this Quotas. - 资源类型。支持根据资源类型过滤查询指定类型的配额。 ● endpoint_service:终端节点服务 ● endpoint:终端节点 + 资源类型。支持根据资源类型过滤查询指定类型的配额。 - endpoint_service:终端节点服务 - endpoint:终端节点 :return: The type of this Quotas. :rtype: str @@ -70,7 +70,7 @@ def type(self): def type(self, type): """Sets the type of this Quotas. - 资源类型。支持根据资源类型过滤查询指定类型的配额。 ● endpoint_service:终端节点服务 ● endpoint:终端节点 + 资源类型。支持根据资源类型过滤查询指定类型的配额。 - endpoint_service:终端节点服务 - endpoint:终端节点 :param type: The type of this Quotas. :type type: str diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/resources_resp.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/resources_response_body.py similarity index 88% rename from huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/resources_resp.py rename to huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/resources_response_body.py index 9989b1d5c4..8b205b95f7 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/resources_resp.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/resources_response_body.py @@ -5,7 +5,7 @@ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class ResourcesResp: +class ResourcesResponseBody: """ Attributes: @@ -25,7 +25,7 @@ class ResourcesResp: } def __init__(self, resources=None): - """ResourcesResp + """ResourcesResponseBody The model defined in huaweicloud sdk @@ -43,22 +43,22 @@ def __init__(self, resources=None): @property def resources(self): - """Gets the resources of this ResourcesResp. + """Gets the resources of this ResourcesResponseBody. 资源列表 - :return: The resources of this ResourcesResp. + :return: The resources of this ResourcesResponseBody. :rtype: list[:class:`huaweicloudsdkvpcep.v1.Quotas`] """ return self._resources @resources.setter def resources(self, resources): - """Sets the resources of this ResourcesResp. + """Sets the resources of this ResourcesResponseBody. 资源列表 - :param resources: The resources of this ResourcesResp. + :param resources: The resources of this ResourcesResponseBody. :type resources: list[:class:`huaweicloudsdkvpcep.v1.Quotas`] """ self._resources = resources @@ -105,7 +105,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, ResourcesResp): + if not isinstance(other, ResourcesResponseBody): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/service_list.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/service_list.py index 4fe1e148db..1e2b726153 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/service_list.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/service_list.py @@ -25,8 +25,8 @@ class ServiceList: 'approval_enabled': 'bool', 'status': 'str', 'service_type': 'str', - 'created_at': 'str', - 'updated_at': 'str', + 'created_at': 'datetime', + 'updated_at': 'datetime', 'project_id': 'str', 'domain_id': 'str', 'ports': 'list[PortList]', @@ -69,24 +69,24 @@ def __init__(self, id=None, port_id=None, service_name=None, server_type=None, v :param id: 终端节点服务的ID,唯一标识。 :type id: str - :param port_id: 标识终端节点服务后端资源的ID, 格式为通用唯一识别码(Universally Unique Identifier,下文简称UUID)。取值为: ● LB类型:负载均衡器内网IP对应的端口ID。 ● VM类型:弹性云服务器IP地址对应的网卡ID。 ● VIP类型:虚拟资源所在物理服务器对应的网卡ID。(该字段已废弃,请优先使用LB类型) + :param port_id: 标识终端节点服务后端资源的ID, 格式为通用唯一识别码(Universally Unique Identifier,下文简称UUID)。取值为: - LB类型:负载均衡器内网IP对应的端口ID。 - VM类型:弹性云服务器IP地址对应的网卡ID。 - VIP类型:虚拟资源所在物理服务器对应的网卡ID。(该字段已废弃,请优先使用LB类型) :type port_id: str :param service_name: 终端节点服务的名称。 :type service_name: str - :param server_type: 资源类型。 ● VM:云服务器。 ● VIP:虚拟IP。 ● LB:增强负载均衡型。 + :param server_type: 资源类型。 - VM:云服务器。 - VIP:虚拟IP。 - LB:增强负载均衡型。 :type server_type: str :param vpc_id: 终端节点服务对应后端资源所在的VPC的ID。 :type vpc_id: str - :param approval_enabled: 是否需要审批。 ● false:不需要审批,创建的终端节点连接直接为accepted状态。 ● true:需要审批,创建的终端节点连接为pendingAcceptance状态, 需要终端节点服务所属用户审核后方可使用。 + :param approval_enabled: 是否需要审批。 - false:不需要审批,创建的终端节点连接直接为accepted状态。 - true:需要审批,创建的终端节点连接为pendingAcceptance状态, 需要终端节点服务所属用户审核后方可使用。 :type approval_enabled: bool - :param status: 终端节点服务的状态。 ● creating:创建中 ● available:可连接 ● failed:失败 ● deleting:删除中 + :param status: 终端节点服务的状态。 - creating:创建中 - available:可连接 - failed:失败 - deleting:删除中 :type status: str - :param service_type: 终端节点服务类型。 终端节点服务类型包括“网关(gataway)型”和“接口(interface)型”: ● gataway:由运维人员配置。用户无需创建,可直接使用。 ● interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节点。 + :param service_type: 终端节点服务类型。 终端节点服务类型包括“网关(gateway)型”和“接口(interface)型”: - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节点。 :type service_type: str :param created_at: 终端节点服务的创建时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ - :type created_at: str + :type created_at: datetime :param updated_at: 终端节点服务的更新时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ - :type updated_at: str + :type updated_at: datetime :param project_id: 项目ID,获取方法请参见获取项目ID。 :type project_id: str :param domain_id: Domain ID @@ -97,7 +97,7 @@ def __init__(self, id=None, port_id=None, service_name=None, server_type=None, v :type tags: list[:class:`huaweicloudsdkvpcep.v1.TagList`] :param connection_count: 终端节点服务下连接的状态为“创建中”或“已接受”的终端节点的个数。 :type connection_count: int - :param tcp_proxy: 用于控制将哪些信息(如客户端的源IP、源端口、marker_id等)携带到服务端。 支持携带的客户端信息包括如下两种类型: ● TCP TOA:表示将客户端信息插入到tcp option字段中携带至服务端。 说明:仅当后端资源为OBS时,支持TCP TOA类型信息携带方式。 ● Proxy Protocol:表示将客户端信息插入到tcp payload字段中携带至服务端。 仅当服务端支持解析上述字段时,该参数设置才有效。 该参数的取值包括: ● close:表示关闭代理协议。 ● toa_open:表示开启代理协议“tcp_toa”。 ● proxy_open:表示开启代理协议“proxy_protocol”。 ● open:表示同时开启代理协议“tcp_toa”和“proxy_protocol”。 ● proxy_vni: 关闭toa,开启proxy和vni。 默认值为“close”。 + :param tcp_proxy: 用于控制将哪些信息(如客户端的源IP、源端口、marker_id等)携带到服务端。 支持携带的客户端信息包括如下两种类型: - TCP TOA:表示将客户端信息插入到tcp option字段中携带至服务端。 说明:仅当后端资源为OBS时,支持TCP TOA类型信息携带方式。 - Proxy Protocol:表示将客户端信息插入到tcp payload字段中携带至服务端。 仅当服务端支持解析上述字段时,该参数设置才有效。 该参数的取值包括: - close:表示关闭代理协议。 - toa_open:表示开启代理协议“tcp_toa”。 - proxy_open:表示开启代理协议“proxy_protocol”。 - open:表示同时开启代理协议“tcp_toa”和“proxy_protocol”。 - proxy_vni: 关闭toa,开启proxy和vni。 默认值为“close”。 :type tcp_proxy: str :param error: 提交任务异常时返回的异常信息 :type error: list[:class:`huaweicloudsdkvpcep.v1.Error`] @@ -105,7 +105,7 @@ def __init__(self, id=None, port_id=None, service_name=None, server_type=None, v :type description: str :param public_border_group: 终端节点服务对应Pool的Public Border Group信息 :type public_border_group: str - :param enable_policy: 是否开启终端节点策略。 ● false:不支持设置终端节点策略 ● true:支持设置终端节点策略 默认为false + :param enable_policy: 是否开启终端节点策略。 - false:不支持设置终端节点策略 - true:支持设置终端节点策略 默认为false :type enable_policy: bool """ @@ -200,7 +200,7 @@ def id(self, id): def port_id(self): """Gets the port_id of this ServiceList. - 标识终端节点服务后端资源的ID, 格式为通用唯一识别码(Universally Unique Identifier,下文简称UUID)。取值为: ● LB类型:负载均衡器内网IP对应的端口ID。 ● VM类型:弹性云服务器IP地址对应的网卡ID。 ● VIP类型:虚拟资源所在物理服务器对应的网卡ID。(该字段已废弃,请优先使用LB类型) + 标识终端节点服务后端资源的ID, 格式为通用唯一识别码(Universally Unique Identifier,下文简称UUID)。取值为: - LB类型:负载均衡器内网IP对应的端口ID。 - VM类型:弹性云服务器IP地址对应的网卡ID。 - VIP类型:虚拟资源所在物理服务器对应的网卡ID。(该字段已废弃,请优先使用LB类型) :return: The port_id of this ServiceList. :rtype: str @@ -211,7 +211,7 @@ def port_id(self): def port_id(self, port_id): """Sets the port_id of this ServiceList. - 标识终端节点服务后端资源的ID, 格式为通用唯一识别码(Universally Unique Identifier,下文简称UUID)。取值为: ● LB类型:负载均衡器内网IP对应的端口ID。 ● VM类型:弹性云服务器IP地址对应的网卡ID。 ● VIP类型:虚拟资源所在物理服务器对应的网卡ID。(该字段已废弃,请优先使用LB类型) + 标识终端节点服务后端资源的ID, 格式为通用唯一识别码(Universally Unique Identifier,下文简称UUID)。取值为: - LB类型:负载均衡器内网IP对应的端口ID。 - VM类型:弹性云服务器IP地址对应的网卡ID。 - VIP类型:虚拟资源所在物理服务器对应的网卡ID。(该字段已废弃,请优先使用LB类型) :param port_id: The port_id of this ServiceList. :type port_id: str @@ -244,7 +244,7 @@ def service_name(self, service_name): def server_type(self): """Gets the server_type of this ServiceList. - 资源类型。 ● VM:云服务器。 ● VIP:虚拟IP。 ● LB:增强负载均衡型。 + 资源类型。 - VM:云服务器。 - VIP:虚拟IP。 - LB:增强负载均衡型。 :return: The server_type of this ServiceList. :rtype: str @@ -255,7 +255,7 @@ def server_type(self): def server_type(self, server_type): """Sets the server_type of this ServiceList. - 资源类型。 ● VM:云服务器。 ● VIP:虚拟IP。 ● LB:增强负载均衡型。 + 资源类型。 - VM:云服务器。 - VIP:虚拟IP。 - LB:增强负载均衡型。 :param server_type: The server_type of this ServiceList. :type server_type: str @@ -288,7 +288,7 @@ def vpc_id(self, vpc_id): def approval_enabled(self): """Gets the approval_enabled of this ServiceList. - 是否需要审批。 ● false:不需要审批,创建的终端节点连接直接为accepted状态。 ● true:需要审批,创建的终端节点连接为pendingAcceptance状态, 需要终端节点服务所属用户审核后方可使用。 + 是否需要审批。 - false:不需要审批,创建的终端节点连接直接为accepted状态。 - true:需要审批,创建的终端节点连接为pendingAcceptance状态, 需要终端节点服务所属用户审核后方可使用。 :return: The approval_enabled of this ServiceList. :rtype: bool @@ -299,7 +299,7 @@ def approval_enabled(self): def approval_enabled(self, approval_enabled): """Sets the approval_enabled of this ServiceList. - 是否需要审批。 ● false:不需要审批,创建的终端节点连接直接为accepted状态。 ● true:需要审批,创建的终端节点连接为pendingAcceptance状态, 需要终端节点服务所属用户审核后方可使用。 + 是否需要审批。 - false:不需要审批,创建的终端节点连接直接为accepted状态。 - true:需要审批,创建的终端节点连接为pendingAcceptance状态, 需要终端节点服务所属用户审核后方可使用。 :param approval_enabled: The approval_enabled of this ServiceList. :type approval_enabled: bool @@ -310,7 +310,7 @@ def approval_enabled(self, approval_enabled): def status(self): """Gets the status of this ServiceList. - 终端节点服务的状态。 ● creating:创建中 ● available:可连接 ● failed:失败 ● deleting:删除中 + 终端节点服务的状态。 - creating:创建中 - available:可连接 - failed:失败 - deleting:删除中 :return: The status of this ServiceList. :rtype: str @@ -321,7 +321,7 @@ def status(self): def status(self, status): """Sets the status of this ServiceList. - 终端节点服务的状态。 ● creating:创建中 ● available:可连接 ● failed:失败 ● deleting:删除中 + 终端节点服务的状态。 - creating:创建中 - available:可连接 - failed:失败 - deleting:删除中 :param status: The status of this ServiceList. :type status: str @@ -332,7 +332,7 @@ def status(self, status): def service_type(self): """Gets the service_type of this ServiceList. - 终端节点服务类型。 终端节点服务类型包括“网关(gataway)型”和“接口(interface)型”: ● gataway:由运维人员配置。用户无需创建,可直接使用。 ● interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节点。 + 终端节点服务类型。 终端节点服务类型包括“网关(gateway)型”和“接口(interface)型”: - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节点。 :return: The service_type of this ServiceList. :rtype: str @@ -343,7 +343,7 @@ def service_type(self): def service_type(self, service_type): """Sets the service_type of this ServiceList. - 终端节点服务类型。 终端节点服务类型包括“网关(gataway)型”和“接口(interface)型”: ● gataway:由运维人员配置。用户无需创建,可直接使用。 ● interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节点。 + 终端节点服务类型。 终端节点服务类型包括“网关(gateway)型”和“接口(interface)型”: - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节点。 :param service_type: The service_type of this ServiceList. :type service_type: str @@ -357,7 +357,7 @@ def created_at(self): 终端节点服务的创建时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ :return: The created_at of this ServiceList. - :rtype: str + :rtype: datetime """ return self._created_at @@ -368,7 +368,7 @@ def created_at(self, created_at): 终端节点服务的创建时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ :param created_at: The created_at of this ServiceList. - :type created_at: str + :type created_at: datetime """ self._created_at = created_at @@ -379,7 +379,7 @@ def updated_at(self): 终端节点服务的更新时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ :return: The updated_at of this ServiceList. - :rtype: str + :rtype: datetime """ return self._updated_at @@ -390,7 +390,7 @@ def updated_at(self, updated_at): 终端节点服务的更新时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ :param updated_at: The updated_at of this ServiceList. - :type updated_at: str + :type updated_at: datetime """ self._updated_at = updated_at @@ -508,7 +508,7 @@ def connection_count(self, connection_count): def tcp_proxy(self): """Gets the tcp_proxy of this ServiceList. - 用于控制将哪些信息(如客户端的源IP、源端口、marker_id等)携带到服务端。 支持携带的客户端信息包括如下两种类型: ● TCP TOA:表示将客户端信息插入到tcp option字段中携带至服务端。 说明:仅当后端资源为OBS时,支持TCP TOA类型信息携带方式。 ● Proxy Protocol:表示将客户端信息插入到tcp payload字段中携带至服务端。 仅当服务端支持解析上述字段时,该参数设置才有效。 该参数的取值包括: ● close:表示关闭代理协议。 ● toa_open:表示开启代理协议“tcp_toa”。 ● proxy_open:表示开启代理协议“proxy_protocol”。 ● open:表示同时开启代理协议“tcp_toa”和“proxy_protocol”。 ● proxy_vni: 关闭toa,开启proxy和vni。 默认值为“close”。 + 用于控制将哪些信息(如客户端的源IP、源端口、marker_id等)携带到服务端。 支持携带的客户端信息包括如下两种类型: - TCP TOA:表示将客户端信息插入到tcp option字段中携带至服务端。 说明:仅当后端资源为OBS时,支持TCP TOA类型信息携带方式。 - Proxy Protocol:表示将客户端信息插入到tcp payload字段中携带至服务端。 仅当服务端支持解析上述字段时,该参数设置才有效。 该参数的取值包括: - close:表示关闭代理协议。 - toa_open:表示开启代理协议“tcp_toa”。 - proxy_open:表示开启代理协议“proxy_protocol”。 - open:表示同时开启代理协议“tcp_toa”和“proxy_protocol”。 - proxy_vni: 关闭toa,开启proxy和vni。 默认值为“close”。 :return: The tcp_proxy of this ServiceList. :rtype: str @@ -519,7 +519,7 @@ def tcp_proxy(self): def tcp_proxy(self, tcp_proxy): """Sets the tcp_proxy of this ServiceList. - 用于控制将哪些信息(如客户端的源IP、源端口、marker_id等)携带到服务端。 支持携带的客户端信息包括如下两种类型: ● TCP TOA:表示将客户端信息插入到tcp option字段中携带至服务端。 说明:仅当后端资源为OBS时,支持TCP TOA类型信息携带方式。 ● Proxy Protocol:表示将客户端信息插入到tcp payload字段中携带至服务端。 仅当服务端支持解析上述字段时,该参数设置才有效。 该参数的取值包括: ● close:表示关闭代理协议。 ● toa_open:表示开启代理协议“tcp_toa”。 ● proxy_open:表示开启代理协议“proxy_protocol”。 ● open:表示同时开启代理协议“tcp_toa”和“proxy_protocol”。 ● proxy_vni: 关闭toa,开启proxy和vni。 默认值为“close”。 + 用于控制将哪些信息(如客户端的源IP、源端口、marker_id等)携带到服务端。 支持携带的客户端信息包括如下两种类型: - TCP TOA:表示将客户端信息插入到tcp option字段中携带至服务端。 说明:仅当后端资源为OBS时,支持TCP TOA类型信息携带方式。 - Proxy Protocol:表示将客户端信息插入到tcp payload字段中携带至服务端。 仅当服务端支持解析上述字段时,该参数设置才有效。 该参数的取值包括: - close:表示关闭代理协议。 - toa_open:表示开启代理协议“tcp_toa”。 - proxy_open:表示开启代理协议“proxy_protocol”。 - open:表示同时开启代理协议“tcp_toa”和“proxy_protocol”。 - proxy_vni: 关闭toa,开启proxy和vni。 默认值为“close”。 :param tcp_proxy: The tcp_proxy of this ServiceList. :type tcp_proxy: str @@ -596,7 +596,7 @@ def public_border_group(self, public_border_group): def enable_policy(self): """Gets the enable_policy of this ServiceList. - 是否开启终端节点策略。 ● false:不支持设置终端节点策略 ● true:支持设置终端节点策略 默认为false + 是否开启终端节点策略。 - false:不支持设置终端节点策略 - true:支持设置终端节点策略 默认为false :return: The enable_policy of this ServiceList. :rtype: bool @@ -607,7 +607,7 @@ def enable_policy(self): def enable_policy(self, enable_policy): """Sets the enable_policy of this ServiceList. - 是否开启终端节点策略。 ● false:不支持设置终端节点策略 ● true:支持设置终端节点策略 默认为false + 是否开启终端节点策略。 - false:不支持设置终端节点策略 - true:支持设置终端节点策略 默认为false :param enable_policy: The enable_policy of this ServiceList. :type enable_policy: bool diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_connections_desc_request.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_connections_desc_request.py index 2e818480ff..0253069af6 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_connections_desc_request.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_connections_desc_request.py @@ -18,7 +18,7 @@ class UpdateEndpointConnectionsDescRequest: openapi_types = { 'vpc_endpoint_service_id': 'str', - 'body': 'UpdateEpConnections' + 'body': 'UpdateEndpointConnectionsDescRequestBody' } attribute_map = { @@ -34,7 +34,7 @@ def __init__(self, vpc_endpoint_service_id=None, body=None): :param vpc_endpoint_service_id: 终端节点服务ID :type vpc_endpoint_service_id: str :param body: Body of the UpdateEndpointConnectionsDescRequest - :type body: :class:`huaweicloudsdkvpcep.v1.UpdateEpConnections` + :type body: :class:`huaweicloudsdkvpcep.v1.UpdateEndpointConnectionsDescRequestBody` """ @@ -74,7 +74,7 @@ def body(self): """Gets the body of this UpdateEndpointConnectionsDescRequest. :return: The body of this UpdateEndpointConnectionsDescRequest. - :rtype: :class:`huaweicloudsdkvpcep.v1.UpdateEpConnections` + :rtype: :class:`huaweicloudsdkvpcep.v1.UpdateEndpointConnectionsDescRequestBody` """ return self._body @@ -83,7 +83,7 @@ def body(self, body): """Sets the body of this UpdateEndpointConnectionsDescRequest. :param body: The body of this UpdateEndpointConnectionsDescRequest. - :type body: :class:`huaweicloudsdkvpcep.v1.UpdateEpConnections` + :type body: :class:`huaweicloudsdkvpcep.v1.UpdateEndpointConnectionsDescRequestBody` """ self._body = body diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_ep_connections.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_connections_desc_request_body.py similarity index 85% rename from huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_ep_connections.py rename to huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_connections_desc_request_body.py index 74e7d8b00e..e3ba29e93d 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_ep_connections.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_connections_desc_request_body.py @@ -5,7 +5,7 @@ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class UpdateEpConnections: +class UpdateEndpointConnectionsDescRequestBody: """ Attributes: @@ -25,7 +25,7 @@ class UpdateEpConnections: } def __init__(self, connections=None): - """UpdateEpConnections + """UpdateEndpointConnectionsDescRequestBody The model defined in huaweicloud sdk @@ -42,22 +42,22 @@ def __init__(self, connections=None): @property def connections(self): - """Gets the connections of this UpdateEpConnections. + """Gets the connections of this UpdateEndpointConnectionsDescRequestBody. 连接管理描述字段列表 - :return: The connections of this UpdateEpConnections. + :return: The connections of this UpdateEndpointConnectionsDescRequestBody. :rtype: list[:class:`huaweicloudsdkvpcep.v1.ConnectionsDesc`] """ return self._connections @connections.setter def connections(self, connections): - """Sets the connections of this UpdateEpConnections. + """Sets the connections of this UpdateEndpointConnectionsDescRequestBody. 连接管理描述字段列表 - :param connections: The connections of this UpdateEpConnections. + :param connections: The connections of this UpdateEndpointConnectionsDescRequestBody. :type connections: list[:class:`huaweicloudsdkvpcep.v1.ConnectionsDesc`] """ self._connections = connections @@ -104,7 +104,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, UpdateEpConnections): + if not isinstance(other, UpdateEndpointConnectionsDescRequestBody): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_policy_response.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_policy_response.py index b50a17ed30..fc0808a42b 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_policy_response.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_policy_response.py @@ -25,13 +25,10 @@ class UpdateEndpointPolicyResponse(SdkResponse): 'endpoint_service_name': 'str', 'marker_id': 'int', 'endpoint_service_id': 'str', - 'enable_dns': 'bool', - 'dns_names': 'list[str]', 'ip': 'str', 'vpc_id': 'str', - 'subnet_id': 'str', - 'created_at': 'str', - 'updated_at': 'str', + 'created_at': 'datetime', + 'updated_at': 'datetime', 'project_id': 'str', 'tags': 'list[TagList]', 'error': 'list[QueryError]', @@ -52,11 +49,8 @@ class UpdateEndpointPolicyResponse(SdkResponse): 'endpoint_service_name': 'endpoint_service_name', 'marker_id': 'marker_id', 'endpoint_service_id': 'endpoint_service_id', - 'enable_dns': 'enable_dns', - 'dns_names': 'dns_names', 'ip': 'ip', 'vpc_id': 'vpc_id', - 'subnet_id': 'subnet_id', 'created_at': 'created_at', 'updated_at': 'updated_at', 'project_id': 'project_id', @@ -71,18 +65,18 @@ class UpdateEndpointPolicyResponse(SdkResponse): 'public_border_group': 'public_border_group' } - def __init__(self, id=None, service_type=None, status=None, active_status=None, endpoint_service_name=None, marker_id=None, endpoint_service_id=None, enable_dns=None, dns_names=None, ip=None, vpc_id=None, subnet_id=None, created_at=None, updated_at=None, project_id=None, tags=None, error=None, whitelist=None, enable_whitelist=None, routetables=None, description=None, policy_statement=None, endpoint_pool_id=None, public_border_group=None): + def __init__(self, id=None, service_type=None, status=None, active_status=None, endpoint_service_name=None, marker_id=None, endpoint_service_id=None, ip=None, vpc_id=None, created_at=None, updated_at=None, project_id=None, tags=None, error=None, whitelist=None, enable_whitelist=None, routetables=None, description=None, policy_statement=None, endpoint_pool_id=None, public_border_group=None): """UpdateEndpointPolicyResponse The model defined in huaweicloud sdk :param id: 终端节点的ID,唯一标识。 :type id: str - :param service_type: 终端节点连接的终端节点服务类型。 ● gataway:由运维人员配置。用户无需创建,可直接使用。 ● interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。 + :param service_type: 终端节点连接的终端节点服务类型。 - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。 :type service_type: str - :param status: 终端节点的连接状态。 ● pendingAcceptance:待接受 ● creating:创建中 ● accepted:已接受 ● failed:失败 + :param status: 终端节点的连接状态。 - pendingAcceptance:待接受 - creating:创建中 - accepted:已接受 - rejected:已拒绝 - failed:失败 - deleting:删除中 :type status: str - :param active_status: 帐号状态。 ● frozen:冻结 ● active:解冻 + :param active_status: 帐号状态。 - frozen:冻结 - active:解冻 :type active_status: list[str] :param endpoint_service_name: 终端节点服务的名称。 :type endpoint_service_name: str @@ -90,20 +84,14 @@ def __init__(self, id=None, service_type=None, status=None, active_status=None, :type marker_id: int :param endpoint_service_id: 终端节点服务的ID。 :type endpoint_service_id: str - :param enable_dns: 是否创建域名。 ● true:创建域名 ● false:不创建域名 说明 当创建连接gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。 - :type enable_dns: bool - :param dns_names: 访问所连接的终端节点服务的域名。 当“enable_dns”为true时,该参数可见。 - :type dns_names: list[str] :param ip: 访问所连接的终端节点服务的IP。 仅当同时满足如下条件时,返回该参数: 当查询连接interface类型终端节点服务的终端节点时。 终端节点服务启用“连接审批”功能,且已经“接受”连接审批。 “status”可以是“accepted”或者“rejected(仅支持“接受”连接审批后再“拒绝”的情况)”。 :type ip: str :param vpc_id: 终端节点所在的VPC的ID。 :type vpc_id: str - :param subnet_id: vpc_id对应VPC下已创建的网络(network)的ID,UUID格式。 - :type subnet_id: str :param created_at: 终端节点的创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ - :type created_at: str + :type created_at: datetime :param updated_at: 终端节点的更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ - :type updated_at: str + :type updated_at: datetime :param project_id: 项目ID,获取方法请参见获取项目ID。 :type project_id: str :param tags: 标签列表,没有标签默认为空数组。 @@ -112,7 +100,7 @@ def __init__(self, id=None, service_type=None, status=None, active_status=None, :type error: list[:class:`huaweicloudsdkvpcep.v1.QueryError`] :param whitelist: 控制访问终端节点的白名单。 若未创建,则返回空列表。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。 :type whitelist: list[str] - :param enable_whitelist: 是否开启网络ACL隔离。 ● true:开启网络ACL隔离 ● false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。 + :param enable_whitelist: 是否开启网络ACL隔离。 - true:开启网络ACL隔离 - false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。 :type enable_whitelist: bool :param routetables: 路由表ID列表。 若未指定,返回默认VPC下路由表ID。 创建连接Gateway类型终端节点服务的终端节点时,显示此参数。 :type routetables: list[str] @@ -135,11 +123,8 @@ def __init__(self, id=None, service_type=None, status=None, active_status=None, self._endpoint_service_name = None self._marker_id = None self._endpoint_service_id = None - self._enable_dns = None - self._dns_names = None self._ip = None self._vpc_id = None - self._subnet_id = None self._created_at = None self._updated_at = None self._project_id = None @@ -168,16 +153,10 @@ def __init__(self, id=None, service_type=None, status=None, active_status=None, self.marker_id = marker_id if endpoint_service_id is not None: self.endpoint_service_id = endpoint_service_id - if enable_dns is not None: - self.enable_dns = enable_dns - if dns_names is not None: - self.dns_names = dns_names if ip is not None: self.ip = ip if vpc_id is not None: self.vpc_id = vpc_id - if subnet_id is not None: - self.subnet_id = subnet_id if created_at is not None: self.created_at = created_at if updated_at is not None: @@ -229,7 +208,7 @@ def id(self, id): def service_type(self): """Gets the service_type of this UpdateEndpointPolicyResponse. - 终端节点连接的终端节点服务类型。 ● gataway:由运维人员配置。用户无需创建,可直接使用。 ● interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。 + 终端节点连接的终端节点服务类型。 - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。 :return: The service_type of this UpdateEndpointPolicyResponse. :rtype: str @@ -240,7 +219,7 @@ def service_type(self): def service_type(self, service_type): """Sets the service_type of this UpdateEndpointPolicyResponse. - 终端节点连接的终端节点服务类型。 ● gataway:由运维人员配置。用户无需创建,可直接使用。 ● interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。 + 终端节点连接的终端节点服务类型。 - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。 :param service_type: The service_type of this UpdateEndpointPolicyResponse. :type service_type: str @@ -251,7 +230,7 @@ def service_type(self, service_type): def status(self): """Gets the status of this UpdateEndpointPolicyResponse. - 终端节点的连接状态。 ● pendingAcceptance:待接受 ● creating:创建中 ● accepted:已接受 ● failed:失败 + 终端节点的连接状态。 - pendingAcceptance:待接受 - creating:创建中 - accepted:已接受 - rejected:已拒绝 - failed:失败 - deleting:删除中 :return: The status of this UpdateEndpointPolicyResponse. :rtype: str @@ -262,7 +241,7 @@ def status(self): def status(self, status): """Sets the status of this UpdateEndpointPolicyResponse. - 终端节点的连接状态。 ● pendingAcceptance:待接受 ● creating:创建中 ● accepted:已接受 ● failed:失败 + 终端节点的连接状态。 - pendingAcceptance:待接受 - creating:创建中 - accepted:已接受 - rejected:已拒绝 - failed:失败 - deleting:删除中 :param status: The status of this UpdateEndpointPolicyResponse. :type status: str @@ -273,7 +252,7 @@ def status(self, status): def active_status(self): """Gets the active_status of this UpdateEndpointPolicyResponse. - 帐号状态。 ● frozen:冻结 ● active:解冻 + 帐号状态。 - frozen:冻结 - active:解冻 :return: The active_status of this UpdateEndpointPolicyResponse. :rtype: list[str] @@ -284,7 +263,7 @@ def active_status(self): def active_status(self, active_status): """Sets the active_status of this UpdateEndpointPolicyResponse. - 帐号状态。 ● frozen:冻结 ● active:解冻 + 帐号状态。 - frozen:冻结 - active:解冻 :param active_status: The active_status of this UpdateEndpointPolicyResponse. :type active_status: list[str] @@ -357,50 +336,6 @@ def endpoint_service_id(self, endpoint_service_id): """ self._endpoint_service_id = endpoint_service_id - @property - def enable_dns(self): - """Gets the enable_dns of this UpdateEndpointPolicyResponse. - - 是否创建域名。 ● true:创建域名 ● false:不创建域名 说明 当创建连接gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。 - - :return: The enable_dns of this UpdateEndpointPolicyResponse. - :rtype: bool - """ - return self._enable_dns - - @enable_dns.setter - def enable_dns(self, enable_dns): - """Sets the enable_dns of this UpdateEndpointPolicyResponse. - - 是否创建域名。 ● true:创建域名 ● false:不创建域名 说明 当创建连接gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。 - - :param enable_dns: The enable_dns of this UpdateEndpointPolicyResponse. - :type enable_dns: bool - """ - self._enable_dns = enable_dns - - @property - def dns_names(self): - """Gets the dns_names of this UpdateEndpointPolicyResponse. - - 访问所连接的终端节点服务的域名。 当“enable_dns”为true时,该参数可见。 - - :return: The dns_names of this UpdateEndpointPolicyResponse. - :rtype: list[str] - """ - return self._dns_names - - @dns_names.setter - def dns_names(self, dns_names): - """Sets the dns_names of this UpdateEndpointPolicyResponse. - - 访问所连接的终端节点服务的域名。 当“enable_dns”为true时,该参数可见。 - - :param dns_names: The dns_names of this UpdateEndpointPolicyResponse. - :type dns_names: list[str] - """ - self._dns_names = dns_names - @property def ip(self): """Gets the ip of this UpdateEndpointPolicyResponse. @@ -445,28 +380,6 @@ def vpc_id(self, vpc_id): """ self._vpc_id = vpc_id - @property - def subnet_id(self): - """Gets the subnet_id of this UpdateEndpointPolicyResponse. - - vpc_id对应VPC下已创建的网络(network)的ID,UUID格式。 - - :return: The subnet_id of this UpdateEndpointPolicyResponse. - :rtype: str - """ - return self._subnet_id - - @subnet_id.setter - def subnet_id(self, subnet_id): - """Sets the subnet_id of this UpdateEndpointPolicyResponse. - - vpc_id对应VPC下已创建的网络(network)的ID,UUID格式。 - - :param subnet_id: The subnet_id of this UpdateEndpointPolicyResponse. - :type subnet_id: str - """ - self._subnet_id = subnet_id - @property def created_at(self): """Gets the created_at of this UpdateEndpointPolicyResponse. @@ -474,7 +387,7 @@ def created_at(self): 终端节点的创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ :return: The created_at of this UpdateEndpointPolicyResponse. - :rtype: str + :rtype: datetime """ return self._created_at @@ -485,7 +398,7 @@ def created_at(self, created_at): 终端节点的创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ :param created_at: The created_at of this UpdateEndpointPolicyResponse. - :type created_at: str + :type created_at: datetime """ self._created_at = created_at @@ -496,7 +409,7 @@ def updated_at(self): 终端节点的更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ :return: The updated_at of this UpdateEndpointPolicyResponse. - :rtype: str + :rtype: datetime """ return self._updated_at @@ -507,7 +420,7 @@ def updated_at(self, updated_at): 终端节点的更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ :param updated_at: The updated_at of this UpdateEndpointPolicyResponse. - :type updated_at: str + :type updated_at: datetime """ self._updated_at = updated_at @@ -603,7 +516,7 @@ def whitelist(self, whitelist): def enable_whitelist(self): """Gets the enable_whitelist of this UpdateEndpointPolicyResponse. - 是否开启网络ACL隔离。 ● true:开启网络ACL隔离 ● false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。 + 是否开启网络ACL隔离。 - true:开启网络ACL隔离 - false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。 :return: The enable_whitelist of this UpdateEndpointPolicyResponse. :rtype: bool @@ -614,7 +527,7 @@ def enable_whitelist(self): def enable_whitelist(self, enable_whitelist): """Sets the enable_whitelist of this UpdateEndpointPolicyResponse. - 是否开启网络ACL隔离。 ● true:开启网络ACL隔离 ● false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。 + 是否开启网络ACL隔离。 - true:开启网络ACL隔离 - false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。 :param enable_whitelist: The enable_whitelist of this UpdateEndpointPolicyResponse. :type enable_whitelist: bool diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_service_name_request.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_service_name_request.py index db4be267d7..80b8b7e02b 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_service_name_request.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_service_name_request.py @@ -18,7 +18,7 @@ class UpdateEndpointServiceNameRequest: openapi_types = { 'vpc_endpoint_service_id': 'str', - 'body': 'UpdateEndpointServiceNameMode' + 'body': 'UpdateEndpointServiceNameRequestBody' } attribute_map = { @@ -34,7 +34,7 @@ def __init__(self, vpc_endpoint_service_id=None, body=None): :param vpc_endpoint_service_id: 终端节点服务ID :type vpc_endpoint_service_id: str :param body: Body of the UpdateEndpointServiceNameRequest - :type body: :class:`huaweicloudsdkvpcep.v1.UpdateEndpointServiceNameMode` + :type body: :class:`huaweicloudsdkvpcep.v1.UpdateEndpointServiceNameRequestBody` """ @@ -74,7 +74,7 @@ def body(self): """Gets the body of this UpdateEndpointServiceNameRequest. :return: The body of this UpdateEndpointServiceNameRequest. - :rtype: :class:`huaweicloudsdkvpcep.v1.UpdateEndpointServiceNameMode` + :rtype: :class:`huaweicloudsdkvpcep.v1.UpdateEndpointServiceNameRequestBody` """ return self._body @@ -83,7 +83,7 @@ def body(self, body): """Sets the body of this UpdateEndpointServiceNameRequest. :param body: The body of this UpdateEndpointServiceNameRequest. - :type body: :class:`huaweicloudsdkvpcep.v1.UpdateEndpointServiceNameMode` + :type body: :class:`huaweicloudsdkvpcep.v1.UpdateEndpointServiceNameRequestBody` """ self._body = body diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_service_name_mode.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_service_name_request_body.py similarity index 91% rename from huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_service_name_mode.py rename to huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_service_name_request_body.py index ced30b3d18..083933d60c 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_service_name_mode.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_service_name_request_body.py @@ -5,7 +5,7 @@ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class UpdateEndpointServiceNameMode: +class UpdateEndpointServiceNameRequestBody: """ Attributes: @@ -25,7 +25,7 @@ class UpdateEndpointServiceNameMode: } def __init__(self, endpoint_service_name=None): - """UpdateEndpointServiceNameMode + """UpdateEndpointServiceNameRequestBody The model defined in huaweicloud sdk @@ -43,22 +43,22 @@ def __init__(self, endpoint_service_name=None): @property def endpoint_service_name(self): - """Gets the endpoint_service_name of this UpdateEndpointServiceNameMode. + """Gets the endpoint_service_name of this UpdateEndpointServiceNameRequestBody. 终端节点服务名称 - :return: The endpoint_service_name of this UpdateEndpointServiceNameMode. + :return: The endpoint_service_name of this UpdateEndpointServiceNameRequestBody. :rtype: str """ return self._endpoint_service_name @endpoint_service_name.setter def endpoint_service_name(self, endpoint_service_name): - """Sets the endpoint_service_name of this UpdateEndpointServiceNameMode. + """Sets the endpoint_service_name of this UpdateEndpointServiceNameRequestBody. 终端节点服务名称 - :param endpoint_service_name: The endpoint_service_name of this UpdateEndpointServiceNameMode. + :param endpoint_service_name: The endpoint_service_name of this UpdateEndpointServiceNameRequestBody. :type endpoint_service_name: str """ self._endpoint_service_name = endpoint_service_name @@ -105,7 +105,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, UpdateEndpointServiceNameMode): + if not isinstance(other, UpdateEndpointServiceNameRequestBody): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_service_permission_desc_request.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_service_permission_desc_request.py index 7dd70f0dd9..6768f0419b 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_service_permission_desc_request.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_service_permission_desc_request.py @@ -19,7 +19,7 @@ class UpdateEndpointServicePermissionDescRequest: openapi_types = { 'vpc_endpoint_service_id': 'str', 'permission_id': 'str', - 'body': 'UpdatePermissionDescRequest' + 'body': 'UpdateEndpointServicePermissionDescRequestBody' } attribute_map = { @@ -38,7 +38,7 @@ def __init__(self, vpc_endpoint_service_id=None, permission_id=None, body=None): :param permission_id: 白名单的ID。 :type permission_id: str :param body: Body of the UpdateEndpointServicePermissionDescRequest - :type body: :class:`huaweicloudsdkvpcep.v1.UpdatePermissionDescRequest` + :type body: :class:`huaweicloudsdkvpcep.v1.UpdateEndpointServicePermissionDescRequestBody` """ @@ -102,7 +102,7 @@ def body(self): """Gets the body of this UpdateEndpointServicePermissionDescRequest. :return: The body of this UpdateEndpointServicePermissionDescRequest. - :rtype: :class:`huaweicloudsdkvpcep.v1.UpdatePermissionDescRequest` + :rtype: :class:`huaweicloudsdkvpcep.v1.UpdateEndpointServicePermissionDescRequestBody` """ return self._body @@ -111,7 +111,7 @@ def body(self, body): """Sets the body of this UpdateEndpointServicePermissionDescRequest. :param body: The body of this UpdateEndpointServicePermissionDescRequest. - :type body: :class:`huaweicloudsdkvpcep.v1.UpdatePermissionDescRequest` + :type body: :class:`huaweicloudsdkvpcep.v1.UpdateEndpointServicePermissionDescRequestBody` """ self._body = body diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_permission_desc_request.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_service_permission_desc_request_body.py similarity index 83% rename from huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_permission_desc_request.py rename to huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_service_permission_desc_request_body.py index d41f51950f..5b17ed3fc9 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_permission_desc_request.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_service_permission_desc_request_body.py @@ -5,7 +5,7 @@ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class UpdatePermissionDescRequest: +class UpdateEndpointServicePermissionDescRequestBody: """ Attributes: @@ -25,7 +25,7 @@ class UpdatePermissionDescRequest: } def __init__(self, permission=None): - """UpdatePermissionDescRequest + """UpdateEndpointServicePermissionDescRequestBody The model defined in huaweicloud sdk @@ -42,18 +42,18 @@ def __init__(self, permission=None): @property def permission(self): - """Gets the permission of this UpdatePermissionDescRequest. + """Gets the permission of this UpdateEndpointServicePermissionDescRequestBody. - :return: The permission of this UpdatePermissionDescRequest. + :return: The permission of this UpdateEndpointServicePermissionDescRequestBody. :rtype: :class:`huaweicloudsdkvpcep.v1.EpsUpdatePermissionDesc` """ return self._permission @permission.setter def permission(self, permission): - """Sets the permission of this UpdatePermissionDescRequest. + """Sets the permission of this UpdateEndpointServicePermissionDescRequestBody. - :param permission: The permission of this UpdatePermissionDescRequest. + :param permission: The permission of this UpdateEndpointServicePermissionDescRequestBody. :type permission: :class:`huaweicloudsdkvpcep.v1.EpsUpdatePermissionDesc` """ self._permission = permission @@ -100,7 +100,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, UpdatePermissionDescRequest): + if not isinstance(other, UpdateEndpointServicePermissionDescRequestBody): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_service_permission_desc_response.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_service_permission_desc_response.py index 7c3cb769f9..e9b517428a 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_service_permission_desc_response.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_service_permission_desc_response.py @@ -30,7 +30,7 @@ def __init__(self, permissions=None): The model defined in huaweicloud sdk - :param permissions: + :param permissions: 终端节点服务白名单 :type permissions: list[:class:`huaweicloudsdkvpcep.v1.EpsPermission`] """ @@ -46,6 +46,8 @@ def __init__(self, permissions=None): def permissions(self): """Gets the permissions of this UpdateEndpointServicePermissionDescResponse. + 终端节点服务白名单 + :return: The permissions of this UpdateEndpointServicePermissionDescResponse. :rtype: list[:class:`huaweicloudsdkvpcep.v1.EpsPermission`] """ @@ -55,6 +57,8 @@ def permissions(self): def permissions(self, permissions): """Sets the permissions of this UpdateEndpointServicePermissionDescResponse. + 终端节点服务白名单 + :param permissions: The permissions of this UpdateEndpointServicePermissionDescResponse. :type permissions: list[:class:`huaweicloudsdkvpcep.v1.EpsPermission`] """ diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_service_request_body.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_service_request_body.py index 90c72c02f8..7e08aaf332 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_service_request_body.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_service_request_body.py @@ -39,15 +39,15 @@ def __init__(self, approval_enabled=None, service_name=None, ports=None, port_id The model defined in huaweicloud sdk - :param approval_enabled: 是否需要审批。 ● false:不需审批,创建的终端节点连接直接为accepted状态。 ● true:需审批,创建的终端节点连接需要终端节点服务所属用户审核后方可使用。 默认为true,需要审批。 + :param approval_enabled: 是否需要审批。 - false:不需审批,创建的终端节点连接直接为accepted状态。 - true:需审批,创建的终端节点连接需要终端节点服务所属用户审核后方可使用。 默认为true,需要审批。 :type approval_enabled: bool :param service_name: 终端节点服务的名称,长度不大于16,允许传入大小写字母、数字、下划线、中划线。 :type service_name: str :param ports: 服务开放的端口映射列表,同一个终端节点服务下,不允许重复的端口映射。 若多个终端节点服务共用一个port_id, 则终端节点之间服务的所有端口映射的server_port和protocol的组合不能重复, 单次最多添加200个。 该参数值将被全量更新。 :type ports: list[:class:`huaweicloudsdkvpcep.v1.PortList`] - :param port_id: 标识终端节点服务后端资源的ID, 格式为通用唯一识别码(Universally UniqueIdentifier,下文简称UUID)。 取值为: ● LB类型:负载均衡器内网IP对应的端口ID。 详细内容请参考《弹性负载均衡API参考》中的“查询负载均衡详情”。 ● VM类型:弹性云服务器IP地址对应的网卡ID。 详细内容请参考《弹性云服务器API参考》中的“查询云服务器网卡信息”, 详见响应消息中的“port_id”字段。 ● VIP类型:虚拟资源所在物理服务器对应的网卡ID。(该字段已废弃,请优先使用LB类型) 说明: 当后端资源为“LB类型”时,仅支持修改为同类型后端资源。 例如,共享型负载均衡仅支持更换为共享型负载均衡,不支持更换为独享型负载均衡。 + :param port_id: 标识终端节点服务后端资源的ID, 格式为通用唯一识别码(Universally UniqueIdentifier,下文简称UUID)。 取值为: - LB类型:负载均衡器内网IP对应的端口ID。 详细内容请参考《弹性负载均衡API参考》中的“查询负载均衡详情”。 - VM类型:弹性云服务器IP地址对应的网卡ID。 详细内容请参考《弹性云服务器API参考》中的“查询云服务器网卡信息”, 详见响应消息中的“port_id”字段。 - VIP类型:虚拟资源所在物理服务器对应的网卡ID。(该字段已废弃,请优先使用LB类型) 说明: 当后端资源为“LB类型”时,仅支持修改为同类型后端资源。 例如,共享型负载均衡仅支持更换为共享型负载均衡,不支持更换为独享型负载均衡。 :type port_id: str - :param tcp_proxy: 用于控制将哪些信息(如客户端的源IP、源端口、marker_id等)携带到服务端。 支持携带的客户端信息包括如下两种类型: ● TCP TOA:表示将客户端信息插入到tcp option字段中携带至服务端。 说明:仅当后端资源为OBS时,支持TCP TOA类型信息携带方式。 ● Proxy Protocol:表示将客户端信息插入到tcp payload字段中携带至服务端。 仅当服务端支持解析上述字段时,该参数设置才有效。 该参数的取值包括: ● close:表示关闭代理协议。 ● toa_open:表示开启代理协议“tcp_toa”。 ● proxy_open:表示开启代理协议“proxy_protocol”。 ● open:表示同时开启代理协议“tcp_toa”和“proxy_protocol”。 ● proxy_vni: 关闭toa,开启proxy和vni。 默认值为“close”。 + :param tcp_proxy: 用于控制将哪些信息(如客户端的源IP、源端口、marker_id等)携带到服务端。 支持携带的客户端信息包括如下两种类型: - TCP TOA:表示将客户端信息插入到tcp option字段中携带至服务端。 说明:仅当后端资源为OBS时,支持TCP TOA类型信息携带方式。 - Proxy Protocol:表示将客户端信息插入到tcp payload字段中携带至服务端。 仅当服务端支持解析上述字段时,该参数设置才有效。 该参数的取值包括: - close:表示关闭代理协议。 - toa_open:表示开启代理协议“tcp_toa”。 - proxy_open:表示开启代理协议“proxy_protocol”。 - open:表示同时开启代理协议“tcp_toa”和“proxy_protocol”。 - proxy_vni: 关闭toa,开启proxy和vni。 默认值为“close”。 :type tcp_proxy: str :param description: 描述字段,支持中英文字母、数字等字符,不支持“<”或“>”字符。 :type description: str @@ -80,7 +80,7 @@ def __init__(self, approval_enabled=None, service_name=None, ports=None, port_id def approval_enabled(self): """Gets the approval_enabled of this UpdateEndpointServiceRequestBody. - 是否需要审批。 ● false:不需审批,创建的终端节点连接直接为accepted状态。 ● true:需审批,创建的终端节点连接需要终端节点服务所属用户审核后方可使用。 默认为true,需要审批。 + 是否需要审批。 - false:不需审批,创建的终端节点连接直接为accepted状态。 - true:需审批,创建的终端节点连接需要终端节点服务所属用户审核后方可使用。 默认为true,需要审批。 :return: The approval_enabled of this UpdateEndpointServiceRequestBody. :rtype: bool @@ -91,7 +91,7 @@ def approval_enabled(self): def approval_enabled(self, approval_enabled): """Sets the approval_enabled of this UpdateEndpointServiceRequestBody. - 是否需要审批。 ● false:不需审批,创建的终端节点连接直接为accepted状态。 ● true:需审批,创建的终端节点连接需要终端节点服务所属用户审核后方可使用。 默认为true,需要审批。 + 是否需要审批。 - false:不需审批,创建的终端节点连接直接为accepted状态。 - true:需审批,创建的终端节点连接需要终端节点服务所属用户审核后方可使用。 默认为true,需要审批。 :param approval_enabled: The approval_enabled of this UpdateEndpointServiceRequestBody. :type approval_enabled: bool @@ -146,7 +146,7 @@ def ports(self, ports): def port_id(self): """Gets the port_id of this UpdateEndpointServiceRequestBody. - 标识终端节点服务后端资源的ID, 格式为通用唯一识别码(Universally UniqueIdentifier,下文简称UUID)。 取值为: ● LB类型:负载均衡器内网IP对应的端口ID。 详细内容请参考《弹性负载均衡API参考》中的“查询负载均衡详情”。 ● VM类型:弹性云服务器IP地址对应的网卡ID。 详细内容请参考《弹性云服务器API参考》中的“查询云服务器网卡信息”, 详见响应消息中的“port_id”字段。 ● VIP类型:虚拟资源所在物理服务器对应的网卡ID。(该字段已废弃,请优先使用LB类型) 说明: 当后端资源为“LB类型”时,仅支持修改为同类型后端资源。 例如,共享型负载均衡仅支持更换为共享型负载均衡,不支持更换为独享型负载均衡。 + 标识终端节点服务后端资源的ID, 格式为通用唯一识别码(Universally UniqueIdentifier,下文简称UUID)。 取值为: - LB类型:负载均衡器内网IP对应的端口ID。 详细内容请参考《弹性负载均衡API参考》中的“查询负载均衡详情”。 - VM类型:弹性云服务器IP地址对应的网卡ID。 详细内容请参考《弹性云服务器API参考》中的“查询云服务器网卡信息”, 详见响应消息中的“port_id”字段。 - VIP类型:虚拟资源所在物理服务器对应的网卡ID。(该字段已废弃,请优先使用LB类型) 说明: 当后端资源为“LB类型”时,仅支持修改为同类型后端资源。 例如,共享型负载均衡仅支持更换为共享型负载均衡,不支持更换为独享型负载均衡。 :return: The port_id of this UpdateEndpointServiceRequestBody. :rtype: str @@ -157,7 +157,7 @@ def port_id(self): def port_id(self, port_id): """Sets the port_id of this UpdateEndpointServiceRequestBody. - 标识终端节点服务后端资源的ID, 格式为通用唯一识别码(Universally UniqueIdentifier,下文简称UUID)。 取值为: ● LB类型:负载均衡器内网IP对应的端口ID。 详细内容请参考《弹性负载均衡API参考》中的“查询负载均衡详情”。 ● VM类型:弹性云服务器IP地址对应的网卡ID。 详细内容请参考《弹性云服务器API参考》中的“查询云服务器网卡信息”, 详见响应消息中的“port_id”字段。 ● VIP类型:虚拟资源所在物理服务器对应的网卡ID。(该字段已废弃,请优先使用LB类型) 说明: 当后端资源为“LB类型”时,仅支持修改为同类型后端资源。 例如,共享型负载均衡仅支持更换为共享型负载均衡,不支持更换为独享型负载均衡。 + 标识终端节点服务后端资源的ID, 格式为通用唯一识别码(Universally UniqueIdentifier,下文简称UUID)。 取值为: - LB类型:负载均衡器内网IP对应的端口ID。 详细内容请参考《弹性负载均衡API参考》中的“查询负载均衡详情”。 - VM类型:弹性云服务器IP地址对应的网卡ID。 详细内容请参考《弹性云服务器API参考》中的“查询云服务器网卡信息”, 详见响应消息中的“port_id”字段。 - VIP类型:虚拟资源所在物理服务器对应的网卡ID。(该字段已废弃,请优先使用LB类型) 说明: 当后端资源为“LB类型”时,仅支持修改为同类型后端资源。 例如,共享型负载均衡仅支持更换为共享型负载均衡,不支持更换为独享型负载均衡。 :param port_id: The port_id of this UpdateEndpointServiceRequestBody. :type port_id: str @@ -168,7 +168,7 @@ def port_id(self, port_id): def tcp_proxy(self): """Gets the tcp_proxy of this UpdateEndpointServiceRequestBody. - 用于控制将哪些信息(如客户端的源IP、源端口、marker_id等)携带到服务端。 支持携带的客户端信息包括如下两种类型: ● TCP TOA:表示将客户端信息插入到tcp option字段中携带至服务端。 说明:仅当后端资源为OBS时,支持TCP TOA类型信息携带方式。 ● Proxy Protocol:表示将客户端信息插入到tcp payload字段中携带至服务端。 仅当服务端支持解析上述字段时,该参数设置才有效。 该参数的取值包括: ● close:表示关闭代理协议。 ● toa_open:表示开启代理协议“tcp_toa”。 ● proxy_open:表示开启代理协议“proxy_protocol”。 ● open:表示同时开启代理协议“tcp_toa”和“proxy_protocol”。 ● proxy_vni: 关闭toa,开启proxy和vni。 默认值为“close”。 + 用于控制将哪些信息(如客户端的源IP、源端口、marker_id等)携带到服务端。 支持携带的客户端信息包括如下两种类型: - TCP TOA:表示将客户端信息插入到tcp option字段中携带至服务端。 说明:仅当后端资源为OBS时,支持TCP TOA类型信息携带方式。 - Proxy Protocol:表示将客户端信息插入到tcp payload字段中携带至服务端。 仅当服务端支持解析上述字段时,该参数设置才有效。 该参数的取值包括: - close:表示关闭代理协议。 - toa_open:表示开启代理协议“tcp_toa”。 - proxy_open:表示开启代理协议“proxy_protocol”。 - open:表示同时开启代理协议“tcp_toa”和“proxy_protocol”。 - proxy_vni: 关闭toa,开启proxy和vni。 默认值为“close”。 :return: The tcp_proxy of this UpdateEndpointServiceRequestBody. :rtype: str @@ -179,7 +179,7 @@ def tcp_proxy(self): def tcp_proxy(self, tcp_proxy): """Sets the tcp_proxy of this UpdateEndpointServiceRequestBody. - 用于控制将哪些信息(如客户端的源IP、源端口、marker_id等)携带到服务端。 支持携带的客户端信息包括如下两种类型: ● TCP TOA:表示将客户端信息插入到tcp option字段中携带至服务端。 说明:仅当后端资源为OBS时,支持TCP TOA类型信息携带方式。 ● Proxy Protocol:表示将客户端信息插入到tcp payload字段中携带至服务端。 仅当服务端支持解析上述字段时,该参数设置才有效。 该参数的取值包括: ● close:表示关闭代理协议。 ● toa_open:表示开启代理协议“tcp_toa”。 ● proxy_open:表示开启代理协议“proxy_protocol”。 ● open:表示同时开启代理协议“tcp_toa”和“proxy_protocol”。 ● proxy_vni: 关闭toa,开启proxy和vni。 默认值为“close”。 + 用于控制将哪些信息(如客户端的源IP、源端口、marker_id等)携带到服务端。 支持携带的客户端信息包括如下两种类型: - TCP TOA:表示将客户端信息插入到tcp option字段中携带至服务端。 说明:仅当后端资源为OBS时,支持TCP TOA类型信息携带方式。 - Proxy Protocol:表示将客户端信息插入到tcp payload字段中携带至服务端。 仅当服务端支持解析上述字段时,该参数设置才有效。 该参数的取值包括: - close:表示关闭代理协议。 - toa_open:表示开启代理协议“tcp_toa”。 - proxy_open:表示开启代理协议“proxy_protocol”。 - open:表示同时开启代理协议“tcp_toa”和“proxy_protocol”。 - proxy_vni: 关闭toa,开启proxy和vni。 默认值为“close”。 :param tcp_proxy: The tcp_proxy of this UpdateEndpointServiceRequestBody. :type tcp_proxy: str diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_service_response.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_service_response.py index 70c3c90be2..9f8c317c96 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_service_response.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_service_response.py @@ -27,8 +27,8 @@ class UpdateEndpointServiceResponse(SdkResponse): 'approval_enabled': 'bool', 'status': 'str', 'service_type': 'str', - 'created_at': 'str', - 'updated_at': 'str', + 'created_at': 'datetime', + 'updated_at': 'datetime', 'project_id': 'str', 'ports': 'list[PortList]', 'tcp_proxy': 'str', @@ -64,37 +64,37 @@ def __init__(self, id=None, port_id=None, service_name=None, server_type=None, v :param id: 终端节点服务的ID,唯一标识。 :type id: str - :param port_id: 标识终端节点服务后端资源的ID, 格式为通用唯一识别码(Universally Unique Identifier,下文简称UUID)。 取值为: ● LB类型:负载均衡器内网IP对应的端口ID。 ● VM类型:弹性云服务器IP地址对应的网卡ID。 ● VIP类型:虚拟资源所在物理服务器对应的网卡ID。(该字段已废弃,请优先使用LB类型) + :param port_id: 标识终端节点服务后端资源的ID, 格式为通用唯一识别码(Universally Unique Identifier,下文简称UUID)。 取值为: - LB类型:负载均衡器内网IP对应的端口ID。 - VM类型:弹性云服务器IP地址对应的网卡ID。 - VIP类型:虚拟资源所在物理服务器对应的网卡ID。(该字段已废弃,请优先使用LB类型) :type port_id: str :param service_name: 终端节点服务的名称。 :type service_name: str - :param server_type: 资源类型。 ● VM:云服务器。 ● VIP:虚拟IP。 ● LB:增强负载均衡型。 + :param server_type: 资源类型。 - VM:云服务器。 - VIP:虚拟IP。 - LB:增强负载均衡型。 :type server_type: str :param vpc_id: 终端节点服务对应后端资源所在的VPC的ID。 :type vpc_id: str :param pool_id: 终端节点服务对应的集群id :type pool_id: str - :param approval_enabled: 是否需要审批。 ● false:不需要审批,创建的终端节点连接直接为accepted状态。 ● true:需要审批,创建的终端节点连接为pendingAcceptance状态, 需要终端节点服务所属用户审核后方可使用。 + :param approval_enabled: 是否需要审批。 - false:不需要审批,创建的终端节点连接直接为accepted状态。 - true:需要审批,创建的终端节点连接为pendingAcceptance状态, 需要终端节点服务所属用户审核后方可使用。 :type approval_enabled: bool - :param status: 终端节点服务的状态。 ● creating:创建中 ● available:可连接 ● failed:失败 + :param status: 终端节点服务的状态。 - creating:创建中 - available:可连接 - failed:失败 :type status: str - :param service_type: 终端节点服务类型。 终端节点服务类型包括“网关(gataway)型”和“接口(interface)型”: ● gataway:由运维人员配置。用户无需创建,可直接使用。 ● interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节点。 + :param service_type: 终端节点服务类型。 终端节点服务类型包括“网关(gateway)型”和“接口(interface)型”: - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节点。 :type service_type: str :param created_at: 终端节点服务的创建时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ - :type created_at: str + :type created_at: datetime :param updated_at: 终端节点服务的更新时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ - :type updated_at: str + :type updated_at: datetime :param project_id: 项目ID :type project_id: str :param ports: 服务开放的端口映射列表 同一个终端节点服务下,不允许重复的端口映射。 若多个终端节点服务共用一个port_id, 则终端节点服务之间的所有端口映射的server_port和protocol的组合不能重复。 :type ports: list[:class:`huaweicloudsdkvpcep.v1.PortList`] - :param tcp_proxy: 用于控制将哪些信息(如客户端的源IP、源端口、marker_id等)携带到服务端。 支持携带的客户端信息包括如下两种类型: ● TCP TOA:表示将客户端信息插入到tcp option字段中携带至服务端。 说明:仅当后端资源为OBS时,支持TCP TOA类型信息携带方式。 ● Proxy Protocol:表示将客户端信息插入到tcp payload字段中携带至服务端。 仅当服务端支持解析上述字段时,该参数设置才有效。 该参数的取值包括: ● close:表示关闭代理协议。 ● toa_open:表示开启代理协议“tcp_toa”。 ● proxy_open:表示开启代理协议“proxy_protocol”。 ● open:表示同时开启代理协议“tcp_toa”和“proxy_protocol”。 ● proxy_vni: 关闭toa,开启proxy和vni。 默认值为“close”。 + :param tcp_proxy: 用于控制将哪些信息(如客户端的源IP、源端口、marker_id等)携带到服务端。 支持携带的客户端信息包括如下两种类型: - TCP TOA:表示将客户端信息插入到tcp option字段中携带至服务端。 说明:仅当后端资源为OBS时,支持TCP TOA类型信息携带方式。 - Proxy Protocol:表示将客户端信息插入到tcp payload字段中携带至服务端。 仅当服务端支持解析上述字段时,该参数设置才有效。 该参数的取值包括: - close:表示关闭代理协议。 - toa_open:表示开启代理协议“tcp_toa”。 - proxy_open:表示开启代理协议“proxy_protocol”。 - open:表示同时开启代理协议“tcp_toa”和“proxy_protocol”。 - proxy_vni: 关闭toa,开启proxy和vni。 默认值为“close”。 :type tcp_proxy: str :param tags: 资源标签列表 :type tags: list[:class:`huaweicloudsdkvpcep.v1.TagList`] :param description: 描述字段,支持中英文字母、数字等字符,不支持“<”或“>”字符。 :type description: str - :param enable_policy: 是否开启终端节点策略。 ● false:不支持设置终端节点策略 ● true:支持设置终端节点策略 默认为false + :param enable_policy: 是否开启终端节点策略。 - false:不支持设置终端节点策略 - true:支持设置终端节点策略 默认为false :type enable_policy: bool """ @@ -180,7 +180,7 @@ def id(self, id): def port_id(self): """Gets the port_id of this UpdateEndpointServiceResponse. - 标识终端节点服务后端资源的ID, 格式为通用唯一识别码(Universally Unique Identifier,下文简称UUID)。 取值为: ● LB类型:负载均衡器内网IP对应的端口ID。 ● VM类型:弹性云服务器IP地址对应的网卡ID。 ● VIP类型:虚拟资源所在物理服务器对应的网卡ID。(该字段已废弃,请优先使用LB类型) + 标识终端节点服务后端资源的ID, 格式为通用唯一识别码(Universally Unique Identifier,下文简称UUID)。 取值为: - LB类型:负载均衡器内网IP对应的端口ID。 - VM类型:弹性云服务器IP地址对应的网卡ID。 - VIP类型:虚拟资源所在物理服务器对应的网卡ID。(该字段已废弃,请优先使用LB类型) :return: The port_id of this UpdateEndpointServiceResponse. :rtype: str @@ -191,7 +191,7 @@ def port_id(self): def port_id(self, port_id): """Sets the port_id of this UpdateEndpointServiceResponse. - 标识终端节点服务后端资源的ID, 格式为通用唯一识别码(Universally Unique Identifier,下文简称UUID)。 取值为: ● LB类型:负载均衡器内网IP对应的端口ID。 ● VM类型:弹性云服务器IP地址对应的网卡ID。 ● VIP类型:虚拟资源所在物理服务器对应的网卡ID。(该字段已废弃,请优先使用LB类型) + 标识终端节点服务后端资源的ID, 格式为通用唯一识别码(Universally Unique Identifier,下文简称UUID)。 取值为: - LB类型:负载均衡器内网IP对应的端口ID。 - VM类型:弹性云服务器IP地址对应的网卡ID。 - VIP类型:虚拟资源所在物理服务器对应的网卡ID。(该字段已废弃,请优先使用LB类型) :param port_id: The port_id of this UpdateEndpointServiceResponse. :type port_id: str @@ -224,7 +224,7 @@ def service_name(self, service_name): def server_type(self): """Gets the server_type of this UpdateEndpointServiceResponse. - 资源类型。 ● VM:云服务器。 ● VIP:虚拟IP。 ● LB:增强负载均衡型。 + 资源类型。 - VM:云服务器。 - VIP:虚拟IP。 - LB:增强负载均衡型。 :return: The server_type of this UpdateEndpointServiceResponse. :rtype: str @@ -235,7 +235,7 @@ def server_type(self): def server_type(self, server_type): """Sets the server_type of this UpdateEndpointServiceResponse. - 资源类型。 ● VM:云服务器。 ● VIP:虚拟IP。 ● LB:增强负载均衡型。 + 资源类型。 - VM:云服务器。 - VIP:虚拟IP。 - LB:增强负载均衡型。 :param server_type: The server_type of this UpdateEndpointServiceResponse. :type server_type: str @@ -290,7 +290,7 @@ def pool_id(self, pool_id): def approval_enabled(self): """Gets the approval_enabled of this UpdateEndpointServiceResponse. - 是否需要审批。 ● false:不需要审批,创建的终端节点连接直接为accepted状态。 ● true:需要审批,创建的终端节点连接为pendingAcceptance状态, 需要终端节点服务所属用户审核后方可使用。 + 是否需要审批。 - false:不需要审批,创建的终端节点连接直接为accepted状态。 - true:需要审批,创建的终端节点连接为pendingAcceptance状态, 需要终端节点服务所属用户审核后方可使用。 :return: The approval_enabled of this UpdateEndpointServiceResponse. :rtype: bool @@ -301,7 +301,7 @@ def approval_enabled(self): def approval_enabled(self, approval_enabled): """Sets the approval_enabled of this UpdateEndpointServiceResponse. - 是否需要审批。 ● false:不需要审批,创建的终端节点连接直接为accepted状态。 ● true:需要审批,创建的终端节点连接为pendingAcceptance状态, 需要终端节点服务所属用户审核后方可使用。 + 是否需要审批。 - false:不需要审批,创建的终端节点连接直接为accepted状态。 - true:需要审批,创建的终端节点连接为pendingAcceptance状态, 需要终端节点服务所属用户审核后方可使用。 :param approval_enabled: The approval_enabled of this UpdateEndpointServiceResponse. :type approval_enabled: bool @@ -312,7 +312,7 @@ def approval_enabled(self, approval_enabled): def status(self): """Gets the status of this UpdateEndpointServiceResponse. - 终端节点服务的状态。 ● creating:创建中 ● available:可连接 ● failed:失败 + 终端节点服务的状态。 - creating:创建中 - available:可连接 - failed:失败 :return: The status of this UpdateEndpointServiceResponse. :rtype: str @@ -323,7 +323,7 @@ def status(self): def status(self, status): """Sets the status of this UpdateEndpointServiceResponse. - 终端节点服务的状态。 ● creating:创建中 ● available:可连接 ● failed:失败 + 终端节点服务的状态。 - creating:创建中 - available:可连接 - failed:失败 :param status: The status of this UpdateEndpointServiceResponse. :type status: str @@ -334,7 +334,7 @@ def status(self, status): def service_type(self): """Gets the service_type of this UpdateEndpointServiceResponse. - 终端节点服务类型。 终端节点服务类型包括“网关(gataway)型”和“接口(interface)型”: ● gataway:由运维人员配置。用户无需创建,可直接使用。 ● interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节点。 + 终端节点服务类型。 终端节点服务类型包括“网关(gateway)型”和“接口(interface)型”: - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节点。 :return: The service_type of this UpdateEndpointServiceResponse. :rtype: str @@ -345,7 +345,7 @@ def service_type(self): def service_type(self, service_type): """Sets the service_type of this UpdateEndpointServiceResponse. - 终端节点服务类型。 终端节点服务类型包括“网关(gataway)型”和“接口(interface)型”: ● gataway:由运维人员配置。用户无需创建,可直接使用。 ● interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节点。 + 终端节点服务类型。 终端节点服务类型包括“网关(gateway)型”和“接口(interface)型”: - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节点。 :param service_type: The service_type of this UpdateEndpointServiceResponse. :type service_type: str @@ -359,7 +359,7 @@ def created_at(self): 终端节点服务的创建时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ :return: The created_at of this UpdateEndpointServiceResponse. - :rtype: str + :rtype: datetime """ return self._created_at @@ -370,7 +370,7 @@ def created_at(self, created_at): 终端节点服务的创建时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ :param created_at: The created_at of this UpdateEndpointServiceResponse. - :type created_at: str + :type created_at: datetime """ self._created_at = created_at @@ -381,7 +381,7 @@ def updated_at(self): 终端节点服务的更新时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ :return: The updated_at of this UpdateEndpointServiceResponse. - :rtype: str + :rtype: datetime """ return self._updated_at @@ -392,7 +392,7 @@ def updated_at(self, updated_at): 终端节点服务的更新时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ :param updated_at: The updated_at of this UpdateEndpointServiceResponse. - :type updated_at: str + :type updated_at: datetime """ self._updated_at = updated_at @@ -444,7 +444,7 @@ def ports(self, ports): def tcp_proxy(self): """Gets the tcp_proxy of this UpdateEndpointServiceResponse. - 用于控制将哪些信息(如客户端的源IP、源端口、marker_id等)携带到服务端。 支持携带的客户端信息包括如下两种类型: ● TCP TOA:表示将客户端信息插入到tcp option字段中携带至服务端。 说明:仅当后端资源为OBS时,支持TCP TOA类型信息携带方式。 ● Proxy Protocol:表示将客户端信息插入到tcp payload字段中携带至服务端。 仅当服务端支持解析上述字段时,该参数设置才有效。 该参数的取值包括: ● close:表示关闭代理协议。 ● toa_open:表示开启代理协议“tcp_toa”。 ● proxy_open:表示开启代理协议“proxy_protocol”。 ● open:表示同时开启代理协议“tcp_toa”和“proxy_protocol”。 ● proxy_vni: 关闭toa,开启proxy和vni。 默认值为“close”。 + 用于控制将哪些信息(如客户端的源IP、源端口、marker_id等)携带到服务端。 支持携带的客户端信息包括如下两种类型: - TCP TOA:表示将客户端信息插入到tcp option字段中携带至服务端。 说明:仅当后端资源为OBS时,支持TCP TOA类型信息携带方式。 - Proxy Protocol:表示将客户端信息插入到tcp payload字段中携带至服务端。 仅当服务端支持解析上述字段时,该参数设置才有效。 该参数的取值包括: - close:表示关闭代理协议。 - toa_open:表示开启代理协议“tcp_toa”。 - proxy_open:表示开启代理协议“proxy_protocol”。 - open:表示同时开启代理协议“tcp_toa”和“proxy_protocol”。 - proxy_vni: 关闭toa,开启proxy和vni。 默认值为“close”。 :return: The tcp_proxy of this UpdateEndpointServiceResponse. :rtype: str @@ -455,7 +455,7 @@ def tcp_proxy(self): def tcp_proxy(self, tcp_proxy): """Sets the tcp_proxy of this UpdateEndpointServiceResponse. - 用于控制将哪些信息(如客户端的源IP、源端口、marker_id等)携带到服务端。 支持携带的客户端信息包括如下两种类型: ● TCP TOA:表示将客户端信息插入到tcp option字段中携带至服务端。 说明:仅当后端资源为OBS时,支持TCP TOA类型信息携带方式。 ● Proxy Protocol:表示将客户端信息插入到tcp payload字段中携带至服务端。 仅当服务端支持解析上述字段时,该参数设置才有效。 该参数的取值包括: ● close:表示关闭代理协议。 ● toa_open:表示开启代理协议“tcp_toa”。 ● proxy_open:表示开启代理协议“proxy_protocol”。 ● open:表示同时开启代理协议“tcp_toa”和“proxy_protocol”。 ● proxy_vni: 关闭toa,开启proxy和vni。 默认值为“close”。 + 用于控制将哪些信息(如客户端的源IP、源端口、marker_id等)携带到服务端。 支持携带的客户端信息包括如下两种类型: - TCP TOA:表示将客户端信息插入到tcp option字段中携带至服务端。 说明:仅当后端资源为OBS时,支持TCP TOA类型信息携带方式。 - Proxy Protocol:表示将客户端信息插入到tcp payload字段中携带至服务端。 仅当服务端支持解析上述字段时,该参数设置才有效。 该参数的取值包括: - close:表示关闭代理协议。 - toa_open:表示开启代理协议“tcp_toa”。 - proxy_open:表示开启代理协议“proxy_protocol”。 - open:表示同时开启代理协议“tcp_toa”和“proxy_protocol”。 - proxy_vni: 关闭toa,开启proxy和vni。 默认值为“close”。 :param tcp_proxy: The tcp_proxy of this UpdateEndpointServiceResponse. :type tcp_proxy: str @@ -510,7 +510,7 @@ def description(self, description): def enable_policy(self): """Gets the enable_policy of this UpdateEndpointServiceResponse. - 是否开启终端节点策略。 ● false:不支持设置终端节点策略 ● true:支持设置终端节点策略 默认为false + 是否开启终端节点策略。 - false:不支持设置终端节点策略 - true:支持设置终端节点策略 默认为false :return: The enable_policy of this UpdateEndpointServiceResponse. :rtype: bool @@ -521,7 +521,7 @@ def enable_policy(self): def enable_policy(self, enable_policy): """Sets the enable_policy of this UpdateEndpointServiceResponse. - 是否开启终端节点策略。 ● false:不支持设置终端节点策略 ● true:支持设置终端节点策略 默认为false + 是否开启终端节点策略。 - false:不支持设置终端节点策略 - true:支持设置终端节点策略 默认为false :param enable_policy: The enable_policy of this UpdateEndpointServiceResponse. :type enable_policy: bool diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_white_request_body.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_white_request_body.py index 683ee0266a..c29c5c80ab 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_white_request_body.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_white_request_body.py @@ -31,9 +31,9 @@ def __init__(self, whitelist=None, enable_whitelist=None): The model defined in huaweicloud sdk - :param whitelist: 更新或删除用于控制访问终端节点的白名单。此参数可以添加IPv4或CIDR: ● 当取值不为空时,表示将白名单更新为取值所示内容。 ● 当取值为空时,表示删除所有白名单。 默认为空列表。 + :param whitelist: 更新或删除用于控制访问终端节点的白名单。此参数可以添加IPv4或CIDR: - 当取值不为空时,表示将白名单更新为取值所示内容。 - 当取值为空时,表示删除所有白名单。 默认为空列表。 :type whitelist: list[str] - :param enable_whitelist: 是否开启网络ACL隔离。 ● true:开启网络ACL隔离 ● false:不开启网络ACL隔离 默认值为false。 + :param enable_whitelist: 是否开启网络ACL隔离。 - true:开启网络ACL隔离 - false:不开启网络ACL隔离 默认值为false。 :type enable_whitelist: bool """ @@ -52,7 +52,7 @@ def __init__(self, whitelist=None, enable_whitelist=None): def whitelist(self): """Gets the whitelist of this UpdateEndpointWhiteRequestBody. - 更新或删除用于控制访问终端节点的白名单。此参数可以添加IPv4或CIDR: ● 当取值不为空时,表示将白名单更新为取值所示内容。 ● 当取值为空时,表示删除所有白名单。 默认为空列表。 + 更新或删除用于控制访问终端节点的白名单。此参数可以添加IPv4或CIDR: - 当取值不为空时,表示将白名单更新为取值所示内容。 - 当取值为空时,表示删除所有白名单。 默认为空列表。 :return: The whitelist of this UpdateEndpointWhiteRequestBody. :rtype: list[str] @@ -63,7 +63,7 @@ def whitelist(self): def whitelist(self, whitelist): """Sets the whitelist of this UpdateEndpointWhiteRequestBody. - 更新或删除用于控制访问终端节点的白名单。此参数可以添加IPv4或CIDR: ● 当取值不为空时,表示将白名单更新为取值所示内容。 ● 当取值为空时,表示删除所有白名单。 默认为空列表。 + 更新或删除用于控制访问终端节点的白名单。此参数可以添加IPv4或CIDR: - 当取值不为空时,表示将白名单更新为取值所示内容。 - 当取值为空时,表示删除所有白名单。 默认为空列表。 :param whitelist: The whitelist of this UpdateEndpointWhiteRequestBody. :type whitelist: list[str] @@ -74,7 +74,7 @@ def whitelist(self, whitelist): def enable_whitelist(self): """Gets the enable_whitelist of this UpdateEndpointWhiteRequestBody. - 是否开启网络ACL隔离。 ● true:开启网络ACL隔离 ● false:不开启网络ACL隔离 默认值为false。 + 是否开启网络ACL隔离。 - true:开启网络ACL隔离 - false:不开启网络ACL隔离 默认值为false。 :return: The enable_whitelist of this UpdateEndpointWhiteRequestBody. :rtype: bool @@ -85,7 +85,7 @@ def enable_whitelist(self): def enable_whitelist(self, enable_whitelist): """Sets the enable_whitelist of this UpdateEndpointWhiteRequestBody. - 是否开启网络ACL隔离。 ● true:开启网络ACL隔离 ● false:不开启网络ACL隔离 默认值为false。 + 是否开启网络ACL隔离。 - true:开启网络ACL隔离 - false:不开启网络ACL隔离 默认值为false。 :param enable_whitelist: The enable_whitelist of this UpdateEndpointWhiteRequestBody. :type enable_whitelist: bool diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_white_response.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_white_response.py index 3f30efff6d..fb0ae6ae5f 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_white_response.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_white_response.py @@ -30,8 +30,8 @@ class UpdateEndpointWhiteResponse(SdkResponse): 'dns_names': 'list[str]', 'subnet_id': 'str', 'vpc_id': 'str', - 'created_at': 'str', - 'updated_at': 'str', + 'created_at': 'datetime', + 'updated_at': 'datetime', 'project_id': 'str', 'tags': 'list[TagList]', 'whitelist': 'list[str]', @@ -66,13 +66,13 @@ def __init__(self, id=None, service_type=None, status=None, ip=None, active_stat :param id: 终端节点的ID,唯一标识。 :type id: str - :param service_type: 终端节点连接的终端节点服务类型。 ● gataway:由运维人员配置,用户无需创建,可直接使用。 ● interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。 + :param service_type: 终端节点连接的终端节点服务类型。 - gateway:由运维人员配置,用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。 :type service_type: str - :param status: 终端节点的连接状态。 ● pendingAcceptance:待接受 ● creating:创建中 ● accepted:已接受 ● failed:失败 + :param status: 终端节点的连接状态。 - pendingAcceptance:待接受 - creating:创建中 - accepted:已接受 - rejected:已拒绝 - failed:失败 - deleting:删除中 :type status: str - :param ip: 访问所连接的终端节点服务的IP。 仅当同时满足如下条件时,返回该参数: ● 当查询连接interface类型终端节点服务的终端节点时。 ● 终端节点服务启用“连接审批”功能,且已经“接受”连接审批。 “status”可以是“accepted”或者“rejected(仅支持“接受”连接审批后再“拒绝”的情况)”。 + :param ip: 访问所连接的终端节点服务的IP。 仅当同时满足如下条件时,返回该参数: - 当查询连接interface类型终端节点服务的终端节点时。 - 终端节点服务启用“连接审批”功能,且已经“接受”连接审批。 “status”可以是“accepted”或者“rejected(仅支持“接受”连接审批后再“拒绝”的情况)”。 :type ip: str - :param active_status: 帐号状态。 ● frozen:冻结 ● active:解冻 + :param active_status: 帐号状态。 - frozen:冻结 - active:解冻 :type active_status: list[str] :param endpoint_service_name: 终端节点服务的名称。 :type endpoint_service_name: str @@ -80,7 +80,7 @@ def __init__(self, id=None, service_type=None, status=None, ip=None, active_stat :type marker_id: int :param endpoint_service_id: 终端节点服务的ID。 :type endpoint_service_id: str - :param enable_dns: 是否创建域名。 ● true:创建域名 ● false:不创建域名 说明 当创建连接gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。 + :param enable_dns: 是否创建域名。 - true:创建域名 - false:不创建域名 说明 当创建连接gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。 :type enable_dns: bool :param dns_names: 访问所连接的终端节点服务的域名。 当“enable_dns”为true时,该参数可见。 :type dns_names: list[str] @@ -89,16 +89,16 @@ def __init__(self, id=None, service_type=None, status=None, ip=None, active_stat :param vpc_id: 终端节点所在的VPC的ID。 :type vpc_id: str :param created_at: 终端节点的创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ - :type created_at: str + :type created_at: datetime :param updated_at: 终端节点的更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ - :type updated_at: str + :type updated_at: datetime :param project_id: 项目ID,获取方法请参见获取项目ID。 :type project_id: str :param tags: 标签列表,没有标签默认为空数组。 :type tags: list[:class:`huaweicloudsdkvpcep.v1.TagList`] :param whitelist: 控制访问终端节点的白名单。 若未创建,则返回空列表。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。 :type whitelist: list[str] - :param enable_whitelist: 是否开启网络ACL隔离。 ● true:开启网络ACL隔离 ● false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。 + :param enable_whitelist: 是否开启网络ACL隔离。 - true:开启网络ACL隔离 - false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。 :type enable_whitelist: bool """ @@ -187,7 +187,7 @@ def id(self, id): def service_type(self): """Gets the service_type of this UpdateEndpointWhiteResponse. - 终端节点连接的终端节点服务类型。 ● gataway:由运维人员配置,用户无需创建,可直接使用。 ● interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。 + 终端节点连接的终端节点服务类型。 - gateway:由运维人员配置,用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。 :return: The service_type of this UpdateEndpointWhiteResponse. :rtype: str @@ -198,7 +198,7 @@ def service_type(self): def service_type(self, service_type): """Sets the service_type of this UpdateEndpointWhiteResponse. - 终端节点连接的终端节点服务类型。 ● gataway:由运维人员配置,用户无需创建,可直接使用。 ● interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。 + 终端节点连接的终端节点服务类型。 - gateway:由运维人员配置,用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。 :param service_type: The service_type of this UpdateEndpointWhiteResponse. :type service_type: str @@ -209,7 +209,7 @@ def service_type(self, service_type): def status(self): """Gets the status of this UpdateEndpointWhiteResponse. - 终端节点的连接状态。 ● pendingAcceptance:待接受 ● creating:创建中 ● accepted:已接受 ● failed:失败 + 终端节点的连接状态。 - pendingAcceptance:待接受 - creating:创建中 - accepted:已接受 - rejected:已拒绝 - failed:失败 - deleting:删除中 :return: The status of this UpdateEndpointWhiteResponse. :rtype: str @@ -220,7 +220,7 @@ def status(self): def status(self, status): """Sets the status of this UpdateEndpointWhiteResponse. - 终端节点的连接状态。 ● pendingAcceptance:待接受 ● creating:创建中 ● accepted:已接受 ● failed:失败 + 终端节点的连接状态。 - pendingAcceptance:待接受 - creating:创建中 - accepted:已接受 - rejected:已拒绝 - failed:失败 - deleting:删除中 :param status: The status of this UpdateEndpointWhiteResponse. :type status: str @@ -231,7 +231,7 @@ def status(self, status): def ip(self): """Gets the ip of this UpdateEndpointWhiteResponse. - 访问所连接的终端节点服务的IP。 仅当同时满足如下条件时,返回该参数: ● 当查询连接interface类型终端节点服务的终端节点时。 ● 终端节点服务启用“连接审批”功能,且已经“接受”连接审批。 “status”可以是“accepted”或者“rejected(仅支持“接受”连接审批后再“拒绝”的情况)”。 + 访问所连接的终端节点服务的IP。 仅当同时满足如下条件时,返回该参数: - 当查询连接interface类型终端节点服务的终端节点时。 - 终端节点服务启用“连接审批”功能,且已经“接受”连接审批。 “status”可以是“accepted”或者“rejected(仅支持“接受”连接审批后再“拒绝”的情况)”。 :return: The ip of this UpdateEndpointWhiteResponse. :rtype: str @@ -242,7 +242,7 @@ def ip(self): def ip(self, ip): """Sets the ip of this UpdateEndpointWhiteResponse. - 访问所连接的终端节点服务的IP。 仅当同时满足如下条件时,返回该参数: ● 当查询连接interface类型终端节点服务的终端节点时。 ● 终端节点服务启用“连接审批”功能,且已经“接受”连接审批。 “status”可以是“accepted”或者“rejected(仅支持“接受”连接审批后再“拒绝”的情况)”。 + 访问所连接的终端节点服务的IP。 仅当同时满足如下条件时,返回该参数: - 当查询连接interface类型终端节点服务的终端节点时。 - 终端节点服务启用“连接审批”功能,且已经“接受”连接审批。 “status”可以是“accepted”或者“rejected(仅支持“接受”连接审批后再“拒绝”的情况)”。 :param ip: The ip of this UpdateEndpointWhiteResponse. :type ip: str @@ -253,7 +253,7 @@ def ip(self, ip): def active_status(self): """Gets the active_status of this UpdateEndpointWhiteResponse. - 帐号状态。 ● frozen:冻结 ● active:解冻 + 帐号状态。 - frozen:冻结 - active:解冻 :return: The active_status of this UpdateEndpointWhiteResponse. :rtype: list[str] @@ -264,7 +264,7 @@ def active_status(self): def active_status(self, active_status): """Sets the active_status of this UpdateEndpointWhiteResponse. - 帐号状态。 ● frozen:冻结 ● active:解冻 + 帐号状态。 - frozen:冻结 - active:解冻 :param active_status: The active_status of this UpdateEndpointWhiteResponse. :type active_status: list[str] @@ -341,7 +341,7 @@ def endpoint_service_id(self, endpoint_service_id): def enable_dns(self): """Gets the enable_dns of this UpdateEndpointWhiteResponse. - 是否创建域名。 ● true:创建域名 ● false:不创建域名 说明 当创建连接gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。 + 是否创建域名。 - true:创建域名 - false:不创建域名 说明 当创建连接gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。 :return: The enable_dns of this UpdateEndpointWhiteResponse. :rtype: bool @@ -352,7 +352,7 @@ def enable_dns(self): def enable_dns(self, enable_dns): """Sets the enable_dns of this UpdateEndpointWhiteResponse. - 是否创建域名。 ● true:创建域名 ● false:不创建域名 说明 当创建连接gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。 + 是否创建域名。 - true:创建域名 - false:不创建域名 说明 当创建连接gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。 :param enable_dns: The enable_dns of this UpdateEndpointWhiteResponse. :type enable_dns: bool @@ -432,7 +432,7 @@ def created_at(self): 终端节点的创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ :return: The created_at of this UpdateEndpointWhiteResponse. - :rtype: str + :rtype: datetime """ return self._created_at @@ -443,7 +443,7 @@ def created_at(self, created_at): 终端节点的创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ :param created_at: The created_at of this UpdateEndpointWhiteResponse. - :type created_at: str + :type created_at: datetime """ self._created_at = created_at @@ -454,7 +454,7 @@ def updated_at(self): 终端节点的更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ :return: The updated_at of this UpdateEndpointWhiteResponse. - :rtype: str + :rtype: datetime """ return self._updated_at @@ -465,7 +465,7 @@ def updated_at(self, updated_at): 终端节点的更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ :param updated_at: The updated_at of this UpdateEndpointWhiteResponse. - :type updated_at: str + :type updated_at: datetime """ self._updated_at = updated_at @@ -539,7 +539,7 @@ def whitelist(self, whitelist): def enable_whitelist(self): """Gets the enable_whitelist of this UpdateEndpointWhiteResponse. - 是否开启网络ACL隔离。 ● true:开启网络ACL隔离 ● false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。 + 是否开启网络ACL隔离。 - true:开启网络ACL隔离 - false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。 :return: The enable_whitelist of this UpdateEndpointWhiteResponse. :rtype: bool @@ -550,7 +550,7 @@ def enable_whitelist(self): def enable_whitelist(self, enable_whitelist): """Sets the enable_whitelist of this UpdateEndpointWhiteResponse. - 是否开启网络ACL隔离。 ● true:开启网络ACL隔离 ● false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。 + 是否开启网络ACL隔离。 - true:开启网络ACL隔离 - false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。 :param enable_whitelist: The enable_whitelist of this UpdateEndpointWhiteResponse. :type enable_whitelist: bool diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/version_object.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/version_object.py index 1184b0d070..52e72a9e50 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/version_object.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/version_object.py @@ -19,7 +19,7 @@ class VersionObject: openapi_types = { 'status': 'str', 'id': 'str', - 'updated': 'str', + 'updated': 'datetime', 'version': 'str', 'min_version': 'str', 'links': 'list[Link]' @@ -39,12 +39,12 @@ def __init__(self, status=None, id=None, updated=None, version=None, min_version The model defined in huaweicloud sdk - :param status: 版本状态。 ● CURRENT:表示该版本为主推版本。 ● SUPPORT:表示为老版本,但是现在还在继续支持。 ● DEPRECATED:表示为废弃版本,存在后续删除的可能。 + :param status: 版本状态。 - CURRENT:表示该版本为主推版本。 - SUPPORT:表示为老版本,但是现在还在继续支持。 -DEPRECATED:表示为废弃版本,存在后续删除的可能。 :type status: str - :param id: 版本ID。 + :param id: 版本ID。 - v1:当前主推版本 :type id: str :param updated: 版本发布时间。采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ - :type updated: str + :type updated: datetime :param version: 支持的版本号。 :type version: str :param min_version: 支持的微版本号。若该版本API不支持微版本,则为空。 @@ -80,7 +80,7 @@ def __init__(self, status=None, id=None, updated=None, version=None, min_version def status(self): """Gets the status of this VersionObject. - 版本状态。 ● CURRENT:表示该版本为主推版本。 ● SUPPORT:表示为老版本,但是现在还在继续支持。 ● DEPRECATED:表示为废弃版本,存在后续删除的可能。 + 版本状态。 - CURRENT:表示该版本为主推版本。 - SUPPORT:表示为老版本,但是现在还在继续支持。 -DEPRECATED:表示为废弃版本,存在后续删除的可能。 :return: The status of this VersionObject. :rtype: str @@ -91,7 +91,7 @@ def status(self): def status(self, status): """Sets the status of this VersionObject. - 版本状态。 ● CURRENT:表示该版本为主推版本。 ● SUPPORT:表示为老版本,但是现在还在继续支持。 ● DEPRECATED:表示为废弃版本,存在后续删除的可能。 + 版本状态。 - CURRENT:表示该版本为主推版本。 - SUPPORT:表示为老版本,但是现在还在继续支持。 -DEPRECATED:表示为废弃版本,存在后续删除的可能。 :param status: The status of this VersionObject. :type status: str @@ -102,7 +102,7 @@ def status(self, status): def id(self): """Gets the id of this VersionObject. - 版本ID。 + 版本ID。 - v1:当前主推版本 :return: The id of this VersionObject. :rtype: str @@ -113,7 +113,7 @@ def id(self): def id(self, id): """Sets the id of this VersionObject. - 版本ID。 + 版本ID。 - v1:当前主推版本 :param id: The id of this VersionObject. :type id: str @@ -127,7 +127,7 @@ def updated(self): 版本发布时间。采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ :return: The updated of this VersionObject. - :rtype: str + :rtype: datetime """ return self._updated @@ -138,7 +138,7 @@ def updated(self, updated): 版本发布时间。采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ :param updated: The updated of this VersionObject. - :type updated: str + :type updated: datetime """ self._updated = updated diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/vpcep_async_client.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/vpcep_async_client.py index 566892c380..7f9cbf0d83 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/vpcep_async_client.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/vpcep_async_client.py @@ -1888,7 +1888,7 @@ def batch_add_or_remove_resource_instance_async(self, request): """批量添加或删除资源标签接口 为指定Endpoint Service或Endpoint批量添加或删除标签。 - ● 一个资源上最多有10个标签。 + - 一个资源上最多有10个标签。 Please refer to HUAWEI cloud API Explorer for details. diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/vpcep_client.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/vpcep_client.py index 6d58a665be..e728c7d15e 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/vpcep_client.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/vpcep_client.py @@ -1888,7 +1888,7 @@ def batch_add_or_remove_resource_instance(self, request): """批量添加或删除资源标签接口 为指定Endpoint Service或Endpoint批量添加或删除标签。 - ● 一个资源上最多有10个标签。 + - 一个资源上最多有10个标签。 Please refer to HUAWEI cloud API Explorer for details. diff --git a/huaweicloud-sdk-vpcep/requirements.txt b/huaweicloud-sdk-vpcep/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-vpcep/requirements.txt +++ b/huaweicloud-sdk-vpcep/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-vpcep/setup.py b/huaweicloud-sdk-vpcep/setup.py index 4cc0a0aaca..f5740348de 100644 --- a/huaweicloud-sdk-vpcep/setup.py +++ b/huaweicloud-sdk-vpcep/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkvpcep" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-vpn/requirements.txt b/huaweicloud-sdk-vpn/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-vpn/requirements.txt +++ b/huaweicloud-sdk-vpn/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-vpn/setup.py b/huaweicloud-sdk-vpn/setup.py index 6af42c9168..1efd9cbe42 100644 --- a/huaweicloud-sdk-vpn/setup.py +++ b/huaweicloud-sdk-vpn/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkvpn" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-waf/requirements.txt b/huaweicloud-sdk-waf/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-waf/requirements.txt +++ b/huaweicloud-sdk-waf/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-waf/setup.py b/huaweicloud-sdk-waf/setup.py index d1f77a94d7..fdad7ef3a1 100644 --- a/huaweicloud-sdk-waf/setup.py +++ b/huaweicloud-sdk-waf/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkwaf" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-workspace/requirements.txt b/huaweicloud-sdk-workspace/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-workspace/requirements.txt +++ b/huaweicloud-sdk-workspace/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-workspace/setup.py b/huaweicloud-sdk-workspace/setup.py index 973464da3d..56f3f6a202 100644 --- a/huaweicloud-sdk-workspace/setup.py +++ b/huaweicloud-sdk-workspace/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkworkspace" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-workspaceapp/requirements.txt b/huaweicloud-sdk-workspaceapp/requirements.txt index ff351efcad..b061b2f347 100644 --- a/huaweicloud-sdk-workspaceapp/requirements.txt +++ b/huaweicloud-sdk-workspaceapp/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.85 \ No newline at end of file +huaweicloudsdkcore >= 3.1.86 \ No newline at end of file diff --git a/huaweicloud-sdk-workspaceapp/setup.py b/huaweicloud-sdk-workspaceapp/setup.py index 539b580028..a3cc49db2a 100644 --- a/huaweicloud-sdk-workspaceapp/setup.py +++ b/huaweicloud-sdk-workspaceapp/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkworkspaceapp" -VERSION = "3.1.85" +VERSION = "3.1.86" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.85"] +REQUIRES = ["huaweicloudsdkcore>=3.1.86"] OPTIONS = { 'bdist_wheel': {