From b66d58bdb9e9b561519357106fffb5aee40499fa Mon Sep 17 00:00:00 2001 From: Huaweicloud-SDK Date: Thu, 25 Jul 2024 16:45:23 +0800 Subject: [PATCH] release 3.1.107 source code --- CHANGELOG.md | 406 ++++++++++ CHANGELOG_CN.md | 406 ++++++++++ VERSION | 2 +- huaweicloud-sdk-aad/requirements.txt | 2 +- huaweicloud-sdk-aad/setup.py | 4 +- huaweicloud-sdk-all/requirements.txt | 326 ++++---- huaweicloud-sdk-all/setup.py | 328 ++++----- 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 +- .../huaweicloudsdkapig/v2/__init__.py | 29 +- .../v2/apig_async_client.py | 577 ++++++++++++++- .../huaweicloudsdkapig/v2/apig_client.py | 577 ++++++++++++++- .../huaweicloudsdkapig/v2/model/__init__.py | 29 +- .../v2/model/api_acl_create.py | 6 +- .../v2/model/api_base_info.py | 47 +- .../huaweicloudsdkapig/v2/model/api_common.py | 43 +- .../v2/model/api_condition_base.py | 70 +- .../huaweicloudsdkapig/v2/model/api_create.py | 43 +- .../v2/model/api_create_base.py | 43 +- .../huaweicloudsdkapig/v2/model/api_info.py | 43 +- .../v2/model/api_info_per_page.py | 43 +- .../v2/model/api_resp_base_info.py | 43 +- .../v2/model/attached_plugin_info.py | 6 +- .../v2/model/base_signature.py | 6 +- .../v2/model/codition_resp.py | 66 +- .../v2/model/create_api_v2_response.py | 43 +- .../v2/model/create_orchestration_request.py | 139 ++++ .../v2/model/create_orchestration_response.py | 313 ++++++++ .../v2/model/create_plugin_response.py | 12 +- .../model/create_signature_key_v2_response.py | 6 +- .../v2/model/delete_orchestration_request.py | 142 ++++ .../v2/model/delete_orchestration_response.py | 85 +++ ...list_api_runtime_definition_v2_response.py | 43 +- .../list_api_version_detail_v2_response.py | 43 +- .../list_environment_variables_v2_request.py | 6 +- .../model/list_instances_by_tags_request.py | 169 +++++ .../model/list_instances_by_tags_response.py | 145 ++++ ...ist_orchestration_attached_apis_request.py | 258 +++++++ ...st_orchestration_attached_apis_response.py | 172 +++++ .../v2/model/list_orchestrations_request.py | 259 +++++++ .../v2/model/list_orchestrations_response.py | 172 +++++ .../v2/model/member_base.py | 6 +- .../v2/model/member_info.py | 6 +- .../v2/model/micro_service_create.py | 31 +- .../v2/model/micro_service_info.py | 27 +- .../model/micro_service_info_cce_service.py | 199 ----- .../micro_service_info_cce_service_base.py | 170 ----- .../micro_service_info_cce_service_create.py | 199 ----- .../v2/model/microservice_import_req.py | 37 +- .../v2/model/orchestration_api_info.py | 347 +++++++++ .../v2/model/orchestration_base_info.py | 196 +++++ .../v2/model/orchestration_base_resp.py | 283 +++++++ .../v2/model/orchestration_create.py | 225 ++++++ .../v2/model/orchestration_map.py | 198 +++++ .../v2/model/orchestration_map_param_range.py | 144 ++++ .../v2/model/orchestration_mapped_param.py | 170 +++++ .../v2/model/plugin_api_attach_info.py | 6 +- .../v2/model/plugin_create.py | 12 +- .../v2/model/plugin_info.py | 12 +- .../huaweicloudsdkapig/v2/model/req_param.py | 31 +- .../v2/model/req_param_base.py | 35 +- .../model/show_details_of_api_v2_response.py | 43 +- .../show_details_of_instance_v2_response.py | 6 +- .../show_details_of_orchestration_request.py | 142 ++++ .../show_details_of_orchestration_response.py | 313 ++++++++ .../show_instances_num_by_tags_request.py | 111 +++ .../show_instances_num_by_tags_response.py | 116 +++ .../v2/model/show_plugin_response.py | 12 +- .../v2/model/sign_api_binding_info.py | 6 +- .../huaweicloudsdkapig/v2/model/signature.py | 6 +- .../v2/model/signature_with_bind_num.py | 6 +- .../v2/model/tms_matches_key_value.py | 144 ++++ .../v2/model/tms_query_req.py | 202 +++++ .../v2/model/tms_resource_resp.py | 202 +++++ .../v2/model/update_api_v2_response.py | 43 +- .../v2/model/update_health_check_response.py | 12 +- .../v2/model/update_instance_v2_response.py | 6 +- .../v2/model/update_orchestration_request.py | 167 +++++ .../v2/model/update_orchestration_response.py | 313 ++++++++ .../v2/model/update_plugin_response.py | 12 +- .../model/update_signature_key_v2_response.py | 6 +- .../v2/model/vpc_health_config.py | 12 +- .../v2/model/vpc_health_config_base.py | 12 +- .../v2/model/vpc_health_config_info.py | 12 +- .../v2/model/vpc_member_info.py | 41 +- 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 +- .../v2/model/monthly_bill_record.py | 31 +- huaweicloud-sdk-bss/requirements.txt | 2 +- huaweicloud-sdk-bss/setup.py | 4 +- huaweicloud-sdk-bssintl/requirements.txt | 2 +- huaweicloud-sdk-bssintl/setup.py | 4 +- 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/__init__.py | 31 + .../huaweicloudsdkcce/v3/cce_async_client.py | 543 ++++++++++++++ .../huaweicloudsdkcce/v3/cce_client.py | 543 ++++++++++++++ .../huaweicloudsdkcce/v3/model/__init__.py | 31 + .../batch_create_delete_resource_tags.py | 172 +++++ ...tch_create_delete_resource_tags_request.py | 167 +++++ ...ch_create_delete_resource_tags_response.py | 85 +++ .../v3/model/node_pool_upgrade_spec.py | 268 +++++++ .../v3/model/node_template.py | 236 ++++++ .../v3/model/node_template_extend_param.py | 55 +- .../v3/model/node_template_life_cycle.py | 136 ++++ .../v3/model/node_template_login.py | 136 ++++ .../node_template_login_user_password.py | 136 ++++ .../v3/model/node_template_runtime_config.py | 111 +++ .../node_template_runtime_config_runtime.py | 51 +- .../v3/model/res_instance_body.py | 231 ++++++ .../v3/model/resource_tag_body.py | 202 +++++ ...w_cluster_support_configuration_request.py | 198 +++++ ..._cluster_support_configuration_response.py | 116 +++ ...mize_cluster_tags_by_project_id_request.py | 114 +++ ...ize_cluster_tags_by_project_id_response.py | 174 +++++ .../v3/model/show_resource_instances.py | 343 +++++++++ .../model/show_resource_instances_request.py | 139 ++++ .../model/show_resource_instances_response.py | 145 ++++ .../v3/model/show_resource_tags_request.py | 142 ++++ .../v3/model/show_resource_tags_response.py | 174 +++++ .../v3/model/sync_node_pool_request.py | 142 ++++ .../v3/model/sync_node_pool_resp.py | 84 +++ .../v3/model/sync_node_pool_response.py | 112 +++ .../huaweicloudsdkcce/v3/model/tag_filter.py | 85 ++- .../update_autopilot_cluster_eip_request.py | 139 ++++ .../update_autopilot_cluster_eip_response.py | 162 ++++ .../v3/model/upgrade_node_pool.py | 193 +++++ .../v3/model/upgrade_node_pool_request.py | 167 +++++ .../v3/model/upgrade_node_pool_response.py | 220 ++++++ .../huaweicloudsdkcce/v3/region/cce_region.py | 3 + 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 +- huaweicloud-sdk-cdn/requirements.txt | 2 +- huaweicloud-sdk-cdn/setup.py | 4 +- huaweicloud-sdk-ces/requirements.txt | 2 +- huaweicloud-sdk-ces/setup.py | 4 +- .../huaweicloudsdkcfw/v1/region/cfw_region.py | 3 + 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-codeartsgovernance/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/auth/credentials.py | 51 +- .../huaweicloudsdkcore/auth/internal.py | 11 +- .../huaweicloudsdkcore/auth/provider.py | 2 +- huaweicloud-sdk-core/setup.py | 2 +- .../tests/test_credential_provider.py | 2 +- .../tests/test_credentials.py | 90 ++- 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 +- .../v1/__init__.py | 18 + .../v1/dataartsstudio_async_client.py | 351 +++++++++ .../v1/dataartsstudio_client.py | 351 +++++++++ .../v1/model/__init__.py | 18 + .../v1/model/algorithm_detail_dto.py | 202 +++++ .../v1/model/batch_delete_policy_sets_dto.py | 115 +++ ...curity_dynamic_masking_policies_request.py | 139 ++++ ...urity_dynamic_masking_policies_response.py | 85 +++ ...security_dynamic_masking_policy_request.py | 139 ++++ ...ecurity_dynamic_masking_policy_response.py | 696 ++++++++++++++++++ .../v1/model/dynamic_masking_policy.py | 314 ++++++++ .../v1/model/dynamic_masking_policy_create.py | 225 ++++++ .../dynamic_masking_policy_create_dto.py | 454 ++++++++++++ .../v1/model/dynamic_masking_policy_set.py | 550 ++++++++++++++ .../v1/model/dynamic_masking_policy_update.py | 225 ++++++ .../dynamic_masking_policy_update_dto.py | 454 ++++++++++++ ...curity_dynamic_masking_policies_request.py | 346 +++++++++ ...urity_dynamic_masking_policies_response.py | 145 ++++ ...security_dynamic_masking_policy_request.py | 142 ++++ ...ecurity_dynamic_masking_policy_response.py | 696 ++++++++++++++++++ ...security_dynamic_masking_policy_request.py | 167 +++++ ...ecurity_dynamic_masking_policy_response.py | 696 ++++++++++++++++++ .../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 +- .../model/expand_instance_nodes_response.py | 2 +- .../v1/model/restart_instance_response.py | 47 +- .../model/shrink_instance_nodes_response.py | 2 +- 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-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 +- huaweicloud-sdk-dli/requirements.txt | 2 +- huaweicloud-sdk-dli/setup.py | 4 +- .../huaweicloudsdkdns/v2/region/dns_region.py | 3 - huaweicloud-sdk-dns/requirements.txt | 2 +- huaweicloud-sdk-dns/setup.py | 4 +- huaweicloud-sdk-dris/requirements.txt | 2 +- huaweicloud-sdk-dris/setup.py | 4 +- huaweicloud-sdk-drs/requirements.txt | 2 +- huaweicloud-sdk-drs/setup.py | 4 +- .../v1/model/scan_job_request.py | 12 +- huaweicloud-sdk-dsc/requirements.txt | 2 +- huaweicloud-sdk-dsc/setup.py | 4 +- huaweicloud-sdk-dwr/requirements.txt | 2 +- huaweicloud-sdk-dwr/setup.py | 4 +- huaweicloud-sdk-dws/requirements.txt | 2 +- huaweicloud-sdk-dws/setup.py | 4 +- huaweicloud-sdk-ec/requirements.txt | 2 +- huaweicloud-sdk-ec/setup.py | 4 +- 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 +- .../v2/region/functiongraph_region.py | 3 + .../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 +- .../huaweicloudsdkges/v2/__init__.py | 6 + .../huaweicloudsdkges/v2/ges_async_client.py | 134 ++++ .../huaweicloudsdkges/v2/ges_client.py | 134 ++++ .../huaweicloudsdkges/v2/model/__init__.py | 6 + .../v2/model/backup_download_link.py | 198 +++++ .../v2/model/change_security_group_req.py | 114 +++ .../v2/model/change_security_group_request.py | 139 ++++ .../model/change_security_group_response.py | 112 +++ .../show_backup_download_link_request.py | 142 ++++ .../show_backup_download_link_response.py | 145 ++++ 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 +- .../requirements.txt | 2 +- huaweicloud-sdk-identitycenter/setup.py | 4 +- .../requirements.txt | 2 +- huaweicloud-sdk-identitycenterstore/setup.py | 4 +- huaweicloud-sdk-idme/requirements.txt | 2 +- huaweicloud-sdk-idme/setup.py | 4 +- .../v1/__init__.py | 1 + .../v1/idmeclassicapi_async_client.py | 102 +-- .../v1/idmeclassicapi_client.py | 102 +-- .../v1/model/__init__.py | 1 + .../v1/model/add_tag_request.py | 12 +- .../v1/model/add_tag_response.py | 18 +- .../v1/model/basic_object_query_view_dto.py | 42 +- .../v1/model/batch_add_child_node_request.py | 12 +- .../v1/model/batch_add_child_node_response.py | 18 +- .../v1/model/batch_checkin_request.py | 12 +- .../v1/model/batch_checkin_response.py | 18 +- .../batch_checkout_and_update_request.py | 12 +- .../batch_checkout_and_update_response.py | 18 +- .../v1/model/batch_checkout_request.py | 12 +- .../v1/model/batch_checkout_response.py | 18 +- .../batch_checkout_undo_by_admin_request.py | 12 +- .../batch_checkout_undo_by_admin_response.py | 18 +- .../v1/model/batch_checkout_undo_request.py | 12 +- .../v1/model/batch_checkout_undo_response.py | 18 +- .../model/batch_create_using_post_request.py | 6 +- .../model/batch_create_using_post_response.py | 18 +- .../v1/model/batch_create_view_request.py | 12 +- .../v1/model/batch_create_view_response.py | 18 +- .../v1/model/batch_delete_branch_request.py | 12 +- .../v1/model/batch_delete_branch_response.py | 18 +- .../batch_delete_logical_branch_request.py | 12 +- .../batch_delete_logical_branch_response.py | 18 +- ...batch_delete_logical_using_post_request.py | 12 +- ...atch_delete_logical_using_post_response.py | 18 +- .../model/batch_delete_using_post_request.py | 12 +- .../model/batch_delete_using_post_response.py | 18 +- .../v1/model/batch_execute_revise_request.py | 12 +- .../v1/model/batch_execute_revise_response.py | 18 +- .../v1/model/batch_operate_child_dto.py | 12 +- .../model/batch_remove_child_node_request.py | 12 +- .../model/batch_remove_child_node_response.py | 18 +- .../batch_show_get_using_post_request.py | 12 +- .../batch_show_get_using_post_response.py | 18 +- .../model/batch_update_and_checkin_request.py | 12 +- .../batch_update_and_checkin_response.py | 18 +- .../model/batch_update_and_revise_request.py | 12 +- .../model/batch_update_and_revise_response.py | 18 +- .../v1/model/batch_update_by_admin_request.py | 12 +- .../model/batch_update_by_admin_response.py | 18 +- .../model/batch_update_using_post_request.py | 12 +- .../model/batch_update_using_post_response.py | 18 +- .../v1/model/batch_update_version_request.py | 12 +- .../v1/model/batch_update_version_response.py | 18 +- .../v1/model/business_code_vo.py | 6 +- .../v1/model/character_set_enum.py | 18 +- .../v1/model/checkin_request.py | 12 +- .../v1/model/checkin_response.py | 18 +- .../v1/model/checkout_and_update_request.py | 12 +- .../v1/model/checkout_and_update_response.py | 18 +- .../v1/model/checkout_request.py | 12 +- .../v1/model/checkout_response.py | 18 +- .../model/checkout_undo_by_admin_request.py | 12 +- .../model/checkout_undo_by_admin_response.py | 18 +- .../v1/model/checkout_undo_request.py | 12 +- .../v1/model/checkout_undo_response.py | 18 +- .../v1/model/classes_view_dto.py | 78 +- .../v1/model/collect_history_data_request.py | 12 +- .../v1/model/collect_history_data_response.py | 18 +- .../model/compare_business_version_request.py | 12 +- .../compare_business_version_response.py | 18 +- .../v1/model/compare_version_request.py | 12 +- .../v1/model/compare_version_resp_vo.py | 12 +- .../v1/model/compare_version_response.py | 18 +- .../v1/model/compare_version_vo.py | 18 +- .../v1/model/count_using_post_request.py | 12 +- .../v1/model/count_using_post_response.py | 18 +- .../v1/model/create_multi_view_response.py | 18 +- .../v1/model/create_using_post_request.py | 12 +- .../v1/model/create_using_post_response.py | 18 +- .../v1/model/create_view_request.py | 12 +- .../v1/model/create_view_response.py | 18 +- .../v1/model/delete_branch_request.py | 12 +- .../v1/model/delete_branch_response.py | 18 +- ...delete_by_condition_multi_view_response.py | 18 +- .../delete_by_condition_using_post_request.py | 12 +- ...delete_by_condition_using_post_response.py | 18 +- .../v1/model/delete_by_condition_vo.py | 6 +- .../v1/model/delete_latest_version_request.py | 12 +- .../model/delete_latest_version_response.py | 18 +- .../v1/model/delete_logical_branch_request.py | 12 +- .../model/delete_logical_branch_response.py | 18 +- .../delete_logical_latest_version_request.py | 12 +- .../delete_logical_latest_version_response.py | 18 +- .../v1/model/delete_target_request.py | 12 +- .../v1/model/delete_target_response.py | 18 +- .../v1/model/delete_using_post_request.py | 12 +- .../v1/model/delete_using_post_response.py | 18 +- .../v1/model/disable_data_instance_request.py | 12 +- .../model/disable_data_instance_response.py | 18 +- .../v1/model/enable_data_instance_request.py | 12 +- .../v1/model/enable_data_instance_response.py | 18 +- .../v1/model/exa_value_view_dto.py | 72 +- .../v1/model/execute_revise_request.py | 12 +- .../v1/model/execute_revise_response.py | 18 +- .../v1/model/folder_query_view_dto.py | 96 +-- .../v1/model/func_info.py | 12 +- .../model/generate_business_code_request.py | 12 +- .../model/generate_business_code_response.py | 18 +- .../v1/model/generic_link_batch_query_dto.py | 18 +- .../v1/model/generic_link_query_dto.py | 24 +- .../v1/model/generic_link_type_dto.py | 18 +- .../model/generic_link_type_modifier_dto.py | 24 +- .../history_data_model_history_view_dto.py | 60 +- ...ged_model_lifecycle_template_switch_dto.py | 6 +- ...anaged_model_update_lifecycle_state_dto.py | 12 +- .../v1/model/list_all_versions_request.py | 168 ++--- .../v1/model/list_all_versions_response.py | 18 +- ...ist_batch_query_related_objects_request.py | 168 ++--- ...st_batch_query_related_objects_response.py | 18 +- .../model/list_get_all_parent_list_request.py | 12 +- .../list_get_all_parent_list_response.py | 18 +- .../v1/model/list_get_child_list_request.py | 168 ++--- .../v1/model/list_get_child_list_response.py | 18 +- .../v1/model/list_history_data_request.py | 287 ++++---- .../v1/model/list_history_data_response.py | 18 +- .../list_query_related_objects_request.py | 168 ++--- .../list_query_related_objects_response.py | 18 +- .../model/list_query_relationship_request.py | 168 ++--- .../model/list_query_relationship_response.py | 18 +- .../v1/model/list_query_target_request.py | 168 ++--- .../v1/model/list_query_target_response.py | 18 +- .../v1/model/list_query_using_post_request.py | 168 ++--- .../model/list_query_using_post_response.py | 18 +- .../model/list_select_using_post_request.py | 168 ++--- .../model/list_select_using_post_response.py | 18 +- .../v1/model/list_using_post_request.py | 168 ++--- .../v1/model/list_using_post_response.py | 18 +- .../v1/model/master_object_query_view_dto.py | 42 +- .../v1/model/mong_page_request.py | 54 +- .../v1/model/multi_view_item_view_dto.py | 54 +- .../model/multi_view_model_branch_view_dto.py | 68 +- .../model/multi_view_model_master_view_dto.py | 54 +- ...ulti_view_model_version_view_create_dto.py | 30 +- .../v1/model/multi_view_model_view_dto.py | 138 ++-- .../v1/model/object_reference_param_dto.py | 12 +- .../v1/model/object_reference_view_dto.py | 12 +- .../v1/model/page_info_view_dto.py | 24 +- .../v1/model/persist_object_id_decrypt_dto.py | 12 +- .../v1/model/persist_object_id_dto.py | 6 +- .../model/persist_object_id_modifier_dto.py | 12 +- .../model/persist_object_ids_decrypt_dto.py | 12 +- .../v1/model/persist_object_ids_dto.py | 6 +- .../model/persist_object_ids_modifier_dto.py | 12 +- .../v1/model/persistable_model_create_dto.py | 42 +- .../model/persistable_model_list_view_dto.py | 102 +-- .../model/persistable_model_query_view_dto.py | 60 +- .../model/persistable_model_save_all_dto.py | 48 +- .../v1/model/persistable_model_save_as_dto.py | 72 +- .../v1/model/persistable_model_save_dto.py | 48 +- .../model/persistable_model_unique_key_dto.py | 12 +- .../v1/model/persistable_model_update_dto.py | 48 +- .../v1/model/persistable_model_view_dto.py | 60 +- .../v1/model/query_child_list_dto.py | 6 +- .../v1/model/query_condition.py | 48 +- .../v1/model/query_parent_dto.py | 6 +- .../v1/model/query_request_count_vo.py | 72 +- .../v1/model/query_request_selected_vo.py | 72 +- .../v1/model/query_request_statics_vo.py | 78 +- .../v1/model/query_request_vo.py | 66 +- .../rdm_param_vo_batch_operate_child_dto.py | 6 +- .../model/rdm_param_vo_compare_version_vo.py | 6 +- .../rdm_param_vo_delete_by_condition_vo.py | 6 +- ...m_param_vo_generic_link_batch_query_dto.py | 6 +- .../rdm_param_vo_generic_link_query_dto.py | 6 +- .../rdm_param_vo_generic_link_type_dto.py | 6 +- ...param_vo_generic_link_type_modifier_dto.py | 6 +- ...ged_model_lifecycle_template_switch_dto.py | 6 +- ...anaged_model_update_lifecycle_state_dto.py | 12 +- ...ulti_view_model_version_view_create_dto.py | 12 +- ...am_vo_list_persistable_model_create_dto.py | 12 +- ..._vo_list_persistable_model_save_all_dto.py | 12 +- ...aram_vo_list_persistable_model_save_dto.py | 12 +- ...am_vo_list_persistable_model_update_dto.py | 12 +- .../model/rdm_param_vo_list_version_model.py | 12 +- ...list_version_model_version_check_in_dto.py | 12 +- ...ist_version_model_version_check_out_dto.py | 12 +- ...n_checkout_and_update_dto_version_model.py | 12 +- ...ion_revise_and_update_dto_version_model.py | 12 +- ...o_list_version_model_version_revise_dto.py | 12 +- ...ersion_model_version_undo_check_out_dto.py | 12 +- ...on_update_and_checkin_dto_version_model.py | 12 +- ...o_list_version_model_version_update_dto.py | 12 +- .../model/rdm_param_vo_mong_page_request.py | 6 +- ...ulti_view_model_version_view_create_dto.py | 6 +- ..._param_vo_persist_object_id_decrypt_dto.py | 6 +- .../rdm_param_vo_persist_object_id_dto.py | 6 +- ...param_vo_persist_object_id_modifier_dto.py | 6 +- ...param_vo_persist_object_ids_decrypt_dto.py | 6 +- .../rdm_param_vo_persist_object_ids_dto.py | 6 +- ...aram_vo_persist_object_ids_modifier_dto.py | 6 +- ...m_param_vo_persistable_model_create_dto.py | 6 +- ..._param_vo_persistable_model_save_as_dto.py | 6 +- ...ram_vo_persistable_model_unique_key_dto.py | 6 +- ...m_param_vo_persistable_model_update_dto.py | 6 +- .../rdm_param_vo_query_child_list_dto.py | 6 +- .../v1/model/rdm_param_vo_query_parent_dto.py | 6 +- .../rdm_param_vo_query_request_count_vo.py | 6 +- .../rdm_param_vo_query_request_selected_vo.py | 6 +- .../rdm_param_vo_query_request_statics_vo.py | 6 +- .../v1/model/rdm_param_vo_query_request_vo.py | 6 +- .../v1/model/rdm_param_vo_statistics_pvo.py | 6 +- .../model/rdm_param_vo_tag_operation_dto.py | 6 +- ...ndition_vo_persistable_model_update_dto.py | 6 +- ...ds_dto_version_model_version_master_dto.py | 6 +- .../v1/model/rdm_param_vo_version_model.py | 6 +- ...ram_vo_version_model_compare_version_vo.py | 6 +- ...m_vo_version_model_version_check_in_dto.py | 6 +- ..._vo_version_model_version_check_out_dto.py | 6 +- ...n_checkout_and_update_dto_version_model.py | 6 +- ...ram_vo_version_model_version_master_dto.py | 6 +- ...rsion_model_version_master_modifier_dto.py | 6 +- ..._version_model_version_master_query_dto.py | 6 +- ...ion_revise_and_update_dto_version_model.py | 6 +- ...ram_vo_version_model_version_revise_dto.py | 6 +- ...ersion_model_version_undo_check_out_dto.py | 6 +- ...on_update_and_checkin_dto_version_model.py | 6 +- ...o_multi_view_model_view_update_attr_dto.py | 6 +- .../v1/model/refresh_request.py | 12 +- .../v1/model/refresh_response.py | 18 +- .../v1/model/related_object_view_dto.py | 18 +- .../v1/model/relation_model_view_dto.py | 66 +- .../v1/model/remove_tag_request.py | 12 +- .../v1/model/remove_tag_response.py | 18 +- .../v1/model/result.py | 84 +++ .../v1/model/save_all_using_post_request.py | 12 +- .../v1/model/save_all_using_post_response.py | 18 +- .../v1/model/save_as_using_post_request.py | 12 +- .../v1/model/save_as_using_post_response.py | 18 +- .../v1/model/save_using_post_request.py | 12 +- .../v1/model/save_using_post_response.py | 18 +- .../v1/model/selected_field.py | 12 +- .../v1/model/show_find_using_post_request.py | 168 ++--- .../v1/model/show_find_using_post_response.py | 18 +- .../model/show_get_by_unique_key_request.py | 18 +- .../model/show_get_by_unique_key_response.py | 12 +- .../v1/model/show_get_parent_request.py | 12 +- .../v1/model/show_get_parent_response.py | 18 +- .../v1/model/show_get_root_request.py | 12 +- .../v1/model/show_get_root_response.py | 18 +- .../v1/model/show_get_using_post_request.py | 12 +- .../v1/model/show_get_using_post_response.py | 18 +- ..._delete_by_condition_using_post_request.py | 12 +- ...delete_by_condition_using_post_response.py | 18 +- .../show_logical_delete_using_post_request.py | 12 +- ...show_logical_delete_using_post_response.py | 18 +- .../model/show_statics_using_post_request.py | 12 +- .../model/show_statics_using_post_response.py | 18 +- .../v1/model/show_tag_request.py | 12 +- .../v1/model/show_tag_response.py | 18 +- .../model/show_version_by_master_request.py | 12 +- .../model/show_version_by_master_response.py | 18 +- .../v1/model/sort_info_vo.py | 24 +- .../v1/model/statistics_pvo.py | 12 +- .../v1/model/statistics_rvo.py | 24 +- .../v1/model/student_query_view_dto.py | 60 +- .../v1/model/student_view_dto.py | 84 +-- .../switch_lifecycle_template_request.py | 12 +- .../switch_lifecycle_template_response.py | 18 +- .../v1/model/tag_operation_dto.py | 12 +- .../v1/model/tenant_history_view_dto.py | 102 +-- .../v1/model/tenant_query_view_dto.py | 72 +- .../v1/model/tenant_view_dto.py | 96 +-- .../v1/model/treeable_model_view_dto.py | 72 +- .../v1/model/update_and_checkin_request.py | 12 +- .../v1/model/update_and_checkin_response.py | 18 +- .../v1/model/update_and_revise_request.py | 12 +- .../v1/model/update_and_revise_response.py | 18 +- .../v1/model/update_by_admin_request.py | 12 +- .../v1/model/update_by_admin_response.py | 18 +- .../update_by_condition_using_post_request.py | 12 +- ...update_by_condition_using_post_response.py | 18 +- .../v1/model/update_state_request.py | 12 +- .../v1/model/update_state_response.py | 18 +- .../v1/model/update_using_post_request.py | 12 +- .../v1/model/update_using_post_response.py | 18 +- .../v1/model/update_view_request.py | 12 +- .../v1/model/update_view_response.py | 18 +- ...ds_dto_version_model_version_master_dto.py | 12 +- .../v1/model/version_model.py | 78 +- .../v1/model/version_model_branch.py | 42 +- .../v1/model/version_model_branch_view_dto.py | 60 +- .../model/version_model_compare_version_vo.py | 18 +- .../v1/model/version_model_master.py | 42 +- .../v1/model/version_model_master_ids_dto.py | 12 +- .../v1/model/version_model_master_view_dto.py | 54 +- .../v1/model/version_model_query_view_dto.py | 114 +-- .../version_model_version_check_in_dto.py | 12 +- .../version_model_version_check_out_dto.py | 30 +- ...n_checkout_and_update_dto_version_model.py | 30 +- .../model/version_model_version_master_dto.py | 12 +- ...rsion_model_version_master_modifier_dto.py | 18 +- .../version_model_version_master_query_dto.py | 24 +- ...ion_revise_and_update_dto_version_model.py | 36 +- .../model/version_model_version_revise_dto.py | 36 +- ...ersion_model_version_undo_check_out_dto.py | 12 +- ...on_update_and_checkin_dto_version_model.py | 12 +- .../model/version_model_version_update_dto.py | 18 +- .../v1/model/version_model_view_dto.py | 138 ++-- .../version_object_branch_query_view_dto.py | 48 +- ...o_multi_view_model_view_update_attr_dto.py | 12 +- .../v1/model/working_state.py | 24 +- .../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 +- huaweicloud-sdk-ims/requirements.txt | 2 +- huaweicloud-sdk-ims/setup.py | 4 +- huaweicloud-sdk-iotanalytics/requirements.txt | 2 +- huaweicloud-sdk-iotanalytics/setup.py | 4 +- .../v5/model/add_product.py | 6 +- .../v5/model/create_product_response.py | 6 +- .../v5/model/product_summary.py | 6 +- .../v5/model/show_product_response.py | 6 +- .../v5/model/update_product.py | 6 +- .../v5/model/update_product_response.py | 6 +- 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 +- 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 +- .../requirements.txt | 2 +- huaweicloud-sdk-lakeformation/setup.py | 4 +- .../v2/live_async_client.py | 142 ++-- .../huaweicloudsdklive/v2/live_client.py | 142 ++-- 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 +- huaweicloud-sdk-metastudio/requirements.txt | 2 +- huaweicloud-sdk-metastudio/setup.py | 4 +- .../huaweicloudsdkmoderation/v3/__init__.py | 6 + .../v3/model/__init__.py | 6 + .../model/batch_check_image_sync_request.py | 111 +++ .../model/batch_check_image_sync_response.py | 145 ++++ .../model/check_image_moderation_request.py | 31 +- .../image_batch_sync_detection_result.py | 288 ++++++++ .../v3/model/image_batch_sync_req.py | 255 +++++++ .../image_batch_sync_req_image_text_config.py | 144 ++++ .../v3/model/image_batch_sync_req_urls.py | 78 +- .../v3/model/run_text_moderation_request.py | 31 +- .../v3/moderation_async_client.py | 69 ++ .../v3/moderation_client.py | 69 ++ huaweicloud-sdk-moderation/requirements.txt | 2 +- huaweicloud-sdk-moderation/setup.py | 4 +- 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 +- .../model/cambodian_id_card_request_body.py | 35 +- .../v1/model/cambodian_id_card_result.py | 31 +- ...bodian_id_card_score_information_result.py | 35 +- .../v1/model/transportation_license_result.py | 12 +- 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 +- .../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 +- huaweicloud-sdk-rabbitmq/requirements.txt | 2 +- huaweicloud-sdk-rabbitmq/setup.py | 4 +- huaweicloud-sdk-ram/requirements.txt | 2 +- huaweicloud-sdk-ram/setup.py | 4 +- .../huaweicloudsdkrds/v3/__init__.py | 3 + .../huaweicloudsdkrds/v3/model/__init__.py | 3 + .../v3/model/instance_lts_basic_info_resp.py | 318 ++++++++ .../model/instance_lts_config_detail_resp.py | 202 +++++ .../v3/model/instance_lts_config_resp.py | 140 ++++ .../v3/model/list_log_lts_configs_response.py | 62 +- 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 +- 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 +- .../v1/region/secmaster_region.py | 33 + .../huaweicloudsdksecmaster/v2/__init__.py | 32 +- .../v2/model/__init__.py | 32 +- .../v2/model/alert_detail.py | 31 +- .../v2/model/alert_environment.py | 6 +- .../v2/model/baseline_search_request_body.py | 289 ++++++++ .../model/batch_search_metric_hits_request.py | 225 ++++++ .../batch_search_metric_hits_request_body.py | 230 ++++++ .../batch_search_metric_hits_response.py | 112 +++ .../model/create_alert_rule_request_body.py | 149 +++- .../create_dataobject_relations_response.py | 104 +-- .../v2/model/create_indicator_detail.py | 68 +- .../create_indicator_detail_indicator_type.py | 68 +- .../v2/model/create_playbook_info.py | 35 +- .../model/create_post_paid_order_request.py | 167 +++++ .../model/create_post_paid_order_response.py | 85 +++ .../v2/model/create_workspace_request.py | 139 ++++ .../v2/model/create_workspace_request_body.py | 344 +++++++++ .../v2/model/create_workspace_response.py | 667 +++++++++++++++++ .../model/create_workspace_response_body.py | 666 +++++++++++++++++ ...ace_response_body_workspace_agency_list.py | 434 +++++++++++ .../v2/model/delete_alert_rule_response.py | 111 +-- .../v2/model/delete_indicator_request_body.py | 6 +- .../v2/model/disable_alert_rule_response.py | 82 +-- .../v2/model/enable_alert_rule_response.py | 82 +-- .../v2/model/indicator_data_object_detail.py | 6 +- ...cator_data_object_detail_indicator_type.py | 64 +- .../v2/model/indicator_detail.py | 12 +- .../v2/model/indicator_list_search_request.py | 37 +- .../v2/model/list_alert_detail.py | 292 ++++---- .../v2/model/list_alert_rsp.py | 507 +++++++------ .../v2/model/list_alert_rsp_network_list.py | 376 ---------- .../v2/model/list_alert_rsp_process.py | 231 ------ .../v2/model/list_dataclass_fields_request.py | 16 +- .../v2/model/list_dataclass_request.py | 16 +- .../v2/model/list_workflows_request.py | 16 +- .../v2/model/list_workspaces_request.py | 489 ++++++++++++ .../v2/model/list_workspaces_response.py | 145 ++++ .../v2/model/metric_format.py | 202 +++++ .../v2/model/post_paid_param.py | 229 ++++++ .../v2/model/product_post_paid.py | 367 +++++++++ .../v2/model/search_baseline_request.py | 195 +++++ .../v2/model/search_baseline_response.py | 261 +++++++ .../v2/model/show_alert_rsp_datasource.py | 202 ----- .../v2/model/show_alert_rsp_environment.py | 202 ----- .../v2/model/show_alert_rsp_file_info.py | 289 -------- .../v2/model/show_alert_rsp_resource_list.py | 347 --------- .../v2/model/show_indicator_detail_request.py | 6 +- .../model/show_metric_result_response_body.py | 225 ++++++ ...show_metric_result_response_body_result.py | 171 +++++ .../v2/model/tag_info.py | 142 ++++ .../v2/model/tags_pojo.py | 144 ++++ .../v2/model/update_indicator_request.py | 6 +- .../v2/region/secmaster_region.py | 33 + .../v2/secmaster_async_client.py | 399 +++++++++- .../v2/secmaster_client.py | 399 +++++++++- 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 +- huaweicloud-sdk-sms/requirements.txt | 2 +- huaweicloud-sdk-sms/setup.py | 4 +- huaweicloud-sdk-sts/requirements.txt | 2 +- huaweicloud-sdk-sts/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 +- .../huaweicloudsdkvpc/v2/region/vpc_region.py | 6 + .../huaweicloudsdkvpc/v3/region/vpc_region.py | 6 + .../huaweicloudsdkvpc/v3/vpc_async_client.py | 1 + .../huaweicloudsdkvpc/v3/vpc_client.py | 1 + huaweicloud-sdk-vpc/requirements.txt | 2 +- huaweicloud-sdk-vpc/setup.py | 4 +- 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 +- .../v2/model/record.py | 122 ++- huaweicloud-sdk-workspace/requirements.txt | 2 +- huaweicloud-sdk-workspace/setup.py | 4 +- huaweicloud-sdk-workspaceapp/requirements.txt | 2 +- huaweicloud-sdk-workspaceapp/setup.py | 4 +- 884 files changed, 36653 insertions(+), 8775 deletions(-) create mode 100644 huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/create_orchestration_request.py create mode 100644 huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/create_orchestration_response.py create mode 100644 huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/delete_orchestration_request.py create mode 100644 huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/delete_orchestration_response.py create mode 100644 huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/list_instances_by_tags_request.py create mode 100644 huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/list_instances_by_tags_response.py create mode 100644 huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/list_orchestration_attached_apis_request.py create mode 100644 huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/list_orchestration_attached_apis_response.py create mode 100644 huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/list_orchestrations_request.py create mode 100644 huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/list_orchestrations_response.py delete mode 100644 huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/micro_service_info_cce_service.py delete mode 100644 huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/micro_service_info_cce_service_base.py delete mode 100644 huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/micro_service_info_cce_service_create.py create mode 100644 huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/orchestration_api_info.py create mode 100644 huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/orchestration_base_info.py create mode 100644 huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/orchestration_base_resp.py create mode 100644 huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/orchestration_create.py create mode 100644 huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/orchestration_map.py create mode 100644 huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/orchestration_map_param_range.py create mode 100644 huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/orchestration_mapped_param.py create mode 100644 huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/show_details_of_orchestration_request.py create mode 100644 huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/show_details_of_orchestration_response.py create mode 100644 huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/show_instances_num_by_tags_request.py create mode 100644 huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/show_instances_num_by_tags_response.py create mode 100644 huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/tms_matches_key_value.py create mode 100644 huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/tms_query_req.py create mode 100644 huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/tms_resource_resp.py create mode 100644 huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/update_orchestration_request.py create mode 100644 huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/update_orchestration_response.py create mode 100644 huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/batch_create_delete_resource_tags.py create mode 100644 huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/batch_create_delete_resource_tags_request.py create mode 100644 huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/batch_create_delete_resource_tags_response.py create mode 100644 huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/node_pool_upgrade_spec.py create mode 100644 huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/node_template.py rename huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/show_alert_rsp_user_info.py => huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/node_template_extend_param.py (65%) create mode 100644 huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/node_template_life_cycle.py create mode 100644 huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/node_template_login.py create mode 100644 huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/node_template_login_user_password.py create mode 100644 huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/node_template_runtime_config.py rename huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/show_alert_detail_dataclass_ref.py => huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/node_template_runtime_config_runtime.py (68%) create mode 100644 huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/res_instance_body.py create mode 100644 huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/resource_tag_body.py create mode 100644 huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/show_cluster_support_configuration_request.py create mode 100644 huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/show_cluster_support_configuration_response.py create mode 100644 huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/show_customize_cluster_tags_by_project_id_request.py create mode 100644 huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/show_customize_cluster_tags_by_project_id_response.py create mode 100644 huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/show_resource_instances.py create mode 100644 huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/show_resource_instances_request.py create mode 100644 huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/show_resource_instances_response.py create mode 100644 huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/show_resource_tags_request.py create mode 100644 huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/show_resource_tags_response.py create mode 100644 huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/sync_node_pool_request.py create mode 100644 huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/sync_node_pool_resp.py create mode 100644 huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/sync_node_pool_response.py rename huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/data_response.py => huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/tag_filter.py (59%) create mode 100644 huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/update_autopilot_cluster_eip_request.py create mode 100644 huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/update_autopilot_cluster_eip_response.py create mode 100644 huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/upgrade_node_pool.py create mode 100644 huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/upgrade_node_pool_request.py create mode 100644 huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/upgrade_node_pool_response.py create mode 100644 huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/algorithm_detail_dto.py create mode 100644 huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/batch_delete_policy_sets_dto.py create mode 100644 huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/batch_delete_security_dynamic_masking_policies_request.py create mode 100644 huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/batch_delete_security_dynamic_masking_policies_response.py create mode 100644 huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/create_security_dynamic_masking_policy_request.py create mode 100644 huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/create_security_dynamic_masking_policy_response.py create mode 100644 huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/dynamic_masking_policy.py create mode 100644 huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/dynamic_masking_policy_create.py create mode 100644 huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/dynamic_masking_policy_create_dto.py create mode 100644 huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/dynamic_masking_policy_set.py create mode 100644 huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/dynamic_masking_policy_update.py create mode 100644 huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/dynamic_masking_policy_update_dto.py create mode 100644 huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_security_dynamic_masking_policies_request.py create mode 100644 huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_security_dynamic_masking_policies_response.py create mode 100644 huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_security_dynamic_masking_policy_request.py create mode 100644 huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_security_dynamic_masking_policy_response.py create mode 100644 huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/update_security_dynamic_masking_policy_request.py create mode 100644 huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/update_security_dynamic_masking_policy_response.py create mode 100644 huaweicloud-sdk-ges/huaweicloudsdkges/v2/model/backup_download_link.py create mode 100644 huaweicloud-sdk-ges/huaweicloudsdkges/v2/model/change_security_group_req.py create mode 100644 huaweicloud-sdk-ges/huaweicloudsdkges/v2/model/change_security_group_request.py create mode 100644 huaweicloud-sdk-ges/huaweicloudsdkges/v2/model/change_security_group_response.py create mode 100644 huaweicloud-sdk-ges/huaweicloudsdkges/v2/model/show_backup_download_link_request.py create mode 100644 huaweicloud-sdk-ges/huaweicloudsdkges/v2/model/show_backup_download_link_response.py create mode 100644 huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/result.py create mode 100644 huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/model/batch_check_image_sync_request.py create mode 100644 huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/model/batch_check_image_sync_response.py create mode 100644 huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/model/image_batch_sync_detection_result.py create mode 100644 huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/model/image_batch_sync_req.py create mode 100644 huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/model/image_batch_sync_req_image_text_config.py rename huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/show_alert_rsp_remediation.py => huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/model/image_batch_sync_req_urls.py (59%) create mode 100644 huaweicloud-sdk-rds/huaweicloudsdkrds/v3/model/instance_lts_basic_info_resp.py create mode 100644 huaweicloud-sdk-rds/huaweicloudsdkrds/v3/model/instance_lts_config_detail_resp.py create mode 100644 huaweicloud-sdk-rds/huaweicloudsdkrds/v3/model/instance_lts_config_resp.py create mode 100644 huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/baseline_search_request_body.py create mode 100644 huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/batch_search_metric_hits_request.py create mode 100644 huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/batch_search_metric_hits_request_body.py create mode 100644 huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/batch_search_metric_hits_response.py create mode 100644 huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/create_post_paid_order_request.py create mode 100644 huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/create_post_paid_order_response.py create mode 100644 huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/create_workspace_request.py create mode 100644 huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/create_workspace_request_body.py create mode 100644 huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/create_workspace_response.py create mode 100644 huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/create_workspace_response_body.py create mode 100644 huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/create_workspace_response_body_workspace_agency_list.py delete mode 100644 huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/list_alert_rsp_network_list.py delete mode 100644 huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/list_alert_rsp_process.py create mode 100644 huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/list_workspaces_request.py create mode 100644 huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/list_workspaces_response.py create mode 100644 huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/metric_format.py create mode 100644 huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/post_paid_param.py create mode 100644 huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/product_post_paid.py create mode 100644 huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/search_baseline_request.py create mode 100644 huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/search_baseline_response.py delete mode 100644 huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/show_alert_rsp_datasource.py delete mode 100644 huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/show_alert_rsp_environment.py delete mode 100644 huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/show_alert_rsp_file_info.py delete mode 100644 huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/show_alert_rsp_resource_list.py create mode 100644 huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/show_metric_result_response_body.py create mode 100644 huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/show_metric_result_response_body_result.py create mode 100644 huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/tag_info.py create mode 100644 huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/tags_pojo.py diff --git a/CHANGELOG.md b/CHANGELOG.md index 117a34c3fe..22f75cbe94 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,409 @@ +# 3.1.107 2024-07-25 + +### HuaweiCloud SDK APIG + +- _Features_ + - Support the following APIs: + - `ShowInstancesNumByTags` + - `ListInstancesByTags` + - `ListOrchestrations` + - `CreateOrchestration` + - `ShowDetailsOfOrchestration` + - `UpdateOrchestration` + - `DeleteOrchestration` + - `ListOrchestrationAttachedApis` +- _Bug Fix_ + - None +- _Change_ + - **ShowPlugin** + - changes of response param + - `+ plugin_type: enum value [proxy_cache]` + - **UpdatePlugin** + - changes of request param + - `+ plugin_type: enum value [proxy_cache]` + - changes of response param + - `+ plugin_type: enum value [proxy_cache]` + - **ListApiRuntimeDefinitionV2** + - changes of response param + - `+ is_send_fg_body_base64` + - `+ req_params.orchestrations` + - `+ req_params.location: enum value [COOKIE]` + - **ListBackendInstancesV2** + - changes of response param + - `+ members.health_status` + - **UpdateBackendInstancesV2** + - changes of response param + - `+ members.health_status` + - **AddingBackendInstancesV2** + - changes of response param + - `+ members.health_status` + - **CreatePlugin** + - changes of request param + - `+ plugin_type: enum value [proxy_cache]` + - changes of response param + - `+ plugin_type: enum value [proxy_cache]` + - **ListPlugins** + - changes of response param + - `+ plugins.plugin_type: enum value [proxy_cache]` + - **AttachApiToPlugin** + - changes of response param + - `+ attached_plugins.plugin_type: enum value [proxy_cache]` + - **AttachPluginToApi** + - changes of response param + - `+ attached_plugins.plugin_type: enum value [proxy_cache]` + - **ListApiAttachedPlugins** + - changes of response param + - `+ plugins.plugin_type: enum value [proxy_cache]` + - **ListApiAttachablePlugins** + - changes of response param + - `+ plugins.plugin_type: enum value [proxy_cache]` + - **ShowDetailsOfApiV2** + - changes of response param + - `+ is_send_fg_body_base64` + - `+ req_params.orchestrations` + - `+ req_params.location: enum value [COOKIE]` + - `+ policy_functions.conditions.mapped_param_name` + - `+ policy_functions.conditions.mapped_param_location` + - **UpdateApiV2** + - changes of request param + - `+ is_send_fg_body_base64` + - `+ req_params.orchestrations` + - `+ req_params.location: enum value [COOKIE]` + - `+ policy_mocks.conditions.mapped_param_name` + - `+ policy_mocks.conditions.mapped_param_location` + - changes of response param + - `+ is_send_fg_body_base64` + - `+ req_params.orchestrations` + - `+ req_params.location: enum value [COOKIE]` + - `+ policy_functions.conditions.mapped_param_name` + - `+ policy_functions.conditions.mapped_param_location` + - **ListApiVersionDetailV2** + - changes of response param + - `+ is_send_fg_body_base64` + - `+ req_params.orchestrations` + - `+ req_params.location: enum value [COOKIE]` + - `+ policy_functions.conditions.mapped_param_name` + - `+ policy_functions.conditions.mapped_param_location` + - **ShowDetailsOfVpcChannelV2** + - changes of response param + - `+ members.health_status` + - `- microservice_info.cce_service_info` + - **UpdateVpcChannelV2** + - changes of request param + - `- microservice_info.cce_service_info` + - changes of response param + - `- microservice_info.cce_service_info` + - **ImportMicroservice** + - changes of request param + - `- cce_service_info` + - **CreateApiV2** + - changes of request param + - `+ is_send_fg_body_base64` + - `+ req_params.orchestrations` + - `+ req_params.location: enum value [COOKIE]` + - `+ policy_mocks.conditions.mapped_param_name` + - `+ policy_mocks.conditions.mapped_param_location` + - changes of response param + - `+ is_send_fg_body_base64` + - `+ req_params.orchestrations` + - `+ req_params.location: enum value [COOKIE]` + - `+ policy_functions.conditions.mapped_param_name` + - `+ policy_functions.conditions.mapped_param_location` + - **ListApisV2** + - changes of response param + - `+ apis.is_send_fg_body_base64` + - `+ apis.req_params.orchestrations` + - `+ apis.req_params.location: enum value [COOKIE]` + - **CreateVpcChannelV2** + - changes of request param + - `- microservice_info.cce_service_info` + - changes of response param + - `- microservice_info.cce_service_info` + - **ListVpcChannelsV2** + - changes of response param + - `- vpc_channels.microservice_info.cce_service_info` + +### HuaweiCloud SDK BSS + +- _Features_ + - None +- _Bug Fix_ + - None +- _Change_ + - **ListCustomerBillsFeeRecords** + - changes of response param + - `+ records.id` + +### HuaweiCloud SDK CCE + +- _Features_ + - Support the following APIs: + - `SyncNodePool` + - `UpgradeNodePool` + - `ShowClusterSupportConfiguration` + - `ShowResourceInstances` + - `BatchCreateDeleteResourceTags` + - `ShowResourceTags` + - `ShowCustomizeClusterTagsByProjectId` + - `UpdateAutopilotClusterEip` +- _Bug Fix_ + - None +- _Change_ + - None + +### HuaweiCloud SDK DataArtsStudio + +- _Features_ + - Support the following APIs: + - `ListSecurityDynamicMaskingPolicies` + - `CreateSecurityDynamicMaskingPolicy` + - `ShowSecurityDynamicMaskingPolicy` + - `UpdateSecurityDynamicMaskingPolicy` + - `BatchDeleteSecurityDynamicMaskingPolicies` +- _Bug Fix_ + - None +- _Change_ + - None + +### HuaweiCloud SDK DLI + +- _Features_ + - None +- _Bug Fix_ + - None +- _Change_ + - **CreateSqlJob** + - changes of request param + - `+ engine_type: enum value [hetuEngine]` + - `- engine_type: enum value [trino]` + +### HuaweiCloud SDK GES + +- _Features_ + - Support the APIs `ChangeSecurityGroup`, `ShowBackupDownloadLink` +- _Bug Fix_ + - None +- _Change_ + - None + +### HuaweiCloud SDK iDMEClassicAPI + +- _Features_ + - None +- _Bug Fix_ + - None +- _Change_ + - **CreateMultiView** + - changes of response param + - `* data.branch.lastUpdateTime: object -> string` + - **BatchCreateView** + - changes of response param + - `* data.branch.lastUpdateTime: object -> string` + - **CreateView** + - changes of response param + - `* data.branch.lastUpdateTime: object -> string` + - **ListHistoryData** + - changes of request param + - `+ endIndex` + - `+ maxPageSize` + - `+ startIndex` + - `- limit` + - `- offset` + +### HuaweiCloud SDK Moderation + +- _Features_ + - Support the API `BatchCheckImageSync` +- _Bug Fix_ + - None +- _Change_ + - **RunTextModeration** + - changes of request param + - `+ Enterprise-Project-Id` + - **CheckImageModeration** + - changes of request param + - `+ Enterprise-Project-Id` + +### HuaweiCloud SDK OCR + +- _Features_ + - None +- _Bug Fix_ + - None +- _Change_ + - **RecognizeCambodianIdCard** + - changes of request param + - `+ detect_reproduce` + - changes of response param + - `+ result.detect_reproduce_result` + - `+ result.score_info.reproduce_score` + +### HuaweiCloud SDK SecMaster + +- _Features_ + - Support the following APIs: + - `ListWorkspaces` + - `CreateWorkspace` + - `CreatePostPaidOrder` + - `BatchSearchMetricHits` + - `SearchBaseline` +- _Bug Fix_ + - None +- _Change_ + - **EnableAlertRule** + - changes of response param + - `+ fail_list` + - `+ success_list` + - `- rule_id` + - `- status` + - **DisableAlertRule** + - changes of response param + - `+ fail_list` + - `+ success_list` + - `- rule_id` + - `- status` + - **CreatePlaybook** + - changes of request param + - `- enabled` + - **CreateDataobjectRelations** + - changes of response param + - `* data: object -> object` + - **ListDataclass** + - changes of request param + - `* offset: number -> int32` + - `* limit: number -> int32` + - **ListDataclassFields** + - changes of request param + - `* offset: number -> int32` + - `* limit: number -> int32` + - **ListWorkflows** + - changes of request param + - `* offset: number -> int32` + - `* limit: number -> int32` + - **ListAlerts** + - changes of response param + - `+ data.data_object.domain_id` + - `+ data.data_object.region_id` + - `+ data.data_object.labels` + - `+ data.data_object.environment.cross_workspace_id` + - `+ data.data_object.data_source.company_name` + - `+ data.data_object.data_source.product_name` + - `+ data.data_object.data_source.product_feature` + - `+ data.data_object.data_source.product_module` + - `+ data.data_object.severity: enum value [Tips,Low,Medium,High,Fatal]` + - `+ data.data_object.alert_type.category` + - `+ data.data_object.alert_type.alert_type` + - `* data.data_object.network_list.direction: object -> string` + - `+ data.data_object.network_list.src_geo.latitude` + - `+ data.data_object.network_list.src_geo.longitude` + - `+ data.data_object.network_list.src_geo.city_code` + - `+ data.data_object.network_list.src_geo.country_code` + - `+ data.data_object.network_list.dest_geo.latitude` + - `+ data.data_object.network_list.dest_geo.longitude` + - `+ data.data_object.network_list.dest_geo.city_code` + - `+ data.data_object.network_list.dest_geo.country_code` + - `+ data.data_object.resource_list.provider` + - `+ data.data_object.verification_state: enum value [Unknown,True_Positive,False_Positive]` + - `+ data.data_object.handle_status: enum value [Open,Block,Closed]` + - `+ data.data_object.chop_phase: enum value [Prepartion,Detection and Analysis,Containm,Eradication& Recovery,Post-Incident-Activity]` + - `+ data.data_object.ipdrr_phase: enum value [Prepartion,Detection and Analysis,Containm,Eradication& Recovery,Post-Incident-Activity]` + - `+ data.data_object.ppdr_phase: enum value [Prepartion,Detection and Analysis,Containm,Eradication& Recovery,Post-Incident-Activity]` + - `+ data.data_object.close_reason: enum value [False detection,Resolved,Repeated,Other]` + - `+ data.data_object.process.process_parent_name` + - `+ data.data_object.process.process_parent_path` + - `+ data.data_object.process.process_parent_pid` + - `+ data.data_object.process.process_parent_uid` + - `+ data.data_object.process.process_parent_cmdline` + - `+ data.data_object.process.process_child_name` + - `+ data.data_object.process.process_child_path` + - `+ data.data_object.process.process_child_pid` + - `+ data.data_object.process.process_child_uid` + - `+ data.data_object.process.process_child_cmdline` + - `+ data.data_object.process.process_launche_time` + - `+ data.data_object.process.process_terminate_time` + - **CreateAlert** + - changes of response param + - `+ data.type` + - **ShowAlert** + - changes of response param + - `+ data.type` + - **ChangeAlert** + - changes of response param + - `+ data.type` + - **ListIndicators** + - changes of request param + - `- name` + - changes of response param + - `- data.data_object.indicator_type.category` + - `- data.data_object.indicator_type.layout_id` + - **CreateIndicator** + - changes of request param + - `- data_object.data_object` + - `- data_object.layout_id` + - `- data_object.indicator_type.category` + - `- data_object.indicator_type.layout_id` + - changes of response param + - `- data.data_object.indicator_type.category` + - `- data.data_object.indicator_type.layout_id` + - **ShowIndicatorDetail** + - changes of response param + - `- data.data_object.indicator_type.category` + - `- data.data_object.indicator_type.layout_id` + - **UpdateIndicator** + - changes of request param + - `- data_object.indicator_type.category` + - `- data_object.indicator_type.layout_id` + - changes of response param + - `- data.data_object.indicator_type.category` + - `- data.data_object.indicator_type.layout_id` + - **DeleteAlertRule** + - changes of response param + - `+ fail_list` + - `+ deleted` + - `+ success_list` + - `- rule_id` + - `- delete_time` + - **CreateAlertRule** + - changes of request param + - `+ pipe_name` + - `+ alert_name` + - `+ alert_description` + - `+ alert_remediation` + - `+ accumulated_times` + +### HuaweiCloud SDK Workspace + +- _Features_ + - None +- _Bug Fix_ + - None +- _Change_ + - **ListLoginRecordsNew** + - changes of response param + - `+ records.sid` + - `+ records.transaction_id` + - `+ records.network_rtt` + - `+ records.e2e_rtt` + +### HuaweiCloud SDK DDM + +- _Features_ + - None +- _Bug Fix_ + - None +- _Change_ + - **ExpandInstanceNodes** + - changes of response param + - `+ orderId` + - `- order_id` + - **ShrinkInstanceNodes** + - changes of response param + - `+ orderId` + - `- order_id` + - **RestartInstance** + - changes of response param + - `- order_id` + # 3.1.106 2024-07-18 ### HuaweiCloud SDK AS diff --git a/CHANGELOG_CN.md b/CHANGELOG_CN.md index 0ec4f8543a..a34d786df7 100644 --- a/CHANGELOG_CN.md +++ b/CHANGELOG_CN.md @@ -1,3 +1,409 @@ +# 3.1.107 2024-07-25 + +### HuaweiCloud SDK APIG + +- _新增特性_ + - 支持以下接口: + - `ShowInstancesNumByTags` + - `ListInstancesByTags` + - `ListOrchestrations` + - `CreateOrchestration` + - `ShowDetailsOfOrchestration` + - `UpdateOrchestration` + - `DeleteOrchestration` + - `ListOrchestrationAttachedApis` +- _解决问题_ + - 无 +- _特性变更_ + - **ShowPlugin** + - 响应参数变更 + - `+ plugin_type: enum value [proxy_cache]` + - **UpdatePlugin** + - 请求参数变更 + - `+ plugin_type: enum value [proxy_cache]` + - 响应参数变更 + - `+ plugin_type: enum value [proxy_cache]` + - **ListApiRuntimeDefinitionV2** + - 响应参数变更 + - `+ is_send_fg_body_base64` + - `+ req_params.orchestrations` + - `+ req_params.location: enum value [COOKIE]` + - **ListBackendInstancesV2** + - 响应参数变更 + - `+ members.health_status` + - **UpdateBackendInstancesV2** + - 响应参数变更 + - `+ members.health_status` + - **AddingBackendInstancesV2** + - 响应参数变更 + - `+ members.health_status` + - **CreatePlugin** + - 请求参数变更 + - `+ plugin_type: enum value [proxy_cache]` + - 响应参数变更 + - `+ plugin_type: enum value [proxy_cache]` + - **ListPlugins** + - 响应参数变更 + - `+ plugins.plugin_type: enum value [proxy_cache]` + - **AttachApiToPlugin** + - 响应参数变更 + - `+ attached_plugins.plugin_type: enum value [proxy_cache]` + - **AttachPluginToApi** + - 响应参数变更 + - `+ attached_plugins.plugin_type: enum value [proxy_cache]` + - **ListApiAttachedPlugins** + - 响应参数变更 + - `+ plugins.plugin_type: enum value [proxy_cache]` + - **ListApiAttachablePlugins** + - 响应参数变更 + - `+ plugins.plugin_type: enum value [proxy_cache]` + - **ShowDetailsOfApiV2** + - 响应参数变更 + - `+ is_send_fg_body_base64` + - `+ req_params.orchestrations` + - `+ req_params.location: enum value [COOKIE]` + - `+ policy_functions.conditions.mapped_param_name` + - `+ policy_functions.conditions.mapped_param_location` + - **UpdateApiV2** + - 请求参数变更 + - `+ is_send_fg_body_base64` + - `+ req_params.orchestrations` + - `+ req_params.location: enum value [COOKIE]` + - `+ policy_mocks.conditions.mapped_param_name` + - `+ policy_mocks.conditions.mapped_param_location` + - 响应参数变更 + - `+ is_send_fg_body_base64` + - `+ req_params.orchestrations` + - `+ req_params.location: enum value [COOKIE]` + - `+ policy_functions.conditions.mapped_param_name` + - `+ policy_functions.conditions.mapped_param_location` + - **ListApiVersionDetailV2** + - 响应参数变更 + - `+ is_send_fg_body_base64` + - `+ req_params.orchestrations` + - `+ req_params.location: enum value [COOKIE]` + - `+ policy_functions.conditions.mapped_param_name` + - `+ policy_functions.conditions.mapped_param_location` + - **ShowDetailsOfVpcChannelV2** + - 响应参数变更 + - `+ members.health_status` + - `- microservice_info.cce_service_info` + - **UpdateVpcChannelV2** + - 请求参数变更 + - `- microservice_info.cce_service_info` + - 响应参数变更 + - `- microservice_info.cce_service_info` + - **ImportMicroservice** + - 请求参数变更 + - `- cce_service_info` + - **CreateApiV2** + - 请求参数变更 + - `+ is_send_fg_body_base64` + - `+ req_params.orchestrations` + - `+ req_params.location: enum value [COOKIE]` + - `+ policy_mocks.conditions.mapped_param_name` + - `+ policy_mocks.conditions.mapped_param_location` + - 响应参数变更 + - `+ is_send_fg_body_base64` + - `+ req_params.orchestrations` + - `+ req_params.location: enum value [COOKIE]` + - `+ policy_functions.conditions.mapped_param_name` + - `+ policy_functions.conditions.mapped_param_location` + - **ListApisV2** + - 响应参数变更 + - `+ apis.is_send_fg_body_base64` + - `+ apis.req_params.orchestrations` + - `+ apis.req_params.location: enum value [COOKIE]` + - **CreateVpcChannelV2** + - 请求参数变更 + - `- microservice_info.cce_service_info` + - 响应参数变更 + - `- microservice_info.cce_service_info` + - **ListVpcChannelsV2** + - 响应参数变更 + - `- vpc_channels.microservice_info.cce_service_info` + +### HuaweiCloud SDK BSS + +- _新增特性_ + - 无 +- _解决问题_ + - 无 +- _特性变更_ + - **ListCustomerBillsFeeRecords** + - 响应参数变更 + - `+ records.id` + +### HuaweiCloud SDK CCE + +- _新增特性_ + - 支持以下接口: + - `SyncNodePool` + - `UpgradeNodePool` + - `ShowClusterSupportConfiguration` + - `ShowResourceInstances` + - `BatchCreateDeleteResourceTags` + - `ShowResourceTags` + - `ShowCustomizeClusterTagsByProjectId` + - `UpdateAutopilotClusterEip` +- _解决问题_ + - 无 +- _特性变更_ + - 无 + +### HuaweiCloud SDK DataArtsStudio + +- _新增特性_ + - 支持以下接口: + - `ListSecurityDynamicMaskingPolicies` + - `CreateSecurityDynamicMaskingPolicy` + - `ShowSecurityDynamicMaskingPolicy` + - `UpdateSecurityDynamicMaskingPolicy` + - `BatchDeleteSecurityDynamicMaskingPolicies` +- _解决问题_ + - 无 +- _特性变更_ + - 无 + +### HuaweiCloud SDK DLI + +- _新增特性_ + - 无 +- _解决问题_ + - 无 +- _特性变更_ + - **CreateSqlJob** + - 请求参数变更 + - `+ engine_type: enum value [hetuEngine]` + - `- engine_type: enum value [trino]` + +### HuaweiCloud SDK GES + +- _新增特性_ + - 支持接口`ChangeSecurityGroup`、`ShowBackupDownloadLink` +- _解决问题_ + - 无 +- _特性变更_ + - 无 + +### HuaweiCloud SDK iDMEClassicAPI + +- _新增特性_ + - 无 +- _解决问题_ + - 无 +- _特性变更_ + - **CreateMultiView** + - 响应参数变更 + - `* data.branch.lastUpdateTime: object -> string` + - **BatchCreateView** + - 响应参数变更 + - `* data.branch.lastUpdateTime: object -> string` + - **CreateView** + - 响应参数变更 + - `* data.branch.lastUpdateTime: object -> string` + - **ListHistoryData** + - 请求参数变更 + - `+ endIndex` + - `+ maxPageSize` + - `+ startIndex` + - `- limit` + - `- offset` + +### HuaweiCloud SDK Moderation + +- _新增特性_ + - 支持接口`BatchCheckImageSync` +- _解决问题_ + - 无 +- _特性变更_ + - **RunTextModeration** + - 请求参数变更 + - `+ Enterprise-Project-Id` + - **CheckImageModeration** + - 请求参数变更 + - `+ Enterprise-Project-Id` + +### HuaweiCloud SDK OCR + +- _新增特性_ + - 无 +- _解决问题_ + - 无 +- _特性变更_ + - **RecognizeCambodianIdCard** + - 请求参数变更 + - `+ detect_reproduce` + - 响应参数变更 + - `+ result.detect_reproduce_result` + - `+ result.score_info.reproduce_score` + +### HuaweiCloud SDK SecMaster + +- _新增特性_ + - 支持以下接口: + - `ListWorkspaces` + - `CreateWorkspace` + - `CreatePostPaidOrder` + - `BatchSearchMetricHits` + - `SearchBaseline` +- _解决问题_ + - 无 +- _特性变更_ + - **EnableAlertRule** + - 响应参数变更 + - `+ fail_list` + - `+ success_list` + - `- rule_id` + - `- status` + - **DisableAlertRule** + - 响应参数变更 + - `+ fail_list` + - `+ success_list` + - `- rule_id` + - `- status` + - **CreatePlaybook** + - 请求参数变更 + - `- enabled` + - **CreateDataobjectRelations** + - 响应参数变更 + - `* data: object -> object` + - **ListDataclass** + - 请求参数变更 + - `* offset: number -> int32` + - `* limit: number -> int32` + - **ListDataclassFields** + - 请求参数变更 + - `* offset: number -> int32` + - `* limit: number -> int32` + - **ListWorkflows** + - 请求参数变更 + - `* offset: number -> int32` + - `* limit: number -> int32` + - **ListAlerts** + - 响应参数变更 + - `+ data.data_object.domain_id` + - `+ data.data_object.region_id` + - `+ data.data_object.labels` + - `+ data.data_object.environment.cross_workspace_id` + - `+ data.data_object.data_source.company_name` + - `+ data.data_object.data_source.product_name` + - `+ data.data_object.data_source.product_feature` + - `+ data.data_object.data_source.product_module` + - `+ data.data_object.severity: enum value [Tips,Low,Medium,High,Fatal]` + - `+ data.data_object.alert_type.category` + - `+ data.data_object.alert_type.alert_type` + - `* data.data_object.network_list.direction: object -> string` + - `+ data.data_object.network_list.src_geo.latitude` + - `+ data.data_object.network_list.src_geo.longitude` + - `+ data.data_object.network_list.src_geo.city_code` + - `+ data.data_object.network_list.src_geo.country_code` + - `+ data.data_object.network_list.dest_geo.latitude` + - `+ data.data_object.network_list.dest_geo.longitude` + - `+ data.data_object.network_list.dest_geo.city_code` + - `+ data.data_object.network_list.dest_geo.country_code` + - `+ data.data_object.resource_list.provider` + - `+ data.data_object.verification_state: enum value [Unknown,True_Positive,False_Positive]` + - `+ data.data_object.handle_status: enum value [Open,Block,Closed]` + - `+ data.data_object.chop_phase: enum value [Prepartion,Detection and Analysis,Containm,Eradication& Recovery,Post-Incident-Activity]` + - `+ data.data_object.ipdrr_phase: enum value [Prepartion,Detection and Analysis,Containm,Eradication& Recovery,Post-Incident-Activity]` + - `+ data.data_object.ppdr_phase: enum value [Prepartion,Detection and Analysis,Containm,Eradication& Recovery,Post-Incident-Activity]` + - `+ data.data_object.close_reason: enum value [False detection,Resolved,Repeated,Other]` + - `+ data.data_object.process.process_parent_name` + - `+ data.data_object.process.process_parent_path` + - `+ data.data_object.process.process_parent_pid` + - `+ data.data_object.process.process_parent_uid` + - `+ data.data_object.process.process_parent_cmdline` + - `+ data.data_object.process.process_child_name` + - `+ data.data_object.process.process_child_path` + - `+ data.data_object.process.process_child_pid` + - `+ data.data_object.process.process_child_uid` + - `+ data.data_object.process.process_child_cmdline` + - `+ data.data_object.process.process_launche_time` + - `+ data.data_object.process.process_terminate_time` + - **CreateAlert** + - 响应参数变更 + - `+ data.type` + - **ShowAlert** + - 响应参数变更 + - `+ data.type` + - **ChangeAlert** + - 响应参数变更 + - `+ data.type` + - **ListIndicators** + - 请求参数变更 + - `- name` + - 响应参数变更 + - `- data.data_object.indicator_type.category` + - `- data.data_object.indicator_type.layout_id` + - **CreateIndicator** + - 请求参数变更 + - `- data_object.data_object` + - `- data_object.layout_id` + - `- data_object.indicator_type.category` + - `- data_object.indicator_type.layout_id` + - 响应参数变更 + - `- data.data_object.indicator_type.category` + - `- data.data_object.indicator_type.layout_id` + - **ShowIndicatorDetail** + - 响应参数变更 + - `- data.data_object.indicator_type.category` + - `- data.data_object.indicator_type.layout_id` + - **UpdateIndicator** + - 请求参数变更 + - `- data_object.indicator_type.category` + - `- data_object.indicator_type.layout_id` + - 响应参数变更 + - `- data.data_object.indicator_type.category` + - `- data.data_object.indicator_type.layout_id` + - **DeleteAlertRule** + - 响应参数变更 + - `+ fail_list` + - `+ deleted` + - `+ success_list` + - `- rule_id` + - `- delete_time` + - **CreateAlertRule** + - 请求参数变更 + - `+ pipe_name` + - `+ alert_name` + - `+ alert_description` + - `+ alert_remediation` + - `+ accumulated_times` + +### HuaweiCloud SDK Workspace + +- _新增特性_ + - 无 +- _解决问题_ + - 无 +- _特性变更_ + - **ListLoginRecordsNew** + - 响应参数变更 + - `+ records.sid` + - `+ records.transaction_id` + - `+ records.network_rtt` + - `+ records.e2e_rtt` + +### HuaweiCloud SDK DDM + +- _新增特性_ + - 无 +- _解决问题_ + - 无 +- _特性变更_ + - **ExpandInstanceNodes** + - 响应参数变更 + - `+ orderId` + - `- order_id` + - **ShrinkInstanceNodes** + - 响应参数变更 + - `+ orderId` + - `- order_id` + - **RestartInstance** + - 响应参数变更 + - `- order_id` + # 3.1.106 2024-07-18 ### HuaweiCloud SDK AS diff --git a/VERSION b/VERSION index 563256ec98..929b79462c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.1.106 +3.1.107 diff --git a/huaweicloud-sdk-aad/requirements.txt b/huaweicloud-sdk-aad/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-aad/requirements.txt +++ b/huaweicloud-sdk-aad/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-aad/setup.py b/huaweicloud-sdk-aad/setup.py index a8d45adfee..f60b5a12c6 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-all/requirements.txt b/huaweicloud-sdk-all/requirements.txt index 3b630dad14..1168f0e30b 100644 --- a/huaweicloud-sdk-all/requirements.txt +++ b/huaweicloud-sdk-all/requirements.txt @@ -1,163 +1,163 @@ -huaweicloudsdkcore == 3.1.106 -huaweicloudsdkaad == 3.1.106 -huaweicloudsdkantiddos == 3.1.106 -huaweicloudsdkaom == 3.1.106 -huaweicloudsdkaos == 3.1.106 -huaweicloudsdkapig == 3.1.106 -huaweicloudsdkapm == 3.1.106 -huaweicloudsdkas == 3.1.106 -huaweicloudsdkasm == 3.1.106 -huaweicloudsdkbcs == 3.1.106 -huaweicloudsdkbms == 3.1.106 -huaweicloudsdkbss == 3.1.106 -huaweicloudsdkbssintl == 3.1.106 -huaweicloudsdkcae == 3.1.106 -huaweicloudsdkcampusgo == 3.1.106 -huaweicloudsdkcbh == 3.1.106 -huaweicloudsdkcbr == 3.1.106 -huaweicloudsdkcbs == 3.1.106 -huaweicloudsdkcc == 3.1.106 -huaweicloudsdkcce == 3.1.106 -huaweicloudsdkccm == 3.1.106 -huaweicloudsdkcdm == 3.1.106 -huaweicloudsdkcdn == 3.1.106 -huaweicloudsdkces == 3.1.106 -huaweicloudsdkcfw == 3.1.106 -huaweicloudsdkcgs == 3.1.106 -huaweicloudsdkclassroom == 3.1.106 -huaweicloudsdkcloudide == 3.1.106 -huaweicloudsdkcloudpond == 3.1.106 -huaweicloudsdkcloudrtc == 3.1.106 -huaweicloudsdkcloudtable == 3.1.106 -huaweicloudsdkcloudtest == 3.1.106 -huaweicloudsdkcodeartsartifact == 3.1.106 -huaweicloudsdkcodeartsbuild == 3.1.106 -huaweicloudsdkcodeartscheck == 3.1.106 -huaweicloudsdkcodeartsdeploy == 3.1.106 -huaweicloudsdkcodeartsgovernance == 3.1.106 -huaweicloudsdkcodeartsinspector == 3.1.106 -huaweicloudsdkcodeartspipeline == 3.1.106 -huaweicloudsdkcodecraft == 3.1.106 -huaweicloudsdkcodehub == 3.1.106 -huaweicloudsdkconfig == 3.1.106 -huaweicloudsdkcph == 3.1.106 -huaweicloudsdkcpts == 3.1.106 -huaweicloudsdkcse == 3.1.106 -huaweicloudsdkcsms == 3.1.106 -huaweicloudsdkcss == 3.1.106 -huaweicloudsdkcts == 3.1.106 -huaweicloudsdkdas == 3.1.106 -huaweicloudsdkdataartsstudio == 3.1.106 -huaweicloudsdkdbss == 3.1.106 -huaweicloudsdkdc == 3.1.106 -huaweicloudsdkdcs == 3.1.106 -huaweicloudsdkddm == 3.1.106 -huaweicloudsdkdds == 3.1.106 -huaweicloudsdkdeh == 3.1.106 -huaweicloudsdkdevstar == 3.1.106 -huaweicloudsdkdgc == 3.1.106 -huaweicloudsdkdis == 3.1.106 -huaweicloudsdkdlf == 3.1.106 -huaweicloudsdkdli == 3.1.106 -huaweicloudsdkdns == 3.1.106 -huaweicloudsdkdris == 3.1.106 -huaweicloudsdkdrs == 3.1.106 -huaweicloudsdkdsc == 3.1.106 -huaweicloudsdkdwr == 3.1.106 -huaweicloudsdkdws == 3.1.106 -huaweicloudsdkec == 3.1.106 -huaweicloudsdkecs == 3.1.106 -huaweicloudsdkedgesec == 3.1.106 -huaweicloudsdkeg == 3.1.106 -huaweicloudsdkeihealth == 3.1.106 -huaweicloudsdkeip == 3.1.106 -huaweicloudsdkelb == 3.1.106 -huaweicloudsdkeps == 3.1.106 -huaweicloudsdker == 3.1.106 -huaweicloudsdkevs == 3.1.106 -huaweicloudsdkfrs == 3.1.106 -huaweicloudsdkfunctiongraph == 3.1.106 -huaweicloudsdkga == 3.1.106 -huaweicloudsdkgaussdb == 3.1.106 -huaweicloudsdkgaussdbfornosql == 3.1.106 -huaweicloudsdkgaussdbforopengauss == 3.1.106 -huaweicloudsdkgeip == 3.1.106 -huaweicloudsdkges == 3.1.106 -huaweicloudsdkgsl == 3.1.106 -huaweicloudsdkhilens == 3.1.106 -huaweicloudsdkhss == 3.1.106 -huaweicloudsdkiam == 3.1.106 -huaweicloudsdkiamaccessanalyzer == 3.1.106 -huaweicloudsdkidentitycenter == 3.1.106 -huaweicloudsdkidentitycenterstore == 3.1.106 -huaweicloudsdkidme == 3.1.106 -huaweicloudsdkidmeclassicapi == 3.1.106 -huaweicloudsdkiec == 3.1.106 -huaweicloudsdkief == 3.1.106 -huaweicloudsdkimage == 3.1.106 -huaweicloudsdkimagesearch == 3.1.106 -huaweicloudsdkims == 3.1.106 -huaweicloudsdkiotanalytics == 3.1.106 -huaweicloudsdkiotda == 3.1.106 -huaweicloudsdkiotedge == 3.1.106 -huaweicloudsdkivs == 3.1.106 -huaweicloudsdkkafka == 3.1.106 -huaweicloudsdkkms == 3.1.106 -huaweicloudsdkkoomessage == 3.1.106 -huaweicloudsdkkps == 3.1.106 -huaweicloudsdklakeformation == 3.1.106 -huaweicloudsdklive == 3.1.106 -huaweicloudsdklts == 3.1.106 -huaweicloudsdkmapds == 3.1.106 -huaweicloudsdkmas == 3.1.106 -huaweicloudsdkmeeting == 3.1.106 -huaweicloudsdkmetastudio == 3.1.106 -huaweicloudsdkmoderation == 3.1.106 -huaweicloudsdkmpc == 3.1.106 -huaweicloudsdkmrs == 3.1.106 -huaweicloudsdkmsgsms == 3.1.106 -huaweicloudsdkmssi == 3.1.106 -huaweicloudsdknat == 3.1.106 -huaweicloudsdknlp == 3.1.106 -huaweicloudsdkobs == 3.1.106 -huaweicloudsdkocr == 3.1.106 -huaweicloudsdkoctopus == 3.1.106 -huaweicloudsdkoms == 3.1.106 -huaweicloudsdkoptverse == 3.1.106 -huaweicloudsdkorganizations == 3.1.106 -huaweicloudsdkorgid == 3.1.106 -huaweicloudsdkoroas == 3.1.106 -huaweicloudsdkosm == 3.1.106 -huaweicloudsdkpangulargemodels == 3.1.106 -huaweicloudsdkprojectman == 3.1.106 -huaweicloudsdkrabbitmq == 3.1.106 -huaweicloudsdkram == 3.1.106 -huaweicloudsdkrds == 3.1.106 -huaweicloudsdkres == 3.1.106 -huaweicloudsdkrgc == 3.1.106 -huaweicloudsdkrms == 3.1.106 -huaweicloudsdkrocketmq == 3.1.106 -huaweicloudsdkroma == 3.1.106 -huaweicloudsdksa == 3.1.106 -huaweicloudsdkscm == 3.1.106 -huaweicloudsdksdrs == 3.1.106 -huaweicloudsdksecmaster == 3.1.106 -huaweicloudsdkservicestage == 3.1.106 -huaweicloudsdksfsturbo == 3.1.106 -huaweicloudsdksis == 3.1.106 -huaweicloudsdksmn == 3.1.106 -huaweicloudsdksms == 3.1.106 -huaweicloudsdksts == 3.1.106 -huaweicloudsdkswr == 3.1.106 -huaweicloudsdktics == 3.1.106 -huaweicloudsdktms == 3.1.106 -huaweicloudsdkugo == 3.1.106 -huaweicloudsdkvas == 3.1.106 -huaweicloudsdkvcm == 3.1.106 -huaweicloudsdkvod == 3.1.106 -huaweicloudsdkvpc == 3.1.106 -huaweicloudsdkvpcep == 3.1.106 -huaweicloudsdkvpn == 3.1.106 -huaweicloudsdkwaf == 3.1.106 -huaweicloudsdkworkspace == 3.1.106 -huaweicloudsdkworkspaceapp == 3.1.106 +huaweicloudsdkcore == 3.1.107 +huaweicloudsdkaad == 3.1.107 +huaweicloudsdkantiddos == 3.1.107 +huaweicloudsdkaom == 3.1.107 +huaweicloudsdkaos == 3.1.107 +huaweicloudsdkapig == 3.1.107 +huaweicloudsdkapm == 3.1.107 +huaweicloudsdkas == 3.1.107 +huaweicloudsdkasm == 3.1.107 +huaweicloudsdkbcs == 3.1.107 +huaweicloudsdkbms == 3.1.107 +huaweicloudsdkbss == 3.1.107 +huaweicloudsdkbssintl == 3.1.107 +huaweicloudsdkcae == 3.1.107 +huaweicloudsdkcampusgo == 3.1.107 +huaweicloudsdkcbh == 3.1.107 +huaweicloudsdkcbr == 3.1.107 +huaweicloudsdkcbs == 3.1.107 +huaweicloudsdkcc == 3.1.107 +huaweicloudsdkcce == 3.1.107 +huaweicloudsdkccm == 3.1.107 +huaweicloudsdkcdm == 3.1.107 +huaweicloudsdkcdn == 3.1.107 +huaweicloudsdkces == 3.1.107 +huaweicloudsdkcfw == 3.1.107 +huaweicloudsdkcgs == 3.1.107 +huaweicloudsdkclassroom == 3.1.107 +huaweicloudsdkcloudide == 3.1.107 +huaweicloudsdkcloudpond == 3.1.107 +huaweicloudsdkcloudrtc == 3.1.107 +huaweicloudsdkcloudtable == 3.1.107 +huaweicloudsdkcloudtest == 3.1.107 +huaweicloudsdkcodeartsartifact == 3.1.107 +huaweicloudsdkcodeartsbuild == 3.1.107 +huaweicloudsdkcodeartscheck == 3.1.107 +huaweicloudsdkcodeartsdeploy == 3.1.107 +huaweicloudsdkcodeartsgovernance == 3.1.107 +huaweicloudsdkcodeartsinspector == 3.1.107 +huaweicloudsdkcodeartspipeline == 3.1.107 +huaweicloudsdkcodecraft == 3.1.107 +huaweicloudsdkcodehub == 3.1.107 +huaweicloudsdkconfig == 3.1.107 +huaweicloudsdkcph == 3.1.107 +huaweicloudsdkcpts == 3.1.107 +huaweicloudsdkcse == 3.1.107 +huaweicloudsdkcsms == 3.1.107 +huaweicloudsdkcss == 3.1.107 +huaweicloudsdkcts == 3.1.107 +huaweicloudsdkdas == 3.1.107 +huaweicloudsdkdataartsstudio == 3.1.107 +huaweicloudsdkdbss == 3.1.107 +huaweicloudsdkdc == 3.1.107 +huaweicloudsdkdcs == 3.1.107 +huaweicloudsdkddm == 3.1.107 +huaweicloudsdkdds == 3.1.107 +huaweicloudsdkdeh == 3.1.107 +huaweicloudsdkdevstar == 3.1.107 +huaweicloudsdkdgc == 3.1.107 +huaweicloudsdkdis == 3.1.107 +huaweicloudsdkdlf == 3.1.107 +huaweicloudsdkdli == 3.1.107 +huaweicloudsdkdns == 3.1.107 +huaweicloudsdkdris == 3.1.107 +huaweicloudsdkdrs == 3.1.107 +huaweicloudsdkdsc == 3.1.107 +huaweicloudsdkdwr == 3.1.107 +huaweicloudsdkdws == 3.1.107 +huaweicloudsdkec == 3.1.107 +huaweicloudsdkecs == 3.1.107 +huaweicloudsdkedgesec == 3.1.107 +huaweicloudsdkeg == 3.1.107 +huaweicloudsdkeihealth == 3.1.107 +huaweicloudsdkeip == 3.1.107 +huaweicloudsdkelb == 3.1.107 +huaweicloudsdkeps == 3.1.107 +huaweicloudsdker == 3.1.107 +huaweicloudsdkevs == 3.1.107 +huaweicloudsdkfrs == 3.1.107 +huaweicloudsdkfunctiongraph == 3.1.107 +huaweicloudsdkga == 3.1.107 +huaweicloudsdkgaussdb == 3.1.107 +huaweicloudsdkgaussdbfornosql == 3.1.107 +huaweicloudsdkgaussdbforopengauss == 3.1.107 +huaweicloudsdkgeip == 3.1.107 +huaweicloudsdkges == 3.1.107 +huaweicloudsdkgsl == 3.1.107 +huaweicloudsdkhilens == 3.1.107 +huaweicloudsdkhss == 3.1.107 +huaweicloudsdkiam == 3.1.107 +huaweicloudsdkiamaccessanalyzer == 3.1.107 +huaweicloudsdkidentitycenter == 3.1.107 +huaweicloudsdkidentitycenterstore == 3.1.107 +huaweicloudsdkidme == 3.1.107 +huaweicloudsdkidmeclassicapi == 3.1.107 +huaweicloudsdkiec == 3.1.107 +huaweicloudsdkief == 3.1.107 +huaweicloudsdkimage == 3.1.107 +huaweicloudsdkimagesearch == 3.1.107 +huaweicloudsdkims == 3.1.107 +huaweicloudsdkiotanalytics == 3.1.107 +huaweicloudsdkiotda == 3.1.107 +huaweicloudsdkiotedge == 3.1.107 +huaweicloudsdkivs == 3.1.107 +huaweicloudsdkkafka == 3.1.107 +huaweicloudsdkkms == 3.1.107 +huaweicloudsdkkoomessage == 3.1.107 +huaweicloudsdkkps == 3.1.107 +huaweicloudsdklakeformation == 3.1.107 +huaweicloudsdklive == 3.1.107 +huaweicloudsdklts == 3.1.107 +huaweicloudsdkmapds == 3.1.107 +huaweicloudsdkmas == 3.1.107 +huaweicloudsdkmeeting == 3.1.107 +huaweicloudsdkmetastudio == 3.1.107 +huaweicloudsdkmoderation == 3.1.107 +huaweicloudsdkmpc == 3.1.107 +huaweicloudsdkmrs == 3.1.107 +huaweicloudsdkmsgsms == 3.1.107 +huaweicloudsdkmssi == 3.1.107 +huaweicloudsdknat == 3.1.107 +huaweicloudsdknlp == 3.1.107 +huaweicloudsdkobs == 3.1.107 +huaweicloudsdkocr == 3.1.107 +huaweicloudsdkoctopus == 3.1.107 +huaweicloudsdkoms == 3.1.107 +huaweicloudsdkoptverse == 3.1.107 +huaweicloudsdkorganizations == 3.1.107 +huaweicloudsdkorgid == 3.1.107 +huaweicloudsdkoroas == 3.1.107 +huaweicloudsdkosm == 3.1.107 +huaweicloudsdkpangulargemodels == 3.1.107 +huaweicloudsdkprojectman == 3.1.107 +huaweicloudsdkrabbitmq == 3.1.107 +huaweicloudsdkram == 3.1.107 +huaweicloudsdkrds == 3.1.107 +huaweicloudsdkres == 3.1.107 +huaweicloudsdkrgc == 3.1.107 +huaweicloudsdkrms == 3.1.107 +huaweicloudsdkrocketmq == 3.1.107 +huaweicloudsdkroma == 3.1.107 +huaweicloudsdksa == 3.1.107 +huaweicloudsdkscm == 3.1.107 +huaweicloudsdksdrs == 3.1.107 +huaweicloudsdksecmaster == 3.1.107 +huaweicloudsdkservicestage == 3.1.107 +huaweicloudsdksfsturbo == 3.1.107 +huaweicloudsdksis == 3.1.107 +huaweicloudsdksmn == 3.1.107 +huaweicloudsdksms == 3.1.107 +huaweicloudsdksts == 3.1.107 +huaweicloudsdkswr == 3.1.107 +huaweicloudsdktics == 3.1.107 +huaweicloudsdktms == 3.1.107 +huaweicloudsdkugo == 3.1.107 +huaweicloudsdkvas == 3.1.107 +huaweicloudsdkvcm == 3.1.107 +huaweicloudsdkvod == 3.1.107 +huaweicloudsdkvpc == 3.1.107 +huaweicloudsdkvpcep == 3.1.107 +huaweicloudsdkvpn == 3.1.107 +huaweicloudsdkwaf == 3.1.107 +huaweicloudsdkworkspace == 3.1.107 +huaweicloudsdkworkspaceapp == 3.1.107 diff --git a/huaweicloud-sdk-all/setup.py b/huaweicloud-sdk-all/setup.py index edde9bbe44..bfa99f7ee8 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.106" +VERSION = "3.1.107" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -34,169 +34,169 @@ LONG_DESCRIPTION = f.read() INSTALL_REQUIRES = [ - 'huaweicloudsdkcore==3.1.106', - 'huaweicloudsdkaad==3.1.106', - 'huaweicloudsdkantiddos==3.1.106', - 'huaweicloudsdkaom==3.1.106', - 'huaweicloudsdkaos==3.1.106', - 'huaweicloudsdkapig==3.1.106', - 'huaweicloudsdkapm==3.1.106', - 'huaweicloudsdkas==3.1.106', - 'huaweicloudsdkasm==3.1.106', - 'huaweicloudsdkbcs==3.1.106', - 'huaweicloudsdkbms==3.1.106', - 'huaweicloudsdkbss==3.1.106', - 'huaweicloudsdkbssintl==3.1.106', - 'huaweicloudsdkcae==3.1.106', - 'huaweicloudsdkcampusgo==3.1.106', - 'huaweicloudsdkcbh==3.1.106', - 'huaweicloudsdkcbr==3.1.106', - 'huaweicloudsdkcbs==3.1.106', - 'huaweicloudsdkcc==3.1.106', - 'huaweicloudsdkcce==3.1.106', - 'huaweicloudsdkccm==3.1.106', - 'huaweicloudsdkcdm==3.1.106', - 'huaweicloudsdkcdn==3.1.106', - 'huaweicloudsdkces==3.1.106', - 'huaweicloudsdkcfw==3.1.106', - 'huaweicloudsdkcgs==3.1.106', - 'huaweicloudsdkclassroom==3.1.106', - 'huaweicloudsdkcloudide==3.1.106', - 'huaweicloudsdkcloudpond==3.1.106', - 'huaweicloudsdkcloudrtc==3.1.106', - 'huaweicloudsdkcloudtable==3.1.106', - 'huaweicloudsdkcloudtest==3.1.106', - 'huaweicloudsdkcodeartsartifact==3.1.106', - 'huaweicloudsdkcodeartsbuild==3.1.106', - 'huaweicloudsdkcodeartscheck==3.1.106', - 'huaweicloudsdkcodeartsdeploy==3.1.106', - 'huaweicloudsdkcodeartsgovernance==3.1.106', - 'huaweicloudsdkcodeartsinspector==3.1.106', - 'huaweicloudsdkcodeartspipeline==3.1.106', - 'huaweicloudsdkcodecraft==3.1.106', - 'huaweicloudsdkcodehub==3.1.106', - 'huaweicloudsdkconfig==3.1.106', - 'huaweicloudsdkcph==3.1.106', - 'huaweicloudsdkcpts==3.1.106', - 'huaweicloudsdkcse==3.1.106', - 'huaweicloudsdkcsms==3.1.106', - 'huaweicloudsdkcss==3.1.106', - 'huaweicloudsdkcts==3.1.106', - 'huaweicloudsdkdas==3.1.106', - 'huaweicloudsdkdataartsstudio==3.1.106', - 'huaweicloudsdkdbss==3.1.106', - 'huaweicloudsdkdc==3.1.106', - 'huaweicloudsdkdcs==3.1.106', - 'huaweicloudsdkddm==3.1.106', - 'huaweicloudsdkdds==3.1.106', - 'huaweicloudsdkdeh==3.1.106', - 'huaweicloudsdkdevstar==3.1.106', - 'huaweicloudsdkdgc==3.1.106', - 'huaweicloudsdkdis==3.1.106', - 'huaweicloudsdkdlf==3.1.106', - 'huaweicloudsdkdli==3.1.106', - 'huaweicloudsdkdns==3.1.106', - 'huaweicloudsdkdris==3.1.106', - 'huaweicloudsdkdrs==3.1.106', - 'huaweicloudsdkdsc==3.1.106', - 'huaweicloudsdkdwr==3.1.106', - 'huaweicloudsdkdws==3.1.106', - 'huaweicloudsdkec==3.1.106', - 'huaweicloudsdkecs==3.1.106', - 'huaweicloudsdkedgesec==3.1.106', - 'huaweicloudsdkeg==3.1.106', - 'huaweicloudsdkeihealth==3.1.106', - 'huaweicloudsdkeip==3.1.106', - 'huaweicloudsdkelb==3.1.106', - 'huaweicloudsdkeps==3.1.106', - 'huaweicloudsdker==3.1.106', - 'huaweicloudsdkevs==3.1.106', - 'huaweicloudsdkfrs==3.1.106', - 'huaweicloudsdkfunctiongraph==3.1.106', - 'huaweicloudsdkga==3.1.106', - 'huaweicloudsdkgaussdb==3.1.106', - 'huaweicloudsdkgaussdbfornosql==3.1.106', - 'huaweicloudsdkgaussdbforopengauss==3.1.106', - 'huaweicloudsdkgeip==3.1.106', - 'huaweicloudsdkges==3.1.106', - 'huaweicloudsdkgsl==3.1.106', - 'huaweicloudsdkhilens==3.1.106', - 'huaweicloudsdkhss==3.1.106', - 'huaweicloudsdkiam==3.1.106', - 'huaweicloudsdkiamaccessanalyzer==3.1.106', - 'huaweicloudsdkidentitycenter==3.1.106', - 'huaweicloudsdkidentitycenterstore==3.1.106', - 'huaweicloudsdkidme==3.1.106', - 'huaweicloudsdkidmeclassicapi==3.1.106', - 'huaweicloudsdkiec==3.1.106', - 'huaweicloudsdkief==3.1.106', - 'huaweicloudsdkimage==3.1.106', - 'huaweicloudsdkimagesearch==3.1.106', - 'huaweicloudsdkims==3.1.106', - 'huaweicloudsdkiotanalytics==3.1.106', - 'huaweicloudsdkiotda==3.1.106', - 'huaweicloudsdkiotedge==3.1.106', - 'huaweicloudsdkivs==3.1.106', - 'huaweicloudsdkkafka==3.1.106', - 'huaweicloudsdkkms==3.1.106', - 'huaweicloudsdkkoomessage==3.1.106', - 'huaweicloudsdkkps==3.1.106', - 'huaweicloudsdklakeformation==3.1.106', - 'huaweicloudsdklive==3.1.106', - 'huaweicloudsdklts==3.1.106', - 'huaweicloudsdkmapds==3.1.106', - 'huaweicloudsdkmas==3.1.106', - 'huaweicloudsdkmeeting==3.1.106', - 'huaweicloudsdkmetastudio==3.1.106', - 'huaweicloudsdkmoderation==3.1.106', - 'huaweicloudsdkmpc==3.1.106', - 'huaweicloudsdkmrs==3.1.106', - 'huaweicloudsdkmsgsms==3.1.106', - 'huaweicloudsdkmssi==3.1.106', - 'huaweicloudsdknat==3.1.106', - 'huaweicloudsdknlp==3.1.106', - 'huaweicloudsdkobs==3.1.106', - 'huaweicloudsdkocr==3.1.106', - 'huaweicloudsdkoctopus==3.1.106', - 'huaweicloudsdkoms==3.1.106', - 'huaweicloudsdkoptverse==3.1.106', - 'huaweicloudsdkorganizations==3.1.106', - 'huaweicloudsdkorgid==3.1.106', - 'huaweicloudsdkoroas==3.1.106', - 'huaweicloudsdkosm==3.1.106', - 'huaweicloudsdkpangulargemodels==3.1.106', - 'huaweicloudsdkprojectman==3.1.106', - 'huaweicloudsdkrabbitmq==3.1.106', - 'huaweicloudsdkram==3.1.106', - 'huaweicloudsdkrds==3.1.106', - 'huaweicloudsdkres==3.1.106', - 'huaweicloudsdkrgc==3.1.106', - 'huaweicloudsdkrms==3.1.106', - 'huaweicloudsdkrocketmq==3.1.106', - 'huaweicloudsdkroma==3.1.106', - 'huaweicloudsdksa==3.1.106', - 'huaweicloudsdkscm==3.1.106', - 'huaweicloudsdksdrs==3.1.106', - 'huaweicloudsdksecmaster==3.1.106', - 'huaweicloudsdkservicestage==3.1.106', - 'huaweicloudsdksfsturbo==3.1.106', - 'huaweicloudsdksis==3.1.106', - 'huaweicloudsdksmn==3.1.106', - 'huaweicloudsdksms==3.1.106', - 'huaweicloudsdksts==3.1.106', - 'huaweicloudsdkswr==3.1.106', - 'huaweicloudsdktics==3.1.106', - 'huaweicloudsdktms==3.1.106', - 'huaweicloudsdkugo==3.1.106', - 'huaweicloudsdkvas==3.1.106', - 'huaweicloudsdkvcm==3.1.106', - 'huaweicloudsdkvod==3.1.106', - 'huaweicloudsdkvpc==3.1.106', - 'huaweicloudsdkvpcep==3.1.106', - 'huaweicloudsdkvpn==3.1.106', - 'huaweicloudsdkwaf==3.1.106', - 'huaweicloudsdkworkspace==3.1.106', - 'huaweicloudsdkworkspaceapp==3.1.106', + 'huaweicloudsdkcore==3.1.107', + 'huaweicloudsdkaad==3.1.107', + 'huaweicloudsdkantiddos==3.1.107', + 'huaweicloudsdkaom==3.1.107', + 'huaweicloudsdkaos==3.1.107', + 'huaweicloudsdkapig==3.1.107', + 'huaweicloudsdkapm==3.1.107', + 'huaweicloudsdkas==3.1.107', + 'huaweicloudsdkasm==3.1.107', + 'huaweicloudsdkbcs==3.1.107', + 'huaweicloudsdkbms==3.1.107', + 'huaweicloudsdkbss==3.1.107', + 'huaweicloudsdkbssintl==3.1.107', + 'huaweicloudsdkcae==3.1.107', + 'huaweicloudsdkcampusgo==3.1.107', + 'huaweicloudsdkcbh==3.1.107', + 'huaweicloudsdkcbr==3.1.107', + 'huaweicloudsdkcbs==3.1.107', + 'huaweicloudsdkcc==3.1.107', + 'huaweicloudsdkcce==3.1.107', + 'huaweicloudsdkccm==3.1.107', + 'huaweicloudsdkcdm==3.1.107', + 'huaweicloudsdkcdn==3.1.107', + 'huaweicloudsdkces==3.1.107', + 'huaweicloudsdkcfw==3.1.107', + 'huaweicloudsdkcgs==3.1.107', + 'huaweicloudsdkclassroom==3.1.107', + 'huaweicloudsdkcloudide==3.1.107', + 'huaweicloudsdkcloudpond==3.1.107', + 'huaweicloudsdkcloudrtc==3.1.107', + 'huaweicloudsdkcloudtable==3.1.107', + 'huaweicloudsdkcloudtest==3.1.107', + 'huaweicloudsdkcodeartsartifact==3.1.107', + 'huaweicloudsdkcodeartsbuild==3.1.107', + 'huaweicloudsdkcodeartscheck==3.1.107', + 'huaweicloudsdkcodeartsdeploy==3.1.107', + 'huaweicloudsdkcodeartsgovernance==3.1.107', + 'huaweicloudsdkcodeartsinspector==3.1.107', + 'huaweicloudsdkcodeartspipeline==3.1.107', + 'huaweicloudsdkcodecraft==3.1.107', + 'huaweicloudsdkcodehub==3.1.107', + 'huaweicloudsdkconfig==3.1.107', + 'huaweicloudsdkcph==3.1.107', + 'huaweicloudsdkcpts==3.1.107', + 'huaweicloudsdkcse==3.1.107', + 'huaweicloudsdkcsms==3.1.107', + 'huaweicloudsdkcss==3.1.107', + 'huaweicloudsdkcts==3.1.107', + 'huaweicloudsdkdas==3.1.107', + 'huaweicloudsdkdataartsstudio==3.1.107', + 'huaweicloudsdkdbss==3.1.107', + 'huaweicloudsdkdc==3.1.107', + 'huaweicloudsdkdcs==3.1.107', + 'huaweicloudsdkddm==3.1.107', + 'huaweicloudsdkdds==3.1.107', + 'huaweicloudsdkdeh==3.1.107', + 'huaweicloudsdkdevstar==3.1.107', + 'huaweicloudsdkdgc==3.1.107', + 'huaweicloudsdkdis==3.1.107', + 'huaweicloudsdkdlf==3.1.107', + 'huaweicloudsdkdli==3.1.107', + 'huaweicloudsdkdns==3.1.107', + 'huaweicloudsdkdris==3.1.107', + 'huaweicloudsdkdrs==3.1.107', + 'huaweicloudsdkdsc==3.1.107', + 'huaweicloudsdkdwr==3.1.107', + 'huaweicloudsdkdws==3.1.107', + 'huaweicloudsdkec==3.1.107', + 'huaweicloudsdkecs==3.1.107', + 'huaweicloudsdkedgesec==3.1.107', + 'huaweicloudsdkeg==3.1.107', + 'huaweicloudsdkeihealth==3.1.107', + 'huaweicloudsdkeip==3.1.107', + 'huaweicloudsdkelb==3.1.107', + 'huaweicloudsdkeps==3.1.107', + 'huaweicloudsdker==3.1.107', + 'huaweicloudsdkevs==3.1.107', + 'huaweicloudsdkfrs==3.1.107', + 'huaweicloudsdkfunctiongraph==3.1.107', + 'huaweicloudsdkga==3.1.107', + 'huaweicloudsdkgaussdb==3.1.107', + 'huaweicloudsdkgaussdbfornosql==3.1.107', + 'huaweicloudsdkgaussdbforopengauss==3.1.107', + 'huaweicloudsdkgeip==3.1.107', + 'huaweicloudsdkges==3.1.107', + 'huaweicloudsdkgsl==3.1.107', + 'huaweicloudsdkhilens==3.1.107', + 'huaweicloudsdkhss==3.1.107', + 'huaweicloudsdkiam==3.1.107', + 'huaweicloudsdkiamaccessanalyzer==3.1.107', + 'huaweicloudsdkidentitycenter==3.1.107', + 'huaweicloudsdkidentitycenterstore==3.1.107', + 'huaweicloudsdkidme==3.1.107', + 'huaweicloudsdkidmeclassicapi==3.1.107', + 'huaweicloudsdkiec==3.1.107', + 'huaweicloudsdkief==3.1.107', + 'huaweicloudsdkimage==3.1.107', + 'huaweicloudsdkimagesearch==3.1.107', + 'huaweicloudsdkims==3.1.107', + 'huaweicloudsdkiotanalytics==3.1.107', + 'huaweicloudsdkiotda==3.1.107', + 'huaweicloudsdkiotedge==3.1.107', + 'huaweicloudsdkivs==3.1.107', + 'huaweicloudsdkkafka==3.1.107', + 'huaweicloudsdkkms==3.1.107', + 'huaweicloudsdkkoomessage==3.1.107', + 'huaweicloudsdkkps==3.1.107', + 'huaweicloudsdklakeformation==3.1.107', + 'huaweicloudsdklive==3.1.107', + 'huaweicloudsdklts==3.1.107', + 'huaweicloudsdkmapds==3.1.107', + 'huaweicloudsdkmas==3.1.107', + 'huaweicloudsdkmeeting==3.1.107', + 'huaweicloudsdkmetastudio==3.1.107', + 'huaweicloudsdkmoderation==3.1.107', + 'huaweicloudsdkmpc==3.1.107', + 'huaweicloudsdkmrs==3.1.107', + 'huaweicloudsdkmsgsms==3.1.107', + 'huaweicloudsdkmssi==3.1.107', + 'huaweicloudsdknat==3.1.107', + 'huaweicloudsdknlp==3.1.107', + 'huaweicloudsdkobs==3.1.107', + 'huaweicloudsdkocr==3.1.107', + 'huaweicloudsdkoctopus==3.1.107', + 'huaweicloudsdkoms==3.1.107', + 'huaweicloudsdkoptverse==3.1.107', + 'huaweicloudsdkorganizations==3.1.107', + 'huaweicloudsdkorgid==3.1.107', + 'huaweicloudsdkoroas==3.1.107', + 'huaweicloudsdkosm==3.1.107', + 'huaweicloudsdkpangulargemodels==3.1.107', + 'huaweicloudsdkprojectman==3.1.107', + 'huaweicloudsdkrabbitmq==3.1.107', + 'huaweicloudsdkram==3.1.107', + 'huaweicloudsdkrds==3.1.107', + 'huaweicloudsdkres==3.1.107', + 'huaweicloudsdkrgc==3.1.107', + 'huaweicloudsdkrms==3.1.107', + 'huaweicloudsdkrocketmq==3.1.107', + 'huaweicloudsdkroma==3.1.107', + 'huaweicloudsdksa==3.1.107', + 'huaweicloudsdkscm==3.1.107', + 'huaweicloudsdksdrs==3.1.107', + 'huaweicloudsdksecmaster==3.1.107', + 'huaweicloudsdkservicestage==3.1.107', + 'huaweicloudsdksfsturbo==3.1.107', + 'huaweicloudsdksis==3.1.107', + 'huaweicloudsdksmn==3.1.107', + 'huaweicloudsdksms==3.1.107', + 'huaweicloudsdksts==3.1.107', + 'huaweicloudsdkswr==3.1.107', + 'huaweicloudsdktics==3.1.107', + 'huaweicloudsdktms==3.1.107', + 'huaweicloudsdkugo==3.1.107', + 'huaweicloudsdkvas==3.1.107', + 'huaweicloudsdkvcm==3.1.107', + 'huaweicloudsdkvod==3.1.107', + 'huaweicloudsdkvpc==3.1.107', + 'huaweicloudsdkvpcep==3.1.107', + 'huaweicloudsdkvpn==3.1.107', + 'huaweicloudsdkwaf==3.1.107', + 'huaweicloudsdkworkspace==3.1.107', + 'huaweicloudsdkworkspaceapp==3.1.107', ] OPTIONS = { diff --git a/huaweicloud-sdk-antiddos/requirements.txt b/huaweicloud-sdk-antiddos/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-antiddos/requirements.txt +++ b/huaweicloud-sdk-antiddos/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-antiddos/setup.py b/huaweicloud-sdk-antiddos/setup.py index 4d38b81e11..3ee1a0582d 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-aom/requirements.txt b/huaweicloud-sdk-aom/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-aom/requirements.txt +++ b/huaweicloud-sdk-aom/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-aom/setup.py b/huaweicloud-sdk-aom/setup.py index 85aee2ebbb..16a4e75868 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-aos/requirements.txt b/huaweicloud-sdk-aos/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-aos/requirements.txt +++ b/huaweicloud-sdk-aos/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-aos/setup.py b/huaweicloud-sdk-aos/setup.py index 72006ec85b..35ac591146 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/__init__.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/__init__.py index 2a8822791f..e0c2e70acb 100644 --- a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/__init__.py +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/__init__.py @@ -195,6 +195,8 @@ from huaweicloudsdkapig.v2.model.create_member_group_response import CreateMemberGroupResponse from huaweicloudsdkapig.v2.model.create_or_delete_publish_record_for_api_v2_request import CreateOrDeletePublishRecordForApiV2Request from huaweicloudsdkapig.v2.model.create_or_delete_publish_record_for_api_v2_response import CreateOrDeletePublishRecordForApiV2Response +from huaweicloudsdkapig.v2.model.create_orchestration_request import CreateOrchestrationRequest +from huaweicloudsdkapig.v2.model.create_orchestration_response import CreateOrchestrationResponse from huaweicloudsdkapig.v2.model.create_order_request import CreateOrderRequest from huaweicloudsdkapig.v2.model.create_order_response import CreateOrderResponse from huaweicloudsdkapig.v2.model.create_plugin_request import CreatePluginRequest @@ -253,6 +255,8 @@ from huaweicloudsdkapig.v2.model.delete_instances_v2_response import DeleteInstancesV2Response from huaweicloudsdkapig.v2.model.delete_member_group_request import DeleteMemberGroupRequest from huaweicloudsdkapig.v2.model.delete_member_group_response import DeleteMemberGroupResponse +from huaweicloudsdkapig.v2.model.delete_orchestration_request import DeleteOrchestrationRequest +from huaweicloudsdkapig.v2.model.delete_orchestration_response import DeleteOrchestrationResponse from huaweicloudsdkapig.v2.model.delete_plugin_request import DeletePluginRequest from huaweicloudsdkapig.v2.model.delete_plugin_response import DeletePluginResponse from huaweicloudsdkapig.v2.model.delete_request_throttling_policy_v2_request import DeleteRequestThrottlingPolicyV2Request @@ -402,6 +406,8 @@ from huaweicloudsdkapig.v2.model.list_instance_features_response import ListInstanceFeaturesResponse from huaweicloudsdkapig.v2.model.list_instance_tags_request import ListInstanceTagsRequest from huaweicloudsdkapig.v2.model.list_instance_tags_response import ListInstanceTagsResponse +from huaweicloudsdkapig.v2.model.list_instances_by_tags_request import ListInstancesByTagsRequest +from huaweicloudsdkapig.v2.model.list_instances_by_tags_response import ListInstancesByTagsResponse from huaweicloudsdkapig.v2.model.list_instances_v2_request import ListInstancesV2Request from huaweicloudsdkapig.v2.model.list_instances_v2_response import ListInstancesV2Response from huaweicloudsdkapig.v2.model.list_lately_api_statistics_v2_request import ListLatelyApiStatisticsV2Request @@ -412,6 +418,10 @@ from huaweicloudsdkapig.v2.model.list_member_groups_response import ListMemberGroupsResponse from huaweicloudsdkapig.v2.model.list_metric_data_request import ListMetricDataRequest from huaweicloudsdkapig.v2.model.list_metric_data_response import ListMetricDataResponse +from huaweicloudsdkapig.v2.model.list_orchestration_attached_apis_request import ListOrchestrationAttachedApisRequest +from huaweicloudsdkapig.v2.model.list_orchestration_attached_apis_response import ListOrchestrationAttachedApisResponse +from huaweicloudsdkapig.v2.model.list_orchestrations_request import ListOrchestrationsRequest +from huaweicloudsdkapig.v2.model.list_orchestrations_response import ListOrchestrationsResponse from huaweicloudsdkapig.v2.model.list_plugin_attachable_apis_request import ListPluginAttachableApisRequest from huaweicloudsdkapig.v2.model.list_plugin_attachable_apis_response import ListPluginAttachableApisResponse from huaweicloudsdkapig.v2.model.list_plugin_attached_apis_request import ListPluginAttachedApisRequest @@ -449,9 +459,6 @@ from huaweicloudsdkapig.v2.model.micro_service_info_cce import MicroServiceInfoCCE from huaweicloudsdkapig.v2.model.micro_service_info_cce_base import MicroServiceInfoCCEBase from huaweicloudsdkapig.v2.model.micro_service_info_cce_create import MicroServiceInfoCCECreate -from huaweicloudsdkapig.v2.model.micro_service_info_cce_service import MicroServiceInfoCCEService -from huaweicloudsdkapig.v2.model.micro_service_info_cce_service_base import MicroServiceInfoCCEServiceBase -from huaweicloudsdkapig.v2.model.micro_service_info_cce_service_create import MicroServiceInfoCCEServiceCreate from huaweicloudsdkapig.v2.model.micro_service_info_cse import MicroServiceInfoCSE from huaweicloudsdkapig.v2.model.micro_service_info_cse_base import MicroServiceInfoCSEBase from huaweicloudsdkapig.v2.model.micro_service_info_cse_create import MicroServiceInfoCSECreate @@ -464,6 +471,13 @@ from huaweicloudsdkapig.v2.model.node_ips import NodeIps from huaweicloudsdkapig.v2.model.open_engress_eip_req import OpenEngressEipReq from huaweicloudsdkapig.v2.model.open_ingress_eip_req import OpenIngressEipReq +from huaweicloudsdkapig.v2.model.orchestration_api_info import OrchestrationApiInfo +from huaweicloudsdkapig.v2.model.orchestration_base_info import OrchestrationBaseInfo +from huaweicloudsdkapig.v2.model.orchestration_base_resp import OrchestrationBaseResp +from huaweicloudsdkapig.v2.model.orchestration_create import OrchestrationCreate +from huaweicloudsdkapig.v2.model.orchestration_map import OrchestrationMap +from huaweicloudsdkapig.v2.model.orchestration_map_param_range import OrchestrationMapParamRange +from huaweicloudsdkapig.v2.model.orchestration_mapped_param import OrchestrationMappedParam from huaweicloudsdkapig.v2.model.plugin_api_attach_info import PluginApiAttachInfo from huaweicloudsdkapig.v2.model.plugin_api_info import PluginApiInfo from huaweicloudsdkapig.v2.model.plugin_create import PluginCreate @@ -525,10 +539,14 @@ from huaweicloudsdkapig.v2.model.show_details_of_instance_v2_response import ShowDetailsOfInstanceV2Response from huaweicloudsdkapig.v2.model.show_details_of_member_group_request import ShowDetailsOfMemberGroupRequest from huaweicloudsdkapig.v2.model.show_details_of_member_group_response import ShowDetailsOfMemberGroupResponse +from huaweicloudsdkapig.v2.model.show_details_of_orchestration_request import ShowDetailsOfOrchestrationRequest +from huaweicloudsdkapig.v2.model.show_details_of_orchestration_response import ShowDetailsOfOrchestrationResponse from huaweicloudsdkapig.v2.model.show_details_of_request_throttling_policy_v2_request import ShowDetailsOfRequestThrottlingPolicyV2Request from huaweicloudsdkapig.v2.model.show_details_of_request_throttling_policy_v2_response import ShowDetailsOfRequestThrottlingPolicyV2Response from huaweicloudsdkapig.v2.model.show_details_of_vpc_channel_v2_request import ShowDetailsOfVpcChannelV2Request from huaweicloudsdkapig.v2.model.show_details_of_vpc_channel_v2_response import ShowDetailsOfVpcChannelV2Response +from huaweicloudsdkapig.v2.model.show_instances_num_by_tags_request import ShowInstancesNumByTagsRequest +from huaweicloudsdkapig.v2.model.show_instances_num_by_tags_response import ShowInstancesNumByTagsResponse from huaweicloudsdkapig.v2.model.show_plugin_request import ShowPluginRequest from huaweicloudsdkapig.v2.model.show_plugin_response import ShowPluginResponse from huaweicloudsdkapig.v2.model.show_restriction_of_instance_v2_request import ShowRestrictionOfInstanceV2Request @@ -557,6 +575,9 @@ from huaweicloudsdkapig.v2.model.throttles_info import ThrottlesInfo from huaweicloudsdkapig.v2.model.tms_key_value import TmsKeyValue from huaweicloudsdkapig.v2.model.tms_key_values import TmsKeyValues +from huaweicloudsdkapig.v2.model.tms_matches_key_value import TmsMatchesKeyValue +from huaweicloudsdkapig.v2.model.tms_query_req import TmsQueryReq +from huaweicloudsdkapig.v2.model.tms_resource_resp import TmsResourceResp from huaweicloudsdkapig.v2.model.tms_update_public_req import TmsUpdatePublicReq from huaweicloudsdkapig.v2.model.unbind_api_for_acl import UnbindApiForAcl from huaweicloudsdkapig.v2.model.update_acl_strategy_v2_request import UpdateAclStrategyV2Request @@ -597,6 +618,8 @@ from huaweicloudsdkapig.v2.model.update_instance_v2_response import UpdateInstanceV2Response from huaweicloudsdkapig.v2.model.update_member_group_request import UpdateMemberGroupRequest from huaweicloudsdkapig.v2.model.update_member_group_response import UpdateMemberGroupResponse +from huaweicloudsdkapig.v2.model.update_orchestration_request import UpdateOrchestrationRequest +from huaweicloudsdkapig.v2.model.update_orchestration_response import UpdateOrchestrationResponse from huaweicloudsdkapig.v2.model.update_plugin_request import UpdatePluginRequest from huaweicloudsdkapig.v2.model.update_plugin_response import UpdatePluginResponse from huaweicloudsdkapig.v2.model.update_request_throttling_policy_v2_request import UpdateRequestThrottlingPolicyV2Request diff --git a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/apig_async_client.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/apig_async_client.py index a9caa4bd34..5ec552cbcb 100644 --- a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/apig_async_client.py +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/apig_async_client.py @@ -169,7 +169,7 @@ def _add_custom_ingress_port_http_info(self, request): def add_eip_v2_async(self, request): """实例更新或绑定EIP - 实例更新或绑定EIP + 实例更新或绑定EIP(仅当实例为LVS类型时支持) Please refer to HUAWEI cloud API Explorer for details. @@ -1693,6 +1693,73 @@ def _create_instance_v2_http_info(self, request): return http_info + def create_orchestration_async(self, request): + """创建编排规则 + + 创建编排规则 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for CreateOrchestration + :type request: :class:`huaweicloudsdkapig.v2.CreateOrchestrationRequest` + :rtype: :class:`huaweicloudsdkapig.v2.CreateOrchestrationResponse` + """ + http_info = self._create_orchestration_http_info(request) + return self._call_api(**http_info) + + def create_orchestration_async_invoker(self, request): + http_info = self._create_orchestration_http_info(request) + return AsyncInvoker(self, http_info) + + def _create_orchestration_http_info(self, request): + http_info = { + "method": "POST", + "resource_path": "/v2/{project_id}/apigw/instances/{instance_id}/orchestrations", + "request_type": request.__class__.__name__, + "response_type": "CreateOrchestrationResponse" + } + + 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;charset=UTF-8']) + + 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_order_async(self, request): """创建专享版实例(包周期) @@ -2990,6 +3057,73 @@ def _delete_instances_v2_http_info(self, request): return http_info + def delete_orchestration_async(self, request): + """删除编排规则 + + 删除编排规则 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for DeleteOrchestration + :type request: :class:`huaweicloudsdkapig.v2.DeleteOrchestrationRequest` + :rtype: :class:`huaweicloudsdkapig.v2.DeleteOrchestrationResponse` + """ + http_info = self._delete_orchestration_http_info(request) + return self._call_api(**http_info) + + def delete_orchestration_async_invoker(self, request): + http_info = self._delete_orchestration_http_info(request) + return AsyncInvoker(self, http_info) + + def _delete_orchestration_http_info(self, request): + http_info = { + "method": "DELETE", + "resource_path": "/v2/{project_id}/apigw/instances/{instance_id}/orchestrations/{orchestration_id}", + "request_type": request.__class__.__name__, + "response_type": "DeleteOrchestrationResponse" + } + + 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 'orchestration_id' in local_var_params: + path_params['orchestration_id'] = local_var_params['orchestration_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 = [] + + 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_plugin_async(self, request): """删除插件 @@ -3680,7 +3814,7 @@ def _disassociate_signature_key_v2_http_info(self, request): def export_api_definitions_async_async(self, request): """异步导出API - 导出分组下API的定义信息。导出文件内容符合swagger标准规范,API网关自定义扩展字段请参考《API网关开发指南》的“导入导出API:扩展定义”章节。 + 导出分组下API的定义信息。导出文件内容符合swagger标准规范,API网关自定义扩展字段请参考《API网关用户指南》的“导入导出API:扩展定义”章节。 Please refer to HUAWEI cloud API Explorer for details. @@ -3749,7 +3883,7 @@ def _export_api_definitions_async_http_info(self, request): def import_api_definitions_async_async(self, request): """异步导入API - 导入API。导入文件内容需要符合swagger标准规范,API网关自定义扩展字段请参考《API网关开发指南》的“导入导出API:扩展定义”章节。 + 导入API。导入文件内容需要符合swagger标准规范,API网关自定义扩展字段请参考《API网关用户指南》的“导入导出API:扩展定义”章节。 Please refer to HUAWEI cloud API Explorer for details. @@ -5702,6 +5836,75 @@ def _list_instance_tags_http_info(self, request): return http_info + def list_instances_by_tags_async(self, request): + """通过标签查询实例列表 + + 通过标签查询实例列表 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for ListInstancesByTags + :type request: :class:`huaweicloudsdkapig.v2.ListInstancesByTagsRequest` + :rtype: :class:`huaweicloudsdkapig.v2.ListInstancesByTagsResponse` + """ + http_info = self._list_instances_by_tags_http_info(request) + return self._call_api(**http_info) + + def list_instances_by_tags_async_invoker(self, request): + http_info = self._list_instances_by_tags_http_info(request) + return AsyncInvoker(self, http_info) + + def _list_instances_by_tags_http_info(self, request): + http_info = { + "method": "POST", + "resource_path": "/v2/{project_id}/apigw/resource-instances/filter", + "request_type": request.__class__.__name__, + "response_type": "ListInstancesByTagsResponse" + } + + 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'])) + + 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;charset=UTF-8']) + + 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_instances_v2_async(self, request): """查询专享版实例列表 @@ -5990,6 +6193,159 @@ def _list_metric_data_http_info(self, request): return http_info + def list_orchestration_attached_apis_async(self, request): + """查询编排规则绑定的API + + 查询指定插件下绑定的API信息 + - 用于查询指定插件下已经绑定的API列表信息 + - 支持分页返回 + - 支持API名称模糊查询 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for ListOrchestrationAttachedApis + :type request: :class:`huaweicloudsdkapig.v2.ListOrchestrationAttachedApisRequest` + :rtype: :class:`huaweicloudsdkapig.v2.ListOrchestrationAttachedApisResponse` + """ + http_info = self._list_orchestration_attached_apis_http_info(request) + return self._call_api(**http_info) + + def list_orchestration_attached_apis_async_invoker(self, request): + http_info = self._list_orchestration_attached_apis_http_info(request) + return AsyncInvoker(self, http_info) + + def _list_orchestration_attached_apis_http_info(self, request): + http_info = { + "method": "GET", + "resource_path": "/v2/{project_id}/apigw/instances/{instance_id}/orchestrations/{orchestration_id}/attached-apis", + "request_type": request.__class__.__name__, + "response_type": "ListOrchestrationAttachedApisResponse" + } + + 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 'orchestration_id' in local_var_params: + path_params['orchestration_id'] = local_var_params['orchestration_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 'api_name' in local_var_params: + query_params.append(('api_name', local_var_params['api_name'])) + if 'api_id' in local_var_params: + query_params.append(('api_id', local_var_params['api_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 = [] + + 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_orchestrations_async(self, request): + """查看编排规则列表 + + 查看编排规则列表 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for ListOrchestrations + :type request: :class:`huaweicloudsdkapig.v2.ListOrchestrationsRequest` + :rtype: :class:`huaweicloudsdkapig.v2.ListOrchestrationsResponse` + """ + http_info = self._list_orchestrations_http_info(request) + return self._call_api(**http_info) + + def list_orchestrations_async_invoker(self, request): + http_info = self._list_orchestrations_http_info(request) + return AsyncInvoker(self, http_info) + + def _list_orchestrations_http_info(self, request): + http_info = { + "method": "GET", + "resource_path": "/v2/{project_id}/apigw/instances/{instance_id}/orchestrations", + "request_type": request.__class__.__name__, + "response_type": "ListOrchestrationsResponse" + } + + 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 '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 'orchestration_name' in local_var_params: + query_params.append(('orchestration_name', local_var_params['orchestration_name'])) + if 'precise_search' in local_var_params: + query_params.append(('precise_search', local_var_params['precise_search'])) + if 'orchestration_id' in local_var_params: + query_params.append(('orchestration_id', local_var_params['orchestration_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 = [] + + 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_plugin_attachable_apis_async(self, request): """查询可绑定当前插件的API @@ -7895,6 +8251,73 @@ def _show_details_of_instance_v2_http_info(self, request): return http_info + def show_details_of_orchestration_async(self, request): + """查询编排规则详情 + + 查询编排规则详情 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for ShowDetailsOfOrchestration + :type request: :class:`huaweicloudsdkapig.v2.ShowDetailsOfOrchestrationRequest` + :rtype: :class:`huaweicloudsdkapig.v2.ShowDetailsOfOrchestrationResponse` + """ + http_info = self._show_details_of_orchestration_http_info(request) + return self._call_api(**http_info) + + def show_details_of_orchestration_async_invoker(self, request): + http_info = self._show_details_of_orchestration_http_info(request) + return AsyncInvoker(self, http_info) + + def _show_details_of_orchestration_http_info(self, request): + http_info = { + "method": "GET", + "resource_path": "/v2/{project_id}/apigw/instances/{instance_id}/orchestrations/{orchestration_id}", + "request_type": request.__class__.__name__, + "response_type": "ShowDetailsOfOrchestrationResponse" + } + + 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 'orchestration_id' in local_var_params: + path_params['orchestration_id'] = local_var_params['orchestration_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 = [] + + 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_details_of_request_throttling_policy_v2_async(self, request): """查看流控策略详情 @@ -7962,6 +8385,71 @@ def _show_details_of_request_throttling_policy_v2_http_info(self, request): return http_info + def show_instances_num_by_tags_async(self, request): + """查询包含指定标签的实例数量 + + 查询包含指定标签的实例数量。 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for ShowInstancesNumByTags + :type request: :class:`huaweicloudsdkapig.v2.ShowInstancesNumByTagsRequest` + :rtype: :class:`huaweicloudsdkapig.v2.ShowInstancesNumByTagsResponse` + """ + http_info = self._show_instances_num_by_tags_http_info(request) + return self._call_api(**http_info) + + def show_instances_num_by_tags_async_invoker(self, request): + http_info = self._show_instances_num_by_tags_http_info(request) + return AsyncInvoker(self, http_info) + + def _show_instances_num_by_tags_http_info(self, request): + http_info = { + "method": "POST", + "resource_path": "/v2/{project_id}/apigw/resource-instances/count", + "request_type": request.__class__.__name__, + "response_type": "ShowInstancesNumByTagsResponse" + } + + 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 = {} + + 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;charset=UTF-8']) + + 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_plugin_async(self, request): """查询插件详情 @@ -8924,6 +9412,75 @@ def _update_instance_v2_http_info(self, request): return http_info + def update_orchestration_async(self, request): + """更新编排规则 + + 更新编排规则 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for UpdateOrchestration + :type request: :class:`huaweicloudsdkapig.v2.UpdateOrchestrationRequest` + :rtype: :class:`huaweicloudsdkapig.v2.UpdateOrchestrationResponse` + """ + http_info = self._update_orchestration_http_info(request) + return self._call_api(**http_info) + + def update_orchestration_async_invoker(self, request): + http_info = self._update_orchestration_http_info(request) + return AsyncInvoker(self, http_info) + + def _update_orchestration_http_info(self, request): + http_info = { + "method": "PUT", + "resource_path": "/v2/{project_id}/apigw/instances/{instance_id}/orchestrations/{orchestration_id}", + "request_type": request.__class__.__name__, + "response_type": "UpdateOrchestrationResponse" + } + + 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 'orchestration_id' in local_var_params: + path_params['orchestration_id'] = local_var_params['orchestration_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;charset=UTF-8']) + + 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_plugin_async(self, request): """修改插件 @@ -12370,7 +12927,7 @@ def _list_apps_binded_to_api_v2_http_info(self, request): def export_api_definitions_v2_async(self, request): """导出API - 导出分组下API的定义信息。导出文件内容符合swagger标准规范,API网关自定义扩展字段请参考《API网关开发指南》的“导入导出API:扩展定义”章节。 + 导出分组下API的定义信息。导出文件内容符合swagger标准规范,API网关自定义扩展字段请参考《API网关用户指南》的“导入导出API:扩展定义”章节。 Please refer to HUAWEI cloud API Explorer for details. @@ -12439,7 +12996,7 @@ def _export_api_definitions_v2_http_info(self, request): def import_api_definitions_v2_async(self, request): """导入API - 导入API。导入文件内容需要符合swagger标准规范,API网关自定义扩展字段请参考《API网关开发指南》的“导入导出API:扩展定义”章节。 + 导入API。导入文件内容需要符合swagger标准规范,API网关自定义扩展字段请参考《API网关用户指南》的“导入导出API:扩展定义”章节。 Please refer to HUAWEI cloud API Explorer for details. @@ -13208,7 +13765,7 @@ def adding_backend_instances_v2_async(self, request): 为指定的VPC通道添加后端实例 - 若指定地址的后端实例已存在,则更新对应后端实例信息。若请求体中包含多个重复地址的后端实例定义,则使用第一个定义。 + 如果指定地址的后端实例已存在,则更新对应后端实例信息。如果请求体中包含多个重复地址的后端实例定义,则使用第一个定义。 Please refer to HUAWEI cloud API Explorer for details. @@ -13417,7 +13974,7 @@ def create_member_group_async(self, request): 在APIG中创建VPC通道后端服务器组,VPC通道后端实例可以选择是否关联后端实例服务器组,以便管理后端服务器节点。 - 若指定名称的后端服务器组已存在,则更新对应后端服务器组信息。若请求体中包含多个重复名称的后端服务器定义,则使用第一个定义。 + 如果指定名称的后端服务器组已存在,则更新对应后端服务器组信息。如果请求体中包含多个重复名称的后端服务器定义,则使用第一个定义。 Please refer to HUAWEI cloud API Explorer for details. @@ -14136,7 +14693,7 @@ def _show_details_of_vpc_channel_v2_http_info(self, request): def update_backend_instances_v2_async(self, request): """更新后端实例 - 更新指定的VPC通道的后端实例。更新时,使用传入的请求参数对对应云服务组的后端实例进行全量覆盖修改。若未指定修改的云服务器组,则进行全量覆盖。 + 更新指定的VPC通道的后端实例。更新时,使用传入的请求参数对对应云服务组的后端实例进行全量覆盖修改。如果未指定修改的云服务器组,则进行全量覆盖。 Please refer to HUAWEI cloud API Explorer for details. @@ -14347,9 +14904,9 @@ def update_vpc_channel_v2_async(self, request): 更新指定VPC通道的参数 - 使用传入的后端实例列表对VPC通道进行全量覆盖,若后端实例列表为空,则会全量删除已有的后端实例; + 使用传入的后端实例列表对VPC通道进行全量覆盖,如果后端实例列表为空,则会全量删除已有的后端实例; - 使用传入的后端服务器组列表对VPC通道进行全量覆盖,若后端服务器组列表为空,则会全量删除已有的服务器组; + 使用传入的后端服务器组列表对VPC通道进行全量覆盖,如果后端服务器组列表为空,则会全量删除已有的服务器组; Please refer to HUAWEI cloud API Explorer for details. diff --git a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/apig_client.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/apig_client.py index 60122db033..650af8ec6c 100644 --- a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/apig_client.py +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/apig_client.py @@ -169,7 +169,7 @@ def _add_custom_ingress_port_http_info(cls, request): def add_eip_v2(self, request): """实例更新或绑定EIP - 实例更新或绑定EIP + 实例更新或绑定EIP(仅当实例为LVS类型时支持) Please refer to HUAWEI cloud API Explorer for details. @@ -1693,6 +1693,73 @@ def _create_instance_v2_http_info(cls, request): return http_info + def create_orchestration(self, request): + """创建编排规则 + + 创建编排规则 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for CreateOrchestration + :type request: :class:`huaweicloudsdkapig.v2.CreateOrchestrationRequest` + :rtype: :class:`huaweicloudsdkapig.v2.CreateOrchestrationResponse` + """ + http_info = self._create_orchestration_http_info(request) + return self._call_api(**http_info) + + def create_orchestration_invoker(self, request): + http_info = self._create_orchestration_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _create_orchestration_http_info(cls, request): + http_info = { + "method": "POST", + "resource_path": "/v2/{project_id}/apigw/instances/{instance_id}/orchestrations", + "request_type": request.__class__.__name__, + "response_type": "CreateOrchestrationResponse" + } + + 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;charset=UTF-8']) + + 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_order(self, request): """创建专享版实例(包周期) @@ -2990,6 +3057,73 @@ def _delete_instances_v2_http_info(cls, request): return http_info + def delete_orchestration(self, request): + """删除编排规则 + + 删除编排规则 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for DeleteOrchestration + :type request: :class:`huaweicloudsdkapig.v2.DeleteOrchestrationRequest` + :rtype: :class:`huaweicloudsdkapig.v2.DeleteOrchestrationResponse` + """ + http_info = self._delete_orchestration_http_info(request) + return self._call_api(**http_info) + + def delete_orchestration_invoker(self, request): + http_info = self._delete_orchestration_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _delete_orchestration_http_info(cls, request): + http_info = { + "method": "DELETE", + "resource_path": "/v2/{project_id}/apigw/instances/{instance_id}/orchestrations/{orchestration_id}", + "request_type": request.__class__.__name__, + "response_type": "DeleteOrchestrationResponse" + } + + 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 'orchestration_id' in local_var_params: + path_params['orchestration_id'] = local_var_params['orchestration_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 = [] + + 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_plugin(self, request): """删除插件 @@ -3680,7 +3814,7 @@ def _disassociate_signature_key_v2_http_info(cls, request): def export_api_definitions_async(self, request): """异步导出API - 导出分组下API的定义信息。导出文件内容符合swagger标准规范,API网关自定义扩展字段请参考《API网关开发指南》的“导入导出API:扩展定义”章节。 + 导出分组下API的定义信息。导出文件内容符合swagger标准规范,API网关自定义扩展字段请参考《API网关用户指南》的“导入导出API:扩展定义”章节。 Please refer to HUAWEI cloud API Explorer for details. @@ -3749,7 +3883,7 @@ def _export_api_definitions_async_http_info(cls, request): def import_api_definitions_async(self, request): """异步导入API - 导入API。导入文件内容需要符合swagger标准规范,API网关自定义扩展字段请参考《API网关开发指南》的“导入导出API:扩展定义”章节。 + 导入API。导入文件内容需要符合swagger标准规范,API网关自定义扩展字段请参考《API网关用户指南》的“导入导出API:扩展定义”章节。 Please refer to HUAWEI cloud API Explorer for details. @@ -5702,6 +5836,75 @@ def _list_instance_tags_http_info(cls, request): return http_info + def list_instances_by_tags(self, request): + """通过标签查询实例列表 + + 通过标签查询实例列表 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for ListInstancesByTags + :type request: :class:`huaweicloudsdkapig.v2.ListInstancesByTagsRequest` + :rtype: :class:`huaweicloudsdkapig.v2.ListInstancesByTagsResponse` + """ + http_info = self._list_instances_by_tags_http_info(request) + return self._call_api(**http_info) + + def list_instances_by_tags_invoker(self, request): + http_info = self._list_instances_by_tags_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _list_instances_by_tags_http_info(cls, request): + http_info = { + "method": "POST", + "resource_path": "/v2/{project_id}/apigw/resource-instances/filter", + "request_type": request.__class__.__name__, + "response_type": "ListInstancesByTagsResponse" + } + + 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'])) + + 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;charset=UTF-8']) + + 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_instances_v2(self, request): """查询专享版实例列表 @@ -5990,6 +6193,159 @@ def _list_metric_data_http_info(cls, request): return http_info + def list_orchestration_attached_apis(self, request): + """查询编排规则绑定的API + + 查询指定插件下绑定的API信息 + - 用于查询指定插件下已经绑定的API列表信息 + - 支持分页返回 + - 支持API名称模糊查询 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for ListOrchestrationAttachedApis + :type request: :class:`huaweicloudsdkapig.v2.ListOrchestrationAttachedApisRequest` + :rtype: :class:`huaweicloudsdkapig.v2.ListOrchestrationAttachedApisResponse` + """ + http_info = self._list_orchestration_attached_apis_http_info(request) + return self._call_api(**http_info) + + def list_orchestration_attached_apis_invoker(self, request): + http_info = self._list_orchestration_attached_apis_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _list_orchestration_attached_apis_http_info(cls, request): + http_info = { + "method": "GET", + "resource_path": "/v2/{project_id}/apigw/instances/{instance_id}/orchestrations/{orchestration_id}/attached-apis", + "request_type": request.__class__.__name__, + "response_type": "ListOrchestrationAttachedApisResponse" + } + + 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 'orchestration_id' in local_var_params: + path_params['orchestration_id'] = local_var_params['orchestration_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 'api_name' in local_var_params: + query_params.append(('api_name', local_var_params['api_name'])) + if 'api_id' in local_var_params: + query_params.append(('api_id', local_var_params['api_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 = [] + + 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_orchestrations(self, request): + """查看编排规则列表 + + 查看编排规则列表 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for ListOrchestrations + :type request: :class:`huaweicloudsdkapig.v2.ListOrchestrationsRequest` + :rtype: :class:`huaweicloudsdkapig.v2.ListOrchestrationsResponse` + """ + http_info = self._list_orchestrations_http_info(request) + return self._call_api(**http_info) + + def list_orchestrations_invoker(self, request): + http_info = self._list_orchestrations_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _list_orchestrations_http_info(cls, request): + http_info = { + "method": "GET", + "resource_path": "/v2/{project_id}/apigw/instances/{instance_id}/orchestrations", + "request_type": request.__class__.__name__, + "response_type": "ListOrchestrationsResponse" + } + + 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 '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 'orchestration_name' in local_var_params: + query_params.append(('orchestration_name', local_var_params['orchestration_name'])) + if 'precise_search' in local_var_params: + query_params.append(('precise_search', local_var_params['precise_search'])) + if 'orchestration_id' in local_var_params: + query_params.append(('orchestration_id', local_var_params['orchestration_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 = [] + + 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_plugin_attachable_apis(self, request): """查询可绑定当前插件的API @@ -7895,6 +8251,73 @@ def _show_details_of_instance_v2_http_info(cls, request): return http_info + def show_details_of_orchestration(self, request): + """查询编排规则详情 + + 查询编排规则详情 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for ShowDetailsOfOrchestration + :type request: :class:`huaweicloudsdkapig.v2.ShowDetailsOfOrchestrationRequest` + :rtype: :class:`huaweicloudsdkapig.v2.ShowDetailsOfOrchestrationResponse` + """ + http_info = self._show_details_of_orchestration_http_info(request) + return self._call_api(**http_info) + + def show_details_of_orchestration_invoker(self, request): + http_info = self._show_details_of_orchestration_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _show_details_of_orchestration_http_info(cls, request): + http_info = { + "method": "GET", + "resource_path": "/v2/{project_id}/apigw/instances/{instance_id}/orchestrations/{orchestration_id}", + "request_type": request.__class__.__name__, + "response_type": "ShowDetailsOfOrchestrationResponse" + } + + 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 'orchestration_id' in local_var_params: + path_params['orchestration_id'] = local_var_params['orchestration_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 = [] + + 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_details_of_request_throttling_policy_v2(self, request): """查看流控策略详情 @@ -7962,6 +8385,71 @@ def _show_details_of_request_throttling_policy_v2_http_info(cls, request): return http_info + def show_instances_num_by_tags(self, request): + """查询包含指定标签的实例数量 + + 查询包含指定标签的实例数量。 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for ShowInstancesNumByTags + :type request: :class:`huaweicloudsdkapig.v2.ShowInstancesNumByTagsRequest` + :rtype: :class:`huaweicloudsdkapig.v2.ShowInstancesNumByTagsResponse` + """ + http_info = self._show_instances_num_by_tags_http_info(request) + return self._call_api(**http_info) + + def show_instances_num_by_tags_invoker(self, request): + http_info = self._show_instances_num_by_tags_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _show_instances_num_by_tags_http_info(cls, request): + http_info = { + "method": "POST", + "resource_path": "/v2/{project_id}/apigw/resource-instances/count", + "request_type": request.__class__.__name__, + "response_type": "ShowInstancesNumByTagsResponse" + } + + 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 = {} + + 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;charset=UTF-8']) + + 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_plugin(self, request): """查询插件详情 @@ -8924,6 +9412,75 @@ def _update_instance_v2_http_info(cls, request): return http_info + def update_orchestration(self, request): + """更新编排规则 + + 更新编排规则 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for UpdateOrchestration + :type request: :class:`huaweicloudsdkapig.v2.UpdateOrchestrationRequest` + :rtype: :class:`huaweicloudsdkapig.v2.UpdateOrchestrationResponse` + """ + http_info = self._update_orchestration_http_info(request) + return self._call_api(**http_info) + + def update_orchestration_invoker(self, request): + http_info = self._update_orchestration_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _update_orchestration_http_info(cls, request): + http_info = { + "method": "PUT", + "resource_path": "/v2/{project_id}/apigw/instances/{instance_id}/orchestrations/{orchestration_id}", + "request_type": request.__class__.__name__, + "response_type": "UpdateOrchestrationResponse" + } + + 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 'orchestration_id' in local_var_params: + path_params['orchestration_id'] = local_var_params['orchestration_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;charset=UTF-8']) + + 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_plugin(self, request): """修改插件 @@ -12370,7 +12927,7 @@ def _list_apps_binded_to_api_v2_http_info(cls, request): def export_api_definitions_v2(self, request): """导出API - 导出分组下API的定义信息。导出文件内容符合swagger标准规范,API网关自定义扩展字段请参考《API网关开发指南》的“导入导出API:扩展定义”章节。 + 导出分组下API的定义信息。导出文件内容符合swagger标准规范,API网关自定义扩展字段请参考《API网关用户指南》的“导入导出API:扩展定义”章节。 Please refer to HUAWEI cloud API Explorer for details. @@ -12439,7 +12996,7 @@ def _export_api_definitions_v2_http_info(cls, request): def import_api_definitions_v2(self, request): """导入API - 导入API。导入文件内容需要符合swagger标准规范,API网关自定义扩展字段请参考《API网关开发指南》的“导入导出API:扩展定义”章节。 + 导入API。导入文件内容需要符合swagger标准规范,API网关自定义扩展字段请参考《API网关用户指南》的“导入导出API:扩展定义”章节。 Please refer to HUAWEI cloud API Explorer for details. @@ -13208,7 +13765,7 @@ def adding_backend_instances_v2(self, request): 为指定的VPC通道添加后端实例 - 若指定地址的后端实例已存在,则更新对应后端实例信息。若请求体中包含多个重复地址的后端实例定义,则使用第一个定义。 + 如果指定地址的后端实例已存在,则更新对应后端实例信息。如果请求体中包含多个重复地址的后端实例定义,则使用第一个定义。 Please refer to HUAWEI cloud API Explorer for details. @@ -13417,7 +13974,7 @@ def create_member_group(self, request): 在APIG中创建VPC通道后端服务器组,VPC通道后端实例可以选择是否关联后端实例服务器组,以便管理后端服务器节点。 - 若指定名称的后端服务器组已存在,则更新对应后端服务器组信息。若请求体中包含多个重复名称的后端服务器定义,则使用第一个定义。 + 如果指定名称的后端服务器组已存在,则更新对应后端服务器组信息。如果请求体中包含多个重复名称的后端服务器定义,则使用第一个定义。 Please refer to HUAWEI cloud API Explorer for details. @@ -14136,7 +14693,7 @@ def _show_details_of_vpc_channel_v2_http_info(cls, request): def update_backend_instances_v2(self, request): """更新后端实例 - 更新指定的VPC通道的后端实例。更新时,使用传入的请求参数对对应云服务组的后端实例进行全量覆盖修改。若未指定修改的云服务器组,则进行全量覆盖。 + 更新指定的VPC通道的后端实例。更新时,使用传入的请求参数对对应云服务组的后端实例进行全量覆盖修改。如果未指定修改的云服务器组,则进行全量覆盖。 Please refer to HUAWEI cloud API Explorer for details. @@ -14347,9 +14904,9 @@ def update_vpc_channel_v2(self, request): 更新指定VPC通道的参数 - 使用传入的后端实例列表对VPC通道进行全量覆盖,若后端实例列表为空,则会全量删除已有的后端实例; + 使用传入的后端实例列表对VPC通道进行全量覆盖,如果后端实例列表为空,则会全量删除已有的后端实例; - 使用传入的后端服务器组列表对VPC通道进行全量覆盖,若后端服务器组列表为空,则会全量删除已有的服务器组; + 使用传入的后端服务器组列表对VPC通道进行全量覆盖,如果后端服务器组列表为空,则会全量删除已有的服务器组; Please refer to HUAWEI cloud API Explorer for details. diff --git a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/__init__.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/__init__.py index f9fedb93dd..a8a8d1ac92 100644 --- a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/__init__.py +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/__init__.py @@ -193,6 +193,8 @@ from huaweicloudsdkapig.v2.model.create_member_group_response import CreateMemberGroupResponse from huaweicloudsdkapig.v2.model.create_or_delete_publish_record_for_api_v2_request import CreateOrDeletePublishRecordForApiV2Request from huaweicloudsdkapig.v2.model.create_or_delete_publish_record_for_api_v2_response import CreateOrDeletePublishRecordForApiV2Response +from huaweicloudsdkapig.v2.model.create_orchestration_request import CreateOrchestrationRequest +from huaweicloudsdkapig.v2.model.create_orchestration_response import CreateOrchestrationResponse from huaweicloudsdkapig.v2.model.create_order_request import CreateOrderRequest from huaweicloudsdkapig.v2.model.create_order_response import CreateOrderResponse from huaweicloudsdkapig.v2.model.create_plugin_request import CreatePluginRequest @@ -251,6 +253,8 @@ from huaweicloudsdkapig.v2.model.delete_instances_v2_response import DeleteInstancesV2Response from huaweicloudsdkapig.v2.model.delete_member_group_request import DeleteMemberGroupRequest from huaweicloudsdkapig.v2.model.delete_member_group_response import DeleteMemberGroupResponse +from huaweicloudsdkapig.v2.model.delete_orchestration_request import DeleteOrchestrationRequest +from huaweicloudsdkapig.v2.model.delete_orchestration_response import DeleteOrchestrationResponse from huaweicloudsdkapig.v2.model.delete_plugin_request import DeletePluginRequest from huaweicloudsdkapig.v2.model.delete_plugin_response import DeletePluginResponse from huaweicloudsdkapig.v2.model.delete_request_throttling_policy_v2_request import DeleteRequestThrottlingPolicyV2Request @@ -400,6 +404,8 @@ from huaweicloudsdkapig.v2.model.list_instance_features_response import ListInstanceFeaturesResponse from huaweicloudsdkapig.v2.model.list_instance_tags_request import ListInstanceTagsRequest from huaweicloudsdkapig.v2.model.list_instance_tags_response import ListInstanceTagsResponse +from huaweicloudsdkapig.v2.model.list_instances_by_tags_request import ListInstancesByTagsRequest +from huaweicloudsdkapig.v2.model.list_instances_by_tags_response import ListInstancesByTagsResponse from huaweicloudsdkapig.v2.model.list_instances_v2_request import ListInstancesV2Request from huaweicloudsdkapig.v2.model.list_instances_v2_response import ListInstancesV2Response from huaweicloudsdkapig.v2.model.list_lately_api_statistics_v2_request import ListLatelyApiStatisticsV2Request @@ -410,6 +416,10 @@ from huaweicloudsdkapig.v2.model.list_member_groups_response import ListMemberGroupsResponse from huaweicloudsdkapig.v2.model.list_metric_data_request import ListMetricDataRequest from huaweicloudsdkapig.v2.model.list_metric_data_response import ListMetricDataResponse +from huaweicloudsdkapig.v2.model.list_orchestration_attached_apis_request import ListOrchestrationAttachedApisRequest +from huaweicloudsdkapig.v2.model.list_orchestration_attached_apis_response import ListOrchestrationAttachedApisResponse +from huaweicloudsdkapig.v2.model.list_orchestrations_request import ListOrchestrationsRequest +from huaweicloudsdkapig.v2.model.list_orchestrations_response import ListOrchestrationsResponse from huaweicloudsdkapig.v2.model.list_plugin_attachable_apis_request import ListPluginAttachableApisRequest from huaweicloudsdkapig.v2.model.list_plugin_attachable_apis_response import ListPluginAttachableApisResponse from huaweicloudsdkapig.v2.model.list_plugin_attached_apis_request import ListPluginAttachedApisRequest @@ -447,9 +457,6 @@ from huaweicloudsdkapig.v2.model.micro_service_info_cce import MicroServiceInfoCCE from huaweicloudsdkapig.v2.model.micro_service_info_cce_base import MicroServiceInfoCCEBase from huaweicloudsdkapig.v2.model.micro_service_info_cce_create import MicroServiceInfoCCECreate -from huaweicloudsdkapig.v2.model.micro_service_info_cce_service import MicroServiceInfoCCEService -from huaweicloudsdkapig.v2.model.micro_service_info_cce_service_base import MicroServiceInfoCCEServiceBase -from huaweicloudsdkapig.v2.model.micro_service_info_cce_service_create import MicroServiceInfoCCEServiceCreate from huaweicloudsdkapig.v2.model.micro_service_info_cse import MicroServiceInfoCSE from huaweicloudsdkapig.v2.model.micro_service_info_cse_base import MicroServiceInfoCSEBase from huaweicloudsdkapig.v2.model.micro_service_info_cse_create import MicroServiceInfoCSECreate @@ -462,6 +469,13 @@ from huaweicloudsdkapig.v2.model.node_ips import NodeIps from huaweicloudsdkapig.v2.model.open_engress_eip_req import OpenEngressEipReq from huaweicloudsdkapig.v2.model.open_ingress_eip_req import OpenIngressEipReq +from huaweicloudsdkapig.v2.model.orchestration_api_info import OrchestrationApiInfo +from huaweicloudsdkapig.v2.model.orchestration_base_info import OrchestrationBaseInfo +from huaweicloudsdkapig.v2.model.orchestration_base_resp import OrchestrationBaseResp +from huaweicloudsdkapig.v2.model.orchestration_create import OrchestrationCreate +from huaweicloudsdkapig.v2.model.orchestration_map import OrchestrationMap +from huaweicloudsdkapig.v2.model.orchestration_map_param_range import OrchestrationMapParamRange +from huaweicloudsdkapig.v2.model.orchestration_mapped_param import OrchestrationMappedParam from huaweicloudsdkapig.v2.model.plugin_api_attach_info import PluginApiAttachInfo from huaweicloudsdkapig.v2.model.plugin_api_info import PluginApiInfo from huaweicloudsdkapig.v2.model.plugin_create import PluginCreate @@ -523,10 +537,14 @@ from huaweicloudsdkapig.v2.model.show_details_of_instance_v2_response import ShowDetailsOfInstanceV2Response from huaweicloudsdkapig.v2.model.show_details_of_member_group_request import ShowDetailsOfMemberGroupRequest from huaweicloudsdkapig.v2.model.show_details_of_member_group_response import ShowDetailsOfMemberGroupResponse +from huaweicloudsdkapig.v2.model.show_details_of_orchestration_request import ShowDetailsOfOrchestrationRequest +from huaweicloudsdkapig.v2.model.show_details_of_orchestration_response import ShowDetailsOfOrchestrationResponse from huaweicloudsdkapig.v2.model.show_details_of_request_throttling_policy_v2_request import ShowDetailsOfRequestThrottlingPolicyV2Request from huaweicloudsdkapig.v2.model.show_details_of_request_throttling_policy_v2_response import ShowDetailsOfRequestThrottlingPolicyV2Response from huaweicloudsdkapig.v2.model.show_details_of_vpc_channel_v2_request import ShowDetailsOfVpcChannelV2Request from huaweicloudsdkapig.v2.model.show_details_of_vpc_channel_v2_response import ShowDetailsOfVpcChannelV2Response +from huaweicloudsdkapig.v2.model.show_instances_num_by_tags_request import ShowInstancesNumByTagsRequest +from huaweicloudsdkapig.v2.model.show_instances_num_by_tags_response import ShowInstancesNumByTagsResponse from huaweicloudsdkapig.v2.model.show_plugin_request import ShowPluginRequest from huaweicloudsdkapig.v2.model.show_plugin_response import ShowPluginResponse from huaweicloudsdkapig.v2.model.show_restriction_of_instance_v2_request import ShowRestrictionOfInstanceV2Request @@ -555,6 +573,9 @@ from huaweicloudsdkapig.v2.model.throttles_info import ThrottlesInfo from huaweicloudsdkapig.v2.model.tms_key_value import TmsKeyValue from huaweicloudsdkapig.v2.model.tms_key_values import TmsKeyValues +from huaweicloudsdkapig.v2.model.tms_matches_key_value import TmsMatchesKeyValue +from huaweicloudsdkapig.v2.model.tms_query_req import TmsQueryReq +from huaweicloudsdkapig.v2.model.tms_resource_resp import TmsResourceResp from huaweicloudsdkapig.v2.model.tms_update_public_req import TmsUpdatePublicReq from huaweicloudsdkapig.v2.model.unbind_api_for_acl import UnbindApiForAcl from huaweicloudsdkapig.v2.model.update_acl_strategy_v2_request import UpdateAclStrategyV2Request @@ -595,6 +616,8 @@ from huaweicloudsdkapig.v2.model.update_instance_v2_response import UpdateInstanceV2Response from huaweicloudsdkapig.v2.model.update_member_group_request import UpdateMemberGroupRequest from huaweicloudsdkapig.v2.model.update_member_group_response import UpdateMemberGroupResponse +from huaweicloudsdkapig.v2.model.update_orchestration_request import UpdateOrchestrationRequest +from huaweicloudsdkapig.v2.model.update_orchestration_response import UpdateOrchestrationResponse from huaweicloudsdkapig.v2.model.update_plugin_request import UpdatePluginRequest from huaweicloudsdkapig.v2.model.update_plugin_response import UpdatePluginResponse from huaweicloudsdkapig.v2.model.update_request_throttling_policy_v2_request import UpdateRequestThrottlingPolicyV2Request diff --git a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/api_acl_create.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/api_acl_create.py index 47970bbf91..e5e9648d0d 100644 --- a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/api_acl_create.py +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/api_acl_create.py @@ -39,7 +39,7 @@ def __init__(self, acl_name=None, acl_type=None, acl_value=None, entity_type=Non :type acl_name: str :param acl_type: 类型 - PERMIT (白名单类型) - DENY (黑名单类型) :type acl_type: str - :param acl_value: ACL策略值,支持一个或多个值,使用英文半角逗号分隔。 - entity_type为IP时,策略值需填写IP地址,最多可支持100个IP地址。 - entity_type为DOMAIN时,策略值需填写账号名,账号支持除英文半角逗号以外的任意ASCII字符,账号名长度限制在1-64个字符,不支持纯数字。多账号名字符的总长度不超过1024。 - entity_type为DOMAIN_ID时,策略值需填写账号ID,获取方式请参见API参考的“附录 > 获取账号ID”章节。 + :param acl_value: ACL策略值,支持一个或多个值,使用英文半角逗号分隔。 - entity_type为IP时,策略值需填写IP地址,最多可支持100个IP地址。 - entity_type为DOMAIN时,策略值需填写账号名,账号支持除英文半角逗号以外的任意ASCII字符,账号名长度限制在1-64个字符,不支持纯数字。多账号名字符的总长度不超过1024。 - entity_type为DOMAIN_ID时,策略值需填写账号ID,获取方式请参见API参考的“附录 > 获取账号ID”章节。 :type acl_value: str :param entity_type: 对象类型: - IP:IP地址 - DOMAIN:账号名 - DOMAIN_ID:账号ID :type entity_type: str @@ -106,7 +106,7 @@ def acl_type(self, acl_type): def acl_value(self): """Gets the acl_value of this ApiAclCreate. - ACL策略值,支持一个或多个值,使用英文半角逗号分隔。 - entity_type为IP时,策略值需填写IP地址,最多可支持100个IP地址。 - entity_type为DOMAIN时,策略值需填写账号名,账号支持除英文半角逗号以外的任意ASCII字符,账号名长度限制在1-64个字符,不支持纯数字。多账号名字符的总长度不超过1024。 - entity_type为DOMAIN_ID时,策略值需填写账号ID,获取方式请参见API参考的“附录 > 获取账号ID”章节。 + ACL策略值,支持一个或多个值,使用英文半角逗号分隔。 - entity_type为IP时,策略值需填写IP地址,最多可支持100个IP地址。 - entity_type为DOMAIN时,策略值需填写账号名,账号支持除英文半角逗号以外的任意ASCII字符,账号名长度限制在1-64个字符,不支持纯数字。多账号名字符的总长度不超过1024。 - entity_type为DOMAIN_ID时,策略值需填写账号ID,获取方式请参见API参考的“附录 > 获取账号ID”章节。 :return: The acl_value of this ApiAclCreate. :rtype: str @@ -117,7 +117,7 @@ def acl_value(self): def acl_value(self, acl_value): """Sets the acl_value of this ApiAclCreate. - ACL策略值,支持一个或多个值,使用英文半角逗号分隔。 - entity_type为IP时,策略值需填写IP地址,最多可支持100个IP地址。 - entity_type为DOMAIN时,策略值需填写账号名,账号支持除英文半角逗号以外的任意ASCII字符,账号名长度限制在1-64个字符,不支持纯数字。多账号名字符的总长度不超过1024。 - entity_type为DOMAIN_ID时,策略值需填写账号ID,获取方式请参见API参考的“附录 > 获取账号ID”章节。 + ACL策略值,支持一个或多个值,使用英文半角逗号分隔。 - entity_type为IP时,策略值需填写IP地址,最多可支持100个IP地址。 - entity_type为DOMAIN时,策略值需填写账号名,账号支持除英文半角逗号以外的任意ASCII字符,账号名长度限制在1-64个字符,不支持纯数字。多账号名字符的总长度不超过1024。 - entity_type为DOMAIN_ID时,策略值需填写账号ID,获取方式请参见API参考的“附录 > 获取账号ID”章节。 :param acl_value: The acl_value of this ApiAclCreate. :type acl_value: str diff --git a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/api_base_info.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/api_base_info.py index fde807a367..273ad18734 100644 --- a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/api_base_info.py +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/api_base_info.py @@ -39,7 +39,8 @@ class ApiBaseInfo: 'roma_app_id': 'str', 'domain_name': 'str', 'tag': 'str', - 'content_type': 'str' + 'content_type': 'str', + 'is_send_fg_body_base64': 'bool' } attribute_map = { @@ -65,10 +66,11 @@ class ApiBaseInfo: 'roma_app_id': 'roma_app_id', 'domain_name': 'domain_name', 'tag': 'tag', - 'content_type': 'content_type' + 'content_type': 'content_type', + 'is_send_fg_body_base64': 'is_send_fg_body_base64' } - def __init__(self, name=None, type=None, version=None, req_protocol=None, req_method=None, req_uri=None, auth_type=None, auth_opt=None, cors=None, match_mode=None, backend_type=None, remark=None, group_id=None, body_remark=None, result_normal_sample=None, result_failure_sample=None, authorizer_id=None, tags=None, response_id=None, roma_app_id=None, domain_name=None, tag=None, content_type=None): + def __init__(self, name=None, type=None, version=None, req_protocol=None, req_method=None, req_uri=None, auth_type=None, auth_opt=None, cors=None, match_mode=None, backend_type=None, remark=None, group_id=None, body_remark=None, result_normal_sample=None, result_failure_sample=None, authorizer_id=None, tags=None, response_id=None, roma_app_id=None, domain_name=None, tag=None, content_type=None, is_send_fg_body_base64=None): """ApiBaseInfo The model defined in huaweicloud sdk @@ -105,7 +107,7 @@ def __init__(self, name=None, type=None, version=None, req_protocol=None, req_me :type result_normal_sample: str :param result_failure_sample: 失败返回示例,描述API的异常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。 当API的请求协议为GRPC类型时不支持配置。 :type result_failure_sample: str - :param authorizer_id: 前端自定义认证对象的ID,API请求协议为GRPC类型时不支持前端自定义认证 + :param authorizer_id: 前端自定义认证对象的ID :type authorizer_id: str :param tags: 标签。 支持英文,数字,中文,特殊符号(-*#%.:_),且只能以中文或英文开头。 默认支持10个标签,如需扩大配额请联系技术工程师修改API_TAG_NUM_LIMIT配置。 :type tags: list[str] @@ -117,8 +119,10 @@ def __init__(self, name=None, type=None, version=None, req_protocol=None, req_me :type domain_name: str :param tag: 标签 待废弃,优先使用tags字段 :type tag: str - :param content_type: 请求内容格式类型: application/json application/xml multipart/form-data text/plain 暂不支持 + :param content_type: 请求内容格式类型: application/json application/xml multipart/form-data text/plain :type content_type: str + :param is_send_fg_body_base64: 是否对与FunctionGraph交互场景的body进行Base64编码。仅当content_type为application/json时,可以不对body进行Base64编码。 应用场景: - 自定义认证 - 绑定断路器插件,且断路器后端降级策略为函数后端 - API后端类型为函数工作流 + :type is_send_fg_body_base64: bool """ @@ -146,6 +150,7 @@ def __init__(self, name=None, type=None, version=None, req_protocol=None, req_me self._domain_name = None self._tag = None self._content_type = None + self._is_send_fg_body_base64 = None self.discriminator = None self.name = name @@ -186,6 +191,8 @@ def __init__(self, name=None, type=None, version=None, req_protocol=None, req_me self.tag = tag if content_type is not None: self.content_type = content_type + if is_send_fg_body_base64 is not None: + self.is_send_fg_body_base64 = is_send_fg_body_base64 @property def name(self): @@ -539,7 +546,7 @@ def result_failure_sample(self, result_failure_sample): def authorizer_id(self): """Gets the authorizer_id of this ApiBaseInfo. - 前端自定义认证对象的ID,API请求协议为GRPC类型时不支持前端自定义认证 + 前端自定义认证对象的ID :return: The authorizer_id of this ApiBaseInfo. :rtype: str @@ -550,7 +557,7 @@ def authorizer_id(self): def authorizer_id(self, authorizer_id): """Sets the authorizer_id of this ApiBaseInfo. - 前端自定义认证对象的ID,API请求协议为GRPC类型时不支持前端自定义认证 + 前端自定义认证对象的ID :param authorizer_id: The authorizer_id of this ApiBaseInfo. :type authorizer_id: str @@ -671,7 +678,7 @@ def tag(self, tag): def content_type(self): """Gets the content_type of this ApiBaseInfo. - 请求内容格式类型: application/json application/xml multipart/form-data text/plain 暂不支持 + 请求内容格式类型: application/json application/xml multipart/form-data text/plain :return: The content_type of this ApiBaseInfo. :rtype: str @@ -682,13 +689,35 @@ def content_type(self): def content_type(self, content_type): """Sets the content_type of this ApiBaseInfo. - 请求内容格式类型: application/json application/xml multipart/form-data text/plain 暂不支持 + 请求内容格式类型: application/json application/xml multipart/form-data text/plain :param content_type: The content_type of this ApiBaseInfo. :type content_type: str """ self._content_type = content_type + @property + def is_send_fg_body_base64(self): + """Gets the is_send_fg_body_base64 of this ApiBaseInfo. + + 是否对与FunctionGraph交互场景的body进行Base64编码。仅当content_type为application/json时,可以不对body进行Base64编码。 应用场景: - 自定义认证 - 绑定断路器插件,且断路器后端降级策略为函数后端 - API后端类型为函数工作流 + + :return: The is_send_fg_body_base64 of this ApiBaseInfo. + :rtype: bool + """ + return self._is_send_fg_body_base64 + + @is_send_fg_body_base64.setter + def is_send_fg_body_base64(self, is_send_fg_body_base64): + """Sets the is_send_fg_body_base64 of this ApiBaseInfo. + + 是否对与FunctionGraph交互场景的body进行Base64编码。仅当content_type为application/json时,可以不对body进行Base64编码。 应用场景: - 自定义认证 - 绑定断路器插件,且断路器后端降级策略为函数后端 - API后端类型为函数工作流 + + :param is_send_fg_body_base64: The is_send_fg_body_base64 of this ApiBaseInfo. + :type is_send_fg_body_base64: bool + """ + self._is_send_fg_body_base64 = is_send_fg_body_base64 + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/api_common.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/api_common.py index 7cbc84d9de..c74532b5b7 100644 --- a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/api_common.py +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/api_common.py @@ -40,6 +40,7 @@ class ApiCommon: 'domain_name': 'str', 'tag': 'str', 'content_type': 'str', + 'is_send_fg_body_base64': 'bool', 'id': 'str', 'status': 'int', 'arrange_necessary': 'int', @@ -87,6 +88,7 @@ class ApiCommon: 'domain_name': 'domain_name', 'tag': 'tag', 'content_type': 'content_type', + 'is_send_fg_body_base64': 'is_send_fg_body_base64', 'id': 'id', 'status': 'status', 'arrange_necessary': 'arrange_necessary', @@ -110,7 +112,7 @@ class ApiCommon: 'policy_mocks': 'policy_mocks' } - def __init__(self, name=None, type=None, version=None, req_protocol=None, req_method=None, req_uri=None, auth_type=None, auth_opt=None, cors=None, match_mode=None, backend_type=None, remark=None, group_id=None, body_remark=None, result_normal_sample=None, result_failure_sample=None, authorizer_id=None, tags=None, response_id=None, roma_app_id=None, domain_name=None, tag=None, content_type=None, id=None, status=None, arrange_necessary=None, register_time=None, update_time=None, group_name=None, group_version=None, run_env_id=None, run_env_name=None, publish_id=None, publish_time=None, roma_app_name=None, ld_api_id=None, backend_api=None, api_group_info=None, func_info=None, mock_info=None, req_params=None, backend_params=None, policy_functions=None, policy_mocks=None): + def __init__(self, name=None, type=None, version=None, req_protocol=None, req_method=None, req_uri=None, auth_type=None, auth_opt=None, cors=None, match_mode=None, backend_type=None, remark=None, group_id=None, body_remark=None, result_normal_sample=None, result_failure_sample=None, authorizer_id=None, tags=None, response_id=None, roma_app_id=None, domain_name=None, tag=None, content_type=None, is_send_fg_body_base64=None, id=None, status=None, arrange_necessary=None, register_time=None, update_time=None, group_name=None, group_version=None, run_env_id=None, run_env_name=None, publish_id=None, publish_time=None, roma_app_name=None, ld_api_id=None, backend_api=None, api_group_info=None, func_info=None, mock_info=None, req_params=None, backend_params=None, policy_functions=None, policy_mocks=None): """ApiCommon The model defined in huaweicloud sdk @@ -147,7 +149,7 @@ def __init__(self, name=None, type=None, version=None, req_protocol=None, req_me :type result_normal_sample: str :param result_failure_sample: 失败返回示例,描述API的异常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。 当API的请求协议为GRPC类型时不支持配置。 :type result_failure_sample: str - :param authorizer_id: 前端自定义认证对象的ID,API请求协议为GRPC类型时不支持前端自定义认证 + :param authorizer_id: 前端自定义认证对象的ID :type authorizer_id: str :param tags: 标签。 支持英文,数字,中文,特殊符号(-*#%.:_),且只能以中文或英文开头。 默认支持10个标签,如需扩大配额请联系技术工程师修改API_TAG_NUM_LIMIT配置。 :type tags: list[str] @@ -159,8 +161,10 @@ def __init__(self, name=None, type=None, version=None, req_protocol=None, req_me :type domain_name: str :param tag: 标签 待废弃,优先使用tags字段 :type tag: str - :param content_type: 请求内容格式类型: application/json application/xml multipart/form-data text/plain 暂不支持 + :param content_type: 请求内容格式类型: application/json application/xml multipart/form-data text/plain :type content_type: str + :param is_send_fg_body_base64: 是否对与FunctionGraph交互场景的body进行Base64编码。仅当content_type为application/json时,可以不对body进行Base64编码。 应用场景: - 自定义认证 - 绑定断路器插件,且断路器后端降级策略为函数后端 - API后端类型为函数工作流 + :type is_send_fg_body_base64: bool :param id: API编号 :type id: str :param status: API状态 - 1: 有效 @@ -230,6 +234,7 @@ def __init__(self, name=None, type=None, version=None, req_protocol=None, req_me self._domain_name = None self._tag = None self._content_type = None + self._is_send_fg_body_base64 = None self._id = None self._status = None self._arrange_necessary = None @@ -291,6 +296,8 @@ def __init__(self, name=None, type=None, version=None, req_protocol=None, req_me self.tag = tag if content_type is not None: self.content_type = content_type + if is_send_fg_body_base64 is not None: + self.is_send_fg_body_base64 = is_send_fg_body_base64 if id is not None: self.id = id if status is not None: @@ -686,7 +693,7 @@ def result_failure_sample(self, result_failure_sample): def authorizer_id(self): """Gets the authorizer_id of this ApiCommon. - 前端自定义认证对象的ID,API请求协议为GRPC类型时不支持前端自定义认证 + 前端自定义认证对象的ID :return: The authorizer_id of this ApiCommon. :rtype: str @@ -697,7 +704,7 @@ def authorizer_id(self): def authorizer_id(self, authorizer_id): """Sets the authorizer_id of this ApiCommon. - 前端自定义认证对象的ID,API请求协议为GRPC类型时不支持前端自定义认证 + 前端自定义认证对象的ID :param authorizer_id: The authorizer_id of this ApiCommon. :type authorizer_id: str @@ -818,7 +825,7 @@ def tag(self, tag): def content_type(self): """Gets the content_type of this ApiCommon. - 请求内容格式类型: application/json application/xml multipart/form-data text/plain 暂不支持 + 请求内容格式类型: application/json application/xml multipart/form-data text/plain :return: The content_type of this ApiCommon. :rtype: str @@ -829,13 +836,35 @@ def content_type(self): def content_type(self, content_type): """Sets the content_type of this ApiCommon. - 请求内容格式类型: application/json application/xml multipart/form-data text/plain 暂不支持 + 请求内容格式类型: application/json application/xml multipart/form-data text/plain :param content_type: The content_type of this ApiCommon. :type content_type: str """ self._content_type = content_type + @property + def is_send_fg_body_base64(self): + """Gets the is_send_fg_body_base64 of this ApiCommon. + + 是否对与FunctionGraph交互场景的body进行Base64编码。仅当content_type为application/json时,可以不对body进行Base64编码。 应用场景: - 自定义认证 - 绑定断路器插件,且断路器后端降级策略为函数后端 - API后端类型为函数工作流 + + :return: The is_send_fg_body_base64 of this ApiCommon. + :rtype: bool + """ + return self._is_send_fg_body_base64 + + @is_send_fg_body_base64.setter + def is_send_fg_body_base64(self, is_send_fg_body_base64): + """Sets the is_send_fg_body_base64 of this ApiCommon. + + 是否对与FunctionGraph交互场景的body进行Base64编码。仅当content_type为application/json时,可以不对body进行Base64编码。 应用场景: - 自定义认证 - 绑定断路器插件,且断路器后端降级策略为函数后端 - API后端类型为函数工作流 + + :param is_send_fg_body_base64: The is_send_fg_body_base64 of this ApiCommon. + :type is_send_fg_body_base64: bool + """ + self._is_send_fg_body_base64 = is_send_fg_body_base64 + @property def id(self): """Gets the id of this ApiCommon. diff --git a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/api_condition_base.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/api_condition_base.py index 414b1ad630..f34123855f 100644 --- a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/api_condition_base.py +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/api_condition_base.py @@ -23,7 +23,9 @@ class ApiConditionBase: 'frontend_authorizer_param_name': 'str', 'condition_type': 'str', 'condition_origin': 'str', - 'condition_value': 'str' + 'condition_value': 'str', + 'mapped_param_name': 'str', + 'mapped_param_location': 'str' } attribute_map = { @@ -33,10 +35,12 @@ class ApiConditionBase: 'frontend_authorizer_param_name': 'frontend_authorizer_param_name', 'condition_type': 'condition_type', 'condition_origin': 'condition_origin', - 'condition_value': 'condition_value' + 'condition_value': 'condition_value', + 'mapped_param_name': 'mapped_param_name', + 'mapped_param_location': 'mapped_param_location' } - def __init__(self, req_param_name=None, sys_param_name=None, cookie_param_name=None, frontend_authorizer_param_name=None, condition_type=None, condition_origin=None, condition_value=None): + def __init__(self, req_param_name=None, sys_param_name=None, cookie_param_name=None, frontend_authorizer_param_name=None, condition_type=None, condition_origin=None, condition_value=None, mapped_param_name=None, mapped_param_location=None): """ApiConditionBase The model defined in huaweicloud sdk @@ -53,8 +57,12 @@ def __init__(self, req_param_name=None, sys_param_name=None, cookie_param_name=N :type condition_type: str :param condition_origin: 策略类型 - param:参数 - source:源IP - system: 系统参数-网关内置参数 - cookie: COOKIE参数 - frontend_authorizer: 系统参数-前端认证参数 :type condition_origin: str - :param condition_value: 策略值。策略类型为param,source,cookie,frontend_authorizer时必填 + :param condition_value: 策略值。 :type condition_value: str + :param mapped_param_name: 参数编排规则编排后生成的参数名称,当condition_origin为orchestration的时候必填,并且生成的参数名称必须在api绑定的编排规则中存在 + :type mapped_param_name: str + :param mapped_param_location: 参数编排规则编排后生成的参数所在的位置,当condition_origin为orchestration的时候必填,并且生成的参数所在的位置必须在api绑定的编排规则中存在 + :type mapped_param_location: str """ @@ -66,6 +74,8 @@ def __init__(self, req_param_name=None, sys_param_name=None, cookie_param_name=N self._condition_type = None self._condition_origin = None self._condition_value = None + self._mapped_param_name = None + self._mapped_param_location = None self.discriminator = None if req_param_name is not None: @@ -80,6 +90,10 @@ def __init__(self, req_param_name=None, sys_param_name=None, cookie_param_name=N self.condition_type = condition_type self.condition_origin = condition_origin self.condition_value = condition_value + if mapped_param_name is not None: + self.mapped_param_name = mapped_param_name + if mapped_param_location is not None: + self.mapped_param_location = mapped_param_location @property def req_param_name(self): @@ -217,7 +231,7 @@ def condition_origin(self, condition_origin): def condition_value(self): """Gets the condition_value of this ApiConditionBase. - 策略值。策略类型为param,source,cookie,frontend_authorizer时必填 + 策略值。 :return: The condition_value of this ApiConditionBase. :rtype: str @@ -228,13 +242,57 @@ def condition_value(self): def condition_value(self, condition_value): """Sets the condition_value of this ApiConditionBase. - 策略值。策略类型为param,source,cookie,frontend_authorizer时必填 + 策略值。 :param condition_value: The condition_value of this ApiConditionBase. :type condition_value: str """ self._condition_value = condition_value + @property + def mapped_param_name(self): + """Gets the mapped_param_name of this ApiConditionBase. + + 参数编排规则编排后生成的参数名称,当condition_origin为orchestration的时候必填,并且生成的参数名称必须在api绑定的编排规则中存在 + + :return: The mapped_param_name of this ApiConditionBase. + :rtype: str + """ + return self._mapped_param_name + + @mapped_param_name.setter + def mapped_param_name(self, mapped_param_name): + """Sets the mapped_param_name of this ApiConditionBase. + + 参数编排规则编排后生成的参数名称,当condition_origin为orchestration的时候必填,并且生成的参数名称必须在api绑定的编排规则中存在 + + :param mapped_param_name: The mapped_param_name of this ApiConditionBase. + :type mapped_param_name: str + """ + self._mapped_param_name = mapped_param_name + + @property + def mapped_param_location(self): + """Gets the mapped_param_location of this ApiConditionBase. + + 参数编排规则编排后生成的参数所在的位置,当condition_origin为orchestration的时候必填,并且生成的参数所在的位置必须在api绑定的编排规则中存在 + + :return: The mapped_param_location of this ApiConditionBase. + :rtype: str + """ + return self._mapped_param_location + + @mapped_param_location.setter + def mapped_param_location(self, mapped_param_location): + """Sets the mapped_param_location of this ApiConditionBase. + + 参数编排规则编排后生成的参数所在的位置,当condition_origin为orchestration的时候必填,并且生成的参数所在的位置必须在api绑定的编排规则中存在 + + :param mapped_param_location: The mapped_param_location of this ApiConditionBase. + :type mapped_param_location: str + """ + self._mapped_param_location = mapped_param_location + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/api_create.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/api_create.py index 2297e1cb38..3bf66375e0 100644 --- a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/api_create.py +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/api_create.py @@ -40,6 +40,7 @@ class ApiCreate: 'domain_name': 'str', 'tag': 'str', 'content_type': 'str', + 'is_send_fg_body_base64': 'bool', 'mock_info': 'ApiMockCreate', 'func_info': 'ApiFuncCreate', 'req_params': 'list[ReqParamBase]', @@ -74,6 +75,7 @@ class ApiCreate: 'domain_name': 'domain_name', 'tag': 'tag', 'content_type': 'content_type', + 'is_send_fg_body_base64': 'is_send_fg_body_base64', 'mock_info': 'mock_info', 'func_info': 'func_info', 'req_params': 'req_params', @@ -84,7 +86,7 @@ class ApiCreate: 'policy_https': 'policy_https' } - def __init__(self, name=None, type=None, version=None, req_protocol=None, req_method=None, req_uri=None, auth_type=None, auth_opt=None, cors=None, match_mode=None, backend_type=None, remark=None, group_id=None, body_remark=None, result_normal_sample=None, result_failure_sample=None, authorizer_id=None, tags=None, response_id=None, roma_app_id=None, domain_name=None, tag=None, content_type=None, mock_info=None, func_info=None, req_params=None, backend_params=None, policy_mocks=None, policy_functions=None, backend_api=None, policy_https=None): + def __init__(self, name=None, type=None, version=None, req_protocol=None, req_method=None, req_uri=None, auth_type=None, auth_opt=None, cors=None, match_mode=None, backend_type=None, remark=None, group_id=None, body_remark=None, result_normal_sample=None, result_failure_sample=None, authorizer_id=None, tags=None, response_id=None, roma_app_id=None, domain_name=None, tag=None, content_type=None, is_send_fg_body_base64=None, mock_info=None, func_info=None, req_params=None, backend_params=None, policy_mocks=None, policy_functions=None, backend_api=None, policy_https=None): """ApiCreate The model defined in huaweicloud sdk @@ -121,7 +123,7 @@ def __init__(self, name=None, type=None, version=None, req_protocol=None, req_me :type result_normal_sample: str :param result_failure_sample: 失败返回示例,描述API的异常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。 当API的请求协议为GRPC类型时不支持配置。 :type result_failure_sample: str - :param authorizer_id: 前端自定义认证对象的ID,API请求协议为GRPC类型时不支持前端自定义认证 + :param authorizer_id: 前端自定义认证对象的ID :type authorizer_id: str :param tags: 标签。 支持英文,数字,中文,特殊符号(-*#%.:_),且只能以中文或英文开头。 默认支持10个标签,如需扩大配额请联系技术工程师修改API_TAG_NUM_LIMIT配置。 :type tags: list[str] @@ -133,8 +135,10 @@ def __init__(self, name=None, type=None, version=None, req_protocol=None, req_me :type domain_name: str :param tag: 标签 待废弃,优先使用tags字段 :type tag: str - :param content_type: 请求内容格式类型: application/json application/xml multipart/form-data text/plain 暂不支持 + :param content_type: 请求内容格式类型: application/json application/xml multipart/form-data text/plain :type content_type: str + :param is_send_fg_body_base64: 是否对与FunctionGraph交互场景的body进行Base64编码。仅当content_type为application/json时,可以不对body进行Base64编码。 应用场景: - 自定义认证 - 绑定断路器插件,且断路器后端降级策略为函数后端 - API后端类型为函数工作流 + :type is_send_fg_body_base64: bool :param mock_info: :type mock_info: :class:`huaweicloudsdkapig.v2.ApiMockCreate` :param func_info: @@ -178,6 +182,7 @@ def __init__(self, name=None, type=None, version=None, req_protocol=None, req_me self._domain_name = None self._tag = None self._content_type = None + self._is_send_fg_body_base64 = None self._mock_info = None self._func_info = None self._req_params = None @@ -226,6 +231,8 @@ def __init__(self, name=None, type=None, version=None, req_protocol=None, req_me self.tag = tag if content_type is not None: self.content_type = content_type + if is_send_fg_body_base64 is not None: + self.is_send_fg_body_base64 = is_send_fg_body_base64 if mock_info is not None: self.mock_info = mock_info if func_info is not None: @@ -595,7 +602,7 @@ def result_failure_sample(self, result_failure_sample): def authorizer_id(self): """Gets the authorizer_id of this ApiCreate. - 前端自定义认证对象的ID,API请求协议为GRPC类型时不支持前端自定义认证 + 前端自定义认证对象的ID :return: The authorizer_id of this ApiCreate. :rtype: str @@ -606,7 +613,7 @@ def authorizer_id(self): def authorizer_id(self, authorizer_id): """Sets the authorizer_id of this ApiCreate. - 前端自定义认证对象的ID,API请求协议为GRPC类型时不支持前端自定义认证 + 前端自定义认证对象的ID :param authorizer_id: The authorizer_id of this ApiCreate. :type authorizer_id: str @@ -727,7 +734,7 @@ def tag(self, tag): def content_type(self): """Gets the content_type of this ApiCreate. - 请求内容格式类型: application/json application/xml multipart/form-data text/plain 暂不支持 + 请求内容格式类型: application/json application/xml multipart/form-data text/plain :return: The content_type of this ApiCreate. :rtype: str @@ -738,13 +745,35 @@ def content_type(self): def content_type(self, content_type): """Sets the content_type of this ApiCreate. - 请求内容格式类型: application/json application/xml multipart/form-data text/plain 暂不支持 + 请求内容格式类型: application/json application/xml multipart/form-data text/plain :param content_type: The content_type of this ApiCreate. :type content_type: str """ self._content_type = content_type + @property + def is_send_fg_body_base64(self): + """Gets the is_send_fg_body_base64 of this ApiCreate. + + 是否对与FunctionGraph交互场景的body进行Base64编码。仅当content_type为application/json时,可以不对body进行Base64编码。 应用场景: - 自定义认证 - 绑定断路器插件,且断路器后端降级策略为函数后端 - API后端类型为函数工作流 + + :return: The is_send_fg_body_base64 of this ApiCreate. + :rtype: bool + """ + return self._is_send_fg_body_base64 + + @is_send_fg_body_base64.setter + def is_send_fg_body_base64(self, is_send_fg_body_base64): + """Sets the is_send_fg_body_base64 of this ApiCreate. + + 是否对与FunctionGraph交互场景的body进行Base64编码。仅当content_type为application/json时,可以不对body进行Base64编码。 应用场景: - 自定义认证 - 绑定断路器插件,且断路器后端降级策略为函数后端 - API后端类型为函数工作流 + + :param is_send_fg_body_base64: The is_send_fg_body_base64 of this ApiCreate. + :type is_send_fg_body_base64: bool + """ + self._is_send_fg_body_base64 = is_send_fg_body_base64 + @property def mock_info(self): """Gets the mock_info of this ApiCreate. diff --git a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/api_create_base.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/api_create_base.py index aed4c90d68..8ae05cc0e7 100644 --- a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/api_create_base.py +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/api_create_base.py @@ -40,6 +40,7 @@ class ApiCreateBase: 'domain_name': 'str', 'tag': 'str', 'content_type': 'str', + 'is_send_fg_body_base64': 'bool', 'mock_info': 'ApiMockCreate', 'func_info': 'ApiFuncCreate', 'req_params': 'list[ReqParamBase]', @@ -72,6 +73,7 @@ class ApiCreateBase: 'domain_name': 'domain_name', 'tag': 'tag', 'content_type': 'content_type', + 'is_send_fg_body_base64': 'is_send_fg_body_base64', 'mock_info': 'mock_info', 'func_info': 'func_info', 'req_params': 'req_params', @@ -80,7 +82,7 @@ class ApiCreateBase: 'policy_functions': 'policy_functions' } - def __init__(self, name=None, type=None, version=None, req_protocol=None, req_method=None, req_uri=None, auth_type=None, auth_opt=None, cors=None, match_mode=None, backend_type=None, remark=None, group_id=None, body_remark=None, result_normal_sample=None, result_failure_sample=None, authorizer_id=None, tags=None, response_id=None, roma_app_id=None, domain_name=None, tag=None, content_type=None, mock_info=None, func_info=None, req_params=None, backend_params=None, policy_mocks=None, policy_functions=None): + def __init__(self, name=None, type=None, version=None, req_protocol=None, req_method=None, req_uri=None, auth_type=None, auth_opt=None, cors=None, match_mode=None, backend_type=None, remark=None, group_id=None, body_remark=None, result_normal_sample=None, result_failure_sample=None, authorizer_id=None, tags=None, response_id=None, roma_app_id=None, domain_name=None, tag=None, content_type=None, is_send_fg_body_base64=None, mock_info=None, func_info=None, req_params=None, backend_params=None, policy_mocks=None, policy_functions=None): """ApiCreateBase The model defined in huaweicloud sdk @@ -117,7 +119,7 @@ def __init__(self, name=None, type=None, version=None, req_protocol=None, req_me :type result_normal_sample: str :param result_failure_sample: 失败返回示例,描述API的异常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。 当API的请求协议为GRPC类型时不支持配置。 :type result_failure_sample: str - :param authorizer_id: 前端自定义认证对象的ID,API请求协议为GRPC类型时不支持前端自定义认证 + :param authorizer_id: 前端自定义认证对象的ID :type authorizer_id: str :param tags: 标签。 支持英文,数字,中文,特殊符号(-*#%.:_),且只能以中文或英文开头。 默认支持10个标签,如需扩大配额请联系技术工程师修改API_TAG_NUM_LIMIT配置。 :type tags: list[str] @@ -129,8 +131,10 @@ def __init__(self, name=None, type=None, version=None, req_protocol=None, req_me :type domain_name: str :param tag: 标签 待废弃,优先使用tags字段 :type tag: str - :param content_type: 请求内容格式类型: application/json application/xml multipart/form-data text/plain 暂不支持 + :param content_type: 请求内容格式类型: application/json application/xml multipart/form-data text/plain :type content_type: str + :param is_send_fg_body_base64: 是否对与FunctionGraph交互场景的body进行Base64编码。仅当content_type为application/json时,可以不对body进行Base64编码。 应用场景: - 自定义认证 - 绑定断路器插件,且断路器后端降级策略为函数后端 - API后端类型为函数工作流 + :type is_send_fg_body_base64: bool :param mock_info: :type mock_info: :class:`huaweicloudsdkapig.v2.ApiMockCreate` :param func_info: @@ -170,6 +174,7 @@ def __init__(self, name=None, type=None, version=None, req_protocol=None, req_me self._domain_name = None self._tag = None self._content_type = None + self._is_send_fg_body_base64 = None self._mock_info = None self._func_info = None self._req_params = None @@ -216,6 +221,8 @@ def __init__(self, name=None, type=None, version=None, req_protocol=None, req_me self.tag = tag if content_type is not None: self.content_type = content_type + if is_send_fg_body_base64 is not None: + self.is_send_fg_body_base64 = is_send_fg_body_base64 if mock_info is not None: self.mock_info = mock_info if func_info is not None: @@ -581,7 +588,7 @@ def result_failure_sample(self, result_failure_sample): def authorizer_id(self): """Gets the authorizer_id of this ApiCreateBase. - 前端自定义认证对象的ID,API请求协议为GRPC类型时不支持前端自定义认证 + 前端自定义认证对象的ID :return: The authorizer_id of this ApiCreateBase. :rtype: str @@ -592,7 +599,7 @@ def authorizer_id(self): def authorizer_id(self, authorizer_id): """Sets the authorizer_id of this ApiCreateBase. - 前端自定义认证对象的ID,API请求协议为GRPC类型时不支持前端自定义认证 + 前端自定义认证对象的ID :param authorizer_id: The authorizer_id of this ApiCreateBase. :type authorizer_id: str @@ -713,7 +720,7 @@ def tag(self, tag): def content_type(self): """Gets the content_type of this ApiCreateBase. - 请求内容格式类型: application/json application/xml multipart/form-data text/plain 暂不支持 + 请求内容格式类型: application/json application/xml multipart/form-data text/plain :return: The content_type of this ApiCreateBase. :rtype: str @@ -724,13 +731,35 @@ def content_type(self): def content_type(self, content_type): """Sets the content_type of this ApiCreateBase. - 请求内容格式类型: application/json application/xml multipart/form-data text/plain 暂不支持 + 请求内容格式类型: application/json application/xml multipart/form-data text/plain :param content_type: The content_type of this ApiCreateBase. :type content_type: str """ self._content_type = content_type + @property + def is_send_fg_body_base64(self): + """Gets the is_send_fg_body_base64 of this ApiCreateBase. + + 是否对与FunctionGraph交互场景的body进行Base64编码。仅当content_type为application/json时,可以不对body进行Base64编码。 应用场景: - 自定义认证 - 绑定断路器插件,且断路器后端降级策略为函数后端 - API后端类型为函数工作流 + + :return: The is_send_fg_body_base64 of this ApiCreateBase. + :rtype: bool + """ + return self._is_send_fg_body_base64 + + @is_send_fg_body_base64.setter + def is_send_fg_body_base64(self, is_send_fg_body_base64): + """Sets the is_send_fg_body_base64 of this ApiCreateBase. + + 是否对与FunctionGraph交互场景的body进行Base64编码。仅当content_type为application/json时,可以不对body进行Base64编码。 应用场景: - 自定义认证 - 绑定断路器插件,且断路器后端降级策略为函数后端 - API后端类型为函数工作流 + + :param is_send_fg_body_base64: The is_send_fg_body_base64 of this ApiCreateBase. + :type is_send_fg_body_base64: bool + """ + self._is_send_fg_body_base64 = is_send_fg_body_base64 + @property def mock_info(self): """Gets the mock_info of this ApiCreateBase. diff --git a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/api_info.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/api_info.py index d7a28b5db2..8a6225df96 100644 --- a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/api_info.py +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/api_info.py @@ -40,6 +40,7 @@ class ApiInfo: 'domain_name': 'str', 'tag': 'str', 'content_type': 'str', + 'is_send_fg_body_base64': 'bool', 'id': 'str', 'status': 'int', 'arrange_necessary': 'int', @@ -88,6 +89,7 @@ class ApiInfo: 'domain_name': 'domain_name', 'tag': 'tag', 'content_type': 'content_type', + 'is_send_fg_body_base64': 'is_send_fg_body_base64', 'id': 'id', 'status': 'status', 'arrange_necessary': 'arrange_necessary', @@ -112,7 +114,7 @@ class ApiInfo: 'policy_https': 'policy_https' } - def __init__(self, name=None, type=None, version=None, req_protocol=None, req_method=None, req_uri=None, auth_type=None, auth_opt=None, cors=None, match_mode=None, backend_type=None, remark=None, group_id=None, body_remark=None, result_normal_sample=None, result_failure_sample=None, authorizer_id=None, tags=None, response_id=None, roma_app_id=None, domain_name=None, tag=None, content_type=None, id=None, status=None, arrange_necessary=None, register_time=None, update_time=None, group_name=None, group_version=None, run_env_id=None, run_env_name=None, publish_id=None, publish_time=None, roma_app_name=None, ld_api_id=None, backend_api=None, api_group_info=None, func_info=None, mock_info=None, req_params=None, backend_params=None, policy_functions=None, policy_mocks=None, policy_https=None): + def __init__(self, name=None, type=None, version=None, req_protocol=None, req_method=None, req_uri=None, auth_type=None, auth_opt=None, cors=None, match_mode=None, backend_type=None, remark=None, group_id=None, body_remark=None, result_normal_sample=None, result_failure_sample=None, authorizer_id=None, tags=None, response_id=None, roma_app_id=None, domain_name=None, tag=None, content_type=None, is_send_fg_body_base64=None, id=None, status=None, arrange_necessary=None, register_time=None, update_time=None, group_name=None, group_version=None, run_env_id=None, run_env_name=None, publish_id=None, publish_time=None, roma_app_name=None, ld_api_id=None, backend_api=None, api_group_info=None, func_info=None, mock_info=None, req_params=None, backend_params=None, policy_functions=None, policy_mocks=None, policy_https=None): """ApiInfo The model defined in huaweicloud sdk @@ -149,7 +151,7 @@ def __init__(self, name=None, type=None, version=None, req_protocol=None, req_me :type result_normal_sample: str :param result_failure_sample: 失败返回示例,描述API的异常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。 当API的请求协议为GRPC类型时不支持配置。 :type result_failure_sample: str - :param authorizer_id: 前端自定义认证对象的ID,API请求协议为GRPC类型时不支持前端自定义认证 + :param authorizer_id: 前端自定义认证对象的ID :type authorizer_id: str :param tags: 标签。 支持英文,数字,中文,特殊符号(-*#%.:_),且只能以中文或英文开头。 默认支持10个标签,如需扩大配额请联系技术工程师修改API_TAG_NUM_LIMIT配置。 :type tags: list[str] @@ -161,8 +163,10 @@ def __init__(self, name=None, type=None, version=None, req_protocol=None, req_me :type domain_name: str :param tag: 标签 待废弃,优先使用tags字段 :type tag: str - :param content_type: 请求内容格式类型: application/json application/xml multipart/form-data text/plain 暂不支持 + :param content_type: 请求内容格式类型: application/json application/xml multipart/form-data text/plain :type content_type: str + :param is_send_fg_body_base64: 是否对与FunctionGraph交互场景的body进行Base64编码。仅当content_type为application/json时,可以不对body进行Base64编码。 应用场景: - 自定义认证 - 绑定断路器插件,且断路器后端降级策略为函数后端 - API后端类型为函数工作流 + :type is_send_fg_body_base64: bool :param id: API编号 :type id: str :param status: API状态 - 1: 有效 @@ -234,6 +238,7 @@ def __init__(self, name=None, type=None, version=None, req_protocol=None, req_me self._domain_name = None self._tag = None self._content_type = None + self._is_send_fg_body_base64 = None self._id = None self._status = None self._arrange_necessary = None @@ -296,6 +301,8 @@ def __init__(self, name=None, type=None, version=None, req_protocol=None, req_me self.tag = tag if content_type is not None: self.content_type = content_type + if is_send_fg_body_base64 is not None: + self.is_send_fg_body_base64 = is_send_fg_body_base64 if id is not None: self.id = id if status is not None: @@ -693,7 +700,7 @@ def result_failure_sample(self, result_failure_sample): def authorizer_id(self): """Gets the authorizer_id of this ApiInfo. - 前端自定义认证对象的ID,API请求协议为GRPC类型时不支持前端自定义认证 + 前端自定义认证对象的ID :return: The authorizer_id of this ApiInfo. :rtype: str @@ -704,7 +711,7 @@ def authorizer_id(self): def authorizer_id(self, authorizer_id): """Sets the authorizer_id of this ApiInfo. - 前端自定义认证对象的ID,API请求协议为GRPC类型时不支持前端自定义认证 + 前端自定义认证对象的ID :param authorizer_id: The authorizer_id of this ApiInfo. :type authorizer_id: str @@ -825,7 +832,7 @@ def tag(self, tag): def content_type(self): """Gets the content_type of this ApiInfo. - 请求内容格式类型: application/json application/xml multipart/form-data text/plain 暂不支持 + 请求内容格式类型: application/json application/xml multipart/form-data text/plain :return: The content_type of this ApiInfo. :rtype: str @@ -836,13 +843,35 @@ def content_type(self): def content_type(self, content_type): """Sets the content_type of this ApiInfo. - 请求内容格式类型: application/json application/xml multipart/form-data text/plain 暂不支持 + 请求内容格式类型: application/json application/xml multipart/form-data text/plain :param content_type: The content_type of this ApiInfo. :type content_type: str """ self._content_type = content_type + @property + def is_send_fg_body_base64(self): + """Gets the is_send_fg_body_base64 of this ApiInfo. + + 是否对与FunctionGraph交互场景的body进行Base64编码。仅当content_type为application/json时,可以不对body进行Base64编码。 应用场景: - 自定义认证 - 绑定断路器插件,且断路器后端降级策略为函数后端 - API后端类型为函数工作流 + + :return: The is_send_fg_body_base64 of this ApiInfo. + :rtype: bool + """ + return self._is_send_fg_body_base64 + + @is_send_fg_body_base64.setter + def is_send_fg_body_base64(self, is_send_fg_body_base64): + """Sets the is_send_fg_body_base64 of this ApiInfo. + + 是否对与FunctionGraph交互场景的body进行Base64编码。仅当content_type为application/json时,可以不对body进行Base64编码。 应用场景: - 自定义认证 - 绑定断路器插件,且断路器后端降级策略为函数后端 - API后端类型为函数工作流 + + :param is_send_fg_body_base64: The is_send_fg_body_base64 of this ApiInfo. + :type is_send_fg_body_base64: bool + """ + self._is_send_fg_body_base64 = is_send_fg_body_base64 + @property def id(self): """Gets the id of this ApiInfo. diff --git a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/api_info_per_page.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/api_info_per_page.py index d1946a41d3..d4463b0f72 100644 --- a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/api_info_per_page.py +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/api_info_per_page.py @@ -40,6 +40,7 @@ class ApiInfoPerPage: 'domain_name': 'str', 'tag': 'str', 'content_type': 'str', + 'is_send_fg_body_base64': 'bool', 'id': 'str', 'status': 'int', 'arrange_necessary': 'int', @@ -82,6 +83,7 @@ class ApiInfoPerPage: 'domain_name': 'domain_name', 'tag': 'tag', 'content_type': 'content_type', + 'is_send_fg_body_base64': 'is_send_fg_body_base64', 'id': 'id', 'status': 'status', 'arrange_necessary': 'arrange_necessary', @@ -100,7 +102,7 @@ class ApiInfoPerPage: 'req_params': 'req_params' } - def __init__(self, name=None, type=None, version=None, req_protocol=None, req_method=None, req_uri=None, auth_type=None, auth_opt=None, cors=None, match_mode=None, backend_type=None, remark=None, group_id=None, body_remark=None, result_normal_sample=None, result_failure_sample=None, authorizer_id=None, tags=None, response_id=None, roma_app_id=None, domain_name=None, tag=None, content_type=None, id=None, status=None, arrange_necessary=None, register_time=None, update_time=None, group_name=None, group_version=None, run_env_id=None, run_env_name=None, publish_id=None, publish_time=None, roma_app_name=None, ld_api_id=None, backend_api=None, api_group_info=None, req_params=None): + def __init__(self, name=None, type=None, version=None, req_protocol=None, req_method=None, req_uri=None, auth_type=None, auth_opt=None, cors=None, match_mode=None, backend_type=None, remark=None, group_id=None, body_remark=None, result_normal_sample=None, result_failure_sample=None, authorizer_id=None, tags=None, response_id=None, roma_app_id=None, domain_name=None, tag=None, content_type=None, is_send_fg_body_base64=None, id=None, status=None, arrange_necessary=None, register_time=None, update_time=None, group_name=None, group_version=None, run_env_id=None, run_env_name=None, publish_id=None, publish_time=None, roma_app_name=None, ld_api_id=None, backend_api=None, api_group_info=None, req_params=None): """ApiInfoPerPage The model defined in huaweicloud sdk @@ -137,7 +139,7 @@ def __init__(self, name=None, type=None, version=None, req_protocol=None, req_me :type result_normal_sample: str :param result_failure_sample: 失败返回示例,描述API的异常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。 当API的请求协议为GRPC类型时不支持配置。 :type result_failure_sample: str - :param authorizer_id: 前端自定义认证对象的ID,API请求协议为GRPC类型时不支持前端自定义认证 + :param authorizer_id: 前端自定义认证对象的ID :type authorizer_id: str :param tags: 标签。 支持英文,数字,中文,特殊符号(-*#%.:_),且只能以中文或英文开头。 默认支持10个标签,如需扩大配额请联系技术工程师修改API_TAG_NUM_LIMIT配置。 :type tags: list[str] @@ -149,8 +151,10 @@ def __init__(self, name=None, type=None, version=None, req_protocol=None, req_me :type domain_name: str :param tag: 标签 待废弃,优先使用tags字段 :type tag: str - :param content_type: 请求内容格式类型: application/json application/xml multipart/form-data text/plain 暂不支持 + :param content_type: 请求内容格式类型: application/json application/xml multipart/form-data text/plain :type content_type: str + :param is_send_fg_body_base64: 是否对与FunctionGraph交互场景的body进行Base64编码。仅当content_type为application/json时,可以不对body进行Base64编码。 应用场景: - 自定义认证 - 绑定断路器插件,且断路器后端降级策略为函数后端 - API后端类型为函数工作流 + :type is_send_fg_body_base64: bool :param id: API编号 :type id: str :param status: API状态 - 1: 有效 @@ -210,6 +214,7 @@ def __init__(self, name=None, type=None, version=None, req_protocol=None, req_me self._domain_name = None self._tag = None self._content_type = None + self._is_send_fg_body_base64 = None self._id = None self._status = None self._arrange_necessary = None @@ -266,6 +271,8 @@ def __init__(self, name=None, type=None, version=None, req_protocol=None, req_me self.tag = tag if content_type is not None: self.content_type = content_type + if is_send_fg_body_base64 is not None: + self.is_send_fg_body_base64 = is_send_fg_body_base64 if id is not None: self.id = id if status is not None: @@ -651,7 +658,7 @@ def result_failure_sample(self, result_failure_sample): def authorizer_id(self): """Gets the authorizer_id of this ApiInfoPerPage. - 前端自定义认证对象的ID,API请求协议为GRPC类型时不支持前端自定义认证 + 前端自定义认证对象的ID :return: The authorizer_id of this ApiInfoPerPage. :rtype: str @@ -662,7 +669,7 @@ def authorizer_id(self): def authorizer_id(self, authorizer_id): """Sets the authorizer_id of this ApiInfoPerPage. - 前端自定义认证对象的ID,API请求协议为GRPC类型时不支持前端自定义认证 + 前端自定义认证对象的ID :param authorizer_id: The authorizer_id of this ApiInfoPerPage. :type authorizer_id: str @@ -783,7 +790,7 @@ def tag(self, tag): def content_type(self): """Gets the content_type of this ApiInfoPerPage. - 请求内容格式类型: application/json application/xml multipart/form-data text/plain 暂不支持 + 请求内容格式类型: application/json application/xml multipart/form-data text/plain :return: The content_type of this ApiInfoPerPage. :rtype: str @@ -794,13 +801,35 @@ def content_type(self): def content_type(self, content_type): """Sets the content_type of this ApiInfoPerPage. - 请求内容格式类型: application/json application/xml multipart/form-data text/plain 暂不支持 + 请求内容格式类型: application/json application/xml multipart/form-data text/plain :param content_type: The content_type of this ApiInfoPerPage. :type content_type: str """ self._content_type = content_type + @property + def is_send_fg_body_base64(self): + """Gets the is_send_fg_body_base64 of this ApiInfoPerPage. + + 是否对与FunctionGraph交互场景的body进行Base64编码。仅当content_type为application/json时,可以不对body进行Base64编码。 应用场景: - 自定义认证 - 绑定断路器插件,且断路器后端降级策略为函数后端 - API后端类型为函数工作流 + + :return: The is_send_fg_body_base64 of this ApiInfoPerPage. + :rtype: bool + """ + return self._is_send_fg_body_base64 + + @is_send_fg_body_base64.setter + def is_send_fg_body_base64(self, is_send_fg_body_base64): + """Sets the is_send_fg_body_base64 of this ApiInfoPerPage. + + 是否对与FunctionGraph交互场景的body进行Base64编码。仅当content_type为application/json时,可以不对body进行Base64编码。 应用场景: - 自定义认证 - 绑定断路器插件,且断路器后端降级策略为函数后端 - API后端类型为函数工作流 + + :param is_send_fg_body_base64: The is_send_fg_body_base64 of this ApiInfoPerPage. + :type is_send_fg_body_base64: bool + """ + self._is_send_fg_body_base64 = is_send_fg_body_base64 + @property def id(self): """Gets the id of this ApiInfoPerPage. diff --git a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/api_resp_base_info.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/api_resp_base_info.py index ef8d6173e4..3f435608ce 100644 --- a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/api_resp_base_info.py +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/api_resp_base_info.py @@ -40,6 +40,7 @@ class ApiRespBaseInfo: 'domain_name': 'str', 'tag': 'str', 'content_type': 'str', + 'is_send_fg_body_base64': 'bool', 'id': 'str', 'status': 'int', 'arrange_necessary': 'int', @@ -81,6 +82,7 @@ class ApiRespBaseInfo: 'domain_name': 'domain_name', 'tag': 'tag', 'content_type': 'content_type', + 'is_send_fg_body_base64': 'is_send_fg_body_base64', 'id': 'id', 'status': 'status', 'arrange_necessary': 'arrange_necessary', @@ -98,7 +100,7 @@ class ApiRespBaseInfo: 'api_group_info': 'api_group_info' } - def __init__(self, name=None, type=None, version=None, req_protocol=None, req_method=None, req_uri=None, auth_type=None, auth_opt=None, cors=None, match_mode=None, backend_type=None, remark=None, group_id=None, body_remark=None, result_normal_sample=None, result_failure_sample=None, authorizer_id=None, tags=None, response_id=None, roma_app_id=None, domain_name=None, tag=None, content_type=None, id=None, status=None, arrange_necessary=None, register_time=None, update_time=None, group_name=None, group_version=None, run_env_id=None, run_env_name=None, publish_id=None, publish_time=None, roma_app_name=None, ld_api_id=None, backend_api=None, api_group_info=None): + def __init__(self, name=None, type=None, version=None, req_protocol=None, req_method=None, req_uri=None, auth_type=None, auth_opt=None, cors=None, match_mode=None, backend_type=None, remark=None, group_id=None, body_remark=None, result_normal_sample=None, result_failure_sample=None, authorizer_id=None, tags=None, response_id=None, roma_app_id=None, domain_name=None, tag=None, content_type=None, is_send_fg_body_base64=None, id=None, status=None, arrange_necessary=None, register_time=None, update_time=None, group_name=None, group_version=None, run_env_id=None, run_env_name=None, publish_id=None, publish_time=None, roma_app_name=None, ld_api_id=None, backend_api=None, api_group_info=None): """ApiRespBaseInfo The model defined in huaweicloud sdk @@ -135,7 +137,7 @@ def __init__(self, name=None, type=None, version=None, req_protocol=None, req_me :type result_normal_sample: str :param result_failure_sample: 失败返回示例,描述API的异常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。 当API的请求协议为GRPC类型时不支持配置。 :type result_failure_sample: str - :param authorizer_id: 前端自定义认证对象的ID,API请求协议为GRPC类型时不支持前端自定义认证 + :param authorizer_id: 前端自定义认证对象的ID :type authorizer_id: str :param tags: 标签。 支持英文,数字,中文,特殊符号(-*#%.:_),且只能以中文或英文开头。 默认支持10个标签,如需扩大配额请联系技术工程师修改API_TAG_NUM_LIMIT配置。 :type tags: list[str] @@ -147,8 +149,10 @@ def __init__(self, name=None, type=None, version=None, req_protocol=None, req_me :type domain_name: str :param tag: 标签 待废弃,优先使用tags字段 :type tag: str - :param content_type: 请求内容格式类型: application/json application/xml multipart/form-data text/plain 暂不支持 + :param content_type: 请求内容格式类型: application/json application/xml multipart/form-data text/plain :type content_type: str + :param is_send_fg_body_base64: 是否对与FunctionGraph交互场景的body进行Base64编码。仅当content_type为application/json时,可以不对body进行Base64编码。 应用场景: - 自定义认证 - 绑定断路器插件,且断路器后端降级策略为函数后端 - API后端类型为函数工作流 + :type is_send_fg_body_base64: bool :param id: API编号 :type id: str :param status: API状态 - 1: 有效 @@ -206,6 +210,7 @@ def __init__(self, name=None, type=None, version=None, req_protocol=None, req_me self._domain_name = None self._tag = None self._content_type = None + self._is_send_fg_body_base64 = None self._id = None self._status = None self._arrange_necessary = None @@ -261,6 +266,8 @@ def __init__(self, name=None, type=None, version=None, req_protocol=None, req_me self.tag = tag if content_type is not None: self.content_type = content_type + if is_send_fg_body_base64 is not None: + self.is_send_fg_body_base64 = is_send_fg_body_base64 if id is not None: self.id = id if status is not None: @@ -644,7 +651,7 @@ def result_failure_sample(self, result_failure_sample): def authorizer_id(self): """Gets the authorizer_id of this ApiRespBaseInfo. - 前端自定义认证对象的ID,API请求协议为GRPC类型时不支持前端自定义认证 + 前端自定义认证对象的ID :return: The authorizer_id of this ApiRespBaseInfo. :rtype: str @@ -655,7 +662,7 @@ def authorizer_id(self): def authorizer_id(self, authorizer_id): """Sets the authorizer_id of this ApiRespBaseInfo. - 前端自定义认证对象的ID,API请求协议为GRPC类型时不支持前端自定义认证 + 前端自定义认证对象的ID :param authorizer_id: The authorizer_id of this ApiRespBaseInfo. :type authorizer_id: str @@ -776,7 +783,7 @@ def tag(self, tag): def content_type(self): """Gets the content_type of this ApiRespBaseInfo. - 请求内容格式类型: application/json application/xml multipart/form-data text/plain 暂不支持 + 请求内容格式类型: application/json application/xml multipart/form-data text/plain :return: The content_type of this ApiRespBaseInfo. :rtype: str @@ -787,13 +794,35 @@ def content_type(self): def content_type(self, content_type): """Sets the content_type of this ApiRespBaseInfo. - 请求内容格式类型: application/json application/xml multipart/form-data text/plain 暂不支持 + 请求内容格式类型: application/json application/xml multipart/form-data text/plain :param content_type: The content_type of this ApiRespBaseInfo. :type content_type: str """ self._content_type = content_type + @property + def is_send_fg_body_base64(self): + """Gets the is_send_fg_body_base64 of this ApiRespBaseInfo. + + 是否对与FunctionGraph交互场景的body进行Base64编码。仅当content_type为application/json时,可以不对body进行Base64编码。 应用场景: - 自定义认证 - 绑定断路器插件,且断路器后端降级策略为函数后端 - API后端类型为函数工作流 + + :return: The is_send_fg_body_base64 of this ApiRespBaseInfo. + :rtype: bool + """ + return self._is_send_fg_body_base64 + + @is_send_fg_body_base64.setter + def is_send_fg_body_base64(self, is_send_fg_body_base64): + """Sets the is_send_fg_body_base64 of this ApiRespBaseInfo. + + 是否对与FunctionGraph交互场景的body进行Base64编码。仅当content_type为application/json时,可以不对body进行Base64编码。 应用场景: - 自定义认证 - 绑定断路器插件,且断路器后端降级策略为函数后端 - API后端类型为函数工作流 + + :param is_send_fg_body_base64: The is_send_fg_body_base64 of this ApiRespBaseInfo. + :type is_send_fg_body_base64: bool + """ + self._is_send_fg_body_base64 = is_send_fg_body_base64 + @property def id(self): """Gets the id of this ApiRespBaseInfo. diff --git a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/attached_plugin_info.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/attached_plugin_info.py index fe52b79b3d..517a0a8610 100644 --- a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/attached_plugin_info.py +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/attached_plugin_info.py @@ -57,7 +57,7 @@ def __init__(self, plugin_attach_id=None, plugin_id=None, plugin_name=None, plug :type plugin_id: str :param plugin_name: 插件名称。支持汉字,英文,数字,中划线,下划线,且只能以英文和汉字开头,3-255字符 > 中文字符必须为UTF-8或者unicode编码。 :type plugin_name: str - :param plugin_type: 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送 - breaker:断路器 - rate_limit: 流量控制 - third_auth: 第三方认证 + :param plugin_type: 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送 - breaker:断路器 - rate_limit: 流量控制 - third_auth: 第三方认证 - proxy_cache: 响应缓存 :type plugin_type: str :param plugin_scope: 插件可见范围。global:全局可见。 :type plugin_scope: str @@ -188,7 +188,7 @@ def plugin_name(self, plugin_name): def plugin_type(self): """Gets the plugin_type of this AttachedPluginInfo. - 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送 - breaker:断路器 - rate_limit: 流量控制 - third_auth: 第三方认证 + 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送 - breaker:断路器 - rate_limit: 流量控制 - third_auth: 第三方认证 - proxy_cache: 响应缓存 :return: The plugin_type of this AttachedPluginInfo. :rtype: str @@ -199,7 +199,7 @@ def plugin_type(self): def plugin_type(self, plugin_type): """Sets the plugin_type of this AttachedPluginInfo. - 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送 - breaker:断路器 - rate_limit: 流量控制 - third_auth: 第三方认证 + 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送 - breaker:断路器 - rate_limit: 流量控制 - third_auth: 第三方认证 - proxy_cache: 响应缓存 :param plugin_type: The plugin_type of this AttachedPluginInfo. :type plugin_type: str diff --git a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/base_signature.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/base_signature.py index a1a42f8bf2..6300c2a44d 100644 --- a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/base_signature.py +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/base_signature.py @@ -39,7 +39,7 @@ def __init__(self, name=None, sign_type=None, sign_key=None, sign_secret=None, s :param name: 签名密钥的名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头。 > 中文字符必须为UTF-8或者unicode编码。 :type name: str - :param sign_type: 签名密钥类型: - hmac - basic - public_key - aes basic类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIG特性”,如确认实例不存在public_key配置可联系技术工程师开启。 aes类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 + :param sign_type: 签名密钥类型: - hmac - basic - public_key - aes basic类型需要实例升级到对应版本,如果不存在可联系技术工程师升级。 public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIG特性”,如确认实例不存在public_key配置可联系技术工程师开启。 aes类型需要实例升级到对应版本,如果不存在可联系技术工程师升级。 :type sign_type: str :param sign_key: 签名密钥的key。 - hmac类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母或数字开头,8 ~ 32字符。未填写时后台自动生成。 - basic类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母开头,4 ~ 32字符。未填写时后台自动生成。 - public_key类型的签名密钥key:支持英文,数字,下划线,中划线,+,/,=,可以英文字母,数字,+,/开头,8 ~ 512字符。未填写时后台自动生成。 - aes类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,签名算法为aes-128-cfb时为16个字符,签名算法为aes-256-cfb时为32个字符。未填写时后台自动生成。 :type sign_key: str @@ -94,7 +94,7 @@ def name(self, name): def sign_type(self): """Gets the sign_type of this BaseSignature. - 签名密钥类型: - hmac - basic - public_key - aes basic类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIG特性”,如确认实例不存在public_key配置可联系技术工程师开启。 aes类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 + 签名密钥类型: - hmac - basic - public_key - aes basic类型需要实例升级到对应版本,如果不存在可联系技术工程师升级。 public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIG特性”,如确认实例不存在public_key配置可联系技术工程师开启。 aes类型需要实例升级到对应版本,如果不存在可联系技术工程师升级。 :return: The sign_type of this BaseSignature. :rtype: str @@ -105,7 +105,7 @@ def sign_type(self): def sign_type(self, sign_type): """Sets the sign_type of this BaseSignature. - 签名密钥类型: - hmac - basic - public_key - aes basic类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIG特性”,如确认实例不存在public_key配置可联系技术工程师开启。 aes类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 + 签名密钥类型: - hmac - basic - public_key - aes basic类型需要实例升级到对应版本,如果不存在可联系技术工程师升级。 public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIG特性”,如确认实例不存在public_key配置可联系技术工程师开启。 aes类型需要实例升级到对应版本,如果不存在可联系技术工程师升级。 :param sign_type: The sign_type of this BaseSignature. :type sign_type: str diff --git a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/codition_resp.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/codition_resp.py index 078a69ec84..a5d1401521 100644 --- a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/codition_resp.py +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/codition_resp.py @@ -24,6 +24,8 @@ class CoditionResp: 'condition_type': 'str', 'condition_origin': 'str', 'condition_value': 'str', + 'mapped_param_name': 'str', + 'mapped_param_location': 'str', 'id': 'str', 'req_param_id': 'str', 'req_param_location': 'str' @@ -37,12 +39,14 @@ class CoditionResp: 'condition_type': 'condition_type', 'condition_origin': 'condition_origin', 'condition_value': 'condition_value', + 'mapped_param_name': 'mapped_param_name', + 'mapped_param_location': 'mapped_param_location', 'id': 'id', 'req_param_id': 'req_param_id', 'req_param_location': 'req_param_location' } - def __init__(self, req_param_name=None, sys_param_name=None, cookie_param_name=None, frontend_authorizer_param_name=None, condition_type=None, condition_origin=None, condition_value=None, id=None, req_param_id=None, req_param_location=None): + def __init__(self, req_param_name=None, sys_param_name=None, cookie_param_name=None, frontend_authorizer_param_name=None, condition_type=None, condition_origin=None, condition_value=None, mapped_param_name=None, mapped_param_location=None, id=None, req_param_id=None, req_param_location=None): """CoditionResp The model defined in huaweicloud sdk @@ -59,8 +63,12 @@ def __init__(self, req_param_name=None, sys_param_name=None, cookie_param_name=N :type condition_type: str :param condition_origin: 策略类型 - param:参数 - source:源IP - system: 系统参数-网关内置参数 - cookie: COOKIE参数 - frontend_authorizer: 系统参数-前端认证参数 :type condition_origin: str - :param condition_value: 策略值。策略类型为param,source,cookie,frontend_authorizer时必填 + :param condition_value: 策略值。 :type condition_value: str + :param mapped_param_name: 参数编排规则编排后生成的参数名称,当condition_origin为orchestration的时候必填,并且生成的参数名称必须在api绑定的编排规则中存在 + :type mapped_param_name: str + :param mapped_param_location: 参数编排规则编排后生成的参数所在的位置,当condition_origin为orchestration的时候必填,并且生成的参数所在的位置必须在api绑定的编排规则中存在 + :type mapped_param_location: str :param id: 编号 :type id: str :param req_param_id: 关联的请求参数对象编号 @@ -78,6 +86,8 @@ def __init__(self, req_param_name=None, sys_param_name=None, cookie_param_name=N self._condition_type = None self._condition_origin = None self._condition_value = None + self._mapped_param_name = None + self._mapped_param_location = None self._id = None self._req_param_id = None self._req_param_location = None @@ -95,6 +105,10 @@ def __init__(self, req_param_name=None, sys_param_name=None, cookie_param_name=N self.condition_type = condition_type self.condition_origin = condition_origin self.condition_value = condition_value + if mapped_param_name is not None: + self.mapped_param_name = mapped_param_name + if mapped_param_location is not None: + self.mapped_param_location = mapped_param_location if id is not None: self.id = id if req_param_id is not None: @@ -238,7 +252,7 @@ def condition_origin(self, condition_origin): def condition_value(self): """Gets the condition_value of this CoditionResp. - 策略值。策略类型为param,source,cookie,frontend_authorizer时必填 + 策略值。 :return: The condition_value of this CoditionResp. :rtype: str @@ -249,13 +263,57 @@ def condition_value(self): def condition_value(self, condition_value): """Sets the condition_value of this CoditionResp. - 策略值。策略类型为param,source,cookie,frontend_authorizer时必填 + 策略值。 :param condition_value: The condition_value of this CoditionResp. :type condition_value: str """ self._condition_value = condition_value + @property + def mapped_param_name(self): + """Gets the mapped_param_name of this CoditionResp. + + 参数编排规则编排后生成的参数名称,当condition_origin为orchestration的时候必填,并且生成的参数名称必须在api绑定的编排规则中存在 + + :return: The mapped_param_name of this CoditionResp. + :rtype: str + """ + return self._mapped_param_name + + @mapped_param_name.setter + def mapped_param_name(self, mapped_param_name): + """Sets the mapped_param_name of this CoditionResp. + + 参数编排规则编排后生成的参数名称,当condition_origin为orchestration的时候必填,并且生成的参数名称必须在api绑定的编排规则中存在 + + :param mapped_param_name: The mapped_param_name of this CoditionResp. + :type mapped_param_name: str + """ + self._mapped_param_name = mapped_param_name + + @property + def mapped_param_location(self): + """Gets the mapped_param_location of this CoditionResp. + + 参数编排规则编排后生成的参数所在的位置,当condition_origin为orchestration的时候必填,并且生成的参数所在的位置必须在api绑定的编排规则中存在 + + :return: The mapped_param_location of this CoditionResp. + :rtype: str + """ + return self._mapped_param_location + + @mapped_param_location.setter + def mapped_param_location(self, mapped_param_location): + """Sets the mapped_param_location of this CoditionResp. + + 参数编排规则编排后生成的参数所在的位置,当condition_origin为orchestration的时候必填,并且生成的参数所在的位置必须在api绑定的编排规则中存在 + + :param mapped_param_location: The mapped_param_location of this CoditionResp. + :type mapped_param_location: str + """ + self._mapped_param_location = mapped_param_location + @property def id(self): """Gets the id of this CoditionResp. diff --git a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/create_api_v2_response.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/create_api_v2_response.py index 2804d7e667..824c97cfa2 100644 --- a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/create_api_v2_response.py +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/create_api_v2_response.py @@ -41,6 +41,7 @@ class CreateApiV2Response(SdkResponse): 'domain_name': 'str', 'tag': 'str', 'content_type': 'str', + 'is_send_fg_body_base64': 'bool', 'id': 'str', 'status': 'int', 'arrange_necessary': 'int', @@ -89,6 +90,7 @@ class CreateApiV2Response(SdkResponse): 'domain_name': 'domain_name', 'tag': 'tag', 'content_type': 'content_type', + 'is_send_fg_body_base64': 'is_send_fg_body_base64', 'id': 'id', 'status': 'status', 'arrange_necessary': 'arrange_necessary', @@ -113,7 +115,7 @@ class CreateApiV2Response(SdkResponse): 'policy_https': 'policy_https' } - def __init__(self, name=None, type=None, version=None, req_protocol=None, req_method=None, req_uri=None, auth_type=None, auth_opt=None, cors=None, match_mode=None, backend_type=None, remark=None, group_id=None, body_remark=None, result_normal_sample=None, result_failure_sample=None, authorizer_id=None, tags=None, response_id=None, roma_app_id=None, domain_name=None, tag=None, content_type=None, id=None, status=None, arrange_necessary=None, register_time=None, update_time=None, group_name=None, group_version=None, run_env_id=None, run_env_name=None, publish_id=None, publish_time=None, roma_app_name=None, ld_api_id=None, backend_api=None, api_group_info=None, func_info=None, mock_info=None, req_params=None, backend_params=None, policy_functions=None, policy_mocks=None, policy_https=None): + def __init__(self, name=None, type=None, version=None, req_protocol=None, req_method=None, req_uri=None, auth_type=None, auth_opt=None, cors=None, match_mode=None, backend_type=None, remark=None, group_id=None, body_remark=None, result_normal_sample=None, result_failure_sample=None, authorizer_id=None, tags=None, response_id=None, roma_app_id=None, domain_name=None, tag=None, content_type=None, is_send_fg_body_base64=None, id=None, status=None, arrange_necessary=None, register_time=None, update_time=None, group_name=None, group_version=None, run_env_id=None, run_env_name=None, publish_id=None, publish_time=None, roma_app_name=None, ld_api_id=None, backend_api=None, api_group_info=None, func_info=None, mock_info=None, req_params=None, backend_params=None, policy_functions=None, policy_mocks=None, policy_https=None): """CreateApiV2Response The model defined in huaweicloud sdk @@ -150,7 +152,7 @@ def __init__(self, name=None, type=None, version=None, req_protocol=None, req_me :type result_normal_sample: str :param result_failure_sample: 失败返回示例,描述API的异常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。 当API的请求协议为GRPC类型时不支持配置。 :type result_failure_sample: str - :param authorizer_id: 前端自定义认证对象的ID,API请求协议为GRPC类型时不支持前端自定义认证 + :param authorizer_id: 前端自定义认证对象的ID :type authorizer_id: str :param tags: 标签。 支持英文,数字,中文,特殊符号(-*#%.:_),且只能以中文或英文开头。 默认支持10个标签,如需扩大配额请联系技术工程师修改API_TAG_NUM_LIMIT配置。 :type tags: list[str] @@ -162,8 +164,10 @@ def __init__(self, name=None, type=None, version=None, req_protocol=None, req_me :type domain_name: str :param tag: 标签 待废弃,优先使用tags字段 :type tag: str - :param content_type: 请求内容格式类型: application/json application/xml multipart/form-data text/plain 暂不支持 + :param content_type: 请求内容格式类型: application/json application/xml multipart/form-data text/plain :type content_type: str + :param is_send_fg_body_base64: 是否对与FunctionGraph交互场景的body进行Base64编码。仅当content_type为application/json时,可以不对body进行Base64编码。 应用场景: - 自定义认证 - 绑定断路器插件,且断路器后端降级策略为函数后端 - API后端类型为函数工作流 + :type is_send_fg_body_base64: bool :param id: API编号 :type id: str :param status: API状态 - 1: 有效 @@ -235,6 +239,7 @@ def __init__(self, name=None, type=None, version=None, req_protocol=None, req_me self._domain_name = None self._tag = None self._content_type = None + self._is_send_fg_body_base64 = None self._id = None self._status = None self._arrange_necessary = None @@ -297,6 +302,8 @@ def __init__(self, name=None, type=None, version=None, req_protocol=None, req_me self.tag = tag if content_type is not None: self.content_type = content_type + if is_send_fg_body_base64 is not None: + self.is_send_fg_body_base64 = is_send_fg_body_base64 if id is not None: self.id = id if status is not None: @@ -694,7 +701,7 @@ def result_failure_sample(self, result_failure_sample): def authorizer_id(self): """Gets the authorizer_id of this CreateApiV2Response. - 前端自定义认证对象的ID,API请求协议为GRPC类型时不支持前端自定义认证 + 前端自定义认证对象的ID :return: The authorizer_id of this CreateApiV2Response. :rtype: str @@ -705,7 +712,7 @@ def authorizer_id(self): def authorizer_id(self, authorizer_id): """Sets the authorizer_id of this CreateApiV2Response. - 前端自定义认证对象的ID,API请求协议为GRPC类型时不支持前端自定义认证 + 前端自定义认证对象的ID :param authorizer_id: The authorizer_id of this CreateApiV2Response. :type authorizer_id: str @@ -826,7 +833,7 @@ def tag(self, tag): def content_type(self): """Gets the content_type of this CreateApiV2Response. - 请求内容格式类型: application/json application/xml multipart/form-data text/plain 暂不支持 + 请求内容格式类型: application/json application/xml multipart/form-data text/plain :return: The content_type of this CreateApiV2Response. :rtype: str @@ -837,13 +844,35 @@ def content_type(self): def content_type(self, content_type): """Sets the content_type of this CreateApiV2Response. - 请求内容格式类型: application/json application/xml multipart/form-data text/plain 暂不支持 + 请求内容格式类型: application/json application/xml multipart/form-data text/plain :param content_type: The content_type of this CreateApiV2Response. :type content_type: str """ self._content_type = content_type + @property + def is_send_fg_body_base64(self): + """Gets the is_send_fg_body_base64 of this CreateApiV2Response. + + 是否对与FunctionGraph交互场景的body进行Base64编码。仅当content_type为application/json时,可以不对body进行Base64编码。 应用场景: - 自定义认证 - 绑定断路器插件,且断路器后端降级策略为函数后端 - API后端类型为函数工作流 + + :return: The is_send_fg_body_base64 of this CreateApiV2Response. + :rtype: bool + """ + return self._is_send_fg_body_base64 + + @is_send_fg_body_base64.setter + def is_send_fg_body_base64(self, is_send_fg_body_base64): + """Sets the is_send_fg_body_base64 of this CreateApiV2Response. + + 是否对与FunctionGraph交互场景的body进行Base64编码。仅当content_type为application/json时,可以不对body进行Base64编码。 应用场景: - 自定义认证 - 绑定断路器插件,且断路器后端降级策略为函数后端 - API后端类型为函数工作流 + + :param is_send_fg_body_base64: The is_send_fg_body_base64 of this CreateApiV2Response. + :type is_send_fg_body_base64: bool + """ + self._is_send_fg_body_base64 = is_send_fg_body_base64 + @property def id(self): """Gets the id of this CreateApiV2Response. diff --git a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/create_orchestration_request.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/create_orchestration_request.py new file mode 100644 index 0000000000..f387273880 --- /dev/null +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/create_orchestration_request.py @@ -0,0 +1,139 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class CreateOrchestrationRequest: + + """ + 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', + 'body': 'OrchestrationCreate' + } + + attribute_map = { + 'instance_id': 'instance_id', + 'body': 'body' + } + + def __init__(self, instance_id=None, body=None): + """CreateOrchestrationRequest + + The model defined in huaweicloud sdk + + :param instance_id: 实例ID,在API网关控制台的“实例信息”中获取。 + :type instance_id: str + :param body: Body of the CreateOrchestrationRequest + :type body: :class:`huaweicloudsdkapig.v2.OrchestrationCreate` + """ + + + + self._instance_id = None + self._body = None + self.discriminator = None + + self.instance_id = instance_id + if body is not None: + self.body = body + + @property + def instance_id(self): + """Gets the instance_id of this CreateOrchestrationRequest. + + 实例ID,在API网关控制台的“实例信息”中获取。 + + :return: The instance_id of this CreateOrchestrationRequest. + :rtype: str + """ + return self._instance_id + + @instance_id.setter + def instance_id(self, instance_id): + """Sets the instance_id of this CreateOrchestrationRequest. + + 实例ID,在API网关控制台的“实例信息”中获取。 + + :param instance_id: The instance_id of this CreateOrchestrationRequest. + :type instance_id: str + """ + self._instance_id = instance_id + + @property + def body(self): + """Gets the body of this CreateOrchestrationRequest. + + :return: The body of this CreateOrchestrationRequest. + :rtype: :class:`huaweicloudsdkapig.v2.OrchestrationCreate` + """ + return self._body + + @body.setter + def body(self, body): + """Sets the body of this CreateOrchestrationRequest. + + :param body: The body of this CreateOrchestrationRequest. + :type body: :class:`huaweicloudsdkapig.v2.OrchestrationCreate` + """ + 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, CreateOrchestrationRequest): + 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-apig/huaweicloudsdkapig/v2/model/create_orchestration_response.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/create_orchestration_response.py new file mode 100644 index 0000000000..dd86f3b2f9 --- /dev/null +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/create_orchestration_response.py @@ -0,0 +1,313 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_response import SdkResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class CreateOrchestrationResponse(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 = { + 'orchestration_name': 'str', + 'orchestration_strategy': 'str', + 'orchestration_mapped_param': 'OrchestrationMappedParam', + 'is_preprocessing': 'bool', + 'orchestration_map': 'list[OrchestrationMap]', + 'orchestration_id': 'str', + 'orchestration_create_time': 'datetime', + 'orchestration_update_time': 'datetime' + } + + attribute_map = { + 'orchestration_name': 'orchestration_name', + 'orchestration_strategy': 'orchestration_strategy', + 'orchestration_mapped_param': 'orchestration_mapped_param', + 'is_preprocessing': 'is_preprocessing', + 'orchestration_map': 'orchestration_map', + 'orchestration_id': 'orchestration_id', + 'orchestration_create_time': 'orchestration_create_time', + 'orchestration_update_time': 'orchestration_update_time' + } + + def __init__(self, orchestration_name=None, orchestration_strategy=None, orchestration_mapped_param=None, is_preprocessing=None, orchestration_map=None, orchestration_id=None, orchestration_create_time=None, orchestration_update_time=None): + """CreateOrchestrationResponse + + The model defined in huaweicloud sdk + + :param orchestration_name: 编排映射规则名称。 支持英文,数字,下划线,且只能以英文开头,3-64个字符,同一实例下不允许重名。 + :type orchestration_name: str + :param orchestration_strategy: 编排策略,有以下几种策略类型: - list:列表; - hash:哈希; - range:区间; - hash_range: 哈希+区间; - none_value: 空值映射; - default: 默认值映射; - head_n: 截取前n项; - tail_n: 截取后n项; 当编排策略为list时,orchestration_map列表长度*map_param_list长度不超过3000。 + :type orchestration_strategy: str + :param orchestration_mapped_param: + :type orchestration_mapped_param: :class:`huaweicloudsdkapig.v2.OrchestrationMappedParam` + :param is_preprocessing: 是否为预处理策略,预处理策略只会生成临时参数作为后面参数编排规则的入参标记。当为预处理策略时,该编排规则不能作为除default之外的最后一个编排规则。 + :type is_preprocessing: bool + :param orchestration_map: 编排映射规则列表,列表长度范围为1-300。 编排映射规则的生效优先级与列表顺序保持一致,列表中靠前的配置匹配优先级较高。 映射规则不能重复,当orchestration_strategy=list时,map_param_list的列表也不能包含重复元素。 + :type orchestration_map: list[:class:`huaweicloudsdkapig.v2.OrchestrationMap`] + :param orchestration_id: 编排规则编号。 + :type orchestration_id: str + :param orchestration_create_time: 编排规则创建时间。 + :type orchestration_create_time: datetime + :param orchestration_update_time: 编排规则更新时间。 + :type orchestration_update_time: datetime + """ + + super(CreateOrchestrationResponse, self).__init__() + + self._orchestration_name = None + self._orchestration_strategy = None + self._orchestration_mapped_param = None + self._is_preprocessing = None + self._orchestration_map = None + self._orchestration_id = None + self._orchestration_create_time = None + self._orchestration_update_time = None + self.discriminator = None + + self.orchestration_name = orchestration_name + self.orchestration_strategy = orchestration_strategy + if orchestration_mapped_param is not None: + self.orchestration_mapped_param = orchestration_mapped_param + if is_preprocessing is not None: + self.is_preprocessing = is_preprocessing + if orchestration_map is not None: + self.orchestration_map = orchestration_map + if orchestration_id is not None: + self.orchestration_id = orchestration_id + if orchestration_create_time is not None: + self.orchestration_create_time = orchestration_create_time + if orchestration_update_time is not None: + self.orchestration_update_time = orchestration_update_time + + @property + def orchestration_name(self): + """Gets the orchestration_name of this CreateOrchestrationResponse. + + 编排映射规则名称。 支持英文,数字,下划线,且只能以英文开头,3-64个字符,同一实例下不允许重名。 + + :return: The orchestration_name of this CreateOrchestrationResponse. + :rtype: str + """ + return self._orchestration_name + + @orchestration_name.setter + def orchestration_name(self, orchestration_name): + """Sets the orchestration_name of this CreateOrchestrationResponse. + + 编排映射规则名称。 支持英文,数字,下划线,且只能以英文开头,3-64个字符,同一实例下不允许重名。 + + :param orchestration_name: The orchestration_name of this CreateOrchestrationResponse. + :type orchestration_name: str + """ + self._orchestration_name = orchestration_name + + @property + def orchestration_strategy(self): + """Gets the orchestration_strategy of this CreateOrchestrationResponse. + + 编排策略,有以下几种策略类型: - list:列表; - hash:哈希; - range:区间; - hash_range: 哈希+区间; - none_value: 空值映射; - default: 默认值映射; - head_n: 截取前n项; - tail_n: 截取后n项; 当编排策略为list时,orchestration_map列表长度*map_param_list长度不超过3000。 + + :return: The orchestration_strategy of this CreateOrchestrationResponse. + :rtype: str + """ + return self._orchestration_strategy + + @orchestration_strategy.setter + def orchestration_strategy(self, orchestration_strategy): + """Sets the orchestration_strategy of this CreateOrchestrationResponse. + + 编排策略,有以下几种策略类型: - list:列表; - hash:哈希; - range:区间; - hash_range: 哈希+区间; - none_value: 空值映射; - default: 默认值映射; - head_n: 截取前n项; - tail_n: 截取后n项; 当编排策略为list时,orchestration_map列表长度*map_param_list长度不超过3000。 + + :param orchestration_strategy: The orchestration_strategy of this CreateOrchestrationResponse. + :type orchestration_strategy: str + """ + self._orchestration_strategy = orchestration_strategy + + @property + def orchestration_mapped_param(self): + """Gets the orchestration_mapped_param of this CreateOrchestrationResponse. + + :return: The orchestration_mapped_param of this CreateOrchestrationResponse. + :rtype: :class:`huaweicloudsdkapig.v2.OrchestrationMappedParam` + """ + return self._orchestration_mapped_param + + @orchestration_mapped_param.setter + def orchestration_mapped_param(self, orchestration_mapped_param): + """Sets the orchestration_mapped_param of this CreateOrchestrationResponse. + + :param orchestration_mapped_param: The orchestration_mapped_param of this CreateOrchestrationResponse. + :type orchestration_mapped_param: :class:`huaweicloudsdkapig.v2.OrchestrationMappedParam` + """ + self._orchestration_mapped_param = orchestration_mapped_param + + @property + def is_preprocessing(self): + """Gets the is_preprocessing of this CreateOrchestrationResponse. + + 是否为预处理策略,预处理策略只会生成临时参数作为后面参数编排规则的入参标记。当为预处理策略时,该编排规则不能作为除default之外的最后一个编排规则。 + + :return: The is_preprocessing of this CreateOrchestrationResponse. + :rtype: bool + """ + return self._is_preprocessing + + @is_preprocessing.setter + def is_preprocessing(self, is_preprocessing): + """Sets the is_preprocessing of this CreateOrchestrationResponse. + + 是否为预处理策略,预处理策略只会生成临时参数作为后面参数编排规则的入参标记。当为预处理策略时,该编排规则不能作为除default之外的最后一个编排规则。 + + :param is_preprocessing: The is_preprocessing of this CreateOrchestrationResponse. + :type is_preprocessing: bool + """ + self._is_preprocessing = is_preprocessing + + @property + def orchestration_map(self): + """Gets the orchestration_map of this CreateOrchestrationResponse. + + 编排映射规则列表,列表长度范围为1-300。 编排映射规则的生效优先级与列表顺序保持一致,列表中靠前的配置匹配优先级较高。 映射规则不能重复,当orchestration_strategy=list时,map_param_list的列表也不能包含重复元素。 + + :return: The orchestration_map of this CreateOrchestrationResponse. + :rtype: list[:class:`huaweicloudsdkapig.v2.OrchestrationMap`] + """ + return self._orchestration_map + + @orchestration_map.setter + def orchestration_map(self, orchestration_map): + """Sets the orchestration_map of this CreateOrchestrationResponse. + + 编排映射规则列表,列表长度范围为1-300。 编排映射规则的生效优先级与列表顺序保持一致,列表中靠前的配置匹配优先级较高。 映射规则不能重复,当orchestration_strategy=list时,map_param_list的列表也不能包含重复元素。 + + :param orchestration_map: The orchestration_map of this CreateOrchestrationResponse. + :type orchestration_map: list[:class:`huaweicloudsdkapig.v2.OrchestrationMap`] + """ + self._orchestration_map = orchestration_map + + @property + def orchestration_id(self): + """Gets the orchestration_id of this CreateOrchestrationResponse. + + 编排规则编号。 + + :return: The orchestration_id of this CreateOrchestrationResponse. + :rtype: str + """ + return self._orchestration_id + + @orchestration_id.setter + def orchestration_id(self, orchestration_id): + """Sets the orchestration_id of this CreateOrchestrationResponse. + + 编排规则编号。 + + :param orchestration_id: The orchestration_id of this CreateOrchestrationResponse. + :type orchestration_id: str + """ + self._orchestration_id = orchestration_id + + @property + def orchestration_create_time(self): + """Gets the orchestration_create_time of this CreateOrchestrationResponse. + + 编排规则创建时间。 + + :return: The orchestration_create_time of this CreateOrchestrationResponse. + :rtype: datetime + """ + return self._orchestration_create_time + + @orchestration_create_time.setter + def orchestration_create_time(self, orchestration_create_time): + """Sets the orchestration_create_time of this CreateOrchestrationResponse. + + 编排规则创建时间。 + + :param orchestration_create_time: The orchestration_create_time of this CreateOrchestrationResponse. + :type orchestration_create_time: datetime + """ + self._orchestration_create_time = orchestration_create_time + + @property + def orchestration_update_time(self): + """Gets the orchestration_update_time of this CreateOrchestrationResponse. + + 编排规则更新时间。 + + :return: The orchestration_update_time of this CreateOrchestrationResponse. + :rtype: datetime + """ + return self._orchestration_update_time + + @orchestration_update_time.setter + def orchestration_update_time(self, orchestration_update_time): + """Sets the orchestration_update_time of this CreateOrchestrationResponse. + + 编排规则更新时间。 + + :param orchestration_update_time: The orchestration_update_time of this CreateOrchestrationResponse. + :type orchestration_update_time: datetime + """ + self._orchestration_update_time = orchestration_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, CreateOrchestrationResponse): + 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-apig/huaweicloudsdkapig/v2/model/create_plugin_response.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/create_plugin_response.py index dc49c9436f..0b7d55ee49 100644 --- a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/create_plugin_response.py +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/create_plugin_response.py @@ -48,11 +48,11 @@ def __init__(self, plugin_id=None, plugin_name=None, plugin_type=None, plugin_sc :type plugin_id: str :param plugin_name: 插件名称。支持汉字,英文,数字,中划线,下划线,且只能以英文和汉字开头,3-255字符。 > 中文字符必须为UTF-8或者unicode编码。 :type plugin_name: str - :param plugin_type: 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送 - breaker:断路器 - rate_limit: 流量控制 - third_auth: 第三方认证 + :param plugin_type: 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送 - breaker:断路器 - rate_limit: 流量控制 - third_auth: 第三方认证 - proxy_cache: 响应缓存 :type plugin_type: str :param plugin_scope: 插件可见范围。global:全局可见; :type plugin_scope: str - :param plugin_content: 插件定义内容,支持json。参考提供的具体模型定义 CorsPluginContent:跨域资源共享 定义内容 SetRespHeadersContent:HTTP响应头管理 定义内容 KafkaLogContent:Kafka日志推送 定义内容 BreakerContent:断路器 定义内容 RateLimitContent 流量控制 定义内容 ThirdAuthContent: 第三方认证 定义内容 + :param plugin_content: 插件定义内容,支持json。参考提供的具体模型定义 CorsPluginContent:跨域资源共享 定义内容 SetRespHeadersContent:HTTP响应头管理 定义内容 KafkaLogContent:Kafka日志推送 定义内容 BreakerContent:断路器 定义内容 RateLimitContent 流量控制 定义内容 ThirdAuthContent: 第三方认证 定义内容 ProxyCacheContent: 响应缓存 定义内容 :type plugin_content: str :param remark: 插件描述,255字符。 > 中文字符必须为UTF-8或者unicode编码。 :type remark: str @@ -139,7 +139,7 @@ def plugin_name(self, plugin_name): def plugin_type(self): """Gets the plugin_type of this CreatePluginResponse. - 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送 - breaker:断路器 - rate_limit: 流量控制 - third_auth: 第三方认证 + 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送 - breaker:断路器 - rate_limit: 流量控制 - third_auth: 第三方认证 - proxy_cache: 响应缓存 :return: The plugin_type of this CreatePluginResponse. :rtype: str @@ -150,7 +150,7 @@ def plugin_type(self): def plugin_type(self, plugin_type): """Sets the plugin_type of this CreatePluginResponse. - 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送 - breaker:断路器 - rate_limit: 流量控制 - third_auth: 第三方认证 + 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送 - breaker:断路器 - rate_limit: 流量控制 - third_auth: 第三方认证 - proxy_cache: 响应缓存 :param plugin_type: The plugin_type of this CreatePluginResponse. :type plugin_type: str @@ -183,7 +183,7 @@ def plugin_scope(self, plugin_scope): def plugin_content(self): """Gets the plugin_content of this CreatePluginResponse. - 插件定义内容,支持json。参考提供的具体模型定义 CorsPluginContent:跨域资源共享 定义内容 SetRespHeadersContent:HTTP响应头管理 定义内容 KafkaLogContent:Kafka日志推送 定义内容 BreakerContent:断路器 定义内容 RateLimitContent 流量控制 定义内容 ThirdAuthContent: 第三方认证 定义内容 + 插件定义内容,支持json。参考提供的具体模型定义 CorsPluginContent:跨域资源共享 定义内容 SetRespHeadersContent:HTTP响应头管理 定义内容 KafkaLogContent:Kafka日志推送 定义内容 BreakerContent:断路器 定义内容 RateLimitContent 流量控制 定义内容 ThirdAuthContent: 第三方认证 定义内容 ProxyCacheContent: 响应缓存 定义内容 :return: The plugin_content of this CreatePluginResponse. :rtype: str @@ -194,7 +194,7 @@ def plugin_content(self): def plugin_content(self, plugin_content): """Sets the plugin_content of this CreatePluginResponse. - 插件定义内容,支持json。参考提供的具体模型定义 CorsPluginContent:跨域资源共享 定义内容 SetRespHeadersContent:HTTP响应头管理 定义内容 KafkaLogContent:Kafka日志推送 定义内容 BreakerContent:断路器 定义内容 RateLimitContent 流量控制 定义内容 ThirdAuthContent: 第三方认证 定义内容 + 插件定义内容,支持json。参考提供的具体模型定义 CorsPluginContent:跨域资源共享 定义内容 SetRespHeadersContent:HTTP响应头管理 定义内容 KafkaLogContent:Kafka日志推送 定义内容 BreakerContent:断路器 定义内容 RateLimitContent 流量控制 定义内容 ThirdAuthContent: 第三方认证 定义内容 ProxyCacheContent: 响应缓存 定义内容 :param plugin_content: The plugin_content of this CreatePluginResponse. :type plugin_content: str diff --git a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/create_signature_key_v2_response.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/create_signature_key_v2_response.py index 87dc080c34..ef55a1bedd 100644 --- a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/create_signature_key_v2_response.py +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/create_signature_key_v2_response.py @@ -46,7 +46,7 @@ def __init__(self, name=None, sign_type=None, sign_key=None, sign_secret=None, s :param name: 签名密钥的名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头。 > 中文字符必须为UTF-8或者unicode编码。 :type name: str - :param sign_type: 签名密钥类型: - hmac - basic - public_key - aes basic类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIG特性”,如确认实例不存在public_key配置可联系技术工程师开启。 aes类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 + :param sign_type: 签名密钥类型: - hmac - basic - public_key - aes basic类型需要实例升级到对应版本,如果不存在可联系技术工程师升级。 public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIG特性”,如确认实例不存在public_key配置可联系技术工程师开启。 aes类型需要实例升级到对应版本,如果不存在可联系技术工程师升级。 :type sign_type: str :param sign_key: 签名密钥的key。 - hmac类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母或数字开头,8 ~ 32字符。未填写时后台自动生成。 - basic类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母开头,4 ~ 32字符。未填写时后台自动生成。 - public_key类型的签名密钥key:支持英文,数字,下划线,中划线,+,/,=,可以英文字母,数字,+,/开头,8 ~ 512字符。未填写时后台自动生成。 - aes类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,签名算法为aes-128-cfb时为16个字符,签名算法为aes-256-cfb时为32个字符。未填写时后台自动生成。 :type sign_key: str @@ -116,7 +116,7 @@ def name(self, name): def sign_type(self): """Gets the sign_type of this CreateSignatureKeyV2Response. - 签名密钥类型: - hmac - basic - public_key - aes basic类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIG特性”,如确认实例不存在public_key配置可联系技术工程师开启。 aes类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 + 签名密钥类型: - hmac - basic - public_key - aes basic类型需要实例升级到对应版本,如果不存在可联系技术工程师升级。 public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIG特性”,如确认实例不存在public_key配置可联系技术工程师开启。 aes类型需要实例升级到对应版本,如果不存在可联系技术工程师升级。 :return: The sign_type of this CreateSignatureKeyV2Response. :rtype: str @@ -127,7 +127,7 @@ def sign_type(self): def sign_type(self, sign_type): """Sets the sign_type of this CreateSignatureKeyV2Response. - 签名密钥类型: - hmac - basic - public_key - aes basic类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIG特性”,如确认实例不存在public_key配置可联系技术工程师开启。 aes类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 + 签名密钥类型: - hmac - basic - public_key - aes basic类型需要实例升级到对应版本,如果不存在可联系技术工程师升级。 public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIG特性”,如确认实例不存在public_key配置可联系技术工程师开启。 aes类型需要实例升级到对应版本,如果不存在可联系技术工程师升级。 :param sign_type: The sign_type of this CreateSignatureKeyV2Response. :type sign_type: str diff --git a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/delete_orchestration_request.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/delete_orchestration_request.py new file mode 100644 index 0000000000..5d954e1283 --- /dev/null +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/delete_orchestration_request.py @@ -0,0 +1,142 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class DeleteOrchestrationRequest: + + """ + 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', + 'orchestration_id': 'str' + } + + attribute_map = { + 'instance_id': 'instance_id', + 'orchestration_id': 'orchestration_id' + } + + def __init__(self, instance_id=None, orchestration_id=None): + """DeleteOrchestrationRequest + + The model defined in huaweicloud sdk + + :param instance_id: 实例ID,在API网关控制台的“实例信息”中获取。 + :type instance_id: str + :param orchestration_id: 编排规则编号 + :type orchestration_id: str + """ + + + + self._instance_id = None + self._orchestration_id = None + self.discriminator = None + + self.instance_id = instance_id + self.orchestration_id = orchestration_id + + @property + def instance_id(self): + """Gets the instance_id of this DeleteOrchestrationRequest. + + 实例ID,在API网关控制台的“实例信息”中获取。 + + :return: The instance_id of this DeleteOrchestrationRequest. + :rtype: str + """ + return self._instance_id + + @instance_id.setter + def instance_id(self, instance_id): + """Sets the instance_id of this DeleteOrchestrationRequest. + + 实例ID,在API网关控制台的“实例信息”中获取。 + + :param instance_id: The instance_id of this DeleteOrchestrationRequest. + :type instance_id: str + """ + self._instance_id = instance_id + + @property + def orchestration_id(self): + """Gets the orchestration_id of this DeleteOrchestrationRequest. + + 编排规则编号 + + :return: The orchestration_id of this DeleteOrchestrationRequest. + :rtype: str + """ + return self._orchestration_id + + @orchestration_id.setter + def orchestration_id(self, orchestration_id): + """Sets the orchestration_id of this DeleteOrchestrationRequest. + + 编排规则编号 + + :param orchestration_id: The orchestration_id of this DeleteOrchestrationRequest. + :type orchestration_id: str + """ + self._orchestration_id = orchestration_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, DeleteOrchestrationRequest): + 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-apig/huaweicloudsdkapig/v2/model/delete_orchestration_response.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/delete_orchestration_response.py new file mode 100644 index 0000000000..3c09201e59 --- /dev/null +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/delete_orchestration_response.py @@ -0,0 +1,85 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_response import SdkResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class DeleteOrchestrationResponse(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): + """DeleteOrchestrationResponse + + The model defined in huaweicloud sdk + + """ + + super(DeleteOrchestrationResponse, 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, DeleteOrchestrationResponse): + 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-apig/huaweicloudsdkapig/v2/model/list_api_runtime_definition_v2_response.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/list_api_runtime_definition_v2_response.py index e472357d73..1e55fb1080 100644 --- a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/list_api_runtime_definition_v2_response.py +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/list_api_runtime_definition_v2_response.py @@ -41,6 +41,7 @@ class ListApiRuntimeDefinitionV2Response(SdkResponse): 'domain_name': 'str', 'tag': 'str', 'content_type': 'str', + 'is_send_fg_body_base64': 'bool', 'id': 'str', 'group_name': 'str', 'run_env_name': 'str', @@ -75,6 +76,7 @@ class ListApiRuntimeDefinitionV2Response(SdkResponse): 'domain_name': 'domain_name', 'tag': 'tag', 'content_type': 'content_type', + 'is_send_fg_body_base64': 'is_send_fg_body_base64', 'id': 'id', 'group_name': 'group_name', 'run_env_name': 'run_env_name', @@ -85,7 +87,7 @@ class ListApiRuntimeDefinitionV2Response(SdkResponse): 'req_params': 'req_params' } - def __init__(self, name=None, type=None, version=None, req_protocol=None, req_method=None, req_uri=None, auth_type=None, auth_opt=None, cors=None, match_mode=None, backend_type=None, remark=None, group_id=None, body_remark=None, result_normal_sample=None, result_failure_sample=None, authorizer_id=None, tags=None, response_id=None, roma_app_id=None, domain_name=None, tag=None, content_type=None, id=None, group_name=None, run_env_name=None, run_env_id=None, publish_id=None, sl_domain=None, sl_domains=None, req_params=None): + def __init__(self, name=None, type=None, version=None, req_protocol=None, req_method=None, req_uri=None, auth_type=None, auth_opt=None, cors=None, match_mode=None, backend_type=None, remark=None, group_id=None, body_remark=None, result_normal_sample=None, result_failure_sample=None, authorizer_id=None, tags=None, response_id=None, roma_app_id=None, domain_name=None, tag=None, content_type=None, is_send_fg_body_base64=None, id=None, group_name=None, run_env_name=None, run_env_id=None, publish_id=None, sl_domain=None, sl_domains=None, req_params=None): """ListApiRuntimeDefinitionV2Response The model defined in huaweicloud sdk @@ -122,7 +124,7 @@ def __init__(self, name=None, type=None, version=None, req_protocol=None, req_me :type result_normal_sample: str :param result_failure_sample: 失败返回示例,描述API的异常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。 当API的请求协议为GRPC类型时不支持配置。 :type result_failure_sample: str - :param authorizer_id: 前端自定义认证对象的ID,API请求协议为GRPC类型时不支持前端自定义认证 + :param authorizer_id: 前端自定义认证对象的ID :type authorizer_id: str :param tags: 标签。 支持英文,数字,中文,特殊符号(-*#%.:_),且只能以中文或英文开头。 默认支持10个标签,如需扩大配额请联系技术工程师修改API_TAG_NUM_LIMIT配置。 :type tags: list[str] @@ -134,8 +136,10 @@ def __init__(self, name=None, type=None, version=None, req_protocol=None, req_me :type domain_name: str :param tag: 标签 待废弃,优先使用tags字段 :type tag: str - :param content_type: 请求内容格式类型: application/json application/xml multipart/form-data text/plain 暂不支持 + :param content_type: 请求内容格式类型: application/json application/xml multipart/form-data text/plain :type content_type: str + :param is_send_fg_body_base64: 是否对与FunctionGraph交互场景的body进行Base64编码。仅当content_type为application/json时,可以不对body进行Base64编码。 应用场景: - 自定义认证 - 绑定断路器插件,且断路器后端降级策略为函数后端 - API后端类型为函数工作流 + :type is_send_fg_body_base64: bool :param id: API编号 :type id: str :param group_name: API所属分组的名称 @@ -179,6 +183,7 @@ def __init__(self, name=None, type=None, version=None, req_protocol=None, req_me self._domain_name = None self._tag = None self._content_type = None + self._is_send_fg_body_base64 = None self._id = None self._group_name = None self._run_env_name = None @@ -227,6 +232,8 @@ def __init__(self, name=None, type=None, version=None, req_protocol=None, req_me self.tag = tag if content_type is not None: self.content_type = content_type + if is_send_fg_body_base64 is not None: + self.is_send_fg_body_base64 = is_send_fg_body_base64 if id is not None: self.id = id if group_name is not None: @@ -596,7 +603,7 @@ def result_failure_sample(self, result_failure_sample): def authorizer_id(self): """Gets the authorizer_id of this ListApiRuntimeDefinitionV2Response. - 前端自定义认证对象的ID,API请求协议为GRPC类型时不支持前端自定义认证 + 前端自定义认证对象的ID :return: The authorizer_id of this ListApiRuntimeDefinitionV2Response. :rtype: str @@ -607,7 +614,7 @@ def authorizer_id(self): def authorizer_id(self, authorizer_id): """Sets the authorizer_id of this ListApiRuntimeDefinitionV2Response. - 前端自定义认证对象的ID,API请求协议为GRPC类型时不支持前端自定义认证 + 前端自定义认证对象的ID :param authorizer_id: The authorizer_id of this ListApiRuntimeDefinitionV2Response. :type authorizer_id: str @@ -728,7 +735,7 @@ def tag(self, tag): def content_type(self): """Gets the content_type of this ListApiRuntimeDefinitionV2Response. - 请求内容格式类型: application/json application/xml multipart/form-data text/plain 暂不支持 + 请求内容格式类型: application/json application/xml multipart/form-data text/plain :return: The content_type of this ListApiRuntimeDefinitionV2Response. :rtype: str @@ -739,13 +746,35 @@ def content_type(self): def content_type(self, content_type): """Sets the content_type of this ListApiRuntimeDefinitionV2Response. - 请求内容格式类型: application/json application/xml multipart/form-data text/plain 暂不支持 + 请求内容格式类型: application/json application/xml multipart/form-data text/plain :param content_type: The content_type of this ListApiRuntimeDefinitionV2Response. :type content_type: str """ self._content_type = content_type + @property + def is_send_fg_body_base64(self): + """Gets the is_send_fg_body_base64 of this ListApiRuntimeDefinitionV2Response. + + 是否对与FunctionGraph交互场景的body进行Base64编码。仅当content_type为application/json时,可以不对body进行Base64编码。 应用场景: - 自定义认证 - 绑定断路器插件,且断路器后端降级策略为函数后端 - API后端类型为函数工作流 + + :return: The is_send_fg_body_base64 of this ListApiRuntimeDefinitionV2Response. + :rtype: bool + """ + return self._is_send_fg_body_base64 + + @is_send_fg_body_base64.setter + def is_send_fg_body_base64(self, is_send_fg_body_base64): + """Sets the is_send_fg_body_base64 of this ListApiRuntimeDefinitionV2Response. + + 是否对与FunctionGraph交互场景的body进行Base64编码。仅当content_type为application/json时,可以不对body进行Base64编码。 应用场景: - 自定义认证 - 绑定断路器插件,且断路器后端降级策略为函数后端 - API后端类型为函数工作流 + + :param is_send_fg_body_base64: The is_send_fg_body_base64 of this ListApiRuntimeDefinitionV2Response. + :type is_send_fg_body_base64: bool + """ + self._is_send_fg_body_base64 = is_send_fg_body_base64 + @property def id(self): """Gets the id of this ListApiRuntimeDefinitionV2Response. diff --git a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/list_api_version_detail_v2_response.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/list_api_version_detail_v2_response.py index 5c8d2818f1..de9323c19d 100644 --- a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/list_api_version_detail_v2_response.py +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/list_api_version_detail_v2_response.py @@ -41,6 +41,7 @@ class ListApiVersionDetailV2Response(SdkResponse): 'domain_name': 'str', 'tag': 'str', 'content_type': 'str', + 'is_send_fg_body_base64': 'bool', 'id': 'str', 'status': 'int', 'arrange_necessary': 'int', @@ -92,6 +93,7 @@ class ListApiVersionDetailV2Response(SdkResponse): 'domain_name': 'domain_name', 'tag': 'tag', 'content_type': 'content_type', + 'is_send_fg_body_base64': 'is_send_fg_body_base64', 'id': 'id', 'status': 'status', 'arrange_necessary': 'arrange_necessary', @@ -119,7 +121,7 @@ class ListApiVersionDetailV2Response(SdkResponse): 'version_id': 'version_id' } - def __init__(self, name=None, type=None, version=None, req_protocol=None, req_method=None, req_uri=None, auth_type=None, auth_opt=None, cors=None, match_mode=None, backend_type=None, remark=None, group_id=None, body_remark=None, result_normal_sample=None, result_failure_sample=None, authorizer_id=None, tags=None, response_id=None, roma_app_id=None, domain_name=None, tag=None, content_type=None, id=None, status=None, arrange_necessary=None, register_time=None, update_time=None, group_name=None, group_version=None, run_env_id=None, run_env_name=None, publish_id=None, publish_time=None, roma_app_name=None, ld_api_id=None, backend_api=None, api_group_info=None, func_info=None, mock_info=None, req_params=None, backend_params=None, policy_functions=None, policy_mocks=None, policy_https=None, sl_domain=None, sl_domains=None, version_id=None): + def __init__(self, name=None, type=None, version=None, req_protocol=None, req_method=None, req_uri=None, auth_type=None, auth_opt=None, cors=None, match_mode=None, backend_type=None, remark=None, group_id=None, body_remark=None, result_normal_sample=None, result_failure_sample=None, authorizer_id=None, tags=None, response_id=None, roma_app_id=None, domain_name=None, tag=None, content_type=None, is_send_fg_body_base64=None, id=None, status=None, arrange_necessary=None, register_time=None, update_time=None, group_name=None, group_version=None, run_env_id=None, run_env_name=None, publish_id=None, publish_time=None, roma_app_name=None, ld_api_id=None, backend_api=None, api_group_info=None, func_info=None, mock_info=None, req_params=None, backend_params=None, policy_functions=None, policy_mocks=None, policy_https=None, sl_domain=None, sl_domains=None, version_id=None): """ListApiVersionDetailV2Response The model defined in huaweicloud sdk @@ -156,7 +158,7 @@ def __init__(self, name=None, type=None, version=None, req_protocol=None, req_me :type result_normal_sample: str :param result_failure_sample: 失败返回示例,描述API的异常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。 当API的请求协议为GRPC类型时不支持配置。 :type result_failure_sample: str - :param authorizer_id: 前端自定义认证对象的ID,API请求协议为GRPC类型时不支持前端自定义认证 + :param authorizer_id: 前端自定义认证对象的ID :type authorizer_id: str :param tags: 标签。 支持英文,数字,中文,特殊符号(-*#%.:_),且只能以中文或英文开头。 默认支持10个标签,如需扩大配额请联系技术工程师修改API_TAG_NUM_LIMIT配置。 :type tags: list[str] @@ -168,8 +170,10 @@ def __init__(self, name=None, type=None, version=None, req_protocol=None, req_me :type domain_name: str :param tag: 标签 待废弃,优先使用tags字段 :type tag: str - :param content_type: 请求内容格式类型: application/json application/xml multipart/form-data text/plain 暂不支持 + :param content_type: 请求内容格式类型: application/json application/xml multipart/form-data text/plain :type content_type: str + :param is_send_fg_body_base64: 是否对与FunctionGraph交互场景的body进行Base64编码。仅当content_type为application/json时,可以不对body进行Base64编码。 应用场景: - 自定义认证 - 绑定断路器插件,且断路器后端降级策略为函数后端 - API后端类型为函数工作流 + :type is_send_fg_body_base64: bool :param id: API编号 :type id: str :param status: API状态 - 1: 有效 @@ -247,6 +251,7 @@ def __init__(self, name=None, type=None, version=None, req_protocol=None, req_me self._domain_name = None self._tag = None self._content_type = None + self._is_send_fg_body_base64 = None self._id = None self._status = None self._arrange_necessary = None @@ -312,6 +317,8 @@ def __init__(self, name=None, type=None, version=None, req_protocol=None, req_me self.tag = tag if content_type is not None: self.content_type = content_type + if is_send_fg_body_base64 is not None: + self.is_send_fg_body_base64 = is_send_fg_body_base64 if id is not None: self.id = id if status is not None: @@ -715,7 +722,7 @@ def result_failure_sample(self, result_failure_sample): def authorizer_id(self): """Gets the authorizer_id of this ListApiVersionDetailV2Response. - 前端自定义认证对象的ID,API请求协议为GRPC类型时不支持前端自定义认证 + 前端自定义认证对象的ID :return: The authorizer_id of this ListApiVersionDetailV2Response. :rtype: str @@ -726,7 +733,7 @@ def authorizer_id(self): def authorizer_id(self, authorizer_id): """Sets the authorizer_id of this ListApiVersionDetailV2Response. - 前端自定义认证对象的ID,API请求协议为GRPC类型时不支持前端自定义认证 + 前端自定义认证对象的ID :param authorizer_id: The authorizer_id of this ListApiVersionDetailV2Response. :type authorizer_id: str @@ -847,7 +854,7 @@ def tag(self, tag): def content_type(self): """Gets the content_type of this ListApiVersionDetailV2Response. - 请求内容格式类型: application/json application/xml multipart/form-data text/plain 暂不支持 + 请求内容格式类型: application/json application/xml multipart/form-data text/plain :return: The content_type of this ListApiVersionDetailV2Response. :rtype: str @@ -858,13 +865,35 @@ def content_type(self): def content_type(self, content_type): """Sets the content_type of this ListApiVersionDetailV2Response. - 请求内容格式类型: application/json application/xml multipart/form-data text/plain 暂不支持 + 请求内容格式类型: application/json application/xml multipart/form-data text/plain :param content_type: The content_type of this ListApiVersionDetailV2Response. :type content_type: str """ self._content_type = content_type + @property + def is_send_fg_body_base64(self): + """Gets the is_send_fg_body_base64 of this ListApiVersionDetailV2Response. + + 是否对与FunctionGraph交互场景的body进行Base64编码。仅当content_type为application/json时,可以不对body进行Base64编码。 应用场景: - 自定义认证 - 绑定断路器插件,且断路器后端降级策略为函数后端 - API后端类型为函数工作流 + + :return: The is_send_fg_body_base64 of this ListApiVersionDetailV2Response. + :rtype: bool + """ + return self._is_send_fg_body_base64 + + @is_send_fg_body_base64.setter + def is_send_fg_body_base64(self, is_send_fg_body_base64): + """Sets the is_send_fg_body_base64 of this ListApiVersionDetailV2Response. + + 是否对与FunctionGraph交互场景的body进行Base64编码。仅当content_type为application/json时,可以不对body进行Base64编码。 应用场景: - 自定义认证 - 绑定断路器插件,且断路器后端降级策略为函数后端 - API后端类型为函数工作流 + + :param is_send_fg_body_base64: The is_send_fg_body_base64 of this ListApiVersionDetailV2Response. + :type is_send_fg_body_base64: bool + """ + self._is_send_fg_body_base64 = is_send_fg_body_base64 + @property def id(self): """Gets the id of this ListApiVersionDetailV2Response. diff --git a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/list_environment_variables_v2_request.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/list_environment_variables_v2_request.py index 00efb0996d..4e528c7b9a 100644 --- a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/list_environment_variables_v2_request.py +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/list_environment_variables_v2_request.py @@ -53,7 +53,7 @@ def __init__(self, instance_id=None, offset=None, limit=None, group_id=None, env :type env_id: str :param variable_name: 变量名 :type variable_name: str - :param precise_search: 指定需要精确匹配查找的参数名称,目前仅支持name + :param precise_search: 指定需要精确匹配查找的参数名称,目前仅支持variable_name :type precise_search: str """ @@ -217,7 +217,7 @@ def variable_name(self, variable_name): def precise_search(self): """Gets the precise_search of this ListEnvironmentVariablesV2Request. - 指定需要精确匹配查找的参数名称,目前仅支持name + 指定需要精确匹配查找的参数名称,目前仅支持variable_name :return: The precise_search of this ListEnvironmentVariablesV2Request. :rtype: str @@ -228,7 +228,7 @@ def precise_search(self): def precise_search(self, precise_search): """Sets the precise_search of this ListEnvironmentVariablesV2Request. - 指定需要精确匹配查找的参数名称,目前仅支持name + 指定需要精确匹配查找的参数名称,目前仅支持variable_name :param precise_search: The precise_search of this ListEnvironmentVariablesV2Request. :type precise_search: str diff --git a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/list_instances_by_tags_request.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/list_instances_by_tags_request.py new file mode 100644 index 0000000000..a253df8948 --- /dev/null +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/list_instances_by_tags_request.py @@ -0,0 +1,169 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ListInstancesByTagsRequest: + + """ + 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', + 'body': 'TmsQueryReq' + } + + attribute_map = { + 'offset': 'offset', + 'limit': 'limit', + 'body': 'body' + } + + def __init__(self, offset=None, limit=None, body=None): + """ListInstancesByTagsRequest + + The model defined in huaweicloud sdk + + :param offset: 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 + :type offset: int + :param limit: 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500 + :type limit: int + :param body: Body of the ListInstancesByTagsRequest + :type body: :class:`huaweicloudsdkapig.v2.TmsQueryReq` + """ + + + + self._offset = None + self._limit = None + self._body = None + self.discriminator = None + + if offset is not None: + self.offset = offset + if limit is not None: + self.limit = limit + if body is not None: + self.body = body + + @property + def offset(self): + """Gets the offset of this ListInstancesByTagsRequest. + + 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 + + :return: The offset of this ListInstancesByTagsRequest. + :rtype: int + """ + return self._offset + + @offset.setter + def offset(self, offset): + """Sets the offset of this ListInstancesByTagsRequest. + + 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 + + :param offset: The offset of this ListInstancesByTagsRequest. + :type offset: int + """ + self._offset = offset + + @property + def limit(self): + """Gets the limit of this ListInstancesByTagsRequest. + + 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500 + + :return: The limit of this ListInstancesByTagsRequest. + :rtype: int + """ + return self._limit + + @limit.setter + def limit(self, limit): + """Sets the limit of this ListInstancesByTagsRequest. + + 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500 + + :param limit: The limit of this ListInstancesByTagsRequest. + :type limit: int + """ + self._limit = limit + + @property + def body(self): + """Gets the body of this ListInstancesByTagsRequest. + + :return: The body of this ListInstancesByTagsRequest. + :rtype: :class:`huaweicloudsdkapig.v2.TmsQueryReq` + """ + return self._body + + @body.setter + def body(self, body): + """Sets the body of this ListInstancesByTagsRequest. + + :param body: The body of this ListInstancesByTagsRequest. + :type body: :class:`huaweicloudsdkapig.v2.TmsQueryReq` + """ + 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, ListInstancesByTagsRequest): + 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-apig/huaweicloudsdkapig/v2/model/list_instances_by_tags_response.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/list_instances_by_tags_response.py new file mode 100644 index 0000000000..65ef028af6 --- /dev/null +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/list_instances_by_tags_response.py @@ -0,0 +1,145 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_response import SdkResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ListInstancesByTagsResponse(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 = { + 'resources': 'list[TmsResourceResp]', + 'total_count': 'int' + } + + attribute_map = { + 'resources': 'resources', + 'total_count': 'total_count' + } + + def __init__(self, resources=None, total_count=None): + """ListInstancesByTagsResponse + + The model defined in huaweicloud sdk + + :param resources: 实例列表 + :type resources: list[:class:`huaweicloudsdkapig.v2.TmsResourceResp`] + :param total_count: 总记录数 + :type total_count: int + """ + + super(ListInstancesByTagsResponse, self).__init__() + + self._resources = None + self._total_count = None + self.discriminator = None + + if resources is not None: + self.resources = resources + if total_count is not None: + self.total_count = total_count + + @property + def resources(self): + """Gets the resources of this ListInstancesByTagsResponse. + + 实例列表 + + :return: The resources of this ListInstancesByTagsResponse. + :rtype: list[:class:`huaweicloudsdkapig.v2.TmsResourceResp`] + """ + return self._resources + + @resources.setter + def resources(self, resources): + """Sets the resources of this ListInstancesByTagsResponse. + + 实例列表 + + :param resources: The resources of this ListInstancesByTagsResponse. + :type resources: list[:class:`huaweicloudsdkapig.v2.TmsResourceResp`] + """ + self._resources = resources + + @property + def total_count(self): + """Gets the total_count of this ListInstancesByTagsResponse. + + 总记录数 + + :return: The total_count of this ListInstancesByTagsResponse. + :rtype: int + """ + return self._total_count + + @total_count.setter + def total_count(self, total_count): + """Sets the total_count of this ListInstancesByTagsResponse. + + 总记录数 + + :param total_count: The total_count of this ListInstancesByTagsResponse. + :type total_count: int + """ + self._total_count = total_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, ListInstancesByTagsResponse): + 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-apig/huaweicloudsdkapig/v2/model/list_orchestration_attached_apis_request.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/list_orchestration_attached_apis_request.py new file mode 100644 index 0000000000..7266eb28e7 --- /dev/null +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/list_orchestration_attached_apis_request.py @@ -0,0 +1,258 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ListOrchestrationAttachedApisRequest: + + """ + 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', + 'offset': 'int', + 'limit': 'int', + 'orchestration_id': 'str', + 'api_name': 'str', + 'api_id': 'str' + } + + attribute_map = { + 'instance_id': 'instance_id', + 'offset': 'offset', + 'limit': 'limit', + 'orchestration_id': 'orchestration_id', + 'api_name': 'api_name', + 'api_id': 'api_id' + } + + def __init__(self, instance_id=None, offset=None, limit=None, orchestration_id=None, api_name=None, api_id=None): + """ListOrchestrationAttachedApisRequest + + The model defined in huaweicloud sdk + + :param instance_id: 实例ID,在API网关控制台的“实例信息”中获取。 + :type instance_id: str + :param offset: 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 + :type offset: int + :param limit: 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500 + :type limit: int + :param orchestration_id: 编排规则编号 + :type orchestration_id: str + :param api_name: API名称。 + :type api_name: str + :param api_id: API编号。 + :type api_id: str + """ + + + + self._instance_id = None + self._offset = None + self._limit = None + self._orchestration_id = None + self._api_name = None + self._api_id = None + self.discriminator = None + + self.instance_id = instance_id + if offset is not None: + self.offset = offset + if limit is not None: + self.limit = limit + self.orchestration_id = orchestration_id + if api_name is not None: + self.api_name = api_name + if api_id is not None: + self.api_id = api_id + + @property + def instance_id(self): + """Gets the instance_id of this ListOrchestrationAttachedApisRequest. + + 实例ID,在API网关控制台的“实例信息”中获取。 + + :return: The instance_id of this ListOrchestrationAttachedApisRequest. + :rtype: str + """ + return self._instance_id + + @instance_id.setter + def instance_id(self, instance_id): + """Sets the instance_id of this ListOrchestrationAttachedApisRequest. + + 实例ID,在API网关控制台的“实例信息”中获取。 + + :param instance_id: The instance_id of this ListOrchestrationAttachedApisRequest. + :type instance_id: str + """ + self._instance_id = instance_id + + @property + def offset(self): + """Gets the offset of this ListOrchestrationAttachedApisRequest. + + 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 + + :return: The offset of this ListOrchestrationAttachedApisRequest. + :rtype: int + """ + return self._offset + + @offset.setter + def offset(self, offset): + """Sets the offset of this ListOrchestrationAttachedApisRequest. + + 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 + + :param offset: The offset of this ListOrchestrationAttachedApisRequest. + :type offset: int + """ + self._offset = offset + + @property + def limit(self): + """Gets the limit of this ListOrchestrationAttachedApisRequest. + + 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500 + + :return: The limit of this ListOrchestrationAttachedApisRequest. + :rtype: int + """ + return self._limit + + @limit.setter + def limit(self, limit): + """Sets the limit of this ListOrchestrationAttachedApisRequest. + + 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500 + + :param limit: The limit of this ListOrchestrationAttachedApisRequest. + :type limit: int + """ + self._limit = limit + + @property + def orchestration_id(self): + """Gets the orchestration_id of this ListOrchestrationAttachedApisRequest. + + 编排规则编号 + + :return: The orchestration_id of this ListOrchestrationAttachedApisRequest. + :rtype: str + """ + return self._orchestration_id + + @orchestration_id.setter + def orchestration_id(self, orchestration_id): + """Sets the orchestration_id of this ListOrchestrationAttachedApisRequest. + + 编排规则编号 + + :param orchestration_id: The orchestration_id of this ListOrchestrationAttachedApisRequest. + :type orchestration_id: str + """ + self._orchestration_id = orchestration_id + + @property + def api_name(self): + """Gets the api_name of this ListOrchestrationAttachedApisRequest. + + API名称。 + + :return: The api_name of this ListOrchestrationAttachedApisRequest. + :rtype: str + """ + return self._api_name + + @api_name.setter + def api_name(self, api_name): + """Sets the api_name of this ListOrchestrationAttachedApisRequest. + + API名称。 + + :param api_name: The api_name of this ListOrchestrationAttachedApisRequest. + :type api_name: str + """ + self._api_name = api_name + + @property + def api_id(self): + """Gets the api_id of this ListOrchestrationAttachedApisRequest. + + API编号。 + + :return: The api_id of this ListOrchestrationAttachedApisRequest. + :rtype: str + """ + return self._api_id + + @api_id.setter + def api_id(self, api_id): + """Sets the api_id of this ListOrchestrationAttachedApisRequest. + + API编号。 + + :param api_id: The api_id of this ListOrchestrationAttachedApisRequest. + :type api_id: str + """ + self._api_id = api_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, ListOrchestrationAttachedApisRequest): + 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-apig/huaweicloudsdkapig/v2/model/list_orchestration_attached_apis_response.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/list_orchestration_attached_apis_response.py new file mode 100644 index 0000000000..6a3619b6cd --- /dev/null +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/list_orchestration_attached_apis_response.py @@ -0,0 +1,172 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_response import SdkResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ListOrchestrationAttachedApisResponse(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 = { + 'size': 'int', + 'total': 'int', + 'apis': 'list[OrchestrationApiInfo]' + } + + attribute_map = { + 'size': 'size', + 'total': 'total', + 'apis': 'apis' + } + + def __init__(self, size=None, total=None, apis=None): + """ListOrchestrationAttachedApisResponse + + The model defined in huaweicloud sdk + + :param size: 本次返回的列表长度 + :type size: int + :param total: 满足条件的记录数 + :type total: int + :param apis: 编排规则绑定的API列表。 + :type apis: list[:class:`huaweicloudsdkapig.v2.OrchestrationApiInfo`] + """ + + super(ListOrchestrationAttachedApisResponse, self).__init__() + + self._size = None + self._total = None + self._apis = None + self.discriminator = None + + self.size = size + self.total = total + if apis is not None: + self.apis = apis + + @property + def size(self): + """Gets the size of this ListOrchestrationAttachedApisResponse. + + 本次返回的列表长度 + + :return: The size of this ListOrchestrationAttachedApisResponse. + :rtype: int + """ + return self._size + + @size.setter + def size(self, size): + """Sets the size of this ListOrchestrationAttachedApisResponse. + + 本次返回的列表长度 + + :param size: The size of this ListOrchestrationAttachedApisResponse. + :type size: int + """ + self._size = size + + @property + def total(self): + """Gets the total of this ListOrchestrationAttachedApisResponse. + + 满足条件的记录数 + + :return: The total of this ListOrchestrationAttachedApisResponse. + :rtype: int + """ + return self._total + + @total.setter + def total(self, total): + """Sets the total of this ListOrchestrationAttachedApisResponse. + + 满足条件的记录数 + + :param total: The total of this ListOrchestrationAttachedApisResponse. + :type total: int + """ + self._total = total + + @property + def apis(self): + """Gets the apis of this ListOrchestrationAttachedApisResponse. + + 编排规则绑定的API列表。 + + :return: The apis of this ListOrchestrationAttachedApisResponse. + :rtype: list[:class:`huaweicloudsdkapig.v2.OrchestrationApiInfo`] + """ + return self._apis + + @apis.setter + def apis(self, apis): + """Sets the apis of this ListOrchestrationAttachedApisResponse. + + 编排规则绑定的API列表。 + + :param apis: The apis of this ListOrchestrationAttachedApisResponse. + :type apis: list[:class:`huaweicloudsdkapig.v2.OrchestrationApiInfo`] + """ + self._apis = apis + + 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, ListOrchestrationAttachedApisResponse): + 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-apig/huaweicloudsdkapig/v2/model/list_orchestrations_request.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/list_orchestrations_request.py new file mode 100644 index 0000000000..07eb380941 --- /dev/null +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/list_orchestrations_request.py @@ -0,0 +1,259 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ListOrchestrationsRequest: + + """ + 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', + 'offset': 'int', + 'limit': 'int', + 'orchestration_name': 'str', + 'precise_search': 'str', + 'orchestration_id': 'str' + } + + attribute_map = { + 'instance_id': 'instance_id', + 'offset': 'offset', + 'limit': 'limit', + 'orchestration_name': 'orchestration_name', + 'precise_search': 'precise_search', + 'orchestration_id': 'orchestration_id' + } + + def __init__(self, instance_id=None, offset=None, limit=None, orchestration_name=None, precise_search=None, orchestration_id=None): + """ListOrchestrationsRequest + + The model defined in huaweicloud sdk + + :param instance_id: 实例ID,在API网关控制台的“实例信息”中获取。 + :type instance_id: str + :param offset: 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 + :type offset: int + :param limit: 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500 + :type limit: int + :param orchestration_name: 编排规则名称。 + :type orchestration_name: str + :param precise_search: 指定需要精确匹配查找的参数名称,多个参数需要支持精确匹配时参数之间使用“,”隔开。当前仅支持orchestration_name。 + :type precise_search: str + :param orchestration_id: 编排规则编号。 支持指定多个编号作为查询条件,多个参数之间使用“,”隔开,支持的查询参数个数与api允许绑定的参数规则上限保持一致,具体请参考产品介绍的“配额说明”章节。 + :type orchestration_id: str + """ + + + + self._instance_id = None + self._offset = None + self._limit = None + self._orchestration_name = None + self._precise_search = None + self._orchestration_id = None + self.discriminator = None + + self.instance_id = instance_id + if offset is not None: + self.offset = offset + if limit is not None: + self.limit = limit + if orchestration_name is not None: + self.orchestration_name = orchestration_name + if precise_search is not None: + self.precise_search = precise_search + if orchestration_id is not None: + self.orchestration_id = orchestration_id + + @property + def instance_id(self): + """Gets the instance_id of this ListOrchestrationsRequest. + + 实例ID,在API网关控制台的“实例信息”中获取。 + + :return: The instance_id of this ListOrchestrationsRequest. + :rtype: str + """ + return self._instance_id + + @instance_id.setter + def instance_id(self, instance_id): + """Sets the instance_id of this ListOrchestrationsRequest. + + 实例ID,在API网关控制台的“实例信息”中获取。 + + :param instance_id: The instance_id of this ListOrchestrationsRequest. + :type instance_id: str + """ + self._instance_id = instance_id + + @property + def offset(self): + """Gets the offset of this ListOrchestrationsRequest. + + 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 + + :return: The offset of this ListOrchestrationsRequest. + :rtype: int + """ + return self._offset + + @offset.setter + def offset(self, offset): + """Sets the offset of this ListOrchestrationsRequest. + + 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 + + :param offset: The offset of this ListOrchestrationsRequest. + :type offset: int + """ + self._offset = offset + + @property + def limit(self): + """Gets the limit of this ListOrchestrationsRequest. + + 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500 + + :return: The limit of this ListOrchestrationsRequest. + :rtype: int + """ + return self._limit + + @limit.setter + def limit(self, limit): + """Sets the limit of this ListOrchestrationsRequest. + + 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500 + + :param limit: The limit of this ListOrchestrationsRequest. + :type limit: int + """ + self._limit = limit + + @property + def orchestration_name(self): + """Gets the orchestration_name of this ListOrchestrationsRequest. + + 编排规则名称。 + + :return: The orchestration_name of this ListOrchestrationsRequest. + :rtype: str + """ + return self._orchestration_name + + @orchestration_name.setter + def orchestration_name(self, orchestration_name): + """Sets the orchestration_name of this ListOrchestrationsRequest. + + 编排规则名称。 + + :param orchestration_name: The orchestration_name of this ListOrchestrationsRequest. + :type orchestration_name: str + """ + self._orchestration_name = orchestration_name + + @property + def precise_search(self): + """Gets the precise_search of this ListOrchestrationsRequest. + + 指定需要精确匹配查找的参数名称,多个参数需要支持精确匹配时参数之间使用“,”隔开。当前仅支持orchestration_name。 + + :return: The precise_search of this ListOrchestrationsRequest. + :rtype: str + """ + return self._precise_search + + @precise_search.setter + def precise_search(self, precise_search): + """Sets the precise_search of this ListOrchestrationsRequest. + + 指定需要精确匹配查找的参数名称,多个参数需要支持精确匹配时参数之间使用“,”隔开。当前仅支持orchestration_name。 + + :param precise_search: The precise_search of this ListOrchestrationsRequest. + :type precise_search: str + """ + self._precise_search = precise_search + + @property + def orchestration_id(self): + """Gets the orchestration_id of this ListOrchestrationsRequest. + + 编排规则编号。 支持指定多个编号作为查询条件,多个参数之间使用“,”隔开,支持的查询参数个数与api允许绑定的参数规则上限保持一致,具体请参考产品介绍的“配额说明”章节。 + + :return: The orchestration_id of this ListOrchestrationsRequest. + :rtype: str + """ + return self._orchestration_id + + @orchestration_id.setter + def orchestration_id(self, orchestration_id): + """Sets the orchestration_id of this ListOrchestrationsRequest. + + 编排规则编号。 支持指定多个编号作为查询条件,多个参数之间使用“,”隔开,支持的查询参数个数与api允许绑定的参数规则上限保持一致,具体请参考产品介绍的“配额说明”章节。 + + :param orchestration_id: The orchestration_id of this ListOrchestrationsRequest. + :type orchestration_id: str + """ + self._orchestration_id = orchestration_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, ListOrchestrationsRequest): + 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-apig/huaweicloudsdkapig/v2/model/list_orchestrations_response.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/list_orchestrations_response.py new file mode 100644 index 0000000000..b8a69c5e35 --- /dev/null +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/list_orchestrations_response.py @@ -0,0 +1,172 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_response import SdkResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ListOrchestrationsResponse(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 = { + 'size': 'int', + 'total': 'int', + 'orchestrations': 'list[OrchestrationBaseResp]' + } + + attribute_map = { + 'size': 'size', + 'total': 'total', + 'orchestrations': 'orchestrations' + } + + def __init__(self, size=None, total=None, orchestrations=None): + """ListOrchestrationsResponse + + The model defined in huaweicloud sdk + + :param size: 本次返回的列表长度 + :type size: int + :param total: 满足条件的记录数 + :type total: int + :param orchestrations: 本次查询到的编排规则列表。 + :type orchestrations: list[:class:`huaweicloudsdkapig.v2.OrchestrationBaseResp`] + """ + + super(ListOrchestrationsResponse, self).__init__() + + self._size = None + self._total = None + self._orchestrations = None + self.discriminator = None + + self.size = size + self.total = total + if orchestrations is not None: + self.orchestrations = orchestrations + + @property + def size(self): + """Gets the size of this ListOrchestrationsResponse. + + 本次返回的列表长度 + + :return: The size of this ListOrchestrationsResponse. + :rtype: int + """ + return self._size + + @size.setter + def size(self, size): + """Sets the size of this ListOrchestrationsResponse. + + 本次返回的列表长度 + + :param size: The size of this ListOrchestrationsResponse. + :type size: int + """ + self._size = size + + @property + def total(self): + """Gets the total of this ListOrchestrationsResponse. + + 满足条件的记录数 + + :return: The total of this ListOrchestrationsResponse. + :rtype: int + """ + return self._total + + @total.setter + def total(self, total): + """Sets the total of this ListOrchestrationsResponse. + + 满足条件的记录数 + + :param total: The total of this ListOrchestrationsResponse. + :type total: int + """ + self._total = total + + @property + def orchestrations(self): + """Gets the orchestrations of this ListOrchestrationsResponse. + + 本次查询到的编排规则列表。 + + :return: The orchestrations of this ListOrchestrationsResponse. + :rtype: list[:class:`huaweicloudsdkapig.v2.OrchestrationBaseResp`] + """ + return self._orchestrations + + @orchestrations.setter + def orchestrations(self, orchestrations): + """Sets the orchestrations of this ListOrchestrationsResponse. + + 本次查询到的编排规则列表。 + + :param orchestrations: The orchestrations of this ListOrchestrationsResponse. + :type orchestrations: list[:class:`huaweicloudsdkapig.v2.OrchestrationBaseResp`] + """ + self._orchestrations = orchestrations + + 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, ListOrchestrationsResponse): + 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-apig/huaweicloudsdkapig/v2/model/member_base.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/member_base.py index f2745705f2..d0b0e6a64d 100644 --- a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/member_base.py +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/member_base.py @@ -43,7 +43,7 @@ def __init__(self, host=None, weight=None, is_backup=None, member_group_name=Non :type host: str :param weight: 权重值。 允许您对后端服务进行评级,权重值越大,转发到该云服务的请求数量越多。 :type weight: int - :param is_backup: 是否备用节点。 开启后对应后端服务为备用节点,仅当非备用节点全部故障时工作。 实例需要升级到对应版本才支持此功能,若不支持请联系技术支持。 + :param is_backup: 是否备用节点。 开启后对应后端服务为备用节点,仅当非备用节点全部故障时工作。 实例需要升级到对应版本才支持此功能,如果不支持请联系技术支持。 :type is_backup: bool :param member_group_name: 后端服务器组名称。为后端服务地址选择服务器组,便于统一修改对应服务器组的后端地址。 :type member_group_name: str @@ -124,7 +124,7 @@ def weight(self, weight): def is_backup(self): """Gets the is_backup of this MemberBase. - 是否备用节点。 开启后对应后端服务为备用节点,仅当非备用节点全部故障时工作。 实例需要升级到对应版本才支持此功能,若不支持请联系技术支持。 + 是否备用节点。 开启后对应后端服务为备用节点,仅当非备用节点全部故障时工作。 实例需要升级到对应版本才支持此功能,如果不支持请联系技术支持。 :return: The is_backup of this MemberBase. :rtype: bool @@ -135,7 +135,7 @@ def is_backup(self): def is_backup(self, is_backup): """Sets the is_backup of this MemberBase. - 是否备用节点。 开启后对应后端服务为备用节点,仅当非备用节点全部故障时工作。 实例需要升级到对应版本才支持此功能,若不支持请联系技术支持。 + 是否备用节点。 开启后对应后端服务为备用节点,仅当非备用节点全部故障时工作。 实例需要升级到对应版本才支持此功能,如果不支持请联系技术支持。 :param is_backup: The is_backup of this MemberBase. :type is_backup: bool diff --git a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/member_info.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/member_info.py index 2495360110..078e32c258 100644 --- a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/member_info.py +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/member_info.py @@ -47,7 +47,7 @@ def __init__(self, host=None, weight=None, is_backup=None, member_group_name=Non :type host: str :param weight: 权重值。 允许您对后端服务进行评级,权重值越大,转发到该云服务的请求数量越多。 :type weight: int - :param is_backup: 是否备用节点。 开启后对应后端服务为备用节点,仅当非备用节点全部故障时工作。 实例需要升级到对应版本才支持此功能,若不支持请联系技术支持。 + :param is_backup: 是否备用节点。 开启后对应后端服务为备用节点,仅当非备用节点全部故障时工作。 实例需要升级到对应版本才支持此功能,如果不支持请联系技术支持。 :type is_backup: bool :param member_group_name: 后端服务器组名称。为后端服务地址选择服务器组,便于统一修改对应服务器组的后端地址。 :type member_group_name: str @@ -138,7 +138,7 @@ def weight(self, weight): def is_backup(self): """Gets the is_backup of this MemberInfo. - 是否备用节点。 开启后对应后端服务为备用节点,仅当非备用节点全部故障时工作。 实例需要升级到对应版本才支持此功能,若不支持请联系技术支持。 + 是否备用节点。 开启后对应后端服务为备用节点,仅当非备用节点全部故障时工作。 实例需要升级到对应版本才支持此功能,如果不支持请联系技术支持。 :return: The is_backup of this MemberInfo. :rtype: bool @@ -149,7 +149,7 @@ def is_backup(self): def is_backup(self, is_backup): """Sets the is_backup of this MemberInfo. - 是否备用节点。 开启后对应后端服务为备用节点,仅当非备用节点全部故障时工作。 实例需要升级到对应版本才支持此功能,若不支持请联系技术支持。 + 是否备用节点。 开启后对应后端服务为备用节点,仅当非备用节点全部故障时工作。 实例需要升级到对应版本才支持此功能,如果不支持请联系技术支持。 :param is_backup: The is_backup of this MemberInfo. :type is_backup: bool diff --git a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/micro_service_create.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/micro_service_create.py index 47c79e1cab..f5e50baec6 100644 --- a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/micro_service_create.py +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/micro_service_create.py @@ -19,18 +19,16 @@ class MicroServiceCreate: openapi_types = { 'service_type': 'str', 'cse_info': 'MicroServiceInfoCSEBase', - 'cce_info': 'MicroServiceInfoCCEBase', - 'cce_service_info': 'MicroServiceInfoCCEServiceBase' + 'cce_info': 'MicroServiceInfoCCEBase' } attribute_map = { 'service_type': 'service_type', 'cse_info': 'cse_info', - 'cce_info': 'cce_info', - 'cce_service_info': 'cce_service_info' + 'cce_info': 'cce_info' } - def __init__(self, service_type=None, cse_info=None, cce_info=None, cce_service_info=None): + def __init__(self, service_type=None, cse_info=None, cce_info=None): """MicroServiceCreate The model defined in huaweicloud sdk @@ -41,8 +39,6 @@ def __init__(self, service_type=None, cse_info=None, cce_info=None, cce_service_ :type cse_info: :class:`huaweicloudsdkapig.v2.MicroServiceInfoCSEBase` :param cce_info: :type cce_info: :class:`huaweicloudsdkapig.v2.MicroServiceInfoCCEBase` - :param cce_service_info: - :type cce_service_info: :class:`huaweicloudsdkapig.v2.MicroServiceInfoCCEServiceBase` """ @@ -50,7 +46,6 @@ def __init__(self, service_type=None, cse_info=None, cce_info=None, cce_service_ self._service_type = None self._cse_info = None self._cce_info = None - self._cce_service_info = None self.discriminator = None if service_type is not None: @@ -59,8 +54,6 @@ def __init__(self, service_type=None, cse_info=None, cce_info=None, cce_service_ self.cse_info = cse_info if cce_info is not None: self.cce_info = cce_info - if cce_service_info is not None: - self.cce_service_info = cce_service_info @property def service_type(self): @@ -120,24 +113,6 @@ def cce_info(self, cce_info): """ self._cce_info = cce_info - @property - def cce_service_info(self): - """Gets the cce_service_info of this MicroServiceCreate. - - :return: The cce_service_info of this MicroServiceCreate. - :rtype: :class:`huaweicloudsdkapig.v2.MicroServiceInfoCCEServiceBase` - """ - return self._cce_service_info - - @cce_service_info.setter - def cce_service_info(self, cce_service_info): - """Sets the cce_service_info of this MicroServiceCreate. - - :param cce_service_info: The cce_service_info of this MicroServiceCreate. - :type cce_service_info: :class:`huaweicloudsdkapig.v2.MicroServiceInfoCCEServiceBase` - """ - self._cce_service_info = cce_service_info - def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/micro_service_info.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/micro_service_info.py index a4c02fad51..b1a85f3ecc 100644 --- a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/micro_service_info.py +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/micro_service_info.py @@ -22,7 +22,6 @@ class MicroServiceInfo: 'service_type': 'str', 'cse_info': 'MicroServiceInfoCSE', 'cce_info': 'MicroServiceInfoCCE', - 'cce_service_info': 'MicroServiceInfoCCEService', 'update_time': 'datetime', 'create_time': 'datetime' } @@ -33,12 +32,11 @@ class MicroServiceInfo: 'service_type': 'service_type', 'cse_info': 'cse_info', 'cce_info': 'cce_info', - 'cce_service_info': 'cce_service_info', 'update_time': 'update_time', 'create_time': 'create_time' } - def __init__(self, id=None, instance_id=None, service_type=None, cse_info=None, cce_info=None, cce_service_info=None, update_time=None, create_time=None): + def __init__(self, id=None, instance_id=None, service_type=None, cse_info=None, cce_info=None, update_time=None, create_time=None): """MicroServiceInfo The model defined in huaweicloud sdk @@ -53,8 +51,6 @@ def __init__(self, id=None, instance_id=None, service_type=None, cse_info=None, :type cse_info: :class:`huaweicloudsdkapig.v2.MicroServiceInfoCSE` :param cce_info: :type cce_info: :class:`huaweicloudsdkapig.v2.MicroServiceInfoCCE` - :param cce_service_info: - :type cce_service_info: :class:`huaweicloudsdkapig.v2.MicroServiceInfoCCEService` :param update_time: 微服务更新时间 :type update_time: datetime :param create_time: 微服务创建时间 @@ -68,7 +64,6 @@ def __init__(self, id=None, instance_id=None, service_type=None, cse_info=None, self._service_type = None self._cse_info = None self._cce_info = None - self._cce_service_info = None self._update_time = None self._create_time = None self.discriminator = None @@ -83,8 +78,6 @@ def __init__(self, id=None, instance_id=None, service_type=None, cse_info=None, self.cse_info = cse_info if cce_info is not None: self.cce_info = cce_info - if cce_service_info is not None: - self.cce_service_info = cce_service_info if update_time is not None: self.update_time = update_time if create_time is not None: @@ -192,24 +185,6 @@ def cce_info(self, cce_info): """ self._cce_info = cce_info - @property - def cce_service_info(self): - """Gets the cce_service_info of this MicroServiceInfo. - - :return: The cce_service_info of this MicroServiceInfo. - :rtype: :class:`huaweicloudsdkapig.v2.MicroServiceInfoCCEService` - """ - return self._cce_service_info - - @cce_service_info.setter - def cce_service_info(self, cce_service_info): - """Sets the cce_service_info of this MicroServiceInfo. - - :param cce_service_info: The cce_service_info of this MicroServiceInfo. - :type cce_service_info: :class:`huaweicloudsdkapig.v2.MicroServiceInfoCCEService` - """ - self._cce_service_info = cce_service_info - @property def update_time(self): """Gets the update_time of this MicroServiceInfo. diff --git a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/micro_service_info_cce_service.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/micro_service_info_cce_service.py deleted file mode 100644 index 5fe09e564d..0000000000 --- a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/micro_service_info_cce_service.py +++ /dev/null @@ -1,199 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class MicroServiceInfoCCEService: - - """ - 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', - 'namespace': 'str', - 'service_name': 'str', - 'cluster_name': 'str' - } - - attribute_map = { - 'cluster_id': 'cluster_id', - 'namespace': 'namespace', - 'service_name': 'service_name', - 'cluster_name': 'cluster_name' - } - - def __init__(self, cluster_id=None, namespace=None, service_name=None, cluster_name=None): - """MicroServiceInfoCCEService - - The model defined in huaweicloud sdk - - :param cluster_id: 云容器引擎集群编号 - :type cluster_id: str - :param namespace: 命名空间。1-63字符。只能包含小写字母、数字,以及 '-',必须以字母开头,必须以字母数字结尾。 - :type namespace: str - :param service_name: Service名称。支持汉字,英文,数字,点,中划线,下划线,且只能以英文和汉字开头,1-64字符。 > 中文字符必须为UTF-8或者unicode编码。 - :type service_name: str - :param cluster_name: 云容器引擎集群名称 - :type cluster_name: str - """ - - - - self._cluster_id = None - self._namespace = None - self._service_name = None - self._cluster_name = None - self.discriminator = None - - self.cluster_id = cluster_id - self.namespace = namespace - self.service_name = service_name - if cluster_name is not None: - self.cluster_name = cluster_name - - @property - def cluster_id(self): - """Gets the cluster_id of this MicroServiceInfoCCEService. - - 云容器引擎集群编号 - - :return: The cluster_id of this MicroServiceInfoCCEService. - :rtype: str - """ - return self._cluster_id - - @cluster_id.setter - def cluster_id(self, cluster_id): - """Sets the cluster_id of this MicroServiceInfoCCEService. - - 云容器引擎集群编号 - - :param cluster_id: The cluster_id of this MicroServiceInfoCCEService. - :type cluster_id: str - """ - self._cluster_id = cluster_id - - @property - def namespace(self): - """Gets the namespace of this MicroServiceInfoCCEService. - - 命名空间。1-63字符。只能包含小写字母、数字,以及 '-',必须以字母开头,必须以字母数字结尾。 - - :return: The namespace of this MicroServiceInfoCCEService. - :rtype: str - """ - return self._namespace - - @namespace.setter - def namespace(self, namespace): - """Sets the namespace of this MicroServiceInfoCCEService. - - 命名空间。1-63字符。只能包含小写字母、数字,以及 '-',必须以字母开头,必须以字母数字结尾。 - - :param namespace: The namespace of this MicroServiceInfoCCEService. - :type namespace: str - """ - self._namespace = namespace - - @property - def service_name(self): - """Gets the service_name of this MicroServiceInfoCCEService. - - Service名称。支持汉字,英文,数字,点,中划线,下划线,且只能以英文和汉字开头,1-64字符。 > 中文字符必须为UTF-8或者unicode编码。 - - :return: The service_name of this MicroServiceInfoCCEService. - :rtype: str - """ - return self._service_name - - @service_name.setter - def service_name(self, service_name): - """Sets the service_name of this MicroServiceInfoCCEService. - - Service名称。支持汉字,英文,数字,点,中划线,下划线,且只能以英文和汉字开头,1-64字符。 > 中文字符必须为UTF-8或者unicode编码。 - - :param service_name: The service_name of this MicroServiceInfoCCEService. - :type service_name: str - """ - self._service_name = service_name - - @property - def cluster_name(self): - """Gets the cluster_name of this MicroServiceInfoCCEService. - - 云容器引擎集群名称 - - :return: The cluster_name of this MicroServiceInfoCCEService. - :rtype: str - """ - return self._cluster_name - - @cluster_name.setter - def cluster_name(self, cluster_name): - """Sets the cluster_name of this MicroServiceInfoCCEService. - - 云容器引擎集群名称 - - :param cluster_name: The cluster_name of this MicroServiceInfoCCEService. - :type cluster_name: str - """ - self._cluster_name = cluster_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, MicroServiceInfoCCEService): - 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-apig/huaweicloudsdkapig/v2/model/micro_service_info_cce_service_base.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/micro_service_info_cce_service_base.py deleted file mode 100644 index 099ca7d48d..0000000000 --- a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/micro_service_info_cce_service_base.py +++ /dev/null @@ -1,170 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class MicroServiceInfoCCEServiceBase: - - """ - 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', - 'namespace': 'str', - 'service_name': 'str' - } - - attribute_map = { - 'cluster_id': 'cluster_id', - 'namespace': 'namespace', - 'service_name': 'service_name' - } - - def __init__(self, cluster_id=None, namespace=None, service_name=None): - """MicroServiceInfoCCEServiceBase - - The model defined in huaweicloud sdk - - :param cluster_id: 云容器引擎集群编号 - :type cluster_id: str - :param namespace: 命名空间。1-63字符。只能包含小写字母、数字,以及 '-',必须以字母开头,必须以字母数字结尾。 - :type namespace: str - :param service_name: Service名称。支持汉字,英文,数字,点,中划线,下划线,且只能以英文和汉字开头,1-64字符。 > 中文字符必须为UTF-8或者unicode编码。 - :type service_name: str - """ - - - - self._cluster_id = None - self._namespace = None - self._service_name = None - self.discriminator = None - - self.cluster_id = cluster_id - self.namespace = namespace - self.service_name = service_name - - @property - def cluster_id(self): - """Gets the cluster_id of this MicroServiceInfoCCEServiceBase. - - 云容器引擎集群编号 - - :return: The cluster_id of this MicroServiceInfoCCEServiceBase. - :rtype: str - """ - return self._cluster_id - - @cluster_id.setter - def cluster_id(self, cluster_id): - """Sets the cluster_id of this MicroServiceInfoCCEServiceBase. - - 云容器引擎集群编号 - - :param cluster_id: The cluster_id of this MicroServiceInfoCCEServiceBase. - :type cluster_id: str - """ - self._cluster_id = cluster_id - - @property - def namespace(self): - """Gets the namespace of this MicroServiceInfoCCEServiceBase. - - 命名空间。1-63字符。只能包含小写字母、数字,以及 '-',必须以字母开头,必须以字母数字结尾。 - - :return: The namespace of this MicroServiceInfoCCEServiceBase. - :rtype: str - """ - return self._namespace - - @namespace.setter - def namespace(self, namespace): - """Sets the namespace of this MicroServiceInfoCCEServiceBase. - - 命名空间。1-63字符。只能包含小写字母、数字,以及 '-',必须以字母开头,必须以字母数字结尾。 - - :param namespace: The namespace of this MicroServiceInfoCCEServiceBase. - :type namespace: str - """ - self._namespace = namespace - - @property - def service_name(self): - """Gets the service_name of this MicroServiceInfoCCEServiceBase. - - Service名称。支持汉字,英文,数字,点,中划线,下划线,且只能以英文和汉字开头,1-64字符。 > 中文字符必须为UTF-8或者unicode编码。 - - :return: The service_name of this MicroServiceInfoCCEServiceBase. - :rtype: str - """ - return self._service_name - - @service_name.setter - def service_name(self, service_name): - """Sets the service_name of this MicroServiceInfoCCEServiceBase. - - Service名称。支持汉字,英文,数字,点,中划线,下划线,且只能以英文和汉字开头,1-64字符。 > 中文字符必须为UTF-8或者unicode编码。 - - :param service_name: The service_name of this MicroServiceInfoCCEServiceBase. - :type service_name: str - """ - self._service_name = service_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, MicroServiceInfoCCEServiceBase): - 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-apig/huaweicloudsdkapig/v2/model/micro_service_info_cce_service_create.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/micro_service_info_cce_service_create.py deleted file mode 100644 index ead054ab5b..0000000000 --- a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/micro_service_info_cce_service_create.py +++ /dev/null @@ -1,199 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class MicroServiceInfoCCEServiceCreate: - - """ - 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', - 'namespace': 'str', - 'service_name': 'str', - 'port': 'int' - } - - attribute_map = { - 'cluster_id': 'cluster_id', - 'namespace': 'namespace', - 'service_name': 'service_name', - 'port': 'port' - } - - def __init__(self, cluster_id=None, namespace=None, service_name=None, port=None): - """MicroServiceInfoCCEServiceCreate - - The model defined in huaweicloud sdk - - :param cluster_id: 云容器引擎集群编号 - :type cluster_id: str - :param namespace: 命名空间。1-63字符。只能包含小写字母、数字,以及 '-',必须以字母开头,必须以字母数字结尾。 - :type namespace: str - :param service_name: Service名称。支持汉字,英文,数字,点,中划线,下划线,且只能以英文和汉字开头,1-64字符。 > 中文字符必须为UTF-8或者unicode编码。 - :type service_name: str - :param port: Service的监听端口号。如果是多端口Service,用户需填写一个端口。 - :type port: int - """ - - - - self._cluster_id = None - self._namespace = None - self._service_name = None - self._port = None - self.discriminator = None - - self.cluster_id = cluster_id - self.namespace = namespace - self.service_name = service_name - if port is not None: - self.port = port - - @property - def cluster_id(self): - """Gets the cluster_id of this MicroServiceInfoCCEServiceCreate. - - 云容器引擎集群编号 - - :return: The cluster_id of this MicroServiceInfoCCEServiceCreate. - :rtype: str - """ - return self._cluster_id - - @cluster_id.setter - def cluster_id(self, cluster_id): - """Sets the cluster_id of this MicroServiceInfoCCEServiceCreate. - - 云容器引擎集群编号 - - :param cluster_id: The cluster_id of this MicroServiceInfoCCEServiceCreate. - :type cluster_id: str - """ - self._cluster_id = cluster_id - - @property - def namespace(self): - """Gets the namespace of this MicroServiceInfoCCEServiceCreate. - - 命名空间。1-63字符。只能包含小写字母、数字,以及 '-',必须以字母开头,必须以字母数字结尾。 - - :return: The namespace of this MicroServiceInfoCCEServiceCreate. - :rtype: str - """ - return self._namespace - - @namespace.setter - def namespace(self, namespace): - """Sets the namespace of this MicroServiceInfoCCEServiceCreate. - - 命名空间。1-63字符。只能包含小写字母、数字,以及 '-',必须以字母开头,必须以字母数字结尾。 - - :param namespace: The namespace of this MicroServiceInfoCCEServiceCreate. - :type namespace: str - """ - self._namespace = namespace - - @property - def service_name(self): - """Gets the service_name of this MicroServiceInfoCCEServiceCreate. - - Service名称。支持汉字,英文,数字,点,中划线,下划线,且只能以英文和汉字开头,1-64字符。 > 中文字符必须为UTF-8或者unicode编码。 - - :return: The service_name of this MicroServiceInfoCCEServiceCreate. - :rtype: str - """ - return self._service_name - - @service_name.setter - def service_name(self, service_name): - """Sets the service_name of this MicroServiceInfoCCEServiceCreate. - - Service名称。支持汉字,英文,数字,点,中划线,下划线,且只能以英文和汉字开头,1-64字符。 > 中文字符必须为UTF-8或者unicode编码。 - - :param service_name: The service_name of this MicroServiceInfoCCEServiceCreate. - :type service_name: str - """ - self._service_name = service_name - - @property - def port(self): - """Gets the port of this MicroServiceInfoCCEServiceCreate. - - Service的监听端口号。如果是多端口Service,用户需填写一个端口。 - - :return: The port of this MicroServiceInfoCCEServiceCreate. - :rtype: int - """ - return self._port - - @port.setter - def port(self, port): - """Sets the port of this MicroServiceInfoCCEServiceCreate. - - Service的监听端口号。如果是多端口Service,用户需填写一个端口。 - - :param port: The port of this MicroServiceInfoCCEServiceCreate. - :type port: int - """ - self._port = port - - 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, MicroServiceInfoCCEServiceCreate): - 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-apig/huaweicloudsdkapig/v2/model/microservice_import_req.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/microservice_import_req.py index 7ae5d50f8d..f3a4ecddd9 100644 --- a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/microservice_import_req.py +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/microservice_import_req.py @@ -25,8 +25,7 @@ class MicroserviceImportReq: 'auth_type': 'str', 'cors': 'bool', 'cse_info': 'MicroServiceInfoCSECreate', - 'cce_info': 'MicroServiceInfoCCECreate', - 'cce_service_info': 'MicroServiceInfoCCEServiceCreate' + 'cce_info': 'MicroServiceInfoCCECreate' } attribute_map = { @@ -38,11 +37,10 @@ class MicroserviceImportReq: 'auth_type': 'auth_type', 'cors': 'cors', 'cse_info': 'cse_info', - 'cce_info': 'cce_info', - 'cce_service_info': 'cce_service_info' + 'cce_info': 'cce_info' } - def __init__(self, group_info=None, service_type=None, protocol=None, apis=None, backend_timeout=None, auth_type=None, cors=None, cse_info=None, cce_info=None, cce_service_info=None): + def __init__(self, group_info=None, service_type=None, protocol=None, apis=None, backend_timeout=None, auth_type=None, cors=None, cse_info=None, cce_info=None): """MicroserviceImportReq The model defined in huaweicloud sdk @@ -57,7 +55,7 @@ def __init__(self, group_info=None, service_type=None, protocol=None, apis=None, :type apis: list[:class:`huaweicloudsdkapig.v2.MicroserviceApiCreate`] :param backend_timeout: APIG请求后端服务的超时时间。最大超时时间可通过实例特性backend_timeout配置修改,可修改的上限为600000,默认5000 单位:毫秒。 :type backend_timeout: int - :param auth_type: API的认证方式,默认无认证[,site暂不支持IAM认证。](tag:Site) - NONE:无认证 - APP:APP认证 - IAM:IAM认证 + :param auth_type: API的认证方式,默认无认证。 - NONE:无认证 - APP:APP认证 - IAM:IAM认证 :type auth_type: str :param cors: 是否支持跨域,默认不支持 - true:支持 - false:不支持 :type cors: bool @@ -65,8 +63,6 @@ def __init__(self, group_info=None, service_type=None, protocol=None, apis=None, :type cse_info: :class:`huaweicloudsdkapig.v2.MicroServiceInfoCSECreate` :param cce_info: :type cce_info: :class:`huaweicloudsdkapig.v2.MicroServiceInfoCCECreate` - :param cce_service_info: - :type cce_service_info: :class:`huaweicloudsdkapig.v2.MicroServiceInfoCCEServiceCreate` """ @@ -80,7 +76,6 @@ def __init__(self, group_info=None, service_type=None, protocol=None, apis=None, self._cors = None self._cse_info = None self._cce_info = None - self._cce_service_info = None self.discriminator = None self.group_info = group_info @@ -98,8 +93,6 @@ def __init__(self, group_info=None, service_type=None, protocol=None, apis=None, self.cse_info = cse_info if cce_info is not None: self.cce_info = cce_info - if cce_service_info is not None: - self.cce_service_info = cce_service_info @property def group_info(self): @@ -211,7 +204,7 @@ def backend_timeout(self, backend_timeout): def auth_type(self): """Gets the auth_type of this MicroserviceImportReq. - API的认证方式,默认无认证[,site暂不支持IAM认证。](tag:Site) - NONE:无认证 - APP:APP认证 - IAM:IAM认证 + API的认证方式,默认无认证。 - NONE:无认证 - APP:APP认证 - IAM:IAM认证 :return: The auth_type of this MicroserviceImportReq. :rtype: str @@ -222,7 +215,7 @@ def auth_type(self): def auth_type(self, auth_type): """Sets the auth_type of this MicroserviceImportReq. - API的认证方式,默认无认证[,site暂不支持IAM认证。](tag:Site) - NONE:无认证 - APP:APP认证 - IAM:IAM认证 + API的认证方式,默认无认证。 - NONE:无认证 - APP:APP认证 - IAM:IAM认证 :param auth_type: The auth_type of this MicroserviceImportReq. :type auth_type: str @@ -287,24 +280,6 @@ def cce_info(self, cce_info): """ self._cce_info = cce_info - @property - def cce_service_info(self): - """Gets the cce_service_info of this MicroserviceImportReq. - - :return: The cce_service_info of this MicroserviceImportReq. - :rtype: :class:`huaweicloudsdkapig.v2.MicroServiceInfoCCEServiceCreate` - """ - return self._cce_service_info - - @cce_service_info.setter - def cce_service_info(self, cce_service_info): - """Sets the cce_service_info of this MicroserviceImportReq. - - :param cce_service_info: The cce_service_info of this MicroserviceImportReq. - :type cce_service_info: :class:`huaweicloudsdkapig.v2.MicroServiceInfoCCEServiceCreate` - """ - self._cce_service_info = cce_service_info - def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/orchestration_api_info.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/orchestration_api_info.py new file mode 100644 index 0000000000..9adcc5ff4e --- /dev/null +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/orchestration_api_info.py @@ -0,0 +1,347 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class OrchestrationApiInfo: + + """ + 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 = { + 'api_id': 'str', + 'api_name': 'str', + 'req_method': 'str', + 'req_uri': 'str', + 'auth_type': 'str', + 'match_mode': 'str', + 'group_id': 'str', + 'group_name': 'str', + 'attached_time': 'datetime' + } + + attribute_map = { + 'api_id': 'api_id', + 'api_name': 'api_name', + 'req_method': 'req_method', + 'req_uri': 'req_uri', + 'auth_type': 'auth_type', + 'match_mode': 'match_mode', + 'group_id': 'group_id', + 'group_name': 'group_name', + 'attached_time': 'attached_time' + } + + def __init__(self, api_id=None, api_name=None, req_method=None, req_uri=None, auth_type=None, match_mode=None, group_id=None, group_name=None, attached_time=None): + """OrchestrationApiInfo + + The model defined in huaweicloud sdk + + :param api_id: API编号。 + :type api_id: str + :param api_name: API名称。 支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号、中文格式下的顿号,且只能以英文、汉字和数字开头,3-255个字符。 > 中文字符必须为UTF-8或者unicode编码。 + :type api_name: str + :param req_method: API的请求方式。 + :type req_method: str + :param req_uri: 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ .等特殊字符,总长度不超过512,且满足URI规范。 支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、中划线、下划线组成,且只能以英文开头。 > 需要服从URI规范。 + :type req_uri: str + :param auth_type: API的认证方式。 - NONE:无认证 - APP:APP认证 - IAM:IAM认证 - AUTHORIZER:自定义认证 + :type auth_type: str + :param match_mode: API的匹配方式。 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL + :type match_mode: str + :param group_id: API所属的分组编号。 + :type group_id: str + :param group_name: API所属分组的名称。 + :type group_name: str + :param attached_time: 绑定时间。 + :type attached_time: datetime + """ + + + + self._api_id = None + self._api_name = None + self._req_method = None + self._req_uri = None + self._auth_type = None + self._match_mode = None + self._group_id = None + self._group_name = None + self._attached_time = None + self.discriminator = None + + if api_id is not None: + self.api_id = api_id + if api_name is not None: + self.api_name = api_name + if req_method is not None: + self.req_method = req_method + if req_uri is not None: + self.req_uri = req_uri + if auth_type is not None: + self.auth_type = auth_type + if match_mode is not None: + self.match_mode = match_mode + if group_id is not None: + self.group_id = group_id + if group_name is not None: + self.group_name = group_name + if attached_time is not None: + self.attached_time = attached_time + + @property + def api_id(self): + """Gets the api_id of this OrchestrationApiInfo. + + API编号。 + + :return: The api_id of this OrchestrationApiInfo. + :rtype: str + """ + return self._api_id + + @api_id.setter + def api_id(self, api_id): + """Sets the api_id of this OrchestrationApiInfo. + + API编号。 + + :param api_id: The api_id of this OrchestrationApiInfo. + :type api_id: str + """ + self._api_id = api_id + + @property + def api_name(self): + """Gets the api_name of this OrchestrationApiInfo. + + API名称。 支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号、中文格式下的顿号,且只能以英文、汉字和数字开头,3-255个字符。 > 中文字符必须为UTF-8或者unicode编码。 + + :return: The api_name of this OrchestrationApiInfo. + :rtype: str + """ + return self._api_name + + @api_name.setter + def api_name(self, api_name): + """Sets the api_name of this OrchestrationApiInfo. + + API名称。 支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号、中文格式下的顿号,且只能以英文、汉字和数字开头,3-255个字符。 > 中文字符必须为UTF-8或者unicode编码。 + + :param api_name: The api_name of this OrchestrationApiInfo. + :type api_name: str + """ + self._api_name = api_name + + @property + def req_method(self): + """Gets the req_method of this OrchestrationApiInfo. + + API的请求方式。 + + :return: The req_method of this OrchestrationApiInfo. + :rtype: str + """ + return self._req_method + + @req_method.setter + def req_method(self, req_method): + """Sets the req_method of this OrchestrationApiInfo. + + API的请求方式。 + + :param req_method: The req_method of this OrchestrationApiInfo. + :type req_method: str + """ + self._req_method = req_method + + @property + def req_uri(self): + """Gets the req_uri of this OrchestrationApiInfo. + + 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ .等特殊字符,总长度不超过512,且满足URI规范。 支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、中划线、下划线组成,且只能以英文开头。 > 需要服从URI规范。 + + :return: The req_uri of this OrchestrationApiInfo. + :rtype: str + """ + return self._req_uri + + @req_uri.setter + def req_uri(self, req_uri): + """Sets the req_uri of this OrchestrationApiInfo. + + 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ .等特殊字符,总长度不超过512,且满足URI规范。 支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、中划线、下划线组成,且只能以英文开头。 > 需要服从URI规范。 + + :param req_uri: The req_uri of this OrchestrationApiInfo. + :type req_uri: str + """ + self._req_uri = req_uri + + @property + def auth_type(self): + """Gets the auth_type of this OrchestrationApiInfo. + + API的认证方式。 - NONE:无认证 - APP:APP认证 - IAM:IAM认证 - AUTHORIZER:自定义认证 + + :return: The auth_type of this OrchestrationApiInfo. + :rtype: str + """ + return self._auth_type + + @auth_type.setter + def auth_type(self, auth_type): + """Sets the auth_type of this OrchestrationApiInfo. + + API的认证方式。 - NONE:无认证 - APP:APP认证 - IAM:IAM认证 - AUTHORIZER:自定义认证 + + :param auth_type: The auth_type of this OrchestrationApiInfo. + :type auth_type: str + """ + self._auth_type = auth_type + + @property + def match_mode(self): + """Gets the match_mode of this OrchestrationApiInfo. + + API的匹配方式。 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL + + :return: The match_mode of this OrchestrationApiInfo. + :rtype: str + """ + return self._match_mode + + @match_mode.setter + def match_mode(self, match_mode): + """Sets the match_mode of this OrchestrationApiInfo. + + API的匹配方式。 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL + + :param match_mode: The match_mode of this OrchestrationApiInfo. + :type match_mode: str + """ + self._match_mode = match_mode + + @property + def group_id(self): + """Gets the group_id of this OrchestrationApiInfo. + + API所属的分组编号。 + + :return: The group_id of this OrchestrationApiInfo. + :rtype: str + """ + return self._group_id + + @group_id.setter + def group_id(self, group_id): + """Sets the group_id of this OrchestrationApiInfo. + + API所属的分组编号。 + + :param group_id: The group_id of this OrchestrationApiInfo. + :type group_id: str + """ + self._group_id = group_id + + @property + def group_name(self): + """Gets the group_name of this OrchestrationApiInfo. + + API所属分组的名称。 + + :return: The group_name of this OrchestrationApiInfo. + :rtype: str + """ + return self._group_name + + @group_name.setter + def group_name(self, group_name): + """Sets the group_name of this OrchestrationApiInfo. + + API所属分组的名称。 + + :param group_name: The group_name of this OrchestrationApiInfo. + :type group_name: str + """ + self._group_name = group_name + + @property + def attached_time(self): + """Gets the attached_time of this OrchestrationApiInfo. + + 绑定时间。 + + :return: The attached_time of this OrchestrationApiInfo. + :rtype: datetime + """ + return self._attached_time + + @attached_time.setter + def attached_time(self, attached_time): + """Sets the attached_time of this OrchestrationApiInfo. + + 绑定时间。 + + :param attached_time: The attached_time of this OrchestrationApiInfo. + :type attached_time: datetime + """ + self._attached_time = attached_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, OrchestrationApiInfo): + 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-apig/huaweicloudsdkapig/v2/model/orchestration_base_info.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/orchestration_base_info.py new file mode 100644 index 0000000000..2380ddcba5 --- /dev/null +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/orchestration_base_info.py @@ -0,0 +1,196 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class OrchestrationBaseInfo: + + """ + 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 = { + 'orchestration_name': 'str', + 'orchestration_strategy': 'str', + 'orchestration_mapped_param': 'OrchestrationMappedParam', + 'is_preprocessing': 'bool' + } + + attribute_map = { + 'orchestration_name': 'orchestration_name', + 'orchestration_strategy': 'orchestration_strategy', + 'orchestration_mapped_param': 'orchestration_mapped_param', + 'is_preprocessing': 'is_preprocessing' + } + + def __init__(self, orchestration_name=None, orchestration_strategy=None, orchestration_mapped_param=None, is_preprocessing=None): + """OrchestrationBaseInfo + + The model defined in huaweicloud sdk + + :param orchestration_name: 编排映射规则名称。 支持英文,数字,下划线,且只能以英文开头,3-64个字符,同一实例下不允许重名。 + :type orchestration_name: str + :param orchestration_strategy: 编排策略,有以下几种策略类型: - list:列表; - hash:哈希; - range:区间; - hash_range: 哈希+区间; - none_value: 空值映射; - default: 默认值映射; - head_n: 截取前n项; - tail_n: 截取后n项; 当编排策略为list时,orchestration_map列表长度*map_param_list长度不超过3000。 + :type orchestration_strategy: str + :param orchestration_mapped_param: + :type orchestration_mapped_param: :class:`huaweicloudsdkapig.v2.OrchestrationMappedParam` + :param is_preprocessing: 是否为预处理策略,预处理策略只会生成临时参数作为后面参数编排规则的入参标记。当为预处理策略时,该编排规则不能作为除default之外的最后一个编排规则。 + :type is_preprocessing: bool + """ + + + + self._orchestration_name = None + self._orchestration_strategy = None + self._orchestration_mapped_param = None + self._is_preprocessing = None + self.discriminator = None + + self.orchestration_name = orchestration_name + self.orchestration_strategy = orchestration_strategy + if orchestration_mapped_param is not None: + self.orchestration_mapped_param = orchestration_mapped_param + if is_preprocessing is not None: + self.is_preprocessing = is_preprocessing + + @property + def orchestration_name(self): + """Gets the orchestration_name of this OrchestrationBaseInfo. + + 编排映射规则名称。 支持英文,数字,下划线,且只能以英文开头,3-64个字符,同一实例下不允许重名。 + + :return: The orchestration_name of this OrchestrationBaseInfo. + :rtype: str + """ + return self._orchestration_name + + @orchestration_name.setter + def orchestration_name(self, orchestration_name): + """Sets the orchestration_name of this OrchestrationBaseInfo. + + 编排映射规则名称。 支持英文,数字,下划线,且只能以英文开头,3-64个字符,同一实例下不允许重名。 + + :param orchestration_name: The orchestration_name of this OrchestrationBaseInfo. + :type orchestration_name: str + """ + self._orchestration_name = orchestration_name + + @property + def orchestration_strategy(self): + """Gets the orchestration_strategy of this OrchestrationBaseInfo. + + 编排策略,有以下几种策略类型: - list:列表; - hash:哈希; - range:区间; - hash_range: 哈希+区间; - none_value: 空值映射; - default: 默认值映射; - head_n: 截取前n项; - tail_n: 截取后n项; 当编排策略为list时,orchestration_map列表长度*map_param_list长度不超过3000。 + + :return: The orchestration_strategy of this OrchestrationBaseInfo. + :rtype: str + """ + return self._orchestration_strategy + + @orchestration_strategy.setter + def orchestration_strategy(self, orchestration_strategy): + """Sets the orchestration_strategy of this OrchestrationBaseInfo. + + 编排策略,有以下几种策略类型: - list:列表; - hash:哈希; - range:区间; - hash_range: 哈希+区间; - none_value: 空值映射; - default: 默认值映射; - head_n: 截取前n项; - tail_n: 截取后n项; 当编排策略为list时,orchestration_map列表长度*map_param_list长度不超过3000。 + + :param orchestration_strategy: The orchestration_strategy of this OrchestrationBaseInfo. + :type orchestration_strategy: str + """ + self._orchestration_strategy = orchestration_strategy + + @property + def orchestration_mapped_param(self): + """Gets the orchestration_mapped_param of this OrchestrationBaseInfo. + + :return: The orchestration_mapped_param of this OrchestrationBaseInfo. + :rtype: :class:`huaweicloudsdkapig.v2.OrchestrationMappedParam` + """ + return self._orchestration_mapped_param + + @orchestration_mapped_param.setter + def orchestration_mapped_param(self, orchestration_mapped_param): + """Sets the orchestration_mapped_param of this OrchestrationBaseInfo. + + :param orchestration_mapped_param: The orchestration_mapped_param of this OrchestrationBaseInfo. + :type orchestration_mapped_param: :class:`huaweicloudsdkapig.v2.OrchestrationMappedParam` + """ + self._orchestration_mapped_param = orchestration_mapped_param + + @property + def is_preprocessing(self): + """Gets the is_preprocessing of this OrchestrationBaseInfo. + + 是否为预处理策略,预处理策略只会生成临时参数作为后面参数编排规则的入参标记。当为预处理策略时,该编排规则不能作为除default之外的最后一个编排规则。 + + :return: The is_preprocessing of this OrchestrationBaseInfo. + :rtype: bool + """ + return self._is_preprocessing + + @is_preprocessing.setter + def is_preprocessing(self, is_preprocessing): + """Sets the is_preprocessing of this OrchestrationBaseInfo. + + 是否为预处理策略,预处理策略只会生成临时参数作为后面参数编排规则的入参标记。当为预处理策略时,该编排规则不能作为除default之外的最后一个编排规则。 + + :param is_preprocessing: The is_preprocessing of this OrchestrationBaseInfo. + :type is_preprocessing: bool + """ + self._is_preprocessing = is_preprocessing + + 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, OrchestrationBaseInfo): + 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-apig/huaweicloudsdkapig/v2/model/orchestration_base_resp.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/orchestration_base_resp.py new file mode 100644 index 0000000000..862de83fd9 --- /dev/null +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/orchestration_base_resp.py @@ -0,0 +1,283 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class OrchestrationBaseResp: + + """ + 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 = { + 'orchestration_name': 'str', + 'orchestration_strategy': 'str', + 'orchestration_mapped_param': 'OrchestrationMappedParam', + 'is_preprocessing': 'bool', + 'orchestration_id': 'str', + 'orchestration_create_time': 'datetime', + 'orchestration_update_time': 'datetime' + } + + attribute_map = { + 'orchestration_name': 'orchestration_name', + 'orchestration_strategy': 'orchestration_strategy', + 'orchestration_mapped_param': 'orchestration_mapped_param', + 'is_preprocessing': 'is_preprocessing', + 'orchestration_id': 'orchestration_id', + 'orchestration_create_time': 'orchestration_create_time', + 'orchestration_update_time': 'orchestration_update_time' + } + + def __init__(self, orchestration_name=None, orchestration_strategy=None, orchestration_mapped_param=None, is_preprocessing=None, orchestration_id=None, orchestration_create_time=None, orchestration_update_time=None): + """OrchestrationBaseResp + + The model defined in huaweicloud sdk + + :param orchestration_name: 编排映射规则名称。 支持英文,数字,下划线,且只能以英文开头,3-64个字符,同一实例下不允许重名。 + :type orchestration_name: str + :param orchestration_strategy: 编排策略,有以下几种策略类型: - list:列表; - hash:哈希; - range:区间; - hash_range: 哈希+区间; - none_value: 空值映射; - default: 默认值映射; - head_n: 截取前n项; - tail_n: 截取后n项; 当编排策略为list时,orchestration_map列表长度*map_param_list长度不超过3000。 + :type orchestration_strategy: str + :param orchestration_mapped_param: + :type orchestration_mapped_param: :class:`huaweicloudsdkapig.v2.OrchestrationMappedParam` + :param is_preprocessing: 是否为预处理策略,预处理策略只会生成临时参数作为后面参数编排规则的入参标记。当为预处理策略时,该编排规则不能作为除default之外的最后一个编排规则。 + :type is_preprocessing: bool + :param orchestration_id: 编排规则编号。 + :type orchestration_id: str + :param orchestration_create_time: 编排规则创建时间。 + :type orchestration_create_time: datetime + :param orchestration_update_time: 编排规则更新时间。 + :type orchestration_update_time: datetime + """ + + + + self._orchestration_name = None + self._orchestration_strategy = None + self._orchestration_mapped_param = None + self._is_preprocessing = None + self._orchestration_id = None + self._orchestration_create_time = None + self._orchestration_update_time = None + self.discriminator = None + + self.orchestration_name = orchestration_name + self.orchestration_strategy = orchestration_strategy + if orchestration_mapped_param is not None: + self.orchestration_mapped_param = orchestration_mapped_param + if is_preprocessing is not None: + self.is_preprocessing = is_preprocessing + if orchestration_id is not None: + self.orchestration_id = orchestration_id + if orchestration_create_time is not None: + self.orchestration_create_time = orchestration_create_time + if orchestration_update_time is not None: + self.orchestration_update_time = orchestration_update_time + + @property + def orchestration_name(self): + """Gets the orchestration_name of this OrchestrationBaseResp. + + 编排映射规则名称。 支持英文,数字,下划线,且只能以英文开头,3-64个字符,同一实例下不允许重名。 + + :return: The orchestration_name of this OrchestrationBaseResp. + :rtype: str + """ + return self._orchestration_name + + @orchestration_name.setter + def orchestration_name(self, orchestration_name): + """Sets the orchestration_name of this OrchestrationBaseResp. + + 编排映射规则名称。 支持英文,数字,下划线,且只能以英文开头,3-64个字符,同一实例下不允许重名。 + + :param orchestration_name: The orchestration_name of this OrchestrationBaseResp. + :type orchestration_name: str + """ + self._orchestration_name = orchestration_name + + @property + def orchestration_strategy(self): + """Gets the orchestration_strategy of this OrchestrationBaseResp. + + 编排策略,有以下几种策略类型: - list:列表; - hash:哈希; - range:区间; - hash_range: 哈希+区间; - none_value: 空值映射; - default: 默认值映射; - head_n: 截取前n项; - tail_n: 截取后n项; 当编排策略为list时,orchestration_map列表长度*map_param_list长度不超过3000。 + + :return: The orchestration_strategy of this OrchestrationBaseResp. + :rtype: str + """ + return self._orchestration_strategy + + @orchestration_strategy.setter + def orchestration_strategy(self, orchestration_strategy): + """Sets the orchestration_strategy of this OrchestrationBaseResp. + + 编排策略,有以下几种策略类型: - list:列表; - hash:哈希; - range:区间; - hash_range: 哈希+区间; - none_value: 空值映射; - default: 默认值映射; - head_n: 截取前n项; - tail_n: 截取后n项; 当编排策略为list时,orchestration_map列表长度*map_param_list长度不超过3000。 + + :param orchestration_strategy: The orchestration_strategy of this OrchestrationBaseResp. + :type orchestration_strategy: str + """ + self._orchestration_strategy = orchestration_strategy + + @property + def orchestration_mapped_param(self): + """Gets the orchestration_mapped_param of this OrchestrationBaseResp. + + :return: The orchestration_mapped_param of this OrchestrationBaseResp. + :rtype: :class:`huaweicloudsdkapig.v2.OrchestrationMappedParam` + """ + return self._orchestration_mapped_param + + @orchestration_mapped_param.setter + def orchestration_mapped_param(self, orchestration_mapped_param): + """Sets the orchestration_mapped_param of this OrchestrationBaseResp. + + :param orchestration_mapped_param: The orchestration_mapped_param of this OrchestrationBaseResp. + :type orchestration_mapped_param: :class:`huaweicloudsdkapig.v2.OrchestrationMappedParam` + """ + self._orchestration_mapped_param = orchestration_mapped_param + + @property + def is_preprocessing(self): + """Gets the is_preprocessing of this OrchestrationBaseResp. + + 是否为预处理策略,预处理策略只会生成临时参数作为后面参数编排规则的入参标记。当为预处理策略时,该编排规则不能作为除default之外的最后一个编排规则。 + + :return: The is_preprocessing of this OrchestrationBaseResp. + :rtype: bool + """ + return self._is_preprocessing + + @is_preprocessing.setter + def is_preprocessing(self, is_preprocessing): + """Sets the is_preprocessing of this OrchestrationBaseResp. + + 是否为预处理策略,预处理策略只会生成临时参数作为后面参数编排规则的入参标记。当为预处理策略时,该编排规则不能作为除default之外的最后一个编排规则。 + + :param is_preprocessing: The is_preprocessing of this OrchestrationBaseResp. + :type is_preprocessing: bool + """ + self._is_preprocessing = is_preprocessing + + @property + def orchestration_id(self): + """Gets the orchestration_id of this OrchestrationBaseResp. + + 编排规则编号。 + + :return: The orchestration_id of this OrchestrationBaseResp. + :rtype: str + """ + return self._orchestration_id + + @orchestration_id.setter + def orchestration_id(self, orchestration_id): + """Sets the orchestration_id of this OrchestrationBaseResp. + + 编排规则编号。 + + :param orchestration_id: The orchestration_id of this OrchestrationBaseResp. + :type orchestration_id: str + """ + self._orchestration_id = orchestration_id + + @property + def orchestration_create_time(self): + """Gets the orchestration_create_time of this OrchestrationBaseResp. + + 编排规则创建时间。 + + :return: The orchestration_create_time of this OrchestrationBaseResp. + :rtype: datetime + """ + return self._orchestration_create_time + + @orchestration_create_time.setter + def orchestration_create_time(self, orchestration_create_time): + """Sets the orchestration_create_time of this OrchestrationBaseResp. + + 编排规则创建时间。 + + :param orchestration_create_time: The orchestration_create_time of this OrchestrationBaseResp. + :type orchestration_create_time: datetime + """ + self._orchestration_create_time = orchestration_create_time + + @property + def orchestration_update_time(self): + """Gets the orchestration_update_time of this OrchestrationBaseResp. + + 编排规则更新时间。 + + :return: The orchestration_update_time of this OrchestrationBaseResp. + :rtype: datetime + """ + return self._orchestration_update_time + + @orchestration_update_time.setter + def orchestration_update_time(self, orchestration_update_time): + """Sets the orchestration_update_time of this OrchestrationBaseResp. + + 编排规则更新时间。 + + :param orchestration_update_time: The orchestration_update_time of this OrchestrationBaseResp. + :type orchestration_update_time: datetime + """ + self._orchestration_update_time = orchestration_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, OrchestrationBaseResp): + 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-apig/huaweicloudsdkapig/v2/model/orchestration_create.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/orchestration_create.py new file mode 100644 index 0000000000..6117be85ca --- /dev/null +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/orchestration_create.py @@ -0,0 +1,225 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class OrchestrationCreate: + + """ + 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 = { + 'orchestration_name': 'str', + 'orchestration_strategy': 'str', + 'orchestration_mapped_param': 'OrchestrationMappedParam', + 'is_preprocessing': 'bool', + 'orchestration_map': 'list[OrchestrationMap]' + } + + attribute_map = { + 'orchestration_name': 'orchestration_name', + 'orchestration_strategy': 'orchestration_strategy', + 'orchestration_mapped_param': 'orchestration_mapped_param', + 'is_preprocessing': 'is_preprocessing', + 'orchestration_map': 'orchestration_map' + } + + def __init__(self, orchestration_name=None, orchestration_strategy=None, orchestration_mapped_param=None, is_preprocessing=None, orchestration_map=None): + """OrchestrationCreate + + The model defined in huaweicloud sdk + + :param orchestration_name: 编排映射规则名称。 支持英文,数字,下划线,且只能以英文开头,3-64个字符,同一实例下不允许重名。 + :type orchestration_name: str + :param orchestration_strategy: 编排策略,有以下几种策略类型: - list:列表; - hash:哈希; - range:区间; - hash_range: 哈希+区间; - none_value: 空值映射; - default: 默认值映射; - head_n: 截取前n项; - tail_n: 截取后n项; 当编排策略为list时,orchestration_map列表长度*map_param_list长度不超过3000。 + :type orchestration_strategy: str + :param orchestration_mapped_param: + :type orchestration_mapped_param: :class:`huaweicloudsdkapig.v2.OrchestrationMappedParam` + :param is_preprocessing: 是否为预处理策略,预处理策略只会生成临时参数作为后面参数编排规则的入参标记。当为预处理策略时,该编排规则不能作为除default之外的最后一个编排规则。 + :type is_preprocessing: bool + :param orchestration_map: 编排映射规则列表,列表长度范围为1-300。 编排映射规则的生效优先级与列表顺序保持一致,列表中靠前的配置匹配优先级较高。 映射规则不能重复,当orchestration_strategy=list时,map_param_list的列表也不能包含重复元素。 + :type orchestration_map: list[:class:`huaweicloudsdkapig.v2.OrchestrationMap`] + """ + + + + self._orchestration_name = None + self._orchestration_strategy = None + self._orchestration_mapped_param = None + self._is_preprocessing = None + self._orchestration_map = None + self.discriminator = None + + self.orchestration_name = orchestration_name + self.orchestration_strategy = orchestration_strategy + if orchestration_mapped_param is not None: + self.orchestration_mapped_param = orchestration_mapped_param + if is_preprocessing is not None: + self.is_preprocessing = is_preprocessing + if orchestration_map is not None: + self.orchestration_map = orchestration_map + + @property + def orchestration_name(self): + """Gets the orchestration_name of this OrchestrationCreate. + + 编排映射规则名称。 支持英文,数字,下划线,且只能以英文开头,3-64个字符,同一实例下不允许重名。 + + :return: The orchestration_name of this OrchestrationCreate. + :rtype: str + """ + return self._orchestration_name + + @orchestration_name.setter + def orchestration_name(self, orchestration_name): + """Sets the orchestration_name of this OrchestrationCreate. + + 编排映射规则名称。 支持英文,数字,下划线,且只能以英文开头,3-64个字符,同一实例下不允许重名。 + + :param orchestration_name: The orchestration_name of this OrchestrationCreate. + :type orchestration_name: str + """ + self._orchestration_name = orchestration_name + + @property + def orchestration_strategy(self): + """Gets the orchestration_strategy of this OrchestrationCreate. + + 编排策略,有以下几种策略类型: - list:列表; - hash:哈希; - range:区间; - hash_range: 哈希+区间; - none_value: 空值映射; - default: 默认值映射; - head_n: 截取前n项; - tail_n: 截取后n项; 当编排策略为list时,orchestration_map列表长度*map_param_list长度不超过3000。 + + :return: The orchestration_strategy of this OrchestrationCreate. + :rtype: str + """ + return self._orchestration_strategy + + @orchestration_strategy.setter + def orchestration_strategy(self, orchestration_strategy): + """Sets the orchestration_strategy of this OrchestrationCreate. + + 编排策略,有以下几种策略类型: - list:列表; - hash:哈希; - range:区间; - hash_range: 哈希+区间; - none_value: 空值映射; - default: 默认值映射; - head_n: 截取前n项; - tail_n: 截取后n项; 当编排策略为list时,orchestration_map列表长度*map_param_list长度不超过3000。 + + :param orchestration_strategy: The orchestration_strategy of this OrchestrationCreate. + :type orchestration_strategy: str + """ + self._orchestration_strategy = orchestration_strategy + + @property + def orchestration_mapped_param(self): + """Gets the orchestration_mapped_param of this OrchestrationCreate. + + :return: The orchestration_mapped_param of this OrchestrationCreate. + :rtype: :class:`huaweicloudsdkapig.v2.OrchestrationMappedParam` + """ + return self._orchestration_mapped_param + + @orchestration_mapped_param.setter + def orchestration_mapped_param(self, orchestration_mapped_param): + """Sets the orchestration_mapped_param of this OrchestrationCreate. + + :param orchestration_mapped_param: The orchestration_mapped_param of this OrchestrationCreate. + :type orchestration_mapped_param: :class:`huaweicloudsdkapig.v2.OrchestrationMappedParam` + """ + self._orchestration_mapped_param = orchestration_mapped_param + + @property + def is_preprocessing(self): + """Gets the is_preprocessing of this OrchestrationCreate. + + 是否为预处理策略,预处理策略只会生成临时参数作为后面参数编排规则的入参标记。当为预处理策略时,该编排规则不能作为除default之外的最后一个编排规则。 + + :return: The is_preprocessing of this OrchestrationCreate. + :rtype: bool + """ + return self._is_preprocessing + + @is_preprocessing.setter + def is_preprocessing(self, is_preprocessing): + """Sets the is_preprocessing of this OrchestrationCreate. + + 是否为预处理策略,预处理策略只会生成临时参数作为后面参数编排规则的入参标记。当为预处理策略时,该编排规则不能作为除default之外的最后一个编排规则。 + + :param is_preprocessing: The is_preprocessing of this OrchestrationCreate. + :type is_preprocessing: bool + """ + self._is_preprocessing = is_preprocessing + + @property + def orchestration_map(self): + """Gets the orchestration_map of this OrchestrationCreate. + + 编排映射规则列表,列表长度范围为1-300。 编排映射规则的生效优先级与列表顺序保持一致,列表中靠前的配置匹配优先级较高。 映射规则不能重复,当orchestration_strategy=list时,map_param_list的列表也不能包含重复元素。 + + :return: The orchestration_map of this OrchestrationCreate. + :rtype: list[:class:`huaweicloudsdkapig.v2.OrchestrationMap`] + """ + return self._orchestration_map + + @orchestration_map.setter + def orchestration_map(self, orchestration_map): + """Sets the orchestration_map of this OrchestrationCreate. + + 编排映射规则列表,列表长度范围为1-300。 编排映射规则的生效优先级与列表顺序保持一致,列表中靠前的配置匹配优先级较高。 映射规则不能重复,当orchestration_strategy=list时,map_param_list的列表也不能包含重复元素。 + + :param orchestration_map: The orchestration_map of this OrchestrationCreate. + :type orchestration_map: list[:class:`huaweicloudsdkapig.v2.OrchestrationMap`] + """ + self._orchestration_map = orchestration_map + + 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, OrchestrationCreate): + 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-apig/huaweicloudsdkapig/v2/model/orchestration_map.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/orchestration_map.py new file mode 100644 index 0000000000..aa500b6687 --- /dev/null +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/orchestration_map.py @@ -0,0 +1,198 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class OrchestrationMap: + + """ + 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 = { + 'map_param_list': 'list[str]', + 'map_param_range': 'OrchestrationMapParamRange', + 'mapped_param_value': 'str', + 'intercept_length': 'int' + } + + attribute_map = { + 'map_param_list': 'map_param_list', + 'map_param_range': 'map_param_range', + 'mapped_param_value': 'mapped_param_value', + 'intercept_length': 'intercept_length' + } + + def __init__(self, map_param_list=None, map_param_range=None, mapped_param_value=None, intercept_length=None): + """OrchestrationMap + + The model defined in huaweicloud sdk + + :param map_param_list: 用于映射编排后参数的列表配置,当orchestration_strategy=list时必填,列表长度范围为0-3000。 列表的取值只支持英文,数字,中划线和下划线,1-128个字符。 + :type map_param_list: list[str] + :param map_param_range: + :type map_param_range: :class:`huaweicloudsdkapig.v2.OrchestrationMapParamRange` + :param mapped_param_value: 编排后的参数取值,只支持英文和数字,1-128个字符。 当orchestration_strategy为hash、head_n、tail_n,或者is_preprocessing为false时,非必填,其他情况必填。 + :type mapped_param_value: str + :param intercept_length: 截取长度,取值范围为1-100,当策略类型为head_n和tail_n时必填,当截取长度大于参数长度时,截取参数的结果为完整参数。 + :type intercept_length: int + """ + + + + self._map_param_list = None + self._map_param_range = None + self._mapped_param_value = None + self._intercept_length = None + self.discriminator = None + + if map_param_list is not None: + self.map_param_list = map_param_list + if map_param_range is not None: + self.map_param_range = map_param_range + if mapped_param_value is not None: + self.mapped_param_value = mapped_param_value + if intercept_length is not None: + self.intercept_length = intercept_length + + @property + def map_param_list(self): + """Gets the map_param_list of this OrchestrationMap. + + 用于映射编排后参数的列表配置,当orchestration_strategy=list时必填,列表长度范围为0-3000。 列表的取值只支持英文,数字,中划线和下划线,1-128个字符。 + + :return: The map_param_list of this OrchestrationMap. + :rtype: list[str] + """ + return self._map_param_list + + @map_param_list.setter + def map_param_list(self, map_param_list): + """Sets the map_param_list of this OrchestrationMap. + + 用于映射编排后参数的列表配置,当orchestration_strategy=list时必填,列表长度范围为0-3000。 列表的取值只支持英文,数字,中划线和下划线,1-128个字符。 + + :param map_param_list: The map_param_list of this OrchestrationMap. + :type map_param_list: list[str] + """ + self._map_param_list = map_param_list + + @property + def map_param_range(self): + """Gets the map_param_range of this OrchestrationMap. + + :return: The map_param_range of this OrchestrationMap. + :rtype: :class:`huaweicloudsdkapig.v2.OrchestrationMapParamRange` + """ + return self._map_param_range + + @map_param_range.setter + def map_param_range(self, map_param_range): + """Sets the map_param_range of this OrchestrationMap. + + :param map_param_range: The map_param_range of this OrchestrationMap. + :type map_param_range: :class:`huaweicloudsdkapig.v2.OrchestrationMapParamRange` + """ + self._map_param_range = map_param_range + + @property + def mapped_param_value(self): + """Gets the mapped_param_value of this OrchestrationMap. + + 编排后的参数取值,只支持英文和数字,1-128个字符。 当orchestration_strategy为hash、head_n、tail_n,或者is_preprocessing为false时,非必填,其他情况必填。 + + :return: The mapped_param_value of this OrchestrationMap. + :rtype: str + """ + return self._mapped_param_value + + @mapped_param_value.setter + def mapped_param_value(self, mapped_param_value): + """Sets the mapped_param_value of this OrchestrationMap. + + 编排后的参数取值,只支持英文和数字,1-128个字符。 当orchestration_strategy为hash、head_n、tail_n,或者is_preprocessing为false时,非必填,其他情况必填。 + + :param mapped_param_value: The mapped_param_value of this OrchestrationMap. + :type mapped_param_value: str + """ + self._mapped_param_value = mapped_param_value + + @property + def intercept_length(self): + """Gets the intercept_length of this OrchestrationMap. + + 截取长度,取值范围为1-100,当策略类型为head_n和tail_n时必填,当截取长度大于参数长度时,截取参数的结果为完整参数。 + + :return: The intercept_length of this OrchestrationMap. + :rtype: int + """ + return self._intercept_length + + @intercept_length.setter + def intercept_length(self, intercept_length): + """Sets the intercept_length of this OrchestrationMap. + + 截取长度,取值范围为1-100,当策略类型为head_n和tail_n时必填,当截取长度大于参数长度时,截取参数的结果为完整参数。 + + :param intercept_length: The intercept_length of this OrchestrationMap. + :type intercept_length: int + """ + self._intercept_length = intercept_length + + 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, OrchestrationMap): + 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-apig/huaweicloudsdkapig/v2/model/orchestration_map_param_range.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/orchestration_map_param_range.py new file mode 100644 index 0000000000..e2115705bd --- /dev/null +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/orchestration_map_param_range.py @@ -0,0 +1,144 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class OrchestrationMapParamRange: + + """ + 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 = { + 'range_start': 'str', + 'range_end': 'str' + } + + attribute_map = { + 'range_start': 'range_start', + 'range_end': 'range_end' + } + + def __init__(self, range_start=None, range_end=None): + """OrchestrationMapParamRange + + The model defined in huaweicloud sdk + + :param range_start: 区间起始值。 为可以转换成integer的string,转换后的range_start的范围为0-9223372036854775807, range_start不大于range_end。 + :type range_start: str + :param range_end: 区间终止值。 为可以转换成integer的string,转换后的range_end的范围为0-9223372036854775807, range_start不大于range_end。 + :type range_end: str + """ + + + + self._range_start = None + self._range_end = None + self.discriminator = None + + if range_start is not None: + self.range_start = range_start + if range_end is not None: + self.range_end = range_end + + @property + def range_start(self): + """Gets the range_start of this OrchestrationMapParamRange. + + 区间起始值。 为可以转换成integer的string,转换后的range_start的范围为0-9223372036854775807, range_start不大于range_end。 + + :return: The range_start of this OrchestrationMapParamRange. + :rtype: str + """ + return self._range_start + + @range_start.setter + def range_start(self, range_start): + """Sets the range_start of this OrchestrationMapParamRange. + + 区间起始值。 为可以转换成integer的string,转换后的range_start的范围为0-9223372036854775807, range_start不大于range_end。 + + :param range_start: The range_start of this OrchestrationMapParamRange. + :type range_start: str + """ + self._range_start = range_start + + @property + def range_end(self): + """Gets the range_end of this OrchestrationMapParamRange. + + 区间终止值。 为可以转换成integer的string,转换后的range_end的范围为0-9223372036854775807, range_start不大于range_end。 + + :return: The range_end of this OrchestrationMapParamRange. + :rtype: str + """ + return self._range_end + + @range_end.setter + def range_end(self, range_end): + """Sets the range_end of this OrchestrationMapParamRange. + + 区间终止值。 为可以转换成integer的string,转换后的range_end的范围为0-9223372036854775807, range_start不大于range_end。 + + :param range_end: The range_end of this OrchestrationMapParamRange. + :type range_end: str + """ + self._range_end = range_end + + 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, OrchestrationMapParamRange): + 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-apig/huaweicloudsdkapig/v2/model/orchestration_mapped_param.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/orchestration_mapped_param.py new file mode 100644 index 0000000000..595137f8e4 --- /dev/null +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/orchestration_mapped_param.py @@ -0,0 +1,170 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class OrchestrationMappedParam: + + """ + 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 = { + 'mapped_param_name': 'str', + 'mapped_param_type': 'str', + 'mapped_param_location': 'str' + } + + attribute_map = { + 'mapped_param_name': 'mapped_param_name', + 'mapped_param_type': 'mapped_param_type', + 'mapped_param_location': 'mapped_param_location' + } + + def __init__(self, mapped_param_name=None, mapped_param_type=None, mapped_param_location=None): + """OrchestrationMappedParam + + The model defined in huaweicloud sdk + + :param mapped_param_name: 编排后的请求参数名,只支持英文,数字,中划线,必须以英文开头,1-128个字符,不能与已有的参数重名,默认会透传到后端。 + :type mapped_param_name: str + :param mapped_param_type: 编排后的参数类型,支持string和number。 + :type mapped_param_type: str + :param mapped_param_location: 编排后的参数位置,支持query和header。 + :type mapped_param_location: str + """ + + + + self._mapped_param_name = None + self._mapped_param_type = None + self._mapped_param_location = None + self.discriminator = None + + self.mapped_param_name = mapped_param_name + self.mapped_param_type = mapped_param_type + self.mapped_param_location = mapped_param_location + + @property + def mapped_param_name(self): + """Gets the mapped_param_name of this OrchestrationMappedParam. + + 编排后的请求参数名,只支持英文,数字,中划线,必须以英文开头,1-128个字符,不能与已有的参数重名,默认会透传到后端。 + + :return: The mapped_param_name of this OrchestrationMappedParam. + :rtype: str + """ + return self._mapped_param_name + + @mapped_param_name.setter + def mapped_param_name(self, mapped_param_name): + """Sets the mapped_param_name of this OrchestrationMappedParam. + + 编排后的请求参数名,只支持英文,数字,中划线,必须以英文开头,1-128个字符,不能与已有的参数重名,默认会透传到后端。 + + :param mapped_param_name: The mapped_param_name of this OrchestrationMappedParam. + :type mapped_param_name: str + """ + self._mapped_param_name = mapped_param_name + + @property + def mapped_param_type(self): + """Gets the mapped_param_type of this OrchestrationMappedParam. + + 编排后的参数类型,支持string和number。 + + :return: The mapped_param_type of this OrchestrationMappedParam. + :rtype: str + """ + return self._mapped_param_type + + @mapped_param_type.setter + def mapped_param_type(self, mapped_param_type): + """Sets the mapped_param_type of this OrchestrationMappedParam. + + 编排后的参数类型,支持string和number。 + + :param mapped_param_type: The mapped_param_type of this OrchestrationMappedParam. + :type mapped_param_type: str + """ + self._mapped_param_type = mapped_param_type + + @property + def mapped_param_location(self): + """Gets the mapped_param_location of this OrchestrationMappedParam. + + 编排后的参数位置,支持query和header。 + + :return: The mapped_param_location of this OrchestrationMappedParam. + :rtype: str + """ + return self._mapped_param_location + + @mapped_param_location.setter + def mapped_param_location(self, mapped_param_location): + """Sets the mapped_param_location of this OrchestrationMappedParam. + + 编排后的参数位置,支持query和header。 + + :param mapped_param_location: The mapped_param_location of this OrchestrationMappedParam. + :type mapped_param_location: str + """ + self._mapped_param_location = mapped_param_location + + 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, OrchestrationMappedParam): + 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-apig/huaweicloudsdkapig/v2/model/plugin_api_attach_info.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/plugin_api_attach_info.py index abcfa1bb68..6ab1ed2884 100644 --- a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/plugin_api_attach_info.py +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/plugin_api_attach_info.py @@ -53,7 +53,7 @@ def __init__(self, plugin_attach_id=None, plugin_id=None, plugin_name=None, plug :type plugin_id: str :param plugin_name: 插件名称。支持汉字,英文,数字,中划线,下划线,且只能以英文和汉字开头,3-255字符 > 中文字符必须为UTF-8或者unicode编码。 :type plugin_name: str - :param plugin_type: 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送 - breaker:断路器 - rate_limit: 流量控制 - third_auth: 第三方认证 + :param plugin_type: 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送 - breaker:断路器 - rate_limit: 流量控制 - third_auth: 第三方认证 - proxy_cache: 响应缓存 :type plugin_type: str :param plugin_scope: 插件可见范围。global:全局可见。 :type plugin_scope: str @@ -174,7 +174,7 @@ def plugin_name(self, plugin_name): def plugin_type(self): """Gets the plugin_type of this PluginApiAttachInfo. - 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送 - breaker:断路器 - rate_limit: 流量控制 - third_auth: 第三方认证 + 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送 - breaker:断路器 - rate_limit: 流量控制 - third_auth: 第三方认证 - proxy_cache: 响应缓存 :return: The plugin_type of this PluginApiAttachInfo. :rtype: str @@ -185,7 +185,7 @@ def plugin_type(self): def plugin_type(self, plugin_type): """Sets the plugin_type of this PluginApiAttachInfo. - 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送 - breaker:断路器 - rate_limit: 流量控制 - third_auth: 第三方认证 + 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送 - breaker:断路器 - rate_limit: 流量控制 - third_auth: 第三方认证 - proxy_cache: 响应缓存 :param plugin_type: The plugin_type of this PluginApiAttachInfo. :type plugin_type: str diff --git a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/plugin_create.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/plugin_create.py index 69a2fc90a6..1dbbfbf16f 100644 --- a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/plugin_create.py +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/plugin_create.py @@ -39,11 +39,11 @@ def __init__(self, plugin_name=None, plugin_type=None, plugin_scope=None, plugin :param plugin_name: 插件名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头,3-255字符。 > 中文字符必须为UTF-8或者unicode编码。 :type plugin_name: str - :param plugin_type: 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送 - breaker:断路器 - rate_limit: 流量控制 - third_auth: 第三方认证 + :param plugin_type: 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送 - breaker:断路器 - rate_limit: 流量控制 - third_auth: 第三方认证 - proxy_cache: 响应缓存 :type plugin_type: str :param plugin_scope: 插件可见范围。global:全局可见; :type plugin_scope: str - :param plugin_content: 插件定义内容,支持json。参考提供的具体模型定义 CorsPluginContent:跨域资源共享 定义内容 SetRespHeadersContent:HTTP响应头管理 定义内容 KafkaLogContent:Kafka日志推送 定义内容 BreakerContent:断路器 定义内容 RateLimitContent 流量控制 定义内容 ThirdAuthContent: 第三方认证 定义内容 + :param plugin_content: 插件定义内容,支持json。参考提供的具体模型定义 CorsPluginContent:跨域资源共享 定义内容 SetRespHeadersContent:HTTP响应头管理 定义内容 KafkaLogContent:Kafka日志推送 定义内容 BreakerContent:断路器 定义内容 RateLimitContent 流量控制 定义内容 ThirdAuthContent: 第三方认证 定义内容 ProxyCacheContent: 响应缓存 定义内容 :type plugin_content: str :param remark: 插件描述,255字符。 > 中文字符必须为UTF-8或者unicode编码。 :type remark: str @@ -91,7 +91,7 @@ def plugin_name(self, plugin_name): def plugin_type(self): """Gets the plugin_type of this PluginCreate. - 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送 - breaker:断路器 - rate_limit: 流量控制 - third_auth: 第三方认证 + 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送 - breaker:断路器 - rate_limit: 流量控制 - third_auth: 第三方认证 - proxy_cache: 响应缓存 :return: The plugin_type of this PluginCreate. :rtype: str @@ -102,7 +102,7 @@ def plugin_type(self): def plugin_type(self, plugin_type): """Sets the plugin_type of this PluginCreate. - 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送 - breaker:断路器 - rate_limit: 流量控制 - third_auth: 第三方认证 + 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送 - breaker:断路器 - rate_limit: 流量控制 - third_auth: 第三方认证 - proxy_cache: 响应缓存 :param plugin_type: The plugin_type of this PluginCreate. :type plugin_type: str @@ -135,7 +135,7 @@ def plugin_scope(self, plugin_scope): def plugin_content(self): """Gets the plugin_content of this PluginCreate. - 插件定义内容,支持json。参考提供的具体模型定义 CorsPluginContent:跨域资源共享 定义内容 SetRespHeadersContent:HTTP响应头管理 定义内容 KafkaLogContent:Kafka日志推送 定义内容 BreakerContent:断路器 定义内容 RateLimitContent 流量控制 定义内容 ThirdAuthContent: 第三方认证 定义内容 + 插件定义内容,支持json。参考提供的具体模型定义 CorsPluginContent:跨域资源共享 定义内容 SetRespHeadersContent:HTTP响应头管理 定义内容 KafkaLogContent:Kafka日志推送 定义内容 BreakerContent:断路器 定义内容 RateLimitContent 流量控制 定义内容 ThirdAuthContent: 第三方认证 定义内容 ProxyCacheContent: 响应缓存 定义内容 :return: The plugin_content of this PluginCreate. :rtype: str @@ -146,7 +146,7 @@ def plugin_content(self): def plugin_content(self, plugin_content): """Sets the plugin_content of this PluginCreate. - 插件定义内容,支持json。参考提供的具体模型定义 CorsPluginContent:跨域资源共享 定义内容 SetRespHeadersContent:HTTP响应头管理 定义内容 KafkaLogContent:Kafka日志推送 定义内容 BreakerContent:断路器 定义内容 RateLimitContent 流量控制 定义内容 ThirdAuthContent: 第三方认证 定义内容 + 插件定义内容,支持json。参考提供的具体模型定义 CorsPluginContent:跨域资源共享 定义内容 SetRespHeadersContent:HTTP响应头管理 定义内容 KafkaLogContent:Kafka日志推送 定义内容 BreakerContent:断路器 定义内容 RateLimitContent 流量控制 定义内容 ThirdAuthContent: 第三方认证 定义内容 ProxyCacheContent: 响应缓存 定义内容 :param plugin_content: The plugin_content of this PluginCreate. :type plugin_content: str diff --git a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/plugin_info.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/plugin_info.py index 1fb1cd052d..94cb491b9e 100644 --- a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/plugin_info.py +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/plugin_info.py @@ -47,11 +47,11 @@ def __init__(self, plugin_id=None, plugin_name=None, plugin_type=None, plugin_sc :type plugin_id: str :param plugin_name: 插件名称。支持汉字,英文,数字,中划线,下划线,且只能以英文和汉字开头,3-255字符。 > 中文字符必须为UTF-8或者unicode编码。 :type plugin_name: str - :param plugin_type: 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送 - breaker:断路器 - rate_limit: 流量控制 - third_auth: 第三方认证 + :param plugin_type: 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送 - breaker:断路器 - rate_limit: 流量控制 - third_auth: 第三方认证 - proxy_cache: 响应缓存 :type plugin_type: str :param plugin_scope: 插件可见范围。global:全局可见; :type plugin_scope: str - :param plugin_content: 插件定义内容,支持json。参考提供的具体模型定义 CorsPluginContent:跨域资源共享 定义内容 SetRespHeadersContent:HTTP响应头管理 定义内容 KafkaLogContent:Kafka日志推送 定义内容 BreakerContent:断路器 定义内容 RateLimitContent 流量控制 定义内容 ThirdAuthContent: 第三方认证 定义内容 + :param plugin_content: 插件定义内容,支持json。参考提供的具体模型定义 CorsPluginContent:跨域资源共享 定义内容 SetRespHeadersContent:HTTP响应头管理 定义内容 KafkaLogContent:Kafka日志推送 定义内容 BreakerContent:断路器 定义内容 RateLimitContent 流量控制 定义内容 ThirdAuthContent: 第三方认证 定义内容 ProxyCacheContent: 响应缓存 定义内容 :type plugin_content: str :param remark: 插件描述,255字符。 > 中文字符必须为UTF-8或者unicode编码。 :type remark: str @@ -133,7 +133,7 @@ def plugin_name(self, plugin_name): def plugin_type(self): """Gets the plugin_type of this PluginInfo. - 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送 - breaker:断路器 - rate_limit: 流量控制 - third_auth: 第三方认证 + 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送 - breaker:断路器 - rate_limit: 流量控制 - third_auth: 第三方认证 - proxy_cache: 响应缓存 :return: The plugin_type of this PluginInfo. :rtype: str @@ -144,7 +144,7 @@ def plugin_type(self): def plugin_type(self, plugin_type): """Sets the plugin_type of this PluginInfo. - 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送 - breaker:断路器 - rate_limit: 流量控制 - third_auth: 第三方认证 + 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送 - breaker:断路器 - rate_limit: 流量控制 - third_auth: 第三方认证 - proxy_cache: 响应缓存 :param plugin_type: The plugin_type of this PluginInfo. :type plugin_type: str @@ -177,7 +177,7 @@ def plugin_scope(self, plugin_scope): def plugin_content(self): """Gets the plugin_content of this PluginInfo. - 插件定义内容,支持json。参考提供的具体模型定义 CorsPluginContent:跨域资源共享 定义内容 SetRespHeadersContent:HTTP响应头管理 定义内容 KafkaLogContent:Kafka日志推送 定义内容 BreakerContent:断路器 定义内容 RateLimitContent 流量控制 定义内容 ThirdAuthContent: 第三方认证 定义内容 + 插件定义内容,支持json。参考提供的具体模型定义 CorsPluginContent:跨域资源共享 定义内容 SetRespHeadersContent:HTTP响应头管理 定义内容 KafkaLogContent:Kafka日志推送 定义内容 BreakerContent:断路器 定义内容 RateLimitContent 流量控制 定义内容 ThirdAuthContent: 第三方认证 定义内容 ProxyCacheContent: 响应缓存 定义内容 :return: The plugin_content of this PluginInfo. :rtype: str @@ -188,7 +188,7 @@ def plugin_content(self): def plugin_content(self, plugin_content): """Sets the plugin_content of this PluginInfo. - 插件定义内容,支持json。参考提供的具体模型定义 CorsPluginContent:跨域资源共享 定义内容 SetRespHeadersContent:HTTP响应头管理 定义内容 KafkaLogContent:Kafka日志推送 定义内容 BreakerContent:断路器 定义内容 RateLimitContent 流量控制 定义内容 ThirdAuthContent: 第三方认证 定义内容 + 插件定义内容,支持json。参考提供的具体模型定义 CorsPluginContent:跨域资源共享 定义内容 SetRespHeadersContent:HTTP响应头管理 定义内容 KafkaLogContent:Kafka日志推送 定义内容 BreakerContent:断路器 定义内容 RateLimitContent 流量控制 定义内容 ThirdAuthContent: 第三方认证 定义内容 ProxyCacheContent: 响应缓存 定义内容 :param plugin_content: The plugin_content of this PluginInfo. :type plugin_content: str diff --git a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/req_param.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/req_param.py index 70055c1d4f..afcfa11168 100644 --- a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/req_param.py +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/req_param.py @@ -33,6 +33,7 @@ class ReqParam: 'regular': 'str', 'json_schema': 'str', 'pass_through': 'int', + 'orchestrations': 'list[str]', 'id': 'str' } @@ -53,10 +54,11 @@ class ReqParam: 'regular': 'regular', 'json_schema': 'json_schema', 'pass_through': 'pass_through', + 'orchestrations': 'orchestrations', 'id': 'id' } - def __init__(self, name=None, type=None, location=None, default_value=None, sample_value=None, required=None, valid_enable=None, remark=None, enumerations=None, min_num=None, max_num=None, min_size=None, max_size=None, regular=None, json_schema=None, pass_through=None, id=None): + def __init__(self, name=None, type=None, location=None, default_value=None, sample_value=None, required=None, valid_enable=None, remark=None, enumerations=None, min_num=None, max_num=None, min_size=None, max_size=None, regular=None, json_schema=None, pass_through=None, orchestrations=None, id=None): """ReqParam The model defined in huaweicloud sdk @@ -93,6 +95,8 @@ def __init__(self, name=None, type=None, location=None, default_value=None, samp :type json_schema: str :param pass_through: 是否透传 - 1:是 - 2:否 :type pass_through: int + :param orchestrations: 请求参数匹配编排规则的生效优先级与列表顺序保持一致,列表中靠前的配置匹配优先级较高; 如果编配规则列表中包含none_value类型的规则,则none_value类型的规则优先级最高,至多绑定一个none_value类型的规则; 如果编排规则列表中包含default类型的规则,则default类型的规则优先级最低,至多绑定一个default类型的规则; 当编排规则为预处理策略时,该规则不能作为除default以外的最后一个编排规则; 每个API仅允许选择一个参数绑定编排规则,且编排规则不能重复,支持绑定的编排规则数量有配额限制,具体请参见产品介绍的“配额说明”章节。 + :type orchestrations: list[str] :param id: 参数编号 :type id: str """ @@ -115,6 +119,7 @@ def __init__(self, name=None, type=None, location=None, default_value=None, samp self._regular = None self._json_schema = None self._pass_through = None + self._orchestrations = None self._id = None self.discriminator = None @@ -147,6 +152,8 @@ def __init__(self, name=None, type=None, location=None, default_value=None, samp self.json_schema = json_schema if pass_through is not None: self.pass_through = pass_through + if orchestrations is not None: + self.orchestrations = orchestrations if id is not None: self.id = id @@ -502,6 +509,28 @@ def pass_through(self, pass_through): """ self._pass_through = pass_through + @property + def orchestrations(self): + """Gets the orchestrations of this ReqParam. + + 请求参数匹配编排规则的生效优先级与列表顺序保持一致,列表中靠前的配置匹配优先级较高; 如果编配规则列表中包含none_value类型的规则,则none_value类型的规则优先级最高,至多绑定一个none_value类型的规则; 如果编排规则列表中包含default类型的规则,则default类型的规则优先级最低,至多绑定一个default类型的规则; 当编排规则为预处理策略时,该规则不能作为除default以外的最后一个编排规则; 每个API仅允许选择一个参数绑定编排规则,且编排规则不能重复,支持绑定的编排规则数量有配额限制,具体请参见产品介绍的“配额说明”章节。 + + :return: The orchestrations of this ReqParam. + :rtype: list[str] + """ + return self._orchestrations + + @orchestrations.setter + def orchestrations(self, orchestrations): + """Sets the orchestrations of this ReqParam. + + 请求参数匹配编排规则的生效优先级与列表顺序保持一致,列表中靠前的配置匹配优先级较高; 如果编配规则列表中包含none_value类型的规则,则none_value类型的规则优先级最高,至多绑定一个none_value类型的规则; 如果编排规则列表中包含default类型的规则,则default类型的规则优先级最低,至多绑定一个default类型的规则; 当编排规则为预处理策略时,该规则不能作为除default以外的最后一个编排规则; 每个API仅允许选择一个参数绑定编排规则,且编排规则不能重复,支持绑定的编排规则数量有配额限制,具体请参见产品介绍的“配额说明”章节。 + + :param orchestrations: The orchestrations of this ReqParam. + :type orchestrations: list[str] + """ + self._orchestrations = orchestrations + @property def id(self): """Gets the id of this ReqParam. diff --git a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/req_param_base.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/req_param_base.py index db4cec6b0f..2c4052161e 100644 --- a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/req_param_base.py +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/req_param_base.py @@ -32,7 +32,8 @@ class ReqParamBase: 'max_size': 'int', 'regular': 'str', 'json_schema': 'str', - 'pass_through': 'int' + 'pass_through': 'int', + 'orchestrations': 'list[str]' } attribute_map = { @@ -51,10 +52,11 @@ class ReqParamBase: 'max_size': 'max_size', 'regular': 'regular', 'json_schema': 'json_schema', - 'pass_through': 'pass_through' + 'pass_through': 'pass_through', + 'orchestrations': 'orchestrations' } - def __init__(self, name=None, type=None, location=None, default_value=None, sample_value=None, required=None, valid_enable=None, remark=None, enumerations=None, min_num=None, max_num=None, min_size=None, max_size=None, regular=None, json_schema=None, pass_through=None): + def __init__(self, name=None, type=None, location=None, default_value=None, sample_value=None, required=None, valid_enable=None, remark=None, enumerations=None, min_num=None, max_num=None, min_size=None, max_size=None, regular=None, json_schema=None, pass_through=None, orchestrations=None): """ReqParamBase The model defined in huaweicloud sdk @@ -91,6 +93,8 @@ def __init__(self, name=None, type=None, location=None, default_value=None, samp :type json_schema: str :param pass_through: 是否透传 - 1:是 - 2:否 :type pass_through: int + :param orchestrations: 请求参数匹配编排规则的生效优先级与列表顺序保持一致,列表中靠前的配置匹配优先级较高; 如果编配规则列表中包含none_value类型的规则,则none_value类型的规则优先级最高,至多绑定一个none_value类型的规则; 如果编排规则列表中包含default类型的规则,则default类型的规则优先级最低,至多绑定一个default类型的规则; 当编排规则为预处理策略时,该规则不能作为除default以外的最后一个编排规则; 每个API仅允许选择一个参数绑定编排规则,且编排规则不能重复,支持绑定的编排规则数量有配额限制,具体请参见产品介绍的“配额说明”章节。 + :type orchestrations: list[str] """ @@ -111,6 +115,7 @@ def __init__(self, name=None, type=None, location=None, default_value=None, samp self._regular = None self._json_schema = None self._pass_through = None + self._orchestrations = None self.discriminator = None self.name = name @@ -142,6 +147,8 @@ def __init__(self, name=None, type=None, location=None, default_value=None, samp self.json_schema = json_schema if pass_through is not None: self.pass_through = pass_through + if orchestrations is not None: + self.orchestrations = orchestrations @property def name(self): @@ -495,6 +502,28 @@ def pass_through(self, pass_through): """ self._pass_through = pass_through + @property + def orchestrations(self): + """Gets the orchestrations of this ReqParamBase. + + 请求参数匹配编排规则的生效优先级与列表顺序保持一致,列表中靠前的配置匹配优先级较高; 如果编配规则列表中包含none_value类型的规则,则none_value类型的规则优先级最高,至多绑定一个none_value类型的规则; 如果编排规则列表中包含default类型的规则,则default类型的规则优先级最低,至多绑定一个default类型的规则; 当编排规则为预处理策略时,该规则不能作为除default以外的最后一个编排规则; 每个API仅允许选择一个参数绑定编排规则,且编排规则不能重复,支持绑定的编排规则数量有配额限制,具体请参见产品介绍的“配额说明”章节。 + + :return: The orchestrations of this ReqParamBase. + :rtype: list[str] + """ + return self._orchestrations + + @orchestrations.setter + def orchestrations(self, orchestrations): + """Sets the orchestrations of this ReqParamBase. + + 请求参数匹配编排规则的生效优先级与列表顺序保持一致,列表中靠前的配置匹配优先级较高; 如果编配规则列表中包含none_value类型的规则,则none_value类型的规则优先级最高,至多绑定一个none_value类型的规则; 如果编排规则列表中包含default类型的规则,则default类型的规则优先级最低,至多绑定一个default类型的规则; 当编排规则为预处理策略时,该规则不能作为除default以外的最后一个编排规则; 每个API仅允许选择一个参数绑定编排规则,且编排规则不能重复,支持绑定的编排规则数量有配额限制,具体请参见产品介绍的“配额说明”章节。 + + :param orchestrations: The orchestrations of this ReqParamBase. + :type orchestrations: list[str] + """ + self._orchestrations = orchestrations + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/show_details_of_api_v2_response.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/show_details_of_api_v2_response.py index cd025377cf..7f1f8cab0f 100644 --- a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/show_details_of_api_v2_response.py +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/show_details_of_api_v2_response.py @@ -41,6 +41,7 @@ class ShowDetailsOfApiV2Response(SdkResponse): 'domain_name': 'str', 'tag': 'str', 'content_type': 'str', + 'is_send_fg_body_base64': 'bool', 'id': 'str', 'status': 'int', 'arrange_necessary': 'int', @@ -89,6 +90,7 @@ class ShowDetailsOfApiV2Response(SdkResponse): 'domain_name': 'domain_name', 'tag': 'tag', 'content_type': 'content_type', + 'is_send_fg_body_base64': 'is_send_fg_body_base64', 'id': 'id', 'status': 'status', 'arrange_necessary': 'arrange_necessary', @@ -113,7 +115,7 @@ class ShowDetailsOfApiV2Response(SdkResponse): 'policy_https': 'policy_https' } - def __init__(self, name=None, type=None, version=None, req_protocol=None, req_method=None, req_uri=None, auth_type=None, auth_opt=None, cors=None, match_mode=None, backend_type=None, remark=None, group_id=None, body_remark=None, result_normal_sample=None, result_failure_sample=None, authorizer_id=None, tags=None, response_id=None, roma_app_id=None, domain_name=None, tag=None, content_type=None, id=None, status=None, arrange_necessary=None, register_time=None, update_time=None, group_name=None, group_version=None, run_env_id=None, run_env_name=None, publish_id=None, publish_time=None, roma_app_name=None, ld_api_id=None, backend_api=None, api_group_info=None, func_info=None, mock_info=None, req_params=None, backend_params=None, policy_functions=None, policy_mocks=None, policy_https=None): + def __init__(self, name=None, type=None, version=None, req_protocol=None, req_method=None, req_uri=None, auth_type=None, auth_opt=None, cors=None, match_mode=None, backend_type=None, remark=None, group_id=None, body_remark=None, result_normal_sample=None, result_failure_sample=None, authorizer_id=None, tags=None, response_id=None, roma_app_id=None, domain_name=None, tag=None, content_type=None, is_send_fg_body_base64=None, id=None, status=None, arrange_necessary=None, register_time=None, update_time=None, group_name=None, group_version=None, run_env_id=None, run_env_name=None, publish_id=None, publish_time=None, roma_app_name=None, ld_api_id=None, backend_api=None, api_group_info=None, func_info=None, mock_info=None, req_params=None, backend_params=None, policy_functions=None, policy_mocks=None, policy_https=None): """ShowDetailsOfApiV2Response The model defined in huaweicloud sdk @@ -150,7 +152,7 @@ def __init__(self, name=None, type=None, version=None, req_protocol=None, req_me :type result_normal_sample: str :param result_failure_sample: 失败返回示例,描述API的异常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。 当API的请求协议为GRPC类型时不支持配置。 :type result_failure_sample: str - :param authorizer_id: 前端自定义认证对象的ID,API请求协议为GRPC类型时不支持前端自定义认证 + :param authorizer_id: 前端自定义认证对象的ID :type authorizer_id: str :param tags: 标签。 支持英文,数字,中文,特殊符号(-*#%.:_),且只能以中文或英文开头。 默认支持10个标签,如需扩大配额请联系技术工程师修改API_TAG_NUM_LIMIT配置。 :type tags: list[str] @@ -162,8 +164,10 @@ def __init__(self, name=None, type=None, version=None, req_protocol=None, req_me :type domain_name: str :param tag: 标签 待废弃,优先使用tags字段 :type tag: str - :param content_type: 请求内容格式类型: application/json application/xml multipart/form-data text/plain 暂不支持 + :param content_type: 请求内容格式类型: application/json application/xml multipart/form-data text/plain :type content_type: str + :param is_send_fg_body_base64: 是否对与FunctionGraph交互场景的body进行Base64编码。仅当content_type为application/json时,可以不对body进行Base64编码。 应用场景: - 自定义认证 - 绑定断路器插件,且断路器后端降级策略为函数后端 - API后端类型为函数工作流 + :type is_send_fg_body_base64: bool :param id: API编号 :type id: str :param status: API状态 - 1: 有效 @@ -235,6 +239,7 @@ def __init__(self, name=None, type=None, version=None, req_protocol=None, req_me self._domain_name = None self._tag = None self._content_type = None + self._is_send_fg_body_base64 = None self._id = None self._status = None self._arrange_necessary = None @@ -297,6 +302,8 @@ def __init__(self, name=None, type=None, version=None, req_protocol=None, req_me self.tag = tag if content_type is not None: self.content_type = content_type + if is_send_fg_body_base64 is not None: + self.is_send_fg_body_base64 = is_send_fg_body_base64 if id is not None: self.id = id if status is not None: @@ -694,7 +701,7 @@ def result_failure_sample(self, result_failure_sample): def authorizer_id(self): """Gets the authorizer_id of this ShowDetailsOfApiV2Response. - 前端自定义认证对象的ID,API请求协议为GRPC类型时不支持前端自定义认证 + 前端自定义认证对象的ID :return: The authorizer_id of this ShowDetailsOfApiV2Response. :rtype: str @@ -705,7 +712,7 @@ def authorizer_id(self): def authorizer_id(self, authorizer_id): """Sets the authorizer_id of this ShowDetailsOfApiV2Response. - 前端自定义认证对象的ID,API请求协议为GRPC类型时不支持前端自定义认证 + 前端自定义认证对象的ID :param authorizer_id: The authorizer_id of this ShowDetailsOfApiV2Response. :type authorizer_id: str @@ -826,7 +833,7 @@ def tag(self, tag): def content_type(self): """Gets the content_type of this ShowDetailsOfApiV2Response. - 请求内容格式类型: application/json application/xml multipart/form-data text/plain 暂不支持 + 请求内容格式类型: application/json application/xml multipart/form-data text/plain :return: The content_type of this ShowDetailsOfApiV2Response. :rtype: str @@ -837,13 +844,35 @@ def content_type(self): def content_type(self, content_type): """Sets the content_type of this ShowDetailsOfApiV2Response. - 请求内容格式类型: application/json application/xml multipart/form-data text/plain 暂不支持 + 请求内容格式类型: application/json application/xml multipart/form-data text/plain :param content_type: The content_type of this ShowDetailsOfApiV2Response. :type content_type: str """ self._content_type = content_type + @property + def is_send_fg_body_base64(self): + """Gets the is_send_fg_body_base64 of this ShowDetailsOfApiV2Response. + + 是否对与FunctionGraph交互场景的body进行Base64编码。仅当content_type为application/json时,可以不对body进行Base64编码。 应用场景: - 自定义认证 - 绑定断路器插件,且断路器后端降级策略为函数后端 - API后端类型为函数工作流 + + :return: The is_send_fg_body_base64 of this ShowDetailsOfApiV2Response. + :rtype: bool + """ + return self._is_send_fg_body_base64 + + @is_send_fg_body_base64.setter + def is_send_fg_body_base64(self, is_send_fg_body_base64): + """Sets the is_send_fg_body_base64 of this ShowDetailsOfApiV2Response. + + 是否对与FunctionGraph交互场景的body进行Base64编码。仅当content_type为application/json时,可以不对body进行Base64编码。 应用场景: - 自定义认证 - 绑定断路器插件,且断路器后端降级策略为函数后端 - API后端类型为函数工作流 + + :param is_send_fg_body_base64: The is_send_fg_body_base64 of this ShowDetailsOfApiV2Response. + :type is_send_fg_body_base64: bool + """ + self._is_send_fg_body_base64 = is_send_fg_body_base64 + @property def id(self): """Gets the id of this ShowDetailsOfApiV2Response. diff --git a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/show_details_of_instance_v2_response.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/show_details_of_instance_v2_response.py index 622745fc00..a5fd546c7e 100644 --- a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/show_details_of_instance_v2_response.py +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/show_details_of_instance_v2_response.py @@ -160,7 +160,7 @@ def __init__(self, id=None, project_id=None, instance_name=None, status=None, in :type maintain_end: str :param ingress_ip: 实例入口,虚拟私有云访问地址 :type ingress_ip: str - :param ingress_ip_v6: 实例入口,虚拟私有云访问地址 (IPv6) + :param ingress_ip_v6: 实例入口,虚拟私有云访问地址 (IPv6) :type ingress_ip_v6: str :param user_id: 实例所属用户ID :type user_id: str @@ -816,7 +816,7 @@ def ingress_ip(self, ingress_ip): def ingress_ip_v6(self): """Gets the ingress_ip_v6 of this ShowDetailsOfInstanceV2Response. - 实例入口,虚拟私有云访问地址 (IPv6) + 实例入口,虚拟私有云访问地址 (IPv6) :return: The ingress_ip_v6 of this ShowDetailsOfInstanceV2Response. :rtype: str @@ -827,7 +827,7 @@ def ingress_ip_v6(self): def ingress_ip_v6(self, ingress_ip_v6): """Sets the ingress_ip_v6 of this ShowDetailsOfInstanceV2Response. - 实例入口,虚拟私有云访问地址 (IPv6) + 实例入口,虚拟私有云访问地址 (IPv6) :param ingress_ip_v6: The ingress_ip_v6 of this ShowDetailsOfInstanceV2Response. :type ingress_ip_v6: str diff --git a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/show_details_of_orchestration_request.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/show_details_of_orchestration_request.py new file mode 100644 index 0000000000..7835fb49ad --- /dev/null +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/show_details_of_orchestration_request.py @@ -0,0 +1,142 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ShowDetailsOfOrchestrationRequest: + + """ + 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', + 'orchestration_id': 'str' + } + + attribute_map = { + 'instance_id': 'instance_id', + 'orchestration_id': 'orchestration_id' + } + + def __init__(self, instance_id=None, orchestration_id=None): + """ShowDetailsOfOrchestrationRequest + + The model defined in huaweicloud sdk + + :param instance_id: 实例ID,在API网关控制台的“实例信息”中获取。 + :type instance_id: str + :param orchestration_id: 编排规则编号 + :type orchestration_id: str + """ + + + + self._instance_id = None + self._orchestration_id = None + self.discriminator = None + + self.instance_id = instance_id + self.orchestration_id = orchestration_id + + @property + def instance_id(self): + """Gets the instance_id of this ShowDetailsOfOrchestrationRequest. + + 实例ID,在API网关控制台的“实例信息”中获取。 + + :return: The instance_id of this ShowDetailsOfOrchestrationRequest. + :rtype: str + """ + return self._instance_id + + @instance_id.setter + def instance_id(self, instance_id): + """Sets the instance_id of this ShowDetailsOfOrchestrationRequest. + + 实例ID,在API网关控制台的“实例信息”中获取。 + + :param instance_id: The instance_id of this ShowDetailsOfOrchestrationRequest. + :type instance_id: str + """ + self._instance_id = instance_id + + @property + def orchestration_id(self): + """Gets the orchestration_id of this ShowDetailsOfOrchestrationRequest. + + 编排规则编号 + + :return: The orchestration_id of this ShowDetailsOfOrchestrationRequest. + :rtype: str + """ + return self._orchestration_id + + @orchestration_id.setter + def orchestration_id(self, orchestration_id): + """Sets the orchestration_id of this ShowDetailsOfOrchestrationRequest. + + 编排规则编号 + + :param orchestration_id: The orchestration_id of this ShowDetailsOfOrchestrationRequest. + :type orchestration_id: str + """ + self._orchestration_id = orchestration_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, ShowDetailsOfOrchestrationRequest): + 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-apig/huaweicloudsdkapig/v2/model/show_details_of_orchestration_response.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/show_details_of_orchestration_response.py new file mode 100644 index 0000000000..f04a4b4b78 --- /dev/null +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/show_details_of_orchestration_response.py @@ -0,0 +1,313 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_response import SdkResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ShowDetailsOfOrchestrationResponse(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 = { + 'orchestration_name': 'str', + 'orchestration_strategy': 'str', + 'orchestration_mapped_param': 'OrchestrationMappedParam', + 'is_preprocessing': 'bool', + 'orchestration_map': 'list[OrchestrationMap]', + 'orchestration_id': 'str', + 'orchestration_create_time': 'datetime', + 'orchestration_update_time': 'datetime' + } + + attribute_map = { + 'orchestration_name': 'orchestration_name', + 'orchestration_strategy': 'orchestration_strategy', + 'orchestration_mapped_param': 'orchestration_mapped_param', + 'is_preprocessing': 'is_preprocessing', + 'orchestration_map': 'orchestration_map', + 'orchestration_id': 'orchestration_id', + 'orchestration_create_time': 'orchestration_create_time', + 'orchestration_update_time': 'orchestration_update_time' + } + + def __init__(self, orchestration_name=None, orchestration_strategy=None, orchestration_mapped_param=None, is_preprocessing=None, orchestration_map=None, orchestration_id=None, orchestration_create_time=None, orchestration_update_time=None): + """ShowDetailsOfOrchestrationResponse + + The model defined in huaweicloud sdk + + :param orchestration_name: 编排映射规则名称。 支持英文,数字,下划线,且只能以英文开头,3-64个字符,同一实例下不允许重名。 + :type orchestration_name: str + :param orchestration_strategy: 编排策略,有以下几种策略类型: - list:列表; - hash:哈希; - range:区间; - hash_range: 哈希+区间; - none_value: 空值映射; - default: 默认值映射; - head_n: 截取前n项; - tail_n: 截取后n项; 当编排策略为list时,orchestration_map列表长度*map_param_list长度不超过3000。 + :type orchestration_strategy: str + :param orchestration_mapped_param: + :type orchestration_mapped_param: :class:`huaweicloudsdkapig.v2.OrchestrationMappedParam` + :param is_preprocessing: 是否为预处理策略,预处理策略只会生成临时参数作为后面参数编排规则的入参标记。当为预处理策略时,该编排规则不能作为除default之外的最后一个编排规则。 + :type is_preprocessing: bool + :param orchestration_map: 编排映射规则列表,列表长度范围为1-300。 编排映射规则的生效优先级与列表顺序保持一致,列表中靠前的配置匹配优先级较高。 映射规则不能重复,当orchestration_strategy=list时,map_param_list的列表也不能包含重复元素。 + :type orchestration_map: list[:class:`huaweicloudsdkapig.v2.OrchestrationMap`] + :param orchestration_id: 编排规则编号。 + :type orchestration_id: str + :param orchestration_create_time: 编排规则创建时间。 + :type orchestration_create_time: datetime + :param orchestration_update_time: 编排规则更新时间。 + :type orchestration_update_time: datetime + """ + + super(ShowDetailsOfOrchestrationResponse, self).__init__() + + self._orchestration_name = None + self._orchestration_strategy = None + self._orchestration_mapped_param = None + self._is_preprocessing = None + self._orchestration_map = None + self._orchestration_id = None + self._orchestration_create_time = None + self._orchestration_update_time = None + self.discriminator = None + + self.orchestration_name = orchestration_name + self.orchestration_strategy = orchestration_strategy + if orchestration_mapped_param is not None: + self.orchestration_mapped_param = orchestration_mapped_param + if is_preprocessing is not None: + self.is_preprocessing = is_preprocessing + if orchestration_map is not None: + self.orchestration_map = orchestration_map + if orchestration_id is not None: + self.orchestration_id = orchestration_id + if orchestration_create_time is not None: + self.orchestration_create_time = orchestration_create_time + if orchestration_update_time is not None: + self.orchestration_update_time = orchestration_update_time + + @property + def orchestration_name(self): + """Gets the orchestration_name of this ShowDetailsOfOrchestrationResponse. + + 编排映射规则名称。 支持英文,数字,下划线,且只能以英文开头,3-64个字符,同一实例下不允许重名。 + + :return: The orchestration_name of this ShowDetailsOfOrchestrationResponse. + :rtype: str + """ + return self._orchestration_name + + @orchestration_name.setter + def orchestration_name(self, orchestration_name): + """Sets the orchestration_name of this ShowDetailsOfOrchestrationResponse. + + 编排映射规则名称。 支持英文,数字,下划线,且只能以英文开头,3-64个字符,同一实例下不允许重名。 + + :param orchestration_name: The orchestration_name of this ShowDetailsOfOrchestrationResponse. + :type orchestration_name: str + """ + self._orchestration_name = orchestration_name + + @property + def orchestration_strategy(self): + """Gets the orchestration_strategy of this ShowDetailsOfOrchestrationResponse. + + 编排策略,有以下几种策略类型: - list:列表; - hash:哈希; - range:区间; - hash_range: 哈希+区间; - none_value: 空值映射; - default: 默认值映射; - head_n: 截取前n项; - tail_n: 截取后n项; 当编排策略为list时,orchestration_map列表长度*map_param_list长度不超过3000。 + + :return: The orchestration_strategy of this ShowDetailsOfOrchestrationResponse. + :rtype: str + """ + return self._orchestration_strategy + + @orchestration_strategy.setter + def orchestration_strategy(self, orchestration_strategy): + """Sets the orchestration_strategy of this ShowDetailsOfOrchestrationResponse. + + 编排策略,有以下几种策略类型: - list:列表; - hash:哈希; - range:区间; - hash_range: 哈希+区间; - none_value: 空值映射; - default: 默认值映射; - head_n: 截取前n项; - tail_n: 截取后n项; 当编排策略为list时,orchestration_map列表长度*map_param_list长度不超过3000。 + + :param orchestration_strategy: The orchestration_strategy of this ShowDetailsOfOrchestrationResponse. + :type orchestration_strategy: str + """ + self._orchestration_strategy = orchestration_strategy + + @property + def orchestration_mapped_param(self): + """Gets the orchestration_mapped_param of this ShowDetailsOfOrchestrationResponse. + + :return: The orchestration_mapped_param of this ShowDetailsOfOrchestrationResponse. + :rtype: :class:`huaweicloudsdkapig.v2.OrchestrationMappedParam` + """ + return self._orchestration_mapped_param + + @orchestration_mapped_param.setter + def orchestration_mapped_param(self, orchestration_mapped_param): + """Sets the orchestration_mapped_param of this ShowDetailsOfOrchestrationResponse. + + :param orchestration_mapped_param: The orchestration_mapped_param of this ShowDetailsOfOrchestrationResponse. + :type orchestration_mapped_param: :class:`huaweicloudsdkapig.v2.OrchestrationMappedParam` + """ + self._orchestration_mapped_param = orchestration_mapped_param + + @property + def is_preprocessing(self): + """Gets the is_preprocessing of this ShowDetailsOfOrchestrationResponse. + + 是否为预处理策略,预处理策略只会生成临时参数作为后面参数编排规则的入参标记。当为预处理策略时,该编排规则不能作为除default之外的最后一个编排规则。 + + :return: The is_preprocessing of this ShowDetailsOfOrchestrationResponse. + :rtype: bool + """ + return self._is_preprocessing + + @is_preprocessing.setter + def is_preprocessing(self, is_preprocessing): + """Sets the is_preprocessing of this ShowDetailsOfOrchestrationResponse. + + 是否为预处理策略,预处理策略只会生成临时参数作为后面参数编排规则的入参标记。当为预处理策略时,该编排规则不能作为除default之外的最后一个编排规则。 + + :param is_preprocessing: The is_preprocessing of this ShowDetailsOfOrchestrationResponse. + :type is_preprocessing: bool + """ + self._is_preprocessing = is_preprocessing + + @property + def orchestration_map(self): + """Gets the orchestration_map of this ShowDetailsOfOrchestrationResponse. + + 编排映射规则列表,列表长度范围为1-300。 编排映射规则的生效优先级与列表顺序保持一致,列表中靠前的配置匹配优先级较高。 映射规则不能重复,当orchestration_strategy=list时,map_param_list的列表也不能包含重复元素。 + + :return: The orchestration_map of this ShowDetailsOfOrchestrationResponse. + :rtype: list[:class:`huaweicloudsdkapig.v2.OrchestrationMap`] + """ + return self._orchestration_map + + @orchestration_map.setter + def orchestration_map(self, orchestration_map): + """Sets the orchestration_map of this ShowDetailsOfOrchestrationResponse. + + 编排映射规则列表,列表长度范围为1-300。 编排映射规则的生效优先级与列表顺序保持一致,列表中靠前的配置匹配优先级较高。 映射规则不能重复,当orchestration_strategy=list时,map_param_list的列表也不能包含重复元素。 + + :param orchestration_map: The orchestration_map of this ShowDetailsOfOrchestrationResponse. + :type orchestration_map: list[:class:`huaweicloudsdkapig.v2.OrchestrationMap`] + """ + self._orchestration_map = orchestration_map + + @property + def orchestration_id(self): + """Gets the orchestration_id of this ShowDetailsOfOrchestrationResponse. + + 编排规则编号。 + + :return: The orchestration_id of this ShowDetailsOfOrchestrationResponse. + :rtype: str + """ + return self._orchestration_id + + @orchestration_id.setter + def orchestration_id(self, orchestration_id): + """Sets the orchestration_id of this ShowDetailsOfOrchestrationResponse. + + 编排规则编号。 + + :param orchestration_id: The orchestration_id of this ShowDetailsOfOrchestrationResponse. + :type orchestration_id: str + """ + self._orchestration_id = orchestration_id + + @property + def orchestration_create_time(self): + """Gets the orchestration_create_time of this ShowDetailsOfOrchestrationResponse. + + 编排规则创建时间。 + + :return: The orchestration_create_time of this ShowDetailsOfOrchestrationResponse. + :rtype: datetime + """ + return self._orchestration_create_time + + @orchestration_create_time.setter + def orchestration_create_time(self, orchestration_create_time): + """Sets the orchestration_create_time of this ShowDetailsOfOrchestrationResponse. + + 编排规则创建时间。 + + :param orchestration_create_time: The orchestration_create_time of this ShowDetailsOfOrchestrationResponse. + :type orchestration_create_time: datetime + """ + self._orchestration_create_time = orchestration_create_time + + @property + def orchestration_update_time(self): + """Gets the orchestration_update_time of this ShowDetailsOfOrchestrationResponse. + + 编排规则更新时间。 + + :return: The orchestration_update_time of this ShowDetailsOfOrchestrationResponse. + :rtype: datetime + """ + return self._orchestration_update_time + + @orchestration_update_time.setter + def orchestration_update_time(self, orchestration_update_time): + """Sets the orchestration_update_time of this ShowDetailsOfOrchestrationResponse. + + 编排规则更新时间。 + + :param orchestration_update_time: The orchestration_update_time of this ShowDetailsOfOrchestrationResponse. + :type orchestration_update_time: datetime + """ + self._orchestration_update_time = orchestration_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, ShowDetailsOfOrchestrationResponse): + 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-apig/huaweicloudsdkapig/v2/model/show_instances_num_by_tags_request.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/show_instances_num_by_tags_request.py new file mode 100644 index 0000000000..cd9e6c3383 --- /dev/null +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/show_instances_num_by_tags_request.py @@ -0,0 +1,111 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ShowInstancesNumByTagsRequest: + + """ + 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 = { + 'body': 'TmsQueryReq' + } + + attribute_map = { + 'body': 'body' + } + + def __init__(self, body=None): + """ShowInstancesNumByTagsRequest + + The model defined in huaweicloud sdk + + :param body: Body of the ShowInstancesNumByTagsRequest + :type body: :class:`huaweicloudsdkapig.v2.TmsQueryReq` + """ + + + + self._body = None + self.discriminator = None + + if body is not None: + self.body = body + + @property + def body(self): + """Gets the body of this ShowInstancesNumByTagsRequest. + + :return: The body of this ShowInstancesNumByTagsRequest. + :rtype: :class:`huaweicloudsdkapig.v2.TmsQueryReq` + """ + return self._body + + @body.setter + def body(self, body): + """Sets the body of this ShowInstancesNumByTagsRequest. + + :param body: The body of this ShowInstancesNumByTagsRequest. + :type body: :class:`huaweicloudsdkapig.v2.TmsQueryReq` + """ + 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, ShowInstancesNumByTagsRequest): + 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-apig/huaweicloudsdkapig/v2/model/show_instances_num_by_tags_response.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/show_instances_num_by_tags_response.py new file mode 100644 index 0000000000..6a760212b5 --- /dev/null +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/show_instances_num_by_tags_response.py @@ -0,0 +1,116 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_response import SdkResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ShowInstancesNumByTagsResponse(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 = { + 'total_count': 'int' + } + + attribute_map = { + 'total_count': 'total_count' + } + + def __init__(self, total_count=None): + """ShowInstancesNumByTagsResponse + + The model defined in huaweicloud sdk + + :param total_count: 总记录数 + :type total_count: int + """ + + super(ShowInstancesNumByTagsResponse, self).__init__() + + self._total_count = None + self.discriminator = None + + if total_count is not None: + self.total_count = total_count + + @property + def total_count(self): + """Gets the total_count of this ShowInstancesNumByTagsResponse. + + 总记录数 + + :return: The total_count of this ShowInstancesNumByTagsResponse. + :rtype: int + """ + return self._total_count + + @total_count.setter + def total_count(self, total_count): + """Sets the total_count of this ShowInstancesNumByTagsResponse. + + 总记录数 + + :param total_count: The total_count of this ShowInstancesNumByTagsResponse. + :type total_count: int + """ + self._total_count = total_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, ShowInstancesNumByTagsResponse): + 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-apig/huaweicloudsdkapig/v2/model/show_plugin_response.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/show_plugin_response.py index 9ab5e2685d..b41a8cd3c7 100644 --- a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/show_plugin_response.py +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/show_plugin_response.py @@ -48,11 +48,11 @@ def __init__(self, plugin_id=None, plugin_name=None, plugin_type=None, plugin_sc :type plugin_id: str :param plugin_name: 插件名称。支持汉字,英文,数字,中划线,下划线,且只能以英文和汉字开头,3-255字符。 > 中文字符必须为UTF-8或者unicode编码。 :type plugin_name: str - :param plugin_type: 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送 - breaker:断路器 - rate_limit: 流量控制 - third_auth: 第三方认证 + :param plugin_type: 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送 - breaker:断路器 - rate_limit: 流量控制 - third_auth: 第三方认证 - proxy_cache: 响应缓存 :type plugin_type: str :param plugin_scope: 插件可见范围。global:全局可见; :type plugin_scope: str - :param plugin_content: 插件定义内容,支持json。参考提供的具体模型定义 CorsPluginContent:跨域资源共享 定义内容 SetRespHeadersContent:HTTP响应头管理 定义内容 KafkaLogContent:Kafka日志推送 定义内容 BreakerContent:断路器 定义内容 RateLimitContent 流量控制 定义内容 ThirdAuthContent: 第三方认证 定义内容 + :param plugin_content: 插件定义内容,支持json。参考提供的具体模型定义 CorsPluginContent:跨域资源共享 定义内容 SetRespHeadersContent:HTTP响应头管理 定义内容 KafkaLogContent:Kafka日志推送 定义内容 BreakerContent:断路器 定义内容 RateLimitContent 流量控制 定义内容 ThirdAuthContent: 第三方认证 定义内容 ProxyCacheContent: 响应缓存 定义内容 :type plugin_content: str :param remark: 插件描述,255字符。 > 中文字符必须为UTF-8或者unicode编码。 :type remark: str @@ -139,7 +139,7 @@ def plugin_name(self, plugin_name): def plugin_type(self): """Gets the plugin_type of this ShowPluginResponse. - 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送 - breaker:断路器 - rate_limit: 流量控制 - third_auth: 第三方认证 + 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送 - breaker:断路器 - rate_limit: 流量控制 - third_auth: 第三方认证 - proxy_cache: 响应缓存 :return: The plugin_type of this ShowPluginResponse. :rtype: str @@ -150,7 +150,7 @@ def plugin_type(self): def plugin_type(self, plugin_type): """Sets the plugin_type of this ShowPluginResponse. - 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送 - breaker:断路器 - rate_limit: 流量控制 - third_auth: 第三方认证 + 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送 - breaker:断路器 - rate_limit: 流量控制 - third_auth: 第三方认证 - proxy_cache: 响应缓存 :param plugin_type: The plugin_type of this ShowPluginResponse. :type plugin_type: str @@ -183,7 +183,7 @@ def plugin_scope(self, plugin_scope): def plugin_content(self): """Gets the plugin_content of this ShowPluginResponse. - 插件定义内容,支持json。参考提供的具体模型定义 CorsPluginContent:跨域资源共享 定义内容 SetRespHeadersContent:HTTP响应头管理 定义内容 KafkaLogContent:Kafka日志推送 定义内容 BreakerContent:断路器 定义内容 RateLimitContent 流量控制 定义内容 ThirdAuthContent: 第三方认证 定义内容 + 插件定义内容,支持json。参考提供的具体模型定义 CorsPluginContent:跨域资源共享 定义内容 SetRespHeadersContent:HTTP响应头管理 定义内容 KafkaLogContent:Kafka日志推送 定义内容 BreakerContent:断路器 定义内容 RateLimitContent 流量控制 定义内容 ThirdAuthContent: 第三方认证 定义内容 ProxyCacheContent: 响应缓存 定义内容 :return: The plugin_content of this ShowPluginResponse. :rtype: str @@ -194,7 +194,7 @@ def plugin_content(self): def plugin_content(self, plugin_content): """Sets the plugin_content of this ShowPluginResponse. - 插件定义内容,支持json。参考提供的具体模型定义 CorsPluginContent:跨域资源共享 定义内容 SetRespHeadersContent:HTTP响应头管理 定义内容 KafkaLogContent:Kafka日志推送 定义内容 BreakerContent:断路器 定义内容 RateLimitContent 流量控制 定义内容 ThirdAuthContent: 第三方认证 定义内容 + 插件定义内容,支持json。参考提供的具体模型定义 CorsPluginContent:跨域资源共享 定义内容 SetRespHeadersContent:HTTP响应头管理 定义内容 KafkaLogContent:Kafka日志推送 定义内容 BreakerContent:断路器 定义内容 RateLimitContent 流量控制 定义内容 ThirdAuthContent: 第三方认证 定义内容 ProxyCacheContent: 响应缓存 定义内容 :param plugin_content: The plugin_content of this ShowPluginResponse. :type plugin_content: str diff --git a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/sign_api_binding_info.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/sign_api_binding_info.py index 578f7b5be0..85927cdd44 100644 --- a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/sign_api_binding_info.py +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/sign_api_binding_info.py @@ -89,7 +89,7 @@ def __init__(self, publish_id=None, api_id=None, group_name=None, binding_time=N :type sign_key: str :param sign_secret: 签名密钥的密钥。 - hmac类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,且只能以英文字母或数字开头,16 ~ 64字符。未填写时后台自动生成。 - basic类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,且只能以英文字母或数字开头,8 ~ 64字符。未填写时后台自动生成。 - public_key类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,15 ~ 2048字符。未填写时后台自动生成。 - aes类型签名密钥使用的向量:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,16个字符。未填写时后台自动生成。 :type sign_secret: str - :param sign_type: 签名密钥类型: - hmac - basic - public_key - aes basic类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIG特性”,如确认实例不存在public_key配置可联系技术工程师开启。 aes类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 + :param sign_type: 签名密钥类型: - hmac - basic - public_key - aes basic类型需要实例升级到对应版本,如果不存在可联系技术工程师升级。 public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIG特性”,如确认实例不存在public_key配置可联系技术工程师开启。 aes类型需要实例升级到对应版本,如果不存在可联系技术工程师升级。 :type sign_type: str """ @@ -480,7 +480,7 @@ def sign_secret(self, sign_secret): def sign_type(self): """Gets the sign_type of this SignApiBindingInfo. - 签名密钥类型: - hmac - basic - public_key - aes basic类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIG特性”,如确认实例不存在public_key配置可联系技术工程师开启。 aes类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 + 签名密钥类型: - hmac - basic - public_key - aes basic类型需要实例升级到对应版本,如果不存在可联系技术工程师升级。 public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIG特性”,如确认实例不存在public_key配置可联系技术工程师开启。 aes类型需要实例升级到对应版本,如果不存在可联系技术工程师升级。 :return: The sign_type of this SignApiBindingInfo. :rtype: str @@ -491,7 +491,7 @@ def sign_type(self): def sign_type(self, sign_type): """Sets the sign_type of this SignApiBindingInfo. - 签名密钥类型: - hmac - basic - public_key - aes basic类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIG特性”,如确认实例不存在public_key配置可联系技术工程师开启。 aes类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 + 签名密钥类型: - hmac - basic - public_key - aes basic类型需要实例升级到对应版本,如果不存在可联系技术工程师升级。 public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIG特性”,如确认实例不存在public_key配置可联系技术工程师开启。 aes类型需要实例升级到对应版本,如果不存在可联系技术工程师升级。 :param sign_type: The sign_type of this SignApiBindingInfo. :type sign_type: str diff --git a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/signature.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/signature.py index 5b18e4cfd3..0fbb8a0e19 100644 --- a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/signature.py +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/signature.py @@ -45,7 +45,7 @@ def __init__(self, name=None, sign_type=None, sign_key=None, sign_secret=None, s :param name: 签名密钥的名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头。 > 中文字符必须为UTF-8或者unicode编码。 :type name: str - :param sign_type: 签名密钥类型: - hmac - basic - public_key - aes basic类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIG特性”,如确认实例不存在public_key配置可联系技术工程师开启。 aes类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 + :param sign_type: 签名密钥类型: - hmac - basic - public_key - aes basic类型需要实例升级到对应版本,如果不存在可联系技术工程师升级。 public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIG特性”,如确认实例不存在public_key配置可联系技术工程师开启。 aes类型需要实例升级到对应版本,如果不存在可联系技术工程师升级。 :type sign_type: str :param sign_key: 签名密钥的key。 - hmac类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母或数字开头,8 ~ 32字符。未填写时后台自动生成。 - basic类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母开头,4 ~ 32字符。未填写时后台自动生成。 - public_key类型的签名密钥key:支持英文,数字,下划线,中划线,+,/,=,可以英文字母,数字,+,/开头,8 ~ 512字符。未填写时后台自动生成。 - aes类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,签名算法为aes-128-cfb时为16个字符,签名算法为aes-256-cfb时为32个字符。未填写时后台自动生成。 :type sign_key: str @@ -115,7 +115,7 @@ def name(self, name): def sign_type(self): """Gets the sign_type of this Signature. - 签名密钥类型: - hmac - basic - public_key - aes basic类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIG特性”,如确认实例不存在public_key配置可联系技术工程师开启。 aes类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 + 签名密钥类型: - hmac - basic - public_key - aes basic类型需要实例升级到对应版本,如果不存在可联系技术工程师升级。 public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIG特性”,如确认实例不存在public_key配置可联系技术工程师开启。 aes类型需要实例升级到对应版本,如果不存在可联系技术工程师升级。 :return: The sign_type of this Signature. :rtype: str @@ -126,7 +126,7 @@ def sign_type(self): def sign_type(self, sign_type): """Sets the sign_type of this Signature. - 签名密钥类型: - hmac - basic - public_key - aes basic类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIG特性”,如确认实例不存在public_key配置可联系技术工程师开启。 aes类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 + 签名密钥类型: - hmac - basic - public_key - aes basic类型需要实例升级到对应版本,如果不存在可联系技术工程师升级。 public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIG特性”,如确认实例不存在public_key配置可联系技术工程师开启。 aes类型需要实例升级到对应版本,如果不存在可联系技术工程师升级。 :param sign_type: The sign_type of this Signature. :type sign_type: str diff --git a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/signature_with_bind_num.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/signature_with_bind_num.py index a753b9603a..1126e60ec2 100644 --- a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/signature_with_bind_num.py +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/signature_with_bind_num.py @@ -49,7 +49,7 @@ def __init__(self, name=None, sign_type=None, sign_key=None, sign_secret=None, s :param name: 签名密钥的名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头。 > 中文字符必须为UTF-8或者unicode编码。 :type name: str - :param sign_type: 签名密钥类型: - hmac - basic - public_key - aes basic类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIG特性”,如确认实例不存在public_key配置可联系技术工程师开启。 aes类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 + :param sign_type: 签名密钥类型: - hmac - basic - public_key - aes basic类型需要实例升级到对应版本,如果不存在可联系技术工程师升级。 public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIG特性”,如确认实例不存在public_key配置可联系技术工程师开启。 aes类型需要实例升级到对应版本,如果不存在可联系技术工程师升级。 :type sign_type: str :param sign_key: 签名密钥的key。 - hmac类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母或数字开头,8 ~ 32字符。未填写时后台自动生成。 - basic类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母开头,4 ~ 32字符。未填写时后台自动生成。 - public_key类型的签名密钥key:支持英文,数字,下划线,中划线,+,/,=,可以英文字母,数字,+,/开头,8 ~ 512字符。未填写时后台自动生成。 - aes类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,签名算法为aes-128-cfb时为16个字符,签名算法为aes-256-cfb时为32个字符。未填写时后台自动生成。 :type sign_key: str @@ -129,7 +129,7 @@ def name(self, name): def sign_type(self): """Gets the sign_type of this SignatureWithBindNum. - 签名密钥类型: - hmac - basic - public_key - aes basic类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIG特性”,如确认实例不存在public_key配置可联系技术工程师开启。 aes类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 + 签名密钥类型: - hmac - basic - public_key - aes basic类型需要实例升级到对应版本,如果不存在可联系技术工程师升级。 public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIG特性”,如确认实例不存在public_key配置可联系技术工程师开启。 aes类型需要实例升级到对应版本,如果不存在可联系技术工程师升级。 :return: The sign_type of this SignatureWithBindNum. :rtype: str @@ -140,7 +140,7 @@ def sign_type(self): def sign_type(self, sign_type): """Sets the sign_type of this SignatureWithBindNum. - 签名密钥类型: - hmac - basic - public_key - aes basic类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIG特性”,如确认实例不存在public_key配置可联系技术工程师开启。 aes类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 + 签名密钥类型: - hmac - basic - public_key - aes basic类型需要实例升级到对应版本,如果不存在可联系技术工程师升级。 public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIG特性”,如确认实例不存在public_key配置可联系技术工程师开启。 aes类型需要实例升级到对应版本,如果不存在可联系技术工程师升级。 :param sign_type: The sign_type of this SignatureWithBindNum. :type sign_type: str diff --git a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/tms_matches_key_value.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/tms_matches_key_value.py new file mode 100644 index 0000000000..53f4e2b594 --- /dev/null +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/tms_matches_key_value.py @@ -0,0 +1,144 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class TmsMatchesKeyValue: + + """ + 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 = { + 'key': 'str', + 'value': 'str' + } + + attribute_map = { + 'key': 'key', + 'value': 'value' + } + + def __init__(self, key=None, value=None): + """TmsMatchesKeyValue + + The model defined in huaweicloud sdk + + :param key: 要匹配的字段 - resource_name 表示按照APIG实例的名称去匹配 + :type key: str + :param value: 值。 支持可用 UTF-8 格式表示的字母(包含中文)、数字和空格,以及以下字符: _ . : / = + - @ + :type value: str + """ + + + + self._key = None + self._value = None + self.discriminator = None + + if key is not None: + self.key = key + if value is not None: + self.value = value + + @property + def key(self): + """Gets the key of this TmsMatchesKeyValue. + + 要匹配的字段 - resource_name 表示按照APIG实例的名称去匹配 + + :return: The key of this TmsMatchesKeyValue. + :rtype: str + """ + return self._key + + @key.setter + def key(self, key): + """Sets the key of this TmsMatchesKeyValue. + + 要匹配的字段 - resource_name 表示按照APIG实例的名称去匹配 + + :param key: The key of this TmsMatchesKeyValue. + :type key: str + """ + self._key = key + + @property + def value(self): + """Gets the value of this TmsMatchesKeyValue. + + 值。 支持可用 UTF-8 格式表示的字母(包含中文)、数字和空格,以及以下字符: _ . : / = + - @ + + :return: The value of this TmsMatchesKeyValue. + :rtype: str + """ + return self._value + + @value.setter + def value(self, value): + """Sets the value of this TmsMatchesKeyValue. + + 值。 支持可用 UTF-8 格式表示的字母(包含中文)、数字和空格,以及以下字符: _ . : / = + - @ + + :param value: The value of this TmsMatchesKeyValue. + :type value: str + """ + self._value = value + + 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, TmsMatchesKeyValue): + 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-apig/huaweicloudsdkapig/v2/model/tms_query_req.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/tms_query_req.py new file mode 100644 index 0000000000..b043ea5d34 --- /dev/null +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/tms_query_req.py @@ -0,0 +1,202 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class TmsQueryReq: + + """ + 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 = { + 'without_any_tag': 'bool', + 'tags': 'list[TmsKeyValues]', + 'sys_tags': 'list[TmsKeyValues]', + 'matches': 'list[TmsMatchesKeyValue]' + } + + attribute_map = { + 'without_any_tag': 'without_any_tag', + 'tags': 'tags', + 'sys_tags': 'sys_tags', + 'matches': 'matches' + } + + def __init__(self, without_any_tag=None, tags=None, sys_tags=None, matches=None): + """TmsQueryReq + + The model defined in huaweicloud sdk + + :param without_any_tag: 不包含任意一个标签,该字段为true时查询所有不带标签的资源,此时忽略 “tags”字段。 该字段为false或者未提供该参数时,该条件不生效。 + :type without_any_tag: bool + :param tags: 包含标签,最多包含20个key,每个key下面的value最多20个。无tag过滤条件时返回全量数据。 + :type tags: list[:class:`huaweicloudsdkapig.v2.TmsKeyValues`] + :param sys_tags: 企业项目.仅op_service权限可以使用此字段做资源实例过滤条件. 无sys_tags时按照tag接口处理,无tag过滤条件时返回全量数据。 + :type sys_tags: list[:class:`huaweicloudsdkapig.v2.TmsKeyValues`] + :param matches: 搜索字段,key为要匹配的字段,当前限定为resource_name。value为匹配的值。 根据key的值确认是否需要模糊匹配,如resource_name需要实现前缀搜索。 + :type matches: list[:class:`huaweicloudsdkapig.v2.TmsMatchesKeyValue`] + """ + + + + self._without_any_tag = None + self._tags = None + self._sys_tags = None + self._matches = None + self.discriminator = None + + if without_any_tag is not None: + self.without_any_tag = without_any_tag + if tags is not None: + self.tags = tags + if sys_tags is not None: + self.sys_tags = sys_tags + if matches is not None: + self.matches = matches + + @property + def without_any_tag(self): + """Gets the without_any_tag of this TmsQueryReq. + + 不包含任意一个标签,该字段为true时查询所有不带标签的资源,此时忽略 “tags”字段。 该字段为false或者未提供该参数时,该条件不生效。 + + :return: The without_any_tag of this TmsQueryReq. + :rtype: bool + """ + return self._without_any_tag + + @without_any_tag.setter + def without_any_tag(self, without_any_tag): + """Sets the without_any_tag of this TmsQueryReq. + + 不包含任意一个标签,该字段为true时查询所有不带标签的资源,此时忽略 “tags”字段。 该字段为false或者未提供该参数时,该条件不生效。 + + :param without_any_tag: The without_any_tag of this TmsQueryReq. + :type without_any_tag: bool + """ + self._without_any_tag = without_any_tag + + @property + def tags(self): + """Gets the tags of this TmsQueryReq. + + 包含标签,最多包含20个key,每个key下面的value最多20个。无tag过滤条件时返回全量数据。 + + :return: The tags of this TmsQueryReq. + :rtype: list[:class:`huaweicloudsdkapig.v2.TmsKeyValues`] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this TmsQueryReq. + + 包含标签,最多包含20个key,每个key下面的value最多20个。无tag过滤条件时返回全量数据。 + + :param tags: The tags of this TmsQueryReq. + :type tags: list[:class:`huaweicloudsdkapig.v2.TmsKeyValues`] + """ + self._tags = tags + + @property + def sys_tags(self): + """Gets the sys_tags of this TmsQueryReq. + + 企业项目.仅op_service权限可以使用此字段做资源实例过滤条件. 无sys_tags时按照tag接口处理,无tag过滤条件时返回全量数据。 + + :return: The sys_tags of this TmsQueryReq. + :rtype: list[:class:`huaweicloudsdkapig.v2.TmsKeyValues`] + """ + return self._sys_tags + + @sys_tags.setter + def sys_tags(self, sys_tags): + """Sets the sys_tags of this TmsQueryReq. + + 企业项目.仅op_service权限可以使用此字段做资源实例过滤条件. 无sys_tags时按照tag接口处理,无tag过滤条件时返回全量数据。 + + :param sys_tags: The sys_tags of this TmsQueryReq. + :type sys_tags: list[:class:`huaweicloudsdkapig.v2.TmsKeyValues`] + """ + self._sys_tags = sys_tags + + @property + def matches(self): + """Gets the matches of this TmsQueryReq. + + 搜索字段,key为要匹配的字段,当前限定为resource_name。value为匹配的值。 根据key的值确认是否需要模糊匹配,如resource_name需要实现前缀搜索。 + + :return: The matches of this TmsQueryReq. + :rtype: list[:class:`huaweicloudsdkapig.v2.TmsMatchesKeyValue`] + """ + return self._matches + + @matches.setter + def matches(self, matches): + """Sets the matches of this TmsQueryReq. + + 搜索字段,key为要匹配的字段,当前限定为resource_name。value为匹配的值。 根据key的值确认是否需要模糊匹配,如resource_name需要实现前缀搜索。 + + :param matches: The matches of this TmsQueryReq. + :type matches: list[:class:`huaweicloudsdkapig.v2.TmsMatchesKeyValue`] + """ + self._matches = matches + + 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, TmsQueryReq): + 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-apig/huaweicloudsdkapig/v2/model/tms_resource_resp.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/tms_resource_resp.py new file mode 100644 index 0000000000..23f5594056 --- /dev/null +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/tms_resource_resp.py @@ -0,0 +1,202 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class TmsResourceResp: + + """ + 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 = { + 'resource_id': 'str', + 'resouce_detail': 'str', + 'resource_name': 'str', + 'tags': 'list[TmsKeyValue]' + } + + attribute_map = { + 'resource_id': 'resource_id', + 'resouce_detail': 'resouce_detail', + 'resource_name': 'resource_name', + 'tags': 'tags' + } + + def __init__(self, resource_id=None, resouce_detail=None, resource_name=None, tags=None): + """TmsResourceResp + + The model defined in huaweicloud sdk + + :param resource_id: 实例编号 + :type resource_id: str + :param resouce_detail: 实例详细描述。暂不支持 + :type resouce_detail: str + :param resource_name: 实例名称 + :type resource_name: str + :param tags: 实例绑定的标签列表 + :type tags: list[:class:`huaweicloudsdkapig.v2.TmsKeyValue`] + """ + + + + self._resource_id = None + self._resouce_detail = None + self._resource_name = None + self._tags = None + self.discriminator = None + + if resource_id is not None: + self.resource_id = resource_id + if resouce_detail is not None: + self.resouce_detail = resouce_detail + if resource_name is not None: + self.resource_name = resource_name + if tags is not None: + self.tags = tags + + @property + def resource_id(self): + """Gets the resource_id of this TmsResourceResp. + + 实例编号 + + :return: The resource_id of this TmsResourceResp. + :rtype: str + """ + return self._resource_id + + @resource_id.setter + def resource_id(self, resource_id): + """Sets the resource_id of this TmsResourceResp. + + 实例编号 + + :param resource_id: The resource_id of this TmsResourceResp. + :type resource_id: str + """ + self._resource_id = resource_id + + @property + def resouce_detail(self): + """Gets the resouce_detail of this TmsResourceResp. + + 实例详细描述。暂不支持 + + :return: The resouce_detail of this TmsResourceResp. + :rtype: str + """ + return self._resouce_detail + + @resouce_detail.setter + def resouce_detail(self, resouce_detail): + """Sets the resouce_detail of this TmsResourceResp. + + 实例详细描述。暂不支持 + + :param resouce_detail: The resouce_detail of this TmsResourceResp. + :type resouce_detail: str + """ + self._resouce_detail = resouce_detail + + @property + def resource_name(self): + """Gets the resource_name of this TmsResourceResp. + + 实例名称 + + :return: The resource_name of this TmsResourceResp. + :rtype: str + """ + return self._resource_name + + @resource_name.setter + def resource_name(self, resource_name): + """Sets the resource_name of this TmsResourceResp. + + 实例名称 + + :param resource_name: The resource_name of this TmsResourceResp. + :type resource_name: str + """ + self._resource_name = resource_name + + @property + def tags(self): + """Gets the tags of this TmsResourceResp. + + 实例绑定的标签列表 + + :return: The tags of this TmsResourceResp. + :rtype: list[:class:`huaweicloudsdkapig.v2.TmsKeyValue`] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this TmsResourceResp. + + 实例绑定的标签列表 + + :param tags: The tags of this TmsResourceResp. + :type tags: list[:class:`huaweicloudsdkapig.v2.TmsKeyValue`] + """ + 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, TmsResourceResp): + 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-apig/huaweicloudsdkapig/v2/model/update_api_v2_response.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/update_api_v2_response.py index 25de622a28..313e6e84b5 100644 --- a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/update_api_v2_response.py +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/update_api_v2_response.py @@ -41,6 +41,7 @@ class UpdateApiV2Response(SdkResponse): 'domain_name': 'str', 'tag': 'str', 'content_type': 'str', + 'is_send_fg_body_base64': 'bool', 'id': 'str', 'status': 'int', 'arrange_necessary': 'int', @@ -89,6 +90,7 @@ class UpdateApiV2Response(SdkResponse): 'domain_name': 'domain_name', 'tag': 'tag', 'content_type': 'content_type', + 'is_send_fg_body_base64': 'is_send_fg_body_base64', 'id': 'id', 'status': 'status', 'arrange_necessary': 'arrange_necessary', @@ -113,7 +115,7 @@ class UpdateApiV2Response(SdkResponse): 'policy_https': 'policy_https' } - def __init__(self, name=None, type=None, version=None, req_protocol=None, req_method=None, req_uri=None, auth_type=None, auth_opt=None, cors=None, match_mode=None, backend_type=None, remark=None, group_id=None, body_remark=None, result_normal_sample=None, result_failure_sample=None, authorizer_id=None, tags=None, response_id=None, roma_app_id=None, domain_name=None, tag=None, content_type=None, id=None, status=None, arrange_necessary=None, register_time=None, update_time=None, group_name=None, group_version=None, run_env_id=None, run_env_name=None, publish_id=None, publish_time=None, roma_app_name=None, ld_api_id=None, backend_api=None, api_group_info=None, func_info=None, mock_info=None, req_params=None, backend_params=None, policy_functions=None, policy_mocks=None, policy_https=None): + def __init__(self, name=None, type=None, version=None, req_protocol=None, req_method=None, req_uri=None, auth_type=None, auth_opt=None, cors=None, match_mode=None, backend_type=None, remark=None, group_id=None, body_remark=None, result_normal_sample=None, result_failure_sample=None, authorizer_id=None, tags=None, response_id=None, roma_app_id=None, domain_name=None, tag=None, content_type=None, is_send_fg_body_base64=None, id=None, status=None, arrange_necessary=None, register_time=None, update_time=None, group_name=None, group_version=None, run_env_id=None, run_env_name=None, publish_id=None, publish_time=None, roma_app_name=None, ld_api_id=None, backend_api=None, api_group_info=None, func_info=None, mock_info=None, req_params=None, backend_params=None, policy_functions=None, policy_mocks=None, policy_https=None): """UpdateApiV2Response The model defined in huaweicloud sdk @@ -150,7 +152,7 @@ def __init__(self, name=None, type=None, version=None, req_protocol=None, req_me :type result_normal_sample: str :param result_failure_sample: 失败返回示例,描述API的异常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。 当API的请求协议为GRPC类型时不支持配置。 :type result_failure_sample: str - :param authorizer_id: 前端自定义认证对象的ID,API请求协议为GRPC类型时不支持前端自定义认证 + :param authorizer_id: 前端自定义认证对象的ID :type authorizer_id: str :param tags: 标签。 支持英文,数字,中文,特殊符号(-*#%.:_),且只能以中文或英文开头。 默认支持10个标签,如需扩大配额请联系技术工程师修改API_TAG_NUM_LIMIT配置。 :type tags: list[str] @@ -162,8 +164,10 @@ def __init__(self, name=None, type=None, version=None, req_protocol=None, req_me :type domain_name: str :param tag: 标签 待废弃,优先使用tags字段 :type tag: str - :param content_type: 请求内容格式类型: application/json application/xml multipart/form-data text/plain 暂不支持 + :param content_type: 请求内容格式类型: application/json application/xml multipart/form-data text/plain :type content_type: str + :param is_send_fg_body_base64: 是否对与FunctionGraph交互场景的body进行Base64编码。仅当content_type为application/json时,可以不对body进行Base64编码。 应用场景: - 自定义认证 - 绑定断路器插件,且断路器后端降级策略为函数后端 - API后端类型为函数工作流 + :type is_send_fg_body_base64: bool :param id: API编号 :type id: str :param status: API状态 - 1: 有效 @@ -235,6 +239,7 @@ def __init__(self, name=None, type=None, version=None, req_protocol=None, req_me self._domain_name = None self._tag = None self._content_type = None + self._is_send_fg_body_base64 = None self._id = None self._status = None self._arrange_necessary = None @@ -297,6 +302,8 @@ def __init__(self, name=None, type=None, version=None, req_protocol=None, req_me self.tag = tag if content_type is not None: self.content_type = content_type + if is_send_fg_body_base64 is not None: + self.is_send_fg_body_base64 = is_send_fg_body_base64 if id is not None: self.id = id if status is not None: @@ -694,7 +701,7 @@ def result_failure_sample(self, result_failure_sample): def authorizer_id(self): """Gets the authorizer_id of this UpdateApiV2Response. - 前端自定义认证对象的ID,API请求协议为GRPC类型时不支持前端自定义认证 + 前端自定义认证对象的ID :return: The authorizer_id of this UpdateApiV2Response. :rtype: str @@ -705,7 +712,7 @@ def authorizer_id(self): def authorizer_id(self, authorizer_id): """Sets the authorizer_id of this UpdateApiV2Response. - 前端自定义认证对象的ID,API请求协议为GRPC类型时不支持前端自定义认证 + 前端自定义认证对象的ID :param authorizer_id: The authorizer_id of this UpdateApiV2Response. :type authorizer_id: str @@ -826,7 +833,7 @@ def tag(self, tag): def content_type(self): """Gets the content_type of this UpdateApiV2Response. - 请求内容格式类型: application/json application/xml multipart/form-data text/plain 暂不支持 + 请求内容格式类型: application/json application/xml multipart/form-data text/plain :return: The content_type of this UpdateApiV2Response. :rtype: str @@ -837,13 +844,35 @@ def content_type(self): def content_type(self, content_type): """Sets the content_type of this UpdateApiV2Response. - 请求内容格式类型: application/json application/xml multipart/form-data text/plain 暂不支持 + 请求内容格式类型: application/json application/xml multipart/form-data text/plain :param content_type: The content_type of this UpdateApiV2Response. :type content_type: str """ self._content_type = content_type + @property + def is_send_fg_body_base64(self): + """Gets the is_send_fg_body_base64 of this UpdateApiV2Response. + + 是否对与FunctionGraph交互场景的body进行Base64编码。仅当content_type为application/json时,可以不对body进行Base64编码。 应用场景: - 自定义认证 - 绑定断路器插件,且断路器后端降级策略为函数后端 - API后端类型为函数工作流 + + :return: The is_send_fg_body_base64 of this UpdateApiV2Response. + :rtype: bool + """ + return self._is_send_fg_body_base64 + + @is_send_fg_body_base64.setter + def is_send_fg_body_base64(self, is_send_fg_body_base64): + """Sets the is_send_fg_body_base64 of this UpdateApiV2Response. + + 是否对与FunctionGraph交互场景的body进行Base64编码。仅当content_type为application/json时,可以不对body进行Base64编码。 应用场景: - 自定义认证 - 绑定断路器插件,且断路器后端降级策略为函数后端 - API后端类型为函数工作流 + + :param is_send_fg_body_base64: The is_send_fg_body_base64 of this UpdateApiV2Response. + :type is_send_fg_body_base64: bool + """ + self._is_send_fg_body_base64 = is_send_fg_body_base64 + @property def id(self): """Gets the id of this UpdateApiV2Response. diff --git a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/update_health_check_response.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/update_health_check_response.py index 6c705f0c19..ea965c696a 100644 --- a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/update_health_check_response.py +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/update_health_check_response.py @@ -62,7 +62,7 @@ def __init__(self, protocol=None, path=None, method=None, port=None, threshold_n :type path: str :param method: 健康检查时的请求方法 :type method: str - :param port: 健康检查的目标端口,缺少或port = 0时为VPC中主机的端口号。 若此端口存在非0值,则使用此端口进行健康检查。 + :param port: 健康检查的目标端口,缺少或port = 0时为VPC中主机的端口号。 如果此端口存在非0值,则使用此端口进行健康检查。 :type port: int :param threshold_normal: 正常阈值。判定VPC通道中主机正常的依据为:连续检查x成功,x为您设置的正常阈值。 :type threshold_normal: int @@ -72,7 +72,7 @@ def __init__(self, protocol=None, path=None, method=None, port=None, threshold_n :type time_interval: int :param http_code: 检查目标HTTP响应时,判断成功使用的HTTP响应码。取值范围为100到599之前的任意整数值,支持如下三种格式: - 多个值,如:200,201,202 - 一系列值,如:200-299 - 组合值,如:201,202,210-299 protocol = http时必选 :type http_code: str - :param enable_client_ssl: 是否开启双向认证。若开启,则使用实例配置中的backend_client_certificate配置项的证书 + :param enable_client_ssl: 是否开启双向认证。如果开启,则使用实例配置中的backend_client_certificate配置项的证书 :type enable_client_ssl: bool :param status: 健康检查状态 - 1:可用 - 2:不可用 :type status: int @@ -199,7 +199,7 @@ def method(self, method): def port(self): """Gets the port of this UpdateHealthCheckResponse. - 健康检查的目标端口,缺少或port = 0时为VPC中主机的端口号。 若此端口存在非0值,则使用此端口进行健康检查。 + 健康检查的目标端口,缺少或port = 0时为VPC中主机的端口号。 如果此端口存在非0值,则使用此端口进行健康检查。 :return: The port of this UpdateHealthCheckResponse. :rtype: int @@ -210,7 +210,7 @@ def port(self): def port(self, port): """Sets the port of this UpdateHealthCheckResponse. - 健康检查的目标端口,缺少或port = 0时为VPC中主机的端口号。 若此端口存在非0值,则使用此端口进行健康检查。 + 健康检查的目标端口,缺少或port = 0时为VPC中主机的端口号。 如果此端口存在非0值,则使用此端口进行健康检查。 :param port: The port of this UpdateHealthCheckResponse. :type port: int @@ -309,7 +309,7 @@ def http_code(self, http_code): def enable_client_ssl(self): """Gets the enable_client_ssl of this UpdateHealthCheckResponse. - 是否开启双向认证。若开启,则使用实例配置中的backend_client_certificate配置项的证书 + 是否开启双向认证。如果开启,则使用实例配置中的backend_client_certificate配置项的证书 :return: The enable_client_ssl of this UpdateHealthCheckResponse. :rtype: bool @@ -320,7 +320,7 @@ def enable_client_ssl(self): def enable_client_ssl(self, enable_client_ssl): """Sets the enable_client_ssl of this UpdateHealthCheckResponse. - 是否开启双向认证。若开启,则使用实例配置中的backend_client_certificate配置项的证书 + 是否开启双向认证。如果开启,则使用实例配置中的backend_client_certificate配置项的证书 :param enable_client_ssl: The enable_client_ssl of this UpdateHealthCheckResponse. :type enable_client_ssl: bool diff --git a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/update_instance_v2_response.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/update_instance_v2_response.py index cf808fbdf3..3e55258a31 100644 --- a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/update_instance_v2_response.py +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/update_instance_v2_response.py @@ -160,7 +160,7 @@ def __init__(self, id=None, project_id=None, instance_name=None, status=None, in :type maintain_end: str :param ingress_ip: 实例入口,虚拟私有云访问地址 :type ingress_ip: str - :param ingress_ip_v6: 实例入口,虚拟私有云访问地址 (IPv6) + :param ingress_ip_v6: 实例入口,虚拟私有云访问地址 (IPv6) :type ingress_ip_v6: str :param user_id: 实例所属用户ID :type user_id: str @@ -816,7 +816,7 @@ def ingress_ip(self, ingress_ip): def ingress_ip_v6(self): """Gets the ingress_ip_v6 of this UpdateInstanceV2Response. - 实例入口,虚拟私有云访问地址 (IPv6) + 实例入口,虚拟私有云访问地址 (IPv6) :return: The ingress_ip_v6 of this UpdateInstanceV2Response. :rtype: str @@ -827,7 +827,7 @@ def ingress_ip_v6(self): def ingress_ip_v6(self, ingress_ip_v6): """Sets the ingress_ip_v6 of this UpdateInstanceV2Response. - 实例入口,虚拟私有云访问地址 (IPv6) + 实例入口,虚拟私有云访问地址 (IPv6) :param ingress_ip_v6: The ingress_ip_v6 of this UpdateInstanceV2Response. :type ingress_ip_v6: str diff --git a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/update_orchestration_request.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/update_orchestration_request.py new file mode 100644 index 0000000000..f800667333 --- /dev/null +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/update_orchestration_request.py @@ -0,0 +1,167 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class UpdateOrchestrationRequest: + + """ + 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', + 'orchestration_id': 'str', + 'body': 'OrchestrationCreate' + } + + attribute_map = { + 'instance_id': 'instance_id', + 'orchestration_id': 'orchestration_id', + 'body': 'body' + } + + def __init__(self, instance_id=None, orchestration_id=None, body=None): + """UpdateOrchestrationRequest + + The model defined in huaweicloud sdk + + :param instance_id: 实例ID,在API网关控制台的“实例信息”中获取。 + :type instance_id: str + :param orchestration_id: 编排规则编号 + :type orchestration_id: str + :param body: Body of the UpdateOrchestrationRequest + :type body: :class:`huaweicloudsdkapig.v2.OrchestrationCreate` + """ + + + + self._instance_id = None + self._orchestration_id = None + self._body = None + self.discriminator = None + + self.instance_id = instance_id + self.orchestration_id = orchestration_id + if body is not None: + self.body = body + + @property + def instance_id(self): + """Gets the instance_id of this UpdateOrchestrationRequest. + + 实例ID,在API网关控制台的“实例信息”中获取。 + + :return: The instance_id of this UpdateOrchestrationRequest. + :rtype: str + """ + return self._instance_id + + @instance_id.setter + def instance_id(self, instance_id): + """Sets the instance_id of this UpdateOrchestrationRequest. + + 实例ID,在API网关控制台的“实例信息”中获取。 + + :param instance_id: The instance_id of this UpdateOrchestrationRequest. + :type instance_id: str + """ + self._instance_id = instance_id + + @property + def orchestration_id(self): + """Gets the orchestration_id of this UpdateOrchestrationRequest. + + 编排规则编号 + + :return: The orchestration_id of this UpdateOrchestrationRequest. + :rtype: str + """ + return self._orchestration_id + + @orchestration_id.setter + def orchestration_id(self, orchestration_id): + """Sets the orchestration_id of this UpdateOrchestrationRequest. + + 编排规则编号 + + :param orchestration_id: The orchestration_id of this UpdateOrchestrationRequest. + :type orchestration_id: str + """ + self._orchestration_id = orchestration_id + + @property + def body(self): + """Gets the body of this UpdateOrchestrationRequest. + + :return: The body of this UpdateOrchestrationRequest. + :rtype: :class:`huaweicloudsdkapig.v2.OrchestrationCreate` + """ + return self._body + + @body.setter + def body(self, body): + """Sets the body of this UpdateOrchestrationRequest. + + :param body: The body of this UpdateOrchestrationRequest. + :type body: :class:`huaweicloudsdkapig.v2.OrchestrationCreate` + """ + 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, UpdateOrchestrationRequest): + 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-apig/huaweicloudsdkapig/v2/model/update_orchestration_response.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/update_orchestration_response.py new file mode 100644 index 0000000000..9670e78193 --- /dev/null +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/update_orchestration_response.py @@ -0,0 +1,313 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_response import SdkResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class UpdateOrchestrationResponse(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 = { + 'orchestration_name': 'str', + 'orchestration_strategy': 'str', + 'orchestration_mapped_param': 'OrchestrationMappedParam', + 'is_preprocessing': 'bool', + 'orchestration_map': 'list[OrchestrationMap]', + 'orchestration_id': 'str', + 'orchestration_create_time': 'datetime', + 'orchestration_update_time': 'datetime' + } + + attribute_map = { + 'orchestration_name': 'orchestration_name', + 'orchestration_strategy': 'orchestration_strategy', + 'orchestration_mapped_param': 'orchestration_mapped_param', + 'is_preprocessing': 'is_preprocessing', + 'orchestration_map': 'orchestration_map', + 'orchestration_id': 'orchestration_id', + 'orchestration_create_time': 'orchestration_create_time', + 'orchestration_update_time': 'orchestration_update_time' + } + + def __init__(self, orchestration_name=None, orchestration_strategy=None, orchestration_mapped_param=None, is_preprocessing=None, orchestration_map=None, orchestration_id=None, orchestration_create_time=None, orchestration_update_time=None): + """UpdateOrchestrationResponse + + The model defined in huaweicloud sdk + + :param orchestration_name: 编排映射规则名称。 支持英文,数字,下划线,且只能以英文开头,3-64个字符,同一实例下不允许重名。 + :type orchestration_name: str + :param orchestration_strategy: 编排策略,有以下几种策略类型: - list:列表; - hash:哈希; - range:区间; - hash_range: 哈希+区间; - none_value: 空值映射; - default: 默认值映射; - head_n: 截取前n项; - tail_n: 截取后n项; 当编排策略为list时,orchestration_map列表长度*map_param_list长度不超过3000。 + :type orchestration_strategy: str + :param orchestration_mapped_param: + :type orchestration_mapped_param: :class:`huaweicloudsdkapig.v2.OrchestrationMappedParam` + :param is_preprocessing: 是否为预处理策略,预处理策略只会生成临时参数作为后面参数编排规则的入参标记。当为预处理策略时,该编排规则不能作为除default之外的最后一个编排规则。 + :type is_preprocessing: bool + :param orchestration_map: 编排映射规则列表,列表长度范围为1-300。 编排映射规则的生效优先级与列表顺序保持一致,列表中靠前的配置匹配优先级较高。 映射规则不能重复,当orchestration_strategy=list时,map_param_list的列表也不能包含重复元素。 + :type orchestration_map: list[:class:`huaweicloudsdkapig.v2.OrchestrationMap`] + :param orchestration_id: 编排规则编号。 + :type orchestration_id: str + :param orchestration_create_time: 编排规则创建时间。 + :type orchestration_create_time: datetime + :param orchestration_update_time: 编排规则更新时间。 + :type orchestration_update_time: datetime + """ + + super(UpdateOrchestrationResponse, self).__init__() + + self._orchestration_name = None + self._orchestration_strategy = None + self._orchestration_mapped_param = None + self._is_preprocessing = None + self._orchestration_map = None + self._orchestration_id = None + self._orchestration_create_time = None + self._orchestration_update_time = None + self.discriminator = None + + self.orchestration_name = orchestration_name + self.orchestration_strategy = orchestration_strategy + if orchestration_mapped_param is not None: + self.orchestration_mapped_param = orchestration_mapped_param + if is_preprocessing is not None: + self.is_preprocessing = is_preprocessing + if orchestration_map is not None: + self.orchestration_map = orchestration_map + if orchestration_id is not None: + self.orchestration_id = orchestration_id + if orchestration_create_time is not None: + self.orchestration_create_time = orchestration_create_time + if orchestration_update_time is not None: + self.orchestration_update_time = orchestration_update_time + + @property + def orchestration_name(self): + """Gets the orchestration_name of this UpdateOrchestrationResponse. + + 编排映射规则名称。 支持英文,数字,下划线,且只能以英文开头,3-64个字符,同一实例下不允许重名。 + + :return: The orchestration_name of this UpdateOrchestrationResponse. + :rtype: str + """ + return self._orchestration_name + + @orchestration_name.setter + def orchestration_name(self, orchestration_name): + """Sets the orchestration_name of this UpdateOrchestrationResponse. + + 编排映射规则名称。 支持英文,数字,下划线,且只能以英文开头,3-64个字符,同一实例下不允许重名。 + + :param orchestration_name: The orchestration_name of this UpdateOrchestrationResponse. + :type orchestration_name: str + """ + self._orchestration_name = orchestration_name + + @property + def orchestration_strategy(self): + """Gets the orchestration_strategy of this UpdateOrchestrationResponse. + + 编排策略,有以下几种策略类型: - list:列表; - hash:哈希; - range:区间; - hash_range: 哈希+区间; - none_value: 空值映射; - default: 默认值映射; - head_n: 截取前n项; - tail_n: 截取后n项; 当编排策略为list时,orchestration_map列表长度*map_param_list长度不超过3000。 + + :return: The orchestration_strategy of this UpdateOrchestrationResponse. + :rtype: str + """ + return self._orchestration_strategy + + @orchestration_strategy.setter + def orchestration_strategy(self, orchestration_strategy): + """Sets the orchestration_strategy of this UpdateOrchestrationResponse. + + 编排策略,有以下几种策略类型: - list:列表; - hash:哈希; - range:区间; - hash_range: 哈希+区间; - none_value: 空值映射; - default: 默认值映射; - head_n: 截取前n项; - tail_n: 截取后n项; 当编排策略为list时,orchestration_map列表长度*map_param_list长度不超过3000。 + + :param orchestration_strategy: The orchestration_strategy of this UpdateOrchestrationResponse. + :type orchestration_strategy: str + """ + self._orchestration_strategy = orchestration_strategy + + @property + def orchestration_mapped_param(self): + """Gets the orchestration_mapped_param of this UpdateOrchestrationResponse. + + :return: The orchestration_mapped_param of this UpdateOrchestrationResponse. + :rtype: :class:`huaweicloudsdkapig.v2.OrchestrationMappedParam` + """ + return self._orchestration_mapped_param + + @orchestration_mapped_param.setter + def orchestration_mapped_param(self, orchestration_mapped_param): + """Sets the orchestration_mapped_param of this UpdateOrchestrationResponse. + + :param orchestration_mapped_param: The orchestration_mapped_param of this UpdateOrchestrationResponse. + :type orchestration_mapped_param: :class:`huaweicloudsdkapig.v2.OrchestrationMappedParam` + """ + self._orchestration_mapped_param = orchestration_mapped_param + + @property + def is_preprocessing(self): + """Gets the is_preprocessing of this UpdateOrchestrationResponse. + + 是否为预处理策略,预处理策略只会生成临时参数作为后面参数编排规则的入参标记。当为预处理策略时,该编排规则不能作为除default之外的最后一个编排规则。 + + :return: The is_preprocessing of this UpdateOrchestrationResponse. + :rtype: bool + """ + return self._is_preprocessing + + @is_preprocessing.setter + def is_preprocessing(self, is_preprocessing): + """Sets the is_preprocessing of this UpdateOrchestrationResponse. + + 是否为预处理策略,预处理策略只会生成临时参数作为后面参数编排规则的入参标记。当为预处理策略时,该编排规则不能作为除default之外的最后一个编排规则。 + + :param is_preprocessing: The is_preprocessing of this UpdateOrchestrationResponse. + :type is_preprocessing: bool + """ + self._is_preprocessing = is_preprocessing + + @property + def orchestration_map(self): + """Gets the orchestration_map of this UpdateOrchestrationResponse. + + 编排映射规则列表,列表长度范围为1-300。 编排映射规则的生效优先级与列表顺序保持一致,列表中靠前的配置匹配优先级较高。 映射规则不能重复,当orchestration_strategy=list时,map_param_list的列表也不能包含重复元素。 + + :return: The orchestration_map of this UpdateOrchestrationResponse. + :rtype: list[:class:`huaweicloudsdkapig.v2.OrchestrationMap`] + """ + return self._orchestration_map + + @orchestration_map.setter + def orchestration_map(self, orchestration_map): + """Sets the orchestration_map of this UpdateOrchestrationResponse. + + 编排映射规则列表,列表长度范围为1-300。 编排映射规则的生效优先级与列表顺序保持一致,列表中靠前的配置匹配优先级较高。 映射规则不能重复,当orchestration_strategy=list时,map_param_list的列表也不能包含重复元素。 + + :param orchestration_map: The orchestration_map of this UpdateOrchestrationResponse. + :type orchestration_map: list[:class:`huaweicloudsdkapig.v2.OrchestrationMap`] + """ + self._orchestration_map = orchestration_map + + @property + def orchestration_id(self): + """Gets the orchestration_id of this UpdateOrchestrationResponse. + + 编排规则编号。 + + :return: The orchestration_id of this UpdateOrchestrationResponse. + :rtype: str + """ + return self._orchestration_id + + @orchestration_id.setter + def orchestration_id(self, orchestration_id): + """Sets the orchestration_id of this UpdateOrchestrationResponse. + + 编排规则编号。 + + :param orchestration_id: The orchestration_id of this UpdateOrchestrationResponse. + :type orchestration_id: str + """ + self._orchestration_id = orchestration_id + + @property + def orchestration_create_time(self): + """Gets the orchestration_create_time of this UpdateOrchestrationResponse. + + 编排规则创建时间。 + + :return: The orchestration_create_time of this UpdateOrchestrationResponse. + :rtype: datetime + """ + return self._orchestration_create_time + + @orchestration_create_time.setter + def orchestration_create_time(self, orchestration_create_time): + """Sets the orchestration_create_time of this UpdateOrchestrationResponse. + + 编排规则创建时间。 + + :param orchestration_create_time: The orchestration_create_time of this UpdateOrchestrationResponse. + :type orchestration_create_time: datetime + """ + self._orchestration_create_time = orchestration_create_time + + @property + def orchestration_update_time(self): + """Gets the orchestration_update_time of this UpdateOrchestrationResponse. + + 编排规则更新时间。 + + :return: The orchestration_update_time of this UpdateOrchestrationResponse. + :rtype: datetime + """ + return self._orchestration_update_time + + @orchestration_update_time.setter + def orchestration_update_time(self, orchestration_update_time): + """Sets the orchestration_update_time of this UpdateOrchestrationResponse. + + 编排规则更新时间。 + + :param orchestration_update_time: The orchestration_update_time of this UpdateOrchestrationResponse. + :type orchestration_update_time: datetime + """ + self._orchestration_update_time = orchestration_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, UpdateOrchestrationResponse): + 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-apig/huaweicloudsdkapig/v2/model/update_plugin_response.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/update_plugin_response.py index 1f03f7cd20..7f7d1289ff 100644 --- a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/update_plugin_response.py +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/update_plugin_response.py @@ -48,11 +48,11 @@ def __init__(self, plugin_id=None, plugin_name=None, plugin_type=None, plugin_sc :type plugin_id: str :param plugin_name: 插件名称。支持汉字,英文,数字,中划线,下划线,且只能以英文和汉字开头,3-255字符。 > 中文字符必须为UTF-8或者unicode编码。 :type plugin_name: str - :param plugin_type: 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送 - breaker:断路器 - rate_limit: 流量控制 - third_auth: 第三方认证 + :param plugin_type: 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送 - breaker:断路器 - rate_limit: 流量控制 - third_auth: 第三方认证 - proxy_cache: 响应缓存 :type plugin_type: str :param plugin_scope: 插件可见范围。global:全局可见; :type plugin_scope: str - :param plugin_content: 插件定义内容,支持json。参考提供的具体模型定义 CorsPluginContent:跨域资源共享 定义内容 SetRespHeadersContent:HTTP响应头管理 定义内容 KafkaLogContent:Kafka日志推送 定义内容 BreakerContent:断路器 定义内容 RateLimitContent 流量控制 定义内容 ThirdAuthContent: 第三方认证 定义内容 + :param plugin_content: 插件定义内容,支持json。参考提供的具体模型定义 CorsPluginContent:跨域资源共享 定义内容 SetRespHeadersContent:HTTP响应头管理 定义内容 KafkaLogContent:Kafka日志推送 定义内容 BreakerContent:断路器 定义内容 RateLimitContent 流量控制 定义内容 ThirdAuthContent: 第三方认证 定义内容 ProxyCacheContent: 响应缓存 定义内容 :type plugin_content: str :param remark: 插件描述,255字符。 > 中文字符必须为UTF-8或者unicode编码。 :type remark: str @@ -139,7 +139,7 @@ def plugin_name(self, plugin_name): def plugin_type(self): """Gets the plugin_type of this UpdatePluginResponse. - 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送 - breaker:断路器 - rate_limit: 流量控制 - third_auth: 第三方认证 + 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送 - breaker:断路器 - rate_limit: 流量控制 - third_auth: 第三方认证 - proxy_cache: 响应缓存 :return: The plugin_type of this UpdatePluginResponse. :rtype: str @@ -150,7 +150,7 @@ def plugin_type(self): def plugin_type(self, plugin_type): """Sets the plugin_type of this UpdatePluginResponse. - 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送 - breaker:断路器 - rate_limit: 流量控制 - third_auth: 第三方认证 + 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送 - breaker:断路器 - rate_limit: 流量控制 - third_auth: 第三方认证 - proxy_cache: 响应缓存 :param plugin_type: The plugin_type of this UpdatePluginResponse. :type plugin_type: str @@ -183,7 +183,7 @@ def plugin_scope(self, plugin_scope): def plugin_content(self): """Gets the plugin_content of this UpdatePluginResponse. - 插件定义内容,支持json。参考提供的具体模型定义 CorsPluginContent:跨域资源共享 定义内容 SetRespHeadersContent:HTTP响应头管理 定义内容 KafkaLogContent:Kafka日志推送 定义内容 BreakerContent:断路器 定义内容 RateLimitContent 流量控制 定义内容 ThirdAuthContent: 第三方认证 定义内容 + 插件定义内容,支持json。参考提供的具体模型定义 CorsPluginContent:跨域资源共享 定义内容 SetRespHeadersContent:HTTP响应头管理 定义内容 KafkaLogContent:Kafka日志推送 定义内容 BreakerContent:断路器 定义内容 RateLimitContent 流量控制 定义内容 ThirdAuthContent: 第三方认证 定义内容 ProxyCacheContent: 响应缓存 定义内容 :return: The plugin_content of this UpdatePluginResponse. :rtype: str @@ -194,7 +194,7 @@ def plugin_content(self): def plugin_content(self, plugin_content): """Sets the plugin_content of this UpdatePluginResponse. - 插件定义内容,支持json。参考提供的具体模型定义 CorsPluginContent:跨域资源共享 定义内容 SetRespHeadersContent:HTTP响应头管理 定义内容 KafkaLogContent:Kafka日志推送 定义内容 BreakerContent:断路器 定义内容 RateLimitContent 流量控制 定义内容 ThirdAuthContent: 第三方认证 定义内容 + 插件定义内容,支持json。参考提供的具体模型定义 CorsPluginContent:跨域资源共享 定义内容 SetRespHeadersContent:HTTP响应头管理 定义内容 KafkaLogContent:Kafka日志推送 定义内容 BreakerContent:断路器 定义内容 RateLimitContent 流量控制 定义内容 ThirdAuthContent: 第三方认证 定义内容 ProxyCacheContent: 响应缓存 定义内容 :param plugin_content: The plugin_content of this UpdatePluginResponse. :type plugin_content: str diff --git a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/update_signature_key_v2_response.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/update_signature_key_v2_response.py index c24e0d5fce..233a95039e 100644 --- a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/update_signature_key_v2_response.py +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/update_signature_key_v2_response.py @@ -46,7 +46,7 @@ def __init__(self, name=None, sign_type=None, sign_key=None, sign_secret=None, s :param name: 签名密钥的名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头。 > 中文字符必须为UTF-8或者unicode编码。 :type name: str - :param sign_type: 签名密钥类型: - hmac - basic - public_key - aes basic类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIG特性”,如确认实例不存在public_key配置可联系技术工程师开启。 aes类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 + :param sign_type: 签名密钥类型: - hmac - basic - public_key - aes basic类型需要实例升级到对应版本,如果不存在可联系技术工程师升级。 public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIG特性”,如确认实例不存在public_key配置可联系技术工程师开启。 aes类型需要实例升级到对应版本,如果不存在可联系技术工程师升级。 :type sign_type: str :param sign_key: 签名密钥的key。 - hmac类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母或数字开头,8 ~ 32字符。未填写时后台自动生成。 - basic类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母开头,4 ~ 32字符。未填写时后台自动生成。 - public_key类型的签名密钥key:支持英文,数字,下划线,中划线,+,/,=,可以英文字母,数字,+,/开头,8 ~ 512字符。未填写时后台自动生成。 - aes类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,签名算法为aes-128-cfb时为16个字符,签名算法为aes-256-cfb时为32个字符。未填写时后台自动生成。 :type sign_key: str @@ -116,7 +116,7 @@ def name(self, name): def sign_type(self): """Gets the sign_type of this UpdateSignatureKeyV2Response. - 签名密钥类型: - hmac - basic - public_key - aes basic类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIG特性”,如确认实例不存在public_key配置可联系技术工程师开启。 aes类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 + 签名密钥类型: - hmac - basic - public_key - aes basic类型需要实例升级到对应版本,如果不存在可联系技术工程师升级。 public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIG特性”,如确认实例不存在public_key配置可联系技术工程师开启。 aes类型需要实例升级到对应版本,如果不存在可联系技术工程师升级。 :return: The sign_type of this UpdateSignatureKeyV2Response. :rtype: str @@ -127,7 +127,7 @@ def sign_type(self): def sign_type(self, sign_type): """Sets the sign_type of this UpdateSignatureKeyV2Response. - 签名密钥类型: - hmac - basic - public_key - aes basic类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIG特性”,如确认实例不存在public_key配置可联系技术工程师开启。 aes类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 + 签名密钥类型: - hmac - basic - public_key - aes basic类型需要实例升级到对应版本,如果不存在可联系技术工程师升级。 public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIG特性”,如确认实例不存在public_key配置可联系技术工程师开启。 aes类型需要实例升级到对应版本,如果不存在可联系技术工程师升级。 :param sign_type: The sign_type of this UpdateSignatureKeyV2Response. :type sign_type: str diff --git a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/vpc_health_config.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/vpc_health_config.py index ddb417875c..5fcb08d963 100644 --- a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/vpc_health_config.py +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/vpc_health_config.py @@ -55,7 +55,7 @@ def __init__(self, protocol=None, path=None, method=None, port=None, threshold_n :type path: str :param method: 健康检查时的请求方法 :type method: str - :param port: 健康检查的目标端口,缺少或port = 0时为VPC中主机的端口号。 若此端口存在非0值,则使用此端口进行健康检查。 + :param port: 健康检查的目标端口,缺少或port = 0时为VPC中主机的端口号。 如果此端口存在非0值,则使用此端口进行健康检查。 :type port: int :param threshold_normal: 正常阈值。判定VPC通道中主机正常的依据为:连续检查x成功,x为您设置的正常阈值。 :type threshold_normal: int @@ -65,7 +65,7 @@ def __init__(self, protocol=None, path=None, method=None, port=None, threshold_n :type time_interval: int :param http_code: 检查目标HTTP响应时,判断成功使用的HTTP响应码。取值范围为100到599之前的任意整数值,支持如下三种格式: - 多个值,如:200,201,202 - 一系列值,如:200-299 - 组合值,如:201,202,210-299 protocol = http时必选 :type http_code: str - :param enable_client_ssl: 是否开启双向认证。若开启,则使用实例配置中的backend_client_certificate配置项的证书 + :param enable_client_ssl: 是否开启双向认证。如果开启,则使用实例配置中的backend_client_certificate配置项的证书 :type enable_client_ssl: bool :param status: 健康检查状态 - 1:可用 - 2:不可用 :type status: int @@ -177,7 +177,7 @@ def method(self, method): def port(self): """Gets the port of this VpcHealthConfig. - 健康检查的目标端口,缺少或port = 0时为VPC中主机的端口号。 若此端口存在非0值,则使用此端口进行健康检查。 + 健康检查的目标端口,缺少或port = 0时为VPC中主机的端口号。 如果此端口存在非0值,则使用此端口进行健康检查。 :return: The port of this VpcHealthConfig. :rtype: int @@ -188,7 +188,7 @@ def port(self): def port(self, port): """Sets the port of this VpcHealthConfig. - 健康检查的目标端口,缺少或port = 0时为VPC中主机的端口号。 若此端口存在非0值,则使用此端口进行健康检查。 + 健康检查的目标端口,缺少或port = 0时为VPC中主机的端口号。 如果此端口存在非0值,则使用此端口进行健康检查。 :param port: The port of this VpcHealthConfig. :type port: int @@ -287,7 +287,7 @@ def http_code(self, http_code): def enable_client_ssl(self): """Gets the enable_client_ssl of this VpcHealthConfig. - 是否开启双向认证。若开启,则使用实例配置中的backend_client_certificate配置项的证书 + 是否开启双向认证。如果开启,则使用实例配置中的backend_client_certificate配置项的证书 :return: The enable_client_ssl of this VpcHealthConfig. :rtype: bool @@ -298,7 +298,7 @@ def enable_client_ssl(self): def enable_client_ssl(self, enable_client_ssl): """Sets the enable_client_ssl of this VpcHealthConfig. - 是否开启双向认证。若开启,则使用实例配置中的backend_client_certificate配置项的证书 + 是否开启双向认证。如果开启,则使用实例配置中的backend_client_certificate配置项的证书 :param enable_client_ssl: The enable_client_ssl of this VpcHealthConfig. :type enable_client_ssl: bool diff --git a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/vpc_health_config_base.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/vpc_health_config_base.py index e31aad2585..2ec348651c 100644 --- a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/vpc_health_config_base.py +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/vpc_health_config_base.py @@ -53,7 +53,7 @@ def __init__(self, protocol=None, path=None, method=None, port=None, threshold_n :type path: str :param method: 健康检查时的请求方法 :type method: str - :param port: 健康检查的目标端口,缺少或port = 0时为VPC中主机的端口号。 若此端口存在非0值,则使用此端口进行健康检查。 + :param port: 健康检查的目标端口,缺少或port = 0时为VPC中主机的端口号。 如果此端口存在非0值,则使用此端口进行健康检查。 :type port: int :param threshold_normal: 正常阈值。判定VPC通道中主机正常的依据为:连续检查x成功,x为您设置的正常阈值。 :type threshold_normal: int @@ -63,7 +63,7 @@ def __init__(self, protocol=None, path=None, method=None, port=None, threshold_n :type time_interval: int :param http_code: 检查目标HTTP响应时,判断成功使用的HTTP响应码。取值范围为100到599之前的任意整数值,支持如下三种格式: - 多个值,如:200,201,202 - 一系列值,如:200-299 - 组合值,如:201,202,210-299 protocol = http时必选 :type http_code: str - :param enable_client_ssl: 是否开启双向认证。若开启,则使用实例配置中的backend_client_certificate配置项的证书 + :param enable_client_ssl: 是否开启双向认证。如果开启,则使用实例配置中的backend_client_certificate配置项的证书 :type enable_client_ssl: bool :param status: 健康检查状态 - 1:可用 - 2:不可用 :type status: int @@ -170,7 +170,7 @@ def method(self, method): def port(self): """Gets the port of this VpcHealthConfigBase. - 健康检查的目标端口,缺少或port = 0时为VPC中主机的端口号。 若此端口存在非0值,则使用此端口进行健康检查。 + 健康检查的目标端口,缺少或port = 0时为VPC中主机的端口号。 如果此端口存在非0值,则使用此端口进行健康检查。 :return: The port of this VpcHealthConfigBase. :rtype: int @@ -181,7 +181,7 @@ def port(self): def port(self, port): """Sets the port of this VpcHealthConfigBase. - 健康检查的目标端口,缺少或port = 0时为VPC中主机的端口号。 若此端口存在非0值,则使用此端口进行健康检查。 + 健康检查的目标端口,缺少或port = 0时为VPC中主机的端口号。 如果此端口存在非0值,则使用此端口进行健康检查。 :param port: The port of this VpcHealthConfigBase. :type port: int @@ -280,7 +280,7 @@ def http_code(self, http_code): def enable_client_ssl(self): """Gets the enable_client_ssl of this VpcHealthConfigBase. - 是否开启双向认证。若开启,则使用实例配置中的backend_client_certificate配置项的证书 + 是否开启双向认证。如果开启,则使用实例配置中的backend_client_certificate配置项的证书 :return: The enable_client_ssl of this VpcHealthConfigBase. :rtype: bool @@ -291,7 +291,7 @@ def enable_client_ssl(self): def enable_client_ssl(self, enable_client_ssl): """Sets the enable_client_ssl of this VpcHealthConfigBase. - 是否开启双向认证。若开启,则使用实例配置中的backend_client_certificate配置项的证书 + 是否开启双向认证。如果开启,则使用实例配置中的backend_client_certificate配置项的证书 :param enable_client_ssl: The enable_client_ssl of this VpcHealthConfigBase. :type enable_client_ssl: bool diff --git a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/vpc_health_config_info.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/vpc_health_config_info.py index d886e068f3..f67ea55283 100644 --- a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/vpc_health_config_info.py +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/vpc_health_config_info.py @@ -61,7 +61,7 @@ def __init__(self, protocol=None, path=None, method=None, port=None, threshold_n :type path: str :param method: 健康检查时的请求方法 :type method: str - :param port: 健康检查的目标端口,缺少或port = 0时为VPC中主机的端口号。 若此端口存在非0值,则使用此端口进行健康检查。 + :param port: 健康检查的目标端口,缺少或port = 0时为VPC中主机的端口号。 如果此端口存在非0值,则使用此端口进行健康检查。 :type port: int :param threshold_normal: 正常阈值。判定VPC通道中主机正常的依据为:连续检查x成功,x为您设置的正常阈值。 :type threshold_normal: int @@ -71,7 +71,7 @@ def __init__(self, protocol=None, path=None, method=None, port=None, threshold_n :type time_interval: int :param http_code: 检查目标HTTP响应时,判断成功使用的HTTP响应码。取值范围为100到599之前的任意整数值,支持如下三种格式: - 多个值,如:200,201,202 - 一系列值,如:200-299 - 组合值,如:201,202,210-299 protocol = http时必选 :type http_code: str - :param enable_client_ssl: 是否开启双向认证。若开启,则使用实例配置中的backend_client_certificate配置项的证书 + :param enable_client_ssl: 是否开启双向认证。如果开启,则使用实例配置中的backend_client_certificate配置项的证书 :type enable_client_ssl: bool :param status: 健康检查状态 - 1:可用 - 2:不可用 :type status: int @@ -198,7 +198,7 @@ def method(self, method): def port(self): """Gets the port of this VpcHealthConfigInfo. - 健康检查的目标端口,缺少或port = 0时为VPC中主机的端口号。 若此端口存在非0值,则使用此端口进行健康检查。 + 健康检查的目标端口,缺少或port = 0时为VPC中主机的端口号。 如果此端口存在非0值,则使用此端口进行健康检查。 :return: The port of this VpcHealthConfigInfo. :rtype: int @@ -209,7 +209,7 @@ def port(self): def port(self, port): """Sets the port of this VpcHealthConfigInfo. - 健康检查的目标端口,缺少或port = 0时为VPC中主机的端口号。 若此端口存在非0值,则使用此端口进行健康检查。 + 健康检查的目标端口,缺少或port = 0时为VPC中主机的端口号。 如果此端口存在非0值,则使用此端口进行健康检查。 :param port: The port of this VpcHealthConfigInfo. :type port: int @@ -308,7 +308,7 @@ def http_code(self, http_code): def enable_client_ssl(self): """Gets the enable_client_ssl of this VpcHealthConfigInfo. - 是否开启双向认证。若开启,则使用实例配置中的backend_client_certificate配置项的证书 + 是否开启双向认证。如果开启,则使用实例配置中的backend_client_certificate配置项的证书 :return: The enable_client_ssl of this VpcHealthConfigInfo. :rtype: bool @@ -319,7 +319,7 @@ def enable_client_ssl(self): def enable_client_ssl(self, enable_client_ssl): """Sets the enable_client_ssl of this VpcHealthConfigInfo. - 是否开启双向认证。若开启,则使用实例配置中的backend_client_certificate配置项的证书 + 是否开启双向认证。如果开启,则使用实例配置中的backend_client_certificate配置项的证书 :param enable_client_ssl: The enable_client_ssl of this VpcHealthConfigInfo. :type enable_client_ssl: bool diff --git a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/vpc_member_info.py b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/vpc_member_info.py index f29e09b7e8..7a186f9c30 100644 --- a/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/vpc_member_info.py +++ b/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/vpc_member_info.py @@ -28,7 +28,8 @@ class VpcMemberInfo: 'id': 'str', 'vpc_channel_id': 'str', 'create_time': 'datetime', - 'member_group_id': 'str' + 'member_group_id': 'str', + 'health_status': 'str' } attribute_map = { @@ -43,10 +44,11 @@ class VpcMemberInfo: 'id': 'id', 'vpc_channel_id': 'vpc_channel_id', 'create_time': 'create_time', - 'member_group_id': 'member_group_id' + 'member_group_id': 'member_group_id', + 'health_status': 'health_status' } - def __init__(self, host=None, weight=None, is_backup=None, member_group_name=None, status=None, port=None, ecs_id=None, ecs_name=None, id=None, vpc_channel_id=None, create_time=None, member_group_id=None): + def __init__(self, host=None, weight=None, is_backup=None, member_group_name=None, status=None, port=None, ecs_id=None, ecs_name=None, id=None, vpc_channel_id=None, create_time=None, member_group_id=None, health_status=None): """VpcMemberInfo The model defined in huaweicloud sdk @@ -55,7 +57,7 @@ def __init__(self, host=None, weight=None, is_backup=None, member_group_name=Non :type host: str :param weight: 权重值。 允许您对后端服务进行评级,权重值越大,转发到该云服务的请求数量越多。 :type weight: int - :param is_backup: 是否备用节点。 开启后对应后端服务为备用节点,仅当非备用节点全部故障时工作。 实例需要升级到对应版本才支持此功能,若不支持请联系技术支持。 + :param is_backup: 是否备用节点。 开启后对应后端服务为备用节点,仅当非备用节点全部故障时工作。 实例需要升级到对应版本才支持此功能,如果不支持请联系技术支持。 :type is_backup: bool :param member_group_name: 后端服务器组名称。为后端服务地址选择服务器组,便于统一修改对应服务器组的后端地址。 :type member_group_name: str @@ -75,6 +77,8 @@ def __init__(self, host=None, weight=None, is_backup=None, member_group_name=Non :type create_time: datetime :param member_group_id: 后端服务器组编号 :type member_group_id: str + :param health_status: 负载通道后端实例健康状态,unknown、healthy、unhealthy分别标识未做健康检查、健康、不健康。 + :type health_status: str """ @@ -91,6 +95,7 @@ def __init__(self, host=None, weight=None, is_backup=None, member_group_name=Non self._vpc_channel_id = None self._create_time = None self._member_group_id = None + self._health_status = None self.discriminator = None if host is not None: @@ -117,6 +122,8 @@ def __init__(self, host=None, weight=None, is_backup=None, member_group_name=Non self.create_time = create_time if member_group_id is not None: self.member_group_id = member_group_id + if health_status is not None: + self.health_status = health_status @property def host(self): @@ -166,7 +173,7 @@ def weight(self, weight): def is_backup(self): """Gets the is_backup of this VpcMemberInfo. - 是否备用节点。 开启后对应后端服务为备用节点,仅当非备用节点全部故障时工作。 实例需要升级到对应版本才支持此功能,若不支持请联系技术支持。 + 是否备用节点。 开启后对应后端服务为备用节点,仅当非备用节点全部故障时工作。 实例需要升级到对应版本才支持此功能,如果不支持请联系技术支持。 :return: The is_backup of this VpcMemberInfo. :rtype: bool @@ -177,7 +184,7 @@ def is_backup(self): def is_backup(self, is_backup): """Sets the is_backup of this VpcMemberInfo. - 是否备用节点。 开启后对应后端服务为备用节点,仅当非备用节点全部故障时工作。 实例需要升级到对应版本才支持此功能,若不支持请联系技术支持。 + 是否备用节点。 开启后对应后端服务为备用节点,仅当非备用节点全部故障时工作。 实例需要升级到对应版本才支持此功能,如果不支持请联系技术支持。 :param is_backup: The is_backup of this VpcMemberInfo. :type is_backup: bool @@ -382,6 +389,28 @@ def member_group_id(self, member_group_id): """ self._member_group_id = member_group_id + @property + def health_status(self): + """Gets the health_status of this VpcMemberInfo. + + 负载通道后端实例健康状态,unknown、healthy、unhealthy分别标识未做健康检查、健康、不健康。 + + :return: The health_status of this VpcMemberInfo. + :rtype: str + """ + return self._health_status + + @health_status.setter + def health_status(self, health_status): + """Sets the health_status of this VpcMemberInfo. + + 负载通道后端实例健康状态,unknown、healthy、unhealthy分别标识未做健康检查、健康、不健康。 + + :param health_status: The health_status of this VpcMemberInfo. + :type health_status: str + """ + self._health_status = health_status + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-apig/requirements.txt b/huaweicloud-sdk-apig/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-apig/requirements.txt +++ b/huaweicloud-sdk-apig/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-apig/setup.py b/huaweicloud-sdk-apig/setup.py index bdbf479e06..195b4d3264 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-apm/requirements.txt b/huaweicloud-sdk-apm/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-apm/requirements.txt +++ b/huaweicloud-sdk-apm/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-apm/setup.py b/huaweicloud-sdk-apm/setup.py index daf7f0d7eb..5c887cc3c1 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-as/requirements.txt b/huaweicloud-sdk-as/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-as/requirements.txt +++ b/huaweicloud-sdk-as/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-as/setup.py b/huaweicloud-sdk-as/setup.py index a8be369f4a..8a82c09638 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-asm/requirements.txt b/huaweicloud-sdk-asm/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-asm/requirements.txt +++ b/huaweicloud-sdk-asm/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-asm/setup.py b/huaweicloud-sdk-asm/setup.py index 93b5f50344..de48ef47f5 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-bcs/requirements.txt b/huaweicloud-sdk-bcs/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-bcs/requirements.txt +++ b/huaweicloud-sdk-bcs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-bcs/setup.py b/huaweicloud-sdk-bcs/setup.py index 6fc59bdede..b09251ca91 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-bms/requirements.txt b/huaweicloud-sdk-bms/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-bms/requirements.txt +++ b/huaweicloud-sdk-bms/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-bms/setup.py b/huaweicloud-sdk-bms/setup.py index fb06e5fb76..d0c72b897e 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-bss/huaweicloudsdkbss/v2/model/monthly_bill_record.py b/huaweicloud-sdk-bss/huaweicloudsdkbss/v2/model/monthly_bill_record.py index 0604495fbb..379fd7f016 100644 --- a/huaweicloud-sdk-bss/huaweicloudsdkbss/v2/model/monthly_bill_record.py +++ b/huaweicloud-sdk-bss/huaweicloudsdkbss/v2/model/monthly_bill_record.py @@ -31,6 +31,7 @@ class MonthlyBillRecord: 'trade_time': 'str', 'provider_type': 'int', 'trade_id': 'str', + 'id': 'str', 'bill_type': 'int', 'status': 'int', 'official_amount': 'decimal.Decimal', @@ -63,6 +64,7 @@ class MonthlyBillRecord: 'trade_time': 'trade_time', 'provider_type': 'provider_type', 'trade_id': 'trade_id', + 'id': 'id', 'bill_type': 'bill_type', 'status': 'status', 'official_amount': 'official_amount', @@ -80,7 +82,7 @@ class MonthlyBillRecord: 'region_name': 'region_name' } - def __init__(self, bill_cycle=None, customer_id=None, service_type_code=None, resource_type_code=None, service_type_name=None, resource_type_name=None, region_code=None, enterprise_project_id=None, enterprise_project_name=None, charging_mode=None, consume_time=None, trade_time=None, provider_type=None, trade_id=None, bill_type=None, status=None, official_amount=None, official_discount_amount=None, erase_amount=None, consume_amount=None, cash_amount=None, credit_amount=None, coupon_amount=None, flexipurchase_coupon_amount=None, stored_value_card_amount=None, bonus_amount=None, debt_amount=None, writeoff_amount=None, region_name=None): + def __init__(self, bill_cycle=None, customer_id=None, service_type_code=None, resource_type_code=None, service_type_name=None, resource_type_name=None, region_code=None, enterprise_project_id=None, enterprise_project_name=None, charging_mode=None, consume_time=None, trade_time=None, provider_type=None, trade_id=None, id=None, bill_type=None, status=None, official_amount=None, official_discount_amount=None, erase_amount=None, consume_amount=None, cash_amount=None, credit_amount=None, coupon_amount=None, flexipurchase_coupon_amount=None, stored_value_card_amount=None, bonus_amount=None, debt_amount=None, writeoff_amount=None, region_name=None): """MonthlyBillRecord The model defined in huaweicloud sdk @@ -113,6 +115,8 @@ def __init__(self, bill_cycle=None, customer_id=None, service_type_code=None, re :type provider_type: int :param trade_id: 订单ID或交易ID,扣费维度的唯一标识。 :type trade_id: str + :param id: 唯一标识。 该字段为预留字段。 + :type id: str :param bill_type: 账单类型。 1:消费-新购2:消费-续订3:消费-变更4:退款-退订5:消费-使用8:消费-自动续订9:调账-补偿14:消费-服务支持计划月末扣费16:调账-扣费18:消费-按月付费20:退款-变更23:消费-节省计划抵扣24:退款-包年/包月转按需 :type bill_type: int :param status: 支付状态。 1:已支付2:未结清3:未结算 @@ -161,6 +165,7 @@ def __init__(self, bill_cycle=None, customer_id=None, service_type_code=None, re self._trade_time = None self._provider_type = None self._trade_id = None + self._id = None self._bill_type = None self._status = None self._official_amount = None @@ -206,6 +211,8 @@ def __init__(self, bill_cycle=None, customer_id=None, service_type_code=None, re self.provider_type = provider_type if trade_id is not None: self.trade_id = trade_id + if id is not None: + self.id = id if bill_type is not None: self.bill_type = bill_type if status is not None: @@ -545,6 +552,28 @@ def trade_id(self, trade_id): """ self._trade_id = trade_id + @property + def id(self): + """Gets the id of this MonthlyBillRecord. + + 唯一标识。 该字段为预留字段。 + + :return: The id of this MonthlyBillRecord. + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this MonthlyBillRecord. + + 唯一标识。 该字段为预留字段。 + + :param id: The id of this MonthlyBillRecord. + :type id: str + """ + self._id = id + @property def bill_type(self): """Gets the bill_type of this MonthlyBillRecord. diff --git a/huaweicloud-sdk-bss/requirements.txt b/huaweicloud-sdk-bss/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-bss/requirements.txt +++ b/huaweicloud-sdk-bss/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-bss/setup.py b/huaweicloud-sdk-bss/setup.py index 8638ac74b1..d28f1baba1 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-bssintl/requirements.txt b/huaweicloud-sdk-bssintl/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-bssintl/requirements.txt +++ b/huaweicloud-sdk-bssintl/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-bssintl/setup.py b/huaweicloud-sdk-bssintl/setup.py index 5bf2755866..ec827c491a 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cae/requirements.txt b/huaweicloud-sdk-cae/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-cae/requirements.txt +++ b/huaweicloud-sdk-cae/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-cae/setup.py b/huaweicloud-sdk-cae/setup.py index 2cb9615891..00d18b5ef2 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-campusgo/requirements.txt b/huaweicloud-sdk-campusgo/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-campusgo/requirements.txt +++ b/huaweicloud-sdk-campusgo/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-campusgo/setup.py b/huaweicloud-sdk-campusgo/setup.py index b3529ee4b8..ad5ed713da 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cbh/requirements.txt b/huaweicloud-sdk-cbh/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-cbh/requirements.txt +++ b/huaweicloud-sdk-cbh/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-cbh/setup.py b/huaweicloud-sdk-cbh/setup.py index 35c119b653..7a32245706 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cbr/requirements.txt b/huaweicloud-sdk-cbr/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-cbr/requirements.txt +++ b/huaweicloud-sdk-cbr/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-cbr/setup.py b/huaweicloud-sdk-cbr/setup.py index f0e997482b..7b115c81dd 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cbs/requirements.txt b/huaweicloud-sdk-cbs/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-cbs/requirements.txt +++ b/huaweicloud-sdk-cbs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-cbs/setup.py b/huaweicloud-sdk-cbs/setup.py index ea436a1810..3bbe255274 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cc/requirements.txt b/huaweicloud-sdk-cc/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-cc/requirements.txt +++ b/huaweicloud-sdk-cc/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-cc/setup.py b/huaweicloud-sdk-cc/setup.py index 71ccf5b088..a4e1be727b 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/__init__.py b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/__init__.py index ca1525ee3e..58d85b9991 100644 --- a/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/__init__.py +++ b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/__init__.py @@ -46,6 +46,9 @@ from huaweicloudsdkcce.v3.model.batch_create_cluster_tags_request import BatchCreateClusterTagsRequest from huaweicloudsdkcce.v3.model.batch_create_cluster_tags_request_body import BatchCreateClusterTagsRequestBody from huaweicloudsdkcce.v3.model.batch_create_cluster_tags_response import BatchCreateClusterTagsResponse +from huaweicloudsdkcce.v3.model.batch_create_delete_resource_tags import BatchCreateDeleteResourceTags +from huaweicloudsdkcce.v3.model.batch_create_delete_resource_tags_request import BatchCreateDeleteResourceTagsRequest +from huaweicloudsdkcce.v3.model.batch_create_delete_resource_tags_response import BatchCreateDeleteResourceTagsResponse from huaweicloudsdkcce.v3.model.batch_delete_autopilot_cluster_tags_request import BatchDeleteAutopilotClusterTagsRequest from huaweicloudsdkcce.v3.model.batch_delete_autopilot_cluster_tags_response import BatchDeleteAutopilotClusterTagsResponse from huaweicloudsdkcce.v3.model.batch_delete_cluster_tags_request import BatchDeleteClusterTagsRequest @@ -269,6 +272,7 @@ from huaweicloudsdkcce.v3.model.node_pool_spec_update import NodePoolSpecUpdate from huaweicloudsdkcce.v3.model.node_pool_status import NodePoolStatus from huaweicloudsdkcce.v3.model.node_pool_update import NodePoolUpdate +from huaweicloudsdkcce.v3.model.node_pool_upgrade_spec import NodePoolUpgradeSpec from huaweicloudsdkcce.v3.model.node_priority import NodePriority from huaweicloudsdkcce.v3.model.node_public_ip import NodePublicIP from huaweicloudsdkcce.v3.model.node_risks import NodeRisks @@ -277,6 +281,13 @@ from huaweicloudsdkcce.v3.model.node_spec_update import NodeSpecUpdate from huaweicloudsdkcce.v3.model.node_stage_status import NodeStageStatus from huaweicloudsdkcce.v3.model.node_status import NodeStatus +from huaweicloudsdkcce.v3.model.node_template import NodeTemplate +from huaweicloudsdkcce.v3.model.node_template_extend_param import NodeTemplateExtendParam +from huaweicloudsdkcce.v3.model.node_template_life_cycle import NodeTemplateLifeCycle +from huaweicloudsdkcce.v3.model.node_template_login import NodeTemplateLogin +from huaweicloudsdkcce.v3.model.node_template_login_user_password import NodeTemplateLoginUserPassword +from huaweicloudsdkcce.v3.model.node_template_runtime_config import NodeTemplateRuntimeConfig +from huaweicloudsdkcce.v3.model.node_template_runtime_config_runtime import NodeTemplateRuntimeConfigRuntime from huaweicloudsdkcce.v3.model.open_api_spec import OpenAPISpec from huaweicloudsdkcce.v3.model.open_api_spec_spec import OpenAPISpecSpec from huaweicloudsdkcce.v3.model.package_configuration import PackageConfiguration @@ -323,6 +334,7 @@ from huaweicloudsdkcce.v3.model.remove_node_response import RemoveNodeResponse from huaweicloudsdkcce.v3.model.remove_nodes_spec import RemoveNodesSpec from huaweicloudsdkcce.v3.model.remove_nodes_task import RemoveNodesTask +from huaweicloudsdkcce.v3.model.res_instance_body import ResInstanceBody from huaweicloudsdkcce.v3.model.reset_node import ResetNode from huaweicloudsdkcce.v3.model.reset_node_list import ResetNodeList from huaweicloudsdkcce.v3.model.reset_node_request import ResetNodeRequest @@ -335,6 +347,7 @@ from huaweicloudsdkcce.v3.model.resource_requirements import ResourceRequirements from huaweicloudsdkcce.v3.model.resource_selector import ResourceSelector from huaweicloudsdkcce.v3.model.resource_tag import ResourceTag +from huaweicloudsdkcce.v3.model.resource_tag_body import ResourceTagBody from huaweicloudsdkcce.v3.model.retry_autopilot_upgrade_cluster_task_request import RetryAutopilotUpgradeClusterTaskRequest from huaweicloudsdkcce.v3.model.retry_autopilot_upgrade_cluster_task_response import RetryAutopilotUpgradeClusterTaskResponse from huaweicloudsdkcce.v3.model.retry_upgrade_cluster_task_request import RetryUpgradeClusterTaskRequest @@ -398,8 +411,12 @@ from huaweicloudsdkcce.v3.model.show_cluster_endpoints_response import ShowClusterEndpointsResponse from huaweicloudsdkcce.v3.model.show_cluster_request import ShowClusterRequest from huaweicloudsdkcce.v3.model.show_cluster_response import ShowClusterResponse +from huaweicloudsdkcce.v3.model.show_cluster_support_configuration_request import ShowClusterSupportConfigurationRequest +from huaweicloudsdkcce.v3.model.show_cluster_support_configuration_response import ShowClusterSupportConfigurationResponse from huaweicloudsdkcce.v3.model.show_cluster_upgrade_info_request import ShowClusterUpgradeInfoRequest from huaweicloudsdkcce.v3.model.show_cluster_upgrade_info_response import ShowClusterUpgradeInfoResponse +from huaweicloudsdkcce.v3.model.show_customize_cluster_tags_by_project_id_request import ShowCustomizeClusterTagsByProjectIdRequest +from huaweicloudsdkcce.v3.model.show_customize_cluster_tags_by_project_id_response import ShowCustomizeClusterTagsByProjectIdResponse from huaweicloudsdkcce.v3.model.show_job_request import ShowJobRequest from huaweicloudsdkcce.v3.model.show_job_response import ShowJobResponse from huaweicloudsdkcce.v3.model.show_node_pool_configuration_details_request import ShowNodePoolConfigurationDetailsRequest @@ -420,6 +437,11 @@ from huaweicloudsdkcce.v3.model.show_release_history_response import ShowReleaseHistoryResponse from huaweicloudsdkcce.v3.model.show_release_request import ShowReleaseRequest from huaweicloudsdkcce.v3.model.show_release_response import ShowReleaseResponse +from huaweicloudsdkcce.v3.model.show_resource_instances import ShowResourceInstances +from huaweicloudsdkcce.v3.model.show_resource_instances_request import ShowResourceInstancesRequest +from huaweicloudsdkcce.v3.model.show_resource_instances_response import ShowResourceInstancesResponse +from huaweicloudsdkcce.v3.model.show_resource_tags_request import ShowResourceTagsRequest +from huaweicloudsdkcce.v3.model.show_resource_tags_response import ShowResourceTagsResponse from huaweicloudsdkcce.v3.model.show_upgrade_cluster_task_request import ShowUpgradeClusterTaskRequest from huaweicloudsdkcce.v3.model.show_upgrade_cluster_task_response import ShowUpgradeClusterTaskResponse from huaweicloudsdkcce.v3.model.show_upgrade_work_flow_request import ShowUpgradeWorkFlowRequest @@ -441,6 +463,10 @@ from huaweicloudsdkcce.v3.model.storage_selectors import StorageSelectors from huaweicloudsdkcce.v3.model.storage_selectors_match_labels import StorageSelectorsMatchLabels from huaweicloudsdkcce.v3.model.support_versions import SupportVersions +from huaweicloudsdkcce.v3.model.sync_node_pool_request import SyncNodePoolRequest +from huaweicloudsdkcce.v3.model.sync_node_pool_resp import SyncNodePoolResp +from huaweicloudsdkcce.v3.model.sync_node_pool_response import SyncNodePoolResponse +from huaweicloudsdkcce.v3.model.tag_filter import TagFilter from huaweicloudsdkcce.v3.model.taint import Taint from huaweicloudsdkcce.v3.model.task_status import TaskStatus from huaweicloudsdkcce.v3.model.task_type import TaskType @@ -452,6 +478,8 @@ from huaweicloudsdkcce.v3.model.update_autopilot_chart_request import UpdateAutopilotChartRequest from huaweicloudsdkcce.v3.model.update_autopilot_chart_request_body import UpdateAutopilotChartRequestBody from huaweicloudsdkcce.v3.model.update_autopilot_chart_response import UpdateAutopilotChartResponse +from huaweicloudsdkcce.v3.model.update_autopilot_cluster_eip_request import UpdateAutopilotClusterEipRequest +from huaweicloudsdkcce.v3.model.update_autopilot_cluster_eip_response import UpdateAutopilotClusterEipResponse from huaweicloudsdkcce.v3.model.update_autopilot_cluster_request import UpdateAutopilotClusterRequest from huaweicloudsdkcce.v3.model.update_autopilot_cluster_response import UpdateAutopilotClusterResponse from huaweicloudsdkcce.v3.model.update_autopilot_release_request import UpdateAutopilotReleaseRequest @@ -491,6 +519,9 @@ from huaweicloudsdkcce.v3.model.upgrade_feature_gates import UpgradeFeatureGates from huaweicloudsdkcce.v3.model.upgrade_info_spec import UpgradeInfoSpec from huaweicloudsdkcce.v3.model.upgrade_info_status import UpgradeInfoStatus +from huaweicloudsdkcce.v3.model.upgrade_node_pool import UpgradeNodePool +from huaweicloudsdkcce.v3.model.upgrade_node_pool_request import UpgradeNodePoolRequest +from huaweicloudsdkcce.v3.model.upgrade_node_pool_response import UpgradeNodePoolResponse from huaweicloudsdkcce.v3.model.upgrade_path import UpgradePath from huaweicloudsdkcce.v3.model.upgrade_response_spec import UpgradeResponseSpec from huaweicloudsdkcce.v3.model.upgrade_spec import UpgradeSpec diff --git a/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/cce_async_client.py b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/cce_async_client.py index ef8070c238..9dea2ae8a8 100644 --- a/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/cce_async_client.py +++ b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/cce_async_client.py @@ -239,6 +239,75 @@ def _batch_create_cluster_tags_http_info(self, request): return http_info + def batch_create_delete_resource_tags_async(self, request): + """绑定、删除资源标签,创建集群时供EPS调用;EPS页面迁移集群企业项目时调用 + + 该API用于绑定、删除资源标签,创建集群时供EPS调用;EPS页面迁移集群企业项目时调用 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for BatchCreateDeleteResourceTags + :type request: :class:`huaweicloudsdkcce.v3.BatchCreateDeleteResourceTagsRequest` + :rtype: :class:`huaweicloudsdkcce.v3.BatchCreateDeleteResourceTagsResponse` + """ + http_info = self._batch_create_delete_resource_tags_http_info(request) + return self._call_api(**http_info) + + def batch_create_delete_resource_tags_async_invoker(self, request): + http_info = self._batch_create_delete_resource_tags_http_info(request) + return AsyncInvoker(self, http_info) + + def _batch_create_delete_resource_tags_http_info(self, request): + http_info = { + "method": "POST", + "resource_path": "/cce/v1/{project_id}/{resource_type}/{resource_id}/tags/action", + "request_type": request.__class__.__name__, + "response_type": "BatchCreateDeleteResourceTagsResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'resource_type' in local_var_params: + path_params['resource_type'] = local_var_params['resource_type'] + if 'resource_id' in local_var_params: + path_params['resource_id'] = local_var_params['resource_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 = [] + + 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 batch_delete_cluster_tags_async(self, request): """批量删除指定集群的资源标签 @@ -3755,6 +3824,77 @@ def _show_cluster_endpoints_http_info(self, request): return http_info + def show_cluster_support_configuration_async(self, request): + """根据集群版本类型等查询集群支持的详细配置项,用于集群创建时指定 + + 该API用于根据集群版本类型等查询集群支持的详细配置项,用于集群创建时指定。 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for ShowClusterSupportConfiguration + :type request: :class:`huaweicloudsdkcce.v3.ShowClusterSupportConfigurationRequest` + :rtype: :class:`huaweicloudsdkcce.v3.ShowClusterSupportConfigurationResponse` + """ + http_info = self._show_cluster_support_configuration_http_info(request) + return self._call_api(**http_info) + + def show_cluster_support_configuration_async_invoker(self, request): + http_info = self._show_cluster_support_configuration_http_info(request) + return AsyncInvoker(self, http_info) + + def _show_cluster_support_configuration_http_info(self, request): + http_info = { + "method": "GET", + "resource_path": "/api/v3/clusters/configuration/detail", + "request_type": request.__class__.__name__, + "response_type": "ShowClusterSupportConfigurationResponse" + } + + 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 'cluster_type' in local_var_params: + path_params['cluster_type'] = local_var_params['cluster_type'] + if 'cluster_version' in local_var_params: + path_params['cluster_version'] = local_var_params['cluster_version'] + if 'network_mode' in local_var_params: + path_params['network_mode'] = local_var_params['network_mode'] + + 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 = [] + + 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_cluster_upgrade_info_async(self, request): """获取集群升级相关信息 @@ -3820,6 +3960,71 @@ def _show_cluster_upgrade_info_http_info(self, request): return http_info + def show_customize_cluster_tags_by_project_id_async(self, request): + """查询集群的标签 + + 该API用于查询集群的标签 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for ShowCustomizeClusterTagsByProjectId + :type request: :class:`huaweicloudsdkcce.v3.ShowCustomizeClusterTagsByProjectIdRequest` + :rtype: :class:`huaweicloudsdkcce.v3.ShowCustomizeClusterTagsByProjectIdResponse` + """ + http_info = self._show_customize_cluster_tags_by_project_id_http_info(request) + return self._call_api(**http_info) + + def show_customize_cluster_tags_by_project_id_async_invoker(self, request): + http_info = self._show_customize_cluster_tags_by_project_id_http_info(request) + return AsyncInvoker(self, http_info) + + def _show_customize_cluster_tags_by_project_id_http_info(self, request): + http_info = { + "method": "GET", + "resource_path": "/cce/v1/{project_id}/{resource_type}/tags", + "request_type": request.__class__.__name__, + "response_type": "ShowCustomizeClusterTagsByProjectIdResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'resource_type' in local_var_params: + path_params['resource_type'] = local_var_params['resource_type'] + + 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 = [] + + 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_job_async(self, request): """获取任务信息 @@ -4494,6 +4699,140 @@ def _show_release_history_http_info(self, request): return http_info + def show_resource_instances_async(self, request): + """查询资源实例,EPS页面查询CCE集群资源时调用 + + 该API用于查询资源实例,EPS页面查询CCE集群资源时调用。 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for ShowResourceInstances + :type request: :class:`huaweicloudsdkcce.v3.ShowResourceInstancesRequest` + :rtype: :class:`huaweicloudsdkcce.v3.ShowResourceInstancesResponse` + """ + http_info = self._show_resource_instances_http_info(request) + return self._call_api(**http_info) + + def show_resource_instances_async_invoker(self, request): + http_info = self._show_resource_instances_http_info(request) + return AsyncInvoker(self, http_info) + + def _show_resource_instances_http_info(self, request): + http_info = { + "method": "POST", + "resource_path": "/cce/v1/{project_id}/{resource_type}/resource_instances/action", + "request_type": request.__class__.__name__, + "response_type": "ShowResourceInstancesResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'resource_type' in local_var_params: + path_params['resource_type'] = local_var_params['resource_type'] + + 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 = [] + + 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_resource_tags_async(self, request): + """查询资源标签(用于企业项目场景,企业项目是一种系统标签) + + 该API用于查询资源标签(用于企业项目场景,企业项目是一种系统标签) + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for ShowResourceTags + :type request: :class:`huaweicloudsdkcce.v3.ShowResourceTagsRequest` + :rtype: :class:`huaweicloudsdkcce.v3.ShowResourceTagsResponse` + """ + http_info = self._show_resource_tags_http_info(request) + return self._call_api(**http_info) + + def show_resource_tags_async_invoker(self, request): + http_info = self._show_resource_tags_http_info(request) + return AsyncInvoker(self, http_info) + + def _show_resource_tags_http_info(self, request): + http_info = { + "method": "GET", + "resource_path": "/cce/v1/{project_id}/{resource_type}/{resource_id}/tags", + "request_type": request.__class__.__name__, + "response_type": "ShowResourceTagsResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'resource_type' in local_var_params: + path_params['resource_type'] = local_var_params['resource_type'] + if 'resource_id' in local_var_params: + path_params['resource_id'] = local_var_params['resource_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 = [] + + 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_upgrade_cluster_task_async(self, request): """获取集群升级任务详情 @@ -4693,6 +5032,73 @@ def _show_user_charts_quotas_http_info(self, request): return http_info + def sync_node_pool_async(self, request): + """同步nodePool配置到存量节点 + + 该API用于同步nodePool配置到存量节点。 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for SyncNodePool + :type request: :class:`huaweicloudsdkcce.v3.SyncNodePoolRequest` + :rtype: :class:`huaweicloudsdkcce.v3.SyncNodePoolResponse` + """ + http_info = self._sync_node_pool_http_info(request) + return self._call_api(**http_info) + + def sync_node_pool_async_invoker(self, request): + http_info = self._sync_node_pool_http_info(request) + return AsyncInvoker(self, http_info) + + def _sync_node_pool_http_info(self, request): + http_info = { + "method": "PUT", + "resource_path": "/api/v3.1/projects/{project_id}/clusters/{cluster_id}/nodepool/{nodepool_id}/sync", + "request_type": request.__class__.__name__, + "response_type": "SyncNodePoolResponse" + } + + 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 'nodepool_id' in local_var_params: + path_params['nodepool_id'] = local_var_params['nodepool_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 = [] + + 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_addon_instance_async(self, request): """更新AddonInstance @@ -5457,6 +5863,75 @@ def _upgrade_cluster_http_info(self, request): return http_info + def upgrade_node_pool_async(self, request): + """节点池升级 + + 该API用于节点池升级。 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for UpgradeNodePool + :type request: :class:`huaweicloudsdkcce.v3.UpgradeNodePoolRequest` + :rtype: :class:`huaweicloudsdkcce.v3.UpgradeNodePoolResponse` + """ + http_info = self._upgrade_node_pool_http_info(request) + return self._call_api(**http_info) + + def upgrade_node_pool_async_invoker(self, request): + http_info = self._upgrade_node_pool_http_info(request) + return AsyncInvoker(self, http_info) + + def _upgrade_node_pool_http_info(self, request): + http_info = { + "method": "POST", + "resource_path": "/api/v3/projects/{project_id}/clusters/{cluster_id}/nodepools/{nodepool_id}/operation/upgrade", + "request_type": request.__class__.__name__, + "response_type": "UpgradeNodePoolResponse" + } + + 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 'nodepool_id' in local_var_params: + path_params['nodepool_id'] = local_var_params['nodepool_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 = [] + + 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 upgrade_work_flow_update_async(self, request): """更新指定集群升级引导任务状态 @@ -8666,6 +9141,74 @@ def _update_autopilot_cluster_http_info(self, request): return http_info + def update_autopilot_cluster_eip_async(self, request): + """绑定、解绑集群公网apiserver地址 + + 该API用于通过集群ID绑定、解绑集群公网apiserver地址 + >集群管理的URL格式为:https://Endpoint/uri。其中uri为资源路径,也即API访问的路径。 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for UpdateAutopilotClusterEip + :type request: :class:`huaweicloudsdkcce.v3.UpdateAutopilotClusterEipRequest` + :rtype: :class:`huaweicloudsdkcce.v3.UpdateAutopilotClusterEipResponse` + """ + http_info = self._update_autopilot_cluster_eip_http_info(request) + return self._call_api(**http_info) + + def update_autopilot_cluster_eip_async_invoker(self, request): + http_info = self._update_autopilot_cluster_eip_http_info(request) + return AsyncInvoker(self, http_info) + + def _update_autopilot_cluster_eip_http_info(self, request): + http_info = { + "method": "PUT", + "resource_path": "/autopilot/v3/projects/{project_id}/clusters/{cluster_id}/mastereip", + "request_type": request.__class__.__name__, + "response_type": "UpdateAutopilotClusterEipResponse" + } + + 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 = [] + + 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 = [] + + 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_autopilot_release_async(self, request): """更新指定模板实例 diff --git a/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/cce_client.py b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/cce_client.py index ae0facfe84..4f75bc2949 100644 --- a/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/cce_client.py +++ b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/cce_client.py @@ -239,6 +239,75 @@ def _batch_create_cluster_tags_http_info(cls, request): return http_info + def batch_create_delete_resource_tags(self, request): + """绑定、删除资源标签,创建集群时供EPS调用;EPS页面迁移集群企业项目时调用 + + 该API用于绑定、删除资源标签,创建集群时供EPS调用;EPS页面迁移集群企业项目时调用 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for BatchCreateDeleteResourceTags + :type request: :class:`huaweicloudsdkcce.v3.BatchCreateDeleteResourceTagsRequest` + :rtype: :class:`huaweicloudsdkcce.v3.BatchCreateDeleteResourceTagsResponse` + """ + http_info = self._batch_create_delete_resource_tags_http_info(request) + return self._call_api(**http_info) + + def batch_create_delete_resource_tags_invoker(self, request): + http_info = self._batch_create_delete_resource_tags_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _batch_create_delete_resource_tags_http_info(cls, request): + http_info = { + "method": "POST", + "resource_path": "/cce/v1/{project_id}/{resource_type}/{resource_id}/tags/action", + "request_type": request.__class__.__name__, + "response_type": "BatchCreateDeleteResourceTagsResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'resource_type' in local_var_params: + path_params['resource_type'] = local_var_params['resource_type'] + if 'resource_id' in local_var_params: + path_params['resource_id'] = local_var_params['resource_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 = [] + + 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 batch_delete_cluster_tags(self, request): """批量删除指定集群的资源标签 @@ -3755,6 +3824,77 @@ def _show_cluster_endpoints_http_info(cls, request): return http_info + def show_cluster_support_configuration(self, request): + """根据集群版本类型等查询集群支持的详细配置项,用于集群创建时指定 + + 该API用于根据集群版本类型等查询集群支持的详细配置项,用于集群创建时指定。 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for ShowClusterSupportConfiguration + :type request: :class:`huaweicloudsdkcce.v3.ShowClusterSupportConfigurationRequest` + :rtype: :class:`huaweicloudsdkcce.v3.ShowClusterSupportConfigurationResponse` + """ + http_info = self._show_cluster_support_configuration_http_info(request) + return self._call_api(**http_info) + + def show_cluster_support_configuration_invoker(self, request): + http_info = self._show_cluster_support_configuration_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _show_cluster_support_configuration_http_info(cls, request): + http_info = { + "method": "GET", + "resource_path": "/api/v3/clusters/configuration/detail", + "request_type": request.__class__.__name__, + "response_type": "ShowClusterSupportConfigurationResponse" + } + + 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 'cluster_type' in local_var_params: + path_params['cluster_type'] = local_var_params['cluster_type'] + if 'cluster_version' in local_var_params: + path_params['cluster_version'] = local_var_params['cluster_version'] + if 'network_mode' in local_var_params: + path_params['network_mode'] = local_var_params['network_mode'] + + 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 = [] + + 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_cluster_upgrade_info(self, request): """获取集群升级相关信息 @@ -3820,6 +3960,71 @@ def _show_cluster_upgrade_info_http_info(cls, request): return http_info + def show_customize_cluster_tags_by_project_id(self, request): + """查询集群的标签 + + 该API用于查询集群的标签 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for ShowCustomizeClusterTagsByProjectId + :type request: :class:`huaweicloudsdkcce.v3.ShowCustomizeClusterTagsByProjectIdRequest` + :rtype: :class:`huaweicloudsdkcce.v3.ShowCustomizeClusterTagsByProjectIdResponse` + """ + http_info = self._show_customize_cluster_tags_by_project_id_http_info(request) + return self._call_api(**http_info) + + def show_customize_cluster_tags_by_project_id_invoker(self, request): + http_info = self._show_customize_cluster_tags_by_project_id_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _show_customize_cluster_tags_by_project_id_http_info(cls, request): + http_info = { + "method": "GET", + "resource_path": "/cce/v1/{project_id}/{resource_type}/tags", + "request_type": request.__class__.__name__, + "response_type": "ShowCustomizeClusterTagsByProjectIdResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'resource_type' in local_var_params: + path_params['resource_type'] = local_var_params['resource_type'] + + 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 = [] + + 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_job(self, request): """获取任务信息 @@ -4494,6 +4699,140 @@ def _show_release_history_http_info(cls, request): return http_info + def show_resource_instances(self, request): + """查询资源实例,EPS页面查询CCE集群资源时调用 + + 该API用于查询资源实例,EPS页面查询CCE集群资源时调用。 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for ShowResourceInstances + :type request: :class:`huaweicloudsdkcce.v3.ShowResourceInstancesRequest` + :rtype: :class:`huaweicloudsdkcce.v3.ShowResourceInstancesResponse` + """ + http_info = self._show_resource_instances_http_info(request) + return self._call_api(**http_info) + + def show_resource_instances_invoker(self, request): + http_info = self._show_resource_instances_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _show_resource_instances_http_info(cls, request): + http_info = { + "method": "POST", + "resource_path": "/cce/v1/{project_id}/{resource_type}/resource_instances/action", + "request_type": request.__class__.__name__, + "response_type": "ShowResourceInstancesResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'resource_type' in local_var_params: + path_params['resource_type'] = local_var_params['resource_type'] + + 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 = [] + + 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_resource_tags(self, request): + """查询资源标签(用于企业项目场景,企业项目是一种系统标签) + + 该API用于查询资源标签(用于企业项目场景,企业项目是一种系统标签) + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for ShowResourceTags + :type request: :class:`huaweicloudsdkcce.v3.ShowResourceTagsRequest` + :rtype: :class:`huaweicloudsdkcce.v3.ShowResourceTagsResponse` + """ + http_info = self._show_resource_tags_http_info(request) + return self._call_api(**http_info) + + def show_resource_tags_invoker(self, request): + http_info = self._show_resource_tags_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _show_resource_tags_http_info(cls, request): + http_info = { + "method": "GET", + "resource_path": "/cce/v1/{project_id}/{resource_type}/{resource_id}/tags", + "request_type": request.__class__.__name__, + "response_type": "ShowResourceTagsResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'resource_type' in local_var_params: + path_params['resource_type'] = local_var_params['resource_type'] + if 'resource_id' in local_var_params: + path_params['resource_id'] = local_var_params['resource_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 = [] + + 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_upgrade_cluster_task(self, request): """获取集群升级任务详情 @@ -4693,6 +5032,73 @@ def _show_user_charts_quotas_http_info(cls, request): return http_info + def sync_node_pool(self, request): + """同步nodePool配置到存量节点 + + 该API用于同步nodePool配置到存量节点。 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for SyncNodePool + :type request: :class:`huaweicloudsdkcce.v3.SyncNodePoolRequest` + :rtype: :class:`huaweicloudsdkcce.v3.SyncNodePoolResponse` + """ + http_info = self._sync_node_pool_http_info(request) + return self._call_api(**http_info) + + def sync_node_pool_invoker(self, request): + http_info = self._sync_node_pool_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _sync_node_pool_http_info(cls, request): + http_info = { + "method": "PUT", + "resource_path": "/api/v3.1/projects/{project_id}/clusters/{cluster_id}/nodepool/{nodepool_id}/sync", + "request_type": request.__class__.__name__, + "response_type": "SyncNodePoolResponse" + } + + 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 'nodepool_id' in local_var_params: + path_params['nodepool_id'] = local_var_params['nodepool_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 = [] + + 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_addon_instance(self, request): """更新AddonInstance @@ -5457,6 +5863,75 @@ def _upgrade_cluster_http_info(cls, request): return http_info + def upgrade_node_pool(self, request): + """节点池升级 + + 该API用于节点池升级。 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for UpgradeNodePool + :type request: :class:`huaweicloudsdkcce.v3.UpgradeNodePoolRequest` + :rtype: :class:`huaweicloudsdkcce.v3.UpgradeNodePoolResponse` + """ + http_info = self._upgrade_node_pool_http_info(request) + return self._call_api(**http_info) + + def upgrade_node_pool_invoker(self, request): + http_info = self._upgrade_node_pool_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _upgrade_node_pool_http_info(cls, request): + http_info = { + "method": "POST", + "resource_path": "/api/v3/projects/{project_id}/clusters/{cluster_id}/nodepools/{nodepool_id}/operation/upgrade", + "request_type": request.__class__.__name__, + "response_type": "UpgradeNodePoolResponse" + } + + 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 'nodepool_id' in local_var_params: + path_params['nodepool_id'] = local_var_params['nodepool_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 = [] + + 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 upgrade_work_flow_update(self, request): """更新指定集群升级引导任务状态 @@ -8666,6 +9141,74 @@ def _update_autopilot_cluster_http_info(cls, request): return http_info + def update_autopilot_cluster_eip(self, request): + """绑定、解绑集群公网apiserver地址 + + 该API用于通过集群ID绑定、解绑集群公网apiserver地址 + >集群管理的URL格式为:https://Endpoint/uri。其中uri为资源路径,也即API访问的路径。 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for UpdateAutopilotClusterEip + :type request: :class:`huaweicloudsdkcce.v3.UpdateAutopilotClusterEipRequest` + :rtype: :class:`huaweicloudsdkcce.v3.UpdateAutopilotClusterEipResponse` + """ + http_info = self._update_autopilot_cluster_eip_http_info(request) + return self._call_api(**http_info) + + def update_autopilot_cluster_eip_invoker(self, request): + http_info = self._update_autopilot_cluster_eip_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _update_autopilot_cluster_eip_http_info(cls, request): + http_info = { + "method": "PUT", + "resource_path": "/autopilot/v3/projects/{project_id}/clusters/{cluster_id}/mastereip", + "request_type": request.__class__.__name__, + "response_type": "UpdateAutopilotClusterEipResponse" + } + + 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 = [] + + 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 = [] + + 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_autopilot_release(self, request): """更新指定模板实例 diff --git a/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/__init__.py b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/__init__.py index febe4cd97a..0e10253d44 100644 --- a/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/__init__.py +++ b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/__init__.py @@ -44,6 +44,9 @@ from huaweicloudsdkcce.v3.model.batch_create_cluster_tags_request import BatchCreateClusterTagsRequest from huaweicloudsdkcce.v3.model.batch_create_cluster_tags_request_body import BatchCreateClusterTagsRequestBody from huaweicloudsdkcce.v3.model.batch_create_cluster_tags_response import BatchCreateClusterTagsResponse +from huaweicloudsdkcce.v3.model.batch_create_delete_resource_tags import BatchCreateDeleteResourceTags +from huaweicloudsdkcce.v3.model.batch_create_delete_resource_tags_request import BatchCreateDeleteResourceTagsRequest +from huaweicloudsdkcce.v3.model.batch_create_delete_resource_tags_response import BatchCreateDeleteResourceTagsResponse from huaweicloudsdkcce.v3.model.batch_delete_autopilot_cluster_tags_request import BatchDeleteAutopilotClusterTagsRequest from huaweicloudsdkcce.v3.model.batch_delete_autopilot_cluster_tags_response import BatchDeleteAutopilotClusterTagsResponse from huaweicloudsdkcce.v3.model.batch_delete_cluster_tags_request import BatchDeleteClusterTagsRequest @@ -267,6 +270,7 @@ from huaweicloudsdkcce.v3.model.node_pool_spec_update import NodePoolSpecUpdate from huaweicloudsdkcce.v3.model.node_pool_status import NodePoolStatus from huaweicloudsdkcce.v3.model.node_pool_update import NodePoolUpdate +from huaweicloudsdkcce.v3.model.node_pool_upgrade_spec import NodePoolUpgradeSpec from huaweicloudsdkcce.v3.model.node_priority import NodePriority from huaweicloudsdkcce.v3.model.node_public_ip import NodePublicIP from huaweicloudsdkcce.v3.model.node_risks import NodeRisks @@ -275,6 +279,13 @@ from huaweicloudsdkcce.v3.model.node_spec_update import NodeSpecUpdate from huaweicloudsdkcce.v3.model.node_stage_status import NodeStageStatus from huaweicloudsdkcce.v3.model.node_status import NodeStatus +from huaweicloudsdkcce.v3.model.node_template import NodeTemplate +from huaweicloudsdkcce.v3.model.node_template_extend_param import NodeTemplateExtendParam +from huaweicloudsdkcce.v3.model.node_template_life_cycle import NodeTemplateLifeCycle +from huaweicloudsdkcce.v3.model.node_template_login import NodeTemplateLogin +from huaweicloudsdkcce.v3.model.node_template_login_user_password import NodeTemplateLoginUserPassword +from huaweicloudsdkcce.v3.model.node_template_runtime_config import NodeTemplateRuntimeConfig +from huaweicloudsdkcce.v3.model.node_template_runtime_config_runtime import NodeTemplateRuntimeConfigRuntime from huaweicloudsdkcce.v3.model.open_api_spec import OpenAPISpec from huaweicloudsdkcce.v3.model.open_api_spec_spec import OpenAPISpecSpec from huaweicloudsdkcce.v3.model.package_configuration import PackageConfiguration @@ -321,6 +332,7 @@ from huaweicloudsdkcce.v3.model.remove_node_response import RemoveNodeResponse from huaweicloudsdkcce.v3.model.remove_nodes_spec import RemoveNodesSpec from huaweicloudsdkcce.v3.model.remove_nodes_task import RemoveNodesTask +from huaweicloudsdkcce.v3.model.res_instance_body import ResInstanceBody from huaweicloudsdkcce.v3.model.reset_node import ResetNode from huaweicloudsdkcce.v3.model.reset_node_list import ResetNodeList from huaweicloudsdkcce.v3.model.reset_node_request import ResetNodeRequest @@ -333,6 +345,7 @@ from huaweicloudsdkcce.v3.model.resource_requirements import ResourceRequirements from huaweicloudsdkcce.v3.model.resource_selector import ResourceSelector from huaweicloudsdkcce.v3.model.resource_tag import ResourceTag +from huaweicloudsdkcce.v3.model.resource_tag_body import ResourceTagBody from huaweicloudsdkcce.v3.model.retry_autopilot_upgrade_cluster_task_request import RetryAutopilotUpgradeClusterTaskRequest from huaweicloudsdkcce.v3.model.retry_autopilot_upgrade_cluster_task_response import RetryAutopilotUpgradeClusterTaskResponse from huaweicloudsdkcce.v3.model.retry_upgrade_cluster_task_request import RetryUpgradeClusterTaskRequest @@ -396,8 +409,12 @@ from huaweicloudsdkcce.v3.model.show_cluster_endpoints_response import ShowClusterEndpointsResponse from huaweicloudsdkcce.v3.model.show_cluster_request import ShowClusterRequest from huaweicloudsdkcce.v3.model.show_cluster_response import ShowClusterResponse +from huaweicloudsdkcce.v3.model.show_cluster_support_configuration_request import ShowClusterSupportConfigurationRequest +from huaweicloudsdkcce.v3.model.show_cluster_support_configuration_response import ShowClusterSupportConfigurationResponse from huaweicloudsdkcce.v3.model.show_cluster_upgrade_info_request import ShowClusterUpgradeInfoRequest from huaweicloudsdkcce.v3.model.show_cluster_upgrade_info_response import ShowClusterUpgradeInfoResponse +from huaweicloudsdkcce.v3.model.show_customize_cluster_tags_by_project_id_request import ShowCustomizeClusterTagsByProjectIdRequest +from huaweicloudsdkcce.v3.model.show_customize_cluster_tags_by_project_id_response import ShowCustomizeClusterTagsByProjectIdResponse from huaweicloudsdkcce.v3.model.show_job_request import ShowJobRequest from huaweicloudsdkcce.v3.model.show_job_response import ShowJobResponse from huaweicloudsdkcce.v3.model.show_node_pool_configuration_details_request import ShowNodePoolConfigurationDetailsRequest @@ -418,6 +435,11 @@ from huaweicloudsdkcce.v3.model.show_release_history_response import ShowReleaseHistoryResponse from huaweicloudsdkcce.v3.model.show_release_request import ShowReleaseRequest from huaweicloudsdkcce.v3.model.show_release_response import ShowReleaseResponse +from huaweicloudsdkcce.v3.model.show_resource_instances import ShowResourceInstances +from huaweicloudsdkcce.v3.model.show_resource_instances_request import ShowResourceInstancesRequest +from huaweicloudsdkcce.v3.model.show_resource_instances_response import ShowResourceInstancesResponse +from huaweicloudsdkcce.v3.model.show_resource_tags_request import ShowResourceTagsRequest +from huaweicloudsdkcce.v3.model.show_resource_tags_response import ShowResourceTagsResponse from huaweicloudsdkcce.v3.model.show_upgrade_cluster_task_request import ShowUpgradeClusterTaskRequest from huaweicloudsdkcce.v3.model.show_upgrade_cluster_task_response import ShowUpgradeClusterTaskResponse from huaweicloudsdkcce.v3.model.show_upgrade_work_flow_request import ShowUpgradeWorkFlowRequest @@ -439,6 +461,10 @@ from huaweicloudsdkcce.v3.model.storage_selectors import StorageSelectors from huaweicloudsdkcce.v3.model.storage_selectors_match_labels import StorageSelectorsMatchLabels from huaweicloudsdkcce.v3.model.support_versions import SupportVersions +from huaweicloudsdkcce.v3.model.sync_node_pool_request import SyncNodePoolRequest +from huaweicloudsdkcce.v3.model.sync_node_pool_resp import SyncNodePoolResp +from huaweicloudsdkcce.v3.model.sync_node_pool_response import SyncNodePoolResponse +from huaweicloudsdkcce.v3.model.tag_filter import TagFilter from huaweicloudsdkcce.v3.model.taint import Taint from huaweicloudsdkcce.v3.model.task_status import TaskStatus from huaweicloudsdkcce.v3.model.task_type import TaskType @@ -450,6 +476,8 @@ from huaweicloudsdkcce.v3.model.update_autopilot_chart_request import UpdateAutopilotChartRequest from huaweicloudsdkcce.v3.model.update_autopilot_chart_request_body import UpdateAutopilotChartRequestBody from huaweicloudsdkcce.v3.model.update_autopilot_chart_response import UpdateAutopilotChartResponse +from huaweicloudsdkcce.v3.model.update_autopilot_cluster_eip_request import UpdateAutopilotClusterEipRequest +from huaweicloudsdkcce.v3.model.update_autopilot_cluster_eip_response import UpdateAutopilotClusterEipResponse from huaweicloudsdkcce.v3.model.update_autopilot_cluster_request import UpdateAutopilotClusterRequest from huaweicloudsdkcce.v3.model.update_autopilot_cluster_response import UpdateAutopilotClusterResponse from huaweicloudsdkcce.v3.model.update_autopilot_release_request import UpdateAutopilotReleaseRequest @@ -489,6 +517,9 @@ from huaweicloudsdkcce.v3.model.upgrade_feature_gates import UpgradeFeatureGates from huaweicloudsdkcce.v3.model.upgrade_info_spec import UpgradeInfoSpec from huaweicloudsdkcce.v3.model.upgrade_info_status import UpgradeInfoStatus +from huaweicloudsdkcce.v3.model.upgrade_node_pool import UpgradeNodePool +from huaweicloudsdkcce.v3.model.upgrade_node_pool_request import UpgradeNodePoolRequest +from huaweicloudsdkcce.v3.model.upgrade_node_pool_response import UpgradeNodePoolResponse from huaweicloudsdkcce.v3.model.upgrade_path import UpgradePath from huaweicloudsdkcce.v3.model.upgrade_response_spec import UpgradeResponseSpec from huaweicloudsdkcce.v3.model.upgrade_spec import UpgradeSpec diff --git a/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/batch_create_delete_resource_tags.py b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/batch_create_delete_resource_tags.py new file mode 100644 index 0000000000..be2725b032 --- /dev/null +++ b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/batch_create_delete_resource_tags.py @@ -0,0 +1,172 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class BatchCreateDeleteResourceTags: + + """ + 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 = { + 'action': 'str', + 'tags': 'list[ResourceTagBody]', + 'sys_tags': 'list[ResourceTagBody]' + } + + attribute_map = { + 'action': 'action', + 'tags': 'tags', + 'sys_tags': 'sys_tags' + } + + def __init__(self, action=None, tags=None, sys_tags=None): + """BatchCreateDeleteResourceTags + + The model defined in huaweicloud sdk + + :param action: action类型,\"create\"或者\"delete\"。 + :type action: str + :param tags: 资源标签 + :type tags: list[:class:`huaweicloudsdkcce.v3.ResourceTagBody`] + :param sys_tags: 系统标签 + :type sys_tags: list[:class:`huaweicloudsdkcce.v3.ResourceTagBody`] + """ + + + + self._action = None + self._tags = None + self._sys_tags = None + self.discriminator = None + + self.action = action + if tags is not None: + self.tags = tags + if sys_tags is not None: + self.sys_tags = sys_tags + + @property + def action(self): + """Gets the action of this BatchCreateDeleteResourceTags. + + action类型,\"create\"或者\"delete\"。 + + :return: The action of this BatchCreateDeleteResourceTags. + :rtype: str + """ + return self._action + + @action.setter + def action(self, action): + """Sets the action of this BatchCreateDeleteResourceTags. + + action类型,\"create\"或者\"delete\"。 + + :param action: The action of this BatchCreateDeleteResourceTags. + :type action: str + """ + self._action = action + + @property + def tags(self): + """Gets the tags of this BatchCreateDeleteResourceTags. + + 资源标签 + + :return: The tags of this BatchCreateDeleteResourceTags. + :rtype: list[:class:`huaweicloudsdkcce.v3.ResourceTagBody`] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this BatchCreateDeleteResourceTags. + + 资源标签 + + :param tags: The tags of this BatchCreateDeleteResourceTags. + :type tags: list[:class:`huaweicloudsdkcce.v3.ResourceTagBody`] + """ + self._tags = tags + + @property + def sys_tags(self): + """Gets the sys_tags of this BatchCreateDeleteResourceTags. + + 系统标签 + + :return: The sys_tags of this BatchCreateDeleteResourceTags. + :rtype: list[:class:`huaweicloudsdkcce.v3.ResourceTagBody`] + """ + return self._sys_tags + + @sys_tags.setter + def sys_tags(self, sys_tags): + """Sets the sys_tags of this BatchCreateDeleteResourceTags. + + 系统标签 + + :param sys_tags: The sys_tags of this BatchCreateDeleteResourceTags. + :type sys_tags: list[:class:`huaweicloudsdkcce.v3.ResourceTagBody`] + """ + self._sys_tags = sys_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, BatchCreateDeleteResourceTags): + 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-cce/huaweicloudsdkcce/v3/model/batch_create_delete_resource_tags_request.py b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/batch_create_delete_resource_tags_request.py new file mode 100644 index 0000000000..1239b78b6e --- /dev/null +++ b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/batch_create_delete_resource_tags_request.py @@ -0,0 +1,167 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class BatchCreateDeleteResourceTagsRequest: + + """ + 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 = { + 'resource_type': 'str', + 'resource_id': 'str', + 'body': 'BatchCreateDeleteResourceTags' + } + + attribute_map = { + 'resource_type': 'resource_type', + 'resource_id': 'resource_id', + 'body': 'body' + } + + def __init__(self, resource_type=None, resource_id=None, body=None): + """BatchCreateDeleteResourceTagsRequest + + The model defined in huaweicloud sdk + + :param resource_type: 资源类型,获取方式请参见[如何获取接口URI中参数](cce_02_0271.xml)。 + :type resource_type: str + :param resource_id: 资源id,获取方式请参见[如何获取接口URI中参数](cce_02_0271.xml)。 + :type resource_id: str + :param body: Body of the BatchCreateDeleteResourceTagsRequest + :type body: :class:`huaweicloudsdkcce.v3.BatchCreateDeleteResourceTags` + """ + + + + self._resource_type = None + self._resource_id = None + self._body = None + self.discriminator = None + + self.resource_type = resource_type + self.resource_id = resource_id + if body is not None: + self.body = body + + @property + def resource_type(self): + """Gets the resource_type of this BatchCreateDeleteResourceTagsRequest. + + 资源类型,获取方式请参见[如何获取接口URI中参数](cce_02_0271.xml)。 + + :return: The resource_type of this BatchCreateDeleteResourceTagsRequest. + :rtype: str + """ + return self._resource_type + + @resource_type.setter + def resource_type(self, resource_type): + """Sets the resource_type of this BatchCreateDeleteResourceTagsRequest. + + 资源类型,获取方式请参见[如何获取接口URI中参数](cce_02_0271.xml)。 + + :param resource_type: The resource_type of this BatchCreateDeleteResourceTagsRequest. + :type resource_type: str + """ + self._resource_type = resource_type + + @property + def resource_id(self): + """Gets the resource_id of this BatchCreateDeleteResourceTagsRequest. + + 资源id,获取方式请参见[如何获取接口URI中参数](cce_02_0271.xml)。 + + :return: The resource_id of this BatchCreateDeleteResourceTagsRequest. + :rtype: str + """ + return self._resource_id + + @resource_id.setter + def resource_id(self, resource_id): + """Sets the resource_id of this BatchCreateDeleteResourceTagsRequest. + + 资源id,获取方式请参见[如何获取接口URI中参数](cce_02_0271.xml)。 + + :param resource_id: The resource_id of this BatchCreateDeleteResourceTagsRequest. + :type resource_id: str + """ + self._resource_id = resource_id + + @property + def body(self): + """Gets the body of this BatchCreateDeleteResourceTagsRequest. + + :return: The body of this BatchCreateDeleteResourceTagsRequest. + :rtype: :class:`huaweicloudsdkcce.v3.BatchCreateDeleteResourceTags` + """ + return self._body + + @body.setter + def body(self, body): + """Sets the body of this BatchCreateDeleteResourceTagsRequest. + + :param body: The body of this BatchCreateDeleteResourceTagsRequest. + :type body: :class:`huaweicloudsdkcce.v3.BatchCreateDeleteResourceTags` + """ + 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, BatchCreateDeleteResourceTagsRequest): + 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-cce/huaweicloudsdkcce/v3/model/batch_create_delete_resource_tags_response.py b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/batch_create_delete_resource_tags_response.py new file mode 100644 index 0000000000..dcf9f47de1 --- /dev/null +++ b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/batch_create_delete_resource_tags_response.py @@ -0,0 +1,85 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_response import SdkResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class BatchCreateDeleteResourceTagsResponse(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): + """BatchCreateDeleteResourceTagsResponse + + The model defined in huaweicloud sdk + + """ + + super(BatchCreateDeleteResourceTagsResponse, 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, BatchCreateDeleteResourceTagsResponse): + 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-cce/huaweicloudsdkcce/v3/model/node_pool_upgrade_spec.py b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/node_pool_upgrade_spec.py new file mode 100644 index 0000000000..ccbac8145d --- /dev/null +++ b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/node_pool_upgrade_spec.py @@ -0,0 +1,268 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class NodePoolUpgradeSpec: + + """ + 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 = { + 'node_pool_id': 'str', + 'node_i_ds': 'list[str]', + 'force': 'bool', + 'node_template': 'NodeTemplate', + 'max_unavailable': 'int', + 'retry_times': 'int', + 'skipped_nodes': 'list[str]' + } + + attribute_map = { + 'node_pool_id': 'nodePoolID', + 'node_i_ds': 'nodeIDs', + 'force': 'force', + 'node_template': 'nodeTemplate', + 'max_unavailable': 'maxUnavailable', + 'retry_times': 'retryTimes', + 'skipped_nodes': 'skippedNodes' + } + + def __init__(self, node_pool_id=None, node_i_ds=None, force=None, node_template=None, max_unavailable=None, retry_times=None, skipped_nodes=None): + """NodePoolUpgradeSpec + + The model defined in huaweicloud sdk + + :param node_pool_id: 节点池id。 + :type node_pool_id: str + :param node_i_ds: + :type node_i_ds: list[str] + :param force: Pod无法驱逐时,是否强制重置。 + :type force: bool + :param node_template: + :type node_template: :class:`huaweicloudsdkcce.v3.NodeTemplate` + :param max_unavailable: + :type max_unavailable: int + :param retry_times: + :type retry_times: int + :param skipped_nodes: + :type skipped_nodes: list[str] + """ + + + + self._node_pool_id = None + self._node_i_ds = None + self._force = None + self._node_template = None + self._max_unavailable = None + self._retry_times = None + self._skipped_nodes = None + self.discriminator = None + + self.node_pool_id = node_pool_id + if node_i_ds is not None: + self.node_i_ds = node_i_ds + if force is not None: + self.force = force + if node_template is not None: + self.node_template = node_template + if max_unavailable is not None: + self.max_unavailable = max_unavailable + if retry_times is not None: + self.retry_times = retry_times + if skipped_nodes is not None: + self.skipped_nodes = skipped_nodes + + @property + def node_pool_id(self): + """Gets the node_pool_id of this NodePoolUpgradeSpec. + + 节点池id。 + + :return: The node_pool_id of this NodePoolUpgradeSpec. + :rtype: str + """ + return self._node_pool_id + + @node_pool_id.setter + def node_pool_id(self, node_pool_id): + """Sets the node_pool_id of this NodePoolUpgradeSpec. + + 节点池id。 + + :param node_pool_id: The node_pool_id of this NodePoolUpgradeSpec. + :type node_pool_id: str + """ + self._node_pool_id = node_pool_id + + @property + def node_i_ds(self): + """Gets the node_i_ds of this NodePoolUpgradeSpec. + + :return: The node_i_ds of this NodePoolUpgradeSpec. + :rtype: list[str] + """ + return self._node_i_ds + + @node_i_ds.setter + def node_i_ds(self, node_i_ds): + """Sets the node_i_ds of this NodePoolUpgradeSpec. + + :param node_i_ds: The node_i_ds of this NodePoolUpgradeSpec. + :type node_i_ds: list[str] + """ + self._node_i_ds = node_i_ds + + @property + def force(self): + """Gets the force of this NodePoolUpgradeSpec. + + Pod无法驱逐时,是否强制重置。 + + :return: The force of this NodePoolUpgradeSpec. + :rtype: bool + """ + return self._force + + @force.setter + def force(self, force): + """Sets the force of this NodePoolUpgradeSpec. + + Pod无法驱逐时,是否强制重置。 + + :param force: The force of this NodePoolUpgradeSpec. + :type force: bool + """ + self._force = force + + @property + def node_template(self): + """Gets the node_template of this NodePoolUpgradeSpec. + + :return: The node_template of this NodePoolUpgradeSpec. + :rtype: :class:`huaweicloudsdkcce.v3.NodeTemplate` + """ + return self._node_template + + @node_template.setter + def node_template(self, node_template): + """Sets the node_template of this NodePoolUpgradeSpec. + + :param node_template: The node_template of this NodePoolUpgradeSpec. + :type node_template: :class:`huaweicloudsdkcce.v3.NodeTemplate` + """ + self._node_template = node_template + + @property + def max_unavailable(self): + """Gets the max_unavailable of this NodePoolUpgradeSpec. + + :return: The max_unavailable of this NodePoolUpgradeSpec. + :rtype: int + """ + return self._max_unavailable + + @max_unavailable.setter + def max_unavailable(self, max_unavailable): + """Sets the max_unavailable of this NodePoolUpgradeSpec. + + :param max_unavailable: The max_unavailable of this NodePoolUpgradeSpec. + :type max_unavailable: int + """ + self._max_unavailable = max_unavailable + + @property + def retry_times(self): + """Gets the retry_times of this NodePoolUpgradeSpec. + + :return: The retry_times of this NodePoolUpgradeSpec. + :rtype: int + """ + return self._retry_times + + @retry_times.setter + def retry_times(self, retry_times): + """Sets the retry_times of this NodePoolUpgradeSpec. + + :param retry_times: The retry_times of this NodePoolUpgradeSpec. + :type retry_times: int + """ + self._retry_times = retry_times + + @property + def skipped_nodes(self): + """Gets the skipped_nodes of this NodePoolUpgradeSpec. + + :return: The skipped_nodes of this NodePoolUpgradeSpec. + :rtype: list[str] + """ + return self._skipped_nodes + + @skipped_nodes.setter + def skipped_nodes(self, skipped_nodes): + """Sets the skipped_nodes of this NodePoolUpgradeSpec. + + :param skipped_nodes: The skipped_nodes of this NodePoolUpgradeSpec. + :type skipped_nodes: list[str] + """ + self._skipped_nodes = skipped_nodes + + 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, NodePoolUpgradeSpec): + 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-cce/huaweicloudsdkcce/v3/model/node_template.py b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/node_template.py new file mode 100644 index 0000000000..4c54112f7b --- /dev/null +++ b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/node_template.py @@ -0,0 +1,236 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class NodeTemplate: + + """ + 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 = { + 'os': 'str', + 'image_id': 'str', + 'login': 'NodeTemplateLogin', + 'life_cycle': 'NodeTemplateLifeCycle', + 'runtime_config': 'NodeTemplateRuntimeConfig', + 'extend_param': 'NodeTemplateExtendParam' + } + + attribute_map = { + 'os': 'os', + 'image_id': 'imageID', + 'login': 'login', + 'life_cycle': 'lifeCycle', + 'runtime_config': 'runtimeConfig', + 'extend_param': 'extendParam' + } + + def __init__(self, os=None, image_id=None, login=None, life_cycle=None, runtime_config=None, extend_param=None): + """NodeTemplate + + The model defined in huaweicloud sdk + + :param os: + :type os: str + :param image_id: + :type image_id: str + :param login: + :type login: :class:`huaweicloudsdkcce.v3.NodeTemplateLogin` + :param life_cycle: + :type life_cycle: :class:`huaweicloudsdkcce.v3.NodeTemplateLifeCycle` + :param runtime_config: + :type runtime_config: :class:`huaweicloudsdkcce.v3.NodeTemplateRuntimeConfig` + :param extend_param: + :type extend_param: :class:`huaweicloudsdkcce.v3.NodeTemplateExtendParam` + """ + + + + self._os = None + self._image_id = None + self._login = None + self._life_cycle = None + self._runtime_config = None + self._extend_param = None + self.discriminator = None + + if os is not None: + self.os = os + if image_id is not None: + self.image_id = image_id + if login is not None: + self.login = login + if life_cycle is not None: + self.life_cycle = life_cycle + if runtime_config is not None: + self.runtime_config = runtime_config + if extend_param is not None: + self.extend_param = extend_param + + @property + def os(self): + """Gets the os of this NodeTemplate. + + :return: The os of this NodeTemplate. + :rtype: str + """ + return self._os + + @os.setter + def os(self, os): + """Sets the os of this NodeTemplate. + + :param os: The os of this NodeTemplate. + :type os: str + """ + self._os = os + + @property + def image_id(self): + """Gets the image_id of this NodeTemplate. + + :return: The image_id of this NodeTemplate. + :rtype: str + """ + return self._image_id + + @image_id.setter + def image_id(self, image_id): + """Sets the image_id of this NodeTemplate. + + :param image_id: The image_id of this NodeTemplate. + :type image_id: str + """ + self._image_id = image_id + + @property + def login(self): + """Gets the login of this NodeTemplate. + + :return: The login of this NodeTemplate. + :rtype: :class:`huaweicloudsdkcce.v3.NodeTemplateLogin` + """ + return self._login + + @login.setter + def login(self, login): + """Sets the login of this NodeTemplate. + + :param login: The login of this NodeTemplate. + :type login: :class:`huaweicloudsdkcce.v3.NodeTemplateLogin` + """ + self._login = login + + @property + def life_cycle(self): + """Gets the life_cycle of this NodeTemplate. + + :return: The life_cycle of this NodeTemplate. + :rtype: :class:`huaweicloudsdkcce.v3.NodeTemplateLifeCycle` + """ + return self._life_cycle + + @life_cycle.setter + def life_cycle(self, life_cycle): + """Sets the life_cycle of this NodeTemplate. + + :param life_cycle: The life_cycle of this NodeTemplate. + :type life_cycle: :class:`huaweicloudsdkcce.v3.NodeTemplateLifeCycle` + """ + self._life_cycle = life_cycle + + @property + def runtime_config(self): + """Gets the runtime_config of this NodeTemplate. + + :return: The runtime_config of this NodeTemplate. + :rtype: :class:`huaweicloudsdkcce.v3.NodeTemplateRuntimeConfig` + """ + return self._runtime_config + + @runtime_config.setter + def runtime_config(self, runtime_config): + """Sets the runtime_config of this NodeTemplate. + + :param runtime_config: The runtime_config of this NodeTemplate. + :type runtime_config: :class:`huaweicloudsdkcce.v3.NodeTemplateRuntimeConfig` + """ + self._runtime_config = runtime_config + + @property + def extend_param(self): + """Gets the extend_param of this NodeTemplate. + + :return: The extend_param of this NodeTemplate. + :rtype: :class:`huaweicloudsdkcce.v3.NodeTemplateExtendParam` + """ + return self._extend_param + + @extend_param.setter + def extend_param(self, extend_param): + """Sets the extend_param of this NodeTemplate. + + :param extend_param: The extend_param of this NodeTemplate. + :type extend_param: :class:`huaweicloudsdkcce.v3.NodeTemplateExtendParam` + """ + self._extend_param = extend_param + + 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, NodeTemplate): + 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-secmaster/huaweicloudsdksecmaster/v2/model/show_alert_rsp_user_info.py b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/node_template_extend_param.py similarity index 65% rename from huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/show_alert_rsp_user_info.py rename to huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/node_template_extend_param.py index 062abd839e..cd5a12f8c5 100644 --- a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/show_alert_rsp_user_info.py +++ b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/node_template_extend_param.py @@ -5,7 +5,7 @@ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class ShowAlertRspUserInfo: +class NodeTemplateExtendParam: """ Attributes: @@ -17,81 +17,48 @@ class ShowAlertRspUserInfo: sensitive_list = [] openapi_types = { - 'user_id': 'str', - 'user_name': 'str' + 'user_id': 'str' } attribute_map = { - 'user_id': 'user_id', - 'user_name': 'user_name' + 'user_id': 'userID' } - def __init__(self, user_id=None, user_name=None): - """ShowAlertRspUserInfo + def __init__(self, user_id=None): + """NodeTemplateExtendParam The model defined in huaweicloud sdk - :param user_id: Id value + :param user_id: :type user_id: str - :param user_name: The name, display only - :type user_name: str """ self._user_id = None - self._user_name = None self.discriminator = None if user_id is not None: self.user_id = user_id - if user_name is not None: - self.user_name = user_name @property def user_id(self): - """Gets the user_id of this ShowAlertRspUserInfo. + """Gets the user_id of this NodeTemplateExtendParam. - Id value - - :return: The user_id of this ShowAlertRspUserInfo. + :return: The user_id of this NodeTemplateExtendParam. :rtype: str """ return self._user_id @user_id.setter def user_id(self, user_id): - """Sets the user_id of this ShowAlertRspUserInfo. - - Id value + """Sets the user_id of this NodeTemplateExtendParam. - :param user_id: The user_id of this ShowAlertRspUserInfo. + :param user_id: The user_id of this NodeTemplateExtendParam. :type user_id: str """ self._user_id = user_id - @property - def user_name(self): - """Gets the user_name of this ShowAlertRspUserInfo. - - The name, display only - - :return: The user_name of this ShowAlertRspUserInfo. - :rtype: str - """ - return self._user_name - - @user_name.setter - def user_name(self, user_name): - """Sets the user_name of this ShowAlertRspUserInfo. - - The name, display only - - :param user_name: The user_name of this ShowAlertRspUserInfo. - :type user_name: str - """ - self._user_name = user_name - def to_dict(self): """Returns the model properties as a dict""" result = {} @@ -134,7 +101,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, ShowAlertRspUserInfo): + if not isinstance(other, NodeTemplateExtendParam): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/node_template_life_cycle.py b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/node_template_life_cycle.py new file mode 100644 index 0000000000..0dab7d8600 --- /dev/null +++ b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/node_template_life_cycle.py @@ -0,0 +1,136 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class NodeTemplateLifeCycle: + + """ + 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 = { + 'pre_install': 'str', + 'post_install': 'str' + } + + attribute_map = { + 'pre_install': 'preInstall', + 'post_install': 'postInstall' + } + + def __init__(self, pre_install=None, post_install=None): + """NodeTemplateLifeCycle + + The model defined in huaweicloud sdk + + :param pre_install: + :type pre_install: str + :param post_install: + :type post_install: str + """ + + + + self._pre_install = None + self._post_install = None + self.discriminator = None + + if pre_install is not None: + self.pre_install = pre_install + if post_install is not None: + self.post_install = post_install + + @property + def pre_install(self): + """Gets the pre_install of this NodeTemplateLifeCycle. + + :return: The pre_install of this NodeTemplateLifeCycle. + :rtype: str + """ + return self._pre_install + + @pre_install.setter + def pre_install(self, pre_install): + """Sets the pre_install of this NodeTemplateLifeCycle. + + :param pre_install: The pre_install of this NodeTemplateLifeCycle. + :type pre_install: str + """ + self._pre_install = pre_install + + @property + def post_install(self): + """Gets the post_install of this NodeTemplateLifeCycle. + + :return: The post_install of this NodeTemplateLifeCycle. + :rtype: str + """ + return self._post_install + + @post_install.setter + def post_install(self, post_install): + """Sets the post_install of this NodeTemplateLifeCycle. + + :param post_install: The post_install of this NodeTemplateLifeCycle. + :type post_install: str + """ + self._post_install = post_install + + 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, NodeTemplateLifeCycle): + 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-cce/huaweicloudsdkcce/v3/model/node_template_login.py b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/node_template_login.py new file mode 100644 index 0000000000..7afc476d47 --- /dev/null +++ b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/node_template_login.py @@ -0,0 +1,136 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class NodeTemplateLogin: + + """ + 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 = { + 'ssh_key': 'str', + 'user_password': 'NodeTemplateLoginUserPassword' + } + + attribute_map = { + 'ssh_key': 'sshKey', + 'user_password': 'userPassword' + } + + def __init__(self, ssh_key=None, user_password=None): + """NodeTemplateLogin + + The model defined in huaweicloud sdk + + :param ssh_key: + :type ssh_key: str + :param user_password: + :type user_password: :class:`huaweicloudsdkcce.v3.NodeTemplateLoginUserPassword` + """ + + + + self._ssh_key = None + self._user_password = None + self.discriminator = None + + if ssh_key is not None: + self.ssh_key = ssh_key + if user_password is not None: + self.user_password = user_password + + @property + def ssh_key(self): + """Gets the ssh_key of this NodeTemplateLogin. + + :return: The ssh_key of this NodeTemplateLogin. + :rtype: str + """ + return self._ssh_key + + @ssh_key.setter + def ssh_key(self, ssh_key): + """Sets the ssh_key of this NodeTemplateLogin. + + :param ssh_key: The ssh_key of this NodeTemplateLogin. + :type ssh_key: str + """ + self._ssh_key = ssh_key + + @property + def user_password(self): + """Gets the user_password of this NodeTemplateLogin. + + :return: The user_password of this NodeTemplateLogin. + :rtype: :class:`huaweicloudsdkcce.v3.NodeTemplateLoginUserPassword` + """ + return self._user_password + + @user_password.setter + def user_password(self, user_password): + """Sets the user_password of this NodeTemplateLogin. + + :param user_password: The user_password of this NodeTemplateLogin. + :type user_password: :class:`huaweicloudsdkcce.v3.NodeTemplateLoginUserPassword` + """ + self._user_password = user_password + + 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, NodeTemplateLogin): + 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-cce/huaweicloudsdkcce/v3/model/node_template_login_user_password.py b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/node_template_login_user_password.py new file mode 100644 index 0000000000..f2bc7577d5 --- /dev/null +++ b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/node_template_login_user_password.py @@ -0,0 +1,136 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class NodeTemplateLoginUserPassword: + + """ + 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 = { + 'username': 'str', + 'password': 'str' + } + + attribute_map = { + 'username': 'username', + 'password': 'password' + } + + def __init__(self, username=None, password=None): + """NodeTemplateLoginUserPassword + + The model defined in huaweicloud sdk + + :param username: + :type username: str + :param password: + :type password: str + """ + + + + self._username = None + self._password = None + self.discriminator = None + + if username is not None: + self.username = username + if password is not None: + self.password = password + + @property + def username(self): + """Gets the username of this NodeTemplateLoginUserPassword. + + :return: The username of this NodeTemplateLoginUserPassword. + :rtype: str + """ + return self._username + + @username.setter + def username(self, username): + """Sets the username of this NodeTemplateLoginUserPassword. + + :param username: The username of this NodeTemplateLoginUserPassword. + :type username: str + """ + self._username = username + + @property + def password(self): + """Gets the password of this NodeTemplateLoginUserPassword. + + :return: The password of this NodeTemplateLoginUserPassword. + :rtype: str + """ + return self._password + + @password.setter + def password(self, password): + """Sets the password of this NodeTemplateLoginUserPassword. + + :param password: The password of this NodeTemplateLoginUserPassword. + :type password: str + """ + self._password = password + + 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, NodeTemplateLoginUserPassword): + 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-cce/huaweicloudsdkcce/v3/model/node_template_runtime_config.py b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/node_template_runtime_config.py new file mode 100644 index 0000000000..327d62604b --- /dev/null +++ b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/node_template_runtime_config.py @@ -0,0 +1,111 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class NodeTemplateRuntimeConfig: + + """ + 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 = { + 'runtime': 'NodeTemplateRuntimeConfigRuntime' + } + + attribute_map = { + 'runtime': 'runtime' + } + + def __init__(self, runtime=None): + """NodeTemplateRuntimeConfig + + The model defined in huaweicloud sdk + + :param runtime: + :type runtime: :class:`huaweicloudsdkcce.v3.NodeTemplateRuntimeConfigRuntime` + """ + + + + self._runtime = None + self.discriminator = None + + if runtime is not None: + self.runtime = runtime + + @property + def runtime(self): + """Gets the runtime of this NodeTemplateRuntimeConfig. + + :return: The runtime of this NodeTemplateRuntimeConfig. + :rtype: :class:`huaweicloudsdkcce.v3.NodeTemplateRuntimeConfigRuntime` + """ + return self._runtime + + @runtime.setter + def runtime(self, runtime): + """Sets the runtime of this NodeTemplateRuntimeConfig. + + :param runtime: The runtime of this NodeTemplateRuntimeConfig. + :type runtime: :class:`huaweicloudsdkcce.v3.NodeTemplateRuntimeConfigRuntime` + """ + self._runtime = runtime + + 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, NodeTemplateRuntimeConfig): + 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-secmaster/huaweicloudsdksecmaster/v2/model/show_alert_detail_dataclass_ref.py b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/node_template_runtime_config_runtime.py similarity index 68% rename from huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/show_alert_detail_dataclass_ref.py rename to huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/node_template_runtime_config_runtime.py index 609f0ddbaf..0b7e82c387 100644 --- a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/show_alert_detail_dataclass_ref.py +++ b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/node_template_runtime_config_runtime.py @@ -5,7 +5,7 @@ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class ShowAlertDetailDataclassRef: +class NodeTemplateRuntimeConfigRuntime: """ Attributes: @@ -17,77 +17,44 @@ class ShowAlertDetailDataclassRef: sensitive_list = [] openapi_types = { - 'id': 'str', 'name': 'str' } attribute_map = { - 'id': 'id', 'name': 'name' } - def __init__(self, id=None, name=None): - """ShowAlertDetailDataclassRef + def __init__(self, name=None): + """NodeTemplateRuntimeConfigRuntime The model defined in huaweicloud sdk - :param id: Id value - :type id: str - :param name: The name, display only + :param name: :type name: str """ - self._id = None self._name = None self.discriminator = None - 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 ShowAlertDetailDataclassRef. - - Id value - - :return: The id of this ShowAlertDetailDataclassRef. - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this ShowAlertDetailDataclassRef. - - Id value - - :param id: The id of this ShowAlertDetailDataclassRef. - :type id: str - """ - self._id = id - @property def name(self): - """Gets the name of this ShowAlertDetailDataclassRef. - - The name, display only + """Gets the name of this NodeTemplateRuntimeConfigRuntime. - :return: The name of this ShowAlertDetailDataclassRef. + :return: The name of this NodeTemplateRuntimeConfigRuntime. :rtype: str """ return self._name @name.setter def name(self, name): - """Sets the name of this ShowAlertDetailDataclassRef. - - The name, display only + """Sets the name of this NodeTemplateRuntimeConfigRuntime. - :param name: The name of this ShowAlertDetailDataclassRef. + :param name: The name of this NodeTemplateRuntimeConfigRuntime. :type name: str """ self._name = name @@ -134,7 +101,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, ShowAlertDetailDataclassRef): + if not isinstance(other, NodeTemplateRuntimeConfigRuntime): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/res_instance_body.py b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/res_instance_body.py new file mode 100644 index 0000000000..2580478307 --- /dev/null +++ b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/res_instance_body.py @@ -0,0 +1,231 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ResInstanceBody: + + """ + 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 = { + 'resource_id': 'str', + 'resource_detail': 'object', + 'tags': 'list[ResourceTagBody]', + 'sys_tags': 'list[ResourceTagBody]', + 'resource_name': 'str' + } + + attribute_map = { + 'resource_id': 'resource_id', + 'resource_detail': 'resource_detail', + 'tags': 'tags', + 'sys_tags': 'sys_tags', + 'resource_name': 'resource_name' + } + + def __init__(self, resource_id=None, resource_detail=None, tags=None, sys_tags=None, resource_name=None): + """ResInstanceBody + + The model defined in huaweicloud sdk + + :param resource_id: 资源id + :type resource_id: str + :param resource_detail: 资源详情 + :type resource_detail: object + :param tags: 资源标签 + :type tags: list[:class:`huaweicloudsdkcce.v3.ResourceTagBody`] + :param sys_tags: 系统标签 + :type sys_tags: list[:class:`huaweicloudsdkcce.v3.ResourceTagBody`] + :param resource_name: 资源名称 + :type resource_name: str + """ + + + + self._resource_id = None + self._resource_detail = None + self._tags = None + self._sys_tags = None + self._resource_name = None + self.discriminator = None + + if resource_id is not None: + self.resource_id = resource_id + if resource_detail is not None: + self.resource_detail = resource_detail + if tags is not None: + self.tags = tags + if sys_tags is not None: + self.sys_tags = sys_tags + if resource_name is not None: + self.resource_name = resource_name + + @property + def resource_id(self): + """Gets the resource_id of this ResInstanceBody. + + 资源id + + :return: The resource_id of this ResInstanceBody. + :rtype: str + """ + return self._resource_id + + @resource_id.setter + def resource_id(self, resource_id): + """Sets the resource_id of this ResInstanceBody. + + 资源id + + :param resource_id: The resource_id of this ResInstanceBody. + :type resource_id: str + """ + self._resource_id = resource_id + + @property + def resource_detail(self): + """Gets the resource_detail of this ResInstanceBody. + + 资源详情 + + :return: The resource_detail of this ResInstanceBody. + :rtype: object + """ + return self._resource_detail + + @resource_detail.setter + def resource_detail(self, resource_detail): + """Sets the resource_detail of this ResInstanceBody. + + 资源详情 + + :param resource_detail: The resource_detail of this ResInstanceBody. + :type resource_detail: object + """ + self._resource_detail = resource_detail + + @property + def tags(self): + """Gets the tags of this ResInstanceBody. + + 资源标签 + + :return: The tags of this ResInstanceBody. + :rtype: list[:class:`huaweicloudsdkcce.v3.ResourceTagBody`] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this ResInstanceBody. + + 资源标签 + + :param tags: The tags of this ResInstanceBody. + :type tags: list[:class:`huaweicloudsdkcce.v3.ResourceTagBody`] + """ + self._tags = tags + + @property + def sys_tags(self): + """Gets the sys_tags of this ResInstanceBody. + + 系统标签 + + :return: The sys_tags of this ResInstanceBody. + :rtype: list[:class:`huaweicloudsdkcce.v3.ResourceTagBody`] + """ + return self._sys_tags + + @sys_tags.setter + def sys_tags(self, sys_tags): + """Sets the sys_tags of this ResInstanceBody. + + 系统标签 + + :param sys_tags: The sys_tags of this ResInstanceBody. + :type sys_tags: list[:class:`huaweicloudsdkcce.v3.ResourceTagBody`] + """ + self._sys_tags = sys_tags + + @property + def resource_name(self): + """Gets the resource_name of this ResInstanceBody. + + 资源名称 + + :return: The resource_name of this ResInstanceBody. + :rtype: str + """ + return self._resource_name + + @resource_name.setter + def resource_name(self, resource_name): + """Sets the resource_name of this ResInstanceBody. + + 资源名称 + + :param resource_name: The resource_name of this ResInstanceBody. + :type resource_name: str + """ + self._resource_name = resource_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, ResInstanceBody): + 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-cce/huaweicloudsdkcce/v3/model/resource_tag_body.py b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/resource_tag_body.py new file mode 100644 index 0000000000..22ced8a365 --- /dev/null +++ b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/resource_tag_body.py @@ -0,0 +1,202 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ResourceTagBody: + + """ + 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 = { + 'key': 'str', + 'value': 'str', + 'resource_id': 'str', + 'values': 'list[str]' + } + + attribute_map = { + 'key': 'key', + 'value': 'value', + 'resource_id': 'resourceId', + 'values': 'values' + } + + def __init__(self, key=None, value=None, resource_id=None, values=None): + """ResourceTagBody + + The model defined in huaweicloud sdk + + :param key: 资源标签key + :type key: str + :param value: 资源标签value + :type value: str + :param resource_id: 资源id + :type resource_id: str + :param values: 资源值列表 + :type values: list[str] + """ + + + + self._key = None + self._value = None + self._resource_id = None + self._values = None + self.discriminator = None + + if key is not None: + self.key = key + if value is not None: + self.value = value + if resource_id is not None: + self.resource_id = resource_id + if values is not None: + self.values = values + + @property + def key(self): + """Gets the key of this ResourceTagBody. + + 资源标签key + + :return: The key of this ResourceTagBody. + :rtype: str + """ + return self._key + + @key.setter + def key(self, key): + """Sets the key of this ResourceTagBody. + + 资源标签key + + :param key: The key of this ResourceTagBody. + :type key: str + """ + self._key = key + + @property + def value(self): + """Gets the value of this ResourceTagBody. + + 资源标签value + + :return: The value of this ResourceTagBody. + :rtype: str + """ + return self._value + + @value.setter + def value(self, value): + """Sets the value of this ResourceTagBody. + + 资源标签value + + :param value: The value of this ResourceTagBody. + :type value: str + """ + self._value = value + + @property + def resource_id(self): + """Gets the resource_id of this ResourceTagBody. + + 资源id + + :return: The resource_id of this ResourceTagBody. + :rtype: str + """ + return self._resource_id + + @resource_id.setter + def resource_id(self, resource_id): + """Sets the resource_id of this ResourceTagBody. + + 资源id + + :param resource_id: The resource_id of this ResourceTagBody. + :type resource_id: str + """ + self._resource_id = resource_id + + @property + def values(self): + """Gets the values of this ResourceTagBody. + + 资源值列表 + + :return: The values of this ResourceTagBody. + :rtype: list[str] + """ + return self._values + + @values.setter + def values(self, values): + """Sets the values of this ResourceTagBody. + + 资源值列表 + + :param values: The values of this ResourceTagBody. + :type values: list[str] + """ + self._values = values + + 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, ResourceTagBody): + 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-cce/huaweicloudsdkcce/v3/model/show_cluster_support_configuration_request.py b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/show_cluster_support_configuration_request.py new file mode 100644 index 0000000000..29daaeb94f --- /dev/null +++ b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/show_cluster_support_configuration_request.py @@ -0,0 +1,198 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ShowClusterSupportConfigurationRequest: + + """ + 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', + 'cluster_type': 'str', + 'cluster_version': 'str', + 'network_mode': 'str' + } + + attribute_map = { + 'cluster_id': 'cluster_id', + 'cluster_type': 'cluster_type', + 'cluster_version': 'cluster_version', + 'network_mode': 'network_mode' + } + + def __init__(self, cluster_id=None, cluster_type=None, cluster_version=None, network_mode=None): + """ShowClusterSupportConfigurationRequest + + The model defined in huaweicloud sdk + + :param cluster_id: 集群ID,获取方式请参见[如何获取接口URI中参数](cce_02_0271.xml)。 + :type cluster_id: str + :param cluster_type: 集群类型,获取方式请参见[如何获取接口URI中参数](cce_02_0271.xml)。 + :type cluster_type: str + :param cluster_version: 集群版本,获取方式请参见[如何获取接口URI中参数](cce_02_0271.xml)。 + :type cluster_version: str + :param network_mode: 集群网络类型,获取方式请参见[如何获取接口URI中参数](cce_02_0271.xml)。 + :type network_mode: str + """ + + + + self._cluster_id = None + self._cluster_type = None + self._cluster_version = None + self._network_mode = None + self.discriminator = None + + self.cluster_id = cluster_id + self.cluster_type = cluster_type + self.cluster_version = cluster_version + self.network_mode = network_mode + + @property + def cluster_id(self): + """Gets the cluster_id of this ShowClusterSupportConfigurationRequest. + + 集群ID,获取方式请参见[如何获取接口URI中参数](cce_02_0271.xml)。 + + :return: The cluster_id of this ShowClusterSupportConfigurationRequest. + :rtype: str + """ + return self._cluster_id + + @cluster_id.setter + def cluster_id(self, cluster_id): + """Sets the cluster_id of this ShowClusterSupportConfigurationRequest. + + 集群ID,获取方式请参见[如何获取接口URI中参数](cce_02_0271.xml)。 + + :param cluster_id: The cluster_id of this ShowClusterSupportConfigurationRequest. + :type cluster_id: str + """ + self._cluster_id = cluster_id + + @property + def cluster_type(self): + """Gets the cluster_type of this ShowClusterSupportConfigurationRequest. + + 集群类型,获取方式请参见[如何获取接口URI中参数](cce_02_0271.xml)。 + + :return: The cluster_type of this ShowClusterSupportConfigurationRequest. + :rtype: str + """ + return self._cluster_type + + @cluster_type.setter + def cluster_type(self, cluster_type): + """Sets the cluster_type of this ShowClusterSupportConfigurationRequest. + + 集群类型,获取方式请参见[如何获取接口URI中参数](cce_02_0271.xml)。 + + :param cluster_type: The cluster_type of this ShowClusterSupportConfigurationRequest. + :type cluster_type: str + """ + self._cluster_type = cluster_type + + @property + def cluster_version(self): + """Gets the cluster_version of this ShowClusterSupportConfigurationRequest. + + 集群版本,获取方式请参见[如何获取接口URI中参数](cce_02_0271.xml)。 + + :return: The cluster_version of this ShowClusterSupportConfigurationRequest. + :rtype: str + """ + return self._cluster_version + + @cluster_version.setter + def cluster_version(self, cluster_version): + """Sets the cluster_version of this ShowClusterSupportConfigurationRequest. + + 集群版本,获取方式请参见[如何获取接口URI中参数](cce_02_0271.xml)。 + + :param cluster_version: The cluster_version of this ShowClusterSupportConfigurationRequest. + :type cluster_version: str + """ + self._cluster_version = cluster_version + + @property + def network_mode(self): + """Gets the network_mode of this ShowClusterSupportConfigurationRequest. + + 集群网络类型,获取方式请参见[如何获取接口URI中参数](cce_02_0271.xml)。 + + :return: The network_mode of this ShowClusterSupportConfigurationRequest. + :rtype: str + """ + return self._network_mode + + @network_mode.setter + def network_mode(self, network_mode): + """Sets the network_mode of this ShowClusterSupportConfigurationRequest. + + 集群网络类型,获取方式请参见[如何获取接口URI中参数](cce_02_0271.xml)。 + + :param network_mode: The network_mode of this ShowClusterSupportConfigurationRequest. + :type network_mode: str + """ + self._network_mode = network_mode + + 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, ShowClusterSupportConfigurationRequest): + 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-cce/huaweicloudsdkcce/v3/model/show_cluster_support_configuration_response.py b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/show_cluster_support_configuration_response.py new file mode 100644 index 0000000000..bb74a16927 --- /dev/null +++ b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/show_cluster_support_configuration_response.py @@ -0,0 +1,116 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_response import SdkResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ShowClusterSupportConfigurationResponse(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 = { + 'body': 'dict(str, list[PackageOptions])' + } + + attribute_map = { + 'body': 'body' + } + + def __init__(self, body=None): + """ShowClusterSupportConfigurationResponse + + The model defined in huaweicloud sdk + + :param body: 获取指定集群配置项列表返回体 + :type body: dict(str, list[PackageOptions]) + """ + + super(ShowClusterSupportConfigurationResponse, self).__init__() + + self._body = None + self.discriminator = None + + if body is not None: + self.body = body + + @property + def body(self): + """Gets the body of this ShowClusterSupportConfigurationResponse. + + 获取指定集群配置项列表返回体 + + :return: The body of this ShowClusterSupportConfigurationResponse. + :rtype: dict(str, list[PackageOptions]) + """ + return self._body + + @body.setter + def body(self, body): + """Sets the body of this ShowClusterSupportConfigurationResponse. + + 获取指定集群配置项列表返回体 + + :param body: The body of this ShowClusterSupportConfigurationResponse. + :type body: dict(str, list[PackageOptions]) + """ + 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, ShowClusterSupportConfigurationResponse): + 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-cce/huaweicloudsdkcce/v3/model/show_customize_cluster_tags_by_project_id_request.py b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/show_customize_cluster_tags_by_project_id_request.py new file mode 100644 index 0000000000..51db04f294 --- /dev/null +++ b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/show_customize_cluster_tags_by_project_id_request.py @@ -0,0 +1,114 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ShowCustomizeClusterTagsByProjectIdRequest: + + """ + 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 = { + 'resource_type': 'str' + } + + attribute_map = { + 'resource_type': 'resource_type' + } + + def __init__(self, resource_type=None): + """ShowCustomizeClusterTagsByProjectIdRequest + + The model defined in huaweicloud sdk + + :param resource_type: 资源类型,获取方式请参见[如何获取接口URI中参数](cce_02_0271.xml)。 + :type resource_type: str + """ + + + + self._resource_type = None + self.discriminator = None + + self.resource_type = resource_type + + @property + def resource_type(self): + """Gets the resource_type of this ShowCustomizeClusterTagsByProjectIdRequest. + + 资源类型,获取方式请参见[如何获取接口URI中参数](cce_02_0271.xml)。 + + :return: The resource_type of this ShowCustomizeClusterTagsByProjectIdRequest. + :rtype: str + """ + return self._resource_type + + @resource_type.setter + def resource_type(self, resource_type): + """Sets the resource_type of this ShowCustomizeClusterTagsByProjectIdRequest. + + 资源类型,获取方式请参见[如何获取接口URI中参数](cce_02_0271.xml)。 + + :param resource_type: The resource_type of this ShowCustomizeClusterTagsByProjectIdRequest. + :type resource_type: str + """ + self._resource_type = resource_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, ShowCustomizeClusterTagsByProjectIdRequest): + 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-cce/huaweicloudsdkcce/v3/model/show_customize_cluster_tags_by_project_id_response.py b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/show_customize_cluster_tags_by_project_id_response.py new file mode 100644 index 0000000000..f357c5492a --- /dev/null +++ b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/show_customize_cluster_tags_by_project_id_response.py @@ -0,0 +1,174 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_response import SdkResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ShowCustomizeClusterTagsByProjectIdResponse(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 = { + 'tags': 'list[ResourceTagBody]', + 'sys_tags': 'list[ResourceTagBody]', + 'action': 'str' + } + + attribute_map = { + 'tags': 'tags', + 'sys_tags': 'sys_tags', + 'action': 'action' + } + + def __init__(self, tags=None, sys_tags=None, action=None): + """ShowCustomizeClusterTagsByProjectIdResponse + + The model defined in huaweicloud sdk + + :param tags: 资源标签 + :type tags: list[:class:`huaweicloudsdkcce.v3.ResourceTagBody`] + :param sys_tags: 系统标签 + :type sys_tags: list[:class:`huaweicloudsdkcce.v3.ResourceTagBody`] + :param action: 执行动作 + :type action: str + """ + + super(ShowCustomizeClusterTagsByProjectIdResponse, self).__init__() + + self._tags = None + self._sys_tags = None + self._action = None + self.discriminator = None + + if tags is not None: + self.tags = tags + if sys_tags is not None: + self.sys_tags = sys_tags + if action is not None: + self.action = action + + @property + def tags(self): + """Gets the tags of this ShowCustomizeClusterTagsByProjectIdResponse. + + 资源标签 + + :return: The tags of this ShowCustomizeClusterTagsByProjectIdResponse. + :rtype: list[:class:`huaweicloudsdkcce.v3.ResourceTagBody`] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this ShowCustomizeClusterTagsByProjectIdResponse. + + 资源标签 + + :param tags: The tags of this ShowCustomizeClusterTagsByProjectIdResponse. + :type tags: list[:class:`huaweicloudsdkcce.v3.ResourceTagBody`] + """ + self._tags = tags + + @property + def sys_tags(self): + """Gets the sys_tags of this ShowCustomizeClusterTagsByProjectIdResponse. + + 系统标签 + + :return: The sys_tags of this ShowCustomizeClusterTagsByProjectIdResponse. + :rtype: list[:class:`huaweicloudsdkcce.v3.ResourceTagBody`] + """ + return self._sys_tags + + @sys_tags.setter + def sys_tags(self, sys_tags): + """Sets the sys_tags of this ShowCustomizeClusterTagsByProjectIdResponse. + + 系统标签 + + :param sys_tags: The sys_tags of this ShowCustomizeClusterTagsByProjectIdResponse. + :type sys_tags: list[:class:`huaweicloudsdkcce.v3.ResourceTagBody`] + """ + self._sys_tags = sys_tags + + @property + def action(self): + """Gets the action of this ShowCustomizeClusterTagsByProjectIdResponse. + + 执行动作 + + :return: The action of this ShowCustomizeClusterTagsByProjectIdResponse. + :rtype: str + """ + return self._action + + @action.setter + def action(self, action): + """Sets the action of this ShowCustomizeClusterTagsByProjectIdResponse. + + 执行动作 + + :param action: The action of this ShowCustomizeClusterTagsByProjectIdResponse. + :type action: str + """ + self._action = 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, ShowCustomizeClusterTagsByProjectIdResponse): + 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-cce/huaweicloudsdkcce/v3/model/show_resource_instances.py b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/show_resource_instances.py new file mode 100644 index 0000000000..61e6665827 --- /dev/null +++ b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/show_resource_instances.py @@ -0,0 +1,343 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ShowResourceInstances: + + """ + 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 = { + 'action': 'str', + 'tags': 'TagFilter', + 'tags_any': 'TagFilter', + 'not_tags': 'TagFilter', + 'not_tags_any': 'TagFilter', + 'sys_tags': 'TagFilter', + 'without_any_tag': 'bool', + 'limit': 'str', + 'offset': 'str', + 'matches': 'list[object]' + } + + attribute_map = { + 'action': 'action', + 'tags': 'tags', + 'tags_any': 'tags_any', + 'not_tags': 'not_tags', + 'not_tags_any': 'not_tags_any', + 'sys_tags': 'sys_tags', + 'without_any_tag': 'without_any_tag', + 'limit': 'limit', + 'offset': 'offset', + 'matches': 'matches' + } + + def __init__(self, action=None, tags=None, tags_any=None, not_tags=None, not_tags_any=None, sys_tags=None, without_any_tag=None, limit=None, offset=None, matches=None): + """ShowResourceInstances + + The model defined in huaweicloud sdk + + :param action: action类型,\"filter\"或者\"count\"。 + :type action: str + :param tags: + :type tags: :class:`huaweicloudsdkcce.v3.TagFilter` + :param tags_any: + :type tags_any: :class:`huaweicloudsdkcce.v3.TagFilter` + :param not_tags: + :type not_tags: :class:`huaweicloudsdkcce.v3.TagFilter` + :param not_tags_any: + :type not_tags_any: :class:`huaweicloudsdkcce.v3.TagFilter` + :param sys_tags: + :type sys_tags: :class:`huaweicloudsdkcce.v3.TagFilter` + :param without_any_tag: 忽略其他标签字段,返回不带任何标签的资源。 + :type without_any_tag: bool + :param limit: + :type limit: str + :param offset: + :type offset: str + :param matches: + :type matches: list[object] + """ + + + + self._action = None + self._tags = None + self._tags_any = None + self._not_tags = None + self._not_tags_any = None + self._sys_tags = None + self._without_any_tag = None + self._limit = None + self._offset = None + self._matches = None + self.discriminator = None + + self.action = action + if tags is not None: + self.tags = tags + if tags_any is not None: + self.tags_any = tags_any + if not_tags is not None: + self.not_tags = not_tags + if not_tags_any is not None: + self.not_tags_any = not_tags_any + if sys_tags is not None: + self.sys_tags = sys_tags + if without_any_tag is not None: + self.without_any_tag = without_any_tag + if limit is not None: + self.limit = limit + if offset is not None: + self.offset = offset + if matches is not None: + self.matches = matches + + @property + def action(self): + """Gets the action of this ShowResourceInstances. + + action类型,\"filter\"或者\"count\"。 + + :return: The action of this ShowResourceInstances. + :rtype: str + """ + return self._action + + @action.setter + def action(self, action): + """Sets the action of this ShowResourceInstances. + + action类型,\"filter\"或者\"count\"。 + + :param action: The action of this ShowResourceInstances. + :type action: str + """ + self._action = action + + @property + def tags(self): + """Gets the tags of this ShowResourceInstances. + + :return: The tags of this ShowResourceInstances. + :rtype: :class:`huaweicloudsdkcce.v3.TagFilter` + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this ShowResourceInstances. + + :param tags: The tags of this ShowResourceInstances. + :type tags: :class:`huaweicloudsdkcce.v3.TagFilter` + """ + self._tags = tags + + @property + def tags_any(self): + """Gets the tags_any of this ShowResourceInstances. + + :return: The tags_any of this ShowResourceInstances. + :rtype: :class:`huaweicloudsdkcce.v3.TagFilter` + """ + return self._tags_any + + @tags_any.setter + def tags_any(self, tags_any): + """Sets the tags_any of this ShowResourceInstances. + + :param tags_any: The tags_any of this ShowResourceInstances. + :type tags_any: :class:`huaweicloudsdkcce.v3.TagFilter` + """ + self._tags_any = tags_any + + @property + def not_tags(self): + """Gets the not_tags of this ShowResourceInstances. + + :return: The not_tags of this ShowResourceInstances. + :rtype: :class:`huaweicloudsdkcce.v3.TagFilter` + """ + return self._not_tags + + @not_tags.setter + def not_tags(self, not_tags): + """Sets the not_tags of this ShowResourceInstances. + + :param not_tags: The not_tags of this ShowResourceInstances. + :type not_tags: :class:`huaweicloudsdkcce.v3.TagFilter` + """ + self._not_tags = not_tags + + @property + def not_tags_any(self): + """Gets the not_tags_any of this ShowResourceInstances. + + :return: The not_tags_any of this ShowResourceInstances. + :rtype: :class:`huaweicloudsdkcce.v3.TagFilter` + """ + return self._not_tags_any + + @not_tags_any.setter + def not_tags_any(self, not_tags_any): + """Sets the not_tags_any of this ShowResourceInstances. + + :param not_tags_any: The not_tags_any of this ShowResourceInstances. + :type not_tags_any: :class:`huaweicloudsdkcce.v3.TagFilter` + """ + self._not_tags_any = not_tags_any + + @property + def sys_tags(self): + """Gets the sys_tags of this ShowResourceInstances. + + :return: The sys_tags of this ShowResourceInstances. + :rtype: :class:`huaweicloudsdkcce.v3.TagFilter` + """ + return self._sys_tags + + @sys_tags.setter + def sys_tags(self, sys_tags): + """Sets the sys_tags of this ShowResourceInstances. + + :param sys_tags: The sys_tags of this ShowResourceInstances. + :type sys_tags: :class:`huaweicloudsdkcce.v3.TagFilter` + """ + self._sys_tags = sys_tags + + @property + def without_any_tag(self): + """Gets the without_any_tag of this ShowResourceInstances. + + 忽略其他标签字段,返回不带任何标签的资源。 + + :return: The without_any_tag of this ShowResourceInstances. + :rtype: bool + """ + return self._without_any_tag + + @without_any_tag.setter + def without_any_tag(self, without_any_tag): + """Sets the without_any_tag of this ShowResourceInstances. + + 忽略其他标签字段,返回不带任何标签的资源。 + + :param without_any_tag: The without_any_tag of this ShowResourceInstances. + :type without_any_tag: bool + """ + self._without_any_tag = without_any_tag + + @property + def limit(self): + """Gets the limit of this ShowResourceInstances. + + :return: The limit of this ShowResourceInstances. + :rtype: str + """ + return self._limit + + @limit.setter + def limit(self, limit): + """Sets the limit of this ShowResourceInstances. + + :param limit: The limit of this ShowResourceInstances. + :type limit: str + """ + self._limit = limit + + @property + def offset(self): + """Gets the offset of this ShowResourceInstances. + + :return: The offset of this ShowResourceInstances. + :rtype: str + """ + return self._offset + + @offset.setter + def offset(self, offset): + """Sets the offset of this ShowResourceInstances. + + :param offset: The offset of this ShowResourceInstances. + :type offset: str + """ + self._offset = offset + + @property + def matches(self): + """Gets the matches of this ShowResourceInstances. + + :return: The matches of this ShowResourceInstances. + :rtype: list[object] + """ + return self._matches + + @matches.setter + def matches(self, matches): + """Sets the matches of this ShowResourceInstances. + + :param matches: The matches of this ShowResourceInstances. + :type matches: list[object] + """ + self._matches = matches + + 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, ShowResourceInstances): + 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-cce/huaweicloudsdkcce/v3/model/show_resource_instances_request.py b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/show_resource_instances_request.py new file mode 100644 index 0000000000..1fc5ab3a73 --- /dev/null +++ b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/show_resource_instances_request.py @@ -0,0 +1,139 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ShowResourceInstancesRequest: + + """ + 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 = { + 'resource_type': 'str', + 'body': 'ShowResourceInstances' + } + + attribute_map = { + 'resource_type': 'resource_type', + 'body': 'body' + } + + def __init__(self, resource_type=None, body=None): + """ShowResourceInstancesRequest + + The model defined in huaweicloud sdk + + :param resource_type: 资源类型,获取方式请参见[如何获取接口URI中参数](cce_02_0271.xml)。 + :type resource_type: str + :param body: Body of the ShowResourceInstancesRequest + :type body: :class:`huaweicloudsdkcce.v3.ShowResourceInstances` + """ + + + + self._resource_type = None + self._body = None + self.discriminator = None + + self.resource_type = resource_type + if body is not None: + self.body = body + + @property + def resource_type(self): + """Gets the resource_type of this ShowResourceInstancesRequest. + + 资源类型,获取方式请参见[如何获取接口URI中参数](cce_02_0271.xml)。 + + :return: The resource_type of this ShowResourceInstancesRequest. + :rtype: str + """ + return self._resource_type + + @resource_type.setter + def resource_type(self, resource_type): + """Sets the resource_type of this ShowResourceInstancesRequest. + + 资源类型,获取方式请参见[如何获取接口URI中参数](cce_02_0271.xml)。 + + :param resource_type: The resource_type of this ShowResourceInstancesRequest. + :type resource_type: str + """ + self._resource_type = resource_type + + @property + def body(self): + """Gets the body of this ShowResourceInstancesRequest. + + :return: The body of this ShowResourceInstancesRequest. + :rtype: :class:`huaweicloudsdkcce.v3.ShowResourceInstances` + """ + return self._body + + @body.setter + def body(self, body): + """Sets the body of this ShowResourceInstancesRequest. + + :param body: The body of this ShowResourceInstancesRequest. + :type body: :class:`huaweicloudsdkcce.v3.ShowResourceInstances` + """ + 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, ShowResourceInstancesRequest): + 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-cce/huaweicloudsdkcce/v3/model/show_resource_instances_response.py b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/show_resource_instances_response.py new file mode 100644 index 0000000000..5e9f384a93 --- /dev/null +++ b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/show_resource_instances_response.py @@ -0,0 +1,145 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_response import SdkResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ShowResourceInstancesResponse(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 = { + 'total_count': 'int', + 'resources': 'list[ResInstanceBody]' + } + + attribute_map = { + 'total_count': 'total_count', + 'resources': 'resources' + } + + def __init__(self, total_count=None, resources=None): + """ShowResourceInstancesResponse + + The model defined in huaweicloud sdk + + :param total_count: 数量 + :type total_count: int + :param resources: 资源 + :type resources: list[:class:`huaweicloudsdkcce.v3.ResInstanceBody`] + """ + + super(ShowResourceInstancesResponse, self).__init__() + + self._total_count = None + self._resources = None + self.discriminator = None + + if total_count is not None: + self.total_count = total_count + if resources is not None: + self.resources = resources + + @property + def total_count(self): + """Gets the total_count of this ShowResourceInstancesResponse. + + 数量 + + :return: The total_count of this ShowResourceInstancesResponse. + :rtype: int + """ + return self._total_count + + @total_count.setter + def total_count(self, total_count): + """Sets the total_count of this ShowResourceInstancesResponse. + + 数量 + + :param total_count: The total_count of this ShowResourceInstancesResponse. + :type total_count: int + """ + self._total_count = total_count + + @property + def resources(self): + """Gets the resources of this ShowResourceInstancesResponse. + + 资源 + + :return: The resources of this ShowResourceInstancesResponse. + :rtype: list[:class:`huaweicloudsdkcce.v3.ResInstanceBody`] + """ + return self._resources + + @resources.setter + def resources(self, resources): + """Sets the resources of this ShowResourceInstancesResponse. + + 资源 + + :param resources: The resources of this ShowResourceInstancesResponse. + :type resources: list[:class:`huaweicloudsdkcce.v3.ResInstanceBody`] + """ + self._resources = resources + + 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, ShowResourceInstancesResponse): + 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-cce/huaweicloudsdkcce/v3/model/show_resource_tags_request.py b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/show_resource_tags_request.py new file mode 100644 index 0000000000..1dbb1e53e4 --- /dev/null +++ b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/show_resource_tags_request.py @@ -0,0 +1,142 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ShowResourceTagsRequest: + + """ + 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 = { + 'resource_type': 'str', + 'resource_id': 'str' + } + + attribute_map = { + 'resource_type': 'resource_type', + 'resource_id': 'resource_id' + } + + def __init__(self, resource_type=None, resource_id=None): + """ShowResourceTagsRequest + + The model defined in huaweicloud sdk + + :param resource_type: 资源类型,获取方式请参见[如何获取接口URI中参数](cce_02_0271.xml)。 + :type resource_type: str + :param resource_id: 资源id,获取方式请参见[如何获取接口URI中参数](cce_02_0271.xml)。 + :type resource_id: str + """ + + + + self._resource_type = None + self._resource_id = None + self.discriminator = None + + self.resource_type = resource_type + self.resource_id = resource_id + + @property + def resource_type(self): + """Gets the resource_type of this ShowResourceTagsRequest. + + 资源类型,获取方式请参见[如何获取接口URI中参数](cce_02_0271.xml)。 + + :return: The resource_type of this ShowResourceTagsRequest. + :rtype: str + """ + return self._resource_type + + @resource_type.setter + def resource_type(self, resource_type): + """Sets the resource_type of this ShowResourceTagsRequest. + + 资源类型,获取方式请参见[如何获取接口URI中参数](cce_02_0271.xml)。 + + :param resource_type: The resource_type of this ShowResourceTagsRequest. + :type resource_type: str + """ + self._resource_type = resource_type + + @property + def resource_id(self): + """Gets the resource_id of this ShowResourceTagsRequest. + + 资源id,获取方式请参见[如何获取接口URI中参数](cce_02_0271.xml)。 + + :return: The resource_id of this ShowResourceTagsRequest. + :rtype: str + """ + return self._resource_id + + @resource_id.setter + def resource_id(self, resource_id): + """Sets the resource_id of this ShowResourceTagsRequest. + + 资源id,获取方式请参见[如何获取接口URI中参数](cce_02_0271.xml)。 + + :param resource_id: The resource_id of this ShowResourceTagsRequest. + :type resource_id: str + """ + self._resource_id = resource_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, ShowResourceTagsRequest): + 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-cce/huaweicloudsdkcce/v3/model/show_resource_tags_response.py b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/show_resource_tags_response.py new file mode 100644 index 0000000000..fd9377a0eb --- /dev/null +++ b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/show_resource_tags_response.py @@ -0,0 +1,174 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_response import SdkResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ShowResourceTagsResponse(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 = { + 'tags': 'list[ResourceTagBody]', + 'sys_tags': 'list[ResourceTagBody]', + 'action': 'str' + } + + attribute_map = { + 'tags': 'tags', + 'sys_tags': 'sys_tags', + 'action': 'action' + } + + def __init__(self, tags=None, sys_tags=None, action=None): + """ShowResourceTagsResponse + + The model defined in huaweicloud sdk + + :param tags: 资源标签 + :type tags: list[:class:`huaweicloudsdkcce.v3.ResourceTagBody`] + :param sys_tags: 系统标签 + :type sys_tags: list[:class:`huaweicloudsdkcce.v3.ResourceTagBody`] + :param action: 执行动作 + :type action: str + """ + + super(ShowResourceTagsResponse, self).__init__() + + self._tags = None + self._sys_tags = None + self._action = None + self.discriminator = None + + if tags is not None: + self.tags = tags + if sys_tags is not None: + self.sys_tags = sys_tags + if action is not None: + self.action = action + + @property + def tags(self): + """Gets the tags of this ShowResourceTagsResponse. + + 资源标签 + + :return: The tags of this ShowResourceTagsResponse. + :rtype: list[:class:`huaweicloudsdkcce.v3.ResourceTagBody`] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this ShowResourceTagsResponse. + + 资源标签 + + :param tags: The tags of this ShowResourceTagsResponse. + :type tags: list[:class:`huaweicloudsdkcce.v3.ResourceTagBody`] + """ + self._tags = tags + + @property + def sys_tags(self): + """Gets the sys_tags of this ShowResourceTagsResponse. + + 系统标签 + + :return: The sys_tags of this ShowResourceTagsResponse. + :rtype: list[:class:`huaweicloudsdkcce.v3.ResourceTagBody`] + """ + return self._sys_tags + + @sys_tags.setter + def sys_tags(self, sys_tags): + """Sets the sys_tags of this ShowResourceTagsResponse. + + 系统标签 + + :param sys_tags: The sys_tags of this ShowResourceTagsResponse. + :type sys_tags: list[:class:`huaweicloudsdkcce.v3.ResourceTagBody`] + """ + self._sys_tags = sys_tags + + @property + def action(self): + """Gets the action of this ShowResourceTagsResponse. + + 执行动作 + + :return: The action of this ShowResourceTagsResponse. + :rtype: str + """ + return self._action + + @action.setter + def action(self, action): + """Sets the action of this ShowResourceTagsResponse. + + 执行动作 + + :param action: The action of this ShowResourceTagsResponse. + :type action: str + """ + self._action = 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, ShowResourceTagsResponse): + 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-cce/huaweicloudsdkcce/v3/model/sync_node_pool_request.py b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/sync_node_pool_request.py new file mode 100644 index 0000000000..0a758cea9e --- /dev/null +++ b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/sync_node_pool_request.py @@ -0,0 +1,142 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class SyncNodePoolRequest: + + """ + 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', + 'nodepool_id': 'str' + } + + attribute_map = { + 'cluster_id': 'cluster_id', + 'nodepool_id': 'nodepool_id' + } + + def __init__(self, cluster_id=None, nodepool_id=None): + """SyncNodePoolRequest + + The model defined in huaweicloud sdk + + :param cluster_id: 集群ID,获取方式请参见[如何获取接口URI中参数](cce_02_0271.xml)。 + :type cluster_id: str + :param nodepool_id: 节点池ID + :type nodepool_id: str + """ + + + + self._cluster_id = None + self._nodepool_id = None + self.discriminator = None + + self.cluster_id = cluster_id + self.nodepool_id = nodepool_id + + @property + def cluster_id(self): + """Gets the cluster_id of this SyncNodePoolRequest. + + 集群ID,获取方式请参见[如何获取接口URI中参数](cce_02_0271.xml)。 + + :return: The cluster_id of this SyncNodePoolRequest. + :rtype: str + """ + return self._cluster_id + + @cluster_id.setter + def cluster_id(self, cluster_id): + """Sets the cluster_id of this SyncNodePoolRequest. + + 集群ID,获取方式请参见[如何获取接口URI中参数](cce_02_0271.xml)。 + + :param cluster_id: The cluster_id of this SyncNodePoolRequest. + :type cluster_id: str + """ + self._cluster_id = cluster_id + + @property + def nodepool_id(self): + """Gets the nodepool_id of this SyncNodePoolRequest. + + 节点池ID + + :return: The nodepool_id of this SyncNodePoolRequest. + :rtype: str + """ + return self._nodepool_id + + @nodepool_id.setter + def nodepool_id(self, nodepool_id): + """Sets the nodepool_id of this SyncNodePoolRequest. + + 节点池ID + + :param nodepool_id: The nodepool_id of this SyncNodePoolRequest. + :type nodepool_id: str + """ + self._nodepool_id = nodepool_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, SyncNodePoolRequest): + 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-cce/huaweicloudsdkcce/v3/model/sync_node_pool_resp.py b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/sync_node_pool_resp.py new file mode 100644 index 0000000000..5811fbb01c --- /dev/null +++ b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/sync_node_pool_resp.py @@ -0,0 +1,84 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class SyncNodePoolResp: + + """ + 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): + """SyncNodePoolResp + + The model defined in huaweicloud sdk + + """ + + + 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, SyncNodePoolResp): + 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-cce/huaweicloudsdkcce/v3/model/sync_node_pool_response.py b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/sync_node_pool_response.py new file mode 100644 index 0000000000..20e4925a47 --- /dev/null +++ b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/sync_node_pool_response.py @@ -0,0 +1,112 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_response import SdkResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class SyncNodePoolResponse(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 = { + 'body': 'str' + } + + attribute_map = { + 'body': 'body' + } + + def __init__(self, body=None): + """SyncNodePoolResponse + + The model defined in huaweicloud sdk + + :param body: + :type body: str + """ + + super(SyncNodePoolResponse, self).__init__() + + self._body = None + self.discriminator = None + + if body is not None: + self.body = body + + @property + def body(self): + """Gets the body of this SyncNodePoolResponse. + + :return: The body of this SyncNodePoolResponse. + :rtype: str + """ + return self._body + + @body.setter + def body(self, body): + """Sets the body of this SyncNodePoolResponse. + + :param body: The body of this SyncNodePoolResponse. + :type body: str + """ + 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, SyncNodePoolResponse): + 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-secmaster/huaweicloudsdksecmaster/v2/model/data_response.py b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/tag_filter.py similarity index 59% rename from huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/data_response.py rename to huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/tag_filter.py index b525946a76..0423b1ecd8 100644 --- a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/data_response.py +++ b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/tag_filter.py @@ -5,7 +5,7 @@ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class DataResponse: +class TagFilter: """ Attributes: @@ -17,79 +17,76 @@ class DataResponse: sensitive_list = [] openapi_types = { - 'success_ids': 'list[str]', - 'error_ids': 'list[str]' + 'key': 'str', + 'values': 'list[str]' } attribute_map = { - 'success_ids': 'success_ids', - 'error_ids': 'error_ids' + 'key': 'key', + 'values': 'values' } - def __init__(self, success_ids=None, error_ids=None): - """DataResponse + def __init__(self, key=None, values=None): + """TagFilter The model defined in huaweicloud sdk - :param success_ids: id list - :type success_ids: list[str] - :param error_ids: id list - :type error_ids: list[str] + :param key: 需要过滤的标签key。 + :type key: str + :param values: + :type values: list[str] """ - self._success_ids = None - self._error_ids = None + self._key = None + self._values = None self.discriminator = None - self.success_ids = success_ids - if error_ids is not None: - self.error_ids = error_ids + if key is not None: + self.key = key + if values is not None: + self.values = values @property - def success_ids(self): - """Gets the success_ids of this DataResponse. + def key(self): + """Gets the key of this TagFilter. - id list + 需要过滤的标签key。 - :return: The success_ids of this DataResponse. - :rtype: list[str] + :return: The key of this TagFilter. + :rtype: str """ - return self._success_ids + return self._key - @success_ids.setter - def success_ids(self, success_ids): - """Sets the success_ids of this DataResponse. + @key.setter + def key(self, key): + """Sets the key of this TagFilter. - id list + 需要过滤的标签key。 - :param success_ids: The success_ids of this DataResponse. - :type success_ids: list[str] + :param key: The key of this TagFilter. + :type key: str """ - self._success_ids = success_ids + self._key = key @property - def error_ids(self): - """Gets the error_ids of this DataResponse. - - id list + def values(self): + """Gets the values of this TagFilter. - :return: The error_ids of this DataResponse. + :return: The values of this TagFilter. :rtype: list[str] """ - return self._error_ids - - @error_ids.setter - def error_ids(self, error_ids): - """Sets the error_ids of this DataResponse. + return self._values - id list + @values.setter + def values(self, values): + """Sets the values of this TagFilter. - :param error_ids: The error_ids of this DataResponse. - :type error_ids: list[str] + :param values: The values of this TagFilter. + :type values: list[str] """ - self._error_ids = error_ids + self._values = values def to_dict(self): """Returns the model properties as a dict""" @@ -133,7 +130,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, DataResponse): + if not isinstance(other, TagFilter): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/update_autopilot_cluster_eip_request.py b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/update_autopilot_cluster_eip_request.py new file mode 100644 index 0000000000..fa88b8af26 --- /dev/null +++ b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/update_autopilot_cluster_eip_request.py @@ -0,0 +1,139 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class UpdateAutopilotClusterEipRequest: + + """ + 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', + 'body': 'MasterEIPRequest' + } + + attribute_map = { + 'cluster_id': 'cluster_id', + 'body': 'body' + } + + def __init__(self, cluster_id=None, body=None): + """UpdateAutopilotClusterEipRequest + + The model defined in huaweicloud sdk + + :param cluster_id: 集群ID,获取方式请参见[如何获取接口URI中参数](cce_02_0271.xml)。 + :type cluster_id: str + :param body: Body of the UpdateAutopilotClusterEipRequest + :type body: :class:`huaweicloudsdkcce.v3.MasterEIPRequest` + """ + + + + self._cluster_id = None + self._body = None + self.discriminator = None + + self.cluster_id = cluster_id + if body is not None: + self.body = body + + @property + def cluster_id(self): + """Gets the cluster_id of this UpdateAutopilotClusterEipRequest. + + 集群ID,获取方式请参见[如何获取接口URI中参数](cce_02_0271.xml)。 + + :return: The cluster_id of this UpdateAutopilotClusterEipRequest. + :rtype: str + """ + return self._cluster_id + + @cluster_id.setter + def cluster_id(self, cluster_id): + """Sets the cluster_id of this UpdateAutopilotClusterEipRequest. + + 集群ID,获取方式请参见[如何获取接口URI中参数](cce_02_0271.xml)。 + + :param cluster_id: The cluster_id of this UpdateAutopilotClusterEipRequest. + :type cluster_id: str + """ + self._cluster_id = cluster_id + + @property + def body(self): + """Gets the body of this UpdateAutopilotClusterEipRequest. + + :return: The body of this UpdateAutopilotClusterEipRequest. + :rtype: :class:`huaweicloudsdkcce.v3.MasterEIPRequest` + """ + return self._body + + @body.setter + def body(self, body): + """Sets the body of this UpdateAutopilotClusterEipRequest. + + :param body: The body of this UpdateAutopilotClusterEipRequest. + :type body: :class:`huaweicloudsdkcce.v3.MasterEIPRequest` + """ + 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, UpdateAutopilotClusterEipRequest): + 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-cce/huaweicloudsdkcce/v3/model/update_autopilot_cluster_eip_response.py b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/update_autopilot_cluster_eip_response.py new file mode 100644 index 0000000000..ec7dad5fc5 --- /dev/null +++ b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/update_autopilot_cluster_eip_response.py @@ -0,0 +1,162 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_response import SdkResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class UpdateAutopilotClusterEipResponse(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 = { + 'metadata': 'Metadata', + 'spec': 'MasterEIPResponseSpec', + 'status': 'MasterEIPResponseStatus' + } + + attribute_map = { + 'metadata': 'metadata', + 'spec': 'spec', + 'status': 'status' + } + + def __init__(self, metadata=None, spec=None, status=None): + """UpdateAutopilotClusterEipResponse + + The model defined in huaweicloud sdk + + :param metadata: + :type metadata: :class:`huaweicloudsdkcce.v3.Metadata` + :param spec: + :type spec: :class:`huaweicloudsdkcce.v3.MasterEIPResponseSpec` + :param status: + :type status: :class:`huaweicloudsdkcce.v3.MasterEIPResponseStatus` + """ + + super(UpdateAutopilotClusterEipResponse, self).__init__() + + self._metadata = None + self._spec = None + self._status = None + self.discriminator = None + + if metadata is not None: + self.metadata = metadata + if spec is not None: + self.spec = spec + if status is not None: + self.status = status + + @property + def metadata(self): + """Gets the metadata of this UpdateAutopilotClusterEipResponse. + + :return: The metadata of this UpdateAutopilotClusterEipResponse. + :rtype: :class:`huaweicloudsdkcce.v3.Metadata` + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this UpdateAutopilotClusterEipResponse. + + :param metadata: The metadata of this UpdateAutopilotClusterEipResponse. + :type metadata: :class:`huaweicloudsdkcce.v3.Metadata` + """ + self._metadata = metadata + + @property + def spec(self): + """Gets the spec of this UpdateAutopilotClusterEipResponse. + + :return: The spec of this UpdateAutopilotClusterEipResponse. + :rtype: :class:`huaweicloudsdkcce.v3.MasterEIPResponseSpec` + """ + return self._spec + + @spec.setter + def spec(self, spec): + """Sets the spec of this UpdateAutopilotClusterEipResponse. + + :param spec: The spec of this UpdateAutopilotClusterEipResponse. + :type spec: :class:`huaweicloudsdkcce.v3.MasterEIPResponseSpec` + """ + self._spec = spec + + @property + def status(self): + """Gets the status of this UpdateAutopilotClusterEipResponse. + + :return: The status of this UpdateAutopilotClusterEipResponse. + :rtype: :class:`huaweicloudsdkcce.v3.MasterEIPResponseStatus` + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this UpdateAutopilotClusterEipResponse. + + :param status: The status of this UpdateAutopilotClusterEipResponse. + :type status: :class:`huaweicloudsdkcce.v3.MasterEIPResponseStatus` + """ + 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, UpdateAutopilotClusterEipResponse): + 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-cce/huaweicloudsdkcce/v3/model/upgrade_node_pool.py b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/upgrade_node_pool.py new file mode 100644 index 0000000000..171c34a71d --- /dev/null +++ b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/upgrade_node_pool.py @@ -0,0 +1,193 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class UpgradeNodePool: + + """ + 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 = { + 'kind': 'str', + 'api_version': 'str', + 'metadata': 'NodePoolMetadata', + 'spec': 'NodePoolUpgradeSpec' + } + + attribute_map = { + 'kind': 'kind', + 'api_version': 'apiVersion', + 'metadata': 'metadata', + 'spec': 'spec' + } + + def __init__(self, kind=None, api_version=None, metadata=None, spec=None): + """UpgradeNodePool + + The model defined in huaweicloud sdk + + :param kind: API类型,固定值“NodePool”。 + :type kind: str + :param api_version: API版本,固定值“v3”。 + :type api_version: str + :param metadata: + :type metadata: :class:`huaweicloudsdkcce.v3.NodePoolMetadata` + :param spec: + :type spec: :class:`huaweicloudsdkcce.v3.NodePoolUpgradeSpec` + """ + + + + self._kind = None + self._api_version = None + self._metadata = None + self._spec = None + self.discriminator = None + + if kind is not None: + self.kind = kind + if api_version is not None: + self.api_version = api_version + if metadata is not None: + self.metadata = metadata + self.spec = spec + + @property + def kind(self): + """Gets the kind of this UpgradeNodePool. + + API类型,固定值“NodePool”。 + + :return: The kind of this UpgradeNodePool. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this UpgradeNodePool. + + API类型,固定值“NodePool”。 + + :param kind: The kind of this UpgradeNodePool. + :type kind: str + """ + self._kind = kind + + @property + def api_version(self): + """Gets the api_version of this UpgradeNodePool. + + API版本,固定值“v3”。 + + :return: The api_version of this UpgradeNodePool. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this UpgradeNodePool. + + API版本,固定值“v3”。 + + :param api_version: The api_version of this UpgradeNodePool. + :type api_version: str + """ + self._api_version = api_version + + @property + def metadata(self): + """Gets the metadata of this UpgradeNodePool. + + :return: The metadata of this UpgradeNodePool. + :rtype: :class:`huaweicloudsdkcce.v3.NodePoolMetadata` + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this UpgradeNodePool. + + :param metadata: The metadata of this UpgradeNodePool. + :type metadata: :class:`huaweicloudsdkcce.v3.NodePoolMetadata` + """ + self._metadata = metadata + + @property + def spec(self): + """Gets the spec of this UpgradeNodePool. + + :return: The spec of this UpgradeNodePool. + :rtype: :class:`huaweicloudsdkcce.v3.NodePoolUpgradeSpec` + """ + return self._spec + + @spec.setter + def spec(self, spec): + """Sets the spec of this UpgradeNodePool. + + :param spec: The spec of this UpgradeNodePool. + :type spec: :class:`huaweicloudsdkcce.v3.NodePoolUpgradeSpec` + """ + self._spec = spec + + 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, UpgradeNodePool): + 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-cce/huaweicloudsdkcce/v3/model/upgrade_node_pool_request.py b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/upgrade_node_pool_request.py new file mode 100644 index 0000000000..4c4976f69c --- /dev/null +++ b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/upgrade_node_pool_request.py @@ -0,0 +1,167 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class UpgradeNodePoolRequest: + + """ + 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', + 'nodepool_id': 'str', + 'body': 'UpgradeNodePool' + } + + attribute_map = { + 'cluster_id': 'cluster_id', + 'nodepool_id': 'nodepool_id', + 'body': 'body' + } + + def __init__(self, cluster_id=None, nodepool_id=None, body=None): + """UpgradeNodePoolRequest + + The model defined in huaweicloud sdk + + :param cluster_id: 集群ID,获取方式请参见[如何获取接口URI中参数](cce_02_0271.xml)。 + :type cluster_id: str + :param nodepool_id: 节点池ID + :type nodepool_id: str + :param body: Body of the UpgradeNodePoolRequest + :type body: :class:`huaweicloudsdkcce.v3.UpgradeNodePool` + """ + + + + self._cluster_id = None + self._nodepool_id = None + self._body = None + self.discriminator = None + + self.cluster_id = cluster_id + self.nodepool_id = nodepool_id + if body is not None: + self.body = body + + @property + def cluster_id(self): + """Gets the cluster_id of this UpgradeNodePoolRequest. + + 集群ID,获取方式请参见[如何获取接口URI中参数](cce_02_0271.xml)。 + + :return: The cluster_id of this UpgradeNodePoolRequest. + :rtype: str + """ + return self._cluster_id + + @cluster_id.setter + def cluster_id(self, cluster_id): + """Sets the cluster_id of this UpgradeNodePoolRequest. + + 集群ID,获取方式请参见[如何获取接口URI中参数](cce_02_0271.xml)。 + + :param cluster_id: The cluster_id of this UpgradeNodePoolRequest. + :type cluster_id: str + """ + self._cluster_id = cluster_id + + @property + def nodepool_id(self): + """Gets the nodepool_id of this UpgradeNodePoolRequest. + + 节点池ID + + :return: The nodepool_id of this UpgradeNodePoolRequest. + :rtype: str + """ + return self._nodepool_id + + @nodepool_id.setter + def nodepool_id(self, nodepool_id): + """Sets the nodepool_id of this UpgradeNodePoolRequest. + + 节点池ID + + :param nodepool_id: The nodepool_id of this UpgradeNodePoolRequest. + :type nodepool_id: str + """ + self._nodepool_id = nodepool_id + + @property + def body(self): + """Gets the body of this UpgradeNodePoolRequest. + + :return: The body of this UpgradeNodePoolRequest. + :rtype: :class:`huaweicloudsdkcce.v3.UpgradeNodePool` + """ + return self._body + + @body.setter + def body(self, body): + """Sets the body of this UpgradeNodePoolRequest. + + :param body: The body of this UpgradeNodePoolRequest. + :type body: :class:`huaweicloudsdkcce.v3.UpgradeNodePool` + """ + 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, UpgradeNodePoolRequest): + 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-cce/huaweicloudsdkcce/v3/model/upgrade_node_pool_response.py b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/upgrade_node_pool_response.py new file mode 100644 index 0000000000..71164e4d0a --- /dev/null +++ b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/upgrade_node_pool_response.py @@ -0,0 +1,220 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_response import SdkResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class UpgradeNodePoolResponse(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 = { + 'kind': 'str', + 'api_version': 'str', + 'metadata': 'JobMetadata', + 'spec': 'JobSpec', + 'status': 'JobStatus' + } + + attribute_map = { + 'kind': 'kind', + 'api_version': 'apiVersion', + 'metadata': 'metadata', + 'spec': 'spec', + 'status': 'status' + } + + def __init__(self, kind=None, api_version=None, metadata=None, spec=None, status=None): + """UpgradeNodePoolResponse + + The model defined in huaweicloud sdk + + :param kind: API类型,固定值“Job”,该值不可修改。 + :type kind: str + :param api_version: API版本,固定值“v3”,该值不可修改。 + :type api_version: str + :param metadata: + :type metadata: :class:`huaweicloudsdkcce.v3.JobMetadata` + :param spec: + :type spec: :class:`huaweicloudsdkcce.v3.JobSpec` + :param status: + :type status: :class:`huaweicloudsdkcce.v3.JobStatus` + """ + + super(UpgradeNodePoolResponse, self).__init__() + + self._kind = None + self._api_version = None + self._metadata = None + self._spec = None + self._status = None + self.discriminator = None + + if kind is not None: + self.kind = kind + if api_version is not None: + self.api_version = api_version + if metadata is not None: + self.metadata = metadata + if spec is not None: + self.spec = spec + if status is not None: + self.status = status + + @property + def kind(self): + """Gets the kind of this UpgradeNodePoolResponse. + + API类型,固定值“Job”,该值不可修改。 + + :return: The kind of this UpgradeNodePoolResponse. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this UpgradeNodePoolResponse. + + API类型,固定值“Job”,该值不可修改。 + + :param kind: The kind of this UpgradeNodePoolResponse. + :type kind: str + """ + self._kind = kind + + @property + def api_version(self): + """Gets the api_version of this UpgradeNodePoolResponse. + + API版本,固定值“v3”,该值不可修改。 + + :return: The api_version of this UpgradeNodePoolResponse. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this UpgradeNodePoolResponse. + + API版本,固定值“v3”,该值不可修改。 + + :param api_version: The api_version of this UpgradeNodePoolResponse. + :type api_version: str + """ + self._api_version = api_version + + @property + def metadata(self): + """Gets the metadata of this UpgradeNodePoolResponse. + + :return: The metadata of this UpgradeNodePoolResponse. + :rtype: :class:`huaweicloudsdkcce.v3.JobMetadata` + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this UpgradeNodePoolResponse. + + :param metadata: The metadata of this UpgradeNodePoolResponse. + :type metadata: :class:`huaweicloudsdkcce.v3.JobMetadata` + """ + self._metadata = metadata + + @property + def spec(self): + """Gets the spec of this UpgradeNodePoolResponse. + + :return: The spec of this UpgradeNodePoolResponse. + :rtype: :class:`huaweicloudsdkcce.v3.JobSpec` + """ + return self._spec + + @spec.setter + def spec(self, spec): + """Sets the spec of this UpgradeNodePoolResponse. + + :param spec: The spec of this UpgradeNodePoolResponse. + :type spec: :class:`huaweicloudsdkcce.v3.JobSpec` + """ + self._spec = spec + + @property + def status(self): + """Gets the status of this UpgradeNodePoolResponse. + + :return: The status of this UpgradeNodePoolResponse. + :rtype: :class:`huaweicloudsdkcce.v3.JobStatus` + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this UpgradeNodePoolResponse. + + :param status: The status of this UpgradeNodePoolResponse. + :type status: :class:`huaweicloudsdkcce.v3.JobStatus` + """ + 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, UpgradeNodePoolResponse): + 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-cce/huaweicloudsdkcce/v3/region/cce_region.py b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/region/cce_region.py index 52c311e494..e74b9f57b3 100644 --- a/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/region/cce_region.py +++ b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/region/cce_region.py @@ -62,6 +62,8 @@ class CceRegion: "https://cce.ru-moscow-1.myhuaweicloud.com") ME_EAST_1 = Region("me-east-1", "https://cce.me-east-1.myhuaweicloud.com") + CN_EAST_4 = Region("cn-east-4", + "https://cce.cn-east-4.myhuaweicloud.com") static_fields = { "cn-north-1": CN_NORTH_1, @@ -92,6 +94,7 @@ class CceRegion: "eu-west-0": EU_WEST_0, "ru-moscow-1": RU_MOSCOW_1, "me-east-1": ME_EAST_1, + "cn-east-4": CN_EAST_4, } @classmethod diff --git a/huaweicloud-sdk-cce/requirements.txt b/huaweicloud-sdk-cce/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-cce/requirements.txt +++ b/huaweicloud-sdk-cce/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-cce/setup.py b/huaweicloud-sdk-cce/setup.py index 6fc8e55167..ab956d4ce7 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ccm/requirements.txt b/huaweicloud-sdk-ccm/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-ccm/requirements.txt +++ b/huaweicloud-sdk-ccm/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-ccm/setup.py b/huaweicloud-sdk-ccm/setup.py index 5b61231fd3..af6792e53a 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cdm/requirements.txt b/huaweicloud-sdk-cdm/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-cdm/requirements.txt +++ b/huaweicloud-sdk-cdm/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-cdm/setup.py b/huaweicloud-sdk-cdm/setup.py index d131c2baa3..762f1b9be4 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cdn/requirements.txt b/huaweicloud-sdk-cdn/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-cdn/requirements.txt +++ b/huaweicloud-sdk-cdn/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-cdn/setup.py b/huaweicloud-sdk-cdn/setup.py index 80fb160273..81a096d02d 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ces/requirements.txt b/huaweicloud-sdk-ces/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-ces/requirements.txt +++ b/huaweicloud-sdk-ces/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-ces/setup.py b/huaweicloud-sdk-ces/setup.py index 403114df59..1376f42f69 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cfw/huaweicloudsdkcfw/v1/region/cfw_region.py b/huaweicloud-sdk-cfw/huaweicloudsdkcfw/v1/region/cfw_region.py index 782b7aa5e6..a7bd64d4ee 100644 --- a/huaweicloud-sdk-cfw/huaweicloudsdkcfw/v1/region/cfw_region.py +++ b/huaweicloud-sdk-cfw/huaweicloudsdkcfw/v1/region/cfw_region.py @@ -44,6 +44,8 @@ class CfwRegion: "https://cfw.me-east-1.myhuaweicloud.com") CN_NORTH_11 = Region("cn-north-11", "https://cfw.cn-north-11.myhuaweicloud.com") + CN_SOUTH_2 = Region("cn-south-2", + "https://cfw.cn-south-2.myhuaweicloud.com") static_fields = { "eu-west-101": EU_WEST_101, @@ -65,6 +67,7 @@ class CfwRegion: "tr-west-1": TR_WEST_1, "me-east-1": ME_EAST_1, "cn-north-11": CN_NORTH_11, + "cn-south-2": CN_SOUTH_2, } @classmethod diff --git a/huaweicloud-sdk-cfw/requirements.txt b/huaweicloud-sdk-cfw/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-cfw/requirements.txt +++ b/huaweicloud-sdk-cfw/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-cfw/setup.py b/huaweicloud-sdk-cfw/setup.py index 0a267ceb19..403446892f 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cgs/requirements.txt b/huaweicloud-sdk-cgs/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-cgs/requirements.txt +++ b/huaweicloud-sdk-cgs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-cgs/setup.py b/huaweicloud-sdk-cgs/setup.py index 62a65bf03b..aeb94a7765 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-classroom/requirements.txt b/huaweicloud-sdk-classroom/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-classroom/requirements.txt +++ b/huaweicloud-sdk-classroom/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-classroom/setup.py b/huaweicloud-sdk-classroom/setup.py index 232fa6bd84..2d01b6043b 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cloudide/requirements.txt b/huaweicloud-sdk-cloudide/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-cloudide/requirements.txt +++ b/huaweicloud-sdk-cloudide/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-cloudide/setup.py b/huaweicloud-sdk-cloudide/setup.py index fcf5e34bbe..1f6fd3665f 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cloudpond/requirements.txt b/huaweicloud-sdk-cloudpond/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-cloudpond/requirements.txt +++ b/huaweicloud-sdk-cloudpond/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-cloudpond/setup.py b/huaweicloud-sdk-cloudpond/setup.py index b4c448237f..96425cef5d 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cloudrtc/requirements.txt b/huaweicloud-sdk-cloudrtc/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-cloudrtc/requirements.txt +++ b/huaweicloud-sdk-cloudrtc/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-cloudrtc/setup.py b/huaweicloud-sdk-cloudrtc/setup.py index c635a8fb00..20c7ffb1ed 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cloudtable/requirements.txt b/huaweicloud-sdk-cloudtable/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-cloudtable/requirements.txt +++ b/huaweicloud-sdk-cloudtable/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-cloudtable/setup.py b/huaweicloud-sdk-cloudtable/setup.py index ae0aa19045..87ae938923 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cloudtest/requirements.txt b/huaweicloud-sdk-cloudtest/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-cloudtest/requirements.txt +++ b/huaweicloud-sdk-cloudtest/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-cloudtest/setup.py b/huaweicloud-sdk-cloudtest/setup.py index 8588ca5808..6219512d09 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-codeartsartifact/requirements.txt b/huaweicloud-sdk-codeartsartifact/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-codeartsartifact/requirements.txt +++ b/huaweicloud-sdk-codeartsartifact/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-codeartsartifact/setup.py b/huaweicloud-sdk-codeartsartifact/setup.py index 86d558bfc5..d87078d19f 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-codeartsbuild/requirements.txt b/huaweicloud-sdk-codeartsbuild/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-codeartsbuild/requirements.txt +++ b/huaweicloud-sdk-codeartsbuild/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-codeartsbuild/setup.py b/huaweicloud-sdk-codeartsbuild/setup.py index 94c1c2b8dd..594f03b567 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-codeartscheck/requirements.txt b/huaweicloud-sdk-codeartscheck/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-codeartscheck/requirements.txt +++ b/huaweicloud-sdk-codeartscheck/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-codeartscheck/setup.py b/huaweicloud-sdk-codeartscheck/setup.py index 3171708e65..4dfb4ad4b2 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-codeartsdeploy/requirements.txt b/huaweicloud-sdk-codeartsdeploy/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-codeartsdeploy/requirements.txt +++ b/huaweicloud-sdk-codeartsdeploy/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-codeartsdeploy/setup.py b/huaweicloud-sdk-codeartsdeploy/setup.py index eba062576b..475d754932 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-codeartsgovernance/requirements.txt b/huaweicloud-sdk-codeartsgovernance/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-codeartsgovernance/requirements.txt +++ b/huaweicloud-sdk-codeartsgovernance/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-codeartsgovernance/setup.py b/huaweicloud-sdk-codeartsgovernance/setup.py index 64772286a6..1adb9b8186 100644 --- a/huaweicloud-sdk-codeartsgovernance/setup.py +++ b/huaweicloud-sdk-codeartsgovernance/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcodeartsgovernance" -VERSION = "3.1.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-codeartsinspector/requirements.txt b/huaweicloud-sdk-codeartsinspector/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-codeartsinspector/requirements.txt +++ b/huaweicloud-sdk-codeartsinspector/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-codeartsinspector/setup.py b/huaweicloud-sdk-codeartsinspector/setup.py index 9078ec77d1..ef0de81042 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-codeartspipeline/requirements.txt b/huaweicloud-sdk-codeartspipeline/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-codeartspipeline/requirements.txt +++ b/huaweicloud-sdk-codeartspipeline/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-codeartspipeline/setup.py b/huaweicloud-sdk-codeartspipeline/setup.py index 25041b876b..7c0591bc31 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-codecraft/requirements.txt b/huaweicloud-sdk-codecraft/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-codecraft/requirements.txt +++ b/huaweicloud-sdk-codecraft/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-codecraft/setup.py b/huaweicloud-sdk-codecraft/setup.py index e11ae5c87f..e681e7f5a7 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-codehub/requirements.txt b/huaweicloud-sdk-codehub/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-codehub/requirements.txt +++ b/huaweicloud-sdk-codehub/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-codehub/setup.py b/huaweicloud-sdk-codehub/setup.py index ca94faa6ba..012e8e28e6 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-config/requirements.txt b/huaweicloud-sdk-config/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-config/requirements.txt +++ b/huaweicloud-sdk-config/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-config/setup.py b/huaweicloud-sdk-config/setup.py index 2c0896b404..ba61eb2a13 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-core/huaweicloudsdkcore/auth/credentials.py b/huaweicloud-sdk-core/huaweicloudsdkcore/auth/credentials.py index c22a69c049..d99c7b5d74 100644 --- a/huaweicloud-sdk-core/huaweicloudsdkcore/auth/credentials.py +++ b/huaweicloud-sdk-core/huaweicloudsdkcore/auth/credentials.py @@ -19,6 +19,7 @@ specific language governing permissions and limitations under the LICENSE. """ +import json import os import re from abc import abstractmethod @@ -260,19 +261,30 @@ def process_auth_params(self, http_client, region_id): if self.iam_endpoint is None: self.iam_endpoint = Iam.get_iam_endpoint() req = Iam.get_keystone_list_projects_request(http_client.config, self.iam_endpoint, region_id=region_id) - future_request = self.process_auth_request(req, http_client) - request = future_request.result() try: http_client.logger.info("project id of region '%s' not found in BasicCredentials, " - "trying to obtain project id from IAM service: %s", region_id, self.iam_endpoint) - self.project_id = Iam.keystone_list_projects(http_client, request) - http_client.logger.info("success to obtain project id of region '%s': %s", region_id, self.project_id) + "trying to get project id from IAM service automatically: %s", + region_id, self.iam_endpoint) + response = http_client.do_request_sync(self.process_auth_request(req, http_client).result()) + trace_id = response.headers.get("X-IAM-Trace-Id") + data = json.loads(response.content) + projects = data.get("projects") + if not projects: + raise SdkException("Failed to get project id of region '%s' automatically, X-IAM-Trace-Id=%s. " % ( + region_id, trace_id) + "Confirm that the project exists in your account, " + "or set project id manually: BasicCredentials(ak, sk, project_id)") + elif len(projects) > 1: + project_ids = ",".join(map(lambda project: project["id"], projects)) + raise SdkException("Multiple project ids found: [%s], X-IAM-Trace-Id=%s. " % (project_ids, trace_id) + + "Please select one when initializing the credentials: " + "BasicCredentials(ak, sk, project_id)") + + self.project_id = projects[0]["id"] + http_client.logger.info("success to get project id of region '%s' automatically: %s", + region_id, self.project_id) AuthCache.put_auth(ak_with_name, self.project_id) except ServiceResponseException as e: - err_msg = "failed to obtain project id, " \ - + (e.error_msg if hasattr(e, "error_msg") else "unknown exception.") - raise ApiValueError(err_msg) - + raise SdkException("Failed to get project id of region '%s' automatically, %s" % (region_id, e)) self._derived_predicate = derived_predicate return self @@ -337,18 +349,23 @@ def process_auth_params(self, http_client, region_id): if self.iam_endpoint is None: self.iam_endpoint = Iam.get_iam_endpoint() req = Iam.get_keystone_list_auth_domains_request(http_client.config, self.iam_endpoint) - future_request = self.process_auth_request(req, http_client) - request = future_request.result() try: http_client.logger.info('domain id not found in GlobalCredentials, ' - 'trying to obtain domain id from IAM service: %s', self.iam_endpoint) - self.domain_id = Iam.keystone_list_auth_domains(http_client, request) - http_client.logger.info('success to obtain domain id: %s', self.domain_id) + 'trying to get domain id from IAM service automatically: %s', self.iam_endpoint) + response = http_client.do_request_sync(self.process_auth_request(req, http_client).result()) + trace_id = response.headers.get("X-IAM-Trace-Id") + data = json.loads(response.content) + domains = data.get("domains") + if not domains: + raise SdkException("Failed to get domain id automatically, X-IAM-Trace-Id=%s. " % trace_id + + "Please confirm that you have 'iam:users:getUser' permission, " + "or set domain id manully: GlobalCredentials(ak, sk, domain_id)") + + self.domain_id = domains[0]["id"] + http_client.logger.info('success to get domain id automatically: %s', self.domain_id) AuthCache.put_auth(self.ak, self.domain_id) except ServiceResponseException as e: - err_msg = "failed to obtain domain id, " \ - + (e.error_msg if hasattr(e, "error_msg") else "unknown exception.") - raise ApiValueError(err_msg) + raise SdkException("Failed to get domain id automatically, " + str(e)) self._derived_predicate = derived_predicate diff --git a/huaweicloud-sdk-core/huaweicloudsdkcore/auth/internal.py b/huaweicloud-sdk-core/huaweicloudsdkcore/auth/internal.py index eeb4811c42..1c524833a3 100644 --- a/huaweicloud-sdk-core/huaweicloudsdkcore/auth/internal.py +++ b/huaweicloud-sdk-core/huaweicloudsdkcore/auth/internal.py @@ -22,6 +22,7 @@ import json import os +import warnings import requests from requests.exceptions import HTTPError @@ -64,13 +65,13 @@ def get_credential_from_metadata(cls): raise exceptions.ClientRequestException(http_err.response.status_code, sdk_error) if not resp or not resp.content: - raise exceptions.ApiValueError("failed to get credential from metadata, metadata is empty") + raise exceptions.ApiValueError("Failed to get credential from metadata, metadata is empty") try: credential = json.loads(resp.content).get("credential") return credential except JSON_DECODE_ERROR as decode_err: - raise exceptions.ApiValueError("failed to get credential from metadata: {}".format(decode_err)) + raise exceptions.ApiValueError("Failed to get credential from metadata: {}".format(decode_err)) class Iam(object): @@ -139,7 +140,7 @@ def get_create_token_by_id_token_request(config, iam_endpoint, idp_id, id_token, def create_token_by_id_token(cls, http_client, request): resp = http_client.do_request_sync(request) if not resp or not resp.content or "X-Subject-Token" not in resp.headers: - raise exceptions.ApiValueError("failed to get token by id_token") + raise exceptions.ApiValueError("Failed to get token by id_token") token = resp.headers.get("X-Subject-Token") expired_str = json.loads(resp.content).get("token").get("expires_at") @@ -147,6 +148,8 @@ def create_token_by_id_token(cls, http_client, request): @classmethod def keystone_list_projects(cls, http_client, request): + warnings.warn("This method is for internal use only and is deprecated. " + "It will be removed in a future version.", DeprecationWarning) try: http_response = http_client.do_request_sync(request) except exceptions.ServiceResponseException as e: @@ -186,6 +189,8 @@ def get_keystone_list_auth_domains_request(cls, config, iam_endpoint=None): @classmethod def keystone_list_auth_domains(cls, http_client, request): + warnings.warn("This method is for internal use only and is deprecated. " + "It will be removed in a future version.", DeprecationWarning) try: http_response = http_client.do_request_sync(request) except exceptions.ServiceResponseException as e: diff --git a/huaweicloud-sdk-core/huaweicloudsdkcore/auth/provider.py b/huaweicloud-sdk-core/huaweicloudsdkcore/auth/provider.py index 53f6cbf9e1..f31a974471 100644 --- a/huaweicloud-sdk-core/huaweicloudsdkcore/auth/provider.py +++ b/huaweicloud-sdk-core/huaweicloudsdkcore/auth/provider.py @@ -225,4 +225,4 @@ def get_credentials(self): except (ApiTypeError, ApiValueError, SdkException) as e: errors.append(str(e)) - raise ApiValueError("failed to get credentials from provider chain\n" + "\n".join(errors)) + raise ApiValueError("Failed to get credentials from provider chain\n" + "\n".join(errors)) diff --git a/huaweicloud-sdk-core/setup.py b/huaweicloud-sdk-core/setup.py index 0aa655e608..8ef9754299 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.106" +VERSION = "3.1.107" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" diff --git a/huaweicloud-sdk-core/tests/test_credential_provider.py b/huaweicloud-sdk-core/tests/test_credential_provider.py index f77eb11bb2..be9fe4a605 100644 --- a/huaweicloud-sdk-core/tests/test_credential_provider.py +++ b/huaweicloud-sdk-core/tests/test_credential_provider.py @@ -214,7 +214,7 @@ def test_custom_providers(self): try: chain.get_credentials() except ApiValueError as e: - assert "failed to get credentials from provider chain\n" \ + assert "Failed to get credentials from provider chain\n" \ "credentials file '{}' does not exist\n" \ "ak&sk or idpId&idTokenFile does not exist in environmental variables".format(path) == str(e) diff --git a/huaweicloud-sdk-core/tests/test_credentials.py b/huaweicloud-sdk-core/tests/test_credentials.py index 83097f9b4e..7f660e99aa 100644 --- a/huaweicloud-sdk-core/tests/test_credentials.py +++ b/huaweicloud-sdk-core/tests/test_credentials.py @@ -17,10 +17,16 @@ specific language governing permissions and limitations under the LICENSE. """ +import logging import pytest +import responses +from huaweicloudsdkcore.exceptions.exceptions import SdkException +from huaweicloudsdkcore.exceptions.exception_handler import DefaultExceptionHandler +from huaweicloudsdkcore.http.http_handler import HttpHandler +from huaweicloudsdkcore.http.http_config import HttpConfig +from huaweicloudsdkcore.http.http_client import HttpClient from huaweicloudsdkcore.signer.algorithm import SigningAlgorithm - from huaweicloudsdkcore.auth.credentials import BasicCredentials, GlobalCredentials from huaweicloudsdkcore.sdk_request import SdkRequest @@ -31,6 +37,18 @@ def sdk_request(): header_params={}, query_params=[], signing_algorithm=SigningAlgorithm.get_default()) +@pytest.fixture +def mocked_responses(): + with responses.RequestsMock() as resps: + yield resps + + +@pytest.fixture +def mocked_http_client(): + yield HttpClient(HttpConfig.get_default_config(), HttpHandler(), DefaultExceptionHandler(), + logging.getLogger("test")) + + def test_basic_credentials_sign_with_auth_token(sdk_request): credentials = BasicCredentials() setattr(credentials, "_auth_token", "token") @@ -73,5 +91,75 @@ def test_global_credentials_sign_with_temp_aksk(sdk_request): assert "Authorization" in result.header_params +def test_auto_get_project_id(mocked_http_client, mocked_responses): + mocked_responses.get("https://iam.myhuaweicloud.com/v3/projects", + content_type="application/json", + headers={"X-IAM-Trace-Id": "trace-id"}, + body="{\"projects\":[{\"id\":\"project_id\"}]}") + + credentials = BasicCredentials("ak", "sk") + credentials.process_auth_params(mocked_http_client, "region-id-1") + assert "project_id" == credentials.project_id + + +def test_empty_project_id(mocked_http_client, mocked_responses): + mocked_responses.get("https://iam.myhuaweicloud.com/v3/projects", + content_type="application/json", + headers={"X-IAM-Trace-Id": "trace-id"}, + body="{\"projects\":[]}") + + credentials = BasicCredentials("ak", "sk") + try: + credentials.process_auth_params(mocked_http_client, "region-id-2") + raise AssertionError("Should have thrown a SdkException: Failed to get project id...") + except SdkException as e: + assert ("Failed to get project id of region 'region-id-2' automatically, X-IAM-Trace-Id=trace-id. " + "Confirm that the project exists in your account, " + "or set project id manually: BasicCredentials(ak, sk, project_id)") == e.error_msg + + +def test_multiple_project_ids(mocked_http_client, mocked_responses): + mocked_responses.get("https://iam.myhuaweicloud.com/v3/projects", + content_type="application/json", + headers={"X-IAM-Trace-Id": "trace-id"}, + body="{\"projects\":[{\"id\":\"project_id1\"},{\"id\":\"project_id2\"}]}") + + credentials = BasicCredentials("ak", "sk") + try: + credentials.process_auth_params(mocked_http_client, "region-id-3") + raise AssertionError("Should have thrown a SdkException: multiple project ids found...") + except SdkException as e: + assert ('Multiple project ids found: [project_id1,project_id2], X-IAM-Trace-Id=trace-id. ' + 'Please select one when initializing the credentials: ' + 'BasicCredentials(ak, sk, project_id)') == e.error_msg + + +def test_auto_get_domain_id(mocked_http_client, mocked_responses): + mocked_responses.get("https://iam.myhuaweicloud.com/v3/auth/domains", + content_type="application/json", + headers={"X-IAM-Trace-Id": "trace-id"}, + body="{\"domains\":[{\"id\":\"domain_id\"}]}") + + credentials = GlobalCredentials("ak", "sk") + credentials.process_auth_params(mocked_http_client, "region-id") + assert "domain_id" == credentials.domain_id + + +def test_empty_domain_id(mocked_http_client, mocked_responses): + mocked_responses.get("https://iam.myhuaweicloud.com/v3/auth/domains", + content_type="application/json", + headers={"X-IAM-Trace-Id": "trace-id"}, + body="{\"domains\":[]}") + + credentials = GlobalCredentials("ak2", "sk2") + try: + credentials.process_auth_params(mocked_http_client, "region-id") + raise AssertionError("Should have thrown a SdkException: Failed to get domain id...") + except SdkException as e: + assert ("Failed to get domain id automatically, X-IAM-Trace-Id=trace-id. " + "Please confirm that you have 'iam:users:getUser' permission, " + "or set domain id manully: GlobalCredentials(ak, sk, domain_id)") == e.error_msg + + if __name__ == '__main__': pytest.main() diff --git a/huaweicloud-sdk-cph/requirements.txt b/huaweicloud-sdk-cph/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-cph/requirements.txt +++ b/huaweicloud-sdk-cph/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-cph/setup.py b/huaweicloud-sdk-cph/setup.py index 06460db1b9..9b6c03dd9d 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cpts/requirements.txt b/huaweicloud-sdk-cpts/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-cpts/requirements.txt +++ b/huaweicloud-sdk-cpts/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-cpts/setup.py b/huaweicloud-sdk-cpts/setup.py index 0e28070138..8a94043552 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cse/requirements.txt b/huaweicloud-sdk-cse/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-cse/requirements.txt +++ b/huaweicloud-sdk-cse/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-cse/setup.py b/huaweicloud-sdk-cse/setup.py index c7f440f7d5..13d6f8c9dc 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-csms/requirements.txt b/huaweicloud-sdk-csms/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-csms/requirements.txt +++ b/huaweicloud-sdk-csms/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-csms/setup.py b/huaweicloud-sdk-csms/setup.py index fe076cd212..935fc7de3e 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-css/requirements.txt b/huaweicloud-sdk-css/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-css/requirements.txt +++ b/huaweicloud-sdk-css/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-css/setup.py b/huaweicloud-sdk-css/setup.py index 70a10ac6db..3442de999b 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cts/requirements.txt b/huaweicloud-sdk-cts/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-cts/requirements.txt +++ b/huaweicloud-sdk-cts/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-cts/setup.py b/huaweicloud-sdk-cts/setup.py index a33fc809c1..35ff7aba3c 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-das/requirements.txt b/huaweicloud-sdk-das/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-das/requirements.txt +++ b/huaweicloud-sdk-das/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-das/setup.py b/huaweicloud-sdk-das/setup.py index 079070db7d..129b9c00fe 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/__init__.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/__init__.py index b923414fe2..3bd0483c20 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/__init__.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/__init__.py @@ -18,6 +18,7 @@ from huaweicloudsdkdataartsstudio.v1.model.aggregation_logic_table_vo_search_result_data import AggregationLogicTableVOSearchResultData from huaweicloudsdkdataartsstudio.v1.model.aggregation_logic_table_vo_search_result_data_value import AggregationLogicTableVOSearchResultDataValue from huaweicloudsdkdataartsstudio.v1.model.alarm_info_response_alarm_info import AlarmInfoResponseAlarmInfo +from huaweicloudsdkdataartsstudio.v1.model.algorithm_detail_dto import AlgorithmDetailDTO from huaweicloudsdkdataartsstudio.v1.model.all_model_statistic_vo import AllModelStatisticVO from huaweicloudsdkdataartsstudio.v1.model.all_table_vo import AllTableVO from huaweicloudsdkdataartsstudio.v1.model.api import Api @@ -92,10 +93,13 @@ from huaweicloudsdkdataartsstudio.v1.model.batch_associate_security_level_to_entities_request import BatchAssociateSecurityLevelToEntitiesRequest from huaweicloudsdkdataartsstudio.v1.model.batch_associate_security_level_to_entities_response import BatchAssociateSecurityLevelToEntitiesResponse from huaweicloudsdkdataartsstudio.v1.model.batch_delete_base_dto import BatchDeleteBaseDTO +from huaweicloudsdkdataartsstudio.v1.model.batch_delete_policy_sets_dto import BatchDeletePolicySetsDTO from huaweicloudsdkdataartsstudio.v1.model.batch_delete_rules_base_dto import BatchDeleteRulesBaseDTO from huaweicloudsdkdataartsstudio.v1.model.batch_delete_secrecy_level_dto import BatchDeleteSecrecyLevelDTO from huaweicloudsdkdataartsstudio.v1.model.batch_delete_security_data_classification_rule_request import BatchDeleteSecurityDataClassificationRuleRequest from huaweicloudsdkdataartsstudio.v1.model.batch_delete_security_data_classification_rule_response import BatchDeleteSecurityDataClassificationRuleResponse +from huaweicloudsdkdataartsstudio.v1.model.batch_delete_security_dynamic_masking_policies_request import BatchDeleteSecurityDynamicMaskingPoliciesRequest +from huaweicloudsdkdataartsstudio.v1.model.batch_delete_security_dynamic_masking_policies_response import BatchDeleteSecurityDynamicMaskingPoliciesResponse from huaweicloudsdkdataartsstudio.v1.model.batch_delete_security_permission_set_members_request import BatchDeleteSecurityPermissionSetMembersRequest from huaweicloudsdkdataartsstudio.v1.model.batch_delete_security_permission_set_members_response import BatchDeleteSecurityPermissionSetMembersResponse from huaweicloudsdkdataartsstudio.v1.model.batch_delete_security_permission_set_permissions_request import BatchDeleteSecurityPermissionSetPermissionsRequest @@ -234,6 +238,8 @@ from huaweicloudsdkdataartsstudio.v1.model.create_security_assigned_queue_response import CreateSecurityAssignedQueueResponse from huaweicloudsdkdataartsstudio.v1.model.create_security_data_classification_rule_request import CreateSecurityDataClassificationRuleRequest from huaweicloudsdkdataartsstudio.v1.model.create_security_data_classification_rule_response import CreateSecurityDataClassificationRuleResponse +from huaweicloudsdkdataartsstudio.v1.model.create_security_dynamic_masking_policy_request import CreateSecurityDynamicMaskingPolicyRequest +from huaweicloudsdkdataartsstudio.v1.model.create_security_dynamic_masking_policy_response import CreateSecurityDynamicMaskingPolicyResponse from huaweicloudsdkdataartsstudio.v1.model.create_security_permission_set_member_request import CreateSecurityPermissionSetMemberRequest from huaweicloudsdkdataartsstudio.v1.model.create_security_permission_set_member_response import CreateSecurityPermissionSetMemberResponse from huaweicloudsdkdataartsstudio.v1.model.create_security_permission_set_permission_request import CreateSecurityPermissionSetPermissionRequest @@ -370,6 +376,12 @@ from huaweicloudsdkdataartsstudio.v1.model.ds_process_import_result_vo import DsProcessImportResultVO from huaweicloudsdkdataartsstudio.v1.model.dw_name import DwName from huaweicloudsdkdataartsstudio.v1.model.dw_type import DwType +from huaweicloudsdkdataartsstudio.v1.model.dynamic_masking_policy import DynamicMaskingPolicy +from huaweicloudsdkdataartsstudio.v1.model.dynamic_masking_policy_create import DynamicMaskingPolicyCreate +from huaweicloudsdkdataartsstudio.v1.model.dynamic_masking_policy_create_dto import DynamicMaskingPolicyCreateDTO +from huaweicloudsdkdataartsstudio.v1.model.dynamic_masking_policy_set import DynamicMaskingPolicySet +from huaweicloudsdkdataartsstudio.v1.model.dynamic_masking_policy_update import DynamicMaskingPolicyUpdate +from huaweicloudsdkdataartsstudio.v1.model.dynamic_masking_policy_update_dto import DynamicMaskingPolicyUpdateDTO from huaweicloudsdkdataartsstudio.v1.model.entity import Entity from huaweicloudsdkdataartsstudio.v1.model.entity_privilege_info import EntityPrivilegeInfo from huaweicloudsdkdataartsstudio.v1.model.entity_with_ext_info import EntityWithExtInfo @@ -599,6 +611,8 @@ from huaweicloudsdkdataartsstudio.v1.model.list_security_datasource_urls_response import ListSecurityDatasourceUrlsResponse from huaweicloudsdkdataartsstudio.v1.model.list_security_dlf_data_ware_houses_request import ListSecurityDlfDataWareHousesRequest from huaweicloudsdkdataartsstudio.v1.model.list_security_dlf_data_ware_houses_response import ListSecurityDlfDataWareHousesResponse +from huaweicloudsdkdataartsstudio.v1.model.list_security_dynamic_masking_policies_request import ListSecurityDynamicMaskingPoliciesRequest +from huaweicloudsdkdataartsstudio.v1.model.list_security_dynamic_masking_policies_response import ListSecurityDynamicMaskingPoliciesResponse from huaweicloudsdkdataartsstudio.v1.model.list_security_member_sync_tasks_request import ListSecurityMemberSyncTasksRequest from huaweicloudsdkdataartsstudio.v1.model.list_security_member_sync_tasks_response import ListSecurityMemberSyncTasksResponse from huaweicloudsdkdataartsstudio.v1.model.list_security_permission_set_members_request import ListSecurityPermissionSetMembersRequest @@ -896,6 +910,8 @@ from huaweicloudsdkdataartsstudio.v1.model.show_security_data_classification_rule_group_response import ShowSecurityDataClassificationRuleGroupResponse from huaweicloudsdkdataartsstudio.v1.model.show_security_data_classification_rule_request import ShowSecurityDataClassificationRuleRequest from huaweicloudsdkdataartsstudio.v1.model.show_security_data_classification_rule_response import ShowSecurityDataClassificationRuleResponse +from huaweicloudsdkdataartsstudio.v1.model.show_security_dynamic_masking_policy_request import ShowSecurityDynamicMaskingPolicyRequest +from huaweicloudsdkdataartsstudio.v1.model.show_security_dynamic_masking_policy_response import ShowSecurityDynamicMaskingPolicyResponse from huaweicloudsdkdataartsstudio.v1.model.show_security_member_sync_task_request import ShowSecurityMemberSyncTaskRequest from huaweicloudsdkdataartsstudio.v1.model.show_security_member_sync_task_response import ShowSecurityMemberSyncTaskResponse from huaweicloudsdkdataartsstudio.v1.model.show_security_permission_set_request import ShowSecurityPermissionSetRequest @@ -1010,6 +1026,8 @@ from huaweicloudsdkdataartsstudio.v1.model.update_security_assigned_queue_response import UpdateSecurityAssignedQueueResponse from huaweicloudsdkdataartsstudio.v1.model.update_security_data_classification_rule_request import UpdateSecurityDataClassificationRuleRequest from huaweicloudsdkdataartsstudio.v1.model.update_security_data_classification_rule_response import UpdateSecurityDataClassificationRuleResponse +from huaweicloudsdkdataartsstudio.v1.model.update_security_dynamic_masking_policy_request import UpdateSecurityDynamicMaskingPolicyRequest +from huaweicloudsdkdataartsstudio.v1.model.update_security_dynamic_masking_policy_response import UpdateSecurityDynamicMaskingPolicyResponse from huaweicloudsdkdataartsstudio.v1.model.update_security_permission_set_permission_request import UpdateSecurityPermissionSetPermissionRequest from huaweicloudsdkdataartsstudio.v1.model.update_security_permission_set_permission_response import UpdateSecurityPermissionSetPermissionResponse from huaweicloudsdkdataartsstudio.v1.model.update_security_permission_set_request import UpdateSecurityPermissionSetRequest diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/dataartsstudio_async_client.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/dataartsstudio_async_client.py index a8eb75a975..fe83e8fc56 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/dataartsstudio_async_client.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/dataartsstudio_async_client.py @@ -650,6 +650,73 @@ def _batch_delete_security_data_classification_rule_http_info(self, request): return http_info + def batch_delete_security_dynamic_masking_policies_async(self, request): + """批量删除动态脱敏策略 + + 批量删除动态脱敏策略 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for BatchDeleteSecurityDynamicMaskingPolicies + :type request: :class:`huaweicloudsdkdataartsstudio.v1.BatchDeleteSecurityDynamicMaskingPoliciesRequest` + :rtype: :class:`huaweicloudsdkdataartsstudio.v1.BatchDeleteSecurityDynamicMaskingPoliciesResponse` + """ + http_info = self._batch_delete_security_dynamic_masking_policies_http_info(request) + return self._call_api(**http_info) + + def batch_delete_security_dynamic_masking_policies_async_invoker(self, request): + http_info = self._batch_delete_security_dynamic_masking_policies_http_info(request) + return AsyncInvoker(self, http_info) + + def _batch_delete_security_dynamic_masking_policies_http_info(self, request): + http_info = { + "method": "POST", + "resource_path": "/v1/{project_id}/security/masking/dynamic/policies/batch-delete", + "request_type": request.__class__.__name__, + "response_type": "BatchDeleteSecurityDynamicMaskingPoliciesResponse" + } + + 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 'workspace' in local_var_params: + header_params['workspace'] = local_var_params['workspace'] + + 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;charset=UTF-8']) + + 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 batch_delete_security_permission_set_members_async(self, request): """批量删除权限集成员 @@ -3166,6 +3233,73 @@ def _create_security_data_classification_rule_http_info(self, request): return http_info + def create_security_dynamic_masking_policy_async(self, request): + """创建数据脱敏策略 + + 创建动态数据脱敏策略 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for CreateSecurityDynamicMaskingPolicy + :type request: :class:`huaweicloudsdkdataartsstudio.v1.CreateSecurityDynamicMaskingPolicyRequest` + :rtype: :class:`huaweicloudsdkdataartsstudio.v1.CreateSecurityDynamicMaskingPolicyResponse` + """ + http_info = self._create_security_dynamic_masking_policy_http_info(request) + return self._call_api(**http_info) + + def create_security_dynamic_masking_policy_async_invoker(self, request): + http_info = self._create_security_dynamic_masking_policy_http_info(request) + return AsyncInvoker(self, http_info) + + def _create_security_dynamic_masking_policy_http_info(self, request): + http_info = { + "method": "POST", + "resource_path": "/v1/{project_id}/security/masking/dynamic/policies", + "request_type": request.__class__.__name__, + "response_type": "CreateSecurityDynamicMaskingPolicyResponse" + } + + 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 'workspace' in local_var_params: + header_params['workspace'] = local_var_params['workspace'] + + 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;charset=UTF-8']) + + 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_security_permission_set_async(self, request): """创建权限集 @@ -11223,6 +11357,87 @@ def _list_security_dlf_data_ware_houses_http_info(self, request): return http_info + def list_security_dynamic_masking_policies_async(self, request): + """查询动态数据脱敏策略列表 + + 查询动态数据脱敏策略列表。 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for ListSecurityDynamicMaskingPolicies + :type request: :class:`huaweicloudsdkdataartsstudio.v1.ListSecurityDynamicMaskingPoliciesRequest` + :rtype: :class:`huaweicloudsdkdataartsstudio.v1.ListSecurityDynamicMaskingPoliciesResponse` + """ + http_info = self._list_security_dynamic_masking_policies_http_info(request) + return self._call_api(**http_info) + + def list_security_dynamic_masking_policies_async_invoker(self, request): + http_info = self._list_security_dynamic_masking_policies_http_info(request) + return AsyncInvoker(self, http_info) + + def _list_security_dynamic_masking_policies_http_info(self, request): + http_info = { + "method": "GET", + "resource_path": "/v1/{project_id}/security/masking/dynamic/policies", + "request_type": request.__class__.__name__, + "response_type": "ListSecurityDynamicMaskingPoliciesResponse" + } + + 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 'offset' in local_var_params: + query_params.append(('offset', local_var_params['offset'])) + if 'name' in local_var_params: + query_params.append(('name', local_var_params['name'])) + if 'cluster_name' in local_var_params: + query_params.append(('cluster_name', local_var_params['cluster_name'])) + if 'database_name' in local_var_params: + query_params.append(('database_name', local_var_params['database_name'])) + if 'table_name' in local_var_params: + query_params.append(('table_name', local_var_params['table_name'])) + if 'order_by' in local_var_params: + query_params.append(('order_by', local_var_params['order_by'])) + if 'order_by_asc' in local_var_params: + query_params.append(('order_by_asc', local_var_params['order_by_asc'])) + + header_params = {} + if 'workspace' in local_var_params: + header_params['workspace'] = local_var_params['workspace'] + + 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_security_member_sync_tasks_async(self, request): """查询用户同步列表 @@ -17943,6 +18158,73 @@ def _show_security_data_classification_rule_group_http_info(self, request): return http_info + def show_security_dynamic_masking_policy_async(self, request): + """查询某个脱敏策略的详细信息 + + 查询某个脱敏策略的详细信息 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for ShowSecurityDynamicMaskingPolicy + :type request: :class:`huaweicloudsdkdataartsstudio.v1.ShowSecurityDynamicMaskingPolicyRequest` + :rtype: :class:`huaweicloudsdkdataartsstudio.v1.ShowSecurityDynamicMaskingPolicyResponse` + """ + http_info = self._show_security_dynamic_masking_policy_http_info(request) + return self._call_api(**http_info) + + def show_security_dynamic_masking_policy_async_invoker(self, request): + http_info = self._show_security_dynamic_masking_policy_http_info(request) + return AsyncInvoker(self, http_info) + + def _show_security_dynamic_masking_policy_http_info(self, request): + http_info = { + "method": "GET", + "resource_path": "/v1/{project_id}/security/masking/dynamic/policies/{id}", + "request_type": request.__class__.__name__, + "response_type": "ShowSecurityDynamicMaskingPolicyResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'id' in local_var_params: + path_params['id'] = local_var_params['id'] + + query_params = [] + + header_params = {} + if 'workspace' in local_var_params: + header_params['workspace'] = local_var_params['workspace'] + + 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 show_security_member_sync_task_async(self, request): """查询单个用户同步任务 @@ -19875,6 +20157,75 @@ def _update_security_data_classification_rule_http_info(self, request): return http_info + def update_security_dynamic_masking_policy_async(self, request): + """更新动态数据脱敏策略 + + 更新动态数据脱敏策略 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for UpdateSecurityDynamicMaskingPolicy + :type request: :class:`huaweicloudsdkdataartsstudio.v1.UpdateSecurityDynamicMaskingPolicyRequest` + :rtype: :class:`huaweicloudsdkdataartsstudio.v1.UpdateSecurityDynamicMaskingPolicyResponse` + """ + http_info = self._update_security_dynamic_masking_policy_http_info(request) + return self._call_api(**http_info) + + def update_security_dynamic_masking_policy_async_invoker(self, request): + http_info = self._update_security_dynamic_masking_policy_http_info(request) + return AsyncInvoker(self, http_info) + + def _update_security_dynamic_masking_policy_http_info(self, request): + http_info = { + "method": "PUT", + "resource_path": "/v1/{project_id}/security/masking/dynamic/policies/{id}", + "request_type": request.__class__.__name__, + "response_type": "UpdateSecurityDynamicMaskingPolicyResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'id' in local_var_params: + path_params['id'] = local_var_params['id'] + + query_params = [] + + header_params = {} + if 'workspace' in local_var_params: + header_params['workspace'] = local_var_params['workspace'] + + 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;charset=UTF-8']) + + 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_security_permission_set_async(self, request): """更新权限集 diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/dataartsstudio_client.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/dataartsstudio_client.py index 57a375ca4e..52f95a2aa4 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/dataartsstudio_client.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/dataartsstudio_client.py @@ -650,6 +650,73 @@ def _batch_delete_security_data_classification_rule_http_info(cls, request): return http_info + def batch_delete_security_dynamic_masking_policies(self, request): + """批量删除动态脱敏策略 + + 批量删除动态脱敏策略 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for BatchDeleteSecurityDynamicMaskingPolicies + :type request: :class:`huaweicloudsdkdataartsstudio.v1.BatchDeleteSecurityDynamicMaskingPoliciesRequest` + :rtype: :class:`huaweicloudsdkdataartsstudio.v1.BatchDeleteSecurityDynamicMaskingPoliciesResponse` + """ + http_info = self._batch_delete_security_dynamic_masking_policies_http_info(request) + return self._call_api(**http_info) + + def batch_delete_security_dynamic_masking_policies_invoker(self, request): + http_info = self._batch_delete_security_dynamic_masking_policies_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _batch_delete_security_dynamic_masking_policies_http_info(cls, request): + http_info = { + "method": "POST", + "resource_path": "/v1/{project_id}/security/masking/dynamic/policies/batch-delete", + "request_type": request.__class__.__name__, + "response_type": "BatchDeleteSecurityDynamicMaskingPoliciesResponse" + } + + 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 'workspace' in local_var_params: + header_params['workspace'] = local_var_params['workspace'] + + 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;charset=UTF-8']) + + 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 batch_delete_security_permission_set_members(self, request): """批量删除权限集成员 @@ -3166,6 +3233,73 @@ def _create_security_data_classification_rule_http_info(cls, request): return http_info + def create_security_dynamic_masking_policy(self, request): + """创建数据脱敏策略 + + 创建动态数据脱敏策略 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for CreateSecurityDynamicMaskingPolicy + :type request: :class:`huaweicloudsdkdataartsstudio.v1.CreateSecurityDynamicMaskingPolicyRequest` + :rtype: :class:`huaweicloudsdkdataartsstudio.v1.CreateSecurityDynamicMaskingPolicyResponse` + """ + http_info = self._create_security_dynamic_masking_policy_http_info(request) + return self._call_api(**http_info) + + def create_security_dynamic_masking_policy_invoker(self, request): + http_info = self._create_security_dynamic_masking_policy_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _create_security_dynamic_masking_policy_http_info(cls, request): + http_info = { + "method": "POST", + "resource_path": "/v1/{project_id}/security/masking/dynamic/policies", + "request_type": request.__class__.__name__, + "response_type": "CreateSecurityDynamicMaskingPolicyResponse" + } + + 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 'workspace' in local_var_params: + header_params['workspace'] = local_var_params['workspace'] + + 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;charset=UTF-8']) + + 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_security_permission_set(self, request): """创建权限集 @@ -11223,6 +11357,87 @@ def _list_security_dlf_data_ware_houses_http_info(cls, request): return http_info + def list_security_dynamic_masking_policies(self, request): + """查询动态数据脱敏策略列表 + + 查询动态数据脱敏策略列表。 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for ListSecurityDynamicMaskingPolicies + :type request: :class:`huaweicloudsdkdataartsstudio.v1.ListSecurityDynamicMaskingPoliciesRequest` + :rtype: :class:`huaweicloudsdkdataartsstudio.v1.ListSecurityDynamicMaskingPoliciesResponse` + """ + http_info = self._list_security_dynamic_masking_policies_http_info(request) + return self._call_api(**http_info) + + def list_security_dynamic_masking_policies_invoker(self, request): + http_info = self._list_security_dynamic_masking_policies_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _list_security_dynamic_masking_policies_http_info(cls, request): + http_info = { + "method": "GET", + "resource_path": "/v1/{project_id}/security/masking/dynamic/policies", + "request_type": request.__class__.__name__, + "response_type": "ListSecurityDynamicMaskingPoliciesResponse" + } + + 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 'offset' in local_var_params: + query_params.append(('offset', local_var_params['offset'])) + if 'name' in local_var_params: + query_params.append(('name', local_var_params['name'])) + if 'cluster_name' in local_var_params: + query_params.append(('cluster_name', local_var_params['cluster_name'])) + if 'database_name' in local_var_params: + query_params.append(('database_name', local_var_params['database_name'])) + if 'table_name' in local_var_params: + query_params.append(('table_name', local_var_params['table_name'])) + if 'order_by' in local_var_params: + query_params.append(('order_by', local_var_params['order_by'])) + if 'order_by_asc' in local_var_params: + query_params.append(('order_by_asc', local_var_params['order_by_asc'])) + + header_params = {} + if 'workspace' in local_var_params: + header_params['workspace'] = local_var_params['workspace'] + + 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_security_member_sync_tasks(self, request): """查询用户同步列表 @@ -17943,6 +18158,73 @@ def _show_security_data_classification_rule_group_http_info(cls, request): return http_info + def show_security_dynamic_masking_policy(self, request): + """查询某个脱敏策略的详细信息 + + 查询某个脱敏策略的详细信息 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for ShowSecurityDynamicMaskingPolicy + :type request: :class:`huaweicloudsdkdataartsstudio.v1.ShowSecurityDynamicMaskingPolicyRequest` + :rtype: :class:`huaweicloudsdkdataartsstudio.v1.ShowSecurityDynamicMaskingPolicyResponse` + """ + http_info = self._show_security_dynamic_masking_policy_http_info(request) + return self._call_api(**http_info) + + def show_security_dynamic_masking_policy_invoker(self, request): + http_info = self._show_security_dynamic_masking_policy_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _show_security_dynamic_masking_policy_http_info(cls, request): + http_info = { + "method": "GET", + "resource_path": "/v1/{project_id}/security/masking/dynamic/policies/{id}", + "request_type": request.__class__.__name__, + "response_type": "ShowSecurityDynamicMaskingPolicyResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'id' in local_var_params: + path_params['id'] = local_var_params['id'] + + query_params = [] + + header_params = {} + if 'workspace' in local_var_params: + header_params['workspace'] = local_var_params['workspace'] + + 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 show_security_member_sync_task(self, request): """查询单个用户同步任务 @@ -19875,6 +20157,75 @@ def _update_security_data_classification_rule_http_info(cls, request): return http_info + def update_security_dynamic_masking_policy(self, request): + """更新动态数据脱敏策略 + + 更新动态数据脱敏策略 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for UpdateSecurityDynamicMaskingPolicy + :type request: :class:`huaweicloudsdkdataartsstudio.v1.UpdateSecurityDynamicMaskingPolicyRequest` + :rtype: :class:`huaweicloudsdkdataartsstudio.v1.UpdateSecurityDynamicMaskingPolicyResponse` + """ + http_info = self._update_security_dynamic_masking_policy_http_info(request) + return self._call_api(**http_info) + + def update_security_dynamic_masking_policy_invoker(self, request): + http_info = self._update_security_dynamic_masking_policy_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _update_security_dynamic_masking_policy_http_info(cls, request): + http_info = { + "method": "PUT", + "resource_path": "/v1/{project_id}/security/masking/dynamic/policies/{id}", + "request_type": request.__class__.__name__, + "response_type": "UpdateSecurityDynamicMaskingPolicyResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'id' in local_var_params: + path_params['id'] = local_var_params['id'] + + query_params = [] + + header_params = {} + if 'workspace' in local_var_params: + header_params['workspace'] = local_var_params['workspace'] + + 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;charset=UTF-8']) + + 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_security_permission_set(self, request): """更新权限集 diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/__init__.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/__init__.py index 7f1b499043..fd6b716a05 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/__init__.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/__init__.py @@ -16,6 +16,7 @@ from huaweicloudsdkdataartsstudio.v1.model.aggregation_logic_table_vo_search_result_data import AggregationLogicTableVOSearchResultData from huaweicloudsdkdataartsstudio.v1.model.aggregation_logic_table_vo_search_result_data_value import AggregationLogicTableVOSearchResultDataValue from huaweicloudsdkdataartsstudio.v1.model.alarm_info_response_alarm_info import AlarmInfoResponseAlarmInfo +from huaweicloudsdkdataartsstudio.v1.model.algorithm_detail_dto import AlgorithmDetailDTO from huaweicloudsdkdataartsstudio.v1.model.all_model_statistic_vo import AllModelStatisticVO from huaweicloudsdkdataartsstudio.v1.model.all_table_vo import AllTableVO from huaweicloudsdkdataartsstudio.v1.model.api import Api @@ -90,10 +91,13 @@ from huaweicloudsdkdataartsstudio.v1.model.batch_associate_security_level_to_entities_request import BatchAssociateSecurityLevelToEntitiesRequest from huaweicloudsdkdataartsstudio.v1.model.batch_associate_security_level_to_entities_response import BatchAssociateSecurityLevelToEntitiesResponse from huaweicloudsdkdataartsstudio.v1.model.batch_delete_base_dto import BatchDeleteBaseDTO +from huaweicloudsdkdataartsstudio.v1.model.batch_delete_policy_sets_dto import BatchDeletePolicySetsDTO from huaweicloudsdkdataartsstudio.v1.model.batch_delete_rules_base_dto import BatchDeleteRulesBaseDTO from huaweicloudsdkdataartsstudio.v1.model.batch_delete_secrecy_level_dto import BatchDeleteSecrecyLevelDTO from huaweicloudsdkdataartsstudio.v1.model.batch_delete_security_data_classification_rule_request import BatchDeleteSecurityDataClassificationRuleRequest from huaweicloudsdkdataartsstudio.v1.model.batch_delete_security_data_classification_rule_response import BatchDeleteSecurityDataClassificationRuleResponse +from huaweicloudsdkdataartsstudio.v1.model.batch_delete_security_dynamic_masking_policies_request import BatchDeleteSecurityDynamicMaskingPoliciesRequest +from huaweicloudsdkdataartsstudio.v1.model.batch_delete_security_dynamic_masking_policies_response import BatchDeleteSecurityDynamicMaskingPoliciesResponse from huaweicloudsdkdataartsstudio.v1.model.batch_delete_security_permission_set_members_request import BatchDeleteSecurityPermissionSetMembersRequest from huaweicloudsdkdataartsstudio.v1.model.batch_delete_security_permission_set_members_response import BatchDeleteSecurityPermissionSetMembersResponse from huaweicloudsdkdataartsstudio.v1.model.batch_delete_security_permission_set_permissions_request import BatchDeleteSecurityPermissionSetPermissionsRequest @@ -232,6 +236,8 @@ from huaweicloudsdkdataartsstudio.v1.model.create_security_assigned_queue_response import CreateSecurityAssignedQueueResponse from huaweicloudsdkdataartsstudio.v1.model.create_security_data_classification_rule_request import CreateSecurityDataClassificationRuleRequest from huaweicloudsdkdataartsstudio.v1.model.create_security_data_classification_rule_response import CreateSecurityDataClassificationRuleResponse +from huaweicloudsdkdataartsstudio.v1.model.create_security_dynamic_masking_policy_request import CreateSecurityDynamicMaskingPolicyRequest +from huaweicloudsdkdataartsstudio.v1.model.create_security_dynamic_masking_policy_response import CreateSecurityDynamicMaskingPolicyResponse from huaweicloudsdkdataartsstudio.v1.model.create_security_permission_set_member_request import CreateSecurityPermissionSetMemberRequest from huaweicloudsdkdataartsstudio.v1.model.create_security_permission_set_member_response import CreateSecurityPermissionSetMemberResponse from huaweicloudsdkdataartsstudio.v1.model.create_security_permission_set_permission_request import CreateSecurityPermissionSetPermissionRequest @@ -368,6 +374,12 @@ from huaweicloudsdkdataartsstudio.v1.model.ds_process_import_result_vo import DsProcessImportResultVO from huaweicloudsdkdataartsstudio.v1.model.dw_name import DwName from huaweicloudsdkdataartsstudio.v1.model.dw_type import DwType +from huaweicloudsdkdataartsstudio.v1.model.dynamic_masking_policy import DynamicMaskingPolicy +from huaweicloudsdkdataartsstudio.v1.model.dynamic_masking_policy_create import DynamicMaskingPolicyCreate +from huaweicloudsdkdataartsstudio.v1.model.dynamic_masking_policy_create_dto import DynamicMaskingPolicyCreateDTO +from huaweicloudsdkdataartsstudio.v1.model.dynamic_masking_policy_set import DynamicMaskingPolicySet +from huaweicloudsdkdataartsstudio.v1.model.dynamic_masking_policy_update import DynamicMaskingPolicyUpdate +from huaweicloudsdkdataartsstudio.v1.model.dynamic_masking_policy_update_dto import DynamicMaskingPolicyUpdateDTO from huaweicloudsdkdataartsstudio.v1.model.entity import Entity from huaweicloudsdkdataartsstudio.v1.model.entity_privilege_info import EntityPrivilegeInfo from huaweicloudsdkdataartsstudio.v1.model.entity_with_ext_info import EntityWithExtInfo @@ -597,6 +609,8 @@ from huaweicloudsdkdataartsstudio.v1.model.list_security_datasource_urls_response import ListSecurityDatasourceUrlsResponse from huaweicloudsdkdataartsstudio.v1.model.list_security_dlf_data_ware_houses_request import ListSecurityDlfDataWareHousesRequest from huaweicloudsdkdataartsstudio.v1.model.list_security_dlf_data_ware_houses_response import ListSecurityDlfDataWareHousesResponse +from huaweicloudsdkdataartsstudio.v1.model.list_security_dynamic_masking_policies_request import ListSecurityDynamicMaskingPoliciesRequest +from huaweicloudsdkdataartsstudio.v1.model.list_security_dynamic_masking_policies_response import ListSecurityDynamicMaskingPoliciesResponse from huaweicloudsdkdataartsstudio.v1.model.list_security_member_sync_tasks_request import ListSecurityMemberSyncTasksRequest from huaweicloudsdkdataartsstudio.v1.model.list_security_member_sync_tasks_response import ListSecurityMemberSyncTasksResponse from huaweicloudsdkdataartsstudio.v1.model.list_security_permission_set_members_request import ListSecurityPermissionSetMembersRequest @@ -894,6 +908,8 @@ from huaweicloudsdkdataartsstudio.v1.model.show_security_data_classification_rule_group_response import ShowSecurityDataClassificationRuleGroupResponse from huaweicloudsdkdataartsstudio.v1.model.show_security_data_classification_rule_request import ShowSecurityDataClassificationRuleRequest from huaweicloudsdkdataartsstudio.v1.model.show_security_data_classification_rule_response import ShowSecurityDataClassificationRuleResponse +from huaweicloudsdkdataartsstudio.v1.model.show_security_dynamic_masking_policy_request import ShowSecurityDynamicMaskingPolicyRequest +from huaweicloudsdkdataartsstudio.v1.model.show_security_dynamic_masking_policy_response import ShowSecurityDynamicMaskingPolicyResponse from huaweicloudsdkdataartsstudio.v1.model.show_security_member_sync_task_request import ShowSecurityMemberSyncTaskRequest from huaweicloudsdkdataartsstudio.v1.model.show_security_member_sync_task_response import ShowSecurityMemberSyncTaskResponse from huaweicloudsdkdataartsstudio.v1.model.show_security_permission_set_request import ShowSecurityPermissionSetRequest @@ -1008,6 +1024,8 @@ from huaweicloudsdkdataartsstudio.v1.model.update_security_assigned_queue_response import UpdateSecurityAssignedQueueResponse from huaweicloudsdkdataartsstudio.v1.model.update_security_data_classification_rule_request import UpdateSecurityDataClassificationRuleRequest from huaweicloudsdkdataartsstudio.v1.model.update_security_data_classification_rule_response import UpdateSecurityDataClassificationRuleResponse +from huaweicloudsdkdataartsstudio.v1.model.update_security_dynamic_masking_policy_request import UpdateSecurityDynamicMaskingPolicyRequest +from huaweicloudsdkdataartsstudio.v1.model.update_security_dynamic_masking_policy_response import UpdateSecurityDynamicMaskingPolicyResponse from huaweicloudsdkdataartsstudio.v1.model.update_security_permission_set_permission_request import UpdateSecurityPermissionSetPermissionRequest from huaweicloudsdkdataartsstudio.v1.model.update_security_permission_set_permission_response import UpdateSecurityPermissionSetPermissionResponse from huaweicloudsdkdataartsstudio.v1.model.update_security_permission_set_request import UpdateSecurityPermissionSetRequest diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/algorithm_detail_dto.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/algorithm_detail_dto.py new file mode 100644 index 0000000000..baf6232b79 --- /dev/null +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/algorithm_detail_dto.py @@ -0,0 +1,202 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class AlgorithmDetailDTO: + + """ + 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 = { + 'start': 'int', + 'end': 'int', + 'int_target': 'int', + 'string_target': 'str' + } + + attribute_map = { + 'start': 'start', + 'end': 'end', + 'int_target': 'int_target', + 'string_target': 'string_target' + } + + def __init__(self, start=None, end=None, int_target=None, string_target=None): + """AlgorithmDetailDTO + + The model defined in huaweicloud sdk + + :param start: 开始位数,该值需要大于0且小于end值。 + :type start: int + :param end: 结束位数,该值需要大于或等于start值。 + :type end: int + :param int_target: 数值类型。 + :type int_target: int + :param string_target: 字符串类型。可输入参数为\"*\"或者\"#\"。 + :type string_target: str + """ + + + + self._start = None + self._end = None + self._int_target = None + self._string_target = None + self.discriminator = None + + if start is not None: + self.start = start + if end is not None: + self.end = end + if int_target is not None: + self.int_target = int_target + if string_target is not None: + self.string_target = string_target + + @property + def start(self): + """Gets the start of this AlgorithmDetailDTO. + + 开始位数,该值需要大于0且小于end值。 + + :return: The start of this AlgorithmDetailDTO. + :rtype: int + """ + return self._start + + @start.setter + def start(self, start): + """Sets the start of this AlgorithmDetailDTO. + + 开始位数,该值需要大于0且小于end值。 + + :param start: The start of this AlgorithmDetailDTO. + :type start: int + """ + self._start = start + + @property + def end(self): + """Gets the end of this AlgorithmDetailDTO. + + 结束位数,该值需要大于或等于start值。 + + :return: The end of this AlgorithmDetailDTO. + :rtype: int + """ + return self._end + + @end.setter + def end(self, end): + """Sets the end of this AlgorithmDetailDTO. + + 结束位数,该值需要大于或等于start值。 + + :param end: The end of this AlgorithmDetailDTO. + :type end: int + """ + self._end = end + + @property + def int_target(self): + """Gets the int_target of this AlgorithmDetailDTO. + + 数值类型。 + + :return: The int_target of this AlgorithmDetailDTO. + :rtype: int + """ + return self._int_target + + @int_target.setter + def int_target(self, int_target): + """Sets the int_target of this AlgorithmDetailDTO. + + 数值类型。 + + :param int_target: The int_target of this AlgorithmDetailDTO. + :type int_target: int + """ + self._int_target = int_target + + @property + def string_target(self): + """Gets the string_target of this AlgorithmDetailDTO. + + 字符串类型。可输入参数为\"*\"或者\"#\"。 + + :return: The string_target of this AlgorithmDetailDTO. + :rtype: str + """ + return self._string_target + + @string_target.setter + def string_target(self, string_target): + """Sets the string_target of this AlgorithmDetailDTO. + + 字符串类型。可输入参数为\"*\"或者\"#\"。 + + :param string_target: The string_target of this AlgorithmDetailDTO. + :type string_target: str + """ + self._string_target = string_target + + 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, AlgorithmDetailDTO): + 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-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/batch_delete_policy_sets_dto.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/batch_delete_policy_sets_dto.py new file mode 100644 index 0000000000..3b58b46be3 --- /dev/null +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/batch_delete_policy_sets_dto.py @@ -0,0 +1,115 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class BatchDeletePolicySetsDTO: + + """ + 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 = { + 'ids': 'list[str]' + } + + attribute_map = { + 'ids': 'ids' + } + + def __init__(self, ids=None): + """BatchDeletePolicySetsDTO + + The model defined in huaweicloud sdk + + :param ids: 待删除动态脱敏策略id列表。 + :type ids: list[str] + """ + + + + self._ids = None + self.discriminator = None + + if ids is not None: + self.ids = ids + + @property + def ids(self): + """Gets the ids of this BatchDeletePolicySetsDTO. + + 待删除动态脱敏策略id列表。 + + :return: The ids of this BatchDeletePolicySetsDTO. + :rtype: list[str] + """ + return self._ids + + @ids.setter + def ids(self, ids): + """Sets the ids of this BatchDeletePolicySetsDTO. + + 待删除动态脱敏策略id列表。 + + :param ids: The ids of this BatchDeletePolicySetsDTO. + :type ids: list[str] + """ + self._ids = ids + + 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, BatchDeletePolicySetsDTO): + 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-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/batch_delete_security_dynamic_masking_policies_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/batch_delete_security_dynamic_masking_policies_request.py new file mode 100644 index 0000000000..2cadd3022b --- /dev/null +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/batch_delete_security_dynamic_masking_policies_request.py @@ -0,0 +1,139 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class BatchDeleteSecurityDynamicMaskingPoliciesRequest: + + """ + 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 = { + 'workspace': 'str', + 'body': 'BatchDeletePolicySetsDTO' + } + + attribute_map = { + 'workspace': 'workspace', + 'body': 'body' + } + + def __init__(self, workspace=None, body=None): + """BatchDeleteSecurityDynamicMaskingPoliciesRequest + + The model defined in huaweicloud sdk + + :param workspace: DataArts Studio工作空间ID + :type workspace: str + :param body: Body of the BatchDeleteSecurityDynamicMaskingPoliciesRequest + :type body: :class:`huaweicloudsdkdataartsstudio.v1.BatchDeletePolicySetsDTO` + """ + + + + self._workspace = None + self._body = None + self.discriminator = None + + self.workspace = workspace + if body is not None: + self.body = body + + @property + def workspace(self): + """Gets the workspace of this BatchDeleteSecurityDynamicMaskingPoliciesRequest. + + DataArts Studio工作空间ID + + :return: The workspace of this BatchDeleteSecurityDynamicMaskingPoliciesRequest. + :rtype: str + """ + return self._workspace + + @workspace.setter + def workspace(self, workspace): + """Sets the workspace of this BatchDeleteSecurityDynamicMaskingPoliciesRequest. + + DataArts Studio工作空间ID + + :param workspace: The workspace of this BatchDeleteSecurityDynamicMaskingPoliciesRequest. + :type workspace: str + """ + self._workspace = workspace + + @property + def body(self): + """Gets the body of this BatchDeleteSecurityDynamicMaskingPoliciesRequest. + + :return: The body of this BatchDeleteSecurityDynamicMaskingPoliciesRequest. + :rtype: :class:`huaweicloudsdkdataartsstudio.v1.BatchDeletePolicySetsDTO` + """ + return self._body + + @body.setter + def body(self, body): + """Sets the body of this BatchDeleteSecurityDynamicMaskingPoliciesRequest. + + :param body: The body of this BatchDeleteSecurityDynamicMaskingPoliciesRequest. + :type body: :class:`huaweicloudsdkdataartsstudio.v1.BatchDeletePolicySetsDTO` + """ + 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, BatchDeleteSecurityDynamicMaskingPoliciesRequest): + 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-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/batch_delete_security_dynamic_masking_policies_response.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/batch_delete_security_dynamic_masking_policies_response.py new file mode 100644 index 0000000000..5fefa909b9 --- /dev/null +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/batch_delete_security_dynamic_masking_policies_response.py @@ -0,0 +1,85 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_response import SdkResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class BatchDeleteSecurityDynamicMaskingPoliciesResponse(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): + """BatchDeleteSecurityDynamicMaskingPoliciesResponse + + The model defined in huaweicloud sdk + + """ + + super(BatchDeleteSecurityDynamicMaskingPoliciesResponse, 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, BatchDeleteSecurityDynamicMaskingPoliciesResponse): + 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-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/create_security_dynamic_masking_policy_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/create_security_dynamic_masking_policy_request.py new file mode 100644 index 0000000000..22055704ed --- /dev/null +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/create_security_dynamic_masking_policy_request.py @@ -0,0 +1,139 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class CreateSecurityDynamicMaskingPolicyRequest: + + """ + 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 = { + 'workspace': 'str', + 'body': 'DynamicMaskingPolicyCreateDTO' + } + + attribute_map = { + 'workspace': 'workspace', + 'body': 'body' + } + + def __init__(self, workspace=None, body=None): + """CreateSecurityDynamicMaskingPolicyRequest + + The model defined in huaweicloud sdk + + :param workspace: DataArts Studio工作空间ID + :type workspace: str + :param body: Body of the CreateSecurityDynamicMaskingPolicyRequest + :type body: :class:`huaweicloudsdkdataartsstudio.v1.DynamicMaskingPolicyCreateDTO` + """ + + + + self._workspace = None + self._body = None + self.discriminator = None + + self.workspace = workspace + if body is not None: + self.body = body + + @property + def workspace(self): + """Gets the workspace of this CreateSecurityDynamicMaskingPolicyRequest. + + DataArts Studio工作空间ID + + :return: The workspace of this CreateSecurityDynamicMaskingPolicyRequest. + :rtype: str + """ + return self._workspace + + @workspace.setter + def workspace(self, workspace): + """Sets the workspace of this CreateSecurityDynamicMaskingPolicyRequest. + + DataArts Studio工作空间ID + + :param workspace: The workspace of this CreateSecurityDynamicMaskingPolicyRequest. + :type workspace: str + """ + self._workspace = workspace + + @property + def body(self): + """Gets the body of this CreateSecurityDynamicMaskingPolicyRequest. + + :return: The body of this CreateSecurityDynamicMaskingPolicyRequest. + :rtype: :class:`huaweicloudsdkdataartsstudio.v1.DynamicMaskingPolicyCreateDTO` + """ + return self._body + + @body.setter + def body(self, body): + """Sets the body of this CreateSecurityDynamicMaskingPolicyRequest. + + :param body: The body of this CreateSecurityDynamicMaskingPolicyRequest. + :type body: :class:`huaweicloudsdkdataartsstudio.v1.DynamicMaskingPolicyCreateDTO` + """ + 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, CreateSecurityDynamicMaskingPolicyRequest): + 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-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/create_security_dynamic_masking_policy_response.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/create_security_dynamic_masking_policy_response.py new file mode 100644 index 0000000000..e3479f5b97 --- /dev/null +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/create_security_dynamic_masking_policy_response.py @@ -0,0 +1,696 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_response import SdkResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class CreateSecurityDynamicMaskingPolicyResponse(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 = { + 'id': 'str', + 'name': 'str', + 'datasource_type': 'str', + 'cluster_id': 'str', + 'cluster_name': 'str', + 'database_name': 'str', + 'table_id': 'str', + 'table_name': 'str', + 'user_groups': 'str', + 'users': 'str', + 'conn_name': 'str', + 'conn_id': 'str', + 'sync_status': 'str', + 'sync_msg': 'str', + 'sync_log': 'str', + 'create_time': 'int', + 'create_user': 'str', + 'update_time': 'int', + 'update_user': 'str', + 'schema_name': 'str', + 'policy_list': 'list[DynamicMaskingPolicy]' + } + + attribute_map = { + 'id': 'id', + 'name': 'name', + 'datasource_type': 'datasource_type', + 'cluster_id': 'cluster_id', + 'cluster_name': 'cluster_name', + 'database_name': 'database_name', + 'table_id': 'table_id', + 'table_name': 'table_name', + 'user_groups': 'user_groups', + 'users': 'users', + 'conn_name': 'conn_name', + 'conn_id': 'conn_id', + 'sync_status': 'sync_status', + 'sync_msg': 'sync_msg', + 'sync_log': 'sync_log', + 'create_time': 'create_time', + 'create_user': 'create_user', + 'update_time': 'update_time', + 'update_user': 'update_user', + 'schema_name': 'schema_name', + 'policy_list': 'policy_list' + } + + def __init__(self, id=None, name=None, datasource_type=None, cluster_id=None, cluster_name=None, database_name=None, table_id=None, table_name=None, user_groups=None, users=None, conn_name=None, conn_id=None, sync_status=None, sync_msg=None, sync_log=None, create_time=None, create_user=None, update_time=None, update_user=None, schema_name=None, policy_list=None): + """CreateSecurityDynamicMaskingPolicyResponse + + The model defined in huaweicloud sdk + + :param id: 策略id。 + :type id: str + :param name: 策略名称。英文和汉字开头, 支持英文、汉字、数字、下划线, 2-64字符。 + :type name: str + :param datasource_type: 数据源类型 - HIVE数据源 - DWS数据源 - [DLI数据源](tag:nohcs) + :type datasource_type: str + :param cluster_id: 集群id。请于集群管理页面查看集群ID信息。[当数据源类型为DLI时,该参数需要填写为DLI](tag:nohcs)。 + :type cluster_id: str + :param cluster_name: 集群名称。请于集群管理页面查看集群名称信息。[当数据源类型为DLI时,该参数需要填写为DLI](tag:nohcs)。 + :type cluster_name: str + :param database_name: 数据库名称。获取方法请参见[获取数据源中的表](getDataTables.html)。 + :type database_name: str + :param table_id: 数据表id,获取方法请参见[获取数据源中的表](getDataTables.html)。 + :type table_id: str + :param table_name: 数据表名称, 获取方法请参见[获取数据源中的表](getDataTables.html)。 + :type table_name: str + :param user_groups: 用户组列表,用户组名称逗号分隔(非必填项,但用户、用户组必须二选其一进行配置)。例如:\"userGroup1,userGroup2\"。 + :type user_groups: str + :param users: 用户列表,用户名称逗号分隔(非必填项,但用户、用户组必须二选其一进行配置),例如:\"user1,user2\"。 + :type users: str + :param conn_name: 数据连接名称,获取方法请参见[查询数据连接列表](ListDataconnections.html)。 + :type conn_name: str + :param conn_id: 数据连接id,获取方法请参见[查询数据连接列表](ListDataconnections.html)。 + :type conn_id: str + :param sync_status: 同步状态: - UNKNOWN 未知状态 - NOT_SYNC 未同步 - SYNCING 同步中 - SYNC_SUCCESS 同步成功 - SYNC_FAIL 同步失败 - SYNC_PARTIAL_FAIL 存在失败 - DELETE_FAIL 删除失败 - DELETING 删除中 - UPDATING 更新中 - DATA_UPDATED 数据存在更新 + :type sync_status: str + :param sync_msg: 策略同步信息。 + :type sync_msg: str + :param sync_log: 同步运行日志, 格式为 字段同步信息+换行符。 + :type sync_log: str + :param create_time: 策略创建时间。 + :type create_time: int + :param create_user: 策略创建者。 + :type create_user: str + :param update_time: 策略更新时间。 + :type update_time: int + :param update_user: 策略更新者。 + :type update_user: str + :param schema_name: DWS数据源的模式名称。 + :type schema_name: str + :param policy_list: 动态数据脱敏策略列表。 + :type policy_list: list[:class:`huaweicloudsdkdataartsstudio.v1.DynamicMaskingPolicy`] + """ + + super(CreateSecurityDynamicMaskingPolicyResponse, self).__init__() + + self._id = None + self._name = None + self._datasource_type = None + self._cluster_id = None + self._cluster_name = None + self._database_name = None + self._table_id = None + self._table_name = None + self._user_groups = None + self._users = None + self._conn_name = None + self._conn_id = None + self._sync_status = None + self._sync_msg = None + self._sync_log = None + self._create_time = None + self._create_user = None + self._update_time = None + self._update_user = None + self._schema_name = None + self._policy_list = None + self.discriminator = None + + if id is not None: + self.id = id + if name is not None: + self.name = name + if datasource_type is not None: + self.datasource_type = datasource_type + if cluster_id is not None: + self.cluster_id = cluster_id + if cluster_name is not None: + self.cluster_name = cluster_name + if database_name is not None: + self.database_name = database_name + if table_id is not None: + self.table_id = table_id + if table_name is not None: + self.table_name = table_name + if user_groups is not None: + self.user_groups = user_groups + if users is not None: + self.users = users + if conn_name is not None: + self.conn_name = conn_name + if conn_id is not None: + self.conn_id = conn_id + if sync_status is not None: + self.sync_status = sync_status + if sync_msg is not None: + self.sync_msg = sync_msg + if sync_log is not None: + self.sync_log = sync_log + if create_time is not None: + self.create_time = create_time + if create_user is not None: + self.create_user = create_user + if update_time is not None: + self.update_time = update_time + if update_user is not None: + self.update_user = update_user + if schema_name is not None: + self.schema_name = schema_name + if policy_list is not None: + self.policy_list = policy_list + + @property + def id(self): + """Gets the id of this CreateSecurityDynamicMaskingPolicyResponse. + + 策略id。 + + :return: The id of this CreateSecurityDynamicMaskingPolicyResponse. + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this CreateSecurityDynamicMaskingPolicyResponse. + + 策略id。 + + :param id: The id of this CreateSecurityDynamicMaskingPolicyResponse. + :type id: str + """ + self._id = id + + @property + def name(self): + """Gets the name of this CreateSecurityDynamicMaskingPolicyResponse. + + 策略名称。英文和汉字开头, 支持英文、汉字、数字、下划线, 2-64字符。 + + :return: The name of this CreateSecurityDynamicMaskingPolicyResponse. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this CreateSecurityDynamicMaskingPolicyResponse. + + 策略名称。英文和汉字开头, 支持英文、汉字、数字、下划线, 2-64字符。 + + :param name: The name of this CreateSecurityDynamicMaskingPolicyResponse. + :type name: str + """ + self._name = name + + @property + def datasource_type(self): + """Gets the datasource_type of this CreateSecurityDynamicMaskingPolicyResponse. + + 数据源类型 - HIVE数据源 - DWS数据源 - [DLI数据源](tag:nohcs) + + :return: The datasource_type of this CreateSecurityDynamicMaskingPolicyResponse. + :rtype: str + """ + return self._datasource_type + + @datasource_type.setter + def datasource_type(self, datasource_type): + """Sets the datasource_type of this CreateSecurityDynamicMaskingPolicyResponse. + + 数据源类型 - HIVE数据源 - DWS数据源 - [DLI数据源](tag:nohcs) + + :param datasource_type: The datasource_type of this CreateSecurityDynamicMaskingPolicyResponse. + :type datasource_type: str + """ + self._datasource_type = datasource_type + + @property + def cluster_id(self): + """Gets the cluster_id of this CreateSecurityDynamicMaskingPolicyResponse. + + 集群id。请于集群管理页面查看集群ID信息。[当数据源类型为DLI时,该参数需要填写为DLI](tag:nohcs)。 + + :return: The cluster_id of this CreateSecurityDynamicMaskingPolicyResponse. + :rtype: str + """ + return self._cluster_id + + @cluster_id.setter + def cluster_id(self, cluster_id): + """Sets the cluster_id of this CreateSecurityDynamicMaskingPolicyResponse. + + 集群id。请于集群管理页面查看集群ID信息。[当数据源类型为DLI时,该参数需要填写为DLI](tag:nohcs)。 + + :param cluster_id: The cluster_id of this CreateSecurityDynamicMaskingPolicyResponse. + :type cluster_id: str + """ + self._cluster_id = cluster_id + + @property + def cluster_name(self): + """Gets the cluster_name of this CreateSecurityDynamicMaskingPolicyResponse. + + 集群名称。请于集群管理页面查看集群名称信息。[当数据源类型为DLI时,该参数需要填写为DLI](tag:nohcs)。 + + :return: The cluster_name of this CreateSecurityDynamicMaskingPolicyResponse. + :rtype: str + """ + return self._cluster_name + + @cluster_name.setter + def cluster_name(self, cluster_name): + """Sets the cluster_name of this CreateSecurityDynamicMaskingPolicyResponse. + + 集群名称。请于集群管理页面查看集群名称信息。[当数据源类型为DLI时,该参数需要填写为DLI](tag:nohcs)。 + + :param cluster_name: The cluster_name of this CreateSecurityDynamicMaskingPolicyResponse. + :type cluster_name: str + """ + self._cluster_name = cluster_name + + @property + def database_name(self): + """Gets the database_name of this CreateSecurityDynamicMaskingPolicyResponse. + + 数据库名称。获取方法请参见[获取数据源中的表](getDataTables.html)。 + + :return: The database_name of this CreateSecurityDynamicMaskingPolicyResponse. + :rtype: str + """ + return self._database_name + + @database_name.setter + def database_name(self, database_name): + """Sets the database_name of this CreateSecurityDynamicMaskingPolicyResponse. + + 数据库名称。获取方法请参见[获取数据源中的表](getDataTables.html)。 + + :param database_name: The database_name of this CreateSecurityDynamicMaskingPolicyResponse. + :type database_name: str + """ + self._database_name = database_name + + @property + def table_id(self): + """Gets the table_id of this CreateSecurityDynamicMaskingPolicyResponse. + + 数据表id,获取方法请参见[获取数据源中的表](getDataTables.html)。 + + :return: The table_id of this CreateSecurityDynamicMaskingPolicyResponse. + :rtype: str + """ + return self._table_id + + @table_id.setter + def table_id(self, table_id): + """Sets the table_id of this CreateSecurityDynamicMaskingPolicyResponse. + + 数据表id,获取方法请参见[获取数据源中的表](getDataTables.html)。 + + :param table_id: The table_id of this CreateSecurityDynamicMaskingPolicyResponse. + :type table_id: str + """ + self._table_id = table_id + + @property + def table_name(self): + """Gets the table_name of this CreateSecurityDynamicMaskingPolicyResponse. + + 数据表名称, 获取方法请参见[获取数据源中的表](getDataTables.html)。 + + :return: The table_name of this CreateSecurityDynamicMaskingPolicyResponse. + :rtype: str + """ + return self._table_name + + @table_name.setter + def table_name(self, table_name): + """Sets the table_name of this CreateSecurityDynamicMaskingPolicyResponse. + + 数据表名称, 获取方法请参见[获取数据源中的表](getDataTables.html)。 + + :param table_name: The table_name of this CreateSecurityDynamicMaskingPolicyResponse. + :type table_name: str + """ + self._table_name = table_name + + @property + def user_groups(self): + """Gets the user_groups of this CreateSecurityDynamicMaskingPolicyResponse. + + 用户组列表,用户组名称逗号分隔(非必填项,但用户、用户组必须二选其一进行配置)。例如:\"userGroup1,userGroup2\"。 + + :return: The user_groups of this CreateSecurityDynamicMaskingPolicyResponse. + :rtype: str + """ + return self._user_groups + + @user_groups.setter + def user_groups(self, user_groups): + """Sets the user_groups of this CreateSecurityDynamicMaskingPolicyResponse. + + 用户组列表,用户组名称逗号分隔(非必填项,但用户、用户组必须二选其一进行配置)。例如:\"userGroup1,userGroup2\"。 + + :param user_groups: The user_groups of this CreateSecurityDynamicMaskingPolicyResponse. + :type user_groups: str + """ + self._user_groups = user_groups + + @property + def users(self): + """Gets the users of this CreateSecurityDynamicMaskingPolicyResponse. + + 用户列表,用户名称逗号分隔(非必填项,但用户、用户组必须二选其一进行配置),例如:\"user1,user2\"。 + + :return: The users of this CreateSecurityDynamicMaskingPolicyResponse. + :rtype: str + """ + return self._users + + @users.setter + def users(self, users): + """Sets the users of this CreateSecurityDynamicMaskingPolicyResponse. + + 用户列表,用户名称逗号分隔(非必填项,但用户、用户组必须二选其一进行配置),例如:\"user1,user2\"。 + + :param users: The users of this CreateSecurityDynamicMaskingPolicyResponse. + :type users: str + """ + self._users = users + + @property + def conn_name(self): + """Gets the conn_name of this CreateSecurityDynamicMaskingPolicyResponse. + + 数据连接名称,获取方法请参见[查询数据连接列表](ListDataconnections.html)。 + + :return: The conn_name of this CreateSecurityDynamicMaskingPolicyResponse. + :rtype: str + """ + return self._conn_name + + @conn_name.setter + def conn_name(self, conn_name): + """Sets the conn_name of this CreateSecurityDynamicMaskingPolicyResponse. + + 数据连接名称,获取方法请参见[查询数据连接列表](ListDataconnections.html)。 + + :param conn_name: The conn_name of this CreateSecurityDynamicMaskingPolicyResponse. + :type conn_name: str + """ + self._conn_name = conn_name + + @property + def conn_id(self): + """Gets the conn_id of this CreateSecurityDynamicMaskingPolicyResponse. + + 数据连接id,获取方法请参见[查询数据连接列表](ListDataconnections.html)。 + + :return: The conn_id of this CreateSecurityDynamicMaskingPolicyResponse. + :rtype: str + """ + return self._conn_id + + @conn_id.setter + def conn_id(self, conn_id): + """Sets the conn_id of this CreateSecurityDynamicMaskingPolicyResponse. + + 数据连接id,获取方法请参见[查询数据连接列表](ListDataconnections.html)。 + + :param conn_id: The conn_id of this CreateSecurityDynamicMaskingPolicyResponse. + :type conn_id: str + """ + self._conn_id = conn_id + + @property + def sync_status(self): + """Gets the sync_status of this CreateSecurityDynamicMaskingPolicyResponse. + + 同步状态: - UNKNOWN 未知状态 - NOT_SYNC 未同步 - SYNCING 同步中 - SYNC_SUCCESS 同步成功 - SYNC_FAIL 同步失败 - SYNC_PARTIAL_FAIL 存在失败 - DELETE_FAIL 删除失败 - DELETING 删除中 - UPDATING 更新中 - DATA_UPDATED 数据存在更新 + + :return: The sync_status of this CreateSecurityDynamicMaskingPolicyResponse. + :rtype: str + """ + return self._sync_status + + @sync_status.setter + def sync_status(self, sync_status): + """Sets the sync_status of this CreateSecurityDynamicMaskingPolicyResponse. + + 同步状态: - UNKNOWN 未知状态 - NOT_SYNC 未同步 - SYNCING 同步中 - SYNC_SUCCESS 同步成功 - SYNC_FAIL 同步失败 - SYNC_PARTIAL_FAIL 存在失败 - DELETE_FAIL 删除失败 - DELETING 删除中 - UPDATING 更新中 - DATA_UPDATED 数据存在更新 + + :param sync_status: The sync_status of this CreateSecurityDynamicMaskingPolicyResponse. + :type sync_status: str + """ + self._sync_status = sync_status + + @property + def sync_msg(self): + """Gets the sync_msg of this CreateSecurityDynamicMaskingPolicyResponse. + + 策略同步信息。 + + :return: The sync_msg of this CreateSecurityDynamicMaskingPolicyResponse. + :rtype: str + """ + return self._sync_msg + + @sync_msg.setter + def sync_msg(self, sync_msg): + """Sets the sync_msg of this CreateSecurityDynamicMaskingPolicyResponse. + + 策略同步信息。 + + :param sync_msg: The sync_msg of this CreateSecurityDynamicMaskingPolicyResponse. + :type sync_msg: str + """ + self._sync_msg = sync_msg + + @property + def sync_log(self): + """Gets the sync_log of this CreateSecurityDynamicMaskingPolicyResponse. + + 同步运行日志, 格式为 字段同步信息+换行符。 + + :return: The sync_log of this CreateSecurityDynamicMaskingPolicyResponse. + :rtype: str + """ + return self._sync_log + + @sync_log.setter + def sync_log(self, sync_log): + """Sets the sync_log of this CreateSecurityDynamicMaskingPolicyResponse. + + 同步运行日志, 格式为 字段同步信息+换行符。 + + :param sync_log: The sync_log of this CreateSecurityDynamicMaskingPolicyResponse. + :type sync_log: str + """ + self._sync_log = sync_log + + @property + def create_time(self): + """Gets the create_time of this CreateSecurityDynamicMaskingPolicyResponse. + + 策略创建时间。 + + :return: The create_time of this CreateSecurityDynamicMaskingPolicyResponse. + :rtype: int + """ + return self._create_time + + @create_time.setter + def create_time(self, create_time): + """Sets the create_time of this CreateSecurityDynamicMaskingPolicyResponse. + + 策略创建时间。 + + :param create_time: The create_time of this CreateSecurityDynamicMaskingPolicyResponse. + :type create_time: int + """ + self._create_time = create_time + + @property + def create_user(self): + """Gets the create_user of this CreateSecurityDynamicMaskingPolicyResponse. + + 策略创建者。 + + :return: The create_user of this CreateSecurityDynamicMaskingPolicyResponse. + :rtype: str + """ + return self._create_user + + @create_user.setter + def create_user(self, create_user): + """Sets the create_user of this CreateSecurityDynamicMaskingPolicyResponse. + + 策略创建者。 + + :param create_user: The create_user of this CreateSecurityDynamicMaskingPolicyResponse. + :type create_user: str + """ + self._create_user = create_user + + @property + def update_time(self): + """Gets the update_time of this CreateSecurityDynamicMaskingPolicyResponse. + + 策略更新时间。 + + :return: The update_time of this CreateSecurityDynamicMaskingPolicyResponse. + :rtype: int + """ + return self._update_time + + @update_time.setter + def update_time(self, update_time): + """Sets the update_time of this CreateSecurityDynamicMaskingPolicyResponse. + + 策略更新时间。 + + :param update_time: The update_time of this CreateSecurityDynamicMaskingPolicyResponse. + :type update_time: int + """ + self._update_time = update_time + + @property + def update_user(self): + """Gets the update_user of this CreateSecurityDynamicMaskingPolicyResponse. + + 策略更新者。 + + :return: The update_user of this CreateSecurityDynamicMaskingPolicyResponse. + :rtype: str + """ + return self._update_user + + @update_user.setter + def update_user(self, update_user): + """Sets the update_user of this CreateSecurityDynamicMaskingPolicyResponse. + + 策略更新者。 + + :param update_user: The update_user of this CreateSecurityDynamicMaskingPolicyResponse. + :type update_user: str + """ + self._update_user = update_user + + @property + def schema_name(self): + """Gets the schema_name of this CreateSecurityDynamicMaskingPolicyResponse. + + DWS数据源的模式名称。 + + :return: The schema_name of this CreateSecurityDynamicMaskingPolicyResponse. + :rtype: str + """ + return self._schema_name + + @schema_name.setter + def schema_name(self, schema_name): + """Sets the schema_name of this CreateSecurityDynamicMaskingPolicyResponse. + + DWS数据源的模式名称。 + + :param schema_name: The schema_name of this CreateSecurityDynamicMaskingPolicyResponse. + :type schema_name: str + """ + self._schema_name = schema_name + + @property + def policy_list(self): + """Gets the policy_list of this CreateSecurityDynamicMaskingPolicyResponse. + + 动态数据脱敏策略列表。 + + :return: The policy_list of this CreateSecurityDynamicMaskingPolicyResponse. + :rtype: list[:class:`huaweicloudsdkdataartsstudio.v1.DynamicMaskingPolicy`] + """ + return self._policy_list + + @policy_list.setter + def policy_list(self, policy_list): + """Sets the policy_list of this CreateSecurityDynamicMaskingPolicyResponse. + + 动态数据脱敏策略列表。 + + :param policy_list: The policy_list of this CreateSecurityDynamicMaskingPolicyResponse. + :type policy_list: list[:class:`huaweicloudsdkdataartsstudio.v1.DynamicMaskingPolicy`] + """ + self._policy_list = policy_list + + 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, CreateSecurityDynamicMaskingPolicyResponse): + 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-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/dynamic_masking_policy.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/dynamic_masking_policy.py new file mode 100644 index 0000000000..fc5e600bd5 --- /dev/null +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/dynamic_masking_policy.py @@ -0,0 +1,314 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class DynamicMaskingPolicy: + + """ + 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', + 'policy_set_id': 'str', + 'column_name': 'str', + 'column_type': 'str', + 'algorithm_type': 'str', + 'sync_status': 'str', + 'algorithm_detail': 'str', + 'algorithm_detail_dto': 'AlgorithmDetailDTO' + } + + attribute_map = { + 'id': 'id', + 'policy_set_id': 'policy_set_id', + 'column_name': 'column_name', + 'column_type': 'column_type', + 'algorithm_type': 'algorithm_type', + 'sync_status': 'sync_status', + 'algorithm_detail': 'algorithm_detail', + 'algorithm_detail_dto': 'algorithm_detail_dto' + } + + def __init__(self, id=None, policy_set_id=None, column_name=None, column_type=None, algorithm_type=None, sync_status=None, algorithm_detail=None, algorithm_detail_dto=None): + """DynamicMaskingPolicy + + The model defined in huaweicloud sdk + + :param id: 字段脱敏策略id。 + :type id: str + :param policy_set_id: 动态脱敏策略id。 + :type policy_set_id: str + :param column_name: 数据表中的字段名称。 + :type column_name: str + :param column_type: 数据表中字段的数据类型。 + :type column_type: str + :param algorithm_type: 具体动态脱敏规则参数介绍请参见[动态脱敏规则介绍](dataartsstudio_01_1036.html)。 HIVE数据源动态脱敏算法 - MASK 掩盖英文字符和数字 - MASK_SHOW_LAST_4 保留后四位 - MASK_SHOW_FIRST_4 保留前四位 - MASK_HASH 哈希掩盖 - MASK_DATE_SHOW_YEAR 掩盖月份和日期 - MASK_NULL NULL掩盖 DWS数据源动态脱敏算法 - DWS_ALL_MASK 全掩码 - DWS_BACK_KEEP 保留后4位,其余脱敏为* - DWS_FRONT_KEEP 保留前2位,其余脱敏为* - DWS_SELF_CONFIG 需要输入开始位置、结束位置、脱敏字符传入detail结构体中,例如{\"start\": 1, \"end\": 2, \"string_target\": \"*\"} [DLI数据源动态脱敏算法](tag:nohcs) - [MASK 掩盖英文字符和数字](tag:nohcs) - [MASK_SHOW_LAST_4 保留后四位](tag:nohcs) - [MASK_SHOW_FIRST_4 保留前四位](tag:nohcs) - [MASK_HASH 哈希掩盖](tag:nohcs) - [MASK_DATE_SHOW_YEAR 掩盖月份和日期](tag:nohcs) - [MASK_NULL NULL掩盖](tag:nohcs) + :type algorithm_type: str + :param sync_status: 同步状态: - UNKNOWN 未知状态 - NOT_SYNC 未同步 - SYNCING 同步中 - SYNC_SUCCESS 同步成功 - SYNC_FAIL 同步失败 - SYNC_PARTIAL_FAIL 存在失败 - DELETE_FAIL 删除失败 - DELETING 删除中 - UPDATING 更新中 - DATA_UPDATED 数据存在更新 + :type sync_status: str + :param algorithm_detail: 动态脱敏策略算法详情。 + :type algorithm_detail: str + :param algorithm_detail_dto: + :type algorithm_detail_dto: :class:`huaweicloudsdkdataartsstudio.v1.AlgorithmDetailDTO` + """ + + + + self._id = None + self._policy_set_id = None + self._column_name = None + self._column_type = None + self._algorithm_type = None + self._sync_status = None + self._algorithm_detail = None + self._algorithm_detail_dto = None + self.discriminator = None + + if id is not None: + self.id = id + if policy_set_id is not None: + self.policy_set_id = policy_set_id + if column_name is not None: + self.column_name = column_name + if column_type is not None: + self.column_type = column_type + if algorithm_type is not None: + self.algorithm_type = algorithm_type + if sync_status is not None: + self.sync_status = sync_status + if algorithm_detail is not None: + self.algorithm_detail = algorithm_detail + if algorithm_detail_dto is not None: + self.algorithm_detail_dto = algorithm_detail_dto + + @property + def id(self): + """Gets the id of this DynamicMaskingPolicy. + + 字段脱敏策略id。 + + :return: The id of this DynamicMaskingPolicy. + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this DynamicMaskingPolicy. + + 字段脱敏策略id。 + + :param id: The id of this DynamicMaskingPolicy. + :type id: str + """ + self._id = id + + @property + def policy_set_id(self): + """Gets the policy_set_id of this DynamicMaskingPolicy. + + 动态脱敏策略id。 + + :return: The policy_set_id of this DynamicMaskingPolicy. + :rtype: str + """ + return self._policy_set_id + + @policy_set_id.setter + def policy_set_id(self, policy_set_id): + """Sets the policy_set_id of this DynamicMaskingPolicy. + + 动态脱敏策略id。 + + :param policy_set_id: The policy_set_id of this DynamicMaskingPolicy. + :type policy_set_id: str + """ + self._policy_set_id = policy_set_id + + @property + def column_name(self): + """Gets the column_name of this DynamicMaskingPolicy. + + 数据表中的字段名称。 + + :return: The column_name of this DynamicMaskingPolicy. + :rtype: str + """ + return self._column_name + + @column_name.setter + def column_name(self, column_name): + """Sets the column_name of this DynamicMaskingPolicy. + + 数据表中的字段名称。 + + :param column_name: The column_name of this DynamicMaskingPolicy. + :type column_name: str + """ + self._column_name = column_name + + @property + def column_type(self): + """Gets the column_type of this DynamicMaskingPolicy. + + 数据表中字段的数据类型。 + + :return: The column_type of this DynamicMaskingPolicy. + :rtype: str + """ + return self._column_type + + @column_type.setter + def column_type(self, column_type): + """Sets the column_type of this DynamicMaskingPolicy. + + 数据表中字段的数据类型。 + + :param column_type: The column_type of this DynamicMaskingPolicy. + :type column_type: str + """ + self._column_type = column_type + + @property + def algorithm_type(self): + """Gets the algorithm_type of this DynamicMaskingPolicy. + + 具体动态脱敏规则参数介绍请参见[动态脱敏规则介绍](dataartsstudio_01_1036.html)。 HIVE数据源动态脱敏算法 - MASK 掩盖英文字符和数字 - MASK_SHOW_LAST_4 保留后四位 - MASK_SHOW_FIRST_4 保留前四位 - MASK_HASH 哈希掩盖 - MASK_DATE_SHOW_YEAR 掩盖月份和日期 - MASK_NULL NULL掩盖 DWS数据源动态脱敏算法 - DWS_ALL_MASK 全掩码 - DWS_BACK_KEEP 保留后4位,其余脱敏为* - DWS_FRONT_KEEP 保留前2位,其余脱敏为* - DWS_SELF_CONFIG 需要输入开始位置、结束位置、脱敏字符传入detail结构体中,例如{\"start\": 1, \"end\": 2, \"string_target\": \"*\"} [DLI数据源动态脱敏算法](tag:nohcs) - [MASK 掩盖英文字符和数字](tag:nohcs) - [MASK_SHOW_LAST_4 保留后四位](tag:nohcs) - [MASK_SHOW_FIRST_4 保留前四位](tag:nohcs) - [MASK_HASH 哈希掩盖](tag:nohcs) - [MASK_DATE_SHOW_YEAR 掩盖月份和日期](tag:nohcs) - [MASK_NULL NULL掩盖](tag:nohcs) + + :return: The algorithm_type of this DynamicMaskingPolicy. + :rtype: str + """ + return self._algorithm_type + + @algorithm_type.setter + def algorithm_type(self, algorithm_type): + """Sets the algorithm_type of this DynamicMaskingPolicy. + + 具体动态脱敏规则参数介绍请参见[动态脱敏规则介绍](dataartsstudio_01_1036.html)。 HIVE数据源动态脱敏算法 - MASK 掩盖英文字符和数字 - MASK_SHOW_LAST_4 保留后四位 - MASK_SHOW_FIRST_4 保留前四位 - MASK_HASH 哈希掩盖 - MASK_DATE_SHOW_YEAR 掩盖月份和日期 - MASK_NULL NULL掩盖 DWS数据源动态脱敏算法 - DWS_ALL_MASK 全掩码 - DWS_BACK_KEEP 保留后4位,其余脱敏为* - DWS_FRONT_KEEP 保留前2位,其余脱敏为* - DWS_SELF_CONFIG 需要输入开始位置、结束位置、脱敏字符传入detail结构体中,例如{\"start\": 1, \"end\": 2, \"string_target\": \"*\"} [DLI数据源动态脱敏算法](tag:nohcs) - [MASK 掩盖英文字符和数字](tag:nohcs) - [MASK_SHOW_LAST_4 保留后四位](tag:nohcs) - [MASK_SHOW_FIRST_4 保留前四位](tag:nohcs) - [MASK_HASH 哈希掩盖](tag:nohcs) - [MASK_DATE_SHOW_YEAR 掩盖月份和日期](tag:nohcs) - [MASK_NULL NULL掩盖](tag:nohcs) + + :param algorithm_type: The algorithm_type of this DynamicMaskingPolicy. + :type algorithm_type: str + """ + self._algorithm_type = algorithm_type + + @property + def sync_status(self): + """Gets the sync_status of this DynamicMaskingPolicy. + + 同步状态: - UNKNOWN 未知状态 - NOT_SYNC 未同步 - SYNCING 同步中 - SYNC_SUCCESS 同步成功 - SYNC_FAIL 同步失败 - SYNC_PARTIAL_FAIL 存在失败 - DELETE_FAIL 删除失败 - DELETING 删除中 - UPDATING 更新中 - DATA_UPDATED 数据存在更新 + + :return: The sync_status of this DynamicMaskingPolicy. + :rtype: str + """ + return self._sync_status + + @sync_status.setter + def sync_status(self, sync_status): + """Sets the sync_status of this DynamicMaskingPolicy. + + 同步状态: - UNKNOWN 未知状态 - NOT_SYNC 未同步 - SYNCING 同步中 - SYNC_SUCCESS 同步成功 - SYNC_FAIL 同步失败 - SYNC_PARTIAL_FAIL 存在失败 - DELETE_FAIL 删除失败 - DELETING 删除中 - UPDATING 更新中 - DATA_UPDATED 数据存在更新 + + :param sync_status: The sync_status of this DynamicMaskingPolicy. + :type sync_status: str + """ + self._sync_status = sync_status + + @property + def algorithm_detail(self): + """Gets the algorithm_detail of this DynamicMaskingPolicy. + + 动态脱敏策略算法详情。 + + :return: The algorithm_detail of this DynamicMaskingPolicy. + :rtype: str + """ + return self._algorithm_detail + + @algorithm_detail.setter + def algorithm_detail(self, algorithm_detail): + """Sets the algorithm_detail of this DynamicMaskingPolicy. + + 动态脱敏策略算法详情。 + + :param algorithm_detail: The algorithm_detail of this DynamicMaskingPolicy. + :type algorithm_detail: str + """ + self._algorithm_detail = algorithm_detail + + @property + def algorithm_detail_dto(self): + """Gets the algorithm_detail_dto of this DynamicMaskingPolicy. + + :return: The algorithm_detail_dto of this DynamicMaskingPolicy. + :rtype: :class:`huaweicloudsdkdataartsstudio.v1.AlgorithmDetailDTO` + """ + return self._algorithm_detail_dto + + @algorithm_detail_dto.setter + def algorithm_detail_dto(self, algorithm_detail_dto): + """Sets the algorithm_detail_dto of this DynamicMaskingPolicy. + + :param algorithm_detail_dto: The algorithm_detail_dto of this DynamicMaskingPolicy. + :type algorithm_detail_dto: :class:`huaweicloudsdkdataartsstudio.v1.AlgorithmDetailDTO` + """ + self._algorithm_detail_dto = algorithm_detail_dto + + 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, DynamicMaskingPolicy): + 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-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/dynamic_masking_policy_create.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/dynamic_masking_policy_create.py new file mode 100644 index 0000000000..b5c31be266 --- /dev/null +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/dynamic_masking_policy_create.py @@ -0,0 +1,225 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class DynamicMaskingPolicyCreate: + + """ + 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 = { + 'column_name': 'str', + 'column_type': 'str', + 'algorithm_type': 'str', + 'algorithm_detail': 'str', + 'algorithm_detail_dto': 'AlgorithmDetailDTO' + } + + attribute_map = { + 'column_name': 'column_name', + 'column_type': 'column_type', + 'algorithm_type': 'algorithm_type', + 'algorithm_detail': 'algorithm_detail', + 'algorithm_detail_dto': 'algorithm_detail_dto' + } + + def __init__(self, column_name=None, column_type=None, algorithm_type=None, algorithm_detail=None, algorithm_detail_dto=None): + """DynamicMaskingPolicyCreate + + The model defined in huaweicloud sdk + + :param column_name: 数据表中的字段名称。 + :type column_name: str + :param column_type: 数据表中字段的数据类型。 + :type column_type: str + :param algorithm_type: 具体动态脱敏规则参数介绍请参见[动态脱敏规则介绍](dataartsstudio_01_1036.html)。 HIVE数据源动态脱敏算法 - MASK 掩盖英文字符和数字 - MASK_SHOW_LAST_4 保留后四位 - MASK_SHOW_FIRST_4 保留前四位 - MASK_HASH 哈希掩盖 - MASK_DATE_SHOW_YEAR 掩盖月份和日期 - MASK_NULL NULL掩盖 DWS数据源动态脱敏算法 - DWS_ALL_MASK 全掩码 - DWS_BACK_KEEP 保留后4位,其余脱敏为* - DWS_FRONT_KEEP 保留前2位,其余脱敏为* - DWS_SELF_CONFIG 需要输入开始位置、结束位置、脱敏字符传入detail结构体中,例如{\"start\": 1, \"end\": 2, \"string_target\": \"*\"} [DLI数据源动态脱敏算法](tag:nohcs) - [MASK 掩盖英文字符和数字](tag:nohcs) - [MASK_SHOW_LAST_4 保留后四位](tag:nohcs) - [MASK_SHOW_FIRST_4 保留前四位](tag:nohcs) - [MASK_HASH 哈希掩盖](tag:nohcs) - [MASK_DATE_SHOW_YEAR 掩盖月份和日期](tag:nohcs) - [MASK_NULL NULL掩盖](tag:nohcs) + :type algorithm_type: str + :param algorithm_detail: 动态脱敏策略算法详情。 + :type algorithm_detail: str + :param algorithm_detail_dto: + :type algorithm_detail_dto: :class:`huaweicloudsdkdataartsstudio.v1.AlgorithmDetailDTO` + """ + + + + self._column_name = None + self._column_type = None + self._algorithm_type = None + self._algorithm_detail = None + self._algorithm_detail_dto = None + self.discriminator = None + + self.column_name = column_name + self.column_type = column_type + if algorithm_type is not None: + self.algorithm_type = algorithm_type + if algorithm_detail is not None: + self.algorithm_detail = algorithm_detail + if algorithm_detail_dto is not None: + self.algorithm_detail_dto = algorithm_detail_dto + + @property + def column_name(self): + """Gets the column_name of this DynamicMaskingPolicyCreate. + + 数据表中的字段名称。 + + :return: The column_name of this DynamicMaskingPolicyCreate. + :rtype: str + """ + return self._column_name + + @column_name.setter + def column_name(self, column_name): + """Sets the column_name of this DynamicMaskingPolicyCreate. + + 数据表中的字段名称。 + + :param column_name: The column_name of this DynamicMaskingPolicyCreate. + :type column_name: str + """ + self._column_name = column_name + + @property + def column_type(self): + """Gets the column_type of this DynamicMaskingPolicyCreate. + + 数据表中字段的数据类型。 + + :return: The column_type of this DynamicMaskingPolicyCreate. + :rtype: str + """ + return self._column_type + + @column_type.setter + def column_type(self, column_type): + """Sets the column_type of this DynamicMaskingPolicyCreate. + + 数据表中字段的数据类型。 + + :param column_type: The column_type of this DynamicMaskingPolicyCreate. + :type column_type: str + """ + self._column_type = column_type + + @property + def algorithm_type(self): + """Gets the algorithm_type of this DynamicMaskingPolicyCreate. + + 具体动态脱敏规则参数介绍请参见[动态脱敏规则介绍](dataartsstudio_01_1036.html)。 HIVE数据源动态脱敏算法 - MASK 掩盖英文字符和数字 - MASK_SHOW_LAST_4 保留后四位 - MASK_SHOW_FIRST_4 保留前四位 - MASK_HASH 哈希掩盖 - MASK_DATE_SHOW_YEAR 掩盖月份和日期 - MASK_NULL NULL掩盖 DWS数据源动态脱敏算法 - DWS_ALL_MASK 全掩码 - DWS_BACK_KEEP 保留后4位,其余脱敏为* - DWS_FRONT_KEEP 保留前2位,其余脱敏为* - DWS_SELF_CONFIG 需要输入开始位置、结束位置、脱敏字符传入detail结构体中,例如{\"start\": 1, \"end\": 2, \"string_target\": \"*\"} [DLI数据源动态脱敏算法](tag:nohcs) - [MASK 掩盖英文字符和数字](tag:nohcs) - [MASK_SHOW_LAST_4 保留后四位](tag:nohcs) - [MASK_SHOW_FIRST_4 保留前四位](tag:nohcs) - [MASK_HASH 哈希掩盖](tag:nohcs) - [MASK_DATE_SHOW_YEAR 掩盖月份和日期](tag:nohcs) - [MASK_NULL NULL掩盖](tag:nohcs) + + :return: The algorithm_type of this DynamicMaskingPolicyCreate. + :rtype: str + """ + return self._algorithm_type + + @algorithm_type.setter + def algorithm_type(self, algorithm_type): + """Sets the algorithm_type of this DynamicMaskingPolicyCreate. + + 具体动态脱敏规则参数介绍请参见[动态脱敏规则介绍](dataartsstudio_01_1036.html)。 HIVE数据源动态脱敏算法 - MASK 掩盖英文字符和数字 - MASK_SHOW_LAST_4 保留后四位 - MASK_SHOW_FIRST_4 保留前四位 - MASK_HASH 哈希掩盖 - MASK_DATE_SHOW_YEAR 掩盖月份和日期 - MASK_NULL NULL掩盖 DWS数据源动态脱敏算法 - DWS_ALL_MASK 全掩码 - DWS_BACK_KEEP 保留后4位,其余脱敏为* - DWS_FRONT_KEEP 保留前2位,其余脱敏为* - DWS_SELF_CONFIG 需要输入开始位置、结束位置、脱敏字符传入detail结构体中,例如{\"start\": 1, \"end\": 2, \"string_target\": \"*\"} [DLI数据源动态脱敏算法](tag:nohcs) - [MASK 掩盖英文字符和数字](tag:nohcs) - [MASK_SHOW_LAST_4 保留后四位](tag:nohcs) - [MASK_SHOW_FIRST_4 保留前四位](tag:nohcs) - [MASK_HASH 哈希掩盖](tag:nohcs) - [MASK_DATE_SHOW_YEAR 掩盖月份和日期](tag:nohcs) - [MASK_NULL NULL掩盖](tag:nohcs) + + :param algorithm_type: The algorithm_type of this DynamicMaskingPolicyCreate. + :type algorithm_type: str + """ + self._algorithm_type = algorithm_type + + @property + def algorithm_detail(self): + """Gets the algorithm_detail of this DynamicMaskingPolicyCreate. + + 动态脱敏策略算法详情。 + + :return: The algorithm_detail of this DynamicMaskingPolicyCreate. + :rtype: str + """ + return self._algorithm_detail + + @algorithm_detail.setter + def algorithm_detail(self, algorithm_detail): + """Sets the algorithm_detail of this DynamicMaskingPolicyCreate. + + 动态脱敏策略算法详情。 + + :param algorithm_detail: The algorithm_detail of this DynamicMaskingPolicyCreate. + :type algorithm_detail: str + """ + self._algorithm_detail = algorithm_detail + + @property + def algorithm_detail_dto(self): + """Gets the algorithm_detail_dto of this DynamicMaskingPolicyCreate. + + :return: The algorithm_detail_dto of this DynamicMaskingPolicyCreate. + :rtype: :class:`huaweicloudsdkdataartsstudio.v1.AlgorithmDetailDTO` + """ + return self._algorithm_detail_dto + + @algorithm_detail_dto.setter + def algorithm_detail_dto(self, algorithm_detail_dto): + """Sets the algorithm_detail_dto of this DynamicMaskingPolicyCreate. + + :param algorithm_detail_dto: The algorithm_detail_dto of this DynamicMaskingPolicyCreate. + :type algorithm_detail_dto: :class:`huaweicloudsdkdataartsstudio.v1.AlgorithmDetailDTO` + """ + self._algorithm_detail_dto = algorithm_detail_dto + + 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, DynamicMaskingPolicyCreate): + 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-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/dynamic_masking_policy_create_dto.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/dynamic_masking_policy_create_dto.py new file mode 100644 index 0000000000..b1c2666714 --- /dev/null +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/dynamic_masking_policy_create_dto.py @@ -0,0 +1,454 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class DynamicMaskingPolicyCreateDTO: + + """ + 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 = { + 'name': 'str', + 'datasource_type': 'str', + 'cluster_id': 'str', + 'cluster_name': 'str', + 'database_name': 'str', + 'table_id': 'str', + 'table_name': 'str', + 'user_groups': 'str', + 'users': 'str', + 'conn_name': 'str', + 'conn_id': 'str', + 'schema_name': 'str', + 'policy_list': 'list[DynamicMaskingPolicyCreate]' + } + + attribute_map = { + 'name': 'name', + 'datasource_type': 'datasource_type', + 'cluster_id': 'cluster_id', + 'cluster_name': 'cluster_name', + 'database_name': 'database_name', + 'table_id': 'table_id', + 'table_name': 'table_name', + 'user_groups': 'user_groups', + 'users': 'users', + 'conn_name': 'conn_name', + 'conn_id': 'conn_id', + 'schema_name': 'schema_name', + 'policy_list': 'policy_list' + } + + def __init__(self, name=None, datasource_type=None, cluster_id=None, cluster_name=None, database_name=None, table_id=None, table_name=None, user_groups=None, users=None, conn_name=None, conn_id=None, schema_name=None, policy_list=None): + """DynamicMaskingPolicyCreateDTO + + The model defined in huaweicloud sdk + + :param name: 策略名称。英文和汉字开头, 支持英文、汉字、数字、下划线, 2-64字符。 + :type name: str + :param datasource_type: 数据源类型 - HIVE数据源 - DWS数据源 - [DLI数据源](tag:nohcs) + :type datasource_type: str + :param cluster_id: 集群id。请于集群管理页面查看集群ID信息。[当数据源类型为DLI时,该参数需要填写为DLI](tag:nohcs)。 + :type cluster_id: str + :param cluster_name: 集群名称。请于集群管理页面查看集群名称信息。[当数据源类型为DLI时,该参数需要填写为DLI](tag:nohcs)。 + :type cluster_name: str + :param database_name: 数据库名称。获取方法请参见[获取数据源中的表](getDataTables.html)。 + :type database_name: str + :param table_id: 数据表id,获取方法请参见[获取数据源中的表](getDataTables.html)。 + :type table_id: str + :param table_name: 数据表名称, 获取方法请参见[获取数据源中的表](getDataTables.html)。 + :type table_name: str + :param user_groups: 用户组列表,用户组名称逗号分隔(非必填项,但用户、用户组必须二选其一进行配置)。例如:\"userGroup1,userGroup2\"。 + :type user_groups: str + :param users: 用户列表,用户名称逗号分隔(非必填项,但用户、用户组必须二选其一进行配置),例如:\"user1,user2\"。 + :type users: str + :param conn_name: 数据连接名称,获取方法请参见[查询数据连接列表](ListDataconnections.html)。 + :type conn_name: str + :param conn_id: 数据连接id,获取方法请参见[查询数据连接列表](ListDataconnections.html)。 + :type conn_id: str + :param schema_name: DWS数据源的模式名称。 + :type schema_name: str + :param policy_list: 动态数据脱敏策略列表。 + :type policy_list: list[:class:`huaweicloudsdkdataartsstudio.v1.DynamicMaskingPolicyCreate`] + """ + + + + self._name = None + self._datasource_type = None + self._cluster_id = None + self._cluster_name = None + self._database_name = None + self._table_id = None + self._table_name = None + self._user_groups = None + self._users = None + self._conn_name = None + self._conn_id = None + self._schema_name = None + self._policy_list = None + self.discriminator = None + + self.name = name + self.datasource_type = datasource_type + self.cluster_id = cluster_id + self.cluster_name = cluster_name + self.database_name = database_name + if table_id is not None: + self.table_id = table_id + self.table_name = table_name + if user_groups is not None: + self.user_groups = user_groups + if users is not None: + self.users = users + self.conn_name = conn_name + self.conn_id = conn_id + if schema_name is not None: + self.schema_name = schema_name + self.policy_list = policy_list + + @property + def name(self): + """Gets the name of this DynamicMaskingPolicyCreateDTO. + + 策略名称。英文和汉字开头, 支持英文、汉字、数字、下划线, 2-64字符。 + + :return: The name of this DynamicMaskingPolicyCreateDTO. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this DynamicMaskingPolicyCreateDTO. + + 策略名称。英文和汉字开头, 支持英文、汉字、数字、下划线, 2-64字符。 + + :param name: The name of this DynamicMaskingPolicyCreateDTO. + :type name: str + """ + self._name = name + + @property + def datasource_type(self): + """Gets the datasource_type of this DynamicMaskingPolicyCreateDTO. + + 数据源类型 - HIVE数据源 - DWS数据源 - [DLI数据源](tag:nohcs) + + :return: The datasource_type of this DynamicMaskingPolicyCreateDTO. + :rtype: str + """ + return self._datasource_type + + @datasource_type.setter + def datasource_type(self, datasource_type): + """Sets the datasource_type of this DynamicMaskingPolicyCreateDTO. + + 数据源类型 - HIVE数据源 - DWS数据源 - [DLI数据源](tag:nohcs) + + :param datasource_type: The datasource_type of this DynamicMaskingPolicyCreateDTO. + :type datasource_type: str + """ + self._datasource_type = datasource_type + + @property + def cluster_id(self): + """Gets the cluster_id of this DynamicMaskingPolicyCreateDTO. + + 集群id。请于集群管理页面查看集群ID信息。[当数据源类型为DLI时,该参数需要填写为DLI](tag:nohcs)。 + + :return: The cluster_id of this DynamicMaskingPolicyCreateDTO. + :rtype: str + """ + return self._cluster_id + + @cluster_id.setter + def cluster_id(self, cluster_id): + """Sets the cluster_id of this DynamicMaskingPolicyCreateDTO. + + 集群id。请于集群管理页面查看集群ID信息。[当数据源类型为DLI时,该参数需要填写为DLI](tag:nohcs)。 + + :param cluster_id: The cluster_id of this DynamicMaskingPolicyCreateDTO. + :type cluster_id: str + """ + self._cluster_id = cluster_id + + @property + def cluster_name(self): + """Gets the cluster_name of this DynamicMaskingPolicyCreateDTO. + + 集群名称。请于集群管理页面查看集群名称信息。[当数据源类型为DLI时,该参数需要填写为DLI](tag:nohcs)。 + + :return: The cluster_name of this DynamicMaskingPolicyCreateDTO. + :rtype: str + """ + return self._cluster_name + + @cluster_name.setter + def cluster_name(self, cluster_name): + """Sets the cluster_name of this DynamicMaskingPolicyCreateDTO. + + 集群名称。请于集群管理页面查看集群名称信息。[当数据源类型为DLI时,该参数需要填写为DLI](tag:nohcs)。 + + :param cluster_name: The cluster_name of this DynamicMaskingPolicyCreateDTO. + :type cluster_name: str + """ + self._cluster_name = cluster_name + + @property + def database_name(self): + """Gets the database_name of this DynamicMaskingPolicyCreateDTO. + + 数据库名称。获取方法请参见[获取数据源中的表](getDataTables.html)。 + + :return: The database_name of this DynamicMaskingPolicyCreateDTO. + :rtype: str + """ + return self._database_name + + @database_name.setter + def database_name(self, database_name): + """Sets the database_name of this DynamicMaskingPolicyCreateDTO. + + 数据库名称。获取方法请参见[获取数据源中的表](getDataTables.html)。 + + :param database_name: The database_name of this DynamicMaskingPolicyCreateDTO. + :type database_name: str + """ + self._database_name = database_name + + @property + def table_id(self): + """Gets the table_id of this DynamicMaskingPolicyCreateDTO. + + 数据表id,获取方法请参见[获取数据源中的表](getDataTables.html)。 + + :return: The table_id of this DynamicMaskingPolicyCreateDTO. + :rtype: str + """ + return self._table_id + + @table_id.setter + def table_id(self, table_id): + """Sets the table_id of this DynamicMaskingPolicyCreateDTO. + + 数据表id,获取方法请参见[获取数据源中的表](getDataTables.html)。 + + :param table_id: The table_id of this DynamicMaskingPolicyCreateDTO. + :type table_id: str + """ + self._table_id = table_id + + @property + def table_name(self): + """Gets the table_name of this DynamicMaskingPolicyCreateDTO. + + 数据表名称, 获取方法请参见[获取数据源中的表](getDataTables.html)。 + + :return: The table_name of this DynamicMaskingPolicyCreateDTO. + :rtype: str + """ + return self._table_name + + @table_name.setter + def table_name(self, table_name): + """Sets the table_name of this DynamicMaskingPolicyCreateDTO. + + 数据表名称, 获取方法请参见[获取数据源中的表](getDataTables.html)。 + + :param table_name: The table_name of this DynamicMaskingPolicyCreateDTO. + :type table_name: str + """ + self._table_name = table_name + + @property + def user_groups(self): + """Gets the user_groups of this DynamicMaskingPolicyCreateDTO. + + 用户组列表,用户组名称逗号分隔(非必填项,但用户、用户组必须二选其一进行配置)。例如:\"userGroup1,userGroup2\"。 + + :return: The user_groups of this DynamicMaskingPolicyCreateDTO. + :rtype: str + """ + return self._user_groups + + @user_groups.setter + def user_groups(self, user_groups): + """Sets the user_groups of this DynamicMaskingPolicyCreateDTO. + + 用户组列表,用户组名称逗号分隔(非必填项,但用户、用户组必须二选其一进行配置)。例如:\"userGroup1,userGroup2\"。 + + :param user_groups: The user_groups of this DynamicMaskingPolicyCreateDTO. + :type user_groups: str + """ + self._user_groups = user_groups + + @property + def users(self): + """Gets the users of this DynamicMaskingPolicyCreateDTO. + + 用户列表,用户名称逗号分隔(非必填项,但用户、用户组必须二选其一进行配置),例如:\"user1,user2\"。 + + :return: The users of this DynamicMaskingPolicyCreateDTO. + :rtype: str + """ + return self._users + + @users.setter + def users(self, users): + """Sets the users of this DynamicMaskingPolicyCreateDTO. + + 用户列表,用户名称逗号分隔(非必填项,但用户、用户组必须二选其一进行配置),例如:\"user1,user2\"。 + + :param users: The users of this DynamicMaskingPolicyCreateDTO. + :type users: str + """ + self._users = users + + @property + def conn_name(self): + """Gets the conn_name of this DynamicMaskingPolicyCreateDTO. + + 数据连接名称,获取方法请参见[查询数据连接列表](ListDataconnections.html)。 + + :return: The conn_name of this DynamicMaskingPolicyCreateDTO. + :rtype: str + """ + return self._conn_name + + @conn_name.setter + def conn_name(self, conn_name): + """Sets the conn_name of this DynamicMaskingPolicyCreateDTO. + + 数据连接名称,获取方法请参见[查询数据连接列表](ListDataconnections.html)。 + + :param conn_name: The conn_name of this DynamicMaskingPolicyCreateDTO. + :type conn_name: str + """ + self._conn_name = conn_name + + @property + def conn_id(self): + """Gets the conn_id of this DynamicMaskingPolicyCreateDTO. + + 数据连接id,获取方法请参见[查询数据连接列表](ListDataconnections.html)。 + + :return: The conn_id of this DynamicMaskingPolicyCreateDTO. + :rtype: str + """ + return self._conn_id + + @conn_id.setter + def conn_id(self, conn_id): + """Sets the conn_id of this DynamicMaskingPolicyCreateDTO. + + 数据连接id,获取方法请参见[查询数据连接列表](ListDataconnections.html)。 + + :param conn_id: The conn_id of this DynamicMaskingPolicyCreateDTO. + :type conn_id: str + """ + self._conn_id = conn_id + + @property + def schema_name(self): + """Gets the schema_name of this DynamicMaskingPolicyCreateDTO. + + DWS数据源的模式名称。 + + :return: The schema_name of this DynamicMaskingPolicyCreateDTO. + :rtype: str + """ + return self._schema_name + + @schema_name.setter + def schema_name(self, schema_name): + """Sets the schema_name of this DynamicMaskingPolicyCreateDTO. + + DWS数据源的模式名称。 + + :param schema_name: The schema_name of this DynamicMaskingPolicyCreateDTO. + :type schema_name: str + """ + self._schema_name = schema_name + + @property + def policy_list(self): + """Gets the policy_list of this DynamicMaskingPolicyCreateDTO. + + 动态数据脱敏策略列表。 + + :return: The policy_list of this DynamicMaskingPolicyCreateDTO. + :rtype: list[:class:`huaweicloudsdkdataartsstudio.v1.DynamicMaskingPolicyCreate`] + """ + return self._policy_list + + @policy_list.setter + def policy_list(self, policy_list): + """Sets the policy_list of this DynamicMaskingPolicyCreateDTO. + + 动态数据脱敏策略列表。 + + :param policy_list: The policy_list of this DynamicMaskingPolicyCreateDTO. + :type policy_list: list[:class:`huaweicloudsdkdataartsstudio.v1.DynamicMaskingPolicyCreate`] + """ + self._policy_list = policy_list + + 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, DynamicMaskingPolicyCreateDTO): + 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-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/dynamic_masking_policy_set.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/dynamic_masking_policy_set.py new file mode 100644 index 0000000000..b573c9039a --- /dev/null +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/dynamic_masking_policy_set.py @@ -0,0 +1,550 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class DynamicMaskingPolicySet: + + """ + 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', + 'name': 'str', + 'datasource_type': 'str', + 'cluster_id': 'str', + 'cluster_name': 'str', + 'database_name': 'str', + 'table_name': 'str', + 'user_groups': 'str', + 'users': 'str', + 'sync_status': 'str', + 'sync_time': 'int', + 'sync_msg': 'str', + 'create_time': 'int', + 'create_user': 'str', + 'update_time': 'int', + 'update_user': 'str' + } + + attribute_map = { + 'id': 'id', + 'name': 'name', + 'datasource_type': 'datasource_type', + 'cluster_id': 'cluster_id', + 'cluster_name': 'cluster_name', + 'database_name': 'database_name', + 'table_name': 'table_name', + 'user_groups': 'user_groups', + 'users': 'users', + 'sync_status': 'sync_status', + 'sync_time': 'sync_time', + 'sync_msg': 'sync_msg', + 'create_time': 'create_time', + 'create_user': 'create_user', + 'update_time': 'update_time', + 'update_user': 'update_user' + } + + def __init__(self, id=None, name=None, datasource_type=None, cluster_id=None, cluster_name=None, database_name=None, table_name=None, user_groups=None, users=None, sync_status=None, sync_time=None, sync_msg=None, create_time=None, create_user=None, update_time=None, update_user=None): + """DynamicMaskingPolicySet + + The model defined in huaweicloud sdk + + :param id: 动态脱敏策略id。 + :type id: str + :param name: 动态脱敏策略名称。英文和汉字开头, 支持英文、汉字、数字、下划线, 2-64字符。 + :type name: str + :param datasource_type: 数据源类型 - HIVE数据源 - DWS数据源 - [DLI数据源](tag:nohcs) + :type datasource_type: str + :param cluster_id: 集群id。请于集群管理页面查看集群ID信息。[当数据源类型为DLI时,该参数需要填写为DLI](tag:nohcs)。 + :type cluster_id: str + :param cluster_name: 集群名称。请于集群管理页面查看集群名称信息。[当数据源类型为DLI时,该参数需要填写为DLI](tag:nohcs)。 + :type cluster_name: str + :param database_name: 数据库名称。获取方法请参见[获取数据源中的表](getDataTables.html)。 + :type database_name: str + :param table_name: 数据表名称, 获取方法请参见[获取数据源中的表](getDataTables.html)。 + :type table_name: str + :param user_groups: 用户组列表,用户组名称逗号分隔(非必填项,但用户、用户组必须二选其一进行配置)。例如:\"userGroup1,userGroup2\"。 + :type user_groups: str + :param users: 用户列表,用户名称逗号分隔(非必填项,但用户、用户组必须二选其一进行配置),例如:\"user1,user2\"。 + :type users: str + :param sync_status: 同步状态: - UNKNOWN 未知状态 - NOT_SYNC 未同步 - SYNCING 同步中 - SYNC_SUCCESS 同步成功 - SYNC_FAIL 同步失败 - SYNC_PARTIAL_FAIL 存在失败 - DELETE_FAIL 删除失败 - DELETING 删除中 - UPDATING 更新中 - DATA_UPDATED 数据存在更新 + :type sync_status: str + :param sync_time: 策略同步时间。 + :type sync_time: int + :param sync_msg: 策略同步日志。 + :type sync_msg: str + :param create_time: 策略创建时间。 + :type create_time: int + :param create_user: 策略创建者。 + :type create_user: str + :param update_time: 策略更新时间。 + :type update_time: int + :param update_user: 策略更新者。 + :type update_user: str + """ + + + + self._id = None + self._name = None + self._datasource_type = None + self._cluster_id = None + self._cluster_name = None + self._database_name = None + self._table_name = None + self._user_groups = None + self._users = None + self._sync_status = None + self._sync_time = None + self._sync_msg = None + self._create_time = None + self._create_user = None + self._update_time = None + self._update_user = None + self.discriminator = None + + if id is not None: + self.id = id + if name is not None: + self.name = name + if datasource_type is not None: + self.datasource_type = datasource_type + if cluster_id is not None: + self.cluster_id = cluster_id + if cluster_name is not None: + self.cluster_name = cluster_name + if database_name is not None: + self.database_name = database_name + if table_name is not None: + self.table_name = table_name + if user_groups is not None: + self.user_groups = user_groups + if users is not None: + self.users = users + if sync_status is not None: + self.sync_status = sync_status + if sync_time is not None: + self.sync_time = sync_time + if sync_msg is not None: + self.sync_msg = sync_msg + if create_time is not None: + self.create_time = create_time + if create_user is not None: + self.create_user = create_user + if update_time is not None: + self.update_time = update_time + if update_user is not None: + self.update_user = update_user + + @property + def id(self): + """Gets the id of this DynamicMaskingPolicySet. + + 动态脱敏策略id。 + + :return: The id of this DynamicMaskingPolicySet. + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this DynamicMaskingPolicySet. + + 动态脱敏策略id。 + + :param id: The id of this DynamicMaskingPolicySet. + :type id: str + """ + self._id = id + + @property + def name(self): + """Gets the name of this DynamicMaskingPolicySet. + + 动态脱敏策略名称。英文和汉字开头, 支持英文、汉字、数字、下划线, 2-64字符。 + + :return: The name of this DynamicMaskingPolicySet. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this DynamicMaskingPolicySet. + + 动态脱敏策略名称。英文和汉字开头, 支持英文、汉字、数字、下划线, 2-64字符。 + + :param name: The name of this DynamicMaskingPolicySet. + :type name: str + """ + self._name = name + + @property + def datasource_type(self): + """Gets the datasource_type of this DynamicMaskingPolicySet. + + 数据源类型 - HIVE数据源 - DWS数据源 - [DLI数据源](tag:nohcs) + + :return: The datasource_type of this DynamicMaskingPolicySet. + :rtype: str + """ + return self._datasource_type + + @datasource_type.setter + def datasource_type(self, datasource_type): + """Sets the datasource_type of this DynamicMaskingPolicySet. + + 数据源类型 - HIVE数据源 - DWS数据源 - [DLI数据源](tag:nohcs) + + :param datasource_type: The datasource_type of this DynamicMaskingPolicySet. + :type datasource_type: str + """ + self._datasource_type = datasource_type + + @property + def cluster_id(self): + """Gets the cluster_id of this DynamicMaskingPolicySet. + + 集群id。请于集群管理页面查看集群ID信息。[当数据源类型为DLI时,该参数需要填写为DLI](tag:nohcs)。 + + :return: The cluster_id of this DynamicMaskingPolicySet. + :rtype: str + """ + return self._cluster_id + + @cluster_id.setter + def cluster_id(self, cluster_id): + """Sets the cluster_id of this DynamicMaskingPolicySet. + + 集群id。请于集群管理页面查看集群ID信息。[当数据源类型为DLI时,该参数需要填写为DLI](tag:nohcs)。 + + :param cluster_id: The cluster_id of this DynamicMaskingPolicySet. + :type cluster_id: str + """ + self._cluster_id = cluster_id + + @property + def cluster_name(self): + """Gets the cluster_name of this DynamicMaskingPolicySet. + + 集群名称。请于集群管理页面查看集群名称信息。[当数据源类型为DLI时,该参数需要填写为DLI](tag:nohcs)。 + + :return: The cluster_name of this DynamicMaskingPolicySet. + :rtype: str + """ + return self._cluster_name + + @cluster_name.setter + def cluster_name(self, cluster_name): + """Sets the cluster_name of this DynamicMaskingPolicySet. + + 集群名称。请于集群管理页面查看集群名称信息。[当数据源类型为DLI时,该参数需要填写为DLI](tag:nohcs)。 + + :param cluster_name: The cluster_name of this DynamicMaskingPolicySet. + :type cluster_name: str + """ + self._cluster_name = cluster_name + + @property + def database_name(self): + """Gets the database_name of this DynamicMaskingPolicySet. + + 数据库名称。获取方法请参见[获取数据源中的表](getDataTables.html)。 + + :return: The database_name of this DynamicMaskingPolicySet. + :rtype: str + """ + return self._database_name + + @database_name.setter + def database_name(self, database_name): + """Sets the database_name of this DynamicMaskingPolicySet. + + 数据库名称。获取方法请参见[获取数据源中的表](getDataTables.html)。 + + :param database_name: The database_name of this DynamicMaskingPolicySet. + :type database_name: str + """ + self._database_name = database_name + + @property + def table_name(self): + """Gets the table_name of this DynamicMaskingPolicySet. + + 数据表名称, 获取方法请参见[获取数据源中的表](getDataTables.html)。 + + :return: The table_name of this DynamicMaskingPolicySet. + :rtype: str + """ + return self._table_name + + @table_name.setter + def table_name(self, table_name): + """Sets the table_name of this DynamicMaskingPolicySet. + + 数据表名称, 获取方法请参见[获取数据源中的表](getDataTables.html)。 + + :param table_name: The table_name of this DynamicMaskingPolicySet. + :type table_name: str + """ + self._table_name = table_name + + @property + def user_groups(self): + """Gets the user_groups of this DynamicMaskingPolicySet. + + 用户组列表,用户组名称逗号分隔(非必填项,但用户、用户组必须二选其一进行配置)。例如:\"userGroup1,userGroup2\"。 + + :return: The user_groups of this DynamicMaskingPolicySet. + :rtype: str + """ + return self._user_groups + + @user_groups.setter + def user_groups(self, user_groups): + """Sets the user_groups of this DynamicMaskingPolicySet. + + 用户组列表,用户组名称逗号分隔(非必填项,但用户、用户组必须二选其一进行配置)。例如:\"userGroup1,userGroup2\"。 + + :param user_groups: The user_groups of this DynamicMaskingPolicySet. + :type user_groups: str + """ + self._user_groups = user_groups + + @property + def users(self): + """Gets the users of this DynamicMaskingPolicySet. + + 用户列表,用户名称逗号分隔(非必填项,但用户、用户组必须二选其一进行配置),例如:\"user1,user2\"。 + + :return: The users of this DynamicMaskingPolicySet. + :rtype: str + """ + return self._users + + @users.setter + def users(self, users): + """Sets the users of this DynamicMaskingPolicySet. + + 用户列表,用户名称逗号分隔(非必填项,但用户、用户组必须二选其一进行配置),例如:\"user1,user2\"。 + + :param users: The users of this DynamicMaskingPolicySet. + :type users: str + """ + self._users = users + + @property + def sync_status(self): + """Gets the sync_status of this DynamicMaskingPolicySet. + + 同步状态: - UNKNOWN 未知状态 - NOT_SYNC 未同步 - SYNCING 同步中 - SYNC_SUCCESS 同步成功 - SYNC_FAIL 同步失败 - SYNC_PARTIAL_FAIL 存在失败 - DELETE_FAIL 删除失败 - DELETING 删除中 - UPDATING 更新中 - DATA_UPDATED 数据存在更新 + + :return: The sync_status of this DynamicMaskingPolicySet. + :rtype: str + """ + return self._sync_status + + @sync_status.setter + def sync_status(self, sync_status): + """Sets the sync_status of this DynamicMaskingPolicySet. + + 同步状态: - UNKNOWN 未知状态 - NOT_SYNC 未同步 - SYNCING 同步中 - SYNC_SUCCESS 同步成功 - SYNC_FAIL 同步失败 - SYNC_PARTIAL_FAIL 存在失败 - DELETE_FAIL 删除失败 - DELETING 删除中 - UPDATING 更新中 - DATA_UPDATED 数据存在更新 + + :param sync_status: The sync_status of this DynamicMaskingPolicySet. + :type sync_status: str + """ + self._sync_status = sync_status + + @property + def sync_time(self): + """Gets the sync_time of this DynamicMaskingPolicySet. + + 策略同步时间。 + + :return: The sync_time of this DynamicMaskingPolicySet. + :rtype: int + """ + return self._sync_time + + @sync_time.setter + def sync_time(self, sync_time): + """Sets the sync_time of this DynamicMaskingPolicySet. + + 策略同步时间。 + + :param sync_time: The sync_time of this DynamicMaskingPolicySet. + :type sync_time: int + """ + self._sync_time = sync_time + + @property + def sync_msg(self): + """Gets the sync_msg of this DynamicMaskingPolicySet. + + 策略同步日志。 + + :return: The sync_msg of this DynamicMaskingPolicySet. + :rtype: str + """ + return self._sync_msg + + @sync_msg.setter + def sync_msg(self, sync_msg): + """Sets the sync_msg of this DynamicMaskingPolicySet. + + 策略同步日志。 + + :param sync_msg: The sync_msg of this DynamicMaskingPolicySet. + :type sync_msg: str + """ + self._sync_msg = sync_msg + + @property + def create_time(self): + """Gets the create_time of this DynamicMaskingPolicySet. + + 策略创建时间。 + + :return: The create_time of this DynamicMaskingPolicySet. + :rtype: int + """ + return self._create_time + + @create_time.setter + def create_time(self, create_time): + """Sets the create_time of this DynamicMaskingPolicySet. + + 策略创建时间。 + + :param create_time: The create_time of this DynamicMaskingPolicySet. + :type create_time: int + """ + self._create_time = create_time + + @property + def create_user(self): + """Gets the create_user of this DynamicMaskingPolicySet. + + 策略创建者。 + + :return: The create_user of this DynamicMaskingPolicySet. + :rtype: str + """ + return self._create_user + + @create_user.setter + def create_user(self, create_user): + """Sets the create_user of this DynamicMaskingPolicySet. + + 策略创建者。 + + :param create_user: The create_user of this DynamicMaskingPolicySet. + :type create_user: str + """ + self._create_user = create_user + + @property + def update_time(self): + """Gets the update_time of this DynamicMaskingPolicySet. + + 策略更新时间。 + + :return: The update_time of this DynamicMaskingPolicySet. + :rtype: int + """ + return self._update_time + + @update_time.setter + def update_time(self, update_time): + """Sets the update_time of this DynamicMaskingPolicySet. + + 策略更新时间。 + + :param update_time: The update_time of this DynamicMaskingPolicySet. + :type update_time: int + """ + self._update_time = update_time + + @property + def update_user(self): + """Gets the update_user of this DynamicMaskingPolicySet. + + 策略更新者。 + + :return: The update_user of this DynamicMaskingPolicySet. + :rtype: str + """ + return self._update_user + + @update_user.setter + def update_user(self, update_user): + """Sets the update_user of this DynamicMaskingPolicySet. + + 策略更新者。 + + :param update_user: The update_user of this DynamicMaskingPolicySet. + :type update_user: str + """ + self._update_user = update_user + + 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, DynamicMaskingPolicySet): + 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-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/dynamic_masking_policy_update.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/dynamic_masking_policy_update.py new file mode 100644 index 0000000000..93182fe0a1 --- /dev/null +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/dynamic_masking_policy_update.py @@ -0,0 +1,225 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class DynamicMaskingPolicyUpdate: + + """ + 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 = { + 'column_name': 'str', + 'column_type': 'str', + 'algorithm_type': 'str', + 'algorithm_detail': 'str', + 'algorithm_detail_dto': 'AlgorithmDetailDTO' + } + + attribute_map = { + 'column_name': 'column_name', + 'column_type': 'column_type', + 'algorithm_type': 'algorithm_type', + 'algorithm_detail': 'algorithm_detail', + 'algorithm_detail_dto': 'algorithm_detail_dto' + } + + def __init__(self, column_name=None, column_type=None, algorithm_type=None, algorithm_detail=None, algorithm_detail_dto=None): + """DynamicMaskingPolicyUpdate + + The model defined in huaweicloud sdk + + :param column_name: 数据表中的字段名称。 + :type column_name: str + :param column_type: 数据表中字段的数据类型。 + :type column_type: str + :param algorithm_type: 具体动态脱敏规则参数介绍请参见[动态脱敏规则介绍](dataartsstudio_01_1036.html)。 HIVE数据源动态脱敏算法 - MASK 掩盖英文字符和数字 - MASK_SHOW_LAST_4 保留后四位 - MASK_SHOW_FIRST_4 保留前四位 - MASK_HASH 哈希掩盖 - MASK_DATE_SHOW_YEAR 掩盖月份和日期 - MASK_NULL NULL掩盖 DWS数据源动态脱敏算法 - DWS_ALL_MASK 全掩码 - DWS_BACK_KEEP 保留后4位,其余脱敏为* - DWS_FRONT_KEEP 保留前2位,其余脱敏为* - DWS_SELF_CONFIG 需要输入开始位置、结束位置、脱敏字符传入detail结构体中,例如{\"start\": 1, \"end\": 2, \"string_target\": \"*\"} [DLI数据源动态脱敏算法](tag:nohcs) - [MASK 掩盖英文字符和数字](tag:nohcs) - [MASK_SHOW_LAST_4 保留后四位](tag:nohcs) - [MASK_SHOW_FIRST_4 保留前四位](tag:nohcs) - [MASK_HASH 哈希掩盖](tag:nohcs) - [MASK_DATE_SHOW_YEAR 掩盖月份和日期](tag:nohcs) - [MASK_NULL NULL掩盖](tag:nohcs) + :type algorithm_type: str + :param algorithm_detail: 动态脱敏策略算法详情。 + :type algorithm_detail: str + :param algorithm_detail_dto: + :type algorithm_detail_dto: :class:`huaweicloudsdkdataartsstudio.v1.AlgorithmDetailDTO` + """ + + + + self._column_name = None + self._column_type = None + self._algorithm_type = None + self._algorithm_detail = None + self._algorithm_detail_dto = None + self.discriminator = None + + self.column_name = column_name + self.column_type = column_type + if algorithm_type is not None: + self.algorithm_type = algorithm_type + if algorithm_detail is not None: + self.algorithm_detail = algorithm_detail + if algorithm_detail_dto is not None: + self.algorithm_detail_dto = algorithm_detail_dto + + @property + def column_name(self): + """Gets the column_name of this DynamicMaskingPolicyUpdate. + + 数据表中的字段名称。 + + :return: The column_name of this DynamicMaskingPolicyUpdate. + :rtype: str + """ + return self._column_name + + @column_name.setter + def column_name(self, column_name): + """Sets the column_name of this DynamicMaskingPolicyUpdate. + + 数据表中的字段名称。 + + :param column_name: The column_name of this DynamicMaskingPolicyUpdate. + :type column_name: str + """ + self._column_name = column_name + + @property + def column_type(self): + """Gets the column_type of this DynamicMaskingPolicyUpdate. + + 数据表中字段的数据类型。 + + :return: The column_type of this DynamicMaskingPolicyUpdate. + :rtype: str + """ + return self._column_type + + @column_type.setter + def column_type(self, column_type): + """Sets the column_type of this DynamicMaskingPolicyUpdate. + + 数据表中字段的数据类型。 + + :param column_type: The column_type of this DynamicMaskingPolicyUpdate. + :type column_type: str + """ + self._column_type = column_type + + @property + def algorithm_type(self): + """Gets the algorithm_type of this DynamicMaskingPolicyUpdate. + + 具体动态脱敏规则参数介绍请参见[动态脱敏规则介绍](dataartsstudio_01_1036.html)。 HIVE数据源动态脱敏算法 - MASK 掩盖英文字符和数字 - MASK_SHOW_LAST_4 保留后四位 - MASK_SHOW_FIRST_4 保留前四位 - MASK_HASH 哈希掩盖 - MASK_DATE_SHOW_YEAR 掩盖月份和日期 - MASK_NULL NULL掩盖 DWS数据源动态脱敏算法 - DWS_ALL_MASK 全掩码 - DWS_BACK_KEEP 保留后4位,其余脱敏为* - DWS_FRONT_KEEP 保留前2位,其余脱敏为* - DWS_SELF_CONFIG 需要输入开始位置、结束位置、脱敏字符传入detail结构体中,例如{\"start\": 1, \"end\": 2, \"string_target\": \"*\"} [DLI数据源动态脱敏算法](tag:nohcs) - [MASK 掩盖英文字符和数字](tag:nohcs) - [MASK_SHOW_LAST_4 保留后四位](tag:nohcs) - [MASK_SHOW_FIRST_4 保留前四位](tag:nohcs) - [MASK_HASH 哈希掩盖](tag:nohcs) - [MASK_DATE_SHOW_YEAR 掩盖月份和日期](tag:nohcs) - [MASK_NULL NULL掩盖](tag:nohcs) + + :return: The algorithm_type of this DynamicMaskingPolicyUpdate. + :rtype: str + """ + return self._algorithm_type + + @algorithm_type.setter + def algorithm_type(self, algorithm_type): + """Sets the algorithm_type of this DynamicMaskingPolicyUpdate. + + 具体动态脱敏规则参数介绍请参见[动态脱敏规则介绍](dataartsstudio_01_1036.html)。 HIVE数据源动态脱敏算法 - MASK 掩盖英文字符和数字 - MASK_SHOW_LAST_4 保留后四位 - MASK_SHOW_FIRST_4 保留前四位 - MASK_HASH 哈希掩盖 - MASK_DATE_SHOW_YEAR 掩盖月份和日期 - MASK_NULL NULL掩盖 DWS数据源动态脱敏算法 - DWS_ALL_MASK 全掩码 - DWS_BACK_KEEP 保留后4位,其余脱敏为* - DWS_FRONT_KEEP 保留前2位,其余脱敏为* - DWS_SELF_CONFIG 需要输入开始位置、结束位置、脱敏字符传入detail结构体中,例如{\"start\": 1, \"end\": 2, \"string_target\": \"*\"} [DLI数据源动态脱敏算法](tag:nohcs) - [MASK 掩盖英文字符和数字](tag:nohcs) - [MASK_SHOW_LAST_4 保留后四位](tag:nohcs) - [MASK_SHOW_FIRST_4 保留前四位](tag:nohcs) - [MASK_HASH 哈希掩盖](tag:nohcs) - [MASK_DATE_SHOW_YEAR 掩盖月份和日期](tag:nohcs) - [MASK_NULL NULL掩盖](tag:nohcs) + + :param algorithm_type: The algorithm_type of this DynamicMaskingPolicyUpdate. + :type algorithm_type: str + """ + self._algorithm_type = algorithm_type + + @property + def algorithm_detail(self): + """Gets the algorithm_detail of this DynamicMaskingPolicyUpdate. + + 动态脱敏策略算法详情。 + + :return: The algorithm_detail of this DynamicMaskingPolicyUpdate. + :rtype: str + """ + return self._algorithm_detail + + @algorithm_detail.setter + def algorithm_detail(self, algorithm_detail): + """Sets the algorithm_detail of this DynamicMaskingPolicyUpdate. + + 动态脱敏策略算法详情。 + + :param algorithm_detail: The algorithm_detail of this DynamicMaskingPolicyUpdate. + :type algorithm_detail: str + """ + self._algorithm_detail = algorithm_detail + + @property + def algorithm_detail_dto(self): + """Gets the algorithm_detail_dto of this DynamicMaskingPolicyUpdate. + + :return: The algorithm_detail_dto of this DynamicMaskingPolicyUpdate. + :rtype: :class:`huaweicloudsdkdataartsstudio.v1.AlgorithmDetailDTO` + """ + return self._algorithm_detail_dto + + @algorithm_detail_dto.setter + def algorithm_detail_dto(self, algorithm_detail_dto): + """Sets the algorithm_detail_dto of this DynamicMaskingPolicyUpdate. + + :param algorithm_detail_dto: The algorithm_detail_dto of this DynamicMaskingPolicyUpdate. + :type algorithm_detail_dto: :class:`huaweicloudsdkdataartsstudio.v1.AlgorithmDetailDTO` + """ + self._algorithm_detail_dto = algorithm_detail_dto + + 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, DynamicMaskingPolicyUpdate): + 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-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/dynamic_masking_policy_update_dto.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/dynamic_masking_policy_update_dto.py new file mode 100644 index 0000000000..5dd5802e8a --- /dev/null +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/dynamic_masking_policy_update_dto.py @@ -0,0 +1,454 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class DynamicMaskingPolicyUpdateDTO: + + """ + 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 = { + 'name': 'str', + 'datasource_type': 'str', + 'cluster_id': 'str', + 'cluster_name': 'str', + 'database_name': 'str', + 'table_id': 'str', + 'table_name': 'str', + 'user_groups': 'str', + 'users': 'str', + 'conn_name': 'str', + 'conn_id': 'str', + 'schema_name': 'str', + 'policy_list': 'list[DynamicMaskingPolicyUpdate]' + } + + attribute_map = { + 'name': 'name', + 'datasource_type': 'datasource_type', + 'cluster_id': 'cluster_id', + 'cluster_name': 'cluster_name', + 'database_name': 'database_name', + 'table_id': 'table_id', + 'table_name': 'table_name', + 'user_groups': 'user_groups', + 'users': 'users', + 'conn_name': 'conn_name', + 'conn_id': 'conn_id', + 'schema_name': 'schema_name', + 'policy_list': 'policy_list' + } + + def __init__(self, name=None, datasource_type=None, cluster_id=None, cluster_name=None, database_name=None, table_id=None, table_name=None, user_groups=None, users=None, conn_name=None, conn_id=None, schema_name=None, policy_list=None): + """DynamicMaskingPolicyUpdateDTO + + The model defined in huaweicloud sdk + + :param name: 策略名称。英文和汉字开头, 支持英文、汉字、数字、下划线, 2-64字符。 + :type name: str + :param datasource_type: 数据源类型 - HIVE数据源 - DWS数据源 - [DLI数据源](tag:nohcs) + :type datasource_type: str + :param cluster_id: 集群id。请于集群管理页面查看集群ID信息。[当数据源类型为DLI时,该参数需要填写为DLI](tag:nohcs)。 + :type cluster_id: str + :param cluster_name: 集群名称。请于集群管理页面查看集群名称信息。[当数据源类型为DLI时,该参数需要填写为DLI](tag:nohcs)。 + :type cluster_name: str + :param database_name: 数据库名称。获取方法请参见[获取数据源中的表](getDataTables.html)。 + :type database_name: str + :param table_id: 数据表id,获取方法请参见[获取数据源中的表](getDataTables.html)。 + :type table_id: str + :param table_name: 数据表名称, 获取方法请参见[获取数据源中的表](getDataTables.html)。 + :type table_name: str + :param user_groups: 用户组列表,用户组名称逗号分隔(非必填项,但用户、用户组必须二选其一进行配置)。例如:\"userGroup1,userGroup2\"。 + :type user_groups: str + :param users: 用户列表,用户名称逗号分隔(非必填项,但用户、用户组必须二选其一进行配置),例如:\"user1,user2\"。 + :type users: str + :param conn_name: 数据连接名称,获取方法请参见[查询数据连接列表](ListDataconnections.html)。 + :type conn_name: str + :param conn_id: 数据连接id,获取方法请参见[查询数据连接列表](ListDataconnections.html)。 + :type conn_id: str + :param schema_name: DWS数据源的模式名称。 + :type schema_name: str + :param policy_list: 动态数据脱敏策略列表。 + :type policy_list: list[:class:`huaweicloudsdkdataartsstudio.v1.DynamicMaskingPolicyUpdate`] + """ + + + + self._name = None + self._datasource_type = None + self._cluster_id = None + self._cluster_name = None + self._database_name = None + self._table_id = None + self._table_name = None + self._user_groups = None + self._users = None + self._conn_name = None + self._conn_id = None + self._schema_name = None + self._policy_list = None + self.discriminator = None + + self.name = name + self.datasource_type = datasource_type + self.cluster_id = cluster_id + self.cluster_name = cluster_name + self.database_name = database_name + if table_id is not None: + self.table_id = table_id + self.table_name = table_name + if user_groups is not None: + self.user_groups = user_groups + if users is not None: + self.users = users + self.conn_name = conn_name + self.conn_id = conn_id + if schema_name is not None: + self.schema_name = schema_name + self.policy_list = policy_list + + @property + def name(self): + """Gets the name of this DynamicMaskingPolicyUpdateDTO. + + 策略名称。英文和汉字开头, 支持英文、汉字、数字、下划线, 2-64字符。 + + :return: The name of this DynamicMaskingPolicyUpdateDTO. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this DynamicMaskingPolicyUpdateDTO. + + 策略名称。英文和汉字开头, 支持英文、汉字、数字、下划线, 2-64字符。 + + :param name: The name of this DynamicMaskingPolicyUpdateDTO. + :type name: str + """ + self._name = name + + @property + def datasource_type(self): + """Gets the datasource_type of this DynamicMaskingPolicyUpdateDTO. + + 数据源类型 - HIVE数据源 - DWS数据源 - [DLI数据源](tag:nohcs) + + :return: The datasource_type of this DynamicMaskingPolicyUpdateDTO. + :rtype: str + """ + return self._datasource_type + + @datasource_type.setter + def datasource_type(self, datasource_type): + """Sets the datasource_type of this DynamicMaskingPolicyUpdateDTO. + + 数据源类型 - HIVE数据源 - DWS数据源 - [DLI数据源](tag:nohcs) + + :param datasource_type: The datasource_type of this DynamicMaskingPolicyUpdateDTO. + :type datasource_type: str + """ + self._datasource_type = datasource_type + + @property + def cluster_id(self): + """Gets the cluster_id of this DynamicMaskingPolicyUpdateDTO. + + 集群id。请于集群管理页面查看集群ID信息。[当数据源类型为DLI时,该参数需要填写为DLI](tag:nohcs)。 + + :return: The cluster_id of this DynamicMaskingPolicyUpdateDTO. + :rtype: str + """ + return self._cluster_id + + @cluster_id.setter + def cluster_id(self, cluster_id): + """Sets the cluster_id of this DynamicMaskingPolicyUpdateDTO. + + 集群id。请于集群管理页面查看集群ID信息。[当数据源类型为DLI时,该参数需要填写为DLI](tag:nohcs)。 + + :param cluster_id: The cluster_id of this DynamicMaskingPolicyUpdateDTO. + :type cluster_id: str + """ + self._cluster_id = cluster_id + + @property + def cluster_name(self): + """Gets the cluster_name of this DynamicMaskingPolicyUpdateDTO. + + 集群名称。请于集群管理页面查看集群名称信息。[当数据源类型为DLI时,该参数需要填写为DLI](tag:nohcs)。 + + :return: The cluster_name of this DynamicMaskingPolicyUpdateDTO. + :rtype: str + """ + return self._cluster_name + + @cluster_name.setter + def cluster_name(self, cluster_name): + """Sets the cluster_name of this DynamicMaskingPolicyUpdateDTO. + + 集群名称。请于集群管理页面查看集群名称信息。[当数据源类型为DLI时,该参数需要填写为DLI](tag:nohcs)。 + + :param cluster_name: The cluster_name of this DynamicMaskingPolicyUpdateDTO. + :type cluster_name: str + """ + self._cluster_name = cluster_name + + @property + def database_name(self): + """Gets the database_name of this DynamicMaskingPolicyUpdateDTO. + + 数据库名称。获取方法请参见[获取数据源中的表](getDataTables.html)。 + + :return: The database_name of this DynamicMaskingPolicyUpdateDTO. + :rtype: str + """ + return self._database_name + + @database_name.setter + def database_name(self, database_name): + """Sets the database_name of this DynamicMaskingPolicyUpdateDTO. + + 数据库名称。获取方法请参见[获取数据源中的表](getDataTables.html)。 + + :param database_name: The database_name of this DynamicMaskingPolicyUpdateDTO. + :type database_name: str + """ + self._database_name = database_name + + @property + def table_id(self): + """Gets the table_id of this DynamicMaskingPolicyUpdateDTO. + + 数据表id,获取方法请参见[获取数据源中的表](getDataTables.html)。 + + :return: The table_id of this DynamicMaskingPolicyUpdateDTO. + :rtype: str + """ + return self._table_id + + @table_id.setter + def table_id(self, table_id): + """Sets the table_id of this DynamicMaskingPolicyUpdateDTO. + + 数据表id,获取方法请参见[获取数据源中的表](getDataTables.html)。 + + :param table_id: The table_id of this DynamicMaskingPolicyUpdateDTO. + :type table_id: str + """ + self._table_id = table_id + + @property + def table_name(self): + """Gets the table_name of this DynamicMaskingPolicyUpdateDTO. + + 数据表名称, 获取方法请参见[获取数据源中的表](getDataTables.html)。 + + :return: The table_name of this DynamicMaskingPolicyUpdateDTO. + :rtype: str + """ + return self._table_name + + @table_name.setter + def table_name(self, table_name): + """Sets the table_name of this DynamicMaskingPolicyUpdateDTO. + + 数据表名称, 获取方法请参见[获取数据源中的表](getDataTables.html)。 + + :param table_name: The table_name of this DynamicMaskingPolicyUpdateDTO. + :type table_name: str + """ + self._table_name = table_name + + @property + def user_groups(self): + """Gets the user_groups of this DynamicMaskingPolicyUpdateDTO. + + 用户组列表,用户组名称逗号分隔(非必填项,但用户、用户组必须二选其一进行配置)。例如:\"userGroup1,userGroup2\"。 + + :return: The user_groups of this DynamicMaskingPolicyUpdateDTO. + :rtype: str + """ + return self._user_groups + + @user_groups.setter + def user_groups(self, user_groups): + """Sets the user_groups of this DynamicMaskingPolicyUpdateDTO. + + 用户组列表,用户组名称逗号分隔(非必填项,但用户、用户组必须二选其一进行配置)。例如:\"userGroup1,userGroup2\"。 + + :param user_groups: The user_groups of this DynamicMaskingPolicyUpdateDTO. + :type user_groups: str + """ + self._user_groups = user_groups + + @property + def users(self): + """Gets the users of this DynamicMaskingPolicyUpdateDTO. + + 用户列表,用户名称逗号分隔(非必填项,但用户、用户组必须二选其一进行配置),例如:\"user1,user2\"。 + + :return: The users of this DynamicMaskingPolicyUpdateDTO. + :rtype: str + """ + return self._users + + @users.setter + def users(self, users): + """Sets the users of this DynamicMaskingPolicyUpdateDTO. + + 用户列表,用户名称逗号分隔(非必填项,但用户、用户组必须二选其一进行配置),例如:\"user1,user2\"。 + + :param users: The users of this DynamicMaskingPolicyUpdateDTO. + :type users: str + """ + self._users = users + + @property + def conn_name(self): + """Gets the conn_name of this DynamicMaskingPolicyUpdateDTO. + + 数据连接名称,获取方法请参见[查询数据连接列表](ListDataconnections.html)。 + + :return: The conn_name of this DynamicMaskingPolicyUpdateDTO. + :rtype: str + """ + return self._conn_name + + @conn_name.setter + def conn_name(self, conn_name): + """Sets the conn_name of this DynamicMaskingPolicyUpdateDTO. + + 数据连接名称,获取方法请参见[查询数据连接列表](ListDataconnections.html)。 + + :param conn_name: The conn_name of this DynamicMaskingPolicyUpdateDTO. + :type conn_name: str + """ + self._conn_name = conn_name + + @property + def conn_id(self): + """Gets the conn_id of this DynamicMaskingPolicyUpdateDTO. + + 数据连接id,获取方法请参见[查询数据连接列表](ListDataconnections.html)。 + + :return: The conn_id of this DynamicMaskingPolicyUpdateDTO. + :rtype: str + """ + return self._conn_id + + @conn_id.setter + def conn_id(self, conn_id): + """Sets the conn_id of this DynamicMaskingPolicyUpdateDTO. + + 数据连接id,获取方法请参见[查询数据连接列表](ListDataconnections.html)。 + + :param conn_id: The conn_id of this DynamicMaskingPolicyUpdateDTO. + :type conn_id: str + """ + self._conn_id = conn_id + + @property + def schema_name(self): + """Gets the schema_name of this DynamicMaskingPolicyUpdateDTO. + + DWS数据源的模式名称。 + + :return: The schema_name of this DynamicMaskingPolicyUpdateDTO. + :rtype: str + """ + return self._schema_name + + @schema_name.setter + def schema_name(self, schema_name): + """Sets the schema_name of this DynamicMaskingPolicyUpdateDTO. + + DWS数据源的模式名称。 + + :param schema_name: The schema_name of this DynamicMaskingPolicyUpdateDTO. + :type schema_name: str + """ + self._schema_name = schema_name + + @property + def policy_list(self): + """Gets the policy_list of this DynamicMaskingPolicyUpdateDTO. + + 动态数据脱敏策略列表。 + + :return: The policy_list of this DynamicMaskingPolicyUpdateDTO. + :rtype: list[:class:`huaweicloudsdkdataartsstudio.v1.DynamicMaskingPolicyUpdate`] + """ + return self._policy_list + + @policy_list.setter + def policy_list(self, policy_list): + """Sets the policy_list of this DynamicMaskingPolicyUpdateDTO. + + 动态数据脱敏策略列表。 + + :param policy_list: The policy_list of this DynamicMaskingPolicyUpdateDTO. + :type policy_list: list[:class:`huaweicloudsdkdataartsstudio.v1.DynamicMaskingPolicyUpdate`] + """ + self._policy_list = policy_list + + 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, DynamicMaskingPolicyUpdateDTO): + 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-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_security_dynamic_masking_policies_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_security_dynamic_masking_policies_request.py new file mode 100644 index 0000000000..105e3358d2 --- /dev/null +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_security_dynamic_masking_policies_request.py @@ -0,0 +1,346 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ListSecurityDynamicMaskingPoliciesRequest: + + """ + 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 = { + 'workspace': 'str', + 'limit': 'int', + 'offset': 'int', + 'name': 'str', + 'cluster_name': 'str', + 'database_name': 'str', + 'table_name': 'str', + 'order_by': 'str', + 'order_by_asc': 'bool' + } + + attribute_map = { + 'workspace': 'workspace', + 'limit': 'limit', + 'offset': 'offset', + 'name': 'name', + 'cluster_name': 'cluster_name', + 'database_name': 'database_name', + 'table_name': 'table_name', + 'order_by': 'order_by', + 'order_by_asc': 'order_by_asc' + } + + def __init__(self, workspace=None, limit=None, offset=None, name=None, cluster_name=None, database_name=None, table_name=None, order_by=None, order_by_asc=None): + """ListSecurityDynamicMaskingPoliciesRequest + + The model defined in huaweicloud sdk + + :param workspace: DataArts Studio工作空间ID + :type workspace: str + :param limit: limit + :type limit: int + :param offset: offset + :type offset: int + :param name: 动态脱敏策略名称。 + :type name: str + :param cluster_name: 集群名称 + :type cluster_name: str + :param database_name: 数据库名称 + :type database_name: str + :param table_name: 表名称 + :type table_name: str + :param order_by: 排序参数,UPDATE_TIME。 + :type order_by: str + :param order_by_asc: 是否升序(仅指定排序参数时有效)。 + :type order_by_asc: bool + """ + + + + self._workspace = None + self._limit = None + self._offset = None + self._name = None + self._cluster_name = None + self._database_name = None + self._table_name = None + self._order_by = None + self._order_by_asc = None + self.discriminator = None + + self.workspace = workspace + if limit is not None: + self.limit = limit + if offset is not None: + self.offset = offset + if name is not None: + self.name = name + if cluster_name is not None: + self.cluster_name = cluster_name + if database_name is not None: + self.database_name = database_name + if table_name is not None: + self.table_name = table_name + if order_by is not None: + self.order_by = order_by + if order_by_asc is not None: + self.order_by_asc = order_by_asc + + @property + def workspace(self): + """Gets the workspace of this ListSecurityDynamicMaskingPoliciesRequest. + + DataArts Studio工作空间ID + + :return: The workspace of this ListSecurityDynamicMaskingPoliciesRequest. + :rtype: str + """ + return self._workspace + + @workspace.setter + def workspace(self, workspace): + """Sets the workspace of this ListSecurityDynamicMaskingPoliciesRequest. + + DataArts Studio工作空间ID + + :param workspace: The workspace of this ListSecurityDynamicMaskingPoliciesRequest. + :type workspace: str + """ + self._workspace = workspace + + @property + def limit(self): + """Gets the limit of this ListSecurityDynamicMaskingPoliciesRequest. + + limit + + :return: The limit of this ListSecurityDynamicMaskingPoliciesRequest. + :rtype: int + """ + return self._limit + + @limit.setter + def limit(self, limit): + """Sets the limit of this ListSecurityDynamicMaskingPoliciesRequest. + + limit + + :param limit: The limit of this ListSecurityDynamicMaskingPoliciesRequest. + :type limit: int + """ + self._limit = limit + + @property + def offset(self): + """Gets the offset of this ListSecurityDynamicMaskingPoliciesRequest. + + offset + + :return: The offset of this ListSecurityDynamicMaskingPoliciesRequest. + :rtype: int + """ + return self._offset + + @offset.setter + def offset(self, offset): + """Sets the offset of this ListSecurityDynamicMaskingPoliciesRequest. + + offset + + :param offset: The offset of this ListSecurityDynamicMaskingPoliciesRequest. + :type offset: int + """ + self._offset = offset + + @property + def name(self): + """Gets the name of this ListSecurityDynamicMaskingPoliciesRequest. + + 动态脱敏策略名称。 + + :return: The name of this ListSecurityDynamicMaskingPoliciesRequest. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this ListSecurityDynamicMaskingPoliciesRequest. + + 动态脱敏策略名称。 + + :param name: The name of this ListSecurityDynamicMaskingPoliciesRequest. + :type name: str + """ + self._name = name + + @property + def cluster_name(self): + """Gets the cluster_name of this ListSecurityDynamicMaskingPoliciesRequest. + + 集群名称 + + :return: The cluster_name of this ListSecurityDynamicMaskingPoliciesRequest. + :rtype: str + """ + return self._cluster_name + + @cluster_name.setter + def cluster_name(self, cluster_name): + """Sets the cluster_name of this ListSecurityDynamicMaskingPoliciesRequest. + + 集群名称 + + :param cluster_name: The cluster_name of this ListSecurityDynamicMaskingPoliciesRequest. + :type cluster_name: str + """ + self._cluster_name = cluster_name + + @property + def database_name(self): + """Gets the database_name of this ListSecurityDynamicMaskingPoliciesRequest. + + 数据库名称 + + :return: The database_name of this ListSecurityDynamicMaskingPoliciesRequest. + :rtype: str + """ + return self._database_name + + @database_name.setter + def database_name(self, database_name): + """Sets the database_name of this ListSecurityDynamicMaskingPoliciesRequest. + + 数据库名称 + + :param database_name: The database_name of this ListSecurityDynamicMaskingPoliciesRequest. + :type database_name: str + """ + self._database_name = database_name + + @property + def table_name(self): + """Gets the table_name of this ListSecurityDynamicMaskingPoliciesRequest. + + 表名称 + + :return: The table_name of this ListSecurityDynamicMaskingPoliciesRequest. + :rtype: str + """ + return self._table_name + + @table_name.setter + def table_name(self, table_name): + """Sets the table_name of this ListSecurityDynamicMaskingPoliciesRequest. + + 表名称 + + :param table_name: The table_name of this ListSecurityDynamicMaskingPoliciesRequest. + :type table_name: str + """ + self._table_name = table_name + + @property + def order_by(self): + """Gets the order_by of this ListSecurityDynamicMaskingPoliciesRequest. + + 排序参数,UPDATE_TIME。 + + :return: The order_by of this ListSecurityDynamicMaskingPoliciesRequest. + :rtype: str + """ + return self._order_by + + @order_by.setter + def order_by(self, order_by): + """Sets the order_by of this ListSecurityDynamicMaskingPoliciesRequest. + + 排序参数,UPDATE_TIME。 + + :param order_by: The order_by of this ListSecurityDynamicMaskingPoliciesRequest. + :type order_by: str + """ + self._order_by = order_by + + @property + def order_by_asc(self): + """Gets the order_by_asc of this ListSecurityDynamicMaskingPoliciesRequest. + + 是否升序(仅指定排序参数时有效)。 + + :return: The order_by_asc of this ListSecurityDynamicMaskingPoliciesRequest. + :rtype: bool + """ + return self._order_by_asc + + @order_by_asc.setter + def order_by_asc(self, order_by_asc): + """Sets the order_by_asc of this ListSecurityDynamicMaskingPoliciesRequest. + + 是否升序(仅指定排序参数时有效)。 + + :param order_by_asc: The order_by_asc of this ListSecurityDynamicMaskingPoliciesRequest. + :type order_by_asc: bool + """ + self._order_by_asc = order_by_asc + + 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, ListSecurityDynamicMaskingPoliciesRequest): + 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-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_security_dynamic_masking_policies_response.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_security_dynamic_masking_policies_response.py new file mode 100644 index 0000000000..6e981848c1 --- /dev/null +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_security_dynamic_masking_policies_response.py @@ -0,0 +1,145 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_response import SdkResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ListSecurityDynamicMaskingPoliciesResponse(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 = { + 'total': 'int', + 'policies': 'list[DynamicMaskingPolicySet]' + } + + attribute_map = { + 'total': 'total', + 'policies': 'policies' + } + + def __init__(self, total=None, policies=None): + """ListSecurityDynamicMaskingPoliciesResponse + + The model defined in huaweicloud sdk + + :param total: 动态脱敏策略总条数。 + :type total: int + :param policies: 动态数据脱敏策略列表。 + :type policies: list[:class:`huaweicloudsdkdataartsstudio.v1.DynamicMaskingPolicySet`] + """ + + super(ListSecurityDynamicMaskingPoliciesResponse, self).__init__() + + self._total = None + self._policies = None + self.discriminator = None + + if total is not None: + self.total = total + if policies is not None: + self.policies = policies + + @property + def total(self): + """Gets the total of this ListSecurityDynamicMaskingPoliciesResponse. + + 动态脱敏策略总条数。 + + :return: The total of this ListSecurityDynamicMaskingPoliciesResponse. + :rtype: int + """ + return self._total + + @total.setter + def total(self, total): + """Sets the total of this ListSecurityDynamicMaskingPoliciesResponse. + + 动态脱敏策略总条数。 + + :param total: The total of this ListSecurityDynamicMaskingPoliciesResponse. + :type total: int + """ + self._total = total + + @property + def policies(self): + """Gets the policies of this ListSecurityDynamicMaskingPoliciesResponse. + + 动态数据脱敏策略列表。 + + :return: The policies of this ListSecurityDynamicMaskingPoliciesResponse. + :rtype: list[:class:`huaweicloudsdkdataartsstudio.v1.DynamicMaskingPolicySet`] + """ + return self._policies + + @policies.setter + def policies(self, policies): + """Sets the policies of this ListSecurityDynamicMaskingPoliciesResponse. + + 动态数据脱敏策略列表。 + + :param policies: The policies of this ListSecurityDynamicMaskingPoliciesResponse. + :type policies: list[:class:`huaweicloudsdkdataartsstudio.v1.DynamicMaskingPolicySet`] + """ + self._policies = policies + + 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, ListSecurityDynamicMaskingPoliciesResponse): + 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-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_security_dynamic_masking_policy_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_security_dynamic_masking_policy_request.py new file mode 100644 index 0000000000..7e0dc9acb1 --- /dev/null +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_security_dynamic_masking_policy_request.py @@ -0,0 +1,142 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ShowSecurityDynamicMaskingPolicyRequest: + + """ + 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 = { + 'workspace': 'str', + 'id': 'str' + } + + attribute_map = { + 'workspace': 'workspace', + 'id': 'id' + } + + def __init__(self, workspace=None, id=None): + """ShowSecurityDynamicMaskingPolicyRequest + + The model defined in huaweicloud sdk + + :param workspace: DataArts Studio工作空间ID + :type workspace: str + :param id: 动态脱敏策略id。 + :type id: str + """ + + + + self._workspace = None + self._id = None + self.discriminator = None + + self.workspace = workspace + self.id = id + + @property + def workspace(self): + """Gets the workspace of this ShowSecurityDynamicMaskingPolicyRequest. + + DataArts Studio工作空间ID + + :return: The workspace of this ShowSecurityDynamicMaskingPolicyRequest. + :rtype: str + """ + return self._workspace + + @workspace.setter + def workspace(self, workspace): + """Sets the workspace of this ShowSecurityDynamicMaskingPolicyRequest. + + DataArts Studio工作空间ID + + :param workspace: The workspace of this ShowSecurityDynamicMaskingPolicyRequest. + :type workspace: str + """ + self._workspace = workspace + + @property + def id(self): + """Gets the id of this ShowSecurityDynamicMaskingPolicyRequest. + + 动态脱敏策略id。 + + :return: The id of this ShowSecurityDynamicMaskingPolicyRequest. + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this ShowSecurityDynamicMaskingPolicyRequest. + + 动态脱敏策略id。 + + :param id: The id of this ShowSecurityDynamicMaskingPolicyRequest. + :type id: str + """ + self._id = 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, ShowSecurityDynamicMaskingPolicyRequest): + 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-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_security_dynamic_masking_policy_response.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_security_dynamic_masking_policy_response.py new file mode 100644 index 0000000000..eac33f65f8 --- /dev/null +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_security_dynamic_masking_policy_response.py @@ -0,0 +1,696 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_response import SdkResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ShowSecurityDynamicMaskingPolicyResponse(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 = { + 'id': 'str', + 'name': 'str', + 'datasource_type': 'str', + 'cluster_id': 'str', + 'cluster_name': 'str', + 'database_name': 'str', + 'table_id': 'str', + 'table_name': 'str', + 'user_groups': 'str', + 'users': 'str', + 'conn_name': 'str', + 'conn_id': 'str', + 'sync_status': 'str', + 'sync_msg': 'str', + 'sync_log': 'str', + 'create_time': 'int', + 'create_user': 'str', + 'update_time': 'int', + 'update_user': 'str', + 'schema_name': 'str', + 'policy_list': 'list[DynamicMaskingPolicy]' + } + + attribute_map = { + 'id': 'id', + 'name': 'name', + 'datasource_type': 'datasource_type', + 'cluster_id': 'cluster_id', + 'cluster_name': 'cluster_name', + 'database_name': 'database_name', + 'table_id': 'table_id', + 'table_name': 'table_name', + 'user_groups': 'user_groups', + 'users': 'users', + 'conn_name': 'conn_name', + 'conn_id': 'conn_id', + 'sync_status': 'sync_status', + 'sync_msg': 'sync_msg', + 'sync_log': 'sync_log', + 'create_time': 'create_time', + 'create_user': 'create_user', + 'update_time': 'update_time', + 'update_user': 'update_user', + 'schema_name': 'schema_name', + 'policy_list': 'policy_list' + } + + def __init__(self, id=None, name=None, datasource_type=None, cluster_id=None, cluster_name=None, database_name=None, table_id=None, table_name=None, user_groups=None, users=None, conn_name=None, conn_id=None, sync_status=None, sync_msg=None, sync_log=None, create_time=None, create_user=None, update_time=None, update_user=None, schema_name=None, policy_list=None): + """ShowSecurityDynamicMaskingPolicyResponse + + The model defined in huaweicloud sdk + + :param id: 策略id。 + :type id: str + :param name: 策略名称。英文和汉字开头, 支持英文、汉字、数字、下划线, 2-64字符。 + :type name: str + :param datasource_type: 数据源类型 - HIVE数据源 - DWS数据源 - [DLI数据源](tag:nohcs) + :type datasource_type: str + :param cluster_id: 集群id。请于集群管理页面查看集群ID信息。[当数据源类型为DLI时,该参数需要填写为DLI](tag:nohcs)。 + :type cluster_id: str + :param cluster_name: 集群名称。请于集群管理页面查看集群名称信息。[当数据源类型为DLI时,该参数需要填写为DLI](tag:nohcs)。 + :type cluster_name: str + :param database_name: 数据库名称。获取方法请参见[获取数据源中的表](getDataTables.html)。 + :type database_name: str + :param table_id: 数据表id,获取方法请参见[获取数据源中的表](getDataTables.html)。 + :type table_id: str + :param table_name: 数据表名称, 获取方法请参见[获取数据源中的表](getDataTables.html)。 + :type table_name: str + :param user_groups: 用户组列表,用户组名称逗号分隔(非必填项,但用户、用户组必须二选其一进行配置)。例如:\"userGroup1,userGroup2\"。 + :type user_groups: str + :param users: 用户列表,用户名称逗号分隔(非必填项,但用户、用户组必须二选其一进行配置),例如:\"user1,user2\"。 + :type users: str + :param conn_name: 数据连接名称,获取方法请参见[查询数据连接列表](ListDataconnections.html)。 + :type conn_name: str + :param conn_id: 数据连接id,获取方法请参见[查询数据连接列表](ListDataconnections.html)。 + :type conn_id: str + :param sync_status: 同步状态: - UNKNOWN 未知状态 - NOT_SYNC 未同步 - SYNCING 同步中 - SYNC_SUCCESS 同步成功 - SYNC_FAIL 同步失败 - SYNC_PARTIAL_FAIL 存在失败 - DELETE_FAIL 删除失败 - DELETING 删除中 - UPDATING 更新中 - DATA_UPDATED 数据存在更新 + :type sync_status: str + :param sync_msg: 策略同步信息。 + :type sync_msg: str + :param sync_log: 同步运行日志, 格式为 字段同步信息+换行符。 + :type sync_log: str + :param create_time: 策略创建时间。 + :type create_time: int + :param create_user: 策略创建者。 + :type create_user: str + :param update_time: 策略更新时间。 + :type update_time: int + :param update_user: 策略更新者。 + :type update_user: str + :param schema_name: DWS数据源的模式名称。 + :type schema_name: str + :param policy_list: 动态数据脱敏策略列表。 + :type policy_list: list[:class:`huaweicloudsdkdataartsstudio.v1.DynamicMaskingPolicy`] + """ + + super(ShowSecurityDynamicMaskingPolicyResponse, self).__init__() + + self._id = None + self._name = None + self._datasource_type = None + self._cluster_id = None + self._cluster_name = None + self._database_name = None + self._table_id = None + self._table_name = None + self._user_groups = None + self._users = None + self._conn_name = None + self._conn_id = None + self._sync_status = None + self._sync_msg = None + self._sync_log = None + self._create_time = None + self._create_user = None + self._update_time = None + self._update_user = None + self._schema_name = None + self._policy_list = None + self.discriminator = None + + if id is not None: + self.id = id + if name is not None: + self.name = name + if datasource_type is not None: + self.datasource_type = datasource_type + if cluster_id is not None: + self.cluster_id = cluster_id + if cluster_name is not None: + self.cluster_name = cluster_name + if database_name is not None: + self.database_name = database_name + if table_id is not None: + self.table_id = table_id + if table_name is not None: + self.table_name = table_name + if user_groups is not None: + self.user_groups = user_groups + if users is not None: + self.users = users + if conn_name is not None: + self.conn_name = conn_name + if conn_id is not None: + self.conn_id = conn_id + if sync_status is not None: + self.sync_status = sync_status + if sync_msg is not None: + self.sync_msg = sync_msg + if sync_log is not None: + self.sync_log = sync_log + if create_time is not None: + self.create_time = create_time + if create_user is not None: + self.create_user = create_user + if update_time is not None: + self.update_time = update_time + if update_user is not None: + self.update_user = update_user + if schema_name is not None: + self.schema_name = schema_name + if policy_list is not None: + self.policy_list = policy_list + + @property + def id(self): + """Gets the id of this ShowSecurityDynamicMaskingPolicyResponse. + + 策略id。 + + :return: The id of this ShowSecurityDynamicMaskingPolicyResponse. + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this ShowSecurityDynamicMaskingPolicyResponse. + + 策略id。 + + :param id: The id of this ShowSecurityDynamicMaskingPolicyResponse. + :type id: str + """ + self._id = id + + @property + def name(self): + """Gets the name of this ShowSecurityDynamicMaskingPolicyResponse. + + 策略名称。英文和汉字开头, 支持英文、汉字、数字、下划线, 2-64字符。 + + :return: The name of this ShowSecurityDynamicMaskingPolicyResponse. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this ShowSecurityDynamicMaskingPolicyResponse. + + 策略名称。英文和汉字开头, 支持英文、汉字、数字、下划线, 2-64字符。 + + :param name: The name of this ShowSecurityDynamicMaskingPolicyResponse. + :type name: str + """ + self._name = name + + @property + def datasource_type(self): + """Gets the datasource_type of this ShowSecurityDynamicMaskingPolicyResponse. + + 数据源类型 - HIVE数据源 - DWS数据源 - [DLI数据源](tag:nohcs) + + :return: The datasource_type of this ShowSecurityDynamicMaskingPolicyResponse. + :rtype: str + """ + return self._datasource_type + + @datasource_type.setter + def datasource_type(self, datasource_type): + """Sets the datasource_type of this ShowSecurityDynamicMaskingPolicyResponse. + + 数据源类型 - HIVE数据源 - DWS数据源 - [DLI数据源](tag:nohcs) + + :param datasource_type: The datasource_type of this ShowSecurityDynamicMaskingPolicyResponse. + :type datasource_type: str + """ + self._datasource_type = datasource_type + + @property + def cluster_id(self): + """Gets the cluster_id of this ShowSecurityDynamicMaskingPolicyResponse. + + 集群id。请于集群管理页面查看集群ID信息。[当数据源类型为DLI时,该参数需要填写为DLI](tag:nohcs)。 + + :return: The cluster_id of this ShowSecurityDynamicMaskingPolicyResponse. + :rtype: str + """ + return self._cluster_id + + @cluster_id.setter + def cluster_id(self, cluster_id): + """Sets the cluster_id of this ShowSecurityDynamicMaskingPolicyResponse. + + 集群id。请于集群管理页面查看集群ID信息。[当数据源类型为DLI时,该参数需要填写为DLI](tag:nohcs)。 + + :param cluster_id: The cluster_id of this ShowSecurityDynamicMaskingPolicyResponse. + :type cluster_id: str + """ + self._cluster_id = cluster_id + + @property + def cluster_name(self): + """Gets the cluster_name of this ShowSecurityDynamicMaskingPolicyResponse. + + 集群名称。请于集群管理页面查看集群名称信息。[当数据源类型为DLI时,该参数需要填写为DLI](tag:nohcs)。 + + :return: The cluster_name of this ShowSecurityDynamicMaskingPolicyResponse. + :rtype: str + """ + return self._cluster_name + + @cluster_name.setter + def cluster_name(self, cluster_name): + """Sets the cluster_name of this ShowSecurityDynamicMaskingPolicyResponse. + + 集群名称。请于集群管理页面查看集群名称信息。[当数据源类型为DLI时,该参数需要填写为DLI](tag:nohcs)。 + + :param cluster_name: The cluster_name of this ShowSecurityDynamicMaskingPolicyResponse. + :type cluster_name: str + """ + self._cluster_name = cluster_name + + @property + def database_name(self): + """Gets the database_name of this ShowSecurityDynamicMaskingPolicyResponse. + + 数据库名称。获取方法请参见[获取数据源中的表](getDataTables.html)。 + + :return: The database_name of this ShowSecurityDynamicMaskingPolicyResponse. + :rtype: str + """ + return self._database_name + + @database_name.setter + def database_name(self, database_name): + """Sets the database_name of this ShowSecurityDynamicMaskingPolicyResponse. + + 数据库名称。获取方法请参见[获取数据源中的表](getDataTables.html)。 + + :param database_name: The database_name of this ShowSecurityDynamicMaskingPolicyResponse. + :type database_name: str + """ + self._database_name = database_name + + @property + def table_id(self): + """Gets the table_id of this ShowSecurityDynamicMaskingPolicyResponse. + + 数据表id,获取方法请参见[获取数据源中的表](getDataTables.html)。 + + :return: The table_id of this ShowSecurityDynamicMaskingPolicyResponse. + :rtype: str + """ + return self._table_id + + @table_id.setter + def table_id(self, table_id): + """Sets the table_id of this ShowSecurityDynamicMaskingPolicyResponse. + + 数据表id,获取方法请参见[获取数据源中的表](getDataTables.html)。 + + :param table_id: The table_id of this ShowSecurityDynamicMaskingPolicyResponse. + :type table_id: str + """ + self._table_id = table_id + + @property + def table_name(self): + """Gets the table_name of this ShowSecurityDynamicMaskingPolicyResponse. + + 数据表名称, 获取方法请参见[获取数据源中的表](getDataTables.html)。 + + :return: The table_name of this ShowSecurityDynamicMaskingPolicyResponse. + :rtype: str + """ + return self._table_name + + @table_name.setter + def table_name(self, table_name): + """Sets the table_name of this ShowSecurityDynamicMaskingPolicyResponse. + + 数据表名称, 获取方法请参见[获取数据源中的表](getDataTables.html)。 + + :param table_name: The table_name of this ShowSecurityDynamicMaskingPolicyResponse. + :type table_name: str + """ + self._table_name = table_name + + @property + def user_groups(self): + """Gets the user_groups of this ShowSecurityDynamicMaskingPolicyResponse. + + 用户组列表,用户组名称逗号分隔(非必填项,但用户、用户组必须二选其一进行配置)。例如:\"userGroup1,userGroup2\"。 + + :return: The user_groups of this ShowSecurityDynamicMaskingPolicyResponse. + :rtype: str + """ + return self._user_groups + + @user_groups.setter + def user_groups(self, user_groups): + """Sets the user_groups of this ShowSecurityDynamicMaskingPolicyResponse. + + 用户组列表,用户组名称逗号分隔(非必填项,但用户、用户组必须二选其一进行配置)。例如:\"userGroup1,userGroup2\"。 + + :param user_groups: The user_groups of this ShowSecurityDynamicMaskingPolicyResponse. + :type user_groups: str + """ + self._user_groups = user_groups + + @property + def users(self): + """Gets the users of this ShowSecurityDynamicMaskingPolicyResponse. + + 用户列表,用户名称逗号分隔(非必填项,但用户、用户组必须二选其一进行配置),例如:\"user1,user2\"。 + + :return: The users of this ShowSecurityDynamicMaskingPolicyResponse. + :rtype: str + """ + return self._users + + @users.setter + def users(self, users): + """Sets the users of this ShowSecurityDynamicMaskingPolicyResponse. + + 用户列表,用户名称逗号分隔(非必填项,但用户、用户组必须二选其一进行配置),例如:\"user1,user2\"。 + + :param users: The users of this ShowSecurityDynamicMaskingPolicyResponse. + :type users: str + """ + self._users = users + + @property + def conn_name(self): + """Gets the conn_name of this ShowSecurityDynamicMaskingPolicyResponse. + + 数据连接名称,获取方法请参见[查询数据连接列表](ListDataconnections.html)。 + + :return: The conn_name of this ShowSecurityDynamicMaskingPolicyResponse. + :rtype: str + """ + return self._conn_name + + @conn_name.setter + def conn_name(self, conn_name): + """Sets the conn_name of this ShowSecurityDynamicMaskingPolicyResponse. + + 数据连接名称,获取方法请参见[查询数据连接列表](ListDataconnections.html)。 + + :param conn_name: The conn_name of this ShowSecurityDynamicMaskingPolicyResponse. + :type conn_name: str + """ + self._conn_name = conn_name + + @property + def conn_id(self): + """Gets the conn_id of this ShowSecurityDynamicMaskingPolicyResponse. + + 数据连接id,获取方法请参见[查询数据连接列表](ListDataconnections.html)。 + + :return: The conn_id of this ShowSecurityDynamicMaskingPolicyResponse. + :rtype: str + """ + return self._conn_id + + @conn_id.setter + def conn_id(self, conn_id): + """Sets the conn_id of this ShowSecurityDynamicMaskingPolicyResponse. + + 数据连接id,获取方法请参见[查询数据连接列表](ListDataconnections.html)。 + + :param conn_id: The conn_id of this ShowSecurityDynamicMaskingPolicyResponse. + :type conn_id: str + """ + self._conn_id = conn_id + + @property + def sync_status(self): + """Gets the sync_status of this ShowSecurityDynamicMaskingPolicyResponse. + + 同步状态: - UNKNOWN 未知状态 - NOT_SYNC 未同步 - SYNCING 同步中 - SYNC_SUCCESS 同步成功 - SYNC_FAIL 同步失败 - SYNC_PARTIAL_FAIL 存在失败 - DELETE_FAIL 删除失败 - DELETING 删除中 - UPDATING 更新中 - DATA_UPDATED 数据存在更新 + + :return: The sync_status of this ShowSecurityDynamicMaskingPolicyResponse. + :rtype: str + """ + return self._sync_status + + @sync_status.setter + def sync_status(self, sync_status): + """Sets the sync_status of this ShowSecurityDynamicMaskingPolicyResponse. + + 同步状态: - UNKNOWN 未知状态 - NOT_SYNC 未同步 - SYNCING 同步中 - SYNC_SUCCESS 同步成功 - SYNC_FAIL 同步失败 - SYNC_PARTIAL_FAIL 存在失败 - DELETE_FAIL 删除失败 - DELETING 删除中 - UPDATING 更新中 - DATA_UPDATED 数据存在更新 + + :param sync_status: The sync_status of this ShowSecurityDynamicMaskingPolicyResponse. + :type sync_status: str + """ + self._sync_status = sync_status + + @property + def sync_msg(self): + """Gets the sync_msg of this ShowSecurityDynamicMaskingPolicyResponse. + + 策略同步信息。 + + :return: The sync_msg of this ShowSecurityDynamicMaskingPolicyResponse. + :rtype: str + """ + return self._sync_msg + + @sync_msg.setter + def sync_msg(self, sync_msg): + """Sets the sync_msg of this ShowSecurityDynamicMaskingPolicyResponse. + + 策略同步信息。 + + :param sync_msg: The sync_msg of this ShowSecurityDynamicMaskingPolicyResponse. + :type sync_msg: str + """ + self._sync_msg = sync_msg + + @property + def sync_log(self): + """Gets the sync_log of this ShowSecurityDynamicMaskingPolicyResponse. + + 同步运行日志, 格式为 字段同步信息+换行符。 + + :return: The sync_log of this ShowSecurityDynamicMaskingPolicyResponse. + :rtype: str + """ + return self._sync_log + + @sync_log.setter + def sync_log(self, sync_log): + """Sets the sync_log of this ShowSecurityDynamicMaskingPolicyResponse. + + 同步运行日志, 格式为 字段同步信息+换行符。 + + :param sync_log: The sync_log of this ShowSecurityDynamicMaskingPolicyResponse. + :type sync_log: str + """ + self._sync_log = sync_log + + @property + def create_time(self): + """Gets the create_time of this ShowSecurityDynamicMaskingPolicyResponse. + + 策略创建时间。 + + :return: The create_time of this ShowSecurityDynamicMaskingPolicyResponse. + :rtype: int + """ + return self._create_time + + @create_time.setter + def create_time(self, create_time): + """Sets the create_time of this ShowSecurityDynamicMaskingPolicyResponse. + + 策略创建时间。 + + :param create_time: The create_time of this ShowSecurityDynamicMaskingPolicyResponse. + :type create_time: int + """ + self._create_time = create_time + + @property + def create_user(self): + """Gets the create_user of this ShowSecurityDynamicMaskingPolicyResponse. + + 策略创建者。 + + :return: The create_user of this ShowSecurityDynamicMaskingPolicyResponse. + :rtype: str + """ + return self._create_user + + @create_user.setter + def create_user(self, create_user): + """Sets the create_user of this ShowSecurityDynamicMaskingPolicyResponse. + + 策略创建者。 + + :param create_user: The create_user of this ShowSecurityDynamicMaskingPolicyResponse. + :type create_user: str + """ + self._create_user = create_user + + @property + def update_time(self): + """Gets the update_time of this ShowSecurityDynamicMaskingPolicyResponse. + + 策略更新时间。 + + :return: The update_time of this ShowSecurityDynamicMaskingPolicyResponse. + :rtype: int + """ + return self._update_time + + @update_time.setter + def update_time(self, update_time): + """Sets the update_time of this ShowSecurityDynamicMaskingPolicyResponse. + + 策略更新时间。 + + :param update_time: The update_time of this ShowSecurityDynamicMaskingPolicyResponse. + :type update_time: int + """ + self._update_time = update_time + + @property + def update_user(self): + """Gets the update_user of this ShowSecurityDynamicMaskingPolicyResponse. + + 策略更新者。 + + :return: The update_user of this ShowSecurityDynamicMaskingPolicyResponse. + :rtype: str + """ + return self._update_user + + @update_user.setter + def update_user(self, update_user): + """Sets the update_user of this ShowSecurityDynamicMaskingPolicyResponse. + + 策略更新者。 + + :param update_user: The update_user of this ShowSecurityDynamicMaskingPolicyResponse. + :type update_user: str + """ + self._update_user = update_user + + @property + def schema_name(self): + """Gets the schema_name of this ShowSecurityDynamicMaskingPolicyResponse. + + DWS数据源的模式名称。 + + :return: The schema_name of this ShowSecurityDynamicMaskingPolicyResponse. + :rtype: str + """ + return self._schema_name + + @schema_name.setter + def schema_name(self, schema_name): + """Sets the schema_name of this ShowSecurityDynamicMaskingPolicyResponse. + + DWS数据源的模式名称。 + + :param schema_name: The schema_name of this ShowSecurityDynamicMaskingPolicyResponse. + :type schema_name: str + """ + self._schema_name = schema_name + + @property + def policy_list(self): + """Gets the policy_list of this ShowSecurityDynamicMaskingPolicyResponse. + + 动态数据脱敏策略列表。 + + :return: The policy_list of this ShowSecurityDynamicMaskingPolicyResponse. + :rtype: list[:class:`huaweicloudsdkdataartsstudio.v1.DynamicMaskingPolicy`] + """ + return self._policy_list + + @policy_list.setter + def policy_list(self, policy_list): + """Sets the policy_list of this ShowSecurityDynamicMaskingPolicyResponse. + + 动态数据脱敏策略列表。 + + :param policy_list: The policy_list of this ShowSecurityDynamicMaskingPolicyResponse. + :type policy_list: list[:class:`huaweicloudsdkdataartsstudio.v1.DynamicMaskingPolicy`] + """ + self._policy_list = policy_list + + 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, ShowSecurityDynamicMaskingPolicyResponse): + 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-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/update_security_dynamic_masking_policy_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/update_security_dynamic_masking_policy_request.py new file mode 100644 index 0000000000..cf75ff1236 --- /dev/null +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/update_security_dynamic_masking_policy_request.py @@ -0,0 +1,167 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class UpdateSecurityDynamicMaskingPolicyRequest: + + """ + 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 = { + 'workspace': 'str', + 'id': 'str', + 'body': 'DynamicMaskingPolicyUpdateDTO' + } + + attribute_map = { + 'workspace': 'workspace', + 'id': 'id', + 'body': 'body' + } + + def __init__(self, workspace=None, id=None, body=None): + """UpdateSecurityDynamicMaskingPolicyRequest + + The model defined in huaweicloud sdk + + :param workspace: DataArts Studio工作空间ID + :type workspace: str + :param id: 脱敏策略id + :type id: str + :param body: Body of the UpdateSecurityDynamicMaskingPolicyRequest + :type body: :class:`huaweicloudsdkdataartsstudio.v1.DynamicMaskingPolicyUpdateDTO` + """ + + + + self._workspace = None + self._id = None + self._body = None + self.discriminator = None + + self.workspace = workspace + self.id = id + if body is not None: + self.body = body + + @property + def workspace(self): + """Gets the workspace of this UpdateSecurityDynamicMaskingPolicyRequest. + + DataArts Studio工作空间ID + + :return: The workspace of this UpdateSecurityDynamicMaskingPolicyRequest. + :rtype: str + """ + return self._workspace + + @workspace.setter + def workspace(self, workspace): + """Sets the workspace of this UpdateSecurityDynamicMaskingPolicyRequest. + + DataArts Studio工作空间ID + + :param workspace: The workspace of this UpdateSecurityDynamicMaskingPolicyRequest. + :type workspace: str + """ + self._workspace = workspace + + @property + def id(self): + """Gets the id of this UpdateSecurityDynamicMaskingPolicyRequest. + + 脱敏策略id + + :return: The id of this UpdateSecurityDynamicMaskingPolicyRequest. + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this UpdateSecurityDynamicMaskingPolicyRequest. + + 脱敏策略id + + :param id: The id of this UpdateSecurityDynamicMaskingPolicyRequest. + :type id: str + """ + self._id = id + + @property + def body(self): + """Gets the body of this UpdateSecurityDynamicMaskingPolicyRequest. + + :return: The body of this UpdateSecurityDynamicMaskingPolicyRequest. + :rtype: :class:`huaweicloudsdkdataartsstudio.v1.DynamicMaskingPolicyUpdateDTO` + """ + return self._body + + @body.setter + def body(self, body): + """Sets the body of this UpdateSecurityDynamicMaskingPolicyRequest. + + :param body: The body of this UpdateSecurityDynamicMaskingPolicyRequest. + :type body: :class:`huaweicloudsdkdataartsstudio.v1.DynamicMaskingPolicyUpdateDTO` + """ + 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, UpdateSecurityDynamicMaskingPolicyRequest): + 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-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/update_security_dynamic_masking_policy_response.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/update_security_dynamic_masking_policy_response.py new file mode 100644 index 0000000000..93a24f7cb2 --- /dev/null +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/update_security_dynamic_masking_policy_response.py @@ -0,0 +1,696 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_response import SdkResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class UpdateSecurityDynamicMaskingPolicyResponse(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 = { + 'id': 'str', + 'name': 'str', + 'datasource_type': 'str', + 'cluster_id': 'str', + 'cluster_name': 'str', + 'database_name': 'str', + 'table_id': 'str', + 'table_name': 'str', + 'user_groups': 'str', + 'users': 'str', + 'conn_name': 'str', + 'conn_id': 'str', + 'sync_status': 'str', + 'sync_msg': 'str', + 'sync_log': 'str', + 'create_time': 'int', + 'create_user': 'str', + 'update_time': 'int', + 'update_user': 'str', + 'schema_name': 'str', + 'policy_list': 'list[DynamicMaskingPolicy]' + } + + attribute_map = { + 'id': 'id', + 'name': 'name', + 'datasource_type': 'datasource_type', + 'cluster_id': 'cluster_id', + 'cluster_name': 'cluster_name', + 'database_name': 'database_name', + 'table_id': 'table_id', + 'table_name': 'table_name', + 'user_groups': 'user_groups', + 'users': 'users', + 'conn_name': 'conn_name', + 'conn_id': 'conn_id', + 'sync_status': 'sync_status', + 'sync_msg': 'sync_msg', + 'sync_log': 'sync_log', + 'create_time': 'create_time', + 'create_user': 'create_user', + 'update_time': 'update_time', + 'update_user': 'update_user', + 'schema_name': 'schema_name', + 'policy_list': 'policy_list' + } + + def __init__(self, id=None, name=None, datasource_type=None, cluster_id=None, cluster_name=None, database_name=None, table_id=None, table_name=None, user_groups=None, users=None, conn_name=None, conn_id=None, sync_status=None, sync_msg=None, sync_log=None, create_time=None, create_user=None, update_time=None, update_user=None, schema_name=None, policy_list=None): + """UpdateSecurityDynamicMaskingPolicyResponse + + The model defined in huaweicloud sdk + + :param id: 策略id。 + :type id: str + :param name: 策略名称。英文和汉字开头, 支持英文、汉字、数字、下划线, 2-64字符。 + :type name: str + :param datasource_type: 数据源类型 - HIVE数据源 - DWS数据源 - [DLI数据源](tag:nohcs) + :type datasource_type: str + :param cluster_id: 集群id。请于集群管理页面查看集群ID信息。[当数据源类型为DLI时,该参数需要填写为DLI](tag:nohcs)。 + :type cluster_id: str + :param cluster_name: 集群名称。请于集群管理页面查看集群名称信息。[当数据源类型为DLI时,该参数需要填写为DLI](tag:nohcs)。 + :type cluster_name: str + :param database_name: 数据库名称。获取方法请参见[获取数据源中的表](getDataTables.html)。 + :type database_name: str + :param table_id: 数据表id,获取方法请参见[获取数据源中的表](getDataTables.html)。 + :type table_id: str + :param table_name: 数据表名称, 获取方法请参见[获取数据源中的表](getDataTables.html)。 + :type table_name: str + :param user_groups: 用户组列表,用户组名称逗号分隔(非必填项,但用户、用户组必须二选其一进行配置)。例如:\"userGroup1,userGroup2\"。 + :type user_groups: str + :param users: 用户列表,用户名称逗号分隔(非必填项,但用户、用户组必须二选其一进行配置),例如:\"user1,user2\"。 + :type users: str + :param conn_name: 数据连接名称,获取方法请参见[查询数据连接列表](ListDataconnections.html)。 + :type conn_name: str + :param conn_id: 数据连接id,获取方法请参见[查询数据连接列表](ListDataconnections.html)。 + :type conn_id: str + :param sync_status: 同步状态: - UNKNOWN 未知状态 - NOT_SYNC 未同步 - SYNCING 同步中 - SYNC_SUCCESS 同步成功 - SYNC_FAIL 同步失败 - SYNC_PARTIAL_FAIL 存在失败 - DELETE_FAIL 删除失败 - DELETING 删除中 - UPDATING 更新中 - DATA_UPDATED 数据存在更新 + :type sync_status: str + :param sync_msg: 策略同步信息。 + :type sync_msg: str + :param sync_log: 同步运行日志, 格式为 字段同步信息+换行符。 + :type sync_log: str + :param create_time: 策略创建时间。 + :type create_time: int + :param create_user: 策略创建者。 + :type create_user: str + :param update_time: 策略更新时间。 + :type update_time: int + :param update_user: 策略更新者。 + :type update_user: str + :param schema_name: DWS数据源的模式名称。 + :type schema_name: str + :param policy_list: 动态数据脱敏策略列表。 + :type policy_list: list[:class:`huaweicloudsdkdataartsstudio.v1.DynamicMaskingPolicy`] + """ + + super(UpdateSecurityDynamicMaskingPolicyResponse, self).__init__() + + self._id = None + self._name = None + self._datasource_type = None + self._cluster_id = None + self._cluster_name = None + self._database_name = None + self._table_id = None + self._table_name = None + self._user_groups = None + self._users = None + self._conn_name = None + self._conn_id = None + self._sync_status = None + self._sync_msg = None + self._sync_log = None + self._create_time = None + self._create_user = None + self._update_time = None + self._update_user = None + self._schema_name = None + self._policy_list = None + self.discriminator = None + + if id is not None: + self.id = id + if name is not None: + self.name = name + if datasource_type is not None: + self.datasource_type = datasource_type + if cluster_id is not None: + self.cluster_id = cluster_id + if cluster_name is not None: + self.cluster_name = cluster_name + if database_name is not None: + self.database_name = database_name + if table_id is not None: + self.table_id = table_id + if table_name is not None: + self.table_name = table_name + if user_groups is not None: + self.user_groups = user_groups + if users is not None: + self.users = users + if conn_name is not None: + self.conn_name = conn_name + if conn_id is not None: + self.conn_id = conn_id + if sync_status is not None: + self.sync_status = sync_status + if sync_msg is not None: + self.sync_msg = sync_msg + if sync_log is not None: + self.sync_log = sync_log + if create_time is not None: + self.create_time = create_time + if create_user is not None: + self.create_user = create_user + if update_time is not None: + self.update_time = update_time + if update_user is not None: + self.update_user = update_user + if schema_name is not None: + self.schema_name = schema_name + if policy_list is not None: + self.policy_list = policy_list + + @property + def id(self): + """Gets the id of this UpdateSecurityDynamicMaskingPolicyResponse. + + 策略id。 + + :return: The id of this UpdateSecurityDynamicMaskingPolicyResponse. + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this UpdateSecurityDynamicMaskingPolicyResponse. + + 策略id。 + + :param id: The id of this UpdateSecurityDynamicMaskingPolicyResponse. + :type id: str + """ + self._id = id + + @property + def name(self): + """Gets the name of this UpdateSecurityDynamicMaskingPolicyResponse. + + 策略名称。英文和汉字开头, 支持英文、汉字、数字、下划线, 2-64字符。 + + :return: The name of this UpdateSecurityDynamicMaskingPolicyResponse. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this UpdateSecurityDynamicMaskingPolicyResponse. + + 策略名称。英文和汉字开头, 支持英文、汉字、数字、下划线, 2-64字符。 + + :param name: The name of this UpdateSecurityDynamicMaskingPolicyResponse. + :type name: str + """ + self._name = name + + @property + def datasource_type(self): + """Gets the datasource_type of this UpdateSecurityDynamicMaskingPolicyResponse. + + 数据源类型 - HIVE数据源 - DWS数据源 - [DLI数据源](tag:nohcs) + + :return: The datasource_type of this UpdateSecurityDynamicMaskingPolicyResponse. + :rtype: str + """ + return self._datasource_type + + @datasource_type.setter + def datasource_type(self, datasource_type): + """Sets the datasource_type of this UpdateSecurityDynamicMaskingPolicyResponse. + + 数据源类型 - HIVE数据源 - DWS数据源 - [DLI数据源](tag:nohcs) + + :param datasource_type: The datasource_type of this UpdateSecurityDynamicMaskingPolicyResponse. + :type datasource_type: str + """ + self._datasource_type = datasource_type + + @property + def cluster_id(self): + """Gets the cluster_id of this UpdateSecurityDynamicMaskingPolicyResponse. + + 集群id。请于集群管理页面查看集群ID信息。[当数据源类型为DLI时,该参数需要填写为DLI](tag:nohcs)。 + + :return: The cluster_id of this UpdateSecurityDynamicMaskingPolicyResponse. + :rtype: str + """ + return self._cluster_id + + @cluster_id.setter + def cluster_id(self, cluster_id): + """Sets the cluster_id of this UpdateSecurityDynamicMaskingPolicyResponse. + + 集群id。请于集群管理页面查看集群ID信息。[当数据源类型为DLI时,该参数需要填写为DLI](tag:nohcs)。 + + :param cluster_id: The cluster_id of this UpdateSecurityDynamicMaskingPolicyResponse. + :type cluster_id: str + """ + self._cluster_id = cluster_id + + @property + def cluster_name(self): + """Gets the cluster_name of this UpdateSecurityDynamicMaskingPolicyResponse. + + 集群名称。请于集群管理页面查看集群名称信息。[当数据源类型为DLI时,该参数需要填写为DLI](tag:nohcs)。 + + :return: The cluster_name of this UpdateSecurityDynamicMaskingPolicyResponse. + :rtype: str + """ + return self._cluster_name + + @cluster_name.setter + def cluster_name(self, cluster_name): + """Sets the cluster_name of this UpdateSecurityDynamicMaskingPolicyResponse. + + 集群名称。请于集群管理页面查看集群名称信息。[当数据源类型为DLI时,该参数需要填写为DLI](tag:nohcs)。 + + :param cluster_name: The cluster_name of this UpdateSecurityDynamicMaskingPolicyResponse. + :type cluster_name: str + """ + self._cluster_name = cluster_name + + @property + def database_name(self): + """Gets the database_name of this UpdateSecurityDynamicMaskingPolicyResponse. + + 数据库名称。获取方法请参见[获取数据源中的表](getDataTables.html)。 + + :return: The database_name of this UpdateSecurityDynamicMaskingPolicyResponse. + :rtype: str + """ + return self._database_name + + @database_name.setter + def database_name(self, database_name): + """Sets the database_name of this UpdateSecurityDynamicMaskingPolicyResponse. + + 数据库名称。获取方法请参见[获取数据源中的表](getDataTables.html)。 + + :param database_name: The database_name of this UpdateSecurityDynamicMaskingPolicyResponse. + :type database_name: str + """ + self._database_name = database_name + + @property + def table_id(self): + """Gets the table_id of this UpdateSecurityDynamicMaskingPolicyResponse. + + 数据表id,获取方法请参见[获取数据源中的表](getDataTables.html)。 + + :return: The table_id of this UpdateSecurityDynamicMaskingPolicyResponse. + :rtype: str + """ + return self._table_id + + @table_id.setter + def table_id(self, table_id): + """Sets the table_id of this UpdateSecurityDynamicMaskingPolicyResponse. + + 数据表id,获取方法请参见[获取数据源中的表](getDataTables.html)。 + + :param table_id: The table_id of this UpdateSecurityDynamicMaskingPolicyResponse. + :type table_id: str + """ + self._table_id = table_id + + @property + def table_name(self): + """Gets the table_name of this UpdateSecurityDynamicMaskingPolicyResponse. + + 数据表名称, 获取方法请参见[获取数据源中的表](getDataTables.html)。 + + :return: The table_name of this UpdateSecurityDynamicMaskingPolicyResponse. + :rtype: str + """ + return self._table_name + + @table_name.setter + def table_name(self, table_name): + """Sets the table_name of this UpdateSecurityDynamicMaskingPolicyResponse. + + 数据表名称, 获取方法请参见[获取数据源中的表](getDataTables.html)。 + + :param table_name: The table_name of this UpdateSecurityDynamicMaskingPolicyResponse. + :type table_name: str + """ + self._table_name = table_name + + @property + def user_groups(self): + """Gets the user_groups of this UpdateSecurityDynamicMaskingPolicyResponse. + + 用户组列表,用户组名称逗号分隔(非必填项,但用户、用户组必须二选其一进行配置)。例如:\"userGroup1,userGroup2\"。 + + :return: The user_groups of this UpdateSecurityDynamicMaskingPolicyResponse. + :rtype: str + """ + return self._user_groups + + @user_groups.setter + def user_groups(self, user_groups): + """Sets the user_groups of this UpdateSecurityDynamicMaskingPolicyResponse. + + 用户组列表,用户组名称逗号分隔(非必填项,但用户、用户组必须二选其一进行配置)。例如:\"userGroup1,userGroup2\"。 + + :param user_groups: The user_groups of this UpdateSecurityDynamicMaskingPolicyResponse. + :type user_groups: str + """ + self._user_groups = user_groups + + @property + def users(self): + """Gets the users of this UpdateSecurityDynamicMaskingPolicyResponse. + + 用户列表,用户名称逗号分隔(非必填项,但用户、用户组必须二选其一进行配置),例如:\"user1,user2\"。 + + :return: The users of this UpdateSecurityDynamicMaskingPolicyResponse. + :rtype: str + """ + return self._users + + @users.setter + def users(self, users): + """Sets the users of this UpdateSecurityDynamicMaskingPolicyResponse. + + 用户列表,用户名称逗号分隔(非必填项,但用户、用户组必须二选其一进行配置),例如:\"user1,user2\"。 + + :param users: The users of this UpdateSecurityDynamicMaskingPolicyResponse. + :type users: str + """ + self._users = users + + @property + def conn_name(self): + """Gets the conn_name of this UpdateSecurityDynamicMaskingPolicyResponse. + + 数据连接名称,获取方法请参见[查询数据连接列表](ListDataconnections.html)。 + + :return: The conn_name of this UpdateSecurityDynamicMaskingPolicyResponse. + :rtype: str + """ + return self._conn_name + + @conn_name.setter + def conn_name(self, conn_name): + """Sets the conn_name of this UpdateSecurityDynamicMaskingPolicyResponse. + + 数据连接名称,获取方法请参见[查询数据连接列表](ListDataconnections.html)。 + + :param conn_name: The conn_name of this UpdateSecurityDynamicMaskingPolicyResponse. + :type conn_name: str + """ + self._conn_name = conn_name + + @property + def conn_id(self): + """Gets the conn_id of this UpdateSecurityDynamicMaskingPolicyResponse. + + 数据连接id,获取方法请参见[查询数据连接列表](ListDataconnections.html)。 + + :return: The conn_id of this UpdateSecurityDynamicMaskingPolicyResponse. + :rtype: str + """ + return self._conn_id + + @conn_id.setter + def conn_id(self, conn_id): + """Sets the conn_id of this UpdateSecurityDynamicMaskingPolicyResponse. + + 数据连接id,获取方法请参见[查询数据连接列表](ListDataconnections.html)。 + + :param conn_id: The conn_id of this UpdateSecurityDynamicMaskingPolicyResponse. + :type conn_id: str + """ + self._conn_id = conn_id + + @property + def sync_status(self): + """Gets the sync_status of this UpdateSecurityDynamicMaskingPolicyResponse. + + 同步状态: - UNKNOWN 未知状态 - NOT_SYNC 未同步 - SYNCING 同步中 - SYNC_SUCCESS 同步成功 - SYNC_FAIL 同步失败 - SYNC_PARTIAL_FAIL 存在失败 - DELETE_FAIL 删除失败 - DELETING 删除中 - UPDATING 更新中 - DATA_UPDATED 数据存在更新 + + :return: The sync_status of this UpdateSecurityDynamicMaskingPolicyResponse. + :rtype: str + """ + return self._sync_status + + @sync_status.setter + def sync_status(self, sync_status): + """Sets the sync_status of this UpdateSecurityDynamicMaskingPolicyResponse. + + 同步状态: - UNKNOWN 未知状态 - NOT_SYNC 未同步 - SYNCING 同步中 - SYNC_SUCCESS 同步成功 - SYNC_FAIL 同步失败 - SYNC_PARTIAL_FAIL 存在失败 - DELETE_FAIL 删除失败 - DELETING 删除中 - UPDATING 更新中 - DATA_UPDATED 数据存在更新 + + :param sync_status: The sync_status of this UpdateSecurityDynamicMaskingPolicyResponse. + :type sync_status: str + """ + self._sync_status = sync_status + + @property + def sync_msg(self): + """Gets the sync_msg of this UpdateSecurityDynamicMaskingPolicyResponse. + + 策略同步信息。 + + :return: The sync_msg of this UpdateSecurityDynamicMaskingPolicyResponse. + :rtype: str + """ + return self._sync_msg + + @sync_msg.setter + def sync_msg(self, sync_msg): + """Sets the sync_msg of this UpdateSecurityDynamicMaskingPolicyResponse. + + 策略同步信息。 + + :param sync_msg: The sync_msg of this UpdateSecurityDynamicMaskingPolicyResponse. + :type sync_msg: str + """ + self._sync_msg = sync_msg + + @property + def sync_log(self): + """Gets the sync_log of this UpdateSecurityDynamicMaskingPolicyResponse. + + 同步运行日志, 格式为 字段同步信息+换行符。 + + :return: The sync_log of this UpdateSecurityDynamicMaskingPolicyResponse. + :rtype: str + """ + return self._sync_log + + @sync_log.setter + def sync_log(self, sync_log): + """Sets the sync_log of this UpdateSecurityDynamicMaskingPolicyResponse. + + 同步运行日志, 格式为 字段同步信息+换行符。 + + :param sync_log: The sync_log of this UpdateSecurityDynamicMaskingPolicyResponse. + :type sync_log: str + """ + self._sync_log = sync_log + + @property + def create_time(self): + """Gets the create_time of this UpdateSecurityDynamicMaskingPolicyResponse. + + 策略创建时间。 + + :return: The create_time of this UpdateSecurityDynamicMaskingPolicyResponse. + :rtype: int + """ + return self._create_time + + @create_time.setter + def create_time(self, create_time): + """Sets the create_time of this UpdateSecurityDynamicMaskingPolicyResponse. + + 策略创建时间。 + + :param create_time: The create_time of this UpdateSecurityDynamicMaskingPolicyResponse. + :type create_time: int + """ + self._create_time = create_time + + @property + def create_user(self): + """Gets the create_user of this UpdateSecurityDynamicMaskingPolicyResponse. + + 策略创建者。 + + :return: The create_user of this UpdateSecurityDynamicMaskingPolicyResponse. + :rtype: str + """ + return self._create_user + + @create_user.setter + def create_user(self, create_user): + """Sets the create_user of this UpdateSecurityDynamicMaskingPolicyResponse. + + 策略创建者。 + + :param create_user: The create_user of this UpdateSecurityDynamicMaskingPolicyResponse. + :type create_user: str + """ + self._create_user = create_user + + @property + def update_time(self): + """Gets the update_time of this UpdateSecurityDynamicMaskingPolicyResponse. + + 策略更新时间。 + + :return: The update_time of this UpdateSecurityDynamicMaskingPolicyResponse. + :rtype: int + """ + return self._update_time + + @update_time.setter + def update_time(self, update_time): + """Sets the update_time of this UpdateSecurityDynamicMaskingPolicyResponse. + + 策略更新时间。 + + :param update_time: The update_time of this UpdateSecurityDynamicMaskingPolicyResponse. + :type update_time: int + """ + self._update_time = update_time + + @property + def update_user(self): + """Gets the update_user of this UpdateSecurityDynamicMaskingPolicyResponse. + + 策略更新者。 + + :return: The update_user of this UpdateSecurityDynamicMaskingPolicyResponse. + :rtype: str + """ + return self._update_user + + @update_user.setter + def update_user(self, update_user): + """Sets the update_user of this UpdateSecurityDynamicMaskingPolicyResponse. + + 策略更新者。 + + :param update_user: The update_user of this UpdateSecurityDynamicMaskingPolicyResponse. + :type update_user: str + """ + self._update_user = update_user + + @property + def schema_name(self): + """Gets the schema_name of this UpdateSecurityDynamicMaskingPolicyResponse. + + DWS数据源的模式名称。 + + :return: The schema_name of this UpdateSecurityDynamicMaskingPolicyResponse. + :rtype: str + """ + return self._schema_name + + @schema_name.setter + def schema_name(self, schema_name): + """Sets the schema_name of this UpdateSecurityDynamicMaskingPolicyResponse. + + DWS数据源的模式名称。 + + :param schema_name: The schema_name of this UpdateSecurityDynamicMaskingPolicyResponse. + :type schema_name: str + """ + self._schema_name = schema_name + + @property + def policy_list(self): + """Gets the policy_list of this UpdateSecurityDynamicMaskingPolicyResponse. + + 动态数据脱敏策略列表。 + + :return: The policy_list of this UpdateSecurityDynamicMaskingPolicyResponse. + :rtype: list[:class:`huaweicloudsdkdataartsstudio.v1.DynamicMaskingPolicy`] + """ + return self._policy_list + + @policy_list.setter + def policy_list(self, policy_list): + """Sets the policy_list of this UpdateSecurityDynamicMaskingPolicyResponse. + + 动态数据脱敏策略列表。 + + :param policy_list: The policy_list of this UpdateSecurityDynamicMaskingPolicyResponse. + :type policy_list: list[:class:`huaweicloudsdkdataartsstudio.v1.DynamicMaskingPolicy`] + """ + self._policy_list = policy_list + + 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, UpdateSecurityDynamicMaskingPolicyResponse): + 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-dataartsstudio/requirements.txt b/huaweicloud-sdk-dataartsstudio/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-dataartsstudio/requirements.txt +++ b/huaweicloud-sdk-dataartsstudio/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-dataartsstudio/setup.py b/huaweicloud-sdk-dataartsstudio/setup.py index 17bbd2422e..2d22de427d 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dbss/requirements.txt b/huaweicloud-sdk-dbss/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-dbss/requirements.txt +++ b/huaweicloud-sdk-dbss/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-dbss/setup.py b/huaweicloud-sdk-dbss/setup.py index 521e219a37..4406820f6d 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dc/requirements.txt b/huaweicloud-sdk-dc/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-dc/requirements.txt +++ b/huaweicloud-sdk-dc/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-dc/setup.py b/huaweicloud-sdk-dc/setup.py index 3fa15457fb..29570c01ee 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dcs/requirements.txt b/huaweicloud-sdk-dcs/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-dcs/requirements.txt +++ b/huaweicloud-sdk-dcs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-dcs/setup.py b/huaweicloud-sdk-dcs/setup.py index b2b8826d0c..942260bd84 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ddm/huaweicloudsdkddm/v1/model/expand_instance_nodes_response.py b/huaweicloud-sdk-ddm/huaweicloudsdkddm/v1/model/expand_instance_nodes_response.py index e829678048..31c1ca6157 100644 --- a/huaweicloud-sdk-ddm/huaweicloudsdkddm/v1/model/expand_instance_nodes_response.py +++ b/huaweicloud-sdk-ddm/huaweicloudsdkddm/v1/model/expand_instance_nodes_response.py @@ -28,7 +28,7 @@ class ExpandInstanceNodesResponse(SdkResponse): 'instance_id': 'instanceId', 'instance_name': 'instanceName', 'job_id': 'jobId', - 'order_id': 'order_id' + 'order_id': 'orderId' } def __init__(self, instance_id=None, instance_name=None, job_id=None, order_id=None): diff --git a/huaweicloud-sdk-ddm/huaweicloudsdkddm/v1/model/restart_instance_response.py b/huaweicloud-sdk-ddm/huaweicloudsdkddm/v1/model/restart_instance_response.py index da6b5d49d6..5c088719be 100644 --- a/huaweicloud-sdk-ddm/huaweicloudsdkddm/v1/model/restart_instance_response.py +++ b/huaweicloud-sdk-ddm/huaweicloudsdkddm/v1/model/restart_instance_response.py @@ -20,30 +20,26 @@ class RestartInstanceResponse(SdkResponse): openapi_types = { 'instance_id': 'str', 'instance_name': 'str', - 'job_id': 'str', - 'order_id': 'str' + 'job_id': 'str' } attribute_map = { 'instance_id': 'instanceId', 'instance_name': 'instanceName', - 'job_id': 'jobId', - 'order_id': 'order_id' + 'job_id': 'jobId' } - def __init__(self, instance_id=None, instance_name=None, job_id=None, order_id=None): + def __init__(self, instance_id=None, instance_name=None, job_id=None): """RestartInstanceResponse The model defined in huaweicloud sdk :param instance_id: DDM实例ID。 :type instance_id: str - :param instance_name: DDM实例名称,仅按需实例时会返回该参数。 + :param instance_name: DDM实例名称。 :type instance_name: str - :param job_id: 任务ID,仅按需实例时会返回该参数。 + :param job_id: 任务ID。 :type job_id: str - :param order_id: 订单号,仅包年包月实例时返回该参数。 - :type order_id: str """ super(RestartInstanceResponse, self).__init__() @@ -51,7 +47,6 @@ def __init__(self, instance_id=None, instance_name=None, job_id=None, order_id=N self._instance_id = None self._instance_name = None self._job_id = None - self._order_id = None self.discriminator = None if instance_id is not None: @@ -60,8 +55,6 @@ def __init__(self, instance_id=None, instance_name=None, job_id=None, order_id=N self.instance_name = instance_name if job_id is not None: self.job_id = job_id - if order_id is not None: - self.order_id = order_id @property def instance_id(self): @@ -89,7 +82,7 @@ def instance_id(self, instance_id): def instance_name(self): """Gets the instance_name of this RestartInstanceResponse. - DDM实例名称,仅按需实例时会返回该参数。 + DDM实例名称。 :return: The instance_name of this RestartInstanceResponse. :rtype: str @@ -100,7 +93,7 @@ def instance_name(self): def instance_name(self, instance_name): """Sets the instance_name of this RestartInstanceResponse. - DDM实例名称,仅按需实例时会返回该参数。 + DDM实例名称。 :param instance_name: The instance_name of this RestartInstanceResponse. :type instance_name: str @@ -111,7 +104,7 @@ def instance_name(self, instance_name): def job_id(self): """Gets the job_id of this RestartInstanceResponse. - 任务ID,仅按需实例时会返回该参数。 + 任务ID。 :return: The job_id of this RestartInstanceResponse. :rtype: str @@ -122,35 +115,13 @@ def job_id(self): def job_id(self, job_id): """Sets the job_id of this RestartInstanceResponse. - 任务ID,仅按需实例时会返回该参数。 + 任务ID。 :param job_id: The job_id of this RestartInstanceResponse. :type job_id: str """ self._job_id = job_id - @property - def order_id(self): - """Gets the order_id of this RestartInstanceResponse. - - 订单号,仅包年包月实例时返回该参数。 - - :return: The order_id of this RestartInstanceResponse. - :rtype: str - """ - return self._order_id - - @order_id.setter - def order_id(self, order_id): - """Sets the order_id of this RestartInstanceResponse. - - 订单号,仅包年包月实例时返回该参数。 - - :param order_id: The order_id of this RestartInstanceResponse. - :type order_id: str - """ - self._order_id = order_id - def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-ddm/huaweicloudsdkddm/v1/model/shrink_instance_nodes_response.py b/huaweicloud-sdk-ddm/huaweicloudsdkddm/v1/model/shrink_instance_nodes_response.py index 880aaddfd8..43f572c46c 100644 --- a/huaweicloud-sdk-ddm/huaweicloudsdkddm/v1/model/shrink_instance_nodes_response.py +++ b/huaweicloud-sdk-ddm/huaweicloudsdkddm/v1/model/shrink_instance_nodes_response.py @@ -28,7 +28,7 @@ class ShrinkInstanceNodesResponse(SdkResponse): 'instance_id': 'instanceId', 'instance_name': 'instanceName', 'job_id': 'jobId', - 'order_id': 'order_id' + 'order_id': 'orderId' } def __init__(self, instance_id=None, instance_name=None, job_id=None, order_id=None): diff --git a/huaweicloud-sdk-ddm/requirements.txt b/huaweicloud-sdk-ddm/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-ddm/requirements.txt +++ b/huaweicloud-sdk-ddm/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-ddm/setup.py b/huaweicloud-sdk-ddm/setup.py index d50c817c63..2fef3212e3 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dds/requirements.txt b/huaweicloud-sdk-dds/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-dds/requirements.txt +++ b/huaweicloud-sdk-dds/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-dds/setup.py b/huaweicloud-sdk-dds/setup.py index c662d40607..e3a15224b2 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-deh/requirements.txt b/huaweicloud-sdk-deh/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-deh/requirements.txt +++ b/huaweicloud-sdk-deh/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-deh/setup.py b/huaweicloud-sdk-deh/setup.py index db14309f93..bca73c7579 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-devstar/requirements.txt b/huaweicloud-sdk-devstar/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-devstar/requirements.txt +++ b/huaweicloud-sdk-devstar/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-devstar/setup.py b/huaweicloud-sdk-devstar/setup.py index 30dc97c2c4..bd02effa78 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dgc/requirements.txt b/huaweicloud-sdk-dgc/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-dgc/requirements.txt +++ b/huaweicloud-sdk-dgc/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-dgc/setup.py b/huaweicloud-sdk-dgc/setup.py index 21c1a5a6f0..e7c449c622 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dis/requirements.txt b/huaweicloud-sdk-dis/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-dis/requirements.txt +++ b/huaweicloud-sdk-dis/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-dis/setup.py b/huaweicloud-sdk-dis/setup.py index 804bdf1cca..e4e3e02680 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dlf/requirements.txt b/huaweicloud-sdk-dlf/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-dlf/requirements.txt +++ b/huaweicloud-sdk-dlf/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-dlf/setup.py b/huaweicloud-sdk-dlf/setup.py index 54f5469bc7..c8f04ece32 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dli/requirements.txt b/huaweicloud-sdk-dli/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-dli/requirements.txt +++ b/huaweicloud-sdk-dli/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-dli/setup.py b/huaweicloud-sdk-dli/setup.py index 27f9398dec..d3c5568bbe 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dns/huaweicloudsdkdns/v2/region/dns_region.py b/huaweicloud-sdk-dns/huaweicloudsdkdns/v2/region/dns_region.py index 0ea4b3b4e4..029dc7d355 100644 --- a/huaweicloud-sdk-dns/huaweicloudsdkdns/v2/region/dns_region.py +++ b/huaweicloud-sdk-dns/huaweicloudsdkdns/v2/region/dns_region.py @@ -44,8 +44,6 @@ class DnsRegion: "https://dns.ap-southeast-4.myhuaweicloud.com") AE_AD_1 = Region("ae-ad-1", "https://dns.ae-ad-1.myhuaweicloud.com") - EU_WEST_0 = Region("eu-west-0", - "https://dns.eu-west-0.myhuaweicloud.com") RU_MOSCOW_1 = Region("ru-moscow-1", "https://dns.ru-moscow-1.myhuaweicloud.com") @@ -69,7 +67,6 @@ class DnsRegion: "cn-south-2": CN_SOUTH_2, "ap-southeast-4": AP_SOUTHEAST_4, "ae-ad-1": AE_AD_1, - "eu-west-0": EU_WEST_0, "ru-moscow-1": RU_MOSCOW_1, } diff --git a/huaweicloud-sdk-dns/requirements.txt b/huaweicloud-sdk-dns/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-dns/requirements.txt +++ b/huaweicloud-sdk-dns/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-dns/setup.py b/huaweicloud-sdk-dns/setup.py index 3f0df982e9..69ae892e9c 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dris/requirements.txt b/huaweicloud-sdk-dris/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-dris/requirements.txt +++ b/huaweicloud-sdk-dris/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-dris/setup.py b/huaweicloud-sdk-dris/setup.py index 4e5442aabd..cf644ad121 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-drs/requirements.txt b/huaweicloud-sdk-drs/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-drs/requirements.txt +++ b/huaweicloud-sdk-drs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-drs/setup.py b/huaweicloud-sdk-drs/setup.py index 8c768091c6..94b5958cba 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dsc/huaweicloudsdkdsc/v1/model/scan_job_request.py b/huaweicloud-sdk-dsc/huaweicloudsdkdsc/v1/model/scan_job_request.py index b9f3a09922..46a1445e6a 100644 --- a/huaweicloud-sdk-dsc/huaweicloudsdkdsc/v1/model/scan_job_request.py +++ b/huaweicloud-sdk-dsc/huaweicloudsdkdsc/v1/model/scan_job_request.py @@ -78,16 +78,12 @@ def __init__(self, asset_ids=None, cycle=None, name=None, open=None, rule_group_ self._use_nlp = None self.discriminator = None - if asset_ids is not None: - self.asset_ids = asset_ids - if cycle is not None: - self.cycle = cycle - if name is not None: - self.name = name + self.asset_ids = asset_ids + self.cycle = cycle + self.name = name if open is not None: self.open = open - if rule_group_ids is not None: - self.rule_group_ids = rule_group_ids + self.rule_group_ids = rule_group_ids if start_time is not None: self.start_time = start_time if time_zone is not None: diff --git a/huaweicloud-sdk-dsc/requirements.txt b/huaweicloud-sdk-dsc/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-dsc/requirements.txt +++ b/huaweicloud-sdk-dsc/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-dsc/setup.py b/huaweicloud-sdk-dsc/setup.py index 01db2ab6fe..47bb3c5ae4 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dwr/requirements.txt b/huaweicloud-sdk-dwr/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-dwr/requirements.txt +++ b/huaweicloud-sdk-dwr/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-dwr/setup.py b/huaweicloud-sdk-dwr/setup.py index 52b7b8d2c2..54ebf3a59f 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dws/requirements.txt b/huaweicloud-sdk-dws/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-dws/requirements.txt +++ b/huaweicloud-sdk-dws/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-dws/setup.py b/huaweicloud-sdk-dws/setup.py index 1735de9b03..8867381b65 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ec/requirements.txt b/huaweicloud-sdk-ec/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-ec/requirements.txt +++ b/huaweicloud-sdk-ec/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-ec/setup.py b/huaweicloud-sdk-ec/setup.py index 9b00123e9e..2544615831 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ecs/requirements.txt b/huaweicloud-sdk-ecs/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-ecs/requirements.txt +++ b/huaweicloud-sdk-ecs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-ecs/setup.py b/huaweicloud-sdk-ecs/setup.py index 80e48cc16f..5866e45708 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-edgesec/requirements.txt b/huaweicloud-sdk-edgesec/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-edgesec/requirements.txt +++ b/huaweicloud-sdk-edgesec/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-edgesec/setup.py b/huaweicloud-sdk-edgesec/setup.py index 5ef91cef75..44387668b9 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-eg/requirements.txt b/huaweicloud-sdk-eg/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-eg/requirements.txt +++ b/huaweicloud-sdk-eg/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-eg/setup.py b/huaweicloud-sdk-eg/setup.py index 730762652d..32aa4ca024 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-eihealth/requirements.txt b/huaweicloud-sdk-eihealth/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-eihealth/requirements.txt +++ b/huaweicloud-sdk-eihealth/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-eihealth/setup.py b/huaweicloud-sdk-eihealth/setup.py index 3b49e14cda..69067429ca 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-eip/requirements.txt b/huaweicloud-sdk-eip/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-eip/requirements.txt +++ b/huaweicloud-sdk-eip/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-eip/setup.py b/huaweicloud-sdk-eip/setup.py index 0b3ac10fa6..2bfce4cb63 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-elb/requirements.txt b/huaweicloud-sdk-elb/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-elb/requirements.txt +++ b/huaweicloud-sdk-elb/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-elb/setup.py b/huaweicloud-sdk-elb/setup.py index 1f8740cae7..970d689129 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-eps/requirements.txt b/huaweicloud-sdk-eps/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-eps/requirements.txt +++ b/huaweicloud-sdk-eps/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-eps/setup.py b/huaweicloud-sdk-eps/setup.py index 62545b16d8..d2d43bbae5 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-er/requirements.txt b/huaweicloud-sdk-er/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-er/requirements.txt +++ b/huaweicloud-sdk-er/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-er/setup.py b/huaweicloud-sdk-er/setup.py index 4c738d3707..85e50ca81c 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-evs/requirements.txt b/huaweicloud-sdk-evs/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-evs/requirements.txt +++ b/huaweicloud-sdk-evs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-evs/setup.py b/huaweicloud-sdk-evs/setup.py index 48ba4bb5da..9d40a2e84d 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-frs/requirements.txt b/huaweicloud-sdk-frs/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-frs/requirements.txt +++ b/huaweicloud-sdk-frs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-frs/setup.py b/huaweicloud-sdk-frs/setup.py index 30b6a3b6e6..951c2e004f 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/region/functiongraph_region.py b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/region/functiongraph_region.py index e66a5073d5..b94f7ddd85 100644 --- a/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/region/functiongraph_region.py +++ b/huaweicloud-sdk-functiongraph/huaweicloudsdkfunctiongraph/v2/region/functiongraph_region.py @@ -50,6 +50,8 @@ class FunctionGraphRegion: "https://functiongraph.my-kualalumpur-1.myhuaweicloud.com") CN_SOUTH_4 = Region("cn-south-4", "https://functiongraph.cn-south-4.myhuaweicloud.com") + RU_MOSCOW_1 = Region("ru-moscow-1", + "https://functiongraph.ru-moscow-1.myhuaweicloud.com") static_fields = { "cn-north-4": CN_NORTH_4, @@ -74,6 +76,7 @@ class FunctionGraphRegion: "me-east-1": ME_EAST_1, "my-kualalumpur-1": MY_KUALALUMPUR_1, "cn-south-4": CN_SOUTH_4, + "ru-moscow-1": RU_MOSCOW_1, } @classmethod diff --git a/huaweicloud-sdk-functiongraph/requirements.txt b/huaweicloud-sdk-functiongraph/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-functiongraph/requirements.txt +++ b/huaweicloud-sdk-functiongraph/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-functiongraph/setup.py b/huaweicloud-sdk-functiongraph/setup.py index f0bc29a3cc..6d9e212498 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ga/requirements.txt b/huaweicloud-sdk-ga/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-ga/requirements.txt +++ b/huaweicloud-sdk-ga/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-ga/setup.py b/huaweicloud-sdk-ga/setup.py index 35a05db6af..ec9f4ebb43 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-gaussdb/requirements.txt b/huaweicloud-sdk-gaussdb/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-gaussdb/requirements.txt +++ b/huaweicloud-sdk-gaussdb/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-gaussdb/setup.py b/huaweicloud-sdk-gaussdb/setup.py index 2697711646..a5351c4d1d 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-gaussdbfornosql/requirements.txt b/huaweicloud-sdk-gaussdbfornosql/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-gaussdbfornosql/requirements.txt +++ b/huaweicloud-sdk-gaussdbfornosql/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-gaussdbfornosql/setup.py b/huaweicloud-sdk-gaussdbfornosql/setup.py index 373825368f..21c26f55b6 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-gaussdbforopengauss/requirements.txt b/huaweicloud-sdk-gaussdbforopengauss/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-gaussdbforopengauss/requirements.txt +++ b/huaweicloud-sdk-gaussdbforopengauss/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-gaussdbforopengauss/setup.py b/huaweicloud-sdk-gaussdbforopengauss/setup.py index 4ca580b2fa..2cdd3acf87 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-geip/requirements.txt b/huaweicloud-sdk-geip/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-geip/requirements.txt +++ b/huaweicloud-sdk-geip/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-geip/setup.py b/huaweicloud-sdk-geip/setup.py index 0a9c8afe84..a0cae21819 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ges/huaweicloudsdkges/v2/__init__.py b/huaweicloud-sdk-ges/huaweicloudsdkges/v2/__init__.py index 13d7e4f087..0353a1602e 100644 --- a/huaweicloud-sdk-ges/huaweicloudsdkges/v2/__init__.py +++ b/huaweicloud-sdk-ges/huaweicloudsdkges/v2/__init__.py @@ -8,6 +8,10 @@ from huaweicloudsdkges.v2.model.attach_eip2_request import AttachEip2Request from huaweicloudsdkges.v2.model.attach_eip2_response import AttachEip2Response from huaweicloudsdkges.v2.model.attach_eip_req import AttachEipReq +from huaweicloudsdkges.v2.model.backup_download_link import BackupDownloadLink +from huaweicloudsdkges.v2.model.change_security_group_req import ChangeSecurityGroupReq +from huaweicloudsdkges.v2.model.change_security_group_request import ChangeSecurityGroupRequest +from huaweicloudsdkges.v2.model.change_security_group_response import ChangeSecurityGroupResponse from huaweicloudsdkges.v2.model.clear_graph2_request import ClearGraph2Request from huaweicloudsdkges.v2.model.clear_graph2_response import ClearGraph2Response from huaweicloudsdkges.v2.model.create_backup2_request import CreateBackup2Request @@ -92,6 +96,8 @@ from huaweicloudsdkges.v2.model.resize_graph_req_resize import ResizeGraphReqResize from huaweicloudsdkges.v2.model.restart_graph2_request import RestartGraph2Request from huaweicloudsdkges.v2.model.restart_graph2_response import RestartGraph2Response +from huaweicloudsdkges.v2.model.show_backup_download_link_request import ShowBackupDownloadLinkRequest +from huaweicloudsdkges.v2.model.show_backup_download_link_response import ShowBackupDownloadLinkResponse from huaweicloudsdkges.v2.model.show_graph2_request import ShowGraph2Request from huaweicloudsdkges.v2.model.show_graph2_response import ShowGraph2Response from huaweicloudsdkges.v2.model.show_graph_resp_graph import ShowGraphRespGraph diff --git a/huaweicloud-sdk-ges/huaweicloudsdkges/v2/ges_async_client.py b/huaweicloud-sdk-ges/huaweicloudsdkges/v2/ges_async_client.py index f70b8c0241..fc571108d0 100644 --- a/huaweicloud-sdk-ges/huaweicloudsdkges/v2/ges_async_client.py +++ b/huaweicloud-sdk-ges/huaweicloudsdkges/v2/ges_async_client.py @@ -99,6 +99,73 @@ def _attach_eip2_http_info(self, request): return http_info + def change_security_group_async(self, request): + """切换安全组 + + 该接口可以在图创建成功后,修改图的安全组。 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for ChangeSecurityGroup + :type request: :class:`huaweicloudsdkges.v2.ChangeSecurityGroupRequest` + :rtype: :class:`huaweicloudsdkges.v2.ChangeSecurityGroupResponse` + """ + http_info = self._change_security_group_http_info(request) + return self._call_api(**http_info) + + def change_security_group_async_invoker(self, request): + http_info = self._change_security_group_http_info(request) + return AsyncInvoker(self, http_info) + + def _change_security_group_http_info(self, request): + http_info = { + "method": "POST", + "resource_path": "/v2/{project_id}/graphs/{graph_id}/sg/change", + "request_type": request.__class__.__name__, + "response_type": "ChangeSecurityGroupResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'graph_id' in local_var_params: + path_params['graph_id'] = local_var_params['graph_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 = [] + + 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 clear_graph2_async(self, request): """清空图 @@ -1509,6 +1576,73 @@ def _restart_graph2_http_info(self, request): return http_info + def show_backup_download_link_async(self, request): + """获取备份下载链接 + + 获取备份下载链接 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for ShowBackupDownloadLink + :type request: :class:`huaweicloudsdkges.v2.ShowBackupDownloadLinkRequest` + :rtype: :class:`huaweicloudsdkges.v2.ShowBackupDownloadLinkResponse` + """ + http_info = self._show_backup_download_link_http_info(request) + return self._call_api(**http_info) + + def show_backup_download_link_async_invoker(self, request): + http_info = self._show_backup_download_link_http_info(request) + return AsyncInvoker(self, http_info) + + def _show_backup_download_link_http_info(self, request): + http_info = { + "method": "GET", + "resource_path": "/v2/{project_id}/graphs/{graph_id}/backup-files", + "request_type": request.__class__.__name__, + "response_type": "ShowBackupDownloadLinkResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'graph_id' in local_var_params: + path_params['graph_id'] = local_var_params['graph_id'] + + query_params = [] + if 'backup_id' in local_var_params: + query_params.append(('backup_id', local_var_params['backup_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 = [] + + 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_graph2_async(self, request): """查询图详情 diff --git a/huaweicloud-sdk-ges/huaweicloudsdkges/v2/ges_client.py b/huaweicloud-sdk-ges/huaweicloudsdkges/v2/ges_client.py index f1a77509f0..f1436a3cdd 100644 --- a/huaweicloud-sdk-ges/huaweicloudsdkges/v2/ges_client.py +++ b/huaweicloud-sdk-ges/huaweicloudsdkges/v2/ges_client.py @@ -99,6 +99,73 @@ def _attach_eip2_http_info(cls, request): return http_info + def change_security_group(self, request): + """切换安全组 + + 该接口可以在图创建成功后,修改图的安全组。 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for ChangeSecurityGroup + :type request: :class:`huaweicloudsdkges.v2.ChangeSecurityGroupRequest` + :rtype: :class:`huaweicloudsdkges.v2.ChangeSecurityGroupResponse` + """ + http_info = self._change_security_group_http_info(request) + return self._call_api(**http_info) + + def change_security_group_invoker(self, request): + http_info = self._change_security_group_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _change_security_group_http_info(cls, request): + http_info = { + "method": "POST", + "resource_path": "/v2/{project_id}/graphs/{graph_id}/sg/change", + "request_type": request.__class__.__name__, + "response_type": "ChangeSecurityGroupResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'graph_id' in local_var_params: + path_params['graph_id'] = local_var_params['graph_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 = [] + + 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 clear_graph2(self, request): """清空图 @@ -1509,6 +1576,73 @@ def _restart_graph2_http_info(cls, request): return http_info + def show_backup_download_link(self, request): + """获取备份下载链接 + + 获取备份下载链接 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for ShowBackupDownloadLink + :type request: :class:`huaweicloudsdkges.v2.ShowBackupDownloadLinkRequest` + :rtype: :class:`huaweicloudsdkges.v2.ShowBackupDownloadLinkResponse` + """ + http_info = self._show_backup_download_link_http_info(request) + return self._call_api(**http_info) + + def show_backup_download_link_invoker(self, request): + http_info = self._show_backup_download_link_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _show_backup_download_link_http_info(cls, request): + http_info = { + "method": "GET", + "resource_path": "/v2/{project_id}/graphs/{graph_id}/backup-files", + "request_type": request.__class__.__name__, + "response_type": "ShowBackupDownloadLinkResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'graph_id' in local_var_params: + path_params['graph_id'] = local_var_params['graph_id'] + + query_params = [] + if 'backup_id' in local_var_params: + query_params.append(('backup_id', local_var_params['backup_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 = [] + + 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_graph2(self, request): """查询图详情 diff --git a/huaweicloud-sdk-ges/huaweicloudsdkges/v2/model/__init__.py b/huaweicloud-sdk-ges/huaweicloudsdkges/v2/model/__init__.py index 97dd52b693..0235fa11e5 100644 --- a/huaweicloud-sdk-ges/huaweicloudsdkges/v2/model/__init__.py +++ b/huaweicloud-sdk-ges/huaweicloudsdkges/v2/model/__init__.py @@ -6,6 +6,10 @@ from huaweicloudsdkges.v2.model.attach_eip2_request import AttachEip2Request from huaweicloudsdkges.v2.model.attach_eip2_response import AttachEip2Response from huaweicloudsdkges.v2.model.attach_eip_req import AttachEipReq +from huaweicloudsdkges.v2.model.backup_download_link import BackupDownloadLink +from huaweicloudsdkges.v2.model.change_security_group_req import ChangeSecurityGroupReq +from huaweicloudsdkges.v2.model.change_security_group_request import ChangeSecurityGroupRequest +from huaweicloudsdkges.v2.model.change_security_group_response import ChangeSecurityGroupResponse from huaweicloudsdkges.v2.model.clear_graph2_request import ClearGraph2Request from huaweicloudsdkges.v2.model.clear_graph2_response import ClearGraph2Response from huaweicloudsdkges.v2.model.create_backup2_request import CreateBackup2Request @@ -90,6 +94,8 @@ from huaweicloudsdkges.v2.model.resize_graph_req_resize import ResizeGraphReqResize from huaweicloudsdkges.v2.model.restart_graph2_request import RestartGraph2Request from huaweicloudsdkges.v2.model.restart_graph2_response import RestartGraph2Response +from huaweicloudsdkges.v2.model.show_backup_download_link_request import ShowBackupDownloadLinkRequest +from huaweicloudsdkges.v2.model.show_backup_download_link_response import ShowBackupDownloadLinkResponse from huaweicloudsdkges.v2.model.show_graph2_request import ShowGraph2Request from huaweicloudsdkges.v2.model.show_graph2_response import ShowGraph2Response from huaweicloudsdkges.v2.model.show_graph_resp_graph import ShowGraphRespGraph diff --git a/huaweicloud-sdk-ges/huaweicloudsdkges/v2/model/backup_download_link.py b/huaweicloud-sdk-ges/huaweicloudsdkges/v2/model/backup_download_link.py new file mode 100644 index 0000000000..65e389e3fd --- /dev/null +++ b/huaweicloud-sdk-ges/huaweicloudsdkges/v2/model/backup_download_link.py @@ -0,0 +1,198 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class BackupDownloadLink: + + """ + 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 = { + 'name': 'str', + 'size': 'int', + 'download_link': 'str', + 'link_expired_time': 'str' + } + + attribute_map = { + 'name': 'name', + 'size': 'size', + 'download_link': 'download_link', + 'link_expired_time': 'link_expired_time' + } + + def __init__(self, name=None, size=None, download_link=None, link_expired_time=None): + """BackupDownloadLink + + The model defined in huaweicloud sdk + + :param name: 文件名 + :type name: str + :param size: 文件大小,单位:KB。 + :type size: int + :param download_link: 文件下载链接。 + :type download_link: str + :param link_expired_time: 下载链接过期时间,格式为“yyyy-mm-ddThh:mm:ssZ”。其中,T指某个时间的开始,Z指时区偏移量,例如北京时间偏移显示为+0800。 + :type link_expired_time: str + """ + + + + self._name = None + self._size = None + self._download_link = None + self._link_expired_time = None + self.discriminator = None + + self.name = name + self.size = size + self.download_link = download_link + self.link_expired_time = link_expired_time + + @property + def name(self): + """Gets the name of this BackupDownloadLink. + + 文件名 + + :return: The name of this BackupDownloadLink. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this BackupDownloadLink. + + 文件名 + + :param name: The name of this BackupDownloadLink. + :type name: str + """ + self._name = name + + @property + def size(self): + """Gets the size of this BackupDownloadLink. + + 文件大小,单位:KB。 + + :return: The size of this BackupDownloadLink. + :rtype: int + """ + return self._size + + @size.setter + def size(self, size): + """Sets the size of this BackupDownloadLink. + + 文件大小,单位:KB。 + + :param size: The size of this BackupDownloadLink. + :type size: int + """ + self._size = size + + @property + def download_link(self): + """Gets the download_link of this BackupDownloadLink. + + 文件下载链接。 + + :return: The download_link of this BackupDownloadLink. + :rtype: str + """ + return self._download_link + + @download_link.setter + def download_link(self, download_link): + """Sets the download_link of this BackupDownloadLink. + + 文件下载链接。 + + :param download_link: The download_link of this BackupDownloadLink. + :type download_link: str + """ + self._download_link = download_link + + @property + def link_expired_time(self): + """Gets the link_expired_time of this BackupDownloadLink. + + 下载链接过期时间,格式为“yyyy-mm-ddThh:mm:ssZ”。其中,T指某个时间的开始,Z指时区偏移量,例如北京时间偏移显示为+0800。 + + :return: The link_expired_time of this BackupDownloadLink. + :rtype: str + """ + return self._link_expired_time + + @link_expired_time.setter + def link_expired_time(self, link_expired_time): + """Sets the link_expired_time of this BackupDownloadLink. + + 下载链接过期时间,格式为“yyyy-mm-ddThh:mm:ssZ”。其中,T指某个时间的开始,Z指时区偏移量,例如北京时间偏移显示为+0800。 + + :param link_expired_time: The link_expired_time of this BackupDownloadLink. + :type link_expired_time: str + """ + self._link_expired_time = link_expired_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, BackupDownloadLink): + 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-ges/huaweicloudsdkges/v2/model/change_security_group_req.py b/huaweicloud-sdk-ges/huaweicloudsdkges/v2/model/change_security_group_req.py new file mode 100644 index 0000000000..bdc974393c --- /dev/null +++ b/huaweicloud-sdk-ges/huaweicloudsdkges/v2/model/change_security_group_req.py @@ -0,0 +1,114 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ChangeSecurityGroupReq: + + """ + 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 = { + 'security_group_id': 'str' + } + + attribute_map = { + 'security_group_id': 'security_group_id' + } + + def __init__(self, security_group_id=None): + """ChangeSecurityGroupReq + + The model defined in huaweicloud sdk + + :param security_group_id: 目标安全组的ID。 + :type security_group_id: str + """ + + + + self._security_group_id = None + self.discriminator = None + + self.security_group_id = security_group_id + + @property + def security_group_id(self): + """Gets the security_group_id of this ChangeSecurityGroupReq. + + 目标安全组的ID。 + + :return: The security_group_id of this ChangeSecurityGroupReq. + :rtype: str + """ + return self._security_group_id + + @security_group_id.setter + def security_group_id(self, security_group_id): + """Sets the security_group_id of this ChangeSecurityGroupReq. + + 目标安全组的ID。 + + :param security_group_id: The security_group_id of this ChangeSecurityGroupReq. + :type security_group_id: str + """ + self._security_group_id = security_group_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, ChangeSecurityGroupReq): + 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-ges/huaweicloudsdkges/v2/model/change_security_group_request.py b/huaweicloud-sdk-ges/huaweicloudsdkges/v2/model/change_security_group_request.py new file mode 100644 index 0000000000..66363da6e6 --- /dev/null +++ b/huaweicloud-sdk-ges/huaweicloudsdkges/v2/model/change_security_group_request.py @@ -0,0 +1,139 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ChangeSecurityGroupRequest: + + """ + 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 = { + 'graph_id': 'str', + 'body': 'ChangeSecurityGroupReq' + } + + attribute_map = { + 'graph_id': 'graph_id', + 'body': 'body' + } + + def __init__(self, graph_id=None, body=None): + """ChangeSecurityGroupRequest + + The model defined in huaweicloud sdk + + :param graph_id: 图ID。 + :type graph_id: str + :param body: Body of the ChangeSecurityGroupRequest + :type body: :class:`huaweicloudsdkges.v2.ChangeSecurityGroupReq` + """ + + + + self._graph_id = None + self._body = None + self.discriminator = None + + self.graph_id = graph_id + if body is not None: + self.body = body + + @property + def graph_id(self): + """Gets the graph_id of this ChangeSecurityGroupRequest. + + 图ID。 + + :return: The graph_id of this ChangeSecurityGroupRequest. + :rtype: str + """ + return self._graph_id + + @graph_id.setter + def graph_id(self, graph_id): + """Sets the graph_id of this ChangeSecurityGroupRequest. + + 图ID。 + + :param graph_id: The graph_id of this ChangeSecurityGroupRequest. + :type graph_id: str + """ + self._graph_id = graph_id + + @property + def body(self): + """Gets the body of this ChangeSecurityGroupRequest. + + :return: The body of this ChangeSecurityGroupRequest. + :rtype: :class:`huaweicloudsdkges.v2.ChangeSecurityGroupReq` + """ + return self._body + + @body.setter + def body(self, body): + """Sets the body of this ChangeSecurityGroupRequest. + + :param body: The body of this ChangeSecurityGroupRequest. + :type body: :class:`huaweicloudsdkges.v2.ChangeSecurityGroupReq` + """ + 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, ChangeSecurityGroupRequest): + 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-ges/huaweicloudsdkges/v2/model/change_security_group_response.py b/huaweicloud-sdk-ges/huaweicloudsdkges/v2/model/change_security_group_response.py new file mode 100644 index 0000000000..63415fa14a --- /dev/null +++ b/huaweicloud-sdk-ges/huaweicloudsdkges/v2/model/change_security_group_response.py @@ -0,0 +1,112 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_response import SdkResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ChangeSecurityGroupResponse(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 = { + 'body': 'dict(str, str)' + } + + attribute_map = { + 'body': 'body' + } + + def __init__(self, body=None): + """ChangeSecurityGroupResponse + + The model defined in huaweicloud sdk + + :param body: + :type body: dict(str, str) + """ + + super(ChangeSecurityGroupResponse, self).__init__() + + self._body = None + self.discriminator = None + + if body is not None: + self.body = body + + @property + def body(self): + """Gets the body of this ChangeSecurityGroupResponse. + + :return: The body of this ChangeSecurityGroupResponse. + :rtype: dict(str, str) + """ + return self._body + + @body.setter + def body(self, body): + """Sets the body of this ChangeSecurityGroupResponse. + + :param body: The body of this ChangeSecurityGroupResponse. + :type body: dict(str, str) + """ + 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, ChangeSecurityGroupResponse): + 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-ges/huaweicloudsdkges/v2/model/show_backup_download_link_request.py b/huaweicloud-sdk-ges/huaweicloudsdkges/v2/model/show_backup_download_link_request.py new file mode 100644 index 0000000000..ae09e4662f --- /dev/null +++ b/huaweicloud-sdk-ges/huaweicloudsdkges/v2/model/show_backup_download_link_request.py @@ -0,0 +1,142 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ShowBackupDownloadLinkRequest: + + """ + 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 = { + 'graph_id': 'str', + 'backup_id': 'str' + } + + attribute_map = { + 'graph_id': 'graph_id', + 'backup_id': 'backup_id' + } + + def __init__(self, graph_id=None, backup_id=None): + """ShowBackupDownloadLinkRequest + + The model defined in huaweicloud sdk + + :param graph_id: 图ID。 + :type graph_id: str + :param backup_id: 备份ID + :type backup_id: str + """ + + + + self._graph_id = None + self._backup_id = None + self.discriminator = None + + self.graph_id = graph_id + self.backup_id = backup_id + + @property + def graph_id(self): + """Gets the graph_id of this ShowBackupDownloadLinkRequest. + + 图ID。 + + :return: The graph_id of this ShowBackupDownloadLinkRequest. + :rtype: str + """ + return self._graph_id + + @graph_id.setter + def graph_id(self, graph_id): + """Sets the graph_id of this ShowBackupDownloadLinkRequest. + + 图ID。 + + :param graph_id: The graph_id of this ShowBackupDownloadLinkRequest. + :type graph_id: str + """ + self._graph_id = graph_id + + @property + def backup_id(self): + """Gets the backup_id of this ShowBackupDownloadLinkRequest. + + 备份ID + + :return: The backup_id of this ShowBackupDownloadLinkRequest. + :rtype: str + """ + return self._backup_id + + @backup_id.setter + def backup_id(self, backup_id): + """Sets the backup_id of this ShowBackupDownloadLinkRequest. + + 备份ID + + :param backup_id: The backup_id of this ShowBackupDownloadLinkRequest. + :type backup_id: str + """ + self._backup_id = backup_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, ShowBackupDownloadLinkRequest): + 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-ges/huaweicloudsdkges/v2/model/show_backup_download_link_response.py b/huaweicloud-sdk-ges/huaweicloudsdkges/v2/model/show_backup_download_link_response.py new file mode 100644 index 0000000000..3470e6f93c --- /dev/null +++ b/huaweicloud-sdk-ges/huaweicloudsdkges/v2/model/show_backup_download_link_response.py @@ -0,0 +1,145 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_response import SdkResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ShowBackupDownloadLinkResponse(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 = { + 'bucket': 'str', + 'files': 'list[BackupDownloadLink]' + } + + attribute_map = { + 'bucket': 'bucket', + 'files': 'files' + } + + def __init__(self, bucket=None, files=None): + """ShowBackupDownloadLinkResponse + + The model defined in huaweicloud sdk + + :param bucket: 文件所在的桶名。 + :type bucket: str + :param files: 备份包含的文件列表。 + :type files: list[:class:`huaweicloudsdkges.v2.BackupDownloadLink`] + """ + + super(ShowBackupDownloadLinkResponse, self).__init__() + + self._bucket = None + self._files = None + self.discriminator = None + + if bucket is not None: + self.bucket = bucket + if files is not None: + self.files = files + + @property + def bucket(self): + """Gets the bucket of this ShowBackupDownloadLinkResponse. + + 文件所在的桶名。 + + :return: The bucket of this ShowBackupDownloadLinkResponse. + :rtype: str + """ + return self._bucket + + @bucket.setter + def bucket(self, bucket): + """Sets the bucket of this ShowBackupDownloadLinkResponse. + + 文件所在的桶名。 + + :param bucket: The bucket of this ShowBackupDownloadLinkResponse. + :type bucket: str + """ + self._bucket = bucket + + @property + def files(self): + """Gets the files of this ShowBackupDownloadLinkResponse. + + 备份包含的文件列表。 + + :return: The files of this ShowBackupDownloadLinkResponse. + :rtype: list[:class:`huaweicloudsdkges.v2.BackupDownloadLink`] + """ + return self._files + + @files.setter + def files(self, files): + """Sets the files of this ShowBackupDownloadLinkResponse. + + 备份包含的文件列表。 + + :param files: The files of this ShowBackupDownloadLinkResponse. + :type files: list[:class:`huaweicloudsdkges.v2.BackupDownloadLink`] + """ + self._files = files + + 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, ShowBackupDownloadLinkResponse): + 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-ges/requirements.txt b/huaweicloud-sdk-ges/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-ges/requirements.txt +++ b/huaweicloud-sdk-ges/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-ges/setup.py b/huaweicloud-sdk-ges/setup.py index 483b7a47d8..493942ed25 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-gsl/requirements.txt b/huaweicloud-sdk-gsl/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-gsl/requirements.txt +++ b/huaweicloud-sdk-gsl/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-gsl/setup.py b/huaweicloud-sdk-gsl/setup.py index 72233000c0..de36bb1548 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-hilens/requirements.txt b/huaweicloud-sdk-hilens/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-hilens/requirements.txt +++ b/huaweicloud-sdk-hilens/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-hilens/setup.py b/huaweicloud-sdk-hilens/setup.py index cf53a212e9..c0eb839afb 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-hss/requirements.txt b/huaweicloud-sdk-hss/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-hss/requirements.txt +++ b/huaweicloud-sdk-hss/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-hss/setup.py b/huaweicloud-sdk-hss/setup.py index d28a058d8f..3e33625c99 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-iam/requirements.txt b/huaweicloud-sdk-iam/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-iam/requirements.txt +++ b/huaweicloud-sdk-iam/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-iam/setup.py b/huaweicloud-sdk-iam/setup.py index c336dfd65c..0dbd079e56 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-iamaccessanalyzer/requirements.txt b/huaweicloud-sdk-iamaccessanalyzer/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-iamaccessanalyzer/requirements.txt +++ b/huaweicloud-sdk-iamaccessanalyzer/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-iamaccessanalyzer/setup.py b/huaweicloud-sdk-iamaccessanalyzer/setup.py index ae49e35746..65a9bd515c 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-identitycenter/requirements.txt b/huaweicloud-sdk-identitycenter/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-identitycenter/requirements.txt +++ b/huaweicloud-sdk-identitycenter/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-identitycenter/setup.py b/huaweicloud-sdk-identitycenter/setup.py index 49a8f2c0b2..4f5b619749 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-identitycenterstore/requirements.txt b/huaweicloud-sdk-identitycenterstore/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-identitycenterstore/requirements.txt +++ b/huaweicloud-sdk-identitycenterstore/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-identitycenterstore/setup.py b/huaweicloud-sdk-identitycenterstore/setup.py index 7fd46073a9..8ded81af09 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-idme/requirements.txt b/huaweicloud-sdk-idme/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-idme/requirements.txt +++ b/huaweicloud-sdk-idme/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-idme/setup.py b/huaweicloud-sdk-idme/setup.py index 84aaad6a5b..92e7b2365b 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/__init__.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/__init__.py index 0bce3197ba..a784658196 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/__init__.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/__init__.py @@ -234,6 +234,7 @@ from huaweicloudsdkidmeclassicapi.v1.model.relation_model_view_dto import RelationModelViewDTO from huaweicloudsdkidmeclassicapi.v1.model.remove_tag_request import RemoveTagRequest from huaweicloudsdkidmeclassicapi.v1.model.remove_tag_response import RemoveTagResponse +from huaweicloudsdkidmeclassicapi.v1.model.result import Result from huaweicloudsdkidmeclassicapi.v1.model.save_all_using_post_request import SaveAllUsingPostRequest from huaweicloudsdkidmeclassicapi.v1.model.save_all_using_post_response import SaveAllUsingPostResponse from huaweicloudsdkidmeclassicapi.v1.model.save_as_using_post_request import SaveAsUsingPostRequest diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/idmeclassicapi_async_client.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/idmeclassicapi_async_client.py index ef4dbe7631..70a7c1f727 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/idmeclassicapi_async_client.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/idmeclassicapi_async_client.py @@ -3173,14 +3173,14 @@ def _list_all_versions_http_info(self, request): collection_formats = {} path_params = {} + if 'page_size_path' in local_var_params: + path_params['pageSizePath'] = local_var_params['page_size_path'] + if 'cur_page_path' in local_var_params: + path_params['curPagePath'] = local_var_params['cur_page_path'] if 'identifier' in local_var_params: path_params['identifier'] = local_var_params['identifier'] if 'model_name' in local_var_params: path_params['modelName'] = local_var_params['model_name'] - if 'cur_page_path' in local_var_params: - path_params['curPagePath'] = local_var_params['cur_page_path'] - if 'page_size_path' in local_var_params: - path_params['pageSizePath'] = local_var_params['page_size_path'] query_params = [] if 'cur_page' in local_var_params: @@ -3260,14 +3260,14 @@ def _list_batch_query_related_objects_http_info(self, request): collection_formats = {} path_params = {} - if 'identifier' in local_var_params: - path_params['identifier'] = local_var_params['identifier'] - if 'model_name' in local_var_params: - path_params['modelName'] = local_var_params['model_name'] if 'page_size_path' in local_var_params: path_params['pageSizePath'] = local_var_params['page_size_path'] if 'cur_page_path' in local_var_params: path_params['curPagePath'] = local_var_params['cur_page_path'] + if 'identifier' in local_var_params: + path_params['identifier'] = local_var_params['identifier'] + if 'model_name' in local_var_params: + path_params['modelName'] = local_var_params['model_name'] query_params = [] if 'cur_page' in local_var_params: @@ -3416,14 +3416,14 @@ def _list_get_child_list_http_info(self, request): collection_formats = {} path_params = {} - if 'identifier' in local_var_params: - path_params['identifier'] = local_var_params['identifier'] - if 'model_name' in local_var_params: - path_params['modelName'] = local_var_params['model_name'] if 'page_size_path' in local_var_params: path_params['pageSizePath'] = local_var_params['page_size_path'] if 'cur_page_path' in local_var_params: path_params['curPagePath'] = local_var_params['cur_page_path'] + if 'identifier' in local_var_params: + path_params['identifier'] = local_var_params['identifier'] + if 'model_name' in local_var_params: + path_params['modelName'] = local_var_params['model_name'] query_params = [] if 'cur_page' in local_var_params: @@ -3503,28 +3503,30 @@ def _list_history_data_http_info(self, request): collection_formats = {} path_params = {} - if 'identifier' in local_var_params: - path_params['identifier'] = local_var_params['identifier'] - if 'model_name' in local_var_params: - path_params['modelName'] = local_var_params['model_name'] if 'page_size_path' in local_var_params: path_params['pageSizePath'] = local_var_params['page_size_path'] if 'cur_page_path' in local_var_params: path_params['curPagePath'] = local_var_params['cur_page_path'] + if 'identifier' in local_var_params: + path_params['identifier'] = local_var_params['identifier'] + if 'model_name' in local_var_params: + path_params['modelName'] = local_var_params['model_name'] query_params = [] if 'cur_page' in local_var_params: query_params.append(('curPage', local_var_params['cur_page'])) + if 'end_index' in local_var_params: + query_params.append(('endIndex', local_var_params['end_index'])) + if 'max_page_size' in local_var_params: + query_params.append(('maxPageSize', local_var_params['max_page_size'])) if 'page_size' in local_var_params: query_params.append(('pageSize', local_var_params['page_size'])) - if 'total_rows' in local_var_params: - query_params.append(('totalRows', local_var_params['total_rows'])) + if 'start_index' in local_var_params: + query_params.append(('startIndex', local_var_params['start_index'])) if 'total_pages' in local_var_params: query_params.append(('totalPages', local_var_params['total_pages'])) - if 'limit' in local_var_params: - query_params.append(('limit', local_var_params['limit'])) - if 'offset' in local_var_params: - query_params.append(('offset', local_var_params['offset'])) + if 'total_rows' in local_var_params: + query_params.append(('totalRows', local_var_params['total_rows'])) header_params = {} @@ -3588,14 +3590,14 @@ def _list_query_related_objects_http_info(self, request): collection_formats = {} path_params = {} - if 'identifier' in local_var_params: - path_params['identifier'] = local_var_params['identifier'] - if 'model_name' in local_var_params: - path_params['modelName'] = local_var_params['model_name'] if 'page_size_path' in local_var_params: path_params['pageSizePath'] = local_var_params['page_size_path'] if 'cur_page_path' in local_var_params: path_params['curPagePath'] = local_var_params['cur_page_path'] + if 'identifier' in local_var_params: + path_params['identifier'] = local_var_params['identifier'] + if 'model_name' in local_var_params: + path_params['modelName'] = local_var_params['model_name'] query_params = [] if 'cur_page' in local_var_params: @@ -3676,14 +3678,14 @@ def _list_query_relationship_http_info(self, request): collection_formats = {} path_params = {} - if 'identifier' in local_var_params: - path_params['identifier'] = local_var_params['identifier'] - if 'model_name' in local_var_params: - path_params['modelName'] = local_var_params['model_name'] if 'page_size_path' in local_var_params: path_params['pageSizePath'] = local_var_params['page_size_path'] if 'cur_page_path' in local_var_params: path_params['curPagePath'] = local_var_params['cur_page_path'] + if 'identifier' in local_var_params: + path_params['identifier'] = local_var_params['identifier'] + if 'model_name' in local_var_params: + path_params['modelName'] = local_var_params['model_name'] query_params = [] if 'cur_page' in local_var_params: @@ -3764,14 +3766,14 @@ def _list_query_target_http_info(self, request): collection_formats = {} path_params = {} - if 'identifier' in local_var_params: - path_params['identifier'] = local_var_params['identifier'] - if 'model_name' in local_var_params: - path_params['modelName'] = local_var_params['model_name'] if 'page_size_path' in local_var_params: path_params['pageSizePath'] = local_var_params['page_size_path'] if 'cur_page_path' in local_var_params: path_params['curPagePath'] = local_var_params['cur_page_path'] + if 'identifier' in local_var_params: + path_params['identifier'] = local_var_params['identifier'] + if 'model_name' in local_var_params: + path_params['modelName'] = local_var_params['model_name'] query_params = [] if 'cur_page' in local_var_params: @@ -3851,14 +3853,14 @@ def _list_query_using_post_http_info(self, request): collection_formats = {} path_params = {} - if 'identifier' in local_var_params: - path_params['identifier'] = local_var_params['identifier'] - if 'model_name' in local_var_params: - path_params['modelName'] = local_var_params['model_name'] if 'page_size_path' in local_var_params: path_params['pageSizePath'] = local_var_params['page_size_path'] if 'cur_page_path' in local_var_params: path_params['curPagePath'] = local_var_params['cur_page_path'] + if 'identifier' in local_var_params: + path_params['identifier'] = local_var_params['identifier'] + if 'model_name' in local_var_params: + path_params['modelName'] = local_var_params['model_name'] query_params = [] if 'cur_page' in local_var_params: @@ -3938,14 +3940,14 @@ def _list_select_using_post_http_info(self, request): collection_formats = {} path_params = {} - if 'identifier' in local_var_params: - path_params['identifier'] = local_var_params['identifier'] - if 'model_name' in local_var_params: - path_params['modelName'] = local_var_params['model_name'] if 'page_size_path' in local_var_params: path_params['pageSizePath'] = local_var_params['page_size_path'] if 'cur_page_path' in local_var_params: path_params['curPagePath'] = local_var_params['cur_page_path'] + if 'identifier' in local_var_params: + path_params['identifier'] = local_var_params['identifier'] + if 'model_name' in local_var_params: + path_params['modelName'] = local_var_params['model_name'] query_params = [] if 'cur_page' in local_var_params: @@ -4025,14 +4027,14 @@ def _list_using_post_http_info(self, request): collection_formats = {} path_params = {} - if 'identifier' in local_var_params: - path_params['identifier'] = local_var_params['identifier'] - if 'model_name' in local_var_params: - path_params['modelName'] = local_var_params['model_name'] if 'page_size_path' in local_var_params: path_params['pageSizePath'] = local_var_params['page_size_path'] if 'cur_page_path' in local_var_params: path_params['curPagePath'] = local_var_params['cur_page_path'] + if 'identifier' in local_var_params: + path_params['identifier'] = local_var_params['identifier'] + if 'model_name' in local_var_params: + path_params['modelName'] = local_var_params['model_name'] query_params = [] if 'cur_page' in local_var_params: @@ -4462,14 +4464,14 @@ def _show_find_using_post_http_info(self, request): collection_formats = {} path_params = {} - if 'identifier' in local_var_params: - path_params['identifier'] = local_var_params['identifier'] - if 'model_name' in local_var_params: - path_params['modelName'] = local_var_params['model_name'] if 'page_size_path' in local_var_params: path_params['pageSizePath'] = local_var_params['page_size_path'] if 'cur_page_path' in local_var_params: path_params['curPagePath'] = local_var_params['cur_page_path'] + if 'identifier' in local_var_params: + path_params['identifier'] = local_var_params['identifier'] + if 'model_name' in local_var_params: + path_params['modelName'] = local_var_params['model_name'] query_params = [] if 'cur_page' in local_var_params: diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/idmeclassicapi_client.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/idmeclassicapi_client.py index 1e7d8f7cfb..89c52f4970 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/idmeclassicapi_client.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/idmeclassicapi_client.py @@ -3173,14 +3173,14 @@ def _list_all_versions_http_info(cls, request): collection_formats = {} path_params = {} + if 'page_size_path' in local_var_params: + path_params['pageSizePath'] = local_var_params['page_size_path'] + if 'cur_page_path' in local_var_params: + path_params['curPagePath'] = local_var_params['cur_page_path'] if 'identifier' in local_var_params: path_params['identifier'] = local_var_params['identifier'] if 'model_name' in local_var_params: path_params['modelName'] = local_var_params['model_name'] - if 'cur_page_path' in local_var_params: - path_params['curPagePath'] = local_var_params['cur_page_path'] - if 'page_size_path' in local_var_params: - path_params['pageSizePath'] = local_var_params['page_size_path'] query_params = [] if 'cur_page' in local_var_params: @@ -3260,14 +3260,14 @@ def _list_batch_query_related_objects_http_info(cls, request): collection_formats = {} path_params = {} - if 'identifier' in local_var_params: - path_params['identifier'] = local_var_params['identifier'] - if 'model_name' in local_var_params: - path_params['modelName'] = local_var_params['model_name'] if 'page_size_path' in local_var_params: path_params['pageSizePath'] = local_var_params['page_size_path'] if 'cur_page_path' in local_var_params: path_params['curPagePath'] = local_var_params['cur_page_path'] + if 'identifier' in local_var_params: + path_params['identifier'] = local_var_params['identifier'] + if 'model_name' in local_var_params: + path_params['modelName'] = local_var_params['model_name'] query_params = [] if 'cur_page' in local_var_params: @@ -3416,14 +3416,14 @@ def _list_get_child_list_http_info(cls, request): collection_formats = {} path_params = {} - if 'identifier' in local_var_params: - path_params['identifier'] = local_var_params['identifier'] - if 'model_name' in local_var_params: - path_params['modelName'] = local_var_params['model_name'] if 'page_size_path' in local_var_params: path_params['pageSizePath'] = local_var_params['page_size_path'] if 'cur_page_path' in local_var_params: path_params['curPagePath'] = local_var_params['cur_page_path'] + if 'identifier' in local_var_params: + path_params['identifier'] = local_var_params['identifier'] + if 'model_name' in local_var_params: + path_params['modelName'] = local_var_params['model_name'] query_params = [] if 'cur_page' in local_var_params: @@ -3503,28 +3503,30 @@ def _list_history_data_http_info(cls, request): collection_formats = {} path_params = {} - if 'identifier' in local_var_params: - path_params['identifier'] = local_var_params['identifier'] - if 'model_name' in local_var_params: - path_params['modelName'] = local_var_params['model_name'] if 'page_size_path' in local_var_params: path_params['pageSizePath'] = local_var_params['page_size_path'] if 'cur_page_path' in local_var_params: path_params['curPagePath'] = local_var_params['cur_page_path'] + if 'identifier' in local_var_params: + path_params['identifier'] = local_var_params['identifier'] + if 'model_name' in local_var_params: + path_params['modelName'] = local_var_params['model_name'] query_params = [] if 'cur_page' in local_var_params: query_params.append(('curPage', local_var_params['cur_page'])) + if 'end_index' in local_var_params: + query_params.append(('endIndex', local_var_params['end_index'])) + if 'max_page_size' in local_var_params: + query_params.append(('maxPageSize', local_var_params['max_page_size'])) if 'page_size' in local_var_params: query_params.append(('pageSize', local_var_params['page_size'])) - if 'total_rows' in local_var_params: - query_params.append(('totalRows', local_var_params['total_rows'])) + if 'start_index' in local_var_params: + query_params.append(('startIndex', local_var_params['start_index'])) if 'total_pages' in local_var_params: query_params.append(('totalPages', local_var_params['total_pages'])) - if 'limit' in local_var_params: - query_params.append(('limit', local_var_params['limit'])) - if 'offset' in local_var_params: - query_params.append(('offset', local_var_params['offset'])) + if 'total_rows' in local_var_params: + query_params.append(('totalRows', local_var_params['total_rows'])) header_params = {} @@ -3588,14 +3590,14 @@ def _list_query_related_objects_http_info(cls, request): collection_formats = {} path_params = {} - if 'identifier' in local_var_params: - path_params['identifier'] = local_var_params['identifier'] - if 'model_name' in local_var_params: - path_params['modelName'] = local_var_params['model_name'] if 'page_size_path' in local_var_params: path_params['pageSizePath'] = local_var_params['page_size_path'] if 'cur_page_path' in local_var_params: path_params['curPagePath'] = local_var_params['cur_page_path'] + if 'identifier' in local_var_params: + path_params['identifier'] = local_var_params['identifier'] + if 'model_name' in local_var_params: + path_params['modelName'] = local_var_params['model_name'] query_params = [] if 'cur_page' in local_var_params: @@ -3676,14 +3678,14 @@ def _list_query_relationship_http_info(cls, request): collection_formats = {} path_params = {} - if 'identifier' in local_var_params: - path_params['identifier'] = local_var_params['identifier'] - if 'model_name' in local_var_params: - path_params['modelName'] = local_var_params['model_name'] if 'page_size_path' in local_var_params: path_params['pageSizePath'] = local_var_params['page_size_path'] if 'cur_page_path' in local_var_params: path_params['curPagePath'] = local_var_params['cur_page_path'] + if 'identifier' in local_var_params: + path_params['identifier'] = local_var_params['identifier'] + if 'model_name' in local_var_params: + path_params['modelName'] = local_var_params['model_name'] query_params = [] if 'cur_page' in local_var_params: @@ -3764,14 +3766,14 @@ def _list_query_target_http_info(cls, request): collection_formats = {} path_params = {} - if 'identifier' in local_var_params: - path_params['identifier'] = local_var_params['identifier'] - if 'model_name' in local_var_params: - path_params['modelName'] = local_var_params['model_name'] if 'page_size_path' in local_var_params: path_params['pageSizePath'] = local_var_params['page_size_path'] if 'cur_page_path' in local_var_params: path_params['curPagePath'] = local_var_params['cur_page_path'] + if 'identifier' in local_var_params: + path_params['identifier'] = local_var_params['identifier'] + if 'model_name' in local_var_params: + path_params['modelName'] = local_var_params['model_name'] query_params = [] if 'cur_page' in local_var_params: @@ -3851,14 +3853,14 @@ def _list_query_using_post_http_info(cls, request): collection_formats = {} path_params = {} - if 'identifier' in local_var_params: - path_params['identifier'] = local_var_params['identifier'] - if 'model_name' in local_var_params: - path_params['modelName'] = local_var_params['model_name'] if 'page_size_path' in local_var_params: path_params['pageSizePath'] = local_var_params['page_size_path'] if 'cur_page_path' in local_var_params: path_params['curPagePath'] = local_var_params['cur_page_path'] + if 'identifier' in local_var_params: + path_params['identifier'] = local_var_params['identifier'] + if 'model_name' in local_var_params: + path_params['modelName'] = local_var_params['model_name'] query_params = [] if 'cur_page' in local_var_params: @@ -3938,14 +3940,14 @@ def _list_select_using_post_http_info(cls, request): collection_formats = {} path_params = {} - if 'identifier' in local_var_params: - path_params['identifier'] = local_var_params['identifier'] - if 'model_name' in local_var_params: - path_params['modelName'] = local_var_params['model_name'] if 'page_size_path' in local_var_params: path_params['pageSizePath'] = local_var_params['page_size_path'] if 'cur_page_path' in local_var_params: path_params['curPagePath'] = local_var_params['cur_page_path'] + if 'identifier' in local_var_params: + path_params['identifier'] = local_var_params['identifier'] + if 'model_name' in local_var_params: + path_params['modelName'] = local_var_params['model_name'] query_params = [] if 'cur_page' in local_var_params: @@ -4025,14 +4027,14 @@ def _list_using_post_http_info(cls, request): collection_formats = {} path_params = {} - if 'identifier' in local_var_params: - path_params['identifier'] = local_var_params['identifier'] - if 'model_name' in local_var_params: - path_params['modelName'] = local_var_params['model_name'] if 'page_size_path' in local_var_params: path_params['pageSizePath'] = local_var_params['page_size_path'] if 'cur_page_path' in local_var_params: path_params['curPagePath'] = local_var_params['cur_page_path'] + if 'identifier' in local_var_params: + path_params['identifier'] = local_var_params['identifier'] + if 'model_name' in local_var_params: + path_params['modelName'] = local_var_params['model_name'] query_params = [] if 'cur_page' in local_var_params: @@ -4462,14 +4464,14 @@ def _show_find_using_post_http_info(cls, request): collection_formats = {} path_params = {} - if 'identifier' in local_var_params: - path_params['identifier'] = local_var_params['identifier'] - if 'model_name' in local_var_params: - path_params['modelName'] = local_var_params['model_name'] if 'page_size_path' in local_var_params: path_params['pageSizePath'] = local_var_params['page_size_path'] if 'cur_page_path' in local_var_params: path_params['curPagePath'] = local_var_params['cur_page_path'] + if 'identifier' in local_var_params: + path_params['identifier'] = local_var_params['identifier'] + if 'model_name' in local_var_params: + path_params['modelName'] = local_var_params['model_name'] query_params = [] if 'cur_page' in local_var_params: diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/__init__.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/__init__.py index f08b7241da..1b39aa7ddb 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/__init__.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/__init__.py @@ -232,6 +232,7 @@ from huaweicloudsdkidmeclassicapi.v1.model.relation_model_view_dto import RelationModelViewDTO from huaweicloudsdkidmeclassicapi.v1.model.remove_tag_request import RemoveTagRequest from huaweicloudsdkidmeclassicapi.v1.model.remove_tag_response import RemoveTagResponse +from huaweicloudsdkidmeclassicapi.v1.model.result import Result from huaweicloudsdkidmeclassicapi.v1.model.save_all_using_post_request import SaveAllUsingPostRequest from huaweicloudsdkidmeclassicapi.v1.model.save_all_using_post_response import SaveAllUsingPostResponse from huaweicloudsdkidmeclassicapi.v1.model.save_as_using_post_request import SaveAsUsingPostRequest diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/add_tag_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/add_tag_request.py index c46f20e013..7b1bd2be04 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/add_tag_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/add_tag_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the AddTagRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOTagOperationDTO` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this AddTagRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this AddTagRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this AddTagRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this AddTagRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this AddTagRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this AddTagRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this AddTagRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this AddTagRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/add_tag_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/add_tag_response.py index d35064be82..a9a9a89cf5 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/add_tag_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/add_tag_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[int] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this AddTagResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this AddTagResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this AddTagResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this AddTagResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this AddTagResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this AddTagResponse. :rtype: list[int] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this AddTagResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this AddTagResponse. :type data: list[int] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this AddTagResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this AddTagResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this AddTagResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this AddTagResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/basic_object_query_view_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/basic_object_query_view_dto.py index e779b22a6c..22237bfb9a 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/basic_object_query_view_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/basic_object_query_view_dto.py @@ -43,21 +43,21 @@ def __init__(self, id=None, creator=None, create_time=None, modifier=None, last_ The model defined in huaweicloud sdk - :param id: 唯一编码。 + :param id: **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type id: str - :param creator: 创建者。 + :param creator: **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type creator: str - :param create_time: 创建时间。 + :param create_time: **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type create_time: str - :param modifier: 修改人。 + :param modifier: **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type modifier: str - :param last_update_time: 最后的修改时间。 + :param last_update_time: **参数解释:** 最后的修改时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type last_update_time: str - :param rdm_extension_type: 扩展类型。 + :param rdm_extension_type: **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type rdm_extension_type: str :param tenant: :type tenant: :class:`huaweicloudsdkidmeclassicapi.v1.TenantViewDTO` - :param class_name: 类名。 + :param class_name: **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type class_name: str """ @@ -94,7 +94,7 @@ def __init__(self, id=None, creator=None, create_time=None, modifier=None, last_ def id(self): """Gets the id of this BasicObjectQueryViewDTO. - 唯一编码。 + **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The id of this BasicObjectQueryViewDTO. :rtype: str @@ -105,7 +105,7 @@ def id(self): def id(self, id): """Sets the id of this BasicObjectQueryViewDTO. - 唯一编码。 + **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param id: The id of this BasicObjectQueryViewDTO. :type id: str @@ -116,7 +116,7 @@ def id(self, id): def creator(self): """Gets the creator of this BasicObjectQueryViewDTO. - 创建者。 + **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The creator of this BasicObjectQueryViewDTO. :rtype: str @@ -127,7 +127,7 @@ def creator(self): def creator(self, creator): """Sets the creator of this BasicObjectQueryViewDTO. - 创建者。 + **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param creator: The creator of this BasicObjectQueryViewDTO. :type creator: str @@ -138,7 +138,7 @@ def creator(self, creator): def create_time(self): """Gets the create_time of this BasicObjectQueryViewDTO. - 创建时间。 + **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The create_time of this BasicObjectQueryViewDTO. :rtype: str @@ -149,7 +149,7 @@ def create_time(self): def create_time(self, create_time): """Sets the create_time of this BasicObjectQueryViewDTO. - 创建时间。 + **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param create_time: The create_time of this BasicObjectQueryViewDTO. :type create_time: str @@ -160,7 +160,7 @@ def create_time(self, create_time): def modifier(self): """Gets the modifier of this BasicObjectQueryViewDTO. - 修改人。 + **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The modifier of this BasicObjectQueryViewDTO. :rtype: str @@ -171,7 +171,7 @@ def modifier(self): def modifier(self, modifier): """Sets the modifier of this BasicObjectQueryViewDTO. - 修改人。 + **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param modifier: The modifier of this BasicObjectQueryViewDTO. :type modifier: str @@ -182,7 +182,7 @@ def modifier(self, modifier): def last_update_time(self): """Gets the last_update_time of this BasicObjectQueryViewDTO. - 最后的修改时间。 + **参数解释:** 最后的修改时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The last_update_time of this BasicObjectQueryViewDTO. :rtype: str @@ -193,7 +193,7 @@ def last_update_time(self): def last_update_time(self, last_update_time): """Sets the last_update_time of this BasicObjectQueryViewDTO. - 最后的修改时间。 + **参数解释:** 最后的修改时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param last_update_time: The last_update_time of this BasicObjectQueryViewDTO. :type last_update_time: str @@ -204,7 +204,7 @@ def last_update_time(self, last_update_time): def rdm_extension_type(self): """Gets the rdm_extension_type of this BasicObjectQueryViewDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The rdm_extension_type of this BasicObjectQueryViewDTO. :rtype: str @@ -215,7 +215,7 @@ def rdm_extension_type(self): def rdm_extension_type(self, rdm_extension_type): """Sets the rdm_extension_type of this BasicObjectQueryViewDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param rdm_extension_type: The rdm_extension_type of this BasicObjectQueryViewDTO. :type rdm_extension_type: str @@ -244,7 +244,7 @@ def tenant(self, tenant): def class_name(self): """Gets the class_name of this BasicObjectQueryViewDTO. - 类名。 + **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The class_name of this BasicObjectQueryViewDTO. :rtype: str @@ -255,7 +255,7 @@ def class_name(self): def class_name(self, class_name): """Sets the class_name of this BasicObjectQueryViewDTO. - 类名。 + **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param class_name: The class_name of this BasicObjectQueryViewDTO. :type class_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_add_child_node_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_add_child_node_request.py index 27270570bc..ba6a06e1cc 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_add_child_node_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_add_child_node_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the BatchAddChildNodeRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOBatchOperateChildDTO` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this BatchAddChildNodeRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this BatchAddChildNodeRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this BatchAddChildNodeRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this BatchAddChildNodeRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this BatchAddChildNodeRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this BatchAddChildNodeRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this BatchAddChildNodeRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this BatchAddChildNodeRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_add_child_node_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_add_child_node_response.py index 1aef3a7517..78abbfbe3d 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_add_child_node_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_add_child_node_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.TreeableModelViewDTO`] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this BatchAddChildNodeResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this BatchAddChildNodeResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this BatchAddChildNodeResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this BatchAddChildNodeResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this BatchAddChildNodeResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this BatchAddChildNodeResponse. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.TreeableModelViewDTO`] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this BatchAddChildNodeResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this BatchAddChildNodeResponse. :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.TreeableModelViewDTO`] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this BatchAddChildNodeResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this BatchAddChildNodeResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this BatchAddChildNodeResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this BatchAddChildNodeResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_checkin_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_checkin_request.py index 7f6b896d2e..c0861497ee 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_checkin_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_checkin_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the BatchCheckinRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOListVersionModelVersionCheckInDTO` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this BatchCheckinRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this BatchCheckinRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this BatchCheckinRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this BatchCheckinRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this BatchCheckinRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this BatchCheckinRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this BatchCheckinRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this BatchCheckinRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_checkin_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_checkin_response.py index 431f644e20..129fee167b 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_checkin_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_checkin_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this BatchCheckinResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this BatchCheckinResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this BatchCheckinResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this BatchCheckinResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this BatchCheckinResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this BatchCheckinResponse. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this BatchCheckinResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this BatchCheckinResponse. :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this BatchCheckinResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this BatchCheckinResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this BatchCheckinResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this BatchCheckinResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_checkout_and_update_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_checkout_and_update_request.py index 03771bb8a1..3a5e338dc2 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_checkout_and_update_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_checkout_and_update_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the BatchCheckoutAndUpdateRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOListVersionModelVersionCheckoutAndUpdateDTOVersionModel` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this BatchCheckoutAndUpdateRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this BatchCheckoutAndUpdateRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this BatchCheckoutAndUpdateRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this BatchCheckoutAndUpdateRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this BatchCheckoutAndUpdateRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this BatchCheckoutAndUpdateRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this BatchCheckoutAndUpdateRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this BatchCheckoutAndUpdateRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_checkout_and_update_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_checkout_and_update_response.py index 205a3d1014..b3113599c7 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_checkout_and_update_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_checkout_and_update_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this BatchCheckoutAndUpdateResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this BatchCheckoutAndUpdateResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this BatchCheckoutAndUpdateResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this BatchCheckoutAndUpdateResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this BatchCheckoutAndUpdateResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this BatchCheckoutAndUpdateResponse. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this BatchCheckoutAndUpdateResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this BatchCheckoutAndUpdateResponse. :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this BatchCheckoutAndUpdateResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this BatchCheckoutAndUpdateResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this BatchCheckoutAndUpdateResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this BatchCheckoutAndUpdateResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_checkout_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_checkout_request.py index ae87f76b63..f198782c4d 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_checkout_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_checkout_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the BatchCheckoutRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOListVersionModelVersionCheckOutDTO` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this BatchCheckoutRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this BatchCheckoutRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this BatchCheckoutRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this BatchCheckoutRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this BatchCheckoutRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this BatchCheckoutRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this BatchCheckoutRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this BatchCheckoutRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_checkout_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_checkout_response.py index 68185bd0d8..e1bc44705b 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_checkout_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_checkout_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this BatchCheckoutResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this BatchCheckoutResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this BatchCheckoutResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this BatchCheckoutResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this BatchCheckoutResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this BatchCheckoutResponse. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this BatchCheckoutResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this BatchCheckoutResponse. :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this BatchCheckoutResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this BatchCheckoutResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this BatchCheckoutResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this BatchCheckoutResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_checkout_undo_by_admin_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_checkout_undo_by_admin_request.py index b107d58bce..7bd3149b97 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_checkout_undo_by_admin_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_checkout_undo_by_admin_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the BatchCheckoutUndoByAdminRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOListVersionModelVersionUndoCheckOutDTO` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this BatchCheckoutUndoByAdminRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this BatchCheckoutUndoByAdminRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this BatchCheckoutUndoByAdminRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this BatchCheckoutUndoByAdminRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this BatchCheckoutUndoByAdminRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this BatchCheckoutUndoByAdminRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this BatchCheckoutUndoByAdminRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this BatchCheckoutUndoByAdminRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_checkout_undo_by_admin_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_checkout_undo_by_admin_response.py index 2bb43e6cfb..8ed20d8ad3 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_checkout_undo_by_admin_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_checkout_undo_by_admin_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this BatchCheckoutUndoByAdminResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this BatchCheckoutUndoByAdminResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this BatchCheckoutUndoByAdminResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this BatchCheckoutUndoByAdminResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this BatchCheckoutUndoByAdminResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this BatchCheckoutUndoByAdminResponse. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this BatchCheckoutUndoByAdminResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this BatchCheckoutUndoByAdminResponse. :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this BatchCheckoutUndoByAdminResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this BatchCheckoutUndoByAdminResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this BatchCheckoutUndoByAdminResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this BatchCheckoutUndoByAdminResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_checkout_undo_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_checkout_undo_request.py index e7074e6ef9..1753f57a1d 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_checkout_undo_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_checkout_undo_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the BatchCheckoutUndoRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOListVersionModelVersionUndoCheckOutDTO` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this BatchCheckoutUndoRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this BatchCheckoutUndoRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this BatchCheckoutUndoRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this BatchCheckoutUndoRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this BatchCheckoutUndoRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this BatchCheckoutUndoRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this BatchCheckoutUndoRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this BatchCheckoutUndoRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_checkout_undo_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_checkout_undo_response.py index 049f223c31..31581b8c2f 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_checkout_undo_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_checkout_undo_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this BatchCheckoutUndoResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this BatchCheckoutUndoResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this BatchCheckoutUndoResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this BatchCheckoutUndoResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this BatchCheckoutUndoResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this BatchCheckoutUndoResponse. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this BatchCheckoutUndoResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this BatchCheckoutUndoResponse. :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this BatchCheckoutUndoResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this BatchCheckoutUndoResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this BatchCheckoutUndoResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this BatchCheckoutUndoResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_create_using_post_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_create_using_post_request.py index e4c375b513..b8b286b075 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_create_using_post_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_create_using_post_request.py @@ -33,7 +33,7 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str :param model_name: 数据模型的英文名称。 :type model_name: str @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this BatchCreateUsingPostRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this BatchCreateUsingPostRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this BatchCreateUsingPostRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this BatchCreateUsingPostRequest. :type identifier: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_create_using_post_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_create_using_post_response.py index cdfd904aaf..f9c8b992f5 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_create_using_post_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_create_using_post_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.PersistableModelViewDTO`] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this BatchCreateUsingPostResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this BatchCreateUsingPostResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this BatchCreateUsingPostResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this BatchCreateUsingPostResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this BatchCreateUsingPostResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this BatchCreateUsingPostResponse. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.PersistableModelViewDTO`] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this BatchCreateUsingPostResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this BatchCreateUsingPostResponse. :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.PersistableModelViewDTO`] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this BatchCreateUsingPostResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this BatchCreateUsingPostResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this BatchCreateUsingPostResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this BatchCreateUsingPostResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_create_view_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_create_view_request.py index 8731ff44e8..a618739111 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_create_view_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_create_view_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the BatchCreateViewRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOListMultiViewModelVersionViewCreateDTO` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this BatchCreateViewRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this BatchCreateViewRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this BatchCreateViewRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this BatchCreateViewRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this BatchCreateViewRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this BatchCreateViewRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this BatchCreateViewRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this BatchCreateViewRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_create_view_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_create_view_response.py index ffe4bed699..c0653647c5 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_create_view_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_create_view_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.MultiViewModelViewDTO`] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this BatchCreateViewResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this BatchCreateViewResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this BatchCreateViewResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this BatchCreateViewResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this BatchCreateViewResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this BatchCreateViewResponse. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.MultiViewModelViewDTO`] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this BatchCreateViewResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this BatchCreateViewResponse. :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.MultiViewModelViewDTO`] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this BatchCreateViewResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this BatchCreateViewResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this BatchCreateViewResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this BatchCreateViewResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_delete_branch_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_delete_branch_request.py index fb69940682..dcbeec93e2 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_delete_branch_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_delete_branch_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the BatchDeleteBranchRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOVersionMasterIdsDtoVersionModelVersionMasterDTO` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this BatchDeleteBranchRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this BatchDeleteBranchRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this BatchDeleteBranchRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this BatchDeleteBranchRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this BatchDeleteBranchRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this BatchDeleteBranchRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this BatchDeleteBranchRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this BatchDeleteBranchRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_delete_branch_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_delete_branch_response.py index 5aa95864ee..e0ddd2d745 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_delete_branch_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_delete_branch_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[int] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this BatchDeleteBranchResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this BatchDeleteBranchResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this BatchDeleteBranchResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this BatchDeleteBranchResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this BatchDeleteBranchResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this BatchDeleteBranchResponse. :rtype: list[int] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this BatchDeleteBranchResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this BatchDeleteBranchResponse. :type data: list[int] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this BatchDeleteBranchResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this BatchDeleteBranchResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this BatchDeleteBranchResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this BatchDeleteBranchResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_delete_logical_branch_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_delete_logical_branch_request.py index 76faa4741f..c5051e3fab 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_delete_logical_branch_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_delete_logical_branch_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the BatchDeleteLogicalBranchRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOVersionMasterIdsDtoVersionModelVersionMasterDTO` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this BatchDeleteLogicalBranchRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this BatchDeleteLogicalBranchRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this BatchDeleteLogicalBranchRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this BatchDeleteLogicalBranchRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this BatchDeleteLogicalBranchRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this BatchDeleteLogicalBranchRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this BatchDeleteLogicalBranchRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this BatchDeleteLogicalBranchRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_delete_logical_branch_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_delete_logical_branch_response.py index 20ec0641e0..c00efd6b4c 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_delete_logical_branch_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_delete_logical_branch_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[int] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this BatchDeleteLogicalBranchResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this BatchDeleteLogicalBranchResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this BatchDeleteLogicalBranchResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this BatchDeleteLogicalBranchResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this BatchDeleteLogicalBranchResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this BatchDeleteLogicalBranchResponse. :rtype: list[int] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this BatchDeleteLogicalBranchResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this BatchDeleteLogicalBranchResponse. :type data: list[int] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this BatchDeleteLogicalBranchResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this BatchDeleteLogicalBranchResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this BatchDeleteLogicalBranchResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this BatchDeleteLogicalBranchResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_delete_logical_using_post_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_delete_logical_using_post_request.py index c988268c5f..138e7448d4 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_delete_logical_using_post_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_delete_logical_using_post_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the BatchDeleteLogicalUsingPostRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOPersistObjectIdsModifierDTO` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this BatchDeleteLogicalUsingPostRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this BatchDeleteLogicalUsingPostRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this BatchDeleteLogicalUsingPostRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this BatchDeleteLogicalUsingPostRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this BatchDeleteLogicalUsingPostRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this BatchDeleteLogicalUsingPostRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this BatchDeleteLogicalUsingPostRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this BatchDeleteLogicalUsingPostRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_delete_logical_using_post_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_delete_logical_using_post_response.py index 63b7382d0b..0d29307dec 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_delete_logical_using_post_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_delete_logical_using_post_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求操作数据数量。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[int] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this BatchDeleteLogicalUsingPostResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this BatchDeleteLogicalUsingPostResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this BatchDeleteLogicalUsingPostResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this BatchDeleteLogicalUsingPostResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this BatchDeleteLogicalUsingPostResponse. - 请求数据。 + **参数解释:** 请求操作数据数量。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this BatchDeleteLogicalUsingPostResponse. :rtype: list[int] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this BatchDeleteLogicalUsingPostResponse. - 请求数据。 + **参数解释:** 请求操作数据数量。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this BatchDeleteLogicalUsingPostResponse. :type data: list[int] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this BatchDeleteLogicalUsingPostResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this BatchDeleteLogicalUsingPostResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this BatchDeleteLogicalUsingPostResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this BatchDeleteLogicalUsingPostResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_delete_using_post_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_delete_using_post_request.py index 00b9d74487..415e31c9aa 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_delete_using_post_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_delete_using_post_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the BatchDeleteUsingPostRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOPersistObjectIdsModifierDTO` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this BatchDeleteUsingPostRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this BatchDeleteUsingPostRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this BatchDeleteUsingPostRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this BatchDeleteUsingPostRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this BatchDeleteUsingPostRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this BatchDeleteUsingPostRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this BatchDeleteUsingPostRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this BatchDeleteUsingPostRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_delete_using_post_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_delete_using_post_response.py index bed7d709ce..28cb35376f 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_delete_using_post_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_delete_using_post_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求操作数据数量。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[int] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this BatchDeleteUsingPostResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this BatchDeleteUsingPostResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this BatchDeleteUsingPostResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this BatchDeleteUsingPostResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this BatchDeleteUsingPostResponse. - 请求数据。 + **参数解释:** 请求操作数据数量。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this BatchDeleteUsingPostResponse. :rtype: list[int] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this BatchDeleteUsingPostResponse. - 请求数据。 + **参数解释:** 请求操作数据数量。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this BatchDeleteUsingPostResponse. :type data: list[int] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this BatchDeleteUsingPostResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this BatchDeleteUsingPostResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this BatchDeleteUsingPostResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this BatchDeleteUsingPostResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_execute_revise_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_execute_revise_request.py index 44ea9a188d..7f9fc02571 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_execute_revise_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_execute_revise_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the BatchExecuteReviseRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOListVersionModelVersionReviseDTO` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this BatchExecuteReviseRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this BatchExecuteReviseRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this BatchExecuteReviseRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this BatchExecuteReviseRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this BatchExecuteReviseRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this BatchExecuteReviseRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this BatchExecuteReviseRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this BatchExecuteReviseRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_execute_revise_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_execute_revise_response.py index b9d45dc1fc..41c09dc891 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_execute_revise_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_execute_revise_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this BatchExecuteReviseResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this BatchExecuteReviseResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this BatchExecuteReviseResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this BatchExecuteReviseResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this BatchExecuteReviseResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this BatchExecuteReviseResponse. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this BatchExecuteReviseResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this BatchExecuteReviseResponse. :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this BatchExecuteReviseResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this BatchExecuteReviseResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this BatchExecuteReviseResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this BatchExecuteReviseResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_operate_child_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_operate_child_dto.py index 81d23101e9..27433a1268 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_operate_child_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_operate_child_dto.py @@ -31,9 +31,9 @@ def __init__(self, child_list=None, parent_id=None): The model defined in huaweicloud sdk - :param child_list: 子节点实例ID列表。 + :param child_list: **参数解释:** 子节点实例ID列表。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type child_list: list[str] - :param parent_id: 父节点实例ID。 + :param parent_id: **参数解释:** 父节点实例ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type parent_id: str """ @@ -50,7 +50,7 @@ def __init__(self, child_list=None, parent_id=None): def child_list(self): """Gets the child_list of this BatchOperateChildDTO. - 子节点实例ID列表。 + **参数解释:** 子节点实例ID列表。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The child_list of this BatchOperateChildDTO. :rtype: list[str] @@ -61,7 +61,7 @@ def child_list(self): def child_list(self, child_list): """Sets the child_list of this BatchOperateChildDTO. - 子节点实例ID列表。 + **参数解释:** 子节点实例ID列表。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param child_list: The child_list of this BatchOperateChildDTO. :type child_list: list[str] @@ -72,7 +72,7 @@ def child_list(self, child_list): def parent_id(self): """Gets the parent_id of this BatchOperateChildDTO. - 父节点实例ID。 + **参数解释:** 父节点实例ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The parent_id of this BatchOperateChildDTO. :rtype: str @@ -83,7 +83,7 @@ def parent_id(self): def parent_id(self, parent_id): """Sets the parent_id of this BatchOperateChildDTO. - 父节点实例ID。 + **参数解释:** 父节点实例ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param parent_id: The parent_id of this BatchOperateChildDTO. :type parent_id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_remove_child_node_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_remove_child_node_request.py index 2243e9fbe9..df05734244 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_remove_child_node_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_remove_child_node_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the BatchRemoveChildNodeRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOBatchOperateChildDTO` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this BatchRemoveChildNodeRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this BatchRemoveChildNodeRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this BatchRemoveChildNodeRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this BatchRemoveChildNodeRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this BatchRemoveChildNodeRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this BatchRemoveChildNodeRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this BatchRemoveChildNodeRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this BatchRemoveChildNodeRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_remove_child_node_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_remove_child_node_response.py index 5bec3b4568..4b53b67ff5 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_remove_child_node_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_remove_child_node_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[int] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this BatchRemoveChildNodeResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this BatchRemoveChildNodeResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this BatchRemoveChildNodeResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this BatchRemoveChildNodeResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this BatchRemoveChildNodeResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this BatchRemoveChildNodeResponse. :rtype: list[int] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this BatchRemoveChildNodeResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this BatchRemoveChildNodeResponse. :type data: list[int] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this BatchRemoveChildNodeResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this BatchRemoveChildNodeResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this BatchRemoveChildNodeResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this BatchRemoveChildNodeResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_show_get_using_post_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_show_get_using_post_request.py index d2cefcac7e..8840ece75f 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_show_get_using_post_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_show_get_using_post_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the BatchShowGetUsingPostRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOPersistObjectIdsDecryptDTO` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this BatchShowGetUsingPostRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this BatchShowGetUsingPostRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this BatchShowGetUsingPostRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this BatchShowGetUsingPostRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this BatchShowGetUsingPostRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this BatchShowGetUsingPostRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this BatchShowGetUsingPostRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this BatchShowGetUsingPostRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_show_get_using_post_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_show_get_using_post_response.py index ca7ddab3cf..81fd80689a 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_show_get_using_post_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_show_get_using_post_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.PersistableModelViewDTO`] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this BatchShowGetUsingPostResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this BatchShowGetUsingPostResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this BatchShowGetUsingPostResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this BatchShowGetUsingPostResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this BatchShowGetUsingPostResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this BatchShowGetUsingPostResponse. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.PersistableModelViewDTO`] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this BatchShowGetUsingPostResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this BatchShowGetUsingPostResponse. :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.PersistableModelViewDTO`] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this BatchShowGetUsingPostResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this BatchShowGetUsingPostResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this BatchShowGetUsingPostResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this BatchShowGetUsingPostResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_update_and_checkin_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_update_and_checkin_request.py index be2c58f5fa..54b0cf0754 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_update_and_checkin_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_update_and_checkin_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the BatchUpdateAndCheckinRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOListVersionModelVersionUpdateAndCheckinDTOVersionModel` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this BatchUpdateAndCheckinRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this BatchUpdateAndCheckinRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this BatchUpdateAndCheckinRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this BatchUpdateAndCheckinRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this BatchUpdateAndCheckinRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this BatchUpdateAndCheckinRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this BatchUpdateAndCheckinRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this BatchUpdateAndCheckinRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_update_and_checkin_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_update_and_checkin_response.py index faf7373c65..00f0427316 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_update_and_checkin_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_update_and_checkin_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this BatchUpdateAndCheckinResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this BatchUpdateAndCheckinResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this BatchUpdateAndCheckinResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this BatchUpdateAndCheckinResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this BatchUpdateAndCheckinResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this BatchUpdateAndCheckinResponse. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this BatchUpdateAndCheckinResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this BatchUpdateAndCheckinResponse. :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this BatchUpdateAndCheckinResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this BatchUpdateAndCheckinResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this BatchUpdateAndCheckinResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this BatchUpdateAndCheckinResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_update_and_revise_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_update_and_revise_request.py index 0e0aa70982..4125497d90 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_update_and_revise_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_update_and_revise_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the BatchUpdateAndReviseRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOListVersionModelVersionReviseAndUpdateDTOVersionModel` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this BatchUpdateAndReviseRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this BatchUpdateAndReviseRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this BatchUpdateAndReviseRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this BatchUpdateAndReviseRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this BatchUpdateAndReviseRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this BatchUpdateAndReviseRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this BatchUpdateAndReviseRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this BatchUpdateAndReviseRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_update_and_revise_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_update_and_revise_response.py index 626ee980c5..6331021b3b 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_update_and_revise_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_update_and_revise_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this BatchUpdateAndReviseResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this BatchUpdateAndReviseResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this BatchUpdateAndReviseResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this BatchUpdateAndReviseResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this BatchUpdateAndReviseResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this BatchUpdateAndReviseResponse. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this BatchUpdateAndReviseResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this BatchUpdateAndReviseResponse. :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this BatchUpdateAndReviseResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this BatchUpdateAndReviseResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this BatchUpdateAndReviseResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this BatchUpdateAndReviseResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_update_by_admin_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_update_by_admin_request.py index 9359920a4b..c3ff79fdff 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_update_by_admin_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_update_by_admin_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the BatchUpdateByAdminRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOListVersionModel` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this BatchUpdateByAdminRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this BatchUpdateByAdminRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this BatchUpdateByAdminRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this BatchUpdateByAdminRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this BatchUpdateByAdminRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this BatchUpdateByAdminRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this BatchUpdateByAdminRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this BatchUpdateByAdminRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_update_by_admin_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_update_by_admin_response.py index 2ed21a37f4..bb0be81be9 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_update_by_admin_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_update_by_admin_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this BatchUpdateByAdminResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this BatchUpdateByAdminResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this BatchUpdateByAdminResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this BatchUpdateByAdminResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this BatchUpdateByAdminResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this BatchUpdateByAdminResponse. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this BatchUpdateByAdminResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this BatchUpdateByAdminResponse. :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this BatchUpdateByAdminResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this BatchUpdateByAdminResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this BatchUpdateByAdminResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this BatchUpdateByAdminResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_update_using_post_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_update_using_post_request.py index 753f17ba50..8b69e12700 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_update_using_post_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_update_using_post_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the BatchUpdateUsingPostRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOListPersistableModelUpdateDTO` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this BatchUpdateUsingPostRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this BatchUpdateUsingPostRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this BatchUpdateUsingPostRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this BatchUpdateUsingPostRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this BatchUpdateUsingPostRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this BatchUpdateUsingPostRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this BatchUpdateUsingPostRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this BatchUpdateUsingPostRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_update_using_post_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_update_using_post_response.py index e9423fc6c2..d00b643f4c 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_update_using_post_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_update_using_post_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.PersistableModelViewDTO`] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this BatchUpdateUsingPostResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this BatchUpdateUsingPostResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this BatchUpdateUsingPostResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this BatchUpdateUsingPostResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this BatchUpdateUsingPostResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this BatchUpdateUsingPostResponse. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.PersistableModelViewDTO`] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this BatchUpdateUsingPostResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this BatchUpdateUsingPostResponse. :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.PersistableModelViewDTO`] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this BatchUpdateUsingPostResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this BatchUpdateUsingPostResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this BatchUpdateUsingPostResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this BatchUpdateUsingPostResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_update_version_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_update_version_request.py index e4e386edda..542fca3744 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_update_version_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_update_version_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the BatchUpdateVersionRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOListVersionModelVersionUpdateDTO` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this BatchUpdateVersionRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this BatchUpdateVersionRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this BatchUpdateVersionRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this BatchUpdateVersionRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this BatchUpdateVersionRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this BatchUpdateVersionRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this BatchUpdateVersionRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this BatchUpdateVersionRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_update_version_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_update_version_response.py index dcbc2f87bd..ddbe109107 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_update_version_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/batch_update_version_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[str] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this BatchUpdateVersionResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this BatchUpdateVersionResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this BatchUpdateVersionResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this BatchUpdateVersionResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this BatchUpdateVersionResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this BatchUpdateVersionResponse. :rtype: list[str] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this BatchUpdateVersionResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this BatchUpdateVersionResponse. :type data: list[str] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this BatchUpdateVersionResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this BatchUpdateVersionResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this BatchUpdateVersionResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this BatchUpdateVersionResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/business_code_vo.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/business_code_vo.py index d8a5ab7d3d..17eee6f82b 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/business_code_vo.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/business_code_vo.py @@ -29,7 +29,7 @@ def __init__(self, code=None): The model defined in huaweicloud sdk - :param code: 业务编码。 + :param code: **参数解释:** 业务编码。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type code: str """ @@ -45,7 +45,7 @@ def __init__(self, code=None): def code(self): """Gets the code of this BusinessCodeVo. - 业务编码。 + **参数解释:** 业务编码。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The code of this BusinessCodeVo. :rtype: str @@ -56,7 +56,7 @@ def code(self): def code(self, code): """Sets the code of this BusinessCodeVo. - 业务编码。 + **参数解释:** 业务编码。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param code: The code of this BusinessCodeVo. :type code: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/character_set_enum.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/character_set_enum.py index d0ac75273c..91b223f3b0 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/character_set_enum.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/character_set_enum.py @@ -33,11 +33,11 @@ def __init__(self, cn_name=None, code=None, en_name=None): The model defined in huaweicloud sdk - :param cn_name: 中文名。 + :param cn_name: **参数解释:** 中文名。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type cn_name: str - :param code: 编码。 + :param code: **参数解释:** 编码。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type code: str - :param en_name: 英文名。 + :param en_name: **参数解释:** 英文名。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type en_name: str """ @@ -59,7 +59,7 @@ def __init__(self, cn_name=None, code=None, en_name=None): def cn_name(self): """Gets the cn_name of this CharacterSetEnum. - 中文名。 + **参数解释:** 中文名。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The cn_name of this CharacterSetEnum. :rtype: str @@ -70,7 +70,7 @@ def cn_name(self): def cn_name(self, cn_name): """Sets the cn_name of this CharacterSetEnum. - 中文名。 + **参数解释:** 中文名。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param cn_name: The cn_name of this CharacterSetEnum. :type cn_name: str @@ -81,7 +81,7 @@ def cn_name(self, cn_name): def code(self): """Gets the code of this CharacterSetEnum. - 编码。 + **参数解释:** 编码。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The code of this CharacterSetEnum. :rtype: str @@ -92,7 +92,7 @@ def code(self): def code(self, code): """Sets the code of this CharacterSetEnum. - 编码。 + **参数解释:** 编码。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param code: The code of this CharacterSetEnum. :type code: str @@ -103,7 +103,7 @@ def code(self, code): def en_name(self): """Gets the en_name of this CharacterSetEnum. - 英文名。 + **参数解释:** 英文名。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The en_name of this CharacterSetEnum. :rtype: str @@ -114,7 +114,7 @@ def en_name(self): def en_name(self, en_name): """Sets the en_name of this CharacterSetEnum. - 英文名。 + **参数解释:** 英文名。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param en_name: The en_name of this CharacterSetEnum. :type en_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/checkin_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/checkin_request.py index 0e23246db2..bbb979bed3 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/checkin_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/checkin_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the CheckinRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOVersionModelVersionCheckInDTO` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this CheckinRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this CheckinRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this CheckinRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this CheckinRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this CheckinRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this CheckinRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this CheckinRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this CheckinRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/checkin_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/checkin_response.py index e7a6836e55..79f90af973 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/checkin_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/checkin_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this CheckinResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this CheckinResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this CheckinResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this CheckinResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this CheckinResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this CheckinResponse. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this CheckinResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this CheckinResponse. :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this CheckinResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this CheckinResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this CheckinResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this CheckinResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/checkout_and_update_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/checkout_and_update_request.py index 42944704ae..9ed8ccfdcc 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/checkout_and_update_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/checkout_and_update_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the CheckoutAndUpdateRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOVersionModelVersionCheckoutAndUpdateDTOVersionModel` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this CheckoutAndUpdateRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this CheckoutAndUpdateRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this CheckoutAndUpdateRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this CheckoutAndUpdateRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this CheckoutAndUpdateRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this CheckoutAndUpdateRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this CheckoutAndUpdateRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this CheckoutAndUpdateRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/checkout_and_update_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/checkout_and_update_response.py index c8e7340c29..b057ffc854 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/checkout_and_update_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/checkout_and_update_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this CheckoutAndUpdateResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this CheckoutAndUpdateResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this CheckoutAndUpdateResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this CheckoutAndUpdateResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this CheckoutAndUpdateResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this CheckoutAndUpdateResponse. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this CheckoutAndUpdateResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this CheckoutAndUpdateResponse. :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this CheckoutAndUpdateResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this CheckoutAndUpdateResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this CheckoutAndUpdateResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this CheckoutAndUpdateResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/checkout_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/checkout_request.py index 4783125816..87fc3eeb28 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/checkout_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/checkout_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the CheckoutRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOVersionModelVersionCheckOutDTO` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this CheckoutRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this CheckoutRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this CheckoutRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this CheckoutRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this CheckoutRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this CheckoutRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this CheckoutRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this CheckoutRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/checkout_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/checkout_response.py index 25d3444dbe..896e1c6206 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/checkout_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/checkout_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this CheckoutResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this CheckoutResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this CheckoutResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this CheckoutResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this CheckoutResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this CheckoutResponse. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this CheckoutResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this CheckoutResponse. :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this CheckoutResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this CheckoutResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this CheckoutResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this CheckoutResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/checkout_undo_by_admin_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/checkout_undo_by_admin_request.py index 7eb7f6ce86..5bbf2efe26 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/checkout_undo_by_admin_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/checkout_undo_by_admin_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the CheckoutUndoByAdminRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOVersionModelVersionUndoCheckOutDTO` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this CheckoutUndoByAdminRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this CheckoutUndoByAdminRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this CheckoutUndoByAdminRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this CheckoutUndoByAdminRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this CheckoutUndoByAdminRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this CheckoutUndoByAdminRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this CheckoutUndoByAdminRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this CheckoutUndoByAdminRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/checkout_undo_by_admin_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/checkout_undo_by_admin_response.py index afa090d957..5c67b4e529 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/checkout_undo_by_admin_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/checkout_undo_by_admin_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this CheckoutUndoByAdminResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this CheckoutUndoByAdminResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this CheckoutUndoByAdminResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this CheckoutUndoByAdminResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this CheckoutUndoByAdminResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this CheckoutUndoByAdminResponse. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this CheckoutUndoByAdminResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this CheckoutUndoByAdminResponse. :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this CheckoutUndoByAdminResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this CheckoutUndoByAdminResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this CheckoutUndoByAdminResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this CheckoutUndoByAdminResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/checkout_undo_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/checkout_undo_request.py index 1505a04036..578d9d73e3 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/checkout_undo_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/checkout_undo_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the CheckoutUndoRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOVersionModelVersionUndoCheckOutDTO` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this CheckoutUndoRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this CheckoutUndoRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this CheckoutUndoRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this CheckoutUndoRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this CheckoutUndoRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this CheckoutUndoRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this CheckoutUndoRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this CheckoutUndoRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/checkout_undo_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/checkout_undo_response.py index b34572c3cd..f61b1970e9 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/checkout_undo_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/checkout_undo_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this CheckoutUndoResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this CheckoutUndoResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this CheckoutUndoResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this CheckoutUndoResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this CheckoutUndoResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this CheckoutUndoResponse. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this CheckoutUndoResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this CheckoutUndoResponse. :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this CheckoutUndoResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this CheckoutUndoResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this CheckoutUndoResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this CheckoutUndoResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/classes_view_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/classes_view_dto.py index 303e4c52b8..74cd1a3ce3 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/classes_view_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/classes_view_dto.py @@ -55,31 +55,31 @@ def __init__(self, class_name=None, create_time=None, creator=None, description= The model defined in huaweicloud sdk - :param class_name: 类名。 + :param class_name: **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type class_name: str - :param create_time: 创建时间。 + :param create_time: **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type create_time: str - :param creator: 创建者。 + :param creator: **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type creator: str - :param description: 描述。 + :param description: **参数解释:** 描述。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type description: str - :param id: 唯一标识。 + :param id: **参数解释:** 唯一标识。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type id: str - :param kiaguid: 关键信息资产ID。 + :param kiaguid: **参数解释:** 关键信息资产ID。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type kiaguid: str - :param last_update_time: 最新更新时间。 + :param last_update_time: **参数解释:** 最新更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type last_update_time: str - :param modifier: 修改人。 + :param modifier: **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type modifier: str - :param name: 名称。 + :param name: **参数解释:** 名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type name: str - :param rdm_delete_flag: 软删除标识,参数值为0或1。 - 0:表示未删除。 - 1:表示已删除。 + :param rdm_delete_flag: **参数解释:** 软删除标识,参数值为0或1。 **取值范围:** - 0:表示未删除。 - 1:表示已删除。 **默认取值:** 不涉及。 :type rdm_delete_flag: int - :param rdm_extension_type: 扩展类型。 + :param rdm_extension_type: **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type rdm_extension_type: str - :param rdm_version: 系统版本。 + :param rdm_version: **参数解释:** 系统版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type rdm_version: int - :param security_level: 安全密级。 - INTERNAL:内部公开。 - SECRET:秘密。 - CONFIDENTIAL:机密。 - TOP_SECRET:绝密。 + :param security_level: **参数解释:** 安全密级。 **取值范围:** - INTERNAL:内部公开。 - SECRET:秘密。 - CONFIDENTIAL:机密。 - TOP_SECRET:绝密。 **默认取值:** 不涉及。 :type security_level: str :param tenant: :type tenant: :class:`huaweicloudsdkidmeclassicapi.v1.TenantViewDTO` @@ -136,7 +136,7 @@ def __init__(self, class_name=None, create_time=None, creator=None, description= def class_name(self): """Gets the class_name of this ClassesViewDTO. - 类名。 + **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The class_name of this ClassesViewDTO. :rtype: str @@ -147,7 +147,7 @@ def class_name(self): def class_name(self, class_name): """Sets the class_name of this ClassesViewDTO. - 类名。 + **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param class_name: The class_name of this ClassesViewDTO. :type class_name: str @@ -158,7 +158,7 @@ def class_name(self, class_name): def create_time(self): """Gets the create_time of this ClassesViewDTO. - 创建时间。 + **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The create_time of this ClassesViewDTO. :rtype: str @@ -169,7 +169,7 @@ def create_time(self): def create_time(self, create_time): """Sets the create_time of this ClassesViewDTO. - 创建时间。 + **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param create_time: The create_time of this ClassesViewDTO. :type create_time: str @@ -180,7 +180,7 @@ def create_time(self, create_time): def creator(self): """Gets the creator of this ClassesViewDTO. - 创建者。 + **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The creator of this ClassesViewDTO. :rtype: str @@ -191,7 +191,7 @@ def creator(self): def creator(self, creator): """Sets the creator of this ClassesViewDTO. - 创建者。 + **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param creator: The creator of this ClassesViewDTO. :type creator: str @@ -202,7 +202,7 @@ def creator(self, creator): def description(self): """Gets the description of this ClassesViewDTO. - 描述。 + **参数解释:** 描述。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The description of this ClassesViewDTO. :rtype: str @@ -213,7 +213,7 @@ def description(self): def description(self, description): """Sets the description of this ClassesViewDTO. - 描述。 + **参数解释:** 描述。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param description: The description of this ClassesViewDTO. :type description: str @@ -224,7 +224,7 @@ def description(self, description): def id(self): """Gets the id of this ClassesViewDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The id of this ClassesViewDTO. :rtype: str @@ -235,7 +235,7 @@ def id(self): def id(self, id): """Sets the id of this ClassesViewDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param id: The id of this ClassesViewDTO. :type id: str @@ -246,7 +246,7 @@ def id(self, id): def kiaguid(self): """Gets the kiaguid of this ClassesViewDTO. - 关键信息资产ID。 + **参数解释:** 关键信息资产ID。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The kiaguid of this ClassesViewDTO. :rtype: str @@ -257,7 +257,7 @@ def kiaguid(self): def kiaguid(self, kiaguid): """Sets the kiaguid of this ClassesViewDTO. - 关键信息资产ID。 + **参数解释:** 关键信息资产ID。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param kiaguid: The kiaguid of this ClassesViewDTO. :type kiaguid: str @@ -268,7 +268,7 @@ def kiaguid(self, kiaguid): def last_update_time(self): """Gets the last_update_time of this ClassesViewDTO. - 最新更新时间。 + **参数解释:** 最新更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The last_update_time of this ClassesViewDTO. :rtype: str @@ -279,7 +279,7 @@ def last_update_time(self): def last_update_time(self, last_update_time): """Sets the last_update_time of this ClassesViewDTO. - 最新更新时间。 + **参数解释:** 最新更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param last_update_time: The last_update_time of this ClassesViewDTO. :type last_update_time: str @@ -290,7 +290,7 @@ def last_update_time(self, last_update_time): def modifier(self): """Gets the modifier of this ClassesViewDTO. - 修改人。 + **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The modifier of this ClassesViewDTO. :rtype: str @@ -301,7 +301,7 @@ def modifier(self): def modifier(self, modifier): """Sets the modifier of this ClassesViewDTO. - 修改人。 + **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param modifier: The modifier of this ClassesViewDTO. :type modifier: str @@ -312,7 +312,7 @@ def modifier(self, modifier): def name(self): """Gets the name of this ClassesViewDTO. - 名称。 + **参数解释:** 名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The name of this ClassesViewDTO. :rtype: str @@ -323,7 +323,7 @@ def name(self): def name(self, name): """Sets the name of this ClassesViewDTO. - 名称。 + **参数解释:** 名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param name: The name of this ClassesViewDTO. :type name: str @@ -334,7 +334,7 @@ def name(self, name): def rdm_delete_flag(self): """Gets the rdm_delete_flag of this ClassesViewDTO. - 软删除标识,参数值为0或1。 - 0:表示未删除。 - 1:表示已删除。 + **参数解释:** 软删除标识,参数值为0或1。 **取值范围:** - 0:表示未删除。 - 1:表示已删除。 **默认取值:** 不涉及。 :return: The rdm_delete_flag of this ClassesViewDTO. :rtype: int @@ -345,7 +345,7 @@ def rdm_delete_flag(self): def rdm_delete_flag(self, rdm_delete_flag): """Sets the rdm_delete_flag of this ClassesViewDTO. - 软删除标识,参数值为0或1。 - 0:表示未删除。 - 1:表示已删除。 + **参数解释:** 软删除标识,参数值为0或1。 **取值范围:** - 0:表示未删除。 - 1:表示已删除。 **默认取值:** 不涉及。 :param rdm_delete_flag: The rdm_delete_flag of this ClassesViewDTO. :type rdm_delete_flag: int @@ -356,7 +356,7 @@ def rdm_delete_flag(self, rdm_delete_flag): def rdm_extension_type(self): """Gets the rdm_extension_type of this ClassesViewDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The rdm_extension_type of this ClassesViewDTO. :rtype: str @@ -367,7 +367,7 @@ def rdm_extension_type(self): def rdm_extension_type(self, rdm_extension_type): """Sets the rdm_extension_type of this ClassesViewDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param rdm_extension_type: The rdm_extension_type of this ClassesViewDTO. :type rdm_extension_type: str @@ -378,7 +378,7 @@ def rdm_extension_type(self, rdm_extension_type): def rdm_version(self): """Gets the rdm_version of this ClassesViewDTO. - 系统版本。 + **参数解释:** 系统版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The rdm_version of this ClassesViewDTO. :rtype: int @@ -389,7 +389,7 @@ def rdm_version(self): def rdm_version(self, rdm_version): """Sets the rdm_version of this ClassesViewDTO. - 系统版本。 + **参数解释:** 系统版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param rdm_version: The rdm_version of this ClassesViewDTO. :type rdm_version: int @@ -400,7 +400,7 @@ def rdm_version(self, rdm_version): def security_level(self): """Gets the security_level of this ClassesViewDTO. - 安全密级。 - INTERNAL:内部公开。 - SECRET:秘密。 - CONFIDENTIAL:机密。 - TOP_SECRET:绝密。 + **参数解释:** 安全密级。 **取值范围:** - INTERNAL:内部公开。 - SECRET:秘密。 - CONFIDENTIAL:机密。 - TOP_SECRET:绝密。 **默认取值:** 不涉及。 :return: The security_level of this ClassesViewDTO. :rtype: str @@ -411,7 +411,7 @@ def security_level(self): def security_level(self, security_level): """Sets the security_level of this ClassesViewDTO. - 安全密级。 - INTERNAL:内部公开。 - SECRET:秘密。 - CONFIDENTIAL:机密。 - TOP_SECRET:绝密。 + **参数解释:** 安全密级。 **取值范围:** - INTERNAL:内部公开。 - SECRET:秘密。 - CONFIDENTIAL:机密。 - TOP_SECRET:绝密。 **默认取值:** 不涉及。 :param security_level: The security_level of this ClassesViewDTO. :type security_level: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/collect_history_data_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/collect_history_data_request.py index 0cacc16ecc..7b1cba40b9 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/collect_history_data_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/collect_history_data_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the CollectHistoryDataRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOStatisticsPVO` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this CollectHistoryDataRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this CollectHistoryDataRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this CollectHistoryDataRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this CollectHistoryDataRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this CollectHistoryDataRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this CollectHistoryDataRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this CollectHistoryDataRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this CollectHistoryDataRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/collect_history_data_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/collect_history_data_response.py index f304553b90..150609edaa 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/collect_history_data_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/collect_history_data_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.StatisticsRVO`] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this CollectHistoryDataResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this CollectHistoryDataResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this CollectHistoryDataResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this CollectHistoryDataResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this CollectHistoryDataResponse. - 请求数据。 + **参数解释:** 请求数据。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this CollectHistoryDataResponse. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.StatisticsRVO`] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this CollectHistoryDataResponse. - 请求数据。 + **参数解释:** 请求数据。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this CollectHistoryDataResponse. :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.StatisticsRVO`] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this CollectHistoryDataResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this CollectHistoryDataResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this CollectHistoryDataResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this CollectHistoryDataResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/compare_business_version_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/compare_business_version_request.py index f9eb755d67..af288e9267 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/compare_business_version_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/compare_business_version_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the CompareBusinessVersionRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOVersionModelCompareVersionVO` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this CompareBusinessVersionRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this CompareBusinessVersionRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this CompareBusinessVersionRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this CompareBusinessVersionRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this CompareBusinessVersionRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this CompareBusinessVersionRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this CompareBusinessVersionRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this CompareBusinessVersionRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/compare_business_version_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/compare_business_version_response.py index cfb9d75f94..98043cf399 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/compare_business_version_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/compare_business_version_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[object] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this CompareBusinessVersionResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this CompareBusinessVersionResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this CompareBusinessVersionResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this CompareBusinessVersionResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this CompareBusinessVersionResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this CompareBusinessVersionResponse. :rtype: list[object] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this CompareBusinessVersionResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this CompareBusinessVersionResponse. :type data: list[object] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this CompareBusinessVersionResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this CompareBusinessVersionResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this CompareBusinessVersionResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this CompareBusinessVersionResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/compare_version_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/compare_version_request.py index c2a37c33ec..bbd59ea0ee 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/compare_version_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/compare_version_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the CompareVersionRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOCompareVersionVO` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this CompareVersionRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this CompareVersionRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this CompareVersionRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this CompareVersionRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this CompareVersionRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this CompareVersionRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this CompareVersionRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this CompareVersionRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/compare_version_resp_vo.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/compare_version_resp_vo.py index c9d354f4b5..55b37f3caa 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/compare_version_resp_vo.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/compare_version_resp_vo.py @@ -31,9 +31,9 @@ def __init__(self, basic_version=None, correlation_version=None): The model defined in huaweicloud sdk - :param basic_version: 基础版本对象。 + :param basic_version: **参数解释:** 基础版本对象。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type basic_version: object - :param correlation_version: 当前版本对象。 + :param correlation_version: **参数解释:** 当前版本对象。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type correlation_version: object """ @@ -52,7 +52,7 @@ def __init__(self, basic_version=None, correlation_version=None): def basic_version(self): """Gets the basic_version of this CompareVersionRespVo. - 基础版本对象。 + **参数解释:** 基础版本对象。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The basic_version of this CompareVersionRespVo. :rtype: object @@ -63,7 +63,7 @@ def basic_version(self): def basic_version(self, basic_version): """Sets the basic_version of this CompareVersionRespVo. - 基础版本对象。 + **参数解释:** 基础版本对象。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param basic_version: The basic_version of this CompareVersionRespVo. :type basic_version: object @@ -74,7 +74,7 @@ def basic_version(self, basic_version): def correlation_version(self): """Gets the correlation_version of this CompareVersionRespVo. - 当前版本对象。 + **参数解释:** 当前版本对象。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The correlation_version of this CompareVersionRespVo. :rtype: object @@ -85,7 +85,7 @@ def correlation_version(self): def correlation_version(self, correlation_version): """Sets the correlation_version of this CompareVersionRespVo. - 当前版本对象。 + **参数解释:** 当前版本对象。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param correlation_version: The correlation_version of this CompareVersionRespVo. :type correlation_version: object diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/compare_version_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/compare_version_response.py index 48efad8725..f6e950d4e5 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/compare_version_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/compare_version_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.CompareVersionRespVo`] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this CompareVersionResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this CompareVersionResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this CompareVersionResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this CompareVersionResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this CompareVersionResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this CompareVersionResponse. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.CompareVersionRespVo`] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this CompareVersionResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this CompareVersionResponse. :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.CompareVersionRespVo`] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this CompareVersionResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this CompareVersionResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this CompareVersionResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this CompareVersionResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/compare_version_vo.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/compare_version_vo.py index 1a9dd3b32d..3c392c4248 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/compare_version_vo.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/compare_version_vo.py @@ -33,11 +33,11 @@ def __init__(self, basic_version=None, correlation_version=None, id=None): The model defined in huaweicloud sdk - :param basic_version: 基础版本号。 + :param basic_version: **参数解释:** 基础版本号。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type basic_version: str - :param correlation_version: 对比版本号。 + :param correlation_version: **参数解释:** 对比版本号。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type correlation_version: str - :param id: 实例ID。 + :param id: **参数解释:** 实例ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type id: str """ @@ -56,7 +56,7 @@ def __init__(self, basic_version=None, correlation_version=None, id=None): def basic_version(self): """Gets the basic_version of this CompareVersionVO. - 基础版本号。 + **参数解释:** 基础版本号。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The basic_version of this CompareVersionVO. :rtype: str @@ -67,7 +67,7 @@ def basic_version(self): def basic_version(self, basic_version): """Sets the basic_version of this CompareVersionVO. - 基础版本号。 + **参数解释:** 基础版本号。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param basic_version: The basic_version of this CompareVersionVO. :type basic_version: str @@ -78,7 +78,7 @@ def basic_version(self, basic_version): def correlation_version(self): """Gets the correlation_version of this CompareVersionVO. - 对比版本号。 + **参数解释:** 对比版本号。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The correlation_version of this CompareVersionVO. :rtype: str @@ -89,7 +89,7 @@ def correlation_version(self): def correlation_version(self, correlation_version): """Sets the correlation_version of this CompareVersionVO. - 对比版本号。 + **参数解释:** 对比版本号。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param correlation_version: The correlation_version of this CompareVersionVO. :type correlation_version: str @@ -100,7 +100,7 @@ def correlation_version(self, correlation_version): def id(self): """Gets the id of this CompareVersionVO. - 实例ID。 + **参数解释:** 实例ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The id of this CompareVersionVO. :rtype: str @@ -111,7 +111,7 @@ def id(self): def id(self, id): """Sets the id of this CompareVersionVO. - 实例ID。 + **参数解释:** 实例ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param id: The id of this CompareVersionVO. :type id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/count_using_post_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/count_using_post_request.py index afbb40b179..a80f530fdb 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/count_using_post_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/count_using_post_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the CountUsingPostRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOQueryRequestCountVo` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this CountUsingPostRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this CountUsingPostRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this CountUsingPostRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this CountUsingPostRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this CountUsingPostRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this CountUsingPostRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this CountUsingPostRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this CountUsingPostRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/count_using_post_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/count_using_post_response.py index 33ab8a1c3f..a3cc1f1716 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/count_using_post_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/count_using_post_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[int] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this CountUsingPostResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this CountUsingPostResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this CountUsingPostResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this CountUsingPostResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this CountUsingPostResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this CountUsingPostResponse. :rtype: list[int] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this CountUsingPostResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this CountUsingPostResponse. :type data: list[int] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this CountUsingPostResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this CountUsingPostResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this CountUsingPostResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this CountUsingPostResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/create_multi_view_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/create_multi_view_response.py index 27786a065c..186f843700 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/create_multi_view_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/create_multi_view_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.MultiViewModelViewDTO`] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this CreateMultiViewResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this CreateMultiViewResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this CreateMultiViewResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this CreateMultiViewResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this CreateMultiViewResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this CreateMultiViewResponse. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.MultiViewModelViewDTO`] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this CreateMultiViewResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this CreateMultiViewResponse. :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.MultiViewModelViewDTO`] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this CreateMultiViewResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this CreateMultiViewResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this CreateMultiViewResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this CreateMultiViewResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/create_using_post_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/create_using_post_request.py index 2a5f45fe60..d8426ac5af 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/create_using_post_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/create_using_post_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the CreateUsingPostRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOPersistableModelCreateDTO` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this CreateUsingPostRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this CreateUsingPostRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this CreateUsingPostRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this CreateUsingPostRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this CreateUsingPostRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this CreateUsingPostRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this CreateUsingPostRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this CreateUsingPostRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/create_using_post_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/create_using_post_response.py index 7ad3e93514..a0bbc4c89a 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/create_using_post_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/create_using_post_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.PersistableModelViewDTO`] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this CreateUsingPostResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this CreateUsingPostResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this CreateUsingPostResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this CreateUsingPostResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this CreateUsingPostResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this CreateUsingPostResponse. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.PersistableModelViewDTO`] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this CreateUsingPostResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this CreateUsingPostResponse. :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.PersistableModelViewDTO`] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this CreateUsingPostResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this CreateUsingPostResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this CreateUsingPostResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this CreateUsingPostResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/create_view_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/create_view_request.py index 7b92cc66e2..602400f025 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/create_view_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/create_view_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the CreateViewRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOMultiViewModelVersionViewCreateDTO` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this CreateViewRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this CreateViewRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this CreateViewRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this CreateViewRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this CreateViewRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this CreateViewRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this CreateViewRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this CreateViewRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/create_view_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/create_view_response.py index 33ba9ab338..2ad96e1117 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/create_view_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/create_view_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.MultiViewModelViewDTO`] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this CreateViewResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this CreateViewResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this CreateViewResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this CreateViewResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this CreateViewResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this CreateViewResponse. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.MultiViewModelViewDTO`] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this CreateViewResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this CreateViewResponse. :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.MultiViewModelViewDTO`] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this CreateViewResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this CreateViewResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this CreateViewResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this CreateViewResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_branch_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_branch_request.py index ff8a8c34e4..49a6fca80f 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_branch_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_branch_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the DeleteBranchRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOVersionModelVersionMasterModifierDTO` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this DeleteBranchRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this DeleteBranchRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this DeleteBranchRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this DeleteBranchRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this DeleteBranchRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this DeleteBranchRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this DeleteBranchRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this DeleteBranchRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_branch_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_branch_response.py index 0bf76a8881..356037b442 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_branch_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_branch_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[int] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this DeleteBranchResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this DeleteBranchResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this DeleteBranchResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this DeleteBranchResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this DeleteBranchResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this DeleteBranchResponse. :rtype: list[int] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this DeleteBranchResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this DeleteBranchResponse. :type data: list[int] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this DeleteBranchResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this DeleteBranchResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this DeleteBranchResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this DeleteBranchResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_by_condition_multi_view_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_by_condition_multi_view_response.py index c612bf4584..deb28dfe2f 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_by_condition_multi_view_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_by_condition_multi_view_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[int] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this DeleteByConditionMultiViewResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this DeleteByConditionMultiViewResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this DeleteByConditionMultiViewResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this DeleteByConditionMultiViewResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this DeleteByConditionMultiViewResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this DeleteByConditionMultiViewResponse. :rtype: list[int] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this DeleteByConditionMultiViewResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this DeleteByConditionMultiViewResponse. :type data: list[int] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this DeleteByConditionMultiViewResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this DeleteByConditionMultiViewResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this DeleteByConditionMultiViewResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this DeleteByConditionMultiViewResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_by_condition_using_post_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_by_condition_using_post_request.py index c3920af69e..bb33013aa8 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_by_condition_using_post_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_by_condition_using_post_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the DeleteByConditionUsingPostRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVODeleteByConditionVo` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this DeleteByConditionUsingPostRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this DeleteByConditionUsingPostRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this DeleteByConditionUsingPostRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this DeleteByConditionUsingPostRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this DeleteByConditionUsingPostRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this DeleteByConditionUsingPostRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this DeleteByConditionUsingPostRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this DeleteByConditionUsingPostRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_by_condition_using_post_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_by_condition_using_post_response.py index 03ab8df11e..1530d55927 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_by_condition_using_post_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_by_condition_using_post_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求操作数据数量。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[int] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this DeleteByConditionUsingPostResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this DeleteByConditionUsingPostResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this DeleteByConditionUsingPostResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this DeleteByConditionUsingPostResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this DeleteByConditionUsingPostResponse. - 请求数据。 + **参数解释:** 请求操作数据数量。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this DeleteByConditionUsingPostResponse. :rtype: list[int] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this DeleteByConditionUsingPostResponse. - 请求数据。 + **参数解释:** 请求操作数据数量。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this DeleteByConditionUsingPostResponse. :type data: list[int] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this DeleteByConditionUsingPostResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this DeleteByConditionUsingPostResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this DeleteByConditionUsingPostResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this DeleteByConditionUsingPostResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_by_condition_vo.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_by_condition_vo.py index 8e63516e38..739406856c 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_by_condition_vo.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_by_condition_vo.py @@ -33,7 +33,7 @@ def __init__(self, condition=None, modifier=None): :param condition: :type condition: :class:`huaweicloudsdkidmeclassicapi.v1.QueryRequestVo` - :param modifier: 修改人。 + :param modifier: **参数解释:** 修改人。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type modifier: str """ @@ -69,7 +69,7 @@ def condition(self, condition): def modifier(self): """Gets the modifier of this DeleteByConditionVo. - 修改人。 + **参数解释:** 修改人。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The modifier of this DeleteByConditionVo. :rtype: str @@ -80,7 +80,7 @@ def modifier(self): def modifier(self, modifier): """Sets the modifier of this DeleteByConditionVo. - 修改人。 + **参数解释:** 修改人。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param modifier: The modifier of this DeleteByConditionVo. :type modifier: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_latest_version_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_latest_version_request.py index 5cfb9f159b..86986dfa99 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_latest_version_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_latest_version_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the DeleteLatestVersionRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOVersionModelVersionMasterModifierDTO` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this DeleteLatestVersionRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this DeleteLatestVersionRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this DeleteLatestVersionRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this DeleteLatestVersionRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this DeleteLatestVersionRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this DeleteLatestVersionRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this DeleteLatestVersionRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this DeleteLatestVersionRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_latest_version_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_latest_version_response.py index 41828c050f..570dee19cb 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_latest_version_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_latest_version_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[int] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this DeleteLatestVersionResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this DeleteLatestVersionResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this DeleteLatestVersionResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this DeleteLatestVersionResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this DeleteLatestVersionResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this DeleteLatestVersionResponse. :rtype: list[int] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this DeleteLatestVersionResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this DeleteLatestVersionResponse. :type data: list[int] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this DeleteLatestVersionResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this DeleteLatestVersionResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this DeleteLatestVersionResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this DeleteLatestVersionResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_logical_branch_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_logical_branch_request.py index 87ae89b851..d78e0dfc98 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_logical_branch_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_logical_branch_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the DeleteLogicalBranchRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOVersionModelVersionMasterModifierDTO` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this DeleteLogicalBranchRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this DeleteLogicalBranchRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this DeleteLogicalBranchRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this DeleteLogicalBranchRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this DeleteLogicalBranchRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this DeleteLogicalBranchRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this DeleteLogicalBranchRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this DeleteLogicalBranchRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_logical_branch_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_logical_branch_response.py index 1b290894a0..2ccff0a404 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_logical_branch_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_logical_branch_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[int] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this DeleteLogicalBranchResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this DeleteLogicalBranchResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this DeleteLogicalBranchResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this DeleteLogicalBranchResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this DeleteLogicalBranchResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this DeleteLogicalBranchResponse. :rtype: list[int] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this DeleteLogicalBranchResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this DeleteLogicalBranchResponse. :type data: list[int] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this DeleteLogicalBranchResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this DeleteLogicalBranchResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this DeleteLogicalBranchResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this DeleteLogicalBranchResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_logical_latest_version_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_logical_latest_version_request.py index f7c0b1fffa..7a09552c0f 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_logical_latest_version_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_logical_latest_version_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the DeleteLogicalLatestVersionRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOVersionModelVersionMasterModifierDTO` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this DeleteLogicalLatestVersionRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this DeleteLogicalLatestVersionRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this DeleteLogicalLatestVersionRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this DeleteLogicalLatestVersionRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this DeleteLogicalLatestVersionRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this DeleteLogicalLatestVersionRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this DeleteLogicalLatestVersionRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this DeleteLogicalLatestVersionRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_logical_latest_version_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_logical_latest_version_response.py index 84396e52a9..d42915c6a2 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_logical_latest_version_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_logical_latest_version_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[int] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this DeleteLogicalLatestVersionResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this DeleteLogicalLatestVersionResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this DeleteLogicalLatestVersionResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this DeleteLogicalLatestVersionResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this DeleteLogicalLatestVersionResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this DeleteLogicalLatestVersionResponse. :rtype: list[int] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this DeleteLogicalLatestVersionResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this DeleteLogicalLatestVersionResponse. :type data: list[int] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this DeleteLogicalLatestVersionResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this DeleteLogicalLatestVersionResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this DeleteLogicalLatestVersionResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this DeleteLogicalLatestVersionResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_target_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_target_request.py index e0e7970329..befab5bc7b 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_target_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_target_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the DeleteTargetRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOGenericLinkTypeModifierDTO` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this DeleteTargetRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this DeleteTargetRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this DeleteTargetRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this DeleteTargetRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this DeleteTargetRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this DeleteTargetRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this DeleteTargetRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this DeleteTargetRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_target_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_target_response.py index fdfc5d4795..85f6bd4b1c 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_target_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_target_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[int] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this DeleteTargetResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this DeleteTargetResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this DeleteTargetResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this DeleteTargetResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this DeleteTargetResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this DeleteTargetResponse. :rtype: list[int] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this DeleteTargetResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this DeleteTargetResponse. :type data: list[int] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this DeleteTargetResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this DeleteTargetResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this DeleteTargetResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this DeleteTargetResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_using_post_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_using_post_request.py index 4e575e6e4e..a617269439 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_using_post_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_using_post_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the DeleteUsingPostRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOPersistObjectIdModifierDTO` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this DeleteUsingPostRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this DeleteUsingPostRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this DeleteUsingPostRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this DeleteUsingPostRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this DeleteUsingPostRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this DeleteUsingPostRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this DeleteUsingPostRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this DeleteUsingPostRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_using_post_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_using_post_response.py index 823a31b6fb..f577e499a2 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_using_post_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/delete_using_post_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求操作数据数量。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[int] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this DeleteUsingPostResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this DeleteUsingPostResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this DeleteUsingPostResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this DeleteUsingPostResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this DeleteUsingPostResponse. - 请求数据。 + **参数解释:** 请求操作数据数量。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this DeleteUsingPostResponse. :rtype: list[int] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this DeleteUsingPostResponse. - 请求数据。 + **参数解释:** 请求操作数据数量。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this DeleteUsingPostResponse. :type data: list[int] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this DeleteUsingPostResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this DeleteUsingPostResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this DeleteUsingPostResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this DeleteUsingPostResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/disable_data_instance_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/disable_data_instance_request.py index 3fb65b32fa..fea17d221a 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/disable_data_instance_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/disable_data_instance_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the DisableDataInstanceRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOPersistObjectIdsModifierDTO` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this DisableDataInstanceRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this DisableDataInstanceRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this DisableDataInstanceRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this DisableDataInstanceRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this DisableDataInstanceRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this DisableDataInstanceRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this DisableDataInstanceRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this DisableDataInstanceRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/disable_data_instance_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/disable_data_instance_response.py index dce3e5faea..96fdc76c8f 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/disable_data_instance_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/disable_data_instance_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[int] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this DisableDataInstanceResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this DisableDataInstanceResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this DisableDataInstanceResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this DisableDataInstanceResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this DisableDataInstanceResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this DisableDataInstanceResponse. :rtype: list[int] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this DisableDataInstanceResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this DisableDataInstanceResponse. :type data: list[int] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this DisableDataInstanceResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this DisableDataInstanceResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this DisableDataInstanceResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this DisableDataInstanceResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/enable_data_instance_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/enable_data_instance_request.py index d3fe223c87..604bfdc841 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/enable_data_instance_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/enable_data_instance_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the EnableDataInstanceRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOPersistObjectIdsModifierDTO` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this EnableDataInstanceRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this EnableDataInstanceRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this EnableDataInstanceRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this EnableDataInstanceRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this EnableDataInstanceRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this EnableDataInstanceRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this EnableDataInstanceRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this EnableDataInstanceRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/enable_data_instance_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/enable_data_instance_response.py index f34e354208..c7c72060fe 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/enable_data_instance_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/enable_data_instance_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[int] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this EnableDataInstanceResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this EnableDataInstanceResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this EnableDataInstanceResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this EnableDataInstanceResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this EnableDataInstanceResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this EnableDataInstanceResponse. :rtype: list[int] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this EnableDataInstanceResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this EnableDataInstanceResponse. :type data: list[int] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this EnableDataInstanceResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this EnableDataInstanceResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this EnableDataInstanceResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this EnableDataInstanceResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/exa_value_view_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/exa_value_view_dto.py index 52925fcc65..52c45fe611 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/exa_value_view_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/exa_value_view_dto.py @@ -53,31 +53,31 @@ def __init__(self, class_name=None, create_time=None, creator=None, id=None, las The model defined in huaweicloud sdk - :param class_name: 类名。 + :param class_name: **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type class_name: str - :param create_time: 创建时间。 + :param create_time: **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type create_time: str - :param creator: 创建者。 + :param creator: **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type creator: str - :param id: 唯一标识。 + :param id: **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type id: str - :param last_update_time: 最后更新时间。 + :param last_update_time: **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type last_update_time: str - :param modifier: 修改人。 + :param modifier: **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type modifier: str - :param name: 中文名称。 + :param name: **参数解释:** 中文名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type name: str - :param rdm_delete_flag: 软删除标识,参数值为0或1。 - 0:表示未删除。 - 1:表示已删除。 + :param rdm_delete_flag: **参数解释:** 软删除标识。 **取值范围:** - 0:表示未删除。 - 1:表示已删除。 **默认取值:** 0。 :type rdm_delete_flag: int - :param rdm_extension_type: 扩展类型。 + :param rdm_extension_type: **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type rdm_extension_type: str - :param rdm_version: 系统版本。 + :param rdm_version: **参数解释:** 系统版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type rdm_version: int :param tenant: :type tenant: :class:`huaweicloudsdkidmeclassicapi.v1.TenantViewDTO` - :param type: 类型。 + :param type: **参数解释:** 类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type type: str - :param value: 值。 + :param value: **参数解释:** 值。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type value: object """ @@ -129,7 +129,7 @@ def __init__(self, class_name=None, create_time=None, creator=None, id=None, las def class_name(self): """Gets the class_name of this EXAValueViewDTO. - 类名。 + **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The class_name of this EXAValueViewDTO. :rtype: str @@ -140,7 +140,7 @@ def class_name(self): def class_name(self, class_name): """Sets the class_name of this EXAValueViewDTO. - 类名。 + **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param class_name: The class_name of this EXAValueViewDTO. :type class_name: str @@ -151,7 +151,7 @@ def class_name(self, class_name): def create_time(self): """Gets the create_time of this EXAValueViewDTO. - 创建时间。 + **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The create_time of this EXAValueViewDTO. :rtype: str @@ -162,7 +162,7 @@ def create_time(self): def create_time(self, create_time): """Sets the create_time of this EXAValueViewDTO. - 创建时间。 + **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param create_time: The create_time of this EXAValueViewDTO. :type create_time: str @@ -173,7 +173,7 @@ def create_time(self, create_time): def creator(self): """Gets the creator of this EXAValueViewDTO. - 创建者。 + **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The creator of this EXAValueViewDTO. :rtype: str @@ -184,7 +184,7 @@ def creator(self): def creator(self, creator): """Sets the creator of this EXAValueViewDTO. - 创建者。 + **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param creator: The creator of this EXAValueViewDTO. :type creator: str @@ -195,7 +195,7 @@ def creator(self, creator): def id(self): """Gets the id of this EXAValueViewDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The id of this EXAValueViewDTO. :rtype: str @@ -206,7 +206,7 @@ def id(self): def id(self, id): """Sets the id of this EXAValueViewDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param id: The id of this EXAValueViewDTO. :type id: str @@ -217,7 +217,7 @@ def id(self, id): def last_update_time(self): """Gets the last_update_time of this EXAValueViewDTO. - 最后更新时间。 + **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The last_update_time of this EXAValueViewDTO. :rtype: str @@ -228,7 +228,7 @@ def last_update_time(self): def last_update_time(self, last_update_time): """Sets the last_update_time of this EXAValueViewDTO. - 最后更新时间。 + **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param last_update_time: The last_update_time of this EXAValueViewDTO. :type last_update_time: str @@ -239,7 +239,7 @@ def last_update_time(self, last_update_time): def modifier(self): """Gets the modifier of this EXAValueViewDTO. - 修改人。 + **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The modifier of this EXAValueViewDTO. :rtype: str @@ -250,7 +250,7 @@ def modifier(self): def modifier(self, modifier): """Sets the modifier of this EXAValueViewDTO. - 修改人。 + **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param modifier: The modifier of this EXAValueViewDTO. :type modifier: str @@ -261,7 +261,7 @@ def modifier(self, modifier): def name(self): """Gets the name of this EXAValueViewDTO. - 中文名称。 + **参数解释:** 中文名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The name of this EXAValueViewDTO. :rtype: str @@ -272,7 +272,7 @@ def name(self): def name(self, name): """Sets the name of this EXAValueViewDTO. - 中文名称。 + **参数解释:** 中文名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param name: The name of this EXAValueViewDTO. :type name: str @@ -283,7 +283,7 @@ def name(self, name): def rdm_delete_flag(self): """Gets the rdm_delete_flag of this EXAValueViewDTO. - 软删除标识,参数值为0或1。 - 0:表示未删除。 - 1:表示已删除。 + **参数解释:** 软删除标识。 **取值范围:** - 0:表示未删除。 - 1:表示已删除。 **默认取值:** 0。 :return: The rdm_delete_flag of this EXAValueViewDTO. :rtype: int @@ -294,7 +294,7 @@ def rdm_delete_flag(self): def rdm_delete_flag(self, rdm_delete_flag): """Sets the rdm_delete_flag of this EXAValueViewDTO. - 软删除标识,参数值为0或1。 - 0:表示未删除。 - 1:表示已删除。 + **参数解释:** 软删除标识。 **取值范围:** - 0:表示未删除。 - 1:表示已删除。 **默认取值:** 0。 :param rdm_delete_flag: The rdm_delete_flag of this EXAValueViewDTO. :type rdm_delete_flag: int @@ -305,7 +305,7 @@ def rdm_delete_flag(self, rdm_delete_flag): def rdm_extension_type(self): """Gets the rdm_extension_type of this EXAValueViewDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The rdm_extension_type of this EXAValueViewDTO. :rtype: str @@ -316,7 +316,7 @@ def rdm_extension_type(self): def rdm_extension_type(self, rdm_extension_type): """Sets the rdm_extension_type of this EXAValueViewDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param rdm_extension_type: The rdm_extension_type of this EXAValueViewDTO. :type rdm_extension_type: str @@ -327,7 +327,7 @@ def rdm_extension_type(self, rdm_extension_type): def rdm_version(self): """Gets the rdm_version of this EXAValueViewDTO. - 系统版本。 + **参数解释:** 系统版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The rdm_version of this EXAValueViewDTO. :rtype: int @@ -338,7 +338,7 @@ def rdm_version(self): def rdm_version(self, rdm_version): """Sets the rdm_version of this EXAValueViewDTO. - 系统版本。 + **参数解释:** 系统版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param rdm_version: The rdm_version of this EXAValueViewDTO. :type rdm_version: int @@ -367,7 +367,7 @@ def tenant(self, tenant): def type(self): """Gets the type of this EXAValueViewDTO. - 类型。 + **参数解释:** 类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The type of this EXAValueViewDTO. :rtype: str @@ -378,7 +378,7 @@ def type(self): def type(self, type): """Sets the type of this EXAValueViewDTO. - 类型。 + **参数解释:** 类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param type: The type of this EXAValueViewDTO. :type type: str @@ -389,7 +389,7 @@ def type(self, type): def value(self): """Gets the value of this EXAValueViewDTO. - 值。 + **参数解释:** 值。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The value of this EXAValueViewDTO. :rtype: object @@ -400,7 +400,7 @@ def value(self): def value(self, value): """Sets the value of this EXAValueViewDTO. - 值。 + **参数解释:** 值。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param value: The value of this EXAValueViewDTO. :type value: object diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/execute_revise_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/execute_revise_request.py index 592990665c..f576214a6a 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/execute_revise_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/execute_revise_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the ExecuteReviseRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOVersionModelVersionReviseDTO` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this ExecuteReviseRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this ExecuteReviseRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this ExecuteReviseRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this ExecuteReviseRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this ExecuteReviseRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this ExecuteReviseRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this ExecuteReviseRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this ExecuteReviseRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/execute_revise_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/execute_revise_response.py index a7541aadba..96410b7a7e 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/execute_revise_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/execute_revise_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this ExecuteReviseResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this ExecuteReviseResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this ExecuteReviseResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this ExecuteReviseResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this ExecuteReviseResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this ExecuteReviseResponse. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this ExecuteReviseResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this ExecuteReviseResponse. :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this ExecuteReviseResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this ExecuteReviseResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this ExecuteReviseResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this ExecuteReviseResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/folder_query_view_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/folder_query_view_dto.py index 663dd4491c..0ba0823ad9 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/folder_query_view_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/folder_query_view_dto.py @@ -61,39 +61,39 @@ def __init__(self, business_code=None, class_name=None, create_time=None, creato The model defined in huaweicloud sdk - :param business_code: 编码。 + :param business_code: **参数解释:** 编码。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type business_code: str - :param class_name: 类名。 + :param class_name: **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type class_name: str - :param create_time: 创建时间。 + :param create_time: **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type create_time: str - :param creator: 创建者。 + :param creator: **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type creator: str - :param description: 中文描述。 + :param description: **参数解释:** 中文描述。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type description: str - :param description_en: 英文描述。 + :param description_en: **参数解释:** 英文描述。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type description_en: str - :param disable_flag: 失效标识。 - true:失效。 - false:未失效。 + :param disable_flag: **参数解释:** 失效标识。 **取值范围:** - true:失效。 - false:未失效。 **默认取值:** false。 :type disable_flag: bool - :param ext_attr_map: 扩展属性映射集。 + :param ext_attr_map: **参数解释:** 扩展属性映射集。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type ext_attr_map: object - :param ext_attrs: 扩展属性列表。 + :param ext_attrs: **参数解释:** 扩展属性列表。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type ext_attrs: list[:class:`huaweicloudsdkidmeclassicapi.v1.EXAValueViewDTO`] - :param id: 唯一标识。 + :param id: **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type id: str - :param last_update_time: 最后更新时间。 + :param last_update_time: **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type last_update_time: str - :param modifier: 修改人。 + :param modifier: **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type modifier: str - :param name: 中文名称。 + :param name: **参数解释:** 中文名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type name: str - :param name_en: 英文名称。 + :param name_en: **参数解释:** 英文名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type name_en: str - :param rdm_extension_type: 扩展类型。 + :param rdm_extension_type: **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type rdm_extension_type: str :param tenant: :type tenant: :class:`huaweicloudsdkidmeclassicapi.v1.TenantQueryViewDTO` - :param type: 类别。 + :param type: **参数解释:** 类别。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type type: str """ @@ -155,7 +155,7 @@ def __init__(self, business_code=None, class_name=None, create_time=None, creato def business_code(self): """Gets the business_code of this FolderQueryViewDTO. - 编码。 + **参数解释:** 编码。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The business_code of this FolderQueryViewDTO. :rtype: str @@ -166,7 +166,7 @@ def business_code(self): def business_code(self, business_code): """Sets the business_code of this FolderQueryViewDTO. - 编码。 + **参数解释:** 编码。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param business_code: The business_code of this FolderQueryViewDTO. :type business_code: str @@ -177,7 +177,7 @@ def business_code(self, business_code): def class_name(self): """Gets the class_name of this FolderQueryViewDTO. - 类名。 + **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The class_name of this FolderQueryViewDTO. :rtype: str @@ -188,7 +188,7 @@ def class_name(self): def class_name(self, class_name): """Sets the class_name of this FolderQueryViewDTO. - 类名。 + **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param class_name: The class_name of this FolderQueryViewDTO. :type class_name: str @@ -199,7 +199,7 @@ def class_name(self, class_name): def create_time(self): """Gets the create_time of this FolderQueryViewDTO. - 创建时间。 + **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The create_time of this FolderQueryViewDTO. :rtype: str @@ -210,7 +210,7 @@ def create_time(self): def create_time(self, create_time): """Sets the create_time of this FolderQueryViewDTO. - 创建时间。 + **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param create_time: The create_time of this FolderQueryViewDTO. :type create_time: str @@ -221,7 +221,7 @@ def create_time(self, create_time): def creator(self): """Gets the creator of this FolderQueryViewDTO. - 创建者。 + **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The creator of this FolderQueryViewDTO. :rtype: str @@ -232,7 +232,7 @@ def creator(self): def creator(self, creator): """Sets the creator of this FolderQueryViewDTO. - 创建者。 + **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param creator: The creator of this FolderQueryViewDTO. :type creator: str @@ -243,7 +243,7 @@ def creator(self, creator): def description(self): """Gets the description of this FolderQueryViewDTO. - 中文描述。 + **参数解释:** 中文描述。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The description of this FolderQueryViewDTO. :rtype: str @@ -254,7 +254,7 @@ def description(self): def description(self, description): """Sets the description of this FolderQueryViewDTO. - 中文描述。 + **参数解释:** 中文描述。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param description: The description of this FolderQueryViewDTO. :type description: str @@ -265,7 +265,7 @@ def description(self, description): def description_en(self): """Gets the description_en of this FolderQueryViewDTO. - 英文描述。 + **参数解释:** 英文描述。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The description_en of this FolderQueryViewDTO. :rtype: str @@ -276,7 +276,7 @@ def description_en(self): def description_en(self, description_en): """Sets the description_en of this FolderQueryViewDTO. - 英文描述。 + **参数解释:** 英文描述。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param description_en: The description_en of this FolderQueryViewDTO. :type description_en: str @@ -287,7 +287,7 @@ def description_en(self, description_en): def disable_flag(self): """Gets the disable_flag of this FolderQueryViewDTO. - 失效标识。 - true:失效。 - false:未失效。 + **参数解释:** 失效标识。 **取值范围:** - true:失效。 - false:未失效。 **默认取值:** false。 :return: The disable_flag of this FolderQueryViewDTO. :rtype: bool @@ -298,7 +298,7 @@ def disable_flag(self): def disable_flag(self, disable_flag): """Sets the disable_flag of this FolderQueryViewDTO. - 失效标识。 - true:失效。 - false:未失效。 + **参数解释:** 失效标识。 **取值范围:** - true:失效。 - false:未失效。 **默认取值:** false。 :param disable_flag: The disable_flag of this FolderQueryViewDTO. :type disable_flag: bool @@ -309,7 +309,7 @@ def disable_flag(self, disable_flag): def ext_attr_map(self): """Gets the ext_attr_map of this FolderQueryViewDTO. - 扩展属性映射集。 + **参数解释:** 扩展属性映射集。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The ext_attr_map of this FolderQueryViewDTO. :rtype: object @@ -320,7 +320,7 @@ def ext_attr_map(self): def ext_attr_map(self, ext_attr_map): """Sets the ext_attr_map of this FolderQueryViewDTO. - 扩展属性映射集。 + **参数解释:** 扩展属性映射集。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param ext_attr_map: The ext_attr_map of this FolderQueryViewDTO. :type ext_attr_map: object @@ -331,7 +331,7 @@ def ext_attr_map(self, ext_attr_map): def ext_attrs(self): """Gets the ext_attrs of this FolderQueryViewDTO. - 扩展属性列表。 + **参数解释:** 扩展属性列表。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The ext_attrs of this FolderQueryViewDTO. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.EXAValueViewDTO`] @@ -342,7 +342,7 @@ def ext_attrs(self): def ext_attrs(self, ext_attrs): """Sets the ext_attrs of this FolderQueryViewDTO. - 扩展属性列表。 + **参数解释:** 扩展属性列表。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param ext_attrs: The ext_attrs of this FolderQueryViewDTO. :type ext_attrs: list[:class:`huaweicloudsdkidmeclassicapi.v1.EXAValueViewDTO`] @@ -353,7 +353,7 @@ def ext_attrs(self, ext_attrs): def id(self): """Gets the id of this FolderQueryViewDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The id of this FolderQueryViewDTO. :rtype: str @@ -364,7 +364,7 @@ def id(self): def id(self, id): """Sets the id of this FolderQueryViewDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param id: The id of this FolderQueryViewDTO. :type id: str @@ -375,7 +375,7 @@ def id(self, id): def last_update_time(self): """Gets the last_update_time of this FolderQueryViewDTO. - 最后更新时间。 + **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The last_update_time of this FolderQueryViewDTO. :rtype: str @@ -386,7 +386,7 @@ def last_update_time(self): def last_update_time(self, last_update_time): """Sets the last_update_time of this FolderQueryViewDTO. - 最后更新时间。 + **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param last_update_time: The last_update_time of this FolderQueryViewDTO. :type last_update_time: str @@ -397,7 +397,7 @@ def last_update_time(self, last_update_time): def modifier(self): """Gets the modifier of this FolderQueryViewDTO. - 修改人。 + **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The modifier of this FolderQueryViewDTO. :rtype: str @@ -408,7 +408,7 @@ def modifier(self): def modifier(self, modifier): """Sets the modifier of this FolderQueryViewDTO. - 修改人。 + **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param modifier: The modifier of this FolderQueryViewDTO. :type modifier: str @@ -419,7 +419,7 @@ def modifier(self, modifier): def name(self): """Gets the name of this FolderQueryViewDTO. - 中文名称。 + **参数解释:** 中文名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The name of this FolderQueryViewDTO. :rtype: str @@ -430,7 +430,7 @@ def name(self): def name(self, name): """Sets the name of this FolderQueryViewDTO. - 中文名称。 + **参数解释:** 中文名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param name: The name of this FolderQueryViewDTO. :type name: str @@ -441,7 +441,7 @@ def name(self, name): def name_en(self): """Gets the name_en of this FolderQueryViewDTO. - 英文名称。 + **参数解释:** 英文名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The name_en of this FolderQueryViewDTO. :rtype: str @@ -452,7 +452,7 @@ def name_en(self): def name_en(self, name_en): """Sets the name_en of this FolderQueryViewDTO. - 英文名称。 + **参数解释:** 英文名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param name_en: The name_en of this FolderQueryViewDTO. :type name_en: str @@ -463,7 +463,7 @@ def name_en(self, name_en): def rdm_extension_type(self): """Gets the rdm_extension_type of this FolderQueryViewDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The rdm_extension_type of this FolderQueryViewDTO. :rtype: str @@ -474,7 +474,7 @@ def rdm_extension_type(self): def rdm_extension_type(self, rdm_extension_type): """Sets the rdm_extension_type of this FolderQueryViewDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param rdm_extension_type: The rdm_extension_type of this FolderQueryViewDTO. :type rdm_extension_type: str @@ -503,7 +503,7 @@ def tenant(self, tenant): def type(self): """Gets the type of this FolderQueryViewDTO. - 类别。 + **参数解释:** 类别。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The type of this FolderQueryViewDTO. :rtype: str @@ -514,7 +514,7 @@ def type(self): def type(self, type): """Sets the type of this FolderQueryViewDTO. - 类别。 + **参数解释:** 类别。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param type: The type of this FolderQueryViewDTO. :type type: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/func_info.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/func_info.py index 68e2fa54f0..e9011ee745 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/func_info.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/func_info.py @@ -31,9 +31,9 @@ def __init__(self, func=None, func_by=None): The model defined in huaweicloud sdk - :param func: 指定简单函数名称。 - AVG:求平均值。 - COUNT:求总数。 - MAX:求最大值。 - MIX:求最小值。 + :param func: **参数解释:** 指定简单函数名称。 **约束限制:** 不涉及。 **取值范围:** - AVG:求平均值。 - COUNT:求总数。 - MAX:求最大值。 - MIX:求最小值。 **默认取值:** 不涉及。 :type func: str - :param func_by: 指定简单函数以哪个属性为维度操作。 + :param func_by: **参数解释:** 指定简单函数以哪个属性为维度操作。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type func_by: str """ @@ -50,7 +50,7 @@ def __init__(self, func=None, func_by=None): def func(self): """Gets the func of this FuncInfo. - 指定简单函数名称。 - AVG:求平均值。 - COUNT:求总数。 - MAX:求最大值。 - MIX:求最小值。 + **参数解释:** 指定简单函数名称。 **约束限制:** 不涉及。 **取值范围:** - AVG:求平均值。 - COUNT:求总数。 - MAX:求最大值。 - MIX:求最小值。 **默认取值:** 不涉及。 :return: The func of this FuncInfo. :rtype: str @@ -61,7 +61,7 @@ def func(self): def func(self, func): """Sets the func of this FuncInfo. - 指定简单函数名称。 - AVG:求平均值。 - COUNT:求总数。 - MAX:求最大值。 - MIX:求最小值。 + **参数解释:** 指定简单函数名称。 **约束限制:** 不涉及。 **取值范围:** - AVG:求平均值。 - COUNT:求总数。 - MAX:求最大值。 - MIX:求最小值。 **默认取值:** 不涉及。 :param func: The func of this FuncInfo. :type func: str @@ -72,7 +72,7 @@ def func(self, func): def func_by(self): """Gets the func_by of this FuncInfo. - 指定简单函数以哪个属性为维度操作。 + **参数解释:** 指定简单函数以哪个属性为维度操作。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The func_by of this FuncInfo. :rtype: str @@ -83,7 +83,7 @@ def func_by(self): def func_by(self, func_by): """Sets the func_by of this FuncInfo. - 指定简单函数以哪个属性为维度操作。 + **参数解释:** 指定简单函数以哪个属性为维度操作。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param func_by: The func_by of this FuncInfo. :type func_by: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/generate_business_code_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/generate_business_code_request.py index 33763ad34b..a4c070a83a 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/generate_business_code_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/generate_business_code_request.py @@ -31,9 +31,9 @@ def __init__(self, identifier=None, model_name=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str """ @@ -50,7 +50,7 @@ def __init__(self, identifier=None, model_name=None): def identifier(self): """Gets the identifier of this GenerateBusinessCodeRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this GenerateBusinessCodeRequest. :rtype: str @@ -61,7 +61,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this GenerateBusinessCodeRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this GenerateBusinessCodeRequest. :type identifier: str @@ -72,7 +72,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this GenerateBusinessCodeRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this GenerateBusinessCodeRequest. :rtype: str @@ -83,7 +83,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this GenerateBusinessCodeRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this GenerateBusinessCodeRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/generate_business_code_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/generate_business_code_response.py index 5b090bb12f..313a47c576 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/generate_business_code_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/generate_business_code_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.BusinessCodeVo`] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this GenerateBusinessCodeResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this GenerateBusinessCodeResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this GenerateBusinessCodeResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this GenerateBusinessCodeResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this GenerateBusinessCodeResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this GenerateBusinessCodeResponse. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.BusinessCodeVo`] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this GenerateBusinessCodeResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this GenerateBusinessCodeResponse. :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.BusinessCodeVo`] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this GenerateBusinessCodeResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this GenerateBusinessCodeResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this GenerateBusinessCodeResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this GenerateBusinessCodeResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/generic_link_batch_query_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/generic_link_batch_query_dto.py index 042058cd90..38b4d43450 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/generic_link_batch_query_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/generic_link_batch_query_dto.py @@ -33,11 +33,11 @@ def __init__(self, latest_only=None, object_ids=None, role=None): The model defined in huaweicloud sdk - :param latest_only: 是否返回源模型数据实例关联的最新版本目标模型数据实例。此参数仅对源/目标模型为M-V模型实体有效。 - true:返回源模型数据实例关联的最新版本的目标模型数据实例。 - false:返回源模型数据实例关联的所有版本的目标模型数据实例。默认为false。 + :param latest_only: **参数解释:** 是否返回源模型数据实例关联的最新版本目标模型数据实例。此参数仅对源/目标模型为M-V模型实体有效。 **约束限制:** 不涉及。 **取值范围:** - true:返回源模型数据实例关联的最新版本的目标模型数据实例。 - false:返回源模型数据实例关联的所有版本的目标模型数据实例。 **默认取值:** false。 :type latest_only: bool - :param object_ids: 角色对应的数据实例ID列表。 + :param object_ids: **参数解释:** 角色对应的数据实例ID列表。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type object_ids: list[str] - :param role: 角色。 - TARGET:目标模型。 - SOURCE:源模型。 + :param role: **参数解释:** 角色。 **约束限制:** 不涉及。 **取值范围:** - TARGET:目标模型。 - SOURCE:源模型。 **默认取值:** 不涉及。 :type role: str """ @@ -59,7 +59,7 @@ def __init__(self, latest_only=None, object_ids=None, role=None): def latest_only(self): """Gets the latest_only of this GenericLinkBatchQueryDTO. - 是否返回源模型数据实例关联的最新版本目标模型数据实例。此参数仅对源/目标模型为M-V模型实体有效。 - true:返回源模型数据实例关联的最新版本的目标模型数据实例。 - false:返回源模型数据实例关联的所有版本的目标模型数据实例。默认为false。 + **参数解释:** 是否返回源模型数据实例关联的最新版本目标模型数据实例。此参数仅对源/目标模型为M-V模型实体有效。 **约束限制:** 不涉及。 **取值范围:** - true:返回源模型数据实例关联的最新版本的目标模型数据实例。 - false:返回源模型数据实例关联的所有版本的目标模型数据实例。 **默认取值:** false。 :return: The latest_only of this GenericLinkBatchQueryDTO. :rtype: bool @@ -70,7 +70,7 @@ def latest_only(self): def latest_only(self, latest_only): """Sets the latest_only of this GenericLinkBatchQueryDTO. - 是否返回源模型数据实例关联的最新版本目标模型数据实例。此参数仅对源/目标模型为M-V模型实体有效。 - true:返回源模型数据实例关联的最新版本的目标模型数据实例。 - false:返回源模型数据实例关联的所有版本的目标模型数据实例。默认为false。 + **参数解释:** 是否返回源模型数据实例关联的最新版本目标模型数据实例。此参数仅对源/目标模型为M-V模型实体有效。 **约束限制:** 不涉及。 **取值范围:** - true:返回源模型数据实例关联的最新版本的目标模型数据实例。 - false:返回源模型数据实例关联的所有版本的目标模型数据实例。 **默认取值:** false。 :param latest_only: The latest_only of this GenericLinkBatchQueryDTO. :type latest_only: bool @@ -81,7 +81,7 @@ def latest_only(self, latest_only): def object_ids(self): """Gets the object_ids of this GenericLinkBatchQueryDTO. - 角色对应的数据实例ID列表。 + **参数解释:** 角色对应的数据实例ID列表。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The object_ids of this GenericLinkBatchQueryDTO. :rtype: list[str] @@ -92,7 +92,7 @@ def object_ids(self): def object_ids(self, object_ids): """Sets the object_ids of this GenericLinkBatchQueryDTO. - 角色对应的数据实例ID列表。 + **参数解释:** 角色对应的数据实例ID列表。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param object_ids: The object_ids of this GenericLinkBatchQueryDTO. :type object_ids: list[str] @@ -103,7 +103,7 @@ def object_ids(self, object_ids): def role(self): """Gets the role of this GenericLinkBatchQueryDTO. - 角色。 - TARGET:目标模型。 - SOURCE:源模型。 + **参数解释:** 角色。 **约束限制:** 不涉及。 **取值范围:** - TARGET:目标模型。 - SOURCE:源模型。 **默认取值:** 不涉及。 :return: The role of this GenericLinkBatchQueryDTO. :rtype: str @@ -114,7 +114,7 @@ def role(self): def role(self, role): """Sets the role of this GenericLinkBatchQueryDTO. - 角色。 - TARGET:目标模型。 - SOURCE:源模型。 + **参数解释:** 角色。 **约束限制:** 不涉及。 **取值范围:** - TARGET:目标模型。 - SOURCE:源模型。 **默认取值:** 不涉及。 :param role: The role of this GenericLinkBatchQueryDTO. :type role: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/generic_link_query_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/generic_link_query_dto.py index 21d8af3d68..e612de2689 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/generic_link_query_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/generic_link_query_dto.py @@ -35,13 +35,13 @@ def __init__(self, is_need_total=None, latest_only=None, object_id=None, role=No The model defined in huaweicloud sdk - :param is_need_total: 是否需要查询总记录数。 - true:需要。 - false:不需要。 + :param is_need_total: **参数解释:** 是否需要查询总记录数。 **约束限制:** 不涉及。 **取值范围:** - true:需要。 - false:不需要。 **默认取值:** false。 :type is_need_total: bool - :param latest_only: 是否返回源模型数据实例关联的最新版本目标模型数据实例。此参数仅对源/目标模型为M-V模型实体有效。 - true:返回源模型数据实例关联的最新版本的目标模型数据实例。 - false:返回源模型数据实例关联的所有版本的目标模型数据实例。默认为false。 + :param latest_only: **参数解释:** 是否返回源模型数据实例关联的最新版本目标模型数据实例。此参数仅对源/目标模型为M-V模型实体有效。 **约束限制:** 不涉及。 **取值范围:** - true:返回源模型数据实例关联的最新版本的目标模型数据实例。 - false:返回源模型数据实例关联的所有版本的目标模型数据实例。默认为false。 **默认取值:** false。 :type latest_only: bool - :param object_id: 角色对应数据实例ID。 + :param object_id: **参数解释:** 角色对应数据实例ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type object_id: str - :param role: 角色。 - TARGET:目标模型。 - SOURCE:源模型。 + :param role: **参数解释:** 角色。 **约束限制:** 不涉及。 **取值范围:** - TARGET:目标模型。 - SOURCE:源模型。 **默认取值:** 不涉及。 :type role: str """ @@ -66,7 +66,7 @@ def __init__(self, is_need_total=None, latest_only=None, object_id=None, role=No def is_need_total(self): """Gets the is_need_total of this GenericLinkQueryDTO. - 是否需要查询总记录数。 - true:需要。 - false:不需要。 + **参数解释:** 是否需要查询总记录数。 **约束限制:** 不涉及。 **取值范围:** - true:需要。 - false:不需要。 **默认取值:** false。 :return: The is_need_total of this GenericLinkQueryDTO. :rtype: bool @@ -77,7 +77,7 @@ def is_need_total(self): def is_need_total(self, is_need_total): """Sets the is_need_total of this GenericLinkQueryDTO. - 是否需要查询总记录数。 - true:需要。 - false:不需要。 + **参数解释:** 是否需要查询总记录数。 **约束限制:** 不涉及。 **取值范围:** - true:需要。 - false:不需要。 **默认取值:** false。 :param is_need_total: The is_need_total of this GenericLinkQueryDTO. :type is_need_total: bool @@ -88,7 +88,7 @@ def is_need_total(self, is_need_total): def latest_only(self): """Gets the latest_only of this GenericLinkQueryDTO. - 是否返回源模型数据实例关联的最新版本目标模型数据实例。此参数仅对源/目标模型为M-V模型实体有效。 - true:返回源模型数据实例关联的最新版本的目标模型数据实例。 - false:返回源模型数据实例关联的所有版本的目标模型数据实例。默认为false。 + **参数解释:** 是否返回源模型数据实例关联的最新版本目标模型数据实例。此参数仅对源/目标模型为M-V模型实体有效。 **约束限制:** 不涉及。 **取值范围:** - true:返回源模型数据实例关联的最新版本的目标模型数据实例。 - false:返回源模型数据实例关联的所有版本的目标模型数据实例。默认为false。 **默认取值:** false。 :return: The latest_only of this GenericLinkQueryDTO. :rtype: bool @@ -99,7 +99,7 @@ def latest_only(self): def latest_only(self, latest_only): """Sets the latest_only of this GenericLinkQueryDTO. - 是否返回源模型数据实例关联的最新版本目标模型数据实例。此参数仅对源/目标模型为M-V模型实体有效。 - true:返回源模型数据实例关联的最新版本的目标模型数据实例。 - false:返回源模型数据实例关联的所有版本的目标模型数据实例。默认为false。 + **参数解释:** 是否返回源模型数据实例关联的最新版本目标模型数据实例。此参数仅对源/目标模型为M-V模型实体有效。 **约束限制:** 不涉及。 **取值范围:** - true:返回源模型数据实例关联的最新版本的目标模型数据实例。 - false:返回源模型数据实例关联的所有版本的目标模型数据实例。默认为false。 **默认取值:** false。 :param latest_only: The latest_only of this GenericLinkQueryDTO. :type latest_only: bool @@ -110,7 +110,7 @@ def latest_only(self, latest_only): def object_id(self): """Gets the object_id of this GenericLinkQueryDTO. - 角色对应数据实例ID。 + **参数解释:** 角色对应数据实例ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The object_id of this GenericLinkQueryDTO. :rtype: str @@ -121,7 +121,7 @@ def object_id(self): def object_id(self, object_id): """Sets the object_id of this GenericLinkQueryDTO. - 角色对应数据实例ID。 + **参数解释:** 角色对应数据实例ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param object_id: The object_id of this GenericLinkQueryDTO. :type object_id: str @@ -132,7 +132,7 @@ def object_id(self, object_id): def role(self): """Gets the role of this GenericLinkQueryDTO. - 角色。 - TARGET:目标模型。 - SOURCE:源模型。 + **参数解释:** 角色。 **约束限制:** 不涉及。 **取值范围:** - TARGET:目标模型。 - SOURCE:源模型。 **默认取值:** 不涉及。 :return: The role of this GenericLinkQueryDTO. :rtype: str @@ -143,7 +143,7 @@ def role(self): def role(self, role): """Sets the role of this GenericLinkQueryDTO. - 角色。 - TARGET:目标模型。 - SOURCE:源模型。 + **参数解释:** 角色。 **约束限制:** 不涉及。 **取值范围:** - TARGET:目标模型。 - SOURCE:源模型。 **默认取值:** 不涉及。 :param role: The role of this GenericLinkQueryDTO. :type role: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/generic_link_type_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/generic_link_type_dto.py index c011ea02ba..709b8cce8a 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/generic_link_type_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/generic_link_type_dto.py @@ -33,11 +33,11 @@ def __init__(self, latest_only=None, source_id=None, target_type=None): The model defined in huaweicloud sdk - :param latest_only: 是否返回源模型数据实例关联的最新版本目标模型数据实例。此参数仅对源/目标模型为M-V模型实体有效。 - true:返回源模型数据实例关联的最新版本的目标模型数据实例。 - false:返回源模型数据实例关联的所有版本的目标模型数据实例。默认为false。 + :param latest_only: **参数解释:** 是否返回源模型数据实例关联的最新版本目标模型数据实例。此参数仅对源/目标模型为M-V模型实体有效。 **约束限制:** 不涉及。 **取值范围:** - true:返回源模型数据实例关联的最新版本的目标模型数据实例。 - false:返回源模型数据实例关联的所有版本的目标模型数据实例。默认为false。 **默认取值:** false。 :type latest_only: bool - :param source_id: 源模型数据实例的ID。 + :param source_id: **参数解释:** 源模型数据实例的ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type source_id: str - :param target_type: 目标模型的英文名称。 + :param target_type: **参数解释:** 目标模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type target_type: str """ @@ -59,7 +59,7 @@ def __init__(self, latest_only=None, source_id=None, target_type=None): def latest_only(self): """Gets the latest_only of this GenericLinkTypeDTO. - 是否返回源模型数据实例关联的最新版本目标模型数据实例。此参数仅对源/目标模型为M-V模型实体有效。 - true:返回源模型数据实例关联的最新版本的目标模型数据实例。 - false:返回源模型数据实例关联的所有版本的目标模型数据实例。默认为false。 + **参数解释:** 是否返回源模型数据实例关联的最新版本目标模型数据实例。此参数仅对源/目标模型为M-V模型实体有效。 **约束限制:** 不涉及。 **取值范围:** - true:返回源模型数据实例关联的最新版本的目标模型数据实例。 - false:返回源模型数据实例关联的所有版本的目标模型数据实例。默认为false。 **默认取值:** false。 :return: The latest_only of this GenericLinkTypeDTO. :rtype: bool @@ -70,7 +70,7 @@ def latest_only(self): def latest_only(self, latest_only): """Sets the latest_only of this GenericLinkTypeDTO. - 是否返回源模型数据实例关联的最新版本目标模型数据实例。此参数仅对源/目标模型为M-V模型实体有效。 - true:返回源模型数据实例关联的最新版本的目标模型数据实例。 - false:返回源模型数据实例关联的所有版本的目标模型数据实例。默认为false。 + **参数解释:** 是否返回源模型数据实例关联的最新版本目标模型数据实例。此参数仅对源/目标模型为M-V模型实体有效。 **约束限制:** 不涉及。 **取值范围:** - true:返回源模型数据实例关联的最新版本的目标模型数据实例。 - false:返回源模型数据实例关联的所有版本的目标模型数据实例。默认为false。 **默认取值:** false。 :param latest_only: The latest_only of this GenericLinkTypeDTO. :type latest_only: bool @@ -81,7 +81,7 @@ def latest_only(self, latest_only): def source_id(self): """Gets the source_id of this GenericLinkTypeDTO. - 源模型数据实例的ID。 + **参数解释:** 源模型数据实例的ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The source_id of this GenericLinkTypeDTO. :rtype: str @@ -92,7 +92,7 @@ def source_id(self): def source_id(self, source_id): """Sets the source_id of this GenericLinkTypeDTO. - 源模型数据实例的ID。 + **参数解释:** 源模型数据实例的ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param source_id: The source_id of this GenericLinkTypeDTO. :type source_id: str @@ -103,7 +103,7 @@ def source_id(self, source_id): def target_type(self): """Gets the target_type of this GenericLinkTypeDTO. - 目标模型的英文名称。 + **参数解释:** 目标模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The target_type of this GenericLinkTypeDTO. :rtype: str @@ -114,7 +114,7 @@ def target_type(self): def target_type(self, target_type): """Sets the target_type of this GenericLinkTypeDTO. - 目标模型的英文名称。 + **参数解释:** 目标模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param target_type: The target_type of this GenericLinkTypeDTO. :type target_type: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/generic_link_type_modifier_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/generic_link_type_modifier_dto.py index 0dbff6508b..3d6e5df5f7 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/generic_link_type_modifier_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/generic_link_type_modifier_dto.py @@ -35,13 +35,13 @@ def __init__(self, latest_only=None, modifier=None, source_id=None, target_type= The model defined in huaweicloud sdk - :param latest_only: 是否返回源模型数据实例关联的最新版本目标模型数据实例。此参数仅对源/目标模型为M-V模型实体有效。 - true:返回源模型数据实例关联的最新版本的目标模型数据实例。 - false:返回源模型数据实例关联的所有版本的目标模型数据实例。默认为false。 + :param latest_only: **参数解释:** 是否返回源模型数据实例关联的最新版本目标模型数据实例。此参数仅对源/目标模型为M-V模型实体有效。 **约束限制:** 不涉及。 **取值范围:** - true:返回源模型数据实例关联的最新版本的目标模型数据实例。 - false:返回源模型数据实例关联的所有版本的目标模型数据实例。 **默认取值:** false。 :type latest_only: bool - :param modifier: 修改人。 + :param modifier: **参数解释:** 修改人。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type modifier: str - :param source_id: 源模型数据实例的ID。 + :param source_id: **参数解释:** 源模型数据实例的ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type source_id: str - :param target_type: 目标模型的英文名称。 + :param target_type: **参数解释:** 目标模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type target_type: str """ @@ -66,7 +66,7 @@ def __init__(self, latest_only=None, modifier=None, source_id=None, target_type= def latest_only(self): """Gets the latest_only of this GenericLinkTypeModifierDTO. - 是否返回源模型数据实例关联的最新版本目标模型数据实例。此参数仅对源/目标模型为M-V模型实体有效。 - true:返回源模型数据实例关联的最新版本的目标模型数据实例。 - false:返回源模型数据实例关联的所有版本的目标模型数据实例。默认为false。 + **参数解释:** 是否返回源模型数据实例关联的最新版本目标模型数据实例。此参数仅对源/目标模型为M-V模型实体有效。 **约束限制:** 不涉及。 **取值范围:** - true:返回源模型数据实例关联的最新版本的目标模型数据实例。 - false:返回源模型数据实例关联的所有版本的目标模型数据实例。 **默认取值:** false。 :return: The latest_only of this GenericLinkTypeModifierDTO. :rtype: bool @@ -77,7 +77,7 @@ def latest_only(self): def latest_only(self, latest_only): """Sets the latest_only of this GenericLinkTypeModifierDTO. - 是否返回源模型数据实例关联的最新版本目标模型数据实例。此参数仅对源/目标模型为M-V模型实体有效。 - true:返回源模型数据实例关联的最新版本的目标模型数据实例。 - false:返回源模型数据实例关联的所有版本的目标模型数据实例。默认为false。 + **参数解释:** 是否返回源模型数据实例关联的最新版本目标模型数据实例。此参数仅对源/目标模型为M-V模型实体有效。 **约束限制:** 不涉及。 **取值范围:** - true:返回源模型数据实例关联的最新版本的目标模型数据实例。 - false:返回源模型数据实例关联的所有版本的目标模型数据实例。 **默认取值:** false。 :param latest_only: The latest_only of this GenericLinkTypeModifierDTO. :type latest_only: bool @@ -88,7 +88,7 @@ def latest_only(self, latest_only): def modifier(self): """Gets the modifier of this GenericLinkTypeModifierDTO. - 修改人。 + **参数解释:** 修改人。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The modifier of this GenericLinkTypeModifierDTO. :rtype: str @@ -99,7 +99,7 @@ def modifier(self): def modifier(self, modifier): """Sets the modifier of this GenericLinkTypeModifierDTO. - 修改人。 + **参数解释:** 修改人。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param modifier: The modifier of this GenericLinkTypeModifierDTO. :type modifier: str @@ -110,7 +110,7 @@ def modifier(self, modifier): def source_id(self): """Gets the source_id of this GenericLinkTypeModifierDTO. - 源模型数据实例的ID。 + **参数解释:** 源模型数据实例的ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The source_id of this GenericLinkTypeModifierDTO. :rtype: str @@ -121,7 +121,7 @@ def source_id(self): def source_id(self, source_id): """Sets the source_id of this GenericLinkTypeModifierDTO. - 源模型数据实例的ID。 + **参数解释:** 源模型数据实例的ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param source_id: The source_id of this GenericLinkTypeModifierDTO. :type source_id: str @@ -132,7 +132,7 @@ def source_id(self, source_id): def target_type(self): """Gets the target_type of this GenericLinkTypeModifierDTO. - 目标模型的英文名称。 + **参数解释:** 目标模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The target_type of this GenericLinkTypeModifierDTO. :rtype: str @@ -143,7 +143,7 @@ def target_type(self): def target_type(self, target_type): """Sets the target_type of this GenericLinkTypeModifierDTO. - 目标模型的英文名称。 + **参数解释:** 目标模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param target_type: The target_type of this GenericLinkTypeModifierDTO. :type target_type: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/history_data_model_history_view_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/history_data_model_history_view_dto.py index 55455f4825..83b6da2184 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/history_data_model_history_view_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/history_data_model_history_view_dto.py @@ -49,27 +49,27 @@ def __init__(self, id=None, creator=None, create_time=None, modifier=None, last_ The model defined in huaweicloud sdk - :param id: 唯一标识。 + :param id: **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type id: str - :param creator: 创建人。 + :param creator: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type creator: str - :param create_time: 创建时间。 + :param create_time: **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type create_time: str - :param modifier: 修改人。 + :param modifier: **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type modifier: str - :param last_update_time: 修改时间。 + :param last_update_time: **参数解释:** 修改时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type last_update_time: str - :param rdm_version: 系统版本。 + :param rdm_version: **参数解释:** 系统版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type rdm_version: int - :param rdm_operation_type: 操作类型。 - CREATE:创建操作。 - UPDATE:更新操作。 - LOGICALDELETE:软删除操作。 - DELETE:删除操作。 - CASCADE:级联操作。 + :param rdm_operation_type: **参数解释:** 操作类型。 **取值范围:** - CREATE:创建操作。 - UPDATE:更新操作。 - LOGICALDELETE:软删除操作。 - DELETE:删除操作。 - CASCADE:级联操作。 **默认取值:** 不涉及。 :type rdm_operation_type: str - :param rdm_extension_type: 扩展类型。 + :param rdm_extension_type: **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type rdm_extension_type: str - :param rdm_delete_flag: 删除标志。 + :param rdm_delete_flag: **参数解释:** 删除标志。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type rdm_delete_flag: int :param tenant: :type tenant: :class:`huaweicloudsdkidmeclassicapi.v1.TenantHistoryViewDTO` - :param class_name: 类名称。 + :param class_name: **参数解释:** 类名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type class_name: str """ @@ -115,7 +115,7 @@ def __init__(self, id=None, creator=None, create_time=None, modifier=None, last_ def id(self): """Gets the id of this HistoryDataModelHistoryViewDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The id of this HistoryDataModelHistoryViewDTO. :rtype: str @@ -126,7 +126,7 @@ def id(self): def id(self, id): """Sets the id of this HistoryDataModelHistoryViewDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param id: The id of this HistoryDataModelHistoryViewDTO. :type id: str @@ -137,7 +137,7 @@ def id(self, id): def creator(self): """Gets the creator of this HistoryDataModelHistoryViewDTO. - 创建人。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The creator of this HistoryDataModelHistoryViewDTO. :rtype: str @@ -148,7 +148,7 @@ def creator(self): def creator(self, creator): """Sets the creator of this HistoryDataModelHistoryViewDTO. - 创建人。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param creator: The creator of this HistoryDataModelHistoryViewDTO. :type creator: str @@ -159,7 +159,7 @@ def creator(self, creator): def create_time(self): """Gets the create_time of this HistoryDataModelHistoryViewDTO. - 创建时间。 + **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The create_time of this HistoryDataModelHistoryViewDTO. :rtype: str @@ -170,7 +170,7 @@ def create_time(self): def create_time(self, create_time): """Sets the create_time of this HistoryDataModelHistoryViewDTO. - 创建时间。 + **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param create_time: The create_time of this HistoryDataModelHistoryViewDTO. :type create_time: str @@ -181,7 +181,7 @@ def create_time(self, create_time): def modifier(self): """Gets the modifier of this HistoryDataModelHistoryViewDTO. - 修改人。 + **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The modifier of this HistoryDataModelHistoryViewDTO. :rtype: str @@ -192,7 +192,7 @@ def modifier(self): def modifier(self, modifier): """Sets the modifier of this HistoryDataModelHistoryViewDTO. - 修改人。 + **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param modifier: The modifier of this HistoryDataModelHistoryViewDTO. :type modifier: str @@ -203,7 +203,7 @@ def modifier(self, modifier): def last_update_time(self): """Gets the last_update_time of this HistoryDataModelHistoryViewDTO. - 修改时间。 + **参数解释:** 修改时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The last_update_time of this HistoryDataModelHistoryViewDTO. :rtype: str @@ -214,7 +214,7 @@ def last_update_time(self): def last_update_time(self, last_update_time): """Sets the last_update_time of this HistoryDataModelHistoryViewDTO. - 修改时间。 + **参数解释:** 修改时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param last_update_time: The last_update_time of this HistoryDataModelHistoryViewDTO. :type last_update_time: str @@ -225,7 +225,7 @@ def last_update_time(self, last_update_time): def rdm_version(self): """Gets the rdm_version of this HistoryDataModelHistoryViewDTO. - 系统版本。 + **参数解释:** 系统版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The rdm_version of this HistoryDataModelHistoryViewDTO. :rtype: int @@ -236,7 +236,7 @@ def rdm_version(self): def rdm_version(self, rdm_version): """Sets the rdm_version of this HistoryDataModelHistoryViewDTO. - 系统版本。 + **参数解释:** 系统版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param rdm_version: The rdm_version of this HistoryDataModelHistoryViewDTO. :type rdm_version: int @@ -247,7 +247,7 @@ def rdm_version(self, rdm_version): def rdm_operation_type(self): """Gets the rdm_operation_type of this HistoryDataModelHistoryViewDTO. - 操作类型。 - CREATE:创建操作。 - UPDATE:更新操作。 - LOGICALDELETE:软删除操作。 - DELETE:删除操作。 - CASCADE:级联操作。 + **参数解释:** 操作类型。 **取值范围:** - CREATE:创建操作。 - UPDATE:更新操作。 - LOGICALDELETE:软删除操作。 - DELETE:删除操作。 - CASCADE:级联操作。 **默认取值:** 不涉及。 :return: The rdm_operation_type of this HistoryDataModelHistoryViewDTO. :rtype: str @@ -258,7 +258,7 @@ def rdm_operation_type(self): def rdm_operation_type(self, rdm_operation_type): """Sets the rdm_operation_type of this HistoryDataModelHistoryViewDTO. - 操作类型。 - CREATE:创建操作。 - UPDATE:更新操作。 - LOGICALDELETE:软删除操作。 - DELETE:删除操作。 - CASCADE:级联操作。 + **参数解释:** 操作类型。 **取值范围:** - CREATE:创建操作。 - UPDATE:更新操作。 - LOGICALDELETE:软删除操作。 - DELETE:删除操作。 - CASCADE:级联操作。 **默认取值:** 不涉及。 :param rdm_operation_type: The rdm_operation_type of this HistoryDataModelHistoryViewDTO. :type rdm_operation_type: str @@ -269,7 +269,7 @@ def rdm_operation_type(self, rdm_operation_type): def rdm_extension_type(self): """Gets the rdm_extension_type of this HistoryDataModelHistoryViewDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The rdm_extension_type of this HistoryDataModelHistoryViewDTO. :rtype: str @@ -280,7 +280,7 @@ def rdm_extension_type(self): def rdm_extension_type(self, rdm_extension_type): """Sets the rdm_extension_type of this HistoryDataModelHistoryViewDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param rdm_extension_type: The rdm_extension_type of this HistoryDataModelHistoryViewDTO. :type rdm_extension_type: str @@ -291,7 +291,7 @@ def rdm_extension_type(self, rdm_extension_type): def rdm_delete_flag(self): """Gets the rdm_delete_flag of this HistoryDataModelHistoryViewDTO. - 删除标志。 + **参数解释:** 删除标志。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The rdm_delete_flag of this HistoryDataModelHistoryViewDTO. :rtype: int @@ -302,7 +302,7 @@ def rdm_delete_flag(self): def rdm_delete_flag(self, rdm_delete_flag): """Sets the rdm_delete_flag of this HistoryDataModelHistoryViewDTO. - 删除标志。 + **参数解释:** 删除标志。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param rdm_delete_flag: The rdm_delete_flag of this HistoryDataModelHistoryViewDTO. :type rdm_delete_flag: int @@ -331,7 +331,7 @@ def tenant(self, tenant): def class_name(self): """Gets the class_name of this HistoryDataModelHistoryViewDTO. - 类名称。 + **参数解释:** 类名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The class_name of this HistoryDataModelHistoryViewDTO. :rtype: str @@ -342,7 +342,7 @@ def class_name(self): def class_name(self, class_name): """Sets the class_name of this HistoryDataModelHistoryViewDTO. - 类名称。 + **参数解释:** 类名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param class_name: The class_name of this HistoryDataModelHistoryViewDTO. :type class_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/lifecycle_managed_model_lifecycle_template_switch_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/lifecycle_managed_model_lifecycle_template_switch_dto.py index 16a3eeefc6..a5736b2699 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/lifecycle_managed_model_lifecycle_template_switch_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/lifecycle_managed_model_lifecycle_template_switch_dto.py @@ -33,7 +33,7 @@ def __init__(self, id=None, lifecycle_template=None, lifecycle_state=None): The model defined in huaweicloud sdk - :param id: 数据实例ID。 + :param id: **参数解释:** 数据实例ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type id: str :param lifecycle_template: :type lifecycle_template: :class:`huaweicloudsdkidmeclassicapi.v1.ObjectReferenceParamDTO` @@ -56,7 +56,7 @@ def __init__(self, id=None, lifecycle_template=None, lifecycle_state=None): def id(self): """Gets the id of this LifecycleManagedModelLifecycleTemplateSwitchDTO. - 数据实例ID。 + **参数解释:** 数据实例ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The id of this LifecycleManagedModelLifecycleTemplateSwitchDTO. :rtype: str @@ -67,7 +67,7 @@ def id(self): def id(self, id): """Sets the id of this LifecycleManagedModelLifecycleTemplateSwitchDTO. - 数据实例ID。 + **参数解释:** 数据实例ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param id: The id of this LifecycleManagedModelLifecycleTemplateSwitchDTO. :type id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/lifecycle_managed_model_update_lifecycle_state_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/lifecycle_managed_model_update_lifecycle_state_dto.py index 266b3bbc47..9329b862f0 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/lifecycle_managed_model_update_lifecycle_state_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/lifecycle_managed_model_update_lifecycle_state_dto.py @@ -33,11 +33,11 @@ def __init__(self, id=None, lifecycle_state=None, modifier=None): The model defined in huaweicloud sdk - :param id: 数据实例ID。 + :param id: **参数解释:** 数据实例ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type id: str :param lifecycle_state: :type lifecycle_state: :class:`huaweicloudsdkidmeclassicapi.v1.ObjectReferenceParamDTO` - :param modifier: 修改人。 + :param modifier: **参数解释:** 修改人。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type modifier: str """ @@ -57,7 +57,7 @@ def __init__(self, id=None, lifecycle_state=None, modifier=None): def id(self): """Gets the id of this LifecycleManagedModelUpdateLifecycleStateDTO. - 数据实例ID。 + **参数解释:** 数据实例ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The id of this LifecycleManagedModelUpdateLifecycleStateDTO. :rtype: str @@ -68,7 +68,7 @@ def id(self): def id(self, id): """Sets the id of this LifecycleManagedModelUpdateLifecycleStateDTO. - 数据实例ID。 + **参数解释:** 数据实例ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param id: The id of this LifecycleManagedModelUpdateLifecycleStateDTO. :type id: str @@ -97,7 +97,7 @@ def lifecycle_state(self, lifecycle_state): def modifier(self): """Gets the modifier of this LifecycleManagedModelUpdateLifecycleStateDTO. - 修改人。 + **参数解释:** 修改人。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The modifier of this LifecycleManagedModelUpdateLifecycleStateDTO. :rtype: str @@ -108,7 +108,7 @@ def modifier(self): def modifier(self, modifier): """Sets the modifier of this LifecycleManagedModelUpdateLifecycleStateDTO. - 修改人。 + **参数解释:** 修改人。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param modifier: The modifier of this LifecycleManagedModelUpdateLifecycleStateDTO. :type modifier: str 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 9bdfab4b69..14e97c3214 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 @@ -24,10 +24,10 @@ class ListAllVersionsRequest: 'start_index': 'int', 'total_pages': 'int', 'total_rows': 'int', + 'page_size_path': 'int', + 'cur_page_path': 'int', 'identifier': 'str', 'model_name': 'str', - 'cur_page_path': 'int', - 'page_size_path': 'int', 'body': 'RDMParamVOVersionModelVersionMasterDTO' } @@ -39,40 +39,40 @@ class ListAllVersionsRequest: 'start_index': 'startIndex', 'total_pages': 'totalPages', 'total_rows': 'totalRows', + 'page_size_path': 'pageSizePath', + 'cur_page_path': 'curPagePath', 'identifier': 'identifier', 'model_name': 'modelName', - 'cur_page_path': 'curPagePath', - 'page_size_path': 'pageSizePath', 'body': 'body' } - def __init__(self, cur_page=None, end_index=None, max_page_size=None, page_size=None, start_index=None, total_pages=None, total_rows=None, identifier=None, model_name=None, cur_page_path=None, page_size_path=None, body=None): + def __init__(self, cur_page=None, end_index=None, max_page_size=None, page_size=None, start_index=None, total_pages=None, total_rows=None, page_size_path=None, cur_page_path=None, identifier=None, model_name=None, body=None): """ListAllVersionsRequest The model defined in huaweicloud sdk - :param cur_page: 当前页。 + :param cur_page: **参数解释:** 当前页。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :type cur_page: int - :param end_index: 结束索引。 + :param end_index: **参数解释:** 结束索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :type end_index: int - :param max_page_size: 最大分页数。 + :param max_page_size: **参数解释:** 最大分页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :type max_page_size: int - :param page_size: 每页大小。 + :param page_size: **参数解释:** 每页大小。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :type page_size: int - :param start_index: 起始索引。 + :param start_index: **参数解释:** 起始索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :type start_index: int - :param total_pages: 总页数。 + :param total_pages: **参数解释:** 总页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :type total_pages: int - :param total_rows: 总行数。 + :param total_rows: **参数解释:** 总行数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :type total_rows: int - :param identifier: 应用ID。 + :param page_size_path: **参数解释:** 分页大小(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 1-1000。 **默认取值:** 不涉及。 + :type page_size_path: int + :param cur_page_path: **参数解释:** 当前页数(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 + :type cur_page_path: int + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str - :param cur_page_path: 当前页数(路径参数)。 - :type cur_page_path: int - :param page_size_path: 当前页数(路径参数)。 - :type page_size_path: int :param body: Body of the ListAllVersionsRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOVersionModelVersionMasterDTO` """ @@ -86,10 +86,10 @@ def __init__(self, cur_page=None, end_index=None, max_page_size=None, page_size= self._start_index = None self._total_pages = None self._total_rows = None + self._page_size_path = None + self._cur_page_path = None self._identifier = None self._model_name = None - self._cur_page_path = None - self._page_size_path = None self._body = None self.discriminator = None @@ -107,10 +107,10 @@ def __init__(self, cur_page=None, end_index=None, max_page_size=None, page_size= self.total_pages = total_pages if total_rows is not None: self.total_rows = total_rows + self.page_size_path = page_size_path + self.cur_page_path = cur_page_path self.identifier = identifier self.model_name = model_name - self.cur_page_path = cur_page_path - self.page_size_path = page_size_path if body is not None: self.body = body @@ -118,7 +118,7 @@ def __init__(self, cur_page=None, end_index=None, max_page_size=None, page_size= def cur_page(self): """Gets the cur_page of this ListAllVersionsRequest. - 当前页。 + **参数解释:** 当前页。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :return: The cur_page of this ListAllVersionsRequest. :rtype: int @@ -129,7 +129,7 @@ def cur_page(self): def cur_page(self, cur_page): """Sets the cur_page of this ListAllVersionsRequest. - 当前页。 + **参数解释:** 当前页。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :param cur_page: The cur_page of this ListAllVersionsRequest. :type cur_page: int @@ -140,7 +140,7 @@ def cur_page(self, cur_page): def end_index(self): """Gets the end_index of this ListAllVersionsRequest. - 结束索引。 + **参数解释:** 结束索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :return: The end_index of this ListAllVersionsRequest. :rtype: int @@ -151,7 +151,7 @@ def end_index(self): def end_index(self, end_index): """Sets the end_index of this ListAllVersionsRequest. - 结束索引。 + **参数解释:** 结束索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :param end_index: The end_index of this ListAllVersionsRequest. :type end_index: int @@ -162,7 +162,7 @@ def end_index(self, end_index): def max_page_size(self): """Gets the max_page_size of this ListAllVersionsRequest. - 最大分页数。 + **参数解释:** 最大分页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :return: The max_page_size of this ListAllVersionsRequest. :rtype: int @@ -173,7 +173,7 @@ def max_page_size(self): def max_page_size(self, max_page_size): """Sets the max_page_size of this ListAllVersionsRequest. - 最大分页数。 + **参数解释:** 最大分页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :param max_page_size: The max_page_size of this ListAllVersionsRequest. :type max_page_size: int @@ -184,7 +184,7 @@ def max_page_size(self, max_page_size): def page_size(self): """Gets the page_size of this ListAllVersionsRequest. - 每页大小。 + **参数解释:** 每页大小。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :return: The page_size of this ListAllVersionsRequest. :rtype: int @@ -195,7 +195,7 @@ def page_size(self): def page_size(self, page_size): """Sets the page_size of this ListAllVersionsRequest. - 每页大小。 + **参数解释:** 每页大小。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :param page_size: The page_size of this ListAllVersionsRequest. :type page_size: int @@ -206,7 +206,7 @@ def page_size(self, page_size): def start_index(self): """Gets the start_index of this ListAllVersionsRequest. - 起始索引。 + **参数解释:** 起始索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :return: The start_index of this ListAllVersionsRequest. :rtype: int @@ -217,7 +217,7 @@ def start_index(self): def start_index(self, start_index): """Sets the start_index of this ListAllVersionsRequest. - 起始索引。 + **参数解释:** 起始索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :param start_index: The start_index of this ListAllVersionsRequest. :type start_index: int @@ -228,7 +228,7 @@ def start_index(self, start_index): def total_pages(self): """Gets the total_pages of this ListAllVersionsRequest. - 总页数。 + **参数解释:** 总页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :return: The total_pages of this ListAllVersionsRequest. :rtype: int @@ -239,7 +239,7 @@ def total_pages(self): def total_pages(self, total_pages): """Sets the total_pages of this ListAllVersionsRequest. - 总页数。 + **参数解释:** 总页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :param total_pages: The total_pages of this ListAllVersionsRequest. :type total_pages: int @@ -250,7 +250,7 @@ def total_pages(self, total_pages): def total_rows(self): """Gets the total_rows of this ListAllVersionsRequest. - 总行数。 + **参数解释:** 总行数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :return: The total_rows of this ListAllVersionsRequest. :rtype: int @@ -261,18 +261,62 @@ def total_rows(self): def total_rows(self, total_rows): """Sets the total_rows of this ListAllVersionsRequest. - 总行数。 + **参数解释:** 总行数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :param total_rows: The total_rows of this ListAllVersionsRequest. :type total_rows: int """ self._total_rows = total_rows + @property + def page_size_path(self): + """Gets the page_size_path of this ListAllVersionsRequest. + + **参数解释:** 分页大小(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 1-1000。 **默认取值:** 不涉及。 + + :return: The page_size_path of this ListAllVersionsRequest. + :rtype: int + """ + return self._page_size_path + + @page_size_path.setter + def page_size_path(self, page_size_path): + """Sets the page_size_path of this ListAllVersionsRequest. + + **参数解释:** 分页大小(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 1-1000。 **默认取值:** 不涉及。 + + :param page_size_path: The page_size_path of this ListAllVersionsRequest. + :type page_size_path: int + """ + self._page_size_path = page_size_path + + @property + def cur_page_path(self): + """Gets the cur_page_path of this ListAllVersionsRequest. + + **参数解释:** 当前页数(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 + + :return: The cur_page_path of this ListAllVersionsRequest. + :rtype: int + """ + return self._cur_page_path + + @cur_page_path.setter + def cur_page_path(self, cur_page_path): + """Sets the cur_page_path of this ListAllVersionsRequest. + + **参数解释:** 当前页数(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 + + :param cur_page_path: The cur_page_path of this ListAllVersionsRequest. + :type cur_page_path: int + """ + self._cur_page_path = cur_page_path + @property def identifier(self): """Gets the identifier of this ListAllVersionsRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this ListAllVersionsRequest. :rtype: str @@ -283,7 +327,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this ListAllVersionsRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this ListAllVersionsRequest. :type identifier: str @@ -294,7 +338,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this ListAllVersionsRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this ListAllVersionsRequest. :rtype: str @@ -305,57 +349,13 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this ListAllVersionsRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this ListAllVersionsRequest. :type model_name: str """ self._model_name = model_name - @property - def cur_page_path(self): - """Gets the cur_page_path of this ListAllVersionsRequest. - - 当前页数(路径参数)。 - - :return: The cur_page_path of this ListAllVersionsRequest. - :rtype: int - """ - return self._cur_page_path - - @cur_page_path.setter - 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 - """ - self._cur_page_path = cur_page_path - - @property - def page_size_path(self): - """Gets the page_size_path of this ListAllVersionsRequest. - - 当前页数(路径参数)。 - - :return: The page_size_path of this ListAllVersionsRequest. - :rtype: int - """ - return self._page_size_path - - @page_size_path.setter - 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 - """ - self._page_size_path = page_size_path - @property def body(self): """Gets the body of this ListAllVersionsRequest. diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_all_versions_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_all_versions_response.py index 3b67ddad2e..0a8b15cd74 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_all_versions_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_all_versions_response.py @@ -36,11 +36,11 @@ def __init__(self, result=None, data=None, errors=None, page_info=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelQueryViewDTO`] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] :param page_info: :type page_info: :class:`huaweicloudsdkidmeclassicapi.v1.PageInfoViewDTO` @@ -67,7 +67,7 @@ def __init__(self, result=None, data=None, errors=None, page_info=None): def result(self): """Gets the result of this ListAllVersionsResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this ListAllVersionsResponse. :rtype: str @@ -78,7 +78,7 @@ def result(self): def result(self, result): """Sets the result of this ListAllVersionsResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this ListAllVersionsResponse. :type result: str @@ -89,7 +89,7 @@ def result(self, result): def data(self): """Gets the data of this ListAllVersionsResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this ListAllVersionsResponse. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelQueryViewDTO`] @@ -100,7 +100,7 @@ def data(self): def data(self, data): """Sets the data of this ListAllVersionsResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this ListAllVersionsResponse. :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelQueryViewDTO`] @@ -111,7 +111,7 @@ def data(self, data): def errors(self): """Gets the errors of this ListAllVersionsResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this ListAllVersionsResponse. :rtype: list[str] @@ -122,7 +122,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this ListAllVersionsResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this ListAllVersionsResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_batch_query_related_objects_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_batch_query_related_objects_request.py index c0bb708320..3334769eda 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_batch_query_related_objects_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_batch_query_related_objects_request.py @@ -24,10 +24,10 @@ class ListBatchQueryRelatedObjectsRequest: 'start_index': 'int', 'total_pages': 'int', 'total_rows': 'int', - 'identifier': 'str', - 'model_name': 'str', 'page_size_path': 'int', 'cur_page_path': 'int', + 'identifier': 'str', + 'model_name': 'str', 'body': 'RDMParamVOGenericLinkBatchQueryDTO' } @@ -39,40 +39,40 @@ class ListBatchQueryRelatedObjectsRequest: 'start_index': 'startIndex', 'total_pages': 'totalPages', 'total_rows': 'totalRows', - 'identifier': 'identifier', - 'model_name': 'modelName', 'page_size_path': 'pageSizePath', 'cur_page_path': 'curPagePath', + 'identifier': 'identifier', + 'model_name': 'modelName', 'body': 'body' } - def __init__(self, cur_page=None, end_index=None, max_page_size=None, page_size=None, start_index=None, total_pages=None, total_rows=None, identifier=None, model_name=None, page_size_path=None, cur_page_path=None, body=None): + def __init__(self, cur_page=None, end_index=None, max_page_size=None, page_size=None, start_index=None, total_pages=None, total_rows=None, page_size_path=None, cur_page_path=None, identifier=None, model_name=None, body=None): """ListBatchQueryRelatedObjectsRequest The model defined in huaweicloud sdk - :param cur_page: 当前页。 + :param cur_page: **参数解释:** 当前页。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :type cur_page: int - :param end_index: 结束索引。 + :param end_index: **参数解释:** 结束索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :type end_index: int - :param max_page_size: 最大分页数。 + :param max_page_size: **参数解释:** 最大分页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :type max_page_size: int - :param page_size: 每页大小。 + :param page_size: **参数解释:** 每页大小。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :type page_size: int - :param start_index: 起始索引。 + :param start_index: **参数解释:** 起始索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :type start_index: int - :param total_pages: 总页数。 + :param total_pages: **参数解释:** 总页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :type total_pages: int - :param total_rows: 总行数。 + :param total_rows: **参数解释:** 总行数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :type total_rows: int - :param identifier: 应用ID。 - :type identifier: str - :param model_name: 数据模型的英文名称。 - :type model_name: str - :param page_size_path: 分页大小(路径参数)。 + :param page_size_path: **参数解释:** 分页大小(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 1-1000。 **默认取值:** 不涉及。 :type page_size_path: int - :param cur_page_path: 当前页数(路径参数)。 + :param cur_page_path: **参数解释:** 当前页数(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :type cur_page_path: int + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 + :type identifier: str + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 + :type model_name: str :param body: Body of the ListBatchQueryRelatedObjectsRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOGenericLinkBatchQueryDTO` """ @@ -86,10 +86,10 @@ def __init__(self, cur_page=None, end_index=None, max_page_size=None, page_size= self._start_index = None self._total_pages = None self._total_rows = None - self._identifier = None - self._model_name = None self._page_size_path = None self._cur_page_path = None + self._identifier = None + self._model_name = None self._body = None self.discriminator = None @@ -107,10 +107,10 @@ def __init__(self, cur_page=None, end_index=None, max_page_size=None, page_size= self.total_pages = total_pages if total_rows is not None: self.total_rows = total_rows - self.identifier = identifier - self.model_name = model_name self.page_size_path = page_size_path self.cur_page_path = cur_page_path + self.identifier = identifier + self.model_name = model_name if body is not None: self.body = body @@ -118,7 +118,7 @@ def __init__(self, cur_page=None, end_index=None, max_page_size=None, page_size= def cur_page(self): """Gets the cur_page of this ListBatchQueryRelatedObjectsRequest. - 当前页。 + **参数解释:** 当前页。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :return: The cur_page of this ListBatchQueryRelatedObjectsRequest. :rtype: int @@ -129,7 +129,7 @@ def cur_page(self): def cur_page(self, cur_page): """Sets the cur_page of this ListBatchQueryRelatedObjectsRequest. - 当前页。 + **参数解释:** 当前页。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :param cur_page: The cur_page of this ListBatchQueryRelatedObjectsRequest. :type cur_page: int @@ -140,7 +140,7 @@ def cur_page(self, cur_page): def end_index(self): """Gets the end_index of this ListBatchQueryRelatedObjectsRequest. - 结束索引。 + **参数解释:** 结束索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :return: The end_index of this ListBatchQueryRelatedObjectsRequest. :rtype: int @@ -151,7 +151,7 @@ def end_index(self): def end_index(self, end_index): """Sets the end_index of this ListBatchQueryRelatedObjectsRequest. - 结束索引。 + **参数解释:** 结束索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :param end_index: The end_index of this ListBatchQueryRelatedObjectsRequest. :type end_index: int @@ -162,7 +162,7 @@ def end_index(self, end_index): def max_page_size(self): """Gets the max_page_size of this ListBatchQueryRelatedObjectsRequest. - 最大分页数。 + **参数解释:** 最大分页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :return: The max_page_size of this ListBatchQueryRelatedObjectsRequest. :rtype: int @@ -173,7 +173,7 @@ def max_page_size(self): def max_page_size(self, max_page_size): """Sets the max_page_size of this ListBatchQueryRelatedObjectsRequest. - 最大分页数。 + **参数解释:** 最大分页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :param max_page_size: The max_page_size of this ListBatchQueryRelatedObjectsRequest. :type max_page_size: int @@ -184,7 +184,7 @@ def max_page_size(self, max_page_size): def page_size(self): """Gets the page_size of this ListBatchQueryRelatedObjectsRequest. - 每页大小。 + **参数解释:** 每页大小。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :return: The page_size of this ListBatchQueryRelatedObjectsRequest. :rtype: int @@ -195,7 +195,7 @@ def page_size(self): def page_size(self, page_size): """Sets the page_size of this ListBatchQueryRelatedObjectsRequest. - 每页大小。 + **参数解释:** 每页大小。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :param page_size: The page_size of this ListBatchQueryRelatedObjectsRequest. :type page_size: int @@ -206,7 +206,7 @@ def page_size(self, page_size): def start_index(self): """Gets the start_index of this ListBatchQueryRelatedObjectsRequest. - 起始索引。 + **参数解释:** 起始索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :return: The start_index of this ListBatchQueryRelatedObjectsRequest. :rtype: int @@ -217,7 +217,7 @@ def start_index(self): def start_index(self, start_index): """Sets the start_index of this ListBatchQueryRelatedObjectsRequest. - 起始索引。 + **参数解释:** 起始索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :param start_index: The start_index of this ListBatchQueryRelatedObjectsRequest. :type start_index: int @@ -228,7 +228,7 @@ def start_index(self, start_index): def total_pages(self): """Gets the total_pages of this ListBatchQueryRelatedObjectsRequest. - 总页数。 + **参数解释:** 总页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :return: The total_pages of this ListBatchQueryRelatedObjectsRequest. :rtype: int @@ -239,7 +239,7 @@ def total_pages(self): def total_pages(self, total_pages): """Sets the total_pages of this ListBatchQueryRelatedObjectsRequest. - 总页数。 + **参数解释:** 总页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :param total_pages: The total_pages of this ListBatchQueryRelatedObjectsRequest. :type total_pages: int @@ -250,7 +250,7 @@ def total_pages(self, total_pages): def total_rows(self): """Gets the total_rows of this ListBatchQueryRelatedObjectsRequest. - 总行数。 + **参数解释:** 总行数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :return: The total_rows of this ListBatchQueryRelatedObjectsRequest. :rtype: int @@ -261,62 +261,18 @@ def total_rows(self): def total_rows(self, total_rows): """Sets the total_rows of this ListBatchQueryRelatedObjectsRequest. - 总行数。 + **参数解释:** 总行数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :param total_rows: The total_rows of this ListBatchQueryRelatedObjectsRequest. :type total_rows: int """ self._total_rows = total_rows - @property - def identifier(self): - """Gets the identifier of this ListBatchQueryRelatedObjectsRequest. - - 应用ID。 - - :return: The identifier of this ListBatchQueryRelatedObjectsRequest. - :rtype: str - """ - return self._identifier - - @identifier.setter - def identifier(self, identifier): - """Sets the identifier of this ListBatchQueryRelatedObjectsRequest. - - 应用ID。 - - :param identifier: The identifier of this ListBatchQueryRelatedObjectsRequest. - :type identifier: str - """ - self._identifier = identifier - - @property - def model_name(self): - """Gets the model_name of this ListBatchQueryRelatedObjectsRequest. - - 数据模型的英文名称。 - - :return: The model_name of this ListBatchQueryRelatedObjectsRequest. - :rtype: str - """ - return self._model_name - - @model_name.setter - def model_name(self, model_name): - """Sets the model_name of this ListBatchQueryRelatedObjectsRequest. - - 数据模型的英文名称。 - - :param model_name: The model_name of this ListBatchQueryRelatedObjectsRequest. - :type model_name: str - """ - self._model_name = model_name - @property def page_size_path(self): """Gets the page_size_path of this ListBatchQueryRelatedObjectsRequest. - 分页大小(路径参数)。 + **参数解释:** 分页大小(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 1-1000。 **默认取值:** 不涉及。 :return: The page_size_path of this ListBatchQueryRelatedObjectsRequest. :rtype: int @@ -327,7 +283,7 @@ def page_size_path(self): def page_size_path(self, page_size_path): """Sets the page_size_path of this ListBatchQueryRelatedObjectsRequest. - 分页大小(路径参数)。 + **参数解释:** 分页大小(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 1-1000。 **默认取值:** 不涉及。 :param page_size_path: The page_size_path of this ListBatchQueryRelatedObjectsRequest. :type page_size_path: int @@ -338,7 +294,7 @@ def page_size_path(self, page_size_path): def cur_page_path(self): """Gets the cur_page_path of this ListBatchQueryRelatedObjectsRequest. - 当前页数(路径参数)。 + **参数解释:** 当前页数(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :return: The cur_page_path of this ListBatchQueryRelatedObjectsRequest. :rtype: int @@ -349,13 +305,57 @@ def cur_page_path(self): def cur_page_path(self, cur_page_path): """Sets the cur_page_path of this ListBatchQueryRelatedObjectsRequest. - 当前页数(路径参数)。 + **参数解释:** 当前页数(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :param cur_page_path: The cur_page_path of this ListBatchQueryRelatedObjectsRequest. :type cur_page_path: int """ self._cur_page_path = cur_page_path + @property + def identifier(self): + """Gets the identifier of this ListBatchQueryRelatedObjectsRequest. + + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 + + :return: The identifier of this ListBatchQueryRelatedObjectsRequest. + :rtype: str + """ + return self._identifier + + @identifier.setter + def identifier(self, identifier): + """Sets the identifier of this ListBatchQueryRelatedObjectsRequest. + + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 + + :param identifier: The identifier of this ListBatchQueryRelatedObjectsRequest. + :type identifier: str + """ + self._identifier = identifier + + @property + def model_name(self): + """Gets the model_name of this ListBatchQueryRelatedObjectsRequest. + + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 + + :return: The model_name of this ListBatchQueryRelatedObjectsRequest. + :rtype: str + """ + return self._model_name + + @model_name.setter + def model_name(self, model_name): + """Sets the model_name of this ListBatchQueryRelatedObjectsRequest. + + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 + + :param model_name: The model_name of this ListBatchQueryRelatedObjectsRequest. + :type model_name: str + """ + self._model_name = model_name + @property def body(self): """Gets the body of this ListBatchQueryRelatedObjectsRequest. diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_batch_query_related_objects_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_batch_query_related_objects_response.py index 043ed9efa6..063ee6e696 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_batch_query_related_objects_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_batch_query_related_objects_response.py @@ -36,11 +36,11 @@ def __init__(self, result=None, data=None, errors=None, page_info=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.RelatedObjectViewDTO`] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] :param page_info: :type page_info: :class:`huaweicloudsdkidmeclassicapi.v1.PageInfoViewDTO` @@ -67,7 +67,7 @@ def __init__(self, result=None, data=None, errors=None, page_info=None): def result(self): """Gets the result of this ListBatchQueryRelatedObjectsResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this ListBatchQueryRelatedObjectsResponse. :rtype: str @@ -78,7 +78,7 @@ def result(self): def result(self, result): """Sets the result of this ListBatchQueryRelatedObjectsResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this ListBatchQueryRelatedObjectsResponse. :type result: str @@ -89,7 +89,7 @@ def result(self, result): def data(self): """Gets the data of this ListBatchQueryRelatedObjectsResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this ListBatchQueryRelatedObjectsResponse. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.RelatedObjectViewDTO`] @@ -100,7 +100,7 @@ def data(self): def data(self, data): """Sets the data of this ListBatchQueryRelatedObjectsResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this ListBatchQueryRelatedObjectsResponse. :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.RelatedObjectViewDTO`] @@ -111,7 +111,7 @@ def data(self, data): def errors(self): """Gets the errors of this ListBatchQueryRelatedObjectsResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this ListBatchQueryRelatedObjectsResponse. :rtype: list[str] @@ -122,7 +122,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this ListBatchQueryRelatedObjectsResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this ListBatchQueryRelatedObjectsResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_get_all_parent_list_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_get_all_parent_list_request.py index d119970605..8c6e08fa5b 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_get_all_parent_list_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_get_all_parent_list_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the ListGetAllParentListRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOQueryParentDTO` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this ListGetAllParentListRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this ListGetAllParentListRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this ListGetAllParentListRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this ListGetAllParentListRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this ListGetAllParentListRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this ListGetAllParentListRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this ListGetAllParentListRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this ListGetAllParentListRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_get_all_parent_list_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_get_all_parent_list_response.py index f93783f03b..21c0e2961d 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_get_all_parent_list_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_get_all_parent_list_response.py @@ -36,11 +36,11 @@ def __init__(self, result=None, data=None, errors=None, page_info=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.BasicObjectQueryViewDTO`] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] :param page_info: :type page_info: :class:`huaweicloudsdkidmeclassicapi.v1.PageInfoViewDTO` @@ -67,7 +67,7 @@ def __init__(self, result=None, data=None, errors=None, page_info=None): def result(self): """Gets the result of this ListGetAllParentListResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this ListGetAllParentListResponse. :rtype: str @@ -78,7 +78,7 @@ def result(self): def result(self, result): """Sets the result of this ListGetAllParentListResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this ListGetAllParentListResponse. :type result: str @@ -89,7 +89,7 @@ def result(self, result): def data(self): """Gets the data of this ListGetAllParentListResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this ListGetAllParentListResponse. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.BasicObjectQueryViewDTO`] @@ -100,7 +100,7 @@ def data(self): def data(self, data): """Sets the data of this ListGetAllParentListResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this ListGetAllParentListResponse. :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.BasicObjectQueryViewDTO`] @@ -111,7 +111,7 @@ def data(self, data): def errors(self): """Gets the errors of this ListGetAllParentListResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this ListGetAllParentListResponse. :rtype: list[str] @@ -122,7 +122,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this ListGetAllParentListResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this ListGetAllParentListResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_get_child_list_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_get_child_list_request.py index f7c103f104..fe1e4dd375 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_get_child_list_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_get_child_list_request.py @@ -24,10 +24,10 @@ class ListGetChildListRequest: 'start_index': 'int', 'total_pages': 'int', 'total_rows': 'int', - 'identifier': 'str', - 'model_name': 'str', 'page_size_path': 'int', 'cur_page_path': 'int', + 'identifier': 'str', + 'model_name': 'str', 'body': 'RDMParamVOQueryChildListDTO' } @@ -39,40 +39,40 @@ class ListGetChildListRequest: 'start_index': 'startIndex', 'total_pages': 'totalPages', 'total_rows': 'totalRows', - 'identifier': 'identifier', - 'model_name': 'modelName', 'page_size_path': 'pageSizePath', 'cur_page_path': 'curPagePath', + 'identifier': 'identifier', + 'model_name': 'modelName', 'body': 'body' } - def __init__(self, cur_page=None, end_index=None, max_page_size=None, page_size=None, start_index=None, total_pages=None, total_rows=None, identifier=None, model_name=None, page_size_path=None, cur_page_path=None, body=None): + def __init__(self, cur_page=None, end_index=None, max_page_size=None, page_size=None, start_index=None, total_pages=None, total_rows=None, page_size_path=None, cur_page_path=None, identifier=None, model_name=None, body=None): """ListGetChildListRequest The model defined in huaweicloud sdk - :param cur_page: 当前页。 + :param cur_page: **参数解释:** 当前页。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :type cur_page: int - :param end_index: 结束索引。 + :param end_index: **参数解释:** 结束索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :type end_index: int - :param max_page_size: 最大分页数。 + :param max_page_size: **参数解释:** 最大分页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :type max_page_size: int - :param page_size: 每页大小。 + :param page_size: **参数解释:** 每页大小。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :type page_size: int - :param start_index: 起始索引。 + :param start_index: **参数解释:** 起始索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :type start_index: int - :param total_pages: 总页数。 + :param total_pages: **参数解释:** 总页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :type total_pages: int - :param total_rows: 总行数。 + :param total_rows: **参数解释:** 总行数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :type total_rows: int - :param identifier: 应用ID。 - :type identifier: str - :param model_name: 数据模型的英文名称。 - :type model_name: str - :param page_size_path: 分页大小(路径参数)。 + :param page_size_path: **参数解释:** 分页大小(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 1-1000。 **默认取值:** 不涉及。 :type page_size_path: int - :param cur_page_path: 当前页数(路径参数)。 + :param cur_page_path: **参数解释:** 当前页数(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :type cur_page_path: int + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 + :type identifier: str + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 + :type model_name: str :param body: Body of the ListGetChildListRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOQueryChildListDTO` """ @@ -86,10 +86,10 @@ def __init__(self, cur_page=None, end_index=None, max_page_size=None, page_size= self._start_index = None self._total_pages = None self._total_rows = None - self._identifier = None - self._model_name = None self._page_size_path = None self._cur_page_path = None + self._identifier = None + self._model_name = None self._body = None self.discriminator = None @@ -107,10 +107,10 @@ def __init__(self, cur_page=None, end_index=None, max_page_size=None, page_size= self.total_pages = total_pages if total_rows is not None: self.total_rows = total_rows - self.identifier = identifier - self.model_name = model_name self.page_size_path = page_size_path self.cur_page_path = cur_page_path + self.identifier = identifier + self.model_name = model_name if body is not None: self.body = body @@ -118,7 +118,7 @@ def __init__(self, cur_page=None, end_index=None, max_page_size=None, page_size= def cur_page(self): """Gets the cur_page of this ListGetChildListRequest. - 当前页。 + **参数解释:** 当前页。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :return: The cur_page of this ListGetChildListRequest. :rtype: int @@ -129,7 +129,7 @@ def cur_page(self): def cur_page(self, cur_page): """Sets the cur_page of this ListGetChildListRequest. - 当前页。 + **参数解释:** 当前页。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :param cur_page: The cur_page of this ListGetChildListRequest. :type cur_page: int @@ -140,7 +140,7 @@ def cur_page(self, cur_page): def end_index(self): """Gets the end_index of this ListGetChildListRequest. - 结束索引。 + **参数解释:** 结束索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :return: The end_index of this ListGetChildListRequest. :rtype: int @@ -151,7 +151,7 @@ def end_index(self): def end_index(self, end_index): """Sets the end_index of this ListGetChildListRequest. - 结束索引。 + **参数解释:** 结束索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :param end_index: The end_index of this ListGetChildListRequest. :type end_index: int @@ -162,7 +162,7 @@ def end_index(self, end_index): def max_page_size(self): """Gets the max_page_size of this ListGetChildListRequest. - 最大分页数。 + **参数解释:** 最大分页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :return: The max_page_size of this ListGetChildListRequest. :rtype: int @@ -173,7 +173,7 @@ def max_page_size(self): def max_page_size(self, max_page_size): """Sets the max_page_size of this ListGetChildListRequest. - 最大分页数。 + **参数解释:** 最大分页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :param max_page_size: The max_page_size of this ListGetChildListRequest. :type max_page_size: int @@ -184,7 +184,7 @@ def max_page_size(self, max_page_size): def page_size(self): """Gets the page_size of this ListGetChildListRequest. - 每页大小。 + **参数解释:** 每页大小。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :return: The page_size of this ListGetChildListRequest. :rtype: int @@ -195,7 +195,7 @@ def page_size(self): def page_size(self, page_size): """Sets the page_size of this ListGetChildListRequest. - 每页大小。 + **参数解释:** 每页大小。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :param page_size: The page_size of this ListGetChildListRequest. :type page_size: int @@ -206,7 +206,7 @@ def page_size(self, page_size): def start_index(self): """Gets the start_index of this ListGetChildListRequest. - 起始索引。 + **参数解释:** 起始索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :return: The start_index of this ListGetChildListRequest. :rtype: int @@ -217,7 +217,7 @@ def start_index(self): def start_index(self, start_index): """Sets the start_index of this ListGetChildListRequest. - 起始索引。 + **参数解释:** 起始索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :param start_index: The start_index of this ListGetChildListRequest. :type start_index: int @@ -228,7 +228,7 @@ def start_index(self, start_index): def total_pages(self): """Gets the total_pages of this ListGetChildListRequest. - 总页数。 + **参数解释:** 总页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :return: The total_pages of this ListGetChildListRequest. :rtype: int @@ -239,7 +239,7 @@ def total_pages(self): def total_pages(self, total_pages): """Sets the total_pages of this ListGetChildListRequest. - 总页数。 + **参数解释:** 总页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :param total_pages: The total_pages of this ListGetChildListRequest. :type total_pages: int @@ -250,7 +250,7 @@ def total_pages(self, total_pages): def total_rows(self): """Gets the total_rows of this ListGetChildListRequest. - 总行数。 + **参数解释:** 总行数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :return: The total_rows of this ListGetChildListRequest. :rtype: int @@ -261,62 +261,18 @@ def total_rows(self): def total_rows(self, total_rows): """Sets the total_rows of this ListGetChildListRequest. - 总行数。 + **参数解释:** 总行数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :param total_rows: The total_rows of this ListGetChildListRequest. :type total_rows: int """ self._total_rows = total_rows - @property - def identifier(self): - """Gets the identifier of this ListGetChildListRequest. - - 应用ID。 - - :return: The identifier of this ListGetChildListRequest. - :rtype: str - """ - return self._identifier - - @identifier.setter - def identifier(self, identifier): - """Sets the identifier of this ListGetChildListRequest. - - 应用ID。 - - :param identifier: The identifier of this ListGetChildListRequest. - :type identifier: str - """ - self._identifier = identifier - - @property - def model_name(self): - """Gets the model_name of this ListGetChildListRequest. - - 数据模型的英文名称。 - - :return: The model_name of this ListGetChildListRequest. - :rtype: str - """ - return self._model_name - - @model_name.setter - def model_name(self, model_name): - """Sets the model_name of this ListGetChildListRequest. - - 数据模型的英文名称。 - - :param model_name: The model_name of this ListGetChildListRequest. - :type model_name: str - """ - self._model_name = model_name - @property def page_size_path(self): """Gets the page_size_path of this ListGetChildListRequest. - 分页大小(路径参数)。 + **参数解释:** 分页大小(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 1-1000。 **默认取值:** 不涉及。 :return: The page_size_path of this ListGetChildListRequest. :rtype: int @@ -327,7 +283,7 @@ def page_size_path(self): def page_size_path(self, page_size_path): """Sets the page_size_path of this ListGetChildListRequest. - 分页大小(路径参数)。 + **参数解释:** 分页大小(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 1-1000。 **默认取值:** 不涉及。 :param page_size_path: The page_size_path of this ListGetChildListRequest. :type page_size_path: int @@ -338,7 +294,7 @@ def page_size_path(self, page_size_path): def cur_page_path(self): """Gets the cur_page_path of this ListGetChildListRequest. - 当前页数(路径参数)。 + **参数解释:** 当前页数(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :return: The cur_page_path of this ListGetChildListRequest. :rtype: int @@ -349,13 +305,57 @@ def cur_page_path(self): def cur_page_path(self, cur_page_path): """Sets the cur_page_path of this ListGetChildListRequest. - 当前页数(路径参数)。 + **参数解释:** 当前页数(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :param cur_page_path: The cur_page_path of this ListGetChildListRequest. :type cur_page_path: int """ self._cur_page_path = cur_page_path + @property + def identifier(self): + """Gets the identifier of this ListGetChildListRequest. + + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 + + :return: The identifier of this ListGetChildListRequest. + :rtype: str + """ + return self._identifier + + @identifier.setter + def identifier(self, identifier): + """Sets the identifier of this ListGetChildListRequest. + + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 + + :param identifier: The identifier of this ListGetChildListRequest. + :type identifier: str + """ + self._identifier = identifier + + @property + def model_name(self): + """Gets the model_name of this ListGetChildListRequest. + + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 + + :return: The model_name of this ListGetChildListRequest. + :rtype: str + """ + return self._model_name + + @model_name.setter + def model_name(self, model_name): + """Sets the model_name of this ListGetChildListRequest. + + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 + + :param model_name: The model_name of this ListGetChildListRequest. + :type model_name: str + """ + self._model_name = model_name + @property def body(self): """Gets the body of this ListGetChildListRequest. diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_get_child_list_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_get_child_list_response.py index 936f18c66c..701ceeb7c1 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_get_child_list_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_get_child_list_response.py @@ -36,11 +36,11 @@ def __init__(self, result=None, data=None, errors=None, page_info=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.BasicObjectQueryViewDTO`] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] :param page_info: :type page_info: :class:`huaweicloudsdkidmeclassicapi.v1.PageInfoViewDTO` @@ -67,7 +67,7 @@ def __init__(self, result=None, data=None, errors=None, page_info=None): def result(self): """Gets the result of this ListGetChildListResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this ListGetChildListResponse. :rtype: str @@ -78,7 +78,7 @@ def result(self): def result(self, result): """Sets the result of this ListGetChildListResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this ListGetChildListResponse. :type result: str @@ -89,7 +89,7 @@ def result(self, result): def data(self): """Gets the data of this ListGetChildListResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this ListGetChildListResponse. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.BasicObjectQueryViewDTO`] @@ -100,7 +100,7 @@ def data(self): def data(self, data): """Sets the data of this ListGetChildListResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this ListGetChildListResponse. :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.BasicObjectQueryViewDTO`] @@ -111,7 +111,7 @@ def data(self, data): def errors(self): """Gets the errors of this ListGetChildListResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this ListGetChildListResponse. :rtype: list[str] @@ -122,7 +122,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this ListGetChildListResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this ListGetChildListResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_history_data_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_history_data_request.py index 70af7ca809..377351f243 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_history_data_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_history_data_request.py @@ -18,57 +18,61 @@ class ListHistoryDataRequest: openapi_types = { 'cur_page': 'int', + 'end_index': 'int', + 'max_page_size': 'int', 'page_size': 'int', - 'total_rows': 'int', + 'start_index': 'int', 'total_pages': 'int', - 'limit': 'int', - 'offset': 'int', - 'identifier': 'str', - 'model_name': 'str', + 'total_rows': 'int', 'page_size_path': 'int', 'cur_page_path': 'int', + 'identifier': 'str', + 'model_name': 'str', 'body': 'RDMParamVOMongPageRequest' } attribute_map = { 'cur_page': 'curPage', + 'end_index': 'endIndex', + 'max_page_size': 'maxPageSize', 'page_size': 'pageSize', - 'total_rows': 'totalRows', + 'start_index': 'startIndex', 'total_pages': 'totalPages', - 'limit': 'limit', - 'offset': 'offset', - 'identifier': 'identifier', - 'model_name': 'modelName', + 'total_rows': 'totalRows', 'page_size_path': 'pageSizePath', 'cur_page_path': 'curPagePath', + 'identifier': 'identifier', + 'model_name': 'modelName', 'body': 'body' } - def __init__(self, cur_page=None, page_size=None, total_rows=None, total_pages=None, limit=None, offset=None, identifier=None, model_name=None, page_size_path=None, cur_page_path=None, body=None): + def __init__(self, cur_page=None, end_index=None, max_page_size=None, page_size=None, start_index=None, total_pages=None, total_rows=None, page_size_path=None, cur_page_path=None, identifier=None, model_name=None, body=None): """ListHistoryDataRequest The model defined in huaweicloud sdk - :param cur_page: 当前页。 + :param cur_page: **参数解释:** 当前页。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :type cur_page: int - :param page_size: 每页大小。 + :param end_index: **参数解释:** 结束索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 + :type end_index: int + :param max_page_size: **参数解释:** 最大分页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 + :type max_page_size: int + :param page_size: **参数解释:** 每页大小。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :type page_size: int - :param total_rows: 总行数。 - :type total_rows: int - :param total_pages: 总页数。 + :param start_index: **参数解释:** 起始索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 + :type start_index: int + :param total_pages: **参数解释:** 总页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :type total_pages: int - :param limit: 每页显示条目数量,limit和offset均传正确的数值时才起作用,且优先级高于pageSize和curPage。 - :type limit: int - :param offset: 偏移量,limit和offset均传正确的数值时才起作用,且优先级高于pageSize和curPage。 - :type offset: int - :param identifier: 应用ID。 - :type identifier: str - :param model_name: 数据模型的英文名称。 - :type model_name: str - :param page_size_path: 分页大小(路径参数)。 + :param total_rows: **参数解释:** 总行数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 + :type total_rows: int + :param page_size_path: **参数解释:** 分页大小(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 1-1000。 **默认取值:** 不涉及。 :type page_size_path: int - :param cur_page_path: 当前页数(路径参数)。 + :param cur_page_path: **参数解释:** 当前页数(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :type cur_page_path: int + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 + :type identifier: str + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 + :type model_name: str :param body: Body of the ListHistoryDataRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOMongPageRequest` """ @@ -76,34 +80,37 @@ def __init__(self, cur_page=None, page_size=None, total_rows=None, total_pages=N self._cur_page = None + self._end_index = None + self._max_page_size = None self._page_size = None - self._total_rows = None + self._start_index = None self._total_pages = None - self._limit = None - self._offset = None - self._identifier = None - self._model_name = None + self._total_rows = None self._page_size_path = None self._cur_page_path = None + self._identifier = None + self._model_name = None self._body = None self.discriminator = None if cur_page is not None: self.cur_page = cur_page + if end_index is not None: + self.end_index = end_index + if max_page_size is not None: + self.max_page_size = max_page_size if page_size is not None: self.page_size = page_size - if total_rows is not None: - self.total_rows = total_rows + if start_index is not None: + self.start_index = start_index if total_pages is not None: self.total_pages = total_pages - if limit is not None: - self.limit = limit - if offset is not None: - self.offset = offset - self.identifier = identifier - self.model_name = model_name + if total_rows is not None: + self.total_rows = total_rows self.page_size_path = page_size_path self.cur_page_path = cur_page_path + self.identifier = identifier + self.model_name = model_name if body is not None: self.body = body @@ -111,7 +118,7 @@ def __init__(self, cur_page=None, page_size=None, total_rows=None, total_pages=N def cur_page(self): """Gets the cur_page of this ListHistoryDataRequest. - 当前页。 + **参数解释:** 当前页。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :return: The cur_page of this ListHistoryDataRequest. :rtype: int @@ -122,18 +129,62 @@ def cur_page(self): def cur_page(self, cur_page): """Sets the cur_page of this ListHistoryDataRequest. - 当前页。 + **参数解释:** 当前页。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :param cur_page: The cur_page of this ListHistoryDataRequest. :type cur_page: int """ self._cur_page = cur_page + @property + def end_index(self): + """Gets the end_index of this ListHistoryDataRequest. + + **参数解释:** 结束索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 + + :return: The end_index of this ListHistoryDataRequest. + :rtype: int + """ + return self._end_index + + @end_index.setter + def end_index(self, end_index): + """Sets the end_index of this ListHistoryDataRequest. + + **参数解释:** 结束索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 + + :param end_index: The end_index of this ListHistoryDataRequest. + :type end_index: int + """ + self._end_index = end_index + + @property + def max_page_size(self): + """Gets the max_page_size of this ListHistoryDataRequest. + + **参数解释:** 最大分页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 + + :return: The max_page_size of this ListHistoryDataRequest. + :rtype: int + """ + return self._max_page_size + + @max_page_size.setter + def max_page_size(self, max_page_size): + """Sets the max_page_size of this ListHistoryDataRequest. + + **参数解释:** 最大分页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 + + :param max_page_size: The max_page_size of this ListHistoryDataRequest. + :type max_page_size: int + """ + self._max_page_size = max_page_size + @property def page_size(self): """Gets the page_size of this ListHistoryDataRequest. - 每页大小。 + **参数解释:** 每页大小。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :return: The page_size of this ListHistoryDataRequest. :rtype: int @@ -144,7 +195,7 @@ def page_size(self): def page_size(self, page_size): """Sets the page_size of this ListHistoryDataRequest. - 每页大小。 + **参数解释:** 每页大小。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :param page_size: The page_size of this ListHistoryDataRequest. :type page_size: int @@ -152,32 +203,32 @@ def page_size(self, page_size): self._page_size = page_size @property - def total_rows(self): - """Gets the total_rows of this ListHistoryDataRequest. + def start_index(self): + """Gets the start_index of this ListHistoryDataRequest. - 总行数。 + **参数解释:** 起始索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 - :return: The total_rows of this ListHistoryDataRequest. + :return: The start_index of this ListHistoryDataRequest. :rtype: int """ - return self._total_rows + return self._start_index - @total_rows.setter - def total_rows(self, total_rows): - """Sets the total_rows of this ListHistoryDataRequest. + @start_index.setter + def start_index(self, start_index): + """Sets the start_index of this ListHistoryDataRequest. - 总行数。 + **参数解释:** 起始索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 - :param total_rows: The total_rows of this ListHistoryDataRequest. - :type total_rows: int + :param start_index: The start_index of this ListHistoryDataRequest. + :type start_index: int """ - self._total_rows = total_rows + self._start_index = start_index @property def total_pages(self): """Gets the total_pages of this ListHistoryDataRequest. - 总页数。 + **参数解释:** 总页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :return: The total_pages of this ListHistoryDataRequest. :rtype: int @@ -188,7 +239,7 @@ def total_pages(self): def total_pages(self, total_pages): """Sets the total_pages of this ListHistoryDataRequest. - 总页数。 + **参数解释:** 总页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :param total_pages: The total_pages of this ListHistoryDataRequest. :type total_pages: int @@ -196,54 +247,76 @@ def total_pages(self, total_pages): self._total_pages = total_pages @property - def limit(self): - """Gets the limit of this ListHistoryDataRequest. + def total_rows(self): + """Gets the total_rows of this ListHistoryDataRequest. + + **参数解释:** 总行数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 + + :return: The total_rows of this ListHistoryDataRequest. + :rtype: int + """ + return self._total_rows + + @total_rows.setter + def total_rows(self, total_rows): + """Sets the total_rows of this ListHistoryDataRequest. + + **参数解释:** 总行数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 + + :param total_rows: The total_rows of this ListHistoryDataRequest. + :type total_rows: int + """ + self._total_rows = total_rows + + @property + def page_size_path(self): + """Gets the page_size_path of this ListHistoryDataRequest. - 每页显示条目数量,limit和offset均传正确的数值时才起作用,且优先级高于pageSize和curPage。 + **参数解释:** 分页大小(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 1-1000。 **默认取值:** 不涉及。 - :return: The limit of this ListHistoryDataRequest. + :return: The page_size_path of this ListHistoryDataRequest. :rtype: int """ - return self._limit + return self._page_size_path - @limit.setter - def limit(self, limit): - """Sets the limit of this ListHistoryDataRequest. + @page_size_path.setter + def page_size_path(self, page_size_path): + """Sets the page_size_path of this ListHistoryDataRequest. - 每页显示条目数量,limit和offset均传正确的数值时才起作用,且优先级高于pageSize和curPage。 + **参数解释:** 分页大小(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 1-1000。 **默认取值:** 不涉及。 - :param limit: The limit of this ListHistoryDataRequest. - :type limit: int + :param page_size_path: The page_size_path of this ListHistoryDataRequest. + :type page_size_path: int """ - self._limit = limit + self._page_size_path = page_size_path @property - def offset(self): - """Gets the offset of this ListHistoryDataRequest. + def cur_page_path(self): + """Gets the cur_page_path of this ListHistoryDataRequest. - 偏移量,limit和offset均传正确的数值时才起作用,且优先级高于pageSize和curPage。 + **参数解释:** 当前页数(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 - :return: The offset of this ListHistoryDataRequest. + :return: The cur_page_path of this ListHistoryDataRequest. :rtype: int """ - return self._offset + return self._cur_page_path - @offset.setter - def offset(self, offset): - """Sets the offset of this ListHistoryDataRequest. + @cur_page_path.setter + def cur_page_path(self, cur_page_path): + """Sets the cur_page_path of this ListHistoryDataRequest. - 偏移量,limit和offset均传正确的数值时才起作用,且优先级高于pageSize和curPage。 + **参数解释:** 当前页数(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 - :param offset: The offset of this ListHistoryDataRequest. - :type offset: int + :param cur_page_path: The cur_page_path of this ListHistoryDataRequest. + :type cur_page_path: int """ - self._offset = offset + self._cur_page_path = cur_page_path @property def identifier(self): """Gets the identifier of this ListHistoryDataRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this ListHistoryDataRequest. :rtype: str @@ -254,7 +327,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this ListHistoryDataRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this ListHistoryDataRequest. :type identifier: str @@ -265,7 +338,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this ListHistoryDataRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this ListHistoryDataRequest. :rtype: str @@ -276,57 +349,13 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this ListHistoryDataRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this ListHistoryDataRequest. :type model_name: str """ self._model_name = model_name - @property - def page_size_path(self): - """Gets the page_size_path of this ListHistoryDataRequest. - - 分页大小(路径参数)。 - - :return: The page_size_path of this ListHistoryDataRequest. - :rtype: int - """ - return self._page_size_path - - @page_size_path.setter - def page_size_path(self, page_size_path): - """Sets the page_size_path of this ListHistoryDataRequest. - - 分页大小(路径参数)。 - - :param page_size_path: The page_size_path of this ListHistoryDataRequest. - :type page_size_path: int - """ - self._page_size_path = page_size_path - - @property - def cur_page_path(self): - """Gets the cur_page_path of this ListHistoryDataRequest. - - 当前页数(路径参数)。 - - :return: The cur_page_path of this ListHistoryDataRequest. - :rtype: int - """ - return self._cur_page_path - - @cur_page_path.setter - def cur_page_path(self, cur_page_path): - """Sets the cur_page_path of this ListHistoryDataRequest. - - 当前页数(路径参数)。 - - :param cur_page_path: The cur_page_path of this ListHistoryDataRequest. - :type cur_page_path: int - """ - self._cur_page_path = cur_page_path - @property def body(self): """Gets the body of this ListHistoryDataRequest. diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_history_data_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_history_data_response.py index 9d69e24a03..5d1e204057 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_history_data_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_history_data_response.py @@ -36,11 +36,11 @@ def __init__(self, result=None, data=None, errors=None, page_info=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.HistoryDataModelHistoryViewDTO`] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] :param page_info: :type page_info: :class:`huaweicloudsdkidmeclassicapi.v1.PageInfoViewDTO` @@ -67,7 +67,7 @@ def __init__(self, result=None, data=None, errors=None, page_info=None): def result(self): """Gets the result of this ListHistoryDataResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this ListHistoryDataResponse. :rtype: str @@ -78,7 +78,7 @@ def result(self): def result(self, result): """Sets the result of this ListHistoryDataResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this ListHistoryDataResponse. :type result: str @@ -89,7 +89,7 @@ def result(self, result): def data(self): """Gets the data of this ListHistoryDataResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this ListHistoryDataResponse. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.HistoryDataModelHistoryViewDTO`] @@ -100,7 +100,7 @@ def data(self): def data(self, data): """Sets the data of this ListHistoryDataResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this ListHistoryDataResponse. :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.HistoryDataModelHistoryViewDTO`] @@ -111,7 +111,7 @@ def data(self, data): def errors(self): """Gets the errors of this ListHistoryDataResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this ListHistoryDataResponse. :rtype: list[str] @@ -122,7 +122,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this ListHistoryDataResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this ListHistoryDataResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_query_related_objects_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_query_related_objects_request.py index 1c24726cb5..104bf1d43d 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_query_related_objects_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_query_related_objects_request.py @@ -24,10 +24,10 @@ class ListQueryRelatedObjectsRequest: 'start_index': 'int', 'total_pages': 'int', 'total_rows': 'int', - 'identifier': 'str', - 'model_name': 'str', 'page_size_path': 'int', 'cur_page_path': 'int', + 'identifier': 'str', + 'model_name': 'str', 'body': 'RDMParamVOGenericLinkQueryDTO' } @@ -39,40 +39,40 @@ class ListQueryRelatedObjectsRequest: 'start_index': 'startIndex', 'total_pages': 'totalPages', 'total_rows': 'totalRows', - 'identifier': 'identifier', - 'model_name': 'modelName', 'page_size_path': 'pageSizePath', 'cur_page_path': 'curPagePath', + 'identifier': 'identifier', + 'model_name': 'modelName', 'body': 'body' } - def __init__(self, cur_page=None, end_index=None, max_page_size=None, page_size=None, start_index=None, total_pages=None, total_rows=None, identifier=None, model_name=None, page_size_path=None, cur_page_path=None, body=None): + def __init__(self, cur_page=None, end_index=None, max_page_size=None, page_size=None, start_index=None, total_pages=None, total_rows=None, page_size_path=None, cur_page_path=None, identifier=None, model_name=None, body=None): """ListQueryRelatedObjectsRequest The model defined in huaweicloud sdk - :param cur_page: 当前页。 + :param cur_page: **参数解释:** 当前页。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :type cur_page: int - :param end_index: 结束索引。 + :param end_index: **参数解释:** 结束索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :type end_index: int - :param max_page_size: 最大分页数。 + :param max_page_size: **参数解释:** 最大分页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :type max_page_size: int - :param page_size: 每页大小。 + :param page_size: **参数解释:** 每页大小。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :type page_size: int - :param start_index: 起始索引。 + :param start_index: **参数解释:** 起始索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :type start_index: int - :param total_pages: 总页数。 + :param total_pages: **参数解释:** 总页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :type total_pages: int - :param total_rows: 总行数。 + :param total_rows: **参数解释:** 总行数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :type total_rows: int - :param identifier: 应用ID。 - :type identifier: str - :param model_name: 数据模型的英文名称。 - :type model_name: str - :param page_size_path: 分页大小(路径参数)。 + :param page_size_path: **参数解释:** 分页大小(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 1-1000。 **默认取值:** 不涉及。 :type page_size_path: int - :param cur_page_path: 当前页数(路径参数)。 + :param cur_page_path: **参数解释:** 当前页数(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :type cur_page_path: int + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 + :type identifier: str + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 + :type model_name: str :param body: Body of the ListQueryRelatedObjectsRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOGenericLinkQueryDTO` """ @@ -86,10 +86,10 @@ def __init__(self, cur_page=None, end_index=None, max_page_size=None, page_size= self._start_index = None self._total_pages = None self._total_rows = None - self._identifier = None - self._model_name = None self._page_size_path = None self._cur_page_path = None + self._identifier = None + self._model_name = None self._body = None self.discriminator = None @@ -107,10 +107,10 @@ def __init__(self, cur_page=None, end_index=None, max_page_size=None, page_size= self.total_pages = total_pages if total_rows is not None: self.total_rows = total_rows - self.identifier = identifier - self.model_name = model_name self.page_size_path = page_size_path self.cur_page_path = cur_page_path + self.identifier = identifier + self.model_name = model_name if body is not None: self.body = body @@ -118,7 +118,7 @@ def __init__(self, cur_page=None, end_index=None, max_page_size=None, page_size= def cur_page(self): """Gets the cur_page of this ListQueryRelatedObjectsRequest. - 当前页。 + **参数解释:** 当前页。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :return: The cur_page of this ListQueryRelatedObjectsRequest. :rtype: int @@ -129,7 +129,7 @@ def cur_page(self): def cur_page(self, cur_page): """Sets the cur_page of this ListQueryRelatedObjectsRequest. - 当前页。 + **参数解释:** 当前页。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :param cur_page: The cur_page of this ListQueryRelatedObjectsRequest. :type cur_page: int @@ -140,7 +140,7 @@ def cur_page(self, cur_page): def end_index(self): """Gets the end_index of this ListQueryRelatedObjectsRequest. - 结束索引。 + **参数解释:** 结束索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :return: The end_index of this ListQueryRelatedObjectsRequest. :rtype: int @@ -151,7 +151,7 @@ def end_index(self): def end_index(self, end_index): """Sets the end_index of this ListQueryRelatedObjectsRequest. - 结束索引。 + **参数解释:** 结束索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :param end_index: The end_index of this ListQueryRelatedObjectsRequest. :type end_index: int @@ -162,7 +162,7 @@ def end_index(self, end_index): def max_page_size(self): """Gets the max_page_size of this ListQueryRelatedObjectsRequest. - 最大分页数。 + **参数解释:** 最大分页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :return: The max_page_size of this ListQueryRelatedObjectsRequest. :rtype: int @@ -173,7 +173,7 @@ def max_page_size(self): def max_page_size(self, max_page_size): """Sets the max_page_size of this ListQueryRelatedObjectsRequest. - 最大分页数。 + **参数解释:** 最大分页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :param max_page_size: The max_page_size of this ListQueryRelatedObjectsRequest. :type max_page_size: int @@ -184,7 +184,7 @@ def max_page_size(self, max_page_size): def page_size(self): """Gets the page_size of this ListQueryRelatedObjectsRequest. - 每页大小。 + **参数解释:** 每页大小。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :return: The page_size of this ListQueryRelatedObjectsRequest. :rtype: int @@ -195,7 +195,7 @@ def page_size(self): def page_size(self, page_size): """Sets the page_size of this ListQueryRelatedObjectsRequest. - 每页大小。 + **参数解释:** 每页大小。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :param page_size: The page_size of this ListQueryRelatedObjectsRequest. :type page_size: int @@ -206,7 +206,7 @@ def page_size(self, page_size): def start_index(self): """Gets the start_index of this ListQueryRelatedObjectsRequest. - 起始索引。 + **参数解释:** 起始索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :return: The start_index of this ListQueryRelatedObjectsRequest. :rtype: int @@ -217,7 +217,7 @@ def start_index(self): def start_index(self, start_index): """Sets the start_index of this ListQueryRelatedObjectsRequest. - 起始索引。 + **参数解释:** 起始索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :param start_index: The start_index of this ListQueryRelatedObjectsRequest. :type start_index: int @@ -228,7 +228,7 @@ def start_index(self, start_index): def total_pages(self): """Gets the total_pages of this ListQueryRelatedObjectsRequest. - 总页数。 + **参数解释:** 总页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :return: The total_pages of this ListQueryRelatedObjectsRequest. :rtype: int @@ -239,7 +239,7 @@ def total_pages(self): def total_pages(self, total_pages): """Sets the total_pages of this ListQueryRelatedObjectsRequest. - 总页数。 + **参数解释:** 总页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :param total_pages: The total_pages of this ListQueryRelatedObjectsRequest. :type total_pages: int @@ -250,7 +250,7 @@ def total_pages(self, total_pages): def total_rows(self): """Gets the total_rows of this ListQueryRelatedObjectsRequest. - 总行数。 + **参数解释:** 总行数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :return: The total_rows of this ListQueryRelatedObjectsRequest. :rtype: int @@ -261,62 +261,18 @@ def total_rows(self): def total_rows(self, total_rows): """Sets the total_rows of this ListQueryRelatedObjectsRequest. - 总行数。 + **参数解释:** 总行数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :param total_rows: The total_rows of this ListQueryRelatedObjectsRequest. :type total_rows: int """ self._total_rows = total_rows - @property - def identifier(self): - """Gets the identifier of this ListQueryRelatedObjectsRequest. - - 应用ID。 - - :return: The identifier of this ListQueryRelatedObjectsRequest. - :rtype: str - """ - return self._identifier - - @identifier.setter - def identifier(self, identifier): - """Sets the identifier of this ListQueryRelatedObjectsRequest. - - 应用ID。 - - :param identifier: The identifier of this ListQueryRelatedObjectsRequest. - :type identifier: str - """ - self._identifier = identifier - - @property - def model_name(self): - """Gets the model_name of this ListQueryRelatedObjectsRequest. - - 数据模型的英文名称。 - - :return: The model_name of this ListQueryRelatedObjectsRequest. - :rtype: str - """ - return self._model_name - - @model_name.setter - def model_name(self, model_name): - """Sets the model_name of this ListQueryRelatedObjectsRequest. - - 数据模型的英文名称。 - - :param model_name: The model_name of this ListQueryRelatedObjectsRequest. - :type model_name: str - """ - self._model_name = model_name - @property def page_size_path(self): """Gets the page_size_path of this ListQueryRelatedObjectsRequest. - 分页大小(路径参数)。 + **参数解释:** 分页大小(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 1-1000。 **默认取值:** 不涉及。 :return: The page_size_path of this ListQueryRelatedObjectsRequest. :rtype: int @@ -327,7 +283,7 @@ def page_size_path(self): def page_size_path(self, page_size_path): """Sets the page_size_path of this ListQueryRelatedObjectsRequest. - 分页大小(路径参数)。 + **参数解释:** 分页大小(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 1-1000。 **默认取值:** 不涉及。 :param page_size_path: The page_size_path of this ListQueryRelatedObjectsRequest. :type page_size_path: int @@ -338,7 +294,7 @@ def page_size_path(self, page_size_path): def cur_page_path(self): """Gets the cur_page_path of this ListQueryRelatedObjectsRequest. - 当前页数(路径参数)。 + **参数解释:** 当前页数(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :return: The cur_page_path of this ListQueryRelatedObjectsRequest. :rtype: int @@ -349,13 +305,57 @@ def cur_page_path(self): def cur_page_path(self, cur_page_path): """Sets the cur_page_path of this ListQueryRelatedObjectsRequest. - 当前页数(路径参数)。 + **参数解释:** 当前页数(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :param cur_page_path: The cur_page_path of this ListQueryRelatedObjectsRequest. :type cur_page_path: int """ self._cur_page_path = cur_page_path + @property + def identifier(self): + """Gets the identifier of this ListQueryRelatedObjectsRequest. + + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 + + :return: The identifier of this ListQueryRelatedObjectsRequest. + :rtype: str + """ + return self._identifier + + @identifier.setter + def identifier(self, identifier): + """Sets the identifier of this ListQueryRelatedObjectsRequest. + + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 + + :param identifier: The identifier of this ListQueryRelatedObjectsRequest. + :type identifier: str + """ + self._identifier = identifier + + @property + def model_name(self): + """Gets the model_name of this ListQueryRelatedObjectsRequest. + + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 + + :return: The model_name of this ListQueryRelatedObjectsRequest. + :rtype: str + """ + return self._model_name + + @model_name.setter + def model_name(self, model_name): + """Sets the model_name of this ListQueryRelatedObjectsRequest. + + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 + + :param model_name: The model_name of this ListQueryRelatedObjectsRequest. + :type model_name: str + """ + self._model_name = model_name + @property def body(self): """Gets the body of this ListQueryRelatedObjectsRequest. diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_query_related_objects_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_query_related_objects_response.py index 3e7ac2707c..7dfb3844ac 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_query_related_objects_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_query_related_objects_response.py @@ -36,11 +36,11 @@ def __init__(self, result=None, data=None, errors=None, page_info=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.BasicObjectQueryViewDTO`] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] :param page_info: :type page_info: :class:`huaweicloudsdkidmeclassicapi.v1.PageInfoViewDTO` @@ -67,7 +67,7 @@ def __init__(self, result=None, data=None, errors=None, page_info=None): def result(self): """Gets the result of this ListQueryRelatedObjectsResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this ListQueryRelatedObjectsResponse. :rtype: str @@ -78,7 +78,7 @@ def result(self): def result(self, result): """Sets the result of this ListQueryRelatedObjectsResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this ListQueryRelatedObjectsResponse. :type result: str @@ -89,7 +89,7 @@ def result(self, result): def data(self): """Gets the data of this ListQueryRelatedObjectsResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this ListQueryRelatedObjectsResponse. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.BasicObjectQueryViewDTO`] @@ -100,7 +100,7 @@ def data(self): def data(self, data): """Sets the data of this ListQueryRelatedObjectsResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this ListQueryRelatedObjectsResponse. :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.BasicObjectQueryViewDTO`] @@ -111,7 +111,7 @@ def data(self, data): def errors(self): """Gets the errors of this ListQueryRelatedObjectsResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this ListQueryRelatedObjectsResponse. :rtype: list[str] @@ -122,7 +122,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this ListQueryRelatedObjectsResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this ListQueryRelatedObjectsResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_query_relationship_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_query_relationship_request.py index 6089cc870c..bd1dd5111f 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_query_relationship_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_query_relationship_request.py @@ -24,10 +24,10 @@ class ListQueryRelationshipRequest: 'start_index': 'int', 'total_pages': 'int', 'total_rows': 'int', - 'identifier': 'str', - 'model_name': 'str', 'page_size_path': 'int', 'cur_page_path': 'int', + 'identifier': 'str', + 'model_name': 'str', 'body': 'RDMParamVOGenericLinkQueryDTO' } @@ -39,40 +39,40 @@ class ListQueryRelationshipRequest: 'start_index': 'startIndex', 'total_pages': 'totalPages', 'total_rows': 'totalRows', - 'identifier': 'identifier', - 'model_name': 'modelName', 'page_size_path': 'pageSizePath', 'cur_page_path': 'curPagePath', + 'identifier': 'identifier', + 'model_name': 'modelName', 'body': 'body' } - def __init__(self, cur_page=None, end_index=None, max_page_size=None, page_size=None, start_index=None, total_pages=None, total_rows=None, identifier=None, model_name=None, page_size_path=None, cur_page_path=None, body=None): + def __init__(self, cur_page=None, end_index=None, max_page_size=None, page_size=None, start_index=None, total_pages=None, total_rows=None, page_size_path=None, cur_page_path=None, identifier=None, model_name=None, body=None): """ListQueryRelationshipRequest The model defined in huaweicloud sdk - :param cur_page: 当前页。 + :param cur_page: **参数解释:** 当前页。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :type cur_page: int - :param end_index: 结束索引。 + :param end_index: **参数解释:** 结束索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :type end_index: int - :param max_page_size: 最大分页数。 + :param max_page_size: **参数解释:** 最大分页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :type max_page_size: int - :param page_size: 每页大小。 + :param page_size: **参数解释:** 每页大小。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :type page_size: int - :param start_index: 起始索引。 + :param start_index: **参数解释:** 起始索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :type start_index: int - :param total_pages: 总页数。 + :param total_pages: **参数解释:** 总页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :type total_pages: int - :param total_rows: 总行数。 + :param total_rows: **参数解释:** 总行数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :type total_rows: int - :param identifier: 应用ID。 - :type identifier: str - :param model_name: 数据模型的英文名称。 - :type model_name: str - :param page_size_path: 分页大小(路径参数)。 + :param page_size_path: **参数解释:** 分页大小(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 1-1000。 **默认取值:** 不涉及。 :type page_size_path: int - :param cur_page_path: 当前页数(路径参数)。 + :param cur_page_path: **参数解释:** 当前页数(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :type cur_page_path: int + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 + :type identifier: str + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 + :type model_name: str :param body: Body of the ListQueryRelationshipRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOGenericLinkQueryDTO` """ @@ -86,10 +86,10 @@ def __init__(self, cur_page=None, end_index=None, max_page_size=None, page_size= self._start_index = None self._total_pages = None self._total_rows = None - self._identifier = None - self._model_name = None self._page_size_path = None self._cur_page_path = None + self._identifier = None + self._model_name = None self._body = None self.discriminator = None @@ -107,10 +107,10 @@ def __init__(self, cur_page=None, end_index=None, max_page_size=None, page_size= self.total_pages = total_pages if total_rows is not None: self.total_rows = total_rows - self.identifier = identifier - self.model_name = model_name self.page_size_path = page_size_path self.cur_page_path = cur_page_path + self.identifier = identifier + self.model_name = model_name if body is not None: self.body = body @@ -118,7 +118,7 @@ def __init__(self, cur_page=None, end_index=None, max_page_size=None, page_size= def cur_page(self): """Gets the cur_page of this ListQueryRelationshipRequest. - 当前页。 + **参数解释:** 当前页。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :return: The cur_page of this ListQueryRelationshipRequest. :rtype: int @@ -129,7 +129,7 @@ def cur_page(self): def cur_page(self, cur_page): """Sets the cur_page of this ListQueryRelationshipRequest. - 当前页。 + **参数解释:** 当前页。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :param cur_page: The cur_page of this ListQueryRelationshipRequest. :type cur_page: int @@ -140,7 +140,7 @@ def cur_page(self, cur_page): def end_index(self): """Gets the end_index of this ListQueryRelationshipRequest. - 结束索引。 + **参数解释:** 结束索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :return: The end_index of this ListQueryRelationshipRequest. :rtype: int @@ -151,7 +151,7 @@ def end_index(self): def end_index(self, end_index): """Sets the end_index of this ListQueryRelationshipRequest. - 结束索引。 + **参数解释:** 结束索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :param end_index: The end_index of this ListQueryRelationshipRequest. :type end_index: int @@ -162,7 +162,7 @@ def end_index(self, end_index): def max_page_size(self): """Gets the max_page_size of this ListQueryRelationshipRequest. - 最大分页数。 + **参数解释:** 最大分页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :return: The max_page_size of this ListQueryRelationshipRequest. :rtype: int @@ -173,7 +173,7 @@ def max_page_size(self): def max_page_size(self, max_page_size): """Sets the max_page_size of this ListQueryRelationshipRequest. - 最大分页数。 + **参数解释:** 最大分页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :param max_page_size: The max_page_size of this ListQueryRelationshipRequest. :type max_page_size: int @@ -184,7 +184,7 @@ def max_page_size(self, max_page_size): def page_size(self): """Gets the page_size of this ListQueryRelationshipRequest. - 每页大小。 + **参数解释:** 每页大小。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :return: The page_size of this ListQueryRelationshipRequest. :rtype: int @@ -195,7 +195,7 @@ def page_size(self): def page_size(self, page_size): """Sets the page_size of this ListQueryRelationshipRequest. - 每页大小。 + **参数解释:** 每页大小。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :param page_size: The page_size of this ListQueryRelationshipRequest. :type page_size: int @@ -206,7 +206,7 @@ def page_size(self, page_size): def start_index(self): """Gets the start_index of this ListQueryRelationshipRequest. - 起始索引。 + **参数解释:** 起始索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :return: The start_index of this ListQueryRelationshipRequest. :rtype: int @@ -217,7 +217,7 @@ def start_index(self): def start_index(self, start_index): """Sets the start_index of this ListQueryRelationshipRequest. - 起始索引。 + **参数解释:** 起始索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :param start_index: The start_index of this ListQueryRelationshipRequest. :type start_index: int @@ -228,7 +228,7 @@ def start_index(self, start_index): def total_pages(self): """Gets the total_pages of this ListQueryRelationshipRequest. - 总页数。 + **参数解释:** 总页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :return: The total_pages of this ListQueryRelationshipRequest. :rtype: int @@ -239,7 +239,7 @@ def total_pages(self): def total_pages(self, total_pages): """Sets the total_pages of this ListQueryRelationshipRequest. - 总页数。 + **参数解释:** 总页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :param total_pages: The total_pages of this ListQueryRelationshipRequest. :type total_pages: int @@ -250,7 +250,7 @@ def total_pages(self, total_pages): def total_rows(self): """Gets the total_rows of this ListQueryRelationshipRequest. - 总行数。 + **参数解释:** 总行数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :return: The total_rows of this ListQueryRelationshipRequest. :rtype: int @@ -261,62 +261,18 @@ def total_rows(self): def total_rows(self, total_rows): """Sets the total_rows of this ListQueryRelationshipRequest. - 总行数。 + **参数解释:** 总行数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :param total_rows: The total_rows of this ListQueryRelationshipRequest. :type total_rows: int """ self._total_rows = total_rows - @property - def identifier(self): - """Gets the identifier of this ListQueryRelationshipRequest. - - 应用ID。 - - :return: The identifier of this ListQueryRelationshipRequest. - :rtype: str - """ - return self._identifier - - @identifier.setter - def identifier(self, identifier): - """Sets the identifier of this ListQueryRelationshipRequest. - - 应用ID。 - - :param identifier: The identifier of this ListQueryRelationshipRequest. - :type identifier: str - """ - self._identifier = identifier - - @property - def model_name(self): - """Gets the model_name of this ListQueryRelationshipRequest. - - 数据模型的英文名称。 - - :return: The model_name of this ListQueryRelationshipRequest. - :rtype: str - """ - return self._model_name - - @model_name.setter - def model_name(self, model_name): - """Sets the model_name of this ListQueryRelationshipRequest. - - 数据模型的英文名称。 - - :param model_name: The model_name of this ListQueryRelationshipRequest. - :type model_name: str - """ - self._model_name = model_name - @property def page_size_path(self): """Gets the page_size_path of this ListQueryRelationshipRequest. - 分页大小(路径参数)。 + **参数解释:** 分页大小(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 1-1000。 **默认取值:** 不涉及。 :return: The page_size_path of this ListQueryRelationshipRequest. :rtype: int @@ -327,7 +283,7 @@ def page_size_path(self): def page_size_path(self, page_size_path): """Sets the page_size_path of this ListQueryRelationshipRequest. - 分页大小(路径参数)。 + **参数解释:** 分页大小(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 1-1000。 **默认取值:** 不涉及。 :param page_size_path: The page_size_path of this ListQueryRelationshipRequest. :type page_size_path: int @@ -338,7 +294,7 @@ def page_size_path(self, page_size_path): def cur_page_path(self): """Gets the cur_page_path of this ListQueryRelationshipRequest. - 当前页数(路径参数)。 + **参数解释:** 当前页数(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :return: The cur_page_path of this ListQueryRelationshipRequest. :rtype: int @@ -349,13 +305,57 @@ def cur_page_path(self): def cur_page_path(self, cur_page_path): """Sets the cur_page_path of this ListQueryRelationshipRequest. - 当前页数(路径参数)。 + **参数解释:** 当前页数(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :param cur_page_path: The cur_page_path of this ListQueryRelationshipRequest. :type cur_page_path: int """ self._cur_page_path = cur_page_path + @property + def identifier(self): + """Gets the identifier of this ListQueryRelationshipRequest. + + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 + + :return: The identifier of this ListQueryRelationshipRequest. + :rtype: str + """ + return self._identifier + + @identifier.setter + def identifier(self, identifier): + """Sets the identifier of this ListQueryRelationshipRequest. + + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 + + :param identifier: The identifier of this ListQueryRelationshipRequest. + :type identifier: str + """ + self._identifier = identifier + + @property + def model_name(self): + """Gets the model_name of this ListQueryRelationshipRequest. + + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 + + :return: The model_name of this ListQueryRelationshipRequest. + :rtype: str + """ + return self._model_name + + @model_name.setter + def model_name(self, model_name): + """Sets the model_name of this ListQueryRelationshipRequest. + + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 + + :param model_name: The model_name of this ListQueryRelationshipRequest. + :type model_name: str + """ + self._model_name = model_name + @property def body(self): """Gets the body of this ListQueryRelationshipRequest. diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_query_relationship_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_query_relationship_response.py index 65de98083a..dd552d7fde 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_query_relationship_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_query_relationship_response.py @@ -36,11 +36,11 @@ def __init__(self, result=None, data=None, errors=None, page_info=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.RelationModelViewDTO`] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] :param page_info: :type page_info: :class:`huaweicloudsdkidmeclassicapi.v1.PageInfoViewDTO` @@ -67,7 +67,7 @@ def __init__(self, result=None, data=None, errors=None, page_info=None): def result(self): """Gets the result of this ListQueryRelationshipResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this ListQueryRelationshipResponse. :rtype: str @@ -78,7 +78,7 @@ def result(self): def result(self, result): """Sets the result of this ListQueryRelationshipResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this ListQueryRelationshipResponse. :type result: str @@ -89,7 +89,7 @@ def result(self, result): def data(self): """Gets the data of this ListQueryRelationshipResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this ListQueryRelationshipResponse. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.RelationModelViewDTO`] @@ -100,7 +100,7 @@ def data(self): def data(self, data): """Sets the data of this ListQueryRelationshipResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this ListQueryRelationshipResponse. :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.RelationModelViewDTO`] @@ -111,7 +111,7 @@ def data(self, data): def errors(self): """Gets the errors of this ListQueryRelationshipResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this ListQueryRelationshipResponse. :rtype: list[str] @@ -122,7 +122,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this ListQueryRelationshipResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this ListQueryRelationshipResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_query_target_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_query_target_request.py index 79576c3f04..efa6cf86d8 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_query_target_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_query_target_request.py @@ -24,10 +24,10 @@ class ListQueryTargetRequest: 'start_index': 'int', 'total_pages': 'int', 'total_rows': 'int', - 'identifier': 'str', - 'model_name': 'str', 'page_size_path': 'int', 'cur_page_path': 'int', + 'identifier': 'str', + 'model_name': 'str', 'body': 'RDMParamVOGenericLinkTypeDTO' } @@ -39,40 +39,40 @@ class ListQueryTargetRequest: 'start_index': 'startIndex', 'total_pages': 'totalPages', 'total_rows': 'totalRows', - 'identifier': 'identifier', - 'model_name': 'modelName', 'page_size_path': 'pageSizePath', 'cur_page_path': 'curPagePath', + 'identifier': 'identifier', + 'model_name': 'modelName', 'body': 'body' } - def __init__(self, cur_page=None, end_index=None, max_page_size=None, page_size=None, start_index=None, total_pages=None, total_rows=None, identifier=None, model_name=None, page_size_path=None, cur_page_path=None, body=None): + def __init__(self, cur_page=None, end_index=None, max_page_size=None, page_size=None, start_index=None, total_pages=None, total_rows=None, page_size_path=None, cur_page_path=None, identifier=None, model_name=None, body=None): """ListQueryTargetRequest The model defined in huaweicloud sdk - :param cur_page: 当前页。 + :param cur_page: **参数解释:** 当前页。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :type cur_page: int - :param end_index: 结束索引。 + :param end_index: **参数解释:** 结束索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :type end_index: int - :param max_page_size: 最大分页数。 + :param max_page_size: **参数解释:** 最大分页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :type max_page_size: int - :param page_size: 每页大小。 + :param page_size: **参数解释:** 每页大小。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :type page_size: int - :param start_index: 起始索引。 + :param start_index: **参数解释:** 起始索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :type start_index: int - :param total_pages: 总页数。 + :param total_pages: **参数解释:** 总页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :type total_pages: int - :param total_rows: 总行数。 + :param total_rows: **参数解释:** 总行数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :type total_rows: int - :param identifier: 应用ID。 - :type identifier: str - :param model_name: 数据模型的英文名称。 - :type model_name: str - :param page_size_path: 分页大小(路径参数)。 + :param page_size_path: **参数解释:** 分页大小(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 1-1000。 **默认取值:** 不涉及。 :type page_size_path: int - :param cur_page_path: 当前页数(路径参数)。 + :param cur_page_path: **参数解释:** 当前页数(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :type cur_page_path: int + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 + :type identifier: str + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 + :type model_name: str :param body: Body of the ListQueryTargetRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOGenericLinkTypeDTO` """ @@ -86,10 +86,10 @@ def __init__(self, cur_page=None, end_index=None, max_page_size=None, page_size= self._start_index = None self._total_pages = None self._total_rows = None - self._identifier = None - self._model_name = None self._page_size_path = None self._cur_page_path = None + self._identifier = None + self._model_name = None self._body = None self.discriminator = None @@ -107,10 +107,10 @@ def __init__(self, cur_page=None, end_index=None, max_page_size=None, page_size= self.total_pages = total_pages if total_rows is not None: self.total_rows = total_rows - self.identifier = identifier - self.model_name = model_name self.page_size_path = page_size_path self.cur_page_path = cur_page_path + self.identifier = identifier + self.model_name = model_name if body is not None: self.body = body @@ -118,7 +118,7 @@ def __init__(self, cur_page=None, end_index=None, max_page_size=None, page_size= def cur_page(self): """Gets the cur_page of this ListQueryTargetRequest. - 当前页。 + **参数解释:** 当前页。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :return: The cur_page of this ListQueryTargetRequest. :rtype: int @@ -129,7 +129,7 @@ def cur_page(self): def cur_page(self, cur_page): """Sets the cur_page of this ListQueryTargetRequest. - 当前页。 + **参数解释:** 当前页。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :param cur_page: The cur_page of this ListQueryTargetRequest. :type cur_page: int @@ -140,7 +140,7 @@ def cur_page(self, cur_page): def end_index(self): """Gets the end_index of this ListQueryTargetRequest. - 结束索引。 + **参数解释:** 结束索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :return: The end_index of this ListQueryTargetRequest. :rtype: int @@ -151,7 +151,7 @@ def end_index(self): def end_index(self, end_index): """Sets the end_index of this ListQueryTargetRequest. - 结束索引。 + **参数解释:** 结束索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :param end_index: The end_index of this ListQueryTargetRequest. :type end_index: int @@ -162,7 +162,7 @@ def end_index(self, end_index): def max_page_size(self): """Gets the max_page_size of this ListQueryTargetRequest. - 最大分页数。 + **参数解释:** 最大分页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :return: The max_page_size of this ListQueryTargetRequest. :rtype: int @@ -173,7 +173,7 @@ def max_page_size(self): def max_page_size(self, max_page_size): """Sets the max_page_size of this ListQueryTargetRequest. - 最大分页数。 + **参数解释:** 最大分页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :param max_page_size: The max_page_size of this ListQueryTargetRequest. :type max_page_size: int @@ -184,7 +184,7 @@ def max_page_size(self, max_page_size): def page_size(self): """Gets the page_size of this ListQueryTargetRequest. - 每页大小。 + **参数解释:** 每页大小。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :return: The page_size of this ListQueryTargetRequest. :rtype: int @@ -195,7 +195,7 @@ def page_size(self): def page_size(self, page_size): """Sets the page_size of this ListQueryTargetRequest. - 每页大小。 + **参数解释:** 每页大小。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :param page_size: The page_size of this ListQueryTargetRequest. :type page_size: int @@ -206,7 +206,7 @@ def page_size(self, page_size): def start_index(self): """Gets the start_index of this ListQueryTargetRequest. - 起始索引。 + **参数解释:** 起始索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :return: The start_index of this ListQueryTargetRequest. :rtype: int @@ -217,7 +217,7 @@ def start_index(self): def start_index(self, start_index): """Sets the start_index of this ListQueryTargetRequest. - 起始索引。 + **参数解释:** 起始索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :param start_index: The start_index of this ListQueryTargetRequest. :type start_index: int @@ -228,7 +228,7 @@ def start_index(self, start_index): def total_pages(self): """Gets the total_pages of this ListQueryTargetRequest. - 总页数。 + **参数解释:** 总页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :return: The total_pages of this ListQueryTargetRequest. :rtype: int @@ -239,7 +239,7 @@ def total_pages(self): def total_pages(self, total_pages): """Sets the total_pages of this ListQueryTargetRequest. - 总页数。 + **参数解释:** 总页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :param total_pages: The total_pages of this ListQueryTargetRequest. :type total_pages: int @@ -250,7 +250,7 @@ def total_pages(self, total_pages): def total_rows(self): """Gets the total_rows of this ListQueryTargetRequest. - 总行数。 + **参数解释:** 总行数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :return: The total_rows of this ListQueryTargetRequest. :rtype: int @@ -261,62 +261,18 @@ def total_rows(self): def total_rows(self, total_rows): """Sets the total_rows of this ListQueryTargetRequest. - 总行数。 + **参数解释:** 总行数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :param total_rows: The total_rows of this ListQueryTargetRequest. :type total_rows: int """ self._total_rows = total_rows - @property - def identifier(self): - """Gets the identifier of this ListQueryTargetRequest. - - 应用ID。 - - :return: The identifier of this ListQueryTargetRequest. - :rtype: str - """ - return self._identifier - - @identifier.setter - def identifier(self, identifier): - """Sets the identifier of this ListQueryTargetRequest. - - 应用ID。 - - :param identifier: The identifier of this ListQueryTargetRequest. - :type identifier: str - """ - self._identifier = identifier - - @property - def model_name(self): - """Gets the model_name of this ListQueryTargetRequest. - - 数据模型的英文名称。 - - :return: The model_name of this ListQueryTargetRequest. - :rtype: str - """ - return self._model_name - - @model_name.setter - def model_name(self, model_name): - """Sets the model_name of this ListQueryTargetRequest. - - 数据模型的英文名称。 - - :param model_name: The model_name of this ListQueryTargetRequest. - :type model_name: str - """ - self._model_name = model_name - @property def page_size_path(self): """Gets the page_size_path of this ListQueryTargetRequest. - 分页大小(路径参数)。 + **参数解释:** 分页大小(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 1-1000。 **默认取值:** 不涉及。 :return: The page_size_path of this ListQueryTargetRequest. :rtype: int @@ -327,7 +283,7 @@ def page_size_path(self): def page_size_path(self, page_size_path): """Sets the page_size_path of this ListQueryTargetRequest. - 分页大小(路径参数)。 + **参数解释:** 分页大小(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 1-1000。 **默认取值:** 不涉及。 :param page_size_path: The page_size_path of this ListQueryTargetRequest. :type page_size_path: int @@ -338,7 +294,7 @@ def page_size_path(self, page_size_path): def cur_page_path(self): """Gets the cur_page_path of this ListQueryTargetRequest. - 当前页数(路径参数)。 + **参数解释:** 当前页数(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :return: The cur_page_path of this ListQueryTargetRequest. :rtype: int @@ -349,13 +305,57 @@ def cur_page_path(self): def cur_page_path(self, cur_page_path): """Sets the cur_page_path of this ListQueryTargetRequest. - 当前页数(路径参数)。 + **参数解释:** 当前页数(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :param cur_page_path: The cur_page_path of this ListQueryTargetRequest. :type cur_page_path: int """ self._cur_page_path = cur_page_path + @property + def identifier(self): + """Gets the identifier of this ListQueryTargetRequest. + + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 + + :return: The identifier of this ListQueryTargetRequest. + :rtype: str + """ + return self._identifier + + @identifier.setter + def identifier(self, identifier): + """Sets the identifier of this ListQueryTargetRequest. + + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 + + :param identifier: The identifier of this ListQueryTargetRequest. + :type identifier: str + """ + self._identifier = identifier + + @property + def model_name(self): + """Gets the model_name of this ListQueryTargetRequest. + + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 + + :return: The model_name of this ListQueryTargetRequest. + :rtype: str + """ + return self._model_name + + @model_name.setter + def model_name(self, model_name): + """Sets the model_name of this ListQueryTargetRequest. + + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 + + :param model_name: The model_name of this ListQueryTargetRequest. + :type model_name: str + """ + self._model_name = model_name + @property def body(self): """Gets the body of this ListQueryTargetRequest. diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_query_target_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_query_target_response.py index d475e06dc4..3bf5b2a9fb 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_query_target_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_query_target_response.py @@ -36,11 +36,11 @@ def __init__(self, result=None, data=None, errors=None, page_info=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.StudentQueryViewDTO`] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] :param page_info: :type page_info: :class:`huaweicloudsdkidmeclassicapi.v1.PageInfoViewDTO` @@ -67,7 +67,7 @@ def __init__(self, result=None, data=None, errors=None, page_info=None): def result(self): """Gets the result of this ListQueryTargetResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this ListQueryTargetResponse. :rtype: str @@ -78,7 +78,7 @@ def result(self): def result(self, result): """Sets the result of this ListQueryTargetResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this ListQueryTargetResponse. :type result: str @@ -89,7 +89,7 @@ def result(self, result): def data(self): """Gets the data of this ListQueryTargetResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this ListQueryTargetResponse. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.StudentQueryViewDTO`] @@ -100,7 +100,7 @@ def data(self): def data(self, data): """Sets the data of this ListQueryTargetResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this ListQueryTargetResponse. :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.StudentQueryViewDTO`] @@ -111,7 +111,7 @@ def data(self, data): def errors(self): """Gets the errors of this ListQueryTargetResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this ListQueryTargetResponse. :rtype: list[str] @@ -122,7 +122,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this ListQueryTargetResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this ListQueryTargetResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_query_using_post_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_query_using_post_request.py index 4fa44e933a..b64a473ce4 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_query_using_post_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_query_using_post_request.py @@ -24,10 +24,10 @@ class ListQueryUsingPostRequest: 'start_index': 'int', 'total_pages': 'int', 'total_rows': 'int', - 'identifier': 'str', - 'model_name': 'str', 'page_size_path': 'int', 'cur_page_path': 'int', + 'identifier': 'str', + 'model_name': 'str', 'body': 'RDMParamVOQueryRequestVo' } @@ -39,40 +39,40 @@ class ListQueryUsingPostRequest: 'start_index': 'startIndex', 'total_pages': 'totalPages', 'total_rows': 'totalRows', - 'identifier': 'identifier', - 'model_name': 'modelName', 'page_size_path': 'pageSizePath', 'cur_page_path': 'curPagePath', + 'identifier': 'identifier', + 'model_name': 'modelName', 'body': 'body' } - def __init__(self, cur_page=None, end_index=None, max_page_size=None, page_size=None, start_index=None, total_pages=None, total_rows=None, identifier=None, model_name=None, page_size_path=None, cur_page_path=None, body=None): + def __init__(self, cur_page=None, end_index=None, max_page_size=None, page_size=None, start_index=None, total_pages=None, total_rows=None, page_size_path=None, cur_page_path=None, identifier=None, model_name=None, body=None): """ListQueryUsingPostRequest The model defined in huaweicloud sdk - :param cur_page: 当前页。 + :param cur_page: **参数解释:** 当前页。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :type cur_page: int - :param end_index: 结束索引。 + :param end_index: **参数解释:** 结束索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :type end_index: int - :param max_page_size: 最大分页数。 + :param max_page_size: **参数解释:** 最大分页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :type max_page_size: int - :param page_size: 每页大小。 + :param page_size: **参数解释:** 每页大小。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :type page_size: int - :param start_index: 起始索引。 + :param start_index: **参数解释:** 起始索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :type start_index: int - :param total_pages: 总页数。 + :param total_pages: **参数解释:** 总页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :type total_pages: int - :param total_rows: 总行数。 + :param total_rows: **参数解释:** 总行数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :type total_rows: int - :param identifier: 应用ID。 - :type identifier: str - :param model_name: 数据模型的英文名称。 - :type model_name: str - :param page_size_path: 分页大小(路径参数)。 + :param page_size_path: **参数解释:** 分页大小(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 1-1000。 **默认取值:** 不涉及。 :type page_size_path: int - :param cur_page_path: 当前页数(路径参数)。 + :param cur_page_path: **参数解释:** 当前页数(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :type cur_page_path: int + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 + :type identifier: str + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 + :type model_name: str :param body: Body of the ListQueryUsingPostRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOQueryRequestVo` """ @@ -86,10 +86,10 @@ def __init__(self, cur_page=None, end_index=None, max_page_size=None, page_size= self._start_index = None self._total_pages = None self._total_rows = None - self._identifier = None - self._model_name = None self._page_size_path = None self._cur_page_path = None + self._identifier = None + self._model_name = None self._body = None self.discriminator = None @@ -107,10 +107,10 @@ def __init__(self, cur_page=None, end_index=None, max_page_size=None, page_size= self.total_pages = total_pages if total_rows is not None: self.total_rows = total_rows - self.identifier = identifier - self.model_name = model_name self.page_size_path = page_size_path self.cur_page_path = cur_page_path + self.identifier = identifier + self.model_name = model_name if body is not None: self.body = body @@ -118,7 +118,7 @@ def __init__(self, cur_page=None, end_index=None, max_page_size=None, page_size= def cur_page(self): """Gets the cur_page of this ListQueryUsingPostRequest. - 当前页。 + **参数解释:** 当前页。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :return: The cur_page of this ListQueryUsingPostRequest. :rtype: int @@ -129,7 +129,7 @@ def cur_page(self): def cur_page(self, cur_page): """Sets the cur_page of this ListQueryUsingPostRequest. - 当前页。 + **参数解释:** 当前页。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :param cur_page: The cur_page of this ListQueryUsingPostRequest. :type cur_page: int @@ -140,7 +140,7 @@ def cur_page(self, cur_page): def end_index(self): """Gets the end_index of this ListQueryUsingPostRequest. - 结束索引。 + **参数解释:** 结束索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :return: The end_index of this ListQueryUsingPostRequest. :rtype: int @@ -151,7 +151,7 @@ def end_index(self): def end_index(self, end_index): """Sets the end_index of this ListQueryUsingPostRequest. - 结束索引。 + **参数解释:** 结束索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :param end_index: The end_index of this ListQueryUsingPostRequest. :type end_index: int @@ -162,7 +162,7 @@ def end_index(self, end_index): def max_page_size(self): """Gets the max_page_size of this ListQueryUsingPostRequest. - 最大分页数。 + **参数解释:** 最大分页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :return: The max_page_size of this ListQueryUsingPostRequest. :rtype: int @@ -173,7 +173,7 @@ def max_page_size(self): def max_page_size(self, max_page_size): """Sets the max_page_size of this ListQueryUsingPostRequest. - 最大分页数。 + **参数解释:** 最大分页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :param max_page_size: The max_page_size of this ListQueryUsingPostRequest. :type max_page_size: int @@ -184,7 +184,7 @@ def max_page_size(self, max_page_size): def page_size(self): """Gets the page_size of this ListQueryUsingPostRequest. - 每页大小。 + **参数解释:** 每页大小。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :return: The page_size of this ListQueryUsingPostRequest. :rtype: int @@ -195,7 +195,7 @@ def page_size(self): def page_size(self, page_size): """Sets the page_size of this ListQueryUsingPostRequest. - 每页大小。 + **参数解释:** 每页大小。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :param page_size: The page_size of this ListQueryUsingPostRequest. :type page_size: int @@ -206,7 +206,7 @@ def page_size(self, page_size): def start_index(self): """Gets the start_index of this ListQueryUsingPostRequest. - 起始索引。 + **参数解释:** 起始索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :return: The start_index of this ListQueryUsingPostRequest. :rtype: int @@ -217,7 +217,7 @@ def start_index(self): def start_index(self, start_index): """Sets the start_index of this ListQueryUsingPostRequest. - 起始索引。 + **参数解释:** 起始索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :param start_index: The start_index of this ListQueryUsingPostRequest. :type start_index: int @@ -228,7 +228,7 @@ def start_index(self, start_index): def total_pages(self): """Gets the total_pages of this ListQueryUsingPostRequest. - 总页数。 + **参数解释:** 总页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :return: The total_pages of this ListQueryUsingPostRequest. :rtype: int @@ -239,7 +239,7 @@ def total_pages(self): def total_pages(self, total_pages): """Sets the total_pages of this ListQueryUsingPostRequest. - 总页数。 + **参数解释:** 总页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :param total_pages: The total_pages of this ListQueryUsingPostRequest. :type total_pages: int @@ -250,7 +250,7 @@ def total_pages(self, total_pages): def total_rows(self): """Gets the total_rows of this ListQueryUsingPostRequest. - 总行数。 + **参数解释:** 总行数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :return: The total_rows of this ListQueryUsingPostRequest. :rtype: int @@ -261,62 +261,18 @@ def total_rows(self): def total_rows(self, total_rows): """Sets the total_rows of this ListQueryUsingPostRequest. - 总行数。 + **参数解释:** 总行数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :param total_rows: The total_rows of this ListQueryUsingPostRequest. :type total_rows: int """ self._total_rows = total_rows - @property - def identifier(self): - """Gets the identifier of this ListQueryUsingPostRequest. - - 应用ID。 - - :return: The identifier of this ListQueryUsingPostRequest. - :rtype: str - """ - return self._identifier - - @identifier.setter - def identifier(self, identifier): - """Sets the identifier of this ListQueryUsingPostRequest. - - 应用ID。 - - :param identifier: The identifier of this ListQueryUsingPostRequest. - :type identifier: str - """ - self._identifier = identifier - - @property - def model_name(self): - """Gets the model_name of this ListQueryUsingPostRequest. - - 数据模型的英文名称。 - - :return: The model_name of this ListQueryUsingPostRequest. - :rtype: str - """ - return self._model_name - - @model_name.setter - def model_name(self, model_name): - """Sets the model_name of this ListQueryUsingPostRequest. - - 数据模型的英文名称。 - - :param model_name: The model_name of this ListQueryUsingPostRequest. - :type model_name: str - """ - self._model_name = model_name - @property def page_size_path(self): """Gets the page_size_path of this ListQueryUsingPostRequest. - 分页大小(路径参数)。 + **参数解释:** 分页大小(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 1-1000。 **默认取值:** 不涉及。 :return: The page_size_path of this ListQueryUsingPostRequest. :rtype: int @@ -327,7 +283,7 @@ def page_size_path(self): def page_size_path(self, page_size_path): """Sets the page_size_path of this ListQueryUsingPostRequest. - 分页大小(路径参数)。 + **参数解释:** 分页大小(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 1-1000。 **默认取值:** 不涉及。 :param page_size_path: The page_size_path of this ListQueryUsingPostRequest. :type page_size_path: int @@ -338,7 +294,7 @@ def page_size_path(self, page_size_path): def cur_page_path(self): """Gets the cur_page_path of this ListQueryUsingPostRequest. - 当前页数(路径参数)。 + **参数解释:** 当前页数(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :return: The cur_page_path of this ListQueryUsingPostRequest. :rtype: int @@ -349,13 +305,57 @@ def cur_page_path(self): def cur_page_path(self, cur_page_path): """Sets the cur_page_path of this ListQueryUsingPostRequest. - 当前页数(路径参数)。 + **参数解释:** 当前页数(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :param cur_page_path: The cur_page_path of this ListQueryUsingPostRequest. :type cur_page_path: int """ self._cur_page_path = cur_page_path + @property + def identifier(self): + """Gets the identifier of this ListQueryUsingPostRequest. + + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 + + :return: The identifier of this ListQueryUsingPostRequest. + :rtype: str + """ + return self._identifier + + @identifier.setter + def identifier(self, identifier): + """Sets the identifier of this ListQueryUsingPostRequest. + + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 + + :param identifier: The identifier of this ListQueryUsingPostRequest. + :type identifier: str + """ + self._identifier = identifier + + @property + def model_name(self): + """Gets the model_name of this ListQueryUsingPostRequest. + + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 + + :return: The model_name of this ListQueryUsingPostRequest. + :rtype: str + """ + return self._model_name + + @model_name.setter + def model_name(self, model_name): + """Sets the model_name of this ListQueryUsingPostRequest. + + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 + + :param model_name: The model_name of this ListQueryUsingPostRequest. + :type model_name: str + """ + self._model_name = model_name + @property def body(self): """Gets the body of this ListQueryUsingPostRequest. diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_query_using_post_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_query_using_post_response.py index 29b9b0715b..7f66714ce5 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_query_using_post_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_query_using_post_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.PersistableModelQueryViewDTO`] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this ListQueryUsingPostResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this ListQueryUsingPostResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this ListQueryUsingPostResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this ListQueryUsingPostResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this ListQueryUsingPostResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this ListQueryUsingPostResponse. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.PersistableModelQueryViewDTO`] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this ListQueryUsingPostResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this ListQueryUsingPostResponse. :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.PersistableModelQueryViewDTO`] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this ListQueryUsingPostResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this ListQueryUsingPostResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this ListQueryUsingPostResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this ListQueryUsingPostResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_select_using_post_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_select_using_post_request.py index 74fdff0bab..ca1004d737 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_select_using_post_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_select_using_post_request.py @@ -24,10 +24,10 @@ class ListSelectUsingPostRequest: 'start_index': 'int', 'total_pages': 'int', 'total_rows': 'int', - 'identifier': 'str', - 'model_name': 'str', 'page_size_path': 'int', 'cur_page_path': 'int', + 'identifier': 'str', + 'model_name': 'str', 'body': 'RDMParamVOQueryRequestSelectedVo' } @@ -39,40 +39,40 @@ class ListSelectUsingPostRequest: 'start_index': 'startIndex', 'total_pages': 'totalPages', 'total_rows': 'totalRows', - 'identifier': 'identifier', - 'model_name': 'modelName', 'page_size_path': 'pageSizePath', 'cur_page_path': 'curPagePath', + 'identifier': 'identifier', + 'model_name': 'modelName', 'body': 'body' } - def __init__(self, cur_page=None, end_index=None, max_page_size=None, page_size=None, start_index=None, total_pages=None, total_rows=None, identifier=None, model_name=None, page_size_path=None, cur_page_path=None, body=None): + def __init__(self, cur_page=None, end_index=None, max_page_size=None, page_size=None, start_index=None, total_pages=None, total_rows=None, page_size_path=None, cur_page_path=None, identifier=None, model_name=None, body=None): """ListSelectUsingPostRequest The model defined in huaweicloud sdk - :param cur_page: 当前页。 + :param cur_page: **参数解释:** 当前页。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :type cur_page: int - :param end_index: 结束索引。 + :param end_index: **参数解释:** 结束索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :type end_index: int - :param max_page_size: 最大分页数。 + :param max_page_size: **参数解释:** 最大分页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :type max_page_size: int - :param page_size: 每页大小。 + :param page_size: **参数解释:** 每页大小。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :type page_size: int - :param start_index: 起始索引。 + :param start_index: **参数解释:** 起始索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :type start_index: int - :param total_pages: 总页数。 + :param total_pages: **参数解释:** 总页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :type total_pages: int - :param total_rows: 总行数。 + :param total_rows: **参数解释:** 总行数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :type total_rows: int - :param identifier: 应用ID。 - :type identifier: str - :param model_name: 数据模型的英文名称。 - :type model_name: str - :param page_size_path: 分页大小(路径参数)。 + :param page_size_path: **参数解释:** 分页大小(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 1-1000。 **默认取值:** 不涉及。 :type page_size_path: int - :param cur_page_path: 当前页数(路径参数)。 + :param cur_page_path: **参数解释:** 当前页数(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :type cur_page_path: int + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 + :type identifier: str + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 + :type model_name: str :param body: Body of the ListSelectUsingPostRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOQueryRequestSelectedVo` """ @@ -86,10 +86,10 @@ def __init__(self, cur_page=None, end_index=None, max_page_size=None, page_size= self._start_index = None self._total_pages = None self._total_rows = None - self._identifier = None - self._model_name = None self._page_size_path = None self._cur_page_path = None + self._identifier = None + self._model_name = None self._body = None self.discriminator = None @@ -107,10 +107,10 @@ def __init__(self, cur_page=None, end_index=None, max_page_size=None, page_size= self.total_pages = total_pages if total_rows is not None: self.total_rows = total_rows - self.identifier = identifier - self.model_name = model_name self.page_size_path = page_size_path self.cur_page_path = cur_page_path + self.identifier = identifier + self.model_name = model_name if body is not None: self.body = body @@ -118,7 +118,7 @@ def __init__(self, cur_page=None, end_index=None, max_page_size=None, page_size= def cur_page(self): """Gets the cur_page of this ListSelectUsingPostRequest. - 当前页。 + **参数解释:** 当前页。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :return: The cur_page of this ListSelectUsingPostRequest. :rtype: int @@ -129,7 +129,7 @@ def cur_page(self): def cur_page(self, cur_page): """Sets the cur_page of this ListSelectUsingPostRequest. - 当前页。 + **参数解释:** 当前页。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :param cur_page: The cur_page of this ListSelectUsingPostRequest. :type cur_page: int @@ -140,7 +140,7 @@ def cur_page(self, cur_page): def end_index(self): """Gets the end_index of this ListSelectUsingPostRequest. - 结束索引。 + **参数解释:** 结束索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :return: The end_index of this ListSelectUsingPostRequest. :rtype: int @@ -151,7 +151,7 @@ def end_index(self): def end_index(self, end_index): """Sets the end_index of this ListSelectUsingPostRequest. - 结束索引。 + **参数解释:** 结束索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :param end_index: The end_index of this ListSelectUsingPostRequest. :type end_index: int @@ -162,7 +162,7 @@ def end_index(self, end_index): def max_page_size(self): """Gets the max_page_size of this ListSelectUsingPostRequest. - 最大分页数。 + **参数解释:** 最大分页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :return: The max_page_size of this ListSelectUsingPostRequest. :rtype: int @@ -173,7 +173,7 @@ def max_page_size(self): def max_page_size(self, max_page_size): """Sets the max_page_size of this ListSelectUsingPostRequest. - 最大分页数。 + **参数解释:** 最大分页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :param max_page_size: The max_page_size of this ListSelectUsingPostRequest. :type max_page_size: int @@ -184,7 +184,7 @@ def max_page_size(self, max_page_size): def page_size(self): """Gets the page_size of this ListSelectUsingPostRequest. - 每页大小。 + **参数解释:** 每页大小。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :return: The page_size of this ListSelectUsingPostRequest. :rtype: int @@ -195,7 +195,7 @@ def page_size(self): def page_size(self, page_size): """Sets the page_size of this ListSelectUsingPostRequest. - 每页大小。 + **参数解释:** 每页大小。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :param page_size: The page_size of this ListSelectUsingPostRequest. :type page_size: int @@ -206,7 +206,7 @@ def page_size(self, page_size): def start_index(self): """Gets the start_index of this ListSelectUsingPostRequest. - 起始索引。 + **参数解释:** 起始索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :return: The start_index of this ListSelectUsingPostRequest. :rtype: int @@ -217,7 +217,7 @@ def start_index(self): def start_index(self, start_index): """Sets the start_index of this ListSelectUsingPostRequest. - 起始索引。 + **参数解释:** 起始索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :param start_index: The start_index of this ListSelectUsingPostRequest. :type start_index: int @@ -228,7 +228,7 @@ def start_index(self, start_index): def total_pages(self): """Gets the total_pages of this ListSelectUsingPostRequest. - 总页数。 + **参数解释:** 总页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :return: The total_pages of this ListSelectUsingPostRequest. :rtype: int @@ -239,7 +239,7 @@ def total_pages(self): def total_pages(self, total_pages): """Sets the total_pages of this ListSelectUsingPostRequest. - 总页数。 + **参数解释:** 总页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :param total_pages: The total_pages of this ListSelectUsingPostRequest. :type total_pages: int @@ -250,7 +250,7 @@ def total_pages(self, total_pages): def total_rows(self): """Gets the total_rows of this ListSelectUsingPostRequest. - 总行数。 + **参数解释:** 总行数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :return: The total_rows of this ListSelectUsingPostRequest. :rtype: int @@ -261,62 +261,18 @@ def total_rows(self): def total_rows(self, total_rows): """Sets the total_rows of this ListSelectUsingPostRequest. - 总行数。 + **参数解释:** 总行数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :param total_rows: The total_rows of this ListSelectUsingPostRequest. :type total_rows: int """ self._total_rows = total_rows - @property - def identifier(self): - """Gets the identifier of this ListSelectUsingPostRequest. - - 应用ID。 - - :return: The identifier of this ListSelectUsingPostRequest. - :rtype: str - """ - return self._identifier - - @identifier.setter - def identifier(self, identifier): - """Sets the identifier of this ListSelectUsingPostRequest. - - 应用ID。 - - :param identifier: The identifier of this ListSelectUsingPostRequest. - :type identifier: str - """ - self._identifier = identifier - - @property - def model_name(self): - """Gets the model_name of this ListSelectUsingPostRequest. - - 数据模型的英文名称。 - - :return: The model_name of this ListSelectUsingPostRequest. - :rtype: str - """ - return self._model_name - - @model_name.setter - def model_name(self, model_name): - """Sets the model_name of this ListSelectUsingPostRequest. - - 数据模型的英文名称。 - - :param model_name: The model_name of this ListSelectUsingPostRequest. - :type model_name: str - """ - self._model_name = model_name - @property def page_size_path(self): """Gets the page_size_path of this ListSelectUsingPostRequest. - 分页大小(路径参数)。 + **参数解释:** 分页大小(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 1-1000。 **默认取值:** 不涉及。 :return: The page_size_path of this ListSelectUsingPostRequest. :rtype: int @@ -327,7 +283,7 @@ def page_size_path(self): def page_size_path(self, page_size_path): """Sets the page_size_path of this ListSelectUsingPostRequest. - 分页大小(路径参数)。 + **参数解释:** 分页大小(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 1-1000。 **默认取值:** 不涉及。 :param page_size_path: The page_size_path of this ListSelectUsingPostRequest. :type page_size_path: int @@ -338,7 +294,7 @@ def page_size_path(self, page_size_path): def cur_page_path(self): """Gets the cur_page_path of this ListSelectUsingPostRequest. - 当前页数(路径参数)。 + **参数解释:** 当前页数(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :return: The cur_page_path of this ListSelectUsingPostRequest. :rtype: int @@ -349,13 +305,57 @@ def cur_page_path(self): def cur_page_path(self, cur_page_path): """Sets the cur_page_path of this ListSelectUsingPostRequest. - 当前页数(路径参数)。 + **参数解释:** 当前页数(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :param cur_page_path: The cur_page_path of this ListSelectUsingPostRequest. :type cur_page_path: int """ self._cur_page_path = cur_page_path + @property + def identifier(self): + """Gets the identifier of this ListSelectUsingPostRequest. + + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 + + :return: The identifier of this ListSelectUsingPostRequest. + :rtype: str + """ + return self._identifier + + @identifier.setter + def identifier(self, identifier): + """Sets the identifier of this ListSelectUsingPostRequest. + + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 + + :param identifier: The identifier of this ListSelectUsingPostRequest. + :type identifier: str + """ + self._identifier = identifier + + @property + def model_name(self): + """Gets the model_name of this ListSelectUsingPostRequest. + + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 + + :return: The model_name of this ListSelectUsingPostRequest. + :rtype: str + """ + return self._model_name + + @model_name.setter + def model_name(self, model_name): + """Sets the model_name of this ListSelectUsingPostRequest. + + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 + + :param model_name: The model_name of this ListSelectUsingPostRequest. + :type model_name: str + """ + self._model_name = model_name + @property def body(self): """Gets the body of this ListSelectUsingPostRequest. diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_select_using_post_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_select_using_post_response.py index 595dff1d15..af5fdd4f8d 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_select_using_post_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_select_using_post_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求参数对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[object] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this ListSelectUsingPostResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this ListSelectUsingPostResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this ListSelectUsingPostResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this ListSelectUsingPostResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this ListSelectUsingPostResponse. - 请求数据。 + **参数解释:** 请求参数对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this ListSelectUsingPostResponse. :rtype: list[object] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this ListSelectUsingPostResponse. - 请求数据。 + **参数解释:** 请求参数对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this ListSelectUsingPostResponse. :type data: list[object] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this ListSelectUsingPostResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this ListSelectUsingPostResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this ListSelectUsingPostResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this ListSelectUsingPostResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_using_post_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_using_post_request.py index 7f0d786bb7..ec97f562d1 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_using_post_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_using_post_request.py @@ -24,10 +24,10 @@ class ListUsingPostRequest: 'start_index': 'int', 'total_pages': 'int', 'total_rows': 'int', - 'identifier': 'str', - 'model_name': 'str', 'page_size_path': 'int', 'cur_page_path': 'int', + 'identifier': 'str', + 'model_name': 'str', 'body': 'RDMParamVOQueryRequestVo' } @@ -39,40 +39,40 @@ class ListUsingPostRequest: 'start_index': 'startIndex', 'total_pages': 'totalPages', 'total_rows': 'totalRows', - 'identifier': 'identifier', - 'model_name': 'modelName', 'page_size_path': 'pageSizePath', 'cur_page_path': 'curPagePath', + 'identifier': 'identifier', + 'model_name': 'modelName', 'body': 'body' } - def __init__(self, cur_page=None, end_index=None, max_page_size=None, page_size=None, start_index=None, total_pages=None, total_rows=None, identifier=None, model_name=None, page_size_path=None, cur_page_path=None, body=None): + def __init__(self, cur_page=None, end_index=None, max_page_size=None, page_size=None, start_index=None, total_pages=None, total_rows=None, page_size_path=None, cur_page_path=None, identifier=None, model_name=None, body=None): """ListUsingPostRequest The model defined in huaweicloud sdk - :param cur_page: 当前页。 + :param cur_page: **参数解释:** 当前页。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :type cur_page: int - :param end_index: 结束索引。 + :param end_index: **参数解释:** 结束索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :type end_index: int - :param max_page_size: 最大分页数。 + :param max_page_size: **参数解释:** 最大分页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :type max_page_size: int - :param page_size: 每页大小。 + :param page_size: **参数解释:** 每页大小。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :type page_size: int - :param start_index: 起始索引。 + :param start_index: **参数解释:** 起始索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :type start_index: int - :param total_pages: 总页数。 + :param total_pages: **参数解释:** 总页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :type total_pages: int - :param total_rows: 总行数。 + :param total_rows: **参数解释:** 总行数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :type total_rows: int - :param identifier: 应用ID。 - :type identifier: str - :param model_name: 数据模型的英文名称。 - :type model_name: str - :param page_size_path: 分页大小(路径参数)。 + :param page_size_path: **参数解释:** 分页大小(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 1-1000。 **默认取值:** 不涉及。 :type page_size_path: int - :param cur_page_path: 当前页数(路径参数)。 + :param cur_page_path: **参数解释:** 当前页数(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :type cur_page_path: int + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 + :type identifier: str + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 + :type model_name: str :param body: Body of the ListUsingPostRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOQueryRequestVo` """ @@ -86,10 +86,10 @@ def __init__(self, cur_page=None, end_index=None, max_page_size=None, page_size= self._start_index = None self._total_pages = None self._total_rows = None - self._identifier = None - self._model_name = None self._page_size_path = None self._cur_page_path = None + self._identifier = None + self._model_name = None self._body = None self.discriminator = None @@ -107,10 +107,10 @@ def __init__(self, cur_page=None, end_index=None, max_page_size=None, page_size= self.total_pages = total_pages if total_rows is not None: self.total_rows = total_rows - self.identifier = identifier - self.model_name = model_name self.page_size_path = page_size_path self.cur_page_path = cur_page_path + self.identifier = identifier + self.model_name = model_name if body is not None: self.body = body @@ -118,7 +118,7 @@ def __init__(self, cur_page=None, end_index=None, max_page_size=None, page_size= def cur_page(self): """Gets the cur_page of this ListUsingPostRequest. - 当前页。 + **参数解释:** 当前页。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :return: The cur_page of this ListUsingPostRequest. :rtype: int @@ -129,7 +129,7 @@ def cur_page(self): def cur_page(self, cur_page): """Sets the cur_page of this ListUsingPostRequest. - 当前页。 + **参数解释:** 当前页。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :param cur_page: The cur_page of this ListUsingPostRequest. :type cur_page: int @@ -140,7 +140,7 @@ def cur_page(self, cur_page): def end_index(self): """Gets the end_index of this ListUsingPostRequest. - 结束索引。 + **参数解释:** 结束索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :return: The end_index of this ListUsingPostRequest. :rtype: int @@ -151,7 +151,7 @@ def end_index(self): def end_index(self, end_index): """Sets the end_index of this ListUsingPostRequest. - 结束索引。 + **参数解释:** 结束索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :param end_index: The end_index of this ListUsingPostRequest. :type end_index: int @@ -162,7 +162,7 @@ def end_index(self, end_index): def max_page_size(self): """Gets the max_page_size of this ListUsingPostRequest. - 最大分页数。 + **参数解释:** 最大分页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :return: The max_page_size of this ListUsingPostRequest. :rtype: int @@ -173,7 +173,7 @@ def max_page_size(self): def max_page_size(self, max_page_size): """Sets the max_page_size of this ListUsingPostRequest. - 最大分页数。 + **参数解释:** 最大分页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :param max_page_size: The max_page_size of this ListUsingPostRequest. :type max_page_size: int @@ -184,7 +184,7 @@ def max_page_size(self, max_page_size): def page_size(self): """Gets the page_size of this ListUsingPostRequest. - 每页大小。 + **参数解释:** 每页大小。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :return: The page_size of this ListUsingPostRequest. :rtype: int @@ -195,7 +195,7 @@ def page_size(self): def page_size(self, page_size): """Sets the page_size of this ListUsingPostRequest. - 每页大小。 + **参数解释:** 每页大小。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :param page_size: The page_size of this ListUsingPostRequest. :type page_size: int @@ -206,7 +206,7 @@ def page_size(self, page_size): def start_index(self): """Gets the start_index of this ListUsingPostRequest. - 起始索引。 + **参数解释:** 起始索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :return: The start_index of this ListUsingPostRequest. :rtype: int @@ -217,7 +217,7 @@ def start_index(self): def start_index(self, start_index): """Sets the start_index of this ListUsingPostRequest. - 起始索引。 + **参数解释:** 起始索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :param start_index: The start_index of this ListUsingPostRequest. :type start_index: int @@ -228,7 +228,7 @@ def start_index(self, start_index): def total_pages(self): """Gets the total_pages of this ListUsingPostRequest. - 总页数。 + **参数解释:** 总页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :return: The total_pages of this ListUsingPostRequest. :rtype: int @@ -239,7 +239,7 @@ def total_pages(self): def total_pages(self, total_pages): """Sets the total_pages of this ListUsingPostRequest. - 总页数。 + **参数解释:** 总页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :param total_pages: The total_pages of this ListUsingPostRequest. :type total_pages: int @@ -250,7 +250,7 @@ def total_pages(self, total_pages): def total_rows(self): """Gets the total_rows of this ListUsingPostRequest. - 总行数。 + **参数解释:** 总行数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :return: The total_rows of this ListUsingPostRequest. :rtype: int @@ -261,62 +261,18 @@ def total_rows(self): def total_rows(self, total_rows): """Sets the total_rows of this ListUsingPostRequest. - 总行数。 + **参数解释:** 总行数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :param total_rows: The total_rows of this ListUsingPostRequest. :type total_rows: int """ self._total_rows = total_rows - @property - def identifier(self): - """Gets the identifier of this ListUsingPostRequest. - - 应用ID。 - - :return: The identifier of this ListUsingPostRequest. - :rtype: str - """ - return self._identifier - - @identifier.setter - def identifier(self, identifier): - """Sets the identifier of this ListUsingPostRequest. - - 应用ID。 - - :param identifier: The identifier of this ListUsingPostRequest. - :type identifier: str - """ - self._identifier = identifier - - @property - def model_name(self): - """Gets the model_name of this ListUsingPostRequest. - - 数据模型的英文名称。 - - :return: The model_name of this ListUsingPostRequest. - :rtype: str - """ - return self._model_name - - @model_name.setter - def model_name(self, model_name): - """Sets the model_name of this ListUsingPostRequest. - - 数据模型的英文名称。 - - :param model_name: The model_name of this ListUsingPostRequest. - :type model_name: str - """ - self._model_name = model_name - @property def page_size_path(self): """Gets the page_size_path of this ListUsingPostRequest. - 分页大小(路径参数)。 + **参数解释:** 分页大小(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 1-1000。 **默认取值:** 不涉及。 :return: The page_size_path of this ListUsingPostRequest. :rtype: int @@ -327,7 +283,7 @@ def page_size_path(self): def page_size_path(self, page_size_path): """Sets the page_size_path of this ListUsingPostRequest. - 分页大小(路径参数)。 + **参数解释:** 分页大小(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 1-1000。 **默认取值:** 不涉及。 :param page_size_path: The page_size_path of this ListUsingPostRequest. :type page_size_path: int @@ -338,7 +294,7 @@ def page_size_path(self, page_size_path): def cur_page_path(self): """Gets the cur_page_path of this ListUsingPostRequest. - 当前页数(路径参数)。 + **参数解释:** 当前页数(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :return: The cur_page_path of this ListUsingPostRequest. :rtype: int @@ -349,13 +305,57 @@ def cur_page_path(self): def cur_page_path(self, cur_page_path): """Sets the cur_page_path of this ListUsingPostRequest. - 当前页数(路径参数)。 + **参数解释:** 当前页数(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :param cur_page_path: The cur_page_path of this ListUsingPostRequest. :type cur_page_path: int """ self._cur_page_path = cur_page_path + @property + def identifier(self): + """Gets the identifier of this ListUsingPostRequest. + + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 + + :return: The identifier of this ListUsingPostRequest. + :rtype: str + """ + return self._identifier + + @identifier.setter + def identifier(self, identifier): + """Sets the identifier of this ListUsingPostRequest. + + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 + + :param identifier: The identifier of this ListUsingPostRequest. + :type identifier: str + """ + self._identifier = identifier + + @property + def model_name(self): + """Gets the model_name of this ListUsingPostRequest. + + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 + + :return: The model_name of this ListUsingPostRequest. + :rtype: str + """ + return self._model_name + + @model_name.setter + def model_name(self, model_name): + """Sets the model_name of this ListUsingPostRequest. + + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 + + :param model_name: The model_name of this ListUsingPostRequest. + :type model_name: str + """ + self._model_name = model_name + @property def body(self): """Gets the body of this ListUsingPostRequest. diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_using_post_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_using_post_response.py index 6d03764298..8709dee9ca 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_using_post_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/list_using_post_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.PersistableModelListViewDTO`] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this ListUsingPostResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this ListUsingPostResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this ListUsingPostResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this ListUsingPostResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this ListUsingPostResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this ListUsingPostResponse. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.PersistableModelListViewDTO`] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this ListUsingPostResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this ListUsingPostResponse. :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.PersistableModelListViewDTO`] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this ListUsingPostResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this ListUsingPostResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this ListUsingPostResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this ListUsingPostResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/master_object_query_view_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/master_object_query_view_dto.py index b7c4256679..d428e2676c 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/master_object_query_view_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/master_object_query_view_dto.py @@ -43,19 +43,19 @@ def __init__(self, class_name=None, create_time=None, creator=None, id=None, las The model defined in huaweicloud sdk - :param class_name: 类名。 + :param class_name: **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type class_name: str - :param create_time: 创建时间。 + :param create_time: **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type create_time: str - :param creator: 创建者。 + :param creator: **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type creator: str - :param id: 唯一标识。 + :param id: **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type id: str - :param last_update_time: 最后更新时间。 + :param last_update_time: **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type last_update_time: str - :param modifier: 修改人。 + :param modifier: **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type modifier: str - :param rdm_extension_type: 扩展类型。 + :param rdm_extension_type: **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type rdm_extension_type: str :param tenant: :type tenant: :class:`huaweicloudsdkidmeclassicapi.v1.TenantQueryViewDTO` @@ -94,7 +94,7 @@ def __init__(self, class_name=None, create_time=None, creator=None, id=None, las def class_name(self): """Gets the class_name of this MasterObjectQueryViewDTO. - 类名。 + **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The class_name of this MasterObjectQueryViewDTO. :rtype: str @@ -105,7 +105,7 @@ def class_name(self): def class_name(self, class_name): """Sets the class_name of this MasterObjectQueryViewDTO. - 类名。 + **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param class_name: The class_name of this MasterObjectQueryViewDTO. :type class_name: str @@ -116,7 +116,7 @@ def class_name(self, class_name): def create_time(self): """Gets the create_time of this MasterObjectQueryViewDTO. - 创建时间。 + **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The create_time of this MasterObjectQueryViewDTO. :rtype: str @@ -127,7 +127,7 @@ def create_time(self): def create_time(self, create_time): """Sets the create_time of this MasterObjectQueryViewDTO. - 创建时间。 + **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param create_time: The create_time of this MasterObjectQueryViewDTO. :type create_time: str @@ -138,7 +138,7 @@ def create_time(self, create_time): def creator(self): """Gets the creator of this MasterObjectQueryViewDTO. - 创建者。 + **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The creator of this MasterObjectQueryViewDTO. :rtype: str @@ -149,7 +149,7 @@ def creator(self): def creator(self, creator): """Sets the creator of this MasterObjectQueryViewDTO. - 创建者。 + **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param creator: The creator of this MasterObjectQueryViewDTO. :type creator: str @@ -160,7 +160,7 @@ def creator(self, creator): def id(self): """Gets the id of this MasterObjectQueryViewDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The id of this MasterObjectQueryViewDTO. :rtype: str @@ -171,7 +171,7 @@ def id(self): def id(self, id): """Sets the id of this MasterObjectQueryViewDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param id: The id of this MasterObjectQueryViewDTO. :type id: str @@ -182,7 +182,7 @@ def id(self, id): def last_update_time(self): """Gets the last_update_time of this MasterObjectQueryViewDTO. - 最后更新时间。 + **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The last_update_time of this MasterObjectQueryViewDTO. :rtype: str @@ -193,7 +193,7 @@ def last_update_time(self): def last_update_time(self, last_update_time): """Sets the last_update_time of this MasterObjectQueryViewDTO. - 最后更新时间。 + **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param last_update_time: The last_update_time of this MasterObjectQueryViewDTO. :type last_update_time: str @@ -204,7 +204,7 @@ def last_update_time(self, last_update_time): def modifier(self): """Gets the modifier of this MasterObjectQueryViewDTO. - 修改人。 + **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The modifier of this MasterObjectQueryViewDTO. :rtype: str @@ -215,7 +215,7 @@ def modifier(self): def modifier(self, modifier): """Sets the modifier of this MasterObjectQueryViewDTO. - 修改人。 + **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param modifier: The modifier of this MasterObjectQueryViewDTO. :type modifier: str @@ -226,7 +226,7 @@ def modifier(self, modifier): def rdm_extension_type(self): """Gets the rdm_extension_type of this MasterObjectQueryViewDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The rdm_extension_type of this MasterObjectQueryViewDTO. :rtype: str @@ -237,7 +237,7 @@ def rdm_extension_type(self): def rdm_extension_type(self, rdm_extension_type): """Sets the rdm_extension_type of this MasterObjectQueryViewDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param rdm_extension_type: The rdm_extension_type of this MasterObjectQueryViewDTO. :type rdm_extension_type: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/mong_page_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/mong_page_request.py index 1444b8bbc3..450cb1c21b 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/mong_page_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/mong_page_request.py @@ -45,23 +45,23 @@ def __init__(self, end_last_modified_time=None, id=None, rdm_version=None, sourc The model defined in huaweicloud sdk - :param end_last_modified_time: 结束时间。系统以数据实例的最后修改时间作为查询条件,您定义的开始时间和结束时间作为时间范围进行查询。 + :param end_last_modified_time: **参数解释:** 结束时间。系统以数据实例的最后修改时间作为查询条件,您定义的开始时间和结束时间作为时间范围进行查询。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type end_last_modified_time: str - :param id: 数据实例ID。 + :param id: **参数解释:** 数据实例ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type id: str - :param rdm_version: 版本号。 + :param rdm_version: **参数解释:** 版本号。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type rdm_version: int - :param source_id: 关系实体源端ID。 + :param source_id: **参数解释:** 关系实体源端ID。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type source_id: str - :param source_rdm_version: 关系实体源端系统版本。 + :param source_rdm_version: **参数解释:** 关系实体源端系统版本。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type source_rdm_version: int - :param start_last_modified_time: 开始时间。系统以数据实例的最后修改时间作为查询条件,您定义的开始时间和结束时间作为时间范围进行查询。 + :param start_last_modified_time: **参数解释:** 开始时间。系统以数据实例的最后修改时间作为查询条件,您定义的开始时间和结束时间作为时间范围进行查询。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type start_last_modified_time: str - :param target_id: 关系实体目标端ID。 + :param target_id: **参数解释:** 关系实体目标端ID。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type target_id: str - :param target_rdm_version: 关系实体目标端系统版本。 + :param target_rdm_version: **参数解释:** 关系实体目标端系统版本。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type target_rdm_version: int - :param target_type: 单边不确定关系的目标端类型。 + :param target_type: **参数解释:** 单边不确定关系的目标端类型。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type target_type: str """ @@ -100,7 +100,7 @@ def __init__(self, end_last_modified_time=None, id=None, rdm_version=None, sourc def end_last_modified_time(self): """Gets the end_last_modified_time of this MongPageRequest. - 结束时间。系统以数据实例的最后修改时间作为查询条件,您定义的开始时间和结束时间作为时间范围进行查询。 + **参数解释:** 结束时间。系统以数据实例的最后修改时间作为查询条件,您定义的开始时间和结束时间作为时间范围进行查询。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The end_last_modified_time of this MongPageRequest. :rtype: str @@ -111,7 +111,7 @@ def end_last_modified_time(self): def end_last_modified_time(self, end_last_modified_time): """Sets the end_last_modified_time of this MongPageRequest. - 结束时间。系统以数据实例的最后修改时间作为查询条件,您定义的开始时间和结束时间作为时间范围进行查询。 + **参数解释:** 结束时间。系统以数据实例的最后修改时间作为查询条件,您定义的开始时间和结束时间作为时间范围进行查询。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param end_last_modified_time: The end_last_modified_time of this MongPageRequest. :type end_last_modified_time: str @@ -122,7 +122,7 @@ def end_last_modified_time(self, end_last_modified_time): def id(self): """Gets the id of this MongPageRequest. - 数据实例ID。 + **参数解释:** 数据实例ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The id of this MongPageRequest. :rtype: str @@ -133,7 +133,7 @@ def id(self): def id(self, id): """Sets the id of this MongPageRequest. - 数据实例ID。 + **参数解释:** 数据实例ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param id: The id of this MongPageRequest. :type id: str @@ -144,7 +144,7 @@ def id(self, id): def rdm_version(self): """Gets the rdm_version of this MongPageRequest. - 版本号。 + **参数解释:** 版本号。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The rdm_version of this MongPageRequest. :rtype: int @@ -155,7 +155,7 @@ def rdm_version(self): def rdm_version(self, rdm_version): """Sets the rdm_version of this MongPageRequest. - 版本号。 + **参数解释:** 版本号。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param rdm_version: The rdm_version of this MongPageRequest. :type rdm_version: int @@ -166,7 +166,7 @@ def rdm_version(self, rdm_version): def source_id(self): """Gets the source_id of this MongPageRequest. - 关系实体源端ID。 + **参数解释:** 关系实体源端ID。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The source_id of this MongPageRequest. :rtype: str @@ -177,7 +177,7 @@ def source_id(self): def source_id(self, source_id): """Sets the source_id of this MongPageRequest. - 关系实体源端ID。 + **参数解释:** 关系实体源端ID。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param source_id: The source_id of this MongPageRequest. :type source_id: str @@ -188,7 +188,7 @@ def source_id(self, source_id): def source_rdm_version(self): """Gets the source_rdm_version of this MongPageRequest. - 关系实体源端系统版本。 + **参数解释:** 关系实体源端系统版本。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The source_rdm_version of this MongPageRequest. :rtype: int @@ -199,7 +199,7 @@ def source_rdm_version(self): def source_rdm_version(self, source_rdm_version): """Sets the source_rdm_version of this MongPageRequest. - 关系实体源端系统版本。 + **参数解释:** 关系实体源端系统版本。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param source_rdm_version: The source_rdm_version of this MongPageRequest. :type source_rdm_version: int @@ -210,7 +210,7 @@ def source_rdm_version(self, source_rdm_version): def start_last_modified_time(self): """Gets the start_last_modified_time of this MongPageRequest. - 开始时间。系统以数据实例的最后修改时间作为查询条件,您定义的开始时间和结束时间作为时间范围进行查询。 + **参数解释:** 开始时间。系统以数据实例的最后修改时间作为查询条件,您定义的开始时间和结束时间作为时间范围进行查询。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The start_last_modified_time of this MongPageRequest. :rtype: str @@ -221,7 +221,7 @@ def start_last_modified_time(self): def start_last_modified_time(self, start_last_modified_time): """Sets the start_last_modified_time of this MongPageRequest. - 开始时间。系统以数据实例的最后修改时间作为查询条件,您定义的开始时间和结束时间作为时间范围进行查询。 + **参数解释:** 开始时间。系统以数据实例的最后修改时间作为查询条件,您定义的开始时间和结束时间作为时间范围进行查询。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param start_last_modified_time: The start_last_modified_time of this MongPageRequest. :type start_last_modified_time: str @@ -232,7 +232,7 @@ def start_last_modified_time(self, start_last_modified_time): def target_id(self): """Gets the target_id of this MongPageRequest. - 关系实体目标端ID。 + **参数解释:** 关系实体目标端ID。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The target_id of this MongPageRequest. :rtype: str @@ -243,7 +243,7 @@ def target_id(self): def target_id(self, target_id): """Sets the target_id of this MongPageRequest. - 关系实体目标端ID。 + **参数解释:** 关系实体目标端ID。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param target_id: The target_id of this MongPageRequest. :type target_id: str @@ -254,7 +254,7 @@ def target_id(self, target_id): def target_rdm_version(self): """Gets the target_rdm_version of this MongPageRequest. - 关系实体目标端系统版本。 + **参数解释:** 关系实体目标端系统版本。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The target_rdm_version of this MongPageRequest. :rtype: int @@ -265,7 +265,7 @@ def target_rdm_version(self): def target_rdm_version(self, target_rdm_version): """Sets the target_rdm_version of this MongPageRequest. - 关系实体目标端系统版本。 + **参数解释:** 关系实体目标端系统版本。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param target_rdm_version: The target_rdm_version of this MongPageRequest. :type target_rdm_version: int @@ -276,7 +276,7 @@ def target_rdm_version(self, target_rdm_version): def target_type(self): """Gets the target_type of this MongPageRequest. - 单边不确定关系的目标端类型。 + **参数解释:** 单边不确定关系的目标端类型。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The target_type of this MongPageRequest. :rtype: str @@ -287,7 +287,7 @@ def target_type(self): def target_type(self, target_type): """Sets the target_type of this MongPageRequest. - 单边不确定关系的目标端类型。 + **参数解释:** 单边不确定关系的目标端类型。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param target_type: The target_type of this MongPageRequest. :type target_type: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/multi_view_item_view_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/multi_view_item_view_dto.py index b2a136b60e..d064dfdf2b 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/multi_view_item_view_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/multi_view_item_view_dto.py @@ -47,23 +47,23 @@ def __init__(self, class_name=None, create_time=None, creator=None, id=None, rdm The model defined in huaweicloud sdk - :param class_name: 类名。 + :param class_name: **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type class_name: str - :param create_time: 创建时间。 + :param create_time: **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type create_time: str - :param creator: 创建者。 + :param creator: **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type creator: str - :param id: 唯一标识。 + :param id: **参数解释:** 唯一标识。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type id: str - :param rdm_delete_flag: 软删除标识,参数值为0或1。 - 0:表示未删除。 - 1:表示已删除。 + :param rdm_delete_flag: **参数解释:** 软删除标识,参数值为0或1。 **取值范围:** - 0:表示未删除。 - 1:表示已删除。 **默认取值:** 不涉及。 :type rdm_delete_flag: int - :param rdm_extension_type: 扩展类型。 + :param rdm_extension_type: **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type rdm_extension_type: str - :param rdm_version: 系统版本。 + :param rdm_version: **参数解释:** 系统版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type rdm_version: int - :param modifier: 修改人。 + :param modifier: **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type modifier: str - :param last_update_time: 最后更新时间。 + :param last_update_time: **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type last_update_time: object :param tenant: :type tenant: :class:`huaweicloudsdkidmeclassicapi.v1.TenantViewDTO` @@ -108,7 +108,7 @@ def __init__(self, class_name=None, create_time=None, creator=None, id=None, rdm def class_name(self): """Gets the class_name of this MultiViewItemViewDTO. - 类名。 + **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The class_name of this MultiViewItemViewDTO. :rtype: str @@ -119,7 +119,7 @@ def class_name(self): def class_name(self, class_name): """Sets the class_name of this MultiViewItemViewDTO. - 类名。 + **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param class_name: The class_name of this MultiViewItemViewDTO. :type class_name: str @@ -130,7 +130,7 @@ def class_name(self, class_name): def create_time(self): """Gets the create_time of this MultiViewItemViewDTO. - 创建时间。 + **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The create_time of this MultiViewItemViewDTO. :rtype: str @@ -141,7 +141,7 @@ def create_time(self): def create_time(self, create_time): """Sets the create_time of this MultiViewItemViewDTO. - 创建时间。 + **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param create_time: The create_time of this MultiViewItemViewDTO. :type create_time: str @@ -152,7 +152,7 @@ def create_time(self, create_time): def creator(self): """Gets the creator of this MultiViewItemViewDTO. - 创建者。 + **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The creator of this MultiViewItemViewDTO. :rtype: str @@ -163,7 +163,7 @@ def creator(self): def creator(self, creator): """Sets the creator of this MultiViewItemViewDTO. - 创建者。 + **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param creator: The creator of this MultiViewItemViewDTO. :type creator: str @@ -174,7 +174,7 @@ def creator(self, creator): def id(self): """Gets the id of this MultiViewItemViewDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The id of this MultiViewItemViewDTO. :rtype: str @@ -185,7 +185,7 @@ def id(self): def id(self, id): """Sets the id of this MultiViewItemViewDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param id: The id of this MultiViewItemViewDTO. :type id: str @@ -196,7 +196,7 @@ def id(self, id): def rdm_delete_flag(self): """Gets the rdm_delete_flag of this MultiViewItemViewDTO. - 软删除标识,参数值为0或1。 - 0:表示未删除。 - 1:表示已删除。 + **参数解释:** 软删除标识,参数值为0或1。 **取值范围:** - 0:表示未删除。 - 1:表示已删除。 **默认取值:** 不涉及。 :return: The rdm_delete_flag of this MultiViewItemViewDTO. :rtype: int @@ -207,7 +207,7 @@ def rdm_delete_flag(self): def rdm_delete_flag(self, rdm_delete_flag): """Sets the rdm_delete_flag of this MultiViewItemViewDTO. - 软删除标识,参数值为0或1。 - 0:表示未删除。 - 1:表示已删除。 + **参数解释:** 软删除标识,参数值为0或1。 **取值范围:** - 0:表示未删除。 - 1:表示已删除。 **默认取值:** 不涉及。 :param rdm_delete_flag: The rdm_delete_flag of this MultiViewItemViewDTO. :type rdm_delete_flag: int @@ -218,7 +218,7 @@ def rdm_delete_flag(self, rdm_delete_flag): def rdm_extension_type(self): """Gets the rdm_extension_type of this MultiViewItemViewDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The rdm_extension_type of this MultiViewItemViewDTO. :rtype: str @@ -229,7 +229,7 @@ def rdm_extension_type(self): def rdm_extension_type(self, rdm_extension_type): """Sets the rdm_extension_type of this MultiViewItemViewDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param rdm_extension_type: The rdm_extension_type of this MultiViewItemViewDTO. :type rdm_extension_type: str @@ -240,7 +240,7 @@ def rdm_extension_type(self, rdm_extension_type): def rdm_version(self): """Gets the rdm_version of this MultiViewItemViewDTO. - 系统版本。 + **参数解释:** 系统版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The rdm_version of this MultiViewItemViewDTO. :rtype: int @@ -251,7 +251,7 @@ def rdm_version(self): def rdm_version(self, rdm_version): """Sets the rdm_version of this MultiViewItemViewDTO. - 系统版本。 + **参数解释:** 系统版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param rdm_version: The rdm_version of this MultiViewItemViewDTO. :type rdm_version: int @@ -262,7 +262,7 @@ def rdm_version(self, rdm_version): def modifier(self): """Gets the modifier of this MultiViewItemViewDTO. - 修改人。 + **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The modifier of this MultiViewItemViewDTO. :rtype: str @@ -273,7 +273,7 @@ def modifier(self): def modifier(self, modifier): """Sets the modifier of this MultiViewItemViewDTO. - 修改人。 + **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param modifier: The modifier of this MultiViewItemViewDTO. :type modifier: str @@ -284,7 +284,7 @@ def modifier(self, modifier): def last_update_time(self): """Gets the last_update_time of this MultiViewItemViewDTO. - 最后更新时间。 + **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The last_update_time of this MultiViewItemViewDTO. :rtype: object @@ -295,7 +295,7 @@ def last_update_time(self): def last_update_time(self, last_update_time): """Sets the last_update_time of this MultiViewItemViewDTO. - 最后更新时间。 + **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param last_update_time: The last_update_time of this MultiViewItemViewDTO. :type last_update_time: object diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/multi_view_model_branch_view_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/multi_view_model_branch_view_dto.py index d7e8231a2d..8e6e023dc0 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/multi_view_model_branch_view_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/multi_view_model_branch_view_dto.py @@ -21,7 +21,7 @@ class MultiViewModelBranchViewDTO: 'create_time': 'str', 'creator': 'str', 'id': 'str', - 'last_update_time': 'object', + 'last_update_time': 'str', 'modifier': 'str', 'rdm_delete_flag': 'int', 'rdm_extension_type': 'str', @@ -49,27 +49,27 @@ def __init__(self, class_name=None, create_time=None, creator=None, id=None, las The model defined in huaweicloud sdk - :param class_name: 类名。 + :param class_name: **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type class_name: str - :param create_time: 创建时间。 + :param create_time: **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type create_time: str - :param creator: 创建者。 + :param creator: **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type creator: str - :param id: 唯一标识。 + :param id: **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type id: str - :param last_update_time: 最后更新时间。 - :type last_update_time: object - :param modifier: 修改人。 + :param last_update_time: **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 + :type last_update_time: str + :param modifier: **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type modifier: str - :param rdm_delete_flag: 软删除标识,参数值为0或1。 - 0:表示未删除。 - 1:表示已删除。 + :param rdm_delete_flag: **参数解释:** 软删除标识,参数值为0或1。 **取值范围:** - 0:表示未删除。 - 1:表示已删除。 **默认取值:** 不涉及。 :type rdm_delete_flag: int - :param rdm_extension_type: 扩展类型。 + :param rdm_extension_type: **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type rdm_extension_type: str - :param rdm_version: 系统版本。 + :param rdm_version: **参数解释:** 系统版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type rdm_version: int :param tenant: :type tenant: :class:`huaweicloudsdkidmeclassicapi.v1.TenantViewDTO` - :param version: 版本号。 + :param version: **参数解释:** 版本号。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type version: str """ @@ -115,7 +115,7 @@ def __init__(self, class_name=None, create_time=None, creator=None, id=None, las def class_name(self): """Gets the class_name of this MultiViewModelBranchViewDTO. - 类名。 + **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The class_name of this MultiViewModelBranchViewDTO. :rtype: str @@ -126,7 +126,7 @@ def class_name(self): def class_name(self, class_name): """Sets the class_name of this MultiViewModelBranchViewDTO. - 类名。 + **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param class_name: The class_name of this MultiViewModelBranchViewDTO. :type class_name: str @@ -137,7 +137,7 @@ def class_name(self, class_name): def create_time(self): """Gets the create_time of this MultiViewModelBranchViewDTO. - 创建时间。 + **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The create_time of this MultiViewModelBranchViewDTO. :rtype: str @@ -148,7 +148,7 @@ def create_time(self): def create_time(self, create_time): """Sets the create_time of this MultiViewModelBranchViewDTO. - 创建时间。 + **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param create_time: The create_time of this MultiViewModelBranchViewDTO. :type create_time: str @@ -159,7 +159,7 @@ def create_time(self, create_time): def creator(self): """Gets the creator of this MultiViewModelBranchViewDTO. - 创建者。 + **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The creator of this MultiViewModelBranchViewDTO. :rtype: str @@ -170,7 +170,7 @@ def creator(self): def creator(self, creator): """Sets the creator of this MultiViewModelBranchViewDTO. - 创建者。 + **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param creator: The creator of this MultiViewModelBranchViewDTO. :type creator: str @@ -181,7 +181,7 @@ def creator(self, creator): def id(self): """Gets the id of this MultiViewModelBranchViewDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The id of this MultiViewModelBranchViewDTO. :rtype: str @@ -192,7 +192,7 @@ def id(self): def id(self, id): """Sets the id of this MultiViewModelBranchViewDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param id: The id of this MultiViewModelBranchViewDTO. :type id: str @@ -203,10 +203,10 @@ def id(self, id): def last_update_time(self): """Gets the last_update_time of this MultiViewModelBranchViewDTO. - 最后更新时间。 + **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The last_update_time of this MultiViewModelBranchViewDTO. - :rtype: object + :rtype: str """ return self._last_update_time @@ -214,10 +214,10 @@ def last_update_time(self): def last_update_time(self, last_update_time): """Sets the last_update_time of this MultiViewModelBranchViewDTO. - 最后更新时间。 + **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param last_update_time: The last_update_time of this MultiViewModelBranchViewDTO. - :type last_update_time: object + :type last_update_time: str """ self._last_update_time = last_update_time @@ -225,7 +225,7 @@ def last_update_time(self, last_update_time): def modifier(self): """Gets the modifier of this MultiViewModelBranchViewDTO. - 修改人。 + **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The modifier of this MultiViewModelBranchViewDTO. :rtype: str @@ -236,7 +236,7 @@ def modifier(self): def modifier(self, modifier): """Sets the modifier of this MultiViewModelBranchViewDTO. - 修改人。 + **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param modifier: The modifier of this MultiViewModelBranchViewDTO. :type modifier: str @@ -247,7 +247,7 @@ def modifier(self, modifier): def rdm_delete_flag(self): """Gets the rdm_delete_flag of this MultiViewModelBranchViewDTO. - 软删除标识,参数值为0或1。 - 0:表示未删除。 - 1:表示已删除。 + **参数解释:** 软删除标识,参数值为0或1。 **取值范围:** - 0:表示未删除。 - 1:表示已删除。 **默认取值:** 不涉及。 :return: The rdm_delete_flag of this MultiViewModelBranchViewDTO. :rtype: int @@ -258,7 +258,7 @@ def rdm_delete_flag(self): def rdm_delete_flag(self, rdm_delete_flag): """Sets the rdm_delete_flag of this MultiViewModelBranchViewDTO. - 软删除标识,参数值为0或1。 - 0:表示未删除。 - 1:表示已删除。 + **参数解释:** 软删除标识,参数值为0或1。 **取值范围:** - 0:表示未删除。 - 1:表示已删除。 **默认取值:** 不涉及。 :param rdm_delete_flag: The rdm_delete_flag of this MultiViewModelBranchViewDTO. :type rdm_delete_flag: int @@ -269,7 +269,7 @@ def rdm_delete_flag(self, rdm_delete_flag): def rdm_extension_type(self): """Gets the rdm_extension_type of this MultiViewModelBranchViewDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The rdm_extension_type of this MultiViewModelBranchViewDTO. :rtype: str @@ -280,7 +280,7 @@ def rdm_extension_type(self): def rdm_extension_type(self, rdm_extension_type): """Sets the rdm_extension_type of this MultiViewModelBranchViewDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param rdm_extension_type: The rdm_extension_type of this MultiViewModelBranchViewDTO. :type rdm_extension_type: str @@ -291,7 +291,7 @@ def rdm_extension_type(self, rdm_extension_type): def rdm_version(self): """Gets the rdm_version of this MultiViewModelBranchViewDTO. - 系统版本。 + **参数解释:** 系统版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The rdm_version of this MultiViewModelBranchViewDTO. :rtype: int @@ -302,7 +302,7 @@ def rdm_version(self): def rdm_version(self, rdm_version): """Sets the rdm_version of this MultiViewModelBranchViewDTO. - 系统版本。 + **参数解释:** 系统版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param rdm_version: The rdm_version of this MultiViewModelBranchViewDTO. :type rdm_version: int @@ -331,7 +331,7 @@ def tenant(self, tenant): def version(self): """Gets the version of this MultiViewModelBranchViewDTO. - 版本号。 + **参数解释:** 版本号。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The version of this MultiViewModelBranchViewDTO. :rtype: str @@ -342,7 +342,7 @@ def version(self): def version(self, version): """Sets the version of this MultiViewModelBranchViewDTO. - 版本号。 + **参数解释:** 版本号。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param version: The version of this MultiViewModelBranchViewDTO. :type version: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/multi_view_model_master_view_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/multi_view_model_master_view_dto.py index 63b4d9ceef..05bc31bf2e 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/multi_view_model_master_view_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/multi_view_model_master_view_dto.py @@ -47,23 +47,23 @@ def __init__(self, class_name=None, create_time=None, creator=None, id=None, las The model defined in huaweicloud sdk - :param class_name: 类名。 + :param class_name: **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type class_name: str - :param create_time: 创建时间。 + :param create_time: **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type create_time: str - :param creator: 创建者。 + :param creator: **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type creator: str - :param id: 唯一标识。 + :param id: **参数解释:** 唯一标识。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type id: str - :param last_update_time: 最后更新时间。 + :param last_update_time: **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type last_update_time: str - :param modifier: 修改人。 + :param modifier: **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type modifier: str - :param rdm_delete_flag: 软删除标识,参数值为0或1。 - 0:表示未删除。 - 1:表示已删除。 + :param rdm_delete_flag: **参数解释:** 软删除标识,参数值为0或1。 **取值范围:** - 0:表示未删除。 - 1:表示已删除。 **默认取值:** 不涉及。 :type rdm_delete_flag: int - :param rdm_extension_type: 扩展类型。 + :param rdm_extension_type: **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type rdm_extension_type: str - :param rdm_version: 系统版本。 + :param rdm_version: **参数解释:** 系统版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type rdm_version: int :param tenant: :type tenant: :class:`huaweicloudsdkidmeclassicapi.v1.TenantViewDTO` @@ -108,7 +108,7 @@ def __init__(self, class_name=None, create_time=None, creator=None, id=None, las def class_name(self): """Gets the class_name of this MultiViewModelMasterViewDTO. - 类名。 + **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The class_name of this MultiViewModelMasterViewDTO. :rtype: str @@ -119,7 +119,7 @@ def class_name(self): def class_name(self, class_name): """Sets the class_name of this MultiViewModelMasterViewDTO. - 类名。 + **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param class_name: The class_name of this MultiViewModelMasterViewDTO. :type class_name: str @@ -130,7 +130,7 @@ def class_name(self, class_name): def create_time(self): """Gets the create_time of this MultiViewModelMasterViewDTO. - 创建时间。 + **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The create_time of this MultiViewModelMasterViewDTO. :rtype: str @@ -141,7 +141,7 @@ def create_time(self): def create_time(self, create_time): """Sets the create_time of this MultiViewModelMasterViewDTO. - 创建时间。 + **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param create_time: The create_time of this MultiViewModelMasterViewDTO. :type create_time: str @@ -152,7 +152,7 @@ def create_time(self, create_time): def creator(self): """Gets the creator of this MultiViewModelMasterViewDTO. - 创建者。 + **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The creator of this MultiViewModelMasterViewDTO. :rtype: str @@ -163,7 +163,7 @@ def creator(self): def creator(self, creator): """Sets the creator of this MultiViewModelMasterViewDTO. - 创建者。 + **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param creator: The creator of this MultiViewModelMasterViewDTO. :type creator: str @@ -174,7 +174,7 @@ def creator(self, creator): def id(self): """Gets the id of this MultiViewModelMasterViewDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The id of this MultiViewModelMasterViewDTO. :rtype: str @@ -185,7 +185,7 @@ def id(self): def id(self, id): """Sets the id of this MultiViewModelMasterViewDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param id: The id of this MultiViewModelMasterViewDTO. :type id: str @@ -196,7 +196,7 @@ def id(self, id): def last_update_time(self): """Gets the last_update_time of this MultiViewModelMasterViewDTO. - 最后更新时间。 + **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The last_update_time of this MultiViewModelMasterViewDTO. :rtype: str @@ -207,7 +207,7 @@ def last_update_time(self): def last_update_time(self, last_update_time): """Sets the last_update_time of this MultiViewModelMasterViewDTO. - 最后更新时间。 + **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param last_update_time: The last_update_time of this MultiViewModelMasterViewDTO. :type last_update_time: str @@ -218,7 +218,7 @@ def last_update_time(self, last_update_time): def modifier(self): """Gets the modifier of this MultiViewModelMasterViewDTO. - 修改人。 + **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The modifier of this MultiViewModelMasterViewDTO. :rtype: str @@ -229,7 +229,7 @@ def modifier(self): def modifier(self, modifier): """Sets the modifier of this MultiViewModelMasterViewDTO. - 修改人。 + **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param modifier: The modifier of this MultiViewModelMasterViewDTO. :type modifier: str @@ -240,7 +240,7 @@ def modifier(self, modifier): def rdm_delete_flag(self): """Gets the rdm_delete_flag of this MultiViewModelMasterViewDTO. - 软删除标识,参数值为0或1。 - 0:表示未删除。 - 1:表示已删除。 + **参数解释:** 软删除标识,参数值为0或1。 **取值范围:** - 0:表示未删除。 - 1:表示已删除。 **默认取值:** 不涉及。 :return: The rdm_delete_flag of this MultiViewModelMasterViewDTO. :rtype: int @@ -251,7 +251,7 @@ def rdm_delete_flag(self): def rdm_delete_flag(self, rdm_delete_flag): """Sets the rdm_delete_flag of this MultiViewModelMasterViewDTO. - 软删除标识,参数值为0或1。 - 0:表示未删除。 - 1:表示已删除。 + **参数解释:** 软删除标识,参数值为0或1。 **取值范围:** - 0:表示未删除。 - 1:表示已删除。 **默认取值:** 不涉及。 :param rdm_delete_flag: The rdm_delete_flag of this MultiViewModelMasterViewDTO. :type rdm_delete_flag: int @@ -262,7 +262,7 @@ def rdm_delete_flag(self, rdm_delete_flag): def rdm_extension_type(self): """Gets the rdm_extension_type of this MultiViewModelMasterViewDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The rdm_extension_type of this MultiViewModelMasterViewDTO. :rtype: str @@ -273,7 +273,7 @@ def rdm_extension_type(self): def rdm_extension_type(self, rdm_extension_type): """Sets the rdm_extension_type of this MultiViewModelMasterViewDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param rdm_extension_type: The rdm_extension_type of this MultiViewModelMasterViewDTO. :type rdm_extension_type: str @@ -284,7 +284,7 @@ def rdm_extension_type(self, rdm_extension_type): def rdm_version(self): """Gets the rdm_version of this MultiViewModelMasterViewDTO. - 系统版本。 + **参数解释:** 系统版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The rdm_version of this MultiViewModelMasterViewDTO. :rtype: int @@ -295,7 +295,7 @@ def rdm_version(self): def rdm_version(self, rdm_version): """Sets the rdm_version of this MultiViewModelMasterViewDTO. - 系统版本。 + **参数解释:** 系统版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param rdm_version: The rdm_version of this MultiViewModelMasterViewDTO. :type rdm_version: int diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/multi_view_model_version_view_create_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/multi_view_model_version_view_create_dto.py index e54c8ecf62..1524c6d09b 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/multi_view_model_version_view_create_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/multi_view_model_version_view_create_dto.py @@ -39,15 +39,15 @@ def __init__(self, modifier=None, version_id=None, work_copy_type=None, custom_l The model defined in huaweicloud sdk - :param modifier: 修改人。 + :param modifier: **参数解释:** 修改人。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type modifier: str - :param version_id: 版本对象ID。 + :param version_id: **参数解释:** 版本对象ID。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type version_id: str - :param work_copy_type: 关系的复制类型。 - BOTH:若存在关系实例引用此数据实例作为源端实例或目标端实例,创建多维版本后的数据实例将继承这些关系实例。 - SOURCE:若存在关系实例引用此数据实例作为源端实例,创建多维版本后的数据实例将继承这些关系实例。 - TARGET:若存在关系实例引用此数据实例作为目标端实例,创建多维版本后的数据实例将继承这些关系实例。 - NONE:创建多维版本后的数据实例将不继承任何关系实例。 - CUSTOM:若指定的关系实体集合对应的关系实例引用此数据实例作为源端实例或目标端实例,创建多维版本后的数据实例将继承这些关系实例。 + :param work_copy_type: **参数解释:** 关系的复制类型。 **约束限制:** 不涉及。 **取值范围:** - BOTH:若存在关系实例引用此数据实例作为源端实例或目标端实例,创建多维版本后的数据实例将继承这些关系实例。 - SOURCE:若存在关系实例引用此数据实例作为源端实例,创建多维版本后的数据实例将继承这些关系实例。 - TARGET:若存在关系实例引用此数据实例作为目标端实例,创建多维版本后的数据实例将继承这些关系实例。 - NONE:创建多维版本后的数据实例将不继承任何关系实例。 - CUSTOM:若指定的关系实体集合对应的关系实例引用此数据实例作为源端实例或目标端实例,创建多维版本后的数据实例将继承这些关系实例。 **默认取值:** 不涉及。 :type work_copy_type: str - :param custom_link_set: 关系实体名称集合,与workCopyType的值CUSTOM配合使用。 + :param custom_link_set: **参数解释:** 关系实体名称集合,与workCopyType的值CUSTOM配合使用。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type custom_link_set: list[str] - :param need_set_null: 指定不复制的属性,其值将被设置为null。 + :param need_set_null: **参数解释:** 指定不复制的属性,其值将被设置为null。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type need_set_null: list[str] :param item: :type item: :class:`huaweicloudsdkidmeclassicapi.v1.ObjectReferenceParamDTO` @@ -78,7 +78,7 @@ def __init__(self, modifier=None, version_id=None, work_copy_type=None, custom_l def modifier(self): """Gets the modifier of this MultiViewModelVersionViewCreateDTO. - 修改人。 + **参数解释:** 修改人。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The modifier of this MultiViewModelVersionViewCreateDTO. :rtype: str @@ -89,7 +89,7 @@ def modifier(self): def modifier(self, modifier): """Sets the modifier of this MultiViewModelVersionViewCreateDTO. - 修改人。 + **参数解释:** 修改人。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param modifier: The modifier of this MultiViewModelVersionViewCreateDTO. :type modifier: str @@ -100,7 +100,7 @@ def modifier(self, modifier): def version_id(self): """Gets the version_id of this MultiViewModelVersionViewCreateDTO. - 版本对象ID。 + **参数解释:** 版本对象ID。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The version_id of this MultiViewModelVersionViewCreateDTO. :rtype: str @@ -111,7 +111,7 @@ def version_id(self): def version_id(self, version_id): """Sets the version_id of this MultiViewModelVersionViewCreateDTO. - 版本对象ID。 + **参数解释:** 版本对象ID。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param version_id: The version_id of this MultiViewModelVersionViewCreateDTO. :type version_id: str @@ -122,7 +122,7 @@ def version_id(self, version_id): def work_copy_type(self): """Gets the work_copy_type of this MultiViewModelVersionViewCreateDTO. - 关系的复制类型。 - BOTH:若存在关系实例引用此数据实例作为源端实例或目标端实例,创建多维版本后的数据实例将继承这些关系实例。 - SOURCE:若存在关系实例引用此数据实例作为源端实例,创建多维版本后的数据实例将继承这些关系实例。 - TARGET:若存在关系实例引用此数据实例作为目标端实例,创建多维版本后的数据实例将继承这些关系实例。 - NONE:创建多维版本后的数据实例将不继承任何关系实例。 - CUSTOM:若指定的关系实体集合对应的关系实例引用此数据实例作为源端实例或目标端实例,创建多维版本后的数据实例将继承这些关系实例。 + **参数解释:** 关系的复制类型。 **约束限制:** 不涉及。 **取值范围:** - BOTH:若存在关系实例引用此数据实例作为源端实例或目标端实例,创建多维版本后的数据实例将继承这些关系实例。 - SOURCE:若存在关系实例引用此数据实例作为源端实例,创建多维版本后的数据实例将继承这些关系实例。 - TARGET:若存在关系实例引用此数据实例作为目标端实例,创建多维版本后的数据实例将继承这些关系实例。 - NONE:创建多维版本后的数据实例将不继承任何关系实例。 - CUSTOM:若指定的关系实体集合对应的关系实例引用此数据实例作为源端实例或目标端实例,创建多维版本后的数据实例将继承这些关系实例。 **默认取值:** 不涉及。 :return: The work_copy_type of this MultiViewModelVersionViewCreateDTO. :rtype: str @@ -133,7 +133,7 @@ def work_copy_type(self): def work_copy_type(self, work_copy_type): """Sets the work_copy_type of this MultiViewModelVersionViewCreateDTO. - 关系的复制类型。 - BOTH:若存在关系实例引用此数据实例作为源端实例或目标端实例,创建多维版本后的数据实例将继承这些关系实例。 - SOURCE:若存在关系实例引用此数据实例作为源端实例,创建多维版本后的数据实例将继承这些关系实例。 - TARGET:若存在关系实例引用此数据实例作为目标端实例,创建多维版本后的数据实例将继承这些关系实例。 - NONE:创建多维版本后的数据实例将不继承任何关系实例。 - CUSTOM:若指定的关系实体集合对应的关系实例引用此数据实例作为源端实例或目标端实例,创建多维版本后的数据实例将继承这些关系实例。 + **参数解释:** 关系的复制类型。 **约束限制:** 不涉及。 **取值范围:** - BOTH:若存在关系实例引用此数据实例作为源端实例或目标端实例,创建多维版本后的数据实例将继承这些关系实例。 - SOURCE:若存在关系实例引用此数据实例作为源端实例,创建多维版本后的数据实例将继承这些关系实例。 - TARGET:若存在关系实例引用此数据实例作为目标端实例,创建多维版本后的数据实例将继承这些关系实例。 - NONE:创建多维版本后的数据实例将不继承任何关系实例。 - CUSTOM:若指定的关系实体集合对应的关系实例引用此数据实例作为源端实例或目标端实例,创建多维版本后的数据实例将继承这些关系实例。 **默认取值:** 不涉及。 :param work_copy_type: The work_copy_type of this MultiViewModelVersionViewCreateDTO. :type work_copy_type: str @@ -144,7 +144,7 @@ def work_copy_type(self, work_copy_type): def custom_link_set(self): """Gets the custom_link_set of this MultiViewModelVersionViewCreateDTO. - 关系实体名称集合,与workCopyType的值CUSTOM配合使用。 + **参数解释:** 关系实体名称集合,与workCopyType的值CUSTOM配合使用。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The custom_link_set of this MultiViewModelVersionViewCreateDTO. :rtype: list[str] @@ -155,7 +155,7 @@ def custom_link_set(self): def custom_link_set(self, custom_link_set): """Sets the custom_link_set of this MultiViewModelVersionViewCreateDTO. - 关系实体名称集合,与workCopyType的值CUSTOM配合使用。 + **参数解释:** 关系实体名称集合,与workCopyType的值CUSTOM配合使用。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param custom_link_set: The custom_link_set of this MultiViewModelVersionViewCreateDTO. :type custom_link_set: list[str] @@ -166,7 +166,7 @@ def custom_link_set(self, custom_link_set): def need_set_null(self): """Gets the need_set_null of this MultiViewModelVersionViewCreateDTO. - 指定不复制的属性,其值将被设置为null。 + **参数解释:** 指定不复制的属性,其值将被设置为null。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The need_set_null of this MultiViewModelVersionViewCreateDTO. :rtype: list[str] @@ -177,7 +177,7 @@ def need_set_null(self): def need_set_null(self, need_set_null): """Sets the need_set_null of this MultiViewModelVersionViewCreateDTO. - 指定不复制的属性,其值将被设置为null。 + **参数解释:** 指定不复制的属性,其值将被设置为null。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param need_set_null: The need_set_null of this MultiViewModelVersionViewCreateDTO. :type need_set_null: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/multi_view_model_view_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/multi_view_model_view_dto.py index 85e212752e..0a102a08f0 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/multi_view_model_view_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/multi_view_model_view_dto.py @@ -85,55 +85,55 @@ def __init__(self, branch=None, check_out_time=None, check_out_user_name=None, c :param branch: :type branch: :class:`huaweicloudsdkidmeclassicapi.v1.MultiViewModelBranchViewDTO` - :param check_out_time: 检出时间。 + :param check_out_time: **参数解释:** 检出时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type check_out_time: str - :param check_out_user_name: 检出人。 + :param check_out_user_name: **参数解释:** 检出人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type check_out_user_name: str - :param class_name: 类名。 + :param class_name: **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type class_name: str - :param create_time: 创建时间。 + :param create_time: **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type create_time: str - :param creator: 创建者。 + :param creator: **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type creator: str - :param description: 描述信息。 + :param description: **参数解释:** 描述信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type description: str - :param id: 唯一标识。 + :param id: **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type id: str - :param iteration: 迭代版本。 + :param iteration: **参数解释:** 迭代版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type iteration: int - :param kiaguid: KIA密级。 + :param kiaguid: **参数解释:** KIA密级。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type kiaguid: str - :param last_update_time: 最后更新时间。 + :param last_update_time: **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type last_update_time: str - :param latest: 是否为最新版本。 - true:是最新版本。 - false:不是最新版本。 + :param latest: **参数解释:** 是否为最新版本。 **取值范围:** - true:是最新版本。 - false:不是最新版本。 **默认取值:** false。 :type latest: bool - :param latest_iteration: 是否为最新迭代版本。 - true:是最新迭代版本。 - false:不是最新迭代版本。 + :param latest_iteration: **参数解释:** 是否为最新迭代版本。 **取值范围:** - true:是最新迭代版本。 - false:不是最新迭代版本。 **默认取值:** false。 :type latest_iteration: bool - :param latest_version: 是否为最新修订版本。 - true:是最新修订版本。 - false:不是最新修订版本。 + :param latest_version: **参数解释:** 是否为最新修订版本。 **取值范围:** - true:是最新修订版本。 - false:不是最新修订版本。 **默认取值:** false。 :type latest_version: bool :param master: :type master: :class:`huaweicloudsdkidmeclassicapi.v1.MultiViewModelMasterViewDTO` - :param modifier: 修改人。 + :param modifier: **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type modifier: str - :param name: 中文名称。 + :param name: **参数解释:** 中文名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type name: str - :param pre_version_id: 前序版本实例ID。 + :param pre_version_id: **参数解释:** 前序版本实例ID。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type pre_version_id: str - :param rdm_delete_flag: 软删除标识,参数值为0或1。 - 0:表示未删除。 - 1:表示已删除。 + :param rdm_delete_flag: **参数解释:** 软删除标识,参数值为0或1。 **取值范围:** - 0:表示未删除。 - 1:表示已删除。 **默认取值:** 不涉及。 :type rdm_delete_flag: int - :param rdm_extension_type: 扩展类型。 + :param rdm_extension_type: **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type rdm_extension_type: str - :param rdm_version: 系统版本。 + :param rdm_version: **参数解释:** 系统版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type rdm_version: int - :param security_level: 安全密级。 - INTERNAL:内部公开。 - SECRET:秘密。 - CONFIDENTIAL:机密。 - TOP_SECRET:绝密。 + :param security_level: **参数解释:** 安全密级。 **取值范围:** - INTERNAL:内部公开。 - SECRET:秘密。 - CONFIDENTIAL:机密。 - TOP_SECRET:绝密。 **默认取值:** 不涉及。 :type security_level: str :param tenant: :type tenant: :class:`huaweicloudsdkidmeclassicapi.v1.TenantViewDTO` - :param version: 版本号。 + :param version: **参数解释:** 版本号。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type version: str - :param version_code: 业务版本内码。 + :param version_code: **参数解释:** 业务版本内码。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type version_code: int - :param working_copy: 是否已检出。 - true:已检出。 - false:未检出。 + :param working_copy: **参数解释:** 是否已检出。 **取值范围:** - true:已检出。 - false:未检出。 **默认取值:** 不涉及。 :type working_copy: bool :param working_state: :type working_state: :class:`huaweicloudsdkidmeclassicapi.v1.WorkingState` @@ -252,7 +252,7 @@ def branch(self, branch): def check_out_time(self): """Gets the check_out_time of this MultiViewModelViewDTO. - 检出时间。 + **参数解释:** 检出时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The check_out_time of this MultiViewModelViewDTO. :rtype: str @@ -263,7 +263,7 @@ def check_out_time(self): def check_out_time(self, check_out_time): """Sets the check_out_time of this MultiViewModelViewDTO. - 检出时间。 + **参数解释:** 检出时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param check_out_time: The check_out_time of this MultiViewModelViewDTO. :type check_out_time: str @@ -274,7 +274,7 @@ def check_out_time(self, check_out_time): def check_out_user_name(self): """Gets the check_out_user_name of this MultiViewModelViewDTO. - 检出人。 + **参数解释:** 检出人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The check_out_user_name of this MultiViewModelViewDTO. :rtype: str @@ -285,7 +285,7 @@ def check_out_user_name(self): def check_out_user_name(self, check_out_user_name): """Sets the check_out_user_name of this MultiViewModelViewDTO. - 检出人。 + **参数解释:** 检出人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param check_out_user_name: The check_out_user_name of this MultiViewModelViewDTO. :type check_out_user_name: str @@ -296,7 +296,7 @@ def check_out_user_name(self, check_out_user_name): def class_name(self): """Gets the class_name of this MultiViewModelViewDTO. - 类名。 + **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The class_name of this MultiViewModelViewDTO. :rtype: str @@ -307,7 +307,7 @@ def class_name(self): def class_name(self, class_name): """Sets the class_name of this MultiViewModelViewDTO. - 类名。 + **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param class_name: The class_name of this MultiViewModelViewDTO. :type class_name: str @@ -318,7 +318,7 @@ def class_name(self, class_name): def create_time(self): """Gets the create_time of this MultiViewModelViewDTO. - 创建时间。 + **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The create_time of this MultiViewModelViewDTO. :rtype: str @@ -329,7 +329,7 @@ def create_time(self): def create_time(self, create_time): """Sets the create_time of this MultiViewModelViewDTO. - 创建时间。 + **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param create_time: The create_time of this MultiViewModelViewDTO. :type create_time: str @@ -340,7 +340,7 @@ def create_time(self, create_time): def creator(self): """Gets the creator of this MultiViewModelViewDTO. - 创建者。 + **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The creator of this MultiViewModelViewDTO. :rtype: str @@ -351,7 +351,7 @@ def creator(self): def creator(self, creator): """Sets the creator of this MultiViewModelViewDTO. - 创建者。 + **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param creator: The creator of this MultiViewModelViewDTO. :type creator: str @@ -362,7 +362,7 @@ def creator(self, creator): def description(self): """Gets the description of this MultiViewModelViewDTO. - 描述信息。 + **参数解释:** 描述信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The description of this MultiViewModelViewDTO. :rtype: str @@ -373,7 +373,7 @@ def description(self): def description(self, description): """Sets the description of this MultiViewModelViewDTO. - 描述信息。 + **参数解释:** 描述信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param description: The description of this MultiViewModelViewDTO. :type description: str @@ -384,7 +384,7 @@ def description(self, description): def id(self): """Gets the id of this MultiViewModelViewDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The id of this MultiViewModelViewDTO. :rtype: str @@ -395,7 +395,7 @@ def id(self): def id(self, id): """Sets the id of this MultiViewModelViewDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param id: The id of this MultiViewModelViewDTO. :type id: str @@ -406,7 +406,7 @@ def id(self, id): def iteration(self): """Gets the iteration of this MultiViewModelViewDTO. - 迭代版本。 + **参数解释:** 迭代版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The iteration of this MultiViewModelViewDTO. :rtype: int @@ -417,7 +417,7 @@ def iteration(self): def iteration(self, iteration): """Sets the iteration of this MultiViewModelViewDTO. - 迭代版本。 + **参数解释:** 迭代版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param iteration: The iteration of this MultiViewModelViewDTO. :type iteration: int @@ -428,7 +428,7 @@ def iteration(self, iteration): def kiaguid(self): """Gets the kiaguid of this MultiViewModelViewDTO. - KIA密级。 + **参数解释:** KIA密级。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The kiaguid of this MultiViewModelViewDTO. :rtype: str @@ -439,7 +439,7 @@ def kiaguid(self): def kiaguid(self, kiaguid): """Sets the kiaguid of this MultiViewModelViewDTO. - KIA密级。 + **参数解释:** KIA密级。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param kiaguid: The kiaguid of this MultiViewModelViewDTO. :type kiaguid: str @@ -450,7 +450,7 @@ def kiaguid(self, kiaguid): def last_update_time(self): """Gets the last_update_time of this MultiViewModelViewDTO. - 最后更新时间。 + **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The last_update_time of this MultiViewModelViewDTO. :rtype: str @@ -461,7 +461,7 @@ def last_update_time(self): def last_update_time(self, last_update_time): """Sets the last_update_time of this MultiViewModelViewDTO. - 最后更新时间。 + **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param last_update_time: The last_update_time of this MultiViewModelViewDTO. :type last_update_time: str @@ -472,7 +472,7 @@ def last_update_time(self, last_update_time): def latest(self): """Gets the latest of this MultiViewModelViewDTO. - 是否为最新版本。 - true:是最新版本。 - false:不是最新版本。 + **参数解释:** 是否为最新版本。 **取值范围:** - true:是最新版本。 - false:不是最新版本。 **默认取值:** false。 :return: The latest of this MultiViewModelViewDTO. :rtype: bool @@ -483,7 +483,7 @@ def latest(self): def latest(self, latest): """Sets the latest of this MultiViewModelViewDTO. - 是否为最新版本。 - true:是最新版本。 - false:不是最新版本。 + **参数解释:** 是否为最新版本。 **取值范围:** - true:是最新版本。 - false:不是最新版本。 **默认取值:** false。 :param latest: The latest of this MultiViewModelViewDTO. :type latest: bool @@ -494,7 +494,7 @@ def latest(self, latest): def latest_iteration(self): """Gets the latest_iteration of this MultiViewModelViewDTO. - 是否为最新迭代版本。 - true:是最新迭代版本。 - false:不是最新迭代版本。 + **参数解释:** 是否为最新迭代版本。 **取值范围:** - true:是最新迭代版本。 - false:不是最新迭代版本。 **默认取值:** false。 :return: The latest_iteration of this MultiViewModelViewDTO. :rtype: bool @@ -505,7 +505,7 @@ def latest_iteration(self): def latest_iteration(self, latest_iteration): """Sets the latest_iteration of this MultiViewModelViewDTO. - 是否为最新迭代版本。 - true:是最新迭代版本。 - false:不是最新迭代版本。 + **参数解释:** 是否为最新迭代版本。 **取值范围:** - true:是最新迭代版本。 - false:不是最新迭代版本。 **默认取值:** false。 :param latest_iteration: The latest_iteration of this MultiViewModelViewDTO. :type latest_iteration: bool @@ -516,7 +516,7 @@ def latest_iteration(self, latest_iteration): def latest_version(self): """Gets the latest_version of this MultiViewModelViewDTO. - 是否为最新修订版本。 - true:是最新修订版本。 - false:不是最新修订版本。 + **参数解释:** 是否为最新修订版本。 **取值范围:** - true:是最新修订版本。 - false:不是最新修订版本。 **默认取值:** false。 :return: The latest_version of this MultiViewModelViewDTO. :rtype: bool @@ -527,7 +527,7 @@ def latest_version(self): def latest_version(self, latest_version): """Sets the latest_version of this MultiViewModelViewDTO. - 是否为最新修订版本。 - true:是最新修订版本。 - false:不是最新修订版本。 + **参数解释:** 是否为最新修订版本。 **取值范围:** - true:是最新修订版本。 - false:不是最新修订版本。 **默认取值:** false。 :param latest_version: The latest_version of this MultiViewModelViewDTO. :type latest_version: bool @@ -556,7 +556,7 @@ def master(self, master): def modifier(self): """Gets the modifier of this MultiViewModelViewDTO. - 修改人。 + **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The modifier of this MultiViewModelViewDTO. :rtype: str @@ -567,7 +567,7 @@ def modifier(self): def modifier(self, modifier): """Sets the modifier of this MultiViewModelViewDTO. - 修改人。 + **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param modifier: The modifier of this MultiViewModelViewDTO. :type modifier: str @@ -578,7 +578,7 @@ def modifier(self, modifier): def name(self): """Gets the name of this MultiViewModelViewDTO. - 中文名称。 + **参数解释:** 中文名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The name of this MultiViewModelViewDTO. :rtype: str @@ -589,7 +589,7 @@ def name(self): def name(self, name): """Sets the name of this MultiViewModelViewDTO. - 中文名称。 + **参数解释:** 中文名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param name: The name of this MultiViewModelViewDTO. :type name: str @@ -600,7 +600,7 @@ def name(self, name): def pre_version_id(self): """Gets the pre_version_id of this MultiViewModelViewDTO. - 前序版本实例ID。 + **参数解释:** 前序版本实例ID。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The pre_version_id of this MultiViewModelViewDTO. :rtype: str @@ -611,7 +611,7 @@ def pre_version_id(self): def pre_version_id(self, pre_version_id): """Sets the pre_version_id of this MultiViewModelViewDTO. - 前序版本实例ID。 + **参数解释:** 前序版本实例ID。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param pre_version_id: The pre_version_id of this MultiViewModelViewDTO. :type pre_version_id: str @@ -622,7 +622,7 @@ def pre_version_id(self, pre_version_id): def rdm_delete_flag(self): """Gets the rdm_delete_flag of this MultiViewModelViewDTO. - 软删除标识,参数值为0或1。 - 0:表示未删除。 - 1:表示已删除。 + **参数解释:** 软删除标识,参数值为0或1。 **取值范围:** - 0:表示未删除。 - 1:表示已删除。 **默认取值:** 不涉及。 :return: The rdm_delete_flag of this MultiViewModelViewDTO. :rtype: int @@ -633,7 +633,7 @@ def rdm_delete_flag(self): def rdm_delete_flag(self, rdm_delete_flag): """Sets the rdm_delete_flag of this MultiViewModelViewDTO. - 软删除标识,参数值为0或1。 - 0:表示未删除。 - 1:表示已删除。 + **参数解释:** 软删除标识,参数值为0或1。 **取值范围:** - 0:表示未删除。 - 1:表示已删除。 **默认取值:** 不涉及。 :param rdm_delete_flag: The rdm_delete_flag of this MultiViewModelViewDTO. :type rdm_delete_flag: int @@ -644,7 +644,7 @@ def rdm_delete_flag(self, rdm_delete_flag): def rdm_extension_type(self): """Gets the rdm_extension_type of this MultiViewModelViewDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The rdm_extension_type of this MultiViewModelViewDTO. :rtype: str @@ -655,7 +655,7 @@ def rdm_extension_type(self): def rdm_extension_type(self, rdm_extension_type): """Sets the rdm_extension_type of this MultiViewModelViewDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param rdm_extension_type: The rdm_extension_type of this MultiViewModelViewDTO. :type rdm_extension_type: str @@ -666,7 +666,7 @@ def rdm_extension_type(self, rdm_extension_type): def rdm_version(self): """Gets the rdm_version of this MultiViewModelViewDTO. - 系统版本。 + **参数解释:** 系统版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The rdm_version of this MultiViewModelViewDTO. :rtype: int @@ -677,7 +677,7 @@ def rdm_version(self): def rdm_version(self, rdm_version): """Sets the rdm_version of this MultiViewModelViewDTO. - 系统版本。 + **参数解释:** 系统版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param rdm_version: The rdm_version of this MultiViewModelViewDTO. :type rdm_version: int @@ -688,7 +688,7 @@ def rdm_version(self, rdm_version): def security_level(self): """Gets the security_level of this MultiViewModelViewDTO. - 安全密级。 - INTERNAL:内部公开。 - SECRET:秘密。 - CONFIDENTIAL:机密。 - TOP_SECRET:绝密。 + **参数解释:** 安全密级。 **取值范围:** - INTERNAL:内部公开。 - SECRET:秘密。 - CONFIDENTIAL:机密。 - TOP_SECRET:绝密。 **默认取值:** 不涉及。 :return: The security_level of this MultiViewModelViewDTO. :rtype: str @@ -699,7 +699,7 @@ def security_level(self): def security_level(self, security_level): """Sets the security_level of this MultiViewModelViewDTO. - 安全密级。 - INTERNAL:内部公开。 - SECRET:秘密。 - CONFIDENTIAL:机密。 - TOP_SECRET:绝密。 + **参数解释:** 安全密级。 **取值范围:** - INTERNAL:内部公开。 - SECRET:秘密。 - CONFIDENTIAL:机密。 - TOP_SECRET:绝密。 **默认取值:** 不涉及。 :param security_level: The security_level of this MultiViewModelViewDTO. :type security_level: str @@ -728,7 +728,7 @@ def tenant(self, tenant): def version(self): """Gets the version of this MultiViewModelViewDTO. - 版本号。 + **参数解释:** 版本号。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The version of this MultiViewModelViewDTO. :rtype: str @@ -739,7 +739,7 @@ def version(self): def version(self, version): """Sets the version of this MultiViewModelViewDTO. - 版本号。 + **参数解释:** 版本号。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param version: The version of this MultiViewModelViewDTO. :type version: str @@ -750,7 +750,7 @@ def version(self, version): def version_code(self): """Gets the version_code of this MultiViewModelViewDTO. - 业务版本内码。 + **参数解释:** 业务版本内码。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The version_code of this MultiViewModelViewDTO. :rtype: int @@ -761,7 +761,7 @@ def version_code(self): def version_code(self, version_code): """Sets the version_code of this MultiViewModelViewDTO. - 业务版本内码。 + **参数解释:** 业务版本内码。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param version_code: The version_code of this MultiViewModelViewDTO. :type version_code: int @@ -772,7 +772,7 @@ def version_code(self, version_code): def working_copy(self): """Gets the working_copy of this MultiViewModelViewDTO. - 是否已检出。 - true:已检出。 - false:未检出。 + **参数解释:** 是否已检出。 **取值范围:** - true:已检出。 - false:未检出。 **默认取值:** 不涉及。 :return: The working_copy of this MultiViewModelViewDTO. :rtype: bool @@ -783,7 +783,7 @@ def working_copy(self): def working_copy(self, working_copy): """Sets the working_copy of this MultiViewModelViewDTO. - 是否已检出。 - true:已检出。 - false:未检出。 + **参数解释:** 是否已检出。 **取值范围:** - true:已检出。 - false:未检出。 **默认取值:** 不涉及。 :param working_copy: The working_copy of this MultiViewModelViewDTO. :type working_copy: bool diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/object_reference_param_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/object_reference_param_dto.py index 2ad3f1ff57..030aca4a3c 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/object_reference_param_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/object_reference_param_dto.py @@ -31,9 +31,9 @@ def __init__(self, clazz=None, id=None): The model defined in huaweicloud sdk - :param clazz: 类名。 + :param clazz: **参数解释:** 类名。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type clazz: str - :param id: 数据实例ID。 + :param id: **参数解释:** 数据实例ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type id: str """ @@ -51,7 +51,7 @@ def __init__(self, clazz=None, id=None): def clazz(self): """Gets the clazz of this ObjectReferenceParamDTO. - 类名。 + **参数解释:** 类名。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The clazz of this ObjectReferenceParamDTO. :rtype: str @@ -62,7 +62,7 @@ def clazz(self): def clazz(self, clazz): """Sets the clazz of this ObjectReferenceParamDTO. - 类名。 + **参数解释:** 类名。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param clazz: The clazz of this ObjectReferenceParamDTO. :type clazz: str @@ -73,7 +73,7 @@ def clazz(self, clazz): def id(self): """Gets the id of this ObjectReferenceParamDTO. - 数据实例ID。 + **参数解释:** 数据实例ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The id of this ObjectReferenceParamDTO. :rtype: str @@ -84,7 +84,7 @@ def id(self): def id(self, id): """Sets the id of this ObjectReferenceParamDTO. - 数据实例ID。 + **参数解释:** 数据实例ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param id: The id of this ObjectReferenceParamDTO. :type id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/object_reference_view_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/object_reference_view_dto.py index a08764ee8b..f1adabe3c9 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/object_reference_view_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/object_reference_view_dto.py @@ -31,9 +31,9 @@ def __init__(self, clazz=None, id=None): The model defined in huaweicloud sdk - :param clazz: 类名。 + :param clazz: **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type clazz: str - :param id: 唯一标识。 + :param id: **参数解释:** 唯一标识。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type id: str """ @@ -51,7 +51,7 @@ def __init__(self, clazz=None, id=None): def clazz(self): """Gets the clazz of this ObjectReferenceViewDTO. - 类名。 + **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The clazz of this ObjectReferenceViewDTO. :rtype: str @@ -62,7 +62,7 @@ def clazz(self): def clazz(self, clazz): """Sets the clazz of this ObjectReferenceViewDTO. - 类名。 + **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param clazz: The clazz of this ObjectReferenceViewDTO. :type clazz: str @@ -73,7 +73,7 @@ def clazz(self, clazz): def id(self): """Gets the id of this ObjectReferenceViewDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The id of this ObjectReferenceViewDTO. :rtype: str @@ -84,7 +84,7 @@ def id(self): def id(self, id): """Sets the id of this ObjectReferenceViewDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param id: The id of this ObjectReferenceViewDTO. :type id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/page_info_view_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/page_info_view_dto.py index d77a62ebe2..8ba5901598 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/page_info_view_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/page_info_view_dto.py @@ -35,13 +35,13 @@ def __init__(self, cur_page=None, page_size=None, total_rows=None, total_pages=N The model defined in huaweicloud sdk - :param cur_page: 当前页。 + :param cur_page: **参数解释:** 当前页。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type cur_page: int - :param page_size: 每页大小。 + :param page_size: **参数解释:** 每页大小。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type page_size: int - :param total_rows: 总行数。 + :param total_rows: **参数解释:** 总行数。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type total_rows: int - :param total_pages: 总页数。 + :param total_pages: **参数解释:** 总页数。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type total_pages: int """ @@ -66,7 +66,7 @@ def __init__(self, cur_page=None, page_size=None, total_rows=None, total_pages=N def cur_page(self): """Gets the cur_page of this PageInfoViewDTO. - 当前页。 + **参数解释:** 当前页。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The cur_page of this PageInfoViewDTO. :rtype: int @@ -77,7 +77,7 @@ def cur_page(self): def cur_page(self, cur_page): """Sets the cur_page of this PageInfoViewDTO. - 当前页。 + **参数解释:** 当前页。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param cur_page: The cur_page of this PageInfoViewDTO. :type cur_page: int @@ -88,7 +88,7 @@ def cur_page(self, cur_page): def page_size(self): """Gets the page_size of this PageInfoViewDTO. - 每页大小。 + **参数解释:** 每页大小。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The page_size of this PageInfoViewDTO. :rtype: int @@ -99,7 +99,7 @@ def page_size(self): def page_size(self, page_size): """Sets the page_size of this PageInfoViewDTO. - 每页大小。 + **参数解释:** 每页大小。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param page_size: The page_size of this PageInfoViewDTO. :type page_size: int @@ -110,7 +110,7 @@ def page_size(self, page_size): def total_rows(self): """Gets the total_rows of this PageInfoViewDTO. - 总行数。 + **参数解释:** 总行数。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The total_rows of this PageInfoViewDTO. :rtype: int @@ -121,7 +121,7 @@ def total_rows(self): def total_rows(self, total_rows): """Sets the total_rows of this PageInfoViewDTO. - 总行数。 + **参数解释:** 总行数。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param total_rows: The total_rows of this PageInfoViewDTO. :type total_rows: int @@ -132,7 +132,7 @@ def total_rows(self, total_rows): def total_pages(self): """Gets the total_pages of this PageInfoViewDTO. - 总页数。 + **参数解释:** 总页数。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The total_pages of this PageInfoViewDTO. :rtype: int @@ -143,7 +143,7 @@ def total_pages(self): def total_pages(self, total_pages): """Sets the total_pages of this PageInfoViewDTO. - 总页数。 + **参数解释:** 总页数。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param total_pages: The total_pages of this PageInfoViewDTO. :type total_pages: int diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persist_object_id_decrypt_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persist_object_id_decrypt_dto.py index 130d3eb1a3..9c88a5bcf5 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persist_object_id_decrypt_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persist_object_id_decrypt_dto.py @@ -31,9 +31,9 @@ def __init__(self, decrypt=None, id=None): The model defined in huaweicloud sdk - :param decrypt: 是否加密。 - true:加密。 - false:不加密。 + :param decrypt: **参数解释:** 是否加密。 **约束限制:** 不涉及。 **取值范围:** - true:加密。 - false:不加密。 **默认取值:** false。 :type decrypt: bool - :param id: 唯一标识。 + :param id: **参数解释:** 唯一标识。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type id: str """ @@ -51,7 +51,7 @@ def __init__(self, decrypt=None, id=None): def decrypt(self): """Gets the decrypt of this PersistObjectIdDecryptDTO. - 是否加密。 - true:加密。 - false:不加密。 + **参数解释:** 是否加密。 **约束限制:** 不涉及。 **取值范围:** - true:加密。 - false:不加密。 **默认取值:** false。 :return: The decrypt of this PersistObjectIdDecryptDTO. :rtype: bool @@ -62,7 +62,7 @@ def decrypt(self): def decrypt(self, decrypt): """Sets the decrypt of this PersistObjectIdDecryptDTO. - 是否加密。 - true:加密。 - false:不加密。 + **参数解释:** 是否加密。 **约束限制:** 不涉及。 **取值范围:** - true:加密。 - false:不加密。 **默认取值:** false。 :param decrypt: The decrypt of this PersistObjectIdDecryptDTO. :type decrypt: bool @@ -73,7 +73,7 @@ def decrypt(self, decrypt): def id(self): """Gets the id of this PersistObjectIdDecryptDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The id of this PersistObjectIdDecryptDTO. :rtype: str @@ -84,7 +84,7 @@ def id(self): def id(self, id): """Sets the id of this PersistObjectIdDecryptDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param id: The id of this PersistObjectIdDecryptDTO. :type id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persist_object_id_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persist_object_id_dto.py index 8a66aaf721..5562bb3da5 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persist_object_id_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persist_object_id_dto.py @@ -29,7 +29,7 @@ def __init__(self, id=None): The model defined in huaweicloud sdk - :param id: 数据实例ID。 + :param id: **参数解释:** 数据实例ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type id: str """ @@ -44,7 +44,7 @@ def __init__(self, id=None): def id(self): """Gets the id of this PersistObjectIdDTO. - 数据实例ID。 + **参数解释:** 数据实例ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The id of this PersistObjectIdDTO. :rtype: str @@ -55,7 +55,7 @@ def id(self): def id(self, id): """Sets the id of this PersistObjectIdDTO. - 数据实例ID。 + **参数解释:** 数据实例ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param id: The id of this PersistObjectIdDTO. :type id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persist_object_id_modifier_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persist_object_id_modifier_dto.py index 80c419d0d6..d700af807c 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persist_object_id_modifier_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persist_object_id_modifier_dto.py @@ -31,9 +31,9 @@ def __init__(self, id=None, modifier=None): The model defined in huaweicloud sdk - :param id: 唯一标识。 + :param id: **参数解释:** 唯一标识。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type id: str - :param modifier: 修改人。 + :param modifier: **参数解释:** 请求参数对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type modifier: str """ @@ -51,7 +51,7 @@ def __init__(self, id=None, modifier=None): def id(self): """Gets the id of this PersistObjectIdModifierDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The id of this PersistObjectIdModifierDTO. :rtype: str @@ -62,7 +62,7 @@ def id(self): def id(self, id): """Sets the id of this PersistObjectIdModifierDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param id: The id of this PersistObjectIdModifierDTO. :type id: str @@ -73,7 +73,7 @@ def id(self, id): def modifier(self): """Gets the modifier of this PersistObjectIdModifierDTO. - 修改人。 + **参数解释:** 请求参数对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The modifier of this PersistObjectIdModifierDTO. :rtype: str @@ -84,7 +84,7 @@ def modifier(self): def modifier(self, modifier): """Sets the modifier of this PersistObjectIdModifierDTO. - 修改人。 + **参数解释:** 请求参数对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param modifier: The modifier of this PersistObjectIdModifierDTO. :type modifier: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persist_object_ids_decrypt_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persist_object_ids_decrypt_dto.py index 855f0fcd16..7f35ed45bc 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persist_object_ids_decrypt_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persist_object_ids_decrypt_dto.py @@ -31,9 +31,9 @@ def __init__(self, decrypt=None, ids=None): The model defined in huaweicloud sdk - :param decrypt: 是否加密。 - true:加密。 - false:不加密。 + :param decrypt: **参数解释:** 是否加密。 **约束限制:** 不涉及。 **取值范围:** - true:加密。 - false:不加密。 **默认取值:** false。 :type decrypt: bool - :param ids: ID列表。 + :param ids: **参数解释:** ID列表。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type ids: list[str] """ @@ -51,7 +51,7 @@ def __init__(self, decrypt=None, ids=None): def decrypt(self): """Gets the decrypt of this PersistObjectIdsDecryptDTO. - 是否加密。 - true:加密。 - false:不加密。 + **参数解释:** 是否加密。 **约束限制:** 不涉及。 **取值范围:** - true:加密。 - false:不加密。 **默认取值:** false。 :return: The decrypt of this PersistObjectIdsDecryptDTO. :rtype: bool @@ -62,7 +62,7 @@ def decrypt(self): def decrypt(self, decrypt): """Sets the decrypt of this PersistObjectIdsDecryptDTO. - 是否加密。 - true:加密。 - false:不加密。 + **参数解释:** 是否加密。 **约束限制:** 不涉及。 **取值范围:** - true:加密。 - false:不加密。 **默认取值:** false。 :param decrypt: The decrypt of this PersistObjectIdsDecryptDTO. :type decrypt: bool @@ -73,7 +73,7 @@ def decrypt(self, decrypt): def ids(self): """Gets the ids of this PersistObjectIdsDecryptDTO. - ID列表。 + **参数解释:** ID列表。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The ids of this PersistObjectIdsDecryptDTO. :rtype: list[str] @@ -84,7 +84,7 @@ def ids(self): def ids(self, ids): """Sets the ids of this PersistObjectIdsDecryptDTO. - ID列表。 + **参数解释:** ID列表。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param ids: The ids of this PersistObjectIdsDecryptDTO. :type ids: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persist_object_ids_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persist_object_ids_dto.py index 0bc2f009f6..1e0e8716e5 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persist_object_ids_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persist_object_ids_dto.py @@ -29,7 +29,7 @@ def __init__(self, ids=None): The model defined in huaweicloud sdk - :param ids: 数据实例ID列表。 + :param ids: **参数解释:** 数据实例ID列表。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type ids: list[str] """ @@ -44,7 +44,7 @@ def __init__(self, ids=None): def ids(self): """Gets the ids of this PersistObjectIdsDTO. - 数据实例ID列表。 + **参数解释:** 数据实例ID列表。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The ids of this PersistObjectIdsDTO. :rtype: list[str] @@ -55,7 +55,7 @@ def ids(self): def ids(self, ids): """Sets the ids of this PersistObjectIdsDTO. - 数据实例ID列表。 + **参数解释:** 数据实例ID列表。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param ids: The ids of this PersistObjectIdsDTO. :type ids: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persist_object_ids_modifier_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persist_object_ids_modifier_dto.py index 1858d9c366..f838ea02ed 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persist_object_ids_modifier_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persist_object_ids_modifier_dto.py @@ -31,9 +31,9 @@ def __init__(self, ids=None, modifier=None): The model defined in huaweicloud sdk - :param ids: 数据实例ID列表。 + :param ids: **参数解释:** 数据实例ID列表。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type ids: list[str] - :param modifier: 修改人。 + :param modifier: **参数解释:** 修改人。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type modifier: str """ @@ -51,7 +51,7 @@ def __init__(self, ids=None, modifier=None): def ids(self): """Gets the ids of this PersistObjectIdsModifierDTO. - 数据实例ID列表。 + **参数解释:** 数据实例ID列表。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The ids of this PersistObjectIdsModifierDTO. :rtype: list[str] @@ -62,7 +62,7 @@ def ids(self): def ids(self, ids): """Sets the ids of this PersistObjectIdsModifierDTO. - 数据实例ID列表。 + **参数解释:** 数据实例ID列表。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param ids: The ids of this PersistObjectIdsModifierDTO. :type ids: list[str] @@ -73,7 +73,7 @@ def ids(self, ids): def modifier(self): """Gets the modifier of this PersistObjectIdsModifierDTO. - 修改人。 + **参数解释:** 修改人。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The modifier of this PersistObjectIdsModifierDTO. :rtype: str @@ -84,7 +84,7 @@ def modifier(self): def modifier(self, modifier): """Sets the modifier of this PersistObjectIdsModifierDTO. - 修改人。 + **参数解释:** 修改人。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param modifier: The modifier of this PersistObjectIdsModifierDTO. :type modifier: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persistable_model_create_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persistable_model_create_dto.py index bb03633d39..c4eb24cb2f 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persistable_model_create_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persistable_model_create_dto.py @@ -43,21 +43,21 @@ def __init__(self, create_time=None, creator=None, id=None, last_update_time=Non The model defined in huaweicloud sdk - :param create_time: 创建时间。 + :param create_time: **参数解释:** 创建时间。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type create_time: str - :param creator: 创建者。 + :param creator: **参数解释:** 创建者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type creator: str - :param id: 唯一标识。 + :param id: **参数解释:** 唯一标识。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type id: str - :param last_update_time: 最后更新时间。 + :param last_update_time: **参数解释:** 最后更新时间。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type last_update_time: str - :param modifier: 修改人。 + :param modifier: **参数解释:** 修改人。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type modifier: str - :param rdm_extension_type: 扩展类型。 + :param rdm_extension_type: **参数解释:** 扩展类型。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type rdm_extension_type: str :param tenant: :type tenant: :class:`huaweicloudsdkidmeclassicapi.v1.ObjectReferenceParamDTO` - :param unique_key: 示例模型的唯一键属性。 + :param unique_key: **参数解释:** 示例模型的唯一键属性。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type unique_key: str """ @@ -94,7 +94,7 @@ def __init__(self, create_time=None, creator=None, id=None, last_update_time=Non def create_time(self): """Gets the create_time of this PersistableModelCreateDTO. - 创建时间。 + **参数解释:** 创建时间。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The create_time of this PersistableModelCreateDTO. :rtype: str @@ -105,7 +105,7 @@ def create_time(self): def create_time(self, create_time): """Sets the create_time of this PersistableModelCreateDTO. - 创建时间。 + **参数解释:** 创建时间。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param create_time: The create_time of this PersistableModelCreateDTO. :type create_time: str @@ -116,7 +116,7 @@ def create_time(self, create_time): def creator(self): """Gets the creator of this PersistableModelCreateDTO. - 创建者。 + **参数解释:** 创建者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The creator of this PersistableModelCreateDTO. :rtype: str @@ -127,7 +127,7 @@ def creator(self): def creator(self, creator): """Sets the creator of this PersistableModelCreateDTO. - 创建者。 + **参数解释:** 创建者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param creator: The creator of this PersistableModelCreateDTO. :type creator: str @@ -138,7 +138,7 @@ def creator(self, creator): def id(self): """Gets the id of this PersistableModelCreateDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The id of this PersistableModelCreateDTO. :rtype: str @@ -149,7 +149,7 @@ def id(self): def id(self, id): """Sets the id of this PersistableModelCreateDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param id: The id of this PersistableModelCreateDTO. :type id: str @@ -160,7 +160,7 @@ def id(self, id): def last_update_time(self): """Gets the last_update_time of this PersistableModelCreateDTO. - 最后更新时间。 + **参数解释:** 最后更新时间。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The last_update_time of this PersistableModelCreateDTO. :rtype: str @@ -171,7 +171,7 @@ def last_update_time(self): def last_update_time(self, last_update_time): """Sets the last_update_time of this PersistableModelCreateDTO. - 最后更新时间。 + **参数解释:** 最后更新时间。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param last_update_time: The last_update_time of this PersistableModelCreateDTO. :type last_update_time: str @@ -182,7 +182,7 @@ def last_update_time(self, last_update_time): def modifier(self): """Gets the modifier of this PersistableModelCreateDTO. - 修改人。 + **参数解释:** 修改人。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The modifier of this PersistableModelCreateDTO. :rtype: str @@ -193,7 +193,7 @@ def modifier(self): def modifier(self, modifier): """Sets the modifier of this PersistableModelCreateDTO. - 修改人。 + **参数解释:** 修改人。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param modifier: The modifier of this PersistableModelCreateDTO. :type modifier: str @@ -204,7 +204,7 @@ def modifier(self, modifier): def rdm_extension_type(self): """Gets the rdm_extension_type of this PersistableModelCreateDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The rdm_extension_type of this PersistableModelCreateDTO. :rtype: str @@ -215,7 +215,7 @@ def rdm_extension_type(self): def rdm_extension_type(self, rdm_extension_type): """Sets the rdm_extension_type of this PersistableModelCreateDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param rdm_extension_type: The rdm_extension_type of this PersistableModelCreateDTO. :type rdm_extension_type: str @@ -244,7 +244,7 @@ def tenant(self, tenant): def unique_key(self): """Gets the unique_key of this PersistableModelCreateDTO. - 示例模型的唯一键属性。 + **参数解释:** 示例模型的唯一键属性。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The unique_key of this PersistableModelCreateDTO. :rtype: str @@ -255,7 +255,7 @@ def unique_key(self): def unique_key(self, unique_key): """Sets the unique_key of this PersistableModelCreateDTO. - 示例模型的唯一键属性。 + **参数解释:** 示例模型的唯一键属性。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param unique_key: The unique_key of this PersistableModelCreateDTO. :type unique_key: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persistable_model_list_view_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persistable_model_list_view_dto.py index 2992f05b00..b458733fdd 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persistable_model_list_view_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persistable_model_list_view_dto.py @@ -73,51 +73,51 @@ def __init__(self, acl_entry=None, class_name=None, cls_attrs=None, create_time= The model defined in huaweicloud sdk - :param acl_entry: 访问控制列表。 + :param acl_entry: **参数解释:** 访问控制列表。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type acl_entry: str - :param class_name: 类名。 + :param class_name: **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type class_name: str - :param cls_attrs: 分类属性。 + :param cls_attrs: **参数解释:** 分类属性。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type cls_attrs: list[object] - :param create_time: 创建时间。 + :param create_time: **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type create_time: str - :param creator: 创建者。 + :param creator: **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type creator: str - :param disable_flag: 失效标识。 - true:失效。 - false:未失效。 + :param disable_flag: **参数解释:** 失效标识。 **取值范围:** - true:失效。 - false:未失效。 **默认取值:** 不涉及。 :type disable_flag: bool :param folder: :type folder: :class:`huaweicloudsdkidmeclassicapi.v1.ObjectReferenceViewDTO` - :param full_path: 用于存储当前节点全路径。 + :param full_path: **参数解释:** 用于存储当前节点全路径。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type full_path: str - :param id: 唯一标识。 + :param id: **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type id: str - :param last_update_time: 最后更新时间。 + :param last_update_time: **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type last_update_time: str - :param leaf_flag: 是否为叶子节点。 - true:是叶子节点。 - false:不是叶子节点。 + :param leaf_flag: **参数解释:** 是否为叶子节点。 **取值范围:** - true:是叶子节点。 - false:不是叶子节点。 **默认取值:** false。 :type leaf_flag: bool :param lifecycle_state: :type lifecycle_state: :class:`huaweicloudsdkidmeclassicapi.v1.ObjectReferenceViewDTO` :param lifecycle_template: :type lifecycle_template: :class:`huaweicloudsdkidmeclassicapi.v1.ObjectReferenceViewDTO` - :param modifier: 更新者。 + :param modifier: **参数解释:** 更新者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type modifier: str - :param owner: 拥有者。 + :param owner: **参数解释:** 拥有者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type owner: str :param parent_node: :type parent_node: :class:`huaweicloudsdkidmeclassicapi.v1.ObjectReferenceViewDTO` - :param raw_full_path: 用于存储当前节点原始全路径。 + :param raw_full_path: **参数解释:** 用于存储当前节点原始全路径。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type raw_full_path: str - :param rdm_delete_flag: 软删除标识,参数值为0或1。 - 0:表示未删除。 - 1:表示已删除。 + :param rdm_delete_flag: **参数解释:** 软删除标识。 **取值范围:** - 0:表示未删除。 - 1:表示已删除。 **默认取值:** 0。 :type rdm_delete_flag: int - :param rdm_extension_type: 扩展类型。 + :param rdm_extension_type: **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type rdm_extension_type: str - :param rdm_version: 系统版本。 + :param rdm_version: **参数解释:** 系统版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type rdm_version: int :param root_node: :type root_node: :class:`huaweicloudsdkidmeclassicapi.v1.ObjectReferenceViewDTO` :param tenant: :type tenant: :class:`huaweicloudsdkidmeclassicapi.v1.ObjectReferenceViewDTO` - :param unique_key: 示例模型的唯一键属性。 + :param unique_key: **参数解释:** 示例模型的唯一键约束属性。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type unique_key: str """ @@ -199,7 +199,7 @@ def __init__(self, acl_entry=None, class_name=None, cls_attrs=None, create_time= def acl_entry(self): """Gets the acl_entry of this PersistableModelListViewDTO. - 访问控制列表。 + **参数解释:** 访问控制列表。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The acl_entry of this PersistableModelListViewDTO. :rtype: str @@ -210,7 +210,7 @@ def acl_entry(self): def acl_entry(self, acl_entry): """Sets the acl_entry of this PersistableModelListViewDTO. - 访问控制列表。 + **参数解释:** 访问控制列表。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param acl_entry: The acl_entry of this PersistableModelListViewDTO. :type acl_entry: str @@ -221,7 +221,7 @@ def acl_entry(self, acl_entry): def class_name(self): """Gets the class_name of this PersistableModelListViewDTO. - 类名。 + **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The class_name of this PersistableModelListViewDTO. :rtype: str @@ -232,7 +232,7 @@ def class_name(self): def class_name(self, class_name): """Sets the class_name of this PersistableModelListViewDTO. - 类名。 + **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param class_name: The class_name of this PersistableModelListViewDTO. :type class_name: str @@ -243,7 +243,7 @@ def class_name(self, class_name): def cls_attrs(self): """Gets the cls_attrs of this PersistableModelListViewDTO. - 分类属性。 + **参数解释:** 分类属性。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The cls_attrs of this PersistableModelListViewDTO. :rtype: list[object] @@ -254,7 +254,7 @@ def cls_attrs(self): def cls_attrs(self, cls_attrs): """Sets the cls_attrs of this PersistableModelListViewDTO. - 分类属性。 + **参数解释:** 分类属性。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param cls_attrs: The cls_attrs of this PersistableModelListViewDTO. :type cls_attrs: list[object] @@ -265,7 +265,7 @@ def cls_attrs(self, cls_attrs): def create_time(self): """Gets the create_time of this PersistableModelListViewDTO. - 创建时间。 + **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The create_time of this PersistableModelListViewDTO. :rtype: str @@ -276,7 +276,7 @@ def create_time(self): def create_time(self, create_time): """Sets the create_time of this PersistableModelListViewDTO. - 创建时间。 + **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param create_time: The create_time of this PersistableModelListViewDTO. :type create_time: str @@ -287,7 +287,7 @@ def create_time(self, create_time): def creator(self): """Gets the creator of this PersistableModelListViewDTO. - 创建者。 + **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The creator of this PersistableModelListViewDTO. :rtype: str @@ -298,7 +298,7 @@ def creator(self): def creator(self, creator): """Sets the creator of this PersistableModelListViewDTO. - 创建者。 + **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param creator: The creator of this PersistableModelListViewDTO. :type creator: str @@ -309,7 +309,7 @@ def creator(self, creator): def disable_flag(self): """Gets the disable_flag of this PersistableModelListViewDTO. - 失效标识。 - true:失效。 - false:未失效。 + **参数解释:** 失效标识。 **取值范围:** - true:失效。 - false:未失效。 **默认取值:** 不涉及。 :return: The disable_flag of this PersistableModelListViewDTO. :rtype: bool @@ -320,7 +320,7 @@ def disable_flag(self): def disable_flag(self, disable_flag): """Sets the disable_flag of this PersistableModelListViewDTO. - 失效标识。 - true:失效。 - false:未失效。 + **参数解释:** 失效标识。 **取值范围:** - true:失效。 - false:未失效。 **默认取值:** 不涉及。 :param disable_flag: The disable_flag of this PersistableModelListViewDTO. :type disable_flag: bool @@ -349,7 +349,7 @@ def folder(self, folder): def full_path(self): """Gets the full_path of this PersistableModelListViewDTO. - 用于存储当前节点全路径。 + **参数解释:** 用于存储当前节点全路径。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The full_path of this PersistableModelListViewDTO. :rtype: str @@ -360,7 +360,7 @@ def full_path(self): def full_path(self, full_path): """Sets the full_path of this PersistableModelListViewDTO. - 用于存储当前节点全路径。 + **参数解释:** 用于存储当前节点全路径。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param full_path: The full_path of this PersistableModelListViewDTO. :type full_path: str @@ -371,7 +371,7 @@ def full_path(self, full_path): def id(self): """Gets the id of this PersistableModelListViewDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The id of this PersistableModelListViewDTO. :rtype: str @@ -382,7 +382,7 @@ def id(self): def id(self, id): """Sets the id of this PersistableModelListViewDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param id: The id of this PersistableModelListViewDTO. :type id: str @@ -393,7 +393,7 @@ def id(self, id): def last_update_time(self): """Gets the last_update_time of this PersistableModelListViewDTO. - 最后更新时间。 + **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The last_update_time of this PersistableModelListViewDTO. :rtype: str @@ -404,7 +404,7 @@ def last_update_time(self): def last_update_time(self, last_update_time): """Sets the last_update_time of this PersistableModelListViewDTO. - 最后更新时间。 + **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param last_update_time: The last_update_time of this PersistableModelListViewDTO. :type last_update_time: str @@ -415,7 +415,7 @@ def last_update_time(self, last_update_time): def leaf_flag(self): """Gets the leaf_flag of this PersistableModelListViewDTO. - 是否为叶子节点。 - true:是叶子节点。 - false:不是叶子节点。 + **参数解释:** 是否为叶子节点。 **取值范围:** - true:是叶子节点。 - false:不是叶子节点。 **默认取值:** false。 :return: The leaf_flag of this PersistableModelListViewDTO. :rtype: bool @@ -426,7 +426,7 @@ def leaf_flag(self): def leaf_flag(self, leaf_flag): """Sets the leaf_flag of this PersistableModelListViewDTO. - 是否为叶子节点。 - true:是叶子节点。 - false:不是叶子节点。 + **参数解释:** 是否为叶子节点。 **取值范围:** - true:是叶子节点。 - false:不是叶子节点。 **默认取值:** false。 :param leaf_flag: The leaf_flag of this PersistableModelListViewDTO. :type leaf_flag: bool @@ -473,7 +473,7 @@ def lifecycle_template(self, lifecycle_template): def modifier(self): """Gets the modifier of this PersistableModelListViewDTO. - 更新者。 + **参数解释:** 更新者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The modifier of this PersistableModelListViewDTO. :rtype: str @@ -484,7 +484,7 @@ def modifier(self): def modifier(self, modifier): """Sets the modifier of this PersistableModelListViewDTO. - 更新者。 + **参数解释:** 更新者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param modifier: The modifier of this PersistableModelListViewDTO. :type modifier: str @@ -495,7 +495,7 @@ def modifier(self, modifier): def owner(self): """Gets the owner of this PersistableModelListViewDTO. - 拥有者。 + **参数解释:** 拥有者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The owner of this PersistableModelListViewDTO. :rtype: str @@ -506,7 +506,7 @@ def owner(self): def owner(self, owner): """Sets the owner of this PersistableModelListViewDTO. - 拥有者。 + **参数解释:** 拥有者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param owner: The owner of this PersistableModelListViewDTO. :type owner: str @@ -535,7 +535,7 @@ def parent_node(self, parent_node): def raw_full_path(self): """Gets the raw_full_path of this PersistableModelListViewDTO. - 用于存储当前节点原始全路径。 + **参数解释:** 用于存储当前节点原始全路径。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The raw_full_path of this PersistableModelListViewDTO. :rtype: str @@ -546,7 +546,7 @@ def raw_full_path(self): def raw_full_path(self, raw_full_path): """Sets the raw_full_path of this PersistableModelListViewDTO. - 用于存储当前节点原始全路径。 + **参数解释:** 用于存储当前节点原始全路径。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param raw_full_path: The raw_full_path of this PersistableModelListViewDTO. :type raw_full_path: str @@ -557,7 +557,7 @@ def raw_full_path(self, raw_full_path): def rdm_delete_flag(self): """Gets the rdm_delete_flag of this PersistableModelListViewDTO. - 软删除标识,参数值为0或1。 - 0:表示未删除。 - 1:表示已删除。 + **参数解释:** 软删除标识。 **取值范围:** - 0:表示未删除。 - 1:表示已删除。 **默认取值:** 0。 :return: The rdm_delete_flag of this PersistableModelListViewDTO. :rtype: int @@ -568,7 +568,7 @@ def rdm_delete_flag(self): def rdm_delete_flag(self, rdm_delete_flag): """Sets the rdm_delete_flag of this PersistableModelListViewDTO. - 软删除标识,参数值为0或1。 - 0:表示未删除。 - 1:表示已删除。 + **参数解释:** 软删除标识。 **取值范围:** - 0:表示未删除。 - 1:表示已删除。 **默认取值:** 0。 :param rdm_delete_flag: The rdm_delete_flag of this PersistableModelListViewDTO. :type rdm_delete_flag: int @@ -579,7 +579,7 @@ def rdm_delete_flag(self, rdm_delete_flag): def rdm_extension_type(self): """Gets the rdm_extension_type of this PersistableModelListViewDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The rdm_extension_type of this PersistableModelListViewDTO. :rtype: str @@ -590,7 +590,7 @@ def rdm_extension_type(self): def rdm_extension_type(self, rdm_extension_type): """Sets the rdm_extension_type of this PersistableModelListViewDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param rdm_extension_type: The rdm_extension_type of this PersistableModelListViewDTO. :type rdm_extension_type: str @@ -601,7 +601,7 @@ def rdm_extension_type(self, rdm_extension_type): def rdm_version(self): """Gets the rdm_version of this PersistableModelListViewDTO. - 系统版本。 + **参数解释:** 系统版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The rdm_version of this PersistableModelListViewDTO. :rtype: int @@ -612,7 +612,7 @@ def rdm_version(self): def rdm_version(self, rdm_version): """Sets the rdm_version of this PersistableModelListViewDTO. - 系统版本。 + **参数解释:** 系统版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param rdm_version: The rdm_version of this PersistableModelListViewDTO. :type rdm_version: int @@ -659,7 +659,7 @@ def tenant(self, tenant): def unique_key(self): """Gets the unique_key of this PersistableModelListViewDTO. - 示例模型的唯一键属性。 + **参数解释:** 示例模型的唯一键约束属性。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The unique_key of this PersistableModelListViewDTO. :rtype: str @@ -670,7 +670,7 @@ def unique_key(self): def unique_key(self, unique_key): """Sets the unique_key of this PersistableModelListViewDTO. - 示例模型的唯一键属性。 + **参数解释:** 示例模型的唯一键约束属性。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param unique_key: The unique_key of this PersistableModelListViewDTO. :type unique_key: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persistable_model_query_view_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persistable_model_query_view_dto.py index 2816d4f1c8..e1fb0f80dc 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persistable_model_query_view_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persistable_model_query_view_dto.py @@ -51,27 +51,27 @@ def __init__(self, class_name=None, create_time=None, creator=None, disable_flag The model defined in huaweicloud sdk - :param class_name: 类名。 + :param class_name: **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type class_name: str - :param create_time: 创建时间。 + :param create_time: **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type create_time: str - :param creator: 创建者。 + :param creator: **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type creator: str - :param disable_flag: 失效标识。 - true:失效。 - false:未失效。 + :param disable_flag: **参数解释:** 失效标识。 **取值范围:** - true:失效。 - false:未失效。 **默认取值:** false。 :type disable_flag: bool - :param ext_attr_map: 扩展属性映射集。 + :param ext_attr_map: **参数解释:** 扩展属性映射集。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type ext_attr_map: object - :param ext_attrs: 扩展属性列表。 + :param ext_attrs: **参数解释:** 扩展属性列表。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type ext_attrs: list[:class:`huaweicloudsdkidmeclassicapi.v1.EXAValueViewDTO`] :param folder: :type folder: :class:`huaweicloudsdkidmeclassicapi.v1.FolderQueryViewDTO` - :param id: 唯一标识。 + :param id: **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type id: str - :param last_update_time: 最后更新时间。 + :param last_update_time: **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type last_update_time: str - :param modifier: 修改人。 + :param modifier: **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type modifier: str - :param rdm_extension_type: 扩展类型。 + :param rdm_extension_type: **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type rdm_extension_type: str :param tenant: :type tenant: :class:`huaweicloudsdkidmeclassicapi.v1.TenantQueryViewDTO` @@ -122,7 +122,7 @@ def __init__(self, class_name=None, create_time=None, creator=None, disable_flag def class_name(self): """Gets the class_name of this PersistableModelQueryViewDTO. - 类名。 + **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The class_name of this PersistableModelQueryViewDTO. :rtype: str @@ -133,7 +133,7 @@ def class_name(self): def class_name(self, class_name): """Sets the class_name of this PersistableModelQueryViewDTO. - 类名。 + **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param class_name: The class_name of this PersistableModelQueryViewDTO. :type class_name: str @@ -144,7 +144,7 @@ def class_name(self, class_name): def create_time(self): """Gets the create_time of this PersistableModelQueryViewDTO. - 创建时间。 + **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The create_time of this PersistableModelQueryViewDTO. :rtype: str @@ -155,7 +155,7 @@ def create_time(self): def create_time(self, create_time): """Sets the create_time of this PersistableModelQueryViewDTO. - 创建时间。 + **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param create_time: The create_time of this PersistableModelQueryViewDTO. :type create_time: str @@ -166,7 +166,7 @@ def create_time(self, create_time): def creator(self): """Gets the creator of this PersistableModelQueryViewDTO. - 创建者。 + **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The creator of this PersistableModelQueryViewDTO. :rtype: str @@ -177,7 +177,7 @@ def creator(self): def creator(self, creator): """Sets the creator of this PersistableModelQueryViewDTO. - 创建者。 + **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param creator: The creator of this PersistableModelQueryViewDTO. :type creator: str @@ -188,7 +188,7 @@ def creator(self, creator): def disable_flag(self): """Gets the disable_flag of this PersistableModelQueryViewDTO. - 失效标识。 - true:失效。 - false:未失效。 + **参数解释:** 失效标识。 **取值范围:** - true:失效。 - false:未失效。 **默认取值:** false。 :return: The disable_flag of this PersistableModelQueryViewDTO. :rtype: bool @@ -199,7 +199,7 @@ def disable_flag(self): def disable_flag(self, disable_flag): """Sets the disable_flag of this PersistableModelQueryViewDTO. - 失效标识。 - true:失效。 - false:未失效。 + **参数解释:** 失效标识。 **取值范围:** - true:失效。 - false:未失效。 **默认取值:** false。 :param disable_flag: The disable_flag of this PersistableModelQueryViewDTO. :type disable_flag: bool @@ -210,7 +210,7 @@ def disable_flag(self, disable_flag): def ext_attr_map(self): """Gets the ext_attr_map of this PersistableModelQueryViewDTO. - 扩展属性映射集。 + **参数解释:** 扩展属性映射集。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The ext_attr_map of this PersistableModelQueryViewDTO. :rtype: object @@ -221,7 +221,7 @@ def ext_attr_map(self): def ext_attr_map(self, ext_attr_map): """Sets the ext_attr_map of this PersistableModelQueryViewDTO. - 扩展属性映射集。 + **参数解释:** 扩展属性映射集。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param ext_attr_map: The ext_attr_map of this PersistableModelQueryViewDTO. :type ext_attr_map: object @@ -232,7 +232,7 @@ def ext_attr_map(self, ext_attr_map): def ext_attrs(self): """Gets the ext_attrs of this PersistableModelQueryViewDTO. - 扩展属性列表。 + **参数解释:** 扩展属性列表。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The ext_attrs of this PersistableModelQueryViewDTO. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.EXAValueViewDTO`] @@ -243,7 +243,7 @@ def ext_attrs(self): def ext_attrs(self, ext_attrs): """Sets the ext_attrs of this PersistableModelQueryViewDTO. - 扩展属性列表。 + **参数解释:** 扩展属性列表。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param ext_attrs: The ext_attrs of this PersistableModelQueryViewDTO. :type ext_attrs: list[:class:`huaweicloudsdkidmeclassicapi.v1.EXAValueViewDTO`] @@ -272,7 +272,7 @@ def folder(self, folder): def id(self): """Gets the id of this PersistableModelQueryViewDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The id of this PersistableModelQueryViewDTO. :rtype: str @@ -283,7 +283,7 @@ def id(self): def id(self, id): """Sets the id of this PersistableModelQueryViewDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param id: The id of this PersistableModelQueryViewDTO. :type id: str @@ -294,7 +294,7 @@ def id(self, id): def last_update_time(self): """Gets the last_update_time of this PersistableModelQueryViewDTO. - 最后更新时间。 + **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The last_update_time of this PersistableModelQueryViewDTO. :rtype: str @@ -305,7 +305,7 @@ def last_update_time(self): def last_update_time(self, last_update_time): """Sets the last_update_time of this PersistableModelQueryViewDTO. - 最后更新时间。 + **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param last_update_time: The last_update_time of this PersistableModelQueryViewDTO. :type last_update_time: str @@ -316,7 +316,7 @@ def last_update_time(self, last_update_time): def modifier(self): """Gets the modifier of this PersistableModelQueryViewDTO. - 修改人。 + **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The modifier of this PersistableModelQueryViewDTO. :rtype: str @@ -327,7 +327,7 @@ def modifier(self): def modifier(self, modifier): """Sets the modifier of this PersistableModelQueryViewDTO. - 修改人。 + **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param modifier: The modifier of this PersistableModelQueryViewDTO. :type modifier: str @@ -338,7 +338,7 @@ def modifier(self, modifier): def rdm_extension_type(self): """Gets the rdm_extension_type of this PersistableModelQueryViewDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The rdm_extension_type of this PersistableModelQueryViewDTO. :rtype: str @@ -349,7 +349,7 @@ def rdm_extension_type(self): def rdm_extension_type(self, rdm_extension_type): """Sets the rdm_extension_type of this PersistableModelQueryViewDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param rdm_extension_type: The rdm_extension_type of this PersistableModelQueryViewDTO. :type rdm_extension_type: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persistable_model_save_all_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persistable_model_save_all_dto.py index b30667dd87..ec5772c336 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persistable_model_save_all_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persistable_model_save_all_dto.py @@ -45,23 +45,23 @@ def __init__(self, create_time=None, creator=None, id=None, last_update_time=Non The model defined in huaweicloud sdk - :param create_time: 创建时间。 + :param create_time: **参数解释:** 创建时间。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type create_time: str - :param creator: 创建者。 + :param creator: **参数解释:** 创建者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type creator: int - :param id: 唯一标识。 + :param id: **参数解释:** 唯一标识。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type id: str - :param last_update_time: 最后更新时间。 + :param last_update_time: **参数解释:** 最后更新时间。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type last_update_time: str - :param modifier: 更新者。 + :param modifier: **参数解释:** 更新者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type modifier: str - :param need_set_null_attrs: 设置NULL值的属性名称。 + :param need_set_null_attrs: **参数解释:** 设置NULL值的属性名称。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type need_set_null_attrs: list[str] - :param rdm_extension_type: 扩展类型。 + :param rdm_extension_type: **参数解释:** 扩展类型。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type rdm_extension_type: str :param tenant: :type tenant: :class:`huaweicloudsdkidmeclassicapi.v1.ObjectReferenceParamDTO` - :param unique_key: 示例模型的唯一键属性。 + :param unique_key: **参数解释:** 示例模型的唯一键属性。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type unique_key: str """ @@ -101,7 +101,7 @@ def __init__(self, create_time=None, creator=None, id=None, last_update_time=Non def create_time(self): """Gets the create_time of this PersistableModelSaveAllDTO. - 创建时间。 + **参数解释:** 创建时间。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The create_time of this PersistableModelSaveAllDTO. :rtype: str @@ -112,7 +112,7 @@ def create_time(self): def create_time(self, create_time): """Sets the create_time of this PersistableModelSaveAllDTO. - 创建时间。 + **参数解释:** 创建时间。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param create_time: The create_time of this PersistableModelSaveAllDTO. :type create_time: str @@ -123,7 +123,7 @@ def create_time(self, create_time): def creator(self): """Gets the creator of this PersistableModelSaveAllDTO. - 创建者。 + **参数解释:** 创建者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The creator of this PersistableModelSaveAllDTO. :rtype: int @@ -134,7 +134,7 @@ def creator(self): def creator(self, creator): """Sets the creator of this PersistableModelSaveAllDTO. - 创建者。 + **参数解释:** 创建者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param creator: The creator of this PersistableModelSaveAllDTO. :type creator: int @@ -145,7 +145,7 @@ def creator(self, creator): def id(self): """Gets the id of this PersistableModelSaveAllDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The id of this PersistableModelSaveAllDTO. :rtype: str @@ -156,7 +156,7 @@ def id(self): def id(self, id): """Sets the id of this PersistableModelSaveAllDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param id: The id of this PersistableModelSaveAllDTO. :type id: str @@ -167,7 +167,7 @@ def id(self, id): def last_update_time(self): """Gets the last_update_time of this PersistableModelSaveAllDTO. - 最后更新时间。 + **参数解释:** 最后更新时间。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The last_update_time of this PersistableModelSaveAllDTO. :rtype: str @@ -178,7 +178,7 @@ def last_update_time(self): def last_update_time(self, last_update_time): """Sets the last_update_time of this PersistableModelSaveAllDTO. - 最后更新时间。 + **参数解释:** 最后更新时间。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param last_update_time: The last_update_time of this PersistableModelSaveAllDTO. :type last_update_time: str @@ -189,7 +189,7 @@ def last_update_time(self, last_update_time): def modifier(self): """Gets the modifier of this PersistableModelSaveAllDTO. - 更新者。 + **参数解释:** 更新者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The modifier of this PersistableModelSaveAllDTO. :rtype: str @@ -200,7 +200,7 @@ def modifier(self): def modifier(self, modifier): """Sets the modifier of this PersistableModelSaveAllDTO. - 更新者。 + **参数解释:** 更新者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param modifier: The modifier of this PersistableModelSaveAllDTO. :type modifier: str @@ -211,7 +211,7 @@ def modifier(self, modifier): def need_set_null_attrs(self): """Gets the need_set_null_attrs of this PersistableModelSaveAllDTO. - 设置NULL值的属性名称。 + **参数解释:** 设置NULL值的属性名称。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The need_set_null_attrs of this PersistableModelSaveAllDTO. :rtype: list[str] @@ -222,7 +222,7 @@ def need_set_null_attrs(self): def need_set_null_attrs(self, need_set_null_attrs): """Sets the need_set_null_attrs of this PersistableModelSaveAllDTO. - 设置NULL值的属性名称。 + **参数解释:** 设置NULL值的属性名称。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param need_set_null_attrs: The need_set_null_attrs of this PersistableModelSaveAllDTO. :type need_set_null_attrs: list[str] @@ -233,7 +233,7 @@ def need_set_null_attrs(self, need_set_null_attrs): def rdm_extension_type(self): """Gets the rdm_extension_type of this PersistableModelSaveAllDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The rdm_extension_type of this PersistableModelSaveAllDTO. :rtype: str @@ -244,7 +244,7 @@ def rdm_extension_type(self): def rdm_extension_type(self, rdm_extension_type): """Sets the rdm_extension_type of this PersistableModelSaveAllDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param rdm_extension_type: The rdm_extension_type of this PersistableModelSaveAllDTO. :type rdm_extension_type: str @@ -273,7 +273,7 @@ def tenant(self, tenant): def unique_key(self): """Gets the unique_key of this PersistableModelSaveAllDTO. - 示例模型的唯一键属性。 + **参数解释:** 示例模型的唯一键属性。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The unique_key of this PersistableModelSaveAllDTO. :rtype: str @@ -284,7 +284,7 @@ def unique_key(self): def unique_key(self, unique_key): """Sets the unique_key of this PersistableModelSaveAllDTO. - 示例模型的唯一键属性。 + **参数解释:** 示例模型的唯一键属性。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param unique_key: The unique_key of this PersistableModelSaveAllDTO. :type unique_key: str 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 663389b951..b799ca1742 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 @@ -53,31 +53,31 @@ def __init__(self, id=None, modifier=None, last_update_time=None, creator=None, The model defined in huaweicloud sdk - :param id: 唯一标识。 + :param id: **参数解释:** 唯一标识。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type id: str - :param modifier: 修改者。 + :param modifier: **参数解释:** 修改者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type modifier: str - :param last_update_time: 最后更新时间。 + :param last_update_time: **参数解释:** 最后更新时间。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type last_update_time: str - :param creator: 创建者。 + :param creator: **参数解释:** 创建者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type creator: str - :param create_time: 创建时间。 + :param create_time: **参数解释:** 创建时间。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type create_time: str - :param rdm_extension_type: 扩展类型。 + :param rdm_extension_type: **参数解释:** 扩展类型。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type rdm_extension_type: str :param tenant: :type tenant: :class:`huaweicloudsdkidmeclassicapi.v1.ObjectReferenceParamDTO` - :param source_entity_number: 源模型编号。 + :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: 置空字段数组。 + :param need_set_null_attrs: **参数解释:** 置空字段数组。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type need_set_null_attrs: list[str] - :param entity_to_save: 要保存的属性。 + :param entity_to_save: **参数解释:** 要保存的属性。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type entity_to_save: object - :param entity_to_return: 要保存的结果。 + :param entity_to_return: **参数解释:** 要保存的结果。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type entity_to_return: object - :param unique_key: 唯一键。 + :param unique_key: **参数解释:** 唯一键约束属性。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type unique_key: str """ @@ -128,7 +128,7 @@ def __init__(self, id=None, modifier=None, last_update_time=None, creator=None, def id(self): """Gets the id of this PersistableModelSaveAsDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The id of this PersistableModelSaveAsDTO. :rtype: str @@ -139,7 +139,7 @@ def id(self): def id(self, id): """Sets the id of this PersistableModelSaveAsDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param id: The id of this PersistableModelSaveAsDTO. :type id: str @@ -150,7 +150,7 @@ def id(self, id): def modifier(self): """Gets the modifier of this PersistableModelSaveAsDTO. - 修改者。 + **参数解释:** 修改者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The modifier of this PersistableModelSaveAsDTO. :rtype: str @@ -161,7 +161,7 @@ def modifier(self): def modifier(self, modifier): """Sets the modifier of this PersistableModelSaveAsDTO. - 修改者。 + **参数解释:** 修改者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param modifier: The modifier of this PersistableModelSaveAsDTO. :type modifier: str @@ -172,7 +172,7 @@ def modifier(self, modifier): def last_update_time(self): """Gets the last_update_time of this PersistableModelSaveAsDTO. - 最后更新时间。 + **参数解释:** 最后更新时间。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The last_update_time of this PersistableModelSaveAsDTO. :rtype: str @@ -183,7 +183,7 @@ def last_update_time(self): def last_update_time(self, last_update_time): """Sets the last_update_time of this PersistableModelSaveAsDTO. - 最后更新时间。 + **参数解释:** 最后更新时间。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param last_update_time: The last_update_time of this PersistableModelSaveAsDTO. :type last_update_time: str @@ -194,7 +194,7 @@ def last_update_time(self, last_update_time): def creator(self): """Gets the creator of this PersistableModelSaveAsDTO. - 创建者。 + **参数解释:** 创建者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The creator of this PersistableModelSaveAsDTO. :rtype: str @@ -205,7 +205,7 @@ def creator(self): def creator(self, creator): """Sets the creator of this PersistableModelSaveAsDTO. - 创建者。 + **参数解释:** 创建者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param creator: The creator of this PersistableModelSaveAsDTO. :type creator: str @@ -216,7 +216,7 @@ def creator(self, creator): def create_time(self): """Gets the create_time of this PersistableModelSaveAsDTO. - 创建时间。 + **参数解释:** 创建时间。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The create_time of this PersistableModelSaveAsDTO. :rtype: str @@ -227,7 +227,7 @@ def create_time(self): def create_time(self, create_time): """Sets the create_time of this PersistableModelSaveAsDTO. - 创建时间。 + **参数解释:** 创建时间。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param create_time: The create_time of this PersistableModelSaveAsDTO. :type create_time: str @@ -238,7 +238,7 @@ def create_time(self, create_time): def rdm_extension_type(self): """Gets the rdm_extension_type of this PersistableModelSaveAsDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The rdm_extension_type of this PersistableModelSaveAsDTO. :rtype: str @@ -249,7 +249,7 @@ def rdm_extension_type(self): def rdm_extension_type(self, rdm_extension_type): """Sets the rdm_extension_type of this PersistableModelSaveAsDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param rdm_extension_type: The rdm_extension_type of this PersistableModelSaveAsDTO. :type rdm_extension_type: str @@ -278,7 +278,7 @@ def tenant(self, tenant): def source_entity_number(self): """Gets the source_entity_number of this PersistableModelSaveAsDTO. - 源模型编号。 + **参数解释:** 源模型编号。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The source_entity_number of this PersistableModelSaveAsDTO. :rtype: str @@ -289,7 +289,7 @@ def source_entity_number(self): def source_entity_number(self, source_entity_number): """Sets the source_entity_number of this PersistableModelSaveAsDTO. - 源模型编号。 + **参数解释:** 源模型编号。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param source_entity_number: The source_entity_number of this PersistableModelSaveAsDTO. :type source_entity_number: 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 @@ -322,7 +322,7 @@ def source_instance_id(self, source_instance_id): def need_set_null_attrs(self): """Gets the need_set_null_attrs of this PersistableModelSaveAsDTO. - 置空字段数组。 + **参数解释:** 置空字段数组。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The need_set_null_attrs of this PersistableModelSaveAsDTO. :rtype: list[str] @@ -333,7 +333,7 @@ def need_set_null_attrs(self): def need_set_null_attrs(self, need_set_null_attrs): """Sets the need_set_null_attrs of this PersistableModelSaveAsDTO. - 置空字段数组。 + **参数解释:** 置空字段数组。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param need_set_null_attrs: The need_set_null_attrs of this PersistableModelSaveAsDTO. :type need_set_null_attrs: list[str] @@ -344,7 +344,7 @@ def need_set_null_attrs(self, need_set_null_attrs): def entity_to_save(self): """Gets the entity_to_save of this PersistableModelSaveAsDTO. - 要保存的属性。 + **参数解释:** 要保存的属性。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The entity_to_save of this PersistableModelSaveAsDTO. :rtype: object @@ -355,7 +355,7 @@ def entity_to_save(self): def entity_to_save(self, entity_to_save): """Sets the entity_to_save of this PersistableModelSaveAsDTO. - 要保存的属性。 + **参数解释:** 要保存的属性。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param entity_to_save: The entity_to_save of this PersistableModelSaveAsDTO. :type entity_to_save: object @@ -366,7 +366,7 @@ def entity_to_save(self, entity_to_save): def entity_to_return(self): """Gets the entity_to_return of this PersistableModelSaveAsDTO. - 要保存的结果。 + **参数解释:** 要保存的结果。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The entity_to_return of this PersistableModelSaveAsDTO. :rtype: object @@ -377,7 +377,7 @@ def entity_to_return(self): def entity_to_return(self, entity_to_return): """Sets the entity_to_return of this PersistableModelSaveAsDTO. - 要保存的结果。 + **参数解释:** 要保存的结果。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param entity_to_return: The entity_to_return of this PersistableModelSaveAsDTO. :type entity_to_return: object @@ -388,7 +388,7 @@ def entity_to_return(self, entity_to_return): def unique_key(self): """Gets the unique_key of this PersistableModelSaveAsDTO. - 唯一键。 + **参数解释:** 唯一键约束属性。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The unique_key of this PersistableModelSaveAsDTO. :rtype: str @@ -399,7 +399,7 @@ def unique_key(self): def unique_key(self, unique_key): """Sets the unique_key of this PersistableModelSaveAsDTO. - 唯一键。 + **参数解释:** 唯一键约束属性。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param unique_key: The unique_key of this PersistableModelSaveAsDTO. :type unique_key: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persistable_model_save_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persistable_model_save_dto.py index c6b92d3d21..383e13c80c 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persistable_model_save_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persistable_model_save_dto.py @@ -45,23 +45,23 @@ def __init__(self, create_time=None, creator=None, id=None, last_update_time=Non The model defined in huaweicloud sdk - :param create_time: 创建时间。 + :param create_time: **参数解释:** 创建时间。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type create_time: str - :param creator: 创建者。 + :param creator: **参数解释:** 创建者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type creator: str - :param id: 唯一标识。 + :param id: **参数解释:** 唯一标识。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type id: str - :param last_update_time: 最后更新时间。 + :param last_update_time: **参数解释:** 最后更新时间。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type last_update_time: str - :param modifier: 更新者。 + :param modifier: **参数解释:** 更新者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type modifier: str - :param need_set_null_attrs: 设置NULL值的属性名称。 + :param need_set_null_attrs: **参数解释:** 设置NULL值的属性名称。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type need_set_null_attrs: list[str] - :param rdm_extension_type: 扩展类型。 + :param rdm_extension_type: **参数解释:** 扩展类型。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type rdm_extension_type: str :param tenant: :type tenant: :class:`huaweicloudsdkidmeclassicapi.v1.ObjectReferenceParamDTO` - :param unique_key: 示例模型的唯一键属性。 + :param unique_key: **参数解释:** 示例模型的唯一键属性。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type unique_key: str """ @@ -101,7 +101,7 @@ def __init__(self, create_time=None, creator=None, id=None, last_update_time=Non def create_time(self): """Gets the create_time of this PersistableModelSaveDTO. - 创建时间。 + **参数解释:** 创建时间。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The create_time of this PersistableModelSaveDTO. :rtype: str @@ -112,7 +112,7 @@ def create_time(self): def create_time(self, create_time): """Sets the create_time of this PersistableModelSaveDTO. - 创建时间。 + **参数解释:** 创建时间。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param create_time: The create_time of this PersistableModelSaveDTO. :type create_time: str @@ -123,7 +123,7 @@ def create_time(self, create_time): def creator(self): """Gets the creator of this PersistableModelSaveDTO. - 创建者。 + **参数解释:** 创建者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The creator of this PersistableModelSaveDTO. :rtype: str @@ -134,7 +134,7 @@ def creator(self): def creator(self, creator): """Sets the creator of this PersistableModelSaveDTO. - 创建者。 + **参数解释:** 创建者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param creator: The creator of this PersistableModelSaveDTO. :type creator: str @@ -145,7 +145,7 @@ def creator(self, creator): def id(self): """Gets the id of this PersistableModelSaveDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The id of this PersistableModelSaveDTO. :rtype: str @@ -156,7 +156,7 @@ def id(self): def id(self, id): """Sets the id of this PersistableModelSaveDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param id: The id of this PersistableModelSaveDTO. :type id: str @@ -167,7 +167,7 @@ def id(self, id): def last_update_time(self): """Gets the last_update_time of this PersistableModelSaveDTO. - 最后更新时间。 + **参数解释:** 最后更新时间。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The last_update_time of this PersistableModelSaveDTO. :rtype: str @@ -178,7 +178,7 @@ def last_update_time(self): def last_update_time(self, last_update_time): """Sets the last_update_time of this PersistableModelSaveDTO. - 最后更新时间。 + **参数解释:** 最后更新时间。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param last_update_time: The last_update_time of this PersistableModelSaveDTO. :type last_update_time: str @@ -189,7 +189,7 @@ def last_update_time(self, last_update_time): def modifier(self): """Gets the modifier of this PersistableModelSaveDTO. - 更新者。 + **参数解释:** 更新者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The modifier of this PersistableModelSaveDTO. :rtype: str @@ -200,7 +200,7 @@ def modifier(self): def modifier(self, modifier): """Sets the modifier of this PersistableModelSaveDTO. - 更新者。 + **参数解释:** 更新者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param modifier: The modifier of this PersistableModelSaveDTO. :type modifier: str @@ -211,7 +211,7 @@ def modifier(self, modifier): def need_set_null_attrs(self): """Gets the need_set_null_attrs of this PersistableModelSaveDTO. - 设置NULL值的属性名称。 + **参数解释:** 设置NULL值的属性名称。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The need_set_null_attrs of this PersistableModelSaveDTO. :rtype: list[str] @@ -222,7 +222,7 @@ def need_set_null_attrs(self): def need_set_null_attrs(self, need_set_null_attrs): """Sets the need_set_null_attrs of this PersistableModelSaveDTO. - 设置NULL值的属性名称。 + **参数解释:** 设置NULL值的属性名称。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param need_set_null_attrs: The need_set_null_attrs of this PersistableModelSaveDTO. :type need_set_null_attrs: list[str] @@ -233,7 +233,7 @@ def need_set_null_attrs(self, need_set_null_attrs): def rdm_extension_type(self): """Gets the rdm_extension_type of this PersistableModelSaveDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The rdm_extension_type of this PersistableModelSaveDTO. :rtype: str @@ -244,7 +244,7 @@ def rdm_extension_type(self): def rdm_extension_type(self, rdm_extension_type): """Sets the rdm_extension_type of this PersistableModelSaveDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param rdm_extension_type: The rdm_extension_type of this PersistableModelSaveDTO. :type rdm_extension_type: str @@ -273,7 +273,7 @@ def tenant(self, tenant): def unique_key(self): """Gets the unique_key of this PersistableModelSaveDTO. - 示例模型的唯一键属性。 + **参数解释:** 示例模型的唯一键属性。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The unique_key of this PersistableModelSaveDTO. :rtype: str @@ -284,7 +284,7 @@ def unique_key(self): def unique_key(self, unique_key): """Sets the unique_key of this PersistableModelSaveDTO. - 示例模型的唯一键属性。 + **参数解释:** 示例模型的唯一键属性。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param unique_key: The unique_key of this PersistableModelSaveDTO. :type unique_key: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persistable_model_unique_key_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persistable_model_unique_key_dto.py index 9754644ef6..1c43194189 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persistable_model_unique_key_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persistable_model_unique_key_dto.py @@ -31,9 +31,9 @@ def __init__(self, decrypt=None, unique_key=None): The model defined in huaweicloud sdk - :param decrypt: 是否加密。 - true:加密。 - false:不加密。 + :param decrypt: **参数解释:** 是否加密。 **约束限制:** 不涉及。 **取值范围:** - true:加密。 - false:不加密。 **默认取值:** false。 :type decrypt: bool - :param unique_key: 示例模型的唯一键属性值。 + :param unique_key: **参数解释:** 示例模型的唯一键约束属性值。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type unique_key: str """ @@ -51,7 +51,7 @@ def __init__(self, decrypt=None, unique_key=None): def decrypt(self): """Gets the decrypt of this PersistableModelUniqueKeyDTO. - 是否加密。 - true:加密。 - false:不加密。 + **参数解释:** 是否加密。 **约束限制:** 不涉及。 **取值范围:** - true:加密。 - false:不加密。 **默认取值:** false。 :return: The decrypt of this PersistableModelUniqueKeyDTO. :rtype: bool @@ -62,7 +62,7 @@ def decrypt(self): def decrypt(self, decrypt): """Sets the decrypt of this PersistableModelUniqueKeyDTO. - 是否加密。 - true:加密。 - false:不加密。 + **参数解释:** 是否加密。 **约束限制:** 不涉及。 **取值范围:** - true:加密。 - false:不加密。 **默认取值:** false。 :param decrypt: The decrypt of this PersistableModelUniqueKeyDTO. :type decrypt: bool @@ -73,7 +73,7 @@ def decrypt(self, decrypt): def unique_key(self): """Gets the unique_key of this PersistableModelUniqueKeyDTO. - 示例模型的唯一键属性值。 + **参数解释:** 示例模型的唯一键约束属性值。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The unique_key of this PersistableModelUniqueKeyDTO. :rtype: str @@ -84,7 +84,7 @@ def unique_key(self): def unique_key(self, unique_key): """Sets the unique_key of this PersistableModelUniqueKeyDTO. - 示例模型的唯一键属性值。 + **参数解释:** 示例模型的唯一键约束属性值。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param unique_key: The unique_key of this PersistableModelUniqueKeyDTO. :type unique_key: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persistable_model_update_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persistable_model_update_dto.py index 1d1e3897a3..4ddd47bead 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persistable_model_update_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persistable_model_update_dto.py @@ -43,21 +43,21 @@ def __init__(self, create_time=None, creator=None, id=None, last_update_time=Non The model defined in huaweicloud sdk - :param create_time: 创建时间。 + :param create_time: **参数解释:** 创建时间。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type create_time: str - :param creator: 创建者。 + :param creator: **参数解释:** 创建者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type creator: str - :param id: 唯一标识。 + :param id: **参数解释:** 唯一标识。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type id: str - :param last_update_time: 最后更新时间。 + :param last_update_time: **参数解释:** 最后更新时间。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type last_update_time: str - :param modifier: 更新者。 + :param modifier: **参数解释:** 更新者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type modifier: str - :param need_set_null_attrs: 设置空值。 + :param need_set_null_attrs: **参数解释:** 设置空值,长度约束为1000。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type need_set_null_attrs: list[str] - :param rdm_extension_type: 扩展类型。 + :param rdm_extension_type: **参数解释:** 扩展类型。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type rdm_extension_type: str - :param unique_key: 示例模型的唯一键属性。 + :param unique_key: **参数解释:** 示例模型的唯一键属性。 **约束限制:** 实例值不能重复。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type unique_key: str """ @@ -94,7 +94,7 @@ def __init__(self, create_time=None, creator=None, id=None, last_update_time=Non def create_time(self): """Gets the create_time of this PersistableModelUpdateDTO. - 创建时间。 + **参数解释:** 创建时间。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The create_time of this PersistableModelUpdateDTO. :rtype: str @@ -105,7 +105,7 @@ def create_time(self): def create_time(self, create_time): """Sets the create_time of this PersistableModelUpdateDTO. - 创建时间。 + **参数解释:** 创建时间。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param create_time: The create_time of this PersistableModelUpdateDTO. :type create_time: str @@ -116,7 +116,7 @@ def create_time(self, create_time): def creator(self): """Gets the creator of this PersistableModelUpdateDTO. - 创建者。 + **参数解释:** 创建者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The creator of this PersistableModelUpdateDTO. :rtype: str @@ -127,7 +127,7 @@ def creator(self): def creator(self, creator): """Sets the creator of this PersistableModelUpdateDTO. - 创建者。 + **参数解释:** 创建者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param creator: The creator of this PersistableModelUpdateDTO. :type creator: str @@ -138,7 +138,7 @@ def creator(self, creator): def id(self): """Gets the id of this PersistableModelUpdateDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The id of this PersistableModelUpdateDTO. :rtype: str @@ -149,7 +149,7 @@ def id(self): def id(self, id): """Sets the id of this PersistableModelUpdateDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param id: The id of this PersistableModelUpdateDTO. :type id: str @@ -160,7 +160,7 @@ def id(self, id): def last_update_time(self): """Gets the last_update_time of this PersistableModelUpdateDTO. - 最后更新时间。 + **参数解释:** 最后更新时间。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The last_update_time of this PersistableModelUpdateDTO. :rtype: str @@ -171,7 +171,7 @@ def last_update_time(self): def last_update_time(self, last_update_time): """Sets the last_update_time of this PersistableModelUpdateDTO. - 最后更新时间。 + **参数解释:** 最后更新时间。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param last_update_time: The last_update_time of this PersistableModelUpdateDTO. :type last_update_time: str @@ -182,7 +182,7 @@ def last_update_time(self, last_update_time): def modifier(self): """Gets the modifier of this PersistableModelUpdateDTO. - 更新者。 + **参数解释:** 更新者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The modifier of this PersistableModelUpdateDTO. :rtype: str @@ -193,7 +193,7 @@ def modifier(self): def modifier(self, modifier): """Sets the modifier of this PersistableModelUpdateDTO. - 更新者。 + **参数解释:** 更新者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param modifier: The modifier of this PersistableModelUpdateDTO. :type modifier: str @@ -204,7 +204,7 @@ def modifier(self, modifier): def need_set_null_attrs(self): """Gets the need_set_null_attrs of this PersistableModelUpdateDTO. - 设置空值。 + **参数解释:** 设置空值,长度约束为1000。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The need_set_null_attrs of this PersistableModelUpdateDTO. :rtype: list[str] @@ -215,7 +215,7 @@ def need_set_null_attrs(self): def need_set_null_attrs(self, need_set_null_attrs): """Sets the need_set_null_attrs of this PersistableModelUpdateDTO. - 设置空值。 + **参数解释:** 设置空值,长度约束为1000。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param need_set_null_attrs: The need_set_null_attrs of this PersistableModelUpdateDTO. :type need_set_null_attrs: list[str] @@ -226,7 +226,7 @@ def need_set_null_attrs(self, need_set_null_attrs): def rdm_extension_type(self): """Gets the rdm_extension_type of this PersistableModelUpdateDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The rdm_extension_type of this PersistableModelUpdateDTO. :rtype: str @@ -237,7 +237,7 @@ def rdm_extension_type(self): def rdm_extension_type(self, rdm_extension_type): """Sets the rdm_extension_type of this PersistableModelUpdateDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param rdm_extension_type: The rdm_extension_type of this PersistableModelUpdateDTO. :type rdm_extension_type: str @@ -248,7 +248,7 @@ def rdm_extension_type(self, rdm_extension_type): def unique_key(self): """Gets the unique_key of this PersistableModelUpdateDTO. - 示例模型的唯一键属性。 + **参数解释:** 示例模型的唯一键属性。 **约束限制:** 实例值不能重复。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The unique_key of this PersistableModelUpdateDTO. :rtype: str @@ -259,7 +259,7 @@ def unique_key(self): def unique_key(self, unique_key): """Sets the unique_key of this PersistableModelUpdateDTO. - 示例模型的唯一键属性。 + **参数解释:** 示例模型的唯一键属性。 **约束限制:** 实例值不能重复。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param unique_key: The unique_key of this PersistableModelUpdateDTO. :type unique_key: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persistable_model_view_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persistable_model_view_dto.py index ae74344c41..35d89f9682 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persistable_model_view_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/persistable_model_view_dto.py @@ -49,27 +49,27 @@ def __init__(self, class_name=None, create_time=None, creator=None, id=None, rdm The model defined in huaweicloud sdk - :param class_name: 类名。 + :param class_name: **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type class_name: str - :param create_time: 创建时间。 + :param create_time: **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type create_time: str - :param creator: 创建者。 + :param creator: **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type creator: str - :param id: 唯一标识。 + :param id: **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type id: str - :param rdm_delete_flag: 软删除标识,参数值为0或1。 - 0:表示未删除。 - 1:表示已删除。 + :param rdm_delete_flag: **参数解释:** 软删除标识。 **取值范围:** - 0:表示未删除。 - 1:表示已删除。 **默认取值:** 0。 :type rdm_delete_flag: int - :param rdm_extension_type: 扩展类型。 + :param rdm_extension_type: **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type rdm_extension_type: str - :param rdm_version: 系统版本。 + :param rdm_version: **参数解释:** 系统版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type rdm_version: int - :param modifier: 修改人。 + :param modifier: **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type modifier: str - :param last_update_time: 最后更新时间。 + :param last_update_time: **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type last_update_time: object :param tenant: :type tenant: :class:`huaweicloudsdkidmeclassicapi.v1.TenantViewDTO` - :param unique_key: 示例模型中定义的唯一键属性。 + :param unique_key: **参数解释:** 示例模型中定义的唯一键属性。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type unique_key: str """ @@ -115,7 +115,7 @@ def __init__(self, class_name=None, create_time=None, creator=None, id=None, rdm def class_name(self): """Gets the class_name of this PersistableModelViewDTO. - 类名。 + **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The class_name of this PersistableModelViewDTO. :rtype: str @@ -126,7 +126,7 @@ def class_name(self): def class_name(self, class_name): """Sets the class_name of this PersistableModelViewDTO. - 类名。 + **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param class_name: The class_name of this PersistableModelViewDTO. :type class_name: str @@ -137,7 +137,7 @@ def class_name(self, class_name): def create_time(self): """Gets the create_time of this PersistableModelViewDTO. - 创建时间。 + **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The create_time of this PersistableModelViewDTO. :rtype: str @@ -148,7 +148,7 @@ def create_time(self): def create_time(self, create_time): """Sets the create_time of this PersistableModelViewDTO. - 创建时间。 + **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param create_time: The create_time of this PersistableModelViewDTO. :type create_time: str @@ -159,7 +159,7 @@ def create_time(self, create_time): def creator(self): """Gets the creator of this PersistableModelViewDTO. - 创建者。 + **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The creator of this PersistableModelViewDTO. :rtype: str @@ -170,7 +170,7 @@ def creator(self): def creator(self, creator): """Sets the creator of this PersistableModelViewDTO. - 创建者。 + **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param creator: The creator of this PersistableModelViewDTO. :type creator: str @@ -181,7 +181,7 @@ def creator(self, creator): def id(self): """Gets the id of this PersistableModelViewDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The id of this PersistableModelViewDTO. :rtype: str @@ -192,7 +192,7 @@ def id(self): def id(self, id): """Sets the id of this PersistableModelViewDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param id: The id of this PersistableModelViewDTO. :type id: str @@ -203,7 +203,7 @@ def id(self, id): def rdm_delete_flag(self): """Gets the rdm_delete_flag of this PersistableModelViewDTO. - 软删除标识,参数值为0或1。 - 0:表示未删除。 - 1:表示已删除。 + **参数解释:** 软删除标识。 **取值范围:** - 0:表示未删除。 - 1:表示已删除。 **默认取值:** 0。 :return: The rdm_delete_flag of this PersistableModelViewDTO. :rtype: int @@ -214,7 +214,7 @@ def rdm_delete_flag(self): def rdm_delete_flag(self, rdm_delete_flag): """Sets the rdm_delete_flag of this PersistableModelViewDTO. - 软删除标识,参数值为0或1。 - 0:表示未删除。 - 1:表示已删除。 + **参数解释:** 软删除标识。 **取值范围:** - 0:表示未删除。 - 1:表示已删除。 **默认取值:** 0。 :param rdm_delete_flag: The rdm_delete_flag of this PersistableModelViewDTO. :type rdm_delete_flag: int @@ -225,7 +225,7 @@ def rdm_delete_flag(self, rdm_delete_flag): def rdm_extension_type(self): """Gets the rdm_extension_type of this PersistableModelViewDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The rdm_extension_type of this PersistableModelViewDTO. :rtype: str @@ -236,7 +236,7 @@ def rdm_extension_type(self): def rdm_extension_type(self, rdm_extension_type): """Sets the rdm_extension_type of this PersistableModelViewDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param rdm_extension_type: The rdm_extension_type of this PersistableModelViewDTO. :type rdm_extension_type: str @@ -247,7 +247,7 @@ def rdm_extension_type(self, rdm_extension_type): def rdm_version(self): """Gets the rdm_version of this PersistableModelViewDTO. - 系统版本。 + **参数解释:** 系统版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The rdm_version of this PersistableModelViewDTO. :rtype: int @@ -258,7 +258,7 @@ def rdm_version(self): def rdm_version(self, rdm_version): """Sets the rdm_version of this PersistableModelViewDTO. - 系统版本。 + **参数解释:** 系统版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param rdm_version: The rdm_version of this PersistableModelViewDTO. :type rdm_version: int @@ -269,7 +269,7 @@ def rdm_version(self, rdm_version): def modifier(self): """Gets the modifier of this PersistableModelViewDTO. - 修改人。 + **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The modifier of this PersistableModelViewDTO. :rtype: str @@ -280,7 +280,7 @@ def modifier(self): def modifier(self, modifier): """Sets the modifier of this PersistableModelViewDTO. - 修改人。 + **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param modifier: The modifier of this PersistableModelViewDTO. :type modifier: str @@ -291,7 +291,7 @@ def modifier(self, modifier): def last_update_time(self): """Gets the last_update_time of this PersistableModelViewDTO. - 最后更新时间。 + **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The last_update_time of this PersistableModelViewDTO. :rtype: object @@ -302,7 +302,7 @@ def last_update_time(self): def last_update_time(self, last_update_time): """Sets the last_update_time of this PersistableModelViewDTO. - 最后更新时间。 + **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param last_update_time: The last_update_time of this PersistableModelViewDTO. :type last_update_time: object @@ -331,7 +331,7 @@ def tenant(self, tenant): def unique_key(self): """Gets the unique_key of this PersistableModelViewDTO. - 示例模型中定义的唯一键属性。 + **参数解释:** 示例模型中定义的唯一键属性。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The unique_key of this PersistableModelViewDTO. :rtype: str @@ -342,7 +342,7 @@ def unique_key(self): def unique_key(self, unique_key): """Sets the unique_key of this PersistableModelViewDTO. - 示例模型中定义的唯一键属性。 + **参数解释:** 示例模型中定义的唯一键属性。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param unique_key: The unique_key of this PersistableModelViewDTO. :type unique_key: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/query_child_list_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/query_child_list_dto.py index e113bd6ef7..4a0d5a0351 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/query_child_list_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/query_child_list_dto.py @@ -29,7 +29,7 @@ def __init__(self, parent_id=None): The model defined in huaweicloud sdk - :param parent_id: 父节点实例ID。 + :param parent_id: **参数解释:** 父节点实例ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type parent_id: str """ @@ -45,7 +45,7 @@ def __init__(self, parent_id=None): def parent_id(self): """Gets the parent_id of this QueryChildListDTO. - 父节点实例ID。 + **参数解释:** 父节点实例ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The parent_id of this QueryChildListDTO. :rtype: str @@ -56,7 +56,7 @@ def parent_id(self): def parent_id(self, parent_id): """Sets the parent_id of this QueryChildListDTO. - 父节点实例ID。 + **参数解释:** 父节点实例ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param parent_id: The parent_id of this QueryChildListDTO. :type parent_id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/query_condition.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/query_condition.py index 68b08b6f28..1917a596dd 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/query_condition.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/query_condition.py @@ -45,21 +45,21 @@ def __init__(self, condition_name=None, condition_value=None, condition_values=N The model defined in huaweicloud sdk - :param condition_name: 查询条件的名称(数据模型的属性英文名称)。 + :param condition_name: **参数解释:** 查询条件的名称(数据模型的属性英文名称)。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type condition_name: str - :param condition_value: 查询条件值(已过时)。 + :param condition_value: **参数解释:** 查询条件值(已过时)。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type condition_value: str - :param condition_values: 查询条件的值。operator为in时有多值,operator为其他操作符时均为单值。 + :param condition_values: **参数解释:** 查询条件的值。operator为in时有多值,operator为其他操作符时均为单值。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type condition_values: list[str] - :param conditions: 查询条件列表。 + :param conditions: **参数解释:** 查询条件列表。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type conditions: list[:class:`huaweicloudsdkidmeclassicapi.v1.QueryCondition`] - :param ignore_str: 是否忽略大小写。 - true:表示忽略。 - false:表示不忽略。 + :param ignore_str: **参数解释:** 是否忽略大小写。 **约束限制:** 不涉及。 **取值范围:** - true:表示忽略。 - false:表示不忽略。 **默认取值:** false。 :type ignore_str: bool - :param join_table_alias: 关联查询时被关联表的别名。 + :param join_table_alias: **参数解释:** 关联查询时被关联表的别名。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type join_table_alias: str - :param joiner: 连接符。 + :param joiner: **参数解释:** 连接符。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type joiner: str - :param operator: 操作符。 - =:等于查询。 - like:模糊查询。 - customLike:支持输入*或%的模糊查询。 - in:包含查询。 - <:小于查询。 - \\>:大于查询。 - \\>=:大于等于查询。 - <=:小于等于查询。 - <>:不等于查询。 + :param operator: **参数解释:** 操作符。 **约束限制:** 不涉及。 **取值范围:** - =:等于查询。 - like:模糊查询。 - customLike:支持输入*或%的模糊查询。 - in:包含查询。 - <:小于查询。 - \\>:大于查询。 - \\>=:大于等于查询。 - <=:小于等于查询。 - <>:不等于查询。 **默认取值:** 不涉及。 :type operator: str :param pre_condition: :type pre_condition: :class:`huaweicloudsdkidmeclassicapi.v1.QueryCondition` @@ -101,7 +101,7 @@ def __init__(self, condition_name=None, condition_value=None, condition_values=N def condition_name(self): """Gets the condition_name of this QueryCondition. - 查询条件的名称(数据模型的属性英文名称)。 + **参数解释:** 查询条件的名称(数据模型的属性英文名称)。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The condition_name of this QueryCondition. :rtype: str @@ -112,7 +112,7 @@ def condition_name(self): def condition_name(self, condition_name): """Sets the condition_name of this QueryCondition. - 查询条件的名称(数据模型的属性英文名称)。 + **参数解释:** 查询条件的名称(数据模型的属性英文名称)。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param condition_name: The condition_name of this QueryCondition. :type condition_name: str @@ -123,7 +123,7 @@ def condition_name(self, condition_name): def condition_value(self): """Gets the condition_value of this QueryCondition. - 查询条件值(已过时)。 + **参数解释:** 查询条件值(已过时)。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The condition_value of this QueryCondition. :rtype: str @@ -134,7 +134,7 @@ def condition_value(self): def condition_value(self, condition_value): """Sets the condition_value of this QueryCondition. - 查询条件值(已过时)。 + **参数解释:** 查询条件值(已过时)。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param condition_value: The condition_value of this QueryCondition. :type condition_value: str @@ -145,7 +145,7 @@ def condition_value(self, condition_value): def condition_values(self): """Gets the condition_values of this QueryCondition. - 查询条件的值。operator为in时有多值,operator为其他操作符时均为单值。 + **参数解释:** 查询条件的值。operator为in时有多值,operator为其他操作符时均为单值。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The condition_values of this QueryCondition. :rtype: list[str] @@ -156,7 +156,7 @@ def condition_values(self): def condition_values(self, condition_values): """Sets the condition_values of this QueryCondition. - 查询条件的值。operator为in时有多值,operator为其他操作符时均为单值。 + **参数解释:** 查询条件的值。operator为in时有多值,operator为其他操作符时均为单值。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param condition_values: The condition_values of this QueryCondition. :type condition_values: list[str] @@ -167,7 +167,7 @@ def condition_values(self, condition_values): def conditions(self): """Gets the conditions of this QueryCondition. - 查询条件列表。 + **参数解释:** 查询条件列表。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The conditions of this QueryCondition. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.QueryCondition`] @@ -178,7 +178,7 @@ def conditions(self): def conditions(self, conditions): """Sets the conditions of this QueryCondition. - 查询条件列表。 + **参数解释:** 查询条件列表。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param conditions: The conditions of this QueryCondition. :type conditions: list[:class:`huaweicloudsdkidmeclassicapi.v1.QueryCondition`] @@ -189,7 +189,7 @@ def conditions(self, conditions): def ignore_str(self): """Gets the ignore_str of this QueryCondition. - 是否忽略大小写。 - true:表示忽略。 - false:表示不忽略。 + **参数解释:** 是否忽略大小写。 **约束限制:** 不涉及。 **取值范围:** - true:表示忽略。 - false:表示不忽略。 **默认取值:** false。 :return: The ignore_str of this QueryCondition. :rtype: bool @@ -200,7 +200,7 @@ def ignore_str(self): def ignore_str(self, ignore_str): """Sets the ignore_str of this QueryCondition. - 是否忽略大小写。 - true:表示忽略。 - false:表示不忽略。 + **参数解释:** 是否忽略大小写。 **约束限制:** 不涉及。 **取值范围:** - true:表示忽略。 - false:表示不忽略。 **默认取值:** false。 :param ignore_str: The ignore_str of this QueryCondition. :type ignore_str: bool @@ -211,7 +211,7 @@ def ignore_str(self, ignore_str): def join_table_alias(self): """Gets the join_table_alias of this QueryCondition. - 关联查询时被关联表的别名。 + **参数解释:** 关联查询时被关联表的别名。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The join_table_alias of this QueryCondition. :rtype: str @@ -222,7 +222,7 @@ def join_table_alias(self): def join_table_alias(self, join_table_alias): """Sets the join_table_alias of this QueryCondition. - 关联查询时被关联表的别名。 + **参数解释:** 关联查询时被关联表的别名。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param join_table_alias: The join_table_alias of this QueryCondition. :type join_table_alias: str @@ -233,7 +233,7 @@ def join_table_alias(self, join_table_alias): def joiner(self): """Gets the joiner of this QueryCondition. - 连接符。 + **参数解释:** 连接符。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The joiner of this QueryCondition. :rtype: str @@ -244,7 +244,7 @@ def joiner(self): def joiner(self, joiner): """Sets the joiner of this QueryCondition. - 连接符。 + **参数解释:** 连接符。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param joiner: The joiner of this QueryCondition. :type joiner: str @@ -255,7 +255,7 @@ def joiner(self, joiner): def operator(self): """Gets the operator of this QueryCondition. - 操作符。 - =:等于查询。 - like:模糊查询。 - customLike:支持输入*或%的模糊查询。 - in:包含查询。 - <:小于查询。 - \\>:大于查询。 - \\>=:大于等于查询。 - <=:小于等于查询。 - <>:不等于查询。 + **参数解释:** 操作符。 **约束限制:** 不涉及。 **取值范围:** - =:等于查询。 - like:模糊查询。 - customLike:支持输入*或%的模糊查询。 - in:包含查询。 - <:小于查询。 - \\>:大于查询。 - \\>=:大于等于查询。 - <=:小于等于查询。 - <>:不等于查询。 **默认取值:** 不涉及。 :return: The operator of this QueryCondition. :rtype: str @@ -266,7 +266,7 @@ def operator(self): def operator(self, operator): """Sets the operator of this QueryCondition. - 操作符。 - =:等于查询。 - like:模糊查询。 - customLike:支持输入*或%的模糊查询。 - in:包含查询。 - <:小于查询。 - \\>:大于查询。 - \\>=:大于等于查询。 - <=:小于等于查询。 - <>:不等于查询。 + **参数解释:** 操作符。 **约束限制:** 不涉及。 **取值范围:** - =:等于查询。 - like:模糊查询。 - customLike:支持输入*或%的模糊查询。 - in:包含查询。 - <:小于查询。 - \\>:大于查询。 - \\>=:大于等于查询。 - <=:小于等于查询。 - <>:不等于查询。 **默认取值:** 不涉及。 :param operator: The operator of this QueryCondition. :type operator: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/query_parent_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/query_parent_dto.py index 4ce750449e..4f89ef89f0 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/query_parent_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/query_parent_dto.py @@ -29,7 +29,7 @@ def __init__(self, child_id=None): The model defined in huaweicloud sdk - :param child_id: 子节点实例ID。 + :param child_id: **参数解释:** 子节点实例ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type child_id: str """ @@ -44,7 +44,7 @@ def __init__(self, child_id=None): def child_id(self): """Gets the child_id of this QueryParentDTO. - 子节点实例ID。 + **参数解释:** 子节点实例ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The child_id of this QueryParentDTO. :rtype: str @@ -55,7 +55,7 @@ def child_id(self): def child_id(self, child_id): """Sets the child_id of this QueryParentDTO. - 子节点实例ID。 + **参数解释:** 子节点实例ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param child_id: The child_id of this QueryParentDTO. :type child_id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/query_request_count_vo.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/query_request_count_vo.py index 1d4b7aa8ce..e4740e7410 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/query_request_count_vo.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/query_request_count_vo.py @@ -57,31 +57,31 @@ def __init__(self, character_set=None, conditions=None, decrypt=None, entity_typ :param character_set: :type character_set: :class:`huaweicloudsdkidmeclassicapi.v1.CharacterSetEnum` - :param conditions: 查询条件。 + :param conditions: **参数解释:** 查询条件。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type conditions: list[:class:`huaweicloudsdkidmeclassicapi.v1.QueryCondition`] - :param decrypt: 是否加密。 - true:加密。 - false:不加密。 + :param decrypt: **参数解释:** 是否加密。 **约束限制:** 不涉及。 **取值范围:** - true:加密。 - false:不加密。 **默认取值:** false。 :type decrypt: bool - :param entity_type: 实体类型。 + :param entity_type: **参数解释:** 实体类型。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type entity_type: str :param filter: :type filter: :class:`huaweicloudsdkidmeclassicapi.v1.QueryCondition` - :param is_need_total: 是否需要查询总记录数。 - true:需要。 - false:不需要。 + :param is_need_total: **参数解释:** 是否需要查询总记录数。 **约束限制:** 不涉及。 **取值范围:** - true:需要。 - false:不需要。 **默认取值:** false。 :type is_need_total: bool - :param is_present_all: 是否需要展示所有参考对象信息。 - true:需要。 - false:不需要。 + :param is_present_all: **参数解释:** 是否需要展示所有参考对象信息。 **约束限制:** 不涉及。 **取值范围:** - true:需要。 - false:不需要。 **默认取值:** false。 :type is_present_all: bool - :param max_count: 指定数量上限,如果超过统计总数超过上限则返回上限。 + :param max_count: **参数解释:** 指定数量上限,如果超过统计总数超过上限则返回上限。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type max_count: int - :param need_present_detail: 需要展示详细信息的参考对象。 + :param need_present_detail: **参数解释:** 需要展示详细信息的参考对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type need_present_detail: list[str] - :param order_by: 按某个字段进行排序。 + :param order_by: **参数解释:** 按某个字段进行排序。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type order_by: str - :param order_by_table_alias: 排序字段的表别名。 + :param order_by_table_alias: **参数解释:** 排序字段的表别名。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type order_by_table_alias: str - :param public_data: 多租查询参数。 - EXCLUDE_PUBLIC_DATA:不包括公共数据。 - INCLUDE_PUBLIC_DATA:包括公共数据。 - ONLY_NEED_PUBLIC_DATA:只有公共数据。 + :param public_data: **参数解释:** 多租查询参数。 **约束限制:** 不涉及。 **取值范围:** - EXCLUDE_PUBLIC_DATA:不包括公共数据。 - INCLUDE_PUBLIC_DATA:包括公共数据。 - ONLY_NEED_PUBLIC_DATA:只有公共数据。 **默认取值:** 不涉及。 :type public_data: str - :param sort: 排序方向。 - ASC:表示升序。 - DESC:表示降序。 + :param sort: **参数解释:** 排序方向。 **约束限制:** 不涉及。 **取值范围:** - ASC:表示升序。 - DESC:表示降序。 **默认取值:** ASC。 :type sort: str - :param sorts: 排序。 + :param sorts: **参数解释:** 排序。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type sorts: list[:class:`huaweicloudsdkidmeclassicapi.v1.SortInfoVo`] """ @@ -154,7 +154,7 @@ def character_set(self, character_set): def conditions(self): """Gets the conditions of this QueryRequestCountVo. - 查询条件。 + **参数解释:** 查询条件。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The conditions of this QueryRequestCountVo. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.QueryCondition`] @@ -165,7 +165,7 @@ def conditions(self): def conditions(self, conditions): """Sets the conditions of this QueryRequestCountVo. - 查询条件。 + **参数解释:** 查询条件。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param conditions: The conditions of this QueryRequestCountVo. :type conditions: list[:class:`huaweicloudsdkidmeclassicapi.v1.QueryCondition`] @@ -176,7 +176,7 @@ def conditions(self, conditions): def decrypt(self): """Gets the decrypt of this QueryRequestCountVo. - 是否加密。 - true:加密。 - false:不加密。 + **参数解释:** 是否加密。 **约束限制:** 不涉及。 **取值范围:** - true:加密。 - false:不加密。 **默认取值:** false。 :return: The decrypt of this QueryRequestCountVo. :rtype: bool @@ -187,7 +187,7 @@ def decrypt(self): def decrypt(self, decrypt): """Sets the decrypt of this QueryRequestCountVo. - 是否加密。 - true:加密。 - false:不加密。 + **参数解释:** 是否加密。 **约束限制:** 不涉及。 **取值范围:** - true:加密。 - false:不加密。 **默认取值:** false。 :param decrypt: The decrypt of this QueryRequestCountVo. :type decrypt: bool @@ -198,7 +198,7 @@ def decrypt(self, decrypt): def entity_type(self): """Gets the entity_type of this QueryRequestCountVo. - 实体类型。 + **参数解释:** 实体类型。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The entity_type of this QueryRequestCountVo. :rtype: str @@ -209,7 +209,7 @@ def entity_type(self): def entity_type(self, entity_type): """Sets the entity_type of this QueryRequestCountVo. - 实体类型。 + **参数解释:** 实体类型。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param entity_type: The entity_type of this QueryRequestCountVo. :type entity_type: str @@ -238,7 +238,7 @@ def filter(self, filter): def is_need_total(self): """Gets the is_need_total of this QueryRequestCountVo. - 是否需要查询总记录数。 - true:需要。 - false:不需要。 + **参数解释:** 是否需要查询总记录数。 **约束限制:** 不涉及。 **取值范围:** - true:需要。 - false:不需要。 **默认取值:** false。 :return: The is_need_total of this QueryRequestCountVo. :rtype: bool @@ -249,7 +249,7 @@ def is_need_total(self): def is_need_total(self, is_need_total): """Sets the is_need_total of this QueryRequestCountVo. - 是否需要查询总记录数。 - true:需要。 - false:不需要。 + **参数解释:** 是否需要查询总记录数。 **约束限制:** 不涉及。 **取值范围:** - true:需要。 - false:不需要。 **默认取值:** false。 :param is_need_total: The is_need_total of this QueryRequestCountVo. :type is_need_total: bool @@ -260,7 +260,7 @@ def is_need_total(self, is_need_total): def is_present_all(self): """Gets the is_present_all of this QueryRequestCountVo. - 是否需要展示所有参考对象信息。 - true:需要。 - false:不需要。 + **参数解释:** 是否需要展示所有参考对象信息。 **约束限制:** 不涉及。 **取值范围:** - true:需要。 - false:不需要。 **默认取值:** false。 :return: The is_present_all of this QueryRequestCountVo. :rtype: bool @@ -271,7 +271,7 @@ def is_present_all(self): def is_present_all(self, is_present_all): """Sets the is_present_all of this QueryRequestCountVo. - 是否需要展示所有参考对象信息。 - true:需要。 - false:不需要。 + **参数解释:** 是否需要展示所有参考对象信息。 **约束限制:** 不涉及。 **取值范围:** - true:需要。 - false:不需要。 **默认取值:** false。 :param is_present_all: The is_present_all of this QueryRequestCountVo. :type is_present_all: bool @@ -282,7 +282,7 @@ def is_present_all(self, is_present_all): def max_count(self): """Gets the max_count of this QueryRequestCountVo. - 指定数量上限,如果超过统计总数超过上限则返回上限。 + **参数解释:** 指定数量上限,如果超过统计总数超过上限则返回上限。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The max_count of this QueryRequestCountVo. :rtype: int @@ -293,7 +293,7 @@ def max_count(self): def max_count(self, max_count): """Sets the max_count of this QueryRequestCountVo. - 指定数量上限,如果超过统计总数超过上限则返回上限。 + **参数解释:** 指定数量上限,如果超过统计总数超过上限则返回上限。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param max_count: The max_count of this QueryRequestCountVo. :type max_count: int @@ -304,7 +304,7 @@ def max_count(self, max_count): def need_present_detail(self): """Gets the need_present_detail of this QueryRequestCountVo. - 需要展示详细信息的参考对象。 + **参数解释:** 需要展示详细信息的参考对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The need_present_detail of this QueryRequestCountVo. :rtype: list[str] @@ -315,7 +315,7 @@ def need_present_detail(self): def need_present_detail(self, need_present_detail): """Sets the need_present_detail of this QueryRequestCountVo. - 需要展示详细信息的参考对象。 + **参数解释:** 需要展示详细信息的参考对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param need_present_detail: The need_present_detail of this QueryRequestCountVo. :type need_present_detail: list[str] @@ -326,7 +326,7 @@ def need_present_detail(self, need_present_detail): def order_by(self): """Gets the order_by of this QueryRequestCountVo. - 按某个字段进行排序。 + **参数解释:** 按某个字段进行排序。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The order_by of this QueryRequestCountVo. :rtype: str @@ -337,7 +337,7 @@ def order_by(self): def order_by(self, order_by): """Sets the order_by of this QueryRequestCountVo. - 按某个字段进行排序。 + **参数解释:** 按某个字段进行排序。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param order_by: The order_by of this QueryRequestCountVo. :type order_by: str @@ -348,7 +348,7 @@ def order_by(self, order_by): def order_by_table_alias(self): """Gets the order_by_table_alias of this QueryRequestCountVo. - 排序字段的表别名。 + **参数解释:** 排序字段的表别名。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The order_by_table_alias of this QueryRequestCountVo. :rtype: str @@ -359,7 +359,7 @@ def order_by_table_alias(self): def order_by_table_alias(self, order_by_table_alias): """Sets the order_by_table_alias of this QueryRequestCountVo. - 排序字段的表别名。 + **参数解释:** 排序字段的表别名。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param order_by_table_alias: The order_by_table_alias of this QueryRequestCountVo. :type order_by_table_alias: str @@ -370,7 +370,7 @@ def order_by_table_alias(self, order_by_table_alias): def public_data(self): """Gets the public_data of this QueryRequestCountVo. - 多租查询参数。 - EXCLUDE_PUBLIC_DATA:不包括公共数据。 - INCLUDE_PUBLIC_DATA:包括公共数据。 - ONLY_NEED_PUBLIC_DATA:只有公共数据。 + **参数解释:** 多租查询参数。 **约束限制:** 不涉及。 **取值范围:** - EXCLUDE_PUBLIC_DATA:不包括公共数据。 - INCLUDE_PUBLIC_DATA:包括公共数据。 - ONLY_NEED_PUBLIC_DATA:只有公共数据。 **默认取值:** 不涉及。 :return: The public_data of this QueryRequestCountVo. :rtype: str @@ -381,7 +381,7 @@ def public_data(self): def public_data(self, public_data): """Sets the public_data of this QueryRequestCountVo. - 多租查询参数。 - EXCLUDE_PUBLIC_DATA:不包括公共数据。 - INCLUDE_PUBLIC_DATA:包括公共数据。 - ONLY_NEED_PUBLIC_DATA:只有公共数据。 + **参数解释:** 多租查询参数。 **约束限制:** 不涉及。 **取值范围:** - EXCLUDE_PUBLIC_DATA:不包括公共数据。 - INCLUDE_PUBLIC_DATA:包括公共数据。 - ONLY_NEED_PUBLIC_DATA:只有公共数据。 **默认取值:** 不涉及。 :param public_data: The public_data of this QueryRequestCountVo. :type public_data: str @@ -392,7 +392,7 @@ def public_data(self, public_data): def sort(self): """Gets the sort of this QueryRequestCountVo. - 排序方向。 - ASC:表示升序。 - DESC:表示降序。 + **参数解释:** 排序方向。 **约束限制:** 不涉及。 **取值范围:** - ASC:表示升序。 - DESC:表示降序。 **默认取值:** ASC。 :return: The sort of this QueryRequestCountVo. :rtype: str @@ -403,7 +403,7 @@ def sort(self): def sort(self, sort): """Sets the sort of this QueryRequestCountVo. - 排序方向。 - ASC:表示升序。 - DESC:表示降序。 + **参数解释:** 排序方向。 **约束限制:** 不涉及。 **取值范围:** - ASC:表示升序。 - DESC:表示降序。 **默认取值:** ASC。 :param sort: The sort of this QueryRequestCountVo. :type sort: str @@ -414,7 +414,7 @@ def sort(self, sort): def sorts(self): """Gets the sorts of this QueryRequestCountVo. - 排序。 + **参数解释:** 排序。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The sorts of this QueryRequestCountVo. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.SortInfoVo`] @@ -425,7 +425,7 @@ def sorts(self): def sorts(self, sorts): """Sets the sorts of this QueryRequestCountVo. - 排序。 + **参数解释:** 排序。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param sorts: The sorts of this QueryRequestCountVo. :type sorts: list[:class:`huaweicloudsdkidmeclassicapi.v1.SortInfoVo`] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/query_request_selected_vo.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/query_request_selected_vo.py index f24ca3a7d4..6b1ff0dd49 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/query_request_selected_vo.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/query_request_selected_vo.py @@ -57,31 +57,31 @@ def __init__(self, character_set=None, conditions=None, decrypt=None, entity_typ :param character_set: :type character_set: :class:`huaweicloudsdkidmeclassicapi.v1.CharacterSetEnum` - :param conditions: 查询条件。 + :param conditions: **参数解释:** 查询条件。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type conditions: list[:class:`huaweicloudsdkidmeclassicapi.v1.QueryCondition`] - :param decrypt: 是否加密。 - true:加密。 - false:不加密。 + :param decrypt: **参数解释:** 是否加密。 **约束限制:** 不涉及。 **取值范围:** - true:加密。 - false:不加密。 **默认取值:** false。 :type decrypt: bool - :param entity_type: 实体类型。 + :param entity_type: **参数解释:** 实体类型。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type entity_type: str :param filter: :type filter: :class:`huaweicloudsdkidmeclassicapi.v1.QueryCondition` - :param is_need_total: 是否需要查询总记录数。 - true:需要。 - false:不需要。 + :param is_need_total: **参数解释:** 是否需要查询总记录数。 **约束限制:** 不涉及。 **取值范围:** - true:需要。 - false:不需要。 **默认取值:** 不涉及。 :type is_need_total: bool - :param is_present_all: 是否需要展示所有参考对象信息。 - true:需要。 - false:不需要。 + :param is_present_all: **参数解释:** 是否需要展示所有参考对象信息。 **约束限制:** 不涉及。 **取值范围:** - true:需要。 - false:不需要。 **默认取值:** 不涉及。 :type is_present_all: bool - :param need_present_detail: 需要展示详细信息的参考对象。 + :param need_present_detail: **参数解释:** 需要展示详细信息的参考对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type need_present_detail: list[str] - :param order_by: 按某个字段进行排序。 + :param order_by: **参数解释:** 按某个字段进行排序。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type order_by: str - :param order_by_table_alias: 排序字段的表别名。 + :param order_by_table_alias: **参数解释:** 排序字段的表别名。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type order_by_table_alias: str - :param public_data: 多租查询参数。 - EXCLUDE_PUBLIC_DATA:不包括公共数据。 - INCLUDE_PUBLIC_DATA:包括公共数据。 - ONLY_NEED_PUBLIC_DATA:只有公共数据。 + :param public_data: **参数解释:** 多租查询参数。 **约束限制:** 不涉及。 **取值范围:** - EXCLUDE_PUBLIC_DATA:不包括公共数据。 - INCLUDE_PUBLIC_DATA:包括公共数据。 - ONLY_NEED_PUBLIC_DATA:只有公共数据。 **默认取值:** 不涉及。 :type public_data: str - :param selected_field: 指定需返回的属性。 + :param selected_field: **参数解释:** 指定需返回的属性。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type selected_field: list[:class:`huaweicloudsdkidmeclassicapi.v1.SelectedField`] - :param sort: 排序方向。 - ASC:表示升序。 - DESC:表示降序。 + :param sort: **参数解释:** 排序方向。 **约束限制:** 不涉及。 **取值范围:** - ASC:表示升序。 - DESC:表示降序。 **默认取值:** 不涉及。 :type sort: str - :param sorts: 排序。 + :param sorts: **参数解释:** 排序。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type sorts: list[:class:`huaweicloudsdkidmeclassicapi.v1.SortInfoVo`] """ @@ -153,7 +153,7 @@ def character_set(self, character_set): def conditions(self): """Gets the conditions of this QueryRequestSelectedVo. - 查询条件。 + **参数解释:** 查询条件。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The conditions of this QueryRequestSelectedVo. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.QueryCondition`] @@ -164,7 +164,7 @@ def conditions(self): def conditions(self, conditions): """Sets the conditions of this QueryRequestSelectedVo. - 查询条件。 + **参数解释:** 查询条件。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param conditions: The conditions of this QueryRequestSelectedVo. :type conditions: list[:class:`huaweicloudsdkidmeclassicapi.v1.QueryCondition`] @@ -175,7 +175,7 @@ def conditions(self, conditions): def decrypt(self): """Gets the decrypt of this QueryRequestSelectedVo. - 是否加密。 - true:加密。 - false:不加密。 + **参数解释:** 是否加密。 **约束限制:** 不涉及。 **取值范围:** - true:加密。 - false:不加密。 **默认取值:** false。 :return: The decrypt of this QueryRequestSelectedVo. :rtype: bool @@ -186,7 +186,7 @@ def decrypt(self): def decrypt(self, decrypt): """Sets the decrypt of this QueryRequestSelectedVo. - 是否加密。 - true:加密。 - false:不加密。 + **参数解释:** 是否加密。 **约束限制:** 不涉及。 **取值范围:** - true:加密。 - false:不加密。 **默认取值:** false。 :param decrypt: The decrypt of this QueryRequestSelectedVo. :type decrypt: bool @@ -197,7 +197,7 @@ def decrypt(self, decrypt): def entity_type(self): """Gets the entity_type of this QueryRequestSelectedVo. - 实体类型。 + **参数解释:** 实体类型。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The entity_type of this QueryRequestSelectedVo. :rtype: str @@ -208,7 +208,7 @@ def entity_type(self): def entity_type(self, entity_type): """Sets the entity_type of this QueryRequestSelectedVo. - 实体类型。 + **参数解释:** 实体类型。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param entity_type: The entity_type of this QueryRequestSelectedVo. :type entity_type: str @@ -237,7 +237,7 @@ def filter(self, filter): def is_need_total(self): """Gets the is_need_total of this QueryRequestSelectedVo. - 是否需要查询总记录数。 - true:需要。 - false:不需要。 + **参数解释:** 是否需要查询总记录数。 **约束限制:** 不涉及。 **取值范围:** - true:需要。 - false:不需要。 **默认取值:** 不涉及。 :return: The is_need_total of this QueryRequestSelectedVo. :rtype: bool @@ -248,7 +248,7 @@ def is_need_total(self): def is_need_total(self, is_need_total): """Sets the is_need_total of this QueryRequestSelectedVo. - 是否需要查询总记录数。 - true:需要。 - false:不需要。 + **参数解释:** 是否需要查询总记录数。 **约束限制:** 不涉及。 **取值范围:** - true:需要。 - false:不需要。 **默认取值:** 不涉及。 :param is_need_total: The is_need_total of this QueryRequestSelectedVo. :type is_need_total: bool @@ -259,7 +259,7 @@ def is_need_total(self, is_need_total): def is_present_all(self): """Gets the is_present_all of this QueryRequestSelectedVo. - 是否需要展示所有参考对象信息。 - true:需要。 - false:不需要。 + **参数解释:** 是否需要展示所有参考对象信息。 **约束限制:** 不涉及。 **取值范围:** - true:需要。 - false:不需要。 **默认取值:** 不涉及。 :return: The is_present_all of this QueryRequestSelectedVo. :rtype: bool @@ -270,7 +270,7 @@ def is_present_all(self): def is_present_all(self, is_present_all): """Sets the is_present_all of this QueryRequestSelectedVo. - 是否需要展示所有参考对象信息。 - true:需要。 - false:不需要。 + **参数解释:** 是否需要展示所有参考对象信息。 **约束限制:** 不涉及。 **取值范围:** - true:需要。 - false:不需要。 **默认取值:** 不涉及。 :param is_present_all: The is_present_all of this QueryRequestSelectedVo. :type is_present_all: bool @@ -281,7 +281,7 @@ def is_present_all(self, is_present_all): def need_present_detail(self): """Gets the need_present_detail of this QueryRequestSelectedVo. - 需要展示详细信息的参考对象。 + **参数解释:** 需要展示详细信息的参考对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The need_present_detail of this QueryRequestSelectedVo. :rtype: list[str] @@ -292,7 +292,7 @@ def need_present_detail(self): def need_present_detail(self, need_present_detail): """Sets the need_present_detail of this QueryRequestSelectedVo. - 需要展示详细信息的参考对象。 + **参数解释:** 需要展示详细信息的参考对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param need_present_detail: The need_present_detail of this QueryRequestSelectedVo. :type need_present_detail: list[str] @@ -303,7 +303,7 @@ def need_present_detail(self, need_present_detail): def order_by(self): """Gets the order_by of this QueryRequestSelectedVo. - 按某个字段进行排序。 + **参数解释:** 按某个字段进行排序。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The order_by of this QueryRequestSelectedVo. :rtype: str @@ -314,7 +314,7 @@ def order_by(self): def order_by(self, order_by): """Sets the order_by of this QueryRequestSelectedVo. - 按某个字段进行排序。 + **参数解释:** 按某个字段进行排序。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param order_by: The order_by of this QueryRequestSelectedVo. :type order_by: str @@ -325,7 +325,7 @@ def order_by(self, order_by): def order_by_table_alias(self): """Gets the order_by_table_alias of this QueryRequestSelectedVo. - 排序字段的表别名。 + **参数解释:** 排序字段的表别名。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The order_by_table_alias of this QueryRequestSelectedVo. :rtype: str @@ -336,7 +336,7 @@ def order_by_table_alias(self): def order_by_table_alias(self, order_by_table_alias): """Sets the order_by_table_alias of this QueryRequestSelectedVo. - 排序字段的表别名。 + **参数解释:** 排序字段的表别名。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param order_by_table_alias: The order_by_table_alias of this QueryRequestSelectedVo. :type order_by_table_alias: str @@ -347,7 +347,7 @@ def order_by_table_alias(self, order_by_table_alias): def public_data(self): """Gets the public_data of this QueryRequestSelectedVo. - 多租查询参数。 - EXCLUDE_PUBLIC_DATA:不包括公共数据。 - INCLUDE_PUBLIC_DATA:包括公共数据。 - ONLY_NEED_PUBLIC_DATA:只有公共数据。 + **参数解释:** 多租查询参数。 **约束限制:** 不涉及。 **取值范围:** - EXCLUDE_PUBLIC_DATA:不包括公共数据。 - INCLUDE_PUBLIC_DATA:包括公共数据。 - ONLY_NEED_PUBLIC_DATA:只有公共数据。 **默认取值:** 不涉及。 :return: The public_data of this QueryRequestSelectedVo. :rtype: str @@ -358,7 +358,7 @@ def public_data(self): def public_data(self, public_data): """Sets the public_data of this QueryRequestSelectedVo. - 多租查询参数。 - EXCLUDE_PUBLIC_DATA:不包括公共数据。 - INCLUDE_PUBLIC_DATA:包括公共数据。 - ONLY_NEED_PUBLIC_DATA:只有公共数据。 + **参数解释:** 多租查询参数。 **约束限制:** 不涉及。 **取值范围:** - EXCLUDE_PUBLIC_DATA:不包括公共数据。 - INCLUDE_PUBLIC_DATA:包括公共数据。 - ONLY_NEED_PUBLIC_DATA:只有公共数据。 **默认取值:** 不涉及。 :param public_data: The public_data of this QueryRequestSelectedVo. :type public_data: str @@ -369,7 +369,7 @@ def public_data(self, public_data): def selected_field(self): """Gets the selected_field of this QueryRequestSelectedVo. - 指定需返回的属性。 + **参数解释:** 指定需返回的属性。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The selected_field of this QueryRequestSelectedVo. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.SelectedField`] @@ -380,7 +380,7 @@ def selected_field(self): def selected_field(self, selected_field): """Sets the selected_field of this QueryRequestSelectedVo. - 指定需返回的属性。 + **参数解释:** 指定需返回的属性。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param selected_field: The selected_field of this QueryRequestSelectedVo. :type selected_field: list[:class:`huaweicloudsdkidmeclassicapi.v1.SelectedField`] @@ -391,7 +391,7 @@ def selected_field(self, selected_field): def sort(self): """Gets the sort of this QueryRequestSelectedVo. - 排序方向。 - ASC:表示升序。 - DESC:表示降序。 + **参数解释:** 排序方向。 **约束限制:** 不涉及。 **取值范围:** - ASC:表示升序。 - DESC:表示降序。 **默认取值:** 不涉及。 :return: The sort of this QueryRequestSelectedVo. :rtype: str @@ -402,7 +402,7 @@ def sort(self): def sort(self, sort): """Sets the sort of this QueryRequestSelectedVo. - 排序方向。 - ASC:表示升序。 - DESC:表示降序。 + **参数解释:** 排序方向。 **约束限制:** 不涉及。 **取值范围:** - ASC:表示升序。 - DESC:表示降序。 **默认取值:** 不涉及。 :param sort: The sort of this QueryRequestSelectedVo. :type sort: str @@ -413,7 +413,7 @@ def sort(self, sort): def sorts(self): """Gets the sorts of this QueryRequestSelectedVo. - 排序。 + **参数解释:** 排序。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The sorts of this QueryRequestSelectedVo. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.SortInfoVo`] @@ -424,7 +424,7 @@ def sorts(self): def sorts(self, sorts): """Sets the sorts of this QueryRequestSelectedVo. - 排序。 + **参数解释:** 排序。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param sorts: The sorts of this QueryRequestSelectedVo. :type sorts: list[:class:`huaweicloudsdkidmeclassicapi.v1.SortInfoVo`] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/query_request_statics_vo.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/query_request_statics_vo.py index 274bab408b..c2d4f723cf 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/query_request_statics_vo.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/query_request_statics_vo.py @@ -59,33 +59,33 @@ def __init__(self, character_set=None, conditions=None, decrypt=None, entity_typ :param character_set: :type character_set: :class:`huaweicloudsdkidmeclassicapi.v1.CharacterSetEnum` - :param conditions: 查询条件。 + :param conditions: **参数解释:** 查询条件。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type conditions: list[:class:`huaweicloudsdkidmeclassicapi.v1.QueryCondition`] - :param decrypt: 是否加密。 - true:加密。 - false:不加密。 + :param decrypt: **参数解释:** 是否加密。 **约束限制:** 不涉及。 **取值范围:** - true:加密。 - false:不加密。 **默认取值:** false。 :type decrypt: bool - :param entity_type: 实体类型。 + :param entity_type: **参数解释:** 实体类型。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type entity_type: str :param filter: :type filter: :class:`huaweicloudsdkidmeclassicapi.v1.QueryCondition` - :param funcs: 指定简单函数信息。 + :param funcs: **参数解释:** 指定简单函数信息。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type funcs: list[:class:`huaweicloudsdkidmeclassicapi.v1.FuncInfo`] - :param group_by: 分组属性名称。 + :param group_by: **参数解释:** 分组属性名称。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type group_by: str - :param is_need_total: 是否需要查询总记录数。 - true:需要。 - false:不需要。 + :param is_need_total: **参数解释:** 是否需要查询总记录数。 **约束限制:** 不涉及。 **取值范围:** - true:需要。 - false:不需要。 **默认取值:** false。 :type is_need_total: bool - :param is_present_all: 是否需要展示所有参考对象信息。 - true:需要。 - false:不需要。 + :param is_present_all: **参数解释:** 是否需要展示所有参考对象信息。 **约束限制:** 不涉及。 **取值范围:** - true:需要。 - false:不需要。 **默认取值:** 不涉及。 :type is_present_all: bool - :param need_present_detail: 需要展示详细信息的参考对象。 + :param need_present_detail: **参数解释:** 需要展示详细信息的参考对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type need_present_detail: list[str] - :param order_by: 按某个字段进行排序。 + :param order_by: **参数解释:** 按某个字段进行排序。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type order_by: str - :param order_by_table_alias: 排序字段的表别名。 + :param order_by_table_alias: **参数解释:** 排序字段的表别名。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type order_by_table_alias: str - :param public_data: 多租查询参数。 - EXCLUDE_PUBLIC_DATA:不包括公共数据。 - INCLUDE_PUBLIC_DATA:包括公共数据。 - ONLY_NEED_PUBLIC_DATA:只有公共数据。 + :param public_data: **参数解释:** 多租查询参数。 **约束限制:** 不涉及。 **取值范围:** - EXCLUDE_PUBLIC_DATA:不包括公共数据。 - INCLUDE_PUBLIC_DATA:包括公共数据。 - ONLY_NEED_PUBLIC_DATA:只有公共数据。 **默认取值:** 不涉及。 :type public_data: str - :param sort: 排序方向。 - ASC:表示升序。 - DESC:表示降序。 + :param sort: **参数解释:** 排序方向。 **约束限制:** 不涉及。 **取值范围:** - ASC:表示升序。 - DESC:表示降序。 **默认取值:** ASC。 :type sort: str - :param sorts: 排序。 + :param sorts: **参数解释:** 排序。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type sorts: list[:class:`huaweicloudsdkidmeclassicapi.v1.SortInfoVo`] """ @@ -160,7 +160,7 @@ def character_set(self, character_set): def conditions(self): """Gets the conditions of this QueryRequestStaticsVo. - 查询条件。 + **参数解释:** 查询条件。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The conditions of this QueryRequestStaticsVo. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.QueryCondition`] @@ -171,7 +171,7 @@ def conditions(self): def conditions(self, conditions): """Sets the conditions of this QueryRequestStaticsVo. - 查询条件。 + **参数解释:** 查询条件。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param conditions: The conditions of this QueryRequestStaticsVo. :type conditions: list[:class:`huaweicloudsdkidmeclassicapi.v1.QueryCondition`] @@ -182,7 +182,7 @@ def conditions(self, conditions): def decrypt(self): """Gets the decrypt of this QueryRequestStaticsVo. - 是否加密。 - true:加密。 - false:不加密。 + **参数解释:** 是否加密。 **约束限制:** 不涉及。 **取值范围:** - true:加密。 - false:不加密。 **默认取值:** false。 :return: The decrypt of this QueryRequestStaticsVo. :rtype: bool @@ -193,7 +193,7 @@ def decrypt(self): def decrypt(self, decrypt): """Sets the decrypt of this QueryRequestStaticsVo. - 是否加密。 - true:加密。 - false:不加密。 + **参数解释:** 是否加密。 **约束限制:** 不涉及。 **取值范围:** - true:加密。 - false:不加密。 **默认取值:** false。 :param decrypt: The decrypt of this QueryRequestStaticsVo. :type decrypt: bool @@ -204,7 +204,7 @@ def decrypt(self, decrypt): def entity_type(self): """Gets the entity_type of this QueryRequestStaticsVo. - 实体类型。 + **参数解释:** 实体类型。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The entity_type of this QueryRequestStaticsVo. :rtype: str @@ -215,7 +215,7 @@ def entity_type(self): def entity_type(self, entity_type): """Sets the entity_type of this QueryRequestStaticsVo. - 实体类型。 + **参数解释:** 实体类型。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param entity_type: The entity_type of this QueryRequestStaticsVo. :type entity_type: str @@ -244,7 +244,7 @@ def filter(self, filter): def funcs(self): """Gets the funcs of this QueryRequestStaticsVo. - 指定简单函数信息。 + **参数解释:** 指定简单函数信息。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The funcs of this QueryRequestStaticsVo. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.FuncInfo`] @@ -255,7 +255,7 @@ def funcs(self): def funcs(self, funcs): """Sets the funcs of this QueryRequestStaticsVo. - 指定简单函数信息。 + **参数解释:** 指定简单函数信息。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param funcs: The funcs of this QueryRequestStaticsVo. :type funcs: list[:class:`huaweicloudsdkidmeclassicapi.v1.FuncInfo`] @@ -266,7 +266,7 @@ def funcs(self, funcs): def group_by(self): """Gets the group_by of this QueryRequestStaticsVo. - 分组属性名称。 + **参数解释:** 分组属性名称。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The group_by of this QueryRequestStaticsVo. :rtype: str @@ -277,7 +277,7 @@ def group_by(self): def group_by(self, group_by): """Sets the group_by of this QueryRequestStaticsVo. - 分组属性名称。 + **参数解释:** 分组属性名称。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param group_by: The group_by of this QueryRequestStaticsVo. :type group_by: str @@ -288,7 +288,7 @@ def group_by(self, group_by): def is_need_total(self): """Gets the is_need_total of this QueryRequestStaticsVo. - 是否需要查询总记录数。 - true:需要。 - false:不需要。 + **参数解释:** 是否需要查询总记录数。 **约束限制:** 不涉及。 **取值范围:** - true:需要。 - false:不需要。 **默认取值:** false。 :return: The is_need_total of this QueryRequestStaticsVo. :rtype: bool @@ -299,7 +299,7 @@ def is_need_total(self): def is_need_total(self, is_need_total): """Sets the is_need_total of this QueryRequestStaticsVo. - 是否需要查询总记录数。 - true:需要。 - false:不需要。 + **参数解释:** 是否需要查询总记录数。 **约束限制:** 不涉及。 **取值范围:** - true:需要。 - false:不需要。 **默认取值:** false。 :param is_need_total: The is_need_total of this QueryRequestStaticsVo. :type is_need_total: bool @@ -310,7 +310,7 @@ def is_need_total(self, is_need_total): def is_present_all(self): """Gets the is_present_all of this QueryRequestStaticsVo. - 是否需要展示所有参考对象信息。 - true:需要。 - false:不需要。 + **参数解释:** 是否需要展示所有参考对象信息。 **约束限制:** 不涉及。 **取值范围:** - true:需要。 - false:不需要。 **默认取值:** 不涉及。 :return: The is_present_all of this QueryRequestStaticsVo. :rtype: bool @@ -321,7 +321,7 @@ def is_present_all(self): def is_present_all(self, is_present_all): """Sets the is_present_all of this QueryRequestStaticsVo. - 是否需要展示所有参考对象信息。 - true:需要。 - false:不需要。 + **参数解释:** 是否需要展示所有参考对象信息。 **约束限制:** 不涉及。 **取值范围:** - true:需要。 - false:不需要。 **默认取值:** 不涉及。 :param is_present_all: The is_present_all of this QueryRequestStaticsVo. :type is_present_all: bool @@ -332,7 +332,7 @@ def is_present_all(self, is_present_all): def need_present_detail(self): """Gets the need_present_detail of this QueryRequestStaticsVo. - 需要展示详细信息的参考对象。 + **参数解释:** 需要展示详细信息的参考对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The need_present_detail of this QueryRequestStaticsVo. :rtype: list[str] @@ -343,7 +343,7 @@ def need_present_detail(self): def need_present_detail(self, need_present_detail): """Sets the need_present_detail of this QueryRequestStaticsVo. - 需要展示详细信息的参考对象。 + **参数解释:** 需要展示详细信息的参考对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param need_present_detail: The need_present_detail of this QueryRequestStaticsVo. :type need_present_detail: list[str] @@ -354,7 +354,7 @@ def need_present_detail(self, need_present_detail): def order_by(self): """Gets the order_by of this QueryRequestStaticsVo. - 按某个字段进行排序。 + **参数解释:** 按某个字段进行排序。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The order_by of this QueryRequestStaticsVo. :rtype: str @@ -365,7 +365,7 @@ def order_by(self): def order_by(self, order_by): """Sets the order_by of this QueryRequestStaticsVo. - 按某个字段进行排序。 + **参数解释:** 按某个字段进行排序。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param order_by: The order_by of this QueryRequestStaticsVo. :type order_by: str @@ -376,7 +376,7 @@ def order_by(self, order_by): def order_by_table_alias(self): """Gets the order_by_table_alias of this QueryRequestStaticsVo. - 排序字段的表别名。 + **参数解释:** 排序字段的表别名。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The order_by_table_alias of this QueryRequestStaticsVo. :rtype: str @@ -387,7 +387,7 @@ def order_by_table_alias(self): def order_by_table_alias(self, order_by_table_alias): """Sets the order_by_table_alias of this QueryRequestStaticsVo. - 排序字段的表别名。 + **参数解释:** 排序字段的表别名。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param order_by_table_alias: The order_by_table_alias of this QueryRequestStaticsVo. :type order_by_table_alias: str @@ -398,7 +398,7 @@ def order_by_table_alias(self, order_by_table_alias): def public_data(self): """Gets the public_data of this QueryRequestStaticsVo. - 多租查询参数。 - EXCLUDE_PUBLIC_DATA:不包括公共数据。 - INCLUDE_PUBLIC_DATA:包括公共数据。 - ONLY_NEED_PUBLIC_DATA:只有公共数据。 + **参数解释:** 多租查询参数。 **约束限制:** 不涉及。 **取值范围:** - EXCLUDE_PUBLIC_DATA:不包括公共数据。 - INCLUDE_PUBLIC_DATA:包括公共数据。 - ONLY_NEED_PUBLIC_DATA:只有公共数据。 **默认取值:** 不涉及。 :return: The public_data of this QueryRequestStaticsVo. :rtype: str @@ -409,7 +409,7 @@ def public_data(self): def public_data(self, public_data): """Sets the public_data of this QueryRequestStaticsVo. - 多租查询参数。 - EXCLUDE_PUBLIC_DATA:不包括公共数据。 - INCLUDE_PUBLIC_DATA:包括公共数据。 - ONLY_NEED_PUBLIC_DATA:只有公共数据。 + **参数解释:** 多租查询参数。 **约束限制:** 不涉及。 **取值范围:** - EXCLUDE_PUBLIC_DATA:不包括公共数据。 - INCLUDE_PUBLIC_DATA:包括公共数据。 - ONLY_NEED_PUBLIC_DATA:只有公共数据。 **默认取值:** 不涉及。 :param public_data: The public_data of this QueryRequestStaticsVo. :type public_data: str @@ -420,7 +420,7 @@ def public_data(self, public_data): def sort(self): """Gets the sort of this QueryRequestStaticsVo. - 排序方向。 - ASC:表示升序。 - DESC:表示降序。 + **参数解释:** 排序方向。 **约束限制:** 不涉及。 **取值范围:** - ASC:表示升序。 - DESC:表示降序。 **默认取值:** ASC。 :return: The sort of this QueryRequestStaticsVo. :rtype: str @@ -431,7 +431,7 @@ def sort(self): def sort(self, sort): """Sets the sort of this QueryRequestStaticsVo. - 排序方向。 - ASC:表示升序。 - DESC:表示降序。 + **参数解释:** 排序方向。 **约束限制:** 不涉及。 **取值范围:** - ASC:表示升序。 - DESC:表示降序。 **默认取值:** ASC。 :param sort: The sort of this QueryRequestStaticsVo. :type sort: str @@ -442,7 +442,7 @@ def sort(self, sort): def sorts(self): """Gets the sorts of this QueryRequestStaticsVo. - 排序。 + **参数解释:** 排序。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The sorts of this QueryRequestStaticsVo. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.SortInfoVo`] @@ -453,7 +453,7 @@ def sorts(self): def sorts(self, sorts): """Sets the sorts of this QueryRequestStaticsVo. - 排序。 + **参数解释:** 排序。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param sorts: The sorts of this QueryRequestStaticsVo. :type sorts: list[:class:`huaweicloudsdkidmeclassicapi.v1.SortInfoVo`] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/query_request_vo.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/query_request_vo.py index 45d16609ba..8a1099062f 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/query_request_vo.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/query_request_vo.py @@ -55,29 +55,29 @@ def __init__(self, character_set=None, conditions=None, decrypt=None, entity_typ :param character_set: :type character_set: :class:`huaweicloudsdkidmeclassicapi.v1.CharacterSetEnum` - :param conditions: 查询条件。 + :param conditions: **参数解释:** 查询条件。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type conditions: list[:class:`huaweicloudsdkidmeclassicapi.v1.QueryCondition`] - :param decrypt: 是否加密。 - true:加密。 - false:不加密。 + :param decrypt: **参数解释:** 是否加密。 **约束限制:** 不涉及。 **取值范围:** - true:加密。 - false:不加密。 **默认取值:** 不涉及。 :type decrypt: bool - :param entity_type: 实体类型。 + :param entity_type: **参数解释:** 实体类型。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type entity_type: str :param filter: :type filter: :class:`huaweicloudsdkidmeclassicapi.v1.QueryCondition` - :param is_need_total: 是否需要查询总记录数。 - true:需要。 - false:不需要。 + :param is_need_total: **参数解释:** 是否需要查询总记录数。 **约束限制:** 不涉及。 **取值范围:** - true:需要。 - false:不需要。 **默认取值:** false。 :type is_need_total: bool - :param is_present_all: 是否需要展示所有参考对象信息。 - true:需要。 - false:不需要。 + :param is_present_all: **参数解释:** 是否需要展示所有参考对象信息。 **约束限制:** 不涉及。 **取值范围:** - true:需要。 - false:不需要。 **默认取值:** false。 :type is_present_all: bool - :param need_present_detail: 需要展示详细信息的参考对象。 + :param need_present_detail: **参数解释:** 需要展示详细信息的参考对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type need_present_detail: list[str] - :param order_by: 按某个字段进行排序。 + :param order_by: **参数解释:** 按某个字段进行排序。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type order_by: str - :param order_by_table_alias: 排序字段的表别名。 + :param order_by_table_alias: **参数解释:** 排序字段的表别名。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type order_by_table_alias: str - :param public_data: 多租查询参数。 - EXCLUDE_PUBLIC_DATA:不包括公共数据。 - INCLUDE_PUBLIC_DATA:包括公共数据。 - ONLY_NEED_PUBLIC_DATA:只有公共数据。 + :param public_data: **参数解释:** 多租查询参数。 **约束限制:** 不涉及。 **取值范围:** - EXCLUDE_PUBLIC_DATA:不包括公共数据。 - INCLUDE_PUBLIC_DATA:包括公共数据。 - ONLY_NEED_PUBLIC_DATA:只有公共数据。 **默认取值:** 不涉及。 :type public_data: str - :param sort: 排序方向。 - ASC:表示升序。 - DESC:表示降序。 + :param sort: **参数解释:** 排序方向。 **约束限制:** 不涉及。 **取值范围:** - ASC:表示升序。 - DESC:表示降序。 不涉及。 **默认取值:** ASC。 :type sort: str - :param sorts: 排序。 + :param sorts: **参数解释:** 排序。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type sorts: list[:class:`huaweicloudsdkidmeclassicapi.v1.SortInfoVo`] """ @@ -147,7 +147,7 @@ def character_set(self, character_set): def conditions(self): """Gets the conditions of this QueryRequestVo. - 查询条件。 + **参数解释:** 查询条件。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The conditions of this QueryRequestVo. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.QueryCondition`] @@ -158,7 +158,7 @@ def conditions(self): def conditions(self, conditions): """Sets the conditions of this QueryRequestVo. - 查询条件。 + **参数解释:** 查询条件。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param conditions: The conditions of this QueryRequestVo. :type conditions: list[:class:`huaweicloudsdkidmeclassicapi.v1.QueryCondition`] @@ -169,7 +169,7 @@ def conditions(self, conditions): def decrypt(self): """Gets the decrypt of this QueryRequestVo. - 是否加密。 - true:加密。 - false:不加密。 + **参数解释:** 是否加密。 **约束限制:** 不涉及。 **取值范围:** - true:加密。 - false:不加密。 **默认取值:** 不涉及。 :return: The decrypt of this QueryRequestVo. :rtype: bool @@ -180,7 +180,7 @@ def decrypt(self): def decrypt(self, decrypt): """Sets the decrypt of this QueryRequestVo. - 是否加密。 - true:加密。 - false:不加密。 + **参数解释:** 是否加密。 **约束限制:** 不涉及。 **取值范围:** - true:加密。 - false:不加密。 **默认取值:** 不涉及。 :param decrypt: The decrypt of this QueryRequestVo. :type decrypt: bool @@ -191,7 +191,7 @@ def decrypt(self, decrypt): def entity_type(self): """Gets the entity_type of this QueryRequestVo. - 实体类型。 + **参数解释:** 实体类型。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The entity_type of this QueryRequestVo. :rtype: str @@ -202,7 +202,7 @@ def entity_type(self): def entity_type(self, entity_type): """Sets the entity_type of this QueryRequestVo. - 实体类型。 + **参数解释:** 实体类型。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param entity_type: The entity_type of this QueryRequestVo. :type entity_type: str @@ -231,7 +231,7 @@ def filter(self, filter): def is_need_total(self): """Gets the is_need_total of this QueryRequestVo. - 是否需要查询总记录数。 - true:需要。 - false:不需要。 + **参数解释:** 是否需要查询总记录数。 **约束限制:** 不涉及。 **取值范围:** - true:需要。 - false:不需要。 **默认取值:** false。 :return: The is_need_total of this QueryRequestVo. :rtype: bool @@ -242,7 +242,7 @@ def is_need_total(self): def is_need_total(self, is_need_total): """Sets the is_need_total of this QueryRequestVo. - 是否需要查询总记录数。 - true:需要。 - false:不需要。 + **参数解释:** 是否需要查询总记录数。 **约束限制:** 不涉及。 **取值范围:** - true:需要。 - false:不需要。 **默认取值:** false。 :param is_need_total: The is_need_total of this QueryRequestVo. :type is_need_total: bool @@ -253,7 +253,7 @@ def is_need_total(self, is_need_total): def is_present_all(self): """Gets the is_present_all of this QueryRequestVo. - 是否需要展示所有参考对象信息。 - true:需要。 - false:不需要。 + **参数解释:** 是否需要展示所有参考对象信息。 **约束限制:** 不涉及。 **取值范围:** - true:需要。 - false:不需要。 **默认取值:** false。 :return: The is_present_all of this QueryRequestVo. :rtype: bool @@ -264,7 +264,7 @@ def is_present_all(self): def is_present_all(self, is_present_all): """Sets the is_present_all of this QueryRequestVo. - 是否需要展示所有参考对象信息。 - true:需要。 - false:不需要。 + **参数解释:** 是否需要展示所有参考对象信息。 **约束限制:** 不涉及。 **取值范围:** - true:需要。 - false:不需要。 **默认取值:** false。 :param is_present_all: The is_present_all of this QueryRequestVo. :type is_present_all: bool @@ -275,7 +275,7 @@ def is_present_all(self, is_present_all): def need_present_detail(self): """Gets the need_present_detail of this QueryRequestVo. - 需要展示详细信息的参考对象。 + **参数解释:** 需要展示详细信息的参考对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The need_present_detail of this QueryRequestVo. :rtype: list[str] @@ -286,7 +286,7 @@ def need_present_detail(self): def need_present_detail(self, need_present_detail): """Sets the need_present_detail of this QueryRequestVo. - 需要展示详细信息的参考对象。 + **参数解释:** 需要展示详细信息的参考对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param need_present_detail: The need_present_detail of this QueryRequestVo. :type need_present_detail: list[str] @@ -297,7 +297,7 @@ def need_present_detail(self, need_present_detail): def order_by(self): """Gets the order_by of this QueryRequestVo. - 按某个字段进行排序。 + **参数解释:** 按某个字段进行排序。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The order_by of this QueryRequestVo. :rtype: str @@ -308,7 +308,7 @@ def order_by(self): def order_by(self, order_by): """Sets the order_by of this QueryRequestVo. - 按某个字段进行排序。 + **参数解释:** 按某个字段进行排序。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param order_by: The order_by of this QueryRequestVo. :type order_by: str @@ -319,7 +319,7 @@ def order_by(self, order_by): def order_by_table_alias(self): """Gets the order_by_table_alias of this QueryRequestVo. - 排序字段的表别名。 + **参数解释:** 排序字段的表别名。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The order_by_table_alias of this QueryRequestVo. :rtype: str @@ -330,7 +330,7 @@ def order_by_table_alias(self): def order_by_table_alias(self, order_by_table_alias): """Sets the order_by_table_alias of this QueryRequestVo. - 排序字段的表别名。 + **参数解释:** 排序字段的表别名。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param order_by_table_alias: The order_by_table_alias of this QueryRequestVo. :type order_by_table_alias: str @@ -341,7 +341,7 @@ def order_by_table_alias(self, order_by_table_alias): def public_data(self): """Gets the public_data of this QueryRequestVo. - 多租查询参数。 - EXCLUDE_PUBLIC_DATA:不包括公共数据。 - INCLUDE_PUBLIC_DATA:包括公共数据。 - ONLY_NEED_PUBLIC_DATA:只有公共数据。 + **参数解释:** 多租查询参数。 **约束限制:** 不涉及。 **取值范围:** - EXCLUDE_PUBLIC_DATA:不包括公共数据。 - INCLUDE_PUBLIC_DATA:包括公共数据。 - ONLY_NEED_PUBLIC_DATA:只有公共数据。 **默认取值:** 不涉及。 :return: The public_data of this QueryRequestVo. :rtype: str @@ -352,7 +352,7 @@ def public_data(self): def public_data(self, public_data): """Sets the public_data of this QueryRequestVo. - 多租查询参数。 - EXCLUDE_PUBLIC_DATA:不包括公共数据。 - INCLUDE_PUBLIC_DATA:包括公共数据。 - ONLY_NEED_PUBLIC_DATA:只有公共数据。 + **参数解释:** 多租查询参数。 **约束限制:** 不涉及。 **取值范围:** - EXCLUDE_PUBLIC_DATA:不包括公共数据。 - INCLUDE_PUBLIC_DATA:包括公共数据。 - ONLY_NEED_PUBLIC_DATA:只有公共数据。 **默认取值:** 不涉及。 :param public_data: The public_data of this QueryRequestVo. :type public_data: str @@ -363,7 +363,7 @@ def public_data(self, public_data): def sort(self): """Gets the sort of this QueryRequestVo. - 排序方向。 - ASC:表示升序。 - DESC:表示降序。 + **参数解释:** 排序方向。 **约束限制:** 不涉及。 **取值范围:** - ASC:表示升序。 - DESC:表示降序。 不涉及。 **默认取值:** ASC。 :return: The sort of this QueryRequestVo. :rtype: str @@ -374,7 +374,7 @@ def sort(self): def sort(self, sort): """Sets the sort of this QueryRequestVo. - 排序方向。 - ASC:表示升序。 - DESC:表示降序。 + **参数解释:** 排序方向。 **约束限制:** 不涉及。 **取值范围:** - ASC:表示升序。 - DESC:表示降序。 不涉及。 **默认取值:** ASC。 :param sort: The sort of this QueryRequestVo. :type sort: str @@ -385,7 +385,7 @@ def sort(self, sort): def sorts(self): """Gets the sorts of this QueryRequestVo. - 排序。 + **参数解释:** 排序。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The sorts of this QueryRequestVo. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.SortInfoVo`] @@ -396,7 +396,7 @@ def sorts(self): def sorts(self, sorts): """Sets the sorts of this QueryRequestVo. - 排序。 + **参数解释:** 排序。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param sorts: The sorts of this QueryRequestVo. :type sorts: list[:class:`huaweicloudsdkidmeclassicapi.v1.SortInfoVo`] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_batch_operate_child_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_batch_operate_child_dto.py index 6c8e175c38..a5580e2b29 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_batch_operate_child_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_batch_operate_child_dto.py @@ -31,7 +31,7 @@ def __init__(self, application_id=None, params=None): The model defined in huaweicloud sdk - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str :param params: :type params: :class:`huaweicloudsdkidmeclassicapi.v1.BatchOperateChildDTO` @@ -52,7 +52,7 @@ def __init__(self, application_id=None, params=None): def application_id(self): """Gets the application_id of this RDMParamVOBatchOperateChildDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOBatchOperateChildDTO. :rtype: str @@ -63,7 +63,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOBatchOperateChildDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOBatchOperateChildDTO. :type application_id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_compare_version_vo.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_compare_version_vo.py index 37a418dc2a..df4472cb94 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_compare_version_vo.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_compare_version_vo.py @@ -31,7 +31,7 @@ def __init__(self, application_id=None, params=None): The model defined in huaweicloud sdk - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str :param params: :type params: :class:`huaweicloudsdkidmeclassicapi.v1.CompareVersionVO` @@ -52,7 +52,7 @@ def __init__(self, application_id=None, params=None): def application_id(self): """Gets the application_id of this RDMParamVOCompareVersionVO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOCompareVersionVO. :rtype: str @@ -63,7 +63,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOCompareVersionVO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOCompareVersionVO. :type application_id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_delete_by_condition_vo.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_delete_by_condition_vo.py index fbca1a9663..29944ac2be 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_delete_by_condition_vo.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_delete_by_condition_vo.py @@ -31,7 +31,7 @@ def __init__(self, application_id=None, params=None): The model defined in huaweicloud sdk - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str :param params: :type params: :class:`huaweicloudsdkidmeclassicapi.v1.DeleteByConditionVo` @@ -52,7 +52,7 @@ def __init__(self, application_id=None, params=None): def application_id(self): """Gets the application_id of this RDMParamVODeleteByConditionVo. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVODeleteByConditionVo. :rtype: str @@ -63,7 +63,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVODeleteByConditionVo. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVODeleteByConditionVo. :type application_id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_generic_link_batch_query_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_generic_link_batch_query_dto.py index 3da6267894..de62a8828a 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_generic_link_batch_query_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_generic_link_batch_query_dto.py @@ -31,7 +31,7 @@ def __init__(self, application_id=None, params=None): The model defined in huaweicloud sdk - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str :param params: :type params: :class:`huaweicloudsdkidmeclassicapi.v1.GenericLinkBatchQueryDTO` @@ -52,7 +52,7 @@ def __init__(self, application_id=None, params=None): def application_id(self): """Gets the application_id of this RDMParamVOGenericLinkBatchQueryDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOGenericLinkBatchQueryDTO. :rtype: str @@ -63,7 +63,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOGenericLinkBatchQueryDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOGenericLinkBatchQueryDTO. :type application_id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_generic_link_query_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_generic_link_query_dto.py index 1a7b97009a..f088054d50 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_generic_link_query_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_generic_link_query_dto.py @@ -31,7 +31,7 @@ def __init__(self, application_id=None, params=None): The model defined in huaweicloud sdk - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str :param params: :type params: :class:`huaweicloudsdkidmeclassicapi.v1.GenericLinkQueryDTO` @@ -52,7 +52,7 @@ def __init__(self, application_id=None, params=None): def application_id(self): """Gets the application_id of this RDMParamVOGenericLinkQueryDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOGenericLinkQueryDTO. :rtype: str @@ -63,7 +63,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOGenericLinkQueryDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOGenericLinkQueryDTO. :type application_id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_generic_link_type_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_generic_link_type_dto.py index 70403ddd2c..132a164798 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_generic_link_type_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_generic_link_type_dto.py @@ -31,7 +31,7 @@ def __init__(self, application_id=None, params=None): The model defined in huaweicloud sdk - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str :param params: :type params: :class:`huaweicloudsdkidmeclassicapi.v1.GenericLinkTypeDTO` @@ -52,7 +52,7 @@ def __init__(self, application_id=None, params=None): def application_id(self): """Gets the application_id of this RDMParamVOGenericLinkTypeDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOGenericLinkTypeDTO. :rtype: str @@ -63,7 +63,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOGenericLinkTypeDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOGenericLinkTypeDTO. :type application_id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_generic_link_type_modifier_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_generic_link_type_modifier_dto.py index 5ebdeb11a9..02e8360720 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_generic_link_type_modifier_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_generic_link_type_modifier_dto.py @@ -31,7 +31,7 @@ def __init__(self, application_id=None, params=None): The model defined in huaweicloud sdk - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str :param params: :type params: :class:`huaweicloudsdkidmeclassicapi.v1.GenericLinkTypeModifierDTO` @@ -52,7 +52,7 @@ def __init__(self, application_id=None, params=None): def application_id(self): """Gets the application_id of this RDMParamVOGenericLinkTypeModifierDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOGenericLinkTypeModifierDTO. :rtype: str @@ -63,7 +63,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOGenericLinkTypeModifierDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOGenericLinkTypeModifierDTO. :type application_id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_lifecycle_managed_model_lifecycle_template_switch_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_lifecycle_managed_model_lifecycle_template_switch_dto.py index 377bad0634..0b46f746f7 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_lifecycle_managed_model_lifecycle_template_switch_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_lifecycle_managed_model_lifecycle_template_switch_dto.py @@ -33,7 +33,7 @@ def __init__(self, params=None, application_id=None): :param params: :type params: :class:`huaweicloudsdkidmeclassicapi.v1.LifecycleManagedModelLifecycleTemplateSwitchDTO` - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str """ @@ -70,7 +70,7 @@ def params(self, params): def application_id(self): """Gets the application_id of this RDMParamVOLifecycleManagedModelLifecycleTemplateSwitchDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOLifecycleManagedModelLifecycleTemplateSwitchDTO. :rtype: str @@ -81,7 +81,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOLifecycleManagedModelLifecycleTemplateSwitchDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOLifecycleManagedModelLifecycleTemplateSwitchDTO. :type application_id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_lifecycle_managed_model_update_lifecycle_state_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_lifecycle_managed_model_update_lifecycle_state_dto.py index 2177b2ee40..d0f2caef90 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_lifecycle_managed_model_update_lifecycle_state_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_lifecycle_managed_model_update_lifecycle_state_dto.py @@ -31,9 +31,9 @@ def __init__(self, params=None, application_id=None): The model defined in huaweicloud sdk - :param params: 参数对象。 + :param params: **参数解释:** 迭代版本。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type params: list[:class:`huaweicloudsdkidmeclassicapi.v1.LifecycleManagedModelUpdateLifecycleStateDTO`] - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str """ @@ -52,7 +52,7 @@ def __init__(self, params=None, application_id=None): def params(self): """Gets the params of this RDMParamVOListLifecycleManagedModelUpdateLifecycleStateDTO. - 参数对象。 + **参数解释:** 迭代版本。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The params of this RDMParamVOListLifecycleManagedModelUpdateLifecycleStateDTO. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.LifecycleManagedModelUpdateLifecycleStateDTO`] @@ -63,7 +63,7 @@ def params(self): def params(self, params): """Sets the params of this RDMParamVOListLifecycleManagedModelUpdateLifecycleStateDTO. - 参数对象。 + **参数解释:** 迭代版本。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param params: The params of this RDMParamVOListLifecycleManagedModelUpdateLifecycleStateDTO. :type params: list[:class:`huaweicloudsdkidmeclassicapi.v1.LifecycleManagedModelUpdateLifecycleStateDTO`] @@ -74,7 +74,7 @@ def params(self, params): def application_id(self): """Gets the application_id of this RDMParamVOListLifecycleManagedModelUpdateLifecycleStateDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOListLifecycleManagedModelUpdateLifecycleStateDTO. :rtype: str @@ -85,7 +85,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOListLifecycleManagedModelUpdateLifecycleStateDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOListLifecycleManagedModelUpdateLifecycleStateDTO. :type application_id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_multi_view_model_version_view_create_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_multi_view_model_version_view_create_dto.py index 3c54357bbf..b1628aaadb 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_multi_view_model_version_view_create_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_multi_view_model_version_view_create_dto.py @@ -31,9 +31,9 @@ def __init__(self, params=None, application_id=None): The model defined in huaweicloud sdk - :param params: 参数对象。 + :param params: **参数解释:** 请求参数对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type params: list[:class:`huaweicloudsdkidmeclassicapi.v1.MultiViewModelVersionViewCreateDTO`] - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str """ @@ -52,7 +52,7 @@ def __init__(self, params=None, application_id=None): def params(self): """Gets the params of this RDMParamVOListMultiViewModelVersionViewCreateDTO. - 参数对象。 + **参数解释:** 请求参数对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The params of this RDMParamVOListMultiViewModelVersionViewCreateDTO. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.MultiViewModelVersionViewCreateDTO`] @@ -63,7 +63,7 @@ def params(self): def params(self, params): """Sets the params of this RDMParamVOListMultiViewModelVersionViewCreateDTO. - 参数对象。 + **参数解释:** 请求参数对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param params: The params of this RDMParamVOListMultiViewModelVersionViewCreateDTO. :type params: list[:class:`huaweicloudsdkidmeclassicapi.v1.MultiViewModelVersionViewCreateDTO`] @@ -74,7 +74,7 @@ def params(self, params): def application_id(self): """Gets the application_id of this RDMParamVOListMultiViewModelVersionViewCreateDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOListMultiViewModelVersionViewCreateDTO. :rtype: str @@ -85,7 +85,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOListMultiViewModelVersionViewCreateDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOListMultiViewModelVersionViewCreateDTO. :type application_id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_persistable_model_create_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_persistable_model_create_dto.py index 597380bd1b..e348f91019 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_persistable_model_create_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_persistable_model_create_dto.py @@ -31,9 +31,9 @@ def __init__(self, application_id=None, params=None): The model defined in huaweicloud sdk - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str - :param params: 参数对象。 + :param params: **参数解释:** 请求参数对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type params: list[:class:`huaweicloudsdkidmeclassicapi.v1.PersistableModelCreateDTO`] """ @@ -52,7 +52,7 @@ def __init__(self, application_id=None, params=None): def application_id(self): """Gets the application_id of this RDMParamVOListPersistableModelCreateDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOListPersistableModelCreateDTO. :rtype: str @@ -63,7 +63,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOListPersistableModelCreateDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOListPersistableModelCreateDTO. :type application_id: str @@ -74,7 +74,7 @@ def application_id(self, application_id): def params(self): """Gets the params of this RDMParamVOListPersistableModelCreateDTO. - 参数对象。 + **参数解释:** 请求参数对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The params of this RDMParamVOListPersistableModelCreateDTO. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.PersistableModelCreateDTO`] @@ -85,7 +85,7 @@ def params(self): def params(self, params): """Sets the params of this RDMParamVOListPersistableModelCreateDTO. - 参数对象。 + **参数解释:** 请求参数对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param params: The params of this RDMParamVOListPersistableModelCreateDTO. :type params: list[:class:`huaweicloudsdkidmeclassicapi.v1.PersistableModelCreateDTO`] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_persistable_model_save_all_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_persistable_model_save_all_dto.py index b4b1e83d05..3eb3588ed3 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_persistable_model_save_all_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_persistable_model_save_all_dto.py @@ -31,9 +31,9 @@ def __init__(self, application_id=None, params=None): The model defined in huaweicloud sdk - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str - :param params: 参数对象。 + :param params: **参数解释:** 请求参数对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type params: list[:class:`huaweicloudsdkidmeclassicapi.v1.PersistableModelSaveAllDTO`] """ @@ -52,7 +52,7 @@ def __init__(self, application_id=None, params=None): def application_id(self): """Gets the application_id of this RDMParamVOListPersistableModelSaveAllDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOListPersistableModelSaveAllDTO. :rtype: str @@ -63,7 +63,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOListPersistableModelSaveAllDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOListPersistableModelSaveAllDTO. :type application_id: str @@ -74,7 +74,7 @@ def application_id(self, application_id): def params(self): """Gets the params of this RDMParamVOListPersistableModelSaveAllDTO. - 参数对象。 + **参数解释:** 请求参数对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The params of this RDMParamVOListPersistableModelSaveAllDTO. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.PersistableModelSaveAllDTO`] @@ -85,7 +85,7 @@ def params(self): def params(self, params): """Sets the params of this RDMParamVOListPersistableModelSaveAllDTO. - 参数对象。 + **参数解释:** 请求参数对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param params: The params of this RDMParamVOListPersistableModelSaveAllDTO. :type params: list[:class:`huaweicloudsdkidmeclassicapi.v1.PersistableModelSaveAllDTO`] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_persistable_model_save_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_persistable_model_save_dto.py index b67aa89852..a5ae05f726 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_persistable_model_save_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_persistable_model_save_dto.py @@ -31,9 +31,9 @@ def __init__(self, application_id=None, params=None): The model defined in huaweicloud sdk - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str - :param params: 参数对象。 + :param params: **参数解释:** 请求参数对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type params: list[:class:`huaweicloudsdkidmeclassicapi.v1.PersistableModelSaveDTO`] """ @@ -52,7 +52,7 @@ def __init__(self, application_id=None, params=None): def application_id(self): """Gets the application_id of this RDMParamVOListPersistableModelSaveDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOListPersistableModelSaveDTO. :rtype: str @@ -63,7 +63,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOListPersistableModelSaveDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOListPersistableModelSaveDTO. :type application_id: str @@ -74,7 +74,7 @@ def application_id(self, application_id): def params(self): """Gets the params of this RDMParamVOListPersistableModelSaveDTO. - 参数对象。 + **参数解释:** 请求参数对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The params of this RDMParamVOListPersistableModelSaveDTO. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.PersistableModelSaveDTO`] @@ -85,7 +85,7 @@ def params(self): def params(self, params): """Sets the params of this RDMParamVOListPersistableModelSaveDTO. - 参数对象。 + **参数解释:** 请求参数对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param params: The params of this RDMParamVOListPersistableModelSaveDTO. :type params: list[:class:`huaweicloudsdkidmeclassicapi.v1.PersistableModelSaveDTO`] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_persistable_model_update_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_persistable_model_update_dto.py index 48b5a4c65c..a0ffc2ce44 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_persistable_model_update_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_persistable_model_update_dto.py @@ -31,9 +31,9 @@ def __init__(self, application_id=None, params=None): The model defined in huaweicloud sdk - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str - :param params: 参数对象。 + :param params: **参数解释:** 请求参数对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type params: list[:class:`huaweicloudsdkidmeclassicapi.v1.PersistableModelUpdateDTO`] """ @@ -52,7 +52,7 @@ def __init__(self, application_id=None, params=None): def application_id(self): """Gets the application_id of this RDMParamVOListPersistableModelUpdateDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOListPersistableModelUpdateDTO. :rtype: str @@ -63,7 +63,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOListPersistableModelUpdateDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOListPersistableModelUpdateDTO. :type application_id: str @@ -74,7 +74,7 @@ def application_id(self, application_id): def params(self): """Gets the params of this RDMParamVOListPersistableModelUpdateDTO. - 参数对象。 + **参数解释:** 请求参数对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The params of this RDMParamVOListPersistableModelUpdateDTO. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.PersistableModelUpdateDTO`] @@ -85,7 +85,7 @@ def params(self): def params(self, params): """Sets the params of this RDMParamVOListPersistableModelUpdateDTO. - 参数对象。 + **参数解释:** 请求参数对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param params: The params of this RDMParamVOListPersistableModelUpdateDTO. :type params: list[:class:`huaweicloudsdkidmeclassicapi.v1.PersistableModelUpdateDTO`] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_version_model.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_version_model.py index b6ff2f25aa..08afb2d5b8 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_version_model.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_version_model.py @@ -31,9 +31,9 @@ def __init__(self, application_id=None, params=None): The model defined in huaweicloud sdk - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str - :param params: 参数对象。 + :param params: **参数解释:** 请求参数对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type params: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModel`] """ @@ -52,7 +52,7 @@ def __init__(self, application_id=None, params=None): def application_id(self): """Gets the application_id of this RDMParamVOListVersionModel. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOListVersionModel. :rtype: str @@ -63,7 +63,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOListVersionModel. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOListVersionModel. :type application_id: str @@ -74,7 +74,7 @@ def application_id(self, application_id): def params(self): """Gets the params of this RDMParamVOListVersionModel. - 参数对象。 + **参数解释:** 请求参数对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The params of this RDMParamVOListVersionModel. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModel`] @@ -85,7 +85,7 @@ def params(self): def params(self, params): """Sets the params of this RDMParamVOListVersionModel. - 参数对象。 + **参数解释:** 请求参数对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param params: The params of this RDMParamVOListVersionModel. :type params: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModel`] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_version_model_version_check_in_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_version_model_version_check_in_dto.py index f5aa93b683..7c3bafaba9 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_version_model_version_check_in_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_version_model_version_check_in_dto.py @@ -31,9 +31,9 @@ def __init__(self, application_id=None, params=None): The model defined in huaweicloud sdk - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str - :param params: 参数对象。 + :param params: **参数解释:** 请求参数对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type params: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelVersionCheckInDTO`] """ @@ -52,7 +52,7 @@ def __init__(self, application_id=None, params=None): def application_id(self): """Gets the application_id of this RDMParamVOListVersionModelVersionCheckInDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOListVersionModelVersionCheckInDTO. :rtype: str @@ -63,7 +63,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOListVersionModelVersionCheckInDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOListVersionModelVersionCheckInDTO. :type application_id: str @@ -74,7 +74,7 @@ def application_id(self, application_id): def params(self): """Gets the params of this RDMParamVOListVersionModelVersionCheckInDTO. - 参数对象。 + **参数解释:** 请求参数对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The params of this RDMParamVOListVersionModelVersionCheckInDTO. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelVersionCheckInDTO`] @@ -85,7 +85,7 @@ def params(self): def params(self, params): """Sets the params of this RDMParamVOListVersionModelVersionCheckInDTO. - 参数对象。 + **参数解释:** 请求参数对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param params: The params of this RDMParamVOListVersionModelVersionCheckInDTO. :type params: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelVersionCheckInDTO`] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_version_model_version_check_out_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_version_model_version_check_out_dto.py index 0c3ef9a823..c57e29245f 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_version_model_version_check_out_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_version_model_version_check_out_dto.py @@ -31,9 +31,9 @@ def __init__(self, application_id=None, params=None): The model defined in huaweicloud sdk - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str - :param params: 参数对象。 + :param params: **参数解释:** 请求参数对象。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type params: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelVersionCheckOutDTO`] """ @@ -52,7 +52,7 @@ def __init__(self, application_id=None, params=None): def application_id(self): """Gets the application_id of this RDMParamVOListVersionModelVersionCheckOutDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOListVersionModelVersionCheckOutDTO. :rtype: str @@ -63,7 +63,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOListVersionModelVersionCheckOutDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOListVersionModelVersionCheckOutDTO. :type application_id: str @@ -74,7 +74,7 @@ def application_id(self, application_id): def params(self): """Gets the params of this RDMParamVOListVersionModelVersionCheckOutDTO. - 参数对象。 + **参数解释:** 请求参数对象。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The params of this RDMParamVOListVersionModelVersionCheckOutDTO. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelVersionCheckOutDTO`] @@ -85,7 +85,7 @@ def params(self): def params(self, params): """Sets the params of this RDMParamVOListVersionModelVersionCheckOutDTO. - 参数对象。 + **参数解释:** 请求参数对象。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param params: The params of this RDMParamVOListVersionModelVersionCheckOutDTO. :type params: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelVersionCheckOutDTO`] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_version_model_version_checkout_and_update_dto_version_model.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_version_model_version_checkout_and_update_dto_version_model.py index 5e1f677475..c7eb8e72b0 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_version_model_version_checkout_and_update_dto_version_model.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_version_model_version_checkout_and_update_dto_version_model.py @@ -31,9 +31,9 @@ def __init__(self, application_id=None, params=None): The model defined in huaweicloud sdk - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str - :param params: 参数对象。 + :param params: **参数解释:** 请求参数对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type params: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelVersionCheckoutAndUpdateDTOVersionModel`] """ @@ -52,7 +52,7 @@ def __init__(self, application_id=None, params=None): def application_id(self): """Gets the application_id of this RDMParamVOListVersionModelVersionCheckoutAndUpdateDTOVersionModel. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOListVersionModelVersionCheckoutAndUpdateDTOVersionModel. :rtype: str @@ -63,7 +63,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOListVersionModelVersionCheckoutAndUpdateDTOVersionModel. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOListVersionModelVersionCheckoutAndUpdateDTOVersionModel. :type application_id: str @@ -74,7 +74,7 @@ def application_id(self, application_id): def params(self): """Gets the params of this RDMParamVOListVersionModelVersionCheckoutAndUpdateDTOVersionModel. - 参数对象。 + **参数解释:** 请求参数对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The params of this RDMParamVOListVersionModelVersionCheckoutAndUpdateDTOVersionModel. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelVersionCheckoutAndUpdateDTOVersionModel`] @@ -85,7 +85,7 @@ def params(self): def params(self, params): """Sets the params of this RDMParamVOListVersionModelVersionCheckoutAndUpdateDTOVersionModel. - 参数对象。 + **参数解释:** 请求参数对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param params: The params of this RDMParamVOListVersionModelVersionCheckoutAndUpdateDTOVersionModel. :type params: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelVersionCheckoutAndUpdateDTOVersionModel`] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_version_model_version_revise_and_update_dto_version_model.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_version_model_version_revise_and_update_dto_version_model.py index 57ac3b0dc3..4e7bcfb1be 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_version_model_version_revise_and_update_dto_version_model.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_version_model_version_revise_and_update_dto_version_model.py @@ -31,9 +31,9 @@ def __init__(self, application_id=None, params=None): The model defined in huaweicloud sdk - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str - :param params: 参数对象。 + :param params: **参数解释:** 请求参数对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type params: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelVersionReviseAndUpdateDTOVersionModel`] """ @@ -52,7 +52,7 @@ def __init__(self, application_id=None, params=None): def application_id(self): """Gets the application_id of this RDMParamVOListVersionModelVersionReviseAndUpdateDTOVersionModel. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOListVersionModelVersionReviseAndUpdateDTOVersionModel. :rtype: str @@ -63,7 +63,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOListVersionModelVersionReviseAndUpdateDTOVersionModel. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOListVersionModelVersionReviseAndUpdateDTOVersionModel. :type application_id: str @@ -74,7 +74,7 @@ def application_id(self, application_id): def params(self): """Gets the params of this RDMParamVOListVersionModelVersionReviseAndUpdateDTOVersionModel. - 参数对象。 + **参数解释:** 请求参数对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The params of this RDMParamVOListVersionModelVersionReviseAndUpdateDTOVersionModel. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelVersionReviseAndUpdateDTOVersionModel`] @@ -85,7 +85,7 @@ def params(self): def params(self, params): """Sets the params of this RDMParamVOListVersionModelVersionReviseAndUpdateDTOVersionModel. - 参数对象。 + **参数解释:** 请求参数对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param params: The params of this RDMParamVOListVersionModelVersionReviseAndUpdateDTOVersionModel. :type params: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelVersionReviseAndUpdateDTOVersionModel`] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_version_model_version_revise_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_version_model_version_revise_dto.py index a3f5feb4f8..b4a4a2e9bc 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_version_model_version_revise_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_version_model_version_revise_dto.py @@ -31,9 +31,9 @@ def __init__(self, application_id=None, params=None): The model defined in huaweicloud sdk - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str - :param params: 参数对象。 + :param params: **参数解释:** 请求参数对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type params: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelVersionReviseDTO`] """ @@ -52,7 +52,7 @@ def __init__(self, application_id=None, params=None): def application_id(self): """Gets the application_id of this RDMParamVOListVersionModelVersionReviseDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOListVersionModelVersionReviseDTO. :rtype: str @@ -63,7 +63,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOListVersionModelVersionReviseDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOListVersionModelVersionReviseDTO. :type application_id: str @@ -74,7 +74,7 @@ def application_id(self, application_id): def params(self): """Gets the params of this RDMParamVOListVersionModelVersionReviseDTO. - 参数对象。 + **参数解释:** 请求参数对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The params of this RDMParamVOListVersionModelVersionReviseDTO. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelVersionReviseDTO`] @@ -85,7 +85,7 @@ def params(self): def params(self, params): """Sets the params of this RDMParamVOListVersionModelVersionReviseDTO. - 参数对象。 + **参数解释:** 请求参数对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param params: The params of this RDMParamVOListVersionModelVersionReviseDTO. :type params: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelVersionReviseDTO`] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_version_model_version_undo_check_out_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_version_model_version_undo_check_out_dto.py index 13e1ef9617..b5210cbd2a 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_version_model_version_undo_check_out_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_version_model_version_undo_check_out_dto.py @@ -31,9 +31,9 @@ def __init__(self, application_id=None, params=None): The model defined in huaweicloud sdk - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str - :param params: 参数对象。 + :param params: **参数解释:** 请求参数对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type params: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelVersionUndoCheckOutDTO`] """ @@ -52,7 +52,7 @@ def __init__(self, application_id=None, params=None): def application_id(self): """Gets the application_id of this RDMParamVOListVersionModelVersionUndoCheckOutDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOListVersionModelVersionUndoCheckOutDTO. :rtype: str @@ -63,7 +63,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOListVersionModelVersionUndoCheckOutDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOListVersionModelVersionUndoCheckOutDTO. :type application_id: str @@ -74,7 +74,7 @@ def application_id(self, application_id): def params(self): """Gets the params of this RDMParamVOListVersionModelVersionUndoCheckOutDTO. - 参数对象。 + **参数解释:** 请求参数对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The params of this RDMParamVOListVersionModelVersionUndoCheckOutDTO. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelVersionUndoCheckOutDTO`] @@ -85,7 +85,7 @@ def params(self): def params(self, params): """Sets the params of this RDMParamVOListVersionModelVersionUndoCheckOutDTO. - 参数对象。 + **参数解释:** 请求参数对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param params: The params of this RDMParamVOListVersionModelVersionUndoCheckOutDTO. :type params: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelVersionUndoCheckOutDTO`] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_version_model_version_update_and_checkin_dto_version_model.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_version_model_version_update_and_checkin_dto_version_model.py index 0bcdf452c5..2bf518c2be 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_version_model_version_update_and_checkin_dto_version_model.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_version_model_version_update_and_checkin_dto_version_model.py @@ -31,9 +31,9 @@ def __init__(self, application_id=None, params=None): The model defined in huaweicloud sdk - :param application_id: 应用ID。 + :param application_id: ``` **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str - :param params: 参数对象。 + :param params: **参数解释:** 请求参数对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type params: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelVersionUpdateAndCheckinDTOVersionModel`] """ @@ -52,7 +52,7 @@ def __init__(self, application_id=None, params=None): def application_id(self): """Gets the application_id of this RDMParamVOListVersionModelVersionUpdateAndCheckinDTOVersionModel. - 应用ID。 + ``` **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOListVersionModelVersionUpdateAndCheckinDTOVersionModel. :rtype: str @@ -63,7 +63,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOListVersionModelVersionUpdateAndCheckinDTOVersionModel. - 应用ID。 + ``` **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOListVersionModelVersionUpdateAndCheckinDTOVersionModel. :type application_id: str @@ -74,7 +74,7 @@ def application_id(self, application_id): def params(self): """Gets the params of this RDMParamVOListVersionModelVersionUpdateAndCheckinDTOVersionModel. - 参数对象。 + **参数解释:** 请求参数对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The params of this RDMParamVOListVersionModelVersionUpdateAndCheckinDTOVersionModel. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelVersionUpdateAndCheckinDTOVersionModel`] @@ -85,7 +85,7 @@ def params(self): def params(self, params): """Sets the params of this RDMParamVOListVersionModelVersionUpdateAndCheckinDTOVersionModel. - 参数对象。 + **参数解释:** 请求参数对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param params: The params of this RDMParamVOListVersionModelVersionUpdateAndCheckinDTOVersionModel. :type params: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelVersionUpdateAndCheckinDTOVersionModel`] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_version_model_version_update_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_version_model_version_update_dto.py index c9e83904fb..8689825f7b 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_version_model_version_update_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_list_version_model_version_update_dto.py @@ -31,9 +31,9 @@ def __init__(self, application_id=None, params=None): The model defined in huaweicloud sdk - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str - :param params: 参数对象。 + :param params: **参数解释:** 请求参数对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type params: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelVersionUpdateDTO`] """ @@ -52,7 +52,7 @@ def __init__(self, application_id=None, params=None): def application_id(self): """Gets the application_id of this RDMParamVOListVersionModelVersionUpdateDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOListVersionModelVersionUpdateDTO. :rtype: str @@ -63,7 +63,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOListVersionModelVersionUpdateDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOListVersionModelVersionUpdateDTO. :type application_id: str @@ -74,7 +74,7 @@ def application_id(self, application_id): def params(self): """Gets the params of this RDMParamVOListVersionModelVersionUpdateDTO. - 参数对象。 + **参数解释:** 请求参数对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The params of this RDMParamVOListVersionModelVersionUpdateDTO. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelVersionUpdateDTO`] @@ -85,7 +85,7 @@ def params(self): def params(self, params): """Sets the params of this RDMParamVOListVersionModelVersionUpdateDTO. - 参数对象。 + **参数解释:** 请求参数对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param params: The params of this RDMParamVOListVersionModelVersionUpdateDTO. :type params: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelVersionUpdateDTO`] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_mong_page_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_mong_page_request.py index cf6e9803dd..364ce59ec2 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_mong_page_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_mong_page_request.py @@ -31,7 +31,7 @@ def __init__(self, application_id=None, params=None): The model defined in huaweicloud sdk - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str :param params: :type params: :class:`huaweicloudsdkidmeclassicapi.v1.MongPageRequest` @@ -52,7 +52,7 @@ def __init__(self, application_id=None, params=None): def application_id(self): """Gets the application_id of this RDMParamVOMongPageRequest. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOMongPageRequest. :rtype: str @@ -63,7 +63,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOMongPageRequest. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOMongPageRequest. :type application_id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_multi_view_model_version_view_create_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_multi_view_model_version_view_create_dto.py index 90dddd8804..e472800e49 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_multi_view_model_version_view_create_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_multi_view_model_version_view_create_dto.py @@ -33,7 +33,7 @@ def __init__(self, params=None, application_id=None): :param params: :type params: :class:`huaweicloudsdkidmeclassicapi.v1.MultiViewModelVersionViewCreateDTO` - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str """ @@ -70,7 +70,7 @@ def params(self, params): def application_id(self): """Gets the application_id of this RDMParamVOMultiViewModelVersionViewCreateDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOMultiViewModelVersionViewCreateDTO. :rtype: str @@ -81,7 +81,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOMultiViewModelVersionViewCreateDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOMultiViewModelVersionViewCreateDTO. :type application_id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_persist_object_id_decrypt_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_persist_object_id_decrypt_dto.py index 6b20902770..5278263069 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_persist_object_id_decrypt_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_persist_object_id_decrypt_dto.py @@ -31,7 +31,7 @@ def __init__(self, application_id=None, params=None): The model defined in huaweicloud sdk - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str :param params: :type params: :class:`huaweicloudsdkidmeclassicapi.v1.PersistObjectIdDecryptDTO` @@ -52,7 +52,7 @@ def __init__(self, application_id=None, params=None): def application_id(self): """Gets the application_id of this RDMParamVOPersistObjectIdDecryptDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOPersistObjectIdDecryptDTO. :rtype: str @@ -63,7 +63,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOPersistObjectIdDecryptDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOPersistObjectIdDecryptDTO. :type application_id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_persist_object_id_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_persist_object_id_dto.py index a2060b00f6..0361f240e6 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_persist_object_id_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_persist_object_id_dto.py @@ -31,7 +31,7 @@ def __init__(self, application_id=None, params=None): The model defined in huaweicloud sdk - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str :param params: :type params: :class:`huaweicloudsdkidmeclassicapi.v1.PersistObjectIdDTO` @@ -52,7 +52,7 @@ def __init__(self, application_id=None, params=None): def application_id(self): """Gets the application_id of this RDMParamVOPersistObjectIdDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOPersistObjectIdDTO. :rtype: str @@ -63,7 +63,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOPersistObjectIdDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOPersistObjectIdDTO. :type application_id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_persist_object_id_modifier_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_persist_object_id_modifier_dto.py index ded3ebe532..6b0bb292b2 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_persist_object_id_modifier_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_persist_object_id_modifier_dto.py @@ -31,7 +31,7 @@ def __init__(self, application_id=None, params=None): The model defined in huaweicloud sdk - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str :param params: :type params: :class:`huaweicloudsdkidmeclassicapi.v1.PersistObjectIdModifierDTO` @@ -52,7 +52,7 @@ def __init__(self, application_id=None, params=None): def application_id(self): """Gets the application_id of this RDMParamVOPersistObjectIdModifierDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOPersistObjectIdModifierDTO. :rtype: str @@ -63,7 +63,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOPersistObjectIdModifierDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOPersistObjectIdModifierDTO. :type application_id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_persist_object_ids_decrypt_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_persist_object_ids_decrypt_dto.py index 9345221f2f..3b6c238fb8 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_persist_object_ids_decrypt_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_persist_object_ids_decrypt_dto.py @@ -31,7 +31,7 @@ def __init__(self, application_id=None, params=None): The model defined in huaweicloud sdk - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str :param params: :type params: :class:`huaweicloudsdkidmeclassicapi.v1.PersistObjectIdsDecryptDTO` @@ -52,7 +52,7 @@ def __init__(self, application_id=None, params=None): def application_id(self): """Gets the application_id of this RDMParamVOPersistObjectIdsDecryptDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOPersistObjectIdsDecryptDTO. :rtype: str @@ -63,7 +63,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOPersistObjectIdsDecryptDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOPersistObjectIdsDecryptDTO. :type application_id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_persist_object_ids_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_persist_object_ids_dto.py index 233bdaa238..043131389e 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_persist_object_ids_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_persist_object_ids_dto.py @@ -31,7 +31,7 @@ def __init__(self, application_id=None, params=None): The model defined in huaweicloud sdk - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str :param params: :type params: :class:`huaweicloudsdkidmeclassicapi.v1.PersistObjectIdsDTO` @@ -52,7 +52,7 @@ def __init__(self, application_id=None, params=None): def application_id(self): """Gets the application_id of this RDMParamVOPersistObjectIdsDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOPersistObjectIdsDTO. :rtype: str @@ -63,7 +63,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOPersistObjectIdsDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOPersistObjectIdsDTO. :type application_id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_persist_object_ids_modifier_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_persist_object_ids_modifier_dto.py index a4be0efdb3..4f6b738c53 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_persist_object_ids_modifier_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_persist_object_ids_modifier_dto.py @@ -31,7 +31,7 @@ def __init__(self, application_id=None, params=None): The model defined in huaweicloud sdk - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str :param params: :type params: :class:`huaweicloudsdkidmeclassicapi.v1.PersistObjectIdsModifierDTO` @@ -52,7 +52,7 @@ def __init__(self, application_id=None, params=None): def application_id(self): """Gets the application_id of this RDMParamVOPersistObjectIdsModifierDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOPersistObjectIdsModifierDTO. :rtype: str @@ -63,7 +63,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOPersistObjectIdsModifierDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOPersistObjectIdsModifierDTO. :type application_id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_persistable_model_create_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_persistable_model_create_dto.py index bdeb4c4815..0b811d82c8 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_persistable_model_create_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_persistable_model_create_dto.py @@ -33,7 +33,7 @@ def __init__(self, params=None, application_id=None): :param params: :type params: :class:`huaweicloudsdkidmeclassicapi.v1.PersistableModelCreateDTO` - :param application_id: 应用ID。 + :param application_id: **参数解释:** 应用ID。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type application_id: str """ @@ -70,7 +70,7 @@ def params(self, params): def application_id(self): """Gets the application_id of this RDMParamVOPersistableModelCreateDTO. - 应用ID。 + **参数解释:** 应用ID。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The application_id of this RDMParamVOPersistableModelCreateDTO. :rtype: str @@ -81,7 +81,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOPersistableModelCreateDTO. - 应用ID。 + **参数解释:** 应用ID。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param application_id: The application_id of this RDMParamVOPersistableModelCreateDTO. :type application_id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_persistable_model_save_as_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_persistable_model_save_as_dto.py index 302928d68c..92a5ef4185 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_persistable_model_save_as_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_persistable_model_save_as_dto.py @@ -33,7 +33,7 @@ def __init__(self, params=None, application_id=None): :param params: :type params: :class:`huaweicloudsdkidmeclassicapi.v1.PersistableModelSaveAsDTO` - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str """ @@ -70,7 +70,7 @@ def params(self, params): def application_id(self): """Gets the application_id of this RDMParamVOPersistableModelSaveAsDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOPersistableModelSaveAsDTO. :rtype: str @@ -81,7 +81,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOPersistableModelSaveAsDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOPersistableModelSaveAsDTO. :type application_id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_persistable_model_unique_key_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_persistable_model_unique_key_dto.py index 5bca64b3bb..2fc5216c6d 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_persistable_model_unique_key_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_persistable_model_unique_key_dto.py @@ -31,7 +31,7 @@ def __init__(self, application_id=None, params=None): The model defined in huaweicloud sdk - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str :param params: :type params: :class:`huaweicloudsdkidmeclassicapi.v1.PersistableModelUniqueKeyDTO` @@ -52,7 +52,7 @@ def __init__(self, application_id=None, params=None): def application_id(self): """Gets the application_id of this RDMParamVOPersistableModelUniqueKeyDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOPersistableModelUniqueKeyDTO. :rtype: str @@ -63,7 +63,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOPersistableModelUniqueKeyDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOPersistableModelUniqueKeyDTO. :type application_id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_persistable_model_update_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_persistable_model_update_dto.py index fd0b43faee..ed40b945b3 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_persistable_model_update_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_persistable_model_update_dto.py @@ -31,7 +31,7 @@ def __init__(self, application_id=None, params=None): The model defined in huaweicloud sdk - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str :param params: :type params: :class:`huaweicloudsdkidmeclassicapi.v1.PersistableModelUpdateDTO` @@ -52,7 +52,7 @@ def __init__(self, application_id=None, params=None): def application_id(self): """Gets the application_id of this RDMParamVOPersistableModelUpdateDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOPersistableModelUpdateDTO. :rtype: str @@ -63,7 +63,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOPersistableModelUpdateDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOPersistableModelUpdateDTO. :type application_id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_query_child_list_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_query_child_list_dto.py index 7a4fdbe356..2194284147 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_query_child_list_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_query_child_list_dto.py @@ -31,7 +31,7 @@ def __init__(self, application_id=None, params=None): The model defined in huaweicloud sdk - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str :param params: :type params: :class:`huaweicloudsdkidmeclassicapi.v1.QueryChildListDTO` @@ -52,7 +52,7 @@ def __init__(self, application_id=None, params=None): def application_id(self): """Gets the application_id of this RDMParamVOQueryChildListDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOQueryChildListDTO. :rtype: str @@ -63,7 +63,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOQueryChildListDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOQueryChildListDTO. :type application_id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_query_parent_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_query_parent_dto.py index e8a166189d..241be66ec6 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_query_parent_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_query_parent_dto.py @@ -31,7 +31,7 @@ def __init__(self, application_id=None, params=None): The model defined in huaweicloud sdk - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str :param params: :type params: :class:`huaweicloudsdkidmeclassicapi.v1.QueryParentDTO` @@ -52,7 +52,7 @@ def __init__(self, application_id=None, params=None): def application_id(self): """Gets the application_id of this RDMParamVOQueryParentDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOQueryParentDTO. :rtype: str @@ -63,7 +63,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOQueryParentDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOQueryParentDTO. :type application_id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_query_request_count_vo.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_query_request_count_vo.py index a10abcf807..9fb6bb5955 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_query_request_count_vo.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_query_request_count_vo.py @@ -31,7 +31,7 @@ def __init__(self, application_id=None, params=None): The model defined in huaweicloud sdk - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str :param params: :type params: :class:`huaweicloudsdkidmeclassicapi.v1.QueryRequestCountVo` @@ -52,7 +52,7 @@ def __init__(self, application_id=None, params=None): def application_id(self): """Gets the application_id of this RDMParamVOQueryRequestCountVo. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOQueryRequestCountVo. :rtype: str @@ -63,7 +63,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOQueryRequestCountVo. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOQueryRequestCountVo. :type application_id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_query_request_selected_vo.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_query_request_selected_vo.py index 7a0bbb223f..437a3ea785 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_query_request_selected_vo.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_query_request_selected_vo.py @@ -31,7 +31,7 @@ def __init__(self, application_id=None, params=None): The model defined in huaweicloud sdk - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str :param params: :type params: :class:`huaweicloudsdkidmeclassicapi.v1.QueryRequestSelectedVo` @@ -52,7 +52,7 @@ def __init__(self, application_id=None, params=None): def application_id(self): """Gets the application_id of this RDMParamVOQueryRequestSelectedVo. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOQueryRequestSelectedVo. :rtype: str @@ -63,7 +63,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOQueryRequestSelectedVo. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOQueryRequestSelectedVo. :type application_id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_query_request_statics_vo.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_query_request_statics_vo.py index 069d478122..ac6f9d703b 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_query_request_statics_vo.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_query_request_statics_vo.py @@ -31,7 +31,7 @@ def __init__(self, application_id=None, params=None): The model defined in huaweicloud sdk - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str :param params: :type params: :class:`huaweicloudsdkidmeclassicapi.v1.QueryRequestStaticsVo` @@ -52,7 +52,7 @@ def __init__(self, application_id=None, params=None): def application_id(self): """Gets the application_id of this RDMParamVOQueryRequestStaticsVo. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOQueryRequestStaticsVo. :rtype: str @@ -63,7 +63,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOQueryRequestStaticsVo. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOQueryRequestStaticsVo. :type application_id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_query_request_vo.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_query_request_vo.py index 37e4732ee7..88e5ed77d6 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_query_request_vo.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_query_request_vo.py @@ -31,7 +31,7 @@ def __init__(self, application_id=None, params=None): The model defined in huaweicloud sdk - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str :param params: :type params: :class:`huaweicloudsdkidmeclassicapi.v1.QueryRequestVo` @@ -52,7 +52,7 @@ def __init__(self, application_id=None, params=None): def application_id(self): """Gets the application_id of this RDMParamVOQueryRequestVo. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOQueryRequestVo. :rtype: str @@ -63,7 +63,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOQueryRequestVo. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOQueryRequestVo. :type application_id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_statistics_pvo.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_statistics_pvo.py index 9bb894c7d3..c10ed56b72 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_statistics_pvo.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_statistics_pvo.py @@ -31,7 +31,7 @@ def __init__(self, application_id=None, params=None): The model defined in huaweicloud sdk - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str :param params: :type params: :class:`huaweicloudsdkidmeclassicapi.v1.StatisticsPVO` @@ -52,7 +52,7 @@ def __init__(self, application_id=None, params=None): def application_id(self): """Gets the application_id of this RDMParamVOStatisticsPVO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOStatisticsPVO. :rtype: str @@ -63,7 +63,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOStatisticsPVO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOStatisticsPVO. :type application_id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_tag_operation_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_tag_operation_dto.py index bee7ba9da0..9d95307108 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_tag_operation_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_tag_operation_dto.py @@ -31,7 +31,7 @@ def __init__(self, application_id=None, params=None): The model defined in huaweicloud sdk - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str :param params: :type params: :class:`huaweicloudsdkidmeclassicapi.v1.TagOperationDTO` @@ -52,7 +52,7 @@ def __init__(self, application_id=None, params=None): def application_id(self): """Gets the application_id of this RDMParamVOTagOperationDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOTagOperationDTO. :rtype: str @@ -63,7 +63,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOTagOperationDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOTagOperationDTO. :type application_id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_update_by_condition_vo_persistable_model_update_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_update_by_condition_vo_persistable_model_update_dto.py index f986b067ce..c9dea7f040 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_update_by_condition_vo_persistable_model_update_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_update_by_condition_vo_persistable_model_update_dto.py @@ -31,7 +31,7 @@ def __init__(self, application_id=None, params=None): The model defined in huaweicloud sdk - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str :param params: :type params: :class:`huaweicloudsdkidmeclassicapi.v1.UpdateByConditionVoPersistableModelUpdateDTO` @@ -52,7 +52,7 @@ def __init__(self, application_id=None, params=None): def application_id(self): """Gets the application_id of this RDMParamVOUpdateByConditionVoPersistableModelUpdateDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOUpdateByConditionVoPersistableModelUpdateDTO. :rtype: str @@ -63,7 +63,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOUpdateByConditionVoPersistableModelUpdateDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOUpdateByConditionVoPersistableModelUpdateDTO. :type application_id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_master_ids_dto_version_model_version_master_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_master_ids_dto_version_model_version_master_dto.py index aac72fcea8..b78e66ad71 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_master_ids_dto_version_model_version_master_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_master_ids_dto_version_model_version_master_dto.py @@ -31,7 +31,7 @@ def __init__(self, application_id=None, params=None): The model defined in huaweicloud sdk - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str :param params: :type params: :class:`huaweicloudsdkidmeclassicapi.v1.VersionMasterIdsDtoVersionModelVersionMasterDTO` @@ -52,7 +52,7 @@ def __init__(self, application_id=None, params=None): def application_id(self): """Gets the application_id of this RDMParamVOVersionMasterIdsDtoVersionModelVersionMasterDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOVersionMasterIdsDtoVersionModelVersionMasterDTO. :rtype: str @@ -63,7 +63,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOVersionMasterIdsDtoVersionModelVersionMasterDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOVersionMasterIdsDtoVersionModelVersionMasterDTO. :type application_id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_model.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_model.py index 5b6d5cdda0..dda08ec0c4 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_model.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_model.py @@ -31,7 +31,7 @@ def __init__(self, application_id=None, params=None): The model defined in huaweicloud sdk - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str :param params: :type params: :class:`huaweicloudsdkidmeclassicapi.v1.VersionModel` @@ -52,7 +52,7 @@ def __init__(self, application_id=None, params=None): def application_id(self): """Gets the application_id of this RDMParamVOVersionModel. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOVersionModel. :rtype: str @@ -63,7 +63,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOVersionModel. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOVersionModel. :type application_id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_model_compare_version_vo.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_model_compare_version_vo.py index 820e09184c..b0bd1d5c41 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_model_compare_version_vo.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_model_compare_version_vo.py @@ -31,7 +31,7 @@ def __init__(self, application_id=None, params=None): The model defined in huaweicloud sdk - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str :param params: :type params: :class:`huaweicloudsdkidmeclassicapi.v1.VersionModelCompareVersionVO` @@ -52,7 +52,7 @@ def __init__(self, application_id=None, params=None): def application_id(self): """Gets the application_id of this RDMParamVOVersionModelCompareVersionVO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOVersionModelCompareVersionVO. :rtype: str @@ -63,7 +63,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOVersionModelCompareVersionVO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOVersionModelCompareVersionVO. :type application_id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_model_version_check_in_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_model_version_check_in_dto.py index 098db278d0..8ffa34ddeb 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_model_version_check_in_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_model_version_check_in_dto.py @@ -31,7 +31,7 @@ def __init__(self, application_id=None, params=None): The model defined in huaweicloud sdk - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str :param params: :type params: :class:`huaweicloudsdkidmeclassicapi.v1.VersionModelVersionCheckInDTO` @@ -52,7 +52,7 @@ def __init__(self, application_id=None, params=None): def application_id(self): """Gets the application_id of this RDMParamVOVersionModelVersionCheckInDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOVersionModelVersionCheckInDTO. :rtype: str @@ -63,7 +63,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOVersionModelVersionCheckInDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOVersionModelVersionCheckInDTO. :type application_id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_model_version_check_out_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_model_version_check_out_dto.py index 8d89c19f70..890e073a73 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_model_version_check_out_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_model_version_check_out_dto.py @@ -31,7 +31,7 @@ def __init__(self, application_id=None, params=None): The model defined in huaweicloud sdk - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str :param params: :type params: :class:`huaweicloudsdkidmeclassicapi.v1.VersionModelVersionCheckOutDTO` @@ -52,7 +52,7 @@ def __init__(self, application_id=None, params=None): def application_id(self): """Gets the application_id of this RDMParamVOVersionModelVersionCheckOutDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOVersionModelVersionCheckOutDTO. :rtype: str @@ -63,7 +63,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOVersionModelVersionCheckOutDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOVersionModelVersionCheckOutDTO. :type application_id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_model_version_checkout_and_update_dto_version_model.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_model_version_checkout_and_update_dto_version_model.py index a77a2f6a80..3fc9a6aa27 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_model_version_checkout_and_update_dto_version_model.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_model_version_checkout_and_update_dto_version_model.py @@ -31,7 +31,7 @@ def __init__(self, application_id=None, params=None): The model defined in huaweicloud sdk - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str :param params: :type params: :class:`huaweicloudsdkidmeclassicapi.v1.VersionModelVersionCheckoutAndUpdateDTOVersionModel` @@ -52,7 +52,7 @@ def __init__(self, application_id=None, params=None): def application_id(self): """Gets the application_id of this RDMParamVOVersionModelVersionCheckoutAndUpdateDTOVersionModel. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOVersionModelVersionCheckoutAndUpdateDTOVersionModel. :rtype: str @@ -63,7 +63,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOVersionModelVersionCheckoutAndUpdateDTOVersionModel. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOVersionModelVersionCheckoutAndUpdateDTOVersionModel. :type application_id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_model_version_master_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_model_version_master_dto.py index 0b43dcb2e8..3a721bd427 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_model_version_master_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_model_version_master_dto.py @@ -31,7 +31,7 @@ def __init__(self, application_id=None, params=None): The model defined in huaweicloud sdk - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str :param params: :type params: :class:`huaweicloudsdkidmeclassicapi.v1.VersionModelVersionMasterDTO` @@ -52,7 +52,7 @@ def __init__(self, application_id=None, params=None): def application_id(self): """Gets the application_id of this RDMParamVOVersionModelVersionMasterDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOVersionModelVersionMasterDTO. :rtype: str @@ -63,7 +63,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOVersionModelVersionMasterDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOVersionModelVersionMasterDTO. :type application_id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_model_version_master_modifier_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_model_version_master_modifier_dto.py index 74b6fafe75..a311cf00d3 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_model_version_master_modifier_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_model_version_master_modifier_dto.py @@ -31,7 +31,7 @@ def __init__(self, application_id=None, params=None): The model defined in huaweicloud sdk - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str :param params: :type params: :class:`huaweicloudsdkidmeclassicapi.v1.VersionModelVersionMasterModifierDTO` @@ -52,7 +52,7 @@ def __init__(self, application_id=None, params=None): def application_id(self): """Gets the application_id of this RDMParamVOVersionModelVersionMasterModifierDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOVersionModelVersionMasterModifierDTO. :rtype: str @@ -63,7 +63,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOVersionModelVersionMasterModifierDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOVersionModelVersionMasterModifierDTO. :type application_id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_model_version_master_query_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_model_version_master_query_dto.py index 0327581cb9..e4f12d9c14 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_model_version_master_query_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_model_version_master_query_dto.py @@ -31,7 +31,7 @@ def __init__(self, application_id=None, params=None): The model defined in huaweicloud sdk - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str :param params: :type params: :class:`huaweicloudsdkidmeclassicapi.v1.VersionModelVersionMasterQueryDTO` @@ -52,7 +52,7 @@ def __init__(self, application_id=None, params=None): def application_id(self): """Gets the application_id of this RDMParamVOVersionModelVersionMasterQueryDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOVersionModelVersionMasterQueryDTO. :rtype: str @@ -63,7 +63,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOVersionModelVersionMasterQueryDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOVersionModelVersionMasterQueryDTO. :type application_id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_model_version_revise_and_update_dto_version_model.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_model_version_revise_and_update_dto_version_model.py index 8b84b70324..d5126acfe3 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_model_version_revise_and_update_dto_version_model.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_model_version_revise_and_update_dto_version_model.py @@ -31,7 +31,7 @@ def __init__(self, application_id=None, params=None): The model defined in huaweicloud sdk - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str :param params: :type params: :class:`huaweicloudsdkidmeclassicapi.v1.VersionModelVersionReviseAndUpdateDTOVersionModel` @@ -52,7 +52,7 @@ def __init__(self, application_id=None, params=None): def application_id(self): """Gets the application_id of this RDMParamVOVersionModelVersionReviseAndUpdateDTOVersionModel. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOVersionModelVersionReviseAndUpdateDTOVersionModel. :rtype: str @@ -63,7 +63,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOVersionModelVersionReviseAndUpdateDTOVersionModel. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOVersionModelVersionReviseAndUpdateDTOVersionModel. :type application_id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_model_version_revise_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_model_version_revise_dto.py index c183d5cc94..2e36458f79 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_model_version_revise_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_model_version_revise_dto.py @@ -31,7 +31,7 @@ def __init__(self, application_id=None, params=None): The model defined in huaweicloud sdk - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str :param params: :type params: :class:`huaweicloudsdkidmeclassicapi.v1.VersionModelVersionReviseDTO` @@ -52,7 +52,7 @@ def __init__(self, application_id=None, params=None): def application_id(self): """Gets the application_id of this RDMParamVOVersionModelVersionReviseDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOVersionModelVersionReviseDTO. :rtype: str @@ -63,7 +63,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOVersionModelVersionReviseDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOVersionModelVersionReviseDTO. :type application_id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_model_version_undo_check_out_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_model_version_undo_check_out_dto.py index 2249dd4a06..54e01aafab 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_model_version_undo_check_out_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_model_version_undo_check_out_dto.py @@ -31,7 +31,7 @@ def __init__(self, application_id=None, params=None): The model defined in huaweicloud sdk - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str :param params: :type params: :class:`huaweicloudsdkidmeclassicapi.v1.VersionModelVersionUndoCheckOutDTO` @@ -52,7 +52,7 @@ def __init__(self, application_id=None, params=None): def application_id(self): """Gets the application_id of this RDMParamVOVersionModelVersionUndoCheckOutDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOVersionModelVersionUndoCheckOutDTO. :rtype: str @@ -63,7 +63,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOVersionModelVersionUndoCheckOutDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOVersionModelVersionUndoCheckOutDTO. :type application_id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_model_version_update_and_checkin_dto_version_model.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_model_version_update_and_checkin_dto_version_model.py index d1e07bc287..cebd62cc11 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_model_version_update_and_checkin_dto_version_model.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_model_version_update_and_checkin_dto_version_model.py @@ -31,7 +31,7 @@ def __init__(self, application_id=None, params=None): The model defined in huaweicloud sdk - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str :param params: :type params: :class:`huaweicloudsdkidmeclassicapi.v1.VersionModelVersionUpdateAndCheckinDTOVersionModel` @@ -52,7 +52,7 @@ def __init__(self, application_id=None, params=None): def application_id(self): """Gets the application_id of this RDMParamVOVersionModelVersionUpdateAndCheckinDTOVersionModel. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOVersionModelVersionUpdateAndCheckinDTOVersionModel. :rtype: str @@ -63,7 +63,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOVersionModelVersionUpdateAndCheckinDTOVersionModel. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOVersionModelVersionUpdateAndCheckinDTOVersionModel. :type application_id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_update_view_dto_multi_view_model_view_update_attr_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_update_view_dto_multi_view_model_view_update_attr_dto.py index 10f1e0b0b2..eff9c6397a 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_update_view_dto_multi_view_model_view_update_attr_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/rdm_param_vo_version_update_view_dto_multi_view_model_view_update_attr_dto.py @@ -33,7 +33,7 @@ def __init__(self, params=None, application_id=None): :param params: :type params: :class:`huaweicloudsdkidmeclassicapi.v1.VersionUpdateViewDTOMultiViewModelViewUpdateAttrDTO` - :param application_id: 应用ID。 + :param application_id: **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :type application_id: str """ @@ -70,7 +70,7 @@ def params(self, params): def application_id(self): """Gets the application_id of this RDMParamVOVersionUpdateViewDTOMultiViewModelViewUpdateAttrDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :return: The application_id of this RDMParamVOVersionUpdateViewDTOMultiViewModelViewUpdateAttrDTO. :rtype: str @@ -81,7 +81,7 @@ def application_id(self): def application_id(self, application_id): """Sets the application_id of this RDMParamVOVersionUpdateViewDTOMultiViewModelViewUpdateAttrDTO. - 应用ID。 + **参数解释**: 应用ID。 **约束限制**: 不涉及。 **取值范围**: 由英文字母和数字组成,且长度为32个字符。 **默认取值**: 不涉及。 :param application_id: The application_id of this RDMParamVOVersionUpdateViewDTOMultiViewModelViewUpdateAttrDTO. :type application_id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/refresh_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/refresh_request.py index 4a9d4bdfda..d7266220ad 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/refresh_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/refresh_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the RefreshRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOPersistObjectIdsDTO` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this RefreshRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this RefreshRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this RefreshRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this RefreshRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this RefreshRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this RefreshRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this RefreshRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this RefreshRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/refresh_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/refresh_response.py index cbe656e451..f06e410b3b 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/refresh_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/refresh_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[object] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this RefreshResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this RefreshResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this RefreshResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this RefreshResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this RefreshResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this RefreshResponse. :rtype: list[object] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this RefreshResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this RefreshResponse. :type data: list[object] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this RefreshResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this RefreshResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this RefreshResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this RefreshResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/related_object_view_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/related_object_view_dto.py index 86871ab327..fcc4a69173 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/related_object_view_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/related_object_view_dto.py @@ -33,11 +33,11 @@ def __init__(self, object_id=None, related_list=None, related_entity_list=None): The model defined in huaweicloud sdk - :param object_id: 数据实例ID。 + :param object_id: **参数解释:** 数据实例ID。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type object_id: str - :param related_list: 关联的数据传输对象列表。 + :param related_list: **参数解释:** 关联的数据传输对象列表。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type related_list: list[:class:`huaweicloudsdkidmeclassicapi.v1.BasicObjectQueryViewDTO`] - :param related_entity_list: 关联的数据实体列表。 + :param related_entity_list: **参数解释:** 关联的数据实体列表。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type related_entity_list: list[:class:`huaweicloudsdkidmeclassicapi.v1.BasicObjectQueryViewDTO`] """ @@ -59,7 +59,7 @@ def __init__(self, object_id=None, related_list=None, related_entity_list=None): def object_id(self): """Gets the object_id of this RelatedObjectViewDTO. - 数据实例ID。 + **参数解释:** 数据实例ID。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The object_id of this RelatedObjectViewDTO. :rtype: str @@ -70,7 +70,7 @@ def object_id(self): def object_id(self, object_id): """Sets the object_id of this RelatedObjectViewDTO. - 数据实例ID。 + **参数解释:** 数据实例ID。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param object_id: The object_id of this RelatedObjectViewDTO. :type object_id: str @@ -81,7 +81,7 @@ def object_id(self, object_id): def related_list(self): """Gets the related_list of this RelatedObjectViewDTO. - 关联的数据传输对象列表。 + **参数解释:** 关联的数据传输对象列表。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The related_list of this RelatedObjectViewDTO. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.BasicObjectQueryViewDTO`] @@ -92,7 +92,7 @@ def related_list(self): def related_list(self, related_list): """Sets the related_list of this RelatedObjectViewDTO. - 关联的数据传输对象列表。 + **参数解释:** 关联的数据传输对象列表。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param related_list: The related_list of this RelatedObjectViewDTO. :type related_list: list[:class:`huaweicloudsdkidmeclassicapi.v1.BasicObjectQueryViewDTO`] @@ -103,7 +103,7 @@ def related_list(self, related_list): def related_entity_list(self): """Gets the related_entity_list of this RelatedObjectViewDTO. - 关联的数据实体列表。 + **参数解释:** 关联的数据实体列表。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The related_entity_list of this RelatedObjectViewDTO. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.BasicObjectQueryViewDTO`] @@ -114,7 +114,7 @@ def related_entity_list(self): def related_entity_list(self, related_entity_list): """Sets the related_entity_list of this RelatedObjectViewDTO. - 关联的数据实体列表。 + **参数解释:** 关联的数据实体列表。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param related_entity_list: The related_entity_list of this RelatedObjectViewDTO. :type related_entity_list: list[:class:`huaweicloudsdkidmeclassicapi.v1.BasicObjectQueryViewDTO`] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/relation_model_view_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/relation_model_view_dto.py index 9c062f4c74..3708e940c1 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/relation_model_view_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/relation_model_view_dto.py @@ -55,27 +55,27 @@ def __init__(self, class_name=None, create_time=None, creator=None, description= The model defined in huaweicloud sdk - :param class_name: 类名。 + :param class_name: **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type class_name: str - :param create_time: 创建时间。 + :param create_time: **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type create_time: str - :param creator: 创建者。 + :param creator: **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type creator: str - :param description: 实体描述。 + :param description: **参数解释:** 实体描述。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type description: str - :param id: 唯一标识。 + :param id: **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type id: str - :param last_update_time: 最后更新时间。 + :param last_update_time: **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type last_update_time: str - :param modifier: 修改人。 + :param modifier: **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type modifier: str - :param name: 实体姓名。 + :param name: **参数解释:** 名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type name: str - :param rdm_delete_flag: 软删除标识,参数值为0或1。 - 0:表示未删除。 - 1:表示已删除。 + :param rdm_delete_flag: **参数解释:** 软删除标识,参数值为0或1。 **取值范围:** - 0:表示未删除。 - 1:表示已删除。 **默认取值:** 不涉及。 :type rdm_delete_flag: int - :param rdm_extension_type: 扩展类型。 + :param rdm_extension_type: **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type rdm_extension_type: str - :param rdm_version: 系统版本。 + :param rdm_version: **参数解释:** 系统版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type rdm_version: int :param source: :type source: :class:`huaweicloudsdkidmeclassicapi.v1.ClassesViewDTO` @@ -136,7 +136,7 @@ def __init__(self, class_name=None, create_time=None, creator=None, description= def class_name(self): """Gets the class_name of this RelationModelViewDTO. - 类名。 + **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The class_name of this RelationModelViewDTO. :rtype: str @@ -147,7 +147,7 @@ def class_name(self): def class_name(self, class_name): """Sets the class_name of this RelationModelViewDTO. - 类名。 + **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param class_name: The class_name of this RelationModelViewDTO. :type class_name: str @@ -158,7 +158,7 @@ def class_name(self, class_name): def create_time(self): """Gets the create_time of this RelationModelViewDTO. - 创建时间。 + **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The create_time of this RelationModelViewDTO. :rtype: str @@ -169,7 +169,7 @@ def create_time(self): def create_time(self, create_time): """Sets the create_time of this RelationModelViewDTO. - 创建时间。 + **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param create_time: The create_time of this RelationModelViewDTO. :type create_time: str @@ -180,7 +180,7 @@ def create_time(self, create_time): def creator(self): """Gets the creator of this RelationModelViewDTO. - 创建者。 + **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The creator of this RelationModelViewDTO. :rtype: str @@ -191,7 +191,7 @@ def creator(self): def creator(self, creator): """Sets the creator of this RelationModelViewDTO. - 创建者。 + **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param creator: The creator of this RelationModelViewDTO. :type creator: str @@ -202,7 +202,7 @@ def creator(self, creator): def description(self): """Gets the description of this RelationModelViewDTO. - 实体描述。 + **参数解释:** 实体描述。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The description of this RelationModelViewDTO. :rtype: str @@ -213,7 +213,7 @@ def description(self): def description(self, description): """Sets the description of this RelationModelViewDTO. - 实体描述。 + **参数解释:** 实体描述。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param description: The description of this RelationModelViewDTO. :type description: str @@ -224,7 +224,7 @@ def description(self, description): def id(self): """Gets the id of this RelationModelViewDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The id of this RelationModelViewDTO. :rtype: str @@ -235,7 +235,7 @@ def id(self): def id(self, id): """Sets the id of this RelationModelViewDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param id: The id of this RelationModelViewDTO. :type id: str @@ -246,7 +246,7 @@ def id(self, id): def last_update_time(self): """Gets the last_update_time of this RelationModelViewDTO. - 最后更新时间。 + **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The last_update_time of this RelationModelViewDTO. :rtype: str @@ -257,7 +257,7 @@ def last_update_time(self): def last_update_time(self, last_update_time): """Sets the last_update_time of this RelationModelViewDTO. - 最后更新时间。 + **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param last_update_time: The last_update_time of this RelationModelViewDTO. :type last_update_time: str @@ -268,7 +268,7 @@ def last_update_time(self, last_update_time): def modifier(self): """Gets the modifier of this RelationModelViewDTO. - 修改人。 + **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The modifier of this RelationModelViewDTO. :rtype: str @@ -279,7 +279,7 @@ def modifier(self): def modifier(self, modifier): """Sets the modifier of this RelationModelViewDTO. - 修改人。 + **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param modifier: The modifier of this RelationModelViewDTO. :type modifier: str @@ -290,7 +290,7 @@ def modifier(self, modifier): def name(self): """Gets the name of this RelationModelViewDTO. - 实体姓名。 + **参数解释:** 名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The name of this RelationModelViewDTO. :rtype: str @@ -301,7 +301,7 @@ def name(self): def name(self, name): """Sets the name of this RelationModelViewDTO. - 实体姓名。 + **参数解释:** 名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param name: The name of this RelationModelViewDTO. :type name: str @@ -312,7 +312,7 @@ def name(self, name): def rdm_delete_flag(self): """Gets the rdm_delete_flag of this RelationModelViewDTO. - 软删除标识,参数值为0或1。 - 0:表示未删除。 - 1:表示已删除。 + **参数解释:** 软删除标识,参数值为0或1。 **取值范围:** - 0:表示未删除。 - 1:表示已删除。 **默认取值:** 不涉及。 :return: The rdm_delete_flag of this RelationModelViewDTO. :rtype: int @@ -323,7 +323,7 @@ def rdm_delete_flag(self): def rdm_delete_flag(self, rdm_delete_flag): """Sets the rdm_delete_flag of this RelationModelViewDTO. - 软删除标识,参数值为0或1。 - 0:表示未删除。 - 1:表示已删除。 + **参数解释:** 软删除标识,参数值为0或1。 **取值范围:** - 0:表示未删除。 - 1:表示已删除。 **默认取值:** 不涉及。 :param rdm_delete_flag: The rdm_delete_flag of this RelationModelViewDTO. :type rdm_delete_flag: int @@ -334,7 +334,7 @@ def rdm_delete_flag(self, rdm_delete_flag): def rdm_extension_type(self): """Gets the rdm_extension_type of this RelationModelViewDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The rdm_extension_type of this RelationModelViewDTO. :rtype: str @@ -345,7 +345,7 @@ def rdm_extension_type(self): def rdm_extension_type(self, rdm_extension_type): """Sets the rdm_extension_type of this RelationModelViewDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param rdm_extension_type: The rdm_extension_type of this RelationModelViewDTO. :type rdm_extension_type: str @@ -356,7 +356,7 @@ def rdm_extension_type(self, rdm_extension_type): def rdm_version(self): """Gets the rdm_version of this RelationModelViewDTO. - 系统版本。 + **参数解释:** 系统版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The rdm_version of this RelationModelViewDTO. :rtype: int @@ -367,7 +367,7 @@ def rdm_version(self): def rdm_version(self, rdm_version): """Sets the rdm_version of this RelationModelViewDTO. - 系统版本。 + **参数解释:** 系统版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param rdm_version: The rdm_version of this RelationModelViewDTO. :type rdm_version: int diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/remove_tag_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/remove_tag_request.py index 7d90b686dc..384a7e8c01 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/remove_tag_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/remove_tag_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the RemoveTagRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOTagOperationDTO` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this RemoveTagRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this RemoveTagRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this RemoveTagRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this RemoveTagRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this RemoveTagRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this RemoveTagRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this RemoveTagRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this RemoveTagRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/remove_tag_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/remove_tag_response.py index 36dff631b9..c1b386f79a 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/remove_tag_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/remove_tag_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[int] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this RemoveTagResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this RemoveTagResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this RemoveTagResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this RemoveTagResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this RemoveTagResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this RemoveTagResponse. :rtype: list[int] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this RemoveTagResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this RemoveTagResponse. :type data: list[int] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this RemoveTagResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this RemoveTagResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this RemoveTagResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this RemoveTagResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/result.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/result.py new file mode 100644 index 0000000000..f6a2a38bdb --- /dev/null +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/result.py @@ -0,0 +1,84 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class Result: + + """ + 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): + """Result + + The model defined in huaweicloud sdk + + """ + + + 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, Result): + 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-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/save_all_using_post_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/save_all_using_post_request.py index e339d870ef..15edfa1812 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/save_all_using_post_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/save_all_using_post_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the SaveAllUsingPostRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOListPersistableModelSaveAllDTO` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this SaveAllUsingPostRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this SaveAllUsingPostRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this SaveAllUsingPostRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this SaveAllUsingPostRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this SaveAllUsingPostRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this SaveAllUsingPostRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this SaveAllUsingPostRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this SaveAllUsingPostRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/save_all_using_post_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/save_all_using_post_response.py index 8a6cf18dfc..ff5b1e3126 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/save_all_using_post_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/save_all_using_post_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **约束限制:** 不涉及。 **默认取值:** 不涉及。 :type data: list[int] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this SaveAllUsingPostResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this SaveAllUsingPostResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this SaveAllUsingPostResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this SaveAllUsingPostResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this SaveAllUsingPostResponse. - 请求数据。 + **参数解释:** 请求数据。 **约束限制:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this SaveAllUsingPostResponse. :rtype: list[int] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this SaveAllUsingPostResponse. - 请求数据。 + **参数解释:** 请求数据。 **约束限制:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this SaveAllUsingPostResponse. :type data: list[int] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this SaveAllUsingPostResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this SaveAllUsingPostResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this SaveAllUsingPostResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this SaveAllUsingPostResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/save_as_using_post_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/save_as_using_post_request.py index 2d63a97fc1..291a8e9baa 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/save_as_using_post_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/save_as_using_post_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the SaveAsUsingPostRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOPersistableModelSaveAsDTO` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this SaveAsUsingPostRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this SaveAsUsingPostRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this SaveAsUsingPostRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this SaveAsUsingPostRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this SaveAsUsingPostRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this SaveAsUsingPostRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this SaveAsUsingPostRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this SaveAsUsingPostRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/save_as_using_post_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/save_as_using_post_response.py index d820629677..fa377a3862 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/save_as_using_post_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/save_as_using_post_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.PersistableModelViewDTO`] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this SaveAsUsingPostResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this SaveAsUsingPostResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this SaveAsUsingPostResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this SaveAsUsingPostResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this SaveAsUsingPostResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this SaveAsUsingPostResponse. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.PersistableModelViewDTO`] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this SaveAsUsingPostResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this SaveAsUsingPostResponse. :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.PersistableModelViewDTO`] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this SaveAsUsingPostResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this SaveAsUsingPostResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this SaveAsUsingPostResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this SaveAsUsingPostResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/save_using_post_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/save_using_post_request.py index cb935230f2..62a3f87768 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/save_using_post_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/save_using_post_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the SaveUsingPostRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOListPersistableModelSaveDTO` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this SaveUsingPostRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this SaveUsingPostRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this SaveUsingPostRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this SaveUsingPostRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this SaveUsingPostRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this SaveUsingPostRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this SaveUsingPostRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this SaveUsingPostRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/save_using_post_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/save_using_post_response.py index 5e08d2a000..89bbcc41d1 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/save_using_post_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/save_using_post_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **约束限制:** 不涉及。 **默认取值:** 不涉及。 :type data: list[int] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this SaveUsingPostResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this SaveUsingPostResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this SaveUsingPostResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this SaveUsingPostResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this SaveUsingPostResponse. - 请求数据。 + **参数解释:** 请求数据。 **约束限制:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this SaveUsingPostResponse. :rtype: list[int] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this SaveUsingPostResponse. - 请求数据。 + **参数解释:** 请求数据。 **约束限制:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this SaveUsingPostResponse. :type data: list[int] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this SaveUsingPostResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this SaveUsingPostResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this SaveUsingPostResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this SaveUsingPostResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/selected_field.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/selected_field.py index caf7e9523b..cb9cce0920 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/selected_field.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/selected_field.py @@ -31,9 +31,9 @@ def __init__(self, name=None, name_as=None): The model defined in huaweicloud sdk - :param name: 字段名称,如果是子参考对象的属性,则为“参考对象.属性名称”,例如:“master.name” + :param name: **参数解释:** 字段名称,如果是子参考对象的属性,则为“参考对象.属性名称”,例如:“master.name”。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type name: str - :param name_as: 字段别名。如果不填,默认使用name参数的值。 + :param name_as: **参数解释:** 字段别名。如果不填,默认使用name参数的值。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type name_as: str """ @@ -51,7 +51,7 @@ def __init__(self, name=None, name_as=None): def name(self): """Gets the name of this SelectedField. - 字段名称,如果是子参考对象的属性,则为“参考对象.属性名称”,例如:“master.name” + **参数解释:** 字段名称,如果是子参考对象的属性,则为“参考对象.属性名称”,例如:“master.name”。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The name of this SelectedField. :rtype: str @@ -62,7 +62,7 @@ def name(self): def name(self, name): """Sets the name of this SelectedField. - 字段名称,如果是子参考对象的属性,则为“参考对象.属性名称”,例如:“master.name” + **参数解释:** 字段名称,如果是子参考对象的属性,则为“参考对象.属性名称”,例如:“master.name”。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param name: The name of this SelectedField. :type name: str @@ -73,7 +73,7 @@ def name(self, name): def name_as(self): """Gets the name_as of this SelectedField. - 字段别名。如果不填,默认使用name参数的值。 + **参数解释:** 字段别名。如果不填,默认使用name参数的值。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The name_as of this SelectedField. :rtype: str @@ -84,7 +84,7 @@ def name_as(self): def name_as(self, name_as): """Sets the name_as of this SelectedField. - 字段别名。如果不填,默认使用name参数的值。 + **参数解释:** 字段别名。如果不填,默认使用name参数的值。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param name_as: The name_as of this SelectedField. :type name_as: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_find_using_post_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_find_using_post_request.py index f4db0d2714..59f1271088 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_find_using_post_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_find_using_post_request.py @@ -24,10 +24,10 @@ class ShowFindUsingPostRequest: 'start_index': 'int', 'total_pages': 'int', 'total_rows': 'int', - 'identifier': 'str', - 'model_name': 'str', 'page_size_path': 'int', 'cur_page_path': 'int', + 'identifier': 'str', + 'model_name': 'str', 'body': 'RDMParamVOQueryRequestVo' } @@ -39,40 +39,40 @@ class ShowFindUsingPostRequest: 'start_index': 'startIndex', 'total_pages': 'totalPages', 'total_rows': 'totalRows', - 'identifier': 'identifier', - 'model_name': 'modelName', 'page_size_path': 'pageSizePath', 'cur_page_path': 'curPagePath', + 'identifier': 'identifier', + 'model_name': 'modelName', 'body': 'body' } - def __init__(self, cur_page=None, end_index=None, max_page_size=None, page_size=None, start_index=None, total_pages=None, total_rows=None, identifier=None, model_name=None, page_size_path=None, cur_page_path=None, body=None): + def __init__(self, cur_page=None, end_index=None, max_page_size=None, page_size=None, start_index=None, total_pages=None, total_rows=None, page_size_path=None, cur_page_path=None, identifier=None, model_name=None, body=None): """ShowFindUsingPostRequest The model defined in huaweicloud sdk - :param cur_page: 当前页。 + :param cur_page: **参数解释:** 当前页。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :type cur_page: int - :param end_index: 结束索引。 + :param end_index: **参数解释:** 结束索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :type end_index: int - :param max_page_size: 最大分页数。 + :param max_page_size: **参数解释:** 最大分页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :type max_page_size: int - :param page_size: 每页大小。 + :param page_size: **参数解释:** 每页大小。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :type page_size: int - :param start_index: 起始索引。 + :param start_index: **参数解释:** 起始索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :type start_index: int - :param total_pages: 总页数。 + :param total_pages: **参数解释:** 总页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :type total_pages: int - :param total_rows: 总行数。 + :param total_rows: **参数解释:** 总行数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :type total_rows: int - :param identifier: 应用ID。 - :type identifier: str - :param model_name: 数据模型的英文名称。 - :type model_name: str - :param page_size_path: 分页大小(路径参数)。 + :param page_size_path: **参数解释:** 分页大小(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 1-1000。 **默认取值:** 不涉及。 :type page_size_path: int - :param cur_page_path: 当前页数(路径参数)。 + :param cur_page_path: **参数解释:** 当前页数(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :type cur_page_path: int + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 + :type identifier: str + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 + :type model_name: str :param body: Body of the ShowFindUsingPostRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOQueryRequestVo` """ @@ -86,10 +86,10 @@ def __init__(self, cur_page=None, end_index=None, max_page_size=None, page_size= self._start_index = None self._total_pages = None self._total_rows = None - self._identifier = None - self._model_name = None self._page_size_path = None self._cur_page_path = None + self._identifier = None + self._model_name = None self._body = None self.discriminator = None @@ -107,10 +107,10 @@ def __init__(self, cur_page=None, end_index=None, max_page_size=None, page_size= self.total_pages = total_pages if total_rows is not None: self.total_rows = total_rows - self.identifier = identifier - self.model_name = model_name self.page_size_path = page_size_path self.cur_page_path = cur_page_path + self.identifier = identifier + self.model_name = model_name if body is not None: self.body = body @@ -118,7 +118,7 @@ def __init__(self, cur_page=None, end_index=None, max_page_size=None, page_size= def cur_page(self): """Gets the cur_page of this ShowFindUsingPostRequest. - 当前页。 + **参数解释:** 当前页。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :return: The cur_page of this ShowFindUsingPostRequest. :rtype: int @@ -129,7 +129,7 @@ def cur_page(self): def cur_page(self, cur_page): """Sets the cur_page of this ShowFindUsingPostRequest. - 当前页。 + **参数解释:** 当前页。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :param cur_page: The cur_page of this ShowFindUsingPostRequest. :type cur_page: int @@ -140,7 +140,7 @@ def cur_page(self, cur_page): def end_index(self): """Gets the end_index of this ShowFindUsingPostRequest. - 结束索引。 + **参数解释:** 结束索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :return: The end_index of this ShowFindUsingPostRequest. :rtype: int @@ -151,7 +151,7 @@ def end_index(self): def end_index(self, end_index): """Sets the end_index of this ShowFindUsingPostRequest. - 结束索引。 + **参数解释:** 结束索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :param end_index: The end_index of this ShowFindUsingPostRequest. :type end_index: int @@ -162,7 +162,7 @@ def end_index(self, end_index): def max_page_size(self): """Gets the max_page_size of this ShowFindUsingPostRequest. - 最大分页数。 + **参数解释:** 最大分页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :return: The max_page_size of this ShowFindUsingPostRequest. :rtype: int @@ -173,7 +173,7 @@ def max_page_size(self): def max_page_size(self, max_page_size): """Sets the max_page_size of this ShowFindUsingPostRequest. - 最大分页数。 + **参数解释:** 最大分页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :param max_page_size: The max_page_size of this ShowFindUsingPostRequest. :type max_page_size: int @@ -184,7 +184,7 @@ def max_page_size(self, max_page_size): def page_size(self): """Gets the page_size of this ShowFindUsingPostRequest. - 每页大小。 + **参数解释:** 每页大小。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :return: The page_size of this ShowFindUsingPostRequest. :rtype: int @@ -195,7 +195,7 @@ def page_size(self): def page_size(self, page_size): """Sets the page_size of this ShowFindUsingPostRequest. - 每页大小。 + **参数解释:** 每页大小。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1000。 :param page_size: The page_size of this ShowFindUsingPostRequest. :type page_size: int @@ -206,7 +206,7 @@ def page_size(self, page_size): def start_index(self): """Gets the start_index of this ShowFindUsingPostRequest. - 起始索引。 + **参数解释:** 起始索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :return: The start_index of this ShowFindUsingPostRequest. :rtype: int @@ -217,7 +217,7 @@ def start_index(self): def start_index(self, start_index): """Sets the start_index of this ShowFindUsingPostRequest. - 起始索引。 + **参数解释:** 起始索引。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :param start_index: The start_index of this ShowFindUsingPostRequest. :type start_index: int @@ -228,7 +228,7 @@ def start_index(self, start_index): def total_pages(self): """Gets the total_pages of this ShowFindUsingPostRequest. - 总页数。 + **参数解释:** 总页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :return: The total_pages of this ShowFindUsingPostRequest. :rtype: int @@ -239,7 +239,7 @@ def total_pages(self): def total_pages(self, total_pages): """Sets the total_pages of this ShowFindUsingPostRequest. - 总页数。 + **参数解释:** 总页数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :param total_pages: The total_pages of this ShowFindUsingPostRequest. :type total_pages: int @@ -250,7 +250,7 @@ def total_pages(self, total_pages): def total_rows(self): """Gets the total_rows of this ShowFindUsingPostRequest. - 总行数。 + **参数解释:** 总行数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :return: The total_rows of this ShowFindUsingPostRequest. :rtype: int @@ -261,62 +261,18 @@ def total_rows(self): def total_rows(self, total_rows): """Sets the total_rows of this ShowFindUsingPostRequest. - 总行数。 + **参数解释:** 总行数。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 0。 :param total_rows: The total_rows of this ShowFindUsingPostRequest. :type total_rows: int """ self._total_rows = total_rows - @property - def identifier(self): - """Gets the identifier of this ShowFindUsingPostRequest. - - 应用ID。 - - :return: The identifier of this ShowFindUsingPostRequest. - :rtype: str - """ - return self._identifier - - @identifier.setter - def identifier(self, identifier): - """Sets the identifier of this ShowFindUsingPostRequest. - - 应用ID。 - - :param identifier: The identifier of this ShowFindUsingPostRequest. - :type identifier: str - """ - self._identifier = identifier - - @property - def model_name(self): - """Gets the model_name of this ShowFindUsingPostRequest. - - 数据模型的英文名称。 - - :return: The model_name of this ShowFindUsingPostRequest. - :rtype: str - """ - return self._model_name - - @model_name.setter - def model_name(self, model_name): - """Sets the model_name of this ShowFindUsingPostRequest. - - 数据模型的英文名称。 - - :param model_name: The model_name of this ShowFindUsingPostRequest. - :type model_name: str - """ - self._model_name = model_name - @property def page_size_path(self): """Gets the page_size_path of this ShowFindUsingPostRequest. - 分页大小(路径参数)。 + **参数解释:** 分页大小(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 1-1000。 **默认取值:** 不涉及。 :return: The page_size_path of this ShowFindUsingPostRequest. :rtype: int @@ -327,7 +283,7 @@ def page_size_path(self): def page_size_path(self, page_size_path): """Sets the page_size_path of this ShowFindUsingPostRequest. - 分页大小(路径参数)。 + **参数解释:** 分页大小(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 1-1000。 **默认取值:** 不涉及。 :param page_size_path: The page_size_path of this ShowFindUsingPostRequest. :type page_size_path: int @@ -338,7 +294,7 @@ def page_size_path(self, page_size_path): def cur_page_path(self): """Gets the cur_page_path of this ShowFindUsingPostRequest. - 当前页数(路径参数)。 + **参数解释:** 当前页数(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :return: The cur_page_path of this ShowFindUsingPostRequest. :rtype: int @@ -349,13 +305,57 @@ def cur_page_path(self): def cur_page_path(self, cur_page_path): """Sets the cur_page_path of this ShowFindUsingPostRequest. - 当前页数(路径参数)。 + **参数解释:** 当前页数(路径参数)。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 1。 :param cur_page_path: The cur_page_path of this ShowFindUsingPostRequest. :type cur_page_path: int """ self._cur_page_path = cur_page_path + @property + def identifier(self): + """Gets the identifier of this ShowFindUsingPostRequest. + + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 + + :return: The identifier of this ShowFindUsingPostRequest. + :rtype: str + """ + return self._identifier + + @identifier.setter + def identifier(self, identifier): + """Sets the identifier of this ShowFindUsingPostRequest. + + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 + + :param identifier: The identifier of this ShowFindUsingPostRequest. + :type identifier: str + """ + self._identifier = identifier + + @property + def model_name(self): + """Gets the model_name of this ShowFindUsingPostRequest. + + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 + + :return: The model_name of this ShowFindUsingPostRequest. + :rtype: str + """ + return self._model_name + + @model_name.setter + def model_name(self, model_name): + """Sets the model_name of this ShowFindUsingPostRequest. + + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 + + :param model_name: The model_name of this ShowFindUsingPostRequest. + :type model_name: str + """ + self._model_name = model_name + @property def body(self): """Gets the body of this ShowFindUsingPostRequest. diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_find_using_post_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_find_using_post_response.py index 8f03c69a82..5ee063c1fe 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_find_using_post_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_find_using_post_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.PersistableModelViewDTO`] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this ShowFindUsingPostResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this ShowFindUsingPostResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this ShowFindUsingPostResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this ShowFindUsingPostResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this ShowFindUsingPostResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this ShowFindUsingPostResponse. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.PersistableModelViewDTO`] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this ShowFindUsingPostResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this ShowFindUsingPostResponse. :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.PersistableModelViewDTO`] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this ShowFindUsingPostResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this ShowFindUsingPostResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this ShowFindUsingPostResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this ShowFindUsingPostResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_get_by_unique_key_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_get_by_unique_key_request.py index 75d9466965..66023b605b 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_get_by_unique_key_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_get_by_unique_key_request.py @@ -35,11 +35,11 @@ def __init__(self, identifier=None, model_name=None, get_unique_field_method=Non The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str - :param get_unique_field_method: 方法名称,格式为:getBy{uniqueName}。 uniqueName:表示“唯一键”为“是”的属性英文名称。 + :param get_unique_field_method: **参数解释:** 方法名称,格式为:getBy{uniqueName}。 uniqueName:表示“唯一键”为“是”的属性英文名称。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type get_unique_field_method: str :param body: Body of the ShowGetByUniqueKeyRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOPersistableModelUniqueKeyDTO` @@ -63,7 +63,7 @@ def __init__(self, identifier=None, model_name=None, get_unique_field_method=Non def identifier(self): """Gets the identifier of this ShowGetByUniqueKeyRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this ShowGetByUniqueKeyRequest. :rtype: str @@ -74,7 +74,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this ShowGetByUniqueKeyRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this ShowGetByUniqueKeyRequest. :type identifier: str @@ -85,7 +85,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this ShowGetByUniqueKeyRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this ShowGetByUniqueKeyRequest. :rtype: str @@ -96,7 +96,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this ShowGetByUniqueKeyRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this ShowGetByUniqueKeyRequest. :type model_name: str @@ -107,7 +107,7 @@ def model_name(self, model_name): def get_unique_field_method(self): """Gets the get_unique_field_method of this ShowGetByUniqueKeyRequest. - 方法名称,格式为:getBy{uniqueName}。 uniqueName:表示“唯一键”为“是”的属性英文名称。 + **参数解释:** 方法名称,格式为:getBy{uniqueName}。 uniqueName:表示“唯一键”为“是”的属性英文名称。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The get_unique_field_method of this ShowGetByUniqueKeyRequest. :rtype: str @@ -118,7 +118,7 @@ def get_unique_field_method(self): def get_unique_field_method(self, get_unique_field_method): """Sets the get_unique_field_method of this ShowGetByUniqueKeyRequest. - 方法名称,格式为:getBy{uniqueName}。 uniqueName:表示“唯一键”为“是”的属性英文名称。 + **参数解释:** 方法名称,格式为:getBy{uniqueName}。 uniqueName:表示“唯一键”为“是”的属性英文名称。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param get_unique_field_method: The get_unique_field_method of this ShowGetByUniqueKeyRequest. :type get_unique_field_method: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_get_by_unique_key_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_get_by_unique_key_response.py index 65de2a51a6..aca41bd8e3 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_get_by_unique_key_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_get_by_unique_key_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str :param data: 请求数据。 :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.PersistableModelViewDTO`] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this ShowGetByUniqueKeyResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this ShowGetByUniqueKeyResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this ShowGetByUniqueKeyResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this ShowGetByUniqueKeyResponse. :type result: str @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this ShowGetByUniqueKeyResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this ShowGetByUniqueKeyResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this ShowGetByUniqueKeyResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this ShowGetByUniqueKeyResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_get_parent_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_get_parent_request.py index e744c9d1aa..a16b5498d6 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_get_parent_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_get_parent_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the ShowGetParentRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOQueryParentDTO` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this ShowGetParentRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this ShowGetParentRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this ShowGetParentRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this ShowGetParentRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this ShowGetParentRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this ShowGetParentRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this ShowGetParentRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this ShowGetParentRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_get_parent_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_get_parent_response.py index 36790ddd4b..38c3cf4ddd 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_get_parent_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_get_parent_response.py @@ -36,11 +36,11 @@ def __init__(self, result=None, data=None, errors=None, page_info=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.BasicObjectQueryViewDTO`] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] :param page_info: :type page_info: :class:`huaweicloudsdkidmeclassicapi.v1.PageInfoViewDTO` @@ -67,7 +67,7 @@ def __init__(self, result=None, data=None, errors=None, page_info=None): def result(self): """Gets the result of this ShowGetParentResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this ShowGetParentResponse. :rtype: str @@ -78,7 +78,7 @@ def result(self): def result(self, result): """Sets the result of this ShowGetParentResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this ShowGetParentResponse. :type result: str @@ -89,7 +89,7 @@ def result(self, result): def data(self): """Gets the data of this ShowGetParentResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this ShowGetParentResponse. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.BasicObjectQueryViewDTO`] @@ -100,7 +100,7 @@ def data(self): def data(self, data): """Sets the data of this ShowGetParentResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this ShowGetParentResponse. :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.BasicObjectQueryViewDTO`] @@ -111,7 +111,7 @@ def data(self, data): def errors(self): """Gets the errors of this ShowGetParentResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this ShowGetParentResponse. :rtype: list[str] @@ -122,7 +122,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this ShowGetParentResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this ShowGetParentResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_get_root_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_get_root_request.py index ae2be58310..09af8bab7d 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_get_root_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_get_root_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the ShowGetRootRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOPersistObjectIdDTO` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this ShowGetRootRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this ShowGetRootRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this ShowGetRootRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this ShowGetRootRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this ShowGetRootRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this ShowGetRootRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this ShowGetRootRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this ShowGetRootRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_get_root_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_get_root_response.py index d903c8ce7d..b23b48503e 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_get_root_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_get_root_response.py @@ -36,11 +36,11 @@ def __init__(self, result=None, data=None, errors=None, page_info=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.BasicObjectQueryViewDTO`] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] :param page_info: :type page_info: :class:`huaweicloudsdkidmeclassicapi.v1.PageInfoViewDTO` @@ -67,7 +67,7 @@ def __init__(self, result=None, data=None, errors=None, page_info=None): def result(self): """Gets the result of this ShowGetRootResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this ShowGetRootResponse. :rtype: str @@ -78,7 +78,7 @@ def result(self): def result(self, result): """Sets the result of this ShowGetRootResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this ShowGetRootResponse. :type result: str @@ -89,7 +89,7 @@ def result(self, result): def data(self): """Gets the data of this ShowGetRootResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this ShowGetRootResponse. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.BasicObjectQueryViewDTO`] @@ -100,7 +100,7 @@ def data(self): def data(self, data): """Sets the data of this ShowGetRootResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this ShowGetRootResponse. :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.BasicObjectQueryViewDTO`] @@ -111,7 +111,7 @@ def data(self, data): def errors(self): """Gets the errors of this ShowGetRootResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this ShowGetRootResponse. :rtype: list[str] @@ -122,7 +122,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this ShowGetRootResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this ShowGetRootResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_get_using_post_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_get_using_post_request.py index e43e19c582..0bbb2b2731 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_get_using_post_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_get_using_post_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the ShowGetUsingPostRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOPersistObjectIdDecryptDTO` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this ShowGetUsingPostRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this ShowGetUsingPostRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this ShowGetUsingPostRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this ShowGetUsingPostRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this ShowGetUsingPostRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this ShowGetUsingPostRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this ShowGetUsingPostRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this ShowGetUsingPostRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_get_using_post_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_get_using_post_response.py index 4a407f4c24..d43fc2ec26 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_get_using_post_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_get_using_post_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.PersistableModelViewDTO`] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this ShowGetUsingPostResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this ShowGetUsingPostResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this ShowGetUsingPostResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this ShowGetUsingPostResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this ShowGetUsingPostResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this ShowGetUsingPostResponse. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.PersistableModelViewDTO`] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this ShowGetUsingPostResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this ShowGetUsingPostResponse. :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.PersistableModelViewDTO`] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this ShowGetUsingPostResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this ShowGetUsingPostResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this ShowGetUsingPostResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this ShowGetUsingPostResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_logical_delete_by_condition_using_post_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_logical_delete_by_condition_using_post_request.py index 7169115fa3..f7da2f0530 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_logical_delete_by_condition_using_post_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_logical_delete_by_condition_using_post_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the ShowLogicalDeleteByConditionUsingPostRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVODeleteByConditionVo` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this ShowLogicalDeleteByConditionUsingPostRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this ShowLogicalDeleteByConditionUsingPostRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this ShowLogicalDeleteByConditionUsingPostRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this ShowLogicalDeleteByConditionUsingPostRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this ShowLogicalDeleteByConditionUsingPostRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this ShowLogicalDeleteByConditionUsingPostRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this ShowLogicalDeleteByConditionUsingPostRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this ShowLogicalDeleteByConditionUsingPostRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_logical_delete_by_condition_using_post_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_logical_delete_by_condition_using_post_response.py index 4b40a6f326..2d11a862e1 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_logical_delete_by_condition_using_post_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_logical_delete_by_condition_using_post_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求操作数据数量。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[int] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this ShowLogicalDeleteByConditionUsingPostResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this ShowLogicalDeleteByConditionUsingPostResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this ShowLogicalDeleteByConditionUsingPostResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this ShowLogicalDeleteByConditionUsingPostResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this ShowLogicalDeleteByConditionUsingPostResponse. - 请求数据。 + **参数解释:** 请求操作数据数量。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this ShowLogicalDeleteByConditionUsingPostResponse. :rtype: list[int] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this ShowLogicalDeleteByConditionUsingPostResponse. - 请求数据。 + **参数解释:** 请求操作数据数量。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this ShowLogicalDeleteByConditionUsingPostResponse. :type data: list[int] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this ShowLogicalDeleteByConditionUsingPostResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this ShowLogicalDeleteByConditionUsingPostResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this ShowLogicalDeleteByConditionUsingPostResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this ShowLogicalDeleteByConditionUsingPostResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_logical_delete_using_post_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_logical_delete_using_post_request.py index e2d9b67db7..e201181952 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_logical_delete_using_post_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_logical_delete_using_post_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the ShowLogicalDeleteUsingPostRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOPersistObjectIdModifierDTO` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this ShowLogicalDeleteUsingPostRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this ShowLogicalDeleteUsingPostRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this ShowLogicalDeleteUsingPostRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this ShowLogicalDeleteUsingPostRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this ShowLogicalDeleteUsingPostRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this ShowLogicalDeleteUsingPostRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this ShowLogicalDeleteUsingPostRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this ShowLogicalDeleteUsingPostRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_logical_delete_using_post_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_logical_delete_using_post_response.py index 6a8777df9a..da533bc3d7 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_logical_delete_using_post_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_logical_delete_using_post_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求操作数据数量。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[int] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this ShowLogicalDeleteUsingPostResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this ShowLogicalDeleteUsingPostResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this ShowLogicalDeleteUsingPostResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this ShowLogicalDeleteUsingPostResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this ShowLogicalDeleteUsingPostResponse. - 请求数据。 + **参数解释:** 请求操作数据数量。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this ShowLogicalDeleteUsingPostResponse. :rtype: list[int] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this ShowLogicalDeleteUsingPostResponse. - 请求数据。 + **参数解释:** 请求操作数据数量。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this ShowLogicalDeleteUsingPostResponse. :type data: list[int] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this ShowLogicalDeleteUsingPostResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this ShowLogicalDeleteUsingPostResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this ShowLogicalDeleteUsingPostResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this ShowLogicalDeleteUsingPostResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_statics_using_post_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_statics_using_post_request.py index 72c7a9ff60..222ae5dd0a 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_statics_using_post_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_statics_using_post_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the ShowStaticsUsingPostRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOQueryRequestStaticsVo` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this ShowStaticsUsingPostRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this ShowStaticsUsingPostRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this ShowStaticsUsingPostRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this ShowStaticsUsingPostRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this ShowStaticsUsingPostRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this ShowStaticsUsingPostRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this ShowStaticsUsingPostRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this ShowStaticsUsingPostRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_statics_using_post_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_statics_using_post_response.py index 7d97889693..4bdc6f41d4 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_statics_using_post_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_statics_using_post_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[object] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this ShowStaticsUsingPostResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this ShowStaticsUsingPostResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this ShowStaticsUsingPostResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this ShowStaticsUsingPostResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this ShowStaticsUsingPostResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this ShowStaticsUsingPostResponse. :rtype: list[object] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this ShowStaticsUsingPostResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this ShowStaticsUsingPostResponse. :type data: list[object] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this ShowStaticsUsingPostResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this ShowStaticsUsingPostResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this ShowStaticsUsingPostResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this ShowStaticsUsingPostResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_tag_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_tag_request.py index e2dc3732a9..88be23736d 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_tag_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_tag_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the ShowTagRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOPersistObjectIdDTO` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this ShowTagRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this ShowTagRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this ShowTagRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this ShowTagRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this ShowTagRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this ShowTagRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this ShowTagRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this ShowTagRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_tag_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_tag_response.py index 40675b3261..cf537c24bc 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_tag_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_tag_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[object] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this ShowTagResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this ShowTagResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this ShowTagResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this ShowTagResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this ShowTagResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this ShowTagResponse. :rtype: list[object] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this ShowTagResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this ShowTagResponse. :type data: list[object] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this ShowTagResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this ShowTagResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this ShowTagResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this ShowTagResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_version_by_master_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_version_by_master_request.py index cb953075a3..02f6c84cf3 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_version_by_master_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_version_by_master_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the ShowVersionByMasterRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOVersionModelVersionMasterQueryDTO` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this ShowVersionByMasterRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this ShowVersionByMasterRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this ShowVersionByMasterRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this ShowVersionByMasterRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this ShowVersionByMasterRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this ShowVersionByMasterRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this ShowVersionByMasterRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this ShowVersionByMasterRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_version_by_master_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_version_by_master_response.py index d8d0bd24e1..50bcb2ef50 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_version_by_master_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/show_version_by_master_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this ShowVersionByMasterResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this ShowVersionByMasterResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this ShowVersionByMasterResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this ShowVersionByMasterResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this ShowVersionByMasterResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this ShowVersionByMasterResponse. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this ShowVersionByMasterResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this ShowVersionByMasterResponse. :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this ShowVersionByMasterResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this ShowVersionByMasterResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this ShowVersionByMasterResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this ShowVersionByMasterResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/sort_info_vo.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/sort_info_vo.py index d9c775ef82..cc47f74a9d 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/sort_info_vo.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/sort_info_vo.py @@ -39,13 +39,13 @@ def __init__(self, character_set=None, order_by=None, sort=None, sort_info=None, :param character_set: :type character_set: :class:`huaweicloudsdkidmeclassicapi.v1.CharacterSetEnum` - :param order_by: 按某个字段进行排序。 + :param order_by: **参数解释:** 按某个字段进行排序。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type order_by: str - :param sort: 排序方向。 - ASC:表示升序。 - DESC:表示降序。 + :param sort: **参数解释:** 排序方向。 **约束限制:** 不涉及。 **取值范围:** - ASC:表示升序。 - DESC:表示降序。 **默认取值:** ASC。 :type sort: str - :param sort_info: 排序信息。 + :param sort_info: **参数解释:** 排序信息。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type sort_info: str - :param sort_info_order_by: 排序信息字段。 + :param sort_info_order_by: **参数解释:** 排序信息字段。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type sort_info_order_by: str """ @@ -91,7 +91,7 @@ def character_set(self, character_set): def order_by(self): """Gets the order_by of this SortInfoVo. - 按某个字段进行排序。 + **参数解释:** 按某个字段进行排序。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The order_by of this SortInfoVo. :rtype: str @@ -102,7 +102,7 @@ def order_by(self): def order_by(self, order_by): """Sets the order_by of this SortInfoVo. - 按某个字段进行排序。 + **参数解释:** 按某个字段进行排序。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param order_by: The order_by of this SortInfoVo. :type order_by: str @@ -113,7 +113,7 @@ def order_by(self, order_by): def sort(self): """Gets the sort of this SortInfoVo. - 排序方向。 - ASC:表示升序。 - DESC:表示降序。 + **参数解释:** 排序方向。 **约束限制:** 不涉及。 **取值范围:** - ASC:表示升序。 - DESC:表示降序。 **默认取值:** ASC。 :return: The sort of this SortInfoVo. :rtype: str @@ -124,7 +124,7 @@ def sort(self): def sort(self, sort): """Sets the sort of this SortInfoVo. - 排序方向。 - ASC:表示升序。 - DESC:表示降序。 + **参数解释:** 排序方向。 **约束限制:** 不涉及。 **取值范围:** - ASC:表示升序。 - DESC:表示降序。 **默认取值:** ASC。 :param sort: The sort of this SortInfoVo. :type sort: str @@ -135,7 +135,7 @@ def sort(self, sort): def sort_info(self): """Gets the sort_info of this SortInfoVo. - 排序信息。 + **参数解释:** 排序信息。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The sort_info of this SortInfoVo. :rtype: str @@ -146,7 +146,7 @@ def sort_info(self): def sort_info(self, sort_info): """Sets the sort_info of this SortInfoVo. - 排序信息。 + **参数解释:** 排序信息。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param sort_info: The sort_info of this SortInfoVo. :type sort_info: str @@ -157,7 +157,7 @@ def sort_info(self, sort_info): def sort_info_order_by(self): """Gets the sort_info_order_by of this SortInfoVo. - 排序信息字段。 + **参数解释:** 排序信息字段。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The sort_info_order_by of this SortInfoVo. :rtype: str @@ -168,7 +168,7 @@ def sort_info_order_by(self): def sort_info_order_by(self, sort_info_order_by): """Sets the sort_info_order_by of this SortInfoVo. - 排序信息字段。 + **参数解释:** 排序信息字段。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param sort_info_order_by: The sort_info_order_by of this SortInfoVo. :type sort_info_order_by: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/statistics_pvo.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/statistics_pvo.py index bf455620d0..50253a33ab 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/statistics_pvo.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/statistics_pvo.py @@ -31,9 +31,9 @@ def __init__(self, end_time=None, start_time=None): The model defined in huaweicloud sdk - :param end_time: 结束时间。 + :param end_time: **参数解释:** 结束时间。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type end_time: str - :param start_time: 开始时间。 + :param start_time: **参数解释:** 开始时间。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type start_time: str """ @@ -50,7 +50,7 @@ def __init__(self, end_time=None, start_time=None): def end_time(self): """Gets the end_time of this StatisticsPVO. - 结束时间。 + **参数解释:** 结束时间。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The end_time of this StatisticsPVO. :rtype: str @@ -61,7 +61,7 @@ def end_time(self): def end_time(self, end_time): """Sets the end_time of this StatisticsPVO. - 结束时间。 + **参数解释:** 结束时间。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param end_time: The end_time of this StatisticsPVO. :type end_time: str @@ -72,7 +72,7 @@ def end_time(self, end_time): def start_time(self): """Gets the start_time of this StatisticsPVO. - 开始时间。 + **参数解释:** 开始时间。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The start_time of this StatisticsPVO. :rtype: str @@ -83,7 +83,7 @@ def start_time(self): def start_time(self, start_time): """Sets the start_time of this StatisticsPVO. - 开始时间。 + **参数解释:** 开始时间。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param start_time: The start_time of this StatisticsPVO. :type start_time: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/statistics_rvo.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/statistics_rvo.py index 3a523cbf83..0397c780df 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/statistics_rvo.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/statistics_rvo.py @@ -35,13 +35,13 @@ def __init__(self, create_count=None, delete_count=None, logical_delete_count=No The model defined in huaweicloud sdk - :param create_count: 新增统计记录数。 + :param create_count: **参数解释:** 新增统计记录数。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type create_count: int - :param delete_count: 删除统计记录数。 + :param delete_count: **参数解释:** 删除统计记录数。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type delete_count: int - :param logical_delete_count: 软删除统计记录数。 + :param logical_delete_count: **参数解释:** 软删除统计记录数。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type logical_delete_count: int - :param update_count: 更新统计记录数。 + :param update_count: **参数解释:** 更新统计记录数。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type update_count: int """ @@ -66,7 +66,7 @@ def __init__(self, create_count=None, delete_count=None, logical_delete_count=No def create_count(self): """Gets the create_count of this StatisticsRVO. - 新增统计记录数。 + **参数解释:** 新增统计记录数。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The create_count of this StatisticsRVO. :rtype: int @@ -77,7 +77,7 @@ def create_count(self): def create_count(self, create_count): """Sets the create_count of this StatisticsRVO. - 新增统计记录数。 + **参数解释:** 新增统计记录数。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param create_count: The create_count of this StatisticsRVO. :type create_count: int @@ -88,7 +88,7 @@ def create_count(self, create_count): def delete_count(self): """Gets the delete_count of this StatisticsRVO. - 删除统计记录数。 + **参数解释:** 删除统计记录数。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The delete_count of this StatisticsRVO. :rtype: int @@ -99,7 +99,7 @@ def delete_count(self): def delete_count(self, delete_count): """Sets the delete_count of this StatisticsRVO. - 删除统计记录数。 + **参数解释:** 删除统计记录数。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param delete_count: The delete_count of this StatisticsRVO. :type delete_count: int @@ -110,7 +110,7 @@ def delete_count(self, delete_count): def logical_delete_count(self): """Gets the logical_delete_count of this StatisticsRVO. - 软删除统计记录数。 + **参数解释:** 软删除统计记录数。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The logical_delete_count of this StatisticsRVO. :rtype: int @@ -121,7 +121,7 @@ def logical_delete_count(self): def logical_delete_count(self, logical_delete_count): """Sets the logical_delete_count of this StatisticsRVO. - 软删除统计记录数。 + **参数解释:** 软删除统计记录数。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param logical_delete_count: The logical_delete_count of this StatisticsRVO. :type logical_delete_count: int @@ -132,7 +132,7 @@ def logical_delete_count(self, logical_delete_count): def update_count(self): """Gets the update_count of this StatisticsRVO. - 更新统计记录数。 + **参数解释:** 更新统计记录数。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The update_count of this StatisticsRVO. :rtype: int @@ -143,7 +143,7 @@ def update_count(self): def update_count(self, update_count): """Sets the update_count of this StatisticsRVO. - 更新统计记录数。 + **参数解释:** 更新统计记录数。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param update_count: The update_count of this StatisticsRVO. :type update_count: int diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/student_query_view_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/student_query_view_dto.py index f82c75b7cf..4e85876b90 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/student_query_view_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/student_query_view_dto.py @@ -49,27 +49,27 @@ def __init__(self, id=None, creator=None, create_time=None, modifier=None, last_ The model defined in huaweicloud sdk - :param id: 唯一编码。 + :param id: **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type id: str - :param creator: 创建者。 + :param creator: **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type creator: str - :param create_time: 创建时间。 + :param create_time: **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type create_time: str - :param modifier: 修改人。 + :param modifier: **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type modifier: str - :param last_update_time: 最后的修改时间。 + :param last_update_time: **参数解释:** 最后的修改时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type last_update_time: str - :param rdm_extension_type: 扩展类型。 + :param rdm_extension_type: **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type rdm_extension_type: str :param tenant: :type tenant: :class:`huaweicloudsdkidmeclassicapi.v1.TenantViewDTO` - :param class_name: 类名。 + :param class_name: **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type class_name: str - :param name: 名称。 + :param name: **参数解释:** 名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type name: str - :param description: 描述。 + :param description: **参数解释:** 描述。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type description: str - :param grade: 成绩。 + :param grade: **参数解释:** 成绩。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type grade: float """ @@ -115,7 +115,7 @@ def __init__(self, id=None, creator=None, create_time=None, modifier=None, last_ def id(self): """Gets the id of this StudentQueryViewDTO. - 唯一编码。 + **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The id of this StudentQueryViewDTO. :rtype: str @@ -126,7 +126,7 @@ def id(self): def id(self, id): """Sets the id of this StudentQueryViewDTO. - 唯一编码。 + **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param id: The id of this StudentQueryViewDTO. :type id: str @@ -137,7 +137,7 @@ def id(self, id): def creator(self): """Gets the creator of this StudentQueryViewDTO. - 创建者。 + **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The creator of this StudentQueryViewDTO. :rtype: str @@ -148,7 +148,7 @@ def creator(self): def creator(self, creator): """Sets the creator of this StudentQueryViewDTO. - 创建者。 + **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param creator: The creator of this StudentQueryViewDTO. :type creator: str @@ -159,7 +159,7 @@ def creator(self, creator): def create_time(self): """Gets the create_time of this StudentQueryViewDTO. - 创建时间。 + **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The create_time of this StudentQueryViewDTO. :rtype: str @@ -170,7 +170,7 @@ def create_time(self): def create_time(self, create_time): """Sets the create_time of this StudentQueryViewDTO. - 创建时间。 + **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param create_time: The create_time of this StudentQueryViewDTO. :type create_time: str @@ -181,7 +181,7 @@ def create_time(self, create_time): def modifier(self): """Gets the modifier of this StudentQueryViewDTO. - 修改人。 + **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The modifier of this StudentQueryViewDTO. :rtype: str @@ -192,7 +192,7 @@ def modifier(self): def modifier(self, modifier): """Sets the modifier of this StudentQueryViewDTO. - 修改人。 + **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param modifier: The modifier of this StudentQueryViewDTO. :type modifier: str @@ -203,7 +203,7 @@ def modifier(self, modifier): def last_update_time(self): """Gets the last_update_time of this StudentQueryViewDTO. - 最后的修改时间。 + **参数解释:** 最后的修改时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The last_update_time of this StudentQueryViewDTO. :rtype: str @@ -214,7 +214,7 @@ def last_update_time(self): def last_update_time(self, last_update_time): """Sets the last_update_time of this StudentQueryViewDTO. - 最后的修改时间。 + **参数解释:** 最后的修改时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param last_update_time: The last_update_time of this StudentQueryViewDTO. :type last_update_time: str @@ -225,7 +225,7 @@ def last_update_time(self, last_update_time): def rdm_extension_type(self): """Gets the rdm_extension_type of this StudentQueryViewDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The rdm_extension_type of this StudentQueryViewDTO. :rtype: str @@ -236,7 +236,7 @@ def rdm_extension_type(self): def rdm_extension_type(self, rdm_extension_type): """Sets the rdm_extension_type of this StudentQueryViewDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param rdm_extension_type: The rdm_extension_type of this StudentQueryViewDTO. :type rdm_extension_type: str @@ -265,7 +265,7 @@ def tenant(self, tenant): def class_name(self): """Gets the class_name of this StudentQueryViewDTO. - 类名。 + **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The class_name of this StudentQueryViewDTO. :rtype: str @@ -276,7 +276,7 @@ def class_name(self): def class_name(self, class_name): """Sets the class_name of this StudentQueryViewDTO. - 类名。 + **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param class_name: The class_name of this StudentQueryViewDTO. :type class_name: str @@ -287,7 +287,7 @@ def class_name(self, class_name): def name(self): """Gets the name of this StudentQueryViewDTO. - 名称。 + **参数解释:** 名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The name of this StudentQueryViewDTO. :rtype: str @@ -298,7 +298,7 @@ def name(self): def name(self, name): """Sets the name of this StudentQueryViewDTO. - 名称。 + **参数解释:** 名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param name: The name of this StudentQueryViewDTO. :type name: str @@ -309,7 +309,7 @@ def name(self, name): def description(self): """Gets the description of this StudentQueryViewDTO. - 描述。 + **参数解释:** 描述。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The description of this StudentQueryViewDTO. :rtype: str @@ -320,7 +320,7 @@ def description(self): def description(self, description): """Sets the description of this StudentQueryViewDTO. - 描述。 + **参数解释:** 描述。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param description: The description of this StudentQueryViewDTO. :type description: str @@ -331,7 +331,7 @@ def description(self, description): def grade(self): """Gets the grade of this StudentQueryViewDTO. - 成绩。 + **参数解释:** 成绩。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The grade of this StudentQueryViewDTO. :rtype: float @@ -342,7 +342,7 @@ def grade(self): def grade(self, grade): """Sets the grade of this StudentQueryViewDTO. - 成绩。 + **参数解释:** 成绩。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param grade: The grade of this StudentQueryViewDTO. :type grade: float diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/student_view_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/student_view_dto.py index b8eb0acd65..9a92f4bdfe 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/student_view_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/student_view_dto.py @@ -57,33 +57,33 @@ def __init__(self, class_name=None, create_time=None, creator=None, description= The model defined in huaweicloud sdk - :param class_name: 类名。 + :param class_name: **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type class_name: str - :param create_time: 创建时间。 + :param create_time: **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type create_time: str - :param creator: 创建者。 + :param creator: **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type creator: str - :param description: 描述。 + :param description: **参数解释:** 描述。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type description: str - :param grade: 成绩。 + :param grade: **参数解释:** 成绩。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type grade: float - :param id: 唯一标识。 + :param id: **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type id: str - :param kiaguid: 关键信息资产ID。 + :param kiaguid: **参数解释:** 关键信息资产ID。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type kiaguid: str - :param last_update_time: 最新更新时间。 + :param last_update_time: **参数解释:** 最新更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type last_update_time: str - :param modifier: 修改人。 + :param modifier: **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type modifier: str - :param name: 名称。 + :param name: **参数解释:** 名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type name: str - :param rdm_delete_flag: 软删除标识,参数值为0或1。 - 0:表示未删除。 - 1:表示已删除。 + :param rdm_delete_flag: **参数解释:** 软删除标识,参数值为0或1。 **取值范围:** - 0:表示未删除。 - 1:表示已删除。 **默认取值:** 不涉及。 :type rdm_delete_flag: int - :param rdm_extension_type: 扩展类型。 + :param rdm_extension_type: **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type rdm_extension_type: str - :param rdm_version: 系统版本。 + :param rdm_version: **参数解释:** 系统版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type rdm_version: int - :param security_level: 安全密级。 - INTERNAL:内部公开。 - SECRET:秘密。 - CONFIDENTIAL:机密。 - TOP_SECRET:绝密。 + :param security_level: **参数解释:** 安全密级。 **取值范围:** - INTERNAL:内部公开。 - SECRET:秘密。 - CONFIDENTIAL:机密。 - TOP_SECRET:绝密。 **默认取值:** 不涉及。 :type security_level: str :param tenant: :type tenant: :class:`huaweicloudsdkidmeclassicapi.v1.TenantViewDTO` @@ -143,7 +143,7 @@ def __init__(self, class_name=None, create_time=None, creator=None, description= def class_name(self): """Gets the class_name of this StudentViewDTO. - 类名。 + **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The class_name of this StudentViewDTO. :rtype: str @@ -154,7 +154,7 @@ def class_name(self): def class_name(self, class_name): """Sets the class_name of this StudentViewDTO. - 类名。 + **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param class_name: The class_name of this StudentViewDTO. :type class_name: str @@ -165,7 +165,7 @@ def class_name(self, class_name): def create_time(self): """Gets the create_time of this StudentViewDTO. - 创建时间。 + **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The create_time of this StudentViewDTO. :rtype: str @@ -176,7 +176,7 @@ def create_time(self): def create_time(self, create_time): """Sets the create_time of this StudentViewDTO. - 创建时间。 + **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param create_time: The create_time of this StudentViewDTO. :type create_time: str @@ -187,7 +187,7 @@ def create_time(self, create_time): def creator(self): """Gets the creator of this StudentViewDTO. - 创建者。 + **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The creator of this StudentViewDTO. :rtype: str @@ -198,7 +198,7 @@ def creator(self): def creator(self, creator): """Sets the creator of this StudentViewDTO. - 创建者。 + **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param creator: The creator of this StudentViewDTO. :type creator: str @@ -209,7 +209,7 @@ def creator(self, creator): def description(self): """Gets the description of this StudentViewDTO. - 描述。 + **参数解释:** 描述。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The description of this StudentViewDTO. :rtype: str @@ -220,7 +220,7 @@ def description(self): def description(self, description): """Sets the description of this StudentViewDTO. - 描述。 + **参数解释:** 描述。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param description: The description of this StudentViewDTO. :type description: str @@ -231,7 +231,7 @@ def description(self, description): def grade(self): """Gets the grade of this StudentViewDTO. - 成绩。 + **参数解释:** 成绩。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The grade of this StudentViewDTO. :rtype: float @@ -242,7 +242,7 @@ def grade(self): def grade(self, grade): """Sets the grade of this StudentViewDTO. - 成绩。 + **参数解释:** 成绩。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param grade: The grade of this StudentViewDTO. :type grade: float @@ -253,7 +253,7 @@ def grade(self, grade): def id(self): """Gets the id of this StudentViewDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The id of this StudentViewDTO. :rtype: str @@ -264,7 +264,7 @@ def id(self): def id(self, id): """Sets the id of this StudentViewDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param id: The id of this StudentViewDTO. :type id: str @@ -275,7 +275,7 @@ def id(self, id): def kiaguid(self): """Gets the kiaguid of this StudentViewDTO. - 关键信息资产ID。 + **参数解释:** 关键信息资产ID。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The kiaguid of this StudentViewDTO. :rtype: str @@ -286,7 +286,7 @@ def kiaguid(self): def kiaguid(self, kiaguid): """Sets the kiaguid of this StudentViewDTO. - 关键信息资产ID。 + **参数解释:** 关键信息资产ID。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param kiaguid: The kiaguid of this StudentViewDTO. :type kiaguid: str @@ -297,7 +297,7 @@ def kiaguid(self, kiaguid): def last_update_time(self): """Gets the last_update_time of this StudentViewDTO. - 最新更新时间。 + **参数解释:** 最新更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The last_update_time of this StudentViewDTO. :rtype: str @@ -308,7 +308,7 @@ def last_update_time(self): def last_update_time(self, last_update_time): """Sets the last_update_time of this StudentViewDTO. - 最新更新时间。 + **参数解释:** 最新更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param last_update_time: The last_update_time of this StudentViewDTO. :type last_update_time: str @@ -319,7 +319,7 @@ def last_update_time(self, last_update_time): def modifier(self): """Gets the modifier of this StudentViewDTO. - 修改人。 + **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The modifier of this StudentViewDTO. :rtype: str @@ -330,7 +330,7 @@ def modifier(self): def modifier(self, modifier): """Sets the modifier of this StudentViewDTO. - 修改人。 + **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param modifier: The modifier of this StudentViewDTO. :type modifier: str @@ -341,7 +341,7 @@ def modifier(self, modifier): def name(self): """Gets the name of this StudentViewDTO. - 名称。 + **参数解释:** 名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The name of this StudentViewDTO. :rtype: str @@ -352,7 +352,7 @@ def name(self): def name(self, name): """Sets the name of this StudentViewDTO. - 名称。 + **参数解释:** 名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param name: The name of this StudentViewDTO. :type name: str @@ -363,7 +363,7 @@ def name(self, name): def rdm_delete_flag(self): """Gets the rdm_delete_flag of this StudentViewDTO. - 软删除标识,参数值为0或1。 - 0:表示未删除。 - 1:表示已删除。 + **参数解释:** 软删除标识,参数值为0或1。 **取值范围:** - 0:表示未删除。 - 1:表示已删除。 **默认取值:** 不涉及。 :return: The rdm_delete_flag of this StudentViewDTO. :rtype: int @@ -374,7 +374,7 @@ def rdm_delete_flag(self): def rdm_delete_flag(self, rdm_delete_flag): """Sets the rdm_delete_flag of this StudentViewDTO. - 软删除标识,参数值为0或1。 - 0:表示未删除。 - 1:表示已删除。 + **参数解释:** 软删除标识,参数值为0或1。 **取值范围:** - 0:表示未删除。 - 1:表示已删除。 **默认取值:** 不涉及。 :param rdm_delete_flag: The rdm_delete_flag of this StudentViewDTO. :type rdm_delete_flag: int @@ -385,7 +385,7 @@ def rdm_delete_flag(self, rdm_delete_flag): def rdm_extension_type(self): """Gets the rdm_extension_type of this StudentViewDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The rdm_extension_type of this StudentViewDTO. :rtype: str @@ -396,7 +396,7 @@ def rdm_extension_type(self): def rdm_extension_type(self, rdm_extension_type): """Sets the rdm_extension_type of this StudentViewDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param rdm_extension_type: The rdm_extension_type of this StudentViewDTO. :type rdm_extension_type: str @@ -407,7 +407,7 @@ def rdm_extension_type(self, rdm_extension_type): def rdm_version(self): """Gets the rdm_version of this StudentViewDTO. - 系统版本。 + **参数解释:** 系统版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The rdm_version of this StudentViewDTO. :rtype: int @@ -418,7 +418,7 @@ def rdm_version(self): def rdm_version(self, rdm_version): """Sets the rdm_version of this StudentViewDTO. - 系统版本。 + **参数解释:** 系统版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param rdm_version: The rdm_version of this StudentViewDTO. :type rdm_version: int @@ -429,7 +429,7 @@ def rdm_version(self, rdm_version): def security_level(self): """Gets the security_level of this StudentViewDTO. - 安全密级。 - INTERNAL:内部公开。 - SECRET:秘密。 - CONFIDENTIAL:机密。 - TOP_SECRET:绝密。 + **参数解释:** 安全密级。 **取值范围:** - INTERNAL:内部公开。 - SECRET:秘密。 - CONFIDENTIAL:机密。 - TOP_SECRET:绝密。 **默认取值:** 不涉及。 :return: The security_level of this StudentViewDTO. :rtype: str @@ -440,7 +440,7 @@ def security_level(self): def security_level(self, security_level): """Sets the security_level of this StudentViewDTO. - 安全密级。 - INTERNAL:内部公开。 - SECRET:秘密。 - CONFIDENTIAL:机密。 - TOP_SECRET:绝密。 + **参数解释:** 安全密级。 **取值范围:** - INTERNAL:内部公开。 - SECRET:秘密。 - CONFIDENTIAL:机密。 - TOP_SECRET:绝密。 **默认取值:** 不涉及。 :param security_level: The security_level of this StudentViewDTO. :type security_level: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/switch_lifecycle_template_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/switch_lifecycle_template_request.py index a55d8f9587..8aaa306bb7 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/switch_lifecycle_template_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/switch_lifecycle_template_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the SwitchLifecycleTemplateRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOLifecycleManagedModelLifecycleTemplateSwitchDTO` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this SwitchLifecycleTemplateRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this SwitchLifecycleTemplateRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this SwitchLifecycleTemplateRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this SwitchLifecycleTemplateRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this SwitchLifecycleTemplateRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this SwitchLifecycleTemplateRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this SwitchLifecycleTemplateRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this SwitchLifecycleTemplateRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/switch_lifecycle_template_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/switch_lifecycle_template_response.py index ca16e6ca3a..84da879247 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/switch_lifecycle_template_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/switch_lifecycle_template_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[object] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this SwitchLifecycleTemplateResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this SwitchLifecycleTemplateResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this SwitchLifecycleTemplateResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this SwitchLifecycleTemplateResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this SwitchLifecycleTemplateResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this SwitchLifecycleTemplateResponse. :rtype: list[object] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this SwitchLifecycleTemplateResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this SwitchLifecycleTemplateResponse. :type data: list[object] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this SwitchLifecycleTemplateResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this SwitchLifecycleTemplateResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this SwitchLifecycleTemplateResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this SwitchLifecycleTemplateResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/tag_operation_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/tag_operation_dto.py index 3a5fe47c1a..09dd21e591 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/tag_operation_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/tag_operation_dto.py @@ -31,9 +31,9 @@ def __init__(self, object_id=None, tag_id=None): The model defined in huaweicloud sdk - :param object_id: 数据实例ID。 + :param object_id: **参数解释:** 数据实例ID。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type object_id: str - :param tag_id: 标签ID。 + :param tag_id: **参数解释:** 标签ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type tag_id: str """ @@ -50,7 +50,7 @@ def __init__(self, object_id=None, tag_id=None): def object_id(self): """Gets the object_id of this TagOperationDTO. - 数据实例ID。 + **参数解释:** 数据实例ID。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The object_id of this TagOperationDTO. :rtype: str @@ -61,7 +61,7 @@ def object_id(self): def object_id(self, object_id): """Sets the object_id of this TagOperationDTO. - 数据实例ID。 + **参数解释:** 数据实例ID。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param object_id: The object_id of this TagOperationDTO. :type object_id: str @@ -72,7 +72,7 @@ def object_id(self, object_id): def tag_id(self): """Gets the tag_id of this TagOperationDTO. - 标签ID。 + **参数解释:** 标签ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The tag_id of this TagOperationDTO. :rtype: str @@ -83,7 +83,7 @@ def tag_id(self): def tag_id(self, tag_id): """Sets the tag_id of this TagOperationDTO. - 标签ID。 + **参数解释:** 标签ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param tag_id: The tag_id of this TagOperationDTO. :type tag_id: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/tenant_history_view_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/tenant_history_view_dto.py index 8f795b3ee3..910a93d9f6 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/tenant_history_view_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/tenant_history_view_dto.py @@ -63,39 +63,39 @@ def __init__(self, class_name=None, code=None, create_time=None, creator=None, d The model defined in huaweicloud sdk - :param class_name: 类名。 + :param class_name: **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type class_name: str - :param code: 租户编码。 + :param code: **参数解释:** 租户编码。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type code: str - :param create_time: 创建时间。 + :param create_time: **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type create_time: str - :param creator: 创建者。 + :param creator: **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type creator: str - :param data_source: 租户使用的数据源名称。 + :param data_source: **参数解释:** 租户使用的数据源名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data_source: str - :param description: 描述信息。 + :param description: **参数解释:** 描述信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type description: str - :param disable_flag: 失效标识。 - true:失效。 - false:未失效。 + :param disable_flag: **参数解释:** 失效标识。 **取值范围:** - true:失效。 - false:未失效。 **默认取值:** 不涉及。 :type disable_flag: bool - :param id: 唯一标识。 + :param id: **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type id: str - :param kiaguid: KIA密级。 + :param kiaguid: **参数解释:** KIA密级。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type kiaguid: str - :param last_update_time: 最后更新时间。 + :param last_update_time: **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type last_update_time: str - :param modifier: 更新者。 + :param modifier: **参数解释:** 更新者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type modifier: str - :param name: 中文名称。 + :param name: **参数解释:** 中文名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type name: str - :param rdm_delete_flag: 软删除标识,参数值为0或1。 - 0:表示未删除。 - 1:表示已删除。 + :param rdm_delete_flag: **参数解释:** 软删除标识,参数值为0或1。 **取值范围:** - 0:表示未删除。 - 1:表示已删除。 **默认取值:** 0。 :type rdm_delete_flag: int - :param rdm_extension_type: 扩展类型。 + :param rdm_extension_type: **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type rdm_extension_type: str - :param rdm_operation_type: 操作类型。 - CREATE:创建操作。 - UPDATE:更新操作。 - LOGICALDELETE:软删除操作。 - DELETE:删除操作。 - CASCADE:级联操作。 + :param rdm_operation_type: **参数解释:** 操作类型。 **取值范围:** - CREATE:创建操作。 - UPDATE:更新操作。 - LOGICALDELETE:软删除操作。 - DELETE:删除操作。 - CASCADE:级联操作。 **默认取值:** 不涉及。 :type rdm_operation_type: str - :param rdm_version: 系统版本。 + :param rdm_version: **参数解释:** 系统版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type rdm_version: int - :param security_level: 安全密级。 - INTERNAL:内部公开。 - SECRET:秘密。 - CONFIDENTIAL:机密。 - TOP_SECRET:绝密。 + :param security_level: **参数解释:** 安全密级。 **取值范围:** - INTERNAL:内部公开。 - SECRET:秘密。 - CONFIDENTIAL:机密。 - TOP_SECRET:绝密。 **默认取值:** 不涉及。 :type security_level: str :param tenant: :type tenant: :class:`huaweicloudsdkidmeclassicapi.v1.TenantHistoryViewDTO` @@ -162,7 +162,7 @@ def __init__(self, class_name=None, code=None, create_time=None, creator=None, d def class_name(self): """Gets the class_name of this TenantHistoryViewDTO. - 类名。 + **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The class_name of this TenantHistoryViewDTO. :rtype: str @@ -173,7 +173,7 @@ def class_name(self): def class_name(self, class_name): """Sets the class_name of this TenantHistoryViewDTO. - 类名。 + **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param class_name: The class_name of this TenantHistoryViewDTO. :type class_name: str @@ -184,7 +184,7 @@ def class_name(self, class_name): def code(self): """Gets the code of this TenantHistoryViewDTO. - 租户编码。 + **参数解释:** 租户编码。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The code of this TenantHistoryViewDTO. :rtype: str @@ -195,7 +195,7 @@ def code(self): def code(self, code): """Sets the code of this TenantHistoryViewDTO. - 租户编码。 + **参数解释:** 租户编码。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param code: The code of this TenantHistoryViewDTO. :type code: str @@ -206,7 +206,7 @@ def code(self, code): def create_time(self): """Gets the create_time of this TenantHistoryViewDTO. - 创建时间。 + **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The create_time of this TenantHistoryViewDTO. :rtype: str @@ -217,7 +217,7 @@ def create_time(self): def create_time(self, create_time): """Sets the create_time of this TenantHistoryViewDTO. - 创建时间。 + **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param create_time: The create_time of this TenantHistoryViewDTO. :type create_time: str @@ -228,7 +228,7 @@ def create_time(self, create_time): def creator(self): """Gets the creator of this TenantHistoryViewDTO. - 创建者。 + **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The creator of this TenantHistoryViewDTO. :rtype: str @@ -239,7 +239,7 @@ def creator(self): def creator(self, creator): """Sets the creator of this TenantHistoryViewDTO. - 创建者。 + **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param creator: The creator of this TenantHistoryViewDTO. :type creator: str @@ -250,7 +250,7 @@ def creator(self, creator): def data_source(self): """Gets the data_source of this TenantHistoryViewDTO. - 租户使用的数据源名称。 + **参数解释:** 租户使用的数据源名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data_source of this TenantHistoryViewDTO. :rtype: str @@ -261,7 +261,7 @@ def data_source(self): def data_source(self, data_source): """Sets the data_source of this TenantHistoryViewDTO. - 租户使用的数据源名称。 + **参数解释:** 租户使用的数据源名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data_source: The data_source of this TenantHistoryViewDTO. :type data_source: str @@ -272,7 +272,7 @@ def data_source(self, data_source): def description(self): """Gets the description of this TenantHistoryViewDTO. - 描述信息。 + **参数解释:** 描述信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The description of this TenantHistoryViewDTO. :rtype: str @@ -283,7 +283,7 @@ def description(self): def description(self, description): """Sets the description of this TenantHistoryViewDTO. - 描述信息。 + **参数解释:** 描述信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param description: The description of this TenantHistoryViewDTO. :type description: str @@ -294,7 +294,7 @@ def description(self, description): def disable_flag(self): """Gets the disable_flag of this TenantHistoryViewDTO. - 失效标识。 - true:失效。 - false:未失效。 + **参数解释:** 失效标识。 **取值范围:** - true:失效。 - false:未失效。 **默认取值:** 不涉及。 :return: The disable_flag of this TenantHistoryViewDTO. :rtype: bool @@ -305,7 +305,7 @@ def disable_flag(self): def disable_flag(self, disable_flag): """Sets the disable_flag of this TenantHistoryViewDTO. - 失效标识。 - true:失效。 - false:未失效。 + **参数解释:** 失效标识。 **取值范围:** - true:失效。 - false:未失效。 **默认取值:** 不涉及。 :param disable_flag: The disable_flag of this TenantHistoryViewDTO. :type disable_flag: bool @@ -316,7 +316,7 @@ def disable_flag(self, disable_flag): def id(self): """Gets the id of this TenantHistoryViewDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The id of this TenantHistoryViewDTO. :rtype: str @@ -327,7 +327,7 @@ def id(self): def id(self, id): """Sets the id of this TenantHistoryViewDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param id: The id of this TenantHistoryViewDTO. :type id: str @@ -338,7 +338,7 @@ def id(self, id): def kiaguid(self): """Gets the kiaguid of this TenantHistoryViewDTO. - KIA密级。 + **参数解释:** KIA密级。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The kiaguid of this TenantHistoryViewDTO. :rtype: str @@ -349,7 +349,7 @@ def kiaguid(self): def kiaguid(self, kiaguid): """Sets the kiaguid of this TenantHistoryViewDTO. - KIA密级。 + **参数解释:** KIA密级。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param kiaguid: The kiaguid of this TenantHistoryViewDTO. :type kiaguid: str @@ -360,7 +360,7 @@ def kiaguid(self, kiaguid): def last_update_time(self): """Gets the last_update_time of this TenantHistoryViewDTO. - 最后更新时间。 + **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The last_update_time of this TenantHistoryViewDTO. :rtype: str @@ -371,7 +371,7 @@ def last_update_time(self): def last_update_time(self, last_update_time): """Sets the last_update_time of this TenantHistoryViewDTO. - 最后更新时间。 + **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param last_update_time: The last_update_time of this TenantHistoryViewDTO. :type last_update_time: str @@ -382,7 +382,7 @@ def last_update_time(self, last_update_time): def modifier(self): """Gets the modifier of this TenantHistoryViewDTO. - 更新者。 + **参数解释:** 更新者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The modifier of this TenantHistoryViewDTO. :rtype: str @@ -393,7 +393,7 @@ def modifier(self): def modifier(self, modifier): """Sets the modifier of this TenantHistoryViewDTO. - 更新者。 + **参数解释:** 更新者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param modifier: The modifier of this TenantHistoryViewDTO. :type modifier: str @@ -404,7 +404,7 @@ def modifier(self, modifier): def name(self): """Gets the name of this TenantHistoryViewDTO. - 中文名称。 + **参数解释:** 中文名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The name of this TenantHistoryViewDTO. :rtype: str @@ -415,7 +415,7 @@ def name(self): def name(self, name): """Sets the name of this TenantHistoryViewDTO. - 中文名称。 + **参数解释:** 中文名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param name: The name of this TenantHistoryViewDTO. :type name: str @@ -426,7 +426,7 @@ def name(self, name): def rdm_delete_flag(self): """Gets the rdm_delete_flag of this TenantHistoryViewDTO. - 软删除标识,参数值为0或1。 - 0:表示未删除。 - 1:表示已删除。 + **参数解释:** 软删除标识,参数值为0或1。 **取值范围:** - 0:表示未删除。 - 1:表示已删除。 **默认取值:** 0。 :return: The rdm_delete_flag of this TenantHistoryViewDTO. :rtype: int @@ -437,7 +437,7 @@ def rdm_delete_flag(self): def rdm_delete_flag(self, rdm_delete_flag): """Sets the rdm_delete_flag of this TenantHistoryViewDTO. - 软删除标识,参数值为0或1。 - 0:表示未删除。 - 1:表示已删除。 + **参数解释:** 软删除标识,参数值为0或1。 **取值范围:** - 0:表示未删除。 - 1:表示已删除。 **默认取值:** 0。 :param rdm_delete_flag: The rdm_delete_flag of this TenantHistoryViewDTO. :type rdm_delete_flag: int @@ -448,7 +448,7 @@ def rdm_delete_flag(self, rdm_delete_flag): def rdm_extension_type(self): """Gets the rdm_extension_type of this TenantHistoryViewDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The rdm_extension_type of this TenantHistoryViewDTO. :rtype: str @@ -459,7 +459,7 @@ def rdm_extension_type(self): def rdm_extension_type(self, rdm_extension_type): """Sets the rdm_extension_type of this TenantHistoryViewDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param rdm_extension_type: The rdm_extension_type of this TenantHistoryViewDTO. :type rdm_extension_type: str @@ -470,7 +470,7 @@ def rdm_extension_type(self, rdm_extension_type): def rdm_operation_type(self): """Gets the rdm_operation_type of this TenantHistoryViewDTO. - 操作类型。 - CREATE:创建操作。 - UPDATE:更新操作。 - LOGICALDELETE:软删除操作。 - DELETE:删除操作。 - CASCADE:级联操作。 + **参数解释:** 操作类型。 **取值范围:** - CREATE:创建操作。 - UPDATE:更新操作。 - LOGICALDELETE:软删除操作。 - DELETE:删除操作。 - CASCADE:级联操作。 **默认取值:** 不涉及。 :return: The rdm_operation_type of this TenantHistoryViewDTO. :rtype: str @@ -481,7 +481,7 @@ def rdm_operation_type(self): def rdm_operation_type(self, rdm_operation_type): """Sets the rdm_operation_type of this TenantHistoryViewDTO. - 操作类型。 - CREATE:创建操作。 - UPDATE:更新操作。 - LOGICALDELETE:软删除操作。 - DELETE:删除操作。 - CASCADE:级联操作。 + **参数解释:** 操作类型。 **取值范围:** - CREATE:创建操作。 - UPDATE:更新操作。 - LOGICALDELETE:软删除操作。 - DELETE:删除操作。 - CASCADE:级联操作。 **默认取值:** 不涉及。 :param rdm_operation_type: The rdm_operation_type of this TenantHistoryViewDTO. :type rdm_operation_type: str @@ -492,7 +492,7 @@ def rdm_operation_type(self, rdm_operation_type): def rdm_version(self): """Gets the rdm_version of this TenantHistoryViewDTO. - 系统版本。 + **参数解释:** 系统版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The rdm_version of this TenantHistoryViewDTO. :rtype: int @@ -503,7 +503,7 @@ def rdm_version(self): def rdm_version(self, rdm_version): """Sets the rdm_version of this TenantHistoryViewDTO. - 系统版本。 + **参数解释:** 系统版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param rdm_version: The rdm_version of this TenantHistoryViewDTO. :type rdm_version: int @@ -514,7 +514,7 @@ def rdm_version(self, rdm_version): def security_level(self): """Gets the security_level of this TenantHistoryViewDTO. - 安全密级。 - INTERNAL:内部公开。 - SECRET:秘密。 - CONFIDENTIAL:机密。 - TOP_SECRET:绝密。 + **参数解释:** 安全密级。 **取值范围:** - INTERNAL:内部公开。 - SECRET:秘密。 - CONFIDENTIAL:机密。 - TOP_SECRET:绝密。 **默认取值:** 不涉及。 :return: The security_level of this TenantHistoryViewDTO. :rtype: str @@ -525,7 +525,7 @@ def security_level(self): def security_level(self, security_level): """Sets the security_level of this TenantHistoryViewDTO. - 安全密级。 - INTERNAL:内部公开。 - SECRET:秘密。 - CONFIDENTIAL:机密。 - TOP_SECRET:绝密。 + **参数解释:** 安全密级。 **取值范围:** - INTERNAL:内部公开。 - SECRET:秘密。 - CONFIDENTIAL:机密。 - TOP_SECRET:绝密。 **默认取值:** 不涉及。 :param security_level: The security_level of this TenantHistoryViewDTO. :type security_level: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/tenant_query_view_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/tenant_query_view_dto.py index c1681ffd6c..a5895695d2 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/tenant_query_view_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/tenant_query_view_dto.py @@ -53,29 +53,29 @@ def __init__(self, class_name=None, code=None, create_time=None, creator=None, d The model defined in huaweicloud sdk - :param class_name: 类名。 + :param class_name: **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type class_name: str - :param code: 租户编码。 + :param code: **参数解释:** 租户编码。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type code: str - :param create_time: 创建时间。 + :param create_time: **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type create_time: str - :param creator: 创建者。 + :param creator: **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type creator: str - :param data_source: 租户使用的数据源名称。 + :param data_source: **参数解释:** 租户使用的数据源名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data_source: str - :param description: 描述信息。 + :param description: **参数解释:** 描述信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type description: str - :param disable_flag: 失效标识。 - true:失效。 - false:未失效。 + :param disable_flag: **参数解释:** 失效标识。 **取值范围:** - true:失效。 - false:未失效。 **默认取值:** false。 :type disable_flag: bool - :param id: 唯一标识。 + :param id: **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type id: str - :param last_update_time: 最后更新时间。 + :param last_update_time: **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type last_update_time: str - :param modifier: 修改人。 + :param modifier: **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type modifier: str - :param name: 中文名称。 + :param name: **参数解释:** 中文名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type name: str - :param rdm_extension_type: 扩展类型。 + :param rdm_extension_type: **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type rdm_extension_type: str :param tenant: :type tenant: :class:`huaweicloudsdkidmeclassicapi.v1.TenantQueryViewDTO` @@ -127,7 +127,7 @@ def __init__(self, class_name=None, code=None, create_time=None, creator=None, d def class_name(self): """Gets the class_name of this TenantQueryViewDTO. - 类名。 + **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The class_name of this TenantQueryViewDTO. :rtype: str @@ -138,7 +138,7 @@ def class_name(self): def class_name(self, class_name): """Sets the class_name of this TenantQueryViewDTO. - 类名。 + **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param class_name: The class_name of this TenantQueryViewDTO. :type class_name: str @@ -149,7 +149,7 @@ def class_name(self, class_name): def code(self): """Gets the code of this TenantQueryViewDTO. - 租户编码。 + **参数解释:** 租户编码。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The code of this TenantQueryViewDTO. :rtype: str @@ -160,7 +160,7 @@ def code(self): def code(self, code): """Sets the code of this TenantQueryViewDTO. - 租户编码。 + **参数解释:** 租户编码。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param code: The code of this TenantQueryViewDTO. :type code: str @@ -171,7 +171,7 @@ def code(self, code): def create_time(self): """Gets the create_time of this TenantQueryViewDTO. - 创建时间。 + **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The create_time of this TenantQueryViewDTO. :rtype: str @@ -182,7 +182,7 @@ def create_time(self): def create_time(self, create_time): """Sets the create_time of this TenantQueryViewDTO. - 创建时间。 + **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param create_time: The create_time of this TenantQueryViewDTO. :type create_time: str @@ -193,7 +193,7 @@ def create_time(self, create_time): def creator(self): """Gets the creator of this TenantQueryViewDTO. - 创建者。 + **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The creator of this TenantQueryViewDTO. :rtype: str @@ -204,7 +204,7 @@ def creator(self): def creator(self, creator): """Sets the creator of this TenantQueryViewDTO. - 创建者。 + **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param creator: The creator of this TenantQueryViewDTO. :type creator: str @@ -215,7 +215,7 @@ def creator(self, creator): def data_source(self): """Gets the data_source of this TenantQueryViewDTO. - 租户使用的数据源名称。 + **参数解释:** 租户使用的数据源名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data_source of this TenantQueryViewDTO. :rtype: str @@ -226,7 +226,7 @@ def data_source(self): def data_source(self, data_source): """Sets the data_source of this TenantQueryViewDTO. - 租户使用的数据源名称。 + **参数解释:** 租户使用的数据源名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data_source: The data_source of this TenantQueryViewDTO. :type data_source: str @@ -237,7 +237,7 @@ def data_source(self, data_source): def description(self): """Gets the description of this TenantQueryViewDTO. - 描述信息。 + **参数解释:** 描述信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The description of this TenantQueryViewDTO. :rtype: str @@ -248,7 +248,7 @@ def description(self): def description(self, description): """Sets the description of this TenantQueryViewDTO. - 描述信息。 + **参数解释:** 描述信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param description: The description of this TenantQueryViewDTO. :type description: str @@ -259,7 +259,7 @@ def description(self, description): def disable_flag(self): """Gets the disable_flag of this TenantQueryViewDTO. - 失效标识。 - true:失效。 - false:未失效。 + **参数解释:** 失效标识。 **取值范围:** - true:失效。 - false:未失效。 **默认取值:** false。 :return: The disable_flag of this TenantQueryViewDTO. :rtype: bool @@ -270,7 +270,7 @@ def disable_flag(self): def disable_flag(self, disable_flag): """Sets the disable_flag of this TenantQueryViewDTO. - 失效标识。 - true:失效。 - false:未失效。 + **参数解释:** 失效标识。 **取值范围:** - true:失效。 - false:未失效。 **默认取值:** false。 :param disable_flag: The disable_flag of this TenantQueryViewDTO. :type disable_flag: bool @@ -281,7 +281,7 @@ def disable_flag(self, disable_flag): def id(self): """Gets the id of this TenantQueryViewDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The id of this TenantQueryViewDTO. :rtype: str @@ -292,7 +292,7 @@ def id(self): def id(self, id): """Sets the id of this TenantQueryViewDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param id: The id of this TenantQueryViewDTO. :type id: str @@ -303,7 +303,7 @@ def id(self, id): def last_update_time(self): """Gets the last_update_time of this TenantQueryViewDTO. - 最后更新时间。 + **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The last_update_time of this TenantQueryViewDTO. :rtype: str @@ -314,7 +314,7 @@ def last_update_time(self): def last_update_time(self, last_update_time): """Sets the last_update_time of this TenantQueryViewDTO. - 最后更新时间。 + **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param last_update_time: The last_update_time of this TenantQueryViewDTO. :type last_update_time: str @@ -325,7 +325,7 @@ def last_update_time(self, last_update_time): def modifier(self): """Gets the modifier of this TenantQueryViewDTO. - 修改人。 + **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The modifier of this TenantQueryViewDTO. :rtype: str @@ -336,7 +336,7 @@ def modifier(self): def modifier(self, modifier): """Sets the modifier of this TenantQueryViewDTO. - 修改人。 + **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param modifier: The modifier of this TenantQueryViewDTO. :type modifier: str @@ -347,7 +347,7 @@ def modifier(self, modifier): def name(self): """Gets the name of this TenantQueryViewDTO. - 中文名称。 + **参数解释:** 中文名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The name of this TenantQueryViewDTO. :rtype: str @@ -358,7 +358,7 @@ def name(self): def name(self, name): """Sets the name of this TenantQueryViewDTO. - 中文名称。 + **参数解释:** 中文名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param name: The name of this TenantQueryViewDTO. :type name: str @@ -369,7 +369,7 @@ def name(self, name): def rdm_extension_type(self): """Gets the rdm_extension_type of this TenantQueryViewDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The rdm_extension_type of this TenantQueryViewDTO. :rtype: str @@ -380,7 +380,7 @@ def rdm_extension_type(self): def rdm_extension_type(self, rdm_extension_type): """Sets the rdm_extension_type of this TenantQueryViewDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param rdm_extension_type: The rdm_extension_type of this TenantQueryViewDTO. :type rdm_extension_type: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/tenant_view_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/tenant_view_dto.py index 2a0d6868c1..8e910c4642 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/tenant_view_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/tenant_view_dto.py @@ -61,37 +61,37 @@ def __init__(self, class_name=None, code=None, create_time=None, creator=None, d The model defined in huaweicloud sdk - :param class_name: 类名。 + :param class_name: **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type class_name: str - :param code: 租户编码。 + :param code: **参数解释:** 租户编码。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type code: str - :param create_time: 创建时间。 + :param create_time: **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type create_time: str - :param creator: 创建者。 + :param creator: **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type creator: str - :param data_source: 租户使用的数据源名称。 + :param data_source: **参数解释:** 租户使用的数据源名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data_source: str - :param description: 描述信息。 + :param description: **参数解释:** 描述信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type description: str - :param disable_flag: 失效标识。 - true:失效。 - false:未失效。 + :param disable_flag: **参数解释:** 失效标识。 **取值范围:** - true:失效。 - false:未失效。 **默认取值:** false。 :type disable_flag: bool - :param id: 唯一标识。 + :param id: **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type id: str - :param kiaguid: KIA密级。 + :param kiaguid: **参数解释:** KIA密级。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type kiaguid: str - :param last_update_time: 最后更新时间。 + :param last_update_time: **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type last_update_time: str - :param modifier: 修改人。 + :param modifier: **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type modifier: str - :param name: 中文名称。 + :param name: **参数解释:** 中文名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type name: str - :param rdm_delete_flag: 软删除标识,参数值为0或1。 - 0:表示未删除。 - 1:表示已删除。 + :param rdm_delete_flag: **参数解释:** 软删除标识。 **取值范围:** - 0:表示未删除。 - 1:表示已删除。 **默认取值:** 0。 :type rdm_delete_flag: int - :param rdm_extension_type: 扩展类型。 + :param rdm_extension_type: **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type rdm_extension_type: str - :param rdm_version: 系统版本。 + :param rdm_version: **参数解释:** 系统版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type rdm_version: int - :param security_level: 安全密级。 - INTERNAL:内部公开。 - SECRET:秘密。 - CONFIDENTIAL:机密。 - TOP_SECRET:绝密。 + :param security_level: **参数解释:** 安全密级。 **取值范围:** - INTERNAL:内部公开。 - SECRET:秘密。 - CONFIDENTIAL:机密。 - TOP_SECRET:绝密。 **默认取值:** 不涉及。 :type security_level: str :param tenant: :type tenant: :class:`huaweicloudsdkidmeclassicapi.v1.TenantViewDTO` @@ -155,7 +155,7 @@ def __init__(self, class_name=None, code=None, create_time=None, creator=None, d def class_name(self): """Gets the class_name of this TenantViewDTO. - 类名。 + **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The class_name of this TenantViewDTO. :rtype: str @@ -166,7 +166,7 @@ def class_name(self): def class_name(self, class_name): """Sets the class_name of this TenantViewDTO. - 类名。 + **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param class_name: The class_name of this TenantViewDTO. :type class_name: str @@ -177,7 +177,7 @@ def class_name(self, class_name): def code(self): """Gets the code of this TenantViewDTO. - 租户编码。 + **参数解释:** 租户编码。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The code of this TenantViewDTO. :rtype: str @@ -188,7 +188,7 @@ def code(self): def code(self, code): """Sets the code of this TenantViewDTO. - 租户编码。 + **参数解释:** 租户编码。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param code: The code of this TenantViewDTO. :type code: str @@ -199,7 +199,7 @@ def code(self, code): def create_time(self): """Gets the create_time of this TenantViewDTO. - 创建时间。 + **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The create_time of this TenantViewDTO. :rtype: str @@ -210,7 +210,7 @@ def create_time(self): def create_time(self, create_time): """Sets the create_time of this TenantViewDTO. - 创建时间。 + **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param create_time: The create_time of this TenantViewDTO. :type create_time: str @@ -221,7 +221,7 @@ def create_time(self, create_time): def creator(self): """Gets the creator of this TenantViewDTO. - 创建者。 + **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The creator of this TenantViewDTO. :rtype: str @@ -232,7 +232,7 @@ def creator(self): def creator(self, creator): """Sets the creator of this TenantViewDTO. - 创建者。 + **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param creator: The creator of this TenantViewDTO. :type creator: str @@ -243,7 +243,7 @@ def creator(self, creator): def data_source(self): """Gets the data_source of this TenantViewDTO. - 租户使用的数据源名称。 + **参数解释:** 租户使用的数据源名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data_source of this TenantViewDTO. :rtype: str @@ -254,7 +254,7 @@ def data_source(self): def data_source(self, data_source): """Sets the data_source of this TenantViewDTO. - 租户使用的数据源名称。 + **参数解释:** 租户使用的数据源名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data_source: The data_source of this TenantViewDTO. :type data_source: str @@ -265,7 +265,7 @@ def data_source(self, data_source): def description(self): """Gets the description of this TenantViewDTO. - 描述信息。 + **参数解释:** 描述信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The description of this TenantViewDTO. :rtype: str @@ -276,7 +276,7 @@ def description(self): def description(self, description): """Sets the description of this TenantViewDTO. - 描述信息。 + **参数解释:** 描述信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param description: The description of this TenantViewDTO. :type description: str @@ -287,7 +287,7 @@ def description(self, description): def disable_flag(self): """Gets the disable_flag of this TenantViewDTO. - 失效标识。 - true:失效。 - false:未失效。 + **参数解释:** 失效标识。 **取值范围:** - true:失效。 - false:未失效。 **默认取值:** false。 :return: The disable_flag of this TenantViewDTO. :rtype: bool @@ -298,7 +298,7 @@ def disable_flag(self): def disable_flag(self, disable_flag): """Sets the disable_flag of this TenantViewDTO. - 失效标识。 - true:失效。 - false:未失效。 + **参数解释:** 失效标识。 **取值范围:** - true:失效。 - false:未失效。 **默认取值:** false。 :param disable_flag: The disable_flag of this TenantViewDTO. :type disable_flag: bool @@ -309,7 +309,7 @@ def disable_flag(self, disable_flag): def id(self): """Gets the id of this TenantViewDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The id of this TenantViewDTO. :rtype: str @@ -320,7 +320,7 @@ def id(self): def id(self, id): """Sets the id of this TenantViewDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param id: The id of this TenantViewDTO. :type id: str @@ -331,7 +331,7 @@ def id(self, id): def kiaguid(self): """Gets the kiaguid of this TenantViewDTO. - KIA密级。 + **参数解释:** KIA密级。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The kiaguid of this TenantViewDTO. :rtype: str @@ -342,7 +342,7 @@ def kiaguid(self): def kiaguid(self, kiaguid): """Sets the kiaguid of this TenantViewDTO. - KIA密级。 + **参数解释:** KIA密级。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param kiaguid: The kiaguid of this TenantViewDTO. :type kiaguid: str @@ -353,7 +353,7 @@ def kiaguid(self, kiaguid): def last_update_time(self): """Gets the last_update_time of this TenantViewDTO. - 最后更新时间。 + **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The last_update_time of this TenantViewDTO. :rtype: str @@ -364,7 +364,7 @@ def last_update_time(self): def last_update_time(self, last_update_time): """Sets the last_update_time of this TenantViewDTO. - 最后更新时间。 + **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param last_update_time: The last_update_time of this TenantViewDTO. :type last_update_time: str @@ -375,7 +375,7 @@ def last_update_time(self, last_update_time): def modifier(self): """Gets the modifier of this TenantViewDTO. - 修改人。 + **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The modifier of this TenantViewDTO. :rtype: str @@ -386,7 +386,7 @@ def modifier(self): def modifier(self, modifier): """Sets the modifier of this TenantViewDTO. - 修改人。 + **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param modifier: The modifier of this TenantViewDTO. :type modifier: str @@ -397,7 +397,7 @@ def modifier(self, modifier): def name(self): """Gets the name of this TenantViewDTO. - 中文名称。 + **参数解释:** 中文名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The name of this TenantViewDTO. :rtype: str @@ -408,7 +408,7 @@ def name(self): def name(self, name): """Sets the name of this TenantViewDTO. - 中文名称。 + **参数解释:** 中文名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param name: The name of this TenantViewDTO. :type name: str @@ -419,7 +419,7 @@ def name(self, name): def rdm_delete_flag(self): """Gets the rdm_delete_flag of this TenantViewDTO. - 软删除标识,参数值为0或1。 - 0:表示未删除。 - 1:表示已删除。 + **参数解释:** 软删除标识。 **取值范围:** - 0:表示未删除。 - 1:表示已删除。 **默认取值:** 0。 :return: The rdm_delete_flag of this TenantViewDTO. :rtype: int @@ -430,7 +430,7 @@ def rdm_delete_flag(self): def rdm_delete_flag(self, rdm_delete_flag): """Sets the rdm_delete_flag of this TenantViewDTO. - 软删除标识,参数值为0或1。 - 0:表示未删除。 - 1:表示已删除。 + **参数解释:** 软删除标识。 **取值范围:** - 0:表示未删除。 - 1:表示已删除。 **默认取值:** 0。 :param rdm_delete_flag: The rdm_delete_flag of this TenantViewDTO. :type rdm_delete_flag: int @@ -441,7 +441,7 @@ def rdm_delete_flag(self, rdm_delete_flag): def rdm_extension_type(self): """Gets the rdm_extension_type of this TenantViewDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The rdm_extension_type of this TenantViewDTO. :rtype: str @@ -452,7 +452,7 @@ def rdm_extension_type(self): def rdm_extension_type(self, rdm_extension_type): """Sets the rdm_extension_type of this TenantViewDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param rdm_extension_type: The rdm_extension_type of this TenantViewDTO. :type rdm_extension_type: str @@ -463,7 +463,7 @@ def rdm_extension_type(self, rdm_extension_type): def rdm_version(self): """Gets the rdm_version of this TenantViewDTO. - 系统版本。 + **参数解释:** 系统版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The rdm_version of this TenantViewDTO. :rtype: int @@ -474,7 +474,7 @@ def rdm_version(self): def rdm_version(self, rdm_version): """Sets the rdm_version of this TenantViewDTO. - 系统版本。 + **参数解释:** 系统版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param rdm_version: The rdm_version of this TenantViewDTO. :type rdm_version: int @@ -485,7 +485,7 @@ def rdm_version(self, rdm_version): def security_level(self): """Gets the security_level of this TenantViewDTO. - 安全密级。 - INTERNAL:内部公开。 - SECRET:秘密。 - CONFIDENTIAL:机密。 - TOP_SECRET:绝密。 + **参数解释:** 安全密级。 **取值范围:** - INTERNAL:内部公开。 - SECRET:秘密。 - CONFIDENTIAL:机密。 - TOP_SECRET:绝密。 **默认取值:** 不涉及。 :return: The security_level of this TenantViewDTO. :rtype: str @@ -496,7 +496,7 @@ def security_level(self): def security_level(self, security_level): """Sets the security_level of this TenantViewDTO. - 安全密级。 - INTERNAL:内部公开。 - SECRET:秘密。 - CONFIDENTIAL:机密。 - TOP_SECRET:绝密。 + **参数解释:** 安全密级。 **取值范围:** - INTERNAL:内部公开。 - SECRET:秘密。 - CONFIDENTIAL:机密。 - TOP_SECRET:绝密。 **默认取值:** 不涉及。 :param security_level: The security_level of this TenantViewDTO. :type security_level: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/treeable_model_view_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/treeable_model_view_dto.py index 46b55a50f2..f47560231a 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/treeable_model_view_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/treeable_model_view_dto.py @@ -57,35 +57,35 @@ def __init__(self, id=None, creator=None, modifier=None, create_time=None, last_ The model defined in huaweicloud sdk - :param id: 实例ID。 + :param id: **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type id: str - :param creator: 创建人。 + :param creator: **参数解释:** 创建人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type creator: str - :param modifier: 修改人。 + :param modifier: **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type modifier: str - :param create_time: 创建时间。 + :param create_time: **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type create_time: str - :param last_update_time: 最新更新时间。 + :param last_update_time: **参数解释:** 最新更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type last_update_time: str - :param rdm_version: 系统版本。 + :param rdm_version: **参数解释:** 系统版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type rdm_version: int - :param rdm_delete_flag: 软删除标识,参数值为0或1。 - 0:表示未删除。 - 1:表示已删除。 + :param rdm_delete_flag: **参数解释:** 软删除标识,参数值为0或1。 **取值范围:** - 0:表示未删除。 - 1:表示已删除。 **默认取值:** 0。 :type rdm_delete_flag: int - :param rdm_extension_type: 扩展类型。 + :param rdm_extension_type: **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type rdm_extension_type: str :param tenant: :type tenant: :class:`huaweicloudsdkidmeclassicapi.v1.TenantViewDTO` - :param class_name: 类名。 + :param class_name: **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type class_name: str :param root_node: :type root_node: :class:`huaweicloudsdkidmeclassicapi.v1.ObjectReferenceViewDTO` :param parent_node: :type parent_node: :class:`huaweicloudsdkidmeclassicapi.v1.ObjectReferenceViewDTO` - :param leaf_flag: 是否为叶子节点。 - true:是叶子节点。 - false:不是叶子节点。 + :param leaf_flag: **参数解释:** 是否为叶子节点。 **取值范围:** - true:是叶子节点。 - false:不是叶子节点。 **默认取值:** 不涉及。 :type leaf_flag: bool - :param full_path: 用于存储当前节点全路径。 + :param full_path: **参数解释:** 用于存储当前节点全路径。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type full_path: str - :param raw_full_path: 用于存储当前节点原始全路径。 + :param raw_full_path: **参数解释:** 用于存储当前节点原始全路径。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type raw_full_path: str """ @@ -143,7 +143,7 @@ def __init__(self, id=None, creator=None, modifier=None, create_time=None, last_ def id(self): """Gets the id of this TreeableModelViewDTO. - 实例ID。 + **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The id of this TreeableModelViewDTO. :rtype: str @@ -154,7 +154,7 @@ def id(self): def id(self, id): """Sets the id of this TreeableModelViewDTO. - 实例ID。 + **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param id: The id of this TreeableModelViewDTO. :type id: str @@ -165,7 +165,7 @@ def id(self, id): def creator(self): """Gets the creator of this TreeableModelViewDTO. - 创建人。 + **参数解释:** 创建人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The creator of this TreeableModelViewDTO. :rtype: str @@ -176,7 +176,7 @@ def creator(self): def creator(self, creator): """Sets the creator of this TreeableModelViewDTO. - 创建人。 + **参数解释:** 创建人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param creator: The creator of this TreeableModelViewDTO. :type creator: str @@ -187,7 +187,7 @@ def creator(self, creator): def modifier(self): """Gets the modifier of this TreeableModelViewDTO. - 修改人。 + **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The modifier of this TreeableModelViewDTO. :rtype: str @@ -198,7 +198,7 @@ def modifier(self): def modifier(self, modifier): """Sets the modifier of this TreeableModelViewDTO. - 修改人。 + **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param modifier: The modifier of this TreeableModelViewDTO. :type modifier: str @@ -209,7 +209,7 @@ def modifier(self, modifier): def create_time(self): """Gets the create_time of this TreeableModelViewDTO. - 创建时间。 + **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The create_time of this TreeableModelViewDTO. :rtype: str @@ -220,7 +220,7 @@ def create_time(self): def create_time(self, create_time): """Sets the create_time of this TreeableModelViewDTO. - 创建时间。 + **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param create_time: The create_time of this TreeableModelViewDTO. :type create_time: str @@ -231,7 +231,7 @@ def create_time(self, create_time): def last_update_time(self): """Gets the last_update_time of this TreeableModelViewDTO. - 最新更新时间。 + **参数解释:** 最新更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The last_update_time of this TreeableModelViewDTO. :rtype: str @@ -242,7 +242,7 @@ def last_update_time(self): def last_update_time(self, last_update_time): """Sets the last_update_time of this TreeableModelViewDTO. - 最新更新时间。 + **参数解释:** 最新更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param last_update_time: The last_update_time of this TreeableModelViewDTO. :type last_update_time: str @@ -253,7 +253,7 @@ def last_update_time(self, last_update_time): def rdm_version(self): """Gets the rdm_version of this TreeableModelViewDTO. - 系统版本。 + **参数解释:** 系统版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The rdm_version of this TreeableModelViewDTO. :rtype: int @@ -264,7 +264,7 @@ def rdm_version(self): def rdm_version(self, rdm_version): """Sets the rdm_version of this TreeableModelViewDTO. - 系统版本。 + **参数解释:** 系统版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param rdm_version: The rdm_version of this TreeableModelViewDTO. :type rdm_version: int @@ -275,7 +275,7 @@ def rdm_version(self, rdm_version): def rdm_delete_flag(self): """Gets the rdm_delete_flag of this TreeableModelViewDTO. - 软删除标识,参数值为0或1。 - 0:表示未删除。 - 1:表示已删除。 + **参数解释:** 软删除标识,参数值为0或1。 **取值范围:** - 0:表示未删除。 - 1:表示已删除。 **默认取值:** 0。 :return: The rdm_delete_flag of this TreeableModelViewDTO. :rtype: int @@ -286,7 +286,7 @@ def rdm_delete_flag(self): def rdm_delete_flag(self, rdm_delete_flag): """Sets the rdm_delete_flag of this TreeableModelViewDTO. - 软删除标识,参数值为0或1。 - 0:表示未删除。 - 1:表示已删除。 + **参数解释:** 软删除标识,参数值为0或1。 **取值范围:** - 0:表示未删除。 - 1:表示已删除。 **默认取值:** 0。 :param rdm_delete_flag: The rdm_delete_flag of this TreeableModelViewDTO. :type rdm_delete_flag: int @@ -297,7 +297,7 @@ def rdm_delete_flag(self, rdm_delete_flag): def rdm_extension_type(self): """Gets the rdm_extension_type of this TreeableModelViewDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The rdm_extension_type of this TreeableModelViewDTO. :rtype: str @@ -308,7 +308,7 @@ def rdm_extension_type(self): def rdm_extension_type(self, rdm_extension_type): """Sets the rdm_extension_type of this TreeableModelViewDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param rdm_extension_type: The rdm_extension_type of this TreeableModelViewDTO. :type rdm_extension_type: str @@ -337,7 +337,7 @@ def tenant(self, tenant): def class_name(self): """Gets the class_name of this TreeableModelViewDTO. - 类名。 + **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The class_name of this TreeableModelViewDTO. :rtype: str @@ -348,7 +348,7 @@ def class_name(self): def class_name(self, class_name): """Sets the class_name of this TreeableModelViewDTO. - 类名。 + **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param class_name: The class_name of this TreeableModelViewDTO. :type class_name: str @@ -395,7 +395,7 @@ def parent_node(self, parent_node): def leaf_flag(self): """Gets the leaf_flag of this TreeableModelViewDTO. - 是否为叶子节点。 - true:是叶子节点。 - false:不是叶子节点。 + **参数解释:** 是否为叶子节点。 **取值范围:** - true:是叶子节点。 - false:不是叶子节点。 **默认取值:** 不涉及。 :return: The leaf_flag of this TreeableModelViewDTO. :rtype: bool @@ -406,7 +406,7 @@ def leaf_flag(self): def leaf_flag(self, leaf_flag): """Sets the leaf_flag of this TreeableModelViewDTO. - 是否为叶子节点。 - true:是叶子节点。 - false:不是叶子节点。 + **参数解释:** 是否为叶子节点。 **取值范围:** - true:是叶子节点。 - false:不是叶子节点。 **默认取值:** 不涉及。 :param leaf_flag: The leaf_flag of this TreeableModelViewDTO. :type leaf_flag: bool @@ -417,7 +417,7 @@ def leaf_flag(self, leaf_flag): def full_path(self): """Gets the full_path of this TreeableModelViewDTO. - 用于存储当前节点全路径。 + **参数解释:** 用于存储当前节点全路径。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The full_path of this TreeableModelViewDTO. :rtype: str @@ -428,7 +428,7 @@ def full_path(self): def full_path(self, full_path): """Sets the full_path of this TreeableModelViewDTO. - 用于存储当前节点全路径。 + **参数解释:** 用于存储当前节点全路径。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param full_path: The full_path of this TreeableModelViewDTO. :type full_path: str @@ -439,7 +439,7 @@ def full_path(self, full_path): def raw_full_path(self): """Gets the raw_full_path of this TreeableModelViewDTO. - 用于存储当前节点原始全路径。 + **参数解释:** 用于存储当前节点原始全路径。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The raw_full_path of this TreeableModelViewDTO. :rtype: str @@ -450,7 +450,7 @@ def raw_full_path(self): def raw_full_path(self, raw_full_path): """Sets the raw_full_path of this TreeableModelViewDTO. - 用于存储当前节点原始全路径。 + **参数解释:** 用于存储当前节点原始全路径。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param raw_full_path: The raw_full_path of this TreeableModelViewDTO. :type raw_full_path: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_and_checkin_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_and_checkin_request.py index 1e5b6f42f2..38bce35360 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_and_checkin_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_and_checkin_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the UpdateAndCheckinRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOVersionModelVersionUpdateAndCheckinDTOVersionModel` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this UpdateAndCheckinRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this UpdateAndCheckinRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this UpdateAndCheckinRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this UpdateAndCheckinRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this UpdateAndCheckinRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this UpdateAndCheckinRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this UpdateAndCheckinRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this UpdateAndCheckinRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_and_checkin_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_and_checkin_response.py index 31b4169516..c909109225 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_and_checkin_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_and_checkin_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this UpdateAndCheckinResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this UpdateAndCheckinResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this UpdateAndCheckinResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this UpdateAndCheckinResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this UpdateAndCheckinResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this UpdateAndCheckinResponse. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this UpdateAndCheckinResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this UpdateAndCheckinResponse. :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this UpdateAndCheckinResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this UpdateAndCheckinResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this UpdateAndCheckinResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this UpdateAndCheckinResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_and_revise_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_and_revise_request.py index 9bcc8d2051..8dcd1aea3d 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_and_revise_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_and_revise_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the UpdateAndReviseRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOVersionModelVersionReviseAndUpdateDTOVersionModel` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this UpdateAndReviseRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this UpdateAndReviseRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this UpdateAndReviseRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this UpdateAndReviseRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this UpdateAndReviseRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this UpdateAndReviseRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this UpdateAndReviseRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this UpdateAndReviseRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_and_revise_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_and_revise_response.py index a7ecd96838..03819049a8 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_and_revise_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_and_revise_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this UpdateAndReviseResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this UpdateAndReviseResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this UpdateAndReviseResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this UpdateAndReviseResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this UpdateAndReviseResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this UpdateAndReviseResponse. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this UpdateAndReviseResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this UpdateAndReviseResponse. :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this UpdateAndReviseResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this UpdateAndReviseResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this UpdateAndReviseResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this UpdateAndReviseResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_by_admin_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_by_admin_request.py index de706a24ac..02645030b8 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_by_admin_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_by_admin_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the UpdateByAdminRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOVersionModel` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this UpdateByAdminRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this UpdateByAdminRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this UpdateByAdminRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this UpdateByAdminRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this UpdateByAdminRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this UpdateByAdminRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this UpdateByAdminRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this UpdateByAdminRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_by_admin_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_by_admin_response.py index 2333c95f26..112545468a 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_by_admin_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_by_admin_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this UpdateByAdminResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this UpdateByAdminResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this UpdateByAdminResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this UpdateByAdminResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this UpdateByAdminResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this UpdateByAdminResponse. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this UpdateByAdminResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this UpdateByAdminResponse. :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelViewDTO`] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this UpdateByAdminResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this UpdateByAdminResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this UpdateByAdminResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this UpdateByAdminResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_by_condition_using_post_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_by_condition_using_post_request.py index 61a2e57363..700ffee0ad 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_by_condition_using_post_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_by_condition_using_post_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the UpdateByConditionUsingPostRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOUpdateByConditionVoPersistableModelUpdateDTO` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this UpdateByConditionUsingPostRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this UpdateByConditionUsingPostRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this UpdateByConditionUsingPostRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this UpdateByConditionUsingPostRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this UpdateByConditionUsingPostRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this UpdateByConditionUsingPostRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this UpdateByConditionUsingPostRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this UpdateByConditionUsingPostRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_by_condition_using_post_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_by_condition_using_post_response.py index 5ce1435f57..8772e83196 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_by_condition_using_post_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_by_condition_using_post_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.PersistableModelViewDTO`] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this UpdateByConditionUsingPostResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this UpdateByConditionUsingPostResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this UpdateByConditionUsingPostResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this UpdateByConditionUsingPostResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this UpdateByConditionUsingPostResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this UpdateByConditionUsingPostResponse. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.PersistableModelViewDTO`] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this UpdateByConditionUsingPostResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this UpdateByConditionUsingPostResponse. :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.PersistableModelViewDTO`] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this UpdateByConditionUsingPostResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this UpdateByConditionUsingPostResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this UpdateByConditionUsingPostResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this UpdateByConditionUsingPostResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_state_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_state_request.py index 4faea8146d..7c2abedfe2 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_state_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_state_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the UpdateStateRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOListLifecycleManagedModelUpdateLifecycleStateDTO` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this UpdateStateRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this UpdateStateRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this UpdateStateRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this UpdateStateRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this UpdateStateRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this UpdateStateRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this UpdateStateRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this UpdateStateRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_state_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_state_response.py index f9ab41c999..acfe94e744 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_state_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_state_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[object] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this UpdateStateResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this UpdateStateResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this UpdateStateResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this UpdateStateResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this UpdateStateResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this UpdateStateResponse. :rtype: list[object] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this UpdateStateResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this UpdateStateResponse. :type data: list[object] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this UpdateStateResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this UpdateStateResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this UpdateStateResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this UpdateStateResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_using_post_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_using_post_request.py index a974e52fb2..8678827911 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_using_post_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_using_post_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the UpdateUsingPostRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOPersistableModelUpdateDTO` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this UpdateUsingPostRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this UpdateUsingPostRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this UpdateUsingPostRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this UpdateUsingPostRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this UpdateUsingPostRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this UpdateUsingPostRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this UpdateUsingPostRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this UpdateUsingPostRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_using_post_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_using_post_response.py index 08bfdb003f..268af242ad 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_using_post_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_using_post_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.PersistableModelViewDTO`] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this UpdateUsingPostResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this UpdateUsingPostResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this UpdateUsingPostResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this UpdateUsingPostResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this UpdateUsingPostResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this UpdateUsingPostResponse. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.PersistableModelViewDTO`] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this UpdateUsingPostResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this UpdateUsingPostResponse. :type data: list[:class:`huaweicloudsdkidmeclassicapi.v1.PersistableModelViewDTO`] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this UpdateUsingPostResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this UpdateUsingPostResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this UpdateUsingPostResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this UpdateUsingPostResponse. :type errors: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_view_request.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_view_request.py index 8689ef81d8..f08fc3a639 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_view_request.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_view_request.py @@ -33,9 +33,9 @@ def __init__(self, identifier=None, model_name=None, body=None): The model defined in huaweicloud sdk - :param identifier: 应用ID。 + :param identifier: **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :type identifier: str - :param model_name: 数据模型的英文名称。 + :param model_name: **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :type model_name: str :param body: Body of the UpdateViewRequest :type body: :class:`huaweicloudsdkidmeclassicapi.v1.RDMParamVOVersionUpdateViewDTOMultiViewModelViewUpdateAttrDTO` @@ -57,7 +57,7 @@ def __init__(self, identifier=None, model_name=None, body=None): def identifier(self): """Gets the identifier of this UpdateViewRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :return: The identifier of this UpdateViewRequest. :rtype: str @@ -68,7 +68,7 @@ def identifier(self): def identifier(self, identifier): """Sets the identifier of this UpdateViewRequest. - 应用ID。 + **参数解释:** 应用唯一标识。 **约束限制:** 不涉及。 **取值范围:** 由英文字母和数字组成,且长度为32个字符。 **默认取值:** 不涉及。 :param identifier: The identifier of this UpdateViewRequest. :type identifier: str @@ -79,7 +79,7 @@ def identifier(self, identifier): def model_name(self): """Gets the model_name of this UpdateViewRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :return: The model_name of this UpdateViewRequest. :rtype: str @@ -90,7 +90,7 @@ def model_name(self): def model_name(self, model_name): """Sets the model_name of this UpdateViewRequest. - 数据模型的英文名称。 + **参数解释:** 数据模型的英文名称。 **约束限制:** 不涉及。 **取值范围:** 大写字母开头,只能包含字母、数字、\"_\",且长度为[1-60]个字符。 **默认取值:** 不涉及。 :param model_name: The model_name of this UpdateViewRequest. :type model_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_view_response.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_view_response.py index 9de78be528..4a32a5aa68 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_view_response.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/update_view_response.py @@ -34,11 +34,11 @@ def __init__(self, result=None, data=None, errors=None): The model defined in huaweicloud sdk - :param result: 请求结果。 + :param result: **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :type result: str - :param data: 请求数据。 + :param data: **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type data: list[int] - :param errors: 异常信息。 + :param errors: **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type errors: list[str] """ @@ -60,7 +60,7 @@ def __init__(self, result=None, data=None, errors=None): def result(self): """Gets the result of this UpdateViewResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :return: The result of this UpdateViewResponse. :rtype: str @@ -71,7 +71,7 @@ def result(self): def result(self, result): """Sets the result of this UpdateViewResponse. - 请求结果。 + **参数解释:** 请求结果。 **取值范围:** - SUCCESS:请求成功。 - FAIL:请求失败。 **默认取值:** 不涉及。 :param result: The result of this UpdateViewResponse. :type result: str @@ -82,7 +82,7 @@ def result(self, result): def data(self): """Gets the data of this UpdateViewResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The data of this UpdateViewResponse. :rtype: list[int] @@ -93,7 +93,7 @@ def data(self): def data(self, data): """Sets the data of this UpdateViewResponse. - 请求数据。 + **参数解释:** 请求数据。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param data: The data of this UpdateViewResponse. :type data: list[int] @@ -104,7 +104,7 @@ def data(self, data): def errors(self): """Gets the errors of this UpdateViewResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The errors of this UpdateViewResponse. :rtype: list[str] @@ -115,7 +115,7 @@ def errors(self): def errors(self, errors): """Sets the errors of this UpdateViewResponse. - 异常信息。 + **参数解释:** 异常信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param errors: The errors of this UpdateViewResponse. :type errors: list[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 1b00a47aca..fa421b226c 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 @@ -31,9 +31,9 @@ def __init__(self, master_ids=None, modifier=None): The model defined in huaweicloud sdk - :param master_ids: 主对象集合。 + :param master_ids: **参数解释:** 主对象集合。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type master_ids: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelMasterIdsDTO`] - :param modifier: 更新者。 + :param modifier: **参数解释:** 更新者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type modifier: str """ @@ -51,7 +51,7 @@ def __init__(self, master_ids=None, modifier=None): def master_ids(self): """Gets the master_ids of this VersionMasterIdsDtoVersionModelVersionMasterDTO. - 主对象集合。 + **参数解释:** 主对象集合。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The master_ids of this VersionMasterIdsDtoVersionModelVersionMasterDTO. :rtype: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelMasterIdsDTO`] @@ -62,7 +62,7 @@ def master_ids(self): def master_ids(self, master_ids): """Sets the master_ids of this VersionMasterIdsDtoVersionModelVersionMasterDTO. - 主对象集合。 + **参数解释:** 主对象集合。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param master_ids: The master_ids of this VersionMasterIdsDtoVersionModelVersionMasterDTO. :type master_ids: list[:class:`huaweicloudsdkidmeclassicapi.v1.VersionModelMasterIdsDTO`] @@ -73,7 +73,7 @@ def master_ids(self, master_ids): def modifier(self): """Gets the modifier of this VersionMasterIdsDtoVersionModelVersionMasterDTO. - 更新者。 + **参数解释:** 更新者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The modifier of this VersionMasterIdsDtoVersionModelVersionMasterDTO. :rtype: str @@ -84,7 +84,7 @@ def modifier(self): def modifier(self, modifier): """Sets the modifier of this VersionMasterIdsDtoVersionModelVersionMasterDTO. - 更新者。 + **参数解释:** 更新者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param modifier: The modifier of this VersionMasterIdsDtoVersionModelVersionMasterDTO. :type modifier: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model.py index c0bcfbfa8b..ec6b9cc17c 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model.py @@ -59,33 +59,33 @@ def __init__(self, branch=None, check_out_time=None, check_out_user_name=None, c :param branch: :type branch: :class:`huaweicloudsdkidmeclassicapi.v1.VersionModelBranch` - :param check_out_time: 检出时间。 + :param check_out_time: **参数解释:** 检出时间。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type check_out_time: str - :param check_out_user_name: 检出用户名称。 + :param check_out_user_name: **参数解释:** 检出用户名称。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type check_out_user_name: str - :param create_time: 创建时间。 + :param create_time: **参数解释:** 创建时间。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type create_time: str - :param creator: 创建者。 + :param creator: **参数解释:** 创建者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type creator: str - :param description: 描述信息。 + :param description: **参数解释:** 描述信息。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type description: str - :param id: 唯一标识。 + :param id: **参数解释:** 唯一标识。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type id: str - :param kiaguid: 关键信息资产ID。 + :param kiaguid: **参数解释:** 关键信息资产ID。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type kiaguid: str - :param last_update_time: 最后更新时间。 + :param last_update_time: **参数解释:** 最后更新时间。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type last_update_time: str :param master: :type master: :class:`huaweicloudsdkidmeclassicapi.v1.VersionModelMaster` - :param modifier: 更新者。 + :param modifier: **参数解释:** 更新者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type modifier: str - :param name: 中文名称。 + :param name: **参数解释:** 中文名称。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type name: str - :param need_set_null_attrs: 设置NULL值的属性名称。 + :param need_set_null_attrs: **参数解释:** 设置NULL值的属性名称。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type need_set_null_attrs: list[str] - :param rdm_extension_type: 扩展类型。 + :param rdm_extension_type: **参数解释:** 扩展类型。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type rdm_extension_type: str - :param security_level: 安全密级。 - INTERNAL:内部公开。 - SECRET:秘密。 - CONFIDENTIAL:机密。 - TOP_SECRET:绝密。 + :param security_level: **参数解释:** 安全密级。 **约束限制:** 不涉及。 **取值范围:** - INTERNAL:内部公开。 - SECRET:秘密。 - CONFIDENTIAL:机密。 - TOP_SECRET:绝密。 **默认取值:** 不涉及。 :type security_level: str """ @@ -161,7 +161,7 @@ def branch(self, branch): def check_out_time(self): """Gets the check_out_time of this VersionModel. - 检出时间。 + **参数解释:** 检出时间。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The check_out_time of this VersionModel. :rtype: str @@ -172,7 +172,7 @@ def check_out_time(self): def check_out_time(self, check_out_time): """Sets the check_out_time of this VersionModel. - 检出时间。 + **参数解释:** 检出时间。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param check_out_time: The check_out_time of this VersionModel. :type check_out_time: str @@ -183,7 +183,7 @@ def check_out_time(self, check_out_time): def check_out_user_name(self): """Gets the check_out_user_name of this VersionModel. - 检出用户名称。 + **参数解释:** 检出用户名称。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The check_out_user_name of this VersionModel. :rtype: str @@ -194,7 +194,7 @@ def check_out_user_name(self): def check_out_user_name(self, check_out_user_name): """Sets the check_out_user_name of this VersionModel. - 检出用户名称。 + **参数解释:** 检出用户名称。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param check_out_user_name: The check_out_user_name of this VersionModel. :type check_out_user_name: str @@ -205,7 +205,7 @@ def check_out_user_name(self, check_out_user_name): def create_time(self): """Gets the create_time of this VersionModel. - 创建时间。 + **参数解释:** 创建时间。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The create_time of this VersionModel. :rtype: str @@ -216,7 +216,7 @@ def create_time(self): def create_time(self, create_time): """Sets the create_time of this VersionModel. - 创建时间。 + **参数解释:** 创建时间。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param create_time: The create_time of this VersionModel. :type create_time: str @@ -227,7 +227,7 @@ def create_time(self, create_time): def creator(self): """Gets the creator of this VersionModel. - 创建者。 + **参数解释:** 创建者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The creator of this VersionModel. :rtype: str @@ -238,7 +238,7 @@ def creator(self): def creator(self, creator): """Sets the creator of this VersionModel. - 创建者。 + **参数解释:** 创建者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param creator: The creator of this VersionModel. :type creator: str @@ -249,7 +249,7 @@ def creator(self, creator): def description(self): """Gets the description of this VersionModel. - 描述信息。 + **参数解释:** 描述信息。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The description of this VersionModel. :rtype: str @@ -260,7 +260,7 @@ def description(self): def description(self, description): """Sets the description of this VersionModel. - 描述信息。 + **参数解释:** 描述信息。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param description: The description of this VersionModel. :type description: str @@ -271,7 +271,7 @@ def description(self, description): def id(self): """Gets the id of this VersionModel. - 唯一标识。 + **参数解释:** 唯一标识。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The id of this VersionModel. :rtype: str @@ -282,7 +282,7 @@ def id(self): def id(self, id): """Sets the id of this VersionModel. - 唯一标识。 + **参数解释:** 唯一标识。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param id: The id of this VersionModel. :type id: str @@ -293,7 +293,7 @@ def id(self, id): def kiaguid(self): """Gets the kiaguid of this VersionModel. - 关键信息资产ID。 + **参数解释:** 关键信息资产ID。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The kiaguid of this VersionModel. :rtype: str @@ -304,7 +304,7 @@ def kiaguid(self): def kiaguid(self, kiaguid): """Sets the kiaguid of this VersionModel. - 关键信息资产ID。 + **参数解释:** 关键信息资产ID。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param kiaguid: The kiaguid of this VersionModel. :type kiaguid: str @@ -315,7 +315,7 @@ def kiaguid(self, kiaguid): def last_update_time(self): """Gets the last_update_time of this VersionModel. - 最后更新时间。 + **参数解释:** 最后更新时间。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The last_update_time of this VersionModel. :rtype: str @@ -326,7 +326,7 @@ def last_update_time(self): def last_update_time(self, last_update_time): """Sets the last_update_time of this VersionModel. - 最后更新时间。 + **参数解释:** 最后更新时间。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param last_update_time: The last_update_time of this VersionModel. :type last_update_time: str @@ -355,7 +355,7 @@ def master(self, master): def modifier(self): """Gets the modifier of this VersionModel. - 更新者。 + **参数解释:** 更新者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The modifier of this VersionModel. :rtype: str @@ -366,7 +366,7 @@ def modifier(self): def modifier(self, modifier): """Sets the modifier of this VersionModel. - 更新者。 + **参数解释:** 更新者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param modifier: The modifier of this VersionModel. :type modifier: str @@ -377,7 +377,7 @@ def modifier(self, modifier): def name(self): """Gets the name of this VersionModel. - 中文名称。 + **参数解释:** 中文名称。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The name of this VersionModel. :rtype: str @@ -388,7 +388,7 @@ def name(self): def name(self, name): """Sets the name of this VersionModel. - 中文名称。 + **参数解释:** 中文名称。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param name: The name of this VersionModel. :type name: str @@ -399,7 +399,7 @@ def name(self, name): def need_set_null_attrs(self): """Gets the need_set_null_attrs of this VersionModel. - 设置NULL值的属性名称。 + **参数解释:** 设置NULL值的属性名称。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The need_set_null_attrs of this VersionModel. :rtype: list[str] @@ -410,7 +410,7 @@ def need_set_null_attrs(self): def need_set_null_attrs(self, need_set_null_attrs): """Sets the need_set_null_attrs of this VersionModel. - 设置NULL值的属性名称。 + **参数解释:** 设置NULL值的属性名称。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param need_set_null_attrs: The need_set_null_attrs of this VersionModel. :type need_set_null_attrs: list[str] @@ -421,7 +421,7 @@ def need_set_null_attrs(self, need_set_null_attrs): def rdm_extension_type(self): """Gets the rdm_extension_type of this VersionModel. - 扩展类型。 + **参数解释:** 扩展类型。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The rdm_extension_type of this VersionModel. :rtype: str @@ -432,7 +432,7 @@ def rdm_extension_type(self): def rdm_extension_type(self, rdm_extension_type): """Sets the rdm_extension_type of this VersionModel. - 扩展类型。 + **参数解释:** 扩展类型。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param rdm_extension_type: The rdm_extension_type of this VersionModel. :type rdm_extension_type: str @@ -443,7 +443,7 @@ def rdm_extension_type(self, rdm_extension_type): def security_level(self): """Gets the security_level of this VersionModel. - 安全密级。 - INTERNAL:内部公开。 - SECRET:秘密。 - CONFIDENTIAL:机密。 - TOP_SECRET:绝密。 + **参数解释:** 安全密级。 **约束限制:** 不涉及。 **取值范围:** - INTERNAL:内部公开。 - SECRET:秘密。 - CONFIDENTIAL:机密。 - TOP_SECRET:绝密。 **默认取值:** 不涉及。 :return: The security_level of this VersionModel. :rtype: str @@ -454,7 +454,7 @@ def security_level(self): def security_level(self, security_level): """Sets the security_level of this VersionModel. - 安全密级。 - INTERNAL:内部公开。 - SECRET:秘密。 - CONFIDENTIAL:机密。 - TOP_SECRET:绝密。 + **参数解释:** 安全密级。 **约束限制:** 不涉及。 **取值范围:** - INTERNAL:内部公开。 - SECRET:秘密。 - CONFIDENTIAL:机密。 - TOP_SECRET:绝密。 **默认取值:** 不涉及。 :param security_level: The security_level of this VersionModel. :type security_level: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_branch.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_branch.py index 47910b31c8..5bd2679812 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_branch.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_branch.py @@ -41,19 +41,19 @@ def __init__(self, create_time=None, creator=None, id=None, last_update_time=Non The model defined in huaweicloud sdk - :param create_time: 创建时间。 + :param create_time: **参数解释:** 创建时间。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type create_time: str - :param creator: 创建者。 + :param creator: **参数解释:** 创建者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type creator: str - :param id: 唯一标识。 + :param id: **参数解释:** 唯一标识。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type id: str - :param last_update_time: 最后更新时间。 + :param last_update_time: **参数解释:** 最后更新时间。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type last_update_time: str - :param modifier: 更新者。 + :param modifier: **参数解释:** 更新者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type modifier: str - :param need_set_null_attrs: 设置NULL值的属性名称。 + :param need_set_null_attrs: **参数解释:** 设置NULL值的属性名称。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type need_set_null_attrs: list[str] - :param rdm_extension_type: 扩展类型。 + :param rdm_extension_type: **参数解释:** 扩展类型。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type rdm_extension_type: str """ @@ -87,7 +87,7 @@ def __init__(self, create_time=None, creator=None, id=None, last_update_time=Non def create_time(self): """Gets the create_time of this VersionModelBranch. - 创建时间。 + **参数解释:** 创建时间。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The create_time of this VersionModelBranch. :rtype: str @@ -98,7 +98,7 @@ def create_time(self): def create_time(self, create_time): """Sets the create_time of this VersionModelBranch. - 创建时间。 + **参数解释:** 创建时间。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param create_time: The create_time of this VersionModelBranch. :type create_time: str @@ -109,7 +109,7 @@ def create_time(self, create_time): def creator(self): """Gets the creator of this VersionModelBranch. - 创建者。 + **参数解释:** 创建者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The creator of this VersionModelBranch. :rtype: str @@ -120,7 +120,7 @@ def creator(self): def creator(self, creator): """Sets the creator of this VersionModelBranch. - 创建者。 + **参数解释:** 创建者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param creator: The creator of this VersionModelBranch. :type creator: str @@ -131,7 +131,7 @@ def creator(self, creator): def id(self): """Gets the id of this VersionModelBranch. - 唯一标识。 + **参数解释:** 唯一标识。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The id of this VersionModelBranch. :rtype: str @@ -142,7 +142,7 @@ def id(self): def id(self, id): """Sets the id of this VersionModelBranch. - 唯一标识。 + **参数解释:** 唯一标识。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param id: The id of this VersionModelBranch. :type id: str @@ -153,7 +153,7 @@ def id(self, id): def last_update_time(self): """Gets the last_update_time of this VersionModelBranch. - 最后更新时间。 + **参数解释:** 最后更新时间。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The last_update_time of this VersionModelBranch. :rtype: str @@ -164,7 +164,7 @@ def last_update_time(self): def last_update_time(self, last_update_time): """Sets the last_update_time of this VersionModelBranch. - 最后更新时间。 + **参数解释:** 最后更新时间。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param last_update_time: The last_update_time of this VersionModelBranch. :type last_update_time: str @@ -175,7 +175,7 @@ def last_update_time(self, last_update_time): def modifier(self): """Gets the modifier of this VersionModelBranch. - 更新者。 + **参数解释:** 更新者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The modifier of this VersionModelBranch. :rtype: str @@ -186,7 +186,7 @@ def modifier(self): def modifier(self, modifier): """Sets the modifier of this VersionModelBranch. - 更新者。 + **参数解释:** 更新者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param modifier: The modifier of this VersionModelBranch. :type modifier: str @@ -197,7 +197,7 @@ def modifier(self, modifier): def need_set_null_attrs(self): """Gets the need_set_null_attrs of this VersionModelBranch. - 设置NULL值的属性名称。 + **参数解释:** 设置NULL值的属性名称。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The need_set_null_attrs of this VersionModelBranch. :rtype: list[str] @@ -208,7 +208,7 @@ def need_set_null_attrs(self): def need_set_null_attrs(self, need_set_null_attrs): """Sets the need_set_null_attrs of this VersionModelBranch. - 设置NULL值的属性名称。 + **参数解释:** 设置NULL值的属性名称。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param need_set_null_attrs: The need_set_null_attrs of this VersionModelBranch. :type need_set_null_attrs: list[str] @@ -219,7 +219,7 @@ def need_set_null_attrs(self, need_set_null_attrs): def rdm_extension_type(self): """Gets the rdm_extension_type of this VersionModelBranch. - 扩展类型。 + **参数解释:** 扩展类型。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The rdm_extension_type of this VersionModelBranch. :rtype: str @@ -230,7 +230,7 @@ def rdm_extension_type(self): def rdm_extension_type(self, rdm_extension_type): """Sets the rdm_extension_type of this VersionModelBranch. - 扩展类型。 + **参数解释:** 扩展类型。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param rdm_extension_type: The rdm_extension_type of this VersionModelBranch. :type rdm_extension_type: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_branch_view_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_branch_view_dto.py index 29465844e3..9871ffaa2f 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_branch_view_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_branch_view_dto.py @@ -49,27 +49,27 @@ def __init__(self, class_name=None, create_time=None, creator=None, id=None, las The model defined in huaweicloud sdk - :param class_name: 类名。 + :param class_name: **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type class_name: str - :param create_time: 创建时间。 + :param create_time: **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type create_time: str - :param creator: 创建者。 + :param creator: **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type creator: str - :param id: 唯一标识。 + :param id: **参数解释:** 唯一标识。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type id: str - :param last_update_time: 最后更新时间。 + :param last_update_time: **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type last_update_time: object - :param modifier: 修改人。 + :param modifier: **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type modifier: str - :param rdm_delete_flag: 软删除标识,参数值为0或1。 - 0:表示未删除。 - 1:表示已删除。 + :param rdm_delete_flag: **参数解释:** 软删除标识。 **取值范围:** - 0:表示未删除。 - 1:表示已删除。 **默认取值:** 0。 :type rdm_delete_flag: int - :param rdm_extension_type: 扩展类型。 + :param rdm_extension_type: **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type rdm_extension_type: str - :param rdm_version: 系统版本。 + :param rdm_version: **参数解释:** 系统版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type rdm_version: int :param tenant: :type tenant: :class:`huaweicloudsdkidmeclassicapi.v1.TenantViewDTO` - :param version: 版本号。 + :param version: **参数解释:** 版本号。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type version: str """ @@ -115,7 +115,7 @@ def __init__(self, class_name=None, create_time=None, creator=None, id=None, las def class_name(self): """Gets the class_name of this VersionModelBranchViewDTO. - 类名。 + **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The class_name of this VersionModelBranchViewDTO. :rtype: str @@ -126,7 +126,7 @@ def class_name(self): def class_name(self, class_name): """Sets the class_name of this VersionModelBranchViewDTO. - 类名。 + **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param class_name: The class_name of this VersionModelBranchViewDTO. :type class_name: str @@ -137,7 +137,7 @@ def class_name(self, class_name): def create_time(self): """Gets the create_time of this VersionModelBranchViewDTO. - 创建时间。 + **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The create_time of this VersionModelBranchViewDTO. :rtype: str @@ -148,7 +148,7 @@ def create_time(self): def create_time(self, create_time): """Sets the create_time of this VersionModelBranchViewDTO. - 创建时间。 + **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param create_time: The create_time of this VersionModelBranchViewDTO. :type create_time: str @@ -159,7 +159,7 @@ def create_time(self, create_time): def creator(self): """Gets the creator of this VersionModelBranchViewDTO. - 创建者。 + **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The creator of this VersionModelBranchViewDTO. :rtype: str @@ -170,7 +170,7 @@ def creator(self): def creator(self, creator): """Sets the creator of this VersionModelBranchViewDTO. - 创建者。 + **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param creator: The creator of this VersionModelBranchViewDTO. :type creator: str @@ -181,7 +181,7 @@ def creator(self, creator): def id(self): """Gets the id of this VersionModelBranchViewDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The id of this VersionModelBranchViewDTO. :rtype: str @@ -192,7 +192,7 @@ def id(self): def id(self, id): """Sets the id of this VersionModelBranchViewDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param id: The id of this VersionModelBranchViewDTO. :type id: str @@ -203,7 +203,7 @@ def id(self, id): def last_update_time(self): """Gets the last_update_time of this VersionModelBranchViewDTO. - 最后更新时间。 + **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The last_update_time of this VersionModelBranchViewDTO. :rtype: object @@ -214,7 +214,7 @@ def last_update_time(self): def last_update_time(self, last_update_time): """Sets the last_update_time of this VersionModelBranchViewDTO. - 最后更新时间。 + **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param last_update_time: The last_update_time of this VersionModelBranchViewDTO. :type last_update_time: object @@ -225,7 +225,7 @@ def last_update_time(self, last_update_time): def modifier(self): """Gets the modifier of this VersionModelBranchViewDTO. - 修改人。 + **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The modifier of this VersionModelBranchViewDTO. :rtype: str @@ -236,7 +236,7 @@ def modifier(self): def modifier(self, modifier): """Sets the modifier of this VersionModelBranchViewDTO. - 修改人。 + **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param modifier: The modifier of this VersionModelBranchViewDTO. :type modifier: str @@ -247,7 +247,7 @@ def modifier(self, modifier): def rdm_delete_flag(self): """Gets the rdm_delete_flag of this VersionModelBranchViewDTO. - 软删除标识,参数值为0或1。 - 0:表示未删除。 - 1:表示已删除。 + **参数解释:** 软删除标识。 **取值范围:** - 0:表示未删除。 - 1:表示已删除。 **默认取值:** 0。 :return: The rdm_delete_flag of this VersionModelBranchViewDTO. :rtype: int @@ -258,7 +258,7 @@ def rdm_delete_flag(self): def rdm_delete_flag(self, rdm_delete_flag): """Sets the rdm_delete_flag of this VersionModelBranchViewDTO. - 软删除标识,参数值为0或1。 - 0:表示未删除。 - 1:表示已删除。 + **参数解释:** 软删除标识。 **取值范围:** - 0:表示未删除。 - 1:表示已删除。 **默认取值:** 0。 :param rdm_delete_flag: The rdm_delete_flag of this VersionModelBranchViewDTO. :type rdm_delete_flag: int @@ -269,7 +269,7 @@ def rdm_delete_flag(self, rdm_delete_flag): def rdm_extension_type(self): """Gets the rdm_extension_type of this VersionModelBranchViewDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The rdm_extension_type of this VersionModelBranchViewDTO. :rtype: str @@ -280,7 +280,7 @@ def rdm_extension_type(self): def rdm_extension_type(self, rdm_extension_type): """Sets the rdm_extension_type of this VersionModelBranchViewDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param rdm_extension_type: The rdm_extension_type of this VersionModelBranchViewDTO. :type rdm_extension_type: str @@ -291,7 +291,7 @@ def rdm_extension_type(self, rdm_extension_type): def rdm_version(self): """Gets the rdm_version of this VersionModelBranchViewDTO. - 系统版本。 + **参数解释:** 系统版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The rdm_version of this VersionModelBranchViewDTO. :rtype: int @@ -302,7 +302,7 @@ def rdm_version(self): def rdm_version(self, rdm_version): """Sets the rdm_version of this VersionModelBranchViewDTO. - 系统版本。 + **参数解释:** 系统版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param rdm_version: The rdm_version of this VersionModelBranchViewDTO. :type rdm_version: int @@ -331,7 +331,7 @@ def tenant(self, tenant): def version(self): """Gets the version of this VersionModelBranchViewDTO. - 版本号。 + **参数解释:** 版本号。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The version of this VersionModelBranchViewDTO. :rtype: str @@ -342,7 +342,7 @@ def version(self): def version(self, version): """Sets the version of this VersionModelBranchViewDTO. - 版本号。 + **参数解释:** 版本号。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param version: The version of this VersionModelBranchViewDTO. :type version: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_compare_version_vo.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_compare_version_vo.py index eb9af46886..ed2a718712 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_compare_version_vo.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_compare_version_vo.py @@ -33,11 +33,11 @@ def __init__(self, basic_version=None, correlation_version=None, id=None): The model defined in huaweicloud sdk - :param basic_version: 基础版本号。 + :param basic_version: **参数解释:** 基础版本号。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type basic_version: str - :param correlation_version: 对比版本号。 + :param correlation_version: **参数解释:** 对比版本号。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type correlation_version: str - :param id: 主对象ID。 + :param id: **参数解释:** 主对象ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type id: str """ @@ -56,7 +56,7 @@ def __init__(self, basic_version=None, correlation_version=None, id=None): def basic_version(self): """Gets the basic_version of this VersionModelCompareVersionVO. - 基础版本号。 + **参数解释:** 基础版本号。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The basic_version of this VersionModelCompareVersionVO. :rtype: str @@ -67,7 +67,7 @@ def basic_version(self): def basic_version(self, basic_version): """Sets the basic_version of this VersionModelCompareVersionVO. - 基础版本号。 + **参数解释:** 基础版本号。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param basic_version: The basic_version of this VersionModelCompareVersionVO. :type basic_version: str @@ -78,7 +78,7 @@ def basic_version(self, basic_version): def correlation_version(self): """Gets the correlation_version of this VersionModelCompareVersionVO. - 对比版本号。 + **参数解释:** 对比版本号。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The correlation_version of this VersionModelCompareVersionVO. :rtype: str @@ -89,7 +89,7 @@ def correlation_version(self): def correlation_version(self, correlation_version): """Sets the correlation_version of this VersionModelCompareVersionVO. - 对比版本号。 + **参数解释:** 对比版本号。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param correlation_version: The correlation_version of this VersionModelCompareVersionVO. :type correlation_version: str @@ -100,7 +100,7 @@ def correlation_version(self, correlation_version): def id(self): """Gets the id of this VersionModelCompareVersionVO. - 主对象ID。 + **参数解释:** 主对象ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The id of this VersionModelCompareVersionVO. :rtype: str @@ -111,7 +111,7 @@ def id(self): def id(self, id): """Sets the id of this VersionModelCompareVersionVO. - 主对象ID。 + **参数解释:** 主对象ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param id: The id of this VersionModelCompareVersionVO. :type id: str 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 c071aa57e3..c2ee445f09 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_master.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_master.py @@ -41,19 +41,19 @@ def __init__(self, create_time=None, creator=None, id=None, last_update_time=Non The model defined in huaweicloud sdk - :param create_time: 创建时间。 + :param create_time: **参数解释:** 创建时间。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type create_time: str - :param creator: 创建者。 + :param creator: **参数解释:** 创建者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type creator: str - :param id: 唯一标识。 + :param id: **参数解释:** 唯一标识。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type id: str - :param last_update_time: 最后更新时间。 + :param last_update_time: **参数解释**: 最后更新时间。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 :type last_update_time: str - :param modifier: 更新者。 + :param modifier: **参数解释**: 更新者。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 :type modifier: str - :param need_set_null_attrs: 设置NULL值的属性名称。 + :param need_set_null_attrs: **参数解释**: 设置NULL值的属性名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 :type need_set_null_attrs: list[str] - :param rdm_extension_type: 扩展类型。 + :param rdm_extension_type: **参数解释**: 扩展类型。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 :type rdm_extension_type: str """ @@ -86,7 +86,7 @@ def __init__(self, create_time=None, creator=None, id=None, last_update_time=Non def create_time(self): """Gets the create_time of this VersionModelMaster. - 创建时间。 + **参数解释:** 创建时间。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The create_time of this VersionModelMaster. :rtype: str @@ -97,7 +97,7 @@ def create_time(self): def create_time(self, create_time): """Sets the create_time of this VersionModelMaster. - 创建时间。 + **参数解释:** 创建时间。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param create_time: The create_time of this VersionModelMaster. :type create_time: str @@ -108,7 +108,7 @@ def create_time(self, create_time): def creator(self): """Gets the creator of this VersionModelMaster. - 创建者。 + **参数解释:** 创建者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The creator of this VersionModelMaster. :rtype: str @@ -119,7 +119,7 @@ def creator(self): def creator(self, creator): """Sets the creator of this VersionModelMaster. - 创建者。 + **参数解释:** 创建者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param creator: The creator of this VersionModelMaster. :type creator: str @@ -130,7 +130,7 @@ def creator(self, creator): def id(self): """Gets the id of this VersionModelMaster. - 唯一标识。 + **参数解释:** 唯一标识。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The id of this VersionModelMaster. :rtype: str @@ -141,7 +141,7 @@ def id(self): def id(self, id): """Sets the id of this VersionModelMaster. - 唯一标识。 + **参数解释:** 唯一标识。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param id: The id of this VersionModelMaster. :type id: str @@ -152,7 +152,7 @@ def id(self, id): def last_update_time(self): """Gets the last_update_time of this VersionModelMaster. - 最后更新时间。 + **参数解释**: 最后更新时间。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 :return: The last_update_time of this VersionModelMaster. :rtype: str @@ -163,7 +163,7 @@ def last_update_time(self): def last_update_time(self, last_update_time): """Sets the last_update_time of this VersionModelMaster. - 最后更新时间。 + **参数解释**: 最后更新时间。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 :param last_update_time: The last_update_time of this VersionModelMaster. :type last_update_time: str @@ -174,7 +174,7 @@ def last_update_time(self, last_update_time): def modifier(self): """Gets the modifier of this VersionModelMaster. - 更新者。 + **参数解释**: 更新者。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 :return: The modifier of this VersionModelMaster. :rtype: str @@ -185,7 +185,7 @@ def modifier(self): def modifier(self, modifier): """Sets the modifier of this VersionModelMaster. - 更新者。 + **参数解释**: 更新者。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 :param modifier: The modifier of this VersionModelMaster. :type modifier: str @@ -196,7 +196,7 @@ def modifier(self, modifier): def need_set_null_attrs(self): """Gets the need_set_null_attrs of this VersionModelMaster. - 设置NULL值的属性名称。 + **参数解释**: 设置NULL值的属性名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 :return: The need_set_null_attrs of this VersionModelMaster. :rtype: list[str] @@ -207,7 +207,7 @@ def need_set_null_attrs(self): def need_set_null_attrs(self, need_set_null_attrs): """Sets the need_set_null_attrs of this VersionModelMaster. - 设置NULL值的属性名称。 + **参数解释**: 设置NULL值的属性名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 :param need_set_null_attrs: The need_set_null_attrs of this VersionModelMaster. :type need_set_null_attrs: list[str] @@ -218,7 +218,7 @@ def need_set_null_attrs(self, need_set_null_attrs): def rdm_extension_type(self): """Gets the rdm_extension_type of this VersionModelMaster. - 扩展类型。 + **参数解释**: 扩展类型。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 :return: The rdm_extension_type of this VersionModelMaster. :rtype: str @@ -229,7 +229,7 @@ def rdm_extension_type(self): def rdm_extension_type(self, rdm_extension_type): """Sets the rdm_extension_type of this VersionModelMaster. - 扩展类型。 + **参数解释**: 扩展类型。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。 :param rdm_extension_type: The rdm_extension_type of this VersionModelMaster. :type rdm_extension_type: str 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 f88774499c..84aac0ae79 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 @@ -31,9 +31,9 @@ def __init__(self, master_id=None, version=None): The model defined in huaweicloud sdk - :param master_id: 父模型ID。 + :param master_id: **参数解释:** 父模型ID。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type master_id: str - :param version: 版本对象。 + :param version: **参数解释:** 版本对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type version: str """ @@ -51,7 +51,7 @@ def __init__(self, master_id=None, version=None): def master_id(self): """Gets the master_id of this VersionModelMasterIdsDTO. - 父模型ID。 + **参数解释:** 父模型ID。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The master_id of this VersionModelMasterIdsDTO. :rtype: str @@ -62,7 +62,7 @@ def master_id(self): def master_id(self, master_id): """Sets the master_id of this VersionModelMasterIdsDTO. - 父模型ID。 + **参数解释:** 父模型ID。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param master_id: The master_id of this VersionModelMasterIdsDTO. :type master_id: str @@ -73,7 +73,7 @@ def master_id(self, master_id): def version(self): """Gets the version of this VersionModelMasterIdsDTO. - 版本对象。 + **参数解释:** 版本对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The version of this VersionModelMasterIdsDTO. :rtype: str @@ -84,7 +84,7 @@ def version(self): def version(self, version): """Sets the version of this VersionModelMasterIdsDTO. - 版本对象。 + **参数解释:** 版本对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param version: The version of this VersionModelMasterIdsDTO. :type version: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_master_view_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_master_view_dto.py index dd7996842b..00a5ee85b5 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_master_view_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_master_view_dto.py @@ -47,23 +47,23 @@ def __init__(self, class_name=None, create_time=None, creator=None, id=None, las The model defined in huaweicloud sdk - :param class_name: 类名。 + :param class_name: **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type class_name: str - :param create_time: 创建时间。 + :param create_time: **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type create_time: str - :param creator: 创建者。 + :param creator: **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type creator: str - :param id: 唯一标识。 + :param id: **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type id: str - :param last_update_time: 最后更新时间。 + :param last_update_time: **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type last_update_time: str - :param modifier: 修改人。 + :param modifier: **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type modifier: str - :param rdm_delete_flag: 软删除标识,参数值为0或1。 - 0:表示未删除。 - 1:表示已删除。 + :param rdm_delete_flag: **参数解释:** 软删除标识。 **取值范围:** - 0:表示未删除。 - 1:表示已删除。 **默认取值:** 0。 :type rdm_delete_flag: int - :param rdm_extension_type: 扩展类型。 + :param rdm_extension_type: **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type rdm_extension_type: str - :param rdm_version: 系统版本。 + :param rdm_version: **参数解释:** 系统版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type rdm_version: int :param tenant: :type tenant: :class:`huaweicloudsdkidmeclassicapi.v1.TenantViewDTO` @@ -108,7 +108,7 @@ def __init__(self, class_name=None, create_time=None, creator=None, id=None, las def class_name(self): """Gets the class_name of this VersionModelMasterViewDTO. - 类名。 + **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The class_name of this VersionModelMasterViewDTO. :rtype: str @@ -119,7 +119,7 @@ def class_name(self): def class_name(self, class_name): """Sets the class_name of this VersionModelMasterViewDTO. - 类名。 + **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param class_name: The class_name of this VersionModelMasterViewDTO. :type class_name: str @@ -130,7 +130,7 @@ def class_name(self, class_name): def create_time(self): """Gets the create_time of this VersionModelMasterViewDTO. - 创建时间。 + **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The create_time of this VersionModelMasterViewDTO. :rtype: str @@ -141,7 +141,7 @@ def create_time(self): def create_time(self, create_time): """Sets the create_time of this VersionModelMasterViewDTO. - 创建时间。 + **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param create_time: The create_time of this VersionModelMasterViewDTO. :type create_time: str @@ -152,7 +152,7 @@ def create_time(self, create_time): def creator(self): """Gets the creator of this VersionModelMasterViewDTO. - 创建者。 + **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The creator of this VersionModelMasterViewDTO. :rtype: str @@ -163,7 +163,7 @@ def creator(self): def creator(self, creator): """Sets the creator of this VersionModelMasterViewDTO. - 创建者。 + **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param creator: The creator of this VersionModelMasterViewDTO. :type creator: str @@ -174,7 +174,7 @@ def creator(self, creator): def id(self): """Gets the id of this VersionModelMasterViewDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The id of this VersionModelMasterViewDTO. :rtype: str @@ -185,7 +185,7 @@ def id(self): def id(self, id): """Sets the id of this VersionModelMasterViewDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param id: The id of this VersionModelMasterViewDTO. :type id: str @@ -196,7 +196,7 @@ def id(self, id): def last_update_time(self): """Gets the last_update_time of this VersionModelMasterViewDTO. - 最后更新时间。 + **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The last_update_time of this VersionModelMasterViewDTO. :rtype: str @@ -207,7 +207,7 @@ def last_update_time(self): def last_update_time(self, last_update_time): """Sets the last_update_time of this VersionModelMasterViewDTO. - 最后更新时间。 + **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param last_update_time: The last_update_time of this VersionModelMasterViewDTO. :type last_update_time: str @@ -218,7 +218,7 @@ def last_update_time(self, last_update_time): def modifier(self): """Gets the modifier of this VersionModelMasterViewDTO. - 修改人。 + **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The modifier of this VersionModelMasterViewDTO. :rtype: str @@ -229,7 +229,7 @@ def modifier(self): def modifier(self, modifier): """Sets the modifier of this VersionModelMasterViewDTO. - 修改人。 + **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param modifier: The modifier of this VersionModelMasterViewDTO. :type modifier: str @@ -240,7 +240,7 @@ def modifier(self, modifier): def rdm_delete_flag(self): """Gets the rdm_delete_flag of this VersionModelMasterViewDTO. - 软删除标识,参数值为0或1。 - 0:表示未删除。 - 1:表示已删除。 + **参数解释:** 软删除标识。 **取值范围:** - 0:表示未删除。 - 1:表示已删除。 **默认取值:** 0。 :return: The rdm_delete_flag of this VersionModelMasterViewDTO. :rtype: int @@ -251,7 +251,7 @@ def rdm_delete_flag(self): def rdm_delete_flag(self, rdm_delete_flag): """Sets the rdm_delete_flag of this VersionModelMasterViewDTO. - 软删除标识,参数值为0或1。 - 0:表示未删除。 - 1:表示已删除。 + **参数解释:** 软删除标识。 **取值范围:** - 0:表示未删除。 - 1:表示已删除。 **默认取值:** 0。 :param rdm_delete_flag: The rdm_delete_flag of this VersionModelMasterViewDTO. :type rdm_delete_flag: int @@ -262,7 +262,7 @@ def rdm_delete_flag(self, rdm_delete_flag): def rdm_extension_type(self): """Gets the rdm_extension_type of this VersionModelMasterViewDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The rdm_extension_type of this VersionModelMasterViewDTO. :rtype: str @@ -273,7 +273,7 @@ def rdm_extension_type(self): def rdm_extension_type(self, rdm_extension_type): """Sets the rdm_extension_type of this VersionModelMasterViewDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param rdm_extension_type: The rdm_extension_type of this VersionModelMasterViewDTO. :type rdm_extension_type: str @@ -284,7 +284,7 @@ def rdm_extension_type(self, rdm_extension_type): def rdm_version(self): """Gets the rdm_version of this VersionModelMasterViewDTO. - 系统版本。 + **参数解释:** 系统版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The rdm_version of this VersionModelMasterViewDTO. :rtype: int @@ -295,7 +295,7 @@ def rdm_version(self): def rdm_version(self, rdm_version): """Sets the rdm_version of this VersionModelMasterViewDTO. - 系统版本。 + **参数解释:** 系统版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param rdm_version: The rdm_version of this VersionModelMasterViewDTO. :type rdm_version: int diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_query_view_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_query_view_dto.py index 4233f6c04d..42b34fd6ff 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_query_view_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_query_view_dto.py @@ -75,47 +75,47 @@ def __init__(self, branch=None, check_out_time=None, check_out_user_name=None, c :param branch: :type branch: :class:`huaweicloudsdkidmeclassicapi.v1.VersionObjectBranchQueryViewDTO` - :param check_out_time: 检出时间。 + :param check_out_time: **参数解释:** 检出时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type check_out_time: str - :param check_out_user_name: 检出人。 + :param check_out_user_name: **参数解释:** 检出人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type check_out_user_name: str - :param class_name: 类名。 + :param class_name: **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type class_name: str - :param create_time: 创建时间。 + :param create_time: **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type create_time: str - :param creator: 创建者。 + :param creator: **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type creator: str - :param description: 描述信息。 + :param description: **参数解释:** 描述信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type description: str - :param id: 唯一标识。 + :param id: **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type id: str - :param iteration: 迭代版本。 + :param iteration: **参数解释:** 迭代版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type iteration: int - :param last_update_time: 最后更新时间。 + :param last_update_time: **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type last_update_time: str - :param latest: 是否为最新版本。 - true:是最新版本。 - false:不是最新版本。 + :param latest: **参数解释:** 是否为最新版本。 **取值范围:** - true:是最新版本。 - false:不是最新版本。 **默认取值:** false。 :type latest: bool - :param latest_iteration: 是否为最新迭代版本。 - true:是最新迭代版本。 - false:不是最新迭代版本。 + :param latest_iteration: **参数解释:** 是否为最新迭代版本。 **取值范围:** - true:是最新迭代版本。 - false:不是最新迭代版本。 **默认取值:** false。 :type latest_iteration: bool - :param latest_version: 是否为最新修订版本。 - true:是最新修订版本。 - false:不是最新修订版本。 + :param latest_version: **参数解释:** 是否为最新修订版本。 **取值范围:** - true:是最新修订版本。 - false:不是最新修订版本。 **默认取值:** false。 :type latest_version: bool :param master: :type master: :class:`huaweicloudsdkidmeclassicapi.v1.MasterObjectQueryViewDTO` - :param modifier: 修改人。 + :param modifier: **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type modifier: str - :param name: 中文名称。 + :param name: **参数解释:** 中文名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type name: str - :param pre_version_id: 前序版本实例ID。 + :param pre_version_id: **参数解释:** 前序版本实例ID。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type pre_version_id: str - :param rdm_extension_type: 扩展类型。 + :param rdm_extension_type: **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type rdm_extension_type: str :param tenant: :type tenant: :class:`huaweicloudsdkidmeclassicapi.v1.TenantQueryViewDTO` - :param version: 版本号。 + :param version: **参数解释:** 版本号。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type version: str - :param version_code: 业务版本内码。 + :param version_code: **参数解释:** 业务版本内码。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type version_code: int - :param working_copy: 是否已检出。 - true:已检出。 - false:未检出。 + :param working_copy: **参数解释:** 是否已检出。 **取值范围:** - true:已检出。 - false:未检出。 **默认取值:** 不涉及。 :type working_copy: bool :param working_state: :type working_state: :class:`huaweicloudsdkidmeclassicapi.v1.WorkingState` @@ -217,7 +217,7 @@ def branch(self, branch): def check_out_time(self): """Gets the check_out_time of this VersionModelQueryViewDTO. - 检出时间。 + **参数解释:** 检出时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The check_out_time of this VersionModelQueryViewDTO. :rtype: str @@ -228,7 +228,7 @@ def check_out_time(self): def check_out_time(self, check_out_time): """Sets the check_out_time of this VersionModelQueryViewDTO. - 检出时间。 + **参数解释:** 检出时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param check_out_time: The check_out_time of this VersionModelQueryViewDTO. :type check_out_time: str @@ -239,7 +239,7 @@ def check_out_time(self, check_out_time): def check_out_user_name(self): """Gets the check_out_user_name of this VersionModelQueryViewDTO. - 检出人。 + **参数解释:** 检出人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The check_out_user_name of this VersionModelQueryViewDTO. :rtype: str @@ -250,7 +250,7 @@ def check_out_user_name(self): def check_out_user_name(self, check_out_user_name): """Sets the check_out_user_name of this VersionModelQueryViewDTO. - 检出人。 + **参数解释:** 检出人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param check_out_user_name: The check_out_user_name of this VersionModelQueryViewDTO. :type check_out_user_name: str @@ -261,7 +261,7 @@ def check_out_user_name(self, check_out_user_name): def class_name(self): """Gets the class_name of this VersionModelQueryViewDTO. - 类名。 + **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The class_name of this VersionModelQueryViewDTO. :rtype: str @@ -272,7 +272,7 @@ def class_name(self): def class_name(self, class_name): """Sets the class_name of this VersionModelQueryViewDTO. - 类名。 + **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param class_name: The class_name of this VersionModelQueryViewDTO. :type class_name: str @@ -283,7 +283,7 @@ def class_name(self, class_name): def create_time(self): """Gets the create_time of this VersionModelQueryViewDTO. - 创建时间。 + **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The create_time of this VersionModelQueryViewDTO. :rtype: str @@ -294,7 +294,7 @@ def create_time(self): def create_time(self, create_time): """Sets the create_time of this VersionModelQueryViewDTO. - 创建时间。 + **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param create_time: The create_time of this VersionModelQueryViewDTO. :type create_time: str @@ -305,7 +305,7 @@ def create_time(self, create_time): def creator(self): """Gets the creator of this VersionModelQueryViewDTO. - 创建者。 + **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The creator of this VersionModelQueryViewDTO. :rtype: str @@ -316,7 +316,7 @@ def creator(self): def creator(self, creator): """Sets the creator of this VersionModelQueryViewDTO. - 创建者。 + **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param creator: The creator of this VersionModelQueryViewDTO. :type creator: str @@ -327,7 +327,7 @@ def creator(self, creator): def description(self): """Gets the description of this VersionModelQueryViewDTO. - 描述信息。 + **参数解释:** 描述信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The description of this VersionModelQueryViewDTO. :rtype: str @@ -338,7 +338,7 @@ def description(self): def description(self, description): """Sets the description of this VersionModelQueryViewDTO. - 描述信息。 + **参数解释:** 描述信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param description: The description of this VersionModelQueryViewDTO. :type description: str @@ -349,7 +349,7 @@ def description(self, description): def id(self): """Gets the id of this VersionModelQueryViewDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The id of this VersionModelQueryViewDTO. :rtype: str @@ -360,7 +360,7 @@ def id(self): def id(self, id): """Sets the id of this VersionModelQueryViewDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param id: The id of this VersionModelQueryViewDTO. :type id: str @@ -371,7 +371,7 @@ def id(self, id): def iteration(self): """Gets the iteration of this VersionModelQueryViewDTO. - 迭代版本。 + **参数解释:** 迭代版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The iteration of this VersionModelQueryViewDTO. :rtype: int @@ -382,7 +382,7 @@ def iteration(self): def iteration(self, iteration): """Sets the iteration of this VersionModelQueryViewDTO. - 迭代版本。 + **参数解释:** 迭代版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param iteration: The iteration of this VersionModelQueryViewDTO. :type iteration: int @@ -393,7 +393,7 @@ def iteration(self, iteration): def last_update_time(self): """Gets the last_update_time of this VersionModelQueryViewDTO. - 最后更新时间。 + **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The last_update_time of this VersionModelQueryViewDTO. :rtype: str @@ -404,7 +404,7 @@ def last_update_time(self): def last_update_time(self, last_update_time): """Sets the last_update_time of this VersionModelQueryViewDTO. - 最后更新时间。 + **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param last_update_time: The last_update_time of this VersionModelQueryViewDTO. :type last_update_time: str @@ -415,7 +415,7 @@ def last_update_time(self, last_update_time): def latest(self): """Gets the latest of this VersionModelQueryViewDTO. - 是否为最新版本。 - true:是最新版本。 - false:不是最新版本。 + **参数解释:** 是否为最新版本。 **取值范围:** - true:是最新版本。 - false:不是最新版本。 **默认取值:** false。 :return: The latest of this VersionModelQueryViewDTO. :rtype: bool @@ -426,7 +426,7 @@ def latest(self): def latest(self, latest): """Sets the latest of this VersionModelQueryViewDTO. - 是否为最新版本。 - true:是最新版本。 - false:不是最新版本。 + **参数解释:** 是否为最新版本。 **取值范围:** - true:是最新版本。 - false:不是最新版本。 **默认取值:** false。 :param latest: The latest of this VersionModelQueryViewDTO. :type latest: bool @@ -437,7 +437,7 @@ def latest(self, latest): def latest_iteration(self): """Gets the latest_iteration of this VersionModelQueryViewDTO. - 是否为最新迭代版本。 - true:是最新迭代版本。 - false:不是最新迭代版本。 + **参数解释:** 是否为最新迭代版本。 **取值范围:** - true:是最新迭代版本。 - false:不是最新迭代版本。 **默认取值:** false。 :return: The latest_iteration of this VersionModelQueryViewDTO. :rtype: bool @@ -448,7 +448,7 @@ def latest_iteration(self): def latest_iteration(self, latest_iteration): """Sets the latest_iteration of this VersionModelQueryViewDTO. - 是否为最新迭代版本。 - true:是最新迭代版本。 - false:不是最新迭代版本。 + **参数解释:** 是否为最新迭代版本。 **取值范围:** - true:是最新迭代版本。 - false:不是最新迭代版本。 **默认取值:** false。 :param latest_iteration: The latest_iteration of this VersionModelQueryViewDTO. :type latest_iteration: bool @@ -459,7 +459,7 @@ def latest_iteration(self, latest_iteration): def latest_version(self): """Gets the latest_version of this VersionModelQueryViewDTO. - 是否为最新修订版本。 - true:是最新修订版本。 - false:不是最新修订版本。 + **参数解释:** 是否为最新修订版本。 **取值范围:** - true:是最新修订版本。 - false:不是最新修订版本。 **默认取值:** false。 :return: The latest_version of this VersionModelQueryViewDTO. :rtype: bool @@ -470,7 +470,7 @@ def latest_version(self): def latest_version(self, latest_version): """Sets the latest_version of this VersionModelQueryViewDTO. - 是否为最新修订版本。 - true:是最新修订版本。 - false:不是最新修订版本。 + **参数解释:** 是否为最新修订版本。 **取值范围:** - true:是最新修订版本。 - false:不是最新修订版本。 **默认取值:** false。 :param latest_version: The latest_version of this VersionModelQueryViewDTO. :type latest_version: bool @@ -499,7 +499,7 @@ def master(self, master): def modifier(self): """Gets the modifier of this VersionModelQueryViewDTO. - 修改人。 + **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The modifier of this VersionModelQueryViewDTO. :rtype: str @@ -510,7 +510,7 @@ def modifier(self): def modifier(self, modifier): """Sets the modifier of this VersionModelQueryViewDTO. - 修改人。 + **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param modifier: The modifier of this VersionModelQueryViewDTO. :type modifier: str @@ -521,7 +521,7 @@ def modifier(self, modifier): def name(self): """Gets the name of this VersionModelQueryViewDTO. - 中文名称。 + **参数解释:** 中文名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The name of this VersionModelQueryViewDTO. :rtype: str @@ -532,7 +532,7 @@ def name(self): def name(self, name): """Sets the name of this VersionModelQueryViewDTO. - 中文名称。 + **参数解释:** 中文名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param name: The name of this VersionModelQueryViewDTO. :type name: str @@ -543,7 +543,7 @@ def name(self, name): def pre_version_id(self): """Gets the pre_version_id of this VersionModelQueryViewDTO. - 前序版本实例ID。 + **参数解释:** 前序版本实例ID。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The pre_version_id of this VersionModelQueryViewDTO. :rtype: str @@ -554,7 +554,7 @@ def pre_version_id(self): def pre_version_id(self, pre_version_id): """Sets the pre_version_id of this VersionModelQueryViewDTO. - 前序版本实例ID。 + **参数解释:** 前序版本实例ID。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param pre_version_id: The pre_version_id of this VersionModelQueryViewDTO. :type pre_version_id: str @@ -565,7 +565,7 @@ def pre_version_id(self, pre_version_id): def rdm_extension_type(self): """Gets the rdm_extension_type of this VersionModelQueryViewDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The rdm_extension_type of this VersionModelQueryViewDTO. :rtype: str @@ -576,7 +576,7 @@ def rdm_extension_type(self): def rdm_extension_type(self, rdm_extension_type): """Sets the rdm_extension_type of this VersionModelQueryViewDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param rdm_extension_type: The rdm_extension_type of this VersionModelQueryViewDTO. :type rdm_extension_type: str @@ -605,7 +605,7 @@ def tenant(self, tenant): def version(self): """Gets the version of this VersionModelQueryViewDTO. - 版本号。 + **参数解释:** 版本号。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The version of this VersionModelQueryViewDTO. :rtype: str @@ -616,7 +616,7 @@ def version(self): def version(self, version): """Sets the version of this VersionModelQueryViewDTO. - 版本号。 + **参数解释:** 版本号。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param version: The version of this VersionModelQueryViewDTO. :type version: str @@ -627,7 +627,7 @@ def version(self, version): def version_code(self): """Gets the version_code of this VersionModelQueryViewDTO. - 业务版本内码。 + **参数解释:** 业务版本内码。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The version_code of this VersionModelQueryViewDTO. :rtype: int @@ -638,7 +638,7 @@ def version_code(self): def version_code(self, version_code): """Sets the version_code of this VersionModelQueryViewDTO. - 业务版本内码。 + **参数解释:** 业务版本内码。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param version_code: The version_code of this VersionModelQueryViewDTO. :type version_code: int @@ -649,7 +649,7 @@ def version_code(self, version_code): def working_copy(self): """Gets the working_copy of this VersionModelQueryViewDTO. - 是否已检出。 - true:已检出。 - false:未检出。 + **参数解释:** 是否已检出。 **取值范围:** - true:已检出。 - false:未检出。 **默认取值:** 不涉及。 :return: The working_copy of this VersionModelQueryViewDTO. :rtype: bool @@ -660,7 +660,7 @@ def working_copy(self): def working_copy(self, working_copy): """Sets the working_copy of this VersionModelQueryViewDTO. - 是否已检出。 - true:已检出。 - false:未检出。 + **参数解释:** 是否已检出。 **取值范围:** - true:已检出。 - false:未检出。 **默认取值:** 不涉及。 :param working_copy: The working_copy of this VersionModelQueryViewDTO. :type working_copy: bool diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_version_check_in_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_version_check_in_dto.py index 89ac16612b..fd87748dde 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_version_check_in_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_version_check_in_dto.py @@ -31,9 +31,9 @@ def __init__(self, master_id=None, modifier=None): The model defined in huaweicloud sdk - :param master_id: 主对象ID。 + :param master_id: **参数解释:** 主对象ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type master_id: str - :param modifier: 更新者。 + :param modifier: **参数解释:** 更新者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type modifier: str """ @@ -51,7 +51,7 @@ def __init__(self, master_id=None, modifier=None): def master_id(self): """Gets the master_id of this VersionModelVersionCheckInDTO. - 主对象ID。 + **参数解释:** 主对象ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The master_id of this VersionModelVersionCheckInDTO. :rtype: str @@ -62,7 +62,7 @@ def master_id(self): def master_id(self, master_id): """Sets the master_id of this VersionModelVersionCheckInDTO. - 主对象ID。 + **参数解释:** 主对象ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param master_id: The master_id of this VersionModelVersionCheckInDTO. :type master_id: str @@ -73,7 +73,7 @@ def master_id(self, master_id): def modifier(self): """Gets the modifier of this VersionModelVersionCheckInDTO. - 更新者。 + **参数解释:** 更新者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The modifier of this VersionModelVersionCheckInDTO. :rtype: str @@ -84,7 +84,7 @@ def modifier(self): def modifier(self, modifier): """Sets the modifier of this VersionModelVersionCheckInDTO. - 更新者。 + **参数解释:** 更新者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param modifier: The modifier of this VersionModelVersionCheckInDTO. :type modifier: str 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 68f55433ca..14280f18b9 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 @@ -37,15 +37,15 @@ def __init__(self, creator=None, custom_link_set=None, master_id=None, modifier= The model defined in huaweicloud sdk - :param creator: 创建人。 + :param creator: **参数解释:** 创建人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type creator: str - :param custom_link_set: 关系实体名称集合,与workCopyType的值CUSTOM配合使用。 + :param custom_link_set: **参数解释:** 关系实体名称集合,与workCopyType的值CUSTOM配合使用。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type custom_link_set: list[str] - :param master_id: 主对象ID。 + :param master_id: **参数解释:** 主对象ID。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type master_id: str - :param modifier: 更新者。 + :param modifier: **参数解释:** 更新者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type modifier: str - :param work_copy_type: 关系的复制类型。 - BOTH:若存在关系实例引用此数据实例作为源端实例或目标端实例,检出后的数据实例将继承这些关系实例。 - SOURCE:若存在关系实例引用此数据实例作为源端实例,检出后的数据实例将继承这些关系实例。 - TARGET:若存在关系实例引用此数据实例作为目标端实例,检出后的数据实例将继承这些关系实例。 - NONE:检出后的数据实例将不继承任何关系实例。 - CUSTOM:若指定的关系实体集合对应的关系实例引用此数据实例作为源端实例或目标端实例,检出后的数据实例将继承这些关系实例。 + :param work_copy_type: **参数解释:** 关系的复制类型。 **取值范围:** - BOTH:若存在关系实例引用此数据实例作为源端实例或目标端实例,检出后的数据实例将继承这些关系实例。 - SOURCE:若存在关系实例引用此数据实例作为源端实例,检出后的数据实例将继承这些关系实例。 - TARGET:若存在关系实例引用此数据实例作为目标端实例,检出后的数据实例将继承这些关系实例。 - NONE:检出后的数据实例将不继承任何关系实例。 - CUSTOM:若指定的关系实体集合对应的关系实例引用此数据实例作为源端实例或目标端实例,检出后的数据实例将继承这些关系实例。 **默认取值:** 不涉及。 :type work_copy_type: str """ @@ -72,7 +72,7 @@ def __init__(self, creator=None, custom_link_set=None, master_id=None, modifier= def creator(self): """Gets the creator of this VersionModelVersionCheckOutDTO. - 创建人。 + **参数解释:** 创建人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The creator of this VersionModelVersionCheckOutDTO. :rtype: str @@ -83,7 +83,7 @@ def creator(self): def creator(self, creator): """Sets the creator of this VersionModelVersionCheckOutDTO. - 创建人。 + **参数解释:** 创建人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param creator: The creator of this VersionModelVersionCheckOutDTO. :type creator: str @@ -94,7 +94,7 @@ def creator(self, creator): def custom_link_set(self): """Gets the custom_link_set of this VersionModelVersionCheckOutDTO. - 关系实体名称集合,与workCopyType的值CUSTOM配合使用。 + **参数解释:** 关系实体名称集合,与workCopyType的值CUSTOM配合使用。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The custom_link_set of this VersionModelVersionCheckOutDTO. :rtype: list[str] @@ -105,7 +105,7 @@ def custom_link_set(self): def custom_link_set(self, custom_link_set): """Sets the custom_link_set of this VersionModelVersionCheckOutDTO. - 关系实体名称集合,与workCopyType的值CUSTOM配合使用。 + **参数解释:** 关系实体名称集合,与workCopyType的值CUSTOM配合使用。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param custom_link_set: The custom_link_set of this VersionModelVersionCheckOutDTO. :type custom_link_set: list[str] @@ -116,7 +116,7 @@ def custom_link_set(self, custom_link_set): def master_id(self): """Gets the master_id of this VersionModelVersionCheckOutDTO. - 主对象ID。 + **参数解释:** 主对象ID。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The master_id of this VersionModelVersionCheckOutDTO. :rtype: str @@ -127,7 +127,7 @@ def master_id(self): def master_id(self, master_id): """Sets the master_id of this VersionModelVersionCheckOutDTO. - 主对象ID。 + **参数解释:** 主对象ID。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param master_id: The master_id of this VersionModelVersionCheckOutDTO. :type master_id: str @@ -138,7 +138,7 @@ def master_id(self, master_id): def modifier(self): """Gets the modifier of this VersionModelVersionCheckOutDTO. - 更新者。 + **参数解释:** 更新者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The modifier of this VersionModelVersionCheckOutDTO. :rtype: str @@ -149,7 +149,7 @@ def modifier(self): def modifier(self, modifier): """Sets the modifier of this VersionModelVersionCheckOutDTO. - 更新者。 + **参数解释:** 更新者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param modifier: The modifier of this VersionModelVersionCheckOutDTO. :type modifier: str @@ -160,7 +160,7 @@ def modifier(self, modifier): def work_copy_type(self): """Gets the work_copy_type of this VersionModelVersionCheckOutDTO. - 关系的复制类型。 - BOTH:若存在关系实例引用此数据实例作为源端实例或目标端实例,检出后的数据实例将继承这些关系实例。 - SOURCE:若存在关系实例引用此数据实例作为源端实例,检出后的数据实例将继承这些关系实例。 - TARGET:若存在关系实例引用此数据实例作为目标端实例,检出后的数据实例将继承这些关系实例。 - NONE:检出后的数据实例将不继承任何关系实例。 - CUSTOM:若指定的关系实体集合对应的关系实例引用此数据实例作为源端实例或目标端实例,检出后的数据实例将继承这些关系实例。 + **参数解释:** 关系的复制类型。 **取值范围:** - BOTH:若存在关系实例引用此数据实例作为源端实例或目标端实例,检出后的数据实例将继承这些关系实例。 - SOURCE:若存在关系实例引用此数据实例作为源端实例,检出后的数据实例将继承这些关系实例。 - TARGET:若存在关系实例引用此数据实例作为目标端实例,检出后的数据实例将继承这些关系实例。 - NONE:检出后的数据实例将不继承任何关系实例。 - CUSTOM:若指定的关系实体集合对应的关系实例引用此数据实例作为源端实例或目标端实例,检出后的数据实例将继承这些关系实例。 **默认取值:** 不涉及。 :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. - 关系的复制类型。 - BOTH:若存在关系实例引用此数据实例作为源端实例或目标端实例,检出后的数据实例将继承这些关系实例。 - SOURCE:若存在关系实例引用此数据实例作为源端实例,检出后的数据实例将继承这些关系实例。 - TARGET:若存在关系实例引用此数据实例作为目标端实例,检出后的数据实例将继承这些关系实例。 - NONE:检出后的数据实例将不继承任何关系实例。 - CUSTOM:若指定的关系实体集合对应的关系实例引用此数据实例作为源端实例或目标端实例,检出后的数据实例将继承这些关系实例。 + **参数解释:** 关系的复制类型。 **取值范围:** - BOTH:若存在关系实例引用此数据实例作为源端实例或目标端实例,检出后的数据实例将继承这些关系实例。 - SOURCE:若存在关系实例引用此数据实例作为源端实例,检出后的数据实例将继承这些关系实例。 - TARGET:若存在关系实例引用此数据实例作为目标端实例,检出后的数据实例将继承这些关系实例。 - NONE:检出后的数据实例将不继承任何关系实例。 - CUSTOM:若指定的关系实体集合对应的关系实例引用此数据实例作为源端实例或目标端实例,检出后的数据实例将继承这些关系实例。 **默认取值:** 不涉及。 :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 93284c5372..dc3db082e4 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 @@ -39,17 +39,17 @@ def __init__(self, creator=None, custom_link_set=None, data=None, master_id=None The model defined in huaweicloud sdk - :param creator: 创建人。 + :param creator: **参数解释:** 创建人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type creator: str - :param custom_link_set: 关系实体名称集合,与workCopyType的值CUSTOM配合使用。 + :param custom_link_set: **参数解释:** 关系实体名称集合,与workCopyType的值CUSTOM配合使用。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type custom_link_set: list[str] :param data: :type data: :class:`huaweicloudsdkidmeclassicapi.v1.VersionModel` - :param master_id: 主对象ID。 + :param master_id: **参数解释:** 主对象ID。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type master_id: str - :param modifier: 更新者。 + :param modifier: **参数解释:** 更新者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type modifier: str - :param work_copy_type: 关系的复制类型。 - BOTH:若存在关系实例引用此数据实例作为源端实例或目标端实例,检出并更新后的数据实例将继承这些关系实例。 - SOURCE:若存在关系实例引用此数据实例作为源端实例,检出并更新后的数据实例将继承这些关系实例。 - TARGET:若存在关系实例引用此数据实例作为目标端实例,检出并更新后的数据实例将继承这些关系实例。 - NONE:检出并更新后的数据实例将不继承任何关系实例。 - CUSTOM:若指定的关系实体集合对应的关系实例引用此数据实例作为源端实例或目标端实例,检出并更新后的数据实例将继承这些关系实例。 + :param work_copy_type: **参数解释:** 关系的复制类型。 **取值范围:** - BOTH:若存在关系实例引用此数据实例作为源端实例或目标端实例,检出并更新后的数据实例将继承这些关系实例。 - SOURCE:若存在关系实例引用此数据实例作为源端实例,检出并更新后的数据实例将继承这些关系实例。 - TARGET:若存在关系实例引用此数据实例作为目标端实例,检出并更新后的数据实例将继承这些关系实例。 - NONE:检出并更新后的数据实例将不继承任何关系实例。 - CUSTOM:若指定的关系实体集合对应的关系实例引用此数据实例作为源端实例或目标端实例,检出并更新后的数据实例将继承这些关系实例。 **默认取值:** 不涉及。 :type work_copy_type: str """ @@ -78,7 +78,7 @@ def __init__(self, creator=None, custom_link_set=None, data=None, master_id=None def creator(self): """Gets the creator of this VersionModelVersionCheckoutAndUpdateDTOVersionModel. - 创建人。 + **参数解释:** 创建人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The creator of this VersionModelVersionCheckoutAndUpdateDTOVersionModel. :rtype: str @@ -89,7 +89,7 @@ def creator(self): def creator(self, creator): """Sets the creator of this VersionModelVersionCheckoutAndUpdateDTOVersionModel. - 创建人。 + **参数解释:** 创建人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param creator: The creator of this VersionModelVersionCheckoutAndUpdateDTOVersionModel. :type creator: str @@ -100,7 +100,7 @@ def creator(self, creator): def custom_link_set(self): """Gets the custom_link_set of this VersionModelVersionCheckoutAndUpdateDTOVersionModel. - 关系实体名称集合,与workCopyType的值CUSTOM配合使用。 + **参数解释:** 关系实体名称集合,与workCopyType的值CUSTOM配合使用。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The custom_link_set of this VersionModelVersionCheckoutAndUpdateDTOVersionModel. :rtype: list[str] @@ -111,7 +111,7 @@ def custom_link_set(self): def custom_link_set(self, custom_link_set): """Sets the custom_link_set of this VersionModelVersionCheckoutAndUpdateDTOVersionModel. - 关系实体名称集合,与workCopyType的值CUSTOM配合使用。 + **参数解释:** 关系实体名称集合,与workCopyType的值CUSTOM配合使用。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param custom_link_set: The custom_link_set of this VersionModelVersionCheckoutAndUpdateDTOVersionModel. :type custom_link_set: list[str] @@ -140,7 +140,7 @@ def data(self, data): def master_id(self): """Gets the master_id of this VersionModelVersionCheckoutAndUpdateDTOVersionModel. - 主对象ID。 + **参数解释:** 主对象ID。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The master_id of this VersionModelVersionCheckoutAndUpdateDTOVersionModel. :rtype: str @@ -151,7 +151,7 @@ def master_id(self): def master_id(self, master_id): """Sets the master_id of this VersionModelVersionCheckoutAndUpdateDTOVersionModel. - 主对象ID。 + **参数解释:** 主对象ID。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param master_id: The master_id of this VersionModelVersionCheckoutAndUpdateDTOVersionModel. :type master_id: str @@ -162,7 +162,7 @@ def master_id(self, master_id): def modifier(self): """Gets the modifier of this VersionModelVersionCheckoutAndUpdateDTOVersionModel. - 更新者。 + **参数解释:** 更新者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The modifier of this VersionModelVersionCheckoutAndUpdateDTOVersionModel. :rtype: str @@ -173,7 +173,7 @@ def modifier(self): def modifier(self, modifier): """Sets the modifier of this VersionModelVersionCheckoutAndUpdateDTOVersionModel. - 更新者。 + **参数解释:** 更新者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param modifier: The modifier of this VersionModelVersionCheckoutAndUpdateDTOVersionModel. :type modifier: str @@ -184,7 +184,7 @@ def modifier(self, modifier): def work_copy_type(self): """Gets the work_copy_type of this VersionModelVersionCheckoutAndUpdateDTOVersionModel. - 关系的复制类型。 - BOTH:若存在关系实例引用此数据实例作为源端实例或目标端实例,检出并更新后的数据实例将继承这些关系实例。 - SOURCE:若存在关系实例引用此数据实例作为源端实例,检出并更新后的数据实例将继承这些关系实例。 - TARGET:若存在关系实例引用此数据实例作为目标端实例,检出并更新后的数据实例将继承这些关系实例。 - NONE:检出并更新后的数据实例将不继承任何关系实例。 - CUSTOM:若指定的关系实体集合对应的关系实例引用此数据实例作为源端实例或目标端实例,检出并更新后的数据实例将继承这些关系实例。 + **参数解释:** 关系的复制类型。 **取值范围:** - BOTH:若存在关系实例引用此数据实例作为源端实例或目标端实例,检出并更新后的数据实例将继承这些关系实例。 - SOURCE:若存在关系实例引用此数据实例作为源端实例,检出并更新后的数据实例将继承这些关系实例。 - TARGET:若存在关系实例引用此数据实例作为目标端实例,检出并更新后的数据实例将继承这些关系实例。 - NONE:检出并更新后的数据实例将不继承任何关系实例。 - CUSTOM:若指定的关系实体集合对应的关系实例引用此数据实例作为源端实例或目标端实例,检出并更新后的数据实例将继承这些关系实例。 **默认取值:** 不涉及。 :return: The work_copy_type of this VersionModelVersionCheckoutAndUpdateDTOVersionModel. :rtype: str @@ -195,7 +195,7 @@ def work_copy_type(self): def work_copy_type(self, work_copy_type): """Sets the work_copy_type of this VersionModelVersionCheckoutAndUpdateDTOVersionModel. - 关系的复制类型。 - BOTH:若存在关系实例引用此数据实例作为源端实例或目标端实例,检出并更新后的数据实例将继承这些关系实例。 - SOURCE:若存在关系实例引用此数据实例作为源端实例,检出并更新后的数据实例将继承这些关系实例。 - TARGET:若存在关系实例引用此数据实例作为目标端实例,检出并更新后的数据实例将继承这些关系实例。 - NONE:检出并更新后的数据实例将不继承任何关系实例。 - CUSTOM:若指定的关系实体集合对应的关系实例引用此数据实例作为源端实例或目标端实例,检出并更新后的数据实例将继承这些关系实例。 + **参数解释:** 关系的复制类型。 **取值范围:** - BOTH:若存在关系实例引用此数据实例作为源端实例或目标端实例,检出并更新后的数据实例将继承这些关系实例。 - SOURCE:若存在关系实例引用此数据实例作为源端实例,检出并更新后的数据实例将继承这些关系实例。 - TARGET:若存在关系实例引用此数据实例作为目标端实例,检出并更新后的数据实例将继承这些关系实例。 - NONE:检出并更新后的数据实例将不继承任何关系实例。 - CUSTOM:若指定的关系实体集合对应的关系实例引用此数据实例作为源端实例或目标端实例,检出并更新后的数据实例将继承这些关系实例。 **默认取值:** 不涉及。 :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 354b606c46..8b80789840 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 @@ -31,9 +31,9 @@ def __init__(self, master_id=None, version=None): The model defined in huaweicloud sdk - :param master_id: 主对象ID。 + :param master_id: **参数解释:** 主对象ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type master_id: str - :param version: 版本对象版本号。 + :param version: **参数解释:** 版本对象版本号。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type version: str """ @@ -51,7 +51,7 @@ def __init__(self, master_id=None, version=None): def master_id(self): """Gets the master_id of this VersionModelVersionMasterDTO. - 主对象ID。 + **参数解释:** 主对象ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The master_id of this VersionModelVersionMasterDTO. :rtype: str @@ -62,7 +62,7 @@ def master_id(self): def master_id(self, master_id): """Sets the master_id of this VersionModelVersionMasterDTO. - 主对象ID。 + **参数解释:** 主对象ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param master_id: The master_id of this VersionModelVersionMasterDTO. :type master_id: str @@ -73,7 +73,7 @@ def master_id(self, master_id): def version(self): """Gets the version of this VersionModelVersionMasterDTO. - 版本对象版本号。 + **参数解释:** 版本对象版本号。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The version of this VersionModelVersionMasterDTO. :rtype: str @@ -84,7 +84,7 @@ def version(self): def version(self, version): """Sets the version of this VersionModelVersionMasterDTO. - 版本对象版本号。 + **参数解释:** 版本对象版本号。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param version: The version of this VersionModelVersionMasterDTO. :type version: str 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 9e3e55dc52..cdde757ffd 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 @@ -33,11 +33,11 @@ def __init__(self, master_id=None, modifier=None, version=None): The model defined in huaweicloud sdk - :param master_id: 父模型ID。 + :param master_id: **参数解释:** 父模型ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type master_id: str - :param modifier: 修改人。 + :param modifier: **参数解释:** 修改人。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type modifier: str - :param version: 版本对象。 + :param version: **参数解释:** 版本对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type version: str """ @@ -58,7 +58,7 @@ def __init__(self, master_id=None, modifier=None, version=None): def master_id(self): """Gets the master_id of this VersionModelVersionMasterModifierDTO. - 父模型ID。 + **参数解释:** 父模型ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The master_id of this VersionModelVersionMasterModifierDTO. :rtype: str @@ -69,7 +69,7 @@ def master_id(self): def master_id(self, master_id): """Sets the master_id of this VersionModelVersionMasterModifierDTO. - 父模型ID。 + **参数解释:** 父模型ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param master_id: The master_id of this VersionModelVersionMasterModifierDTO. :type master_id: str @@ -80,7 +80,7 @@ def master_id(self, master_id): def modifier(self): """Gets the modifier of this VersionModelVersionMasterModifierDTO. - 修改人。 + **参数解释:** 修改人。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The modifier of this VersionModelVersionMasterModifierDTO. :rtype: str @@ -91,7 +91,7 @@ def modifier(self): def modifier(self, modifier): """Sets the modifier of this VersionModelVersionMasterModifierDTO. - 修改人。 + **参数解释:** 修改人。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param modifier: The modifier of this VersionModelVersionMasterModifierDTO. :type modifier: str @@ -102,7 +102,7 @@ def modifier(self, modifier): def version(self): """Gets the version of this VersionModelVersionMasterModifierDTO. - 版本对象。 + **参数解释:** 版本对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The version of this VersionModelVersionMasterModifierDTO. :rtype: str @@ -113,7 +113,7 @@ def version(self): def version(self, version): """Sets the version of this VersionModelVersionMasterModifierDTO. - 版本对象。 + **参数解释:** 版本对象。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param version: The version of this VersionModelVersionMasterModifierDTO. :type version: str 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 15b7d782c1..6da10b75b2 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 @@ -35,13 +35,13 @@ def __init__(self, decrypt=None, iteration=None, master_id=None, version=None): The model defined in huaweicloud sdk - :param decrypt: 是否加密。 - true:加密。 - false:不加密。 + :param decrypt: **参数解释:** 是否加密。 **取值范围:** - true:加密。 - false:不加密。 **默认取值:** false。 :type decrypt: bool - :param iteration: 迭代版本。如果此参数为空,则返回M-V模型实例的最新版本信息。 + :param iteration: **参数解释:** 迭代版本。如果此参数为空,则返回M-V模型实例的最新版本信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type iteration: int - :param master_id: 主对象ID。 + :param master_id: **参数解释:** 主对象ID。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type master_id: str - :param version: 版本号。 + :param version: **参数解释:** 版本号。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type version: str """ @@ -64,7 +64,7 @@ def __init__(self, decrypt=None, iteration=None, master_id=None, version=None): def decrypt(self): """Gets the decrypt of this VersionModelVersionMasterQueryDTO. - 是否加密。 - true:加密。 - false:不加密。 + **参数解释:** 是否加密。 **取值范围:** - true:加密。 - false:不加密。 **默认取值:** false。 :return: The decrypt of this VersionModelVersionMasterQueryDTO. :rtype: bool @@ -75,7 +75,7 @@ def decrypt(self): def decrypt(self, decrypt): """Sets the decrypt of this VersionModelVersionMasterQueryDTO. - 是否加密。 - true:加密。 - false:不加密。 + **参数解释:** 是否加密。 **取值范围:** - true:加密。 - false:不加密。 **默认取值:** false。 :param decrypt: The decrypt of this VersionModelVersionMasterQueryDTO. :type decrypt: bool @@ -86,7 +86,7 @@ def decrypt(self, decrypt): def iteration(self): """Gets the iteration of this VersionModelVersionMasterQueryDTO. - 迭代版本。如果此参数为空,则返回M-V模型实例的最新版本信息。 + **参数解释:** 迭代版本。如果此参数为空,则返回M-V模型实例的最新版本信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The iteration of this VersionModelVersionMasterQueryDTO. :rtype: int @@ -97,7 +97,7 @@ def iteration(self): def iteration(self, iteration): """Sets the iteration of this VersionModelVersionMasterQueryDTO. - 迭代版本。如果此参数为空,则返回M-V模型实例的最新版本信息。 + **参数解释:** 迭代版本。如果此参数为空,则返回M-V模型实例的最新版本信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param iteration: The iteration of this VersionModelVersionMasterQueryDTO. :type iteration: int @@ -108,7 +108,7 @@ def iteration(self, iteration): def master_id(self): """Gets the master_id of this VersionModelVersionMasterQueryDTO. - 主对象ID。 + **参数解释:** 主对象ID。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The master_id of this VersionModelVersionMasterQueryDTO. :rtype: str @@ -119,7 +119,7 @@ def master_id(self): def master_id(self, master_id): """Sets the master_id of this VersionModelVersionMasterQueryDTO. - 主对象ID。 + **参数解释:** 主对象ID。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param master_id: The master_id of this VersionModelVersionMasterQueryDTO. :type master_id: str @@ -130,7 +130,7 @@ def master_id(self, master_id): def version(self): """Gets the version of this VersionModelVersionMasterQueryDTO. - 版本号。 + **参数解释:** 版本号。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The version of this VersionModelVersionMasterQueryDTO. :rtype: str @@ -141,7 +141,7 @@ def version(self): def version(self, version): """Sets the version of this VersionModelVersionMasterQueryDTO. - 版本号。 + **参数解释:** 版本号。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param version: The version of this VersionModelVersionMasterQueryDTO. :type version: str 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 6612f68edb..9ce38a10e3 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 @@ -41,19 +41,19 @@ def __init__(self, creator=None, custom_link_set=None, data=None, master_id=None The model defined in huaweicloud sdk - :param creator: 创建人。 + :param creator: **参数解释:** 创建人。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type creator: str - :param custom_link_set: 关系实体名称集合,与workCopyType的值CUSTOM配合使用。 + :param custom_link_set: **参数解释:** 关系实体名称集合,与workCopyType的值CUSTOM配合使用。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type custom_link_set: list[str] :param data: :type data: :class:`huaweicloudsdkidmeclassicapi.v1.VersionModel` - :param master_id: 主对象ID。 + :param master_id: **参数解释:** 主对象ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type master_id: str - :param modifier: 更新者。 + :param modifier: **参数解释:** 更新者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type modifier: str - :param work_copy_type: 关系的复制类型。 - BOTH:若存在关系实例引用此数据实例作为源端实例或目标端实例,修订且更新后的数据实例将继承这些关系实例。 - SOURCE:若存在关系实例引用此数据实例作为源端实例,修订且更新后的数据实例将继承这些关系实例。 - TARGET:若存在关系实例引用此数据实例作为目标端实例,修订且更新后的数据实例将继承这些关系实例。 - NONE:修订且更新后的数据实例将不继承任何关系实例。 - CUSTOM:若指定的关系实体集合对应的关系实例引用此数据实例作为源端实例或目标端实例,修订且更新后的数据实例将继承这些关系实例。 + :param work_copy_type: **参数解释:** 关系的复制类型。 **约束限制:** 不涉及。 **取值范围:** - BOTH:若存在关系实例引用此数据实例作为源端实例或目标端实例,修订且更新后的数据实例将继承这些关系实例。 - SOURCE:若存在关系实例引用此数据实例作为源端实例,修订且更新后的数据实例将继承这些关系实例。 - TARGET:若存在关系实例引用此数据实例作为目标端实例,修订且更新后的数据实例将继承这些关系实例。 - NONE:修订且更新后的数据实例将不继承任何关系实例。 - CUSTOM:若指定的关系实体集合对应的关系实例引用此数据实例作为源端实例或目标端实例,修订且更新后的数据实例将继承这些关系实例。 **默认取值:** 不涉及。 :type work_copy_type: str - :param working_copy: 是否已检出。 - true:已检出。 - false:未检出。 + :param working_copy: **参数解释:** 是否已检出。 **约束限制:** 不涉及。 **取值范围:** - true:已检出。 - false:未检出。 **默认取值:** false。 :type working_copy: bool """ @@ -85,7 +85,7 @@ def __init__(self, creator=None, custom_link_set=None, data=None, master_id=None def creator(self): """Gets the creator of this VersionModelVersionReviseAndUpdateDTOVersionModel. - 创建人。 + **参数解释:** 创建人。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The creator of this VersionModelVersionReviseAndUpdateDTOVersionModel. :rtype: str @@ -96,7 +96,7 @@ def creator(self): def creator(self, creator): """Sets the creator of this VersionModelVersionReviseAndUpdateDTOVersionModel. - 创建人。 + **参数解释:** 创建人。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param creator: The creator of this VersionModelVersionReviseAndUpdateDTOVersionModel. :type creator: str @@ -107,7 +107,7 @@ def creator(self, creator): def custom_link_set(self): """Gets the custom_link_set of this VersionModelVersionReviseAndUpdateDTOVersionModel. - 关系实体名称集合,与workCopyType的值CUSTOM配合使用。 + **参数解释:** 关系实体名称集合,与workCopyType的值CUSTOM配合使用。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The custom_link_set of this VersionModelVersionReviseAndUpdateDTOVersionModel. :rtype: list[str] @@ -118,7 +118,7 @@ def custom_link_set(self): def custom_link_set(self, custom_link_set): """Sets the custom_link_set of this VersionModelVersionReviseAndUpdateDTOVersionModel. - 关系实体名称集合,与workCopyType的值CUSTOM配合使用。 + **参数解释:** 关系实体名称集合,与workCopyType的值CUSTOM配合使用。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param custom_link_set: The custom_link_set of this VersionModelVersionReviseAndUpdateDTOVersionModel. :type custom_link_set: list[str] @@ -147,7 +147,7 @@ def data(self, data): def master_id(self): """Gets the master_id of this VersionModelVersionReviseAndUpdateDTOVersionModel. - 主对象ID。 + **参数解释:** 主对象ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The master_id of this VersionModelVersionReviseAndUpdateDTOVersionModel. :rtype: str @@ -158,7 +158,7 @@ def master_id(self): def master_id(self, master_id): """Sets the master_id of this VersionModelVersionReviseAndUpdateDTOVersionModel. - 主对象ID。 + **参数解释:** 主对象ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param master_id: The master_id of this VersionModelVersionReviseAndUpdateDTOVersionModel. :type master_id: str @@ -169,7 +169,7 @@ def master_id(self, master_id): def modifier(self): """Gets the modifier of this VersionModelVersionReviseAndUpdateDTOVersionModel. - 更新者。 + **参数解释:** 更新者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The modifier of this VersionModelVersionReviseAndUpdateDTOVersionModel. :rtype: str @@ -180,7 +180,7 @@ def modifier(self): def modifier(self, modifier): """Sets the modifier of this VersionModelVersionReviseAndUpdateDTOVersionModel. - 更新者。 + **参数解释:** 更新者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param modifier: The modifier of this VersionModelVersionReviseAndUpdateDTOVersionModel. :type modifier: str @@ -191,7 +191,7 @@ def modifier(self, modifier): def work_copy_type(self): """Gets the work_copy_type of this VersionModelVersionReviseAndUpdateDTOVersionModel. - 关系的复制类型。 - BOTH:若存在关系实例引用此数据实例作为源端实例或目标端实例,修订且更新后的数据实例将继承这些关系实例。 - SOURCE:若存在关系实例引用此数据实例作为源端实例,修订且更新后的数据实例将继承这些关系实例。 - TARGET:若存在关系实例引用此数据实例作为目标端实例,修订且更新后的数据实例将继承这些关系实例。 - NONE:修订且更新后的数据实例将不继承任何关系实例。 - CUSTOM:若指定的关系实体集合对应的关系实例引用此数据实例作为源端实例或目标端实例,修订且更新后的数据实例将继承这些关系实例。 + **参数解释:** 关系的复制类型。 **约束限制:** 不涉及。 **取值范围:** - BOTH:若存在关系实例引用此数据实例作为源端实例或目标端实例,修订且更新后的数据实例将继承这些关系实例。 - SOURCE:若存在关系实例引用此数据实例作为源端实例,修订且更新后的数据实例将继承这些关系实例。 - TARGET:若存在关系实例引用此数据实例作为目标端实例,修订且更新后的数据实例将继承这些关系实例。 - NONE:修订且更新后的数据实例将不继承任何关系实例。 - CUSTOM:若指定的关系实体集合对应的关系实例引用此数据实例作为源端实例或目标端实例,修订且更新后的数据实例将继承这些关系实例。 **默认取值:** 不涉及。 :return: The work_copy_type of this VersionModelVersionReviseAndUpdateDTOVersionModel. :rtype: str @@ -202,7 +202,7 @@ def work_copy_type(self): def work_copy_type(self, work_copy_type): """Sets the work_copy_type of this VersionModelVersionReviseAndUpdateDTOVersionModel. - 关系的复制类型。 - BOTH:若存在关系实例引用此数据实例作为源端实例或目标端实例,修订且更新后的数据实例将继承这些关系实例。 - SOURCE:若存在关系实例引用此数据实例作为源端实例,修订且更新后的数据实例将继承这些关系实例。 - TARGET:若存在关系实例引用此数据实例作为目标端实例,修订且更新后的数据实例将继承这些关系实例。 - NONE:修订且更新后的数据实例将不继承任何关系实例。 - CUSTOM:若指定的关系实体集合对应的关系实例引用此数据实例作为源端实例或目标端实例,修订且更新后的数据实例将继承这些关系实例。 + **参数解释:** 关系的复制类型。 **约束限制:** 不涉及。 **取值范围:** - BOTH:若存在关系实例引用此数据实例作为源端实例或目标端实例,修订且更新后的数据实例将继承这些关系实例。 - SOURCE:若存在关系实例引用此数据实例作为源端实例,修订且更新后的数据实例将继承这些关系实例。 - TARGET:若存在关系实例引用此数据实例作为目标端实例,修订且更新后的数据实例将继承这些关系实例。 - NONE:修订且更新后的数据实例将不继承任何关系实例。 - CUSTOM:若指定的关系实体集合对应的关系实例引用此数据实例作为源端实例或目标端实例,修订且更新后的数据实例将继承这些关系实例。 **默认取值:** 不涉及。 :param work_copy_type: The work_copy_type of this VersionModelVersionReviseAndUpdateDTOVersionModel. :type work_copy_type: str @@ -213,7 +213,7 @@ def work_copy_type(self, work_copy_type): def working_copy(self): """Gets the working_copy of this VersionModelVersionReviseAndUpdateDTOVersionModel. - 是否已检出。 - true:已检出。 - false:未检出。 + **参数解释:** 是否已检出。 **约束限制:** 不涉及。 **取值范围:** - true:已检出。 - false:未检出。 **默认取值:** false。 :return: The working_copy of this VersionModelVersionReviseAndUpdateDTOVersionModel. :rtype: bool @@ -224,7 +224,7 @@ def working_copy(self): def working_copy(self, working_copy): """Sets the working_copy of this VersionModelVersionReviseAndUpdateDTOVersionModel. - 是否已检出。 - true:已检出。 - false:未检出。 + **参数解释:** 是否已检出。 **约束限制:** 不涉及。 **取值范围:** - true:已检出。 - false:未检出。 **默认取值:** false。 :param working_copy: The working_copy of this VersionModelVersionReviseAndUpdateDTOVersionModel. :type working_copy: bool 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 a7affe8c77..5df0b033d0 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 @@ -39,17 +39,17 @@ def __init__(self, creator=None, custom_link_set=None, master_id=None, modifier= The model defined in huaweicloud sdk - :param creator: 创建人。 + :param creator: **参数解释:** 创建人。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type creator: str - :param custom_link_set: 关系实体名称集合,与workCopyType的值CUSTOM配合使用。 + :param custom_link_set: **参数解释:** 关系实体名称集合,与workCopyType的值CUSTOM配合使用。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type custom_link_set: list[str] - :param master_id: 主对象ID。 + :param master_id: **参数解释:** 主对象ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type master_id: str - :param modifier: 更新者。 + :param modifier: **参数解释:** 更新者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type modifier: str - :param work_copy_type: 关系的复制类型。 - BOTH:若存在关系实例引用此数据实例作为源端实例或目标端实例,修订后的数据实例将继承这些关系实例。 - SOURCE:若存在关系实例引用此数据实例作为源端实例,修订后的数据实例将继承这些关系实例。 - TARGET:若存在关系实例引用此数据实例作为目标端实例,修订后的数据实例将继承这些关系实例。 - NONE:修订后的数据实例将不继承任何关系实例。 - CUSTOM:若指定的关系实体集合对应的关系实例引用此数据实例作为源端实例或目标端实例,修订后的数据实例将继承这些关系实例。 + :param work_copy_type: **参数解释:** 关系的复制类型。 **约束限制:** 不涉及。 **取值范围:** - BOTH:若存在关系实例引用此数据实例作为源端实例或目标端实例,修订后的数据实例将继承这些关系实例。 - SOURCE:若存在关系实例引用此数据实例作为源端实例,修订后的数据实例将继承这些关系实例。 - TARGET:若存在关系实例引用此数据实例作为目标端实例,修订后的数据实例将继承这些关系实例。 - NONE:修订后的数据实例将不继承任何关系实例。 - CUSTOM:若指定的关系实体集合对应的关系实例引用此数据实例作为源端实例或目标端实例,修订后的数据实例将继承这些关系实例。 **默认取值:** 不涉及。 :type work_copy_type: str - :param working_copy: 是否已检出。 - true:已检出。 - false:未检出。 + :param working_copy: **参数解释:** 是否已检出。 **约束限制:** 不涉及。 **取值范围:** - true:已检出。 - false:未检出。 **默认取值:** false。 :type working_copy: bool """ @@ -79,7 +79,7 @@ def __init__(self, creator=None, custom_link_set=None, master_id=None, modifier= def creator(self): """Gets the creator of this VersionModelVersionReviseDTO. - 创建人。 + **参数解释:** 创建人。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The creator of this VersionModelVersionReviseDTO. :rtype: str @@ -90,7 +90,7 @@ def creator(self): def creator(self, creator): """Sets the creator of this VersionModelVersionReviseDTO. - 创建人。 + **参数解释:** 创建人。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param creator: The creator of this VersionModelVersionReviseDTO. :type creator: str @@ -101,7 +101,7 @@ def creator(self, creator): def custom_link_set(self): """Gets the custom_link_set of this VersionModelVersionReviseDTO. - 关系实体名称集合,与workCopyType的值CUSTOM配合使用。 + **参数解释:** 关系实体名称集合,与workCopyType的值CUSTOM配合使用。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The custom_link_set of this VersionModelVersionReviseDTO. :rtype: list[str] @@ -112,7 +112,7 @@ def custom_link_set(self): def custom_link_set(self, custom_link_set): """Sets the custom_link_set of this VersionModelVersionReviseDTO. - 关系实体名称集合,与workCopyType的值CUSTOM配合使用。 + **参数解释:** 关系实体名称集合,与workCopyType的值CUSTOM配合使用。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param custom_link_set: The custom_link_set of this VersionModelVersionReviseDTO. :type custom_link_set: list[str] @@ -123,7 +123,7 @@ def custom_link_set(self, custom_link_set): def master_id(self): """Gets the master_id of this VersionModelVersionReviseDTO. - 主对象ID。 + **参数解释:** 主对象ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The master_id of this VersionModelVersionReviseDTO. :rtype: str @@ -134,7 +134,7 @@ def master_id(self): def master_id(self, master_id): """Sets the master_id of this VersionModelVersionReviseDTO. - 主对象ID。 + **参数解释:** 主对象ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param master_id: The master_id of this VersionModelVersionReviseDTO. :type master_id: str @@ -145,7 +145,7 @@ def master_id(self, master_id): def modifier(self): """Gets the modifier of this VersionModelVersionReviseDTO. - 更新者。 + **参数解释:** 更新者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The modifier of this VersionModelVersionReviseDTO. :rtype: str @@ -156,7 +156,7 @@ def modifier(self): def modifier(self, modifier): """Sets the modifier of this VersionModelVersionReviseDTO. - 更新者。 + **参数解释:** 更新者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param modifier: The modifier of this VersionModelVersionReviseDTO. :type modifier: str @@ -167,7 +167,7 @@ def modifier(self, modifier): def work_copy_type(self): """Gets the work_copy_type of this VersionModelVersionReviseDTO. - 关系的复制类型。 - BOTH:若存在关系实例引用此数据实例作为源端实例或目标端实例,修订后的数据实例将继承这些关系实例。 - SOURCE:若存在关系实例引用此数据实例作为源端实例,修订后的数据实例将继承这些关系实例。 - TARGET:若存在关系实例引用此数据实例作为目标端实例,修订后的数据实例将继承这些关系实例。 - NONE:修订后的数据实例将不继承任何关系实例。 - CUSTOM:若指定的关系实体集合对应的关系实例引用此数据实例作为源端实例或目标端实例,修订后的数据实例将继承这些关系实例。 + **参数解释:** 关系的复制类型。 **约束限制:** 不涉及。 **取值范围:** - BOTH:若存在关系实例引用此数据实例作为源端实例或目标端实例,修订后的数据实例将继承这些关系实例。 - SOURCE:若存在关系实例引用此数据实例作为源端实例,修订后的数据实例将继承这些关系实例。 - TARGET:若存在关系实例引用此数据实例作为目标端实例,修订后的数据实例将继承这些关系实例。 - NONE:修订后的数据实例将不继承任何关系实例。 - CUSTOM:若指定的关系实体集合对应的关系实例引用此数据实例作为源端实例或目标端实例,修订后的数据实例将继承这些关系实例。 **默认取值:** 不涉及。 :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. - 关系的复制类型。 - BOTH:若存在关系实例引用此数据实例作为源端实例或目标端实例,修订后的数据实例将继承这些关系实例。 - SOURCE:若存在关系实例引用此数据实例作为源端实例,修订后的数据实例将继承这些关系实例。 - TARGET:若存在关系实例引用此数据实例作为目标端实例,修订后的数据实例将继承这些关系实例。 - NONE:修订后的数据实例将不继承任何关系实例。 - CUSTOM:若指定的关系实体集合对应的关系实例引用此数据实例作为源端实例或目标端实例,修订后的数据实例将继承这些关系实例。 + **参数解释:** 关系的复制类型。 **约束限制:** 不涉及。 **取值范围:** - BOTH:若存在关系实例引用此数据实例作为源端实例或目标端实例,修订后的数据实例将继承这些关系实例。 - SOURCE:若存在关系实例引用此数据实例作为源端实例,修订后的数据实例将继承这些关系实例。 - TARGET:若存在关系实例引用此数据实例作为目标端实例,修订后的数据实例将继承这些关系实例。 - NONE:修订后的数据实例将不继承任何关系实例。 - CUSTOM:若指定的关系实体集合对应的关系实例引用此数据实例作为源端实例或目标端实例,修订后的数据实例将继承这些关系实例。 **默认取值:** 不涉及。 :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:未检出。 + **参数解释:** 是否已检出。 **约束限制:** 不涉及。 **取值范围:** - true:已检出。 - false:未检出。 **默认取值:** 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:未检出。 + **参数解释:** 是否已检出。 **约束限制:** 不涉及。 **取值范围:** - true:已检出。 - false:未检出。 **默认取值:** 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_undo_check_out_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_version_undo_check_out_dto.py index b0bba089a9..f3266854df 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_version_undo_check_out_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_version_undo_check_out_dto.py @@ -31,9 +31,9 @@ def __init__(self, master_id=None, modifier=None): The model defined in huaweicloud sdk - :param master_id: 主对象ID。 + :param master_id: **参数解释:** 主对象ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type master_id: str - :param modifier: 更新者。 + :param modifier: **参数解释:** 更新者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type modifier: str """ @@ -51,7 +51,7 @@ def __init__(self, master_id=None, modifier=None): def master_id(self): """Gets the master_id of this VersionModelVersionUndoCheckOutDTO. - 主对象ID。 + **参数解释:** 主对象ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The master_id of this VersionModelVersionUndoCheckOutDTO. :rtype: str @@ -62,7 +62,7 @@ def master_id(self): def master_id(self, master_id): """Sets the master_id of this VersionModelVersionUndoCheckOutDTO. - 主对象ID。 + **参数解释:** 主对象ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param master_id: The master_id of this VersionModelVersionUndoCheckOutDTO. :type master_id: str @@ -73,7 +73,7 @@ def master_id(self, master_id): def modifier(self): """Gets the modifier of this VersionModelVersionUndoCheckOutDTO. - 更新者。 + **参数解释:** 更新者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The modifier of this VersionModelVersionUndoCheckOutDTO. :rtype: str @@ -84,7 +84,7 @@ def modifier(self): def modifier(self, modifier): """Sets the modifier of this VersionModelVersionUndoCheckOutDTO. - 更新者。 + **参数解释:** 更新者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param modifier: The modifier of this VersionModelVersionUndoCheckOutDTO. :type modifier: str 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 d114379d2a..5511b3f75f 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 @@ -35,9 +35,9 @@ def __init__(self, data=None, master_id=None, modifier=None): :param data: :type data: :class:`huaweicloudsdkidmeclassicapi.v1.VersionModel` - :param master_id: 主对象ID。 + :param master_id: **参数解释:** 主对象ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type master_id: str - :param modifier: 更新者。 + :param modifier: **参数解释:** 更新者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type modifier: str """ @@ -75,7 +75,7 @@ def data(self, data): def master_id(self): """Gets the master_id of this VersionModelVersionUpdateAndCheckinDTOVersionModel. - 主对象ID。 + **参数解释:** 主对象ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The master_id of this VersionModelVersionUpdateAndCheckinDTOVersionModel. :rtype: str @@ -86,7 +86,7 @@ def master_id(self): def master_id(self, master_id): """Sets the master_id of this VersionModelVersionUpdateAndCheckinDTOVersionModel. - 主对象ID。 + **参数解释:** 主对象ID。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param master_id: The master_id of this VersionModelVersionUpdateAndCheckinDTOVersionModel. :type master_id: str @@ -97,7 +97,7 @@ def master_id(self, master_id): def modifier(self): """Gets the modifier of this VersionModelVersionUpdateAndCheckinDTOVersionModel. - 更新者。 + **参数解释:** 更新者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The modifier of this VersionModelVersionUpdateAndCheckinDTOVersionModel. :rtype: str @@ -108,7 +108,7 @@ def modifier(self): def modifier(self, modifier): """Sets the modifier of this VersionModelVersionUpdateAndCheckinDTOVersionModel. - 更新者。 + **参数解释:** 更新者。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param modifier: The modifier of this VersionModelVersionUpdateAndCheckinDTOVersionModel. :type modifier: str 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 5c3eddd0ae..8cf02186b5 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 @@ -33,11 +33,11 @@ def __init__(self, id=None, iteration=None, version=None): The model defined in huaweicloud sdk - :param id: 唯一标识。 + :param id: **参数解释:** 唯一标识。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type id: str - :param iteration: 迭代版本。 + :param iteration: **参数解释:** 迭代版本。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type iteration: int - :param version: 版本号。 + :param version: **参数解释:** 版本号。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type version: str """ @@ -57,7 +57,7 @@ def __init__(self, id=None, iteration=None, version=None): def id(self): """Gets the id of this VersionModelVersionUpdateDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The id of this VersionModelVersionUpdateDTO. :rtype: str @@ -68,7 +68,7 @@ def id(self): def id(self, id): """Sets the id of this VersionModelVersionUpdateDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param id: The id of this VersionModelVersionUpdateDTO. :type id: str @@ -79,7 +79,7 @@ def id(self, id): def iteration(self): """Gets the iteration of this VersionModelVersionUpdateDTO. - 迭代版本。 + **参数解释:** 迭代版本。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The iteration of this VersionModelVersionUpdateDTO. :rtype: int @@ -90,7 +90,7 @@ def iteration(self): def iteration(self, iteration): """Sets the iteration of this VersionModelVersionUpdateDTO. - 迭代版本。 + **参数解释:** 迭代版本。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param iteration: The iteration of this VersionModelVersionUpdateDTO. :type iteration: int @@ -101,7 +101,7 @@ def iteration(self, iteration): def version(self): """Gets the version of this VersionModelVersionUpdateDTO. - 版本号。 + **参数解释:** 版本号。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The version of this VersionModelVersionUpdateDTO. :rtype: str @@ -112,7 +112,7 @@ def version(self): def version(self, version): """Sets the version of this VersionModelVersionUpdateDTO. - 版本号。 + **参数解释:** 版本号。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param version: The version of this VersionModelVersionUpdateDTO. :type version: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_view_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_view_dto.py index a4156642ba..40df254348 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_view_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_model_view_dto.py @@ -83,55 +83,55 @@ def __init__(self, branch=None, check_out_time=None, check_out_user_name=None, c :param branch: :type branch: :class:`huaweicloudsdkidmeclassicapi.v1.VersionModelBranchViewDTO` - :param check_out_time: 检出时间。 + :param check_out_time: **参数解释:** 检出时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type check_out_time: str - :param check_out_user_name: 检出人。 + :param check_out_user_name: **参数解释:** 检出人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type check_out_user_name: str - :param class_name: 类名。 + :param class_name: **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type class_name: str - :param create_time: 创建时间。 + :param create_time: **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type create_time: str - :param creator: 创建者。 + :param creator: **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type creator: str - :param description: 描述信息。 + :param description: **参数解释:** 描述信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type description: str - :param id: 唯一标识。 + :param id: **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type id: str - :param iteration: 迭代版本。 + :param iteration: **参数解释:** 迭代版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type iteration: int - :param kiaguid: KIA密级。 + :param kiaguid: **参数解释:** KIA密级。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type kiaguid: str - :param last_update_time: 最后更新时间。 + :param last_update_time: **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type last_update_time: str - :param latest: 是否为最新版本。 - true:是最新版本。 - false:不是最新版本。 + :param latest: **参数解释:** 是否为最新版本。 **取值范围:** - true:是最新版本。 - false:不是最新版本。 **默认取值:** false。 :type latest: bool - :param latest_iteration: 是否为最新迭代版本。 - true:是最新迭代版本。 - false:不是最新迭代版本。 + :param latest_iteration: **参数解释:** 是否为最新迭代版本。 **取值范围:** - true:是最新迭代版本。 - false:不是最新迭代版本。 **默认取值:** 不涉及。 :type latest_iteration: bool - :param latest_version: 是否为最新修订版本。 - true:是最新修订版本。 - false:不是最新修订版本。 + :param latest_version: **参数解释:** 是否为最新修订版本。 **取值范围:** - true:是最新修订版本。 - false:不是最新修订版本。 **默认取值:** 不涉及。 :type latest_version: bool :param master: :type master: :class:`huaweicloudsdkidmeclassicapi.v1.VersionModelMasterViewDTO` - :param modifier: 修改人。 + :param modifier: **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type modifier: str - :param name: 中文名称。 + :param name: **参数解释:** 中文名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type name: str - :param pre_version_id: 前序版本实例ID。 + :param pre_version_id: **参数解释:** 前序版本实例ID。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type pre_version_id: str - :param rdm_delete_flag: 软删除标识,参数值为0或1。 - 0:表示未删除。 - 1:表示已删除。 + :param rdm_delete_flag: **参数解释:** 软删除标识。 **取值范围:** - 0:表示未删除。 - 1:表示已删除。 **默认取值:** 0。 :type rdm_delete_flag: int - :param rdm_extension_type: 扩展类型。 + :param rdm_extension_type: **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type rdm_extension_type: str - :param rdm_version: 系统版本。 + :param rdm_version: **参数解释:** 系统版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type rdm_version: int - :param security_level: 安全密级。 - INTERNAL:内部公开。 - SECRET:秘密。 - CONFIDENTIAL:机密。 - TOP_SECRET:绝密。 + :param security_level: **参数解释:** 安全密级。 **取值范围:** - INTERNAL:内部公开。 - SECRET:秘密。 - CONFIDENTIAL:机密。 - TOP_SECRET:绝密。 **默认取值:** 不涉及。 :type security_level: str :param tenant: :type tenant: :class:`huaweicloudsdkidmeclassicapi.v1.TenantViewDTO` - :param version: 版本号。 + :param version: **参数解释:** 版本号。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type version: str - :param version_code: 业务版本内码。 + :param version_code: **参数解释:** 业务版本内码。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type version_code: int - :param working_copy: 是否已检出。 - true:已检出。 - false:未检出。 + :param working_copy: **参数解释:** 是否已检出。 **取值范围:** - true:已检出。 - false:未检出。 **默认取值:** false。 :type working_copy: bool :param working_state: :type working_state: :class:`huaweicloudsdkidmeclassicapi.v1.WorkingState` @@ -245,7 +245,7 @@ def branch(self, branch): def check_out_time(self): """Gets the check_out_time of this VersionModelViewDTO. - 检出时间。 + **参数解释:** 检出时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The check_out_time of this VersionModelViewDTO. :rtype: str @@ -256,7 +256,7 @@ def check_out_time(self): def check_out_time(self, check_out_time): """Sets the check_out_time of this VersionModelViewDTO. - 检出时间。 + **参数解释:** 检出时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param check_out_time: The check_out_time of this VersionModelViewDTO. :type check_out_time: str @@ -267,7 +267,7 @@ def check_out_time(self, check_out_time): def check_out_user_name(self): """Gets the check_out_user_name of this VersionModelViewDTO. - 检出人。 + **参数解释:** 检出人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The check_out_user_name of this VersionModelViewDTO. :rtype: str @@ -278,7 +278,7 @@ def check_out_user_name(self): def check_out_user_name(self, check_out_user_name): """Sets the check_out_user_name of this VersionModelViewDTO. - 检出人。 + **参数解释:** 检出人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param check_out_user_name: The check_out_user_name of this VersionModelViewDTO. :type check_out_user_name: str @@ -289,7 +289,7 @@ def check_out_user_name(self, check_out_user_name): def class_name(self): """Gets the class_name of this VersionModelViewDTO. - 类名。 + **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The class_name of this VersionModelViewDTO. :rtype: str @@ -300,7 +300,7 @@ def class_name(self): def class_name(self, class_name): """Sets the class_name of this VersionModelViewDTO. - 类名。 + **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param class_name: The class_name of this VersionModelViewDTO. :type class_name: str @@ -311,7 +311,7 @@ def class_name(self, class_name): def create_time(self): """Gets the create_time of this VersionModelViewDTO. - 创建时间。 + **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The create_time of this VersionModelViewDTO. :rtype: str @@ -322,7 +322,7 @@ def create_time(self): def create_time(self, create_time): """Sets the create_time of this VersionModelViewDTO. - 创建时间。 + **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param create_time: The create_time of this VersionModelViewDTO. :type create_time: str @@ -333,7 +333,7 @@ def create_time(self, create_time): def creator(self): """Gets the creator of this VersionModelViewDTO. - 创建者。 + **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The creator of this VersionModelViewDTO. :rtype: str @@ -344,7 +344,7 @@ def creator(self): def creator(self, creator): """Sets the creator of this VersionModelViewDTO. - 创建者。 + **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param creator: The creator of this VersionModelViewDTO. :type creator: str @@ -355,7 +355,7 @@ def creator(self, creator): def description(self): """Gets the description of this VersionModelViewDTO. - 描述信息。 + **参数解释:** 描述信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The description of this VersionModelViewDTO. :rtype: str @@ -366,7 +366,7 @@ def description(self): def description(self, description): """Sets the description of this VersionModelViewDTO. - 描述信息。 + **参数解释:** 描述信息。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param description: The description of this VersionModelViewDTO. :type description: str @@ -377,7 +377,7 @@ def description(self, description): def id(self): """Gets the id of this VersionModelViewDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The id of this VersionModelViewDTO. :rtype: str @@ -388,7 +388,7 @@ def id(self): def id(self, id): """Sets the id of this VersionModelViewDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param id: The id of this VersionModelViewDTO. :type id: str @@ -399,7 +399,7 @@ def id(self, id): def iteration(self): """Gets the iteration of this VersionModelViewDTO. - 迭代版本。 + **参数解释:** 迭代版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The iteration of this VersionModelViewDTO. :rtype: int @@ -410,7 +410,7 @@ def iteration(self): def iteration(self, iteration): """Sets the iteration of this VersionModelViewDTO. - 迭代版本。 + **参数解释:** 迭代版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param iteration: The iteration of this VersionModelViewDTO. :type iteration: int @@ -421,7 +421,7 @@ def iteration(self, iteration): def kiaguid(self): """Gets the kiaguid of this VersionModelViewDTO. - KIA密级。 + **参数解释:** KIA密级。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The kiaguid of this VersionModelViewDTO. :rtype: str @@ -432,7 +432,7 @@ def kiaguid(self): def kiaguid(self, kiaguid): """Sets the kiaguid of this VersionModelViewDTO. - KIA密级。 + **参数解释:** KIA密级。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param kiaguid: The kiaguid of this VersionModelViewDTO. :type kiaguid: str @@ -443,7 +443,7 @@ def kiaguid(self, kiaguid): def last_update_time(self): """Gets the last_update_time of this VersionModelViewDTO. - 最后更新时间。 + **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The last_update_time of this VersionModelViewDTO. :rtype: str @@ -454,7 +454,7 @@ def last_update_time(self): def last_update_time(self, last_update_time): """Sets the last_update_time of this VersionModelViewDTO. - 最后更新时间。 + **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param last_update_time: The last_update_time of this VersionModelViewDTO. :type last_update_time: str @@ -465,7 +465,7 @@ def last_update_time(self, last_update_time): def latest(self): """Gets the latest of this VersionModelViewDTO. - 是否为最新版本。 - true:是最新版本。 - false:不是最新版本。 + **参数解释:** 是否为最新版本。 **取值范围:** - true:是最新版本。 - false:不是最新版本。 **默认取值:** false。 :return: The latest of this VersionModelViewDTO. :rtype: bool @@ -476,7 +476,7 @@ def latest(self): def latest(self, latest): """Sets the latest of this VersionModelViewDTO. - 是否为最新版本。 - true:是最新版本。 - false:不是最新版本。 + **参数解释:** 是否为最新版本。 **取值范围:** - true:是最新版本。 - false:不是最新版本。 **默认取值:** false。 :param latest: The latest of this VersionModelViewDTO. :type latest: bool @@ -487,7 +487,7 @@ def latest(self, latest): def latest_iteration(self): """Gets the latest_iteration of this VersionModelViewDTO. - 是否为最新迭代版本。 - true:是最新迭代版本。 - false:不是最新迭代版本。 + **参数解释:** 是否为最新迭代版本。 **取值范围:** - true:是最新迭代版本。 - false:不是最新迭代版本。 **默认取值:** 不涉及。 :return: The latest_iteration of this VersionModelViewDTO. :rtype: bool @@ -498,7 +498,7 @@ def latest_iteration(self): def latest_iteration(self, latest_iteration): """Sets the latest_iteration of this VersionModelViewDTO. - 是否为最新迭代版本。 - true:是最新迭代版本。 - false:不是最新迭代版本。 + **参数解释:** 是否为最新迭代版本。 **取值范围:** - true:是最新迭代版本。 - false:不是最新迭代版本。 **默认取值:** 不涉及。 :param latest_iteration: The latest_iteration of this VersionModelViewDTO. :type latest_iteration: bool @@ -509,7 +509,7 @@ def latest_iteration(self, latest_iteration): def latest_version(self): """Gets the latest_version of this VersionModelViewDTO. - 是否为最新修订版本。 - true:是最新修订版本。 - false:不是最新修订版本。 + **参数解释:** 是否为最新修订版本。 **取值范围:** - true:是最新修订版本。 - false:不是最新修订版本。 **默认取值:** 不涉及。 :return: The latest_version of this VersionModelViewDTO. :rtype: bool @@ -520,7 +520,7 @@ def latest_version(self): def latest_version(self, latest_version): """Sets the latest_version of this VersionModelViewDTO. - 是否为最新修订版本。 - true:是最新修订版本。 - false:不是最新修订版本。 + **参数解释:** 是否为最新修订版本。 **取值范围:** - true:是最新修订版本。 - false:不是最新修订版本。 **默认取值:** 不涉及。 :param latest_version: The latest_version of this VersionModelViewDTO. :type latest_version: bool @@ -549,7 +549,7 @@ def master(self, master): def modifier(self): """Gets the modifier of this VersionModelViewDTO. - 修改人。 + **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The modifier of this VersionModelViewDTO. :rtype: str @@ -560,7 +560,7 @@ def modifier(self): def modifier(self, modifier): """Sets the modifier of this VersionModelViewDTO. - 修改人。 + **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param modifier: The modifier of this VersionModelViewDTO. :type modifier: str @@ -571,7 +571,7 @@ def modifier(self, modifier): def name(self): """Gets the name of this VersionModelViewDTO. - 中文名称。 + **参数解释:** 中文名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The name of this VersionModelViewDTO. :rtype: str @@ -582,7 +582,7 @@ def name(self): def name(self, name): """Sets the name of this VersionModelViewDTO. - 中文名称。 + **参数解释:** 中文名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param name: The name of this VersionModelViewDTO. :type name: str @@ -593,7 +593,7 @@ def name(self, name): def pre_version_id(self): """Gets the pre_version_id of this VersionModelViewDTO. - 前序版本实例ID。 + **参数解释:** 前序版本实例ID。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The pre_version_id of this VersionModelViewDTO. :rtype: str @@ -604,7 +604,7 @@ def pre_version_id(self): def pre_version_id(self, pre_version_id): """Sets the pre_version_id of this VersionModelViewDTO. - 前序版本实例ID。 + **参数解释:** 前序版本实例ID。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param pre_version_id: The pre_version_id of this VersionModelViewDTO. :type pre_version_id: str @@ -615,7 +615,7 @@ def pre_version_id(self, pre_version_id): def rdm_delete_flag(self): """Gets the rdm_delete_flag of this VersionModelViewDTO. - 软删除标识,参数值为0或1。 - 0:表示未删除。 - 1:表示已删除。 + **参数解释:** 软删除标识。 **取值范围:** - 0:表示未删除。 - 1:表示已删除。 **默认取值:** 0。 :return: The rdm_delete_flag of this VersionModelViewDTO. :rtype: int @@ -626,7 +626,7 @@ def rdm_delete_flag(self): def rdm_delete_flag(self, rdm_delete_flag): """Sets the rdm_delete_flag of this VersionModelViewDTO. - 软删除标识,参数值为0或1。 - 0:表示未删除。 - 1:表示已删除。 + **参数解释:** 软删除标识。 **取值范围:** - 0:表示未删除。 - 1:表示已删除。 **默认取值:** 0。 :param rdm_delete_flag: The rdm_delete_flag of this VersionModelViewDTO. :type rdm_delete_flag: int @@ -637,7 +637,7 @@ def rdm_delete_flag(self, rdm_delete_flag): def rdm_extension_type(self): """Gets the rdm_extension_type of this VersionModelViewDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The rdm_extension_type of this VersionModelViewDTO. :rtype: str @@ -648,7 +648,7 @@ def rdm_extension_type(self): def rdm_extension_type(self, rdm_extension_type): """Sets the rdm_extension_type of this VersionModelViewDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param rdm_extension_type: The rdm_extension_type of this VersionModelViewDTO. :type rdm_extension_type: str @@ -659,7 +659,7 @@ def rdm_extension_type(self, rdm_extension_type): def rdm_version(self): """Gets the rdm_version of this VersionModelViewDTO. - 系统版本。 + **参数解释:** 系统版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The rdm_version of this VersionModelViewDTO. :rtype: int @@ -670,7 +670,7 @@ def rdm_version(self): def rdm_version(self, rdm_version): """Sets the rdm_version of this VersionModelViewDTO. - 系统版本。 + **参数解释:** 系统版本。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param rdm_version: The rdm_version of this VersionModelViewDTO. :type rdm_version: int @@ -681,7 +681,7 @@ def rdm_version(self, rdm_version): def security_level(self): """Gets the security_level of this VersionModelViewDTO. - 安全密级。 - INTERNAL:内部公开。 - SECRET:秘密。 - CONFIDENTIAL:机密。 - TOP_SECRET:绝密。 + **参数解释:** 安全密级。 **取值范围:** - INTERNAL:内部公开。 - SECRET:秘密。 - CONFIDENTIAL:机密。 - TOP_SECRET:绝密。 **默认取值:** 不涉及。 :return: The security_level of this VersionModelViewDTO. :rtype: str @@ -692,7 +692,7 @@ def security_level(self): def security_level(self, security_level): """Sets the security_level of this VersionModelViewDTO. - 安全密级。 - INTERNAL:内部公开。 - SECRET:秘密。 - CONFIDENTIAL:机密。 - TOP_SECRET:绝密。 + **参数解释:** 安全密级。 **取值范围:** - INTERNAL:内部公开。 - SECRET:秘密。 - CONFIDENTIAL:机密。 - TOP_SECRET:绝密。 **默认取值:** 不涉及。 :param security_level: The security_level of this VersionModelViewDTO. :type security_level: str @@ -721,7 +721,7 @@ def tenant(self, tenant): def version(self): """Gets the version of this VersionModelViewDTO. - 版本号。 + **参数解释:** 版本号。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The version of this VersionModelViewDTO. :rtype: str @@ -732,7 +732,7 @@ def version(self): def version(self, version): """Sets the version of this VersionModelViewDTO. - 版本号。 + **参数解释:** 版本号。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param version: The version of this VersionModelViewDTO. :type version: str @@ -743,7 +743,7 @@ def version(self, version): def version_code(self): """Gets the version_code of this VersionModelViewDTO. - 业务版本内码。 + **参数解释:** 业务版本内码。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The version_code of this VersionModelViewDTO. :rtype: int @@ -754,7 +754,7 @@ def version_code(self): def version_code(self, version_code): """Sets the version_code of this VersionModelViewDTO. - 业务版本内码。 + **参数解释:** 业务版本内码。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param version_code: The version_code of this VersionModelViewDTO. :type version_code: int @@ -765,7 +765,7 @@ def version_code(self, version_code): def working_copy(self): """Gets the working_copy of this VersionModelViewDTO. - 是否已检出。 - true:已检出。 - false:未检出。 + **参数解释:** 是否已检出。 **取值范围:** - true:已检出。 - false:未检出。 **默认取值:** false。 :return: The working_copy of this VersionModelViewDTO. :rtype: bool @@ -776,7 +776,7 @@ def working_copy(self): def working_copy(self, working_copy): """Sets the working_copy of this VersionModelViewDTO. - 是否已检出。 - true:已检出。 - false:未检出。 + **参数解释:** 是否已检出。 **取值范围:** - true:已检出。 - false:未检出。 **默认取值:** false。 :param working_copy: The working_copy of this VersionModelViewDTO. :type working_copy: bool diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_object_branch_query_view_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_object_branch_query_view_dto.py index e0844b724f..3f47dd628d 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_object_branch_query_view_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_object_branch_query_view_dto.py @@ -45,23 +45,23 @@ def __init__(self, class_name=None, create_time=None, creator=None, id=None, las The model defined in huaweicloud sdk - :param class_name: 类名。 + :param class_name: **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type class_name: str - :param create_time: 创建时间。 + :param create_time: **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type create_time: str - :param creator: 创建者。 + :param creator: **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type creator: str - :param id: 唯一标识。 + :param id: **参数解释:** 唯一标识。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :type id: str - :param last_update_time: 最后更新时间。 + :param last_update_time: **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type last_update_time: str - :param modifier: 修改人。 + :param modifier: **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type modifier: str - :param rdm_extension_type: 扩展类型。 + :param rdm_extension_type: **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type rdm_extension_type: str :param tenant: :type tenant: :class:`huaweicloudsdkidmeclassicapi.v1.TenantQueryViewDTO` - :param version: 版本号。 + :param version: **参数解释:** 版本号。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type version: str """ @@ -101,7 +101,7 @@ def __init__(self, class_name=None, create_time=None, creator=None, id=None, las def class_name(self): """Gets the class_name of this VersionObjectBranchQueryViewDTO. - 类名。 + **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The class_name of this VersionObjectBranchQueryViewDTO. :rtype: str @@ -112,7 +112,7 @@ def class_name(self): def class_name(self, class_name): """Sets the class_name of this VersionObjectBranchQueryViewDTO. - 类名。 + **参数解释:** 类名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param class_name: The class_name of this VersionObjectBranchQueryViewDTO. :type class_name: str @@ -123,7 +123,7 @@ def class_name(self, class_name): def create_time(self): """Gets the create_time of this VersionObjectBranchQueryViewDTO. - 创建时间。 + **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The create_time of this VersionObjectBranchQueryViewDTO. :rtype: str @@ -134,7 +134,7 @@ def create_time(self): def create_time(self, create_time): """Sets the create_time of this VersionObjectBranchQueryViewDTO. - 创建时间。 + **参数解释:** 创建时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param create_time: The create_time of this VersionObjectBranchQueryViewDTO. :type create_time: str @@ -145,7 +145,7 @@ def create_time(self, create_time): def creator(self): """Gets the creator of this VersionObjectBranchQueryViewDTO. - 创建者。 + **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The creator of this VersionObjectBranchQueryViewDTO. :rtype: str @@ -156,7 +156,7 @@ def creator(self): def creator(self, creator): """Sets the creator of this VersionObjectBranchQueryViewDTO. - 创建者。 + **参数解释:** 创建者。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param creator: The creator of this VersionObjectBranchQueryViewDTO. :type creator: str @@ -167,7 +167,7 @@ def creator(self, creator): def id(self): """Gets the id of this VersionObjectBranchQueryViewDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :return: The id of this VersionObjectBranchQueryViewDTO. :rtype: str @@ -178,7 +178,7 @@ def id(self): def id(self, id): """Sets the id of this VersionObjectBranchQueryViewDTO. - 唯一标识。 + **参数解释:** 唯一标识。 **约束限制:** 不涉及。 **取值范围:** -9223372036854775808到9223372036854775807的整数。 **默认取值:** 不涉及。 :param id: The id of this VersionObjectBranchQueryViewDTO. :type id: str @@ -189,7 +189,7 @@ def id(self, id): def last_update_time(self): """Gets the last_update_time of this VersionObjectBranchQueryViewDTO. - 最后更新时间。 + **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The last_update_time of this VersionObjectBranchQueryViewDTO. :rtype: str @@ -200,7 +200,7 @@ def last_update_time(self): def last_update_time(self, last_update_time): """Sets the last_update_time of this VersionObjectBranchQueryViewDTO. - 最后更新时间。 + **参数解释:** 最后更新时间。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param last_update_time: The last_update_time of this VersionObjectBranchQueryViewDTO. :type last_update_time: str @@ -211,7 +211,7 @@ def last_update_time(self, last_update_time): def modifier(self): """Gets the modifier of this VersionObjectBranchQueryViewDTO. - 修改人。 + **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The modifier of this VersionObjectBranchQueryViewDTO. :rtype: str @@ -222,7 +222,7 @@ def modifier(self): def modifier(self, modifier): """Sets the modifier of this VersionObjectBranchQueryViewDTO. - 修改人。 + **参数解释:** 修改人。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param modifier: The modifier of this VersionObjectBranchQueryViewDTO. :type modifier: str @@ -233,7 +233,7 @@ def modifier(self, modifier): def rdm_extension_type(self): """Gets the rdm_extension_type of this VersionObjectBranchQueryViewDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The rdm_extension_type of this VersionObjectBranchQueryViewDTO. :rtype: str @@ -244,7 +244,7 @@ def rdm_extension_type(self): def rdm_extension_type(self, rdm_extension_type): """Sets the rdm_extension_type of this VersionObjectBranchQueryViewDTO. - 扩展类型。 + **参数解释:** 扩展类型。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param rdm_extension_type: The rdm_extension_type of this VersionObjectBranchQueryViewDTO. :type rdm_extension_type: str @@ -273,7 +273,7 @@ def tenant(self, tenant): def version(self): """Gets the version of this VersionObjectBranchQueryViewDTO. - 版本号。 + **参数解释:** 版本号。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The version of this VersionObjectBranchQueryViewDTO. :rtype: str @@ -284,7 +284,7 @@ def version(self): def version(self, version): """Sets the version of this VersionObjectBranchQueryViewDTO. - 版本号。 + **参数解释:** 版本号。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param version: The version of this VersionObjectBranchQueryViewDTO. :type version: str diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_update_view_dto_multi_view_model_view_update_attr_dto.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_update_view_dto_multi_view_model_view_update_attr_dto.py index b537d99bc0..2dd44bd9a9 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_update_view_dto_multi_view_model_view_update_attr_dto.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/version_update_view_dto_multi_view_model_view_update_attr_dto.py @@ -33,11 +33,11 @@ def __init__(self, version_id=None, new_view_attrs=None, need_set_null=None): The model defined in huaweicloud sdk - :param version_id: 版本对象ID + :param version_id: **参数解释:** 版本对象ID。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type version_id: str :param new_view_attrs: :type new_view_attrs: :class:`huaweicloudsdkidmeclassicapi.v1.MultiViewModelViewUpdateAttrDTO` - :param need_set_null: 指定不复制的视图属性,其值将被设置为null。 + :param need_set_null: **参数解释:** 指定不复制的视图属性,其值将被设置为null。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type need_set_null: list[str] """ @@ -57,7 +57,7 @@ def __init__(self, version_id=None, new_view_attrs=None, need_set_null=None): def version_id(self): """Gets the version_id of this VersionUpdateViewDTOMultiViewModelViewUpdateAttrDTO. - 版本对象ID + **参数解释:** 版本对象ID。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The version_id of this VersionUpdateViewDTOMultiViewModelViewUpdateAttrDTO. :rtype: str @@ -68,7 +68,7 @@ def version_id(self): def version_id(self, version_id): """Sets the version_id of this VersionUpdateViewDTOMultiViewModelViewUpdateAttrDTO. - 版本对象ID + **参数解释:** 版本对象ID。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param version_id: The version_id of this VersionUpdateViewDTOMultiViewModelViewUpdateAttrDTO. :type version_id: str @@ -97,7 +97,7 @@ def new_view_attrs(self, new_view_attrs): def need_set_null(self): """Gets the need_set_null of this VersionUpdateViewDTOMultiViewModelViewUpdateAttrDTO. - 指定不复制的视图属性,其值将被设置为null。 + **参数解释:** 指定不复制的视图属性,其值将被设置为null。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The need_set_null of this VersionUpdateViewDTOMultiViewModelViewUpdateAttrDTO. :rtype: list[str] @@ -108,7 +108,7 @@ def need_set_null(self): def need_set_null(self, need_set_null): """Sets the need_set_null of this VersionUpdateViewDTOMultiViewModelViewUpdateAttrDTO. - 指定不复制的视图属性,其值将被设置为null。 + **参数解释:** 指定不复制的视图属性,其值将被设置为null。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param need_set_null: The need_set_null of this VersionUpdateViewDTOMultiViewModelViewUpdateAttrDTO. :type need_set_null: list[str] diff --git a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/working_state.py b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/working_state.py index e89254fb47..de59e56314 100644 --- a/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/working_state.py +++ b/huaweicloud-sdk-idmeclassicapi/huaweicloudsdkidmeclassicapi/v1/model/working_state.py @@ -35,13 +35,13 @@ def __init__(self, alias=None, cn_name=None, code=None, en_name=None): The model defined in huaweicloud sdk - :param alias: 别名。 + :param alias: **参数解释:** 别名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type alias: str - :param cn_name: 中文名称。 + :param cn_name: **参数解释:** 中文名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type cn_name: str - :param code: 编码。 + :param code: **参数解释:** 编码。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type code: str - :param en_name: 英文名称。 + :param en_name: **参数解释:** 英文名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :type en_name: str """ @@ -66,7 +66,7 @@ def __init__(self, alias=None, cn_name=None, code=None, en_name=None): def alias(self): """Gets the alias of this WorkingState. - 别名。 + **参数解释:** 别名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The alias of this WorkingState. :rtype: str @@ -77,7 +77,7 @@ def alias(self): def alias(self, alias): """Sets the alias of this WorkingState. - 别名。 + **参数解释:** 别名。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param alias: The alias of this WorkingState. :type alias: str @@ -88,7 +88,7 @@ def alias(self, alias): def cn_name(self): """Gets the cn_name of this WorkingState. - 中文名称。 + **参数解释:** 中文名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The cn_name of this WorkingState. :rtype: str @@ -99,7 +99,7 @@ def cn_name(self): def cn_name(self, cn_name): """Sets the cn_name of this WorkingState. - 中文名称。 + **参数解释:** 中文名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param cn_name: The cn_name of this WorkingState. :type cn_name: str @@ -110,7 +110,7 @@ def cn_name(self, cn_name): def code(self): """Gets the code of this WorkingState. - 编码。 + **参数解释:** 编码。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The code of this WorkingState. :rtype: str @@ -121,7 +121,7 @@ def code(self): def code(self, code): """Sets the code of this WorkingState. - 编码。 + **参数解释:** 编码。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param code: The code of this WorkingState. :type code: str @@ -132,7 +132,7 @@ def code(self, code): def en_name(self): """Gets the en_name of this WorkingState. - 英文名称。 + **参数解释:** 英文名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :return: The en_name of this WorkingState. :rtype: str @@ -143,7 +143,7 @@ def en_name(self): def en_name(self, en_name): """Sets the en_name of this WorkingState. - 英文名称。 + **参数解释:** 英文名称。 **取值范围:** 不涉及。 **默认取值:** 不涉及。 :param en_name: The en_name of this WorkingState. :type en_name: str diff --git a/huaweicloud-sdk-idmeclassicapi/requirements.txt b/huaweicloud-sdk-idmeclassicapi/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-idmeclassicapi/requirements.txt +++ b/huaweicloud-sdk-idmeclassicapi/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-idmeclassicapi/setup.py b/huaweicloud-sdk-idmeclassicapi/setup.py index aed47f3205..069bb1dc06 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-iec/requirements.txt b/huaweicloud-sdk-iec/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-iec/requirements.txt +++ b/huaweicloud-sdk-iec/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-iec/setup.py b/huaweicloud-sdk-iec/setup.py index 1608d27ba5..443c9cdd89 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ief/requirements.txt b/huaweicloud-sdk-ief/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-ief/requirements.txt +++ b/huaweicloud-sdk-ief/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-ief/setup.py b/huaweicloud-sdk-ief/setup.py index 992c4ba659..f195ec24cd 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-image/requirements.txt b/huaweicloud-sdk-image/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-image/requirements.txt +++ b/huaweicloud-sdk-image/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-image/setup.py b/huaweicloud-sdk-image/setup.py index 4fe3e96181..c58201947e 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-imagesearch/requirements.txt b/huaweicloud-sdk-imagesearch/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-imagesearch/requirements.txt +++ b/huaweicloud-sdk-imagesearch/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-imagesearch/setup.py b/huaweicloud-sdk-imagesearch/setup.py index 0cd1372840..8d41f6509d 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ims/requirements.txt b/huaweicloud-sdk-ims/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-ims/requirements.txt +++ b/huaweicloud-sdk-ims/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-ims/setup.py b/huaweicloud-sdk-ims/setup.py index a4ccd543ef..714d07a5b2 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-iotanalytics/requirements.txt b/huaweicloud-sdk-iotanalytics/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-iotanalytics/requirements.txt +++ b/huaweicloud-sdk-iotanalytics/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-iotanalytics/setup.py b/huaweicloud-sdk-iotanalytics/setup.py index be6a9e156e..023fab1476 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/add_product.py b/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/add_product.py index 2203c70075..072942e4d4 100644 --- a/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/add_product.py +++ b/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/add_product.py @@ -53,7 +53,7 @@ def __init__(self, product_id=None, name=None, device_type=None, protocol_type=N :type name: str :param device_type: **参数说明**:设备类型。 **取值范围**:长度不超过32,只允许中文、字母、数字、以及_?'#().,&%@!-等字符的组合。 :type device_type: str - :param protocol_type: **参数说明**:设备使用的协议类型。 **取值范围**:MQTT,CoAP,HTTP,HTTPS,Modbus,ONVIF,OPC-UA,OPC-DA,Other。 + :param protocol_type: **参数说明**:设备使用的协议类型。 **取值范围**:MQTT,CoAP,HTTP,HTTPS,Modbus,ONVIF,OPC-UA,OPC-DA,Other,TCP,UDP。 :type protocol_type: str :param data_format: **参数说明**:设备上报数据的格式。 **取值范围**: - json:JSON格式 - binary:二进制码流格式 默认值json。 :type data_format: str @@ -169,7 +169,7 @@ def device_type(self, device_type): def protocol_type(self): """Gets the protocol_type of this AddProduct. - **参数说明**:设备使用的协议类型。 **取值范围**:MQTT,CoAP,HTTP,HTTPS,Modbus,ONVIF,OPC-UA,OPC-DA,Other。 + **参数说明**:设备使用的协议类型。 **取值范围**:MQTT,CoAP,HTTP,HTTPS,Modbus,ONVIF,OPC-UA,OPC-DA,Other,TCP,UDP。 :return: The protocol_type of this AddProduct. :rtype: str @@ -180,7 +180,7 @@ def protocol_type(self): def protocol_type(self, protocol_type): """Sets the protocol_type of this AddProduct. - **参数说明**:设备使用的协议类型。 **取值范围**:MQTT,CoAP,HTTP,HTTPS,Modbus,ONVIF,OPC-UA,OPC-DA,Other。 + **参数说明**:设备使用的协议类型。 **取值范围**:MQTT,CoAP,HTTP,HTTPS,Modbus,ONVIF,OPC-UA,OPC-DA,Other,TCP,UDP。 :param protocol_type: The protocol_type of this AddProduct. :type protocol_type: str diff --git a/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/create_product_response.py b/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/create_product_response.py index 12fd3b83ec..6c3d311add 100644 --- a/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/create_product_response.py +++ b/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/create_product_response.py @@ -62,7 +62,7 @@ def __init__(self, app_id=None, app_name=None, product_id=None, name=None, devic :type name: str :param device_type: 设备类型。 :type device_type: str - :param protocol_type: 设备使用的协议类型。取值范围:MQTT,CoAP,HTTP,HTTPS,Modbus,ONVIF, OPC-UA,OPC-DA,Other。 + :param protocol_type: 设备使用的协议类型。取值范围:MQTT,CoAP,HTTP,HTTPS,Modbus,ONVIF, OPC-UA,OPC-DA,Other,TCP,UDP。 :type protocol_type: str :param data_format: 设备上报数据的格式,取值范围:json,binary。 :type data_format: str @@ -233,7 +233,7 @@ def device_type(self, device_type): def protocol_type(self): """Gets the protocol_type of this CreateProductResponse. - 设备使用的协议类型。取值范围:MQTT,CoAP,HTTP,HTTPS,Modbus,ONVIF, OPC-UA,OPC-DA,Other。 + 设备使用的协议类型。取值范围:MQTT,CoAP,HTTP,HTTPS,Modbus,ONVIF, OPC-UA,OPC-DA,Other,TCP,UDP。 :return: The protocol_type of this CreateProductResponse. :rtype: str @@ -244,7 +244,7 @@ def protocol_type(self): def protocol_type(self, protocol_type): """Sets the protocol_type of this CreateProductResponse. - 设备使用的协议类型。取值范围:MQTT,CoAP,HTTP,HTTPS,Modbus,ONVIF, OPC-UA,OPC-DA,Other。 + 设备使用的协议类型。取值范围:MQTT,CoAP,HTTP,HTTPS,Modbus,ONVIF, OPC-UA,OPC-DA,Other,TCP,UDP。 :param protocol_type: The protocol_type of this CreateProductResponse. :type protocol_type: str diff --git a/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/product_summary.py b/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/product_summary.py index bcfbedab34..5a98ca4813 100644 --- a/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/product_summary.py +++ b/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/product_summary.py @@ -59,7 +59,7 @@ def __init__(self, app_id=None, app_name=None, product_id=None, name=None, devic :type name: str :param device_type: 设备类型。 :type device_type: str - :param protocol_type: 设备使用的协议类型。取值范围:MQTT,CoAP,HTTP,HTTPS,Modbus,ONVIF, OPC-UA,OPC-DA,Other。 + :param protocol_type: 设备使用的协议类型。取值范围:MQTT,CoAP,HTTP,HTTPS,Modbus,ONVIF, OPC-UA,OPC-DA,Other,TCP,UDP。 :type protocol_type: str :param data_format: 设备上报数据的格式,取值范围:json,binary。 :type data_format: str @@ -225,7 +225,7 @@ def device_type(self, device_type): def protocol_type(self): """Gets the protocol_type of this ProductSummary. - 设备使用的协议类型。取值范围:MQTT,CoAP,HTTP,HTTPS,Modbus,ONVIF, OPC-UA,OPC-DA,Other。 + 设备使用的协议类型。取值范围:MQTT,CoAP,HTTP,HTTPS,Modbus,ONVIF, OPC-UA,OPC-DA,Other,TCP,UDP。 :return: The protocol_type of this ProductSummary. :rtype: str @@ -236,7 +236,7 @@ def protocol_type(self): def protocol_type(self, protocol_type): """Sets the protocol_type of this ProductSummary. - 设备使用的协议类型。取值范围:MQTT,CoAP,HTTP,HTTPS,Modbus,ONVIF, OPC-UA,OPC-DA,Other。 + 设备使用的协议类型。取值范围:MQTT,CoAP,HTTP,HTTPS,Modbus,ONVIF, OPC-UA,OPC-DA,Other,TCP,UDP。 :param protocol_type: The protocol_type of this ProductSummary. :type protocol_type: str diff --git a/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/show_product_response.py b/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/show_product_response.py index 381d075efa..49f7d2eefc 100644 --- a/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/show_product_response.py +++ b/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/show_product_response.py @@ -62,7 +62,7 @@ def __init__(self, app_id=None, app_name=None, product_id=None, name=None, devic :type name: str :param device_type: 设备类型。 :type device_type: str - :param protocol_type: 设备使用的协议类型。取值范围:MQTT,CoAP,HTTP,HTTPS,Modbus,ONVIF, OPC-UA,OPC-DA,Other。 + :param protocol_type: 设备使用的协议类型。取值范围:MQTT,CoAP,HTTP,HTTPS,Modbus,ONVIF, OPC-UA,OPC-DA,Other,TCP,UDP。 :type protocol_type: str :param data_format: 设备上报数据的格式,取值范围:json,binary。 :type data_format: str @@ -233,7 +233,7 @@ def device_type(self, device_type): def protocol_type(self): """Gets the protocol_type of this ShowProductResponse. - 设备使用的协议类型。取值范围:MQTT,CoAP,HTTP,HTTPS,Modbus,ONVIF, OPC-UA,OPC-DA,Other。 + 设备使用的协议类型。取值范围:MQTT,CoAP,HTTP,HTTPS,Modbus,ONVIF, OPC-UA,OPC-DA,Other,TCP,UDP。 :return: The protocol_type of this ShowProductResponse. :rtype: str @@ -244,7 +244,7 @@ def protocol_type(self): def protocol_type(self, protocol_type): """Sets the protocol_type of this ShowProductResponse. - 设备使用的协议类型。取值范围:MQTT,CoAP,HTTP,HTTPS,Modbus,ONVIF, OPC-UA,OPC-DA,Other。 + 设备使用的协议类型。取值范围:MQTT,CoAP,HTTP,HTTPS,Modbus,ONVIF, OPC-UA,OPC-DA,Other,TCP,UDP。 :param protocol_type: The protocol_type of this ShowProductResponse. :type protocol_type: str diff --git a/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/update_product.py b/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/update_product.py index ac82c32bd7..5c708cfbf5 100644 --- a/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/update_product.py +++ b/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/update_product.py @@ -51,7 +51,7 @@ def __init__(self, app_id=None, name=None, device_type=None, protocol_type=None, :type name: str :param device_type: **参数说明**:设备类型。 **取值范围**:长度不超过32,只允许中文、字母、数字、以及_?'#().,&%@!-等字符的组合。 :type device_type: str - :param protocol_type: **参数说明**:设备使用的协议类型。注:禁止其他协议类型修改为CoAP。 **取值范围**:MQTT,CoAP,HTTP,HTTPS,Modbus,ONVIF,OPC-UA,OPC-DA,Other。 + :param protocol_type: **参数说明**:设备使用的协议类型。注:禁止其他协议类型修改为CoAP。 **取值范围**:MQTT,CoAP,HTTP,HTTPS,Modbus,ONVIF,OPC-UA,OPC-DA,Other,TCP,UDP。 :type protocol_type: str :param data_format: **参数说明**:设备上报数据的格式。 **取值范围**: - json:JSON格式 - binary:二进制码流格式 :type data_format: str @@ -167,7 +167,7 @@ def device_type(self, device_type): def protocol_type(self): """Gets the protocol_type of this UpdateProduct. - **参数说明**:设备使用的协议类型。注:禁止其他协议类型修改为CoAP。 **取值范围**:MQTT,CoAP,HTTP,HTTPS,Modbus,ONVIF,OPC-UA,OPC-DA,Other。 + **参数说明**:设备使用的协议类型。注:禁止其他协议类型修改为CoAP。 **取值范围**:MQTT,CoAP,HTTP,HTTPS,Modbus,ONVIF,OPC-UA,OPC-DA,Other,TCP,UDP。 :return: The protocol_type of this UpdateProduct. :rtype: str @@ -178,7 +178,7 @@ def protocol_type(self): def protocol_type(self, protocol_type): """Sets the protocol_type of this UpdateProduct. - **参数说明**:设备使用的协议类型。注:禁止其他协议类型修改为CoAP。 **取值范围**:MQTT,CoAP,HTTP,HTTPS,Modbus,ONVIF,OPC-UA,OPC-DA,Other。 + **参数说明**:设备使用的协议类型。注:禁止其他协议类型修改为CoAP。 **取值范围**:MQTT,CoAP,HTTP,HTTPS,Modbus,ONVIF,OPC-UA,OPC-DA,Other,TCP,UDP。 :param protocol_type: The protocol_type of this UpdateProduct. :type protocol_type: str diff --git a/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/update_product_response.py b/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/update_product_response.py index 2a93fb0070..afe53e990c 100644 --- a/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/update_product_response.py +++ b/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/update_product_response.py @@ -62,7 +62,7 @@ def __init__(self, app_id=None, app_name=None, product_id=None, name=None, devic :type name: str :param device_type: 设备类型。 :type device_type: str - :param protocol_type: 设备使用的协议类型。取值范围:MQTT,CoAP,HTTP,HTTPS,Modbus,ONVIF, OPC-UA,OPC-DA,Other。 + :param protocol_type: 设备使用的协议类型。取值范围:MQTT,CoAP,HTTP,HTTPS,Modbus,ONVIF, OPC-UA,OPC-DA,Other,TCP,UDP。 :type protocol_type: str :param data_format: 设备上报数据的格式,取值范围:json,binary。 :type data_format: str @@ -233,7 +233,7 @@ def device_type(self, device_type): def protocol_type(self): """Gets the protocol_type of this UpdateProductResponse. - 设备使用的协议类型。取值范围:MQTT,CoAP,HTTP,HTTPS,Modbus,ONVIF, OPC-UA,OPC-DA,Other。 + 设备使用的协议类型。取值范围:MQTT,CoAP,HTTP,HTTPS,Modbus,ONVIF, OPC-UA,OPC-DA,Other,TCP,UDP。 :return: The protocol_type of this UpdateProductResponse. :rtype: str @@ -244,7 +244,7 @@ def protocol_type(self): def protocol_type(self, protocol_type): """Sets the protocol_type of this UpdateProductResponse. - 设备使用的协议类型。取值范围:MQTT,CoAP,HTTP,HTTPS,Modbus,ONVIF, OPC-UA,OPC-DA,Other。 + 设备使用的协议类型。取值范围:MQTT,CoAP,HTTP,HTTPS,Modbus,ONVIF, OPC-UA,OPC-DA,Other,TCP,UDP。 :param protocol_type: The protocol_type of this UpdateProductResponse. :type protocol_type: str diff --git a/huaweicloud-sdk-iotda/requirements.txt b/huaweicloud-sdk-iotda/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-iotda/requirements.txt +++ b/huaweicloud-sdk-iotda/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-iotda/setup.py b/huaweicloud-sdk-iotda/setup.py index c407408616..fc3d1210fe 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-iotedge/requirements.txt b/huaweicloud-sdk-iotedge/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-iotedge/requirements.txt +++ b/huaweicloud-sdk-iotedge/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-iotedge/setup.py b/huaweicloud-sdk-iotedge/setup.py index b6d5546d19..9a17795d51 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ivs/requirements.txt b/huaweicloud-sdk-ivs/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-ivs/requirements.txt +++ b/huaweicloud-sdk-ivs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-ivs/setup.py b/huaweicloud-sdk-ivs/setup.py index 8f5b6b610f..c7bf896898 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-kafka/requirements.txt b/huaweicloud-sdk-kafka/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-kafka/requirements.txt +++ b/huaweicloud-sdk-kafka/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-kafka/setup.py b/huaweicloud-sdk-kafka/setup.py index e5b689d68e..42ff776557 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-kms/requirements.txt b/huaweicloud-sdk-kms/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-kms/requirements.txt +++ b/huaweicloud-sdk-kms/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-kms/setup.py b/huaweicloud-sdk-kms/setup.py index f289c4dd88..50f5f54918 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-koomessage/requirements.txt b/huaweicloud-sdk-koomessage/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-koomessage/requirements.txt +++ b/huaweicloud-sdk-koomessage/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-koomessage/setup.py b/huaweicloud-sdk-koomessage/setup.py index f95c5f39b7..96595d0b35 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-kps/requirements.txt b/huaweicloud-sdk-kps/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-kps/requirements.txt +++ b/huaweicloud-sdk-kps/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-kps/setup.py b/huaweicloud-sdk-kps/setup.py index 09a24de793..cd615345db 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-lakeformation/requirements.txt b/huaweicloud-sdk-lakeformation/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-lakeformation/requirements.txt +++ b/huaweicloud-sdk-lakeformation/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-lakeformation/setup.py b/huaweicloud-sdk-lakeformation/setup.py index 16788bafbf..2707ff936f 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-live/huaweicloudsdklive/v2/live_async_client.py b/huaweicloud-sdk-live/huaweicloudsdklive/v2/live_async_client.py index 0a66c8064a..024454f591 100644 --- a/huaweicloud-sdk-live/huaweicloudsdklive/v2/live_async_client.py +++ b/huaweicloud-sdk-live/huaweicloudsdklive/v2/live_async_client.py @@ -574,6 +574,76 @@ def _list_history_streams_http_info(self, request): return http_info + def list_play_domain_stream_info_async(self, request): + """查询播放域名下的流数据 + + 查询播放域名下的监控数据,根据输入时间点,返回查询该时间点所有流的带宽、在线人数、协议。 + 返回的数据粒度为1分钟。 + 最大查询周期7天,数据延迟5分钟。 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for ListPlayDomainStreamInfo + :type request: :class:`huaweicloudsdklive.v2.ListPlayDomainStreamInfoRequest` + :rtype: :class:`huaweicloudsdklive.v2.ListPlayDomainStreamInfoResponse` + """ + http_info = self._list_play_domain_stream_info_http_info(request) + return self._call_api(**http_info) + + def list_play_domain_stream_info_async_invoker(self, request): + http_info = self._list_play_domain_stream_info_http_info(request) + return AsyncInvoker(self, http_info) + + def _list_play_domain_stream_info_http_info(self, request): + http_info = { + "method": "GET", + "resource_path": "/v2/{project_id}/stats/stream/play-info", + "request_type": request.__class__.__name__, + "response_type": "ListPlayDomainStreamInfoResponse" + } + + 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 'play_domains' in local_var_params: + query_params.append(('play_domains', local_var_params['play_domains'])) + collection_formats['play_domains'] = 'csv' + if 'time' in local_var_params: + query_params.append(('time', local_var_params['time'])) + + header_params = {} + + 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 list_query_http_code_async(self, request): """查询直播拉流HTTP状态码接口 @@ -1174,78 +1244,6 @@ def _show_up_bandwidth_http_info(self, request): return http_info - def list_play_domain_stream_info_async(self, request): - """查询播放域名下的流数据 - - 查询播放域名下的监控数据,根据输入时间点,返回查询该时间点所有流的带宽、在线人数、协议。 - - 返回的数据粒度为1分钟。 - - 最大查询周期7天,数据延迟5分钟。 - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for ListPlayDomainStreamInfo - :type request: :class:`huaweicloudsdklive.v2.ListPlayDomainStreamInfoRequest` - :rtype: :class:`huaweicloudsdklive.v2.ListPlayDomainStreamInfoResponse` - """ - http_info = self._list_play_domain_stream_info_http_info(request) - return self._call_api(**http_info) - - def list_play_domain_stream_info_async_invoker(self, request): - http_info = self._list_play_domain_stream_info_http_info(request) - return AsyncInvoker(self, http_info) - - def _list_play_domain_stream_info_http_info(self, request): - http_info = { - "method": "GET", - "resource_path": "/v2/{project_id}/stats/stream/play-info", - "request_type": request.__class__.__name__, - "response_type": "ListPlayDomainStreamInfoResponse" - } - - 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 'play_domains' in local_var_params: - query_params.append(('play_domains', local_var_params['play_domains'])) - collection_formats['play_domains'] = 'csv' - if 'time' in local_var_params: - query_params.append(('time', local_var_params['time'])) - - header_params = {} - - 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 list_single_stream_bitrate_async(self, request): """查询推流码率数据接口 diff --git a/huaweicloud-sdk-live/huaweicloudsdklive/v2/live_client.py b/huaweicloud-sdk-live/huaweicloudsdklive/v2/live_client.py index 63dad4431a..6435637e80 100644 --- a/huaweicloud-sdk-live/huaweicloudsdklive/v2/live_client.py +++ b/huaweicloud-sdk-live/huaweicloudsdklive/v2/live_client.py @@ -574,6 +574,76 @@ def _list_history_streams_http_info(cls, request): return http_info + def list_play_domain_stream_info(self, request): + """查询播放域名下的流数据 + + 查询播放域名下的监控数据,根据输入时间点,返回查询该时间点所有流的带宽、在线人数、协议。 + 返回的数据粒度为1分钟。 + 最大查询周期7天,数据延迟5分钟。 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for ListPlayDomainStreamInfo + :type request: :class:`huaweicloudsdklive.v2.ListPlayDomainStreamInfoRequest` + :rtype: :class:`huaweicloudsdklive.v2.ListPlayDomainStreamInfoResponse` + """ + http_info = self._list_play_domain_stream_info_http_info(request) + return self._call_api(**http_info) + + def list_play_domain_stream_info_invoker(self, request): + http_info = self._list_play_domain_stream_info_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _list_play_domain_stream_info_http_info(cls, request): + http_info = { + "method": "GET", + "resource_path": "/v2/{project_id}/stats/stream/play-info", + "request_type": request.__class__.__name__, + "response_type": "ListPlayDomainStreamInfoResponse" + } + + 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 'play_domains' in local_var_params: + query_params.append(('play_domains', local_var_params['play_domains'])) + collection_formats['play_domains'] = 'csv' + if 'time' in local_var_params: + query_params.append(('time', local_var_params['time'])) + + header_params = {} + + 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 list_query_http_code(self, request): """查询直播拉流HTTP状态码接口 @@ -1174,78 +1244,6 @@ def _show_up_bandwidth_http_info(cls, request): return http_info - def list_play_domain_stream_info(self, request): - """查询播放域名下的流数据 - - 查询播放域名下的监控数据,根据输入时间点,返回查询该时间点所有流的带宽、在线人数、协议。 - - 返回的数据粒度为1分钟。 - - 最大查询周期7天,数据延迟5分钟。 - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for ListPlayDomainStreamInfo - :type request: :class:`huaweicloudsdklive.v2.ListPlayDomainStreamInfoRequest` - :rtype: :class:`huaweicloudsdklive.v2.ListPlayDomainStreamInfoResponse` - """ - http_info = self._list_play_domain_stream_info_http_info(request) - return self._call_api(**http_info) - - def list_play_domain_stream_info_invoker(self, request): - http_info = self._list_play_domain_stream_info_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _list_play_domain_stream_info_http_info(cls, request): - http_info = { - "method": "GET", - "resource_path": "/v2/{project_id}/stats/stream/play-info", - "request_type": request.__class__.__name__, - "response_type": "ListPlayDomainStreamInfoResponse" - } - - 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 'play_domains' in local_var_params: - query_params.append(('play_domains', local_var_params['play_domains'])) - collection_formats['play_domains'] = 'csv' - if 'time' in local_var_params: - query_params.append(('time', local_var_params['time'])) - - header_params = {} - - 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 list_single_stream_bitrate(self, request): """查询推流码率数据接口 diff --git a/huaweicloud-sdk-live/requirements.txt b/huaweicloud-sdk-live/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-live/requirements.txt +++ b/huaweicloud-sdk-live/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-live/setup.py b/huaweicloud-sdk-live/setup.py index b9740b68a7..68b1c88e56 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-lts/requirements.txt b/huaweicloud-sdk-lts/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-lts/requirements.txt +++ b/huaweicloud-sdk-lts/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-lts/setup.py b/huaweicloud-sdk-lts/setup.py index a59c9bf407..3c0c3f5ee0 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-mapds/requirements.txt b/huaweicloud-sdk-mapds/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-mapds/requirements.txt +++ b/huaweicloud-sdk-mapds/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-mapds/setup.py b/huaweicloud-sdk-mapds/setup.py index 9f74df1605..79b8413877 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-mas/requirements.txt b/huaweicloud-sdk-mas/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-mas/requirements.txt +++ b/huaweicloud-sdk-mas/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-mas/setup.py b/huaweicloud-sdk-mas/setup.py index 27e169c872..2b866b529c 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-meeting/requirements.txt b/huaweicloud-sdk-meeting/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-meeting/requirements.txt +++ b/huaweicloud-sdk-meeting/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-meeting/setup.py b/huaweicloud-sdk-meeting/setup.py index 5fa58afa5e..7a1b9ba771 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-metastudio/requirements.txt b/huaweicloud-sdk-metastudio/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-metastudio/requirements.txt +++ b/huaweicloud-sdk-metastudio/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-metastudio/setup.py b/huaweicloud-sdk-metastudio/setup.py index 766367215d..17195468ab 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/__init__.py b/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/__init__.py index 7c96ba248f..4dec14cb73 100644 --- a/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/__init__.py +++ b/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/__init__.py @@ -14,6 +14,8 @@ from huaweicloudsdkmoderation.v3.model.audio_moderation_result_result import AudioModerationResultResult from huaweicloudsdkmoderation.v3.model.audio_stream_create_request import AudioStreamCreateRequest from huaweicloudsdkmoderation.v3.model.audio_stream_create_request_data import AudioStreamCreateRequestData +from huaweicloudsdkmoderation.v3.model.batch_check_image_sync_request import BatchCheckImageSyncRequest +from huaweicloudsdkmoderation.v3.model.batch_check_image_sync_response import BatchCheckImageSyncResponse from huaweicloudsdkmoderation.v3.model.check_image_moderation_request import CheckImageModerationRequest from huaweicloudsdkmoderation.v3.model.check_image_moderation_response import CheckImageModerationResponse from huaweicloudsdkmoderation.v3.model.document_audio_detail import DocumentAudioDetail @@ -27,6 +29,10 @@ from huaweicloudsdkmoderation.v3.model.document_video_image_detail import DocumentVideoImageDetail from huaweicloudsdkmoderation.v3.model.document_video_image_detail_segments import DocumentVideoImageDetailSegments from huaweicloudsdkmoderation.v3.model.face_location_detail import FaceLocationDetail +from huaweicloudsdkmoderation.v3.model.image_batch_sync_detection_result import ImageBatchSyncDetectionResult +from huaweicloudsdkmoderation.v3.model.image_batch_sync_req import ImageBatchSyncReq +from huaweicloudsdkmoderation.v3.model.image_batch_sync_req_image_text_config import ImageBatchSyncReqImageTextConfig +from huaweicloudsdkmoderation.v3.model.image_batch_sync_req_urls import ImageBatchSyncReqUrls from huaweicloudsdkmoderation.v3.model.image_detection_req import ImageDetectionReq from huaweicloudsdkmoderation.v3.model.image_detection_result import ImageDetectionResult from huaweicloudsdkmoderation.v3.model.image_detection_result_detail import ImageDetectionResultDetail diff --git a/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/model/__init__.py b/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/model/__init__.py index f81de0b810..11df837c01 100644 --- a/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/model/__init__.py +++ b/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/model/__init__.py @@ -12,6 +12,8 @@ from huaweicloudsdkmoderation.v3.model.audio_moderation_result_result import AudioModerationResultResult from huaweicloudsdkmoderation.v3.model.audio_stream_create_request import AudioStreamCreateRequest from huaweicloudsdkmoderation.v3.model.audio_stream_create_request_data import AudioStreamCreateRequestData +from huaweicloudsdkmoderation.v3.model.batch_check_image_sync_request import BatchCheckImageSyncRequest +from huaweicloudsdkmoderation.v3.model.batch_check_image_sync_response import BatchCheckImageSyncResponse from huaweicloudsdkmoderation.v3.model.check_image_moderation_request import CheckImageModerationRequest from huaweicloudsdkmoderation.v3.model.check_image_moderation_response import CheckImageModerationResponse from huaweicloudsdkmoderation.v3.model.document_audio_detail import DocumentAudioDetail @@ -25,6 +27,10 @@ from huaweicloudsdkmoderation.v3.model.document_video_image_detail import DocumentVideoImageDetail from huaweicloudsdkmoderation.v3.model.document_video_image_detail_segments import DocumentVideoImageDetailSegments from huaweicloudsdkmoderation.v3.model.face_location_detail import FaceLocationDetail +from huaweicloudsdkmoderation.v3.model.image_batch_sync_detection_result import ImageBatchSyncDetectionResult +from huaweicloudsdkmoderation.v3.model.image_batch_sync_req import ImageBatchSyncReq +from huaweicloudsdkmoderation.v3.model.image_batch_sync_req_image_text_config import ImageBatchSyncReqImageTextConfig +from huaweicloudsdkmoderation.v3.model.image_batch_sync_req_urls import ImageBatchSyncReqUrls from huaweicloudsdkmoderation.v3.model.image_detection_req import ImageDetectionReq from huaweicloudsdkmoderation.v3.model.image_detection_result import ImageDetectionResult from huaweicloudsdkmoderation.v3.model.image_detection_result_detail import ImageDetectionResultDetail diff --git a/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/model/batch_check_image_sync_request.py b/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/model/batch_check_image_sync_request.py new file mode 100644 index 0000000000..defef1f503 --- /dev/null +++ b/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/model/batch_check_image_sync_request.py @@ -0,0 +1,111 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class BatchCheckImageSyncRequest: + + """ + 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 = { + 'body': 'ImageBatchSyncReq' + } + + attribute_map = { + 'body': 'body' + } + + def __init__(self, body=None): + """BatchCheckImageSyncRequest + + The model defined in huaweicloud sdk + + :param body: Body of the BatchCheckImageSyncRequest + :type body: :class:`huaweicloudsdkmoderation.v3.ImageBatchSyncReq` + """ + + + + self._body = None + self.discriminator = None + + if body is not None: + self.body = body + + @property + def body(self): + """Gets the body of this BatchCheckImageSyncRequest. + + :return: The body of this BatchCheckImageSyncRequest. + :rtype: :class:`huaweicloudsdkmoderation.v3.ImageBatchSyncReq` + """ + return self._body + + @body.setter + def body(self, body): + """Sets the body of this BatchCheckImageSyncRequest. + + :param body: The body of this BatchCheckImageSyncRequest. + :type body: :class:`huaweicloudsdkmoderation.v3.ImageBatchSyncReq` + """ + 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, BatchCheckImageSyncRequest): + 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-moderation/huaweicloudsdkmoderation/v3/model/batch_check_image_sync_response.py b/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/model/batch_check_image_sync_response.py new file mode 100644 index 0000000000..5ad44029ee --- /dev/null +++ b/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/model/batch_check_image_sync_response.py @@ -0,0 +1,145 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_response import SdkResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class BatchCheckImageSyncResponse(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 = { + 'request_id': 'str', + 'results': 'list[ImageBatchSyncDetectionResult]' + } + + attribute_map = { + 'request_id': 'request_id', + 'results': 'results' + } + + def __init__(self, request_id=None, results=None): + """BatchCheckImageSyncResponse + + The model defined in huaweicloud sdk + + :param request_id: 本次请求的唯⼀标识,⽤于问题排查,建议保存。 + :type request_id: str + :param results: 调用结果。 + :type results: list[:class:`huaweicloudsdkmoderation.v3.ImageBatchSyncDetectionResult`] + """ + + super(BatchCheckImageSyncResponse, self).__init__() + + self._request_id = None + self._results = None + self.discriminator = None + + if request_id is not None: + self.request_id = request_id + if results is not None: + self.results = results + + @property + def request_id(self): + """Gets the request_id of this BatchCheckImageSyncResponse. + + 本次请求的唯⼀标识,⽤于问题排查,建议保存。 + + :return: The request_id of this BatchCheckImageSyncResponse. + :rtype: str + """ + return self._request_id + + @request_id.setter + def request_id(self, request_id): + """Sets the request_id of this BatchCheckImageSyncResponse. + + 本次请求的唯⼀标识,⽤于问题排查,建议保存。 + + :param request_id: The request_id of this BatchCheckImageSyncResponse. + :type request_id: str + """ + self._request_id = request_id + + @property + def results(self): + """Gets the results of this BatchCheckImageSyncResponse. + + 调用结果。 + + :return: The results of this BatchCheckImageSyncResponse. + :rtype: list[:class:`huaweicloudsdkmoderation.v3.ImageBatchSyncDetectionResult`] + """ + return self._results + + @results.setter + def results(self, results): + """Sets the results of this BatchCheckImageSyncResponse. + + 调用结果。 + + :param results: The results of this BatchCheckImageSyncResponse. + :type results: list[:class:`huaweicloudsdkmoderation.v3.ImageBatchSyncDetectionResult`] + """ + self._results = results + + 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, BatchCheckImageSyncResponse): + 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-moderation/huaweicloudsdkmoderation/v3/model/check_image_moderation_request.py b/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/model/check_image_moderation_request.py index 932c30d67f..da69222b5d 100644 --- a/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/model/check_image_moderation_request.py +++ b/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/model/check_image_moderation_request.py @@ -17,30 +17,59 @@ class CheckImageModerationRequest: sensitive_list = [] openapi_types = { + 'enterprise_project_id': 'str', 'body': 'ImageDetectionReq' } attribute_map = { + 'enterprise_project_id': 'Enterprise-Project-Id', 'body': 'body' } - def __init__(self, body=None): + def __init__(self, enterprise_project_id=None, body=None): """CheckImageModerationRequest The model defined in huaweicloud sdk + :param enterprise_project_id: 企业项目ID。Moderation支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:[进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,](tag:hc)[进入“[企业项目管理](https://console-intl.huaweicloud.com/eps/?region=ap-southeast-1#/projects/list)”页面,](tag:hk)单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用Moderation服务,账单的企业项目会被分类到企业ID对应的企业项目中。 - 携带格式正确但不存在的ID,正常使用Moderation服务,账单的企业项目会显示对应不存在的企业项目ID。 - 不携带ID或格式错误ID(包含特殊字符等),正常使用Moderation服务,账单的企业项目会被分类到\"default\"中。 + :type enterprise_project_id: str :param body: Body of the CheckImageModerationRequest :type body: :class:`huaweicloudsdkmoderation.v3.ImageDetectionReq` """ + self._enterprise_project_id = None self._body = None self.discriminator = None + if enterprise_project_id is not None: + self.enterprise_project_id = enterprise_project_id if body is not None: self.body = body + @property + def enterprise_project_id(self): + """Gets the enterprise_project_id of this CheckImageModerationRequest. + + 企业项目ID。Moderation支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:[进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,](tag:hc)[进入“[企业项目管理](https://console-intl.huaweicloud.com/eps/?region=ap-southeast-1#/projects/list)”页面,](tag:hk)单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用Moderation服务,账单的企业项目会被分类到企业ID对应的企业项目中。 - 携带格式正确但不存在的ID,正常使用Moderation服务,账单的企业项目会显示对应不存在的企业项目ID。 - 不携带ID或格式错误ID(包含特殊字符等),正常使用Moderation服务,账单的企业项目会被分类到\"default\"中。 + + :return: The enterprise_project_id of this CheckImageModerationRequest. + :rtype: str + """ + return self._enterprise_project_id + + @enterprise_project_id.setter + def enterprise_project_id(self, enterprise_project_id): + """Sets the enterprise_project_id of this CheckImageModerationRequest. + + 企业项目ID。Moderation支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:[进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,](tag:hc)[进入“[企业项目管理](https://console-intl.huaweicloud.com/eps/?region=ap-southeast-1#/projects/list)”页面,](tag:hk)单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用Moderation服务,账单的企业项目会被分类到企业ID对应的企业项目中。 - 携带格式正确但不存在的ID,正常使用Moderation服务,账单的企业项目会显示对应不存在的企业项目ID。 - 不携带ID或格式错误ID(包含特殊字符等),正常使用Moderation服务,账单的企业项目会被分类到\"default\"中。 + + :param enterprise_project_id: The enterprise_project_id of this CheckImageModerationRequest. + :type enterprise_project_id: str + """ + self._enterprise_project_id = enterprise_project_id + @property def body(self): """Gets the body of this CheckImageModerationRequest. diff --git a/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/model/image_batch_sync_detection_result.py b/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/model/image_batch_sync_detection_result.py new file mode 100644 index 0000000000..6789ef2b49 --- /dev/null +++ b/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/model/image_batch_sync_detection_result.py @@ -0,0 +1,288 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ImageBatchSyncDetectionResult: + + """ + 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 = { + 'suggestion': 'str', + 'category': 'str', + 'details': 'list[ImageDetectionResultDetail]', + 'ocr_text': 'str', + 'data_id': 'str', + 'error_code': 'str', + 'error_msg': 'str' + } + + attribute_map = { + 'suggestion': 'suggestion', + 'category': 'category', + 'details': 'details', + 'ocr_text': 'ocr_text', + 'data_id': 'data_id', + 'error_code': 'error_code', + 'error_msg': 'error_msg' + } + + def __init__(self, suggestion=None, category=None, details=None, ocr_text=None, data_id=None, error_code=None, error_msg=None): + """ImageBatchSyncDetectionResult + + The model defined in huaweicloud sdk + + :param suggestion: 审核结果是否通过。 - block:包含敏感信息,不通过。 - pass:不包含敏感信息,通过 。 - review:需要人工复检。 + :type suggestion: str + :param category: 检测结果的一级标签。支持category列表如下: - terrorism: 暴恐 - porn: 色情 - image_text: 图文审核 + :type category: str + :param details: 检测详情。 + :type details: list[:class:`huaweicloudsdkmoderation.v3.ImageDetectionResultDetail`] + :param ocr_text: 图文审核检测出的文本,只有在category参数配置image_text且检测出文本时展示该字段。 + :type ocr_text: str + :param data_id: 图片唯一标识。同一次请求中不可重复,由大小写英文字母、数字、下划线(_)、中划线(-)组成,不超过30个字符。 + :type data_id: str + :param error_code: 调用失败时的错误码,具体请参见错误码。 调用成功时无此字段。 + :type error_code: str + :param error_msg: 调用失败时的错误信息。 调用成功时无此字段。 + :type error_msg: str + """ + + + + self._suggestion = None + self._category = None + self._details = None + self._ocr_text = None + self._data_id = None + self._error_code = None + self._error_msg = None + self.discriminator = None + + if suggestion is not None: + self.suggestion = suggestion + if category is not None: + self.category = category + if details is not None: + self.details = details + if ocr_text is not None: + self.ocr_text = ocr_text + self.data_id = data_id + if error_code is not None: + self.error_code = error_code + if error_msg is not None: + self.error_msg = error_msg + + @property + def suggestion(self): + """Gets the suggestion of this ImageBatchSyncDetectionResult. + + 审核结果是否通过。 - block:包含敏感信息,不通过。 - pass:不包含敏感信息,通过 。 - review:需要人工复检。 + + :return: The suggestion of this ImageBatchSyncDetectionResult. + :rtype: str + """ + return self._suggestion + + @suggestion.setter + def suggestion(self, suggestion): + """Sets the suggestion of this ImageBatchSyncDetectionResult. + + 审核结果是否通过。 - block:包含敏感信息,不通过。 - pass:不包含敏感信息,通过 。 - review:需要人工复检。 + + :param suggestion: The suggestion of this ImageBatchSyncDetectionResult. + :type suggestion: str + """ + self._suggestion = suggestion + + @property + def category(self): + """Gets the category of this ImageBatchSyncDetectionResult. + + 检测结果的一级标签。支持category列表如下: - terrorism: 暴恐 - porn: 色情 - image_text: 图文审核 + + :return: The category of this ImageBatchSyncDetectionResult. + :rtype: str + """ + return self._category + + @category.setter + def category(self, category): + """Sets the category of this ImageBatchSyncDetectionResult. + + 检测结果的一级标签。支持category列表如下: - terrorism: 暴恐 - porn: 色情 - image_text: 图文审核 + + :param category: The category of this ImageBatchSyncDetectionResult. + :type category: str + """ + self._category = category + + @property + def details(self): + """Gets the details of this ImageBatchSyncDetectionResult. + + 检测详情。 + + :return: The details of this ImageBatchSyncDetectionResult. + :rtype: list[:class:`huaweicloudsdkmoderation.v3.ImageDetectionResultDetail`] + """ + return self._details + + @details.setter + def details(self, details): + """Sets the details of this ImageBatchSyncDetectionResult. + + 检测详情。 + + :param details: The details of this ImageBatchSyncDetectionResult. + :type details: list[:class:`huaweicloudsdkmoderation.v3.ImageDetectionResultDetail`] + """ + self._details = details + + @property + def ocr_text(self): + """Gets the ocr_text of this ImageBatchSyncDetectionResult. + + 图文审核检测出的文本,只有在category参数配置image_text且检测出文本时展示该字段。 + + :return: The ocr_text of this ImageBatchSyncDetectionResult. + :rtype: str + """ + return self._ocr_text + + @ocr_text.setter + def ocr_text(self, ocr_text): + """Sets the ocr_text of this ImageBatchSyncDetectionResult. + + 图文审核检测出的文本,只有在category参数配置image_text且检测出文本时展示该字段。 + + :param ocr_text: The ocr_text of this ImageBatchSyncDetectionResult. + :type ocr_text: str + """ + self._ocr_text = ocr_text + + @property + def data_id(self): + """Gets the data_id of this ImageBatchSyncDetectionResult. + + 图片唯一标识。同一次请求中不可重复,由大小写英文字母、数字、下划线(_)、中划线(-)组成,不超过30个字符。 + + :return: The data_id of this ImageBatchSyncDetectionResult. + :rtype: str + """ + return self._data_id + + @data_id.setter + def data_id(self, data_id): + """Sets the data_id of this ImageBatchSyncDetectionResult. + + 图片唯一标识。同一次请求中不可重复,由大小写英文字母、数字、下划线(_)、中划线(-)组成,不超过30个字符。 + + :param data_id: The data_id of this ImageBatchSyncDetectionResult. + :type data_id: str + """ + self._data_id = data_id + + @property + def error_code(self): + """Gets the error_code of this ImageBatchSyncDetectionResult. + + 调用失败时的错误码,具体请参见错误码。 调用成功时无此字段。 + + :return: The error_code of this ImageBatchSyncDetectionResult. + :rtype: str + """ + return self._error_code + + @error_code.setter + def error_code(self, error_code): + """Sets the error_code of this ImageBatchSyncDetectionResult. + + 调用失败时的错误码,具体请参见错误码。 调用成功时无此字段。 + + :param error_code: The error_code of this ImageBatchSyncDetectionResult. + :type error_code: str + """ + self._error_code = error_code + + @property + def error_msg(self): + """Gets the error_msg of this ImageBatchSyncDetectionResult. + + 调用失败时的错误信息。 调用成功时无此字段。 + + :return: The error_msg of this ImageBatchSyncDetectionResult. + :rtype: str + """ + return self._error_msg + + @error_msg.setter + def error_msg(self, error_msg): + """Sets the error_msg of this ImageBatchSyncDetectionResult. + + 调用失败时的错误信息。 调用成功时无此字段。 + + :param error_msg: The error_msg of this ImageBatchSyncDetectionResult. + :type error_msg: str + """ + self._error_msg = error_msg + + 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, ImageBatchSyncDetectionResult): + 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-moderation/huaweicloudsdkmoderation/v3/model/image_batch_sync_req.py b/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/model/image_batch_sync_req.py new file mode 100644 index 0000000000..c522d0510b --- /dev/null +++ b/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/model/image_batch_sync_req.py @@ -0,0 +1,255 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ImageBatchSyncReq: + + """ + 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 = { + 'event_type': 'str', + 'categories': 'list[str]', + 'image_text_config': 'ImageBatchSyncReqImageTextConfig', + 'urls': 'list[ImageBatchSyncReqUrls]', + 'language': 'str', + 'biz_type': 'str' + } + + attribute_map = { + 'event_type': 'event_type', + 'categories': 'categories', + 'image_text_config': 'image_text_config', + 'urls': 'urls', + 'language': 'language', + 'biz_type': 'biz_type' + } + + def __init__(self, event_type=None, categories=None, image_text_config=None, urls=None, language=None, biz_type=None): + """ImageBatchSyncReq + + The model defined in huaweicloud sdk + + :param event_type: 事件类型。可选值如下: - head_image:头像 - album:相册 - dynamic:动态 - article:帖子 - comment:评论 - room_cover:房间封面 - group_message:群聊图片 - message:私聊图片 - product:商品图片 + :type event_type: str + :param categories: 检测场景。可添加的检测场景如下: - terrorism:暴恐元素的检测。 - porn:涉黄元素的检测。 - image_text:广告图文的检测。 可通过配置上述场景,来完对应场景元素的检测。每个检测场景的检测次数会分类统计。 + :type categories: list[str] + :param image_text_config: + :type image_text_config: :class:`huaweicloudsdkmoderation.v3.ImageBatchSyncReqImageTextConfig` + :param urls: 图片url列表。 + :type urls: list[:class:`huaweicloudsdkmoderation.v3.ImageBatchSyncReqUrls`] + :param language: 指定图片中文字语种类型。 - zh: 中文 - en: 英文 默认值为zh,中国站仅支持zh。 + :type language: str + :param biz_type: 用户在控制台界面创建的自定义审核策略名称。 - 如果请求参数中包含biz_type则优先使用biztype。 - 如果未传biz_type则event_type和categories为必传参数。 + :type biz_type: str + """ + + + + self._event_type = None + self._categories = None + self._image_text_config = None + self._urls = None + self._language = None + self._biz_type = None + self.discriminator = None + + if event_type is not None: + self.event_type = event_type + if categories is not None: + self.categories = categories + if image_text_config is not None: + self.image_text_config = image_text_config + self.urls = urls + if language is not None: + self.language = language + if biz_type is not None: + self.biz_type = biz_type + + @property + def event_type(self): + """Gets the event_type of this ImageBatchSyncReq. + + 事件类型。可选值如下: - head_image:头像 - album:相册 - dynamic:动态 - article:帖子 - comment:评论 - room_cover:房间封面 - group_message:群聊图片 - message:私聊图片 - product:商品图片 + + :return: The event_type of this ImageBatchSyncReq. + :rtype: str + """ + return self._event_type + + @event_type.setter + def event_type(self, event_type): + """Sets the event_type of this ImageBatchSyncReq. + + 事件类型。可选值如下: - head_image:头像 - album:相册 - dynamic:动态 - article:帖子 - comment:评论 - room_cover:房间封面 - group_message:群聊图片 - message:私聊图片 - product:商品图片 + + :param event_type: The event_type of this ImageBatchSyncReq. + :type event_type: str + """ + self._event_type = event_type + + @property + def categories(self): + """Gets the categories of this ImageBatchSyncReq. + + 检测场景。可添加的检测场景如下: - terrorism:暴恐元素的检测。 - porn:涉黄元素的检测。 - image_text:广告图文的检测。 可通过配置上述场景,来完对应场景元素的检测。每个检测场景的检测次数会分类统计。 + + :return: The categories of this ImageBatchSyncReq. + :rtype: list[str] + """ + return self._categories + + @categories.setter + def categories(self, categories): + """Sets the categories of this ImageBatchSyncReq. + + 检测场景。可添加的检测场景如下: - terrorism:暴恐元素的检测。 - porn:涉黄元素的检测。 - image_text:广告图文的检测。 可通过配置上述场景,来完对应场景元素的检测。每个检测场景的检测次数会分类统计。 + + :param categories: The categories of this ImageBatchSyncReq. + :type categories: list[str] + """ + self._categories = categories + + @property + def image_text_config(self): + """Gets the image_text_config of this ImageBatchSyncReq. + + :return: The image_text_config of this ImageBatchSyncReq. + :rtype: :class:`huaweicloudsdkmoderation.v3.ImageBatchSyncReqImageTextConfig` + """ + return self._image_text_config + + @image_text_config.setter + def image_text_config(self, image_text_config): + """Sets the image_text_config of this ImageBatchSyncReq. + + :param image_text_config: The image_text_config of this ImageBatchSyncReq. + :type image_text_config: :class:`huaweicloudsdkmoderation.v3.ImageBatchSyncReqImageTextConfig` + """ + self._image_text_config = image_text_config + + @property + def urls(self): + """Gets the urls of this ImageBatchSyncReq. + + 图片url列表。 + + :return: The urls of this ImageBatchSyncReq. + :rtype: list[:class:`huaweicloudsdkmoderation.v3.ImageBatchSyncReqUrls`] + """ + return self._urls + + @urls.setter + def urls(self, urls): + """Sets the urls of this ImageBatchSyncReq. + + 图片url列表。 + + :param urls: The urls of this ImageBatchSyncReq. + :type urls: list[:class:`huaweicloudsdkmoderation.v3.ImageBatchSyncReqUrls`] + """ + self._urls = urls + + @property + def language(self): + """Gets the language of this ImageBatchSyncReq. + + 指定图片中文字语种类型。 - zh: 中文 - en: 英文 默认值为zh,中国站仅支持zh。 + + :return: The language of this ImageBatchSyncReq. + :rtype: str + """ + return self._language + + @language.setter + def language(self, language): + """Sets the language of this ImageBatchSyncReq. + + 指定图片中文字语种类型。 - zh: 中文 - en: 英文 默认值为zh,中国站仅支持zh。 + + :param language: The language of this ImageBatchSyncReq. + :type language: str + """ + self._language = language + + @property + def biz_type(self): + """Gets the biz_type of this ImageBatchSyncReq. + + 用户在控制台界面创建的自定义审核策略名称。 - 如果请求参数中包含biz_type则优先使用biztype。 - 如果未传biz_type则event_type和categories为必传参数。 + + :return: The biz_type of this ImageBatchSyncReq. + :rtype: str + """ + return self._biz_type + + @biz_type.setter + def biz_type(self, biz_type): + """Sets the biz_type of this ImageBatchSyncReq. + + 用户在控制台界面创建的自定义审核策略名称。 - 如果请求参数中包含biz_type则优先使用biztype。 - 如果未传biz_type则event_type和categories为必传参数。 + + :param biz_type: The biz_type of this ImageBatchSyncReq. + :type biz_type: str + """ + self._biz_type = biz_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, ImageBatchSyncReq): + 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-moderation/huaweicloudsdkmoderation/v3/model/image_batch_sync_req_image_text_config.py b/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/model/image_batch_sync_req_image_text_config.py new file mode 100644 index 0000000000..9c5efab640 --- /dev/null +++ b/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/model/image_batch_sync_req_image_text_config.py @@ -0,0 +1,144 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ImageBatchSyncReqImageTextConfig: + + """ + 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 = { + 'black_glossary_names': 'list[str]', + 'white_glossary_names': 'list[str]' + } + + attribute_map = { + 'black_glossary_names': 'black_glossary_names', + 'white_glossary_names': 'white_glossary_names' + } + + def __init__(self, black_glossary_names=None, white_glossary_names=None): + """ImageBatchSyncReqImageTextConfig + + The model defined in huaweicloud sdk + + :param black_glossary_names: 检测时使用的自定义黑名单词库列表。 + :type black_glossary_names: list[str] + :param white_glossary_names: 检测时使用的自定义白名单词库列表。 + :type white_glossary_names: list[str] + """ + + + + self._black_glossary_names = None + self._white_glossary_names = None + self.discriminator = None + + if black_glossary_names is not None: + self.black_glossary_names = black_glossary_names + if white_glossary_names is not None: + self.white_glossary_names = white_glossary_names + + @property + def black_glossary_names(self): + """Gets the black_glossary_names of this ImageBatchSyncReqImageTextConfig. + + 检测时使用的自定义黑名单词库列表。 + + :return: The black_glossary_names of this ImageBatchSyncReqImageTextConfig. + :rtype: list[str] + """ + return self._black_glossary_names + + @black_glossary_names.setter + def black_glossary_names(self, black_glossary_names): + """Sets the black_glossary_names of this ImageBatchSyncReqImageTextConfig. + + 检测时使用的自定义黑名单词库列表。 + + :param black_glossary_names: The black_glossary_names of this ImageBatchSyncReqImageTextConfig. + :type black_glossary_names: list[str] + """ + self._black_glossary_names = black_glossary_names + + @property + def white_glossary_names(self): + """Gets the white_glossary_names of this ImageBatchSyncReqImageTextConfig. + + 检测时使用的自定义白名单词库列表。 + + :return: The white_glossary_names of this ImageBatchSyncReqImageTextConfig. + :rtype: list[str] + """ + return self._white_glossary_names + + @white_glossary_names.setter + def white_glossary_names(self, white_glossary_names): + """Sets the white_glossary_names of this ImageBatchSyncReqImageTextConfig. + + 检测时使用的自定义白名单词库列表。 + + :param white_glossary_names: The white_glossary_names of this ImageBatchSyncReqImageTextConfig. + :type white_glossary_names: list[str] + """ + self._white_glossary_names = white_glossary_names + + 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, ImageBatchSyncReqImageTextConfig): + 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-secmaster/huaweicloudsdksecmaster/v2/model/show_alert_rsp_remediation.py b/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/model/image_batch_sync_req_urls.py similarity index 59% rename from huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/show_alert_rsp_remediation.py rename to huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/model/image_batch_sync_req_urls.py index a8592e3822..b5702c7350 100644 --- a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/show_alert_rsp_remediation.py +++ b/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/model/image_batch_sync_req_urls.py @@ -5,7 +5,7 @@ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class ShowAlertRspRemediation: +class ImageBatchSyncReqUrls: """ Attributes: @@ -17,80 +17,78 @@ class ShowAlertRspRemediation: sensitive_list = [] openapi_types = { - 'recommendation': 'str', - 'url': 'str' + 'url': 'str', + 'data_id': 'str' } attribute_map = { - 'recommendation': 'recommendation', - 'url': 'url' + 'url': 'url', + 'data_id': 'data_id' } - def __init__(self, recommendation=None, url=None): - """ShowAlertRspRemediation + def __init__(self, url=None, data_id=None): + """ImageBatchSyncReqUrls The model defined in huaweicloud sdk - :param recommendation: The name, display only - :type recommendation: str - :param url: The name, display only + :param url: 图片url,目前支持:公网HTTP/HTTPS URL。 :type url: str + :param data_id: 图片唯一标识。同一次请求中不可重复,由大小写英文字母、数字、下划线(_)、中划线(-)组成,不超过30个字符。 + :type data_id: str """ - self._recommendation = None self._url = None + self._data_id = None self.discriminator = None - if recommendation is not None: - self.recommendation = recommendation - if url is not None: - self.url = url + self.url = url + self.data_id = data_id @property - def recommendation(self): - """Gets the recommendation of this ShowAlertRspRemediation. + def url(self): + """Gets the url of this ImageBatchSyncReqUrls. - The name, display only + 图片url,目前支持:公网HTTP/HTTPS URL。 - :return: The recommendation of this ShowAlertRspRemediation. + :return: The url of this ImageBatchSyncReqUrls. :rtype: str """ - return self._recommendation + return self._url - @recommendation.setter - def recommendation(self, recommendation): - """Sets the recommendation of this ShowAlertRspRemediation. + @url.setter + def url(self, url): + """Sets the url of this ImageBatchSyncReqUrls. - The name, display only + 图片url,目前支持:公网HTTP/HTTPS URL。 - :param recommendation: The recommendation of this ShowAlertRspRemediation. - :type recommendation: str + :param url: The url of this ImageBatchSyncReqUrls. + :type url: str """ - self._recommendation = recommendation + self._url = url @property - def url(self): - """Gets the url of this ShowAlertRspRemediation. + def data_id(self): + """Gets the data_id of this ImageBatchSyncReqUrls. - The name, display only + 图片唯一标识。同一次请求中不可重复,由大小写英文字母、数字、下划线(_)、中划线(-)组成,不超过30个字符。 - :return: The url of this ShowAlertRspRemediation. + :return: The data_id of this ImageBatchSyncReqUrls. :rtype: str """ - return self._url + return self._data_id - @url.setter - def url(self, url): - """Sets the url of this ShowAlertRspRemediation. + @data_id.setter + def data_id(self, data_id): + """Sets the data_id of this ImageBatchSyncReqUrls. - The name, display only + 图片唯一标识。同一次请求中不可重复,由大小写英文字母、数字、下划线(_)、中划线(-)组成,不超过30个字符。 - :param url: The url of this ShowAlertRspRemediation. - :type url: str + :param data_id: The data_id of this ImageBatchSyncReqUrls. + :type data_id: str """ - self._url = url + self._data_id = data_id def to_dict(self): """Returns the model properties as a dict""" @@ -134,7 +132,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, ShowAlertRspRemediation): + if not isinstance(other, ImageBatchSyncReqUrls): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/model/run_text_moderation_request.py b/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/model/run_text_moderation_request.py index 5c491d5c2d..9341790c65 100644 --- a/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/model/run_text_moderation_request.py +++ b/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/model/run_text_moderation_request.py @@ -17,30 +17,59 @@ class RunTextModerationRequest: sensitive_list = [] openapi_types = { + 'enterprise_project_id': 'str', 'body': 'TextDetectionReq' } attribute_map = { + 'enterprise_project_id': 'Enterprise-Project-Id', 'body': 'body' } - def __init__(self, body=None): + def __init__(self, enterprise_project_id=None, body=None): """RunTextModerationRequest The model defined in huaweicloud sdk + :param enterprise_project_id: 企业项目ID。Moderation支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:[进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,](tag:hc)[进入“[企业项目管理](https://console-intl.huaweicloud.com/eps/?region=ap-southeast-1#/projects/list)”页面,](tag:hk)单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用Moderation服务,账单的企业项目会被分类到企业ID对应的企业项目中。 - 携带格式正确但不存在的ID,正常使用Moderation服务,账单的企业项目会显示对应不存在的企业项目ID。 - 不携带ID或格式错误ID(包含特殊字符等),正常使用Moderation服务,账单的企业项目会被分类到\"default\"中。 + :type enterprise_project_id: str :param body: Body of the RunTextModerationRequest :type body: :class:`huaweicloudsdkmoderation.v3.TextDetectionReq` """ + self._enterprise_project_id = None self._body = None self.discriminator = None + if enterprise_project_id is not None: + self.enterprise_project_id = enterprise_project_id if body is not None: self.body = body + @property + def enterprise_project_id(self): + """Gets the enterprise_project_id of this RunTextModerationRequest. + + 企业项目ID。Moderation支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:[进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,](tag:hc)[进入“[企业项目管理](https://console-intl.huaweicloud.com/eps/?region=ap-southeast-1#/projects/list)”页面,](tag:hk)单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用Moderation服务,账单的企业项目会被分类到企业ID对应的企业项目中。 - 携带格式正确但不存在的ID,正常使用Moderation服务,账单的企业项目会显示对应不存在的企业项目ID。 - 不携带ID或格式错误ID(包含特殊字符等),正常使用Moderation服务,账单的企业项目会被分类到\"default\"中。 + + :return: The enterprise_project_id of this RunTextModerationRequest. + :rtype: str + """ + return self._enterprise_project_id + + @enterprise_project_id.setter + def enterprise_project_id(self, enterprise_project_id): + """Sets the enterprise_project_id of this RunTextModerationRequest. + + 企业项目ID。Moderation支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:[进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,](tag:hc)[进入“[企业项目管理](https://console-intl.huaweicloud.com/eps/?region=ap-southeast-1#/projects/list)”页面,](tag:hk)单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用Moderation服务,账单的企业项目会被分类到企业ID对应的企业项目中。 - 携带格式正确但不存在的ID,正常使用Moderation服务,账单的企业项目会显示对应不存在的企业项目ID。 - 不携带ID或格式错误ID(包含特殊字符等),正常使用Moderation服务,账单的企业项目会被分类到\"default\"中。 + + :param enterprise_project_id: The enterprise_project_id of this RunTextModerationRequest. + :type enterprise_project_id: str + """ + self._enterprise_project_id = enterprise_project_id + @property def body(self): """Gets the body of this RunTextModerationRequest. diff --git a/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/moderation_async_client.py b/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/moderation_async_client.py index 40ad7de7da..20a9bd953a 100644 --- a/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/moderation_async_client.py +++ b/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/moderation_async_client.py @@ -32,6 +32,71 @@ def new_builder(cls, clazz=None): return client_builder + def batch_check_image_sync_async(self, request): + """图像审核批量同步接口 + + 图像审核批量同步接口 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for BatchCheckImageSync + :type request: :class:`huaweicloudsdkmoderation.v3.BatchCheckImageSyncRequest` + :rtype: :class:`huaweicloudsdkmoderation.v3.BatchCheckImageSyncResponse` + """ + http_info = self._batch_check_image_sync_http_info(request) + return self._call_api(**http_info) + + def batch_check_image_sync_async_invoker(self, request): + http_info = self._batch_check_image_sync_http_info(request) + return AsyncInvoker(self, http_info) + + def _batch_check_image_sync_http_info(self, request): + http_info = { + "method": "POST", + "resource_path": "/v3/{project_id}/moderation/image/batch", + "request_type": request.__class__.__name__, + "response_type": "BatchCheckImageSyncResponse" + } + + 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 = {} + + 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 = [] + + 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 check_image_moderation_async(self, request): """图像内容审核 @@ -70,6 +135,8 @@ def _check_image_moderation_http_info(self, request): query_params = [] header_params = {} + if 'enterprise_project_id' in local_var_params: + header_params['Enterprise-Project-Id'] = local_var_params['enterprise_project_id'] form_params = {} @@ -784,6 +851,8 @@ def _run_text_moderation_http_info(self, request): query_params = [] header_params = {} + if 'enterprise_project_id' in local_var_params: + header_params['Enterprise-Project-Id'] = local_var_params['enterprise_project_id'] form_params = {} diff --git a/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/moderation_client.py b/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/moderation_client.py index 6e3dd7cddb..e64f1934a7 100644 --- a/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/moderation_client.py +++ b/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/moderation_client.py @@ -32,6 +32,71 @@ def new_builder(cls, clazz=None): return client_builder + def batch_check_image_sync(self, request): + """图像审核批量同步接口 + + 图像审核批量同步接口 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for BatchCheckImageSync + :type request: :class:`huaweicloudsdkmoderation.v3.BatchCheckImageSyncRequest` + :rtype: :class:`huaweicloudsdkmoderation.v3.BatchCheckImageSyncResponse` + """ + http_info = self._batch_check_image_sync_http_info(request) + return self._call_api(**http_info) + + def batch_check_image_sync_invoker(self, request): + http_info = self._batch_check_image_sync_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _batch_check_image_sync_http_info(cls, request): + http_info = { + "method": "POST", + "resource_path": "/v3/{project_id}/moderation/image/batch", + "request_type": request.__class__.__name__, + "response_type": "BatchCheckImageSyncResponse" + } + + 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 = {} + + 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 = [] + + 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 check_image_moderation(self, request): """图像内容审核 @@ -70,6 +135,8 @@ def _check_image_moderation_http_info(cls, request): query_params = [] header_params = {} + if 'enterprise_project_id' in local_var_params: + header_params['Enterprise-Project-Id'] = local_var_params['enterprise_project_id'] form_params = {} @@ -784,6 +851,8 @@ def _run_text_moderation_http_info(cls, request): query_params = [] header_params = {} + if 'enterprise_project_id' in local_var_params: + header_params['Enterprise-Project-Id'] = local_var_params['enterprise_project_id'] form_params = {} diff --git a/huaweicloud-sdk-moderation/requirements.txt b/huaweicloud-sdk-moderation/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-moderation/requirements.txt +++ b/huaweicloud-sdk-moderation/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-moderation/setup.py b/huaweicloud-sdk-moderation/setup.py index b058c9f398..3e55f5e7a5 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-mpc/requirements.txt b/huaweicloud-sdk-mpc/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-mpc/requirements.txt +++ b/huaweicloud-sdk-mpc/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-mpc/setup.py b/huaweicloud-sdk-mpc/setup.py index 8c67df0b2a..3c455bf480 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-mrs/requirements.txt b/huaweicloud-sdk-mrs/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-mrs/requirements.txt +++ b/huaweicloud-sdk-mrs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-mrs/setup.py b/huaweicloud-sdk-mrs/setup.py index 1ce8da2b07..b7692d54fe 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-msgsms/requirements.txt b/huaweicloud-sdk-msgsms/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-msgsms/requirements.txt +++ b/huaweicloud-sdk-msgsms/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-msgsms/setup.py b/huaweicloud-sdk-msgsms/setup.py index 0d9490bfa2..498aeaca82 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-mssi/requirements.txt b/huaweicloud-sdk-mssi/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-mssi/requirements.txt +++ b/huaweicloud-sdk-mssi/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-mssi/setup.py b/huaweicloud-sdk-mssi/setup.py index e9adf89eb9..54fd762219 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-nat/requirements.txt b/huaweicloud-sdk-nat/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-nat/requirements.txt +++ b/huaweicloud-sdk-nat/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-nat/setup.py b/huaweicloud-sdk-nat/setup.py index ba4cfb0521..287fa75b38 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-nlp/requirements.txt b/huaweicloud-sdk-nlp/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-nlp/requirements.txt +++ b/huaweicloud-sdk-nlp/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-nlp/setup.py b/huaweicloud-sdk-nlp/setup.py index 3632471d6e..c5c82841e7 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-obs/requirements.txt b/huaweicloud-sdk-obs/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-obs/requirements.txt +++ b/huaweicloud-sdk-obs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-obs/setup.py b/huaweicloud-sdk-obs/setup.py index 2767e2376d..9059f4dae4 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/cambodian_id_card_request_body.py b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/cambodian_id_card_request_body.py index e34a6cda46..fa6c2e906e 100644 --- a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/cambodian_id_card_request_body.py +++ b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/cambodian_id_card_request_body.py @@ -27,7 +27,8 @@ class CambodianIdCardRequestBody: 'detect_blur': 'bool', 'detect_glare': 'bool', 'return_adjusted_image': 'bool', - 'detect_tampering': 'bool' + 'detect_tampering': 'bool', + 'detect_reproduce': 'bool' } attribute_map = { @@ -41,10 +42,11 @@ class CambodianIdCardRequestBody: 'detect_blur': 'detect_blur', 'detect_glare': 'detect_glare', 'return_adjusted_image': 'return_adjusted_image', - 'detect_tampering': 'detect_tampering' + 'detect_tampering': 'detect_tampering', + 'detect_reproduce': 'detect_reproduce' } - def __init__(self, image=None, url=None, return_portrait_image=None, return_portrait_location=None, return_idcard_type=None, detect_border_integrity=None, detect_blocking_within_border=None, detect_blur=None, detect_glare=None, return_adjusted_image=None, detect_tampering=None): + def __init__(self, image=None, url=None, return_portrait_image=None, return_portrait_location=None, return_idcard_type=None, detect_border_integrity=None, detect_blocking_within_border=None, detect_blur=None, detect_glare=None, return_adjusted_image=None, detect_tampering=None, detect_reproduce=None): """CambodianIdCardRequestBody The model defined in huaweicloud sdk @@ -71,6 +73,8 @@ def __init__(self, image=None, url=None, return_portrait_image=None, return_port :type return_adjusted_image: bool :param detect_tampering: 返回身份证人像是否被篡改的告警结果的开关,可选值如下所示 - true: 打开身份证人像是否被篡改的告警功能 - false:关闭身份证人像被篡改的告警功能 不支持精细化的P图 :type detect_tampering: bool + :param detect_reproduce: 返回判断身份证图像是否经过翻拍告警的开关,可选值如下所示 - true:打开判断身份证图像是否经过翻拍告警的功能 - false:关闭判断身份证图像是否经过翻拍告警的功能 + :type detect_reproduce: bool """ @@ -86,6 +90,7 @@ def __init__(self, image=None, url=None, return_portrait_image=None, return_port self._detect_glare = None self._return_adjusted_image = None self._detect_tampering = None + self._detect_reproduce = None self.discriminator = None if image is not None: @@ -110,6 +115,8 @@ def __init__(self, image=None, url=None, return_portrait_image=None, return_port self.return_adjusted_image = return_adjusted_image if detect_tampering is not None: self.detect_tampering = detect_tampering + if detect_reproduce is not None: + self.detect_reproduce = detect_reproduce @property def image(self): @@ -353,6 +360,28 @@ def detect_tampering(self, detect_tampering): """ self._detect_tampering = detect_tampering + @property + def detect_reproduce(self): + """Gets the detect_reproduce of this CambodianIdCardRequestBody. + + 返回判断身份证图像是否经过翻拍告警的开关,可选值如下所示 - true:打开判断身份证图像是否经过翻拍告警的功能 - false:关闭判断身份证图像是否经过翻拍告警的功能 + + :return: The detect_reproduce of this CambodianIdCardRequestBody. + :rtype: bool + """ + return self._detect_reproduce + + @detect_reproduce.setter + def detect_reproduce(self, detect_reproduce): + """Sets the detect_reproduce of this CambodianIdCardRequestBody. + + 返回判断身份证图像是否经过翻拍告警的开关,可选值如下所示 - true:打开判断身份证图像是否经过翻拍告警的功能 - false:关闭判断身份证图像是否经过翻拍告警的功能 + + :param detect_reproduce: The detect_reproduce of this CambodianIdCardRequestBody. + :type detect_reproduce: bool + """ + self._detect_reproduce = detect_reproduce + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/cambodian_id_card_result.py b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/cambodian_id_card_result.py index b1771f6be5..60c2f66961 100644 --- a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/cambodian_id_card_result.py +++ b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/cambodian_id_card_result.py @@ -40,6 +40,7 @@ class CambodianIdCardResult: 'detect_blur_result': 'bool', 'detect_glare_result': 'bool', 'detect_tampering_result': 'bool', + 'detect_reproduce_result': 'bool', 'score_info': 'CambodianIdCardScoreInformationResult', 'confidence': 'object' } @@ -68,11 +69,12 @@ class CambodianIdCardResult: 'detect_blur_result': 'detect_blur_result', 'detect_glare_result': 'detect_glare_result', 'detect_tampering_result': 'detect_tampering_result', + 'detect_reproduce_result': 'detect_reproduce_result', 'score_info': 'score_info', 'confidence': 'confidence' } - def __init__(self, id_number=None, name_kh=None, name_en=None, birth_date=None, sex=None, height=None, birth_place=None, address=None, issue_date=None, expiry_date=None, description=None, machine_code1=None, machine_code2=None, machine_code3=None, portrait_image=None, portrait_location=None, idcard_type=None, adjusted_image=None, detect_border_integrity_result=None, detect_blocking_within_border_result=None, detect_blur_result=None, detect_glare_result=None, detect_tampering_result=None, score_info=None, confidence=None): + def __init__(self, id_number=None, name_kh=None, name_en=None, birth_date=None, sex=None, height=None, birth_place=None, address=None, issue_date=None, expiry_date=None, description=None, machine_code1=None, machine_code2=None, machine_code3=None, portrait_image=None, portrait_location=None, idcard_type=None, adjusted_image=None, detect_border_integrity_result=None, detect_blocking_within_border_result=None, detect_blur_result=None, detect_glare_result=None, detect_tampering_result=None, detect_reproduce_result=None, score_info=None, confidence=None): """CambodianIdCardResult The model defined in huaweicloud sdk @@ -123,6 +125,8 @@ def __init__(self, id_number=None, name_kh=None, name_en=None, birth_date=None, :type detect_glare_result: bool :param detect_tampering_result: 身份证人像被篡改的告警结果,\"true\"表示身份证人像被篡改,\"false\"表示是身份证人像未被篡改。仅在输入参数detect_tampering为true时,返回该字段。 :type detect_tampering_result: bool + :param detect_reproduce_result: 身份证是否经过翻拍的告警结果,“true”表示身份证经过翻拍,“false”表示身份证未经过翻拍。仅在输入参数detect_reproduce为true时,返回该字段。 + :type detect_reproduce_result: bool :param score_info: :type score_info: :class:`huaweicloudsdkocr.v1.CambodianIdCardScoreInformationResult` :param confidence: 相关字段的置信度信息,置信度越大,表示本次识别的对应字段的可靠性越高,在统计意义上,置信度越大,准确率越高。 置信度由算法给出,不直接等价于对应字段的准确率。 @@ -154,6 +158,7 @@ def __init__(self, id_number=None, name_kh=None, name_en=None, birth_date=None, self._detect_blur_result = None self._detect_glare_result = None self._detect_tampering_result = None + self._detect_reproduce_result = None self._score_info = None self._confidence = None self.discriminator = None @@ -204,6 +209,8 @@ def __init__(self, id_number=None, name_kh=None, name_en=None, birth_date=None, self.detect_glare_result = detect_glare_result if detect_tampering_result is not None: self.detect_tampering_result = detect_tampering_result + if detect_reproduce_result is not None: + self.detect_reproduce_result = detect_reproduce_result if score_info is not None: self.score_info = score_info if confidence is not None: @@ -715,6 +722,28 @@ def detect_tampering_result(self, detect_tampering_result): """ self._detect_tampering_result = detect_tampering_result + @property + def detect_reproduce_result(self): + """Gets the detect_reproduce_result of this CambodianIdCardResult. + + 身份证是否经过翻拍的告警结果,“true”表示身份证经过翻拍,“false”表示身份证未经过翻拍。仅在输入参数detect_reproduce为true时,返回该字段。 + + :return: The detect_reproduce_result of this CambodianIdCardResult. + :rtype: bool + """ + return self._detect_reproduce_result + + @detect_reproduce_result.setter + def detect_reproduce_result(self, detect_reproduce_result): + """Sets the detect_reproduce_result of this CambodianIdCardResult. + + 身份证是否经过翻拍的告警结果,“true”表示身份证经过翻拍,“false”表示身份证未经过翻拍。仅在输入参数detect_reproduce为true时,返回该字段。 + + :param detect_reproduce_result: The detect_reproduce_result of this CambodianIdCardResult. + :type detect_reproduce_result: bool + """ + self._detect_reproduce_result = detect_reproduce_result + @property def score_info(self): """Gets the score_info of this CambodianIdCardResult. diff --git a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/cambodian_id_card_score_information_result.py b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/cambodian_id_card_score_information_result.py index e58af312b7..d29475d658 100644 --- a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/cambodian_id_card_score_information_result.py +++ b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/cambodian_id_card_score_information_result.py @@ -22,7 +22,8 @@ class CambodianIdCardScoreInformationResult: 'blocking_within_border_score': 'int', 'blur_score': 'int', 'glare_score': 'int', - 'tampering_score': 'int' + 'tampering_score': 'int', + 'reproduce_score': 'int' } attribute_map = { @@ -31,10 +32,11 @@ class CambodianIdCardScoreInformationResult: 'blocking_within_border_score': 'blocking_within_border_score', 'blur_score': 'blur_score', 'glare_score': 'glare_score', - 'tampering_score': 'tampering_score' + 'tampering_score': 'tampering_score', + 'reproduce_score': 'reproduce_score' } - def __init__(self, idcard_type_score=None, border_integrity_score=None, blocking_within_border_score=None, blur_score=None, glare_score=None, tampering_score=None): + def __init__(self, idcard_type_score=None, border_integrity_score=None, blocking_within_border_score=None, blur_score=None, glare_score=None, tampering_score=None, reproduce_score=None): """CambodianIdCardScoreInformationResult The model defined in huaweicloud sdk @@ -51,6 +53,8 @@ def __init__(self, idcard_type_score=None, border_integrity_score=None, blocking :type glare_score: int :param tampering_score: 告警分数,字段取值范围[0, 99]值大于50表示身份证人像被其他非身份证人像篡改过,小于50表示身份证人像未被篡改,值越靠近99,表示身份证人像被篡改的可能性越大,值越靠近0,表示身份证未人像被篡改的可能性越大。 仅在传入参数detect_tampering为true时,返回该字段。 :type tampering_score: int + :param reproduce_score: 告警分数,字段取值范围[0, 99]值大于50表示身份证经过翻拍,小于50表示身份证未经过翻拍,值越靠近99,表示身份证图像被翻拍过的可能性越大,值越靠近0,表示身份证图像未被翻拍的可能性越大。 仅在传入参数detect_reproduce为true时,返回该字段。 + :type reproduce_score: int """ @@ -61,6 +65,7 @@ def __init__(self, idcard_type_score=None, border_integrity_score=None, blocking self._blur_score = None self._glare_score = None self._tampering_score = None + self._reproduce_score = None self.discriminator = None if idcard_type_score is not None: @@ -75,6 +80,8 @@ def __init__(self, idcard_type_score=None, border_integrity_score=None, blocking self.glare_score = glare_score if tampering_score is not None: self.tampering_score = tampering_score + if reproduce_score is not None: + self.reproduce_score = reproduce_score @property def idcard_type_score(self): @@ -208,6 +215,28 @@ def tampering_score(self, tampering_score): """ self._tampering_score = tampering_score + @property + def reproduce_score(self): + """Gets the reproduce_score of this CambodianIdCardScoreInformationResult. + + 告警分数,字段取值范围[0, 99]值大于50表示身份证经过翻拍,小于50表示身份证未经过翻拍,值越靠近99,表示身份证图像被翻拍过的可能性越大,值越靠近0,表示身份证图像未被翻拍的可能性越大。 仅在传入参数detect_reproduce为true时,返回该字段。 + + :return: The reproduce_score of this CambodianIdCardScoreInformationResult. + :rtype: int + """ + return self._reproduce_score + + @reproduce_score.setter + def reproduce_score(self, reproduce_score): + """Sets the reproduce_score of this CambodianIdCardScoreInformationResult. + + 告警分数,字段取值范围[0, 99]值大于50表示身份证经过翻拍,小于50表示身份证未经过翻拍,值越靠近99,表示身份证图像被翻拍过的可能性越大,值越靠近0,表示身份证图像未被翻拍的可能性越大。 仅在传入参数detect_reproduce为true时,返回该字段。 + + :param reproduce_score: The reproduce_score of this CambodianIdCardScoreInformationResult. + :type reproduce_score: int + """ + self._reproduce_score = reproduce_score + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/transportation_license_result.py b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/transportation_license_result.py index 24ce4af5a5..88dd1c9614 100644 --- a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/transportation_license_result.py +++ b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/transportation_license_result.py @@ -67,7 +67,7 @@ def __init__(self, owner_name=None, license_number=None, vehicle_number=None, ve :type vehicle_size: str :param issuing_authority: 核发机关(非必有,依赖对应运输证板式)。 :type issuing_authority: str - :param issue_date: 签发日期(非必有,依赖对应运输证板式)。 + :param issue_date: 发证日期(非必有,依赖对应运输证板式)。 :type issue_date: str :param owner_address: 业户地址(非必有,依赖对应运输证板式)。 :type owner_address: str @@ -75,7 +75,7 @@ def __init__(self, owner_name=None, license_number=None, vehicle_number=None, ve :type economic_type: str :param business_certificate: 经营许可证号(非必有,依赖对应运输证板式)。 :type business_certificate: str - :param business_scope: 道路普通货物运输(非必有,依赖对应运输证板式)。 + :param business_scope: 经营范围(非必有,依赖对应运输证板式)。 :type business_scope: str :param confidence: 相关字段的置信度信息,置信度越大,表示本次识别的对应字段的可靠性越高,在统计意义上,置信度越大,准确率越高。 置信度由算法给出,不直接等价于对应字段的准确率。 :type confidence: object @@ -283,7 +283,7 @@ def issuing_authority(self, issuing_authority): def issue_date(self): """Gets the issue_date of this TransportationLicenseResult. - 签发日期(非必有,依赖对应运输证板式)。 + 发证日期(非必有,依赖对应运输证板式)。 :return: The issue_date of this TransportationLicenseResult. :rtype: str @@ -294,7 +294,7 @@ def issue_date(self): def issue_date(self, issue_date): """Sets the issue_date of this TransportationLicenseResult. - 签发日期(非必有,依赖对应运输证板式)。 + 发证日期(非必有,依赖对应运输证板式)。 :param issue_date: The issue_date of this TransportationLicenseResult. :type issue_date: str @@ -371,7 +371,7 @@ def business_certificate(self, business_certificate): def business_scope(self): """Gets the business_scope of this TransportationLicenseResult. - 道路普通货物运输(非必有,依赖对应运输证板式)。 + 经营范围(非必有,依赖对应运输证板式)。 :return: The business_scope of this TransportationLicenseResult. :rtype: str @@ -382,7 +382,7 @@ def business_scope(self): def business_scope(self, business_scope): """Sets the business_scope of this TransportationLicenseResult. - 道路普通货物运输(非必有,依赖对应运输证板式)。 + 经营范围(非必有,依赖对应运输证板式)。 :param business_scope: The business_scope of this TransportationLicenseResult. :type business_scope: str diff --git a/huaweicloud-sdk-ocr/requirements.txt b/huaweicloud-sdk-ocr/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-ocr/requirements.txt +++ b/huaweicloud-sdk-ocr/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-ocr/setup.py b/huaweicloud-sdk-ocr/setup.py index d2c8ab38e9..2ddccf2857 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-octopus/requirements.txt b/huaweicloud-sdk-octopus/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-octopus/requirements.txt +++ b/huaweicloud-sdk-octopus/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-octopus/setup.py b/huaweicloud-sdk-octopus/setup.py index a808318fa3..17f271b6d0 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-oms/requirements.txt b/huaweicloud-sdk-oms/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-oms/requirements.txt +++ b/huaweicloud-sdk-oms/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-oms/setup.py b/huaweicloud-sdk-oms/setup.py index 160e3c1da1..be62fbd3e8 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-optverse/requirements.txt b/huaweicloud-sdk-optverse/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-optverse/requirements.txt +++ b/huaweicloud-sdk-optverse/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-optverse/setup.py b/huaweicloud-sdk-optverse/setup.py index b271708e7a..38121eeb67 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-organizations/requirements.txt b/huaweicloud-sdk-organizations/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-organizations/requirements.txt +++ b/huaweicloud-sdk-organizations/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-organizations/setup.py b/huaweicloud-sdk-organizations/setup.py index 7aceac86c5..7088e4c72b 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-orgid/requirements.txt b/huaweicloud-sdk-orgid/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-orgid/requirements.txt +++ b/huaweicloud-sdk-orgid/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-orgid/setup.py b/huaweicloud-sdk-orgid/setup.py index c1874b65b9..3b47e23085 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-oroas/requirements.txt b/huaweicloud-sdk-oroas/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-oroas/requirements.txt +++ b/huaweicloud-sdk-oroas/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-oroas/setup.py b/huaweicloud-sdk-oroas/setup.py index 0251d2464c..19892a4cf5 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-osm/requirements.txt b/huaweicloud-sdk-osm/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-osm/requirements.txt +++ b/huaweicloud-sdk-osm/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-osm/setup.py b/huaweicloud-sdk-osm/setup.py index 48dc04e0f9..79a05c36ea 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-pangulargemodels/requirements.txt b/huaweicloud-sdk-pangulargemodels/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-pangulargemodels/requirements.txt +++ b/huaweicloud-sdk-pangulargemodels/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-pangulargemodels/setup.py b/huaweicloud-sdk-pangulargemodels/setup.py index fa7d3c8311..fb10b7a5b5 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-projectman/requirements.txt b/huaweicloud-sdk-projectman/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-projectman/requirements.txt +++ b/huaweicloud-sdk-projectman/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-projectman/setup.py b/huaweicloud-sdk-projectman/setup.py index bc406f894c..0c3121dceb 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-rabbitmq/requirements.txt b/huaweicloud-sdk-rabbitmq/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-rabbitmq/requirements.txt +++ b/huaweicloud-sdk-rabbitmq/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-rabbitmq/setup.py b/huaweicloud-sdk-rabbitmq/setup.py index 773af2335c..a289eab403 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ram/requirements.txt b/huaweicloud-sdk-ram/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-ram/requirements.txt +++ b/huaweicloud-sdk-ram/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-ram/setup.py b/huaweicloud-sdk-ram/setup.py index 4cb82823a7..c1c44261c6 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-rds/huaweicloudsdkrds/v3/__init__.py b/huaweicloud-sdk-rds/huaweicloudsdkrds/v3/__init__.py index de6afd66ed..0efd11384f 100644 --- a/huaweicloud-sdk-rds/huaweicloudsdkrds/v3/__init__.py +++ b/huaweicloud-sdk-rds/huaweicloudsdkrds/v3/__init__.py @@ -217,6 +217,9 @@ from huaweicloudsdkrds.v3.model.inspection_reports import InspectionReports from huaweicloudsdkrds.v3.model.instance_dr_relation import InstanceDrRelation from huaweicloudsdkrds.v3.model.instance_info import InstanceInfo +from huaweicloudsdkrds.v3.model.instance_lts_basic_info_resp import InstanceLtsBasicInfoResp +from huaweicloudsdkrds.v3.model.instance_lts_config_detail_resp import InstanceLtsConfigDetailResp +from huaweicloudsdkrds.v3.model.instance_lts_config_resp import InstanceLtsConfigResp from huaweicloudsdkrds.v3.model.instance_request import InstanceRequest from huaweicloudsdkrds.v3.model.instance_response import InstanceResponse from huaweicloudsdkrds.v3.model.instance_restart_requset_body import InstanceRestartRequsetBody diff --git a/huaweicloud-sdk-rds/huaweicloudsdkrds/v3/model/__init__.py b/huaweicloud-sdk-rds/huaweicloudsdkrds/v3/model/__init__.py index 4122477b5f..2784b6b59f 100644 --- a/huaweicloud-sdk-rds/huaweicloudsdkrds/v3/model/__init__.py +++ b/huaweicloud-sdk-rds/huaweicloudsdkrds/v3/model/__init__.py @@ -215,6 +215,9 @@ from huaweicloudsdkrds.v3.model.inspection_reports import InspectionReports from huaweicloudsdkrds.v3.model.instance_dr_relation import InstanceDrRelation from huaweicloudsdkrds.v3.model.instance_info import InstanceInfo +from huaweicloudsdkrds.v3.model.instance_lts_basic_info_resp import InstanceLtsBasicInfoResp +from huaweicloudsdkrds.v3.model.instance_lts_config_detail_resp import InstanceLtsConfigDetailResp +from huaweicloudsdkrds.v3.model.instance_lts_config_resp import InstanceLtsConfigResp from huaweicloudsdkrds.v3.model.instance_request import InstanceRequest from huaweicloudsdkrds.v3.model.instance_response import InstanceResponse from huaweicloudsdkrds.v3.model.instance_restart_requset_body import InstanceRestartRequsetBody diff --git a/huaweicloud-sdk-rds/huaweicloudsdkrds/v3/model/instance_lts_basic_info_resp.py b/huaweicloud-sdk-rds/huaweicloudsdkrds/v3/model/instance_lts_basic_info_resp.py new file mode 100644 index 0000000000..c021ea87b7 --- /dev/null +++ b/huaweicloud-sdk-rds/huaweicloudsdkrds/v3/model/instance_lts_basic_info_resp.py @@ -0,0 +1,318 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class InstanceLtsBasicInfoResp: + + """ + 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', + 'name': 'str', + 'engine_name': 'str', + 'engine_version': 'str', + 'engine_category': 'str', + 'status': 'str', + 'enterprise_project_id': 'str', + 'actions': 'list[str]' + } + + attribute_map = { + 'id': 'id', + 'name': 'name', + 'engine_name': 'engine_name', + 'engine_version': 'engine_version', + 'engine_category': 'engine_category', + 'status': 'status', + 'enterprise_project_id': 'enterprise_project_id', + 'actions': 'actions' + } + + def __init__(self, id=None, name=None, engine_name=None, engine_version=None, engine_category=None, status=None, enterprise_project_id=None, actions=None): + """InstanceLtsBasicInfoResp + + The model defined in huaweicloud sdk + + :param id: 实例id + :type id: str + :param name: 实例名称 + :type name: str + :param engine_name: 引擎名 + :type engine_name: str + :param engine_version: 引擎版本 + :type engine_version: str + :param engine_category: 引擎分类 + :type engine_category: str + :param status: 实例状态 + :type status: str + :param enterprise_project_id: 企业项目id + :type enterprise_project_id: str + :param actions: 实例进行中的任务 + :type actions: list[str] + """ + + + + self._id = None + self._name = None + self._engine_name = None + self._engine_version = None + self._engine_category = None + self._status = None + self._enterprise_project_id = None + self._actions = None + self.discriminator = None + + if id is not None: + self.id = id + if name is not None: + self.name = name + if engine_name is not None: + self.engine_name = engine_name + if engine_version is not None: + self.engine_version = engine_version + if engine_category is not None: + self.engine_category = engine_category + if status is not None: + self.status = status + if enterprise_project_id is not None: + self.enterprise_project_id = enterprise_project_id + if actions is not None: + self.actions = actions + + @property + def id(self): + """Gets the id of this InstanceLtsBasicInfoResp. + + 实例id + + :return: The id of this InstanceLtsBasicInfoResp. + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this InstanceLtsBasicInfoResp. + + 实例id + + :param id: The id of this InstanceLtsBasicInfoResp. + :type id: str + """ + self._id = id + + @property + def name(self): + """Gets the name of this InstanceLtsBasicInfoResp. + + 实例名称 + + :return: The name of this InstanceLtsBasicInfoResp. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this InstanceLtsBasicInfoResp. + + 实例名称 + + :param name: The name of this InstanceLtsBasicInfoResp. + :type name: str + """ + self._name = name + + @property + def engine_name(self): + """Gets the engine_name of this InstanceLtsBasicInfoResp. + + 引擎名 + + :return: The engine_name of this InstanceLtsBasicInfoResp. + :rtype: str + """ + return self._engine_name + + @engine_name.setter + def engine_name(self, engine_name): + """Sets the engine_name of this InstanceLtsBasicInfoResp. + + 引擎名 + + :param engine_name: The engine_name of this InstanceLtsBasicInfoResp. + :type engine_name: str + """ + self._engine_name = engine_name + + @property + def engine_version(self): + """Gets the engine_version of this InstanceLtsBasicInfoResp. + + 引擎版本 + + :return: The engine_version of this InstanceLtsBasicInfoResp. + :rtype: str + """ + return self._engine_version + + @engine_version.setter + def engine_version(self, engine_version): + """Sets the engine_version of this InstanceLtsBasicInfoResp. + + 引擎版本 + + :param engine_version: The engine_version of this InstanceLtsBasicInfoResp. + :type engine_version: str + """ + self._engine_version = engine_version + + @property + def engine_category(self): + """Gets the engine_category of this InstanceLtsBasicInfoResp. + + 引擎分类 + + :return: The engine_category of this InstanceLtsBasicInfoResp. + :rtype: str + """ + return self._engine_category + + @engine_category.setter + def engine_category(self, engine_category): + """Sets the engine_category of this InstanceLtsBasicInfoResp. + + 引擎分类 + + :param engine_category: The engine_category of this InstanceLtsBasicInfoResp. + :type engine_category: str + """ + self._engine_category = engine_category + + @property + def status(self): + """Gets the status of this InstanceLtsBasicInfoResp. + + 实例状态 + + :return: The status of this InstanceLtsBasicInfoResp. + :rtype: str + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this InstanceLtsBasicInfoResp. + + 实例状态 + + :param status: The status of this InstanceLtsBasicInfoResp. + :type status: str + """ + self._status = status + + @property + def enterprise_project_id(self): + """Gets the enterprise_project_id of this InstanceLtsBasicInfoResp. + + 企业项目id + + :return: The enterprise_project_id of this InstanceLtsBasicInfoResp. + :rtype: str + """ + return self._enterprise_project_id + + @enterprise_project_id.setter + def enterprise_project_id(self, enterprise_project_id): + """Sets the enterprise_project_id of this InstanceLtsBasicInfoResp. + + 企业项目id + + :param enterprise_project_id: The enterprise_project_id of this InstanceLtsBasicInfoResp. + :type enterprise_project_id: str + """ + self._enterprise_project_id = enterprise_project_id + + @property + def actions(self): + """Gets the actions of this InstanceLtsBasicInfoResp. + + 实例进行中的任务 + + :return: The actions of this InstanceLtsBasicInfoResp. + :rtype: list[str] + """ + return self._actions + + @actions.setter + def actions(self, actions): + """Sets the actions of this InstanceLtsBasicInfoResp. + + 实例进行中的任务 + + :param actions: The actions of this InstanceLtsBasicInfoResp. + :type actions: list[str] + """ + self._actions = actions + + 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, InstanceLtsBasicInfoResp): + 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-rds/huaweicloudsdkrds/v3/model/instance_lts_config_detail_resp.py b/huaweicloud-sdk-rds/huaweicloudsdkrds/v3/model/instance_lts_config_detail_resp.py new file mode 100644 index 0000000000..5e56ec6684 --- /dev/null +++ b/huaweicloud-sdk-rds/huaweicloudsdkrds/v3/model/instance_lts_config_detail_resp.py @@ -0,0 +1,202 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class InstanceLtsConfigDetailResp: + + """ + 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 = { + 'log_type': 'str', + 'lts_group_id': 'str', + 'lts_stream_id': 'str', + 'enabled': 'bool' + } + + attribute_map = { + 'log_type': 'log_type', + 'lts_group_id': 'lts_group_id', + 'lts_stream_id': 'lts_stream_id', + 'enabled': 'enabled' + } + + def __init__(self, log_type=None, lts_group_id=None, lts_stream_id=None, enabled=None): + """InstanceLtsConfigDetailResp + + The model defined in huaweicloud sdk + + :param log_type: 日志类型 + :type log_type: str + :param lts_group_id: 日志组id + :type lts_group_id: str + :param lts_stream_id: 日志流id + :type lts_stream_id: str + :param enabled: 是否开启上传至lts + :type enabled: bool + """ + + + + self._log_type = None + self._lts_group_id = None + self._lts_stream_id = None + self._enabled = None + self.discriminator = None + + if log_type is not None: + self.log_type = log_type + if lts_group_id is not None: + self.lts_group_id = lts_group_id + if lts_stream_id is not None: + self.lts_stream_id = lts_stream_id + if enabled is not None: + self.enabled = enabled + + @property + def log_type(self): + """Gets the log_type of this InstanceLtsConfigDetailResp. + + 日志类型 + + :return: The log_type of this InstanceLtsConfigDetailResp. + :rtype: str + """ + return self._log_type + + @log_type.setter + def log_type(self, log_type): + """Sets the log_type of this InstanceLtsConfigDetailResp. + + 日志类型 + + :param log_type: The log_type of this InstanceLtsConfigDetailResp. + :type log_type: str + """ + self._log_type = log_type + + @property + def lts_group_id(self): + """Gets the lts_group_id of this InstanceLtsConfigDetailResp. + + 日志组id + + :return: The lts_group_id of this InstanceLtsConfigDetailResp. + :rtype: str + """ + return self._lts_group_id + + @lts_group_id.setter + def lts_group_id(self, lts_group_id): + """Sets the lts_group_id of this InstanceLtsConfigDetailResp. + + 日志组id + + :param lts_group_id: The lts_group_id of this InstanceLtsConfigDetailResp. + :type lts_group_id: str + """ + self._lts_group_id = lts_group_id + + @property + def lts_stream_id(self): + """Gets the lts_stream_id of this InstanceLtsConfigDetailResp. + + 日志流id + + :return: The lts_stream_id of this InstanceLtsConfigDetailResp. + :rtype: str + """ + return self._lts_stream_id + + @lts_stream_id.setter + def lts_stream_id(self, lts_stream_id): + """Sets the lts_stream_id of this InstanceLtsConfigDetailResp. + + 日志流id + + :param lts_stream_id: The lts_stream_id of this InstanceLtsConfigDetailResp. + :type lts_stream_id: str + """ + self._lts_stream_id = lts_stream_id + + @property + def enabled(self): + """Gets the enabled of this InstanceLtsConfigDetailResp. + + 是否开启上传至lts + + :return: The enabled of this InstanceLtsConfigDetailResp. + :rtype: bool + """ + return self._enabled + + @enabled.setter + def enabled(self, enabled): + """Sets the enabled of this InstanceLtsConfigDetailResp. + + 是否开启上传至lts + + :param enabled: The enabled of this InstanceLtsConfigDetailResp. + :type enabled: bool + """ + self._enabled = enabled + + 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, InstanceLtsConfigDetailResp): + 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-rds/huaweicloudsdkrds/v3/model/instance_lts_config_resp.py b/huaweicloud-sdk-rds/huaweicloudsdkrds/v3/model/instance_lts_config_resp.py new file mode 100644 index 0000000000..2cd596cf40 --- /dev/null +++ b/huaweicloud-sdk-rds/huaweicloudsdkrds/v3/model/instance_lts_config_resp.py @@ -0,0 +1,140 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class InstanceLtsConfigResp: + + """ + 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 = { + 'lts_configs': 'list[InstanceLtsConfigDetailResp]', + 'instance': 'InstanceLtsBasicInfoResp' + } + + attribute_map = { + 'lts_configs': 'lts_configs', + 'instance': 'instance' + } + + def __init__(self, lts_configs=None, instance=None): + """InstanceLtsConfigResp + + The model defined in huaweicloud sdk + + :param lts_configs: LTS配置信息 + :type lts_configs: list[:class:`huaweicloudsdkrds.v3.InstanceLtsConfigDetailResp`] + :param instance: + :type instance: :class:`huaweicloudsdkrds.v3.InstanceLtsBasicInfoResp` + """ + + + + self._lts_configs = None + self._instance = None + self.discriminator = None + + if lts_configs is not None: + self.lts_configs = lts_configs + if instance is not None: + self.instance = instance + + @property + def lts_configs(self): + """Gets the lts_configs of this InstanceLtsConfigResp. + + LTS配置信息 + + :return: The lts_configs of this InstanceLtsConfigResp. + :rtype: list[:class:`huaweicloudsdkrds.v3.InstanceLtsConfigDetailResp`] + """ + return self._lts_configs + + @lts_configs.setter + def lts_configs(self, lts_configs): + """Sets the lts_configs of this InstanceLtsConfigResp. + + LTS配置信息 + + :param lts_configs: The lts_configs of this InstanceLtsConfigResp. + :type lts_configs: list[:class:`huaweicloudsdkrds.v3.InstanceLtsConfigDetailResp`] + """ + self._lts_configs = lts_configs + + @property + def instance(self): + """Gets the instance of this InstanceLtsConfigResp. + + :return: The instance of this InstanceLtsConfigResp. + :rtype: :class:`huaweicloudsdkrds.v3.InstanceLtsBasicInfoResp` + """ + return self._instance + + @instance.setter + def instance(self, instance): + """Sets the instance of this InstanceLtsConfigResp. + + :param instance: The instance of this InstanceLtsConfigResp. + :type instance: :class:`huaweicloudsdkrds.v3.InstanceLtsBasicInfoResp` + """ + self._instance = instance + + 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, InstanceLtsConfigResp): + 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-rds/huaweicloudsdkrds/v3/model/list_log_lts_configs_response.py b/huaweicloud-sdk-rds/huaweicloudsdkrds/v3/model/list_log_lts_configs_response.py index 4cfeae1aa3..487ea0ed88 100644 --- a/huaweicloud-sdk-rds/huaweicloudsdkrds/v3/model/list_log_lts_configs_response.py +++ b/huaweicloud-sdk-rds/huaweicloudsdkrds/v3/model/list_log_lts_configs_response.py @@ -18,21 +18,81 @@ class ListLogLtsConfigsResponse(SdkResponse): sensitive_list = [] openapi_types = { + 'instance_lts_configs': 'list[InstanceLtsConfigResp]', + 'total_count': 'int' } attribute_map = { + 'instance_lts_configs': 'instance_lts_configs', + 'total_count': 'total_count' } - def __init__(self): + def __init__(self, instance_lts_configs=None, total_count=None): """ListLogLtsConfigsResponse The model defined in huaweicloud sdk + :param instance_lts_configs: 实例的LTS配置 + :type instance_lts_configs: list[:class:`huaweicloudsdkrds.v3.InstanceLtsConfigResp`] + :param total_count: 结果集大小 + :type total_count: int """ super(ListLogLtsConfigsResponse, self).__init__() + + self._instance_lts_configs = None + self._total_count = None self.discriminator = None + if instance_lts_configs is not None: + self.instance_lts_configs = instance_lts_configs + if total_count is not None: + self.total_count = total_count + + @property + def instance_lts_configs(self): + """Gets the instance_lts_configs of this ListLogLtsConfigsResponse. + + 实例的LTS配置 + + :return: The instance_lts_configs of this ListLogLtsConfigsResponse. + :rtype: list[:class:`huaweicloudsdkrds.v3.InstanceLtsConfigResp`] + """ + return self._instance_lts_configs + + @instance_lts_configs.setter + def instance_lts_configs(self, instance_lts_configs): + """Sets the instance_lts_configs of this ListLogLtsConfigsResponse. + + 实例的LTS配置 + + :param instance_lts_configs: The instance_lts_configs of this ListLogLtsConfigsResponse. + :type instance_lts_configs: list[:class:`huaweicloudsdkrds.v3.InstanceLtsConfigResp`] + """ + self._instance_lts_configs = instance_lts_configs + + @property + def total_count(self): + """Gets the total_count of this ListLogLtsConfigsResponse. + + 结果集大小 + + :return: The total_count of this ListLogLtsConfigsResponse. + :rtype: int + """ + return self._total_count + + @total_count.setter + def total_count(self, total_count): + """Sets the total_count of this ListLogLtsConfigsResponse. + + 结果集大小 + + :param total_count: The total_count of this ListLogLtsConfigsResponse. + :type total_count: int + """ + self._total_count = total_count + 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 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-rds/requirements.txt +++ b/huaweicloud-sdk-rds/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-rds/setup.py b/huaweicloud-sdk-rds/setup.py index fd57beb2a5..69b3981845 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-res/requirements.txt b/huaweicloud-sdk-res/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-res/requirements.txt +++ b/huaweicloud-sdk-res/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-res/setup.py b/huaweicloud-sdk-res/setup.py index 63de77f833..36074b4fee 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-rgc/requirements.txt b/huaweicloud-sdk-rgc/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-rgc/requirements.txt +++ b/huaweicloud-sdk-rgc/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-rgc/setup.py b/huaweicloud-sdk-rgc/setup.py index 6bfc23fde3..c211b39158 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-rms/requirements.txt b/huaweicloud-sdk-rms/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-rms/requirements.txt +++ b/huaweicloud-sdk-rms/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-rms/setup.py b/huaweicloud-sdk-rms/setup.py index 93f50405ec..662f48a801 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-rocketmq/requirements.txt b/huaweicloud-sdk-rocketmq/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-rocketmq/requirements.txt +++ b/huaweicloud-sdk-rocketmq/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-rocketmq/setup.py b/huaweicloud-sdk-rocketmq/setup.py index 05583953ba..619a29acf2 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-roma/requirements.txt b/huaweicloud-sdk-roma/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-roma/requirements.txt +++ b/huaweicloud-sdk-roma/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-roma/setup.py b/huaweicloud-sdk-roma/setup.py index 382944aea1..f5b892a628 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-sa/requirements.txt b/huaweicloud-sdk-sa/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-sa/requirements.txt +++ b/huaweicloud-sdk-sa/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-sa/setup.py b/huaweicloud-sdk-sa/setup.py index ed5aecf4e5..f36fe92171 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-scm/requirements.txt b/huaweicloud-sdk-scm/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-scm/requirements.txt +++ b/huaweicloud-sdk-scm/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-scm/setup.py b/huaweicloud-sdk-scm/setup.py index 3e6687933f..e3ee23145d 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-sdrs/requirements.txt b/huaweicloud-sdk-sdrs/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-sdrs/requirements.txt +++ b/huaweicloud-sdk-sdrs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-sdrs/setup.py b/huaweicloud-sdk-sdrs/setup.py index 5a0397e2af..87eac6a955 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v1/region/secmaster_region.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v1/region/secmaster_region.py index d54a995d77..9320114ebf 100644 --- a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v1/region/secmaster_region.py +++ b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v1/region/secmaster_region.py @@ -24,6 +24,28 @@ class SecMasterRegion: "https://secmaster.cn-south-2.myhuaweicloud.com") CN_NORTH_1 = Region("cn-north-1", "https://secmaster.cn-north-1.myhuaweicloud.com") + CN_EAST_4 = Region("cn-east-4", + "https://secmaster.cn-east-4.myhuaweicloud.com") + ME_EAST_1 = Region("me-east-1", + "https://secmaster.me-east-1.myhuaweicloud.com") + CN_NORTH_11 = Region("cn-north-11", + "https://secmaster.cn-north-11.myhuaweicloud.com") + SA_BRAZIL_1 = Region("sa-brazil-1", + "https://secmaster.sa-brazil-1.myhuaweicloud.com") + LA_NORTH_2 = Region("la-north-2", + "https://secmaster.la-north-2.myhuaweicloud.com") + AP_SOUTHEAST_3 = Region("ap-southeast-3", + "https://secmaster.ap-southeast-3.myhuaweicloud.com") + AP_SOUTHEAST_2 = Region("ap-southeast-2", + "https://secmaster.ap-southeast-2.myhuaweicloud.com") + AP_SOUTHEAST_1 = Region("ap-southeast-1", + "https://secmaster.ap-southeast-1.myhuaweicloud.com") + AP_SOUTHEAST_4 = Region("ap-southeast-4", + "https://secmaster.ap-southeast-4.myhuaweicloud.com") + TR_WEST_1 = Region("tr-west-1", + "https://secmaster.tr-west-1.myhuaweicloud.com") + AF_NORTH_1 = Region("af-north-1", + "https://secmaster.af-north-1.myhuaweicloud.com") static_fields = { "cn-north-4": CN_NORTH_4, @@ -35,6 +57,17 @@ class SecMasterRegion: "cn-southwest-2": CN_SOUTHWEST_2, "cn-south-2": CN_SOUTH_2, "cn-north-1": CN_NORTH_1, + "cn-east-4": CN_EAST_4, + "me-east-1": ME_EAST_1, + "cn-north-11": CN_NORTH_11, + "sa-brazil-1": SA_BRAZIL_1, + "la-north-2": LA_NORTH_2, + "ap-southeast-3": AP_SOUTHEAST_3, + "ap-southeast-2": AP_SOUTHEAST_2, + "ap-southeast-1": AP_SOUTHEAST_1, + "ap-southeast-4": AP_SOUTHEAST_4, + "tr-west-1": TR_WEST_1, + "af-north-1": AF_NORTH_1, } @classmethod diff --git a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/__init__.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/__init__.py index b633a58fa7..ef768f1ec8 100644 --- a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/__init__.py +++ b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/__init__.py @@ -28,8 +28,12 @@ from huaweicloudsdksecmaster.v2.model.approve_opinion_detail import ApproveOpinionDetail from huaweicloudsdksecmaster.v2.model.approve_playbook_info import ApprovePlaybookInfo from huaweicloudsdksecmaster.v2.model.audit_log_info import AuditLogInfo +from huaweicloudsdksecmaster.v2.model.baseline_search_request_body import BaselineSearchRequestBody from huaweicloudsdksecmaster.v2.model.batch_operate_alert_result import BatchOperateAlertResult from huaweicloudsdksecmaster.v2.model.batch_operate_dataobject_result import BatchOperateDataobjectResult +from huaweicloudsdksecmaster.v2.model.batch_search_metric_hits_request import BatchSearchMetricHitsRequest +from huaweicloudsdksecmaster.v2.model.batch_search_metric_hits_request_body import BatchSearchMetricHitsRequestBody +from huaweicloudsdksecmaster.v2.model.batch_search_metric_hits_response import BatchSearchMetricHitsResponse from huaweicloudsdksecmaster.v2.model.change_alert_request import ChangeAlertRequest from huaweicloudsdksecmaster.v2.model.change_alert_request_body import ChangeAlertRequestBody from huaweicloudsdksecmaster.v2.model.change_alert_response import ChangeAlertResponse @@ -85,12 +89,18 @@ from huaweicloudsdksecmaster.v2.model.create_playbook_version_info import CreatePlaybookVersionInfo from huaweicloudsdksecmaster.v2.model.create_playbook_version_request import CreatePlaybookVersionRequest from huaweicloudsdksecmaster.v2.model.create_playbook_version_response import CreatePlaybookVersionResponse +from huaweicloudsdksecmaster.v2.model.create_post_paid_order_request import CreatePostPaidOrderRequest +from huaweicloudsdksecmaster.v2.model.create_post_paid_order_response import CreatePostPaidOrderResponse from huaweicloudsdksecmaster.v2.model.create_rule_info import CreateRuleInfo +from huaweicloudsdksecmaster.v2.model.create_workspace_request import CreateWorkspaceRequest +from huaweicloudsdksecmaster.v2.model.create_workspace_request_body import CreateWorkspaceRequestBody +from huaweicloudsdksecmaster.v2.model.create_workspace_response import CreateWorkspaceResponse +from huaweicloudsdksecmaster.v2.model.create_workspace_response_body import CreateWorkspaceResponseBody +from huaweicloudsdksecmaster.v2.model.create_workspace_response_body_workspace_agency_list import CreateWorkspaceResponseBodyWorkspaceAgencyList from huaweicloudsdksecmaster.v2.model.data_class_ref_pojo import DataClassRefPojo from huaweicloudsdksecmaster.v2.model.data_class_response_body import DataClassResponseBody from huaweicloudsdksecmaster.v2.model.data_object import DataObject from huaweicloudsdksecmaster.v2.model.data_object_detail import DataObjectDetail -from huaweicloudsdksecmaster.v2.model.data_response import DataResponse from huaweicloudsdksecmaster.v2.model.dataclass_info_ref import DataclassInfoRef from huaweicloudsdksecmaster.v2.model.dataobject_info import DataobjectInfo from huaweicloudsdksecmaster.v2.model.dataobject_search import DataobjectSearch @@ -138,8 +148,6 @@ from huaweicloudsdksecmaster.v2.model.key_index import KeyIndex from huaweicloudsdksecmaster.v2.model.list_alert_detail import ListAlertDetail from huaweicloudsdksecmaster.v2.model.list_alert_rsp import ListAlertRsp -from huaweicloudsdksecmaster.v2.model.list_alert_rsp_network_list import ListAlertRspNetworkList -from huaweicloudsdksecmaster.v2.model.list_alert_rsp_process import ListAlertRspProcess from huaweicloudsdksecmaster.v2.model.list_alert_rule_metrics_request import ListAlertRuleMetricsRequest from huaweicloudsdksecmaster.v2.model.list_alert_rule_metrics_response import ListAlertRuleMetricsResponse from huaweicloudsdksecmaster.v2.model.list_alert_rule_templates_request import ListAlertRuleTemplatesRequest @@ -172,6 +180,9 @@ from huaweicloudsdksecmaster.v2.model.list_playbooks_response import ListPlaybooksResponse from huaweicloudsdksecmaster.v2.model.list_workflows_request import ListWorkflowsRequest from huaweicloudsdksecmaster.v2.model.list_workflows_response import ListWorkflowsResponse +from huaweicloudsdksecmaster.v2.model.list_workspaces_request import ListWorkspacesRequest +from huaweicloudsdksecmaster.v2.model.list_workspaces_response import ListWorkspacesResponse +from huaweicloudsdksecmaster.v2.model.metric_format import MetricFormat from huaweicloudsdksecmaster.v2.model.modify_action_info import ModifyActionInfo from huaweicloudsdksecmaster.v2.model.modify_playbook_info import ModifyPlaybookInfo from huaweicloudsdksecmaster.v2.model.modify_playbook_version_info import ModifyPlaybookVersionInfo @@ -188,18 +199,15 @@ from huaweicloudsdksecmaster.v2.model.playbook_statistic_detail import PlaybookStatisticDetail from huaweicloudsdksecmaster.v2.model.playbook_version_info import PlaybookVersionInfo from huaweicloudsdksecmaster.v2.model.playbook_version_list_entity import PlaybookVersionListEntity +from huaweicloudsdksecmaster.v2.model.post_paid_param import PostPaidParam +from huaweicloudsdksecmaster.v2.model.product_post_paid import ProductPostPaid from huaweicloudsdksecmaster.v2.model.rule_info import RuleInfo from huaweicloudsdksecmaster.v2.model.schedule import Schedule -from huaweicloudsdksecmaster.v2.model.show_alert_detail_dataclass_ref import ShowAlertDetailDataclassRef +from huaweicloudsdksecmaster.v2.model.search_baseline_request import SearchBaselineRequest +from huaweicloudsdksecmaster.v2.model.search_baseline_response import SearchBaselineResponse from huaweicloudsdksecmaster.v2.model.show_alert_request import ShowAlertRequest from huaweicloudsdksecmaster.v2.model.show_alert_response import ShowAlertResponse -from huaweicloudsdksecmaster.v2.model.show_alert_rsp_datasource import ShowAlertRspDatasource -from huaweicloudsdksecmaster.v2.model.show_alert_rsp_environment import ShowAlertRspEnvironment -from huaweicloudsdksecmaster.v2.model.show_alert_rsp_file_info import ShowAlertRspFileInfo from huaweicloudsdksecmaster.v2.model.show_alert_rsp_malware import ShowAlertRspMalware -from huaweicloudsdksecmaster.v2.model.show_alert_rsp_remediation import ShowAlertRspRemediation -from huaweicloudsdksecmaster.v2.model.show_alert_rsp_resource_list import ShowAlertRspResourceList -from huaweicloudsdksecmaster.v2.model.show_alert_rsp_user_info import ShowAlertRspUserInfo from huaweicloudsdksecmaster.v2.model.show_alert_rule_request import ShowAlertRuleRequest from huaweicloudsdksecmaster.v2.model.show_alert_rule_response import ShowAlertRuleResponse from huaweicloudsdksecmaster.v2.model.show_alert_rule_template_request import ShowAlertRuleTemplateRequest @@ -208,6 +216,8 @@ from huaweicloudsdksecmaster.v2.model.show_incident_response import ShowIncidentResponse from huaweicloudsdksecmaster.v2.model.show_indicator_detail_request import ShowIndicatorDetailRequest from huaweicloudsdksecmaster.v2.model.show_indicator_detail_response import ShowIndicatorDetailResponse +from huaweicloudsdksecmaster.v2.model.show_metric_result_response_body import ShowMetricResultResponseBody +from huaweicloudsdksecmaster.v2.model.show_metric_result_response_body_result import ShowMetricResultResponseBodyResult from huaweicloudsdksecmaster.v2.model.show_playbook_instance_request import ShowPlaybookInstanceRequest from huaweicloudsdksecmaster.v2.model.show_playbook_instance_response import ShowPlaybookInstanceResponse from huaweicloudsdksecmaster.v2.model.show_playbook_monitors_request import ShowPlaybookMonitorsRequest @@ -222,6 +232,8 @@ from huaweicloudsdksecmaster.v2.model.show_playbook_topology_response import ShowPlaybookTopologyResponse from huaweicloudsdksecmaster.v2.model.show_playbook_version_request import ShowPlaybookVersionRequest from huaweicloudsdksecmaster.v2.model.show_playbook_version_response import ShowPlaybookVersionResponse +from huaweicloudsdksecmaster.v2.model.tag_info import TagInfo +from huaweicloudsdksecmaster.v2.model.tags_pojo import TagsPojo from huaweicloudsdksecmaster.v2.model.update_alert_rule_request import UpdateAlertRuleRequest from huaweicloudsdksecmaster.v2.model.update_alert_rule_request_body import UpdateAlertRuleRequestBody from huaweicloudsdksecmaster.v2.model.update_alert_rule_response import UpdateAlertRuleResponse diff --git a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/__init__.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/__init__.py index 4515f25f32..bf548e2630 100644 --- a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/__init__.py +++ b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/__init__.py @@ -26,8 +26,12 @@ from huaweicloudsdksecmaster.v2.model.approve_opinion_detail import ApproveOpinionDetail from huaweicloudsdksecmaster.v2.model.approve_playbook_info import ApprovePlaybookInfo from huaweicloudsdksecmaster.v2.model.audit_log_info import AuditLogInfo +from huaweicloudsdksecmaster.v2.model.baseline_search_request_body import BaselineSearchRequestBody from huaweicloudsdksecmaster.v2.model.batch_operate_alert_result import BatchOperateAlertResult from huaweicloudsdksecmaster.v2.model.batch_operate_dataobject_result import BatchOperateDataobjectResult +from huaweicloudsdksecmaster.v2.model.batch_search_metric_hits_request import BatchSearchMetricHitsRequest +from huaweicloudsdksecmaster.v2.model.batch_search_metric_hits_request_body import BatchSearchMetricHitsRequestBody +from huaweicloudsdksecmaster.v2.model.batch_search_metric_hits_response import BatchSearchMetricHitsResponse from huaweicloudsdksecmaster.v2.model.change_alert_request import ChangeAlertRequest from huaweicloudsdksecmaster.v2.model.change_alert_request_body import ChangeAlertRequestBody from huaweicloudsdksecmaster.v2.model.change_alert_response import ChangeAlertResponse @@ -83,12 +87,18 @@ from huaweicloudsdksecmaster.v2.model.create_playbook_version_info import CreatePlaybookVersionInfo from huaweicloudsdksecmaster.v2.model.create_playbook_version_request import CreatePlaybookVersionRequest from huaweicloudsdksecmaster.v2.model.create_playbook_version_response import CreatePlaybookVersionResponse +from huaweicloudsdksecmaster.v2.model.create_post_paid_order_request import CreatePostPaidOrderRequest +from huaweicloudsdksecmaster.v2.model.create_post_paid_order_response import CreatePostPaidOrderResponse from huaweicloudsdksecmaster.v2.model.create_rule_info import CreateRuleInfo +from huaweicloudsdksecmaster.v2.model.create_workspace_request import CreateWorkspaceRequest +from huaweicloudsdksecmaster.v2.model.create_workspace_request_body import CreateWorkspaceRequestBody +from huaweicloudsdksecmaster.v2.model.create_workspace_response import CreateWorkspaceResponse +from huaweicloudsdksecmaster.v2.model.create_workspace_response_body import CreateWorkspaceResponseBody +from huaweicloudsdksecmaster.v2.model.create_workspace_response_body_workspace_agency_list import CreateWorkspaceResponseBodyWorkspaceAgencyList from huaweicloudsdksecmaster.v2.model.data_class_ref_pojo import DataClassRefPojo from huaweicloudsdksecmaster.v2.model.data_class_response_body import DataClassResponseBody from huaweicloudsdksecmaster.v2.model.data_object import DataObject from huaweicloudsdksecmaster.v2.model.data_object_detail import DataObjectDetail -from huaweicloudsdksecmaster.v2.model.data_response import DataResponse from huaweicloudsdksecmaster.v2.model.dataclass_info_ref import DataclassInfoRef from huaweicloudsdksecmaster.v2.model.dataobject_info import DataobjectInfo from huaweicloudsdksecmaster.v2.model.dataobject_search import DataobjectSearch @@ -136,8 +146,6 @@ from huaweicloudsdksecmaster.v2.model.key_index import KeyIndex from huaweicloudsdksecmaster.v2.model.list_alert_detail import ListAlertDetail from huaweicloudsdksecmaster.v2.model.list_alert_rsp import ListAlertRsp -from huaweicloudsdksecmaster.v2.model.list_alert_rsp_network_list import ListAlertRspNetworkList -from huaweicloudsdksecmaster.v2.model.list_alert_rsp_process import ListAlertRspProcess from huaweicloudsdksecmaster.v2.model.list_alert_rule_metrics_request import ListAlertRuleMetricsRequest from huaweicloudsdksecmaster.v2.model.list_alert_rule_metrics_response import ListAlertRuleMetricsResponse from huaweicloudsdksecmaster.v2.model.list_alert_rule_templates_request import ListAlertRuleTemplatesRequest @@ -170,6 +178,9 @@ from huaweicloudsdksecmaster.v2.model.list_playbooks_response import ListPlaybooksResponse from huaweicloudsdksecmaster.v2.model.list_workflows_request import ListWorkflowsRequest from huaweicloudsdksecmaster.v2.model.list_workflows_response import ListWorkflowsResponse +from huaweicloudsdksecmaster.v2.model.list_workspaces_request import ListWorkspacesRequest +from huaweicloudsdksecmaster.v2.model.list_workspaces_response import ListWorkspacesResponse +from huaweicloudsdksecmaster.v2.model.metric_format import MetricFormat from huaweicloudsdksecmaster.v2.model.modify_action_info import ModifyActionInfo from huaweicloudsdksecmaster.v2.model.modify_playbook_info import ModifyPlaybookInfo from huaweicloudsdksecmaster.v2.model.modify_playbook_version_info import ModifyPlaybookVersionInfo @@ -186,18 +197,15 @@ from huaweicloudsdksecmaster.v2.model.playbook_statistic_detail import PlaybookStatisticDetail from huaweicloudsdksecmaster.v2.model.playbook_version_info import PlaybookVersionInfo from huaweicloudsdksecmaster.v2.model.playbook_version_list_entity import PlaybookVersionListEntity +from huaweicloudsdksecmaster.v2.model.post_paid_param import PostPaidParam +from huaweicloudsdksecmaster.v2.model.product_post_paid import ProductPostPaid from huaweicloudsdksecmaster.v2.model.rule_info import RuleInfo from huaweicloudsdksecmaster.v2.model.schedule import Schedule -from huaweicloudsdksecmaster.v2.model.show_alert_detail_dataclass_ref import ShowAlertDetailDataclassRef +from huaweicloudsdksecmaster.v2.model.search_baseline_request import SearchBaselineRequest +from huaweicloudsdksecmaster.v2.model.search_baseline_response import SearchBaselineResponse from huaweicloudsdksecmaster.v2.model.show_alert_request import ShowAlertRequest from huaweicloudsdksecmaster.v2.model.show_alert_response import ShowAlertResponse -from huaweicloudsdksecmaster.v2.model.show_alert_rsp_datasource import ShowAlertRspDatasource -from huaweicloudsdksecmaster.v2.model.show_alert_rsp_environment import ShowAlertRspEnvironment -from huaweicloudsdksecmaster.v2.model.show_alert_rsp_file_info import ShowAlertRspFileInfo from huaweicloudsdksecmaster.v2.model.show_alert_rsp_malware import ShowAlertRspMalware -from huaweicloudsdksecmaster.v2.model.show_alert_rsp_remediation import ShowAlertRspRemediation -from huaweicloudsdksecmaster.v2.model.show_alert_rsp_resource_list import ShowAlertRspResourceList -from huaweicloudsdksecmaster.v2.model.show_alert_rsp_user_info import ShowAlertRspUserInfo from huaweicloudsdksecmaster.v2.model.show_alert_rule_request import ShowAlertRuleRequest from huaweicloudsdksecmaster.v2.model.show_alert_rule_response import ShowAlertRuleResponse from huaweicloudsdksecmaster.v2.model.show_alert_rule_template_request import ShowAlertRuleTemplateRequest @@ -206,6 +214,8 @@ from huaweicloudsdksecmaster.v2.model.show_incident_response import ShowIncidentResponse from huaweicloudsdksecmaster.v2.model.show_indicator_detail_request import ShowIndicatorDetailRequest from huaweicloudsdksecmaster.v2.model.show_indicator_detail_response import ShowIndicatorDetailResponse +from huaweicloudsdksecmaster.v2.model.show_metric_result_response_body import ShowMetricResultResponseBody +from huaweicloudsdksecmaster.v2.model.show_metric_result_response_body_result import ShowMetricResultResponseBodyResult from huaweicloudsdksecmaster.v2.model.show_playbook_instance_request import ShowPlaybookInstanceRequest from huaweicloudsdksecmaster.v2.model.show_playbook_instance_response import ShowPlaybookInstanceResponse from huaweicloudsdksecmaster.v2.model.show_playbook_monitors_request import ShowPlaybookMonitorsRequest @@ -220,6 +230,8 @@ from huaweicloudsdksecmaster.v2.model.show_playbook_topology_response import ShowPlaybookTopologyResponse from huaweicloudsdksecmaster.v2.model.show_playbook_version_request import ShowPlaybookVersionRequest from huaweicloudsdksecmaster.v2.model.show_playbook_version_response import ShowPlaybookVersionResponse +from huaweicloudsdksecmaster.v2.model.tag_info import TagInfo +from huaweicloudsdksecmaster.v2.model.tags_pojo import TagsPojo from huaweicloudsdksecmaster.v2.model.update_alert_rule_request import UpdateAlertRuleRequest from huaweicloudsdksecmaster.v2.model.update_alert_rule_request_body import UpdateAlertRuleRequestBody from huaweicloudsdksecmaster.v2.model.update_alert_rule_response import UpdateAlertRuleResponse diff --git a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/alert_detail.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/alert_detail.py index 16e20bdf5c..05fb3891a4 100644 --- a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/alert_detail.py +++ b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/alert_detail.py @@ -22,6 +22,7 @@ class AlertDetail: 'dataclass_ref': 'AlertDetailDataclassRef', 'format_version': 'int', 'id': 'str', + 'type': 'str', 'project_id': 'str', 'update_time': 'str', 'version': 'int', @@ -34,13 +35,14 @@ class AlertDetail: 'dataclass_ref': 'dataclass_ref', 'format_version': 'format_version', 'id': 'id', + 'type': 'type', 'project_id': 'project_id', 'update_time': 'update_time', 'version': 'version', 'workspace_id': 'workspace_id' } - def __init__(self, create_time=None, data_object=None, dataclass_ref=None, format_version=None, id=None, project_id=None, update_time=None, version=None, workspace_id=None): + def __init__(self, create_time=None, data_object=None, dataclass_ref=None, format_version=None, id=None, type=None, project_id=None, update_time=None, version=None, workspace_id=None): """AlertDetail The model defined in huaweicloud sdk @@ -55,6 +57,8 @@ def __init__(self, create_time=None, data_object=None, dataclass_ref=None, forma :type format_version: int :param id: 事件唯一标识,UUID格式,最大36个字符 :type id: str + :param type: 数据类型 + :type type: str :param project_id: 当前项目的id :type project_id: str :param update_time: 更新时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 @@ -72,6 +76,7 @@ def __init__(self, create_time=None, data_object=None, dataclass_ref=None, forma self._dataclass_ref = None self._format_version = None self._id = None + self._type = None self._project_id = None self._update_time = None self._version = None @@ -88,6 +93,8 @@ def __init__(self, create_time=None, data_object=None, dataclass_ref=None, forma self.format_version = format_version if id is not None: self.id = id + if type is not None: + self.type = type if project_id is not None: self.project_id = project_id if update_time is not None: @@ -199,6 +206,28 @@ def id(self, id): """ self._id = id + @property + def type(self): + """Gets the type of this AlertDetail. + + 数据类型 + + :return: The type of this AlertDetail. + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this AlertDetail. + + 数据类型 + + :param type: The type of this AlertDetail. + :type type: str + """ + self._type = type + @property def project_id(self): """Gets the project_id of this AlertDetail. diff --git a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/alert_environment.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/alert_environment.py index 99e5bccff6..f2a7270f90 100644 --- a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/alert_environment.py +++ b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/alert_environment.py @@ -41,7 +41,7 @@ def __init__(self, vendor_type=None, domain_id=None, region_id=None, cross_works :type vendor_type: str :param domain_id: 租户id :type domain_id: str - :param region_id: 区域od,全局服务global + :param region_id: 区域id,全局服务global :type region_id: str :param cross_workspace_id: 数据投递前的源工作空间id,在源空间下值为null,投递后为被委托用户的id :type cross_workspace_id: str @@ -117,7 +117,7 @@ def domain_id(self, domain_id): def region_id(self): """Gets the region_id of this AlertEnvironment. - 区域od,全局服务global + 区域id,全局服务global :return: The region_id of this AlertEnvironment. :rtype: str @@ -128,7 +128,7 @@ def region_id(self): def region_id(self, region_id): """Sets the region_id of this AlertEnvironment. - 区域od,全局服务global + 区域id,全局服务global :param region_id: The region_id of this AlertEnvironment. :type region_id: str diff --git a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/baseline_search_request_body.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/baseline_search_request_body.py new file mode 100644 index 0000000000..ac50b63474 --- /dev/null +++ b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/baseline_search_request_body.py @@ -0,0 +1,289 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class BaselineSearchRequestBody: + + """ + 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 = { + 'limit': 'int', + 'offset': 'int', + 'sort_by': 'str', + 'order': 'str', + 'from_date': 'str', + 'to_date': 'str', + 'condition': 'object' + } + + attribute_map = { + 'limit': 'limit', + 'offset': 'offset', + 'sort_by': 'sort_by', + 'order': 'order', + 'from_date': 'from_date', + 'to_date': 'to_date', + 'condition': 'condition' + } + + def __init__(self, limit=None, offset=None, sort_by=None, order=None, from_date=None, to_date=None, condition=None): + """BaselineSearchRequestBody + + The model defined in huaweicloud sdk + + :param limit: 分页大小 + :type limit: int + :param offset: 偏移量,表示查询该偏移量后面的记录 + :type offset: int + :param sort_by: 排序关键字 + :type sort_by: str + :param order: 降序或升序, DESC|ESC + :type order: str + :param from_date: 起始时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 + :type from_date: str + :param to_date: 截止时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 + :type to_date: str + :param condition: 搜索条件表达式 + :type condition: object + """ + + + + self._limit = None + self._offset = None + self._sort_by = None + self._order = None + self._from_date = None + self._to_date = None + self._condition = None + self.discriminator = None + + if limit is not None: + self.limit = limit + if offset is not None: + self.offset = offset + if sort_by is not None: + self.sort_by = sort_by + if order is not None: + self.order = order + if from_date is not None: + self.from_date = from_date + if to_date is not None: + self.to_date = to_date + if condition is not None: + self.condition = condition + + @property + def limit(self): + """Gets the limit of this BaselineSearchRequestBody. + + 分页大小 + + :return: The limit of this BaselineSearchRequestBody. + :rtype: int + """ + return self._limit + + @limit.setter + def limit(self, limit): + """Sets the limit of this BaselineSearchRequestBody. + + 分页大小 + + :param limit: The limit of this BaselineSearchRequestBody. + :type limit: int + """ + self._limit = limit + + @property + def offset(self): + """Gets the offset of this BaselineSearchRequestBody. + + 偏移量,表示查询该偏移量后面的记录 + + :return: The offset of this BaselineSearchRequestBody. + :rtype: int + """ + return self._offset + + @offset.setter + def offset(self, offset): + """Sets the offset of this BaselineSearchRequestBody. + + 偏移量,表示查询该偏移量后面的记录 + + :param offset: The offset of this BaselineSearchRequestBody. + :type offset: int + """ + self._offset = offset + + @property + def sort_by(self): + """Gets the sort_by of this BaselineSearchRequestBody. + + 排序关键字 + + :return: The sort_by of this BaselineSearchRequestBody. + :rtype: str + """ + return self._sort_by + + @sort_by.setter + def sort_by(self, sort_by): + """Sets the sort_by of this BaselineSearchRequestBody. + + 排序关键字 + + :param sort_by: The sort_by of this BaselineSearchRequestBody. + :type sort_by: str + """ + self._sort_by = sort_by + + @property + def order(self): + """Gets the order of this BaselineSearchRequestBody. + + 降序或升序, DESC|ESC + + :return: The order of this BaselineSearchRequestBody. + :rtype: str + """ + return self._order + + @order.setter + def order(self, order): + """Sets the order of this BaselineSearchRequestBody. + + 降序或升序, DESC|ESC + + :param order: The order of this BaselineSearchRequestBody. + :type order: str + """ + self._order = order + + @property + def from_date(self): + """Gets the from_date of this BaselineSearchRequestBody. + + 起始时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 + + :return: The from_date of this BaselineSearchRequestBody. + :rtype: str + """ + return self._from_date + + @from_date.setter + def from_date(self, from_date): + """Sets the from_date of this BaselineSearchRequestBody. + + 起始时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 + + :param from_date: The from_date of this BaselineSearchRequestBody. + :type from_date: str + """ + self._from_date = from_date + + @property + def to_date(self): + """Gets the to_date of this BaselineSearchRequestBody. + + 截止时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 + + :return: The to_date of this BaselineSearchRequestBody. + :rtype: str + """ + return self._to_date + + @to_date.setter + def to_date(self, to_date): + """Sets the to_date of this BaselineSearchRequestBody. + + 截止时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 + + :param to_date: The to_date of this BaselineSearchRequestBody. + :type to_date: str + """ + self._to_date = to_date + + @property + def condition(self): + """Gets the condition of this BaselineSearchRequestBody. + + 搜索条件表达式 + + :return: The condition of this BaselineSearchRequestBody. + :rtype: object + """ + return self._condition + + @condition.setter + def condition(self, condition): + """Sets the condition of this BaselineSearchRequestBody. + + 搜索条件表达式 + + :param condition: The condition of this BaselineSearchRequestBody. + :type condition: object + """ + self._condition = condition + + 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, BaselineSearchRequestBody): + 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-secmaster/huaweicloudsdksecmaster/v2/model/batch_search_metric_hits_request.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/batch_search_metric_hits_request.py new file mode 100644 index 0000000000..5507115a14 --- /dev/null +++ b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/batch_search_metric_hits_request.py @@ -0,0 +1,225 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class BatchSearchMetricHitsRequest: + + """ + 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 = { + 'project_id': 'str', + 'workspace_id': 'str', + 'timespan': 'str', + 'cache': 'bool', + 'body': 'BatchSearchMetricHitsRequestBody' + } + + attribute_map = { + 'project_id': 'project_id', + 'workspace_id': 'workspace_id', + 'timespan': 'timespan', + 'cache': 'cache', + 'body': 'body' + } + + def __init__(self, project_id=None, workspace_id=None, timespan=None, cache=None, body=None): + """BatchSearchMetricHitsRequest + + The model defined in huaweicloud sdk + + :param project_id: 项目ID + :type project_id: str + :param workspace_id: 工作空间ID + :type workspace_id: str + :param timespan: 查询指标的时间范围,ISO8601格式,例如:2007-03-01T13:00:00Z/2008-05-11T15:30:00Z或2007-03-01T13:00:00Z/P1Y2M10DT2H30M或P1Y2M10DT2H30M/2008-05-11T15:30:00Z + :type timespan: str + :param cache: 是否启用缓存,默认true, 禁用缓存 false + :type cache: bool + :param body: Body of the BatchSearchMetricHitsRequest + :type body: :class:`huaweicloudsdksecmaster.v2.BatchSearchMetricHitsRequestBody` + """ + + + + self._project_id = None + self._workspace_id = None + self._timespan = None + self._cache = None + self._body = None + self.discriminator = None + + self.project_id = project_id + self.workspace_id = workspace_id + if timespan is not None: + self.timespan = timespan + if cache is not None: + self.cache = cache + if body is not None: + self.body = body + + @property + def project_id(self): + """Gets the project_id of this BatchSearchMetricHitsRequest. + + 项目ID + + :return: The project_id of this BatchSearchMetricHitsRequest. + :rtype: str + """ + return self._project_id + + @project_id.setter + def project_id(self, project_id): + """Sets the project_id of this BatchSearchMetricHitsRequest. + + 项目ID + + :param project_id: The project_id of this BatchSearchMetricHitsRequest. + :type project_id: str + """ + self._project_id = project_id + + @property + def workspace_id(self): + """Gets the workspace_id of this BatchSearchMetricHitsRequest. + + 工作空间ID + + :return: The workspace_id of this BatchSearchMetricHitsRequest. + :rtype: str + """ + return self._workspace_id + + @workspace_id.setter + def workspace_id(self, workspace_id): + """Sets the workspace_id of this BatchSearchMetricHitsRequest. + + 工作空间ID + + :param workspace_id: The workspace_id of this BatchSearchMetricHitsRequest. + :type workspace_id: str + """ + self._workspace_id = workspace_id + + @property + def timespan(self): + """Gets the timespan of this BatchSearchMetricHitsRequest. + + 查询指标的时间范围,ISO8601格式,例如:2007-03-01T13:00:00Z/2008-05-11T15:30:00Z或2007-03-01T13:00:00Z/P1Y2M10DT2H30M或P1Y2M10DT2H30M/2008-05-11T15:30:00Z + + :return: The timespan of this BatchSearchMetricHitsRequest. + :rtype: str + """ + return self._timespan + + @timespan.setter + def timespan(self, timespan): + """Sets the timespan of this BatchSearchMetricHitsRequest. + + 查询指标的时间范围,ISO8601格式,例如:2007-03-01T13:00:00Z/2008-05-11T15:30:00Z或2007-03-01T13:00:00Z/P1Y2M10DT2H30M或P1Y2M10DT2H30M/2008-05-11T15:30:00Z + + :param timespan: The timespan of this BatchSearchMetricHitsRequest. + :type timespan: str + """ + self._timespan = timespan + + @property + def cache(self): + """Gets the cache of this BatchSearchMetricHitsRequest. + + 是否启用缓存,默认true, 禁用缓存 false + + :return: The cache of this BatchSearchMetricHitsRequest. + :rtype: bool + """ + return self._cache + + @cache.setter + def cache(self, cache): + """Sets the cache of this BatchSearchMetricHitsRequest. + + 是否启用缓存,默认true, 禁用缓存 false + + :param cache: The cache of this BatchSearchMetricHitsRequest. + :type cache: bool + """ + self._cache = cache + + @property + def body(self): + """Gets the body of this BatchSearchMetricHitsRequest. + + :return: The body of this BatchSearchMetricHitsRequest. + :rtype: :class:`huaweicloudsdksecmaster.v2.BatchSearchMetricHitsRequestBody` + """ + return self._body + + @body.setter + def body(self, body): + """Sets the body of this BatchSearchMetricHitsRequest. + + :param body: The body of this BatchSearchMetricHitsRequest. + :type body: :class:`huaweicloudsdksecmaster.v2.BatchSearchMetricHitsRequestBody` + """ + 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, BatchSearchMetricHitsRequest): + 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-secmaster/huaweicloudsdksecmaster/v2/model/batch_search_metric_hits_request_body.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/batch_search_metric_hits_request_body.py new file mode 100644 index 0000000000..5750163126 --- /dev/null +++ b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/batch_search_metric_hits_request_body.py @@ -0,0 +1,230 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class BatchSearchMetricHitsRequestBody: + + """ + 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 = { + 'metric_ids': 'list[str]', + 'workspace_ids': 'list[str]', + 'params': 'list[dict(str, str)]', + 'interactive_params': 'list[dict(str, str)]', + 'field_ids': 'list[str]' + } + + attribute_map = { + 'metric_ids': 'metric_ids', + 'workspace_ids': 'workspace_ids', + 'params': 'params', + 'interactive_params': 'interactive_params', + 'field_ids': 'field_ids' + } + + def __init__(self, metric_ids=None, workspace_ids=None, params=None, interactive_params=None, field_ids=None): + """BatchSearchMetricHitsRequestBody + + The model defined in huaweicloud sdk + + :param metric_ids: 待查询的指标Id列表, 可参照附录中指标信息说明获取已有指标信息。 + :type metric_ids: list[str] + :param workspace_ids: 工作空间列表, 当指标支持获取多工作空间数据时填写。 + :type workspace_ids: list[str] + :param params: 待查询指标的参数列表,列表内每个元素为<String, String>的K-V形式,元素数量必须与metric_ids列表相同,具体填写方式请参照附录。 + :type params: list[dict(str, str)] + :param interactive_params: 交互式参数查询,当指标支持交互式参数时,填写<String, String>的K-V形式的参数列表,具体填写方式请参照附录。 + :type interactive_params: list[dict(str, str)] + :param field_ids: 指标卡片ID列表 + :type field_ids: list[str] + """ + + + + self._metric_ids = None + self._workspace_ids = None + self._params = None + self._interactive_params = None + self._field_ids = None + self.discriminator = None + + self.metric_ids = metric_ids + if workspace_ids is not None: + self.workspace_ids = workspace_ids + if params is not None: + self.params = params + if interactive_params is not None: + self.interactive_params = interactive_params + if field_ids is not None: + self.field_ids = field_ids + + @property + def metric_ids(self): + """Gets the metric_ids of this BatchSearchMetricHitsRequestBody. + + 待查询的指标Id列表, 可参照附录中指标信息说明获取已有指标信息。 + + :return: The metric_ids of this BatchSearchMetricHitsRequestBody. + :rtype: list[str] + """ + return self._metric_ids + + @metric_ids.setter + def metric_ids(self, metric_ids): + """Sets the metric_ids of this BatchSearchMetricHitsRequestBody. + + 待查询的指标Id列表, 可参照附录中指标信息说明获取已有指标信息。 + + :param metric_ids: The metric_ids of this BatchSearchMetricHitsRequestBody. + :type metric_ids: list[str] + """ + self._metric_ids = metric_ids + + @property + def workspace_ids(self): + """Gets the workspace_ids of this BatchSearchMetricHitsRequestBody. + + 工作空间列表, 当指标支持获取多工作空间数据时填写。 + + :return: The workspace_ids of this BatchSearchMetricHitsRequestBody. + :rtype: list[str] + """ + return self._workspace_ids + + @workspace_ids.setter + def workspace_ids(self, workspace_ids): + """Sets the workspace_ids of this BatchSearchMetricHitsRequestBody. + + 工作空间列表, 当指标支持获取多工作空间数据时填写。 + + :param workspace_ids: The workspace_ids of this BatchSearchMetricHitsRequestBody. + :type workspace_ids: list[str] + """ + self._workspace_ids = workspace_ids + + @property + def params(self): + """Gets the params of this BatchSearchMetricHitsRequestBody. + + 待查询指标的参数列表,列表内每个元素为的K-V形式,元素数量必须与metric_ids列表相同,具体填写方式请参照附录。 + + :return: The params of this BatchSearchMetricHitsRequestBody. + :rtype: list[dict(str, str)] + """ + return self._params + + @params.setter + def params(self, params): + """Sets the params of this BatchSearchMetricHitsRequestBody. + + 待查询指标的参数列表,列表内每个元素为的K-V形式,元素数量必须与metric_ids列表相同,具体填写方式请参照附录。 + + :param params: The params of this BatchSearchMetricHitsRequestBody. + :type params: list[dict(str, str)] + """ + self._params = params + + @property + def interactive_params(self): + """Gets the interactive_params of this BatchSearchMetricHitsRequestBody. + + 交互式参数查询,当指标支持交互式参数时,填写的K-V形式的参数列表,具体填写方式请参照附录。 + + :return: The interactive_params of this BatchSearchMetricHitsRequestBody. + :rtype: list[dict(str, str)] + """ + return self._interactive_params + + @interactive_params.setter + def interactive_params(self, interactive_params): + """Sets the interactive_params of this BatchSearchMetricHitsRequestBody. + + 交互式参数查询,当指标支持交互式参数时,填写的K-V形式的参数列表,具体填写方式请参照附录。 + + :param interactive_params: The interactive_params of this BatchSearchMetricHitsRequestBody. + :type interactive_params: list[dict(str, str)] + """ + self._interactive_params = interactive_params + + @property + def field_ids(self): + """Gets the field_ids of this BatchSearchMetricHitsRequestBody. + + 指标卡片ID列表 + + :return: The field_ids of this BatchSearchMetricHitsRequestBody. + :rtype: list[str] + """ + return self._field_ids + + @field_ids.setter + def field_ids(self, field_ids): + """Sets the field_ids of this BatchSearchMetricHitsRequestBody. + + 指标卡片ID列表 + + :param field_ids: The field_ids of this BatchSearchMetricHitsRequestBody. + :type field_ids: list[str] + """ + self._field_ids = field_ids + + 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, BatchSearchMetricHitsRequestBody): + 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-secmaster/huaweicloudsdksecmaster/v2/model/batch_search_metric_hits_response.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/batch_search_metric_hits_response.py new file mode 100644 index 0000000000..90b155d80e --- /dev/null +++ b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/batch_search_metric_hits_response.py @@ -0,0 +1,112 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_response import SdkResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class BatchSearchMetricHitsResponse(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 = { + 'body': 'list[ShowMetricResultResponseBody]' + } + + attribute_map = { + 'body': 'body' + } + + def __init__(self, body=None): + """BatchSearchMetricHitsResponse + + The model defined in huaweicloud sdk + + :param body: + :type body: list[:class:`huaweicloudsdksecmaster.v2.ShowMetricResultResponseBody`] + """ + + super(BatchSearchMetricHitsResponse, self).__init__() + + self._body = None + self.discriminator = None + + if body is not None: + self.body = body + + @property + def body(self): + """Gets the body of this BatchSearchMetricHitsResponse. + + :return: The body of this BatchSearchMetricHitsResponse. + :rtype: list[:class:`huaweicloudsdksecmaster.v2.ShowMetricResultResponseBody`] + """ + return self._body + + @body.setter + def body(self, body): + """Sets the body of this BatchSearchMetricHitsResponse. + + :param body: The body of this BatchSearchMetricHitsResponse. + :type body: list[:class:`huaweicloudsdksecmaster.v2.ShowMetricResultResponseBody`] + """ + 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, BatchSearchMetricHitsResponse): + 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-secmaster/huaweicloudsdksecmaster/v2/model/create_alert_rule_request_body.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/create_alert_rule_request_body.py index 1af8413d35..de359fbc68 100644 --- a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/create_alert_rule_request_body.py +++ b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/create_alert_rule_request_body.py @@ -30,7 +30,12 @@ class CreateAlertRuleRequestBody: 'suspression': 'bool', 'simulation': 'bool', 'schedule': 'Schedule', - 'triggers': 'list[AlertRuleTrigger]' + 'triggers': 'list[AlertRuleTrigger]', + 'pipe_name': 'str', + 'alert_name': 'str', + 'alert_description': 'str', + 'alert_remediation': 'str', + 'accumulated_times': 'int' } attribute_map = { @@ -47,10 +52,15 @@ class CreateAlertRuleRequestBody: 'suspression': 'suspression', 'simulation': 'simulation', 'schedule': 'schedule', - 'triggers': 'triggers' + 'triggers': 'triggers', + 'pipe_name': 'pipe_name', + 'alert_name': 'alert_name', + 'alert_description': 'alert_description', + 'alert_remediation': 'alert_remediation', + 'accumulated_times': 'accumulated_times' } - def __init__(self, pipe_id=None, rule_name=None, description=None, query=None, query_type=None, status=None, severity=None, custom_properties=None, alert_type=None, event_grouping=None, suspression=None, simulation=None, schedule=None, triggers=None): + def __init__(self, pipe_id=None, rule_name=None, description=None, query=None, query_type=None, status=None, severity=None, custom_properties=None, alert_type=None, event_grouping=None, suspression=None, simulation=None, schedule=None, triggers=None, pipe_name=None, alert_name=None, alert_description=None, alert_remediation=None, accumulated_times=None): """CreateAlertRuleRequestBody The model defined in huaweicloud sdk @@ -83,6 +93,16 @@ def __init__(self, pipe_id=None, rule_name=None, description=None, query=None, q :type schedule: :class:`huaweicloudsdksecmaster.v2.Schedule` :param triggers: 告警触发规则。Alert triggers. :type triggers: list[:class:`huaweicloudsdksecmaster.v2.AlertRuleTrigger`] + :param pipe_name: 管道名称 + :type pipe_name: str + :param alert_name: 告警名称 + :type alert_name: str + :param alert_description: 告警描述 + :type alert_description: str + :param alert_remediation: 修复建议 + :type alert_remediation: str + :param accumulated_times: 执行次数 + :type accumulated_times: int """ @@ -101,6 +121,11 @@ def __init__(self, pipe_id=None, rule_name=None, description=None, query=None, q self._simulation = None self._schedule = None self._triggers = None + self._pipe_name = None + self._alert_name = None + self._alert_description = None + self._alert_remediation = None + self._accumulated_times = None self.discriminator = None self.pipe_id = pipe_id @@ -126,6 +151,14 @@ def __init__(self, pipe_id=None, rule_name=None, description=None, query=None, q self.simulation = simulation self.schedule = schedule self.triggers = triggers + self.pipe_name = pipe_name + self.alert_name = alert_name + if alert_description is not None: + self.alert_description = alert_description + if alert_remediation is not None: + self.alert_remediation = alert_remediation + if accumulated_times is not None: + self.accumulated_times = accumulated_times @property def pipe_id(self): @@ -431,6 +464,116 @@ def triggers(self, triggers): """ self._triggers = triggers + @property + def pipe_name(self): + """Gets the pipe_name of this CreateAlertRuleRequestBody. + + 管道名称 + + :return: The pipe_name of this CreateAlertRuleRequestBody. + :rtype: str + """ + return self._pipe_name + + @pipe_name.setter + def pipe_name(self, pipe_name): + """Sets the pipe_name of this CreateAlertRuleRequestBody. + + 管道名称 + + :param pipe_name: The pipe_name of this CreateAlertRuleRequestBody. + :type pipe_name: str + """ + self._pipe_name = pipe_name + + @property + def alert_name(self): + """Gets the alert_name of this CreateAlertRuleRequestBody. + + 告警名称 + + :return: The alert_name of this CreateAlertRuleRequestBody. + :rtype: str + """ + return self._alert_name + + @alert_name.setter + def alert_name(self, alert_name): + """Sets the alert_name of this CreateAlertRuleRequestBody. + + 告警名称 + + :param alert_name: The alert_name of this CreateAlertRuleRequestBody. + :type alert_name: str + """ + self._alert_name = alert_name + + @property + def alert_description(self): + """Gets the alert_description of this CreateAlertRuleRequestBody. + + 告警描述 + + :return: The alert_description of this CreateAlertRuleRequestBody. + :rtype: str + """ + return self._alert_description + + @alert_description.setter + def alert_description(self, alert_description): + """Sets the alert_description of this CreateAlertRuleRequestBody. + + 告警描述 + + :param alert_description: The alert_description of this CreateAlertRuleRequestBody. + :type alert_description: str + """ + self._alert_description = alert_description + + @property + def alert_remediation(self): + """Gets the alert_remediation of this CreateAlertRuleRequestBody. + + 修复建议 + + :return: The alert_remediation of this CreateAlertRuleRequestBody. + :rtype: str + """ + return self._alert_remediation + + @alert_remediation.setter + def alert_remediation(self, alert_remediation): + """Sets the alert_remediation of this CreateAlertRuleRequestBody. + + 修复建议 + + :param alert_remediation: The alert_remediation of this CreateAlertRuleRequestBody. + :type alert_remediation: str + """ + self._alert_remediation = alert_remediation + + @property + def accumulated_times(self): + """Gets the accumulated_times of this CreateAlertRuleRequestBody. + + 执行次数 + + :return: The accumulated_times of this CreateAlertRuleRequestBody. + :rtype: int + """ + return self._accumulated_times + + @accumulated_times.setter + def accumulated_times(self, accumulated_times): + """Sets the accumulated_times of this CreateAlertRuleRequestBody. + + 执行次数 + + :param accumulated_times: The accumulated_times of this CreateAlertRuleRequestBody. + :type accumulated_times: int + """ + self._accumulated_times = accumulated_times + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/create_dataobject_relations_response.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/create_dataobject_relations_response.py index a96fee027c..cfcf519343 100644 --- a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/create_dataobject_relations_response.py +++ b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/create_dataobject_relations_response.py @@ -21,11 +21,11 @@ class CreateDataobjectRelationsResponse(SdkResponse): 'code': 'str', 'message': 'str', 'request_id': 'str', - 'success': 'bool', 'total': 'int', 'limit': 'int', 'offset': 'int', - 'data': 'DataResponse', + 'success': 'bool', + 'data': 'BatchOperateDataobjectResult', 'x_request_id': 'str' } @@ -33,35 +33,35 @@ class CreateDataobjectRelationsResponse(SdkResponse): 'code': 'code', 'message': 'message', 'request_id': 'request_id', - 'success': 'success', 'total': 'total', 'limit': 'limit', 'offset': 'offset', + 'success': 'success', 'data': 'data', 'x_request_id': 'X-request-id' } - def __init__(self, code=None, message=None, request_id=None, success=None, total=None, limit=None, offset=None, data=None, x_request_id=None): + def __init__(self, code=None, message=None, request_id=None, total=None, limit=None, offset=None, success=None, data=None, x_request_id=None): """CreateDataobjectRelationsResponse The model defined in huaweicloud sdk - :param code: Id value + :param code: 错误码 :type code: str - :param message: Error message + :param message: 错误信息 :type message: str - :param request_id: Error message + :param request_id: 请求ID :type request_id: str - :param success: Error message - :type success: bool - :param total: tatal count + :param total: 总数 :type total: int - :param limit: current page count + :param limit: 分页大小 :type limit: int - :param offset: current page size + :param offset: 偏移量 :type offset: int + :param success: 是否成功 + :type success: bool :param data: - :type data: :class:`huaweicloudsdksecmaster.v2.DataResponse` + :type data: :class:`huaweicloudsdksecmaster.v2.BatchOperateDataobjectResult` :param x_request_id: :type x_request_id: str """ @@ -71,10 +71,10 @@ def __init__(self, code=None, message=None, request_id=None, success=None, total self._code = None self._message = None self._request_id = None - self._success = None self._total = None self._limit = None self._offset = None + self._success = None self._data = None self._x_request_id = None self.discriminator = None @@ -85,14 +85,14 @@ def __init__(self, code=None, message=None, request_id=None, success=None, total self.message = message if request_id is not None: self.request_id = request_id - if success is not None: - self.success = success if total is not None: self.total = total if limit is not None: self.limit = limit if offset is not None: self.offset = offset + if success is not None: + self.success = success if data is not None: self.data = data if x_request_id is not None: @@ -102,7 +102,7 @@ def __init__(self, code=None, message=None, request_id=None, success=None, total def code(self): """Gets the code of this CreateDataobjectRelationsResponse. - Id value + 错误码 :return: The code of this CreateDataobjectRelationsResponse. :rtype: str @@ -113,7 +113,7 @@ def code(self): def code(self, code): """Sets the code of this CreateDataobjectRelationsResponse. - Id value + 错误码 :param code: The code of this CreateDataobjectRelationsResponse. :type code: str @@ -124,7 +124,7 @@ def code(self, code): def message(self): """Gets the message of this CreateDataobjectRelationsResponse. - Error message + 错误信息 :return: The message of this CreateDataobjectRelationsResponse. :rtype: str @@ -135,7 +135,7 @@ def message(self): def message(self, message): """Sets the message of this CreateDataobjectRelationsResponse. - Error message + 错误信息 :param message: The message of this CreateDataobjectRelationsResponse. :type message: str @@ -146,7 +146,7 @@ def message(self, message): def request_id(self): """Gets the request_id of this CreateDataobjectRelationsResponse. - Error message + 请求ID :return: The request_id of this CreateDataobjectRelationsResponse. :rtype: str @@ -157,40 +157,18 @@ def request_id(self): def request_id(self, request_id): """Sets the request_id of this CreateDataobjectRelationsResponse. - Error message + 请求ID :param request_id: The request_id of this CreateDataobjectRelationsResponse. :type request_id: str """ self._request_id = request_id - @property - def success(self): - """Gets the success of this CreateDataobjectRelationsResponse. - - Error message - - :return: The success of this CreateDataobjectRelationsResponse. - :rtype: bool - """ - return self._success - - @success.setter - def success(self, success): - """Sets the success of this CreateDataobjectRelationsResponse. - - Error message - - :param success: The success of this CreateDataobjectRelationsResponse. - :type success: bool - """ - self._success = success - @property def total(self): """Gets the total of this CreateDataobjectRelationsResponse. - tatal count + 总数 :return: The total of this CreateDataobjectRelationsResponse. :rtype: int @@ -201,7 +179,7 @@ def total(self): def total(self, total): """Sets the total of this CreateDataobjectRelationsResponse. - tatal count + 总数 :param total: The total of this CreateDataobjectRelationsResponse. :type total: int @@ -212,7 +190,7 @@ def total(self, total): def limit(self): """Gets the limit of this CreateDataobjectRelationsResponse. - current page count + 分页大小 :return: The limit of this CreateDataobjectRelationsResponse. :rtype: int @@ -223,7 +201,7 @@ def limit(self): def limit(self, limit): """Sets the limit of this CreateDataobjectRelationsResponse. - current page count + 分页大小 :param limit: The limit of this CreateDataobjectRelationsResponse. :type limit: int @@ -234,7 +212,7 @@ def limit(self, limit): def offset(self): """Gets the offset of this CreateDataobjectRelationsResponse. - current page size + 偏移量 :return: The offset of this CreateDataobjectRelationsResponse. :rtype: int @@ -245,19 +223,41 @@ def offset(self): def offset(self, offset): """Sets the offset of this CreateDataobjectRelationsResponse. - current page size + 偏移量 :param offset: The offset of this CreateDataobjectRelationsResponse. :type offset: int """ self._offset = offset + @property + def success(self): + """Gets the success of this CreateDataobjectRelationsResponse. + + 是否成功 + + :return: The success of this CreateDataobjectRelationsResponse. + :rtype: bool + """ + return self._success + + @success.setter + def success(self, success): + """Sets the success of this CreateDataobjectRelationsResponse. + + 是否成功 + + :param success: The success of this CreateDataobjectRelationsResponse. + :type success: bool + """ + self._success = success + @property def data(self): """Gets the data of this CreateDataobjectRelationsResponse. :return: The data of this CreateDataobjectRelationsResponse. - :rtype: :class:`huaweicloudsdksecmaster.v2.DataResponse` + :rtype: :class:`huaweicloudsdksecmaster.v2.BatchOperateDataobjectResult` """ return self._data @@ -266,7 +266,7 @@ def data(self, data): """Sets the data of this CreateDataobjectRelationsResponse. :param data: The data of this CreateDataobjectRelationsResponse. - :type data: :class:`huaweicloudsdksecmaster.v2.DataResponse` + :type data: :class:`huaweicloudsdksecmaster.v2.BatchOperateDataobjectResult` """ self._data = data diff --git a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/create_indicator_detail.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/create_indicator_detail.py index 2bd3e85d21..d23cd69f0d 100644 --- a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/create_indicator_detail.py +++ b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/create_indicator_detail.py @@ -32,10 +32,8 @@ class CreateIndicatorDetail: 'indicator_type': 'CreateIndicatorDetailIndicatorType', 'name': 'str', 'dataclass_id': 'str', - 'data_object': 'IndicatorDataObjectDetail', 'workspace_id': 'str', 'project_id': 'str', - 'layout_id': 'str', 'dataclass': 'DataClassRefPojo', 'create_time': 'str', 'update_time': 'str' @@ -57,16 +55,14 @@ class CreateIndicatorDetail: 'indicator_type': 'indicator_type', 'name': 'name', 'dataclass_id': 'dataclass_id', - 'data_object': 'data_object', 'workspace_id': 'workspace_id', 'project_id': 'project_id', - 'layout_id': 'layout_id', 'dataclass': 'dataclass', 'create_time': 'create_time', 'update_time': 'update_time' } - def __init__(self, data_source=None, verdict=None, confidence=None, status=None, labels=None, value=None, granular_marking=None, environment=None, defanged=None, first_report_time=None, last_report_time=None, id=None, indicator_type=None, name=None, dataclass_id=None, data_object=None, workspace_id=None, project_id=None, layout_id=None, dataclass=None, create_time=None, update_time=None): + def __init__(self, data_source=None, verdict=None, confidence=None, status=None, labels=None, value=None, granular_marking=None, environment=None, defanged=None, first_report_time=None, last_report_time=None, id=None, indicator_type=None, name=None, dataclass_id=None, workspace_id=None, project_id=None, dataclass=None, create_time=None, update_time=None): """CreateIndicatorDetail The model defined in huaweicloud sdk @@ -93,22 +89,18 @@ def __init__(self, data_source=None, verdict=None, confidence=None, status=None, :type first_report_time: str :param last_report_time: 最近发生时间 :type last_report_time: str - :param id: 指标ID + :param id: 威胁情报ID :type id: str :param indicator_type: :type indicator_type: :class:`huaweicloudsdksecmaster.v2.CreateIndicatorDetailIndicatorType` - :param name: 指标名称 + :param name: 威胁情报名称 :type name: str :param dataclass_id: 数据类ID :type dataclass_id: str - :param data_object: - :type data_object: :class:`huaweicloudsdksecmaster.v2.IndicatorDataObjectDetail` :param workspace_id: workspace id :type workspace_id: str :param project_id: Project id value :type project_id: str - :param layout_id: 布局ID - :type layout_id: str :param dataclass: :type dataclass: :class:`huaweicloudsdksecmaster.v2.DataClassRefPojo` :param create_time: Create time @@ -134,10 +126,8 @@ def __init__(self, data_source=None, verdict=None, confidence=None, status=None, self._indicator_type = None self._name = None self._dataclass_id = None - self._data_object = None self._workspace_id = None self._project_id = None - self._layout_id = None self._dataclass = None self._create_time = None self._update_time = None @@ -164,13 +154,9 @@ def __init__(self, data_source=None, verdict=None, confidence=None, status=None, self.name = name if dataclass_id is not None: self.dataclass_id = dataclass_id - if data_object is not None: - self.data_object = data_object self.workspace_id = workspace_id if project_id is not None: self.project_id = project_id - if layout_id is not None: - self.layout_id = layout_id if dataclass is not None: self.dataclass = dataclass if create_time is not None: @@ -416,7 +402,7 @@ def last_report_time(self, last_report_time): def id(self): """Gets the id of this CreateIndicatorDetail. - 指标ID + 威胁情报ID :return: The id of this CreateIndicatorDetail. :rtype: str @@ -427,7 +413,7 @@ def id(self): def id(self, id): """Sets the id of this CreateIndicatorDetail. - 指标ID + 威胁情报ID :param id: The id of this CreateIndicatorDetail. :type id: str @@ -456,7 +442,7 @@ def indicator_type(self, indicator_type): def name(self): """Gets the name of this CreateIndicatorDetail. - 指标名称 + 威胁情报名称 :return: The name of this CreateIndicatorDetail. :rtype: str @@ -467,7 +453,7 @@ def name(self): def name(self, name): """Sets the name of this CreateIndicatorDetail. - 指标名称 + 威胁情报名称 :param name: The name of this CreateIndicatorDetail. :type name: str @@ -496,24 +482,6 @@ def dataclass_id(self, dataclass_id): """ self._dataclass_id = dataclass_id - @property - def data_object(self): - """Gets the data_object of this CreateIndicatorDetail. - - :return: The data_object of this CreateIndicatorDetail. - :rtype: :class:`huaweicloudsdksecmaster.v2.IndicatorDataObjectDetail` - """ - return self._data_object - - @data_object.setter - def data_object(self, data_object): - """Sets the data_object of this CreateIndicatorDetail. - - :param data_object: The data_object of this CreateIndicatorDetail. - :type data_object: :class:`huaweicloudsdksecmaster.v2.IndicatorDataObjectDetail` - """ - self._data_object = data_object - @property def workspace_id(self): """Gets the workspace_id of this CreateIndicatorDetail. @@ -558,28 +526,6 @@ def project_id(self, project_id): """ self._project_id = project_id - @property - def layout_id(self): - """Gets the layout_id of this CreateIndicatorDetail. - - 布局ID - - :return: The layout_id of this CreateIndicatorDetail. - :rtype: str - """ - return self._layout_id - - @layout_id.setter - def layout_id(self, layout_id): - """Sets the layout_id of this CreateIndicatorDetail. - - 布局ID - - :param layout_id: The layout_id of this CreateIndicatorDetail. - :type layout_id: str - """ - self._layout_id = layout_id - @property def dataclass(self): """Gets the dataclass of this CreateIndicatorDetail. diff --git a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/create_indicator_detail_indicator_type.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/create_indicator_detail_indicator_type.py index fa5ab8fc2a..7b64a8728a 100644 --- a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/create_indicator_detail_indicator_type.py +++ b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/create_indicator_detail_indicator_type.py @@ -18,51 +18,39 @@ class CreateIndicatorDetailIndicatorType: openapi_types = { 'indicator_type': 'str', - 'id': 'str', - 'category': 'str', - 'layout_id': 'str' + 'id': 'str' } attribute_map = { 'indicator_type': 'indicator_type', - 'id': 'id', - 'category': 'category', - 'layout_id': 'layout_id' + 'id': 'id' } - def __init__(self, indicator_type=None, id=None, category=None, layout_id=None): + def __init__(self, indicator_type=None, id=None): """CreateIndicatorDetailIndicatorType The model defined in huaweicloud sdk - :param indicator_type: 指标类型 + :param indicator_type: 威胁情报类型 :type indicator_type: str :param id: 情报类型ID :type id: str - :param category: 目录 - :type category: str - :param layout_id: 布局ID - :type layout_id: str """ self._indicator_type = None self._id = None - self._category = None - self._layout_id = None self.discriminator = None self.indicator_type = indicator_type self.id = id - self.category = category - self.layout_id = layout_id @property def indicator_type(self): """Gets the indicator_type of this CreateIndicatorDetailIndicatorType. - 指标类型 + 威胁情报类型 :return: The indicator_type of this CreateIndicatorDetailIndicatorType. :rtype: str @@ -73,7 +61,7 @@ def indicator_type(self): def indicator_type(self, indicator_type): """Sets the indicator_type of this CreateIndicatorDetailIndicatorType. - 指标类型 + 威胁情报类型 :param indicator_type: The indicator_type of this CreateIndicatorDetailIndicatorType. :type indicator_type: str @@ -102,50 +90,6 @@ def id(self, id): """ self._id = id - @property - def category(self): - """Gets the category of this CreateIndicatorDetailIndicatorType. - - 目录 - - :return: The category of this CreateIndicatorDetailIndicatorType. - :rtype: str - """ - return self._category - - @category.setter - def category(self, category): - """Sets the category of this CreateIndicatorDetailIndicatorType. - - 目录 - - :param category: The category of this CreateIndicatorDetailIndicatorType. - :type category: str - """ - self._category = category - - @property - def layout_id(self): - """Gets the layout_id of this CreateIndicatorDetailIndicatorType. - - 布局ID - - :return: The layout_id of this CreateIndicatorDetailIndicatorType. - :rtype: str - """ - return self._layout_id - - @layout_id.setter - def layout_id(self, layout_id): - """Sets the layout_id of this CreateIndicatorDetailIndicatorType. - - 布局ID - - :param layout_id: The layout_id of this CreateIndicatorDetailIndicatorType. - :type layout_id: str - """ - self._layout_id = layout_id - def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/create_playbook_info.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/create_playbook_info.py index c76f773c9d..d05c08c77a 100644 --- a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/create_playbook_info.py +++ b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/create_playbook_info.py @@ -19,18 +19,16 @@ class CreatePlaybookInfo: openapi_types = { 'name': 'str', 'description': 'str', - 'workspace_id': 'str', - 'enabled': 'bool' + 'workspace_id': 'str' } attribute_map = { 'name': 'name', 'description': 'description', - 'workspace_id': 'workspace_id', - 'enabled': 'enabled' + 'workspace_id': 'workspace_id' } - def __init__(self, name=None, description=None, workspace_id=None, enabled=None): + def __init__(self, name=None, description=None, workspace_id=None): """CreatePlaybookInfo The model defined in huaweicloud sdk @@ -41,8 +39,6 @@ def __init__(self, name=None, description=None, workspace_id=None, enabled=None) :type description: str :param workspace_id: 工作空间ID :type workspace_id: str - :param enabled: 是否启用,默认传false - :type enabled: bool """ @@ -50,15 +46,12 @@ def __init__(self, name=None, description=None, workspace_id=None, enabled=None) self._name = None self._description = None self._workspace_id = None - self._enabled = None self.discriminator = None self.name = name if description is not None: self.description = description self.workspace_id = workspace_id - if enabled is not None: - self.enabled = enabled @property def name(self): @@ -126,28 +119,6 @@ def workspace_id(self, workspace_id): """ self._workspace_id = workspace_id - @property - def enabled(self): - """Gets the enabled of this CreatePlaybookInfo. - - 是否启用,默认传false - - :return: The enabled of this CreatePlaybookInfo. - :rtype: bool - """ - return self._enabled - - @enabled.setter - def enabled(self, enabled): - """Sets the enabled of this CreatePlaybookInfo. - - 是否启用,默认传false - - :param enabled: The enabled of this CreatePlaybookInfo. - :type enabled: bool - """ - self._enabled = enabled - def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/create_post_paid_order_request.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/create_post_paid_order_request.py new file mode 100644 index 0000000000..c8a1eea9bb --- /dev/null +++ b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/create_post_paid_order_request.py @@ -0,0 +1,167 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class CreatePostPaidOrderRequest: + + """ + 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', + 'project_id': 'str', + 'body': 'PostPaidParam' + } + + attribute_map = { + 'x_language': 'X-Language', + 'project_id': 'project_id', + 'body': 'body' + } + + def __init__(self, x_language=None, project_id=None, body=None): + """CreatePostPaidOrderRequest + + The model defined in huaweicloud sdk + + :param x_language: 用户当前语言环境 + :type x_language: str + :param project_id: 租户项目ID + :type project_id: str + :param body: Body of the CreatePostPaidOrderRequest + :type body: :class:`huaweicloudsdksecmaster.v2.PostPaidParam` + """ + + + + self._x_language = None + self._project_id = None + self._body = None + self.discriminator = None + + self.x_language = x_language + self.project_id = project_id + if body is not None: + self.body = body + + @property + def x_language(self): + """Gets the x_language of this CreatePostPaidOrderRequest. + + 用户当前语言环境 + + :return: The x_language of this CreatePostPaidOrderRequest. + :rtype: str + """ + return self._x_language + + @x_language.setter + def x_language(self, x_language): + """Sets the x_language of this CreatePostPaidOrderRequest. + + 用户当前语言环境 + + :param x_language: The x_language of this CreatePostPaidOrderRequest. + :type x_language: str + """ + self._x_language = x_language + + @property + def project_id(self): + """Gets the project_id of this CreatePostPaidOrderRequest. + + 租户项目ID + + :return: The project_id of this CreatePostPaidOrderRequest. + :rtype: str + """ + return self._project_id + + @project_id.setter + def project_id(self, project_id): + """Sets the project_id of this CreatePostPaidOrderRequest. + + 租户项目ID + + :param project_id: The project_id of this CreatePostPaidOrderRequest. + :type project_id: str + """ + self._project_id = project_id + + @property + def body(self): + """Gets the body of this CreatePostPaidOrderRequest. + + :return: The body of this CreatePostPaidOrderRequest. + :rtype: :class:`huaweicloudsdksecmaster.v2.PostPaidParam` + """ + return self._body + + @body.setter + def body(self, body): + """Sets the body of this CreatePostPaidOrderRequest. + + :param body: The body of this CreatePostPaidOrderRequest. + :type body: :class:`huaweicloudsdksecmaster.v2.PostPaidParam` + """ + 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, CreatePostPaidOrderRequest): + 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-secmaster/huaweicloudsdksecmaster/v2/model/create_post_paid_order_response.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/create_post_paid_order_response.py new file mode 100644 index 0000000000..0c944268d4 --- /dev/null +++ b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/create_post_paid_order_response.py @@ -0,0 +1,85 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_response import SdkResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class CreatePostPaidOrderResponse(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): + """CreatePostPaidOrderResponse + + The model defined in huaweicloud sdk + + """ + + super(CreatePostPaidOrderResponse, 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, CreatePostPaidOrderResponse): + 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-secmaster/huaweicloudsdksecmaster/v2/model/create_workspace_request.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/create_workspace_request.py new file mode 100644 index 0000000000..e8df8275bd --- /dev/null +++ b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/create_workspace_request.py @@ -0,0 +1,139 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class CreateWorkspaceRequest: + + """ + 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 = { + 'project_id': 'str', + 'body': 'CreateWorkspaceRequestBody' + } + + attribute_map = { + 'project_id': 'project_id', + 'body': 'body' + } + + def __init__(self, project_id=None, body=None): + """CreateWorkspaceRequest + + The model defined in huaweicloud sdk + + :param project_id: 项目id + :type project_id: str + :param body: Body of the CreateWorkspaceRequest + :type body: :class:`huaweicloudsdksecmaster.v2.CreateWorkspaceRequestBody` + """ + + + + self._project_id = None + self._body = None + self.discriminator = None + + self.project_id = project_id + if body is not None: + self.body = body + + @property + def project_id(self): + """Gets the project_id of this CreateWorkspaceRequest. + + 项目id + + :return: The project_id of this CreateWorkspaceRequest. + :rtype: str + """ + return self._project_id + + @project_id.setter + def project_id(self, project_id): + """Sets the project_id of this CreateWorkspaceRequest. + + 项目id + + :param project_id: The project_id of this CreateWorkspaceRequest. + :type project_id: str + """ + self._project_id = project_id + + @property + def body(self): + """Gets the body of this CreateWorkspaceRequest. + + :return: The body of this CreateWorkspaceRequest. + :rtype: :class:`huaweicloudsdksecmaster.v2.CreateWorkspaceRequestBody` + """ + return self._body + + @body.setter + def body(self, body): + """Sets the body of this CreateWorkspaceRequest. + + :param body: The body of this CreateWorkspaceRequest. + :type body: :class:`huaweicloudsdksecmaster.v2.CreateWorkspaceRequestBody` + """ + 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, CreateWorkspaceRequest): + 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-secmaster/huaweicloudsdksecmaster/v2/model/create_workspace_request_body.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/create_workspace_request_body.py new file mode 100644 index 0000000000..8458a97d3c --- /dev/null +++ b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/create_workspace_request_body.py @@ -0,0 +1,344 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class CreateWorkspaceRequestBody: + + """ + 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 = { + 'region_id': 'str', + 'enterprise_project_id': 'str', + 'enterprise_project_name': 'str', + 'view_bind_id': 'str', + 'is_view': 'bool', + 'name': 'str', + 'description': 'str', + 'project_name': 'str', + 'tags': 'list[TagsPojo]' + } + + attribute_map = { + 'region_id': 'region_id', + 'enterprise_project_id': 'enterprise_project_id', + 'enterprise_project_name': 'enterprise_project_name', + 'view_bind_id': 'view_bind_id', + 'is_view': 'is_view', + 'name': 'name', + 'description': 'description', + 'project_name': 'project_name', + 'tags': 'tags' + } + + def __init__(self, region_id=None, enterprise_project_id=None, enterprise_project_name=None, view_bind_id=None, is_view=None, name=None, description=None, project_name=None, tags=None): + """CreateWorkspaceRequestBody + + The model defined in huaweicloud sdk + + :param region_id: 区域id + :type region_id: str + :param enterprise_project_id: 企业项目id + :type enterprise_project_id: str + :param enterprise_project_name: 企业项目名称 + :type enterprise_project_name: str + :param view_bind_id: 视图绑定的空间id + :type view_bind_id: str + :param is_view: 是否是视图 + :type is_view: bool + :param name: 工作空间名称 + :type name: str + :param description: 工作空间描述 + :type description: str + :param project_name: 项目名称 + :type project_name: str + :param tags: 通过给账号下的资源添加标签,可以对资源进行自定义标记,实现资源的分类。可到标签管理服务使用可视化表格操作资源标签,并对标签进行批量编辑。 + :type tags: list[:class:`huaweicloudsdksecmaster.v2.TagsPojo`] + """ + + + + self._region_id = None + self._enterprise_project_id = None + self._enterprise_project_name = None + self._view_bind_id = None + self._is_view = None + self._name = None + self._description = None + self._project_name = None + self._tags = None + self.discriminator = None + + self.region_id = region_id + if enterprise_project_id is not None: + self.enterprise_project_id = enterprise_project_id + if enterprise_project_name is not None: + self.enterprise_project_name = enterprise_project_name + if view_bind_id is not None: + self.view_bind_id = view_bind_id + if is_view is not None: + self.is_view = is_view + self.name = name + if description is not None: + self.description = description + self.project_name = project_name + if tags is not None: + self.tags = tags + + @property + def region_id(self): + """Gets the region_id of this CreateWorkspaceRequestBody. + + 区域id + + :return: The region_id of this CreateWorkspaceRequestBody. + :rtype: str + """ + return self._region_id + + @region_id.setter + def region_id(self, region_id): + """Sets the region_id of this CreateWorkspaceRequestBody. + + 区域id + + :param region_id: The region_id of this CreateWorkspaceRequestBody. + :type region_id: str + """ + self._region_id = region_id + + @property + def enterprise_project_id(self): + """Gets the enterprise_project_id of this CreateWorkspaceRequestBody. + + 企业项目id + + :return: The enterprise_project_id of this CreateWorkspaceRequestBody. + :rtype: str + """ + return self._enterprise_project_id + + @enterprise_project_id.setter + def enterprise_project_id(self, enterprise_project_id): + """Sets the enterprise_project_id of this CreateWorkspaceRequestBody. + + 企业项目id + + :param enterprise_project_id: The enterprise_project_id of this CreateWorkspaceRequestBody. + :type enterprise_project_id: str + """ + self._enterprise_project_id = enterprise_project_id + + @property + def enterprise_project_name(self): + """Gets the enterprise_project_name of this CreateWorkspaceRequestBody. + + 企业项目名称 + + :return: The enterprise_project_name of this CreateWorkspaceRequestBody. + :rtype: str + """ + return self._enterprise_project_name + + @enterprise_project_name.setter + def enterprise_project_name(self, enterprise_project_name): + """Sets the enterprise_project_name of this CreateWorkspaceRequestBody. + + 企业项目名称 + + :param enterprise_project_name: The enterprise_project_name of this CreateWorkspaceRequestBody. + :type enterprise_project_name: str + """ + self._enterprise_project_name = enterprise_project_name + + @property + def view_bind_id(self): + """Gets the view_bind_id of this CreateWorkspaceRequestBody. + + 视图绑定的空间id + + :return: The view_bind_id of this CreateWorkspaceRequestBody. + :rtype: str + """ + return self._view_bind_id + + @view_bind_id.setter + def view_bind_id(self, view_bind_id): + """Sets the view_bind_id of this CreateWorkspaceRequestBody. + + 视图绑定的空间id + + :param view_bind_id: The view_bind_id of this CreateWorkspaceRequestBody. + :type view_bind_id: str + """ + self._view_bind_id = view_bind_id + + @property + def is_view(self): + """Gets the is_view of this CreateWorkspaceRequestBody. + + 是否是视图 + + :return: The is_view of this CreateWorkspaceRequestBody. + :rtype: bool + """ + return self._is_view + + @is_view.setter + def is_view(self, is_view): + """Sets the is_view of this CreateWorkspaceRequestBody. + + 是否是视图 + + :param is_view: The is_view of this CreateWorkspaceRequestBody. + :type is_view: bool + """ + self._is_view = is_view + + @property + def name(self): + """Gets the name of this CreateWorkspaceRequestBody. + + 工作空间名称 + + :return: The name of this CreateWorkspaceRequestBody. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this CreateWorkspaceRequestBody. + + 工作空间名称 + + :param name: The name of this CreateWorkspaceRequestBody. + :type name: str + """ + self._name = name + + @property + def description(self): + """Gets the description of this CreateWorkspaceRequestBody. + + 工作空间描述 + + :return: The description of this CreateWorkspaceRequestBody. + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this CreateWorkspaceRequestBody. + + 工作空间描述 + + :param description: The description of this CreateWorkspaceRequestBody. + :type description: str + """ + self._description = description + + @property + def project_name(self): + """Gets the project_name of this CreateWorkspaceRequestBody. + + 项目名称 + + :return: The project_name of this CreateWorkspaceRequestBody. + :rtype: str + """ + return self._project_name + + @project_name.setter + def project_name(self, project_name): + """Sets the project_name of this CreateWorkspaceRequestBody. + + 项目名称 + + :param project_name: The project_name of this CreateWorkspaceRequestBody. + :type project_name: str + """ + self._project_name = project_name + + @property + def tags(self): + """Gets the tags of this CreateWorkspaceRequestBody. + + 通过给账号下的资源添加标签,可以对资源进行自定义标记,实现资源的分类。可到标签管理服务使用可视化表格操作资源标签,并对标签进行批量编辑。 + + :return: The tags of this CreateWorkspaceRequestBody. + :rtype: list[:class:`huaweicloudsdksecmaster.v2.TagsPojo`] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this CreateWorkspaceRequestBody. + + 通过给账号下的资源添加标签,可以对资源进行自定义标记,实现资源的分类。可到标签管理服务使用可视化表格操作资源标签,并对标签进行批量编辑。 + + :param tags: The tags of this CreateWorkspaceRequestBody. + :type tags: list[:class:`huaweicloudsdksecmaster.v2.TagsPojo`] + """ + 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, CreateWorkspaceRequestBody): + 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-secmaster/huaweicloudsdksecmaster/v2/model/create_workspace_response.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/create_workspace_response.py new file mode 100644 index 0000000000..362d757c41 --- /dev/null +++ b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/create_workspace_response.py @@ -0,0 +1,667 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_response import SdkResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class CreateWorkspaceResponse(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 = { + 'id': 'str', + 'create_time': 'str', + 'update_time': 'str', + 'name': 'str', + 'description': 'str', + 'creator_id': 'str', + 'creator_name': 'str', + 'modifier_id': 'str', + 'modifier_name': 'str', + 'project_id': 'str', + 'project_name': 'str', + 'domain_id': 'str', + 'domain_name': 'str', + 'enterprise_project_id': 'str', + 'enterprise_project_name': 'str', + 'is_view': 'bool', + 'region_id': 'str', + 'view_bind_id': 'str', + 'view_bind_name': 'str', + 'workspace_agency_list': 'list[CreateWorkspaceResponseBodyWorkspaceAgencyList]' + } + + attribute_map = { + 'id': 'id', + 'create_time': 'create_time', + 'update_time': 'update_time', + 'name': 'name', + 'description': 'description', + 'creator_id': 'creator_id', + 'creator_name': 'creator_name', + 'modifier_id': 'modifier_id', + 'modifier_name': 'modifier_name', + 'project_id': 'project_id', + 'project_name': 'project_name', + 'domain_id': 'domain_id', + 'domain_name': 'domain_name', + 'enterprise_project_id': 'enterprise_project_id', + 'enterprise_project_name': 'enterprise_project_name', + 'is_view': 'is_view', + 'region_id': 'region_id', + 'view_bind_id': 'view_bind_id', + 'view_bind_name': 'view_bind_name', + 'workspace_agency_list': 'workspace_agency_list' + } + + def __init__(self, id=None, create_time=None, update_time=None, name=None, description=None, creator_id=None, creator_name=None, modifier_id=None, modifier_name=None, project_id=None, project_name=None, domain_id=None, domain_name=None, enterprise_project_id=None, enterprise_project_name=None, is_view=None, region_id=None, view_bind_id=None, view_bind_name=None, workspace_agency_list=None): + """CreateWorkspaceResponse + + The model defined in huaweicloud sdk + + :param id: 工作空间id + :type id: str + :param create_time: 创建时间 + :type create_time: str + :param update_time: 更新时间 + :type update_time: str + :param name: 工作空间名称 + :type name: str + :param description: 工作空间描述 + :type description: str + :param creator_id: 创建人id + :type creator_id: str + :param creator_name: 创建人名称 + :type creator_name: str + :param modifier_id: 修改人id + :type modifier_id: str + :param modifier_name: 修改人名称 + :type modifier_name: str + :param project_id: 所属项目id + :type project_id: str + :param project_name: 所属项目名称 + :type project_name: str + :param domain_id: 所属租户id + :type domain_id: str + :param domain_name: 所属租户名称 + :type domain_name: str + :param enterprise_project_id: 企业项目id + :type enterprise_project_id: str + :param enterprise_project_name: 企业项目名称 + :type enterprise_project_name: str + :param is_view: 是否是视图 + :type is_view: bool + :param region_id: 区域id + :type region_id: str + :param view_bind_id: 视图绑定的空间id + :type view_bind_id: str + :param view_bind_name: 视图绑定的空间名称 + :type view_bind_name: str + :param workspace_agency_list: 仅用于视图场景,列出了该视图纳管的空间列表 + :type workspace_agency_list: list[:class:`huaweicloudsdksecmaster.v2.CreateWorkspaceResponseBodyWorkspaceAgencyList`] + """ + + super(CreateWorkspaceResponse, self).__init__() + + self._id = None + self._create_time = None + self._update_time = None + self._name = None + self._description = None + self._creator_id = None + self._creator_name = None + self._modifier_id = None + self._modifier_name = None + self._project_id = None + self._project_name = None + self._domain_id = None + self._domain_name = None + self._enterprise_project_id = None + self._enterprise_project_name = None + self._is_view = None + self._region_id = None + self._view_bind_id = None + self._view_bind_name = None + self._workspace_agency_list = None + self.discriminator = None + + if id is not None: + self.id = id + if create_time is not None: + self.create_time = create_time + if update_time is not None: + self.update_time = update_time + if name is not None: + self.name = name + if description is not None: + self.description = description + if creator_id is not None: + self.creator_id = creator_id + if creator_name is not None: + self.creator_name = creator_name + if modifier_id is not None: + self.modifier_id = modifier_id + if modifier_name is not None: + self.modifier_name = modifier_name + if project_id is not None: + self.project_id = project_id + if project_name is not None: + self.project_name = project_name + if domain_id is not None: + self.domain_id = domain_id + if domain_name is not None: + self.domain_name = domain_name + if enterprise_project_id is not None: + self.enterprise_project_id = enterprise_project_id + if enterprise_project_name is not None: + self.enterprise_project_name = enterprise_project_name + if is_view is not None: + self.is_view = is_view + if region_id is not None: + self.region_id = region_id + if view_bind_id is not None: + self.view_bind_id = view_bind_id + if view_bind_name is not None: + self.view_bind_name = view_bind_name + if workspace_agency_list is not None: + self.workspace_agency_list = workspace_agency_list + + @property + def id(self): + """Gets the id of this CreateWorkspaceResponse. + + 工作空间id + + :return: The id of this CreateWorkspaceResponse. + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this CreateWorkspaceResponse. + + 工作空间id + + :param id: The id of this CreateWorkspaceResponse. + :type id: str + """ + self._id = id + + @property + def create_time(self): + """Gets the create_time of this CreateWorkspaceResponse. + + 创建时间 + + :return: The create_time of this CreateWorkspaceResponse. + :rtype: str + """ + return self._create_time + + @create_time.setter + def create_time(self, create_time): + """Sets the create_time of this CreateWorkspaceResponse. + + 创建时间 + + :param create_time: The create_time of this CreateWorkspaceResponse. + :type create_time: str + """ + self._create_time = create_time + + @property + def update_time(self): + """Gets the update_time of this CreateWorkspaceResponse. + + 更新时间 + + :return: The update_time of this CreateWorkspaceResponse. + :rtype: str + """ + return self._update_time + + @update_time.setter + def update_time(self, update_time): + """Sets the update_time of this CreateWorkspaceResponse. + + 更新时间 + + :param update_time: The update_time of this CreateWorkspaceResponse. + :type update_time: str + """ + self._update_time = update_time + + @property + def name(self): + """Gets the name of this CreateWorkspaceResponse. + + 工作空间名称 + + :return: The name of this CreateWorkspaceResponse. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this CreateWorkspaceResponse. + + 工作空间名称 + + :param name: The name of this CreateWorkspaceResponse. + :type name: str + """ + self._name = name + + @property + def description(self): + """Gets the description of this CreateWorkspaceResponse. + + 工作空间描述 + + :return: The description of this CreateWorkspaceResponse. + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this CreateWorkspaceResponse. + + 工作空间描述 + + :param description: The description of this CreateWorkspaceResponse. + :type description: str + """ + self._description = description + + @property + def creator_id(self): + """Gets the creator_id of this CreateWorkspaceResponse. + + 创建人id + + :return: The creator_id of this CreateWorkspaceResponse. + :rtype: str + """ + return self._creator_id + + @creator_id.setter + def creator_id(self, creator_id): + """Sets the creator_id of this CreateWorkspaceResponse. + + 创建人id + + :param creator_id: The creator_id of this CreateWorkspaceResponse. + :type creator_id: str + """ + self._creator_id = creator_id + + @property + def creator_name(self): + """Gets the creator_name of this CreateWorkspaceResponse. + + 创建人名称 + + :return: The creator_name of this CreateWorkspaceResponse. + :rtype: str + """ + return self._creator_name + + @creator_name.setter + def creator_name(self, creator_name): + """Sets the creator_name of this CreateWorkspaceResponse. + + 创建人名称 + + :param creator_name: The creator_name of this CreateWorkspaceResponse. + :type creator_name: str + """ + self._creator_name = creator_name + + @property + def modifier_id(self): + """Gets the modifier_id of this CreateWorkspaceResponse. + + 修改人id + + :return: The modifier_id of this CreateWorkspaceResponse. + :rtype: str + """ + return self._modifier_id + + @modifier_id.setter + def modifier_id(self, modifier_id): + """Sets the modifier_id of this CreateWorkspaceResponse. + + 修改人id + + :param modifier_id: The modifier_id of this CreateWorkspaceResponse. + :type modifier_id: str + """ + self._modifier_id = modifier_id + + @property + def modifier_name(self): + """Gets the modifier_name of this CreateWorkspaceResponse. + + 修改人名称 + + :return: The modifier_name of this CreateWorkspaceResponse. + :rtype: str + """ + return self._modifier_name + + @modifier_name.setter + def modifier_name(self, modifier_name): + """Sets the modifier_name of this CreateWorkspaceResponse. + + 修改人名称 + + :param modifier_name: The modifier_name of this CreateWorkspaceResponse. + :type modifier_name: str + """ + self._modifier_name = modifier_name + + @property + def project_id(self): + """Gets the project_id of this CreateWorkspaceResponse. + + 所属项目id + + :return: The project_id of this CreateWorkspaceResponse. + :rtype: str + """ + return self._project_id + + @project_id.setter + def project_id(self, project_id): + """Sets the project_id of this CreateWorkspaceResponse. + + 所属项目id + + :param project_id: The project_id of this CreateWorkspaceResponse. + :type project_id: str + """ + self._project_id = project_id + + @property + def project_name(self): + """Gets the project_name of this CreateWorkspaceResponse. + + 所属项目名称 + + :return: The project_name of this CreateWorkspaceResponse. + :rtype: str + """ + return self._project_name + + @project_name.setter + def project_name(self, project_name): + """Sets the project_name of this CreateWorkspaceResponse. + + 所属项目名称 + + :param project_name: The project_name of this CreateWorkspaceResponse. + :type project_name: str + """ + self._project_name = project_name + + @property + def domain_id(self): + """Gets the domain_id of this CreateWorkspaceResponse. + + 所属租户id + + :return: The domain_id of this CreateWorkspaceResponse. + :rtype: str + """ + return self._domain_id + + @domain_id.setter + def domain_id(self, domain_id): + """Sets the domain_id of this CreateWorkspaceResponse. + + 所属租户id + + :param domain_id: The domain_id of this CreateWorkspaceResponse. + :type domain_id: str + """ + self._domain_id = domain_id + + @property + def domain_name(self): + """Gets the domain_name of this CreateWorkspaceResponse. + + 所属租户名称 + + :return: The domain_name of this CreateWorkspaceResponse. + :rtype: str + """ + return self._domain_name + + @domain_name.setter + def domain_name(self, domain_name): + """Sets the domain_name of this CreateWorkspaceResponse. + + 所属租户名称 + + :param domain_name: The domain_name of this CreateWorkspaceResponse. + :type domain_name: str + """ + self._domain_name = domain_name + + @property + def enterprise_project_id(self): + """Gets the enterprise_project_id of this CreateWorkspaceResponse. + + 企业项目id + + :return: The enterprise_project_id of this CreateWorkspaceResponse. + :rtype: str + """ + return self._enterprise_project_id + + @enterprise_project_id.setter + def enterprise_project_id(self, enterprise_project_id): + """Sets the enterprise_project_id of this CreateWorkspaceResponse. + + 企业项目id + + :param enterprise_project_id: The enterprise_project_id of this CreateWorkspaceResponse. + :type enterprise_project_id: str + """ + self._enterprise_project_id = enterprise_project_id + + @property + def enterprise_project_name(self): + """Gets the enterprise_project_name of this CreateWorkspaceResponse. + + 企业项目名称 + + :return: The enterprise_project_name of this CreateWorkspaceResponse. + :rtype: str + """ + return self._enterprise_project_name + + @enterprise_project_name.setter + def enterprise_project_name(self, enterprise_project_name): + """Sets the enterprise_project_name of this CreateWorkspaceResponse. + + 企业项目名称 + + :param enterprise_project_name: The enterprise_project_name of this CreateWorkspaceResponse. + :type enterprise_project_name: str + """ + self._enterprise_project_name = enterprise_project_name + + @property + def is_view(self): + """Gets the is_view of this CreateWorkspaceResponse. + + 是否是视图 + + :return: The is_view of this CreateWorkspaceResponse. + :rtype: bool + """ + return self._is_view + + @is_view.setter + def is_view(self, is_view): + """Sets the is_view of this CreateWorkspaceResponse. + + 是否是视图 + + :param is_view: The is_view of this CreateWorkspaceResponse. + :type is_view: bool + """ + self._is_view = is_view + + @property + def region_id(self): + """Gets the region_id of this CreateWorkspaceResponse. + + 区域id + + :return: The region_id of this CreateWorkspaceResponse. + :rtype: str + """ + return self._region_id + + @region_id.setter + def region_id(self, region_id): + """Sets the region_id of this CreateWorkspaceResponse. + + 区域id + + :param region_id: The region_id of this CreateWorkspaceResponse. + :type region_id: str + """ + self._region_id = region_id + + @property + def view_bind_id(self): + """Gets the view_bind_id of this CreateWorkspaceResponse. + + 视图绑定的空间id + + :return: The view_bind_id of this CreateWorkspaceResponse. + :rtype: str + """ + return self._view_bind_id + + @view_bind_id.setter + def view_bind_id(self, view_bind_id): + """Sets the view_bind_id of this CreateWorkspaceResponse. + + 视图绑定的空间id + + :param view_bind_id: The view_bind_id of this CreateWorkspaceResponse. + :type view_bind_id: str + """ + self._view_bind_id = view_bind_id + + @property + def view_bind_name(self): + """Gets the view_bind_name of this CreateWorkspaceResponse. + + 视图绑定的空间名称 + + :return: The view_bind_name of this CreateWorkspaceResponse. + :rtype: str + """ + return self._view_bind_name + + @view_bind_name.setter + def view_bind_name(self, view_bind_name): + """Sets the view_bind_name of this CreateWorkspaceResponse. + + 视图绑定的空间名称 + + :param view_bind_name: The view_bind_name of this CreateWorkspaceResponse. + :type view_bind_name: str + """ + self._view_bind_name = view_bind_name + + @property + def workspace_agency_list(self): + """Gets the workspace_agency_list of this CreateWorkspaceResponse. + + 仅用于视图场景,列出了该视图纳管的空间列表 + + :return: The workspace_agency_list of this CreateWorkspaceResponse. + :rtype: list[:class:`huaweicloudsdksecmaster.v2.CreateWorkspaceResponseBodyWorkspaceAgencyList`] + """ + return self._workspace_agency_list + + @workspace_agency_list.setter + def workspace_agency_list(self, workspace_agency_list): + """Sets the workspace_agency_list of this CreateWorkspaceResponse. + + 仅用于视图场景,列出了该视图纳管的空间列表 + + :param workspace_agency_list: The workspace_agency_list of this CreateWorkspaceResponse. + :type workspace_agency_list: list[:class:`huaweicloudsdksecmaster.v2.CreateWorkspaceResponseBodyWorkspaceAgencyList`] + """ + self._workspace_agency_list = workspace_agency_list + + 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, CreateWorkspaceResponse): + 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-secmaster/huaweicloudsdksecmaster/v2/model/create_workspace_response_body.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/create_workspace_response_body.py new file mode 100644 index 0000000000..2f8fd27b6c --- /dev/null +++ b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/create_workspace_response_body.py @@ -0,0 +1,666 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class CreateWorkspaceResponseBody: + + """ + 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', + 'create_time': 'str', + 'update_time': 'str', + 'name': 'str', + 'description': 'str', + 'creator_id': 'str', + 'creator_name': 'str', + 'modifier_id': 'str', + 'modifier_name': 'str', + 'project_id': 'str', + 'project_name': 'str', + 'domain_id': 'str', + 'domain_name': 'str', + 'enterprise_project_id': 'str', + 'enterprise_project_name': 'str', + 'is_view': 'bool', + 'region_id': 'str', + 'view_bind_id': 'str', + 'view_bind_name': 'str', + 'workspace_agency_list': 'list[CreateWorkspaceResponseBodyWorkspaceAgencyList]' + } + + attribute_map = { + 'id': 'id', + 'create_time': 'create_time', + 'update_time': 'update_time', + 'name': 'name', + 'description': 'description', + 'creator_id': 'creator_id', + 'creator_name': 'creator_name', + 'modifier_id': 'modifier_id', + 'modifier_name': 'modifier_name', + 'project_id': 'project_id', + 'project_name': 'project_name', + 'domain_id': 'domain_id', + 'domain_name': 'domain_name', + 'enterprise_project_id': 'enterprise_project_id', + 'enterprise_project_name': 'enterprise_project_name', + 'is_view': 'is_view', + 'region_id': 'region_id', + 'view_bind_id': 'view_bind_id', + 'view_bind_name': 'view_bind_name', + 'workspace_agency_list': 'workspace_agency_list' + } + + def __init__(self, id=None, create_time=None, update_time=None, name=None, description=None, creator_id=None, creator_name=None, modifier_id=None, modifier_name=None, project_id=None, project_name=None, domain_id=None, domain_name=None, enterprise_project_id=None, enterprise_project_name=None, is_view=None, region_id=None, view_bind_id=None, view_bind_name=None, workspace_agency_list=None): + """CreateWorkspaceResponseBody + + The model defined in huaweicloud sdk + + :param id: 工作空间id + :type id: str + :param create_time: 创建时间 + :type create_time: str + :param update_time: 更新时间 + :type update_time: str + :param name: 工作空间名称 + :type name: str + :param description: 工作空间描述 + :type description: str + :param creator_id: 创建人id + :type creator_id: str + :param creator_name: 创建人名称 + :type creator_name: str + :param modifier_id: 修改人id + :type modifier_id: str + :param modifier_name: 修改人名称 + :type modifier_name: str + :param project_id: 所属项目id + :type project_id: str + :param project_name: 所属项目名称 + :type project_name: str + :param domain_id: 所属租户id + :type domain_id: str + :param domain_name: 所属租户名称 + :type domain_name: str + :param enterprise_project_id: 企业项目id + :type enterprise_project_id: str + :param enterprise_project_name: 企业项目名称 + :type enterprise_project_name: str + :param is_view: 是否是视图 + :type is_view: bool + :param region_id: 区域id + :type region_id: str + :param view_bind_id: 视图绑定的空间id + :type view_bind_id: str + :param view_bind_name: 视图绑定的空间名称 + :type view_bind_name: str + :param workspace_agency_list: 仅用于视图场景,列出了该视图纳管的空间列表 + :type workspace_agency_list: list[:class:`huaweicloudsdksecmaster.v2.CreateWorkspaceResponseBodyWorkspaceAgencyList`] + """ + + + + self._id = None + self._create_time = None + self._update_time = None + self._name = None + self._description = None + self._creator_id = None + self._creator_name = None + self._modifier_id = None + self._modifier_name = None + self._project_id = None + self._project_name = None + self._domain_id = None + self._domain_name = None + self._enterprise_project_id = None + self._enterprise_project_name = None + self._is_view = None + self._region_id = None + self._view_bind_id = None + self._view_bind_name = None + self._workspace_agency_list = None + self.discriminator = None + + if id is not None: + self.id = id + if create_time is not None: + self.create_time = create_time + if update_time is not None: + self.update_time = update_time + if name is not None: + self.name = name + if description is not None: + self.description = description + if creator_id is not None: + self.creator_id = creator_id + if creator_name is not None: + self.creator_name = creator_name + if modifier_id is not None: + self.modifier_id = modifier_id + if modifier_name is not None: + self.modifier_name = modifier_name + if project_id is not None: + self.project_id = project_id + if project_name is not None: + self.project_name = project_name + if domain_id is not None: + self.domain_id = domain_id + if domain_name is not None: + self.domain_name = domain_name + if enterprise_project_id is not None: + self.enterprise_project_id = enterprise_project_id + if enterprise_project_name is not None: + self.enterprise_project_name = enterprise_project_name + if is_view is not None: + self.is_view = is_view + if region_id is not None: + self.region_id = region_id + if view_bind_id is not None: + self.view_bind_id = view_bind_id + if view_bind_name is not None: + self.view_bind_name = view_bind_name + if workspace_agency_list is not None: + self.workspace_agency_list = workspace_agency_list + + @property + def id(self): + """Gets the id of this CreateWorkspaceResponseBody. + + 工作空间id + + :return: The id of this CreateWorkspaceResponseBody. + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this CreateWorkspaceResponseBody. + + 工作空间id + + :param id: The id of this CreateWorkspaceResponseBody. + :type id: str + """ + self._id = id + + @property + def create_time(self): + """Gets the create_time of this CreateWorkspaceResponseBody. + + 创建时间 + + :return: The create_time of this CreateWorkspaceResponseBody. + :rtype: str + """ + return self._create_time + + @create_time.setter + def create_time(self, create_time): + """Sets the create_time of this CreateWorkspaceResponseBody. + + 创建时间 + + :param create_time: The create_time of this CreateWorkspaceResponseBody. + :type create_time: str + """ + self._create_time = create_time + + @property + def update_time(self): + """Gets the update_time of this CreateWorkspaceResponseBody. + + 更新时间 + + :return: The update_time of this CreateWorkspaceResponseBody. + :rtype: str + """ + return self._update_time + + @update_time.setter + def update_time(self, update_time): + """Sets the update_time of this CreateWorkspaceResponseBody. + + 更新时间 + + :param update_time: The update_time of this CreateWorkspaceResponseBody. + :type update_time: str + """ + self._update_time = update_time + + @property + def name(self): + """Gets the name of this CreateWorkspaceResponseBody. + + 工作空间名称 + + :return: The name of this CreateWorkspaceResponseBody. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this CreateWorkspaceResponseBody. + + 工作空间名称 + + :param name: The name of this CreateWorkspaceResponseBody. + :type name: str + """ + self._name = name + + @property + def description(self): + """Gets the description of this CreateWorkspaceResponseBody. + + 工作空间描述 + + :return: The description of this CreateWorkspaceResponseBody. + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this CreateWorkspaceResponseBody. + + 工作空间描述 + + :param description: The description of this CreateWorkspaceResponseBody. + :type description: str + """ + self._description = description + + @property + def creator_id(self): + """Gets the creator_id of this CreateWorkspaceResponseBody. + + 创建人id + + :return: The creator_id of this CreateWorkspaceResponseBody. + :rtype: str + """ + return self._creator_id + + @creator_id.setter + def creator_id(self, creator_id): + """Sets the creator_id of this CreateWorkspaceResponseBody. + + 创建人id + + :param creator_id: The creator_id of this CreateWorkspaceResponseBody. + :type creator_id: str + """ + self._creator_id = creator_id + + @property + def creator_name(self): + """Gets the creator_name of this CreateWorkspaceResponseBody. + + 创建人名称 + + :return: The creator_name of this CreateWorkspaceResponseBody. + :rtype: str + """ + return self._creator_name + + @creator_name.setter + def creator_name(self, creator_name): + """Sets the creator_name of this CreateWorkspaceResponseBody. + + 创建人名称 + + :param creator_name: The creator_name of this CreateWorkspaceResponseBody. + :type creator_name: str + """ + self._creator_name = creator_name + + @property + def modifier_id(self): + """Gets the modifier_id of this CreateWorkspaceResponseBody. + + 修改人id + + :return: The modifier_id of this CreateWorkspaceResponseBody. + :rtype: str + """ + return self._modifier_id + + @modifier_id.setter + def modifier_id(self, modifier_id): + """Sets the modifier_id of this CreateWorkspaceResponseBody. + + 修改人id + + :param modifier_id: The modifier_id of this CreateWorkspaceResponseBody. + :type modifier_id: str + """ + self._modifier_id = modifier_id + + @property + def modifier_name(self): + """Gets the modifier_name of this CreateWorkspaceResponseBody. + + 修改人名称 + + :return: The modifier_name of this CreateWorkspaceResponseBody. + :rtype: str + """ + return self._modifier_name + + @modifier_name.setter + def modifier_name(self, modifier_name): + """Sets the modifier_name of this CreateWorkspaceResponseBody. + + 修改人名称 + + :param modifier_name: The modifier_name of this CreateWorkspaceResponseBody. + :type modifier_name: str + """ + self._modifier_name = modifier_name + + @property + def project_id(self): + """Gets the project_id of this CreateWorkspaceResponseBody. + + 所属项目id + + :return: The project_id of this CreateWorkspaceResponseBody. + :rtype: str + """ + return self._project_id + + @project_id.setter + def project_id(self, project_id): + """Sets the project_id of this CreateWorkspaceResponseBody. + + 所属项目id + + :param project_id: The project_id of this CreateWorkspaceResponseBody. + :type project_id: str + """ + self._project_id = project_id + + @property + def project_name(self): + """Gets the project_name of this CreateWorkspaceResponseBody. + + 所属项目名称 + + :return: The project_name of this CreateWorkspaceResponseBody. + :rtype: str + """ + return self._project_name + + @project_name.setter + def project_name(self, project_name): + """Sets the project_name of this CreateWorkspaceResponseBody. + + 所属项目名称 + + :param project_name: The project_name of this CreateWorkspaceResponseBody. + :type project_name: str + """ + self._project_name = project_name + + @property + def domain_id(self): + """Gets the domain_id of this CreateWorkspaceResponseBody. + + 所属租户id + + :return: The domain_id of this CreateWorkspaceResponseBody. + :rtype: str + """ + return self._domain_id + + @domain_id.setter + def domain_id(self, domain_id): + """Sets the domain_id of this CreateWorkspaceResponseBody. + + 所属租户id + + :param domain_id: The domain_id of this CreateWorkspaceResponseBody. + :type domain_id: str + """ + self._domain_id = domain_id + + @property + def domain_name(self): + """Gets the domain_name of this CreateWorkspaceResponseBody. + + 所属租户名称 + + :return: The domain_name of this CreateWorkspaceResponseBody. + :rtype: str + """ + return self._domain_name + + @domain_name.setter + def domain_name(self, domain_name): + """Sets the domain_name of this CreateWorkspaceResponseBody. + + 所属租户名称 + + :param domain_name: The domain_name of this CreateWorkspaceResponseBody. + :type domain_name: str + """ + self._domain_name = domain_name + + @property + def enterprise_project_id(self): + """Gets the enterprise_project_id of this CreateWorkspaceResponseBody. + + 企业项目id + + :return: The enterprise_project_id of this CreateWorkspaceResponseBody. + :rtype: str + """ + return self._enterprise_project_id + + @enterprise_project_id.setter + def enterprise_project_id(self, enterprise_project_id): + """Sets the enterprise_project_id of this CreateWorkspaceResponseBody. + + 企业项目id + + :param enterprise_project_id: The enterprise_project_id of this CreateWorkspaceResponseBody. + :type enterprise_project_id: str + """ + self._enterprise_project_id = enterprise_project_id + + @property + def enterprise_project_name(self): + """Gets the enterprise_project_name of this CreateWorkspaceResponseBody. + + 企业项目名称 + + :return: The enterprise_project_name of this CreateWorkspaceResponseBody. + :rtype: str + """ + return self._enterprise_project_name + + @enterprise_project_name.setter + def enterprise_project_name(self, enterprise_project_name): + """Sets the enterprise_project_name of this CreateWorkspaceResponseBody. + + 企业项目名称 + + :param enterprise_project_name: The enterprise_project_name of this CreateWorkspaceResponseBody. + :type enterprise_project_name: str + """ + self._enterprise_project_name = enterprise_project_name + + @property + def is_view(self): + """Gets the is_view of this CreateWorkspaceResponseBody. + + 是否是视图 + + :return: The is_view of this CreateWorkspaceResponseBody. + :rtype: bool + """ + return self._is_view + + @is_view.setter + def is_view(self, is_view): + """Sets the is_view of this CreateWorkspaceResponseBody. + + 是否是视图 + + :param is_view: The is_view of this CreateWorkspaceResponseBody. + :type is_view: bool + """ + self._is_view = is_view + + @property + def region_id(self): + """Gets the region_id of this CreateWorkspaceResponseBody. + + 区域id + + :return: The region_id of this CreateWorkspaceResponseBody. + :rtype: str + """ + return self._region_id + + @region_id.setter + def region_id(self, region_id): + """Sets the region_id of this CreateWorkspaceResponseBody. + + 区域id + + :param region_id: The region_id of this CreateWorkspaceResponseBody. + :type region_id: str + """ + self._region_id = region_id + + @property + def view_bind_id(self): + """Gets the view_bind_id of this CreateWorkspaceResponseBody. + + 视图绑定的空间id + + :return: The view_bind_id of this CreateWorkspaceResponseBody. + :rtype: str + """ + return self._view_bind_id + + @view_bind_id.setter + def view_bind_id(self, view_bind_id): + """Sets the view_bind_id of this CreateWorkspaceResponseBody. + + 视图绑定的空间id + + :param view_bind_id: The view_bind_id of this CreateWorkspaceResponseBody. + :type view_bind_id: str + """ + self._view_bind_id = view_bind_id + + @property + def view_bind_name(self): + """Gets the view_bind_name of this CreateWorkspaceResponseBody. + + 视图绑定的空间名称 + + :return: The view_bind_name of this CreateWorkspaceResponseBody. + :rtype: str + """ + return self._view_bind_name + + @view_bind_name.setter + def view_bind_name(self, view_bind_name): + """Sets the view_bind_name of this CreateWorkspaceResponseBody. + + 视图绑定的空间名称 + + :param view_bind_name: The view_bind_name of this CreateWorkspaceResponseBody. + :type view_bind_name: str + """ + self._view_bind_name = view_bind_name + + @property + def workspace_agency_list(self): + """Gets the workspace_agency_list of this CreateWorkspaceResponseBody. + + 仅用于视图场景,列出了该视图纳管的空间列表 + + :return: The workspace_agency_list of this CreateWorkspaceResponseBody. + :rtype: list[:class:`huaweicloudsdksecmaster.v2.CreateWorkspaceResponseBodyWorkspaceAgencyList`] + """ + return self._workspace_agency_list + + @workspace_agency_list.setter + def workspace_agency_list(self, workspace_agency_list): + """Sets the workspace_agency_list of this CreateWorkspaceResponseBody. + + 仅用于视图场景,列出了该视图纳管的空间列表 + + :param workspace_agency_list: The workspace_agency_list of this CreateWorkspaceResponseBody. + :type workspace_agency_list: list[:class:`huaweicloudsdksecmaster.v2.CreateWorkspaceResponseBodyWorkspaceAgencyList`] + """ + self._workspace_agency_list = workspace_agency_list + + 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, CreateWorkspaceResponseBody): + 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-secmaster/huaweicloudsdksecmaster/v2/model/create_workspace_response_body_workspace_agency_list.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/create_workspace_response_body_workspace_agency_list.py new file mode 100644 index 0000000000..61a8881157 --- /dev/null +++ b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/create_workspace_response_body_workspace_agency_list.py @@ -0,0 +1,434 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class CreateWorkspaceResponseBodyWorkspaceAgencyList: + + """ + 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 = { + 'project_id': 'str', + 'id': 'str', + 'name': 'str', + 'region_id': 'str', + 'workspace_attribution': 'str', + 'agency_version': 'str', + 'domain_id': 'str', + 'domain_name': 'str', + 'iam_agency_id': 'str', + 'iam_agency_name': 'str', + 'resource_spec_code': 'list[str]', + 'selected': 'bool' + } + + attribute_map = { + 'project_id': 'project_id', + 'id': 'id', + 'name': 'name', + 'region_id': 'region_id', + 'workspace_attribution': 'workspace_attribution', + 'agency_version': 'agency_version', + 'domain_id': 'domain_id', + 'domain_name': 'domain_name', + 'iam_agency_id': 'iam_agency_id', + 'iam_agency_name': 'iam_agency_name', + 'resource_spec_code': 'resource_spec_code', + 'selected': 'selected' + } + + def __init__(self, project_id=None, id=None, name=None, region_id=None, workspace_attribution=None, agency_version=None, domain_id=None, domain_name=None, iam_agency_id=None, iam_agency_name=None, resource_spec_code=None, selected=None): + """CreateWorkspaceResponseBodyWorkspaceAgencyList + + The model defined in huaweicloud sdk + + :param project_id: 委托空间所属项目id + :type project_id: str + :param id: 空间委托id + :type id: str + :param name: 空间委托名称 + :type name: str + :param region_id: 委托空间所属region id + :type region_id: str + :param workspace_attribution: THIS_ACCOUNT:本账号空间,CROSS_ACCOUNT:跨账号空间 + :type workspace_attribution: str + :param agency_version: 用户创建托管空间时使用的IAM委托版本,V3或者V5 + :type agency_version: str + :param domain_id: 委托租户id + :type domain_id: str + :param domain_name: 委托租户名称 + :type domain_name: str + :param iam_agency_id: iam委托id + :type iam_agency_id: str + :param iam_agency_name: iam委托名称 + :type iam_agency_name: str + :param resource_spec_code: 委托空间购买版本 + :type resource_spec_code: list[str] + :param selected: 是否被视图选中 + :type selected: bool + """ + + + + self._project_id = None + self._id = None + self._name = None + self._region_id = None + self._workspace_attribution = None + self._agency_version = None + self._domain_id = None + self._domain_name = None + self._iam_agency_id = None + self._iam_agency_name = None + self._resource_spec_code = None + self._selected = None + self.discriminator = None + + if project_id is not None: + self.project_id = project_id + if id is not None: + self.id = id + if name is not None: + self.name = name + if region_id is not None: + self.region_id = region_id + if workspace_attribution is not None: + self.workspace_attribution = workspace_attribution + if agency_version is not None: + self.agency_version = agency_version + if domain_id is not None: + self.domain_id = domain_id + if domain_name is not None: + self.domain_name = domain_name + if iam_agency_id is not None: + self.iam_agency_id = iam_agency_id + if iam_agency_name is not None: + self.iam_agency_name = iam_agency_name + if resource_spec_code is not None: + self.resource_spec_code = resource_spec_code + if selected is not None: + self.selected = selected + + @property + def project_id(self): + """Gets the project_id of this CreateWorkspaceResponseBodyWorkspaceAgencyList. + + 委托空间所属项目id + + :return: The project_id of this CreateWorkspaceResponseBodyWorkspaceAgencyList. + :rtype: str + """ + return self._project_id + + @project_id.setter + def project_id(self, project_id): + """Sets the project_id of this CreateWorkspaceResponseBodyWorkspaceAgencyList. + + 委托空间所属项目id + + :param project_id: The project_id of this CreateWorkspaceResponseBodyWorkspaceAgencyList. + :type project_id: str + """ + self._project_id = project_id + + @property + def id(self): + """Gets the id of this CreateWorkspaceResponseBodyWorkspaceAgencyList. + + 空间委托id + + :return: The id of this CreateWorkspaceResponseBodyWorkspaceAgencyList. + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this CreateWorkspaceResponseBodyWorkspaceAgencyList. + + 空间委托id + + :param id: The id of this CreateWorkspaceResponseBodyWorkspaceAgencyList. + :type id: str + """ + self._id = id + + @property + def name(self): + """Gets the name of this CreateWorkspaceResponseBodyWorkspaceAgencyList. + + 空间委托名称 + + :return: The name of this CreateWorkspaceResponseBodyWorkspaceAgencyList. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this CreateWorkspaceResponseBodyWorkspaceAgencyList. + + 空间委托名称 + + :param name: The name of this CreateWorkspaceResponseBodyWorkspaceAgencyList. + :type name: str + """ + self._name = name + + @property + def region_id(self): + """Gets the region_id of this CreateWorkspaceResponseBodyWorkspaceAgencyList. + + 委托空间所属region id + + :return: The region_id of this CreateWorkspaceResponseBodyWorkspaceAgencyList. + :rtype: str + """ + return self._region_id + + @region_id.setter + def region_id(self, region_id): + """Sets the region_id of this CreateWorkspaceResponseBodyWorkspaceAgencyList. + + 委托空间所属region id + + :param region_id: The region_id of this CreateWorkspaceResponseBodyWorkspaceAgencyList. + :type region_id: str + """ + self._region_id = region_id + + @property + def workspace_attribution(self): + """Gets the workspace_attribution of this CreateWorkspaceResponseBodyWorkspaceAgencyList. + + THIS_ACCOUNT:本账号空间,CROSS_ACCOUNT:跨账号空间 + + :return: The workspace_attribution of this CreateWorkspaceResponseBodyWorkspaceAgencyList. + :rtype: str + """ + return self._workspace_attribution + + @workspace_attribution.setter + def workspace_attribution(self, workspace_attribution): + """Sets the workspace_attribution of this CreateWorkspaceResponseBodyWorkspaceAgencyList. + + THIS_ACCOUNT:本账号空间,CROSS_ACCOUNT:跨账号空间 + + :param workspace_attribution: The workspace_attribution of this CreateWorkspaceResponseBodyWorkspaceAgencyList. + :type workspace_attribution: str + """ + self._workspace_attribution = workspace_attribution + + @property + def agency_version(self): + """Gets the agency_version of this CreateWorkspaceResponseBodyWorkspaceAgencyList. + + 用户创建托管空间时使用的IAM委托版本,V3或者V5 + + :return: The agency_version of this CreateWorkspaceResponseBodyWorkspaceAgencyList. + :rtype: str + """ + return self._agency_version + + @agency_version.setter + def agency_version(self, agency_version): + """Sets the agency_version of this CreateWorkspaceResponseBodyWorkspaceAgencyList. + + 用户创建托管空间时使用的IAM委托版本,V3或者V5 + + :param agency_version: The agency_version of this CreateWorkspaceResponseBodyWorkspaceAgencyList. + :type agency_version: str + """ + self._agency_version = agency_version + + @property + def domain_id(self): + """Gets the domain_id of this CreateWorkspaceResponseBodyWorkspaceAgencyList. + + 委托租户id + + :return: The domain_id of this CreateWorkspaceResponseBodyWorkspaceAgencyList. + :rtype: str + """ + return self._domain_id + + @domain_id.setter + def domain_id(self, domain_id): + """Sets the domain_id of this CreateWorkspaceResponseBodyWorkspaceAgencyList. + + 委托租户id + + :param domain_id: The domain_id of this CreateWorkspaceResponseBodyWorkspaceAgencyList. + :type domain_id: str + """ + self._domain_id = domain_id + + @property + def domain_name(self): + """Gets the domain_name of this CreateWorkspaceResponseBodyWorkspaceAgencyList. + + 委托租户名称 + + :return: The domain_name of this CreateWorkspaceResponseBodyWorkspaceAgencyList. + :rtype: str + """ + return self._domain_name + + @domain_name.setter + def domain_name(self, domain_name): + """Sets the domain_name of this CreateWorkspaceResponseBodyWorkspaceAgencyList. + + 委托租户名称 + + :param domain_name: The domain_name of this CreateWorkspaceResponseBodyWorkspaceAgencyList. + :type domain_name: str + """ + self._domain_name = domain_name + + @property + def iam_agency_id(self): + """Gets the iam_agency_id of this CreateWorkspaceResponseBodyWorkspaceAgencyList. + + iam委托id + + :return: The iam_agency_id of this CreateWorkspaceResponseBodyWorkspaceAgencyList. + :rtype: str + """ + return self._iam_agency_id + + @iam_agency_id.setter + def iam_agency_id(self, iam_agency_id): + """Sets the iam_agency_id of this CreateWorkspaceResponseBodyWorkspaceAgencyList. + + iam委托id + + :param iam_agency_id: The iam_agency_id of this CreateWorkspaceResponseBodyWorkspaceAgencyList. + :type iam_agency_id: str + """ + self._iam_agency_id = iam_agency_id + + @property + def iam_agency_name(self): + """Gets the iam_agency_name of this CreateWorkspaceResponseBodyWorkspaceAgencyList. + + iam委托名称 + + :return: The iam_agency_name of this CreateWorkspaceResponseBodyWorkspaceAgencyList. + :rtype: str + """ + return self._iam_agency_name + + @iam_agency_name.setter + def iam_agency_name(self, iam_agency_name): + """Sets the iam_agency_name of this CreateWorkspaceResponseBodyWorkspaceAgencyList. + + iam委托名称 + + :param iam_agency_name: The iam_agency_name of this CreateWorkspaceResponseBodyWorkspaceAgencyList. + :type iam_agency_name: str + """ + self._iam_agency_name = iam_agency_name + + @property + def resource_spec_code(self): + """Gets the resource_spec_code of this CreateWorkspaceResponseBodyWorkspaceAgencyList. + + 委托空间购买版本 + + :return: The resource_spec_code of this CreateWorkspaceResponseBodyWorkspaceAgencyList. + :rtype: list[str] + """ + return self._resource_spec_code + + @resource_spec_code.setter + def resource_spec_code(self, resource_spec_code): + """Sets the resource_spec_code of this CreateWorkspaceResponseBodyWorkspaceAgencyList. + + 委托空间购买版本 + + :param resource_spec_code: The resource_spec_code of this CreateWorkspaceResponseBodyWorkspaceAgencyList. + :type resource_spec_code: list[str] + """ + self._resource_spec_code = resource_spec_code + + @property + def selected(self): + """Gets the selected of this CreateWorkspaceResponseBodyWorkspaceAgencyList. + + 是否被视图选中 + + :return: The selected of this CreateWorkspaceResponseBodyWorkspaceAgencyList. + :rtype: bool + """ + return self._selected + + @selected.setter + def selected(self, selected): + """Sets the selected of this CreateWorkspaceResponseBodyWorkspaceAgencyList. + + 是否被视图选中 + + :param selected: The selected of this CreateWorkspaceResponseBodyWorkspaceAgencyList. + :type selected: bool + """ + self._selected = selected + + 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, CreateWorkspaceResponseBodyWorkspaceAgencyList): + 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-secmaster/huaweicloudsdksecmaster/v2/model/delete_alert_rule_response.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/delete_alert_rule_response.py index c0fee95e3f..ba69fad769 100644 --- a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/delete_alert_rule_response.py +++ b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/delete_alert_rule_response.py @@ -18,87 +18,116 @@ class DeleteAlertRuleResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'rule_id': 'str', - 'delete_time': 'int', + 'deleted': 'bool', + 'fail_list': 'list[AlertRule]', + 'success_list': 'list[AlertRule]', 'x_request_id': 'str' } attribute_map = { - 'rule_id': 'rule_id', - 'delete_time': 'delete_time', + 'deleted': 'deleted', + 'fail_list': 'fail_list', + 'success_list': 'success_list', 'x_request_id': 'X-request-id' } - def __init__(self, rule_id=None, delete_time=None, x_request_id=None): + def __init__(self, deleted=None, fail_list=None, success_list=None, x_request_id=None): """DeleteAlertRuleResponse The model defined in huaweicloud sdk - :param rule_id: 告警规则 ID。Alert rule ID. - :type rule_id: str - :param delete_time: 删除时间。Delete time. - :type delete_time: int + :param deleted: 是否删除. + :type deleted: bool + :param fail_list: Alert rule ID. + :type fail_list: list[:class:`huaweicloudsdksecmaster.v2.AlertRule`] + :param success_list: Alert rule ID. + :type success_list: list[:class:`huaweicloudsdksecmaster.v2.AlertRule`] :param x_request_id: :type x_request_id: str """ super(DeleteAlertRuleResponse, self).__init__() - self._rule_id = None - self._delete_time = None + self._deleted = None + self._fail_list = None + self._success_list = None self._x_request_id = None self.discriminator = None - if rule_id is not None: - self.rule_id = rule_id - if delete_time is not None: - self.delete_time = delete_time + if deleted is not None: + self.deleted = deleted + if fail_list is not None: + self.fail_list = fail_list + if success_list is not None: + self.success_list = success_list if x_request_id is not None: self.x_request_id = x_request_id @property - def rule_id(self): - """Gets the rule_id of this DeleteAlertRuleResponse. + def deleted(self): + """Gets the deleted of this DeleteAlertRuleResponse. - 告警规则 ID。Alert rule ID. + 是否删除. - :return: The rule_id of this DeleteAlertRuleResponse. - :rtype: str + :return: The deleted of this DeleteAlertRuleResponse. + :rtype: bool + """ + return self._deleted + + @deleted.setter + def deleted(self, deleted): + """Sets the deleted of this DeleteAlertRuleResponse. + + 是否删除. + + :param deleted: The deleted of this DeleteAlertRuleResponse. + :type deleted: bool + """ + self._deleted = deleted + + @property + def fail_list(self): + """Gets the fail_list of this DeleteAlertRuleResponse. + + Alert rule ID. + + :return: The fail_list of this DeleteAlertRuleResponse. + :rtype: list[:class:`huaweicloudsdksecmaster.v2.AlertRule`] """ - return self._rule_id + return self._fail_list - @rule_id.setter - def rule_id(self, rule_id): - """Sets the rule_id of this DeleteAlertRuleResponse. + @fail_list.setter + def fail_list(self, fail_list): + """Sets the fail_list of this DeleteAlertRuleResponse. - 告警规则 ID。Alert rule ID. + Alert rule ID. - :param rule_id: The rule_id of this DeleteAlertRuleResponse. - :type rule_id: str + :param fail_list: The fail_list of this DeleteAlertRuleResponse. + :type fail_list: list[:class:`huaweicloudsdksecmaster.v2.AlertRule`] """ - self._rule_id = rule_id + self._fail_list = fail_list @property - def delete_time(self): - """Gets the delete_time of this DeleteAlertRuleResponse. + def success_list(self): + """Gets the success_list of this DeleteAlertRuleResponse. - 删除时间。Delete time. + Alert rule ID. - :return: The delete_time of this DeleteAlertRuleResponse. - :rtype: int + :return: The success_list of this DeleteAlertRuleResponse. + :rtype: list[:class:`huaweicloudsdksecmaster.v2.AlertRule`] """ - return self._delete_time + return self._success_list - @delete_time.setter - def delete_time(self, delete_time): - """Sets the delete_time of this DeleteAlertRuleResponse. + @success_list.setter + def success_list(self, success_list): + """Sets the success_list of this DeleteAlertRuleResponse. - 删除时间。Delete time. + Alert rule ID. - :param delete_time: The delete_time of this DeleteAlertRuleResponse. - :type delete_time: int + :param success_list: The success_list of this DeleteAlertRuleResponse. + :type success_list: list[:class:`huaweicloudsdksecmaster.v2.AlertRule`] """ - self._delete_time = delete_time + self._success_list = success_list @property def x_request_id(self): diff --git a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/delete_indicator_request_body.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/delete_indicator_request_body.py index 6a0180265d..ea0e911ab7 100644 --- a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/delete_indicator_request_body.py +++ b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/delete_indicator_request_body.py @@ -29,7 +29,7 @@ def __init__(self, batch_ids=None): The model defined in huaweicloud sdk - :param batch_ids: 指标ID列表 + :param batch_ids: 威胁情报ID列表 :type batch_ids: list[str] """ @@ -45,7 +45,7 @@ def __init__(self, batch_ids=None): def batch_ids(self): """Gets the batch_ids of this DeleteIndicatorRequestBody. - 指标ID列表 + 威胁情报ID列表 :return: The batch_ids of this DeleteIndicatorRequestBody. :rtype: list[str] @@ -56,7 +56,7 @@ def batch_ids(self): def batch_ids(self, batch_ids): """Sets the batch_ids of this DeleteIndicatorRequestBody. - 指标ID列表 + 威胁情报ID列表 :param batch_ids: The batch_ids of this DeleteIndicatorRequestBody. :type batch_ids: list[str] diff --git a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/disable_alert_rule_response.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/disable_alert_rule_response.py index 3b39dbdbf6..1a4b1f021c 100644 --- a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/disable_alert_rule_response.py +++ b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/disable_alert_rule_response.py @@ -18,87 +18,87 @@ class DisableAlertRuleResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'rule_id': 'str', - 'status': 'str', + 'fail_list': 'list[AlertRule]', + 'success_list': 'list[AlertRule]', 'x_request_id': 'str' } attribute_map = { - 'rule_id': 'rule_id', - 'status': 'status', + 'fail_list': 'fail_list', + 'success_list': 'success_list', 'x_request_id': 'X-request-id' } - def __init__(self, rule_id=None, status=None, x_request_id=None): + def __init__(self, fail_list=None, success_list=None, x_request_id=None): """DisableAlertRuleResponse The model defined in huaweicloud sdk - :param rule_id: 告警规则 ID。Alert rule ID. - :type rule_id: str - :param status: 启用状态,启用、停用。Status, enabled, disabled. - :type status: str + :param fail_list: Alert rule ID. + :type fail_list: list[:class:`huaweicloudsdksecmaster.v2.AlertRule`] + :param success_list: Alert rule ID. + :type success_list: list[:class:`huaweicloudsdksecmaster.v2.AlertRule`] :param x_request_id: :type x_request_id: str """ super(DisableAlertRuleResponse, self).__init__() - self._rule_id = None - self._status = None + self._fail_list = None + self._success_list = None self._x_request_id = None self.discriminator = None - if rule_id is not None: - self.rule_id = rule_id - if status is not None: - self.status = status + if fail_list is not None: + self.fail_list = fail_list + if success_list is not None: + self.success_list = success_list if x_request_id is not None: self.x_request_id = x_request_id @property - def rule_id(self): - """Gets the rule_id of this DisableAlertRuleResponse. + def fail_list(self): + """Gets the fail_list of this DisableAlertRuleResponse. - 告警规则 ID。Alert rule ID. + Alert rule ID. - :return: The rule_id of this DisableAlertRuleResponse. - :rtype: str + :return: The fail_list of this DisableAlertRuleResponse. + :rtype: list[:class:`huaweicloudsdksecmaster.v2.AlertRule`] """ - return self._rule_id + return self._fail_list - @rule_id.setter - def rule_id(self, rule_id): - """Sets the rule_id of this DisableAlertRuleResponse. + @fail_list.setter + def fail_list(self, fail_list): + """Sets the fail_list of this DisableAlertRuleResponse. - 告警规则 ID。Alert rule ID. + Alert rule ID. - :param rule_id: The rule_id of this DisableAlertRuleResponse. - :type rule_id: str + :param fail_list: The fail_list of this DisableAlertRuleResponse. + :type fail_list: list[:class:`huaweicloudsdksecmaster.v2.AlertRule`] """ - self._rule_id = rule_id + self._fail_list = fail_list @property - def status(self): - """Gets the status of this DisableAlertRuleResponse. + def success_list(self): + """Gets the success_list of this DisableAlertRuleResponse. - 启用状态,启用、停用。Status, enabled, disabled. + Alert rule ID. - :return: The status of this DisableAlertRuleResponse. - :rtype: str + :return: The success_list of this DisableAlertRuleResponse. + :rtype: list[:class:`huaweicloudsdksecmaster.v2.AlertRule`] """ - return self._status + return self._success_list - @status.setter - def status(self, status): - """Sets the status of this DisableAlertRuleResponse. + @success_list.setter + def success_list(self, success_list): + """Sets the success_list of this DisableAlertRuleResponse. - 启用状态,启用、停用。Status, enabled, disabled. + Alert rule ID. - :param status: The status of this DisableAlertRuleResponse. - :type status: str + :param success_list: The success_list of this DisableAlertRuleResponse. + :type success_list: list[:class:`huaweicloudsdksecmaster.v2.AlertRule`] """ - self._status = status + self._success_list = success_list @property def x_request_id(self): diff --git a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/enable_alert_rule_response.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/enable_alert_rule_response.py index 3c2f315e55..a4c39e0647 100644 --- a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/enable_alert_rule_response.py +++ b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/enable_alert_rule_response.py @@ -18,87 +18,87 @@ class EnableAlertRuleResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'rule_id': 'str', - 'status': 'str', + 'fail_list': 'list[AlertRule]', + 'success_list': 'list[AlertRule]', 'x_request_id': 'str' } attribute_map = { - 'rule_id': 'rule_id', - 'status': 'status', + 'fail_list': 'fail_list', + 'success_list': 'success_list', 'x_request_id': 'X-request-id' } - def __init__(self, rule_id=None, status=None, x_request_id=None): + def __init__(self, fail_list=None, success_list=None, x_request_id=None): """EnableAlertRuleResponse The model defined in huaweicloud sdk - :param rule_id: 告警规则 ID。Alert rule ID. - :type rule_id: str - :param status: 启用状态,启用、停用。Status, enabled, disabled. - :type status: str + :param fail_list: Alert rule ID. + :type fail_list: list[:class:`huaweicloudsdksecmaster.v2.AlertRule`] + :param success_list: Alert rule ID. + :type success_list: list[:class:`huaweicloudsdksecmaster.v2.AlertRule`] :param x_request_id: :type x_request_id: str """ super(EnableAlertRuleResponse, self).__init__() - self._rule_id = None - self._status = None + self._fail_list = None + self._success_list = None self._x_request_id = None self.discriminator = None - if rule_id is not None: - self.rule_id = rule_id - if status is not None: - self.status = status + if fail_list is not None: + self.fail_list = fail_list + if success_list is not None: + self.success_list = success_list if x_request_id is not None: self.x_request_id = x_request_id @property - def rule_id(self): - """Gets the rule_id of this EnableAlertRuleResponse. + def fail_list(self): + """Gets the fail_list of this EnableAlertRuleResponse. - 告警规则 ID。Alert rule ID. + Alert rule ID. - :return: The rule_id of this EnableAlertRuleResponse. - :rtype: str + :return: The fail_list of this EnableAlertRuleResponse. + :rtype: list[:class:`huaweicloudsdksecmaster.v2.AlertRule`] """ - return self._rule_id + return self._fail_list - @rule_id.setter - def rule_id(self, rule_id): - """Sets the rule_id of this EnableAlertRuleResponse. + @fail_list.setter + def fail_list(self, fail_list): + """Sets the fail_list of this EnableAlertRuleResponse. - 告警规则 ID。Alert rule ID. + Alert rule ID. - :param rule_id: The rule_id of this EnableAlertRuleResponse. - :type rule_id: str + :param fail_list: The fail_list of this EnableAlertRuleResponse. + :type fail_list: list[:class:`huaweicloudsdksecmaster.v2.AlertRule`] """ - self._rule_id = rule_id + self._fail_list = fail_list @property - def status(self): - """Gets the status of this EnableAlertRuleResponse. + def success_list(self): + """Gets the success_list of this EnableAlertRuleResponse. - 启用状态,启用、停用。Status, enabled, disabled. + Alert rule ID. - :return: The status of this EnableAlertRuleResponse. - :rtype: str + :return: The success_list of this EnableAlertRuleResponse. + :rtype: list[:class:`huaweicloudsdksecmaster.v2.AlertRule`] """ - return self._status + return self._success_list - @status.setter - def status(self, status): - """Sets the status of this EnableAlertRuleResponse. + @success_list.setter + def success_list(self, success_list): + """Sets the success_list of this EnableAlertRuleResponse. - 启用状态,启用、停用。Status, enabled, disabled. + Alert rule ID. - :param status: The status of this EnableAlertRuleResponse. - :type status: str + :param success_list: The success_list of this EnableAlertRuleResponse. + :type success_list: list[:class:`huaweicloudsdksecmaster.v2.AlertRule`] """ - self._status = status + self._success_list = success_list @property def x_request_id(self): diff --git a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/indicator_data_object_detail.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/indicator_data_object_detail.py index eaff4bf6f5..5dd1656574 100644 --- a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/indicator_data_object_detail.py +++ b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/indicator_data_object_detail.py @@ -85,7 +85,7 @@ def __init__(self, indicator_type=None, value=None, update_time=None, create_tim :type granular_marking: int :param name: 名称 :type name: str - :param id: 情报ID + :param id: 威胁情报ID :type id: str :param project_id: 项目ID :type project_id: str @@ -394,7 +394,7 @@ def name(self, name): def id(self): """Gets the id of this IndicatorDataObjectDetail. - 情报ID + 威胁情报ID :return: The id of this IndicatorDataObjectDetail. :rtype: str @@ -405,7 +405,7 @@ def id(self): def id(self, id): """Sets the id of this IndicatorDataObjectDetail. - 情报ID + 威胁情报ID :param id: The id of this IndicatorDataObjectDetail. :type id: str diff --git a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/indicator_data_object_detail_indicator_type.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/indicator_data_object_detail_indicator_type.py index 487c047918..08e061bd01 100644 --- a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/indicator_data_object_detail_indicator_type.py +++ b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/indicator_data_object_detail_indicator_type.py @@ -18,19 +18,15 @@ class IndicatorDataObjectDetailIndicatorType: openapi_types = { 'indicator_type': 'str', - 'id': 'str', - 'category': 'str', - 'layout_id': 'str' + 'id': 'str' } attribute_map = { 'indicator_type': 'indicator_type', - 'id': 'id', - 'category': 'category', - 'layout_id': 'layout_id' + 'id': 'id' } - def __init__(self, indicator_type=None, id=None, category=None, layout_id=None): + def __init__(self, indicator_type=None, id=None): """IndicatorDataObjectDetailIndicatorType The model defined in huaweicloud sdk @@ -39,28 +35,18 @@ def __init__(self, indicator_type=None, id=None, category=None, layout_id=None): :type indicator_type: str :param id: 情报类型ID :type id: str - :param category: 目录 - :type category: str - :param layout_id: 布局ID - :type layout_id: str """ self._indicator_type = None self._id = None - self._category = None - self._layout_id = None self.discriminator = None if indicator_type is not None: self.indicator_type = indicator_type if id is not None: self.id = id - if category is not None: - self.category = category - if layout_id is not None: - self.layout_id = layout_id @property def indicator_type(self): @@ -106,50 +92,6 @@ def id(self, id): """ self._id = id - @property - def category(self): - """Gets the category of this IndicatorDataObjectDetailIndicatorType. - - 目录 - - :return: The category of this IndicatorDataObjectDetailIndicatorType. - :rtype: str - """ - return self._category - - @category.setter - def category(self, category): - """Sets the category of this IndicatorDataObjectDetailIndicatorType. - - 目录 - - :param category: The category of this IndicatorDataObjectDetailIndicatorType. - :type category: str - """ - self._category = category - - @property - def layout_id(self): - """Gets the layout_id of this IndicatorDataObjectDetailIndicatorType. - - 布局ID - - :return: The layout_id of this IndicatorDataObjectDetailIndicatorType. - :rtype: str - """ - return self._layout_id - - @layout_id.setter - def layout_id(self, layout_id): - """Sets the layout_id of this IndicatorDataObjectDetailIndicatorType. - - 布局ID - - :param layout_id: The layout_id of this IndicatorDataObjectDetailIndicatorType. - :type layout_id: str - """ - self._layout_id = layout_id - def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/indicator_detail.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/indicator_detail.py index 9eaa200a86..6b53c67daf 100644 --- a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/indicator_detail.py +++ b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/indicator_detail.py @@ -43,9 +43,9 @@ def __init__(self, id=None, name=None, data_object=None, workspace_id=None, proj The model defined in huaweicloud sdk - :param id: 指标ID + :param id: 威胁情报ID :type id: str - :param name: 指标名称 + :param name: 威胁情报名称 :type name: str :param data_object: :type data_object: :class:`huaweicloudsdksecmaster.v2.IndicatorDataObjectDetail` @@ -93,7 +93,7 @@ def __init__(self, id=None, name=None, data_object=None, workspace_id=None, proj def id(self): """Gets the id of this IndicatorDetail. - 指标ID + 威胁情报ID :return: The id of this IndicatorDetail. :rtype: str @@ -104,7 +104,7 @@ def id(self): def id(self, id): """Sets the id of this IndicatorDetail. - 指标ID + 威胁情报ID :param id: The id of this IndicatorDetail. :type id: str @@ -115,7 +115,7 @@ def id(self, id): def name(self): """Gets the name of this IndicatorDetail. - 指标名称 + 威胁情报名称 :return: The name of this IndicatorDetail. :rtype: str @@ -126,7 +126,7 @@ def name(self): def name(self, name): """Sets the name of this IndicatorDetail. - 指标名称 + 威胁情报名称 :param name: The name of this IndicatorDetail. :type name: str diff --git a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/indicator_list_search_request.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/indicator_list_search_request.py index 6ec477c48f..65c8b52516 100644 --- a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/indicator_list_search_request.py +++ b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/indicator_list_search_request.py @@ -18,7 +18,6 @@ class IndicatorListSearchRequest: openapi_types = { 'ids': 'list[str]', - 'name': 'str', 'dataclass_id': 'str', 'condition': 'DataobjectSearchCondition', 'offset': 'int', @@ -30,7 +29,6 @@ class IndicatorListSearchRequest: attribute_map = { 'ids': 'ids', - 'name': 'name', 'dataclass_id': 'dataclass_id', 'condition': 'condition', 'offset': 'offset', @@ -40,15 +38,13 @@ class IndicatorListSearchRequest: 'to_date': 'to_date' } - def __init__(self, ids=None, name=None, dataclass_id=None, condition=None, offset=None, limit=None, sort_by=None, from_date=None, to_date=None): + def __init__(self, ids=None, dataclass_id=None, condition=None, offset=None, limit=None, sort_by=None, from_date=None, to_date=None): """IndicatorListSearchRequest The model defined in huaweicloud sdk - :param ids: 指标ID列表 + :param ids: 威胁情报ID列表 :type ids: list[str] - :param name: 指标名称 - :type name: str :param dataclass_id: 数据类ID :type dataclass_id: str :param condition: @@ -68,7 +64,6 @@ def __init__(self, ids=None, name=None, dataclass_id=None, condition=None, offse self._ids = None - self._name = None self._dataclass_id = None self._condition = None self._offset = None @@ -80,8 +75,6 @@ def __init__(self, ids=None, name=None, dataclass_id=None, condition=None, offse if ids is not None: self.ids = ids - if name is not None: - self.name = name if dataclass_id is not None: self.dataclass_id = dataclass_id self.condition = condition @@ -98,7 +91,7 @@ def __init__(self, ids=None, name=None, dataclass_id=None, condition=None, offse def ids(self): """Gets the ids of this IndicatorListSearchRequest. - 指标ID列表 + 威胁情报ID列表 :return: The ids of this IndicatorListSearchRequest. :rtype: list[str] @@ -109,35 +102,13 @@ def ids(self): def ids(self, ids): """Sets the ids of this IndicatorListSearchRequest. - 指标ID列表 + 威胁情报ID列表 :param ids: The ids of this IndicatorListSearchRequest. :type ids: list[str] """ self._ids = ids - @property - def name(self): - """Gets the name of this IndicatorListSearchRequest. - - 指标名称 - - :return: The name of this IndicatorListSearchRequest. - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this IndicatorListSearchRequest. - - 指标名称 - - :param name: The name of this IndicatorListSearchRequest. - :type name: str - """ - self._name = name - @property def dataclass_id(self): """Gets the dataclass_id of this IndicatorListSearchRequest. diff --git a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/list_alert_detail.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/list_alert_detail.py index dcf66279c5..0fa617d901 100644 --- a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/list_alert_detail.py +++ b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/list_alert_detail.py @@ -17,116 +17,98 @@ class ListAlertDetail: sensitive_list = [] openapi_types = { - 'data_object': 'ListAlertRsp', 'create_time': 'str', - 'update_time': 'str', - 'project_id': 'str', - 'workspace_id': 'str', + 'data_object': 'ListAlertRsp', + 'dataclass_ref': 'AlertDetailDataclassRef', + 'format_version': 'int', 'id': 'str', 'type': 'str', + 'project_id': 'str', + 'update_time': 'str', 'version': 'int', - 'format_version': 'int', - 'dataclass_ref': 'ShowAlertDetailDataclassRef' + 'workspace_id': 'str' } attribute_map = { - 'data_object': 'data_object', 'create_time': 'create_time', - 'update_time': 'update_time', - 'project_id': 'project_id', - 'workspace_id': 'workspace_id', + 'data_object': 'data_object', + 'dataclass_ref': 'dataclass_ref', + 'format_version': 'format_version', 'id': 'id', 'type': 'type', + 'project_id': 'project_id', + 'update_time': 'update_time', 'version': 'version', - 'format_version': 'format_version', - 'dataclass_ref': 'dataclass_ref' + 'workspace_id': 'workspace_id' } - def __init__(self, data_object=None, create_time=None, update_time=None, project_id=None, workspace_id=None, id=None, type=None, version=None, format_version=None, dataclass_ref=None): + def __init__(self, create_time=None, data_object=None, dataclass_ref=None, format_version=None, id=None, type=None, project_id=None, update_time=None, version=None, workspace_id=None): """ListAlertDetail The model defined in huaweicloud sdk + :param create_time: 记录时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 + :type create_time: str :param data_object: :type data_object: :class:`huaweicloudsdksecmaster.v2.ListAlertRsp` - :param create_time: Create time - :type create_time: str - :param update_time: Update time - :type update_time: str - :param project_id: Id value - :type project_id: str - :param workspace_id: Id value - :type workspace_id: str - :param id: The name, display only + :param dataclass_ref: + :type dataclass_ref: :class:`huaweicloudsdksecmaster.v2.AlertDetailDataclassRef` + :param format_version: 格式版本 + :type format_version: int + :param id: 告警唯一标识,UUID格式,最大36个字符 :type id: str - :param type: The name, display only + :param type: 数据类型 :type type: str - :param version: The name, display only + :param project_id: 当前项目的id + :type project_id: str + :param update_time: 更新时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 + :type update_time: str + :param version: 版本 :type version: int - :param format_version: The name, display only - :type format_version: int - :param dataclass_ref: - :type dataclass_ref: :class:`huaweicloudsdksecmaster.v2.ShowAlertDetailDataclassRef` + :param workspace_id: 当前的工作空间id + :type workspace_id: str """ - self._data_object = None self._create_time = None - self._update_time = None - self._project_id = None - self._workspace_id = None + self._data_object = None + self._dataclass_ref = None + self._format_version = None self._id = None self._type = None + self._project_id = None + self._update_time = None self._version = None - self._format_version = None - self._dataclass_ref = None + self._workspace_id = None self.discriminator = None - if data_object is not None: - self.data_object = data_object if create_time is not None: self.create_time = create_time - if update_time is not None: - self.update_time = update_time - if project_id is not None: - self.project_id = project_id - if workspace_id is not None: - self.workspace_id = workspace_id + if data_object is not None: + self.data_object = data_object + if dataclass_ref is not None: + self.dataclass_ref = dataclass_ref + if format_version is not None: + self.format_version = format_version if id is not None: self.id = id if type is not None: self.type = type + if project_id is not None: + self.project_id = project_id + if update_time is not None: + self.update_time = update_time if version is not None: self.version = version - if format_version is not None: - self.format_version = format_version - if dataclass_ref is not None: - self.dataclass_ref = dataclass_ref - - @property - def data_object(self): - """Gets the data_object of this ListAlertDetail. - - :return: The data_object of this ListAlertDetail. - :rtype: :class:`huaweicloudsdksecmaster.v2.ListAlertRsp` - """ - return self._data_object - - @data_object.setter - def data_object(self, data_object): - """Sets the data_object of this ListAlertDetail. - - :param data_object: The data_object of this ListAlertDetail. - :type data_object: :class:`huaweicloudsdksecmaster.v2.ListAlertRsp` - """ - self._data_object = data_object + if workspace_id is not None: + self.workspace_id = workspace_id @property def create_time(self): """Gets the create_time of this ListAlertDetail. - Create time + 记录时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 :return: The create_time of this ListAlertDetail. :rtype: str @@ -137,7 +119,7 @@ def create_time(self): def create_time(self, create_time): """Sets the create_time of this ListAlertDetail. - Create time + 记录时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 :param create_time: The create_time of this ListAlertDetail. :type create_time: str @@ -145,76 +127,68 @@ def create_time(self, create_time): self._create_time = create_time @property - def update_time(self): - """Gets the update_time of this ListAlertDetail. - - Update time + def data_object(self): + """Gets the data_object of this ListAlertDetail. - :return: The update_time of this ListAlertDetail. - :rtype: str + :return: The data_object of this ListAlertDetail. + :rtype: :class:`huaweicloudsdksecmaster.v2.ListAlertRsp` """ - return self._update_time - - @update_time.setter - def update_time(self, update_time): - """Sets the update_time of this ListAlertDetail. + return self._data_object - Update time + @data_object.setter + def data_object(self, data_object): + """Sets the data_object of this ListAlertDetail. - :param update_time: The update_time of this ListAlertDetail. - :type update_time: str + :param data_object: The data_object of this ListAlertDetail. + :type data_object: :class:`huaweicloudsdksecmaster.v2.ListAlertRsp` """ - self._update_time = update_time + self._data_object = data_object @property - def project_id(self): - """Gets the project_id of this ListAlertDetail. - - Id value + def dataclass_ref(self): + """Gets the dataclass_ref of this ListAlertDetail. - :return: The project_id of this ListAlertDetail. - :rtype: str + :return: The dataclass_ref of this ListAlertDetail. + :rtype: :class:`huaweicloudsdksecmaster.v2.AlertDetailDataclassRef` """ - return self._project_id - - @project_id.setter - def project_id(self, project_id): - """Sets the project_id of this ListAlertDetail. + return self._dataclass_ref - Id value + @dataclass_ref.setter + def dataclass_ref(self, dataclass_ref): + """Sets the dataclass_ref of this ListAlertDetail. - :param project_id: The project_id of this ListAlertDetail. - :type project_id: str + :param dataclass_ref: The dataclass_ref of this ListAlertDetail. + :type dataclass_ref: :class:`huaweicloudsdksecmaster.v2.AlertDetailDataclassRef` """ - self._project_id = project_id + self._dataclass_ref = dataclass_ref @property - def workspace_id(self): - """Gets the workspace_id of this ListAlertDetail. + def format_version(self): + """Gets the format_version of this ListAlertDetail. - Id value + 格式版本 - :return: The workspace_id of this ListAlertDetail. - :rtype: str + :return: The format_version of this ListAlertDetail. + :rtype: int """ - return self._workspace_id + return self._format_version - @workspace_id.setter - def workspace_id(self, workspace_id): - """Sets the workspace_id of this ListAlertDetail. + @format_version.setter + def format_version(self, format_version): + """Sets the format_version of this ListAlertDetail. - Id value + 格式版本 - :param workspace_id: The workspace_id of this ListAlertDetail. - :type workspace_id: str + :param format_version: The format_version of this ListAlertDetail. + :type format_version: int """ - self._workspace_id = workspace_id + self._format_version = format_version @property def id(self): """Gets the id of this ListAlertDetail. - The name, display only + 告警唯一标识,UUID格式,最大36个字符 :return: The id of this ListAlertDetail. :rtype: str @@ -225,7 +199,7 @@ def id(self): def id(self, id): """Sets the id of this ListAlertDetail. - The name, display only + 告警唯一标识,UUID格式,最大36个字符 :param id: The id of this ListAlertDetail. :type id: str @@ -236,7 +210,7 @@ def id(self, id): def type(self): """Gets the type of this ListAlertDetail. - The name, display only + 数据类型 :return: The type of this ListAlertDetail. :rtype: str @@ -247,18 +221,62 @@ def type(self): def type(self, type): """Sets the type of this ListAlertDetail. - The name, display only + 数据类型 :param type: The type of this ListAlertDetail. :type type: str """ self._type = type + @property + def project_id(self): + """Gets the project_id of this ListAlertDetail. + + 当前项目的id + + :return: The project_id of this ListAlertDetail. + :rtype: str + """ + return self._project_id + + @project_id.setter + def project_id(self, project_id): + """Sets the project_id of this ListAlertDetail. + + 当前项目的id + + :param project_id: The project_id of this ListAlertDetail. + :type project_id: str + """ + self._project_id = project_id + + @property + def update_time(self): + """Gets the update_time of this ListAlertDetail. + + 更新时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 + + :return: The update_time of this ListAlertDetail. + :rtype: str + """ + return self._update_time + + @update_time.setter + def update_time(self, update_time): + """Sets the update_time of this ListAlertDetail. + + 更新时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 + + :param update_time: The update_time of this ListAlertDetail. + :type update_time: str + """ + self._update_time = update_time + @property def version(self): """Gets the version of this ListAlertDetail. - The name, display only + 版本 :return: The version of this ListAlertDetail. :rtype: int @@ -269,7 +287,7 @@ def version(self): def version(self, version): """Sets the version of this ListAlertDetail. - The name, display only + 版本 :param version: The version of this ListAlertDetail. :type version: int @@ -277,44 +295,26 @@ def version(self, version): self._version = version @property - def format_version(self): - """Gets the format_version of this ListAlertDetail. - - The name, display only - - :return: The format_version of this ListAlertDetail. - :rtype: int - """ - return self._format_version - - @format_version.setter - def format_version(self, format_version): - """Sets the format_version of this ListAlertDetail. + def workspace_id(self): + """Gets the workspace_id of this ListAlertDetail. - The name, display only + 当前的工作空间id - :param format_version: The format_version of this ListAlertDetail. - :type format_version: int + :return: The workspace_id of this ListAlertDetail. + :rtype: str """ - self._format_version = format_version - - @property - def dataclass_ref(self): - """Gets the dataclass_ref of this ListAlertDetail. + return self._workspace_id - :return: The dataclass_ref of this ListAlertDetail. - :rtype: :class:`huaweicloudsdksecmaster.v2.ShowAlertDetailDataclassRef` - """ - return self._dataclass_ref + @workspace_id.setter + def workspace_id(self, workspace_id): + """Sets the workspace_id of this ListAlertDetail. - @dataclass_ref.setter - def dataclass_ref(self, dataclass_ref): - """Sets the dataclass_ref of this ListAlertDetail. + 当前的工作空间id - :param dataclass_ref: The dataclass_ref of this ListAlertDetail. - :type dataclass_ref: :class:`huaweicloudsdksecmaster.v2.ShowAlertDetailDataclassRef` + :param workspace_id: The workspace_id of this ListAlertDetail. + :type workspace_id: str """ - self._dataclass_ref = dataclass_ref + self._workspace_id = workspace_id def to_dict(self): """Returns the model properties as a dict""" diff --git a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/list_alert_rsp.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/list_alert_rsp.py index 097c173637..c4c2f19bbf 100644 --- a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/list_alert_rsp.py +++ b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/list_alert_rsp.py @@ -18,8 +18,13 @@ class ListAlertRsp: openapi_types = { 'version': 'str', - 'environment': 'ShowAlertRspEnvironment', - 'data_source': 'ShowAlertRspDatasource', + 'id': 'str', + 'domain_id': 'str', + 'region_id': 'str', + 'workspace_id': 'str', + 'labels': 'str', + 'environment': 'AlertEnvironment', + 'data_source': 'AlertDataSource', 'first_observed_time': 'str', 'last_observed_time': 'str', 'create_time': 'str', @@ -31,17 +36,17 @@ class ListAlertRsp: 'confidence': 'int', 'severity': 'str', 'criticality': 'int', - 'alert_type': 'object', - 'network_list': 'list[ListAlertRspNetworkList]', - 'resource_list': 'list[ShowAlertRspResourceList]', - 'remediation': 'ShowAlertRspRemediation', + 'alert_type': 'AlertAlertType', + 'network_list': 'list[AlertNetworkList]', + 'resource_list': 'list[AlertResourceList]', + 'remediation': 'AlertRemediation', 'verification_state': 'str', 'handle_status': 'str', 'sla': 'str', 'update_time': 'str', 'close_time': 'str', - 'chop_phase': 'str', 'ipdrr_phase': 'str', + 'chop_phase': 'str', 'ppdr_phase': 'str', 'simulation': 'str', 'actor': 'str', @@ -51,16 +56,19 @@ class ListAlertRsp: 'close_comment': 'str', 'malware': 'ShowAlertRspMalware', 'system_info': 'object', - 'process': 'list[ListAlertRspProcess]', - 'user_info': 'list[ShowAlertRspUserInfo]', - 'file_info': 'list[ShowAlertRspFileInfo]', - 'system_alert_table': 'object', - 'id': 'str', - 'workspace_id': 'str' + 'process': 'list[AlertProcess]', + 'user_info': 'list[AlertUserInfo]', + 'file_info': 'list[AlertFileInfo]', + 'system_alert_table': 'object' } attribute_map = { 'version': 'version', + 'id': 'id', + 'domain_id': 'domain_id', + 'region_id': 'region_id', + 'workspace_id': 'workspace_id', + 'labels': 'labels', 'environment': 'environment', 'data_source': 'data_source', 'first_observed_time': 'first_observed_time', @@ -83,8 +91,8 @@ class ListAlertRsp: 'sla': 'sla', 'update_time': 'update_time', 'close_time': 'close_time', - 'chop_phase': 'chop_phase', 'ipdrr_phase': 'ipdrr_phase', + 'chop_phase': 'chop_phase', 'ppdr_phase': 'ppdr_phase', 'simulation': 'simulation', 'actor': 'actor', @@ -97,101 +105,110 @@ class ListAlertRsp: 'process': 'process', 'user_info': 'user_info', 'file_info': 'file_info', - 'system_alert_table': 'system_alert_table', - 'id': 'id', - 'workspace_id': 'workspace_id' + 'system_alert_table': 'system_alert_table' } - def __init__(self, version=None, environment=None, data_source=None, first_observed_time=None, last_observed_time=None, create_time=None, arrive_time=None, title=None, description=None, source_url=None, count=None, confidence=None, severity=None, criticality=None, alert_type=None, network_list=None, resource_list=None, remediation=None, verification_state=None, handle_status=None, sla=None, update_time=None, close_time=None, chop_phase=None, ipdrr_phase=None, ppdr_phase=None, simulation=None, actor=None, owner=None, creator=None, close_reason=None, close_comment=None, malware=None, system_info=None, process=None, user_info=None, file_info=None, system_alert_table=None, id=None, workspace_id=None): + def __init__(self, version=None, id=None, domain_id=None, region_id=None, workspace_id=None, labels=None, environment=None, data_source=None, first_observed_time=None, last_observed_time=None, create_time=None, arrive_time=None, title=None, description=None, source_url=None, count=None, confidence=None, severity=None, criticality=None, alert_type=None, network_list=None, resource_list=None, remediation=None, verification_state=None, handle_status=None, sla=None, update_time=None, close_time=None, ipdrr_phase=None, chop_phase=None, ppdr_phase=None, simulation=None, actor=None, owner=None, creator=None, close_reason=None, close_comment=None, malware=None, system_info=None, process=None, user_info=None, file_info=None, system_alert_table=None): """ListAlertRsp The model defined in huaweicloud sdk - :param version: 版本 + :param version: 告警对象的版本,该字段的值必须为华为云SSA服务确定的官方发布版本之一 :type version: str + :param id: 事件唯一标识,UUID格式,最大36个字符 + :type id: str + :param domain_id: 数据投递后,被委托用户的domain_id + :type domain_id: str + :param region_id: 数据投递后,被委托用户的region_id + :type region_id: str + :param workspace_id: 当前的工作空间id + :type workspace_id: str + :param labels: 标签,仅展示 + :type labels: str :param environment: - :type environment: :class:`huaweicloudsdksecmaster.v2.ShowAlertRspEnvironment` + :type environment: :class:`huaweicloudsdksecmaster.v2.AlertEnvironment` :param data_source: - :type data_source: :class:`huaweicloudsdksecmaster.v2.ShowAlertRspDatasource` - :param first_observed_time: Update time + :type data_source: :class:`huaweicloudsdksecmaster.v2.AlertDataSource` + :param first_observed_time: 首次发现时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 :type first_observed_time: str - :param last_observed_time: Update time + :param last_observed_time: 最近发现时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 :type last_observed_time: str - :param create_time: Create time + :param create_time: 记录时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 :type create_time: str - :param arrive_time: Update time + :param arrive_time: 接收时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 :type arrive_time: str - :param title: The name, display only + :param title: 告警标题 :type title: str - :param description: The description, display only + :param description: 告警描述信息 :type description: str - :param source_url: 事件URL链接 + :param source_url: 告警URL链接,指向数据源产品中有关当前事件说明的页面 :type source_url: str :param count: 事件发生次数 :type count: int - :param confidence: 置信度 + :param confidence: 事件的置信度。置信度的定义旨在说明识别的行为或问题的可能性。 取值范围:0-100,0表示置信度为0%,100表示置信度为100% :type confidence: int - :param severity: 严重性等级 + :param severity: 严重性等级,取值范围:Tips | Low | Medium | High | Fatal 说明: 0: Tips – 未发现任何问题。 1: Low – 无需针对问题执行任何操作。 2: Medium – 问题需要处理,但不紧急。 3: High – 问题必须优先处理。 4: Fatal – 问题必须立即处理,以防止产生进一步的损害 :type severity: str - :param criticality: 关键性,是指事件涉及的资源的重要性级别。 + :param criticality: 关键性,是指事件涉及的资源的重要性级别。 取值范围:0-100,0表示资源不关键,100表示最关键资源 :type criticality: int - :param alert_type: 事件分类 - :type alert_type: object - :param network_list: network_list - :type network_list: list[:class:`huaweicloudsdksecmaster.v2.ListAlertRspNetworkList`] - :param resource_list: network_list - :type resource_list: list[:class:`huaweicloudsdksecmaster.v2.ShowAlertRspResourceList`] + :param alert_type: + :type alert_type: :class:`huaweicloudsdksecmaster.v2.AlertAlertType` + :param network_list: 网络信息 + :type network_list: list[:class:`huaweicloudsdksecmaster.v2.AlertNetworkList`] + :param resource_list: 受影响资源 + :type resource_list: list[:class:`huaweicloudsdksecmaster.v2.AlertResourceList`] :param remediation: - :type remediation: :class:`huaweicloudsdksecmaster.v2.ShowAlertRspRemediation` - :param verification_state: 验证状态 + :type remediation: :class:`huaweicloudsdksecmaster.v2.AlertRemediation` + :param verification_state: 验证状态,标识事件的准确性。可选类型如下: Unknown – 未知 True_Positive – 确认 False_Positive – 误报 默认填写Unknown :type verification_state: str - :param handle_status: 事件处理状态 + :param handle_status: 事件处理状态,可选类型如下: Open – 打开,默认 Block – 阻塞 Closed – 关闭 默认填写Open :type handle_status: str - :param sla: sla + :param sla: 约束闭环时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 :type sla: str - :param update_time: Create time + :param update_time: 更新时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 :type update_time: str - :param close_time: Create time + :param close_time: 关闭时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 :type close_time: str - :param chop_phase: 周期/处置阶段编号 - :type chop_phase: str - :param ipdrr_phase: 周期/处置阶段编号 + :param ipdrr_phase: 周期/处置阶段编号 Prepartion|Detection and Analysis|Containm,Eradication& Recovery|Post-Incident-Activity :type ipdrr_phase: str - :param ppdr_phase: 周期/处置阶段编号 + :param chop_phase: 周期/处置阶段编号 Prepartion|Detection and Analysis|Containm,Eradication& Recovery|Post-Incident-Activity + :type chop_phase: str + :param ppdr_phase: 周期/处置阶段编号 Prepartion|Detection and Analysis|Containm,Eradication& Recovery|Post-Incident-Activity :type ppdr_phase: str - :param simulation: 是否为调试事件. + :param simulation: 调试字段 :type simulation: str - :param actor: 委托人 + :param actor: 告警调查员 :type actor: str - :param owner: The name, display only + :param owner: 责任人、服务责任人 :type owner: str - :param creator: The name, display only + :param creator: 创建人 :type creator: str - :param close_reason: 关闭原因 + :param close_reason: 关闭原因: 误检 - False detection 已解决 - Resolved 重复 - Repeated 其他 - Other :type close_reason: str - :param close_comment: 关闭原因 + :param close_comment: 关闭评论 :type close_comment: str :param malware: :type malware: :class:`huaweicloudsdksecmaster.v2.ShowAlertRspMalware` :param system_info: 系统信息 :type system_info: object :param process: 进程信息 - :type process: list[:class:`huaweicloudsdksecmaster.v2.ListAlertRspProcess`] + :type process: list[:class:`huaweicloudsdksecmaster.v2.AlertProcess`] :param user_info: 用户信息 - :type user_info: list[:class:`huaweicloudsdksecmaster.v2.ShowAlertRspUserInfo`] + :type user_info: list[:class:`huaweicloudsdksecmaster.v2.AlertUserInfo`] :param file_info: 文件信息 - :type file_info: list[:class:`huaweicloudsdksecmaster.v2.ShowAlertRspFileInfo`] - :param system_alert_table: 系统信息 + :type file_info: list[:class:`huaweicloudsdksecmaster.v2.AlertFileInfo`] + :param system_alert_table: 告警管理列表的布局字段 :type system_alert_table: object - :param id: Id value - :type id: str - :param workspace_id: workspace id - :type workspace_id: str """ self._version = None + self._id = None + self._domain_id = None + self._region_id = None + self._workspace_id = None + self._labels = None self._environment = None self._data_source = None self._first_observed_time = None @@ -214,8 +231,8 @@ def __init__(self, version=None, environment=None, data_source=None, first_obser self._sla = None self._update_time = None self._close_time = None - self._chop_phase = None self._ipdrr_phase = None + self._chop_phase = None self._ppdr_phase = None self._simulation = None self._actor = None @@ -229,12 +246,20 @@ def __init__(self, version=None, environment=None, data_source=None, first_obser self._user_info = None self._file_info = None self._system_alert_table = None - self._id = None - self._workspace_id = None self.discriminator = None if version is not None: self.version = version + if id is not None: + self.id = id + if domain_id is not None: + self.domain_id = domain_id + if region_id is not None: + self.region_id = region_id + if workspace_id is not None: + self.workspace_id = workspace_id + if labels is not None: + self.labels = labels if environment is not None: self.environment = environment if data_source is not None: @@ -279,10 +304,10 @@ def __init__(self, version=None, environment=None, data_source=None, first_obser self.update_time = update_time if close_time is not None: self.close_time = close_time - if chop_phase is not None: - self.chop_phase = chop_phase if ipdrr_phase is not None: self.ipdrr_phase = ipdrr_phase + if chop_phase is not None: + self.chop_phase = chop_phase if ppdr_phase is not None: self.ppdr_phase = ppdr_phase if simulation is not None: @@ -309,16 +334,12 @@ def __init__(self, version=None, environment=None, data_source=None, first_obser self.file_info = file_info if system_alert_table is not None: self.system_alert_table = system_alert_table - if id is not None: - self.id = id - if workspace_id is not None: - self.workspace_id = workspace_id @property def version(self): """Gets the version of this ListAlertRsp. - 版本 + 告警对象的版本,该字段的值必须为华为云SSA服务确定的官方发布版本之一 :return: The version of this ListAlertRsp. :rtype: str @@ -329,19 +350,129 @@ def version(self): def version(self, version): """Sets the version of this ListAlertRsp. - 版本 + 告警对象的版本,该字段的值必须为华为云SSA服务确定的官方发布版本之一 :param version: The version of this ListAlertRsp. :type version: str """ self._version = version + @property + def id(self): + """Gets the id of this ListAlertRsp. + + 事件唯一标识,UUID格式,最大36个字符 + + :return: The id of this ListAlertRsp. + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this ListAlertRsp. + + 事件唯一标识,UUID格式,最大36个字符 + + :param id: The id of this ListAlertRsp. + :type id: str + """ + self._id = id + + @property + def domain_id(self): + """Gets the domain_id of this ListAlertRsp. + + 数据投递后,被委托用户的domain_id + + :return: The domain_id of this ListAlertRsp. + :rtype: str + """ + return self._domain_id + + @domain_id.setter + def domain_id(self, domain_id): + """Sets the domain_id of this ListAlertRsp. + + 数据投递后,被委托用户的domain_id + + :param domain_id: The domain_id of this ListAlertRsp. + :type domain_id: str + """ + self._domain_id = domain_id + + @property + def region_id(self): + """Gets the region_id of this ListAlertRsp. + + 数据投递后,被委托用户的region_id + + :return: The region_id of this ListAlertRsp. + :rtype: str + """ + return self._region_id + + @region_id.setter + def region_id(self, region_id): + """Sets the region_id of this ListAlertRsp. + + 数据投递后,被委托用户的region_id + + :param region_id: The region_id of this ListAlertRsp. + :type region_id: str + """ + self._region_id = region_id + + @property + def workspace_id(self): + """Gets the workspace_id of this ListAlertRsp. + + 当前的工作空间id + + :return: The workspace_id of this ListAlertRsp. + :rtype: str + """ + return self._workspace_id + + @workspace_id.setter + def workspace_id(self, workspace_id): + """Sets the workspace_id of this ListAlertRsp. + + 当前的工作空间id + + :param workspace_id: The workspace_id of this ListAlertRsp. + :type workspace_id: str + """ + self._workspace_id = workspace_id + + @property + def labels(self): + """Gets the labels of this ListAlertRsp. + + 标签,仅展示 + + :return: The labels of this ListAlertRsp. + :rtype: str + """ + return self._labels + + @labels.setter + def labels(self, labels): + """Sets the labels of this ListAlertRsp. + + 标签,仅展示 + + :param labels: The labels of this ListAlertRsp. + :type labels: str + """ + self._labels = labels + @property def environment(self): """Gets the environment of this ListAlertRsp. :return: The environment of this ListAlertRsp. - :rtype: :class:`huaweicloudsdksecmaster.v2.ShowAlertRspEnvironment` + :rtype: :class:`huaweicloudsdksecmaster.v2.AlertEnvironment` """ return self._environment @@ -350,7 +481,7 @@ def environment(self, environment): """Sets the environment of this ListAlertRsp. :param environment: The environment of this ListAlertRsp. - :type environment: :class:`huaweicloudsdksecmaster.v2.ShowAlertRspEnvironment` + :type environment: :class:`huaweicloudsdksecmaster.v2.AlertEnvironment` """ self._environment = environment @@ -359,7 +490,7 @@ def data_source(self): """Gets the data_source of this ListAlertRsp. :return: The data_source of this ListAlertRsp. - :rtype: :class:`huaweicloudsdksecmaster.v2.ShowAlertRspDatasource` + :rtype: :class:`huaweicloudsdksecmaster.v2.AlertDataSource` """ return self._data_source @@ -368,7 +499,7 @@ def data_source(self, data_source): """Sets the data_source of this ListAlertRsp. :param data_source: The data_source of this ListAlertRsp. - :type data_source: :class:`huaweicloudsdksecmaster.v2.ShowAlertRspDatasource` + :type data_source: :class:`huaweicloudsdksecmaster.v2.AlertDataSource` """ self._data_source = data_source @@ -376,7 +507,7 @@ def data_source(self, data_source): def first_observed_time(self): """Gets the first_observed_time of this ListAlertRsp. - Update time + 首次发现时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 :return: The first_observed_time of this ListAlertRsp. :rtype: str @@ -387,7 +518,7 @@ def first_observed_time(self): def first_observed_time(self, first_observed_time): """Sets the first_observed_time of this ListAlertRsp. - Update time + 首次发现时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 :param first_observed_time: The first_observed_time of this ListAlertRsp. :type first_observed_time: str @@ -398,7 +529,7 @@ def first_observed_time(self, first_observed_time): def last_observed_time(self): """Gets the last_observed_time of this ListAlertRsp. - Update time + 最近发现时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 :return: The last_observed_time of this ListAlertRsp. :rtype: str @@ -409,7 +540,7 @@ def last_observed_time(self): def last_observed_time(self, last_observed_time): """Sets the last_observed_time of this ListAlertRsp. - Update time + 最近发现时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 :param last_observed_time: The last_observed_time of this ListAlertRsp. :type last_observed_time: str @@ -420,7 +551,7 @@ def last_observed_time(self, last_observed_time): def create_time(self): """Gets the create_time of this ListAlertRsp. - Create time + 记录时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 :return: The create_time of this ListAlertRsp. :rtype: str @@ -431,7 +562,7 @@ def create_time(self): def create_time(self, create_time): """Sets the create_time of this ListAlertRsp. - Create time + 记录时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 :param create_time: The create_time of this ListAlertRsp. :type create_time: str @@ -442,7 +573,7 @@ def create_time(self, create_time): def arrive_time(self): """Gets the arrive_time of this ListAlertRsp. - Update time + 接收时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 :return: The arrive_time of this ListAlertRsp. :rtype: str @@ -453,7 +584,7 @@ def arrive_time(self): def arrive_time(self, arrive_time): """Sets the arrive_time of this ListAlertRsp. - Update time + 接收时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 :param arrive_time: The arrive_time of this ListAlertRsp. :type arrive_time: str @@ -464,7 +595,7 @@ def arrive_time(self, arrive_time): def title(self): """Gets the title of this ListAlertRsp. - The name, display only + 告警标题 :return: The title of this ListAlertRsp. :rtype: str @@ -475,7 +606,7 @@ def title(self): def title(self, title): """Sets the title of this ListAlertRsp. - The name, display only + 告警标题 :param title: The title of this ListAlertRsp. :type title: str @@ -486,7 +617,7 @@ def title(self, title): def description(self): """Gets the description of this ListAlertRsp. - The description, display only + 告警描述信息 :return: The description of this ListAlertRsp. :rtype: str @@ -497,7 +628,7 @@ def description(self): def description(self, description): """Sets the description of this ListAlertRsp. - The description, display only + 告警描述信息 :param description: The description of this ListAlertRsp. :type description: str @@ -508,7 +639,7 @@ def description(self, description): def source_url(self): """Gets the source_url of this ListAlertRsp. - 事件URL链接 + 告警URL链接,指向数据源产品中有关当前事件说明的页面 :return: The source_url of this ListAlertRsp. :rtype: str @@ -519,7 +650,7 @@ def source_url(self): def source_url(self, source_url): """Sets the source_url of this ListAlertRsp. - 事件URL链接 + 告警URL链接,指向数据源产品中有关当前事件说明的页面 :param source_url: The source_url of this ListAlertRsp. :type source_url: str @@ -552,7 +683,7 @@ def count(self, count): def confidence(self): """Gets the confidence of this ListAlertRsp. - 置信度 + 事件的置信度。置信度的定义旨在说明识别的行为或问题的可能性。 取值范围:0-100,0表示置信度为0%,100表示置信度为100% :return: The confidence of this ListAlertRsp. :rtype: int @@ -563,7 +694,7 @@ def confidence(self): def confidence(self, confidence): """Sets the confidence of this ListAlertRsp. - 置信度 + 事件的置信度。置信度的定义旨在说明识别的行为或问题的可能性。 取值范围:0-100,0表示置信度为0%,100表示置信度为100% :param confidence: The confidence of this ListAlertRsp. :type confidence: int @@ -574,7 +705,7 @@ def confidence(self, confidence): def severity(self): """Gets the severity of this ListAlertRsp. - 严重性等级 + 严重性等级,取值范围:Tips | Low | Medium | High | Fatal 说明: 0: Tips – 未发现任何问题。 1: Low – 无需针对问题执行任何操作。 2: Medium – 问题需要处理,但不紧急。 3: High – 问题必须优先处理。 4: Fatal – 问题必须立即处理,以防止产生进一步的损害 :return: The severity of this ListAlertRsp. :rtype: str @@ -585,7 +716,7 @@ def severity(self): def severity(self, severity): """Sets the severity of this ListAlertRsp. - 严重性等级 + 严重性等级,取值范围:Tips | Low | Medium | High | Fatal 说明: 0: Tips – 未发现任何问题。 1: Low – 无需针对问题执行任何操作。 2: Medium – 问题需要处理,但不紧急。 3: High – 问题必须优先处理。 4: Fatal – 问题必须立即处理,以防止产生进一步的损害 :param severity: The severity of this ListAlertRsp. :type severity: str @@ -596,7 +727,7 @@ def severity(self, severity): def criticality(self): """Gets the criticality of this ListAlertRsp. - 关键性,是指事件涉及的资源的重要性级别。 + 关键性,是指事件涉及的资源的重要性级别。 取值范围:0-100,0表示资源不关键,100表示最关键资源 :return: The criticality of this ListAlertRsp. :rtype: int @@ -607,7 +738,7 @@ def criticality(self): def criticality(self, criticality): """Sets the criticality of this ListAlertRsp. - 关键性,是指事件涉及的资源的重要性级别。 + 关键性,是指事件涉及的资源的重要性级别。 取值范围:0-100,0表示资源不关键,100表示最关键资源 :param criticality: The criticality of this ListAlertRsp. :type criticality: int @@ -618,10 +749,8 @@ def criticality(self, criticality): def alert_type(self): """Gets the alert_type of this ListAlertRsp. - 事件分类 - :return: The alert_type of this ListAlertRsp. - :rtype: object + :rtype: :class:`huaweicloudsdksecmaster.v2.AlertAlertType` """ return self._alert_type @@ -629,10 +758,8 @@ def alert_type(self): def alert_type(self, alert_type): """Sets the alert_type of this ListAlertRsp. - 事件分类 - :param alert_type: The alert_type of this ListAlertRsp. - :type alert_type: object + :type alert_type: :class:`huaweicloudsdksecmaster.v2.AlertAlertType` """ self._alert_type = alert_type @@ -640,10 +767,10 @@ def alert_type(self, alert_type): def network_list(self): """Gets the network_list of this ListAlertRsp. - network_list + 网络信息 :return: The network_list of this ListAlertRsp. - :rtype: list[:class:`huaweicloudsdksecmaster.v2.ListAlertRspNetworkList`] + :rtype: list[:class:`huaweicloudsdksecmaster.v2.AlertNetworkList`] """ return self._network_list @@ -651,10 +778,10 @@ def network_list(self): def network_list(self, network_list): """Sets the network_list of this ListAlertRsp. - network_list + 网络信息 :param network_list: The network_list of this ListAlertRsp. - :type network_list: list[:class:`huaweicloudsdksecmaster.v2.ListAlertRspNetworkList`] + :type network_list: list[:class:`huaweicloudsdksecmaster.v2.AlertNetworkList`] """ self._network_list = network_list @@ -662,10 +789,10 @@ def network_list(self, network_list): def resource_list(self): """Gets the resource_list of this ListAlertRsp. - network_list + 受影响资源 :return: The resource_list of this ListAlertRsp. - :rtype: list[:class:`huaweicloudsdksecmaster.v2.ShowAlertRspResourceList`] + :rtype: list[:class:`huaweicloudsdksecmaster.v2.AlertResourceList`] """ return self._resource_list @@ -673,10 +800,10 @@ def resource_list(self): def resource_list(self, resource_list): """Sets the resource_list of this ListAlertRsp. - network_list + 受影响资源 :param resource_list: The resource_list of this ListAlertRsp. - :type resource_list: list[:class:`huaweicloudsdksecmaster.v2.ShowAlertRspResourceList`] + :type resource_list: list[:class:`huaweicloudsdksecmaster.v2.AlertResourceList`] """ self._resource_list = resource_list @@ -685,7 +812,7 @@ def remediation(self): """Gets the remediation of this ListAlertRsp. :return: The remediation of this ListAlertRsp. - :rtype: :class:`huaweicloudsdksecmaster.v2.ShowAlertRspRemediation` + :rtype: :class:`huaweicloudsdksecmaster.v2.AlertRemediation` """ return self._remediation @@ -694,7 +821,7 @@ def remediation(self, remediation): """Sets the remediation of this ListAlertRsp. :param remediation: The remediation of this ListAlertRsp. - :type remediation: :class:`huaweicloudsdksecmaster.v2.ShowAlertRspRemediation` + :type remediation: :class:`huaweicloudsdksecmaster.v2.AlertRemediation` """ self._remediation = remediation @@ -702,7 +829,7 @@ def remediation(self, remediation): def verification_state(self): """Gets the verification_state of this ListAlertRsp. - 验证状态 + 验证状态,标识事件的准确性。可选类型如下: Unknown – 未知 True_Positive – 确认 False_Positive – 误报 默认填写Unknown :return: The verification_state of this ListAlertRsp. :rtype: str @@ -713,7 +840,7 @@ def verification_state(self): def verification_state(self, verification_state): """Sets the verification_state of this ListAlertRsp. - 验证状态 + 验证状态,标识事件的准确性。可选类型如下: Unknown – 未知 True_Positive – 确认 False_Positive – 误报 默认填写Unknown :param verification_state: The verification_state of this ListAlertRsp. :type verification_state: str @@ -724,7 +851,7 @@ def verification_state(self, verification_state): def handle_status(self): """Gets the handle_status of this ListAlertRsp. - 事件处理状态 + 事件处理状态,可选类型如下: Open – 打开,默认 Block – 阻塞 Closed – 关闭 默认填写Open :return: The handle_status of this ListAlertRsp. :rtype: str @@ -735,7 +862,7 @@ def handle_status(self): def handle_status(self, handle_status): """Sets the handle_status of this ListAlertRsp. - 事件处理状态 + 事件处理状态,可选类型如下: Open – 打开,默认 Block – 阻塞 Closed – 关闭 默认填写Open :param handle_status: The handle_status of this ListAlertRsp. :type handle_status: str @@ -746,7 +873,7 @@ def handle_status(self, handle_status): def sla(self): """Gets the sla of this ListAlertRsp. - sla + 约束闭环时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 :return: The sla of this ListAlertRsp. :rtype: str @@ -757,7 +884,7 @@ def sla(self): def sla(self, sla): """Sets the sla of this ListAlertRsp. - sla + 约束闭环时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 :param sla: The sla of this ListAlertRsp. :type sla: str @@ -768,7 +895,7 @@ def sla(self, sla): def update_time(self): """Gets the update_time of this ListAlertRsp. - Create time + 更新时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 :return: The update_time of this ListAlertRsp. :rtype: str @@ -779,7 +906,7 @@ def update_time(self): def update_time(self, update_time): """Sets the update_time of this ListAlertRsp. - Create time + 更新时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 :param update_time: The update_time of this ListAlertRsp. :type update_time: str @@ -790,7 +917,7 @@ def update_time(self, update_time): def close_time(self): """Gets the close_time of this ListAlertRsp. - Create time + 关闭时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 :return: The close_time of this ListAlertRsp. :rtype: str @@ -801,40 +928,18 @@ def close_time(self): def close_time(self, close_time): """Sets the close_time of this ListAlertRsp. - Create time + 关闭时间,格式ISO8601:YYYY-MM-DDTHH:mm:ss.ms+timezone。时区信息为事件发生时区,无法解析时区的时间,默认时区填东八区 :param close_time: The close_time of this ListAlertRsp. :type close_time: str """ self._close_time = close_time - @property - def chop_phase(self): - """Gets the chop_phase of this ListAlertRsp. - - 周期/处置阶段编号 - - :return: The chop_phase of this ListAlertRsp. - :rtype: str - """ - return self._chop_phase - - @chop_phase.setter - def chop_phase(self, chop_phase): - """Sets the chop_phase of this ListAlertRsp. - - 周期/处置阶段编号 - - :param chop_phase: The chop_phase of this ListAlertRsp. - :type chop_phase: str - """ - self._chop_phase = chop_phase - @property def ipdrr_phase(self): """Gets the ipdrr_phase of this ListAlertRsp. - 周期/处置阶段编号 + 周期/处置阶段编号 Prepartion|Detection and Analysis|Containm,Eradication& Recovery|Post-Incident-Activity :return: The ipdrr_phase of this ListAlertRsp. :rtype: str @@ -845,18 +950,40 @@ def ipdrr_phase(self): def ipdrr_phase(self, ipdrr_phase): """Sets the ipdrr_phase of this ListAlertRsp. - 周期/处置阶段编号 + 周期/处置阶段编号 Prepartion|Detection and Analysis|Containm,Eradication& Recovery|Post-Incident-Activity :param ipdrr_phase: The ipdrr_phase of this ListAlertRsp. :type ipdrr_phase: str """ self._ipdrr_phase = ipdrr_phase + @property + def chop_phase(self): + """Gets the chop_phase of this ListAlertRsp. + + 周期/处置阶段编号 Prepartion|Detection and Analysis|Containm,Eradication& Recovery|Post-Incident-Activity + + :return: The chop_phase of this ListAlertRsp. + :rtype: str + """ + return self._chop_phase + + @chop_phase.setter + def chop_phase(self, chop_phase): + """Sets the chop_phase of this ListAlertRsp. + + 周期/处置阶段编号 Prepartion|Detection and Analysis|Containm,Eradication& Recovery|Post-Incident-Activity + + :param chop_phase: The chop_phase of this ListAlertRsp. + :type chop_phase: str + """ + self._chop_phase = chop_phase + @property def ppdr_phase(self): """Gets the ppdr_phase of this ListAlertRsp. - 周期/处置阶段编号 + 周期/处置阶段编号 Prepartion|Detection and Analysis|Containm,Eradication& Recovery|Post-Incident-Activity :return: The ppdr_phase of this ListAlertRsp. :rtype: str @@ -867,7 +994,7 @@ def ppdr_phase(self): def ppdr_phase(self, ppdr_phase): """Sets the ppdr_phase of this ListAlertRsp. - 周期/处置阶段编号 + 周期/处置阶段编号 Prepartion|Detection and Analysis|Containm,Eradication& Recovery|Post-Incident-Activity :param ppdr_phase: The ppdr_phase of this ListAlertRsp. :type ppdr_phase: str @@ -878,7 +1005,7 @@ def ppdr_phase(self, ppdr_phase): def simulation(self): """Gets the simulation of this ListAlertRsp. - 是否为调试事件. + 调试字段 :return: The simulation of this ListAlertRsp. :rtype: str @@ -889,7 +1016,7 @@ def simulation(self): def simulation(self, simulation): """Sets the simulation of this ListAlertRsp. - 是否为调试事件. + 调试字段 :param simulation: The simulation of this ListAlertRsp. :type simulation: str @@ -900,7 +1027,7 @@ def simulation(self, simulation): def actor(self): """Gets the actor of this ListAlertRsp. - 委托人 + 告警调查员 :return: The actor of this ListAlertRsp. :rtype: str @@ -911,7 +1038,7 @@ def actor(self): def actor(self, actor): """Sets the actor of this ListAlertRsp. - 委托人 + 告警调查员 :param actor: The actor of this ListAlertRsp. :type actor: str @@ -922,7 +1049,7 @@ def actor(self, actor): def owner(self): """Gets the owner of this ListAlertRsp. - The name, display only + 责任人、服务责任人 :return: The owner of this ListAlertRsp. :rtype: str @@ -933,7 +1060,7 @@ def owner(self): def owner(self, owner): """Sets the owner of this ListAlertRsp. - The name, display only + 责任人、服务责任人 :param owner: The owner of this ListAlertRsp. :type owner: str @@ -944,7 +1071,7 @@ def owner(self, owner): def creator(self): """Gets the creator of this ListAlertRsp. - The name, display only + 创建人 :return: The creator of this ListAlertRsp. :rtype: str @@ -955,7 +1082,7 @@ def creator(self): def creator(self, creator): """Sets the creator of this ListAlertRsp. - The name, display only + 创建人 :param creator: The creator of this ListAlertRsp. :type creator: str @@ -966,7 +1093,7 @@ def creator(self, creator): def close_reason(self): """Gets the close_reason of this ListAlertRsp. - 关闭原因 + 关闭原因: 误检 - False detection 已解决 - Resolved 重复 - Repeated 其他 - Other :return: The close_reason of this ListAlertRsp. :rtype: str @@ -977,7 +1104,7 @@ def close_reason(self): def close_reason(self, close_reason): """Sets the close_reason of this ListAlertRsp. - 关闭原因 + 关闭原因: 误检 - False detection 已解决 - Resolved 重复 - Repeated 其他 - Other :param close_reason: The close_reason of this ListAlertRsp. :type close_reason: str @@ -988,7 +1115,7 @@ def close_reason(self, close_reason): def close_comment(self): """Gets the close_comment of this ListAlertRsp. - 关闭原因 + 关闭评论 :return: The close_comment of this ListAlertRsp. :rtype: str @@ -999,7 +1126,7 @@ def close_comment(self): def close_comment(self, close_comment): """Sets the close_comment of this ListAlertRsp. - 关闭原因 + 关闭评论 :param close_comment: The close_comment of this ListAlertRsp. :type close_comment: str @@ -1053,7 +1180,7 @@ def process(self): 进程信息 :return: The process of this ListAlertRsp. - :rtype: list[:class:`huaweicloudsdksecmaster.v2.ListAlertRspProcess`] + :rtype: list[:class:`huaweicloudsdksecmaster.v2.AlertProcess`] """ return self._process @@ -1064,7 +1191,7 @@ def process(self, process): 进程信息 :param process: The process of this ListAlertRsp. - :type process: list[:class:`huaweicloudsdksecmaster.v2.ListAlertRspProcess`] + :type process: list[:class:`huaweicloudsdksecmaster.v2.AlertProcess`] """ self._process = process @@ -1075,7 +1202,7 @@ def user_info(self): 用户信息 :return: The user_info of this ListAlertRsp. - :rtype: list[:class:`huaweicloudsdksecmaster.v2.ShowAlertRspUserInfo`] + :rtype: list[:class:`huaweicloudsdksecmaster.v2.AlertUserInfo`] """ return self._user_info @@ -1086,7 +1213,7 @@ def user_info(self, user_info): 用户信息 :param user_info: The user_info of this ListAlertRsp. - :type user_info: list[:class:`huaweicloudsdksecmaster.v2.ShowAlertRspUserInfo`] + :type user_info: list[:class:`huaweicloudsdksecmaster.v2.AlertUserInfo`] """ self._user_info = user_info @@ -1097,7 +1224,7 @@ def file_info(self): 文件信息 :return: The file_info of this ListAlertRsp. - :rtype: list[:class:`huaweicloudsdksecmaster.v2.ShowAlertRspFileInfo`] + :rtype: list[:class:`huaweicloudsdksecmaster.v2.AlertFileInfo`] """ return self._file_info @@ -1108,7 +1235,7 @@ def file_info(self, file_info): 文件信息 :param file_info: The file_info of this ListAlertRsp. - :type file_info: list[:class:`huaweicloudsdksecmaster.v2.ShowAlertRspFileInfo`] + :type file_info: list[:class:`huaweicloudsdksecmaster.v2.AlertFileInfo`] """ self._file_info = file_info @@ -1116,7 +1243,7 @@ def file_info(self, file_info): def system_alert_table(self): """Gets the system_alert_table of this ListAlertRsp. - 系统信息 + 告警管理列表的布局字段 :return: The system_alert_table of this ListAlertRsp. :rtype: object @@ -1127,57 +1254,13 @@ def system_alert_table(self): def system_alert_table(self, system_alert_table): """Sets the system_alert_table of this ListAlertRsp. - 系统信息 + 告警管理列表的布局字段 :param system_alert_table: The system_alert_table of this ListAlertRsp. :type system_alert_table: object """ self._system_alert_table = system_alert_table - @property - def id(self): - """Gets the id of this ListAlertRsp. - - Id value - - :return: The id of this ListAlertRsp. - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this ListAlertRsp. - - Id value - - :param id: The id of this ListAlertRsp. - :type id: str - """ - self._id = id - - @property - def workspace_id(self): - """Gets the workspace_id of this ListAlertRsp. - - workspace id - - :return: The workspace_id of this ListAlertRsp. - :rtype: str - """ - return self._workspace_id - - @workspace_id.setter - def workspace_id(self, workspace_id): - """Sets the workspace_id of this ListAlertRsp. - - workspace id - - :param workspace_id: The workspace_id of this ListAlertRsp. - :type workspace_id: str - """ - self._workspace_id = workspace_id - def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/list_alert_rsp_network_list.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/list_alert_rsp_network_list.py deleted file mode 100644 index 0fcf9c4242..0000000000 --- a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/list_alert_rsp_network_list.py +++ /dev/null @@ -1,376 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ListAlertRspNetworkList: - - """ - 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 = { - 'direction': 'object', - 'protocol': 'str', - 'src_ip': 'str', - 'src_port': 'int', - 'src_domain': 'str', - 'dest_ip': 'str', - 'dest_port': 'str', - 'dest_domain': 'str', - 'src_geo': 'object', - 'dest_geo': 'object' - } - - attribute_map = { - 'direction': 'direction', - 'protocol': 'protocol', - 'src_ip': 'src_ip', - 'src_port': 'src_port', - 'src_domain': 'src_domain', - 'dest_ip': 'dest_ip', - 'dest_port': 'dest_port', - 'dest_domain': 'dest_domain', - 'src_geo': 'src_geo', - 'dest_geo': 'dest_geo' - } - - def __init__(self, direction=None, protocol=None, src_ip=None, src_port=None, src_domain=None, dest_ip=None, dest_port=None, dest_domain=None, src_geo=None, dest_geo=None): - """ListAlertRspNetworkList - - The model defined in huaweicloud sdk - - :param direction: 方向,取值范围:IN | OUT - :type direction: object - :param protocol: 协议,参考:IANA registered name - :type protocol: str - :param src_ip: 源IP地址 - :type src_ip: str - :param src_port: 源端口,0–65535 - :type src_port: int - :param src_domain: 源域名,最大128个字符 - :type src_domain: str - :param dest_ip: 目的IP地址 - :type dest_ip: str - :param dest_port: 目的端口,0–65535 - :type dest_port: str - :param dest_domain: 目的域名,最大128个字符 - :type dest_domain: str - :param src_geo: 源IP的地理位置信息 - :type src_geo: object - :param dest_geo: 目的IP的地理位置信息 - :type dest_geo: object - """ - - - - self._direction = None - self._protocol = None - self._src_ip = None - self._src_port = None - self._src_domain = None - self._dest_ip = None - self._dest_port = None - self._dest_domain = None - self._src_geo = None - self._dest_geo = None - self.discriminator = None - - if direction is not None: - self.direction = direction - if protocol is not None: - self.protocol = protocol - if src_ip is not None: - self.src_ip = src_ip - if src_port is not None: - self.src_port = src_port - if src_domain is not None: - self.src_domain = src_domain - if dest_ip is not None: - self.dest_ip = dest_ip - if dest_port is not None: - self.dest_port = dest_port - if dest_domain is not None: - self.dest_domain = dest_domain - if src_geo is not None: - self.src_geo = src_geo - if dest_geo is not None: - self.dest_geo = dest_geo - - @property - def direction(self): - """Gets the direction of this ListAlertRspNetworkList. - - 方向,取值范围:IN | OUT - - :return: The direction of this ListAlertRspNetworkList. - :rtype: object - """ - return self._direction - - @direction.setter - def direction(self, direction): - """Sets the direction of this ListAlertRspNetworkList. - - 方向,取值范围:IN | OUT - - :param direction: The direction of this ListAlertRspNetworkList. - :type direction: object - """ - self._direction = direction - - @property - def protocol(self): - """Gets the protocol of this ListAlertRspNetworkList. - - 协议,参考:IANA registered name - - :return: The protocol of this ListAlertRspNetworkList. - :rtype: str - """ - return self._protocol - - @protocol.setter - def protocol(self, protocol): - """Sets the protocol of this ListAlertRspNetworkList. - - 协议,参考:IANA registered name - - :param protocol: The protocol of this ListAlertRspNetworkList. - :type protocol: str - """ - self._protocol = protocol - - @property - def src_ip(self): - """Gets the src_ip of this ListAlertRspNetworkList. - - 源IP地址 - - :return: The src_ip of this ListAlertRspNetworkList. - :rtype: str - """ - return self._src_ip - - @src_ip.setter - def src_ip(self, src_ip): - """Sets the src_ip of this ListAlertRspNetworkList. - - 源IP地址 - - :param src_ip: The src_ip of this ListAlertRspNetworkList. - :type src_ip: str - """ - self._src_ip = src_ip - - @property - def src_port(self): - """Gets the src_port of this ListAlertRspNetworkList. - - 源端口,0–65535 - - :return: The src_port of this ListAlertRspNetworkList. - :rtype: int - """ - return self._src_port - - @src_port.setter - def src_port(self, src_port): - """Sets the src_port of this ListAlertRspNetworkList. - - 源端口,0–65535 - - :param src_port: The src_port of this ListAlertRspNetworkList. - :type src_port: int - """ - self._src_port = src_port - - @property - def src_domain(self): - """Gets the src_domain of this ListAlertRspNetworkList. - - 源域名,最大128个字符 - - :return: The src_domain of this ListAlertRspNetworkList. - :rtype: str - """ - return self._src_domain - - @src_domain.setter - def src_domain(self, src_domain): - """Sets the src_domain of this ListAlertRspNetworkList. - - 源域名,最大128个字符 - - :param src_domain: The src_domain of this ListAlertRspNetworkList. - :type src_domain: str - """ - self._src_domain = src_domain - - @property - def dest_ip(self): - """Gets the dest_ip of this ListAlertRspNetworkList. - - 目的IP地址 - - :return: The dest_ip of this ListAlertRspNetworkList. - :rtype: str - """ - return self._dest_ip - - @dest_ip.setter - def dest_ip(self, dest_ip): - """Sets the dest_ip of this ListAlertRspNetworkList. - - 目的IP地址 - - :param dest_ip: The dest_ip of this ListAlertRspNetworkList. - :type dest_ip: str - """ - self._dest_ip = dest_ip - - @property - def dest_port(self): - """Gets the dest_port of this ListAlertRspNetworkList. - - 目的端口,0–65535 - - :return: The dest_port of this ListAlertRspNetworkList. - :rtype: str - """ - return self._dest_port - - @dest_port.setter - def dest_port(self, dest_port): - """Sets the dest_port of this ListAlertRspNetworkList. - - 目的端口,0–65535 - - :param dest_port: The dest_port of this ListAlertRspNetworkList. - :type dest_port: str - """ - self._dest_port = dest_port - - @property - def dest_domain(self): - """Gets the dest_domain of this ListAlertRspNetworkList. - - 目的域名,最大128个字符 - - :return: The dest_domain of this ListAlertRspNetworkList. - :rtype: str - """ - return self._dest_domain - - @dest_domain.setter - def dest_domain(self, dest_domain): - """Sets the dest_domain of this ListAlertRspNetworkList. - - 目的域名,最大128个字符 - - :param dest_domain: The dest_domain of this ListAlertRspNetworkList. - :type dest_domain: str - """ - self._dest_domain = dest_domain - - @property - def src_geo(self): - """Gets the src_geo of this ListAlertRspNetworkList. - - 源IP的地理位置信息 - - :return: The src_geo of this ListAlertRspNetworkList. - :rtype: object - """ - return self._src_geo - - @src_geo.setter - def src_geo(self, src_geo): - """Sets the src_geo of this ListAlertRspNetworkList. - - 源IP的地理位置信息 - - :param src_geo: The src_geo of this ListAlertRspNetworkList. - :type src_geo: object - """ - self._src_geo = src_geo - - @property - def dest_geo(self): - """Gets the dest_geo of this ListAlertRspNetworkList. - - 目的IP的地理位置信息 - - :return: The dest_geo of this ListAlertRspNetworkList. - :rtype: object - """ - return self._dest_geo - - @dest_geo.setter - def dest_geo(self, dest_geo): - """Sets the dest_geo of this ListAlertRspNetworkList. - - 目的IP的地理位置信息 - - :param dest_geo: The dest_geo of this ListAlertRspNetworkList. - :type dest_geo: object - """ - self._dest_geo = dest_geo - - 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, ListAlertRspNetworkList): - 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-secmaster/huaweicloudsdksecmaster/v2/model/list_alert_rsp_process.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/list_alert_rsp_process.py deleted file mode 100644 index a67e07a66e..0000000000 --- a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/list_alert_rsp_process.py +++ /dev/null @@ -1,231 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ListAlertRspProcess: - - """ - 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 = { - 'process_name': 'str', - 'process_path': 'str', - 'process_pid': 'int', - 'process_uid': 'int', - 'process_cmdline': 'str' - } - - attribute_map = { - 'process_name': 'process_name', - 'process_path': 'process_path', - 'process_pid': 'process_pid', - 'process_uid': 'process_uid', - 'process_cmdline': 'process_cmdline' - } - - def __init__(self, process_name=None, process_path=None, process_pid=None, process_uid=None, process_cmdline=None): - """ListAlertRspProcess - - The model defined in huaweicloud sdk - - :param process_name: The name, display only - :type process_name: str - :param process_path: The name, display only - :type process_path: str - :param process_pid: Id value - :type process_pid: int - :param process_uid: Id value - :type process_uid: int - :param process_cmdline: The name, display only - :type process_cmdline: str - """ - - - - self._process_name = None - self._process_path = None - self._process_pid = None - self._process_uid = None - self._process_cmdline = None - self.discriminator = None - - if process_name is not None: - self.process_name = process_name - if process_path is not None: - self.process_path = process_path - if process_pid is not None: - self.process_pid = process_pid - if process_uid is not None: - self.process_uid = process_uid - if process_cmdline is not None: - self.process_cmdline = process_cmdline - - @property - def process_name(self): - """Gets the process_name of this ListAlertRspProcess. - - The name, display only - - :return: The process_name of this ListAlertRspProcess. - :rtype: str - """ - return self._process_name - - @process_name.setter - def process_name(self, process_name): - """Sets the process_name of this ListAlertRspProcess. - - The name, display only - - :param process_name: The process_name of this ListAlertRspProcess. - :type process_name: str - """ - self._process_name = process_name - - @property - def process_path(self): - """Gets the process_path of this ListAlertRspProcess. - - The name, display only - - :return: The process_path of this ListAlertRspProcess. - :rtype: str - """ - return self._process_path - - @process_path.setter - def process_path(self, process_path): - """Sets the process_path of this ListAlertRspProcess. - - The name, display only - - :param process_path: The process_path of this ListAlertRspProcess. - :type process_path: str - """ - self._process_path = process_path - - @property - def process_pid(self): - """Gets the process_pid of this ListAlertRspProcess. - - Id value - - :return: The process_pid of this ListAlertRspProcess. - :rtype: int - """ - return self._process_pid - - @process_pid.setter - def process_pid(self, process_pid): - """Sets the process_pid of this ListAlertRspProcess. - - Id value - - :param process_pid: The process_pid of this ListAlertRspProcess. - :type process_pid: int - """ - self._process_pid = process_pid - - @property - def process_uid(self): - """Gets the process_uid of this ListAlertRspProcess. - - Id value - - :return: The process_uid of this ListAlertRspProcess. - :rtype: int - """ - return self._process_uid - - @process_uid.setter - def process_uid(self, process_uid): - """Sets the process_uid of this ListAlertRspProcess. - - Id value - - :param process_uid: The process_uid of this ListAlertRspProcess. - :type process_uid: int - """ - self._process_uid = process_uid - - @property - def process_cmdline(self): - """Gets the process_cmdline of this ListAlertRspProcess. - - The name, display only - - :return: The process_cmdline of this ListAlertRspProcess. - :rtype: str - """ - return self._process_cmdline - - @process_cmdline.setter - def process_cmdline(self, process_cmdline): - """Sets the process_cmdline of this ListAlertRspProcess. - - The name, display only - - :param process_cmdline: The process_cmdline of this ListAlertRspProcess. - :type process_cmdline: str - """ - self._process_cmdline = process_cmdline - - 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, ListAlertRspProcess): - 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-secmaster/huaweicloudsdksecmaster/v2/model/list_dataclass_fields_request.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/list_dataclass_fields_request.py index 42cea28b24..f46a37652e 100644 --- a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/list_dataclass_fields_request.py +++ b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/list_dataclass_fields_request.py @@ -19,8 +19,8 @@ class ListDataclassFieldsRequest: openapi_types = { 'project_id': 'str', 'workspace_id': 'str', - 'offset': 'float', - 'limit': 'float', + 'offset': 'int', + 'limit': 'int', 'name': 'str', 'is_built_in': 'bool', 'dataclass_id': 'str', @@ -50,9 +50,9 @@ def __init__(self, project_id=None, workspace_id=None, offset=None, limit=None, :param workspace_id: 工作空间id :type workspace_id: str :param offset: 偏移量 - :type offset: float + :type offset: int :param limit: 数据量 - :type limit: float + :type limit: int :param name: 名称查询 :type name: str :param is_built_in: 是否内置 @@ -145,7 +145,7 @@ def offset(self): 偏移量 :return: The offset of this ListDataclassFieldsRequest. - :rtype: float + :rtype: int """ return self._offset @@ -156,7 +156,7 @@ def offset(self, offset): 偏移量 :param offset: The offset of this ListDataclassFieldsRequest. - :type offset: float + :type offset: int """ self._offset = offset @@ -167,7 +167,7 @@ def limit(self): 数据量 :return: The limit of this ListDataclassFieldsRequest. - :rtype: float + :rtype: int """ return self._limit @@ -178,7 +178,7 @@ def limit(self, limit): 数据量 :param limit: The limit of this ListDataclassFieldsRequest. - :type limit: float + :type limit: int """ self._limit = limit diff --git a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/list_dataclass_request.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/list_dataclass_request.py index 30d4876ce6..18512d534f 100644 --- a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/list_dataclass_request.py +++ b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/list_dataclass_request.py @@ -19,8 +19,8 @@ class ListDataclassRequest: openapi_types = { 'project_id': 'str', 'workspace_id': 'str', - 'offset': 'float', - 'limit': 'float', + 'offset': 'int', + 'limit': 'int', 'name': 'str', 'business_code': 'str', 'description': 'str', @@ -48,9 +48,9 @@ def __init__(self, project_id=None, workspace_id=None, offset=None, limit=None, :param workspace_id: 工作空间id :type workspace_id: str :param offset: 偏移量 - :type offset: float + :type offset: int :param limit: 数据量 - :type limit: float + :type limit: int :param name: 名称查询 :type name: str :param business_code: 业务编码 @@ -139,7 +139,7 @@ def offset(self): 偏移量 :return: The offset of this ListDataclassRequest. - :rtype: float + :rtype: int """ return self._offset @@ -150,7 +150,7 @@ def offset(self, offset): 偏移量 :param offset: The offset of this ListDataclassRequest. - :type offset: float + :type offset: int """ self._offset = offset @@ -161,7 +161,7 @@ def limit(self): 数据量 :return: The limit of this ListDataclassRequest. - :rtype: float + :rtype: int """ return self._limit @@ -172,7 +172,7 @@ def limit(self, limit): 数据量 :param limit: The limit of this ListDataclassRequest. - :type limit: float + :type limit: int """ self._limit = limit diff --git a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/list_workflows_request.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/list_workflows_request.py index 015bac7e7e..02b2b0496d 100644 --- a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/list_workflows_request.py +++ b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/list_workflows_request.py @@ -19,8 +19,8 @@ class ListWorkflowsRequest: openapi_types = { 'project_id': 'str', 'workspace_id': 'str', - 'offset': 'float', - 'limit': 'float', + 'offset': 'int', + 'limit': 'int', 'order': 'str', 'sortby': 'str', 'enabled': 'bool', @@ -58,9 +58,9 @@ def __init__(self, project_id=None, workspace_id=None, offset=None, limit=None, :param workspace_id: 工作空间id :type workspace_id: str :param offset: 偏移量 - :type offset: float + :type offset: int :param limit: 数据量 - :type limit: float + :type limit: int :param order: 排序顺序,asc:升序,desc:降序 :type order: str :param sortby: 排序字段,create_time:创建时间,category:类型分类名称 @@ -174,7 +174,7 @@ def offset(self): 偏移量 :return: The offset of this ListWorkflowsRequest. - :rtype: float + :rtype: int """ return self._offset @@ -185,7 +185,7 @@ def offset(self, offset): 偏移量 :param offset: The offset of this ListWorkflowsRequest. - :type offset: float + :type offset: int """ self._offset = offset @@ -196,7 +196,7 @@ def limit(self): 数据量 :return: The limit of this ListWorkflowsRequest. - :rtype: float + :rtype: int """ return self._limit @@ -207,7 +207,7 @@ def limit(self, limit): 数据量 :param limit: The limit of this ListWorkflowsRequest. - :type limit: float + :type limit: int """ self._limit = limit diff --git a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/list_workspaces_request.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/list_workspaces_request.py new file mode 100644 index 0000000000..a5fd76cefb --- /dev/null +++ b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/list_workspaces_request.py @@ -0,0 +1,489 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ListWorkspacesRequest: + + """ + 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 = { + 'project_id': 'str', + 'offset': 'float', + 'limit': 'float', + 'region_id': 'str', + 'name': 'str', + 'description': 'str', + 'view_bind_id': 'str', + 'view_bind_name': 'str', + 'create_time_start': 'str', + 'create_time_end': 'str', + 'is_view': 'bool', + 'ids': 'str', + 'normal_project_id': 'str', + 'enterprise_project_id': 'str' + } + + attribute_map = { + 'project_id': 'project_id', + 'offset': 'offset', + 'limit': 'limit', + 'region_id': 'region_id', + 'name': 'name', + 'description': 'description', + 'view_bind_id': 'view_bind_id', + 'view_bind_name': 'view_bind_name', + 'create_time_start': 'create_time_start', + 'create_time_end': 'create_time_end', + 'is_view': 'is_view', + 'ids': 'ids', + 'normal_project_id': 'normal_project_id', + 'enterprise_project_id': 'enterprise_project_id' + } + + def __init__(self, project_id=None, offset=None, limit=None, region_id=None, name=None, description=None, view_bind_id=None, view_bind_name=None, create_time_start=None, create_time_end=None, is_view=None, ids=None, normal_project_id=None, enterprise_project_id=None): + """ListWorkspacesRequest + + The model defined in huaweicloud sdk + + :param project_id: 项目id + :type project_id: str + :param offset: 偏移量 指定返回记录的开始位置,必须为数字,取值范围为大于或等于0, + :type offset: float + :param limit: 每页显示个数 + :type limit: float + :param region_id: 区域id + :type region_id: str + :param name: 名称查询 + :type name: str + :param description: 描述查询 + :type description: str + :param view_bind_id: 视图绑定的空间id + :type view_bind_id: str + :param view_bind_name: 视图绑定的空间名称 + :type view_bind_name: str + :param create_time_start: 创建时间开始,例如2024-04-26T16:08:09Z+0800 + :type create_time_start: str + :param create_time_end: 创建时间结束,例如2024-04-2T16:08:09Z+0800 + :type create_time_end: str + :param is_view: 是否查询视图 true or false + :type is_view: bool + :param ids: 工作空间id数组,英文逗号分隔 + :type ids: str + :param normal_project_id: 普通项目的项目id + :type normal_project_id: str + :param enterprise_project_id: 企业项目的项目id + :type enterprise_project_id: str + """ + + + + self._project_id = None + self._offset = None + self._limit = None + self._region_id = None + self._name = None + self._description = None + self._view_bind_id = None + self._view_bind_name = None + self._create_time_start = None + self._create_time_end = None + self._is_view = None + self._ids = None + self._normal_project_id = None + self._enterprise_project_id = None + self.discriminator = None + + self.project_id = project_id + self.offset = offset + self.limit = limit + if region_id is not None: + self.region_id = region_id + if name is not None: + self.name = name + if description is not None: + self.description = description + if view_bind_id is not None: + self.view_bind_id = view_bind_id + if view_bind_name is not None: + self.view_bind_name = view_bind_name + if create_time_start is not None: + self.create_time_start = create_time_start + if create_time_end is not None: + self.create_time_end = create_time_end + if is_view is not None: + self.is_view = is_view + if ids is not None: + self.ids = ids + if normal_project_id is not None: + self.normal_project_id = normal_project_id + if enterprise_project_id is not None: + self.enterprise_project_id = enterprise_project_id + + @property + def project_id(self): + """Gets the project_id of this ListWorkspacesRequest. + + 项目id + + :return: The project_id of this ListWorkspacesRequest. + :rtype: str + """ + return self._project_id + + @project_id.setter + def project_id(self, project_id): + """Sets the project_id of this ListWorkspacesRequest. + + 项目id + + :param project_id: The project_id of this ListWorkspacesRequest. + :type project_id: str + """ + self._project_id = project_id + + @property + def offset(self): + """Gets the offset of this ListWorkspacesRequest. + + 偏移量 指定返回记录的开始位置,必须为数字,取值范围为大于或等于0, + + :return: The offset of this ListWorkspacesRequest. + :rtype: float + """ + return self._offset + + @offset.setter + def offset(self, offset): + """Sets the offset of this ListWorkspacesRequest. + + 偏移量 指定返回记录的开始位置,必须为数字,取值范围为大于或等于0, + + :param offset: The offset of this ListWorkspacesRequest. + :type offset: float + """ + self._offset = offset + + @property + def limit(self): + """Gets the limit of this ListWorkspacesRequest. + + 每页显示个数 + + :return: The limit of this ListWorkspacesRequest. + :rtype: float + """ + return self._limit + + @limit.setter + def limit(self, limit): + """Sets the limit of this ListWorkspacesRequest. + + 每页显示个数 + + :param limit: The limit of this ListWorkspacesRequest. + :type limit: float + """ + self._limit = limit + + @property + def region_id(self): + """Gets the region_id of this ListWorkspacesRequest. + + 区域id + + :return: The region_id of this ListWorkspacesRequest. + :rtype: str + """ + return self._region_id + + @region_id.setter + def region_id(self, region_id): + """Sets the region_id of this ListWorkspacesRequest. + + 区域id + + :param region_id: The region_id of this ListWorkspacesRequest. + :type region_id: str + """ + self._region_id = region_id + + @property + def name(self): + """Gets the name of this ListWorkspacesRequest. + + 名称查询 + + :return: The name of this ListWorkspacesRequest. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this ListWorkspacesRequest. + + 名称查询 + + :param name: The name of this ListWorkspacesRequest. + :type name: str + """ + self._name = name + + @property + def description(self): + """Gets the description of this ListWorkspacesRequest. + + 描述查询 + + :return: The description of this ListWorkspacesRequest. + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this ListWorkspacesRequest. + + 描述查询 + + :param description: The description of this ListWorkspacesRequest. + :type description: str + """ + self._description = description + + @property + def view_bind_id(self): + """Gets the view_bind_id of this ListWorkspacesRequest. + + 视图绑定的空间id + + :return: The view_bind_id of this ListWorkspacesRequest. + :rtype: str + """ + return self._view_bind_id + + @view_bind_id.setter + def view_bind_id(self, view_bind_id): + """Sets the view_bind_id of this ListWorkspacesRequest. + + 视图绑定的空间id + + :param view_bind_id: The view_bind_id of this ListWorkspacesRequest. + :type view_bind_id: str + """ + self._view_bind_id = view_bind_id + + @property + def view_bind_name(self): + """Gets the view_bind_name of this ListWorkspacesRequest. + + 视图绑定的空间名称 + + :return: The view_bind_name of this ListWorkspacesRequest. + :rtype: str + """ + return self._view_bind_name + + @view_bind_name.setter + def view_bind_name(self, view_bind_name): + """Sets the view_bind_name of this ListWorkspacesRequest. + + 视图绑定的空间名称 + + :param view_bind_name: The view_bind_name of this ListWorkspacesRequest. + :type view_bind_name: str + """ + self._view_bind_name = view_bind_name + + @property + def create_time_start(self): + """Gets the create_time_start of this ListWorkspacesRequest. + + 创建时间开始,例如2024-04-26T16:08:09Z+0800 + + :return: The create_time_start of this ListWorkspacesRequest. + :rtype: str + """ + return self._create_time_start + + @create_time_start.setter + def create_time_start(self, create_time_start): + """Sets the create_time_start of this ListWorkspacesRequest. + + 创建时间开始,例如2024-04-26T16:08:09Z+0800 + + :param create_time_start: The create_time_start of this ListWorkspacesRequest. + :type create_time_start: str + """ + self._create_time_start = create_time_start + + @property + def create_time_end(self): + """Gets the create_time_end of this ListWorkspacesRequest. + + 创建时间结束,例如2024-04-2T16:08:09Z+0800 + + :return: The create_time_end of this ListWorkspacesRequest. + :rtype: str + """ + return self._create_time_end + + @create_time_end.setter + def create_time_end(self, create_time_end): + """Sets the create_time_end of this ListWorkspacesRequest. + + 创建时间结束,例如2024-04-2T16:08:09Z+0800 + + :param create_time_end: The create_time_end of this ListWorkspacesRequest. + :type create_time_end: str + """ + self._create_time_end = create_time_end + + @property + def is_view(self): + """Gets the is_view of this ListWorkspacesRequest. + + 是否查询视图 true or false + + :return: The is_view of this ListWorkspacesRequest. + :rtype: bool + """ + return self._is_view + + @is_view.setter + def is_view(self, is_view): + """Sets the is_view of this ListWorkspacesRequest. + + 是否查询视图 true or false + + :param is_view: The is_view of this ListWorkspacesRequest. + :type is_view: bool + """ + self._is_view = is_view + + @property + def ids(self): + """Gets the ids of this ListWorkspacesRequest. + + 工作空间id数组,英文逗号分隔 + + :return: The ids of this ListWorkspacesRequest. + :rtype: str + """ + return self._ids + + @ids.setter + def ids(self, ids): + """Sets the ids of this ListWorkspacesRequest. + + 工作空间id数组,英文逗号分隔 + + :param ids: The ids of this ListWorkspacesRequest. + :type ids: str + """ + self._ids = ids + + @property + def normal_project_id(self): + """Gets the normal_project_id of this ListWorkspacesRequest. + + 普通项目的项目id + + :return: The normal_project_id of this ListWorkspacesRequest. + :rtype: str + """ + return self._normal_project_id + + @normal_project_id.setter + def normal_project_id(self, normal_project_id): + """Sets the normal_project_id of this ListWorkspacesRequest. + + 普通项目的项目id + + :param normal_project_id: The normal_project_id of this ListWorkspacesRequest. + :type normal_project_id: str + """ + self._normal_project_id = normal_project_id + + @property + def enterprise_project_id(self): + """Gets the enterprise_project_id of this ListWorkspacesRequest. + + 企业项目的项目id + + :return: The enterprise_project_id of this ListWorkspacesRequest. + :rtype: str + """ + return self._enterprise_project_id + + @enterprise_project_id.setter + def enterprise_project_id(self, enterprise_project_id): + """Sets the enterprise_project_id of this ListWorkspacesRequest. + + 企业项目的项目id + + :param enterprise_project_id: The enterprise_project_id of this ListWorkspacesRequest. + :type enterprise_project_id: str + """ + self._enterprise_project_id = enterprise_project_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, ListWorkspacesRequest): + 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-secmaster/huaweicloudsdksecmaster/v2/model/list_workspaces_response.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/list_workspaces_response.py new file mode 100644 index 0000000000..4890c4086f --- /dev/null +++ b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/list_workspaces_response.py @@ -0,0 +1,145 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_response import SdkResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ListWorkspacesResponse(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 = { + 'workspaces': 'list[CreateWorkspaceResponseBody]', + 'count': 'float' + } + + attribute_map = { + 'workspaces': 'workspaces', + 'count': 'count' + } + + def __init__(self, workspaces=None, count=None): + """ListWorkspacesResponse + + The model defined in huaweicloud sdk + + :param workspaces: 空间信息 + :type workspaces: list[:class:`huaweicloudsdksecmaster.v2.CreateWorkspaceResponseBody`] + :param count: 数据总量 + :type count: float + """ + + super(ListWorkspacesResponse, self).__init__() + + self._workspaces = None + self._count = None + self.discriminator = None + + if workspaces is not None: + self.workspaces = workspaces + if count is not None: + self.count = count + + @property + def workspaces(self): + """Gets the workspaces of this ListWorkspacesResponse. + + 空间信息 + + :return: The workspaces of this ListWorkspacesResponse. + :rtype: list[:class:`huaweicloudsdksecmaster.v2.CreateWorkspaceResponseBody`] + """ + return self._workspaces + + @workspaces.setter + def workspaces(self, workspaces): + """Sets the workspaces of this ListWorkspacesResponse. + + 空间信息 + + :param workspaces: The workspaces of this ListWorkspacesResponse. + :type workspaces: list[:class:`huaweicloudsdksecmaster.v2.CreateWorkspaceResponseBody`] + """ + self._workspaces = workspaces + + @property + def count(self): + """Gets the count of this ListWorkspacesResponse. + + 数据总量 + + :return: The count of this ListWorkspacesResponse. + :rtype: float + """ + return self._count + + @count.setter + def count(self, count): + """Sets the count of this ListWorkspacesResponse. + + 数据总量 + + :param count: The count of this ListWorkspacesResponse. + :type count: float + """ + 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, ListWorkspacesResponse): + 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-secmaster/huaweicloudsdksecmaster/v2/model/metric_format.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/metric_format.py new file mode 100644 index 0000000000..fad5070ba2 --- /dev/null +++ b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/metric_format.py @@ -0,0 +1,202 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class MetricFormat: + + """ + 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 = { + 'data': 'str', + 'display': 'str', + 'display_param': 'dict(str, str)', + 'data_param': 'dict(str, str)' + } + + attribute_map = { + 'data': 'data', + 'display': 'display', + 'display_param': 'display_param', + 'data_param': 'data_param' + } + + def __init__(self, data=None, display=None, display_param=None, data_param=None): + """MetricFormat + + The model defined in huaweicloud sdk + + :param data: 数据格式 + :type data: str + :param display: 显示格式 + :type display: str + :param display_param: 显示参数 + :type display_param: dict(str, str) + :param data_param: 数据参数 + :type data_param: dict(str, str) + """ + + + + self._data = None + self._display = None + self._display_param = None + self._data_param = None + self.discriminator = None + + if data is not None: + self.data = data + if display is not None: + self.display = display + if display_param is not None: + self.display_param = display_param + if data_param is not None: + self.data_param = data_param + + @property + def data(self): + """Gets the data of this MetricFormat. + + 数据格式 + + :return: The data of this MetricFormat. + :rtype: str + """ + return self._data + + @data.setter + def data(self, data): + """Sets the data of this MetricFormat. + + 数据格式 + + :param data: The data of this MetricFormat. + :type data: str + """ + self._data = data + + @property + def display(self): + """Gets the display of this MetricFormat. + + 显示格式 + + :return: The display of this MetricFormat. + :rtype: str + """ + return self._display + + @display.setter + def display(self, display): + """Sets the display of this MetricFormat. + + 显示格式 + + :param display: The display of this MetricFormat. + :type display: str + """ + self._display = display + + @property + def display_param(self): + """Gets the display_param of this MetricFormat. + + 显示参数 + + :return: The display_param of this MetricFormat. + :rtype: dict(str, str) + """ + return self._display_param + + @display_param.setter + def display_param(self, display_param): + """Sets the display_param of this MetricFormat. + + 显示参数 + + :param display_param: The display_param of this MetricFormat. + :type display_param: dict(str, str) + """ + self._display_param = display_param + + @property + def data_param(self): + """Gets the data_param of this MetricFormat. + + 数据参数 + + :return: The data_param of this MetricFormat. + :rtype: dict(str, str) + """ + return self._data_param + + @data_param.setter + def data_param(self, data_param): + """Sets the data_param of this MetricFormat. + + 数据参数 + + :param data_param: The data_param of this MetricFormat. + :type data_param: dict(str, str) + """ + self._data_param = data_param + + 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, MetricFormat): + 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-secmaster/huaweicloudsdksecmaster/v2/model/post_paid_param.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/post_paid_param.py new file mode 100644 index 0000000000..34b8bd642d --- /dev/null +++ b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/post_paid_param.py @@ -0,0 +1,229 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class PostPaidParam: + + """ + 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 = { + 'region_id': 'str', + 'domain_id': 'str', + 'tag_list': 'list[TagInfo]', + 'product_list': 'list[ProductPostPaid]', + 'operate_type': 'str' + } + + attribute_map = { + 'region_id': 'region_id', + 'domain_id': 'domain_id', + 'tag_list': 'tag_list', + 'product_list': 'product_list', + 'operate_type': 'operate_type' + } + + def __init__(self, region_id=None, domain_id=None, tag_list=None, product_list=None, operate_type=None): + """PostPaidParam + + The model defined in huaweicloud sdk + + :param region_id: 区域ID,如cn-north-4 + :type region_id: str + :param domain_id: domainId + :type domain_id: str + :param tag_list: 计费标签 + :type tag_list: list[:class:`huaweicloudsdksecmaster.v2.TagInfo`] + :param product_list: 商品列表 + :type product_list: list[:class:`huaweicloudsdksecmaster.v2.ProductPostPaid`] + :param operate_type: 操作类型:create新购, addition增加配额 + :type operate_type: str + """ + + + + self._region_id = None + self._domain_id = None + self._tag_list = None + self._product_list = None + self._operate_type = None + self.discriminator = None + + self.region_id = region_id + self.domain_id = domain_id + if tag_list is not None: + self.tag_list = tag_list + if product_list is not None: + self.product_list = product_list + if operate_type is not None: + self.operate_type = operate_type + + @property + def region_id(self): + """Gets the region_id of this PostPaidParam. + + 区域ID,如cn-north-4 + + :return: The region_id of this PostPaidParam. + :rtype: str + """ + return self._region_id + + @region_id.setter + def region_id(self, region_id): + """Sets the region_id of this PostPaidParam. + + 区域ID,如cn-north-4 + + :param region_id: The region_id of this PostPaidParam. + :type region_id: str + """ + self._region_id = region_id + + @property + def domain_id(self): + """Gets the domain_id of this PostPaidParam. + + domainId + + :return: The domain_id of this PostPaidParam. + :rtype: str + """ + return self._domain_id + + @domain_id.setter + def domain_id(self, domain_id): + """Sets the domain_id of this PostPaidParam. + + domainId + + :param domain_id: The domain_id of this PostPaidParam. + :type domain_id: str + """ + self._domain_id = domain_id + + @property + def tag_list(self): + """Gets the tag_list of this PostPaidParam. + + 计费标签 + + :return: The tag_list of this PostPaidParam. + :rtype: list[:class:`huaweicloudsdksecmaster.v2.TagInfo`] + """ + return self._tag_list + + @tag_list.setter + def tag_list(self, tag_list): + """Sets the tag_list of this PostPaidParam. + + 计费标签 + + :param tag_list: The tag_list of this PostPaidParam. + :type tag_list: list[:class:`huaweicloudsdksecmaster.v2.TagInfo`] + """ + self._tag_list = tag_list + + @property + def product_list(self): + """Gets the product_list of this PostPaidParam. + + 商品列表 + + :return: The product_list of this PostPaidParam. + :rtype: list[:class:`huaweicloudsdksecmaster.v2.ProductPostPaid`] + """ + return self._product_list + + @product_list.setter + def product_list(self, product_list): + """Sets the product_list of this PostPaidParam. + + 商品列表 + + :param product_list: The product_list of this PostPaidParam. + :type product_list: list[:class:`huaweicloudsdksecmaster.v2.ProductPostPaid`] + """ + self._product_list = product_list + + @property + def operate_type(self): + """Gets the operate_type of this PostPaidParam. + + 操作类型:create新购, addition增加配额 + + :return: The operate_type of this PostPaidParam. + :rtype: str + """ + return self._operate_type + + @operate_type.setter + def operate_type(self, operate_type): + """Sets the operate_type of this PostPaidParam. + + 操作类型:create新购, addition增加配额 + + :param operate_type: The operate_type of this PostPaidParam. + :type operate_type: str + """ + self._operate_type = operate_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, PostPaidParam): + 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-secmaster/huaweicloudsdksecmaster/v2/model/product_post_paid.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/product_post_paid.py new file mode 100644 index 0000000000..5d1842336c --- /dev/null +++ b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/product_post_paid.py @@ -0,0 +1,367 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ProductPostPaid: + + """ + 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', + 'product_id': 'str', + 'cloud_service_type': 'str', + 'resource_type': 'str', + 'resource_spec_code': 'str', + 'usage_measure_id': 'int', + 'usage_value': 'float', + 'resource_size': 'int', + 'usage_factor': 'str', + 'resource_id': 'str' + } + + attribute_map = { + 'id': 'id', + 'product_id': 'product_id', + 'cloud_service_type': 'cloud_service_type', + 'resource_type': 'resource_type', + 'resource_spec_code': 'resource_spec_code', + 'usage_measure_id': 'usage_measure_id', + 'usage_value': 'usage_value', + 'resource_size': 'resource_size', + 'usage_factor': 'usage_factor', + 'resource_id': 'resource_id' + } + + def __init__(self, id=None, product_id=None, cloud_service_type=None, resource_type=None, resource_spec_code=None, usage_measure_id=None, usage_value=None, resource_size=None, usage_factor=None, resource_id=None): + """ProductPostPaid + + The model defined in huaweicloud sdk + + :param id: ID标识,同一次询价中不能重复,用于标识返回询价结果和请求的映射关系 + :type id: str + :param product_id: 产品Id,通过向CBC询价获取该商品的标识 + :type product_id: str + :param cloud_service_type: 云服务类型,固定值为hws.service.type.sa + :type cloud_service_type: str + :param resource_type: 用户购买云服务产品的资源类型,例如SecMaster中的典型场景配置,资源类型为hws.resource.type.secmaster.typical + :type resource_type: str + :param resource_spec_code: 用户购买云服务产品的资源规格,例如安全云脑中的的基础版,资源规格为secmaster.basic + :type resource_spec_code: str + :param usage_measure_id: 使用量单位标识,按需询价必填,例如按小时询价,使用量值为1,使用量单位为小时,枚举值如下: 4:小时 10:GB(带宽按流量询价使用) 11:MB(带宽按流量询价使用) + :type usage_measure_id: int + :param usage_value: 使用量值,按需询价必填,例如按小时询价,使用量值为1,使用量单位为小时 + :type usage_value: float + :param resource_size: 配额个数 + :type resource_size: int + :param usage_factor: 使用量因子,按需计费必填,取值和话单中的使用量因子一致,云服务和使用量因子对应关系如下: 典型场景配置:Duration 态势管理:duration 安全编排:count 智能分析:flow + :type usage_factor: str + :param resource_id: 资源id,仅在增加配额的时候传入 + :type resource_id: str + """ + + + + self._id = None + self._product_id = None + self._cloud_service_type = None + self._resource_type = None + self._resource_spec_code = None + self._usage_measure_id = None + self._usage_value = None + self._resource_size = None + self._usage_factor = None + self._resource_id = None + self.discriminator = None + + self.id = id + self.product_id = product_id + self.cloud_service_type = cloud_service_type + self.resource_type = resource_type + self.resource_spec_code = resource_spec_code + self.usage_measure_id = usage_measure_id + self.usage_value = usage_value + self.resource_size = resource_size + self.usage_factor = usage_factor + if resource_id is not None: + self.resource_id = resource_id + + @property + def id(self): + """Gets the id of this ProductPostPaid. + + ID标识,同一次询价中不能重复,用于标识返回询价结果和请求的映射关系 + + :return: The id of this ProductPostPaid. + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this ProductPostPaid. + + ID标识,同一次询价中不能重复,用于标识返回询价结果和请求的映射关系 + + :param id: The id of this ProductPostPaid. + :type id: str + """ + self._id = id + + @property + def product_id(self): + """Gets the product_id of this ProductPostPaid. + + 产品Id,通过向CBC询价获取该商品的标识 + + :return: The product_id of this ProductPostPaid. + :rtype: str + """ + return self._product_id + + @product_id.setter + def product_id(self, product_id): + """Sets the product_id of this ProductPostPaid. + + 产品Id,通过向CBC询价获取该商品的标识 + + :param product_id: The product_id of this ProductPostPaid. + :type product_id: str + """ + self._product_id = product_id + + @property + def cloud_service_type(self): + """Gets the cloud_service_type of this ProductPostPaid. + + 云服务类型,固定值为hws.service.type.sa + + :return: The cloud_service_type of this ProductPostPaid. + :rtype: str + """ + return self._cloud_service_type + + @cloud_service_type.setter + def cloud_service_type(self, cloud_service_type): + """Sets the cloud_service_type of this ProductPostPaid. + + 云服务类型,固定值为hws.service.type.sa + + :param cloud_service_type: The cloud_service_type of this ProductPostPaid. + :type cloud_service_type: str + """ + self._cloud_service_type = cloud_service_type + + @property + def resource_type(self): + """Gets the resource_type of this ProductPostPaid. + + 用户购买云服务产品的资源类型,例如SecMaster中的典型场景配置,资源类型为hws.resource.type.secmaster.typical + + :return: The resource_type of this ProductPostPaid. + :rtype: str + """ + return self._resource_type + + @resource_type.setter + def resource_type(self, resource_type): + """Sets the resource_type of this ProductPostPaid. + + 用户购买云服务产品的资源类型,例如SecMaster中的典型场景配置,资源类型为hws.resource.type.secmaster.typical + + :param resource_type: The resource_type of this ProductPostPaid. + :type resource_type: str + """ + self._resource_type = resource_type + + @property + def resource_spec_code(self): + """Gets the resource_spec_code of this ProductPostPaid. + + 用户购买云服务产品的资源规格,例如安全云脑中的的基础版,资源规格为secmaster.basic + + :return: The resource_spec_code of this ProductPostPaid. + :rtype: str + """ + return self._resource_spec_code + + @resource_spec_code.setter + def resource_spec_code(self, resource_spec_code): + """Sets the resource_spec_code of this ProductPostPaid. + + 用户购买云服务产品的资源规格,例如安全云脑中的的基础版,资源规格为secmaster.basic + + :param resource_spec_code: The resource_spec_code of this ProductPostPaid. + :type resource_spec_code: str + """ + self._resource_spec_code = resource_spec_code + + @property + def usage_measure_id(self): + """Gets the usage_measure_id of this ProductPostPaid. + + 使用量单位标识,按需询价必填,例如按小时询价,使用量值为1,使用量单位为小时,枚举值如下: 4:小时 10:GB(带宽按流量询价使用) 11:MB(带宽按流量询价使用) + + :return: The usage_measure_id of this ProductPostPaid. + :rtype: int + """ + return self._usage_measure_id + + @usage_measure_id.setter + def usage_measure_id(self, usage_measure_id): + """Sets the usage_measure_id of this ProductPostPaid. + + 使用量单位标识,按需询价必填,例如按小时询价,使用量值为1,使用量单位为小时,枚举值如下: 4:小时 10:GB(带宽按流量询价使用) 11:MB(带宽按流量询价使用) + + :param usage_measure_id: The usage_measure_id of this ProductPostPaid. + :type usage_measure_id: int + """ + self._usage_measure_id = usage_measure_id + + @property + def usage_value(self): + """Gets the usage_value of this ProductPostPaid. + + 使用量值,按需询价必填,例如按小时询价,使用量值为1,使用量单位为小时 + + :return: The usage_value of this ProductPostPaid. + :rtype: float + """ + return self._usage_value + + @usage_value.setter + def usage_value(self, usage_value): + """Sets the usage_value of this ProductPostPaid. + + 使用量值,按需询价必填,例如按小时询价,使用量值为1,使用量单位为小时 + + :param usage_value: The usage_value of this ProductPostPaid. + :type usage_value: float + """ + self._usage_value = usage_value + + @property + def resource_size(self): + """Gets the resource_size of this ProductPostPaid. + + 配额个数 + + :return: The resource_size of this ProductPostPaid. + :rtype: int + """ + return self._resource_size + + @resource_size.setter + def resource_size(self, resource_size): + """Sets the resource_size of this ProductPostPaid. + + 配额个数 + + :param resource_size: The resource_size of this ProductPostPaid. + :type resource_size: int + """ + self._resource_size = resource_size + + @property + def usage_factor(self): + """Gets the usage_factor of this ProductPostPaid. + + 使用量因子,按需计费必填,取值和话单中的使用量因子一致,云服务和使用量因子对应关系如下: 典型场景配置:Duration 态势管理:duration 安全编排:count 智能分析:flow + + :return: The usage_factor of this ProductPostPaid. + :rtype: str + """ + return self._usage_factor + + @usage_factor.setter + def usage_factor(self, usage_factor): + """Sets the usage_factor of this ProductPostPaid. + + 使用量因子,按需计费必填,取值和话单中的使用量因子一致,云服务和使用量因子对应关系如下: 典型场景配置:Duration 态势管理:duration 安全编排:count 智能分析:flow + + :param usage_factor: The usage_factor of this ProductPostPaid. + :type usage_factor: str + """ + self._usage_factor = usage_factor + + @property + def resource_id(self): + """Gets the resource_id of this ProductPostPaid. + + 资源id,仅在增加配额的时候传入 + + :return: The resource_id of this ProductPostPaid. + :rtype: str + """ + return self._resource_id + + @resource_id.setter + def resource_id(self, resource_id): + """Sets the resource_id of this ProductPostPaid. + + 资源id,仅在增加配额的时候传入 + + :param resource_id: The resource_id of this ProductPostPaid. + :type resource_id: str + """ + self._resource_id = resource_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, ProductPostPaid): + 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-secmaster/huaweicloudsdksecmaster/v2/model/search_baseline_request.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/search_baseline_request.py new file mode 100644 index 0000000000..115f6ca392 --- /dev/null +++ b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/search_baseline_request.py @@ -0,0 +1,195 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class SearchBaselineRequest: + + """ + 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 = { + 'project_id': 'str', + 'workspace_id': 'str', + 'x_language': 'str', + 'body': 'BaselineSearchRequestBody' + } + + attribute_map = { + 'project_id': 'project_id', + 'workspace_id': 'workspace_id', + 'x_language': 'X-Language', + 'body': 'body' + } + + def __init__(self, project_id=None, workspace_id=None, x_language=None, body=None): + """SearchBaselineRequest + + The model defined in huaweicloud sdk + + :param project_id: 项目id + :type project_id: str + :param workspace_id: 工作空间id + :type workspace_id: str + :param x_language: 语言,参考值:zh-CN、en-US + :type x_language: str + :param body: Body of the SearchBaselineRequest + :type body: :class:`huaweicloudsdksecmaster.v2.BaselineSearchRequestBody` + """ + + + + self._project_id = None + self._workspace_id = None + self._x_language = None + self._body = None + self.discriminator = None + + self.project_id = project_id + self.workspace_id = workspace_id + self.x_language = x_language + if body is not None: + self.body = body + + @property + def project_id(self): + """Gets the project_id of this SearchBaselineRequest. + + 项目id + + :return: The project_id of this SearchBaselineRequest. + :rtype: str + """ + return self._project_id + + @project_id.setter + def project_id(self, project_id): + """Sets the project_id of this SearchBaselineRequest. + + 项目id + + :param project_id: The project_id of this SearchBaselineRequest. + :type project_id: str + """ + self._project_id = project_id + + @property + def workspace_id(self): + """Gets the workspace_id of this SearchBaselineRequest. + + 工作空间id + + :return: The workspace_id of this SearchBaselineRequest. + :rtype: str + """ + return self._workspace_id + + @workspace_id.setter + def workspace_id(self, workspace_id): + """Sets the workspace_id of this SearchBaselineRequest. + + 工作空间id + + :param workspace_id: The workspace_id of this SearchBaselineRequest. + :type workspace_id: str + """ + self._workspace_id = workspace_id + + @property + def x_language(self): + """Gets the x_language of this SearchBaselineRequest. + + 语言,参考值:zh-CN、en-US + + :return: The x_language of this SearchBaselineRequest. + :rtype: str + """ + return self._x_language + + @x_language.setter + def x_language(self, x_language): + """Sets the x_language of this SearchBaselineRequest. + + 语言,参考值:zh-CN、en-US + + :param x_language: The x_language of this SearchBaselineRequest. + :type x_language: str + """ + self._x_language = x_language + + @property + def body(self): + """Gets the body of this SearchBaselineRequest. + + :return: The body of this SearchBaselineRequest. + :rtype: :class:`huaweicloudsdksecmaster.v2.BaselineSearchRequestBody` + """ + return self._body + + @body.setter + def body(self, body): + """Sets the body of this SearchBaselineRequest. + + :param body: The body of this SearchBaselineRequest. + :type body: :class:`huaweicloudsdksecmaster.v2.BaselineSearchRequestBody` + """ + 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, SearchBaselineRequest): + 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-secmaster/huaweicloudsdksecmaster/v2/model/search_baseline_response.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/search_baseline_response.py new file mode 100644 index 0000000000..c4a1dc2a7b --- /dev/null +++ b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/search_baseline_response.py @@ -0,0 +1,261 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_response import SdkResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class SearchBaselineResponse(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': 'str', + 'total': 'int', + 'size': 'int', + 'page': 'int', + 'success': 'bool', + 'data': 'list[str]' + } + + attribute_map = { + 'code': 'code', + 'total': 'total', + 'size': 'size', + 'page': 'page', + 'success': 'success', + 'data': 'data' + } + + def __init__(self, code=None, total=None, size=None, page=None, success=None, data=None): + """SearchBaselineResponse + + The model defined in huaweicloud sdk + + :param code: 错误码 + :type code: str + :param total: 查询结果总数 + :type total: int + :param size: 分页大小 + :type size: int + :param page: 偏移量 + :type page: int + :param success: 是否成功 + :type success: bool + :param data: 查询结果列表 + :type data: list[str] + """ + + super(SearchBaselineResponse, self).__init__() + + self._code = None + self._total = None + self._size = None + self._page = None + self._success = None + self._data = None + self.discriminator = None + + if code is not None: + self.code = code + if total is not None: + self.total = total + if size is not None: + self.size = size + if page is not None: + self.page = page + if success is not None: + self.success = success + if data is not None: + self.data = data + + @property + def code(self): + """Gets the code of this SearchBaselineResponse. + + 错误码 + + :return: The code of this SearchBaselineResponse. + :rtype: str + """ + return self._code + + @code.setter + def code(self, code): + """Sets the code of this SearchBaselineResponse. + + 错误码 + + :param code: The code of this SearchBaselineResponse. + :type code: str + """ + self._code = code + + @property + def total(self): + """Gets the total of this SearchBaselineResponse. + + 查询结果总数 + + :return: The total of this SearchBaselineResponse. + :rtype: int + """ + return self._total + + @total.setter + def total(self, total): + """Sets the total of this SearchBaselineResponse. + + 查询结果总数 + + :param total: The total of this SearchBaselineResponse. + :type total: int + """ + self._total = total + + @property + def size(self): + """Gets the size of this SearchBaselineResponse. + + 分页大小 + + :return: The size of this SearchBaselineResponse. + :rtype: int + """ + return self._size + + @size.setter + def size(self, size): + """Sets the size of this SearchBaselineResponse. + + 分页大小 + + :param size: The size of this SearchBaselineResponse. + :type size: int + """ + self._size = size + + @property + def page(self): + """Gets the page of this SearchBaselineResponse. + + 偏移量 + + :return: The page of this SearchBaselineResponse. + :rtype: int + """ + return self._page + + @page.setter + def page(self, page): + """Sets the page of this SearchBaselineResponse. + + 偏移量 + + :param page: The page of this SearchBaselineResponse. + :type page: int + """ + self._page = page + + @property + def success(self): + """Gets the success of this SearchBaselineResponse. + + 是否成功 + + :return: The success of this SearchBaselineResponse. + :rtype: bool + """ + return self._success + + @success.setter + def success(self, success): + """Sets the success of this SearchBaselineResponse. + + 是否成功 + + :param success: The success of this SearchBaselineResponse. + :type success: bool + """ + self._success = success + + @property + def data(self): + """Gets the data of this SearchBaselineResponse. + + 查询结果列表 + + :return: The data of this SearchBaselineResponse. + :rtype: list[str] + """ + return self._data + + @data.setter + def data(self, data): + """Sets the data of this SearchBaselineResponse. + + 查询结果列表 + + :param data: The data of this SearchBaselineResponse. + :type data: list[str] + """ + self._data = data + + 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, SearchBaselineResponse): + 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-secmaster/huaweicloudsdksecmaster/v2/model/show_alert_rsp_datasource.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/show_alert_rsp_datasource.py deleted file mode 100644 index e747494a56..0000000000 --- a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/show_alert_rsp_datasource.py +++ /dev/null @@ -1,202 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ShowAlertRspDatasource: - - """ - 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 = { - 'source_type': 'int', - 'domain_id': 'str', - 'project_id': 'str', - 'region_id': 'str' - } - - attribute_map = { - 'source_type': 'source_type', - 'domain_id': 'domain_id', - 'project_id': 'project_id', - 'region_id': 'region_id' - } - - def __init__(self, source_type=None, domain_id=None, project_id=None, region_id=None): - """ShowAlertRspDatasource - - The model defined in huaweicloud sdk - - :param source_type: current page count - :type source_type: int - :param domain_id: Id value - :type domain_id: str - :param project_id: Id value - :type project_id: str - :param region_id: Id value - :type region_id: str - """ - - - - self._source_type = None - self._domain_id = None - self._project_id = None - self._region_id = None - self.discriminator = None - - if source_type is not None: - self.source_type = source_type - if domain_id is not None: - self.domain_id = domain_id - if project_id is not None: - self.project_id = project_id - if region_id is not None: - self.region_id = region_id - - @property - def source_type(self): - """Gets the source_type of this ShowAlertRspDatasource. - - current page count - - :return: The source_type of this ShowAlertRspDatasource. - :rtype: int - """ - return self._source_type - - @source_type.setter - def source_type(self, source_type): - """Sets the source_type of this ShowAlertRspDatasource. - - current page count - - :param source_type: The source_type of this ShowAlertRspDatasource. - :type source_type: int - """ - self._source_type = source_type - - @property - def domain_id(self): - """Gets the domain_id of this ShowAlertRspDatasource. - - Id value - - :return: The domain_id of this ShowAlertRspDatasource. - :rtype: str - """ - return self._domain_id - - @domain_id.setter - def domain_id(self, domain_id): - """Sets the domain_id of this ShowAlertRspDatasource. - - Id value - - :param domain_id: The domain_id of this ShowAlertRspDatasource. - :type domain_id: str - """ - self._domain_id = domain_id - - @property - def project_id(self): - """Gets the project_id of this ShowAlertRspDatasource. - - Id value - - :return: The project_id of this ShowAlertRspDatasource. - :rtype: str - """ - return self._project_id - - @project_id.setter - def project_id(self, project_id): - """Sets the project_id of this ShowAlertRspDatasource. - - Id value - - :param project_id: The project_id of this ShowAlertRspDatasource. - :type project_id: str - """ - self._project_id = project_id - - @property - def region_id(self): - """Gets the region_id of this ShowAlertRspDatasource. - - Id value - - :return: The region_id of this ShowAlertRspDatasource. - :rtype: str - """ - return self._region_id - - @region_id.setter - def region_id(self, region_id): - """Sets the region_id of this ShowAlertRspDatasource. - - Id value - - :param region_id: The region_id of this ShowAlertRspDatasource. - :type region_id: str - """ - self._region_id = region_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, ShowAlertRspDatasource): - 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-secmaster/huaweicloudsdksecmaster/v2/model/show_alert_rsp_environment.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/show_alert_rsp_environment.py deleted file mode 100644 index 1b61436dd9..0000000000 --- a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/show_alert_rsp_environment.py +++ /dev/null @@ -1,202 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ShowAlertRspEnvironment: - - """ - 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 = { - 'vendor_type': 'str', - 'domain_id': 'str', - 'region_id': 'str', - 'project_id': 'str' - } - - attribute_map = { - 'vendor_type': 'vendor_type', - 'domain_id': 'domain_id', - 'region_id': 'region_id', - 'project_id': 'project_id' - } - - def __init__(self, vendor_type=None, domain_id=None, region_id=None, project_id=None): - """ShowAlertRspEnvironment - - The model defined in huaweicloud sdk - - :param vendor_type: The name, display only - :type vendor_type: str - :param domain_id: Id value - :type domain_id: str - :param region_id: Id value - :type region_id: str - :param project_id: Id value - :type project_id: str - """ - - - - self._vendor_type = None - self._domain_id = None - self._region_id = None - self._project_id = None - self.discriminator = None - - if vendor_type is not None: - self.vendor_type = vendor_type - if domain_id is not None: - self.domain_id = domain_id - if region_id is not None: - self.region_id = region_id - if project_id is not None: - self.project_id = project_id - - @property - def vendor_type(self): - """Gets the vendor_type of this ShowAlertRspEnvironment. - - The name, display only - - :return: The vendor_type of this ShowAlertRspEnvironment. - :rtype: str - """ - return self._vendor_type - - @vendor_type.setter - def vendor_type(self, vendor_type): - """Sets the vendor_type of this ShowAlertRspEnvironment. - - The name, display only - - :param vendor_type: The vendor_type of this ShowAlertRspEnvironment. - :type vendor_type: str - """ - self._vendor_type = vendor_type - - @property - def domain_id(self): - """Gets the domain_id of this ShowAlertRspEnvironment. - - Id value - - :return: The domain_id of this ShowAlertRspEnvironment. - :rtype: str - """ - return self._domain_id - - @domain_id.setter - def domain_id(self, domain_id): - """Sets the domain_id of this ShowAlertRspEnvironment. - - Id value - - :param domain_id: The domain_id of this ShowAlertRspEnvironment. - :type domain_id: str - """ - self._domain_id = domain_id - - @property - def region_id(self): - """Gets the region_id of this ShowAlertRspEnvironment. - - Id value - - :return: The region_id of this ShowAlertRspEnvironment. - :rtype: str - """ - return self._region_id - - @region_id.setter - def region_id(self, region_id): - """Sets the region_id of this ShowAlertRspEnvironment. - - Id value - - :param region_id: The region_id of this ShowAlertRspEnvironment. - :type region_id: str - """ - self._region_id = region_id - - @property - def project_id(self): - """Gets the project_id of this ShowAlertRspEnvironment. - - Id value - - :return: The project_id of this ShowAlertRspEnvironment. - :rtype: str - """ - return self._project_id - - @project_id.setter - def project_id(self, project_id): - """Sets the project_id of this ShowAlertRspEnvironment. - - Id value - - :param project_id: The project_id of this ShowAlertRspEnvironment. - :type project_id: str - """ - self._project_id = project_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, ShowAlertRspEnvironment): - 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-secmaster/huaweicloudsdksecmaster/v2/model/show_alert_rsp_file_info.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/show_alert_rsp_file_info.py deleted file mode 100644 index 2bdada9d05..0000000000 --- a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/show_alert_rsp_file_info.py +++ /dev/null @@ -1,289 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ShowAlertRspFileInfo: - - """ - 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 = { - 'file_path': 'str', - 'file_content': 'str', - 'file_new_path': 'str', - 'file_hash': 'str', - 'file_md5': 'str', - 'file_sha256': 'str', - 'file_attr': 'str' - } - - attribute_map = { - 'file_path': 'file_path', - 'file_content': 'file_content', - 'file_new_path': 'file_new_path', - 'file_hash': 'file_hash', - 'file_md5': 'file_md5', - 'file_sha256': 'file_sha256', - 'file_attr': 'file_attr' - } - - def __init__(self, file_path=None, file_content=None, file_new_path=None, file_hash=None, file_md5=None, file_sha256=None, file_attr=None): - """ShowAlertRspFileInfo - - The model defined in huaweicloud sdk - - :param file_path: The name, display only - :type file_path: str - :param file_content: The name, display only - :type file_content: str - :param file_new_path: The name, display only - :type file_new_path: str - :param file_hash: The name, display only - :type file_hash: str - :param file_md5: The name, display only - :type file_md5: str - :param file_sha256: The name, display only - :type file_sha256: str - :param file_attr: The name, display only - :type file_attr: str - """ - - - - self._file_path = None - self._file_content = None - self._file_new_path = None - self._file_hash = None - self._file_md5 = None - self._file_sha256 = None - self._file_attr = None - self.discriminator = None - - if file_path is not None: - self.file_path = file_path - if file_content is not None: - self.file_content = file_content - if file_new_path is not None: - self.file_new_path = file_new_path - if file_hash is not None: - self.file_hash = file_hash - if file_md5 is not None: - self.file_md5 = file_md5 - if file_sha256 is not None: - self.file_sha256 = file_sha256 - if file_attr is not None: - self.file_attr = file_attr - - @property - def file_path(self): - """Gets the file_path of this ShowAlertRspFileInfo. - - The name, display only - - :return: The file_path of this ShowAlertRspFileInfo. - :rtype: str - """ - return self._file_path - - @file_path.setter - def file_path(self, file_path): - """Sets the file_path of this ShowAlertRspFileInfo. - - The name, display only - - :param file_path: The file_path of this ShowAlertRspFileInfo. - :type file_path: str - """ - self._file_path = file_path - - @property - def file_content(self): - """Gets the file_content of this ShowAlertRspFileInfo. - - The name, display only - - :return: The file_content of this ShowAlertRspFileInfo. - :rtype: str - """ - return self._file_content - - @file_content.setter - def file_content(self, file_content): - """Sets the file_content of this ShowAlertRspFileInfo. - - The name, display only - - :param file_content: The file_content of this ShowAlertRspFileInfo. - :type file_content: str - """ - self._file_content = file_content - - @property - def file_new_path(self): - """Gets the file_new_path of this ShowAlertRspFileInfo. - - The name, display only - - :return: The file_new_path of this ShowAlertRspFileInfo. - :rtype: str - """ - return self._file_new_path - - @file_new_path.setter - def file_new_path(self, file_new_path): - """Sets the file_new_path of this ShowAlertRspFileInfo. - - The name, display only - - :param file_new_path: The file_new_path of this ShowAlertRspFileInfo. - :type file_new_path: str - """ - self._file_new_path = file_new_path - - @property - def file_hash(self): - """Gets the file_hash of this ShowAlertRspFileInfo. - - The name, display only - - :return: The file_hash of this ShowAlertRspFileInfo. - :rtype: str - """ - return self._file_hash - - @file_hash.setter - def file_hash(self, file_hash): - """Sets the file_hash of this ShowAlertRspFileInfo. - - The name, display only - - :param file_hash: The file_hash of this ShowAlertRspFileInfo. - :type file_hash: str - """ - self._file_hash = file_hash - - @property - def file_md5(self): - """Gets the file_md5 of this ShowAlertRspFileInfo. - - The name, display only - - :return: The file_md5 of this ShowAlertRspFileInfo. - :rtype: str - """ - return self._file_md5 - - @file_md5.setter - def file_md5(self, file_md5): - """Sets the file_md5 of this ShowAlertRspFileInfo. - - The name, display only - - :param file_md5: The file_md5 of this ShowAlertRspFileInfo. - :type file_md5: str - """ - self._file_md5 = file_md5 - - @property - def file_sha256(self): - """Gets the file_sha256 of this ShowAlertRspFileInfo. - - The name, display only - - :return: The file_sha256 of this ShowAlertRspFileInfo. - :rtype: str - """ - return self._file_sha256 - - @file_sha256.setter - def file_sha256(self, file_sha256): - """Sets the file_sha256 of this ShowAlertRspFileInfo. - - The name, display only - - :param file_sha256: The file_sha256 of this ShowAlertRspFileInfo. - :type file_sha256: str - """ - self._file_sha256 = file_sha256 - - @property - def file_attr(self): - """Gets the file_attr of this ShowAlertRspFileInfo. - - The name, display only - - :return: The file_attr of this ShowAlertRspFileInfo. - :rtype: str - """ - return self._file_attr - - @file_attr.setter - def file_attr(self, file_attr): - """Sets the file_attr of this ShowAlertRspFileInfo. - - The name, display only - - :param file_attr: The file_attr of this ShowAlertRspFileInfo. - :type file_attr: str - """ - self._file_attr = file_attr - - 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, ShowAlertRspFileInfo): - 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-secmaster/huaweicloudsdksecmaster/v2/model/show_alert_rsp_resource_list.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/show_alert_rsp_resource_list.py deleted file mode 100644 index b512571c8a..0000000000 --- a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/show_alert_rsp_resource_list.py +++ /dev/null @@ -1,347 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ShowAlertRspResourceList: - - """ - 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', - 'name': 'str', - 'type': 'str', - 'domain_id': 'str', - 'project_id': 'str', - 'region_id': 'str', - 'ep_id': 'str', - 'ep_name': 'str', - 'tags': 'str' - } - - attribute_map = { - 'id': 'id', - 'name': 'name', - 'type': 'type', - 'domain_id': 'domain_id', - 'project_id': 'project_id', - 'region_id': 'region_id', - 'ep_id': 'ep_id', - 'ep_name': 'ep_name', - 'tags': 'tags' - } - - def __init__(self, id=None, name=None, type=None, domain_id=None, project_id=None, region_id=None, ep_id=None, ep_name=None, tags=None): - """ShowAlertRspResourceList - - The model defined in huaweicloud sdk - - :param id: Id value - :type id: str - :param name: The name, display only - :type name: str - :param type: The name, display only - :type type: str - :param domain_id: Id value - :type domain_id: str - :param project_id: Id value - :type project_id: str - :param region_id: Id value - :type region_id: str - :param ep_id: Id value - :type ep_id: str - :param ep_name: The name, display only - :type ep_name: str - :param tags: Id value - :type tags: str - """ - - - - self._id = None - self._name = None - self._type = None - self._domain_id = None - self._project_id = None - self._region_id = None - self._ep_id = None - self._ep_name = None - self._tags = None - self.discriminator = None - - if id is not None: - self.id = id - if name is not None: - self.name = name - if type is not None: - self.type = type - if domain_id is not None: - self.domain_id = domain_id - if project_id is not None: - self.project_id = project_id - if region_id is not None: - self.region_id = region_id - if ep_id is not None: - self.ep_id = ep_id - if ep_name is not None: - self.ep_name = ep_name - if tags is not None: - self.tags = tags - - @property - def id(self): - """Gets the id of this ShowAlertRspResourceList. - - Id value - - :return: The id of this ShowAlertRspResourceList. - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this ShowAlertRspResourceList. - - Id value - - :param id: The id of this ShowAlertRspResourceList. - :type id: str - """ - self._id = id - - @property - def name(self): - """Gets the name of this ShowAlertRspResourceList. - - The name, display only - - :return: The name of this ShowAlertRspResourceList. - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this ShowAlertRspResourceList. - - The name, display only - - :param name: The name of this ShowAlertRspResourceList. - :type name: str - """ - self._name = name - - @property - def type(self): - """Gets the type of this ShowAlertRspResourceList. - - The name, display only - - :return: The type of this ShowAlertRspResourceList. - :rtype: str - """ - return self._type - - @type.setter - def type(self, type): - """Sets the type of this ShowAlertRspResourceList. - - The name, display only - - :param type: The type of this ShowAlertRspResourceList. - :type type: str - """ - self._type = type - - @property - def domain_id(self): - """Gets the domain_id of this ShowAlertRspResourceList. - - Id value - - :return: The domain_id of this ShowAlertRspResourceList. - :rtype: str - """ - return self._domain_id - - @domain_id.setter - def domain_id(self, domain_id): - """Sets the domain_id of this ShowAlertRspResourceList. - - Id value - - :param domain_id: The domain_id of this ShowAlertRspResourceList. - :type domain_id: str - """ - self._domain_id = domain_id - - @property - def project_id(self): - """Gets the project_id of this ShowAlertRspResourceList. - - Id value - - :return: The project_id of this ShowAlertRspResourceList. - :rtype: str - """ - return self._project_id - - @project_id.setter - def project_id(self, project_id): - """Sets the project_id of this ShowAlertRspResourceList. - - Id value - - :param project_id: The project_id of this ShowAlertRspResourceList. - :type project_id: str - """ - self._project_id = project_id - - @property - def region_id(self): - """Gets the region_id of this ShowAlertRspResourceList. - - Id value - - :return: The region_id of this ShowAlertRspResourceList. - :rtype: str - """ - return self._region_id - - @region_id.setter - def region_id(self, region_id): - """Sets the region_id of this ShowAlertRspResourceList. - - Id value - - :param region_id: The region_id of this ShowAlertRspResourceList. - :type region_id: str - """ - self._region_id = region_id - - @property - def ep_id(self): - """Gets the ep_id of this ShowAlertRspResourceList. - - Id value - - :return: The ep_id of this ShowAlertRspResourceList. - :rtype: str - """ - return self._ep_id - - @ep_id.setter - def ep_id(self, ep_id): - """Sets the ep_id of this ShowAlertRspResourceList. - - Id value - - :param ep_id: The ep_id of this ShowAlertRspResourceList. - :type ep_id: str - """ - self._ep_id = ep_id - - @property - def ep_name(self): - """Gets the ep_name of this ShowAlertRspResourceList. - - The name, display only - - :return: The ep_name of this ShowAlertRspResourceList. - :rtype: str - """ - return self._ep_name - - @ep_name.setter - def ep_name(self, ep_name): - """Sets the ep_name of this ShowAlertRspResourceList. - - The name, display only - - :param ep_name: The ep_name of this ShowAlertRspResourceList. - :type ep_name: str - """ - self._ep_name = ep_name - - @property - def tags(self): - """Gets the tags of this ShowAlertRspResourceList. - - Id value - - :return: The tags of this ShowAlertRspResourceList. - :rtype: str - """ - return self._tags - - @tags.setter - def tags(self, tags): - """Sets the tags of this ShowAlertRspResourceList. - - Id value - - :param tags: The tags of this ShowAlertRspResourceList. - :type tags: str - """ - 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, ShowAlertRspResourceList): - 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-secmaster/huaweicloudsdksecmaster/v2/model/show_indicator_detail_request.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/show_indicator_detail_request.py index 02376ca32d..424a83505b 100644 --- a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/show_indicator_detail_request.py +++ b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/show_indicator_detail_request.py @@ -37,7 +37,7 @@ def __init__(self, project_id=None, workspace_id=None, indicator_id=None): :type project_id: str :param workspace_id: 工作空间ID :type workspace_id: str - :param indicator_id: 情报指标ID + :param indicator_id: 威胁情报ID :type indicator_id: str """ @@ -100,7 +100,7 @@ def workspace_id(self, workspace_id): def indicator_id(self): """Gets the indicator_id of this ShowIndicatorDetailRequest. - 情报指标ID + 威胁情报ID :return: The indicator_id of this ShowIndicatorDetailRequest. :rtype: str @@ -111,7 +111,7 @@ def indicator_id(self): def indicator_id(self, indicator_id): """Sets the indicator_id of this ShowIndicatorDetailRequest. - 情报指标ID + 威胁情报ID :param indicator_id: The indicator_id of this ShowIndicatorDetailRequest. :type indicator_id: str diff --git a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/show_metric_result_response_body.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/show_metric_result_response_body.py new file mode 100644 index 0000000000..6d24ae830f --- /dev/null +++ b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/show_metric_result_response_body.py @@ -0,0 +1,225 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ShowMetricResultResponseBody: + + """ + 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 = { + 'metric_id': 'str', + 'result': 'ShowMetricResultResponseBodyResult', + 'metric_format': 'list[MetricFormat]', + 'log_msg': 'str', + 'status': 'str' + } + + attribute_map = { + 'metric_id': 'metric_id', + 'result': 'result', + 'metric_format': 'metric_format', + 'log_msg': 'log_msg', + 'status': 'status' + } + + def __init__(self, metric_id=None, result=None, metric_format=None, log_msg=None, status=None): + """ShowMetricResultResponseBody + + The model defined in huaweicloud sdk + + :param metric_id: 指标ID + :type metric_id: str + :param result: + :type result: :class:`huaweicloudsdksecmaster.v2.ShowMetricResultResponseBodyResult` + :param metric_format: 指标显示格式,根据不同指标固定返回。 + :type metric_format: list[:class:`huaweicloudsdksecmaster.v2.MetricFormat`] + :param log_msg: 结果日志信息 + :type log_msg: str + :param status: 查询结果状态,SUCCESS:查询成功,FAILED:查询失败,FALLBACK:使用默认值 + :type status: str + """ + + + + self._metric_id = None + self._result = None + self._metric_format = None + self._log_msg = None + self._status = None + self.discriminator = None + + self.metric_id = metric_id + self.result = result + if metric_format is not None: + self.metric_format = metric_format + if log_msg is not None: + self.log_msg = log_msg + if status is not None: + self.status = status + + @property + def metric_id(self): + """Gets the metric_id of this ShowMetricResultResponseBody. + + 指标ID + + :return: The metric_id of this ShowMetricResultResponseBody. + :rtype: str + """ + return self._metric_id + + @metric_id.setter + def metric_id(self, metric_id): + """Sets the metric_id of this ShowMetricResultResponseBody. + + 指标ID + + :param metric_id: The metric_id of this ShowMetricResultResponseBody. + :type metric_id: str + """ + self._metric_id = metric_id + + @property + def result(self): + """Gets the result of this ShowMetricResultResponseBody. + + :return: The result of this ShowMetricResultResponseBody. + :rtype: :class:`huaweicloudsdksecmaster.v2.ShowMetricResultResponseBodyResult` + """ + return self._result + + @result.setter + def result(self, result): + """Sets the result of this ShowMetricResultResponseBody. + + :param result: The result of this ShowMetricResultResponseBody. + :type result: :class:`huaweicloudsdksecmaster.v2.ShowMetricResultResponseBodyResult` + """ + self._result = result + + @property + def metric_format(self): + """Gets the metric_format of this ShowMetricResultResponseBody. + + 指标显示格式,根据不同指标固定返回。 + + :return: The metric_format of this ShowMetricResultResponseBody. + :rtype: list[:class:`huaweicloudsdksecmaster.v2.MetricFormat`] + """ + return self._metric_format + + @metric_format.setter + def metric_format(self, metric_format): + """Sets the metric_format of this ShowMetricResultResponseBody. + + 指标显示格式,根据不同指标固定返回。 + + :param metric_format: The metric_format of this ShowMetricResultResponseBody. + :type metric_format: list[:class:`huaweicloudsdksecmaster.v2.MetricFormat`] + """ + self._metric_format = metric_format + + @property + def log_msg(self): + """Gets the log_msg of this ShowMetricResultResponseBody. + + 结果日志信息 + + :return: The log_msg of this ShowMetricResultResponseBody. + :rtype: str + """ + return self._log_msg + + @log_msg.setter + def log_msg(self, log_msg): + """Sets the log_msg of this ShowMetricResultResponseBody. + + 结果日志信息 + + :param log_msg: The log_msg of this ShowMetricResultResponseBody. + :type log_msg: str + """ + self._log_msg = log_msg + + @property + def status(self): + """Gets the status of this ShowMetricResultResponseBody. + + 查询结果状态,SUCCESS:查询成功,FAILED:查询失败,FALLBACK:使用默认值 + + :return: The status of this ShowMetricResultResponseBody. + :rtype: str + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this ShowMetricResultResponseBody. + + 查询结果状态,SUCCESS:查询成功,FAILED:查询失败,FALLBACK:使用默认值 + + :param status: The status of this ShowMetricResultResponseBody. + :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, ShowMetricResultResponseBody): + 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-secmaster/huaweicloudsdksecmaster/v2/model/show_metric_result_response_body_result.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/show_metric_result_response_body_result.py new file mode 100644 index 0000000000..74d1f3578c --- /dev/null +++ b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/show_metric_result_response_body_result.py @@ -0,0 +1,171 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ShowMetricResultResponseBodyResult: + + """ + 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 = { + 'labels': 'list[str]', + 'datarows': 'list[list[object]]', + 'effective_column': 'str' + } + + attribute_map = { + 'labels': 'labels', + 'datarows': 'datarows', + 'effective_column': 'effective_column' + } + + def __init__(self, labels=None, datarows=None, effective_column=None): + """ShowMetricResultResponseBodyResult + + The model defined in huaweicloud sdk + + :param labels: 指标查询结果表格标题 + :type labels: list[str] + :param datarows: 指标查询结果内容表格 + :type datarows: list[list[object]] + :param effective_column: 生效的列, 当有该参数时,使用指定列作为指标数据结果 + :type effective_column: str + """ + + + + self._labels = None + self._datarows = None + self._effective_column = None + self.discriminator = None + + self.labels = labels + self.datarows = datarows + if effective_column is not None: + self.effective_column = effective_column + + @property + def labels(self): + """Gets the labels of this ShowMetricResultResponseBodyResult. + + 指标查询结果表格标题 + + :return: The labels of this ShowMetricResultResponseBodyResult. + :rtype: list[str] + """ + return self._labels + + @labels.setter + def labels(self, labels): + """Sets the labels of this ShowMetricResultResponseBodyResult. + + 指标查询结果表格标题 + + :param labels: The labels of this ShowMetricResultResponseBodyResult. + :type labels: list[str] + """ + self._labels = labels + + @property + def datarows(self): + """Gets the datarows of this ShowMetricResultResponseBodyResult. + + 指标查询结果内容表格 + + :return: The datarows of this ShowMetricResultResponseBodyResult. + :rtype: list[list[object]] + """ + return self._datarows + + @datarows.setter + def datarows(self, datarows): + """Sets the datarows of this ShowMetricResultResponseBodyResult. + + 指标查询结果内容表格 + + :param datarows: The datarows of this ShowMetricResultResponseBodyResult. + :type datarows: list[list[object]] + """ + self._datarows = datarows + + @property + def effective_column(self): + """Gets the effective_column of this ShowMetricResultResponseBodyResult. + + 生效的列, 当有该参数时,使用指定列作为指标数据结果 + + :return: The effective_column of this ShowMetricResultResponseBodyResult. + :rtype: str + """ + return self._effective_column + + @effective_column.setter + def effective_column(self, effective_column): + """Sets the effective_column of this ShowMetricResultResponseBodyResult. + + 生效的列, 当有该参数时,使用指定列作为指标数据结果 + + :param effective_column: The effective_column of this ShowMetricResultResponseBodyResult. + :type effective_column: str + """ + self._effective_column = effective_column + + 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, ShowMetricResultResponseBodyResult): + 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-secmaster/huaweicloudsdksecmaster/v2/model/tag_info.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/tag_info.py new file mode 100644 index 0000000000..56e3c73bc4 --- /dev/null +++ b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/tag_info.py @@ -0,0 +1,142 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class TagInfo: + + """ + 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 = { + 'key': 'str', + 'value': 'str' + } + + attribute_map = { + 'key': 'key', + 'value': 'value' + } + + def __init__(self, key=None, value=None): + """TagInfo + + The model defined in huaweicloud sdk + + :param key: 标识 中文、字母、数字、_或者-,且长度范围[2, 36] + :type key: str + :param value: 内容 中文、字母、数字、_或者-,且长度范围[2, 36] + :type value: str + """ + + + + self._key = None + self._value = None + self.discriminator = None + + self.key = key + self.value = value + + @property + def key(self): + """Gets the key of this TagInfo. + + 标识 中文、字母、数字、_或者-,且长度范围[2, 36] + + :return: The key of this TagInfo. + :rtype: str + """ + return self._key + + @key.setter + def key(self, key): + """Sets the key of this TagInfo. + + 标识 中文、字母、数字、_或者-,且长度范围[2, 36] + + :param key: The key of this TagInfo. + :type key: str + """ + self._key = key + + @property + def value(self): + """Gets the value of this TagInfo. + + 内容 中文、字母、数字、_或者-,且长度范围[2, 36] + + :return: The value of this TagInfo. + :rtype: str + """ + return self._value + + @value.setter + def value(self, value): + """Sets the value of this TagInfo. + + 内容 中文、字母、数字、_或者-,且长度范围[2, 36] + + :param value: The value of this TagInfo. + :type value: str + """ + self._value = value + + 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, TagInfo): + 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-secmaster/huaweicloudsdksecmaster/v2/model/tags_pojo.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/tags_pojo.py new file mode 100644 index 0000000000..7e5b4d5a05 --- /dev/null +++ b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/tags_pojo.py @@ -0,0 +1,144 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class TagsPojo: + + """ + 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 = { + 'key': 'str', + 'value': 'str' + } + + attribute_map = { + 'key': 'key', + 'value': 'value' + } + + def __init__(self, key=None, value=None): + """TagsPojo + + The model defined in huaweicloud sdk + + :param key: 标签key + :type key: str + :param value: 标签value + :type value: str + """ + + + + self._key = None + self._value = None + self.discriminator = None + + if key is not None: + self.key = key + if value is not None: + self.value = value + + @property + def key(self): + """Gets the key of this TagsPojo. + + 标签key + + :return: The key of this TagsPojo. + :rtype: str + """ + return self._key + + @key.setter + def key(self, key): + """Sets the key of this TagsPojo. + + 标签key + + :param key: The key of this TagsPojo. + :type key: str + """ + self._key = key + + @property + def value(self): + """Gets the value of this TagsPojo. + + 标签value + + :return: The value of this TagsPojo. + :rtype: str + """ + return self._value + + @value.setter + def value(self, value): + """Sets the value of this TagsPojo. + + 标签value + + :param value: The value of this TagsPojo. + :type value: str + """ + self._value = value + + 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, TagsPojo): + 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-secmaster/huaweicloudsdksecmaster/v2/model/update_indicator_request.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/update_indicator_request.py index ce6d2037c2..099f61563c 100644 --- a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/update_indicator_request.py +++ b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/model/update_indicator_request.py @@ -39,7 +39,7 @@ def __init__(self, project_id=None, workspace_id=None, indicator_id=None, body=N :type project_id: str :param workspace_id: 工作空间ID :type workspace_id: str - :param indicator_id: 情报ID + :param indicator_id: 威胁情报ID :type indicator_id: str :param body: Body of the UpdateIndicatorRequest :type body: :class:`huaweicloudsdksecmaster.v2.UpdateIndicatorRequestBody` @@ -107,7 +107,7 @@ def workspace_id(self, workspace_id): def indicator_id(self): """Gets the indicator_id of this UpdateIndicatorRequest. - 情报ID + 威胁情报ID :return: The indicator_id of this UpdateIndicatorRequest. :rtype: str @@ -118,7 +118,7 @@ def indicator_id(self): def indicator_id(self, indicator_id): """Sets the indicator_id of this UpdateIndicatorRequest. - 情报ID + 威胁情报ID :param indicator_id: The indicator_id of this UpdateIndicatorRequest. :type indicator_id: str diff --git a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/region/secmaster_region.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/region/secmaster_region.py index d54a995d77..9320114ebf 100644 --- a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/region/secmaster_region.py +++ b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/region/secmaster_region.py @@ -24,6 +24,28 @@ class SecMasterRegion: "https://secmaster.cn-south-2.myhuaweicloud.com") CN_NORTH_1 = Region("cn-north-1", "https://secmaster.cn-north-1.myhuaweicloud.com") + CN_EAST_4 = Region("cn-east-4", + "https://secmaster.cn-east-4.myhuaweicloud.com") + ME_EAST_1 = Region("me-east-1", + "https://secmaster.me-east-1.myhuaweicloud.com") + CN_NORTH_11 = Region("cn-north-11", + "https://secmaster.cn-north-11.myhuaweicloud.com") + SA_BRAZIL_1 = Region("sa-brazil-1", + "https://secmaster.sa-brazil-1.myhuaweicloud.com") + LA_NORTH_2 = Region("la-north-2", + "https://secmaster.la-north-2.myhuaweicloud.com") + AP_SOUTHEAST_3 = Region("ap-southeast-3", + "https://secmaster.ap-southeast-3.myhuaweicloud.com") + AP_SOUTHEAST_2 = Region("ap-southeast-2", + "https://secmaster.ap-southeast-2.myhuaweicloud.com") + AP_SOUTHEAST_1 = Region("ap-southeast-1", + "https://secmaster.ap-southeast-1.myhuaweicloud.com") + AP_SOUTHEAST_4 = Region("ap-southeast-4", + "https://secmaster.ap-southeast-4.myhuaweicloud.com") + TR_WEST_1 = Region("tr-west-1", + "https://secmaster.tr-west-1.myhuaweicloud.com") + AF_NORTH_1 = Region("af-north-1", + "https://secmaster.af-north-1.myhuaweicloud.com") static_fields = { "cn-north-4": CN_NORTH_4, @@ -35,6 +57,17 @@ class SecMasterRegion: "cn-southwest-2": CN_SOUTHWEST_2, "cn-south-2": CN_SOUTH_2, "cn-north-1": CN_NORTH_1, + "cn-east-4": CN_EAST_4, + "me-east-1": ME_EAST_1, + "cn-north-11": CN_NORTH_11, + "sa-brazil-1": SA_BRAZIL_1, + "la-north-2": LA_NORTH_2, + "ap-southeast-3": AP_SOUTHEAST_3, + "ap-southeast-2": AP_SOUTHEAST_2, + "ap-southeast-1": AP_SOUTHEAST_1, + "ap-southeast-4": AP_SOUTHEAST_4, + "tr-west-1": TR_WEST_1, + "af-north-1": AF_NORTH_1, } @classmethod diff --git a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/secmaster_async_client.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/secmaster_async_client.py index c3e22648fb..ed84e61985 100644 --- a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/secmaster_async_client.py +++ b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/secmaster_async_client.py @@ -32,6 +32,79 @@ def new_builder(cls, clazz=None): return client_builder + def batch_search_metric_hits_async(self, request): + """批量查询指标结果 + + 批量查询指标结果 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for BatchSearchMetricHits + :type request: :class:`huaweicloudsdksecmaster.v2.BatchSearchMetricHitsRequest` + :rtype: :class:`huaweicloudsdksecmaster.v2.BatchSearchMetricHitsResponse` + """ + http_info = self._batch_search_metric_hits_http_info(request) + return self._call_api(**http_info) + + def batch_search_metric_hits_async_invoker(self, request): + http_info = self._batch_search_metric_hits_http_info(request) + return AsyncInvoker(self, http_info) + + def _batch_search_metric_hits_http_info(self, request): + http_info = { + "method": "POST", + "resource_path": "/v1/{project_id}/workspaces/{workspace_id}/sa/metrics/hits", + "request_type": request.__class__.__name__, + "response_type": "BatchSearchMetricHitsResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'project_id' in local_var_params: + path_params['project_id'] = local_var_params['project_id'] + if 'workspace_id' in local_var_params: + path_params['workspace_id'] = local_var_params['workspace_id'] + + query_params = [] + if 'timespan' in local_var_params: + query_params.append(('timespan', local_var_params['timespan'])) + if 'cache' in local_var_params: + query_params.append(('cache', local_var_params['cache'])) + + 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 = [] + + 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 change_alert_async(self, request): """更新告警 @@ -668,9 +741,9 @@ def _create_dataobject_relations_http_info(self, request): return http_info def create_dataspace_async(self, request): - """create dataspace (创建数据空间) + """创建数据空间 - create dataspace + 创建数据空间 Please refer to HUAWEI cloud API Explorer for details. @@ -806,9 +879,9 @@ def _create_incident_http_info(self, request): return http_info def create_indicator_async(self, request): - """创建指标 + """创建威胁情报 - 创建指标 + 创建威胁情报 Please refer to HUAWEI cloud API Explorer for details. @@ -875,9 +948,9 @@ def _create_indicator_http_info(self, request): return http_info def create_pipe_async(self, request): - """create pipe (创建数据管道) + """创建数据管道 - create pipe + 创建数据管道 Please refer to HUAWEI cloud API Explorer for details. @@ -1296,6 +1369,142 @@ def _create_playbook_version_http_info(self, request): return http_info + def create_post_paid_order_async(self, request): + """安全云脑按需订购 + + 开通安全云脑按需服务 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for CreatePostPaidOrder + :type request: :class:`huaweicloudsdksecmaster.v2.CreatePostPaidOrderRequest` + :rtype: :class:`huaweicloudsdksecmaster.v2.CreatePostPaidOrderResponse` + """ + http_info = self._create_post_paid_order_http_info(request) + return self._call_api(**http_info) + + def create_post_paid_order_async_invoker(self, request): + http_info = self._create_post_paid_order_http_info(request) + return AsyncInvoker(self, http_info) + + def _create_post_paid_order_http_info(self, request): + http_info = { + "method": "POST", + "resource_path": "/v1/{project_id}/subscriptions/orders", + "request_type": request.__class__.__name__, + "response_type": "CreatePostPaidOrderResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'project_id' in local_var_params: + path_params['project_id'] = local_var_params['project_id'] + + query_params = [] + + header_params = {} + if 'x_language' in local_var_params: + header_params['X-Language'] = local_var_params['x_language'] + + 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 = [] + + 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_workspace_async(self, request): + """新建工作空间 + + 在使用安全云脑的基线检查、告警管理、安全分析、安全编排等功能前,需要创建工作空间,它可以将资源划分为各个不同的工作场景,避免资源冗余查找不便,影响日常使用。 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for CreateWorkspace + :type request: :class:`huaweicloudsdksecmaster.v2.CreateWorkspaceRequest` + :rtype: :class:`huaweicloudsdksecmaster.v2.CreateWorkspaceResponse` + """ + http_info = self._create_workspace_http_info(request) + return self._call_api(**http_info) + + def create_workspace_async_invoker(self, request): + http_info = self._create_workspace_http_info(request) + return AsyncInvoker(self, http_info) + + def _create_workspace_http_info(self, request): + http_info = { + "method": "POST", + "resource_path": "/v1/{project_id}/workspaces", + "request_type": request.__class__.__name__, + "response_type": "CreateWorkspaceResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'project_id' in local_var_params: + path_params['project_id'] = local_var_params['project_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 = [] + + 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_alert_async(self, request): """删除告警 @@ -1579,9 +1788,9 @@ def _delete_incident_http_info(self, request): return http_info def delete_indicator_async(self, request): - """删除指标 + """删除威胁情报 - 删除指标 + 删除威胁情报 Please refer to HUAWEI cloud API Explorer for details. @@ -2671,9 +2880,9 @@ def _list_incidents_http_info(self, request): return http_info def list_indicators_async(self, request): - """查询指标列表 + """查询威胁情报列表 - 查询指标列表 + 查询威胁情报列表 Please refer to HUAWEI cloud API Explorer for details. @@ -3296,6 +3505,168 @@ def _list_workflows_http_info(self, request): return http_info + def list_workspaces_async(self, request): + """工作空间列表查询 + + 工作空间列表查询:可通过工作空间名称、工作空间描述、创建时间等条件对租户的工作空间进行筛选。 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for ListWorkspaces + :type request: :class:`huaweicloudsdksecmaster.v2.ListWorkspacesRequest` + :rtype: :class:`huaweicloudsdksecmaster.v2.ListWorkspacesResponse` + """ + http_info = self._list_workspaces_http_info(request) + return self._call_api(**http_info) + + def list_workspaces_async_invoker(self, request): + http_info = self._list_workspaces_http_info(request) + return AsyncInvoker(self, http_info) + + def _list_workspaces_http_info(self, request): + http_info = { + "method": "GET", + "resource_path": "/v1/{project_id}/workspaces", + "request_type": request.__class__.__name__, + "response_type": "ListWorkspacesResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'project_id' in local_var_params: + path_params['project_id'] = local_var_params['project_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 'region_id' in local_var_params: + query_params.append(('region_id', local_var_params['region_id'])) + if 'name' in local_var_params: + query_params.append(('name', local_var_params['name'])) + if 'description' in local_var_params: + query_params.append(('description', local_var_params['description'])) + if 'view_bind_id' in local_var_params: + query_params.append(('view_bind_id', local_var_params['view_bind_id'])) + if 'view_bind_name' in local_var_params: + query_params.append(('view_bind_name', local_var_params['view_bind_name'])) + if 'create_time_start' in local_var_params: + query_params.append(('create_time_start', local_var_params['create_time_start'])) + if 'create_time_end' in local_var_params: + query_params.append(('create_time_end', local_var_params['create_time_end'])) + if 'is_view' in local_var_params: + query_params.append(('is_view', local_var_params['is_view'])) + if 'ids' in local_var_params: + query_params.append(('ids', local_var_params['ids'])) + if 'normal_project_id' in local_var_params: + query_params.append(('normal_project_id', local_var_params['normal_project_id'])) + if 'enterprise_project_id' in local_var_params: + query_params.append(('enterprise_project_id', local_var_params['enterprise_project_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 = [] + + 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 search_baseline_async(self, request): + """搜索基线检查结果列表 + + 搜索基线检查结果列表 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for SearchBaseline + :type request: :class:`huaweicloudsdksecmaster.v2.SearchBaselineRequest` + :rtype: :class:`huaweicloudsdksecmaster.v2.SearchBaselineResponse` + """ + http_info = self._search_baseline_http_info(request) + return self._call_api(**http_info) + + def search_baseline_async_invoker(self, request): + http_info = self._search_baseline_http_info(request) + return AsyncInvoker(self, http_info) + + def _search_baseline_http_info(self, request): + http_info = { + "method": "POST", + "resource_path": "/v2/{project_id}/workspaces/{workspace_id}/sa/baseline/search", + "request_type": request.__class__.__name__, + "response_type": "SearchBaselineResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'project_id' in local_var_params: + path_params['project_id'] = local_var_params['project_id'] + if 'workspace_id' in local_var_params: + path_params['workspace_id'] = local_var_params['workspace_id'] + + query_params = [] + + header_params = {} + if 'x_language' in local_var_params: + header_params['X-Language'] = local_var_params['x_language'] + + 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 = [] + + 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_alert_async(self, request): """获取告警详情 @@ -3573,9 +3944,9 @@ def _show_incident_http_info(self, request): return http_info def show_indicator_detail_async(self, request): - """查询指标详情 + """查询威胁情报详情 - 查询指标详情 + 查询威胁情报详情 Please refer to HUAWEI cloud API Explorer for details. @@ -4202,9 +4573,9 @@ def _update_alert_rule_http_info(self, request): return http_info def update_indicator_async(self, request): - """更新指标 + """更新威胁情报 - 更新指标 + 更新威胁情报 Please refer to HUAWEI cloud API Explorer for details. diff --git a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/secmaster_client.py b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/secmaster_client.py index 9811c6d249..bafa723bac 100644 --- a/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/secmaster_client.py +++ b/huaweicloud-sdk-secmaster/huaweicloudsdksecmaster/v2/secmaster_client.py @@ -32,6 +32,79 @@ def new_builder(cls, clazz=None): return client_builder + def batch_search_metric_hits(self, request): + """批量查询指标结果 + + 批量查询指标结果 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for BatchSearchMetricHits + :type request: :class:`huaweicloudsdksecmaster.v2.BatchSearchMetricHitsRequest` + :rtype: :class:`huaweicloudsdksecmaster.v2.BatchSearchMetricHitsResponse` + """ + http_info = self._batch_search_metric_hits_http_info(request) + return self._call_api(**http_info) + + def batch_search_metric_hits_invoker(self, request): + http_info = self._batch_search_metric_hits_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _batch_search_metric_hits_http_info(cls, request): + http_info = { + "method": "POST", + "resource_path": "/v1/{project_id}/workspaces/{workspace_id}/sa/metrics/hits", + "request_type": request.__class__.__name__, + "response_type": "BatchSearchMetricHitsResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'project_id' in local_var_params: + path_params['project_id'] = local_var_params['project_id'] + if 'workspace_id' in local_var_params: + path_params['workspace_id'] = local_var_params['workspace_id'] + + query_params = [] + if 'timespan' in local_var_params: + query_params.append(('timespan', local_var_params['timespan'])) + if 'cache' in local_var_params: + query_params.append(('cache', local_var_params['cache'])) + + 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 = [] + + 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 change_alert(self, request): """更新告警 @@ -668,9 +741,9 @@ def _create_dataobject_relations_http_info(cls, request): return http_info def create_dataspace(self, request): - """create dataspace (创建数据空间) + """创建数据空间 - create dataspace + 创建数据空间 Please refer to HUAWEI cloud API Explorer for details. @@ -806,9 +879,9 @@ def _create_incident_http_info(cls, request): return http_info def create_indicator(self, request): - """创建指标 + """创建威胁情报 - 创建指标 + 创建威胁情报 Please refer to HUAWEI cloud API Explorer for details. @@ -875,9 +948,9 @@ def _create_indicator_http_info(cls, request): return http_info def create_pipe(self, request): - """create pipe (创建数据管道) + """创建数据管道 - create pipe + 创建数据管道 Please refer to HUAWEI cloud API Explorer for details. @@ -1296,6 +1369,142 @@ def _create_playbook_version_http_info(cls, request): return http_info + def create_post_paid_order(self, request): + """安全云脑按需订购 + + 开通安全云脑按需服务 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for CreatePostPaidOrder + :type request: :class:`huaweicloudsdksecmaster.v2.CreatePostPaidOrderRequest` + :rtype: :class:`huaweicloudsdksecmaster.v2.CreatePostPaidOrderResponse` + """ + http_info = self._create_post_paid_order_http_info(request) + return self._call_api(**http_info) + + def create_post_paid_order_invoker(self, request): + http_info = self._create_post_paid_order_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _create_post_paid_order_http_info(cls, request): + http_info = { + "method": "POST", + "resource_path": "/v1/{project_id}/subscriptions/orders", + "request_type": request.__class__.__name__, + "response_type": "CreatePostPaidOrderResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'project_id' in local_var_params: + path_params['project_id'] = local_var_params['project_id'] + + query_params = [] + + header_params = {} + if 'x_language' in local_var_params: + header_params['X-Language'] = local_var_params['x_language'] + + 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 = [] + + 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_workspace(self, request): + """新建工作空间 + + 在使用安全云脑的基线检查、告警管理、安全分析、安全编排等功能前,需要创建工作空间,它可以将资源划分为各个不同的工作场景,避免资源冗余查找不便,影响日常使用。 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for CreateWorkspace + :type request: :class:`huaweicloudsdksecmaster.v2.CreateWorkspaceRequest` + :rtype: :class:`huaweicloudsdksecmaster.v2.CreateWorkspaceResponse` + """ + http_info = self._create_workspace_http_info(request) + return self._call_api(**http_info) + + def create_workspace_invoker(self, request): + http_info = self._create_workspace_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _create_workspace_http_info(cls, request): + http_info = { + "method": "POST", + "resource_path": "/v1/{project_id}/workspaces", + "request_type": request.__class__.__name__, + "response_type": "CreateWorkspaceResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'project_id' in local_var_params: + path_params['project_id'] = local_var_params['project_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 = [] + + 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_alert(self, request): """删除告警 @@ -1579,9 +1788,9 @@ def _delete_incident_http_info(cls, request): return http_info def delete_indicator(self, request): - """删除指标 + """删除威胁情报 - 删除指标 + 删除威胁情报 Please refer to HUAWEI cloud API Explorer for details. @@ -2671,9 +2880,9 @@ def _list_incidents_http_info(cls, request): return http_info def list_indicators(self, request): - """查询指标列表 + """查询威胁情报列表 - 查询指标列表 + 查询威胁情报列表 Please refer to HUAWEI cloud API Explorer for details. @@ -3296,6 +3505,168 @@ def _list_workflows_http_info(cls, request): return http_info + def list_workspaces(self, request): + """工作空间列表查询 + + 工作空间列表查询:可通过工作空间名称、工作空间描述、创建时间等条件对租户的工作空间进行筛选。 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for ListWorkspaces + :type request: :class:`huaweicloudsdksecmaster.v2.ListWorkspacesRequest` + :rtype: :class:`huaweicloudsdksecmaster.v2.ListWorkspacesResponse` + """ + http_info = self._list_workspaces_http_info(request) + return self._call_api(**http_info) + + def list_workspaces_invoker(self, request): + http_info = self._list_workspaces_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _list_workspaces_http_info(cls, request): + http_info = { + "method": "GET", + "resource_path": "/v1/{project_id}/workspaces", + "request_type": request.__class__.__name__, + "response_type": "ListWorkspacesResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'project_id' in local_var_params: + path_params['project_id'] = local_var_params['project_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 'region_id' in local_var_params: + query_params.append(('region_id', local_var_params['region_id'])) + if 'name' in local_var_params: + query_params.append(('name', local_var_params['name'])) + if 'description' in local_var_params: + query_params.append(('description', local_var_params['description'])) + if 'view_bind_id' in local_var_params: + query_params.append(('view_bind_id', local_var_params['view_bind_id'])) + if 'view_bind_name' in local_var_params: + query_params.append(('view_bind_name', local_var_params['view_bind_name'])) + if 'create_time_start' in local_var_params: + query_params.append(('create_time_start', local_var_params['create_time_start'])) + if 'create_time_end' in local_var_params: + query_params.append(('create_time_end', local_var_params['create_time_end'])) + if 'is_view' in local_var_params: + query_params.append(('is_view', local_var_params['is_view'])) + if 'ids' in local_var_params: + query_params.append(('ids', local_var_params['ids'])) + if 'normal_project_id' in local_var_params: + query_params.append(('normal_project_id', local_var_params['normal_project_id'])) + if 'enterprise_project_id' in local_var_params: + query_params.append(('enterprise_project_id', local_var_params['enterprise_project_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 = [] + + 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 search_baseline(self, request): + """搜索基线检查结果列表 + + 搜索基线检查结果列表 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for SearchBaseline + :type request: :class:`huaweicloudsdksecmaster.v2.SearchBaselineRequest` + :rtype: :class:`huaweicloudsdksecmaster.v2.SearchBaselineResponse` + """ + http_info = self._search_baseline_http_info(request) + return self._call_api(**http_info) + + def search_baseline_invoker(self, request): + http_info = self._search_baseline_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _search_baseline_http_info(cls, request): + http_info = { + "method": "POST", + "resource_path": "/v2/{project_id}/workspaces/{workspace_id}/sa/baseline/search", + "request_type": request.__class__.__name__, + "response_type": "SearchBaselineResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'project_id' in local_var_params: + path_params['project_id'] = local_var_params['project_id'] + if 'workspace_id' in local_var_params: + path_params['workspace_id'] = local_var_params['workspace_id'] + + query_params = [] + + header_params = {} + if 'x_language' in local_var_params: + header_params['X-Language'] = local_var_params['x_language'] + + 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 = [] + + 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_alert(self, request): """获取告警详情 @@ -3573,9 +3944,9 @@ def _show_incident_http_info(cls, request): return http_info def show_indicator_detail(self, request): - """查询指标详情 + """查询威胁情报详情 - 查询指标详情 + 查询威胁情报详情 Please refer to HUAWEI cloud API Explorer for details. @@ -4202,9 +4573,9 @@ def _update_alert_rule_http_info(cls, request): return http_info def update_indicator(self, request): - """更新指标 + """更新威胁情报 - 更新指标 + 更新威胁情报 Please refer to HUAWEI cloud API Explorer for details. diff --git a/huaweicloud-sdk-secmaster/requirements.txt b/huaweicloud-sdk-secmaster/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-secmaster/requirements.txt +++ b/huaweicloud-sdk-secmaster/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-secmaster/setup.py b/huaweicloud-sdk-secmaster/setup.py index d85c19ff6a..4ee3ab1b2a 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-servicestage/requirements.txt b/huaweicloud-sdk-servicestage/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-servicestage/requirements.txt +++ b/huaweicloud-sdk-servicestage/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-servicestage/setup.py b/huaweicloud-sdk-servicestage/setup.py index dfcf94af4d..e5f37f6a1e 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-sfsturbo/requirements.txt b/huaweicloud-sdk-sfsturbo/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-sfsturbo/requirements.txt +++ b/huaweicloud-sdk-sfsturbo/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-sfsturbo/setup.py b/huaweicloud-sdk-sfsturbo/setup.py index 62eb890b8b..173784389b 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-sis/requirements.txt b/huaweicloud-sdk-sis/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-sis/requirements.txt +++ b/huaweicloud-sdk-sis/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-sis/setup.py b/huaweicloud-sdk-sis/setup.py index 62183dce9b..f477a89964 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-smn/requirements.txt b/huaweicloud-sdk-smn/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-smn/requirements.txt +++ b/huaweicloud-sdk-smn/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-smn/setup.py b/huaweicloud-sdk-smn/setup.py index 0018df5158..a078d20642 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-sms/requirements.txt b/huaweicloud-sdk-sms/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-sms/requirements.txt +++ b/huaweicloud-sdk-sms/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-sms/setup.py b/huaweicloud-sdk-sms/setup.py index 335e9fc345..153271110c 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-sts/requirements.txt b/huaweicloud-sdk-sts/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-sts/requirements.txt +++ b/huaweicloud-sdk-sts/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-sts/setup.py b/huaweicloud-sdk-sts/setup.py index 360a15c1ab..b00bd75348 100644 --- a/huaweicloud-sdk-sts/setup.py +++ b/huaweicloud-sdk-sts/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdksts" -VERSION = "3.1.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-swr/requirements.txt b/huaweicloud-sdk-swr/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-swr/requirements.txt +++ b/huaweicloud-sdk-swr/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-swr/setup.py b/huaweicloud-sdk-swr/setup.py index f581069425..0e3416a405 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-tics/requirements.txt b/huaweicloud-sdk-tics/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-tics/requirements.txt +++ b/huaweicloud-sdk-tics/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-tics/setup.py b/huaweicloud-sdk-tics/setup.py index 9c3f2210b7..c24ee424e9 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-tms/requirements.txt b/huaweicloud-sdk-tms/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-tms/requirements.txt +++ b/huaweicloud-sdk-tms/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-tms/setup.py b/huaweicloud-sdk-tms/setup.py index ad77085e8a..2807b8b76a 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ugo/requirements.txt b/huaweicloud-sdk-ugo/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-ugo/requirements.txt +++ b/huaweicloud-sdk-ugo/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-ugo/setup.py b/huaweicloud-sdk-ugo/setup.py index 5ce92c8ba0..a8aa0aec13 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-vas/requirements.txt b/huaweicloud-sdk-vas/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-vas/requirements.txt +++ b/huaweicloud-sdk-vas/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-vas/setup.py b/huaweicloud-sdk-vas/setup.py index 59c97f1bca..fdcb35ed19 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-vcm/requirements.txt b/huaweicloud-sdk-vcm/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-vcm/requirements.txt +++ b/huaweicloud-sdk-vcm/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-vcm/setup.py b/huaweicloud-sdk-vcm/setup.py index 6396f6c99d..0d8bdc4889 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-vod/requirements.txt b/huaweicloud-sdk-vod/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-vod/requirements.txt +++ b/huaweicloud-sdk-vod/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-vod/setup.py b/huaweicloud-sdk-vod/setup.py index eec99b1c8c..4e7b939531 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-vpc/huaweicloudsdkvpc/v2/region/vpc_region.py b/huaweicloud-sdk-vpc/huaweicloudsdkvpc/v2/region/vpc_region.py index 7db1a85e27..9f50211e46 100644 --- a/huaweicloud-sdk-vpc/huaweicloudsdkvpc/v2/region/vpc_region.py +++ b/huaweicloud-sdk-vpc/huaweicloudsdkvpc/v2/region/vpc_region.py @@ -64,6 +64,10 @@ class VpcRegion: "https://vpc.my-kualalumpur-1.myhuaweicloud.com") RU_MOSCOW_1 = Region("ru-moscow-1", "https://vpc.ru-moscow-1.myhuaweicloud.com") + CN_EAST_4 = Region("cn-east-4", + "https://vpc.cn-east-4.myhuaweicloud.com") + AF_NORTH_1 = Region("af-north-1", + "https://vpc.af-north-1.myhuaweicloud.com") static_fields = { "af-south-1": AF_SOUTH_1, @@ -95,6 +99,8 @@ class VpcRegion: "ru-northwest-2": RU_NORTHWEST_2, "my-kualalumpur-1": MY_KUALALUMPUR_1, "ru-moscow-1": RU_MOSCOW_1, + "cn-east-4": CN_EAST_4, + "af-north-1": AF_NORTH_1, } @classmethod diff --git a/huaweicloud-sdk-vpc/huaweicloudsdkvpc/v3/region/vpc_region.py b/huaweicloud-sdk-vpc/huaweicloudsdkvpc/v3/region/vpc_region.py index 7db1a85e27..9f50211e46 100644 --- a/huaweicloud-sdk-vpc/huaweicloudsdkvpc/v3/region/vpc_region.py +++ b/huaweicloud-sdk-vpc/huaweicloudsdkvpc/v3/region/vpc_region.py @@ -64,6 +64,10 @@ class VpcRegion: "https://vpc.my-kualalumpur-1.myhuaweicloud.com") RU_MOSCOW_1 = Region("ru-moscow-1", "https://vpc.ru-moscow-1.myhuaweicloud.com") + CN_EAST_4 = Region("cn-east-4", + "https://vpc.cn-east-4.myhuaweicloud.com") + AF_NORTH_1 = Region("af-north-1", + "https://vpc.af-north-1.myhuaweicloud.com") static_fields = { "af-south-1": AF_SOUTH_1, @@ -95,6 +99,8 @@ class VpcRegion: "ru-northwest-2": RU_NORTHWEST_2, "my-kualalumpur-1": MY_KUALALUMPUR_1, "ru-moscow-1": RU_MOSCOW_1, + "cn-east-4": CN_EAST_4, + "af-north-1": AF_NORTH_1, } @classmethod diff --git a/huaweicloud-sdk-vpc/huaweicloudsdkvpc/v3/vpc_async_client.py b/huaweicloud-sdk-vpc/huaweicloudsdkvpc/v3/vpc_async_client.py index 46757a37cb..2bbbea21b4 100644 --- a/huaweicloud-sdk-vpc/huaweicloudsdkvpc/v3/vpc_async_client.py +++ b/huaweicloud-sdk-vpc/huaweicloudsdkvpc/v3/vpc_async_client.py @@ -372,6 +372,7 @@ def batch_delete_port_tags_async(self, request): 为指定的端口资源实例批量删除标签。 此接口为幂等接口:删除时,如果删除的标签不存在,默认处理成功;删除时不对标签字符集范围做校验。删除时tags结构体不能缺失,key不能为空,或者空字符串。 + 该接口在华南-深圳上线。 Please refer to HUAWEI cloud API Explorer for details. diff --git a/huaweicloud-sdk-vpc/huaweicloudsdkvpc/v3/vpc_client.py b/huaweicloud-sdk-vpc/huaweicloudsdkvpc/v3/vpc_client.py index b01fbd4299..9009effc79 100644 --- a/huaweicloud-sdk-vpc/huaweicloudsdkvpc/v3/vpc_client.py +++ b/huaweicloud-sdk-vpc/huaweicloudsdkvpc/v3/vpc_client.py @@ -372,6 +372,7 @@ def batch_delete_port_tags(self, request): 为指定的端口资源实例批量删除标签。 此接口为幂等接口:删除时,如果删除的标签不存在,默认处理成功;删除时不对标签字符集范围做校验。删除时tags结构体不能缺失,key不能为空,或者空字符串。 + 该接口在华南-深圳上线。 Please refer to HUAWEI cloud API Explorer for details. diff --git a/huaweicloud-sdk-vpc/requirements.txt b/huaweicloud-sdk-vpc/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-vpc/requirements.txt +++ b/huaweicloud-sdk-vpc/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-vpc/setup.py b/huaweicloud-sdk-vpc/setup.py index 9e0244e72e..173efd88e9 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-vpcep/requirements.txt b/huaweicloud-sdk-vpcep/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-vpcep/requirements.txt +++ b/huaweicloud-sdk-vpcep/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-vpcep/setup.py b/huaweicloud-sdk-vpcep/setup.py index ff89c14cbb..1e7c85e762 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-vpn/requirements.txt b/huaweicloud-sdk-vpn/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-vpn/requirements.txt +++ b/huaweicloud-sdk-vpn/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-vpn/setup.py b/huaweicloud-sdk-vpn/setup.py index 6b591f42b2..39a5f14ddb 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-waf/requirements.txt b/huaweicloud-sdk-waf/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-waf/requirements.txt +++ b/huaweicloud-sdk-waf/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-waf/setup.py b/huaweicloud-sdk-waf/setup.py index c58b5cc3a5..8ecd450b3b 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-workspace/huaweicloudsdkworkspace/v2/model/record.py b/huaweicloud-sdk-workspace/huaweicloudsdkworkspace/v2/model/record.py index 440ac88470..208fd4728e 100644 --- a/huaweicloud-sdk-workspace/huaweicloudsdkworkspace/v2/model/record.py +++ b/huaweicloud-sdk-workspace/huaweicloudsdkworkspace/v2/model/record.py @@ -17,6 +17,8 @@ class Record: sensitive_list = [] openapi_types = { + 'sid': 'str', + 'transaction_id': 'str', 'computer_name': 'str', 'user_name': 'str', 'terminal_mac': 'str', @@ -30,10 +32,14 @@ class Record: 'connection_setup_time': 'str', 'connection_end_time': 'str', 'is_reconnect': 'bool', - 'connection_failure_reason': 'str' + 'connection_failure_reason': 'str', + 'network_rtt': 'int', + 'e2e_rtt': 'int' } attribute_map = { + 'sid': 'sid', + 'transaction_id': 'transaction_id', 'computer_name': 'computer_name', 'user_name': 'user_name', 'terminal_mac': 'terminal_mac', @@ -47,14 +53,20 @@ class Record: 'connection_setup_time': 'connection_setup_time', 'connection_end_time': 'connection_end_time', 'is_reconnect': 'is_reconnect', - 'connection_failure_reason': 'connection_failure_reason' + 'connection_failure_reason': 'connection_failure_reason', + 'network_rtt': 'network_rtt', + 'e2e_rtt': 'e2e_rtt' } - def __init__(self, computer_name=None, user_name=None, terminal_mac=None, terminal_name=None, terminal_ip=None, client_version=None, terminal_type=None, agent_version=None, desktop_ip=None, connection_start_time=None, connection_setup_time=None, connection_end_time=None, is_reconnect=None, connection_failure_reason=None): + def __init__(self, sid=None, transaction_id=None, computer_name=None, user_name=None, terminal_mac=None, terminal_name=None, terminal_ip=None, client_version=None, terminal_type=None, agent_version=None, desktop_ip=None, connection_start_time=None, connection_setup_time=None, connection_end_time=None, is_reconnect=None, connection_failure_reason=None, network_rtt=None, e2e_rtt=None): """Record The model defined in huaweicloud sdk + :param sid: 桌面sid + :type sid: str + :param transaction_id: 事务id + :type transaction_id: str :param computer_name: 计算机名。 :type computer_name: str :param user_name: 用户名。 @@ -83,10 +95,16 @@ def __init__(self, computer_name=None, user_name=None, terminal_mac=None, termin :type is_reconnect: bool :param connection_failure_reason: 连接失败原因。 :type connection_failure_reason: str + :param network_rtt: 网络时延ms + :type network_rtt: int + :param e2e_rtt: 端到端时延 ms + :type e2e_rtt: int """ + self._sid = None + self._transaction_id = None self._computer_name = None self._user_name = None self._terminal_mac = None @@ -101,8 +119,14 @@ def __init__(self, computer_name=None, user_name=None, terminal_mac=None, termin self._connection_end_time = None self._is_reconnect = None self._connection_failure_reason = None + self._network_rtt = None + self._e2e_rtt = None self.discriminator = None + if sid is not None: + self.sid = sid + if transaction_id is not None: + self.transaction_id = transaction_id if computer_name is not None: self.computer_name = computer_name if user_name is not None: @@ -131,6 +155,54 @@ def __init__(self, computer_name=None, user_name=None, terminal_mac=None, termin self.is_reconnect = is_reconnect if connection_failure_reason is not None: self.connection_failure_reason = connection_failure_reason + if network_rtt is not None: + self.network_rtt = network_rtt + if e2e_rtt is not None: + self.e2e_rtt = e2e_rtt + + @property + def sid(self): + """Gets the sid of this Record. + + 桌面sid + + :return: The sid of this Record. + :rtype: str + """ + return self._sid + + @sid.setter + def sid(self, sid): + """Sets the sid of this Record. + + 桌面sid + + :param sid: The sid of this Record. + :type sid: str + """ + self._sid = sid + + @property + def transaction_id(self): + """Gets the transaction_id of this Record. + + 事务id + + :return: The transaction_id of this Record. + :rtype: str + """ + return self._transaction_id + + @transaction_id.setter + def transaction_id(self, transaction_id): + """Sets the transaction_id of this Record. + + 事务id + + :param transaction_id: The transaction_id of this Record. + :type transaction_id: str + """ + self._transaction_id = transaction_id @property def computer_name(self): @@ -440,6 +512,50 @@ def connection_failure_reason(self, connection_failure_reason): """ self._connection_failure_reason = connection_failure_reason + @property + def network_rtt(self): + """Gets the network_rtt of this Record. + + 网络时延ms + + :return: The network_rtt of this Record. + :rtype: int + """ + return self._network_rtt + + @network_rtt.setter + def network_rtt(self, network_rtt): + """Sets the network_rtt of this Record. + + 网络时延ms + + :param network_rtt: The network_rtt of this Record. + :type network_rtt: int + """ + self._network_rtt = network_rtt + + @property + def e2e_rtt(self): + """Gets the e2e_rtt of this Record. + + 端到端时延 ms + + :return: The e2e_rtt of this Record. + :rtype: int + """ + return self._e2e_rtt + + @e2e_rtt.setter + def e2e_rtt(self, e2e_rtt): + """Sets the e2e_rtt of this Record. + + 端到端时延 ms + + :param e2e_rtt: The e2e_rtt of this Record. + :type e2e_rtt: int + """ + self._e2e_rtt = e2e_rtt + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-workspace/requirements.txt b/huaweicloud-sdk-workspace/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-workspace/requirements.txt +++ b/huaweicloud-sdk-workspace/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-workspace/setup.py b/huaweicloud-sdk-workspace/setup.py index 5d6b445afb..4809e044eb 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-workspaceapp/requirements.txt b/huaweicloud-sdk-workspaceapp/requirements.txt index 013598574a..6837fde779 100644 --- a/huaweicloud-sdk-workspaceapp/requirements.txt +++ b/huaweicloud-sdk-workspaceapp/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.106 \ No newline at end of file +huaweicloudsdkcore >= 3.1.107 \ No newline at end of file diff --git a/huaweicloud-sdk-workspaceapp/setup.py b/huaweicloud-sdk-workspaceapp/setup.py index d46d4a27e3..e691631f72 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.106" +VERSION = "3.1.107" 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.106"] +REQUIRES = ["huaweicloudsdkcore>=3.1.107"] OPTIONS = { 'bdist_wheel': {