From 02529762a3ed9d07b49272f5a8b59b0bb482794e Mon Sep 17 00:00:00 2001 From: Huaweicloud-SDK Date: Thu, 12 Sep 2024 16:20:45 +0800 Subject: [PATCH] release 3.1.114 source code --- CHANGELOG.md | 199 ++ CHANGELOG_CN.md | 199 ++ VERSION | 2 +- huaweicloud-sdk-aad/requirements.txt | 2 +- huaweicloud-sdk-aad/setup.py | 4 +- huaweicloud-sdk-all/requirements.txt | 330 ++-- huaweicloud-sdk-all/setup.py | 332 ++-- huaweicloud-sdk-antiddos/requirements.txt | 2 +- huaweicloud-sdk-antiddos/setup.py | 4 +- .../huaweicloudsdkaom/v2/__init__.py | 1 + .../huaweicloudsdkaom/v2/aom_async_client.py | 4 + .../huaweicloudsdkaom/v2/aom_client.py | 4 + .../huaweicloudsdkaom/v2/model/__init__.py | 1 + .../v2/model/delete_prom_instance_request.py | 9 +- .../huaweicloudsdkaom/v2/model/event_model.py | 122 +- .../v2/model/list_agents_request.py | 12 +- .../v2/model/list_events_request.py | 60 +- .../v2/model/list_events_response.py | 31 +- .../huaweicloudsdkaom/v2/model/page_info.py | 116 +- huaweicloud-sdk-aom/requirements.txt | 2 +- huaweicloud-sdk-aom/setup.py | 4 +- huaweicloud-sdk-aos/requirements.txt | 2 +- huaweicloud-sdk-aos/setup.py | 4 +- huaweicloud-sdk-apig/requirements.txt | 2 +- huaweicloud-sdk-apig/setup.py | 4 +- huaweicloud-sdk-apm/requirements.txt | 2 +- huaweicloud-sdk-apm/setup.py | 4 +- huaweicloud-sdk-as/requirements.txt | 2 +- huaweicloud-sdk-as/setup.py | 4 +- huaweicloud-sdk-asm/requirements.txt | 2 +- huaweicloud-sdk-asm/setup.py | 4 +- huaweicloud-sdk-bcs/requirements.txt | 2 +- huaweicloud-sdk-bcs/setup.py | 4 +- huaweicloud-sdk-bms/requirements.txt | 2 +- huaweicloud-sdk-bms/setup.py | 4 +- huaweicloud-sdk-bss/requirements.txt | 2 +- huaweicloud-sdk-bss/setup.py | 4 +- huaweicloud-sdk-bssintl/requirements.txt | 2 +- huaweicloud-sdk-bssintl/setup.py | 4 +- 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 | 17 +- .../huaweicloudsdkcce/v3/cce_async_client.py | 288 +-- .../huaweicloudsdkcce/v3/cce_client.py | 288 +-- .../huaweicloudsdkcce/v3/model/__init__.py | 17 +- .../v3/model/add_nodes_to_node_pool.py | 45 +- .../v3/model/add_nodes_to_node_pool_list.py | 170 ++ .../model/add_nodes_to_node_pool_request.py | 90 +- .../model/add_nodes_to_node_pool_response.py | 48 +- .../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/res_instance_body.py | 231 --- .../v3/model/resource_tag_body.py | 202 --- ...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 -- 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 +- 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 +- huaweicloud-sdk-coc/requirements.txt | 2 +- huaweicloud-sdk-coc/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 +- huaweicloud-sdk-core/setup.py | 2 +- 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 +- .../huaweicloudsdkcts/v3/region/cts_region.py | 3 + huaweicloud-sdk-cts/requirements.txt | 2 +- huaweicloud-sdk-cts/setup.py | 4 +- huaweicloud-sdk-das/requirements.txt | 2 +- huaweicloud-sdk-das/setup.py | 4 +- .../requirements.txt | 2 +- huaweicloud-sdk-dataartsstudio/setup.py | 4 +- huaweicloud-sdk-dbss/requirements.txt | 2 +- huaweicloud-sdk-dbss/setup.py | 4 +- huaweicloud-sdk-dc/requirements.txt | 2 +- huaweicloud-sdk-dc/setup.py | 4 +- huaweicloud-sdk-dcs/requirements.txt | 2 +- huaweicloud-sdk-dcs/setup.py | 4 +- huaweicloud-sdk-ddm/requirements.txt | 2 +- huaweicloud-sdk-ddm/setup.py | 4 +- huaweicloud-sdk-dds/requirements.txt | 2 +- huaweicloud-sdk-dds/setup.py | 4 +- huaweicloud-sdk-deh/requirements.txt | 2 +- huaweicloud-sdk-deh/setup.py | 4 +- huaweicloud-sdk-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 +- ...eate_elastic_resource_pool_request_body.py | 47 +- .../v1/model/elastic_resource_pool.py | 6 +- ...date_elastic_resource_pool_request_body.py | 12 +- huaweicloud-sdk-dli/requirements.txt | 2 +- huaweicloud-sdk-dli/setup.py | 4 +- huaweicloud-sdk-dns/requirements.txt | 2 +- huaweicloud-sdk-dns/setup.py | 4 +- huaweicloud-sdk-dris/requirements.txt | 2 +- huaweicloud-sdk-dris/setup.py | 4 +- huaweicloud-sdk-drs/requirements.txt | 2 +- huaweicloud-sdk-drs/setup.py | 4 +- huaweicloud-sdk-dsc/requirements.txt | 2 +- huaweicloud-sdk-dsc/setup.py | 4 +- huaweicloud-sdk-dwr/requirements.txt | 2 +- huaweicloud-sdk-dwr/setup.py | 4 +- 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 +- .../huaweicloudsdkedgesec/v1/__init__.py | 79 - .../v1/edgesec_async_client.py | 1602 ----------------- .../v1/edgesec_client.py | 1599 ---------------- .../v1/model/__init__.py | 76 - .../v1/model/apply_waf_policy_request_body.py | 143 -- .../v1/model/apply_waf_policy_response.py | 365 ---- .../v1/model/bind_host.py | 144 -- .../v1/model/certificate_body.py | 257 --- .../v1/model/create_certificate_request.py | 168 -- .../model/create_certificate_request_body.py | 170 -- .../v1/model/create_certificate_response.py | 319 ---- .../create_edge_waf_domains_request_body.py | 287 --- .../v1/model/create_policy_request.py | 168 -- .../v1/model/create_policy_response.py | 423 ----- .../v1/model/delete_certificate_request.py | 171 -- .../v1/model/delete_certificate_response.py | 319 ---- .../delete_edge_d_do_s_domains_request.py | 143 -- .../model/delete_edge_waf_domains_request.py | 143 -- .../v1/model/delete_policy_response.py | 423 ----- .../v1/model/edge_d_do_s_domain_vo.py | 347 ---- .../v1/model/edge_sec_product_resource.py | 405 ----- .../huaweicloudsdkedgesec/v1/model/flag.py | 231 --- .../v1/model/list_cdn_domains_response.py | 174 -- .../v1/model/list_certificates_request.py | 288 --- .../model/list_edge_d_do_s_domains_request.py | 202 --- .../list_edge_d_do_s_domains_response.py | 145 -- .../list_edge_sec_subscription_request.py | 115 -- .../list_edge_sec_subscription_response.py | 203 --- .../v1/model/list_edge_waf_domains_request.py | 231 --- .../v1/model/list_policy_request.py | 230 --- .../v1/model/list_policy_response.py | 145 -- .../v1/model/policy_option.py | 608 ------- .../v1/model/policy_response.py | 422 ----- .../v1/model/show_cdn_domain_response_body.py | 401 ----- .../v1/model/show_certificate_request.py | 171 -- .../v1/model/show_certificate_response.py | 319 ---- .../v1/model/show_edge_waf_domains_request.py | 143 -- .../model/show_edge_waf_domains_response.py | 771 -------- .../v1/model/show_statistics_event_request.py | 199 -- .../model/show_statistics_event_response.py | 290 --- .../model/show_statistics_traffic_request.py | 199 -- .../model/show_statistics_traffic_response.py | 290 --- .../v1/model/show_waf_domain_response_body.py | 770 -------- .../v1/model/time_series_data.py | 144 -- .../v1/model/update_certificate_request.py | 196 -- .../model/update_certificate_request_body.py | 172 -- .../v1/model/update_certificate_response.py | 203 --- ...update_edge_d_do_s_domains_request_body.py | 143 -- .../update_edge_d_do_s_domains_response.py | 85 - .../update_edge_waf_domains_request_body.py | 422 ----- .../v1/model/waf_block_page.py | 168 -- .../v1/model/waf_policy_action.py | 144 -- .../v1/model/waf_policy_bind_host.py | 144 -- .../v1/model/waf_policy_option.py | 637 ------- .../huaweicloudsdkedgesec/v2/__init__.py | 21 + .../v2/edgesec_async_client.py | 419 +++++ .../v2/edgesec_client.py | 416 +++++ .../v2/model/__init__.py | 18 + .../model/create_domain_request_body.py} | 111 +- .../model/create_domains_request.py} | 24 +- .../model/create_domains_response.py} | 8 +- .../model/delete_domains_request.py} | 34 +- .../model/delete_domains_response.py} | 8 +- .../v2/model/domain_info.py | 376 ++++ .../model/show_domain_detail_request.py} | 45 +- .../v2/model/show_domain_detail_response.py | 319 ++++ .../model/show_domains_request.py} | 87 +- .../model/show_domains_response.py} | 63 +- .../model/update_domain_request_body.py} | 84 +- .../model/update_domains_request.py} | 58 +- .../model/update_domains_response.py} | 8 +- .../{v1 => v2}/region/__init__.py | 0 .../{v1 => v2}/region/edgesec_region.py | 20 +- huaweicloud-sdk-edgesec/requirements.txt | 2 +- huaweicloud-sdk-edgesec/setup.py | 4 +- huaweicloud-sdk-eg/requirements.txt | 2 +- huaweicloud-sdk-eg/setup.py | 4 +- huaweicloud-sdk-eihealth/requirements.txt | 2 +- huaweicloud-sdk-eihealth/setup.py | 4 +- huaweicloud-sdk-eip/requirements.txt | 2 +- huaweicloud-sdk-eip/setup.py | 4 +- huaweicloud-sdk-elb/requirements.txt | 2 +- huaweicloud-sdk-elb/setup.py | 4 +- huaweicloud-sdk-eps/requirements.txt | 2 +- huaweicloud-sdk-eps/setup.py | 4 +- huaweicloud-sdk-er/requirements.txt | 2 +- huaweicloud-sdk-er/setup.py | 4 +- huaweicloud-sdk-evs/requirements.txt | 2 +- huaweicloud-sdk-evs/setup.py | 4 +- huaweicloud-sdk-frs/requirements.txt | 2 +- huaweicloud-sdk-frs/setup.py | 4 +- .../requirements.txt | 2 +- huaweicloud-sdk-functiongraph/setup.py | 4 +- huaweicloud-sdk-ga/requirements.txt | 2 +- huaweicloud-sdk-ga/setup.py | 4 +- huaweicloud-sdk-gaussdb/requirements.txt | 2 +- huaweicloud-sdk-gaussdb/setup.py | 4 +- .../requirements.txt | 2 +- huaweicloud-sdk-gaussdbfornosql/setup.py | 4 +- .../requirements.txt | 2 +- huaweicloud-sdk-gaussdbforopengauss/setup.py | 4 +- huaweicloud-sdk-geip/requirements.txt | 2 +- huaweicloud-sdk-geip/setup.py | 4 +- huaweicloud-sdk-ges/requirements.txt | 2 +- huaweicloud-sdk-ges/setup.py | 4 +- .../huaweicloudsdkgsl/v3/__init__.py | 5 + .../huaweicloudsdkgsl/v3/gsl_async_client.py | 65 + .../huaweicloudsdkgsl/v3/gsl_client.py | 65 + .../huaweicloudsdkgsl/v3/model/__init__.py | 5 + .../list_sim_card_flow_per_day_request.py | 24 +- .../list_sim_card_flow_per_day_response.py | 37 +- .../v3/model/network_switch_policy_req.py | 31 +- .../v3/model/network_switch_req.py | 31 +- .../v3/model/sim_card_flow_item.py | 126 +- .../v3/model/sim_card_flow_per_day_req.py | 194 ++ .../v3/model/sim_card_flow_per_day_rsp.py | 82 +- 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 +- .../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 +- huaweicloud-sdk-iotda/requirements.txt | 2 +- huaweicloud-sdk-iotda/setup.py | 4 +- huaweicloud-sdk-iotdm/requirements.txt | 2 +- huaweicloud-sdk-iotdm/setup.py | 4 +- .../huaweicloudsdkiotedge/v2/__init__.py | 4 + .../v2/iotedge_async_client.py | 69 + .../v2/iotedge_client.py | 69 + .../v2/model/__init__.py | 4 + .../model/delete_dc_points_failed_detail.py | 170 ++ .../v2/model/delete_dc_points_req_dto.py | 37 +- .../v2/model/delete_dc_points_request.py | 90 +- .../v2/model/delete_dc_points_response.py | 90 +- 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 +- 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 +- .../huaweicloudsdkmeeting/v1/__init__.py | 5 + .../v1/meeting_async_client.py | 203 ++- .../v1/meeting_client.py | 203 ++- .../v1/model/__init__.py | 5 + .../v1/model/record_info_req.py | 173 ++ .../v1/model/segment_do.py | 202 +++ .../v1/model/segment_file_do.py | 318 ++++ .../v1/model/show_record_info_request.py | 111 ++ .../v1/model/show_record_info_response.py | 319 ++++ huaweicloud-sdk-meeting/requirements.txt | 2 +- huaweicloud-sdk-meeting/setup.py | 4 +- .../huaweicloudsdkmetastudio/v1/__init__.py | 5 + .../v1/metastudio_async_client.py | 2 + .../v1/metastudio_client.py | 2 + .../v1/model/__init__.py | 5 + .../v1/model/action_basic_sample_info.py | 230 +++ .../v1/model/action_sample_info.py | 259 +++ .../v1/model/audio_drive_action_config.py | 171 ++ .../v1/model/background_config_info.py | 24 +- .../v1/model/background_music_config.py | 12 +- .../v1/model/chat_subtitle_config.py | 24 +- .../v1/model/co_streamer_config.py | 6 +- .../v1/model/control_smart_live_req.py | 12 +- .../model/create2d_model_training_job_req.py | 159 +- .../create2d_model_training_job_response.py | 60 +- .../v1/model/create_smart_chat_room_req.py | 6 +- .../v1/model/create_smart_live_room_req.py | 48 +- .../v1/model/create_video_scripts_req.py | 42 +- .../v1/model/digital_human_video.py | 6 +- ...te2d_model_training_command_by_user_req.py | 12 +- ...model_training_command_by_user_response.py | 31 +- .../execute_smart_live_command_response.py | 6 +- .../v1/model/hit_condition.py | 12 +- .../v1/model/hit_condition_tag.py | 24 +- .../v1/model/image_layer_config.py | 6 +- .../v1/model/interaction_rule_detail_info.py | 36 +- .../v1/model/interaction_rule_group_detail.py | 12 +- .../v1/model/interaction_rule_info.py | 24 +- .../v1/model/layer_config.py | 18 +- .../v1/model/layer_position_config.py | 18 +- .../v1/model/layer_size_config.py | 12 +- .../list2d_model_training_job_request.py | 35 +- .../v1/model/list_assets_request.py | 12 +- .../list_digital_human_video_response.py | 6 +- .../list_interaction_rule_groups_response.py | 6 +- .../v1/model/list_smart_chat_rooms_request.py | 12 +- .../model/list_smart_chat_rooms_response.py | 12 +- .../v1/model/list_smart_live_jobs_response.py | 6 +- .../v1/model/list_smart_live_response.py | 6 +- .../v1/model/list_smart_live_rooms_request.py | 18 +- .../v1/model/list_video_scripts_request.py | 6 +- .../v1/model/live_audio_config.py | 18 +- .../v1/model/live_event.py | 18 +- .../v1/model/live_event_call_back_config.py | 24 +- .../v1/model/live_event_report_request.py | 6 +- .../model/live_room_interaction_rule_info.py | 42 +- .../v1/model/live_shoot_script_item.py | 12 +- .../v1/model/live_video_script_info.py | 30 +- .../v1/model/operation_log_info.py | 6 +- .../v1/model/output_asset_config.py | 6 +- .../v1/model/photo_video_config.py | 12 +- .../v1/model/play_policy.py | 30 +- .../v1/model/report_live_event_req.py | 6 +- .../model/rtc_live_event_call_back_config.py | 6 +- .../v1/model/shared_config.py | 24 +- .../v1/model/shoot_script.py | 37 +- .../v1/model/shoot_script_detail.py | 43 +- .../v1/model/shoot_script_item.py | 6 +- .../v1/model/shoot_script_item_base_info.py | 6 +- .../v1/model/shoot_script_show_item.py | 6 +- .../show2_d_digital_human_video_response.py | 6 +- .../show2d_model_training_job_response.py | 269 ++- ...show_photo_digital_human_video_response.py | 6 +- .../v1/model/show_smart_chat_room_response.py | 18 +- .../v1/model/show_smart_live_response.py | 36 +- .../v1/model/show_smart_live_room_response.py | 60 +- .../v1/model/show_video_script_response.py | 42 +- .../v1/model/smart_chat_room_base_info.py | 18 +- .../v1/model/smart_image_layer_config.py | 6 +- .../v1/model/smart_live_job.py | 36 +- .../v1/model/smart_live_room_base_info.py | 30 +- .../v1/model/smart_text_layer_config.py | 30 +- .../v1/model/smart_video_layer_config.py | 6 +- .../v1/model/start_smart_live_req.py | 24 +- .../v1/model/subtitle_config.py | 36 +- .../v1/model/text_config.py | 6 +- .../v1/model/text_layer_config.py | 24 +- .../v1/model/training_job_basic_info.py | 41 +- .../v1/model/trigger_process.py | 42 +- .../model/update2d_model_training_job_req.py | 134 +- .../update2d_model_training_job_response.py | 60 +- .../update_interaction_rule_group_response.py | 12 +- .../model/update_smart_chat_room_response.py | 18 +- .../model/update_smart_live_room_response.py | 60 +- .../v1/model/update_video_scripts_req.py | 42 +- .../v1/model/verify_video_matting_info.py | 231 +++ .../v1/model/video_config.py | 60 +- .../v1/model/video_layer_config.py | 18 +- .../v1/model/video_scripts_create_info.py | 42 +- .../v1/model/video_scripts_show_info.py | 42 +- .../v1/model/video_scripts_simple_info.py | 42 +- .../v1/model/voice_config.py | 24 +- .../v1/model/voice_properties.py | 170 ++ huaweicloud-sdk-metastudio/requirements.txt | 2 +- huaweicloud-sdk-metastudio/setup.py | 4 +- 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 +- 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 +- 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 +- 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 +- huaweicloud-sdk-vpc/requirements.txt | 2 +- huaweicloud-sdk-vpc/setup.py | 4 +- .../create_endpoint_service_request_body.py | 37 +- .../model/create_endpoint_service_response.py | 31 +- .../v1/model/list_endpoint_service_request.py | 35 +- .../v1/model/list_service_details_response.py | 31 +- .../v1/model/policy_statement.py | 6 +- .../v1/model/resource_tag.py | 12 +- .../v1/model/service_list.py | 31 +- .../huaweicloudsdkvpcep/v1/model/tag_list.py | 12 +- .../v1/model/tag_values_list.py | 6 +- .../update_endpoint_service_request_body.py | 35 +- .../model/update_endpoint_service_response.py | 31 +- .../v1/vpcep_async_client.py | 2 + .../huaweicloudsdkvpcep/v1/vpcep_client.py | 2 + huaweicloud-sdk-vpcep/requirements.txt | 2 +- huaweicloud-sdk-vpcep/setup.py | 4 +- huaweicloud-sdk-vpn/requirements.txt | 2 +- huaweicloud-sdk-vpn/setup.py | 4 +- huaweicloud-sdk-waf/requirements.txt | 2 +- huaweicloud-sdk-waf/setup.py | 4 +- .../v2/region/workspace_region.py | 15 + huaweicloud-sdk-workspace/requirements.txt | 2 +- huaweicloud-sdk-workspace/setup.py | 4 +- huaweicloud-sdk-workspaceapp/requirements.txt | 2 +- huaweicloud-sdk-workspaceapp/setup.py | 4 +- 575 files changed, 9107 insertions(+), 21750 deletions(-) rename huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/waf_custom_page.py => huaweicloud-sdk-aom/huaweicloudsdkaom/v2/model/page_info.py (50%) rename huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/action.py => huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/add_nodes_to_node_pool.py (70%) create mode 100644 huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/add_nodes_to_node_pool_list.py rename huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/update_edge_d_do_s_domains_request.py => huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/add_nodes_to_node_pool_request.py (50%) rename huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/create_policy_request_body.py => huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/add_nodes_to_node_pool_response.py (65%) delete mode 100644 huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/batch_create_delete_resource_tags.py delete mode 100644 huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/batch_create_delete_resource_tags_request.py delete mode 100644 huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/batch_create_delete_resource_tags_response.py delete mode 100644 huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/res_instance_body.py delete mode 100644 huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/resource_tag_body.py delete mode 100644 huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/show_customize_cluster_tags_by_project_id_request.py delete mode 100644 huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/show_customize_cluster_tags_by_project_id_response.py delete mode 100644 huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/show_resource_instances.py delete mode 100644 huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/show_resource_instances_request.py delete mode 100644 huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/show_resource_instances_response.py delete mode 100644 huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/show_resource_tags_request.py delete mode 100644 huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/show_resource_tags_response.py delete mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/__init__.py delete mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/edgesec_async_client.py delete mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/edgesec_client.py delete mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/__init__.py delete mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/apply_waf_policy_request_body.py delete mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/apply_waf_policy_response.py delete mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/bind_host.py delete mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/certificate_body.py delete mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/create_certificate_request.py delete mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/create_certificate_request_body.py delete mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/create_certificate_response.py delete mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/create_edge_waf_domains_request_body.py delete mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/create_policy_request.py delete mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/create_policy_response.py delete mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/delete_certificate_request.py delete mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/delete_certificate_response.py delete mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/delete_edge_d_do_s_domains_request.py delete mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/delete_edge_waf_domains_request.py delete mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/delete_policy_response.py delete mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/edge_d_do_s_domain_vo.py delete mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/edge_sec_product_resource.py delete mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/flag.py delete mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/list_cdn_domains_response.py delete mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/list_certificates_request.py delete mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/list_edge_d_do_s_domains_request.py delete mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/list_edge_d_do_s_domains_response.py delete mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/list_edge_sec_subscription_request.py delete mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/list_edge_sec_subscription_response.py delete mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/list_edge_waf_domains_request.py delete mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/list_policy_request.py delete mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/list_policy_response.py delete mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/policy_option.py delete mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/policy_response.py delete mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/show_cdn_domain_response_body.py delete mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/show_certificate_request.py delete mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/show_certificate_response.py delete mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/show_edge_waf_domains_request.py delete mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/show_edge_waf_domains_response.py delete mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/show_statistics_event_request.py delete mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/show_statistics_event_response.py delete mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/show_statistics_traffic_request.py delete mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/show_statistics_traffic_response.py delete mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/show_waf_domain_response_body.py delete mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/time_series_data.py delete mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/update_certificate_request.py delete mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/update_certificate_request_body.py delete mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/update_certificate_response.py delete mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/update_edge_d_do_s_domains_request_body.py delete mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/update_edge_d_do_s_domains_response.py delete mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/update_edge_waf_domains_request_body.py delete mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/waf_block_page.py delete mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/waf_policy_action.py delete mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/waf_policy_bind_host.py delete mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/waf_policy_option.py create mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/__init__.py create mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/edgesec_async_client.py create mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/edgesec_client.py create mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/model/__init__.py rename huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/{v1/model/delete_policy_request.py => v2/model/create_domain_request_body.py} (53%) rename huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/{v1/model/create_edge_waf_domains_request.py => v2/model/create_domains_request.py} (76%) rename huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/{v1/model/update_edge_waf_domains_response.py => v2/model/create_domains_response.py} (91%) rename huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/{v1/model/create_edge_d_do_s_domains_request_body.py => v2/model/delete_domains_request.py} (71%) rename huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/{v1/model/create_edge_waf_domains_response.py => v2/model/delete_domains_response.py} (91%) create mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/model/domain_info.py rename huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/{v1/model/policy_action.py => v2/model/show_domain_detail_request.py} (70%) create mode 100644 huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/model/show_domain_detail_response.py rename huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/{v1/model/list_cdn_domains_request.py => v2/model/show_domains_request.py} (65%) rename huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/{v1/model/list_edge_waf_domains_response.py => v2/model/show_domains_response.py} (61%) rename huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/{v1/model/cdn_domain_tags.py => v2/model/update_domain_request_body.py} (55%) rename huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/{v1/model/update_edge_waf_domains_request.py => v2/model/update_domains_request.py} (63%) rename huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/{v1/model/delete_edge_waf_domains_response.py => v2/model/update_domains_response.py} (91%) rename huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/{v1 => v2}/region/__init__.py (100%) rename huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/{v1 => v2}/region/edgesec_region.py (82%) rename huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/create_edge_d_do_s_domains_request.py => huaweicloud-sdk-gsl/huaweicloudsdkgsl/v3/model/list_sim_card_flow_per_day_request.py (76%) rename huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/delete_edge_d_do_s_domains_response.py => huaweicloud-sdk-gsl/huaweicloudsdkgsl/v3/model/list_sim_card_flow_per_day_response.py (67%) rename huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/waf_traffic_mark.py => huaweicloud-sdk-gsl/huaweicloudsdkgsl/v3/model/sim_card_flow_item.py (52%) create mode 100644 huaweicloud-sdk-gsl/huaweicloudsdkgsl/v3/model/sim_card_flow_per_day_req.py rename huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/tag_filter.py => huaweicloud-sdk-gsl/huaweicloudsdkgsl/v3/model/sim_card_flow_per_day_rsp.py (59%) create mode 100644 huaweicloud-sdk-iotedge/huaweicloudsdkiotedge/v2/model/delete_dc_points_failed_detail.py rename huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/create_edge_d_do_s_domains_response.py => huaweicloud-sdk-iotedge/huaweicloudsdkiotedge/v2/model/delete_dc_points_req_dto.py (73%) rename huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/apply_waf_policy_request.py => huaweicloud-sdk-iotedge/huaweicloudsdkiotedge/v2/model/delete_dc_points_request.py (52%) rename huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/list_certificates_response.py => huaweicloud-sdk-iotedge/huaweicloudsdkiotedge/v2/model/delete_dc_points_response.py (55%) create mode 100644 huaweicloud-sdk-meeting/huaweicloudsdkmeeting/v1/model/record_info_req.py create mode 100644 huaweicloud-sdk-meeting/huaweicloudsdkmeeting/v1/model/segment_do.py create mode 100644 huaweicloud-sdk-meeting/huaweicloudsdkmeeting/v1/model/segment_file_do.py create mode 100644 huaweicloud-sdk-meeting/huaweicloudsdkmeeting/v1/model/show_record_info_request.py create mode 100644 huaweicloud-sdk-meeting/huaweicloudsdkmeeting/v1/model/show_record_info_response.py create mode 100644 huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/action_basic_sample_info.py create mode 100644 huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/action_sample_info.py create mode 100644 huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/audio_drive_action_config.py create mode 100644 huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/verify_video_matting_info.py create mode 100644 huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/voice_properties.py diff --git a/CHANGELOG.md b/CHANGELOG.md index 7eca5ee2ef..99e41e2a90 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,202 @@ +# 3.1.114 2024-09-12 + +### HuaweiCloud SDK AOM + +- _API Version_ + - V2 +- _Features_ + - None +- _Bug Fix_ + - None +- _Change_ + - **ListEvents** + - changes of request param + - `+ limit` + - `+ marker` + - changes of response param + - `+ page_info` + - `+ events.event_sn` + - `+ events.arrives_at` + - `+ events.enterprise_project_id` + - `+ events.policy` + - **PushEvents** + - changes of request param + - `- events` + - `+ events.event_sn` + - `+ events.arrives_at` + - `+ events.enterprise_project_id` + - `+ events.policy` + - **DeletePromInstance** + - changes of request param + - `* Enterprise-Project-Id: optional -> required` + +### HuaweiCloud SDK CCE + +- _API Version_ + - V3 +- _Features_ + - Support the API `AddNodesToNodePool` +- _Bug Fix_ + - None +- _Change_ + - Remove the APIs `ShowResourceInstances`, `BatchCreateDeleteResourceTags`, `ShowResourceTags`, `ShowCustomizeClusterTagsByProjectId` + +### HuaweiCloud SDK DLI + +- _API Version_ + - V1 +- _Features_ + - None +- _Bug Fix_ + - None +- _Change_ + - **CreateElasticResourcePool** + - changes of request param + - `+ label` + +### HuaweiCloud SDK GSL + +- _API Version_ + - V3 +- _Features_ + - Support the API `ListSimCardFlowPerDay` +- _Bug Fix_ + - None +- _Change_ + - **SwitchNetwork** + - changes of request param + - `+ cid` + - **SetNetworkSwitchPolicy** + - changes of request param + - `+ cid` + +### HuaweiCloud SDK IoTEdge + +- _API Version_ + - V2 +- _Features_ + - Support the API `DeleteDcPoints` +- _Bug Fix_ + - None +- _Change_ + - None + +### HuaweiCloud SDK Meeting + +- _API Version_ + - V1 +- _Features_ + - Support the API `ShowRecordInfo` +- _Bug Fix_ + - None +- _Change_ + - None + +### HuaweiCloud SDK MetaStudio + +- _API Version_ + - V1 +- _Features_ + - None +- _Bug Fix_ + - None +- _Change_ + - **Create2dModelTrainingJob** + - changes of request param + - `+ action_video_multipart_count` + - `+ is_flexus` + - `+ audio_source_type` + - `+ voice_properties` + - `+ supported_service` + - `+ command_message: enum value [CONFIRM_ACTION_VIDEO,GET_ACTION_VIDEO_MULTIPART]` + - changes of response param + - `+ audio_upload_url` + - `+ action_video_upload_url` + - **List2dModelTrainingJob** + - changes of request param + - `+ is_flexus` + - changes of response param + - `+ jobs.is_flexus` + - `+ jobs.state: enum value [WAIT_TRAINING_DATA_PREPROCESS,MANUAL_STOP_INFERENCE_DATA_PREPROCESS,MANUAL_STOP_TRAIN,MANUAL_STOP_TRAINING_DATA_PREPROCESS,MANUAL_STOP_BEAUTY_PREPROCESS,WAIT_ADMIN_CONFIRM,COMPILING,WAIT_COMPILE,COMPILE_FAILED,WAIT_BEAUTY,WAIT_GENERATE_ACTION,WAIT_ARRANGE,ACTION_GENERATE_DATA_PROCESSING,MANUAL_STOP_ACTION_GENERATE_DATA_PROCESSING,MANUAL_STOP_ACTION_GENERATE_ORI_PROCESSING,ACTION_GENERATE_ORI_PROCESSING,ACTION_GENERATE_DATA_FAILED,ACTION_GENERATE_ORI_FAILED,ACTION_GENERATE_ORI_SUCCESS,GENERATE_ACTION_PREPROCESS_FAILED,WAIT_ADMIN_CALIBRATION,BEAUTY_VIDEO_FILE_UPLOADED,BEAUTYFACE_SUCCESS,BEAUTYFACE_FAILED,WAIT_BEAUTY_VIDEO_FILE_UPLOAD,BEAUTYFACE_ROCESSING]` + - **Execute2dModelTrainingCommandByUser** + - changes of request param + - `+ command: enum value [CONFIRM_REPAIR,GET_ACTION_VIDEO_MULTIPART_UPLOADED,CONFIRM_ACTION_VIDEO_MULTIPART_UPLOADED]` + - `+ command_message: enum value [CONFIRM_ACTION_VIDEO,GET_ACTION_VIDEO_MULTIPART]` + - changes of response param + - `+ excute_failed_msg` + - **Update2dModelTrainingJob** + - changes of request param + - `+ action_video_multipart_count` + - `+ samples_basic_info` + - `+ supported_service` + - `+ audio_source_type` + - `+ command_message: enum value [CONFIRM_ACTION_VIDEO,GET_ACTION_VIDEO_MULTIPART]` + - changes of response param + - `+ audio_upload_url` + - `+ action_video_upload_url` + - **Show2dModelTrainingJob** + - changes of response param + - `+ verify_video_matting_info` + - `+ audio_source_type` + - `+ audio_file_download_url` + - `+ is_flexus` + - `+ action_video_download_url` + - `+ flexus_retry_count` + - `+ voice_train_job_id` + - `+ samples` + - `+ supported_service` + - `+ state: enum value [WAIT_TRAINING_DATA_PREPROCESS,MANUAL_STOP_INFERENCE_DATA_PREPROCESS,MANUAL_STOP_TRAIN,MANUAL_STOP_TRAINING_DATA_PREPROCESS,MANUAL_STOP_BEAUTY_PREPROCESS,WAIT_ADMIN_CONFIRM,COMPILING,WAIT_COMPILE,COMPILE_FAILED,WAIT_BEAUTY,WAIT_GENERATE_ACTION,WAIT_ARRANGE,ACTION_GENERATE_DATA_PROCESSING,MANUAL_STOP_ACTION_GENERATE_DATA_PROCESSING,MANUAL_STOP_ACTION_GENERATE_ORI_PROCESSING,ACTION_GENERATE_ORI_PROCESSING,ACTION_GENERATE_DATA_FAILED,ACTION_GENERATE_ORI_FAILED,ACTION_GENERATE_ORI_SUCCESS,GENERATE_ACTION_PREPROCESS_FAILED,WAIT_ADMIN_CALIBRATION,BEAUTY_VIDEO_FILE_UPLOADED,BEAUTYFACE_SUCCESS,BEAUTYFACE_FAILED,WAIT_BEAUTY_VIDEO_FILE_UPLOAD,BEAUTYFACE_ROCESSING]` + - `+ operation_logs.log_type: enum value [ADMIN_UPDATE_BEAUTY_LEVEL,SYSTEM_ACTION_GENERATE_DATA_PREPROCESSING,SYSTEM_ACTION_GENERATE_DATA_SUCCESS,SYSTEM_ACTION_GENERATE_ORI_SUCCESS,SYSTEM_ACTION_GENERATE_DATA_FAILED,SYSTEM_ACTION_GENERATE_ORI_FAILED,SYSTEM_ACTION_GENERATE_ORI_PREPROCESSING,ADMIN_STOP_TRAINING_DATA_PREPROCESS,ADMIN_STOP_BEAUTY_PREPROCESS,ADMIN_STOP_INFERENCE_DATA_PREPROCESS,ADMIN_UPDATE_ACTION_VIDEO,ADMIN_RESET,ADMIN_ACCEPT,USER_REPAIR,SYSTEM_UPDATE_COVER,ADMIN_SET_SILENCE_REPEAT_NUM,SYSTEM_BEAUTY_PREPROCESSING,SYSTEM_BEAUTY_PREPROCESS_FAILED,ADMIN_CONFIRM_ACTION,ADMIN_STOP_ACTION_GENERATE_DATA_PREPROCESS,ADMIN_STOP_ACTION_GENERATE_ORI_PREPROCESS,SYSTEM_BEAUTY_PREPROCESS_SUCCESS,ADMIN_UPDATE_COMPILE,ADMIN_UPDATE_INFERENCE_DATA_PROCESS_VIDEO,SYSTEM_EXECUTE_COMPILE,SYSTEM_EXECUTE_BEAUTY,ADMIN_UPDATE_GENERAL_CONFIG,STOP_COMPILE]` + - **Create2DDigitalHumanVideo** + - changes of request param + - `+ shoot_scripts.shoot_script.audio_drive_action_config` + - **Show2DDigitalHumanVideo** + - changes of response param + - `+ shoot_scripts.shoot_script.audio_drive_action_config` + - **CreatePhotoDigitalHumanVideo** + - changes of request param + - `+ shoot_scripts.shoot_script.audio_drive_action_config` + - **ShowPhotoDigitalHumanVideo** + - changes of response param + - `+ shoot_scripts.shoot_script.audio_drive_action_config` + - **CreateVideoScripts** + - changes of request param + - `+ shoot_scripts.shoot_script.audio_drive_action_config` + - **ShowVideoScript** + - changes of response param + - `+ shoot_scripts.shoot_script.audio_drive_action_config` + - **UpdateVideoScript** + - changes of request param + - `+ shoot_scripts.shoot_script.audio_drive_action_config` + +### HuaweiCloud SDK VPCEP + +- _API Version_ + - V1 +- _Features_ + - None +- _Bug Fix_ + - None +- _Change_ + - **ListServiceDetails** + - changes of response param + - `+ ip` + - **UpdateEndpointService** + - changes of request param + - `+ ip` + - changes of response param + - `+ ip` + - **CreateEndpointService** + - changes of request param + - `+ ip` + - changes of response param + - `+ ip` + - **ListEndpointService** + - changes of request param + - `+ net_type` + - changes of response param + - `+ endpoint_services.ip` + # 3.1.113 2024-09-05 ### HuaweiCloud SDK BMS diff --git a/CHANGELOG_CN.md b/CHANGELOG_CN.md index 4f5f3ad760..5b29d9bfdd 100644 --- a/CHANGELOG_CN.md +++ b/CHANGELOG_CN.md @@ -1,3 +1,202 @@ +# 3.1.114 2024-09-12 + +### HuaweiCloud SDK AOM + +- _接口版本_ + - V2 +- _新增特性_ + - 无 +- _解决问题_ + - 无 +- _特性变更_ + - **ListEvents** + - 请求参数变更 + - `+ limit` + - `+ marker` + - 响应参数变更 + - `+ page_info` + - `+ events.event_sn` + - `+ events.arrives_at` + - `+ events.enterprise_project_id` + - `+ events.policy` + - **PushEvents** + - 请求参数变更 + - `- events` + - `+ events.event_sn` + - `+ events.arrives_at` + - `+ events.enterprise_project_id` + - `+ events.policy` + - **DeletePromInstance** + - 请求参数变更 + - `* Enterprise-Project-Id: optional -> required` + +### HuaweiCloud SDK CCE + +- _接口版本_ + - V3 +- _新增特性_ + - 支持接口`AddNodesToNodePool` +- _解决问题_ + - 无 +- _特性变更_ + - 移除接口`ShowResourceInstances`、`BatchCreateDeleteResourceTags`、`ShowResourceTags`、`ShowCustomizeClusterTagsByProjectId` + +### HuaweiCloud SDK DLI + +- _接口版本_ + - V1 +- _新增特性_ + - 无 +- _解决问题_ + - 无 +- _特性变更_ + - **CreateElasticResourcePool** + - 请求参数变更 + - `+ label` + +### HuaweiCloud SDK GSL + +- _接口版本_ + - V3 +- _新增特性_ + - 支持接口`ListSimCardFlowPerDay` +- _解决问题_ + - 无 +- _特性变更_ + - **SwitchNetwork** + - 请求参数变更 + - `+ cid` + - **SetNetworkSwitchPolicy** + - 请求参数变更 + - `+ cid` + +### HuaweiCloud SDK IoTEdge + +- _接口版本_ + - V2 +- _新增特性_ + - 支持接口`DeleteDcPoints` +- _解决问题_ + - 无 +- _特性变更_ + - 无 + +### HuaweiCloud SDK Meeting + +- _接口版本_ + - V1 +- _新增特性_ + - 支持接口`ShowRecordInfo` +- _解决问题_ + - 无 +- _特性变更_ + - 无 + +### HuaweiCloud SDK MetaStudio + +- _接口版本_ + - V1 +- _新增特性_ + - 无 +- _解决问题_ + - 无 +- _特性变更_ + - **Create2dModelTrainingJob** + - 请求参数变更 + - `+ action_video_multipart_count` + - `+ is_flexus` + - `+ audio_source_type` + - `+ voice_properties` + - `+ supported_service` + - `+ command_message: enum value [CONFIRM_ACTION_VIDEO,GET_ACTION_VIDEO_MULTIPART]` + - 响应参数变更 + - `+ audio_upload_url` + - `+ action_video_upload_url` + - **List2dModelTrainingJob** + - 请求参数变更 + - `+ is_flexus` + - 响应参数变更 + - `+ jobs.is_flexus` + - `+ jobs.state: enum value [WAIT_TRAINING_DATA_PREPROCESS,MANUAL_STOP_INFERENCE_DATA_PREPROCESS,MANUAL_STOP_TRAIN,MANUAL_STOP_TRAINING_DATA_PREPROCESS,MANUAL_STOP_BEAUTY_PREPROCESS,WAIT_ADMIN_CONFIRM,COMPILING,WAIT_COMPILE,COMPILE_FAILED,WAIT_BEAUTY,WAIT_GENERATE_ACTION,WAIT_ARRANGE,ACTION_GENERATE_DATA_PROCESSING,MANUAL_STOP_ACTION_GENERATE_DATA_PROCESSING,MANUAL_STOP_ACTION_GENERATE_ORI_PROCESSING,ACTION_GENERATE_ORI_PROCESSING,ACTION_GENERATE_DATA_FAILED,ACTION_GENERATE_ORI_FAILED,ACTION_GENERATE_ORI_SUCCESS,GENERATE_ACTION_PREPROCESS_FAILED,WAIT_ADMIN_CALIBRATION,BEAUTY_VIDEO_FILE_UPLOADED,BEAUTYFACE_SUCCESS,BEAUTYFACE_FAILED,WAIT_BEAUTY_VIDEO_FILE_UPLOAD,BEAUTYFACE_ROCESSING]` + - **Execute2dModelTrainingCommandByUser** + - 请求参数变更 + - `+ command: enum value [CONFIRM_REPAIR,GET_ACTION_VIDEO_MULTIPART_UPLOADED,CONFIRM_ACTION_VIDEO_MULTIPART_UPLOADED]` + - `+ command_message: enum value [CONFIRM_ACTION_VIDEO,GET_ACTION_VIDEO_MULTIPART]` + - 响应参数变更 + - `+ excute_failed_msg` + - **Update2dModelTrainingJob** + - 请求参数变更 + - `+ action_video_multipart_count` + - `+ samples_basic_info` + - `+ supported_service` + - `+ audio_source_type` + - `+ command_message: enum value [CONFIRM_ACTION_VIDEO,GET_ACTION_VIDEO_MULTIPART]` + - 响应参数变更 + - `+ audio_upload_url` + - `+ action_video_upload_url` + - **Show2dModelTrainingJob** + - 响应参数变更 + - `+ verify_video_matting_info` + - `+ audio_source_type` + - `+ audio_file_download_url` + - `+ is_flexus` + - `+ action_video_download_url` + - `+ flexus_retry_count` + - `+ voice_train_job_id` + - `+ samples` + - `+ supported_service` + - `+ state: enum value [WAIT_TRAINING_DATA_PREPROCESS,MANUAL_STOP_INFERENCE_DATA_PREPROCESS,MANUAL_STOP_TRAIN,MANUAL_STOP_TRAINING_DATA_PREPROCESS,MANUAL_STOP_BEAUTY_PREPROCESS,WAIT_ADMIN_CONFIRM,COMPILING,WAIT_COMPILE,COMPILE_FAILED,WAIT_BEAUTY,WAIT_GENERATE_ACTION,WAIT_ARRANGE,ACTION_GENERATE_DATA_PROCESSING,MANUAL_STOP_ACTION_GENERATE_DATA_PROCESSING,MANUAL_STOP_ACTION_GENERATE_ORI_PROCESSING,ACTION_GENERATE_ORI_PROCESSING,ACTION_GENERATE_DATA_FAILED,ACTION_GENERATE_ORI_FAILED,ACTION_GENERATE_ORI_SUCCESS,GENERATE_ACTION_PREPROCESS_FAILED,WAIT_ADMIN_CALIBRATION,BEAUTY_VIDEO_FILE_UPLOADED,BEAUTYFACE_SUCCESS,BEAUTYFACE_FAILED,WAIT_BEAUTY_VIDEO_FILE_UPLOAD,BEAUTYFACE_ROCESSING]` + - `+ operation_logs.log_type: enum value [ADMIN_UPDATE_BEAUTY_LEVEL,SYSTEM_ACTION_GENERATE_DATA_PREPROCESSING,SYSTEM_ACTION_GENERATE_DATA_SUCCESS,SYSTEM_ACTION_GENERATE_ORI_SUCCESS,SYSTEM_ACTION_GENERATE_DATA_FAILED,SYSTEM_ACTION_GENERATE_ORI_FAILED,SYSTEM_ACTION_GENERATE_ORI_PREPROCESSING,ADMIN_STOP_TRAINING_DATA_PREPROCESS,ADMIN_STOP_BEAUTY_PREPROCESS,ADMIN_STOP_INFERENCE_DATA_PREPROCESS,ADMIN_UPDATE_ACTION_VIDEO,ADMIN_RESET,ADMIN_ACCEPT,USER_REPAIR,SYSTEM_UPDATE_COVER,ADMIN_SET_SILENCE_REPEAT_NUM,SYSTEM_BEAUTY_PREPROCESSING,SYSTEM_BEAUTY_PREPROCESS_FAILED,ADMIN_CONFIRM_ACTION,ADMIN_STOP_ACTION_GENERATE_DATA_PREPROCESS,ADMIN_STOP_ACTION_GENERATE_ORI_PREPROCESS,SYSTEM_BEAUTY_PREPROCESS_SUCCESS,ADMIN_UPDATE_COMPILE,ADMIN_UPDATE_INFERENCE_DATA_PROCESS_VIDEO,SYSTEM_EXECUTE_COMPILE,SYSTEM_EXECUTE_BEAUTY,ADMIN_UPDATE_GENERAL_CONFIG,STOP_COMPILE]` + - **Create2DDigitalHumanVideo** + - 请求参数变更 + - `+ shoot_scripts.shoot_script.audio_drive_action_config` + - **Show2DDigitalHumanVideo** + - 响应参数变更 + - `+ shoot_scripts.shoot_script.audio_drive_action_config` + - **CreatePhotoDigitalHumanVideo** + - 请求参数变更 + - `+ shoot_scripts.shoot_script.audio_drive_action_config` + - **ShowPhotoDigitalHumanVideo** + - 响应参数变更 + - `+ shoot_scripts.shoot_script.audio_drive_action_config` + - **CreateVideoScripts** + - 请求参数变更 + - `+ shoot_scripts.shoot_script.audio_drive_action_config` + - **ShowVideoScript** + - 响应参数变更 + - `+ shoot_scripts.shoot_script.audio_drive_action_config` + - **UpdateVideoScript** + - 请求参数变更 + - `+ shoot_scripts.shoot_script.audio_drive_action_config` + +### HuaweiCloud SDK VPCEP + +- _接口版本_ + - V1 +- _新增特性_ + - 无 +- _解决问题_ + - 无 +- _特性变更_ + - **ListServiceDetails** + - 响应参数变更 + - `+ ip` + - **UpdateEndpointService** + - 请求参数变更 + - `+ ip` + - 响应参数变更 + - `+ ip` + - **CreateEndpointService** + - 请求参数变更 + - `+ ip` + - 响应参数变更 + - `+ ip` + - **ListEndpointService** + - 请求参数变更 + - `+ net_type` + - 响应参数变更 + - `+ endpoint_services.ip` + # 3.1.113 2024-09-05 ### HuaweiCloud SDK BMS diff --git a/VERSION b/VERSION index 71ba69ad23..c267619826 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.1.113 +3.1.114 diff --git a/huaweicloud-sdk-aad/requirements.txt b/huaweicloud-sdk-aad/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-aad/requirements.txt +++ b/huaweicloud-sdk-aad/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-aad/setup.py b/huaweicloud-sdk-aad/setup.py index e175e79394..c2573afb3c 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-all/requirements.txt b/huaweicloud-sdk-all/requirements.txt index e60a1db847..1ab3f67db1 100644 --- a/huaweicloud-sdk-all/requirements.txt +++ b/huaweicloud-sdk-all/requirements.txt @@ -1,165 +1,165 @@ -huaweicloudsdkcore == 3.1.113 -huaweicloudsdkaad == 3.1.113 -huaweicloudsdkantiddos == 3.1.113 -huaweicloudsdkaom == 3.1.113 -huaweicloudsdkaos == 3.1.113 -huaweicloudsdkapig == 3.1.113 -huaweicloudsdkapm == 3.1.113 -huaweicloudsdkas == 3.1.113 -huaweicloudsdkasm == 3.1.113 -huaweicloudsdkbcs == 3.1.113 -huaweicloudsdkbms == 3.1.113 -huaweicloudsdkbss == 3.1.113 -huaweicloudsdkbssintl == 3.1.113 -huaweicloudsdkcae == 3.1.113 -huaweicloudsdkcampusgo == 3.1.113 -huaweicloudsdkcbh == 3.1.113 -huaweicloudsdkcbr == 3.1.113 -huaweicloudsdkcbs == 3.1.113 -huaweicloudsdkcc == 3.1.113 -huaweicloudsdkcce == 3.1.113 -huaweicloudsdkccm == 3.1.113 -huaweicloudsdkcdm == 3.1.113 -huaweicloudsdkcdn == 3.1.113 -huaweicloudsdkces == 3.1.113 -huaweicloudsdkcfw == 3.1.113 -huaweicloudsdkcgs == 3.1.113 -huaweicloudsdkclassroom == 3.1.113 -huaweicloudsdkcloudide == 3.1.113 -huaweicloudsdkcloudpond == 3.1.113 -huaweicloudsdkcloudrtc == 3.1.113 -huaweicloudsdkcloudtable == 3.1.113 -huaweicloudsdkcloudtest == 3.1.113 -huaweicloudsdkcoc == 3.1.113 -huaweicloudsdkcodeartsartifact == 3.1.113 -huaweicloudsdkcodeartsbuild == 3.1.113 -huaweicloudsdkcodeartscheck == 3.1.113 -huaweicloudsdkcodeartsdeploy == 3.1.113 -huaweicloudsdkcodeartsgovernance == 3.1.113 -huaweicloudsdkcodeartsinspector == 3.1.113 -huaweicloudsdkcodeartspipeline == 3.1.113 -huaweicloudsdkcodecraft == 3.1.113 -huaweicloudsdkcodehub == 3.1.113 -huaweicloudsdkconfig == 3.1.113 -huaweicloudsdkcph == 3.1.113 -huaweicloudsdkcpts == 3.1.113 -huaweicloudsdkcse == 3.1.113 -huaweicloudsdkcsms == 3.1.113 -huaweicloudsdkcss == 3.1.113 -huaweicloudsdkcts == 3.1.113 -huaweicloudsdkdas == 3.1.113 -huaweicloudsdkdataartsstudio == 3.1.113 -huaweicloudsdkdbss == 3.1.113 -huaweicloudsdkdc == 3.1.113 -huaweicloudsdkdcs == 3.1.113 -huaweicloudsdkddm == 3.1.113 -huaweicloudsdkdds == 3.1.113 -huaweicloudsdkdeh == 3.1.113 -huaweicloudsdkdevstar == 3.1.113 -huaweicloudsdkdgc == 3.1.113 -huaweicloudsdkdis == 3.1.113 -huaweicloudsdkdlf == 3.1.113 -huaweicloudsdkdli == 3.1.113 -huaweicloudsdkdns == 3.1.113 -huaweicloudsdkdris == 3.1.113 -huaweicloudsdkdrs == 3.1.113 -huaweicloudsdkdsc == 3.1.113 -huaweicloudsdkdwr == 3.1.113 -huaweicloudsdkdws == 3.1.113 -huaweicloudsdkec == 3.1.113 -huaweicloudsdkecs == 3.1.113 -huaweicloudsdkedgesec == 3.1.113 -huaweicloudsdkeg == 3.1.113 -huaweicloudsdkeihealth == 3.1.113 -huaweicloudsdkeip == 3.1.113 -huaweicloudsdkelb == 3.1.113 -huaweicloudsdkeps == 3.1.113 -huaweicloudsdker == 3.1.113 -huaweicloudsdkevs == 3.1.113 -huaweicloudsdkfrs == 3.1.113 -huaweicloudsdkfunctiongraph == 3.1.113 -huaweicloudsdkga == 3.1.113 -huaweicloudsdkgaussdb == 3.1.113 -huaweicloudsdkgaussdbfornosql == 3.1.113 -huaweicloudsdkgaussdbforopengauss == 3.1.113 -huaweicloudsdkgeip == 3.1.113 -huaweicloudsdkges == 3.1.113 -huaweicloudsdkgsl == 3.1.113 -huaweicloudsdkhilens == 3.1.113 -huaweicloudsdkhss == 3.1.113 -huaweicloudsdkiam == 3.1.113 -huaweicloudsdkiamaccessanalyzer == 3.1.113 -huaweicloudsdkidentitycenter == 3.1.113 -huaweicloudsdkidentitycenterstore == 3.1.113 -huaweicloudsdkidme == 3.1.113 -huaweicloudsdkidmeclassicapi == 3.1.113 -huaweicloudsdkiec == 3.1.113 -huaweicloudsdkief == 3.1.113 -huaweicloudsdkimage == 3.1.113 -huaweicloudsdkimagesearch == 3.1.113 -huaweicloudsdkims == 3.1.113 -huaweicloudsdkiotanalytics == 3.1.113 -huaweicloudsdkiotda == 3.1.113 -huaweicloudsdkiotdm == 3.1.113 -huaweicloudsdkiotedge == 3.1.113 -huaweicloudsdkivs == 3.1.113 -huaweicloudsdkkafka == 3.1.113 -huaweicloudsdkkms == 3.1.113 -huaweicloudsdkkoomessage == 3.1.113 -huaweicloudsdkkps == 3.1.113 -huaweicloudsdklakeformation == 3.1.113 -huaweicloudsdklive == 3.1.113 -huaweicloudsdklts == 3.1.113 -huaweicloudsdkmapds == 3.1.113 -huaweicloudsdkmas == 3.1.113 -huaweicloudsdkmeeting == 3.1.113 -huaweicloudsdkmetastudio == 3.1.113 -huaweicloudsdkmoderation == 3.1.113 -huaweicloudsdkmpc == 3.1.113 -huaweicloudsdkmrs == 3.1.113 -huaweicloudsdkmsgsms == 3.1.113 -huaweicloudsdkmssi == 3.1.113 -huaweicloudsdknat == 3.1.113 -huaweicloudsdknlp == 3.1.113 -huaweicloudsdkobs == 3.1.113 -huaweicloudsdkocr == 3.1.113 -huaweicloudsdkoctopus == 3.1.113 -huaweicloudsdkoms == 3.1.113 -huaweicloudsdkoptverse == 3.1.113 -huaweicloudsdkorganizations == 3.1.113 -huaweicloudsdkorgid == 3.1.113 -huaweicloudsdkoroas == 3.1.113 -huaweicloudsdkosm == 3.1.113 -huaweicloudsdkpangulargemodels == 3.1.113 -huaweicloudsdkprojectman == 3.1.113 -huaweicloudsdkrabbitmq == 3.1.113 -huaweicloudsdkram == 3.1.113 -huaweicloudsdkrds == 3.1.113 -huaweicloudsdkres == 3.1.113 -huaweicloudsdkrgc == 3.1.113 -huaweicloudsdkrms == 3.1.113 -huaweicloudsdkrocketmq == 3.1.113 -huaweicloudsdkroma == 3.1.113 -huaweicloudsdksa == 3.1.113 -huaweicloudsdkscm == 3.1.113 -huaweicloudsdksdrs == 3.1.113 -huaweicloudsdksecmaster == 3.1.113 -huaweicloudsdkservicestage == 3.1.113 -huaweicloudsdksfsturbo == 3.1.113 -huaweicloudsdksis == 3.1.113 -huaweicloudsdksmn == 3.1.113 -huaweicloudsdksms == 3.1.113 -huaweicloudsdksts == 3.1.113 -huaweicloudsdkswr == 3.1.113 -huaweicloudsdktics == 3.1.113 -huaweicloudsdktms == 3.1.113 -huaweicloudsdkugo == 3.1.113 -huaweicloudsdkvas == 3.1.113 -huaweicloudsdkvcm == 3.1.113 -huaweicloudsdkvod == 3.1.113 -huaweicloudsdkvpc == 3.1.113 -huaweicloudsdkvpcep == 3.1.113 -huaweicloudsdkvpn == 3.1.113 -huaweicloudsdkwaf == 3.1.113 -huaweicloudsdkworkspace == 3.1.113 -huaweicloudsdkworkspaceapp == 3.1.113 +huaweicloudsdkcore == 3.1.114 +huaweicloudsdkaad == 3.1.114 +huaweicloudsdkantiddos == 3.1.114 +huaweicloudsdkaom == 3.1.114 +huaweicloudsdkaos == 3.1.114 +huaweicloudsdkapig == 3.1.114 +huaweicloudsdkapm == 3.1.114 +huaweicloudsdkas == 3.1.114 +huaweicloudsdkasm == 3.1.114 +huaweicloudsdkbcs == 3.1.114 +huaweicloudsdkbms == 3.1.114 +huaweicloudsdkbss == 3.1.114 +huaweicloudsdkbssintl == 3.1.114 +huaweicloudsdkcae == 3.1.114 +huaweicloudsdkcampusgo == 3.1.114 +huaweicloudsdkcbh == 3.1.114 +huaweicloudsdkcbr == 3.1.114 +huaweicloudsdkcbs == 3.1.114 +huaweicloudsdkcc == 3.1.114 +huaweicloudsdkcce == 3.1.114 +huaweicloudsdkccm == 3.1.114 +huaweicloudsdkcdm == 3.1.114 +huaweicloudsdkcdn == 3.1.114 +huaweicloudsdkces == 3.1.114 +huaweicloudsdkcfw == 3.1.114 +huaweicloudsdkcgs == 3.1.114 +huaweicloudsdkclassroom == 3.1.114 +huaweicloudsdkcloudide == 3.1.114 +huaweicloudsdkcloudpond == 3.1.114 +huaweicloudsdkcloudrtc == 3.1.114 +huaweicloudsdkcloudtable == 3.1.114 +huaweicloudsdkcloudtest == 3.1.114 +huaweicloudsdkcoc == 3.1.114 +huaweicloudsdkcodeartsartifact == 3.1.114 +huaweicloudsdkcodeartsbuild == 3.1.114 +huaweicloudsdkcodeartscheck == 3.1.114 +huaweicloudsdkcodeartsdeploy == 3.1.114 +huaweicloudsdkcodeartsgovernance == 3.1.114 +huaweicloudsdkcodeartsinspector == 3.1.114 +huaweicloudsdkcodeartspipeline == 3.1.114 +huaweicloudsdkcodecraft == 3.1.114 +huaweicloudsdkcodehub == 3.1.114 +huaweicloudsdkconfig == 3.1.114 +huaweicloudsdkcph == 3.1.114 +huaweicloudsdkcpts == 3.1.114 +huaweicloudsdkcse == 3.1.114 +huaweicloudsdkcsms == 3.1.114 +huaweicloudsdkcss == 3.1.114 +huaweicloudsdkcts == 3.1.114 +huaweicloudsdkdas == 3.1.114 +huaweicloudsdkdataartsstudio == 3.1.114 +huaweicloudsdkdbss == 3.1.114 +huaweicloudsdkdc == 3.1.114 +huaweicloudsdkdcs == 3.1.114 +huaweicloudsdkddm == 3.1.114 +huaweicloudsdkdds == 3.1.114 +huaweicloudsdkdeh == 3.1.114 +huaweicloudsdkdevstar == 3.1.114 +huaweicloudsdkdgc == 3.1.114 +huaweicloudsdkdis == 3.1.114 +huaweicloudsdkdlf == 3.1.114 +huaweicloudsdkdli == 3.1.114 +huaweicloudsdkdns == 3.1.114 +huaweicloudsdkdris == 3.1.114 +huaweicloudsdkdrs == 3.1.114 +huaweicloudsdkdsc == 3.1.114 +huaweicloudsdkdwr == 3.1.114 +huaweicloudsdkdws == 3.1.114 +huaweicloudsdkec == 3.1.114 +huaweicloudsdkecs == 3.1.114 +huaweicloudsdkedgesec == 3.1.114 +huaweicloudsdkeg == 3.1.114 +huaweicloudsdkeihealth == 3.1.114 +huaweicloudsdkeip == 3.1.114 +huaweicloudsdkelb == 3.1.114 +huaweicloudsdkeps == 3.1.114 +huaweicloudsdker == 3.1.114 +huaweicloudsdkevs == 3.1.114 +huaweicloudsdkfrs == 3.1.114 +huaweicloudsdkfunctiongraph == 3.1.114 +huaweicloudsdkga == 3.1.114 +huaweicloudsdkgaussdb == 3.1.114 +huaweicloudsdkgaussdbfornosql == 3.1.114 +huaweicloudsdkgaussdbforopengauss == 3.1.114 +huaweicloudsdkgeip == 3.1.114 +huaweicloudsdkges == 3.1.114 +huaweicloudsdkgsl == 3.1.114 +huaweicloudsdkhilens == 3.1.114 +huaweicloudsdkhss == 3.1.114 +huaweicloudsdkiam == 3.1.114 +huaweicloudsdkiamaccessanalyzer == 3.1.114 +huaweicloudsdkidentitycenter == 3.1.114 +huaweicloudsdkidentitycenterstore == 3.1.114 +huaweicloudsdkidme == 3.1.114 +huaweicloudsdkidmeclassicapi == 3.1.114 +huaweicloudsdkiec == 3.1.114 +huaweicloudsdkief == 3.1.114 +huaweicloudsdkimage == 3.1.114 +huaweicloudsdkimagesearch == 3.1.114 +huaweicloudsdkims == 3.1.114 +huaweicloudsdkiotanalytics == 3.1.114 +huaweicloudsdkiotda == 3.1.114 +huaweicloudsdkiotdm == 3.1.114 +huaweicloudsdkiotedge == 3.1.114 +huaweicloudsdkivs == 3.1.114 +huaweicloudsdkkafka == 3.1.114 +huaweicloudsdkkms == 3.1.114 +huaweicloudsdkkoomessage == 3.1.114 +huaweicloudsdkkps == 3.1.114 +huaweicloudsdklakeformation == 3.1.114 +huaweicloudsdklive == 3.1.114 +huaweicloudsdklts == 3.1.114 +huaweicloudsdkmapds == 3.1.114 +huaweicloudsdkmas == 3.1.114 +huaweicloudsdkmeeting == 3.1.114 +huaweicloudsdkmetastudio == 3.1.114 +huaweicloudsdkmoderation == 3.1.114 +huaweicloudsdkmpc == 3.1.114 +huaweicloudsdkmrs == 3.1.114 +huaweicloudsdkmsgsms == 3.1.114 +huaweicloudsdkmssi == 3.1.114 +huaweicloudsdknat == 3.1.114 +huaweicloudsdknlp == 3.1.114 +huaweicloudsdkobs == 3.1.114 +huaweicloudsdkocr == 3.1.114 +huaweicloudsdkoctopus == 3.1.114 +huaweicloudsdkoms == 3.1.114 +huaweicloudsdkoptverse == 3.1.114 +huaweicloudsdkorganizations == 3.1.114 +huaweicloudsdkorgid == 3.1.114 +huaweicloudsdkoroas == 3.1.114 +huaweicloudsdkosm == 3.1.114 +huaweicloudsdkpangulargemodels == 3.1.114 +huaweicloudsdkprojectman == 3.1.114 +huaweicloudsdkrabbitmq == 3.1.114 +huaweicloudsdkram == 3.1.114 +huaweicloudsdkrds == 3.1.114 +huaweicloudsdkres == 3.1.114 +huaweicloudsdkrgc == 3.1.114 +huaweicloudsdkrms == 3.1.114 +huaweicloudsdkrocketmq == 3.1.114 +huaweicloudsdkroma == 3.1.114 +huaweicloudsdksa == 3.1.114 +huaweicloudsdkscm == 3.1.114 +huaweicloudsdksdrs == 3.1.114 +huaweicloudsdksecmaster == 3.1.114 +huaweicloudsdkservicestage == 3.1.114 +huaweicloudsdksfsturbo == 3.1.114 +huaweicloudsdksis == 3.1.114 +huaweicloudsdksmn == 3.1.114 +huaweicloudsdksms == 3.1.114 +huaweicloudsdksts == 3.1.114 +huaweicloudsdkswr == 3.1.114 +huaweicloudsdktics == 3.1.114 +huaweicloudsdktms == 3.1.114 +huaweicloudsdkugo == 3.1.114 +huaweicloudsdkvas == 3.1.114 +huaweicloudsdkvcm == 3.1.114 +huaweicloudsdkvod == 3.1.114 +huaweicloudsdkvpc == 3.1.114 +huaweicloudsdkvpcep == 3.1.114 +huaweicloudsdkvpn == 3.1.114 +huaweicloudsdkwaf == 3.1.114 +huaweicloudsdkworkspace == 3.1.114 +huaweicloudsdkworkspaceapp == 3.1.114 diff --git a/huaweicloud-sdk-all/setup.py b/huaweicloud-sdk-all/setup.py index 76c34f5055..02125fabf5 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -34,171 +34,171 @@ LONG_DESCRIPTION = f.read() INSTALL_REQUIRES = [ - 'huaweicloudsdkcore==3.1.113', - 'huaweicloudsdkaad==3.1.113', - 'huaweicloudsdkantiddos==3.1.113', - 'huaweicloudsdkaom==3.1.113', - 'huaweicloudsdkaos==3.1.113', - 'huaweicloudsdkapig==3.1.113', - 'huaweicloudsdkapm==3.1.113', - 'huaweicloudsdkas==3.1.113', - 'huaweicloudsdkasm==3.1.113', - 'huaweicloudsdkbcs==3.1.113', - 'huaweicloudsdkbms==3.1.113', - 'huaweicloudsdkbss==3.1.113', - 'huaweicloudsdkbssintl==3.1.113', - 'huaweicloudsdkcae==3.1.113', - 'huaweicloudsdkcampusgo==3.1.113', - 'huaweicloudsdkcbh==3.1.113', - 'huaweicloudsdkcbr==3.1.113', - 'huaweicloudsdkcbs==3.1.113', - 'huaweicloudsdkcc==3.1.113', - 'huaweicloudsdkcce==3.1.113', - 'huaweicloudsdkccm==3.1.113', - 'huaweicloudsdkcdm==3.1.113', - 'huaweicloudsdkcdn==3.1.113', - 'huaweicloudsdkces==3.1.113', - 'huaweicloudsdkcfw==3.1.113', - 'huaweicloudsdkcgs==3.1.113', - 'huaweicloudsdkclassroom==3.1.113', - 'huaweicloudsdkcloudide==3.1.113', - 'huaweicloudsdkcloudpond==3.1.113', - 'huaweicloudsdkcloudrtc==3.1.113', - 'huaweicloudsdkcloudtable==3.1.113', - 'huaweicloudsdkcloudtest==3.1.113', - 'huaweicloudsdkcoc==3.1.113', - 'huaweicloudsdkcodeartsartifact==3.1.113', - 'huaweicloudsdkcodeartsbuild==3.1.113', - 'huaweicloudsdkcodeartscheck==3.1.113', - 'huaweicloudsdkcodeartsdeploy==3.1.113', - 'huaweicloudsdkcodeartsgovernance==3.1.113', - 'huaweicloudsdkcodeartsinspector==3.1.113', - 'huaweicloudsdkcodeartspipeline==3.1.113', - 'huaweicloudsdkcodecraft==3.1.113', - 'huaweicloudsdkcodehub==3.1.113', - 'huaweicloudsdkconfig==3.1.113', - 'huaweicloudsdkcph==3.1.113', - 'huaweicloudsdkcpts==3.1.113', - 'huaweicloudsdkcse==3.1.113', - 'huaweicloudsdkcsms==3.1.113', - 'huaweicloudsdkcss==3.1.113', - 'huaweicloudsdkcts==3.1.113', - 'huaweicloudsdkdas==3.1.113', - 'huaweicloudsdkdataartsstudio==3.1.113', - 'huaweicloudsdkdbss==3.1.113', - 'huaweicloudsdkdc==3.1.113', - 'huaweicloudsdkdcs==3.1.113', - 'huaweicloudsdkddm==3.1.113', - 'huaweicloudsdkdds==3.1.113', - 'huaweicloudsdkdeh==3.1.113', - 'huaweicloudsdkdevstar==3.1.113', - 'huaweicloudsdkdgc==3.1.113', - 'huaweicloudsdkdis==3.1.113', - 'huaweicloudsdkdlf==3.1.113', - 'huaweicloudsdkdli==3.1.113', - 'huaweicloudsdkdns==3.1.113', - 'huaweicloudsdkdris==3.1.113', - 'huaweicloudsdkdrs==3.1.113', - 'huaweicloudsdkdsc==3.1.113', - 'huaweicloudsdkdwr==3.1.113', - 'huaweicloudsdkdws==3.1.113', - 'huaweicloudsdkec==3.1.113', - 'huaweicloudsdkecs==3.1.113', - 'huaweicloudsdkedgesec==3.1.113', - 'huaweicloudsdkeg==3.1.113', - 'huaweicloudsdkeihealth==3.1.113', - 'huaweicloudsdkeip==3.1.113', - 'huaweicloudsdkelb==3.1.113', - 'huaweicloudsdkeps==3.1.113', - 'huaweicloudsdker==3.1.113', - 'huaweicloudsdkevs==3.1.113', - 'huaweicloudsdkfrs==3.1.113', - 'huaweicloudsdkfunctiongraph==3.1.113', - 'huaweicloudsdkga==3.1.113', - 'huaweicloudsdkgaussdb==3.1.113', - 'huaweicloudsdkgaussdbfornosql==3.1.113', - 'huaweicloudsdkgaussdbforopengauss==3.1.113', - 'huaweicloudsdkgeip==3.1.113', - 'huaweicloudsdkges==3.1.113', - 'huaweicloudsdkgsl==3.1.113', - 'huaweicloudsdkhilens==3.1.113', - 'huaweicloudsdkhss==3.1.113', - 'huaweicloudsdkiam==3.1.113', - 'huaweicloudsdkiamaccessanalyzer==3.1.113', - 'huaweicloudsdkidentitycenter==3.1.113', - 'huaweicloudsdkidentitycenterstore==3.1.113', - 'huaweicloudsdkidme==3.1.113', - 'huaweicloudsdkidmeclassicapi==3.1.113', - 'huaweicloudsdkiec==3.1.113', - 'huaweicloudsdkief==3.1.113', - 'huaweicloudsdkimage==3.1.113', - 'huaweicloudsdkimagesearch==3.1.113', - 'huaweicloudsdkims==3.1.113', - 'huaweicloudsdkiotanalytics==3.1.113', - 'huaweicloudsdkiotda==3.1.113', - 'huaweicloudsdkiotdm==3.1.113', - 'huaweicloudsdkiotedge==3.1.113', - 'huaweicloudsdkivs==3.1.113', - 'huaweicloudsdkkafka==3.1.113', - 'huaweicloudsdkkms==3.1.113', - 'huaweicloudsdkkoomessage==3.1.113', - 'huaweicloudsdkkps==3.1.113', - 'huaweicloudsdklakeformation==3.1.113', - 'huaweicloudsdklive==3.1.113', - 'huaweicloudsdklts==3.1.113', - 'huaweicloudsdkmapds==3.1.113', - 'huaweicloudsdkmas==3.1.113', - 'huaweicloudsdkmeeting==3.1.113', - 'huaweicloudsdkmetastudio==3.1.113', - 'huaweicloudsdkmoderation==3.1.113', - 'huaweicloudsdkmpc==3.1.113', - 'huaweicloudsdkmrs==3.1.113', - 'huaweicloudsdkmsgsms==3.1.113', - 'huaweicloudsdkmssi==3.1.113', - 'huaweicloudsdknat==3.1.113', - 'huaweicloudsdknlp==3.1.113', - 'huaweicloudsdkobs==3.1.113', - 'huaweicloudsdkocr==3.1.113', - 'huaweicloudsdkoctopus==3.1.113', - 'huaweicloudsdkoms==3.1.113', - 'huaweicloudsdkoptverse==3.1.113', - 'huaweicloudsdkorganizations==3.1.113', - 'huaweicloudsdkorgid==3.1.113', - 'huaweicloudsdkoroas==3.1.113', - 'huaweicloudsdkosm==3.1.113', - 'huaweicloudsdkpangulargemodels==3.1.113', - 'huaweicloudsdkprojectman==3.1.113', - 'huaweicloudsdkrabbitmq==3.1.113', - 'huaweicloudsdkram==3.1.113', - 'huaweicloudsdkrds==3.1.113', - 'huaweicloudsdkres==3.1.113', - 'huaweicloudsdkrgc==3.1.113', - 'huaweicloudsdkrms==3.1.113', - 'huaweicloudsdkrocketmq==3.1.113', - 'huaweicloudsdkroma==3.1.113', - 'huaweicloudsdksa==3.1.113', - 'huaweicloudsdkscm==3.1.113', - 'huaweicloudsdksdrs==3.1.113', - 'huaweicloudsdksecmaster==3.1.113', - 'huaweicloudsdkservicestage==3.1.113', - 'huaweicloudsdksfsturbo==3.1.113', - 'huaweicloudsdksis==3.1.113', - 'huaweicloudsdksmn==3.1.113', - 'huaweicloudsdksms==3.1.113', - 'huaweicloudsdksts==3.1.113', - 'huaweicloudsdkswr==3.1.113', - 'huaweicloudsdktics==3.1.113', - 'huaweicloudsdktms==3.1.113', - 'huaweicloudsdkugo==3.1.113', - 'huaweicloudsdkvas==3.1.113', - 'huaweicloudsdkvcm==3.1.113', - 'huaweicloudsdkvod==3.1.113', - 'huaweicloudsdkvpc==3.1.113', - 'huaweicloudsdkvpcep==3.1.113', - 'huaweicloudsdkvpn==3.1.113', - 'huaweicloudsdkwaf==3.1.113', - 'huaweicloudsdkworkspace==3.1.113', - 'huaweicloudsdkworkspaceapp==3.1.113', + 'huaweicloudsdkcore==3.1.114', + 'huaweicloudsdkaad==3.1.114', + 'huaweicloudsdkantiddos==3.1.114', + 'huaweicloudsdkaom==3.1.114', + 'huaweicloudsdkaos==3.1.114', + 'huaweicloudsdkapig==3.1.114', + 'huaweicloudsdkapm==3.1.114', + 'huaweicloudsdkas==3.1.114', + 'huaweicloudsdkasm==3.1.114', + 'huaweicloudsdkbcs==3.1.114', + 'huaweicloudsdkbms==3.1.114', + 'huaweicloudsdkbss==3.1.114', + 'huaweicloudsdkbssintl==3.1.114', + 'huaweicloudsdkcae==3.1.114', + 'huaweicloudsdkcampusgo==3.1.114', + 'huaweicloudsdkcbh==3.1.114', + 'huaweicloudsdkcbr==3.1.114', + 'huaweicloudsdkcbs==3.1.114', + 'huaweicloudsdkcc==3.1.114', + 'huaweicloudsdkcce==3.1.114', + 'huaweicloudsdkccm==3.1.114', + 'huaweicloudsdkcdm==3.1.114', + 'huaweicloudsdkcdn==3.1.114', + 'huaweicloudsdkces==3.1.114', + 'huaweicloudsdkcfw==3.1.114', + 'huaweicloudsdkcgs==3.1.114', + 'huaweicloudsdkclassroom==3.1.114', + 'huaweicloudsdkcloudide==3.1.114', + 'huaweicloudsdkcloudpond==3.1.114', + 'huaweicloudsdkcloudrtc==3.1.114', + 'huaweicloudsdkcloudtable==3.1.114', + 'huaweicloudsdkcloudtest==3.1.114', + 'huaweicloudsdkcoc==3.1.114', + 'huaweicloudsdkcodeartsartifact==3.1.114', + 'huaweicloudsdkcodeartsbuild==3.1.114', + 'huaweicloudsdkcodeartscheck==3.1.114', + 'huaweicloudsdkcodeartsdeploy==3.1.114', + 'huaweicloudsdkcodeartsgovernance==3.1.114', + 'huaweicloudsdkcodeartsinspector==3.1.114', + 'huaweicloudsdkcodeartspipeline==3.1.114', + 'huaweicloudsdkcodecraft==3.1.114', + 'huaweicloudsdkcodehub==3.1.114', + 'huaweicloudsdkconfig==3.1.114', + 'huaweicloudsdkcph==3.1.114', + 'huaweicloudsdkcpts==3.1.114', + 'huaweicloudsdkcse==3.1.114', + 'huaweicloudsdkcsms==3.1.114', + 'huaweicloudsdkcss==3.1.114', + 'huaweicloudsdkcts==3.1.114', + 'huaweicloudsdkdas==3.1.114', + 'huaweicloudsdkdataartsstudio==3.1.114', + 'huaweicloudsdkdbss==3.1.114', + 'huaweicloudsdkdc==3.1.114', + 'huaweicloudsdkdcs==3.1.114', + 'huaweicloudsdkddm==3.1.114', + 'huaweicloudsdkdds==3.1.114', + 'huaweicloudsdkdeh==3.1.114', + 'huaweicloudsdkdevstar==3.1.114', + 'huaweicloudsdkdgc==3.1.114', + 'huaweicloudsdkdis==3.1.114', + 'huaweicloudsdkdlf==3.1.114', + 'huaweicloudsdkdli==3.1.114', + 'huaweicloudsdkdns==3.1.114', + 'huaweicloudsdkdris==3.1.114', + 'huaweicloudsdkdrs==3.1.114', + 'huaweicloudsdkdsc==3.1.114', + 'huaweicloudsdkdwr==3.1.114', + 'huaweicloudsdkdws==3.1.114', + 'huaweicloudsdkec==3.1.114', + 'huaweicloudsdkecs==3.1.114', + 'huaweicloudsdkedgesec==3.1.114', + 'huaweicloudsdkeg==3.1.114', + 'huaweicloudsdkeihealth==3.1.114', + 'huaweicloudsdkeip==3.1.114', + 'huaweicloudsdkelb==3.1.114', + 'huaweicloudsdkeps==3.1.114', + 'huaweicloudsdker==3.1.114', + 'huaweicloudsdkevs==3.1.114', + 'huaweicloudsdkfrs==3.1.114', + 'huaweicloudsdkfunctiongraph==3.1.114', + 'huaweicloudsdkga==3.1.114', + 'huaweicloudsdkgaussdb==3.1.114', + 'huaweicloudsdkgaussdbfornosql==3.1.114', + 'huaweicloudsdkgaussdbforopengauss==3.1.114', + 'huaweicloudsdkgeip==3.1.114', + 'huaweicloudsdkges==3.1.114', + 'huaweicloudsdkgsl==3.1.114', + 'huaweicloudsdkhilens==3.1.114', + 'huaweicloudsdkhss==3.1.114', + 'huaweicloudsdkiam==3.1.114', + 'huaweicloudsdkiamaccessanalyzer==3.1.114', + 'huaweicloudsdkidentitycenter==3.1.114', + 'huaweicloudsdkidentitycenterstore==3.1.114', + 'huaweicloudsdkidme==3.1.114', + 'huaweicloudsdkidmeclassicapi==3.1.114', + 'huaweicloudsdkiec==3.1.114', + 'huaweicloudsdkief==3.1.114', + 'huaweicloudsdkimage==3.1.114', + 'huaweicloudsdkimagesearch==3.1.114', + 'huaweicloudsdkims==3.1.114', + 'huaweicloudsdkiotanalytics==3.1.114', + 'huaweicloudsdkiotda==3.1.114', + 'huaweicloudsdkiotdm==3.1.114', + 'huaweicloudsdkiotedge==3.1.114', + 'huaweicloudsdkivs==3.1.114', + 'huaweicloudsdkkafka==3.1.114', + 'huaweicloudsdkkms==3.1.114', + 'huaweicloudsdkkoomessage==3.1.114', + 'huaweicloudsdkkps==3.1.114', + 'huaweicloudsdklakeformation==3.1.114', + 'huaweicloudsdklive==3.1.114', + 'huaweicloudsdklts==3.1.114', + 'huaweicloudsdkmapds==3.1.114', + 'huaweicloudsdkmas==3.1.114', + 'huaweicloudsdkmeeting==3.1.114', + 'huaweicloudsdkmetastudio==3.1.114', + 'huaweicloudsdkmoderation==3.1.114', + 'huaweicloudsdkmpc==3.1.114', + 'huaweicloudsdkmrs==3.1.114', + 'huaweicloudsdkmsgsms==3.1.114', + 'huaweicloudsdkmssi==3.1.114', + 'huaweicloudsdknat==3.1.114', + 'huaweicloudsdknlp==3.1.114', + 'huaweicloudsdkobs==3.1.114', + 'huaweicloudsdkocr==3.1.114', + 'huaweicloudsdkoctopus==3.1.114', + 'huaweicloudsdkoms==3.1.114', + 'huaweicloudsdkoptverse==3.1.114', + 'huaweicloudsdkorganizations==3.1.114', + 'huaweicloudsdkorgid==3.1.114', + 'huaweicloudsdkoroas==3.1.114', + 'huaweicloudsdkosm==3.1.114', + 'huaweicloudsdkpangulargemodels==3.1.114', + 'huaweicloudsdkprojectman==3.1.114', + 'huaweicloudsdkrabbitmq==3.1.114', + 'huaweicloudsdkram==3.1.114', + 'huaweicloudsdkrds==3.1.114', + 'huaweicloudsdkres==3.1.114', + 'huaweicloudsdkrgc==3.1.114', + 'huaweicloudsdkrms==3.1.114', + 'huaweicloudsdkrocketmq==3.1.114', + 'huaweicloudsdkroma==3.1.114', + 'huaweicloudsdksa==3.1.114', + 'huaweicloudsdkscm==3.1.114', + 'huaweicloudsdksdrs==3.1.114', + 'huaweicloudsdksecmaster==3.1.114', + 'huaweicloudsdkservicestage==3.1.114', + 'huaweicloudsdksfsturbo==3.1.114', + 'huaweicloudsdksis==3.1.114', + 'huaweicloudsdksmn==3.1.114', + 'huaweicloudsdksms==3.1.114', + 'huaweicloudsdksts==3.1.114', + 'huaweicloudsdkswr==3.1.114', + 'huaweicloudsdktics==3.1.114', + 'huaweicloudsdktms==3.1.114', + 'huaweicloudsdkugo==3.1.114', + 'huaweicloudsdkvas==3.1.114', + 'huaweicloudsdkvcm==3.1.114', + 'huaweicloudsdkvod==3.1.114', + 'huaweicloudsdkvpc==3.1.114', + 'huaweicloudsdkvpcep==3.1.114', + 'huaweicloudsdkvpn==3.1.114', + 'huaweicloudsdkwaf==3.1.114', + 'huaweicloudsdkworkspace==3.1.114', + 'huaweicloudsdkworkspaceapp==3.1.114', ] OPTIONS = { diff --git a/huaweicloud-sdk-antiddos/requirements.txt b/huaweicloud-sdk-antiddos/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-antiddos/requirements.txt +++ b/huaweicloud-sdk-antiddos/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-antiddos/setup.py b/huaweicloud-sdk-antiddos/setup.py index cf76b970f6..ba65c0ff58 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/__init__.py b/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/__init__.py index 8c70fd1889..4011cc8292 100644 --- a/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/__init__.py +++ b/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/__init__.py @@ -142,6 +142,7 @@ from huaweicloudsdkaom.v2.model.node_info import NodeInfo from huaweicloudsdkaom.v2.model.notifications import Notifications from huaweicloudsdkaom.v2.model.notified_histories_result import NotifiedHistoriesResult +from huaweicloudsdkaom.v2.model.page_info import PageInfo from huaweicloudsdkaom.v2.model.prom_config_model import PromConfigModel from huaweicloudsdkaom.v2.model.prom_instance_eps_create_model import PromInstanceEpsCreateModel from huaweicloudsdkaom.v2.model.prom_instance_eps_model import PromInstanceEpsModel diff --git a/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/aom_async_client.py b/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/aom_async_client.py index 7101b9209d..2e88c7b10d 100644 --- a/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/aom_async_client.py +++ b/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/aom_async_client.py @@ -1312,6 +1312,10 @@ def _list_events_http_info(self, request): query_params = [] if 'type' in local_var_params: query_params.append(('type', local_var_params['type'])) + if 'limit' in local_var_params: + query_params.append(('limit', local_var_params['limit'])) + if 'marker' in local_var_params: + query_params.append(('marker', local_var_params['marker'])) header_params = {} if 'enterprise_project_id' in local_var_params: diff --git a/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/aom_client.py b/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/aom_client.py index 890723a230..7ee92a2bb1 100644 --- a/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/aom_client.py +++ b/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/aom_client.py @@ -1312,6 +1312,10 @@ def _list_events_http_info(cls, request): query_params = [] if 'type' in local_var_params: query_params.append(('type', local_var_params['type'])) + if 'limit' in local_var_params: + query_params.append(('limit', local_var_params['limit'])) + if 'marker' in local_var_params: + query_params.append(('marker', local_var_params['marker'])) header_params = {} if 'enterprise_project_id' in local_var_params: diff --git a/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/model/__init__.py b/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/model/__init__.py index 29dc64b886..c6d69fc8d0 100644 --- a/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/model/__init__.py +++ b/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/model/__init__.py @@ -140,6 +140,7 @@ from huaweicloudsdkaom.v2.model.node_info import NodeInfo from huaweicloudsdkaom.v2.model.notifications import Notifications from huaweicloudsdkaom.v2.model.notified_histories_result import NotifiedHistoriesResult +from huaweicloudsdkaom.v2.model.page_info import PageInfo from huaweicloudsdkaom.v2.model.prom_config_model import PromConfigModel from huaweicloudsdkaom.v2.model.prom_instance_eps_create_model import PromInstanceEpsCreateModel from huaweicloudsdkaom.v2.model.prom_instance_eps_model import PromInstanceEpsModel diff --git a/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/model/delete_prom_instance_request.py b/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/model/delete_prom_instance_request.py index ff043b86b5..8771685d34 100644 --- a/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/model/delete_prom_instance_request.py +++ b/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/model/delete_prom_instance_request.py @@ -33,7 +33,7 @@ def __init__(self, prom_id=None, enterprise_project_id=None): :param prom_id: Prometheus实例id。 :type prom_id: str - :param enterprise_project_id: 企业项目id。 - 查询单个企业项目下实例,填写企业项目id。 - 查询所有企业项目下实例,填写“all_granted_eps”。 + :param enterprise_project_id: 企业项目id。 - 删除单个企业项目下实例,填写企业项目id。 :type enterprise_project_id: str """ @@ -44,8 +44,7 @@ def __init__(self, prom_id=None, enterprise_project_id=None): self.discriminator = None self.prom_id = prom_id - if enterprise_project_id is not None: - self.enterprise_project_id = enterprise_project_id + self.enterprise_project_id = enterprise_project_id @property def prom_id(self): @@ -73,7 +72,7 @@ def prom_id(self, prom_id): def enterprise_project_id(self): """Gets the enterprise_project_id of this DeletePromInstanceRequest. - 企业项目id。 - 查询单个企业项目下实例,填写企业项目id。 - 查询所有企业项目下实例,填写“all_granted_eps”。 + 企业项目id。 - 删除单个企业项目下实例,填写企业项目id。 :return: The enterprise_project_id of this DeletePromInstanceRequest. :rtype: str @@ -84,7 +83,7 @@ def enterprise_project_id(self): def enterprise_project_id(self, enterprise_project_id): """Sets the enterprise_project_id of this DeletePromInstanceRequest. - 企业项目id。 - 查询单个企业项目下实例,填写企业项目id。 - 查询所有企业项目下实例,填写“all_granted_eps”。 + 企业项目id。 - 删除单个企业项目下实例,填写企业项目id。 :param enterprise_project_id: The enterprise_project_id of this DeletePromInstanceRequest. :type enterprise_project_id: str diff --git a/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/model/event_model.py b/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/model/event_model.py index 53a0929519..d31e76c2ac 100644 --- a/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/model/event_model.py +++ b/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/model/event_model.py @@ -23,7 +23,11 @@ class EventModel: 'metadata': 'dict(str, str)', 'annotations': 'dict(str, object)', 'attach_rule': 'dict(str, object)', - 'id': 'str' + 'id': 'str', + 'event_sn': 'str', + 'arrives_at': 'int', + 'enterprise_project_id': 'str', + 'policy': 'dict(str, object)' } attribute_map = { @@ -33,10 +37,14 @@ class EventModel: 'metadata': 'metadata', 'annotations': 'annotations', 'attach_rule': 'attach_rule', - 'id': 'id' + 'id': 'id', + 'event_sn': 'event_sn', + 'arrives_at': 'arrives_at', + 'enterprise_project_id': 'enterprise_project_id', + 'policy': 'policy' } - def __init__(self, starts_at=None, ends_at=None, timeout=None, metadata=None, annotations=None, attach_rule=None, id=None): + def __init__(self, starts_at=None, ends_at=None, timeout=None, metadata=None, annotations=None, attach_rule=None, id=None, event_sn=None, arrives_at=None, enterprise_project_id=None, policy=None): """EventModel The model defined in huaweicloud sdk @@ -55,6 +63,14 @@ def __init__(self, starts_at=None, ends_at=None, timeout=None, metadata=None, an :type attach_rule: dict(str, object) :param id: 事件或者告警id,系统会自动生成,上报无须填写该字段。 :type id: str + :param event_sn: 告警流水号。 + :type event_sn: str + :param arrives_at: 事件到达系统时间,CST毫秒级时间戳。 + :type arrives_at: int + :param enterprise_project_id: 事件或告警所属企业项目id。 + :type enterprise_project_id: str + :param policy: 开放告警策略 + :type policy: dict(str, object) """ @@ -66,6 +82,10 @@ def __init__(self, starts_at=None, ends_at=None, timeout=None, metadata=None, an self._annotations = None self._attach_rule = None self._id = None + self._event_sn = None + self._arrives_at = None + self._enterprise_project_id = None + self._policy = None self.discriminator = None if starts_at is not None: @@ -82,6 +102,14 @@ def __init__(self, starts_at=None, ends_at=None, timeout=None, metadata=None, an self.attach_rule = attach_rule if id is not None: self.id = id + if event_sn is not None: + self.event_sn = event_sn + if arrives_at is not None: + self.arrives_at = arrives_at + if enterprise_project_id is not None: + self.enterprise_project_id = enterprise_project_id + if policy is not None: + self.policy = policy @property def starts_at(self): @@ -237,6 +265,94 @@ def id(self, id): """ self._id = id + @property + def event_sn(self): + """Gets the event_sn of this EventModel. + + 告警流水号。 + + :return: The event_sn of this EventModel. + :rtype: str + """ + return self._event_sn + + @event_sn.setter + def event_sn(self, event_sn): + """Sets the event_sn of this EventModel. + + 告警流水号。 + + :param event_sn: The event_sn of this EventModel. + :type event_sn: str + """ + self._event_sn = event_sn + + @property + def arrives_at(self): + """Gets the arrives_at of this EventModel. + + 事件到达系统时间,CST毫秒级时间戳。 + + :return: The arrives_at of this EventModel. + :rtype: int + """ + return self._arrives_at + + @arrives_at.setter + def arrives_at(self, arrives_at): + """Sets the arrives_at of this EventModel. + + 事件到达系统时间,CST毫秒级时间戳。 + + :param arrives_at: The arrives_at of this EventModel. + :type arrives_at: int + """ + self._arrives_at = arrives_at + + @property + def enterprise_project_id(self): + """Gets the enterprise_project_id of this EventModel. + + 事件或告警所属企业项目id。 + + :return: The enterprise_project_id of this EventModel. + :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 EventModel. + + 事件或告警所属企业项目id。 + + :param enterprise_project_id: The enterprise_project_id of this EventModel. + :type enterprise_project_id: str + """ + self._enterprise_project_id = enterprise_project_id + + @property + def policy(self): + """Gets the policy of this EventModel. + + 开放告警策略 + + :return: The policy of this EventModel. + :rtype: dict(str, object) + """ + return self._policy + + @policy.setter + def policy(self, policy): + """Sets the policy of this EventModel. + + 开放告警策略 + + :param policy: The policy of this EventModel. + :type policy: dict(str, object) + """ + self._policy = policy + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/model/list_agents_request.py b/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/model/list_agents_request.py index c55893f8ca..2422277f3c 100644 --- a/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/model/list_agents_request.py +++ b/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/model/list_agents_request.py @@ -31,9 +31,9 @@ def __init__(self, cluster_id=None, namespace=None): The model defined in huaweicloud sdk - :param cluster_id: - 查询集群主机时,填写集群id。 - 查询用户自定义主机时,填写“apm”。 + :param cluster_id: - 查询集群主机时,填写集群id。 - 查询用户自定义主机时,填写“APM”。 :type cluster_id: str - :param namespace: - 查询集群主机时,填写命名空间。 - 查询用户自定义主机时,填写“apm”。 + :param namespace: - 查询集群主机时,填写命名空间。 - 查询用户自定义主机时,填写“APM”。 :type namespace: str """ @@ -50,7 +50,7 @@ def __init__(self, cluster_id=None, namespace=None): def cluster_id(self): """Gets the cluster_id of this ListAgentsRequest. - - 查询集群主机时,填写集群id。 - 查询用户自定义主机时,填写“apm”。 + - 查询集群主机时,填写集群id。 - 查询用户自定义主机时,填写“APM”。 :return: The cluster_id of this ListAgentsRequest. :rtype: str @@ -61,7 +61,7 @@ def cluster_id(self): def cluster_id(self, cluster_id): """Sets the cluster_id of this ListAgentsRequest. - - 查询集群主机时,填写集群id。 - 查询用户自定义主机时,填写“apm”。 + - 查询集群主机时,填写集群id。 - 查询用户自定义主机时,填写“APM”。 :param cluster_id: The cluster_id of this ListAgentsRequest. :type cluster_id: str @@ -72,7 +72,7 @@ def cluster_id(self, cluster_id): def namespace(self): """Gets the namespace of this ListAgentsRequest. - - 查询集群主机时,填写命名空间。 - 查询用户自定义主机时,填写“apm”。 + - 查询集群主机时,填写命名空间。 - 查询用户自定义主机时,填写“APM”。 :return: The namespace of this ListAgentsRequest. :rtype: str @@ -83,7 +83,7 @@ def namespace(self): def namespace(self, namespace): """Sets the namespace of this ListAgentsRequest. - - 查询集群主机时,填写命名空间。 - 查询用户自定义主机时,填写“apm”。 + - 查询集群主机时,填写命名空间。 - 查询用户自定义主机时,填写“APM”。 :param namespace: The namespace of this ListAgentsRequest. :type namespace: str diff --git a/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/model/list_events_request.py b/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/model/list_events_request.py index d334f67378..b065922021 100644 --- a/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/model/list_events_request.py +++ b/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/model/list_events_request.py @@ -19,16 +19,20 @@ class ListEventsRequest: openapi_types = { 'type': 'str', 'enterprise_project_id': 'str', + 'limit': 'int', + 'marker': 'str', 'body': 'EventQueryParam2' } attribute_map = { 'type': 'type', 'enterprise_project_id': 'Enterprise-Project-Id', + 'limit': 'limit', + 'marker': 'marker', 'body': 'body' } - def __init__(self, type=None, enterprise_project_id=None, body=None): + def __init__(self, type=None, enterprise_project_id=None, limit=None, marker=None, body=None): """ListEventsRequest The model defined in huaweicloud sdk @@ -37,6 +41,10 @@ def __init__(self, type=None, enterprise_project_id=None, body=None): :type type: str :param enterprise_project_id: 企业项目id。 - 查询单个企业项目下实例,填写企业项目id。 - 查询所有企业项目下实例,填写“all_granted_eps”。 :type enterprise_project_id: str + :param limit: 不填默认值为1000 + :type limit: int + :param marker: 分页标记,初始为0,后续值为返回体中的next_marker + :type marker: str :param body: Body of the ListEventsRequest :type body: :class:`huaweicloudsdkaom.v2.EventQueryParam2` """ @@ -45,6 +53,8 @@ def __init__(self, type=None, enterprise_project_id=None, body=None): self._type = None self._enterprise_project_id = None + self._limit = None + self._marker = None self._body = None self.discriminator = None @@ -52,6 +62,10 @@ def __init__(self, type=None, enterprise_project_id=None, body=None): self.type = type if enterprise_project_id is not None: self.enterprise_project_id = enterprise_project_id + if limit is not None: + self.limit = limit + if marker is not None: + self.marker = marker if body is not None: self.body = body @@ -99,6 +113,50 @@ def enterprise_project_id(self, enterprise_project_id): """ self._enterprise_project_id = enterprise_project_id + @property + def limit(self): + """Gets the limit of this ListEventsRequest. + + 不填默认值为1000 + + :return: The limit of this ListEventsRequest. + :rtype: int + """ + return self._limit + + @limit.setter + def limit(self, limit): + """Sets the limit of this ListEventsRequest. + + 不填默认值为1000 + + :param limit: The limit of this ListEventsRequest. + :type limit: int + """ + self._limit = limit + + @property + def marker(self): + """Gets the marker of this ListEventsRequest. + + 分页标记,初始为0,后续值为返回体中的next_marker + + :return: The marker of this ListEventsRequest. + :rtype: str + """ + return self._marker + + @marker.setter + def marker(self, marker): + """Sets the marker of this ListEventsRequest. + + 分页标记,初始为0,后续值为返回体中的next_marker + + :param marker: The marker of this ListEventsRequest. + :type marker: str + """ + self._marker = marker + @property def body(self): """Gets the body of this ListEventsRequest. diff --git a/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/model/list_events_response.py b/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/model/list_events_response.py index 9d1fa31a12..0dc7af55c0 100644 --- a/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/model/list_events_response.py +++ b/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/model/list_events_response.py @@ -18,29 +18,36 @@ class ListEventsResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'events': 'list[EventModel]' + 'events': 'list[EventModel]', + 'page_info': 'PageInfo' } attribute_map = { - 'events': 'events' + 'events': 'events', + 'page_info': 'page_info' } - def __init__(self, events=None): + def __init__(self, events=None, page_info=None): """ListEventsResponse The model defined in huaweicloud sdk :param events: 事件或者告警详情。 :type events: list[:class:`huaweicloudsdkaom.v2.EventModel`] + :param page_info: + :type page_info: :class:`huaweicloudsdkaom.v2.PageInfo` """ super(ListEventsResponse, self).__init__() self._events = None + self._page_info = None self.discriminator = None if events is not None: self.events = events + if page_info is not None: + self.page_info = page_info @property def events(self): @@ -64,6 +71,24 @@ def events(self, events): """ self._events = events + @property + def page_info(self): + """Gets the page_info of this ListEventsResponse. + + :return: The page_info of this ListEventsResponse. + :rtype: :class:`huaweicloudsdkaom.v2.PageInfo` + """ + return self._page_info + + @page_info.setter + def page_info(self, page_info): + """Sets the page_info of this ListEventsResponse. + + :param page_info: The page_info of this ListEventsResponse. + :type page_info: :class:`huaweicloudsdkaom.v2.PageInfo` + """ + self._page_info = page_info + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/waf_custom_page.py b/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/model/page_info.py similarity index 50% rename from huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/waf_custom_page.py rename to huaweicloud-sdk-aom/huaweicloudsdkaom/v2/model/page_info.py index 25086d390f..08b7eabfcb 100644 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/waf_custom_page.py +++ b/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/model/page_info.py @@ -5,7 +5,7 @@ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class WafCustomPage: +class PageInfo: """ Attributes: @@ -17,106 +17,106 @@ class WafCustomPage: sensitive_list = [] openapi_types = { - 'status_code': 'str', - 'content_type': 'str', - 'content': 'str' + 'current_count': 'str', + 'previous_marker': 'str', + 'next_marker': 'str' } attribute_map = { - 'status_code': 'status_code', - 'content_type': 'content_type', - 'content': 'content' + 'current_count': 'current_count', + 'previous_marker': 'previous_marker', + 'next_marker': 'next_marker' } - def __init__(self, status_code=None, content_type=None, content=None): - """WafCustomPage + def __init__(self, current_count=None, previous_marker=None, next_marker=None): + """PageInfo The model defined in huaweicloud sdk - :param status_code: 返回状态码 - :type status_code: str - :param content_type: 页面内容类型 - :type content_type: str - :param content: 页面内容 - :type content: str + :param current_count: 当前页事件、告警总数 + :type current_count: str + :param previous_marker: 前一个marker + :type previous_marker: str + :param next_marker: 下一个marker + :type next_marker: str """ - self._status_code = None - self._content_type = None - self._content = None + self._current_count = None + self._previous_marker = None + self._next_marker = None self.discriminator = None - self.status_code = status_code - self.content_type = content_type - self.content = content + self.current_count = current_count + self.previous_marker = previous_marker + self.next_marker = next_marker @property - def status_code(self): - """Gets the status_code of this WafCustomPage. + def current_count(self): + """Gets the current_count of this PageInfo. - 返回状态码 + 当前页事件、告警总数 - :return: The status_code of this WafCustomPage. + :return: The current_count of this PageInfo. :rtype: str """ - return self._status_code + return self._current_count - @status_code.setter - def status_code(self, status_code): - """Sets the status_code of this WafCustomPage. + @current_count.setter + def current_count(self, current_count): + """Sets the current_count of this PageInfo. - 返回状态码 + 当前页事件、告警总数 - :param status_code: The status_code of this WafCustomPage. - :type status_code: str + :param current_count: The current_count of this PageInfo. + :type current_count: str """ - self._status_code = status_code + self._current_count = current_count @property - def content_type(self): - """Gets the content_type of this WafCustomPage. + def previous_marker(self): + """Gets the previous_marker of this PageInfo. - 页面内容类型 + 前一个marker - :return: The content_type of this WafCustomPage. + :return: The previous_marker of this PageInfo. :rtype: str """ - return self._content_type + return self._previous_marker - @content_type.setter - def content_type(self, content_type): - """Sets the content_type of this WafCustomPage. + @previous_marker.setter + def previous_marker(self, previous_marker): + """Sets the previous_marker of this PageInfo. - 页面内容类型 + 前一个marker - :param content_type: The content_type of this WafCustomPage. - :type content_type: str + :param previous_marker: The previous_marker of this PageInfo. + :type previous_marker: str """ - self._content_type = content_type + self._previous_marker = previous_marker @property - def content(self): - """Gets the content of this WafCustomPage. + def next_marker(self): + """Gets the next_marker of this PageInfo. - 页面内容 + 下一个marker - :return: The content of this WafCustomPage. + :return: The next_marker of this PageInfo. :rtype: str """ - return self._content + return self._next_marker - @content.setter - def content(self, content): - """Sets the content of this WafCustomPage. + @next_marker.setter + def next_marker(self, next_marker): + """Sets the next_marker of this PageInfo. - 页面内容 + 下一个marker - :param content: The content of this WafCustomPage. - :type content: str + :param next_marker: The next_marker of this PageInfo. + :type next_marker: str """ - self._content = content + self._next_marker = next_marker def to_dict(self): """Returns the model properties as a dict""" @@ -160,7 +160,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, WafCustomPage): + if not isinstance(other, PageInfo): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-aom/requirements.txt b/huaweicloud-sdk-aom/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-aom/requirements.txt +++ b/huaweicloud-sdk-aom/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-aom/setup.py b/huaweicloud-sdk-aom/setup.py index 9188369bd6..bbcd973e5e 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-aos/requirements.txt b/huaweicloud-sdk-aos/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-aos/requirements.txt +++ b/huaweicloud-sdk-aos/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-aos/setup.py b/huaweicloud-sdk-aos/setup.py index 98f086129c..7c844e7e95 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-apig/requirements.txt b/huaweicloud-sdk-apig/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-apig/requirements.txt +++ b/huaweicloud-sdk-apig/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-apig/setup.py b/huaweicloud-sdk-apig/setup.py index 7c44d76f02..4f38c688f2 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-apm/requirements.txt b/huaweicloud-sdk-apm/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-apm/requirements.txt +++ b/huaweicloud-sdk-apm/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-apm/setup.py b/huaweicloud-sdk-apm/setup.py index 8ec992cc7f..70144db321 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-as/requirements.txt b/huaweicloud-sdk-as/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-as/requirements.txt +++ b/huaweicloud-sdk-as/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-as/setup.py b/huaweicloud-sdk-as/setup.py index ad97b23ce2..ed04c63653 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-asm/requirements.txt b/huaweicloud-sdk-asm/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-asm/requirements.txt +++ b/huaweicloud-sdk-asm/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-asm/setup.py b/huaweicloud-sdk-asm/setup.py index 70a12dac7a..b604b89cc8 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-bcs/requirements.txt b/huaweicloud-sdk-bcs/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-bcs/requirements.txt +++ b/huaweicloud-sdk-bcs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-bcs/setup.py b/huaweicloud-sdk-bcs/setup.py index 3ac34919d2..47478c2782 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-bms/requirements.txt b/huaweicloud-sdk-bms/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-bms/requirements.txt +++ b/huaweicloud-sdk-bms/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-bms/setup.py b/huaweicloud-sdk-bms/setup.py index 05c64c5596..64a1aa0d24 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-bss/requirements.txt b/huaweicloud-sdk-bss/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-bss/requirements.txt +++ b/huaweicloud-sdk-bss/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-bss/setup.py b/huaweicloud-sdk-bss/setup.py index 6704f10918..19e977227d 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-bssintl/requirements.txt b/huaweicloud-sdk-bssintl/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-bssintl/requirements.txt +++ b/huaweicloud-sdk-bssintl/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-bssintl/setup.py b/huaweicloud-sdk-bssintl/setup.py index 27bc13d945..0bc821cc6c 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cae/requirements.txt b/huaweicloud-sdk-cae/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-cae/requirements.txt +++ b/huaweicloud-sdk-cae/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-cae/setup.py b/huaweicloud-sdk-cae/setup.py index 6693bc78c2..6f5a46c55f 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-campusgo/requirements.txt b/huaweicloud-sdk-campusgo/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-campusgo/requirements.txt +++ b/huaweicloud-sdk-campusgo/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-campusgo/setup.py b/huaweicloud-sdk-campusgo/setup.py index 5368022d0c..a57391deb4 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cbh/requirements.txt b/huaweicloud-sdk-cbh/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-cbh/requirements.txt +++ b/huaweicloud-sdk-cbh/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-cbh/setup.py b/huaweicloud-sdk-cbh/setup.py index afa5400012..65977fc72a 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cbr/requirements.txt b/huaweicloud-sdk-cbr/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-cbr/requirements.txt +++ b/huaweicloud-sdk-cbr/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-cbr/setup.py b/huaweicloud-sdk-cbr/setup.py index 2c8d8dd811..1e857b89d2 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cbs/requirements.txt b/huaweicloud-sdk-cbs/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-cbs/requirements.txt +++ b/huaweicloud-sdk-cbs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-cbs/setup.py b/huaweicloud-sdk-cbs/setup.py index fd3534df81..0587ccb95a 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cc/requirements.txt b/huaweicloud-sdk-cc/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-cc/requirements.txt +++ b/huaweicloud-sdk-cc/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-cc/setup.py b/huaweicloud-sdk-cc/setup.py index 353abd3d8e..b6627bd2f1 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/__init__.py b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/__init__.py index 8f3ba5312f..91761cb73c 100644 --- a/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/__init__.py +++ b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/__init__.py @@ -11,6 +11,10 @@ from huaweicloudsdkcce.v3.model.add_node_list import AddNodeList from huaweicloudsdkcce.v3.model.add_node_request import AddNodeRequest from huaweicloudsdkcce.v3.model.add_node_response import AddNodeResponse +from huaweicloudsdkcce.v3.model.add_nodes_to_node_pool import AddNodesToNodePool +from huaweicloudsdkcce.v3.model.add_nodes_to_node_pool_list import AddNodesToNodePoolList +from huaweicloudsdkcce.v3.model.add_nodes_to_node_pool_request import AddNodesToNodePoolRequest +from huaweicloudsdkcce.v3.model.add_nodes_to_node_pool_response import AddNodesToNodePoolResponse from huaweicloudsdkcce.v3.model.addon_check_status import AddonCheckStatus from huaweicloudsdkcce.v3.model.addon_instance import AddonInstance from huaweicloudsdkcce.v3.model.addon_instance_rollback_request import AddonInstanceRollbackRequest @@ -46,9 +50,6 @@ 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 @@ -339,7 +340,6 @@ 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 @@ -352,7 +352,6 @@ 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 @@ -425,8 +424,6 @@ 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 @@ -447,11 +444,6 @@ 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 @@ -480,7 +472,6 @@ from huaweicloudsdkcce.v3.model.sync_node_resp import SyncNodeResp from huaweicloudsdkcce.v3.model.sync_node_response import SyncNodeResponse from huaweicloudsdkcce.v3.model.sync_nodes_resp import SyncNodesResp -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 diff --git a/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/cce_async_client.py b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/cce_async_client.py index 80fffd334e..c9e5c635e2 100644 --- a/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/cce_async_client.py +++ b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/cce_async_client.py @@ -105,31 +105,32 @@ def _add_node_http_info(self, request): return http_info - def awake_cluster_async(self, request): - """集群唤醒 + def add_nodes_to_node_pool_async(self, request): + """自定义节点池纳管节点 - 集群唤醒用于唤醒已休眠的集群,唤醒后,将继续收取控制节点资源费用。 + 该API用于在指定集群自定义节点池下纳管节点。竞价实例不支持纳管。 + >集群管理的URL格式为:https://Endpoint/uri。其中uri为资源路径,也即API访问的路径。 Please refer to HUAWEI cloud API Explorer for details. - :param request: Request instance for AwakeCluster - :type request: :class:`huaweicloudsdkcce.v3.AwakeClusterRequest` - :rtype: :class:`huaweicloudsdkcce.v3.AwakeClusterResponse` + :param request: Request instance for AddNodesToNodePool + :type request: :class:`huaweicloudsdkcce.v3.AddNodesToNodePoolRequest` + :rtype: :class:`huaweicloudsdkcce.v3.AddNodesToNodePoolResponse` """ - http_info = self._awake_cluster_http_info(request) + http_info = self._add_nodes_to_node_pool_http_info(request) return self._call_api(**http_info) - def awake_cluster_async_invoker(self, request): - http_info = self._awake_cluster_http_info(request) + def add_nodes_to_node_pool_async_invoker(self, request): + http_info = self._add_nodes_to_node_pool_http_info(request) return AsyncInvoker(self, http_info) - def _awake_cluster_http_info(self, request): + def _add_nodes_to_node_pool_http_info(self, request): http_info = { "method": "POST", - "resource_path": "/api/v3/projects/{project_id}/clusters/{cluster_id}/operation/awake", + "resource_path": "/api/v3/projects/{project_id}/clusters/{cluster_id}/nodepools/{nodepool_id}/nodes/add", "request_type": request.__class__.__name__, - "response_type": "AwakeClusterResponse" + "response_type": "AddNodesToNodePoolResponse" } local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} @@ -141,6 +142,8 @@ def _awake_cluster_http_info(self, request): 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 = [] @@ -149,6 +152,8 @@ def _awake_cluster_http_info(self, request): form_params = {} body = None + if 'body' in local_var_params: + body = local_var_params['body'] if isinstance(request, SdkStreamRequest): body = request.get_file_stream() @@ -170,33 +175,31 @@ def _awake_cluster_http_info(self, request): return http_info - def batch_create_cluster_tags_async(self, request): - """批量添加指定集群的资源标签 + def awake_cluster_async(self, request): + """集群唤醒 - 该API用于批量添加指定集群的资源标签。 - > - 每个集群支持最多20个资源标签。 - > - 此接口为幂等接口:创建时,如果创建的标签已经存在(key/value均相同视为重复),默认处理成功;key相同,value不同时会覆盖原有标签。 + 集群唤醒用于唤醒已休眠的集群,唤醒后,将继续收取控制节点资源费用。 Please refer to HUAWEI cloud API Explorer for details. - :param request: Request instance for BatchCreateClusterTags - :type request: :class:`huaweicloudsdkcce.v3.BatchCreateClusterTagsRequest` - :rtype: :class:`huaweicloudsdkcce.v3.BatchCreateClusterTagsResponse` + :param request: Request instance for AwakeCluster + :type request: :class:`huaweicloudsdkcce.v3.AwakeClusterRequest` + :rtype: :class:`huaweicloudsdkcce.v3.AwakeClusterResponse` """ - http_info = self._batch_create_cluster_tags_http_info(request) + http_info = self._awake_cluster_http_info(request) return self._call_api(**http_info) - def batch_create_cluster_tags_async_invoker(self, request): - http_info = self._batch_create_cluster_tags_http_info(request) + def awake_cluster_async_invoker(self, request): + http_info = self._awake_cluster_http_info(request) return AsyncInvoker(self, http_info) - def _batch_create_cluster_tags_http_info(self, request): + def _awake_cluster_http_info(self, request): http_info = { "method": "POST", - "resource_path": "/api/v3/projects/{project_id}/clusters/{cluster_id}/tags/create", + "resource_path": "/api/v3/projects/{project_id}/clusters/{cluster_id}/operation/awake", "request_type": request.__class__.__name__, - "response_type": "BatchCreateClusterTagsResponse" + "response_type": "AwakeClusterResponse" } local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} @@ -216,8 +219,6 @@ def _batch_create_cluster_tags_http_info(self, request): form_params = {} body = None - if 'body' in local_var_params: - body = local_var_params['body'] if isinstance(request, SdkStreamRequest): body = request.get_file_stream() @@ -239,31 +240,33 @@ def _batch_create_cluster_tags_http_info(self, request): return http_info - def batch_create_delete_resource_tags_async(self, request): - """绑定、删除资源标签,创建集群时供EPS调用;EPS页面迁移集群企业项目时调用 + def batch_create_cluster_tags_async(self, request): + """批量添加指定集群的资源标签 - 该API用于绑定、删除资源标签,创建集群时供EPS调用;EPS页面迁移集群企业项目时调用 + 该API用于批量添加指定集群的资源标签。 + > - 每个集群支持最多20个资源标签。 + > - 此接口为幂等接口:创建时,如果创建的标签已经存在(key/value均相同视为重复),默认处理成功;key相同,value不同时会覆盖原有标签。 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` + :param request: Request instance for BatchCreateClusterTags + :type request: :class:`huaweicloudsdkcce.v3.BatchCreateClusterTagsRequest` + :rtype: :class:`huaweicloudsdkcce.v3.BatchCreateClusterTagsResponse` """ - http_info = self._batch_create_delete_resource_tags_http_info(request) + http_info = self._batch_create_cluster_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) + def batch_create_cluster_tags_async_invoker(self, request): + http_info = self._batch_create_cluster_tags_http_info(request) return AsyncInvoker(self, http_info) - def _batch_create_delete_resource_tags_http_info(self, request): + def _batch_create_cluster_tags_http_info(self, request): http_info = { "method": "POST", - "resource_path": "/cce/v1/{project_id}/{resource_type}/{resource_id}/tags/action", + "resource_path": "/api/v3/projects/{project_id}/clusters/{cluster_id}/tags/create", "request_type": request.__class__.__name__, - "response_type": "BatchCreateDeleteResourceTagsResponse" + "response_type": "BatchCreateClusterTagsResponse" } local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} @@ -273,10 +276,8 @@ def _batch_create_delete_resource_tags_http_info(self, request): 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'] + if 'cluster_id' in local_var_params: + path_params['cluster_id'] = local_var_params['cluster_id'] query_params = [] @@ -4094,71 +4095,6 @@ 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): """获取任务信息 @@ -4833,140 +4769,6 @@ 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): """获取集群升级任务详情 diff --git a/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/cce_client.py b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/cce_client.py index 4a0ce5e4a7..d12bac0bc4 100644 --- a/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/cce_client.py +++ b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/cce_client.py @@ -105,31 +105,32 @@ def _add_node_http_info(cls, request): return http_info - def awake_cluster(self, request): - """集群唤醒 + def add_nodes_to_node_pool(self, request): + """自定义节点池纳管节点 - 集群唤醒用于唤醒已休眠的集群,唤醒后,将继续收取控制节点资源费用。 + 该API用于在指定集群自定义节点池下纳管节点。竞价实例不支持纳管。 + >集群管理的URL格式为:https://Endpoint/uri。其中uri为资源路径,也即API访问的路径。 Please refer to HUAWEI cloud API Explorer for details. - :param request: Request instance for AwakeCluster - :type request: :class:`huaweicloudsdkcce.v3.AwakeClusterRequest` - :rtype: :class:`huaweicloudsdkcce.v3.AwakeClusterResponse` + :param request: Request instance for AddNodesToNodePool + :type request: :class:`huaweicloudsdkcce.v3.AddNodesToNodePoolRequest` + :rtype: :class:`huaweicloudsdkcce.v3.AddNodesToNodePoolResponse` """ - http_info = self._awake_cluster_http_info(request) + http_info = self._add_nodes_to_node_pool_http_info(request) return self._call_api(**http_info) - def awake_cluster_invoker(self, request): - http_info = self._awake_cluster_http_info(request) + def add_nodes_to_node_pool_invoker(self, request): + http_info = self._add_nodes_to_node_pool_http_info(request) return SyncInvoker(self, http_info) @classmethod - def _awake_cluster_http_info(cls, request): + def _add_nodes_to_node_pool_http_info(cls, request): http_info = { "method": "POST", - "resource_path": "/api/v3/projects/{project_id}/clusters/{cluster_id}/operation/awake", + "resource_path": "/api/v3/projects/{project_id}/clusters/{cluster_id}/nodepools/{nodepool_id}/nodes/add", "request_type": request.__class__.__name__, - "response_type": "AwakeClusterResponse" + "response_type": "AddNodesToNodePoolResponse" } local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} @@ -141,6 +142,8 @@ def _awake_cluster_http_info(cls, request): 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 = [] @@ -149,6 +152,8 @@ def _awake_cluster_http_info(cls, request): form_params = {} body = None + if 'body' in local_var_params: + body = local_var_params['body'] if isinstance(request, SdkStreamRequest): body = request.get_file_stream() @@ -170,33 +175,31 @@ def _awake_cluster_http_info(cls, request): return http_info - def batch_create_cluster_tags(self, request): - """批量添加指定集群的资源标签 + def awake_cluster(self, request): + """集群唤醒 - 该API用于批量添加指定集群的资源标签。 - > - 每个集群支持最多20个资源标签。 - > - 此接口为幂等接口:创建时,如果创建的标签已经存在(key/value均相同视为重复),默认处理成功;key相同,value不同时会覆盖原有标签。 + 集群唤醒用于唤醒已休眠的集群,唤醒后,将继续收取控制节点资源费用。 Please refer to HUAWEI cloud API Explorer for details. - :param request: Request instance for BatchCreateClusterTags - :type request: :class:`huaweicloudsdkcce.v3.BatchCreateClusterTagsRequest` - :rtype: :class:`huaweicloudsdkcce.v3.BatchCreateClusterTagsResponse` + :param request: Request instance for AwakeCluster + :type request: :class:`huaweicloudsdkcce.v3.AwakeClusterRequest` + :rtype: :class:`huaweicloudsdkcce.v3.AwakeClusterResponse` """ - http_info = self._batch_create_cluster_tags_http_info(request) + http_info = self._awake_cluster_http_info(request) return self._call_api(**http_info) - def batch_create_cluster_tags_invoker(self, request): - http_info = self._batch_create_cluster_tags_http_info(request) + def awake_cluster_invoker(self, request): + http_info = self._awake_cluster_http_info(request) return SyncInvoker(self, http_info) @classmethod - def _batch_create_cluster_tags_http_info(cls, request): + def _awake_cluster_http_info(cls, request): http_info = { "method": "POST", - "resource_path": "/api/v3/projects/{project_id}/clusters/{cluster_id}/tags/create", + "resource_path": "/api/v3/projects/{project_id}/clusters/{cluster_id}/operation/awake", "request_type": request.__class__.__name__, - "response_type": "BatchCreateClusterTagsResponse" + "response_type": "AwakeClusterResponse" } local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} @@ -216,8 +219,6 @@ def _batch_create_cluster_tags_http_info(cls, request): form_params = {} body = None - if 'body' in local_var_params: - body = local_var_params['body'] if isinstance(request, SdkStreamRequest): body = request.get_file_stream() @@ -239,31 +240,33 @@ def _batch_create_cluster_tags_http_info(cls, request): return http_info - def batch_create_delete_resource_tags(self, request): - """绑定、删除资源标签,创建集群时供EPS调用;EPS页面迁移集群企业项目时调用 + def batch_create_cluster_tags(self, request): + """批量添加指定集群的资源标签 - 该API用于绑定、删除资源标签,创建集群时供EPS调用;EPS页面迁移集群企业项目时调用 + 该API用于批量添加指定集群的资源标签。 + > - 每个集群支持最多20个资源标签。 + > - 此接口为幂等接口:创建时,如果创建的标签已经存在(key/value均相同视为重复),默认处理成功;key相同,value不同时会覆盖原有标签。 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` + :param request: Request instance for BatchCreateClusterTags + :type request: :class:`huaweicloudsdkcce.v3.BatchCreateClusterTagsRequest` + :rtype: :class:`huaweicloudsdkcce.v3.BatchCreateClusterTagsResponse` """ - http_info = self._batch_create_delete_resource_tags_http_info(request) + http_info = self._batch_create_cluster_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) + def batch_create_cluster_tags_invoker(self, request): + http_info = self._batch_create_cluster_tags_http_info(request) return SyncInvoker(self, http_info) @classmethod - def _batch_create_delete_resource_tags_http_info(cls, request): + def _batch_create_cluster_tags_http_info(cls, request): http_info = { "method": "POST", - "resource_path": "/cce/v1/{project_id}/{resource_type}/{resource_id}/tags/action", + "resource_path": "/api/v3/projects/{project_id}/clusters/{cluster_id}/tags/create", "request_type": request.__class__.__name__, - "response_type": "BatchCreateDeleteResourceTagsResponse" + "response_type": "BatchCreateClusterTagsResponse" } local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} @@ -273,10 +276,8 @@ def _batch_create_delete_resource_tags_http_info(cls, request): 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'] + if 'cluster_id' in local_var_params: + path_params['cluster_id'] = local_var_params['cluster_id'] query_params = [] @@ -4094,71 +4095,6 @@ 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): """获取任务信息 @@ -4833,140 +4769,6 @@ 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): """获取集群升级任务详情 diff --git a/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/__init__.py b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/__init__.py index b2240f0c19..b658e536ad 100644 --- a/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/__init__.py +++ b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/__init__.py @@ -9,6 +9,10 @@ from huaweicloudsdkcce.v3.model.add_node_list import AddNodeList from huaweicloudsdkcce.v3.model.add_node_request import AddNodeRequest from huaweicloudsdkcce.v3.model.add_node_response import AddNodeResponse +from huaweicloudsdkcce.v3.model.add_nodes_to_node_pool import AddNodesToNodePool +from huaweicloudsdkcce.v3.model.add_nodes_to_node_pool_list import AddNodesToNodePoolList +from huaweicloudsdkcce.v3.model.add_nodes_to_node_pool_request import AddNodesToNodePoolRequest +from huaweicloudsdkcce.v3.model.add_nodes_to_node_pool_response import AddNodesToNodePoolResponse from huaweicloudsdkcce.v3.model.addon_check_status import AddonCheckStatus from huaweicloudsdkcce.v3.model.addon_instance import AddonInstance from huaweicloudsdkcce.v3.model.addon_instance_rollback_request import AddonInstanceRollbackRequest @@ -44,9 +48,6 @@ 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 @@ -337,7 +338,6 @@ 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 @@ -350,7 +350,6 @@ 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 @@ -423,8 +422,6 @@ 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 @@ -445,11 +442,6 @@ 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 @@ -478,7 +470,6 @@ from huaweicloudsdkcce.v3.model.sync_node_resp import SyncNodeResp from huaweicloudsdkcce.v3.model.sync_node_response import SyncNodeResponse from huaweicloudsdkcce.v3.model.sync_nodes_resp import SyncNodesResp -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 diff --git a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/action.py b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/add_nodes_to_node_pool.py similarity index 70% rename from huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/action.py rename to huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/add_nodes_to_node_pool.py index ba928997d6..60af892dc8 100644 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/action.py +++ b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/add_nodes_to_node_pool.py @@ -5,7 +5,7 @@ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class Action: +class AddNodesToNodePool: """ Attributes: @@ -17,51 +17,50 @@ class Action: sensitive_list = [] openapi_types = { - 'category': 'str' + 'server_id': 'str' } attribute_map = { - 'category': 'category' + 'server_id': 'serverID' } - def __init__(self, category=None): - """Action + def __init__(self, server_id=None): + """AddNodesToNodePool The model defined in huaweicloud sdk - :param category: 特征反爬虫中防护动作信息 - log:仅记录 - block:拦截 - :type category: str + :param server_id: 服务器ID,获取方式请参见ECS/BMS相关资料。 + :type server_id: str """ - self._category = None + self._server_id = None self.discriminator = None - if category is not None: - self.category = category + self.server_id = server_id @property - def category(self): - """Gets the category of this Action. + def server_id(self): + """Gets the server_id of this AddNodesToNodePool. - 特征反爬虫中防护动作信息 - log:仅记录 - block:拦截 + 服务器ID,获取方式请参见ECS/BMS相关资料。 - :return: The category of this Action. + :return: The server_id of this AddNodesToNodePool. :rtype: str """ - return self._category + return self._server_id - @category.setter - def category(self, category): - """Sets the category of this Action. + @server_id.setter + def server_id(self, server_id): + """Sets the server_id of this AddNodesToNodePool. - 特征反爬虫中防护动作信息 - log:仅记录 - block:拦截 + 服务器ID,获取方式请参见ECS/BMS相关资料。 - :param category: The category of this Action. - :type category: str + :param server_id: The server_id of this AddNodesToNodePool. + :type server_id: str """ - self._category = category + self._server_id = server_id def to_dict(self): """Returns the model properties as a dict""" @@ -105,7 +104,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, Action): + if not isinstance(other, AddNodesToNodePool): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/add_nodes_to_node_pool_list.py b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/add_nodes_to_node_pool_list.py new file mode 100644 index 0000000000..96f3490774 --- /dev/null +++ b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/add_nodes_to_node_pool_list.py @@ -0,0 +1,170 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class AddNodesToNodePoolList: + + """ + 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_version': 'str', + 'kind': 'str', + 'node_list': 'list[AddNodesToNodePool]' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', + 'node_list': 'nodeList' + } + + def __init__(self, api_version=None, kind=None, node_list=None): + """AddNodesToNodePoolList + + The model defined in huaweicloud sdk + + :param api_version: API版本,固定值“v3”。 + :type api_version: str + :param kind: API类型,固定值“List”。 + :type kind: str + :param node_list: 纳管节点列表,当前最多支持同时纳管200个节点。 + :type node_list: list[:class:`huaweicloudsdkcce.v3.AddNodesToNodePool`] + """ + + + + self._api_version = None + self._kind = None + self._node_list = None + self.discriminator = None + + self.api_version = api_version + self.kind = kind + self.node_list = node_list + + @property + def api_version(self): + """Gets the api_version of this AddNodesToNodePoolList. + + API版本,固定值“v3”。 + + :return: The api_version of this AddNodesToNodePoolList. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this AddNodesToNodePoolList. + + API版本,固定值“v3”。 + + :param api_version: The api_version of this AddNodesToNodePoolList. + :type api_version: str + """ + self._api_version = api_version + + @property + def kind(self): + """Gets the kind of this AddNodesToNodePoolList. + + API类型,固定值“List”。 + + :return: The kind of this AddNodesToNodePoolList. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this AddNodesToNodePoolList. + + API类型,固定值“List”。 + + :param kind: The kind of this AddNodesToNodePoolList. + :type kind: str + """ + self._kind = kind + + @property + def node_list(self): + """Gets the node_list of this AddNodesToNodePoolList. + + 纳管节点列表,当前最多支持同时纳管200个节点。 + + :return: The node_list of this AddNodesToNodePoolList. + :rtype: list[:class:`huaweicloudsdkcce.v3.AddNodesToNodePool`] + """ + return self._node_list + + @node_list.setter + def node_list(self, node_list): + """Sets the node_list of this AddNodesToNodePoolList. + + 纳管节点列表,当前最多支持同时纳管200个节点。 + + :param node_list: The node_list of this AddNodesToNodePoolList. + :type node_list: list[:class:`huaweicloudsdkcce.v3.AddNodesToNodePool`] + """ + self._node_list = node_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, AddNodesToNodePoolList): + 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-edgesec/huaweicloudsdkedgesec/v1/model/update_edge_d_do_s_domains_request.py b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/add_nodes_to_node_pool_request.py similarity index 50% rename from huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/update_edge_d_do_s_domains_request.py rename to huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/add_nodes_to_node_pool_request.py index 84d0cab4d3..d2115c710b 100644 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/update_edge_d_do_s_domains_request.py +++ b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/add_nodes_to_node_pool_request.py @@ -5,7 +5,7 @@ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class UpdateEdgeDDoSDomainsRequest: +class AddNodesToNodePoolRequest: """ Attributes: @@ -17,73 +17,101 @@ class UpdateEdgeDDoSDomainsRequest: sensitive_list = [] openapi_types = { - 'domainid': 'str', - 'body': 'UpdateEdgeDDoSDomainsRequestBody' + 'cluster_id': 'str', + 'nodepool_id': 'str', + 'body': 'AddNodesToNodePoolList' } attribute_map = { - 'domainid': 'domainid', + 'cluster_id': 'cluster_id', + 'nodepool_id': 'nodepool_id', 'body': 'body' } - def __init__(self, domainid=None, body=None): - """UpdateEdgeDDoSDomainsRequest + def __init__(self, cluster_id=None, nodepool_id=None, body=None): + """AddNodesToNodePoolRequest The model defined in huaweicloud sdk - :param domainid: 域名ID - :type domainid: str - :param body: Body of the UpdateEdgeDDoSDomainsRequest - :type body: :class:`huaweicloudsdkedgesec.v1.UpdateEdgeDDoSDomainsRequestBody` + :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 AddNodesToNodePoolRequest + :type body: :class:`huaweicloudsdkcce.v3.AddNodesToNodePoolList` """ - self._domainid = None + self._cluster_id = None + self._nodepool_id = None self._body = None self.discriminator = None - self.domainid = domainid + self.cluster_id = cluster_id + self.nodepool_id = nodepool_id if body is not None: self.body = body @property - def domainid(self): - """Gets the domainid of this UpdateEdgeDDoSDomainsRequest. + def cluster_id(self): + """Gets the cluster_id of this AddNodesToNodePoolRequest. - 域名ID + 集群ID,获取方式请参见[如何获取接口URI中参数](cce_02_0271.xml)。 - :return: The domainid of this UpdateEdgeDDoSDomainsRequest. + :return: The cluster_id of this AddNodesToNodePoolRequest. :rtype: str """ - return self._domainid + return self._cluster_id - @domainid.setter - def domainid(self, domainid): - """Sets the domainid of this UpdateEdgeDDoSDomainsRequest. + @cluster_id.setter + def cluster_id(self, cluster_id): + """Sets the cluster_id of this AddNodesToNodePoolRequest. - 域名ID + 集群ID,获取方式请参见[如何获取接口URI中参数](cce_02_0271.xml)。 - :param domainid: The domainid of this UpdateEdgeDDoSDomainsRequest. - :type domainid: str + :param cluster_id: The cluster_id of this AddNodesToNodePoolRequest. + :type cluster_id: str """ - self._domainid = domainid + self._cluster_id = cluster_id + + @property + def nodepool_id(self): + """Gets the nodepool_id of this AddNodesToNodePoolRequest. + + 节点池ID + + :return: The nodepool_id of this AddNodesToNodePoolRequest. + :rtype: str + """ + return self._nodepool_id + + @nodepool_id.setter + def nodepool_id(self, nodepool_id): + """Sets the nodepool_id of this AddNodesToNodePoolRequest. + + 节点池ID + + :param nodepool_id: The nodepool_id of this AddNodesToNodePoolRequest. + :type nodepool_id: str + """ + self._nodepool_id = nodepool_id @property def body(self): - """Gets the body of this UpdateEdgeDDoSDomainsRequest. + """Gets the body of this AddNodesToNodePoolRequest. - :return: The body of this UpdateEdgeDDoSDomainsRequest. - :rtype: :class:`huaweicloudsdkedgesec.v1.UpdateEdgeDDoSDomainsRequestBody` + :return: The body of this AddNodesToNodePoolRequest. + :rtype: :class:`huaweicloudsdkcce.v3.AddNodesToNodePoolList` """ return self._body @body.setter def body(self, body): - """Sets the body of this UpdateEdgeDDoSDomainsRequest. + """Sets the body of this AddNodesToNodePoolRequest. - :param body: The body of this UpdateEdgeDDoSDomainsRequest. - :type body: :class:`huaweicloudsdkedgesec.v1.UpdateEdgeDDoSDomainsRequestBody` + :param body: The body of this AddNodesToNodePoolRequest. + :type body: :class:`huaweicloudsdkcce.v3.AddNodesToNodePoolList` """ self._body = body @@ -129,7 +157,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, UpdateEdgeDDoSDomainsRequest): + if not isinstance(other, AddNodesToNodePoolRequest): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/create_policy_request_body.py b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/add_nodes_to_node_pool_response.py similarity index 65% rename from huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/create_policy_request_body.py rename to huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/add_nodes_to_node_pool_response.py index a6e10af420..8e0e8be9cf 100644 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/create_policy_request_body.py +++ b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/add_nodes_to_node_pool_response.py @@ -2,10 +2,11 @@ import six +from huaweicloudsdkcore.sdk_response import SdkResponse from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class CreatePolicyRequestBody: +class AddNodesToNodePoolResponse(SdkResponse): """ Attributes: @@ -17,50 +18,51 @@ class CreatePolicyRequestBody: sensitive_list = [] openapi_types = { - 'name': 'str' + 'jobid': 'str' } attribute_map = { - 'name': 'name' + 'jobid': 'jobid' } - def __init__(self, name=None): - """CreatePolicyRequestBody + def __init__(self, jobid=None): + """AddNodesToNodePoolResponse The model defined in huaweicloud sdk - :param name: 策略名称(策略名称只能由数字、字母和下划线组成,长度不能超过64为字符) - :type name: str + :param jobid: 提交任务成功后返回的任务ID,用户可以使用该ID对任务执行情况进行查询。 + :type jobid: str """ - + super(AddNodesToNodePoolResponse, self).__init__() - self._name = None + self._jobid = None self.discriminator = None - self.name = name + if jobid is not None: + self.jobid = jobid @property - def name(self): - """Gets the name of this CreatePolicyRequestBody. + def jobid(self): + """Gets the jobid of this AddNodesToNodePoolResponse. - 策略名称(策略名称只能由数字、字母和下划线组成,长度不能超过64为字符) + 提交任务成功后返回的任务ID,用户可以使用该ID对任务执行情况进行查询。 - :return: The name of this CreatePolicyRequestBody. + :return: The jobid of this AddNodesToNodePoolResponse. :rtype: str """ - return self._name + return self._jobid - @name.setter - def name(self, name): - """Sets the name of this CreatePolicyRequestBody. + @jobid.setter + def jobid(self, jobid): + """Sets the jobid of this AddNodesToNodePoolResponse. - 策略名称(策略名称只能由数字、字母和下划线组成,长度不能超过64为字符) + 提交任务成功后返回的任务ID,用户可以使用该ID对任务执行情况进行查询。 - :param name: The name of this CreatePolicyRequestBody. - :type name: str + :param jobid: The jobid of this AddNodesToNodePoolResponse. + :type jobid: str """ - self._name = name + self._jobid = jobid def to_dict(self): """Returns the model properties as a dict""" @@ -104,7 +106,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, CreatePolicyRequestBody): + if not isinstance(other, AddNodesToNodePoolResponse): return False return self.__dict__ == other.__dict__ 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 deleted file mode 100644 index be2725b032..0000000000 --- a/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/batch_create_delete_resource_tags.py +++ /dev/null @@ -1,172 +0,0 @@ -# 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 deleted file mode 100644 index 1239b78b6e..0000000000 --- a/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/batch_create_delete_resource_tags_request.py +++ /dev/null @@ -1,167 +0,0 @@ -# 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 deleted file mode 100644 index dcf9f47de1..0000000000 --- a/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/batch_create_delete_resource_tags_response.py +++ /dev/null @@ -1,85 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class 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/res_instance_body.py b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/res_instance_body.py deleted file mode 100644 index 2580478307..0000000000 --- a/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/res_instance_body.py +++ /dev/null @@ -1,231 +0,0 @@ -# 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 deleted file mode 100644 index 22ced8a365..0000000000 --- a/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/resource_tag_body.py +++ /dev/null @@ -1,202 +0,0 @@ -# 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_customize_cluster_tags_by_project_id_request.py b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/show_customize_cluster_tags_by_project_id_request.py deleted file mode 100644 index 51db04f294..0000000000 --- a/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/show_customize_cluster_tags_by_project_id_request.py +++ /dev/null @@ -1,114 +0,0 @@ -# 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 deleted file mode 100644 index f357c5492a..0000000000 --- a/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/show_customize_cluster_tags_by_project_id_response.py +++ /dev/null @@ -1,174 +0,0 @@ -# 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 deleted file mode 100644 index 61e6665827..0000000000 --- a/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/show_resource_instances.py +++ /dev/null @@ -1,343 +0,0 @@ -# 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 deleted file mode 100644 index 1fc5ab3a73..0000000000 --- a/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/show_resource_instances_request.py +++ /dev/null @@ -1,139 +0,0 @@ -# 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 deleted file mode 100644 index 5e9f384a93..0000000000 --- a/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/show_resource_instances_response.py +++ /dev/null @@ -1,145 +0,0 @@ -# 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 deleted file mode 100644 index 1dbb1e53e4..0000000000 --- a/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/show_resource_tags_request.py +++ /dev/null @@ -1,142 +0,0 @@ -# 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 deleted file mode 100644 index fd9377a0eb..0000000000 --- a/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/show_resource_tags_response.py +++ /dev/null @@ -1,174 +0,0 @@ -# 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/requirements.txt b/huaweicloud-sdk-cce/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-cce/requirements.txt +++ b/huaweicloud-sdk-cce/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-cce/setup.py b/huaweicloud-sdk-cce/setup.py index 338507d7ba..a3d139159b 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ccm/requirements.txt b/huaweicloud-sdk-ccm/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-ccm/requirements.txt +++ b/huaweicloud-sdk-ccm/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-ccm/setup.py b/huaweicloud-sdk-ccm/setup.py index d71c0d9d90..a37d973fe9 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cdm/requirements.txt b/huaweicloud-sdk-cdm/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-cdm/requirements.txt +++ b/huaweicloud-sdk-cdm/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-cdm/setup.py b/huaweicloud-sdk-cdm/setup.py index ec7963ce40..d3019e2428 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cdn/requirements.txt b/huaweicloud-sdk-cdn/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-cdn/requirements.txt +++ b/huaweicloud-sdk-cdn/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-cdn/setup.py b/huaweicloud-sdk-cdn/setup.py index c10e6430aa..c6ab23f52f 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ces/requirements.txt b/huaweicloud-sdk-ces/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-ces/requirements.txt +++ b/huaweicloud-sdk-ces/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-ces/setup.py b/huaweicloud-sdk-ces/setup.py index ee404e8c58..d08b13892f 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cfw/requirements.txt b/huaweicloud-sdk-cfw/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-cfw/requirements.txt +++ b/huaweicloud-sdk-cfw/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-cfw/setup.py b/huaweicloud-sdk-cfw/setup.py index 0ff3bea126..cfcf286bd9 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cgs/requirements.txt b/huaweicloud-sdk-cgs/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-cgs/requirements.txt +++ b/huaweicloud-sdk-cgs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-cgs/setup.py b/huaweicloud-sdk-cgs/setup.py index 7ca57f0328..ea1efd4312 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-classroom/requirements.txt b/huaweicloud-sdk-classroom/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-classroom/requirements.txt +++ b/huaweicloud-sdk-classroom/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-classroom/setup.py b/huaweicloud-sdk-classroom/setup.py index e099304fc8..ba5847efd9 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cloudide/requirements.txt b/huaweicloud-sdk-cloudide/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-cloudide/requirements.txt +++ b/huaweicloud-sdk-cloudide/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-cloudide/setup.py b/huaweicloud-sdk-cloudide/setup.py index c477784abd..16417581e3 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cloudpond/requirements.txt b/huaweicloud-sdk-cloudpond/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-cloudpond/requirements.txt +++ b/huaweicloud-sdk-cloudpond/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-cloudpond/setup.py b/huaweicloud-sdk-cloudpond/setup.py index 7e516daf7b..9d1177d872 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cloudrtc/requirements.txt b/huaweicloud-sdk-cloudrtc/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-cloudrtc/requirements.txt +++ b/huaweicloud-sdk-cloudrtc/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-cloudrtc/setup.py b/huaweicloud-sdk-cloudrtc/setup.py index 432a095aae..958264dc26 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cloudtable/requirements.txt b/huaweicloud-sdk-cloudtable/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-cloudtable/requirements.txt +++ b/huaweicloud-sdk-cloudtable/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-cloudtable/setup.py b/huaweicloud-sdk-cloudtable/setup.py index 0a55f782b6..0f7adae82a 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cloudtest/requirements.txt b/huaweicloud-sdk-cloudtest/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-cloudtest/requirements.txt +++ b/huaweicloud-sdk-cloudtest/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-cloudtest/setup.py b/huaweicloud-sdk-cloudtest/setup.py index 7bc4e2d9b4..9808a22f2d 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-coc/requirements.txt b/huaweicloud-sdk-coc/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-coc/requirements.txt +++ b/huaweicloud-sdk-coc/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-coc/setup.py b/huaweicloud-sdk-coc/setup.py index e04c66bc3e..218a1e1e21 100644 --- a/huaweicloud-sdk-coc/setup.py +++ b/huaweicloud-sdk-coc/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkcoc" -VERSION = "3.1.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-codeartsartifact/requirements.txt b/huaweicloud-sdk-codeartsartifact/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-codeartsartifact/requirements.txt +++ b/huaweicloud-sdk-codeartsartifact/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-codeartsartifact/setup.py b/huaweicloud-sdk-codeartsartifact/setup.py index 4f86e6d1d4..acc800e28c 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-codeartsbuild/requirements.txt b/huaweicloud-sdk-codeartsbuild/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-codeartsbuild/requirements.txt +++ b/huaweicloud-sdk-codeartsbuild/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-codeartsbuild/setup.py b/huaweicloud-sdk-codeartsbuild/setup.py index c210503139..22722decd8 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-codeartscheck/requirements.txt b/huaweicloud-sdk-codeartscheck/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-codeartscheck/requirements.txt +++ b/huaweicloud-sdk-codeartscheck/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-codeartscheck/setup.py b/huaweicloud-sdk-codeartscheck/setup.py index 4680a5aee5..284a267b1c 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-codeartsdeploy/requirements.txt b/huaweicloud-sdk-codeartsdeploy/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-codeartsdeploy/requirements.txt +++ b/huaweicloud-sdk-codeartsdeploy/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-codeartsdeploy/setup.py b/huaweicloud-sdk-codeartsdeploy/setup.py index 19e7690344..563b905be1 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-codeartsgovernance/requirements.txt b/huaweicloud-sdk-codeartsgovernance/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-codeartsgovernance/requirements.txt +++ b/huaweicloud-sdk-codeartsgovernance/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-codeartsgovernance/setup.py b/huaweicloud-sdk-codeartsgovernance/setup.py index 51bf636cee..b588393b6d 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-codeartsinspector/requirements.txt b/huaweicloud-sdk-codeartsinspector/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-codeartsinspector/requirements.txt +++ b/huaweicloud-sdk-codeartsinspector/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-codeartsinspector/setup.py b/huaweicloud-sdk-codeartsinspector/setup.py index 6d2695c2e1..23cf5bcfbf 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-codeartspipeline/requirements.txt b/huaweicloud-sdk-codeartspipeline/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-codeartspipeline/requirements.txt +++ b/huaweicloud-sdk-codeartspipeline/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-codeartspipeline/setup.py b/huaweicloud-sdk-codeartspipeline/setup.py index 42fd9c8f0e..101b27d460 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-codecraft/requirements.txt b/huaweicloud-sdk-codecraft/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-codecraft/requirements.txt +++ b/huaweicloud-sdk-codecraft/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-codecraft/setup.py b/huaweicloud-sdk-codecraft/setup.py index 74d106ca39..682c3bc148 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-codehub/requirements.txt b/huaweicloud-sdk-codehub/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-codehub/requirements.txt +++ b/huaweicloud-sdk-codehub/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-codehub/setup.py b/huaweicloud-sdk-codehub/setup.py index d5f08b34af..500c4226c0 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-config/requirements.txt b/huaweicloud-sdk-config/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-config/requirements.txt +++ b/huaweicloud-sdk-config/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-config/setup.py b/huaweicloud-sdk-config/setup.py index db752cbac1..5544f55e69 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-core/setup.py b/huaweicloud-sdk-core/setup.py index cd9abceb0c..6e8d9ae7ac 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" diff --git a/huaweicloud-sdk-cph/requirements.txt b/huaweicloud-sdk-cph/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-cph/requirements.txt +++ b/huaweicloud-sdk-cph/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-cph/setup.py b/huaweicloud-sdk-cph/setup.py index 461b4c3c9e..381fdf5571 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cpts/requirements.txt b/huaweicloud-sdk-cpts/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-cpts/requirements.txt +++ b/huaweicloud-sdk-cpts/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-cpts/setup.py b/huaweicloud-sdk-cpts/setup.py index d5f5a008a0..fbb0b01c1b 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cse/requirements.txt b/huaweicloud-sdk-cse/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-cse/requirements.txt +++ b/huaweicloud-sdk-cse/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-cse/setup.py b/huaweicloud-sdk-cse/setup.py index a27c5779a5..8ed1ad7632 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-csms/requirements.txt b/huaweicloud-sdk-csms/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-csms/requirements.txt +++ b/huaweicloud-sdk-csms/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-csms/setup.py b/huaweicloud-sdk-csms/setup.py index 0e99f83cd5..05775cc683 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-css/requirements.txt b/huaweicloud-sdk-css/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-css/requirements.txt +++ b/huaweicloud-sdk-css/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-css/setup.py b/huaweicloud-sdk-css/setup.py index ef27e24706..5e467c11ec 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cts/huaweicloudsdkcts/v3/region/cts_region.py b/huaweicloud-sdk-cts/huaweicloudsdkcts/v3/region/cts_region.py index 074d747362..dc90d95a62 100644 --- a/huaweicloud-sdk-cts/huaweicloudsdkcts/v3/region/cts_region.py +++ b/huaweicloud-sdk-cts/huaweicloudsdkcts/v3/region/cts_region.py @@ -79,6 +79,8 @@ class CtsRegion: "https://cts.my-kualalumpur-1.myhuaweicloud.com") RU_MOSCOW_1 = Region("ru-moscow-1", "https://cts.ru-moscow-1.myhuaweicloud.com") + AE_AD_1 = Region("ae-ad-1", + "https://cts.ae-ad-1.myhuaweicloud.com") static_fields = { "af-south-1": AF_SOUTH_1, @@ -107,6 +109,7 @@ class CtsRegion: "eu-west-0": EU_WEST_0, "my-kualalumpur-1": MY_KUALALUMPUR_1, "ru-moscow-1": RU_MOSCOW_1, + "ae-ad-1": AE_AD_1, } @classmethod diff --git a/huaweicloud-sdk-cts/requirements.txt b/huaweicloud-sdk-cts/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-cts/requirements.txt +++ b/huaweicloud-sdk-cts/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-cts/setup.py b/huaweicloud-sdk-cts/setup.py index 029f7d39aa..b02c3351ab 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-das/requirements.txt b/huaweicloud-sdk-das/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-das/requirements.txt +++ b/huaweicloud-sdk-das/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-das/setup.py b/huaweicloud-sdk-das/setup.py index 1d4d95c81e..5e65ae5c1a 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dataartsstudio/requirements.txt b/huaweicloud-sdk-dataartsstudio/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-dataartsstudio/requirements.txt +++ b/huaweicloud-sdk-dataartsstudio/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-dataartsstudio/setup.py b/huaweicloud-sdk-dataartsstudio/setup.py index 7d4d08d982..fe5b83634e 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dbss/requirements.txt b/huaweicloud-sdk-dbss/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-dbss/requirements.txt +++ b/huaweicloud-sdk-dbss/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-dbss/setup.py b/huaweicloud-sdk-dbss/setup.py index 4a62ac650b..ca9dbfbf23 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dc/requirements.txt b/huaweicloud-sdk-dc/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-dc/requirements.txt +++ b/huaweicloud-sdk-dc/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-dc/setup.py b/huaweicloud-sdk-dc/setup.py index 262a438346..25373878be 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dcs/requirements.txt b/huaweicloud-sdk-dcs/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-dcs/requirements.txt +++ b/huaweicloud-sdk-dcs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-dcs/setup.py b/huaweicloud-sdk-dcs/setup.py index d005c76c3d..73867965d7 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ddm/requirements.txt b/huaweicloud-sdk-ddm/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-ddm/requirements.txt +++ b/huaweicloud-sdk-ddm/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-ddm/setup.py b/huaweicloud-sdk-ddm/setup.py index 8fe72fcd64..6c02f51bfc 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dds/requirements.txt b/huaweicloud-sdk-dds/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-dds/requirements.txt +++ b/huaweicloud-sdk-dds/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-dds/setup.py b/huaweicloud-sdk-dds/setup.py index 13d4a26c6b..191a4ce740 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-deh/requirements.txt b/huaweicloud-sdk-deh/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-deh/requirements.txt +++ b/huaweicloud-sdk-deh/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-deh/setup.py b/huaweicloud-sdk-deh/setup.py index 95cea76d81..98c630bfa1 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-devstar/requirements.txt b/huaweicloud-sdk-devstar/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-devstar/requirements.txt +++ b/huaweicloud-sdk-devstar/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-devstar/setup.py b/huaweicloud-sdk-devstar/setup.py index df0e69a0fd..1893706240 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dgc/requirements.txt b/huaweicloud-sdk-dgc/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-dgc/requirements.txt +++ b/huaweicloud-sdk-dgc/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-dgc/setup.py b/huaweicloud-sdk-dgc/setup.py index 0bb96d9694..93f8240931 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dis/requirements.txt b/huaweicloud-sdk-dis/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-dis/requirements.txt +++ b/huaweicloud-sdk-dis/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-dis/setup.py b/huaweicloud-sdk-dis/setup.py index df1da091c7..ed13c47f8c 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dlf/requirements.txt b/huaweicloud-sdk-dlf/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-dlf/requirements.txt +++ b/huaweicloud-sdk-dlf/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-dlf/setup.py b/huaweicloud-sdk-dlf/setup.py index 85950f0f3e..75b56a4104 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dli/huaweicloudsdkdli/v1/model/create_elastic_resource_pool_request_body.py b/huaweicloud-sdk-dli/huaweicloudsdkdli/v1/model/create_elastic_resource_pool_request_body.py index 04b084f9cd..ecd526e334 100644 --- a/huaweicloud-sdk-dli/huaweicloudsdkdli/v1/model/create_elastic_resource_pool_request_body.py +++ b/huaweicloud-sdk-dli/huaweicloudsdkdli/v1/model/create_elastic_resource_pool_request_body.py @@ -24,7 +24,8 @@ class CreateElasticResourcePoolRequestBody: 'charging_mode': 'int', 'min_cu': 'int', 'enterprise_project_id': 'str', - 'tags': 'list[Tag]' + 'tags': 'list[Tag]', + 'label': 'dict(str, str)' } attribute_map = { @@ -35,10 +36,11 @@ class CreateElasticResourcePoolRequestBody: 'charging_mode': 'charging_mode', 'min_cu': 'min_cu', 'enterprise_project_id': 'enterprise_project_id', - 'tags': 'tags' + 'tags': 'tags', + 'label': 'label' } - def __init__(self, elastic_resource_pool_name=None, description=None, cidr_in_vpc=None, max_cu=None, charging_mode=None, min_cu=None, enterprise_project_id=None, tags=None): + def __init__(self, elastic_resource_pool_name=None, description=None, cidr_in_vpc=None, max_cu=None, charging_mode=None, min_cu=None, enterprise_project_id=None, tags=None, label=None): """CreateElasticResourcePoolRequestBody The model defined in huaweicloud sdk @@ -49,16 +51,18 @@ def __init__(self, elastic_resource_pool_name=None, description=None, cidr_in_vp :type description: str :param cidr_in_vpc: 虚拟集群关联的vpc cidr.如果不填,默认值为172.16.0.0//12 :type cidr_in_vpc: str - :param max_cu: 最大CU大于等于该资源池下任意一个队列的最大CU之和且大于min_cu。最小值为64 + :param max_cu: max_cu大于等于该弹性资源池下任意一个队列的最大CU。标准版弹性资源池最小值为64,最大值为32000;基础版弹性资源池最小值为16,最大值为64。 :type max_cu: int :param charging_mode: 计费类型 1、按需计费 :type charging_mode: int - :param min_cu: 最小CU大于等于该资源池下所有队列最小CU之和,最小值为64 + :param min_cu: min_cu大于等于该弹性资源池下所有队列最小CU之和,且小于等于max_cu。标准版弹性资源池最小值为64,最大值为32000;基础版弹性资源池最小值为16,最大值为64。 :type min_cu: int :param enterprise_project_id: 企业ID,不填默认为“0” :type enterprise_project_id: str :param tags: 标签 :type tags: list[:class:`huaweicloudsdkdli.v1.Tag`] + :param label: 弹性资源池属性字段。默认为标准版弹性资源池;{\"spec\":\"basic\"}标识基础版弹性资源池;{\"billing_spec_code\":\"developer\"}标识开发者弹性资源池。目前不支持其它属性设置。 + :type label: dict(str, str) """ @@ -71,6 +75,7 @@ def __init__(self, elastic_resource_pool_name=None, description=None, cidr_in_vp self._min_cu = None self._enterprise_project_id = None self._tags = None + self._label = None self.discriminator = None self.elastic_resource_pool_name = elastic_resource_pool_name @@ -86,6 +91,8 @@ def __init__(self, elastic_resource_pool_name=None, description=None, cidr_in_vp self.enterprise_project_id = enterprise_project_id if tags is not None: self.tags = tags + if label is not None: + self.label = label @property def elastic_resource_pool_name(self): @@ -157,7 +164,7 @@ def cidr_in_vpc(self, cidr_in_vpc): def max_cu(self): """Gets the max_cu of this CreateElasticResourcePoolRequestBody. - 最大CU大于等于该资源池下任意一个队列的最大CU之和且大于min_cu。最小值为64 + max_cu大于等于该弹性资源池下任意一个队列的最大CU。标准版弹性资源池最小值为64,最大值为32000;基础版弹性资源池最小值为16,最大值为64。 :return: The max_cu of this CreateElasticResourcePoolRequestBody. :rtype: int @@ -168,7 +175,7 @@ def max_cu(self): def max_cu(self, max_cu): """Sets the max_cu of this CreateElasticResourcePoolRequestBody. - 最大CU大于等于该资源池下任意一个队列的最大CU之和且大于min_cu。最小值为64 + max_cu大于等于该弹性资源池下任意一个队列的最大CU。标准版弹性资源池最小值为64,最大值为32000;基础版弹性资源池最小值为16,最大值为64。 :param max_cu: The max_cu of this CreateElasticResourcePoolRequestBody. :type max_cu: int @@ -201,7 +208,7 @@ def charging_mode(self, charging_mode): def min_cu(self): """Gets the min_cu of this CreateElasticResourcePoolRequestBody. - 最小CU大于等于该资源池下所有队列最小CU之和,最小值为64 + min_cu大于等于该弹性资源池下所有队列最小CU之和,且小于等于max_cu。标准版弹性资源池最小值为64,最大值为32000;基础版弹性资源池最小值为16,最大值为64。 :return: The min_cu of this CreateElasticResourcePoolRequestBody. :rtype: int @@ -212,7 +219,7 @@ def min_cu(self): def min_cu(self, min_cu): """Sets the min_cu of this CreateElasticResourcePoolRequestBody. - 最小CU大于等于该资源池下所有队列最小CU之和,最小值为64 + min_cu大于等于该弹性资源池下所有队列最小CU之和,且小于等于max_cu。标准版弹性资源池最小值为64,最大值为32000;基础版弹性资源池最小值为16,最大值为64。 :param min_cu: The min_cu of this CreateElasticResourcePoolRequestBody. :type min_cu: int @@ -263,6 +270,28 @@ def tags(self, tags): """ self._tags = tags + @property + def label(self): + """Gets the label of this CreateElasticResourcePoolRequestBody. + + 弹性资源池属性字段。默认为标准版弹性资源池;{\"spec\":\"basic\"}标识基础版弹性资源池;{\"billing_spec_code\":\"developer\"}标识开发者弹性资源池。目前不支持其它属性设置。 + + :return: The label of this CreateElasticResourcePoolRequestBody. + :rtype: dict(str, str) + """ + return self._label + + @label.setter + def label(self, label): + """Sets the label of this CreateElasticResourcePoolRequestBody. + + 弹性资源池属性字段。默认为标准版弹性资源池;{\"spec\":\"basic\"}标识基础版弹性资源池;{\"billing_spec_code\":\"developer\"}标识开发者弹性资源池。目前不支持其它属性设置。 + + :param label: The label of this CreateElasticResourcePoolRequestBody. + :type label: dict(str, str) + """ + self._label = label + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-dli/huaweicloudsdkdli/v1/model/elastic_resource_pool.py b/huaweicloud-sdk-dli/huaweicloudsdkdli/v1/model/elastic_resource_pool.py index ab70cc7e71..0b377a229d 100644 --- a/huaweicloud-sdk-dli/huaweicloudsdkdli/v1/model/elastic_resource_pool.py +++ b/huaweicloud-sdk-dli/huaweicloudsdkdli/v1/model/elastic_resource_pool.py @@ -105,7 +105,7 @@ def __init__(self, elastic_resource_pool_name=None, id=None, update_time=None, q :type charging_mode: int :param manager: 弹性资源池类型 :type manager: str - :param label: 标识弹性资源池,目前只支持 开发者标签,\"label\": {\"billing_spec_code\":\"developer\"} + :param label: 弹性资源池属性字段。默认为标准版弹性资源池;{\"spec\":\"basic\"}标识基础版弹性资源池;{\"billing_spec_code\":\"developer\"}标识开发者弹性资源池。目前不支持其它属性设置。 :type label: dict(str, str) """ @@ -592,7 +592,7 @@ def manager(self, manager): def label(self): """Gets the label of this ElasticResourcePool. - 标识弹性资源池,目前只支持 开发者标签,\"label\": {\"billing_spec_code\":\"developer\"} + 弹性资源池属性字段。默认为标准版弹性资源池;{\"spec\":\"basic\"}标识基础版弹性资源池;{\"billing_spec_code\":\"developer\"}标识开发者弹性资源池。目前不支持其它属性设置。 :return: The label of this ElasticResourcePool. :rtype: dict(str, str) @@ -603,7 +603,7 @@ def label(self): def label(self, label): """Sets the label of this ElasticResourcePool. - 标识弹性资源池,目前只支持 开发者标签,\"label\": {\"billing_spec_code\":\"developer\"} + 弹性资源池属性字段。默认为标准版弹性资源池;{\"spec\":\"basic\"}标识基础版弹性资源池;{\"billing_spec_code\":\"developer\"}标识开发者弹性资源池。目前不支持其它属性设置。 :param label: The label of this ElasticResourcePool. :type label: dict(str, str) diff --git a/huaweicloud-sdk-dli/huaweicloudsdkdli/v1/model/update_elastic_resource_pool_request_body.py b/huaweicloud-sdk-dli/huaweicloudsdkdli/v1/model/update_elastic_resource_pool_request_body.py index 1d5466e811..59bf1d9253 100644 --- a/huaweicloud-sdk-dli/huaweicloudsdkdli/v1/model/update_elastic_resource_pool_request_body.py +++ b/huaweicloud-sdk-dli/huaweicloudsdkdli/v1/model/update_elastic_resource_pool_request_body.py @@ -35,9 +35,9 @@ def __init__(self, description=None, max_cu=None, min_cu=None): :param description: 描述信息。长度限制:256个字符以内。 :type description: str - :param max_cu: 弹性资源池的最大CU数 + :param max_cu: max_cu大于等于该弹性资源池下任意一个队列的最大CU。标准版弹性资源池最小值为64,最大值为32000;基础版弹性资源池最小值为16,最大值为64。 :type max_cu: int - :param min_cu: 弹性资源池的最小CU数 + :param min_cu: min_cu大于等于该弹性资源池下所有队列最小CU之和,且小于等于max_cu。标准版弹性资源池最小值为64,最大值为32000;基础版弹性资源池最小值为16,最大值为64。 :type min_cu: int """ @@ -81,7 +81,7 @@ def description(self, description): def max_cu(self): """Gets the max_cu of this UpdateElasticResourcePoolRequestBody. - 弹性资源池的最大CU数 + max_cu大于等于该弹性资源池下任意一个队列的最大CU。标准版弹性资源池最小值为64,最大值为32000;基础版弹性资源池最小值为16,最大值为64。 :return: The max_cu of this UpdateElasticResourcePoolRequestBody. :rtype: int @@ -92,7 +92,7 @@ def max_cu(self): def max_cu(self, max_cu): """Sets the max_cu of this UpdateElasticResourcePoolRequestBody. - 弹性资源池的最大CU数 + max_cu大于等于该弹性资源池下任意一个队列的最大CU。标准版弹性资源池最小值为64,最大值为32000;基础版弹性资源池最小值为16,最大值为64。 :param max_cu: The max_cu of this UpdateElasticResourcePoolRequestBody. :type max_cu: int @@ -103,7 +103,7 @@ def max_cu(self, max_cu): def min_cu(self): """Gets the min_cu of this UpdateElasticResourcePoolRequestBody. - 弹性资源池的最小CU数 + min_cu大于等于该弹性资源池下所有队列最小CU之和,且小于等于max_cu。标准版弹性资源池最小值为64,最大值为32000;基础版弹性资源池最小值为16,最大值为64。 :return: The min_cu of this UpdateElasticResourcePoolRequestBody. :rtype: int @@ -114,7 +114,7 @@ def min_cu(self): def min_cu(self, min_cu): """Sets the min_cu of this UpdateElasticResourcePoolRequestBody. - 弹性资源池的最小CU数 + min_cu大于等于该弹性资源池下所有队列最小CU之和,且小于等于max_cu。标准版弹性资源池最小值为64,最大值为32000;基础版弹性资源池最小值为16,最大值为64。 :param min_cu: The min_cu of this UpdateElasticResourcePoolRequestBody. :type min_cu: int diff --git a/huaweicloud-sdk-dli/requirements.txt b/huaweicloud-sdk-dli/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-dli/requirements.txt +++ b/huaweicloud-sdk-dli/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-dli/setup.py b/huaweicloud-sdk-dli/setup.py index 42b5fdd6fe..938c033a9c 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dns/requirements.txt b/huaweicloud-sdk-dns/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-dns/requirements.txt +++ b/huaweicloud-sdk-dns/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-dns/setup.py b/huaweicloud-sdk-dns/setup.py index 47bee53f20..69742f7c3f 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dris/requirements.txt b/huaweicloud-sdk-dris/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-dris/requirements.txt +++ b/huaweicloud-sdk-dris/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-dris/setup.py b/huaweicloud-sdk-dris/setup.py index 7563eab3f2..ba3fdab63a 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-drs/requirements.txt b/huaweicloud-sdk-drs/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-drs/requirements.txt +++ b/huaweicloud-sdk-drs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-drs/setup.py b/huaweicloud-sdk-drs/setup.py index 7c4589c538..d47aaf026b 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dsc/requirements.txt b/huaweicloud-sdk-dsc/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-dsc/requirements.txt +++ b/huaweicloud-sdk-dsc/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-dsc/setup.py b/huaweicloud-sdk-dsc/setup.py index 08e1ec3d26..1fea86d308 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dwr/requirements.txt b/huaweicloud-sdk-dwr/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-dwr/requirements.txt +++ b/huaweicloud-sdk-dwr/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-dwr/setup.py b/huaweicloud-sdk-dwr/setup.py index 367473c328..eb1648db8f 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dws/requirements.txt b/huaweicloud-sdk-dws/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-dws/requirements.txt +++ b/huaweicloud-sdk-dws/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-dws/setup.py b/huaweicloud-sdk-dws/setup.py index 634ef3a782..bd99f6d7fa 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ec/requirements.txt b/huaweicloud-sdk-ec/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-ec/requirements.txt +++ b/huaweicloud-sdk-ec/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-ec/setup.py b/huaweicloud-sdk-ec/setup.py index 59a3a0c2ed..ac1aa06ab4 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ecs/requirements.txt b/huaweicloud-sdk-ecs/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-ecs/requirements.txt +++ b/huaweicloud-sdk-ecs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-ecs/setup.py b/huaweicloud-sdk-ecs/setup.py index fcae564530..cd9dfacf20 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/__init__.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/__init__.py deleted file mode 100644 index 8b47dc4b75..0000000000 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/__init__.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -from __future__ import absolute_import - -from huaweicloudsdkedgesec.v1.edgesec_client import EdgeSecClient -from huaweicloudsdkedgesec.v1.edgesec_async_client import EdgeSecAsyncClient - -from huaweicloudsdkedgesec.v1.model.action import Action -from huaweicloudsdkedgesec.v1.model.apply_waf_policy_request import ApplyWafPolicyRequest -from huaweicloudsdkedgesec.v1.model.apply_waf_policy_request_body import ApplyWafPolicyRequestBody -from huaweicloudsdkedgesec.v1.model.apply_waf_policy_response import ApplyWafPolicyResponse -from huaweicloudsdkedgesec.v1.model.bind_host import BindHost -from huaweicloudsdkedgesec.v1.model.cdn_domain_tags import CdnDomainTags -from huaweicloudsdkedgesec.v1.model.certificate_body import CertificateBody -from huaweicloudsdkedgesec.v1.model.create_certificate_request import CreateCertificateRequest -from huaweicloudsdkedgesec.v1.model.create_certificate_request_body import CreateCertificateRequestBody -from huaweicloudsdkedgesec.v1.model.create_certificate_response import CreateCertificateResponse -from huaweicloudsdkedgesec.v1.model.create_edge_d_do_s_domains_request import CreateEdgeDDoSDomainsRequest -from huaweicloudsdkedgesec.v1.model.create_edge_d_do_s_domains_request_body import CreateEdgeDDoSDomainsRequestBody -from huaweicloudsdkedgesec.v1.model.create_edge_d_do_s_domains_response import CreateEdgeDDoSDomainsResponse -from huaweicloudsdkedgesec.v1.model.create_edge_waf_domains_request import CreateEdgeWafDomainsRequest -from huaweicloudsdkedgesec.v1.model.create_edge_waf_domains_request_body import CreateEdgeWafDomainsRequestBody -from huaweicloudsdkedgesec.v1.model.create_edge_waf_domains_response import CreateEdgeWafDomainsResponse -from huaweicloudsdkedgesec.v1.model.create_policy_request import CreatePolicyRequest -from huaweicloudsdkedgesec.v1.model.create_policy_request_body import CreatePolicyRequestBody -from huaweicloudsdkedgesec.v1.model.create_policy_response import CreatePolicyResponse -from huaweicloudsdkedgesec.v1.model.delete_certificate_request import DeleteCertificateRequest -from huaweicloudsdkedgesec.v1.model.delete_certificate_response import DeleteCertificateResponse -from huaweicloudsdkedgesec.v1.model.delete_edge_d_do_s_domains_request import DeleteEdgeDDoSDomainsRequest -from huaweicloudsdkedgesec.v1.model.delete_edge_d_do_s_domains_response import DeleteEdgeDDoSDomainsResponse -from huaweicloudsdkedgesec.v1.model.delete_edge_waf_domains_request import DeleteEdgeWafDomainsRequest -from huaweicloudsdkedgesec.v1.model.delete_edge_waf_domains_response import DeleteEdgeWafDomainsResponse -from huaweicloudsdkedgesec.v1.model.delete_policy_request import DeletePolicyRequest -from huaweicloudsdkedgesec.v1.model.delete_policy_response import DeletePolicyResponse -from huaweicloudsdkedgesec.v1.model.edge_d_do_s_domain_vo import EdgeDDoSDomainVo -from huaweicloudsdkedgesec.v1.model.edge_sec_product_resource import EdgeSecProductResource -from huaweicloudsdkedgesec.v1.model.flag import Flag -from huaweicloudsdkedgesec.v1.model.list_cdn_domains_request import ListCdnDomainsRequest -from huaweicloudsdkedgesec.v1.model.list_cdn_domains_response import ListCdnDomainsResponse -from huaweicloudsdkedgesec.v1.model.list_certificates_request import ListCertificatesRequest -from huaweicloudsdkedgesec.v1.model.list_certificates_response import ListCertificatesResponse -from huaweicloudsdkedgesec.v1.model.list_edge_d_do_s_domains_request import ListEdgeDDoSDomainsRequest -from huaweicloudsdkedgesec.v1.model.list_edge_d_do_s_domains_response import ListEdgeDDoSDomainsResponse -from huaweicloudsdkedgesec.v1.model.list_edge_sec_subscription_request import ListEdgeSecSubscriptionRequest -from huaweicloudsdkedgesec.v1.model.list_edge_sec_subscription_response import ListEdgeSecSubscriptionResponse -from huaweicloudsdkedgesec.v1.model.list_edge_waf_domains_request import ListEdgeWafDomainsRequest -from huaweicloudsdkedgesec.v1.model.list_edge_waf_domains_response import ListEdgeWafDomainsResponse -from huaweicloudsdkedgesec.v1.model.list_policy_request import ListPolicyRequest -from huaweicloudsdkedgesec.v1.model.list_policy_response import ListPolicyResponse -from huaweicloudsdkedgesec.v1.model.policy_action import PolicyAction -from huaweicloudsdkedgesec.v1.model.policy_option import PolicyOption -from huaweicloudsdkedgesec.v1.model.policy_response import PolicyResponse -from huaweicloudsdkedgesec.v1.model.show_cdn_domain_response_body import ShowCdnDomainResponseBody -from huaweicloudsdkedgesec.v1.model.show_certificate_request import ShowCertificateRequest -from huaweicloudsdkedgesec.v1.model.show_certificate_response import ShowCertificateResponse -from huaweicloudsdkedgesec.v1.model.show_edge_waf_domains_request import ShowEdgeWafDomainsRequest -from huaweicloudsdkedgesec.v1.model.show_edge_waf_domains_response import ShowEdgeWafDomainsResponse -from huaweicloudsdkedgesec.v1.model.show_statistics_event_request import ShowStatisticsEventRequest -from huaweicloudsdkedgesec.v1.model.show_statistics_event_response import ShowStatisticsEventResponse -from huaweicloudsdkedgesec.v1.model.show_statistics_traffic_request import ShowStatisticsTrafficRequest -from huaweicloudsdkedgesec.v1.model.show_statistics_traffic_response import ShowStatisticsTrafficResponse -from huaweicloudsdkedgesec.v1.model.show_waf_domain_response_body import ShowWafDomainResponseBody -from huaweicloudsdkedgesec.v1.model.time_series_data import TimeSeriesData -from huaweicloudsdkedgesec.v1.model.update_certificate_request import UpdateCertificateRequest -from huaweicloudsdkedgesec.v1.model.update_certificate_request_body import UpdateCertificateRequestBody -from huaweicloudsdkedgesec.v1.model.update_certificate_response import UpdateCertificateResponse -from huaweicloudsdkedgesec.v1.model.update_edge_d_do_s_domains_request import UpdateEdgeDDoSDomainsRequest -from huaweicloudsdkedgesec.v1.model.update_edge_d_do_s_domains_request_body import UpdateEdgeDDoSDomainsRequestBody -from huaweicloudsdkedgesec.v1.model.update_edge_d_do_s_domains_response import UpdateEdgeDDoSDomainsResponse -from huaweicloudsdkedgesec.v1.model.update_edge_waf_domains_request import UpdateEdgeWafDomainsRequest -from huaweicloudsdkedgesec.v1.model.update_edge_waf_domains_request_body import UpdateEdgeWafDomainsRequestBody -from huaweicloudsdkedgesec.v1.model.update_edge_waf_domains_response import UpdateEdgeWafDomainsResponse -from huaweicloudsdkedgesec.v1.model.waf_block_page import WafBlockPage -from huaweicloudsdkedgesec.v1.model.waf_custom_page import WafCustomPage -from huaweicloudsdkedgesec.v1.model.waf_policy_action import WafPolicyAction -from huaweicloudsdkedgesec.v1.model.waf_policy_bind_host import WafPolicyBindHost -from huaweicloudsdkedgesec.v1.model.waf_policy_option import WafPolicyOption -from huaweicloudsdkedgesec.v1.model.waf_traffic_mark import WafTrafficMark - diff --git a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/edgesec_async_client.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/edgesec_async_client.py deleted file mode 100644 index bfd0854c13..0000000000 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/edgesec_async_client.py +++ /dev/null @@ -1,1602 +0,0 @@ -# coding: utf-8 - -from __future__ import absolute_import - -import importlib -import warnings - -from huaweicloudsdkcore.client import Client, ClientBuilder -from huaweicloudsdkcore.utils import http_utils -from huaweicloudsdkcore.sdk_stream_request import SdkStreamRequest -try: - from huaweicloudsdkcore.invoker.invoker import AsyncInvoker -except ImportError as e: - warnings.warn(str(e) + ", please check if you are using the same versions of 'huaweicloudsdkcore' and 'huaweicloudsdkedgesec'") - - -class EdgeSecAsyncClient(Client): - def __init__(self): - super(EdgeSecAsyncClient, self).__init__() - self.model_package = importlib.import_module("huaweicloudsdkedgesec.v1.model") - - @classmethod - def new_builder(cls, clazz=None): - if not clazz: - client_builder = ClientBuilder(cls) - else: - if clazz.__name__ != "EdgeSecAsyncClient": - raise TypeError("client type error, support client type is EdgeSecAsyncClient") - client_builder = ClientBuilder(clazz) - - - - return client_builder - - def list_edge_sec_subscription_async(self, request): - """查询边缘安全已购产品 - - 租户查询边缘安全已购产品 - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for ListEdgeSecSubscription - :type request: :class:`huaweicloudsdkedgesec.v1.ListEdgeSecSubscriptionRequest` - :rtype: :class:`huaweicloudsdkedgesec.v1.ListEdgeSecSubscriptionResponse` - """ - http_info = self._list_edge_sec_subscription_http_info(request) - return self._call_api(**http_info) - - def list_edge_sec_subscription_async_invoker(self, request): - http_info = self._list_edge_sec_subscription_http_info(request) - return AsyncInvoker(self, http_info) - - def _list_edge_sec_subscription_http_info(self, request): - http_info = { - "method": "GET", - "resource_path": "/v1/edgesec/subscription", - "request_type": request.__class__.__name__, - "response_type": "ListEdgeSecSubscriptionResponse" - } - - 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 '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 create_edge_d_do_s_domains_async(self, request): - """添加ddos防护域名 - - 租户添加ddos防护域名 - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for CreateEdgeDDoSDomains - :type request: :class:`huaweicloudsdkedgesec.v1.CreateEdgeDDoSDomainsRequest` - :rtype: :class:`huaweicloudsdkedgesec.v1.CreateEdgeDDoSDomainsResponse` - """ - http_info = self._create_edge_d_do_s_domains_http_info(request) - return self._call_api(**http_info) - - def create_edge_d_do_s_domains_async_invoker(self, request): - http_info = self._create_edge_d_do_s_domains_http_info(request) - return AsyncInvoker(self, http_info) - - def _create_edge_d_do_s_domains_http_info(self, request): - http_info = { - "method": "POST", - "resource_path": "/v1/edgeddos/domains", - "request_type": request.__class__.__name__, - "response_type": "CreateEdgeDDoSDomainsResponse" - } - - 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 delete_edge_d_do_s_domains_async(self, request): - """删除ddos防护域名 - - 租户删除ddos防护域名 - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for DeleteEdgeDDoSDomains - :type request: :class:`huaweicloudsdkedgesec.v1.DeleteEdgeDDoSDomainsRequest` - :rtype: :class:`huaweicloudsdkedgesec.v1.DeleteEdgeDDoSDomainsResponse` - """ - http_info = self._delete_edge_d_do_s_domains_http_info(request) - return self._call_api(**http_info) - - def delete_edge_d_do_s_domains_async_invoker(self, request): - http_info = self._delete_edge_d_do_s_domains_http_info(request) - return AsyncInvoker(self, http_info) - - def _delete_edge_d_do_s_domains_http_info(self, request): - http_info = { - "method": "DELETE", - "resource_path": "/v1/edgeddos/domains/{domainid}", - "request_type": request.__class__.__name__, - "response_type": "DeleteEdgeDDoSDomainsResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'domainid' in local_var_params: - path_params['domainid'] = local_var_params['domainid'] - - query_params = [] - 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 list_edge_d_do_s_domains_async(self, request): - """查询ddos防护域名 - - 查询租户ddos防护域名 - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for ListEdgeDDoSDomains - :type request: :class:`huaweicloudsdkedgesec.v1.ListEdgeDDoSDomainsRequest` - :rtype: :class:`huaweicloudsdkedgesec.v1.ListEdgeDDoSDomainsResponse` - """ - http_info = self._list_edge_d_do_s_domains_http_info(request) - return self._call_api(**http_info) - - def list_edge_d_do_s_domains_async_invoker(self, request): - http_info = self._list_edge_d_do_s_domains_http_info(request) - return AsyncInvoker(self, http_info) - - def _list_edge_d_do_s_domains_http_info(self, request): - http_info = { - "method": "GET", - "resource_path": "/v1/edgeddos/domains", - "request_type": request.__class__.__name__, - "response_type": "ListEdgeDDoSDomainsResponse" - } - - 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 'domain_name' in local_var_params: - query_params.append(('domain_name', local_var_params['domain_name'])) - if 'enterprise_project_id' in local_var_params: - query_params.append(('enterprise_project_id', local_var_params['enterprise_project_id'])) - 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 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_statistics_event_async(self, request): - """查询租户受攻击事件数据 - - 查询租户受攻击事件数据 - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for ShowStatisticsEvent - :type request: :class:`huaweicloudsdkedgesec.v1.ShowStatisticsEventRequest` - :rtype: :class:`huaweicloudsdkedgesec.v1.ShowStatisticsEventResponse` - """ - http_info = self._show_statistics_event_http_info(request) - return self._call_api(**http_info) - - def show_statistics_event_async_invoker(self, request): - http_info = self._show_statistics_event_http_info(request) - return AsyncInvoker(self, http_info) - - def _show_statistics_event_http_info(self, request): - http_info = { - "method": "GET", - "resource_path": "/v1/statistics/event", - "request_type": request.__class__.__name__, - "response_type": "ShowStatisticsEventResponse" - } - - 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 'start_time' in local_var_params: - query_params.append(('start_time', local_var_params['start_time'])) - if 'end_time' in local_var_params: - query_params.append(('end_time', local_var_params['end_time'])) - if 'type' in local_var_params: - query_params.append(('type', local_var_params['type'])) - 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 show_statistics_traffic_async(self, request): - """查询租户流量数据 - - 查询租户流量数据 - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for ShowStatisticsTraffic - :type request: :class:`huaweicloudsdkedgesec.v1.ShowStatisticsTrafficRequest` - :rtype: :class:`huaweicloudsdkedgesec.v1.ShowStatisticsTrafficResponse` - """ - http_info = self._show_statistics_traffic_http_info(request) - return self._call_api(**http_info) - - def show_statistics_traffic_async_invoker(self, request): - http_info = self._show_statistics_traffic_http_info(request) - return AsyncInvoker(self, http_info) - - def _show_statistics_traffic_http_info(self, request): - http_info = { - "method": "GET", - "resource_path": "/v1/statistics/traffic", - "request_type": request.__class__.__name__, - "response_type": "ShowStatisticsTrafficResponse" - } - - 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 'start_time' in local_var_params: - query_params.append(('start_time', local_var_params['start_time'])) - if 'end_time' in local_var_params: - query_params.append(('end_time', local_var_params['end_time'])) - if 'type' in local_var_params: - query_params.append(('type', local_var_params['type'])) - 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 update_edge_d_do_s_domains_async(self, request): - """更新ddos防护域名 - - 租户更新ddos防护域名 - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for UpdateEdgeDDoSDomains - :type request: :class:`huaweicloudsdkedgesec.v1.UpdateEdgeDDoSDomainsRequest` - :rtype: :class:`huaweicloudsdkedgesec.v1.UpdateEdgeDDoSDomainsResponse` - """ - http_info = self._update_edge_d_do_s_domains_http_info(request) - return self._call_api(**http_info) - - def update_edge_d_do_s_domains_async_invoker(self, request): - http_info = self._update_edge_d_do_s_domains_http_info(request) - return AsyncInvoker(self, http_info) - - def _update_edge_d_do_s_domains_http_info(self, request): - http_info = { - "method": "PUT", - "resource_path": "/v1/edgeddos/domains/{domainid}", - "request_type": request.__class__.__name__, - "response_type": "UpdateEdgeDDoSDomainsResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'domainid' in local_var_params: - path_params['domainid'] = local_var_params['domainid'] - - 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 apply_waf_policy_async(self, request): - """更新防护策略的域名 - - 更新防护策略的域名 - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for ApplyWafPolicy - :type request: :class:`huaweicloudsdkedgesec.v1.ApplyWafPolicyRequest` - :rtype: :class:`huaweicloudsdkedgesec.v1.ApplyWafPolicyResponse` - """ - http_info = self._apply_waf_policy_http_info(request) - return self._call_api(**http_info) - - def apply_waf_policy_async_invoker(self, request): - http_info = self._apply_waf_policy_http_info(request) - return AsyncInvoker(self, http_info) - - def _apply_waf_policy_http_info(self, request): - http_info = { - "method": "POST", - "resource_path": "/v1/edgewaf/policies/{policy_id}/hosts", - "request_type": request.__class__.__name__, - "response_type": "ApplyWafPolicyResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'policy_id' in local_var_params: - path_params['policy_id'] = local_var_params['policy_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 create_certificate_async(self, request): - """创建证书 - - 创建证书 - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for CreateCertificate - :type request: :class:`huaweicloudsdkedgesec.v1.CreateCertificateRequest` - :rtype: :class:`huaweicloudsdkedgesec.v1.CreateCertificateResponse` - """ - http_info = self._create_certificate_http_info(request) - return self._call_api(**http_info) - - def create_certificate_async_invoker(self, request): - http_info = self._create_certificate_http_info(request) - return AsyncInvoker(self, http_info) - - def _create_certificate_http_info(self, request): - http_info = { - "method": "POST", - "resource_path": "/v1/{project_id}/waf/certificate", - "request_type": request.__class__.__name__, - "response_type": "CreateCertificateResponse" - } - - 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 '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 '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_edge_waf_domains_async(self, request): - """创建防护域名 - - 创建防护域名 - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for CreateEdgeWafDomains - :type request: :class:`huaweicloudsdkedgesec.v1.CreateEdgeWafDomainsRequest` - :rtype: :class:`huaweicloudsdkedgesec.v1.CreateEdgeWafDomainsResponse` - """ - http_info = self._create_edge_waf_domains_http_info(request) - return self._call_api(**http_info) - - def create_edge_waf_domains_async_invoker(self, request): - http_info = self._create_edge_waf_domains_http_info(request) - return AsyncInvoker(self, http_info) - - def _create_edge_waf_domains_http_info(self, request): - http_info = { - "method": "POST", - "resource_path": "/v1/edgewaf/domains", - "request_type": request.__class__.__name__, - "response_type": "CreateEdgeWafDomainsResponse" - } - - 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 create_policy_async(self, request): - """创建防护策略 - - 创建防护策略,系统会在生成策略时配置一些默认的配置项,如果需要修改策略的默认配置项需要通过调用更新防护策略接口实现 - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for CreatePolicy - :type request: :class:`huaweicloudsdkedgesec.v1.CreatePolicyRequest` - :rtype: :class:`huaweicloudsdkedgesec.v1.CreatePolicyResponse` - """ - http_info = self._create_policy_http_info(request) - return self._call_api(**http_info) - - def create_policy_async_invoker(self, request): - http_info = self._create_policy_http_info(request) - return AsyncInvoker(self, http_info) - - def _create_policy_http_info(self, request): - http_info = { - "method": "POST", - "resource_path": "/v1/{project_id}/waf/policy", - "request_type": request.__class__.__name__, - "response_type": "CreatePolicyResponse" - } - - 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 '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 '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 delete_certificate_async(self, request): - """删除证书 - - 删除证书 - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for DeleteCertificate - :type request: :class:`huaweicloudsdkedgesec.v1.DeleteCertificateRequest` - :rtype: :class:`huaweicloudsdkedgesec.v1.DeleteCertificateResponse` - """ - http_info = self._delete_certificate_http_info(request) - return self._call_api(**http_info) - - def delete_certificate_async_invoker(self, request): - http_info = self._delete_certificate_http_info(request) - return AsyncInvoker(self, http_info) - - def _delete_certificate_http_info(self, request): - http_info = { - "method": "DELETE", - "resource_path": "/v1/{project_id}/waf/certificate/{certificate_id}", - "request_type": request.__class__.__name__, - "response_type": "DeleteCertificateResponse" - } - - 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 'certificate_id' in local_var_params: - path_params['certificate_id'] = local_var_params['certificate_id'] - - query_params = [] - 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 delete_edge_waf_domains_async(self, request): - """删除防护域名 - - 删除防护域名 - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for DeleteEdgeWafDomains - :type request: :class:`huaweicloudsdkedgesec.v1.DeleteEdgeWafDomainsRequest` - :rtype: :class:`huaweicloudsdkedgesec.v1.DeleteEdgeWafDomainsResponse` - """ - http_info = self._delete_edge_waf_domains_http_info(request) - return self._call_api(**http_info) - - def delete_edge_waf_domains_async_invoker(self, request): - http_info = self._delete_edge_waf_domains_http_info(request) - return AsyncInvoker(self, http_info) - - def _delete_edge_waf_domains_http_info(self, request): - http_info = { - "method": "DELETE", - "resource_path": "/v1/edgewaf/domains/{domainid}", - "request_type": request.__class__.__name__, - "response_type": "DeleteEdgeWafDomainsResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'domainid' in local_var_params: - path_params['domainid'] = local_var_params['domainid'] - - query_params = [] - 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 delete_policy_async(self, request): - """删除防护策略 - - 删除防护策略,若策略正在使用,则需要先接解除域名与策略的绑定关系才能删除策略。 - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for DeletePolicy - :type request: :class:`huaweicloudsdkedgesec.v1.DeletePolicyRequest` - :rtype: :class:`huaweicloudsdkedgesec.v1.DeletePolicyResponse` - """ - http_info = self._delete_policy_http_info(request) - return self._call_api(**http_info) - - def delete_policy_async_invoker(self, request): - http_info = self._delete_policy_http_info(request) - return AsyncInvoker(self, http_info) - - def _delete_policy_http_info(self, request): - http_info = { - "method": "DELETE", - "resource_path": "/v1/{project_id}/waf/policy/{policy_id}", - "request_type": request.__class__.__name__, - "response_type": "DeletePolicyResponse" - } - - 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 'policy_id' in local_var_params: - path_params['policy_id'] = local_var_params['policy_id'] - - query_params = [] - 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 list_cdn_domains_async(self, request): - """查询CDN域名列表 - - 查询CDN域名列表 - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for ListCdnDomains - :type request: :class:`huaweicloudsdkedgesec.v1.ListCdnDomainsRequest` - :rtype: :class:`huaweicloudsdkedgesec.v1.ListCdnDomainsResponse` - """ - http_info = self._list_cdn_domains_http_info(request) - return self._call_api(**http_info) - - def list_cdn_domains_async_invoker(self, request): - http_info = self._list_cdn_domains_http_info(request) - return AsyncInvoker(self, http_info) - - def _list_cdn_domains_http_info(self, request): - http_info = { - "method": "GET", - "resource_path": "/v1/edgesec/cdn/domains", - "request_type": request.__class__.__name__, - "response_type": "ListCdnDomainsResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'offset' in local_var_params: - query_params.append(('offset', local_var_params['offset'])) - if 'limit' in local_var_params: - query_params.append(('limit', local_var_params['limit'])) - if 'domain_name' in local_var_params: - query_params.append(('domain_name', local_var_params['domain_name'])) - 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 list_certificates_async(self, request): - """查询证书列表 - - 查询证书列表 - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for ListCertificates - :type request: :class:`huaweicloudsdkedgesec.v1.ListCertificatesRequest` - :rtype: :class:`huaweicloudsdkedgesec.v1.ListCertificatesResponse` - """ - http_info = self._list_certificates_http_info(request) - return self._call_api(**http_info) - - def list_certificates_async_invoker(self, request): - http_info = self._list_certificates_http_info(request) - return AsyncInvoker(self, http_info) - - def _list_certificates_http_info(self, request): - http_info = { - "method": "GET", - "resource_path": "/v1/{project_id}/waf/certificate", - "request_type": request.__class__.__name__, - "response_type": "ListCertificatesResponse" - } - - 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 'enterprise_project_id' in local_var_params: - query_params.append(('enterprise_project_id', local_var_params['enterprise_project_id'])) - if 'page' in local_var_params: - query_params.append(('page', local_var_params['page'])) - if 'pagesize' in local_var_params: - query_params.append(('pagesize', local_var_params['pagesize'])) - if 'name' in local_var_params: - query_params.append(('name', local_var_params['name'])) - if 'host' in local_var_params: - query_params.append(('host', local_var_params['host'])) - if 'exp_status' in local_var_params: - query_params.append(('exp_status', local_var_params['exp_status'])) - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json']) - - auth_settings = [] - - 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_edge_waf_domains_async(self, request): - """查询WAF防护域名列表 - - 查询WAF防护域名列表 - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for ListEdgeWafDomains - :type request: :class:`huaweicloudsdkedgesec.v1.ListEdgeWafDomainsRequest` - :rtype: :class:`huaweicloudsdkedgesec.v1.ListEdgeWafDomainsResponse` - """ - http_info = self._list_edge_waf_domains_http_info(request) - return self._call_api(**http_info) - - def list_edge_waf_domains_async_invoker(self, request): - http_info = self._list_edge_waf_domains_http_info(request) - return AsyncInvoker(self, http_info) - - def _list_edge_waf_domains_http_info(self, request): - http_info = { - "method": "GET", - "resource_path": "/v1/edgewaf/domains", - "request_type": request.__class__.__name__, - "response_type": "ListEdgeWafDomainsResponse" - } - - 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 'page_num' in local_var_params: - query_params.append(('page_num', local_var_params['page_num'])) - if 'page_size' in local_var_params: - query_params.append(('page_size', local_var_params['page_size'])) - if 'domain_name' in local_var_params: - query_params.append(('domain_name', local_var_params['domain_name'])) - if 'enterprise_project_id' in local_var_params: - query_params.append(('enterprise_project_id', local_var_params['enterprise_project_id'])) - if 'type' in local_var_params: - query_params.append(('type', local_var_params['type'])) - - 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_policy_async(self, request): - """查询防护策略列表 - - 查询防护策略列表 - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for ListPolicy - :type request: :class:`huaweicloudsdkedgesec.v1.ListPolicyRequest` - :rtype: :class:`huaweicloudsdkedgesec.v1.ListPolicyResponse` - """ - http_info = self._list_policy_http_info(request) - return self._call_api(**http_info) - - def list_policy_async_invoker(self, request): - http_info = self._list_policy_http_info(request) - return AsyncInvoker(self, http_info) - - def _list_policy_http_info(self, request): - http_info = { - "method": "GET", - "resource_path": "/v1/{project_id}/waf/policy", - "request_type": request.__class__.__name__, - "response_type": "ListPolicyResponse" - } - - 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 'enterprise_project_id' in local_var_params: - query_params.append(('enterprise_project_id', local_var_params['enterprise_project_id'])) - if 'page' in local_var_params: - query_params.append(('page', local_var_params['page'])) - if 'pagesize' in local_var_params: - query_params.append(('pagesize', local_var_params['pagesize'])) - if 'name' in local_var_params: - query_params.append(('name', local_var_params['name'])) - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json']) - - auth_settings = [] - - 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_certificate_async(self, request): - """查询证书 - - 查询证书 - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for ShowCertificate - :type request: :class:`huaweicloudsdkedgesec.v1.ShowCertificateRequest` - :rtype: :class:`huaweicloudsdkedgesec.v1.ShowCertificateResponse` - """ - http_info = self._show_certificate_http_info(request) - return self._call_api(**http_info) - - def show_certificate_async_invoker(self, request): - http_info = self._show_certificate_http_info(request) - return AsyncInvoker(self, http_info) - - def _show_certificate_http_info(self, request): - http_info = { - "method": "GET", - "resource_path": "/v1/{project_id}/waf/certificate/{certificate_id}", - "request_type": request.__class__.__name__, - "response_type": "ShowCertificateResponse" - } - - 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 'certificate_id' in local_var_params: - path_params['certificate_id'] = local_var_params['certificate_id'] - - query_params = [] - 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 show_edge_waf_domains_async(self, request): - """查询防护域名 - - 查询防护域名 - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for ShowEdgeWafDomains - :type request: :class:`huaweicloudsdkedgesec.v1.ShowEdgeWafDomainsRequest` - :rtype: :class:`huaweicloudsdkedgesec.v1.ShowEdgeWafDomainsResponse` - """ - http_info = self._show_edge_waf_domains_http_info(request) - return self._call_api(**http_info) - - def show_edge_waf_domains_async_invoker(self, request): - http_info = self._show_edge_waf_domains_http_info(request) - return AsyncInvoker(self, http_info) - - def _show_edge_waf_domains_http_info(self, request): - http_info = { - "method": "GET", - "resource_path": "/v1/edgewaf/domains/{domainid}", - "request_type": request.__class__.__name__, - "response_type": "ShowEdgeWafDomainsResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'domainid' in local_var_params: - path_params['domainid'] = local_var_params['domainid'] - - query_params = [] - 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 update_certificate_async(self, request): - """修改证书 - - 修改证书 - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for UpdateCertificate - :type request: :class:`huaweicloudsdkedgesec.v1.UpdateCertificateRequest` - :rtype: :class:`huaweicloudsdkedgesec.v1.UpdateCertificateResponse` - """ - http_info = self._update_certificate_http_info(request) - return self._call_api(**http_info) - - def update_certificate_async_invoker(self, request): - http_info = self._update_certificate_http_info(request) - return AsyncInvoker(self, http_info) - - def _update_certificate_http_info(self, request): - http_info = { - "method": "PUT", - "resource_path": "/v1/{project_id}/waf/certificate/{certificate_id}", - "request_type": request.__class__.__name__, - "response_type": "UpdateCertificateResponse" - } - - 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 'certificate_id' in local_var_params: - path_params['certificate_id'] = local_var_params['certificate_id'] - - query_params = [] - 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 '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_edge_waf_domains_async(self, request): - """更新防护域名 - - 更新防护域名 - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for UpdateEdgeWafDomains - :type request: :class:`huaweicloudsdkedgesec.v1.UpdateEdgeWafDomainsRequest` - :rtype: :class:`huaweicloudsdkedgesec.v1.UpdateEdgeWafDomainsResponse` - """ - http_info = self._update_edge_waf_domains_http_info(request) - return self._call_api(**http_info) - - def update_edge_waf_domains_async_invoker(self, request): - http_info = self._update_edge_waf_domains_http_info(request) - return AsyncInvoker(self, http_info) - - def _update_edge_waf_domains_http_info(self, request): - http_info = { - "method": "PUT", - "resource_path": "/v1/edgewaf/domains/{domainid}", - "request_type": request.__class__.__name__, - "response_type": "UpdateEdgeWafDomainsResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'domainid' in local_var_params: - path_params['domainid'] = local_var_params['domainid'] - - 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 _call_api(self, **kwargs): - try: - kwargs["async_request"] = True - return self.do_http_request(**kwargs) - except TypeError: - import inspect - params = inspect.signature(self.do_http_request).parameters - http_info = {param_name: kwargs.get(param_name) for param_name in params if param_name in kwargs} - return self.do_http_request(**http_info) - - def call_api(self, resource_path, method, path_params=None, query_params=None, header_params=None, body=None, - post_params=None, cname=None, response_type=None, response_headers=None, auth_settings=None, - collection_formats=None, request_type=None): - """Makes the HTTP request and returns deserialized data. - - :param resource_path: Path to method endpoint. - :param method: Method to call. - :param path_params: Path parameters in the url. - :param query_params: Query parameters in the url. - :param header_params: Header parameters to be - placed in the request header. - :param body: Request body. - :param post_params: Request post form parameters, - for `application/x-www-form-urlencoded`, `multipart/form-data`. - :param cname: Used for obs endpoint. - :param auth_settings: Auth Settings names for the request. - :param response_type: Response data type. - :param response_headers: Header should be added to response data. - :param collection_formats: dict of collection formats for path, query, - header, and post parameters. - :param request_type: Request data type. - :return: - Return the response directly. - """ - return self.do_http_request( - method=method, - resource_path=resource_path, - path_params=path_params, - query_params=query_params, - header_params=header_params, - body=body, - post_params=post_params, - cname=cname, - response_type=response_type, - response_headers=response_headers, - collection_formats=collection_formats, - request_type=request_type, - async_request=True) diff --git a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/edgesec_client.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/edgesec_client.py deleted file mode 100644 index 82cfb3ab47..0000000000 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/edgesec_client.py +++ /dev/null @@ -1,1599 +0,0 @@ -# coding: utf-8 - -from __future__ import absolute_import - -import importlib -import warnings - -from huaweicloudsdkcore.client import Client, ClientBuilder -from huaweicloudsdkcore.utils import http_utils -from huaweicloudsdkcore.sdk_stream_request import SdkStreamRequest -try: - from huaweicloudsdkcore.invoker.invoker import SyncInvoker -except ImportError as e: - warnings.warn(str(e) + ", please check if you are using the same versions of 'huaweicloudsdkcore' and 'huaweicloudsdkedgesec'") - - -class EdgeSecClient(Client): - def __init__(self): - super(EdgeSecClient, self).__init__() - self.model_package = importlib.import_module("huaweicloudsdkedgesec.v1.model") - - @classmethod - def new_builder(cls, clazz=None): - if not clazz: - client_builder = ClientBuilder(cls) - else: - if clazz.__name__ != "EdgeSecClient": - raise TypeError("client type error, support client type is EdgeSecClient") - client_builder = ClientBuilder(clazz) - - - - return client_builder - - def list_edge_sec_subscription(self, request): - """查询边缘安全已购产品 - - 租户查询边缘安全已购产品 - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for ListEdgeSecSubscription - :type request: :class:`huaweicloudsdkedgesec.v1.ListEdgeSecSubscriptionRequest` - :rtype: :class:`huaweicloudsdkedgesec.v1.ListEdgeSecSubscriptionResponse` - """ - http_info = self._list_edge_sec_subscription_http_info(request) - return self._call_api(**http_info) - - def list_edge_sec_subscription_invoker(self, request): - http_info = self._list_edge_sec_subscription_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _list_edge_sec_subscription_http_info(cls, request): - http_info = { - "method": "GET", - "resource_path": "/v1/edgesec/subscription", - "request_type": request.__class__.__name__, - "response_type": "ListEdgeSecSubscriptionResponse" - } - - 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 '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 create_edge_d_do_s_domains(self, request): - """添加ddos防护域名 - - 租户添加ddos防护域名 - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for CreateEdgeDDoSDomains - :type request: :class:`huaweicloudsdkedgesec.v1.CreateEdgeDDoSDomainsRequest` - :rtype: :class:`huaweicloudsdkedgesec.v1.CreateEdgeDDoSDomainsResponse` - """ - http_info = self._create_edge_d_do_s_domains_http_info(request) - return self._call_api(**http_info) - - def create_edge_d_do_s_domains_invoker(self, request): - http_info = self._create_edge_d_do_s_domains_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _create_edge_d_do_s_domains_http_info(cls, request): - http_info = { - "method": "POST", - "resource_path": "/v1/edgeddos/domains", - "request_type": request.__class__.__name__, - "response_type": "CreateEdgeDDoSDomainsResponse" - } - - 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 delete_edge_d_do_s_domains(self, request): - """删除ddos防护域名 - - 租户删除ddos防护域名 - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for DeleteEdgeDDoSDomains - :type request: :class:`huaweicloudsdkedgesec.v1.DeleteEdgeDDoSDomainsRequest` - :rtype: :class:`huaweicloudsdkedgesec.v1.DeleteEdgeDDoSDomainsResponse` - """ - http_info = self._delete_edge_d_do_s_domains_http_info(request) - return self._call_api(**http_info) - - def delete_edge_d_do_s_domains_invoker(self, request): - http_info = self._delete_edge_d_do_s_domains_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _delete_edge_d_do_s_domains_http_info(cls, request): - http_info = { - "method": "DELETE", - "resource_path": "/v1/edgeddos/domains/{domainid}", - "request_type": request.__class__.__name__, - "response_type": "DeleteEdgeDDoSDomainsResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'domainid' in local_var_params: - path_params['domainid'] = local_var_params['domainid'] - - query_params = [] - 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 list_edge_d_do_s_domains(self, request): - """查询ddos防护域名 - - 查询租户ddos防护域名 - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for ListEdgeDDoSDomains - :type request: :class:`huaweicloudsdkedgesec.v1.ListEdgeDDoSDomainsRequest` - :rtype: :class:`huaweicloudsdkedgesec.v1.ListEdgeDDoSDomainsResponse` - """ - http_info = self._list_edge_d_do_s_domains_http_info(request) - return self._call_api(**http_info) - - def list_edge_d_do_s_domains_invoker(self, request): - http_info = self._list_edge_d_do_s_domains_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _list_edge_d_do_s_domains_http_info(cls, request): - http_info = { - "method": "GET", - "resource_path": "/v1/edgeddos/domains", - "request_type": request.__class__.__name__, - "response_type": "ListEdgeDDoSDomainsResponse" - } - - 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 'domain_name' in local_var_params: - query_params.append(('domain_name', local_var_params['domain_name'])) - if 'enterprise_project_id' in local_var_params: - query_params.append(('enterprise_project_id', local_var_params['enterprise_project_id'])) - 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 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_statistics_event(self, request): - """查询租户受攻击事件数据 - - 查询租户受攻击事件数据 - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for ShowStatisticsEvent - :type request: :class:`huaweicloudsdkedgesec.v1.ShowStatisticsEventRequest` - :rtype: :class:`huaweicloudsdkedgesec.v1.ShowStatisticsEventResponse` - """ - http_info = self._show_statistics_event_http_info(request) - return self._call_api(**http_info) - - def show_statistics_event_invoker(self, request): - http_info = self._show_statistics_event_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _show_statistics_event_http_info(cls, request): - http_info = { - "method": "GET", - "resource_path": "/v1/statistics/event", - "request_type": request.__class__.__name__, - "response_type": "ShowStatisticsEventResponse" - } - - 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 'start_time' in local_var_params: - query_params.append(('start_time', local_var_params['start_time'])) - if 'end_time' in local_var_params: - query_params.append(('end_time', local_var_params['end_time'])) - if 'type' in local_var_params: - query_params.append(('type', local_var_params['type'])) - 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 show_statistics_traffic(self, request): - """查询租户流量数据 - - 查询租户流量数据 - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for ShowStatisticsTraffic - :type request: :class:`huaweicloudsdkedgesec.v1.ShowStatisticsTrafficRequest` - :rtype: :class:`huaweicloudsdkedgesec.v1.ShowStatisticsTrafficResponse` - """ - http_info = self._show_statistics_traffic_http_info(request) - return self._call_api(**http_info) - - def show_statistics_traffic_invoker(self, request): - http_info = self._show_statistics_traffic_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _show_statistics_traffic_http_info(cls, request): - http_info = { - "method": "GET", - "resource_path": "/v1/statistics/traffic", - "request_type": request.__class__.__name__, - "response_type": "ShowStatisticsTrafficResponse" - } - - 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 'start_time' in local_var_params: - query_params.append(('start_time', local_var_params['start_time'])) - if 'end_time' in local_var_params: - query_params.append(('end_time', local_var_params['end_time'])) - if 'type' in local_var_params: - query_params.append(('type', local_var_params['type'])) - 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 update_edge_d_do_s_domains(self, request): - """更新ddos防护域名 - - 租户更新ddos防护域名 - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for UpdateEdgeDDoSDomains - :type request: :class:`huaweicloudsdkedgesec.v1.UpdateEdgeDDoSDomainsRequest` - :rtype: :class:`huaweicloudsdkedgesec.v1.UpdateEdgeDDoSDomainsResponse` - """ - http_info = self._update_edge_d_do_s_domains_http_info(request) - return self._call_api(**http_info) - - def update_edge_d_do_s_domains_invoker(self, request): - http_info = self._update_edge_d_do_s_domains_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _update_edge_d_do_s_domains_http_info(cls, request): - http_info = { - "method": "PUT", - "resource_path": "/v1/edgeddos/domains/{domainid}", - "request_type": request.__class__.__name__, - "response_type": "UpdateEdgeDDoSDomainsResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'domainid' in local_var_params: - path_params['domainid'] = local_var_params['domainid'] - - 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 apply_waf_policy(self, request): - """更新防护策略的域名 - - 更新防护策略的域名 - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for ApplyWafPolicy - :type request: :class:`huaweicloudsdkedgesec.v1.ApplyWafPolicyRequest` - :rtype: :class:`huaweicloudsdkedgesec.v1.ApplyWafPolicyResponse` - """ - http_info = self._apply_waf_policy_http_info(request) - return self._call_api(**http_info) - - def apply_waf_policy_invoker(self, request): - http_info = self._apply_waf_policy_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _apply_waf_policy_http_info(cls, request): - http_info = { - "method": "POST", - "resource_path": "/v1/edgewaf/policies/{policy_id}/hosts", - "request_type": request.__class__.__name__, - "response_type": "ApplyWafPolicyResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'policy_id' in local_var_params: - path_params['policy_id'] = local_var_params['policy_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 create_certificate(self, request): - """创建证书 - - 创建证书 - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for CreateCertificate - :type request: :class:`huaweicloudsdkedgesec.v1.CreateCertificateRequest` - :rtype: :class:`huaweicloudsdkedgesec.v1.CreateCertificateResponse` - """ - http_info = self._create_certificate_http_info(request) - return self._call_api(**http_info) - - def create_certificate_invoker(self, request): - http_info = self._create_certificate_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _create_certificate_http_info(cls, request): - http_info = { - "method": "POST", - "resource_path": "/v1/{project_id}/waf/certificate", - "request_type": request.__class__.__name__, - "response_type": "CreateCertificateResponse" - } - - 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 '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 '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_edge_waf_domains(self, request): - """创建防护域名 - - 创建防护域名 - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for CreateEdgeWafDomains - :type request: :class:`huaweicloudsdkedgesec.v1.CreateEdgeWafDomainsRequest` - :rtype: :class:`huaweicloudsdkedgesec.v1.CreateEdgeWafDomainsResponse` - """ - http_info = self._create_edge_waf_domains_http_info(request) - return self._call_api(**http_info) - - def create_edge_waf_domains_invoker(self, request): - http_info = self._create_edge_waf_domains_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _create_edge_waf_domains_http_info(cls, request): - http_info = { - "method": "POST", - "resource_path": "/v1/edgewaf/domains", - "request_type": request.__class__.__name__, - "response_type": "CreateEdgeWafDomainsResponse" - } - - 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 create_policy(self, request): - """创建防护策略 - - 创建防护策略,系统会在生成策略时配置一些默认的配置项,如果需要修改策略的默认配置项需要通过调用更新防护策略接口实现 - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for CreatePolicy - :type request: :class:`huaweicloudsdkedgesec.v1.CreatePolicyRequest` - :rtype: :class:`huaweicloudsdkedgesec.v1.CreatePolicyResponse` - """ - http_info = self._create_policy_http_info(request) - return self._call_api(**http_info) - - def create_policy_invoker(self, request): - http_info = self._create_policy_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _create_policy_http_info(cls, request): - http_info = { - "method": "POST", - "resource_path": "/v1/{project_id}/waf/policy", - "request_type": request.__class__.__name__, - "response_type": "CreatePolicyResponse" - } - - 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 '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 '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 delete_certificate(self, request): - """删除证书 - - 删除证书 - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for DeleteCertificate - :type request: :class:`huaweicloudsdkedgesec.v1.DeleteCertificateRequest` - :rtype: :class:`huaweicloudsdkedgesec.v1.DeleteCertificateResponse` - """ - http_info = self._delete_certificate_http_info(request) - return self._call_api(**http_info) - - def delete_certificate_invoker(self, request): - http_info = self._delete_certificate_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _delete_certificate_http_info(cls, request): - http_info = { - "method": "DELETE", - "resource_path": "/v1/{project_id}/waf/certificate/{certificate_id}", - "request_type": request.__class__.__name__, - "response_type": "DeleteCertificateResponse" - } - - 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 'certificate_id' in local_var_params: - path_params['certificate_id'] = local_var_params['certificate_id'] - - query_params = [] - 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 delete_edge_waf_domains(self, request): - """删除防护域名 - - 删除防护域名 - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for DeleteEdgeWafDomains - :type request: :class:`huaweicloudsdkedgesec.v1.DeleteEdgeWafDomainsRequest` - :rtype: :class:`huaweicloudsdkedgesec.v1.DeleteEdgeWafDomainsResponse` - """ - http_info = self._delete_edge_waf_domains_http_info(request) - return self._call_api(**http_info) - - def delete_edge_waf_domains_invoker(self, request): - http_info = self._delete_edge_waf_domains_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _delete_edge_waf_domains_http_info(cls, request): - http_info = { - "method": "DELETE", - "resource_path": "/v1/edgewaf/domains/{domainid}", - "request_type": request.__class__.__name__, - "response_type": "DeleteEdgeWafDomainsResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'domainid' in local_var_params: - path_params['domainid'] = local_var_params['domainid'] - - query_params = [] - 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 delete_policy(self, request): - """删除防护策略 - - 删除防护策略,若策略正在使用,则需要先接解除域名与策略的绑定关系才能删除策略。 - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for DeletePolicy - :type request: :class:`huaweicloudsdkedgesec.v1.DeletePolicyRequest` - :rtype: :class:`huaweicloudsdkedgesec.v1.DeletePolicyResponse` - """ - http_info = self._delete_policy_http_info(request) - return self._call_api(**http_info) - - def delete_policy_invoker(self, request): - http_info = self._delete_policy_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _delete_policy_http_info(cls, request): - http_info = { - "method": "DELETE", - "resource_path": "/v1/{project_id}/waf/policy/{policy_id}", - "request_type": request.__class__.__name__, - "response_type": "DeletePolicyResponse" - } - - 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 'policy_id' in local_var_params: - path_params['policy_id'] = local_var_params['policy_id'] - - query_params = [] - 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 list_cdn_domains(self, request): - """查询CDN域名列表 - - 查询CDN域名列表 - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for ListCdnDomains - :type request: :class:`huaweicloudsdkedgesec.v1.ListCdnDomainsRequest` - :rtype: :class:`huaweicloudsdkedgesec.v1.ListCdnDomainsResponse` - """ - http_info = self._list_cdn_domains_http_info(request) - return self._call_api(**http_info) - - def list_cdn_domains_invoker(self, request): - http_info = self._list_cdn_domains_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _list_cdn_domains_http_info(cls, request): - http_info = { - "method": "GET", - "resource_path": "/v1/edgesec/cdn/domains", - "request_type": request.__class__.__name__, - "response_type": "ListCdnDomainsResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - - query_params = [] - if 'offset' in local_var_params: - query_params.append(('offset', local_var_params['offset'])) - if 'limit' in local_var_params: - query_params.append(('limit', local_var_params['limit'])) - if 'domain_name' in local_var_params: - query_params.append(('domain_name', local_var_params['domain_name'])) - 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 list_certificates(self, request): - """查询证书列表 - - 查询证书列表 - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for ListCertificates - :type request: :class:`huaweicloudsdkedgesec.v1.ListCertificatesRequest` - :rtype: :class:`huaweicloudsdkedgesec.v1.ListCertificatesResponse` - """ - http_info = self._list_certificates_http_info(request) - return self._call_api(**http_info) - - def list_certificates_invoker(self, request): - http_info = self._list_certificates_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _list_certificates_http_info(cls, request): - http_info = { - "method": "GET", - "resource_path": "/v1/{project_id}/waf/certificate", - "request_type": request.__class__.__name__, - "response_type": "ListCertificatesResponse" - } - - 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 'enterprise_project_id' in local_var_params: - query_params.append(('enterprise_project_id', local_var_params['enterprise_project_id'])) - if 'page' in local_var_params: - query_params.append(('page', local_var_params['page'])) - if 'pagesize' in local_var_params: - query_params.append(('pagesize', local_var_params['pagesize'])) - if 'name' in local_var_params: - query_params.append(('name', local_var_params['name'])) - if 'host' in local_var_params: - query_params.append(('host', local_var_params['host'])) - if 'exp_status' in local_var_params: - query_params.append(('exp_status', local_var_params['exp_status'])) - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json']) - - auth_settings = [] - - 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_edge_waf_domains(self, request): - """查询WAF防护域名列表 - - 查询WAF防护域名列表 - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for ListEdgeWafDomains - :type request: :class:`huaweicloudsdkedgesec.v1.ListEdgeWafDomainsRequest` - :rtype: :class:`huaweicloudsdkedgesec.v1.ListEdgeWafDomainsResponse` - """ - http_info = self._list_edge_waf_domains_http_info(request) - return self._call_api(**http_info) - - def list_edge_waf_domains_invoker(self, request): - http_info = self._list_edge_waf_domains_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _list_edge_waf_domains_http_info(cls, request): - http_info = { - "method": "GET", - "resource_path": "/v1/edgewaf/domains", - "request_type": request.__class__.__name__, - "response_type": "ListEdgeWafDomainsResponse" - } - - 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 'page_num' in local_var_params: - query_params.append(('page_num', local_var_params['page_num'])) - if 'page_size' in local_var_params: - query_params.append(('page_size', local_var_params['page_size'])) - if 'domain_name' in local_var_params: - query_params.append(('domain_name', local_var_params['domain_name'])) - if 'enterprise_project_id' in local_var_params: - query_params.append(('enterprise_project_id', local_var_params['enterprise_project_id'])) - if 'type' in local_var_params: - query_params.append(('type', local_var_params['type'])) - - 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_policy(self, request): - """查询防护策略列表 - - 查询防护策略列表 - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for ListPolicy - :type request: :class:`huaweicloudsdkedgesec.v1.ListPolicyRequest` - :rtype: :class:`huaweicloudsdkedgesec.v1.ListPolicyResponse` - """ - http_info = self._list_policy_http_info(request) - return self._call_api(**http_info) - - def list_policy_invoker(self, request): - http_info = self._list_policy_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _list_policy_http_info(cls, request): - http_info = { - "method": "GET", - "resource_path": "/v1/{project_id}/waf/policy", - "request_type": request.__class__.__name__, - "response_type": "ListPolicyResponse" - } - - 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 'enterprise_project_id' in local_var_params: - query_params.append(('enterprise_project_id', local_var_params['enterprise_project_id'])) - if 'page' in local_var_params: - query_params.append(('page', local_var_params['page'])) - if 'pagesize' in local_var_params: - query_params.append(('pagesize', local_var_params['pagesize'])) - if 'name' in local_var_params: - query_params.append(('name', local_var_params['name'])) - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params['Content-Type'] = http_utils.select_header_content_type( - ['application/json']) - - auth_settings = [] - - 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_certificate(self, request): - """查询证书 - - 查询证书 - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for ShowCertificate - :type request: :class:`huaweicloudsdkedgesec.v1.ShowCertificateRequest` - :rtype: :class:`huaweicloudsdkedgesec.v1.ShowCertificateResponse` - """ - http_info = self._show_certificate_http_info(request) - return self._call_api(**http_info) - - def show_certificate_invoker(self, request): - http_info = self._show_certificate_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _show_certificate_http_info(cls, request): - http_info = { - "method": "GET", - "resource_path": "/v1/{project_id}/waf/certificate/{certificate_id}", - "request_type": request.__class__.__name__, - "response_type": "ShowCertificateResponse" - } - - 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 'certificate_id' in local_var_params: - path_params['certificate_id'] = local_var_params['certificate_id'] - - query_params = [] - 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 show_edge_waf_domains(self, request): - """查询防护域名 - - 查询防护域名 - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for ShowEdgeWafDomains - :type request: :class:`huaweicloudsdkedgesec.v1.ShowEdgeWafDomainsRequest` - :rtype: :class:`huaweicloudsdkedgesec.v1.ShowEdgeWafDomainsResponse` - """ - http_info = self._show_edge_waf_domains_http_info(request) - return self._call_api(**http_info) - - def show_edge_waf_domains_invoker(self, request): - http_info = self._show_edge_waf_domains_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _show_edge_waf_domains_http_info(cls, request): - http_info = { - "method": "GET", - "resource_path": "/v1/edgewaf/domains/{domainid}", - "request_type": request.__class__.__name__, - "response_type": "ShowEdgeWafDomainsResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'domainid' in local_var_params: - path_params['domainid'] = local_var_params['domainid'] - - query_params = [] - 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 update_certificate(self, request): - """修改证书 - - 修改证书 - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for UpdateCertificate - :type request: :class:`huaweicloudsdkedgesec.v1.UpdateCertificateRequest` - :rtype: :class:`huaweicloudsdkedgesec.v1.UpdateCertificateResponse` - """ - http_info = self._update_certificate_http_info(request) - return self._call_api(**http_info) - - def update_certificate_invoker(self, request): - http_info = self._update_certificate_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _update_certificate_http_info(cls, request): - http_info = { - "method": "PUT", - "resource_path": "/v1/{project_id}/waf/certificate/{certificate_id}", - "request_type": request.__class__.__name__, - "response_type": "UpdateCertificateResponse" - } - - 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 'certificate_id' in local_var_params: - path_params['certificate_id'] = local_var_params['certificate_id'] - - query_params = [] - 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 '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_edge_waf_domains(self, request): - """更新防护域名 - - 更新防护域名 - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for UpdateEdgeWafDomains - :type request: :class:`huaweicloudsdkedgesec.v1.UpdateEdgeWafDomainsRequest` - :rtype: :class:`huaweicloudsdkedgesec.v1.UpdateEdgeWafDomainsResponse` - """ - http_info = self._update_edge_waf_domains_http_info(request) - return self._call_api(**http_info) - - def update_edge_waf_domains_invoker(self, request): - http_info = self._update_edge_waf_domains_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _update_edge_waf_domains_http_info(cls, request): - http_info = { - "method": "PUT", - "resource_path": "/v1/edgewaf/domains/{domainid}", - "request_type": request.__class__.__name__, - "response_type": "UpdateEdgeWafDomainsResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if 'domainid' in local_var_params: - path_params['domainid'] = local_var_params['domainid'] - - 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 _call_api(self, **kwargs): - try: - return self.do_http_request(**kwargs) - except TypeError: - import inspect - params = inspect.signature(self.do_http_request).parameters - http_info = {param_name: kwargs.get(param_name) for param_name in params if param_name in kwargs} - return self.do_http_request(**http_info) - - def call_api(self, resource_path, method, path_params=None, query_params=None, header_params=None, body=None, - post_params=None, cname=None, response_type=None, response_headers=None, auth_settings=None, - collection_formats=None, request_type=None): - """Makes the HTTP request and returns deserialized data. - - :param resource_path: Path to method endpoint. - :param method: Method to call. - :param path_params: Path parameters in the url. - :param query_params: Query parameters in the url. - :param header_params: Header parameters to be placed in the request header. - :param body: Request body. - :param post_params: Request post form parameters, - for `application/x-www-form-urlencoded`, `multipart/form-data`. - :param cname: Used for obs endpoint. - :param auth_settings: Auth Settings names for the request. - :param response_type: Response data type. - :param response_headers: Header should be added to response data. - :param collection_formats: dict of collection formats for path, query, - header, and post parameters. - :param request_type: Request data type. - :return: - Return the response directly. - """ - return self.do_http_request( - method=method, - resource_path=resource_path, - path_params=path_params, - query_params=query_params, - header_params=header_params, - body=body, - post_params=post_params, - cname=cname, - response_type=response_type, - response_headers=response_headers, - collection_formats=collection_formats, - request_type=request_type) diff --git a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/__init__.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/__init__.py deleted file mode 100644 index e0c463b5b6..0000000000 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/__init__.py +++ /dev/null @@ -1,76 +0,0 @@ -# coding: utf-8 - -from __future__ import absolute_import - -# import models into model package -from huaweicloudsdkedgesec.v1.model.action import Action -from huaweicloudsdkedgesec.v1.model.apply_waf_policy_request import ApplyWafPolicyRequest -from huaweicloudsdkedgesec.v1.model.apply_waf_policy_request_body import ApplyWafPolicyRequestBody -from huaweicloudsdkedgesec.v1.model.apply_waf_policy_response import ApplyWafPolicyResponse -from huaweicloudsdkedgesec.v1.model.bind_host import BindHost -from huaweicloudsdkedgesec.v1.model.cdn_domain_tags import CdnDomainTags -from huaweicloudsdkedgesec.v1.model.certificate_body import CertificateBody -from huaweicloudsdkedgesec.v1.model.create_certificate_request import CreateCertificateRequest -from huaweicloudsdkedgesec.v1.model.create_certificate_request_body import CreateCertificateRequestBody -from huaweicloudsdkedgesec.v1.model.create_certificate_response import CreateCertificateResponse -from huaweicloudsdkedgesec.v1.model.create_edge_d_do_s_domains_request import CreateEdgeDDoSDomainsRequest -from huaweicloudsdkedgesec.v1.model.create_edge_d_do_s_domains_request_body import CreateEdgeDDoSDomainsRequestBody -from huaweicloudsdkedgesec.v1.model.create_edge_d_do_s_domains_response import CreateEdgeDDoSDomainsResponse -from huaweicloudsdkedgesec.v1.model.create_edge_waf_domains_request import CreateEdgeWafDomainsRequest -from huaweicloudsdkedgesec.v1.model.create_edge_waf_domains_request_body import CreateEdgeWafDomainsRequestBody -from huaweicloudsdkedgesec.v1.model.create_edge_waf_domains_response import CreateEdgeWafDomainsResponse -from huaweicloudsdkedgesec.v1.model.create_policy_request import CreatePolicyRequest -from huaweicloudsdkedgesec.v1.model.create_policy_request_body import CreatePolicyRequestBody -from huaweicloudsdkedgesec.v1.model.create_policy_response import CreatePolicyResponse -from huaweicloudsdkedgesec.v1.model.delete_certificate_request import DeleteCertificateRequest -from huaweicloudsdkedgesec.v1.model.delete_certificate_response import DeleteCertificateResponse -from huaweicloudsdkedgesec.v1.model.delete_edge_d_do_s_domains_request import DeleteEdgeDDoSDomainsRequest -from huaweicloudsdkedgesec.v1.model.delete_edge_d_do_s_domains_response import DeleteEdgeDDoSDomainsResponse -from huaweicloudsdkedgesec.v1.model.delete_edge_waf_domains_request import DeleteEdgeWafDomainsRequest -from huaweicloudsdkedgesec.v1.model.delete_edge_waf_domains_response import DeleteEdgeWafDomainsResponse -from huaweicloudsdkedgesec.v1.model.delete_policy_request import DeletePolicyRequest -from huaweicloudsdkedgesec.v1.model.delete_policy_response import DeletePolicyResponse -from huaweicloudsdkedgesec.v1.model.edge_d_do_s_domain_vo import EdgeDDoSDomainVo -from huaweicloudsdkedgesec.v1.model.edge_sec_product_resource import EdgeSecProductResource -from huaweicloudsdkedgesec.v1.model.flag import Flag -from huaweicloudsdkedgesec.v1.model.list_cdn_domains_request import ListCdnDomainsRequest -from huaweicloudsdkedgesec.v1.model.list_cdn_domains_response import ListCdnDomainsResponse -from huaweicloudsdkedgesec.v1.model.list_certificates_request import ListCertificatesRequest -from huaweicloudsdkedgesec.v1.model.list_certificates_response import ListCertificatesResponse -from huaweicloudsdkedgesec.v1.model.list_edge_d_do_s_domains_request import ListEdgeDDoSDomainsRequest -from huaweicloudsdkedgesec.v1.model.list_edge_d_do_s_domains_response import ListEdgeDDoSDomainsResponse -from huaweicloudsdkedgesec.v1.model.list_edge_sec_subscription_request import ListEdgeSecSubscriptionRequest -from huaweicloudsdkedgesec.v1.model.list_edge_sec_subscription_response import ListEdgeSecSubscriptionResponse -from huaweicloudsdkedgesec.v1.model.list_edge_waf_domains_request import ListEdgeWafDomainsRequest -from huaweicloudsdkedgesec.v1.model.list_edge_waf_domains_response import ListEdgeWafDomainsResponse -from huaweicloudsdkedgesec.v1.model.list_policy_request import ListPolicyRequest -from huaweicloudsdkedgesec.v1.model.list_policy_response import ListPolicyResponse -from huaweicloudsdkedgesec.v1.model.policy_action import PolicyAction -from huaweicloudsdkedgesec.v1.model.policy_option import PolicyOption -from huaweicloudsdkedgesec.v1.model.policy_response import PolicyResponse -from huaweicloudsdkedgesec.v1.model.show_cdn_domain_response_body import ShowCdnDomainResponseBody -from huaweicloudsdkedgesec.v1.model.show_certificate_request import ShowCertificateRequest -from huaweicloudsdkedgesec.v1.model.show_certificate_response import ShowCertificateResponse -from huaweicloudsdkedgesec.v1.model.show_edge_waf_domains_request import ShowEdgeWafDomainsRequest -from huaweicloudsdkedgesec.v1.model.show_edge_waf_domains_response import ShowEdgeWafDomainsResponse -from huaweicloudsdkedgesec.v1.model.show_statistics_event_request import ShowStatisticsEventRequest -from huaweicloudsdkedgesec.v1.model.show_statistics_event_response import ShowStatisticsEventResponse -from huaweicloudsdkedgesec.v1.model.show_statistics_traffic_request import ShowStatisticsTrafficRequest -from huaweicloudsdkedgesec.v1.model.show_statistics_traffic_response import ShowStatisticsTrafficResponse -from huaweicloudsdkedgesec.v1.model.show_waf_domain_response_body import ShowWafDomainResponseBody -from huaweicloudsdkedgesec.v1.model.time_series_data import TimeSeriesData -from huaweicloudsdkedgesec.v1.model.update_certificate_request import UpdateCertificateRequest -from huaweicloudsdkedgesec.v1.model.update_certificate_request_body import UpdateCertificateRequestBody -from huaweicloudsdkedgesec.v1.model.update_certificate_response import UpdateCertificateResponse -from huaweicloudsdkedgesec.v1.model.update_edge_d_do_s_domains_request import UpdateEdgeDDoSDomainsRequest -from huaweicloudsdkedgesec.v1.model.update_edge_d_do_s_domains_request_body import UpdateEdgeDDoSDomainsRequestBody -from huaweicloudsdkedgesec.v1.model.update_edge_d_do_s_domains_response import UpdateEdgeDDoSDomainsResponse -from huaweicloudsdkedgesec.v1.model.update_edge_waf_domains_request import UpdateEdgeWafDomainsRequest -from huaweicloudsdkedgesec.v1.model.update_edge_waf_domains_request_body import UpdateEdgeWafDomainsRequestBody -from huaweicloudsdkedgesec.v1.model.update_edge_waf_domains_response import UpdateEdgeWafDomainsResponse -from huaweicloudsdkedgesec.v1.model.waf_block_page import WafBlockPage -from huaweicloudsdkedgesec.v1.model.waf_custom_page import WafCustomPage -from huaweicloudsdkedgesec.v1.model.waf_policy_action import WafPolicyAction -from huaweicloudsdkedgesec.v1.model.waf_policy_bind_host import WafPolicyBindHost -from huaweicloudsdkedgesec.v1.model.waf_policy_option import WafPolicyOption -from huaweicloudsdkedgesec.v1.model.waf_traffic_mark import WafTrafficMark diff --git a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/apply_waf_policy_request_body.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/apply_waf_policy_request_body.py deleted file mode 100644 index 691a1b3e33..0000000000 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/apply_waf_policy_request_body.py +++ /dev/null @@ -1,143 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ApplyWafPolicyRequestBody: - - """ - 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 = { - 'enterprise_project_id': 'str', - 'hosts': 'list[str]' - } - - attribute_map = { - 'enterprise_project_id': 'enterprise_project_id', - 'hosts': 'hosts' - } - - def __init__(self, enterprise_project_id=None, hosts=None): - """ApplyWafPolicyRequestBody - - The model defined in huaweicloud sdk - - :param enterprise_project_id: 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - :type enterprise_project_id: str - :param hosts: 待关联域名的id - :type hosts: list[str] - """ - - - - self._enterprise_project_id = None - self._hosts = None - self.discriminator = None - - if enterprise_project_id is not None: - self.enterprise_project_id = enterprise_project_id - self.hosts = hosts - - @property - def enterprise_project_id(self): - """Gets the enterprise_project_id of this ApplyWafPolicyRequestBody. - - 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - - :return: The enterprise_project_id of this ApplyWafPolicyRequestBody. - :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 ApplyWafPolicyRequestBody. - - 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - - :param enterprise_project_id: The enterprise_project_id of this ApplyWafPolicyRequestBody. - :type enterprise_project_id: str - """ - self._enterprise_project_id = enterprise_project_id - - @property - def hosts(self): - """Gets the hosts of this ApplyWafPolicyRequestBody. - - 待关联域名的id - - :return: The hosts of this ApplyWafPolicyRequestBody. - :rtype: list[str] - """ - return self._hosts - - @hosts.setter - def hosts(self, hosts): - """Sets the hosts of this ApplyWafPolicyRequestBody. - - 待关联域名的id - - :param hosts: The hosts of this ApplyWafPolicyRequestBody. - :type hosts: list[str] - """ - self._hosts = hosts - - 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, ApplyWafPolicyRequestBody): - 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-edgesec/huaweicloudsdkedgesec/v1/model/apply_waf_policy_response.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/apply_waf_policy_response.py deleted file mode 100644 index 2313ae736c..0000000000 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/apply_waf_policy_response.py +++ /dev/null @@ -1,365 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ApplyWafPolicyResponse(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', - 'action': 'WafPolicyAction', - 'options': 'WafPolicyOption', - 'level': 'int', - 'full_detection': 'bool', - 'robot_action': 'WafPolicyAction', - 'bind_host': 'list[WafPolicyBindHost]', - 'timestamp': 'int', - 'extend': 'dict(str, str)' - } - - attribute_map = { - 'id': 'id', - 'name': 'name', - 'action': 'action', - 'options': 'options', - 'level': 'level', - 'full_detection': 'full_detection', - 'robot_action': 'robot_action', - 'bind_host': 'bind_host', - 'timestamp': 'timestamp', - 'extend': 'extend' - } - - def __init__(self, id=None, name=None, action=None, options=None, level=None, full_detection=None, robot_action=None, bind_host=None, timestamp=None, extend=None): - """ApplyWafPolicyResponse - - The model defined in huaweicloud sdk - - :param id: 防护策略id - :type id: str - :param name: 防护策略名 - :type name: str - :param action: - :type action: :class:`huaweicloudsdkedgesec.v1.WafPolicyAction` - :param options: - :type options: :class:`huaweicloudsdkedgesec.v1.WafPolicyOption` - :param level: 防护等级 - :type level: int - :param full_detection: 精准防护中的检测模式 - :type full_detection: bool - :param robot_action: - :type robot_action: :class:`huaweicloudsdkedgesec.v1.WafPolicyAction` - :param bind_host: 防护域名的信息 - :type bind_host: list[:class:`huaweicloudsdkedgesec.v1.WafPolicyBindHost`] - :param timestamp: 创建防护策略的时间 - :type timestamp: int - :param extend: 扩展字段 - :type extend: dict(str, str) - """ - - super(ApplyWafPolicyResponse, self).__init__() - - self._id = None - self._name = None - self._action = None - self._options = None - self._level = None - self._full_detection = None - self._robot_action = None - self._bind_host = None - self._timestamp = None - self._extend = None - self.discriminator = None - - if id is not None: - self.id = id - if name is not None: - self.name = name - if action is not None: - self.action = action - if options is not None: - self.options = options - if level is not None: - self.level = level - if full_detection is not None: - self.full_detection = full_detection - if robot_action is not None: - self.robot_action = robot_action - if bind_host is not None: - self.bind_host = bind_host - if timestamp is not None: - self.timestamp = timestamp - if extend is not None: - self.extend = extend - - @property - def id(self): - """Gets the id of this ApplyWafPolicyResponse. - - 防护策略id - - :return: The id of this ApplyWafPolicyResponse. - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this ApplyWafPolicyResponse. - - 防护策略id - - :param id: The id of this ApplyWafPolicyResponse. - :type id: str - """ - self._id = id - - @property - def name(self): - """Gets the name of this ApplyWafPolicyResponse. - - 防护策略名 - - :return: The name of this ApplyWafPolicyResponse. - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this ApplyWafPolicyResponse. - - 防护策略名 - - :param name: The name of this ApplyWafPolicyResponse. - :type name: str - """ - self._name = name - - @property - def action(self): - """Gets the action of this ApplyWafPolicyResponse. - - :return: The action of this ApplyWafPolicyResponse. - :rtype: :class:`huaweicloudsdkedgesec.v1.WafPolicyAction` - """ - return self._action - - @action.setter - def action(self, action): - """Sets the action of this ApplyWafPolicyResponse. - - :param action: The action of this ApplyWafPolicyResponse. - :type action: :class:`huaweicloudsdkedgesec.v1.WafPolicyAction` - """ - self._action = action - - @property - def options(self): - """Gets the options of this ApplyWafPolicyResponse. - - :return: The options of this ApplyWafPolicyResponse. - :rtype: :class:`huaweicloudsdkedgesec.v1.WafPolicyOption` - """ - return self._options - - @options.setter - def options(self, options): - """Sets the options of this ApplyWafPolicyResponse. - - :param options: The options of this ApplyWafPolicyResponse. - :type options: :class:`huaweicloudsdkedgesec.v1.WafPolicyOption` - """ - self._options = options - - @property - def level(self): - """Gets the level of this ApplyWafPolicyResponse. - - 防护等级 - - :return: The level of this ApplyWafPolicyResponse. - :rtype: int - """ - return self._level - - @level.setter - def level(self, level): - """Sets the level of this ApplyWafPolicyResponse. - - 防护等级 - - :param level: The level of this ApplyWafPolicyResponse. - :type level: int - """ - self._level = level - - @property - def full_detection(self): - """Gets the full_detection of this ApplyWafPolicyResponse. - - 精准防护中的检测模式 - - :return: The full_detection of this ApplyWafPolicyResponse. - :rtype: bool - """ - return self._full_detection - - @full_detection.setter - def full_detection(self, full_detection): - """Sets the full_detection of this ApplyWafPolicyResponse. - - 精准防护中的检测模式 - - :param full_detection: The full_detection of this ApplyWafPolicyResponse. - :type full_detection: bool - """ - self._full_detection = full_detection - - @property - def robot_action(self): - """Gets the robot_action of this ApplyWafPolicyResponse. - - :return: The robot_action of this ApplyWafPolicyResponse. - :rtype: :class:`huaweicloudsdkedgesec.v1.WafPolicyAction` - """ - return self._robot_action - - @robot_action.setter - def robot_action(self, robot_action): - """Sets the robot_action of this ApplyWafPolicyResponse. - - :param robot_action: The robot_action of this ApplyWafPolicyResponse. - :type robot_action: :class:`huaweicloudsdkedgesec.v1.WafPolicyAction` - """ - self._robot_action = robot_action - - @property - def bind_host(self): - """Gets the bind_host of this ApplyWafPolicyResponse. - - 防护域名的信息 - - :return: The bind_host of this ApplyWafPolicyResponse. - :rtype: list[:class:`huaweicloudsdkedgesec.v1.WafPolicyBindHost`] - """ - return self._bind_host - - @bind_host.setter - def bind_host(self, bind_host): - """Sets the bind_host of this ApplyWafPolicyResponse. - - 防护域名的信息 - - :param bind_host: The bind_host of this ApplyWafPolicyResponse. - :type bind_host: list[:class:`huaweicloudsdkedgesec.v1.WafPolicyBindHost`] - """ - self._bind_host = bind_host - - @property - def timestamp(self): - """Gets the timestamp of this ApplyWafPolicyResponse. - - 创建防护策略的时间 - - :return: The timestamp of this ApplyWafPolicyResponse. - :rtype: int - """ - return self._timestamp - - @timestamp.setter - def timestamp(self, timestamp): - """Sets the timestamp of this ApplyWafPolicyResponse. - - 创建防护策略的时间 - - :param timestamp: The timestamp of this ApplyWafPolicyResponse. - :type timestamp: int - """ - self._timestamp = timestamp - - @property - def extend(self): - """Gets the extend of this ApplyWafPolicyResponse. - - 扩展字段 - - :return: The extend of this ApplyWafPolicyResponse. - :rtype: dict(str, str) - """ - return self._extend - - @extend.setter - def extend(self, extend): - """Sets the extend of this ApplyWafPolicyResponse. - - 扩展字段 - - :param extend: The extend of this ApplyWafPolicyResponse. - :type extend: dict(str, str) - """ - self._extend = extend - - 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, ApplyWafPolicyResponse): - 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-edgesec/huaweicloudsdkedgesec/v1/model/bind_host.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/bind_host.py deleted file mode 100644 index 9d11ef639f..0000000000 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/bind_host.py +++ /dev/null @@ -1,144 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class BindHost: - - """ - 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', - 'hostname': 'str' - } - - attribute_map = { - 'id': 'id', - 'hostname': 'hostname' - } - - def __init__(self, id=None, hostname=None): - """BindHost - - The model defined in huaweicloud sdk - - :param id: 域名ID - :type id: str - :param hostname: 域名 - :type hostname: str - """ - - - - self._id = None - self._hostname = None - self.discriminator = None - - if id is not None: - self.id = id - if hostname is not None: - self.hostname = hostname - - @property - def id(self): - """Gets the id of this BindHost. - - 域名ID - - :return: The id of this BindHost. - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this BindHost. - - 域名ID - - :param id: The id of this BindHost. - :type id: str - """ - self._id = id - - @property - def hostname(self): - """Gets the hostname of this BindHost. - - 域名 - - :return: The hostname of this BindHost. - :rtype: str - """ - return self._hostname - - @hostname.setter - def hostname(self, hostname): - """Sets the hostname of this BindHost. - - 域名 - - :param hostname: The hostname of this BindHost. - :type hostname: str - """ - self._hostname = hostname - - 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, BindHost): - 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-edgesec/huaweicloudsdkedgesec/v1/model/certificate_body.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/certificate_body.py deleted file mode 100644 index 0663194f0e..0000000000 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/certificate_body.py +++ /dev/null @@ -1,257 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class CertificateBody: - - """ - 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', - 'expire_time': 'int', - 'exp_status': 'int', - 'timestamp': 'int', - 'bind_host': 'list[BindHost]' - } - - attribute_map = { - 'id': 'id', - 'name': 'name', - 'expire_time': 'expire_time', - 'exp_status': 'exp_status', - 'timestamp': 'timestamp', - 'bind_host': 'bind_host' - } - - def __init__(self, id=None, name=None, expire_time=None, exp_status=None, timestamp=None, bind_host=None): - """CertificateBody - - The model defined in huaweicloud sdk - - :param id: 证书id - :type id: str - :param name: 证书名 - :type name: str - :param expire_time: 证书过期时间戳 - :type expire_time: int - :param exp_status: 证书过期状态,0-未过期,1-已过期,2-即将过期(一个月内即将过期) - :type exp_status: int - :param timestamp: 证书上传时间戳 - :type timestamp: int - :param bind_host: 证书关联的域名信息 - :type bind_host: list[:class:`huaweicloudsdkedgesec.v1.BindHost`] - """ - - - - self._id = None - self._name = None - self._expire_time = None - self._exp_status = None - self._timestamp = None - self._bind_host = None - self.discriminator = None - - self.id = id - self.name = name - if expire_time is not None: - self.expire_time = expire_time - if exp_status is not None: - self.exp_status = exp_status - self.timestamp = timestamp - if bind_host is not None: - self.bind_host = bind_host - - @property - def id(self): - """Gets the id of this CertificateBody. - - 证书id - - :return: The id of this CertificateBody. - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this CertificateBody. - - 证书id - - :param id: The id of this CertificateBody. - :type id: str - """ - self._id = id - - @property - def name(self): - """Gets the name of this CertificateBody. - - 证书名 - - :return: The name of this CertificateBody. - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this CertificateBody. - - 证书名 - - :param name: The name of this CertificateBody. - :type name: str - """ - self._name = name - - @property - def expire_time(self): - """Gets the expire_time of this CertificateBody. - - 证书过期时间戳 - - :return: The expire_time of this CertificateBody. - :rtype: int - """ - return self._expire_time - - @expire_time.setter - def expire_time(self, expire_time): - """Sets the expire_time of this CertificateBody. - - 证书过期时间戳 - - :param expire_time: The expire_time of this CertificateBody. - :type expire_time: int - """ - self._expire_time = expire_time - - @property - def exp_status(self): - """Gets the exp_status of this CertificateBody. - - 证书过期状态,0-未过期,1-已过期,2-即将过期(一个月内即将过期) - - :return: The exp_status of this CertificateBody. - :rtype: int - """ - return self._exp_status - - @exp_status.setter - def exp_status(self, exp_status): - """Sets the exp_status of this CertificateBody. - - 证书过期状态,0-未过期,1-已过期,2-即将过期(一个月内即将过期) - - :param exp_status: The exp_status of this CertificateBody. - :type exp_status: int - """ - self._exp_status = exp_status - - @property - def timestamp(self): - """Gets the timestamp of this CertificateBody. - - 证书上传时间戳 - - :return: The timestamp of this CertificateBody. - :rtype: int - """ - return self._timestamp - - @timestamp.setter - def timestamp(self, timestamp): - """Sets the timestamp of this CertificateBody. - - 证书上传时间戳 - - :param timestamp: The timestamp of this CertificateBody. - :type timestamp: int - """ - self._timestamp = timestamp - - @property - def bind_host(self): - """Gets the bind_host of this CertificateBody. - - 证书关联的域名信息 - - :return: The bind_host of this CertificateBody. - :rtype: list[:class:`huaweicloudsdkedgesec.v1.BindHost`] - """ - return self._bind_host - - @bind_host.setter - def bind_host(self, bind_host): - """Sets the bind_host of this CertificateBody. - - 证书关联的域名信息 - - :param bind_host: The bind_host of this CertificateBody. - :type bind_host: list[:class:`huaweicloudsdkedgesec.v1.BindHost`] - """ - self._bind_host = bind_host - - 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, CertificateBody): - 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-edgesec/huaweicloudsdkedgesec/v1/model/create_certificate_request.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/create_certificate_request.py deleted file mode 100644 index cde90bdf77..0000000000 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/create_certificate_request.py +++ /dev/null @@ -1,168 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class CreateCertificateRequest: - - """ - 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', - 'enterprise_project_id': 'str', - 'body': 'CreateCertificateRequestBody' - } - - attribute_map = { - 'project_id': 'project_id', - 'enterprise_project_id': 'enterprise_project_id', - 'body': 'body' - } - - def __init__(self, project_id=None, enterprise_project_id=None, body=None): - """CreateCertificateRequest - - The model defined in huaweicloud sdk - - :param project_id: 项目ID,对应华为云控制台用户名->我的凭证->项目列表->项目ID - :type project_id: str - :param enterprise_project_id: 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - :type enterprise_project_id: str - :param body: Body of the CreateCertificateRequest - :type body: :class:`huaweicloudsdkedgesec.v1.CreateCertificateRequestBody` - """ - - - - self._project_id = None - self._enterprise_project_id = None - self._body = None - self.discriminator = None - - self.project_id = project_id - if enterprise_project_id is not None: - self.enterprise_project_id = enterprise_project_id - if body is not None: - self.body = body - - @property - def project_id(self): - """Gets the project_id of this CreateCertificateRequest. - - 项目ID,对应华为云控制台用户名->我的凭证->项目列表->项目ID - - :return: The project_id of this CreateCertificateRequest. - :rtype: str - """ - return self._project_id - - @project_id.setter - def project_id(self, project_id): - """Sets the project_id of this CreateCertificateRequest. - - 项目ID,对应华为云控制台用户名->我的凭证->项目列表->项目ID - - :param project_id: The project_id of this CreateCertificateRequest. - :type project_id: str - """ - self._project_id = project_id - - @property - def enterprise_project_id(self): - """Gets the enterprise_project_id of this CreateCertificateRequest. - - 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - - :return: The enterprise_project_id of this CreateCertificateRequest. - :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 CreateCertificateRequest. - - 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - - :param enterprise_project_id: The enterprise_project_id of this CreateCertificateRequest. - :type enterprise_project_id: str - """ - self._enterprise_project_id = enterprise_project_id - - @property - def body(self): - """Gets the body of this CreateCertificateRequest. - - :return: The body of this CreateCertificateRequest. - :rtype: :class:`huaweicloudsdkedgesec.v1.CreateCertificateRequestBody` - """ - return self._body - - @body.setter - def body(self, body): - """Sets the body of this CreateCertificateRequest. - - :param body: The body of this CreateCertificateRequest. - :type body: :class:`huaweicloudsdkedgesec.v1.CreateCertificateRequestBody` - """ - 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, CreateCertificateRequest): - 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-edgesec/huaweicloudsdkedgesec/v1/model/create_certificate_request_body.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/create_certificate_request_body.py deleted file mode 100644 index fcc9a3fe93..0000000000 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/create_certificate_request_body.py +++ /dev/null @@ -1,170 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class CreateCertificateRequestBody: - - """ - 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', - 'content': 'str', - 'key': 'str' - } - - attribute_map = { - 'name': 'name', - 'content': 'content', - 'key': 'key' - } - - def __init__(self, name=None, content=None, key=None): - """CreateCertificateRequestBody - - The model defined in huaweicloud sdk - - :param name: 证书名称,证书名称只能由数字、字母、中划线、下划线和英文句点组成,长度不能超过64位字符 - :type name: str - :param content: 证书文件,仅支持PEM格式的证书和私钥文件,且文件中的换行符应以\\n替换,如请求示例所示 - :type content: str - :param key: 证书私钥,仅支持PEM格式的证书和私钥文件,且文件中的换行符应以\\n替换,如请求示例所示 - :type key: str - """ - - - - self._name = None - self._content = None - self._key = None - self.discriminator = None - - self.name = name - self.content = content - self.key = key - - @property - def name(self): - """Gets the name of this CreateCertificateRequestBody. - - 证书名称,证书名称只能由数字、字母、中划线、下划线和英文句点组成,长度不能超过64位字符 - - :return: The name of this CreateCertificateRequestBody. - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this CreateCertificateRequestBody. - - 证书名称,证书名称只能由数字、字母、中划线、下划线和英文句点组成,长度不能超过64位字符 - - :param name: The name of this CreateCertificateRequestBody. - :type name: str - """ - self._name = name - - @property - def content(self): - """Gets the content of this CreateCertificateRequestBody. - - 证书文件,仅支持PEM格式的证书和私钥文件,且文件中的换行符应以\\n替换,如请求示例所示 - - :return: The content of this CreateCertificateRequestBody. - :rtype: str - """ - return self._content - - @content.setter - def content(self, content): - """Sets the content of this CreateCertificateRequestBody. - - 证书文件,仅支持PEM格式的证书和私钥文件,且文件中的换行符应以\\n替换,如请求示例所示 - - :param content: The content of this CreateCertificateRequestBody. - :type content: str - """ - self._content = content - - @property - def key(self): - """Gets the key of this CreateCertificateRequestBody. - - 证书私钥,仅支持PEM格式的证书和私钥文件,且文件中的换行符应以\\n替换,如请求示例所示 - - :return: The key of this CreateCertificateRequestBody. - :rtype: str - """ - return self._key - - @key.setter - def key(self, key): - """Sets the key of this CreateCertificateRequestBody. - - 证书私钥,仅支持PEM格式的证书和私钥文件,且文件中的换行符应以\\n替换,如请求示例所示 - - :param key: The key of this CreateCertificateRequestBody. - :type key: str - """ - self._key = key - - 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, CreateCertificateRequestBody): - 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-edgesec/huaweicloudsdkedgesec/v1/model/create_certificate_response.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/create_certificate_response.py deleted file mode 100644 index 4e9ddb74fd..0000000000 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/create_certificate_response.py +++ /dev/null @@ -1,319 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class CreateCertificateResponse(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', - 'content': 'str', - 'key': 'str', - 'expire_time': 'int', - 'exp_status': 'int', - 'timestamp': 'int', - 'bind_host': 'list[BindHost]' - } - - attribute_map = { - 'id': 'id', - 'name': 'name', - 'content': 'content', - 'key': 'key', - 'expire_time': 'expire_time', - 'exp_status': 'exp_status', - 'timestamp': 'timestamp', - 'bind_host': 'bind_host' - } - - def __init__(self, id=None, name=None, content=None, key=None, expire_time=None, exp_status=None, timestamp=None, bind_host=None): - """CreateCertificateResponse - - The model defined in huaweicloud sdk - - :param id: 证书ID - :type id: str - :param name: 证书名 - :type name: str - :param content: 证书文件,PEM编码 - :type content: str - :param key: 证书私钥,PEM编码 - :type key: str - :param expire_time: 证书过期时间戳 - :type expire_time: int - :param exp_status: 证书过期状态,0-未过期,1-已过期,2-即将过期 - :type exp_status: int - :param timestamp: 证书上传时间戳 - :type timestamp: int - :param bind_host: 证书关联的域名信息 - :type bind_host: list[:class:`huaweicloudsdkedgesec.v1.BindHost`] - """ - - super(CreateCertificateResponse, self).__init__() - - self._id = None - self._name = None - self._content = None - self._key = None - self._expire_time = None - self._exp_status = None - self._timestamp = None - self._bind_host = None - self.discriminator = None - - if id is not None: - self.id = id - if name is not None: - self.name = name - if content is not None: - self.content = content - if key is not None: - self.key = key - if expire_time is not None: - self.expire_time = expire_time - if exp_status is not None: - self.exp_status = exp_status - if timestamp is not None: - self.timestamp = timestamp - if bind_host is not None: - self.bind_host = bind_host - - @property - def id(self): - """Gets the id of this CreateCertificateResponse. - - 证书ID - - :return: The id of this CreateCertificateResponse. - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this CreateCertificateResponse. - - 证书ID - - :param id: The id of this CreateCertificateResponse. - :type id: str - """ - self._id = id - - @property - def name(self): - """Gets the name of this CreateCertificateResponse. - - 证书名 - - :return: The name of this CreateCertificateResponse. - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this CreateCertificateResponse. - - 证书名 - - :param name: The name of this CreateCertificateResponse. - :type name: str - """ - self._name = name - - @property - def content(self): - """Gets the content of this CreateCertificateResponse. - - 证书文件,PEM编码 - - :return: The content of this CreateCertificateResponse. - :rtype: str - """ - return self._content - - @content.setter - def content(self, content): - """Sets the content of this CreateCertificateResponse. - - 证书文件,PEM编码 - - :param content: The content of this CreateCertificateResponse. - :type content: str - """ - self._content = content - - @property - def key(self): - """Gets the key of this CreateCertificateResponse. - - 证书私钥,PEM编码 - - :return: The key of this CreateCertificateResponse. - :rtype: str - """ - return self._key - - @key.setter - def key(self, key): - """Sets the key of this CreateCertificateResponse. - - 证书私钥,PEM编码 - - :param key: The key of this CreateCertificateResponse. - :type key: str - """ - self._key = key - - @property - def expire_time(self): - """Gets the expire_time of this CreateCertificateResponse. - - 证书过期时间戳 - - :return: The expire_time of this CreateCertificateResponse. - :rtype: int - """ - return self._expire_time - - @expire_time.setter - def expire_time(self, expire_time): - """Sets the expire_time of this CreateCertificateResponse. - - 证书过期时间戳 - - :param expire_time: The expire_time of this CreateCertificateResponse. - :type expire_time: int - """ - self._expire_time = expire_time - - @property - def exp_status(self): - """Gets the exp_status of this CreateCertificateResponse. - - 证书过期状态,0-未过期,1-已过期,2-即将过期 - - :return: The exp_status of this CreateCertificateResponse. - :rtype: int - """ - return self._exp_status - - @exp_status.setter - def exp_status(self, exp_status): - """Sets the exp_status of this CreateCertificateResponse. - - 证书过期状态,0-未过期,1-已过期,2-即将过期 - - :param exp_status: The exp_status of this CreateCertificateResponse. - :type exp_status: int - """ - self._exp_status = exp_status - - @property - def timestamp(self): - """Gets the timestamp of this CreateCertificateResponse. - - 证书上传时间戳 - - :return: The timestamp of this CreateCertificateResponse. - :rtype: int - """ - return self._timestamp - - @timestamp.setter - def timestamp(self, timestamp): - """Sets the timestamp of this CreateCertificateResponse. - - 证书上传时间戳 - - :param timestamp: The timestamp of this CreateCertificateResponse. - :type timestamp: int - """ - self._timestamp = timestamp - - @property - def bind_host(self): - """Gets the bind_host of this CreateCertificateResponse. - - 证书关联的域名信息 - - :return: The bind_host of this CreateCertificateResponse. - :rtype: list[:class:`huaweicloudsdkedgesec.v1.BindHost`] - """ - return self._bind_host - - @bind_host.setter - def bind_host(self, bind_host): - """Sets the bind_host of this CreateCertificateResponse. - - 证书关联的域名信息 - - :param bind_host: The bind_host of this CreateCertificateResponse. - :type bind_host: list[:class:`huaweicloudsdkedgesec.v1.BindHost`] - """ - self._bind_host = bind_host - - 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, CreateCertificateResponse): - 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-edgesec/huaweicloudsdkedgesec/v1/model/create_edge_waf_domains_request_body.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/create_edge_waf_domains_request_body.py deleted file mode 100644 index 4878fd15a2..0000000000 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/create_edge_waf_domains_request_body.py +++ /dev/null @@ -1,287 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class CreateEdgeWafDomainsRequestBody: - - """ - 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 = { - 'domain_name': 'str', - 'enterprise_project_id': 'str', - 'policy_id': 'str', - 'certificate_id': 'str', - 'web_tag': 'str', - 'description': 'str', - 'area_type': 'str' - } - - attribute_map = { - 'domain_name': 'domain_name', - 'enterprise_project_id': 'enterprise_project_id', - 'policy_id': 'policy_id', - 'certificate_id': 'certificate_id', - 'web_tag': 'web_tag', - 'description': 'description', - 'area_type': 'area_type' - } - - def __init__(self, domain_name=None, enterprise_project_id=None, policy_id=None, certificate_id=None, web_tag=None, description=None, area_type=None): - """CreateEdgeWafDomainsRequestBody - - The model defined in huaweicloud sdk - - :param domain_name: 防护域名(可带端口),通过查询CDN域名接口获取 - :type domain_name: str - :param enterprise_project_id: 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - :type enterprise_project_id: str - :param policy_id: 防护域名关联的策略id,通过查询WAF防护策略接口获取 - :type policy_id: str - :param certificate_id: 证书id,通过查询证书列表接口(ListCertificates)接口获取证书id - 对外协议为HTTP时不需要填写 - 对外协议HTTPS时为必填参数 - 查询证书列表接口未开放时,从边缘安全控制台->边缘WAF->证书管理获取 - :type certificate_id: str - :param web_tag: 域名名称 - :type web_tag: str - :param description: 域名描述 - :type description: str - :param area_type: 域名在CDN所属区域,通过查询CDN域名接口获取 - :type area_type: str - """ - - - - self._domain_name = None - self._enterprise_project_id = None - self._policy_id = None - self._certificate_id = None - self._web_tag = None - self._description = None - self._area_type = None - self.discriminator = None - - self.domain_name = domain_name - if enterprise_project_id is not None: - self.enterprise_project_id = enterprise_project_id - if policy_id is not None: - self.policy_id = policy_id - if certificate_id is not None: - self.certificate_id = certificate_id - if web_tag is not None: - self.web_tag = web_tag - if description is not None: - self.description = description - self.area_type = area_type - - @property - def domain_name(self): - """Gets the domain_name of this CreateEdgeWafDomainsRequestBody. - - 防护域名(可带端口),通过查询CDN域名接口获取 - - :return: The domain_name of this CreateEdgeWafDomainsRequestBody. - :rtype: str - """ - return self._domain_name - - @domain_name.setter - def domain_name(self, domain_name): - """Sets the domain_name of this CreateEdgeWafDomainsRequestBody. - - 防护域名(可带端口),通过查询CDN域名接口获取 - - :param domain_name: The domain_name of this CreateEdgeWafDomainsRequestBody. - :type domain_name: str - """ - self._domain_name = domain_name - - @property - def enterprise_project_id(self): - """Gets the enterprise_project_id of this CreateEdgeWafDomainsRequestBody. - - 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - - :return: The enterprise_project_id of this CreateEdgeWafDomainsRequestBody. - :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 CreateEdgeWafDomainsRequestBody. - - 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - - :param enterprise_project_id: The enterprise_project_id of this CreateEdgeWafDomainsRequestBody. - :type enterprise_project_id: str - """ - self._enterprise_project_id = enterprise_project_id - - @property - def policy_id(self): - """Gets the policy_id of this CreateEdgeWafDomainsRequestBody. - - 防护域名关联的策略id,通过查询WAF防护策略接口获取 - - :return: The policy_id of this CreateEdgeWafDomainsRequestBody. - :rtype: str - """ - return self._policy_id - - @policy_id.setter - def policy_id(self, policy_id): - """Sets the policy_id of this CreateEdgeWafDomainsRequestBody. - - 防护域名关联的策略id,通过查询WAF防护策略接口获取 - - :param policy_id: The policy_id of this CreateEdgeWafDomainsRequestBody. - :type policy_id: str - """ - self._policy_id = policy_id - - @property - def certificate_id(self): - """Gets the certificate_id of this CreateEdgeWafDomainsRequestBody. - - 证书id,通过查询证书列表接口(ListCertificates)接口获取证书id - 对外协议为HTTP时不需要填写 - 对外协议HTTPS时为必填参数 - 查询证书列表接口未开放时,从边缘安全控制台->边缘WAF->证书管理获取 - - :return: The certificate_id of this CreateEdgeWafDomainsRequestBody. - :rtype: str - """ - return self._certificate_id - - @certificate_id.setter - def certificate_id(self, certificate_id): - """Sets the certificate_id of this CreateEdgeWafDomainsRequestBody. - - 证书id,通过查询证书列表接口(ListCertificates)接口获取证书id - 对外协议为HTTP时不需要填写 - 对外协议HTTPS时为必填参数 - 查询证书列表接口未开放时,从边缘安全控制台->边缘WAF->证书管理获取 - - :param certificate_id: The certificate_id of this CreateEdgeWafDomainsRequestBody. - :type certificate_id: str - """ - self._certificate_id = certificate_id - - @property - def web_tag(self): - """Gets the web_tag of this CreateEdgeWafDomainsRequestBody. - - 域名名称 - - :return: The web_tag of this CreateEdgeWafDomainsRequestBody. - :rtype: str - """ - return self._web_tag - - @web_tag.setter - def web_tag(self, web_tag): - """Sets the web_tag of this CreateEdgeWafDomainsRequestBody. - - 域名名称 - - :param web_tag: The web_tag of this CreateEdgeWafDomainsRequestBody. - :type web_tag: str - """ - self._web_tag = web_tag - - @property - def description(self): - """Gets the description of this CreateEdgeWafDomainsRequestBody. - - 域名描述 - - :return: The description of this CreateEdgeWafDomainsRequestBody. - :rtype: str - """ - return self._description - - @description.setter - def description(self, description): - """Sets the description of this CreateEdgeWafDomainsRequestBody. - - 域名描述 - - :param description: The description of this CreateEdgeWafDomainsRequestBody. - :type description: str - """ - self._description = description - - @property - def area_type(self): - """Gets the area_type of this CreateEdgeWafDomainsRequestBody. - - 域名在CDN所属区域,通过查询CDN域名接口获取 - - :return: The area_type of this CreateEdgeWafDomainsRequestBody. - :rtype: str - """ - return self._area_type - - @area_type.setter - def area_type(self, area_type): - """Sets the area_type of this CreateEdgeWafDomainsRequestBody. - - 域名在CDN所属区域,通过查询CDN域名接口获取 - - :param area_type: The area_type of this CreateEdgeWafDomainsRequestBody. - :type area_type: str - """ - self._area_type = area_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, CreateEdgeWafDomainsRequestBody): - 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-edgesec/huaweicloudsdkedgesec/v1/model/create_policy_request.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/create_policy_request.py deleted file mode 100644 index 9b968a62fd..0000000000 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/create_policy_request.py +++ /dev/null @@ -1,168 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class CreatePolicyRequest: - - """ - 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', - 'enterprise_project_id': 'str', - 'body': 'CreatePolicyRequestBody' - } - - attribute_map = { - 'project_id': 'project_id', - 'enterprise_project_id': 'enterprise_project_id', - 'body': 'body' - } - - def __init__(self, project_id=None, enterprise_project_id=None, body=None): - """CreatePolicyRequest - - The model defined in huaweicloud sdk - - :param project_id: 项目ID,对应华为云控制台用户名->我的凭证->项目列表->项目ID - :type project_id: str - :param enterprise_project_id: 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - :type enterprise_project_id: str - :param body: Body of the CreatePolicyRequest - :type body: :class:`huaweicloudsdkedgesec.v1.CreatePolicyRequestBody` - """ - - - - self._project_id = None - self._enterprise_project_id = None - self._body = None - self.discriminator = None - - self.project_id = project_id - if enterprise_project_id is not None: - self.enterprise_project_id = enterprise_project_id - if body is not None: - self.body = body - - @property - def project_id(self): - """Gets the project_id of this CreatePolicyRequest. - - 项目ID,对应华为云控制台用户名->我的凭证->项目列表->项目ID - - :return: The project_id of this CreatePolicyRequest. - :rtype: str - """ - return self._project_id - - @project_id.setter - def project_id(self, project_id): - """Sets the project_id of this CreatePolicyRequest. - - 项目ID,对应华为云控制台用户名->我的凭证->项目列表->项目ID - - :param project_id: The project_id of this CreatePolicyRequest. - :type project_id: str - """ - self._project_id = project_id - - @property - def enterprise_project_id(self): - """Gets the enterprise_project_id of this CreatePolicyRequest. - - 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - - :return: The enterprise_project_id of this CreatePolicyRequest. - :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 CreatePolicyRequest. - - 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - - :param enterprise_project_id: The enterprise_project_id of this CreatePolicyRequest. - :type enterprise_project_id: str - """ - self._enterprise_project_id = enterprise_project_id - - @property - def body(self): - """Gets the body of this CreatePolicyRequest. - - :return: The body of this CreatePolicyRequest. - :rtype: :class:`huaweicloudsdkedgesec.v1.CreatePolicyRequestBody` - """ - return self._body - - @body.setter - def body(self, body): - """Sets the body of this CreatePolicyRequest. - - :param body: The body of this CreatePolicyRequest. - :type body: :class:`huaweicloudsdkedgesec.v1.CreatePolicyRequestBody` - """ - 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, CreatePolicyRequest): - 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-edgesec/huaweicloudsdkedgesec/v1/model/create_policy_response.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/create_policy_response.py deleted file mode 100644 index 951505aed5..0000000000 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/create_policy_response.py +++ /dev/null @@ -1,423 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class CreatePolicyResponse(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', - 'level': 'int', - 'full_detection': 'bool', - 'robot_action': 'Action', - 'action': 'PolicyAction', - 'options': 'PolicyOption', - 'modulex_options': 'dict(str, object)', - 'hosts': 'list[str]', - 'bind_host': 'list[BindHost]', - 'extend': 'dict(str, str)', - 'timestamp': 'int' - } - - attribute_map = { - 'id': 'id', - 'name': 'name', - 'level': 'level', - 'full_detection': 'full_detection', - 'robot_action': 'robot_action', - 'action': 'action', - 'options': 'options', - 'modulex_options': 'modulex_options', - 'hosts': 'hosts', - 'bind_host': 'bind_host', - 'extend': 'extend', - 'timestamp': 'timestamp' - } - - def __init__(self, id=None, name=None, level=None, full_detection=None, robot_action=None, action=None, options=None, modulex_options=None, hosts=None, bind_host=None, extend=None, timestamp=None): - """CreatePolicyResponse - - The model defined in huaweicloud sdk - - :param id: 防护策略id - :type id: str - :param name: 防护策略名 - :type name: str - :param level: Web基础防护等级 - 1 : 宽松,防护粒度较粗,只拦截攻击特征比较明显的请求。当误报情况较多的场景下,建议选择“宽松”模式。 - 2:中等,默认为“中等”防护模式,满足大多数场景下的Web防护需求。 - 3:严格,防护粒度最精细,可以拦截具有复杂的绕过特征的攻击请求,例如jolokia网络攻击、探测CGI漏洞、探测 Druid SQL注入攻击 - :type level: int - :param full_detection: 精准防护中的检测模式。 - false:短路检测,当用户的请求符合精准防护中的拦截条件时,便立刻终止检测,进行拦截 - true :全检测,请求符合精准防护中的拦截条件时,全检测不会立即拦截,会继续执行其他防护的检测,最后进行拦截。 - :type full_detection: bool - :param robot_action: - :type robot_action: :class:`huaweicloudsdkedgesec.v1.Action` - :param action: - :type action: :class:`huaweicloudsdkedgesec.v1.PolicyAction` - :param options: - :type options: :class:`huaweicloudsdkedgesec.v1.PolicyOption` - :param modulex_options: 智能访问控制防护项相关配置信息,目前该特性还处于公测阶段,只有部分局点支持该特性 - :type modulex_options: dict(str, object) - :param hosts: 与防护策略绑定的防护的域名id数组 - :type hosts: list[str] - :param bind_host: 与防护策略绑定的防护的域名信息数组,相对于hosts字段,包含更详细的域名信息 - :type bind_host: list[:class:`huaweicloudsdkedgesec.v1.BindHost`] - :param extend: 扩展字段,用于存放Web基础防护中一些开关配置等信息 - :type extend: dict(str, str) - :param timestamp: 创建防护策略的时间 - :type timestamp: int - """ - - super(CreatePolicyResponse, self).__init__() - - self._id = None - self._name = None - self._level = None - self._full_detection = None - self._robot_action = None - self._action = None - self._options = None - self._modulex_options = None - self._hosts = None - self._bind_host = None - self._extend = None - self._timestamp = None - self.discriminator = None - - if id is not None: - self.id = id - if name is not None: - self.name = name - if level is not None: - self.level = level - if full_detection is not None: - self.full_detection = full_detection - if robot_action is not None: - self.robot_action = robot_action - if action is not None: - self.action = action - if options is not None: - self.options = options - if modulex_options is not None: - self.modulex_options = modulex_options - if hosts is not None: - self.hosts = hosts - if bind_host is not None: - self.bind_host = bind_host - if extend is not None: - self.extend = extend - if timestamp is not None: - self.timestamp = timestamp - - @property - def id(self): - """Gets the id of this CreatePolicyResponse. - - 防护策略id - - :return: The id of this CreatePolicyResponse. - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this CreatePolicyResponse. - - 防护策略id - - :param id: The id of this CreatePolicyResponse. - :type id: str - """ - self._id = id - - @property - def name(self): - """Gets the name of this CreatePolicyResponse. - - 防护策略名 - - :return: The name of this CreatePolicyResponse. - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this CreatePolicyResponse. - - 防护策略名 - - :param name: The name of this CreatePolicyResponse. - :type name: str - """ - self._name = name - - @property - def level(self): - """Gets the level of this CreatePolicyResponse. - - Web基础防护等级 - 1 : 宽松,防护粒度较粗,只拦截攻击特征比较明显的请求。当误报情况较多的场景下,建议选择“宽松”模式。 - 2:中等,默认为“中等”防护模式,满足大多数场景下的Web防护需求。 - 3:严格,防护粒度最精细,可以拦截具有复杂的绕过特征的攻击请求,例如jolokia网络攻击、探测CGI漏洞、探测 Druid SQL注入攻击 - - :return: The level of this CreatePolicyResponse. - :rtype: int - """ - return self._level - - @level.setter - def level(self, level): - """Sets the level of this CreatePolicyResponse. - - Web基础防护等级 - 1 : 宽松,防护粒度较粗,只拦截攻击特征比较明显的请求。当误报情况较多的场景下,建议选择“宽松”模式。 - 2:中等,默认为“中等”防护模式,满足大多数场景下的Web防护需求。 - 3:严格,防护粒度最精细,可以拦截具有复杂的绕过特征的攻击请求,例如jolokia网络攻击、探测CGI漏洞、探测 Druid SQL注入攻击 - - :param level: The level of this CreatePolicyResponse. - :type level: int - """ - self._level = level - - @property - def full_detection(self): - """Gets the full_detection of this CreatePolicyResponse. - - 精准防护中的检测模式。 - false:短路检测,当用户的请求符合精准防护中的拦截条件时,便立刻终止检测,进行拦截 - true :全检测,请求符合精准防护中的拦截条件时,全检测不会立即拦截,会继续执行其他防护的检测,最后进行拦截。 - - :return: The full_detection of this CreatePolicyResponse. - :rtype: bool - """ - return self._full_detection - - @full_detection.setter - def full_detection(self, full_detection): - """Sets the full_detection of this CreatePolicyResponse. - - 精准防护中的检测模式。 - false:短路检测,当用户的请求符合精准防护中的拦截条件时,便立刻终止检测,进行拦截 - true :全检测,请求符合精准防护中的拦截条件时,全检测不会立即拦截,会继续执行其他防护的检测,最后进行拦截。 - - :param full_detection: The full_detection of this CreatePolicyResponse. - :type full_detection: bool - """ - self._full_detection = full_detection - - @property - def robot_action(self): - """Gets the robot_action of this CreatePolicyResponse. - - :return: The robot_action of this CreatePolicyResponse. - :rtype: :class:`huaweicloudsdkedgesec.v1.Action` - """ - return self._robot_action - - @robot_action.setter - def robot_action(self, robot_action): - """Sets the robot_action of this CreatePolicyResponse. - - :param robot_action: The robot_action of this CreatePolicyResponse. - :type robot_action: :class:`huaweicloudsdkedgesec.v1.Action` - """ - self._robot_action = robot_action - - @property - def action(self): - """Gets the action of this CreatePolicyResponse. - - :return: The action of this CreatePolicyResponse. - :rtype: :class:`huaweicloudsdkedgesec.v1.PolicyAction` - """ - return self._action - - @action.setter - def action(self, action): - """Sets the action of this CreatePolicyResponse. - - :param action: The action of this CreatePolicyResponse. - :type action: :class:`huaweicloudsdkedgesec.v1.PolicyAction` - """ - self._action = action - - @property - def options(self): - """Gets the options of this CreatePolicyResponse. - - :return: The options of this CreatePolicyResponse. - :rtype: :class:`huaweicloudsdkedgesec.v1.PolicyOption` - """ - return self._options - - @options.setter - def options(self, options): - """Sets the options of this CreatePolicyResponse. - - :param options: The options of this CreatePolicyResponse. - :type options: :class:`huaweicloudsdkedgesec.v1.PolicyOption` - """ - self._options = options - - @property - def modulex_options(self): - """Gets the modulex_options of this CreatePolicyResponse. - - 智能访问控制防护项相关配置信息,目前该特性还处于公测阶段,只有部分局点支持该特性 - - :return: The modulex_options of this CreatePolicyResponse. - :rtype: dict(str, object) - """ - return self._modulex_options - - @modulex_options.setter - def modulex_options(self, modulex_options): - """Sets the modulex_options of this CreatePolicyResponse. - - 智能访问控制防护项相关配置信息,目前该特性还处于公测阶段,只有部分局点支持该特性 - - :param modulex_options: The modulex_options of this CreatePolicyResponse. - :type modulex_options: dict(str, object) - """ - self._modulex_options = modulex_options - - @property - def hosts(self): - """Gets the hosts of this CreatePolicyResponse. - - 与防护策略绑定的防护的域名id数组 - - :return: The hosts of this CreatePolicyResponse. - :rtype: list[str] - """ - return self._hosts - - @hosts.setter - def hosts(self, hosts): - """Sets the hosts of this CreatePolicyResponse. - - 与防护策略绑定的防护的域名id数组 - - :param hosts: The hosts of this CreatePolicyResponse. - :type hosts: list[str] - """ - self._hosts = hosts - - @property - def bind_host(self): - """Gets the bind_host of this CreatePolicyResponse. - - 与防护策略绑定的防护的域名信息数组,相对于hosts字段,包含更详细的域名信息 - - :return: The bind_host of this CreatePolicyResponse. - :rtype: list[:class:`huaweicloudsdkedgesec.v1.BindHost`] - """ - return self._bind_host - - @bind_host.setter - def bind_host(self, bind_host): - """Sets the bind_host of this CreatePolicyResponse. - - 与防护策略绑定的防护的域名信息数组,相对于hosts字段,包含更详细的域名信息 - - :param bind_host: The bind_host of this CreatePolicyResponse. - :type bind_host: list[:class:`huaweicloudsdkedgesec.v1.BindHost`] - """ - self._bind_host = bind_host - - @property - def extend(self): - """Gets the extend of this CreatePolicyResponse. - - 扩展字段,用于存放Web基础防护中一些开关配置等信息 - - :return: The extend of this CreatePolicyResponse. - :rtype: dict(str, str) - """ - return self._extend - - @extend.setter - def extend(self, extend): - """Sets the extend of this CreatePolicyResponse. - - 扩展字段,用于存放Web基础防护中一些开关配置等信息 - - :param extend: The extend of this CreatePolicyResponse. - :type extend: dict(str, str) - """ - self._extend = extend - - @property - def timestamp(self): - """Gets the timestamp of this CreatePolicyResponse. - - 创建防护策略的时间 - - :return: The timestamp of this CreatePolicyResponse. - :rtype: int - """ - return self._timestamp - - @timestamp.setter - def timestamp(self, timestamp): - """Sets the timestamp of this CreatePolicyResponse. - - 创建防护策略的时间 - - :param timestamp: The timestamp of this CreatePolicyResponse. - :type timestamp: int - """ - self._timestamp = timestamp - - 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, CreatePolicyResponse): - 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-edgesec/huaweicloudsdkedgesec/v1/model/delete_certificate_request.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/delete_certificate_request.py deleted file mode 100644 index 50f30f4f7f..0000000000 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/delete_certificate_request.py +++ /dev/null @@ -1,171 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class DeleteCertificateRequest: - - """ - 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', - 'enterprise_project_id': 'str', - 'certificate_id': 'str' - } - - attribute_map = { - 'project_id': 'project_id', - 'enterprise_project_id': 'enterprise_project_id', - 'certificate_id': 'certificate_id' - } - - def __init__(self, project_id=None, enterprise_project_id=None, certificate_id=None): - """DeleteCertificateRequest - - The model defined in huaweicloud sdk - - :param project_id: 项目ID,对应华为云控制台用户名->我的凭证->项目列表->项目ID - :type project_id: str - :param enterprise_project_id: 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - :type enterprise_project_id: str - :param certificate_id: https证书id,您可以通过调用查询证书列表(ListCertificates)接口获取证书id - :type certificate_id: str - """ - - - - self._project_id = None - self._enterprise_project_id = None - self._certificate_id = None - self.discriminator = None - - self.project_id = project_id - if enterprise_project_id is not None: - self.enterprise_project_id = enterprise_project_id - self.certificate_id = certificate_id - - @property - def project_id(self): - """Gets the project_id of this DeleteCertificateRequest. - - 项目ID,对应华为云控制台用户名->我的凭证->项目列表->项目ID - - :return: The project_id of this DeleteCertificateRequest. - :rtype: str - """ - return self._project_id - - @project_id.setter - def project_id(self, project_id): - """Sets the project_id of this DeleteCertificateRequest. - - 项目ID,对应华为云控制台用户名->我的凭证->项目列表->项目ID - - :param project_id: The project_id of this DeleteCertificateRequest. - :type project_id: str - """ - self._project_id = project_id - - @property - def enterprise_project_id(self): - """Gets the enterprise_project_id of this DeleteCertificateRequest. - - 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - - :return: The enterprise_project_id of this DeleteCertificateRequest. - :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 DeleteCertificateRequest. - - 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - - :param enterprise_project_id: The enterprise_project_id of this DeleteCertificateRequest. - :type enterprise_project_id: str - """ - self._enterprise_project_id = enterprise_project_id - - @property - def certificate_id(self): - """Gets the certificate_id of this DeleteCertificateRequest. - - https证书id,您可以通过调用查询证书列表(ListCertificates)接口获取证书id - - :return: The certificate_id of this DeleteCertificateRequest. - :rtype: str - """ - return self._certificate_id - - @certificate_id.setter - def certificate_id(self, certificate_id): - """Sets the certificate_id of this DeleteCertificateRequest. - - https证书id,您可以通过调用查询证书列表(ListCertificates)接口获取证书id - - :param certificate_id: The certificate_id of this DeleteCertificateRequest. - :type certificate_id: str - """ - self._certificate_id = certificate_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, DeleteCertificateRequest): - 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-edgesec/huaweicloudsdkedgesec/v1/model/delete_certificate_response.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/delete_certificate_response.py deleted file mode 100644 index c870af5d18..0000000000 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/delete_certificate_response.py +++ /dev/null @@ -1,319 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class DeleteCertificateResponse(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', - 'content': 'str', - 'key': 'str', - 'expire_time': 'int', - 'exp_status': 'int', - 'timestamp': 'int', - 'bind_host': 'list[BindHost]' - } - - attribute_map = { - 'id': 'id', - 'name': 'name', - 'content': 'content', - 'key': 'key', - 'expire_time': 'expire_time', - 'exp_status': 'exp_status', - 'timestamp': 'timestamp', - 'bind_host': 'bind_host' - } - - def __init__(self, id=None, name=None, content=None, key=None, expire_time=None, exp_status=None, timestamp=None, bind_host=None): - """DeleteCertificateResponse - - The model defined in huaweicloud sdk - - :param id: 证书ID - :type id: str - :param name: 证书名 - :type name: str - :param content: 证书文件,PEM编码 - :type content: str - :param key: 证书私钥,PEM编码 - :type key: str - :param expire_time: 证书过期时间戳 - :type expire_time: int - :param exp_status: 证书过期状态,0-未过期,1-已过期,2-即将过期 - :type exp_status: int - :param timestamp: 证书上传时间戳 - :type timestamp: int - :param bind_host: 证书关联的域名信息 - :type bind_host: list[:class:`huaweicloudsdkedgesec.v1.BindHost`] - """ - - super(DeleteCertificateResponse, self).__init__() - - self._id = None - self._name = None - self._content = None - self._key = None - self._expire_time = None - self._exp_status = None - self._timestamp = None - self._bind_host = None - self.discriminator = None - - if id is not None: - self.id = id - if name is not None: - self.name = name - if content is not None: - self.content = content - if key is not None: - self.key = key - if expire_time is not None: - self.expire_time = expire_time - if exp_status is not None: - self.exp_status = exp_status - if timestamp is not None: - self.timestamp = timestamp - if bind_host is not None: - self.bind_host = bind_host - - @property - def id(self): - """Gets the id of this DeleteCertificateResponse. - - 证书ID - - :return: The id of this DeleteCertificateResponse. - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this DeleteCertificateResponse. - - 证书ID - - :param id: The id of this DeleteCertificateResponse. - :type id: str - """ - self._id = id - - @property - def name(self): - """Gets the name of this DeleteCertificateResponse. - - 证书名 - - :return: The name of this DeleteCertificateResponse. - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this DeleteCertificateResponse. - - 证书名 - - :param name: The name of this DeleteCertificateResponse. - :type name: str - """ - self._name = name - - @property - def content(self): - """Gets the content of this DeleteCertificateResponse. - - 证书文件,PEM编码 - - :return: The content of this DeleteCertificateResponse. - :rtype: str - """ - return self._content - - @content.setter - def content(self, content): - """Sets the content of this DeleteCertificateResponse. - - 证书文件,PEM编码 - - :param content: The content of this DeleteCertificateResponse. - :type content: str - """ - self._content = content - - @property - def key(self): - """Gets the key of this DeleteCertificateResponse. - - 证书私钥,PEM编码 - - :return: The key of this DeleteCertificateResponse. - :rtype: str - """ - return self._key - - @key.setter - def key(self, key): - """Sets the key of this DeleteCertificateResponse. - - 证书私钥,PEM编码 - - :param key: The key of this DeleteCertificateResponse. - :type key: str - """ - self._key = key - - @property - def expire_time(self): - """Gets the expire_time of this DeleteCertificateResponse. - - 证书过期时间戳 - - :return: The expire_time of this DeleteCertificateResponse. - :rtype: int - """ - return self._expire_time - - @expire_time.setter - def expire_time(self, expire_time): - """Sets the expire_time of this DeleteCertificateResponse. - - 证书过期时间戳 - - :param expire_time: The expire_time of this DeleteCertificateResponse. - :type expire_time: int - """ - self._expire_time = expire_time - - @property - def exp_status(self): - """Gets the exp_status of this DeleteCertificateResponse. - - 证书过期状态,0-未过期,1-已过期,2-即将过期 - - :return: The exp_status of this DeleteCertificateResponse. - :rtype: int - """ - return self._exp_status - - @exp_status.setter - def exp_status(self, exp_status): - """Sets the exp_status of this DeleteCertificateResponse. - - 证书过期状态,0-未过期,1-已过期,2-即将过期 - - :param exp_status: The exp_status of this DeleteCertificateResponse. - :type exp_status: int - """ - self._exp_status = exp_status - - @property - def timestamp(self): - """Gets the timestamp of this DeleteCertificateResponse. - - 证书上传时间戳 - - :return: The timestamp of this DeleteCertificateResponse. - :rtype: int - """ - return self._timestamp - - @timestamp.setter - def timestamp(self, timestamp): - """Sets the timestamp of this DeleteCertificateResponse. - - 证书上传时间戳 - - :param timestamp: The timestamp of this DeleteCertificateResponse. - :type timestamp: int - """ - self._timestamp = timestamp - - @property - def bind_host(self): - """Gets the bind_host of this DeleteCertificateResponse. - - 证书关联的域名信息 - - :return: The bind_host of this DeleteCertificateResponse. - :rtype: list[:class:`huaweicloudsdkedgesec.v1.BindHost`] - """ - return self._bind_host - - @bind_host.setter - def bind_host(self, bind_host): - """Sets the bind_host of this DeleteCertificateResponse. - - 证书关联的域名信息 - - :param bind_host: The bind_host of this DeleteCertificateResponse. - :type bind_host: list[:class:`huaweicloudsdkedgesec.v1.BindHost`] - """ - self._bind_host = bind_host - - 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, DeleteCertificateResponse): - 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-edgesec/huaweicloudsdkedgesec/v1/model/delete_edge_d_do_s_domains_request.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/delete_edge_d_do_s_domains_request.py deleted file mode 100644 index d24e4dd66b..0000000000 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/delete_edge_d_do_s_domains_request.py +++ /dev/null @@ -1,143 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class DeleteEdgeDDoSDomainsRequest: - - """ - 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 = { - 'domainid': 'str', - 'enterprise_project_id': 'str' - } - - attribute_map = { - 'domainid': 'domainid', - 'enterprise_project_id': 'enterprise_project_id' - } - - def __init__(self, domainid=None, enterprise_project_id=None): - """DeleteEdgeDDoSDomainsRequest - - The model defined in huaweicloud sdk - - :param domainid: 域名ID - :type domainid: str - :param enterprise_project_id: 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - :type enterprise_project_id: str - """ - - - - self._domainid = None - self._enterprise_project_id = None - self.discriminator = None - - self.domainid = domainid - if enterprise_project_id is not None: - self.enterprise_project_id = enterprise_project_id - - @property - def domainid(self): - """Gets the domainid of this DeleteEdgeDDoSDomainsRequest. - - 域名ID - - :return: The domainid of this DeleteEdgeDDoSDomainsRequest. - :rtype: str - """ - return self._domainid - - @domainid.setter - def domainid(self, domainid): - """Sets the domainid of this DeleteEdgeDDoSDomainsRequest. - - 域名ID - - :param domainid: The domainid of this DeleteEdgeDDoSDomainsRequest. - :type domainid: str - """ - self._domainid = domainid - - @property - def enterprise_project_id(self): - """Gets the enterprise_project_id of this DeleteEdgeDDoSDomainsRequest. - - 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - - :return: The enterprise_project_id of this DeleteEdgeDDoSDomainsRequest. - :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 DeleteEdgeDDoSDomainsRequest. - - 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - - :param enterprise_project_id: The enterprise_project_id of this DeleteEdgeDDoSDomainsRequest. - :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, DeleteEdgeDDoSDomainsRequest): - 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-edgesec/huaweicloudsdkedgesec/v1/model/delete_edge_waf_domains_request.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/delete_edge_waf_domains_request.py deleted file mode 100644 index 6cf98dfd11..0000000000 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/delete_edge_waf_domains_request.py +++ /dev/null @@ -1,143 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class DeleteEdgeWafDomainsRequest: - - """ - 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 = { - 'domainid': 'str', - 'enterprise_project_id': 'str' - } - - attribute_map = { - 'domainid': 'domainid', - 'enterprise_project_id': 'enterprise_project_id' - } - - def __init__(self, domainid=None, enterprise_project_id=None): - """DeleteEdgeWafDomainsRequest - - The model defined in huaweicloud sdk - - :param domainid: 防护域名id - :type domainid: str - :param enterprise_project_id: 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - :type enterprise_project_id: str - """ - - - - self._domainid = None - self._enterprise_project_id = None - self.discriminator = None - - self.domainid = domainid - if enterprise_project_id is not None: - self.enterprise_project_id = enterprise_project_id - - @property - def domainid(self): - """Gets the domainid of this DeleteEdgeWafDomainsRequest. - - 防护域名id - - :return: The domainid of this DeleteEdgeWafDomainsRequest. - :rtype: str - """ - return self._domainid - - @domainid.setter - def domainid(self, domainid): - """Sets the domainid of this DeleteEdgeWafDomainsRequest. - - 防护域名id - - :param domainid: The domainid of this DeleteEdgeWafDomainsRequest. - :type domainid: str - """ - self._domainid = domainid - - @property - def enterprise_project_id(self): - """Gets the enterprise_project_id of this DeleteEdgeWafDomainsRequest. - - 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - - :return: The enterprise_project_id of this DeleteEdgeWafDomainsRequest. - :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 DeleteEdgeWafDomainsRequest. - - 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - - :param enterprise_project_id: The enterprise_project_id of this DeleteEdgeWafDomainsRequest. - :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, DeleteEdgeWafDomainsRequest): - 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-edgesec/huaweicloudsdkedgesec/v1/model/delete_policy_response.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/delete_policy_response.py deleted file mode 100644 index 23dc784724..0000000000 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/delete_policy_response.py +++ /dev/null @@ -1,423 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class DeletePolicyResponse(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', - 'level': 'int', - 'full_detection': 'bool', - 'robot_action': 'Action', - 'action': 'WafPolicyAction', - 'options': 'PolicyOption', - 'modulex_options': 'dict(str, object)', - 'hosts': 'list[str]', - 'bind_host': 'list[BindHost]', - 'extend': 'dict(str, str)', - 'timestamp': 'int' - } - - attribute_map = { - 'id': 'id', - 'name': 'name', - 'level': 'level', - 'full_detection': 'full_detection', - 'robot_action': 'robot_action', - 'action': 'action', - 'options': 'options', - 'modulex_options': 'modulex_options', - 'hosts': 'hosts', - 'bind_host': 'bind_host', - 'extend': 'extend', - 'timestamp': 'timestamp' - } - - def __init__(self, id=None, name=None, level=None, full_detection=None, robot_action=None, action=None, options=None, modulex_options=None, hosts=None, bind_host=None, extend=None, timestamp=None): - """DeletePolicyResponse - - The model defined in huaweicloud sdk - - :param id: 防护策略id - :type id: str - :param name: 防护策略名 - :type name: str - :param level: Web基础防护等级 - 1 : 宽松,防护粒度较粗,只拦截攻击特征比较明显的请求。当误报情况较多的场景下,建议选择“宽松”模式。 - 2:中等,默认为“中等”防护模式,满足大多数场景下的Web防护需求。 - 3:严格,防护粒度最精细,可以拦截具有复杂的绕过特征的攻击请求,例如jolokia网络攻击、探测CGI漏洞、探测 Druid SQL注入攻击 - :type level: int - :param full_detection: 精准防护中的检测模式。 - false:短路检测,当用户的请求符合精准防护中的拦截条件时,便立刻终止检测,进行拦截 - true :全检测,请求符合精准防护中的拦截条件时,全检测不会立即拦截,会继续执行其他防护的检测,最后进行拦截。 - :type full_detection: bool - :param robot_action: - :type robot_action: :class:`huaweicloudsdkedgesec.v1.Action` - :param action: - :type action: :class:`huaweicloudsdkedgesec.v1.WafPolicyAction` - :param options: - :type options: :class:`huaweicloudsdkedgesec.v1.PolicyOption` - :param modulex_options: 智能访问控制防护项相关配置信息,目前该特性还处于公测阶段,只有部分局点支持该特性 - :type modulex_options: dict(str, object) - :param hosts: 与防护策略绑定的防护的域名id数组 - :type hosts: list[str] - :param bind_host: 与防护策略绑定的防护的域名信息数组,相对于hosts字段,包含更详细的域名信息 - :type bind_host: list[:class:`huaweicloudsdkedgesec.v1.BindHost`] - :param extend: 扩展字段,用于存放Web基础防护中一些开关配置等信息 - :type extend: dict(str, str) - :param timestamp: 创建防护策略的时间 - :type timestamp: int - """ - - super(DeletePolicyResponse, self).__init__() - - self._id = None - self._name = None - self._level = None - self._full_detection = None - self._robot_action = None - self._action = None - self._options = None - self._modulex_options = None - self._hosts = None - self._bind_host = None - self._extend = None - self._timestamp = None - self.discriminator = None - - if id is not None: - self.id = id - if name is not None: - self.name = name - if level is not None: - self.level = level - if full_detection is not None: - self.full_detection = full_detection - if robot_action is not None: - self.robot_action = robot_action - if action is not None: - self.action = action - if options is not None: - self.options = options - if modulex_options is not None: - self.modulex_options = modulex_options - if hosts is not None: - self.hosts = hosts - if bind_host is not None: - self.bind_host = bind_host - if extend is not None: - self.extend = extend - if timestamp is not None: - self.timestamp = timestamp - - @property - def id(self): - """Gets the id of this DeletePolicyResponse. - - 防护策略id - - :return: The id of this DeletePolicyResponse. - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this DeletePolicyResponse. - - 防护策略id - - :param id: The id of this DeletePolicyResponse. - :type id: str - """ - self._id = id - - @property - def name(self): - """Gets the name of this DeletePolicyResponse. - - 防护策略名 - - :return: The name of this DeletePolicyResponse. - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this DeletePolicyResponse. - - 防护策略名 - - :param name: The name of this DeletePolicyResponse. - :type name: str - """ - self._name = name - - @property - def level(self): - """Gets the level of this DeletePolicyResponse. - - Web基础防护等级 - 1 : 宽松,防护粒度较粗,只拦截攻击特征比较明显的请求。当误报情况较多的场景下,建议选择“宽松”模式。 - 2:中等,默认为“中等”防护模式,满足大多数场景下的Web防护需求。 - 3:严格,防护粒度最精细,可以拦截具有复杂的绕过特征的攻击请求,例如jolokia网络攻击、探测CGI漏洞、探测 Druid SQL注入攻击 - - :return: The level of this DeletePolicyResponse. - :rtype: int - """ - return self._level - - @level.setter - def level(self, level): - """Sets the level of this DeletePolicyResponse. - - Web基础防护等级 - 1 : 宽松,防护粒度较粗,只拦截攻击特征比较明显的请求。当误报情况较多的场景下,建议选择“宽松”模式。 - 2:中等,默认为“中等”防护模式,满足大多数场景下的Web防护需求。 - 3:严格,防护粒度最精细,可以拦截具有复杂的绕过特征的攻击请求,例如jolokia网络攻击、探测CGI漏洞、探测 Druid SQL注入攻击 - - :param level: The level of this DeletePolicyResponse. - :type level: int - """ - self._level = level - - @property - def full_detection(self): - """Gets the full_detection of this DeletePolicyResponse. - - 精准防护中的检测模式。 - false:短路检测,当用户的请求符合精准防护中的拦截条件时,便立刻终止检测,进行拦截 - true :全检测,请求符合精准防护中的拦截条件时,全检测不会立即拦截,会继续执行其他防护的检测,最后进行拦截。 - - :return: The full_detection of this DeletePolicyResponse. - :rtype: bool - """ - return self._full_detection - - @full_detection.setter - def full_detection(self, full_detection): - """Sets the full_detection of this DeletePolicyResponse. - - 精准防护中的检测模式。 - false:短路检测,当用户的请求符合精准防护中的拦截条件时,便立刻终止检测,进行拦截 - true :全检测,请求符合精准防护中的拦截条件时,全检测不会立即拦截,会继续执行其他防护的检测,最后进行拦截。 - - :param full_detection: The full_detection of this DeletePolicyResponse. - :type full_detection: bool - """ - self._full_detection = full_detection - - @property - def robot_action(self): - """Gets the robot_action of this DeletePolicyResponse. - - :return: The robot_action of this DeletePolicyResponse. - :rtype: :class:`huaweicloudsdkedgesec.v1.Action` - """ - return self._robot_action - - @robot_action.setter - def robot_action(self, robot_action): - """Sets the robot_action of this DeletePolicyResponse. - - :param robot_action: The robot_action of this DeletePolicyResponse. - :type robot_action: :class:`huaweicloudsdkedgesec.v1.Action` - """ - self._robot_action = robot_action - - @property - def action(self): - """Gets the action of this DeletePolicyResponse. - - :return: The action of this DeletePolicyResponse. - :rtype: :class:`huaweicloudsdkedgesec.v1.WafPolicyAction` - """ - return self._action - - @action.setter - def action(self, action): - """Sets the action of this DeletePolicyResponse. - - :param action: The action of this DeletePolicyResponse. - :type action: :class:`huaweicloudsdkedgesec.v1.WafPolicyAction` - """ - self._action = action - - @property - def options(self): - """Gets the options of this DeletePolicyResponse. - - :return: The options of this DeletePolicyResponse. - :rtype: :class:`huaweicloudsdkedgesec.v1.PolicyOption` - """ - return self._options - - @options.setter - def options(self, options): - """Sets the options of this DeletePolicyResponse. - - :param options: The options of this DeletePolicyResponse. - :type options: :class:`huaweicloudsdkedgesec.v1.PolicyOption` - """ - self._options = options - - @property - def modulex_options(self): - """Gets the modulex_options of this DeletePolicyResponse. - - 智能访问控制防护项相关配置信息,目前该特性还处于公测阶段,只有部分局点支持该特性 - - :return: The modulex_options of this DeletePolicyResponse. - :rtype: dict(str, object) - """ - return self._modulex_options - - @modulex_options.setter - def modulex_options(self, modulex_options): - """Sets the modulex_options of this DeletePolicyResponse. - - 智能访问控制防护项相关配置信息,目前该特性还处于公测阶段,只有部分局点支持该特性 - - :param modulex_options: The modulex_options of this DeletePolicyResponse. - :type modulex_options: dict(str, object) - """ - self._modulex_options = modulex_options - - @property - def hosts(self): - """Gets the hosts of this DeletePolicyResponse. - - 与防护策略绑定的防护的域名id数组 - - :return: The hosts of this DeletePolicyResponse. - :rtype: list[str] - """ - return self._hosts - - @hosts.setter - def hosts(self, hosts): - """Sets the hosts of this DeletePolicyResponse. - - 与防护策略绑定的防护的域名id数组 - - :param hosts: The hosts of this DeletePolicyResponse. - :type hosts: list[str] - """ - self._hosts = hosts - - @property - def bind_host(self): - """Gets the bind_host of this DeletePolicyResponse. - - 与防护策略绑定的防护的域名信息数组,相对于hosts字段,包含更详细的域名信息 - - :return: The bind_host of this DeletePolicyResponse. - :rtype: list[:class:`huaweicloudsdkedgesec.v1.BindHost`] - """ - return self._bind_host - - @bind_host.setter - def bind_host(self, bind_host): - """Sets the bind_host of this DeletePolicyResponse. - - 与防护策略绑定的防护的域名信息数组,相对于hosts字段,包含更详细的域名信息 - - :param bind_host: The bind_host of this DeletePolicyResponse. - :type bind_host: list[:class:`huaweicloudsdkedgesec.v1.BindHost`] - """ - self._bind_host = bind_host - - @property - def extend(self): - """Gets the extend of this DeletePolicyResponse. - - 扩展字段,用于存放Web基础防护中一些开关配置等信息 - - :return: The extend of this DeletePolicyResponse. - :rtype: dict(str, str) - """ - return self._extend - - @extend.setter - def extend(self, extend): - """Sets the extend of this DeletePolicyResponse. - - 扩展字段,用于存放Web基础防护中一些开关配置等信息 - - :param extend: The extend of this DeletePolicyResponse. - :type extend: dict(str, str) - """ - self._extend = extend - - @property - def timestamp(self): - """Gets the timestamp of this DeletePolicyResponse. - - 创建防护策略的时间 - - :return: The timestamp of this DeletePolicyResponse. - :rtype: int - """ - return self._timestamp - - @timestamp.setter - def timestamp(self, timestamp): - """Sets the timestamp of this DeletePolicyResponse. - - 创建防护策略的时间 - - :param timestamp: The timestamp of this DeletePolicyResponse. - :type timestamp: int - """ - self._timestamp = timestamp - - 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, DeletePolicyResponse): - 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-edgesec/huaweicloudsdkedgesec/v1/model/edge_d_do_s_domain_vo.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/edge_d_do_s_domain_vo.py deleted file mode 100644 index 023b41154f..0000000000 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/edge_d_do_s_domain_vo.py +++ /dev/null @@ -1,347 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class EdgeDDoSDomainVo: - - """ - 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', - 'domain_name': 'str', - 'tenant_id': 'str', - 'area_type': 'str', - 'dispatch_status': 'int', - 'protected_switch': 'int', - 'open_date': 'int', - 'close_date': 'int', - 'enterprise_project_id': 'str' - } - - attribute_map = { - 'id': 'id', - 'domain_name': 'domain_name', - 'tenant_id': 'tenant_id', - 'area_type': 'area_type', - 'dispatch_status': 'dispatch_status', - 'protected_switch': 'protected_switch', - 'open_date': 'open_date', - 'close_date': 'close_date', - 'enterprise_project_id': 'enterprise_project_id' - } - - def __init__(self, id=None, domain_name=None, tenant_id=None, area_type=None, dispatch_status=None, protected_switch=None, open_date=None, close_date=None, enterprise_project_id=None): - """EdgeDDoSDomainVo - - The model defined in huaweicloud sdk - - :param id: 域名id - :type id: str - :param domain_name: 域名 - :type domain_name: str - :param tenant_id: 租户ID - :type tenant_id: str - :param area_type: 域名在CDN所属区域 - :type area_type: str - :param dispatch_status: cdn域名调度情况(0:未防护,1:配置中,2:已防护,3:删除中) - :type dispatch_status: int - :param protected_switch: 防护开关(0:关,1:开) - :type protected_switch: int - :param open_date: 开启时间 - :type open_date: int - :param close_date: 关闭时间 - :type close_date: int - :param enterprise_project_id: 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - :type enterprise_project_id: str - """ - - - - self._id = None - self._domain_name = None - self._tenant_id = None - self._area_type = None - self._dispatch_status = None - self._protected_switch = None - self._open_date = None - self._close_date = None - self._enterprise_project_id = None - self.discriminator = None - - if id is not None: - self.id = id - if domain_name is not None: - self.domain_name = domain_name - if tenant_id is not None: - self.tenant_id = tenant_id - if area_type is not None: - self.area_type = area_type - if dispatch_status is not None: - self.dispatch_status = dispatch_status - if protected_switch is not None: - self.protected_switch = protected_switch - if open_date is not None: - self.open_date = open_date - if close_date is not None: - self.close_date = close_date - if enterprise_project_id is not None: - self.enterprise_project_id = enterprise_project_id - - @property - def id(self): - """Gets the id of this EdgeDDoSDomainVo. - - 域名id - - :return: The id of this EdgeDDoSDomainVo. - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this EdgeDDoSDomainVo. - - 域名id - - :param id: The id of this EdgeDDoSDomainVo. - :type id: str - """ - self._id = id - - @property - def domain_name(self): - """Gets the domain_name of this EdgeDDoSDomainVo. - - 域名 - - :return: The domain_name of this EdgeDDoSDomainVo. - :rtype: str - """ - return self._domain_name - - @domain_name.setter - def domain_name(self, domain_name): - """Sets the domain_name of this EdgeDDoSDomainVo. - - 域名 - - :param domain_name: The domain_name of this EdgeDDoSDomainVo. - :type domain_name: str - """ - self._domain_name = domain_name - - @property - def tenant_id(self): - """Gets the tenant_id of this EdgeDDoSDomainVo. - - 租户ID - - :return: The tenant_id of this EdgeDDoSDomainVo. - :rtype: str - """ - return self._tenant_id - - @tenant_id.setter - def tenant_id(self, tenant_id): - """Sets the tenant_id of this EdgeDDoSDomainVo. - - 租户ID - - :param tenant_id: The tenant_id of this EdgeDDoSDomainVo. - :type tenant_id: str - """ - self._tenant_id = tenant_id - - @property - def area_type(self): - """Gets the area_type of this EdgeDDoSDomainVo. - - 域名在CDN所属区域 - - :return: The area_type of this EdgeDDoSDomainVo. - :rtype: str - """ - return self._area_type - - @area_type.setter - def area_type(self, area_type): - """Sets the area_type of this EdgeDDoSDomainVo. - - 域名在CDN所属区域 - - :param area_type: The area_type of this EdgeDDoSDomainVo. - :type area_type: str - """ - self._area_type = area_type - - @property - def dispatch_status(self): - """Gets the dispatch_status of this EdgeDDoSDomainVo. - - cdn域名调度情况(0:未防护,1:配置中,2:已防护,3:删除中) - - :return: The dispatch_status of this EdgeDDoSDomainVo. - :rtype: int - """ - return self._dispatch_status - - @dispatch_status.setter - def dispatch_status(self, dispatch_status): - """Sets the dispatch_status of this EdgeDDoSDomainVo. - - cdn域名调度情况(0:未防护,1:配置中,2:已防护,3:删除中) - - :param dispatch_status: The dispatch_status of this EdgeDDoSDomainVo. - :type dispatch_status: int - """ - self._dispatch_status = dispatch_status - - @property - def protected_switch(self): - """Gets the protected_switch of this EdgeDDoSDomainVo. - - 防护开关(0:关,1:开) - - :return: The protected_switch of this EdgeDDoSDomainVo. - :rtype: int - """ - return self._protected_switch - - @protected_switch.setter - def protected_switch(self, protected_switch): - """Sets the protected_switch of this EdgeDDoSDomainVo. - - 防护开关(0:关,1:开) - - :param protected_switch: The protected_switch of this EdgeDDoSDomainVo. - :type protected_switch: int - """ - self._protected_switch = protected_switch - - @property - def open_date(self): - """Gets the open_date of this EdgeDDoSDomainVo. - - 开启时间 - - :return: The open_date of this EdgeDDoSDomainVo. - :rtype: int - """ - return self._open_date - - @open_date.setter - def open_date(self, open_date): - """Sets the open_date of this EdgeDDoSDomainVo. - - 开启时间 - - :param open_date: The open_date of this EdgeDDoSDomainVo. - :type open_date: int - """ - self._open_date = open_date - - @property - def close_date(self): - """Gets the close_date of this EdgeDDoSDomainVo. - - 关闭时间 - - :return: The close_date of this EdgeDDoSDomainVo. - :rtype: int - """ - return self._close_date - - @close_date.setter - def close_date(self, close_date): - """Sets the close_date of this EdgeDDoSDomainVo. - - 关闭时间 - - :param close_date: The close_date of this EdgeDDoSDomainVo. - :type close_date: int - """ - self._close_date = close_date - - @property - def enterprise_project_id(self): - """Gets the enterprise_project_id of this EdgeDDoSDomainVo. - - 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - - :return: The enterprise_project_id of this EdgeDDoSDomainVo. - :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 EdgeDDoSDomainVo. - - 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - - :param enterprise_project_id: The enterprise_project_id of this EdgeDDoSDomainVo. - :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, EdgeDDoSDomainVo): - 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-edgesec/huaweicloudsdkedgesec/v1/model/edge_sec_product_resource.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/edge_sec_product_resource.py deleted file mode 100644 index 0a796c10ad..0000000000 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/edge_sec_product_resource.py +++ /dev/null @@ -1,405 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class EdgeSecProductResource: - - """ - 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 = { - 'order_id': 'str', - 'cloud_service_type': 'str', - 'product_id': 'str', - 'resource_id': 'str', - 'enterprise_project_id': 'str', - 'region_id': 'str', - 'resource_type': 'str', - 'resource_spec_code': 'str', - 'resource_size': 'int', - 'bill_type': 'int', - 'charging_mode': 'str' - } - - attribute_map = { - 'order_id': 'order_id', - 'cloud_service_type': 'cloud_service_type', - 'product_id': 'product_id', - 'resource_id': 'resource_id', - 'enterprise_project_id': 'enterprise_project_id', - 'region_id': 'region_id', - 'resource_type': 'resource_type', - 'resource_spec_code': 'resource_spec_code', - 'resource_size': 'resource_size', - 'bill_type': 'bill_type', - 'charging_mode': 'charging_mode' - } - - def __init__(self, order_id=None, cloud_service_type=None, product_id=None, resource_id=None, enterprise_project_id=None, region_id=None, resource_type=None, resource_spec_code=None, resource_size=None, bill_type=None, charging_mode=None): - """EdgeSecProductResource - - The model defined in huaweicloud sdk - - :param order_id: 购买该资源的订单ID - :type order_id: str - :param cloud_service_type: 云服务类型,边缘安全为hws.service.type.edgesec - :type cloud_service_type: str - :param product_id: 产品ID - :type product_id: str - :param resource_id: 资源ID - :type resource_id: str - :param enterprise_project_id: 企业项目ID - :type enterprise_project_id: str - :param region_id: region ID - :type region_id: str - :param resource_type: 资源类型 - :type resource_type: str - :param resource_spec_code: 资源规格编码 - :type resource_spec_code: str - :param resource_size: 扩展包资源数量 - :type resource_size: int - :param bill_type: 计费方式(0:不按照流量计费, 1:带宽峰值, 2:流量) - :type bill_type: int - :param charging_mode: 收费模式(1:一次性、包周期(包年包月), 2:按需计费) - :type charging_mode: str - """ - - - - self._order_id = None - self._cloud_service_type = None - self._product_id = None - self._resource_id = None - self._enterprise_project_id = None - self._region_id = None - self._resource_type = None - self._resource_spec_code = None - self._resource_size = None - self._bill_type = None - self._charging_mode = None - self.discriminator = None - - if order_id is not None: - self.order_id = order_id - if cloud_service_type is not None: - self.cloud_service_type = cloud_service_type - if product_id is not None: - self.product_id = product_id - if resource_id is not None: - self.resource_id = resource_id - if enterprise_project_id is not None: - self.enterprise_project_id = enterprise_project_id - if region_id is not None: - self.region_id = region_id - if resource_type is not None: - self.resource_type = resource_type - if resource_spec_code is not None: - self.resource_spec_code = resource_spec_code - if resource_size is not None: - self.resource_size = resource_size - if bill_type is not None: - self.bill_type = bill_type - if charging_mode is not None: - self.charging_mode = charging_mode - - @property - def order_id(self): - """Gets the order_id of this EdgeSecProductResource. - - 购买该资源的订单ID - - :return: The order_id of this EdgeSecProductResource. - :rtype: str - """ - return self._order_id - - @order_id.setter - def order_id(self, order_id): - """Sets the order_id of this EdgeSecProductResource. - - 购买该资源的订单ID - - :param order_id: The order_id of this EdgeSecProductResource. - :type order_id: str - """ - self._order_id = order_id - - @property - def cloud_service_type(self): - """Gets the cloud_service_type of this EdgeSecProductResource. - - 云服务类型,边缘安全为hws.service.type.edgesec - - :return: The cloud_service_type of this EdgeSecProductResource. - :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 EdgeSecProductResource. - - 云服务类型,边缘安全为hws.service.type.edgesec - - :param cloud_service_type: The cloud_service_type of this EdgeSecProductResource. - :type cloud_service_type: str - """ - self._cloud_service_type = cloud_service_type - - @property - def product_id(self): - """Gets the product_id of this EdgeSecProductResource. - - 产品ID - - :return: The product_id of this EdgeSecProductResource. - :rtype: str - """ - return self._product_id - - @product_id.setter - def product_id(self, product_id): - """Sets the product_id of this EdgeSecProductResource. - - 产品ID - - :param product_id: The product_id of this EdgeSecProductResource. - :type product_id: str - """ - self._product_id = product_id - - @property - def resource_id(self): - """Gets the resource_id of this EdgeSecProductResource. - - 资源ID - - :return: The resource_id of this EdgeSecProductResource. - :rtype: str - """ - return self._resource_id - - @resource_id.setter - def resource_id(self, resource_id): - """Sets the resource_id of this EdgeSecProductResource. - - 资源ID - - :param resource_id: The resource_id of this EdgeSecProductResource. - :type resource_id: str - """ - self._resource_id = resource_id - - @property - def enterprise_project_id(self): - """Gets the enterprise_project_id of this EdgeSecProductResource. - - 企业项目ID - - :return: The enterprise_project_id of this EdgeSecProductResource. - :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 EdgeSecProductResource. - - 企业项目ID - - :param enterprise_project_id: The enterprise_project_id of this EdgeSecProductResource. - :type enterprise_project_id: str - """ - self._enterprise_project_id = enterprise_project_id - - @property - def region_id(self): - """Gets the region_id of this EdgeSecProductResource. - - region ID - - :return: The region_id of this EdgeSecProductResource. - :rtype: str - """ - return self._region_id - - @region_id.setter - def region_id(self, region_id): - """Sets the region_id of this EdgeSecProductResource. - - region ID - - :param region_id: The region_id of this EdgeSecProductResource. - :type region_id: str - """ - self._region_id = region_id - - @property - def resource_type(self): - """Gets the resource_type of this EdgeSecProductResource. - - 资源类型 - - :return: The resource_type of this EdgeSecProductResource. - :rtype: str - """ - return self._resource_type - - @resource_type.setter - def resource_type(self, resource_type): - """Sets the resource_type of this EdgeSecProductResource. - - 资源类型 - - :param resource_type: The resource_type of this EdgeSecProductResource. - :type resource_type: str - """ - self._resource_type = resource_type - - @property - def resource_spec_code(self): - """Gets the resource_spec_code of this EdgeSecProductResource. - - 资源规格编码 - - :return: The resource_spec_code of this EdgeSecProductResource. - :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 EdgeSecProductResource. - - 资源规格编码 - - :param resource_spec_code: The resource_spec_code of this EdgeSecProductResource. - :type resource_spec_code: str - """ - self._resource_spec_code = resource_spec_code - - @property - def resource_size(self): - """Gets the resource_size of this EdgeSecProductResource. - - 扩展包资源数量 - - :return: The resource_size of this EdgeSecProductResource. - :rtype: int - """ - return self._resource_size - - @resource_size.setter - def resource_size(self, resource_size): - """Sets the resource_size of this EdgeSecProductResource. - - 扩展包资源数量 - - :param resource_size: The resource_size of this EdgeSecProductResource. - :type resource_size: int - """ - self._resource_size = resource_size - - @property - def bill_type(self): - """Gets the bill_type of this EdgeSecProductResource. - - 计费方式(0:不按照流量计费, 1:带宽峰值, 2:流量) - - :return: The bill_type of this EdgeSecProductResource. - :rtype: int - """ - return self._bill_type - - @bill_type.setter - def bill_type(self, bill_type): - """Sets the bill_type of this EdgeSecProductResource. - - 计费方式(0:不按照流量计费, 1:带宽峰值, 2:流量) - - :param bill_type: The bill_type of this EdgeSecProductResource. - :type bill_type: int - """ - self._bill_type = bill_type - - @property - def charging_mode(self): - """Gets the charging_mode of this EdgeSecProductResource. - - 收费模式(1:一次性、包周期(包年包月), 2:按需计费) - - :return: The charging_mode of this EdgeSecProductResource. - :rtype: str - """ - return self._charging_mode - - @charging_mode.setter - def charging_mode(self, charging_mode): - """Sets the charging_mode of this EdgeSecProductResource. - - 收费模式(1:一次性、包周期(包年包月), 2:按需计费) - - :param charging_mode: The charging_mode of this EdgeSecProductResource. - :type charging_mode: str - """ - self._charging_mode = charging_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, EdgeSecProductResource): - 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-edgesec/huaweicloudsdkedgesec/v1/model/flag.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/flag.py deleted file mode 100644 index b2a339b4aa..0000000000 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/flag.py +++ /dev/null @@ -1,231 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class Flag: - - """ - 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 = { - 'pci_3ds': 'str', - 'pci_dss': 'str', - 'cname': 'str', - 'is_dual_az': 'str', - 'ipv6': 'str' - } - - attribute_map = { - 'pci_3ds': 'pci_3ds', - 'pci_dss': 'pci_dss', - 'cname': 'cname', - 'is_dual_az': 'is_dual_az', - 'ipv6': 'ipv6' - } - - def __init__(self, pci_3ds=None, pci_dss=None, cname=None, is_dual_az=None, ipv6=None): - """Flag - - The model defined in huaweicloud sdk - - :param pci_3ds: 是否开启pci_3ds合规认证 - true:开启 - false:不开启 - :type pci_3ds: str - :param pci_dss: 是否开启pci_dss合规认证 - true:开启 - false:不开启 - :type pci_dss: str - :param cname: old:代表域名使用的老的cname,new:代表域名使用新的cname - :type cname: str - :param is_dual_az: 域名是否开启ipv6 - true:支持 - false:不支持 - :type is_dual_az: str - :param ipv6: 域名是否开启ipv6 - true:支持 - false:不支持 - :type ipv6: str - """ - - - - self._pci_3ds = None - self._pci_dss = None - self._cname = None - self._is_dual_az = None - self._ipv6 = None - self.discriminator = None - - if pci_3ds is not None: - self.pci_3ds = pci_3ds - if pci_dss is not None: - self.pci_dss = pci_dss - if cname is not None: - self.cname = cname - if is_dual_az is not None: - self.is_dual_az = is_dual_az - if ipv6 is not None: - self.ipv6 = ipv6 - - @property - def pci_3ds(self): - """Gets the pci_3ds of this Flag. - - 是否开启pci_3ds合规认证 - true:开启 - false:不开启 - - :return: The pci_3ds of this Flag. - :rtype: str - """ - return self._pci_3ds - - @pci_3ds.setter - def pci_3ds(self, pci_3ds): - """Sets the pci_3ds of this Flag. - - 是否开启pci_3ds合规认证 - true:开启 - false:不开启 - - :param pci_3ds: The pci_3ds of this Flag. - :type pci_3ds: str - """ - self._pci_3ds = pci_3ds - - @property - def pci_dss(self): - """Gets the pci_dss of this Flag. - - 是否开启pci_dss合规认证 - true:开启 - false:不开启 - - :return: The pci_dss of this Flag. - :rtype: str - """ - return self._pci_dss - - @pci_dss.setter - def pci_dss(self, pci_dss): - """Sets the pci_dss of this Flag. - - 是否开启pci_dss合规认证 - true:开启 - false:不开启 - - :param pci_dss: The pci_dss of this Flag. - :type pci_dss: str - """ - self._pci_dss = pci_dss - - @property - def cname(self): - """Gets the cname of this Flag. - - old:代表域名使用的老的cname,new:代表域名使用新的cname - - :return: The cname of this Flag. - :rtype: str - """ - return self._cname - - @cname.setter - def cname(self, cname): - """Sets the cname of this Flag. - - old:代表域名使用的老的cname,new:代表域名使用新的cname - - :param cname: The cname of this Flag. - :type cname: str - """ - self._cname = cname - - @property - def is_dual_az(self): - """Gets the is_dual_az of this Flag. - - 域名是否开启ipv6 - true:支持 - false:不支持 - - :return: The is_dual_az of this Flag. - :rtype: str - """ - return self._is_dual_az - - @is_dual_az.setter - def is_dual_az(self, is_dual_az): - """Sets the is_dual_az of this Flag. - - 域名是否开启ipv6 - true:支持 - false:不支持 - - :param is_dual_az: The is_dual_az of this Flag. - :type is_dual_az: str - """ - self._is_dual_az = is_dual_az - - @property - def ipv6(self): - """Gets the ipv6 of this Flag. - - 域名是否开启ipv6 - true:支持 - false:不支持 - - :return: The ipv6 of this Flag. - :rtype: str - """ - return self._ipv6 - - @ipv6.setter - def ipv6(self, ipv6): - """Sets the ipv6 of this Flag. - - 域名是否开启ipv6 - true:支持 - false:不支持 - - :param ipv6: The ipv6 of this Flag. - :type ipv6: str - """ - self._ipv6 = ipv6 - - 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, Flag): - 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-edgesec/huaweicloudsdkedgesec/v1/model/list_cdn_domains_response.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/list_cdn_domains_response.py deleted file mode 100644 index 1bbfdae541..0000000000 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/list_cdn_domains_response.py +++ /dev/null @@ -1,174 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ListCdnDomainsResponse(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', - 'count': 'int', - 'domains': 'list[ShowCdnDomainResponseBody]' - } - - attribute_map = { - 'total': 'total', - 'count': 'count', - 'domains': 'domains' - } - - def __init__(self, total=None, count=None, domains=None): - """ListCdnDomainsResponse - - The model defined in huaweicloud sdk - - :param total: 全部CDN域名的数量 - :type total: int - :param count: 查询结果CDN域名的数量 - :type count: int - :param domains: 详细的CDN域名信息 - :type domains: list[:class:`huaweicloudsdkedgesec.v1.ShowCdnDomainResponseBody`] - """ - - super(ListCdnDomainsResponse, self).__init__() - - self._total = None - self._count = None - self._domains = None - self.discriminator = None - - if total is not None: - self.total = total - if count is not None: - self.count = count - if domains is not None: - self.domains = domains - - @property - def total(self): - """Gets the total of this ListCdnDomainsResponse. - - 全部CDN域名的数量 - - :return: The total of this ListCdnDomainsResponse. - :rtype: int - """ - return self._total - - @total.setter - def total(self, total): - """Sets the total of this ListCdnDomainsResponse. - - 全部CDN域名的数量 - - :param total: The total of this ListCdnDomainsResponse. - :type total: int - """ - self._total = total - - @property - def count(self): - """Gets the count of this ListCdnDomainsResponse. - - 查询结果CDN域名的数量 - - :return: The count of this ListCdnDomainsResponse. - :rtype: int - """ - return self._count - - @count.setter - def count(self, count): - """Sets the count of this ListCdnDomainsResponse. - - 查询结果CDN域名的数量 - - :param count: The count of this ListCdnDomainsResponse. - :type count: int - """ - self._count = count - - @property - def domains(self): - """Gets the domains of this ListCdnDomainsResponse. - - 详细的CDN域名信息 - - :return: The domains of this ListCdnDomainsResponse. - :rtype: list[:class:`huaweicloudsdkedgesec.v1.ShowCdnDomainResponseBody`] - """ - return self._domains - - @domains.setter - def domains(self, domains): - """Sets the domains of this ListCdnDomainsResponse. - - 详细的CDN域名信息 - - :param domains: The domains of this ListCdnDomainsResponse. - :type domains: list[:class:`huaweicloudsdkedgesec.v1.ShowCdnDomainResponseBody`] - """ - self._domains = domains - - 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, ListCdnDomainsResponse): - 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-edgesec/huaweicloudsdkedgesec/v1/model/list_certificates_request.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/list_certificates_request.py deleted file mode 100644 index 06001cfb99..0000000000 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/list_certificates_request.py +++ /dev/null @@ -1,288 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ListCertificatesRequest: - - """ - 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', - 'enterprise_project_id': 'str', - 'page': 'int', - 'pagesize': 'int', - 'name': 'str', - 'host': 'bool', - 'exp_status': 'int' - } - - attribute_map = { - 'project_id': 'project_id', - 'enterprise_project_id': 'enterprise_project_id', - 'page': 'page', - 'pagesize': 'pagesize', - 'name': 'name', - 'host': 'host', - 'exp_status': 'exp_status' - } - - def __init__(self, project_id=None, enterprise_project_id=None, page=None, pagesize=None, name=None, host=None, exp_status=None): - """ListCertificatesRequest - - The model defined in huaweicloud sdk - - :param project_id: 项目ID,对应华为云控制台用户名->我的凭证->项目列表->项目ID - :type project_id: str - :param enterprise_project_id: 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - :type enterprise_project_id: str - :param page: 分页查询时,返回第几页数据。默认值为1,表示返回第1页数据。 - :type page: int - :param pagesize: 分页查询时,每页包含多少条结果。范围1-100,默认值为10,表示每页包含10条结果。 - :type pagesize: int - :param name: 证书名称 - :type name: str - :param host: 是否获取证书关联的域名,默认为false -true:获取已关联域名的证书 -false:获取未关联域名的证书 - :type host: bool - :param exp_status: 证书过期状态,0-未过期,1-已过期,2-即将过期(证书将在一个月内过期) - :type exp_status: int - """ - - - - self._project_id = None - self._enterprise_project_id = None - self._page = None - self._pagesize = None - self._name = None - self._host = None - self._exp_status = None - self.discriminator = None - - self.project_id = project_id - if enterprise_project_id is not None: - self.enterprise_project_id = enterprise_project_id - if page is not None: - self.page = page - if pagesize is not None: - self.pagesize = pagesize - if name is not None: - self.name = name - if host is not None: - self.host = host - if exp_status is not None: - self.exp_status = exp_status - - @property - def project_id(self): - """Gets the project_id of this ListCertificatesRequest. - - 项目ID,对应华为云控制台用户名->我的凭证->项目列表->项目ID - - :return: The project_id of this ListCertificatesRequest. - :rtype: str - """ - return self._project_id - - @project_id.setter - def project_id(self, project_id): - """Sets the project_id of this ListCertificatesRequest. - - 项目ID,对应华为云控制台用户名->我的凭证->项目列表->项目ID - - :param project_id: The project_id of this ListCertificatesRequest. - :type project_id: str - """ - self._project_id = project_id - - @property - def enterprise_project_id(self): - """Gets the enterprise_project_id of this ListCertificatesRequest. - - 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - - :return: The enterprise_project_id of this ListCertificatesRequest. - :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 ListCertificatesRequest. - - 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - - :param enterprise_project_id: The enterprise_project_id of this ListCertificatesRequest. - :type enterprise_project_id: str - """ - self._enterprise_project_id = enterprise_project_id - - @property - def page(self): - """Gets the page of this ListCertificatesRequest. - - 分页查询时,返回第几页数据。默认值为1,表示返回第1页数据。 - - :return: The page of this ListCertificatesRequest. - :rtype: int - """ - return self._page - - @page.setter - def page(self, page): - """Sets the page of this ListCertificatesRequest. - - 分页查询时,返回第几页数据。默认值为1,表示返回第1页数据。 - - :param page: The page of this ListCertificatesRequest. - :type page: int - """ - self._page = page - - @property - def pagesize(self): - """Gets the pagesize of this ListCertificatesRequest. - - 分页查询时,每页包含多少条结果。范围1-100,默认值为10,表示每页包含10条结果。 - - :return: The pagesize of this ListCertificatesRequest. - :rtype: int - """ - return self._pagesize - - @pagesize.setter - def pagesize(self, pagesize): - """Sets the pagesize of this ListCertificatesRequest. - - 分页查询时,每页包含多少条结果。范围1-100,默认值为10,表示每页包含10条结果。 - - :param pagesize: The pagesize of this ListCertificatesRequest. - :type pagesize: int - """ - self._pagesize = pagesize - - @property - def name(self): - """Gets the name of this ListCertificatesRequest. - - 证书名称 - - :return: The name of this ListCertificatesRequest. - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this ListCertificatesRequest. - - 证书名称 - - :param name: The name of this ListCertificatesRequest. - :type name: str - """ - self._name = name - - @property - def host(self): - """Gets the host of this ListCertificatesRequest. - - 是否获取证书关联的域名,默认为false -true:获取已关联域名的证书 -false:获取未关联域名的证书 - - :return: The host of this ListCertificatesRequest. - :rtype: bool - """ - return self._host - - @host.setter - def host(self, host): - """Sets the host of this ListCertificatesRequest. - - 是否获取证书关联的域名,默认为false -true:获取已关联域名的证书 -false:获取未关联域名的证书 - - :param host: The host of this ListCertificatesRequest. - :type host: bool - """ - self._host = host - - @property - def exp_status(self): - """Gets the exp_status of this ListCertificatesRequest. - - 证书过期状态,0-未过期,1-已过期,2-即将过期(证书将在一个月内过期) - - :return: The exp_status of this ListCertificatesRequest. - :rtype: int - """ - return self._exp_status - - @exp_status.setter - def exp_status(self, exp_status): - """Sets the exp_status of this ListCertificatesRequest. - - 证书过期状态,0-未过期,1-已过期,2-即将过期(证书将在一个月内过期) - - :param exp_status: The exp_status of this ListCertificatesRequest. - :type exp_status: int - """ - self._exp_status = exp_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, ListCertificatesRequest): - 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-edgesec/huaweicloudsdkedgesec/v1/model/list_edge_d_do_s_domains_request.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/list_edge_d_do_s_domains_request.py deleted file mode 100644 index e93d438b48..0000000000 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/list_edge_d_do_s_domains_request.py +++ /dev/null @@ -1,202 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ListEdgeDDoSDomainsRequest: - - """ - 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 = { - 'domain_name': 'str', - 'enterprise_project_id': 'str', - 'offset': 'int', - 'limit': 'int' - } - - attribute_map = { - 'domain_name': 'domain_name', - 'enterprise_project_id': 'enterprise_project_id', - 'offset': 'offset', - 'limit': 'limit' - } - - def __init__(self, domain_name=None, enterprise_project_id=None, offset=None, limit=None): - """ListEdgeDDoSDomainsRequest - - The model defined in huaweicloud sdk - - :param domain_name: 域名 - :type domain_name: str - :param enterprise_project_id: 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - :type enterprise_project_id: str - :param offset: 偏移量,表示从此偏移量开始查询, offset大于等于0 - :type offset: int - :param limit: 每页显示的条目数量 - :type limit: int - """ - - - - self._domain_name = None - self._enterprise_project_id = None - self._offset = None - self._limit = None - self.discriminator = None - - 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 offset is not None: - self.offset = offset - if limit is not None: - self.limit = limit - - @property - def domain_name(self): - """Gets the domain_name of this ListEdgeDDoSDomainsRequest. - - 域名 - - :return: The domain_name of this ListEdgeDDoSDomainsRequest. - :rtype: str - """ - return self._domain_name - - @domain_name.setter - def domain_name(self, domain_name): - """Sets the domain_name of this ListEdgeDDoSDomainsRequest. - - 域名 - - :param domain_name: The domain_name of this ListEdgeDDoSDomainsRequest. - :type domain_name: str - """ - self._domain_name = domain_name - - @property - def enterprise_project_id(self): - """Gets the enterprise_project_id of this ListEdgeDDoSDomainsRequest. - - 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - - :return: The enterprise_project_id of this ListEdgeDDoSDomainsRequest. - :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 ListEdgeDDoSDomainsRequest. - - 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - - :param enterprise_project_id: The enterprise_project_id of this ListEdgeDDoSDomainsRequest. - :type enterprise_project_id: str - """ - self._enterprise_project_id = enterprise_project_id - - @property - def offset(self): - """Gets the offset of this ListEdgeDDoSDomainsRequest. - - 偏移量,表示从此偏移量开始查询, offset大于等于0 - - :return: The offset of this ListEdgeDDoSDomainsRequest. - :rtype: int - """ - return self._offset - - @offset.setter - def offset(self, offset): - """Sets the offset of this ListEdgeDDoSDomainsRequest. - - 偏移量,表示从此偏移量开始查询, offset大于等于0 - - :param offset: The offset of this ListEdgeDDoSDomainsRequest. - :type offset: int - """ - self._offset = offset - - @property - def limit(self): - """Gets the limit of this ListEdgeDDoSDomainsRequest. - - 每页显示的条目数量 - - :return: The limit of this ListEdgeDDoSDomainsRequest. - :rtype: int - """ - return self._limit - - @limit.setter - def limit(self, limit): - """Sets the limit of this ListEdgeDDoSDomainsRequest. - - 每页显示的条目数量 - - :param limit: The limit of this ListEdgeDDoSDomainsRequest. - :type limit: int - """ - self._limit = limit - - 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, ListEdgeDDoSDomainsRequest): - 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-edgesec/huaweicloudsdkedgesec/v1/model/list_edge_d_do_s_domains_response.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/list_edge_d_do_s_domains_response.py deleted file mode 100644 index c9ed0b4f14..0000000000 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/list_edge_d_do_s_domains_response.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ListEdgeDDoSDomainsResponse(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 = { - 'domain_list': 'list[EdgeDDoSDomainVo]', - 'total': 'int' - } - - attribute_map = { - 'domain_list': 'domain_list', - 'total': 'total' - } - - def __init__(self, domain_list=None, total=None): - """ListEdgeDDoSDomainsResponse - - The model defined in huaweicloud sdk - - :param domain_list: 域名列表 - :type domain_list: list[:class:`huaweicloudsdkedgesec.v1.EdgeDDoSDomainVo`] - :param total: 域名总条目 - :type total: int - """ - - super(ListEdgeDDoSDomainsResponse, self).__init__() - - self._domain_list = None - self._total = None - self.discriminator = None - - if domain_list is not None: - self.domain_list = domain_list - if total is not None: - self.total = total - - @property - def domain_list(self): - """Gets the domain_list of this ListEdgeDDoSDomainsResponse. - - 域名列表 - - :return: The domain_list of this ListEdgeDDoSDomainsResponse. - :rtype: list[:class:`huaweicloudsdkedgesec.v1.EdgeDDoSDomainVo`] - """ - return self._domain_list - - @domain_list.setter - def domain_list(self, domain_list): - """Sets the domain_list of this ListEdgeDDoSDomainsResponse. - - 域名列表 - - :param domain_list: The domain_list of this ListEdgeDDoSDomainsResponse. - :type domain_list: list[:class:`huaweicloudsdkedgesec.v1.EdgeDDoSDomainVo`] - """ - self._domain_list = domain_list - - @property - def total(self): - """Gets the total of this ListEdgeDDoSDomainsResponse. - - 域名总条目 - - :return: The total of this ListEdgeDDoSDomainsResponse. - :rtype: int - """ - return self._total - - @total.setter - def total(self, total): - """Sets the total of this ListEdgeDDoSDomainsResponse. - - 域名总条目 - - :param total: The total of this ListEdgeDDoSDomainsResponse. - :type total: int - """ - self._total = total - - 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, ListEdgeDDoSDomainsResponse): - 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-edgesec/huaweicloudsdkedgesec/v1/model/list_edge_sec_subscription_request.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/list_edge_sec_subscription_request.py deleted file mode 100644 index 7c5f53cdf2..0000000000 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/list_edge_sec_subscription_request.py +++ /dev/null @@ -1,115 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ListEdgeSecSubscriptionRequest: - - """ - 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 = { - 'enterprise_project_id': 'str' - } - - attribute_map = { - 'enterprise_project_id': 'enterprise_project_id' - } - - def __init__(self, enterprise_project_id=None): - """ListEdgeSecSubscriptionRequest - - The model defined in huaweicloud sdk - - :param enterprise_project_id: 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - :type enterprise_project_id: str - """ - - - - self._enterprise_project_id = None - self.discriminator = None - - if enterprise_project_id is not None: - self.enterprise_project_id = enterprise_project_id - - @property - def enterprise_project_id(self): - """Gets the enterprise_project_id of this ListEdgeSecSubscriptionRequest. - - 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - - :return: The enterprise_project_id of this ListEdgeSecSubscriptionRequest. - :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 ListEdgeSecSubscriptionRequest. - - 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - - :param enterprise_project_id: The enterprise_project_id of this ListEdgeSecSubscriptionRequest. - :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, ListEdgeSecSubscriptionRequest): - 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-edgesec/huaweicloudsdkedgesec/v1/model/list_edge_sec_subscription_response.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/list_edge_sec_subscription_response.py deleted file mode 100644 index 067e830bb6..0000000000 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/list_edge_sec_subscription_response.py +++ /dev/null @@ -1,203 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ListEdgeSecSubscriptionResponse(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 = { - 'waf_domain_num': 'int', - 'waf_rule_num': 'int', - 'ddos_domain_num': 'int', - 'product_infos': 'list[EdgeSecProductResource]' - } - - attribute_map = { - 'waf_domain_num': 'waf_domain_num', - 'waf_rule_num': 'waf_rule_num', - 'ddos_domain_num': 'ddos_domain_num', - 'product_infos': 'product_infos' - } - - def __init__(self, waf_domain_num=None, waf_rule_num=None, ddos_domain_num=None, product_infos=None): - """ListEdgeSecSubscriptionResponse - - The model defined in huaweicloud sdk - - :param waf_domain_num: 已经添加的WAF防护域名数量 - :type waf_domain_num: int - :param waf_rule_num: 已经添加的WAF IP黑白规则数量 - :type waf_rule_num: int - :param ddos_domain_num: 已经添加的DDoS防护域名数量 - :type ddos_domain_num: int - :param product_infos: 产品信息 - :type product_infos: list[:class:`huaweicloudsdkedgesec.v1.EdgeSecProductResource`] - """ - - super(ListEdgeSecSubscriptionResponse, self).__init__() - - self._waf_domain_num = None - self._waf_rule_num = None - self._ddos_domain_num = None - self._product_infos = None - self.discriminator = None - - if waf_domain_num is not None: - self.waf_domain_num = waf_domain_num - if waf_rule_num is not None: - self.waf_rule_num = waf_rule_num - if ddos_domain_num is not None: - self.ddos_domain_num = ddos_domain_num - if product_infos is not None: - self.product_infos = product_infos - - @property - def waf_domain_num(self): - """Gets the waf_domain_num of this ListEdgeSecSubscriptionResponse. - - 已经添加的WAF防护域名数量 - - :return: The waf_domain_num of this ListEdgeSecSubscriptionResponse. - :rtype: int - """ - return self._waf_domain_num - - @waf_domain_num.setter - def waf_domain_num(self, waf_domain_num): - """Sets the waf_domain_num of this ListEdgeSecSubscriptionResponse. - - 已经添加的WAF防护域名数量 - - :param waf_domain_num: The waf_domain_num of this ListEdgeSecSubscriptionResponse. - :type waf_domain_num: int - """ - self._waf_domain_num = waf_domain_num - - @property - def waf_rule_num(self): - """Gets the waf_rule_num of this ListEdgeSecSubscriptionResponse. - - 已经添加的WAF IP黑白规则数量 - - :return: The waf_rule_num of this ListEdgeSecSubscriptionResponse. - :rtype: int - """ - return self._waf_rule_num - - @waf_rule_num.setter - def waf_rule_num(self, waf_rule_num): - """Sets the waf_rule_num of this ListEdgeSecSubscriptionResponse. - - 已经添加的WAF IP黑白规则数量 - - :param waf_rule_num: The waf_rule_num of this ListEdgeSecSubscriptionResponse. - :type waf_rule_num: int - """ - self._waf_rule_num = waf_rule_num - - @property - def ddos_domain_num(self): - """Gets the ddos_domain_num of this ListEdgeSecSubscriptionResponse. - - 已经添加的DDoS防护域名数量 - - :return: The ddos_domain_num of this ListEdgeSecSubscriptionResponse. - :rtype: int - """ - return self._ddos_domain_num - - @ddos_domain_num.setter - def ddos_domain_num(self, ddos_domain_num): - """Sets the ddos_domain_num of this ListEdgeSecSubscriptionResponse. - - 已经添加的DDoS防护域名数量 - - :param ddos_domain_num: The ddos_domain_num of this ListEdgeSecSubscriptionResponse. - :type ddos_domain_num: int - """ - self._ddos_domain_num = ddos_domain_num - - @property - def product_infos(self): - """Gets the product_infos of this ListEdgeSecSubscriptionResponse. - - 产品信息 - - :return: The product_infos of this ListEdgeSecSubscriptionResponse. - :rtype: list[:class:`huaweicloudsdkedgesec.v1.EdgeSecProductResource`] - """ - return self._product_infos - - @product_infos.setter - def product_infos(self, product_infos): - """Sets the product_infos of this ListEdgeSecSubscriptionResponse. - - 产品信息 - - :param product_infos: The product_infos of this ListEdgeSecSubscriptionResponse. - :type product_infos: list[:class:`huaweicloudsdkedgesec.v1.EdgeSecProductResource`] - """ - self._product_infos = product_infos - - 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, ListEdgeSecSubscriptionResponse): - 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-edgesec/huaweicloudsdkedgesec/v1/model/list_edge_waf_domains_request.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/list_edge_waf_domains_request.py deleted file mode 100644 index 3b6374b560..0000000000 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/list_edge_waf_domains_request.py +++ /dev/null @@ -1,231 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ListEdgeWafDomainsRequest: - - """ - 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 = { - 'page_num': 'int', - 'page_size': 'int', - 'domain_name': 'str', - 'enterprise_project_id': 'str', - 'type': 'str' - } - - attribute_map = { - 'page_num': 'page_num', - 'page_size': 'page_size', - 'domain_name': 'domain_name', - 'enterprise_project_id': 'enterprise_project_id', - 'type': 'type' - } - - def __init__(self, page_num=None, page_size=None, domain_name=None, enterprise_project_id=None, type=None): - """ListEdgeWafDomainsRequest - - The model defined in huaweicloud sdk - - :param page_num: 页码, 0全查 - :type page_num: int - :param page_size: 每页显示的条目数量, waf每批最大查询数量为100 - :type page_size: int - :param domain_name: 域名 - :type domain_name: str - :param enterprise_project_id: 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - :type enterprise_project_id: str - :param type: waf域名配置类别 0 基础信息,1 waf防护配置信息 - :type type: str - """ - - - - self._page_num = None - self._page_size = None - self._domain_name = None - self._enterprise_project_id = None - self._type = None - self.discriminator = None - - if page_num is not None: - self.page_num = page_num - if page_size is not None: - self.page_size = page_size - 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 type is not None: - self.type = type - - @property - def page_num(self): - """Gets the page_num of this ListEdgeWafDomainsRequest. - - 页码, 0全查 - - :return: The page_num of this ListEdgeWafDomainsRequest. - :rtype: int - """ - return self._page_num - - @page_num.setter - def page_num(self, page_num): - """Sets the page_num of this ListEdgeWafDomainsRequest. - - 页码, 0全查 - - :param page_num: The page_num of this ListEdgeWafDomainsRequest. - :type page_num: int - """ - self._page_num = page_num - - @property - def page_size(self): - """Gets the page_size of this ListEdgeWafDomainsRequest. - - 每页显示的条目数量, waf每批最大查询数量为100 - - :return: The page_size of this ListEdgeWafDomainsRequest. - :rtype: int - """ - return self._page_size - - @page_size.setter - def page_size(self, page_size): - """Sets the page_size of this ListEdgeWafDomainsRequest. - - 每页显示的条目数量, waf每批最大查询数量为100 - - :param page_size: The page_size of this ListEdgeWafDomainsRequest. - :type page_size: int - """ - self._page_size = page_size - - @property - def domain_name(self): - """Gets the domain_name of this ListEdgeWafDomainsRequest. - - 域名 - - :return: The domain_name of this ListEdgeWafDomainsRequest. - :rtype: str - """ - return self._domain_name - - @domain_name.setter - def domain_name(self, domain_name): - """Sets the domain_name of this ListEdgeWafDomainsRequest. - - 域名 - - :param domain_name: The domain_name of this ListEdgeWafDomainsRequest. - :type domain_name: str - """ - self._domain_name = domain_name - - @property - def enterprise_project_id(self): - """Gets the enterprise_project_id of this ListEdgeWafDomainsRequest. - - 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - - :return: The enterprise_project_id of this ListEdgeWafDomainsRequest. - :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 ListEdgeWafDomainsRequest. - - 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - - :param enterprise_project_id: The enterprise_project_id of this ListEdgeWafDomainsRequest. - :type enterprise_project_id: str - """ - self._enterprise_project_id = enterprise_project_id - - @property - def type(self): - """Gets the type of this ListEdgeWafDomainsRequest. - - waf域名配置类别 0 基础信息,1 waf防护配置信息 - - :return: The type of this ListEdgeWafDomainsRequest. - :rtype: str - """ - return self._type - - @type.setter - def type(self, type): - """Sets the type of this ListEdgeWafDomainsRequest. - - waf域名配置类别 0 基础信息,1 waf防护配置信息 - - :param type: The type of this ListEdgeWafDomainsRequest. - :type type: str - """ - self._type = type - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - if attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - if six.PY2: - import sys - reload(sys) - sys.setdefaultencoding("utf-8") - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ListEdgeWafDomainsRequest): - 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-edgesec/huaweicloudsdkedgesec/v1/model/list_policy_request.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/list_policy_request.py deleted file mode 100644 index ece9578600..0000000000 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/list_policy_request.py +++ /dev/null @@ -1,230 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ListPolicyRequest: - - """ - 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', - 'enterprise_project_id': 'str', - 'page': 'int', - 'pagesize': 'int', - 'name': 'str' - } - - attribute_map = { - 'project_id': 'project_id', - 'enterprise_project_id': 'enterprise_project_id', - 'page': 'page', - 'pagesize': 'pagesize', - 'name': 'name' - } - - def __init__(self, project_id=None, enterprise_project_id=None, page=None, pagesize=None, name=None): - """ListPolicyRequest - - The model defined in huaweicloud sdk - - :param project_id: 项目ID,对应华为云控制台用户名->我的凭证->项目列表->项目ID - :type project_id: str - :param enterprise_project_id: 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - :type enterprise_project_id: str - :param page: 分页查询时,返回第几页数据。默认值为1,表示返回第1页数据。 - :type page: int - :param pagesize: 分页查询时,每页包含多少条结果。范围1-100,默认值为10,表示每页包含10条结果。 - :type pagesize: int - :param name: 策略名称 - :type name: str - """ - - - - self._project_id = None - self._enterprise_project_id = None - self._page = None - self._pagesize = None - self._name = None - self.discriminator = None - - self.project_id = project_id - if enterprise_project_id is not None: - self.enterprise_project_id = enterprise_project_id - if page is not None: - self.page = page - if pagesize is not None: - self.pagesize = pagesize - if name is not None: - self.name = name - - @property - def project_id(self): - """Gets the project_id of this ListPolicyRequest. - - 项目ID,对应华为云控制台用户名->我的凭证->项目列表->项目ID - - :return: The project_id of this ListPolicyRequest. - :rtype: str - """ - return self._project_id - - @project_id.setter - def project_id(self, project_id): - """Sets the project_id of this ListPolicyRequest. - - 项目ID,对应华为云控制台用户名->我的凭证->项目列表->项目ID - - :param project_id: The project_id of this ListPolicyRequest. - :type project_id: str - """ - self._project_id = project_id - - @property - def enterprise_project_id(self): - """Gets the enterprise_project_id of this ListPolicyRequest. - - 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - - :return: The enterprise_project_id of this ListPolicyRequest. - :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 ListPolicyRequest. - - 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - - :param enterprise_project_id: The enterprise_project_id of this ListPolicyRequest. - :type enterprise_project_id: str - """ - self._enterprise_project_id = enterprise_project_id - - @property - def page(self): - """Gets the page of this ListPolicyRequest. - - 分页查询时,返回第几页数据。默认值为1,表示返回第1页数据。 - - :return: The page of this ListPolicyRequest. - :rtype: int - """ - return self._page - - @page.setter - def page(self, page): - """Sets the page of this ListPolicyRequest. - - 分页查询时,返回第几页数据。默认值为1,表示返回第1页数据。 - - :param page: The page of this ListPolicyRequest. - :type page: int - """ - self._page = page - - @property - def pagesize(self): - """Gets the pagesize of this ListPolicyRequest. - - 分页查询时,每页包含多少条结果。范围1-100,默认值为10,表示每页包含10条结果。 - - :return: The pagesize of this ListPolicyRequest. - :rtype: int - """ - return self._pagesize - - @pagesize.setter - def pagesize(self, pagesize): - """Sets the pagesize of this ListPolicyRequest. - - 分页查询时,每页包含多少条结果。范围1-100,默认值为10,表示每页包含10条结果。 - - :param pagesize: The pagesize of this ListPolicyRequest. - :type pagesize: int - """ - self._pagesize = pagesize - - @property - def name(self): - """Gets the name of this ListPolicyRequest. - - 策略名称 - - :return: The name of this ListPolicyRequest. - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this ListPolicyRequest. - - 策略名称 - - :param name: The name of this ListPolicyRequest. - :type name: str - """ - self._name = name - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.openapi_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - if attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - if six.PY2: - import sys - reload(sys) - sys.setdefaultencoding("utf-8") - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ListPolicyRequest): - 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-edgesec/huaweicloudsdkedgesec/v1/model/list_policy_response.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/list_policy_response.py deleted file mode 100644 index 112a07a394..0000000000 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/list_policy_response.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ListPolicyResponse(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', - 'items': 'list[PolicyResponse]' - } - - attribute_map = { - 'total': 'total', - 'items': 'items' - } - - def __init__(self, total=None, items=None): - """ListPolicyResponse - - The model defined in huaweicloud sdk - - :param total: 防护策略的数量 - :type total: int - :param items: 防护策略的具体内容 - :type items: list[:class:`huaweicloudsdkedgesec.v1.PolicyResponse`] - """ - - super(ListPolicyResponse, self).__init__() - - self._total = None - self._items = None - self.discriminator = None - - if total is not None: - self.total = total - if items is not None: - self.items = items - - @property - def total(self): - """Gets the total of this ListPolicyResponse. - - 防护策略的数量 - - :return: The total of this ListPolicyResponse. - :rtype: int - """ - return self._total - - @total.setter - def total(self, total): - """Sets the total of this ListPolicyResponse. - - 防护策略的数量 - - :param total: The total of this ListPolicyResponse. - :type total: int - """ - self._total = total - - @property - def items(self): - """Gets the items of this ListPolicyResponse. - - 防护策略的具体内容 - - :return: The items of this ListPolicyResponse. - :rtype: list[:class:`huaweicloudsdkedgesec.v1.PolicyResponse`] - """ - return self._items - - @items.setter - def items(self, items): - """Sets the items of this ListPolicyResponse. - - 防护策略的具体内容 - - :param items: The items of this ListPolicyResponse. - :type items: list[:class:`huaweicloudsdkedgesec.v1.PolicyResponse`] - """ - self._items = items - - 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, ListPolicyResponse): - 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-edgesec/huaweicloudsdkedgesec/v1/model/policy_option.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/policy_option.py deleted file mode 100644 index ca9bc67593..0000000000 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/policy_option.py +++ /dev/null @@ -1,608 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class PolicyOption: - - """ - 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 = { - 'webattack': 'bool', - 'common': 'bool', - 'crawler': 'bool', - 'crawler_engine': 'bool', - 'crawler_scanner': 'bool', - 'crawler_script': 'bool', - 'crawler_other': 'bool', - 'webshell': 'bool', - 'cc': 'bool', - 'custom': 'bool', - 'whiteblackip': 'bool', - 'geoip': 'bool', - 'ignore': 'bool', - 'privacy': 'bool', - 'antitamper': 'bool', - 'antileakage': 'bool', - 'bot_enable': 'bool', - 'modulex_enabled': 'bool' - } - - attribute_map = { - 'webattack': 'webattack', - 'common': 'common', - 'crawler': 'crawler', - 'crawler_engine': 'crawler_engine', - 'crawler_scanner': 'crawler_scanner', - 'crawler_script': 'crawler_script', - 'crawler_other': 'crawler_other', - 'webshell': 'webshell', - 'cc': 'cc', - 'custom': 'custom', - 'whiteblackip': 'whiteblackip', - 'geoip': 'geoip', - 'ignore': 'ignore', - 'privacy': 'privacy', - 'antitamper': 'antitamper', - 'antileakage': 'antileakage', - 'bot_enable': 'bot_enable', - 'modulex_enabled': 'modulex_enabled' - } - - def __init__(self, webattack=None, common=None, crawler=None, crawler_engine=None, crawler_scanner=None, crawler_script=None, crawler_other=None, webshell=None, cc=None, custom=None, whiteblackip=None, geoip=None, ignore=None, privacy=None, antitamper=None, antileakage=None, bot_enable=None, modulex_enabled=None): - """PolicyOption - - The model defined in huaweicloud sdk - - :param webattack: 基础防护是否开启 - :type webattack: bool - :param common: 常规检测是否开启 - :type common: bool - :param crawler: 预留参数,改参数值一直为true,用户可忽略该参数值 - :type crawler: bool - :param crawler_engine: 搜索engine是否开启 - :type crawler_engine: bool - :param crawler_scanner: 反爬虫检测是否开启 - :type crawler_scanner: bool - :param crawler_script: 脚本反爬虫是否开启 - :type crawler_script: bool - :param crawler_other: 其他爬虫是否开启 - :type crawler_other: bool - :param webshell: Webshell检测是否开启 - :type webshell: bool - :param cc: cc规则是否开启 - :type cc: bool - :param custom: 精准防护是否开启 - :type custom: bool - :param whiteblackip: 黑白名单防护是否开启 - :type whiteblackip: bool - :param geoip: 地理位置访问控制规则是否开启 - :type geoip: bool - :param ignore: 误报屏蔽是否开启 - :type ignore: bool - :param privacy: 隐私屏蔽是否开启 - :type privacy: bool - :param antitamper: 网页防篡改规则是否开启 - :type antitamper: bool - :param antileakage: 防敏感信息泄露规则是否开启 - :type antileakage: bool - :param bot_enable: 网站反爬虫总开关是否开启 - :type bot_enable: bool - :param modulex_enabled: modulex智能cc防护是否开启,该特性是公测特性,在公测期间,只支持仅记录模式。 - :type modulex_enabled: bool - """ - - - - self._webattack = None - self._common = None - self._crawler = None - self._crawler_engine = None - self._crawler_scanner = None - self._crawler_script = None - self._crawler_other = None - self._webshell = None - self._cc = None - self._custom = None - self._whiteblackip = None - self._geoip = None - self._ignore = None - self._privacy = None - self._antitamper = None - self._antileakage = None - self._bot_enable = None - self._modulex_enabled = None - self.discriminator = None - - if webattack is not None: - self.webattack = webattack - if common is not None: - self.common = common - if crawler is not None: - self.crawler = crawler - if crawler_engine is not None: - self.crawler_engine = crawler_engine - if crawler_scanner is not None: - self.crawler_scanner = crawler_scanner - if crawler_script is not None: - self.crawler_script = crawler_script - if crawler_other is not None: - self.crawler_other = crawler_other - if webshell is not None: - self.webshell = webshell - if cc is not None: - self.cc = cc - if custom is not None: - self.custom = custom - if whiteblackip is not None: - self.whiteblackip = whiteblackip - if geoip is not None: - self.geoip = geoip - if ignore is not None: - self.ignore = ignore - if privacy is not None: - self.privacy = privacy - if antitamper is not None: - self.antitamper = antitamper - if antileakage is not None: - self.antileakage = antileakage - if bot_enable is not None: - self.bot_enable = bot_enable - if modulex_enabled is not None: - self.modulex_enabled = modulex_enabled - - @property - def webattack(self): - """Gets the webattack of this PolicyOption. - - 基础防护是否开启 - - :return: The webattack of this PolicyOption. - :rtype: bool - """ - return self._webattack - - @webattack.setter - def webattack(self, webattack): - """Sets the webattack of this PolicyOption. - - 基础防护是否开启 - - :param webattack: The webattack of this PolicyOption. - :type webattack: bool - """ - self._webattack = webattack - - @property - def common(self): - """Gets the common of this PolicyOption. - - 常规检测是否开启 - - :return: The common of this PolicyOption. - :rtype: bool - """ - return self._common - - @common.setter - def common(self, common): - """Sets the common of this PolicyOption. - - 常规检测是否开启 - - :param common: The common of this PolicyOption. - :type common: bool - """ - self._common = common - - @property - def crawler(self): - """Gets the crawler of this PolicyOption. - - 预留参数,改参数值一直为true,用户可忽略该参数值 - - :return: The crawler of this PolicyOption. - :rtype: bool - """ - return self._crawler - - @crawler.setter - def crawler(self, crawler): - """Sets the crawler of this PolicyOption. - - 预留参数,改参数值一直为true,用户可忽略该参数值 - - :param crawler: The crawler of this PolicyOption. - :type crawler: bool - """ - self._crawler = crawler - - @property - def crawler_engine(self): - """Gets the crawler_engine of this PolicyOption. - - 搜索engine是否开启 - - :return: The crawler_engine of this PolicyOption. - :rtype: bool - """ - return self._crawler_engine - - @crawler_engine.setter - def crawler_engine(self, crawler_engine): - """Sets the crawler_engine of this PolicyOption. - - 搜索engine是否开启 - - :param crawler_engine: The crawler_engine of this PolicyOption. - :type crawler_engine: bool - """ - self._crawler_engine = crawler_engine - - @property - def crawler_scanner(self): - """Gets the crawler_scanner of this PolicyOption. - - 反爬虫检测是否开启 - - :return: The crawler_scanner of this PolicyOption. - :rtype: bool - """ - return self._crawler_scanner - - @crawler_scanner.setter - def crawler_scanner(self, crawler_scanner): - """Sets the crawler_scanner of this PolicyOption. - - 反爬虫检测是否开启 - - :param crawler_scanner: The crawler_scanner of this PolicyOption. - :type crawler_scanner: bool - """ - self._crawler_scanner = crawler_scanner - - @property - def crawler_script(self): - """Gets the crawler_script of this PolicyOption. - - 脚本反爬虫是否开启 - - :return: The crawler_script of this PolicyOption. - :rtype: bool - """ - return self._crawler_script - - @crawler_script.setter - def crawler_script(self, crawler_script): - """Sets the crawler_script of this PolicyOption. - - 脚本反爬虫是否开启 - - :param crawler_script: The crawler_script of this PolicyOption. - :type crawler_script: bool - """ - self._crawler_script = crawler_script - - @property - def crawler_other(self): - """Gets the crawler_other of this PolicyOption. - - 其他爬虫是否开启 - - :return: The crawler_other of this PolicyOption. - :rtype: bool - """ - return self._crawler_other - - @crawler_other.setter - def crawler_other(self, crawler_other): - """Sets the crawler_other of this PolicyOption. - - 其他爬虫是否开启 - - :param crawler_other: The crawler_other of this PolicyOption. - :type crawler_other: bool - """ - self._crawler_other = crawler_other - - @property - def webshell(self): - """Gets the webshell of this PolicyOption. - - Webshell检测是否开启 - - :return: The webshell of this PolicyOption. - :rtype: bool - """ - return self._webshell - - @webshell.setter - def webshell(self, webshell): - """Sets the webshell of this PolicyOption. - - Webshell检测是否开启 - - :param webshell: The webshell of this PolicyOption. - :type webshell: bool - """ - self._webshell = webshell - - @property - def cc(self): - """Gets the cc of this PolicyOption. - - cc规则是否开启 - - :return: The cc of this PolicyOption. - :rtype: bool - """ - return self._cc - - @cc.setter - def cc(self, cc): - """Sets the cc of this PolicyOption. - - cc规则是否开启 - - :param cc: The cc of this PolicyOption. - :type cc: bool - """ - self._cc = cc - - @property - def custom(self): - """Gets the custom of this PolicyOption. - - 精准防护是否开启 - - :return: The custom of this PolicyOption. - :rtype: bool - """ - return self._custom - - @custom.setter - def custom(self, custom): - """Sets the custom of this PolicyOption. - - 精准防护是否开启 - - :param custom: The custom of this PolicyOption. - :type custom: bool - """ - self._custom = custom - - @property - def whiteblackip(self): - """Gets the whiteblackip of this PolicyOption. - - 黑白名单防护是否开启 - - :return: The whiteblackip of this PolicyOption. - :rtype: bool - """ - return self._whiteblackip - - @whiteblackip.setter - def whiteblackip(self, whiteblackip): - """Sets the whiteblackip of this PolicyOption. - - 黑白名单防护是否开启 - - :param whiteblackip: The whiteblackip of this PolicyOption. - :type whiteblackip: bool - """ - self._whiteblackip = whiteblackip - - @property - def geoip(self): - """Gets the geoip of this PolicyOption. - - 地理位置访问控制规则是否开启 - - :return: The geoip of this PolicyOption. - :rtype: bool - """ - return self._geoip - - @geoip.setter - def geoip(self, geoip): - """Sets the geoip of this PolicyOption. - - 地理位置访问控制规则是否开启 - - :param geoip: The geoip of this PolicyOption. - :type geoip: bool - """ - self._geoip = geoip - - @property - def ignore(self): - """Gets the ignore of this PolicyOption. - - 误报屏蔽是否开启 - - :return: The ignore of this PolicyOption. - :rtype: bool - """ - return self._ignore - - @ignore.setter - def ignore(self, ignore): - """Sets the ignore of this PolicyOption. - - 误报屏蔽是否开启 - - :param ignore: The ignore of this PolicyOption. - :type ignore: bool - """ - self._ignore = ignore - - @property - def privacy(self): - """Gets the privacy of this PolicyOption. - - 隐私屏蔽是否开启 - - :return: The privacy of this PolicyOption. - :rtype: bool - """ - return self._privacy - - @privacy.setter - def privacy(self, privacy): - """Sets the privacy of this PolicyOption. - - 隐私屏蔽是否开启 - - :param privacy: The privacy of this PolicyOption. - :type privacy: bool - """ - self._privacy = privacy - - @property - def antitamper(self): - """Gets the antitamper of this PolicyOption. - - 网页防篡改规则是否开启 - - :return: The antitamper of this PolicyOption. - :rtype: bool - """ - return self._antitamper - - @antitamper.setter - def antitamper(self, antitamper): - """Sets the antitamper of this PolicyOption. - - 网页防篡改规则是否开启 - - :param antitamper: The antitamper of this PolicyOption. - :type antitamper: bool - """ - self._antitamper = antitamper - - @property - def antileakage(self): - """Gets the antileakage of this PolicyOption. - - 防敏感信息泄露规则是否开启 - - :return: The antileakage of this PolicyOption. - :rtype: bool - """ - return self._antileakage - - @antileakage.setter - def antileakage(self, antileakage): - """Sets the antileakage of this PolicyOption. - - 防敏感信息泄露规则是否开启 - - :param antileakage: The antileakage of this PolicyOption. - :type antileakage: bool - """ - self._antileakage = antileakage - - @property - def bot_enable(self): - """Gets the bot_enable of this PolicyOption. - - 网站反爬虫总开关是否开启 - - :return: The bot_enable of this PolicyOption. - :rtype: bool - """ - return self._bot_enable - - @bot_enable.setter - def bot_enable(self, bot_enable): - """Sets the bot_enable of this PolicyOption. - - 网站反爬虫总开关是否开启 - - :param bot_enable: The bot_enable of this PolicyOption. - :type bot_enable: bool - """ - self._bot_enable = bot_enable - - @property - def modulex_enabled(self): - """Gets the modulex_enabled of this PolicyOption. - - modulex智能cc防护是否开启,该特性是公测特性,在公测期间,只支持仅记录模式。 - - :return: The modulex_enabled of this PolicyOption. - :rtype: bool - """ - return self._modulex_enabled - - @modulex_enabled.setter - def modulex_enabled(self, modulex_enabled): - """Sets the modulex_enabled of this PolicyOption. - - modulex智能cc防护是否开启,该特性是公测特性,在公测期间,只支持仅记录模式。 - - :param modulex_enabled: The modulex_enabled of this PolicyOption. - :type modulex_enabled: bool - """ - self._modulex_enabled = modulex_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, PolicyOption): - 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-edgesec/huaweicloudsdkedgesec/v1/model/policy_response.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/policy_response.py deleted file mode 100644 index 1c1b3431a4..0000000000 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/policy_response.py +++ /dev/null @@ -1,422 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class PolicyResponse: - - """ - 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', - 'level': 'int', - 'full_detection': 'bool', - 'robot_action': 'Action', - 'action': 'PolicyAction', - 'options': 'PolicyOption', - 'modulex_options': 'dict(str, object)', - 'hosts': 'list[str]', - 'bind_host': 'list[BindHost]', - 'extend': 'dict(str, str)', - 'timestamp': 'int' - } - - attribute_map = { - 'id': 'id', - 'name': 'name', - 'level': 'level', - 'full_detection': 'full_detection', - 'robot_action': 'robot_action', - 'action': 'action', - 'options': 'options', - 'modulex_options': 'modulex_options', - 'hosts': 'hosts', - 'bind_host': 'bind_host', - 'extend': 'extend', - 'timestamp': 'timestamp' - } - - def __init__(self, id=None, name=None, level=None, full_detection=None, robot_action=None, action=None, options=None, modulex_options=None, hosts=None, bind_host=None, extend=None, timestamp=None): - """PolicyResponse - - The model defined in huaweicloud sdk - - :param id: 防护策略id - :type id: str - :param name: 防护策略名 - :type name: str - :param level: Web基础防护等级 - 1 : 宽松,防护粒度较粗,只拦截攻击特征比较明显的请求。当误报情况较多的场景下,建议选择“宽松”模式。 - 2:中等,默认为“中等”防护模式,满足大多数场景下的Web防护需求。 - 3:严格,防护粒度最精细,可以拦截具有复杂的绕过特征的攻击请求,例如jolokia网络攻击、探测CGI漏洞、探测 Druid SQL注入攻击 - :type level: int - :param full_detection: 精准防护中的检测模式。 - false:短路检测,当用户的请求符合精准防护中的拦截条件时,便立刻终止检测,进行拦截 - true :全检测,请求符合精准防护中的拦截条件时,全检测不会立即拦截,会继续执行其他防护的检测,最后进行拦截。 - :type full_detection: bool - :param robot_action: - :type robot_action: :class:`huaweicloudsdkedgesec.v1.Action` - :param action: - :type action: :class:`huaweicloudsdkedgesec.v1.PolicyAction` - :param options: - :type options: :class:`huaweicloudsdkedgesec.v1.PolicyOption` - :param modulex_options: 智能访问控制防护项相关配置信息,目前该特性还处于公测阶段,只有部分局点支持该特性 - :type modulex_options: dict(str, object) - :param hosts: 与防护策略绑定的防护的域名id数组 - :type hosts: list[str] - :param bind_host: 与防护策略绑定的防护的域名信息数组,相对于hosts字段,包含更详细的域名信息 - :type bind_host: list[:class:`huaweicloudsdkedgesec.v1.BindHost`] - :param extend: 扩展字段,用于存放Web基础防护中一些开关配置等信息 - :type extend: dict(str, str) - :param timestamp: 创建防护策略的时间 - :type timestamp: int - """ - - - - self._id = None - self._name = None - self._level = None - self._full_detection = None - self._robot_action = None - self._action = None - self._options = None - self._modulex_options = None - self._hosts = None - self._bind_host = None - self._extend = None - self._timestamp = None - self.discriminator = None - - if id is not None: - self.id = id - if name is not None: - self.name = name - if level is not None: - self.level = level - if full_detection is not None: - self.full_detection = full_detection - if robot_action is not None: - self.robot_action = robot_action - if action is not None: - self.action = action - if options is not None: - self.options = options - if modulex_options is not None: - self.modulex_options = modulex_options - if hosts is not None: - self.hosts = hosts - if bind_host is not None: - self.bind_host = bind_host - if extend is not None: - self.extend = extend - if timestamp is not None: - self.timestamp = timestamp - - @property - def id(self): - """Gets the id of this PolicyResponse. - - 防护策略id - - :return: The id of this PolicyResponse. - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this PolicyResponse. - - 防护策略id - - :param id: The id of this PolicyResponse. - :type id: str - """ - self._id = id - - @property - def name(self): - """Gets the name of this PolicyResponse. - - 防护策略名 - - :return: The name of this PolicyResponse. - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this PolicyResponse. - - 防护策略名 - - :param name: The name of this PolicyResponse. - :type name: str - """ - self._name = name - - @property - def level(self): - """Gets the level of this PolicyResponse. - - Web基础防护等级 - 1 : 宽松,防护粒度较粗,只拦截攻击特征比较明显的请求。当误报情况较多的场景下,建议选择“宽松”模式。 - 2:中等,默认为“中等”防护模式,满足大多数场景下的Web防护需求。 - 3:严格,防护粒度最精细,可以拦截具有复杂的绕过特征的攻击请求,例如jolokia网络攻击、探测CGI漏洞、探测 Druid SQL注入攻击 - - :return: The level of this PolicyResponse. - :rtype: int - """ - return self._level - - @level.setter - def level(self, level): - """Sets the level of this PolicyResponse. - - Web基础防护等级 - 1 : 宽松,防护粒度较粗,只拦截攻击特征比较明显的请求。当误报情况较多的场景下,建议选择“宽松”模式。 - 2:中等,默认为“中等”防护模式,满足大多数场景下的Web防护需求。 - 3:严格,防护粒度最精细,可以拦截具有复杂的绕过特征的攻击请求,例如jolokia网络攻击、探测CGI漏洞、探测 Druid SQL注入攻击 - - :param level: The level of this PolicyResponse. - :type level: int - """ - self._level = level - - @property - def full_detection(self): - """Gets the full_detection of this PolicyResponse. - - 精准防护中的检测模式。 - false:短路检测,当用户的请求符合精准防护中的拦截条件时,便立刻终止检测,进行拦截 - true :全检测,请求符合精准防护中的拦截条件时,全检测不会立即拦截,会继续执行其他防护的检测,最后进行拦截。 - - :return: The full_detection of this PolicyResponse. - :rtype: bool - """ - return self._full_detection - - @full_detection.setter - def full_detection(self, full_detection): - """Sets the full_detection of this PolicyResponse. - - 精准防护中的检测模式。 - false:短路检测,当用户的请求符合精准防护中的拦截条件时,便立刻终止检测,进行拦截 - true :全检测,请求符合精准防护中的拦截条件时,全检测不会立即拦截,会继续执行其他防护的检测,最后进行拦截。 - - :param full_detection: The full_detection of this PolicyResponse. - :type full_detection: bool - """ - self._full_detection = full_detection - - @property - def robot_action(self): - """Gets the robot_action of this PolicyResponse. - - :return: The robot_action of this PolicyResponse. - :rtype: :class:`huaweicloudsdkedgesec.v1.Action` - """ - return self._robot_action - - @robot_action.setter - def robot_action(self, robot_action): - """Sets the robot_action of this PolicyResponse. - - :param robot_action: The robot_action of this PolicyResponse. - :type robot_action: :class:`huaweicloudsdkedgesec.v1.Action` - """ - self._robot_action = robot_action - - @property - def action(self): - """Gets the action of this PolicyResponse. - - :return: The action of this PolicyResponse. - :rtype: :class:`huaweicloudsdkedgesec.v1.PolicyAction` - """ - return self._action - - @action.setter - def action(self, action): - """Sets the action of this PolicyResponse. - - :param action: The action of this PolicyResponse. - :type action: :class:`huaweicloudsdkedgesec.v1.PolicyAction` - """ - self._action = action - - @property - def options(self): - """Gets the options of this PolicyResponse. - - :return: The options of this PolicyResponse. - :rtype: :class:`huaweicloudsdkedgesec.v1.PolicyOption` - """ - return self._options - - @options.setter - def options(self, options): - """Sets the options of this PolicyResponse. - - :param options: The options of this PolicyResponse. - :type options: :class:`huaweicloudsdkedgesec.v1.PolicyOption` - """ - self._options = options - - @property - def modulex_options(self): - """Gets the modulex_options of this PolicyResponse. - - 智能访问控制防护项相关配置信息,目前该特性还处于公测阶段,只有部分局点支持该特性 - - :return: The modulex_options of this PolicyResponse. - :rtype: dict(str, object) - """ - return self._modulex_options - - @modulex_options.setter - def modulex_options(self, modulex_options): - """Sets the modulex_options of this PolicyResponse. - - 智能访问控制防护项相关配置信息,目前该特性还处于公测阶段,只有部分局点支持该特性 - - :param modulex_options: The modulex_options of this PolicyResponse. - :type modulex_options: dict(str, object) - """ - self._modulex_options = modulex_options - - @property - def hosts(self): - """Gets the hosts of this PolicyResponse. - - 与防护策略绑定的防护的域名id数组 - - :return: The hosts of this PolicyResponse. - :rtype: list[str] - """ - return self._hosts - - @hosts.setter - def hosts(self, hosts): - """Sets the hosts of this PolicyResponse. - - 与防护策略绑定的防护的域名id数组 - - :param hosts: The hosts of this PolicyResponse. - :type hosts: list[str] - """ - self._hosts = hosts - - @property - def bind_host(self): - """Gets the bind_host of this PolicyResponse. - - 与防护策略绑定的防护的域名信息数组,相对于hosts字段,包含更详细的域名信息 - - :return: The bind_host of this PolicyResponse. - :rtype: list[:class:`huaweicloudsdkedgesec.v1.BindHost`] - """ - return self._bind_host - - @bind_host.setter - def bind_host(self, bind_host): - """Sets the bind_host of this PolicyResponse. - - 与防护策略绑定的防护的域名信息数组,相对于hosts字段,包含更详细的域名信息 - - :param bind_host: The bind_host of this PolicyResponse. - :type bind_host: list[:class:`huaweicloudsdkedgesec.v1.BindHost`] - """ - self._bind_host = bind_host - - @property - def extend(self): - """Gets the extend of this PolicyResponse. - - 扩展字段,用于存放Web基础防护中一些开关配置等信息 - - :return: The extend of this PolicyResponse. - :rtype: dict(str, str) - """ - return self._extend - - @extend.setter - def extend(self, extend): - """Sets the extend of this PolicyResponse. - - 扩展字段,用于存放Web基础防护中一些开关配置等信息 - - :param extend: The extend of this PolicyResponse. - :type extend: dict(str, str) - """ - self._extend = extend - - @property - def timestamp(self): - """Gets the timestamp of this PolicyResponse. - - 创建防护策略的时间 - - :return: The timestamp of this PolicyResponse. - :rtype: int - """ - return self._timestamp - - @timestamp.setter - def timestamp(self, timestamp): - """Sets the timestamp of this PolicyResponse. - - 创建防护策略的时间 - - :param timestamp: The timestamp of this PolicyResponse. - :type timestamp: int - """ - self._timestamp = timestamp - - 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, PolicyResponse): - 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-edgesec/huaweicloudsdkedgesec/v1/model/show_cdn_domain_response_body.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/show_cdn_domain_response_body.py deleted file mode 100644 index 884aacbaa7..0000000000 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/show_cdn_domain_response_body.py +++ /dev/null @@ -1,401 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ShowCdnDomainResponseBody: - - """ - 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 = { - 'domain_name': 'str', - 'domain_status': 'str', - 'domain_id': 'str', - 'certificate_id': 'str', - 'service_area': 'str', - 'ipv6_accelerate': 'int', - 'business_type': 'str', - 'https_status': 'int', - 'force_redirect': 'int', - 'extended_tags': 'CdnDomainTags', - 'is_added': 'bool' - } - - attribute_map = { - 'domain_name': 'domain_name', - 'domain_status': 'domain_status', - 'domain_id': 'domain_id', - 'certificate_id': 'certificate_id', - 'service_area': 'service_area', - 'ipv6_accelerate': 'ipv6_accelerate', - 'business_type': 'business_type', - 'https_status': 'https_status', - 'force_redirect': 'force_redirect', - 'extended_tags': 'extended_tags', - 'is_added': 'is_added' - } - - def __init__(self, domain_name=None, domain_status=None, domain_id=None, certificate_id=None, service_area=None, ipv6_accelerate=None, business_type=None, https_status=None, force_redirect=None, extended_tags=None, is_added=None): - """ShowCdnDomainResponseBody - - The model defined in huaweicloud sdk - - :param domain_name: 域名 - :type domain_name: str - :param domain_status: 加速域名状态。取值意义: - online表示“已开启” - offline表示“已停用” - configuring表示“配置中” - configure_failed表示“配置失败” - checking表示“审核中” - check_failed表示“审核未通过” - deleting表示“删除中”。 - :type domain_status: str - :param domain_id: 域名id - :type domain_id: str - :param certificate_id: 域名使用的证书id - :type certificate_id: str - :param service_area: 域名业务区域 - :type service_area: str - :param ipv6_accelerate: 是否开启ipv6加速:0关闭/1开启 - :type ipv6_accelerate: int - :param business_type: 域名业务类型。取值意义: - web表示“网站加速” - download表示“文件下载加速” - video表示“点播加速” - wholeSite表示“全站加速” - :type business_type: str - :param https_status: 是否启用https:0关闭/1开启 - :type https_status: int - :param force_redirect: 强制重定向:0不开启重定向/1强制重定向为HTTP/2强制重定向为HTTPS - :type force_redirect: int - :param extended_tags: - :type extended_tags: :class:`huaweicloudsdkedgesec.v1.CdnDomainTags` - :param is_added: 是否为waf防护域名 - :type is_added: bool - """ - - - - self._domain_name = None - self._domain_status = None - self._domain_id = None - self._certificate_id = None - self._service_area = None - self._ipv6_accelerate = None - self._business_type = None - self._https_status = None - self._force_redirect = None - self._extended_tags = None - self._is_added = None - self.discriminator = None - - if domain_name is not None: - self.domain_name = domain_name - if domain_status is not None: - self.domain_status = domain_status - if domain_id is not None: - self.domain_id = domain_id - if certificate_id is not None: - self.certificate_id = certificate_id - if service_area is not None: - self.service_area = service_area - if ipv6_accelerate is not None: - self.ipv6_accelerate = ipv6_accelerate - if business_type is not None: - self.business_type = business_type - if https_status is not None: - self.https_status = https_status - if force_redirect is not None: - self.force_redirect = force_redirect - if extended_tags is not None: - self.extended_tags = extended_tags - if is_added is not None: - self.is_added = is_added - - @property - def domain_name(self): - """Gets the domain_name of this ShowCdnDomainResponseBody. - - 域名 - - :return: The domain_name of this ShowCdnDomainResponseBody. - :rtype: str - """ - return self._domain_name - - @domain_name.setter - def domain_name(self, domain_name): - """Sets the domain_name of this ShowCdnDomainResponseBody. - - 域名 - - :param domain_name: The domain_name of this ShowCdnDomainResponseBody. - :type domain_name: str - """ - self._domain_name = domain_name - - @property - def domain_status(self): - """Gets the domain_status of this ShowCdnDomainResponseBody. - - 加速域名状态。取值意义: - online表示“已开启” - offline表示“已停用” - configuring表示“配置中” - configure_failed表示“配置失败” - checking表示“审核中” - check_failed表示“审核未通过” - deleting表示“删除中”。 - - :return: The domain_status of this ShowCdnDomainResponseBody. - :rtype: str - """ - return self._domain_status - - @domain_status.setter - def domain_status(self, domain_status): - """Sets the domain_status of this ShowCdnDomainResponseBody. - - 加速域名状态。取值意义: - online表示“已开启” - offline表示“已停用” - configuring表示“配置中” - configure_failed表示“配置失败” - checking表示“审核中” - check_failed表示“审核未通过” - deleting表示“删除中”。 - - :param domain_status: The domain_status of this ShowCdnDomainResponseBody. - :type domain_status: str - """ - self._domain_status = domain_status - - @property - def domain_id(self): - """Gets the domain_id of this ShowCdnDomainResponseBody. - - 域名id - - :return: The domain_id of this ShowCdnDomainResponseBody. - :rtype: str - """ - return self._domain_id - - @domain_id.setter - def domain_id(self, domain_id): - """Sets the domain_id of this ShowCdnDomainResponseBody. - - 域名id - - :param domain_id: The domain_id of this ShowCdnDomainResponseBody. - :type domain_id: str - """ - self._domain_id = domain_id - - @property - def certificate_id(self): - """Gets the certificate_id of this ShowCdnDomainResponseBody. - - 域名使用的证书id - - :return: The certificate_id of this ShowCdnDomainResponseBody. - :rtype: str - """ - return self._certificate_id - - @certificate_id.setter - def certificate_id(self, certificate_id): - """Sets the certificate_id of this ShowCdnDomainResponseBody. - - 域名使用的证书id - - :param certificate_id: The certificate_id of this ShowCdnDomainResponseBody. - :type certificate_id: str - """ - self._certificate_id = certificate_id - - @property - def service_area(self): - """Gets the service_area of this ShowCdnDomainResponseBody. - - 域名业务区域 - - :return: The service_area of this ShowCdnDomainResponseBody. - :rtype: str - """ - return self._service_area - - @service_area.setter - def service_area(self, service_area): - """Sets the service_area of this ShowCdnDomainResponseBody. - - 域名业务区域 - - :param service_area: The service_area of this ShowCdnDomainResponseBody. - :type service_area: str - """ - self._service_area = service_area - - @property - def ipv6_accelerate(self): - """Gets the ipv6_accelerate of this ShowCdnDomainResponseBody. - - 是否开启ipv6加速:0关闭/1开启 - - :return: The ipv6_accelerate of this ShowCdnDomainResponseBody. - :rtype: int - """ - return self._ipv6_accelerate - - @ipv6_accelerate.setter - def ipv6_accelerate(self, ipv6_accelerate): - """Sets the ipv6_accelerate of this ShowCdnDomainResponseBody. - - 是否开启ipv6加速:0关闭/1开启 - - :param ipv6_accelerate: The ipv6_accelerate of this ShowCdnDomainResponseBody. - :type ipv6_accelerate: int - """ - self._ipv6_accelerate = ipv6_accelerate - - @property - def business_type(self): - """Gets the business_type of this ShowCdnDomainResponseBody. - - 域名业务类型。取值意义: - web表示“网站加速” - download表示“文件下载加速” - video表示“点播加速” - wholeSite表示“全站加速” - - :return: The business_type of this ShowCdnDomainResponseBody. - :rtype: str - """ - return self._business_type - - @business_type.setter - def business_type(self, business_type): - """Sets the business_type of this ShowCdnDomainResponseBody. - - 域名业务类型。取值意义: - web表示“网站加速” - download表示“文件下载加速” - video表示“点播加速” - wholeSite表示“全站加速” - - :param business_type: The business_type of this ShowCdnDomainResponseBody. - :type business_type: str - """ - self._business_type = business_type - - @property - def https_status(self): - """Gets the https_status of this ShowCdnDomainResponseBody. - - 是否启用https:0关闭/1开启 - - :return: The https_status of this ShowCdnDomainResponseBody. - :rtype: int - """ - return self._https_status - - @https_status.setter - def https_status(self, https_status): - """Sets the https_status of this ShowCdnDomainResponseBody. - - 是否启用https:0关闭/1开启 - - :param https_status: The https_status of this ShowCdnDomainResponseBody. - :type https_status: int - """ - self._https_status = https_status - - @property - def force_redirect(self): - """Gets the force_redirect of this ShowCdnDomainResponseBody. - - 强制重定向:0不开启重定向/1强制重定向为HTTP/2强制重定向为HTTPS - - :return: The force_redirect of this ShowCdnDomainResponseBody. - :rtype: int - """ - return self._force_redirect - - @force_redirect.setter - def force_redirect(self, force_redirect): - """Sets the force_redirect of this ShowCdnDomainResponseBody. - - 强制重定向:0不开启重定向/1强制重定向为HTTP/2强制重定向为HTTPS - - :param force_redirect: The force_redirect of this ShowCdnDomainResponseBody. - :type force_redirect: int - """ - self._force_redirect = force_redirect - - @property - def extended_tags(self): - """Gets the extended_tags of this ShowCdnDomainResponseBody. - - :return: The extended_tags of this ShowCdnDomainResponseBody. - :rtype: :class:`huaweicloudsdkedgesec.v1.CdnDomainTags` - """ - return self._extended_tags - - @extended_tags.setter - def extended_tags(self, extended_tags): - """Sets the extended_tags of this ShowCdnDomainResponseBody. - - :param extended_tags: The extended_tags of this ShowCdnDomainResponseBody. - :type extended_tags: :class:`huaweicloudsdkedgesec.v1.CdnDomainTags` - """ - self._extended_tags = extended_tags - - @property - def is_added(self): - """Gets the is_added of this ShowCdnDomainResponseBody. - - 是否为waf防护域名 - - :return: The is_added of this ShowCdnDomainResponseBody. - :rtype: bool - """ - return self._is_added - - @is_added.setter - def is_added(self, is_added): - """Sets the is_added of this ShowCdnDomainResponseBody. - - 是否为waf防护域名 - - :param is_added: The is_added of this ShowCdnDomainResponseBody. - :type is_added: bool - """ - self._is_added = is_added - - 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, ShowCdnDomainResponseBody): - 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-edgesec/huaweicloudsdkedgesec/v1/model/show_certificate_request.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/show_certificate_request.py deleted file mode 100644 index 49787a3d2e..0000000000 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/show_certificate_request.py +++ /dev/null @@ -1,171 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ShowCertificateRequest: - - """ - 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', - 'enterprise_project_id': 'str', - 'certificate_id': 'str' - } - - attribute_map = { - 'project_id': 'project_id', - 'enterprise_project_id': 'enterprise_project_id', - 'certificate_id': 'certificate_id' - } - - def __init__(self, project_id=None, enterprise_project_id=None, certificate_id=None): - """ShowCertificateRequest - - The model defined in huaweicloud sdk - - :param project_id: 项目ID,对应华为云控制台用户名->我的凭证->项目列表->项目ID - :type project_id: str - :param enterprise_project_id: 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - :type enterprise_project_id: str - :param certificate_id: https证书id,您可以通过调用查询证书列表(ListCertificates)接口获取证书id - :type certificate_id: str - """ - - - - self._project_id = None - self._enterprise_project_id = None - self._certificate_id = None - self.discriminator = None - - self.project_id = project_id - if enterprise_project_id is not None: - self.enterprise_project_id = enterprise_project_id - self.certificate_id = certificate_id - - @property - def project_id(self): - """Gets the project_id of this ShowCertificateRequest. - - 项目ID,对应华为云控制台用户名->我的凭证->项目列表->项目ID - - :return: The project_id of this ShowCertificateRequest. - :rtype: str - """ - return self._project_id - - @project_id.setter - def project_id(self, project_id): - """Sets the project_id of this ShowCertificateRequest. - - 项目ID,对应华为云控制台用户名->我的凭证->项目列表->项目ID - - :param project_id: The project_id of this ShowCertificateRequest. - :type project_id: str - """ - self._project_id = project_id - - @property - def enterprise_project_id(self): - """Gets the enterprise_project_id of this ShowCertificateRequest. - - 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - - :return: The enterprise_project_id of this ShowCertificateRequest. - :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 ShowCertificateRequest. - - 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - - :param enterprise_project_id: The enterprise_project_id of this ShowCertificateRequest. - :type enterprise_project_id: str - """ - self._enterprise_project_id = enterprise_project_id - - @property - def certificate_id(self): - """Gets the certificate_id of this ShowCertificateRequest. - - https证书id,您可以通过调用查询证书列表(ListCertificates)接口获取证书id - - :return: The certificate_id of this ShowCertificateRequest. - :rtype: str - """ - return self._certificate_id - - @certificate_id.setter - def certificate_id(self, certificate_id): - """Sets the certificate_id of this ShowCertificateRequest. - - https证书id,您可以通过调用查询证书列表(ListCertificates)接口获取证书id - - :param certificate_id: The certificate_id of this ShowCertificateRequest. - :type certificate_id: str - """ - self._certificate_id = certificate_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, ShowCertificateRequest): - 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-edgesec/huaweicloudsdkedgesec/v1/model/show_certificate_response.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/show_certificate_response.py deleted file mode 100644 index 709a79fc1d..0000000000 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/show_certificate_response.py +++ /dev/null @@ -1,319 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ShowCertificateResponse(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', - 'content': 'str', - 'key': 'str', - 'expire_time': 'int', - 'exp_status': 'int', - 'timestamp': 'int', - 'bind_host': 'list[BindHost]' - } - - attribute_map = { - 'id': 'id', - 'name': 'name', - 'content': 'content', - 'key': 'key', - 'expire_time': 'expire_time', - 'exp_status': 'exp_status', - 'timestamp': 'timestamp', - 'bind_host': 'bind_host' - } - - def __init__(self, id=None, name=None, content=None, key=None, expire_time=None, exp_status=None, timestamp=None, bind_host=None): - """ShowCertificateResponse - - The model defined in huaweicloud sdk - - :param id: 证书ID - :type id: str - :param name: 证书名 - :type name: str - :param content: 证书文件,PEM编码 - :type content: str - :param key: 证书私钥,PEM编码 - :type key: str - :param expire_time: 证书过期时间戳 - :type expire_time: int - :param exp_status: 证书过期状态,0-未过期,1-已过期,2-即将过期 - :type exp_status: int - :param timestamp: 证书上传时间戳 - :type timestamp: int - :param bind_host: 证书关联的域名信息 - :type bind_host: list[:class:`huaweicloudsdkedgesec.v1.BindHost`] - """ - - super(ShowCertificateResponse, self).__init__() - - self._id = None - self._name = None - self._content = None - self._key = None - self._expire_time = None - self._exp_status = None - self._timestamp = None - self._bind_host = None - self.discriminator = None - - if id is not None: - self.id = id - if name is not None: - self.name = name - if content is not None: - self.content = content - if key is not None: - self.key = key - if expire_time is not None: - self.expire_time = expire_time - if exp_status is not None: - self.exp_status = exp_status - if timestamp is not None: - self.timestamp = timestamp - if bind_host is not None: - self.bind_host = bind_host - - @property - def id(self): - """Gets the id of this ShowCertificateResponse. - - 证书ID - - :return: The id of this ShowCertificateResponse. - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this ShowCertificateResponse. - - 证书ID - - :param id: The id of this ShowCertificateResponse. - :type id: str - """ - self._id = id - - @property - def name(self): - """Gets the name of this ShowCertificateResponse. - - 证书名 - - :return: The name of this ShowCertificateResponse. - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this ShowCertificateResponse. - - 证书名 - - :param name: The name of this ShowCertificateResponse. - :type name: str - """ - self._name = name - - @property - def content(self): - """Gets the content of this ShowCertificateResponse. - - 证书文件,PEM编码 - - :return: The content of this ShowCertificateResponse. - :rtype: str - """ - return self._content - - @content.setter - def content(self, content): - """Sets the content of this ShowCertificateResponse. - - 证书文件,PEM编码 - - :param content: The content of this ShowCertificateResponse. - :type content: str - """ - self._content = content - - @property - def key(self): - """Gets the key of this ShowCertificateResponse. - - 证书私钥,PEM编码 - - :return: The key of this ShowCertificateResponse. - :rtype: str - """ - return self._key - - @key.setter - def key(self, key): - """Sets the key of this ShowCertificateResponse. - - 证书私钥,PEM编码 - - :param key: The key of this ShowCertificateResponse. - :type key: str - """ - self._key = key - - @property - def expire_time(self): - """Gets the expire_time of this ShowCertificateResponse. - - 证书过期时间戳 - - :return: The expire_time of this ShowCertificateResponse. - :rtype: int - """ - return self._expire_time - - @expire_time.setter - def expire_time(self, expire_time): - """Sets the expire_time of this ShowCertificateResponse. - - 证书过期时间戳 - - :param expire_time: The expire_time of this ShowCertificateResponse. - :type expire_time: int - """ - self._expire_time = expire_time - - @property - def exp_status(self): - """Gets the exp_status of this ShowCertificateResponse. - - 证书过期状态,0-未过期,1-已过期,2-即将过期 - - :return: The exp_status of this ShowCertificateResponse. - :rtype: int - """ - return self._exp_status - - @exp_status.setter - def exp_status(self, exp_status): - """Sets the exp_status of this ShowCertificateResponse. - - 证书过期状态,0-未过期,1-已过期,2-即将过期 - - :param exp_status: The exp_status of this ShowCertificateResponse. - :type exp_status: int - """ - self._exp_status = exp_status - - @property - def timestamp(self): - """Gets the timestamp of this ShowCertificateResponse. - - 证书上传时间戳 - - :return: The timestamp of this ShowCertificateResponse. - :rtype: int - """ - return self._timestamp - - @timestamp.setter - def timestamp(self, timestamp): - """Sets the timestamp of this ShowCertificateResponse. - - 证书上传时间戳 - - :param timestamp: The timestamp of this ShowCertificateResponse. - :type timestamp: int - """ - self._timestamp = timestamp - - @property - def bind_host(self): - """Gets the bind_host of this ShowCertificateResponse. - - 证书关联的域名信息 - - :return: The bind_host of this ShowCertificateResponse. - :rtype: list[:class:`huaweicloudsdkedgesec.v1.BindHost`] - """ - return self._bind_host - - @bind_host.setter - def bind_host(self, bind_host): - """Sets the bind_host of this ShowCertificateResponse. - - 证书关联的域名信息 - - :param bind_host: The bind_host of this ShowCertificateResponse. - :type bind_host: list[:class:`huaweicloudsdkedgesec.v1.BindHost`] - """ - self._bind_host = bind_host - - 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, ShowCertificateResponse): - 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-edgesec/huaweicloudsdkedgesec/v1/model/show_edge_waf_domains_request.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/show_edge_waf_domains_request.py deleted file mode 100644 index b865084349..0000000000 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/show_edge_waf_domains_request.py +++ /dev/null @@ -1,143 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ShowEdgeWafDomainsRequest: - - """ - 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 = { - 'domainid': 'str', - 'enterprise_project_id': 'str' - } - - attribute_map = { - 'domainid': 'domainid', - 'enterprise_project_id': 'enterprise_project_id' - } - - def __init__(self, domainid=None, enterprise_project_id=None): - """ShowEdgeWafDomainsRequest - - The model defined in huaweicloud sdk - - :param domainid: 防护域名id - :type domainid: str - :param enterprise_project_id: 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - :type enterprise_project_id: str - """ - - - - self._domainid = None - self._enterprise_project_id = None - self.discriminator = None - - self.domainid = domainid - if enterprise_project_id is not None: - self.enterprise_project_id = enterprise_project_id - - @property - def domainid(self): - """Gets the domainid of this ShowEdgeWafDomainsRequest. - - 防护域名id - - :return: The domainid of this ShowEdgeWafDomainsRequest. - :rtype: str - """ - return self._domainid - - @domainid.setter - def domainid(self, domainid): - """Sets the domainid of this ShowEdgeWafDomainsRequest. - - 防护域名id - - :param domainid: The domainid of this ShowEdgeWafDomainsRequest. - :type domainid: str - """ - self._domainid = domainid - - @property - def enterprise_project_id(self): - """Gets the enterprise_project_id of this ShowEdgeWafDomainsRequest. - - 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - - :return: The enterprise_project_id of this ShowEdgeWafDomainsRequest. - :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 ShowEdgeWafDomainsRequest. - - 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - - :param enterprise_project_id: The enterprise_project_id of this ShowEdgeWafDomainsRequest. - :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, ShowEdgeWafDomainsRequest): - 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-edgesec/huaweicloudsdkedgesec/v1/model/show_edge_waf_domains_response.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/show_edge_waf_domains_response.py deleted file mode 100644 index 57ed644900..0000000000 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/show_edge_waf_domains_response.py +++ /dev/null @@ -1,771 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ShowEdgeWafDomainsResponse(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', - 'domain_name': 'str', - 'enterprise_project_id': 'str', - 'tenant_id': 'str', - 'open_time': 'int', - 'close_time': 'int', - 'dispatch_status': 'int', - 'service_area': 'str', - 'web_tag': 'str', - 'description': 'str', - 'policy_id': 'str', - 'protocol': 'str', - 'certificate_id': 'str', - 'certificate_name': 'str', - 'tls': 'str', - 'cipher': 'str', - 'protect_status': 'int', - 'access_status': 'int', - 'create_time': 'int', - 'block_page': 'WafBlockPage', - 'traffic_mark': 'WafTrafficMark', - 'flag': 'Flag', - 'extend': 'dict(str, str)', - 'is_added': 'bool' - } - - attribute_map = { - 'id': 'id', - 'domain_name': 'domain_name', - 'enterprise_project_id': 'enterprise_project_id', - 'tenant_id': 'tenant_id', - 'open_time': 'open_time', - 'close_time': 'close_time', - 'dispatch_status': 'dispatch_status', - 'service_area': 'service_area', - 'web_tag': 'web_tag', - 'description': 'description', - 'policy_id': 'policy_id', - 'protocol': 'protocol', - 'certificate_id': 'certificate_id', - 'certificate_name': 'certificate_name', - 'tls': 'tls', - 'cipher': 'cipher', - 'protect_status': 'protect_status', - 'access_status': 'access_status', - 'create_time': 'create_time', - 'block_page': 'block_page', - 'traffic_mark': 'traffic_mark', - 'flag': 'flag', - 'extend': 'extend', - 'is_added': 'is_added' - } - - def __init__(self, id=None, domain_name=None, enterprise_project_id=None, tenant_id=None, open_time=None, close_time=None, dispatch_status=None, service_area=None, web_tag=None, description=None, policy_id=None, protocol=None, certificate_id=None, certificate_name=None, tls=None, cipher=None, protect_status=None, access_status=None, create_time=None, block_page=None, traffic_mark=None, flag=None, extend=None, is_added=None): - """ShowEdgeWafDomainsResponse - - The model defined in huaweicloud sdk - - :param id: 域名id - :type id: str - :param domain_name: 域名 - :type domain_name: str - :param enterprise_project_id: 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - :type enterprise_project_id: str - :param tenant_id: 租户ID - :type tenant_id: str - :param open_time: 上一次开启防护的时间 - :type open_time: int - :param close_time: 上一次关闭防护的时间 - :type close_time: int - :param dispatch_status: cdn域名调度情况(0:未防护,1:配置中,2:已防护,3:删除中) - :type dispatch_status: int - :param service_area: 域名在CDN所属区域 - :type service_area: str - :param web_tag: 域名名称 - :type web_tag: str - :param description: 域名描述 - :type description: str - :param policy_id: 策略id - :type policy_id: str - :param protocol: 协议 - :type protocol: str - :param certificate_id: 证书id - :type certificate_id: str - :param certificate_name: 证书名称 - :type certificate_name: str - :param tls: 配置的最低TLS版本(TLS v1.0/TLS v1.1/TLS v1.2),默认为TLS v1.0版本,对外协议为https时才有tls参数 - :type tls: str - :param cipher: 对外协议为https时才有cipher参数,加密套件(cipher_1,cipher_2,cipher_3,cipher_4,cipher_default): - cipher_1: 加密算法为ECDHE-ECDSA-AES256-GCM-SHA384:HIGH:!MEDIUM:!LOW:!aNULL:!eNULL:!DES:!MD5:!PSK:!RC4:!kRSA:!SRP:!3DES:!DSS:!EXP:!CAMELLIA:@STRENGTH - cipher_2:加密算法为EECDH+AESGCM:EDH+AESGCM - cipher_3:加密算法为ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384:RC4:HIGH:!MD5:!aNULL:!eNULL:!NULL:!DH:!EDH - cipher_4:加密算法为ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-SHA384:AES256-SHA256:RC4:HIGH:!MD5:!aNULL:!eNULL:!NULL:!EDH - cipher_default: 加密算法为ECDHE-RSA-AES256-SHA384:AES256-SHA256:RC4:HIGH:!MD5:!aNULL:!eNULL:!NULL:!DH:!EDH:!AESGCM - :type cipher: str - :param protect_status: 防护状态: - 0-关闭 - 1-开启 - :type protect_status: int - :param access_status: 接入状态: - 0-未接入 - 1-已接入 - :type access_status: int - :param create_time: 创建域名的时间,13位时间戳 - :type create_time: int - :param block_page: - :type block_page: :class:`huaweicloudsdkedgesec.v1.WafBlockPage` - :param traffic_mark: - :type traffic_mark: :class:`huaweicloudsdkedgesec.v1.WafTrafficMark` - :param flag: - :type flag: :class:`huaweicloudsdkedgesec.v1.Flag` - :param extend: 域名可扩展属性 - :type extend: dict(str, str) - :param is_added: 是否为ddos防护域名 - :type is_added: bool - """ - - super(ShowEdgeWafDomainsResponse, self).__init__() - - self._id = None - self._domain_name = None - self._enterprise_project_id = None - self._tenant_id = None - self._open_time = None - self._close_time = None - self._dispatch_status = None - self._service_area = None - self._web_tag = None - self._description = None - self._policy_id = None - self._protocol = None - self._certificate_id = None - self._certificate_name = None - self._tls = None - self._cipher = None - self._protect_status = None - self._access_status = None - self._create_time = None - self._block_page = None - self._traffic_mark = None - self._flag = None - self._extend = None - self._is_added = None - self.discriminator = None - - if id is not None: - self.id = 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 tenant_id is not None: - self.tenant_id = tenant_id - if open_time is not None: - self.open_time = open_time - if close_time is not None: - self.close_time = close_time - if dispatch_status is not None: - self.dispatch_status = dispatch_status - if service_area is not None: - self.service_area = service_area - if web_tag is not None: - self.web_tag = web_tag - if description is not None: - self.description = description - if policy_id is not None: - self.policy_id = policy_id - if protocol is not None: - self.protocol = protocol - if certificate_id is not None: - self.certificate_id = certificate_id - if certificate_name is not None: - self.certificate_name = certificate_name - if tls is not None: - self.tls = tls - if cipher is not None: - self.cipher = cipher - if protect_status is not None: - self.protect_status = protect_status - if access_status is not None: - self.access_status = access_status - if create_time is not None: - self.create_time = create_time - if block_page is not None: - self.block_page = block_page - if traffic_mark is not None: - self.traffic_mark = traffic_mark - if flag is not None: - self.flag = flag - if extend is not None: - self.extend = extend - if is_added is not None: - self.is_added = is_added - - @property - def id(self): - """Gets the id of this ShowEdgeWafDomainsResponse. - - 域名id - - :return: The id of this ShowEdgeWafDomainsResponse. - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this ShowEdgeWafDomainsResponse. - - 域名id - - :param id: The id of this ShowEdgeWafDomainsResponse. - :type id: str - """ - self._id = id - - @property - def domain_name(self): - """Gets the domain_name of this ShowEdgeWafDomainsResponse. - - 域名 - - :return: The domain_name of this ShowEdgeWafDomainsResponse. - :rtype: str - """ - return self._domain_name - - @domain_name.setter - def domain_name(self, domain_name): - """Sets the domain_name of this ShowEdgeWafDomainsResponse. - - 域名 - - :param domain_name: The domain_name of this ShowEdgeWafDomainsResponse. - :type domain_name: str - """ - self._domain_name = domain_name - - @property - def enterprise_project_id(self): - """Gets the enterprise_project_id of this ShowEdgeWafDomainsResponse. - - 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - - :return: The enterprise_project_id of this ShowEdgeWafDomainsResponse. - :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 ShowEdgeWafDomainsResponse. - - 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - - :param enterprise_project_id: The enterprise_project_id of this ShowEdgeWafDomainsResponse. - :type enterprise_project_id: str - """ - self._enterprise_project_id = enterprise_project_id - - @property - def tenant_id(self): - """Gets the tenant_id of this ShowEdgeWafDomainsResponse. - - 租户ID - - :return: The tenant_id of this ShowEdgeWafDomainsResponse. - :rtype: str - """ - return self._tenant_id - - @tenant_id.setter - def tenant_id(self, tenant_id): - """Sets the tenant_id of this ShowEdgeWafDomainsResponse. - - 租户ID - - :param tenant_id: The tenant_id of this ShowEdgeWafDomainsResponse. - :type tenant_id: str - """ - self._tenant_id = tenant_id - - @property - def open_time(self): - """Gets the open_time of this ShowEdgeWafDomainsResponse. - - 上一次开启防护的时间 - - :return: The open_time of this ShowEdgeWafDomainsResponse. - :rtype: int - """ - return self._open_time - - @open_time.setter - def open_time(self, open_time): - """Sets the open_time of this ShowEdgeWafDomainsResponse. - - 上一次开启防护的时间 - - :param open_time: The open_time of this ShowEdgeWafDomainsResponse. - :type open_time: int - """ - self._open_time = open_time - - @property - def close_time(self): - """Gets the close_time of this ShowEdgeWafDomainsResponse. - - 上一次关闭防护的时间 - - :return: The close_time of this ShowEdgeWafDomainsResponse. - :rtype: int - """ - return self._close_time - - @close_time.setter - def close_time(self, close_time): - """Sets the close_time of this ShowEdgeWafDomainsResponse. - - 上一次关闭防护的时间 - - :param close_time: The close_time of this ShowEdgeWafDomainsResponse. - :type close_time: int - """ - self._close_time = close_time - - @property - def dispatch_status(self): - """Gets the dispatch_status of this ShowEdgeWafDomainsResponse. - - cdn域名调度情况(0:未防护,1:配置中,2:已防护,3:删除中) - - :return: The dispatch_status of this ShowEdgeWafDomainsResponse. - :rtype: int - """ - return self._dispatch_status - - @dispatch_status.setter - def dispatch_status(self, dispatch_status): - """Sets the dispatch_status of this ShowEdgeWafDomainsResponse. - - cdn域名调度情况(0:未防护,1:配置中,2:已防护,3:删除中) - - :param dispatch_status: The dispatch_status of this ShowEdgeWafDomainsResponse. - :type dispatch_status: int - """ - self._dispatch_status = dispatch_status - - @property - def service_area(self): - """Gets the service_area of this ShowEdgeWafDomainsResponse. - - 域名在CDN所属区域 - - :return: The service_area of this ShowEdgeWafDomainsResponse. - :rtype: str - """ - return self._service_area - - @service_area.setter - def service_area(self, service_area): - """Sets the service_area of this ShowEdgeWafDomainsResponse. - - 域名在CDN所属区域 - - :param service_area: The service_area of this ShowEdgeWafDomainsResponse. - :type service_area: str - """ - self._service_area = service_area - - @property - def web_tag(self): - """Gets the web_tag of this ShowEdgeWafDomainsResponse. - - 域名名称 - - :return: The web_tag of this ShowEdgeWafDomainsResponse. - :rtype: str - """ - return self._web_tag - - @web_tag.setter - def web_tag(self, web_tag): - """Sets the web_tag of this ShowEdgeWafDomainsResponse. - - 域名名称 - - :param web_tag: The web_tag of this ShowEdgeWafDomainsResponse. - :type web_tag: str - """ - self._web_tag = web_tag - - @property - def description(self): - """Gets the description of this ShowEdgeWafDomainsResponse. - - 域名描述 - - :return: The description of this ShowEdgeWafDomainsResponse. - :rtype: str - """ - return self._description - - @description.setter - def description(self, description): - """Sets the description of this ShowEdgeWafDomainsResponse. - - 域名描述 - - :param description: The description of this ShowEdgeWafDomainsResponse. - :type description: str - """ - self._description = description - - @property - def policy_id(self): - """Gets the policy_id of this ShowEdgeWafDomainsResponse. - - 策略id - - :return: The policy_id of this ShowEdgeWafDomainsResponse. - :rtype: str - """ - return self._policy_id - - @policy_id.setter - def policy_id(self, policy_id): - """Sets the policy_id of this ShowEdgeWafDomainsResponse. - - 策略id - - :param policy_id: The policy_id of this ShowEdgeWafDomainsResponse. - :type policy_id: str - """ - self._policy_id = policy_id - - @property - def protocol(self): - """Gets the protocol of this ShowEdgeWafDomainsResponse. - - 协议 - - :return: The protocol of this ShowEdgeWafDomainsResponse. - :rtype: str - """ - return self._protocol - - @protocol.setter - def protocol(self, protocol): - """Sets the protocol of this ShowEdgeWafDomainsResponse. - - 协议 - - :param protocol: The protocol of this ShowEdgeWafDomainsResponse. - :type protocol: str - """ - self._protocol = protocol - - @property - def certificate_id(self): - """Gets the certificate_id of this ShowEdgeWafDomainsResponse. - - 证书id - - :return: The certificate_id of this ShowEdgeWafDomainsResponse. - :rtype: str - """ - return self._certificate_id - - @certificate_id.setter - def certificate_id(self, certificate_id): - """Sets the certificate_id of this ShowEdgeWafDomainsResponse. - - 证书id - - :param certificate_id: The certificate_id of this ShowEdgeWafDomainsResponse. - :type certificate_id: str - """ - self._certificate_id = certificate_id - - @property - def certificate_name(self): - """Gets the certificate_name of this ShowEdgeWafDomainsResponse. - - 证书名称 - - :return: The certificate_name of this ShowEdgeWafDomainsResponse. - :rtype: str - """ - return self._certificate_name - - @certificate_name.setter - def certificate_name(self, certificate_name): - """Sets the certificate_name of this ShowEdgeWafDomainsResponse. - - 证书名称 - - :param certificate_name: The certificate_name of this ShowEdgeWafDomainsResponse. - :type certificate_name: str - """ - self._certificate_name = certificate_name - - @property - def tls(self): - """Gets the tls of this ShowEdgeWafDomainsResponse. - - 配置的最低TLS版本(TLS v1.0/TLS v1.1/TLS v1.2),默认为TLS v1.0版本,对外协议为https时才有tls参数 - - :return: The tls of this ShowEdgeWafDomainsResponse. - :rtype: str - """ - return self._tls - - @tls.setter - def tls(self, tls): - """Sets the tls of this ShowEdgeWafDomainsResponse. - - 配置的最低TLS版本(TLS v1.0/TLS v1.1/TLS v1.2),默认为TLS v1.0版本,对外协议为https时才有tls参数 - - :param tls: The tls of this ShowEdgeWafDomainsResponse. - :type tls: str - """ - self._tls = tls - - @property - def cipher(self): - """Gets the cipher of this ShowEdgeWafDomainsResponse. - - 对外协议为https时才有cipher参数,加密套件(cipher_1,cipher_2,cipher_3,cipher_4,cipher_default): - cipher_1: 加密算法为ECDHE-ECDSA-AES256-GCM-SHA384:HIGH:!MEDIUM:!LOW:!aNULL:!eNULL:!DES:!MD5:!PSK:!RC4:!kRSA:!SRP:!3DES:!DSS:!EXP:!CAMELLIA:@STRENGTH - cipher_2:加密算法为EECDH+AESGCM:EDH+AESGCM - cipher_3:加密算法为ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384:RC4:HIGH:!MD5:!aNULL:!eNULL:!NULL:!DH:!EDH - cipher_4:加密算法为ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-SHA384:AES256-SHA256:RC4:HIGH:!MD5:!aNULL:!eNULL:!NULL:!EDH - cipher_default: 加密算法为ECDHE-RSA-AES256-SHA384:AES256-SHA256:RC4:HIGH:!MD5:!aNULL:!eNULL:!NULL:!DH:!EDH:!AESGCM - - :return: The cipher of this ShowEdgeWafDomainsResponse. - :rtype: str - """ - return self._cipher - - @cipher.setter - def cipher(self, cipher): - """Sets the cipher of this ShowEdgeWafDomainsResponse. - - 对外协议为https时才有cipher参数,加密套件(cipher_1,cipher_2,cipher_3,cipher_4,cipher_default): - cipher_1: 加密算法为ECDHE-ECDSA-AES256-GCM-SHA384:HIGH:!MEDIUM:!LOW:!aNULL:!eNULL:!DES:!MD5:!PSK:!RC4:!kRSA:!SRP:!3DES:!DSS:!EXP:!CAMELLIA:@STRENGTH - cipher_2:加密算法为EECDH+AESGCM:EDH+AESGCM - cipher_3:加密算法为ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384:RC4:HIGH:!MD5:!aNULL:!eNULL:!NULL:!DH:!EDH - cipher_4:加密算法为ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-SHA384:AES256-SHA256:RC4:HIGH:!MD5:!aNULL:!eNULL:!NULL:!EDH - cipher_default: 加密算法为ECDHE-RSA-AES256-SHA384:AES256-SHA256:RC4:HIGH:!MD5:!aNULL:!eNULL:!NULL:!DH:!EDH:!AESGCM - - :param cipher: The cipher of this ShowEdgeWafDomainsResponse. - :type cipher: str - """ - self._cipher = cipher - - @property - def protect_status(self): - """Gets the protect_status of this ShowEdgeWafDomainsResponse. - - 防护状态: - 0-关闭 - 1-开启 - - :return: The protect_status of this ShowEdgeWafDomainsResponse. - :rtype: int - """ - return self._protect_status - - @protect_status.setter - def protect_status(self, protect_status): - """Sets the protect_status of this ShowEdgeWafDomainsResponse. - - 防护状态: - 0-关闭 - 1-开启 - - :param protect_status: The protect_status of this ShowEdgeWafDomainsResponse. - :type protect_status: int - """ - self._protect_status = protect_status - - @property - def access_status(self): - """Gets the access_status of this ShowEdgeWafDomainsResponse. - - 接入状态: - 0-未接入 - 1-已接入 - - :return: The access_status of this ShowEdgeWafDomainsResponse. - :rtype: int - """ - return self._access_status - - @access_status.setter - def access_status(self, access_status): - """Sets the access_status of this ShowEdgeWafDomainsResponse. - - 接入状态: - 0-未接入 - 1-已接入 - - :param access_status: The access_status of this ShowEdgeWafDomainsResponse. - :type access_status: int - """ - self._access_status = access_status - - @property - def create_time(self): - """Gets the create_time of this ShowEdgeWafDomainsResponse. - - 创建域名的时间,13位时间戳 - - :return: The create_time of this ShowEdgeWafDomainsResponse. - :rtype: int - """ - return self._create_time - - @create_time.setter - def create_time(self, create_time): - """Sets the create_time of this ShowEdgeWafDomainsResponse. - - 创建域名的时间,13位时间戳 - - :param create_time: The create_time of this ShowEdgeWafDomainsResponse. - :type create_time: int - """ - self._create_time = create_time - - @property - def block_page(self): - """Gets the block_page of this ShowEdgeWafDomainsResponse. - - :return: The block_page of this ShowEdgeWafDomainsResponse. - :rtype: :class:`huaweicloudsdkedgesec.v1.WafBlockPage` - """ - return self._block_page - - @block_page.setter - def block_page(self, block_page): - """Sets the block_page of this ShowEdgeWafDomainsResponse. - - :param block_page: The block_page of this ShowEdgeWafDomainsResponse. - :type block_page: :class:`huaweicloudsdkedgesec.v1.WafBlockPage` - """ - self._block_page = block_page - - @property - def traffic_mark(self): - """Gets the traffic_mark of this ShowEdgeWafDomainsResponse. - - :return: The traffic_mark of this ShowEdgeWafDomainsResponse. - :rtype: :class:`huaweicloudsdkedgesec.v1.WafTrafficMark` - """ - return self._traffic_mark - - @traffic_mark.setter - def traffic_mark(self, traffic_mark): - """Sets the traffic_mark of this ShowEdgeWafDomainsResponse. - - :param traffic_mark: The traffic_mark of this ShowEdgeWafDomainsResponse. - :type traffic_mark: :class:`huaweicloudsdkedgesec.v1.WafTrafficMark` - """ - self._traffic_mark = traffic_mark - - @property - def flag(self): - """Gets the flag of this ShowEdgeWafDomainsResponse. - - :return: The flag of this ShowEdgeWafDomainsResponse. - :rtype: :class:`huaweicloudsdkedgesec.v1.Flag` - """ - return self._flag - - @flag.setter - def flag(self, flag): - """Sets the flag of this ShowEdgeWafDomainsResponse. - - :param flag: The flag of this ShowEdgeWafDomainsResponse. - :type flag: :class:`huaweicloudsdkedgesec.v1.Flag` - """ - self._flag = flag - - @property - def extend(self): - """Gets the extend of this ShowEdgeWafDomainsResponse. - - 域名可扩展属性 - - :return: The extend of this ShowEdgeWafDomainsResponse. - :rtype: dict(str, str) - """ - return self._extend - - @extend.setter - def extend(self, extend): - """Sets the extend of this ShowEdgeWafDomainsResponse. - - 域名可扩展属性 - - :param extend: The extend of this ShowEdgeWafDomainsResponse. - :type extend: dict(str, str) - """ - self._extend = extend - - @property - def is_added(self): - """Gets the is_added of this ShowEdgeWafDomainsResponse. - - 是否为ddos防护域名 - - :return: The is_added of this ShowEdgeWafDomainsResponse. - :rtype: bool - """ - return self._is_added - - @is_added.setter - def is_added(self, is_added): - """Sets the is_added of this ShowEdgeWafDomainsResponse. - - 是否为ddos防护域名 - - :param is_added: The is_added of this ShowEdgeWafDomainsResponse. - :type is_added: bool - """ - self._is_added = is_added - - 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, ShowEdgeWafDomainsResponse): - 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-edgesec/huaweicloudsdkedgesec/v1/model/show_statistics_event_request.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/show_statistics_event_request.py deleted file mode 100644 index 438388a50e..0000000000 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/show_statistics_event_request.py +++ /dev/null @@ -1,199 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ShowStatisticsEventRequest: - - """ - 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_time': 'int', - 'end_time': 'int', - 'type': 'str', - 'enterprise_project_id': 'str' - } - - attribute_map = { - 'start_time': 'start_time', - 'end_time': 'end_time', - 'type': 'type', - 'enterprise_project_id': 'enterprise_project_id' - } - - def __init__(self, start_time=None, end_time=None, type=None, enterprise_project_id=None): - """ShowStatisticsEventRequest - - The model defined in huaweicloud sdk - - :param start_time: 开始时间(13位时间戳),需要和end_time同时使用 - :type start_time: int - :param end_time: 结束时间(13位时间戳),需要和start_time同时使用 - :type end_time: int - :param type: 类型: - attack_count——不同类型攻击事件次数 - flow_drop_count——访问与攻击次数 - ddos_attack_count——DDos攻击次数 - :type type: str - :param enterprise_project_id: 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - :type enterprise_project_id: str - """ - - - - self._start_time = None - self._end_time = None - self._type = None - self._enterprise_project_id = None - self.discriminator = None - - self.start_time = start_time - self.end_time = end_time - self.type = type - if enterprise_project_id is not None: - self.enterprise_project_id = enterprise_project_id - - @property - def start_time(self): - """Gets the start_time of this ShowStatisticsEventRequest. - - 开始时间(13位时间戳),需要和end_time同时使用 - - :return: The start_time of this ShowStatisticsEventRequest. - :rtype: int - """ - return self._start_time - - @start_time.setter - def start_time(self, start_time): - """Sets the start_time of this ShowStatisticsEventRequest. - - 开始时间(13位时间戳),需要和end_time同时使用 - - :param start_time: The start_time of this ShowStatisticsEventRequest. - :type start_time: int - """ - self._start_time = start_time - - @property - def end_time(self): - """Gets the end_time of this ShowStatisticsEventRequest. - - 结束时间(13位时间戳),需要和start_time同时使用 - - :return: The end_time of this ShowStatisticsEventRequest. - :rtype: int - """ - return self._end_time - - @end_time.setter - def end_time(self, end_time): - """Sets the end_time of this ShowStatisticsEventRequest. - - 结束时间(13位时间戳),需要和start_time同时使用 - - :param end_time: The end_time of this ShowStatisticsEventRequest. - :type end_time: int - """ - self._end_time = end_time - - @property - def type(self): - """Gets the type of this ShowStatisticsEventRequest. - - 类型: - attack_count——不同类型攻击事件次数 - flow_drop_count——访问与攻击次数 - ddos_attack_count——DDos攻击次数 - - :return: The type of this ShowStatisticsEventRequest. - :rtype: str - """ - return self._type - - @type.setter - def type(self, type): - """Sets the type of this ShowStatisticsEventRequest. - - 类型: - attack_count——不同类型攻击事件次数 - flow_drop_count——访问与攻击次数 - ddos_attack_count——DDos攻击次数 - - :param type: The type of this ShowStatisticsEventRequest. - :type type: str - """ - self._type = type - - @property - def enterprise_project_id(self): - """Gets the enterprise_project_id of this ShowStatisticsEventRequest. - - 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - - :return: The enterprise_project_id of this ShowStatisticsEventRequest. - :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 ShowStatisticsEventRequest. - - 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - - :param enterprise_project_id: The enterprise_project_id of this ShowStatisticsEventRequest. - :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, ShowStatisticsEventRequest): - 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-edgesec/huaweicloudsdkedgesec/v1/model/show_statistics_event_response.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/show_statistics_event_response.py deleted file mode 100644 index 6f775b060d..0000000000 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/show_statistics_event_response.py +++ /dev/null @@ -1,290 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ShowStatisticsEventResponse(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 = { - 'value': 'int', - 'waf': 'list[TimeSeriesData]', - 'bot': 'list[TimeSeriesData]', - 'cc': 'list[TimeSeriesData]', - 'ddos': 'list[TimeSeriesData]', - 'flow': 'list[TimeSeriesData]', - 'drop': 'list[TimeSeriesData]' - } - - attribute_map = { - 'value': 'value', - 'waf': 'waf', - 'bot': 'bot', - 'cc': 'cc', - 'ddos': 'ddos', - 'flow': 'flow', - 'drop': 'drop' - } - - def __init__(self, value=None, waf=None, bot=None, cc=None, ddos=None, flow=None, drop=None): - """ShowStatisticsEventResponse - - The model defined in huaweicloud sdk - - :param value: DDos攻击事件次数,type=ddos_attack_count返回 - :type value: int - :param waf: WAF攻击事件次数,type=attack_count时返回 - :type waf: list[:class:`huaweicloudsdkedgesec.v1.TimeSeriesData`] - :param bot: BOT攻击事件次数,type=attack_count时返回 - :type bot: list[:class:`huaweicloudsdkedgesec.v1.TimeSeriesData`] - :param cc: CC攻击事件次数,type=attack_count时返回 - :type cc: list[:class:`huaweicloudsdkedgesec.v1.TimeSeriesData`] - :param ddos: DDos攻击事件次数,type=attack_count返回 - :type ddos: list[:class:`huaweicloudsdkedgesec.v1.TimeSeriesData`] - :param flow: 访问次数,type=flow_drop_count返回 - :type flow: list[:class:`huaweicloudsdkedgesec.v1.TimeSeriesData`] - :param drop: 攻击次数,type=flow_drop_count返回 - :type drop: list[:class:`huaweicloudsdkedgesec.v1.TimeSeriesData`] - """ - - super(ShowStatisticsEventResponse, self).__init__() - - self._value = None - self._waf = None - self._bot = None - self._cc = None - self._ddos = None - self._flow = None - self._drop = None - self.discriminator = None - - if value is not None: - self.value = value - if waf is not None: - self.waf = waf - if bot is not None: - self.bot = bot - if cc is not None: - self.cc = cc - if ddos is not None: - self.ddos = ddos - if flow is not None: - self.flow = flow - if drop is not None: - self.drop = drop - - @property - def value(self): - """Gets the value of this ShowStatisticsEventResponse. - - DDos攻击事件次数,type=ddos_attack_count返回 - - :return: The value of this ShowStatisticsEventResponse. - :rtype: int - """ - return self._value - - @value.setter - def value(self, value): - """Sets the value of this ShowStatisticsEventResponse. - - DDos攻击事件次数,type=ddos_attack_count返回 - - :param value: The value of this ShowStatisticsEventResponse. - :type value: int - """ - self._value = value - - @property - def waf(self): - """Gets the waf of this ShowStatisticsEventResponse. - - WAF攻击事件次数,type=attack_count时返回 - - :return: The waf of this ShowStatisticsEventResponse. - :rtype: list[:class:`huaweicloudsdkedgesec.v1.TimeSeriesData`] - """ - return self._waf - - @waf.setter - def waf(self, waf): - """Sets the waf of this ShowStatisticsEventResponse. - - WAF攻击事件次数,type=attack_count时返回 - - :param waf: The waf of this ShowStatisticsEventResponse. - :type waf: list[:class:`huaweicloudsdkedgesec.v1.TimeSeriesData`] - """ - self._waf = waf - - @property - def bot(self): - """Gets the bot of this ShowStatisticsEventResponse. - - BOT攻击事件次数,type=attack_count时返回 - - :return: The bot of this ShowStatisticsEventResponse. - :rtype: list[:class:`huaweicloudsdkedgesec.v1.TimeSeriesData`] - """ - return self._bot - - @bot.setter - def bot(self, bot): - """Sets the bot of this ShowStatisticsEventResponse. - - BOT攻击事件次数,type=attack_count时返回 - - :param bot: The bot of this ShowStatisticsEventResponse. - :type bot: list[:class:`huaweicloudsdkedgesec.v1.TimeSeriesData`] - """ - self._bot = bot - - @property - def cc(self): - """Gets the cc of this ShowStatisticsEventResponse. - - CC攻击事件次数,type=attack_count时返回 - - :return: The cc of this ShowStatisticsEventResponse. - :rtype: list[:class:`huaweicloudsdkedgesec.v1.TimeSeriesData`] - """ - return self._cc - - @cc.setter - def cc(self, cc): - """Sets the cc of this ShowStatisticsEventResponse. - - CC攻击事件次数,type=attack_count时返回 - - :param cc: The cc of this ShowStatisticsEventResponse. - :type cc: list[:class:`huaweicloudsdkedgesec.v1.TimeSeriesData`] - """ - self._cc = cc - - @property - def ddos(self): - """Gets the ddos of this ShowStatisticsEventResponse. - - DDos攻击事件次数,type=attack_count返回 - - :return: The ddos of this ShowStatisticsEventResponse. - :rtype: list[:class:`huaweicloudsdkedgesec.v1.TimeSeriesData`] - """ - return self._ddos - - @ddos.setter - def ddos(self, ddos): - """Sets the ddos of this ShowStatisticsEventResponse. - - DDos攻击事件次数,type=attack_count返回 - - :param ddos: The ddos of this ShowStatisticsEventResponse. - :type ddos: list[:class:`huaweicloudsdkedgesec.v1.TimeSeriesData`] - """ - self._ddos = ddos - - @property - def flow(self): - """Gets the flow of this ShowStatisticsEventResponse. - - 访问次数,type=flow_drop_count返回 - - :return: The flow of this ShowStatisticsEventResponse. - :rtype: list[:class:`huaweicloudsdkedgesec.v1.TimeSeriesData`] - """ - return self._flow - - @flow.setter - def flow(self, flow): - """Sets the flow of this ShowStatisticsEventResponse. - - 访问次数,type=flow_drop_count返回 - - :param flow: The flow of this ShowStatisticsEventResponse. - :type flow: list[:class:`huaweicloudsdkedgesec.v1.TimeSeriesData`] - """ - self._flow = flow - - @property - def drop(self): - """Gets the drop of this ShowStatisticsEventResponse. - - 攻击次数,type=flow_drop_count返回 - - :return: The drop of this ShowStatisticsEventResponse. - :rtype: list[:class:`huaweicloudsdkedgesec.v1.TimeSeriesData`] - """ - return self._drop - - @drop.setter - def drop(self, drop): - """Sets the drop of this ShowStatisticsEventResponse. - - 攻击次数,type=flow_drop_count返回 - - :param drop: The drop of this ShowStatisticsEventResponse. - :type drop: list[:class:`huaweicloudsdkedgesec.v1.TimeSeriesData`] - """ - self._drop = drop - - 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, ShowStatisticsEventResponse): - 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-edgesec/huaweicloudsdkedgesec/v1/model/show_statistics_traffic_request.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/show_statistics_traffic_request.py deleted file mode 100644 index ec4cf769a9..0000000000 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/show_statistics_traffic_request.py +++ /dev/null @@ -1,199 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ShowStatisticsTrafficRequest: - - """ - 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_time': 'int', - 'end_time': 'int', - 'type': 'str', - 'enterprise_project_id': 'str' - } - - attribute_map = { - 'start_time': 'start_time', - 'end_time': 'end_time', - 'type': 'type', - 'enterprise_project_id': 'enterprise_project_id' - } - - def __init__(self, start_time=None, end_time=None, type=None, enterprise_project_id=None): - """ShowStatisticsTrafficRequest - - The model defined in huaweicloud sdk - - :param start_time: 开始时间(13位时间戳),需要和end_time同时使用 - :type start_time: int - :param end_time: 结束时间(13位时间戳),需要和start_time同时使用 - :type end_time: int - :param type: 类型: - max_flow_bandwidth——DDos入流量带宽峰值 - max_drop_bandwidth——DDos入流量带宽峰值 - ddos_flow——DDos入流量 - flow_drop_traffic——入流量与清洗流量 - attack_traffic——不同类型攻击流量 - :type type: str - :param enterprise_project_id: 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - :type enterprise_project_id: str - """ - - - - self._start_time = None - self._end_time = None - self._type = None - self._enterprise_project_id = None - self.discriminator = None - - self.start_time = start_time - self.end_time = end_time - self.type = type - if enterprise_project_id is not None: - self.enterprise_project_id = enterprise_project_id - - @property - def start_time(self): - """Gets the start_time of this ShowStatisticsTrafficRequest. - - 开始时间(13位时间戳),需要和end_time同时使用 - - :return: The start_time of this ShowStatisticsTrafficRequest. - :rtype: int - """ - return self._start_time - - @start_time.setter - def start_time(self, start_time): - """Sets the start_time of this ShowStatisticsTrafficRequest. - - 开始时间(13位时间戳),需要和end_time同时使用 - - :param start_time: The start_time of this ShowStatisticsTrafficRequest. - :type start_time: int - """ - self._start_time = start_time - - @property - def end_time(self): - """Gets the end_time of this ShowStatisticsTrafficRequest. - - 结束时间(13位时间戳),需要和start_time同时使用 - - :return: The end_time of this ShowStatisticsTrafficRequest. - :rtype: int - """ - return self._end_time - - @end_time.setter - def end_time(self, end_time): - """Sets the end_time of this ShowStatisticsTrafficRequest. - - 结束时间(13位时间戳),需要和start_time同时使用 - - :param end_time: The end_time of this ShowStatisticsTrafficRequest. - :type end_time: int - """ - self._end_time = end_time - - @property - def type(self): - """Gets the type of this ShowStatisticsTrafficRequest. - - 类型: - max_flow_bandwidth——DDos入流量带宽峰值 - max_drop_bandwidth——DDos入流量带宽峰值 - ddos_flow——DDos入流量 - flow_drop_traffic——入流量与清洗流量 - attack_traffic——不同类型攻击流量 - - :return: The type of this ShowStatisticsTrafficRequest. - :rtype: str - """ - return self._type - - @type.setter - def type(self, type): - """Sets the type of this ShowStatisticsTrafficRequest. - - 类型: - max_flow_bandwidth——DDos入流量带宽峰值 - max_drop_bandwidth——DDos入流量带宽峰值 - ddos_flow——DDos入流量 - flow_drop_traffic——入流量与清洗流量 - attack_traffic——不同类型攻击流量 - - :param type: The type of this ShowStatisticsTrafficRequest. - :type type: str - """ - self._type = type - - @property - def enterprise_project_id(self): - """Gets the enterprise_project_id of this ShowStatisticsTrafficRequest. - - 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - - :return: The enterprise_project_id of this ShowStatisticsTrafficRequest. - :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 ShowStatisticsTrafficRequest. - - 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - - :param enterprise_project_id: The enterprise_project_id of this ShowStatisticsTrafficRequest. - :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, ShowStatisticsTrafficRequest): - 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-edgesec/huaweicloudsdkedgesec/v1/model/show_statistics_traffic_response.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/show_statistics_traffic_response.py deleted file mode 100644 index f434574058..0000000000 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/show_statistics_traffic_response.py +++ /dev/null @@ -1,290 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ShowStatisticsTrafficResponse(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 = { - 'value': 'int', - 'flow': 'list[TimeSeriesData]', - 'drop': 'list[TimeSeriesData]', - 'waf': 'list[TimeSeriesData]', - 'bot': 'list[TimeSeriesData]', - 'cc': 'list[TimeSeriesData]', - 'ddos': 'list[TimeSeriesData]' - } - - attribute_map = { - 'value': 'value', - 'flow': 'flow', - 'drop': 'drop', - 'waf': 'waf', - 'bot': 'bot', - 'cc': 'cc', - 'ddos': 'ddos' - } - - def __init__(self, value=None, flow=None, drop=None, waf=None, bot=None, cc=None, ddos=None): - """ShowStatisticsTrafficResponse - - The model defined in huaweicloud sdk - - :param value: 流量数据值,type=max_flow_bandwidth/max_drop_bandwidth/ddos_flow时返回,单位:Kbps - :type value: int - :param flow: 入流量,type=flow_drop_traffic时返回 - :type flow: list[:class:`huaweicloudsdkedgesec.v1.TimeSeriesData`] - :param drop: 清洗流量,type=flow_drop_traffic时返回 - :type drop: list[:class:`huaweicloudsdkedgesec.v1.TimeSeriesData`] - :param waf: WAF攻击流量,type=attack_traffic时返回 - :type waf: list[:class:`huaweicloudsdkedgesec.v1.TimeSeriesData`] - :param bot: BOT攻击流量,type=attack_traffic时返回 - :type bot: list[:class:`huaweicloudsdkedgesec.v1.TimeSeriesData`] - :param cc: CC攻击流量,type=attack_traffic时返回 - :type cc: list[:class:`huaweicloudsdkedgesec.v1.TimeSeriesData`] - :param ddos: DDoS攻击流量,type=attack_traffic时返回 - :type ddos: list[:class:`huaweicloudsdkedgesec.v1.TimeSeriesData`] - """ - - super(ShowStatisticsTrafficResponse, self).__init__() - - self._value = None - self._flow = None - self._drop = None - self._waf = None - self._bot = None - self._cc = None - self._ddos = None - self.discriminator = None - - if value is not None: - self.value = value - if flow is not None: - self.flow = flow - if drop is not None: - self.drop = drop - if waf is not None: - self.waf = waf - if bot is not None: - self.bot = bot - if cc is not None: - self.cc = cc - if ddos is not None: - self.ddos = ddos - - @property - def value(self): - """Gets the value of this ShowStatisticsTrafficResponse. - - 流量数据值,type=max_flow_bandwidth/max_drop_bandwidth/ddos_flow时返回,单位:Kbps - - :return: The value of this ShowStatisticsTrafficResponse. - :rtype: int - """ - return self._value - - @value.setter - def value(self, value): - """Sets the value of this ShowStatisticsTrafficResponse. - - 流量数据值,type=max_flow_bandwidth/max_drop_bandwidth/ddos_flow时返回,单位:Kbps - - :param value: The value of this ShowStatisticsTrafficResponse. - :type value: int - """ - self._value = value - - @property - def flow(self): - """Gets the flow of this ShowStatisticsTrafficResponse. - - 入流量,type=flow_drop_traffic时返回 - - :return: The flow of this ShowStatisticsTrafficResponse. - :rtype: list[:class:`huaweicloudsdkedgesec.v1.TimeSeriesData`] - """ - return self._flow - - @flow.setter - def flow(self, flow): - """Sets the flow of this ShowStatisticsTrafficResponse. - - 入流量,type=flow_drop_traffic时返回 - - :param flow: The flow of this ShowStatisticsTrafficResponse. - :type flow: list[:class:`huaweicloudsdkedgesec.v1.TimeSeriesData`] - """ - self._flow = flow - - @property - def drop(self): - """Gets the drop of this ShowStatisticsTrafficResponse. - - 清洗流量,type=flow_drop_traffic时返回 - - :return: The drop of this ShowStatisticsTrafficResponse. - :rtype: list[:class:`huaweicloudsdkedgesec.v1.TimeSeriesData`] - """ - return self._drop - - @drop.setter - def drop(self, drop): - """Sets the drop of this ShowStatisticsTrafficResponse. - - 清洗流量,type=flow_drop_traffic时返回 - - :param drop: The drop of this ShowStatisticsTrafficResponse. - :type drop: list[:class:`huaweicloudsdkedgesec.v1.TimeSeriesData`] - """ - self._drop = drop - - @property - def waf(self): - """Gets the waf of this ShowStatisticsTrafficResponse. - - WAF攻击流量,type=attack_traffic时返回 - - :return: The waf of this ShowStatisticsTrafficResponse. - :rtype: list[:class:`huaweicloudsdkedgesec.v1.TimeSeriesData`] - """ - return self._waf - - @waf.setter - def waf(self, waf): - """Sets the waf of this ShowStatisticsTrafficResponse. - - WAF攻击流量,type=attack_traffic时返回 - - :param waf: The waf of this ShowStatisticsTrafficResponse. - :type waf: list[:class:`huaweicloudsdkedgesec.v1.TimeSeriesData`] - """ - self._waf = waf - - @property - def bot(self): - """Gets the bot of this ShowStatisticsTrafficResponse. - - BOT攻击流量,type=attack_traffic时返回 - - :return: The bot of this ShowStatisticsTrafficResponse. - :rtype: list[:class:`huaweicloudsdkedgesec.v1.TimeSeriesData`] - """ - return self._bot - - @bot.setter - def bot(self, bot): - """Sets the bot of this ShowStatisticsTrafficResponse. - - BOT攻击流量,type=attack_traffic时返回 - - :param bot: The bot of this ShowStatisticsTrafficResponse. - :type bot: list[:class:`huaweicloudsdkedgesec.v1.TimeSeriesData`] - """ - self._bot = bot - - @property - def cc(self): - """Gets the cc of this ShowStatisticsTrafficResponse. - - CC攻击流量,type=attack_traffic时返回 - - :return: The cc of this ShowStatisticsTrafficResponse. - :rtype: list[:class:`huaweicloudsdkedgesec.v1.TimeSeriesData`] - """ - return self._cc - - @cc.setter - def cc(self, cc): - """Sets the cc of this ShowStatisticsTrafficResponse. - - CC攻击流量,type=attack_traffic时返回 - - :param cc: The cc of this ShowStatisticsTrafficResponse. - :type cc: list[:class:`huaweicloudsdkedgesec.v1.TimeSeriesData`] - """ - self._cc = cc - - @property - def ddos(self): - """Gets the ddos of this ShowStatisticsTrafficResponse. - - DDoS攻击流量,type=attack_traffic时返回 - - :return: The ddos of this ShowStatisticsTrafficResponse. - :rtype: list[:class:`huaweicloudsdkedgesec.v1.TimeSeriesData`] - """ - return self._ddos - - @ddos.setter - def ddos(self, ddos): - """Sets the ddos of this ShowStatisticsTrafficResponse. - - DDoS攻击流量,type=attack_traffic时返回 - - :param ddos: The ddos of this ShowStatisticsTrafficResponse. - :type ddos: list[:class:`huaweicloudsdkedgesec.v1.TimeSeriesData`] - """ - self._ddos = ddos - - 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, ShowStatisticsTrafficResponse): - 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-edgesec/huaweicloudsdkedgesec/v1/model/show_waf_domain_response_body.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/show_waf_domain_response_body.py deleted file mode 100644 index 9c0cd95608..0000000000 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/show_waf_domain_response_body.py +++ /dev/null @@ -1,770 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ShowWafDomainResponseBody: - - """ - 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', - 'domain_name': 'str', - 'enterprise_project_id': 'str', - 'tenant_id': 'str', - 'open_time': 'int', - 'close_time': 'int', - 'dispatch_status': 'int', - 'service_area': 'str', - 'web_tag': 'str', - 'description': 'str', - 'policy_id': 'str', - 'protocol': 'str', - 'certificate_id': 'str', - 'certificate_name': 'str', - 'tls': 'str', - 'cipher': 'str', - 'protect_status': 'int', - 'access_status': 'int', - 'create_time': 'int', - 'block_page': 'WafBlockPage', - 'traffic_mark': 'WafTrafficMark', - 'flag': 'Flag', - 'extend': 'dict(str, str)', - 'is_added': 'bool' - } - - attribute_map = { - 'id': 'id', - 'domain_name': 'domain_name', - 'enterprise_project_id': 'enterprise_project_id', - 'tenant_id': 'tenant_id', - 'open_time': 'open_time', - 'close_time': 'close_time', - 'dispatch_status': 'dispatch_status', - 'service_area': 'service_area', - 'web_tag': 'web_tag', - 'description': 'description', - 'policy_id': 'policy_id', - 'protocol': 'protocol', - 'certificate_id': 'certificate_id', - 'certificate_name': 'certificate_name', - 'tls': 'tls', - 'cipher': 'cipher', - 'protect_status': 'protect_status', - 'access_status': 'access_status', - 'create_time': 'create_time', - 'block_page': 'block_page', - 'traffic_mark': 'traffic_mark', - 'flag': 'flag', - 'extend': 'extend', - 'is_added': 'is_added' - } - - def __init__(self, id=None, domain_name=None, enterprise_project_id=None, tenant_id=None, open_time=None, close_time=None, dispatch_status=None, service_area=None, web_tag=None, description=None, policy_id=None, protocol=None, certificate_id=None, certificate_name=None, tls=None, cipher=None, protect_status=None, access_status=None, create_time=None, block_page=None, traffic_mark=None, flag=None, extend=None, is_added=None): - """ShowWafDomainResponseBody - - The model defined in huaweicloud sdk - - :param id: 域名id - :type id: str - :param domain_name: 域名 - :type domain_name: str - :param enterprise_project_id: 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - :type enterprise_project_id: str - :param tenant_id: 租户ID - :type tenant_id: str - :param open_time: 上一次开启防护的时间 - :type open_time: int - :param close_time: 上一次关闭防护的时间 - :type close_time: int - :param dispatch_status: cdn域名调度情况(0:未防护,1:配置中,2:已防护,3:删除中) - :type dispatch_status: int - :param service_area: 域名在CDN所属区域 - :type service_area: str - :param web_tag: 域名名称 - :type web_tag: str - :param description: 域名描述 - :type description: str - :param policy_id: 策略id - :type policy_id: str - :param protocol: 协议 - :type protocol: str - :param certificate_id: 证书id - :type certificate_id: str - :param certificate_name: 证书名称 - :type certificate_name: str - :param tls: 配置的最低TLS版本(TLS v1.0/TLS v1.1/TLS v1.2),默认为TLS v1.0版本,对外协议为https时才有tls参数 - :type tls: str - :param cipher: 对外协议为https时才有cipher参数,加密套件(cipher_1,cipher_2,cipher_3,cipher_4,cipher_default): - cipher_1: 加密算法为ECDHE-ECDSA-AES256-GCM-SHA384:HIGH:!MEDIUM:!LOW:!aNULL:!eNULL:!DES:!MD5:!PSK:!RC4:!kRSA:!SRP:!3DES:!DSS:!EXP:!CAMELLIA:@STRENGTH - cipher_2:加密算法为EECDH+AESGCM:EDH+AESGCM - cipher_3:加密算法为ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384:RC4:HIGH:!MD5:!aNULL:!eNULL:!NULL:!DH:!EDH - cipher_4:加密算法为ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-SHA384:AES256-SHA256:RC4:HIGH:!MD5:!aNULL:!eNULL:!NULL:!EDH - cipher_default: 加密算法为ECDHE-RSA-AES256-SHA384:AES256-SHA256:RC4:HIGH:!MD5:!aNULL:!eNULL:!NULL:!DH:!EDH:!AESGCM - :type cipher: str - :param protect_status: 防护状态: - 0-关闭 - 1-开启 - :type protect_status: int - :param access_status: 接入状态: - 0-未接入 - 1-已接入 - :type access_status: int - :param create_time: 创建域名的时间,13位时间戳 - :type create_time: int - :param block_page: - :type block_page: :class:`huaweicloudsdkedgesec.v1.WafBlockPage` - :param traffic_mark: - :type traffic_mark: :class:`huaweicloudsdkedgesec.v1.WafTrafficMark` - :param flag: - :type flag: :class:`huaweicloudsdkedgesec.v1.Flag` - :param extend: 域名可扩展属性 - :type extend: dict(str, str) - :param is_added: 是否为ddos防护域名 - :type is_added: bool - """ - - - - self._id = None - self._domain_name = None - self._enterprise_project_id = None - self._tenant_id = None - self._open_time = None - self._close_time = None - self._dispatch_status = None - self._service_area = None - self._web_tag = None - self._description = None - self._policy_id = None - self._protocol = None - self._certificate_id = None - self._certificate_name = None - self._tls = None - self._cipher = None - self._protect_status = None - self._access_status = None - self._create_time = None - self._block_page = None - self._traffic_mark = None - self._flag = None - self._extend = None - self._is_added = None - self.discriminator = None - - if id is not None: - self.id = 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 tenant_id is not None: - self.tenant_id = tenant_id - if open_time is not None: - self.open_time = open_time - if close_time is not None: - self.close_time = close_time - if dispatch_status is not None: - self.dispatch_status = dispatch_status - if service_area is not None: - self.service_area = service_area - if web_tag is not None: - self.web_tag = web_tag - if description is not None: - self.description = description - if policy_id is not None: - self.policy_id = policy_id - if protocol is not None: - self.protocol = protocol - if certificate_id is not None: - self.certificate_id = certificate_id - if certificate_name is not None: - self.certificate_name = certificate_name - if tls is not None: - self.tls = tls - if cipher is not None: - self.cipher = cipher - if protect_status is not None: - self.protect_status = protect_status - if access_status is not None: - self.access_status = access_status - if create_time is not None: - self.create_time = create_time - if block_page is not None: - self.block_page = block_page - if traffic_mark is not None: - self.traffic_mark = traffic_mark - if flag is not None: - self.flag = flag - if extend is not None: - self.extend = extend - if is_added is not None: - self.is_added = is_added - - @property - def id(self): - """Gets the id of this ShowWafDomainResponseBody. - - 域名id - - :return: The id of this ShowWafDomainResponseBody. - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this ShowWafDomainResponseBody. - - 域名id - - :param id: The id of this ShowWafDomainResponseBody. - :type id: str - """ - self._id = id - - @property - def domain_name(self): - """Gets the domain_name of this ShowWafDomainResponseBody. - - 域名 - - :return: The domain_name of this ShowWafDomainResponseBody. - :rtype: str - """ - return self._domain_name - - @domain_name.setter - def domain_name(self, domain_name): - """Sets the domain_name of this ShowWafDomainResponseBody. - - 域名 - - :param domain_name: The domain_name of this ShowWafDomainResponseBody. - :type domain_name: str - """ - self._domain_name = domain_name - - @property - def enterprise_project_id(self): - """Gets the enterprise_project_id of this ShowWafDomainResponseBody. - - 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - - :return: The enterprise_project_id of this ShowWafDomainResponseBody. - :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 ShowWafDomainResponseBody. - - 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - - :param enterprise_project_id: The enterprise_project_id of this ShowWafDomainResponseBody. - :type enterprise_project_id: str - """ - self._enterprise_project_id = enterprise_project_id - - @property - def tenant_id(self): - """Gets the tenant_id of this ShowWafDomainResponseBody. - - 租户ID - - :return: The tenant_id of this ShowWafDomainResponseBody. - :rtype: str - """ - return self._tenant_id - - @tenant_id.setter - def tenant_id(self, tenant_id): - """Sets the tenant_id of this ShowWafDomainResponseBody. - - 租户ID - - :param tenant_id: The tenant_id of this ShowWafDomainResponseBody. - :type tenant_id: str - """ - self._tenant_id = tenant_id - - @property - def open_time(self): - """Gets the open_time of this ShowWafDomainResponseBody. - - 上一次开启防护的时间 - - :return: The open_time of this ShowWafDomainResponseBody. - :rtype: int - """ - return self._open_time - - @open_time.setter - def open_time(self, open_time): - """Sets the open_time of this ShowWafDomainResponseBody. - - 上一次开启防护的时间 - - :param open_time: The open_time of this ShowWafDomainResponseBody. - :type open_time: int - """ - self._open_time = open_time - - @property - def close_time(self): - """Gets the close_time of this ShowWafDomainResponseBody. - - 上一次关闭防护的时间 - - :return: The close_time of this ShowWafDomainResponseBody. - :rtype: int - """ - return self._close_time - - @close_time.setter - def close_time(self, close_time): - """Sets the close_time of this ShowWafDomainResponseBody. - - 上一次关闭防护的时间 - - :param close_time: The close_time of this ShowWafDomainResponseBody. - :type close_time: int - """ - self._close_time = close_time - - @property - def dispatch_status(self): - """Gets the dispatch_status of this ShowWafDomainResponseBody. - - cdn域名调度情况(0:未防护,1:配置中,2:已防护,3:删除中) - - :return: The dispatch_status of this ShowWafDomainResponseBody. - :rtype: int - """ - return self._dispatch_status - - @dispatch_status.setter - def dispatch_status(self, dispatch_status): - """Sets the dispatch_status of this ShowWafDomainResponseBody. - - cdn域名调度情况(0:未防护,1:配置中,2:已防护,3:删除中) - - :param dispatch_status: The dispatch_status of this ShowWafDomainResponseBody. - :type dispatch_status: int - """ - self._dispatch_status = dispatch_status - - @property - def service_area(self): - """Gets the service_area of this ShowWafDomainResponseBody. - - 域名在CDN所属区域 - - :return: The service_area of this ShowWafDomainResponseBody. - :rtype: str - """ - return self._service_area - - @service_area.setter - def service_area(self, service_area): - """Sets the service_area of this ShowWafDomainResponseBody. - - 域名在CDN所属区域 - - :param service_area: The service_area of this ShowWafDomainResponseBody. - :type service_area: str - """ - self._service_area = service_area - - @property - def web_tag(self): - """Gets the web_tag of this ShowWafDomainResponseBody. - - 域名名称 - - :return: The web_tag of this ShowWafDomainResponseBody. - :rtype: str - """ - return self._web_tag - - @web_tag.setter - def web_tag(self, web_tag): - """Sets the web_tag of this ShowWafDomainResponseBody. - - 域名名称 - - :param web_tag: The web_tag of this ShowWafDomainResponseBody. - :type web_tag: str - """ - self._web_tag = web_tag - - @property - def description(self): - """Gets the description of this ShowWafDomainResponseBody. - - 域名描述 - - :return: The description of this ShowWafDomainResponseBody. - :rtype: str - """ - return self._description - - @description.setter - def description(self, description): - """Sets the description of this ShowWafDomainResponseBody. - - 域名描述 - - :param description: The description of this ShowWafDomainResponseBody. - :type description: str - """ - self._description = description - - @property - def policy_id(self): - """Gets the policy_id of this ShowWafDomainResponseBody. - - 策略id - - :return: The policy_id of this ShowWafDomainResponseBody. - :rtype: str - """ - return self._policy_id - - @policy_id.setter - def policy_id(self, policy_id): - """Sets the policy_id of this ShowWafDomainResponseBody. - - 策略id - - :param policy_id: The policy_id of this ShowWafDomainResponseBody. - :type policy_id: str - """ - self._policy_id = policy_id - - @property - def protocol(self): - """Gets the protocol of this ShowWafDomainResponseBody. - - 协议 - - :return: The protocol of this ShowWafDomainResponseBody. - :rtype: str - """ - return self._protocol - - @protocol.setter - def protocol(self, protocol): - """Sets the protocol of this ShowWafDomainResponseBody. - - 协议 - - :param protocol: The protocol of this ShowWafDomainResponseBody. - :type protocol: str - """ - self._protocol = protocol - - @property - def certificate_id(self): - """Gets the certificate_id of this ShowWafDomainResponseBody. - - 证书id - - :return: The certificate_id of this ShowWafDomainResponseBody. - :rtype: str - """ - return self._certificate_id - - @certificate_id.setter - def certificate_id(self, certificate_id): - """Sets the certificate_id of this ShowWafDomainResponseBody. - - 证书id - - :param certificate_id: The certificate_id of this ShowWafDomainResponseBody. - :type certificate_id: str - """ - self._certificate_id = certificate_id - - @property - def certificate_name(self): - """Gets the certificate_name of this ShowWafDomainResponseBody. - - 证书名称 - - :return: The certificate_name of this ShowWafDomainResponseBody. - :rtype: str - """ - return self._certificate_name - - @certificate_name.setter - def certificate_name(self, certificate_name): - """Sets the certificate_name of this ShowWafDomainResponseBody. - - 证书名称 - - :param certificate_name: The certificate_name of this ShowWafDomainResponseBody. - :type certificate_name: str - """ - self._certificate_name = certificate_name - - @property - def tls(self): - """Gets the tls of this ShowWafDomainResponseBody. - - 配置的最低TLS版本(TLS v1.0/TLS v1.1/TLS v1.2),默认为TLS v1.0版本,对外协议为https时才有tls参数 - - :return: The tls of this ShowWafDomainResponseBody. - :rtype: str - """ - return self._tls - - @tls.setter - def tls(self, tls): - """Sets the tls of this ShowWafDomainResponseBody. - - 配置的最低TLS版本(TLS v1.0/TLS v1.1/TLS v1.2),默认为TLS v1.0版本,对外协议为https时才有tls参数 - - :param tls: The tls of this ShowWafDomainResponseBody. - :type tls: str - """ - self._tls = tls - - @property - def cipher(self): - """Gets the cipher of this ShowWafDomainResponseBody. - - 对外协议为https时才有cipher参数,加密套件(cipher_1,cipher_2,cipher_3,cipher_4,cipher_default): - cipher_1: 加密算法为ECDHE-ECDSA-AES256-GCM-SHA384:HIGH:!MEDIUM:!LOW:!aNULL:!eNULL:!DES:!MD5:!PSK:!RC4:!kRSA:!SRP:!3DES:!DSS:!EXP:!CAMELLIA:@STRENGTH - cipher_2:加密算法为EECDH+AESGCM:EDH+AESGCM - cipher_3:加密算法为ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384:RC4:HIGH:!MD5:!aNULL:!eNULL:!NULL:!DH:!EDH - cipher_4:加密算法为ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-SHA384:AES256-SHA256:RC4:HIGH:!MD5:!aNULL:!eNULL:!NULL:!EDH - cipher_default: 加密算法为ECDHE-RSA-AES256-SHA384:AES256-SHA256:RC4:HIGH:!MD5:!aNULL:!eNULL:!NULL:!DH:!EDH:!AESGCM - - :return: The cipher of this ShowWafDomainResponseBody. - :rtype: str - """ - return self._cipher - - @cipher.setter - def cipher(self, cipher): - """Sets the cipher of this ShowWafDomainResponseBody. - - 对外协议为https时才有cipher参数,加密套件(cipher_1,cipher_2,cipher_3,cipher_4,cipher_default): - cipher_1: 加密算法为ECDHE-ECDSA-AES256-GCM-SHA384:HIGH:!MEDIUM:!LOW:!aNULL:!eNULL:!DES:!MD5:!PSK:!RC4:!kRSA:!SRP:!3DES:!DSS:!EXP:!CAMELLIA:@STRENGTH - cipher_2:加密算法为EECDH+AESGCM:EDH+AESGCM - cipher_3:加密算法为ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384:RC4:HIGH:!MD5:!aNULL:!eNULL:!NULL:!DH:!EDH - cipher_4:加密算法为ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-SHA384:AES256-SHA256:RC4:HIGH:!MD5:!aNULL:!eNULL:!NULL:!EDH - cipher_default: 加密算法为ECDHE-RSA-AES256-SHA384:AES256-SHA256:RC4:HIGH:!MD5:!aNULL:!eNULL:!NULL:!DH:!EDH:!AESGCM - - :param cipher: The cipher of this ShowWafDomainResponseBody. - :type cipher: str - """ - self._cipher = cipher - - @property - def protect_status(self): - """Gets the protect_status of this ShowWafDomainResponseBody. - - 防护状态: - 0-关闭 - 1-开启 - - :return: The protect_status of this ShowWafDomainResponseBody. - :rtype: int - """ - return self._protect_status - - @protect_status.setter - def protect_status(self, protect_status): - """Sets the protect_status of this ShowWafDomainResponseBody. - - 防护状态: - 0-关闭 - 1-开启 - - :param protect_status: The protect_status of this ShowWafDomainResponseBody. - :type protect_status: int - """ - self._protect_status = protect_status - - @property - def access_status(self): - """Gets the access_status of this ShowWafDomainResponseBody. - - 接入状态: - 0-未接入 - 1-已接入 - - :return: The access_status of this ShowWafDomainResponseBody. - :rtype: int - """ - return self._access_status - - @access_status.setter - def access_status(self, access_status): - """Sets the access_status of this ShowWafDomainResponseBody. - - 接入状态: - 0-未接入 - 1-已接入 - - :param access_status: The access_status of this ShowWafDomainResponseBody. - :type access_status: int - """ - self._access_status = access_status - - @property - def create_time(self): - """Gets the create_time of this ShowWafDomainResponseBody. - - 创建域名的时间,13位时间戳 - - :return: The create_time of this ShowWafDomainResponseBody. - :rtype: int - """ - return self._create_time - - @create_time.setter - def create_time(self, create_time): - """Sets the create_time of this ShowWafDomainResponseBody. - - 创建域名的时间,13位时间戳 - - :param create_time: The create_time of this ShowWafDomainResponseBody. - :type create_time: int - """ - self._create_time = create_time - - @property - def block_page(self): - """Gets the block_page of this ShowWafDomainResponseBody. - - :return: The block_page of this ShowWafDomainResponseBody. - :rtype: :class:`huaweicloudsdkedgesec.v1.WafBlockPage` - """ - return self._block_page - - @block_page.setter - def block_page(self, block_page): - """Sets the block_page of this ShowWafDomainResponseBody. - - :param block_page: The block_page of this ShowWafDomainResponseBody. - :type block_page: :class:`huaweicloudsdkedgesec.v1.WafBlockPage` - """ - self._block_page = block_page - - @property - def traffic_mark(self): - """Gets the traffic_mark of this ShowWafDomainResponseBody. - - :return: The traffic_mark of this ShowWafDomainResponseBody. - :rtype: :class:`huaweicloudsdkedgesec.v1.WafTrafficMark` - """ - return self._traffic_mark - - @traffic_mark.setter - def traffic_mark(self, traffic_mark): - """Sets the traffic_mark of this ShowWafDomainResponseBody. - - :param traffic_mark: The traffic_mark of this ShowWafDomainResponseBody. - :type traffic_mark: :class:`huaweicloudsdkedgesec.v1.WafTrafficMark` - """ - self._traffic_mark = traffic_mark - - @property - def flag(self): - """Gets the flag of this ShowWafDomainResponseBody. - - :return: The flag of this ShowWafDomainResponseBody. - :rtype: :class:`huaweicloudsdkedgesec.v1.Flag` - """ - return self._flag - - @flag.setter - def flag(self, flag): - """Sets the flag of this ShowWafDomainResponseBody. - - :param flag: The flag of this ShowWafDomainResponseBody. - :type flag: :class:`huaweicloudsdkedgesec.v1.Flag` - """ - self._flag = flag - - @property - def extend(self): - """Gets the extend of this ShowWafDomainResponseBody. - - 域名可扩展属性 - - :return: The extend of this ShowWafDomainResponseBody. - :rtype: dict(str, str) - """ - return self._extend - - @extend.setter - def extend(self, extend): - """Sets the extend of this ShowWafDomainResponseBody. - - 域名可扩展属性 - - :param extend: The extend of this ShowWafDomainResponseBody. - :type extend: dict(str, str) - """ - self._extend = extend - - @property - def is_added(self): - """Gets the is_added of this ShowWafDomainResponseBody. - - 是否为ddos防护域名 - - :return: The is_added of this ShowWafDomainResponseBody. - :rtype: bool - """ - return self._is_added - - @is_added.setter - def is_added(self, is_added): - """Sets the is_added of this ShowWafDomainResponseBody. - - 是否为ddos防护域名 - - :param is_added: The is_added of this ShowWafDomainResponseBody. - :type is_added: bool - """ - self._is_added = is_added - - 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, ShowWafDomainResponseBody): - 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-edgesec/huaweicloudsdkedgesec/v1/model/time_series_data.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/time_series_data.py deleted file mode 100644 index 2ba183b9d1..0000000000 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/time_series_data.py +++ /dev/null @@ -1,144 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class TimeSeriesData: - - """ - 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 = { - 'time': 'int', - 'value': 'float' - } - - attribute_map = { - 'time': 'time', - 'value': 'value' - } - - def __init__(self, time=None, value=None): - """TimeSeriesData - - The model defined in huaweicloud sdk - - :param time: 13位时间戳 - :type time: int - :param value: 数据值,单位:Kbps(查询流量时)、次(查询事件时) - :type value: float - """ - - - - self._time = None - self._value = None - self.discriminator = None - - if time is not None: - self.time = time - if value is not None: - self.value = value - - @property - def time(self): - """Gets the time of this TimeSeriesData. - - 13位时间戳 - - :return: The time of this TimeSeriesData. - :rtype: int - """ - return self._time - - @time.setter - def time(self, time): - """Sets the time of this TimeSeriesData. - - 13位时间戳 - - :param time: The time of this TimeSeriesData. - :type time: int - """ - self._time = time - - @property - def value(self): - """Gets the value of this TimeSeriesData. - - 数据值,单位:Kbps(查询流量时)、次(查询事件时) - - :return: The value of this TimeSeriesData. - :rtype: float - """ - return self._value - - @value.setter - def value(self, value): - """Sets the value of this TimeSeriesData. - - 数据值,单位:Kbps(查询流量时)、次(查询事件时) - - :param value: The value of this TimeSeriesData. - :type value: float - """ - 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, TimeSeriesData): - 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-edgesec/huaweicloudsdkedgesec/v1/model/update_certificate_request.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/update_certificate_request.py deleted file mode 100644 index 703e2065d9..0000000000 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/update_certificate_request.py +++ /dev/null @@ -1,196 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class UpdateCertificateRequest: - - """ - 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', - 'enterprise_project_id': 'str', - 'certificate_id': 'str', - 'body': 'UpdateCertificateRequestBody' - } - - attribute_map = { - 'project_id': 'project_id', - 'enterprise_project_id': 'enterprise_project_id', - 'certificate_id': 'certificate_id', - 'body': 'body' - } - - def __init__(self, project_id=None, enterprise_project_id=None, certificate_id=None, body=None): - """UpdateCertificateRequest - - The model defined in huaweicloud sdk - - :param project_id: 项目ID,对应华为云控制台用户名->我的凭证->项目列表->项目ID - :type project_id: str - :param enterprise_project_id: 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - :type enterprise_project_id: str - :param certificate_id: https证书id,您可以通过调用查询证书列表(ListCertificates)接口获取证书id - :type certificate_id: str - :param body: Body of the UpdateCertificateRequest - :type body: :class:`huaweicloudsdkedgesec.v1.UpdateCertificateRequestBody` - """ - - - - self._project_id = None - self._enterprise_project_id = None - self._certificate_id = None - self._body = None - self.discriminator = None - - self.project_id = project_id - if enterprise_project_id is not None: - self.enterprise_project_id = enterprise_project_id - self.certificate_id = certificate_id - if body is not None: - self.body = body - - @property - def project_id(self): - """Gets the project_id of this UpdateCertificateRequest. - - 项目ID,对应华为云控制台用户名->我的凭证->项目列表->项目ID - - :return: The project_id of this UpdateCertificateRequest. - :rtype: str - """ - return self._project_id - - @project_id.setter - def project_id(self, project_id): - """Sets the project_id of this UpdateCertificateRequest. - - 项目ID,对应华为云控制台用户名->我的凭证->项目列表->项目ID - - :param project_id: The project_id of this UpdateCertificateRequest. - :type project_id: str - """ - self._project_id = project_id - - @property - def enterprise_project_id(self): - """Gets the enterprise_project_id of this UpdateCertificateRequest. - - 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - - :return: The enterprise_project_id of this UpdateCertificateRequest. - :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 UpdateCertificateRequest. - - 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - - :param enterprise_project_id: The enterprise_project_id of this UpdateCertificateRequest. - :type enterprise_project_id: str - """ - self._enterprise_project_id = enterprise_project_id - - @property - def certificate_id(self): - """Gets the certificate_id of this UpdateCertificateRequest. - - https证书id,您可以通过调用查询证书列表(ListCertificates)接口获取证书id - - :return: The certificate_id of this UpdateCertificateRequest. - :rtype: str - """ - return self._certificate_id - - @certificate_id.setter - def certificate_id(self, certificate_id): - """Sets the certificate_id of this UpdateCertificateRequest. - - https证书id,您可以通过调用查询证书列表(ListCertificates)接口获取证书id - - :param certificate_id: The certificate_id of this UpdateCertificateRequest. - :type certificate_id: str - """ - self._certificate_id = certificate_id - - @property - def body(self): - """Gets the body of this UpdateCertificateRequest. - - :return: The body of this UpdateCertificateRequest. - :rtype: :class:`huaweicloudsdkedgesec.v1.UpdateCertificateRequestBody` - """ - return self._body - - @body.setter - def body(self, body): - """Sets the body of this UpdateCertificateRequest. - - :param body: The body of this UpdateCertificateRequest. - :type body: :class:`huaweicloudsdkedgesec.v1.UpdateCertificateRequestBody` - """ - 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, UpdateCertificateRequest): - 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-edgesec/huaweicloudsdkedgesec/v1/model/update_certificate_request_body.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/update_certificate_request_body.py deleted file mode 100644 index 72e3551c15..0000000000 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/update_certificate_request_body.py +++ /dev/null @@ -1,172 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class UpdateCertificateRequestBody: - - """ - 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', - 'content': 'str', - 'key': 'str' - } - - attribute_map = { - 'name': 'name', - 'content': 'content', - 'key': 'key' - } - - def __init__(self, name=None, content=None, key=None): - """UpdateCertificateRequestBody - - The model defined in huaweicloud sdk - - :param name: 证书名称,证书名称只能由数字、字母、中划线、下划线和英文句点组成,长度不能超过64位字符 - :type name: str - :param content: 证书文件,仅支持PEM格式的证书和私钥文件,且文件中的换行符应以\\n替换 - :type content: str - :param key: 证书私钥,仅支持PEM格式的证书和私钥文件,且文件中的换行符应以\\n替换 - :type key: str - """ - - - - self._name = None - self._content = None - self._key = None - self.discriminator = None - - self.name = name - if content is not None: - self.content = content - if key is not None: - self.key = key - - @property - def name(self): - """Gets the name of this UpdateCertificateRequestBody. - - 证书名称,证书名称只能由数字、字母、中划线、下划线和英文句点组成,长度不能超过64位字符 - - :return: The name of this UpdateCertificateRequestBody. - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this UpdateCertificateRequestBody. - - 证书名称,证书名称只能由数字、字母、中划线、下划线和英文句点组成,长度不能超过64位字符 - - :param name: The name of this UpdateCertificateRequestBody. - :type name: str - """ - self._name = name - - @property - def content(self): - """Gets the content of this UpdateCertificateRequestBody. - - 证书文件,仅支持PEM格式的证书和私钥文件,且文件中的换行符应以\\n替换 - - :return: The content of this UpdateCertificateRequestBody. - :rtype: str - """ - return self._content - - @content.setter - def content(self, content): - """Sets the content of this UpdateCertificateRequestBody. - - 证书文件,仅支持PEM格式的证书和私钥文件,且文件中的换行符应以\\n替换 - - :param content: The content of this UpdateCertificateRequestBody. - :type content: str - """ - self._content = content - - @property - def key(self): - """Gets the key of this UpdateCertificateRequestBody. - - 证书私钥,仅支持PEM格式的证书和私钥文件,且文件中的换行符应以\\n替换 - - :return: The key of this UpdateCertificateRequestBody. - :rtype: str - """ - return self._key - - @key.setter - def key(self, key): - """Sets the key of this UpdateCertificateRequestBody. - - 证书私钥,仅支持PEM格式的证书和私钥文件,且文件中的换行符应以\\n替换 - - :param key: The key of this UpdateCertificateRequestBody. - :type key: str - """ - self._key = key - - 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, UpdateCertificateRequestBody): - 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-edgesec/huaweicloudsdkedgesec/v1/model/update_certificate_response.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/update_certificate_response.py deleted file mode 100644 index 093d2c6ea9..0000000000 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/update_certificate_response.py +++ /dev/null @@ -1,203 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class UpdateCertificateResponse(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', - 'expire_time': 'int', - 'timestamp': 'int' - } - - attribute_map = { - 'id': 'id', - 'name': 'name', - 'expire_time': 'expire_time', - 'timestamp': 'timestamp' - } - - def __init__(self, id=None, name=None, expire_time=None, timestamp=None): - """UpdateCertificateResponse - - The model defined in huaweicloud sdk - - :param id: 证书ID - :type id: str - :param name: 证书名 - :type name: str - :param expire_time: 证书过期时间戳 - :type expire_time: int - :param timestamp: 时间戳 - :type timestamp: int - """ - - super(UpdateCertificateResponse, self).__init__() - - self._id = None - self._name = None - self._expire_time = None - self._timestamp = None - self.discriminator = None - - if id is not None: - self.id = id - if name is not None: - self.name = name - if expire_time is not None: - self.expire_time = expire_time - if timestamp is not None: - self.timestamp = timestamp - - @property - def id(self): - """Gets the id of this UpdateCertificateResponse. - - 证书ID - - :return: The id of this UpdateCertificateResponse. - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this UpdateCertificateResponse. - - 证书ID - - :param id: The id of this UpdateCertificateResponse. - :type id: str - """ - self._id = id - - @property - def name(self): - """Gets the name of this UpdateCertificateResponse. - - 证书名 - - :return: The name of this UpdateCertificateResponse. - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this UpdateCertificateResponse. - - 证书名 - - :param name: The name of this UpdateCertificateResponse. - :type name: str - """ - self._name = name - - @property - def expire_time(self): - """Gets the expire_time of this UpdateCertificateResponse. - - 证书过期时间戳 - - :return: The expire_time of this UpdateCertificateResponse. - :rtype: int - """ - return self._expire_time - - @expire_time.setter - def expire_time(self, expire_time): - """Sets the expire_time of this UpdateCertificateResponse. - - 证书过期时间戳 - - :param expire_time: The expire_time of this UpdateCertificateResponse. - :type expire_time: int - """ - self._expire_time = expire_time - - @property - def timestamp(self): - """Gets the timestamp of this UpdateCertificateResponse. - - 时间戳 - - :return: The timestamp of this UpdateCertificateResponse. - :rtype: int - """ - return self._timestamp - - @timestamp.setter - def timestamp(self, timestamp): - """Sets the timestamp of this UpdateCertificateResponse. - - 时间戳 - - :param timestamp: The timestamp of this UpdateCertificateResponse. - :type timestamp: int - """ - self._timestamp = timestamp - - 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, UpdateCertificateResponse): - 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-edgesec/huaweicloudsdkedgesec/v1/model/update_edge_d_do_s_domains_request_body.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/update_edge_d_do_s_domains_request_body.py deleted file mode 100644 index 3406d76221..0000000000 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/update_edge_d_do_s_domains_request_body.py +++ /dev/null @@ -1,143 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class UpdateEdgeDDoSDomainsRequestBody: - - """ - 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 = { - 'enterprise_project_id': 'str', - 'protected_switch': 'int' - } - - attribute_map = { - 'enterprise_project_id': 'enterprise_project_id', - 'protected_switch': 'protected_switch' - } - - def __init__(self, enterprise_project_id=None, protected_switch=None): - """UpdateEdgeDDoSDomainsRequestBody - - The model defined in huaweicloud sdk - - :param enterprise_project_id: 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - :type enterprise_project_id: str - :param protected_switch: 防护开关(0:关,1:开) - :type protected_switch: int - """ - - - - self._enterprise_project_id = None - self._protected_switch = None - self.discriminator = None - - if enterprise_project_id is not None: - self.enterprise_project_id = enterprise_project_id - self.protected_switch = protected_switch - - @property - def enterprise_project_id(self): - """Gets the enterprise_project_id of this UpdateEdgeDDoSDomainsRequestBody. - - 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - - :return: The enterprise_project_id of this UpdateEdgeDDoSDomainsRequestBody. - :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 UpdateEdgeDDoSDomainsRequestBody. - - 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - - :param enterprise_project_id: The enterprise_project_id of this UpdateEdgeDDoSDomainsRequestBody. - :type enterprise_project_id: str - """ - self._enterprise_project_id = enterprise_project_id - - @property - def protected_switch(self): - """Gets the protected_switch of this UpdateEdgeDDoSDomainsRequestBody. - - 防护开关(0:关,1:开) - - :return: The protected_switch of this UpdateEdgeDDoSDomainsRequestBody. - :rtype: int - """ - return self._protected_switch - - @protected_switch.setter - def protected_switch(self, protected_switch): - """Sets the protected_switch of this UpdateEdgeDDoSDomainsRequestBody. - - 防护开关(0:关,1:开) - - :param protected_switch: The protected_switch of this UpdateEdgeDDoSDomainsRequestBody. - :type protected_switch: int - """ - self._protected_switch = protected_switch - - 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, UpdateEdgeDDoSDomainsRequestBody): - 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-edgesec/huaweicloudsdkedgesec/v1/model/update_edge_d_do_s_domains_response.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/update_edge_d_do_s_domains_response.py deleted file mode 100644 index 9d8767bcbb..0000000000 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/update_edge_d_do_s_domains_response.py +++ /dev/null @@ -1,85 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class UpdateEdgeDDoSDomainsResponse(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): - """UpdateEdgeDDoSDomainsResponse - - The model defined in huaweicloud sdk - - """ - - super(UpdateEdgeDDoSDomainsResponse, 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, UpdateEdgeDDoSDomainsResponse): - 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-edgesec/huaweicloudsdkedgesec/v1/model/update_edge_waf_domains_request_body.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/update_edge_waf_domains_request_body.py deleted file mode 100644 index 334220ac8a..0000000000 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/update_edge_waf_domains_request_body.py +++ /dev/null @@ -1,422 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class UpdateEdgeWafDomainsRequestBody: - - """ - 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 = { - 'protect_status': 'int', - 'access_status': 'int', - 'web_tag': 'str', - 'description': 'str', - 'certificate_id': 'str', - 'enterprise_project_id': 'str', - 'tls': 'str', - 'cipher': 'str', - 'block_page': 'WafBlockPage', - 'traffic_mark': 'WafTrafficMark', - 'flag': 'Flag', - 'extend': 'dict(str, str)' - } - - attribute_map = { - 'protect_status': 'protect_status', - 'access_status': 'access_status', - 'web_tag': 'web_tag', - 'description': 'description', - 'certificate_id': 'certificate_id', - 'enterprise_project_id': 'enterprise_project_id', - 'tls': 'tls', - 'cipher': 'cipher', - 'block_page': 'block_page', - 'traffic_mark': 'traffic_mark', - 'flag': 'flag', - 'extend': 'extend' - } - - def __init__(self, protect_status=None, access_status=None, web_tag=None, description=None, certificate_id=None, enterprise_project_id=None, tls=None, cipher=None, block_page=None, traffic_mark=None, flag=None, extend=None): - """UpdateEdgeWafDomainsRequestBody - - The model defined in huaweicloud sdk - - :param protect_status: 防护状态 - :type protect_status: int - :param access_status: 接入状态 - :type access_status: int - :param web_tag: 域名名称 - :type web_tag: str - :param description: 域名描述 - :type description: str - :param certificate_id: 证书id,通过查询证书列表接口(ListCertificates)接口获取证书id - 对外协议为HTTP时不需要填写 - 对外协议HTTPS时为必填参数 - 查询证书列表接口未开放时,从边缘安全控制台->边缘WAF->证书管理获取 - :type certificate_id: str - :param enterprise_project_id: 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - :type enterprise_project_id: str - :param tls: 配置的最低TLS版本(TLS v1.0/TLS v1.1/TLS v1.2),默认为TLS v1.0版本,对外协议为https时才有tls参数 - :type tls: str - :param cipher: 对外协议为https时才有cipher参数,加密套件(cipher_1,cipher_2,cipher_3,cipher_4,cipher_default): - cipher_1: 加密算法为ECDHE-ECDSA-AES256-GCM-SHA384:HIGH:!MEDIUM:!LOW:!aNULL:!eNULL:!DES:!MD5:!PSK:!RC4:!kRSA:!SRP:!3DES:!DSS:!EXP:!CAMELLIA:@STRENGTH - cipher_2:加密算法为EECDH+AESGCM:EDH+AESGCM - cipher_3:加密算法为ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384:RC4:HIGH:!MD5:!aNULL:!eNULL:!NULL:!DH:!EDH - cipher_4:加密算法为ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-SHA384:AES256-SHA256:RC4:HIGH:!MD5:!aNULL:!eNULL:!NULL:!EDH - cipher_default: 加密算法为ECDHE-RSA-AES256-SHA384:AES256-SHA256:RC4:HIGH:!MD5:!aNULL:!eNULL:!NULL:!DH:!EDH:!AESGCM - :type cipher: str - :param block_page: - :type block_page: :class:`huaweicloudsdkedgesec.v1.WafBlockPage` - :param traffic_mark: - :type traffic_mark: :class:`huaweicloudsdkedgesec.v1.WafTrafficMark` - :param flag: - :type flag: :class:`huaweicloudsdkedgesec.v1.Flag` - :param extend: 域名可扩展字段 - :type extend: dict(str, str) - """ - - - - self._protect_status = None - self._access_status = None - self._web_tag = None - self._description = None - self._certificate_id = None - self._enterprise_project_id = None - self._tls = None - self._cipher = None - self._block_page = None - self._traffic_mark = None - self._flag = None - self._extend = None - self.discriminator = None - - if protect_status is not None: - self.protect_status = protect_status - if access_status is not None: - self.access_status = access_status - if web_tag is not None: - self.web_tag = web_tag - if description is not None: - self.description = description - if certificate_id is not None: - self.certificate_id = certificate_id - if enterprise_project_id is not None: - self.enterprise_project_id = enterprise_project_id - if tls is not None: - self.tls = tls - if cipher is not None: - self.cipher = cipher - if block_page is not None: - self.block_page = block_page - if traffic_mark is not None: - self.traffic_mark = traffic_mark - if flag is not None: - self.flag = flag - if extend is not None: - self.extend = extend - - @property - def protect_status(self): - """Gets the protect_status of this UpdateEdgeWafDomainsRequestBody. - - 防护状态 - - :return: The protect_status of this UpdateEdgeWafDomainsRequestBody. - :rtype: int - """ - return self._protect_status - - @protect_status.setter - def protect_status(self, protect_status): - """Sets the protect_status of this UpdateEdgeWafDomainsRequestBody. - - 防护状态 - - :param protect_status: The protect_status of this UpdateEdgeWafDomainsRequestBody. - :type protect_status: int - """ - self._protect_status = protect_status - - @property - def access_status(self): - """Gets the access_status of this UpdateEdgeWafDomainsRequestBody. - - 接入状态 - - :return: The access_status of this UpdateEdgeWafDomainsRequestBody. - :rtype: int - """ - return self._access_status - - @access_status.setter - def access_status(self, access_status): - """Sets the access_status of this UpdateEdgeWafDomainsRequestBody. - - 接入状态 - - :param access_status: The access_status of this UpdateEdgeWafDomainsRequestBody. - :type access_status: int - """ - self._access_status = access_status - - @property - def web_tag(self): - """Gets the web_tag of this UpdateEdgeWafDomainsRequestBody. - - 域名名称 - - :return: The web_tag of this UpdateEdgeWafDomainsRequestBody. - :rtype: str - """ - return self._web_tag - - @web_tag.setter - def web_tag(self, web_tag): - """Sets the web_tag of this UpdateEdgeWafDomainsRequestBody. - - 域名名称 - - :param web_tag: The web_tag of this UpdateEdgeWafDomainsRequestBody. - :type web_tag: str - """ - self._web_tag = web_tag - - @property - def description(self): - """Gets the description of this UpdateEdgeWafDomainsRequestBody. - - 域名描述 - - :return: The description of this UpdateEdgeWafDomainsRequestBody. - :rtype: str - """ - return self._description - - @description.setter - def description(self, description): - """Sets the description of this UpdateEdgeWafDomainsRequestBody. - - 域名描述 - - :param description: The description of this UpdateEdgeWafDomainsRequestBody. - :type description: str - """ - self._description = description - - @property - def certificate_id(self): - """Gets the certificate_id of this UpdateEdgeWafDomainsRequestBody. - - 证书id,通过查询证书列表接口(ListCertificates)接口获取证书id - 对外协议为HTTP时不需要填写 - 对外协议HTTPS时为必填参数 - 查询证书列表接口未开放时,从边缘安全控制台->边缘WAF->证书管理获取 - - :return: The certificate_id of this UpdateEdgeWafDomainsRequestBody. - :rtype: str - """ - return self._certificate_id - - @certificate_id.setter - def certificate_id(self, certificate_id): - """Sets the certificate_id of this UpdateEdgeWafDomainsRequestBody. - - 证书id,通过查询证书列表接口(ListCertificates)接口获取证书id - 对外协议为HTTP时不需要填写 - 对外协议HTTPS时为必填参数 - 查询证书列表接口未开放时,从边缘安全控制台->边缘WAF->证书管理获取 - - :param certificate_id: The certificate_id of this UpdateEdgeWafDomainsRequestBody. - :type certificate_id: str - """ - self._certificate_id = certificate_id - - @property - def enterprise_project_id(self): - """Gets the enterprise_project_id of this UpdateEdgeWafDomainsRequestBody. - - 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - - :return: The enterprise_project_id of this UpdateEdgeWafDomainsRequestBody. - :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 UpdateEdgeWafDomainsRequestBody. - - 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id - - :param enterprise_project_id: The enterprise_project_id of this UpdateEdgeWafDomainsRequestBody. - :type enterprise_project_id: str - """ - self._enterprise_project_id = enterprise_project_id - - @property - def tls(self): - """Gets the tls of this UpdateEdgeWafDomainsRequestBody. - - 配置的最低TLS版本(TLS v1.0/TLS v1.1/TLS v1.2),默认为TLS v1.0版本,对外协议为https时才有tls参数 - - :return: The tls of this UpdateEdgeWafDomainsRequestBody. - :rtype: str - """ - return self._tls - - @tls.setter - def tls(self, tls): - """Sets the tls of this UpdateEdgeWafDomainsRequestBody. - - 配置的最低TLS版本(TLS v1.0/TLS v1.1/TLS v1.2),默认为TLS v1.0版本,对外协议为https时才有tls参数 - - :param tls: The tls of this UpdateEdgeWafDomainsRequestBody. - :type tls: str - """ - self._tls = tls - - @property - def cipher(self): - """Gets the cipher of this UpdateEdgeWafDomainsRequestBody. - - 对外协议为https时才有cipher参数,加密套件(cipher_1,cipher_2,cipher_3,cipher_4,cipher_default): - cipher_1: 加密算法为ECDHE-ECDSA-AES256-GCM-SHA384:HIGH:!MEDIUM:!LOW:!aNULL:!eNULL:!DES:!MD5:!PSK:!RC4:!kRSA:!SRP:!3DES:!DSS:!EXP:!CAMELLIA:@STRENGTH - cipher_2:加密算法为EECDH+AESGCM:EDH+AESGCM - cipher_3:加密算法为ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384:RC4:HIGH:!MD5:!aNULL:!eNULL:!NULL:!DH:!EDH - cipher_4:加密算法为ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-SHA384:AES256-SHA256:RC4:HIGH:!MD5:!aNULL:!eNULL:!NULL:!EDH - cipher_default: 加密算法为ECDHE-RSA-AES256-SHA384:AES256-SHA256:RC4:HIGH:!MD5:!aNULL:!eNULL:!NULL:!DH:!EDH:!AESGCM - - :return: The cipher of this UpdateEdgeWafDomainsRequestBody. - :rtype: str - """ - return self._cipher - - @cipher.setter - def cipher(self, cipher): - """Sets the cipher of this UpdateEdgeWafDomainsRequestBody. - - 对外协议为https时才有cipher参数,加密套件(cipher_1,cipher_2,cipher_3,cipher_4,cipher_default): - cipher_1: 加密算法为ECDHE-ECDSA-AES256-GCM-SHA384:HIGH:!MEDIUM:!LOW:!aNULL:!eNULL:!DES:!MD5:!PSK:!RC4:!kRSA:!SRP:!3DES:!DSS:!EXP:!CAMELLIA:@STRENGTH - cipher_2:加密算法为EECDH+AESGCM:EDH+AESGCM - cipher_3:加密算法为ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384:RC4:HIGH:!MD5:!aNULL:!eNULL:!NULL:!DH:!EDH - cipher_4:加密算法为ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-SHA384:AES256-SHA256:RC4:HIGH:!MD5:!aNULL:!eNULL:!NULL:!EDH - cipher_default: 加密算法为ECDHE-RSA-AES256-SHA384:AES256-SHA256:RC4:HIGH:!MD5:!aNULL:!eNULL:!NULL:!DH:!EDH:!AESGCM - - :param cipher: The cipher of this UpdateEdgeWafDomainsRequestBody. - :type cipher: str - """ - self._cipher = cipher - - @property - def block_page(self): - """Gets the block_page of this UpdateEdgeWafDomainsRequestBody. - - :return: The block_page of this UpdateEdgeWafDomainsRequestBody. - :rtype: :class:`huaweicloudsdkedgesec.v1.WafBlockPage` - """ - return self._block_page - - @block_page.setter - def block_page(self, block_page): - """Sets the block_page of this UpdateEdgeWafDomainsRequestBody. - - :param block_page: The block_page of this UpdateEdgeWafDomainsRequestBody. - :type block_page: :class:`huaweicloudsdkedgesec.v1.WafBlockPage` - """ - self._block_page = block_page - - @property - def traffic_mark(self): - """Gets the traffic_mark of this UpdateEdgeWafDomainsRequestBody. - - :return: The traffic_mark of this UpdateEdgeWafDomainsRequestBody. - :rtype: :class:`huaweicloudsdkedgesec.v1.WafTrafficMark` - """ - return self._traffic_mark - - @traffic_mark.setter - def traffic_mark(self, traffic_mark): - """Sets the traffic_mark of this UpdateEdgeWafDomainsRequestBody. - - :param traffic_mark: The traffic_mark of this UpdateEdgeWafDomainsRequestBody. - :type traffic_mark: :class:`huaweicloudsdkedgesec.v1.WafTrafficMark` - """ - self._traffic_mark = traffic_mark - - @property - def flag(self): - """Gets the flag of this UpdateEdgeWafDomainsRequestBody. - - :return: The flag of this UpdateEdgeWafDomainsRequestBody. - :rtype: :class:`huaweicloudsdkedgesec.v1.Flag` - """ - return self._flag - - @flag.setter - def flag(self, flag): - """Sets the flag of this UpdateEdgeWafDomainsRequestBody. - - :param flag: The flag of this UpdateEdgeWafDomainsRequestBody. - :type flag: :class:`huaweicloudsdkedgesec.v1.Flag` - """ - self._flag = flag - - @property - def extend(self): - """Gets the extend of this UpdateEdgeWafDomainsRequestBody. - - 域名可扩展字段 - - :return: The extend of this UpdateEdgeWafDomainsRequestBody. - :rtype: dict(str, str) - """ - return self._extend - - @extend.setter - def extend(self, extend): - """Sets the extend of this UpdateEdgeWafDomainsRequestBody. - - 域名可扩展字段 - - :param extend: The extend of this UpdateEdgeWafDomainsRequestBody. - :type extend: dict(str, str) - """ - self._extend = extend - - 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, UpdateEdgeWafDomainsRequestBody): - 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-edgesec/huaweicloudsdkedgesec/v1/model/waf_block_page.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/waf_block_page.py deleted file mode 100644 index 2a349c7477..0000000000 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/waf_block_page.py +++ /dev/null @@ -1,168 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class WafBlockPage: - - """ - 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 = { - 'template': 'str', - 'custom_page': 'WafCustomPage', - 'redirect_url': 'str' - } - - attribute_map = { - 'template': 'template', - 'custom_page': 'custom_page', - 'redirect_url': 'redirect_url' - } - - def __init__(self, template=None, custom_page=None, redirect_url=None): - """WafBlockPage - - The model defined in huaweicloud sdk - - :param template: 拦截模板名称 - :type template: str - :param custom_page: - :type custom_page: :class:`huaweicloudsdkedgesec.v1.WafCustomPage` - :param redirect_url: 重定向URL - :type redirect_url: str - """ - - - - self._template = None - self._custom_page = None - self._redirect_url = None - self.discriminator = None - - self.template = template - if custom_page is not None: - self.custom_page = custom_page - if redirect_url is not None: - self.redirect_url = redirect_url - - @property - def template(self): - """Gets the template of this WafBlockPage. - - 拦截模板名称 - - :return: The template of this WafBlockPage. - :rtype: str - """ - return self._template - - @template.setter - def template(self, template): - """Sets the template of this WafBlockPage. - - 拦截模板名称 - - :param template: The template of this WafBlockPage. - :type template: str - """ - self._template = template - - @property - def custom_page(self): - """Gets the custom_page of this WafBlockPage. - - :return: The custom_page of this WafBlockPage. - :rtype: :class:`huaweicloudsdkedgesec.v1.WafCustomPage` - """ - return self._custom_page - - @custom_page.setter - def custom_page(self, custom_page): - """Sets the custom_page of this WafBlockPage. - - :param custom_page: The custom_page of this WafBlockPage. - :type custom_page: :class:`huaweicloudsdkedgesec.v1.WafCustomPage` - """ - self._custom_page = custom_page - - @property - def redirect_url(self): - """Gets the redirect_url of this WafBlockPage. - - 重定向URL - - :return: The redirect_url of this WafBlockPage. - :rtype: str - """ - return self._redirect_url - - @redirect_url.setter - def redirect_url(self, redirect_url): - """Sets the redirect_url of this WafBlockPage. - - 重定向URL - - :param redirect_url: The redirect_url of this WafBlockPage. - :type redirect_url: str - """ - self._redirect_url = redirect_url - - 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, WafBlockPage): - 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-edgesec/huaweicloudsdkedgesec/v1/model/waf_policy_action.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/waf_policy_action.py deleted file mode 100644 index 2adc2ae22f..0000000000 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/waf_policy_action.py +++ /dev/null @@ -1,144 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class WafPolicyAction: - - """ - 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 = { - 'category': 'str', - 'followed_action_id': 'str' - } - - attribute_map = { - 'category': 'category', - 'followed_action_id': 'followed_action_id' - } - - def __init__(self, category=None, followed_action_id=None): - """WafPolicyAction - - The model defined in huaweicloud sdk - - :param category: web基础防护动作(log为仅记录、block为拦截) - :type category: str - :param followed_action_id: 攻击惩罚规则ID - :type followed_action_id: str - """ - - - - self._category = None - self._followed_action_id = None - self.discriminator = None - - if category is not None: - self.category = category - if followed_action_id is not None: - self.followed_action_id = followed_action_id - - @property - def category(self): - """Gets the category of this WafPolicyAction. - - web基础防护动作(log为仅记录、block为拦截) - - :return: The category of this WafPolicyAction. - :rtype: str - """ - return self._category - - @category.setter - def category(self, category): - """Sets the category of this WafPolicyAction. - - web基础防护动作(log为仅记录、block为拦截) - - :param category: The category of this WafPolicyAction. - :type category: str - """ - self._category = category - - @property - def followed_action_id(self): - """Gets the followed_action_id of this WafPolicyAction. - - 攻击惩罚规则ID - - :return: The followed_action_id of this WafPolicyAction. - :rtype: str - """ - return self._followed_action_id - - @followed_action_id.setter - def followed_action_id(self, followed_action_id): - """Sets the followed_action_id of this WafPolicyAction. - - 攻击惩罚规则ID - - :param followed_action_id: The followed_action_id of this WafPolicyAction. - :type followed_action_id: str - """ - self._followed_action_id = followed_action_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, WafPolicyAction): - 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-edgesec/huaweicloudsdkedgesec/v1/model/waf_policy_bind_host.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/waf_policy_bind_host.py deleted file mode 100644 index b5ce67db80..0000000000 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/waf_policy_bind_host.py +++ /dev/null @@ -1,144 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class WafPolicyBindHost: - - """ - 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', - 'hostname': 'str' - } - - attribute_map = { - 'id': 'id', - 'hostname': 'hostname' - } - - def __init__(self, id=None, hostname=None): - """WafPolicyBindHost - - The model defined in huaweicloud sdk - - :param id: 域名ID - :type id: str - :param hostname: 域名 - :type hostname: str - """ - - - - self._id = None - self._hostname = None - self.discriminator = None - - if id is not None: - self.id = id - if hostname is not None: - self.hostname = hostname - - @property - def id(self): - """Gets the id of this WafPolicyBindHost. - - 域名ID - - :return: The id of this WafPolicyBindHost. - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this WafPolicyBindHost. - - 域名ID - - :param id: The id of this WafPolicyBindHost. - :type id: str - """ - self._id = id - - @property - def hostname(self): - """Gets the hostname of this WafPolicyBindHost. - - 域名 - - :return: The hostname of this WafPolicyBindHost. - :rtype: str - """ - return self._hostname - - @hostname.setter - def hostname(self, hostname): - """Sets the hostname of this WafPolicyBindHost. - - 域名 - - :param hostname: The hostname of this WafPolicyBindHost. - :type hostname: str - """ - self._hostname = hostname - - 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, WafPolicyBindHost): - 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-edgesec/huaweicloudsdkedgesec/v1/model/waf_policy_option.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/waf_policy_option.py deleted file mode 100644 index baaa75897f..0000000000 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/waf_policy_option.py +++ /dev/null @@ -1,637 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class WafPolicyOption: - - """ - 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 = { - 'webattack': 'bool', - 'common': 'bool', - 'bot_enable': 'bool', - 'crawler': 'bool', - 'crawler_engine': 'bool', - 'crawler_scanner': 'bool', - 'crawler_script': 'bool', - 'crawler_other': 'bool', - 'webshell': 'bool', - 'cc': 'bool', - 'custom': 'bool', - 'followed_action': 'bool', - 'whiteblackip': 'bool', - 'geoip': 'bool', - 'ignore': 'bool', - 'privacy': 'bool', - 'antitamper': 'bool', - 'antileakage': 'bool', - 'anticrawler': 'bool' - } - - attribute_map = { - 'webattack': 'webattack', - 'common': 'common', - 'bot_enable': 'bot_enable', - 'crawler': 'crawler', - 'crawler_engine': 'crawler_engine', - 'crawler_scanner': 'crawler_scanner', - 'crawler_script': 'crawler_script', - 'crawler_other': 'crawler_other', - 'webshell': 'webshell', - 'cc': 'cc', - 'custom': 'custom', - 'followed_action': 'followed_action', - 'whiteblackip': 'whiteblackip', - 'geoip': 'geoip', - 'ignore': 'ignore', - 'privacy': 'privacy', - 'antitamper': 'antitamper', - 'antileakage': 'antileakage', - 'anticrawler': 'anticrawler' - } - - def __init__(self, webattack=None, common=None, bot_enable=None, crawler=None, crawler_engine=None, crawler_scanner=None, crawler_script=None, crawler_other=None, webshell=None, cc=None, custom=None, followed_action=None, whiteblackip=None, geoip=None, ignore=None, privacy=None, antitamper=None, antileakage=None, anticrawler=None): - """WafPolicyOption - - The model defined in huaweicloud sdk - - :param webattack: 基础防护是否开启 - :type webattack: bool - :param common: 常规检测是否开启 - :type common: bool - :param bot_enable: 所有反爬虫是否开启 - :type bot_enable: bool - :param crawler: 特征反爬虫是否开启 - :type crawler: bool - :param crawler_engine: 搜索engine是否开启 - :type crawler_engine: bool - :param crawler_scanner: 扫描器是否开启 - :type crawler_scanner: bool - :param crawler_script: 脚本反爬虫是否开启 - :type crawler_script: bool - :param crawler_other: 其他爬虫是否开启 - :type crawler_other: bool - :param webshell: Webshell检测是否开启 - :type webshell: bool - :param cc: cc规则是否开启 - :type cc: bool - :param custom: 精准防护是否开启 - :type custom: bool - :param followed_action: 攻击惩罚是否开启 - :type followed_action: bool - :param whiteblackip: 黑白名单防护是否开启 - :type whiteblackip: bool - :param geoip: 地理位置规则是否开启 - :type geoip: bool - :param ignore: 误报屏蔽是否开启 - :type ignore: bool - :param privacy: 隐私屏蔽是否开启 - :type privacy: bool - :param antitamper: 网页防篡改规则是否开启 - :type antitamper: bool - :param antileakage: 防敏感信息泄露规则是否开启 - :type antileakage: bool - :param anticrawler: 脚本反爬虫规则是否开启 - :type anticrawler: bool - """ - - - - self._webattack = None - self._common = None - self._bot_enable = None - self._crawler = None - self._crawler_engine = None - self._crawler_scanner = None - self._crawler_script = None - self._crawler_other = None - self._webshell = None - self._cc = None - self._custom = None - self._followed_action = None - self._whiteblackip = None - self._geoip = None - self._ignore = None - self._privacy = None - self._antitamper = None - self._antileakage = None - self._anticrawler = None - self.discriminator = None - - if webattack is not None: - self.webattack = webattack - if common is not None: - self.common = common - if bot_enable is not None: - self.bot_enable = bot_enable - if crawler is not None: - self.crawler = crawler - if crawler_engine is not None: - self.crawler_engine = crawler_engine - if crawler_scanner is not None: - self.crawler_scanner = crawler_scanner - if crawler_script is not None: - self.crawler_script = crawler_script - if crawler_other is not None: - self.crawler_other = crawler_other - if webshell is not None: - self.webshell = webshell - if cc is not None: - self.cc = cc - if custom is not None: - self.custom = custom - if followed_action is not None: - self.followed_action = followed_action - if whiteblackip is not None: - self.whiteblackip = whiteblackip - if geoip is not None: - self.geoip = geoip - if ignore is not None: - self.ignore = ignore - if privacy is not None: - self.privacy = privacy - if antitamper is not None: - self.antitamper = antitamper - if antileakage is not None: - self.antileakage = antileakage - if anticrawler is not None: - self.anticrawler = anticrawler - - @property - def webattack(self): - """Gets the webattack of this WafPolicyOption. - - 基础防护是否开启 - - :return: The webattack of this WafPolicyOption. - :rtype: bool - """ - return self._webattack - - @webattack.setter - def webattack(self, webattack): - """Sets the webattack of this WafPolicyOption. - - 基础防护是否开启 - - :param webattack: The webattack of this WafPolicyOption. - :type webattack: bool - """ - self._webattack = webattack - - @property - def common(self): - """Gets the common of this WafPolicyOption. - - 常规检测是否开启 - - :return: The common of this WafPolicyOption. - :rtype: bool - """ - return self._common - - @common.setter - def common(self, common): - """Sets the common of this WafPolicyOption. - - 常规检测是否开启 - - :param common: The common of this WafPolicyOption. - :type common: bool - """ - self._common = common - - @property - def bot_enable(self): - """Gets the bot_enable of this WafPolicyOption. - - 所有反爬虫是否开启 - - :return: The bot_enable of this WafPolicyOption. - :rtype: bool - """ - return self._bot_enable - - @bot_enable.setter - def bot_enable(self, bot_enable): - """Sets the bot_enable of this WafPolicyOption. - - 所有反爬虫是否开启 - - :param bot_enable: The bot_enable of this WafPolicyOption. - :type bot_enable: bool - """ - self._bot_enable = bot_enable - - @property - def crawler(self): - """Gets the crawler of this WafPolicyOption. - - 特征反爬虫是否开启 - - :return: The crawler of this WafPolicyOption. - :rtype: bool - """ - return self._crawler - - @crawler.setter - def crawler(self, crawler): - """Sets the crawler of this WafPolicyOption. - - 特征反爬虫是否开启 - - :param crawler: The crawler of this WafPolicyOption. - :type crawler: bool - """ - self._crawler = crawler - - @property - def crawler_engine(self): - """Gets the crawler_engine of this WafPolicyOption. - - 搜索engine是否开启 - - :return: The crawler_engine of this WafPolicyOption. - :rtype: bool - """ - return self._crawler_engine - - @crawler_engine.setter - def crawler_engine(self, crawler_engine): - """Sets the crawler_engine of this WafPolicyOption. - - 搜索engine是否开启 - - :param crawler_engine: The crawler_engine of this WafPolicyOption. - :type crawler_engine: bool - """ - self._crawler_engine = crawler_engine - - @property - def crawler_scanner(self): - """Gets the crawler_scanner of this WafPolicyOption. - - 扫描器是否开启 - - :return: The crawler_scanner of this WafPolicyOption. - :rtype: bool - """ - return self._crawler_scanner - - @crawler_scanner.setter - def crawler_scanner(self, crawler_scanner): - """Sets the crawler_scanner of this WafPolicyOption. - - 扫描器是否开启 - - :param crawler_scanner: The crawler_scanner of this WafPolicyOption. - :type crawler_scanner: bool - """ - self._crawler_scanner = crawler_scanner - - @property - def crawler_script(self): - """Gets the crawler_script of this WafPolicyOption. - - 脚本反爬虫是否开启 - - :return: The crawler_script of this WafPolicyOption. - :rtype: bool - """ - return self._crawler_script - - @crawler_script.setter - def crawler_script(self, crawler_script): - """Sets the crawler_script of this WafPolicyOption. - - 脚本反爬虫是否开启 - - :param crawler_script: The crawler_script of this WafPolicyOption. - :type crawler_script: bool - """ - self._crawler_script = crawler_script - - @property - def crawler_other(self): - """Gets the crawler_other of this WafPolicyOption. - - 其他爬虫是否开启 - - :return: The crawler_other of this WafPolicyOption. - :rtype: bool - """ - return self._crawler_other - - @crawler_other.setter - def crawler_other(self, crawler_other): - """Sets the crawler_other of this WafPolicyOption. - - 其他爬虫是否开启 - - :param crawler_other: The crawler_other of this WafPolicyOption. - :type crawler_other: bool - """ - self._crawler_other = crawler_other - - @property - def webshell(self): - """Gets the webshell of this WafPolicyOption. - - Webshell检测是否开启 - - :return: The webshell of this WafPolicyOption. - :rtype: bool - """ - return self._webshell - - @webshell.setter - def webshell(self, webshell): - """Sets the webshell of this WafPolicyOption. - - Webshell检测是否开启 - - :param webshell: The webshell of this WafPolicyOption. - :type webshell: bool - """ - self._webshell = webshell - - @property - def cc(self): - """Gets the cc of this WafPolicyOption. - - cc规则是否开启 - - :return: The cc of this WafPolicyOption. - :rtype: bool - """ - return self._cc - - @cc.setter - def cc(self, cc): - """Sets the cc of this WafPolicyOption. - - cc规则是否开启 - - :param cc: The cc of this WafPolicyOption. - :type cc: bool - """ - self._cc = cc - - @property - def custom(self): - """Gets the custom of this WafPolicyOption. - - 精准防护是否开启 - - :return: The custom of this WafPolicyOption. - :rtype: bool - """ - return self._custom - - @custom.setter - def custom(self, custom): - """Sets the custom of this WafPolicyOption. - - 精准防护是否开启 - - :param custom: The custom of this WafPolicyOption. - :type custom: bool - """ - self._custom = custom - - @property - def followed_action(self): - """Gets the followed_action of this WafPolicyOption. - - 攻击惩罚是否开启 - - :return: The followed_action of this WafPolicyOption. - :rtype: bool - """ - return self._followed_action - - @followed_action.setter - def followed_action(self, followed_action): - """Sets the followed_action of this WafPolicyOption. - - 攻击惩罚是否开启 - - :param followed_action: The followed_action of this WafPolicyOption. - :type followed_action: bool - """ - self._followed_action = followed_action - - @property - def whiteblackip(self): - """Gets the whiteblackip of this WafPolicyOption. - - 黑白名单防护是否开启 - - :return: The whiteblackip of this WafPolicyOption. - :rtype: bool - """ - return self._whiteblackip - - @whiteblackip.setter - def whiteblackip(self, whiteblackip): - """Sets the whiteblackip of this WafPolicyOption. - - 黑白名单防护是否开启 - - :param whiteblackip: The whiteblackip of this WafPolicyOption. - :type whiteblackip: bool - """ - self._whiteblackip = whiteblackip - - @property - def geoip(self): - """Gets the geoip of this WafPolicyOption. - - 地理位置规则是否开启 - - :return: The geoip of this WafPolicyOption. - :rtype: bool - """ - return self._geoip - - @geoip.setter - def geoip(self, geoip): - """Sets the geoip of this WafPolicyOption. - - 地理位置规则是否开启 - - :param geoip: The geoip of this WafPolicyOption. - :type geoip: bool - """ - self._geoip = geoip - - @property - def ignore(self): - """Gets the ignore of this WafPolicyOption. - - 误报屏蔽是否开启 - - :return: The ignore of this WafPolicyOption. - :rtype: bool - """ - return self._ignore - - @ignore.setter - def ignore(self, ignore): - """Sets the ignore of this WafPolicyOption. - - 误报屏蔽是否开启 - - :param ignore: The ignore of this WafPolicyOption. - :type ignore: bool - """ - self._ignore = ignore - - @property - def privacy(self): - """Gets the privacy of this WafPolicyOption. - - 隐私屏蔽是否开启 - - :return: The privacy of this WafPolicyOption. - :rtype: bool - """ - return self._privacy - - @privacy.setter - def privacy(self, privacy): - """Sets the privacy of this WafPolicyOption. - - 隐私屏蔽是否开启 - - :param privacy: The privacy of this WafPolicyOption. - :type privacy: bool - """ - self._privacy = privacy - - @property - def antitamper(self): - """Gets the antitamper of this WafPolicyOption. - - 网页防篡改规则是否开启 - - :return: The antitamper of this WafPolicyOption. - :rtype: bool - """ - return self._antitamper - - @antitamper.setter - def antitamper(self, antitamper): - """Sets the antitamper of this WafPolicyOption. - - 网页防篡改规则是否开启 - - :param antitamper: The antitamper of this WafPolicyOption. - :type antitamper: bool - """ - self._antitamper = antitamper - - @property - def antileakage(self): - """Gets the antileakage of this WafPolicyOption. - - 防敏感信息泄露规则是否开启 - - :return: The antileakage of this WafPolicyOption. - :rtype: bool - """ - return self._antileakage - - @antileakage.setter - def antileakage(self, antileakage): - """Sets the antileakage of this WafPolicyOption. - - 防敏感信息泄露规则是否开启 - - :param antileakage: The antileakage of this WafPolicyOption. - :type antileakage: bool - """ - self._antileakage = antileakage - - @property - def anticrawler(self): - """Gets the anticrawler of this WafPolicyOption. - - 脚本反爬虫规则是否开启 - - :return: The anticrawler of this WafPolicyOption. - :rtype: bool - """ - return self._anticrawler - - @anticrawler.setter - def anticrawler(self, anticrawler): - """Sets the anticrawler of this WafPolicyOption. - - 脚本反爬虫规则是否开启 - - :param anticrawler: The anticrawler of this WafPolicyOption. - :type anticrawler: bool - """ - self._anticrawler = anticrawler - - 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, WafPolicyOption): - 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-edgesec/huaweicloudsdkedgesec/v2/__init__.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/__init__.py new file mode 100644 index 0000000000..5a65227568 --- /dev/null +++ b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/__init__.py @@ -0,0 +1,21 @@ +# coding: utf-8 + +from __future__ import absolute_import + +from huaweicloudsdkedgesec.v2.edgesec_client import EdgeSecClient +from huaweicloudsdkedgesec.v2.edgesec_async_client import EdgeSecAsyncClient + +from huaweicloudsdkedgesec.v2.model.create_domain_request_body import CreateDomainRequestBody +from huaweicloudsdkedgesec.v2.model.create_domains_request import CreateDomainsRequest +from huaweicloudsdkedgesec.v2.model.create_domains_response import CreateDomainsResponse +from huaweicloudsdkedgesec.v2.model.delete_domains_request import DeleteDomainsRequest +from huaweicloudsdkedgesec.v2.model.delete_domains_response import DeleteDomainsResponse +from huaweicloudsdkedgesec.v2.model.domain_info import DomainInfo +from huaweicloudsdkedgesec.v2.model.show_domain_detail_request import ShowDomainDetailRequest +from huaweicloudsdkedgesec.v2.model.show_domain_detail_response import ShowDomainDetailResponse +from huaweicloudsdkedgesec.v2.model.show_domains_request import ShowDomainsRequest +from huaweicloudsdkedgesec.v2.model.show_domains_response import ShowDomainsResponse +from huaweicloudsdkedgesec.v2.model.update_domain_request_body import UpdateDomainRequestBody +from huaweicloudsdkedgesec.v2.model.update_domains_request import UpdateDomainsRequest +from huaweicloudsdkedgesec.v2.model.update_domains_response import UpdateDomainsResponse + diff --git a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/edgesec_async_client.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/edgesec_async_client.py new file mode 100644 index 0000000000..6ba0a235f0 --- /dev/null +++ b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/edgesec_async_client.py @@ -0,0 +1,419 @@ +# coding: utf-8 + +from __future__ import absolute_import + +import importlib +import warnings + +from huaweicloudsdkcore.client import Client, ClientBuilder +from huaweicloudsdkcore.utils import http_utils +from huaweicloudsdkcore.sdk_stream_request import SdkStreamRequest +try: + from huaweicloudsdkcore.invoker.invoker import AsyncInvoker +except ImportError as e: + warnings.warn(str(e) + ", please check if you are using the same versions of 'huaweicloudsdkcore' and 'huaweicloudsdkedgesec'") + + +class EdgeSecAsyncClient(Client): + def __init__(self): + super(EdgeSecAsyncClient, self).__init__() + self.model_package = importlib.import_module("huaweicloudsdkedgesec.v2.model") + + @classmethod + def new_builder(cls, clazz=None): + if not clazz: + client_builder = ClientBuilder(cls) + else: + if clazz.__name__ != "EdgeSecAsyncClient": + raise TypeError("client type error, support client type is EdgeSecAsyncClient") + client_builder = ClientBuilder(clazz) + + + + return client_builder + + def create_domains_async(self, request): + """创建防护域名 + + 创建防护域名 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for CreateDomains + :type request: :class:`huaweicloudsdkedgesec.v2.CreateDomainsRequest` + :rtype: :class:`huaweicloudsdkedgesec.v2.CreateDomainsResponse` + """ + http_info = self._create_domains_http_info(request) + return self._call_api(**http_info) + + def create_domains_async_invoker(self, request): + http_info = self._create_domains_http_info(request) + return AsyncInvoker(self, http_info) + + def _create_domains_http_info(self, request): + http_info = { + "method": "POST", + "resource_path": "/v1/edgesec/configuration/domains", + "request_type": request.__class__.__name__, + "response_type": "CreateDomainsResponse" + } + + 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 delete_domains_async(self, request): + """删除防护域名 + + 删除防护域名 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for DeleteDomains + :type request: :class:`huaweicloudsdkedgesec.v2.DeleteDomainsRequest` + :rtype: :class:`huaweicloudsdkedgesec.v2.DeleteDomainsResponse` + """ + http_info = self._delete_domains_http_info(request) + return self._call_api(**http_info) + + def delete_domains_async_invoker(self, request): + http_info = self._delete_domains_http_info(request) + return AsyncInvoker(self, http_info) + + def _delete_domains_http_info(self, request): + http_info = { + "method": "DELETE", + "resource_path": "/v1/edgesec/configuration/domains/{domain_id}", + "request_type": request.__class__.__name__, + "response_type": "DeleteDomainsResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'domain_id' in local_var_params: + path_params['domain_id'] = local_var_params['domain_id'] + + query_params = [] + 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 show_domain_detail_async(self, request): + """查询防护域名详情 + + 查询防护域名 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for ShowDomainDetail + :type request: :class:`huaweicloudsdkedgesec.v2.ShowDomainDetailRequest` + :rtype: :class:`huaweicloudsdkedgesec.v2.ShowDomainDetailResponse` + """ + http_info = self._show_domain_detail_http_info(request) + return self._call_api(**http_info) + + def show_domain_detail_async_invoker(self, request): + http_info = self._show_domain_detail_http_info(request) + return AsyncInvoker(self, http_info) + + def _show_domain_detail_http_info(self, request): + http_info = { + "method": "GET", + "resource_path": "/v1/edgesec/configuration/domains/{domain_id}", + "request_type": request.__class__.__name__, + "response_type": "ShowDomainDetailResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'domain_id' in local_var_params: + path_params['domain_id'] = local_var_params['domain_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_domains_async(self, request): + """查询防护域名列表 + + 查询防护域名列表 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for ShowDomains + :type request: :class:`huaweicloudsdkedgesec.v2.ShowDomainsRequest` + :rtype: :class:`huaweicloudsdkedgesec.v2.ShowDomainsResponse` + """ + http_info = self._show_domains_http_info(request) + return self._call_api(**http_info) + + def show_domains_async_invoker(self, request): + http_info = self._show_domains_http_info(request) + return AsyncInvoker(self, http_info) + + def _show_domains_http_info(self, request): + http_info = { + "method": "GET", + "resource_path": "/v1/edgesec/configuration/domains", + "request_type": request.__class__.__name__, + "response_type": "ShowDomainsResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'offset' in local_var_params: + query_params.append(('offset', local_var_params['offset'])) + if 'limit' in local_var_params: + query_params.append(('limit', local_var_params['limit'])) + if 'domain_name' in local_var_params: + query_params.append(('domain_name', local_var_params['domain_name'])) + if 'policy_name' in local_var_params: + query_params.append(('policy_name', local_var_params['policy_name'])) + 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 update_domains_async(self, request): + """更新防护域名 + + 更新防护域名 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for UpdateDomains + :type request: :class:`huaweicloudsdkedgesec.v2.UpdateDomainsRequest` + :rtype: :class:`huaweicloudsdkedgesec.v2.UpdateDomainsResponse` + """ + http_info = self._update_domains_http_info(request) + return self._call_api(**http_info) + + def update_domains_async_invoker(self, request): + http_info = self._update_domains_http_info(request) + return AsyncInvoker(self, http_info) + + def _update_domains_http_info(self, request): + http_info = { + "method": "PUT", + "resource_path": "/v1/edgesec/configuration/domains/{domain_id}", + "request_type": request.__class__.__name__, + "response_type": "UpdateDomainsResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'domain_id' in local_var_params: + path_params['domain_id'] = local_var_params['domain_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 _call_api(self, **kwargs): + try: + kwargs["async_request"] = True + return self.do_http_request(**kwargs) + except TypeError: + import inspect + params = inspect.signature(self.do_http_request).parameters + http_info = {param_name: kwargs.get(param_name) for param_name in params if param_name in kwargs} + return self.do_http_request(**http_info) + + def call_api(self, resource_path, method, path_params=None, query_params=None, header_params=None, body=None, + post_params=None, cname=None, response_type=None, response_headers=None, auth_settings=None, + collection_formats=None, request_type=None): + """Makes the HTTP request and returns deserialized data. + + :param resource_path: Path to method endpoint. + :param method: Method to call. + :param path_params: Path parameters in the url. + :param query_params: Query parameters in the url. + :param header_params: Header parameters to be + placed in the request header. + :param body: Request body. + :param post_params: Request post form parameters, + for `application/x-www-form-urlencoded`, `multipart/form-data`. + :param cname: Used for obs endpoint. + :param auth_settings: Auth Settings names for the request. + :param response_type: Response data type. + :param response_headers: Header should be added to response data. + :param collection_formats: dict of collection formats for path, query, + header, and post parameters. + :param request_type: Request data type. + :return: + Return the response directly. + """ + return self.do_http_request( + method=method, + resource_path=resource_path, + path_params=path_params, + query_params=query_params, + header_params=header_params, + body=body, + post_params=post_params, + cname=cname, + response_type=response_type, + response_headers=response_headers, + collection_formats=collection_formats, + request_type=request_type, + async_request=True) diff --git a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/edgesec_client.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/edgesec_client.py new file mode 100644 index 0000000000..23fbdad74e --- /dev/null +++ b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/edgesec_client.py @@ -0,0 +1,416 @@ +# coding: utf-8 + +from __future__ import absolute_import + +import importlib +import warnings + +from huaweicloudsdkcore.client import Client, ClientBuilder +from huaweicloudsdkcore.utils import http_utils +from huaweicloudsdkcore.sdk_stream_request import SdkStreamRequest +try: + from huaweicloudsdkcore.invoker.invoker import SyncInvoker +except ImportError as e: + warnings.warn(str(e) + ", please check if you are using the same versions of 'huaweicloudsdkcore' and 'huaweicloudsdkedgesec'") + + +class EdgeSecClient(Client): + def __init__(self): + super(EdgeSecClient, self).__init__() + self.model_package = importlib.import_module("huaweicloudsdkedgesec.v2.model") + + @classmethod + def new_builder(cls, clazz=None): + if not clazz: + client_builder = ClientBuilder(cls) + else: + if clazz.__name__ != "EdgeSecClient": + raise TypeError("client type error, support client type is EdgeSecClient") + client_builder = ClientBuilder(clazz) + + + + return client_builder + + def create_domains(self, request): + """创建防护域名 + + 创建防护域名 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for CreateDomains + :type request: :class:`huaweicloudsdkedgesec.v2.CreateDomainsRequest` + :rtype: :class:`huaweicloudsdkedgesec.v2.CreateDomainsResponse` + """ + http_info = self._create_domains_http_info(request) + return self._call_api(**http_info) + + def create_domains_invoker(self, request): + http_info = self._create_domains_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _create_domains_http_info(cls, request): + http_info = { + "method": "POST", + "resource_path": "/v1/edgesec/configuration/domains", + "request_type": request.__class__.__name__, + "response_type": "CreateDomainsResponse" + } + + 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 delete_domains(self, request): + """删除防护域名 + + 删除防护域名 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for DeleteDomains + :type request: :class:`huaweicloudsdkedgesec.v2.DeleteDomainsRequest` + :rtype: :class:`huaweicloudsdkedgesec.v2.DeleteDomainsResponse` + """ + http_info = self._delete_domains_http_info(request) + return self._call_api(**http_info) + + def delete_domains_invoker(self, request): + http_info = self._delete_domains_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _delete_domains_http_info(cls, request): + http_info = { + "method": "DELETE", + "resource_path": "/v1/edgesec/configuration/domains/{domain_id}", + "request_type": request.__class__.__name__, + "response_type": "DeleteDomainsResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'domain_id' in local_var_params: + path_params['domain_id'] = local_var_params['domain_id'] + + query_params = [] + 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 show_domain_detail(self, request): + """查询防护域名详情 + + 查询防护域名 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for ShowDomainDetail + :type request: :class:`huaweicloudsdkedgesec.v2.ShowDomainDetailRequest` + :rtype: :class:`huaweicloudsdkedgesec.v2.ShowDomainDetailResponse` + """ + http_info = self._show_domain_detail_http_info(request) + return self._call_api(**http_info) + + def show_domain_detail_invoker(self, request): + http_info = self._show_domain_detail_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _show_domain_detail_http_info(cls, request): + http_info = { + "method": "GET", + "resource_path": "/v1/edgesec/configuration/domains/{domain_id}", + "request_type": request.__class__.__name__, + "response_type": "ShowDomainDetailResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'domain_id' in local_var_params: + path_params['domain_id'] = local_var_params['domain_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_domains(self, request): + """查询防护域名列表 + + 查询防护域名列表 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for ShowDomains + :type request: :class:`huaweicloudsdkedgesec.v2.ShowDomainsRequest` + :rtype: :class:`huaweicloudsdkedgesec.v2.ShowDomainsResponse` + """ + http_info = self._show_domains_http_info(request) + return self._call_api(**http_info) + + def show_domains_invoker(self, request): + http_info = self._show_domains_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _show_domains_http_info(cls, request): + http_info = { + "method": "GET", + "resource_path": "/v1/edgesec/configuration/domains", + "request_type": request.__class__.__name__, + "response_type": "ShowDomainsResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'offset' in local_var_params: + query_params.append(('offset', local_var_params['offset'])) + if 'limit' in local_var_params: + query_params.append(('limit', local_var_params['limit'])) + if 'domain_name' in local_var_params: + query_params.append(('domain_name', local_var_params['domain_name'])) + if 'policy_name' in local_var_params: + query_params.append(('policy_name', local_var_params['policy_name'])) + 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 update_domains(self, request): + """更新防护域名 + + 更新防护域名 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for UpdateDomains + :type request: :class:`huaweicloudsdkedgesec.v2.UpdateDomainsRequest` + :rtype: :class:`huaweicloudsdkedgesec.v2.UpdateDomainsResponse` + """ + http_info = self._update_domains_http_info(request) + return self._call_api(**http_info) + + def update_domains_invoker(self, request): + http_info = self._update_domains_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _update_domains_http_info(cls, request): + http_info = { + "method": "PUT", + "resource_path": "/v1/edgesec/configuration/domains/{domain_id}", + "request_type": request.__class__.__name__, + "response_type": "UpdateDomainsResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'domain_id' in local_var_params: + path_params['domain_id'] = local_var_params['domain_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 _call_api(self, **kwargs): + try: + return self.do_http_request(**kwargs) + except TypeError: + import inspect + params = inspect.signature(self.do_http_request).parameters + http_info = {param_name: kwargs.get(param_name) for param_name in params if param_name in kwargs} + return self.do_http_request(**http_info) + + def call_api(self, resource_path, method, path_params=None, query_params=None, header_params=None, body=None, + post_params=None, cname=None, response_type=None, response_headers=None, auth_settings=None, + collection_formats=None, request_type=None): + """Makes the HTTP request and returns deserialized data. + + :param resource_path: Path to method endpoint. + :param method: Method to call. + :param path_params: Path parameters in the url. + :param query_params: Query parameters in the url. + :param header_params: Header parameters to be placed in the request header. + :param body: Request body. + :param post_params: Request post form parameters, + for `application/x-www-form-urlencoded`, `multipart/form-data`. + :param cname: Used for obs endpoint. + :param auth_settings: Auth Settings names for the request. + :param response_type: Response data type. + :param response_headers: Header should be added to response data. + :param collection_formats: dict of collection formats for path, query, + header, and post parameters. + :param request_type: Request data type. + :return: + Return the response directly. + """ + return self.do_http_request( + method=method, + resource_path=resource_path, + path_params=path_params, + query_params=query_params, + header_params=header_params, + body=body, + post_params=post_params, + cname=cname, + response_type=response_type, + response_headers=response_headers, + collection_formats=collection_formats, + request_type=request_type) diff --git a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/model/__init__.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/model/__init__.py new file mode 100644 index 0000000000..c62a066c93 --- /dev/null +++ b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/model/__init__.py @@ -0,0 +1,18 @@ +# coding: utf-8 + +from __future__ import absolute_import + +# import models into model package +from huaweicloudsdkedgesec.v2.model.create_domain_request_body import CreateDomainRequestBody +from huaweicloudsdkedgesec.v2.model.create_domains_request import CreateDomainsRequest +from huaweicloudsdkedgesec.v2.model.create_domains_response import CreateDomainsResponse +from huaweicloudsdkedgesec.v2.model.delete_domains_request import DeleteDomainsRequest +from huaweicloudsdkedgesec.v2.model.delete_domains_response import DeleteDomainsResponse +from huaweicloudsdkedgesec.v2.model.domain_info import DomainInfo +from huaweicloudsdkedgesec.v2.model.show_domain_detail_request import ShowDomainDetailRequest +from huaweicloudsdkedgesec.v2.model.show_domain_detail_response import ShowDomainDetailResponse +from huaweicloudsdkedgesec.v2.model.show_domains_request import ShowDomainsRequest +from huaweicloudsdkedgesec.v2.model.show_domains_response import ShowDomainsResponse +from huaweicloudsdkedgesec.v2.model.update_domain_request_body import UpdateDomainRequestBody +from huaweicloudsdkedgesec.v2.model.update_domains_request import UpdateDomainsRequest +from huaweicloudsdkedgesec.v2.model.update_domains_response import UpdateDomainsResponse diff --git a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/delete_policy_request.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/model/create_domain_request_body.py similarity index 53% rename from huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/delete_policy_request.py rename to huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/model/create_domain_request_body.py index cd02dfed89..554fa17d5b 100644 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/delete_policy_request.py +++ b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/model/create_domain_request_body.py @@ -5,7 +5,7 @@ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class DeletePolicyRequest: +class CreateDomainRequestBody: """ Attributes: @@ -17,108 +17,137 @@ class DeletePolicyRequest: sensitive_list = [] openapi_types = { - 'project_id': 'str', + 'domain_name': 'str', 'enterprise_project_id': 'str', - 'policy_id': 'str' + 'policy_id': 'str', + 'description': 'str' } attribute_map = { - 'project_id': 'project_id', + 'domain_name': 'domain_name', 'enterprise_project_id': 'enterprise_project_id', - 'policy_id': 'policy_id' + 'policy_id': 'policy_id', + 'description': 'description' } - def __init__(self, project_id=None, enterprise_project_id=None, policy_id=None): - """DeletePolicyRequest + def __init__(self, domain_name=None, enterprise_project_id=None, policy_id=None, description=None): + """CreateDomainRequestBody The model defined in huaweicloud sdk - :param project_id: 项目ID,对应华为云控制台用户名->我的凭证->项目列表->项目ID - :type project_id: str - :param enterprise_project_id: 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id + :param domain_name: 防护域名(可带端口) + :type domain_name: str + :param enterprise_project_id: 企业项目id :type enterprise_project_id: str - :param policy_id: 防护策略id,您可以通过调用查询防护策略列表(ListPolicy)获取策略id + :param policy_id: 防护域名关联的策略id :type policy_id: str + :param description: 域名描述 + :type description: str """ - self._project_id = None + self._domain_name = None self._enterprise_project_id = None self._policy_id = None + self._description = None self.discriminator = None - self.project_id = project_id - if enterprise_project_id is not None: - self.enterprise_project_id = enterprise_project_id - self.policy_id = policy_id + self.domain_name = domain_name + self.enterprise_project_id = enterprise_project_id + if policy_id is not None: + self.policy_id = policy_id + if description is not None: + self.description = description @property - def project_id(self): - """Gets the project_id of this DeletePolicyRequest. + def domain_name(self): + """Gets the domain_name of this CreateDomainRequestBody. - 项目ID,对应华为云控制台用户名->我的凭证->项目列表->项目ID + 防护域名(可带端口) - :return: The project_id of this DeletePolicyRequest. + :return: The domain_name of this CreateDomainRequestBody. :rtype: str """ - return self._project_id + return self._domain_name - @project_id.setter - def project_id(self, project_id): - """Sets the project_id of this DeletePolicyRequest. + @domain_name.setter + def domain_name(self, domain_name): + """Sets the domain_name of this CreateDomainRequestBody. - 项目ID,对应华为云控制台用户名->我的凭证->项目列表->项目ID + 防护域名(可带端口) - :param project_id: The project_id of this DeletePolicyRequest. - :type project_id: str + :param domain_name: The domain_name of this CreateDomainRequestBody. + :type domain_name: str """ - self._project_id = project_id + self._domain_name = domain_name @property def enterprise_project_id(self): - """Gets the enterprise_project_id of this DeletePolicyRequest. + """Gets the enterprise_project_id of this CreateDomainRequestBody. - 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id + 企业项目id - :return: The enterprise_project_id of this DeletePolicyRequest. + :return: The enterprise_project_id of this CreateDomainRequestBody. :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 DeletePolicyRequest. + """Sets the enterprise_project_id of this CreateDomainRequestBody. - 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id + 企业项目id - :param enterprise_project_id: The enterprise_project_id of this DeletePolicyRequest. + :param enterprise_project_id: The enterprise_project_id of this CreateDomainRequestBody. :type enterprise_project_id: str """ self._enterprise_project_id = enterprise_project_id @property def policy_id(self): - """Gets the policy_id of this DeletePolicyRequest. + """Gets the policy_id of this CreateDomainRequestBody. - 防护策略id,您可以通过调用查询防护策略列表(ListPolicy)获取策略id + 防护域名关联的策略id - :return: The policy_id of this DeletePolicyRequest. + :return: The policy_id of this CreateDomainRequestBody. :rtype: str """ return self._policy_id @policy_id.setter def policy_id(self, policy_id): - """Sets the policy_id of this DeletePolicyRequest. + """Sets the policy_id of this CreateDomainRequestBody. - 防护策略id,您可以通过调用查询防护策略列表(ListPolicy)获取策略id + 防护域名关联的策略id - :param policy_id: The policy_id of this DeletePolicyRequest. + :param policy_id: The policy_id of this CreateDomainRequestBody. :type policy_id: str """ self._policy_id = policy_id + @property + def description(self): + """Gets the description of this CreateDomainRequestBody. + + 域名描述 + + :return: The description of this CreateDomainRequestBody. + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this CreateDomainRequestBody. + + 域名描述 + + :param description: The description of this CreateDomainRequestBody. + :type description: str + """ + self._description = description + def to_dict(self): """Returns the model properties as a dict""" result = {} @@ -161,7 +190,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, DeletePolicyRequest): + if not isinstance(other, CreateDomainRequestBody): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/create_edge_waf_domains_request.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/model/create_domains_request.py similarity index 76% rename from huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/create_edge_waf_domains_request.py rename to huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/model/create_domains_request.py index 91efddce6f..755e412726 100644 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/create_edge_waf_domains_request.py +++ b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/model/create_domains_request.py @@ -5,7 +5,7 @@ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class CreateEdgeWafDomainsRequest: +class CreateDomainsRequest: """ Attributes: @@ -17,7 +17,7 @@ class CreateEdgeWafDomainsRequest: sensitive_list = [] openapi_types = { - 'body': 'CreateEdgeWafDomainsRequestBody' + 'body': 'CreateDomainRequestBody' } attribute_map = { @@ -25,12 +25,12 @@ class CreateEdgeWafDomainsRequest: } def __init__(self, body=None): - """CreateEdgeWafDomainsRequest + """CreateDomainsRequest The model defined in huaweicloud sdk - :param body: Body of the CreateEdgeWafDomainsRequest - :type body: :class:`huaweicloudsdkedgesec.v1.CreateEdgeWafDomainsRequestBody` + :param body: Body of the CreateDomainsRequest + :type body: :class:`huaweicloudsdkedgesec.v2.CreateDomainRequestBody` """ @@ -43,19 +43,19 @@ def __init__(self, body=None): @property def body(self): - """Gets the body of this CreateEdgeWafDomainsRequest. + """Gets the body of this CreateDomainsRequest. - :return: The body of this CreateEdgeWafDomainsRequest. - :rtype: :class:`huaweicloudsdkedgesec.v1.CreateEdgeWafDomainsRequestBody` + :return: The body of this CreateDomainsRequest. + :rtype: :class:`huaweicloudsdkedgesec.v2.CreateDomainRequestBody` """ return self._body @body.setter def body(self, body): - """Sets the body of this CreateEdgeWafDomainsRequest. + """Sets the body of this CreateDomainsRequest. - :param body: The body of this CreateEdgeWafDomainsRequest. - :type body: :class:`huaweicloudsdkedgesec.v1.CreateEdgeWafDomainsRequestBody` + :param body: The body of this CreateDomainsRequest. + :type body: :class:`huaweicloudsdkedgesec.v2.CreateDomainRequestBody` """ self._body = body @@ -101,7 +101,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, CreateEdgeWafDomainsRequest): + if not isinstance(other, CreateDomainsRequest): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/update_edge_waf_domains_response.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/model/create_domains_response.py similarity index 91% rename from huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/update_edge_waf_domains_response.py rename to huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/model/create_domains_response.py index 88fd220a76..983c06c561 100644 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/update_edge_waf_domains_response.py +++ b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/model/create_domains_response.py @@ -6,7 +6,7 @@ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class UpdateEdgeWafDomainsResponse(SdkResponse): +class CreateDomainsResponse(SdkResponse): """ Attributes: @@ -24,13 +24,13 @@ class UpdateEdgeWafDomainsResponse(SdkResponse): } def __init__(self): - """UpdateEdgeWafDomainsResponse + """CreateDomainsResponse The model defined in huaweicloud sdk """ - super(UpdateEdgeWafDomainsResponse, self).__init__() + super(CreateDomainsResponse, self).__init__() self.discriminator = None def to_dict(self): @@ -75,7 +75,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, UpdateEdgeWafDomainsResponse): + if not isinstance(other, CreateDomainsResponse): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/create_edge_d_do_s_domains_request_body.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/model/delete_domains_request.py similarity index 71% rename from huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/create_edge_d_do_s_domains_request_body.py rename to huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/model/delete_domains_request.py index 1f5b11d746..dd41acee31 100644 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/create_edge_d_do_s_domains_request_body.py +++ b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/model/delete_domains_request.py @@ -5,7 +5,7 @@ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class CreateEdgeDDoSDomainsRequestBody: +class DeleteDomainsRequest: """ Attributes: @@ -27,13 +27,13 @@ class CreateEdgeDDoSDomainsRequestBody: } def __init__(self, domain_id=None, enterprise_project_id=None): - """CreateEdgeDDoSDomainsRequestBody + """DeleteDomainsRequest The model defined in huaweicloud sdk - :param domain_id: waf防护域名ID + :param domain_id: 防护域名id :type domain_id: str - :param enterprise_project_id: 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id + :param enterprise_project_id: 企业项目id :type enterprise_project_id: str """ @@ -49,44 +49,44 @@ def __init__(self, domain_id=None, enterprise_project_id=None): @property def domain_id(self): - """Gets the domain_id of this CreateEdgeDDoSDomainsRequestBody. + """Gets the domain_id of this DeleteDomainsRequest. - waf防护域名ID + 防护域名id - :return: The domain_id of this CreateEdgeDDoSDomainsRequestBody. + :return: The domain_id of this DeleteDomainsRequest. :rtype: str """ return self._domain_id @domain_id.setter def domain_id(self, domain_id): - """Sets the domain_id of this CreateEdgeDDoSDomainsRequestBody. + """Sets the domain_id of this DeleteDomainsRequest. - waf防护域名ID + 防护域名id - :param domain_id: The domain_id of this CreateEdgeDDoSDomainsRequestBody. + :param domain_id: The domain_id of this DeleteDomainsRequest. :type domain_id: str """ self._domain_id = domain_id @property def enterprise_project_id(self): - """Gets the enterprise_project_id of this CreateEdgeDDoSDomainsRequestBody. + """Gets the enterprise_project_id of this DeleteDomainsRequest. - 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id + 企业项目id - :return: The enterprise_project_id of this CreateEdgeDDoSDomainsRequestBody. + :return: The enterprise_project_id of this DeleteDomainsRequest. :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 CreateEdgeDDoSDomainsRequestBody. + """Sets the enterprise_project_id of this DeleteDomainsRequest. - 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id + 企业项目id - :param enterprise_project_id: The enterprise_project_id of this CreateEdgeDDoSDomainsRequestBody. + :param enterprise_project_id: The enterprise_project_id of this DeleteDomainsRequest. :type enterprise_project_id: str """ self._enterprise_project_id = enterprise_project_id @@ -133,7 +133,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, CreateEdgeDDoSDomainsRequestBody): + if not isinstance(other, DeleteDomainsRequest): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/create_edge_waf_domains_response.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/model/delete_domains_response.py similarity index 91% rename from huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/create_edge_waf_domains_response.py rename to huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/model/delete_domains_response.py index bfea6a92cf..71acf243e9 100644 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/create_edge_waf_domains_response.py +++ b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/model/delete_domains_response.py @@ -6,7 +6,7 @@ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class CreateEdgeWafDomainsResponse(SdkResponse): +class DeleteDomainsResponse(SdkResponse): """ Attributes: @@ -24,13 +24,13 @@ class CreateEdgeWafDomainsResponse(SdkResponse): } def __init__(self): - """CreateEdgeWafDomainsResponse + """DeleteDomainsResponse The model defined in huaweicloud sdk """ - super(CreateEdgeWafDomainsResponse, self).__init__() + super(DeleteDomainsResponse, self).__init__() self.discriminator = None def to_dict(self): @@ -75,7 +75,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, CreateEdgeWafDomainsResponse): + if not isinstance(other, DeleteDomainsResponse): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/model/domain_info.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/model/domain_info.py new file mode 100644 index 0000000000..fbc04f140e --- /dev/null +++ b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/model/domain_info.py @@ -0,0 +1,376 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class DomainInfo: + + """ + 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', + 'domain_name': 'str', + 'enterprise_project_id': 'str', + 'dispatch_status': 'str', + 'web_name': 'str', + 'description': 'str', + 'policy_id': 'str', + 'protect_status': 'str', + 'create_time': 'int', + 'update_time': 'int' + } + + attribute_map = { + 'id': 'id', + 'domain_name': 'domain_name', + 'enterprise_project_id': 'enterprise_project_id', + 'dispatch_status': 'dispatch_status', + 'web_name': 'web_name', + 'description': 'description', + 'policy_id': 'policy_id', + 'protect_status': 'protect_status', + 'create_time': 'create_time', + 'update_time': 'update_time' + } + + def __init__(self, id=None, domain_name=None, enterprise_project_id=None, dispatch_status=None, web_name=None, description=None, policy_id=None, protect_status=None, create_time=None, update_time=None): + """DomainInfo + + The model defined in huaweicloud sdk + + :param id: 域名id + :type id: str + :param domain_name: 域名 + :type domain_name: str + :param enterprise_project_id: 企业项目id + :type enterprise_project_id: str + :param dispatch_status: - 调度状态: - 调度异常:dispatch_abnormal - 未调度:un_dispatch - 调度中:dispatching - 已调度:dispatched - 删除中:dispatch_deleting + :type dispatch_status: str + :param web_name: 网站名称 + :type web_name: str + :param description: 描述 + :type description: str + :param policy_id: 策略id + :type policy_id: str + :param protect_status: - 防护状态: - 防护中:on - 未防护:off + :type protect_status: str + :param create_time: 创建域名的时间 + :type create_time: int + :param update_time: 更新域名的时间 + :type update_time: int + """ + + + + self._id = None + self._domain_name = None + self._enterprise_project_id = None + self._dispatch_status = None + self._web_name = None + self._description = None + self._policy_id = None + self._protect_status = None + self._create_time = None + self._update_time = None + self.discriminator = None + + if id is not None: + self.id = 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 dispatch_status is not None: + self.dispatch_status = dispatch_status + if web_name is not None: + self.web_name = web_name + if description is not None: + self.description = description + if policy_id is not None: + self.policy_id = policy_id + if protect_status is not None: + self.protect_status = protect_status + if create_time is not None: + self.create_time = create_time + if update_time is not None: + self.update_time = update_time + + @property + def id(self): + """Gets the id of this DomainInfo. + + 域名id + + :return: The id of this DomainInfo. + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this DomainInfo. + + 域名id + + :param id: The id of this DomainInfo. + :type id: str + """ + self._id = id + + @property + def domain_name(self): + """Gets the domain_name of this DomainInfo. + + 域名 + + :return: The domain_name of this DomainInfo. + :rtype: str + """ + return self._domain_name + + @domain_name.setter + def domain_name(self, domain_name): + """Sets the domain_name of this DomainInfo. + + 域名 + + :param domain_name: The domain_name of this DomainInfo. + :type domain_name: str + """ + self._domain_name = domain_name + + @property + def enterprise_project_id(self): + """Gets the enterprise_project_id of this DomainInfo. + + 企业项目id + + :return: The enterprise_project_id of this DomainInfo. + :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 DomainInfo. + + 企业项目id + + :param enterprise_project_id: The enterprise_project_id of this DomainInfo. + :type enterprise_project_id: str + """ + self._enterprise_project_id = enterprise_project_id + + @property + def dispatch_status(self): + """Gets the dispatch_status of this DomainInfo. + + - 调度状态: - 调度异常:dispatch_abnormal - 未调度:un_dispatch - 调度中:dispatching - 已调度:dispatched - 删除中:dispatch_deleting + + :return: The dispatch_status of this DomainInfo. + :rtype: str + """ + return self._dispatch_status + + @dispatch_status.setter + def dispatch_status(self, dispatch_status): + """Sets the dispatch_status of this DomainInfo. + + - 调度状态: - 调度异常:dispatch_abnormal - 未调度:un_dispatch - 调度中:dispatching - 已调度:dispatched - 删除中:dispatch_deleting + + :param dispatch_status: The dispatch_status of this DomainInfo. + :type dispatch_status: str + """ + self._dispatch_status = dispatch_status + + @property + def web_name(self): + """Gets the web_name of this DomainInfo. + + 网站名称 + + :return: The web_name of this DomainInfo. + :rtype: str + """ + return self._web_name + + @web_name.setter + def web_name(self, web_name): + """Sets the web_name of this DomainInfo. + + 网站名称 + + :param web_name: The web_name of this DomainInfo. + :type web_name: str + """ + self._web_name = web_name + + @property + def description(self): + """Gets the description of this DomainInfo. + + 描述 + + :return: The description of this DomainInfo. + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this DomainInfo. + + 描述 + + :param description: The description of this DomainInfo. + :type description: str + """ + self._description = description + + @property + def policy_id(self): + """Gets the policy_id of this DomainInfo. + + 策略id + + :return: The policy_id of this DomainInfo. + :rtype: str + """ + return self._policy_id + + @policy_id.setter + def policy_id(self, policy_id): + """Sets the policy_id of this DomainInfo. + + 策略id + + :param policy_id: The policy_id of this DomainInfo. + :type policy_id: str + """ + self._policy_id = policy_id + + @property + def protect_status(self): + """Gets the protect_status of this DomainInfo. + + - 防护状态: - 防护中:on - 未防护:off + + :return: The protect_status of this DomainInfo. + :rtype: str + """ + return self._protect_status + + @protect_status.setter + def protect_status(self, protect_status): + """Sets the protect_status of this DomainInfo. + + - 防护状态: - 防护中:on - 未防护:off + + :param protect_status: The protect_status of this DomainInfo. + :type protect_status: str + """ + self._protect_status = protect_status + + @property + def create_time(self): + """Gets the create_time of this DomainInfo. + + 创建域名的时间 + + :return: The create_time of this DomainInfo. + :rtype: int + """ + return self._create_time + + @create_time.setter + def create_time(self, create_time): + """Sets the create_time of this DomainInfo. + + 创建域名的时间 + + :param create_time: The create_time of this DomainInfo. + :type create_time: int + """ + self._create_time = create_time + + @property + def update_time(self): + """Gets the update_time of this DomainInfo. + + 更新域名的时间 + + :return: The update_time of this DomainInfo. + :rtype: int + """ + return self._update_time + + @update_time.setter + def update_time(self, update_time): + """Sets the update_time of this DomainInfo. + + 更新域名的时间 + + :param update_time: The update_time of this DomainInfo. + :type update_time: int + """ + self._update_time = update_time + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, DomainInfo): + 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-edgesec/huaweicloudsdkedgesec/v1/model/policy_action.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/model/show_domain_detail_request.py similarity index 70% rename from huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/policy_action.py rename to huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/model/show_domain_detail_request.py index ec14d400c0..76e2d5a2e1 100644 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/policy_action.py +++ b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/model/show_domain_detail_request.py @@ -5,7 +5,7 @@ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class PolicyAction: +class ShowDomainDetailRequest: """ Attributes: @@ -17,51 +17,50 @@ class PolicyAction: sensitive_list = [] openapi_types = { - 'category': 'str' + 'domain_id': 'str' } attribute_map = { - 'category': 'category' + 'domain_id': 'domain_id' } - def __init__(self, category=None): - """PolicyAction + def __init__(self, domain_id=None): + """ShowDomainDetailRequest The model defined in huaweicloud sdk - :param category: web基础防护动作(log为仅记录、block为拦截) - :type category: str + :param domain_id: 防护域名id + :type domain_id: str """ - self._category = None + self._domain_id = None self.discriminator = None - if category is not None: - self.category = category + self.domain_id = domain_id @property - def category(self): - """Gets the category of this PolicyAction. + def domain_id(self): + """Gets the domain_id of this ShowDomainDetailRequest. - web基础防护动作(log为仅记录、block为拦截) + 防护域名id - :return: The category of this PolicyAction. + :return: The domain_id of this ShowDomainDetailRequest. :rtype: str """ - return self._category + return self._domain_id - @category.setter - def category(self, category): - """Sets the category of this PolicyAction. + @domain_id.setter + def domain_id(self, domain_id): + """Sets the domain_id of this ShowDomainDetailRequest. - web基础防护动作(log为仅记录、block为拦截) + 防护域名id - :param category: The category of this PolicyAction. - :type category: str + :param domain_id: The domain_id of this ShowDomainDetailRequest. + :type domain_id: str """ - self._category = category + self._domain_id = domain_id def to_dict(self): """Returns the model properties as a dict""" @@ -105,7 +104,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, PolicyAction): + if not isinstance(other, ShowDomainDetailRequest): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/model/show_domain_detail_response.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/model/show_domain_detail_response.py new file mode 100644 index 0000000000..cdd7dc33fd --- /dev/null +++ b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/model/show_domain_detail_response.py @@ -0,0 +1,319 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_response import SdkResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ShowDomainDetailResponse(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', + 'domain_name': 'str', + 'enterprise_project_id': 'str', + 'description': 'str', + 'policy_id': 'str', + 'protect_status': 'str', + 'create_time': 'int', + 'update_time': 'int' + } + + attribute_map = { + 'id': 'id', + 'domain_name': 'domain_name', + 'enterprise_project_id': 'enterprise_project_id', + 'description': 'description', + 'policy_id': 'policy_id', + 'protect_status': 'protect_status', + 'create_time': 'create_time', + 'update_time': 'update_time' + } + + def __init__(self, id=None, domain_name=None, enterprise_project_id=None, description=None, policy_id=None, protect_status=None, create_time=None, update_time=None): + """ShowDomainDetailResponse + + The model defined in huaweicloud sdk + + :param id: 域名id + :type id: str + :param domain_name: 域名 + :type domain_name: str + :param enterprise_project_id: 企业项目id + :type enterprise_project_id: str + :param description: 域名描述 + :type description: str + :param policy_id: 策略id + :type policy_id: str + :param protect_status: - 防护状态: - 防护中:on - 未防护:off + :type protect_status: str + :param create_time: 创建域名的时间 + :type create_time: int + :param update_time: 更新域名的时间 + :type update_time: int + """ + + super(ShowDomainDetailResponse, self).__init__() + + self._id = None + self._domain_name = None + self._enterprise_project_id = None + self._description = None + self._policy_id = None + self._protect_status = None + self._create_time = None + self._update_time = None + self.discriminator = None + + if id is not None: + self.id = 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 description is not None: + self.description = description + if policy_id is not None: + self.policy_id = policy_id + if protect_status is not None: + self.protect_status = protect_status + if create_time is not None: + self.create_time = create_time + if update_time is not None: + self.update_time = update_time + + @property + def id(self): + """Gets the id of this ShowDomainDetailResponse. + + 域名id + + :return: The id of this ShowDomainDetailResponse. + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this ShowDomainDetailResponse. + + 域名id + + :param id: The id of this ShowDomainDetailResponse. + :type id: str + """ + self._id = id + + @property + def domain_name(self): + """Gets the domain_name of this ShowDomainDetailResponse. + + 域名 + + :return: The domain_name of this ShowDomainDetailResponse. + :rtype: str + """ + return self._domain_name + + @domain_name.setter + def domain_name(self, domain_name): + """Sets the domain_name of this ShowDomainDetailResponse. + + 域名 + + :param domain_name: The domain_name of this ShowDomainDetailResponse. + :type domain_name: str + """ + self._domain_name = domain_name + + @property + def enterprise_project_id(self): + """Gets the enterprise_project_id of this ShowDomainDetailResponse. + + 企业项目id + + :return: The enterprise_project_id of this ShowDomainDetailResponse. + :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 ShowDomainDetailResponse. + + 企业项目id + + :param enterprise_project_id: The enterprise_project_id of this ShowDomainDetailResponse. + :type enterprise_project_id: str + """ + self._enterprise_project_id = enterprise_project_id + + @property + def description(self): + """Gets the description of this ShowDomainDetailResponse. + + 域名描述 + + :return: The description of this ShowDomainDetailResponse. + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this ShowDomainDetailResponse. + + 域名描述 + + :param description: The description of this ShowDomainDetailResponse. + :type description: str + """ + self._description = description + + @property + def policy_id(self): + """Gets the policy_id of this ShowDomainDetailResponse. + + 策略id + + :return: The policy_id of this ShowDomainDetailResponse. + :rtype: str + """ + return self._policy_id + + @policy_id.setter + def policy_id(self, policy_id): + """Sets the policy_id of this ShowDomainDetailResponse. + + 策略id + + :param policy_id: The policy_id of this ShowDomainDetailResponse. + :type policy_id: str + """ + self._policy_id = policy_id + + @property + def protect_status(self): + """Gets the protect_status of this ShowDomainDetailResponse. + + - 防护状态: - 防护中:on - 未防护:off + + :return: The protect_status of this ShowDomainDetailResponse. + :rtype: str + """ + return self._protect_status + + @protect_status.setter + def protect_status(self, protect_status): + """Sets the protect_status of this ShowDomainDetailResponse. + + - 防护状态: - 防护中:on - 未防护:off + + :param protect_status: The protect_status of this ShowDomainDetailResponse. + :type protect_status: str + """ + self._protect_status = protect_status + + @property + def create_time(self): + """Gets the create_time of this ShowDomainDetailResponse. + + 创建域名的时间 + + :return: The create_time of this ShowDomainDetailResponse. + :rtype: int + """ + return self._create_time + + @create_time.setter + def create_time(self, create_time): + """Sets the create_time of this ShowDomainDetailResponse. + + 创建域名的时间 + + :param create_time: The create_time of this ShowDomainDetailResponse. + :type create_time: int + """ + self._create_time = create_time + + @property + def update_time(self): + """Gets the update_time of this ShowDomainDetailResponse. + + 更新域名的时间 + + :return: The update_time of this ShowDomainDetailResponse. + :rtype: int + """ + return self._update_time + + @update_time.setter + def update_time(self, update_time): + """Sets the update_time of this ShowDomainDetailResponse. + + 更新域名的时间 + + :param update_time: The update_time of this ShowDomainDetailResponse. + :type update_time: int + """ + self._update_time = update_time + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ShowDomainDetailResponse): + 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-edgesec/huaweicloudsdkedgesec/v1/model/list_cdn_domains_request.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/model/show_domains_request.py similarity index 65% rename from huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/list_cdn_domains_request.py rename to huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/model/show_domains_request.py index 0d1084fdd3..aec2125b79 100644 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/list_cdn_domains_request.py +++ b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/model/show_domains_request.py @@ -5,7 +5,7 @@ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class ListCdnDomainsRequest: +class ShowDomainsRequest: """ Attributes: @@ -20,6 +20,7 @@ class ListCdnDomainsRequest: 'offset': 'int', 'limit': 'int', 'domain_name': 'str', + 'policy_name': 'str', 'enterprise_project_id': 'str' } @@ -27,21 +28,24 @@ class ListCdnDomainsRequest: 'offset': 'offset', 'limit': 'limit', 'domain_name': 'domain_name', + 'policy_name': 'policy_name', 'enterprise_project_id': 'enterprise_project_id' } - def __init__(self, offset=None, limit=None, domain_name=None, enterprise_project_id=None): - """ListCdnDomainsRequest + def __init__(self, offset=None, limit=None, domain_name=None, policy_name=None, enterprise_project_id=None): + """ShowDomainsRequest The model defined in huaweicloud sdk - :param offset: 分页查询参数,偏移量 + :param offset: 查询列表的偏移量 :type offset: int - :param limit: 分页查询参数,每页显示limit条记录 + :param limit: 查询列表每一页的条数 :type limit: int :param domain_name: 域名 :type domain_name: str - :param enterprise_project_id: 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id + :param policy_name: 策略名称 + :type policy_name: str + :param enterprise_project_id: 企业项目id :type enterprise_project_id: str """ @@ -50,6 +54,7 @@ def __init__(self, offset=None, limit=None, domain_name=None, enterprise_project self._offset = None self._limit = None self._domain_name = None + self._policy_name = None self._enterprise_project_id = None self.discriminator = None @@ -59,93 +64,117 @@ def __init__(self, offset=None, limit=None, domain_name=None, enterprise_project self.limit = limit if domain_name is not None: self.domain_name = domain_name + if policy_name is not None: + self.policy_name = policy_name if enterprise_project_id is not None: self.enterprise_project_id = enterprise_project_id @property def offset(self): - """Gets the offset of this ListCdnDomainsRequest. + """Gets the offset of this ShowDomainsRequest. - 分页查询参数,偏移量 + 查询列表的偏移量 - :return: The offset of this ListCdnDomainsRequest. + :return: The offset of this ShowDomainsRequest. :rtype: int """ return self._offset @offset.setter def offset(self, offset): - """Sets the offset of this ListCdnDomainsRequest. + """Sets the offset of this ShowDomainsRequest. - 分页查询参数,偏移量 + 查询列表的偏移量 - :param offset: The offset of this ListCdnDomainsRequest. + :param offset: The offset of this ShowDomainsRequest. :type offset: int """ self._offset = offset @property def limit(self): - """Gets the limit of this ListCdnDomainsRequest. + """Gets the limit of this ShowDomainsRequest. - 分页查询参数,每页显示limit条记录 + 查询列表每一页的条数 - :return: The limit of this ListCdnDomainsRequest. + :return: The limit of this ShowDomainsRequest. :rtype: int """ return self._limit @limit.setter def limit(self, limit): - """Sets the limit of this ListCdnDomainsRequest. + """Sets the limit of this ShowDomainsRequest. - 分页查询参数,每页显示limit条记录 + 查询列表每一页的条数 - :param limit: The limit of this ListCdnDomainsRequest. + :param limit: The limit of this ShowDomainsRequest. :type limit: int """ self._limit = limit @property def domain_name(self): - """Gets the domain_name of this ListCdnDomainsRequest. + """Gets the domain_name of this ShowDomainsRequest. 域名 - :return: The domain_name of this ListCdnDomainsRequest. + :return: The domain_name of this ShowDomainsRequest. :rtype: str """ return self._domain_name @domain_name.setter def domain_name(self, domain_name): - """Sets the domain_name of this ListCdnDomainsRequest. + """Sets the domain_name of this ShowDomainsRequest. 域名 - :param domain_name: The domain_name of this ListCdnDomainsRequest. + :param domain_name: The domain_name of this ShowDomainsRequest. :type domain_name: str """ self._domain_name = domain_name + @property + def policy_name(self): + """Gets the policy_name of this ShowDomainsRequest. + + 策略名称 + + :return: The policy_name of this ShowDomainsRequest. + :rtype: str + """ + return self._policy_name + + @policy_name.setter + def policy_name(self, policy_name): + """Sets the policy_name of this ShowDomainsRequest. + + 策略名称 + + :param policy_name: The policy_name of this ShowDomainsRequest. + :type policy_name: str + """ + self._policy_name = policy_name + @property def enterprise_project_id(self): - """Gets the enterprise_project_id of this ListCdnDomainsRequest. + """Gets the enterprise_project_id of this ShowDomainsRequest. - 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id + 企业项目id - :return: The enterprise_project_id of this ListCdnDomainsRequest. + :return: The enterprise_project_id of this ShowDomainsRequest. :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 ListCdnDomainsRequest. + """Sets the enterprise_project_id of this ShowDomainsRequest. - 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id + 企业项目id - :param enterprise_project_id: The enterprise_project_id of this ListCdnDomainsRequest. + :param enterprise_project_id: The enterprise_project_id of this ShowDomainsRequest. :type enterprise_project_id: str """ self._enterprise_project_id = enterprise_project_id @@ -192,7 +221,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, ListCdnDomainsRequest): + if not isinstance(other, ShowDomainsRequest): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/list_edge_waf_domains_response.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/model/show_domains_response.py similarity index 61% rename from huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/list_edge_waf_domains_response.py rename to huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/model/show_domains_response.py index 9f1ad98be8..973f2e1596 100644 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/list_edge_waf_domains_response.py +++ b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/model/show_domains_response.py @@ -6,7 +6,7 @@ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class ListEdgeWafDomainsResponse(SdkResponse): +class ShowDomainsResponse(SdkResponse): """ Attributes: @@ -19,77 +19,106 @@ class ListEdgeWafDomainsResponse(SdkResponse): openapi_types = { 'total': 'int', - 'domain_list': 'list[ShowWafDomainResponseBody]' + 'domain_used_quota': 'int', + 'domain_list': 'list[DomainInfo]' } attribute_map = { 'total': 'total', + 'domain_used_quota': 'domain_used_quota', 'domain_list': 'domain_list' } - def __init__(self, total=None, domain_list=None): - """ListEdgeWafDomainsResponse + def __init__(self, total=None, domain_used_quota=None, domain_list=None): + """ShowDomainsResponse The model defined in huaweicloud sdk :param total: 全部防护域名的数量 :type total: int + :param domain_used_quota: 域名已使用配额 + :type domain_used_quota: int :param domain_list: 详细的防护域名信息 - :type domain_list: list[:class:`huaweicloudsdkedgesec.v1.ShowWafDomainResponseBody`] + :type domain_list: list[:class:`huaweicloudsdkedgesec.v2.DomainInfo`] """ - super(ListEdgeWafDomainsResponse, self).__init__() + super(ShowDomainsResponse, self).__init__() self._total = None + self._domain_used_quota = None self._domain_list = None self.discriminator = None if total is not None: self.total = total + if domain_used_quota is not None: + self.domain_used_quota = domain_used_quota if domain_list is not None: self.domain_list = domain_list @property def total(self): - """Gets the total of this ListEdgeWafDomainsResponse. + """Gets the total of this ShowDomainsResponse. 全部防护域名的数量 - :return: The total of this ListEdgeWafDomainsResponse. + :return: The total of this ShowDomainsResponse. :rtype: int """ return self._total @total.setter def total(self, total): - """Sets the total of this ListEdgeWafDomainsResponse. + """Sets the total of this ShowDomainsResponse. 全部防护域名的数量 - :param total: The total of this ListEdgeWafDomainsResponse. + :param total: The total of this ShowDomainsResponse. :type total: int """ self._total = total + @property + def domain_used_quota(self): + """Gets the domain_used_quota of this ShowDomainsResponse. + + 域名已使用配额 + + :return: The domain_used_quota of this ShowDomainsResponse. + :rtype: int + """ + return self._domain_used_quota + + @domain_used_quota.setter + def domain_used_quota(self, domain_used_quota): + """Sets the domain_used_quota of this ShowDomainsResponse. + + 域名已使用配额 + + :param domain_used_quota: The domain_used_quota of this ShowDomainsResponse. + :type domain_used_quota: int + """ + self._domain_used_quota = domain_used_quota + @property def domain_list(self): - """Gets the domain_list of this ListEdgeWafDomainsResponse. + """Gets the domain_list of this ShowDomainsResponse. 详细的防护域名信息 - :return: The domain_list of this ListEdgeWafDomainsResponse. - :rtype: list[:class:`huaweicloudsdkedgesec.v1.ShowWafDomainResponseBody`] + :return: The domain_list of this ShowDomainsResponse. + :rtype: list[:class:`huaweicloudsdkedgesec.v2.DomainInfo`] """ return self._domain_list @domain_list.setter def domain_list(self, domain_list): - """Sets the domain_list of this ListEdgeWafDomainsResponse. + """Sets the domain_list of this ShowDomainsResponse. 详细的防护域名信息 - :param domain_list: The domain_list of this ListEdgeWafDomainsResponse. - :type domain_list: list[:class:`huaweicloudsdkedgesec.v1.ShowWafDomainResponseBody`] + :param domain_list: The domain_list of this ShowDomainsResponse. + :type domain_list: list[:class:`huaweicloudsdkedgesec.v2.DomainInfo`] """ self._domain_list = domain_list @@ -135,7 +164,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, ListEdgeWafDomainsResponse): + if not isinstance(other, ShowDomainsResponse): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/cdn_domain_tags.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/model/update_domain_request_body.py similarity index 55% rename from huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/cdn_domain_tags.py rename to huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/model/update_domain_request_body.py index f2b8260803..9d7f2af474 100644 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/cdn_domain_tags.py +++ b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/model/update_domain_request_body.py @@ -5,7 +5,7 @@ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class CdnDomainTags: +class UpdateDomainRequestBody: """ Attributes: @@ -17,80 +17,80 @@ class CdnDomainTags: sensitive_list = [] openapi_types = { - 'notes': 'str', - 'constraint': 'str' + 'protect_status': 'str', + 'description': 'str' } attribute_map = { - 'notes': 'notes', - 'constraint': 'constraint' + 'protect_status': 'protect_status', + 'description': 'description' } - def __init__(self, notes=None, constraint=None): - """CdnDomainTags + def __init__(self, protect_status=None, description=None): + """UpdateDomainRequestBody The model defined in huaweicloud sdk - :param notes: 约束原因 - :type notes: str - :param constraint: 约束内容 - :type constraint: str + :param protect_status: 防护状态:防护中-on;未防护-off + :type protect_status: str + :param description: 域名描述 + :type description: str """ - self._notes = None - self._constraint = None + self._protect_status = None + self._description = None self.discriminator = None - if notes is not None: - self.notes = notes - if constraint is not None: - self.constraint = constraint + if protect_status is not None: + self.protect_status = protect_status + if description is not None: + self.description = description @property - def notes(self): - """Gets the notes of this CdnDomainTags. + def protect_status(self): + """Gets the protect_status of this UpdateDomainRequestBody. - 约束原因 + 防护状态:防护中-on;未防护-off - :return: The notes of this CdnDomainTags. + :return: The protect_status of this UpdateDomainRequestBody. :rtype: str """ - return self._notes + return self._protect_status - @notes.setter - def notes(self, notes): - """Sets the notes of this CdnDomainTags. + @protect_status.setter + def protect_status(self, protect_status): + """Sets the protect_status of this UpdateDomainRequestBody. - 约束原因 + 防护状态:防护中-on;未防护-off - :param notes: The notes of this CdnDomainTags. - :type notes: str + :param protect_status: The protect_status of this UpdateDomainRequestBody. + :type protect_status: str """ - self._notes = notes + self._protect_status = protect_status @property - def constraint(self): - """Gets the constraint of this CdnDomainTags. + def description(self): + """Gets the description of this UpdateDomainRequestBody. - 约束内容 + 域名描述 - :return: The constraint of this CdnDomainTags. + :return: The description of this UpdateDomainRequestBody. :rtype: str """ - return self._constraint + return self._description - @constraint.setter - def constraint(self, constraint): - """Sets the constraint of this CdnDomainTags. + @description.setter + def description(self, description): + """Sets the description of this UpdateDomainRequestBody. - 约束内容 + 域名描述 - :param constraint: The constraint of this CdnDomainTags. - :type constraint: str + :param description: The description of this UpdateDomainRequestBody. + :type description: str """ - self._constraint = constraint + self._description = description def to_dict(self): """Returns the model properties as a dict""" @@ -134,7 +134,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, CdnDomainTags): + if not isinstance(other, UpdateDomainRequestBody): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/update_edge_waf_domains_request.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/model/update_domains_request.py similarity index 63% rename from huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/update_edge_waf_domains_request.py rename to huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/model/update_domains_request.py index ba565c0d80..d9dc31169a 100644 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/update_edge_waf_domains_request.py +++ b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/model/update_domains_request.py @@ -5,7 +5,7 @@ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class UpdateEdgeWafDomainsRequest: +class UpdateDomainsRequest: """ Attributes: @@ -17,73 +17,73 @@ class UpdateEdgeWafDomainsRequest: sensitive_list = [] openapi_types = { - 'domainid': 'str', - 'body': 'UpdateEdgeWafDomainsRequestBody' + 'domain_id': 'str', + 'body': 'UpdateDomainRequestBody' } attribute_map = { - 'domainid': 'domainid', + 'domain_id': 'domain_id', 'body': 'body' } - def __init__(self, domainid=None, body=None): - """UpdateEdgeWafDomainsRequest + def __init__(self, domain_id=None, body=None): + """UpdateDomainsRequest The model defined in huaweicloud sdk - :param domainid: 域名 - :type domainid: str - :param body: Body of the UpdateEdgeWafDomainsRequest - :type body: :class:`huaweicloudsdkedgesec.v1.UpdateEdgeWafDomainsRequestBody` + :param domain_id: 域名 + :type domain_id: str + :param body: Body of the UpdateDomainsRequest + :type body: :class:`huaweicloudsdkedgesec.v2.UpdateDomainRequestBody` """ - self._domainid = None + self._domain_id = None self._body = None self.discriminator = None - self.domainid = domainid + self.domain_id = domain_id if body is not None: self.body = body @property - def domainid(self): - """Gets the domainid of this UpdateEdgeWafDomainsRequest. + def domain_id(self): + """Gets the domain_id of this UpdateDomainsRequest. 域名 - :return: The domainid of this UpdateEdgeWafDomainsRequest. + :return: The domain_id of this UpdateDomainsRequest. :rtype: str """ - return self._domainid + return self._domain_id - @domainid.setter - def domainid(self, domainid): - """Sets the domainid of this UpdateEdgeWafDomainsRequest. + @domain_id.setter + def domain_id(self, domain_id): + """Sets the domain_id of this UpdateDomainsRequest. 域名 - :param domainid: The domainid of this UpdateEdgeWafDomainsRequest. - :type domainid: str + :param domain_id: The domain_id of this UpdateDomainsRequest. + :type domain_id: str """ - self._domainid = domainid + self._domain_id = domain_id @property def body(self): - """Gets the body of this UpdateEdgeWafDomainsRequest. + """Gets the body of this UpdateDomainsRequest. - :return: The body of this UpdateEdgeWafDomainsRequest. - :rtype: :class:`huaweicloudsdkedgesec.v1.UpdateEdgeWafDomainsRequestBody` + :return: The body of this UpdateDomainsRequest. + :rtype: :class:`huaweicloudsdkedgesec.v2.UpdateDomainRequestBody` """ return self._body @body.setter def body(self, body): - """Sets the body of this UpdateEdgeWafDomainsRequest. + """Sets the body of this UpdateDomainsRequest. - :param body: The body of this UpdateEdgeWafDomainsRequest. - :type body: :class:`huaweicloudsdkedgesec.v1.UpdateEdgeWafDomainsRequestBody` + :param body: The body of this UpdateDomainsRequest. + :type body: :class:`huaweicloudsdkedgesec.v2.UpdateDomainRequestBody` """ self._body = body @@ -129,7 +129,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, UpdateEdgeWafDomainsRequest): + if not isinstance(other, UpdateDomainsRequest): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/delete_edge_waf_domains_response.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/model/update_domains_response.py similarity index 91% rename from huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/delete_edge_waf_domains_response.py rename to huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/model/update_domains_response.py index 11426bc7e1..ea1b5aeb5f 100644 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/delete_edge_waf_domains_response.py +++ b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/model/update_domains_response.py @@ -6,7 +6,7 @@ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class DeleteEdgeWafDomainsResponse(SdkResponse): +class UpdateDomainsResponse(SdkResponse): """ Attributes: @@ -24,13 +24,13 @@ class DeleteEdgeWafDomainsResponse(SdkResponse): } def __init__(self): - """DeleteEdgeWafDomainsResponse + """UpdateDomainsResponse The model defined in huaweicloud sdk """ - super(DeleteEdgeWafDomainsResponse, self).__init__() + super(UpdateDomainsResponse, self).__init__() self.discriminator = None def to_dict(self): @@ -75,7 +75,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, DeleteEdgeWafDomainsResponse): + if not isinstance(other, UpdateDomainsResponse): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/region/__init__.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/region/__init__.py similarity index 100% rename from huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/region/__init__.py rename to huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/region/__init__.py diff --git a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/region/edgesec_region.py b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/region/edgesec_region.py similarity index 82% rename from huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/region/edgesec_region.py rename to huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/region/edgesec_region.py index c182eba2f9..3af5013e9a 100644 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/region/edgesec_region.py +++ b/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v2/region/edgesec_region.py @@ -7,25 +7,25 @@ class EdgeSecRegion: _PROVIDER = RegionProviderChain.get_default_region_provider_chain("EDGESEC") CN_NORTH_2 = Region("cn-north-2", - "https://edgesec.myhuaweicloud.com") + "https://esa.cn-north-4.myhuaweicloud.com") CN_NORTH_4 = Region("cn-north-4", - "https://edgesec.myhuaweicloud.com") + "https://esa.cn-north-4.myhuaweicloud.com") CN_NORTH_1 = Region("cn-north-1", - "https://edgesec.myhuaweicloud.com") + "https://esa.cn-north-4.myhuaweicloud.com") CN_EAST_2 = Region("cn-east-2", - "https://edgesec.myhuaweicloud.com") + "https://esa.cn-north-4.myhuaweicloud.com") CN_EAST_3 = Region("cn-east-3", - "https://edgesec.myhuaweicloud.com") + "https://esa.cn-north-4.myhuaweicloud.com") CN_SOUTH_1 = Region("cn-south-1", - "https://edgesec.myhuaweicloud.com") + "https://esa.cn-north-4.myhuaweicloud.com") CN_SOUTH_2 = Region("cn-south-2", - "https://edgesec.myhuaweicloud.com") + "https://esa.cn-north-4.myhuaweicloud.com") CN_SOUTH_4 = Region("cn-south-4", - "https://edgesec.myhuaweicloud.com") + "https://esa.cn-north-4.myhuaweicloud.com") CN_SOUTHWEST_2 = Region("cn-southwest-2", - "https://edgesec.myhuaweicloud.com") + "https://esa.cn-north-4.myhuaweicloud.com") CN_NORTH_9 = Region("cn-north-9", - "https://edgesec.myhuaweicloud.com") + "https://esa.cn-north-4.myhuaweicloud.com") AP_SOUTHEAST_1 = Region("ap-southeast-1", "https://edgesec-intl.myhuaweicloud.com") AP_SOUTHEAST_2 = Region("ap-southeast-2", diff --git a/huaweicloud-sdk-edgesec/requirements.txt b/huaweicloud-sdk-edgesec/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-edgesec/requirements.txt +++ b/huaweicloud-sdk-edgesec/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-edgesec/setup.py b/huaweicloud-sdk-edgesec/setup.py index 14313f902a..5a8f9e785c 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-eg/requirements.txt b/huaweicloud-sdk-eg/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-eg/requirements.txt +++ b/huaweicloud-sdk-eg/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-eg/setup.py b/huaweicloud-sdk-eg/setup.py index 68c6d11cc6..d4eeae685a 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-eihealth/requirements.txt b/huaweicloud-sdk-eihealth/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-eihealth/requirements.txt +++ b/huaweicloud-sdk-eihealth/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-eihealth/setup.py b/huaweicloud-sdk-eihealth/setup.py index e941bbeb58..7881c0cfdf 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-eip/requirements.txt b/huaweicloud-sdk-eip/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-eip/requirements.txt +++ b/huaweicloud-sdk-eip/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-eip/setup.py b/huaweicloud-sdk-eip/setup.py index b2f425a5e8..929c60a856 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-elb/requirements.txt b/huaweicloud-sdk-elb/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-elb/requirements.txt +++ b/huaweicloud-sdk-elb/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-elb/setup.py b/huaweicloud-sdk-elb/setup.py index 67043906f9..aad6a4d4f2 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-eps/requirements.txt b/huaweicloud-sdk-eps/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-eps/requirements.txt +++ b/huaweicloud-sdk-eps/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-eps/setup.py b/huaweicloud-sdk-eps/setup.py index f591d6eca4..f9dbbc4cd9 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-er/requirements.txt b/huaweicloud-sdk-er/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-er/requirements.txt +++ b/huaweicloud-sdk-er/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-er/setup.py b/huaweicloud-sdk-er/setup.py index e1f5dd2266..b8536ff0dc 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-evs/requirements.txt b/huaweicloud-sdk-evs/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-evs/requirements.txt +++ b/huaweicloud-sdk-evs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-evs/setup.py b/huaweicloud-sdk-evs/setup.py index 02625673cc..46cb87fa2f 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-frs/requirements.txt b/huaweicloud-sdk-frs/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-frs/requirements.txt +++ b/huaweicloud-sdk-frs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-frs/setup.py b/huaweicloud-sdk-frs/setup.py index 91d6c46c81..b7833518bd 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-functiongraph/requirements.txt b/huaweicloud-sdk-functiongraph/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-functiongraph/requirements.txt +++ b/huaweicloud-sdk-functiongraph/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-functiongraph/setup.py b/huaweicloud-sdk-functiongraph/setup.py index c2dd30f553..8b3420fefc 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ga/requirements.txt b/huaweicloud-sdk-ga/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-ga/requirements.txt +++ b/huaweicloud-sdk-ga/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-ga/setup.py b/huaweicloud-sdk-ga/setup.py index 0b815527e0..27c5b73b15 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-gaussdb/requirements.txt b/huaweicloud-sdk-gaussdb/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-gaussdb/requirements.txt +++ b/huaweicloud-sdk-gaussdb/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-gaussdb/setup.py b/huaweicloud-sdk-gaussdb/setup.py index 2295541099..f13aac1976 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-gaussdbfornosql/requirements.txt b/huaweicloud-sdk-gaussdbfornosql/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-gaussdbfornosql/requirements.txt +++ b/huaweicloud-sdk-gaussdbfornosql/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-gaussdbfornosql/setup.py b/huaweicloud-sdk-gaussdbfornosql/setup.py index eac10cb775..e2364bad13 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-gaussdbforopengauss/requirements.txt b/huaweicloud-sdk-gaussdbforopengauss/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-gaussdbforopengauss/requirements.txt +++ b/huaweicloud-sdk-gaussdbforopengauss/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-gaussdbforopengauss/setup.py b/huaweicloud-sdk-gaussdbforopengauss/setup.py index 3f896dfbec..ea63cb498e 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-geip/requirements.txt b/huaweicloud-sdk-geip/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-geip/requirements.txt +++ b/huaweicloud-sdk-geip/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-geip/setup.py b/huaweicloud-sdk-geip/setup.py index 7b6b22d738..85b8b35805 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ges/requirements.txt b/huaweicloud-sdk-ges/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-ges/requirements.txt +++ b/huaweicloud-sdk-ges/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-ges/setup.py b/huaweicloud-sdk-ges/setup.py index f356d455b0..0ba57cabf1 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-gsl/huaweicloudsdkgsl/v3/__init__.py b/huaweicloud-sdk-gsl/huaweicloudsdkgsl/v3/__init__.py index f946a9802d..2893f42dbb 100644 --- a/huaweicloud-sdk-gsl/huaweicloudsdkgsl/v3/__init__.py +++ b/huaweicloud-sdk-gsl/huaweicloudsdkgsl/v3/__init__.py @@ -52,6 +52,8 @@ from huaweicloudsdkgsl.v3.model.list_network_switch_policies_response import ListNetworkSwitchPoliciesResponse from huaweicloudsdkgsl.v3.model.list_pro_price_plans_request import ListProPricePlansRequest from huaweicloudsdkgsl.v3.model.list_pro_price_plans_response import ListProPricePlansResponse +from huaweicloudsdkgsl.v3.model.list_sim_card_flow_per_day_request import ListSimCardFlowPerDayRequest +from huaweicloudsdkgsl.v3.model.list_sim_card_flow_per_day_response import ListSimCardFlowPerDayResponse from huaweicloudsdkgsl.v3.model.list_sim_cards_request import ListSimCardsRequest from huaweicloudsdkgsl.v3.model.list_sim_cards_response import ListSimCardsResponse from huaweicloudsdkgsl.v3.model.list_sim_device_multiply_request import ListSimDeviceMultiplyRequest @@ -98,6 +100,9 @@ from huaweicloudsdkgsl.v3.model.show_real_named_response import ShowRealNamedResponse from huaweicloudsdkgsl.v3.model.show_sim_card_request import ShowSimCardRequest from huaweicloudsdkgsl.v3.model.show_sim_card_response import ShowSimCardResponse +from huaweicloudsdkgsl.v3.model.sim_card_flow_item import SimCardFlowItem +from huaweicloudsdkgsl.v3.model.sim_card_flow_per_day_req import SimCardFlowPerDayReq +from huaweicloudsdkgsl.v3.model.sim_card_flow_per_day_rsp import SimCardFlowPerDayRsp from huaweicloudsdkgsl.v3.model.sim_cards_flow_vo import SimCardsFlowVO from huaweicloudsdkgsl.v3.model.sim_device_multiply_vo import SimDeviceMultiplyVO from huaweicloudsdkgsl.v3.model.sim_device_vo import SimDeviceVO diff --git a/huaweicloud-sdk-gsl/huaweicloudsdkgsl/v3/gsl_async_client.py b/huaweicloud-sdk-gsl/huaweicloudsdkgsl/v3/gsl_async_client.py index a561150768..bd46083cad 100644 --- a/huaweicloud-sdk-gsl/huaweicloudsdkgsl/v3/gsl_async_client.py +++ b/huaweicloud-sdk-gsl/huaweicloudsdkgsl/v3/gsl_async_client.py @@ -925,6 +925,71 @@ def _enable_sim_card_http_info(self, request): return http_info + def list_sim_card_flow_per_day_async(self, request): + """批量查询SIM卡日用量 + + 批量查询SIM卡日用量接口,支持按天或按月查询。SIM卡标识和容器ID只能选一个参数,天和月也只能选一个参数 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for ListSimCardFlowPerDay + :type request: :class:`huaweicloudsdkgsl.v3.ListSimCardFlowPerDayRequest` + :rtype: :class:`huaweicloudsdkgsl.v3.ListSimCardFlowPerDayResponse` + """ + http_info = self._list_sim_card_flow_per_day_http_info(request) + return self._call_api(**http_info) + + def list_sim_card_flow_per_day_async_invoker(self, request): + http_info = self._list_sim_card_flow_per_day_http_info(request) + return AsyncInvoker(self, http_info) + + def _list_sim_card_flow_per_day_http_info(self, request): + http_info = { + "method": "POST", + "resource_path": "/v1/sim-cards/batch-daily-flow", + "request_type": request.__class__.__name__, + "response_type": "ListSimCardFlowPerDayResponse" + } + + 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 list_sim_cards_async(self, request): """查询SIM卡列表 diff --git a/huaweicloud-sdk-gsl/huaweicloudsdkgsl/v3/gsl_client.py b/huaweicloud-sdk-gsl/huaweicloudsdkgsl/v3/gsl_client.py index 6da0f0b4d0..afda9c5172 100644 --- a/huaweicloud-sdk-gsl/huaweicloudsdkgsl/v3/gsl_client.py +++ b/huaweicloud-sdk-gsl/huaweicloudsdkgsl/v3/gsl_client.py @@ -925,6 +925,71 @@ def _enable_sim_card_http_info(cls, request): return http_info + def list_sim_card_flow_per_day(self, request): + """批量查询SIM卡日用量 + + 批量查询SIM卡日用量接口,支持按天或按月查询。SIM卡标识和容器ID只能选一个参数,天和月也只能选一个参数 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for ListSimCardFlowPerDay + :type request: :class:`huaweicloudsdkgsl.v3.ListSimCardFlowPerDayRequest` + :rtype: :class:`huaweicloudsdkgsl.v3.ListSimCardFlowPerDayResponse` + """ + http_info = self._list_sim_card_flow_per_day_http_info(request) + return self._call_api(**http_info) + + def list_sim_card_flow_per_day_invoker(self, request): + http_info = self._list_sim_card_flow_per_day_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _list_sim_card_flow_per_day_http_info(cls, request): + http_info = { + "method": "POST", + "resource_path": "/v1/sim-cards/batch-daily-flow", + "request_type": request.__class__.__name__, + "response_type": "ListSimCardFlowPerDayResponse" + } + + 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 list_sim_cards(self, request): """查询SIM卡列表 diff --git a/huaweicloud-sdk-gsl/huaweicloudsdkgsl/v3/model/__init__.py b/huaweicloud-sdk-gsl/huaweicloudsdkgsl/v3/model/__init__.py index a27f61b56b..520876cdcb 100644 --- a/huaweicloud-sdk-gsl/huaweicloudsdkgsl/v3/model/__init__.py +++ b/huaweicloud-sdk-gsl/huaweicloudsdkgsl/v3/model/__init__.py @@ -50,6 +50,8 @@ from huaweicloudsdkgsl.v3.model.list_network_switch_policies_response import ListNetworkSwitchPoliciesResponse from huaweicloudsdkgsl.v3.model.list_pro_price_plans_request import ListProPricePlansRequest from huaweicloudsdkgsl.v3.model.list_pro_price_plans_response import ListProPricePlansResponse +from huaweicloudsdkgsl.v3.model.list_sim_card_flow_per_day_request import ListSimCardFlowPerDayRequest +from huaweicloudsdkgsl.v3.model.list_sim_card_flow_per_day_response import ListSimCardFlowPerDayResponse from huaweicloudsdkgsl.v3.model.list_sim_cards_request import ListSimCardsRequest from huaweicloudsdkgsl.v3.model.list_sim_cards_response import ListSimCardsResponse from huaweicloudsdkgsl.v3.model.list_sim_device_multiply_request import ListSimDeviceMultiplyRequest @@ -96,6 +98,9 @@ from huaweicloudsdkgsl.v3.model.show_real_named_response import ShowRealNamedResponse from huaweicloudsdkgsl.v3.model.show_sim_card_request import ShowSimCardRequest from huaweicloudsdkgsl.v3.model.show_sim_card_response import ShowSimCardResponse +from huaweicloudsdkgsl.v3.model.sim_card_flow_item import SimCardFlowItem +from huaweicloudsdkgsl.v3.model.sim_card_flow_per_day_req import SimCardFlowPerDayReq +from huaweicloudsdkgsl.v3.model.sim_card_flow_per_day_rsp import SimCardFlowPerDayRsp from huaweicloudsdkgsl.v3.model.sim_cards_flow_vo import SimCardsFlowVO from huaweicloudsdkgsl.v3.model.sim_device_multiply_vo import SimDeviceMultiplyVO from huaweicloudsdkgsl.v3.model.sim_device_vo import SimDeviceVO diff --git a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/create_edge_d_do_s_domains_request.py b/huaweicloud-sdk-gsl/huaweicloudsdkgsl/v3/model/list_sim_card_flow_per_day_request.py similarity index 76% rename from huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/create_edge_d_do_s_domains_request.py rename to huaweicloud-sdk-gsl/huaweicloudsdkgsl/v3/model/list_sim_card_flow_per_day_request.py index edb2b90a5b..76f2c0b9a6 100644 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/create_edge_d_do_s_domains_request.py +++ b/huaweicloud-sdk-gsl/huaweicloudsdkgsl/v3/model/list_sim_card_flow_per_day_request.py @@ -5,7 +5,7 @@ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class CreateEdgeDDoSDomainsRequest: +class ListSimCardFlowPerDayRequest: """ Attributes: @@ -17,7 +17,7 @@ class CreateEdgeDDoSDomainsRequest: sensitive_list = [] openapi_types = { - 'body': 'CreateEdgeDDoSDomainsRequestBody' + 'body': 'SimCardFlowPerDayReq' } attribute_map = { @@ -25,12 +25,12 @@ class CreateEdgeDDoSDomainsRequest: } def __init__(self, body=None): - """CreateEdgeDDoSDomainsRequest + """ListSimCardFlowPerDayRequest The model defined in huaweicloud sdk - :param body: Body of the CreateEdgeDDoSDomainsRequest - :type body: :class:`huaweicloudsdkedgesec.v1.CreateEdgeDDoSDomainsRequestBody` + :param body: Body of the ListSimCardFlowPerDayRequest + :type body: :class:`huaweicloudsdkgsl.v3.SimCardFlowPerDayReq` """ @@ -43,19 +43,19 @@ def __init__(self, body=None): @property def body(self): - """Gets the body of this CreateEdgeDDoSDomainsRequest. + """Gets the body of this ListSimCardFlowPerDayRequest. - :return: The body of this CreateEdgeDDoSDomainsRequest. - :rtype: :class:`huaweicloudsdkedgesec.v1.CreateEdgeDDoSDomainsRequestBody` + :return: The body of this ListSimCardFlowPerDayRequest. + :rtype: :class:`huaweicloudsdkgsl.v3.SimCardFlowPerDayReq` """ return self._body @body.setter def body(self, body): - """Sets the body of this CreateEdgeDDoSDomainsRequest. + """Sets the body of this ListSimCardFlowPerDayRequest. - :param body: The body of this CreateEdgeDDoSDomainsRequest. - :type body: :class:`huaweicloudsdkedgesec.v1.CreateEdgeDDoSDomainsRequestBody` + :param body: The body of this ListSimCardFlowPerDayRequest. + :type body: :class:`huaweicloudsdkgsl.v3.SimCardFlowPerDayReq` """ self._body = body @@ -101,7 +101,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, CreateEdgeDDoSDomainsRequest): + if not isinstance(other, ListSimCardFlowPerDayRequest): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/delete_edge_d_do_s_domains_response.py b/huaweicloud-sdk-gsl/huaweicloudsdkgsl/v3/model/list_sim_card_flow_per_day_response.py similarity index 67% rename from huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/delete_edge_d_do_s_domains_response.py rename to huaweicloud-sdk-gsl/huaweicloudsdkgsl/v3/model/list_sim_card_flow_per_day_response.py index 2a14dbebae..622c271bae 100644 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/delete_edge_d_do_s_domains_response.py +++ b/huaweicloud-sdk-gsl/huaweicloudsdkgsl/v3/model/list_sim_card_flow_per_day_response.py @@ -6,7 +6,7 @@ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class DeleteEdgeDDoSDomainsResponse(SdkResponse): +class ListSimCardFlowPerDayResponse(SdkResponse): """ Attributes: @@ -18,21 +18,48 @@ class DeleteEdgeDDoSDomainsResponse(SdkResponse): sensitive_list = [] openapi_types = { + 'body': 'list[SimCardFlowPerDayRsp]' } attribute_map = { + 'body': 'body' } - def __init__(self): - """DeleteEdgeDDoSDomainsResponse + def __init__(self, body=None): + """ListSimCardFlowPerDayResponse The model defined in huaweicloud sdk + :param body: + :type body: list[:class:`huaweicloudsdkgsl.v3.SimCardFlowPerDayRsp`] """ - super(DeleteEdgeDDoSDomainsResponse, self).__init__() + super(ListSimCardFlowPerDayResponse, 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 ListSimCardFlowPerDayResponse. + + :return: The body of this ListSimCardFlowPerDayResponse. + :rtype: list[:class:`huaweicloudsdkgsl.v3.SimCardFlowPerDayRsp`] + """ + return self._body + + @body.setter + def body(self, body): + """Sets the body of this ListSimCardFlowPerDayResponse. + + :param body: The body of this ListSimCardFlowPerDayResponse. + :type body: list[:class:`huaweicloudsdkgsl.v3.SimCardFlowPerDayRsp`] + """ + self._body = body + def to_dict(self): """Returns the model properties as a dict""" result = {} @@ -75,7 +102,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, DeleteEdgeDDoSDomainsResponse): + if not isinstance(other, ListSimCardFlowPerDayResponse): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-gsl/huaweicloudsdkgsl/v3/model/network_switch_policy_req.py b/huaweicloud-sdk-gsl/huaweicloudsdkgsl/v3/model/network_switch_policy_req.py index 169fd9610a..079889165a 100644 --- a/huaweicloud-sdk-gsl/huaweicloudsdkgsl/v3/model/network_switch_policy_req.py +++ b/huaweicloud-sdk-gsl/huaweicloudsdkgsl/v3/model/network_switch_policy_req.py @@ -17,29 +17,58 @@ class NetworkSwitchPolicyReq: sensitive_list = [] openapi_types = { + 'cid': 'str', 'network_switch_policy_id': 'int' } attribute_map = { + 'cid': 'cid', 'network_switch_policy_id': 'network_switch_policy_id' } - def __init__(self, network_switch_policy_id=None): + def __init__(self, cid=None, network_switch_policy_id=None): """NetworkSwitchPolicyReq The model defined in huaweicloud sdk + :param cid: 容器ID + :type cid: str :param network_switch_policy_id: 网络切换策略标识 :type network_switch_policy_id: int """ + self._cid = None self._network_switch_policy_id = None self.discriminator = None + if cid is not None: + self.cid = cid self.network_switch_policy_id = network_switch_policy_id + @property + def cid(self): + """Gets the cid of this NetworkSwitchPolicyReq. + + 容器ID + + :return: The cid of this NetworkSwitchPolicyReq. + :rtype: str + """ + return self._cid + + @cid.setter + def cid(self, cid): + """Sets the cid of this NetworkSwitchPolicyReq. + + 容器ID + + :param cid: The cid of this NetworkSwitchPolicyReq. + :type cid: str + """ + self._cid = cid + @property def network_switch_policy_id(self): """Gets the network_switch_policy_id of this NetworkSwitchPolicyReq. diff --git a/huaweicloud-sdk-gsl/huaweicloudsdkgsl/v3/model/network_switch_req.py b/huaweicloud-sdk-gsl/huaweicloudsdkgsl/v3/model/network_switch_req.py index 39f5e9315c..c74bcbac77 100644 --- a/huaweicloud-sdk-gsl/huaweicloudsdkgsl/v3/model/network_switch_req.py +++ b/huaweicloud-sdk-gsl/huaweicloudsdkgsl/v3/model/network_switch_req.py @@ -17,29 +17,58 @@ class NetworkSwitchReq: sensitive_list = [] openapi_types = { + 'cid': 'str', 'carrier_type': 'int' } attribute_map = { + 'cid': 'cid', 'carrier_type': 'carrier_type' } - def __init__(self, carrier_type=None): + def __init__(self, cid=None, carrier_type=None): """NetworkSwitchReq The model defined in huaweicloud sdk + :param cid: 容器ID + :type cid: str :param carrier_type: 切换的目标网络 :type carrier_type: int """ + self._cid = None self._carrier_type = None self.discriminator = None + if cid is not None: + self.cid = cid self.carrier_type = carrier_type + @property + def cid(self): + """Gets the cid of this NetworkSwitchReq. + + 容器ID + + :return: The cid of this NetworkSwitchReq. + :rtype: str + """ + return self._cid + + @cid.setter + def cid(self, cid): + """Sets the cid of this NetworkSwitchReq. + + 容器ID + + :param cid: The cid of this NetworkSwitchReq. + :type cid: str + """ + self._cid = cid + @property def carrier_type(self): """Gets the carrier_type of this NetworkSwitchReq. diff --git a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/waf_traffic_mark.py b/huaweicloud-sdk-gsl/huaweicloudsdkgsl/v3/model/sim_card_flow_item.py similarity index 52% rename from huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/waf_traffic_mark.py rename to huaweicloud-sdk-gsl/huaweicloudsdkgsl/v3/model/sim_card_flow_item.py index a0b5d2bfea..171f369c2d 100644 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/waf_traffic_mark.py +++ b/huaweicloud-sdk-gsl/huaweicloudsdkgsl/v3/model/sim_card_flow_item.py @@ -5,7 +5,7 @@ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class WafTrafficMark: +class SimCardFlowItem: """ Attributes: @@ -17,109 +17,109 @@ class WafTrafficMark: sensitive_list = [] openapi_types = { - 'sip': 'list[str]', - 'cookie': 'str', - 'params': 'str' + 'sim_card_id': 'int', + 'iccid': 'str', + 'flow': 'float' } attribute_map = { - 'sip': 'sip', - 'cookie': 'cookie', - 'params': 'params' + 'sim_card_id': 'sim_card_id', + 'iccid': 'iccid', + 'flow': 'flow' } - def __init__(self, sip=None, cookie=None, params=None): - """WafTrafficMark + def __init__(self, sim_card_id=None, iccid=None, flow=None): + """SimCardFlowItem The model defined in huaweicloud sdk - :param sip: 惩罚ip - :type sip: list[str] - :param cookie: cookie - :type cookie: str - :param params: 参数 - :type params: str + :param sim_card_id: sim卡标识 + :type sim_card_id: int + :param iccid: 容器ID + :type iccid: str + :param flow: 流量 + :type flow: float """ - self._sip = None - self._cookie = None - self._params = None + self._sim_card_id = None + self._iccid = None + self._flow = None self.discriminator = None - if sip is not None: - self.sip = sip - if cookie is not None: - self.cookie = cookie - if params is not None: - self.params = params + if sim_card_id is not None: + self.sim_card_id = sim_card_id + if iccid is not None: + self.iccid = iccid + if flow is not None: + self.flow = flow @property - def sip(self): - """Gets the sip of this WafTrafficMark. + def sim_card_id(self): + """Gets the sim_card_id of this SimCardFlowItem. - 惩罚ip + sim卡标识 - :return: The sip of this WafTrafficMark. - :rtype: list[str] + :return: The sim_card_id of this SimCardFlowItem. + :rtype: int """ - return self._sip + return self._sim_card_id - @sip.setter - def sip(self, sip): - """Sets the sip of this WafTrafficMark. + @sim_card_id.setter + def sim_card_id(self, sim_card_id): + """Sets the sim_card_id of this SimCardFlowItem. - 惩罚ip + sim卡标识 - :param sip: The sip of this WafTrafficMark. - :type sip: list[str] + :param sim_card_id: The sim_card_id of this SimCardFlowItem. + :type sim_card_id: int """ - self._sip = sip + self._sim_card_id = sim_card_id @property - def cookie(self): - """Gets the cookie of this WafTrafficMark. + def iccid(self): + """Gets the iccid of this SimCardFlowItem. - cookie + 容器ID - :return: The cookie of this WafTrafficMark. + :return: The iccid of this SimCardFlowItem. :rtype: str """ - return self._cookie + return self._iccid - @cookie.setter - def cookie(self, cookie): - """Sets the cookie of this WafTrafficMark. + @iccid.setter + def iccid(self, iccid): + """Sets the iccid of this SimCardFlowItem. - cookie + 容器ID - :param cookie: The cookie of this WafTrafficMark. - :type cookie: str + :param iccid: The iccid of this SimCardFlowItem. + :type iccid: str """ - self._cookie = cookie + self._iccid = iccid @property - def params(self): - """Gets the params of this WafTrafficMark. + def flow(self): + """Gets the flow of this SimCardFlowItem. - 参数 + 流量 - :return: The params of this WafTrafficMark. - :rtype: str + :return: The flow of this SimCardFlowItem. + :rtype: float """ - return self._params + return self._flow - @params.setter - def params(self, params): - """Sets the params of this WafTrafficMark. + @flow.setter + def flow(self, flow): + """Sets the flow of this SimCardFlowItem. - 参数 + 流量 - :param params: The params of this WafTrafficMark. - :type params: str + :param flow: The flow of this SimCardFlowItem. + :type flow: float """ - self._params = params + self._flow = flow def to_dict(self): """Returns the model properties as a dict""" @@ -163,7 +163,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, WafTrafficMark): + if not isinstance(other, SimCardFlowItem): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-gsl/huaweicloudsdkgsl/v3/model/sim_card_flow_per_day_req.py b/huaweicloud-sdk-gsl/huaweicloudsdkgsl/v3/model/sim_card_flow_per_day_req.py new file mode 100644 index 0000000000..196a184b0c --- /dev/null +++ b/huaweicloud-sdk-gsl/huaweicloudsdkgsl/v3/model/sim_card_flow_per_day_req.py @@ -0,0 +1,194 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class SimCardFlowPerDayReq: + + """ + 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 = { + 'sim_card_ids': 'list[int]', + 'iccids': 'list[str]', + 'month': 'str', + 'date': 'str' + } + + attribute_map = { + 'sim_card_ids': 'sim_card_ids', + 'iccids': 'iccids', + 'month': 'month', + 'date': 'date' + } + + def __init__(self, sim_card_ids=None, iccids=None, month=None, date=None): + """SimCardFlowPerDayReq + + The model defined in huaweicloud sdk + + :param sim_card_ids: + :type sim_card_ids: list[int] + :param iccids: + :type iccids: list[str] + :param month: 月份 + :type month: str + :param date: 日期 + :type date: str + """ + + + + self._sim_card_ids = None + self._iccids = None + self._month = None + self._date = None + self.discriminator = None + + if sim_card_ids is not None: + self.sim_card_ids = sim_card_ids + if iccids is not None: + self.iccids = iccids + if month is not None: + self.month = month + if date is not None: + self.date = date + + @property + def sim_card_ids(self): + """Gets the sim_card_ids of this SimCardFlowPerDayReq. + + :return: The sim_card_ids of this SimCardFlowPerDayReq. + :rtype: list[int] + """ + return self._sim_card_ids + + @sim_card_ids.setter + def sim_card_ids(self, sim_card_ids): + """Sets the sim_card_ids of this SimCardFlowPerDayReq. + + :param sim_card_ids: The sim_card_ids of this SimCardFlowPerDayReq. + :type sim_card_ids: list[int] + """ + self._sim_card_ids = sim_card_ids + + @property + def iccids(self): + """Gets the iccids of this SimCardFlowPerDayReq. + + :return: The iccids of this SimCardFlowPerDayReq. + :rtype: list[str] + """ + return self._iccids + + @iccids.setter + def iccids(self, iccids): + """Sets the iccids of this SimCardFlowPerDayReq. + + :param iccids: The iccids of this SimCardFlowPerDayReq. + :type iccids: list[str] + """ + self._iccids = iccids + + @property + def month(self): + """Gets the month of this SimCardFlowPerDayReq. + + 月份 + + :return: The month of this SimCardFlowPerDayReq. + :rtype: str + """ + return self._month + + @month.setter + def month(self, month): + """Sets the month of this SimCardFlowPerDayReq. + + 月份 + + :param month: The month of this SimCardFlowPerDayReq. + :type month: str + """ + self._month = month + + @property + def date(self): + """Gets the date of this SimCardFlowPerDayReq. + + 日期 + + :return: The date of this SimCardFlowPerDayReq. + :rtype: str + """ + return self._date + + @date.setter + def date(self, date): + """Sets the date of this SimCardFlowPerDayReq. + + 日期 + + :param date: The date of this SimCardFlowPerDayReq. + :type date: str + """ + self._date = date + + 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, SimCardFlowPerDayReq): + 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/tag_filter.py b/huaweicloud-sdk-gsl/huaweicloudsdkgsl/v3/model/sim_card_flow_per_day_rsp.py similarity index 59% rename from huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/tag_filter.py rename to huaweicloud-sdk-gsl/huaweicloudsdkgsl/v3/model/sim_card_flow_per_day_rsp.py index 0423b1ecd8..13a1fb17f2 100644 --- a/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/tag_filter.py +++ b/huaweicloud-sdk-gsl/huaweicloudsdkgsl/v3/model/sim_card_flow_per_day_rsp.py @@ -5,7 +5,7 @@ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class TagFilter: +class SimCardFlowPerDayRsp: """ Attributes: @@ -17,76 +17,76 @@ class TagFilter: sensitive_list = [] openapi_types = { - 'key': 'str', - 'values': 'list[str]' + 'date': 'str', + 'sim_flow': 'list[SimCardFlowItem]' } attribute_map = { - 'key': 'key', - 'values': 'values' + 'date': 'date', + 'sim_flow': 'sim_flow' } - def __init__(self, key=None, values=None): - """TagFilter + def __init__(self, date=None, sim_flow=None): + """SimCardFlowPerDayRsp The model defined in huaweicloud sdk - :param key: 需要过滤的标签key。 - :type key: str - :param values: - :type values: list[str] + :param date: 日期 + :type date: str + :param sim_flow: + :type sim_flow: list[:class:`huaweicloudsdkgsl.v3.SimCardFlowItem`] """ - self._key = None - self._values = None + self._date = None + self._sim_flow = None self.discriminator = None - if key is not None: - self.key = key - if values is not None: - self.values = values + if date is not None: + self.date = date + if sim_flow is not None: + self.sim_flow = sim_flow @property - def key(self): - """Gets the key of this TagFilter. + def date(self): + """Gets the date of this SimCardFlowPerDayRsp. - 需要过滤的标签key。 + 日期 - :return: The key of this TagFilter. + :return: The date of this SimCardFlowPerDayRsp. :rtype: str """ - return self._key + return self._date - @key.setter - def key(self, key): - """Sets the key of this TagFilter. + @date.setter + def date(self, date): + """Sets the date of this SimCardFlowPerDayRsp. - 需要过滤的标签key。 + 日期 - :param key: The key of this TagFilter. - :type key: str + :param date: The date of this SimCardFlowPerDayRsp. + :type date: str """ - self._key = key + self._date = date @property - def values(self): - """Gets the values of this TagFilter. + def sim_flow(self): + """Gets the sim_flow of this SimCardFlowPerDayRsp. - :return: The values of this TagFilter. - :rtype: list[str] + :return: The sim_flow of this SimCardFlowPerDayRsp. + :rtype: list[:class:`huaweicloudsdkgsl.v3.SimCardFlowItem`] """ - return self._values + return self._sim_flow - @values.setter - def values(self, values): - """Sets the values of this TagFilter. + @sim_flow.setter + def sim_flow(self, sim_flow): + """Sets the sim_flow of this SimCardFlowPerDayRsp. - :param values: The values of this TagFilter. - :type values: list[str] + :param sim_flow: The sim_flow of this SimCardFlowPerDayRsp. + :type sim_flow: list[:class:`huaweicloudsdkgsl.v3.SimCardFlowItem`] """ - self._values = values + self._sim_flow = sim_flow def to_dict(self): """Returns the model properties as a dict""" @@ -130,7 +130,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, TagFilter): + if not isinstance(other, SimCardFlowPerDayRsp): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-gsl/requirements.txt b/huaweicloud-sdk-gsl/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-gsl/requirements.txt +++ b/huaweicloud-sdk-gsl/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-gsl/setup.py b/huaweicloud-sdk-gsl/setup.py index 0db847a039..519f7cb523 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-hilens/requirements.txt b/huaweicloud-sdk-hilens/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-hilens/requirements.txt +++ b/huaweicloud-sdk-hilens/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-hilens/setup.py b/huaweicloud-sdk-hilens/setup.py index 461fb8f3f6..3d287f3883 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-hss/requirements.txt b/huaweicloud-sdk-hss/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-hss/requirements.txt +++ b/huaweicloud-sdk-hss/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-hss/setup.py b/huaweicloud-sdk-hss/setup.py index 1ead172795..40325ed61a 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-iam/requirements.txt b/huaweicloud-sdk-iam/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-iam/requirements.txt +++ b/huaweicloud-sdk-iam/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-iam/setup.py b/huaweicloud-sdk-iam/setup.py index db2c136c82..04020fa482 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-iamaccessanalyzer/requirements.txt b/huaweicloud-sdk-iamaccessanalyzer/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-iamaccessanalyzer/requirements.txt +++ b/huaweicloud-sdk-iamaccessanalyzer/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-iamaccessanalyzer/setup.py b/huaweicloud-sdk-iamaccessanalyzer/setup.py index d4ce1ece0c..333c641838 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-identitycenter/requirements.txt b/huaweicloud-sdk-identitycenter/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-identitycenter/requirements.txt +++ b/huaweicloud-sdk-identitycenter/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-identitycenter/setup.py b/huaweicloud-sdk-identitycenter/setup.py index 772ada3185..97a0aea3c3 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-identitycenterstore/requirements.txt b/huaweicloud-sdk-identitycenterstore/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-identitycenterstore/requirements.txt +++ b/huaweicloud-sdk-identitycenterstore/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-identitycenterstore/setup.py b/huaweicloud-sdk-identitycenterstore/setup.py index ea9d13a320..5a475889d2 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-idme/requirements.txt b/huaweicloud-sdk-idme/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-idme/requirements.txt +++ b/huaweicloud-sdk-idme/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-idme/setup.py b/huaweicloud-sdk-idme/setup.py index 66276e3795..a33880a676 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-idmeclassicapi/requirements.txt b/huaweicloud-sdk-idmeclassicapi/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-idmeclassicapi/requirements.txt +++ b/huaweicloud-sdk-idmeclassicapi/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-idmeclassicapi/setup.py b/huaweicloud-sdk-idmeclassicapi/setup.py index 5a5df24919..1c2e12d6cd 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-iec/requirements.txt b/huaweicloud-sdk-iec/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-iec/requirements.txt +++ b/huaweicloud-sdk-iec/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-iec/setup.py b/huaweicloud-sdk-iec/setup.py index 28d5bd3b86..c4750eefc8 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ief/requirements.txt b/huaweicloud-sdk-ief/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-ief/requirements.txt +++ b/huaweicloud-sdk-ief/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-ief/setup.py b/huaweicloud-sdk-ief/setup.py index cd51b2f2fc..0ca2b1669c 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-image/requirements.txt b/huaweicloud-sdk-image/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-image/requirements.txt +++ b/huaweicloud-sdk-image/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-image/setup.py b/huaweicloud-sdk-image/setup.py index b311072001..3976942615 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-imagesearch/requirements.txt b/huaweicloud-sdk-imagesearch/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-imagesearch/requirements.txt +++ b/huaweicloud-sdk-imagesearch/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-imagesearch/setup.py b/huaweicloud-sdk-imagesearch/setup.py index e613b20836..7c83cade1d 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ims/requirements.txt b/huaweicloud-sdk-ims/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-ims/requirements.txt +++ b/huaweicloud-sdk-ims/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-ims/setup.py b/huaweicloud-sdk-ims/setup.py index 718cb4a6a1..9a5bf2f55b 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-iotanalytics/requirements.txt b/huaweicloud-sdk-iotanalytics/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-iotanalytics/requirements.txt +++ b/huaweicloud-sdk-iotanalytics/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-iotanalytics/setup.py b/huaweicloud-sdk-iotanalytics/setup.py index 46acbc80dc..2b10475ecb 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-iotda/requirements.txt b/huaweicloud-sdk-iotda/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-iotda/requirements.txt +++ b/huaweicloud-sdk-iotda/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-iotda/setup.py b/huaweicloud-sdk-iotda/setup.py index 5eeee82e3a..b0745dcc63 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-iotdm/requirements.txt b/huaweicloud-sdk-iotdm/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-iotdm/requirements.txt +++ b/huaweicloud-sdk-iotdm/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-iotdm/setup.py b/huaweicloud-sdk-iotdm/setup.py index 6baefad844..31a0461d29 100644 --- a/huaweicloud-sdk-iotdm/setup.py +++ b/huaweicloud-sdk-iotdm/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkiotdm" -VERSION = "3.1.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-iotedge/huaweicloudsdkiotedge/v2/__init__.py b/huaweicloud-sdk-iotedge/huaweicloudsdkiotedge/v2/__init__.py index d0fe8c79d4..e7134f22fb 100644 --- a/huaweicloud-sdk-iotedge/huaweicloudsdkiotedge/v2/__init__.py +++ b/huaweicloud-sdk-iotedge/huaweicloudsdkiotedge/v2/__init__.py @@ -92,6 +92,10 @@ from huaweicloudsdkiotedge.v2.model.delete_dc_ds_response import DeleteDcDsResponse from huaweicloudsdkiotedge.v2.model.delete_dc_point_request import DeleteDcPointRequest from huaweicloudsdkiotedge.v2.model.delete_dc_point_response import DeleteDcPointResponse +from huaweicloudsdkiotedge.v2.model.delete_dc_points_failed_detail import DeleteDcPointsFailedDetail +from huaweicloudsdkiotedge.v2.model.delete_dc_points_req_dto import DeleteDcPointsReqDTO +from huaweicloudsdkiotedge.v2.model.delete_dc_points_request import DeleteDcPointsRequest +from huaweicloudsdkiotedge.v2.model.delete_dc_points_response import DeleteDcPointsResponse from huaweicloudsdkiotedge.v2.model.delete_device_request import DeleteDeviceRequest from huaweicloudsdkiotedge.v2.model.delete_device_response import DeleteDeviceResponse from huaweicloudsdkiotedge.v2.model.delete_edge_app_request import DeleteEdgeAppRequest diff --git a/huaweicloud-sdk-iotedge/huaweicloudsdkiotedge/v2/iotedge_async_client.py b/huaweicloud-sdk-iotedge/huaweicloudsdkiotedge/v2/iotedge_async_client.py index 6f8425782b..31e9ac4881 100644 --- a/huaweicloud-sdk-iotedge/huaweicloudsdkiotedge/v2/iotedge_async_client.py +++ b/huaweicloud-sdk-iotedge/huaweicloudsdkiotedge/v2/iotedge_async_client.py @@ -2767,6 +2767,75 @@ def _delete_dc_point_http_info(self, request): return http_info + def delete_dc_points_async(self, request): + """批量删除点位表配置 + + 批量删除点位表配置 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for DeleteDcPoints + :type request: :class:`huaweicloudsdkiotedge.v2.DeleteDcPointsRequest` + :rtype: :class:`huaweicloudsdkiotedge.v2.DeleteDcPointsResponse` + """ + http_info = self._delete_dc_points_http_info(request) + return self._call_api(**http_info) + + def delete_dc_points_async_invoker(self, request): + http_info = self._delete_dc_points_http_info(request) + return AsyncInvoker(self, http_info) + + def _delete_dc_points_http_info(self, request): + http_info = { + "method": "POST", + "resource_path": "/v2/edge-nodes/{edge_node_id}/ots/data-sources/{ds_id}/points/batch-delete", + "request_type": request.__class__.__name__, + "response_type": "DeleteDcPointsResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'edge_node_id' in local_var_params: + path_params['edge_node_id'] = local_var_params['edge_node_id'] + if 'ds_id' in local_var_params: + path_params['ds_id'] = local_var_params['ds_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 show_dc_point_async(self, request): """查询点位表配置详情 diff --git a/huaweicloud-sdk-iotedge/huaweicloudsdkiotedge/v2/iotedge_client.py b/huaweicloud-sdk-iotedge/huaweicloudsdkiotedge/v2/iotedge_client.py index 3439ea057a..a9870f0c3f 100644 --- a/huaweicloud-sdk-iotedge/huaweicloudsdkiotedge/v2/iotedge_client.py +++ b/huaweicloud-sdk-iotedge/huaweicloudsdkiotedge/v2/iotedge_client.py @@ -2767,6 +2767,75 @@ def _delete_dc_point_http_info(cls, request): return http_info + def delete_dc_points(self, request): + """批量删除点位表配置 + + 批量删除点位表配置 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for DeleteDcPoints + :type request: :class:`huaweicloudsdkiotedge.v2.DeleteDcPointsRequest` + :rtype: :class:`huaweicloudsdkiotedge.v2.DeleteDcPointsResponse` + """ + http_info = self._delete_dc_points_http_info(request) + return self._call_api(**http_info) + + def delete_dc_points_invoker(self, request): + http_info = self._delete_dc_points_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _delete_dc_points_http_info(cls, request): + http_info = { + "method": "POST", + "resource_path": "/v2/edge-nodes/{edge_node_id}/ots/data-sources/{ds_id}/points/batch-delete", + "request_type": request.__class__.__name__, + "response_type": "DeleteDcPointsResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'edge_node_id' in local_var_params: + path_params['edge_node_id'] = local_var_params['edge_node_id'] + if 'ds_id' in local_var_params: + path_params['ds_id'] = local_var_params['ds_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 show_dc_point(self, request): """查询点位表配置详情 diff --git a/huaweicloud-sdk-iotedge/huaweicloudsdkiotedge/v2/model/__init__.py b/huaweicloud-sdk-iotedge/huaweicloudsdkiotedge/v2/model/__init__.py index 2343366479..93be824967 100644 --- a/huaweicloud-sdk-iotedge/huaweicloudsdkiotedge/v2/model/__init__.py +++ b/huaweicloud-sdk-iotedge/huaweicloudsdkiotedge/v2/model/__init__.py @@ -90,6 +90,10 @@ from huaweicloudsdkiotedge.v2.model.delete_dc_ds_response import DeleteDcDsResponse from huaweicloudsdkiotedge.v2.model.delete_dc_point_request import DeleteDcPointRequest from huaweicloudsdkiotedge.v2.model.delete_dc_point_response import DeleteDcPointResponse +from huaweicloudsdkiotedge.v2.model.delete_dc_points_failed_detail import DeleteDcPointsFailedDetail +from huaweicloudsdkiotedge.v2.model.delete_dc_points_req_dto import DeleteDcPointsReqDTO +from huaweicloudsdkiotedge.v2.model.delete_dc_points_request import DeleteDcPointsRequest +from huaweicloudsdkiotedge.v2.model.delete_dc_points_response import DeleteDcPointsResponse from huaweicloudsdkiotedge.v2.model.delete_device_request import DeleteDeviceRequest from huaweicloudsdkiotedge.v2.model.delete_device_response import DeleteDeviceResponse from huaweicloudsdkiotedge.v2.model.delete_edge_app_request import DeleteEdgeAppRequest diff --git a/huaweicloud-sdk-iotedge/huaweicloudsdkiotedge/v2/model/delete_dc_points_failed_detail.py b/huaweicloud-sdk-iotedge/huaweicloudsdkiotedge/v2/model/delete_dc_points_failed_detail.py new file mode 100644 index 0000000000..8aef71ce06 --- /dev/null +++ b/huaweicloud-sdk-iotedge/huaweicloudsdkiotedge/v2/model/delete_dc_points_failed_detail.py @@ -0,0 +1,170 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class DeleteDcPointsFailedDetail: + + """ + 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 = { + 'error_code': 'str', + 'error_msg': 'str', + 'point_id': 'str' + } + + attribute_map = { + 'error_code': 'error_code', + 'error_msg': 'error_msg', + 'point_id': 'point_id' + } + + def __init__(self, error_code=None, error_msg=None, point_id=None): + """DeleteDcPointsFailedDetail + + The model defined in huaweicloud sdk + + :param error_code: 点位删除失败错误码 + :type error_code: str + :param error_msg: 点位删除失败错误详情 + :type error_msg: str + :param point_id: 点位id + :type point_id: str + """ + + + + self._error_code = None + self._error_msg = None + self._point_id = None + self.discriminator = None + + self.error_code = error_code + self.error_msg = error_msg + self.point_id = point_id + + @property + def error_code(self): + """Gets the error_code of this DeleteDcPointsFailedDetail. + + 点位删除失败错误码 + + :return: The error_code of this DeleteDcPointsFailedDetail. + :rtype: str + """ + return self._error_code + + @error_code.setter + def error_code(self, error_code): + """Sets the error_code of this DeleteDcPointsFailedDetail. + + 点位删除失败错误码 + + :param error_code: The error_code of this DeleteDcPointsFailedDetail. + :type error_code: str + """ + self._error_code = error_code + + @property + def error_msg(self): + """Gets the error_msg of this DeleteDcPointsFailedDetail. + + 点位删除失败错误详情 + + :return: The error_msg of this DeleteDcPointsFailedDetail. + :rtype: str + """ + return self._error_msg + + @error_msg.setter + def error_msg(self, error_msg): + """Sets the error_msg of this DeleteDcPointsFailedDetail. + + 点位删除失败错误详情 + + :param error_msg: The error_msg of this DeleteDcPointsFailedDetail. + :type error_msg: str + """ + self._error_msg = error_msg + + @property + def point_id(self): + """Gets the point_id of this DeleteDcPointsFailedDetail. + + 点位id + + :return: The point_id of this DeleteDcPointsFailedDetail. + :rtype: str + """ + return self._point_id + + @point_id.setter + def point_id(self, point_id): + """Sets the point_id of this DeleteDcPointsFailedDetail. + + 点位id + + :param point_id: The point_id of this DeleteDcPointsFailedDetail. + :type point_id: str + """ + self._point_id = point_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, DeleteDcPointsFailedDetail): + 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-edgesec/huaweicloudsdkedgesec/v1/model/create_edge_d_do_s_domains_response.py b/huaweicloud-sdk-iotedge/huaweicloudsdkiotedge/v2/model/delete_dc_points_req_dto.py similarity index 73% rename from huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/create_edge_d_do_s_domains_response.py rename to huaweicloud-sdk-iotedge/huaweicloudsdkiotedge/v2/model/delete_dc_points_req_dto.py index caf6cc9fd3..8bc3f85e37 100644 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/create_edge_d_do_s_domains_response.py +++ b/huaweicloud-sdk-iotedge/huaweicloudsdkiotedge/v2/model/delete_dc_points_req_dto.py @@ -2,11 +2,10 @@ import six -from huaweicloudsdkcore.sdk_response import SdkResponse from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class CreateEdgeDDoSDomainsResponse(SdkResponse): +class DeleteDcPointsReqDTO: """ Attributes: @@ -18,21 +17,47 @@ class CreateEdgeDDoSDomainsResponse(SdkResponse): sensitive_list = [] openapi_types = { + 'points': 'list[str]' } attribute_map = { + 'points': 'points' } - def __init__(self): - """CreateEdgeDDoSDomainsResponse + def __init__(self, points=None): + """DeleteDcPointsReqDTO The model defined in huaweicloud sdk + :param points: + :type points: list[str] """ - super(CreateEdgeDDoSDomainsResponse, self).__init__() + + + self._points = None self.discriminator = None + self.points = points + + @property + def points(self): + """Gets the points of this DeleteDcPointsReqDTO. + + :return: The points of this DeleteDcPointsReqDTO. + :rtype: list[str] + """ + return self._points + + @points.setter + def points(self, points): + """Sets the points of this DeleteDcPointsReqDTO. + + :param points: The points of this DeleteDcPointsReqDTO. + :type points: list[str] + """ + self._points = points + def to_dict(self): """Returns the model properties as a dict""" result = {} @@ -75,7 +100,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, CreateEdgeDDoSDomainsResponse): + if not isinstance(other, DeleteDcPointsReqDTO): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/apply_waf_policy_request.py b/huaweicloud-sdk-iotedge/huaweicloudsdkiotedge/v2/model/delete_dc_points_request.py similarity index 52% rename from huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/apply_waf_policy_request.py rename to huaweicloud-sdk-iotedge/huaweicloudsdkiotedge/v2/model/delete_dc_points_request.py index b59172a8e3..084237c901 100644 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/apply_waf_policy_request.py +++ b/huaweicloud-sdk-iotedge/huaweicloudsdkiotedge/v2/model/delete_dc_points_request.py @@ -5,7 +5,7 @@ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class ApplyWafPolicyRequest: +class DeleteDcPointsRequest: """ Attributes: @@ -17,73 +17,101 @@ class ApplyWafPolicyRequest: sensitive_list = [] openapi_types = { - 'policy_id': 'str', - 'body': 'ApplyWafPolicyRequestBody' + 'edge_node_id': 'str', + 'ds_id': 'str', + 'body': 'DeleteDcPointsReqDTO' } attribute_map = { - 'policy_id': 'policy_id', + 'edge_node_id': 'edge_node_id', + 'ds_id': 'ds_id', 'body': 'body' } - def __init__(self, policy_id=None, body=None): - """ApplyWafPolicyRequest + def __init__(self, edge_node_id=None, ds_id=None, body=None): + """DeleteDcPointsRequest The model defined in huaweicloud sdk - :param policy_id: 防护策略id,t通过查询策略列表(ListPolicy)获取 - :type policy_id: str - :param body: Body of the ApplyWafPolicyRequest - :type body: :class:`huaweicloudsdkedgesec.v1.ApplyWafPolicyRequestBody` + :param edge_node_id: 边缘节点ID + :type edge_node_id: str + :param ds_id: 采集数据源id,创建数据源配置时设置,节点下唯一。 + :type ds_id: str + :param body: Body of the DeleteDcPointsRequest + :type body: :class:`huaweicloudsdkiotedge.v2.DeleteDcPointsReqDTO` """ - self._policy_id = None + self._edge_node_id = None + self._ds_id = None self._body = None self.discriminator = None - self.policy_id = policy_id + self.edge_node_id = edge_node_id + self.ds_id = ds_id if body is not None: self.body = body @property - def policy_id(self): - """Gets the policy_id of this ApplyWafPolicyRequest. + def edge_node_id(self): + """Gets the edge_node_id of this DeleteDcPointsRequest. - 防护策略id,t通过查询策略列表(ListPolicy)获取 + 边缘节点ID - :return: The policy_id of this ApplyWafPolicyRequest. + :return: The edge_node_id of this DeleteDcPointsRequest. :rtype: str """ - return self._policy_id + return self._edge_node_id - @policy_id.setter - def policy_id(self, policy_id): - """Sets the policy_id of this ApplyWafPolicyRequest. + @edge_node_id.setter + def edge_node_id(self, edge_node_id): + """Sets the edge_node_id of this DeleteDcPointsRequest. - 防护策略id,t通过查询策略列表(ListPolicy)获取 + 边缘节点ID - :param policy_id: The policy_id of this ApplyWafPolicyRequest. - :type policy_id: str + :param edge_node_id: The edge_node_id of this DeleteDcPointsRequest. + :type edge_node_id: str """ - self._policy_id = policy_id + self._edge_node_id = edge_node_id + + @property + def ds_id(self): + """Gets the ds_id of this DeleteDcPointsRequest. + + 采集数据源id,创建数据源配置时设置,节点下唯一。 + + :return: The ds_id of this DeleteDcPointsRequest. + :rtype: str + """ + return self._ds_id + + @ds_id.setter + def ds_id(self, ds_id): + """Sets the ds_id of this DeleteDcPointsRequest. + + 采集数据源id,创建数据源配置时设置,节点下唯一。 + + :param ds_id: The ds_id of this DeleteDcPointsRequest. + :type ds_id: str + """ + self._ds_id = ds_id @property def body(self): - """Gets the body of this ApplyWafPolicyRequest. + """Gets the body of this DeleteDcPointsRequest. - :return: The body of this ApplyWafPolicyRequest. - :rtype: :class:`huaweicloudsdkedgesec.v1.ApplyWafPolicyRequestBody` + :return: The body of this DeleteDcPointsRequest. + :rtype: :class:`huaweicloudsdkiotedge.v2.DeleteDcPointsReqDTO` """ return self._body @body.setter def body(self, body): - """Sets the body of this ApplyWafPolicyRequest. + """Sets the body of this DeleteDcPointsRequest. - :param body: The body of this ApplyWafPolicyRequest. - :type body: :class:`huaweicloudsdkedgesec.v1.ApplyWafPolicyRequestBody` + :param body: The body of this DeleteDcPointsRequest. + :type body: :class:`huaweicloudsdkiotedge.v2.DeleteDcPointsReqDTO` """ self._body = body @@ -129,7 +157,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, ApplyWafPolicyRequest): + if not isinstance(other, DeleteDcPointsRequest): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/list_certificates_response.py b/huaweicloud-sdk-iotedge/huaweicloudsdkiotedge/v2/model/delete_dc_points_response.py similarity index 55% rename from huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/list_certificates_response.py rename to huaweicloud-sdk-iotedge/huaweicloudsdkiotedge/v2/model/delete_dc_points_response.py index c348f73533..e02970f281 100644 --- a/huaweicloud-sdk-edgesec/huaweicloudsdkedgesec/v1/model/list_certificates_response.py +++ b/huaweicloud-sdk-iotedge/huaweicloudsdkiotedge/v2/model/delete_dc_points_response.py @@ -6,7 +6,7 @@ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class ListCertificatesResponse(SdkResponse): +class DeleteDcPointsResponse(SdkResponse): """ Attributes: @@ -18,80 +18,76 @@ class ListCertificatesResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'items': 'list[CertificateBody]', - 'total': 'int' + 'success': 'list[str]', + 'failure': 'list[DeleteDcPointsFailedDetail]' } attribute_map = { - 'items': 'items', - 'total': 'total' + 'success': 'success', + 'failure': 'failure' } - def __init__(self, items=None, total=None): - """ListCertificatesResponse + def __init__(self, success=None, failure=None): + """DeleteDcPointsResponse The model defined in huaweicloud sdk - :param items: 证书列表 - :type items: list[:class:`huaweicloudsdkedgesec.v1.CertificateBody`] - :param total: 证书总数 - :type total: int + :param success: + :type success: list[str] + :param failure: 删除失败的点位和详情 + :type failure: list[:class:`huaweicloudsdkiotedge.v2.DeleteDcPointsFailedDetail`] """ - super(ListCertificatesResponse, self).__init__() + super(DeleteDcPointsResponse, self).__init__() - self._items = None - self._total = None + self._success = None + self._failure = None self.discriminator = None - if items is not None: - self.items = items - if total is not None: - self.total = total + if success is not None: + self.success = success + if failure is not None: + self.failure = failure @property - def items(self): - """Gets the items of this ListCertificatesResponse. + def success(self): + """Gets the success of this DeleteDcPointsResponse. - 证书列表 - - :return: The items of this ListCertificatesResponse. - :rtype: list[:class:`huaweicloudsdkedgesec.v1.CertificateBody`] + :return: The success of this DeleteDcPointsResponse. + :rtype: list[str] """ - return self._items - - @items.setter - def items(self, items): - """Sets the items of this ListCertificatesResponse. + return self._success - 证书列表 + @success.setter + def success(self, success): + """Sets the success of this DeleteDcPointsResponse. - :param items: The items of this ListCertificatesResponse. - :type items: list[:class:`huaweicloudsdkedgesec.v1.CertificateBody`] + :param success: The success of this DeleteDcPointsResponse. + :type success: list[str] """ - self._items = items + self._success = success @property - def total(self): - """Gets the total of this ListCertificatesResponse. + def failure(self): + """Gets the failure of this DeleteDcPointsResponse. - 证书总数 + 删除失败的点位和详情 - :return: The total of this ListCertificatesResponse. - :rtype: int + :return: The failure of this DeleteDcPointsResponse. + :rtype: list[:class:`huaweicloudsdkiotedge.v2.DeleteDcPointsFailedDetail`] """ - return self._total + return self._failure - @total.setter - def total(self, total): - """Sets the total of this ListCertificatesResponse. + @failure.setter + def failure(self, failure): + """Sets the failure of this DeleteDcPointsResponse. - 证书总数 + 删除失败的点位和详情 - :param total: The total of this ListCertificatesResponse. - :type total: int + :param failure: The failure of this DeleteDcPointsResponse. + :type failure: list[:class:`huaweicloudsdkiotedge.v2.DeleteDcPointsFailedDetail`] """ - self._total = total + self._failure = failure def to_dict(self): """Returns the model properties as a dict""" @@ -135,7 +131,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, ListCertificatesResponse): + if not isinstance(other, DeleteDcPointsResponse): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-iotedge/requirements.txt b/huaweicloud-sdk-iotedge/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-iotedge/requirements.txt +++ b/huaweicloud-sdk-iotedge/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-iotedge/setup.py b/huaweicloud-sdk-iotedge/setup.py index 6864b0817c..a3d8f55619 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ivs/requirements.txt b/huaweicloud-sdk-ivs/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-ivs/requirements.txt +++ b/huaweicloud-sdk-ivs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-ivs/setup.py b/huaweicloud-sdk-ivs/setup.py index 35a337e583..62889fc577 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-kafka/requirements.txt b/huaweicloud-sdk-kafka/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-kafka/requirements.txt +++ b/huaweicloud-sdk-kafka/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-kafka/setup.py b/huaweicloud-sdk-kafka/setup.py index 8544680e40..3dea9fbf83 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-kms/requirements.txt b/huaweicloud-sdk-kms/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-kms/requirements.txt +++ b/huaweicloud-sdk-kms/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-kms/setup.py b/huaweicloud-sdk-kms/setup.py index 085425da63..575320920e 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-koomessage/requirements.txt b/huaweicloud-sdk-koomessage/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-koomessage/requirements.txt +++ b/huaweicloud-sdk-koomessage/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-koomessage/setup.py b/huaweicloud-sdk-koomessage/setup.py index 920afb8376..a2ce56a586 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-kps/requirements.txt b/huaweicloud-sdk-kps/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-kps/requirements.txt +++ b/huaweicloud-sdk-kps/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-kps/setup.py b/huaweicloud-sdk-kps/setup.py index 71f382cd13..e43ad7913a 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-lakeformation/requirements.txt b/huaweicloud-sdk-lakeformation/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-lakeformation/requirements.txt +++ b/huaweicloud-sdk-lakeformation/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-lakeformation/setup.py b/huaweicloud-sdk-lakeformation/setup.py index 12d957bbd9..4b0c58f9bb 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-live/requirements.txt b/huaweicloud-sdk-live/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-live/requirements.txt +++ b/huaweicloud-sdk-live/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-live/setup.py b/huaweicloud-sdk-live/setup.py index 3388adfb0b..28b1ac50c6 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-lts/requirements.txt b/huaweicloud-sdk-lts/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-lts/requirements.txt +++ b/huaweicloud-sdk-lts/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-lts/setup.py b/huaweicloud-sdk-lts/setup.py index c9ef99a26a..65e4bd26a6 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-mapds/requirements.txt b/huaweicloud-sdk-mapds/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-mapds/requirements.txt +++ b/huaweicloud-sdk-mapds/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-mapds/setup.py b/huaweicloud-sdk-mapds/setup.py index a0369a4644..b86005600e 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-mas/requirements.txt b/huaweicloud-sdk-mas/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-mas/requirements.txt +++ b/huaweicloud-sdk-mas/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-mas/setup.py b/huaweicloud-sdk-mas/setup.py index 20f88ca03a..7ce1e5a631 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-meeting/huaweicloudsdkmeeting/v1/__init__.py b/huaweicloud-sdk-meeting/huaweicloudsdkmeeting/v1/__init__.py index 9a91c626f7..de5cf2a11e 100644 --- a/huaweicloud-sdk-meeting/huaweicloudsdkmeeting/v1/__init__.py +++ b/huaweicloud-sdk-meeting/huaweicloudsdkmeeting/v1/__init__.py @@ -270,6 +270,7 @@ from huaweicloudsdkmeeting.v1.model.real_time_participant import RealTimeParticipant from huaweicloudsdkmeeting.v1.model.record_download_info_bo import RecordDownloadInfoBO from huaweicloudsdkmeeting.v1.model.record_download_url_do import RecordDownloadUrlDO +from huaweicloudsdkmeeting.v1.model.record_info_req import RecordInfoReq from huaweicloudsdkmeeting.v1.model.record_request import RecordRequest from huaweicloudsdkmeeting.v1.model.record_response import RecordResponse from huaweicloudsdkmeeting.v1.model.record_result_do import RecordResultDO @@ -396,6 +397,8 @@ from huaweicloudsdkmeeting.v1.model.search_users_response import SearchUsersResponse from huaweicloudsdkmeeting.v1.model.search_vision_active_code_request import SearchVisionActiveCodeRequest from huaweicloudsdkmeeting.v1.model.search_vision_active_code_response import SearchVisionActiveCodeResponse +from huaweicloudsdkmeeting.v1.model.segment_do import SegmentDO +from huaweicloudsdkmeeting.v1.model.segment_file_do import SegmentFileDO from huaweicloudsdkmeeting.v1.model.send_slide_verify_code_request import SendSlideVerifyCodeRequest from huaweicloudsdkmeeting.v1.model.send_slide_verify_code_response import SendSlideVerifyCodeResponse from huaweicloudsdkmeeting.v1.model.send_veri_code_for_change_pwd_request import SendVeriCodeForChangePwdRequest @@ -479,6 +482,8 @@ from huaweicloudsdkmeeting.v1.model.show_qos_threshold_response import ShowQosThresholdResponse from huaweicloudsdkmeeting.v1.model.show_real_time_info_of_meeting_request import ShowRealTimeInfoOfMeetingRequest from huaweicloudsdkmeeting.v1.model.show_real_time_info_of_meeting_response import ShowRealTimeInfoOfMeetingResponse +from huaweicloudsdkmeeting.v1.model.show_record_info_request import ShowRecordInfoRequest +from huaweicloudsdkmeeting.v1.model.show_record_info_response import ShowRecordInfoResponse from huaweicloudsdkmeeting.v1.model.show_recording_detail_request import ShowRecordingDetailRequest from huaweicloudsdkmeeting.v1.model.show_recording_detail_response import ShowRecordingDetailResponse from huaweicloudsdkmeeting.v1.model.show_recording_file_download_urls_request import ShowRecordingFileDownloadUrlsRequest diff --git a/huaweicloud-sdk-meeting/huaweicloudsdkmeeting/v1/meeting_async_client.py b/huaweicloud-sdk-meeting/huaweicloudsdkmeeting/v1/meeting_async_client.py index 88d1a57a99..cb82d9d497 100644 --- a/huaweicloud-sdk-meeting/huaweicloudsdkmeeting/v1/meeting_async_client.py +++ b/huaweicloud-sdk-meeting/huaweicloudsdkmeeting/v1/meeting_async_client.py @@ -2552,6 +2552,75 @@ def _create_anonymous_auth_random_http_info(self, request): return http_info + def create_auth_random_async(self, request): + """获取会议鉴权随机数 + + 根据会议ID + 密码鉴权返回鉴权随机数,如果是小程序调用时,需要企业支持小程序功能 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for CreateAuthRandom + :type request: :class:`huaweicloudsdkmeeting.v1.CreateAuthRandomRequest` + :rtype: :class:`huaweicloudsdkmeeting.v1.CreateAuthRandomResponse` + """ + http_info = self._create_auth_random_http_info(request) + return self._call_api(**http_info) + + def create_auth_random_async_invoker(self, request): + http_info = self._create_auth_random_http_info(request) + return AsyncInvoker(self, http_info) + + def _create_auth_random_http_info(self, request): + http_info = { + "method": "GET", + "resource_path": "/v2/mms/ncms/conferences/auth/random", + "request_type": request.__class__.__name__, + "response_type": "CreateAuthRandomResponse" + } + + 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 'conf_id' in local_var_params: + query_params.append(('conf_id', local_var_params['conf_id'])) + if 'guest_waiting' in local_var_params: + query_params.append(('guest_waiting', local_var_params['guest_waiting'])) + + header_params = {} + if 'x_password' in local_var_params: + header_params['X-Password'] = local_var_params['x_password'] + + 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 create_conf_token_async(self, request): """获取会控Token @@ -10227,6 +10296,71 @@ def _show_real_time_info_of_meeting_http_info(self, request): return http_info + def show_record_info_async(self, request): + """查询单会议录制文件信息 + + 查询单会议录制文件信息 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for ShowRecordInfo + :type request: :class:`huaweicloudsdkmeeting.v1.ShowRecordInfoRequest` + :rtype: :class:`huaweicloudsdkmeeting.v1.ShowRecordInfoResponse` + """ + http_info = self._show_record_info_http_info(request) + return self._call_api(**http_info) + + def show_record_info_async_invoker(self, request): + http_info = self._show_record_info_http_info(request) + return AsyncInvoker(self, http_info) + + def _show_record_info_http_info(self, request): + http_info = { + "method": "POST", + "resource_path": "/v1/mmc/rlm/record/info", + "request_type": request.__class__.__name__, + "response_type": "ShowRecordInfoResponse" + } + + 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 show_recording_detail_async(self, request): """查询录制详情 @@ -13476,75 +13610,6 @@ def _search_statistic_user_info_http_info(self, request): return http_info - def create_auth_random_async(self, request): - """获取会议鉴权随机数 - - 根据会议ID + 密码鉴权返回鉴权随机数,如果是小程序调用时,需要企业支持小程序功能 - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for CreateAuthRandom - :type request: :class:`huaweicloudsdkmeeting.v1.CreateAuthRandomRequest` - :rtype: :class:`huaweicloudsdkmeeting.v1.CreateAuthRandomResponse` - """ - http_info = self._create_auth_random_http_info(request) - return self._call_api(**http_info) - - def create_auth_random_async_invoker(self, request): - http_info = self._create_auth_random_http_info(request) - return AsyncInvoker(self, http_info) - - def _create_auth_random_http_info(self, request): - http_info = { - "method": "GET", - "resource_path": "/v2/mms/ncms/conferences/auth/random", - "request_type": request.__class__.__name__, - "response_type": "CreateAuthRandomResponse" - } - - 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 'conf_id' in local_var_params: - query_params.append(('conf_id', local_var_params['conf_id'])) - if 'guest_waiting' in local_var_params: - query_params.append(('guest_waiting', local_var_params['guest_waiting'])) - - header_params = {} - if 'x_password' in local_var_params: - header_params['X-Password'] = local_var_params['x_password'] - - 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 _call_api(self, **kwargs): try: kwargs["async_request"] = True diff --git a/huaweicloud-sdk-meeting/huaweicloudsdkmeeting/v1/meeting_client.py b/huaweicloud-sdk-meeting/huaweicloudsdkmeeting/v1/meeting_client.py index a4e7b8c66b..759a707766 100644 --- a/huaweicloud-sdk-meeting/huaweicloudsdkmeeting/v1/meeting_client.py +++ b/huaweicloud-sdk-meeting/huaweicloudsdkmeeting/v1/meeting_client.py @@ -2552,6 +2552,75 @@ def _create_anonymous_auth_random_http_info(cls, request): return http_info + def create_auth_random(self, request): + """获取会议鉴权随机数 + + 根据会议ID + 密码鉴权返回鉴权随机数,如果是小程序调用时,需要企业支持小程序功能 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for CreateAuthRandom + :type request: :class:`huaweicloudsdkmeeting.v1.CreateAuthRandomRequest` + :rtype: :class:`huaweicloudsdkmeeting.v1.CreateAuthRandomResponse` + """ + http_info = self._create_auth_random_http_info(request) + return self._call_api(**http_info) + + def create_auth_random_invoker(self, request): + http_info = self._create_auth_random_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _create_auth_random_http_info(cls, request): + http_info = { + "method": "GET", + "resource_path": "/v2/mms/ncms/conferences/auth/random", + "request_type": request.__class__.__name__, + "response_type": "CreateAuthRandomResponse" + } + + 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 'conf_id' in local_var_params: + query_params.append(('conf_id', local_var_params['conf_id'])) + if 'guest_waiting' in local_var_params: + query_params.append(('guest_waiting', local_var_params['guest_waiting'])) + + header_params = {} + if 'x_password' in local_var_params: + header_params['X-Password'] = local_var_params['x_password'] + + 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 create_conf_token(self, request): """获取会控Token @@ -10227,6 +10296,71 @@ def _show_real_time_info_of_meeting_http_info(cls, request): return http_info + def show_record_info(self, request): + """查询单会议录制文件信息 + + 查询单会议录制文件信息 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for ShowRecordInfo + :type request: :class:`huaweicloudsdkmeeting.v1.ShowRecordInfoRequest` + :rtype: :class:`huaweicloudsdkmeeting.v1.ShowRecordInfoResponse` + """ + http_info = self._show_record_info_http_info(request) + return self._call_api(**http_info) + + def show_record_info_invoker(self, request): + http_info = self._show_record_info_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _show_record_info_http_info(cls, request): + http_info = { + "method": "POST", + "resource_path": "/v1/mmc/rlm/record/info", + "request_type": request.__class__.__name__, + "response_type": "ShowRecordInfoResponse" + } + + 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 show_recording_detail(self, request): """查询录制详情 @@ -13476,75 +13610,6 @@ def _search_statistic_user_info_http_info(cls, request): return http_info - def create_auth_random(self, request): - """获取会议鉴权随机数 - - 根据会议ID + 密码鉴权返回鉴权随机数,如果是小程序调用时,需要企业支持小程序功能 - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for CreateAuthRandom - :type request: :class:`huaweicloudsdkmeeting.v1.CreateAuthRandomRequest` - :rtype: :class:`huaweicloudsdkmeeting.v1.CreateAuthRandomResponse` - """ - http_info = self._create_auth_random_http_info(request) - return self._call_api(**http_info) - - def create_auth_random_invoker(self, request): - http_info = self._create_auth_random_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _create_auth_random_http_info(cls, request): - http_info = { - "method": "GET", - "resource_path": "/v2/mms/ncms/conferences/auth/random", - "request_type": request.__class__.__name__, - "response_type": "CreateAuthRandomResponse" - } - - 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 'conf_id' in local_var_params: - query_params.append(('conf_id', local_var_params['conf_id'])) - if 'guest_waiting' in local_var_params: - query_params.append(('guest_waiting', local_var_params['guest_waiting'])) - - header_params = {} - if 'x_password' in local_var_params: - header_params['X-Password'] = local_var_params['x_password'] - - 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 _call_api(self, **kwargs): try: return self.do_http_request(**kwargs) diff --git a/huaweicloud-sdk-meeting/huaweicloudsdkmeeting/v1/model/__init__.py b/huaweicloud-sdk-meeting/huaweicloudsdkmeeting/v1/model/__init__.py index 89b4f74d61..64ed6a9030 100644 --- a/huaweicloud-sdk-meeting/huaweicloudsdkmeeting/v1/model/__init__.py +++ b/huaweicloud-sdk-meeting/huaweicloudsdkmeeting/v1/model/__init__.py @@ -268,6 +268,7 @@ from huaweicloudsdkmeeting.v1.model.real_time_participant import RealTimeParticipant from huaweicloudsdkmeeting.v1.model.record_download_info_bo import RecordDownloadInfoBO from huaweicloudsdkmeeting.v1.model.record_download_url_do import RecordDownloadUrlDO +from huaweicloudsdkmeeting.v1.model.record_info_req import RecordInfoReq from huaweicloudsdkmeeting.v1.model.record_request import RecordRequest from huaweicloudsdkmeeting.v1.model.record_response import RecordResponse from huaweicloudsdkmeeting.v1.model.record_result_do import RecordResultDO @@ -394,6 +395,8 @@ from huaweicloudsdkmeeting.v1.model.search_users_response import SearchUsersResponse from huaweicloudsdkmeeting.v1.model.search_vision_active_code_request import SearchVisionActiveCodeRequest from huaweicloudsdkmeeting.v1.model.search_vision_active_code_response import SearchVisionActiveCodeResponse +from huaweicloudsdkmeeting.v1.model.segment_do import SegmentDO +from huaweicloudsdkmeeting.v1.model.segment_file_do import SegmentFileDO from huaweicloudsdkmeeting.v1.model.send_slide_verify_code_request import SendSlideVerifyCodeRequest from huaweicloudsdkmeeting.v1.model.send_slide_verify_code_response import SendSlideVerifyCodeResponse from huaweicloudsdkmeeting.v1.model.send_veri_code_for_change_pwd_request import SendVeriCodeForChangePwdRequest @@ -477,6 +480,8 @@ from huaweicloudsdkmeeting.v1.model.show_qos_threshold_response import ShowQosThresholdResponse from huaweicloudsdkmeeting.v1.model.show_real_time_info_of_meeting_request import ShowRealTimeInfoOfMeetingRequest from huaweicloudsdkmeeting.v1.model.show_real_time_info_of_meeting_response import ShowRealTimeInfoOfMeetingResponse +from huaweicloudsdkmeeting.v1.model.show_record_info_request import ShowRecordInfoRequest +from huaweicloudsdkmeeting.v1.model.show_record_info_response import ShowRecordInfoResponse from huaweicloudsdkmeeting.v1.model.show_recording_detail_request import ShowRecordingDetailRequest from huaweicloudsdkmeeting.v1.model.show_recording_detail_response import ShowRecordingDetailResponse from huaweicloudsdkmeeting.v1.model.show_recording_file_download_urls_request import ShowRecordingFileDownloadUrlsRequest diff --git a/huaweicloud-sdk-meeting/huaweicloudsdkmeeting/v1/model/record_info_req.py b/huaweicloud-sdk-meeting/huaweicloudsdkmeeting/v1/model/record_info_req.py new file mode 100644 index 0000000000..b31c8afb6a --- /dev/null +++ b/huaweicloud-sdk-meeting/huaweicloudsdkmeeting/v1/model/record_info_req.py @@ -0,0 +1,173 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class RecordInfoReq: + + """ + 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 = { + 'conf_uuid': 'str', + 'segment_offset': 'int', + 'segment_limit': 'int' + } + + attribute_map = { + 'conf_uuid': 'confUUID', + 'segment_offset': 'segmentOffset', + 'segment_limit': 'segmentLimit' + } + + def __init__(self, conf_uuid=None, segment_offset=None, segment_limit=None): + """RecordInfoReq + + The model defined in huaweicloud sdk + + :param conf_uuid: 会议uuid + :type conf_uuid: str + :param segment_offset: 录制段落查询偏移量 + :type segment_offset: int + :param segment_limit: 录制段落查询数量 + :type segment_limit: int + """ + + + + self._conf_uuid = None + self._segment_offset = None + self._segment_limit = None + self.discriminator = None + + if conf_uuid is not None: + self.conf_uuid = conf_uuid + if segment_offset is not None: + self.segment_offset = segment_offset + if segment_limit is not None: + self.segment_limit = segment_limit + + @property + def conf_uuid(self): + """Gets the conf_uuid of this RecordInfoReq. + + 会议uuid + + :return: The conf_uuid of this RecordInfoReq. + :rtype: str + """ + return self._conf_uuid + + @conf_uuid.setter + def conf_uuid(self, conf_uuid): + """Sets the conf_uuid of this RecordInfoReq. + + 会议uuid + + :param conf_uuid: The conf_uuid of this RecordInfoReq. + :type conf_uuid: str + """ + self._conf_uuid = conf_uuid + + @property + def segment_offset(self): + """Gets the segment_offset of this RecordInfoReq. + + 录制段落查询偏移量 + + :return: The segment_offset of this RecordInfoReq. + :rtype: int + """ + return self._segment_offset + + @segment_offset.setter + def segment_offset(self, segment_offset): + """Sets the segment_offset of this RecordInfoReq. + + 录制段落查询偏移量 + + :param segment_offset: The segment_offset of this RecordInfoReq. + :type segment_offset: int + """ + self._segment_offset = segment_offset + + @property + def segment_limit(self): + """Gets the segment_limit of this RecordInfoReq. + + 录制段落查询数量 + + :return: The segment_limit of this RecordInfoReq. + :rtype: int + """ + return self._segment_limit + + @segment_limit.setter + def segment_limit(self, segment_limit): + """Sets the segment_limit of this RecordInfoReq. + + 录制段落查询数量 + + :param segment_limit: The segment_limit of this RecordInfoReq. + :type segment_limit: int + """ + self._segment_limit = segment_limit + + 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, RecordInfoReq): + 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-meeting/huaweicloudsdkmeeting/v1/model/segment_do.py b/huaweicloud-sdk-meeting/huaweicloudsdkmeeting/v1/model/segment_do.py new file mode 100644 index 0000000000..a01c13597e --- /dev/null +++ b/huaweicloud-sdk-meeting/huaweicloudsdkmeeting/v1/model/segment_do.py @@ -0,0 +1,202 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class SegmentDO: + + """ + 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 = { + 'manual_order': 'int', + 'segment_order': 'int', + 'segment_size': 'str', + 'file_list': 'list[SegmentFileDO]' + } + + attribute_map = { + 'manual_order': 'manualOrder', + 'segment_order': 'segmentOrder', + 'segment_size': 'segmentSize', + 'file_list': 'fileList' + } + + def __init__(self, manual_order=None, segment_order=None, segment_size=None, file_list=None): + """SegmentDO + + The model defined in huaweicloud sdk + + :param manual_order: 录制人工分段序号,每次启动录制,生成一个分段 + :type manual_order: int + :param segment_order: 录制片段内的文件自动切片序号(每次启动录制后,每三小时一个分片文件,多次人工启动重新从1开始) + :type segment_order: int + :param segment_size: 录制分段总文件大小(字节) + :type segment_size: str + :param file_list: 录制文件自动切片列表,每3小时文件切片一次 + :type file_list: list[:class:`huaweicloudsdkmeeting.v1.SegmentFileDO`] + """ + + + + self._manual_order = None + self._segment_order = None + self._segment_size = None + self._file_list = None + self.discriminator = None + + if manual_order is not None: + self.manual_order = manual_order + if segment_order is not None: + self.segment_order = segment_order + if segment_size is not None: + self.segment_size = segment_size + if file_list is not None: + self.file_list = file_list + + @property + def manual_order(self): + """Gets the manual_order of this SegmentDO. + + 录制人工分段序号,每次启动录制,生成一个分段 + + :return: The manual_order of this SegmentDO. + :rtype: int + """ + return self._manual_order + + @manual_order.setter + def manual_order(self, manual_order): + """Sets the manual_order of this SegmentDO. + + 录制人工分段序号,每次启动录制,生成一个分段 + + :param manual_order: The manual_order of this SegmentDO. + :type manual_order: int + """ + self._manual_order = manual_order + + @property + def segment_order(self): + """Gets the segment_order of this SegmentDO. + + 录制片段内的文件自动切片序号(每次启动录制后,每三小时一个分片文件,多次人工启动重新从1开始) + + :return: The segment_order of this SegmentDO. + :rtype: int + """ + return self._segment_order + + @segment_order.setter + def segment_order(self, segment_order): + """Sets the segment_order of this SegmentDO. + + 录制片段内的文件自动切片序号(每次启动录制后,每三小时一个分片文件,多次人工启动重新从1开始) + + :param segment_order: The segment_order of this SegmentDO. + :type segment_order: int + """ + self._segment_order = segment_order + + @property + def segment_size(self): + """Gets the segment_size of this SegmentDO. + + 录制分段总文件大小(字节) + + :return: The segment_size of this SegmentDO. + :rtype: str + """ + return self._segment_size + + @segment_size.setter + def segment_size(self, segment_size): + """Sets the segment_size of this SegmentDO. + + 录制分段总文件大小(字节) + + :param segment_size: The segment_size of this SegmentDO. + :type segment_size: str + """ + self._segment_size = segment_size + + @property + def file_list(self): + """Gets the file_list of this SegmentDO. + + 录制文件自动切片列表,每3小时文件切片一次 + + :return: The file_list of this SegmentDO. + :rtype: list[:class:`huaweicloudsdkmeeting.v1.SegmentFileDO`] + """ + return self._file_list + + @file_list.setter + def file_list(self, file_list): + """Sets the file_list of this SegmentDO. + + 录制文件自动切片列表,每3小时文件切片一次 + + :param file_list: The file_list of this SegmentDO. + :type file_list: list[:class:`huaweicloudsdkmeeting.v1.SegmentFileDO`] + """ + self._file_list = file_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, SegmentDO): + 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-meeting/huaweicloudsdkmeeting/v1/model/segment_file_do.py b/huaweicloud-sdk-meeting/huaweicloudsdkmeeting/v1/model/segment_file_do.py new file mode 100644 index 0000000000..61c971ceab --- /dev/null +++ b/huaweicloud-sdk-meeting/huaweicloudsdkmeeting/v1/model/segment_file_do.py @@ -0,0 +1,318 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class SegmentFileDO: + + """ + 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 = { + 'record_type': 'str', + 'begin_time': 'int', + 'end_time': 'int', + 'duration': 'int', + 'file_size': 'int', + 'sha256': 'str', + 'play_url': 'str', + 'download_url': 'str' + } + + attribute_map = { + 'record_type': 'recordType', + 'begin_time': 'beginTime', + 'end_time': 'endTime', + 'duration': 'duration', + 'file_size': 'fileSize', + 'sha256': 'sha256', + 'play_url': 'playUrl', + 'download_url': 'downloadUrl' + } + + def __init__(self, record_type=None, begin_time=None, end_time=None, duration=None, file_size=None, sha256=None, play_url=None, download_url=None): + """SegmentFileDO + + The model defined in huaweicloud sdk + + :param record_type: 会议录制类型,取值范围见数据结构RecordType:AUDIO 纯音频录制,SPEAKER_VIDEO 演讲者视图,SHARE_VIDEO共享屏幕,SPEAKER_SHARE_VIDEO 含演讲者视图的共享屏幕 + :type record_type: str + :param begin_time: 录制文件开始时间 + :type begin_time: int + :param end_time: 录制文件结束时间 + :type end_time: int + :param duration: 录制文件时长(秒) + :type duration: int + :param file_size: 文件大小(字节数) + :type file_size: int + :param sha256: 文件hash校验码(SHA256),64个字符 + :type sha256: str + :param play_url: 录制文件播放地址,有效期1小时 + :type play_url: str + :param download_url: 录制文件下载地址,有效期1小时 + :type download_url: str + """ + + + + self._record_type = None + self._begin_time = None + self._end_time = None + self._duration = None + self._file_size = None + self._sha256 = None + self._play_url = None + self._download_url = None + self.discriminator = None + + if record_type is not None: + self.record_type = record_type + if begin_time is not None: + self.begin_time = begin_time + if end_time is not None: + self.end_time = end_time + if duration is not None: + self.duration = duration + if file_size is not None: + self.file_size = file_size + if sha256 is not None: + self.sha256 = sha256 + if play_url is not None: + self.play_url = play_url + if download_url is not None: + self.download_url = download_url + + @property + def record_type(self): + """Gets the record_type of this SegmentFileDO. + + 会议录制类型,取值范围见数据结构RecordType:AUDIO 纯音频录制,SPEAKER_VIDEO 演讲者视图,SHARE_VIDEO共享屏幕,SPEAKER_SHARE_VIDEO 含演讲者视图的共享屏幕 + + :return: The record_type of this SegmentFileDO. + :rtype: str + """ + return self._record_type + + @record_type.setter + def record_type(self, record_type): + """Sets the record_type of this SegmentFileDO. + + 会议录制类型,取值范围见数据结构RecordType:AUDIO 纯音频录制,SPEAKER_VIDEO 演讲者视图,SHARE_VIDEO共享屏幕,SPEAKER_SHARE_VIDEO 含演讲者视图的共享屏幕 + + :param record_type: The record_type of this SegmentFileDO. + :type record_type: str + """ + self._record_type = record_type + + @property + def begin_time(self): + """Gets the begin_time of this SegmentFileDO. + + 录制文件开始时间 + + :return: The begin_time of this SegmentFileDO. + :rtype: int + """ + return self._begin_time + + @begin_time.setter + def begin_time(self, begin_time): + """Sets the begin_time of this SegmentFileDO. + + 录制文件开始时间 + + :param begin_time: The begin_time of this SegmentFileDO. + :type begin_time: int + """ + self._begin_time = begin_time + + @property + def end_time(self): + """Gets the end_time of this SegmentFileDO. + + 录制文件结束时间 + + :return: The end_time of this SegmentFileDO. + :rtype: int + """ + return self._end_time + + @end_time.setter + def end_time(self, end_time): + """Sets the end_time of this SegmentFileDO. + + 录制文件结束时间 + + :param end_time: The end_time of this SegmentFileDO. + :type end_time: int + """ + self._end_time = end_time + + @property + def duration(self): + """Gets the duration of this SegmentFileDO. + + 录制文件时长(秒) + + :return: The duration of this SegmentFileDO. + :rtype: int + """ + return self._duration + + @duration.setter + def duration(self, duration): + """Sets the duration of this SegmentFileDO. + + 录制文件时长(秒) + + :param duration: The duration of this SegmentFileDO. + :type duration: int + """ + self._duration = duration + + @property + def file_size(self): + """Gets the file_size of this SegmentFileDO. + + 文件大小(字节数) + + :return: The file_size of this SegmentFileDO. + :rtype: int + """ + return self._file_size + + @file_size.setter + def file_size(self, file_size): + """Sets the file_size of this SegmentFileDO. + + 文件大小(字节数) + + :param file_size: The file_size of this SegmentFileDO. + :type file_size: int + """ + self._file_size = file_size + + @property + def sha256(self): + """Gets the sha256 of this SegmentFileDO. + + 文件hash校验码(SHA256),64个字符 + + :return: The sha256 of this SegmentFileDO. + :rtype: str + """ + return self._sha256 + + @sha256.setter + def sha256(self, sha256): + """Sets the sha256 of this SegmentFileDO. + + 文件hash校验码(SHA256),64个字符 + + :param sha256: The sha256 of this SegmentFileDO. + :type sha256: str + """ + self._sha256 = sha256 + + @property + def play_url(self): + """Gets the play_url of this SegmentFileDO. + + 录制文件播放地址,有效期1小时 + + :return: The play_url of this SegmentFileDO. + :rtype: str + """ + return self._play_url + + @play_url.setter + def play_url(self, play_url): + """Sets the play_url of this SegmentFileDO. + + 录制文件播放地址,有效期1小时 + + :param play_url: The play_url of this SegmentFileDO. + :type play_url: str + """ + self._play_url = play_url + + @property + def download_url(self): + """Gets the download_url of this SegmentFileDO. + + 录制文件下载地址,有效期1小时 + + :return: The download_url of this SegmentFileDO. + :rtype: str + """ + return self._download_url + + @download_url.setter + def download_url(self, download_url): + """Sets the download_url of this SegmentFileDO. + + 录制文件下载地址,有效期1小时 + + :param download_url: The download_url of this SegmentFileDO. + :type download_url: str + """ + self._download_url = download_url + + 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, SegmentFileDO): + 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-meeting/huaweicloudsdkmeeting/v1/model/show_record_info_request.py b/huaweicloud-sdk-meeting/huaweicloudsdkmeeting/v1/model/show_record_info_request.py new file mode 100644 index 0000000000..a92e137c8a --- /dev/null +++ b/huaweicloud-sdk-meeting/huaweicloudsdkmeeting/v1/model/show_record_info_request.py @@ -0,0 +1,111 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ShowRecordInfoRequest: + + """ + 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': 'RecordInfoReq' + } + + attribute_map = { + 'body': 'body' + } + + def __init__(self, body=None): + """ShowRecordInfoRequest + + The model defined in huaweicloud sdk + + :param body: Body of the ShowRecordInfoRequest + :type body: :class:`huaweicloudsdkmeeting.v1.RecordInfoReq` + """ + + + + self._body = None + self.discriminator = None + + if body is not None: + self.body = body + + @property + def body(self): + """Gets the body of this ShowRecordInfoRequest. + + :return: The body of this ShowRecordInfoRequest. + :rtype: :class:`huaweicloudsdkmeeting.v1.RecordInfoReq` + """ + return self._body + + @body.setter + def body(self, body): + """Sets the body of this ShowRecordInfoRequest. + + :param body: The body of this ShowRecordInfoRequest. + :type body: :class:`huaweicloudsdkmeeting.v1.RecordInfoReq` + """ + 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, ShowRecordInfoRequest): + 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-meeting/huaweicloudsdkmeeting/v1/model/show_record_info_response.py b/huaweicloud-sdk-meeting/huaweicloudsdkmeeting/v1/model/show_record_info_response.py new file mode 100644 index 0000000000..ec3ac42120 --- /dev/null +++ b/huaweicloud-sdk-meeting/huaweicloudsdkmeeting/v1/model/show_record_info_response.py @@ -0,0 +1,319 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_response import SdkResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ShowRecordInfoResponse(SdkResponse): + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'code': 'int', + 'message': 'str', + 'subject': 'str', + 'begin_time': 'str', + 'segment_offset': 'int', + 'segment_limit': 'int', + 'segment_count': 'int', + 'segment_list': 'list[SegmentDO]' + } + + attribute_map = { + 'code': 'code', + 'message': 'message', + 'subject': 'subject', + 'begin_time': 'beginTime', + 'segment_offset': 'segmentOffset', + 'segment_limit': 'segmentLimit', + 'segment_count': 'segmentCount', + 'segment_list': 'segmentList' + } + + def __init__(self, code=None, message=None, subject=None, begin_time=None, segment_offset=None, segment_limit=None, segment_count=None, segment_list=None): + """ShowRecordInfoResponse + + The model defined in huaweicloud sdk + + :param code: 结果码 + :type code: int + :param message: 结果描述 + :type message: str + :param subject: 会议主题 + :type subject: str + :param begin_time: 会议录制开始时间 + :type begin_time: str + :param segment_offset: 录制段落查询偏移量 + :type segment_offset: int + :param segment_limit: 录制段落查询数量 + :type segment_limit: int + :param segment_count: 录制段落总数 + :type segment_count: int + :param segment_list: 录制人工启动/停止分段列表 + :type segment_list: list[:class:`huaweicloudsdkmeeting.v1.SegmentDO`] + """ + + super(ShowRecordInfoResponse, self).__init__() + + self._code = None + self._message = None + self._subject = None + self._begin_time = None + self._segment_offset = None + self._segment_limit = None + self._segment_count = None + self._segment_list = None + self.discriminator = None + + if code is not None: + self.code = code + if message is not None: + self.message = message + if subject is not None: + self.subject = subject + if begin_time is not None: + self.begin_time = begin_time + if segment_offset is not None: + self.segment_offset = segment_offset + if segment_limit is not None: + self.segment_limit = segment_limit + if segment_count is not None: + self.segment_count = segment_count + if segment_list is not None: + self.segment_list = segment_list + + @property + def code(self): + """Gets the code of this ShowRecordInfoResponse. + + 结果码 + + :return: The code of this ShowRecordInfoResponse. + :rtype: int + """ + return self._code + + @code.setter + def code(self, code): + """Sets the code of this ShowRecordInfoResponse. + + 结果码 + + :param code: The code of this ShowRecordInfoResponse. + :type code: int + """ + self._code = code + + @property + def message(self): + """Gets the message of this ShowRecordInfoResponse. + + 结果描述 + + :return: The message of this ShowRecordInfoResponse. + :rtype: str + """ + return self._message + + @message.setter + def message(self, message): + """Sets the message of this ShowRecordInfoResponse. + + 结果描述 + + :param message: The message of this ShowRecordInfoResponse. + :type message: str + """ + self._message = message + + @property + def subject(self): + """Gets the subject of this ShowRecordInfoResponse. + + 会议主题 + + :return: The subject of this ShowRecordInfoResponse. + :rtype: str + """ + return self._subject + + @subject.setter + def subject(self, subject): + """Sets the subject of this ShowRecordInfoResponse. + + 会议主题 + + :param subject: The subject of this ShowRecordInfoResponse. + :type subject: str + """ + self._subject = subject + + @property + def begin_time(self): + """Gets the begin_time of this ShowRecordInfoResponse. + + 会议录制开始时间 + + :return: The begin_time of this ShowRecordInfoResponse. + :rtype: str + """ + return self._begin_time + + @begin_time.setter + def begin_time(self, begin_time): + """Sets the begin_time of this ShowRecordInfoResponse. + + 会议录制开始时间 + + :param begin_time: The begin_time of this ShowRecordInfoResponse. + :type begin_time: str + """ + self._begin_time = begin_time + + @property + def segment_offset(self): + """Gets the segment_offset of this ShowRecordInfoResponse. + + 录制段落查询偏移量 + + :return: The segment_offset of this ShowRecordInfoResponse. + :rtype: int + """ + return self._segment_offset + + @segment_offset.setter + def segment_offset(self, segment_offset): + """Sets the segment_offset of this ShowRecordInfoResponse. + + 录制段落查询偏移量 + + :param segment_offset: The segment_offset of this ShowRecordInfoResponse. + :type segment_offset: int + """ + self._segment_offset = segment_offset + + @property + def segment_limit(self): + """Gets the segment_limit of this ShowRecordInfoResponse. + + 录制段落查询数量 + + :return: The segment_limit of this ShowRecordInfoResponse. + :rtype: int + """ + return self._segment_limit + + @segment_limit.setter + def segment_limit(self, segment_limit): + """Sets the segment_limit of this ShowRecordInfoResponse. + + 录制段落查询数量 + + :param segment_limit: The segment_limit of this ShowRecordInfoResponse. + :type segment_limit: int + """ + self._segment_limit = segment_limit + + @property + def segment_count(self): + """Gets the segment_count of this ShowRecordInfoResponse. + + 录制段落总数 + + :return: The segment_count of this ShowRecordInfoResponse. + :rtype: int + """ + return self._segment_count + + @segment_count.setter + def segment_count(self, segment_count): + """Sets the segment_count of this ShowRecordInfoResponse. + + 录制段落总数 + + :param segment_count: The segment_count of this ShowRecordInfoResponse. + :type segment_count: int + """ + self._segment_count = segment_count + + @property + def segment_list(self): + """Gets the segment_list of this ShowRecordInfoResponse. + + 录制人工启动/停止分段列表 + + :return: The segment_list of this ShowRecordInfoResponse. + :rtype: list[:class:`huaweicloudsdkmeeting.v1.SegmentDO`] + """ + return self._segment_list + + @segment_list.setter + def segment_list(self, segment_list): + """Sets the segment_list of this ShowRecordInfoResponse. + + 录制人工启动/停止分段列表 + + :param segment_list: The segment_list of this ShowRecordInfoResponse. + :type segment_list: list[:class:`huaweicloudsdkmeeting.v1.SegmentDO`] + """ + self._segment_list = segment_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, ShowRecordInfoResponse): + 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-meeting/requirements.txt b/huaweicloud-sdk-meeting/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-meeting/requirements.txt +++ b/huaweicloud-sdk-meeting/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-meeting/setup.py b/huaweicloud-sdk-meeting/setup.py index a0395f8f00..c519d56314 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/__init__.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/__init__.py index 48d890e269..a12475cbfc 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/__init__.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/__init__.py @@ -5,7 +5,9 @@ from huaweicloudsdkmetastudio.v1.metastudio_client import MetaStudioClient from huaweicloudsdkmetastudio.v1.metastudio_async_client import MetaStudioAsyncClient +from huaweicloudsdkmetastudio.v1.model.action_basic_sample_info import ActionBasicSampleInfo from huaweicloudsdkmetastudio.v1.model.action_mark_item import ActionMarkItem +from huaweicloudsdkmetastudio.v1.model.action_sample_info import ActionSampleInfo from huaweicloudsdkmetastudio.v1.model.action_tag_info import ActionTagInfo from huaweicloudsdkmetastudio.v1.model.active_code_info import ActiveCodeInfo from huaweicloudsdkmetastudio.v1.model.animation_asset_meta import AnimationAssetMeta @@ -15,6 +17,7 @@ from huaweicloudsdkmetastudio.v1.model.asset_file_info import AssetFileInfo from huaweicloudsdkmetastudio.v1.model.asset_shared_config import AssetSharedConfig from huaweicloudsdkmetastudio.v1.model.audio_asset_meta import AudioAssetMeta +from huaweicloudsdkmetastudio.v1.model.audio_drive_action_config import AudioDriveActionConfig from huaweicloudsdkmetastudio.v1.model.audit_result_admin_audit_result import AuditResultAdminAuditResult from huaweicloudsdkmetastudio.v1.model.audit_result_system_audit_result import AuditResultSystemAuditResult from huaweicloudsdkmetastudio.v1.model.audit_result_system_audit_result_errors import AuditResultSystemAuditResultErrors @@ -514,6 +517,7 @@ from huaweicloudsdkmetastudio.v1.model.update_welcome_speech_switch_req import UpdateWelcomeSpeechSwitchReq from huaweicloudsdkmetastudio.v1.model.update_welcome_speech_switch_request import UpdateWelcomeSpeechSwitchRequest from huaweicloudsdkmetastudio.v1.model.update_welcome_speech_switch_response import UpdateWelcomeSpeechSwitchResponse +from huaweicloudsdkmetastudio.v1.model.verify_video_matting_info import VerifyVideoMattingInfo from huaweicloudsdkmetastudio.v1.model.video_asset_meta import VideoAssetMeta from huaweicloudsdkmetastudio.v1.model.video_config import VideoConfig from huaweicloudsdkmetastudio.v1.model.video_layer_config import VideoLayerConfig @@ -526,5 +530,6 @@ from huaweicloudsdkmetastudio.v1.model.voice_capability import VoiceCapability from huaweicloudsdkmetastudio.v1.model.voice_config import VoiceConfig from huaweicloudsdkmetastudio.v1.model.voice_model_asset_meta import VoiceModelAssetMeta +from huaweicloudsdkmetastudio.v1.model.voice_properties import VoiceProperties from huaweicloudsdkmetastudio.v1.model.welcome_speech_info import WelcomeSpeechInfo diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/metastudio_async_client.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/metastudio_async_client.py index bb889d7a47..fdd17bf425 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/metastudio_async_client.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/metastudio_async_client.py @@ -9140,6 +9140,8 @@ def _list2d_model_training_job_http_info(self, request): query_params.append(('name', local_var_params['name'])) if 'model_resolution' in local_var_params: query_params.append(('model_resolution', local_var_params['model_resolution'])) + if 'is_flexus' in local_var_params: + query_params.append(('is_flexus', local_var_params['is_flexus'])) header_params = {} if 'x_app_user_id' in local_var_params: diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/metastudio_client.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/metastudio_client.py index a872b7f17f..2c1b38ba20 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/metastudio_client.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/metastudio_client.py @@ -9140,6 +9140,8 @@ def _list2d_model_training_job_http_info(cls, request): query_params.append(('name', local_var_params['name'])) if 'model_resolution' in local_var_params: query_params.append(('model_resolution', local_var_params['model_resolution'])) + if 'is_flexus' in local_var_params: + query_params.append(('is_flexus', local_var_params['is_flexus'])) header_params = {} if 'x_app_user_id' in local_var_params: diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/__init__.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/__init__.py index 25b2241c2a..5b8685b854 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/__init__.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/__init__.py @@ -3,7 +3,9 @@ from __future__ import absolute_import # import models into model package +from huaweicloudsdkmetastudio.v1.model.action_basic_sample_info import ActionBasicSampleInfo from huaweicloudsdkmetastudio.v1.model.action_mark_item import ActionMarkItem +from huaweicloudsdkmetastudio.v1.model.action_sample_info import ActionSampleInfo from huaweicloudsdkmetastudio.v1.model.action_tag_info import ActionTagInfo from huaweicloudsdkmetastudio.v1.model.active_code_info import ActiveCodeInfo from huaweicloudsdkmetastudio.v1.model.animation_asset_meta import AnimationAssetMeta @@ -13,6 +15,7 @@ from huaweicloudsdkmetastudio.v1.model.asset_file_info import AssetFileInfo from huaweicloudsdkmetastudio.v1.model.asset_shared_config import AssetSharedConfig from huaweicloudsdkmetastudio.v1.model.audio_asset_meta import AudioAssetMeta +from huaweicloudsdkmetastudio.v1.model.audio_drive_action_config import AudioDriveActionConfig from huaweicloudsdkmetastudio.v1.model.audit_result_admin_audit_result import AuditResultAdminAuditResult from huaweicloudsdkmetastudio.v1.model.audit_result_system_audit_result import AuditResultSystemAuditResult from huaweicloudsdkmetastudio.v1.model.audit_result_system_audit_result_errors import AuditResultSystemAuditResultErrors @@ -512,6 +515,7 @@ from huaweicloudsdkmetastudio.v1.model.update_welcome_speech_switch_req import UpdateWelcomeSpeechSwitchReq from huaweicloudsdkmetastudio.v1.model.update_welcome_speech_switch_request import UpdateWelcomeSpeechSwitchRequest from huaweicloudsdkmetastudio.v1.model.update_welcome_speech_switch_response import UpdateWelcomeSpeechSwitchResponse +from huaweicloudsdkmetastudio.v1.model.verify_video_matting_info import VerifyVideoMattingInfo from huaweicloudsdkmetastudio.v1.model.video_asset_meta import VideoAssetMeta from huaweicloudsdkmetastudio.v1.model.video_config import VideoConfig from huaweicloudsdkmetastudio.v1.model.video_layer_config import VideoLayerConfig @@ -524,4 +528,5 @@ from huaweicloudsdkmetastudio.v1.model.voice_capability import VoiceCapability from huaweicloudsdkmetastudio.v1.model.voice_config import VoiceConfig from huaweicloudsdkmetastudio.v1.model.voice_model_asset_meta import VoiceModelAssetMeta +from huaweicloudsdkmetastudio.v1.model.voice_properties import VoiceProperties from huaweicloudsdkmetastudio.v1.model.welcome_speech_info import WelcomeSpeechInfo diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/action_basic_sample_info.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/action_basic_sample_info.py new file mode 100644 index 0000000000..ea52de0518 --- /dev/null +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/action_basic_sample_info.py @@ -0,0 +1,230 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ActionBasicSampleInfo: + + """ + 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_name_zh': 'str', + 'action_name_en': 'str', + 'action_tag': 'str', + 'catalog': 'str', + 'is_selected': 'bool' + } + + attribute_map = { + 'action_name_zh': 'action_name_zh', + 'action_name_en': 'action_name_en', + 'action_tag': 'action_tag', + 'catalog': 'catalog', + 'is_selected': 'is_selected' + } + + def __init__(self, action_name_zh=None, action_name_en=None, action_tag=None, catalog=None, is_selected=None): + """ActionBasicSampleInfo + + The model defined in huaweicloud sdk + + :param action_name_zh: 原子动作中文名称。 + :type action_name_zh: str + :param action_name_en: 原子动作英文名称。 + :type action_name_en: str + :param action_tag: 原子动作标签。 + :type action_tag: str + :param catalog: 原子动作标签。 + :type catalog: str + :param is_selected: 是否选择此动作。 + :type is_selected: bool + """ + + + + self._action_name_zh = None + self._action_name_en = None + self._action_tag = None + self._catalog = None + self._is_selected = None + self.discriminator = None + + if action_name_zh is not None: + self.action_name_zh = action_name_zh + if action_name_en is not None: + self.action_name_en = action_name_en + self.action_tag = action_tag + if catalog is not None: + self.catalog = catalog + if is_selected is not None: + self.is_selected = is_selected + + @property + def action_name_zh(self): + """Gets the action_name_zh of this ActionBasicSampleInfo. + + 原子动作中文名称。 + + :return: The action_name_zh of this ActionBasicSampleInfo. + :rtype: str + """ + return self._action_name_zh + + @action_name_zh.setter + def action_name_zh(self, action_name_zh): + """Sets the action_name_zh of this ActionBasicSampleInfo. + + 原子动作中文名称。 + + :param action_name_zh: The action_name_zh of this ActionBasicSampleInfo. + :type action_name_zh: str + """ + self._action_name_zh = action_name_zh + + @property + def action_name_en(self): + """Gets the action_name_en of this ActionBasicSampleInfo. + + 原子动作英文名称。 + + :return: The action_name_en of this ActionBasicSampleInfo. + :rtype: str + """ + return self._action_name_en + + @action_name_en.setter + def action_name_en(self, action_name_en): + """Sets the action_name_en of this ActionBasicSampleInfo. + + 原子动作英文名称。 + + :param action_name_en: The action_name_en of this ActionBasicSampleInfo. + :type action_name_en: str + """ + self._action_name_en = action_name_en + + @property + def action_tag(self): + """Gets the action_tag of this ActionBasicSampleInfo. + + 原子动作标签。 + + :return: The action_tag of this ActionBasicSampleInfo. + :rtype: str + """ + return self._action_tag + + @action_tag.setter + def action_tag(self, action_tag): + """Sets the action_tag of this ActionBasicSampleInfo. + + 原子动作标签。 + + :param action_tag: The action_tag of this ActionBasicSampleInfo. + :type action_tag: str + """ + self._action_tag = action_tag + + @property + def catalog(self): + """Gets the catalog of this ActionBasicSampleInfo. + + 原子动作标签。 + + :return: The catalog of this ActionBasicSampleInfo. + :rtype: str + """ + return self._catalog + + @catalog.setter + def catalog(self, catalog): + """Sets the catalog of this ActionBasicSampleInfo. + + 原子动作标签。 + + :param catalog: The catalog of this ActionBasicSampleInfo. + :type catalog: str + """ + self._catalog = catalog + + @property + def is_selected(self): + """Gets the is_selected of this ActionBasicSampleInfo. + + 是否选择此动作。 + + :return: The is_selected of this ActionBasicSampleInfo. + :rtype: bool + """ + return self._is_selected + + @is_selected.setter + def is_selected(self, is_selected): + """Sets the is_selected of this ActionBasicSampleInfo. + + 是否选择此动作。 + + :param is_selected: The is_selected of this ActionBasicSampleInfo. + :type is_selected: bool + """ + self._is_selected = is_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, ActionBasicSampleInfo): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/action_sample_info.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/action_sample_info.py new file mode 100644 index 0000000000..06b21fe625 --- /dev/null +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/action_sample_info.py @@ -0,0 +1,259 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ActionSampleInfo: + + """ + 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_name_zh': 'str', + 'action_name_en': 'str', + 'action_tag': 'str', + 'catalog': 'str', + 'is_selected': 'bool', + 'sample_download_url': 'str' + } + + attribute_map = { + 'action_name_zh': 'action_name_zh', + 'action_name_en': 'action_name_en', + 'action_tag': 'action_tag', + 'catalog': 'catalog', + 'is_selected': 'is_selected', + 'sample_download_url': 'sample_download_url' + } + + def __init__(self, action_name_zh=None, action_name_en=None, action_tag=None, catalog=None, is_selected=None, sample_download_url=None): + """ActionSampleInfo + + The model defined in huaweicloud sdk + + :param action_name_zh: 原子动作中文名称。 + :type action_name_zh: str + :param action_name_en: 原子动作英文名称。 + :type action_name_en: str + :param action_tag: 动作Tag。 + :type action_tag: str + :param catalog: 动作分类名称。 + :type catalog: str + :param is_selected: 是否选择此动作。 + :type is_selected: bool + :param sample_download_url: 原子动作样例文件下载地址。24小时内有效。 + :type sample_download_url: str + """ + + + + self._action_name_zh = None + self._action_name_en = None + self._action_tag = None + self._catalog = None + self._is_selected = None + self._sample_download_url = None + self.discriminator = None + + if action_name_zh is not None: + self.action_name_zh = action_name_zh + if action_name_en is not None: + self.action_name_en = action_name_en + self.action_tag = action_tag + if catalog is not None: + self.catalog = catalog + if is_selected is not None: + self.is_selected = is_selected + if sample_download_url is not None: + self.sample_download_url = sample_download_url + + @property + def action_name_zh(self): + """Gets the action_name_zh of this ActionSampleInfo. + + 原子动作中文名称。 + + :return: The action_name_zh of this ActionSampleInfo. + :rtype: str + """ + return self._action_name_zh + + @action_name_zh.setter + def action_name_zh(self, action_name_zh): + """Sets the action_name_zh of this ActionSampleInfo. + + 原子动作中文名称。 + + :param action_name_zh: The action_name_zh of this ActionSampleInfo. + :type action_name_zh: str + """ + self._action_name_zh = action_name_zh + + @property + def action_name_en(self): + """Gets the action_name_en of this ActionSampleInfo. + + 原子动作英文名称。 + + :return: The action_name_en of this ActionSampleInfo. + :rtype: str + """ + return self._action_name_en + + @action_name_en.setter + def action_name_en(self, action_name_en): + """Sets the action_name_en of this ActionSampleInfo. + + 原子动作英文名称。 + + :param action_name_en: The action_name_en of this ActionSampleInfo. + :type action_name_en: str + """ + self._action_name_en = action_name_en + + @property + def action_tag(self): + """Gets the action_tag of this ActionSampleInfo. + + 动作Tag。 + + :return: The action_tag of this ActionSampleInfo. + :rtype: str + """ + return self._action_tag + + @action_tag.setter + def action_tag(self, action_tag): + """Sets the action_tag of this ActionSampleInfo. + + 动作Tag。 + + :param action_tag: The action_tag of this ActionSampleInfo. + :type action_tag: str + """ + self._action_tag = action_tag + + @property + def catalog(self): + """Gets the catalog of this ActionSampleInfo. + + 动作分类名称。 + + :return: The catalog of this ActionSampleInfo. + :rtype: str + """ + return self._catalog + + @catalog.setter + def catalog(self, catalog): + """Sets the catalog of this ActionSampleInfo. + + 动作分类名称。 + + :param catalog: The catalog of this ActionSampleInfo. + :type catalog: str + """ + self._catalog = catalog + + @property + def is_selected(self): + """Gets the is_selected of this ActionSampleInfo. + + 是否选择此动作。 + + :return: The is_selected of this ActionSampleInfo. + :rtype: bool + """ + return self._is_selected + + @is_selected.setter + def is_selected(self, is_selected): + """Sets the is_selected of this ActionSampleInfo. + + 是否选择此动作。 + + :param is_selected: The is_selected of this ActionSampleInfo. + :type is_selected: bool + """ + self._is_selected = is_selected + + @property + def sample_download_url(self): + """Gets the sample_download_url of this ActionSampleInfo. + + 原子动作样例文件下载地址。24小时内有效。 + + :return: The sample_download_url of this ActionSampleInfo. + :rtype: str + """ + return self._sample_download_url + + @sample_download_url.setter + def sample_download_url(self, sample_download_url): + """Sets the sample_download_url of this ActionSampleInfo. + + 原子动作样例文件下载地址。24小时内有效。 + + :param sample_download_url: The sample_download_url of this ActionSampleInfo. + :type sample_download_url: str + """ + self._sample_download_url = sample_download_url + + 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, ActionSampleInfo): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/audio_drive_action_config.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/audio_drive_action_config.py new file mode 100644 index 0000000000..f3bea085ab --- /dev/null +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/audio_drive_action_config.py @@ -0,0 +1,171 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class AudioDriveActionConfig: + + """ + 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_tag': 'str', + 'action_name': 'str', + 'action_start_time': 'float' + } + + attribute_map = { + 'action_tag': 'action_tag', + 'action_name': 'action_name', + 'action_start_time': 'action_start_time' + } + + def __init__(self, action_tag=None, action_name=None, action_start_time=None): + """AudioDriveActionConfig + + The model defined in huaweicloud sdk + + :param action_tag: 动作标签 + :type action_tag: str + :param action_name: 动作名称 + :type action_name: str + :param action_start_time: 动作开始时间 + :type action_start_time: float + """ + + + + self._action_tag = None + self._action_name = None + self._action_start_time = None + self.discriminator = None + + self.action_tag = action_tag + if action_name is not None: + self.action_name = action_name + self.action_start_time = action_start_time + + @property + def action_tag(self): + """Gets the action_tag of this AudioDriveActionConfig. + + 动作标签 + + :return: The action_tag of this AudioDriveActionConfig. + :rtype: str + """ + return self._action_tag + + @action_tag.setter + def action_tag(self, action_tag): + """Sets the action_tag of this AudioDriveActionConfig. + + 动作标签 + + :param action_tag: The action_tag of this AudioDriveActionConfig. + :type action_tag: str + """ + self._action_tag = action_tag + + @property + def action_name(self): + """Gets the action_name of this AudioDriveActionConfig. + + 动作名称 + + :return: The action_name of this AudioDriveActionConfig. + :rtype: str + """ + return self._action_name + + @action_name.setter + def action_name(self, action_name): + """Sets the action_name of this AudioDriveActionConfig. + + 动作名称 + + :param action_name: The action_name of this AudioDriveActionConfig. + :type action_name: str + """ + self._action_name = action_name + + @property + def action_start_time(self): + """Gets the action_start_time of this AudioDriveActionConfig. + + 动作开始时间 + + :return: The action_start_time of this AudioDriveActionConfig. + :rtype: float + """ + return self._action_start_time + + @action_start_time.setter + def action_start_time(self, action_start_time): + """Sets the action_start_time of this AudioDriveActionConfig. + + 动作开始时间 + + :param action_start_time: The action_start_time of this AudioDriveActionConfig. + :type action_start_time: float + """ + self._action_start_time = action_start_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, AudioDriveActionConfig): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/background_config_info.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/background_config_info.py index fd5b4cb932..9f530ad1f2 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/background_config_info.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/background_config_info.py @@ -35,13 +35,13 @@ def __init__(self, background_type=None, background_config=None, background_colo The model defined in huaweicloud sdk - :param background_type: 背景类型。 - IMAGE:图片背景,指定图片用作分身数字人背景。 - COLOR:纯色背景,指定颜色RGB值作为分身数字人背景。 + :param background_type: **参数解释**: 背景类型。 **约束限制**: 不涉及。 **取值范围**: * IMAGE:图片背景,指定图片用作分身数字人背景。 * COLOR:纯色背景,指定颜色RGB值作为分身数字人背景。 **默认取值**: 不涉及 :type background_type: str - :param background_config: 背景文件的URL。 > * 仅直播支持外部URL,其他业务通过资产库查询获取,不支持外部URL。 > * background_type=IMAGE时需要填写。 + :param background_config: **参数解释**: 背景文件的URL。 **约束限制**: * 仅直播支持外部URL,其他业务通过资产库查询获取,不支持外部URL。 * background_type=IMAGE时需要填写。 **取值范围**: 字符长度1-2048位 **默认取值**: 不涉及。 :type background_config: str - :param background_color_config: 纯色背景的RGB颜色值。 > * background_type=COLOR时需要填写。 + :param background_color_config: **参数解释**: 纯色背景的RGB颜色值。 **约束限制**: background_type=COLOR时需要填写。 **取值范围**: 字符长度0-16位 :type background_color_config: str - :param background_asset_id: 背景资产ID。 > * 背景是背景图片时,填图片资产ID,可以从资产库中查询。 + :param background_asset_id: **参数解释**: 背景资产ID。 > 背景是背景图片时,填图片资产ID。 **约束限制**: 不涉及 **取值范围**: 字符长度0-64位 **默认取值**: 不涉及 :type background_asset_id: str """ @@ -65,7 +65,7 @@ def __init__(self, background_type=None, background_config=None, background_colo def background_type(self): """Gets the background_type of this BackgroundConfigInfo. - 背景类型。 - IMAGE:图片背景,指定图片用作分身数字人背景。 - COLOR:纯色背景,指定颜色RGB值作为分身数字人背景。 + **参数解释**: 背景类型。 **约束限制**: 不涉及。 **取值范围**: * IMAGE:图片背景,指定图片用作分身数字人背景。 * COLOR:纯色背景,指定颜色RGB值作为分身数字人背景。 **默认取值**: 不涉及 :return: The background_type of this BackgroundConfigInfo. :rtype: str @@ -76,7 +76,7 @@ def background_type(self): def background_type(self, background_type): """Sets the background_type of this BackgroundConfigInfo. - 背景类型。 - IMAGE:图片背景,指定图片用作分身数字人背景。 - COLOR:纯色背景,指定颜色RGB值作为分身数字人背景。 + **参数解释**: 背景类型。 **约束限制**: 不涉及。 **取值范围**: * IMAGE:图片背景,指定图片用作分身数字人背景。 * COLOR:纯色背景,指定颜色RGB值作为分身数字人背景。 **默认取值**: 不涉及 :param background_type: The background_type of this BackgroundConfigInfo. :type background_type: str @@ -87,7 +87,7 @@ def background_type(self, background_type): def background_config(self): """Gets the background_config of this BackgroundConfigInfo. - 背景文件的URL。 > * 仅直播支持外部URL,其他业务通过资产库查询获取,不支持外部URL。 > * background_type=IMAGE时需要填写。 + **参数解释**: 背景文件的URL。 **约束限制**: * 仅直播支持外部URL,其他业务通过资产库查询获取,不支持外部URL。 * background_type=IMAGE时需要填写。 **取值范围**: 字符长度1-2048位 **默认取值**: 不涉及。 :return: The background_config of this BackgroundConfigInfo. :rtype: str @@ -98,7 +98,7 @@ def background_config(self): def background_config(self, background_config): """Sets the background_config of this BackgroundConfigInfo. - 背景文件的URL。 > * 仅直播支持外部URL,其他业务通过资产库查询获取,不支持外部URL。 > * background_type=IMAGE时需要填写。 + **参数解释**: 背景文件的URL。 **约束限制**: * 仅直播支持外部URL,其他业务通过资产库查询获取,不支持外部URL。 * background_type=IMAGE时需要填写。 **取值范围**: 字符长度1-2048位 **默认取值**: 不涉及。 :param background_config: The background_config of this BackgroundConfigInfo. :type background_config: str @@ -109,7 +109,7 @@ def background_config(self, background_config): def background_color_config(self): """Gets the background_color_config of this BackgroundConfigInfo. - 纯色背景的RGB颜色值。 > * background_type=COLOR时需要填写。 + **参数解释**: 纯色背景的RGB颜色值。 **约束限制**: background_type=COLOR时需要填写。 **取值范围**: 字符长度0-16位 :return: The background_color_config of this BackgroundConfigInfo. :rtype: str @@ -120,7 +120,7 @@ def background_color_config(self): def background_color_config(self, background_color_config): """Sets the background_color_config of this BackgroundConfigInfo. - 纯色背景的RGB颜色值。 > * background_type=COLOR时需要填写。 + **参数解释**: 纯色背景的RGB颜色值。 **约束限制**: background_type=COLOR时需要填写。 **取值范围**: 字符长度0-16位 :param background_color_config: The background_color_config of this BackgroundConfigInfo. :type background_color_config: str @@ -131,7 +131,7 @@ def background_color_config(self, background_color_config): def background_asset_id(self): """Gets the background_asset_id of this BackgroundConfigInfo. - 背景资产ID。 > * 背景是背景图片时,填图片资产ID,可以从资产库中查询。 + **参数解释**: 背景资产ID。 > 背景是背景图片时,填图片资产ID。 **约束限制**: 不涉及 **取值范围**: 字符长度0-64位 **默认取值**: 不涉及 :return: The background_asset_id of this BackgroundConfigInfo. :rtype: str @@ -142,7 +142,7 @@ def background_asset_id(self): def background_asset_id(self, background_asset_id): """Sets the background_asset_id of this BackgroundConfigInfo. - 背景资产ID。 > * 背景是背景图片时,填图片资产ID,可以从资产库中查询。 + **参数解释**: 背景资产ID。 > 背景是背景图片时,填图片资产ID。 **约束限制**: 不涉及 **取值范围**: 字符长度0-64位 **默认取值**: 不涉及 :param background_asset_id: The background_asset_id of this BackgroundConfigInfo. :type background_asset_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/background_music_config.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/background_music_config.py index d01d362663..637d2318d7 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/background_music_config.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/background_music_config.py @@ -31,9 +31,9 @@ def __init__(self, music_asset_id=None, volume=None): The model defined in huaweicloud sdk - :param music_asset_id: 音乐资产ID,可以从资产库中查询。 + :param music_asset_id: **参数解释**: 音乐资产ID。 **约束限制**: 不涉及。 **取值范围**: 字符长度0-64位。 **默认取值**: 不涉及。 :type music_asset_id: str - :param volume: 音乐音量。如100,表示音量100%,50表示音量50%。 默认值100,最小值0,最大值100。 + :param volume: **参数解释**: 音乐音量。如100,表示音量100%,50表示音量50%。 **约束限制**: 不涉及。 :type volume: int """ @@ -52,7 +52,7 @@ def __init__(self, music_asset_id=None, volume=None): def music_asset_id(self): """Gets the music_asset_id of this BackgroundMusicConfig. - 音乐资产ID,可以从资产库中查询。 + **参数解释**: 音乐资产ID。 **约束限制**: 不涉及。 **取值范围**: 字符长度0-64位。 **默认取值**: 不涉及。 :return: The music_asset_id of this BackgroundMusicConfig. :rtype: str @@ -63,7 +63,7 @@ def music_asset_id(self): def music_asset_id(self, music_asset_id): """Sets the music_asset_id of this BackgroundMusicConfig. - 音乐资产ID,可以从资产库中查询。 + **参数解释**: 音乐资产ID。 **约束限制**: 不涉及。 **取值范围**: 字符长度0-64位。 **默认取值**: 不涉及。 :param music_asset_id: The music_asset_id of this BackgroundMusicConfig. :type music_asset_id: str @@ -74,7 +74,7 @@ def music_asset_id(self, music_asset_id): def volume(self): """Gets the volume of this BackgroundMusicConfig. - 音乐音量。如100,表示音量100%,50表示音量50%。 默认值100,最小值0,最大值100。 + **参数解释**: 音乐音量。如100,表示音量100%,50表示音量50%。 **约束限制**: 不涉及。 :return: The volume of this BackgroundMusicConfig. :rtype: int @@ -85,7 +85,7 @@ def volume(self): def volume(self, volume): """Sets the volume of this BackgroundMusicConfig. - 音乐音量。如100,表示音量100%,50表示音量50%。 默认值100,最小值0,最大值100。 + **参数解释**: 音乐音量。如100,表示音量100%,50表示音量50%。 **约束限制**: 不涉及。 :param volume: The volume of this BackgroundMusicConfig. :type volume: int diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/chat_subtitle_config.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/chat_subtitle_config.py index 0bfb83a002..e460346b9e 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/chat_subtitle_config.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/chat_subtitle_config.py @@ -35,13 +35,13 @@ def __init__(self, dx=None, dy=None, width=None, height=None): The model defined in huaweicloud sdk - :param dx: 字幕左上角像素点坐标。 > *横屏(16:9)视频像素为1920x1080;竖屏(9:16)视频像素为1080x1920。 + :param dx: **参数解释**: 字幕左上角像素点坐标。 横屏(16:9)视频像素为1920x1080;竖屏(9:16)视频像素为1080x1920。 :type dx: int - :param dy: 字幕左上角像素点坐标。 > *横屏(16:9)视频像素为1920x1080;竖屏(9:16)视频像素为1080x1920。 + :param dy: **参数解释**: 字幕左上角像素点坐标。 横屏(16:9)视频像素为1920x1080;竖屏(9:16)视频像素为1080x1920。 :type dy: int - :param width: 图层图片宽度像素值(相对画布大小)。 > 横屏(16:9)画布像素为1920x1080;竖屏(9:16)画布像素为1080x1920。 + :param width: **参数解释**: 图层图片宽度像素值(相对画布大小)。 横屏(16:9)画布像素为1920x1080;竖屏(9:16)画布像素为1080x1920。 :type width: int - :param height: 图层图片高度像素值(相对画布大小)。 > 横屏(16:9)画布像素为1920x1080;竖屏(9:16)画布像素为1080x1920。 + :param height: **参数解释**: 图层图片高度像素值(相对画布大小)。 横屏(16:9)画布像素为1920x1080;竖屏(9:16)画布像素为1080x1920。 :type height: int """ @@ -66,7 +66,7 @@ def __init__(self, dx=None, dy=None, width=None, height=None): def dx(self): """Gets the dx of this ChatSubtitleConfig. - 字幕左上角像素点坐标。 > *横屏(16:9)视频像素为1920x1080;竖屏(9:16)视频像素为1080x1920。 + **参数解释**: 字幕左上角像素点坐标。 横屏(16:9)视频像素为1920x1080;竖屏(9:16)视频像素为1080x1920。 :return: The dx of this ChatSubtitleConfig. :rtype: int @@ -77,7 +77,7 @@ def dx(self): def dx(self, dx): """Sets the dx of this ChatSubtitleConfig. - 字幕左上角像素点坐标。 > *横屏(16:9)视频像素为1920x1080;竖屏(9:16)视频像素为1080x1920。 + **参数解释**: 字幕左上角像素点坐标。 横屏(16:9)视频像素为1920x1080;竖屏(9:16)视频像素为1080x1920。 :param dx: The dx of this ChatSubtitleConfig. :type dx: int @@ -88,7 +88,7 @@ def dx(self, dx): def dy(self): """Gets the dy of this ChatSubtitleConfig. - 字幕左上角像素点坐标。 > *横屏(16:9)视频像素为1920x1080;竖屏(9:16)视频像素为1080x1920。 + **参数解释**: 字幕左上角像素点坐标。 横屏(16:9)视频像素为1920x1080;竖屏(9:16)视频像素为1080x1920。 :return: The dy of this ChatSubtitleConfig. :rtype: int @@ -99,7 +99,7 @@ def dy(self): def dy(self, dy): """Sets the dy of this ChatSubtitleConfig. - 字幕左上角像素点坐标。 > *横屏(16:9)视频像素为1920x1080;竖屏(9:16)视频像素为1080x1920。 + **参数解释**: 字幕左上角像素点坐标。 横屏(16:9)视频像素为1920x1080;竖屏(9:16)视频像素为1080x1920。 :param dy: The dy of this ChatSubtitleConfig. :type dy: int @@ -110,7 +110,7 @@ def dy(self, dy): def width(self): """Gets the width of this ChatSubtitleConfig. - 图层图片宽度像素值(相对画布大小)。 > 横屏(16:9)画布像素为1920x1080;竖屏(9:16)画布像素为1080x1920。 + **参数解释**: 图层图片宽度像素值(相对画布大小)。 横屏(16:9)画布像素为1920x1080;竖屏(9:16)画布像素为1080x1920。 :return: The width of this ChatSubtitleConfig. :rtype: int @@ -121,7 +121,7 @@ def width(self): def width(self, width): """Sets the width of this ChatSubtitleConfig. - 图层图片宽度像素值(相对画布大小)。 > 横屏(16:9)画布像素为1920x1080;竖屏(9:16)画布像素为1080x1920。 + **参数解释**: 图层图片宽度像素值(相对画布大小)。 横屏(16:9)画布像素为1920x1080;竖屏(9:16)画布像素为1080x1920。 :param width: The width of this ChatSubtitleConfig. :type width: int @@ -132,7 +132,7 @@ def width(self, width): def height(self): """Gets the height of this ChatSubtitleConfig. - 图层图片高度像素值(相对画布大小)。 > 横屏(16:9)画布像素为1920x1080;竖屏(9:16)画布像素为1080x1920。 + **参数解释**: 图层图片高度像素值(相对画布大小)。 横屏(16:9)画布像素为1920x1080;竖屏(9:16)画布像素为1080x1920。 :return: The height of this ChatSubtitleConfig. :rtype: int @@ -143,7 +143,7 @@ def height(self): def height(self, height): """Sets the height of this ChatSubtitleConfig. - 图层图片高度像素值(相对画布大小)。 > 横屏(16:9)画布像素为1920x1080;竖屏(9:16)画布像素为1080x1920。 + **参数解释**: 图层图片高度像素值(相对画布大小)。 横屏(16:9)画布像素为1920x1080;竖屏(9:16)画布像素为1080x1920。 :param height: The height of this ChatSubtitleConfig. :type height: int diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/co_streamer_config.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/co_streamer_config.py index d6b73f3669..08a5dc03d0 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/co_streamer_config.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/co_streamer_config.py @@ -33,7 +33,7 @@ def __init__(self, voice_config=None, streamer_action=None): :param voice_config: :type voice_config: :class:`huaweicloudsdkmetastudio.v1.VoiceConfig` - :param streamer_action: 助播出声时主播行为。 * SILENCE:静默 * VOLUME_DOWN:音量降低 + :param streamer_action: **参数解释**: 助播出声时主播行为设置。 **约束限制**: 不涉及 **取值范围**: * SILENCE:静默 * VOLUME_DOWN:音量降低 **默认取值**: 不涉及。 :type streamer_action: str """ @@ -70,7 +70,7 @@ def voice_config(self, voice_config): def streamer_action(self): """Gets the streamer_action of this CoStreamerConfig. - 助播出声时主播行为。 * SILENCE:静默 * VOLUME_DOWN:音量降低 + **参数解释**: 助播出声时主播行为设置。 **约束限制**: 不涉及 **取值范围**: * SILENCE:静默 * VOLUME_DOWN:音量降低 **默认取值**: 不涉及。 :return: The streamer_action of this CoStreamerConfig. :rtype: str @@ -81,7 +81,7 @@ def streamer_action(self): def streamer_action(self, streamer_action): """Sets the streamer_action of this CoStreamerConfig. - 助播出声时主播行为。 * SILENCE:静默 * VOLUME_DOWN:音量降低 + **参数解释**: 助播出声时主播行为设置。 **约束限制**: 不涉及 **取值范围**: * SILENCE:静默 * VOLUME_DOWN:音量降低 **默认取值**: 不涉及。 :param streamer_action: The streamer_action of this CoStreamerConfig. :type streamer_action: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/control_smart_live_req.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/control_smart_live_req.py index 2f618dc8d0..6ff7127c24 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/control_smart_live_req.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/control_smart_live_req.py @@ -33,9 +33,9 @@ def __init__(self, command=None, params=None, review_config=None): The model defined in huaweicloud sdk - :param command: 命令名称。 - INSERT_PLAY_SCRIPT: 插入表演脚本。用于互动回复。数字人不变,背景不变。params结构定义:PlayTextInfo - REWRITE_PLAY_SCRIPT: 动态编辑未播放剧本。params结构定义:scene_scripts - INSERT_PLAY_AUDIO:插入驱动音频。用于音频直接驱动。数字人不变,背景不变。params结构定义:PlayAudioInfo - REWRITE_INTERACTION_RULES: 动态修改互动规则。params结构定义:interaction_rules - GET_CURRENT_PLAYING_SCRIPTS: 查询本轮剧本列表。响应为LivePlayingScriptList结构 - SHOW_LAYER:显示导播素材,用于直播导播。params结构定义:LiveGuideRuleInfo - REFRESH_OUTPUT_URL: 更新当前任务的rtmp推流信息。params结构定义: RefreshOutputUrlConfig - GET_LIVE_JOB_CONFIG_INFO:获取任务中的房间信息。params结构定义:SmartLiveRoomInfo + :param command: **参数解释**: 命令名称。 **约束限制**: 不限制 **取值范围**: * INSERT_PLAY_SCRIPT:插入表演脚本。用于互动回复。数字人不变,背景不变。params结构定义:[PlayTextInfo](metastudio_02_0014.html#section0)。 * INSERT_PLAY_AUDIO:插入驱动音频。用于音频直接驱动。数字人不变,背景不变。params结构定义:[PlayAudioInfo](metastudio_02_0014.html#section1)。 * REWRITE_PLAY_SCRIPT:动态编辑未播放剧本。params结构定义:[scene_scripts](CreateSmartLiveRoom.html)。 * REWRITE_INTERACTION_RULES:动态修改互动规则。params结构定义:[interaction_rules](CreateSmartLiveRoom.html)。 * GET_CURRENT_PLAYING_SCRIPTS:查询本轮剧本列表。响应为:[LivePlayingScriptList](metastudio_02_0014.html#section2)结构。 * SHOW_LAYER:显示导播素材,用于直播导播。params结构定义:LiveGuideRuleInfo。 * REFRESH_OUTPUT_URL:更新当前任务的rtmp推流信息。params结构定义: RefreshOutputUrlConfig。 * GET_LIVE_JOB_CONFIG_INFO:获取任务中的房间信息。params结构定义:与[直播间详情响应体](ShowSmartLiveRoom.html)一致。 **默认取值**: 不涉及 :type command: str - :param params: 命令参数。 + :param params: **参数解释**: 命令参数。 **约束限制**: 不限制 **取值范围**: 参考COMMNAD说明。 **默认取值**: 不涉及 :type params: object :param review_config: :type review_config: :class:`huaweicloudsdkmetastudio.v1.ReviewConfig` @@ -58,7 +58,7 @@ def __init__(self, command=None, params=None, review_config=None): def command(self): """Gets the command of this ControlSmartLiveReq. - 命令名称。 - INSERT_PLAY_SCRIPT: 插入表演脚本。用于互动回复。数字人不变,背景不变。params结构定义:PlayTextInfo - REWRITE_PLAY_SCRIPT: 动态编辑未播放剧本。params结构定义:scene_scripts - INSERT_PLAY_AUDIO:插入驱动音频。用于音频直接驱动。数字人不变,背景不变。params结构定义:PlayAudioInfo - REWRITE_INTERACTION_RULES: 动态修改互动规则。params结构定义:interaction_rules - GET_CURRENT_PLAYING_SCRIPTS: 查询本轮剧本列表。响应为LivePlayingScriptList结构 - SHOW_LAYER:显示导播素材,用于直播导播。params结构定义:LiveGuideRuleInfo - REFRESH_OUTPUT_URL: 更新当前任务的rtmp推流信息。params结构定义: RefreshOutputUrlConfig - GET_LIVE_JOB_CONFIG_INFO:获取任务中的房间信息。params结构定义:SmartLiveRoomInfo + **参数解释**: 命令名称。 **约束限制**: 不限制 **取值范围**: * INSERT_PLAY_SCRIPT:插入表演脚本。用于互动回复。数字人不变,背景不变。params结构定义:[PlayTextInfo](metastudio_02_0014.html#section0)。 * INSERT_PLAY_AUDIO:插入驱动音频。用于音频直接驱动。数字人不变,背景不变。params结构定义:[PlayAudioInfo](metastudio_02_0014.html#section1)。 * REWRITE_PLAY_SCRIPT:动态编辑未播放剧本。params结构定义:[scene_scripts](CreateSmartLiveRoom.html)。 * REWRITE_INTERACTION_RULES:动态修改互动规则。params结构定义:[interaction_rules](CreateSmartLiveRoom.html)。 * GET_CURRENT_PLAYING_SCRIPTS:查询本轮剧本列表。响应为:[LivePlayingScriptList](metastudio_02_0014.html#section2)结构。 * SHOW_LAYER:显示导播素材,用于直播导播。params结构定义:LiveGuideRuleInfo。 * REFRESH_OUTPUT_URL:更新当前任务的rtmp推流信息。params结构定义: RefreshOutputUrlConfig。 * GET_LIVE_JOB_CONFIG_INFO:获取任务中的房间信息。params结构定义:与[直播间详情响应体](ShowSmartLiveRoom.html)一致。 **默认取值**: 不涉及 :return: The command of this ControlSmartLiveReq. :rtype: str @@ -69,7 +69,7 @@ def command(self): def command(self, command): """Sets the command of this ControlSmartLiveReq. - 命令名称。 - INSERT_PLAY_SCRIPT: 插入表演脚本。用于互动回复。数字人不变,背景不变。params结构定义:PlayTextInfo - REWRITE_PLAY_SCRIPT: 动态编辑未播放剧本。params结构定义:scene_scripts - INSERT_PLAY_AUDIO:插入驱动音频。用于音频直接驱动。数字人不变,背景不变。params结构定义:PlayAudioInfo - REWRITE_INTERACTION_RULES: 动态修改互动规则。params结构定义:interaction_rules - GET_CURRENT_PLAYING_SCRIPTS: 查询本轮剧本列表。响应为LivePlayingScriptList结构 - SHOW_LAYER:显示导播素材,用于直播导播。params结构定义:LiveGuideRuleInfo - REFRESH_OUTPUT_URL: 更新当前任务的rtmp推流信息。params结构定义: RefreshOutputUrlConfig - GET_LIVE_JOB_CONFIG_INFO:获取任务中的房间信息。params结构定义:SmartLiveRoomInfo + **参数解释**: 命令名称。 **约束限制**: 不限制 **取值范围**: * INSERT_PLAY_SCRIPT:插入表演脚本。用于互动回复。数字人不变,背景不变。params结构定义:[PlayTextInfo](metastudio_02_0014.html#section0)。 * INSERT_PLAY_AUDIO:插入驱动音频。用于音频直接驱动。数字人不变,背景不变。params结构定义:[PlayAudioInfo](metastudio_02_0014.html#section1)。 * REWRITE_PLAY_SCRIPT:动态编辑未播放剧本。params结构定义:[scene_scripts](CreateSmartLiveRoom.html)。 * REWRITE_INTERACTION_RULES:动态修改互动规则。params结构定义:[interaction_rules](CreateSmartLiveRoom.html)。 * GET_CURRENT_PLAYING_SCRIPTS:查询本轮剧本列表。响应为:[LivePlayingScriptList](metastudio_02_0014.html#section2)结构。 * SHOW_LAYER:显示导播素材,用于直播导播。params结构定义:LiveGuideRuleInfo。 * REFRESH_OUTPUT_URL:更新当前任务的rtmp推流信息。params结构定义: RefreshOutputUrlConfig。 * GET_LIVE_JOB_CONFIG_INFO:获取任务中的房间信息。params结构定义:与[直播间详情响应体](ShowSmartLiveRoom.html)一致。 **默认取值**: 不涉及 :param command: The command of this ControlSmartLiveReq. :type command: str @@ -80,7 +80,7 @@ def command(self, command): def params(self): """Gets the params of this ControlSmartLiveReq. - 命令参数。 + **参数解释**: 命令参数。 **约束限制**: 不限制 **取值范围**: 参考COMMNAD说明。 **默认取值**: 不涉及 :return: The params of this ControlSmartLiveReq. :rtype: object @@ -91,7 +91,7 @@ def params(self): def params(self, params): """Sets the params of this ControlSmartLiveReq. - 命令参数。 + **参数解释**: 命令参数。 **约束限制**: 不限制 **取值范围**: 参考COMMNAD说明。 **默认取值**: 不涉及 :param params: The params of this ControlSmartLiveReq. :type params: object diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create2d_model_training_job_req.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create2d_model_training_job_req.py index fa04b4cd0e..3b83056fa4 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create2d_model_training_job_req.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create2d_model_training_job_req.py @@ -21,10 +21,15 @@ class Create2dModelTrainingJobReq: 'contact': 'str', 'command_message': 'str', 'video_multipart_count': 'int', + 'action_video_multipart_count': 'int', 'is_background_replacement': 'bool', 'batch_name': 'str', 'tags': 'list[str]', - 'model_version': 'str' + 'model_version': 'str', + 'is_flexus': 'bool', + 'audio_source_type': 'str', + 'voice_properties': 'VoiceProperties', + 'supported_service': 'list[SupportedServiceEnum]' } attribute_map = { @@ -32,13 +37,18 @@ class Create2dModelTrainingJobReq: 'contact': 'contact', 'command_message': 'command_message', 'video_multipart_count': 'video_multipart_count', + 'action_video_multipart_count': 'action_video_multipart_count', 'is_background_replacement': 'is_background_replacement', 'batch_name': 'batch_name', 'tags': 'tags', - 'model_version': 'model_version' + 'model_version': 'model_version', + 'is_flexus': 'is_flexus', + 'audio_source_type': 'audio_source_type', + 'voice_properties': 'voice_properties', + 'supported_service': 'supported_service' } - def __init__(self, name=None, contact=None, command_message=None, video_multipart_count=None, is_background_replacement=None, batch_name=None, tags=None, model_version=None): + def __init__(self, name=None, contact=None, command_message=None, video_multipart_count=None, action_video_multipart_count=None, is_background_replacement=None, batch_name=None, tags=None, model_version=None, is_flexus=None, audio_source_type=None, voice_properties=None, supported_service=None): """Create2dModelTrainingJobReq The model defined in huaweicloud sdk @@ -47,10 +57,12 @@ def __init__(self, name=None, contact=None, command_message=None, video_multipar :type name: str :param contact: 分身数字人训练任务创建者联系方式,如手机或邮箱等。 :type contact: str - :param command_message: 命令类型: * UPDATE_VIDEO: 更新视频 * UPLOAD_VIDEO:上传视频 + :param command_message: 命令类型: * UPDATE_VIDEO: 更新视频 * UPLOAD_VIDEO:上传视频 * CONFIRM_ACTION_VIDEO: 确认动作编排视频 * GET_ACTION_VIDEO_MULTIPART: 获取动作编排视频分片 :type command_message: str - :param video_multipart_count: 训练视频上传分片数。 + :param video_multipart_count: 训练视频上传分片数(上传时对唯一训练视频文件的数据分片,用于对该文件的并发上传,不是分多个视频文件上传)。 :type video_multipart_count: int + :param action_video_multipart_count: 动作视频上传分片数。 + :type action_video_multipart_count: int :param is_background_replacement: 分身数字人是否需要背景替换。需要背景替换的分身数字人训练视频需要绿幕拍摄。 :type is_background_replacement: bool :param batch_name: 分身数字人训练任务的批次名称。 @@ -59,6 +71,14 @@ def __init__(self, name=None, contact=None, command_message=None, video_multipar :type tags: list[str] :param model_version: 分身数字人模型版本。默认是V3版本模型。 * V2: V2版本模型 * V3:V3版本模型 * V3.2:V3.2版本模型 > * V2版本已废弃不用 :type model_version: str + :param is_flexus: 是否是基础版的形象训练 + :type is_flexus: bool + :param audio_source_type: 声音来源类型 * VIDEO:视频中抽取音频 * AUDIO:单独上传的音频 + :type audio_source_type: str + :param voice_properties: + :type voice_properties: :class:`huaweicloudsdkmetastudio.v1.VoiceProperties` + :param supported_service: 该任务所生成的模型支持的业务类型,可多选 + :type supported_service: list[:class:`huaweicloudsdkmetastudio.v1.SupportedServiceEnum`] """ @@ -67,10 +87,15 @@ def __init__(self, name=None, contact=None, command_message=None, video_multipar self._contact = None self._command_message = None self._video_multipart_count = None + self._action_video_multipart_count = None self._is_background_replacement = None self._batch_name = None self._tags = None self._model_version = None + self._is_flexus = None + self._audio_source_type = None + self._voice_properties = None + self._supported_service = None self.discriminator = None self.name = name @@ -80,6 +105,8 @@ def __init__(self, name=None, contact=None, command_message=None, video_multipar self.command_message = command_message if video_multipart_count is not None: self.video_multipart_count = video_multipart_count + if action_video_multipart_count is not None: + self.action_video_multipart_count = action_video_multipart_count if is_background_replacement is not None: self.is_background_replacement = is_background_replacement if batch_name is not None: @@ -88,6 +115,14 @@ def __init__(self, name=None, contact=None, command_message=None, video_multipar self.tags = tags if model_version is not None: self.model_version = model_version + if is_flexus is not None: + self.is_flexus = is_flexus + if audio_source_type is not None: + self.audio_source_type = audio_source_type + if voice_properties is not None: + self.voice_properties = voice_properties + if supported_service is not None: + self.supported_service = supported_service @property def name(self): @@ -137,7 +172,7 @@ def contact(self, contact): def command_message(self): """Gets the command_message of this Create2dModelTrainingJobReq. - 命令类型: * UPDATE_VIDEO: 更新视频 * UPLOAD_VIDEO:上传视频 + 命令类型: * UPDATE_VIDEO: 更新视频 * UPLOAD_VIDEO:上传视频 * CONFIRM_ACTION_VIDEO: 确认动作编排视频 * GET_ACTION_VIDEO_MULTIPART: 获取动作编排视频分片 :return: The command_message of this Create2dModelTrainingJobReq. :rtype: str @@ -148,7 +183,7 @@ def command_message(self): def command_message(self, command_message): """Sets the command_message of this Create2dModelTrainingJobReq. - 命令类型: * UPDATE_VIDEO: 更新视频 * UPLOAD_VIDEO:上传视频 + 命令类型: * UPDATE_VIDEO: 更新视频 * UPLOAD_VIDEO:上传视频 * CONFIRM_ACTION_VIDEO: 确认动作编排视频 * GET_ACTION_VIDEO_MULTIPART: 获取动作编排视频分片 :param command_message: The command_message of this Create2dModelTrainingJobReq. :type command_message: str @@ -159,7 +194,7 @@ def command_message(self, command_message): def video_multipart_count(self): """Gets the video_multipart_count of this Create2dModelTrainingJobReq. - 训练视频上传分片数。 + 训练视频上传分片数(上传时对唯一训练视频文件的数据分片,用于对该文件的并发上传,不是分多个视频文件上传)。 :return: The video_multipart_count of this Create2dModelTrainingJobReq. :rtype: int @@ -170,13 +205,35 @@ def video_multipart_count(self): def video_multipart_count(self, video_multipart_count): """Sets the video_multipart_count of this Create2dModelTrainingJobReq. - 训练视频上传分片数。 + 训练视频上传分片数(上传时对唯一训练视频文件的数据分片,用于对该文件的并发上传,不是分多个视频文件上传)。 :param video_multipart_count: The video_multipart_count of this Create2dModelTrainingJobReq. :type video_multipart_count: int """ self._video_multipart_count = video_multipart_count + @property + def action_video_multipart_count(self): + """Gets the action_video_multipart_count of this Create2dModelTrainingJobReq. + + 动作视频上传分片数。 + + :return: The action_video_multipart_count of this Create2dModelTrainingJobReq. + :rtype: int + """ + return self._action_video_multipart_count + + @action_video_multipart_count.setter + def action_video_multipart_count(self, action_video_multipart_count): + """Sets the action_video_multipart_count of this Create2dModelTrainingJobReq. + + 动作视频上传分片数。 + + :param action_video_multipart_count: The action_video_multipart_count of this Create2dModelTrainingJobReq. + :type action_video_multipart_count: int + """ + self._action_video_multipart_count = action_video_multipart_count + @property def is_background_replacement(self): """Gets the is_background_replacement of this Create2dModelTrainingJobReq. @@ -265,6 +322,90 @@ def model_version(self, model_version): """ self._model_version = model_version + @property + def is_flexus(self): + """Gets the is_flexus of this Create2dModelTrainingJobReq. + + 是否是基础版的形象训练 + + :return: The is_flexus of this Create2dModelTrainingJobReq. + :rtype: bool + """ + return self._is_flexus + + @is_flexus.setter + def is_flexus(self, is_flexus): + """Sets the is_flexus of this Create2dModelTrainingJobReq. + + 是否是基础版的形象训练 + + :param is_flexus: The is_flexus of this Create2dModelTrainingJobReq. + :type is_flexus: bool + """ + self._is_flexus = is_flexus + + @property + def audio_source_type(self): + """Gets the audio_source_type of this Create2dModelTrainingJobReq. + + 声音来源类型 * VIDEO:视频中抽取音频 * AUDIO:单独上传的音频 + + :return: The audio_source_type of this Create2dModelTrainingJobReq. + :rtype: str + """ + return self._audio_source_type + + @audio_source_type.setter + def audio_source_type(self, audio_source_type): + """Sets the audio_source_type of this Create2dModelTrainingJobReq. + + 声音来源类型 * VIDEO:视频中抽取音频 * AUDIO:单独上传的音频 + + :param audio_source_type: The audio_source_type of this Create2dModelTrainingJobReq. + :type audio_source_type: str + """ + self._audio_source_type = audio_source_type + + @property + def voice_properties(self): + """Gets the voice_properties of this Create2dModelTrainingJobReq. + + :return: The voice_properties of this Create2dModelTrainingJobReq. + :rtype: :class:`huaweicloudsdkmetastudio.v1.VoiceProperties` + """ + return self._voice_properties + + @voice_properties.setter + def voice_properties(self, voice_properties): + """Sets the voice_properties of this Create2dModelTrainingJobReq. + + :param voice_properties: The voice_properties of this Create2dModelTrainingJobReq. + :type voice_properties: :class:`huaweicloudsdkmetastudio.v1.VoiceProperties` + """ + self._voice_properties = voice_properties + + @property + def supported_service(self): + """Gets the supported_service of this Create2dModelTrainingJobReq. + + 该任务所生成的模型支持的业务类型,可多选 + + :return: The supported_service of this Create2dModelTrainingJobReq. + :rtype: list[:class:`huaweicloudsdkmetastudio.v1.SupportedServiceEnum`] + """ + return self._supported_service + + @supported_service.setter + def supported_service(self, supported_service): + """Sets the supported_service of this Create2dModelTrainingJobReq. + + 该任务所生成的模型支持的业务类型,可多选 + + :param supported_service: The supported_service of this Create2dModelTrainingJobReq. + :type supported_service: list[:class:`huaweicloudsdkmetastudio.v1.SupportedServiceEnum`] + """ + self._supported_service = supported_service + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create2d_model_training_job_response.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create2d_model_training_job_response.py index 5b8ee4392f..4efe40261f 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create2d_model_training_job_response.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create2d_model_training_job_response.py @@ -20,6 +20,8 @@ class Create2dModelTrainingJobResponse(SdkResponse): openapi_types = { 'job_id': 'str', 'training_video_upload_url': 'list[str]', + 'action_video_upload_url': 'list[str]', + 'audio_upload_url': 'str', 'cover_upload_url': 'str', 'id_card_image1_upload_url': 'str', 'id_card_image2_upload_url': 'str', @@ -30,6 +32,8 @@ class Create2dModelTrainingJobResponse(SdkResponse): attribute_map = { 'job_id': 'job_id', 'training_video_upload_url': 'training_video_upload_url', + 'action_video_upload_url': 'action_video_upload_url', + 'audio_upload_url': 'audio_upload_url', 'cover_upload_url': 'cover_upload_url', 'id_card_image1_upload_url': 'id_card_image1_upload_url', 'id_card_image2_upload_url': 'id_card_image2_upload_url', @@ -37,7 +41,7 @@ class Create2dModelTrainingJobResponse(SdkResponse): 'x_request_id': 'X-Request-Id' } - def __init__(self, job_id=None, training_video_upload_url=None, cover_upload_url=None, id_card_image1_upload_url=None, id_card_image2_upload_url=None, grant_file_upload_url=None, x_request_id=None): + def __init__(self, job_id=None, training_video_upload_url=None, action_video_upload_url=None, audio_upload_url=None, cover_upload_url=None, id_card_image1_upload_url=None, id_card_image2_upload_url=None, grant_file_upload_url=None, x_request_id=None): """Create2dModelTrainingJobResponse The model defined in huaweicloud sdk @@ -46,6 +50,10 @@ def __init__(self, job_id=None, training_video_upload_url=None, cover_upload_url :type job_id: str :param training_video_upload_url: 分身数字人训练视频上传URL。该url在文件上传成功后失效,只能上传一次。注意:视频必须是1080p或者4K分辨率(横、竖屏皆可)的mp4格式,视频长度须大于等于3分钟且小于等于10分钟,否则审核会不通过。 :type training_video_upload_url: list[str] + :param action_video_upload_url: 分身数字人训练视频上传URL。该url在文件上传成功后失效,只能上传一次。注意:视频必须是1080p或者4K分辨率(横、竖屏皆可)的mp4格式,视频长度须大于等于3分钟且小于等于10分钟,否则审核会不通过。 + :type action_video_upload_url: list[str] + :param audio_upload_url: 音频数据训练上传URL。该url在文件上传成功后失效,只能上传一次 + :type audio_upload_url: str :param cover_upload_url: 模型封面上传URL。该URL在文件上传成功后失效,只能上传一次。 :type cover_upload_url: str :param id_card_image1_upload_url: 身份证正面照片上传URL。该URL在文件上传成功后失效,只能上传一次。注意:非NA用户必须上传,否则审核会不通过。 @@ -62,6 +70,8 @@ def __init__(self, job_id=None, training_video_upload_url=None, cover_upload_url self._job_id = None self._training_video_upload_url = None + self._action_video_upload_url = None + self._audio_upload_url = None self._cover_upload_url = None self._id_card_image1_upload_url = None self._id_card_image2_upload_url = None @@ -73,6 +83,10 @@ def __init__(self, job_id=None, training_video_upload_url=None, cover_upload_url self.job_id = job_id if training_video_upload_url is not None: self.training_video_upload_url = training_video_upload_url + if action_video_upload_url is not None: + self.action_video_upload_url = action_video_upload_url + if audio_upload_url is not None: + self.audio_upload_url = audio_upload_url if cover_upload_url is not None: self.cover_upload_url = cover_upload_url if id_card_image1_upload_url is not None: @@ -128,6 +142,50 @@ def training_video_upload_url(self, training_video_upload_url): """ self._training_video_upload_url = training_video_upload_url + @property + def action_video_upload_url(self): + """Gets the action_video_upload_url of this Create2dModelTrainingJobResponse. + + 分身数字人训练视频上传URL。该url在文件上传成功后失效,只能上传一次。注意:视频必须是1080p或者4K分辨率(横、竖屏皆可)的mp4格式,视频长度须大于等于3分钟且小于等于10分钟,否则审核会不通过。 + + :return: The action_video_upload_url of this Create2dModelTrainingJobResponse. + :rtype: list[str] + """ + return self._action_video_upload_url + + @action_video_upload_url.setter + def action_video_upload_url(self, action_video_upload_url): + """Sets the action_video_upload_url of this Create2dModelTrainingJobResponse. + + 分身数字人训练视频上传URL。该url在文件上传成功后失效,只能上传一次。注意:视频必须是1080p或者4K分辨率(横、竖屏皆可)的mp4格式,视频长度须大于等于3分钟且小于等于10分钟,否则审核会不通过。 + + :param action_video_upload_url: The action_video_upload_url of this Create2dModelTrainingJobResponse. + :type action_video_upload_url: list[str] + """ + self._action_video_upload_url = action_video_upload_url + + @property + def audio_upload_url(self): + """Gets the audio_upload_url of this Create2dModelTrainingJobResponse. + + 音频数据训练上传URL。该url在文件上传成功后失效,只能上传一次 + + :return: The audio_upload_url of this Create2dModelTrainingJobResponse. + :rtype: str + """ + return self._audio_upload_url + + @audio_upload_url.setter + def audio_upload_url(self, audio_upload_url): + """Sets the audio_upload_url of this Create2dModelTrainingJobResponse. + + 音频数据训练上传URL。该url在文件上传成功后失效,只能上传一次 + + :param audio_upload_url: The audio_upload_url of this Create2dModelTrainingJobResponse. + :type audio_upload_url: str + """ + self._audio_upload_url = audio_upload_url + @property def cover_upload_url(self): """Gets the cover_upload_url of this Create2dModelTrainingJobResponse. diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_smart_chat_room_req.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_smart_chat_room_req.py index b96ff020b9..5535b297fc 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_smart_chat_room_req.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_smart_chat_room_req.py @@ -63,7 +63,7 @@ def __init__(self, room_name=None, room_description=None, video_config=None, mod :type voice_config: :class:`huaweicloudsdkmetastudio.v1.VoiceConfig` :param robot_id: 机器人ID。获取方法请参考[创建应用](CreateRobot.xml)。 :type robot_id: str - :param concurrency: 并发路数。 + :param concurrency: **参数解释**: 并发路数。 :type concurrency: int :param background_config: :type background_config: :class:`huaweicloudsdkmetastudio.v1.BackgroundConfigInfo` @@ -245,7 +245,7 @@ def robot_id(self, robot_id): def concurrency(self): """Gets the concurrency of this CreateSmartChatRoomReq. - 并发路数。 + **参数解释**: 并发路数。 :return: The concurrency of this CreateSmartChatRoomReq. :rtype: int @@ -256,7 +256,7 @@ def concurrency(self): def concurrency(self, concurrency): """Sets the concurrency of this CreateSmartChatRoomReq. - 并发路数。 + **参数解释**: 并发路数。 :param concurrency: The concurrency of this CreateSmartChatRoomReq. :type concurrency: int diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_smart_live_room_req.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_smart_live_room_req.py index 8128b855f2..c5239938e1 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_smart_live_room_req.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_smart_live_room_req.py @@ -61,11 +61,11 @@ def __init__(self, room_name=None, room_description=None, room_type=None, scene_ The model defined in huaweicloud sdk - :param room_name: 直播间名称 + :param room_name: **参数解释**: 直播间名称。 **约束限制**: 不涉及。 **取值范围**: 字符长度1-256位。 **默认取值**: 不涉及。 :type room_name: str - :param room_description: 直播间描述。 + :param room_description: **参数解释**: 直播间描述。 **约束限制**: 不涉及。 **取值范围**: 字符长度0-1024位。 **默认取值**: 不涉及。 :type room_description: str - :param room_type: 直播间类型。 * NORMAL: 普通直播间,直播间一直存在,可以反复开播 * TEMP: 临时直播间,直播任务结束后自动清理直播间。 * TEMPLATE: 直播间模板。 + :param room_type: **参数解释**: 直播间类型。 **约束限制**: 不涉及。 **取值范围**: * NORMAL:普通直播间,直播间一直存在,可以反复开播 * TEMP:临时直播间,直播任务结束后自动清理直播间。 * TEMPLATE:直播间模板。 :type room_type: str :param scene_scripts: 默认直播剧本列表。 :type scene_scripts: list[:class:`huaweicloudsdkmetastudio.v1.LiveVideoScriptInfo`] @@ -75,11 +75,11 @@ def __init__(self, room_name=None, room_description=None, room_type=None, scene_ :type play_policy: :class:`huaweicloudsdkmetastudio.v1.PlayPolicy` :param video_config: :type video_config: :class:`huaweicloudsdkmetastudio.v1.VideoConfig` - :param output_urls: RTMP视频推流第三方直播平台地址。 + :param output_urls: **参数解释**: RTMP视频推流第三方直播平台地址。 > 直播过程中刷新地址,需要调用COMMAND命令REFRESH_OUTPUT_URL。 **约束限制**: 不涉及 **取值范围**: 当前仅支持一条RTMP出流地址。 **默认取值**: 不涉及。 :type output_urls: list[str] - :param stream_keys: RTMP视频推流第三方直播平台流秘钥,与推流地址对应。 + :param stream_keys: **参数解释**: RTMP视频推流第三方直播平台流密钥,与推流地址对应。 > 直播过程中刷新地址,需要调用COMMAND命令REFRESH_OUTPUT_URL。 **约束限制**: 不涉及 **取值范围**: 当前仅支持一条RTMP出流地址。 **默认取值**: 不涉及。 :type stream_keys: list[str] - :param backup_model_asset_ids: 主播轮换时备选主播数字人资产ID(仅形象资产,不包含音色),可以从资产库中查询。 + :param backup_model_asset_ids: **参数解释**: 主播轮换时备选主播数字人资产ID(仅形象资产,不包含声音)。 **约束限制**: 不涉及 **取值范围**: 当前最大支持5个备选主播。 数字人资产ID,字符长度0-64位。 **默认取值**: 不涉及 :type backup_model_asset_ids: list[str] :param live_event_callback_config: :type live_event_callback_config: :class:`huaweicloudsdkmetastudio.v1.LiveEventCallBackConfig` @@ -89,11 +89,11 @@ def __init__(self, room_name=None, room_description=None, room_type=None, scene_ :type review_config: :class:`huaweicloudsdkmetastudio.v1.ReviewConfig` :param shared_config: :type shared_config: :class:`huaweicloudsdkmetastudio.v1.SharedConfig` - :param view_mode: 横竖屏类型。默认值为:VERTICAL。 * LANDSCAPE:横屏。 * VERTICAL: 竖屏。 + :param view_mode: **参数解释**: 横竖屏类型。 **约束限制**: 用户无需填写,通过video_config中分辨率判断 **取值范围**: * LANDSCAPE:横屏。 * VERTICAL: 竖屏。 :type view_mode: str :param co_streamer_config: :type co_streamer_config: :class:`huaweicloudsdkmetastudio.v1.CoStreamerConfig` - :param priv_data: 私有数据,用户填写,原样带回。 + :param priv_data: **参数解释**: 匹配值私有数据,用户填写,原样带回。 **约束限制**: 不涉及 **取值范围**: 字符长度0-8192 **默认取值**: 不涉及。 :type priv_data: str """ @@ -156,7 +156,7 @@ def __init__(self, room_name=None, room_description=None, room_type=None, scene_ def room_name(self): """Gets the room_name of this CreateSmartLiveRoomReq. - 直播间名称 + **参数解释**: 直播间名称。 **约束限制**: 不涉及。 **取值范围**: 字符长度1-256位。 **默认取值**: 不涉及。 :return: The room_name of this CreateSmartLiveRoomReq. :rtype: str @@ -167,7 +167,7 @@ def room_name(self): def room_name(self, room_name): """Sets the room_name of this CreateSmartLiveRoomReq. - 直播间名称 + **参数解释**: 直播间名称。 **约束限制**: 不涉及。 **取值范围**: 字符长度1-256位。 **默认取值**: 不涉及。 :param room_name: The room_name of this CreateSmartLiveRoomReq. :type room_name: str @@ -178,7 +178,7 @@ def room_name(self, room_name): def room_description(self): """Gets the room_description of this CreateSmartLiveRoomReq. - 直播间描述。 + **参数解释**: 直播间描述。 **约束限制**: 不涉及。 **取值范围**: 字符长度0-1024位。 **默认取值**: 不涉及。 :return: The room_description of this CreateSmartLiveRoomReq. :rtype: str @@ -189,7 +189,7 @@ def room_description(self): def room_description(self, room_description): """Sets the room_description of this CreateSmartLiveRoomReq. - 直播间描述。 + **参数解释**: 直播间描述。 **约束限制**: 不涉及。 **取值范围**: 字符长度0-1024位。 **默认取值**: 不涉及。 :param room_description: The room_description of this CreateSmartLiveRoomReq. :type room_description: str @@ -200,7 +200,7 @@ def room_description(self, room_description): def room_type(self): """Gets the room_type of this CreateSmartLiveRoomReq. - 直播间类型。 * NORMAL: 普通直播间,直播间一直存在,可以反复开播 * TEMP: 临时直播间,直播任务结束后自动清理直播间。 * TEMPLATE: 直播间模板。 + **参数解释**: 直播间类型。 **约束限制**: 不涉及。 **取值范围**: * NORMAL:普通直播间,直播间一直存在,可以反复开播 * TEMP:临时直播间,直播任务结束后自动清理直播间。 * TEMPLATE:直播间模板。 :return: The room_type of this CreateSmartLiveRoomReq. :rtype: str @@ -211,7 +211,7 @@ def room_type(self): def room_type(self, room_type): """Sets the room_type of this CreateSmartLiveRoomReq. - 直播间类型。 * NORMAL: 普通直播间,直播间一直存在,可以反复开播 * TEMP: 临时直播间,直播任务结束后自动清理直播间。 * TEMPLATE: 直播间模板。 + **参数解释**: 直播间类型。 **约束限制**: 不涉及。 **取值范围**: * NORMAL:普通直播间,直播间一直存在,可以反复开播 * TEMP:临时直播间,直播任务结束后自动清理直播间。 * TEMPLATE:直播间模板。 :param room_type: The room_type of this CreateSmartLiveRoomReq. :type room_type: str @@ -302,7 +302,7 @@ def video_config(self, video_config): def output_urls(self): """Gets the output_urls of this CreateSmartLiveRoomReq. - RTMP视频推流第三方直播平台地址。 + **参数解释**: RTMP视频推流第三方直播平台地址。 > 直播过程中刷新地址,需要调用COMMAND命令REFRESH_OUTPUT_URL。 **约束限制**: 不涉及 **取值范围**: 当前仅支持一条RTMP出流地址。 **默认取值**: 不涉及。 :return: The output_urls of this CreateSmartLiveRoomReq. :rtype: list[str] @@ -313,7 +313,7 @@ def output_urls(self): def output_urls(self, output_urls): """Sets the output_urls of this CreateSmartLiveRoomReq. - RTMP视频推流第三方直播平台地址。 + **参数解释**: RTMP视频推流第三方直播平台地址。 > 直播过程中刷新地址,需要调用COMMAND命令REFRESH_OUTPUT_URL。 **约束限制**: 不涉及 **取值范围**: 当前仅支持一条RTMP出流地址。 **默认取值**: 不涉及。 :param output_urls: The output_urls of this CreateSmartLiveRoomReq. :type output_urls: list[str] @@ -324,7 +324,7 @@ def output_urls(self, output_urls): def stream_keys(self): """Gets the stream_keys of this CreateSmartLiveRoomReq. - RTMP视频推流第三方直播平台流秘钥,与推流地址对应。 + **参数解释**: RTMP视频推流第三方直播平台流密钥,与推流地址对应。 > 直播过程中刷新地址,需要调用COMMAND命令REFRESH_OUTPUT_URL。 **约束限制**: 不涉及 **取值范围**: 当前仅支持一条RTMP出流地址。 **默认取值**: 不涉及。 :return: The stream_keys of this CreateSmartLiveRoomReq. :rtype: list[str] @@ -335,7 +335,7 @@ def stream_keys(self): def stream_keys(self, stream_keys): """Sets the stream_keys of this CreateSmartLiveRoomReq. - RTMP视频推流第三方直播平台流秘钥,与推流地址对应。 + **参数解释**: RTMP视频推流第三方直播平台流密钥,与推流地址对应。 > 直播过程中刷新地址,需要调用COMMAND命令REFRESH_OUTPUT_URL。 **约束限制**: 不涉及 **取值范围**: 当前仅支持一条RTMP出流地址。 **默认取值**: 不涉及。 :param stream_keys: The stream_keys of this CreateSmartLiveRoomReq. :type stream_keys: list[str] @@ -346,7 +346,7 @@ def stream_keys(self, stream_keys): def backup_model_asset_ids(self): """Gets the backup_model_asset_ids of this CreateSmartLiveRoomReq. - 主播轮换时备选主播数字人资产ID(仅形象资产,不包含音色),可以从资产库中查询。 + **参数解释**: 主播轮换时备选主播数字人资产ID(仅形象资产,不包含声音)。 **约束限制**: 不涉及 **取值范围**: 当前最大支持5个备选主播。 数字人资产ID,字符长度0-64位。 **默认取值**: 不涉及 :return: The backup_model_asset_ids of this CreateSmartLiveRoomReq. :rtype: list[str] @@ -357,7 +357,7 @@ def backup_model_asset_ids(self): def backup_model_asset_ids(self, backup_model_asset_ids): """Sets the backup_model_asset_ids of this CreateSmartLiveRoomReq. - 主播轮换时备选主播数字人资产ID(仅形象资产,不包含音色),可以从资产库中查询。 + **参数解释**: 主播轮换时备选主播数字人资产ID(仅形象资产,不包含声音)。 **约束限制**: 不涉及 **取值范围**: 当前最大支持5个备选主播。 数字人资产ID,字符长度0-64位。 **默认取值**: 不涉及 :param backup_model_asset_ids: The backup_model_asset_ids of this CreateSmartLiveRoomReq. :type backup_model_asset_ids: list[str] @@ -440,7 +440,7 @@ def shared_config(self, shared_config): def view_mode(self): """Gets the view_mode of this CreateSmartLiveRoomReq. - 横竖屏类型。默认值为:VERTICAL。 * LANDSCAPE:横屏。 * VERTICAL: 竖屏。 + **参数解释**: 横竖屏类型。 **约束限制**: 用户无需填写,通过video_config中分辨率判断 **取值范围**: * LANDSCAPE:横屏。 * VERTICAL: 竖屏。 :return: The view_mode of this CreateSmartLiveRoomReq. :rtype: str @@ -451,7 +451,7 @@ def view_mode(self): def view_mode(self, view_mode): """Sets the view_mode of this CreateSmartLiveRoomReq. - 横竖屏类型。默认值为:VERTICAL。 * LANDSCAPE:横屏。 * VERTICAL: 竖屏。 + **参数解释**: 横竖屏类型。 **约束限制**: 用户无需填写,通过video_config中分辨率判断 **取值范围**: * LANDSCAPE:横屏。 * VERTICAL: 竖屏。 :param view_mode: The view_mode of this CreateSmartLiveRoomReq. :type view_mode: str @@ -480,7 +480,7 @@ def co_streamer_config(self, co_streamer_config): def priv_data(self): """Gets the priv_data of this CreateSmartLiveRoomReq. - 私有数据,用户填写,原样带回。 + **参数解释**: 匹配值私有数据,用户填写,原样带回。 **约束限制**: 不涉及 **取值范围**: 字符长度0-8192 **默认取值**: 不涉及。 :return: The priv_data of this CreateSmartLiveRoomReq. :rtype: str @@ -491,7 +491,7 @@ def priv_data(self): def priv_data(self, priv_data): """Sets the priv_data of this CreateSmartLiveRoomReq. - 私有数据,用户填写,原样带回。 + **参数解释**: 匹配值私有数据,用户填写,原样带回。 **约束限制**: 不涉及 **取值范围**: 字符长度0-8192 **默认取值**: 不涉及。 :param priv_data: The priv_data of this CreateSmartLiveRoomReq. :type priv_data: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_video_scripts_req.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_video_scripts_req.py index d652ae9330..bd0fe3f9ef 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_video_scripts_req.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/create_video_scripts_req.py @@ -51,23 +51,23 @@ def __init__(self, script_name=None, script_description=None, view_mode=None, mo The model defined in huaweicloud sdk - :param script_name: 剧本名称 + :param script_name: **参数解释**: 剧本名称。 **约束限制**: 不涉及。 **取值范围**: 只能使用中英文字符,字符长度1-256位。 **默认取值**: 不涉及。 :type script_name: str - :param script_description: 剧本描述。 + :param script_description: **参数解释**: 剧本描述。 **约束限制**: 不涉及。 **取值范围**: 字符长度0-1024位。 **默认取值**: 不涉及。 :type script_description: str - :param view_mode: 横竖屏类型。默认值是LANDSCAPE。 * LANDSCAPE:横屏。 * VERTICAL: 竖屏。 + :param view_mode: **参数解释**: 横竖屏类型。 **约束限制**: 不涉及。 **取值范围**: * LANDSCAPE:横屏。 * VERTICAL:竖屏。 :type view_mode: str - :param model_asset_id: 数字人模型资产ID,可以从资产库中查询。 + :param model_asset_id: **参数解释**: 数字人模型资产ID。 **约束限制**: 不涉及 **取值范围**: 字符长度0-64位。 **默认取值**: 不涉及 :type model_asset_id: str - :param model_asset_type: 数字人模型类型。 * HUMAN_MODEL_2D:分身数字人 * HUMAN_MODEL_3D:3D数字人 + :param model_asset_type: **参数解释**: 数字人模型类型。 **约束限制**: 不涉及 **取值范围**: * HUMAN_MODEL_2D:分身数字人 * HUMAN_MODEL_3D:3D数字人 **默认取值**: 不涉及 :type model_asset_type: str :param voice_config: :type voice_config: :class:`huaweicloudsdkmetastudio.v1.VoiceConfig` :param video_config: :type video_config: :class:`huaweicloudsdkmetastudio.v1.VideoConfig` - :param scene_asset_id: 场景资产ID。 > * 分身数字人视频制作不需要填写该参数。 > * 若填写,可以从资产库中查询。 + :param scene_asset_id: **参数解释**: 场景资产ID。 **约束限制**: 分身数字人视频制作不需要填写该参数。 **取值范围**: 字符长度0-64位 **默认取值**: 不涉及 :type scene_asset_id: str - :param priv_data: 私有数据,用户填写,原样带回。 + :param priv_data: **参数解释**: 私有数据,用户填写,原样带回。 **约束限制**: 不涉及 **取值范围**: 字符长度0-8192位 **默认取值**: 不涉及 :type priv_data: str :param background_music_config: :type background_music_config: :class:`huaweicloudsdkmetastudio.v1.BackgroundMusicConfig` @@ -122,7 +122,7 @@ def __init__(self, script_name=None, script_description=None, view_mode=None, mo def script_name(self): """Gets the script_name of this CreateVideoScriptsReq. - 剧本名称 + **参数解释**: 剧本名称。 **约束限制**: 不涉及。 **取值范围**: 只能使用中英文字符,字符长度1-256位。 **默认取值**: 不涉及。 :return: The script_name of this CreateVideoScriptsReq. :rtype: str @@ -133,7 +133,7 @@ def script_name(self): def script_name(self, script_name): """Sets the script_name of this CreateVideoScriptsReq. - 剧本名称 + **参数解释**: 剧本名称。 **约束限制**: 不涉及。 **取值范围**: 只能使用中英文字符,字符长度1-256位。 **默认取值**: 不涉及。 :param script_name: The script_name of this CreateVideoScriptsReq. :type script_name: str @@ -144,7 +144,7 @@ def script_name(self, script_name): def script_description(self): """Gets the script_description of this CreateVideoScriptsReq. - 剧本描述。 + **参数解释**: 剧本描述。 **约束限制**: 不涉及。 **取值范围**: 字符长度0-1024位。 **默认取值**: 不涉及。 :return: The script_description of this CreateVideoScriptsReq. :rtype: str @@ -155,7 +155,7 @@ def script_description(self): def script_description(self, script_description): """Sets the script_description of this CreateVideoScriptsReq. - 剧本描述。 + **参数解释**: 剧本描述。 **约束限制**: 不涉及。 **取值范围**: 字符长度0-1024位。 **默认取值**: 不涉及。 :param script_description: The script_description of this CreateVideoScriptsReq. :type script_description: str @@ -166,7 +166,7 @@ def script_description(self, script_description): def view_mode(self): """Gets the view_mode of this CreateVideoScriptsReq. - 横竖屏类型。默认值是LANDSCAPE。 * LANDSCAPE:横屏。 * VERTICAL: 竖屏。 + **参数解释**: 横竖屏类型。 **约束限制**: 不涉及。 **取值范围**: * LANDSCAPE:横屏。 * VERTICAL:竖屏。 :return: The view_mode of this CreateVideoScriptsReq. :rtype: str @@ -177,7 +177,7 @@ def view_mode(self): def view_mode(self, view_mode): """Sets the view_mode of this CreateVideoScriptsReq. - 横竖屏类型。默认值是LANDSCAPE。 * LANDSCAPE:横屏。 * VERTICAL: 竖屏。 + **参数解释**: 横竖屏类型。 **约束限制**: 不涉及。 **取值范围**: * LANDSCAPE:横屏。 * VERTICAL:竖屏。 :param view_mode: The view_mode of this CreateVideoScriptsReq. :type view_mode: str @@ -188,7 +188,7 @@ def view_mode(self, view_mode): def model_asset_id(self): """Gets the model_asset_id of this CreateVideoScriptsReq. - 数字人模型资产ID,可以从资产库中查询。 + **参数解释**: 数字人模型资产ID。 **约束限制**: 不涉及 **取值范围**: 字符长度0-64位。 **默认取值**: 不涉及 :return: The model_asset_id of this CreateVideoScriptsReq. :rtype: str @@ -199,7 +199,7 @@ def model_asset_id(self): def model_asset_id(self, model_asset_id): """Sets the model_asset_id of this CreateVideoScriptsReq. - 数字人模型资产ID,可以从资产库中查询。 + **参数解释**: 数字人模型资产ID。 **约束限制**: 不涉及 **取值范围**: 字符长度0-64位。 **默认取值**: 不涉及 :param model_asset_id: The model_asset_id of this CreateVideoScriptsReq. :type model_asset_id: str @@ -210,7 +210,7 @@ def model_asset_id(self, model_asset_id): def model_asset_type(self): """Gets the model_asset_type of this CreateVideoScriptsReq. - 数字人模型类型。 * HUMAN_MODEL_2D:分身数字人 * HUMAN_MODEL_3D:3D数字人 + **参数解释**: 数字人模型类型。 **约束限制**: 不涉及 **取值范围**: * HUMAN_MODEL_2D:分身数字人 * HUMAN_MODEL_3D:3D数字人 **默认取值**: 不涉及 :return: The model_asset_type of this CreateVideoScriptsReq. :rtype: str @@ -221,7 +221,7 @@ def model_asset_type(self): def model_asset_type(self, model_asset_type): """Sets the model_asset_type of this CreateVideoScriptsReq. - 数字人模型类型。 * HUMAN_MODEL_2D:分身数字人 * HUMAN_MODEL_3D:3D数字人 + **参数解释**: 数字人模型类型。 **约束限制**: 不涉及 **取值范围**: * HUMAN_MODEL_2D:分身数字人 * HUMAN_MODEL_3D:3D数字人 **默认取值**: 不涉及 :param model_asset_type: The model_asset_type of this CreateVideoScriptsReq. :type model_asset_type: str @@ -268,7 +268,7 @@ def video_config(self, video_config): def scene_asset_id(self): """Gets the scene_asset_id of this CreateVideoScriptsReq. - 场景资产ID。 > * 分身数字人视频制作不需要填写该参数。 > * 若填写,可以从资产库中查询。 + **参数解释**: 场景资产ID。 **约束限制**: 分身数字人视频制作不需要填写该参数。 **取值范围**: 字符长度0-64位 **默认取值**: 不涉及 :return: The scene_asset_id of this CreateVideoScriptsReq. :rtype: str @@ -279,7 +279,7 @@ def scene_asset_id(self): def scene_asset_id(self, scene_asset_id): """Sets the scene_asset_id of this CreateVideoScriptsReq. - 场景资产ID。 > * 分身数字人视频制作不需要填写该参数。 > * 若填写,可以从资产库中查询。 + **参数解释**: 场景资产ID。 **约束限制**: 分身数字人视频制作不需要填写该参数。 **取值范围**: 字符长度0-64位 **默认取值**: 不涉及 :param scene_asset_id: The scene_asset_id of this CreateVideoScriptsReq. :type scene_asset_id: str @@ -290,7 +290,7 @@ def scene_asset_id(self, scene_asset_id): def priv_data(self): """Gets the priv_data of this CreateVideoScriptsReq. - 私有数据,用户填写,原样带回。 + **参数解释**: 私有数据,用户填写,原样带回。 **约束限制**: 不涉及 **取值范围**: 字符长度0-8192位 **默认取值**: 不涉及 :return: The priv_data of this CreateVideoScriptsReq. :rtype: str @@ -301,7 +301,7 @@ def priv_data(self): def priv_data(self, priv_data): """Sets the priv_data of this CreateVideoScriptsReq. - 私有数据,用户填写,原样带回。 + **参数解释**: 私有数据,用户填写,原样带回。 **约束限制**: 不涉及 **取值范围**: 字符长度0-8192位 **默认取值**: 不涉及 :param priv_data: The priv_data of this CreateVideoScriptsReq. :type priv_data: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/digital_human_video.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/digital_human_video.py index eac26d5330..5662d740f0 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/digital_human_video.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/digital_human_video.py @@ -57,7 +57,7 @@ def __init__(self, job_id=None, state=None, job_type=None, start_time=None, end_ :type start_time: str :param end_time: 数字人视频制作结束时间。 :type end_time: str - :param duration: 数字人视频内容时长。 + :param duration: **参数解释**: 数字人视频内容时长。 :type duration: float :param output_asset_config: :type output_asset_config: :class:`huaweicloudsdkmetastudio.v1.OutputAssetInfo` @@ -216,7 +216,7 @@ def end_time(self, end_time): def duration(self): """Gets the duration of this DigitalHumanVideo. - 数字人视频内容时长。 + **参数解释**: 数字人视频内容时长。 :return: The duration of this DigitalHumanVideo. :rtype: float @@ -227,7 +227,7 @@ def duration(self): def duration(self, duration): """Sets the duration of this DigitalHumanVideo. - 数字人视频内容时长。 + **参数解释**: 数字人视频内容时长。 :param duration: The duration of this DigitalHumanVideo. :type duration: float diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/execute2d_model_training_command_by_user_req.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/execute2d_model_training_command_by_user_req.py index a4d25edb94..bb49476f94 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/execute2d_model_training_command_by_user_req.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/execute2d_model_training_command_by_user_req.py @@ -33,9 +33,9 @@ def __init__(self, command=None, command_message=None, comment_data=None): The model defined in huaweicloud sdk - :param command: 命令类型。 * SUBMITVERIFYING: 提交审核 * CONFIRM_ACCEPT:用户确认训练效果 * CONFIRM_REJECT:用户驳回训练效果 * CONFIRM_ANSWER:用户答复 * CONFIRM_PENDING:用户挂起任务 * CONFIRM_ACTIVE:用户激活任务 * GET_MULTIPART_UPLOADED:获取已上传分片信息 * CONFIRM_MULTIPART_UPLOADED:确认视频所有分片文件已上传 > * CONFIRM_ACCEPT/CONFIRM_REJECT/CONFIRM_ANSWER/CONFIRM_PENDING/CONFIRM_ACTIVE命令仅NA白名单用户可用。 + :param command: 命令类型。 * SUBMITVERIFYING: 提交审核 * CONFIRM_ACCEPT:用户确认训练效果 * CONFIRM_REJECT:用户驳回训练效果 * CONFIRM_ANSWER:用户答复 * CONFIRM_PENDING:用户挂起任务 * CONFIRM_ACTIVE:用户激活任务 * GET_MULTIPART_UPLOADED:获取训练视频分片上传地址 * CONFIRM_REPAIR:用户发起优化模型请求 * GET_MULTIPART_UPLOADED:获取训练视频已上传分片信息 * CONFIRM_MULTIPART_UPLOADED:确认训练视频所有分片文件已上传 * GET_ACTION_VIDEO_MULTIPART_UPLOADED:获取动作编排视频分片上传地址 * CONFIRM_ACTION_VIDEO_MULTIPART_UPLOADED:确认动作编排视频所有分片文件已上传 > * CONFIRM_ACCEPT/CONFIRM_REJECT/CONFIRM_ANSWER/CONFIRM_PENDING/CONFIRM_ACTIVE命令仅NA白名单用户可用。 :type command: str - :param command_message: 命令类型: * UPDATE_VIDEO: 更新视频 * UPLOAD_VIDEO: 上传视频 + :param command_message: 命令类型: * UPDATE_VIDEO: 更新视频 * UPLOAD_VIDEO: 上传视频 * CONFIRM_ACTION_VIDEO: 确认动作编排视频 * GET_ACTION_VIDEO_MULTIPART: 获取动作编排视频分片 :type command_message: str :param comment_data: :type comment_data: :class:`huaweicloudsdkmetastudio.v1.CommentData` @@ -58,7 +58,7 @@ def __init__(self, command=None, command_message=None, comment_data=None): def command(self): """Gets the command of this Execute2dModelTrainingCommandByUserReq. - 命令类型。 * SUBMITVERIFYING: 提交审核 * CONFIRM_ACCEPT:用户确认训练效果 * CONFIRM_REJECT:用户驳回训练效果 * CONFIRM_ANSWER:用户答复 * CONFIRM_PENDING:用户挂起任务 * CONFIRM_ACTIVE:用户激活任务 * GET_MULTIPART_UPLOADED:获取已上传分片信息 * CONFIRM_MULTIPART_UPLOADED:确认视频所有分片文件已上传 > * CONFIRM_ACCEPT/CONFIRM_REJECT/CONFIRM_ANSWER/CONFIRM_PENDING/CONFIRM_ACTIVE命令仅NA白名单用户可用。 + 命令类型。 * SUBMITVERIFYING: 提交审核 * CONFIRM_ACCEPT:用户确认训练效果 * CONFIRM_REJECT:用户驳回训练效果 * CONFIRM_ANSWER:用户答复 * CONFIRM_PENDING:用户挂起任务 * CONFIRM_ACTIVE:用户激活任务 * GET_MULTIPART_UPLOADED:获取训练视频分片上传地址 * CONFIRM_REPAIR:用户发起优化模型请求 * GET_MULTIPART_UPLOADED:获取训练视频已上传分片信息 * CONFIRM_MULTIPART_UPLOADED:确认训练视频所有分片文件已上传 * GET_ACTION_VIDEO_MULTIPART_UPLOADED:获取动作编排视频分片上传地址 * CONFIRM_ACTION_VIDEO_MULTIPART_UPLOADED:确认动作编排视频所有分片文件已上传 > * CONFIRM_ACCEPT/CONFIRM_REJECT/CONFIRM_ANSWER/CONFIRM_PENDING/CONFIRM_ACTIVE命令仅NA白名单用户可用。 :return: The command of this Execute2dModelTrainingCommandByUserReq. :rtype: str @@ -69,7 +69,7 @@ def command(self): def command(self, command): """Sets the command of this Execute2dModelTrainingCommandByUserReq. - 命令类型。 * SUBMITVERIFYING: 提交审核 * CONFIRM_ACCEPT:用户确认训练效果 * CONFIRM_REJECT:用户驳回训练效果 * CONFIRM_ANSWER:用户答复 * CONFIRM_PENDING:用户挂起任务 * CONFIRM_ACTIVE:用户激活任务 * GET_MULTIPART_UPLOADED:获取已上传分片信息 * CONFIRM_MULTIPART_UPLOADED:确认视频所有分片文件已上传 > * CONFIRM_ACCEPT/CONFIRM_REJECT/CONFIRM_ANSWER/CONFIRM_PENDING/CONFIRM_ACTIVE命令仅NA白名单用户可用。 + 命令类型。 * SUBMITVERIFYING: 提交审核 * CONFIRM_ACCEPT:用户确认训练效果 * CONFIRM_REJECT:用户驳回训练效果 * CONFIRM_ANSWER:用户答复 * CONFIRM_PENDING:用户挂起任务 * CONFIRM_ACTIVE:用户激活任务 * GET_MULTIPART_UPLOADED:获取训练视频分片上传地址 * CONFIRM_REPAIR:用户发起优化模型请求 * GET_MULTIPART_UPLOADED:获取训练视频已上传分片信息 * CONFIRM_MULTIPART_UPLOADED:确认训练视频所有分片文件已上传 * GET_ACTION_VIDEO_MULTIPART_UPLOADED:获取动作编排视频分片上传地址 * CONFIRM_ACTION_VIDEO_MULTIPART_UPLOADED:确认动作编排视频所有分片文件已上传 > * CONFIRM_ACCEPT/CONFIRM_REJECT/CONFIRM_ANSWER/CONFIRM_PENDING/CONFIRM_ACTIVE命令仅NA白名单用户可用。 :param command: The command of this Execute2dModelTrainingCommandByUserReq. :type command: str @@ -80,7 +80,7 @@ def command(self, command): def command_message(self): """Gets the command_message of this Execute2dModelTrainingCommandByUserReq. - 命令类型: * UPDATE_VIDEO: 更新视频 * UPLOAD_VIDEO: 上传视频 + 命令类型: * UPDATE_VIDEO: 更新视频 * UPLOAD_VIDEO: 上传视频 * CONFIRM_ACTION_VIDEO: 确认动作编排视频 * GET_ACTION_VIDEO_MULTIPART: 获取动作编排视频分片 :return: The command_message of this Execute2dModelTrainingCommandByUserReq. :rtype: str @@ -91,7 +91,7 @@ def command_message(self): def command_message(self, command_message): """Sets the command_message of this Execute2dModelTrainingCommandByUserReq. - 命令类型: * UPDATE_VIDEO: 更新视频 * UPLOAD_VIDEO: 上传视频 + 命令类型: * UPDATE_VIDEO: 更新视频 * UPLOAD_VIDEO: 上传视频 * CONFIRM_ACTION_VIDEO: 确认动作编排视频 * GET_ACTION_VIDEO_MULTIPART: 获取动作编排视频分片 :param command_message: The command_message of this Execute2dModelTrainingCommandByUserReq. :type command_message: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/execute2d_model_training_command_by_user_response.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/execute2d_model_training_command_by_user_response.py index b58afc04c2..9b2455257e 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/execute2d_model_training_command_by_user_response.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/execute2d_model_training_command_by_user_response.py @@ -21,6 +21,7 @@ class Execute2dModelTrainingCommandByUserResponse(SdkResponse): 'commond_result': 'str', 'attachment_upload_url': 'list[str]', 'multipart_data': 'list[MultipartUploadInfo]', + 'excute_failed_msg': 'str', 'x_request_id': 'str' } @@ -28,10 +29,11 @@ class Execute2dModelTrainingCommandByUserResponse(SdkResponse): 'commond_result': 'commond_result', 'attachment_upload_url': 'attachment_upload_url', 'multipart_data': 'multipart_data', + 'excute_failed_msg': 'excute_failed_msg', 'x_request_id': 'X-Request-Id' } - def __init__(self, commond_result=None, attachment_upload_url=None, multipart_data=None, x_request_id=None): + def __init__(self, commond_result=None, attachment_upload_url=None, multipart_data=None, excute_failed_msg=None, x_request_id=None): """Execute2dModelTrainingCommandByUserResponse The model defined in huaweicloud sdk @@ -42,6 +44,8 @@ def __init__(self, commond_result=None, attachment_upload_url=None, multipart_da :type attachment_upload_url: list[str] :param multipart_data: 训练视频已上传分片信息 :type multipart_data: list[:class:`huaweicloudsdkmetastudio.v1.MultipartUploadInfo`] + :param excute_failed_msg: 命令执行失败原因描述 + :type excute_failed_msg: str :param x_request_id: :type x_request_id: str """ @@ -51,6 +55,7 @@ def __init__(self, commond_result=None, attachment_upload_url=None, multipart_da self._commond_result = None self._attachment_upload_url = None self._multipart_data = None + self._excute_failed_msg = None self._x_request_id = None self.discriminator = None @@ -60,6 +65,8 @@ def __init__(self, commond_result=None, attachment_upload_url=None, multipart_da self.attachment_upload_url = attachment_upload_url if multipart_data is not None: self.multipart_data = multipart_data + if excute_failed_msg is not None: + self.excute_failed_msg = excute_failed_msg if x_request_id is not None: self.x_request_id = x_request_id @@ -129,6 +136,28 @@ def multipart_data(self, multipart_data): """ self._multipart_data = multipart_data + @property + def excute_failed_msg(self): + """Gets the excute_failed_msg of this Execute2dModelTrainingCommandByUserResponse. + + 命令执行失败原因描述 + + :return: The excute_failed_msg of this Execute2dModelTrainingCommandByUserResponse. + :rtype: str + """ + return self._excute_failed_msg + + @excute_failed_msg.setter + def excute_failed_msg(self, excute_failed_msg): + """Sets the excute_failed_msg of this Execute2dModelTrainingCommandByUserResponse. + + 命令执行失败原因描述 + + :param excute_failed_msg: The excute_failed_msg of this Execute2dModelTrainingCommandByUserResponse. + :type excute_failed_msg: str + """ + self._excute_failed_msg = excute_failed_msg + @property def x_request_id(self): """Gets the x_request_id of this Execute2dModelTrainingCommandByUserResponse. diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/execute_smart_live_command_response.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/execute_smart_live_command_response.py index 3dd457a784..8d8caa4fd9 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/execute_smart_live_command_response.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/execute_smart_live_command_response.py @@ -38,7 +38,7 @@ def __init__(self, command_id=None, command=None, result=None, x_request_id=None :param command_id: 控制命令ID :type command_id: str - :param command: 命令名称。 - INSERT_PLAY_SCRIPT: 插入表演脚本。用于互动回复。数字人不变,背景不变。params结构定义:ShootScript - REWRITE_PLAY_SCRIPT: 动态编辑未播放剧本。params结构定义:scene_scripts - INSERT_PLAY_AUDIO: 插入驱动音频。用于音频直接驱动。数字人不变,背景不变。params结构定义:PlayAudioInfo - GET_CURRENT_PLAYING_SCRIPTS: 查询本轮剧本列表。响应为LivePlayingScriptList结构 - REFRESH_OUTPUT_URL: 更新当前任务的rtmp推流信息。params结构定义: RefreshOutputUrlConfig - REWRITE_INTERACTION_RULES: 动态修改互动规则。params结构定义:interaction_rules - GET_LIVE_JOB_CONFIG_INFO: 获取任务中的房间信息。params结构定义:SmartLiveRoomInfo + :param command: 命令名称。 - INSERT_PLAY_SCRIPT:插入表演脚本。用于互动回复。数字人不变,背景不变。params结构定义:ShootScript。 - REWRITE_PLAY_SCRIPT:动态编辑未播放剧本。params结构定义:scene_scripts。 - INSERT_PLAY_AUDIO:插入驱动音频。用于音频直接驱动。数字人不变,背景不变。params结构定义:PlayAudioInfo。 - GET_CURRENT_PLAYING_SCRIPTS:查询本轮剧本列表。响应为LivePlayingScriptList结构。 - REFRESH_OUTPUT_URL:更新当前任务的rtmp推流信息。params结构定义: RefreshOutputUrlConfig。 - REWRITE_INTERACTION_RULES:动态修改互动规则。params结构定义:interaction_rules。 - GET_LIVE_JOB_CONFIG_INFO:获取任务中的房间信息。params结构定义:SmartLiveRoomInfo。 :type command: str :param result: 命令执行结果 :type result: str @@ -89,7 +89,7 @@ def command_id(self, command_id): def command(self): """Gets the command of this ExecuteSmartLiveCommandResponse. - 命令名称。 - INSERT_PLAY_SCRIPT: 插入表演脚本。用于互动回复。数字人不变,背景不变。params结构定义:ShootScript - REWRITE_PLAY_SCRIPT: 动态编辑未播放剧本。params结构定义:scene_scripts - INSERT_PLAY_AUDIO: 插入驱动音频。用于音频直接驱动。数字人不变,背景不变。params结构定义:PlayAudioInfo - GET_CURRENT_PLAYING_SCRIPTS: 查询本轮剧本列表。响应为LivePlayingScriptList结构 - REFRESH_OUTPUT_URL: 更新当前任务的rtmp推流信息。params结构定义: RefreshOutputUrlConfig - REWRITE_INTERACTION_RULES: 动态修改互动规则。params结构定义:interaction_rules - GET_LIVE_JOB_CONFIG_INFO: 获取任务中的房间信息。params结构定义:SmartLiveRoomInfo + 命令名称。 - INSERT_PLAY_SCRIPT:插入表演脚本。用于互动回复。数字人不变,背景不变。params结构定义:ShootScript。 - REWRITE_PLAY_SCRIPT:动态编辑未播放剧本。params结构定义:scene_scripts。 - INSERT_PLAY_AUDIO:插入驱动音频。用于音频直接驱动。数字人不变,背景不变。params结构定义:PlayAudioInfo。 - GET_CURRENT_PLAYING_SCRIPTS:查询本轮剧本列表。响应为LivePlayingScriptList结构。 - REFRESH_OUTPUT_URL:更新当前任务的rtmp推流信息。params结构定义: RefreshOutputUrlConfig。 - REWRITE_INTERACTION_RULES:动态修改互动规则。params结构定义:interaction_rules。 - GET_LIVE_JOB_CONFIG_INFO:获取任务中的房间信息。params结构定义:SmartLiveRoomInfo。 :return: The command of this ExecuteSmartLiveCommandResponse. :rtype: str @@ -100,7 +100,7 @@ def command(self): def command(self, command): """Sets the command of this ExecuteSmartLiveCommandResponse. - 命令名称。 - INSERT_PLAY_SCRIPT: 插入表演脚本。用于互动回复。数字人不变,背景不变。params结构定义:ShootScript - REWRITE_PLAY_SCRIPT: 动态编辑未播放剧本。params结构定义:scene_scripts - INSERT_PLAY_AUDIO: 插入驱动音频。用于音频直接驱动。数字人不变,背景不变。params结构定义:PlayAudioInfo - GET_CURRENT_PLAYING_SCRIPTS: 查询本轮剧本列表。响应为LivePlayingScriptList结构 - REFRESH_OUTPUT_URL: 更新当前任务的rtmp推流信息。params结构定义: RefreshOutputUrlConfig - REWRITE_INTERACTION_RULES: 动态修改互动规则。params结构定义:interaction_rules - GET_LIVE_JOB_CONFIG_INFO: 获取任务中的房间信息。params结构定义:SmartLiveRoomInfo + 命令名称。 - INSERT_PLAY_SCRIPT:插入表演脚本。用于互动回复。数字人不变,背景不变。params结构定义:ShootScript。 - REWRITE_PLAY_SCRIPT:动态编辑未播放剧本。params结构定义:scene_scripts。 - INSERT_PLAY_AUDIO:插入驱动音频。用于音频直接驱动。数字人不变,背景不变。params结构定义:PlayAudioInfo。 - GET_CURRENT_PLAYING_SCRIPTS:查询本轮剧本列表。响应为LivePlayingScriptList结构。 - REFRESH_OUTPUT_URL:更新当前任务的rtmp推流信息。params结构定义: RefreshOutputUrlConfig。 - REWRITE_INTERACTION_RULES:动态修改互动规则。params结构定义:interaction_rules。 - GET_LIVE_JOB_CONFIG_INFO:获取任务中的房间信息。params结构定义:SmartLiveRoomInfo。 :param command: The command of this ExecuteSmartLiveCommandResponse. :type command: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/hit_condition.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/hit_condition.py index 11d6b26d44..da5b2d199b 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/hit_condition.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/hit_condition.py @@ -33,9 +33,9 @@ def __init__(self, relation=None, priority=None, tags=None): The model defined in huaweicloud sdk - :param relation: 条件关系 * AND :表示多个条件同时满足 * OR:表示多个条件满足其一即可 * RESERVED: 兜底回复不会去判断其他命中条件 + :param relation: **参数解释**: 条件关系。对于多个条件的逻辑运算关系。 **约束限制**: 不涉及。 **取值范围**: * AND:表示多个条件同时满足。 * OR:表示多个条件满足其一即可。 * RESERVED:兜底回复不会去判断其他命中条件。 **默认取值**: 不涉及。 :type relation: str - :param priority: 优先级,数值越低优先级越高;取值0-999,默认值为500,为可选值 + :param priority: **参数解释**: 优先级,数值越低优先级越高;取值0-999,默认值为500,为可选值 **约束限制**: 不涉及 :type priority: int :param tags: 匹配关系配置 :type tags: list[:class:`huaweicloudsdkmetastudio.v1.HitConditionTag`] @@ -59,7 +59,7 @@ def __init__(self, relation=None, priority=None, tags=None): def relation(self): """Gets the relation of this HitCondition. - 条件关系 * AND :表示多个条件同时满足 * OR:表示多个条件满足其一即可 * RESERVED: 兜底回复不会去判断其他命中条件 + **参数解释**: 条件关系。对于多个条件的逻辑运算关系。 **约束限制**: 不涉及。 **取值范围**: * AND:表示多个条件同时满足。 * OR:表示多个条件满足其一即可。 * RESERVED:兜底回复不会去判断其他命中条件。 **默认取值**: 不涉及。 :return: The relation of this HitCondition. :rtype: str @@ -70,7 +70,7 @@ def relation(self): def relation(self, relation): """Sets the relation of this HitCondition. - 条件关系 * AND :表示多个条件同时满足 * OR:表示多个条件满足其一即可 * RESERVED: 兜底回复不会去判断其他命中条件 + **参数解释**: 条件关系。对于多个条件的逻辑运算关系。 **约束限制**: 不涉及。 **取值范围**: * AND:表示多个条件同时满足。 * OR:表示多个条件满足其一即可。 * RESERVED:兜底回复不会去判断其他命中条件。 **默认取值**: 不涉及。 :param relation: The relation of this HitCondition. :type relation: str @@ -81,7 +81,7 @@ def relation(self, relation): def priority(self): """Gets the priority of this HitCondition. - 优先级,数值越低优先级越高;取值0-999,默认值为500,为可选值 + **参数解释**: 优先级,数值越低优先级越高;取值0-999,默认值为500,为可选值 **约束限制**: 不涉及 :return: The priority of this HitCondition. :rtype: int @@ -92,7 +92,7 @@ def priority(self): def priority(self, priority): """Sets the priority of this HitCondition. - 优先级,数值越低优先级越高;取值0-999,默认值为500,为可选值 + **参数解释**: 优先级,数值越低优先级越高;取值0-999,默认值为500,为可选值 **约束限制**: 不涉及 :param priority: The priority of this HitCondition. :type priority: int diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/hit_condition_tag.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/hit_condition_tag.py index 8233bf7a7f..4de64f49ae 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/hit_condition_tag.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/hit_condition_tag.py @@ -35,13 +35,13 @@ def __init__(self, tag=None, operation=None, match=None, value=None): The model defined in huaweicloud sdk - :param tag: 事件内容关键字段 + :param tag: **参数解释**: 事件内容关键字段 > * event_type为1,2,3,4:与LiveEventReport中event.content中反序列化后的JSON字段对应。如:弹幕事件上报事件。 { \"timestamp\": 1694481224245, \"type\": 1, \"content\": \"{\\\"user\\\":{\\\"userId\\\":\\\"2027271526\\\",\\\"name\\\":\\\"***\\\",\\\"level\\\":17,\\\"badge\\\":\\\"\\\",\\\"badgeLevel\\\":0},\\\"content\\\":\\\"***\\\"}\" } 匹配弹幕内容,填写content;匹配用户平台等级,填写level。 > * 10:固定填写content即可。 **约束限制**: 不涉及 **取值范围**: 字符长度0-256位 **默认取值**: 不涉及 :type tag: str - :param operation: 字段处理 - SUM: 累计 - AVG:平均 - COUNT: 计数 - NONE: 无处理 + :param operation: **参数解释**: 字段取值处理 **约束限制**: 不涉及 **取值范围**: * SUM:累计 * AVG:平均 * COUNT:计数 * NONE:无处理 :type operation: str - :param match: 匹配类型 - EQUAL: 完全相等 - REGEX:正则匹配 - MATH_GT:数值大于 - MATH_GE: 数值大于等于 - MATH_LT:数值小于 - MATH_LE:数值小于等于 - MATH_EQ:数值相等 + :param match: **参数解释**: 匹配类型。关键词匹配建议使用REGEX。 **约束限制**: 不涉及。 **取值范围**: * EQUAL: 完全相等 * REGEX:正则匹配 * MATH_GT:数值大于 * MATH_GE:数值大于等于 * MATH_LT:数值小于 * MATH_LE:数值小于等于 * MATH_EQ:数值相等 **默认取值**: 不涉及 :type match: str - :param value: 匹配值 + :param value: **参数解释**: 匹配值。 **约束限制**: 不涉及 **取值范围**: 字符长度0-1024 **默认取值**: 不涉及。 :type value: str """ @@ -66,7 +66,7 @@ def __init__(self, tag=None, operation=None, match=None, value=None): def tag(self): """Gets the tag of this HitConditionTag. - 事件内容关键字段 + **参数解释**: 事件内容关键字段 > * event_type为1,2,3,4:与LiveEventReport中event.content中反序列化后的JSON字段对应。如:弹幕事件上报事件。 { \"timestamp\": 1694481224245, \"type\": 1, \"content\": \"{\\\"user\\\":{\\\"userId\\\":\\\"2027271526\\\",\\\"name\\\":\\\"***\\\",\\\"level\\\":17,\\\"badge\\\":\\\"\\\",\\\"badgeLevel\\\":0},\\\"content\\\":\\\"***\\\"}\" } 匹配弹幕内容,填写content;匹配用户平台等级,填写level。 > * 10:固定填写content即可。 **约束限制**: 不涉及 **取值范围**: 字符长度0-256位 **默认取值**: 不涉及 :return: The tag of this HitConditionTag. :rtype: str @@ -77,7 +77,7 @@ def tag(self): def tag(self, tag): """Sets the tag of this HitConditionTag. - 事件内容关键字段 + **参数解释**: 事件内容关键字段 > * event_type为1,2,3,4:与LiveEventReport中event.content中反序列化后的JSON字段对应。如:弹幕事件上报事件。 { \"timestamp\": 1694481224245, \"type\": 1, \"content\": \"{\\\"user\\\":{\\\"userId\\\":\\\"2027271526\\\",\\\"name\\\":\\\"***\\\",\\\"level\\\":17,\\\"badge\\\":\\\"\\\",\\\"badgeLevel\\\":0},\\\"content\\\":\\\"***\\\"}\" } 匹配弹幕内容,填写content;匹配用户平台等级,填写level。 > * 10:固定填写content即可。 **约束限制**: 不涉及 **取值范围**: 字符长度0-256位 **默认取值**: 不涉及 :param tag: The tag of this HitConditionTag. :type tag: str @@ -88,7 +88,7 @@ def tag(self, tag): def operation(self): """Gets the operation of this HitConditionTag. - 字段处理 - SUM: 累计 - AVG:平均 - COUNT: 计数 - NONE: 无处理 + **参数解释**: 字段取值处理 **约束限制**: 不涉及 **取值范围**: * SUM:累计 * AVG:平均 * COUNT:计数 * NONE:无处理 :return: The operation of this HitConditionTag. :rtype: str @@ -99,7 +99,7 @@ def operation(self): def operation(self, operation): """Sets the operation of this HitConditionTag. - 字段处理 - SUM: 累计 - AVG:平均 - COUNT: 计数 - NONE: 无处理 + **参数解释**: 字段取值处理 **约束限制**: 不涉及 **取值范围**: * SUM:累计 * AVG:平均 * COUNT:计数 * NONE:无处理 :param operation: The operation of this HitConditionTag. :type operation: str @@ -110,7 +110,7 @@ def operation(self, operation): def match(self): """Gets the match of this HitConditionTag. - 匹配类型 - EQUAL: 完全相等 - REGEX:正则匹配 - MATH_GT:数值大于 - MATH_GE: 数值大于等于 - MATH_LT:数值小于 - MATH_LE:数值小于等于 - MATH_EQ:数值相等 + **参数解释**: 匹配类型。关键词匹配建议使用REGEX。 **约束限制**: 不涉及。 **取值范围**: * EQUAL: 完全相等 * REGEX:正则匹配 * MATH_GT:数值大于 * MATH_GE:数值大于等于 * MATH_LT:数值小于 * MATH_LE:数值小于等于 * MATH_EQ:数值相等 **默认取值**: 不涉及 :return: The match of this HitConditionTag. :rtype: str @@ -121,7 +121,7 @@ def match(self): def match(self, match): """Sets the match of this HitConditionTag. - 匹配类型 - EQUAL: 完全相等 - REGEX:正则匹配 - MATH_GT:数值大于 - MATH_GE: 数值大于等于 - MATH_LT:数值小于 - MATH_LE:数值小于等于 - MATH_EQ:数值相等 + **参数解释**: 匹配类型。关键词匹配建议使用REGEX。 **约束限制**: 不涉及。 **取值范围**: * EQUAL: 完全相等 * REGEX:正则匹配 * MATH_GT:数值大于 * MATH_GE:数值大于等于 * MATH_LT:数值小于 * MATH_LE:数值小于等于 * MATH_EQ:数值相等 **默认取值**: 不涉及 :param match: The match of this HitConditionTag. :type match: str @@ -132,7 +132,7 @@ def match(self, match): def value(self): """Gets the value of this HitConditionTag. - 匹配值 + **参数解释**: 匹配值。 **约束限制**: 不涉及 **取值范围**: 字符长度0-1024 **默认取值**: 不涉及。 :return: The value of this HitConditionTag. :rtype: str @@ -143,7 +143,7 @@ def value(self): def value(self, value): """Sets the value of this HitConditionTag. - 匹配值 + **参数解释**: 匹配值。 **约束限制**: 不涉及 **取值范围**: 字符长度0-1024 **默认取值**: 不涉及。 :param value: The value of this HitConditionTag. :type value: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/image_layer_config.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/image_layer_config.py index 161bbce4d1..609b008ae3 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/image_layer_config.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/image_layer_config.py @@ -29,7 +29,7 @@ def __init__(self, image_url=None): The model defined in huaweicloud sdk - :param image_url: 图片文件的URL。 + :param image_url: **参数解释**: 图片文件的URL。 **约束限制**: 不涉及。 **取值范围**: 字符长度1-2048位。 **默认取值**: 不涉及 :type image_url: str """ @@ -45,7 +45,7 @@ def __init__(self, image_url=None): def image_url(self): """Gets the image_url of this ImageLayerConfig. - 图片文件的URL。 + **参数解释**: 图片文件的URL。 **约束限制**: 不涉及。 **取值范围**: 字符长度1-2048位。 **默认取值**: 不涉及 :return: The image_url of this ImageLayerConfig. :rtype: str @@ -56,7 +56,7 @@ def image_url(self): def image_url(self, image_url): """Sets the image_url of this ImageLayerConfig. - 图片文件的URL。 + **参数解释**: 图片文件的URL。 **约束限制**: 不涉及。 **取值范围**: 字符长度1-2048位。 **默认取值**: 不涉及 :param image_url: The image_url of this ImageLayerConfig. :type image_url: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/interaction_rule_detail_info.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/interaction_rule_detail_info.py index b1bf0c6259..d87afc5f32 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/interaction_rule_detail_info.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/interaction_rule_detail_info.py @@ -47,13 +47,13 @@ def __init__(self, rule_index=None, rule_name=None, enabled=None, event_type=Non The model defined in huaweicloud sdk - :param rule_index: 规则索引 + :param rule_index: **参数解释**: 规则索引。用于触发规则时索引具体规则。 **约束限制**: 无需用户填写。 **取值范围**: 字符0-64位 **默认取值**: 不涉及。 :type rule_index: str - :param rule_name: 规则名称 + :param rule_name: **参数解释**: 规则名称。 **约束限制**: 不涉及。 **取值范围**: 字符0-256位 **默认取值**: 不涉及。 :type rule_name: str - :param enabled: 是否启用 + :param enabled: **参数解释**: 是否启用。 **约束限制**: 不涉及。 **取值范围**: * true:启用 * fasle:不启用 **默认取值**: true :type enabled: bool - :param event_type: 事件类型。 * 1:弹幕事件 * 2:用户入场事件 * 3:用户点赞事件 * 4:用户送礼事件 * 10: 预置话术事件 + :param event_type: **参数解释**: 规则匹配直播事件类型。接口的取值范围[0,100],实际业务取值如下所示: * 1:弹幕事件 * 2:用户入场事件 * 3:用户点赞事件 * 4:用户送礼事件 * 10: 预置话术事件 请以实际业务取值为准。 > * 1,2,3,4:与LiveEventReport中的event.type对应。 > * 10:匹配预置剧本 **约束限制**: 不涉及。 **默认取值**: 不涉及 :type event_type: int :param hit_condition: :type hit_condition: :class:`huaweicloudsdkmetastudio.v1.HitCondition` @@ -63,9 +63,9 @@ def __init__(self, rule_index=None, rule_name=None, enabled=None, event_type=Non :type review_config: :class:`huaweicloudsdkmetastudio.v1.ReviewConfig` :param rule_id: 互动规则ID :type rule_id: str - :param create_time: 创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + :param create_time: 创建时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :type create_time: str - :param update_time: 更新时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + :param update_time: 更新时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :type update_time: str """ @@ -108,7 +108,7 @@ def __init__(self, rule_index=None, rule_name=None, enabled=None, event_type=Non def rule_index(self): """Gets the rule_index of this InteractionRuleDetailInfo. - 规则索引 + **参数解释**: 规则索引。用于触发规则时索引具体规则。 **约束限制**: 无需用户填写。 **取值范围**: 字符0-64位 **默认取值**: 不涉及。 :return: The rule_index of this InteractionRuleDetailInfo. :rtype: str @@ -119,7 +119,7 @@ def rule_index(self): def rule_index(self, rule_index): """Sets the rule_index of this InteractionRuleDetailInfo. - 规则索引 + **参数解释**: 规则索引。用于触发规则时索引具体规则。 **约束限制**: 无需用户填写。 **取值范围**: 字符0-64位 **默认取值**: 不涉及。 :param rule_index: The rule_index of this InteractionRuleDetailInfo. :type rule_index: str @@ -130,7 +130,7 @@ def rule_index(self, rule_index): def rule_name(self): """Gets the rule_name of this InteractionRuleDetailInfo. - 规则名称 + **参数解释**: 规则名称。 **约束限制**: 不涉及。 **取值范围**: 字符0-256位 **默认取值**: 不涉及。 :return: The rule_name of this InteractionRuleDetailInfo. :rtype: str @@ -141,7 +141,7 @@ def rule_name(self): def rule_name(self, rule_name): """Sets the rule_name of this InteractionRuleDetailInfo. - 规则名称 + **参数解释**: 规则名称。 **约束限制**: 不涉及。 **取值范围**: 字符0-256位 **默认取值**: 不涉及。 :param rule_name: The rule_name of this InteractionRuleDetailInfo. :type rule_name: str @@ -152,7 +152,7 @@ def rule_name(self, rule_name): def enabled(self): """Gets the enabled of this InteractionRuleDetailInfo. - 是否启用 + **参数解释**: 是否启用。 **约束限制**: 不涉及。 **取值范围**: * true:启用 * fasle:不启用 **默认取值**: true :return: The enabled of this InteractionRuleDetailInfo. :rtype: bool @@ -163,7 +163,7 @@ def enabled(self): def enabled(self, enabled): """Sets the enabled of this InteractionRuleDetailInfo. - 是否启用 + **参数解释**: 是否启用。 **约束限制**: 不涉及。 **取值范围**: * true:启用 * fasle:不启用 **默认取值**: true :param enabled: The enabled of this InteractionRuleDetailInfo. :type enabled: bool @@ -174,7 +174,7 @@ def enabled(self, enabled): def event_type(self): """Gets the event_type of this InteractionRuleDetailInfo. - 事件类型。 * 1:弹幕事件 * 2:用户入场事件 * 3:用户点赞事件 * 4:用户送礼事件 * 10: 预置话术事件 + **参数解释**: 规则匹配直播事件类型。接口的取值范围[0,100],实际业务取值如下所示: * 1:弹幕事件 * 2:用户入场事件 * 3:用户点赞事件 * 4:用户送礼事件 * 10: 预置话术事件 请以实际业务取值为准。 > * 1,2,3,4:与LiveEventReport中的event.type对应。 > * 10:匹配预置剧本 **约束限制**: 不涉及。 **默认取值**: 不涉及 :return: The event_type of this InteractionRuleDetailInfo. :rtype: int @@ -185,7 +185,7 @@ def event_type(self): def event_type(self, event_type): """Sets the event_type of this InteractionRuleDetailInfo. - 事件类型。 * 1:弹幕事件 * 2:用户入场事件 * 3:用户点赞事件 * 4:用户送礼事件 * 10: 预置话术事件 + **参数解释**: 规则匹配直播事件类型。接口的取值范围[0,100],实际业务取值如下所示: * 1:弹幕事件 * 2:用户入场事件 * 3:用户点赞事件 * 4:用户送礼事件 * 10: 预置话术事件 请以实际业务取值为准。 > * 1,2,3,4:与LiveEventReport中的event.type对应。 > * 10:匹配预置剧本 **约束限制**: 不涉及。 **默认取值**: 不涉及 :param event_type: The event_type of this InteractionRuleDetailInfo. :type event_type: int @@ -272,7 +272,7 @@ def rule_id(self, rule_id): def create_time(self): """Gets the create_time of this InteractionRuleDetailInfo. - 创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 创建时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :return: The create_time of this InteractionRuleDetailInfo. :rtype: str @@ -283,7 +283,7 @@ def create_time(self): def create_time(self, create_time): """Sets the create_time of this InteractionRuleDetailInfo. - 创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 创建时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :param create_time: The create_time of this InteractionRuleDetailInfo. :type create_time: str @@ -294,7 +294,7 @@ def create_time(self, create_time): def update_time(self): """Gets the update_time of this InteractionRuleDetailInfo. - 更新时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 更新时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :return: The update_time of this InteractionRuleDetailInfo. :rtype: str @@ -305,7 +305,7 @@ def update_time(self): def update_time(self, update_time): """Sets the update_time of this InteractionRuleDetailInfo. - 更新时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 更新时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :param update_time: The update_time of this InteractionRuleDetailInfo. :type update_time: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/interaction_rule_group_detail.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/interaction_rule_group_detail.py index 2ed976e2be..7973b95e20 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/interaction_rule_group_detail.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/interaction_rule_group_detail.py @@ -43,9 +43,9 @@ def __init__(self, group_id=None, group_name=None, interaction_rules=None, creat :type group_name: str :param interaction_rules: 互动规则列表 :type interaction_rules: list[:class:`huaweicloudsdkmetastudio.v1.InteractionRuleDetailInfo`] - :param create_time: 创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + :param create_time: 创建时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :type create_time: str - :param update_time: 更新时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + :param update_time: 更新时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :type update_time: str """ @@ -138,7 +138,7 @@ def interaction_rules(self, interaction_rules): def create_time(self): """Gets the create_time of this InteractionRuleGroupDetail. - 创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 创建时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :return: The create_time of this InteractionRuleGroupDetail. :rtype: str @@ -149,7 +149,7 @@ def create_time(self): def create_time(self, create_time): """Sets the create_time of this InteractionRuleGroupDetail. - 创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 创建时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :param create_time: The create_time of this InteractionRuleGroupDetail. :type create_time: str @@ -160,7 +160,7 @@ def create_time(self, create_time): def update_time(self): """Gets the update_time of this InteractionRuleGroupDetail. - 更新时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 更新时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :return: The update_time of this InteractionRuleGroupDetail. :rtype: str @@ -171,7 +171,7 @@ def update_time(self): def update_time(self, update_time): """Sets the update_time of this InteractionRuleGroupDetail. - 更新时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 更新时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :param update_time: The update_time of this InteractionRuleGroupDetail. :type update_time: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/interaction_rule_info.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/interaction_rule_info.py index 1b72766ae5..f3fbffe7f9 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/interaction_rule_info.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/interaction_rule_info.py @@ -41,13 +41,13 @@ def __init__(self, rule_index=None, rule_name=None, enabled=None, event_type=Non The model defined in huaweicloud sdk - :param rule_index: 规则索引 + :param rule_index: **参数解释**: 规则索引。用于触发规则时索引具体规则。 **约束限制**: 无需用户填写。 **取值范围**: 字符0-64位 **默认取值**: 不涉及。 :type rule_index: str - :param rule_name: 规则名称 + :param rule_name: **参数解释**: 规则名称。 **约束限制**: 不涉及。 **取值范围**: 字符0-256位 **默认取值**: 不涉及。 :type rule_name: str - :param enabled: 是否启用 + :param enabled: **参数解释**: 是否启用。 **约束限制**: 不涉及。 **取值范围**: * true:启用 * fasle:不启用 **默认取值**: true :type enabled: bool - :param event_type: 事件类型。 * 1:弹幕事件 * 2:用户入场事件 * 3:用户点赞事件 * 4:用户送礼事件 * 10: 预置话术事件 + :param event_type: **参数解释**: 规则匹配直播事件类型。接口的取值范围[0,100],实际业务取值如下所示: * 1:弹幕事件 * 2:用户入场事件 * 3:用户点赞事件 * 4:用户送礼事件 * 10: 预置话术事件 请以实际业务取值为准。 > * 1,2,3,4:与LiveEventReport中的event.type对应。 > * 10:匹配预置剧本 **约束限制**: 不涉及。 **默认取值**: 不涉及 :type event_type: int :param hit_condition: :type hit_condition: :class:`huaweicloudsdkmetastudio.v1.HitCondition` @@ -87,7 +87,7 @@ def __init__(self, rule_index=None, rule_name=None, enabled=None, event_type=Non def rule_index(self): """Gets the rule_index of this InteractionRuleInfo. - 规则索引 + **参数解释**: 规则索引。用于触发规则时索引具体规则。 **约束限制**: 无需用户填写。 **取值范围**: 字符0-64位 **默认取值**: 不涉及。 :return: The rule_index of this InteractionRuleInfo. :rtype: str @@ -98,7 +98,7 @@ def rule_index(self): def rule_index(self, rule_index): """Sets the rule_index of this InteractionRuleInfo. - 规则索引 + **参数解释**: 规则索引。用于触发规则时索引具体规则。 **约束限制**: 无需用户填写。 **取值范围**: 字符0-64位 **默认取值**: 不涉及。 :param rule_index: The rule_index of this InteractionRuleInfo. :type rule_index: str @@ -109,7 +109,7 @@ def rule_index(self, rule_index): def rule_name(self): """Gets the rule_name of this InteractionRuleInfo. - 规则名称 + **参数解释**: 规则名称。 **约束限制**: 不涉及。 **取值范围**: 字符0-256位 **默认取值**: 不涉及。 :return: The rule_name of this InteractionRuleInfo. :rtype: str @@ -120,7 +120,7 @@ def rule_name(self): def rule_name(self, rule_name): """Sets the rule_name of this InteractionRuleInfo. - 规则名称 + **参数解释**: 规则名称。 **约束限制**: 不涉及。 **取值范围**: 字符0-256位 **默认取值**: 不涉及。 :param rule_name: The rule_name of this InteractionRuleInfo. :type rule_name: str @@ -131,7 +131,7 @@ def rule_name(self, rule_name): def enabled(self): """Gets the enabled of this InteractionRuleInfo. - 是否启用 + **参数解释**: 是否启用。 **约束限制**: 不涉及。 **取值范围**: * true:启用 * fasle:不启用 **默认取值**: true :return: The enabled of this InteractionRuleInfo. :rtype: bool @@ -142,7 +142,7 @@ def enabled(self): def enabled(self, enabled): """Sets the enabled of this InteractionRuleInfo. - 是否启用 + **参数解释**: 是否启用。 **约束限制**: 不涉及。 **取值范围**: * true:启用 * fasle:不启用 **默认取值**: true :param enabled: The enabled of this InteractionRuleInfo. :type enabled: bool @@ -153,7 +153,7 @@ def enabled(self, enabled): def event_type(self): """Gets the event_type of this InteractionRuleInfo. - 事件类型。 * 1:弹幕事件 * 2:用户入场事件 * 3:用户点赞事件 * 4:用户送礼事件 * 10: 预置话术事件 + **参数解释**: 规则匹配直播事件类型。接口的取值范围[0,100],实际业务取值如下所示: * 1:弹幕事件 * 2:用户入场事件 * 3:用户点赞事件 * 4:用户送礼事件 * 10: 预置话术事件 请以实际业务取值为准。 > * 1,2,3,4:与LiveEventReport中的event.type对应。 > * 10:匹配预置剧本 **约束限制**: 不涉及。 **默认取值**: 不涉及 :return: The event_type of this InteractionRuleInfo. :rtype: int @@ -164,7 +164,7 @@ def event_type(self): def event_type(self, event_type): """Sets the event_type of this InteractionRuleInfo. - 事件类型。 * 1:弹幕事件 * 2:用户入场事件 * 3:用户点赞事件 * 4:用户送礼事件 * 10: 预置话术事件 + **参数解释**: 规则匹配直播事件类型。接口的取值范围[0,100],实际业务取值如下所示: * 1:弹幕事件 * 2:用户入场事件 * 3:用户点赞事件 * 4:用户送礼事件 * 10: 预置话术事件 请以实际业务取值为准。 > * 1,2,3,4:与LiveEventReport中的event.type对应。 > * 10:匹配预置剧本 **约束限制**: 不涉及。 **默认取值**: 不涉及 :param event_type: The event_type of this InteractionRuleInfo. :type event_type: int diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/layer_config.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/layer_config.py index 670733355f..3a85442763 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/layer_config.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/layer_config.py @@ -43,11 +43,11 @@ def __init__(self, layer_type=None, asset_id=None, group_id=None, position=None, The model defined in huaweicloud sdk - :param layer_type: 图层类型。 - HUMAN: 人物图层 - IMAGE: 素材图片图层 - VIDEO: 素材视频图层 - TEXT: 素材文字图层 + :param layer_type: **参数解释**: 图层类型。 **约束限制**: 不涉及。 **取值范围**: * HUMAN: 人物图层 * IMAGE: 素材图片图层 * VIDEO: 素材视频图层 * TEXT: 素材文字图层 **默认取值**: 不涉及 :type layer_type: str - :param asset_id: 图层所需资产的资产id,外部资产信息无需填写。 若填写,可以从资产库中查询。 + :param asset_id: **参数解释**: 图层所需资产的资产id,外部资产信息无需填写。 **约束限制**: 不涉及。 **取值范围**: 字符长度0-64位 **默认取值**: 不涉及 :type asset_id: str - :param group_id: 多场景素材编组。同一group_id的素材,在应用全局时共享位置信息。 + :param group_id: **参数解释**: 多场景素材编组。同一group_id的素材,在应用全局时共享位置信息。 **约束限制**: 不涉及。 **取值范围**: 字符长度0-64位 **默认取值**: 不涉及 :type group_id: str :param position: :type position: :class:`huaweicloudsdkmetastudio.v1.LayerPositionConfig` @@ -93,7 +93,7 @@ def __init__(self, layer_type=None, asset_id=None, group_id=None, position=None, def layer_type(self): """Gets the layer_type of this LayerConfig. - 图层类型。 - HUMAN: 人物图层 - IMAGE: 素材图片图层 - VIDEO: 素材视频图层 - TEXT: 素材文字图层 + **参数解释**: 图层类型。 **约束限制**: 不涉及。 **取值范围**: * HUMAN: 人物图层 * IMAGE: 素材图片图层 * VIDEO: 素材视频图层 * TEXT: 素材文字图层 **默认取值**: 不涉及 :return: The layer_type of this LayerConfig. :rtype: str @@ -104,7 +104,7 @@ def layer_type(self): def layer_type(self, layer_type): """Sets the layer_type of this LayerConfig. - 图层类型。 - HUMAN: 人物图层 - IMAGE: 素材图片图层 - VIDEO: 素材视频图层 - TEXT: 素材文字图层 + **参数解释**: 图层类型。 **约束限制**: 不涉及。 **取值范围**: * HUMAN: 人物图层 * IMAGE: 素材图片图层 * VIDEO: 素材视频图层 * TEXT: 素材文字图层 **默认取值**: 不涉及 :param layer_type: The layer_type of this LayerConfig. :type layer_type: str @@ -115,7 +115,7 @@ def layer_type(self, layer_type): def asset_id(self): """Gets the asset_id of this LayerConfig. - 图层所需资产的资产id,外部资产信息无需填写。 若填写,可以从资产库中查询。 + **参数解释**: 图层所需资产的资产id,外部资产信息无需填写。 **约束限制**: 不涉及。 **取值范围**: 字符长度0-64位 **默认取值**: 不涉及 :return: The asset_id of this LayerConfig. :rtype: str @@ -126,7 +126,7 @@ def asset_id(self): def asset_id(self, asset_id): """Sets the asset_id of this LayerConfig. - 图层所需资产的资产id,外部资产信息无需填写。 若填写,可以从资产库中查询。 + **参数解释**: 图层所需资产的资产id,外部资产信息无需填写。 **约束限制**: 不涉及。 **取值范围**: 字符长度0-64位 **默认取值**: 不涉及 :param asset_id: The asset_id of this LayerConfig. :type asset_id: str @@ -137,7 +137,7 @@ def asset_id(self, asset_id): def group_id(self): """Gets the group_id of this LayerConfig. - 多场景素材编组。同一group_id的素材,在应用全局时共享位置信息。 + **参数解释**: 多场景素材编组。同一group_id的素材,在应用全局时共享位置信息。 **约束限制**: 不涉及。 **取值范围**: 字符长度0-64位 **默认取值**: 不涉及 :return: The group_id of this LayerConfig. :rtype: str @@ -148,7 +148,7 @@ def group_id(self): def group_id(self, group_id): """Sets the group_id of this LayerConfig. - 多场景素材编组。同一group_id的素材,在应用全局时共享位置信息。 + **参数解释**: 多场景素材编组。同一group_id的素材,在应用全局时共享位置信息。 **约束限制**: 不涉及。 **取值范围**: 字符长度0-64位 **默认取值**: 不涉及 :param group_id: The group_id of this LayerConfig. :type group_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/layer_position_config.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/layer_position_config.py index e111d90839..8a793595f4 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/layer_position_config.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/layer_position_config.py @@ -33,11 +33,11 @@ def __init__(self, dx=None, dy=None, layer_index=None): The model defined in huaweicloud sdk - :param dx: 图层左上角像素点的X轴位置值(画布左上角坐标是0x0)。 > * 横屏(16:9)画布像素为1920x1080;竖屏(9:16)画布像素为1080x1920。 + :param dx: **参数解释**: 图层左上角像素点的X轴位置值(画布左上角坐标是0x0)。 横屏(16:9)画布像素为1920x1080;竖屏(9:16)画布像素为1080x1920。 **约束限制**: 该值为相对于画布的像素值,仅表示布局位置关系,与输出画面分辨率无关。 :type dx: int - :param dy: 图层图片左上角像素点的Y轴位置值(画布左上角坐标是0x0)。 > 横屏(16:9)画布像素为1920x1080;竖屏(9:16)画布像素为1080x1920。 + :param dy: **参数解释**: 图层图片左上角像素点的Y轴位置值(画布左上角坐标是0x0)。 横屏(16:9)画布像素为1920x1080;竖屏(9:16)画布像素为1080x1920。 **约束限制**: 该值为相对于画布的像素值,仅表示布局位置关系,与输出画面分辨率无关。 :type dy: int - :param layer_index: 图片/视频/人物图的层顺序。 > * 图层顺序从1开始的整数,底层图层顺序是1,往上依次增加。 + :param layer_index: **参数解释**: 图片、视频、人物图的层顺序。 > 图层顺序为0从1开始的整数,底层图层顺序是1,往上依次增加。 **约束限制**: 如果出现重复则重复图层叠加关系随机。 :type layer_index: int """ @@ -56,7 +56,7 @@ def __init__(self, dx=None, dy=None, layer_index=None): def dx(self): """Gets the dx of this LayerPositionConfig. - 图层左上角像素点的X轴位置值(画布左上角坐标是0x0)。 > * 横屏(16:9)画布像素为1920x1080;竖屏(9:16)画布像素为1080x1920。 + **参数解释**: 图层左上角像素点的X轴位置值(画布左上角坐标是0x0)。 横屏(16:9)画布像素为1920x1080;竖屏(9:16)画布像素为1080x1920。 **约束限制**: 该值为相对于画布的像素值,仅表示布局位置关系,与输出画面分辨率无关。 :return: The dx of this LayerPositionConfig. :rtype: int @@ -67,7 +67,7 @@ def dx(self): def dx(self, dx): """Sets the dx of this LayerPositionConfig. - 图层左上角像素点的X轴位置值(画布左上角坐标是0x0)。 > * 横屏(16:9)画布像素为1920x1080;竖屏(9:16)画布像素为1080x1920。 + **参数解释**: 图层左上角像素点的X轴位置值(画布左上角坐标是0x0)。 横屏(16:9)画布像素为1920x1080;竖屏(9:16)画布像素为1080x1920。 **约束限制**: 该值为相对于画布的像素值,仅表示布局位置关系,与输出画面分辨率无关。 :param dx: The dx of this LayerPositionConfig. :type dx: int @@ -78,7 +78,7 @@ def dx(self, dx): def dy(self): """Gets the dy of this LayerPositionConfig. - 图层图片左上角像素点的Y轴位置值(画布左上角坐标是0x0)。 > 横屏(16:9)画布像素为1920x1080;竖屏(9:16)画布像素为1080x1920。 + **参数解释**: 图层图片左上角像素点的Y轴位置值(画布左上角坐标是0x0)。 横屏(16:9)画布像素为1920x1080;竖屏(9:16)画布像素为1080x1920。 **约束限制**: 该值为相对于画布的像素值,仅表示布局位置关系,与输出画面分辨率无关。 :return: The dy of this LayerPositionConfig. :rtype: int @@ -89,7 +89,7 @@ def dy(self): def dy(self, dy): """Sets the dy of this LayerPositionConfig. - 图层图片左上角像素点的Y轴位置值(画布左上角坐标是0x0)。 > 横屏(16:9)画布像素为1920x1080;竖屏(9:16)画布像素为1080x1920。 + **参数解释**: 图层图片左上角像素点的Y轴位置值(画布左上角坐标是0x0)。 横屏(16:9)画布像素为1920x1080;竖屏(9:16)画布像素为1080x1920。 **约束限制**: 该值为相对于画布的像素值,仅表示布局位置关系,与输出画面分辨率无关。 :param dy: The dy of this LayerPositionConfig. :type dy: int @@ -100,7 +100,7 @@ def dy(self, dy): def layer_index(self): """Gets the layer_index of this LayerPositionConfig. - 图片/视频/人物图的层顺序。 > * 图层顺序从1开始的整数,底层图层顺序是1,往上依次增加。 + **参数解释**: 图片、视频、人物图的层顺序。 > 图层顺序为0从1开始的整数,底层图层顺序是1,往上依次增加。 **约束限制**: 如果出现重复则重复图层叠加关系随机。 :return: The layer_index of this LayerPositionConfig. :rtype: int @@ -111,7 +111,7 @@ def layer_index(self): def layer_index(self, layer_index): """Sets the layer_index of this LayerPositionConfig. - 图片/视频/人物图的层顺序。 > * 图层顺序从1开始的整数,底层图层顺序是1,往上依次增加。 + **参数解释**: 图片、视频、人物图的层顺序。 > 图层顺序为0从1开始的整数,底层图层顺序是1,往上依次增加。 **约束限制**: 如果出现重复则重复图层叠加关系随机。 :param layer_index: The layer_index of this LayerPositionConfig. :type layer_index: int diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/layer_size_config.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/layer_size_config.py index 608c87b7f2..8228c96e33 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/layer_size_config.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/layer_size_config.py @@ -31,9 +31,9 @@ def __init__(self, width=None, height=None): The model defined in huaweicloud sdk - :param width: 图层图片宽度像素值(相对画布大小)。 > 横屏(16:9)画布像素为1920x1080;竖屏(9:16)画布像素为1080x1920。 + :param width: **参数解释**: 图层图片左上角像素点的Y轴位置值图层图片宽度像素值(相对画布大小)。 横屏(16:9)画布像素为1920x1080;竖屏(9:16)画布像素为1080x1920。 **约束限制**: 该值为相对于画布的像素值,仅表示布局位置关系,与输出画面分辨率无关。 :type width: int - :param height: 图层图片高度像素值(相对画布大小)。 > 横屏(16:9)画布像素为1920x1080;竖屏(9:16)画布像素为1080x1920。 + :param height: **参数解释**: 图层图片高度像素值(相对画布大小)。 横屏(16:9)画布像素为1920x1080;竖屏(9:16)画布像素为1080x1920。 **约束限制**: 该值为相对于画布的像素值,仅表示布局位置关系,与输出画面分辨率无关。| :type height: int """ @@ -52,7 +52,7 @@ def __init__(self, width=None, height=None): def width(self): """Gets the width of this LayerSizeConfig. - 图层图片宽度像素值(相对画布大小)。 > 横屏(16:9)画布像素为1920x1080;竖屏(9:16)画布像素为1080x1920。 + **参数解释**: 图层图片左上角像素点的Y轴位置值图层图片宽度像素值(相对画布大小)。 横屏(16:9)画布像素为1920x1080;竖屏(9:16)画布像素为1080x1920。 **约束限制**: 该值为相对于画布的像素值,仅表示布局位置关系,与输出画面分辨率无关。 :return: The width of this LayerSizeConfig. :rtype: int @@ -63,7 +63,7 @@ def width(self): def width(self, width): """Sets the width of this LayerSizeConfig. - 图层图片宽度像素值(相对画布大小)。 > 横屏(16:9)画布像素为1920x1080;竖屏(9:16)画布像素为1080x1920。 + **参数解释**: 图层图片左上角像素点的Y轴位置值图层图片宽度像素值(相对画布大小)。 横屏(16:9)画布像素为1920x1080;竖屏(9:16)画布像素为1080x1920。 **约束限制**: 该值为相对于画布的像素值,仅表示布局位置关系,与输出画面分辨率无关。 :param width: The width of this LayerSizeConfig. :type width: int @@ -74,7 +74,7 @@ def width(self, width): def height(self): """Gets the height of this LayerSizeConfig. - 图层图片高度像素值(相对画布大小)。 > 横屏(16:9)画布像素为1920x1080;竖屏(9:16)画布像素为1080x1920。 + **参数解释**: 图层图片高度像素值(相对画布大小)。 横屏(16:9)画布像素为1920x1080;竖屏(9:16)画布像素为1080x1920。 **约束限制**: 该值为相对于画布的像素值,仅表示布局位置关系,与输出画面分辨率无关。| :return: The height of this LayerSizeConfig. :rtype: int @@ -85,7 +85,7 @@ def height(self): def height(self, height): """Sets the height of this LayerSizeConfig. - 图层图片高度像素值(相对画布大小)。 > 横屏(16:9)画布像素为1920x1080;竖屏(9:16)画布像素为1080x1920。 + **参数解释**: 图层图片高度像素值(相对画布大小)。 横屏(16:9)画布像素为1920x1080;竖屏(9:16)画布像素为1080x1920。 **约束限制**: 该值为相对于画布的像素值,仅表示布局位置关系,与输出画面分辨率无关。| :param height: The height of this LayerSizeConfig. :type height: int diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list2d_model_training_job_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list2d_model_training_job_request.py index 958438580c..408c1f8d24 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list2d_model_training_job_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list2d_model_training_job_request.py @@ -30,7 +30,8 @@ class List2dModelTrainingJobRequest: 'tag': 'str', 'job_id': 'str', 'name': 'str', - 'model_resolution': 'str' + 'model_resolution': 'str', + 'is_flexus': 'bool' } attribute_map = { @@ -47,10 +48,11 @@ class List2dModelTrainingJobRequest: 'tag': 'tag', 'job_id': 'job_id', 'name': 'name', - 'model_resolution': 'model_resolution' + 'model_resolution': 'model_resolution', + 'is_flexus': 'is_flexus' } - def __init__(self, x_app_user_id=None, offset=None, limit=None, sort_key=None, sort_dir=None, create_until=None, create_since=None, state=None, query_project_id=None, batch_name=None, tag=None, job_id=None, name=None, model_resolution=None): + def __init__(self, x_app_user_id=None, offset=None, limit=None, sort_key=None, sort_dir=None, create_until=None, create_since=None, state=None, query_project_id=None, batch_name=None, tag=None, job_id=None, name=None, model_resolution=None, is_flexus=None): """List2dModelTrainingJobRequest The model defined in huaweicloud sdk @@ -83,6 +85,8 @@ def __init__(self, x_app_user_id=None, offset=None, limit=None, sort_key=None, s :type name: str :param model_resolution: 模型分辨率 :type model_resolution: str + :param is_flexus: 是否是flexus任务 + :type is_flexus: bool """ @@ -101,6 +105,7 @@ def __init__(self, x_app_user_id=None, offset=None, limit=None, sort_key=None, s self._job_id = None self._name = None self._model_resolution = None + self._is_flexus = None self.discriminator = None if x_app_user_id is not None: @@ -131,6 +136,8 @@ def __init__(self, x_app_user_id=None, offset=None, limit=None, sort_key=None, s self.name = name if model_resolution is not None: self.model_resolution = model_resolution + if is_flexus is not None: + self.is_flexus = is_flexus @property def x_app_user_id(self): @@ -440,6 +447,28 @@ def model_resolution(self, model_resolution): """ self._model_resolution = model_resolution + @property + def is_flexus(self): + """Gets the is_flexus of this List2dModelTrainingJobRequest. + + 是否是flexus任务 + + :return: The is_flexus of this List2dModelTrainingJobRequest. + :rtype: bool + """ + return self._is_flexus + + @is_flexus.setter + def is_flexus(self, is_flexus): + """Sets the is_flexus of this List2dModelTrainingJobRequest. + + 是否是flexus任务 + + :param is_flexus: The is_flexus of this List2dModelTrainingJobRequest. + :type is_flexus: bool + """ + self._is_flexus = is_flexus + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_assets_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_assets_request.py index b43af7354a..cc2582419d 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_assets_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_assets_request.py @@ -99,9 +99,9 @@ def __init__(self, x_app_user_id=None, limit=None, offset=None, name=None, tag=N :type tag: str :param tag_combination_type: 标签查询组合方式 INTERSECTION:交集 UNION_SET:并集 :type tag_combination_type: str - :param start_time: 最近直播任务起始时间。格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + :param start_time: 最近直播任务起始时间。格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :type start_time: str - :param end_time: 最近直播任务结束时间。格式遵循:RFC 3339 如\"2021-01-10T10:43:17Z\"。 + :param end_time: 最近直播任务结束时间。格式遵循:RFC 3339 如“2021-01-10T10:43:17Z”。 :type end_time: str :param asset_type: 资产类型。多个类型使用英文逗号分割。 * HUMAN_MODEL:数字人模型 * VOICE_MODEL:音色模型(仅系统管理员可上传) * SCENE:场景模型 * ANIMATION:动作动画 * VIDEO:视频文件 * IMAGE:图片文件 * PPT:幻灯片文件 * MATERIAL:风格化素材 * HUMAN_MODEL_2D: 2D数字人网络模型 * BUSINESS_CARD_TEMPLET: 数字人名片模板 * MUSIC: 音乐 * AUDIO: 音频 :type asset_type: str @@ -380,7 +380,7 @@ def tag_combination_type(self, tag_combination_type): def start_time(self): """Gets the start_time of this ListAssetsRequest. - 最近直播任务起始时间。格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 最近直播任务起始时间。格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :return: The start_time of this ListAssetsRequest. :rtype: str @@ -391,7 +391,7 @@ def start_time(self): def start_time(self, start_time): """Sets the start_time of this ListAssetsRequest. - 最近直播任务起始时间。格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 最近直播任务起始时间。格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :param start_time: The start_time of this ListAssetsRequest. :type start_time: str @@ -402,7 +402,7 @@ def start_time(self, start_time): def end_time(self): """Gets the end_time of this ListAssetsRequest. - 最近直播任务结束时间。格式遵循:RFC 3339 如\"2021-01-10T10:43:17Z\"。 + 最近直播任务结束时间。格式遵循:RFC 3339 如“2021-01-10T10:43:17Z”。 :return: The end_time of this ListAssetsRequest. :rtype: str @@ -413,7 +413,7 @@ def end_time(self): def end_time(self, end_time): """Sets the end_time of this ListAssetsRequest. - 最近直播任务结束时间。格式遵循:RFC 3339 如\"2021-01-10T10:43:17Z\"。 + 最近直播任务结束时间。格式遵循:RFC 3339 如“2021-01-10T10:43:17Z”。 :param end_time: The end_time of this ListAssetsRequest. :type end_time: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_digital_human_video_response.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_digital_human_video_response.py index f854501303..8bc66df158 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_digital_human_video_response.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_digital_human_video_response.py @@ -34,7 +34,7 @@ def __init__(self, count=None, jobs=None, x_request_id=None): The model defined in huaweicloud sdk - :param count: 视频制作任务总数。 + :param count: **参数解释**: 视频制作任务总数。 :type count: int :param jobs: 视频制作任务列表。 :type jobs: list[:class:`huaweicloudsdkmetastudio.v1.DigitalHumanVideo`] @@ -60,7 +60,7 @@ def __init__(self, count=None, jobs=None, x_request_id=None): def count(self): """Gets the count of this ListDigitalHumanVideoResponse. - 视频制作任务总数。 + **参数解释**: 视频制作任务总数。 :return: The count of this ListDigitalHumanVideoResponse. :rtype: int @@ -71,7 +71,7 @@ def count(self): def count(self, count): """Sets the count of this ListDigitalHumanVideoResponse. - 视频制作任务总数。 + **参数解释**: 视频制作任务总数。 :param count: The count of this ListDigitalHumanVideoResponse. :type count: int diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_interaction_rule_groups_response.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_interaction_rule_groups_response.py index e25cff28e3..76808fcf49 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_interaction_rule_groups_response.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_interaction_rule_groups_response.py @@ -34,7 +34,7 @@ def __init__(self, count=None, interaction_rule_groups=None, x_request_id=None): The model defined in huaweicloud sdk - :param count: 互动规则总数。 + :param count: **参数解释**: 互动规则总数。 :type count: int :param interaction_rule_groups: 互动规则库列表。 :type interaction_rule_groups: list[:class:`huaweicloudsdkmetastudio.v1.InteractionRuleGroupDetail`] @@ -60,7 +60,7 @@ def __init__(self, count=None, interaction_rule_groups=None, x_request_id=None): def count(self): """Gets the count of this ListInteractionRuleGroupsResponse. - 互动规则总数。 + **参数解释**: 互动规则总数。 :return: The count of this ListInteractionRuleGroupsResponse. :rtype: int @@ -71,7 +71,7 @@ def count(self): def count(self, count): """Sets the count of this ListInteractionRuleGroupsResponse. - 互动规则总数。 + **参数解释**: 互动规则总数。 :param count: The count of this ListInteractionRuleGroupsResponse. :type count: int diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_smart_chat_rooms_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_smart_chat_rooms_request.py index 8a65535ff7..151c7ef9d9 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_smart_chat_rooms_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_smart_chat_rooms_request.py @@ -51,9 +51,9 @@ def __init__(self, x_app_user_id=None, offset=None, limit=None, room_name=None, :type room_name: str :param model_name: 按形象名称模糊查询。 :type model_name: str - :param start_time: 最近智能交互对话任务起始时间。格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + :param start_time: 最近智能交互对话任务起始时间。格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :type start_time: str - :param end_time: 最近智能交互对话任务结束时间。格式遵循:RFC 3339 如\"2021-01-10T10:43:17Z\"。 + :param end_time: 最近智能交互对话任务结束时间。格式遵循:RFC 3339 如“2021-01-10T10:43:17Z”。 :type end_time: str """ @@ -197,7 +197,7 @@ def model_name(self, model_name): def start_time(self): """Gets the start_time of this ListSmartChatRoomsRequest. - 最近智能交互对话任务起始时间。格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 最近智能交互对话任务起始时间。格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :return: The start_time of this ListSmartChatRoomsRequest. :rtype: str @@ -208,7 +208,7 @@ def start_time(self): def start_time(self, start_time): """Sets the start_time of this ListSmartChatRoomsRequest. - 最近智能交互对话任务起始时间。格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 最近智能交互对话任务起始时间。格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :param start_time: The start_time of this ListSmartChatRoomsRequest. :type start_time: str @@ -219,7 +219,7 @@ def start_time(self, start_time): def end_time(self): """Gets the end_time of this ListSmartChatRoomsRequest. - 最近智能交互对话任务结束时间。格式遵循:RFC 3339 如\"2021-01-10T10:43:17Z\"。 + 最近智能交互对话任务结束时间。格式遵循:RFC 3339 如“2021-01-10T10:43:17Z”。 :return: The end_time of this ListSmartChatRoomsRequest. :rtype: str @@ -230,7 +230,7 @@ def end_time(self): def end_time(self, end_time): """Sets the end_time of this ListSmartChatRoomsRequest. - 最近智能交互对话任务结束时间。格式遵循:RFC 3339 如\"2021-01-10T10:43:17Z\"。 + 最近智能交互对话任务结束时间。格式遵循:RFC 3339 如“2021-01-10T10:43:17Z”。 :param end_time: The end_time of this ListSmartChatRoomsRequest. :type end_time: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_smart_chat_rooms_response.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_smart_chat_rooms_response.py index 280145ce9e..8b8b6a7288 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_smart_chat_rooms_response.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_smart_chat_rooms_response.py @@ -36,9 +36,9 @@ def __init__(self, count=None, count_concurrency=None, smart_chat_rooms=None, x_ The model defined in huaweicloud sdk - :param count: 智能交互对话总数。 + :param count: **参数解释**: 智能交互对话总数。 :type count: int - :param count_concurrency: 智能交互对话总并发路数。 + :param count_concurrency: **参数解释**: 智能交互对话总并发路数。 :type count_concurrency: int :param smart_chat_rooms: 智能交互对话列表。 :type smart_chat_rooms: list[:class:`huaweicloudsdkmetastudio.v1.SmartChatRoomBaseInfo`] @@ -67,7 +67,7 @@ def __init__(self, count=None, count_concurrency=None, smart_chat_rooms=None, x_ def count(self): """Gets the count of this ListSmartChatRoomsResponse. - 智能交互对话总数。 + **参数解释**: 智能交互对话总数。 :return: The count of this ListSmartChatRoomsResponse. :rtype: int @@ -78,7 +78,7 @@ def count(self): def count(self, count): """Sets the count of this ListSmartChatRoomsResponse. - 智能交互对话总数。 + **参数解释**: 智能交互对话总数。 :param count: The count of this ListSmartChatRoomsResponse. :type count: int @@ -89,7 +89,7 @@ def count(self, count): def count_concurrency(self): """Gets the count_concurrency of this ListSmartChatRoomsResponse. - 智能交互对话总并发路数。 + **参数解释**: 智能交互对话总并发路数。 :return: The count_concurrency of this ListSmartChatRoomsResponse. :rtype: int @@ -100,7 +100,7 @@ def count_concurrency(self): def count_concurrency(self, count_concurrency): """Sets the count_concurrency of this ListSmartChatRoomsResponse. - 智能交互对话总并发路数。 + **参数解释**: 智能交互对话总并发路数。 :param count_concurrency: The count_concurrency of this ListSmartChatRoomsResponse. :type count_concurrency: int diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_smart_live_jobs_response.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_smart_live_jobs_response.py index 67b54b8195..506b626f51 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_smart_live_jobs_response.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_smart_live_jobs_response.py @@ -34,7 +34,7 @@ def __init__(self, count=None, smart_live_jobs=None, x_request_id=None): The model defined in huaweicloud sdk - :param count: 数字人直播任务总数。 + :param count: **参数解释**: 数字人直播任务总数。 :type count: int :param smart_live_jobs: 数字人直播任务列表。 :type smart_live_jobs: list[:class:`huaweicloudsdkmetastudio.v1.SmartLiveJob`] @@ -60,7 +60,7 @@ def __init__(self, count=None, smart_live_jobs=None, x_request_id=None): def count(self): """Gets the count of this ListSmartLiveJobsResponse. - 数字人直播任务总数。 + **参数解释**: 数字人直播任务总数。 :return: The count of this ListSmartLiveJobsResponse. :rtype: int @@ -71,7 +71,7 @@ def count(self): def count(self, count): """Sets the count of this ListSmartLiveJobsResponse. - 数字人直播任务总数。 + **参数解释**: 数字人直播任务总数。 :param count: The count of this ListSmartLiveJobsResponse. :type count: int diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_smart_live_response.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_smart_live_response.py index 60d39b4aeb..4addbb7b0a 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_smart_live_response.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_smart_live_response.py @@ -34,7 +34,7 @@ def __init__(self, count=None, smart_live_jobs=None, x_request_id=None): The model defined in huaweicloud sdk - :param count: 数字人直播任务总数。 + :param count: **参数解释**: 数字人直播任务总数。 :type count: int :param smart_live_jobs: 数字人直播任务列表。 :type smart_live_jobs: list[:class:`huaweicloudsdkmetastudio.v1.SmartLiveJob`] @@ -60,7 +60,7 @@ def __init__(self, count=None, smart_live_jobs=None, x_request_id=None): def count(self): """Gets the count of this ListSmartLiveResponse. - 数字人直播任务总数。 + **参数解释**: 数字人直播任务总数。 :return: The count of this ListSmartLiveResponse. :rtype: int @@ -71,7 +71,7 @@ def count(self): def count(self, count): """Sets the count of this ListSmartLiveResponse. - 数字人直播任务总数。 + **参数解释**: 数字人直播任务总数。 :param count: The count of this ListSmartLiveResponse. :type count: int diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_smart_live_rooms_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_smart_live_rooms_request.py index 9533a14b3a..ce3e26bc94 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_smart_live_rooms_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_smart_live_rooms_request.py @@ -63,11 +63,11 @@ def __init__(self, x_app_user_id=None, offset=None, limit=None, room_name=None, :type model_name: str :param live_state: 当前直播间直播状态。 WAITING,PROCESSING,SUCCESS,FAILED,CANCELED对应直播任务状态 NULL 对应没有直播任务 可多个状态查询,使用英文逗号分隔。 :type live_state: str - :param start_time: 最近直播任务起始时间。格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + :param start_time: 最近直播任务起始时间。格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :type start_time: str - :param end_time: 最近直播任务结束时间。格式遵循:RFC 3339 如\"2021-01-10T10:43:17Z\"。 + :param end_time: 最近直播任务结束时间。格式遵循:RFC 3339 如“2021-01-10T10:43:17Z”。 :type end_time: str - :param room_type: 按直播间类型查询。直播间类型。 * NORMAL: 普通直播间,直播间一直存在,可以反复开播 * TEMP: 临时直播间,直播任务结束后自动清理直播间。 * TEMPLATE: 直播间模板。 + :param room_type: 按直播间类型查询。直播间类型。 * NORMAL:普通直播间,直播间一直存在,可以反复开播 * TEMP:临时直播间,直播任务结束后自动清理直播间。 * TEMPLATE:直播间模板。 :type room_type: str :param template_own_type: 按照自己拥有的和别人分享以及公共的模板进行查询 * OWNED 自己拥有且暂未共享的 * SHARED_TO_OHTERS 分享给别人的 * SHARED_FROM_OHTERS 别人分享给我的 * PUBLIC 公共模板 :type template_own_type: str @@ -269,7 +269,7 @@ def live_state(self, live_state): def start_time(self): """Gets the start_time of this ListSmartLiveRoomsRequest. - 最近直播任务起始时间。格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 最近直播任务起始时间。格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :return: The start_time of this ListSmartLiveRoomsRequest. :rtype: str @@ -280,7 +280,7 @@ def start_time(self): def start_time(self, start_time): """Sets the start_time of this ListSmartLiveRoomsRequest. - 最近直播任务起始时间。格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 最近直播任务起始时间。格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :param start_time: The start_time of this ListSmartLiveRoomsRequest. :type start_time: str @@ -291,7 +291,7 @@ def start_time(self, start_time): def end_time(self): """Gets the end_time of this ListSmartLiveRoomsRequest. - 最近直播任务结束时间。格式遵循:RFC 3339 如\"2021-01-10T10:43:17Z\"。 + 最近直播任务结束时间。格式遵循:RFC 3339 如“2021-01-10T10:43:17Z”。 :return: The end_time of this ListSmartLiveRoomsRequest. :rtype: str @@ -302,7 +302,7 @@ def end_time(self): def end_time(self, end_time): """Sets the end_time of this ListSmartLiveRoomsRequest. - 最近直播任务结束时间。格式遵循:RFC 3339 如\"2021-01-10T10:43:17Z\"。 + 最近直播任务结束时间。格式遵循:RFC 3339 如“2021-01-10T10:43:17Z”。 :param end_time: The end_time of this ListSmartLiveRoomsRequest. :type end_time: str @@ -313,7 +313,7 @@ def end_time(self, end_time): def room_type(self): """Gets the room_type of this ListSmartLiveRoomsRequest. - 按直播间类型查询。直播间类型。 * NORMAL: 普通直播间,直播间一直存在,可以反复开播 * TEMP: 临时直播间,直播任务结束后自动清理直播间。 * TEMPLATE: 直播间模板。 + 按直播间类型查询。直播间类型。 * NORMAL:普通直播间,直播间一直存在,可以反复开播 * TEMP:临时直播间,直播任务结束后自动清理直播间。 * TEMPLATE:直播间模板。 :return: The room_type of this ListSmartLiveRoomsRequest. :rtype: str @@ -324,7 +324,7 @@ def room_type(self): def room_type(self, room_type): """Sets the room_type of this ListSmartLiveRoomsRequest. - 按直播间类型查询。直播间类型。 * NORMAL: 普通直播间,直播间一直存在,可以反复开播 * TEMP: 临时直播间,直播任务结束后自动清理直播间。 * TEMPLATE: 直播间模板。 + 按直播间类型查询。直播间类型。 * NORMAL:普通直播间,直播间一直存在,可以反复开播 * TEMP:临时直播间,直播任务结束后自动清理直播间。 * TEMPLATE:直播间模板。 :param room_type: The room_type of this ListSmartLiveRoomsRequest. :type room_type: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_video_scripts_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_video_scripts_request.py index c47a5ba7f0..d180069230 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_video_scripts_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/list_video_scripts_request.py @@ -49,7 +49,7 @@ def __init__(self, x_app_user_id=None, offset=None, limit=None, name=None, scrip :type name: str :param script_catalog: 剧本类型。默认查询VIDEO_DRAFT。 * VIDEO_DRAFT:视频草稿。 * SYSTEM_VIDEO_TEMPLET: 系统视频模板。 :type script_catalog: str - :param view_mode: 横竖屏类型(内部参数,不对外开放)。默认值是LANDSCAPE。 * LANDSCAPE:横屏。 * VERTICAL: 竖屏。 + :param view_mode: 横竖屏类型(内部参数,不对外开放)。默认值是LANDSCAPE。 * LANDSCAPE:横屏。 * VERTICAL:竖屏。 :type view_mode: str """ @@ -190,7 +190,7 @@ def script_catalog(self, script_catalog): def view_mode(self): """Gets the view_mode of this ListVideoScriptsRequest. - 横竖屏类型(内部参数,不对外开放)。默认值是LANDSCAPE。 * LANDSCAPE:横屏。 * VERTICAL: 竖屏。 + 横竖屏类型(内部参数,不对外开放)。默认值是LANDSCAPE。 * LANDSCAPE:横屏。 * VERTICAL:竖屏。 :return: The view_mode of this ListVideoScriptsRequest. :rtype: str @@ -201,7 +201,7 @@ def view_mode(self): def view_mode(self, view_mode): """Sets the view_mode of this ListVideoScriptsRequest. - 横竖屏类型(内部参数,不对外开放)。默认值是LANDSCAPE。 * LANDSCAPE:横屏。 * VERTICAL: 竖屏。 + 横竖屏类型(内部参数,不对外开放)。默认值是LANDSCAPE。 * LANDSCAPE:横屏。 * VERTICAL:竖屏。 :param view_mode: The view_mode of this ListVideoScriptsRequest. :type view_mode: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/live_audio_config.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/live_audio_config.py index 690fca5ec3..53a1751aa9 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/live_audio_config.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/live_audio_config.py @@ -33,11 +33,11 @@ def __init__(self, asset_id=None, audio_url=None, subtitle_url=None): The model defined in huaweicloud sdk - :param asset_id: 插入音频资产的资产id,外部资产信息无需填写。若填写,可以从资产库中查询。 + :param asset_id: **参数解释**: 插入音频资产的资产id,外部资产信息无需填写。若填写,可以从资产库中查询。 **约束限制**: 不涉及 **取值范围**: 字符长度0-64位。 **默认取值**: 不涉及。 :type asset_id: str - :param audio_url: 音频URL。仅支持MP3格式,大小<100MB。输出会自动转化为单声道16KHZ采样。 + :param audio_url: **参数解释**: 音频URL。 **约束限制**: 仅支持MP3格式,大小<100MB。输出会自动转化为单声道16KHZ采样。 **取值范围**: 字符长度0-2048位。 **默认取值**: 不涉及。 :type audio_url: str - :param subtitle_url: 音频对应的字幕文件URL。仅SRT格式,大小<1MB。 + :param subtitle_url: **参数解释**: 音频对应的字幕文件URL。 **约束限制**: 仅SRT格式,大小<1MB。 **取值范围**: 字符长度0-2048位。 **默认取值**: 不涉及。 :type subtitle_url: str """ @@ -59,7 +59,7 @@ def __init__(self, asset_id=None, audio_url=None, subtitle_url=None): def asset_id(self): """Gets the asset_id of this LiveAudioConfig. - 插入音频资产的资产id,外部资产信息无需填写。若填写,可以从资产库中查询。 + **参数解释**: 插入音频资产的资产id,外部资产信息无需填写。若填写,可以从资产库中查询。 **约束限制**: 不涉及 **取值范围**: 字符长度0-64位。 **默认取值**: 不涉及。 :return: The asset_id of this LiveAudioConfig. :rtype: str @@ -70,7 +70,7 @@ def asset_id(self): def asset_id(self, asset_id): """Sets the asset_id of this LiveAudioConfig. - 插入音频资产的资产id,外部资产信息无需填写。若填写,可以从资产库中查询。 + **参数解释**: 插入音频资产的资产id,外部资产信息无需填写。若填写,可以从资产库中查询。 **约束限制**: 不涉及 **取值范围**: 字符长度0-64位。 **默认取值**: 不涉及。 :param asset_id: The asset_id of this LiveAudioConfig. :type asset_id: str @@ -81,7 +81,7 @@ def asset_id(self, asset_id): def audio_url(self): """Gets the audio_url of this LiveAudioConfig. - 音频URL。仅支持MP3格式,大小<100MB。输出会自动转化为单声道16KHZ采样。 + **参数解释**: 音频URL。 **约束限制**: 仅支持MP3格式,大小<100MB。输出会自动转化为单声道16KHZ采样。 **取值范围**: 字符长度0-2048位。 **默认取值**: 不涉及。 :return: The audio_url of this LiveAudioConfig. :rtype: str @@ -92,7 +92,7 @@ def audio_url(self): def audio_url(self, audio_url): """Sets the audio_url of this LiveAudioConfig. - 音频URL。仅支持MP3格式,大小<100MB。输出会自动转化为单声道16KHZ采样。 + **参数解释**: 音频URL。 **约束限制**: 仅支持MP3格式,大小<100MB。输出会自动转化为单声道16KHZ采样。 **取值范围**: 字符长度0-2048位。 **默认取值**: 不涉及。 :param audio_url: The audio_url of this LiveAudioConfig. :type audio_url: str @@ -103,7 +103,7 @@ def audio_url(self, audio_url): def subtitle_url(self): """Gets the subtitle_url of this LiveAudioConfig. - 音频对应的字幕文件URL。仅SRT格式,大小<1MB。 + **参数解释**: 音频对应的字幕文件URL。 **约束限制**: 仅SRT格式,大小<1MB。 **取值范围**: 字符长度0-2048位。 **默认取值**: 不涉及。 :return: The subtitle_url of this LiveAudioConfig. :rtype: str @@ -114,7 +114,7 @@ def subtitle_url(self): def subtitle_url(self, subtitle_url): """Sets the subtitle_url of this LiveAudioConfig. - 音频对应的字幕文件URL。仅SRT格式,大小<1MB。 + **参数解释**: 音频对应的字幕文件URL。 **约束限制**: 仅SRT格式,大小<1MB。 **取值范围**: 字符长度0-2048位。 **默认取值**: 不涉及。 :param subtitle_url: The subtitle_url of this LiveAudioConfig. :type subtitle_url: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/live_event.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/live_event.py index 77cf7b0423..2da8c09514 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/live_event.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/live_event.py @@ -33,11 +33,11 @@ def __init__(self, timestamp=None, type=None, content=None): The model defined in huaweicloud sdk - :param timestamp: 事件戳。从1970-01-01 00:00:00:000开始的毫秒数 + :param timestamp: **参数解释**: 事件戳。从1970-01-01 00:00:00:000开始的毫秒数 :type timestamp: int - :param type: 事件类型。 * 1 弹幕信息 * 2 用户入场 * 3 用户点赞 * 4 用户送礼 * 5 用户订阅\\关注 * 6 房间观看人数 + :param type: **参数解释**: 事件类型。 * 1 弹幕信息 * 2 用户入场 * 3 用户点赞 * 4 用户送礼 * 5 用户订阅\\关注 * 6 房间观看人数 :type type: int - :param content: 事件内容。<br>事件类型不同,content内容也不同,定义如下: - **type=1 弹幕信息** content定义: * user:用户,json * content: string,弹幕内容 user定义: * userId:用户id,string * name:用户姓名,string * level:用户平台等级,int * badge:用户牌子名称,string * badgeLevel:牌子等级,int 举例: ```json { \"timestamp\": 1694481224245, \"type\": 1, \"content\": \"{\\\"user\\\":{\\\"userId\\\":\\\"2027271526\\\",\\\"name\\\":\\\"***\\\",\\\"level\\\":17,\\\"badge\\\":\\\"\\\",\\\"badgeLevel\\\":0},\\\"content\\\":\\\"***\\\"}\" } ``` - **type=2 用户入场** content定义: * user:用户,json 举例: ```json { \"timestamp\": 1694481227655, \"type\": 2, \"content\": \"{\\\"user\\\":{\\\"userId\\\":\\\"2978899271\\\",\\\"name\\\":\\\"***\\\",\\\"level\\\":1,\\\"badge\\\":\\\"\\\",\\\"badgeLevel\\\":0}}\" } ``` - **type=3 用户点赞** content定义: * user:用户,json 举例: ```json { \"timestamp\": 1694481227655, \"type\": 2, \"content\": \"{\\\"user\\\":{\\\"userId\\\":\\\"2978899271\\\",\\\"name\\\":\\\"***\\\",\\\"level\\\":1,\\\"badge\\\":\\\"\\\",\\\"badgeLevel\\\":0}}\" } ``` - **type=4 用户送礼** content定义: * user:用户,json * gift:礼物信息,json gift定义: * giftName:礼物名称,string * giftNum:礼物数量,int * totalValue:此处礼物总价值,int * giftValue:单个礼物价值,int 举例: ```json { \"timestamp\": 1690531652862, \"type\": 4, \"content\": \"{\\\"gift\\\":{\\\"giftName\\\":\\\"小星星\\\",\\\"giftNum\\\":10,\\\"totalValue\\\":10,\\\"giftValue\\\":3},\\\"user\\\":{\\\"userId\\\":\\\"douyin_95882940927\\\",\\\"name\\\":\\\"纯爱战士熙熙\\\",\\\"level\\\":2,\\\"badge\\\":\\\"\\\",\\\"badgeLevel\\\":0}}\" } ``` - **type=5 用户订阅** 暂未使用 - **type=6 房间观看人数** content定义: * numberOfViewers:房间观看人数,int 举例: ```json { \"timestamp\": 1694481236886, \"type\": 6, \"content\": \"{\\\"numberOfViewers\\\":5466}\" } ``` + :param content: 事件内容。 事件类型不同,content内容也不同,定义如下所示: - type=1 弹幕信息 content定义: * user:用户,json * content: string,弹幕内容 user定义: * userId:用户id,string * name:用户姓名,string * level:用户平台等级,int * badge:用户牌子名称,string * badgeLevel:牌子等级,int 举例: ```json { \"timestamp\": 1694481224245, \"type\": 1, \"content\": \"{\\\"user\\\":{\\\"userId\\\":\\\"2027271526\\\",\\\"name\\\":\\\"***\\\",\\\"level\\\":17,\\\"badge\\\":\\\"\\\",\\\"badgeLevel\\\":0},\\\"content\\\":\\\"***\\\"}\" } ``` - type=2 用户入场 content定义: * user:用户,json 举例: ```json { \"timestamp\": 1694481227655, \"type\": 2, \"content\": \"{\\\"user\\\":{\\\"userId\\\":\\\"2978899271\\\",\\\"name\\\":\\\"***\\\",\\\"level\\\":1,\\\"badge\\\":\\\"\\\",\\\"badgeLevel\\\":0}}\" } ``` - type=3 用户点赞 content定义: * user:用户,json 举例: ```json { \"timestamp\": 1694481227655, \"type\": 2, \"content\": \"{\\\"user\\\":{\\\"userId\\\":\\\"2978899271\\\",\\\"name\\\":\\\"***\\\",\\\"level\\\":1,\\\"badge\\\":\\\"\\\",\\\"badgeLevel\\\":0}}\" } ``` - type=4 用户送礼 content定义: * user:用户,json * gift:礼物信息,json gift定义: * giftName:礼物名称,string * giftNum:礼物数量,int * totalValue:此处礼物总价值,int * giftValue:单个礼物价值,int 举例: ```json { \"timestamp\": 1690531652862, \"type\": 4, \"content\": \"{\\\"gift\\\":{\\\"giftName\\\":\\\"小星星\\\",\\\"giftNum\\\":10,\\\"totalValue\\\":10,\\\"giftValue\\\":3},\\\"user\\\":{\\\"userId\\\":\\\"douyin_95882940927\\\",\\\"name\\\":\\\"纯爱战士熙熙\\\",\\\"level\\\":2,\\\"badge\\\":\\\"\\\",\\\"badgeLevel\\\":0}}\" } ``` - type=5 用户订阅 暂未使用 - type=6 房间观看人数 content定义: * numberOfViewers:房间观看人数,int 举例: ```json { \"timestamp\": 1694481236886, \"type\": 6, \"content\": \"{\\\"numberOfViewers\\\":5466}\" } ``` :type content: str """ @@ -58,7 +58,7 @@ def __init__(self, timestamp=None, type=None, content=None): def timestamp(self): """Gets the timestamp of this LiveEvent. - 事件戳。从1970-01-01 00:00:00:000开始的毫秒数 + **参数解释**: 事件戳。从1970-01-01 00:00:00:000开始的毫秒数 :return: The timestamp of this LiveEvent. :rtype: int @@ -69,7 +69,7 @@ def timestamp(self): def timestamp(self, timestamp): """Sets the timestamp of this LiveEvent. - 事件戳。从1970-01-01 00:00:00:000开始的毫秒数 + **参数解释**: 事件戳。从1970-01-01 00:00:00:000开始的毫秒数 :param timestamp: The timestamp of this LiveEvent. :type timestamp: int @@ -80,7 +80,7 @@ def timestamp(self, timestamp): def type(self): """Gets the type of this LiveEvent. - 事件类型。 * 1 弹幕信息 * 2 用户入场 * 3 用户点赞 * 4 用户送礼 * 5 用户订阅\\关注 * 6 房间观看人数 + **参数解释**: 事件类型。 * 1 弹幕信息 * 2 用户入场 * 3 用户点赞 * 4 用户送礼 * 5 用户订阅\\关注 * 6 房间观看人数 :return: The type of this LiveEvent. :rtype: int @@ -91,7 +91,7 @@ def type(self): def type(self, type): """Sets the type of this LiveEvent. - 事件类型。 * 1 弹幕信息 * 2 用户入场 * 3 用户点赞 * 4 用户送礼 * 5 用户订阅\\关注 * 6 房间观看人数 + **参数解释**: 事件类型。 * 1 弹幕信息 * 2 用户入场 * 3 用户点赞 * 4 用户送礼 * 5 用户订阅\\关注 * 6 房间观看人数 :param type: The type of this LiveEvent. :type type: int @@ -102,7 +102,7 @@ def type(self, type): def content(self): """Gets the content of this LiveEvent. - 事件内容。
事件类型不同,content内容也不同,定义如下: - **type=1 弹幕信息** content定义: * user:用户,json * content: string,弹幕内容 user定义: * userId:用户id,string * name:用户姓名,string * level:用户平台等级,int * badge:用户牌子名称,string * badgeLevel:牌子等级,int 举例: ```json { \"timestamp\": 1694481224245, \"type\": 1, \"content\": \"{\\\"user\\\":{\\\"userId\\\":\\\"2027271526\\\",\\\"name\\\":\\\"***\\\",\\\"level\\\":17,\\\"badge\\\":\\\"\\\",\\\"badgeLevel\\\":0},\\\"content\\\":\\\"***\\\"}\" } ``` - **type=2 用户入场** content定义: * user:用户,json 举例: ```json { \"timestamp\": 1694481227655, \"type\": 2, \"content\": \"{\\\"user\\\":{\\\"userId\\\":\\\"2978899271\\\",\\\"name\\\":\\\"***\\\",\\\"level\\\":1,\\\"badge\\\":\\\"\\\",\\\"badgeLevel\\\":0}}\" } ``` - **type=3 用户点赞** content定义: * user:用户,json 举例: ```json { \"timestamp\": 1694481227655, \"type\": 2, \"content\": \"{\\\"user\\\":{\\\"userId\\\":\\\"2978899271\\\",\\\"name\\\":\\\"***\\\",\\\"level\\\":1,\\\"badge\\\":\\\"\\\",\\\"badgeLevel\\\":0}}\" } ``` - **type=4 用户送礼** content定义: * user:用户,json * gift:礼物信息,json gift定义: * giftName:礼物名称,string * giftNum:礼物数量,int * totalValue:此处礼物总价值,int * giftValue:单个礼物价值,int 举例: ```json { \"timestamp\": 1690531652862, \"type\": 4, \"content\": \"{\\\"gift\\\":{\\\"giftName\\\":\\\"小星星\\\",\\\"giftNum\\\":10,\\\"totalValue\\\":10,\\\"giftValue\\\":3},\\\"user\\\":{\\\"userId\\\":\\\"douyin_95882940927\\\",\\\"name\\\":\\\"纯爱战士熙熙\\\",\\\"level\\\":2,\\\"badge\\\":\\\"\\\",\\\"badgeLevel\\\":0}}\" } ``` - **type=5 用户订阅** 暂未使用 - **type=6 房间观看人数** content定义: * numberOfViewers:房间观看人数,int 举例: ```json { \"timestamp\": 1694481236886, \"type\": 6, \"content\": \"{\\\"numberOfViewers\\\":5466}\" } ``` + 事件内容。 事件类型不同,content内容也不同,定义如下所示: - type=1 弹幕信息 content定义: * user:用户,json * content: string,弹幕内容 user定义: * userId:用户id,string * name:用户姓名,string * level:用户平台等级,int * badge:用户牌子名称,string * badgeLevel:牌子等级,int 举例: ```json { \"timestamp\": 1694481224245, \"type\": 1, \"content\": \"{\\\"user\\\":{\\\"userId\\\":\\\"2027271526\\\",\\\"name\\\":\\\"***\\\",\\\"level\\\":17,\\\"badge\\\":\\\"\\\",\\\"badgeLevel\\\":0},\\\"content\\\":\\\"***\\\"}\" } ``` - type=2 用户入场 content定义: * user:用户,json 举例: ```json { \"timestamp\": 1694481227655, \"type\": 2, \"content\": \"{\\\"user\\\":{\\\"userId\\\":\\\"2978899271\\\",\\\"name\\\":\\\"***\\\",\\\"level\\\":1,\\\"badge\\\":\\\"\\\",\\\"badgeLevel\\\":0}}\" } ``` - type=3 用户点赞 content定义: * user:用户,json 举例: ```json { \"timestamp\": 1694481227655, \"type\": 2, \"content\": \"{\\\"user\\\":{\\\"userId\\\":\\\"2978899271\\\",\\\"name\\\":\\\"***\\\",\\\"level\\\":1,\\\"badge\\\":\\\"\\\",\\\"badgeLevel\\\":0}}\" } ``` - type=4 用户送礼 content定义: * user:用户,json * gift:礼物信息,json gift定义: * giftName:礼物名称,string * giftNum:礼物数量,int * totalValue:此处礼物总价值,int * giftValue:单个礼物价值,int 举例: ```json { \"timestamp\": 1690531652862, \"type\": 4, \"content\": \"{\\\"gift\\\":{\\\"giftName\\\":\\\"小星星\\\",\\\"giftNum\\\":10,\\\"totalValue\\\":10,\\\"giftValue\\\":3},\\\"user\\\":{\\\"userId\\\":\\\"douyin_95882940927\\\",\\\"name\\\":\\\"纯爱战士熙熙\\\",\\\"level\\\":2,\\\"badge\\\":\\\"\\\",\\\"badgeLevel\\\":0}}\" } ``` - type=5 用户订阅 暂未使用 - type=6 房间观看人数 content定义: * numberOfViewers:房间观看人数,int 举例: ```json { \"timestamp\": 1694481236886, \"type\": 6, \"content\": \"{\\\"numberOfViewers\\\":5466}\" } ``` :return: The content of this LiveEvent. :rtype: str @@ -113,7 +113,7 @@ def content(self): def content(self, content): """Sets the content of this LiveEvent. - 事件内容。
事件类型不同,content内容也不同,定义如下: - **type=1 弹幕信息** content定义: * user:用户,json * content: string,弹幕内容 user定义: * userId:用户id,string * name:用户姓名,string * level:用户平台等级,int * badge:用户牌子名称,string * badgeLevel:牌子等级,int 举例: ```json { \"timestamp\": 1694481224245, \"type\": 1, \"content\": \"{\\\"user\\\":{\\\"userId\\\":\\\"2027271526\\\",\\\"name\\\":\\\"***\\\",\\\"level\\\":17,\\\"badge\\\":\\\"\\\",\\\"badgeLevel\\\":0},\\\"content\\\":\\\"***\\\"}\" } ``` - **type=2 用户入场** content定义: * user:用户,json 举例: ```json { \"timestamp\": 1694481227655, \"type\": 2, \"content\": \"{\\\"user\\\":{\\\"userId\\\":\\\"2978899271\\\",\\\"name\\\":\\\"***\\\",\\\"level\\\":1,\\\"badge\\\":\\\"\\\",\\\"badgeLevel\\\":0}}\" } ``` - **type=3 用户点赞** content定义: * user:用户,json 举例: ```json { \"timestamp\": 1694481227655, \"type\": 2, \"content\": \"{\\\"user\\\":{\\\"userId\\\":\\\"2978899271\\\",\\\"name\\\":\\\"***\\\",\\\"level\\\":1,\\\"badge\\\":\\\"\\\",\\\"badgeLevel\\\":0}}\" } ``` - **type=4 用户送礼** content定义: * user:用户,json * gift:礼物信息,json gift定义: * giftName:礼物名称,string * giftNum:礼物数量,int * totalValue:此处礼物总价值,int * giftValue:单个礼物价值,int 举例: ```json { \"timestamp\": 1690531652862, \"type\": 4, \"content\": \"{\\\"gift\\\":{\\\"giftName\\\":\\\"小星星\\\",\\\"giftNum\\\":10,\\\"totalValue\\\":10,\\\"giftValue\\\":3},\\\"user\\\":{\\\"userId\\\":\\\"douyin_95882940927\\\",\\\"name\\\":\\\"纯爱战士熙熙\\\",\\\"level\\\":2,\\\"badge\\\":\\\"\\\",\\\"badgeLevel\\\":0}}\" } ``` - **type=5 用户订阅** 暂未使用 - **type=6 房间观看人数** content定义: * numberOfViewers:房间观看人数,int 举例: ```json { \"timestamp\": 1694481236886, \"type\": 6, \"content\": \"{\\\"numberOfViewers\\\":5466}\" } ``` + 事件内容。 事件类型不同,content内容也不同,定义如下所示: - type=1 弹幕信息 content定义: * user:用户,json * content: string,弹幕内容 user定义: * userId:用户id,string * name:用户姓名,string * level:用户平台等级,int * badge:用户牌子名称,string * badgeLevel:牌子等级,int 举例: ```json { \"timestamp\": 1694481224245, \"type\": 1, \"content\": \"{\\\"user\\\":{\\\"userId\\\":\\\"2027271526\\\",\\\"name\\\":\\\"***\\\",\\\"level\\\":17,\\\"badge\\\":\\\"\\\",\\\"badgeLevel\\\":0},\\\"content\\\":\\\"***\\\"}\" } ``` - type=2 用户入场 content定义: * user:用户,json 举例: ```json { \"timestamp\": 1694481227655, \"type\": 2, \"content\": \"{\\\"user\\\":{\\\"userId\\\":\\\"2978899271\\\",\\\"name\\\":\\\"***\\\",\\\"level\\\":1,\\\"badge\\\":\\\"\\\",\\\"badgeLevel\\\":0}}\" } ``` - type=3 用户点赞 content定义: * user:用户,json 举例: ```json { \"timestamp\": 1694481227655, \"type\": 2, \"content\": \"{\\\"user\\\":{\\\"userId\\\":\\\"2978899271\\\",\\\"name\\\":\\\"***\\\",\\\"level\\\":1,\\\"badge\\\":\\\"\\\",\\\"badgeLevel\\\":0}}\" } ``` - type=4 用户送礼 content定义: * user:用户,json * gift:礼物信息,json gift定义: * giftName:礼物名称,string * giftNum:礼物数量,int * totalValue:此处礼物总价值,int * giftValue:单个礼物价值,int 举例: ```json { \"timestamp\": 1690531652862, \"type\": 4, \"content\": \"{\\\"gift\\\":{\\\"giftName\\\":\\\"小星星\\\",\\\"giftNum\\\":10,\\\"totalValue\\\":10,\\\"giftValue\\\":3},\\\"user\\\":{\\\"userId\\\":\\\"douyin_95882940927\\\",\\\"name\\\":\\\"纯爱战士熙熙\\\",\\\"level\\\":2,\\\"badge\\\":\\\"\\\",\\\"badgeLevel\\\":0}}\" } ``` - type=5 用户订阅 暂未使用 - type=6 房间观看人数 content定义: * numberOfViewers:房间观看人数,int 举例: ```json { \"timestamp\": 1694481236886, \"type\": 6, \"content\": \"{\\\"numberOfViewers\\\":5466}\" } ``` :param content: The content of this LiveEvent. :type content: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/live_event_call_back_config.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/live_event_call_back_config.py index 5ab4e6a462..0d9c25bc9d 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/live_event_call_back_config.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/live_event_call_back_config.py @@ -35,13 +35,13 @@ def __init__(self, live_event_type_callback_url=None, auth_type=None, key=None, The model defined in huaweicloud sdk - :param live_event_type_callback_url: 直播事件回调地址。https地址,需自带鉴权串。 + :param live_event_type_callback_url: **参数解释**: 直播事件回调地址,为https地址。 **约束限制**: 不涉及。 **取值范围**: 字符长度0-2048位。 **默认取值**: 不涉及。 :type live_event_type_callback_url: str - :param auth_type: 认证类型。 * NONE。URL中自带认证。 * MSS_A。HMACSHA256签名模式,在URL中追加参数:hwSecret,hwTime。取值方式:hwSecret=hmac_sha256(Key, URI(live_event_callback_url)+ hwTime)&hwTime=hex(timestamp) * MSS_A_HEAD。HMACSHA256签名模式,参数hwSecret,hwTime放置在Head中。 取值方式:x-hw-mss-secret=hmac_sha256(Key, URI(live_event_callback_url)+ hwTime) x-hw-mss-time=hex(timestamp) * MEITUAN_DEFAULT。仅用于美团平台调用回调使用。 + :param auth_type: **参数解释**: 认证类型。 **约束限制**: 不涉及。 **取值范围**: * NONE:URL中自带认证。 * MSS_A:HMACSHA256签名模式,在URL中追加参数hwSecret、hwTime。 取值方式:hwSecret=hmac_sha256(Key, URI(live_event_callback_url)+ hwTime)&hwTime=hex(timestamp) * MSS_A_HEAD:HMACSHA256签名模式,参数hwSecret、hwTime放置在Head中。 取值方式:x-hw-mss-secret=hmac_sha256(Key, URI(live_event_callback_url)+ hwTime) x-hw-mss-time=hex(timestamp) * MEITUAN_DEFAULT:仅用于美团平台调用回调使用。 :type auth_type: str - :param key: 密钥Key + :param key: **参数解释**: 密钥Key。 **约束限制**: 不涉及。 **取值范围**: 字符长度0-32位。 **默认取值**: 不涉及。 :type key: str - :param callback_event_type: 回调的直播事件类型列表。 当前仅支持取值: SHOOT_SCRIPT_SWITCH,剧本段落切换事件。 RTMP_STREAM_STATE_CHANGE,RTMP链接发生变化回调事件。 REPLY_COMMAND_FINISH,回复播放完成通知 回调事件结构体定义: * event_type: 事件类型。 * message: 事件描述。 SHOOT_SCRIPT_SWITCH事件回调定义如下: ```json { \"event_type\": \"SHOOT_SCRIPT_SWITCH\", \"message\":\"{\\\"room_id\\\":\\\"26f065244f754b3aa853b649a21aaf66\\\",\\\"job_id\\\":\\\"e87104f76d7546ce8a46ac6b04c49c3c\\\",\\\"scene_script_name\\\":\\\"商品1\\\",\\\"shoot_script_sequence_no\\\":\\\"2\\\",\\\"shoot_script_title\\\":\\\"段落2\\\"}\" } ``` RTMP_STREAM_STATE_CHANGE回调定义如下: ```json { \"event_type\": \"RTMP_STREAM_STATE_CHANGE\", \"message\":\"{\\\"room_id\\\":\\\"26f065244f754b3aa853b649a21aaf66\\\",\\\"job_id\\\":\\\"e87104f76d7546ce8a46ac6b04c49c3c\\\",\\\"output_url\\\":\\\"rtmp://xxx/xx/xx\\\",\\\"stream_key\\\":\\\"xxxxx\\\",\\\"state\\\":\\\"CONNECTED\\\"}\" } ``` 其中state取值: CONNECTING 链路连接中, CONNECTED 链路已连接,DISCONNECTED 链路已断开,RECONNECTING 链路重连中, END 联络不再重连,链路已结束 REPLY_COMMAND_FINISH回调定义如下: ```json { \"event_type\": \"REPLY_COMMAND_FINISH\", \"message\":\"{\\\"room_id\\\":\\\"26f065244f754b3aa853b649a21aaf66\\\",\\\"job_id\\\":\\\"e87104f76d7546ce8a46ac6b04c49c3c\\\",\\\"reply_id\\\":\\\"e87104f76d7546ce8a46ac6b04c49c3c\"}\" } + :param callback_event_type: **参数解释**: 回调的直播事件类型列表。 **约束限制**: 不涉及。 **取值范围**: 当前仅支持如下取值: * SHOOT_SCRIPT_SWITCH:剧本段落切换事件。 * RTMP_STREAM_STATE_CHANGE:RTMP链接发生变化回调事件。 * REPLY_COMMAND_FINISH:回复播放完成通知。 回调事件结构体定义: * event_type:事件类型。 * message:事件描述。 - SHOOT_SCRIPT_SWITCH事件回调定义如下: ```json { \"event_type\": \"SHOOT_SCRIPT_SWITCH\", \"message\":\"{\\\"room_id\\\":\\\"26f065244f754b3aa853b649a21aaf66\\\",\\\"job_id\\\":\\\"e87104f76d7546ce8a46ac6b04c49c3c\\\",\\\"scene_script_name\\\":\\\"商品1\\\",\\\"shoot_script_sequence_no\\\":\\\"2\\\",\\\"shoot_script_title\\\":\\\"段落2\\\"}\" } ``` - RTMP_STREAM_STATE_CHANGE回调定义如下: ```json { \"event_type\": \"RTMP_STREAM_STATE_CHANGE\", \"message\":\"{\\\"room_id\\\":\\\"26f065244f754b3aa853b649a21aaf66\\\",\\\"job_id\\\":\\\"e87104f76d7546ce8a46ac6b04c49c3c\\\",\\\"output_url\\\":\\\"rtmp://xxx/xx/xx\\\",\\\"stream_key\\\":\\\"xxxxx\\\",\\\"state\\\":\\\"CONNECTED\\\"}\" } ``` 其中state取值:CONNECTING链路连接中;CONNECTED链路已连接;DISCONNECTED链路已断开,RECONNECTING链路重连中;END联络不再重连,链路已结束。 - REPLY_COMMAND_FINISH回调定义如下: ```json { \"event_type\": \"REPLY_COMMAND_FINISH\", \"message\":\"{\\\"room_id\\\":\\\"26f065244f754b3aa853b649a21aaf66\\\",\\\"job_id\\\":\\\"e87104f76d7546ce8a46ac6b04c49c3c\\\",\\\"reply_id\\\":\\\"e87104f76d7546ce8a46ac6b04c49c3c\"}\" } :type callback_event_type: list[str] """ @@ -66,7 +66,7 @@ def __init__(self, live_event_type_callback_url=None, auth_type=None, key=None, def live_event_type_callback_url(self): """Gets the live_event_type_callback_url of this LiveEventCallBackConfig. - 直播事件回调地址。https地址,需自带鉴权串。 + **参数解释**: 直播事件回调地址,为https地址。 **约束限制**: 不涉及。 **取值范围**: 字符长度0-2048位。 **默认取值**: 不涉及。 :return: The live_event_type_callback_url of this LiveEventCallBackConfig. :rtype: str @@ -77,7 +77,7 @@ def live_event_type_callback_url(self): def live_event_type_callback_url(self, live_event_type_callback_url): """Sets the live_event_type_callback_url of this LiveEventCallBackConfig. - 直播事件回调地址。https地址,需自带鉴权串。 + **参数解释**: 直播事件回调地址,为https地址。 **约束限制**: 不涉及。 **取值范围**: 字符长度0-2048位。 **默认取值**: 不涉及。 :param live_event_type_callback_url: The live_event_type_callback_url of this LiveEventCallBackConfig. :type live_event_type_callback_url: str @@ -88,7 +88,7 @@ def live_event_type_callback_url(self, live_event_type_callback_url): def auth_type(self): """Gets the auth_type of this LiveEventCallBackConfig. - 认证类型。 * NONE。URL中自带认证。 * MSS_A。HMACSHA256签名模式,在URL中追加参数:hwSecret,hwTime。取值方式:hwSecret=hmac_sha256(Key, URI(live_event_callback_url)+ hwTime)&hwTime=hex(timestamp) * MSS_A_HEAD。HMACSHA256签名模式,参数hwSecret,hwTime放置在Head中。 取值方式:x-hw-mss-secret=hmac_sha256(Key, URI(live_event_callback_url)+ hwTime) x-hw-mss-time=hex(timestamp) * MEITUAN_DEFAULT。仅用于美团平台调用回调使用。 + **参数解释**: 认证类型。 **约束限制**: 不涉及。 **取值范围**: * NONE:URL中自带认证。 * MSS_A:HMACSHA256签名模式,在URL中追加参数hwSecret、hwTime。 取值方式:hwSecret=hmac_sha256(Key, URI(live_event_callback_url)+ hwTime)&hwTime=hex(timestamp) * MSS_A_HEAD:HMACSHA256签名模式,参数hwSecret、hwTime放置在Head中。 取值方式:x-hw-mss-secret=hmac_sha256(Key, URI(live_event_callback_url)+ hwTime) x-hw-mss-time=hex(timestamp) * MEITUAN_DEFAULT:仅用于美团平台调用回调使用。 :return: The auth_type of this LiveEventCallBackConfig. :rtype: str @@ -99,7 +99,7 @@ def auth_type(self): def auth_type(self, auth_type): """Sets the auth_type of this LiveEventCallBackConfig. - 认证类型。 * NONE。URL中自带认证。 * MSS_A。HMACSHA256签名模式,在URL中追加参数:hwSecret,hwTime。取值方式:hwSecret=hmac_sha256(Key, URI(live_event_callback_url)+ hwTime)&hwTime=hex(timestamp) * MSS_A_HEAD。HMACSHA256签名模式,参数hwSecret,hwTime放置在Head中。 取值方式:x-hw-mss-secret=hmac_sha256(Key, URI(live_event_callback_url)+ hwTime) x-hw-mss-time=hex(timestamp) * MEITUAN_DEFAULT。仅用于美团平台调用回调使用。 + **参数解释**: 认证类型。 **约束限制**: 不涉及。 **取值范围**: * NONE:URL中自带认证。 * MSS_A:HMACSHA256签名模式,在URL中追加参数hwSecret、hwTime。 取值方式:hwSecret=hmac_sha256(Key, URI(live_event_callback_url)+ hwTime)&hwTime=hex(timestamp) * MSS_A_HEAD:HMACSHA256签名模式,参数hwSecret、hwTime放置在Head中。 取值方式:x-hw-mss-secret=hmac_sha256(Key, URI(live_event_callback_url)+ hwTime) x-hw-mss-time=hex(timestamp) * MEITUAN_DEFAULT:仅用于美团平台调用回调使用。 :param auth_type: The auth_type of this LiveEventCallBackConfig. :type auth_type: str @@ -110,7 +110,7 @@ def auth_type(self, auth_type): def key(self): """Gets the key of this LiveEventCallBackConfig. - 密钥Key + **参数解释**: 密钥Key。 **约束限制**: 不涉及。 **取值范围**: 字符长度0-32位。 **默认取值**: 不涉及。 :return: The key of this LiveEventCallBackConfig. :rtype: str @@ -121,7 +121,7 @@ def key(self): def key(self, key): """Sets the key of this LiveEventCallBackConfig. - 密钥Key + **参数解释**: 密钥Key。 **约束限制**: 不涉及。 **取值范围**: 字符长度0-32位。 **默认取值**: 不涉及。 :param key: The key of this LiveEventCallBackConfig. :type key: str @@ -132,7 +132,7 @@ def key(self, key): def callback_event_type(self): """Gets the callback_event_type of this LiveEventCallBackConfig. - 回调的直播事件类型列表。 当前仅支持取值: SHOOT_SCRIPT_SWITCH,剧本段落切换事件。 RTMP_STREAM_STATE_CHANGE,RTMP链接发生变化回调事件。 REPLY_COMMAND_FINISH,回复播放完成通知 回调事件结构体定义: * event_type: 事件类型。 * message: 事件描述。 SHOOT_SCRIPT_SWITCH事件回调定义如下: ```json { \"event_type\": \"SHOOT_SCRIPT_SWITCH\", \"message\":\"{\\\"room_id\\\":\\\"26f065244f754b3aa853b649a21aaf66\\\",\\\"job_id\\\":\\\"e87104f76d7546ce8a46ac6b04c49c3c\\\",\\\"scene_script_name\\\":\\\"商品1\\\",\\\"shoot_script_sequence_no\\\":\\\"2\\\",\\\"shoot_script_title\\\":\\\"段落2\\\"}\" } ``` RTMP_STREAM_STATE_CHANGE回调定义如下: ```json { \"event_type\": \"RTMP_STREAM_STATE_CHANGE\", \"message\":\"{\\\"room_id\\\":\\\"26f065244f754b3aa853b649a21aaf66\\\",\\\"job_id\\\":\\\"e87104f76d7546ce8a46ac6b04c49c3c\\\",\\\"output_url\\\":\\\"rtmp://xxx/xx/xx\\\",\\\"stream_key\\\":\\\"xxxxx\\\",\\\"state\\\":\\\"CONNECTED\\\"}\" } ``` 其中state取值: CONNECTING 链路连接中, CONNECTED 链路已连接,DISCONNECTED 链路已断开,RECONNECTING 链路重连中, END 联络不再重连,链路已结束 REPLY_COMMAND_FINISH回调定义如下: ```json { \"event_type\": \"REPLY_COMMAND_FINISH\", \"message\":\"{\\\"room_id\\\":\\\"26f065244f754b3aa853b649a21aaf66\\\",\\\"job_id\\\":\\\"e87104f76d7546ce8a46ac6b04c49c3c\\\",\\\"reply_id\\\":\\\"e87104f76d7546ce8a46ac6b04c49c3c\"}\" } + **参数解释**: 回调的直播事件类型列表。 **约束限制**: 不涉及。 **取值范围**: 当前仅支持如下取值: * SHOOT_SCRIPT_SWITCH:剧本段落切换事件。 * RTMP_STREAM_STATE_CHANGE:RTMP链接发生变化回调事件。 * REPLY_COMMAND_FINISH:回复播放完成通知。 回调事件结构体定义: * event_type:事件类型。 * message:事件描述。 - SHOOT_SCRIPT_SWITCH事件回调定义如下: ```json { \"event_type\": \"SHOOT_SCRIPT_SWITCH\", \"message\":\"{\\\"room_id\\\":\\\"26f065244f754b3aa853b649a21aaf66\\\",\\\"job_id\\\":\\\"e87104f76d7546ce8a46ac6b04c49c3c\\\",\\\"scene_script_name\\\":\\\"商品1\\\",\\\"shoot_script_sequence_no\\\":\\\"2\\\",\\\"shoot_script_title\\\":\\\"段落2\\\"}\" } ``` - RTMP_STREAM_STATE_CHANGE回调定义如下: ```json { \"event_type\": \"RTMP_STREAM_STATE_CHANGE\", \"message\":\"{\\\"room_id\\\":\\\"26f065244f754b3aa853b649a21aaf66\\\",\\\"job_id\\\":\\\"e87104f76d7546ce8a46ac6b04c49c3c\\\",\\\"output_url\\\":\\\"rtmp://xxx/xx/xx\\\",\\\"stream_key\\\":\\\"xxxxx\\\",\\\"state\\\":\\\"CONNECTED\\\"}\" } ``` 其中state取值:CONNECTING链路连接中;CONNECTED链路已连接;DISCONNECTED链路已断开,RECONNECTING链路重连中;END联络不再重连,链路已结束。 - REPLY_COMMAND_FINISH回调定义如下: ```json { \"event_type\": \"REPLY_COMMAND_FINISH\", \"message\":\"{\\\"room_id\\\":\\\"26f065244f754b3aa853b649a21aaf66\\\",\\\"job_id\\\":\\\"e87104f76d7546ce8a46ac6b04c49c3c\\\",\\\"reply_id\\\":\\\"e87104f76d7546ce8a46ac6b04c49c3c\"}\" } :return: The callback_event_type of this LiveEventCallBackConfig. :rtype: list[str] @@ -143,7 +143,7 @@ def callback_event_type(self): def callback_event_type(self, callback_event_type): """Sets the callback_event_type of this LiveEventCallBackConfig. - 回调的直播事件类型列表。 当前仅支持取值: SHOOT_SCRIPT_SWITCH,剧本段落切换事件。 RTMP_STREAM_STATE_CHANGE,RTMP链接发生变化回调事件。 REPLY_COMMAND_FINISH,回复播放完成通知 回调事件结构体定义: * event_type: 事件类型。 * message: 事件描述。 SHOOT_SCRIPT_SWITCH事件回调定义如下: ```json { \"event_type\": \"SHOOT_SCRIPT_SWITCH\", \"message\":\"{\\\"room_id\\\":\\\"26f065244f754b3aa853b649a21aaf66\\\",\\\"job_id\\\":\\\"e87104f76d7546ce8a46ac6b04c49c3c\\\",\\\"scene_script_name\\\":\\\"商品1\\\",\\\"shoot_script_sequence_no\\\":\\\"2\\\",\\\"shoot_script_title\\\":\\\"段落2\\\"}\" } ``` RTMP_STREAM_STATE_CHANGE回调定义如下: ```json { \"event_type\": \"RTMP_STREAM_STATE_CHANGE\", \"message\":\"{\\\"room_id\\\":\\\"26f065244f754b3aa853b649a21aaf66\\\",\\\"job_id\\\":\\\"e87104f76d7546ce8a46ac6b04c49c3c\\\",\\\"output_url\\\":\\\"rtmp://xxx/xx/xx\\\",\\\"stream_key\\\":\\\"xxxxx\\\",\\\"state\\\":\\\"CONNECTED\\\"}\" } ``` 其中state取值: CONNECTING 链路连接中, CONNECTED 链路已连接,DISCONNECTED 链路已断开,RECONNECTING 链路重连中, END 联络不再重连,链路已结束 REPLY_COMMAND_FINISH回调定义如下: ```json { \"event_type\": \"REPLY_COMMAND_FINISH\", \"message\":\"{\\\"room_id\\\":\\\"26f065244f754b3aa853b649a21aaf66\\\",\\\"job_id\\\":\\\"e87104f76d7546ce8a46ac6b04c49c3c\\\",\\\"reply_id\\\":\\\"e87104f76d7546ce8a46ac6b04c49c3c\"}\" } + **参数解释**: 回调的直播事件类型列表。 **约束限制**: 不涉及。 **取值范围**: 当前仅支持如下取值: * SHOOT_SCRIPT_SWITCH:剧本段落切换事件。 * RTMP_STREAM_STATE_CHANGE:RTMP链接发生变化回调事件。 * REPLY_COMMAND_FINISH:回复播放完成通知。 回调事件结构体定义: * event_type:事件类型。 * message:事件描述。 - SHOOT_SCRIPT_SWITCH事件回调定义如下: ```json { \"event_type\": \"SHOOT_SCRIPT_SWITCH\", \"message\":\"{\\\"room_id\\\":\\\"26f065244f754b3aa853b649a21aaf66\\\",\\\"job_id\\\":\\\"e87104f76d7546ce8a46ac6b04c49c3c\\\",\\\"scene_script_name\\\":\\\"商品1\\\",\\\"shoot_script_sequence_no\\\":\\\"2\\\",\\\"shoot_script_title\\\":\\\"段落2\\\"}\" } ``` - RTMP_STREAM_STATE_CHANGE回调定义如下: ```json { \"event_type\": \"RTMP_STREAM_STATE_CHANGE\", \"message\":\"{\\\"room_id\\\":\\\"26f065244f754b3aa853b649a21aaf66\\\",\\\"job_id\\\":\\\"e87104f76d7546ce8a46ac6b04c49c3c\\\",\\\"output_url\\\":\\\"rtmp://xxx/xx/xx\\\",\\\"stream_key\\\":\\\"xxxxx\\\",\\\"state\\\":\\\"CONNECTED\\\"}\" } ``` 其中state取值:CONNECTING链路连接中;CONNECTED链路已连接;DISCONNECTED链路已断开,RECONNECTING链路重连中;END联络不再重连,链路已结束。 - REPLY_COMMAND_FINISH回调定义如下: ```json { \"event_type\": \"REPLY_COMMAND_FINISH\", \"message\":\"{\\\"room_id\\\":\\\"26f065244f754b3aa853b649a21aaf66\\\",\\\"job_id\\\":\\\"e87104f76d7546ce8a46ac6b04c49c3c\\\",\\\"reply_id\\\":\\\"e87104f76d7546ce8a46ac6b04c49c3c\"}\" } :param callback_event_type: The callback_event_type of this LiveEventCallBackConfig. :type callback_event_type: list[str] diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/live_event_report_request.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/live_event_report_request.py index 28af76f92c..fa49de6743 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/live_event_report_request.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/live_event_report_request.py @@ -49,7 +49,7 @@ def __init__(self, room_id=None, job_id=None, x_app_user_id=None, auth_key=None, :type x_app_user_id: str :param auth_key: 鉴权Key。通过HmacSHA256生成的鉴权key :type auth_key: str - :param expires_time: 鉴权key过期时间。从1970年1月1日(UTC/GMT的午夜)开始所经过的豪秒数。 + :param expires_time: **参数解释**: 鉴权key过期时间。从1970年1月1日(UTC/GMT的午夜)开始所经过的豪秒数。 :type expires_time: int :param refresh_url: 是否刷新URL :type refresh_url: bool @@ -173,7 +173,7 @@ def auth_key(self, auth_key): def expires_time(self): """Gets the expires_time of this LiveEventReportRequest. - 鉴权key过期时间。从1970年1月1日(UTC/GMT的午夜)开始所经过的豪秒数。 + **参数解释**: 鉴权key过期时间。从1970年1月1日(UTC/GMT的午夜)开始所经过的豪秒数。 :return: The expires_time of this LiveEventReportRequest. :rtype: int @@ -184,7 +184,7 @@ def expires_time(self): def expires_time(self, expires_time): """Sets the expires_time of this LiveEventReportRequest. - 鉴权key过期时间。从1970年1月1日(UTC/GMT的午夜)开始所经过的豪秒数。 + **参数解释**: 鉴权key过期时间。从1970年1月1日(UTC/GMT的午夜)开始所经过的豪秒数。 :param expires_time: The expires_time of this LiveEventReportRequest. :type expires_time: int diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/live_room_interaction_rule_info.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/live_room_interaction_rule_info.py index 4fecaae631..e9862d232a 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/live_room_interaction_rule_info.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/live_room_interaction_rule_info.py @@ -47,13 +47,13 @@ def __init__(self, rule_index=None, rule_name=None, enabled=None, event_type=Non The model defined in huaweicloud sdk - :param rule_index: 规则索引 + :param rule_index: **参数解释**: 规则索引。用于触发规则时索引具体规则。 **约束限制**: 无需用户填写。 **取值范围**: 字符0-64位 **默认取值**: 不涉及。 :type rule_index: str - :param rule_name: 规则名称 + :param rule_name: **参数解释**: 规则名称。 **约束限制**: 不涉及。 **取值范围**: 字符0-256位 **默认取值**: 不涉及。 :type rule_name: str - :param enabled: 是否启用 + :param enabled: **参数解释**: 是否启用。 **约束限制**: 不涉及。 **取值范围**: * true:启用 * fasle:不启用 **默认取值**: true :type enabled: bool - :param event_type: 事件类型。 * 1:弹幕事件 * 2:用户入场事件 * 3:用户点赞事件 * 4:用户送礼事件 * 10: 预置话术事件 + :param event_type: **参数解释**: 规则匹配直播事件类型。接口的取值范围[0,100],实际业务取值如下所示: * 1:弹幕事件 * 2:用户入场事件 * 3:用户点赞事件 * 4:用户送礼事件 * 10: 预置话术事件 请以实际业务取值为准。 > * 1,2,3,4:与LiveEventReport中的event.type对应。 > * 10:匹配预置剧本 **约束限制**: 不涉及。 **默认取值**: 不涉及 :type event_type: int :param hit_condition: :type hit_condition: :class:`huaweicloudsdkmetastudio.v1.HitCondition` @@ -61,11 +61,11 @@ def __init__(self, rule_index=None, rule_name=None, enabled=None, event_type=Non :type trigger: :class:`huaweicloudsdkmetastudio.v1.TriggerProcess` :param review_config: :type review_config: :class:`huaweicloudsdkmetastudio.v1.ReviewConfig` - :param group_id: 互动规则库ID。从互动库导入时携带互动库ID。 + :param group_id: **参数解释**: 互动规则库ID。从互动库导入时携带互动库ID。 **约束限制**: 不涉及。 **取值范围**: 字符长度1-64位。 **默认取值**: 不涉及。 :type group_id: str - :param group_name: 互动规则库名称。从互动库导入时携带互动库名称。 + :param group_name: **参数解释**: 互动规则库名称。从互动库导入时携带互动库名称。 **约束限制**: 不涉及。 **取值范围**: 字符长度1-256位。 **默认取值**: 不涉及。 :type group_name: str - :param enabled_scenes: 规则启用场景。部分场景启用时填写。不填写为全部。 + :param enabled_scenes: **参数解释**: 规则启用场景。启用部分场景时填写。如果不填写则适用所有场景。 **约束限制**: 不涉及。 **取值范围**: 对应直播间场景列表,最大100个场景,这边也对应100个。 条目填写场景名称,字符长度1-256。 **默认取值**: 不涉及。 :type enabled_scenes: list[str] """ @@ -108,7 +108,7 @@ def __init__(self, rule_index=None, rule_name=None, enabled=None, event_type=Non def rule_index(self): """Gets the rule_index of this LiveRoomInteractionRuleInfo. - 规则索引 + **参数解释**: 规则索引。用于触发规则时索引具体规则。 **约束限制**: 无需用户填写。 **取值范围**: 字符0-64位 **默认取值**: 不涉及。 :return: The rule_index of this LiveRoomInteractionRuleInfo. :rtype: str @@ -119,7 +119,7 @@ def rule_index(self): def rule_index(self, rule_index): """Sets the rule_index of this LiveRoomInteractionRuleInfo. - 规则索引 + **参数解释**: 规则索引。用于触发规则时索引具体规则。 **约束限制**: 无需用户填写。 **取值范围**: 字符0-64位 **默认取值**: 不涉及。 :param rule_index: The rule_index of this LiveRoomInteractionRuleInfo. :type rule_index: str @@ -130,7 +130,7 @@ def rule_index(self, rule_index): def rule_name(self): """Gets the rule_name of this LiveRoomInteractionRuleInfo. - 规则名称 + **参数解释**: 规则名称。 **约束限制**: 不涉及。 **取值范围**: 字符0-256位 **默认取值**: 不涉及。 :return: The rule_name of this LiveRoomInteractionRuleInfo. :rtype: str @@ -141,7 +141,7 @@ def rule_name(self): def rule_name(self, rule_name): """Sets the rule_name of this LiveRoomInteractionRuleInfo. - 规则名称 + **参数解释**: 规则名称。 **约束限制**: 不涉及。 **取值范围**: 字符0-256位 **默认取值**: 不涉及。 :param rule_name: The rule_name of this LiveRoomInteractionRuleInfo. :type rule_name: str @@ -152,7 +152,7 @@ def rule_name(self, rule_name): def enabled(self): """Gets the enabled of this LiveRoomInteractionRuleInfo. - 是否启用 + **参数解释**: 是否启用。 **约束限制**: 不涉及。 **取值范围**: * true:启用 * fasle:不启用 **默认取值**: true :return: The enabled of this LiveRoomInteractionRuleInfo. :rtype: bool @@ -163,7 +163,7 @@ def enabled(self): def enabled(self, enabled): """Sets the enabled of this LiveRoomInteractionRuleInfo. - 是否启用 + **参数解释**: 是否启用。 **约束限制**: 不涉及。 **取值范围**: * true:启用 * fasle:不启用 **默认取值**: true :param enabled: The enabled of this LiveRoomInteractionRuleInfo. :type enabled: bool @@ -174,7 +174,7 @@ def enabled(self, enabled): def event_type(self): """Gets the event_type of this LiveRoomInteractionRuleInfo. - 事件类型。 * 1:弹幕事件 * 2:用户入场事件 * 3:用户点赞事件 * 4:用户送礼事件 * 10: 预置话术事件 + **参数解释**: 规则匹配直播事件类型。接口的取值范围[0,100],实际业务取值如下所示: * 1:弹幕事件 * 2:用户入场事件 * 3:用户点赞事件 * 4:用户送礼事件 * 10: 预置话术事件 请以实际业务取值为准。 > * 1,2,3,4:与LiveEventReport中的event.type对应。 > * 10:匹配预置剧本 **约束限制**: 不涉及。 **默认取值**: 不涉及 :return: The event_type of this LiveRoomInteractionRuleInfo. :rtype: int @@ -185,7 +185,7 @@ def event_type(self): def event_type(self, event_type): """Sets the event_type of this LiveRoomInteractionRuleInfo. - 事件类型。 * 1:弹幕事件 * 2:用户入场事件 * 3:用户点赞事件 * 4:用户送礼事件 * 10: 预置话术事件 + **参数解释**: 规则匹配直播事件类型。接口的取值范围[0,100],实际业务取值如下所示: * 1:弹幕事件 * 2:用户入场事件 * 3:用户点赞事件 * 4:用户送礼事件 * 10: 预置话术事件 请以实际业务取值为准。 > * 1,2,3,4:与LiveEventReport中的event.type对应。 > * 10:匹配预置剧本 **约束限制**: 不涉及。 **默认取值**: 不涉及 :param event_type: The event_type of this LiveRoomInteractionRuleInfo. :type event_type: int @@ -250,7 +250,7 @@ def review_config(self, review_config): def group_id(self): """Gets the group_id of this LiveRoomInteractionRuleInfo. - 互动规则库ID。从互动库导入时携带互动库ID。 + **参数解释**: 互动规则库ID。从互动库导入时携带互动库ID。 **约束限制**: 不涉及。 **取值范围**: 字符长度1-64位。 **默认取值**: 不涉及。 :return: The group_id of this LiveRoomInteractionRuleInfo. :rtype: str @@ -261,7 +261,7 @@ def group_id(self): def group_id(self, group_id): """Sets the group_id of this LiveRoomInteractionRuleInfo. - 互动规则库ID。从互动库导入时携带互动库ID。 + **参数解释**: 互动规则库ID。从互动库导入时携带互动库ID。 **约束限制**: 不涉及。 **取值范围**: 字符长度1-64位。 **默认取值**: 不涉及。 :param group_id: The group_id of this LiveRoomInteractionRuleInfo. :type group_id: str @@ -272,7 +272,7 @@ def group_id(self, group_id): def group_name(self): """Gets the group_name of this LiveRoomInteractionRuleInfo. - 互动规则库名称。从互动库导入时携带互动库名称。 + **参数解释**: 互动规则库名称。从互动库导入时携带互动库名称。 **约束限制**: 不涉及。 **取值范围**: 字符长度1-256位。 **默认取值**: 不涉及。 :return: The group_name of this LiveRoomInteractionRuleInfo. :rtype: str @@ -283,7 +283,7 @@ def group_name(self): def group_name(self, group_name): """Sets the group_name of this LiveRoomInteractionRuleInfo. - 互动规则库名称。从互动库导入时携带互动库名称。 + **参数解释**: 互动规则库名称。从互动库导入时携带互动库名称。 **约束限制**: 不涉及。 **取值范围**: 字符长度1-256位。 **默认取值**: 不涉及。 :param group_name: The group_name of this LiveRoomInteractionRuleInfo. :type group_name: str @@ -294,7 +294,7 @@ def group_name(self, group_name): def enabled_scenes(self): """Gets the enabled_scenes of this LiveRoomInteractionRuleInfo. - 规则启用场景。部分场景启用时填写。不填写为全部。 + **参数解释**: 规则启用场景。启用部分场景时填写。如果不填写则适用所有场景。 **约束限制**: 不涉及。 **取值范围**: 对应直播间场景列表,最大100个场景,这边也对应100个。 条目填写场景名称,字符长度1-256。 **默认取值**: 不涉及。 :return: The enabled_scenes of this LiveRoomInteractionRuleInfo. :rtype: list[str] @@ -305,7 +305,7 @@ def enabled_scenes(self): def enabled_scenes(self, enabled_scenes): """Sets the enabled_scenes of this LiveRoomInteractionRuleInfo. - 规则启用场景。部分场景启用时填写。不填写为全部。 + **参数解释**: 规则启用场景。启用部分场景时填写。如果不填写则适用所有场景。 **约束限制**: 不涉及。 **取值范围**: 对应直播间场景列表,最大100个场景,这边也对应100个。 条目填写场景名称,字符长度1-256。 **默认取值**: 不涉及。 :param enabled_scenes: The enabled_scenes of this LiveRoomInteractionRuleInfo. :type enabled_scenes: list[str] diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/live_shoot_script_item.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/live_shoot_script_item.py index 3f9786565f..7867640d99 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/live_shoot_script_item.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/live_shoot_script_item.py @@ -35,9 +35,9 @@ def __init__(self, sequence_no=None, title=None, text_config=None, audio_config= The model defined in huaweicloud sdk - :param sequence_no: 剧本序号。 + :param sequence_no: **参数解释**: 剧本序号。 **约束限制**: 不涉及 :type sequence_no: int - :param title: 段落标题。 + :param title: **参数解释**: 段落标题。 **约束限制**: 不涉及 **取值范围**: 字符长度0-256位。 **默认取值**: 不涉及。 :type title: str :param text_config: :type text_config: :class:`huaweicloudsdkmetastudio.v1.TextConfig` @@ -66,7 +66,7 @@ def __init__(self, sequence_no=None, title=None, text_config=None, audio_config= def sequence_no(self): """Gets the sequence_no of this LiveShootScriptItem. - 剧本序号。 + **参数解释**: 剧本序号。 **约束限制**: 不涉及 :return: The sequence_no of this LiveShootScriptItem. :rtype: int @@ -77,7 +77,7 @@ def sequence_no(self): def sequence_no(self, sequence_no): """Sets the sequence_no of this LiveShootScriptItem. - 剧本序号。 + **参数解释**: 剧本序号。 **约束限制**: 不涉及 :param sequence_no: The sequence_no of this LiveShootScriptItem. :type sequence_no: int @@ -88,7 +88,7 @@ def sequence_no(self, sequence_no): def title(self): """Gets the title of this LiveShootScriptItem. - 段落标题。 + **参数解释**: 段落标题。 **约束限制**: 不涉及 **取值范围**: 字符长度0-256位。 **默认取值**: 不涉及。 :return: The title of this LiveShootScriptItem. :rtype: str @@ -99,7 +99,7 @@ def title(self): def title(self, title): """Sets the title of this LiveShootScriptItem. - 段落标题。 + **参数解释**: 段落标题。 **约束限制**: 不涉及 **取值范围**: 字符长度0-256位。 **默认取值**: 不涉及。 :param title: The title of this LiveShootScriptItem. :type title: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/live_video_script_info.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/live_video_script_info.py index 8ab72b4b76..ba5e7d3e5e 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/live_video_script_info.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/live_video_script_info.py @@ -45,15 +45,15 @@ def __init__(self, script_id=None, script_name=None, script_description=None, dh The model defined in huaweicloud sdk - :param script_id: 剧本ID。 + :param script_id: **参数解释**: 剧本ID。 **约束限制**: 该字段无需填写。 **取值范围**: 字符长度1-64位。 **默认取值**: 不涉及。 :type script_id: str - :param script_name: 剧本名称 + :param script_name: **参数解释**: 剧本名称。 **约束限制**: 该字段必须填写。 **取值范围**: 字符长度1-256位。 **默认取值**: 不涉及。 :type script_name: str - :param script_description: 剧本描述。 + :param script_description: **参数解释**: 剧本描述。 **约束限制**: 该字段无需填写。 **取值范围**: 字符长度0-1024位。 **默认取值**: 不涉及。 :type script_description: str - :param dh_id: 数字人ID。对应形象和音色组合。 + :param dh_id: **参数解释**: 数字人ID。对应形象和音色组合。 **约束限制**: 该字段暂未启用,无需填写。 **取值范围**: 字符长度0-64位。 **默认取值**: 不涉及。 :type dh_id: str - :param model_asset_id: 数字人模型资产ID,可以从资产库中查询。 + :param model_asset_id: **参数解释**: 数字人模型资产ID,可以从资产库中查询。 **约束限制**: 不涉及 **取值范围**: 字符长度0-64位。 **默认取值**: 不涉及 :type model_asset_id: str :param voice_config: :type voice_config: :class:`huaweicloudsdkmetastudio.v1.VoiceConfig` @@ -99,7 +99,7 @@ def __init__(self, script_id=None, script_name=None, script_description=None, dh def script_id(self): """Gets the script_id of this LiveVideoScriptInfo. - 剧本ID。 + **参数解释**: 剧本ID。 **约束限制**: 该字段无需填写。 **取值范围**: 字符长度1-64位。 **默认取值**: 不涉及。 :return: The script_id of this LiveVideoScriptInfo. :rtype: str @@ -110,7 +110,7 @@ def script_id(self): def script_id(self, script_id): """Sets the script_id of this LiveVideoScriptInfo. - 剧本ID。 + **参数解释**: 剧本ID。 **约束限制**: 该字段无需填写。 **取值范围**: 字符长度1-64位。 **默认取值**: 不涉及。 :param script_id: The script_id of this LiveVideoScriptInfo. :type script_id: str @@ -121,7 +121,7 @@ def script_id(self, script_id): def script_name(self): """Gets the script_name of this LiveVideoScriptInfo. - 剧本名称 + **参数解释**: 剧本名称。 **约束限制**: 该字段必须填写。 **取值范围**: 字符长度1-256位。 **默认取值**: 不涉及。 :return: The script_name of this LiveVideoScriptInfo. :rtype: str @@ -132,7 +132,7 @@ def script_name(self): def script_name(self, script_name): """Sets the script_name of this LiveVideoScriptInfo. - 剧本名称 + **参数解释**: 剧本名称。 **约束限制**: 该字段必须填写。 **取值范围**: 字符长度1-256位。 **默认取值**: 不涉及。 :param script_name: The script_name of this LiveVideoScriptInfo. :type script_name: str @@ -143,7 +143,7 @@ def script_name(self, script_name): def script_description(self): """Gets the script_description of this LiveVideoScriptInfo. - 剧本描述。 + **参数解释**: 剧本描述。 **约束限制**: 该字段无需填写。 **取值范围**: 字符长度0-1024位。 **默认取值**: 不涉及。 :return: The script_description of this LiveVideoScriptInfo. :rtype: str @@ -154,7 +154,7 @@ def script_description(self): def script_description(self, script_description): """Sets the script_description of this LiveVideoScriptInfo. - 剧本描述。 + **参数解释**: 剧本描述。 **约束限制**: 该字段无需填写。 **取值范围**: 字符长度0-1024位。 **默认取值**: 不涉及。 :param script_description: The script_description of this LiveVideoScriptInfo. :type script_description: str @@ -165,7 +165,7 @@ def script_description(self, script_description): def dh_id(self): """Gets the dh_id of this LiveVideoScriptInfo. - 数字人ID。对应形象和音色组合。 + **参数解释**: 数字人ID。对应形象和音色组合。 **约束限制**: 该字段暂未启用,无需填写。 **取值范围**: 字符长度0-64位。 **默认取值**: 不涉及。 :return: The dh_id of this LiveVideoScriptInfo. :rtype: str @@ -176,7 +176,7 @@ def dh_id(self): def dh_id(self, dh_id): """Sets the dh_id of this LiveVideoScriptInfo. - 数字人ID。对应形象和音色组合。 + **参数解释**: 数字人ID。对应形象和音色组合。 **约束限制**: 该字段暂未启用,无需填写。 **取值范围**: 字符长度0-64位。 **默认取值**: 不涉及。 :param dh_id: The dh_id of this LiveVideoScriptInfo. :type dh_id: str @@ -187,7 +187,7 @@ def dh_id(self, dh_id): def model_asset_id(self): """Gets the model_asset_id of this LiveVideoScriptInfo. - 数字人模型资产ID,可以从资产库中查询。 + **参数解释**: 数字人模型资产ID,可以从资产库中查询。 **约束限制**: 不涉及 **取值范围**: 字符长度0-64位。 **默认取值**: 不涉及 :return: The model_asset_id of this LiveVideoScriptInfo. :rtype: str @@ -198,7 +198,7 @@ def model_asset_id(self): def model_asset_id(self, model_asset_id): """Sets the model_asset_id of this LiveVideoScriptInfo. - 数字人模型资产ID,可以从资产库中查询。 + **参数解释**: 数字人模型资产ID,可以从资产库中查询。 **约束限制**: 不涉及 **取值范围**: 字符长度0-64位。 **默认取值**: 不涉及 :param model_asset_id: The model_asset_id of this LiveVideoScriptInfo. :type model_asset_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/operation_log_info.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/operation_log_info.py index 383976d6ca..db28c19815 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/operation_log_info.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/operation_log_info.py @@ -37,7 +37,7 @@ def __init__(self, operate_time=None, log_type=None, log_description=None, opera :param operate_time: 操作时间,格式遵循:RFC 3339。 例 “2020-07-30T10:43:17Z” :type operate_time: str - :param log_type: 命令执行结果。 * USER_CREATE_JOD:用户开始分身数字人定制 * USER_VERIFYING_SUBMITTED:用户提交审核 * SYSTEM_VERIFY_FAILED:自动审核失败 * SYSTEM_VERIFY_SUCCESS:自动审核成功 * ADMIN_VERIFY_SUCCESS:人工审核通过 * ADMIN_VERIFY_FAILED:人工审核不通过 * SYSTEM_TRAIN_DATA_PREPROCESSING:训练数据预处理中 * SYSTEM_TRAIN_DATA_PREPROCESS_FAILED:训练数据预处理失 * SYSTEM_TRAIN_DATA_PREPROCESS_SUCCESS:训练数据预处理成功 * SYSTEM_TRAINING:开始训练 * ADMIN_STOP_TRAIN:人工终止训练 * SYSTEM_TRAIN_FAILED:训练失败 * SYSTEM_TRAIN_SUCCESS:训练成功 * SYSTEM_INFERENCE_DATA_PREPROCESSING:推理数据预处理中 * SYSTEM_INFERENCE_DATA_PREPROCESS_FAILED:推理数据预处理失败 * SYSTEM_INFERENCE_DATA_PREPROCESS_SUCCESS:推理数据预处理成功 * SYSTEM_JOB_SUCCESS:任务处理完成 * SYSTEM_MARKABLE_VIDEO:标记视频生成任务 * SYSTEM_MASK_VERIFY_VIDEO:校验视频生成任务 * SYSTEM_MASK_VERIFY_VIDEO_SUCCESS:校验视频生成成功 * SYSTEM_MASK_VERIFY_VIDEO_FAILED:校验视频生成失败 * SYSTEM_MARKABLE_VIDEO_SUCCESS:标记视频生成成功 * SYSTEM_MARKABLE_VIDEO_FAILED:标记视频生成失败 * SYSTEM_MASK_VIDEO_AND_ACTION_TIME_SUCCESS:自动标记成功 * SYSTEM_MASK_VIDEO_AND_ACTION_TIME_FAILED:自动标记失败 * ADMIN_MASK_UPLOADED:遮罩文件上传完成 * ADMIN_UPDATE_VIDEO:管理员更换视频 * USER_UPDATE_VIDEO:用户更换视频 * USER_UPDATE_VIDEO:用户更换视频 * ADMIN_MASK_ACTION_TIME:管理员标记 * SYSTEM_COMPILE_FAILED:转编译失败 * SYSTEM_COMPILE_SUCCESS:转编译成功 + :param log_type: 命令执行结果。 * USER_CREATE_JOD:用户开始分身数字人定制 * USER_VERIFYING_SUBMITTED:用户提交审核 * SYSTEM_VERIFY_FAILED:自动审核失败 * SYSTEM_VERIFY_SUCCESS:自动审核成功 * ADMIN_VERIFY_SUCCESS:人工审核通过 * ADMIN_VERIFY_FAILED:人工审核不通过 * SYSTEM_TRAIN_DATA_PREPROCESSING:训练数据预处理中 * SYSTEM_TRAIN_DATA_PREPROCESS_FAILED:训练数据预处理失 * SYSTEM_TRAIN_DATA_PREPROCESS_SUCCESS:训练数据预处理成功 * SYSTEM_ACTION_GENERATE_DATA_PREPROCESSING:动作编排原子动作生成中 * SYSTEM_ACTION_GENERATE_DATA_SUCCESS:动作编排原子动作生成成功 * SYSTEM_ACTION_GENERATE_ORI_SUCCESS:动作编排资产数据生成成功 * SYSTEM_ACTION_GENERATE_DATA_FAILED:动作编排原子动作生成失败 * SYSTEM_ACTION_GENERATE_ORI_FAILED:动作编排资产数据生成失败 * SYSTEM_ACTION_GENERATE_ORI_PREPROCESSING:动作编排资产数据生成中 * SYSTEM_TRAINING:开始训练 * ADMIN_STOP_TRAINING_DATA_PREPROCESS:人工中止训练 * ADMIN_STOP_INFERENCE_DATA_PREPROCESS:人工中止推理预处理 * ADMIN_STOP_TRAIN:人工终止训练 * SYSTEM_TRAIN_FAILED:训练失败 * SYSTEM_TRAIN_SUCCESS:训练成功 * SYSTEM_INFERENCE_DATA_PREPROCESSING:推理数据预处理中 * SYSTEM_INFERENCE_DATA_PREPROCESS_FAILED:推理数据预处理失败 * SYSTEM_INFERENCE_DATA_PREPROCESS_SUCCESS:推理数据预处理成功 * SYSTEM_JOB_SUCCESS:任务处理完成 * ADMIN_MASK_UPLOADED:遮罩文件上传完成(已废弃) * ADMIN_UPDATE_VIDEO:管理员更换视频 * ADMIN_UPDATE_ACTION_VIDEO:管理员更换动作编排视频 * ADMIN_RESET:管理员一键重置 * ADMIN_ACCEPT:管理员通过 * USER_REPAIR:用户修复 * SYSTEM_UPDATE_COVER:更换封面 * ADMIN_SET_SILENCE_REPEAT_NUM:管理员设置静默轮数 * SYSTEM_MARKABLE_VIDEO:标记视频生成任务 * SYSTEM_MASK_VERIFY_VIDEO:校验视频生成任务 * SYSTEM_MASK_VERIFY_VIDEO_SUCCESS:校验视频生成成功 * SYSTEM_MASK_VERIFY_VIDEO_FAILED:校验视频生成失败 * SYSTEM_MARKABLE_VIDEO_SUCCESS:标记视频生成成功 * ADMIN_CONFIRM_ACTION:管理员确认动作 * ADMIN_STOP_ACTION_GENERATE_DATA_PREPROCESS:人工中止原子动作生成 * ADMIN_STOP_ACTION_GENERATE_ORI_PREPROCESS:人工中止动作编排 * SYSTEM_COMPILE_FAILED:转编译失败 * SYSTEM_COMPILE_SUCCESS:转编译成功 * SYSTEM_MARKABLE_VIDEO_FAILED:标记视频生成失败 * ADMIN_UPDATE_COMPILE:管理员更新转编译配置 * ADMIN_UPDATE_INFERENCE_DATA_PROCESS_VIDEO:管理员更新推理预处里时间段信息 * SYSTEM_EXECUTE_COMPILE:执行转编译 * SYSTEM_MASK_VIDEO_AND_ACTION_TIME_SUCCESS:自动标记成功 * SYSTEM_MASK_VIDEO_AND_ACTION_TIME_FAILED:自动标记失败 * USER_UPDATE_VIDEO:用户更换视频 * ADMIN_UPDATE_GENERAL_CONFIG:管理员更新通用配置 * ADMIN_MASK_ACTION_TIME:管理员标记 * STOP_COMPILE:人工中止转编译 :type log_type: str :param log_description: 日志描述。用于记录人工审核不通过时的审核意见和DHTS、DHPS上报的错误信息。 :type log_description: str @@ -88,7 +88,7 @@ def operate_time(self, operate_time): def log_type(self): """Gets the log_type of this OperationLogInfo. - 命令执行结果。 * USER_CREATE_JOD:用户开始分身数字人定制 * USER_VERIFYING_SUBMITTED:用户提交审核 * SYSTEM_VERIFY_FAILED:自动审核失败 * SYSTEM_VERIFY_SUCCESS:自动审核成功 * ADMIN_VERIFY_SUCCESS:人工审核通过 * ADMIN_VERIFY_FAILED:人工审核不通过 * SYSTEM_TRAIN_DATA_PREPROCESSING:训练数据预处理中 * SYSTEM_TRAIN_DATA_PREPROCESS_FAILED:训练数据预处理失 * SYSTEM_TRAIN_DATA_PREPROCESS_SUCCESS:训练数据预处理成功 * SYSTEM_TRAINING:开始训练 * ADMIN_STOP_TRAIN:人工终止训练 * SYSTEM_TRAIN_FAILED:训练失败 * SYSTEM_TRAIN_SUCCESS:训练成功 * SYSTEM_INFERENCE_DATA_PREPROCESSING:推理数据预处理中 * SYSTEM_INFERENCE_DATA_PREPROCESS_FAILED:推理数据预处理失败 * SYSTEM_INFERENCE_DATA_PREPROCESS_SUCCESS:推理数据预处理成功 * SYSTEM_JOB_SUCCESS:任务处理完成 * SYSTEM_MARKABLE_VIDEO:标记视频生成任务 * SYSTEM_MASK_VERIFY_VIDEO:校验视频生成任务 * SYSTEM_MASK_VERIFY_VIDEO_SUCCESS:校验视频生成成功 * SYSTEM_MASK_VERIFY_VIDEO_FAILED:校验视频生成失败 * SYSTEM_MARKABLE_VIDEO_SUCCESS:标记视频生成成功 * SYSTEM_MARKABLE_VIDEO_FAILED:标记视频生成失败 * SYSTEM_MASK_VIDEO_AND_ACTION_TIME_SUCCESS:自动标记成功 * SYSTEM_MASK_VIDEO_AND_ACTION_TIME_FAILED:自动标记失败 * ADMIN_MASK_UPLOADED:遮罩文件上传完成 * ADMIN_UPDATE_VIDEO:管理员更换视频 * USER_UPDATE_VIDEO:用户更换视频 * USER_UPDATE_VIDEO:用户更换视频 * ADMIN_MASK_ACTION_TIME:管理员标记 * SYSTEM_COMPILE_FAILED:转编译失败 * SYSTEM_COMPILE_SUCCESS:转编译成功 + 命令执行结果。 * USER_CREATE_JOD:用户开始分身数字人定制 * USER_VERIFYING_SUBMITTED:用户提交审核 * SYSTEM_VERIFY_FAILED:自动审核失败 * SYSTEM_VERIFY_SUCCESS:自动审核成功 * ADMIN_VERIFY_SUCCESS:人工审核通过 * ADMIN_VERIFY_FAILED:人工审核不通过 * SYSTEM_TRAIN_DATA_PREPROCESSING:训练数据预处理中 * SYSTEM_TRAIN_DATA_PREPROCESS_FAILED:训练数据预处理失 * SYSTEM_TRAIN_DATA_PREPROCESS_SUCCESS:训练数据预处理成功 * SYSTEM_ACTION_GENERATE_DATA_PREPROCESSING:动作编排原子动作生成中 * SYSTEM_ACTION_GENERATE_DATA_SUCCESS:动作编排原子动作生成成功 * SYSTEM_ACTION_GENERATE_ORI_SUCCESS:动作编排资产数据生成成功 * SYSTEM_ACTION_GENERATE_DATA_FAILED:动作编排原子动作生成失败 * SYSTEM_ACTION_GENERATE_ORI_FAILED:动作编排资产数据生成失败 * SYSTEM_ACTION_GENERATE_ORI_PREPROCESSING:动作编排资产数据生成中 * SYSTEM_TRAINING:开始训练 * ADMIN_STOP_TRAINING_DATA_PREPROCESS:人工中止训练 * ADMIN_STOP_INFERENCE_DATA_PREPROCESS:人工中止推理预处理 * ADMIN_STOP_TRAIN:人工终止训练 * SYSTEM_TRAIN_FAILED:训练失败 * SYSTEM_TRAIN_SUCCESS:训练成功 * SYSTEM_INFERENCE_DATA_PREPROCESSING:推理数据预处理中 * SYSTEM_INFERENCE_DATA_PREPROCESS_FAILED:推理数据预处理失败 * SYSTEM_INFERENCE_DATA_PREPROCESS_SUCCESS:推理数据预处理成功 * SYSTEM_JOB_SUCCESS:任务处理完成 * ADMIN_MASK_UPLOADED:遮罩文件上传完成(已废弃) * ADMIN_UPDATE_VIDEO:管理员更换视频 * ADMIN_UPDATE_ACTION_VIDEO:管理员更换动作编排视频 * ADMIN_RESET:管理员一键重置 * ADMIN_ACCEPT:管理员通过 * USER_REPAIR:用户修复 * SYSTEM_UPDATE_COVER:更换封面 * ADMIN_SET_SILENCE_REPEAT_NUM:管理员设置静默轮数 * SYSTEM_MARKABLE_VIDEO:标记视频生成任务 * SYSTEM_MASK_VERIFY_VIDEO:校验视频生成任务 * SYSTEM_MASK_VERIFY_VIDEO_SUCCESS:校验视频生成成功 * SYSTEM_MASK_VERIFY_VIDEO_FAILED:校验视频生成失败 * SYSTEM_MARKABLE_VIDEO_SUCCESS:标记视频生成成功 * ADMIN_CONFIRM_ACTION:管理员确认动作 * ADMIN_STOP_ACTION_GENERATE_DATA_PREPROCESS:人工中止原子动作生成 * ADMIN_STOP_ACTION_GENERATE_ORI_PREPROCESS:人工中止动作编排 * SYSTEM_COMPILE_FAILED:转编译失败 * SYSTEM_COMPILE_SUCCESS:转编译成功 * SYSTEM_MARKABLE_VIDEO_FAILED:标记视频生成失败 * ADMIN_UPDATE_COMPILE:管理员更新转编译配置 * ADMIN_UPDATE_INFERENCE_DATA_PROCESS_VIDEO:管理员更新推理预处里时间段信息 * SYSTEM_EXECUTE_COMPILE:执行转编译 * SYSTEM_MASK_VIDEO_AND_ACTION_TIME_SUCCESS:自动标记成功 * SYSTEM_MASK_VIDEO_AND_ACTION_TIME_FAILED:自动标记失败 * USER_UPDATE_VIDEO:用户更换视频 * ADMIN_UPDATE_GENERAL_CONFIG:管理员更新通用配置 * ADMIN_MASK_ACTION_TIME:管理员标记 * STOP_COMPILE:人工中止转编译 :return: The log_type of this OperationLogInfo. :rtype: str @@ -99,7 +99,7 @@ def log_type(self): def log_type(self, log_type): """Sets the log_type of this OperationLogInfo. - 命令执行结果。 * USER_CREATE_JOD:用户开始分身数字人定制 * USER_VERIFYING_SUBMITTED:用户提交审核 * SYSTEM_VERIFY_FAILED:自动审核失败 * SYSTEM_VERIFY_SUCCESS:自动审核成功 * ADMIN_VERIFY_SUCCESS:人工审核通过 * ADMIN_VERIFY_FAILED:人工审核不通过 * SYSTEM_TRAIN_DATA_PREPROCESSING:训练数据预处理中 * SYSTEM_TRAIN_DATA_PREPROCESS_FAILED:训练数据预处理失 * SYSTEM_TRAIN_DATA_PREPROCESS_SUCCESS:训练数据预处理成功 * SYSTEM_TRAINING:开始训练 * ADMIN_STOP_TRAIN:人工终止训练 * SYSTEM_TRAIN_FAILED:训练失败 * SYSTEM_TRAIN_SUCCESS:训练成功 * SYSTEM_INFERENCE_DATA_PREPROCESSING:推理数据预处理中 * SYSTEM_INFERENCE_DATA_PREPROCESS_FAILED:推理数据预处理失败 * SYSTEM_INFERENCE_DATA_PREPROCESS_SUCCESS:推理数据预处理成功 * SYSTEM_JOB_SUCCESS:任务处理完成 * SYSTEM_MARKABLE_VIDEO:标记视频生成任务 * SYSTEM_MASK_VERIFY_VIDEO:校验视频生成任务 * SYSTEM_MASK_VERIFY_VIDEO_SUCCESS:校验视频生成成功 * SYSTEM_MASK_VERIFY_VIDEO_FAILED:校验视频生成失败 * SYSTEM_MARKABLE_VIDEO_SUCCESS:标记视频生成成功 * SYSTEM_MARKABLE_VIDEO_FAILED:标记视频生成失败 * SYSTEM_MASK_VIDEO_AND_ACTION_TIME_SUCCESS:自动标记成功 * SYSTEM_MASK_VIDEO_AND_ACTION_TIME_FAILED:自动标记失败 * ADMIN_MASK_UPLOADED:遮罩文件上传完成 * ADMIN_UPDATE_VIDEO:管理员更换视频 * USER_UPDATE_VIDEO:用户更换视频 * USER_UPDATE_VIDEO:用户更换视频 * ADMIN_MASK_ACTION_TIME:管理员标记 * SYSTEM_COMPILE_FAILED:转编译失败 * SYSTEM_COMPILE_SUCCESS:转编译成功 + 命令执行结果。 * USER_CREATE_JOD:用户开始分身数字人定制 * USER_VERIFYING_SUBMITTED:用户提交审核 * SYSTEM_VERIFY_FAILED:自动审核失败 * SYSTEM_VERIFY_SUCCESS:自动审核成功 * ADMIN_VERIFY_SUCCESS:人工审核通过 * ADMIN_VERIFY_FAILED:人工审核不通过 * SYSTEM_TRAIN_DATA_PREPROCESSING:训练数据预处理中 * SYSTEM_TRAIN_DATA_PREPROCESS_FAILED:训练数据预处理失 * SYSTEM_TRAIN_DATA_PREPROCESS_SUCCESS:训练数据预处理成功 * SYSTEM_ACTION_GENERATE_DATA_PREPROCESSING:动作编排原子动作生成中 * SYSTEM_ACTION_GENERATE_DATA_SUCCESS:动作编排原子动作生成成功 * SYSTEM_ACTION_GENERATE_ORI_SUCCESS:动作编排资产数据生成成功 * SYSTEM_ACTION_GENERATE_DATA_FAILED:动作编排原子动作生成失败 * SYSTEM_ACTION_GENERATE_ORI_FAILED:动作编排资产数据生成失败 * SYSTEM_ACTION_GENERATE_ORI_PREPROCESSING:动作编排资产数据生成中 * SYSTEM_TRAINING:开始训练 * ADMIN_STOP_TRAINING_DATA_PREPROCESS:人工中止训练 * ADMIN_STOP_INFERENCE_DATA_PREPROCESS:人工中止推理预处理 * ADMIN_STOP_TRAIN:人工终止训练 * SYSTEM_TRAIN_FAILED:训练失败 * SYSTEM_TRAIN_SUCCESS:训练成功 * SYSTEM_INFERENCE_DATA_PREPROCESSING:推理数据预处理中 * SYSTEM_INFERENCE_DATA_PREPROCESS_FAILED:推理数据预处理失败 * SYSTEM_INFERENCE_DATA_PREPROCESS_SUCCESS:推理数据预处理成功 * SYSTEM_JOB_SUCCESS:任务处理完成 * ADMIN_MASK_UPLOADED:遮罩文件上传完成(已废弃) * ADMIN_UPDATE_VIDEO:管理员更换视频 * ADMIN_UPDATE_ACTION_VIDEO:管理员更换动作编排视频 * ADMIN_RESET:管理员一键重置 * ADMIN_ACCEPT:管理员通过 * USER_REPAIR:用户修复 * SYSTEM_UPDATE_COVER:更换封面 * ADMIN_SET_SILENCE_REPEAT_NUM:管理员设置静默轮数 * SYSTEM_MARKABLE_VIDEO:标记视频生成任务 * SYSTEM_MASK_VERIFY_VIDEO:校验视频生成任务 * SYSTEM_MASK_VERIFY_VIDEO_SUCCESS:校验视频生成成功 * SYSTEM_MASK_VERIFY_VIDEO_FAILED:校验视频生成失败 * SYSTEM_MARKABLE_VIDEO_SUCCESS:标记视频生成成功 * ADMIN_CONFIRM_ACTION:管理员确认动作 * ADMIN_STOP_ACTION_GENERATE_DATA_PREPROCESS:人工中止原子动作生成 * ADMIN_STOP_ACTION_GENERATE_ORI_PREPROCESS:人工中止动作编排 * SYSTEM_COMPILE_FAILED:转编译失败 * SYSTEM_COMPILE_SUCCESS:转编译成功 * SYSTEM_MARKABLE_VIDEO_FAILED:标记视频生成失败 * ADMIN_UPDATE_COMPILE:管理员更新转编译配置 * ADMIN_UPDATE_INFERENCE_DATA_PROCESS_VIDEO:管理员更新推理预处里时间段信息 * SYSTEM_EXECUTE_COMPILE:执行转编译 * SYSTEM_MASK_VIDEO_AND_ACTION_TIME_SUCCESS:自动标记成功 * SYSTEM_MASK_VIDEO_AND_ACTION_TIME_FAILED:自动标记失败 * USER_UPDATE_VIDEO:用户更换视频 * ADMIN_UPDATE_GENERAL_CONFIG:管理员更新通用配置 * ADMIN_MASK_ACTION_TIME:管理员标记 * STOP_COMPILE:人工中止转编译 :param log_type: The log_type of this OperationLogInfo. :type log_type: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/output_asset_config.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/output_asset_config.py index 74243f0d46..110773c6d1 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/output_asset_config.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/output_asset_config.py @@ -29,7 +29,7 @@ def __init__(self, asset_name=None): The model defined in huaweicloud sdk - :param asset_name: 输出视频资产名称。 + :param asset_name: **参数解释**: 输出视频资产名称。 **约束限制**: 不涉及。 **取值范围**: 字符长度0-256位。 **默认取值**: 不涉及。 :type asset_name: str """ @@ -44,7 +44,7 @@ def __init__(self, asset_name=None): def asset_name(self): """Gets the asset_name of this OutputAssetConfig. - 输出视频资产名称。 + **参数解释**: 输出视频资产名称。 **约束限制**: 不涉及。 **取值范围**: 字符长度0-256位。 **默认取值**: 不涉及。 :return: The asset_name of this OutputAssetConfig. :rtype: str @@ -55,7 +55,7 @@ def asset_name(self): def asset_name(self, asset_name): """Sets the asset_name of this OutputAssetConfig. - 输出视频资产名称。 + **参数解释**: 输出视频资产名称。 **约束限制**: 不涉及。 **取值范围**: 字符长度0-256位。 **默认取值**: 不涉及。 :param asset_name: The asset_name of this OutputAssetConfig. :type asset_name: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/photo_video_config.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/photo_video_config.py index c8ca73ad5c..df09d8c0fd 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/photo_video_config.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/photo_video_config.py @@ -33,9 +33,9 @@ def __init__(self, codec=None, bitrate=None, frame_rate=None): The model defined in huaweicloud sdk - :param codec: 视频编码格式及视频文件格式。 * H264: h264编码,输出mp4文件 + :param codec: 视频编码格式及视频文件格式。 * H264:h264编码,输出mp4文件 :type codec: str - :param bitrate: 输出平均码率。 单位:kbps。 最小值40,最大值30000。 + :param bitrate: **参数解释**: 输出平均码率。 单位:kbps。 最小值40,最大值30000。 :type bitrate: int :param frame_rate: 帧率。 单位:FPS。 :type frame_rate: str @@ -58,7 +58,7 @@ def __init__(self, codec=None, bitrate=None, frame_rate=None): def codec(self): """Gets the codec of this PhotoVideoConfig. - 视频编码格式及视频文件格式。 * H264: h264编码,输出mp4文件 + 视频编码格式及视频文件格式。 * H264:h264编码,输出mp4文件 :return: The codec of this PhotoVideoConfig. :rtype: str @@ -69,7 +69,7 @@ def codec(self): def codec(self, codec): """Sets the codec of this PhotoVideoConfig. - 视频编码格式及视频文件格式。 * H264: h264编码,输出mp4文件 + 视频编码格式及视频文件格式。 * H264:h264编码,输出mp4文件 :param codec: The codec of this PhotoVideoConfig. :type codec: str @@ -80,7 +80,7 @@ def codec(self, codec): def bitrate(self): """Gets the bitrate of this PhotoVideoConfig. - 输出平均码率。 单位:kbps。 最小值40,最大值30000。 + **参数解释**: 输出平均码率。 单位:kbps。 最小值40,最大值30000。 :return: The bitrate of this PhotoVideoConfig. :rtype: int @@ -91,7 +91,7 @@ def bitrate(self): def bitrate(self, bitrate): """Sets the bitrate of this PhotoVideoConfig. - 输出平均码率。 单位:kbps。 最小值40,最大值30000。 + **参数解释**: 输出平均码率。 单位:kbps。 最小值40,最大值30000。 :param bitrate: The bitrate of this PhotoVideoConfig. :type bitrate: int diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/play_policy.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/play_policy.py index 8da02b1f47..7e2809e776 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/play_policy.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/play_policy.py @@ -37,15 +37,15 @@ def __init__(self, repeat_count=None, auto_play_script=None, play_mode=None, ran The model defined in huaweicloud sdk - :param repeat_count: 剧本重复播放次数。 -1表示持续重复,直至人工停止 0 表示不重复,仅执行一次 其他值n,实际运行次数为n+1次 + :param repeat_count: **参数解释**: 剧本重复播放次数。 * -1:表示持续重复,直至人工停止。 * 0:表示不重复,仅执行一次。 * 其他值n:实际运行次数为n+1次。 **约束限制**: 不涉及。 :type repeat_count: int - :param auto_play_script: 是否启动推理,自动播放剧本。 如果不启动推理,数字人为静默状态。 true: 服务完成任务初始化后,自动播放剧本 false: 服务完成任务初始化后,等待信号后再开始播放剧本 + :param auto_play_script: **参数解释**: 是否自动播放剧本。 **约束限制**: 不涉及。 **取值范围**: * true:服务完成任务初始化后,自动播放剧本。 * false:服务完成任务初始化后,等待信号后再开始播放剧本。 :type auto_play_script: bool - :param play_mode: 驱动方式。默认TEXT * TEXT: 文本驱动,即通过TTS合成语音 * AUDIO: 语音驱动 * NO_PRESET: 无预置剧本。人工控制模式。 + :param play_mode: **参数解释**: 驱动方式。 **约束限制**: 不涉及。 **取值范围**: * TEXT:文本驱动,即通过TTS合成语音。 * AUDIO:语音驱动。 * NO_PRESET:无预置剧本,人工控制模式。 :type play_mode: str - :param random_play_mode: 随机播报模式。 * NONE: 不启动随机播报。 * SCENE: 按场景随机播报。场景内段落按顺序播报。 * SCRIPT_ITEM:按段落随机播报。场景按顺序播报。 * SCENE_AND_SCRIPT_ITEM: 场景和段落都随机播报。 + :param random_play_mode: **参数解释**: 随机播报模式。 **约束限制**: 从第二轮播报开始随机。 **取值范围**: * NONE:不启动随机播报。 * SCENE:按场景随机播报。场景内段落按顺序播报。 * SCRIPT_ITEM:按段落随机播报。场景按顺序播报。 * SCENE_AND_SCRIPT_ITEM:场景和段落都随机播报。 :type random_play_mode: str - :param need_independent_capture_client: 是否需要独立采集端 + :param need_independent_capture_client: **参数解释**: 是否需要独立采集端。用于客户端播放与命令分离场景。 **约束限制**: 不涉及。 **取值范围**: * true:分配CAPTURE、PLAYER两个RTC用户。 * fasle:仅分配PLAYER一个RTC用户。 :type need_independent_capture_client: bool """ @@ -73,7 +73,7 @@ def __init__(self, repeat_count=None, auto_play_script=None, play_mode=None, ran def repeat_count(self): """Gets the repeat_count of this PlayPolicy. - 剧本重复播放次数。 -1表示持续重复,直至人工停止 0 表示不重复,仅执行一次 其他值n,实际运行次数为n+1次 + **参数解释**: 剧本重复播放次数。 * -1:表示持续重复,直至人工停止。 * 0:表示不重复,仅执行一次。 * 其他值n:实际运行次数为n+1次。 **约束限制**: 不涉及。 :return: The repeat_count of this PlayPolicy. :rtype: int @@ -84,7 +84,7 @@ def repeat_count(self): def repeat_count(self, repeat_count): """Sets the repeat_count of this PlayPolicy. - 剧本重复播放次数。 -1表示持续重复,直至人工停止 0 表示不重复,仅执行一次 其他值n,实际运行次数为n+1次 + **参数解释**: 剧本重复播放次数。 * -1:表示持续重复,直至人工停止。 * 0:表示不重复,仅执行一次。 * 其他值n:实际运行次数为n+1次。 **约束限制**: 不涉及。 :param repeat_count: The repeat_count of this PlayPolicy. :type repeat_count: int @@ -95,7 +95,7 @@ def repeat_count(self, repeat_count): def auto_play_script(self): """Gets the auto_play_script of this PlayPolicy. - 是否启动推理,自动播放剧本。 如果不启动推理,数字人为静默状态。 true: 服务完成任务初始化后,自动播放剧本 false: 服务完成任务初始化后,等待信号后再开始播放剧本 + **参数解释**: 是否自动播放剧本。 **约束限制**: 不涉及。 **取值范围**: * true:服务完成任务初始化后,自动播放剧本。 * false:服务完成任务初始化后,等待信号后再开始播放剧本。 :return: The auto_play_script of this PlayPolicy. :rtype: bool @@ -106,7 +106,7 @@ def auto_play_script(self): def auto_play_script(self, auto_play_script): """Sets the auto_play_script of this PlayPolicy. - 是否启动推理,自动播放剧本。 如果不启动推理,数字人为静默状态。 true: 服务完成任务初始化后,自动播放剧本 false: 服务完成任务初始化后,等待信号后再开始播放剧本 + **参数解释**: 是否自动播放剧本。 **约束限制**: 不涉及。 **取值范围**: * true:服务完成任务初始化后,自动播放剧本。 * false:服务完成任务初始化后,等待信号后再开始播放剧本。 :param auto_play_script: The auto_play_script of this PlayPolicy. :type auto_play_script: bool @@ -117,7 +117,7 @@ def auto_play_script(self, auto_play_script): def play_mode(self): """Gets the play_mode of this PlayPolicy. - 驱动方式。默认TEXT * TEXT: 文本驱动,即通过TTS合成语音 * AUDIO: 语音驱动 * NO_PRESET: 无预置剧本。人工控制模式。 + **参数解释**: 驱动方式。 **约束限制**: 不涉及。 **取值范围**: * TEXT:文本驱动,即通过TTS合成语音。 * AUDIO:语音驱动。 * NO_PRESET:无预置剧本,人工控制模式。 :return: The play_mode of this PlayPolicy. :rtype: str @@ -128,7 +128,7 @@ def play_mode(self): def play_mode(self, play_mode): """Sets the play_mode of this PlayPolicy. - 驱动方式。默认TEXT * TEXT: 文本驱动,即通过TTS合成语音 * AUDIO: 语音驱动 * NO_PRESET: 无预置剧本。人工控制模式。 + **参数解释**: 驱动方式。 **约束限制**: 不涉及。 **取值范围**: * TEXT:文本驱动,即通过TTS合成语音。 * AUDIO:语音驱动。 * NO_PRESET:无预置剧本,人工控制模式。 :param play_mode: The play_mode of this PlayPolicy. :type play_mode: str @@ -139,7 +139,7 @@ def play_mode(self, play_mode): def random_play_mode(self): """Gets the random_play_mode of this PlayPolicy. - 随机播报模式。 * NONE: 不启动随机播报。 * SCENE: 按场景随机播报。场景内段落按顺序播报。 * SCRIPT_ITEM:按段落随机播报。场景按顺序播报。 * SCENE_AND_SCRIPT_ITEM: 场景和段落都随机播报。 + **参数解释**: 随机播报模式。 **约束限制**: 从第二轮播报开始随机。 **取值范围**: * NONE:不启动随机播报。 * SCENE:按场景随机播报。场景内段落按顺序播报。 * SCRIPT_ITEM:按段落随机播报。场景按顺序播报。 * SCENE_AND_SCRIPT_ITEM:场景和段落都随机播报。 :return: The random_play_mode of this PlayPolicy. :rtype: str @@ -150,7 +150,7 @@ def random_play_mode(self): def random_play_mode(self, random_play_mode): """Sets the random_play_mode of this PlayPolicy. - 随机播报模式。 * NONE: 不启动随机播报。 * SCENE: 按场景随机播报。场景内段落按顺序播报。 * SCRIPT_ITEM:按段落随机播报。场景按顺序播报。 * SCENE_AND_SCRIPT_ITEM: 场景和段落都随机播报。 + **参数解释**: 随机播报模式。 **约束限制**: 从第二轮播报开始随机。 **取值范围**: * NONE:不启动随机播报。 * SCENE:按场景随机播报。场景内段落按顺序播报。 * SCRIPT_ITEM:按段落随机播报。场景按顺序播报。 * SCENE_AND_SCRIPT_ITEM:场景和段落都随机播报。 :param random_play_mode: The random_play_mode of this PlayPolicy. :type random_play_mode: str @@ -161,7 +161,7 @@ def random_play_mode(self, random_play_mode): def need_independent_capture_client(self): """Gets the need_independent_capture_client of this PlayPolicy. - 是否需要独立采集端 + **参数解释**: 是否需要独立采集端。用于客户端播放与命令分离场景。 **约束限制**: 不涉及。 **取值范围**: * true:分配CAPTURE、PLAYER两个RTC用户。 * fasle:仅分配PLAYER一个RTC用户。 :return: The need_independent_capture_client of this PlayPolicy. :rtype: bool @@ -172,7 +172,7 @@ def need_independent_capture_client(self): def need_independent_capture_client(self, need_independent_capture_client): """Sets the need_independent_capture_client of this PlayPolicy. - 是否需要独立采集端 + **参数解释**: 是否需要独立采集端。用于客户端播放与命令分离场景。 **约束限制**: 不涉及。 **取值范围**: * true:分配CAPTURE、PLAYER两个RTC用户。 * fasle:仅分配PLAYER一个RTC用户。 :param need_independent_capture_client: The need_independent_capture_client of this PlayPolicy. :type need_independent_capture_client: bool diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/report_live_event_req.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/report_live_event_req.py index decb4c423a..577dd2edb7 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/report_live_event_req.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/report_live_event_req.py @@ -33,7 +33,7 @@ def __init__(self, total=None, events=None, review_config=None): The model defined in huaweicloud sdk - :param total: 事件条目数。 + :param total: **参数解释**: 事件条目数。 :type total: int :param events: 事件内容。 :type events: list[:class:`huaweicloudsdkmetastudio.v1.LiveEvent`] @@ -58,7 +58,7 @@ def __init__(self, total=None, events=None, review_config=None): def total(self): """Gets the total of this ReportLiveEventReq. - 事件条目数。 + **参数解释**: 事件条目数。 :return: The total of this ReportLiveEventReq. :rtype: int @@ -69,7 +69,7 @@ def total(self): def total(self, total): """Sets the total of this ReportLiveEventReq. - 事件条目数。 + **参数解释**: 事件条目数。 :param total: The total of this ReportLiveEventReq. :type total: int diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/rtc_live_event_call_back_config.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/rtc_live_event_call_back_config.py index 5b051efaa8..a76fc73cb4 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/rtc_live_event_call_back_config.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/rtc_live_event_call_back_config.py @@ -29,7 +29,7 @@ def __init__(self, rtc_callback_event_type=None): The model defined in huaweicloud sdk - :param rtc_callback_event_type: RTC回调的直播事件类型列表。 当前仅支持取值: LIVE_PROGRESS,直播剧本进度通知。 REPLY_COMMAND_FINISH,回复播放完成通知。 回调事件结构体定义: * message_type: 消息类型。 * data: 消息描述。 LIVE_PROGRESS事件回调定义如下: ```json { \"message_type\": \"live_progress_notify\", \"data\": { \"script_name\": \"场景一\", \"shoot_script_sequence_no\": 2, \"shoot_script_title\": \"引导语\", \"offset\": \"247\", \"reply_id\": \"e87104f76d7546ce8a46ac6b04c49c3c\" } } ``` REPLY_COMMAND_FINISH回调定义如下: ```json { \"message_type\": \"reply_command_finish_notify\", \"data\":\"{ \"reply_id\":\"e87104f76d7546ce8a46ac6b04c49c3c\" }\" } ``` + :param rtc_callback_event_type: RTC回调的直播事件类型列表。 当前仅支持如下取值: * LIVE_PROGRESS:直播剧本进度通知。 * REPLY_COMMAND_FINISH:回复播放完成通知。 回调事件结构体定义: * message_type:消息类型。 * data:消息描述。 - LIVE_PROGRESS事件回调定义如下: ```json { \"message_type\": \"live_progress_notify\", \"data\": { \"script_name\": \"场景一\", \"shoot_script_sequence_no\": 2, \"shoot_script_title\": \"引导语\", \"offset\": \"247\", \"reply_id\": \"e87104f76d7546ce8a46ac6b04c49c3c\" } } ``` - REPLY_COMMAND_FINISH回调定义如下: ```json { \"message_type\": \"reply_command_finish_notify\", \"data\":\"{ \"reply_id\":\"e87104f76d7546ce8a46ac6b04c49c3c\" }\" } ``` :type rtc_callback_event_type: list[str] """ @@ -45,7 +45,7 @@ def __init__(self, rtc_callback_event_type=None): def rtc_callback_event_type(self): """Gets the rtc_callback_event_type of this RTCLiveEventCallBackConfig. - RTC回调的直播事件类型列表。 当前仅支持取值: LIVE_PROGRESS,直播剧本进度通知。 REPLY_COMMAND_FINISH,回复播放完成通知。 回调事件结构体定义: * message_type: 消息类型。 * data: 消息描述。 LIVE_PROGRESS事件回调定义如下: ```json { \"message_type\": \"live_progress_notify\", \"data\": { \"script_name\": \"场景一\", \"shoot_script_sequence_no\": 2, \"shoot_script_title\": \"引导语\", \"offset\": \"247\", \"reply_id\": \"e87104f76d7546ce8a46ac6b04c49c3c\" } } ``` REPLY_COMMAND_FINISH回调定义如下: ```json { \"message_type\": \"reply_command_finish_notify\", \"data\":\"{ \"reply_id\":\"e87104f76d7546ce8a46ac6b04c49c3c\" }\" } ``` + RTC回调的直播事件类型列表。 当前仅支持如下取值: * LIVE_PROGRESS:直播剧本进度通知。 * REPLY_COMMAND_FINISH:回复播放完成通知。 回调事件结构体定义: * message_type:消息类型。 * data:消息描述。 - LIVE_PROGRESS事件回调定义如下: ```json { \"message_type\": \"live_progress_notify\", \"data\": { \"script_name\": \"场景一\", \"shoot_script_sequence_no\": 2, \"shoot_script_title\": \"引导语\", \"offset\": \"247\", \"reply_id\": \"e87104f76d7546ce8a46ac6b04c49c3c\" } } ``` - REPLY_COMMAND_FINISH回调定义如下: ```json { \"message_type\": \"reply_command_finish_notify\", \"data\":\"{ \"reply_id\":\"e87104f76d7546ce8a46ac6b04c49c3c\" }\" } ``` :return: The rtc_callback_event_type of this RTCLiveEventCallBackConfig. :rtype: list[str] @@ -56,7 +56,7 @@ def rtc_callback_event_type(self): def rtc_callback_event_type(self, rtc_callback_event_type): """Sets the rtc_callback_event_type of this RTCLiveEventCallBackConfig. - RTC回调的直播事件类型列表。 当前仅支持取值: LIVE_PROGRESS,直播剧本进度通知。 REPLY_COMMAND_FINISH,回复播放完成通知。 回调事件结构体定义: * message_type: 消息类型。 * data: 消息描述。 LIVE_PROGRESS事件回调定义如下: ```json { \"message_type\": \"live_progress_notify\", \"data\": { \"script_name\": \"场景一\", \"shoot_script_sequence_no\": 2, \"shoot_script_title\": \"引导语\", \"offset\": \"247\", \"reply_id\": \"e87104f76d7546ce8a46ac6b04c49c3c\" } } ``` REPLY_COMMAND_FINISH回调定义如下: ```json { \"message_type\": \"reply_command_finish_notify\", \"data\":\"{ \"reply_id\":\"e87104f76d7546ce8a46ac6b04c49c3c\" }\" } ``` + RTC回调的直播事件类型列表。 当前仅支持如下取值: * LIVE_PROGRESS:直播剧本进度通知。 * REPLY_COMMAND_FINISH:回复播放完成通知。 回调事件结构体定义: * message_type:消息类型。 * data:消息描述。 - LIVE_PROGRESS事件回调定义如下: ```json { \"message_type\": \"live_progress_notify\", \"data\": { \"script_name\": \"场景一\", \"shoot_script_sequence_no\": 2, \"shoot_script_title\": \"引导语\", \"offset\": \"247\", \"reply_id\": \"e87104f76d7546ce8a46ac6b04c49c3c\" } } ``` - REPLY_COMMAND_FINISH回调定义如下: ```json { \"message_type\": \"reply_command_finish_notify\", \"data\":\"{ \"reply_id\":\"e87104f76d7546ce8a46ac6b04c49c3c\" }\" } ``` :param rtc_callback_event_type: The rtc_callback_event_type of this RTCLiveEventCallBackConfig. :type rtc_callback_event_type: list[str] diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/shared_config.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/shared_config.py index 8bd4b1eb0a..4bac807ef2 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/shared_config.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/shared_config.py @@ -35,13 +35,13 @@ def __init__(self, shared_type=None, shared_state=None, expire_time=None, allowe The model defined in huaweicloud sdk - :param shared_type: 共享类型。 * PRIVATE: 私有,仅本租户可访问。 * PUBLIC: 公开,所有租户可访问。当前仅提供系统资产可公开访问。 * SHARED:共享,指定租户可访问。拥有者指定租户可访问。 + :param shared_type: **参数解释**: 共享类型。 **约束限制**: 该配置仅用于模板 **取值范围**: * PRIVATE:私有,仅本租户可访问。 * PUBLIC:公开,所有租户可访问。当前仅提供系统资产可公开访问。 * SHARED:共享,指定租户可访问。拥有者指定租户可访问。 **默认取值**: 不涉及。 :type shared_type: str - :param shared_state: 共享状态。 * PUBLISHED: 发布。模板可用。 - DRAFT: 草稿。编辑态,仅拥有者可访问。 - REVIEW:审核态。不可编辑,仅拥有者/审核人员可查看。 + :param shared_state: **参数解释**: 共享状态。 **约束限制**: 该配置仅用于shared_type为SHARED的模板。 **取值范围**: * PUBLISHED:发布。模板可用。 * DRAFT:草稿。编辑态,仅拥有者可访问。 * REVIEW:审核态。不可编辑,仅拥有者/审核人员可查看。 **默认取值**: 不涉及。 :type shared_state: str - :param expire_time: 共享过期时间。空表示永久不过期。 + :param expire_time: **参数解释**: 共享过期时间。空表示永久不过期。 **约束限制**: 该配置仅用于shared_type为SHARED的模板。 格式遵循:RFC 3339,示例“2021*01*10T08:43:17Z”。 **取值范围**: 字符长度0-20位 **默认取值**: 不涉及。 :type expire_time: str - :param allowed_project_ids: 允许访问本资产的租户列表 + :param allowed_project_ids: **参数解释**: 允许访问本资产的租户列表。 **约束限制**: 该配置仅用于shared_type为SHARED的模板。 **取值范围**: 最大支持100个租户,重复的记录会被忽略。 租户ID填写project_id,字符长度1-64位。 **默认取值**: 不涉及。 :type allowed_project_ids: list[str] """ @@ -66,7 +66,7 @@ def __init__(self, shared_type=None, shared_state=None, expire_time=None, allowe def shared_type(self): """Gets the shared_type of this SharedConfig. - 共享类型。 * PRIVATE: 私有,仅本租户可访问。 * PUBLIC: 公开,所有租户可访问。当前仅提供系统资产可公开访问。 * SHARED:共享,指定租户可访问。拥有者指定租户可访问。 + **参数解释**: 共享类型。 **约束限制**: 该配置仅用于模板 **取值范围**: * PRIVATE:私有,仅本租户可访问。 * PUBLIC:公开,所有租户可访问。当前仅提供系统资产可公开访问。 * SHARED:共享,指定租户可访问。拥有者指定租户可访问。 **默认取值**: 不涉及。 :return: The shared_type of this SharedConfig. :rtype: str @@ -77,7 +77,7 @@ def shared_type(self): def shared_type(self, shared_type): """Sets the shared_type of this SharedConfig. - 共享类型。 * PRIVATE: 私有,仅本租户可访问。 * PUBLIC: 公开,所有租户可访问。当前仅提供系统资产可公开访问。 * SHARED:共享,指定租户可访问。拥有者指定租户可访问。 + **参数解释**: 共享类型。 **约束限制**: 该配置仅用于模板 **取值范围**: * PRIVATE:私有,仅本租户可访问。 * PUBLIC:公开,所有租户可访问。当前仅提供系统资产可公开访问。 * SHARED:共享,指定租户可访问。拥有者指定租户可访问。 **默认取值**: 不涉及。 :param shared_type: The shared_type of this SharedConfig. :type shared_type: str @@ -88,7 +88,7 @@ def shared_type(self, shared_type): def shared_state(self): """Gets the shared_state of this SharedConfig. - 共享状态。 * PUBLISHED: 发布。模板可用。 - DRAFT: 草稿。编辑态,仅拥有者可访问。 - REVIEW:审核态。不可编辑,仅拥有者/审核人员可查看。 + **参数解释**: 共享状态。 **约束限制**: 该配置仅用于shared_type为SHARED的模板。 **取值范围**: * PUBLISHED:发布。模板可用。 * DRAFT:草稿。编辑态,仅拥有者可访问。 * REVIEW:审核态。不可编辑,仅拥有者/审核人员可查看。 **默认取值**: 不涉及。 :return: The shared_state of this SharedConfig. :rtype: str @@ -99,7 +99,7 @@ def shared_state(self): def shared_state(self, shared_state): """Sets the shared_state of this SharedConfig. - 共享状态。 * PUBLISHED: 发布。模板可用。 - DRAFT: 草稿。编辑态,仅拥有者可访问。 - REVIEW:审核态。不可编辑,仅拥有者/审核人员可查看。 + **参数解释**: 共享状态。 **约束限制**: 该配置仅用于shared_type为SHARED的模板。 **取值范围**: * PUBLISHED:发布。模板可用。 * DRAFT:草稿。编辑态,仅拥有者可访问。 * REVIEW:审核态。不可编辑,仅拥有者/审核人员可查看。 **默认取值**: 不涉及。 :param shared_state: The shared_state of this SharedConfig. :type shared_state: str @@ -110,7 +110,7 @@ def shared_state(self, shared_state): def expire_time(self): """Gets the expire_time of this SharedConfig. - 共享过期时间。空表示永久不过期。 + **参数解释**: 共享过期时间。空表示永久不过期。 **约束限制**: 该配置仅用于shared_type为SHARED的模板。 格式遵循:RFC 3339,示例“2021*01*10T08:43:17Z”。 **取值范围**: 字符长度0-20位 **默认取值**: 不涉及。 :return: The expire_time of this SharedConfig. :rtype: str @@ -121,7 +121,7 @@ def expire_time(self): def expire_time(self, expire_time): """Sets the expire_time of this SharedConfig. - 共享过期时间。空表示永久不过期。 + **参数解释**: 共享过期时间。空表示永久不过期。 **约束限制**: 该配置仅用于shared_type为SHARED的模板。 格式遵循:RFC 3339,示例“2021*01*10T08:43:17Z”。 **取值范围**: 字符长度0-20位 **默认取值**: 不涉及。 :param expire_time: The expire_time of this SharedConfig. :type expire_time: str @@ -132,7 +132,7 @@ def expire_time(self, expire_time): def allowed_project_ids(self): """Gets the allowed_project_ids of this SharedConfig. - 允许访问本资产的租户列表 + **参数解释**: 允许访问本资产的租户列表。 **约束限制**: 该配置仅用于shared_type为SHARED的模板。 **取值范围**: 最大支持100个租户,重复的记录会被忽略。 租户ID填写project_id,字符长度1-64位。 **默认取值**: 不涉及。 :return: The allowed_project_ids of this SharedConfig. :rtype: list[str] @@ -143,7 +143,7 @@ def allowed_project_ids(self): def allowed_project_ids(self, allowed_project_ids): """Sets the allowed_project_ids of this SharedConfig. - 允许访问本资产的租户列表 + **参数解释**: 允许访问本资产的租户列表。 **约束限制**: 该配置仅用于shared_type为SHARED的模板。 **取值范围**: 最大支持100个租户,重复的记录会被忽略。 租户ID填写project_id,字符长度1-64位。 **默认取值**: 不涉及。 :param allowed_project_ids: The allowed_project_ids of this SharedConfig. :type allowed_project_ids: list[str] diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/shoot_script.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/shoot_script.py index 50b4c97e3e..1800928b03 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/shoot_script.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/shoot_script.py @@ -19,6 +19,7 @@ class ShootScript: openapi_types = { 'script_type': 'str', 'text_config': 'TextConfig', + 'audio_drive_action_config': 'list[AudioDriveActionConfig]', 'background_config': 'list[BackgroundConfigInfo]', 'layer_config': 'list[LayerConfig]' } @@ -26,19 +27,22 @@ class ShootScript: attribute_map = { 'script_type': 'script_type', 'text_config': 'text_config', + 'audio_drive_action_config': 'audio_drive_action_config', 'background_config': 'background_config', 'layer_config': 'layer_config' } - def __init__(self, script_type=None, text_config=None, background_config=None, layer_config=None): + def __init__(self, script_type=None, text_config=None, audio_drive_action_config=None, background_config=None, layer_config=None): """ShootScript The model defined in huaweicloud sdk - :param script_type: 脚本类型,即视频制作的驱动方式。默认TEXT * TEXT: 文本驱动,即通过TTS合成语音 * AUDIO: 语音驱动 + :param script_type: **参数解释**: 脚本类型,即视频制作的驱动方式 **约束限制**: 不涉及 **取值范围** * TEXT: 文本驱动,即通过TTS合成语音 * AUDIO: 语音驱动 :type script_type: str :param text_config: :type text_config: :class:`huaweicloudsdkmetastudio.v1.TextConfig` + :param audio_drive_action_config: 语音驱动时的动作配置。 + :type audio_drive_action_config: list[:class:`huaweicloudsdkmetastudio.v1.AudioDriveActionConfig`] :param background_config: 背景配置。 :type background_config: list[:class:`huaweicloudsdkmetastudio.v1.BackgroundConfigInfo`] :param layer_config: 图层配置。 @@ -49,6 +53,7 @@ def __init__(self, script_type=None, text_config=None, background_config=None, l self._script_type = None self._text_config = None + self._audio_drive_action_config = None self._background_config = None self._layer_config = None self.discriminator = None @@ -57,6 +62,8 @@ def __init__(self, script_type=None, text_config=None, background_config=None, l self.script_type = script_type if text_config is not None: self.text_config = text_config + if audio_drive_action_config is not None: + self.audio_drive_action_config = audio_drive_action_config if background_config is not None: self.background_config = background_config if layer_config is not None: @@ -66,7 +73,7 @@ def __init__(self, script_type=None, text_config=None, background_config=None, l def script_type(self): """Gets the script_type of this ShootScript. - 脚本类型,即视频制作的驱动方式。默认TEXT * TEXT: 文本驱动,即通过TTS合成语音 * AUDIO: 语音驱动 + **参数解释**: 脚本类型,即视频制作的驱动方式 **约束限制**: 不涉及 **取值范围** * TEXT: 文本驱动,即通过TTS合成语音 * AUDIO: 语音驱动 :return: The script_type of this ShootScript. :rtype: str @@ -77,7 +84,7 @@ def script_type(self): def script_type(self, script_type): """Sets the script_type of this ShootScript. - 脚本类型,即视频制作的驱动方式。默认TEXT * TEXT: 文本驱动,即通过TTS合成语音 * AUDIO: 语音驱动 + **参数解释**: 脚本类型,即视频制作的驱动方式 **约束限制**: 不涉及 **取值范围** * TEXT: 文本驱动,即通过TTS合成语音 * AUDIO: 语音驱动 :param script_type: The script_type of this ShootScript. :type script_type: str @@ -102,6 +109,28 @@ def text_config(self, text_config): """ self._text_config = text_config + @property + def audio_drive_action_config(self): + """Gets the audio_drive_action_config of this ShootScript. + + 语音驱动时的动作配置。 + + :return: The audio_drive_action_config of this ShootScript. + :rtype: list[:class:`huaweicloudsdkmetastudio.v1.AudioDriveActionConfig`] + """ + return self._audio_drive_action_config + + @audio_drive_action_config.setter + def audio_drive_action_config(self, audio_drive_action_config): + """Sets the audio_drive_action_config of this ShootScript. + + 语音驱动时的动作配置。 + + :param audio_drive_action_config: The audio_drive_action_config of this ShootScript. + :type audio_drive_action_config: list[:class:`huaweicloudsdkmetastudio.v1.AudioDriveActionConfig`] + """ + self._audio_drive_action_config = audio_drive_action_config + @property def background_config(self): """Gets the background_config of this ShootScript. diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/shoot_script_detail.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/shoot_script_detail.py index 4685302aab..79d3aebe18 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/shoot_script_detail.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/shoot_script_detail.py @@ -19,6 +19,7 @@ class ShootScriptDetail: openapi_types = { 'script_type': 'str', 'text_config': 'TextConfig', + 'audio_drive_action_config': 'list[AudioDriveActionConfig]', 'background_config': 'list[BackgroundConfigInfo]', 'layer_config': 'list[LayerConfig]', 'thumbnail_url': 'str' @@ -27,25 +28,28 @@ class ShootScriptDetail: attribute_map = { 'script_type': 'script_type', 'text_config': 'text_config', + 'audio_drive_action_config': 'audio_drive_action_config', 'background_config': 'background_config', 'layer_config': 'layer_config', 'thumbnail_url': 'thumbnail_url' } - def __init__(self, script_type=None, text_config=None, background_config=None, layer_config=None, thumbnail_url=None): + def __init__(self, script_type=None, text_config=None, audio_drive_action_config=None, background_config=None, layer_config=None, thumbnail_url=None): """ShootScriptDetail The model defined in huaweicloud sdk - :param script_type: 脚本类型,即视频制作的驱动方式。默认TEXT * TEXT: 文本驱动,即通过TTS合成语音 * AUDIO: 语音驱动 + :param script_type: **参数解释**: 脚本类型,即视频制作的驱动方式 **约束限制**: 不涉及 **取值范围** * TEXT: 文本驱动,即通过TTS合成语音 * AUDIO: 语音驱动 :type script_type: str :param text_config: :type text_config: :class:`huaweicloudsdkmetastudio.v1.TextConfig` + :param audio_drive_action_config: 语音驱动时的动作配置。 + :type audio_drive_action_config: list[:class:`huaweicloudsdkmetastudio.v1.AudioDriveActionConfig`] :param background_config: 背景配置。 :type background_config: list[:class:`huaweicloudsdkmetastudio.v1.BackgroundConfigInfo`] :param layer_config: 图层配置。 :type layer_config: list[:class:`huaweicloudsdkmetastudio.v1.LayerConfig`] - :param thumbnail_url: 剧本场景缩略图url。 + :param thumbnail_url: **参数解释**: 剧本场景缩略图url。 **约束限制**: 不涉及。 **取值范围**: 字符长度1-2048位。 **默认取值**: 不涉及。 :type thumbnail_url: str """ @@ -53,6 +57,7 @@ def __init__(self, script_type=None, text_config=None, background_config=None, l self._script_type = None self._text_config = None + self._audio_drive_action_config = None self._background_config = None self._layer_config = None self._thumbnail_url = None @@ -62,6 +67,8 @@ def __init__(self, script_type=None, text_config=None, background_config=None, l self.script_type = script_type if text_config is not None: self.text_config = text_config + if audio_drive_action_config is not None: + self.audio_drive_action_config = audio_drive_action_config if background_config is not None: self.background_config = background_config if layer_config is not None: @@ -73,7 +80,7 @@ def __init__(self, script_type=None, text_config=None, background_config=None, l def script_type(self): """Gets the script_type of this ShootScriptDetail. - 脚本类型,即视频制作的驱动方式。默认TEXT * TEXT: 文本驱动,即通过TTS合成语音 * AUDIO: 语音驱动 + **参数解释**: 脚本类型,即视频制作的驱动方式 **约束限制**: 不涉及 **取值范围** * TEXT: 文本驱动,即通过TTS合成语音 * AUDIO: 语音驱动 :return: The script_type of this ShootScriptDetail. :rtype: str @@ -84,7 +91,7 @@ def script_type(self): def script_type(self, script_type): """Sets the script_type of this ShootScriptDetail. - 脚本类型,即视频制作的驱动方式。默认TEXT * TEXT: 文本驱动,即通过TTS合成语音 * AUDIO: 语音驱动 + **参数解释**: 脚本类型,即视频制作的驱动方式 **约束限制**: 不涉及 **取值范围** * TEXT: 文本驱动,即通过TTS合成语音 * AUDIO: 语音驱动 :param script_type: The script_type of this ShootScriptDetail. :type script_type: str @@ -109,6 +116,28 @@ def text_config(self, text_config): """ self._text_config = text_config + @property + def audio_drive_action_config(self): + """Gets the audio_drive_action_config of this ShootScriptDetail. + + 语音驱动时的动作配置。 + + :return: The audio_drive_action_config of this ShootScriptDetail. + :rtype: list[:class:`huaweicloudsdkmetastudio.v1.AudioDriveActionConfig`] + """ + return self._audio_drive_action_config + + @audio_drive_action_config.setter + def audio_drive_action_config(self, audio_drive_action_config): + """Sets the audio_drive_action_config of this ShootScriptDetail. + + 语音驱动时的动作配置。 + + :param audio_drive_action_config: The audio_drive_action_config of this ShootScriptDetail. + :type audio_drive_action_config: list[:class:`huaweicloudsdkmetastudio.v1.AudioDriveActionConfig`] + """ + self._audio_drive_action_config = audio_drive_action_config + @property def background_config(self): """Gets the background_config of this ShootScriptDetail. @@ -157,7 +186,7 @@ def layer_config(self, layer_config): def thumbnail_url(self): """Gets the thumbnail_url of this ShootScriptDetail. - 剧本场景缩略图url。 + **参数解释**: 剧本场景缩略图url。 **约束限制**: 不涉及。 **取值范围**: 字符长度1-2048位。 **默认取值**: 不涉及。 :return: The thumbnail_url of this ShootScriptDetail. :rtype: str @@ -168,7 +197,7 @@ def thumbnail_url(self): def thumbnail_url(self, thumbnail_url): """Sets the thumbnail_url of this ShootScriptDetail. - 剧本场景缩略图url。 + **参数解释**: 剧本场景缩略图url。 **约束限制**: 不涉及。 **取值范围**: 字符长度1-2048位。 **默认取值**: 不涉及。 :param thumbnail_url: The thumbnail_url of this ShootScriptDetail. :type thumbnail_url: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/shoot_script_item.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/shoot_script_item.py index bb7ef9ebc3..e587ba60b1 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/shoot_script_item.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/shoot_script_item.py @@ -31,7 +31,7 @@ def __init__(self, sequence_no=None, shoot_script=None): The model defined in huaweicloud sdk - :param sequence_no: 剧本序号。 + :param sequence_no: **参数解释**: 剧本序号。 **约束限制**: 同一个剧本序号不重复。 **默认取值**: 不涉及。 :type sequence_no: int :param shoot_script: :type shoot_script: :class:`huaweicloudsdkmetastudio.v1.ShootScript` @@ -52,7 +52,7 @@ def __init__(self, sequence_no=None, shoot_script=None): def sequence_no(self): """Gets the sequence_no of this ShootScriptItem. - 剧本序号。 + **参数解释**: 剧本序号。 **约束限制**: 同一个剧本序号不重复。 **默认取值**: 不涉及。 :return: The sequence_no of this ShootScriptItem. :rtype: int @@ -63,7 +63,7 @@ def sequence_no(self): def sequence_no(self, sequence_no): """Sets the sequence_no of this ShootScriptItem. - 剧本序号。 + **参数解释**: 剧本序号。 **约束限制**: 同一个剧本序号不重复。 **默认取值**: 不涉及。 :param sequence_no: The sequence_no of this ShootScriptItem. :type sequence_no: int diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/shoot_script_item_base_info.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/shoot_script_item_base_info.py index d8cb54469b..d4ec5e42f9 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/shoot_script_item_base_info.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/shoot_script_item_base_info.py @@ -29,7 +29,7 @@ def __init__(self, sequence_no=None): The model defined in huaweicloud sdk - :param sequence_no: 剧本序号。 + :param sequence_no: **参数解释**: 剧本序号。 **约束限制**: 同一个剧本序号不重复。 **默认取值**: 不涉及。 :type sequence_no: int """ @@ -45,7 +45,7 @@ def __init__(self, sequence_no=None): def sequence_no(self): """Gets the sequence_no of this ShootScriptItemBaseInfo. - 剧本序号。 + **参数解释**: 剧本序号。 **约束限制**: 同一个剧本序号不重复。 **默认取值**: 不涉及。 :return: The sequence_no of this ShootScriptItemBaseInfo. :rtype: int @@ -56,7 +56,7 @@ def sequence_no(self): def sequence_no(self, sequence_no): """Sets the sequence_no of this ShootScriptItemBaseInfo. - 剧本序号。 + **参数解释**: 剧本序号。 **约束限制**: 同一个剧本序号不重复。 **默认取值**: 不涉及。 :param sequence_no: The sequence_no of this ShootScriptItemBaseInfo. :type sequence_no: int diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/shoot_script_show_item.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/shoot_script_show_item.py index 6f20f08d67..97132d9910 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/shoot_script_show_item.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/shoot_script_show_item.py @@ -33,7 +33,7 @@ def __init__(self, sequence_no=None, shoot_script=None, subtitle_file_info=None) The model defined in huaweicloud sdk - :param sequence_no: 剧本序号。 + :param sequence_no: **参数解释**: 剧本序号。 **约束限制**: 同一个剧本序号不重复。 **默认取值**: 不涉及。 :type sequence_no: int :param shoot_script: :type shoot_script: :class:`huaweicloudsdkmetastudio.v1.ShootScriptDetail` @@ -59,7 +59,7 @@ def __init__(self, sequence_no=None, shoot_script=None, subtitle_file_info=None) def sequence_no(self): """Gets the sequence_no of this ShootScriptShowItem. - 剧本序号。 + **参数解释**: 剧本序号。 **约束限制**: 同一个剧本序号不重复。 **默认取值**: 不涉及。 :return: The sequence_no of this ShootScriptShowItem. :rtype: int @@ -70,7 +70,7 @@ def sequence_no(self): def sequence_no(self, sequence_no): """Sets the sequence_no of this ShootScriptShowItem. - 剧本序号。 + **参数解释**: 剧本序号。 **约束限制**: 同一个剧本序号不重复。 **默认取值**: 不涉及。 :param sequence_no: The sequence_no of this ShootScriptShowItem. :type sequence_no: int diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show2_d_digital_human_video_response.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show2_d_digital_human_video_response.py index 65a215d14a..cc1b734386 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show2_d_digital_human_video_response.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show2_d_digital_human_video_response.py @@ -76,7 +76,7 @@ def __init__(self, job_id=None, state=None, job_type=None, start_time=None, end_ :type start_time: str :param end_time: 数字人视频制作结束时间。 :type end_time: str - :param duration: 数字人视频内容时长。 + :param duration: **参数解释**: 数字人视频内容时长。 :type duration: float :param output_asset_config: :type output_asset_config: :class:`huaweicloudsdkmetastudio.v1.OutputAssetInfo` @@ -280,7 +280,7 @@ def end_time(self, end_time): def duration(self): """Gets the duration of this Show2DDigitalHumanVideoResponse. - 数字人视频内容时长。 + **参数解释**: 数字人视频内容时长。 :return: The duration of this Show2DDigitalHumanVideoResponse. :rtype: float @@ -291,7 +291,7 @@ def duration(self): def duration(self, duration): """Sets the duration of this Show2DDigitalHumanVideoResponse. - 数字人视频内容时长。 + **参数解释**: 数字人视频内容时长。 :param duration: The duration of this Show2DDigitalHumanVideoResponse. :type duration: float diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show2d_model_training_job_response.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show2d_model_training_job_response.py index 23414c654c..adb16a963a 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show2d_model_training_job_response.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show2d_model_training_job_response.py @@ -33,12 +33,17 @@ class Show2dModelTrainingJobResponse(SdkResponse): 'matting_type': 'str', 'model_resolution': 'str', 'app_user_id': 'str', + 'is_flexus': 'bool', 'training_video_download_url': 'str', 'id_card_image1_download_url': 'str', 'id_card_image2_download_url': 'str', 'grant_file_download_url': 'str', + 'action_video_download_url': 'str', + 'audio_file_download_url': 'str', 'operation_logs': 'list[OperationLogInfo]', + 'verify_video_matting_info': 'list[VerifyVideoMattingInfo]', 'comment_logs': 'list[CommentLogInfo]', + 'samples': 'list[ActionSampleInfo]', 'is_mask_file_uploaded': 'bool', 'mask_file_download_url': 'str', 'verify_video_download_url': 'str', @@ -48,6 +53,10 @@ class Show2dModelTrainingJobResponse(SdkResponse): 'inference_data_process_eye_correction_mark_info': 'InferenceEyeCorrectionMarkInfo', 'is_background_replacement': 'bool', 'worker_type': 'list[str]', + 'voice_train_job_id': 'str', + 'flexus_retry_count': 'int', + 'audio_source_type': 'str', + 'supported_service': 'list[SupportedServiceEnum]', 'x_request_id': 'str' } @@ -67,12 +76,17 @@ class Show2dModelTrainingJobResponse(SdkResponse): 'matting_type': 'matting_type', 'model_resolution': 'model_resolution', 'app_user_id': 'app_user_id', + 'is_flexus': 'is_flexus', 'training_video_download_url': 'training_video_download_url', 'id_card_image1_download_url': 'id_card_image1_download_url', 'id_card_image2_download_url': 'id_card_image2_download_url', 'grant_file_download_url': 'grant_file_download_url', + 'action_video_download_url': 'action_video_download_url', + 'audio_file_download_url': 'audio_file_download_url', 'operation_logs': 'operation_logs', + 'verify_video_matting_info': 'verify_video_matting_info', 'comment_logs': 'comment_logs', + 'samples': 'samples', 'is_mask_file_uploaded': 'is_mask_file_uploaded', 'mask_file_download_url': 'mask_file_download_url', 'verify_video_download_url': 'verify_video_download_url', @@ -82,10 +96,14 @@ class Show2dModelTrainingJobResponse(SdkResponse): 'inference_data_process_eye_correction_mark_info': 'inference_data_process_eye_correction_mark_info', 'is_background_replacement': 'is_background_replacement', 'worker_type': 'worker_type', + 'voice_train_job_id': 'voice_train_job_id', + 'flexus_retry_count': 'flexus_retry_count', + 'audio_source_type': 'audio_source_type', + 'supported_service': 'supported_service', 'x_request_id': 'X-Request-Id' } - def __init__(self, job_id=None, name=None, state=None, asset_id=None, project_id=None, cover_download_url=None, last_update_time=None, create_time=None, contact=None, batch_name=None, tags=None, model_version=None, matting_type=None, model_resolution=None, app_user_id=None, training_video_download_url=None, id_card_image1_download_url=None, id_card_image2_download_url=None, grant_file_download_url=None, operation_logs=None, comment_logs=None, is_mask_file_uploaded=None, mask_file_download_url=None, verify_video_download_url=None, markable_video_download_url=None, inference_data_process_video_mark_info=None, inference_data_process_action_mark_info=None, inference_data_process_eye_correction_mark_info=None, is_background_replacement=None, worker_type=None, x_request_id=None): + def __init__(self, job_id=None, name=None, state=None, asset_id=None, project_id=None, cover_download_url=None, last_update_time=None, create_time=None, contact=None, batch_name=None, tags=None, model_version=None, matting_type=None, model_resolution=None, app_user_id=None, is_flexus=None, training_video_download_url=None, id_card_image1_download_url=None, id_card_image2_download_url=None, grant_file_download_url=None, action_video_download_url=None, audio_file_download_url=None, operation_logs=None, verify_video_matting_info=None, comment_logs=None, samples=None, is_mask_file_uploaded=None, mask_file_download_url=None, verify_video_download_url=None, markable_video_download_url=None, inference_data_process_video_mark_info=None, inference_data_process_action_mark_info=None, inference_data_process_eye_correction_mark_info=None, is_background_replacement=None, worker_type=None, voice_train_job_id=None, flexus_retry_count=None, audio_source_type=None, supported_service=None, x_request_id=None): """Show2dModelTrainingJobResponse The model defined in huaweicloud sdk @@ -94,7 +112,7 @@ def __init__(self, job_id=None, name=None, state=None, asset_id=None, project_id :type job_id: str :param name: 分身数字人模型名称。该名称会作为资产库中分身数字人模型资产名称。 :type name: str - :param state: 任务的状态。 * WAIT_FILE_UPLOAD:待上传文件 * AUTO_VERIFYING:自动审核中 * AUTO_VERIFY_FAILED:自动审核失败 * MANUAL_VERIFYING:人工审核中 * MANUAL_VERIFY_FAILED:人工审核失败 * MANUAL_VERIFY_SUCCESS:审核通过,等待预处理资源 * TRAINING_DATA_PREPROCESSING:训练数据预处理中 * TRAINING_DATA_PREPROCESS_FAILED:训练数据预处理失败 * TRAINING_DATA_PREPROCESS_SUCCESS:训练数据预处理完成,等待训练资源中 * TRAINING:训练中 * TRAIN_FAILED:训练失败 * TRAIN_SUCCESS:训练完成,等待预处理资源 * INFERENCE_DATA_PREPROCESSING:推理数据预处理中 * INFERENCE_DATA_PREPROCESS_FAILED:推理数据预处理失败 * WAIT_MASK_UPLOAD:等待遮罩上传 * WAIT_MAIN_FILE_UPLOAD:等待主文件上传 * JOB_SUCCESS:训练任务完成 * WAIT_USER_CONFIRM:等待用户确认训练效果 * JOB_REJECT:驳回任务 * JOB_PENDING:挂起任务 * JOB_FINISH:任务结束,是最终状态,不支持修改此状态。 + :param state: 任务的状态。 * WAIT_FILE_UPLOAD: 待上传文件 * AUTO_VERIFYING: 自动审核中 * AUTO_VERIFY_FAILED: 自动审核失败 * MANUAL_VERIFYING: 人工审核中 * WAIT_TRAINING_DATA_PREPROCESS: 人工审核中 * MANUAL_VERIFY_FAILED: 人工审核失败 * MANUAL_VERIFY_SUCCESS: 审核通过,等待预处理资源 * TRAINING_DATA_PREPROCESSING: 训练数据预处理中 * TRAINING_DATA_PREPROCESS_FAILED: 训练数据预处理失败 * TRAINING_DATA_PREPROCESS_SUCCESS: 训练数据预处理完成,等待训练资源中 * TRAINING: 训练中 * TRAIN_FAILED: 训练失败 * TRAIN_SUCCESS: 训练完成,等待预处理资源 * INFERENCE_DATA_PREPROCESSING: 推理数据预处理中 * INFERENCE_DATA_PREPROCESS_FAILED: 推理数据预处理失败 * WAIT_MASK_UPLOAD: 等待遮罩上传 * WAIT_MAIN_FILE_UPLOAD: 等待主文件上传 * JOB_SUCCESS: 训练任务完成 * MANUAL_STOP_INFERENCE_DATA_PREPROCESS: 人工中止推理预处理 * MANUAL_STOP_TRAIN: 人工中止训练 * MANUAL_STOP_TRAINING_DATA_PREPROCESS: 人工中止训练预处理 * WAIT_USER_CONFIRM: 等待用户确认训练效果 * JOB_REJECT: 驳回任务 * JOB_PENDING: 挂起任务 * WAIT_ADMIN_CONFIRM: 等待管理员审核 * JOB_FINISH: 任务结束,是最终状态,不支持修改此状态。 * COMPILING: 转编译中 * WAIT_COMPILE: 等待转编译 * COMPILE_FAILED: 转编译失败 * WAIT_GENERATE_ACTION: 等待原子动作生成 * WAIT_ARRANGE: 等待编排 * ACTION_GENERATE_DATA_PROCESSING: 原子动作生成中 * MANUAL_STOP_ACTION_GENERATE_DATA_PROCESSING: 人工中止动作生成 * MANUAL_STOP_ACTION_GENERATE_ORI_PROCESSING: 人工中止动作编排 * ACTION_GENERATE_ORI_PROCESSING: 动作编排中 * ACTION_GENERATE_DATA_FAILED: 动作生成失败 * ACTION_GENERATE_ORI_FAILED: 动作编排失败 * ACTION_GENERATE_ORI_SUCCESS: 动作编排成功 * GENERATE_ACTION_PREPROCESS_FAILED: 动作编排失败 * WAIT_ADMIN_CALIBRATION: 等待管理员确认动作信息 :type state: str :param asset_id: 模型资产ID。 :type asset_id: str @@ -120,6 +138,8 @@ def __init__(self, job_id=None, name=None, state=None, asset_id=None, project_id :type model_resolution: str :param app_user_id: 自定义用户id(如创建任务时设置了X-App-UserId则会携带)。 :type app_user_id: str + :param is_flexus: 是否是基础版的形象训练 + :type is_flexus: bool :param training_video_download_url: 分身数字人训练视频下载URL。24小时内有效。 :type training_video_download_url: str :param id_card_image1_download_url: 身份证正面照片下载URL。24小时内有效。 @@ -128,10 +148,18 @@ def __init__(self, job_id=None, name=None, state=None, asset_id=None, project_id :type id_card_image2_download_url: str :param grant_file_download_url: 授权书下载URL。24小时内有效。 :type grant_file_download_url: str + :param action_video_download_url: 动作视频 + :type action_video_download_url: str + :param audio_file_download_url: 音频文件下载url。 + :type audio_file_download_url: str :param operation_logs: 操作日志列表。 :type operation_logs: list[:class:`huaweicloudsdkmetastudio.v1.OperationLogInfo`] + :param verify_video_matting_info: 生成抠图验证视频时不抠图区域。 + :type verify_video_matting_info: list[:class:`huaweicloudsdkmetastudio.v1.VerifyVideoMattingInfo`] :param comment_logs: 评论记录列表。 :type comment_logs: list[:class:`huaweicloudsdkmetastudio.v1.CommentLogInfo`] + :param samples: 动作视频样例。 + :type samples: list[:class:`huaweicloudsdkmetastudio.v1.ActionSampleInfo`] :param is_mask_file_uploaded: 遮罩文件是否已上传。 :type is_mask_file_uploaded: bool :param mask_file_download_url: 遮罩下载URL。24小时内有效。 @@ -150,6 +178,14 @@ def __init__(self, job_id=None, name=None, state=None, asset_id=None, project_id :type is_background_replacement: bool :param worker_type: 转编译任务机型 :type worker_type: list[str] + :param voice_train_job_id: 声音训练任务id。 + :type voice_train_job_id: str + :param flexus_retry_count: flexus版本任务剩余可以重训的次数,每重训一次减1,减到0时不可再重训。 + :type flexus_retry_count: int + :param audio_source_type: 声音来源类型 * VIDEO:视频中抽取音频 * AUDIO:单独上传的音频 + :type audio_source_type: str + :param supported_service: 该任务所生成的模型支持的业务类型,可多选 + :type supported_service: list[:class:`huaweicloudsdkmetastudio.v1.SupportedServiceEnum`] :param x_request_id: :type x_request_id: str """ @@ -171,12 +207,17 @@ def __init__(self, job_id=None, name=None, state=None, asset_id=None, project_id self._matting_type = None self._model_resolution = None self._app_user_id = None + self._is_flexus = None self._training_video_download_url = None self._id_card_image1_download_url = None self._id_card_image2_download_url = None self._grant_file_download_url = None + self._action_video_download_url = None + self._audio_file_download_url = None self._operation_logs = None + self._verify_video_matting_info = None self._comment_logs = None + self._samples = None self._is_mask_file_uploaded = None self._mask_file_download_url = None self._verify_video_download_url = None @@ -186,6 +227,10 @@ def __init__(self, job_id=None, name=None, state=None, asset_id=None, project_id self._inference_data_process_eye_correction_mark_info = None self._is_background_replacement = None self._worker_type = None + self._voice_train_job_id = None + self._flexus_retry_count = None + self._audio_source_type = None + self._supported_service = None self._x_request_id = None self.discriminator = None @@ -216,6 +261,8 @@ def __init__(self, job_id=None, name=None, state=None, asset_id=None, project_id self.model_resolution = model_resolution if app_user_id is not None: self.app_user_id = app_user_id + if is_flexus is not None: + self.is_flexus = is_flexus if training_video_download_url is not None: self.training_video_download_url = training_video_download_url if id_card_image1_download_url is not None: @@ -224,10 +271,18 @@ def __init__(self, job_id=None, name=None, state=None, asset_id=None, project_id self.id_card_image2_download_url = id_card_image2_download_url if grant_file_download_url is not None: self.grant_file_download_url = grant_file_download_url + if action_video_download_url is not None: + self.action_video_download_url = action_video_download_url + if audio_file_download_url is not None: + self.audio_file_download_url = audio_file_download_url if operation_logs is not None: self.operation_logs = operation_logs + if verify_video_matting_info is not None: + self.verify_video_matting_info = verify_video_matting_info if comment_logs is not None: self.comment_logs = comment_logs + if samples is not None: + self.samples = samples if is_mask_file_uploaded is not None: self.is_mask_file_uploaded = is_mask_file_uploaded if mask_file_download_url is not None: @@ -246,6 +301,14 @@ def __init__(self, job_id=None, name=None, state=None, asset_id=None, project_id self.is_background_replacement = is_background_replacement if worker_type is not None: self.worker_type = worker_type + if voice_train_job_id is not None: + self.voice_train_job_id = voice_train_job_id + if flexus_retry_count is not None: + self.flexus_retry_count = flexus_retry_count + if audio_source_type is not None: + self.audio_source_type = audio_source_type + if supported_service is not None: + self.supported_service = supported_service if x_request_id is not None: self.x_request_id = x_request_id @@ -297,7 +360,7 @@ def name(self, name): def state(self): """Gets the state of this Show2dModelTrainingJobResponse. - 任务的状态。 * WAIT_FILE_UPLOAD:待上传文件 * AUTO_VERIFYING:自动审核中 * AUTO_VERIFY_FAILED:自动审核失败 * MANUAL_VERIFYING:人工审核中 * MANUAL_VERIFY_FAILED:人工审核失败 * MANUAL_VERIFY_SUCCESS:审核通过,等待预处理资源 * TRAINING_DATA_PREPROCESSING:训练数据预处理中 * TRAINING_DATA_PREPROCESS_FAILED:训练数据预处理失败 * TRAINING_DATA_PREPROCESS_SUCCESS:训练数据预处理完成,等待训练资源中 * TRAINING:训练中 * TRAIN_FAILED:训练失败 * TRAIN_SUCCESS:训练完成,等待预处理资源 * INFERENCE_DATA_PREPROCESSING:推理数据预处理中 * INFERENCE_DATA_PREPROCESS_FAILED:推理数据预处理失败 * WAIT_MASK_UPLOAD:等待遮罩上传 * WAIT_MAIN_FILE_UPLOAD:等待主文件上传 * JOB_SUCCESS:训练任务完成 * WAIT_USER_CONFIRM:等待用户确认训练效果 * JOB_REJECT:驳回任务 * JOB_PENDING:挂起任务 * JOB_FINISH:任务结束,是最终状态,不支持修改此状态。 + 任务的状态。 * WAIT_FILE_UPLOAD: 待上传文件 * AUTO_VERIFYING: 自动审核中 * AUTO_VERIFY_FAILED: 自动审核失败 * MANUAL_VERIFYING: 人工审核中 * WAIT_TRAINING_DATA_PREPROCESS: 人工审核中 * MANUAL_VERIFY_FAILED: 人工审核失败 * MANUAL_VERIFY_SUCCESS: 审核通过,等待预处理资源 * TRAINING_DATA_PREPROCESSING: 训练数据预处理中 * TRAINING_DATA_PREPROCESS_FAILED: 训练数据预处理失败 * TRAINING_DATA_PREPROCESS_SUCCESS: 训练数据预处理完成,等待训练资源中 * TRAINING: 训练中 * TRAIN_FAILED: 训练失败 * TRAIN_SUCCESS: 训练完成,等待预处理资源 * INFERENCE_DATA_PREPROCESSING: 推理数据预处理中 * INFERENCE_DATA_PREPROCESS_FAILED: 推理数据预处理失败 * WAIT_MASK_UPLOAD: 等待遮罩上传 * WAIT_MAIN_FILE_UPLOAD: 等待主文件上传 * JOB_SUCCESS: 训练任务完成 * MANUAL_STOP_INFERENCE_DATA_PREPROCESS: 人工中止推理预处理 * MANUAL_STOP_TRAIN: 人工中止训练 * MANUAL_STOP_TRAINING_DATA_PREPROCESS: 人工中止训练预处理 * WAIT_USER_CONFIRM: 等待用户确认训练效果 * JOB_REJECT: 驳回任务 * JOB_PENDING: 挂起任务 * WAIT_ADMIN_CONFIRM: 等待管理员审核 * JOB_FINISH: 任务结束,是最终状态,不支持修改此状态。 * COMPILING: 转编译中 * WAIT_COMPILE: 等待转编译 * COMPILE_FAILED: 转编译失败 * WAIT_GENERATE_ACTION: 等待原子动作生成 * WAIT_ARRANGE: 等待编排 * ACTION_GENERATE_DATA_PROCESSING: 原子动作生成中 * MANUAL_STOP_ACTION_GENERATE_DATA_PROCESSING: 人工中止动作生成 * MANUAL_STOP_ACTION_GENERATE_ORI_PROCESSING: 人工中止动作编排 * ACTION_GENERATE_ORI_PROCESSING: 动作编排中 * ACTION_GENERATE_DATA_FAILED: 动作生成失败 * ACTION_GENERATE_ORI_FAILED: 动作编排失败 * ACTION_GENERATE_ORI_SUCCESS: 动作编排成功 * GENERATE_ACTION_PREPROCESS_FAILED: 动作编排失败 * WAIT_ADMIN_CALIBRATION: 等待管理员确认动作信息 :return: The state of this Show2dModelTrainingJobResponse. :rtype: str @@ -308,7 +371,7 @@ def state(self): def state(self, state): """Sets the state of this Show2dModelTrainingJobResponse. - 任务的状态。 * WAIT_FILE_UPLOAD:待上传文件 * AUTO_VERIFYING:自动审核中 * AUTO_VERIFY_FAILED:自动审核失败 * MANUAL_VERIFYING:人工审核中 * MANUAL_VERIFY_FAILED:人工审核失败 * MANUAL_VERIFY_SUCCESS:审核通过,等待预处理资源 * TRAINING_DATA_PREPROCESSING:训练数据预处理中 * TRAINING_DATA_PREPROCESS_FAILED:训练数据预处理失败 * TRAINING_DATA_PREPROCESS_SUCCESS:训练数据预处理完成,等待训练资源中 * TRAINING:训练中 * TRAIN_FAILED:训练失败 * TRAIN_SUCCESS:训练完成,等待预处理资源 * INFERENCE_DATA_PREPROCESSING:推理数据预处理中 * INFERENCE_DATA_PREPROCESS_FAILED:推理数据预处理失败 * WAIT_MASK_UPLOAD:等待遮罩上传 * WAIT_MAIN_FILE_UPLOAD:等待主文件上传 * JOB_SUCCESS:训练任务完成 * WAIT_USER_CONFIRM:等待用户确认训练效果 * JOB_REJECT:驳回任务 * JOB_PENDING:挂起任务 * JOB_FINISH:任务结束,是最终状态,不支持修改此状态。 + 任务的状态。 * WAIT_FILE_UPLOAD: 待上传文件 * AUTO_VERIFYING: 自动审核中 * AUTO_VERIFY_FAILED: 自动审核失败 * MANUAL_VERIFYING: 人工审核中 * WAIT_TRAINING_DATA_PREPROCESS: 人工审核中 * MANUAL_VERIFY_FAILED: 人工审核失败 * MANUAL_VERIFY_SUCCESS: 审核通过,等待预处理资源 * TRAINING_DATA_PREPROCESSING: 训练数据预处理中 * TRAINING_DATA_PREPROCESS_FAILED: 训练数据预处理失败 * TRAINING_DATA_PREPROCESS_SUCCESS: 训练数据预处理完成,等待训练资源中 * TRAINING: 训练中 * TRAIN_FAILED: 训练失败 * TRAIN_SUCCESS: 训练完成,等待预处理资源 * INFERENCE_DATA_PREPROCESSING: 推理数据预处理中 * INFERENCE_DATA_PREPROCESS_FAILED: 推理数据预处理失败 * WAIT_MASK_UPLOAD: 等待遮罩上传 * WAIT_MAIN_FILE_UPLOAD: 等待主文件上传 * JOB_SUCCESS: 训练任务完成 * MANUAL_STOP_INFERENCE_DATA_PREPROCESS: 人工中止推理预处理 * MANUAL_STOP_TRAIN: 人工中止训练 * MANUAL_STOP_TRAINING_DATA_PREPROCESS: 人工中止训练预处理 * WAIT_USER_CONFIRM: 等待用户确认训练效果 * JOB_REJECT: 驳回任务 * JOB_PENDING: 挂起任务 * WAIT_ADMIN_CONFIRM: 等待管理员审核 * JOB_FINISH: 任务结束,是最终状态,不支持修改此状态。 * COMPILING: 转编译中 * WAIT_COMPILE: 等待转编译 * COMPILE_FAILED: 转编译失败 * WAIT_GENERATE_ACTION: 等待原子动作生成 * WAIT_ARRANGE: 等待编排 * ACTION_GENERATE_DATA_PROCESSING: 原子动作生成中 * MANUAL_STOP_ACTION_GENERATE_DATA_PROCESSING: 人工中止动作生成 * MANUAL_STOP_ACTION_GENERATE_ORI_PROCESSING: 人工中止动作编排 * ACTION_GENERATE_ORI_PROCESSING: 动作编排中 * ACTION_GENERATE_DATA_FAILED: 动作生成失败 * ACTION_GENERATE_ORI_FAILED: 动作编排失败 * ACTION_GENERATE_ORI_SUCCESS: 动作编排成功 * GENERATE_ACTION_PREPROCESS_FAILED: 动作编排失败 * WAIT_ADMIN_CALIBRATION: 等待管理员确认动作信息 :param state: The state of this Show2dModelTrainingJobResponse. :type state: str @@ -579,6 +642,28 @@ def app_user_id(self, app_user_id): """ self._app_user_id = app_user_id + @property + def is_flexus(self): + """Gets the is_flexus of this Show2dModelTrainingJobResponse. + + 是否是基础版的形象训练 + + :return: The is_flexus of this Show2dModelTrainingJobResponse. + :rtype: bool + """ + return self._is_flexus + + @is_flexus.setter + def is_flexus(self, is_flexus): + """Sets the is_flexus of this Show2dModelTrainingJobResponse. + + 是否是基础版的形象训练 + + :param is_flexus: The is_flexus of this Show2dModelTrainingJobResponse. + :type is_flexus: bool + """ + self._is_flexus = is_flexus + @property def training_video_download_url(self): """Gets the training_video_download_url of this Show2dModelTrainingJobResponse. @@ -667,6 +752,50 @@ def grant_file_download_url(self, grant_file_download_url): """ self._grant_file_download_url = grant_file_download_url + @property + def action_video_download_url(self): + """Gets the action_video_download_url of this Show2dModelTrainingJobResponse. + + 动作视频 + + :return: The action_video_download_url of this Show2dModelTrainingJobResponse. + :rtype: str + """ + return self._action_video_download_url + + @action_video_download_url.setter + def action_video_download_url(self, action_video_download_url): + """Sets the action_video_download_url of this Show2dModelTrainingJobResponse. + + 动作视频 + + :param action_video_download_url: The action_video_download_url of this Show2dModelTrainingJobResponse. + :type action_video_download_url: str + """ + self._action_video_download_url = action_video_download_url + + @property + def audio_file_download_url(self): + """Gets the audio_file_download_url of this Show2dModelTrainingJobResponse. + + 音频文件下载url。 + + :return: The audio_file_download_url of this Show2dModelTrainingJobResponse. + :rtype: str + """ + return self._audio_file_download_url + + @audio_file_download_url.setter + def audio_file_download_url(self, audio_file_download_url): + """Sets the audio_file_download_url of this Show2dModelTrainingJobResponse. + + 音频文件下载url。 + + :param audio_file_download_url: The audio_file_download_url of this Show2dModelTrainingJobResponse. + :type audio_file_download_url: str + """ + self._audio_file_download_url = audio_file_download_url + @property def operation_logs(self): """Gets the operation_logs of this Show2dModelTrainingJobResponse. @@ -689,6 +818,28 @@ def operation_logs(self, operation_logs): """ self._operation_logs = operation_logs + @property + def verify_video_matting_info(self): + """Gets the verify_video_matting_info of this Show2dModelTrainingJobResponse. + + 生成抠图验证视频时不抠图区域。 + + :return: The verify_video_matting_info of this Show2dModelTrainingJobResponse. + :rtype: list[:class:`huaweicloudsdkmetastudio.v1.VerifyVideoMattingInfo`] + """ + return self._verify_video_matting_info + + @verify_video_matting_info.setter + def verify_video_matting_info(self, verify_video_matting_info): + """Sets the verify_video_matting_info of this Show2dModelTrainingJobResponse. + + 生成抠图验证视频时不抠图区域。 + + :param verify_video_matting_info: The verify_video_matting_info of this Show2dModelTrainingJobResponse. + :type verify_video_matting_info: list[:class:`huaweicloudsdkmetastudio.v1.VerifyVideoMattingInfo`] + """ + self._verify_video_matting_info = verify_video_matting_info + @property def comment_logs(self): """Gets the comment_logs of this Show2dModelTrainingJobResponse. @@ -711,6 +862,28 @@ def comment_logs(self, comment_logs): """ self._comment_logs = comment_logs + @property + def samples(self): + """Gets the samples of this Show2dModelTrainingJobResponse. + + 动作视频样例。 + + :return: The samples of this Show2dModelTrainingJobResponse. + :rtype: list[:class:`huaweicloudsdkmetastudio.v1.ActionSampleInfo`] + """ + return self._samples + + @samples.setter + def samples(self, samples): + """Sets the samples of this Show2dModelTrainingJobResponse. + + 动作视频样例。 + + :param samples: The samples of this Show2dModelTrainingJobResponse. + :type samples: list[:class:`huaweicloudsdkmetastudio.v1.ActionSampleInfo`] + """ + self._samples = samples + @property def is_mask_file_uploaded(self): """Gets the is_mask_file_uploaded of this Show2dModelTrainingJobResponse. @@ -897,6 +1070,94 @@ def worker_type(self, worker_type): """ self._worker_type = worker_type + @property + def voice_train_job_id(self): + """Gets the voice_train_job_id of this Show2dModelTrainingJobResponse. + + 声音训练任务id。 + + :return: The voice_train_job_id of this Show2dModelTrainingJobResponse. + :rtype: str + """ + return self._voice_train_job_id + + @voice_train_job_id.setter + def voice_train_job_id(self, voice_train_job_id): + """Sets the voice_train_job_id of this Show2dModelTrainingJobResponse. + + 声音训练任务id。 + + :param voice_train_job_id: The voice_train_job_id of this Show2dModelTrainingJobResponse. + :type voice_train_job_id: str + """ + self._voice_train_job_id = voice_train_job_id + + @property + def flexus_retry_count(self): + """Gets the flexus_retry_count of this Show2dModelTrainingJobResponse. + + flexus版本任务剩余可以重训的次数,每重训一次减1,减到0时不可再重训。 + + :return: The flexus_retry_count of this Show2dModelTrainingJobResponse. + :rtype: int + """ + return self._flexus_retry_count + + @flexus_retry_count.setter + def flexus_retry_count(self, flexus_retry_count): + """Sets the flexus_retry_count of this Show2dModelTrainingJobResponse. + + flexus版本任务剩余可以重训的次数,每重训一次减1,减到0时不可再重训。 + + :param flexus_retry_count: The flexus_retry_count of this Show2dModelTrainingJobResponse. + :type flexus_retry_count: int + """ + self._flexus_retry_count = flexus_retry_count + + @property + def audio_source_type(self): + """Gets the audio_source_type of this Show2dModelTrainingJobResponse. + + 声音来源类型 * VIDEO:视频中抽取音频 * AUDIO:单独上传的音频 + + :return: The audio_source_type of this Show2dModelTrainingJobResponse. + :rtype: str + """ + return self._audio_source_type + + @audio_source_type.setter + def audio_source_type(self, audio_source_type): + """Sets the audio_source_type of this Show2dModelTrainingJobResponse. + + 声音来源类型 * VIDEO:视频中抽取音频 * AUDIO:单独上传的音频 + + :param audio_source_type: The audio_source_type of this Show2dModelTrainingJobResponse. + :type audio_source_type: str + """ + self._audio_source_type = audio_source_type + + @property + def supported_service(self): + """Gets the supported_service of this Show2dModelTrainingJobResponse. + + 该任务所生成的模型支持的业务类型,可多选 + + :return: The supported_service of this Show2dModelTrainingJobResponse. + :rtype: list[:class:`huaweicloudsdkmetastudio.v1.SupportedServiceEnum`] + """ + return self._supported_service + + @supported_service.setter + def supported_service(self, supported_service): + """Sets the supported_service of this Show2dModelTrainingJobResponse. + + 该任务所生成的模型支持的业务类型,可多选 + + :param supported_service: The supported_service of this Show2dModelTrainingJobResponse. + :type supported_service: list[:class:`huaweicloudsdkmetastudio.v1.SupportedServiceEnum`] + """ + self._supported_service = supported_service + @property def x_request_id(self): """Gets the x_request_id of this Show2dModelTrainingJobResponse. diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_photo_digital_human_video_response.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_photo_digital_human_video_response.py index 9b5a4101c0..0cf94f8fb7 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_photo_digital_human_video_response.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_photo_digital_human_video_response.py @@ -70,7 +70,7 @@ def __init__(self, job_id=None, state=None, job_type=None, start_time=None, end_ :type start_time: str :param end_time: 数字人视频制作结束时间。 :type end_time: str - :param duration: 数字人视频内容时长。 + :param duration: **参数解释**: 数字人视频内容时长。 :type duration: float :param output_asset_config: :type output_asset_config: :class:`huaweicloudsdkmetastudio.v1.OutputAssetInfo` @@ -259,7 +259,7 @@ def end_time(self, end_time): def duration(self): """Gets the duration of this ShowPhotoDigitalHumanVideoResponse. - 数字人视频内容时长。 + **参数解释**: 数字人视频内容时长。 :return: The duration of this ShowPhotoDigitalHumanVideoResponse. :rtype: float @@ -270,7 +270,7 @@ def duration(self): def duration(self, duration): """Sets the duration of this ShowPhotoDigitalHumanVideoResponse. - 数字人视频内容时长。 + **参数解释**: 数字人视频内容时长。 :param duration: The duration of this ShowPhotoDigitalHumanVideoResponse. :type duration: float diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_smart_chat_room_response.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_smart_chat_room_response.py index d4f2124bec..53312309bc 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_smart_chat_room_response.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_smart_chat_room_response.py @@ -74,7 +74,7 @@ def __init__(self, room_name=None, room_description=None, video_config=None, mod :type voice_config: :class:`huaweicloudsdkmetastudio.v1.VoiceConfig` :param robot_id: 机器人ID。获取方法请参考[创建应用](CreateRobot.xml)。 :type robot_id: str - :param concurrency: 并发路数。 + :param concurrency: **参数解释**: 并发路数。 :type concurrency: int :param background_config: :type background_config: :class:`huaweicloudsdkmetastudio.v1.BackgroundConfigInfo` @@ -88,9 +88,9 @@ def __init__(self, room_name=None, room_description=None, video_config=None, mod :type chat_video_type: str :param room_id: 对话ID。 :type room_id: str - :param create_time: 智能交互对话创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + :param create_time: 智能交互对话创建时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :type create_time: str - :param update_time: 智能交互对话更新时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + :param update_time: 智能交互对话更新时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :type update_time: str :param cover_url: 对话封面图URL :type cover_url: str @@ -281,7 +281,7 @@ def robot_id(self, robot_id): def concurrency(self): """Gets the concurrency of this ShowSmartChatRoomResponse. - 并发路数。 + **参数解释**: 并发路数。 :return: The concurrency of this ShowSmartChatRoomResponse. :rtype: int @@ -292,7 +292,7 @@ def concurrency(self): def concurrency(self, concurrency): """Sets the concurrency of this ShowSmartChatRoomResponse. - 并发路数。 + **参数解释**: 并发路数。 :param concurrency: The concurrency of this ShowSmartChatRoomResponse. :type concurrency: int @@ -423,7 +423,7 @@ def room_id(self, room_id): def create_time(self): """Gets the create_time of this ShowSmartChatRoomResponse. - 智能交互对话创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 智能交互对话创建时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :return: The create_time of this ShowSmartChatRoomResponse. :rtype: str @@ -434,7 +434,7 @@ def create_time(self): def create_time(self, create_time): """Sets the create_time of this ShowSmartChatRoomResponse. - 智能交互对话创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 智能交互对话创建时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :param create_time: The create_time of this ShowSmartChatRoomResponse. :type create_time: str @@ -445,7 +445,7 @@ def create_time(self, create_time): def update_time(self): """Gets the update_time of this ShowSmartChatRoomResponse. - 智能交互对话更新时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 智能交互对话更新时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :return: The update_time of this ShowSmartChatRoomResponse. :rtype: str @@ -456,7 +456,7 @@ def update_time(self): def update_time(self, update_time): """Sets the update_time of this ShowSmartChatRoomResponse. - 智能交互对话更新时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 智能交互对话更新时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :param update_time: The update_time of this ShowSmartChatRoomResponse. :type update_time: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_smart_live_response.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_smart_live_response.py index 51bf7abc39..230ebe320a 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_smart_live_response.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_smart_live_response.py @@ -76,17 +76,17 @@ def __init__(self, job_id=None, room_id=None, room_name=None, state=None, durati :type room_name: str :param state: 数字人直播任务的状态。 * WAITING: 等待 * PROCESSING: 处理中 * SUCCEED: 成功 * FAILED: 失败 * BLOCKED: 封禁 :type state: str - :param duration: 数字人直播时长,单位秒。 + :param duration: **参数解释**: 数字人直播时长,单位秒。 :type duration: float - :param start_time: 数字人直播任务开始时间。格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + :param start_time: 数字人直播任务开始时间。格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :type start_time: str - :param end_time: 数字人直播任务结束时间。格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + :param end_time: 数字人直播任务结束时间。格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :type end_time: str :param error_info: :type error_info: :class:`huaweicloudsdkmetastudio.v1.ErrorResponse` - :param create_time: 数字人直播任务创建时间。格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + :param create_time: 数字人直播任务创建时间。格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :type create_time: str - :param lastupdate_time: 数字人直播任务最后更新时间。格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + :param lastupdate_time: 数字人直播任务最后更新时间。格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :type lastupdate_time: str :param rtc_room_info: :type rtc_room_info: :class:`huaweicloudsdkmetastudio.v1.RTCRoomInfoList` @@ -96,7 +96,7 @@ def __init__(self, job_id=None, room_id=None, room_name=None, state=None, durati :type live_event_callback_config: :class:`huaweicloudsdkmetastudio.v1.LiveEventCallBackConfig` :param rtc_callback_config: :type rtc_callback_config: :class:`huaweicloudsdkmetastudio.v1.RTCLiveEventCallBackConfig` - :param stream_duration: 数字人直播推流时长,单位秒 + :param stream_duration: **参数解释**: 数字人直播推流时长,单位秒。 :type stream_duration: float :param block_reason: 封禁信息 :type block_reason: str @@ -267,7 +267,7 @@ def state(self, state): def duration(self): """Gets the duration of this ShowSmartLiveResponse. - 数字人直播时长,单位秒。 + **参数解释**: 数字人直播时长,单位秒。 :return: The duration of this ShowSmartLiveResponse. :rtype: float @@ -278,7 +278,7 @@ def duration(self): def duration(self, duration): """Sets the duration of this ShowSmartLiveResponse. - 数字人直播时长,单位秒。 + **参数解释**: 数字人直播时长,单位秒。 :param duration: The duration of this ShowSmartLiveResponse. :type duration: float @@ -289,7 +289,7 @@ def duration(self, duration): def start_time(self): """Gets the start_time of this ShowSmartLiveResponse. - 数字人直播任务开始时间。格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 数字人直播任务开始时间。格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :return: The start_time of this ShowSmartLiveResponse. :rtype: str @@ -300,7 +300,7 @@ def start_time(self): def start_time(self, start_time): """Sets the start_time of this ShowSmartLiveResponse. - 数字人直播任务开始时间。格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 数字人直播任务开始时间。格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :param start_time: The start_time of this ShowSmartLiveResponse. :type start_time: str @@ -311,7 +311,7 @@ def start_time(self, start_time): def end_time(self): """Gets the end_time of this ShowSmartLiveResponse. - 数字人直播任务结束时间。格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 数字人直播任务结束时间。格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :return: The end_time of this ShowSmartLiveResponse. :rtype: str @@ -322,7 +322,7 @@ def end_time(self): def end_time(self, end_time): """Sets the end_time of this ShowSmartLiveResponse. - 数字人直播任务结束时间。格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 数字人直播任务结束时间。格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :param end_time: The end_time of this ShowSmartLiveResponse. :type end_time: str @@ -351,7 +351,7 @@ def error_info(self, error_info): def create_time(self): """Gets the create_time of this ShowSmartLiveResponse. - 数字人直播任务创建时间。格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 数字人直播任务创建时间。格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :return: The create_time of this ShowSmartLiveResponse. :rtype: str @@ -362,7 +362,7 @@ def create_time(self): def create_time(self, create_time): """Sets the create_time of this ShowSmartLiveResponse. - 数字人直播任务创建时间。格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 数字人直播任务创建时间。格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :param create_time: The create_time of this ShowSmartLiveResponse. :type create_time: str @@ -373,7 +373,7 @@ def create_time(self, create_time): def lastupdate_time(self): """Gets the lastupdate_time of this ShowSmartLiveResponse. - 数字人直播任务最后更新时间。格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 数字人直播任务最后更新时间。格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :return: The lastupdate_time of this ShowSmartLiveResponse. :rtype: str @@ -384,7 +384,7 @@ def lastupdate_time(self): def lastupdate_time(self, lastupdate_time): """Sets the lastupdate_time of this ShowSmartLiveResponse. - 数字人直播任务最后更新时间。格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 数字人直播任务最后更新时间。格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :param lastupdate_time: The lastupdate_time of this ShowSmartLiveResponse. :type lastupdate_time: str @@ -471,7 +471,7 @@ def rtc_callback_config(self, rtc_callback_config): def stream_duration(self): """Gets the stream_duration of this ShowSmartLiveResponse. - 数字人直播推流时长,单位秒 + **参数解释**: 数字人直播推流时长,单位秒。 :return: The stream_duration of this ShowSmartLiveResponse. :rtype: float @@ -482,7 +482,7 @@ def stream_duration(self): def stream_duration(self, stream_duration): """Sets the stream_duration of this ShowSmartLiveResponse. - 数字人直播推流时长,单位秒 + **参数解释**: 数字人直播推流时长,单位秒。 :param stream_duration: The stream_duration of this ShowSmartLiveResponse. :type stream_duration: float diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_smart_live_room_response.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_smart_live_room_response.py index 8777d440fb..4d98aaf3b1 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_smart_live_room_response.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_smart_live_room_response.py @@ -78,11 +78,11 @@ def __init__(self, room_name=None, room_description=None, room_type=None, scene_ The model defined in huaweicloud sdk - :param room_name: 直播间名称 + :param room_name: **参数解释**: 直播间名称。 **约束限制**: 不涉及。 **取值范围**: 字符长度1-256位。 **默认取值**: 不涉及。 :type room_name: str - :param room_description: 直播间描述。 + :param room_description: **参数解释**: 直播间描述。 **约束限制**: 不涉及。 **取值范围**: 字符长度0-1024位。 **默认取值**: 不涉及。 :type room_description: str - :param room_type: 直播间类型。 * NORMAL: 普通直播间,直播间一直存在,可以反复开播 * TEMP: 临时直播间,直播任务结束后自动清理直播间。 * TEMPLATE: 直播间模板。 + :param room_type: **参数解释**: 直播间类型。 **约束限制**: 不涉及。 **取值范围**: * NORMAL:普通直播间,直播间一直存在,可以反复开播 * TEMP:临时直播间,直播任务结束后自动清理直播间。 * TEMPLATE:直播间模板。 :type room_type: str :param scene_scripts: 默认直播剧本列表。 :type scene_scripts: list[:class:`huaweicloudsdkmetastudio.v1.LiveVideoScriptInfo`] @@ -92,11 +92,11 @@ def __init__(self, room_name=None, room_description=None, room_type=None, scene_ :type play_policy: :class:`huaweicloudsdkmetastudio.v1.PlayPolicy` :param video_config: :type video_config: :class:`huaweicloudsdkmetastudio.v1.VideoConfig` - :param output_urls: RTMP视频推流第三方直播平台地址。 + :param output_urls: **参数解释**: RTMP视频推流第三方直播平台地址。 > 直播过程中刷新地址,需要调用COMMAND命令REFRESH_OUTPUT_URL。 **约束限制**: 不涉及 **取值范围**: 当前仅支持一条RTMP出流地址。 **默认取值**: 不涉及。 :type output_urls: list[str] - :param stream_keys: RTMP视频推流第三方直播平台流秘钥,与推流地址对应。 + :param stream_keys: **参数解释**: RTMP视频推流第三方直播平台流密钥,与推流地址对应。 > 直播过程中刷新地址,需要调用COMMAND命令REFRESH_OUTPUT_URL。 **约束限制**: 不涉及 **取值范围**: 当前仅支持一条RTMP出流地址。 **默认取值**: 不涉及。 :type stream_keys: list[str] - :param backup_model_asset_ids: 主播轮换时备选主播数字人资产ID(仅形象资产,不包含音色),可以从资产库中查询。 + :param backup_model_asset_ids: **参数解释**: 主播轮换时备选主播数字人资产ID(仅形象资产,不包含声音)。 **约束限制**: 不涉及 **取值范围**: 当前最大支持5个备选主播。 数字人资产ID,字符长度0-64位。 **默认取值**: 不涉及 :type backup_model_asset_ids: list[str] :param live_event_callback_config: :type live_event_callback_config: :class:`huaweicloudsdkmetastudio.v1.LiveEventCallBackConfig` @@ -106,17 +106,17 @@ def __init__(self, room_name=None, room_description=None, room_type=None, scene_ :type review_config: :class:`huaweicloudsdkmetastudio.v1.ReviewConfig` :param shared_config: :type shared_config: :class:`huaweicloudsdkmetastudio.v1.SharedConfig` - :param view_mode: 横竖屏类型。默认值为:VERTICAL。 * LANDSCAPE:横屏。 * VERTICAL: 竖屏。 + :param view_mode: **参数解释**: 横竖屏类型。 **约束限制**: 用户无需填写,通过video_config中分辨率判断 **取值范围**: * LANDSCAPE:横屏。 * VERTICAL: 竖屏。 :type view_mode: str :param co_streamer_config: :type co_streamer_config: :class:`huaweicloudsdkmetastudio.v1.CoStreamerConfig` - :param priv_data: 私有数据,用户填写,原样带回。 + :param priv_data: **参数解释**: 匹配值私有数据,用户填写,原样带回。 **约束限制**: 不涉及 **取值范围**: 字符长度0-8192 **默认取值**: 不涉及。 :type priv_data: str :param room_id: 直播间ID :type room_id: str - :param create_time: 直播间创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + :param create_time: 直播间创建时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :type create_time: str - :param update_time: 直播间更新时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + :param update_time: 直播间更新时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :type update_time: str :param cover_url: 直播间封面图URL :type cover_url: str @@ -213,7 +213,7 @@ def __init__(self, room_name=None, room_description=None, room_type=None, scene_ def room_name(self): """Gets the room_name of this ShowSmartLiveRoomResponse. - 直播间名称 + **参数解释**: 直播间名称。 **约束限制**: 不涉及。 **取值范围**: 字符长度1-256位。 **默认取值**: 不涉及。 :return: The room_name of this ShowSmartLiveRoomResponse. :rtype: str @@ -224,7 +224,7 @@ def room_name(self): def room_name(self, room_name): """Sets the room_name of this ShowSmartLiveRoomResponse. - 直播间名称 + **参数解释**: 直播间名称。 **约束限制**: 不涉及。 **取值范围**: 字符长度1-256位。 **默认取值**: 不涉及。 :param room_name: The room_name of this ShowSmartLiveRoomResponse. :type room_name: str @@ -235,7 +235,7 @@ def room_name(self, room_name): def room_description(self): """Gets the room_description of this ShowSmartLiveRoomResponse. - 直播间描述。 + **参数解释**: 直播间描述。 **约束限制**: 不涉及。 **取值范围**: 字符长度0-1024位。 **默认取值**: 不涉及。 :return: The room_description of this ShowSmartLiveRoomResponse. :rtype: str @@ -246,7 +246,7 @@ def room_description(self): def room_description(self, room_description): """Sets the room_description of this ShowSmartLiveRoomResponse. - 直播间描述。 + **参数解释**: 直播间描述。 **约束限制**: 不涉及。 **取值范围**: 字符长度0-1024位。 **默认取值**: 不涉及。 :param room_description: The room_description of this ShowSmartLiveRoomResponse. :type room_description: str @@ -257,7 +257,7 @@ def room_description(self, room_description): def room_type(self): """Gets the room_type of this ShowSmartLiveRoomResponse. - 直播间类型。 * NORMAL: 普通直播间,直播间一直存在,可以反复开播 * TEMP: 临时直播间,直播任务结束后自动清理直播间。 * TEMPLATE: 直播间模板。 + **参数解释**: 直播间类型。 **约束限制**: 不涉及。 **取值范围**: * NORMAL:普通直播间,直播间一直存在,可以反复开播 * TEMP:临时直播间,直播任务结束后自动清理直播间。 * TEMPLATE:直播间模板。 :return: The room_type of this ShowSmartLiveRoomResponse. :rtype: str @@ -268,7 +268,7 @@ def room_type(self): def room_type(self, room_type): """Sets the room_type of this ShowSmartLiveRoomResponse. - 直播间类型。 * NORMAL: 普通直播间,直播间一直存在,可以反复开播 * TEMP: 临时直播间,直播任务结束后自动清理直播间。 * TEMPLATE: 直播间模板。 + **参数解释**: 直播间类型。 **约束限制**: 不涉及。 **取值范围**: * NORMAL:普通直播间,直播间一直存在,可以反复开播 * TEMP:临时直播间,直播任务结束后自动清理直播间。 * TEMPLATE:直播间模板。 :param room_type: The room_type of this ShowSmartLiveRoomResponse. :type room_type: str @@ -359,7 +359,7 @@ def video_config(self, video_config): def output_urls(self): """Gets the output_urls of this ShowSmartLiveRoomResponse. - RTMP视频推流第三方直播平台地址。 + **参数解释**: RTMP视频推流第三方直播平台地址。 > 直播过程中刷新地址,需要调用COMMAND命令REFRESH_OUTPUT_URL。 **约束限制**: 不涉及 **取值范围**: 当前仅支持一条RTMP出流地址。 **默认取值**: 不涉及。 :return: The output_urls of this ShowSmartLiveRoomResponse. :rtype: list[str] @@ -370,7 +370,7 @@ def output_urls(self): def output_urls(self, output_urls): """Sets the output_urls of this ShowSmartLiveRoomResponse. - RTMP视频推流第三方直播平台地址。 + **参数解释**: RTMP视频推流第三方直播平台地址。 > 直播过程中刷新地址,需要调用COMMAND命令REFRESH_OUTPUT_URL。 **约束限制**: 不涉及 **取值范围**: 当前仅支持一条RTMP出流地址。 **默认取值**: 不涉及。 :param output_urls: The output_urls of this ShowSmartLiveRoomResponse. :type output_urls: list[str] @@ -381,7 +381,7 @@ def output_urls(self, output_urls): def stream_keys(self): """Gets the stream_keys of this ShowSmartLiveRoomResponse. - RTMP视频推流第三方直播平台流秘钥,与推流地址对应。 + **参数解释**: RTMP视频推流第三方直播平台流密钥,与推流地址对应。 > 直播过程中刷新地址,需要调用COMMAND命令REFRESH_OUTPUT_URL。 **约束限制**: 不涉及 **取值范围**: 当前仅支持一条RTMP出流地址。 **默认取值**: 不涉及。 :return: The stream_keys of this ShowSmartLiveRoomResponse. :rtype: list[str] @@ -392,7 +392,7 @@ def stream_keys(self): def stream_keys(self, stream_keys): """Sets the stream_keys of this ShowSmartLiveRoomResponse. - RTMP视频推流第三方直播平台流秘钥,与推流地址对应。 + **参数解释**: RTMP视频推流第三方直播平台流密钥,与推流地址对应。 > 直播过程中刷新地址,需要调用COMMAND命令REFRESH_OUTPUT_URL。 **约束限制**: 不涉及 **取值范围**: 当前仅支持一条RTMP出流地址。 **默认取值**: 不涉及。 :param stream_keys: The stream_keys of this ShowSmartLiveRoomResponse. :type stream_keys: list[str] @@ -403,7 +403,7 @@ def stream_keys(self, stream_keys): def backup_model_asset_ids(self): """Gets the backup_model_asset_ids of this ShowSmartLiveRoomResponse. - 主播轮换时备选主播数字人资产ID(仅形象资产,不包含音色),可以从资产库中查询。 + **参数解释**: 主播轮换时备选主播数字人资产ID(仅形象资产,不包含声音)。 **约束限制**: 不涉及 **取值范围**: 当前最大支持5个备选主播。 数字人资产ID,字符长度0-64位。 **默认取值**: 不涉及 :return: The backup_model_asset_ids of this ShowSmartLiveRoomResponse. :rtype: list[str] @@ -414,7 +414,7 @@ def backup_model_asset_ids(self): def backup_model_asset_ids(self, backup_model_asset_ids): """Sets the backup_model_asset_ids of this ShowSmartLiveRoomResponse. - 主播轮换时备选主播数字人资产ID(仅形象资产,不包含音色),可以从资产库中查询。 + **参数解释**: 主播轮换时备选主播数字人资产ID(仅形象资产,不包含声音)。 **约束限制**: 不涉及 **取值范围**: 当前最大支持5个备选主播。 数字人资产ID,字符长度0-64位。 **默认取值**: 不涉及 :param backup_model_asset_ids: The backup_model_asset_ids of this ShowSmartLiveRoomResponse. :type backup_model_asset_ids: list[str] @@ -497,7 +497,7 @@ def shared_config(self, shared_config): def view_mode(self): """Gets the view_mode of this ShowSmartLiveRoomResponse. - 横竖屏类型。默认值为:VERTICAL。 * LANDSCAPE:横屏。 * VERTICAL: 竖屏。 + **参数解释**: 横竖屏类型。 **约束限制**: 用户无需填写,通过video_config中分辨率判断 **取值范围**: * LANDSCAPE:横屏。 * VERTICAL: 竖屏。 :return: The view_mode of this ShowSmartLiveRoomResponse. :rtype: str @@ -508,7 +508,7 @@ def view_mode(self): def view_mode(self, view_mode): """Sets the view_mode of this ShowSmartLiveRoomResponse. - 横竖屏类型。默认值为:VERTICAL。 * LANDSCAPE:横屏。 * VERTICAL: 竖屏。 + **参数解释**: 横竖屏类型。 **约束限制**: 用户无需填写,通过video_config中分辨率判断 **取值范围**: * LANDSCAPE:横屏。 * VERTICAL: 竖屏。 :param view_mode: The view_mode of this ShowSmartLiveRoomResponse. :type view_mode: str @@ -537,7 +537,7 @@ def co_streamer_config(self, co_streamer_config): def priv_data(self): """Gets the priv_data of this ShowSmartLiveRoomResponse. - 私有数据,用户填写,原样带回。 + **参数解释**: 匹配值私有数据,用户填写,原样带回。 **约束限制**: 不涉及 **取值范围**: 字符长度0-8192 **默认取值**: 不涉及。 :return: The priv_data of this ShowSmartLiveRoomResponse. :rtype: str @@ -548,7 +548,7 @@ def priv_data(self): def priv_data(self, priv_data): """Sets the priv_data of this ShowSmartLiveRoomResponse. - 私有数据,用户填写,原样带回。 + **参数解释**: 匹配值私有数据,用户填写,原样带回。 **约束限制**: 不涉及 **取值范围**: 字符长度0-8192 **默认取值**: 不涉及。 :param priv_data: The priv_data of this ShowSmartLiveRoomResponse. :type priv_data: str @@ -581,7 +581,7 @@ def room_id(self, room_id): def create_time(self): """Gets the create_time of this ShowSmartLiveRoomResponse. - 直播间创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 直播间创建时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :return: The create_time of this ShowSmartLiveRoomResponse. :rtype: str @@ -592,7 +592,7 @@ def create_time(self): def create_time(self, create_time): """Sets the create_time of this ShowSmartLiveRoomResponse. - 直播间创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 直播间创建时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :param create_time: The create_time of this ShowSmartLiveRoomResponse. :type create_time: str @@ -603,7 +603,7 @@ def create_time(self, create_time): def update_time(self): """Gets the update_time of this ShowSmartLiveRoomResponse. - 直播间更新时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 直播间更新时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :return: The update_time of this ShowSmartLiveRoomResponse. :rtype: str @@ -614,7 +614,7 @@ def update_time(self): def update_time(self, update_time): """Sets the update_time of this ShowSmartLiveRoomResponse. - 直播间更新时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 直播间更新时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :param update_time: The update_time of this ShowSmartLiveRoomResponse. :type update_time: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_video_script_response.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_video_script_response.py index 6b33172291..dfab723c9a 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_video_script_response.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/show_video_script_response.py @@ -64,23 +64,23 @@ def __init__(self, script_name=None, script_description=None, view_mode=None, mo The model defined in huaweicloud sdk - :param script_name: 剧本名称 + :param script_name: **参数解释**: 剧本名称。 **约束限制**: 不涉及。 **取值范围**: 只能使用中英文字符,字符长度1-256位。 **默认取值**: 不涉及。 :type script_name: str - :param script_description: 剧本描述。 + :param script_description: **参数解释**: 剧本描述。 **约束限制**: 不涉及。 **取值范围**: 字符长度0-1024位。 **默认取值**: 不涉及。 :type script_description: str - :param view_mode: 横竖屏类型。默认值是LANDSCAPE。 * LANDSCAPE:横屏。 * VERTICAL: 竖屏。 + :param view_mode: **参数解释**: 横竖屏类型。 **约束限制**: 不涉及。 **取值范围**: * LANDSCAPE:横屏。 * VERTICAL:竖屏。 :type view_mode: str - :param model_asset_id: 数字人模型资产ID,可以从资产库中查询。 + :param model_asset_id: **参数解释**: 数字人模型资产ID。 **约束限制**: 不涉及 **取值范围**: 字符长度0-64位。 **默认取值**: 不涉及 :type model_asset_id: str - :param model_asset_type: 数字人模型类型。 * HUMAN_MODEL_2D:分身数字人 * HUMAN_MODEL_3D:3D数字人 + :param model_asset_type: **参数解释**: 数字人模型类型。 **约束限制**: 不涉及 **取值范围**: * HUMAN_MODEL_2D:分身数字人 * HUMAN_MODEL_3D:3D数字人 **默认取值**: 不涉及 :type model_asset_type: str :param voice_config: :type voice_config: :class:`huaweicloudsdkmetastudio.v1.VoiceConfig` :param video_config: :type video_config: :class:`huaweicloudsdkmetastudio.v1.VideoConfig` - :param scene_asset_id: 场景资产ID。 > * 分身数字人视频制作不需要填写该参数。 > * 若填写,可以从资产库中查询。 + :param scene_asset_id: **参数解释**: 场景资产ID。 **约束限制**: 分身数字人视频制作不需要填写该参数。 **取值范围**: 字符长度0-64位 **默认取值**: 不涉及 :type scene_asset_id: str - :param priv_data: 私有数据,用户填写,原样带回。 + :param priv_data: **参数解释**: 私有数据,用户填写,原样带回。 **约束限制**: 不涉及 **取值范围**: 字符长度0-8192位 **默认取值**: 不涉及 :type priv_data: str :param background_music_config: :type background_music_config: :class:`huaweicloudsdkmetastudio.v1.BackgroundMusicConfig` @@ -165,7 +165,7 @@ def __init__(self, script_name=None, script_description=None, view_mode=None, mo def script_name(self): """Gets the script_name of this ShowVideoScriptResponse. - 剧本名称 + **参数解释**: 剧本名称。 **约束限制**: 不涉及。 **取值范围**: 只能使用中英文字符,字符长度1-256位。 **默认取值**: 不涉及。 :return: The script_name of this ShowVideoScriptResponse. :rtype: str @@ -176,7 +176,7 @@ def script_name(self): def script_name(self, script_name): """Sets the script_name of this ShowVideoScriptResponse. - 剧本名称 + **参数解释**: 剧本名称。 **约束限制**: 不涉及。 **取值范围**: 只能使用中英文字符,字符长度1-256位。 **默认取值**: 不涉及。 :param script_name: The script_name of this ShowVideoScriptResponse. :type script_name: str @@ -187,7 +187,7 @@ def script_name(self, script_name): def script_description(self): """Gets the script_description of this ShowVideoScriptResponse. - 剧本描述。 + **参数解释**: 剧本描述。 **约束限制**: 不涉及。 **取值范围**: 字符长度0-1024位。 **默认取值**: 不涉及。 :return: The script_description of this ShowVideoScriptResponse. :rtype: str @@ -198,7 +198,7 @@ def script_description(self): def script_description(self, script_description): """Sets the script_description of this ShowVideoScriptResponse. - 剧本描述。 + **参数解释**: 剧本描述。 **约束限制**: 不涉及。 **取值范围**: 字符长度0-1024位。 **默认取值**: 不涉及。 :param script_description: The script_description of this ShowVideoScriptResponse. :type script_description: str @@ -209,7 +209,7 @@ def script_description(self, script_description): def view_mode(self): """Gets the view_mode of this ShowVideoScriptResponse. - 横竖屏类型。默认值是LANDSCAPE。 * LANDSCAPE:横屏。 * VERTICAL: 竖屏。 + **参数解释**: 横竖屏类型。 **约束限制**: 不涉及。 **取值范围**: * LANDSCAPE:横屏。 * VERTICAL:竖屏。 :return: The view_mode of this ShowVideoScriptResponse. :rtype: str @@ -220,7 +220,7 @@ def view_mode(self): def view_mode(self, view_mode): """Sets the view_mode of this ShowVideoScriptResponse. - 横竖屏类型。默认值是LANDSCAPE。 * LANDSCAPE:横屏。 * VERTICAL: 竖屏。 + **参数解释**: 横竖屏类型。 **约束限制**: 不涉及。 **取值范围**: * LANDSCAPE:横屏。 * VERTICAL:竖屏。 :param view_mode: The view_mode of this ShowVideoScriptResponse. :type view_mode: str @@ -231,7 +231,7 @@ def view_mode(self, view_mode): def model_asset_id(self): """Gets the model_asset_id of this ShowVideoScriptResponse. - 数字人模型资产ID,可以从资产库中查询。 + **参数解释**: 数字人模型资产ID。 **约束限制**: 不涉及 **取值范围**: 字符长度0-64位。 **默认取值**: 不涉及 :return: The model_asset_id of this ShowVideoScriptResponse. :rtype: str @@ -242,7 +242,7 @@ def model_asset_id(self): def model_asset_id(self, model_asset_id): """Sets the model_asset_id of this ShowVideoScriptResponse. - 数字人模型资产ID,可以从资产库中查询。 + **参数解释**: 数字人模型资产ID。 **约束限制**: 不涉及 **取值范围**: 字符长度0-64位。 **默认取值**: 不涉及 :param model_asset_id: The model_asset_id of this ShowVideoScriptResponse. :type model_asset_id: str @@ -253,7 +253,7 @@ def model_asset_id(self, model_asset_id): def model_asset_type(self): """Gets the model_asset_type of this ShowVideoScriptResponse. - 数字人模型类型。 * HUMAN_MODEL_2D:分身数字人 * HUMAN_MODEL_3D:3D数字人 + **参数解释**: 数字人模型类型。 **约束限制**: 不涉及 **取值范围**: * HUMAN_MODEL_2D:分身数字人 * HUMAN_MODEL_3D:3D数字人 **默认取值**: 不涉及 :return: The model_asset_type of this ShowVideoScriptResponse. :rtype: str @@ -264,7 +264,7 @@ def model_asset_type(self): def model_asset_type(self, model_asset_type): """Sets the model_asset_type of this ShowVideoScriptResponse. - 数字人模型类型。 * HUMAN_MODEL_2D:分身数字人 * HUMAN_MODEL_3D:3D数字人 + **参数解释**: 数字人模型类型。 **约束限制**: 不涉及 **取值范围**: * HUMAN_MODEL_2D:分身数字人 * HUMAN_MODEL_3D:3D数字人 **默认取值**: 不涉及 :param model_asset_type: The model_asset_type of this ShowVideoScriptResponse. :type model_asset_type: str @@ -311,7 +311,7 @@ def video_config(self, video_config): def scene_asset_id(self): """Gets the scene_asset_id of this ShowVideoScriptResponse. - 场景资产ID。 > * 分身数字人视频制作不需要填写该参数。 > * 若填写,可以从资产库中查询。 + **参数解释**: 场景资产ID。 **约束限制**: 分身数字人视频制作不需要填写该参数。 **取值范围**: 字符长度0-64位 **默认取值**: 不涉及 :return: The scene_asset_id of this ShowVideoScriptResponse. :rtype: str @@ -322,7 +322,7 @@ def scene_asset_id(self): def scene_asset_id(self, scene_asset_id): """Sets the scene_asset_id of this ShowVideoScriptResponse. - 场景资产ID。 > * 分身数字人视频制作不需要填写该参数。 > * 若填写,可以从资产库中查询。 + **参数解释**: 场景资产ID。 **约束限制**: 分身数字人视频制作不需要填写该参数。 **取值范围**: 字符长度0-64位 **默认取值**: 不涉及 :param scene_asset_id: The scene_asset_id of this ShowVideoScriptResponse. :type scene_asset_id: str @@ -333,7 +333,7 @@ def scene_asset_id(self, scene_asset_id): def priv_data(self): """Gets the priv_data of this ShowVideoScriptResponse. - 私有数据,用户填写,原样带回。 + **参数解释**: 私有数据,用户填写,原样带回。 **约束限制**: 不涉及 **取值范围**: 字符长度0-8192位 **默认取值**: 不涉及 :return: The priv_data of this ShowVideoScriptResponse. :rtype: str @@ -344,7 +344,7 @@ def priv_data(self): def priv_data(self, priv_data): """Sets the priv_data of this ShowVideoScriptResponse. - 私有数据,用户填写,原样带回。 + **参数解释**: 私有数据,用户填写,原样带回。 **约束限制**: 不涉及 **取值范围**: 字符长度0-8192位 **默认取值**: 不涉及 :param priv_data: The priv_data of this ShowVideoScriptResponse. :type priv_data: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/smart_chat_room_base_info.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/smart_chat_room_base_info.py index dc1ae549e2..d2dd3d913a 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/smart_chat_room_base_info.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/smart_chat_room_base_info.py @@ -61,11 +61,11 @@ def __init__(self, room_id=None, room_name=None, room_description=None, robot_id :type model_infos: :class:`huaweicloudsdkmetastudio.v1.ModelInfo` :param voice_config: :type voice_config: :class:`huaweicloudsdkmetastudio.v1.VoiceConfig` - :param concurrency: 并发路数。 + :param concurrency: **参数解释**: 并发路数。 :type concurrency: int - :param create_time: 创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + :param create_time: 创建时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :type create_time: str - :param update_time: 更新时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + :param update_time: 更新时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :type update_time: str """ @@ -254,7 +254,7 @@ def voice_config(self, voice_config): def concurrency(self): """Gets the concurrency of this SmartChatRoomBaseInfo. - 并发路数。 + **参数解释**: 并发路数。 :return: The concurrency of this SmartChatRoomBaseInfo. :rtype: int @@ -265,7 +265,7 @@ def concurrency(self): def concurrency(self, concurrency): """Sets the concurrency of this SmartChatRoomBaseInfo. - 并发路数。 + **参数解释**: 并发路数。 :param concurrency: The concurrency of this SmartChatRoomBaseInfo. :type concurrency: int @@ -276,7 +276,7 @@ def concurrency(self, concurrency): def create_time(self): """Gets the create_time of this SmartChatRoomBaseInfo. - 创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 创建时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :return: The create_time of this SmartChatRoomBaseInfo. :rtype: str @@ -287,7 +287,7 @@ def create_time(self): def create_time(self, create_time): """Sets the create_time of this SmartChatRoomBaseInfo. - 创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 创建时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :param create_time: The create_time of this SmartChatRoomBaseInfo. :type create_time: str @@ -298,7 +298,7 @@ def create_time(self, create_time): def update_time(self): """Gets the update_time of this SmartChatRoomBaseInfo. - 更新时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 更新时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :return: The update_time of this SmartChatRoomBaseInfo. :rtype: str @@ -309,7 +309,7 @@ def update_time(self): def update_time(self, update_time): """Sets the update_time of this SmartChatRoomBaseInfo. - 更新时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 更新时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :param update_time: The update_time of this SmartChatRoomBaseInfo. :type update_time: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/smart_image_layer_config.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/smart_image_layer_config.py index e46ddbb4d5..d33c3773ac 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/smart_image_layer_config.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/smart_image_layer_config.py @@ -33,7 +33,7 @@ def __init__(self, image_url=None, display_duration=None): :param image_url: 图片文件的URL。 :type image_url: str - :param display_duration: 图片显示时长。单位s * 0 显示时长规则:若携带reply_texts,reply_audios,与播放语音内容时长保持一致; 未携带场景,与匹配的关键词语音内容时长保持一致。 + :param display_duration: **参数解释**: 图片显示时长,单位s。 显示时长规则为,若携带reply_texts、reply_audios,则与播放语音内容时长保持一致。若未携带,则与匹配的关键词语音内容时长保持一致。 :type display_duration: int """ @@ -73,7 +73,7 @@ def image_url(self, image_url): def display_duration(self): """Gets the display_duration of this SmartImageLayerConfig. - 图片显示时长。单位s * 0 显示时长规则:若携带reply_texts,reply_audios,与播放语音内容时长保持一致; 未携带场景,与匹配的关键词语音内容时长保持一致。 + **参数解释**: 图片显示时长,单位s。 显示时长规则为,若携带reply_texts、reply_audios,则与播放语音内容时长保持一致。若未携带,则与匹配的关键词语音内容时长保持一致。 :return: The display_duration of this SmartImageLayerConfig. :rtype: int @@ -84,7 +84,7 @@ def display_duration(self): def display_duration(self, display_duration): """Sets the display_duration of this SmartImageLayerConfig. - 图片显示时长。单位s * 0 显示时长规则:若携带reply_texts,reply_audios,与播放语音内容时长保持一致; 未携带场景,与匹配的关键词语音内容时长保持一致。 + **参数解释**: 图片显示时长,单位s。 显示时长规则为,若携带reply_texts、reply_audios,则与播放语音内容时长保持一致。若未携带,则与匹配的关键词语音内容时长保持一致。 :param display_duration: The display_duration of this SmartImageLayerConfig. :type display_duration: int diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/smart_live_job.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/smart_live_job.py index 0d57555540..9d608e5f42 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/smart_live_job.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/smart_live_job.py @@ -73,17 +73,17 @@ def __init__(self, job_id=None, room_id=None, room_name=None, state=None, durati :type room_name: str :param state: 数字人直播任务的状态。 * WAITING: 等待 * PROCESSING: 处理中 * SUCCEED: 成功 * FAILED: 失败 * BLOCKED: 封禁 :type state: str - :param duration: 数字人直播时长,单位秒。 + :param duration: **参数解释**: 数字人直播时长,单位秒。 :type duration: float - :param start_time: 数字人直播任务开始时间。格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + :param start_time: 数字人直播任务开始时间。格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :type start_time: str - :param end_time: 数字人直播任务结束时间。格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + :param end_time: 数字人直播任务结束时间。格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :type end_time: str :param error_info: :type error_info: :class:`huaweicloudsdkmetastudio.v1.ErrorResponse` - :param create_time: 数字人直播任务创建时间。格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + :param create_time: 数字人直播任务创建时间。格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :type create_time: str - :param lastupdate_time: 数字人直播任务最后更新时间。格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + :param lastupdate_time: 数字人直播任务最后更新时间。格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :type lastupdate_time: str :param rtc_room_info: :type rtc_room_info: :class:`huaweicloudsdkmetastudio.v1.RTCRoomInfoList` @@ -93,7 +93,7 @@ def __init__(self, job_id=None, room_id=None, room_name=None, state=None, durati :type live_event_callback_config: :class:`huaweicloudsdkmetastudio.v1.LiveEventCallBackConfig` :param rtc_callback_config: :type rtc_callback_config: :class:`huaweicloudsdkmetastudio.v1.RTCLiveEventCallBackConfig` - :param stream_duration: 数字人直播推流时长,单位秒 + :param stream_duration: **参数解释**: 数字人直播推流时长,单位秒。 :type stream_duration: float :param block_reason: 封禁信息 :type block_reason: str @@ -259,7 +259,7 @@ def state(self, state): def duration(self): """Gets the duration of this SmartLiveJob. - 数字人直播时长,单位秒。 + **参数解释**: 数字人直播时长,单位秒。 :return: The duration of this SmartLiveJob. :rtype: float @@ -270,7 +270,7 @@ def duration(self): def duration(self, duration): """Sets the duration of this SmartLiveJob. - 数字人直播时长,单位秒。 + **参数解释**: 数字人直播时长,单位秒。 :param duration: The duration of this SmartLiveJob. :type duration: float @@ -281,7 +281,7 @@ def duration(self, duration): def start_time(self): """Gets the start_time of this SmartLiveJob. - 数字人直播任务开始时间。格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 数字人直播任务开始时间。格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :return: The start_time of this SmartLiveJob. :rtype: str @@ -292,7 +292,7 @@ def start_time(self): def start_time(self, start_time): """Sets the start_time of this SmartLiveJob. - 数字人直播任务开始时间。格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 数字人直播任务开始时间。格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :param start_time: The start_time of this SmartLiveJob. :type start_time: str @@ -303,7 +303,7 @@ def start_time(self, start_time): def end_time(self): """Gets the end_time of this SmartLiveJob. - 数字人直播任务结束时间。格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 数字人直播任务结束时间。格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :return: The end_time of this SmartLiveJob. :rtype: str @@ -314,7 +314,7 @@ def end_time(self): def end_time(self, end_time): """Sets the end_time of this SmartLiveJob. - 数字人直播任务结束时间。格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 数字人直播任务结束时间。格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :param end_time: The end_time of this SmartLiveJob. :type end_time: str @@ -343,7 +343,7 @@ def error_info(self, error_info): def create_time(self): """Gets the create_time of this SmartLiveJob. - 数字人直播任务创建时间。格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 数字人直播任务创建时间。格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :return: The create_time of this SmartLiveJob. :rtype: str @@ -354,7 +354,7 @@ def create_time(self): def create_time(self, create_time): """Sets the create_time of this SmartLiveJob. - 数字人直播任务创建时间。格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 数字人直播任务创建时间。格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :param create_time: The create_time of this SmartLiveJob. :type create_time: str @@ -365,7 +365,7 @@ def create_time(self, create_time): def lastupdate_time(self): """Gets the lastupdate_time of this SmartLiveJob. - 数字人直播任务最后更新时间。格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 数字人直播任务最后更新时间。格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :return: The lastupdate_time of this SmartLiveJob. :rtype: str @@ -376,7 +376,7 @@ def lastupdate_time(self): def lastupdate_time(self, lastupdate_time): """Sets the lastupdate_time of this SmartLiveJob. - 数字人直播任务最后更新时间。格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 数字人直播任务最后更新时间。格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :param lastupdate_time: The lastupdate_time of this SmartLiveJob. :type lastupdate_time: str @@ -463,7 +463,7 @@ def rtc_callback_config(self, rtc_callback_config): def stream_duration(self): """Gets the stream_duration of this SmartLiveJob. - 数字人直播推流时长,单位秒 + **参数解释**: 数字人直播推流时长,单位秒。 :return: The stream_duration of this SmartLiveJob. :rtype: float @@ -474,7 +474,7 @@ def stream_duration(self): def stream_duration(self, stream_duration): """Sets the stream_duration of this SmartLiveJob. - 数字人直播推流时长,单位秒 + **参数解释**: 数字人直播推流时长,单位秒。 :param stream_duration: The stream_duration of this SmartLiveJob. :type stream_duration: float diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/smart_live_room_base_info.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/smart_live_room_base_info.py index 0a567e3c00..6e983a7f29 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/smart_live_room_base_info.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/smart_live_room_base_info.py @@ -69,7 +69,7 @@ def __init__(self, room_id=None, project_id=None, room_name=None, room_type=None :type project_id: str :param room_name: 直播间名称 :type room_name: str - :param room_type: 直播间类型。 * NORMAL: 普通直播间,直播间一直存在,可以反复开播 * TEMP: 临时直播间,直播任务结束后自动清理直播间。 * TEMPLATE: 直播间模板。 + :param room_type: 直播间类型。 * NORMAL:普通直播间,直播间一直存在,可以反复开播 * TEMP:临时直播间,直播任务结束后自动清理直播间。 * TEMPLATE:直播间模板。 :type room_type: str :param room_state: 直播间配置状态。 - ENABLE: 直播间正常可用。 - DISABLE: 直播间不可用。不可用原因在error_info中说明。 - BLOCKED:直播间被冻结。冻结原因在error_info中说明。 :type room_state: str @@ -87,13 +87,13 @@ def __init__(self, room_id=None, project_id=None, room_name=None, room_type=None :type thumbnail: str :param model_infos: 数字人模型信息 :type model_infos: list[:class:`huaweicloudsdkmetastudio.v1.ModelInfo`] - :param create_time: 创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + :param create_time: 创建时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :type create_time: str - :param update_time: 更新时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + :param update_time: 更新时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :type update_time: str - :param last_job_start_time: 开始直播时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + :param last_job_start_time: 开始直播时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :type last_job_start_time: str - :param last_job_end_time: 结束直播时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + :param last_job_end_time: 结束直播时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :type last_job_end_time: str :param last_job_status: 当前直播状态 - WAITING:任务等待执行 - PROCESSING:任务执行中 - SUCCEED:任务处理成功 - FAILED:任务处理时变 - CANCELED:任务取消 - BLOCKED:任务被冻结 :type last_job_status: str @@ -230,7 +230,7 @@ def room_name(self, room_name): def room_type(self): """Gets the room_type of this SmartLiveRoomBaseInfo. - 直播间类型。 * NORMAL: 普通直播间,直播间一直存在,可以反复开播 * TEMP: 临时直播间,直播任务结束后自动清理直播间。 * TEMPLATE: 直播间模板。 + 直播间类型。 * NORMAL:普通直播间,直播间一直存在,可以反复开播 * TEMP:临时直播间,直播任务结束后自动清理直播间。 * TEMPLATE:直播间模板。 :return: The room_type of this SmartLiveRoomBaseInfo. :rtype: str @@ -241,7 +241,7 @@ def room_type(self): def room_type(self, room_type): """Sets the room_type of this SmartLiveRoomBaseInfo. - 直播间类型。 * NORMAL: 普通直播间,直播间一直存在,可以反复开播 * TEMP: 临时直播间,直播任务结束后自动清理直播间。 * TEMPLATE: 直播间模板。 + 直播间类型。 * NORMAL:普通直播间,直播间一直存在,可以反复开播 * TEMP:临时直播间,直播任务结束后自动清理直播间。 * TEMPLATE:直播间模板。 :param room_type: The room_type of this SmartLiveRoomBaseInfo. :type room_type: str @@ -420,7 +420,7 @@ def model_infos(self, model_infos): def create_time(self): """Gets the create_time of this SmartLiveRoomBaseInfo. - 创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 创建时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :return: The create_time of this SmartLiveRoomBaseInfo. :rtype: str @@ -431,7 +431,7 @@ def create_time(self): def create_time(self, create_time): """Sets the create_time of this SmartLiveRoomBaseInfo. - 创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 创建时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :param create_time: The create_time of this SmartLiveRoomBaseInfo. :type create_time: str @@ -442,7 +442,7 @@ def create_time(self, create_time): def update_time(self): """Gets the update_time of this SmartLiveRoomBaseInfo. - 更新时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 更新时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :return: The update_time of this SmartLiveRoomBaseInfo. :rtype: str @@ -453,7 +453,7 @@ def update_time(self): def update_time(self, update_time): """Sets the update_time of this SmartLiveRoomBaseInfo. - 更新时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 更新时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :param update_time: The update_time of this SmartLiveRoomBaseInfo. :type update_time: str @@ -464,7 +464,7 @@ def update_time(self, update_time): def last_job_start_time(self): """Gets the last_job_start_time of this SmartLiveRoomBaseInfo. - 开始直播时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 开始直播时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :return: The last_job_start_time of this SmartLiveRoomBaseInfo. :rtype: str @@ -475,7 +475,7 @@ def last_job_start_time(self): def last_job_start_time(self, last_job_start_time): """Sets the last_job_start_time of this SmartLiveRoomBaseInfo. - 开始直播时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 开始直播时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :param last_job_start_time: The last_job_start_time of this SmartLiveRoomBaseInfo. :type last_job_start_time: str @@ -486,7 +486,7 @@ def last_job_start_time(self, last_job_start_time): def last_job_end_time(self): """Gets the last_job_end_time of this SmartLiveRoomBaseInfo. - 结束直播时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 结束直播时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :return: The last_job_end_time of this SmartLiveRoomBaseInfo. :rtype: str @@ -497,7 +497,7 @@ def last_job_end_time(self): def last_job_end_time(self, last_job_end_time): """Sets the last_job_end_time of this SmartLiveRoomBaseInfo. - 结束直播时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 结束直播时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :param last_job_end_time: The last_job_end_time of this SmartLiveRoomBaseInfo. :type last_job_end_time: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/smart_text_layer_config.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/smart_text_layer_config.py index 4cf581a4e8..4ad8658fb4 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/smart_text_layer_config.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/smart_text_layer_config.py @@ -39,17 +39,17 @@ def __init__(self, text_type=None, text_context=None, font_name=None, font_size= The model defined in huaweicloud sdk - :param text_type: 文本类型。 * DYNAMIC: 动态文本,需要进行关键字替换。 * STATIC: 静态文本。 + :param text_type: **参数解释**: 文本类型。 * DYNAMIC:动态文本,需要进行关键字替换。 * STATIC:静态文本。 :type text_type: str :param text_context: 文本。 :type text_context: str - :param font_name: 字体。当前支持的字体: * HarmonyOS_Sans_SC_Black:鸿蒙粗体 * HarmonyOS_Sans_SC_Regular:鸿蒙常规 * HarmonyOS_Sans_SC_Thin:鸿蒙细体 * fzyouh:方正瘦体 + :param font_name: **参数解释**: 字体。当前支持的字体: * HarmonyOS_Sans_SC_Black:鸿蒙粗体 * HarmonyOS_Sans_SC_Regular:鸿蒙常规 * HarmonyOS_Sans_SC_Thin:鸿蒙细体 * fzyouh:方正瘦体 :type font_name: str - :param font_size: 字体大小(像素)。 取值范围:[4, 120] + :param font_size: **参数解释**: 字体大小(像素)。 业务取值范围:[4, 120],请以业务取值范围为准。 :type font_size: int - :param font_color: 字体颜色。RGB颜色值。 + :param font_color: **参数解释**: 字体颜色。RGB颜色值。 :type font_color: str - :param display_duration: 文本显示时长。单位s * 0 显示时长规则:若携带reply_texts,reply_audios,与播放语音内容时长保持一致; 未携带场景,与匹配的关键词语音内容时长保持一致 + :param display_duration: **参数解释**: 文本显示时长,单位s。 显示时长规则为,若携带reply_texts、reply_audios,则与播放语音内容时长保持一致;若未携带,则与匹配的关键词语音内容时长保持一致。 :type display_duration: int """ @@ -80,7 +80,7 @@ def __init__(self, text_type=None, text_context=None, font_name=None, font_size= def text_type(self): """Gets the text_type of this SmartTextLayerConfig. - 文本类型。 * DYNAMIC: 动态文本,需要进行关键字替换。 * STATIC: 静态文本。 + **参数解释**: 文本类型。 * DYNAMIC:动态文本,需要进行关键字替换。 * STATIC:静态文本。 :return: The text_type of this SmartTextLayerConfig. :rtype: str @@ -91,7 +91,7 @@ def text_type(self): def text_type(self, text_type): """Sets the text_type of this SmartTextLayerConfig. - 文本类型。 * DYNAMIC: 动态文本,需要进行关键字替换。 * STATIC: 静态文本。 + **参数解释**: 文本类型。 * DYNAMIC:动态文本,需要进行关键字替换。 * STATIC:静态文本。 :param text_type: The text_type of this SmartTextLayerConfig. :type text_type: str @@ -124,7 +124,7 @@ def text_context(self, text_context): def font_name(self): """Gets the font_name of this SmartTextLayerConfig. - 字体。当前支持的字体: * HarmonyOS_Sans_SC_Black:鸿蒙粗体 * HarmonyOS_Sans_SC_Regular:鸿蒙常规 * HarmonyOS_Sans_SC_Thin:鸿蒙细体 * fzyouh:方正瘦体 + **参数解释**: 字体。当前支持的字体: * HarmonyOS_Sans_SC_Black:鸿蒙粗体 * HarmonyOS_Sans_SC_Regular:鸿蒙常规 * HarmonyOS_Sans_SC_Thin:鸿蒙细体 * fzyouh:方正瘦体 :return: The font_name of this SmartTextLayerConfig. :rtype: str @@ -135,7 +135,7 @@ def font_name(self): def font_name(self, font_name): """Sets the font_name of this SmartTextLayerConfig. - 字体。当前支持的字体: * HarmonyOS_Sans_SC_Black:鸿蒙粗体 * HarmonyOS_Sans_SC_Regular:鸿蒙常规 * HarmonyOS_Sans_SC_Thin:鸿蒙细体 * fzyouh:方正瘦体 + **参数解释**: 字体。当前支持的字体: * HarmonyOS_Sans_SC_Black:鸿蒙粗体 * HarmonyOS_Sans_SC_Regular:鸿蒙常规 * HarmonyOS_Sans_SC_Thin:鸿蒙细体 * fzyouh:方正瘦体 :param font_name: The font_name of this SmartTextLayerConfig. :type font_name: str @@ -146,7 +146,7 @@ def font_name(self, font_name): def font_size(self): """Gets the font_size of this SmartTextLayerConfig. - 字体大小(像素)。 取值范围:[4, 120] + **参数解释**: 字体大小(像素)。 业务取值范围:[4, 120],请以业务取值范围为准。 :return: The font_size of this SmartTextLayerConfig. :rtype: int @@ -157,7 +157,7 @@ def font_size(self): def font_size(self, font_size): """Sets the font_size of this SmartTextLayerConfig. - 字体大小(像素)。 取值范围:[4, 120] + **参数解释**: 字体大小(像素)。 业务取值范围:[4, 120],请以业务取值范围为准。 :param font_size: The font_size of this SmartTextLayerConfig. :type font_size: int @@ -168,7 +168,7 @@ def font_size(self, font_size): def font_color(self): """Gets the font_color of this SmartTextLayerConfig. - 字体颜色。RGB颜色值。 + **参数解释**: 字体颜色。RGB颜色值。 :return: The font_color of this SmartTextLayerConfig. :rtype: str @@ -179,7 +179,7 @@ def font_color(self): def font_color(self, font_color): """Sets the font_color of this SmartTextLayerConfig. - 字体颜色。RGB颜色值。 + **参数解释**: 字体颜色。RGB颜色值。 :param font_color: The font_color of this SmartTextLayerConfig. :type font_color: str @@ -190,7 +190,7 @@ def font_color(self, font_color): def display_duration(self): """Gets the display_duration of this SmartTextLayerConfig. - 文本显示时长。单位s * 0 显示时长规则:若携带reply_texts,reply_audios,与播放语音内容时长保持一致; 未携带场景,与匹配的关键词语音内容时长保持一致 + **参数解释**: 文本显示时长,单位s。 显示时长规则为,若携带reply_texts、reply_audios,则与播放语音内容时长保持一致;若未携带,则与匹配的关键词语音内容时长保持一致。 :return: The display_duration of this SmartTextLayerConfig. :rtype: int @@ -201,7 +201,7 @@ def display_duration(self): def display_duration(self, display_duration): """Sets the display_duration of this SmartTextLayerConfig. - 文本显示时长。单位s * 0 显示时长规则:若携带reply_texts,reply_audios,与播放语音内容时长保持一致; 未携带场景,与匹配的关键词语音内容时长保持一致 + **参数解释**: 文本显示时长,单位s。 显示时长规则为,若携带reply_texts、reply_audios,则与播放语音内容时长保持一致;若未携带,则与匹配的关键词语音内容时长保持一致。 :param display_duration: The display_duration of this SmartTextLayerConfig. :type display_duration: int diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/smart_video_layer_config.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/smart_video_layer_config.py index 985252af9c..1d3c62fee0 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/smart_video_layer_config.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/smart_video_layer_config.py @@ -37,7 +37,7 @@ def __init__(self, video_url=None, video_cover_url=None, display_duration=None): :type video_url: str :param video_cover_url: 视频封面文件的URL。 :type video_cover_url: str - :param display_duration: 视频显示时长。单位s * 0 显示时长规则:若携带reply_texts,reply_audios,与播放语音内容时长保持一致; 未携带场景,与匹配的关键词语音内容时长保持一致 + :param display_duration: **参数解释**: 图片显示时长,单位s。 显示时长规则为,若携带reply_texts、reply_audios,则与播放语音内容时长保持一致。若未携带,则与匹配的关键词语音内容时长保持一致。 :type display_duration: int """ @@ -102,7 +102,7 @@ def video_cover_url(self, video_cover_url): def display_duration(self): """Gets the display_duration of this SmartVideoLayerConfig. - 视频显示时长。单位s * 0 显示时长规则:若携带reply_texts,reply_audios,与播放语音内容时长保持一致; 未携带场景,与匹配的关键词语音内容时长保持一致 + **参数解释**: 图片显示时长,单位s。 显示时长规则为,若携带reply_texts、reply_audios,则与播放语音内容时长保持一致。若未携带,则与匹配的关键词语音内容时长保持一致。 :return: The display_duration of this SmartVideoLayerConfig. :rtype: int @@ -113,7 +113,7 @@ def display_duration(self): def display_duration(self, display_duration): """Sets the display_duration of this SmartVideoLayerConfig. - 视频显示时长。单位s * 0 显示时长规则:若携带reply_texts,reply_audios,与播放语音内容时长保持一致; 未携带场景,与匹配的关键词语音内容时长保持一致 + **参数解释**: 图片显示时长,单位s。 显示时长规则为,若携带reply_texts、reply_audios,则与播放语音内容时长保持一致。若未携带,则与匹配的关键词语音内容时长保持一致。 :param display_duration: The display_duration of this SmartVideoLayerConfig. :type display_duration: int diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/start_smart_live_req.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/start_smart_live_req.py index 2b300cbfcb..afc67d91b4 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/start_smart_live_req.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/start_smart_live_req.py @@ -49,17 +49,17 @@ def __init__(self, video_config=None, play_policy=None, output_urls=None, stream :type video_config: :class:`huaweicloudsdkmetastudio.v1.VideoConfig` :param play_policy: :type play_policy: :class:`huaweicloudsdkmetastudio.v1.PlayPolicy` - :param output_urls: RTMP视频推流第三方直播平台地址。 + :param output_urls: **参数解释**: RTMP视频推流第三方直播平台地址。 > 直播过程中刷新地址,需要调用COMMAND命令REFRESH_OUTPUT_URL。 **约束限制**: 不涉及 **取值范围**: 当前仅支持一条RTMP出流地址。 **默认取值**: 不涉及。 :type output_urls: list[str] - :param stream_keys: RTMP视频推流第三方直播平台流秘钥,与推流地址对应。 + :param stream_keys: **参数解释**: RTMP视频推流第三方直播平台流密钥,与推流地址对应。 > 直播过程中刷新地址,需要调用COMMAND命令REFRESH_OUTPUT_URL。 **约束限制**: 不涉及 **取值范围**: 当前仅支持一条RTMP出流地址。 **默认取值**: 不涉及。 :type stream_keys: list[str] - :param interaction_callback_url: 互动回调URL,含鉴权信息。 + :param interaction_callback_url: **参数解释**: 互动回调URL,含鉴权信息。 互动规则trigger.reply_mode配置为CALLBACK时填写 **约束限制**: 不涉及 **取值范围**: 字符长度0-2048位 **默认取值**: 不涉及。 :type interaction_callback_url: str :param live_event_callback_config: :type live_event_callback_config: :class:`huaweicloudsdkmetastudio.v1.LiveEventCallBackConfig` :param rtc_callback_config: :type rtc_callback_config: :class:`huaweicloudsdkmetastudio.v1.RTCLiveEventCallBackConfig` - :param view_mode: 横竖屏类型。默认值为:VERTICAL。 * LANDSCAPE:横屏。 * VERTICAL: 竖屏。 + :param view_mode: **参数解释**: 横竖屏类型。 **约束限制**: 用户无需填写,通过video_config中分辨率判断 **取值范围**: * LANDSCAPE:横屏。 * VERTICAL: 竖屏。 :type view_mode: str :param co_streamer_config: :type co_streamer_config: :class:`huaweicloudsdkmetastudio.v1.CoStreamerConfig` @@ -137,7 +137,7 @@ def play_policy(self, play_policy): def output_urls(self): """Gets the output_urls of this StartSmartLiveReq. - RTMP视频推流第三方直播平台地址。 + **参数解释**: RTMP视频推流第三方直播平台地址。 > 直播过程中刷新地址,需要调用COMMAND命令REFRESH_OUTPUT_URL。 **约束限制**: 不涉及 **取值范围**: 当前仅支持一条RTMP出流地址。 **默认取值**: 不涉及。 :return: The output_urls of this StartSmartLiveReq. :rtype: list[str] @@ -148,7 +148,7 @@ def output_urls(self): def output_urls(self, output_urls): """Sets the output_urls of this StartSmartLiveReq. - RTMP视频推流第三方直播平台地址。 + **参数解释**: RTMP视频推流第三方直播平台地址。 > 直播过程中刷新地址,需要调用COMMAND命令REFRESH_OUTPUT_URL。 **约束限制**: 不涉及 **取值范围**: 当前仅支持一条RTMP出流地址。 **默认取值**: 不涉及。 :param output_urls: The output_urls of this StartSmartLiveReq. :type output_urls: list[str] @@ -159,7 +159,7 @@ def output_urls(self, output_urls): def stream_keys(self): """Gets the stream_keys of this StartSmartLiveReq. - RTMP视频推流第三方直播平台流秘钥,与推流地址对应。 + **参数解释**: RTMP视频推流第三方直播平台流密钥,与推流地址对应。 > 直播过程中刷新地址,需要调用COMMAND命令REFRESH_OUTPUT_URL。 **约束限制**: 不涉及 **取值范围**: 当前仅支持一条RTMP出流地址。 **默认取值**: 不涉及。 :return: The stream_keys of this StartSmartLiveReq. :rtype: list[str] @@ -170,7 +170,7 @@ def stream_keys(self): def stream_keys(self, stream_keys): """Sets the stream_keys of this StartSmartLiveReq. - RTMP视频推流第三方直播平台流秘钥,与推流地址对应。 + **参数解释**: RTMP视频推流第三方直播平台流密钥,与推流地址对应。 > 直播过程中刷新地址,需要调用COMMAND命令REFRESH_OUTPUT_URL。 **约束限制**: 不涉及 **取值范围**: 当前仅支持一条RTMP出流地址。 **默认取值**: 不涉及。 :param stream_keys: The stream_keys of this StartSmartLiveReq. :type stream_keys: list[str] @@ -181,7 +181,7 @@ def stream_keys(self, stream_keys): def interaction_callback_url(self): """Gets the interaction_callback_url of this StartSmartLiveReq. - 互动回调URL,含鉴权信息。 + **参数解释**: 互动回调URL,含鉴权信息。 互动规则trigger.reply_mode配置为CALLBACK时填写 **约束限制**: 不涉及 **取值范围**: 字符长度0-2048位 **默认取值**: 不涉及。 :return: The interaction_callback_url of this StartSmartLiveReq. :rtype: str @@ -192,7 +192,7 @@ def interaction_callback_url(self): def interaction_callback_url(self, interaction_callback_url): """Sets the interaction_callback_url of this StartSmartLiveReq. - 互动回调URL,含鉴权信息。 + **参数解释**: 互动回调URL,含鉴权信息。 互动规则trigger.reply_mode配置为CALLBACK时填写 **约束限制**: 不涉及 **取值范围**: 字符长度0-2048位 **默认取值**: 不涉及。 :param interaction_callback_url: The interaction_callback_url of this StartSmartLiveReq. :type interaction_callback_url: str @@ -239,7 +239,7 @@ def rtc_callback_config(self, rtc_callback_config): def view_mode(self): """Gets the view_mode of this StartSmartLiveReq. - 横竖屏类型。默认值为:VERTICAL。 * LANDSCAPE:横屏。 * VERTICAL: 竖屏。 + **参数解释**: 横竖屏类型。 **约束限制**: 用户无需填写,通过video_config中分辨率判断 **取值范围**: * LANDSCAPE:横屏。 * VERTICAL: 竖屏。 :return: The view_mode of this StartSmartLiveReq. :rtype: str @@ -250,7 +250,7 @@ def view_mode(self): def view_mode(self, view_mode): """Sets the view_mode of this StartSmartLiveReq. - 横竖屏类型。默认值为:VERTICAL。 * LANDSCAPE:横屏。 * VERTICAL: 竖屏。 + **参数解释**: 横竖屏类型。 **约束限制**: 用户无需填写,通过video_config中分辨率判断 **取值范围**: * LANDSCAPE:横屏。 * VERTICAL: 竖屏。 :param view_mode: The view_mode of this StartSmartLiveReq. :type view_mode: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/subtitle_config.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/subtitle_config.py index f5c4dd332f..c7508b136a 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/subtitle_config.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/subtitle_config.py @@ -39,17 +39,17 @@ def __init__(self, dx=None, dy=None, font_name=None, font_size=None, h=None, w=N The model defined in huaweicloud sdk - :param dx: 字幕框左下角像素点坐标。 > *横屏(16:9)视频像素为1920x1080;竖屏(9:16)视频像素为1080x1920。 + :param dx: **参数解释**: 字幕框左下角像素点坐标。 **约束限制**: 不涉及。 **默认取值**: 不涉及。 :type dx: int - :param dy: 字幕框左下角像素点坐标。 > *横屏(16:9)视频像素为1920x1080;竖屏(9:16)视频像素为1080x1920。 + :param dy: **参数解释**: 字幕框左下角像素点坐标。 **约束限制**: 不涉及。 **默认取值**: 不涉及。 :type dy: int - :param font_name: 字体。当前支持的字体: * HarmonyOS_Sans_SC_Black:鸿蒙粗体 * HarmonyOS_Sans_SC_Regular:鸿蒙常规 * HarmonyOS_Sans_SC_Thin:鸿蒙细体 + :param font_name: **参数解释**: 字体。当前支持的字体: * HarmonyOS_Sans_SC_Black:鸿蒙粗体 * HarmonyOS_Sans_SC_Regular:鸿蒙常规 * HarmonyOS_Sans_SC_Thin:鸿蒙细体。 **约束限制**: 不涉及。 **取值范围**: 字符长度0-64位 :type font_name: str - :param font_size: 字体大小。 取值范围:[4, 120] + :param font_size: **参数解释**: 字体大小。接口的取值范围为0-120,实际业务使用的取值范围要求为4-120,请以业务实际使用要求为准。 **约束限制**: 不涉及。 :type font_size: int - :param h: 字幕框高度 > * 参数h用于方便前端计算字幕框左上角坐标,后台不使用该参数 + :param h: **参数解释**: 字幕框高度。 **约束限制**: 参数h用于方便前端计算字幕框左上角坐标,后台不使用该参数。 :type h: int - :param w: 字幕框宽度 > * 字幕框宽度固定为屏幕宽度的80% > * 参数w用于方便前端计算字幕框左上角坐标,后台不使用该参数 + :param w: **参数解释**: 字幕框宽度。 **约束限制**: * 字幕框宽度固定为屏幕宽度的80% * 参数w用于方便前端计算字幕框左上角坐标,后台不使用该参数 :type w: int """ @@ -80,7 +80,7 @@ def __init__(self, dx=None, dy=None, font_name=None, font_size=None, h=None, w=N def dx(self): """Gets the dx of this SubtitleConfig. - 字幕框左下角像素点坐标。 > *横屏(16:9)视频像素为1920x1080;竖屏(9:16)视频像素为1080x1920。 + **参数解释**: 字幕框左下角像素点坐标。 **约束限制**: 不涉及。 **默认取值**: 不涉及。 :return: The dx of this SubtitleConfig. :rtype: int @@ -91,7 +91,7 @@ def dx(self): def dx(self, dx): """Sets the dx of this SubtitleConfig. - 字幕框左下角像素点坐标。 > *横屏(16:9)视频像素为1920x1080;竖屏(9:16)视频像素为1080x1920。 + **参数解释**: 字幕框左下角像素点坐标。 **约束限制**: 不涉及。 **默认取值**: 不涉及。 :param dx: The dx of this SubtitleConfig. :type dx: int @@ -102,7 +102,7 @@ def dx(self, dx): def dy(self): """Gets the dy of this SubtitleConfig. - 字幕框左下角像素点坐标。 > *横屏(16:9)视频像素为1920x1080;竖屏(9:16)视频像素为1080x1920。 + **参数解释**: 字幕框左下角像素点坐标。 **约束限制**: 不涉及。 **默认取值**: 不涉及。 :return: The dy of this SubtitleConfig. :rtype: int @@ -113,7 +113,7 @@ def dy(self): def dy(self, dy): """Sets the dy of this SubtitleConfig. - 字幕框左下角像素点坐标。 > *横屏(16:9)视频像素为1920x1080;竖屏(9:16)视频像素为1080x1920。 + **参数解释**: 字幕框左下角像素点坐标。 **约束限制**: 不涉及。 **默认取值**: 不涉及。 :param dy: The dy of this SubtitleConfig. :type dy: int @@ -124,7 +124,7 @@ def dy(self, dy): def font_name(self): """Gets the font_name of this SubtitleConfig. - 字体。当前支持的字体: * HarmonyOS_Sans_SC_Black:鸿蒙粗体 * HarmonyOS_Sans_SC_Regular:鸿蒙常规 * HarmonyOS_Sans_SC_Thin:鸿蒙细体 + **参数解释**: 字体。当前支持的字体: * HarmonyOS_Sans_SC_Black:鸿蒙粗体 * HarmonyOS_Sans_SC_Regular:鸿蒙常规 * HarmonyOS_Sans_SC_Thin:鸿蒙细体。 **约束限制**: 不涉及。 **取值范围**: 字符长度0-64位 :return: The font_name of this SubtitleConfig. :rtype: str @@ -135,7 +135,7 @@ def font_name(self): def font_name(self, font_name): """Sets the font_name of this SubtitleConfig. - 字体。当前支持的字体: * HarmonyOS_Sans_SC_Black:鸿蒙粗体 * HarmonyOS_Sans_SC_Regular:鸿蒙常规 * HarmonyOS_Sans_SC_Thin:鸿蒙细体 + **参数解释**: 字体。当前支持的字体: * HarmonyOS_Sans_SC_Black:鸿蒙粗体 * HarmonyOS_Sans_SC_Regular:鸿蒙常规 * HarmonyOS_Sans_SC_Thin:鸿蒙细体。 **约束限制**: 不涉及。 **取值范围**: 字符长度0-64位 :param font_name: The font_name of this SubtitleConfig. :type font_name: str @@ -146,7 +146,7 @@ def font_name(self, font_name): def font_size(self): """Gets the font_size of this SubtitleConfig. - 字体大小。 取值范围:[4, 120] + **参数解释**: 字体大小。接口的取值范围为0-120,实际业务使用的取值范围要求为4-120,请以业务实际使用要求为准。 **约束限制**: 不涉及。 :return: The font_size of this SubtitleConfig. :rtype: int @@ -157,7 +157,7 @@ def font_size(self): def font_size(self, font_size): """Sets the font_size of this SubtitleConfig. - 字体大小。 取值范围:[4, 120] + **参数解释**: 字体大小。接口的取值范围为0-120,实际业务使用的取值范围要求为4-120,请以业务实际使用要求为准。 **约束限制**: 不涉及。 :param font_size: The font_size of this SubtitleConfig. :type font_size: int @@ -168,7 +168,7 @@ def font_size(self, font_size): def h(self): """Gets the h of this SubtitleConfig. - 字幕框高度 > * 参数h用于方便前端计算字幕框左上角坐标,后台不使用该参数 + **参数解释**: 字幕框高度。 **约束限制**: 参数h用于方便前端计算字幕框左上角坐标,后台不使用该参数。 :return: The h of this SubtitleConfig. :rtype: int @@ -179,7 +179,7 @@ def h(self): def h(self, h): """Sets the h of this SubtitleConfig. - 字幕框高度 > * 参数h用于方便前端计算字幕框左上角坐标,后台不使用该参数 + **参数解释**: 字幕框高度。 **约束限制**: 参数h用于方便前端计算字幕框左上角坐标,后台不使用该参数。 :param h: The h of this SubtitleConfig. :type h: int @@ -190,7 +190,7 @@ def h(self, h): def w(self): """Gets the w of this SubtitleConfig. - 字幕框宽度 > * 字幕框宽度固定为屏幕宽度的80% > * 参数w用于方便前端计算字幕框左上角坐标,后台不使用该参数 + **参数解释**: 字幕框宽度。 **约束限制**: * 字幕框宽度固定为屏幕宽度的80% * 参数w用于方便前端计算字幕框左上角坐标,后台不使用该参数 :return: The w of this SubtitleConfig. :rtype: int @@ -201,7 +201,7 @@ def w(self): def w(self, w): """Sets the w of this SubtitleConfig. - 字幕框宽度 > * 字幕框宽度固定为屏幕宽度的80% > * 参数w用于方便前端计算字幕框左上角坐标,后台不使用该参数 + **参数解释**: 字幕框宽度。 **约束限制**: * 字幕框宽度固定为屏幕宽度的80% * 参数w用于方便前端计算字幕框左上角坐标,后台不使用该参数 :param w: The w of this SubtitleConfig. :type w: int diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/text_config.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/text_config.py index a0cc431deb..d568625cde 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/text_config.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/text_config.py @@ -29,7 +29,7 @@ def __init__(self, text=None): The model defined in huaweicloud sdk - :param text: 台词脚本。 支持两种模式,纯文本模式和标签模式。 ### 纯文本模式 纯文本模式,使用方法,如“大家好,我是人工智大家,是个虚拟主播”。 ### 标签模式 SSML标签的详细定义请参考[文本驱动SSML定义](metastudio_02_0038.xml)。 + :param text: **参数解释**: 台词脚本。支持两种模式,纯文本模式和标签模式。 - 纯文本模式:使用方法,如“大家好,我是人工智大家,是个虚拟主播”。 - 标签模式:SSML标签的详细定义请参考[文本驱动SSML定义](metastudio_02_0038.xml)。 **约束限制**: 不含SSML标签字符数最长10000个字符。 **取值范围**: 字符长度0-131072位。 **默认取值**: 不涉及。 :type text: str """ @@ -44,7 +44,7 @@ def __init__(self, text=None): def text(self): """Gets the text of this TextConfig. - 台词脚本。 支持两种模式,纯文本模式和标签模式。 ### 纯文本模式 纯文本模式,使用方法,如“大家好,我是人工智大家,是个虚拟主播”。 ### 标签模式 SSML标签的详细定义请参考[文本驱动SSML定义](metastudio_02_0038.xml)。 + **参数解释**: 台词脚本。支持两种模式,纯文本模式和标签模式。 - 纯文本模式:使用方法,如“大家好,我是人工智大家,是个虚拟主播”。 - 标签模式:SSML标签的详细定义请参考[文本驱动SSML定义](metastudio_02_0038.xml)。 **约束限制**: 不含SSML标签字符数最长10000个字符。 **取值范围**: 字符长度0-131072位。 **默认取值**: 不涉及。 :return: The text of this TextConfig. :rtype: str @@ -55,7 +55,7 @@ def text(self): def text(self, text): """Sets the text of this TextConfig. - 台词脚本。 支持两种模式,纯文本模式和标签模式。 ### 纯文本模式 纯文本模式,使用方法,如“大家好,我是人工智大家,是个虚拟主播”。 ### 标签模式 SSML标签的详细定义请参考[文本驱动SSML定义](metastudio_02_0038.xml)。 + **参数解释**: 台词脚本。支持两种模式,纯文本模式和标签模式。 - 纯文本模式:使用方法,如“大家好,我是人工智大家,是个虚拟主播”。 - 标签模式:SSML标签的详细定义请参考[文本驱动SSML定义](metastudio_02_0038.xml)。 **约束限制**: 不含SSML标签字符数最长10000个字符。 **取值范围**: 字符长度0-131072位。 **默认取值**: 不涉及。 :param text: The text of this TextConfig. :type text: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/text_layer_config.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/text_layer_config.py index 187397dbd3..24acc0b66c 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/text_layer_config.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/text_layer_config.py @@ -35,13 +35,13 @@ def __init__(self, text_context=None, font_name=None, font_size=None, font_color The model defined in huaweicloud sdk - :param text_context: 文字图层的文本,内容需做Base64编码。 示例:若想添加文字水印“测试文字水印”,那么text_context的值为:5rWL6K+V5paH5a2X5rC05Y2w + :param text_context: **参数解释**: 文字图层的文本,内容需做Base64编码。 示例:若想添加文字水印“测试文字水印”,那么text_context的值为:5rWL6K+V5paH5a2X5rC05Y2w **约束限制**: 不涉及。 **取值范围**: 字符长度0-1024位。 **默认取值**: 不涉及。 :type text_context: str - :param font_name: 字体。当前支持的字体请参考[服务支持的字体](metastudio_02_0041.xml)。 + :param font_name: **参数解释**: 字体。当前支持的字体: **约束限制**: 不涉及。 **取值范围**: 支持的字体请参考[服务支持的字体](metastudio_02_0041.xml) :type font_name: str - :param font_size: 字体大小(像素)。 取值范围:[4, 120] + :param font_size: **参数解释**: 字体大小(像素)。接口的取值范围为0-120,实际业务使用的取值范围要求为4-120,请以业务实际使用要求为准。 **约束限制**: 不涉及。 :type font_size: int - :param font_color: 字体颜色。RGB颜色值。 + :param font_color: **参数解释**: 字体颜色。RGB颜色值。 **约束限制**: 不涉及。 **取值范围**: 字符长度0-16位 :type font_color: str """ @@ -66,7 +66,7 @@ def __init__(self, text_context=None, font_name=None, font_size=None, font_color def text_context(self): """Gets the text_context of this TextLayerConfig. - 文字图层的文本,内容需做Base64编码。 示例:若想添加文字水印“测试文字水印”,那么text_context的值为:5rWL6K+V5paH5a2X5rC05Y2w + **参数解释**: 文字图层的文本,内容需做Base64编码。 示例:若想添加文字水印“测试文字水印”,那么text_context的值为:5rWL6K+V5paH5a2X5rC05Y2w **约束限制**: 不涉及。 **取值范围**: 字符长度0-1024位。 **默认取值**: 不涉及。 :return: The text_context of this TextLayerConfig. :rtype: str @@ -77,7 +77,7 @@ def text_context(self): def text_context(self, text_context): """Sets the text_context of this TextLayerConfig. - 文字图层的文本,内容需做Base64编码。 示例:若想添加文字水印“测试文字水印”,那么text_context的值为:5rWL6K+V5paH5a2X5rC05Y2w + **参数解释**: 文字图层的文本,内容需做Base64编码。 示例:若想添加文字水印“测试文字水印”,那么text_context的值为:5rWL6K+V5paH5a2X5rC05Y2w **约束限制**: 不涉及。 **取值范围**: 字符长度0-1024位。 **默认取值**: 不涉及。 :param text_context: The text_context of this TextLayerConfig. :type text_context: str @@ -88,7 +88,7 @@ def text_context(self, text_context): def font_name(self): """Gets the font_name of this TextLayerConfig. - 字体。当前支持的字体请参考[服务支持的字体](metastudio_02_0041.xml)。 + **参数解释**: 字体。当前支持的字体: **约束限制**: 不涉及。 **取值范围**: 支持的字体请参考[服务支持的字体](metastudio_02_0041.xml) :return: The font_name of this TextLayerConfig. :rtype: str @@ -99,7 +99,7 @@ def font_name(self): def font_name(self, font_name): """Sets the font_name of this TextLayerConfig. - 字体。当前支持的字体请参考[服务支持的字体](metastudio_02_0041.xml)。 + **参数解释**: 字体。当前支持的字体: **约束限制**: 不涉及。 **取值范围**: 支持的字体请参考[服务支持的字体](metastudio_02_0041.xml) :param font_name: The font_name of this TextLayerConfig. :type font_name: str @@ -110,7 +110,7 @@ def font_name(self, font_name): def font_size(self): """Gets the font_size of this TextLayerConfig. - 字体大小(像素)。 取值范围:[4, 120] + **参数解释**: 字体大小(像素)。接口的取值范围为0-120,实际业务使用的取值范围要求为4-120,请以业务实际使用要求为准。 **约束限制**: 不涉及。 :return: The font_size of this TextLayerConfig. :rtype: int @@ -121,7 +121,7 @@ def font_size(self): def font_size(self, font_size): """Sets the font_size of this TextLayerConfig. - 字体大小(像素)。 取值范围:[4, 120] + **参数解释**: 字体大小(像素)。接口的取值范围为0-120,实际业务使用的取值范围要求为4-120,请以业务实际使用要求为准。 **约束限制**: 不涉及。 :param font_size: The font_size of this TextLayerConfig. :type font_size: int @@ -132,7 +132,7 @@ def font_size(self, font_size): def font_color(self): """Gets the font_color of this TextLayerConfig. - 字体颜色。RGB颜色值。 + **参数解释**: 字体颜色。RGB颜色值。 **约束限制**: 不涉及。 **取值范围**: 字符长度0-16位 :return: The font_color of this TextLayerConfig. :rtype: str @@ -143,7 +143,7 @@ def font_color(self): def font_color(self, font_color): """Sets the font_color of this TextLayerConfig. - 字体颜色。RGB颜色值。 + **参数解释**: 字体颜色。RGB颜色值。 **约束限制**: 不涉及。 **取值范围**: 字符长度0-16位 :param font_color: The font_color of this TextLayerConfig. :type font_color: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/training_job_basic_info.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/training_job_basic_info.py index 76f1359c44..6252856bbb 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/training_job_basic_info.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/training_job_basic_info.py @@ -31,7 +31,8 @@ class TrainingJobBasicInfo: 'model_version': 'str', 'matting_type': 'str', 'model_resolution': 'str', - 'app_user_id': 'str' + 'app_user_id': 'str', + 'is_flexus': 'bool' } attribute_map = { @@ -49,10 +50,11 @@ class TrainingJobBasicInfo: 'model_version': 'model_version', 'matting_type': 'matting_type', 'model_resolution': 'model_resolution', - 'app_user_id': 'app_user_id' + 'app_user_id': 'app_user_id', + 'is_flexus': 'is_flexus' } - def __init__(self, job_id=None, name=None, state=None, asset_id=None, project_id=None, cover_download_url=None, last_update_time=None, create_time=None, contact=None, batch_name=None, tags=None, model_version=None, matting_type=None, model_resolution=None, app_user_id=None): + def __init__(self, job_id=None, name=None, state=None, asset_id=None, project_id=None, cover_download_url=None, last_update_time=None, create_time=None, contact=None, batch_name=None, tags=None, model_version=None, matting_type=None, model_resolution=None, app_user_id=None, is_flexus=None): """TrainingJobBasicInfo The model defined in huaweicloud sdk @@ -61,7 +63,7 @@ def __init__(self, job_id=None, name=None, state=None, asset_id=None, project_id :type job_id: str :param name: 分身数字人模型名称。该名称会作为资产库中分身数字人模型资产名称。 :type name: str - :param state: 任务的状态。 * WAIT_FILE_UPLOAD:待上传文件 * AUTO_VERIFYING:自动审核中 * AUTO_VERIFY_FAILED:自动审核失败 * MANUAL_VERIFYING:人工审核中 * MANUAL_VERIFY_FAILED:人工审核失败 * MANUAL_VERIFY_SUCCESS:审核通过,等待预处理资源 * TRAINING_DATA_PREPROCESSING:训练数据预处理中 * TRAINING_DATA_PREPROCESS_FAILED:训练数据预处理失败 * TRAINING_DATA_PREPROCESS_SUCCESS:训练数据预处理完成,等待训练资源中 * TRAINING:训练中 * TRAIN_FAILED:训练失败 * TRAIN_SUCCESS:训练完成,等待预处理资源 * INFERENCE_DATA_PREPROCESSING:推理数据预处理中 * INFERENCE_DATA_PREPROCESS_FAILED:推理数据预处理失败 * WAIT_MASK_UPLOAD:等待遮罩上传 * WAIT_MAIN_FILE_UPLOAD:等待主文件上传 * JOB_SUCCESS:训练任务完成 * WAIT_USER_CONFIRM:等待用户确认训练效果 * JOB_REJECT:驳回任务 * JOB_PENDING:挂起任务 * JOB_FINISH:任务结束,是最终状态,不支持修改此状态。 + :param state: 任务的状态。 * WAIT_FILE_UPLOAD: 待上传文件 * AUTO_VERIFYING: 自动审核中 * AUTO_VERIFY_FAILED: 自动审核失败 * MANUAL_VERIFYING: 人工审核中 * WAIT_TRAINING_DATA_PREPROCESS: 人工审核中 * MANUAL_VERIFY_FAILED: 人工审核失败 * MANUAL_VERIFY_SUCCESS: 审核通过,等待预处理资源 * TRAINING_DATA_PREPROCESSING: 训练数据预处理中 * TRAINING_DATA_PREPROCESS_FAILED: 训练数据预处理失败 * TRAINING_DATA_PREPROCESS_SUCCESS: 训练数据预处理完成,等待训练资源中 * TRAINING: 训练中 * TRAIN_FAILED: 训练失败 * TRAIN_SUCCESS: 训练完成,等待预处理资源 * INFERENCE_DATA_PREPROCESSING: 推理数据预处理中 * INFERENCE_DATA_PREPROCESS_FAILED: 推理数据预处理失败 * WAIT_MASK_UPLOAD: 等待遮罩上传 * WAIT_MAIN_FILE_UPLOAD: 等待主文件上传 * JOB_SUCCESS: 训练任务完成 * MANUAL_STOP_INFERENCE_DATA_PREPROCESS: 人工中止推理预处理 * MANUAL_STOP_TRAIN: 人工中止训练 * MANUAL_STOP_TRAINING_DATA_PREPROCESS: 人工中止训练预处理 * WAIT_USER_CONFIRM: 等待用户确认训练效果 * JOB_REJECT: 驳回任务 * JOB_PENDING: 挂起任务 * WAIT_ADMIN_CONFIRM: 等待管理员审核 * JOB_FINISH: 任务结束,是最终状态,不支持修改此状态。 * COMPILING: 转编译中 * WAIT_COMPILE: 等待转编译 * COMPILE_FAILED: 转编译失败 * WAIT_GENERATE_ACTION: 等待原子动作生成 * WAIT_ARRANGE: 等待编排 * ACTION_GENERATE_DATA_PROCESSING: 原子动作生成中 * MANUAL_STOP_ACTION_GENERATE_DATA_PROCESSING: 人工中止动作生成 * MANUAL_STOP_ACTION_GENERATE_ORI_PROCESSING: 人工中止动作编排 * ACTION_GENERATE_ORI_PROCESSING: 动作编排中 * ACTION_GENERATE_DATA_FAILED: 动作生成失败 * ACTION_GENERATE_ORI_FAILED: 动作编排失败 * ACTION_GENERATE_ORI_SUCCESS: 动作编排成功 * GENERATE_ACTION_PREPROCESS_FAILED: 动作编排失败 * WAIT_ADMIN_CALIBRATION: 等待管理员确认动作信息 :type state: str :param asset_id: 模型资产ID。 :type asset_id: str @@ -87,6 +89,8 @@ def __init__(self, job_id=None, name=None, state=None, asset_id=None, project_id :type model_resolution: str :param app_user_id: 自定义用户id(如创建任务时设置了X-App-UserId则会携带)。 :type app_user_id: str + :param is_flexus: 是否是基础版的形象训练 + :type is_flexus: bool """ @@ -106,6 +110,7 @@ def __init__(self, job_id=None, name=None, state=None, asset_id=None, project_id self._matting_type = None self._model_resolution = None self._app_user_id = None + self._is_flexus = None self.discriminator = None self.job_id = job_id @@ -135,6 +140,8 @@ def __init__(self, job_id=None, name=None, state=None, asset_id=None, project_id self.model_resolution = model_resolution if app_user_id is not None: self.app_user_id = app_user_id + if is_flexus is not None: + self.is_flexus = is_flexus @property def job_id(self): @@ -184,7 +191,7 @@ def name(self, name): def state(self): """Gets the state of this TrainingJobBasicInfo. - 任务的状态。 * WAIT_FILE_UPLOAD:待上传文件 * AUTO_VERIFYING:自动审核中 * AUTO_VERIFY_FAILED:自动审核失败 * MANUAL_VERIFYING:人工审核中 * MANUAL_VERIFY_FAILED:人工审核失败 * MANUAL_VERIFY_SUCCESS:审核通过,等待预处理资源 * TRAINING_DATA_PREPROCESSING:训练数据预处理中 * TRAINING_DATA_PREPROCESS_FAILED:训练数据预处理失败 * TRAINING_DATA_PREPROCESS_SUCCESS:训练数据预处理完成,等待训练资源中 * TRAINING:训练中 * TRAIN_FAILED:训练失败 * TRAIN_SUCCESS:训练完成,等待预处理资源 * INFERENCE_DATA_PREPROCESSING:推理数据预处理中 * INFERENCE_DATA_PREPROCESS_FAILED:推理数据预处理失败 * WAIT_MASK_UPLOAD:等待遮罩上传 * WAIT_MAIN_FILE_UPLOAD:等待主文件上传 * JOB_SUCCESS:训练任务完成 * WAIT_USER_CONFIRM:等待用户确认训练效果 * JOB_REJECT:驳回任务 * JOB_PENDING:挂起任务 * JOB_FINISH:任务结束,是最终状态,不支持修改此状态。 + 任务的状态。 * WAIT_FILE_UPLOAD: 待上传文件 * AUTO_VERIFYING: 自动审核中 * AUTO_VERIFY_FAILED: 自动审核失败 * MANUAL_VERIFYING: 人工审核中 * WAIT_TRAINING_DATA_PREPROCESS: 人工审核中 * MANUAL_VERIFY_FAILED: 人工审核失败 * MANUAL_VERIFY_SUCCESS: 审核通过,等待预处理资源 * TRAINING_DATA_PREPROCESSING: 训练数据预处理中 * TRAINING_DATA_PREPROCESS_FAILED: 训练数据预处理失败 * TRAINING_DATA_PREPROCESS_SUCCESS: 训练数据预处理完成,等待训练资源中 * TRAINING: 训练中 * TRAIN_FAILED: 训练失败 * TRAIN_SUCCESS: 训练完成,等待预处理资源 * INFERENCE_DATA_PREPROCESSING: 推理数据预处理中 * INFERENCE_DATA_PREPROCESS_FAILED: 推理数据预处理失败 * WAIT_MASK_UPLOAD: 等待遮罩上传 * WAIT_MAIN_FILE_UPLOAD: 等待主文件上传 * JOB_SUCCESS: 训练任务完成 * MANUAL_STOP_INFERENCE_DATA_PREPROCESS: 人工中止推理预处理 * MANUAL_STOP_TRAIN: 人工中止训练 * MANUAL_STOP_TRAINING_DATA_PREPROCESS: 人工中止训练预处理 * WAIT_USER_CONFIRM: 等待用户确认训练效果 * JOB_REJECT: 驳回任务 * JOB_PENDING: 挂起任务 * WAIT_ADMIN_CONFIRM: 等待管理员审核 * JOB_FINISH: 任务结束,是最终状态,不支持修改此状态。 * COMPILING: 转编译中 * WAIT_COMPILE: 等待转编译 * COMPILE_FAILED: 转编译失败 * WAIT_GENERATE_ACTION: 等待原子动作生成 * WAIT_ARRANGE: 等待编排 * ACTION_GENERATE_DATA_PROCESSING: 原子动作生成中 * MANUAL_STOP_ACTION_GENERATE_DATA_PROCESSING: 人工中止动作生成 * MANUAL_STOP_ACTION_GENERATE_ORI_PROCESSING: 人工中止动作编排 * ACTION_GENERATE_ORI_PROCESSING: 动作编排中 * ACTION_GENERATE_DATA_FAILED: 动作生成失败 * ACTION_GENERATE_ORI_FAILED: 动作编排失败 * ACTION_GENERATE_ORI_SUCCESS: 动作编排成功 * GENERATE_ACTION_PREPROCESS_FAILED: 动作编排失败 * WAIT_ADMIN_CALIBRATION: 等待管理员确认动作信息 :return: The state of this TrainingJobBasicInfo. :rtype: str @@ -195,7 +202,7 @@ def state(self): def state(self, state): """Sets the state of this TrainingJobBasicInfo. - 任务的状态。 * WAIT_FILE_UPLOAD:待上传文件 * AUTO_VERIFYING:自动审核中 * AUTO_VERIFY_FAILED:自动审核失败 * MANUAL_VERIFYING:人工审核中 * MANUAL_VERIFY_FAILED:人工审核失败 * MANUAL_VERIFY_SUCCESS:审核通过,等待预处理资源 * TRAINING_DATA_PREPROCESSING:训练数据预处理中 * TRAINING_DATA_PREPROCESS_FAILED:训练数据预处理失败 * TRAINING_DATA_PREPROCESS_SUCCESS:训练数据预处理完成,等待训练资源中 * TRAINING:训练中 * TRAIN_FAILED:训练失败 * TRAIN_SUCCESS:训练完成,等待预处理资源 * INFERENCE_DATA_PREPROCESSING:推理数据预处理中 * INFERENCE_DATA_PREPROCESS_FAILED:推理数据预处理失败 * WAIT_MASK_UPLOAD:等待遮罩上传 * WAIT_MAIN_FILE_UPLOAD:等待主文件上传 * JOB_SUCCESS:训练任务完成 * WAIT_USER_CONFIRM:等待用户确认训练效果 * JOB_REJECT:驳回任务 * JOB_PENDING:挂起任务 * JOB_FINISH:任务结束,是最终状态,不支持修改此状态。 + 任务的状态。 * WAIT_FILE_UPLOAD: 待上传文件 * AUTO_VERIFYING: 自动审核中 * AUTO_VERIFY_FAILED: 自动审核失败 * MANUAL_VERIFYING: 人工审核中 * WAIT_TRAINING_DATA_PREPROCESS: 人工审核中 * MANUAL_VERIFY_FAILED: 人工审核失败 * MANUAL_VERIFY_SUCCESS: 审核通过,等待预处理资源 * TRAINING_DATA_PREPROCESSING: 训练数据预处理中 * TRAINING_DATA_PREPROCESS_FAILED: 训练数据预处理失败 * TRAINING_DATA_PREPROCESS_SUCCESS: 训练数据预处理完成,等待训练资源中 * TRAINING: 训练中 * TRAIN_FAILED: 训练失败 * TRAIN_SUCCESS: 训练完成,等待预处理资源 * INFERENCE_DATA_PREPROCESSING: 推理数据预处理中 * INFERENCE_DATA_PREPROCESS_FAILED: 推理数据预处理失败 * WAIT_MASK_UPLOAD: 等待遮罩上传 * WAIT_MAIN_FILE_UPLOAD: 等待主文件上传 * JOB_SUCCESS: 训练任务完成 * MANUAL_STOP_INFERENCE_DATA_PREPROCESS: 人工中止推理预处理 * MANUAL_STOP_TRAIN: 人工中止训练 * MANUAL_STOP_TRAINING_DATA_PREPROCESS: 人工中止训练预处理 * WAIT_USER_CONFIRM: 等待用户确认训练效果 * JOB_REJECT: 驳回任务 * JOB_PENDING: 挂起任务 * WAIT_ADMIN_CONFIRM: 等待管理员审核 * JOB_FINISH: 任务结束,是最终状态,不支持修改此状态。 * COMPILING: 转编译中 * WAIT_COMPILE: 等待转编译 * COMPILE_FAILED: 转编译失败 * WAIT_GENERATE_ACTION: 等待原子动作生成 * WAIT_ARRANGE: 等待编排 * ACTION_GENERATE_DATA_PROCESSING: 原子动作生成中 * MANUAL_STOP_ACTION_GENERATE_DATA_PROCESSING: 人工中止动作生成 * MANUAL_STOP_ACTION_GENERATE_ORI_PROCESSING: 人工中止动作编排 * ACTION_GENERATE_ORI_PROCESSING: 动作编排中 * ACTION_GENERATE_DATA_FAILED: 动作生成失败 * ACTION_GENERATE_ORI_FAILED: 动作编排失败 * ACTION_GENERATE_ORI_SUCCESS: 动作编排成功 * GENERATE_ACTION_PREPROCESS_FAILED: 动作编排失败 * WAIT_ADMIN_CALIBRATION: 等待管理员确认动作信息 :param state: The state of this TrainingJobBasicInfo. :type state: str @@ -466,6 +473,28 @@ def app_user_id(self, app_user_id): """ self._app_user_id = app_user_id + @property + def is_flexus(self): + """Gets the is_flexus of this TrainingJobBasicInfo. + + 是否是基础版的形象训练 + + :return: The is_flexus of this TrainingJobBasicInfo. + :rtype: bool + """ + return self._is_flexus + + @is_flexus.setter + def is_flexus(self, is_flexus): + """Sets the is_flexus of this TrainingJobBasicInfo. + + 是否是基础版的形象训练 + + :param is_flexus: The is_flexus of this TrainingJobBasicInfo. + :type is_flexus: bool + """ + self._is_flexus = is_flexus + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/trigger_process.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/trigger_process.py index 3180cb14d0..1d87ff12e2 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/trigger_process.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/trigger_process.py @@ -45,23 +45,23 @@ def __init__(self, time_window=None, reply_mode=None, layer_config=None, extra_l The model defined in huaweicloud sdk - :param time_window: 处理抑制时长。单位秒。 -1 表示整场直播 0 表示无抑制,每次都触发 + :param time_window: **参数解释**: 处理抑制时长。单位秒。 - -1:表示整场直播仅触发一次。 - 0:表示无抑制,每次都触发。 - 其他值n:表示n秒内仅触发一次。 **约束限制**: 不涉及 **默认取值**: 不涉及 :type time_window: int - :param reply_mode: 回复类型。 * SYSTEM_REPLY:系统自动回复设置的话术。 * CALLBACK:回调给其他服务,携带设置的话术。 * SHOW_LAYER: 显示叠加图层,不影响话术。 * INTELLIGENT_REPLY: 智能交互回复话术。 + :param reply_mode: **参数解释**: 回复类型。 **约束限制**: 不涉及 **取值范围**: * SYSTEM_REPLY:系统自动回复预先设置的话术。 * CALLBACK:回调给其他服务,携带设置的话术。 * SHOW_LAYER:仅显示叠加图层,不影响话术。 * INTELLIGENT_REPLY:使用配置的大模型生成回复话术。 **默认取值**: 不涉及 :type reply_mode: str :param layer_config: :type layer_config: :class:`huaweicloudsdkmetastudio.v1.SmartLayerConfig` :param extra_layer_config: :type extra_layer_config: :class:`huaweicloudsdkmetastudio.v1.SmartLayerConfig` - :param reply_texts: 回复话术集 + :param reply_texts: **参数解释**: 回复话术集。 **约束限制**: 不涉及 **取值范围**: 最大支持5条预置话术。 单条话术字符长度0-1024位。 **默认取值**: 不涉及 :type reply_texts: list[str] - :param reply_audios: 回复音频集。填写audio_url。 + :param reply_audios: **参数解释**: 回复音频集。填写audio_url。 **约束限制**: 不涉及 **取值范围**: 最大支持5条预置音频。 **默认取值**: 不涉及 :type reply_audios: list[:class:`huaweicloudsdkmetastudio.v1.ReplyAudioInfo`] - :param reply_order: 回复次序 - RANDOM:随机 - ORDER:顺序循环 + :param reply_order: **参数解释**: 回复话术选择次序。 **约束限制**: 不涉及 **取值范围**: * RANDOM:随机 * ORDER:顺序循环 **默认取值**: 不涉及 :type reply_order: str - :param reply_role: 回复角色。默认为主播 * STREAMER:主播 * CO_STREAMER:助播 + :param reply_role: **参数解释**: 回复角色。 **约束限制**: 不涉及 **取值范围**: * STREAMER:主播 * CO_STREAMER:助播,仅声音。 :type reply_role: str - :param robot_id: 机器人ID。 + :param robot_id: **参数解释**: 机器人ID。 **约束限制**: reply_mode为INTELLIGENT_REPLY时必填,智能交互配置的大模型机器人ID。 获取方法请参考[创建应用](CreateRobot.xml)。 **取值范围**: 字符长度0-64位。 **默认取值**: 不涉及 :type robot_id: str """ @@ -101,7 +101,7 @@ def __init__(self, time_window=None, reply_mode=None, layer_config=None, extra_l def time_window(self): """Gets the time_window of this TriggerProcess. - 处理抑制时长。单位秒。 -1 表示整场直播 0 表示无抑制,每次都触发 + **参数解释**: 处理抑制时长。单位秒。 - -1:表示整场直播仅触发一次。 - 0:表示无抑制,每次都触发。 - 其他值n:表示n秒内仅触发一次。 **约束限制**: 不涉及 **默认取值**: 不涉及 :return: The time_window of this TriggerProcess. :rtype: int @@ -112,7 +112,7 @@ def time_window(self): def time_window(self, time_window): """Sets the time_window of this TriggerProcess. - 处理抑制时长。单位秒。 -1 表示整场直播 0 表示无抑制,每次都触发 + **参数解释**: 处理抑制时长。单位秒。 - -1:表示整场直播仅触发一次。 - 0:表示无抑制,每次都触发。 - 其他值n:表示n秒内仅触发一次。 **约束限制**: 不涉及 **默认取值**: 不涉及 :param time_window: The time_window of this TriggerProcess. :type time_window: int @@ -123,7 +123,7 @@ def time_window(self, time_window): def reply_mode(self): """Gets the reply_mode of this TriggerProcess. - 回复类型。 * SYSTEM_REPLY:系统自动回复设置的话术。 * CALLBACK:回调给其他服务,携带设置的话术。 * SHOW_LAYER: 显示叠加图层,不影响话术。 * INTELLIGENT_REPLY: 智能交互回复话术。 + **参数解释**: 回复类型。 **约束限制**: 不涉及 **取值范围**: * SYSTEM_REPLY:系统自动回复预先设置的话术。 * CALLBACK:回调给其他服务,携带设置的话术。 * SHOW_LAYER:仅显示叠加图层,不影响话术。 * INTELLIGENT_REPLY:使用配置的大模型生成回复话术。 **默认取值**: 不涉及 :return: The reply_mode of this TriggerProcess. :rtype: str @@ -134,7 +134,7 @@ def reply_mode(self): def reply_mode(self, reply_mode): """Sets the reply_mode of this TriggerProcess. - 回复类型。 * SYSTEM_REPLY:系统自动回复设置的话术。 * CALLBACK:回调给其他服务,携带设置的话术。 * SHOW_LAYER: 显示叠加图层,不影响话术。 * INTELLIGENT_REPLY: 智能交互回复话术。 + **参数解释**: 回复类型。 **约束限制**: 不涉及 **取值范围**: * SYSTEM_REPLY:系统自动回复预先设置的话术。 * CALLBACK:回调给其他服务,携带设置的话术。 * SHOW_LAYER:仅显示叠加图层,不影响话术。 * INTELLIGENT_REPLY:使用配置的大模型生成回复话术。 **默认取值**: 不涉及 :param reply_mode: The reply_mode of this TriggerProcess. :type reply_mode: str @@ -181,7 +181,7 @@ def extra_layer_config(self, extra_layer_config): def reply_texts(self): """Gets the reply_texts of this TriggerProcess. - 回复话术集 + **参数解释**: 回复话术集。 **约束限制**: 不涉及 **取值范围**: 最大支持5条预置话术。 单条话术字符长度0-1024位。 **默认取值**: 不涉及 :return: The reply_texts of this TriggerProcess. :rtype: list[str] @@ -192,7 +192,7 @@ def reply_texts(self): def reply_texts(self, reply_texts): """Sets the reply_texts of this TriggerProcess. - 回复话术集 + **参数解释**: 回复话术集。 **约束限制**: 不涉及 **取值范围**: 最大支持5条预置话术。 单条话术字符长度0-1024位。 **默认取值**: 不涉及 :param reply_texts: The reply_texts of this TriggerProcess. :type reply_texts: list[str] @@ -203,7 +203,7 @@ def reply_texts(self, reply_texts): def reply_audios(self): """Gets the reply_audios of this TriggerProcess. - 回复音频集。填写audio_url。 + **参数解释**: 回复音频集。填写audio_url。 **约束限制**: 不涉及 **取值范围**: 最大支持5条预置音频。 **默认取值**: 不涉及 :return: The reply_audios of this TriggerProcess. :rtype: list[:class:`huaweicloudsdkmetastudio.v1.ReplyAudioInfo`] @@ -214,7 +214,7 @@ def reply_audios(self): def reply_audios(self, reply_audios): """Sets the reply_audios of this TriggerProcess. - 回复音频集。填写audio_url。 + **参数解释**: 回复音频集。填写audio_url。 **约束限制**: 不涉及 **取值范围**: 最大支持5条预置音频。 **默认取值**: 不涉及 :param reply_audios: The reply_audios of this TriggerProcess. :type reply_audios: list[:class:`huaweicloudsdkmetastudio.v1.ReplyAudioInfo`] @@ -225,7 +225,7 @@ def reply_audios(self, reply_audios): def reply_order(self): """Gets the reply_order of this TriggerProcess. - 回复次序 - RANDOM:随机 - ORDER:顺序循环 + **参数解释**: 回复话术选择次序。 **约束限制**: 不涉及 **取值范围**: * RANDOM:随机 * ORDER:顺序循环 **默认取值**: 不涉及 :return: The reply_order of this TriggerProcess. :rtype: str @@ -236,7 +236,7 @@ def reply_order(self): def reply_order(self, reply_order): """Sets the reply_order of this TriggerProcess. - 回复次序 - RANDOM:随机 - ORDER:顺序循环 + **参数解释**: 回复话术选择次序。 **约束限制**: 不涉及 **取值范围**: * RANDOM:随机 * ORDER:顺序循环 **默认取值**: 不涉及 :param reply_order: The reply_order of this TriggerProcess. :type reply_order: str @@ -247,7 +247,7 @@ def reply_order(self, reply_order): def reply_role(self): """Gets the reply_role of this TriggerProcess. - 回复角色。默认为主播 * STREAMER:主播 * CO_STREAMER:助播 + **参数解释**: 回复角色。 **约束限制**: 不涉及 **取值范围**: * STREAMER:主播 * CO_STREAMER:助播,仅声音。 :return: The reply_role of this TriggerProcess. :rtype: str @@ -258,7 +258,7 @@ def reply_role(self): def reply_role(self, reply_role): """Sets the reply_role of this TriggerProcess. - 回复角色。默认为主播 * STREAMER:主播 * CO_STREAMER:助播 + **参数解释**: 回复角色。 **约束限制**: 不涉及 **取值范围**: * STREAMER:主播 * CO_STREAMER:助播,仅声音。 :param reply_role: The reply_role of this TriggerProcess. :type reply_role: str @@ -269,7 +269,7 @@ def reply_role(self, reply_role): def robot_id(self): """Gets the robot_id of this TriggerProcess. - 机器人ID。 + **参数解释**: 机器人ID。 **约束限制**: reply_mode为INTELLIGENT_REPLY时必填,智能交互配置的大模型机器人ID。 获取方法请参考[创建应用](CreateRobot.xml)。 **取值范围**: 字符长度0-64位。 **默认取值**: 不涉及 :return: The robot_id of this TriggerProcess. :rtype: str @@ -280,7 +280,7 @@ def robot_id(self): def robot_id(self, robot_id): """Sets the robot_id of this TriggerProcess. - 机器人ID。 + **参数解释**: 机器人ID。 **约束限制**: reply_mode为INTELLIGENT_REPLY时必填,智能交互配置的大模型机器人ID。 获取方法请参考[创建应用](CreateRobot.xml)。 **取值范围**: 字符长度0-64位。 **默认取值**: 不涉及 :param robot_id: The robot_id of this TriggerProcess. :type robot_id: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update2d_model_training_job_req.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update2d_model_training_job_req.py index 2479513f35..b40b22f6f0 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update2d_model_training_job_req.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update2d_model_training_job_req.py @@ -21,9 +21,13 @@ class Update2dModelTrainingJobReq: 'contact': 'str', 'command_message': 'str', 'video_multipart_count': 'int', + 'action_video_multipart_count': 'int', 'is_background_replacement': 'bool', 'batch_name': 'str', - 'tags': 'list[str]' + 'tags': 'list[str]', + 'samples_basic_info': 'list[ActionBasicSampleInfo]', + 'supported_service': 'list[SupportedServiceEnum]', + 'audio_source_type': 'str' } attribute_map = { @@ -31,12 +35,16 @@ class Update2dModelTrainingJobReq: 'contact': 'contact', 'command_message': 'command_message', 'video_multipart_count': 'video_multipart_count', + 'action_video_multipart_count': 'action_video_multipart_count', 'is_background_replacement': 'is_background_replacement', 'batch_name': 'batch_name', - 'tags': 'tags' + 'tags': 'tags', + 'samples_basic_info': 'samples_basic_info', + 'supported_service': 'supported_service', + 'audio_source_type': 'audio_source_type' } - def __init__(self, name=None, contact=None, command_message=None, video_multipart_count=None, is_background_replacement=None, batch_name=None, tags=None): + def __init__(self, name=None, contact=None, command_message=None, video_multipart_count=None, action_video_multipart_count=None, is_background_replacement=None, batch_name=None, tags=None, samples_basic_info=None, supported_service=None, audio_source_type=None): """Update2dModelTrainingJobReq The model defined in huaweicloud sdk @@ -45,16 +53,24 @@ def __init__(self, name=None, contact=None, command_message=None, video_multipar :type name: str :param contact: 分身数字人训练任务创建者联系方式,如手机或邮箱等。 :type contact: str - :param command_message: 命令类型: * UPDATE_VIDEO: 更新视频 * UPLOAD_VIDEO:上传视频 + :param command_message: 命令类型: * UPDATE_VIDEO: 更新视频 * UPLOAD_VIDEO:上传视频 * CONFIRM_ACTION_VIDEO: 确认动作编排视频 * GET_ACTION_VIDEO_MULTIPART: 获取动作编排视频分片 :type command_message: str - :param video_multipart_count: 训练视频上传分片数。 + :param video_multipart_count: 训练视频上传分片数(上传时对唯一训练视频文件的数据分片,用于对该文件的并发上传,不是分多个视频文件上传)。 :type video_multipart_count: int + :param action_video_multipart_count: 动作视频上传分片数。 + :type action_video_multipart_count: int :param is_background_replacement: 分身数字人是否需要背景替换。需要背景替换的分身数字人训练视频需要绿幕拍摄。 :type is_background_replacement: bool :param batch_name: 分身数字人训练任务的批次名称。 :type batch_name: str :param tags: 分身数字人训练任务标签。 :type tags: list[str] + :param samples_basic_info: 动作视频样例可修改信息。 + :type samples_basic_info: list[:class:`huaweicloudsdkmetastudio.v1.ActionBasicSampleInfo`] + :param supported_service: 该任务所生成的模型支持的业务类型,可多选 + :type supported_service: list[:class:`huaweicloudsdkmetastudio.v1.SupportedServiceEnum`] + :param audio_source_type: 声音来源类型 * VIDEO:视频中抽取音频 * AUDIO:单独上传的音频 + :type audio_source_type: str """ @@ -63,9 +79,13 @@ def __init__(self, name=None, contact=None, command_message=None, video_multipar self._contact = None self._command_message = None self._video_multipart_count = None + self._action_video_multipart_count = None self._is_background_replacement = None self._batch_name = None self._tags = None + self._samples_basic_info = None + self._supported_service = None + self._audio_source_type = None self.discriminator = None if name is not None: @@ -76,12 +96,20 @@ def __init__(self, name=None, contact=None, command_message=None, video_multipar self.command_message = command_message if video_multipart_count is not None: self.video_multipart_count = video_multipart_count + if action_video_multipart_count is not None: + self.action_video_multipart_count = action_video_multipart_count if is_background_replacement is not None: self.is_background_replacement = is_background_replacement if batch_name is not None: self.batch_name = batch_name if tags is not None: self.tags = tags + if samples_basic_info is not None: + self.samples_basic_info = samples_basic_info + if supported_service is not None: + self.supported_service = supported_service + if audio_source_type is not None: + self.audio_source_type = audio_source_type @property def name(self): @@ -131,7 +159,7 @@ def contact(self, contact): def command_message(self): """Gets the command_message of this Update2dModelTrainingJobReq. - 命令类型: * UPDATE_VIDEO: 更新视频 * UPLOAD_VIDEO:上传视频 + 命令类型: * UPDATE_VIDEO: 更新视频 * UPLOAD_VIDEO:上传视频 * CONFIRM_ACTION_VIDEO: 确认动作编排视频 * GET_ACTION_VIDEO_MULTIPART: 获取动作编排视频分片 :return: The command_message of this Update2dModelTrainingJobReq. :rtype: str @@ -142,7 +170,7 @@ def command_message(self): def command_message(self, command_message): """Sets the command_message of this Update2dModelTrainingJobReq. - 命令类型: * UPDATE_VIDEO: 更新视频 * UPLOAD_VIDEO:上传视频 + 命令类型: * UPDATE_VIDEO: 更新视频 * UPLOAD_VIDEO:上传视频 * CONFIRM_ACTION_VIDEO: 确认动作编排视频 * GET_ACTION_VIDEO_MULTIPART: 获取动作编排视频分片 :param command_message: The command_message of this Update2dModelTrainingJobReq. :type command_message: str @@ -153,7 +181,7 @@ def command_message(self, command_message): def video_multipart_count(self): """Gets the video_multipart_count of this Update2dModelTrainingJobReq. - 训练视频上传分片数。 + 训练视频上传分片数(上传时对唯一训练视频文件的数据分片,用于对该文件的并发上传,不是分多个视频文件上传)。 :return: The video_multipart_count of this Update2dModelTrainingJobReq. :rtype: int @@ -164,13 +192,35 @@ def video_multipart_count(self): def video_multipart_count(self, video_multipart_count): """Sets the video_multipart_count of this Update2dModelTrainingJobReq. - 训练视频上传分片数。 + 训练视频上传分片数(上传时对唯一训练视频文件的数据分片,用于对该文件的并发上传,不是分多个视频文件上传)。 :param video_multipart_count: The video_multipart_count of this Update2dModelTrainingJobReq. :type video_multipart_count: int """ self._video_multipart_count = video_multipart_count + @property + def action_video_multipart_count(self): + """Gets the action_video_multipart_count of this Update2dModelTrainingJobReq. + + 动作视频上传分片数。 + + :return: The action_video_multipart_count of this Update2dModelTrainingJobReq. + :rtype: int + """ + return self._action_video_multipart_count + + @action_video_multipart_count.setter + def action_video_multipart_count(self, action_video_multipart_count): + """Sets the action_video_multipart_count of this Update2dModelTrainingJobReq. + + 动作视频上传分片数。 + + :param action_video_multipart_count: The action_video_multipart_count of this Update2dModelTrainingJobReq. + :type action_video_multipart_count: int + """ + self._action_video_multipart_count = action_video_multipart_count + @property def is_background_replacement(self): """Gets the is_background_replacement of this Update2dModelTrainingJobReq. @@ -237,6 +287,72 @@ def tags(self, tags): """ self._tags = tags + @property + def samples_basic_info(self): + """Gets the samples_basic_info of this Update2dModelTrainingJobReq. + + 动作视频样例可修改信息。 + + :return: The samples_basic_info of this Update2dModelTrainingJobReq. + :rtype: list[:class:`huaweicloudsdkmetastudio.v1.ActionBasicSampleInfo`] + """ + return self._samples_basic_info + + @samples_basic_info.setter + def samples_basic_info(self, samples_basic_info): + """Sets the samples_basic_info of this Update2dModelTrainingJobReq. + + 动作视频样例可修改信息。 + + :param samples_basic_info: The samples_basic_info of this Update2dModelTrainingJobReq. + :type samples_basic_info: list[:class:`huaweicloudsdkmetastudio.v1.ActionBasicSampleInfo`] + """ + self._samples_basic_info = samples_basic_info + + @property + def supported_service(self): + """Gets the supported_service of this Update2dModelTrainingJobReq. + + 该任务所生成的模型支持的业务类型,可多选 + + :return: The supported_service of this Update2dModelTrainingJobReq. + :rtype: list[:class:`huaweicloudsdkmetastudio.v1.SupportedServiceEnum`] + """ + return self._supported_service + + @supported_service.setter + def supported_service(self, supported_service): + """Sets the supported_service of this Update2dModelTrainingJobReq. + + 该任务所生成的模型支持的业务类型,可多选 + + :param supported_service: The supported_service of this Update2dModelTrainingJobReq. + :type supported_service: list[:class:`huaweicloudsdkmetastudio.v1.SupportedServiceEnum`] + """ + self._supported_service = supported_service + + @property + def audio_source_type(self): + """Gets the audio_source_type of this Update2dModelTrainingJobReq. + + 声音来源类型 * VIDEO:视频中抽取音频 * AUDIO:单独上传的音频 + + :return: The audio_source_type of this Update2dModelTrainingJobReq. + :rtype: str + """ + return self._audio_source_type + + @audio_source_type.setter + def audio_source_type(self, audio_source_type): + """Sets the audio_source_type of this Update2dModelTrainingJobReq. + + 声音来源类型 * VIDEO:视频中抽取音频 * AUDIO:单独上传的音频 + + :param audio_source_type: The audio_source_type of this Update2dModelTrainingJobReq. + :type audio_source_type: str + """ + self._audio_source_type = audio_source_type + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update2d_model_training_job_response.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update2d_model_training_job_response.py index 0d68521c09..4810ddebc6 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update2d_model_training_job_response.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update2d_model_training_job_response.py @@ -20,6 +20,8 @@ class Update2dModelTrainingJobResponse(SdkResponse): openapi_types = { 'job_id': 'str', 'training_video_upload_url': 'list[str]', + 'action_video_upload_url': 'list[str]', + 'audio_upload_url': 'str', 'cover_upload_url': 'str', 'id_card_image1_upload_url': 'str', 'id_card_image2_upload_url': 'str', @@ -30,6 +32,8 @@ class Update2dModelTrainingJobResponse(SdkResponse): attribute_map = { 'job_id': 'job_id', 'training_video_upload_url': 'training_video_upload_url', + 'action_video_upload_url': 'action_video_upload_url', + 'audio_upload_url': 'audio_upload_url', 'cover_upload_url': 'cover_upload_url', 'id_card_image1_upload_url': 'id_card_image1_upload_url', 'id_card_image2_upload_url': 'id_card_image2_upload_url', @@ -37,7 +41,7 @@ class Update2dModelTrainingJobResponse(SdkResponse): 'x_request_id': 'X-Request-Id' } - def __init__(self, job_id=None, training_video_upload_url=None, cover_upload_url=None, id_card_image1_upload_url=None, id_card_image2_upload_url=None, grant_file_upload_url=None, x_request_id=None): + def __init__(self, job_id=None, training_video_upload_url=None, action_video_upload_url=None, audio_upload_url=None, cover_upload_url=None, id_card_image1_upload_url=None, id_card_image2_upload_url=None, grant_file_upload_url=None, x_request_id=None): """Update2dModelTrainingJobResponse The model defined in huaweicloud sdk @@ -46,6 +50,10 @@ def __init__(self, job_id=None, training_video_upload_url=None, cover_upload_url :type job_id: str :param training_video_upload_url: 分身数字人训练视频上传URL。该url在文件上传成功后失效,只能上传一次。注意:视频必须是1080p或者4K分辨率(横、竖屏皆可)的mp4格式,视频长度须大于等于3分钟且小于等于10分钟,否则审核会不通过。 :type training_video_upload_url: list[str] + :param action_video_upload_url: 分身数字人训练视频上传URL。该url在文件上传成功后失效,只能上传一次。注意:视频必须是1080p或者4K分辨率(横、竖屏皆可)的mp4格式,视频长度须大于等于3分钟且小于等于10分钟,否则审核会不通过。 + :type action_video_upload_url: list[str] + :param audio_upload_url: 音频数据训练上传URL。该url在文件上传成功后失效,只能上传一次 + :type audio_upload_url: str :param cover_upload_url: 模型封面上传URL。该URL在文件上传成功后失效,只能上传一次。 :type cover_upload_url: str :param id_card_image1_upload_url: 身份证正面照片上传URL。该URL在文件上传成功后失效,只能上传一次。注意:非NA用户必须上传,否则审核会不通过。 @@ -62,6 +70,8 @@ def __init__(self, job_id=None, training_video_upload_url=None, cover_upload_url self._job_id = None self._training_video_upload_url = None + self._action_video_upload_url = None + self._audio_upload_url = None self._cover_upload_url = None self._id_card_image1_upload_url = None self._id_card_image2_upload_url = None @@ -73,6 +83,10 @@ def __init__(self, job_id=None, training_video_upload_url=None, cover_upload_url self.job_id = job_id if training_video_upload_url is not None: self.training_video_upload_url = training_video_upload_url + if action_video_upload_url is not None: + self.action_video_upload_url = action_video_upload_url + if audio_upload_url is not None: + self.audio_upload_url = audio_upload_url if cover_upload_url is not None: self.cover_upload_url = cover_upload_url if id_card_image1_upload_url is not None: @@ -128,6 +142,50 @@ def training_video_upload_url(self, training_video_upload_url): """ self._training_video_upload_url = training_video_upload_url + @property + def action_video_upload_url(self): + """Gets the action_video_upload_url of this Update2dModelTrainingJobResponse. + + 分身数字人训练视频上传URL。该url在文件上传成功后失效,只能上传一次。注意:视频必须是1080p或者4K分辨率(横、竖屏皆可)的mp4格式,视频长度须大于等于3分钟且小于等于10分钟,否则审核会不通过。 + + :return: The action_video_upload_url of this Update2dModelTrainingJobResponse. + :rtype: list[str] + """ + return self._action_video_upload_url + + @action_video_upload_url.setter + def action_video_upload_url(self, action_video_upload_url): + """Sets the action_video_upload_url of this Update2dModelTrainingJobResponse. + + 分身数字人训练视频上传URL。该url在文件上传成功后失效,只能上传一次。注意:视频必须是1080p或者4K分辨率(横、竖屏皆可)的mp4格式,视频长度须大于等于3分钟且小于等于10分钟,否则审核会不通过。 + + :param action_video_upload_url: The action_video_upload_url of this Update2dModelTrainingJobResponse. + :type action_video_upload_url: list[str] + """ + self._action_video_upload_url = action_video_upload_url + + @property + def audio_upload_url(self): + """Gets the audio_upload_url of this Update2dModelTrainingJobResponse. + + 音频数据训练上传URL。该url在文件上传成功后失效,只能上传一次 + + :return: The audio_upload_url of this Update2dModelTrainingJobResponse. + :rtype: str + """ + return self._audio_upload_url + + @audio_upload_url.setter + def audio_upload_url(self, audio_upload_url): + """Sets the audio_upload_url of this Update2dModelTrainingJobResponse. + + 音频数据训练上传URL。该url在文件上传成功后失效,只能上传一次 + + :param audio_upload_url: The audio_upload_url of this Update2dModelTrainingJobResponse. + :type audio_upload_url: str + """ + self._audio_upload_url = audio_upload_url + @property def cover_upload_url(self): """Gets the cover_upload_url of this Update2dModelTrainingJobResponse. diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_interaction_rule_group_response.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_interaction_rule_group_response.py index 93e60657e5..f86df0b0ec 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_interaction_rule_group_response.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_interaction_rule_group_response.py @@ -46,9 +46,9 @@ def __init__(self, group_id=None, group_name=None, interaction_rules=None, creat :type group_name: str :param interaction_rules: 互动规则列表 :type interaction_rules: list[:class:`huaweicloudsdkmetastudio.v1.InteractionRuleDetailInfo`] - :param create_time: 创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + :param create_time: 创建时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :type create_time: str - :param update_time: 更新时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + :param update_time: 更新时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :type update_time: str :param x_request_id: :type x_request_id: str @@ -147,7 +147,7 @@ def interaction_rules(self, interaction_rules): def create_time(self): """Gets the create_time of this UpdateInteractionRuleGroupResponse. - 创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 创建时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :return: The create_time of this UpdateInteractionRuleGroupResponse. :rtype: str @@ -158,7 +158,7 @@ def create_time(self): def create_time(self, create_time): """Sets the create_time of this UpdateInteractionRuleGroupResponse. - 创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 创建时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :param create_time: The create_time of this UpdateInteractionRuleGroupResponse. :type create_time: str @@ -169,7 +169,7 @@ def create_time(self, create_time): def update_time(self): """Gets the update_time of this UpdateInteractionRuleGroupResponse. - 更新时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 更新时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :return: The update_time of this UpdateInteractionRuleGroupResponse. :rtype: str @@ -180,7 +180,7 @@ def update_time(self): def update_time(self, update_time): """Sets the update_time of this UpdateInteractionRuleGroupResponse. - 更新时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 更新时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :param update_time: The update_time of this UpdateInteractionRuleGroupResponse. :type update_time: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_smart_chat_room_response.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_smart_chat_room_response.py index 6b175a7010..74a00b2057 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_smart_chat_room_response.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_smart_chat_room_response.py @@ -74,7 +74,7 @@ def __init__(self, room_name=None, room_description=None, video_config=None, mod :type voice_config: :class:`huaweicloudsdkmetastudio.v1.VoiceConfig` :param robot_id: 机器人ID。获取方法请参考[创建应用](CreateRobot.xml)。 :type robot_id: str - :param concurrency: 并发路数。 + :param concurrency: **参数解释**: 并发路数。 :type concurrency: int :param background_config: :type background_config: :class:`huaweicloudsdkmetastudio.v1.BackgroundConfigInfo` @@ -88,9 +88,9 @@ def __init__(self, room_name=None, room_description=None, video_config=None, mod :type chat_video_type: str :param room_id: 对话ID。 :type room_id: str - :param create_time: 智能交互对话创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + :param create_time: 智能交互对话创建时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :type create_time: str - :param update_time: 智能交互对话更新时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + :param update_time: 智能交互对话更新时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :type update_time: str :param cover_url: 对话封面图URL :type cover_url: str @@ -281,7 +281,7 @@ def robot_id(self, robot_id): def concurrency(self): """Gets the concurrency of this UpdateSmartChatRoomResponse. - 并发路数。 + **参数解释**: 并发路数。 :return: The concurrency of this UpdateSmartChatRoomResponse. :rtype: int @@ -292,7 +292,7 @@ def concurrency(self): def concurrency(self, concurrency): """Sets the concurrency of this UpdateSmartChatRoomResponse. - 并发路数。 + **参数解释**: 并发路数。 :param concurrency: The concurrency of this UpdateSmartChatRoomResponse. :type concurrency: int @@ -423,7 +423,7 @@ def room_id(self, room_id): def create_time(self): """Gets the create_time of this UpdateSmartChatRoomResponse. - 智能交互对话创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 智能交互对话创建时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :return: The create_time of this UpdateSmartChatRoomResponse. :rtype: str @@ -434,7 +434,7 @@ def create_time(self): def create_time(self, create_time): """Sets the create_time of this UpdateSmartChatRoomResponse. - 智能交互对话创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 智能交互对话创建时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :param create_time: The create_time of this UpdateSmartChatRoomResponse. :type create_time: str @@ -445,7 +445,7 @@ def create_time(self, create_time): def update_time(self): """Gets the update_time of this UpdateSmartChatRoomResponse. - 智能交互对话更新时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 智能交互对话更新时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :return: The update_time of this UpdateSmartChatRoomResponse. :rtype: str @@ -456,7 +456,7 @@ def update_time(self): def update_time(self, update_time): """Sets the update_time of this UpdateSmartChatRoomResponse. - 智能交互对话更新时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 智能交互对话更新时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :param update_time: The update_time of this UpdateSmartChatRoomResponse. :type update_time: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_smart_live_room_response.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_smart_live_room_response.py index 295a9a17e2..c0d6285199 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_smart_live_room_response.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_smart_live_room_response.py @@ -78,11 +78,11 @@ def __init__(self, room_name=None, room_description=None, room_type=None, scene_ The model defined in huaweicloud sdk - :param room_name: 直播间名称 + :param room_name: **参数解释**: 直播间名称。 **约束限制**: 不涉及。 **取值范围**: 字符长度1-256位。 **默认取值**: 不涉及。 :type room_name: str - :param room_description: 直播间描述。 + :param room_description: **参数解释**: 直播间描述。 **约束限制**: 不涉及。 **取值范围**: 字符长度0-1024位。 **默认取值**: 不涉及。 :type room_description: str - :param room_type: 直播间类型。 * NORMAL: 普通直播间,直播间一直存在,可以反复开播 * TEMP: 临时直播间,直播任务结束后自动清理直播间。 * TEMPLATE: 直播间模板。 + :param room_type: **参数解释**: 直播间类型。 **约束限制**: 不涉及。 **取值范围**: * NORMAL:普通直播间,直播间一直存在,可以反复开播 * TEMP:临时直播间,直播任务结束后自动清理直播间。 * TEMPLATE:直播间模板。 :type room_type: str :param scene_scripts: 默认直播剧本列表。 :type scene_scripts: list[:class:`huaweicloudsdkmetastudio.v1.LiveVideoScriptInfo`] @@ -92,11 +92,11 @@ def __init__(self, room_name=None, room_description=None, room_type=None, scene_ :type play_policy: :class:`huaweicloudsdkmetastudio.v1.PlayPolicy` :param video_config: :type video_config: :class:`huaweicloudsdkmetastudio.v1.VideoConfig` - :param output_urls: RTMP视频推流第三方直播平台地址。 + :param output_urls: **参数解释**: RTMP视频推流第三方直播平台地址。 > 直播过程中刷新地址,需要调用COMMAND命令REFRESH_OUTPUT_URL。 **约束限制**: 不涉及 **取值范围**: 当前仅支持一条RTMP出流地址。 **默认取值**: 不涉及。 :type output_urls: list[str] - :param stream_keys: RTMP视频推流第三方直播平台流秘钥,与推流地址对应。 + :param stream_keys: **参数解释**: RTMP视频推流第三方直播平台流密钥,与推流地址对应。 > 直播过程中刷新地址,需要调用COMMAND命令REFRESH_OUTPUT_URL。 **约束限制**: 不涉及 **取值范围**: 当前仅支持一条RTMP出流地址。 **默认取值**: 不涉及。 :type stream_keys: list[str] - :param backup_model_asset_ids: 主播轮换时备选主播数字人资产ID(仅形象资产,不包含音色),可以从资产库中查询。 + :param backup_model_asset_ids: **参数解释**: 主播轮换时备选主播数字人资产ID(仅形象资产,不包含声音)。 **约束限制**: 不涉及 **取值范围**: 当前最大支持5个备选主播。 数字人资产ID,字符长度0-64位。 **默认取值**: 不涉及 :type backup_model_asset_ids: list[str] :param live_event_callback_config: :type live_event_callback_config: :class:`huaweicloudsdkmetastudio.v1.LiveEventCallBackConfig` @@ -106,17 +106,17 @@ def __init__(self, room_name=None, room_description=None, room_type=None, scene_ :type review_config: :class:`huaweicloudsdkmetastudio.v1.ReviewConfig` :param shared_config: :type shared_config: :class:`huaweicloudsdkmetastudio.v1.SharedConfig` - :param view_mode: 横竖屏类型。默认值为:VERTICAL。 * LANDSCAPE:横屏。 * VERTICAL: 竖屏。 + :param view_mode: **参数解释**: 横竖屏类型。 **约束限制**: 用户无需填写,通过video_config中分辨率判断 **取值范围**: * LANDSCAPE:横屏。 * VERTICAL: 竖屏。 :type view_mode: str :param co_streamer_config: :type co_streamer_config: :class:`huaweicloudsdkmetastudio.v1.CoStreamerConfig` - :param priv_data: 私有数据,用户填写,原样带回。 + :param priv_data: **参数解释**: 匹配值私有数据,用户填写,原样带回。 **约束限制**: 不涉及 **取值范围**: 字符长度0-8192 **默认取值**: 不涉及。 :type priv_data: str :param room_id: 直播间ID :type room_id: str - :param create_time: 直播间创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + :param create_time: 直播间创建时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :type create_time: str - :param update_time: 直播间更新时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + :param update_time: 直播间更新时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :type update_time: str :param cover_url: 直播间封面图URL :type cover_url: str @@ -213,7 +213,7 @@ def __init__(self, room_name=None, room_description=None, room_type=None, scene_ def room_name(self): """Gets the room_name of this UpdateSmartLiveRoomResponse. - 直播间名称 + **参数解释**: 直播间名称。 **约束限制**: 不涉及。 **取值范围**: 字符长度1-256位。 **默认取值**: 不涉及。 :return: The room_name of this UpdateSmartLiveRoomResponse. :rtype: str @@ -224,7 +224,7 @@ def room_name(self): def room_name(self, room_name): """Sets the room_name of this UpdateSmartLiveRoomResponse. - 直播间名称 + **参数解释**: 直播间名称。 **约束限制**: 不涉及。 **取值范围**: 字符长度1-256位。 **默认取值**: 不涉及。 :param room_name: The room_name of this UpdateSmartLiveRoomResponse. :type room_name: str @@ -235,7 +235,7 @@ def room_name(self, room_name): def room_description(self): """Gets the room_description of this UpdateSmartLiveRoomResponse. - 直播间描述。 + **参数解释**: 直播间描述。 **约束限制**: 不涉及。 **取值范围**: 字符长度0-1024位。 **默认取值**: 不涉及。 :return: The room_description of this UpdateSmartLiveRoomResponse. :rtype: str @@ -246,7 +246,7 @@ def room_description(self): def room_description(self, room_description): """Sets the room_description of this UpdateSmartLiveRoomResponse. - 直播间描述。 + **参数解释**: 直播间描述。 **约束限制**: 不涉及。 **取值范围**: 字符长度0-1024位。 **默认取值**: 不涉及。 :param room_description: The room_description of this UpdateSmartLiveRoomResponse. :type room_description: str @@ -257,7 +257,7 @@ def room_description(self, room_description): def room_type(self): """Gets the room_type of this UpdateSmartLiveRoomResponse. - 直播间类型。 * NORMAL: 普通直播间,直播间一直存在,可以反复开播 * TEMP: 临时直播间,直播任务结束后自动清理直播间。 * TEMPLATE: 直播间模板。 + **参数解释**: 直播间类型。 **约束限制**: 不涉及。 **取值范围**: * NORMAL:普通直播间,直播间一直存在,可以反复开播 * TEMP:临时直播间,直播任务结束后自动清理直播间。 * TEMPLATE:直播间模板。 :return: The room_type of this UpdateSmartLiveRoomResponse. :rtype: str @@ -268,7 +268,7 @@ def room_type(self): def room_type(self, room_type): """Sets the room_type of this UpdateSmartLiveRoomResponse. - 直播间类型。 * NORMAL: 普通直播间,直播间一直存在,可以反复开播 * TEMP: 临时直播间,直播任务结束后自动清理直播间。 * TEMPLATE: 直播间模板。 + **参数解释**: 直播间类型。 **约束限制**: 不涉及。 **取值范围**: * NORMAL:普通直播间,直播间一直存在,可以反复开播 * TEMP:临时直播间,直播任务结束后自动清理直播间。 * TEMPLATE:直播间模板。 :param room_type: The room_type of this UpdateSmartLiveRoomResponse. :type room_type: str @@ -359,7 +359,7 @@ def video_config(self, video_config): def output_urls(self): """Gets the output_urls of this UpdateSmartLiveRoomResponse. - RTMP视频推流第三方直播平台地址。 + **参数解释**: RTMP视频推流第三方直播平台地址。 > 直播过程中刷新地址,需要调用COMMAND命令REFRESH_OUTPUT_URL。 **约束限制**: 不涉及 **取值范围**: 当前仅支持一条RTMP出流地址。 **默认取值**: 不涉及。 :return: The output_urls of this UpdateSmartLiveRoomResponse. :rtype: list[str] @@ -370,7 +370,7 @@ def output_urls(self): def output_urls(self, output_urls): """Sets the output_urls of this UpdateSmartLiveRoomResponse. - RTMP视频推流第三方直播平台地址。 + **参数解释**: RTMP视频推流第三方直播平台地址。 > 直播过程中刷新地址,需要调用COMMAND命令REFRESH_OUTPUT_URL。 **约束限制**: 不涉及 **取值范围**: 当前仅支持一条RTMP出流地址。 **默认取值**: 不涉及。 :param output_urls: The output_urls of this UpdateSmartLiveRoomResponse. :type output_urls: list[str] @@ -381,7 +381,7 @@ def output_urls(self, output_urls): def stream_keys(self): """Gets the stream_keys of this UpdateSmartLiveRoomResponse. - RTMP视频推流第三方直播平台流秘钥,与推流地址对应。 + **参数解释**: RTMP视频推流第三方直播平台流密钥,与推流地址对应。 > 直播过程中刷新地址,需要调用COMMAND命令REFRESH_OUTPUT_URL。 **约束限制**: 不涉及 **取值范围**: 当前仅支持一条RTMP出流地址。 **默认取值**: 不涉及。 :return: The stream_keys of this UpdateSmartLiveRoomResponse. :rtype: list[str] @@ -392,7 +392,7 @@ def stream_keys(self): def stream_keys(self, stream_keys): """Sets the stream_keys of this UpdateSmartLiveRoomResponse. - RTMP视频推流第三方直播平台流秘钥,与推流地址对应。 + **参数解释**: RTMP视频推流第三方直播平台流密钥,与推流地址对应。 > 直播过程中刷新地址,需要调用COMMAND命令REFRESH_OUTPUT_URL。 **约束限制**: 不涉及 **取值范围**: 当前仅支持一条RTMP出流地址。 **默认取值**: 不涉及。 :param stream_keys: The stream_keys of this UpdateSmartLiveRoomResponse. :type stream_keys: list[str] @@ -403,7 +403,7 @@ def stream_keys(self, stream_keys): def backup_model_asset_ids(self): """Gets the backup_model_asset_ids of this UpdateSmartLiveRoomResponse. - 主播轮换时备选主播数字人资产ID(仅形象资产,不包含音色),可以从资产库中查询。 + **参数解释**: 主播轮换时备选主播数字人资产ID(仅形象资产,不包含声音)。 **约束限制**: 不涉及 **取值范围**: 当前最大支持5个备选主播。 数字人资产ID,字符长度0-64位。 **默认取值**: 不涉及 :return: The backup_model_asset_ids of this UpdateSmartLiveRoomResponse. :rtype: list[str] @@ -414,7 +414,7 @@ def backup_model_asset_ids(self): def backup_model_asset_ids(self, backup_model_asset_ids): """Sets the backup_model_asset_ids of this UpdateSmartLiveRoomResponse. - 主播轮换时备选主播数字人资产ID(仅形象资产,不包含音色),可以从资产库中查询。 + **参数解释**: 主播轮换时备选主播数字人资产ID(仅形象资产,不包含声音)。 **约束限制**: 不涉及 **取值范围**: 当前最大支持5个备选主播。 数字人资产ID,字符长度0-64位。 **默认取值**: 不涉及 :param backup_model_asset_ids: The backup_model_asset_ids of this UpdateSmartLiveRoomResponse. :type backup_model_asset_ids: list[str] @@ -497,7 +497,7 @@ def shared_config(self, shared_config): def view_mode(self): """Gets the view_mode of this UpdateSmartLiveRoomResponse. - 横竖屏类型。默认值为:VERTICAL。 * LANDSCAPE:横屏。 * VERTICAL: 竖屏。 + **参数解释**: 横竖屏类型。 **约束限制**: 用户无需填写,通过video_config中分辨率判断 **取值范围**: * LANDSCAPE:横屏。 * VERTICAL: 竖屏。 :return: The view_mode of this UpdateSmartLiveRoomResponse. :rtype: str @@ -508,7 +508,7 @@ def view_mode(self): def view_mode(self, view_mode): """Sets the view_mode of this UpdateSmartLiveRoomResponse. - 横竖屏类型。默认值为:VERTICAL。 * LANDSCAPE:横屏。 * VERTICAL: 竖屏。 + **参数解释**: 横竖屏类型。 **约束限制**: 用户无需填写,通过video_config中分辨率判断 **取值范围**: * LANDSCAPE:横屏。 * VERTICAL: 竖屏。 :param view_mode: The view_mode of this UpdateSmartLiveRoomResponse. :type view_mode: str @@ -537,7 +537,7 @@ def co_streamer_config(self, co_streamer_config): def priv_data(self): """Gets the priv_data of this UpdateSmartLiveRoomResponse. - 私有数据,用户填写,原样带回。 + **参数解释**: 匹配值私有数据,用户填写,原样带回。 **约束限制**: 不涉及 **取值范围**: 字符长度0-8192 **默认取值**: 不涉及。 :return: The priv_data of this UpdateSmartLiveRoomResponse. :rtype: str @@ -548,7 +548,7 @@ def priv_data(self): def priv_data(self, priv_data): """Sets the priv_data of this UpdateSmartLiveRoomResponse. - 私有数据,用户填写,原样带回。 + **参数解释**: 匹配值私有数据,用户填写,原样带回。 **约束限制**: 不涉及 **取值范围**: 字符长度0-8192 **默认取值**: 不涉及。 :param priv_data: The priv_data of this UpdateSmartLiveRoomResponse. :type priv_data: str @@ -581,7 +581,7 @@ def room_id(self, room_id): def create_time(self): """Gets the create_time of this UpdateSmartLiveRoomResponse. - 直播间创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 直播间创建时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :return: The create_time of this UpdateSmartLiveRoomResponse. :rtype: str @@ -592,7 +592,7 @@ def create_time(self): def create_time(self, create_time): """Sets the create_time of this UpdateSmartLiveRoomResponse. - 直播间创建时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 直播间创建时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :param create_time: The create_time of this UpdateSmartLiveRoomResponse. :type create_time: str @@ -603,7 +603,7 @@ def create_time(self, create_time): def update_time(self): """Gets the update_time of this UpdateSmartLiveRoomResponse. - 直播间更新时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 直播间更新时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :return: The update_time of this UpdateSmartLiveRoomResponse. :rtype: str @@ -614,7 +614,7 @@ def update_time(self): def update_time(self, update_time): """Sets the update_time of this UpdateSmartLiveRoomResponse. - 直播间更新时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。 + 直播间更新时间,格式遵循:RFC 3339 如“2021-01-10T08:43:17Z”。 :param update_time: The update_time of this UpdateSmartLiveRoomResponse. :type update_time: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_video_scripts_req.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_video_scripts_req.py index 7244210a13..cf12c70430 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_video_scripts_req.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/update_video_scripts_req.py @@ -51,23 +51,23 @@ def __init__(self, script_name=None, script_description=None, view_mode=None, mo The model defined in huaweicloud sdk - :param script_name: 剧本名称 + :param script_name: **参数解释**: 剧本名称。 **约束限制**: 不涉及。 **取值范围**: 只能使用中英文字符,字符长度1-256位。 **默认取值**: 不涉及。 :type script_name: str - :param script_description: 剧本描述。 + :param script_description: **参数解释**: 剧本描述。 **约束限制**: 不涉及。 **取值范围**: 字符长度0-1024位。 **默认取值**: 不涉及。 :type script_description: str - :param view_mode: 横竖屏类型。默认值是LANDSCAPE。 * LANDSCAPE:横屏。 * VERTICAL: 竖屏。 + :param view_mode: **参数解释**: 横竖屏类型。 **约束限制**: 不涉及。 **取值范围**: * LANDSCAPE:横屏。 * VERTICAL:竖屏。 :type view_mode: str - :param model_asset_id: 数字人模型资产ID,可以从资产库中查询。 + :param model_asset_id: **参数解释**: 数字人模型资产ID。 **约束限制**: 不涉及 **取值范围**: 字符长度0-64位。 **默认取值**: 不涉及 :type model_asset_id: str - :param model_asset_type: 数字人模型类型。 * HUMAN_MODEL_2D:分身数字人 * HUMAN_MODEL_3D:3D数字人 + :param model_asset_type: **参数解释**: 数字人模型类型。 **约束限制**: 不涉及 **取值范围**: * HUMAN_MODEL_2D:分身数字人 * HUMAN_MODEL_3D:3D数字人 **默认取值**: 不涉及 :type model_asset_type: str :param voice_config: :type voice_config: :class:`huaweicloudsdkmetastudio.v1.VoiceConfig` :param video_config: :type video_config: :class:`huaweicloudsdkmetastudio.v1.VideoConfig` - :param scene_asset_id: 场景资产ID。 > * 分身数字人视频制作不需要填写该参数。 > * 若填写,可以从资产库中查询。 + :param scene_asset_id: **参数解释**: 场景资产ID。 **约束限制**: 分身数字人视频制作不需要填写该参数。 **取值范围**: 字符长度0-64位 **默认取值**: 不涉及 :type scene_asset_id: str - :param priv_data: 私有数据,用户填写,原样带回。 + :param priv_data: **参数解释**: 私有数据,用户填写,原样带回。 **约束限制**: 不涉及 **取值范围**: 字符长度0-8192位 **默认取值**: 不涉及 :type priv_data: str :param background_music_config: :type background_music_config: :class:`huaweicloudsdkmetastudio.v1.BackgroundMusicConfig` @@ -122,7 +122,7 @@ def __init__(self, script_name=None, script_description=None, view_mode=None, mo def script_name(self): """Gets the script_name of this UpdateVideoScriptsReq. - 剧本名称 + **参数解释**: 剧本名称。 **约束限制**: 不涉及。 **取值范围**: 只能使用中英文字符,字符长度1-256位。 **默认取值**: 不涉及。 :return: The script_name of this UpdateVideoScriptsReq. :rtype: str @@ -133,7 +133,7 @@ def script_name(self): def script_name(self, script_name): """Sets the script_name of this UpdateVideoScriptsReq. - 剧本名称 + **参数解释**: 剧本名称。 **约束限制**: 不涉及。 **取值范围**: 只能使用中英文字符,字符长度1-256位。 **默认取值**: 不涉及。 :param script_name: The script_name of this UpdateVideoScriptsReq. :type script_name: str @@ -144,7 +144,7 @@ def script_name(self, script_name): def script_description(self): """Gets the script_description of this UpdateVideoScriptsReq. - 剧本描述。 + **参数解释**: 剧本描述。 **约束限制**: 不涉及。 **取值范围**: 字符长度0-1024位。 **默认取值**: 不涉及。 :return: The script_description of this UpdateVideoScriptsReq. :rtype: str @@ -155,7 +155,7 @@ def script_description(self): def script_description(self, script_description): """Sets the script_description of this UpdateVideoScriptsReq. - 剧本描述。 + **参数解释**: 剧本描述。 **约束限制**: 不涉及。 **取值范围**: 字符长度0-1024位。 **默认取值**: 不涉及。 :param script_description: The script_description of this UpdateVideoScriptsReq. :type script_description: str @@ -166,7 +166,7 @@ def script_description(self, script_description): def view_mode(self): """Gets the view_mode of this UpdateVideoScriptsReq. - 横竖屏类型。默认值是LANDSCAPE。 * LANDSCAPE:横屏。 * VERTICAL: 竖屏。 + **参数解释**: 横竖屏类型。 **约束限制**: 不涉及。 **取值范围**: * LANDSCAPE:横屏。 * VERTICAL:竖屏。 :return: The view_mode of this UpdateVideoScriptsReq. :rtype: str @@ -177,7 +177,7 @@ def view_mode(self): def view_mode(self, view_mode): """Sets the view_mode of this UpdateVideoScriptsReq. - 横竖屏类型。默认值是LANDSCAPE。 * LANDSCAPE:横屏。 * VERTICAL: 竖屏。 + **参数解释**: 横竖屏类型。 **约束限制**: 不涉及。 **取值范围**: * LANDSCAPE:横屏。 * VERTICAL:竖屏。 :param view_mode: The view_mode of this UpdateVideoScriptsReq. :type view_mode: str @@ -188,7 +188,7 @@ def view_mode(self, view_mode): def model_asset_id(self): """Gets the model_asset_id of this UpdateVideoScriptsReq. - 数字人模型资产ID,可以从资产库中查询。 + **参数解释**: 数字人模型资产ID。 **约束限制**: 不涉及 **取值范围**: 字符长度0-64位。 **默认取值**: 不涉及 :return: The model_asset_id of this UpdateVideoScriptsReq. :rtype: str @@ -199,7 +199,7 @@ def model_asset_id(self): def model_asset_id(self, model_asset_id): """Sets the model_asset_id of this UpdateVideoScriptsReq. - 数字人模型资产ID,可以从资产库中查询。 + **参数解释**: 数字人模型资产ID。 **约束限制**: 不涉及 **取值范围**: 字符长度0-64位。 **默认取值**: 不涉及 :param model_asset_id: The model_asset_id of this UpdateVideoScriptsReq. :type model_asset_id: str @@ -210,7 +210,7 @@ def model_asset_id(self, model_asset_id): def model_asset_type(self): """Gets the model_asset_type of this UpdateVideoScriptsReq. - 数字人模型类型。 * HUMAN_MODEL_2D:分身数字人 * HUMAN_MODEL_3D:3D数字人 + **参数解释**: 数字人模型类型。 **约束限制**: 不涉及 **取值范围**: * HUMAN_MODEL_2D:分身数字人 * HUMAN_MODEL_3D:3D数字人 **默认取值**: 不涉及 :return: The model_asset_type of this UpdateVideoScriptsReq. :rtype: str @@ -221,7 +221,7 @@ def model_asset_type(self): def model_asset_type(self, model_asset_type): """Sets the model_asset_type of this UpdateVideoScriptsReq. - 数字人模型类型。 * HUMAN_MODEL_2D:分身数字人 * HUMAN_MODEL_3D:3D数字人 + **参数解释**: 数字人模型类型。 **约束限制**: 不涉及 **取值范围**: * HUMAN_MODEL_2D:分身数字人 * HUMAN_MODEL_3D:3D数字人 **默认取值**: 不涉及 :param model_asset_type: The model_asset_type of this UpdateVideoScriptsReq. :type model_asset_type: str @@ -268,7 +268,7 @@ def video_config(self, video_config): def scene_asset_id(self): """Gets the scene_asset_id of this UpdateVideoScriptsReq. - 场景资产ID。 > * 分身数字人视频制作不需要填写该参数。 > * 若填写,可以从资产库中查询。 + **参数解释**: 场景资产ID。 **约束限制**: 分身数字人视频制作不需要填写该参数。 **取值范围**: 字符长度0-64位 **默认取值**: 不涉及 :return: The scene_asset_id of this UpdateVideoScriptsReq. :rtype: str @@ -279,7 +279,7 @@ def scene_asset_id(self): def scene_asset_id(self, scene_asset_id): """Sets the scene_asset_id of this UpdateVideoScriptsReq. - 场景资产ID。 > * 分身数字人视频制作不需要填写该参数。 > * 若填写,可以从资产库中查询。 + **参数解释**: 场景资产ID。 **约束限制**: 分身数字人视频制作不需要填写该参数。 **取值范围**: 字符长度0-64位 **默认取值**: 不涉及 :param scene_asset_id: The scene_asset_id of this UpdateVideoScriptsReq. :type scene_asset_id: str @@ -290,7 +290,7 @@ def scene_asset_id(self, scene_asset_id): def priv_data(self): """Gets the priv_data of this UpdateVideoScriptsReq. - 私有数据,用户填写,原样带回。 + **参数解释**: 私有数据,用户填写,原样带回。 **约束限制**: 不涉及 **取值范围**: 字符长度0-8192位 **默认取值**: 不涉及 :return: The priv_data of this UpdateVideoScriptsReq. :rtype: str @@ -301,7 +301,7 @@ def priv_data(self): def priv_data(self, priv_data): """Sets the priv_data of this UpdateVideoScriptsReq. - 私有数据,用户填写,原样带回。 + **参数解释**: 私有数据,用户填写,原样带回。 **约束限制**: 不涉及 **取值范围**: 字符长度0-8192位 **默认取值**: 不涉及 :param priv_data: The priv_data of this UpdateVideoScriptsReq. :type priv_data: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/verify_video_matting_info.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/verify_video_matting_info.py new file mode 100644 index 0000000000..57324a70f0 --- /dev/null +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/verify_video_matting_info.py @@ -0,0 +1,231 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class VerifyVideoMattingInfo: + + """ + 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 = { + 'dx': 'int', + 'dy': 'int', + 'width': 'int', + 'height': 'int', + 'method': 'str' + } + + attribute_map = { + 'dx': 'dx', + 'dy': 'dy', + 'width': 'width', + 'height': 'height', + 'method': 'method' + } + + def __init__(self, dx=None, dy=None, width=None, height=None, method=None): + """VerifyVideoMattingInfo + + The model defined in huaweicloud sdk + + :param dx: 区域左上角像素点的X轴位置值。 + :type dx: int + :param dy: 区域左上角像素点的Y轴位置值。 + :type dy: int + :param width: 区域宽度像素值。 + :type width: int + :param height: 区域高度像素值。 + :type height: int + :param method: 资源操作类型。 * RESERVED: 保留区域 * DELETE:删除区域 * NO_DEGREEN:无区域 + :type method: str + """ + + + + self._dx = None + self._dy = None + self._width = None + self._height = None + self._method = None + self.discriminator = None + + if dx is not None: + self.dx = dx + if dy is not None: + self.dy = dy + if width is not None: + self.width = width + if height is not None: + self.height = height + if method is not None: + self.method = method + + @property + def dx(self): + """Gets the dx of this VerifyVideoMattingInfo. + + 区域左上角像素点的X轴位置值。 + + :return: The dx of this VerifyVideoMattingInfo. + :rtype: int + """ + return self._dx + + @dx.setter + def dx(self, dx): + """Sets the dx of this VerifyVideoMattingInfo. + + 区域左上角像素点的X轴位置值。 + + :param dx: The dx of this VerifyVideoMattingInfo. + :type dx: int + """ + self._dx = dx + + @property + def dy(self): + """Gets the dy of this VerifyVideoMattingInfo. + + 区域左上角像素点的Y轴位置值。 + + :return: The dy of this VerifyVideoMattingInfo. + :rtype: int + """ + return self._dy + + @dy.setter + def dy(self, dy): + """Sets the dy of this VerifyVideoMattingInfo. + + 区域左上角像素点的Y轴位置值。 + + :param dy: The dy of this VerifyVideoMattingInfo. + :type dy: int + """ + self._dy = dy + + @property + def width(self): + """Gets the width of this VerifyVideoMattingInfo. + + 区域宽度像素值。 + + :return: The width of this VerifyVideoMattingInfo. + :rtype: int + """ + return self._width + + @width.setter + def width(self, width): + """Sets the width of this VerifyVideoMattingInfo. + + 区域宽度像素值。 + + :param width: The width of this VerifyVideoMattingInfo. + :type width: int + """ + self._width = width + + @property + def height(self): + """Gets the height of this VerifyVideoMattingInfo. + + 区域高度像素值。 + + :return: The height of this VerifyVideoMattingInfo. + :rtype: int + """ + return self._height + + @height.setter + def height(self, height): + """Sets the height of this VerifyVideoMattingInfo. + + 区域高度像素值。 + + :param height: The height of this VerifyVideoMattingInfo. + :type height: int + """ + self._height = height + + @property + def method(self): + """Gets the method of this VerifyVideoMattingInfo. + + 资源操作类型。 * RESERVED: 保留区域 * DELETE:删除区域 * NO_DEGREEN:无区域 + + :return: The method of this VerifyVideoMattingInfo. + :rtype: str + """ + return self._method + + @method.setter + def method(self, method): + """Sets the method of this VerifyVideoMattingInfo. + + 资源操作类型。 * RESERVED: 保留区域 * DELETE:删除区域 * NO_DEGREEN:无区域 + + :param method: The method of this VerifyVideoMattingInfo. + :type method: str + """ + self._method = method + + 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, VerifyVideoMattingInfo): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/video_config.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/video_config.py index 49f0efbd95..b8a32583cb 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/video_config.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/video_config.py @@ -49,27 +49,27 @@ def __init__(self, clip_mode=None, codec=None, bitrate=None, width=None, height= The model defined in huaweicloud sdk - :param clip_mode: 输出视频的剪辑方式。默认值RESIZE。 * RESIZE:视频缩放。 * CROP:视频裁剪。 + :param clip_mode: **参数解释**: 输出视频的剪辑方式。 **约束限制**: 不涉及。 **取值范围**: * RESIZE:视频缩放。 * CROP:视频裁剪。 :type clip_mode: str - :param codec: 视频编码格式及视频文件格式。 * H264: h264编码,输出mp4文件 * VP8:vp8编码,输出webm文件 + :param codec: **参数解释**: 视频编码格式及视频文件格式。 **约束限制**: 仅分身数字人视频制作支持VP8编码。 **取值范围**: * H264:h264编码,输出mp4文件。 * VP8:vp8编码,输出webm文件。 **默认取值**: 不涉及 :type codec: str - :param bitrate: 输出平均码率。 单位:kbps。 最小值40,最大值30000。 > * 分身数字人视频制作采用质量优先,可能会超过设置的码率。 > * 分身数字人直播码率范围[1000, 8000]。 + :param bitrate: **参数解释**: 输出平均码率。单位:kbps。 **约束限制**: * 分身数字人视频制作采用质量优先,可能会超过设置的码率。 * 分身数字人直播码率范围[1000, 8000]。 **默认取值**: 不涉及 :type bitrate: int - :param width: 视频宽度。 单位:像素。 > * clip_mode=RESIZE时,当前支持1920x1080、1080x1920、1280x720、720x1280、3840x2160、2160x3840六种分辨率。4K分辨率视频需要分身数字人模型支持4K的情况下才能使用。 > * clip_mode=CROP,裁剪后视频,(dx,dy)为原点,保留视频像宽度为width。 > * 分身数字人直播目前只支持1080x1920。 + :param width: **参数解释**: 视频宽度。单位:像素。 **约束限制**: * clip_mode=RESIZE时,当前支持1920x1080、1080x1920、1280x720、720x1280、3840x2160、2160x3840六种分辨率。4K分辨率视频需要分身数字人模型支持4K的情况下才能使用。 * clip_mode=CROP,裁剪后视频,(dx,dy)为原点,保留视频像宽度为width。 * 分身数字人直播目前只支持1080x1920、1920x1080。 **默认取值**: 不涉及 :type width: int - :param height: 视频高度。 单位:像素。 > * clip_mode=RESIZE时,当前支持1920x1080、1080x1920、1280x720、720x1280、3840x2160、2160x3840六种分辨率分辨率。 > * clip_mode=CROP,裁剪后视频,(dx,dy)为原点,保留视频像高度为height。 > * 分身数字人直播目前只支持1080x1920。 + :param height: **参数解释**: 视频高度。 单位:像素。 **约束限制**: * clip_mode=RESIZE时,当前支持1920x1080、1080x1920、1280x720、720x1280、3840x2160、2160x3840六种分辨率分辨率。 * clip_mode=CROP,裁剪后视频,(dx,dy)为原点,保留视频像高度为height。 * 分身数字人直播目前只支持1080x1920、1920x1080。 **默认取值**: 不涉及 :type height: int - :param frame_rate: 帧率。 单位:FPS。 > * 分身数字人视频固定25FPS。 + :param frame_rate: **参数解释**: 帧率。单位:FPS。 **约束限制**: 分身数字人视频固定25FPS。 :type frame_rate: str - :param is_subtitle_enable: 输出的视频是否带字幕。默认false。 > true: 打开字幕 > false: 关闭字幕 + :param is_subtitle_enable: **参数解释**: 输出的视频是否带字幕。 **约束限制**: 分身数字人直播暂时不支持字幕。 **取值范围**: * true: 打开字幕 * false: 关闭字幕 :type is_subtitle_enable: bool :param subtitle_config: :type subtitle_config: :class:`huaweicloudsdkmetastudio.v1.SubtitleConfig` - :param dx: 裁剪视频左上角像素点坐标。 clip_mode= CROP时生效。 > * 以模特分辨率为画布大小,比如1920*1080分辨率的模特,dx最小值是0,最大值是1920。 + :param dx: **参数解释**: 裁剪视频左上角像素点横坐标。 > 以模特分辨率为画布大小,比如1920*1080分辨率的模特,dx最小值是0,最大值是1920。 **约束限制**: clip_mode= CROP时生效。 **默认取值**: 不涉及 :type dx: int - :param dy: 裁剪视频左上角像素点坐标。 clip_mode= CROP时生效。 > * 以模特分辨率为画布大小,比如1920*1080分辨率的模特,dy最小值是0,最大值是1080 + :param dy: **参数解释**: 裁剪视频左上角像素点纵坐标。 > 以模特分辨率为画布大小,比如1920*1080分辨率的模特,dy最小值是0,最大值是1080 **约束限制**: clip_mode= CROP时生效。 **默认取值**: 不涉及 :type dy: int - :param is_enable_super_resolution: 视频是否开启超分。 > true: 开启 > false: 不开启 + :param is_enable_super_resolution: **参数解释**: 视频是否开启超分。 **约束限制**: 仅分身数字人视频制作支持。 **取值范围** * true: 开启 * false: 不开启 :type is_enable_super_resolution: bool """ @@ -111,7 +111,7 @@ def __init__(self, clip_mode=None, codec=None, bitrate=None, width=None, height= def clip_mode(self): """Gets the clip_mode of this VideoConfig. - 输出视频的剪辑方式。默认值RESIZE。 * RESIZE:视频缩放。 * CROP:视频裁剪。 + **参数解释**: 输出视频的剪辑方式。 **约束限制**: 不涉及。 **取值范围**: * RESIZE:视频缩放。 * CROP:视频裁剪。 :return: The clip_mode of this VideoConfig. :rtype: str @@ -122,7 +122,7 @@ def clip_mode(self): def clip_mode(self, clip_mode): """Sets the clip_mode of this VideoConfig. - 输出视频的剪辑方式。默认值RESIZE。 * RESIZE:视频缩放。 * CROP:视频裁剪。 + **参数解释**: 输出视频的剪辑方式。 **约束限制**: 不涉及。 **取值范围**: * RESIZE:视频缩放。 * CROP:视频裁剪。 :param clip_mode: The clip_mode of this VideoConfig. :type clip_mode: str @@ -133,7 +133,7 @@ def clip_mode(self, clip_mode): def codec(self): """Gets the codec of this VideoConfig. - 视频编码格式及视频文件格式。 * H264: h264编码,输出mp4文件 * VP8:vp8编码,输出webm文件 + **参数解释**: 视频编码格式及视频文件格式。 **约束限制**: 仅分身数字人视频制作支持VP8编码。 **取值范围**: * H264:h264编码,输出mp4文件。 * VP8:vp8编码,输出webm文件。 **默认取值**: 不涉及 :return: The codec of this VideoConfig. :rtype: str @@ -144,7 +144,7 @@ def codec(self): def codec(self, codec): """Sets the codec of this VideoConfig. - 视频编码格式及视频文件格式。 * H264: h264编码,输出mp4文件 * VP8:vp8编码,输出webm文件 + **参数解释**: 视频编码格式及视频文件格式。 **约束限制**: 仅分身数字人视频制作支持VP8编码。 **取值范围**: * H264:h264编码,输出mp4文件。 * VP8:vp8编码,输出webm文件。 **默认取值**: 不涉及 :param codec: The codec of this VideoConfig. :type codec: str @@ -155,7 +155,7 @@ def codec(self, codec): def bitrate(self): """Gets the bitrate of this VideoConfig. - 输出平均码率。 单位:kbps。 最小值40,最大值30000。 > * 分身数字人视频制作采用质量优先,可能会超过设置的码率。 > * 分身数字人直播码率范围[1000, 8000]。 + **参数解释**: 输出平均码率。单位:kbps。 **约束限制**: * 分身数字人视频制作采用质量优先,可能会超过设置的码率。 * 分身数字人直播码率范围[1000, 8000]。 **默认取值**: 不涉及 :return: The bitrate of this VideoConfig. :rtype: int @@ -166,7 +166,7 @@ def bitrate(self): def bitrate(self, bitrate): """Sets the bitrate of this VideoConfig. - 输出平均码率。 单位:kbps。 最小值40,最大值30000。 > * 分身数字人视频制作采用质量优先,可能会超过设置的码率。 > * 分身数字人直播码率范围[1000, 8000]。 + **参数解释**: 输出平均码率。单位:kbps。 **约束限制**: * 分身数字人视频制作采用质量优先,可能会超过设置的码率。 * 分身数字人直播码率范围[1000, 8000]。 **默认取值**: 不涉及 :param bitrate: The bitrate of this VideoConfig. :type bitrate: int @@ -177,7 +177,7 @@ def bitrate(self, bitrate): def width(self): """Gets the width of this VideoConfig. - 视频宽度。 单位:像素。 > * clip_mode=RESIZE时,当前支持1920x1080、1080x1920、1280x720、720x1280、3840x2160、2160x3840六种分辨率。4K分辨率视频需要分身数字人模型支持4K的情况下才能使用。 > * clip_mode=CROP,裁剪后视频,(dx,dy)为原点,保留视频像宽度为width。 > * 分身数字人直播目前只支持1080x1920。 + **参数解释**: 视频宽度。单位:像素。 **约束限制**: * clip_mode=RESIZE时,当前支持1920x1080、1080x1920、1280x720、720x1280、3840x2160、2160x3840六种分辨率。4K分辨率视频需要分身数字人模型支持4K的情况下才能使用。 * clip_mode=CROP,裁剪后视频,(dx,dy)为原点,保留视频像宽度为width。 * 分身数字人直播目前只支持1080x1920、1920x1080。 **默认取值**: 不涉及 :return: The width of this VideoConfig. :rtype: int @@ -188,7 +188,7 @@ def width(self): def width(self, width): """Sets the width of this VideoConfig. - 视频宽度。 单位:像素。 > * clip_mode=RESIZE时,当前支持1920x1080、1080x1920、1280x720、720x1280、3840x2160、2160x3840六种分辨率。4K分辨率视频需要分身数字人模型支持4K的情况下才能使用。 > * clip_mode=CROP,裁剪后视频,(dx,dy)为原点,保留视频像宽度为width。 > * 分身数字人直播目前只支持1080x1920。 + **参数解释**: 视频宽度。单位:像素。 **约束限制**: * clip_mode=RESIZE时,当前支持1920x1080、1080x1920、1280x720、720x1280、3840x2160、2160x3840六种分辨率。4K分辨率视频需要分身数字人模型支持4K的情况下才能使用。 * clip_mode=CROP,裁剪后视频,(dx,dy)为原点,保留视频像宽度为width。 * 分身数字人直播目前只支持1080x1920、1920x1080。 **默认取值**: 不涉及 :param width: The width of this VideoConfig. :type width: int @@ -199,7 +199,7 @@ def width(self, width): def height(self): """Gets the height of this VideoConfig. - 视频高度。 单位:像素。 > * clip_mode=RESIZE时,当前支持1920x1080、1080x1920、1280x720、720x1280、3840x2160、2160x3840六种分辨率分辨率。 > * clip_mode=CROP,裁剪后视频,(dx,dy)为原点,保留视频像高度为height。 > * 分身数字人直播目前只支持1080x1920。 + **参数解释**: 视频高度。 单位:像素。 **约束限制**: * clip_mode=RESIZE时,当前支持1920x1080、1080x1920、1280x720、720x1280、3840x2160、2160x3840六种分辨率分辨率。 * clip_mode=CROP,裁剪后视频,(dx,dy)为原点,保留视频像高度为height。 * 分身数字人直播目前只支持1080x1920、1920x1080。 **默认取值**: 不涉及 :return: The height of this VideoConfig. :rtype: int @@ -210,7 +210,7 @@ def height(self): def height(self, height): """Sets the height of this VideoConfig. - 视频高度。 单位:像素。 > * clip_mode=RESIZE时,当前支持1920x1080、1080x1920、1280x720、720x1280、3840x2160、2160x3840六种分辨率分辨率。 > * clip_mode=CROP,裁剪后视频,(dx,dy)为原点,保留视频像高度为height。 > * 分身数字人直播目前只支持1080x1920。 + **参数解释**: 视频高度。 单位:像素。 **约束限制**: * clip_mode=RESIZE时,当前支持1920x1080、1080x1920、1280x720、720x1280、3840x2160、2160x3840六种分辨率分辨率。 * clip_mode=CROP,裁剪后视频,(dx,dy)为原点,保留视频像高度为height。 * 分身数字人直播目前只支持1080x1920、1920x1080。 **默认取值**: 不涉及 :param height: The height of this VideoConfig. :type height: int @@ -221,7 +221,7 @@ def height(self, height): def frame_rate(self): """Gets the frame_rate of this VideoConfig. - 帧率。 单位:FPS。 > * 分身数字人视频固定25FPS。 + **参数解释**: 帧率。单位:FPS。 **约束限制**: 分身数字人视频固定25FPS。 :return: The frame_rate of this VideoConfig. :rtype: str @@ -232,7 +232,7 @@ def frame_rate(self): def frame_rate(self, frame_rate): """Sets the frame_rate of this VideoConfig. - 帧率。 单位:FPS。 > * 分身数字人视频固定25FPS。 + **参数解释**: 帧率。单位:FPS。 **约束限制**: 分身数字人视频固定25FPS。 :param frame_rate: The frame_rate of this VideoConfig. :type frame_rate: str @@ -243,7 +243,7 @@ def frame_rate(self, frame_rate): def is_subtitle_enable(self): """Gets the is_subtitle_enable of this VideoConfig. - 输出的视频是否带字幕。默认false。 > true: 打开字幕 > false: 关闭字幕 + **参数解释**: 输出的视频是否带字幕。 **约束限制**: 分身数字人直播暂时不支持字幕。 **取值范围**: * true: 打开字幕 * false: 关闭字幕 :return: The is_subtitle_enable of this VideoConfig. :rtype: bool @@ -254,7 +254,7 @@ def is_subtitle_enable(self): def is_subtitle_enable(self, is_subtitle_enable): """Sets the is_subtitle_enable of this VideoConfig. - 输出的视频是否带字幕。默认false。 > true: 打开字幕 > false: 关闭字幕 + **参数解释**: 输出的视频是否带字幕。 **约束限制**: 分身数字人直播暂时不支持字幕。 **取值范围**: * true: 打开字幕 * false: 关闭字幕 :param is_subtitle_enable: The is_subtitle_enable of this VideoConfig. :type is_subtitle_enable: bool @@ -283,7 +283,7 @@ def subtitle_config(self, subtitle_config): def dx(self): """Gets the dx of this VideoConfig. - 裁剪视频左上角像素点坐标。 clip_mode= CROP时生效。 > * 以模特分辨率为画布大小,比如1920*1080分辨率的模特,dx最小值是0,最大值是1920。 + **参数解释**: 裁剪视频左上角像素点横坐标。 > 以模特分辨率为画布大小,比如1920*1080分辨率的模特,dx最小值是0,最大值是1920。 **约束限制**: clip_mode= CROP时生效。 **默认取值**: 不涉及 :return: The dx of this VideoConfig. :rtype: int @@ -294,7 +294,7 @@ def dx(self): def dx(self, dx): """Sets the dx of this VideoConfig. - 裁剪视频左上角像素点坐标。 clip_mode= CROP时生效。 > * 以模特分辨率为画布大小,比如1920*1080分辨率的模特,dx最小值是0,最大值是1920。 + **参数解释**: 裁剪视频左上角像素点横坐标。 > 以模特分辨率为画布大小,比如1920*1080分辨率的模特,dx最小值是0,最大值是1920。 **约束限制**: clip_mode= CROP时生效。 **默认取值**: 不涉及 :param dx: The dx of this VideoConfig. :type dx: int @@ -305,7 +305,7 @@ def dx(self, dx): def dy(self): """Gets the dy of this VideoConfig. - 裁剪视频左上角像素点坐标。 clip_mode= CROP时生效。 > * 以模特分辨率为画布大小,比如1920*1080分辨率的模特,dy最小值是0,最大值是1080 + **参数解释**: 裁剪视频左上角像素点纵坐标。 > 以模特分辨率为画布大小,比如1920*1080分辨率的模特,dy最小值是0,最大值是1080 **约束限制**: clip_mode= CROP时生效。 **默认取值**: 不涉及 :return: The dy of this VideoConfig. :rtype: int @@ -316,7 +316,7 @@ def dy(self): def dy(self, dy): """Sets the dy of this VideoConfig. - 裁剪视频左上角像素点坐标。 clip_mode= CROP时生效。 > * 以模特分辨率为画布大小,比如1920*1080分辨率的模特,dy最小值是0,最大值是1080 + **参数解释**: 裁剪视频左上角像素点纵坐标。 > 以模特分辨率为画布大小,比如1920*1080分辨率的模特,dy最小值是0,最大值是1080 **约束限制**: clip_mode= CROP时生效。 **默认取值**: 不涉及 :param dy: The dy of this VideoConfig. :type dy: int @@ -327,7 +327,7 @@ def dy(self, dy): def is_enable_super_resolution(self): """Gets the is_enable_super_resolution of this VideoConfig. - 视频是否开启超分。 > true: 开启 > false: 不开启 + **参数解释**: 视频是否开启超分。 **约束限制**: 仅分身数字人视频制作支持。 **取值范围** * true: 开启 * false: 不开启 :return: The is_enable_super_resolution of this VideoConfig. :rtype: bool @@ -338,7 +338,7 @@ def is_enable_super_resolution(self): def is_enable_super_resolution(self, is_enable_super_resolution): """Sets the is_enable_super_resolution of this VideoConfig. - 视频是否开启超分。 > true: 开启 > false: 不开启 + **参数解释**: 视频是否开启超分。 **约束限制**: 仅分身数字人视频制作支持。 **取值范围** * true: 开启 * false: 不开启 :param is_enable_super_resolution: The is_enable_super_resolution of this VideoConfig. :type is_enable_super_resolution: bool diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/video_layer_config.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/video_layer_config.py index f946159a47..889b29891a 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/video_layer_config.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/video_layer_config.py @@ -33,11 +33,11 @@ def __init__(self, video_url=None, video_cover_url=None, loop_count=None): The model defined in huaweicloud sdk - :param video_url: 视频文件的URL。 + :param video_url: **参数解释**: 视频文件的URL。 **约束限制**: 不涉及。 **取值范围**: 字符长度1-2048位。 **默认取值**: 不涉及。 :type video_url: str - :param video_cover_url: 视频封面文件的URL。 + :param video_cover_url: **参数解释**: 视频封面文件的URL。 **约束限制**: 不涉及。 **取值范围**: 字符长度1-2048位。 **默认取值**: 不涉及。 :type video_cover_url: str - :param loop_count: 循环播放视频次数。 + :param loop_count: **参数解释**: 循环播放视频次数。 特殊取值: * 0:表示不播放 * -1:表示持续循环播放 **约束限制**: 不涉及。 :type loop_count: int """ @@ -59,7 +59,7 @@ def __init__(self, video_url=None, video_cover_url=None, loop_count=None): def video_url(self): """Gets the video_url of this VideoLayerConfig. - 视频文件的URL。 + **参数解释**: 视频文件的URL。 **约束限制**: 不涉及。 **取值范围**: 字符长度1-2048位。 **默认取值**: 不涉及。 :return: The video_url of this VideoLayerConfig. :rtype: str @@ -70,7 +70,7 @@ def video_url(self): def video_url(self, video_url): """Sets the video_url of this VideoLayerConfig. - 视频文件的URL。 + **参数解释**: 视频文件的URL。 **约束限制**: 不涉及。 **取值范围**: 字符长度1-2048位。 **默认取值**: 不涉及。 :param video_url: The video_url of this VideoLayerConfig. :type video_url: str @@ -81,7 +81,7 @@ def video_url(self, video_url): def video_cover_url(self): """Gets the video_cover_url of this VideoLayerConfig. - 视频封面文件的URL。 + **参数解释**: 视频封面文件的URL。 **约束限制**: 不涉及。 **取值范围**: 字符长度1-2048位。 **默认取值**: 不涉及。 :return: The video_cover_url of this VideoLayerConfig. :rtype: str @@ -92,7 +92,7 @@ def video_cover_url(self): def video_cover_url(self, video_cover_url): """Sets the video_cover_url of this VideoLayerConfig. - 视频封面文件的URL。 + **参数解释**: 视频封面文件的URL。 **约束限制**: 不涉及。 **取值范围**: 字符长度1-2048位。 **默认取值**: 不涉及。 :param video_cover_url: The video_cover_url of this VideoLayerConfig. :type video_cover_url: str @@ -103,7 +103,7 @@ def video_cover_url(self, video_cover_url): def loop_count(self): """Gets the loop_count of this VideoLayerConfig. - 循环播放视频次数。 + **参数解释**: 循环播放视频次数。 特殊取值: * 0:表示不播放 * -1:表示持续循环播放 **约束限制**: 不涉及。 :return: The loop_count of this VideoLayerConfig. :rtype: int @@ -114,7 +114,7 @@ def loop_count(self): def loop_count(self, loop_count): """Sets the loop_count of this VideoLayerConfig. - 循环播放视频次数。 + **参数解释**: 循环播放视频次数。 特殊取值: * 0:表示不播放 * -1:表示持续循环播放 **约束限制**: 不涉及。 :param loop_count: The loop_count of this VideoLayerConfig. :type loop_count: int diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/video_scripts_create_info.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/video_scripts_create_info.py index 1aa6fe05a2..66baeae048 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/video_scripts_create_info.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/video_scripts_create_info.py @@ -51,23 +51,23 @@ def __init__(self, script_name=None, script_description=None, view_mode=None, mo The model defined in huaweicloud sdk - :param script_name: 剧本名称 + :param script_name: **参数解释**: 剧本名称。 **约束限制**: 不涉及。 **取值范围**: 只能使用中英文字符,字符长度1-256位。 **默认取值**: 不涉及。 :type script_name: str - :param script_description: 剧本描述。 + :param script_description: **参数解释**: 剧本描述。 **约束限制**: 不涉及。 **取值范围**: 字符长度0-1024位。 **默认取值**: 不涉及。 :type script_description: str - :param view_mode: 横竖屏类型。默认值是LANDSCAPE。 * LANDSCAPE:横屏。 * VERTICAL: 竖屏。 + :param view_mode: **参数解释**: 横竖屏类型。 **约束限制**: 不涉及。 **取值范围**: * LANDSCAPE:横屏。 * VERTICAL:竖屏。 :type view_mode: str - :param model_asset_id: 数字人模型资产ID,可以从资产库中查询。 + :param model_asset_id: **参数解释**: 数字人模型资产ID。 **约束限制**: 不涉及 **取值范围**: 字符长度0-64位。 **默认取值**: 不涉及 :type model_asset_id: str - :param model_asset_type: 数字人模型类型。 * HUMAN_MODEL_2D:分身数字人 * HUMAN_MODEL_3D:3D数字人 + :param model_asset_type: **参数解释**: 数字人模型类型。 **约束限制**: 不涉及 **取值范围**: * HUMAN_MODEL_2D:分身数字人 * HUMAN_MODEL_3D:3D数字人 **默认取值**: 不涉及 :type model_asset_type: str :param voice_config: :type voice_config: :class:`huaweicloudsdkmetastudio.v1.VoiceConfig` :param video_config: :type video_config: :class:`huaweicloudsdkmetastudio.v1.VideoConfig` - :param scene_asset_id: 场景资产ID。 > * 分身数字人视频制作不需要填写该参数。 > * 若填写,可以从资产库中查询。 + :param scene_asset_id: **参数解释**: 场景资产ID。 **约束限制**: 分身数字人视频制作不需要填写该参数。 **取值范围**: 字符长度0-64位 **默认取值**: 不涉及 :type scene_asset_id: str - :param priv_data: 私有数据,用户填写,原样带回。 + :param priv_data: **参数解释**: 私有数据,用户填写,原样带回。 **约束限制**: 不涉及 **取值范围**: 字符长度0-8192位 **默认取值**: 不涉及 :type priv_data: str :param background_music_config: :type background_music_config: :class:`huaweicloudsdkmetastudio.v1.BackgroundMusicConfig` @@ -122,7 +122,7 @@ def __init__(self, script_name=None, script_description=None, view_mode=None, mo def script_name(self): """Gets the script_name of this VideoScriptsCreateInfo. - 剧本名称 + **参数解释**: 剧本名称。 **约束限制**: 不涉及。 **取值范围**: 只能使用中英文字符,字符长度1-256位。 **默认取值**: 不涉及。 :return: The script_name of this VideoScriptsCreateInfo. :rtype: str @@ -133,7 +133,7 @@ def script_name(self): def script_name(self, script_name): """Sets the script_name of this VideoScriptsCreateInfo. - 剧本名称 + **参数解释**: 剧本名称。 **约束限制**: 不涉及。 **取值范围**: 只能使用中英文字符,字符长度1-256位。 **默认取值**: 不涉及。 :param script_name: The script_name of this VideoScriptsCreateInfo. :type script_name: str @@ -144,7 +144,7 @@ def script_name(self, script_name): def script_description(self): """Gets the script_description of this VideoScriptsCreateInfo. - 剧本描述。 + **参数解释**: 剧本描述。 **约束限制**: 不涉及。 **取值范围**: 字符长度0-1024位。 **默认取值**: 不涉及。 :return: The script_description of this VideoScriptsCreateInfo. :rtype: str @@ -155,7 +155,7 @@ def script_description(self): def script_description(self, script_description): """Sets the script_description of this VideoScriptsCreateInfo. - 剧本描述。 + **参数解释**: 剧本描述。 **约束限制**: 不涉及。 **取值范围**: 字符长度0-1024位。 **默认取值**: 不涉及。 :param script_description: The script_description of this VideoScriptsCreateInfo. :type script_description: str @@ -166,7 +166,7 @@ def script_description(self, script_description): def view_mode(self): """Gets the view_mode of this VideoScriptsCreateInfo. - 横竖屏类型。默认值是LANDSCAPE。 * LANDSCAPE:横屏。 * VERTICAL: 竖屏。 + **参数解释**: 横竖屏类型。 **约束限制**: 不涉及。 **取值范围**: * LANDSCAPE:横屏。 * VERTICAL:竖屏。 :return: The view_mode of this VideoScriptsCreateInfo. :rtype: str @@ -177,7 +177,7 @@ def view_mode(self): def view_mode(self, view_mode): """Sets the view_mode of this VideoScriptsCreateInfo. - 横竖屏类型。默认值是LANDSCAPE。 * LANDSCAPE:横屏。 * VERTICAL: 竖屏。 + **参数解释**: 横竖屏类型。 **约束限制**: 不涉及。 **取值范围**: * LANDSCAPE:横屏。 * VERTICAL:竖屏。 :param view_mode: The view_mode of this VideoScriptsCreateInfo. :type view_mode: str @@ -188,7 +188,7 @@ def view_mode(self, view_mode): def model_asset_id(self): """Gets the model_asset_id of this VideoScriptsCreateInfo. - 数字人模型资产ID,可以从资产库中查询。 + **参数解释**: 数字人模型资产ID。 **约束限制**: 不涉及 **取值范围**: 字符长度0-64位。 **默认取值**: 不涉及 :return: The model_asset_id of this VideoScriptsCreateInfo. :rtype: str @@ -199,7 +199,7 @@ def model_asset_id(self): def model_asset_id(self, model_asset_id): """Sets the model_asset_id of this VideoScriptsCreateInfo. - 数字人模型资产ID,可以从资产库中查询。 + **参数解释**: 数字人模型资产ID。 **约束限制**: 不涉及 **取值范围**: 字符长度0-64位。 **默认取值**: 不涉及 :param model_asset_id: The model_asset_id of this VideoScriptsCreateInfo. :type model_asset_id: str @@ -210,7 +210,7 @@ def model_asset_id(self, model_asset_id): def model_asset_type(self): """Gets the model_asset_type of this VideoScriptsCreateInfo. - 数字人模型类型。 * HUMAN_MODEL_2D:分身数字人 * HUMAN_MODEL_3D:3D数字人 + **参数解释**: 数字人模型类型。 **约束限制**: 不涉及 **取值范围**: * HUMAN_MODEL_2D:分身数字人 * HUMAN_MODEL_3D:3D数字人 **默认取值**: 不涉及 :return: The model_asset_type of this VideoScriptsCreateInfo. :rtype: str @@ -221,7 +221,7 @@ def model_asset_type(self): def model_asset_type(self, model_asset_type): """Sets the model_asset_type of this VideoScriptsCreateInfo. - 数字人模型类型。 * HUMAN_MODEL_2D:分身数字人 * HUMAN_MODEL_3D:3D数字人 + **参数解释**: 数字人模型类型。 **约束限制**: 不涉及 **取值范围**: * HUMAN_MODEL_2D:分身数字人 * HUMAN_MODEL_3D:3D数字人 **默认取值**: 不涉及 :param model_asset_type: The model_asset_type of this VideoScriptsCreateInfo. :type model_asset_type: str @@ -268,7 +268,7 @@ def video_config(self, video_config): def scene_asset_id(self): """Gets the scene_asset_id of this VideoScriptsCreateInfo. - 场景资产ID。 > * 分身数字人视频制作不需要填写该参数。 > * 若填写,可以从资产库中查询。 + **参数解释**: 场景资产ID。 **约束限制**: 分身数字人视频制作不需要填写该参数。 **取值范围**: 字符长度0-64位 **默认取值**: 不涉及 :return: The scene_asset_id of this VideoScriptsCreateInfo. :rtype: str @@ -279,7 +279,7 @@ def scene_asset_id(self): def scene_asset_id(self, scene_asset_id): """Sets the scene_asset_id of this VideoScriptsCreateInfo. - 场景资产ID。 > * 分身数字人视频制作不需要填写该参数。 > * 若填写,可以从资产库中查询。 + **参数解释**: 场景资产ID。 **约束限制**: 分身数字人视频制作不需要填写该参数。 **取值范围**: 字符长度0-64位 **默认取值**: 不涉及 :param scene_asset_id: The scene_asset_id of this VideoScriptsCreateInfo. :type scene_asset_id: str @@ -290,7 +290,7 @@ def scene_asset_id(self, scene_asset_id): def priv_data(self): """Gets the priv_data of this VideoScriptsCreateInfo. - 私有数据,用户填写,原样带回。 + **参数解释**: 私有数据,用户填写,原样带回。 **约束限制**: 不涉及 **取值范围**: 字符长度0-8192位 **默认取值**: 不涉及 :return: The priv_data of this VideoScriptsCreateInfo. :rtype: str @@ -301,7 +301,7 @@ def priv_data(self): def priv_data(self, priv_data): """Sets the priv_data of this VideoScriptsCreateInfo. - 私有数据,用户填写,原样带回。 + **参数解释**: 私有数据,用户填写,原样带回。 **约束限制**: 不涉及 **取值范围**: 字符长度0-8192位 **默认取值**: 不涉及 :param priv_data: The priv_data of this VideoScriptsCreateInfo. :type priv_data: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/video_scripts_show_info.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/video_scripts_show_info.py index bde39c6fb0..b82feeb75b 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/video_scripts_show_info.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/video_scripts_show_info.py @@ -51,23 +51,23 @@ def __init__(self, script_name=None, script_description=None, view_mode=None, mo The model defined in huaweicloud sdk - :param script_name: 剧本名称 + :param script_name: **参数解释**: 剧本名称。 **约束限制**: 不涉及。 **取值范围**: 只能使用中英文字符,字符长度1-256位。 **默认取值**: 不涉及。 :type script_name: str - :param script_description: 剧本描述。 + :param script_description: **参数解释**: 剧本描述。 **约束限制**: 不涉及。 **取值范围**: 字符长度0-1024位。 **默认取值**: 不涉及。 :type script_description: str - :param view_mode: 横竖屏类型。默认值是LANDSCAPE。 * LANDSCAPE:横屏。 * VERTICAL: 竖屏。 + :param view_mode: **参数解释**: 横竖屏类型。 **约束限制**: 不涉及。 **取值范围**: * LANDSCAPE:横屏。 * VERTICAL:竖屏。 :type view_mode: str - :param model_asset_id: 数字人模型资产ID,可以从资产库中查询。 + :param model_asset_id: **参数解释**: 数字人模型资产ID。 **约束限制**: 不涉及 **取值范围**: 字符长度0-64位。 **默认取值**: 不涉及 :type model_asset_id: str - :param model_asset_type: 数字人模型类型。 * HUMAN_MODEL_2D:分身数字人 * HUMAN_MODEL_3D:3D数字人 + :param model_asset_type: **参数解释**: 数字人模型类型。 **约束限制**: 不涉及 **取值范围**: * HUMAN_MODEL_2D:分身数字人 * HUMAN_MODEL_3D:3D数字人 **默认取值**: 不涉及 :type model_asset_type: str :param voice_config: :type voice_config: :class:`huaweicloudsdkmetastudio.v1.VoiceConfig` :param video_config: :type video_config: :class:`huaweicloudsdkmetastudio.v1.VideoConfig` - :param scene_asset_id: 场景资产ID。 > * 分身数字人视频制作不需要填写该参数。 > * 若填写,可以从资产库中查询。 + :param scene_asset_id: **参数解释**: 场景资产ID。 **约束限制**: 分身数字人视频制作不需要填写该参数。 **取值范围**: 字符长度0-64位 **默认取值**: 不涉及 :type scene_asset_id: str - :param priv_data: 私有数据,用户填写,原样带回。 + :param priv_data: **参数解释**: 私有数据,用户填写,原样带回。 **约束限制**: 不涉及 **取值范围**: 字符长度0-8192位 **默认取值**: 不涉及 :type priv_data: str :param background_music_config: :type background_music_config: :class:`huaweicloudsdkmetastudio.v1.BackgroundMusicConfig` @@ -122,7 +122,7 @@ def __init__(self, script_name=None, script_description=None, view_mode=None, mo def script_name(self): """Gets the script_name of this VideoScriptsShowInfo. - 剧本名称 + **参数解释**: 剧本名称。 **约束限制**: 不涉及。 **取值范围**: 只能使用中英文字符,字符长度1-256位。 **默认取值**: 不涉及。 :return: The script_name of this VideoScriptsShowInfo. :rtype: str @@ -133,7 +133,7 @@ def script_name(self): def script_name(self, script_name): """Sets the script_name of this VideoScriptsShowInfo. - 剧本名称 + **参数解释**: 剧本名称。 **约束限制**: 不涉及。 **取值范围**: 只能使用中英文字符,字符长度1-256位。 **默认取值**: 不涉及。 :param script_name: The script_name of this VideoScriptsShowInfo. :type script_name: str @@ -144,7 +144,7 @@ def script_name(self, script_name): def script_description(self): """Gets the script_description of this VideoScriptsShowInfo. - 剧本描述。 + **参数解释**: 剧本描述。 **约束限制**: 不涉及。 **取值范围**: 字符长度0-1024位。 **默认取值**: 不涉及。 :return: The script_description of this VideoScriptsShowInfo. :rtype: str @@ -155,7 +155,7 @@ def script_description(self): def script_description(self, script_description): """Sets the script_description of this VideoScriptsShowInfo. - 剧本描述。 + **参数解释**: 剧本描述。 **约束限制**: 不涉及。 **取值范围**: 字符长度0-1024位。 **默认取值**: 不涉及。 :param script_description: The script_description of this VideoScriptsShowInfo. :type script_description: str @@ -166,7 +166,7 @@ def script_description(self, script_description): def view_mode(self): """Gets the view_mode of this VideoScriptsShowInfo. - 横竖屏类型。默认值是LANDSCAPE。 * LANDSCAPE:横屏。 * VERTICAL: 竖屏。 + **参数解释**: 横竖屏类型。 **约束限制**: 不涉及。 **取值范围**: * LANDSCAPE:横屏。 * VERTICAL:竖屏。 :return: The view_mode of this VideoScriptsShowInfo. :rtype: str @@ -177,7 +177,7 @@ def view_mode(self): def view_mode(self, view_mode): """Sets the view_mode of this VideoScriptsShowInfo. - 横竖屏类型。默认值是LANDSCAPE。 * LANDSCAPE:横屏。 * VERTICAL: 竖屏。 + **参数解释**: 横竖屏类型。 **约束限制**: 不涉及。 **取值范围**: * LANDSCAPE:横屏。 * VERTICAL:竖屏。 :param view_mode: The view_mode of this VideoScriptsShowInfo. :type view_mode: str @@ -188,7 +188,7 @@ def view_mode(self, view_mode): def model_asset_id(self): """Gets the model_asset_id of this VideoScriptsShowInfo. - 数字人模型资产ID,可以从资产库中查询。 + **参数解释**: 数字人模型资产ID。 **约束限制**: 不涉及 **取值范围**: 字符长度0-64位。 **默认取值**: 不涉及 :return: The model_asset_id of this VideoScriptsShowInfo. :rtype: str @@ -199,7 +199,7 @@ def model_asset_id(self): def model_asset_id(self, model_asset_id): """Sets the model_asset_id of this VideoScriptsShowInfo. - 数字人模型资产ID,可以从资产库中查询。 + **参数解释**: 数字人模型资产ID。 **约束限制**: 不涉及 **取值范围**: 字符长度0-64位。 **默认取值**: 不涉及 :param model_asset_id: The model_asset_id of this VideoScriptsShowInfo. :type model_asset_id: str @@ -210,7 +210,7 @@ def model_asset_id(self, model_asset_id): def model_asset_type(self): """Gets the model_asset_type of this VideoScriptsShowInfo. - 数字人模型类型。 * HUMAN_MODEL_2D:分身数字人 * HUMAN_MODEL_3D:3D数字人 + **参数解释**: 数字人模型类型。 **约束限制**: 不涉及 **取值范围**: * HUMAN_MODEL_2D:分身数字人 * HUMAN_MODEL_3D:3D数字人 **默认取值**: 不涉及 :return: The model_asset_type of this VideoScriptsShowInfo. :rtype: str @@ -221,7 +221,7 @@ def model_asset_type(self): def model_asset_type(self, model_asset_type): """Sets the model_asset_type of this VideoScriptsShowInfo. - 数字人模型类型。 * HUMAN_MODEL_2D:分身数字人 * HUMAN_MODEL_3D:3D数字人 + **参数解释**: 数字人模型类型。 **约束限制**: 不涉及 **取值范围**: * HUMAN_MODEL_2D:分身数字人 * HUMAN_MODEL_3D:3D数字人 **默认取值**: 不涉及 :param model_asset_type: The model_asset_type of this VideoScriptsShowInfo. :type model_asset_type: str @@ -268,7 +268,7 @@ def video_config(self, video_config): def scene_asset_id(self): """Gets the scene_asset_id of this VideoScriptsShowInfo. - 场景资产ID。 > * 分身数字人视频制作不需要填写该参数。 > * 若填写,可以从资产库中查询。 + **参数解释**: 场景资产ID。 **约束限制**: 分身数字人视频制作不需要填写该参数。 **取值范围**: 字符长度0-64位 **默认取值**: 不涉及 :return: The scene_asset_id of this VideoScriptsShowInfo. :rtype: str @@ -279,7 +279,7 @@ def scene_asset_id(self): def scene_asset_id(self, scene_asset_id): """Sets the scene_asset_id of this VideoScriptsShowInfo. - 场景资产ID。 > * 分身数字人视频制作不需要填写该参数。 > * 若填写,可以从资产库中查询。 + **参数解释**: 场景资产ID。 **约束限制**: 分身数字人视频制作不需要填写该参数。 **取值范围**: 字符长度0-64位 **默认取值**: 不涉及 :param scene_asset_id: The scene_asset_id of this VideoScriptsShowInfo. :type scene_asset_id: str @@ -290,7 +290,7 @@ def scene_asset_id(self, scene_asset_id): def priv_data(self): """Gets the priv_data of this VideoScriptsShowInfo. - 私有数据,用户填写,原样带回。 + **参数解释**: 私有数据,用户填写,原样带回。 **约束限制**: 不涉及 **取值范围**: 字符长度0-8192位 **默认取值**: 不涉及 :return: The priv_data of this VideoScriptsShowInfo. :rtype: str @@ -301,7 +301,7 @@ def priv_data(self): def priv_data(self, priv_data): """Sets the priv_data of this VideoScriptsShowInfo. - 私有数据,用户填写,原样带回。 + **参数解释**: 私有数据,用户填写,原样带回。 **约束限制**: 不涉及 **取值范围**: 字符长度0-8192位 **默认取值**: 不涉及 :param priv_data: The priv_data of this VideoScriptsShowInfo. :type priv_data: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/video_scripts_simple_info.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/video_scripts_simple_info.py index 6add9195f3..0785f1c379 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/video_scripts_simple_info.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/video_scripts_simple_info.py @@ -49,23 +49,23 @@ def __init__(self, script_name=None, script_description=None, view_mode=None, mo The model defined in huaweicloud sdk - :param script_name: 剧本名称 + :param script_name: **参数解释**: 剧本名称。 **约束限制**: 不涉及。 **取值范围**: 只能使用中英文字符,字符长度1-256位。 **默认取值**: 不涉及。 :type script_name: str - :param script_description: 剧本描述。 + :param script_description: **参数解释**: 剧本描述。 **约束限制**: 不涉及。 **取值范围**: 字符长度0-1024位。 **默认取值**: 不涉及。 :type script_description: str - :param view_mode: 横竖屏类型。默认值是LANDSCAPE。 * LANDSCAPE:横屏。 * VERTICAL: 竖屏。 + :param view_mode: **参数解释**: 横竖屏类型。 **约束限制**: 不涉及。 **取值范围**: * LANDSCAPE:横屏。 * VERTICAL:竖屏。 :type view_mode: str - :param model_asset_id: 数字人模型资产ID,可以从资产库中查询。 + :param model_asset_id: **参数解释**: 数字人模型资产ID。 **约束限制**: 不涉及 **取值范围**: 字符长度0-64位。 **默认取值**: 不涉及 :type model_asset_id: str - :param model_asset_type: 数字人模型类型。 * HUMAN_MODEL_2D:分身数字人 * HUMAN_MODEL_3D:3D数字人 + :param model_asset_type: **参数解释**: 数字人模型类型。 **约束限制**: 不涉及 **取值范围**: * HUMAN_MODEL_2D:分身数字人 * HUMAN_MODEL_3D:3D数字人 **默认取值**: 不涉及 :type model_asset_type: str :param voice_config: :type voice_config: :class:`huaweicloudsdkmetastudio.v1.VoiceConfig` :param video_config: :type video_config: :class:`huaweicloudsdkmetastudio.v1.VideoConfig` - :param scene_asset_id: 场景资产ID。 > * 分身数字人视频制作不需要填写该参数。 > * 若填写,可以从资产库中查询。 + :param scene_asset_id: **参数解释**: 场景资产ID。 **约束限制**: 分身数字人视频制作不需要填写该参数。 **取值范围**: 字符长度0-64位 **默认取值**: 不涉及 :type scene_asset_id: str - :param priv_data: 私有数据,用户填写,原样带回。 + :param priv_data: **参数解释**: 私有数据,用户填写,原样带回。 **约束限制**: 不涉及 **取值范围**: 字符长度0-8192位 **默认取值**: 不涉及 :type priv_data: str :param background_music_config: :type background_music_config: :class:`huaweicloudsdkmetastudio.v1.BackgroundMusicConfig` @@ -115,7 +115,7 @@ def __init__(self, script_name=None, script_description=None, view_mode=None, mo def script_name(self): """Gets the script_name of this VideoScriptsSimpleInfo. - 剧本名称 + **参数解释**: 剧本名称。 **约束限制**: 不涉及。 **取值范围**: 只能使用中英文字符,字符长度1-256位。 **默认取值**: 不涉及。 :return: The script_name of this VideoScriptsSimpleInfo. :rtype: str @@ -126,7 +126,7 @@ def script_name(self): def script_name(self, script_name): """Sets the script_name of this VideoScriptsSimpleInfo. - 剧本名称 + **参数解释**: 剧本名称。 **约束限制**: 不涉及。 **取值范围**: 只能使用中英文字符,字符长度1-256位。 **默认取值**: 不涉及。 :param script_name: The script_name of this VideoScriptsSimpleInfo. :type script_name: str @@ -137,7 +137,7 @@ def script_name(self, script_name): def script_description(self): """Gets the script_description of this VideoScriptsSimpleInfo. - 剧本描述。 + **参数解释**: 剧本描述。 **约束限制**: 不涉及。 **取值范围**: 字符长度0-1024位。 **默认取值**: 不涉及。 :return: The script_description of this VideoScriptsSimpleInfo. :rtype: str @@ -148,7 +148,7 @@ def script_description(self): def script_description(self, script_description): """Sets the script_description of this VideoScriptsSimpleInfo. - 剧本描述。 + **参数解释**: 剧本描述。 **约束限制**: 不涉及。 **取值范围**: 字符长度0-1024位。 **默认取值**: 不涉及。 :param script_description: The script_description of this VideoScriptsSimpleInfo. :type script_description: str @@ -159,7 +159,7 @@ def script_description(self, script_description): def view_mode(self): """Gets the view_mode of this VideoScriptsSimpleInfo. - 横竖屏类型。默认值是LANDSCAPE。 * LANDSCAPE:横屏。 * VERTICAL: 竖屏。 + **参数解释**: 横竖屏类型。 **约束限制**: 不涉及。 **取值范围**: * LANDSCAPE:横屏。 * VERTICAL:竖屏。 :return: The view_mode of this VideoScriptsSimpleInfo. :rtype: str @@ -170,7 +170,7 @@ def view_mode(self): def view_mode(self, view_mode): """Sets the view_mode of this VideoScriptsSimpleInfo. - 横竖屏类型。默认值是LANDSCAPE。 * LANDSCAPE:横屏。 * VERTICAL: 竖屏。 + **参数解释**: 横竖屏类型。 **约束限制**: 不涉及。 **取值范围**: * LANDSCAPE:横屏。 * VERTICAL:竖屏。 :param view_mode: The view_mode of this VideoScriptsSimpleInfo. :type view_mode: str @@ -181,7 +181,7 @@ def view_mode(self, view_mode): def model_asset_id(self): """Gets the model_asset_id of this VideoScriptsSimpleInfo. - 数字人模型资产ID,可以从资产库中查询。 + **参数解释**: 数字人模型资产ID。 **约束限制**: 不涉及 **取值范围**: 字符长度0-64位。 **默认取值**: 不涉及 :return: The model_asset_id of this VideoScriptsSimpleInfo. :rtype: str @@ -192,7 +192,7 @@ def model_asset_id(self): def model_asset_id(self, model_asset_id): """Sets the model_asset_id of this VideoScriptsSimpleInfo. - 数字人模型资产ID,可以从资产库中查询。 + **参数解释**: 数字人模型资产ID。 **约束限制**: 不涉及 **取值范围**: 字符长度0-64位。 **默认取值**: 不涉及 :param model_asset_id: The model_asset_id of this VideoScriptsSimpleInfo. :type model_asset_id: str @@ -203,7 +203,7 @@ def model_asset_id(self, model_asset_id): def model_asset_type(self): """Gets the model_asset_type of this VideoScriptsSimpleInfo. - 数字人模型类型。 * HUMAN_MODEL_2D:分身数字人 * HUMAN_MODEL_3D:3D数字人 + **参数解释**: 数字人模型类型。 **约束限制**: 不涉及 **取值范围**: * HUMAN_MODEL_2D:分身数字人 * HUMAN_MODEL_3D:3D数字人 **默认取值**: 不涉及 :return: The model_asset_type of this VideoScriptsSimpleInfo. :rtype: str @@ -214,7 +214,7 @@ def model_asset_type(self): def model_asset_type(self, model_asset_type): """Sets the model_asset_type of this VideoScriptsSimpleInfo. - 数字人模型类型。 * HUMAN_MODEL_2D:分身数字人 * HUMAN_MODEL_3D:3D数字人 + **参数解释**: 数字人模型类型。 **约束限制**: 不涉及 **取值范围**: * HUMAN_MODEL_2D:分身数字人 * HUMAN_MODEL_3D:3D数字人 **默认取值**: 不涉及 :param model_asset_type: The model_asset_type of this VideoScriptsSimpleInfo. :type model_asset_type: str @@ -261,7 +261,7 @@ def video_config(self, video_config): def scene_asset_id(self): """Gets the scene_asset_id of this VideoScriptsSimpleInfo. - 场景资产ID。 > * 分身数字人视频制作不需要填写该参数。 > * 若填写,可以从资产库中查询。 + **参数解释**: 场景资产ID。 **约束限制**: 分身数字人视频制作不需要填写该参数。 **取值范围**: 字符长度0-64位 **默认取值**: 不涉及 :return: The scene_asset_id of this VideoScriptsSimpleInfo. :rtype: str @@ -272,7 +272,7 @@ def scene_asset_id(self): def scene_asset_id(self, scene_asset_id): """Sets the scene_asset_id of this VideoScriptsSimpleInfo. - 场景资产ID。 > * 分身数字人视频制作不需要填写该参数。 > * 若填写,可以从资产库中查询。 + **参数解释**: 场景资产ID。 **约束限制**: 分身数字人视频制作不需要填写该参数。 **取值范围**: 字符长度0-64位 **默认取值**: 不涉及 :param scene_asset_id: The scene_asset_id of this VideoScriptsSimpleInfo. :type scene_asset_id: str @@ -283,7 +283,7 @@ def scene_asset_id(self, scene_asset_id): def priv_data(self): """Gets the priv_data of this VideoScriptsSimpleInfo. - 私有数据,用户填写,原样带回。 + **参数解释**: 私有数据,用户填写,原样带回。 **约束限制**: 不涉及 **取值范围**: 字符长度0-8192位 **默认取值**: 不涉及 :return: The priv_data of this VideoScriptsSimpleInfo. :rtype: str @@ -294,7 +294,7 @@ def priv_data(self): def priv_data(self, priv_data): """Sets the priv_data of this VideoScriptsSimpleInfo. - 私有数据,用户填写,原样带回。 + **参数解释**: 私有数据,用户填写,原样带回。 **约束限制**: 不涉及 **取值范围**: 字符长度0-8192位 **默认取值**: 不涉及 :param priv_data: The priv_data of this VideoScriptsSimpleInfo. :type priv_data: str diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/voice_config.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/voice_config.py index dfb43e5748..b135fc309a 100644 --- a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/voice_config.py +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/voice_config.py @@ -35,13 +35,13 @@ def __init__(self, voice_asset_id=None, speed=None, pitch=None, volume=None): The model defined in huaweicloud sdk - :param voice_asset_id: 音色资产ID,可以从资产库中查询。 + :param voice_asset_id: **参数解释**: 音色资产ID,可以从资产库中查询。 **约束限制**: 不涉及。 **取值范围**: 字符长度1-256位。 **默认取值**: 不涉及。 :type voice_asset_id: str - :param speed: 语速。 默认值100,最小值50,最大值200。 > * 当取值为“100”时,表示一个成年人正常的语速,约为250字/分钟。 > * 50表示0.5倍语速,100表示正常语速,200表示2倍语速。 + :param speed: **参数解释**: 语速。50表示0.5倍语速,100表示正常语速,200表示2倍语速。 当取值为“100”时,表示一个成年人的正常语速,约为250字/分钟。 **约束限制**: 不涉及。 :type speed: int - :param pitch: 音高。 默认值100,最小值50,最大值200。 + :param pitch: **参数解释**: 音高。 **约束限制**: 不涉及。 :type pitch: int - :param volume: 音量。 默认值140,最小值90,最大值240。 + :param volume: **参数解释**: 音量。 **约束限制**: 不涉及。 :type volume: int """ @@ -65,7 +65,7 @@ def __init__(self, voice_asset_id=None, speed=None, pitch=None, volume=None): def voice_asset_id(self): """Gets the voice_asset_id of this VoiceConfig. - 音色资产ID,可以从资产库中查询。 + **参数解释**: 音色资产ID,可以从资产库中查询。 **约束限制**: 不涉及。 **取值范围**: 字符长度1-256位。 **默认取值**: 不涉及。 :return: The voice_asset_id of this VoiceConfig. :rtype: str @@ -76,7 +76,7 @@ def voice_asset_id(self): def voice_asset_id(self, voice_asset_id): """Sets the voice_asset_id of this VoiceConfig. - 音色资产ID,可以从资产库中查询。 + **参数解释**: 音色资产ID,可以从资产库中查询。 **约束限制**: 不涉及。 **取值范围**: 字符长度1-256位。 **默认取值**: 不涉及。 :param voice_asset_id: The voice_asset_id of this VoiceConfig. :type voice_asset_id: str @@ -87,7 +87,7 @@ def voice_asset_id(self, voice_asset_id): def speed(self): """Gets the speed of this VoiceConfig. - 语速。 默认值100,最小值50,最大值200。 > * 当取值为“100”时,表示一个成年人正常的语速,约为250字/分钟。 > * 50表示0.5倍语速,100表示正常语速,200表示2倍语速。 + **参数解释**: 语速。50表示0.5倍语速,100表示正常语速,200表示2倍语速。 当取值为“100”时,表示一个成年人的正常语速,约为250字/分钟。 **约束限制**: 不涉及。 :return: The speed of this VoiceConfig. :rtype: int @@ -98,7 +98,7 @@ def speed(self): def speed(self, speed): """Sets the speed of this VoiceConfig. - 语速。 默认值100,最小值50,最大值200。 > * 当取值为“100”时,表示一个成年人正常的语速,约为250字/分钟。 > * 50表示0.5倍语速,100表示正常语速,200表示2倍语速。 + **参数解释**: 语速。50表示0.5倍语速,100表示正常语速,200表示2倍语速。 当取值为“100”时,表示一个成年人的正常语速,约为250字/分钟。 **约束限制**: 不涉及。 :param speed: The speed of this VoiceConfig. :type speed: int @@ -109,7 +109,7 @@ def speed(self, speed): def pitch(self): """Gets the pitch of this VoiceConfig. - 音高。 默认值100,最小值50,最大值200。 + **参数解释**: 音高。 **约束限制**: 不涉及。 :return: The pitch of this VoiceConfig. :rtype: int @@ -120,7 +120,7 @@ def pitch(self): def pitch(self, pitch): """Sets the pitch of this VoiceConfig. - 音高。 默认值100,最小值50,最大值200。 + **参数解释**: 音高。 **约束限制**: 不涉及。 :param pitch: The pitch of this VoiceConfig. :type pitch: int @@ -131,7 +131,7 @@ def pitch(self, pitch): def volume(self): """Gets the volume of this VoiceConfig. - 音量。 默认值140,最小值90,最大值240。 + **参数解释**: 音量。 **约束限制**: 不涉及。 :return: The volume of this VoiceConfig. :rtype: int @@ -142,7 +142,7 @@ def volume(self): def volume(self, volume): """Sets the volume of this VoiceConfig. - 音量。 默认值140,最小值90,最大值240。 + **参数解释**: 音量。 **约束限制**: 不涉及。 :param volume: The volume of this VoiceConfig. :type volume: int diff --git a/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/voice_properties.py b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/voice_properties.py new file mode 100644 index 0000000000..41b95ec2dc --- /dev/null +++ b/huaweicloud-sdk-metastudio/huaweicloudsdkmetastudio/v1/model/voice_properties.py @@ -0,0 +1,170 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class VoiceProperties: + + """ + 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 = { + 'job_tag': 'str', + 'sex': 'str', + 'language': 'str' + } + + attribute_map = { + 'job_tag': 'job_tag', + 'sex': 'sex', + 'language': 'language' + } + + def __init__(self, job_tag=None, sex=None, language=None): + """VoiceProperties + + The model defined in huaweicloud sdk + + :param job_tag: 任务标签。 * ECOMMERCE: 电商 * NEWS: 新闻 * MARKETING: 营销 + :type job_tag: str + :param sex: 语音性别,是男性声音还是女性声音。 * FEMALE: 女性 * MALE: 男性 + :type sex: str + :param language: 训练语言,当前仅支持中文。 * CN: 中文 * EN: 英文 + :type language: str + """ + + + + self._job_tag = None + self._sex = None + self._language = None + self.discriminator = None + + self.job_tag = job_tag + self.sex = sex + self.language = language + + @property + def job_tag(self): + """Gets the job_tag of this VoiceProperties. + + 任务标签。 * ECOMMERCE: 电商 * NEWS: 新闻 * MARKETING: 营销 + + :return: The job_tag of this VoiceProperties. + :rtype: str + """ + return self._job_tag + + @job_tag.setter + def job_tag(self, job_tag): + """Sets the job_tag of this VoiceProperties. + + 任务标签。 * ECOMMERCE: 电商 * NEWS: 新闻 * MARKETING: 营销 + + :param job_tag: The job_tag of this VoiceProperties. + :type job_tag: str + """ + self._job_tag = job_tag + + @property + def sex(self): + """Gets the sex of this VoiceProperties. + + 语音性别,是男性声音还是女性声音。 * FEMALE: 女性 * MALE: 男性 + + :return: The sex of this VoiceProperties. + :rtype: str + """ + return self._sex + + @sex.setter + def sex(self, sex): + """Sets the sex of this VoiceProperties. + + 语音性别,是男性声音还是女性声音。 * FEMALE: 女性 * MALE: 男性 + + :param sex: The sex of this VoiceProperties. + :type sex: str + """ + self._sex = sex + + @property + def language(self): + """Gets the language of this VoiceProperties. + + 训练语言,当前仅支持中文。 * CN: 中文 * EN: 英文 + + :return: The language of this VoiceProperties. + :rtype: str + """ + return self._language + + @language.setter + def language(self, language): + """Sets the language of this VoiceProperties. + + 训练语言,当前仅支持中文。 * CN: 中文 * EN: 英文 + + :param language: The language of this VoiceProperties. + :type language: str + """ + self._language = language + + 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, VoiceProperties): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-metastudio/requirements.txt b/huaweicloud-sdk-metastudio/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-metastudio/requirements.txt +++ b/huaweicloud-sdk-metastudio/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-metastudio/setup.py b/huaweicloud-sdk-metastudio/setup.py index a1059228bb..2460ad3de1 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-moderation/requirements.txt b/huaweicloud-sdk-moderation/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-moderation/requirements.txt +++ b/huaweicloud-sdk-moderation/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-moderation/setup.py b/huaweicloud-sdk-moderation/setup.py index a02bd8138d..f0762ceacf 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-mpc/requirements.txt b/huaweicloud-sdk-mpc/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-mpc/requirements.txt +++ b/huaweicloud-sdk-mpc/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-mpc/setup.py b/huaweicloud-sdk-mpc/setup.py index a81c989a2e..ab19431760 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-mrs/requirements.txt b/huaweicloud-sdk-mrs/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-mrs/requirements.txt +++ b/huaweicloud-sdk-mrs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-mrs/setup.py b/huaweicloud-sdk-mrs/setup.py index 732e7915e9..a09b4c43c4 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-msgsms/requirements.txt b/huaweicloud-sdk-msgsms/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-msgsms/requirements.txt +++ b/huaweicloud-sdk-msgsms/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-msgsms/setup.py b/huaweicloud-sdk-msgsms/setup.py index c19cef627d..b24ec03bb8 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-mssi/requirements.txt b/huaweicloud-sdk-mssi/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-mssi/requirements.txt +++ b/huaweicloud-sdk-mssi/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-mssi/setup.py b/huaweicloud-sdk-mssi/setup.py index 65adaf9b97..f07048d348 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-nat/requirements.txt b/huaweicloud-sdk-nat/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-nat/requirements.txt +++ b/huaweicloud-sdk-nat/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-nat/setup.py b/huaweicloud-sdk-nat/setup.py index 8ad7e3cc8a..62aeaec1d0 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-nlp/requirements.txt b/huaweicloud-sdk-nlp/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-nlp/requirements.txt +++ b/huaweicloud-sdk-nlp/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-nlp/setup.py b/huaweicloud-sdk-nlp/setup.py index 7fd6624ea1..07946a39d3 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-obs/requirements.txt b/huaweicloud-sdk-obs/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-obs/requirements.txt +++ b/huaweicloud-sdk-obs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-obs/setup.py b/huaweicloud-sdk-obs/setup.py index 7adddc3df2..1e2247462e 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ocr/requirements.txt b/huaweicloud-sdk-ocr/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-ocr/requirements.txt +++ b/huaweicloud-sdk-ocr/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-ocr/setup.py b/huaweicloud-sdk-ocr/setup.py index 024cd89fb1..89693b0433 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-octopus/requirements.txt b/huaweicloud-sdk-octopus/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-octopus/requirements.txt +++ b/huaweicloud-sdk-octopus/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-octopus/setup.py b/huaweicloud-sdk-octopus/setup.py index 2ccfbb6562..f757275dd5 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-oms/requirements.txt b/huaweicloud-sdk-oms/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-oms/requirements.txt +++ b/huaweicloud-sdk-oms/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-oms/setup.py b/huaweicloud-sdk-oms/setup.py index 76a0d8bdbf..24adf60949 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-optverse/requirements.txt b/huaweicloud-sdk-optverse/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-optverse/requirements.txt +++ b/huaweicloud-sdk-optverse/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-optverse/setup.py b/huaweicloud-sdk-optverse/setup.py index 56a7655335..6c078448e5 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-organizations/requirements.txt b/huaweicloud-sdk-organizations/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-organizations/requirements.txt +++ b/huaweicloud-sdk-organizations/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-organizations/setup.py b/huaweicloud-sdk-organizations/setup.py index d14cbeb454..495b450aad 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-orgid/requirements.txt b/huaweicloud-sdk-orgid/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-orgid/requirements.txt +++ b/huaweicloud-sdk-orgid/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-orgid/setup.py b/huaweicloud-sdk-orgid/setup.py index 029eb2c398..d02767d9e1 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-oroas/requirements.txt b/huaweicloud-sdk-oroas/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-oroas/requirements.txt +++ b/huaweicloud-sdk-oroas/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-oroas/setup.py b/huaweicloud-sdk-oroas/setup.py index 7434486b98..455c9635ea 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-osm/requirements.txt b/huaweicloud-sdk-osm/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-osm/requirements.txt +++ b/huaweicloud-sdk-osm/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-osm/setup.py b/huaweicloud-sdk-osm/setup.py index 376e91fab7..dbe09f098a 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-pangulargemodels/requirements.txt b/huaweicloud-sdk-pangulargemodels/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-pangulargemodels/requirements.txt +++ b/huaweicloud-sdk-pangulargemodels/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-pangulargemodels/setup.py b/huaweicloud-sdk-pangulargemodels/setup.py index d15255976a..f3b218b04a 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-projectman/requirements.txt b/huaweicloud-sdk-projectman/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-projectman/requirements.txt +++ b/huaweicloud-sdk-projectman/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-projectman/setup.py b/huaweicloud-sdk-projectman/setup.py index 322c97cf0d..b9b295d674 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-rabbitmq/requirements.txt b/huaweicloud-sdk-rabbitmq/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-rabbitmq/requirements.txt +++ b/huaweicloud-sdk-rabbitmq/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-rabbitmq/setup.py b/huaweicloud-sdk-rabbitmq/setup.py index 75ed7ee1d2..367e8ae2d1 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ram/requirements.txt b/huaweicloud-sdk-ram/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-ram/requirements.txt +++ b/huaweicloud-sdk-ram/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-ram/setup.py b/huaweicloud-sdk-ram/setup.py index b34e9ee1aa..571da17451 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-rds/requirements.txt b/huaweicloud-sdk-rds/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-rds/requirements.txt +++ b/huaweicloud-sdk-rds/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-rds/setup.py b/huaweicloud-sdk-rds/setup.py index 34deb712c2..d9fc0008b6 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-res/requirements.txt b/huaweicloud-sdk-res/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-res/requirements.txt +++ b/huaweicloud-sdk-res/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-res/setup.py b/huaweicloud-sdk-res/setup.py index af8369395d..b8e5698348 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-rgc/requirements.txt b/huaweicloud-sdk-rgc/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-rgc/requirements.txt +++ b/huaweicloud-sdk-rgc/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-rgc/setup.py b/huaweicloud-sdk-rgc/setup.py index b19cf31550..70b0a5d414 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-rms/requirements.txt b/huaweicloud-sdk-rms/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-rms/requirements.txt +++ b/huaweicloud-sdk-rms/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-rms/setup.py b/huaweicloud-sdk-rms/setup.py index 342152df8f..fbf04c7894 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-rocketmq/requirements.txt b/huaweicloud-sdk-rocketmq/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-rocketmq/requirements.txt +++ b/huaweicloud-sdk-rocketmq/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-rocketmq/setup.py b/huaweicloud-sdk-rocketmq/setup.py index dbe789cb4c..c3ea90af56 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-roma/requirements.txt b/huaweicloud-sdk-roma/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-roma/requirements.txt +++ b/huaweicloud-sdk-roma/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-roma/setup.py b/huaweicloud-sdk-roma/setup.py index 6ac6684a3a..9a93dbacee 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-sa/requirements.txt b/huaweicloud-sdk-sa/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-sa/requirements.txt +++ b/huaweicloud-sdk-sa/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-sa/setup.py b/huaweicloud-sdk-sa/setup.py index ab4b138e3d..b583a475cb 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-scm/requirements.txt b/huaweicloud-sdk-scm/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-scm/requirements.txt +++ b/huaweicloud-sdk-scm/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-scm/setup.py b/huaweicloud-sdk-scm/setup.py index 54d3df0663..dcda1bc581 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-sdrs/requirements.txt b/huaweicloud-sdk-sdrs/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-sdrs/requirements.txt +++ b/huaweicloud-sdk-sdrs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-sdrs/setup.py b/huaweicloud-sdk-sdrs/setup.py index a205db4d54..4378123451 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-secmaster/requirements.txt b/huaweicloud-sdk-secmaster/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-secmaster/requirements.txt +++ b/huaweicloud-sdk-secmaster/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-secmaster/setup.py b/huaweicloud-sdk-secmaster/setup.py index 0dca802e91..19cb2c4ca8 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-servicestage/requirements.txt b/huaweicloud-sdk-servicestage/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-servicestage/requirements.txt +++ b/huaweicloud-sdk-servicestage/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-servicestage/setup.py b/huaweicloud-sdk-servicestage/setup.py index 66f99556b0..4ce55001bd 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-sfsturbo/requirements.txt b/huaweicloud-sdk-sfsturbo/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-sfsturbo/requirements.txt +++ b/huaweicloud-sdk-sfsturbo/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-sfsturbo/setup.py b/huaweicloud-sdk-sfsturbo/setup.py index 8d45bf6537..4b7b832bf9 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-sis/requirements.txt b/huaweicloud-sdk-sis/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-sis/requirements.txt +++ b/huaweicloud-sdk-sis/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-sis/setup.py b/huaweicloud-sdk-sis/setup.py index ee32d4aaab..e4bb6b9ca3 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-smn/requirements.txt b/huaweicloud-sdk-smn/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-smn/requirements.txt +++ b/huaweicloud-sdk-smn/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-smn/setup.py b/huaweicloud-sdk-smn/setup.py index 1f610276ab..bed343fd2d 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-sms/requirements.txt b/huaweicloud-sdk-sms/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-sms/requirements.txt +++ b/huaweicloud-sdk-sms/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-sms/setup.py b/huaweicloud-sdk-sms/setup.py index 47006269c4..e33a1c9410 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-sts/requirements.txt b/huaweicloud-sdk-sts/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-sts/requirements.txt +++ b/huaweicloud-sdk-sts/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-sts/setup.py b/huaweicloud-sdk-sts/setup.py index 8ed51deb2e..928b53e404 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-swr/requirements.txt b/huaweicloud-sdk-swr/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-swr/requirements.txt +++ b/huaweicloud-sdk-swr/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-swr/setup.py b/huaweicloud-sdk-swr/setup.py index 257079783a..350316f900 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-tics/requirements.txt b/huaweicloud-sdk-tics/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-tics/requirements.txt +++ b/huaweicloud-sdk-tics/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-tics/setup.py b/huaweicloud-sdk-tics/setup.py index f28dc047f8..7bc924939f 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-tms/requirements.txt b/huaweicloud-sdk-tms/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-tms/requirements.txt +++ b/huaweicloud-sdk-tms/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-tms/setup.py b/huaweicloud-sdk-tms/setup.py index ba7d4b2951..5ed68cd4a9 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ugo/requirements.txt b/huaweicloud-sdk-ugo/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-ugo/requirements.txt +++ b/huaweicloud-sdk-ugo/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-ugo/setup.py b/huaweicloud-sdk-ugo/setup.py index 3a58ddfb19..ea85e6cdab 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-vas/requirements.txt b/huaweicloud-sdk-vas/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-vas/requirements.txt +++ b/huaweicloud-sdk-vas/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-vas/setup.py b/huaweicloud-sdk-vas/setup.py index 2cff55db86..36e4127238 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-vcm/requirements.txt b/huaweicloud-sdk-vcm/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-vcm/requirements.txt +++ b/huaweicloud-sdk-vcm/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-vcm/setup.py b/huaweicloud-sdk-vcm/setup.py index 25745cce00..da56081be6 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-vod/requirements.txt b/huaweicloud-sdk-vod/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-vod/requirements.txt +++ b/huaweicloud-sdk-vod/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-vod/setup.py b/huaweicloud-sdk-vod/setup.py index cdbc05deba..7a89d878f4 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-vpc/requirements.txt b/huaweicloud-sdk-vpc/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-vpc/requirements.txt +++ b/huaweicloud-sdk-vpc/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-vpc/setup.py b/huaweicloud-sdk-vpc/setup.py index a2de3c1ba5..529bb075db 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/create_endpoint_service_request_body.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/create_endpoint_service_request_body.py index 883aa6dd91..67a7bd5852 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/create_endpoint_service_request_body.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/create_endpoint_service_request_body.py @@ -23,6 +23,7 @@ class CreateEndpointServiceRequestBody: 'approval_enabled': 'bool', 'service_type': 'str', 'server_type': 'str', + 'ip': 'str', 'ports': 'list[PortList]', 'tcp_proxy': 'str', 'tags': 'list[TagList]', @@ -37,6 +38,7 @@ class CreateEndpointServiceRequestBody: 'approval_enabled': 'approval_enabled', 'service_type': 'service_type', 'server_type': 'server_type', + 'ip': 'ip', 'ports': 'ports', 'tcp_proxy': 'tcp_proxy', 'tags': 'tags', @@ -44,7 +46,7 @@ class CreateEndpointServiceRequestBody: 'ip_version': 'ip_version' } - def __init__(self, port_id=None, service_name=None, vpc_id=None, approval_enabled=None, service_type=None, server_type=None, ports=None, tcp_proxy=None, tags=None, description=None, ip_version=None): + def __init__(self, port_id=None, service_name=None, vpc_id=None, approval_enabled=None, service_type=None, server_type=None, ip=None, ports=None, tcp_proxy=None, tags=None, description=None, ip_version=None): """CreateEndpointServiceRequestBody The model defined in huaweicloud sdk @@ -61,11 +63,13 @@ def __init__(self, port_id=None, service_name=None, vpc_id=None, approval_enable :type service_type: str :param server_type: 资源类型。 - VM:云服务器,适用于作为服务器使用。 - VIP:虚拟IP,适用于作为虚IP场景使用。(该字段已废弃,请优先使用LB类型) - LB:负载均衡,适用于高访问量业务和对可靠性和容灾性要求较高的业务。 :type server_type: str + :param ip: 接口型VLAN场景服务端IPv4地址或域名 + :type ip: str :param ports: 服务开放的端口映射列表,详细内容请参见表4-10。 同一个终端节点服务下,不允许重复的端口映射。若多个终端节点服务共用一个port_id, 则终端节点服务之间的所有端口映射的server_port和protocol的组合不能重复, 单次最多添加200个。 :type ports: list[:class:`huaweicloudsdkvpcep.v1.PortList`] :param tcp_proxy: 用于控制将哪些信息(如客户端的源IP、源端口、marker_id等)携带到服务端。 支持携带的客户端信息包括如下两种类型: - TCP TOA:表示将客户端信息插入到tcp option字段中携带至服务端。 说明:仅当后端资源为OBS时,支持TCP TOA类型信息携带方式。 - Proxy Protocol:表示将客户端信息插入到tcp payload字段中携带至服务端。 仅当服务端支持解析上述字段时,该参数设置才有效。 该参数的取值包括: - close:表示关闭代理协议。 - toa_open:表示开启代理协议“tcp_toa”。 - proxy_open:表示开启代理协议“proxy_protocol”。 - open:表示同时开启代理协议“tcp_toa”和“proxy_protocol”。 默认值为“close”。 :type tcp_proxy: str - :param tags: 资源标签列表。同一个终端节点服务最多可添加10个标签。 + :param tags: 资源标签列表。同一个终端节点服务最多可添加20个标签。 :type tags: list[:class:`huaweicloudsdkvpcep.v1.TagList`] :param description: 描述字段,支持中英文字母、数字等字符,不支持“<”或“>”字符。 描述字段,支持中英文字母、数字等字符,不支持“<”或“>”字符。 :type description: str @@ -81,6 +85,7 @@ def __init__(self, port_id=None, service_name=None, vpc_id=None, approval_enable self._approval_enabled = None self._service_type = None self._server_type = None + self._ip = None self._ports = None self._tcp_proxy = None self._tags = None @@ -97,6 +102,8 @@ def __init__(self, port_id=None, service_name=None, vpc_id=None, approval_enable if service_type is not None: self.service_type = service_type self.server_type = server_type + if ip is not None: + self.ip = ip self.ports = ports if tcp_proxy is not None: self.tcp_proxy = tcp_proxy @@ -239,6 +246,28 @@ def server_type(self, server_type): """ self._server_type = server_type + @property + def ip(self): + """Gets the ip of this CreateEndpointServiceRequestBody. + + 接口型VLAN场景服务端IPv4地址或域名 + + :return: The ip of this CreateEndpointServiceRequestBody. + :rtype: str + """ + return self._ip + + @ip.setter + def ip(self, ip): + """Sets the ip of this CreateEndpointServiceRequestBody. + + 接口型VLAN场景服务端IPv4地址或域名 + + :param ip: The ip of this CreateEndpointServiceRequestBody. + :type ip: str + """ + self._ip = ip + @property def ports(self): """Gets the ports of this CreateEndpointServiceRequestBody. @@ -287,7 +316,7 @@ def tcp_proxy(self, tcp_proxy): def tags(self): """Gets the tags of this CreateEndpointServiceRequestBody. - 资源标签列表。同一个终端节点服务最多可添加10个标签。 + 资源标签列表。同一个终端节点服务最多可添加20个标签。 :return: The tags of this CreateEndpointServiceRequestBody. :rtype: list[:class:`huaweicloudsdkvpcep.v1.TagList`] @@ -298,7 +327,7 @@ def tags(self): def tags(self, tags): """Sets the tags of this CreateEndpointServiceRequestBody. - 资源标签列表。同一个终端节点服务最多可添加10个标签。 + 资源标签列表。同一个终端节点服务最多可添加20个标签。 :param tags: The tags of this CreateEndpointServiceRequestBody. :type tags: list[:class:`huaweicloudsdkvpcep.v1.TagList`] diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/create_endpoint_service_response.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/create_endpoint_service_response.py index e77409743e..6a49b51928 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/create_endpoint_service_response.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/create_endpoint_service_response.py @@ -30,6 +30,7 @@ class CreateEndpointServiceResponse(SdkResponse): 'created_at': 'datetime', 'updated_at': 'datetime', 'project_id': 'str', + 'ip': 'str', 'ports': 'list[PortList]', 'tcp_proxy': 'str', 'tags': 'list[TagList]', @@ -51,6 +52,7 @@ class CreateEndpointServiceResponse(SdkResponse): 'created_at': 'created_at', 'updated_at': 'updated_at', 'project_id': 'project_id', + 'ip': 'ip', 'ports': 'ports', 'tcp_proxy': 'tcp_proxy', 'tags': 'tags', @@ -59,7 +61,7 @@ class CreateEndpointServiceResponse(SdkResponse): 'ip_version': 'ip_version' } - def __init__(self, id=None, port_id=None, service_name=None, server_type=None, vpc_id=None, pool_id=None, approval_enabled=None, status=None, service_type=None, created_at=None, updated_at=None, project_id=None, ports=None, tcp_proxy=None, tags=None, description=None, enable_policy=None, ip_version=None): + def __init__(self, id=None, port_id=None, service_name=None, server_type=None, vpc_id=None, pool_id=None, approval_enabled=None, status=None, service_type=None, created_at=None, updated_at=None, project_id=None, ip=None, ports=None, tcp_proxy=None, tags=None, description=None, enable_policy=None, ip_version=None): """CreateEndpointServiceResponse The model defined in huaweicloud sdk @@ -88,6 +90,8 @@ def __init__(self, id=None, port_id=None, service_name=None, server_type=None, v :type updated_at: datetime :param project_id: 项目ID :type project_id: str + :param ip: 接口型VLAN场景服务端IPv4地址或域名 + :type ip: str :param ports: 服务开放的端口映射列表 同一个终端节点服务下,不允许重复的端口映射。 若多个终端节点服务共用一个port_id, 则终端节点服务之间的所有端口映射的server_port和protocol的组合不能重复。 :type ports: list[:class:`huaweicloudsdkvpcep.v1.PortList`] :param tcp_proxy: 用于控制将哪些信息(如客户端的源IP、源端口、marker_id等)携带到服务端。 支持携带的客户端信息包括如下两种类型: - TCP TOA:表示将客户端信息插入到tcp option字段中携带至服务端。 说明:仅当后端资源为OBS时,支持TCP TOA类型信息携带方式。 - Proxy Protocol:表示将客户端信息插入到tcp payload字段中携带至服务端。 仅当服务端支持解析上述字段时,该参数设置才有效。 该参数的取值包括: - close:表示关闭代理协议。 - toa_open:表示开启代理协议“tcp_toa”。 - proxy_open:表示开启代理协议“proxy_protocol”。 - open:表示同时开启代理协议“tcp_toa”和“proxy_protocol”。 默认值为“close”。 @@ -116,6 +120,7 @@ def __init__(self, id=None, port_id=None, service_name=None, server_type=None, v self._created_at = None self._updated_at = None self._project_id = None + self._ip = None self._ports = None self._tcp_proxy = None self._tags = None @@ -148,6 +153,8 @@ def __init__(self, id=None, port_id=None, service_name=None, server_type=None, v self.updated_at = updated_at if project_id is not None: self.project_id = project_id + if ip is not None: + self.ip = ip if ports is not None: self.ports = ports if tcp_proxy is not None: @@ -425,6 +432,28 @@ def project_id(self, project_id): """ self._project_id = project_id + @property + def ip(self): + """Gets the ip of this CreateEndpointServiceResponse. + + 接口型VLAN场景服务端IPv4地址或域名 + + :return: The ip of this CreateEndpointServiceResponse. + :rtype: str + """ + return self._ip + + @ip.setter + def ip(self, ip): + """Sets the ip of this CreateEndpointServiceResponse. + + 接口型VLAN场景服务端IPv4地址或域名 + + :param ip: The ip of this CreateEndpointServiceResponse. + :type ip: str + """ + self._ip = ip + @property def ports(self): """Gets the ports of this CreateEndpointServiceResponse. diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_endpoint_service_request.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_endpoint_service_request.py index 57002ecab5..09893faf2d 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_endpoint_service_request.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_endpoint_service_request.py @@ -24,7 +24,8 @@ class ListEndpointServiceRequest: 'sort_dir': 'str', 'limit': 'int', 'offset': 'int', - 'public_border_group': 'str' + 'public_border_group': 'str', + 'net_type': 'str' } attribute_map = { @@ -35,10 +36,11 @@ class ListEndpointServiceRequest: 'sort_dir': 'sort_dir', 'limit': 'limit', 'offset': 'offset', - 'public_border_group': 'public_border_group' + 'public_border_group': 'public_border_group', + 'net_type': 'net_type' } - def __init__(self, endpoint_service_name=None, id=None, status=None, sort_key=None, sort_dir=None, limit=None, offset=None, public_border_group=None): + def __init__(self, endpoint_service_name=None, id=None, status=None, sort_key=None, sort_dir=None, limit=None, offset=None, public_border_group=None, net_type=None): """ListEndpointServiceRequest The model defined in huaweicloud sdk @@ -59,6 +61,8 @@ def __init__(self, endpoint_service_name=None, id=None, status=None, sort_key=No :type offset: int :param public_border_group: 筛选结果中匹配边缘属性的EPS :type public_border_group: str + :param net_type: 后端类型 + :type net_type: str """ @@ -71,6 +75,7 @@ def __init__(self, endpoint_service_name=None, id=None, status=None, sort_key=No self._limit = None self._offset = None self._public_border_group = None + self._net_type = None self.discriminator = None if endpoint_service_name is not None: @@ -89,6 +94,8 @@ def __init__(self, endpoint_service_name=None, id=None, status=None, sort_key=No self.offset = offset if public_border_group is not None: self.public_border_group = public_border_group + if net_type is not None: + self.net_type = net_type @property def endpoint_service_name(self): @@ -266,6 +273,28 @@ def public_border_group(self, public_border_group): """ self._public_border_group = public_border_group + @property + def net_type(self): + """Gets the net_type of this ListEndpointServiceRequest. + + 后端类型 + + :return: The net_type of this ListEndpointServiceRequest. + :rtype: str + """ + return self._net_type + + @net_type.setter + def net_type(self, net_type): + """Sets the net_type of this ListEndpointServiceRequest. + + 后端类型 + + :param net_type: The net_type of this ListEndpointServiceRequest. + :type net_type: str + """ + self._net_type = net_type + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_service_details_response.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_service_details_response.py index bfc019d9ad..c35f99545e 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_service_details_response.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/list_service_details_response.py @@ -30,6 +30,7 @@ class ListServiceDetailsResponse(SdkResponse): 'updated_at': 'datetime', 'project_id': 'str', 'cidr_type': 'str', + 'ip': 'str', 'ports': 'list[PortList]', 'tcp_proxy': 'str', 'tags': 'list[TagList]', @@ -51,6 +52,7 @@ class ListServiceDetailsResponse(SdkResponse): 'updated_at': 'updated_at', 'project_id': 'project_id', 'cidr_type': 'cidr_type', + 'ip': 'ip', 'ports': 'ports', 'tcp_proxy': 'tcp_proxy', 'tags': 'tags', @@ -59,7 +61,7 @@ class ListServiceDetailsResponse(SdkResponse): 'description': 'description' } - def __init__(self, id=None, port_id=None, service_name=None, server_type=None, vpc_id=None, approval_enabled=None, status=None, service_type=None, created_at=None, updated_at=None, project_id=None, cidr_type=None, ports=None, tcp_proxy=None, tags=None, error=None, enable_policy=None, description=None): + def __init__(self, id=None, port_id=None, service_name=None, server_type=None, vpc_id=None, approval_enabled=None, status=None, service_type=None, created_at=None, updated_at=None, project_id=None, cidr_type=None, ip=None, ports=None, tcp_proxy=None, tags=None, error=None, enable_policy=None, description=None): """ListServiceDetailsResponse The model defined in huaweicloud sdk @@ -88,6 +90,8 @@ def __init__(self, id=None, port_id=None, service_name=None, server_type=None, v :type project_id: str :param cidr_type: 网段类型。 public:公网网段 internal:内网网段 默认值为internal。 :type cidr_type: str + :param ip: 接口型VLAN场景服务端IPv4地址或域名 + :type ip: str :param ports: 服务开放的端口映射列表,详细内容请参见表4-17 同一个终端节点服务下,不允许重复的端口映射。若多个终端节点服务共用一个port_id,则 终端节点服务之间的所有端口映射的server_port和protocol的组合不能重复。 :type ports: list[:class:`huaweicloudsdkvpcep.v1.PortList`] :param tcp_proxy: 用于控制将哪些信息(如客户端的源IP、源端口、marker_id等)携带到服务端。 支持携带的客户端信息包括如下两种类型: - TCP TOA:表示将客户端信息插入到tcp option字段中携带至服务端。 说明:仅当后端资源为OBS时,支持TCP TOA类型信息携带方式。 - Proxy Protocol:表示将客户端信息插入到tcp payload字段中携带至服务端。 仅当服务端支持解析上述字段时,该参数设置才有效。 该参数的取值包括: - close:表示关闭代理协议。 - toa_open:表示开启代理协议“tcp_toa”。 - proxy_open:表示开启代理协议“proxy_protocol”。 - open:表示同时开启代理协议“tcp_toa”和“proxy_protocol”。 默认值为“close”。 @@ -116,6 +120,7 @@ def __init__(self, id=None, port_id=None, service_name=None, server_type=None, v self._updated_at = None self._project_id = None self._cidr_type = None + self._ip = None self._ports = None self._tcp_proxy = None self._tags = None @@ -148,6 +153,8 @@ def __init__(self, id=None, port_id=None, service_name=None, server_type=None, v self.project_id = project_id if cidr_type is not None: self.cidr_type = cidr_type + if ip is not None: + self.ip = ip if ports is not None: self.ports = ports if tcp_proxy is not None: @@ -425,6 +432,28 @@ def cidr_type(self, cidr_type): """ self._cidr_type = cidr_type + @property + def ip(self): + """Gets the ip of this ListServiceDetailsResponse. + + 接口型VLAN场景服务端IPv4地址或域名 + + :return: The ip of this ListServiceDetailsResponse. + :rtype: str + """ + return self._ip + + @ip.setter + def ip(self, ip): + """Sets the ip of this ListServiceDetailsResponse. + + 接口型VLAN场景服务端IPv4地址或域名 + + :param ip: The ip of this ListServiceDetailsResponse. + :type ip: str + """ + self._ip = ip + @property def ports(self): """Gets the ports of this ListServiceDetailsResponse. diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/policy_statement.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/policy_statement.py index d9dfc62c63..347f7bf596 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/policy_statement.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/policy_statement.py @@ -33,7 +33,7 @@ def __init__(self, effect=None, action=None, resource=None): The model defined in huaweicloud sdk - :param effect: Allow允许或Deny拒绝,控制访问权限 + :param effect: - Allow,允许控制访问权限 - Deny,拒绝控制访问权限 :type effect: str :param action: obs访问权限 :type action: list[str] @@ -56,7 +56,7 @@ def __init__(self, effect=None, action=None, resource=None): def effect(self): """Gets the effect of this PolicyStatement. - Allow允许或Deny拒绝,控制访问权限 + - Allow,允许控制访问权限 - Deny,拒绝控制访问权限 :return: The effect of this PolicyStatement. :rtype: str @@ -67,7 +67,7 @@ def effect(self): def effect(self, effect): """Sets the effect of this PolicyStatement. - Allow允许或Deny拒绝,控制访问权限 + - Allow,允许控制访问权限 - Deny,拒绝控制访问权限 :param effect: The effect of this PolicyStatement. :type effect: str diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/resource_tag.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/resource_tag.py index 21f954e517..841587e358 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/resource_tag.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/resource_tag.py @@ -31,9 +31,9 @@ def __init__(self, key=None, value=None): The model defined in huaweicloud sdk - :param key: 键。最大长度36个unicode字符。 key需要满足标签字符集规范。 + :param key: 键。最大长度128个unicode字符。 key需要满足标签字符集规范。 :type key: str - :param value: 值。action为create时必选,每个值最大长度43个unicode字符, 删除时如果value有值按照key/value删除, 如果value没值,则按照key删除。 value需要满足标签字符集规范。 + :param value: 值。action为create时必选,每个值最大长度255个unicode字符, 删除时如果value有值按照key/value删除, 如果value没值,则按照key删除。 value需要满足标签字符集规范。 :type value: str """ @@ -51,7 +51,7 @@ def __init__(self, key=None, value=None): def key(self): """Gets the key of this ResourceTag. - 键。最大长度36个unicode字符。 key需要满足标签字符集规范。 + 键。最大长度128个unicode字符。 key需要满足标签字符集规范。 :return: The key of this ResourceTag. :rtype: str @@ -62,7 +62,7 @@ def key(self): def key(self, key): """Sets the key of this ResourceTag. - 键。最大长度36个unicode字符。 key需要满足标签字符集规范。 + 键。最大长度128个unicode字符。 key需要满足标签字符集规范。 :param key: The key of this ResourceTag. :type key: str @@ -73,7 +73,7 @@ def key(self, key): def value(self): """Gets the value of this ResourceTag. - 值。action为create时必选,每个值最大长度43个unicode字符, 删除时如果value有值按照key/value删除, 如果value没值,则按照key删除。 value需要满足标签字符集规范。 + 值。action为create时必选,每个值最大长度255个unicode字符, 删除时如果value有值按照key/value删除, 如果value没值,则按照key删除。 value需要满足标签字符集规范。 :return: The value of this ResourceTag. :rtype: str @@ -84,7 +84,7 @@ def value(self): def value(self, value): """Sets the value of this ResourceTag. - 值。action为create时必选,每个值最大长度43个unicode字符, 删除时如果value有值按照key/value删除, 如果value没值,则按照key删除。 value需要满足标签字符集规范。 + 值。action为create时必选,每个值最大长度255个unicode字符, 删除时如果value有值按照key/value删除, 如果value没值,则按照key删除。 value需要满足标签字符集规范。 :param value: The value of this ResourceTag. :type value: str diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/service_list.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/service_list.py index 9f085da666..69d07e1346 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/service_list.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/service_list.py @@ -30,6 +30,7 @@ class ServiceList: 'project_id': 'str', 'domain_id': 'str', 'ports': 'list[PortList]', + 'ip': 'str', 'tags': 'list[TagList]', 'connection_count': 'int', 'tcp_proxy': 'str', @@ -53,6 +54,7 @@ class ServiceList: 'project_id': 'project_id', 'domain_id': 'domain_id', 'ports': 'ports', + 'ip': 'ip', 'tags': 'tags', 'connection_count': 'connection_count', 'tcp_proxy': 'tcp_proxy', @@ -62,7 +64,7 @@ class ServiceList: 'enable_policy': 'enable_policy' } - def __init__(self, id=None, port_id=None, service_name=None, server_type=None, vpc_id=None, approval_enabled=None, status=None, service_type=None, created_at=None, updated_at=None, project_id=None, domain_id=None, ports=None, tags=None, connection_count=None, tcp_proxy=None, error=None, description=None, public_border_group=None, enable_policy=None): + def __init__(self, id=None, port_id=None, service_name=None, server_type=None, vpc_id=None, approval_enabled=None, status=None, service_type=None, created_at=None, updated_at=None, project_id=None, domain_id=None, ports=None, ip=None, tags=None, connection_count=None, tcp_proxy=None, error=None, description=None, public_border_group=None, enable_policy=None): """ServiceList The model defined in huaweicloud sdk @@ -93,6 +95,8 @@ def __init__(self, id=None, port_id=None, service_name=None, server_type=None, v :type domain_id: str :param ports: 服务开放的端口映射列表 同一个终端节点服务下,不允许重复的端口映射。 若多个终端节点服务共用一个port_id, 则终端节点服务之间的所有端口映射的server_port和protocol的组合不能重复。 :type ports: list[:class:`huaweicloudsdkvpcep.v1.PortList`] + :param ip: 接口型VLAN场景服务端IPv4地址或域名 + :type ip: str :param tags: 资源标签列表 :type tags: list[:class:`huaweicloudsdkvpcep.v1.TagList`] :param connection_count: 终端节点服务下连接的状态为“创建中”或“已接受”的终端节点的个数。 @@ -124,6 +128,7 @@ def __init__(self, id=None, port_id=None, service_name=None, server_type=None, v self._project_id = None self._domain_id = None self._ports = None + self._ip = None self._tags = None self._connection_count = None self._tcp_proxy = None @@ -159,6 +164,8 @@ def __init__(self, id=None, port_id=None, service_name=None, server_type=None, v self.domain_id = domain_id if ports is not None: self.ports = ports + if ip is not None: + self.ip = ip if tags is not None: self.tags = tags if connection_count is not None: @@ -460,6 +467,28 @@ def ports(self, ports): """ self._ports = ports + @property + def ip(self): + """Gets the ip of this ServiceList. + + 接口型VLAN场景服务端IPv4地址或域名 + + :return: The ip of this ServiceList. + :rtype: str + """ + return self._ip + + @ip.setter + def ip(self, ip): + """Sets the ip of this ServiceList. + + 接口型VLAN场景服务端IPv4地址或域名 + + :param ip: The ip of this ServiceList. + :type ip: str + """ + self._ip = ip + @property def tags(self): """Gets the tags of this ServiceList. diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/tag_list.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/tag_list.py index 17bdbe3d96..239999a60e 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/tag_list.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/tag_list.py @@ -31,9 +31,9 @@ def __init__(self, key=None, value=None): The model defined in huaweicloud sdk - :param key: 键。 最大长度36个unicode字符。 key不能为空。不能包含“=”、“*”、“<”、“>”、“\\”、“,”、“|”和“/”,且首尾字符不能为空格。 + :param key: 键。 key不能为空,长度1~128个字符(中文也可以输入128个字符)。 可用 UTF-8 格式表示的字母(包含中文、西班牙语、葡语等)、数字和空格,以及以下字符: _ . : = + - @。 _sys_开头属于系统标签,租户不能输入。 key两头不能有空格字符。 :type key: str - :param value: 值。 每个值最大长度43个unicode字符,可以为空字符串。 不能包含“=”、“*”、“<”、“>”、“\\”、“,”、“|”和“/”,且首尾字符不能为空格。 + :param value: 值。 长度0~255个字符(中文也可以输入255个字符)。 可用 UTF-8 格式表示的字母(包含中文、西班牙语、葡语等)、数字和空格,以及以下字符: _ . : / = + - @。 资源标签值可以为空字符串。 :type value: str """ @@ -52,7 +52,7 @@ def __init__(self, key=None, value=None): def key(self): """Gets the key of this TagList. - 键。 最大长度36个unicode字符。 key不能为空。不能包含“=”、“*”、“<”、“>”、“\\”、“,”、“|”和“/”,且首尾字符不能为空格。 + 键。 key不能为空,长度1~128个字符(中文也可以输入128个字符)。 可用 UTF-8 格式表示的字母(包含中文、西班牙语、葡语等)、数字和空格,以及以下字符: _ . : = + - @。 _sys_开头属于系统标签,租户不能输入。 key两头不能有空格字符。 :return: The key of this TagList. :rtype: str @@ -63,7 +63,7 @@ def key(self): def key(self, key): """Sets the key of this TagList. - 键。 最大长度36个unicode字符。 key不能为空。不能包含“=”、“*”、“<”、“>”、“\\”、“,”、“|”和“/”,且首尾字符不能为空格。 + 键。 key不能为空,长度1~128个字符(中文也可以输入128个字符)。 可用 UTF-8 格式表示的字母(包含中文、西班牙语、葡语等)、数字和空格,以及以下字符: _ . : = + - @。 _sys_开头属于系统标签,租户不能输入。 key两头不能有空格字符。 :param key: The key of this TagList. :type key: str @@ -74,7 +74,7 @@ def key(self, key): def value(self): """Gets the value of this TagList. - 值。 每个值最大长度43个unicode字符,可以为空字符串。 不能包含“=”、“*”、“<”、“>”、“\\”、“,”、“|”和“/”,且首尾字符不能为空格。 + 值。 长度0~255个字符(中文也可以输入255个字符)。 可用 UTF-8 格式表示的字母(包含中文、西班牙语、葡语等)、数字和空格,以及以下字符: _ . : / = + - @。 资源标签值可以为空字符串。 :return: The value of this TagList. :rtype: str @@ -85,7 +85,7 @@ def value(self): def value(self, value): """Sets the value of this TagList. - 值。 每个值最大长度43个unicode字符,可以为空字符串。 不能包含“=”、“*”、“<”、“>”、“\\”、“,”、“|”和“/”,且首尾字符不能为空格。 + 值。 长度0~255个字符(中文也可以输入255个字符)。 可用 UTF-8 格式表示的字母(包含中文、西班牙语、葡语等)、数字和空格,以及以下字符: _ . : / = + - @。 资源标签值可以为空字符串。 :param value: The value of this TagList. :type value: str diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/tag_values_list.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/tag_values_list.py index db17a3d718..190b0ba95e 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/tag_values_list.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/tag_values_list.py @@ -31,7 +31,7 @@ def __init__(self, key=None, values=None): The model defined in huaweicloud sdk - :param key: 键。 最大长度127个unicode字符。key不能为空。(搜索时不对此参数做字符集校), key不能为空或者空字符串,不能为空格,校验和使用之前先trim前后半角空格。 + :param key: 键。 最大长度128个unicode字符。key不能为空。(搜索时不对此参数做字符集校), key不能为空或者空字符串,不能为空格,校验和使用之前先trim前后半角空格。 :type key: str :param values: 值列表。 每个值最大长度255个unicode字符,校验和使用之前先trim前后半角空格。 value可为空数组但不可缺省。如果values为空列表,则表示any_value(查询任意value)。 value之间为或的关系。(搜索时不对此参数做字符集校验,只做长度校验)。 :type values: list[str] @@ -50,7 +50,7 @@ def __init__(self, key=None, values=None): def key(self): """Gets the key of this TagValuesList. - 键。 最大长度127个unicode字符。key不能为空。(搜索时不对此参数做字符集校), key不能为空或者空字符串,不能为空格,校验和使用之前先trim前后半角空格。 + 键。 最大长度128个unicode字符。key不能为空。(搜索时不对此参数做字符集校), key不能为空或者空字符串,不能为空格,校验和使用之前先trim前后半角空格。 :return: The key of this TagValuesList. :rtype: str @@ -61,7 +61,7 @@ def key(self): def key(self, key): """Sets the key of this TagValuesList. - 键。 最大长度127个unicode字符。key不能为空。(搜索时不对此参数做字符集校), key不能为空或者空字符串,不能为空格,校验和使用之前先trim前后半角空格。 + 键。 最大长度128个unicode字符。key不能为空。(搜索时不对此参数做字符集校), key不能为空或者空字符串,不能为空格,校验和使用之前先trim前后半角空格。 :param key: The key of this TagValuesList. :type key: str diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_service_request_body.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_service_request_body.py index ed455ffdce..2de7cc4572 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_service_request_body.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_service_request_body.py @@ -22,7 +22,8 @@ class UpdateEndpointServiceRequestBody: 'ports': 'list[PortList]', 'port_id': 'str', 'tcp_proxy': 'str', - 'description': 'str' + 'description': 'str', + 'ip': 'str' } attribute_map = { @@ -31,10 +32,11 @@ class UpdateEndpointServiceRequestBody: 'ports': 'ports', 'port_id': 'port_id', 'tcp_proxy': 'tcp_proxy', - 'description': 'description' + 'description': 'description', + 'ip': 'ip' } - def __init__(self, approval_enabled=None, service_name=None, ports=None, port_id=None, tcp_proxy=None, description=None): + def __init__(self, approval_enabled=None, service_name=None, ports=None, port_id=None, tcp_proxy=None, description=None, ip=None): """UpdateEndpointServiceRequestBody The model defined in huaweicloud sdk @@ -51,6 +53,8 @@ def __init__(self, approval_enabled=None, service_name=None, ports=None, port_id :type tcp_proxy: str :param description: 描述字段,支持中英文字母、数字等字符,不支持“<”或“>”字符。 :type description: str + :param ip: 接口型VLAN场景服务端IPv4地址或域名 + :type ip: str """ @@ -61,6 +65,7 @@ def __init__(self, approval_enabled=None, service_name=None, ports=None, port_id self._port_id = None self._tcp_proxy = None self._description = None + self._ip = None self.discriminator = None if approval_enabled is not None: @@ -75,6 +80,8 @@ def __init__(self, approval_enabled=None, service_name=None, ports=None, port_id self.tcp_proxy = tcp_proxy if description is not None: self.description = description + if ip is not None: + self.ip = ip @property def approval_enabled(self): @@ -208,6 +215,28 @@ def description(self, description): """ self._description = description + @property + def ip(self): + """Gets the ip of this UpdateEndpointServiceRequestBody. + + 接口型VLAN场景服务端IPv4地址或域名 + + :return: The ip of this UpdateEndpointServiceRequestBody. + :rtype: str + """ + return self._ip + + @ip.setter + def ip(self, ip): + """Sets the ip of this UpdateEndpointServiceRequestBody. + + 接口型VLAN场景服务端IPv4地址或域名 + + :param ip: The ip of this UpdateEndpointServiceRequestBody. + :type ip: str + """ + self._ip = ip + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_service_response.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_service_response.py index 48442578e1..703c5eb986 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_service_response.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_service_response.py @@ -30,6 +30,7 @@ class UpdateEndpointServiceResponse(SdkResponse): 'created_at': 'datetime', 'updated_at': 'datetime', 'project_id': 'str', + 'ip': 'str', 'ports': 'list[PortList]', 'tcp_proxy': 'str', 'tags': 'list[TagList]', @@ -51,6 +52,7 @@ class UpdateEndpointServiceResponse(SdkResponse): 'created_at': 'created_at', 'updated_at': 'updated_at', 'project_id': 'project_id', + 'ip': 'ip', 'ports': 'ports', 'tcp_proxy': 'tcp_proxy', 'tags': 'tags', @@ -59,7 +61,7 @@ class UpdateEndpointServiceResponse(SdkResponse): 'ip_version': 'ip_version' } - def __init__(self, id=None, port_id=None, service_name=None, server_type=None, vpc_id=None, pool_id=None, approval_enabled=None, status=None, service_type=None, created_at=None, updated_at=None, project_id=None, ports=None, tcp_proxy=None, tags=None, description=None, enable_policy=None, ip_version=None): + def __init__(self, id=None, port_id=None, service_name=None, server_type=None, vpc_id=None, pool_id=None, approval_enabled=None, status=None, service_type=None, created_at=None, updated_at=None, project_id=None, ip=None, ports=None, tcp_proxy=None, tags=None, description=None, enable_policy=None, ip_version=None): """UpdateEndpointServiceResponse The model defined in huaweicloud sdk @@ -88,6 +90,8 @@ def __init__(self, id=None, port_id=None, service_name=None, server_type=None, v :type updated_at: datetime :param project_id: 项目ID :type project_id: str + :param ip: 接口型VLAN场景服务端IPv4地址或域名 + :type ip: str :param ports: 服务开放的端口映射列表 同一个终端节点服务下,不允许重复的端口映射。 若多个终端节点服务共用一个port_id, 则终端节点服务之间的所有端口映射的server_port和protocol的组合不能重复。 :type ports: list[:class:`huaweicloudsdkvpcep.v1.PortList`] :param tcp_proxy: 用于控制将哪些信息(如客户端的源IP、源端口、marker_id等)携带到服务端。 支持携带的客户端信息包括如下两种类型: - TCP TOA:表示将客户端信息插入到tcp option字段中携带至服务端。 说明:仅当后端资源为OBS时,支持TCP TOA类型信息携带方式。 - Proxy Protocol:表示将客户端信息插入到tcp payload字段中携带至服务端。 仅当服务端支持解析上述字段时,该参数设置才有效。 该参数的取值包括: - close:表示关闭代理协议。 - toa_open:表示开启代理协议“tcp_toa”。 - proxy_open:表示开启代理协议“proxy_protocol”。 - open:表示同时开启代理协议“tcp_toa”和“proxy_protocol”。 默认值为“close”。 @@ -116,6 +120,7 @@ def __init__(self, id=None, port_id=None, service_name=None, server_type=None, v self._created_at = None self._updated_at = None self._project_id = None + self._ip = None self._ports = None self._tcp_proxy = None self._tags = None @@ -148,6 +153,8 @@ def __init__(self, id=None, port_id=None, service_name=None, server_type=None, v self.updated_at = updated_at if project_id is not None: self.project_id = project_id + if ip is not None: + self.ip = ip if ports is not None: self.ports = ports if tcp_proxy is not None: @@ -425,6 +432,28 @@ def project_id(self, project_id): """ self._project_id = project_id + @property + def ip(self): + """Gets the ip of this UpdateEndpointServiceResponse. + + 接口型VLAN场景服务端IPv4地址或域名 + + :return: The ip of this UpdateEndpointServiceResponse. + :rtype: str + """ + return self._ip + + @ip.setter + def ip(self, ip): + """Sets the ip of this UpdateEndpointServiceResponse. + + 接口型VLAN场景服务端IPv4地址或域名 + + :param ip: The ip of this UpdateEndpointServiceResponse. + :type ip: str + """ + self._ip = ip + @property def ports(self): """Gets the ports of this UpdateEndpointServiceResponse. diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/vpcep_async_client.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/vpcep_async_client.py index 2e5c4d2c4a..31792b40f3 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/vpcep_async_client.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/vpcep_async_client.py @@ -750,6 +750,8 @@ def _list_endpoint_service_http_info(self, request): query_params.append(('offset', local_var_params['offset'])) if 'public_border_group' in local_var_params: query_params.append(('public_border_group', local_var_params['public_border_group'])) + if 'net_type' in local_var_params: + query_params.append(('net_type', local_var_params['net_type'])) header_params = {} diff --git a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/vpcep_client.py b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/vpcep_client.py index 19f32fdb57..f2f1f7d981 100644 --- a/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/vpcep_client.py +++ b/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/vpcep_client.py @@ -750,6 +750,8 @@ def _list_endpoint_service_http_info(cls, request): query_params.append(('offset', local_var_params['offset'])) if 'public_border_group' in local_var_params: query_params.append(('public_border_group', local_var_params['public_border_group'])) + if 'net_type' in local_var_params: + query_params.append(('net_type', local_var_params['net_type'])) header_params = {} diff --git a/huaweicloud-sdk-vpcep/requirements.txt b/huaweicloud-sdk-vpcep/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-vpcep/requirements.txt +++ b/huaweicloud-sdk-vpcep/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-vpcep/setup.py b/huaweicloud-sdk-vpcep/setup.py index 0062af9984..706b0c7e3c 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-vpn/requirements.txt b/huaweicloud-sdk-vpn/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-vpn/requirements.txt +++ b/huaweicloud-sdk-vpn/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-vpn/setup.py b/huaweicloud-sdk-vpn/setup.py index 671f9d9ef1..4ec471b507 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-waf/requirements.txt b/huaweicloud-sdk-waf/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-waf/requirements.txt +++ b/huaweicloud-sdk-waf/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-waf/setup.py b/huaweicloud-sdk-waf/setup.py index 5f58144a71..ade2a01d1e 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-workspace/huaweicloudsdkworkspace/v2/region/workspace_region.py b/huaweicloud-sdk-workspace/huaweicloudsdkworkspace/v2/region/workspace_region.py index e9b9ea51d2..6c6c8ad6b1 100644 --- a/huaweicloud-sdk-workspace/huaweicloudsdkworkspace/v2/region/workspace_region.py +++ b/huaweicloud-sdk-workspace/huaweicloudsdkworkspace/v2/region/workspace_region.py @@ -26,6 +26,16 @@ class WorkspaceRegion: "https://workspace.cn-north-9.myhuaweicloud.com") AP_SOUTHEAST_1 = Region("ap-southeast-1", "https://workspace.ap-southeast-1.myhuaweicloud.com") + CN_EAST_5 = Region("cn-east-5", + "https://workspace.cn-east-5.myhuaweicloud.com") + ME_EAST_1 = Region("me-east-1", + "https://workspace.me-east-1.myhuaweicloud.com") + AF_SOUTH_1 = Region("af-south-1", + "https://workspace.af-south-1.myhuaweicloud.com") + TR_WEST_1 = Region("tr-west-1", + "https://workspace.tr-west-1.myhuaweicloud.com") + CN_NORTH_11 = Region("cn-north-11", + "https://workspace.cn-north-11.myhuaweicloud.com") static_fields = { "cn-east-3": CN_EAST_3, @@ -38,6 +48,11 @@ class WorkspaceRegion: "ap-southeast-3": AP_SOUTHEAST_3, "cn-north-9": CN_NORTH_9, "ap-southeast-1": AP_SOUTHEAST_1, + "cn-east-5": CN_EAST_5, + "me-east-1": ME_EAST_1, + "af-south-1": AF_SOUTH_1, + "tr-west-1": TR_WEST_1, + "cn-north-11": CN_NORTH_11, } @classmethod diff --git a/huaweicloud-sdk-workspace/requirements.txt b/huaweicloud-sdk-workspace/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-workspace/requirements.txt +++ b/huaweicloud-sdk-workspace/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-workspace/setup.py b/huaweicloud-sdk-workspace/setup.py index 4043c23e4a..752f308b96 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-workspaceapp/requirements.txt b/huaweicloud-sdk-workspaceapp/requirements.txt index fd141062d6..70634398ae 100644 --- a/huaweicloud-sdk-workspaceapp/requirements.txt +++ b/huaweicloud-sdk-workspaceapp/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.113 \ No newline at end of file +huaweicloudsdkcore >= 3.1.114 \ No newline at end of file diff --git a/huaweicloud-sdk-workspaceapp/setup.py b/huaweicloud-sdk-workspaceapp/setup.py index dbf899164b..416c592bd1 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.113" +VERSION = "3.1.114" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.113"] +REQUIRES = ["huaweicloudsdkcore>=3.1.114"] OPTIONS = { 'bdist_wheel': {