From d158d5eff002eb161fe4852d7f2cf717cd1dcf44 Mon Sep 17 00:00:00 2001 From: Huaweicloud-SDK Date: Thu, 25 Apr 2024 16:41:45 +0800 Subject: [PATCH] release 3.1.93 source code --- CHANGELOG.md | 275 +++++++ CHANGELOG_CN.md | 275 +++++++ VERSION | 2 +- .../unblock_record_response_unblock_record.py | 8 +- huaweicloud-sdk-aad/requirements.txt | 2 +- huaweicloud-sdk-aad/setup.py | 4 +- huaweicloud-sdk-all/requirements.txt | 326 ++++---- huaweicloud-sdk-all/setup.py | 328 ++++---- huaweicloud-sdk-antiddos/requirements.txt | 2 +- huaweicloud-sdk-antiddos/setup.py | 4 +- huaweicloud-sdk-aom/requirements.txt | 2 +- huaweicloud-sdk-aom/setup.py | 4 +- huaweicloud-sdk-aos/requirements.txt | 2 +- huaweicloud-sdk-aos/setup.py | 4 +- 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/region/cce_region.py | 3 + huaweicloud-sdk-cce/requirements.txt | 2 +- huaweicloud-sdk-cce/setup.py | 4 +- huaweicloud-sdk-ccm/requirements.txt | 2 +- huaweicloud-sdk-ccm/setup.py | 4 +- huaweicloud-sdk-cdm/requirements.txt | 2 +- huaweicloud-sdk-cdm/setup.py | 4 +- huaweicloud-sdk-cdn/requirements.txt | 2 +- huaweicloud-sdk-cdn/setup.py | 4 +- huaweicloud-sdk-ces/requirements.txt | 2 +- huaweicloud-sdk-ces/setup.py | 4 +- huaweicloud-sdk-cfw/requirements.txt | 2 +- huaweicloud-sdk-cfw/setup.py | 4 +- huaweicloud-sdk-cgs/requirements.txt | 2 +- huaweicloud-sdk-cgs/setup.py | 4 +- huaweicloud-sdk-classroom/requirements.txt | 2 +- huaweicloud-sdk-classroom/setup.py | 4 +- huaweicloud-sdk-cloudide/requirements.txt | 2 +- huaweicloud-sdk-cloudide/setup.py | 4 +- huaweicloud-sdk-cloudpond/requirements.txt | 2 +- huaweicloud-sdk-cloudpond/setup.py | 4 +- huaweicloud-sdk-cloudrtc/requirements.txt | 2 +- huaweicloud-sdk-cloudrtc/setup.py | 4 +- huaweicloud-sdk-cloudtable/requirements.txt | 2 +- huaweicloud-sdk-cloudtable/setup.py | 4 +- huaweicloud-sdk-cloudtest/requirements.txt | 2 +- huaweicloud-sdk-cloudtest/setup.py | 4 +- .../requirements.txt | 2 +- huaweicloud-sdk-codeartsartifact/setup.py | 4 +- .../requirements.txt | 2 +- huaweicloud-sdk-codeartsbuild/setup.py | 4 +- .../requirements.txt | 2 +- huaweicloud-sdk-codeartscheck/setup.py | 4 +- .../v2/model/app_detail_info.py | 60 +- .../v2/model/app_execution_info.py | 60 +- .../model/show_deploy_task_detail_response.py | 60 +- .../v2/model/task_info.py | 60 +- .../v2/model/task_v2_info.py | 64 +- .../requirements.txt | 2 +- huaweicloud-sdk-codeartsdeploy/setup.py | 4 +- .../requirements.txt | 2 +- huaweicloud-sdk-codeartsinspector/setup.py | 4 +- .../requirements.txt | 2 +- huaweicloud-sdk-codeartspipeline/setup.py | 4 +- huaweicloud-sdk-codecraft/requirements.txt | 2 +- huaweicloud-sdk-codecraft/setup.py | 4 +- huaweicloud-sdk-codehub/requirements.txt | 2 +- huaweicloud-sdk-codehub/setup.py | 4 +- huaweicloud-sdk-config/requirements.txt | 2 +- huaweicloud-sdk-config/setup.py | 4 +- huaweicloud-sdk-core/setup.py | 2 +- .../tests/test_extract_error_message.py | 15 + huaweicloud-sdk-cph/requirements.txt | 2 +- huaweicloud-sdk-cph/setup.py | 4 +- huaweicloud-sdk-cpts/requirements.txt | 2 +- huaweicloud-sdk-cpts/setup.py | 4 +- huaweicloud-sdk-cse/requirements.txt | 2 +- huaweicloud-sdk-cse/setup.py | 4 +- huaweicloud-sdk-csms/requirements.txt | 2 +- huaweicloud-sdk-csms/setup.py | 4 +- huaweicloud-sdk-css/requirements.txt | 2 +- huaweicloud-sdk-css/setup.py | 4 +- huaweicloud-sdk-cts/requirements.txt | 2 +- huaweicloud-sdk-cts/setup.py | 4 +- huaweicloud-sdk-das/requirements.txt | 2 +- huaweicloud-sdk-das/setup.py | 4 +- .../v1/__init__.py | 28 +- .../v1/dataartsstudio_async_client.py | 749 +++++++++++++++--- .../v1/dataartsstudio_client.py | 749 +++++++++++++++--- .../v1/model/__init__.py | 28 +- .../v1/model/api_param.py | 347 ++++++++ ...uthorize_action_api_to_instance_request.py | 12 +- .../authorize_api_to_instance_request.py | 24 +- .../v1/model/batch_approve_apply_request.py | 12 +- ...e_security_dlf_data_ware_houses_request.py | 139 ++++ ..._security_dlf_data_ware_houses_response.py | 116 +++ .../v1/model/confirm_message_request.py | 12 +- .../v1/model/create_api_request.py | 12 +- .../v1/model/create_app_request.py | 12 +- .../model/create_service_catalog_request.py | 12 +- .../v1/model/data_ware_house_dto.py | 198 +++++ .../v1/model/data_ware_house_dto_dw_config.py | 231 ++++++ .../v1/model/debug_api_request.py | 24 +- ...g_security_dlf_data_ware_houses_request.py | 142 ++++ ...security_dlf_data_ware_houses_response.py} | 8 +- .../v1/model/delete_api_request.py | 15 +- .../v1/model/delete_app_request.py | 18 +- .../model/delete_service_catalog_request.py | 12 +- .../model/execute_api_to_instance_request.py | 24 +- ...y => export_data_service_excel_request.py} | 56 +- .../export_data_service_excel_response.py | 85 ++ ...ort_data_service_excel_template_request.py | 143 ++++ ...rt_data_service_excel_template_response.py | 85 ++ .../model/export_data_service_zip_request.py | 168 ++++ .../model/export_data_service_zip_response.py | 85 ++ .../v1/model/fgac_single_update_req.py | 173 ++++ .../v1/model/fgac_update_req.py | 115 +++ .../v1/model/fgac_update_result.py | 173 ++++ .../import_data_service_excel_request.py | 168 ++++ .../import_data_service_excel_request_body.py | 114 +++ .../import_data_service_excel_response.py | 116 +++ .../v1/model/list_all_catalog_list_request.py | 30 +- .../v1/model/list_api_catalog_list_request.py | 30 +- .../v1/model/list_api_top_n_request.py | 54 +- .../v1/model/list_apic_groups_request.py | 36 +- .../v1/model/list_apic_instances_request.py | 30 +- .../v1/model/list_apis_request.py | 297 ++++++- .../v1/model/list_apis_top_request.py | 48 +- .../v1/model/list_apply_request.py | 30 +- .../v1/model/list_apps_request.py | 36 +- .../v1/model/list_apps_top_request.py | 36 +- .../v1/model/list_catalog_list_request.py | 30 +- .../v1/model/list_instance_list_request.py | 60 +- .../v1/model/list_message_request.py | 24 +- ...t_security_dlf_data_ware_houses_request.py | 114 +++ ..._security_dlf_data_ware_houses_response.py | 116 +++ ...curity_sensitive_data_overviews_request.py | 259 ++++++ ...urity_sensitive_data_overviews_response.py | 145 ++++ .../v1/model/migrate_api_request.py | 12 +- .../v1/model/migrate_catalog_request.py | 18 +- .../v1/model/open_api_para_for_publish.py | 173 ---- .../model/publish_api_to_instance_request.py | 24 +- .../v1/model/search_authorize_app_request.py | 24 +- .../v1/model/search_bind_api_request.py | 30 +- .../v1/model/search_debug_info_request.py | 30 +- .../v1/model/search_id_by_path_request.py | 30 +- .../v1/model/search_publish_info_request.py | 30 +- ...sitive_data_category_overview_query_dto.py | 289 +++++++ ...e_data_secrecy_level_overview_query_dto.py | 202 +++++ .../v1/model/show_api_dashboard_request.py | 42 +- .../v1/model/show_api_request.py | 18 +- .../v1/model/show_apis_dashboard_request.py | 48 +- .../v1/model/show_apis_detail_request.py | 42 +- .../v1/model/show_apis_overview_request.py | 30 +- .../v1/model/show_app_info_request.py | 18 +- .../v1/model/show_apply_detail_request.py | 18 +- .../v1/model/show_apps_dashboard_request.py | 42 +- .../v1/model/show_apps_detail_request.py | 36 +- .../v1/model/show_apps_overview_request.py | 30 +- .../v1/model/show_catalog_detail_request.py | 18 +- .../v1/model/show_message_detail_request.py | 18 +- .../v1/model/show_path_by_id_request.py | 30 +- .../model/show_path_object_by_id_request.py | 30 +- .../v1/model/update_api_request.py | 18 +- .../v1/model/update_app_request.py | 18 +- .../v1/model/update_catalog_request.py | 18 +- .../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 +- .../v2/model/source_instance_body.py | 209 ++++- .../v2/model/target_instance_body.py | 151 +++- huaweicloud-sdk-dcs/requirements.txt | 2 +- huaweicloud-sdk-dcs/setup.py | 4 +- .../huaweicloudsdkddm/v1/region/ddm_region.py | 3 + huaweicloud-sdk-ddm/requirements.txt | 2 +- huaweicloud-sdk-ddm/setup.py | 4 +- huaweicloud-sdk-dds/requirements.txt | 2 +- huaweicloud-sdk-dds/setup.py | 4 +- huaweicloud-sdk-deh/requirements.txt | 2 +- huaweicloud-sdk-deh/setup.py | 4 +- huaweicloud-sdk-devsecurity/requirements.txt | 2 +- huaweicloud-sdk-devsecurity/setup.py | 4 +- huaweicloud-sdk-devstar/requirements.txt | 2 +- huaweicloud-sdk-devstar/setup.py | 4 +- huaweicloud-sdk-dgc/requirements.txt | 2 +- huaweicloud-sdk-dgc/setup.py | 4 +- huaweicloud-sdk-dis/requirements.txt | 2 +- huaweicloud-sdk-dis/setup.py | 4 +- huaweicloud-sdk-dlf/requirements.txt | 2 +- huaweicloud-sdk-dlf/setup.py | 4 +- .../v1/model/create_flink_jar_job_response.py | 8 +- .../v1/model/create_flink_sql_job_response.py | 8 +- .../v1/model/show_flink_job_response.py | 8 +- .../v1/model/update_flink_jar_job_response.py | 8 +- .../v1/model/update_flink_sql_job_response.py | 8 +- 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 +- .../v2/model/list_metrics_data_response.py | 8 +- huaweicloud-sdk-dws/requirements.txt | 2 +- huaweicloud-sdk-dws/setup.py | 4 +- huaweicloud-sdk-ec/requirements.txt | 2 +- huaweicloud-sdk-ec/setup.py | 4 +- huaweicloud-sdk-ecs/requirements.txt | 2 +- huaweicloud-sdk-ecs/setup.py | 4 +- huaweicloud-sdk-edgesec/requirements.txt | 2 +- huaweicloud-sdk-edgesec/setup.py | 4 +- huaweicloud-sdk-eg/requirements.txt | 2 +- huaweicloud-sdk-eg/setup.py | 4 +- huaweicloud-sdk-eihealth/requirements.txt | 2 +- huaweicloud-sdk-eihealth/setup.py | 4 +- huaweicloud-sdk-eip/requirements.txt | 2 +- huaweicloud-sdk-eip/setup.py | 4 +- huaweicloud-sdk-elb/requirements.txt | 2 +- huaweicloud-sdk-elb/setup.py | 4 +- huaweicloud-sdk-eps/requirements.txt | 2 +- huaweicloud-sdk-eps/setup.py | 4 +- huaweicloud-sdk-er/requirements.txt | 2 +- huaweicloud-sdk-er/setup.py | 4 +- huaweicloud-sdk-evs/requirements.txt | 2 +- huaweicloud-sdk-evs/setup.py | 4 +- huaweicloud-sdk-frs/requirements.txt | 2 +- huaweicloud-sdk-frs/setup.py | 4 +- .../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 +- .../v3/model/list_instances_result.py | 35 +- .../requirements.txt | 2 +- huaweicloud-sdk-gaussdbfornosql/setup.py | 4 +- .../requirements.txt | 2 +- huaweicloud-sdk-gaussdbforopengauss/setup.py | 4 +- huaweicloud-sdk-geip/requirements.txt | 2 +- huaweicloud-sdk-geip/setup.py | 4 +- huaweicloud-sdk-ges/requirements.txt | 2 +- huaweicloud-sdk-ges/setup.py | 4 +- huaweicloud-sdk-gsl/requirements.txt | 2 +- huaweicloud-sdk-gsl/setup.py | 4 +- huaweicloud-sdk-hilens/requirements.txt | 2 +- huaweicloud-sdk-hilens/setup.py | 4 +- .../v5/model/create_quotas_order_response.py | 33 +- 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 +- .../huaweicloudsdkiotda/v5/__init__.py | 15 + .../v5/iotda_async_client.py | 347 ++++++++ .../huaweicloudsdkiotda/v5/iotda_client.py | 347 ++++++++ .../huaweicloudsdkiotda/v5/model/__init__.py | 15 + .../v5/model/add_device_proxy.py | 194 +++++ .../v5/model/create_device_proxy_request.py | 140 ++++ .../v5/model/create_device_proxy_response.py | 228 ++++++ .../v5/model/delete_device_proxy_request.py | 143 ++++ .../v5/model/delete_device_proxy_response.py | 112 +++ .../v5/model/effective_time_range.py | 144 ++++ .../effective_time_range_response_dto.py | 142 ++++ .../v5/model/list_device_proxies_request.py | 260 ++++++ .../v5/model/list_device_proxies_response.py | 141 ++++ .../v5/model/query_device_proxy_simplify.py | 198 +++++ .../v5/model/show_device_proxy_request.py | 143 ++++ .../v5/model/show_device_proxy_response.py | 228 ++++++ .../v5/model/update_device_proxy.py | 169 ++++ .../v5/model/update_device_proxy_request.py | 168 ++++ .../v5/model/update_device_proxy_response.py | 228 ++++++ huaweicloud-sdk-iotda/requirements.txt | 2 +- huaweicloud-sdk-iotda/setup.py | 4 +- huaweicloud-sdk-iotedge/requirements.txt | 2 +- huaweicloud-sdk-iotedge/setup.py | 4 +- huaweicloud-sdk-ivs/requirements.txt | 2 +- huaweicloud-sdk-ivs/setup.py | 4 +- huaweicloud-sdk-kafka/requirements.txt | 2 +- huaweicloud-sdk-kafka/setup.py | 4 +- huaweicloud-sdk-kms/requirements.txt | 2 +- huaweicloud-sdk-kms/setup.py | 4 +- huaweicloud-sdk-koomessage/requirements.txt | 2 +- huaweicloud-sdk-koomessage/setup.py | 4 +- huaweicloud-sdk-kps/requirements.txt | 2 +- huaweicloud-sdk-kps/setup.py | 4 +- .../requirements.txt | 2 +- huaweicloud-sdk-lakeformation/setup.py | 4 +- huaweicloud-sdk-live/requirements.txt | 2 +- huaweicloud-sdk-live/setup.py | 4 +- huaweicloud-sdk-lts/requirements.txt | 2 +- huaweicloud-sdk-lts/setup.py | 4 +- huaweicloud-sdk-mapds/requirements.txt | 2 +- huaweicloud-sdk-mapds/setup.py | 4 +- huaweicloud-sdk-mas/requirements.txt | 2 +- huaweicloud-sdk-mas/setup.py | 4 +- huaweicloud-sdk-meeting/requirements.txt | 2 +- huaweicloud-sdk-meeting/setup.py | 4 +- huaweicloud-sdk-metastudio/requirements.txt | 2 +- huaweicloud-sdk-metastudio/setup.py | 4 +- .../v3/model/audio_create_request.py | 35 +- .../v3/model/audio_stream_create_request.py | 35 +- .../v3/model/document_create_request.py | 35 +- .../v3/model/video_create_request.py | 35 +- .../v3/model/video_stream_create_request.py | 35 +- 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 +- .../huaweicloudsdkocr/v1/__init__.py | 8 + .../huaweicloudsdkocr/v1/model/__init__.py | 8 + .../v1/model/bank_receipt_dict.py | 173 ++++ .../v1/model/bank_receipt_kv_pair.py | 144 ++++ .../v1/model/bank_receipt_request_body.py | 144 ++++ .../v1/model/bank_receipt_result.py | 144 ++++ .../v1/model/business_license_result.py | 67 +- .../model/household_register_request_body.py | 6 +- .../model/recognize_bank_receipt_request.py | 140 ++++ .../model/recognize_bank_receipt_response.py | 112 +++ ...smart_document_recognizer_formula_block.py | 144 ++++ ...mart_document_recognizer_formula_result.py | 144 ++++ .../smart_document_recognizer_layout_block.py | 6 +- .../smart_document_recognizer_request_body.py | 31 +- .../model/smart_document_recognizer_result.py | 31 +- .../model/waybill_electronic_request_body.py | 6 +- .../huaweicloudsdkocr/v1/ocr_async_client.py | 67 ++ .../huaweicloudsdkocr/v1/ocr_client.py | 67 ++ 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 +- .../model/apply_certificate_request_body.py | 6 +- .../purchase_certificate_request_body.py | 6 +- 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 +- .../huaweicloudsdksts/v1/region/sts_region.py | 6 - 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 +- .../model/firewall_insert_rule_item_option.py | 35 +- .../v3/model/firewall_rule_detail.py | 34 +- .../model/firewall_update_rule_item_option.py | 35 +- huaweicloud-sdk-vpc/requirements.txt | 2 +- huaweicloud-sdk-vpc/setup.py | 4 +- huaweicloud-sdk-vpcep/requirements.txt | 2 +- huaweicloud-sdk-vpcep/setup.py | 4 +- huaweicloud-sdk-vpn/requirements.txt | 2 +- huaweicloud-sdk-vpn/setup.py | 4 +- .../v1/model/create_instance_request_body.py | 6 +- huaweicloud-sdk-waf/requirements.txt | 2 +- huaweicloud-sdk-waf/setup.py | 4 +- huaweicloud-sdk-workspace/requirements.txt | 2 +- huaweicloud-sdk-workspace/setup.py | 4 +- huaweicloud-sdk-workspaceapp/requirements.txt | 2 +- huaweicloud-sdk-workspaceapp/setup.py | 4 +- 478 files changed, 13177 insertions(+), 2035 deletions(-) create mode 100644 huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/api_param.py create mode 100644 huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/batch_update_security_dlf_data_ware_houses_request.py create mode 100644 huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/batch_update_security_dlf_data_ware_houses_response.py create mode 100644 huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/data_ware_house_dto.py create mode 100644 huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/data_ware_house_dto_dw_config.py create mode 100644 huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/debug_security_dlf_data_ware_houses_request.py rename huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/{publish_api_response.py => debug_security_dlf_data_ware_houses_response.py} (89%) rename huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/{publish_api_request.py => export_data_service_excel_request.py} (65%) create mode 100644 huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/export_data_service_excel_response.py create mode 100644 huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/export_data_service_excel_template_request.py create mode 100644 huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/export_data_service_excel_template_response.py create mode 100644 huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/export_data_service_zip_request.py create mode 100644 huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/export_data_service_zip_response.py create mode 100644 huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/fgac_single_update_req.py create mode 100644 huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/fgac_update_req.py create mode 100644 huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/fgac_update_result.py create mode 100644 huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/import_data_service_excel_request.py create mode 100644 huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/import_data_service_excel_request_body.py create mode 100644 huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/import_data_service_excel_response.py create mode 100644 huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_security_dlf_data_ware_houses_request.py create mode 100644 huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_security_dlf_data_ware_houses_response.py create mode 100644 huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_security_sensitive_data_overviews_request.py create mode 100644 huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_security_sensitive_data_overviews_response.py delete mode 100644 huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/open_api_para_for_publish.py create mode 100644 huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/sensitive_data_category_overview_query_dto.py create mode 100644 huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/sensitive_data_secrecy_level_overview_query_dto.py create mode 100644 huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/add_device_proxy.py create mode 100644 huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/create_device_proxy_request.py create mode 100644 huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/create_device_proxy_response.py create mode 100644 huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/delete_device_proxy_request.py create mode 100644 huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/delete_device_proxy_response.py create mode 100644 huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/effective_time_range.py create mode 100644 huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/effective_time_range_response_dto.py create mode 100644 huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/list_device_proxies_request.py create mode 100644 huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/list_device_proxies_response.py create mode 100644 huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/query_device_proxy_simplify.py create mode 100644 huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/show_device_proxy_request.py create mode 100644 huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/show_device_proxy_response.py create mode 100644 huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/update_device_proxy.py create mode 100644 huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/update_device_proxy_request.py create mode 100644 huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/update_device_proxy_response.py create mode 100644 huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/bank_receipt_dict.py create mode 100644 huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/bank_receipt_kv_pair.py create mode 100644 huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/bank_receipt_request_body.py create mode 100644 huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/bank_receipt_result.py create mode 100644 huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/recognize_bank_receipt_request.py create mode 100644 huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/recognize_bank_receipt_response.py create mode 100644 huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/smart_document_recognizer_formula_block.py create mode 100644 huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/smart_document_recognizer_formula_result.py diff --git a/CHANGELOG.md b/CHANGELOG.md index f8b0b2cfd7..88f7ade860 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,278 @@ +# 3.1.93 2024-04-25 + +### HuaweiCloud SDK AAD + +- _Features_ + - None +- _Bug Fix_ + - None +- _Change_ + - **ShowUnblockRecord** + - changes of response param + - `* unblock_record.block_id: string -> int64` + +### HuaweiCloud SDK CodeArtsDeploy + +- _Features_ + - None +- _Bug Fix_ + - None +- _Change_ + - **ShowDeployTaskDetail** + - changes of response param + - `+ is_disable` + - `+ can_disable` + - **ListDeployTasks** + - changes of response param + - `+ is_disable` + - `+ can_disable` + - `+ result.can_disable` + - `+ result.is_disable` + - **ListAllApp** + - changes of response param + - `+ result.is_disable` + - `+ result.can_disable` + - **ShowAppDetailById** + - changes of response param + - `+ result.is_disable` + - `+ result.can_disable` + - `+ result.arrange_infos.can_disable` + - `+ result.arrange_infos.is_disable` + +### HuaweiCloud SDK DataArtsStudio + +- _Features_ + - Support the following APIs: + - `ImportDataServiceExcel` + - `ExportDataServiceExcel` + - `ExportDataServiceZip` + - `ExportDataServiceExcelTemplate` + - `ListSecurityDlfDataWareHouses` + - `BatchUpdateSecurityDlfDataWareHouses` + - `DebugSecurityDlfDataWareHouses` + - `ListSecuritySensitiveDataOverviews` +- _Bug Fix_ + - None +- _Change_ + - Remove the API `PublishApi` + - **DeleteApi** + - changes of request param + - `* workspace: optional -> required` + - **ListApicGroups** + - changes of request param + - `+ apig_type: enum value [APIG]` + - **ListApis** + - changes of request param + - `+ name` + - `+ description` + - `+ create_user` + - `+ start_time` + - `+ end_time` + - `+ tags` + - `+ api_type` + - `+ publish_status` + - `+ table_name` + +### HuaweiCloud SDK DCS + +- _Features_ + - None +- _Bug Fix_ + - None +- _Change_ + - **CreateMigrationTask** + - changes of request param + - `+ source_instance.task_status` + - `+ source_instance.id` + - `+ source_instance.ip` + - `+ source_instance.port` + - `+ source_instance.name` + - `+ source_instance.proxy_multi_db` + - `+ source_instance.db` + - `+ target_instance.ip` + - `+ target_instance.port` + - `+ target_instance.addrs` + - `+ target_instance.proxy_multi_db` + - `+ target_instance.db` + - **ShowMigrationTask** + - changes of response param + - `+ source_instance.task_status` + - `+ source_instance.id` + - `+ source_instance.ip` + - `+ source_instance.port` + - `+ source_instance.name` + - `+ source_instance.proxy_multi_db` + - `+ source_instance.db` + - `+ target_instance.ip` + - `+ target_instance.port` + - `+ target_instance.addrs` + - `+ target_instance.proxy_multi_db` + - `+ target_instance.db` + - **StopMigrationTask** + - changes of response param + - `+ source_instance.task_status` + - `+ source_instance.id` + - `+ source_instance.ip` + - `+ source_instance.port` + - `+ source_instance.name` + - `+ source_instance.proxy_multi_db` + - `+ source_instance.db` + - `+ target_instance.ip` + - `+ target_instance.port` + - `+ target_instance.addrs` + - `+ target_instance.proxy_multi_db` + - `+ target_instance.db` + +### HuaweiCloud SDK DLI + +- _Features_ + - None +- _Bug Fix_ + - None +- _Change_ + - **ListTables** + - changes of response param + - `* tables.create_time: int32 -> int64` + - `* tables.last_access_time: int32 -> int64` + - `* tables.table_size: int32 -> int64` + - **CreateFlinkSqlJob** + - changes of response param + - `* is_success: boolean -> string` + - **UpdateFlinkSqlJob** + - changes of response param + - `* is_success: boolean -> string` + - **CreateFlinkJarJob** + - changes of response param + - `* is_success: boolean -> string` + - **UpdateFlinkJarJob** + - changes of response param + - `* is_success: boolean -> string` + - **ShowFlinkJob** + - changes of response param + - `* is_success: boolean -> string` + +### HuaweiCloud SDK DWS + +- _Features_ + - None +- _Bug Fix_ + - None +- _Change_ + - **ListMetricsData** + - changes of response param + - `* data: list> -> list>` + +### HuaweiCloud SDK GaussDBforNoSQL + +- _Features_ + - None +- _Bug Fix_ + - None +- _Change_ + - **ListInstances** + - changes of response param + - `+ instances.availability_zone` + +### HuaweiCloud SDK IoTDA + +- _Features_ + - Support the following APIs: + - `ListDeviceProxies` + - `CreateDeviceProxy` + - `ShowDeviceProxy` + - `UpdateDeviceProxy` + - `DeleteDeviceProxy` +- _Bug Fix_ + - None +- _Change_ + - None + +### HuaweiCloud SDK Moderation + +- _Features_ + - None +- _Bug Fix_ + - None +- _Change_ + - **RunCreateVideoModerationJob** + - changes of request param + - `+ seed` + - **RunCreateAudioStreamModerationJob** + - changes of request param + - `+ seed` + - **RunCreateDocumentModerationJob** + - changes of request param + - `+ seed` + - **RunCreateVideoStreamModerationJob** + - changes of request param + - `+ seed` + - **RunCreateAudioModerationJob** + - changes of request param + - `+ seed` + +### HuaweiCloud SDK OCR + +- _Features_ + - Support the API `RecognizeBankReceipt` +- _Bug Fix_ + - None +- _Change_ + - **RecognizeBusinessLicense** + - changes of response param + - `+ result.organization_form` + - **RecognizeSmartDocumentRecognizer** + - changes of request param + - `+ formula` + - changes of response param + - `+ result.formula_result` + +### HuaweiCloud SDK VPC + +- _Features_ + - None +- _Bug Fix_ + - None +- _Change_ + - **CreateFirewall** + - changes of response param + - `+ firewall.ingress_rules.enabled` + - **ShowFirewall** + - changes of response param + - `+ firewall.ingress_rules.enabled` + - **UpdateFirewall** + - changes of response param + - `+ firewall.ingress_rules.enabled` + - **UpdateFirewallRules** + - changes of request param + - `+ firewall.ingress_rules.enabled` + - changes of response param + - `+ firewall.ingress_rules.enabled` + - **AddFirewallRules** + - changes of request param + - `+ firewall.ingress_rules.enabled` + - changes of response param + - `+ firewall.ingress_rules.enabled` + - **RemoveFirewallRules** + - changes of response param + - `+ firewall.ingress_rules.enabled` + - **AssociateSubnetFirewall** + - changes of response param + - `+ firewall.ingress_rules.enabled` + - **DisassociateSubnetFirewall** + - changes of response param + - `+ firewall.ingress_rules.enabled` + +### HuaweiCloud SDK WAF + +- _Features_ + - None +- _Bug Fix_ + - None +- _Change_ + - **UpdatePolicyRuleStatus** + - changes of request param + - `+ ruletype: enum value [cc]` + # 3.1.92 2024-04-18 ### HuaweiCloud SDK AOM diff --git a/CHANGELOG_CN.md b/CHANGELOG_CN.md index e8714577af..84a0d12f4c 100644 --- a/CHANGELOG_CN.md +++ b/CHANGELOG_CN.md @@ -1,3 +1,278 @@ +# 3.1.93 2024-04-25 + +### HuaweiCloud SDK AAD + +- _新增特性_ + - 无 +- _解决问题_ + - 无 +- _特性变更_ + - **ShowUnblockRecord** + - 响应参数变更 + - `* unblock_record.block_id: string -> int64` + +### HuaweiCloud SDK CodeArtsDeploy + +- _新增特性_ + - 无 +- _解决问题_ + - 无 +- _特性变更_ + - **ShowDeployTaskDetail** + - 响应参数变更 + - `+ is_disable` + - `+ can_disable` + - **ListDeployTasks** + - 响应参数变更 + - `+ is_disable` + - `+ can_disable` + - `+ result.can_disable` + - `+ result.is_disable` + - **ListAllApp** + - 响应参数变更 + - `+ result.is_disable` + - `+ result.can_disable` + - **ShowAppDetailById** + - 响应参数变更 + - `+ result.is_disable` + - `+ result.can_disable` + - `+ result.arrange_infos.can_disable` + - `+ result.arrange_infos.is_disable` + +### HuaweiCloud SDK DataArtsStudio + +- _新增特性_ + - 支持以下接口: + - `ImportDataServiceExcel` + - `ExportDataServiceExcel` + - `ExportDataServiceZip` + - `ExportDataServiceExcelTemplate` + - `ListSecurityDlfDataWareHouses` + - `BatchUpdateSecurityDlfDataWareHouses` + - `DebugSecurityDlfDataWareHouses` + - `ListSecuritySensitiveDataOverviews` +- _解决问题_ + - 无 +- _特性变更_ + - 移除接口`PublishApi` + - **DeleteApi** + - 请求参数变更 + - `* workspace: optional -> required` + - **ListApicGroups** + - 请求参数变更 + - `+ apig_type: enum value [APIG]` + - **ListApis** + - 请求参数变更 + - `+ name` + - `+ description` + - `+ create_user` + - `+ start_time` + - `+ end_time` + - `+ tags` + - `+ api_type` + - `+ publish_status` + - `+ table_name` + +### HuaweiCloud SDK DCS + +- _新增特性_ + - 无 +- _解决问题_ + - 无 +- _特性变更_ + - **CreateMigrationTask** + - 请求参数变更 + - `+ source_instance.task_status` + - `+ source_instance.id` + - `+ source_instance.ip` + - `+ source_instance.port` + - `+ source_instance.name` + - `+ source_instance.proxy_multi_db` + - `+ source_instance.db` + - `+ target_instance.ip` + - `+ target_instance.port` + - `+ target_instance.addrs` + - `+ target_instance.proxy_multi_db` + - `+ target_instance.db` + - **ShowMigrationTask** + - 响应参数变更 + - `+ source_instance.task_status` + - `+ source_instance.id` + - `+ source_instance.ip` + - `+ source_instance.port` + - `+ source_instance.name` + - `+ source_instance.proxy_multi_db` + - `+ source_instance.db` + - `+ target_instance.ip` + - `+ target_instance.port` + - `+ target_instance.addrs` + - `+ target_instance.proxy_multi_db` + - `+ target_instance.db` + - **StopMigrationTask** + - 响应参数变更 + - `+ source_instance.task_status` + - `+ source_instance.id` + - `+ source_instance.ip` + - `+ source_instance.port` + - `+ source_instance.name` + - `+ source_instance.proxy_multi_db` + - `+ source_instance.db` + - `+ target_instance.ip` + - `+ target_instance.port` + - `+ target_instance.addrs` + - `+ target_instance.proxy_multi_db` + - `+ target_instance.db` + +### HuaweiCloud SDK DLI + +- _新增特性_ + - 无 +- _解决问题_ + - 无 +- _特性变更_ + - **ListTables** + - 响应参数变更 + - `* tables.create_time: int32 -> int64` + - `* tables.last_access_time: int32 -> int64` + - `* tables.table_size: int32 -> int64` + - **CreateFlinkSqlJob** + - 响应参数变更 + - `* is_success: boolean -> string` + - **UpdateFlinkSqlJob** + - 响应参数变更 + - `* is_success: boolean -> string` + - **CreateFlinkJarJob** + - 响应参数变更 + - `* is_success: boolean -> string` + - **UpdateFlinkJarJob** + - 响应参数变更 + - `* is_success: boolean -> string` + - **ShowFlinkJob** + - 响应参数变更 + - `* is_success: boolean -> string` + +### HuaweiCloud SDK DWS + +- _新增特性_ + - 无 +- _解决问题_ + - 无 +- _特性变更_ + - **ListMetricsData** + - 响应参数变更 + - `* data: list> -> list>` + +### HuaweiCloud SDK GaussDBforNoSQL + +- _新增特性_ + - 无 +- _解决问题_ + - 无 +- _特性变更_ + - **ListInstances** + - 响应参数变更 + - `+ instances.availability_zone` + +### HuaweiCloud SDK IoTDA + +- _新增特性_ + - 支持以下接口: + - `ListDeviceProxies` + - `CreateDeviceProxy` + - `ShowDeviceProxy` + - `UpdateDeviceProxy` + - `DeleteDeviceProxy` +- _解决问题_ + - 无 +- _特性变更_ + - 无 + +### HuaweiCloud SDK Moderation + +- _新增特性_ + - 无 +- _解决问题_ + - 无 +- _特性变更_ + - **RunCreateVideoModerationJob** + - 请求参数变更 + - `+ seed` + - **RunCreateAudioStreamModerationJob** + - 请求参数变更 + - `+ seed` + - **RunCreateDocumentModerationJob** + - 请求参数变更 + - `+ seed` + - **RunCreateVideoStreamModerationJob** + - 请求参数变更 + - `+ seed` + - **RunCreateAudioModerationJob** + - 请求参数变更 + - `+ seed` + +### HuaweiCloud SDK OCR + +- _新增特性_ + - 支持接口`RecognizeBankReceipt` +- _解决问题_ + - 无 +- _特性变更_ + - **RecognizeBusinessLicense** + - 响应参数变更 + - `+ result.organization_form` + - **RecognizeSmartDocumentRecognizer** + - 请求参数变更 + - `+ formula` + - 响应参数变更 + - `+ result.formula_result` + +### HuaweiCloud SDK VPC + +- _新增特性_ + - 无 +- _解决问题_ + - 无 +- _特性变更_ + - **CreateFirewall** + - 响应参数变更 + - `+ firewall.ingress_rules.enabled` + - **ShowFirewall** + - 响应参数变更 + - `+ firewall.ingress_rules.enabled` + - **UpdateFirewall** + - 响应参数变更 + - `+ firewall.ingress_rules.enabled` + - **UpdateFirewallRules** + - 请求参数变更 + - `+ firewall.ingress_rules.enabled` + - 响应参数变更 + - `+ firewall.ingress_rules.enabled` + - **AddFirewallRules** + - 请求参数变更 + - `+ firewall.ingress_rules.enabled` + - 响应参数变更 + - `+ firewall.ingress_rules.enabled` + - **RemoveFirewallRules** + - 响应参数变更 + - `+ firewall.ingress_rules.enabled` + - **AssociateSubnetFirewall** + - 响应参数变更 + - `+ firewall.ingress_rules.enabled` + - **DisassociateSubnetFirewall** + - 响应参数变更 + - `+ firewall.ingress_rules.enabled` + +### HuaweiCloud SDK WAF + +- _新增特性_ + - 无 +- _解决问题_ + - 无 +- _特性变更_ + - **UpdatePolicyRuleStatus** + - 请求参数变更 + - `+ ruletype: enum value [cc]` + # 3.1.92 2024-04-18 ### HuaweiCloud SDK AOM diff --git a/VERSION b/VERSION index 5b9105c989..859ede923f 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.1.92 +3.1.93 diff --git a/huaweicloud-sdk-aad/huaweicloudsdkaad/v1/model/unblock_record_response_unblock_record.py b/huaweicloud-sdk-aad/huaweicloudsdkaad/v1/model/unblock_record_response_unblock_record.py index fc6634f47e..765aa7c7a5 100644 --- a/huaweicloud-sdk-aad/huaweicloudsdkaad/v1/model/unblock_record_response_unblock_record.py +++ b/huaweicloud-sdk-aad/huaweicloudsdkaad/v1/model/unblock_record_response_unblock_record.py @@ -19,7 +19,7 @@ class UnblockRecordResponseUnblockRecord: openapi_types = { 'ip': 'str', 'executor': 'str', - 'block_id': 'str', + 'block_id': 'int', 'blocking_time': 'int', 'unblocking_time': 'int', 'unblock_type': 'str', @@ -48,7 +48,7 @@ def __init__(self, ip=None, executor=None, block_id=None, blocking_time=None, un :param executor: 执行者 :type executor: str :param block_id: 封堵id - :type block_id: str + :type block_id: int :param blocking_time: 封堵时间 :type blocking_time: int :param unblocking_time: 解封时间 @@ -141,7 +141,7 @@ def block_id(self): 封堵id :return: The block_id of this UnblockRecordResponseUnblockRecord. - :rtype: str + :rtype: int """ return self._block_id @@ -152,7 +152,7 @@ def block_id(self, block_id): 封堵id :param block_id: The block_id of this UnblockRecordResponseUnblockRecord. - :type block_id: str + :type block_id: int """ self._block_id = block_id diff --git a/huaweicloud-sdk-aad/requirements.txt b/huaweicloud-sdk-aad/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-aad/requirements.txt +++ b/huaweicloud-sdk-aad/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-aad/setup.py b/huaweicloud-sdk-aad/setup.py index d1924b987d..e392388852 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-all/requirements.txt b/huaweicloud-sdk-all/requirements.txt index 977b8b80d1..dd62b73c81 100644 --- a/huaweicloud-sdk-all/requirements.txt +++ b/huaweicloud-sdk-all/requirements.txt @@ -1,163 +1,163 @@ -huaweicloudsdkcore == 3.1.92 -huaweicloudsdkaad == 3.1.92 -huaweicloudsdkantiddos == 3.1.92 -huaweicloudsdkaom == 3.1.92 -huaweicloudsdkaos == 3.1.92 -huaweicloudsdkapig == 3.1.92 -huaweicloudsdkapm == 3.1.92 -huaweicloudsdkas == 3.1.92 -huaweicloudsdkasm == 3.1.92 -huaweicloudsdkbcs == 3.1.92 -huaweicloudsdkbms == 3.1.92 -huaweicloudsdkbss == 3.1.92 -huaweicloudsdkbssintl == 3.1.92 -huaweicloudsdkcae == 3.1.92 -huaweicloudsdkcampusgo == 3.1.92 -huaweicloudsdkcbh == 3.1.92 -huaweicloudsdkcbr == 3.1.92 -huaweicloudsdkcbs == 3.1.92 -huaweicloudsdkcc == 3.1.92 -huaweicloudsdkcce == 3.1.92 -huaweicloudsdkccm == 3.1.92 -huaweicloudsdkcdm == 3.1.92 -huaweicloudsdkcdn == 3.1.92 -huaweicloudsdkces == 3.1.92 -huaweicloudsdkcfw == 3.1.92 -huaweicloudsdkcgs == 3.1.92 -huaweicloudsdkclassroom == 3.1.92 -huaweicloudsdkcloudide == 3.1.92 -huaweicloudsdkcloudpond == 3.1.92 -huaweicloudsdkcloudrtc == 3.1.92 -huaweicloudsdkcloudtable == 3.1.92 -huaweicloudsdkcloudtest == 3.1.92 -huaweicloudsdkcodeartsartifact == 3.1.92 -huaweicloudsdkcodeartsbuild == 3.1.92 -huaweicloudsdkcodeartscheck == 3.1.92 -huaweicloudsdkcodeartsdeploy == 3.1.92 -huaweicloudsdkcodeartsinspector == 3.1.92 -huaweicloudsdkcodeartspipeline == 3.1.92 -huaweicloudsdkcodecraft == 3.1.92 -huaweicloudsdkcodehub == 3.1.92 -huaweicloudsdkconfig == 3.1.92 -huaweicloudsdkcph == 3.1.92 -huaweicloudsdkcpts == 3.1.92 -huaweicloudsdkcse == 3.1.92 -huaweicloudsdkcsms == 3.1.92 -huaweicloudsdkcss == 3.1.92 -huaweicloudsdkcts == 3.1.92 -huaweicloudsdkdas == 3.1.92 -huaweicloudsdkdataartsstudio == 3.1.92 -huaweicloudsdkdbss == 3.1.92 -huaweicloudsdkdc == 3.1.92 -huaweicloudsdkdcs == 3.1.92 -huaweicloudsdkddm == 3.1.92 -huaweicloudsdkdds == 3.1.92 -huaweicloudsdkdeh == 3.1.92 -huaweicloudsdkdevsecurity == 3.1.92 -huaweicloudsdkdevstar == 3.1.92 -huaweicloudsdkdgc == 3.1.92 -huaweicloudsdkdis == 3.1.92 -huaweicloudsdkdlf == 3.1.92 -huaweicloudsdkdli == 3.1.92 -huaweicloudsdkdns == 3.1.92 -huaweicloudsdkdris == 3.1.92 -huaweicloudsdkdrs == 3.1.92 -huaweicloudsdkdsc == 3.1.92 -huaweicloudsdkdwr == 3.1.92 -huaweicloudsdkdws == 3.1.92 -huaweicloudsdkec == 3.1.92 -huaweicloudsdkecs == 3.1.92 -huaweicloudsdkedgesec == 3.1.92 -huaweicloudsdkeg == 3.1.92 -huaweicloudsdkeihealth == 3.1.92 -huaweicloudsdkeip == 3.1.92 -huaweicloudsdkelb == 3.1.92 -huaweicloudsdkeps == 3.1.92 -huaweicloudsdker == 3.1.92 -huaweicloudsdkevs == 3.1.92 -huaweicloudsdkfrs == 3.1.92 -huaweicloudsdkfunctiongraph == 3.1.92 -huaweicloudsdkga == 3.1.92 -huaweicloudsdkgaussdb == 3.1.92 -huaweicloudsdkgaussdbfornosql == 3.1.92 -huaweicloudsdkgaussdbforopengauss == 3.1.92 -huaweicloudsdkgeip == 3.1.92 -huaweicloudsdkges == 3.1.92 -huaweicloudsdkgsl == 3.1.92 -huaweicloudsdkhilens == 3.1.92 -huaweicloudsdkhss == 3.1.92 -huaweicloudsdkiam == 3.1.92 -huaweicloudsdkiamaccessanalyzer == 3.1.92 -huaweicloudsdkidentitycenter == 3.1.92 -huaweicloudsdkidentitycenterstore == 3.1.92 -huaweicloudsdkidme == 3.1.92 -huaweicloudsdkidmeclassicapi == 3.1.92 -huaweicloudsdkiec == 3.1.92 -huaweicloudsdkief == 3.1.92 -huaweicloudsdkimage == 3.1.92 -huaweicloudsdkimagesearch == 3.1.92 -huaweicloudsdkims == 3.1.92 -huaweicloudsdkiotanalytics == 3.1.92 -huaweicloudsdkiotda == 3.1.92 -huaweicloudsdkiotedge == 3.1.92 -huaweicloudsdkivs == 3.1.92 -huaweicloudsdkkafka == 3.1.92 -huaweicloudsdkkms == 3.1.92 -huaweicloudsdkkoomessage == 3.1.92 -huaweicloudsdkkps == 3.1.92 -huaweicloudsdklakeformation == 3.1.92 -huaweicloudsdklive == 3.1.92 -huaweicloudsdklts == 3.1.92 -huaweicloudsdkmapds == 3.1.92 -huaweicloudsdkmas == 3.1.92 -huaweicloudsdkmeeting == 3.1.92 -huaweicloudsdkmetastudio == 3.1.92 -huaweicloudsdkmoderation == 3.1.92 -huaweicloudsdkmpc == 3.1.92 -huaweicloudsdkmrs == 3.1.92 -huaweicloudsdkmsgsms == 3.1.92 -huaweicloudsdkmssi == 3.1.92 -huaweicloudsdknat == 3.1.92 -huaweicloudsdknlp == 3.1.92 -huaweicloudsdkobs == 3.1.92 -huaweicloudsdkocr == 3.1.92 -huaweicloudsdkoctopus == 3.1.92 -huaweicloudsdkoms == 3.1.92 -huaweicloudsdkoptverse == 3.1.92 -huaweicloudsdkorganizations == 3.1.92 -huaweicloudsdkorgid == 3.1.92 -huaweicloudsdkoroas == 3.1.92 -huaweicloudsdkosm == 3.1.92 -huaweicloudsdkpangulargemodels == 3.1.92 -huaweicloudsdkprojectman == 3.1.92 -huaweicloudsdkrabbitmq == 3.1.92 -huaweicloudsdkram == 3.1.92 -huaweicloudsdkrds == 3.1.92 -huaweicloudsdkres == 3.1.92 -huaweicloudsdkrgc == 3.1.92 -huaweicloudsdkrms == 3.1.92 -huaweicloudsdkrocketmq == 3.1.92 -huaweicloudsdkroma == 3.1.92 -huaweicloudsdksa == 3.1.92 -huaweicloudsdkscm == 3.1.92 -huaweicloudsdksdrs == 3.1.92 -huaweicloudsdksecmaster == 3.1.92 -huaweicloudsdkservicestage == 3.1.92 -huaweicloudsdksfsturbo == 3.1.92 -huaweicloudsdksis == 3.1.92 -huaweicloudsdksmn == 3.1.92 -huaweicloudsdksms == 3.1.92 -huaweicloudsdksts == 3.1.92 -huaweicloudsdkswr == 3.1.92 -huaweicloudsdktics == 3.1.92 -huaweicloudsdktms == 3.1.92 -huaweicloudsdkugo == 3.1.92 -huaweicloudsdkvas == 3.1.92 -huaweicloudsdkvcm == 3.1.92 -huaweicloudsdkvod == 3.1.92 -huaweicloudsdkvpc == 3.1.92 -huaweicloudsdkvpcep == 3.1.92 -huaweicloudsdkvpn == 3.1.92 -huaweicloudsdkwaf == 3.1.92 -huaweicloudsdkworkspace == 3.1.92 -huaweicloudsdkworkspaceapp == 3.1.92 +huaweicloudsdkcore == 3.1.93 +huaweicloudsdkaad == 3.1.93 +huaweicloudsdkantiddos == 3.1.93 +huaweicloudsdkaom == 3.1.93 +huaweicloudsdkaos == 3.1.93 +huaweicloudsdkapig == 3.1.93 +huaweicloudsdkapm == 3.1.93 +huaweicloudsdkas == 3.1.93 +huaweicloudsdkasm == 3.1.93 +huaweicloudsdkbcs == 3.1.93 +huaweicloudsdkbms == 3.1.93 +huaweicloudsdkbss == 3.1.93 +huaweicloudsdkbssintl == 3.1.93 +huaweicloudsdkcae == 3.1.93 +huaweicloudsdkcampusgo == 3.1.93 +huaweicloudsdkcbh == 3.1.93 +huaweicloudsdkcbr == 3.1.93 +huaweicloudsdkcbs == 3.1.93 +huaweicloudsdkcc == 3.1.93 +huaweicloudsdkcce == 3.1.93 +huaweicloudsdkccm == 3.1.93 +huaweicloudsdkcdm == 3.1.93 +huaweicloudsdkcdn == 3.1.93 +huaweicloudsdkces == 3.1.93 +huaweicloudsdkcfw == 3.1.93 +huaweicloudsdkcgs == 3.1.93 +huaweicloudsdkclassroom == 3.1.93 +huaweicloudsdkcloudide == 3.1.93 +huaweicloudsdkcloudpond == 3.1.93 +huaweicloudsdkcloudrtc == 3.1.93 +huaweicloudsdkcloudtable == 3.1.93 +huaweicloudsdkcloudtest == 3.1.93 +huaweicloudsdkcodeartsartifact == 3.1.93 +huaweicloudsdkcodeartsbuild == 3.1.93 +huaweicloudsdkcodeartscheck == 3.1.93 +huaweicloudsdkcodeartsdeploy == 3.1.93 +huaweicloudsdkcodeartsinspector == 3.1.93 +huaweicloudsdkcodeartspipeline == 3.1.93 +huaweicloudsdkcodecraft == 3.1.93 +huaweicloudsdkcodehub == 3.1.93 +huaweicloudsdkconfig == 3.1.93 +huaweicloudsdkcph == 3.1.93 +huaweicloudsdkcpts == 3.1.93 +huaweicloudsdkcse == 3.1.93 +huaweicloudsdkcsms == 3.1.93 +huaweicloudsdkcss == 3.1.93 +huaweicloudsdkcts == 3.1.93 +huaweicloudsdkdas == 3.1.93 +huaweicloudsdkdataartsstudio == 3.1.93 +huaweicloudsdkdbss == 3.1.93 +huaweicloudsdkdc == 3.1.93 +huaweicloudsdkdcs == 3.1.93 +huaweicloudsdkddm == 3.1.93 +huaweicloudsdkdds == 3.1.93 +huaweicloudsdkdeh == 3.1.93 +huaweicloudsdkdevsecurity == 3.1.93 +huaweicloudsdkdevstar == 3.1.93 +huaweicloudsdkdgc == 3.1.93 +huaweicloudsdkdis == 3.1.93 +huaweicloudsdkdlf == 3.1.93 +huaweicloudsdkdli == 3.1.93 +huaweicloudsdkdns == 3.1.93 +huaweicloudsdkdris == 3.1.93 +huaweicloudsdkdrs == 3.1.93 +huaweicloudsdkdsc == 3.1.93 +huaweicloudsdkdwr == 3.1.93 +huaweicloudsdkdws == 3.1.93 +huaweicloudsdkec == 3.1.93 +huaweicloudsdkecs == 3.1.93 +huaweicloudsdkedgesec == 3.1.93 +huaweicloudsdkeg == 3.1.93 +huaweicloudsdkeihealth == 3.1.93 +huaweicloudsdkeip == 3.1.93 +huaweicloudsdkelb == 3.1.93 +huaweicloudsdkeps == 3.1.93 +huaweicloudsdker == 3.1.93 +huaweicloudsdkevs == 3.1.93 +huaweicloudsdkfrs == 3.1.93 +huaweicloudsdkfunctiongraph == 3.1.93 +huaweicloudsdkga == 3.1.93 +huaweicloudsdkgaussdb == 3.1.93 +huaweicloudsdkgaussdbfornosql == 3.1.93 +huaweicloudsdkgaussdbforopengauss == 3.1.93 +huaweicloudsdkgeip == 3.1.93 +huaweicloudsdkges == 3.1.93 +huaweicloudsdkgsl == 3.1.93 +huaweicloudsdkhilens == 3.1.93 +huaweicloudsdkhss == 3.1.93 +huaweicloudsdkiam == 3.1.93 +huaweicloudsdkiamaccessanalyzer == 3.1.93 +huaweicloudsdkidentitycenter == 3.1.93 +huaweicloudsdkidentitycenterstore == 3.1.93 +huaweicloudsdkidme == 3.1.93 +huaweicloudsdkidmeclassicapi == 3.1.93 +huaweicloudsdkiec == 3.1.93 +huaweicloudsdkief == 3.1.93 +huaweicloudsdkimage == 3.1.93 +huaweicloudsdkimagesearch == 3.1.93 +huaweicloudsdkims == 3.1.93 +huaweicloudsdkiotanalytics == 3.1.93 +huaweicloudsdkiotda == 3.1.93 +huaweicloudsdkiotedge == 3.1.93 +huaweicloudsdkivs == 3.1.93 +huaweicloudsdkkafka == 3.1.93 +huaweicloudsdkkms == 3.1.93 +huaweicloudsdkkoomessage == 3.1.93 +huaweicloudsdkkps == 3.1.93 +huaweicloudsdklakeformation == 3.1.93 +huaweicloudsdklive == 3.1.93 +huaweicloudsdklts == 3.1.93 +huaweicloudsdkmapds == 3.1.93 +huaweicloudsdkmas == 3.1.93 +huaweicloudsdkmeeting == 3.1.93 +huaweicloudsdkmetastudio == 3.1.93 +huaweicloudsdkmoderation == 3.1.93 +huaweicloudsdkmpc == 3.1.93 +huaweicloudsdkmrs == 3.1.93 +huaweicloudsdkmsgsms == 3.1.93 +huaweicloudsdkmssi == 3.1.93 +huaweicloudsdknat == 3.1.93 +huaweicloudsdknlp == 3.1.93 +huaweicloudsdkobs == 3.1.93 +huaweicloudsdkocr == 3.1.93 +huaweicloudsdkoctopus == 3.1.93 +huaweicloudsdkoms == 3.1.93 +huaweicloudsdkoptverse == 3.1.93 +huaweicloudsdkorganizations == 3.1.93 +huaweicloudsdkorgid == 3.1.93 +huaweicloudsdkoroas == 3.1.93 +huaweicloudsdkosm == 3.1.93 +huaweicloudsdkpangulargemodels == 3.1.93 +huaweicloudsdkprojectman == 3.1.93 +huaweicloudsdkrabbitmq == 3.1.93 +huaweicloudsdkram == 3.1.93 +huaweicloudsdkrds == 3.1.93 +huaweicloudsdkres == 3.1.93 +huaweicloudsdkrgc == 3.1.93 +huaweicloudsdkrms == 3.1.93 +huaweicloudsdkrocketmq == 3.1.93 +huaweicloudsdkroma == 3.1.93 +huaweicloudsdksa == 3.1.93 +huaweicloudsdkscm == 3.1.93 +huaweicloudsdksdrs == 3.1.93 +huaweicloudsdksecmaster == 3.1.93 +huaweicloudsdkservicestage == 3.1.93 +huaweicloudsdksfsturbo == 3.1.93 +huaweicloudsdksis == 3.1.93 +huaweicloudsdksmn == 3.1.93 +huaweicloudsdksms == 3.1.93 +huaweicloudsdksts == 3.1.93 +huaweicloudsdkswr == 3.1.93 +huaweicloudsdktics == 3.1.93 +huaweicloudsdktms == 3.1.93 +huaweicloudsdkugo == 3.1.93 +huaweicloudsdkvas == 3.1.93 +huaweicloudsdkvcm == 3.1.93 +huaweicloudsdkvod == 3.1.93 +huaweicloudsdkvpc == 3.1.93 +huaweicloudsdkvpcep == 3.1.93 +huaweicloudsdkvpn == 3.1.93 +huaweicloudsdkwaf == 3.1.93 +huaweicloudsdkworkspace == 3.1.93 +huaweicloudsdkworkspaceapp == 3.1.93 diff --git a/huaweicloud-sdk-all/setup.py b/huaweicloud-sdk-all/setup.py index 480d5e7f34..1c2be7f7e2 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -34,169 +34,169 @@ LONG_DESCRIPTION = f.read() INSTALL_REQUIRES = [ - 'huaweicloudsdkcore==3.1.92', - 'huaweicloudsdkaad==3.1.92', - 'huaweicloudsdkantiddos==3.1.92', - 'huaweicloudsdkaom==3.1.92', - 'huaweicloudsdkaos==3.1.92', - 'huaweicloudsdkapig==3.1.92', - 'huaweicloudsdkapm==3.1.92', - 'huaweicloudsdkas==3.1.92', - 'huaweicloudsdkasm==3.1.92', - 'huaweicloudsdkbcs==3.1.92', - 'huaweicloudsdkbms==3.1.92', - 'huaweicloudsdkbss==3.1.92', - 'huaweicloudsdkbssintl==3.1.92', - 'huaweicloudsdkcae==3.1.92', - 'huaweicloudsdkcampusgo==3.1.92', - 'huaweicloudsdkcbh==3.1.92', - 'huaweicloudsdkcbr==3.1.92', - 'huaweicloudsdkcbs==3.1.92', - 'huaweicloudsdkcc==3.1.92', - 'huaweicloudsdkcce==3.1.92', - 'huaweicloudsdkccm==3.1.92', - 'huaweicloudsdkcdm==3.1.92', - 'huaweicloudsdkcdn==3.1.92', - 'huaweicloudsdkces==3.1.92', - 'huaweicloudsdkcfw==3.1.92', - 'huaweicloudsdkcgs==3.1.92', - 'huaweicloudsdkclassroom==3.1.92', - 'huaweicloudsdkcloudide==3.1.92', - 'huaweicloudsdkcloudpond==3.1.92', - 'huaweicloudsdkcloudrtc==3.1.92', - 'huaweicloudsdkcloudtable==3.1.92', - 'huaweicloudsdkcloudtest==3.1.92', - 'huaweicloudsdkcodeartsartifact==3.1.92', - 'huaweicloudsdkcodeartsbuild==3.1.92', - 'huaweicloudsdkcodeartscheck==3.1.92', - 'huaweicloudsdkcodeartsdeploy==3.1.92', - 'huaweicloudsdkcodeartsinspector==3.1.92', - 'huaweicloudsdkcodeartspipeline==3.1.92', - 'huaweicloudsdkcodecraft==3.1.92', - 'huaweicloudsdkcodehub==3.1.92', - 'huaweicloudsdkconfig==3.1.92', - 'huaweicloudsdkcph==3.1.92', - 'huaweicloudsdkcpts==3.1.92', - 'huaweicloudsdkcse==3.1.92', - 'huaweicloudsdkcsms==3.1.92', - 'huaweicloudsdkcss==3.1.92', - 'huaweicloudsdkcts==3.1.92', - 'huaweicloudsdkdas==3.1.92', - 'huaweicloudsdkdataartsstudio==3.1.92', - 'huaweicloudsdkdbss==3.1.92', - 'huaweicloudsdkdc==3.1.92', - 'huaweicloudsdkdcs==3.1.92', - 'huaweicloudsdkddm==3.1.92', - 'huaweicloudsdkdds==3.1.92', - 'huaweicloudsdkdeh==3.1.92', - 'huaweicloudsdkdevsecurity==3.1.92', - 'huaweicloudsdkdevstar==3.1.92', - 'huaweicloudsdkdgc==3.1.92', - 'huaweicloudsdkdis==3.1.92', - 'huaweicloudsdkdlf==3.1.92', - 'huaweicloudsdkdli==3.1.92', - 'huaweicloudsdkdns==3.1.92', - 'huaweicloudsdkdris==3.1.92', - 'huaweicloudsdkdrs==3.1.92', - 'huaweicloudsdkdsc==3.1.92', - 'huaweicloudsdkdwr==3.1.92', - 'huaweicloudsdkdws==3.1.92', - 'huaweicloudsdkec==3.1.92', - 'huaweicloudsdkecs==3.1.92', - 'huaweicloudsdkedgesec==3.1.92', - 'huaweicloudsdkeg==3.1.92', - 'huaweicloudsdkeihealth==3.1.92', - 'huaweicloudsdkeip==3.1.92', - 'huaweicloudsdkelb==3.1.92', - 'huaweicloudsdkeps==3.1.92', - 'huaweicloudsdker==3.1.92', - 'huaweicloudsdkevs==3.1.92', - 'huaweicloudsdkfrs==3.1.92', - 'huaweicloudsdkfunctiongraph==3.1.92', - 'huaweicloudsdkga==3.1.92', - 'huaweicloudsdkgaussdb==3.1.92', - 'huaweicloudsdkgaussdbfornosql==3.1.92', - 'huaweicloudsdkgaussdbforopengauss==3.1.92', - 'huaweicloudsdkgeip==3.1.92', - 'huaweicloudsdkges==3.1.92', - 'huaweicloudsdkgsl==3.1.92', - 'huaweicloudsdkhilens==3.1.92', - 'huaweicloudsdkhss==3.1.92', - 'huaweicloudsdkiam==3.1.92', - 'huaweicloudsdkiamaccessanalyzer==3.1.92', - 'huaweicloudsdkidentitycenter==3.1.92', - 'huaweicloudsdkidentitycenterstore==3.1.92', - 'huaweicloudsdkidme==3.1.92', - 'huaweicloudsdkidmeclassicapi==3.1.92', - 'huaweicloudsdkiec==3.1.92', - 'huaweicloudsdkief==3.1.92', - 'huaweicloudsdkimage==3.1.92', - 'huaweicloudsdkimagesearch==3.1.92', - 'huaweicloudsdkims==3.1.92', - 'huaweicloudsdkiotanalytics==3.1.92', - 'huaweicloudsdkiotda==3.1.92', - 'huaweicloudsdkiotedge==3.1.92', - 'huaweicloudsdkivs==3.1.92', - 'huaweicloudsdkkafka==3.1.92', - 'huaweicloudsdkkms==3.1.92', - 'huaweicloudsdkkoomessage==3.1.92', - 'huaweicloudsdkkps==3.1.92', - 'huaweicloudsdklakeformation==3.1.92', - 'huaweicloudsdklive==3.1.92', - 'huaweicloudsdklts==3.1.92', - 'huaweicloudsdkmapds==3.1.92', - 'huaweicloudsdkmas==3.1.92', - 'huaweicloudsdkmeeting==3.1.92', - 'huaweicloudsdkmetastudio==3.1.92', - 'huaweicloudsdkmoderation==3.1.92', - 'huaweicloudsdkmpc==3.1.92', - 'huaweicloudsdkmrs==3.1.92', - 'huaweicloudsdkmsgsms==3.1.92', - 'huaweicloudsdkmssi==3.1.92', - 'huaweicloudsdknat==3.1.92', - 'huaweicloudsdknlp==3.1.92', - 'huaweicloudsdkobs==3.1.92', - 'huaweicloudsdkocr==3.1.92', - 'huaweicloudsdkoctopus==3.1.92', - 'huaweicloudsdkoms==3.1.92', - 'huaweicloudsdkoptverse==3.1.92', - 'huaweicloudsdkorganizations==3.1.92', - 'huaweicloudsdkorgid==3.1.92', - 'huaweicloudsdkoroas==3.1.92', - 'huaweicloudsdkosm==3.1.92', - 'huaweicloudsdkpangulargemodels==3.1.92', - 'huaweicloudsdkprojectman==3.1.92', - 'huaweicloudsdkrabbitmq==3.1.92', - 'huaweicloudsdkram==3.1.92', - 'huaweicloudsdkrds==3.1.92', - 'huaweicloudsdkres==3.1.92', - 'huaweicloudsdkrgc==3.1.92', - 'huaweicloudsdkrms==3.1.92', - 'huaweicloudsdkrocketmq==3.1.92', - 'huaweicloudsdkroma==3.1.92', - 'huaweicloudsdksa==3.1.92', - 'huaweicloudsdkscm==3.1.92', - 'huaweicloudsdksdrs==3.1.92', - 'huaweicloudsdksecmaster==3.1.92', - 'huaweicloudsdkservicestage==3.1.92', - 'huaweicloudsdksfsturbo==3.1.92', - 'huaweicloudsdksis==3.1.92', - 'huaweicloudsdksmn==3.1.92', - 'huaweicloudsdksms==3.1.92', - 'huaweicloudsdksts==3.1.92', - 'huaweicloudsdkswr==3.1.92', - 'huaweicloudsdktics==3.1.92', - 'huaweicloudsdktms==3.1.92', - 'huaweicloudsdkugo==3.1.92', - 'huaweicloudsdkvas==3.1.92', - 'huaweicloudsdkvcm==3.1.92', - 'huaweicloudsdkvod==3.1.92', - 'huaweicloudsdkvpc==3.1.92', - 'huaweicloudsdkvpcep==3.1.92', - 'huaweicloudsdkvpn==3.1.92', - 'huaweicloudsdkwaf==3.1.92', - 'huaweicloudsdkworkspace==3.1.92', - 'huaweicloudsdkworkspaceapp==3.1.92', + 'huaweicloudsdkcore==3.1.93', + 'huaweicloudsdkaad==3.1.93', + 'huaweicloudsdkantiddos==3.1.93', + 'huaweicloudsdkaom==3.1.93', + 'huaweicloudsdkaos==3.1.93', + 'huaweicloudsdkapig==3.1.93', + 'huaweicloudsdkapm==3.1.93', + 'huaweicloudsdkas==3.1.93', + 'huaweicloudsdkasm==3.1.93', + 'huaweicloudsdkbcs==3.1.93', + 'huaweicloudsdkbms==3.1.93', + 'huaweicloudsdkbss==3.1.93', + 'huaweicloudsdkbssintl==3.1.93', + 'huaweicloudsdkcae==3.1.93', + 'huaweicloudsdkcampusgo==3.1.93', + 'huaweicloudsdkcbh==3.1.93', + 'huaweicloudsdkcbr==3.1.93', + 'huaweicloudsdkcbs==3.1.93', + 'huaweicloudsdkcc==3.1.93', + 'huaweicloudsdkcce==3.1.93', + 'huaweicloudsdkccm==3.1.93', + 'huaweicloudsdkcdm==3.1.93', + 'huaweicloudsdkcdn==3.1.93', + 'huaweicloudsdkces==3.1.93', + 'huaweicloudsdkcfw==3.1.93', + 'huaweicloudsdkcgs==3.1.93', + 'huaweicloudsdkclassroom==3.1.93', + 'huaweicloudsdkcloudide==3.1.93', + 'huaweicloudsdkcloudpond==3.1.93', + 'huaweicloudsdkcloudrtc==3.1.93', + 'huaweicloudsdkcloudtable==3.1.93', + 'huaweicloudsdkcloudtest==3.1.93', + 'huaweicloudsdkcodeartsartifact==3.1.93', + 'huaweicloudsdkcodeartsbuild==3.1.93', + 'huaweicloudsdkcodeartscheck==3.1.93', + 'huaweicloudsdkcodeartsdeploy==3.1.93', + 'huaweicloudsdkcodeartsinspector==3.1.93', + 'huaweicloudsdkcodeartspipeline==3.1.93', + 'huaweicloudsdkcodecraft==3.1.93', + 'huaweicloudsdkcodehub==3.1.93', + 'huaweicloudsdkconfig==3.1.93', + 'huaweicloudsdkcph==3.1.93', + 'huaweicloudsdkcpts==3.1.93', + 'huaweicloudsdkcse==3.1.93', + 'huaweicloudsdkcsms==3.1.93', + 'huaweicloudsdkcss==3.1.93', + 'huaweicloudsdkcts==3.1.93', + 'huaweicloudsdkdas==3.1.93', + 'huaweicloudsdkdataartsstudio==3.1.93', + 'huaweicloudsdkdbss==3.1.93', + 'huaweicloudsdkdc==3.1.93', + 'huaweicloudsdkdcs==3.1.93', + 'huaweicloudsdkddm==3.1.93', + 'huaweicloudsdkdds==3.1.93', + 'huaweicloudsdkdeh==3.1.93', + 'huaweicloudsdkdevsecurity==3.1.93', + 'huaweicloudsdkdevstar==3.1.93', + 'huaweicloudsdkdgc==3.1.93', + 'huaweicloudsdkdis==3.1.93', + 'huaweicloudsdkdlf==3.1.93', + 'huaweicloudsdkdli==3.1.93', + 'huaweicloudsdkdns==3.1.93', + 'huaweicloudsdkdris==3.1.93', + 'huaweicloudsdkdrs==3.1.93', + 'huaweicloudsdkdsc==3.1.93', + 'huaweicloudsdkdwr==3.1.93', + 'huaweicloudsdkdws==3.1.93', + 'huaweicloudsdkec==3.1.93', + 'huaweicloudsdkecs==3.1.93', + 'huaweicloudsdkedgesec==3.1.93', + 'huaweicloudsdkeg==3.1.93', + 'huaweicloudsdkeihealth==3.1.93', + 'huaweicloudsdkeip==3.1.93', + 'huaweicloudsdkelb==3.1.93', + 'huaweicloudsdkeps==3.1.93', + 'huaweicloudsdker==3.1.93', + 'huaweicloudsdkevs==3.1.93', + 'huaweicloudsdkfrs==3.1.93', + 'huaweicloudsdkfunctiongraph==3.1.93', + 'huaweicloudsdkga==3.1.93', + 'huaweicloudsdkgaussdb==3.1.93', + 'huaweicloudsdkgaussdbfornosql==3.1.93', + 'huaweicloudsdkgaussdbforopengauss==3.1.93', + 'huaweicloudsdkgeip==3.1.93', + 'huaweicloudsdkges==3.1.93', + 'huaweicloudsdkgsl==3.1.93', + 'huaweicloudsdkhilens==3.1.93', + 'huaweicloudsdkhss==3.1.93', + 'huaweicloudsdkiam==3.1.93', + 'huaweicloudsdkiamaccessanalyzer==3.1.93', + 'huaweicloudsdkidentitycenter==3.1.93', + 'huaweicloudsdkidentitycenterstore==3.1.93', + 'huaweicloudsdkidme==3.1.93', + 'huaweicloudsdkidmeclassicapi==3.1.93', + 'huaweicloudsdkiec==3.1.93', + 'huaweicloudsdkief==3.1.93', + 'huaweicloudsdkimage==3.1.93', + 'huaweicloudsdkimagesearch==3.1.93', + 'huaweicloudsdkims==3.1.93', + 'huaweicloudsdkiotanalytics==3.1.93', + 'huaweicloudsdkiotda==3.1.93', + 'huaweicloudsdkiotedge==3.1.93', + 'huaweicloudsdkivs==3.1.93', + 'huaweicloudsdkkafka==3.1.93', + 'huaweicloudsdkkms==3.1.93', + 'huaweicloudsdkkoomessage==3.1.93', + 'huaweicloudsdkkps==3.1.93', + 'huaweicloudsdklakeformation==3.1.93', + 'huaweicloudsdklive==3.1.93', + 'huaweicloudsdklts==3.1.93', + 'huaweicloudsdkmapds==3.1.93', + 'huaweicloudsdkmas==3.1.93', + 'huaweicloudsdkmeeting==3.1.93', + 'huaweicloudsdkmetastudio==3.1.93', + 'huaweicloudsdkmoderation==3.1.93', + 'huaweicloudsdkmpc==3.1.93', + 'huaweicloudsdkmrs==3.1.93', + 'huaweicloudsdkmsgsms==3.1.93', + 'huaweicloudsdkmssi==3.1.93', + 'huaweicloudsdknat==3.1.93', + 'huaweicloudsdknlp==3.1.93', + 'huaweicloudsdkobs==3.1.93', + 'huaweicloudsdkocr==3.1.93', + 'huaweicloudsdkoctopus==3.1.93', + 'huaweicloudsdkoms==3.1.93', + 'huaweicloudsdkoptverse==3.1.93', + 'huaweicloudsdkorganizations==3.1.93', + 'huaweicloudsdkorgid==3.1.93', + 'huaweicloudsdkoroas==3.1.93', + 'huaweicloudsdkosm==3.1.93', + 'huaweicloudsdkpangulargemodels==3.1.93', + 'huaweicloudsdkprojectman==3.1.93', + 'huaweicloudsdkrabbitmq==3.1.93', + 'huaweicloudsdkram==3.1.93', + 'huaweicloudsdkrds==3.1.93', + 'huaweicloudsdkres==3.1.93', + 'huaweicloudsdkrgc==3.1.93', + 'huaweicloudsdkrms==3.1.93', + 'huaweicloudsdkrocketmq==3.1.93', + 'huaweicloudsdkroma==3.1.93', + 'huaweicloudsdksa==3.1.93', + 'huaweicloudsdkscm==3.1.93', + 'huaweicloudsdksdrs==3.1.93', + 'huaweicloudsdksecmaster==3.1.93', + 'huaweicloudsdkservicestage==3.1.93', + 'huaweicloudsdksfsturbo==3.1.93', + 'huaweicloudsdksis==3.1.93', + 'huaweicloudsdksmn==3.1.93', + 'huaweicloudsdksms==3.1.93', + 'huaweicloudsdksts==3.1.93', + 'huaweicloudsdkswr==3.1.93', + 'huaweicloudsdktics==3.1.93', + 'huaweicloudsdktms==3.1.93', + 'huaweicloudsdkugo==3.1.93', + 'huaweicloudsdkvas==3.1.93', + 'huaweicloudsdkvcm==3.1.93', + 'huaweicloudsdkvod==3.1.93', + 'huaweicloudsdkvpc==3.1.93', + 'huaweicloudsdkvpcep==3.1.93', + 'huaweicloudsdkvpn==3.1.93', + 'huaweicloudsdkwaf==3.1.93', + 'huaweicloudsdkworkspace==3.1.93', + 'huaweicloudsdkworkspaceapp==3.1.93', ] OPTIONS = { diff --git a/huaweicloud-sdk-antiddos/requirements.txt b/huaweicloud-sdk-antiddos/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-antiddos/requirements.txt +++ b/huaweicloud-sdk-antiddos/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-antiddos/setup.py b/huaweicloud-sdk-antiddos/setup.py index 55e0b3e6ad..ab13926d00 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-aom/requirements.txt b/huaweicloud-sdk-aom/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-aom/requirements.txt +++ b/huaweicloud-sdk-aom/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-aom/setup.py b/huaweicloud-sdk-aom/setup.py index 495de228c7..a63db3efcd 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-aos/requirements.txt b/huaweicloud-sdk-aos/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-aos/requirements.txt +++ b/huaweicloud-sdk-aos/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-aos/setup.py b/huaweicloud-sdk-aos/setup.py index 0dce969c2a..cd2f8712a9 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-apig/requirements.txt b/huaweicloud-sdk-apig/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-apig/requirements.txt +++ b/huaweicloud-sdk-apig/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-apig/setup.py b/huaweicloud-sdk-apig/setup.py index aa21dd0fd0..a9afc7e4c1 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-apm/requirements.txt b/huaweicloud-sdk-apm/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-apm/requirements.txt +++ b/huaweicloud-sdk-apm/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-apm/setup.py b/huaweicloud-sdk-apm/setup.py index c6494331ee..4d1395f6bd 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-as/requirements.txt b/huaweicloud-sdk-as/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-as/requirements.txt +++ b/huaweicloud-sdk-as/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-as/setup.py b/huaweicloud-sdk-as/setup.py index df13b27eb5..4b2a11eff2 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-asm/requirements.txt b/huaweicloud-sdk-asm/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-asm/requirements.txt +++ b/huaweicloud-sdk-asm/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-asm/setup.py b/huaweicloud-sdk-asm/setup.py index bf944de82d..1d06bedfd7 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-bcs/requirements.txt b/huaweicloud-sdk-bcs/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-bcs/requirements.txt +++ b/huaweicloud-sdk-bcs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-bcs/setup.py b/huaweicloud-sdk-bcs/setup.py index b691c80f01..3f83ffd401 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-bms/requirements.txt b/huaweicloud-sdk-bms/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-bms/requirements.txt +++ b/huaweicloud-sdk-bms/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-bms/setup.py b/huaweicloud-sdk-bms/setup.py index 13e187836c..211545445f 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-bss/requirements.txt b/huaweicloud-sdk-bss/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-bss/requirements.txt +++ b/huaweicloud-sdk-bss/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-bss/setup.py b/huaweicloud-sdk-bss/setup.py index a90e896e4f..6963ec33a3 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-bssintl/requirements.txt b/huaweicloud-sdk-bssintl/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-bssintl/requirements.txt +++ b/huaweicloud-sdk-bssintl/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-bssintl/setup.py b/huaweicloud-sdk-bssintl/setup.py index 14153dfdb0..b2c4ea759c 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cae/requirements.txt b/huaweicloud-sdk-cae/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-cae/requirements.txt +++ b/huaweicloud-sdk-cae/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-cae/setup.py b/huaweicloud-sdk-cae/setup.py index 7efe228a87..e9ab33e289 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-campusgo/requirements.txt b/huaweicloud-sdk-campusgo/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-campusgo/requirements.txt +++ b/huaweicloud-sdk-campusgo/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-campusgo/setup.py b/huaweicloud-sdk-campusgo/setup.py index 39c356ee7f..9f76c63e6a 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cbh/requirements.txt b/huaweicloud-sdk-cbh/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-cbh/requirements.txt +++ b/huaweicloud-sdk-cbh/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-cbh/setup.py b/huaweicloud-sdk-cbh/setup.py index 13b66b6301..7971cd1f6e 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cbr/requirements.txt b/huaweicloud-sdk-cbr/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-cbr/requirements.txt +++ b/huaweicloud-sdk-cbr/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-cbr/setup.py b/huaweicloud-sdk-cbr/setup.py index 6af59f096f..87c60ca839 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cbs/requirements.txt b/huaweicloud-sdk-cbs/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-cbs/requirements.txt +++ b/huaweicloud-sdk-cbs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-cbs/setup.py b/huaweicloud-sdk-cbs/setup.py index 6a8dd913fc..2da8b8e285 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cc/requirements.txt b/huaweicloud-sdk-cc/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-cc/requirements.txt +++ b/huaweicloud-sdk-cc/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-cc/setup.py b/huaweicloud-sdk-cc/setup.py index 8c5e4b8e60..5a3f879cd1 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/region/cce_region.py b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/region/cce_region.py index 08aaf5f62c..52c311e494 100644 --- a/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/region/cce_region.py +++ b/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/region/cce_region.py @@ -60,6 +60,8 @@ class CceRegion: "https://cce.eu-west-0.myhuaweicloud.com") RU_MOSCOW_1 = Region("ru-moscow-1", "https://cce.ru-moscow-1.myhuaweicloud.com") + ME_EAST_1 = Region("me-east-1", + "https://cce.me-east-1.myhuaweicloud.com") static_fields = { "cn-north-1": CN_NORTH_1, @@ -89,6 +91,7 @@ class CceRegion: "my-kualalumpur-1": MY_KUALALUMPUR_1, "eu-west-0": EU_WEST_0, "ru-moscow-1": RU_MOSCOW_1, + "me-east-1": ME_EAST_1, } @classmethod diff --git a/huaweicloud-sdk-cce/requirements.txt b/huaweicloud-sdk-cce/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-cce/requirements.txt +++ b/huaweicloud-sdk-cce/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-cce/setup.py b/huaweicloud-sdk-cce/setup.py index 9a4316a188..16aaa55e95 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ccm/requirements.txt b/huaweicloud-sdk-ccm/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-ccm/requirements.txt +++ b/huaweicloud-sdk-ccm/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-ccm/setup.py b/huaweicloud-sdk-ccm/setup.py index dea4ae9736..e718d70d9f 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cdm/requirements.txt b/huaweicloud-sdk-cdm/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-cdm/requirements.txt +++ b/huaweicloud-sdk-cdm/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-cdm/setup.py b/huaweicloud-sdk-cdm/setup.py index f69b18107a..aad1bb33f0 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cdn/requirements.txt b/huaweicloud-sdk-cdn/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-cdn/requirements.txt +++ b/huaweicloud-sdk-cdn/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-cdn/setup.py b/huaweicloud-sdk-cdn/setup.py index 2a37d04c79..1096f2c5d0 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ces/requirements.txt b/huaweicloud-sdk-ces/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-ces/requirements.txt +++ b/huaweicloud-sdk-ces/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-ces/setup.py b/huaweicloud-sdk-ces/setup.py index a78f7c87f8..591c96df36 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cfw/requirements.txt b/huaweicloud-sdk-cfw/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-cfw/requirements.txt +++ b/huaweicloud-sdk-cfw/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-cfw/setup.py b/huaweicloud-sdk-cfw/setup.py index ad0c435e56..fe485daaa3 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cgs/requirements.txt b/huaweicloud-sdk-cgs/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-cgs/requirements.txt +++ b/huaweicloud-sdk-cgs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-cgs/setup.py b/huaweicloud-sdk-cgs/setup.py index b1f548070b..e27c973cec 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-classroom/requirements.txt b/huaweicloud-sdk-classroom/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-classroom/requirements.txt +++ b/huaweicloud-sdk-classroom/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-classroom/setup.py b/huaweicloud-sdk-classroom/setup.py index a8af44a9e4..9f930302c0 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cloudide/requirements.txt b/huaweicloud-sdk-cloudide/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-cloudide/requirements.txt +++ b/huaweicloud-sdk-cloudide/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-cloudide/setup.py b/huaweicloud-sdk-cloudide/setup.py index 415c377a51..623c214939 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cloudpond/requirements.txt b/huaweicloud-sdk-cloudpond/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-cloudpond/requirements.txt +++ b/huaweicloud-sdk-cloudpond/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-cloudpond/setup.py b/huaweicloud-sdk-cloudpond/setup.py index 8f51ad0a99..a7d86741d9 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cloudrtc/requirements.txt b/huaweicloud-sdk-cloudrtc/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-cloudrtc/requirements.txt +++ b/huaweicloud-sdk-cloudrtc/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-cloudrtc/setup.py b/huaweicloud-sdk-cloudrtc/setup.py index 70cfe05af0..f9f4897a96 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cloudtable/requirements.txt b/huaweicloud-sdk-cloudtable/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-cloudtable/requirements.txt +++ b/huaweicloud-sdk-cloudtable/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-cloudtable/setup.py b/huaweicloud-sdk-cloudtable/setup.py index bf43bf4d53..38775e3138 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cloudtest/requirements.txt b/huaweicloud-sdk-cloudtest/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-cloudtest/requirements.txt +++ b/huaweicloud-sdk-cloudtest/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-cloudtest/setup.py b/huaweicloud-sdk-cloudtest/setup.py index eb0e4bed46..0baf1c2ff5 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-codeartsartifact/requirements.txt b/huaweicloud-sdk-codeartsartifact/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-codeartsartifact/requirements.txt +++ b/huaweicloud-sdk-codeartsartifact/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-codeartsartifact/setup.py b/huaweicloud-sdk-codeartsartifact/setup.py index b22422878e..d41cef466b 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-codeartsbuild/requirements.txt b/huaweicloud-sdk-codeartsbuild/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-codeartsbuild/requirements.txt +++ b/huaweicloud-sdk-codeartsbuild/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-codeartsbuild/setup.py b/huaweicloud-sdk-codeartsbuild/setup.py index 062ae1c26a..362d635c9f 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-codeartscheck/requirements.txt b/huaweicloud-sdk-codeartscheck/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-codeartscheck/requirements.txt +++ b/huaweicloud-sdk-codeartscheck/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-codeartscheck/setup.py b/huaweicloud-sdk-codeartscheck/setup.py index 68fb1a29d2..5a95888711 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-codeartsdeploy/huaweicloudsdkcodeartsdeploy/v2/model/app_detail_info.py b/huaweicloud-sdk-codeartsdeploy/huaweicloudsdkcodeartsdeploy/v2/model/app_detail_info.py index 2e7041f248..488b0e8d90 100644 --- a/huaweicloud-sdk-codeartsdeploy/huaweicloudsdkcodeartsdeploy/v2/model/app_detail_info.py +++ b/huaweicloud-sdk-codeartsdeploy/huaweicloudsdkcodeartsdeploy/v2/model/app_detail_info.py @@ -21,6 +21,7 @@ class AppDetailInfo: 'name': 'str', 'region': 'str', 'description': 'str', + 'is_disable': 'bool', 'create_type': 'str', 'project_id': 'str', 'project_name': 'str', @@ -33,6 +34,7 @@ class AppDetailInfo: 'can_copy': 'bool', 'can_manage': 'bool', 'can_create_env': 'bool', + 'can_disable': 'bool', 'owner_tenant_id': 'str', 'create_user_id': 'str', 'create_tenant_id': 'str', @@ -47,6 +49,7 @@ class AppDetailInfo: 'name': 'name', 'region': 'region', 'description': 'description', + 'is_disable': 'is_disable', 'create_type': 'create_type', 'project_id': 'project_id', 'project_name': 'project_name', @@ -59,6 +62,7 @@ class AppDetailInfo: 'can_copy': 'can_copy', 'can_manage': 'can_manage', 'can_create_env': 'can_create_env', + 'can_disable': 'can_disable', 'owner_tenant_id': 'owner_tenant_id', 'create_user_id': 'create_user_id', 'create_tenant_id': 'create_tenant_id', @@ -68,7 +72,7 @@ class AppDetailInfo: 'arrange_infos': 'arrange_infos' } - def __init__(self, id=None, name=None, region=None, description=None, create_type=None, project_id=None, project_name=None, slave_cluster_id=None, is_care=None, can_modify=None, can_delete=None, can_view=None, can_execute=None, can_copy=None, can_manage=None, can_create_env=None, owner_tenant_id=None, create_user_id=None, create_tenant_id=None, create_time=None, update_time=None, permission_level=None, arrange_infos=None): + def __init__(self, id=None, name=None, region=None, description=None, is_disable=None, create_type=None, project_id=None, project_name=None, slave_cluster_id=None, is_care=None, can_modify=None, can_delete=None, can_view=None, can_execute=None, can_copy=None, can_manage=None, can_create_env=None, can_disable=None, owner_tenant_id=None, create_user_id=None, create_tenant_id=None, create_time=None, update_time=None, permission_level=None, arrange_infos=None): """AppDetailInfo The model defined in huaweicloud sdk @@ -81,6 +85,8 @@ def __init__(self, id=None, name=None, region=None, description=None, create_typ :type region: str :param description: 描述 :type description: str + :param is_disable: 当前应用是否被禁用 + :type is_disable: bool :param create_type: 创建方式 :type create_type: str :param project_id: 项目ID @@ -105,6 +111,8 @@ def __init__(self, id=None, name=None, region=None, description=None, create_typ :type can_manage: bool :param can_create_env: 是否有创建环境的权限 :type can_create_env: bool + :param can_disable: 是否有禁用应用的权限 + :type can_disable: bool :param owner_tenant_id: 应用所属人租户ID :type owner_tenant_id: str :param create_user_id: 应用创建者用户名 @@ -127,6 +135,7 @@ def __init__(self, id=None, name=None, region=None, description=None, create_typ self._name = None self._region = None self._description = None + self._is_disable = None self._create_type = None self._project_id = None self._project_name = None @@ -139,6 +148,7 @@ def __init__(self, id=None, name=None, region=None, description=None, create_typ self._can_copy = None self._can_manage = None self._can_create_env = None + self._can_disable = None self._owner_tenant_id = None self._create_user_id = None self._create_tenant_id = None @@ -156,6 +166,8 @@ def __init__(self, id=None, name=None, region=None, description=None, create_typ self.region = region if description is not None: self.description = description + if is_disable is not None: + self.is_disable = is_disable if create_type is not None: self.create_type = create_type if project_id is not None: @@ -180,6 +192,8 @@ def __init__(self, id=None, name=None, region=None, description=None, create_typ self.can_manage = can_manage if can_create_env is not None: self.can_create_env = can_create_env + if can_disable is not None: + self.can_disable = can_disable if owner_tenant_id is not None: self.owner_tenant_id = owner_tenant_id if create_user_id is not None: @@ -283,6 +297,28 @@ def description(self, description): """ self._description = description + @property + def is_disable(self): + """Gets the is_disable of this AppDetailInfo. + + 当前应用是否被禁用 + + :return: The is_disable of this AppDetailInfo. + :rtype: bool + """ + return self._is_disable + + @is_disable.setter + def is_disable(self, is_disable): + """Sets the is_disable of this AppDetailInfo. + + 当前应用是否被禁用 + + :param is_disable: The is_disable of this AppDetailInfo. + :type is_disable: bool + """ + self._is_disable = is_disable + @property def create_type(self): """Gets the create_type of this AppDetailInfo. @@ -547,6 +583,28 @@ def can_create_env(self, can_create_env): """ self._can_create_env = can_create_env + @property + def can_disable(self): + """Gets the can_disable of this AppDetailInfo. + + 是否有禁用应用的权限 + + :return: The can_disable of this AppDetailInfo. + :rtype: bool + """ + return self._can_disable + + @can_disable.setter + def can_disable(self, can_disable): + """Sets the can_disable of this AppDetailInfo. + + 是否有禁用应用的权限 + + :param can_disable: The can_disable of this AppDetailInfo. + :type can_disable: bool + """ + self._can_disable = can_disable + @property def owner_tenant_id(self): """Gets the owner_tenant_id of this AppDetailInfo. diff --git a/huaweicloud-sdk-codeartsdeploy/huaweicloudsdkcodeartsdeploy/v2/model/app_execution_info.py b/huaweicloud-sdk-codeartsdeploy/huaweicloudsdkcodeartsdeploy/v2/model/app_execution_info.py index a02338e80e..35fbd6e0eb 100644 --- a/huaweicloud-sdk-codeartsdeploy/huaweicloudsdkcodeartsdeploy/v2/model/app_execution_info.py +++ b/huaweicloud-sdk-codeartsdeploy/huaweicloudsdkcodeartsdeploy/v2/model/app_execution_info.py @@ -20,6 +20,7 @@ class AppExecutionInfo: 'id': 'str', 'name': 'str', 'duration': 'str', + 'is_disable': 'bool', 'project_id': 'str', 'project_name': 'str', 'is_care': 'bool', @@ -30,6 +31,7 @@ class AppExecutionInfo: 'can_copy': 'bool', 'can_manage': 'bool', 'can_create_env': 'bool', + 'can_disable': 'bool', 'deploy_system': 'str', 'create_user_id': 'str', 'create_tenant_id': 'str', @@ -48,6 +50,7 @@ class AppExecutionInfo: 'id': 'id', 'name': 'name', 'duration': 'duration', + 'is_disable': 'is_disable', 'project_id': 'project_id', 'project_name': 'project_name', 'is_care': 'is_care', @@ -58,6 +61,7 @@ class AppExecutionInfo: 'can_copy': 'can_copy', 'can_manage': 'can_manage', 'can_create_env': 'can_create_env', + 'can_disable': 'can_disable', 'deploy_system': 'deploy_system', 'create_user_id': 'create_user_id', 'create_tenant_id': 'create_tenant_id', @@ -72,7 +76,7 @@ class AppExecutionInfo: 'arrange_infos': 'arrange_infos' } - def __init__(self, id=None, name=None, duration=None, project_id=None, project_name=None, is_care=None, can_modify=None, can_delete=None, can_view=None, can_execute=None, can_copy=None, can_manage=None, can_create_env=None, deploy_system=None, create_user_id=None, create_tenant_id=None, create_time=None, update_time=None, execution_time=None, end_time=None, execution_state=None, release_id=None, executor_id=None, executor_nick_name=None, arrange_infos=None): + def __init__(self, id=None, name=None, duration=None, is_disable=None, project_id=None, project_name=None, is_care=None, can_modify=None, can_delete=None, can_view=None, can_execute=None, can_copy=None, can_manage=None, can_create_env=None, can_disable=None, deploy_system=None, create_user_id=None, create_tenant_id=None, create_time=None, update_time=None, execution_time=None, end_time=None, execution_state=None, release_id=None, executor_id=None, executor_nick_name=None, arrange_infos=None): """AppExecutionInfo The model defined in huaweicloud sdk @@ -83,6 +87,8 @@ def __init__(self, id=None, name=None, duration=None, project_id=None, project_n :type name: str :param duration: 部署时间 :type duration: str + :param is_disable: 当前应用是否被禁用 + :type is_disable: bool :param project_id: 项目ID :type project_id: str :param project_name: 项目名称 @@ -103,6 +109,8 @@ def __init__(self, id=None, name=None, duration=None, project_id=None, project_n :type can_manage: bool :param can_create_env: 是否有创建环境的权限 :type can_create_env: bool + :param can_disable: 是否有禁用应用的权限 + :type can_disable: bool :param deploy_system: 部署类型模式,包括deployTemplate、ansible、shell :type deploy_system: str :param create_user_id: 应用创建者用户ID @@ -134,6 +142,7 @@ def __init__(self, id=None, name=None, duration=None, project_id=None, project_n self._id = None self._name = None self._duration = None + self._is_disable = None self._project_id = None self._project_name = None self._is_care = None @@ -144,6 +153,7 @@ def __init__(self, id=None, name=None, duration=None, project_id=None, project_n self._can_copy = None self._can_manage = None self._can_create_env = None + self._can_disable = None self._deploy_system = None self._create_user_id = None self._create_tenant_id = None @@ -164,6 +174,8 @@ def __init__(self, id=None, name=None, duration=None, project_id=None, project_n self.name = name if duration is not None: self.duration = duration + if is_disable is not None: + self.is_disable = is_disable if project_id is not None: self.project_id = project_id if project_name is not None: @@ -184,6 +196,8 @@ def __init__(self, id=None, name=None, duration=None, project_id=None, project_n self.can_manage = can_manage if can_create_env is not None: self.can_create_env = can_create_env + if can_disable is not None: + self.can_disable = can_disable if deploy_system is not None: self.deploy_system = deploy_system if create_user_id is not None: @@ -275,6 +289,28 @@ def duration(self, duration): """ self._duration = duration + @property + def is_disable(self): + """Gets the is_disable of this AppExecutionInfo. + + 当前应用是否被禁用 + + :return: The is_disable of this AppExecutionInfo. + :rtype: bool + """ + return self._is_disable + + @is_disable.setter + def is_disable(self, is_disable): + """Sets the is_disable of this AppExecutionInfo. + + 当前应用是否被禁用 + + :param is_disable: The is_disable of this AppExecutionInfo. + :type is_disable: bool + """ + self._is_disable = is_disable + @property def project_id(self): """Gets the project_id of this AppExecutionInfo. @@ -495,6 +531,28 @@ def can_create_env(self, can_create_env): """ self._can_create_env = can_create_env + @property + def can_disable(self): + """Gets the can_disable of this AppExecutionInfo. + + 是否有禁用应用的权限 + + :return: The can_disable of this AppExecutionInfo. + :rtype: bool + """ + return self._can_disable + + @can_disable.setter + def can_disable(self, can_disable): + """Sets the can_disable of this AppExecutionInfo. + + 是否有禁用应用的权限 + + :param can_disable: The can_disable of this AppExecutionInfo. + :type can_disable: bool + """ + self._can_disable = can_disable + @property def deploy_system(self): """Gets the deploy_system of this AppExecutionInfo. diff --git a/huaweicloud-sdk-codeartsdeploy/huaweicloudsdkcodeartsdeploy/v2/model/show_deploy_task_detail_response.py b/huaweicloud-sdk-codeartsdeploy/huaweicloudsdkcodeartsdeploy/v2/model/show_deploy_task_detail_response.py index 1ea0ff77c2..7b2e393505 100644 --- a/huaweicloud-sdk-codeartsdeploy/huaweicloudsdkcodeartsdeploy/v2/model/show_deploy_task_detail_response.py +++ b/huaweicloud-sdk-codeartsdeploy/huaweicloudsdkcodeartsdeploy/v2/model/show_deploy_task_detail_response.py @@ -43,10 +43,12 @@ class ShowDeployTaskDetailResponse(SdkResponse): 'can_execute': 'bool', 'can_copy': 'bool', 'can_manage': 'bool', + 'can_disable': 'bool', 'app_component_list': 'list[AppComponentDao]', 'role_id': 'int', 'id': 'str', 'release_id': 'int', + 'is_disable': 'bool', 'duration': 'str', 'execution_state': 'str', 'executor_id': 'str', @@ -80,10 +82,12 @@ class ShowDeployTaskDetailResponse(SdkResponse): 'can_execute': 'can_execute', 'can_copy': 'can_copy', 'can_manage': 'can_manage', + 'can_disable': 'can_disable', 'app_component_list': 'app_component_list', 'role_id': 'role_id', 'id': 'id', 'release_id': 'release_id', + 'is_disable': 'is_disable', 'duration': 'duration', 'execution_state': 'execution_state', 'executor_id': 'executor_id', @@ -91,7 +95,7 @@ class ShowDeployTaskDetailResponse(SdkResponse): 'steps': 'steps' } - def __init__(self, task_id=None, name=None, project_id=None, project_name=None, deploy_system=None, create_time=None, update_time=None, state=None, execution_time=None, description=None, is_defaut_permission=None, template_id=None, owner=None, nick_name=None, owner_id=None, tenant_id=None, tenant_name=None, slave_cluster_id=None, is_care=None, can_modify=None, can_delete=None, can_view=None, can_execute=None, can_copy=None, can_manage=None, app_component_list=None, role_id=None, id=None, release_id=None, duration=None, execution_state=None, executor_id=None, executor_nick_name=None, steps=None): + def __init__(self, task_id=None, name=None, project_id=None, project_name=None, deploy_system=None, create_time=None, update_time=None, state=None, execution_time=None, description=None, is_defaut_permission=None, template_id=None, owner=None, nick_name=None, owner_id=None, tenant_id=None, tenant_name=None, slave_cluster_id=None, is_care=None, can_modify=None, can_delete=None, can_view=None, can_execute=None, can_copy=None, can_manage=None, can_disable=None, app_component_list=None, role_id=None, id=None, release_id=None, is_disable=None, duration=None, execution_state=None, executor_id=None, executor_nick_name=None, steps=None): """ShowDeployTaskDetailResponse The model defined in huaweicloud sdk @@ -146,6 +150,8 @@ def __init__(self, task_id=None, name=None, project_id=None, project_name=None, :type can_copy: bool :param can_manage: 是否有编辑应用权限矩阵的权限 :type can_manage: bool + :param can_disable: 是否有禁用应用的权限 + :type can_disable: bool :param app_component_list: 应用和AOM应用组件对应关系 :type app_component_list: list[:class:`huaweicloudsdkcodeartsdeploy.v2.AppComponentDao`] :param role_id: 角色ID,0:应用创建者,-1:项目创建者,3:项目经理,4:开发人员,5:测试经理,6:测试人员,7:参与者,8:浏览者 @@ -154,6 +160,8 @@ def __init__(self, task_id=None, name=None, project_id=None, project_name=None, :type id: str :param release_id: 部署记录序列号 :type release_id: int + :param is_disable: 当前应用是否被禁用 + :type is_disable: bool :param duration: 部署时间 :type duration: str :param execution_state: 部署状态 @@ -193,10 +201,12 @@ def __init__(self, task_id=None, name=None, project_id=None, project_name=None, self._can_execute = None self._can_copy = None self._can_manage = None + self._can_disable = None self._app_component_list = None self._role_id = None self._id = None self._release_id = None + self._is_disable = None self._duration = None self._execution_state = None self._executor_id = None @@ -254,6 +264,8 @@ def __init__(self, task_id=None, name=None, project_id=None, project_name=None, self.can_copy = can_copy if can_manage is not None: self.can_manage = can_manage + if can_disable is not None: + self.can_disable = can_disable if app_component_list is not None: self.app_component_list = app_component_list if role_id is not None: @@ -262,6 +274,8 @@ def __init__(self, task_id=None, name=None, project_id=None, project_name=None, self.id = id if release_id is not None: self.release_id = release_id + if is_disable is not None: + self.is_disable = is_disable if duration is not None: self.duration = duration if execution_state is not None: @@ -823,6 +837,28 @@ def can_manage(self, can_manage): """ self._can_manage = can_manage + @property + def can_disable(self): + """Gets the can_disable of this ShowDeployTaskDetailResponse. + + 是否有禁用应用的权限 + + :return: The can_disable of this ShowDeployTaskDetailResponse. + :rtype: bool + """ + return self._can_disable + + @can_disable.setter + def can_disable(self, can_disable): + """Sets the can_disable of this ShowDeployTaskDetailResponse. + + 是否有禁用应用的权限 + + :param can_disable: The can_disable of this ShowDeployTaskDetailResponse. + :type can_disable: bool + """ + self._can_disable = can_disable + @property def app_component_list(self): """Gets the app_component_list of this ShowDeployTaskDetailResponse. @@ -911,6 +947,28 @@ def release_id(self, release_id): """ self._release_id = release_id + @property + def is_disable(self): + """Gets the is_disable of this ShowDeployTaskDetailResponse. + + 当前应用是否被禁用 + + :return: The is_disable of this ShowDeployTaskDetailResponse. + :rtype: bool + """ + return self._is_disable + + @is_disable.setter + def is_disable(self, is_disable): + """Sets the is_disable of this ShowDeployTaskDetailResponse. + + 当前应用是否被禁用 + + :param is_disable: The is_disable of this ShowDeployTaskDetailResponse. + :type is_disable: bool + """ + self._is_disable = is_disable + @property def duration(self): """Gets the duration of this ShowDeployTaskDetailResponse. diff --git a/huaweicloud-sdk-codeartsdeploy/huaweicloudsdkcodeartsdeploy/v2/model/task_info.py b/huaweicloud-sdk-codeartsdeploy/huaweicloudsdkcodeartsdeploy/v2/model/task_info.py index 542e8a7319..bc638f8c90 100644 --- a/huaweicloud-sdk-codeartsdeploy/huaweicloudsdkcodeartsdeploy/v2/model/task_info.py +++ b/huaweicloud-sdk-codeartsdeploy/huaweicloudsdkcodeartsdeploy/v2/model/task_info.py @@ -42,10 +42,12 @@ class TaskInfo: 'can_execute': 'bool', 'can_copy': 'bool', 'can_manage': 'bool', + 'can_disable': 'bool', 'app_component_list': 'list[AppComponentDao]', 'role_id': 'int', 'id': 'str', 'release_id': 'int', + 'is_disable': 'bool', 'duration': 'str', 'execution_state': 'str', 'executor_id': 'str', @@ -79,10 +81,12 @@ class TaskInfo: 'can_execute': 'can_execute', 'can_copy': 'can_copy', 'can_manage': 'can_manage', + 'can_disable': 'can_disable', 'app_component_list': 'app_component_list', 'role_id': 'role_id', 'id': 'id', 'release_id': 'release_id', + 'is_disable': 'is_disable', 'duration': 'duration', 'execution_state': 'execution_state', 'executor_id': 'executor_id', @@ -90,7 +94,7 @@ class TaskInfo: 'steps': 'steps' } - def __init__(self, task_id=None, name=None, project_id=None, project_name=None, deploy_system=None, create_time=None, update_time=None, state=None, execution_time=None, description=None, is_defaut_permission=None, template_id=None, owner=None, nick_name=None, owner_id=None, tenant_id=None, tenant_name=None, slave_cluster_id=None, is_care=None, can_modify=None, can_delete=None, can_view=None, can_execute=None, can_copy=None, can_manage=None, app_component_list=None, role_id=None, id=None, release_id=None, duration=None, execution_state=None, executor_id=None, executor_nick_name=None, steps=None): + def __init__(self, task_id=None, name=None, project_id=None, project_name=None, deploy_system=None, create_time=None, update_time=None, state=None, execution_time=None, description=None, is_defaut_permission=None, template_id=None, owner=None, nick_name=None, owner_id=None, tenant_id=None, tenant_name=None, slave_cluster_id=None, is_care=None, can_modify=None, can_delete=None, can_view=None, can_execute=None, can_copy=None, can_manage=None, can_disable=None, app_component_list=None, role_id=None, id=None, release_id=None, is_disable=None, duration=None, execution_state=None, executor_id=None, executor_nick_name=None, steps=None): """TaskInfo The model defined in huaweicloud sdk @@ -145,6 +149,8 @@ def __init__(self, task_id=None, name=None, project_id=None, project_name=None, :type can_copy: bool :param can_manage: 是否有编辑应用权限矩阵的权限 :type can_manage: bool + :param can_disable: 是否有禁用应用的权限 + :type can_disable: bool :param app_component_list: 应用和AOM应用组件对应关系 :type app_component_list: list[:class:`huaweicloudsdkcodeartsdeploy.v2.AppComponentDao`] :param role_id: 角色ID,0:应用创建者,-1:项目创建者,3:项目经理,4:开发人员,5:测试经理,6:测试人员,7:参与者,8:浏览者 @@ -153,6 +159,8 @@ def __init__(self, task_id=None, name=None, project_id=None, project_name=None, :type id: str :param release_id: 部署记录序列号 :type release_id: int + :param is_disable: 当前应用是否被禁用 + :type is_disable: bool :param duration: 部署时间 :type duration: str :param execution_state: 部署状态 @@ -192,10 +200,12 @@ def __init__(self, task_id=None, name=None, project_id=None, project_name=None, self._can_execute = None self._can_copy = None self._can_manage = None + self._can_disable = None self._app_component_list = None self._role_id = None self._id = None self._release_id = None + self._is_disable = None self._duration = None self._execution_state = None self._executor_id = None @@ -253,6 +263,8 @@ def __init__(self, task_id=None, name=None, project_id=None, project_name=None, self.can_copy = can_copy if can_manage is not None: self.can_manage = can_manage + if can_disable is not None: + self.can_disable = can_disable if app_component_list is not None: self.app_component_list = app_component_list if role_id is not None: @@ -261,6 +273,8 @@ def __init__(self, task_id=None, name=None, project_id=None, project_name=None, self.id = id if release_id is not None: self.release_id = release_id + if is_disable is not None: + self.is_disable = is_disable if duration is not None: self.duration = duration if execution_state is not None: @@ -822,6 +836,28 @@ def can_manage(self, can_manage): """ self._can_manage = can_manage + @property + def can_disable(self): + """Gets the can_disable of this TaskInfo. + + 是否有禁用应用的权限 + + :return: The can_disable of this TaskInfo. + :rtype: bool + """ + return self._can_disable + + @can_disable.setter + def can_disable(self, can_disable): + """Sets the can_disable of this TaskInfo. + + 是否有禁用应用的权限 + + :param can_disable: The can_disable of this TaskInfo. + :type can_disable: bool + """ + self._can_disable = can_disable + @property def app_component_list(self): """Gets the app_component_list of this TaskInfo. @@ -910,6 +946,28 @@ def release_id(self, release_id): """ self._release_id = release_id + @property + def is_disable(self): + """Gets the is_disable of this TaskInfo. + + 当前应用是否被禁用 + + :return: The is_disable of this TaskInfo. + :rtype: bool + """ + return self._is_disable + + @is_disable.setter + def is_disable(self, is_disable): + """Sets the is_disable of this TaskInfo. + + 当前应用是否被禁用 + + :param is_disable: The is_disable of this TaskInfo. + :type is_disable: bool + """ + self._is_disable = is_disable + @property def duration(self): """Gets the duration of this TaskInfo. diff --git a/huaweicloud-sdk-codeartsdeploy/huaweicloudsdkcodeartsdeploy/v2/model/task_v2_info.py b/huaweicloud-sdk-codeartsdeploy/huaweicloudsdkcodeartsdeploy/v2/model/task_v2_info.py index a748922ac8..abb6d84a2a 100644 --- a/huaweicloud-sdk-codeartsdeploy/huaweicloudsdkcodeartsdeploy/v2/model/task_v2_info.py +++ b/huaweicloud-sdk-codeartsdeploy/huaweicloudsdkcodeartsdeploy/v2/model/task_v2_info.py @@ -44,9 +44,11 @@ class TaskV2Info: 'can_copy': 'bool', 'can_manage': 'bool', 'can_create_env': 'bool', + 'can_disable': 'bool', 'app_component_list': 'list[AppComponentDao]', 'release_id': 'int', - 'app_id': 'str' + 'app_id': 'str', + 'is_disable': 'bool' } attribute_map = { @@ -77,12 +79,14 @@ class TaskV2Info: 'can_copy': 'can_copy', 'can_manage': 'can_manage', 'can_create_env': 'can_create_env', + 'can_disable': 'can_disable', 'app_component_list': 'app_component_list', 'release_id': 'release_id', - 'app_id': 'app_id' + 'app_id': 'app_id', + 'is_disable': 'is_disable' } - def __init__(self, id=None, name=None, state=None, description=None, owner=None, steps=None, project_id=None, project_name=None, deploy_system=None, create_time=None, update_time=None, role_id=None, is_defaut_permission=None, template_id=None, nick_name=None, owner_id=None, tenant_id=None, tenant_name=None, slave_cluster_id=None, is_care=None, can_modify=None, can_delete=None, can_view=None, can_execute=None, can_copy=None, can_manage=None, can_create_env=None, app_component_list=None, release_id=None, app_id=None): + def __init__(self, id=None, name=None, state=None, description=None, owner=None, steps=None, project_id=None, project_name=None, deploy_system=None, create_time=None, update_time=None, role_id=None, is_defaut_permission=None, template_id=None, nick_name=None, owner_id=None, tenant_id=None, tenant_name=None, slave_cluster_id=None, is_care=None, can_modify=None, can_delete=None, can_view=None, can_execute=None, can_copy=None, can_manage=None, can_create_env=None, can_disable=None, app_component_list=None, release_id=None, app_id=None, is_disable=None): """TaskV2Info The model defined in huaweicloud sdk @@ -141,12 +145,16 @@ def __init__(self, id=None, name=None, state=None, description=None, owner=None, :type can_manage: bool :param can_create_env: 是否有创建环境的权限 :type can_create_env: bool + :param can_disable: 是否有禁用应用的权限 + :type can_disable: bool :param app_component_list: 应用组件列表 :type app_component_list: list[:class:`huaweicloudsdkcodeartsdeploy.v2.AppComponentDao`] :param release_id: 部署记录序列号 :type release_id: int :param app_id: 部署任务所属应用id :type app_id: str + :param is_disable: 当前应用是否被禁用 + :type is_disable: bool """ @@ -178,9 +186,11 @@ def __init__(self, id=None, name=None, state=None, description=None, owner=None, self._can_copy = None self._can_manage = None self._can_create_env = None + self._can_disable = None self._app_component_list = None self._release_id = None self._app_id = None + self._is_disable = None self.discriminator = None if id is not None: @@ -237,12 +247,16 @@ def __init__(self, id=None, name=None, state=None, description=None, owner=None, self.can_manage = can_manage if can_create_env is not None: self.can_create_env = can_create_env + if can_disable is not None: + self.can_disable = can_disable if app_component_list is not None: self.app_component_list = app_component_list if release_id is not None: self.release_id = release_id if app_id is not None: self.app_id = app_id + if is_disable is not None: + self.is_disable = is_disable @property def id(self): @@ -838,6 +852,28 @@ def can_create_env(self, can_create_env): """ self._can_create_env = can_create_env + @property + def can_disable(self): + """Gets the can_disable of this TaskV2Info. + + 是否有禁用应用的权限 + + :return: The can_disable of this TaskV2Info. + :rtype: bool + """ + return self._can_disable + + @can_disable.setter + def can_disable(self, can_disable): + """Sets the can_disable of this TaskV2Info. + + 是否有禁用应用的权限 + + :param can_disable: The can_disable of this TaskV2Info. + :type can_disable: bool + """ + self._can_disable = can_disable + @property def app_component_list(self): """Gets the app_component_list of this TaskV2Info. @@ -904,6 +940,28 @@ def app_id(self, app_id): """ self._app_id = app_id + @property + def is_disable(self): + """Gets the is_disable of this TaskV2Info. + + 当前应用是否被禁用 + + :return: The is_disable of this TaskV2Info. + :rtype: bool + """ + return self._is_disable + + @is_disable.setter + def is_disable(self, is_disable): + """Sets the is_disable of this TaskV2Info. + + 当前应用是否被禁用 + + :param is_disable: The is_disable of this TaskV2Info. + :type is_disable: bool + """ + self._is_disable = is_disable + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-codeartsdeploy/requirements.txt b/huaweicloud-sdk-codeartsdeploy/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-codeartsdeploy/requirements.txt +++ b/huaweicloud-sdk-codeartsdeploy/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-codeartsdeploy/setup.py b/huaweicloud-sdk-codeartsdeploy/setup.py index 839aa18f74..e0dbc6b343 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-codeartsinspector/requirements.txt b/huaweicloud-sdk-codeartsinspector/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-codeartsinspector/requirements.txt +++ b/huaweicloud-sdk-codeartsinspector/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-codeartsinspector/setup.py b/huaweicloud-sdk-codeartsinspector/setup.py index d61546fb32..4ccaa1df8f 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-codeartspipeline/requirements.txt b/huaweicloud-sdk-codeartspipeline/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-codeartspipeline/requirements.txt +++ b/huaweicloud-sdk-codeartspipeline/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-codeartspipeline/setup.py b/huaweicloud-sdk-codeartspipeline/setup.py index 86290e2be7..6a49e38eff 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-codecraft/requirements.txt b/huaweicloud-sdk-codecraft/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-codecraft/requirements.txt +++ b/huaweicloud-sdk-codecraft/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-codecraft/setup.py b/huaweicloud-sdk-codecraft/setup.py index 84edf7e9b5..f3d9dfd4fc 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-codehub/requirements.txt b/huaweicloud-sdk-codehub/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-codehub/requirements.txt +++ b/huaweicloud-sdk-codehub/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-codehub/setup.py b/huaweicloud-sdk-codehub/setup.py index 42add4ea1c..7d9d50d8c9 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-config/requirements.txt b/huaweicloud-sdk-config/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-config/requirements.txt +++ b/huaweicloud-sdk-config/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-config/setup.py b/huaweicloud-sdk-config/setup.py index 4cce99ad4c..a890f9ba21 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-core/setup.py b/huaweicloud-sdk-core/setup.py index bffbf61648..3cc0c0d6fa 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" diff --git a/huaweicloud-sdk-core/tests/test_extract_error_message.py b/huaweicloud-sdk-core/tests/test_extract_error_message.py index a6d7ecf83a..7795c6be58 100644 --- a/huaweicloud-sdk-core/tests/test_extract_error_message.py +++ b/huaweicloud-sdk-core/tests/test_extract_error_message.py @@ -107,5 +107,20 @@ def test_extract_error_message5(): assert "97e2***11df" == e.request_id +def test_extract_error_message6(): + error_message = '{"error_code": "XXX.0001", ' \ + '"error_msg": "Some errors occurred.", ' \ + '"encoded_authorization_message": null}' + response = MockResponse(error_message) + try: + EXCEPTION_HANDLER.handle_exception(None, response) + assert False + except ServiceResponseException as e: + assert e.encoded_auth_msg is None + assert "XXX.0001" == e.error_code + assert "Some errors occurred." == e.error_msg + assert "97e2***11df" == e.request_id + + if __name__ == '__main__': pytest.main() diff --git a/huaweicloud-sdk-cph/requirements.txt b/huaweicloud-sdk-cph/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-cph/requirements.txt +++ b/huaweicloud-sdk-cph/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-cph/setup.py b/huaweicloud-sdk-cph/setup.py index f886bd29fd..6743e31428 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cpts/requirements.txt b/huaweicloud-sdk-cpts/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-cpts/requirements.txt +++ b/huaweicloud-sdk-cpts/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-cpts/setup.py b/huaweicloud-sdk-cpts/setup.py index 8fe0d18001..5eec932916 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cse/requirements.txt b/huaweicloud-sdk-cse/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-cse/requirements.txt +++ b/huaweicloud-sdk-cse/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-cse/setup.py b/huaweicloud-sdk-cse/setup.py index 61de2898e4..9067402182 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-csms/requirements.txt b/huaweicloud-sdk-csms/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-csms/requirements.txt +++ b/huaweicloud-sdk-csms/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-csms/setup.py b/huaweicloud-sdk-csms/setup.py index 2b900804b3..ed58a37509 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-css/requirements.txt b/huaweicloud-sdk-css/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-css/requirements.txt +++ b/huaweicloud-sdk-css/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-css/setup.py b/huaweicloud-sdk-css/setup.py index c863726b0e..3aaa7a12bf 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-cts/requirements.txt b/huaweicloud-sdk-cts/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-cts/requirements.txt +++ b/huaweicloud-sdk-cts/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-cts/setup.py b/huaweicloud-sdk-cts/setup.py index 73f8a36373..81f3ae52b1 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-das/requirements.txt b/huaweicloud-sdk-das/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-das/requirements.txt +++ b/huaweicloud-sdk-das/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-das/setup.py b/huaweicloud-sdk-das/setup.py index bc803f1c67..f780c752c2 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/__init__.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/__init__.py index 3b3b3c3d63..8588248a61 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/__init__.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/__init__.py @@ -26,6 +26,7 @@ from huaweicloudsdkdataartsstudio.v1.model.api_overview import ApiOverview from huaweicloudsdkdataartsstudio.v1.model.api_para_for_auth_to_instance import ApiParaForAuthToInstance from huaweicloudsdkdataartsstudio.v1.model.api_para_for_authorize_to_instance import ApiParaForAuthorizeToInstance +from huaweicloudsdkdataartsstudio.v1.model.api_param import ApiParam from huaweicloudsdkdataartsstudio.v1.model.api_publish_dto import ApiPublishDTO from huaweicloudsdkdataartsstudio.v1.model.api_request_para import ApiRequestPara from huaweicloudsdkdataartsstudio.v1.model.api_response_para import ApiResponsePara @@ -105,6 +106,8 @@ from huaweicloudsdkdataartsstudio.v1.model.batch_publish_response import BatchPublishResponse from huaweicloudsdkdataartsstudio.v1.model.batch_sync_metadata_request import BatchSyncMetadataRequest from huaweicloudsdkdataartsstudio.v1.model.batch_sync_metadata_response import BatchSyncMetadataResponse +from huaweicloudsdkdataartsstudio.v1.model.batch_update_security_dlf_data_ware_houses_request import BatchUpdateSecurityDlfDataWareHousesRequest +from huaweicloudsdkdataartsstudio.v1.model.batch_update_security_dlf_data_ware_houses_response import BatchUpdateSecurityDlfDataWareHousesResponse from huaweicloudsdkdataartsstudio.v1.model.behavior_rest_body import BehaviorRestBody from huaweicloudsdkdataartsstudio.v1.model.biz_catalog_vo import BizCatalogVO from huaweicloudsdkdataartsstudio.v1.model.biz_info_vo import BizInfoVO @@ -248,6 +251,8 @@ from huaweicloudsdkdataartsstudio.v1.model.data_source import DataSource from huaweicloudsdkdataartsstudio.v1.model.data_type import DataType from huaweicloudsdkdataartsstudio.v1.model.data_type_domain_enum import DataTypeDomainEnum +from huaweicloudsdkdataartsstudio.v1.model.data_ware_house_dto import DataWareHouseDTO +from huaweicloudsdkdataartsstudio.v1.model.data_ware_house_dto_dw_config import DataWareHouseDTODwConfig from huaweicloudsdkdataartsstudio.v1.model.database import Database from huaweicloudsdkdataartsstudio.v1.model.databases_list import DatabasesList from huaweicloudsdkdataartsstudio.v1.model.datasource_config import DatasourceConfig @@ -256,6 +261,8 @@ from huaweicloudsdkdataartsstudio.v1.model.debug_api_response import DebugApiResponse from huaweicloudsdkdataartsstudio.v1.model.debug_dataconnection_request import DebugDataconnectionRequest from huaweicloudsdkdataartsstudio.v1.model.debug_dataconnection_response import DebugDataconnectionResponse +from huaweicloudsdkdataartsstudio.v1.model.debug_security_dlf_data_ware_houses_request import DebugSecurityDlfDataWareHousesRequest +from huaweicloudsdkdataartsstudio.v1.model.debug_security_dlf_data_ware_houses_response import DebugSecurityDlfDataWareHousesResponse from huaweicloudsdkdataartsstudio.v1.model.delete_api_request import DeleteApiRequest from huaweicloudsdkdataartsstudio.v1.model.delete_api_response import DeleteApiResponse from huaweicloudsdkdataartsstudio.v1.model.delete_app_request import DeleteAppRequest @@ -337,6 +344,12 @@ from huaweicloudsdkdataartsstudio.v1.model.execute_api_to_instance_response import ExecuteApiToInstanceResponse from huaweicloudsdkdataartsstudio.v1.model.execute_task_action_request import ExecuteTaskActionRequest from huaweicloudsdkdataartsstudio.v1.model.execute_task_action_response import ExecuteTaskActionResponse +from huaweicloudsdkdataartsstudio.v1.model.export_data_service_excel_request import ExportDataServiceExcelRequest +from huaweicloudsdkdataartsstudio.v1.model.export_data_service_excel_response import ExportDataServiceExcelResponse +from huaweicloudsdkdataartsstudio.v1.model.export_data_service_excel_template_request import ExportDataServiceExcelTemplateRequest +from huaweicloudsdkdataartsstudio.v1.model.export_data_service_excel_template_response import ExportDataServiceExcelTemplateResponse +from huaweicloudsdkdataartsstudio.v1.model.export_data_service_zip_request import ExportDataServiceZipRequest +from huaweicloudsdkdataartsstudio.v1.model.export_data_service_zip_response import ExportDataServiceZipResponse from huaweicloudsdkdataartsstudio.v1.model.export_design_model_table_ddl_result_data import ExportDesignModelTableDDLResultData from huaweicloudsdkdataartsstudio.v1.model.export_design_model_table_ddl_request import ExportDesignModelTableDdlRequest from huaweicloudsdkdataartsstudio.v1.model.export_design_model_table_ddl_response import ExportDesignModelTableDdlResponse @@ -346,6 +359,9 @@ from huaweicloudsdkdataartsstudio.v1.model.export_design_result_request import ExportDesignResultRequest from huaweicloudsdkdataartsstudio.v1.model.export_design_result_response import ExportDesignResultResponse from huaweicloudsdkdataartsstudio.v1.model.export_param import ExportParam +from huaweicloudsdkdataartsstudio.v1.model.fgac_single_update_req import FgacSingleUpdateReq +from huaweicloudsdkdataartsstudio.v1.model.fgac_update_req import FgacUpdateReq +from huaweicloudsdkdataartsstudio.v1.model.fgac_update_result import FgacUpdateResult from huaweicloudsdkdataartsstudio.v1.model.filter_criteria import FilterCriteria from huaweicloudsdkdataartsstudio.v1.model.gateway_dto import GatewayDTO from huaweicloudsdkdataartsstudio.v1.model.glossary_info import GlossaryInfo @@ -355,6 +371,9 @@ from huaweicloudsdkdataartsstudio.v1.model.import_catalogs_request import ImportCatalogsRequest from huaweicloudsdkdataartsstudio.v1.model.import_catalogs_request_body import ImportCatalogsRequestBody from huaweicloudsdkdataartsstudio.v1.model.import_catalogs_response import ImportCatalogsResponse +from huaweicloudsdkdataartsstudio.v1.model.import_data_service_excel_request import ImportDataServiceExcelRequest +from huaweicloudsdkdataartsstudio.v1.model.import_data_service_excel_request_body import ImportDataServiceExcelRequestBody +from huaweicloudsdkdataartsstudio.v1.model.import_data_service_excel_response import ImportDataServiceExcelResponse from huaweicloudsdkdataartsstudio.v1.model.import_lineage_request import ImportLineageRequest from huaweicloudsdkdataartsstudio.v1.model.import_lineage_response import ImportLineageResponse from huaweicloudsdkdataartsstudio.v1.model.import_models_request import ImportModelsRequest @@ -501,6 +520,8 @@ from huaweicloudsdkdataartsstudio.v1.model.list_security_datasource_configurations_response import ListSecurityDatasourceConfigurationsResponse from huaweicloudsdkdataartsstudio.v1.model.list_security_datasource_urls_request import ListSecurityDatasourceUrlsRequest from huaweicloudsdkdataartsstudio.v1.model.list_security_datasource_urls_response import ListSecurityDatasourceUrlsResponse +from huaweicloudsdkdataartsstudio.v1.model.list_security_dlf_data_ware_houses_request import ListSecurityDlfDataWareHousesRequest +from huaweicloudsdkdataartsstudio.v1.model.list_security_dlf_data_ware_houses_response import ListSecurityDlfDataWareHousesResponse from huaweicloudsdkdataartsstudio.v1.model.list_security_permission_set_members_request import ListSecurityPermissionSetMembersRequest from huaweicloudsdkdataartsstudio.v1.model.list_security_permission_set_members_response import ListSecurityPermissionSetMembersResponse from huaweicloudsdkdataartsstudio.v1.model.list_security_permission_set_permissions_request import ListSecurityPermissionSetPermissionsRequest @@ -511,6 +532,8 @@ from huaweicloudsdkdataartsstudio.v1.model.list_security_role_actions_response import ListSecurityRoleActionsResponse from huaweicloudsdkdataartsstudio.v1.model.list_security_secrecy_levels_request import ListSecuritySecrecyLevelsRequest from huaweicloudsdkdataartsstudio.v1.model.list_security_secrecy_levels_response import ListSecuritySecrecyLevelsResponse +from huaweicloudsdkdataartsstudio.v1.model.list_security_sensitive_data_overviews_request import ListSecuritySensitiveDataOverviewsRequest +from huaweicloudsdkdataartsstudio.v1.model.list_security_sensitive_data_overviews_response import ListSecuritySensitiveDataOverviewsResponse from huaweicloudsdkdataartsstudio.v1.model.list_subject_levels_request import ListSubjectLevelsRequest from huaweicloudsdkdataartsstudio.v1.model.list_subject_levels_response import ListSubjectLevelsResponse from huaweicloudsdkdataartsstudio.v1.model.list_table_model_relations_request import ListTableModelRelationsRequest @@ -545,7 +568,6 @@ from huaweicloudsdkdataartsstudio.v1.model.object_id_info import ObjectIdInfo from huaweicloudsdkdataartsstudio.v1.model.obs_folder import ObsFolder from huaweicloudsdkdataartsstudio.v1.model.open_api_para_for_check_message import OpenApiParaForCheckMessage -from huaweicloudsdkdataartsstudio.v1.model.open_api_para_for_publish import OpenApiParaForPublish from huaweicloudsdkdataartsstudio.v1.model.open_apply_ids_for_approve_apply import OpenApplyIdsForApproveApply from huaweicloudsdkdataartsstudio.v1.model.open_bulk_classifications import OpenBulkClassifications from huaweicloudsdkdataartsstudio.v1.model.open_classification import OpenClassification @@ -569,8 +591,6 @@ from huaweicloudsdkdataartsstudio.v1.model.permission_set_permission_create_dto import PermissionSetPermissionCreateDTO from huaweicloudsdkdataartsstudio.v1.model.permission_set_permission_update_dto import PermissionSetPermissionUpdateDTO from huaweicloudsdkdataartsstudio.v1.model.profile_info import ProfileInfo -from huaweicloudsdkdataartsstudio.v1.model.publish_api_request import PublishApiRequest -from huaweicloudsdkdataartsstudio.v1.model.publish_api_response import PublishApiResponse from huaweicloudsdkdataartsstudio.v1.model.publish_api_to_instance_request import PublishApiToInstanceRequest from huaweicloudsdkdataartsstudio.v1.model.publish_api_to_instance_response import PublishApiToInstanceResponse from huaweicloudsdkdataartsstudio.v1.model.publish_version_vo import PublishVersionVO @@ -643,6 +663,8 @@ from huaweicloudsdkdataartsstudio.v1.model.search_versions_response import SearchVersionsResponse from huaweicloudsdkdataartsstudio.v1.model.secrecy_level import SecrecyLevel from huaweicloudsdkdataartsstudio.v1.model.self_defined_field_vo import SelfDefinedFieldVO +from huaweicloudsdkdataartsstudio.v1.model.sensitive_data_category_overview_query_dto import SensitiveDataCategoryOverviewQueryDTO +from huaweicloudsdkdataartsstudio.v1.model.sensitive_data_secrecy_level_overview_query_dto import SensitiveDataSecrecyLevelOverviewQueryDTO from huaweicloudsdkdataartsstudio.v1.model.set_factory_job_tags_request import SetFactoryJobTagsRequest from huaweicloudsdkdataartsstudio.v1.model.set_factory_job_tags_response import SetFactoryJobTagsResponse from huaweicloudsdkdataartsstudio.v1.model.set_job_tags_request_body import SetJobTagsRequestBody diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/dataartsstudio_async_client.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/dataartsstudio_async_client.py index 42f44837c1..c2f928acdb 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/dataartsstudio_async_client.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/dataartsstudio_async_client.py @@ -383,7 +383,7 @@ def _associate_security_level_to_entitie_http_info(self, request): def batch_approve_apply_async(self, request): """审核申请 - 审核申请 + 审核申请。 Please refer to HUAWEI cloud API Explorer for details. @@ -810,7 +810,7 @@ def batch_delete_security_secrecy_levels_async_invoker(self, request): def _batch_delete_security_secrecy_levels_http_info(self, request): http_info = { "method": "POST", - "resource_path": "/v1/{project_id}/dls/data-classification/secrecy-level/batch-delete", + "resource_path": "/v1/{project_id}/security/data-classification/secrecy-level/batch-delete", "request_type": request.__class__.__name__, "response_type": "BatchDeleteSecuritySecrecyLevelsResponse" } @@ -1125,6 +1125,73 @@ def _batch_sync_metadata_http_info(self, request): return http_info + def batch_update_security_dlf_data_ware_houses_async(self, request): + """批量更新数据开发连接细粒度认证状态 + + 批量更新数据开发连接细粒度认证状态 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for BatchUpdateSecurityDlfDataWareHouses + :type request: :class:`huaweicloudsdkdataartsstudio.v1.BatchUpdateSecurityDlfDataWareHousesRequest` + :rtype: :class:`huaweicloudsdkdataartsstudio.v1.BatchUpdateSecurityDlfDataWareHousesResponse` + """ + http_info = self._batch_update_security_dlf_data_ware_houses_http_info(request) + return self._call_api(**http_info) + + def batch_update_security_dlf_data_ware_houses_async_invoker(self, request): + http_info = self._batch_update_security_dlf_data_ware_houses_http_info(request) + return AsyncInvoker(self, http_info) + + def _batch_update_security_dlf_data_ware_houses_http_info(self, request): + http_info = { + "method": "PUT", + "resource_path": "/v1/{project_id}/security/fgac/dlf/datawarehouses", + "request_type": request.__class__.__name__, + "response_type": "BatchUpdateSecurityDlfDataWareHousesResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + if 'workspace' in local_var_params: + header_params['workspace'] = local_var_params['workspace'] + + form_params = {} + + body = None + if 'body' in local_var_params: + body = local_var_params['body'] + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = [] + + header_params['Content-Type'] = http_utils.select_header_content_type( + ['application/json;charset=UTF-8']) + + auth_settings = [] + + http_info["cname"] = cname + http_info["collection_formats"] = collection_formats + http_info["path_params"] = path_params + http_info["query_params"] = query_params + http_info["header_params"] = header_params + http_info["post_params"] = form_params + http_info["body"] = body + http_info["response_headers"] = response_headers + + return http_info + def cancel_factory_packages_async(self, request): """撤销任务包 @@ -1603,7 +1670,7 @@ def _confirm_approvals_http_info(self, request): def confirm_message_async(self, request): """处理消息 - 处理消息 + 对收到的通知消息进行确认,可以在指定的时间范围内选择何时进行处理。 Please refer to HUAWEI cloud API Explorer for details. @@ -1946,7 +2013,8 @@ def _count_table_models_http_info(self, request): def create_app_async(self, request): """创建应用 - 创建应用 + 创建应用。 + 支持创建APP, IAM应用。 Please refer to HUAWEI cloud API Explorer for details. @@ -3306,7 +3374,7 @@ def _create_security_secrecy_level_http_info(self, request): def create_service_catalog_async(self, request): """创建服务目录 - 创建服务目录 + 创建服务目录。 根目录编号为0。 Please refer to HUAWEI cloud API Explorer for details. @@ -3987,10 +4055,77 @@ def _debug_dataconnection_http_info(self, request): return http_info + def debug_security_dlf_data_ware_houses_async(self, request): + """测试数据开发连接细粒度连通性 + + 测试数据开发连接细粒度连通性 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for DebugSecurityDlfDataWareHouses + :type request: :class:`huaweicloudsdkdataartsstudio.v1.DebugSecurityDlfDataWareHousesRequest` + :rtype: :class:`huaweicloudsdkdataartsstudio.v1.DebugSecurityDlfDataWareHousesResponse` + """ + http_info = self._debug_security_dlf_data_ware_houses_http_info(request) + return self._call_api(**http_info) + + def debug_security_dlf_data_ware_houses_async_invoker(self, request): + http_info = self._debug_security_dlf_data_ware_houses_http_info(request) + return AsyncInvoker(self, http_info) + + def _debug_security_dlf_data_ware_houses_http_info(self, request): + http_info = { + "method": "POST", + "resource_path": "/v1/{project_id}/security/fgac/dlf/datawarehouses/{dw_id}", + "request_type": request.__class__.__name__, + "response_type": "DebugSecurityDlfDataWareHousesResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'dw_id' in local_var_params: + path_params['dw_id'] = local_var_params['dw_id'] + + query_params = [] + + header_params = {} + if 'workspace' in local_var_params: + header_params['workspace'] = local_var_params['workspace'] + + form_params = {} + + body = None + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = [] + + header_params['Content-Type'] = http_utils.select_header_content_type( + ['application/json']) + + auth_settings = [] + + http_info["cname"] = cname + http_info["collection_formats"] = collection_formats + http_info["path_params"] = path_params + http_info["query_params"] = query_params + http_info["header_params"] = header_params + http_info["post_params"] = form_params + http_info["body"] = body + http_info["response_headers"] = response_headers + + return http_info + def delete_app_async(self, request): """删除应用 - 删除应用 + 删除应用。 Please refer to HUAWEI cloud API Explorer for details. @@ -5085,7 +5220,8 @@ def _delete_security_secrecy_level_http_info(self, request): def delete_service_catalog_async(self, request): """批量删除目录 - 批量删除目录 + 批量删除服务目录。 + 删除目录的同时会删除其下的所有子目录,不支持删除带有API的目录。 Please refer to HUAWEI cloud API Explorer for details. @@ -6508,7 +6644,7 @@ def _list_aggregation_logic_tables_http_info(self, request): def list_all_catalog_list_async(self, request): """获取当前目录下的所有类型列表 - 获取当前目录下的所有类型列表 + 获取当前目录下所有类型列表(包括api和目录,均以目录的数据格式形式展示)。 Please refer to HUAWEI cloud API Explorer for details. @@ -6752,7 +6888,7 @@ def _list_all_tables_http_info(self, request): def list_api_catalog_list_async(self, request): """获取当前目录下的api列表 - 获取当前目录下的api列表 + 获取当前目录下的api列表。 Please refer to HUAWEI cloud API Explorer for details. @@ -6825,7 +6961,7 @@ def _list_api_catalog_list_http_info(self, request): def list_api_top_n_async(self, request): """查询指定api 应用调用topN - 查询指定api 应用调用topN + 查询指定api 应用调用topN。 Please refer to HUAWEI cloud API Explorer for details. @@ -6906,7 +7042,7 @@ def _list_api_top_n_http_info(self, request): def list_apic_groups_async(self, request): """获取网关分组 - 获取网关分组 + 获取网关分组。 Please refer to HUAWEI cloud API Explorer for details. @@ -6979,9 +7115,9 @@ def _list_apic_groups_http_info(self, request): return http_info def list_apic_instances_async(self, request): - """获取网关实例 + """获取网关实例(专享版) - 获取网关实例 + 获取网关实例(专享版)。 Please refer to HUAWEI cloud API Explorer for details. @@ -7054,7 +7190,7 @@ def _list_apic_instances_http_info(self, request): def list_apis_top_async(self, request): """查询api 服务调用topN - 查询api 服务调用topN + 查询api 服务调用topN。 Please refer to HUAWEI cloud API Explorer for details. @@ -7133,7 +7269,7 @@ def _list_apis_top_http_info(self, request): def list_apply_async(self, request): """查询申请列表 - 查询申请列表 + 查询申请列表。 Please refer to HUAWEI cloud API Explorer for details. @@ -7281,7 +7417,7 @@ def _list_approvers_http_info(self, request): def list_apps_async(self, request): """查询应用列表 - 查询应用列表 + 查询应用列表。 Please refer to HUAWEI cloud API Explorer for details. @@ -7356,7 +7492,7 @@ def _list_apps_http_info(self, request): def list_apps_top_async(self, request): """查询app 服务使用topN - 查询app 服务使用topN + 查询app 服务使用topN。 Please refer to HUAWEI cloud API Explorer for details. @@ -7736,7 +7872,7 @@ def _list_business_http_info(self, request): def list_catalog_list_async(self, request): """获取当前目录下的目录列表(全量) - 获取当前目录下的目录列表(全量) + 获取当前目录下的目录列表(全量数据,不分页,推荐仅用于生成目录树等无法分页的场景)。 Please refer to HUAWEI cloud API Explorer for details. @@ -9672,7 +9808,7 @@ def _list_manager_work_spaces_http_info(self, request): def list_message_async(self, request): """查询消息列表 - 查询消息列表 + 查询审核中心的通知消息列表。与申请不同,通知类消息,无法驳回,仅能在指定的时间范围内作出处理。 Please refer to HUAWEI cloud API Explorer for details. @@ -10590,6 +10726,71 @@ def _list_security_datasource_urls_http_info(self, request): return http_info + def list_security_dlf_data_ware_houses_async(self, request): + """查询数据开发细粒度连接列表(全量) + + 查询数据开发细粒度连接列表(全量) + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for ListSecurityDlfDataWareHouses + :type request: :class:`huaweicloudsdkdataartsstudio.v1.ListSecurityDlfDataWareHousesRequest` + :rtype: :class:`huaweicloudsdkdataartsstudio.v1.ListSecurityDlfDataWareHousesResponse` + """ + http_info = self._list_security_dlf_data_ware_houses_http_info(request) + return self._call_api(**http_info) + + def list_security_dlf_data_ware_houses_async_invoker(self, request): + http_info = self._list_security_dlf_data_ware_houses_http_info(request) + return AsyncInvoker(self, http_info) + + def _list_security_dlf_data_ware_houses_http_info(self, request): + http_info = { + "method": "GET", + "resource_path": "/v1/{project_id}/security/fgac/dlf/datawarehouses", + "request_type": request.__class__.__name__, + "response_type": "ListSecurityDlfDataWareHousesResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + if 'workspace' in local_var_params: + header_params['workspace'] = local_var_params['workspace'] + + form_params = {} + + body = None + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = [] + + header_params['Content-Type'] = http_utils.select_header_content_type( + ['application/json']) + + auth_settings = [] + + http_info["cname"] = cname + http_info["collection_formats"] = collection_formats + http_info["path_params"] = path_params + http_info["query_params"] = query_params + http_info["header_params"] = header_params + http_info["post_params"] = form_params + http_info["body"] = body + http_info["response_headers"] = response_headers + + return http_info + def list_security_permission_set_members_async(self, request): """查询权限集成员列表 @@ -10991,6 +11192,81 @@ def _list_security_secrecy_levels_http_info(self, request): return http_info + def list_security_sensitive_data_overviews_async(self, request): + """查询敏感数据发现概览结果(以分类和密级为单位) + + 查询敏感数据发现概览结果(以分类和密级为单位) + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for ListSecuritySensitiveDataOverviews + :type request: :class:`huaweicloudsdkdataartsstudio.v1.ListSecuritySensitiveDataOverviewsRequest` + :rtype: :class:`huaweicloudsdkdataartsstudio.v1.ListSecuritySensitiveDataOverviewsResponse` + """ + http_info = self._list_security_sensitive_data_overviews_http_info(request) + return self._call_api(**http_info) + + def list_security_sensitive_data_overviews_async_invoker(self, request): + http_info = self._list_security_sensitive_data_overviews_http_info(request) + return AsyncInvoker(self, http_info) + + def _list_security_sensitive_data_overviews_http_info(self, request): + http_info = { + "method": "GET", + "resource_path": "/v1/{project_id}/security/sensitive-data/result/overview", + "request_type": request.__class__.__name__, + "response_type": "ListSecuritySensitiveDataOverviewsResponse" + } + + 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 'datasource' in local_var_params: + query_params.append(('datasource', local_var_params['datasource'])) + if 'cluster_name' in local_var_params: + query_params.append(('cluster_name', local_var_params['cluster_name'])) + if 'database_name' in local_var_params: + query_params.append(('database_name', local_var_params['database_name'])) + if 'schema_name' in local_var_params: + query_params.append(('schema_name', local_var_params['schema_name'])) + if 'table_name' in local_var_params: + query_params.append(('table_name', local_var_params['table_name'])) + + header_params = {} + if 'workspace' in local_var_params: + header_params['workspace'] = local_var_params['workspace'] + + form_params = {} + + body = None + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = [] + + header_params['Content-Type'] = http_utils.select_header_content_type( + ['application/json']) + + auth_settings = [] + + http_info["cname"] = cname + http_info["collection_formats"] = collection_formats + http_info["path_params"] = path_params + http_info["query_params"] = query_params + http_info["header_params"] = header_params + http_info["post_params"] = form_params + http_info["body"] = body + http_info["response_headers"] = response_headers + + return http_info + def list_subject_levels_async(self, request): """获取主题层级 @@ -11445,7 +11721,7 @@ def _list_workspaceusers_http_info(self, request): def migrate_api_async(self, request): """批量移动api至新目录 - 批量移动api至新目录 + 批量移动api至新目录。 Please refer to HUAWEI cloud API Explorer for details. @@ -11514,7 +11790,8 @@ def _migrate_api_http_info(self, request): def migrate_catalog_async(self, request): """移动当前目录至新目录 - 移动当前目录至新目录 + 移动当前目录至新目录。 + 移动目录的的同时会移动其下的所有子目录与api。 Please refer to HUAWEI cloud API Explorer for details. @@ -12313,7 +12590,7 @@ def _search_atomic_indexes_http_info(self, request): def search_authorize_app_async(self, request): """查询API已授权的APP - 查询API已授权的APP + 查询API已授权的APP。 Please refer to HUAWEI cloud API Explorer for details. @@ -12386,7 +12663,7 @@ def _search_authorize_app_http_info(self, request): def search_bind_api_async(self, request): """查询APP已拥有授权的API - 查询APP已拥有授权的API + 查询APP已拥有授权的API。 Please refer to HUAWEI cloud API Explorer for details. @@ -12986,7 +13263,7 @@ def _search_fields_for_relation_http_info(self, request): def search_id_by_path_async(self, request): """通过路径获取id - 通过路径获取id + 通过路径获取id。 Please refer to HUAWEI cloud API Explorer for details. @@ -13455,7 +13732,7 @@ def _show_aggregation_logic_table_by_id_http_info(self, request): def show_api_dashboard_async(self, request): """查询指定api 仪表板数据详情 - 查询指定api 仪表板数据详情 + 查询指定api 仪表板数据详情。 Please refer to HUAWEI cloud API Explorer for details. @@ -13532,7 +13809,7 @@ def _show_api_dashboard_http_info(self, request): def show_apis_dashboard_async(self, request): """查询api 仪表板数据详情 - 查询api 仪表板数据详情 + 查询api 仪表板数据详情。 Please refer to HUAWEI cloud API Explorer for details. @@ -13611,7 +13888,7 @@ def _show_apis_dashboard_http_info(self, request): def show_apis_detail_async(self, request): """查询api 统计数据详情 - 查询api 统计数据详情 + 查询api 统计数据详情。 Please refer to HUAWEI cloud API Explorer for details. @@ -13688,7 +13965,7 @@ def _show_apis_detail_http_info(self, request): def show_apis_overview_async(self, request): """查询统计用户相关的总览开发指标 - 查询统计用户相关的总览开发指标 + 查询统计用户相关的总览开发指标。 Please refer to HUAWEI cloud API Explorer for details. @@ -13761,7 +14038,7 @@ def _show_apis_overview_http_info(self, request): def show_app_info_async(self, request): """查询应用详情 - 查询应用详情 + 查询应用详情。 Please refer to HUAWEI cloud API Explorer for details. @@ -13830,7 +14107,8 @@ def _show_app_info_http_info(self, request): def show_apply_detail_async(self, request): """获取申请详情 - 获取申请详情 + 获取申请详情。 + 此功能仅用作信息详情展示,不用做业务处理,因此不展示编号等后台参数。 Please refer to HUAWEI cloud API Explorer for details. @@ -13899,7 +14177,7 @@ def _show_apply_detail_http_info(self, request): def show_apps_dashboard_async(self, request): """查询app 仪表板数据详情 - 查询app 仪表板数据详情 + 查询app 仪表板数据详情。 Please refer to HUAWEI cloud API Explorer for details. @@ -13976,7 +14254,7 @@ def _show_apps_dashboard_http_info(self, request): def show_apps_detail_async(self, request): """查询app 统计数据详情 - 查询app 统计数据详情 + 查询app 统计数据详情。 Please refer to HUAWEI cloud API Explorer for details. @@ -14051,7 +14329,7 @@ def _show_apps_detail_http_info(self, request): def show_apps_overview_async(self, request): """查询统计用户相关的总览调用指标 - 查询统计用户相关的总览调用指标 + 查询统计用户相关的总览调用指标。 Please refer to HUAWEI cloud API Explorer for details. @@ -14538,7 +14816,7 @@ def _show_business_assets_tree_http_info(self, request): def show_catalog_detail_async(self, request): """查询服务目录 - 查询服务目录 + 查询服务目录。 Please refer to HUAWEI cloud API Explorer for details. @@ -16314,7 +16592,7 @@ def _show_lineage_bulk_http_info(self, request): def show_message_detail_async(self, request): """获取消息详情 - 获取消息详情 + 获取消息详情。此功能仅用作信息详情展示,不用做业务处理,因此不展示编号等后台参数。 Please refer to HUAWEI cloud API Explorer for details. @@ -16582,7 +16860,7 @@ def _show_nodes_http_info(self, request): def show_path_by_id_async(self, request): """通过id获取路径 - 通过id获取路径 + 通过id获取路径。 Please refer to HUAWEI cloud API Explorer for details. @@ -16655,7 +16933,8 @@ def _show_path_by_id_http_info(self, request): def show_path_object_by_id_async(self, request): """通过id获取路径对象 - 通过id获取路径对象 + 通过目录id获取路径对象。 + 通过目录id获取从根目录至当前目录链路上每一层的路径信息。 Please refer to HUAWEI cloud API Explorer for details. @@ -17954,7 +18233,7 @@ def _stop_factory_supplement_data_instance_http_info(self, request): def update_app_async(self, request): """更新应用 - 更新应用 + 更新应用。 Please refer to HUAWEI cloud API Explorer for details. @@ -18094,7 +18373,7 @@ def _update_biz_metric_http_info(self, request): def update_catalog_async(self, request): """更新服务目录 - 更新服务目录 + 更新服务目录。 Please refer to HUAWEI cloud API Explorer for details. @@ -19697,7 +19976,15 @@ def _update_workspace_http_info(self, request): def authorize_action_api_to_instance_async(self, request): """API授权操作(授权/取消授权/申请/续约) - API授权操作(授权/取消授权/申请/续约) + - API主动授权: API审核人可发起,API主动授权成功后,在有效期内,APP即可访问该API。API授权包含授权和续约两部分功能。 + * 授权:授权会给予APP在有效期内访问API的权利。 + * 续约:续约会更新授权有效期,仅支持延长有效期,不能减少。 + - API解除授权: API审核人可发起,解除API对APP的授权关系。解除授权后,APP将不再能够调用该API。API解除已授权的APP关系,需要为APP预留至少2天的准备时间。 + - APP解除授权: APP所有者可发起,解除API对APP的授权关系。解除授权后,APP将不再能够调用该API。APP解除自己的授权关系,无需预留准备时间。 + - APP申请授权: APP所有者可发起,APP申请API后,待API的审核人完成审核,APP即可访问该API。授权会给予APP在有效期内访问API的权利,需要API审核。 + - APP申请续约: APP所有者可发起,续约会更新授权有效期,仅支持延长有效期,不能减少,需要API审核。 + > * 申请自己的API推荐采用API主动授权/续约,无需审核。 + > * 自己的应用推荐采用APP解除授权,无需预留准备时间。 Please refer to HUAWEI cloud API Explorer for details. @@ -19764,9 +20051,12 @@ def _authorize_action_api_to_instance_http_info(self, request): return http_info def authorize_api_to_instance_async(self, request): - """批量授权API + """批量授权API(专享版) - 批量授权API + APP创建成功后,还不能访问API,如果想要访问某个API,需要将该API授权给APP。API主动授权成功后,在有效期内,APP即可访问该API。 + API授权包含授权和续约两部分功能。 + - 授权:授权会给予APP在有效期内访问API的权利。 + - 续约:续约会更新授权有效期,仅支持延长有效期,不能减少。 Please refer to HUAWEI cloud API Explorer for details. @@ -19839,7 +20129,7 @@ def _authorize_api_to_instance_http_info(self, request): def create_api_async(self, request): """创建API - 创建API + 创建API。 Please refer to HUAWEI cloud API Explorer for details. @@ -19908,7 +20198,7 @@ def _create_api_http_info(self, request): def debug_api_async(self, request): """调试API - 调试API + 调试API。 Please refer to HUAWEI cloud API Explorer for details. @@ -19981,7 +20271,7 @@ def _debug_api_http_info(self, request): def delete_api_async(self, request): """批量删除API - 批量删除API + 批量删除API。 Please refer to HUAWEI cloud API Explorer for details. @@ -20050,7 +20340,12 @@ def _delete_api_http_info(self, request): def execute_api_to_instance_async(self, request): """API操作(下线/停用/恢复) - API操作(下线/停用/恢复) + - 下线API。将已发布的API下线。下线后,所有授权关系都会被解除,API将无法再被调用。 + - 停用API。将已发布的API临时下线。下线后,授权关系会保留,停用期间API将无法再被调用。 + - 恢复API。将已停用的API恢复使用。恢复后, API重新提供调用。 + > * 恢复请求的发起者若非审核人,需要API的审核人完成申请的审核。 + > * 下线/停用请求的发起者,必须为API的审核人。 + > * 下线/停用功能需要为已授权的应用预留充分的准备时间,需至少提前2天发起请求。若需要立即执行下线/停用,需要发起请求后,无有效的授权应用或是有效的授权应用均处理完消息(立即执行,或定期后完成执行)。 Please refer to HUAWEI cloud API Explorer for details. @@ -20120,31 +20415,100 @@ def _execute_api_to_instance_http_info(self, request): return http_info - def list_apis_async(self, request): - """查询API列表 + def export_data_service_excel_async(self, request): + """导出包含API信息的excel文件 - 查询API列表 + 导出包含API信息的excel文件。 Please refer to HUAWEI cloud API Explorer for details. - :param request: Request instance for ListApis - :type request: :class:`huaweicloudsdkdataartsstudio.v1.ListApisRequest` - :rtype: :class:`huaweicloudsdkdataartsstudio.v1.ListApisResponse` + :param request: Request instance for ExportDataServiceExcel + :type request: :class:`huaweicloudsdkdataartsstudio.v1.ExportDataServiceExcelRequest` + :rtype: :class:`huaweicloudsdkdataartsstudio.v1.ExportDataServiceExcelResponse` """ - http_info = self._list_apis_http_info(request) + http_info = self._export_data_service_excel_http_info(request) return self._call_api(**http_info) - def list_apis_async_invoker(self, request): - http_info = self._list_apis_http_info(request) + def export_data_service_excel_async_invoker(self, request): + http_info = self._export_data_service_excel_http_info(request) return AsyncInvoker(self, http_info) - def _list_apis_http_info(self, request): + def _export_data_service_excel_http_info(self, request): + http_info = { + "method": "POST", + "resource_path": "/v1/{project_id}/service/export/excel", + "request_type": request.__class__.__name__, + "response_type": "ExportDataServiceExcelResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + if 'workspace' in local_var_params: + header_params['workspace'] = local_var_params['workspace'] + if 'dlm_type' in local_var_params: + header_params['Dlm-Type'] = local_var_params['dlm_type'] + + 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 export_data_service_excel_template_async(self, request): + """下载excel模板 + + 下载excel模板。 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for ExportDataServiceExcelTemplate + :type request: :class:`huaweicloudsdkdataartsstudio.v1.ExportDataServiceExcelTemplateRequest` + :rtype: :class:`huaweicloudsdkdataartsstudio.v1.ExportDataServiceExcelTemplateResponse` + """ + http_info = self._export_data_service_excel_template_http_info(request) + return self._call_api(**http_info) + + def export_data_service_excel_template_async_invoker(self, request): + http_info = self._export_data_service_excel_template_http_info(request) + return AsyncInvoker(self, http_info) + + def _export_data_service_excel_template_http_info(self, request): http_info = { "method": "GET", - "resource_path": "/v1/{project_id}/service/apis", + "resource_path": "/v1/{project_id}/service/export/excel-template", "request_type": request.__class__.__name__, - "response_type": "ListApisResponse" + "response_type": "ExportDataServiceExcelTemplateResponse" } local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} @@ -20156,18 +20520,12 @@ def _list_apis_http_info(self, request): path_params = {} query_params = [] - if 'offset' in local_var_params: - query_params.append(('offset', local_var_params['offset'])) - if 'limit' in local_var_params: - query_params.append(('limit', local_var_params['limit'])) header_params = {} if 'workspace' in local_var_params: header_params['workspace'] = local_var_params['workspace'] if 'dlm_type' in local_var_params: header_params['Dlm-Type'] = local_var_params['dlm_type'] - if 'x_return_publish_messages' in local_var_params: - header_params['x-return-publish-messages'] = local_var_params['x_return_publish_messages'] form_params = {} @@ -20193,31 +20551,171 @@ def _list_apis_http_info(self, request): return http_info - def list_instance_list_async(self, request): - """查看API不同操作对应的实例信息 + def export_data_service_zip_async(self, request): + """全量导出包含API的excel压缩文件 - 查看API不同操作对应的实例信息 + 全量导出包含API的excel压缩文件。 Please refer to HUAWEI cloud API Explorer for details. - :param request: Request instance for ListInstanceList - :type request: :class:`huaweicloudsdkdataartsstudio.v1.ListInstanceListRequest` - :rtype: :class:`huaweicloudsdkdataartsstudio.v1.ListInstanceListResponse` + :param request: Request instance for ExportDataServiceZip + :type request: :class:`huaweicloudsdkdataartsstudio.v1.ExportDataServiceZipRequest` + :rtype: :class:`huaweicloudsdkdataartsstudio.v1.ExportDataServiceZipResponse` """ - http_info = self._list_instance_list_http_info(request) + http_info = self._export_data_service_zip_http_info(request) return self._call_api(**http_info) - def list_instance_list_async_invoker(self, request): - http_info = self._list_instance_list_http_info(request) + def export_data_service_zip_async_invoker(self, request): + http_info = self._export_data_service_zip_http_info(request) return AsyncInvoker(self, http_info) - def _list_instance_list_http_info(self, request): + def _export_data_service_zip_http_info(self, request): + http_info = { + "method": "POST", + "resource_path": "/v1/{project_id}/service/export/zip", + "request_type": request.__class__.__name__, + "response_type": "ExportDataServiceZipResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + if 'workspace' in local_var_params: + header_params['workspace'] = local_var_params['workspace'] + if 'dlm_type' in local_var_params: + header_params['Dlm-Type'] = local_var_params['dlm_type'] + + 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 import_data_service_excel_async(self, request): + """导入包含API信息的excel文件 + + 导入包含API信息的excel文件。 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for ImportDataServiceExcel + :type request: :class:`huaweicloudsdkdataartsstudio.v1.ImportDataServiceExcelRequest` + :rtype: :class:`huaweicloudsdkdataartsstudio.v1.ImportDataServiceExcelResponse` + """ + http_info = self._import_data_service_excel_http_info(request) + return self._call_api(**http_info) + + def import_data_service_excel_async_invoker(self, request): + http_info = self._import_data_service_excel_http_info(request) + return AsyncInvoker(self, http_info) + + def _import_data_service_excel_http_info(self, request): + http_info = { + "method": "POST", + "resource_path": "/v1/{project_id}/service/import/excel", + "request_type": request.__class__.__name__, + "response_type": "ImportDataServiceExcelResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + if 'workspace' in local_var_params: + header_params['workspace'] = local_var_params['workspace'] + if 'dlm_type' in local_var_params: + header_params['Dlm-Type'] = local_var_params['dlm_type'] + + form_params = {} + if 'file' in local_var_params: + form_params['file'] = local_var_params['file'] + + 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( + ['multipart/form-data']) + + 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_apis_async(self, request): + """查询API列表 + + 查询API列表。 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for ListApis + :type request: :class:`huaweicloudsdkdataartsstudio.v1.ListApisRequest` + :rtype: :class:`huaweicloudsdkdataartsstudio.v1.ListApisResponse` + """ + http_info = self._list_apis_http_info(request) + return self._call_api(**http_info) + + def list_apis_async_invoker(self, request): + http_info = self._list_apis_http_info(request) + return AsyncInvoker(self, http_info) + + def _list_apis_http_info(self, request): http_info = { "method": "GET", - "resource_path": "/v1/{project_id}/service/apis/{api_id}/instances", + "resource_path": "/v1/{project_id}/service/apis", "request_type": request.__class__.__name__, - "response_type": "ListInstanceListResponse" + "response_type": "ListApisResponse" } local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} @@ -20227,30 +20725,39 @@ def _list_instance_list_http_info(self, request): collection_formats = {} path_params = {} - if 'api_id' in local_var_params: - path_params['api_id'] = local_var_params['api_id'] query_params = [] - if 'action' in local_var_params: - query_params.append(('action', local_var_params['action'])) - if 'show_all' in local_var_params: - query_params.append(('show_all', local_var_params['show_all'])) - if 'check_status' in local_var_params: - query_params.append(('check_status', local_var_params['check_status'])) - if 'check_debug' in local_var_params: - query_params.append(('check_debug', local_var_params['check_debug'])) - if 'app_id' in local_var_params: - query_params.append(('app_id', local_var_params['app_id'])) - if 'limit' in local_var_params: - query_params.append(('limit', local_var_params['limit'])) if 'offset' in local_var_params: query_params.append(('offset', local_var_params['offset'])) + if 'limit' in local_var_params: + query_params.append(('limit', local_var_params['limit'])) + if 'name' in local_var_params: + query_params.append(('name', local_var_params['name'])) + if 'description' in local_var_params: + query_params.append(('description', local_var_params['description'])) + if 'create_user' in local_var_params: + query_params.append(('create_user', local_var_params['create_user'])) + 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 'tags' in local_var_params: + query_params.append(('tags', local_var_params['tags'])) + collection_formats['tags'] = 'csv' + if 'api_type' in local_var_params: + query_params.append(('api_type', local_var_params['api_type'])) + if 'publish_status' in local_var_params: + query_params.append(('publish_status', local_var_params['publish_status'])) + if 'table_name' in local_var_params: + query_params.append(('table_name', local_var_params['table_name'])) header_params = {} if 'workspace' in local_var_params: header_params['workspace'] = local_var_params['workspace'] if 'dlm_type' in local_var_params: header_params['Dlm-Type'] = local_var_params['dlm_type'] + if 'x_return_publish_messages' in local_var_params: + header_params['x-return-publish-messages'] = local_var_params['x_return_publish_messages'] form_params = {} @@ -20276,31 +20783,31 @@ def _list_instance_list_http_info(self, request): return http_info - def publish_api_async(self, request): - """发布/下线/停用/恢复API + def list_instance_list_async(self, request): + """查看API不同操作对应的实例信息(专享版) - 发布/下线/停用/恢复API + 查看API不同操作对应的实例信息。 Please refer to HUAWEI cloud API Explorer for details. - :param request: Request instance for PublishApi - :type request: :class:`huaweicloudsdkdataartsstudio.v1.PublishApiRequest` - :rtype: :class:`huaweicloudsdkdataartsstudio.v1.PublishApiResponse` + :param request: Request instance for ListInstanceList + :type request: :class:`huaweicloudsdkdataartsstudio.v1.ListInstanceListRequest` + :rtype: :class:`huaweicloudsdkdataartsstudio.v1.ListInstanceListResponse` """ - http_info = self._publish_api_http_info(request) + http_info = self._list_instance_list_http_info(request) return self._call_api(**http_info) - def publish_api_async_invoker(self, request): - http_info = self._publish_api_http_info(request) + def list_instance_list_async_invoker(self, request): + http_info = self._list_instance_list_http_info(request) return AsyncInvoker(self, http_info) - def _publish_api_http_info(self, request): + def _list_instance_list_http_info(self, request): http_info = { - "method": "POST", - "resource_path": "/v1/{project_id}/service/apis/publish", + "method": "GET", + "resource_path": "/v1/{project_id}/service/apis/{api_id}/instances", "request_type": request.__class__.__name__, - "response_type": "PublishApiResponse" + "response_type": "ListInstanceListResponse" } local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} @@ -20310,8 +20817,24 @@ def _publish_api_http_info(self, request): collection_formats = {} path_params = {} + if 'api_id' in local_var_params: + path_params['api_id'] = local_var_params['api_id'] query_params = [] + if 'action' in local_var_params: + query_params.append(('action', local_var_params['action'])) + if 'show_all' in local_var_params: + query_params.append(('show_all', local_var_params['show_all'])) + if 'check_status' in local_var_params: + query_params.append(('check_status', local_var_params['check_status'])) + if 'check_debug' in local_var_params: + query_params.append(('check_debug', local_var_params['check_debug'])) + if 'app_id' in local_var_params: + query_params.append(('app_id', local_var_params['app_id'])) + if 'limit' in local_var_params: + query_params.append(('limit', local_var_params['limit'])) + if 'offset' in local_var_params: + query_params.append(('offset', local_var_params['offset'])) header_params = {} if 'workspace' in local_var_params: @@ -20322,8 +20845,6 @@ def _publish_api_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() @@ -20348,7 +20869,10 @@ def _publish_api_http_info(self, request): def publish_api_to_instance_async(self, request): """发布API - 发布API + 发布API。API只有发布后,才能够被调用。API发布时,可以将API发送至指定网关。 + - 共享版,必须发送至API网关共享版。 + - 专享版,可以依据自身需要,选择将API发送至API网关专享版、ROMA-APIC、或不发布网关。 + > 发布请求的发起者若非审核人,需要API的审核人完成申请的审核。 Please refer to HUAWEI cloud API Explorer for details. @@ -20419,9 +20943,9 @@ def _publish_api_to_instance_http_info(self, request): return http_info def search_debug_info_async(self, request): - """查看API调试信息 + """查看API调试信息(专享版) - 查看API调试信息 + 查看API在不同集群上的调试信息。 Please refer to HUAWEI cloud API Explorer for details. @@ -20492,9 +21016,10 @@ def _search_debug_info_http_info(self, request): return http_info def search_publish_info_async(self, request): - """查看API发布信息 + """查看API发布信息(专享版) - 查看API发布信息 + 查看API在不同集群上的发布信息。 + API在集群上进行过操作后会存在发布信息,例如调试、注册类发布等。 Please refer to HUAWEI cloud API Explorer for details. @@ -20567,7 +21092,7 @@ def _search_publish_info_http_info(self, request): def show_api_async(self, request): """查询API信息 - 查询API信息 + 查询API信息。 Please refer to HUAWEI cloud API Explorer for details. @@ -20636,7 +21161,7 @@ def _show_api_http_info(self, request): def update_api_async(self, request): """更新API - 更新API + 更新API。 Please refer to HUAWEI cloud API Explorer for details. diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/dataartsstudio_client.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/dataartsstudio_client.py index 0e974566ea..9f1a9328e4 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/dataartsstudio_client.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/dataartsstudio_client.py @@ -383,7 +383,7 @@ def _associate_security_level_to_entitie_http_info(cls, request): def batch_approve_apply(self, request): """审核申请 - 审核申请 + 审核申请。 Please refer to HUAWEI cloud API Explorer for details. @@ -810,7 +810,7 @@ def batch_delete_security_secrecy_levels_invoker(self, request): def _batch_delete_security_secrecy_levels_http_info(cls, request): http_info = { "method": "POST", - "resource_path": "/v1/{project_id}/dls/data-classification/secrecy-level/batch-delete", + "resource_path": "/v1/{project_id}/security/data-classification/secrecy-level/batch-delete", "request_type": request.__class__.__name__, "response_type": "BatchDeleteSecuritySecrecyLevelsResponse" } @@ -1125,6 +1125,73 @@ def _batch_sync_metadata_http_info(cls, request): return http_info + def batch_update_security_dlf_data_ware_houses(self, request): + """批量更新数据开发连接细粒度认证状态 + + 批量更新数据开发连接细粒度认证状态 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for BatchUpdateSecurityDlfDataWareHouses + :type request: :class:`huaweicloudsdkdataartsstudio.v1.BatchUpdateSecurityDlfDataWareHousesRequest` + :rtype: :class:`huaweicloudsdkdataartsstudio.v1.BatchUpdateSecurityDlfDataWareHousesResponse` + """ + http_info = self._batch_update_security_dlf_data_ware_houses_http_info(request) + return self._call_api(**http_info) + + def batch_update_security_dlf_data_ware_houses_invoker(self, request): + http_info = self._batch_update_security_dlf_data_ware_houses_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _batch_update_security_dlf_data_ware_houses_http_info(cls, request): + http_info = { + "method": "PUT", + "resource_path": "/v1/{project_id}/security/fgac/dlf/datawarehouses", + "request_type": request.__class__.__name__, + "response_type": "BatchUpdateSecurityDlfDataWareHousesResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + if 'workspace' in local_var_params: + header_params['workspace'] = local_var_params['workspace'] + + form_params = {} + + body = None + if 'body' in local_var_params: + body = local_var_params['body'] + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = [] + + header_params['Content-Type'] = http_utils.select_header_content_type( + ['application/json;charset=UTF-8']) + + auth_settings = [] + + http_info["cname"] = cname + http_info["collection_formats"] = collection_formats + http_info["path_params"] = path_params + http_info["query_params"] = query_params + http_info["header_params"] = header_params + http_info["post_params"] = form_params + http_info["body"] = body + http_info["response_headers"] = response_headers + + return http_info + def cancel_factory_packages(self, request): """撤销任务包 @@ -1603,7 +1670,7 @@ def _confirm_approvals_http_info(cls, request): def confirm_message(self, request): """处理消息 - 处理消息 + 对收到的通知消息进行确认,可以在指定的时间范围内选择何时进行处理。 Please refer to HUAWEI cloud API Explorer for details. @@ -1946,7 +2013,8 @@ def _count_table_models_http_info(cls, request): def create_app(self, request): """创建应用 - 创建应用 + 创建应用。 + 支持创建APP, IAM应用。 Please refer to HUAWEI cloud API Explorer for details. @@ -3306,7 +3374,7 @@ def _create_security_secrecy_level_http_info(cls, request): def create_service_catalog(self, request): """创建服务目录 - 创建服务目录 + 创建服务目录。 根目录编号为0。 Please refer to HUAWEI cloud API Explorer for details. @@ -3987,10 +4055,77 @@ def _debug_dataconnection_http_info(cls, request): return http_info + def debug_security_dlf_data_ware_houses(self, request): + """测试数据开发连接细粒度连通性 + + 测试数据开发连接细粒度连通性 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for DebugSecurityDlfDataWareHouses + :type request: :class:`huaweicloudsdkdataartsstudio.v1.DebugSecurityDlfDataWareHousesRequest` + :rtype: :class:`huaweicloudsdkdataartsstudio.v1.DebugSecurityDlfDataWareHousesResponse` + """ + http_info = self._debug_security_dlf_data_ware_houses_http_info(request) + return self._call_api(**http_info) + + def debug_security_dlf_data_ware_houses_invoker(self, request): + http_info = self._debug_security_dlf_data_ware_houses_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _debug_security_dlf_data_ware_houses_http_info(cls, request): + http_info = { + "method": "POST", + "resource_path": "/v1/{project_id}/security/fgac/dlf/datawarehouses/{dw_id}", + "request_type": request.__class__.__name__, + "response_type": "DebugSecurityDlfDataWareHousesResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'dw_id' in local_var_params: + path_params['dw_id'] = local_var_params['dw_id'] + + query_params = [] + + header_params = {} + if 'workspace' in local_var_params: + header_params['workspace'] = local_var_params['workspace'] + + form_params = {} + + body = None + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = [] + + header_params['Content-Type'] = http_utils.select_header_content_type( + ['application/json']) + + auth_settings = [] + + http_info["cname"] = cname + http_info["collection_formats"] = collection_formats + http_info["path_params"] = path_params + http_info["query_params"] = query_params + http_info["header_params"] = header_params + http_info["post_params"] = form_params + http_info["body"] = body + http_info["response_headers"] = response_headers + + return http_info + def delete_app(self, request): """删除应用 - 删除应用 + 删除应用。 Please refer to HUAWEI cloud API Explorer for details. @@ -5085,7 +5220,8 @@ def _delete_security_secrecy_level_http_info(cls, request): def delete_service_catalog(self, request): """批量删除目录 - 批量删除目录 + 批量删除服务目录。 + 删除目录的同时会删除其下的所有子目录,不支持删除带有API的目录。 Please refer to HUAWEI cloud API Explorer for details. @@ -6508,7 +6644,7 @@ def _list_aggregation_logic_tables_http_info(cls, request): def list_all_catalog_list(self, request): """获取当前目录下的所有类型列表 - 获取当前目录下的所有类型列表 + 获取当前目录下所有类型列表(包括api和目录,均以目录的数据格式形式展示)。 Please refer to HUAWEI cloud API Explorer for details. @@ -6752,7 +6888,7 @@ def _list_all_tables_http_info(cls, request): def list_api_catalog_list(self, request): """获取当前目录下的api列表 - 获取当前目录下的api列表 + 获取当前目录下的api列表。 Please refer to HUAWEI cloud API Explorer for details. @@ -6825,7 +6961,7 @@ def _list_api_catalog_list_http_info(cls, request): def list_api_top_n(self, request): """查询指定api 应用调用topN - 查询指定api 应用调用topN + 查询指定api 应用调用topN。 Please refer to HUAWEI cloud API Explorer for details. @@ -6906,7 +7042,7 @@ def _list_api_top_n_http_info(cls, request): def list_apic_groups(self, request): """获取网关分组 - 获取网关分组 + 获取网关分组。 Please refer to HUAWEI cloud API Explorer for details. @@ -6979,9 +7115,9 @@ def _list_apic_groups_http_info(cls, request): return http_info def list_apic_instances(self, request): - """获取网关实例 + """获取网关实例(专享版) - 获取网关实例 + 获取网关实例(专享版)。 Please refer to HUAWEI cloud API Explorer for details. @@ -7054,7 +7190,7 @@ def _list_apic_instances_http_info(cls, request): def list_apis_top(self, request): """查询api 服务调用topN - 查询api 服务调用topN + 查询api 服务调用topN。 Please refer to HUAWEI cloud API Explorer for details. @@ -7133,7 +7269,7 @@ def _list_apis_top_http_info(cls, request): def list_apply(self, request): """查询申请列表 - 查询申请列表 + 查询申请列表。 Please refer to HUAWEI cloud API Explorer for details. @@ -7281,7 +7417,7 @@ def _list_approvers_http_info(cls, request): def list_apps(self, request): """查询应用列表 - 查询应用列表 + 查询应用列表。 Please refer to HUAWEI cloud API Explorer for details. @@ -7356,7 +7492,7 @@ def _list_apps_http_info(cls, request): def list_apps_top(self, request): """查询app 服务使用topN - 查询app 服务使用topN + 查询app 服务使用topN。 Please refer to HUAWEI cloud API Explorer for details. @@ -7736,7 +7872,7 @@ def _list_business_http_info(cls, request): def list_catalog_list(self, request): """获取当前目录下的目录列表(全量) - 获取当前目录下的目录列表(全量) + 获取当前目录下的目录列表(全量数据,不分页,推荐仅用于生成目录树等无法分页的场景)。 Please refer to HUAWEI cloud API Explorer for details. @@ -9672,7 +9808,7 @@ def _list_manager_work_spaces_http_info(cls, request): def list_message(self, request): """查询消息列表 - 查询消息列表 + 查询审核中心的通知消息列表。与申请不同,通知类消息,无法驳回,仅能在指定的时间范围内作出处理。 Please refer to HUAWEI cloud API Explorer for details. @@ -10590,6 +10726,71 @@ def _list_security_datasource_urls_http_info(cls, request): return http_info + def list_security_dlf_data_ware_houses(self, request): + """查询数据开发细粒度连接列表(全量) + + 查询数据开发细粒度连接列表(全量) + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for ListSecurityDlfDataWareHouses + :type request: :class:`huaweicloudsdkdataartsstudio.v1.ListSecurityDlfDataWareHousesRequest` + :rtype: :class:`huaweicloudsdkdataartsstudio.v1.ListSecurityDlfDataWareHousesResponse` + """ + http_info = self._list_security_dlf_data_ware_houses_http_info(request) + return self._call_api(**http_info) + + def list_security_dlf_data_ware_houses_invoker(self, request): + http_info = self._list_security_dlf_data_ware_houses_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _list_security_dlf_data_ware_houses_http_info(cls, request): + http_info = { + "method": "GET", + "resource_path": "/v1/{project_id}/security/fgac/dlf/datawarehouses", + "request_type": request.__class__.__name__, + "response_type": "ListSecurityDlfDataWareHousesResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + if 'workspace' in local_var_params: + header_params['workspace'] = local_var_params['workspace'] + + form_params = {} + + body = None + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = [] + + header_params['Content-Type'] = http_utils.select_header_content_type( + ['application/json']) + + auth_settings = [] + + http_info["cname"] = cname + http_info["collection_formats"] = collection_formats + http_info["path_params"] = path_params + http_info["query_params"] = query_params + http_info["header_params"] = header_params + http_info["post_params"] = form_params + http_info["body"] = body + http_info["response_headers"] = response_headers + + return http_info + def list_security_permission_set_members(self, request): """查询权限集成员列表 @@ -10991,6 +11192,81 @@ def _list_security_secrecy_levels_http_info(cls, request): return http_info + def list_security_sensitive_data_overviews(self, request): + """查询敏感数据发现概览结果(以分类和密级为单位) + + 查询敏感数据发现概览结果(以分类和密级为单位) + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for ListSecuritySensitiveDataOverviews + :type request: :class:`huaweicloudsdkdataartsstudio.v1.ListSecuritySensitiveDataOverviewsRequest` + :rtype: :class:`huaweicloudsdkdataartsstudio.v1.ListSecuritySensitiveDataOverviewsResponse` + """ + http_info = self._list_security_sensitive_data_overviews_http_info(request) + return self._call_api(**http_info) + + def list_security_sensitive_data_overviews_invoker(self, request): + http_info = self._list_security_sensitive_data_overviews_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _list_security_sensitive_data_overviews_http_info(cls, request): + http_info = { + "method": "GET", + "resource_path": "/v1/{project_id}/security/sensitive-data/result/overview", + "request_type": request.__class__.__name__, + "response_type": "ListSecuritySensitiveDataOverviewsResponse" + } + + 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 'datasource' in local_var_params: + query_params.append(('datasource', local_var_params['datasource'])) + if 'cluster_name' in local_var_params: + query_params.append(('cluster_name', local_var_params['cluster_name'])) + if 'database_name' in local_var_params: + query_params.append(('database_name', local_var_params['database_name'])) + if 'schema_name' in local_var_params: + query_params.append(('schema_name', local_var_params['schema_name'])) + if 'table_name' in local_var_params: + query_params.append(('table_name', local_var_params['table_name'])) + + header_params = {} + if 'workspace' in local_var_params: + header_params['workspace'] = local_var_params['workspace'] + + form_params = {} + + body = None + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = [] + + header_params['Content-Type'] = http_utils.select_header_content_type( + ['application/json']) + + auth_settings = [] + + http_info["cname"] = cname + http_info["collection_formats"] = collection_formats + http_info["path_params"] = path_params + http_info["query_params"] = query_params + http_info["header_params"] = header_params + http_info["post_params"] = form_params + http_info["body"] = body + http_info["response_headers"] = response_headers + + return http_info + def list_subject_levels(self, request): """获取主题层级 @@ -11445,7 +11721,7 @@ def _list_workspaceusers_http_info(cls, request): def migrate_api(self, request): """批量移动api至新目录 - 批量移动api至新目录 + 批量移动api至新目录。 Please refer to HUAWEI cloud API Explorer for details. @@ -11514,7 +11790,8 @@ def _migrate_api_http_info(cls, request): def migrate_catalog(self, request): """移动当前目录至新目录 - 移动当前目录至新目录 + 移动当前目录至新目录。 + 移动目录的的同时会移动其下的所有子目录与api。 Please refer to HUAWEI cloud API Explorer for details. @@ -12313,7 +12590,7 @@ def _search_atomic_indexes_http_info(cls, request): def search_authorize_app(self, request): """查询API已授权的APP - 查询API已授权的APP + 查询API已授权的APP。 Please refer to HUAWEI cloud API Explorer for details. @@ -12386,7 +12663,7 @@ def _search_authorize_app_http_info(cls, request): def search_bind_api(self, request): """查询APP已拥有授权的API - 查询APP已拥有授权的API + 查询APP已拥有授权的API。 Please refer to HUAWEI cloud API Explorer for details. @@ -12986,7 +13263,7 @@ def _search_fields_for_relation_http_info(cls, request): def search_id_by_path(self, request): """通过路径获取id - 通过路径获取id + 通过路径获取id。 Please refer to HUAWEI cloud API Explorer for details. @@ -13455,7 +13732,7 @@ def _show_aggregation_logic_table_by_id_http_info(cls, request): def show_api_dashboard(self, request): """查询指定api 仪表板数据详情 - 查询指定api 仪表板数据详情 + 查询指定api 仪表板数据详情。 Please refer to HUAWEI cloud API Explorer for details. @@ -13532,7 +13809,7 @@ def _show_api_dashboard_http_info(cls, request): def show_apis_dashboard(self, request): """查询api 仪表板数据详情 - 查询api 仪表板数据详情 + 查询api 仪表板数据详情。 Please refer to HUAWEI cloud API Explorer for details. @@ -13611,7 +13888,7 @@ def _show_apis_dashboard_http_info(cls, request): def show_apis_detail(self, request): """查询api 统计数据详情 - 查询api 统计数据详情 + 查询api 统计数据详情。 Please refer to HUAWEI cloud API Explorer for details. @@ -13688,7 +13965,7 @@ def _show_apis_detail_http_info(cls, request): def show_apis_overview(self, request): """查询统计用户相关的总览开发指标 - 查询统计用户相关的总览开发指标 + 查询统计用户相关的总览开发指标。 Please refer to HUAWEI cloud API Explorer for details. @@ -13761,7 +14038,7 @@ def _show_apis_overview_http_info(cls, request): def show_app_info(self, request): """查询应用详情 - 查询应用详情 + 查询应用详情。 Please refer to HUAWEI cloud API Explorer for details. @@ -13830,7 +14107,8 @@ def _show_app_info_http_info(cls, request): def show_apply_detail(self, request): """获取申请详情 - 获取申请详情 + 获取申请详情。 + 此功能仅用作信息详情展示,不用做业务处理,因此不展示编号等后台参数。 Please refer to HUAWEI cloud API Explorer for details. @@ -13899,7 +14177,7 @@ def _show_apply_detail_http_info(cls, request): def show_apps_dashboard(self, request): """查询app 仪表板数据详情 - 查询app 仪表板数据详情 + 查询app 仪表板数据详情。 Please refer to HUAWEI cloud API Explorer for details. @@ -13976,7 +14254,7 @@ def _show_apps_dashboard_http_info(cls, request): def show_apps_detail(self, request): """查询app 统计数据详情 - 查询app 统计数据详情 + 查询app 统计数据详情。 Please refer to HUAWEI cloud API Explorer for details. @@ -14051,7 +14329,7 @@ def _show_apps_detail_http_info(cls, request): def show_apps_overview(self, request): """查询统计用户相关的总览调用指标 - 查询统计用户相关的总览调用指标 + 查询统计用户相关的总览调用指标。 Please refer to HUAWEI cloud API Explorer for details. @@ -14538,7 +14816,7 @@ def _show_business_assets_tree_http_info(cls, request): def show_catalog_detail(self, request): """查询服务目录 - 查询服务目录 + 查询服务目录。 Please refer to HUAWEI cloud API Explorer for details. @@ -16314,7 +16592,7 @@ def _show_lineage_bulk_http_info(cls, request): def show_message_detail(self, request): """获取消息详情 - 获取消息详情 + 获取消息详情。此功能仅用作信息详情展示,不用做业务处理,因此不展示编号等后台参数。 Please refer to HUAWEI cloud API Explorer for details. @@ -16582,7 +16860,7 @@ def _show_nodes_http_info(cls, request): def show_path_by_id(self, request): """通过id获取路径 - 通过id获取路径 + 通过id获取路径。 Please refer to HUAWEI cloud API Explorer for details. @@ -16655,7 +16933,8 @@ def _show_path_by_id_http_info(cls, request): def show_path_object_by_id(self, request): """通过id获取路径对象 - 通过id获取路径对象 + 通过目录id获取路径对象。 + 通过目录id获取从根目录至当前目录链路上每一层的路径信息。 Please refer to HUAWEI cloud API Explorer for details. @@ -17954,7 +18233,7 @@ def _stop_factory_supplement_data_instance_http_info(cls, request): def update_app(self, request): """更新应用 - 更新应用 + 更新应用。 Please refer to HUAWEI cloud API Explorer for details. @@ -18094,7 +18373,7 @@ def _update_biz_metric_http_info(cls, request): def update_catalog(self, request): """更新服务目录 - 更新服务目录 + 更新服务目录。 Please refer to HUAWEI cloud API Explorer for details. @@ -19697,7 +19976,15 @@ def _update_workspace_http_info(cls, request): def authorize_action_api_to_instance(self, request): """API授权操作(授权/取消授权/申请/续约) - API授权操作(授权/取消授权/申请/续约) + - API主动授权: API审核人可发起,API主动授权成功后,在有效期内,APP即可访问该API。API授权包含授权和续约两部分功能。 + * 授权:授权会给予APP在有效期内访问API的权利。 + * 续约:续约会更新授权有效期,仅支持延长有效期,不能减少。 + - API解除授权: API审核人可发起,解除API对APP的授权关系。解除授权后,APP将不再能够调用该API。API解除已授权的APP关系,需要为APP预留至少2天的准备时间。 + - APP解除授权: APP所有者可发起,解除API对APP的授权关系。解除授权后,APP将不再能够调用该API。APP解除自己的授权关系,无需预留准备时间。 + - APP申请授权: APP所有者可发起,APP申请API后,待API的审核人完成审核,APP即可访问该API。授权会给予APP在有效期内访问API的权利,需要API审核。 + - APP申请续约: APP所有者可发起,续约会更新授权有效期,仅支持延长有效期,不能减少,需要API审核。 + > * 申请自己的API推荐采用API主动授权/续约,无需审核。 + > * 自己的应用推荐采用APP解除授权,无需预留准备时间。 Please refer to HUAWEI cloud API Explorer for details. @@ -19764,9 +20051,12 @@ def _authorize_action_api_to_instance_http_info(cls, request): return http_info def authorize_api_to_instance(self, request): - """批量授权API + """批量授权API(专享版) - 批量授权API + APP创建成功后,还不能访问API,如果想要访问某个API,需要将该API授权给APP。API主动授权成功后,在有效期内,APP即可访问该API。 + API授权包含授权和续约两部分功能。 + - 授权:授权会给予APP在有效期内访问API的权利。 + - 续约:续约会更新授权有效期,仅支持延长有效期,不能减少。 Please refer to HUAWEI cloud API Explorer for details. @@ -19839,7 +20129,7 @@ def _authorize_api_to_instance_http_info(cls, request): def create_api(self, request): """创建API - 创建API + 创建API。 Please refer to HUAWEI cloud API Explorer for details. @@ -19908,7 +20198,7 @@ def _create_api_http_info(cls, request): def debug_api(self, request): """调试API - 调试API + 调试API。 Please refer to HUAWEI cloud API Explorer for details. @@ -19981,7 +20271,7 @@ def _debug_api_http_info(cls, request): def delete_api(self, request): """批量删除API - 批量删除API + 批量删除API。 Please refer to HUAWEI cloud API Explorer for details. @@ -20050,7 +20340,12 @@ def _delete_api_http_info(cls, request): def execute_api_to_instance(self, request): """API操作(下线/停用/恢复) - API操作(下线/停用/恢复) + - 下线API。将已发布的API下线。下线后,所有授权关系都会被解除,API将无法再被调用。 + - 停用API。将已发布的API临时下线。下线后,授权关系会保留,停用期间API将无法再被调用。 + - 恢复API。将已停用的API恢复使用。恢复后, API重新提供调用。 + > * 恢复请求的发起者若非审核人,需要API的审核人完成申请的审核。 + > * 下线/停用请求的发起者,必须为API的审核人。 + > * 下线/停用功能需要为已授权的应用预留充分的准备时间,需至少提前2天发起请求。若需要立即执行下线/停用,需要发起请求后,无有效的授权应用或是有效的授权应用均处理完消息(立即执行,或定期后完成执行)。 Please refer to HUAWEI cloud API Explorer for details. @@ -20120,31 +20415,100 @@ def _execute_api_to_instance_http_info(cls, request): return http_info - def list_apis(self, request): - """查询API列表 + def export_data_service_excel(self, request): + """导出包含API信息的excel文件 - 查询API列表 + 导出包含API信息的excel文件。 Please refer to HUAWEI cloud API Explorer for details. - :param request: Request instance for ListApis - :type request: :class:`huaweicloudsdkdataartsstudio.v1.ListApisRequest` - :rtype: :class:`huaweicloudsdkdataartsstudio.v1.ListApisResponse` + :param request: Request instance for ExportDataServiceExcel + :type request: :class:`huaweicloudsdkdataartsstudio.v1.ExportDataServiceExcelRequest` + :rtype: :class:`huaweicloudsdkdataartsstudio.v1.ExportDataServiceExcelResponse` """ - http_info = self._list_apis_http_info(request) + http_info = self._export_data_service_excel_http_info(request) return self._call_api(**http_info) - def list_apis_invoker(self, request): - http_info = self._list_apis_http_info(request) + def export_data_service_excel_invoker(self, request): + http_info = self._export_data_service_excel_http_info(request) return SyncInvoker(self, http_info) @classmethod - def _list_apis_http_info(cls, request): + def _export_data_service_excel_http_info(cls, request): + http_info = { + "method": "POST", + "resource_path": "/v1/{project_id}/service/export/excel", + "request_type": request.__class__.__name__, + "response_type": "ExportDataServiceExcelResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + if 'workspace' in local_var_params: + header_params['workspace'] = local_var_params['workspace'] + if 'dlm_type' in local_var_params: + header_params['Dlm-Type'] = local_var_params['dlm_type'] + + 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 export_data_service_excel_template(self, request): + """下载excel模板 + + 下载excel模板。 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for ExportDataServiceExcelTemplate + :type request: :class:`huaweicloudsdkdataartsstudio.v1.ExportDataServiceExcelTemplateRequest` + :rtype: :class:`huaweicloudsdkdataartsstudio.v1.ExportDataServiceExcelTemplateResponse` + """ + http_info = self._export_data_service_excel_template_http_info(request) + return self._call_api(**http_info) + + def export_data_service_excel_template_invoker(self, request): + http_info = self._export_data_service_excel_template_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _export_data_service_excel_template_http_info(cls, request): http_info = { "method": "GET", - "resource_path": "/v1/{project_id}/service/apis", + "resource_path": "/v1/{project_id}/service/export/excel-template", "request_type": request.__class__.__name__, - "response_type": "ListApisResponse" + "response_type": "ExportDataServiceExcelTemplateResponse" } local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} @@ -20156,18 +20520,12 @@ def _list_apis_http_info(cls, request): path_params = {} query_params = [] - if 'offset' in local_var_params: - query_params.append(('offset', local_var_params['offset'])) - if 'limit' in local_var_params: - query_params.append(('limit', local_var_params['limit'])) header_params = {} if 'workspace' in local_var_params: header_params['workspace'] = local_var_params['workspace'] if 'dlm_type' in local_var_params: header_params['Dlm-Type'] = local_var_params['dlm_type'] - if 'x_return_publish_messages' in local_var_params: - header_params['x-return-publish-messages'] = local_var_params['x_return_publish_messages'] form_params = {} @@ -20193,31 +20551,171 @@ def _list_apis_http_info(cls, request): return http_info - def list_instance_list(self, request): - """查看API不同操作对应的实例信息 + def export_data_service_zip(self, request): + """全量导出包含API的excel压缩文件 - 查看API不同操作对应的实例信息 + 全量导出包含API的excel压缩文件。 Please refer to HUAWEI cloud API Explorer for details. - :param request: Request instance for ListInstanceList - :type request: :class:`huaweicloudsdkdataartsstudio.v1.ListInstanceListRequest` - :rtype: :class:`huaweicloudsdkdataartsstudio.v1.ListInstanceListResponse` + :param request: Request instance for ExportDataServiceZip + :type request: :class:`huaweicloudsdkdataartsstudio.v1.ExportDataServiceZipRequest` + :rtype: :class:`huaweicloudsdkdataartsstudio.v1.ExportDataServiceZipResponse` """ - http_info = self._list_instance_list_http_info(request) + http_info = self._export_data_service_zip_http_info(request) return self._call_api(**http_info) - def list_instance_list_invoker(self, request): - http_info = self._list_instance_list_http_info(request) + def export_data_service_zip_invoker(self, request): + http_info = self._export_data_service_zip_http_info(request) return SyncInvoker(self, http_info) @classmethod - def _list_instance_list_http_info(cls, request): + def _export_data_service_zip_http_info(cls, request): + http_info = { + "method": "POST", + "resource_path": "/v1/{project_id}/service/export/zip", + "request_type": request.__class__.__name__, + "response_type": "ExportDataServiceZipResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + if 'workspace' in local_var_params: + header_params['workspace'] = local_var_params['workspace'] + if 'dlm_type' in local_var_params: + header_params['Dlm-Type'] = local_var_params['dlm_type'] + + 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 import_data_service_excel(self, request): + """导入包含API信息的excel文件 + + 导入包含API信息的excel文件。 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for ImportDataServiceExcel + :type request: :class:`huaweicloudsdkdataartsstudio.v1.ImportDataServiceExcelRequest` + :rtype: :class:`huaweicloudsdkdataartsstudio.v1.ImportDataServiceExcelResponse` + """ + http_info = self._import_data_service_excel_http_info(request) + return self._call_api(**http_info) + + def import_data_service_excel_invoker(self, request): + http_info = self._import_data_service_excel_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _import_data_service_excel_http_info(cls, request): + http_info = { + "method": "POST", + "resource_path": "/v1/{project_id}/service/import/excel", + "request_type": request.__class__.__name__, + "response_type": "ImportDataServiceExcelResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + if 'workspace' in local_var_params: + header_params['workspace'] = local_var_params['workspace'] + if 'dlm_type' in local_var_params: + header_params['Dlm-Type'] = local_var_params['dlm_type'] + + form_params = {} + if 'file' in local_var_params: + form_params['file'] = local_var_params['file'] + + 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( + ['multipart/form-data']) + + 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_apis(self, request): + """查询API列表 + + 查询API列表。 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for ListApis + :type request: :class:`huaweicloudsdkdataartsstudio.v1.ListApisRequest` + :rtype: :class:`huaweicloudsdkdataartsstudio.v1.ListApisResponse` + """ + http_info = self._list_apis_http_info(request) + return self._call_api(**http_info) + + def list_apis_invoker(self, request): + http_info = self._list_apis_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _list_apis_http_info(cls, request): http_info = { "method": "GET", - "resource_path": "/v1/{project_id}/service/apis/{api_id}/instances", + "resource_path": "/v1/{project_id}/service/apis", "request_type": request.__class__.__name__, - "response_type": "ListInstanceListResponse" + "response_type": "ListApisResponse" } local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} @@ -20227,30 +20725,39 @@ def _list_instance_list_http_info(cls, request): collection_formats = {} path_params = {} - if 'api_id' in local_var_params: - path_params['api_id'] = local_var_params['api_id'] query_params = [] - if 'action' in local_var_params: - query_params.append(('action', local_var_params['action'])) - if 'show_all' in local_var_params: - query_params.append(('show_all', local_var_params['show_all'])) - if 'check_status' in local_var_params: - query_params.append(('check_status', local_var_params['check_status'])) - if 'check_debug' in local_var_params: - query_params.append(('check_debug', local_var_params['check_debug'])) - if 'app_id' in local_var_params: - query_params.append(('app_id', local_var_params['app_id'])) - if 'limit' in local_var_params: - query_params.append(('limit', local_var_params['limit'])) if 'offset' in local_var_params: query_params.append(('offset', local_var_params['offset'])) + if 'limit' in local_var_params: + query_params.append(('limit', local_var_params['limit'])) + if 'name' in local_var_params: + query_params.append(('name', local_var_params['name'])) + if 'description' in local_var_params: + query_params.append(('description', local_var_params['description'])) + if 'create_user' in local_var_params: + query_params.append(('create_user', local_var_params['create_user'])) + 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 'tags' in local_var_params: + query_params.append(('tags', local_var_params['tags'])) + collection_formats['tags'] = 'csv' + if 'api_type' in local_var_params: + query_params.append(('api_type', local_var_params['api_type'])) + if 'publish_status' in local_var_params: + query_params.append(('publish_status', local_var_params['publish_status'])) + if 'table_name' in local_var_params: + query_params.append(('table_name', local_var_params['table_name'])) header_params = {} if 'workspace' in local_var_params: header_params['workspace'] = local_var_params['workspace'] if 'dlm_type' in local_var_params: header_params['Dlm-Type'] = local_var_params['dlm_type'] + if 'x_return_publish_messages' in local_var_params: + header_params['x-return-publish-messages'] = local_var_params['x_return_publish_messages'] form_params = {} @@ -20276,31 +20783,31 @@ def _list_instance_list_http_info(cls, request): return http_info - def publish_api(self, request): - """发布/下线/停用/恢复API + def list_instance_list(self, request): + """查看API不同操作对应的实例信息(专享版) - 发布/下线/停用/恢复API + 查看API不同操作对应的实例信息。 Please refer to HUAWEI cloud API Explorer for details. - :param request: Request instance for PublishApi - :type request: :class:`huaweicloudsdkdataartsstudio.v1.PublishApiRequest` - :rtype: :class:`huaweicloudsdkdataartsstudio.v1.PublishApiResponse` + :param request: Request instance for ListInstanceList + :type request: :class:`huaweicloudsdkdataartsstudio.v1.ListInstanceListRequest` + :rtype: :class:`huaweicloudsdkdataartsstudio.v1.ListInstanceListResponse` """ - http_info = self._publish_api_http_info(request) + http_info = self._list_instance_list_http_info(request) return self._call_api(**http_info) - def publish_api_invoker(self, request): - http_info = self._publish_api_http_info(request) + def list_instance_list_invoker(self, request): + http_info = self._list_instance_list_http_info(request) return SyncInvoker(self, http_info) @classmethod - def _publish_api_http_info(cls, request): + def _list_instance_list_http_info(cls, request): http_info = { - "method": "POST", - "resource_path": "/v1/{project_id}/service/apis/publish", + "method": "GET", + "resource_path": "/v1/{project_id}/service/apis/{api_id}/instances", "request_type": request.__class__.__name__, - "response_type": "PublishApiResponse" + "response_type": "ListInstanceListResponse" } local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} @@ -20310,8 +20817,24 @@ def _publish_api_http_info(cls, request): collection_formats = {} path_params = {} + if 'api_id' in local_var_params: + path_params['api_id'] = local_var_params['api_id'] query_params = [] + if 'action' in local_var_params: + query_params.append(('action', local_var_params['action'])) + if 'show_all' in local_var_params: + query_params.append(('show_all', local_var_params['show_all'])) + if 'check_status' in local_var_params: + query_params.append(('check_status', local_var_params['check_status'])) + if 'check_debug' in local_var_params: + query_params.append(('check_debug', local_var_params['check_debug'])) + if 'app_id' in local_var_params: + query_params.append(('app_id', local_var_params['app_id'])) + if 'limit' in local_var_params: + query_params.append(('limit', local_var_params['limit'])) + if 'offset' in local_var_params: + query_params.append(('offset', local_var_params['offset'])) header_params = {} if 'workspace' in local_var_params: @@ -20322,8 +20845,6 @@ def _publish_api_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() @@ -20348,7 +20869,10 @@ def _publish_api_http_info(cls, request): def publish_api_to_instance(self, request): """发布API - 发布API + 发布API。API只有发布后,才能够被调用。API发布时,可以将API发送至指定网关。 + - 共享版,必须发送至API网关共享版。 + - 专享版,可以依据自身需要,选择将API发送至API网关专享版、ROMA-APIC、或不发布网关。 + > 发布请求的发起者若非审核人,需要API的审核人完成申请的审核。 Please refer to HUAWEI cloud API Explorer for details. @@ -20419,9 +20943,9 @@ def _publish_api_to_instance_http_info(cls, request): return http_info def search_debug_info(self, request): - """查看API调试信息 + """查看API调试信息(专享版) - 查看API调试信息 + 查看API在不同集群上的调试信息。 Please refer to HUAWEI cloud API Explorer for details. @@ -20492,9 +21016,10 @@ def _search_debug_info_http_info(cls, request): return http_info def search_publish_info(self, request): - """查看API发布信息 + """查看API发布信息(专享版) - 查看API发布信息 + 查看API在不同集群上的发布信息。 + API在集群上进行过操作后会存在发布信息,例如调试、注册类发布等。 Please refer to HUAWEI cloud API Explorer for details. @@ -20567,7 +21092,7 @@ def _search_publish_info_http_info(cls, request): def show_api(self, request): """查询API信息 - 查询API信息 + 查询API信息。 Please refer to HUAWEI cloud API Explorer for details. @@ -20636,7 +21161,7 @@ def _show_api_http_info(cls, request): def update_api(self, request): """更新API - 更新API + 更新API。 Please refer to HUAWEI cloud API Explorer for details. diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/__init__.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/__init__.py index ec420a6486..5d44c422de 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/__init__.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/__init__.py @@ -24,6 +24,7 @@ from huaweicloudsdkdataartsstudio.v1.model.api_overview import ApiOverview from huaweicloudsdkdataartsstudio.v1.model.api_para_for_auth_to_instance import ApiParaForAuthToInstance from huaweicloudsdkdataartsstudio.v1.model.api_para_for_authorize_to_instance import ApiParaForAuthorizeToInstance +from huaweicloudsdkdataartsstudio.v1.model.api_param import ApiParam from huaweicloudsdkdataartsstudio.v1.model.api_publish_dto import ApiPublishDTO from huaweicloudsdkdataartsstudio.v1.model.api_request_para import ApiRequestPara from huaweicloudsdkdataartsstudio.v1.model.api_response_para import ApiResponsePara @@ -103,6 +104,8 @@ from huaweicloudsdkdataartsstudio.v1.model.batch_publish_response import BatchPublishResponse from huaweicloudsdkdataartsstudio.v1.model.batch_sync_metadata_request import BatchSyncMetadataRequest from huaweicloudsdkdataartsstudio.v1.model.batch_sync_metadata_response import BatchSyncMetadataResponse +from huaweicloudsdkdataartsstudio.v1.model.batch_update_security_dlf_data_ware_houses_request import BatchUpdateSecurityDlfDataWareHousesRequest +from huaweicloudsdkdataartsstudio.v1.model.batch_update_security_dlf_data_ware_houses_response import BatchUpdateSecurityDlfDataWareHousesResponse from huaweicloudsdkdataartsstudio.v1.model.behavior_rest_body import BehaviorRestBody from huaweicloudsdkdataartsstudio.v1.model.biz_catalog_vo import BizCatalogVO from huaweicloudsdkdataartsstudio.v1.model.biz_info_vo import BizInfoVO @@ -246,6 +249,8 @@ from huaweicloudsdkdataartsstudio.v1.model.data_source import DataSource from huaweicloudsdkdataartsstudio.v1.model.data_type import DataType from huaweicloudsdkdataartsstudio.v1.model.data_type_domain_enum import DataTypeDomainEnum +from huaweicloudsdkdataartsstudio.v1.model.data_ware_house_dto import DataWareHouseDTO +from huaweicloudsdkdataartsstudio.v1.model.data_ware_house_dto_dw_config import DataWareHouseDTODwConfig from huaweicloudsdkdataartsstudio.v1.model.database import Database from huaweicloudsdkdataartsstudio.v1.model.databases_list import DatabasesList from huaweicloudsdkdataartsstudio.v1.model.datasource_config import DatasourceConfig @@ -254,6 +259,8 @@ from huaweicloudsdkdataartsstudio.v1.model.debug_api_response import DebugApiResponse from huaweicloudsdkdataartsstudio.v1.model.debug_dataconnection_request import DebugDataconnectionRequest from huaweicloudsdkdataartsstudio.v1.model.debug_dataconnection_response import DebugDataconnectionResponse +from huaweicloudsdkdataartsstudio.v1.model.debug_security_dlf_data_ware_houses_request import DebugSecurityDlfDataWareHousesRequest +from huaweicloudsdkdataartsstudio.v1.model.debug_security_dlf_data_ware_houses_response import DebugSecurityDlfDataWareHousesResponse from huaweicloudsdkdataartsstudio.v1.model.delete_api_request import DeleteApiRequest from huaweicloudsdkdataartsstudio.v1.model.delete_api_response import DeleteApiResponse from huaweicloudsdkdataartsstudio.v1.model.delete_app_request import DeleteAppRequest @@ -335,6 +342,12 @@ from huaweicloudsdkdataartsstudio.v1.model.execute_api_to_instance_response import ExecuteApiToInstanceResponse from huaweicloudsdkdataartsstudio.v1.model.execute_task_action_request import ExecuteTaskActionRequest from huaweicloudsdkdataartsstudio.v1.model.execute_task_action_response import ExecuteTaskActionResponse +from huaweicloudsdkdataartsstudio.v1.model.export_data_service_excel_request import ExportDataServiceExcelRequest +from huaweicloudsdkdataartsstudio.v1.model.export_data_service_excel_response import ExportDataServiceExcelResponse +from huaweicloudsdkdataartsstudio.v1.model.export_data_service_excel_template_request import ExportDataServiceExcelTemplateRequest +from huaweicloudsdkdataartsstudio.v1.model.export_data_service_excel_template_response import ExportDataServiceExcelTemplateResponse +from huaweicloudsdkdataartsstudio.v1.model.export_data_service_zip_request import ExportDataServiceZipRequest +from huaweicloudsdkdataartsstudio.v1.model.export_data_service_zip_response import ExportDataServiceZipResponse from huaweicloudsdkdataartsstudio.v1.model.export_design_model_table_ddl_result_data import ExportDesignModelTableDDLResultData from huaweicloudsdkdataartsstudio.v1.model.export_design_model_table_ddl_request import ExportDesignModelTableDdlRequest from huaweicloudsdkdataartsstudio.v1.model.export_design_model_table_ddl_response import ExportDesignModelTableDdlResponse @@ -344,6 +357,9 @@ from huaweicloudsdkdataartsstudio.v1.model.export_design_result_request import ExportDesignResultRequest from huaweicloudsdkdataartsstudio.v1.model.export_design_result_response import ExportDesignResultResponse from huaweicloudsdkdataartsstudio.v1.model.export_param import ExportParam +from huaweicloudsdkdataartsstudio.v1.model.fgac_single_update_req import FgacSingleUpdateReq +from huaweicloudsdkdataartsstudio.v1.model.fgac_update_req import FgacUpdateReq +from huaweicloudsdkdataartsstudio.v1.model.fgac_update_result import FgacUpdateResult from huaweicloudsdkdataartsstudio.v1.model.filter_criteria import FilterCriteria from huaweicloudsdkdataartsstudio.v1.model.gateway_dto import GatewayDTO from huaweicloudsdkdataartsstudio.v1.model.glossary_info import GlossaryInfo @@ -353,6 +369,9 @@ from huaweicloudsdkdataartsstudio.v1.model.import_catalogs_request import ImportCatalogsRequest from huaweicloudsdkdataartsstudio.v1.model.import_catalogs_request_body import ImportCatalogsRequestBody from huaweicloudsdkdataartsstudio.v1.model.import_catalogs_response import ImportCatalogsResponse +from huaweicloudsdkdataartsstudio.v1.model.import_data_service_excel_request import ImportDataServiceExcelRequest +from huaweicloudsdkdataartsstudio.v1.model.import_data_service_excel_request_body import ImportDataServiceExcelRequestBody +from huaweicloudsdkdataartsstudio.v1.model.import_data_service_excel_response import ImportDataServiceExcelResponse from huaweicloudsdkdataartsstudio.v1.model.import_lineage_request import ImportLineageRequest from huaweicloudsdkdataartsstudio.v1.model.import_lineage_response import ImportLineageResponse from huaweicloudsdkdataartsstudio.v1.model.import_models_request import ImportModelsRequest @@ -499,6 +518,8 @@ from huaweicloudsdkdataartsstudio.v1.model.list_security_datasource_configurations_response import ListSecurityDatasourceConfigurationsResponse from huaweicloudsdkdataartsstudio.v1.model.list_security_datasource_urls_request import ListSecurityDatasourceUrlsRequest from huaweicloudsdkdataartsstudio.v1.model.list_security_datasource_urls_response import ListSecurityDatasourceUrlsResponse +from huaweicloudsdkdataartsstudio.v1.model.list_security_dlf_data_ware_houses_request import ListSecurityDlfDataWareHousesRequest +from huaweicloudsdkdataartsstudio.v1.model.list_security_dlf_data_ware_houses_response import ListSecurityDlfDataWareHousesResponse from huaweicloudsdkdataartsstudio.v1.model.list_security_permission_set_members_request import ListSecurityPermissionSetMembersRequest from huaweicloudsdkdataartsstudio.v1.model.list_security_permission_set_members_response import ListSecurityPermissionSetMembersResponse from huaweicloudsdkdataartsstudio.v1.model.list_security_permission_set_permissions_request import ListSecurityPermissionSetPermissionsRequest @@ -509,6 +530,8 @@ from huaweicloudsdkdataartsstudio.v1.model.list_security_role_actions_response import ListSecurityRoleActionsResponse from huaweicloudsdkdataartsstudio.v1.model.list_security_secrecy_levels_request import ListSecuritySecrecyLevelsRequest from huaweicloudsdkdataartsstudio.v1.model.list_security_secrecy_levels_response import ListSecuritySecrecyLevelsResponse +from huaweicloudsdkdataartsstudio.v1.model.list_security_sensitive_data_overviews_request import ListSecuritySensitiveDataOverviewsRequest +from huaweicloudsdkdataartsstudio.v1.model.list_security_sensitive_data_overviews_response import ListSecuritySensitiveDataOverviewsResponse from huaweicloudsdkdataartsstudio.v1.model.list_subject_levels_request import ListSubjectLevelsRequest from huaweicloudsdkdataartsstudio.v1.model.list_subject_levels_response import ListSubjectLevelsResponse from huaweicloudsdkdataartsstudio.v1.model.list_table_model_relations_request import ListTableModelRelationsRequest @@ -543,7 +566,6 @@ from huaweicloudsdkdataartsstudio.v1.model.object_id_info import ObjectIdInfo from huaweicloudsdkdataartsstudio.v1.model.obs_folder import ObsFolder from huaweicloudsdkdataartsstudio.v1.model.open_api_para_for_check_message import OpenApiParaForCheckMessage -from huaweicloudsdkdataartsstudio.v1.model.open_api_para_for_publish import OpenApiParaForPublish from huaweicloudsdkdataartsstudio.v1.model.open_apply_ids_for_approve_apply import OpenApplyIdsForApproveApply from huaweicloudsdkdataartsstudio.v1.model.open_bulk_classifications import OpenBulkClassifications from huaweicloudsdkdataartsstudio.v1.model.open_classification import OpenClassification @@ -567,8 +589,6 @@ from huaweicloudsdkdataartsstudio.v1.model.permission_set_permission_create_dto import PermissionSetPermissionCreateDTO from huaweicloudsdkdataartsstudio.v1.model.permission_set_permission_update_dto import PermissionSetPermissionUpdateDTO from huaweicloudsdkdataartsstudio.v1.model.profile_info import ProfileInfo -from huaweicloudsdkdataartsstudio.v1.model.publish_api_request import PublishApiRequest -from huaweicloudsdkdataartsstudio.v1.model.publish_api_response import PublishApiResponse from huaweicloudsdkdataartsstudio.v1.model.publish_api_to_instance_request import PublishApiToInstanceRequest from huaweicloudsdkdataartsstudio.v1.model.publish_api_to_instance_response import PublishApiToInstanceResponse from huaweicloudsdkdataartsstudio.v1.model.publish_version_vo import PublishVersionVO @@ -641,6 +661,8 @@ from huaweicloudsdkdataartsstudio.v1.model.search_versions_response import SearchVersionsResponse from huaweicloudsdkdataartsstudio.v1.model.secrecy_level import SecrecyLevel from huaweicloudsdkdataartsstudio.v1.model.self_defined_field_vo import SelfDefinedFieldVO +from huaweicloudsdkdataartsstudio.v1.model.sensitive_data_category_overview_query_dto import SensitiveDataCategoryOverviewQueryDTO +from huaweicloudsdkdataartsstudio.v1.model.sensitive_data_secrecy_level_overview_query_dto import SensitiveDataSecrecyLevelOverviewQueryDTO from huaweicloudsdkdataartsstudio.v1.model.set_factory_job_tags_request import SetFactoryJobTagsRequest from huaweicloudsdkdataartsstudio.v1.model.set_factory_job_tags_response import SetFactoryJobTagsResponse from huaweicloudsdkdataartsstudio.v1.model.set_job_tags_request_body import SetJobTagsRequestBody diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/api_param.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/api_param.py new file mode 100644 index 0000000000..2e02213632 --- /dev/null +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/api_param.py @@ -0,0 +1,347 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ApiParam: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the 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', + 'create_user': 'str', + 'description': 'str', + 'tags': 'list[str]', + 'table_name': 'str', + 'publish_status_type': 'str', + 'api_specific_type_str': 'str', + 'start_time': 'str', + 'end_time': 'str' + } + + attribute_map = { + 'name': 'name', + 'create_user': 'create_user', + 'description': 'description', + 'tags': 'tags', + 'table_name': 'table_name', + 'publish_status_type': 'publish_status_type', + 'api_specific_type_str': 'api_specific_type_str', + 'start_time': 'start_time', + 'end_time': 'end_time' + } + + def __init__(self, name=None, create_user=None, description=None, tags=None, table_name=None, publish_status_type=None, api_specific_type_str=None, start_time=None, end_time=None): + """ApiParam + + The model defined in huaweicloud sdk + + :param name: API名称。 + :type name: str + :param create_user: API创建人名称。 + :type create_user: str + :param description: API描述。 + :type description: str + :param tags: API标签列表。 + :type tags: list[str] + :param table_name: API所使用到的数据库表名。 + :type table_name: str + :param publish_status_type: API发布状态。 + :type publish_status_type: str + :param api_specific_type_str: API取数方式。 + :type api_specific_type_str: str + :param start_time: API创建开始时间。 + :type start_time: str + :param end_time: API创建结束时间。 + :type end_time: str + """ + + + + self._name = None + self._create_user = None + self._description = None + self._tags = None + self._table_name = None + self._publish_status_type = None + self._api_specific_type_str = None + self._start_time = None + self._end_time = None + self.discriminator = None + + if name is not None: + self.name = name + if create_user is not None: + self.create_user = create_user + if description is not None: + self.description = description + if tags is not None: + self.tags = tags + if table_name is not None: + self.table_name = table_name + if publish_status_type is not None: + self.publish_status_type = publish_status_type + if api_specific_type_str is not None: + self.api_specific_type_str = api_specific_type_str + if start_time is not None: + self.start_time = start_time + if end_time is not None: + self.end_time = end_time + + @property + def name(self): + """Gets the name of this ApiParam. + + API名称。 + + :return: The name of this ApiParam. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this ApiParam. + + API名称。 + + :param name: The name of this ApiParam. + :type name: str + """ + self._name = name + + @property + def create_user(self): + """Gets the create_user of this ApiParam. + + API创建人名称。 + + :return: The create_user of this ApiParam. + :rtype: str + """ + return self._create_user + + @create_user.setter + def create_user(self, create_user): + """Sets the create_user of this ApiParam. + + API创建人名称。 + + :param create_user: The create_user of this ApiParam. + :type create_user: str + """ + self._create_user = create_user + + @property + def description(self): + """Gets the description of this ApiParam. + + API描述。 + + :return: The description of this ApiParam. + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this ApiParam. + + API描述。 + + :param description: The description of this ApiParam. + :type description: str + """ + self._description = description + + @property + def tags(self): + """Gets the tags of this ApiParam. + + API标签列表。 + + :return: The tags of this ApiParam. + :rtype: list[str] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this ApiParam. + + API标签列表。 + + :param tags: The tags of this ApiParam. + :type tags: list[str] + """ + self._tags = tags + + @property + def table_name(self): + """Gets the table_name of this ApiParam. + + API所使用到的数据库表名。 + + :return: The table_name of this ApiParam. + :rtype: str + """ + return self._table_name + + @table_name.setter + def table_name(self, table_name): + """Sets the table_name of this ApiParam. + + API所使用到的数据库表名。 + + :param table_name: The table_name of this ApiParam. + :type table_name: str + """ + self._table_name = table_name + + @property + def publish_status_type(self): + """Gets the publish_status_type of this ApiParam. + + API发布状态。 + + :return: The publish_status_type of this ApiParam. + :rtype: str + """ + return self._publish_status_type + + @publish_status_type.setter + def publish_status_type(self, publish_status_type): + """Sets the publish_status_type of this ApiParam. + + API发布状态。 + + :param publish_status_type: The publish_status_type of this ApiParam. + :type publish_status_type: str + """ + self._publish_status_type = publish_status_type + + @property + def api_specific_type_str(self): + """Gets the api_specific_type_str of this ApiParam. + + API取数方式。 + + :return: The api_specific_type_str of this ApiParam. + :rtype: str + """ + return self._api_specific_type_str + + @api_specific_type_str.setter + def api_specific_type_str(self, api_specific_type_str): + """Sets the api_specific_type_str of this ApiParam. + + API取数方式。 + + :param api_specific_type_str: The api_specific_type_str of this ApiParam. + :type api_specific_type_str: str + """ + self._api_specific_type_str = api_specific_type_str + + @property + def start_time(self): + """Gets the start_time of this ApiParam. + + API创建开始时间。 + + :return: The start_time of this ApiParam. + :rtype: str + """ + return self._start_time + + @start_time.setter + def start_time(self, start_time): + """Sets the start_time of this ApiParam. + + API创建开始时间。 + + :param start_time: The start_time of this ApiParam. + :type start_time: str + """ + self._start_time = start_time + + @property + def end_time(self): + """Gets the end_time of this ApiParam. + + API创建结束时间。 + + :return: The end_time of this ApiParam. + :rtype: str + """ + return self._end_time + + @end_time.setter + def end_time(self, end_time): + """Sets the end_time of this ApiParam. + + API创建结束时间。 + + :param end_time: The end_time of this ApiParam. + :type end_time: str + """ + self._end_time = end_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, ApiParam): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/authorize_action_api_to_instance_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/authorize_action_api_to_instance_request.py index 8addd9c80d..b46f4ee739 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/authorize_action_api_to_instance_request.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/authorize_action_api_to_instance_request.py @@ -33,9 +33,9 @@ def __init__(self, workspace=None, dlm_type=None, body=None): The model defined in huaweicloud sdk - :param workspace: 工作空间id + :param workspace: 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :type workspace: str - :param dlm_type: dlm版本类型 + :param dlm_type: 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :type dlm_type: str :param body: Body of the AuthorizeActionApiToInstanceRequest :type body: :class:`huaweicloudsdkdataartsstudio.v1.ApiParaForAuthToInstance` @@ -58,7 +58,7 @@ def __init__(self, workspace=None, dlm_type=None, body=None): def workspace(self): """Gets the workspace of this AuthorizeActionApiToInstanceRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :return: The workspace of this AuthorizeActionApiToInstanceRequest. :rtype: str @@ -69,7 +69,7 @@ def workspace(self): def workspace(self, workspace): """Sets the workspace of this AuthorizeActionApiToInstanceRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :param workspace: The workspace of this AuthorizeActionApiToInstanceRequest. :type workspace: str @@ -80,7 +80,7 @@ def workspace(self, workspace): def dlm_type(self): """Gets the dlm_type of this AuthorizeActionApiToInstanceRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :return: The dlm_type of this AuthorizeActionApiToInstanceRequest. :rtype: str @@ -91,7 +91,7 @@ def dlm_type(self): def dlm_type(self, dlm_type): """Sets the dlm_type of this AuthorizeActionApiToInstanceRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :param dlm_type: The dlm_type of this AuthorizeActionApiToInstanceRequest. :type dlm_type: str diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/authorize_api_to_instance_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/authorize_api_to_instance_request.py index b6832e82e0..9e3ae3eb3d 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/authorize_api_to_instance_request.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/authorize_api_to_instance_request.py @@ -37,13 +37,13 @@ def __init__(self, workspace=None, dlm_type=None, api_id=None, instance_id=None, The model defined in huaweicloud sdk - :param workspace: 工作空间id + :param workspace: 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :type workspace: str - :param dlm_type: dlm版本类型 + :param dlm_type: 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :type dlm_type: str - :param api_id: api编号 + :param api_id: api编号。 :type api_id: str - :param instance_id: 集群编号 + :param instance_id: 集群编号。 :type instance_id: str :param body: Body of the AuthorizeApiToInstanceRequest :type body: :class:`huaweicloudsdkdataartsstudio.v1.ApiParaForAuthorizeToInstance` @@ -70,7 +70,7 @@ def __init__(self, workspace=None, dlm_type=None, api_id=None, instance_id=None, def workspace(self): """Gets the workspace of this AuthorizeApiToInstanceRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :return: The workspace of this AuthorizeApiToInstanceRequest. :rtype: str @@ -81,7 +81,7 @@ def workspace(self): def workspace(self, workspace): """Sets the workspace of this AuthorizeApiToInstanceRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :param workspace: The workspace of this AuthorizeApiToInstanceRequest. :type workspace: str @@ -92,7 +92,7 @@ def workspace(self, workspace): def dlm_type(self): """Gets the dlm_type of this AuthorizeApiToInstanceRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :return: The dlm_type of this AuthorizeApiToInstanceRequest. :rtype: str @@ -103,7 +103,7 @@ def dlm_type(self): def dlm_type(self, dlm_type): """Sets the dlm_type of this AuthorizeApiToInstanceRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :param dlm_type: The dlm_type of this AuthorizeApiToInstanceRequest. :type dlm_type: str @@ -114,7 +114,7 @@ def dlm_type(self, dlm_type): def api_id(self): """Gets the api_id of this AuthorizeApiToInstanceRequest. - api编号 + api编号。 :return: The api_id of this AuthorizeApiToInstanceRequest. :rtype: str @@ -125,7 +125,7 @@ def api_id(self): def api_id(self, api_id): """Sets the api_id of this AuthorizeApiToInstanceRequest. - api编号 + api编号。 :param api_id: The api_id of this AuthorizeApiToInstanceRequest. :type api_id: str @@ -136,7 +136,7 @@ def api_id(self, api_id): def instance_id(self): """Gets the instance_id of this AuthorizeApiToInstanceRequest. - 集群编号 + 集群编号。 :return: The instance_id of this AuthorizeApiToInstanceRequest. :rtype: str @@ -147,7 +147,7 @@ def instance_id(self): def instance_id(self, instance_id): """Sets the instance_id of this AuthorizeApiToInstanceRequest. - 集群编号 + 集群编号。 :param instance_id: The instance_id of this AuthorizeApiToInstanceRequest. :type instance_id: str diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/batch_approve_apply_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/batch_approve_apply_request.py index c0c9f458e2..f6800779cb 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/batch_approve_apply_request.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/batch_approve_apply_request.py @@ -33,9 +33,9 @@ def __init__(self, workspace=None, dlm_type=None, body=None): The model defined in huaweicloud sdk - :param workspace: 工作空间id + :param workspace: 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :type workspace: str - :param dlm_type: dlm版本类型 + :param dlm_type: 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :type dlm_type: str :param body: Body of the BatchApproveApplyRequest :type body: :class:`huaweicloudsdkdataartsstudio.v1.OpenApplyIdsForApproveApply` @@ -58,7 +58,7 @@ def __init__(self, workspace=None, dlm_type=None, body=None): def workspace(self): """Gets the workspace of this BatchApproveApplyRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :return: The workspace of this BatchApproveApplyRequest. :rtype: str @@ -69,7 +69,7 @@ def workspace(self): def workspace(self, workspace): """Sets the workspace of this BatchApproveApplyRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :param workspace: The workspace of this BatchApproveApplyRequest. :type workspace: str @@ -80,7 +80,7 @@ def workspace(self, workspace): def dlm_type(self): """Gets the dlm_type of this BatchApproveApplyRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :return: The dlm_type of this BatchApproveApplyRequest. :rtype: str @@ -91,7 +91,7 @@ def dlm_type(self): def dlm_type(self, dlm_type): """Sets the dlm_type of this BatchApproveApplyRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :param dlm_type: The dlm_type of this BatchApproveApplyRequest. :type dlm_type: str diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/batch_update_security_dlf_data_ware_houses_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/batch_update_security_dlf_data_ware_houses_request.py new file mode 100644 index 0000000000..b7edb907cb --- /dev/null +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/batch_update_security_dlf_data_ware_houses_request.py @@ -0,0 +1,139 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class BatchUpdateSecurityDlfDataWareHousesRequest: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'workspace': 'str', + 'body': 'FgacUpdateReq' + } + + attribute_map = { + 'workspace': 'workspace', + 'body': 'body' + } + + def __init__(self, workspace=None, body=None): + """BatchUpdateSecurityDlfDataWareHousesRequest + + The model defined in huaweicloud sdk + + :param workspace: DataArts Studio工作空间ID + :type workspace: str + :param body: Body of the BatchUpdateSecurityDlfDataWareHousesRequest + :type body: :class:`huaweicloudsdkdataartsstudio.v1.FgacUpdateReq` + """ + + + + self._workspace = None + self._body = None + self.discriminator = None + + self.workspace = workspace + if body is not None: + self.body = body + + @property + def workspace(self): + """Gets the workspace of this BatchUpdateSecurityDlfDataWareHousesRequest. + + DataArts Studio工作空间ID + + :return: The workspace of this BatchUpdateSecurityDlfDataWareHousesRequest. + :rtype: str + """ + return self._workspace + + @workspace.setter + def workspace(self, workspace): + """Sets the workspace of this BatchUpdateSecurityDlfDataWareHousesRequest. + + DataArts Studio工作空间ID + + :param workspace: The workspace of this BatchUpdateSecurityDlfDataWareHousesRequest. + :type workspace: str + """ + self._workspace = workspace + + @property + def body(self): + """Gets the body of this BatchUpdateSecurityDlfDataWareHousesRequest. + + :return: The body of this BatchUpdateSecurityDlfDataWareHousesRequest. + :rtype: :class:`huaweicloudsdkdataartsstudio.v1.FgacUpdateReq` + """ + return self._body + + @body.setter + def body(self, body): + """Sets the body of this BatchUpdateSecurityDlfDataWareHousesRequest. + + :param body: The body of this BatchUpdateSecurityDlfDataWareHousesRequest. + :type body: :class:`huaweicloudsdkdataartsstudio.v1.FgacUpdateReq` + """ + 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, BatchUpdateSecurityDlfDataWareHousesRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/batch_update_security_dlf_data_ware_houses_response.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/batch_update_security_dlf_data_ware_houses_response.py new file mode 100644 index 0000000000..dc0fbdf750 --- /dev/null +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/batch_update_security_dlf_data_ware_houses_response.py @@ -0,0 +1,116 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_response import SdkResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class BatchUpdateSecurityDlfDataWareHousesResponse(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 = { + 'results': 'list[FgacUpdateResult]' + } + + attribute_map = { + 'results': 'results' + } + + def __init__(self, results=None): + """BatchUpdateSecurityDlfDataWareHousesResponse + + The model defined in huaweicloud sdk + + :param results: 细粒度认证更新结果 + :type results: list[:class:`huaweicloudsdkdataartsstudio.v1.FgacUpdateResult`] + """ + + super(BatchUpdateSecurityDlfDataWareHousesResponse, self).__init__() + + self._results = None + self.discriminator = None + + if results is not None: + self.results = results + + @property + def results(self): + """Gets the results of this BatchUpdateSecurityDlfDataWareHousesResponse. + + 细粒度认证更新结果 + + :return: The results of this BatchUpdateSecurityDlfDataWareHousesResponse. + :rtype: list[:class:`huaweicloudsdkdataartsstudio.v1.FgacUpdateResult`] + """ + return self._results + + @results.setter + def results(self, results): + """Sets the results of this BatchUpdateSecurityDlfDataWareHousesResponse. + + 细粒度认证更新结果 + + :param results: The results of this BatchUpdateSecurityDlfDataWareHousesResponse. + :type results: list[:class:`huaweicloudsdkdataartsstudio.v1.FgacUpdateResult`] + """ + self._results = results + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, BatchUpdateSecurityDlfDataWareHousesResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/confirm_message_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/confirm_message_request.py index e2284d186f..804f7cf1ee 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/confirm_message_request.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/confirm_message_request.py @@ -33,9 +33,9 @@ def __init__(self, workspace=None, dlm_type=None, body=None): The model defined in huaweicloud sdk - :param workspace: 工作空间id + :param workspace: 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :type workspace: str - :param dlm_type: dlm版本类型 + :param dlm_type: 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :type dlm_type: str :param body: Body of the ConfirmMessageRequest :type body: :class:`huaweicloudsdkdataartsstudio.v1.OpenApiParaForCheckMessage` @@ -58,7 +58,7 @@ def __init__(self, workspace=None, dlm_type=None, body=None): def workspace(self): """Gets the workspace of this ConfirmMessageRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :return: The workspace of this ConfirmMessageRequest. :rtype: str @@ -69,7 +69,7 @@ def workspace(self): def workspace(self, workspace): """Sets the workspace of this ConfirmMessageRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :param workspace: The workspace of this ConfirmMessageRequest. :type workspace: str @@ -80,7 +80,7 @@ def workspace(self, workspace): def dlm_type(self): """Gets the dlm_type of this ConfirmMessageRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :return: The dlm_type of this ConfirmMessageRequest. :rtype: str @@ -91,7 +91,7 @@ def dlm_type(self): def dlm_type(self, dlm_type): """Sets the dlm_type of this ConfirmMessageRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :param dlm_type: The dlm_type of this ConfirmMessageRequest. :type dlm_type: str diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/create_api_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/create_api_request.py index 6a0203529d..9224738f06 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/create_api_request.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/create_api_request.py @@ -33,9 +33,9 @@ def __init__(self, workspace=None, dlm_type=None, body=None): The model defined in huaweicloud sdk - :param workspace: 工作空间id + :param workspace: 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :type workspace: str - :param dlm_type: dlm版本类型 + :param dlm_type: 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :type dlm_type: str :param body: Body of the CreateApiRequest :type body: :class:`huaweicloudsdkdataartsstudio.v1.Api` @@ -58,7 +58,7 @@ def __init__(self, workspace=None, dlm_type=None, body=None): def workspace(self): """Gets the workspace of this CreateApiRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :return: The workspace of this CreateApiRequest. :rtype: str @@ -69,7 +69,7 @@ def workspace(self): def workspace(self, workspace): """Sets the workspace of this CreateApiRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :param workspace: The workspace of this CreateApiRequest. :type workspace: str @@ -80,7 +80,7 @@ def workspace(self, workspace): def dlm_type(self): """Gets the dlm_type of this CreateApiRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :return: The dlm_type of this CreateApiRequest. :rtype: str @@ -91,7 +91,7 @@ def dlm_type(self): def dlm_type(self, dlm_type): """Sets the dlm_type of this CreateApiRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :param dlm_type: The dlm_type of this CreateApiRequest. :type dlm_type: str diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/create_app_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/create_app_request.py index 22f856d3ac..eb645759f9 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/create_app_request.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/create_app_request.py @@ -33,9 +33,9 @@ def __init__(self, workspace=None, dlm_type=None, body=None): The model defined in huaweicloud sdk - :param workspace: 工作空间id + :param workspace: 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :type workspace: str - :param dlm_type: dlm版本类型 + :param dlm_type: 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :type dlm_type: str :param body: Body of the CreateAppRequest :type body: :class:`huaweicloudsdkdataartsstudio.v1.AppRequestDTO` @@ -58,7 +58,7 @@ def __init__(self, workspace=None, dlm_type=None, body=None): def workspace(self): """Gets the workspace of this CreateAppRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :return: The workspace of this CreateAppRequest. :rtype: str @@ -69,7 +69,7 @@ def workspace(self): def workspace(self, workspace): """Sets the workspace of this CreateAppRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :param workspace: The workspace of this CreateAppRequest. :type workspace: str @@ -80,7 +80,7 @@ def workspace(self, workspace): def dlm_type(self): """Gets the dlm_type of this CreateAppRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :return: The dlm_type of this CreateAppRequest. :rtype: str @@ -91,7 +91,7 @@ def dlm_type(self): def dlm_type(self, dlm_type): """Sets the dlm_type of this CreateAppRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :param dlm_type: The dlm_type of this CreateAppRequest. :type dlm_type: str diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/create_service_catalog_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/create_service_catalog_request.py index bd36dd1ff7..de1e04121f 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/create_service_catalog_request.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/create_service_catalog_request.py @@ -33,9 +33,9 @@ def __init__(self, workspace=None, dlm_type=None, body=None): The model defined in huaweicloud sdk - :param workspace: 工作空间id + :param workspace: 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :type workspace: str - :param dlm_type: dlm版本类型 + :param dlm_type: 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :type dlm_type: str :param body: Body of the CreateServiceCatalogRequest :type body: :class:`huaweicloudsdkdataartsstudio.v1.ApiCatalogCreateParaDTO` @@ -58,7 +58,7 @@ def __init__(self, workspace=None, dlm_type=None, body=None): def workspace(self): """Gets the workspace of this CreateServiceCatalogRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :return: The workspace of this CreateServiceCatalogRequest. :rtype: str @@ -69,7 +69,7 @@ def workspace(self): def workspace(self, workspace): """Sets the workspace of this CreateServiceCatalogRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :param workspace: The workspace of this CreateServiceCatalogRequest. :type workspace: str @@ -80,7 +80,7 @@ def workspace(self, workspace): def dlm_type(self): """Gets the dlm_type of this CreateServiceCatalogRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :return: The dlm_type of this CreateServiceCatalogRequest. :rtype: str @@ -91,7 +91,7 @@ def dlm_type(self): def dlm_type(self, dlm_type): """Sets the dlm_type of this CreateServiceCatalogRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :param dlm_type: The dlm_type of this CreateServiceCatalogRequest. :type dlm_type: str diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/data_ware_house_dto.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/data_ware_house_dto.py new file mode 100644 index 0000000000..1ec70c4747 --- /dev/null +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/data_ware_house_dto.py @@ -0,0 +1,198 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class DataWareHouseDTO: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'dw_id': 'str', + 'dw_name': 'str', + 'dw_type': 'str', + 'dw_config': 'DataWareHouseDTODwConfig' + } + + attribute_map = { + 'dw_id': 'dw_id', + 'dw_name': 'dw_name', + 'dw_type': 'dw_type', + 'dw_config': 'dw_config' + } + + def __init__(self, dw_id=None, dw_name=None, dw_type=None, dw_config=None): + """DataWareHouseDTO + + The model defined in huaweicloud sdk + + :param dw_id: 数据连接ID + :type dw_id: str + :param dw_name: 数据连接名称 + :type dw_name: str + :param dw_type: 数据连接类型: * HIVE数据源 * DWS数据源 * SPARK数据源 + :type dw_type: str + :param dw_config: + :type dw_config: :class:`huaweicloudsdkdataartsstudio.v1.DataWareHouseDTODwConfig` + """ + + + + self._dw_id = None + self._dw_name = None + self._dw_type = None + self._dw_config = None + self.discriminator = None + + if dw_id is not None: + self.dw_id = dw_id + if dw_name is not None: + self.dw_name = dw_name + if dw_type is not None: + self.dw_type = dw_type + if dw_config is not None: + self.dw_config = dw_config + + @property + def dw_id(self): + """Gets the dw_id of this DataWareHouseDTO. + + 数据连接ID + + :return: The dw_id of this DataWareHouseDTO. + :rtype: str + """ + return self._dw_id + + @dw_id.setter + def dw_id(self, dw_id): + """Sets the dw_id of this DataWareHouseDTO. + + 数据连接ID + + :param dw_id: The dw_id of this DataWareHouseDTO. + :type dw_id: str + """ + self._dw_id = dw_id + + @property + def dw_name(self): + """Gets the dw_name of this DataWareHouseDTO. + + 数据连接名称 + + :return: The dw_name of this DataWareHouseDTO. + :rtype: str + """ + return self._dw_name + + @dw_name.setter + def dw_name(self, dw_name): + """Sets the dw_name of this DataWareHouseDTO. + + 数据连接名称 + + :param dw_name: The dw_name of this DataWareHouseDTO. + :type dw_name: str + """ + self._dw_name = dw_name + + @property + def dw_type(self): + """Gets the dw_type of this DataWareHouseDTO. + + 数据连接类型: * HIVE数据源 * DWS数据源 * SPARK数据源 + + :return: The dw_type of this DataWareHouseDTO. + :rtype: str + """ + return self._dw_type + + @dw_type.setter + def dw_type(self, dw_type): + """Sets the dw_type of this DataWareHouseDTO. + + 数据连接类型: * HIVE数据源 * DWS数据源 * SPARK数据源 + + :param dw_type: The dw_type of this DataWareHouseDTO. + :type dw_type: str + """ + self._dw_type = dw_type + + @property + def dw_config(self): + """Gets the dw_config of this DataWareHouseDTO. + + :return: The dw_config of this DataWareHouseDTO. + :rtype: :class:`huaweicloudsdkdataartsstudio.v1.DataWareHouseDTODwConfig` + """ + return self._dw_config + + @dw_config.setter + def dw_config(self, dw_config): + """Sets the dw_config of this DataWareHouseDTO. + + :param dw_config: The dw_config of this DataWareHouseDTO. + :type dw_config: :class:`huaweicloudsdkdataartsstudio.v1.DataWareHouseDTODwConfig` + """ + self._dw_config = dw_config + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, DataWareHouseDTO): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/data_ware_house_dto_dw_config.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/data_ware_house_dto_dw_config.py new file mode 100644 index 0000000000..bf02aa60fd --- /dev/null +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/data_ware_house_dto_dw_config.py @@ -0,0 +1,231 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class DataWareHouseDTODwConfig: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'fgac_flag': 'bool', + 'fgac_type': 'str', + 'fgac_conn_status': 'str', + 'fgac_conn_test_time': 'int', + 'fgac_conn_test_error': 'str' + } + + attribute_map = { + 'fgac_flag': 'fgac_flag', + 'fgac_type': 'fgac_type', + 'fgac_conn_status': 'fgac_conn_status', + 'fgac_conn_test_time': 'fgac_conn_test_time', + 'fgac_conn_test_error': 'fgac_conn_test_error' + } + + def __init__(self, fgac_flag=None, fgac_type=None, fgac_conn_status=None, fgac_conn_test_time=None, fgac_conn_test_error=None): + """DataWareHouseDTODwConfig + + The model defined in huaweicloud sdk + + :param fgac_flag: 是否开启细粒度认证,true表示开启细粒度认证,false表示关闭细粒度认证。 + :type fgac_flag: bool + :param fgac_type: 细粒度认证类型,开启细粒度认证时才生效。\"0\"表示开发态细粒度认证,支持数据开发细粒度脚本运行、作业测试运行,\"1\"表示调度态细粒度认证,支持数据开发细粒度脚本运行、作业测试运行、作业执行调度。 + :type fgac_type: str + :param fgac_conn_status: 数据源连通性测试状态: * UNKNOWN - 连通性未测试 * TESTING - 连通性测试中 * SUCCESS - 连通性测试成功 * FAILED - 连通性测试失败 + :type fgac_conn_status: str + :param fgac_conn_test_time: 最近一次连通性测试时间 + :type fgac_conn_test_time: int + :param fgac_conn_test_error: 联通性测试失败信息,如果连通性测试成功或者未测试联通性,失败信息为空字符串 + :type fgac_conn_test_error: str + """ + + + + self._fgac_flag = None + self._fgac_type = None + self._fgac_conn_status = None + self._fgac_conn_test_time = None + self._fgac_conn_test_error = None + self.discriminator = None + + if fgac_flag is not None: + self.fgac_flag = fgac_flag + if fgac_type is not None: + self.fgac_type = fgac_type + if fgac_conn_status is not None: + self.fgac_conn_status = fgac_conn_status + if fgac_conn_test_time is not None: + self.fgac_conn_test_time = fgac_conn_test_time + if fgac_conn_test_error is not None: + self.fgac_conn_test_error = fgac_conn_test_error + + @property + def fgac_flag(self): + """Gets the fgac_flag of this DataWareHouseDTODwConfig. + + 是否开启细粒度认证,true表示开启细粒度认证,false表示关闭细粒度认证。 + + :return: The fgac_flag of this DataWareHouseDTODwConfig. + :rtype: bool + """ + return self._fgac_flag + + @fgac_flag.setter + def fgac_flag(self, fgac_flag): + """Sets the fgac_flag of this DataWareHouseDTODwConfig. + + 是否开启细粒度认证,true表示开启细粒度认证,false表示关闭细粒度认证。 + + :param fgac_flag: The fgac_flag of this DataWareHouseDTODwConfig. + :type fgac_flag: bool + """ + self._fgac_flag = fgac_flag + + @property + def fgac_type(self): + """Gets the fgac_type of this DataWareHouseDTODwConfig. + + 细粒度认证类型,开启细粒度认证时才生效。\"0\"表示开发态细粒度认证,支持数据开发细粒度脚本运行、作业测试运行,\"1\"表示调度态细粒度认证,支持数据开发细粒度脚本运行、作业测试运行、作业执行调度。 + + :return: The fgac_type of this DataWareHouseDTODwConfig. + :rtype: str + """ + return self._fgac_type + + @fgac_type.setter + def fgac_type(self, fgac_type): + """Sets the fgac_type of this DataWareHouseDTODwConfig. + + 细粒度认证类型,开启细粒度认证时才生效。\"0\"表示开发态细粒度认证,支持数据开发细粒度脚本运行、作业测试运行,\"1\"表示调度态细粒度认证,支持数据开发细粒度脚本运行、作业测试运行、作业执行调度。 + + :param fgac_type: The fgac_type of this DataWareHouseDTODwConfig. + :type fgac_type: str + """ + self._fgac_type = fgac_type + + @property + def fgac_conn_status(self): + """Gets the fgac_conn_status of this DataWareHouseDTODwConfig. + + 数据源连通性测试状态: * UNKNOWN - 连通性未测试 * TESTING - 连通性测试中 * SUCCESS - 连通性测试成功 * FAILED - 连通性测试失败 + + :return: The fgac_conn_status of this DataWareHouseDTODwConfig. + :rtype: str + """ + return self._fgac_conn_status + + @fgac_conn_status.setter + def fgac_conn_status(self, fgac_conn_status): + """Sets the fgac_conn_status of this DataWareHouseDTODwConfig. + + 数据源连通性测试状态: * UNKNOWN - 连通性未测试 * TESTING - 连通性测试中 * SUCCESS - 连通性测试成功 * FAILED - 连通性测试失败 + + :param fgac_conn_status: The fgac_conn_status of this DataWareHouseDTODwConfig. + :type fgac_conn_status: str + """ + self._fgac_conn_status = fgac_conn_status + + @property + def fgac_conn_test_time(self): + """Gets the fgac_conn_test_time of this DataWareHouseDTODwConfig. + + 最近一次连通性测试时间 + + :return: The fgac_conn_test_time of this DataWareHouseDTODwConfig. + :rtype: int + """ + return self._fgac_conn_test_time + + @fgac_conn_test_time.setter + def fgac_conn_test_time(self, fgac_conn_test_time): + """Sets the fgac_conn_test_time of this DataWareHouseDTODwConfig. + + 最近一次连通性测试时间 + + :param fgac_conn_test_time: The fgac_conn_test_time of this DataWareHouseDTODwConfig. + :type fgac_conn_test_time: int + """ + self._fgac_conn_test_time = fgac_conn_test_time + + @property + def fgac_conn_test_error(self): + """Gets the fgac_conn_test_error of this DataWareHouseDTODwConfig. + + 联通性测试失败信息,如果连通性测试成功或者未测试联通性,失败信息为空字符串 + + :return: The fgac_conn_test_error of this DataWareHouseDTODwConfig. + :rtype: str + """ + return self._fgac_conn_test_error + + @fgac_conn_test_error.setter + def fgac_conn_test_error(self, fgac_conn_test_error): + """Sets the fgac_conn_test_error of this DataWareHouseDTODwConfig. + + 联通性测试失败信息,如果连通性测试成功或者未测试联通性,失败信息为空字符串 + + :param fgac_conn_test_error: The fgac_conn_test_error of this DataWareHouseDTODwConfig. + :type fgac_conn_test_error: str + """ + self._fgac_conn_test_error = fgac_conn_test_error + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, DataWareHouseDTODwConfig): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/debug_api_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/debug_api_request.py index 34c7c814cb..bd2dfabe82 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/debug_api_request.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/debug_api_request.py @@ -37,13 +37,13 @@ def __init__(self, workspace=None, dlm_type=None, api_id=None, instance_id=None, The model defined in huaweicloud sdk - :param workspace: 工作空间id + :param workspace: 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :type workspace: str - :param dlm_type: dlm版本类型 + :param dlm_type: 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :type dlm_type: str - :param api_id: api编号 + :param api_id: api编号。 :type api_id: str - :param instance_id: 集群编号 + :param instance_id: 集群编号。 :type instance_id: str :param body: Body of the DebugApiRequest :type body: :class:`huaweicloudsdkdataartsstudio.v1.ApiTestDTO` @@ -70,7 +70,7 @@ def __init__(self, workspace=None, dlm_type=None, api_id=None, instance_id=None, def workspace(self): """Gets the workspace of this DebugApiRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :return: The workspace of this DebugApiRequest. :rtype: str @@ -81,7 +81,7 @@ def workspace(self): def workspace(self, workspace): """Sets the workspace of this DebugApiRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :param workspace: The workspace of this DebugApiRequest. :type workspace: str @@ -92,7 +92,7 @@ def workspace(self, workspace): def dlm_type(self): """Gets the dlm_type of this DebugApiRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :return: The dlm_type of this DebugApiRequest. :rtype: str @@ -103,7 +103,7 @@ def dlm_type(self): def dlm_type(self, dlm_type): """Sets the dlm_type of this DebugApiRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :param dlm_type: The dlm_type of this DebugApiRequest. :type dlm_type: str @@ -114,7 +114,7 @@ def dlm_type(self, dlm_type): def api_id(self): """Gets the api_id of this DebugApiRequest. - api编号 + api编号。 :return: The api_id of this DebugApiRequest. :rtype: str @@ -125,7 +125,7 @@ def api_id(self): def api_id(self, api_id): """Sets the api_id of this DebugApiRequest. - api编号 + api编号。 :param api_id: The api_id of this DebugApiRequest. :type api_id: str @@ -136,7 +136,7 @@ def api_id(self, api_id): def instance_id(self): """Gets the instance_id of this DebugApiRequest. - 集群编号 + 集群编号。 :return: The instance_id of this DebugApiRequest. :rtype: str @@ -147,7 +147,7 @@ def instance_id(self): def instance_id(self, instance_id): """Sets the instance_id of this DebugApiRequest. - 集群编号 + 集群编号。 :param instance_id: The instance_id of this DebugApiRequest. :type instance_id: str diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/debug_security_dlf_data_ware_houses_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/debug_security_dlf_data_ware_houses_request.py new file mode 100644 index 0000000000..37bf699452 --- /dev/null +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/debug_security_dlf_data_ware_houses_request.py @@ -0,0 +1,142 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class DebugSecurityDlfDataWareHousesRequest: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'workspace': 'str', + 'dw_id': 'str' + } + + attribute_map = { + 'workspace': 'workspace', + 'dw_id': 'dw_id' + } + + def __init__(self, workspace=None, dw_id=None): + """DebugSecurityDlfDataWareHousesRequest + + The model defined in huaweicloud sdk + + :param workspace: DataArts Studio工作空间ID + :type workspace: str + :param dw_id: 数据连接id + :type dw_id: str + """ + + + + self._workspace = None + self._dw_id = None + self.discriminator = None + + self.workspace = workspace + self.dw_id = dw_id + + @property + def workspace(self): + """Gets the workspace of this DebugSecurityDlfDataWareHousesRequest. + + DataArts Studio工作空间ID + + :return: The workspace of this DebugSecurityDlfDataWareHousesRequest. + :rtype: str + """ + return self._workspace + + @workspace.setter + def workspace(self, workspace): + """Sets the workspace of this DebugSecurityDlfDataWareHousesRequest. + + DataArts Studio工作空间ID + + :param workspace: The workspace of this DebugSecurityDlfDataWareHousesRequest. + :type workspace: str + """ + self._workspace = workspace + + @property + def dw_id(self): + """Gets the dw_id of this DebugSecurityDlfDataWareHousesRequest. + + 数据连接id + + :return: The dw_id of this DebugSecurityDlfDataWareHousesRequest. + :rtype: str + """ + return self._dw_id + + @dw_id.setter + def dw_id(self, dw_id): + """Sets the dw_id of this DebugSecurityDlfDataWareHousesRequest. + + 数据连接id + + :param dw_id: The dw_id of this DebugSecurityDlfDataWareHousesRequest. + :type dw_id: str + """ + self._dw_id = dw_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, DebugSecurityDlfDataWareHousesRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/publish_api_response.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/debug_security_dlf_data_ware_houses_response.py similarity index 89% rename from huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/publish_api_response.py rename to huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/debug_security_dlf_data_ware_houses_response.py index 678f6263b4..869f8b5270 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/publish_api_response.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/debug_security_dlf_data_ware_houses_response.py @@ -6,7 +6,7 @@ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class PublishApiResponse(SdkResponse): +class DebugSecurityDlfDataWareHousesResponse(SdkResponse): """ Attributes: @@ -24,13 +24,13 @@ class PublishApiResponse(SdkResponse): } def __init__(self): - """PublishApiResponse + """DebugSecurityDlfDataWareHousesResponse The model defined in huaweicloud sdk """ - super(PublishApiResponse, self).__init__() + super(DebugSecurityDlfDataWareHousesResponse, 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, PublishApiResponse): + if not isinstance(other, DebugSecurityDlfDataWareHousesResponse): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/delete_api_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/delete_api_request.py index 0fdab4183f..e87486e1ac 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/delete_api_request.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/delete_api_request.py @@ -33,9 +33,9 @@ def __init__(self, workspace=None, dlm_type=None, body=None): The model defined in huaweicloud sdk - :param workspace: 工作空间id + :param workspace: 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :type workspace: str - :param dlm_type: dlm版本类型 + :param dlm_type: 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :type dlm_type: str :param body: API删除ID列表 :type body: list[str] @@ -48,8 +48,7 @@ def __init__(self, workspace=None, dlm_type=None, body=None): self._body = None self.discriminator = None - if workspace is not None: - self.workspace = workspace + self.workspace = workspace if dlm_type is not None: self.dlm_type = dlm_type if body is not None: @@ -59,7 +58,7 @@ def __init__(self, workspace=None, dlm_type=None, body=None): def workspace(self): """Gets the workspace of this DeleteApiRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :return: The workspace of this DeleteApiRequest. :rtype: str @@ -70,7 +69,7 @@ def workspace(self): def workspace(self, workspace): """Sets the workspace of this DeleteApiRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :param workspace: The workspace of this DeleteApiRequest. :type workspace: str @@ -81,7 +80,7 @@ def workspace(self, workspace): def dlm_type(self): """Gets the dlm_type of this DeleteApiRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :return: The dlm_type of this DeleteApiRequest. :rtype: str @@ -92,7 +91,7 @@ def dlm_type(self): def dlm_type(self, dlm_type): """Sets the dlm_type of this DeleteApiRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :param dlm_type: The dlm_type of this DeleteApiRequest. :type dlm_type: str diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/delete_app_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/delete_app_request.py index 78490d145c..6adbf96956 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/delete_app_request.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/delete_app_request.py @@ -33,11 +33,11 @@ def __init__(self, workspace=None, dlm_type=None, app_id=None): The model defined in huaweicloud sdk - :param workspace: 工作空间id + :param workspace: 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :type workspace: str - :param dlm_type: dlm版本类型 + :param dlm_type: 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :type dlm_type: str - :param app_id: 应用编号 + :param app_id: 应用编号。 :type app_id: str """ @@ -57,7 +57,7 @@ def __init__(self, workspace=None, dlm_type=None, app_id=None): def workspace(self): """Gets the workspace of this DeleteAppRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :return: The workspace of this DeleteAppRequest. :rtype: str @@ -68,7 +68,7 @@ def workspace(self): def workspace(self, workspace): """Sets the workspace of this DeleteAppRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :param workspace: The workspace of this DeleteAppRequest. :type workspace: str @@ -79,7 +79,7 @@ def workspace(self, workspace): def dlm_type(self): """Gets the dlm_type of this DeleteAppRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :return: The dlm_type of this DeleteAppRequest. :rtype: str @@ -90,7 +90,7 @@ def dlm_type(self): def dlm_type(self, dlm_type): """Sets the dlm_type of this DeleteAppRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :param dlm_type: The dlm_type of this DeleteAppRequest. :type dlm_type: str @@ -101,7 +101,7 @@ def dlm_type(self, dlm_type): def app_id(self): """Gets the app_id of this DeleteAppRequest. - 应用编号 + 应用编号。 :return: The app_id of this DeleteAppRequest. :rtype: str @@ -112,7 +112,7 @@ def app_id(self): def app_id(self, app_id): """Sets the app_id of this DeleteAppRequest. - 应用编号 + 应用编号。 :param app_id: The app_id of this DeleteAppRequest. :type app_id: str diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/delete_service_catalog_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/delete_service_catalog_request.py index bb01a52e2d..a4cf10b70e 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/delete_service_catalog_request.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/delete_service_catalog_request.py @@ -33,9 +33,9 @@ def __init__(self, workspace=None, dlm_type=None, body=None): The model defined in huaweicloud sdk - :param workspace: 工作空间id + :param workspace: 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :type workspace: str - :param dlm_type: dlm版本类型 + :param dlm_type: 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :type dlm_type: str :param body: Body of the DeleteServiceCatalogRequest :type body: :class:`huaweicloudsdkdataartsstudio.v1.ApiCatalogDeleteParaDTO` @@ -58,7 +58,7 @@ def __init__(self, workspace=None, dlm_type=None, body=None): def workspace(self): """Gets the workspace of this DeleteServiceCatalogRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :return: The workspace of this DeleteServiceCatalogRequest. :rtype: str @@ -69,7 +69,7 @@ def workspace(self): def workspace(self, workspace): """Sets the workspace of this DeleteServiceCatalogRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :param workspace: The workspace of this DeleteServiceCatalogRequest. :type workspace: str @@ -80,7 +80,7 @@ def workspace(self, workspace): def dlm_type(self): """Gets the dlm_type of this DeleteServiceCatalogRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :return: The dlm_type of this DeleteServiceCatalogRequest. :rtype: str @@ -91,7 +91,7 @@ def dlm_type(self): def dlm_type(self, dlm_type): """Sets the dlm_type of this DeleteServiceCatalogRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :param dlm_type: The dlm_type of this DeleteServiceCatalogRequest. :type dlm_type: str diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/execute_api_to_instance_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/execute_api_to_instance_request.py index e07891359e..1d0250a9a6 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/execute_api_to_instance_request.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/execute_api_to_instance_request.py @@ -37,13 +37,13 @@ def __init__(self, workspace=None, dlm_type=None, api_id=None, instance_id=None, The model defined in huaweicloud sdk - :param workspace: 工作空间id + :param workspace: 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :type workspace: str - :param dlm_type: dlm版本类型 + :param dlm_type: 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :type dlm_type: str - :param api_id: api编号 + :param api_id: api编号。 :type api_id: str - :param instance_id: 集群编号 + :param instance_id: 集群编号。 :type instance_id: str :param body: Body of the ExecuteApiToInstanceRequest :type body: :class:`huaweicloudsdkdataartsstudio.v1.ApiActionDTO` @@ -70,7 +70,7 @@ def __init__(self, workspace=None, dlm_type=None, api_id=None, instance_id=None, def workspace(self): """Gets the workspace of this ExecuteApiToInstanceRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :return: The workspace of this ExecuteApiToInstanceRequest. :rtype: str @@ -81,7 +81,7 @@ def workspace(self): def workspace(self, workspace): """Sets the workspace of this ExecuteApiToInstanceRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :param workspace: The workspace of this ExecuteApiToInstanceRequest. :type workspace: str @@ -92,7 +92,7 @@ def workspace(self, workspace): def dlm_type(self): """Gets the dlm_type of this ExecuteApiToInstanceRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :return: The dlm_type of this ExecuteApiToInstanceRequest. :rtype: str @@ -103,7 +103,7 @@ def dlm_type(self): def dlm_type(self, dlm_type): """Sets the dlm_type of this ExecuteApiToInstanceRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :param dlm_type: The dlm_type of this ExecuteApiToInstanceRequest. :type dlm_type: str @@ -114,7 +114,7 @@ def dlm_type(self, dlm_type): def api_id(self): """Gets the api_id of this ExecuteApiToInstanceRequest. - api编号 + api编号。 :return: The api_id of this ExecuteApiToInstanceRequest. :rtype: str @@ -125,7 +125,7 @@ def api_id(self): def api_id(self, api_id): """Sets the api_id of this ExecuteApiToInstanceRequest. - api编号 + api编号。 :param api_id: The api_id of this ExecuteApiToInstanceRequest. :type api_id: str @@ -136,7 +136,7 @@ def api_id(self, api_id): def instance_id(self): """Gets the instance_id of this ExecuteApiToInstanceRequest. - 集群编号 + 集群编号。 :return: The instance_id of this ExecuteApiToInstanceRequest. :rtype: str @@ -147,7 +147,7 @@ def instance_id(self): def instance_id(self, instance_id): """Sets the instance_id of this ExecuteApiToInstanceRequest. - 集群编号 + 集群编号。 :param instance_id: The instance_id of this ExecuteApiToInstanceRequest. :type instance_id: str diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/publish_api_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/export_data_service_excel_request.py similarity index 65% rename from huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/publish_api_request.py rename to huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/export_data_service_excel_request.py index a014bda139..2912417bef 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/publish_api_request.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/export_data_service_excel_request.py @@ -5,7 +5,7 @@ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization -class PublishApiRequest: +class ExportDataServiceExcelRequest: """ Attributes: @@ -19,7 +19,7 @@ class PublishApiRequest: openapi_types = { 'workspace': 'str', 'dlm_type': 'str', - 'body': 'OpenApiParaForPublish' + 'body': 'list[str]' } attribute_map = { @@ -29,16 +29,16 @@ class PublishApiRequest: } def __init__(self, workspace=None, dlm_type=None, body=None): - """PublishApiRequest + """ExportDataServiceExcelRequest The model defined in huaweicloud sdk - :param workspace: 工作空间id + :param workspace: 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :type workspace: str - :param dlm_type: dlm版本类型 + :param dlm_type: 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :type dlm_type: str - :param body: Body of the PublishApiRequest - :type body: :class:`huaweicloudsdkdataartsstudio.v1.OpenApiParaForPublish` + :param body: API导出ID列表。 + :type body: list[str] """ @@ -56,63 +56,67 @@ def __init__(self, workspace=None, dlm_type=None, body=None): @property def workspace(self): - """Gets the workspace of this PublishApiRequest. + """Gets the workspace of this ExportDataServiceExcelRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 - :return: The workspace of this PublishApiRequest. + :return: The workspace of this ExportDataServiceExcelRequest. :rtype: str """ return self._workspace @workspace.setter def workspace(self, workspace): - """Sets the workspace of this PublishApiRequest. + """Sets the workspace of this ExportDataServiceExcelRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 - :param workspace: The workspace of this PublishApiRequest. + :param workspace: The workspace of this ExportDataServiceExcelRequest. :type workspace: str """ self._workspace = workspace @property def dlm_type(self): - """Gets the dlm_type of this PublishApiRequest. + """Gets the dlm_type of this ExportDataServiceExcelRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 - :return: The dlm_type of this PublishApiRequest. + :return: The dlm_type of this ExportDataServiceExcelRequest. :rtype: str """ return self._dlm_type @dlm_type.setter def dlm_type(self, dlm_type): - """Sets the dlm_type of this PublishApiRequest. + """Sets the dlm_type of this ExportDataServiceExcelRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 - :param dlm_type: The dlm_type of this PublishApiRequest. + :param dlm_type: The dlm_type of this ExportDataServiceExcelRequest. :type dlm_type: str """ self._dlm_type = dlm_type @property def body(self): - """Gets the body of this PublishApiRequest. + """Gets the body of this ExportDataServiceExcelRequest. - :return: The body of this PublishApiRequest. - :rtype: :class:`huaweicloudsdkdataartsstudio.v1.OpenApiParaForPublish` + API导出ID列表。 + + :return: The body of this ExportDataServiceExcelRequest. + :rtype: list[str] """ return self._body @body.setter def body(self, body): - """Sets the body of this PublishApiRequest. + """Sets the body of this ExportDataServiceExcelRequest. + + API导出ID列表。 - :param body: The body of this PublishApiRequest. - :type body: :class:`huaweicloudsdkdataartsstudio.v1.OpenApiParaForPublish` + :param body: The body of this ExportDataServiceExcelRequest. + :type body: list[str] """ self._body = body @@ -158,7 +162,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, PublishApiRequest): + if not isinstance(other, ExportDataServiceExcelRequest): return False return self.__dict__ == other.__dict__ diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/export_data_service_excel_response.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/export_data_service_excel_response.py new file mode 100644 index 0000000000..c39bcdf580 --- /dev/null +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/export_data_service_excel_response.py @@ -0,0 +1,85 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_stream_response import SdkStreamResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ExportDataServiceExcelResponse(SdkStreamResponse): + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the 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, response): + """ExportDataServiceExcelResponse + + The model defined in huaweicloud sdk + + """ + + super(ExportDataServiceExcelResponse, self).__init__(response) + 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, ExportDataServiceExcelResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/export_data_service_excel_template_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/export_data_service_excel_template_request.py new file mode 100644 index 0000000000..2443d1e997 --- /dev/null +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/export_data_service_excel_template_request.py @@ -0,0 +1,143 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ExportDataServiceExcelTemplateRequest: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'workspace': 'str', + 'dlm_type': 'str' + } + + attribute_map = { + 'workspace': 'workspace', + 'dlm_type': 'Dlm-Type' + } + + def __init__(self, workspace=None, dlm_type=None): + """ExportDataServiceExcelTemplateRequest + + The model defined in huaweicloud sdk + + :param workspace: 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 + :type workspace: str + :param dlm_type: 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 + :type dlm_type: str + """ + + + + self._workspace = None + self._dlm_type = None + self.discriminator = None + + self.workspace = workspace + if dlm_type is not None: + self.dlm_type = dlm_type + + @property + def workspace(self): + """Gets the workspace of this ExportDataServiceExcelTemplateRequest. + + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 + + :return: The workspace of this ExportDataServiceExcelTemplateRequest. + :rtype: str + """ + return self._workspace + + @workspace.setter + def workspace(self, workspace): + """Sets the workspace of this ExportDataServiceExcelTemplateRequest. + + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 + + :param workspace: The workspace of this ExportDataServiceExcelTemplateRequest. + :type workspace: str + """ + self._workspace = workspace + + @property + def dlm_type(self): + """Gets the dlm_type of this ExportDataServiceExcelTemplateRequest. + + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 + + :return: The dlm_type of this ExportDataServiceExcelTemplateRequest. + :rtype: str + """ + return self._dlm_type + + @dlm_type.setter + def dlm_type(self, dlm_type): + """Sets the dlm_type of this ExportDataServiceExcelTemplateRequest. + + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 + + :param dlm_type: The dlm_type of this ExportDataServiceExcelTemplateRequest. + :type dlm_type: str + """ + self._dlm_type = dlm_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, ExportDataServiceExcelTemplateRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/export_data_service_excel_template_response.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/export_data_service_excel_template_response.py new file mode 100644 index 0000000000..2111adc323 --- /dev/null +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/export_data_service_excel_template_response.py @@ -0,0 +1,85 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_stream_response import SdkStreamResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ExportDataServiceExcelTemplateResponse(SdkStreamResponse): + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the 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, response): + """ExportDataServiceExcelTemplateResponse + + The model defined in huaweicloud sdk + + """ + + super(ExportDataServiceExcelTemplateResponse, self).__init__(response) + 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, ExportDataServiceExcelTemplateResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/export_data_service_zip_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/export_data_service_zip_request.py new file mode 100644 index 0000000000..ce47285b8d --- /dev/null +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/export_data_service_zip_request.py @@ -0,0 +1,168 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ExportDataServiceZipRequest: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'workspace': 'str', + 'dlm_type': 'str', + 'body': 'ApiParam' + } + + attribute_map = { + 'workspace': 'workspace', + 'dlm_type': 'Dlm-Type', + 'body': 'body' + } + + def __init__(self, workspace=None, dlm_type=None, body=None): + """ExportDataServiceZipRequest + + The model defined in huaweicloud sdk + + :param workspace: 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 + :type workspace: str + :param dlm_type: 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 + :type dlm_type: str + :param body: Body of the ExportDataServiceZipRequest + :type body: :class:`huaweicloudsdkdataartsstudio.v1.ApiParam` + """ + + + + self._workspace = None + self._dlm_type = None + self._body = None + self.discriminator = None + + self.workspace = workspace + if dlm_type is not None: + self.dlm_type = dlm_type + if body is not None: + self.body = body + + @property + def workspace(self): + """Gets the workspace of this ExportDataServiceZipRequest. + + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 + + :return: The workspace of this ExportDataServiceZipRequest. + :rtype: str + """ + return self._workspace + + @workspace.setter + def workspace(self, workspace): + """Sets the workspace of this ExportDataServiceZipRequest. + + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 + + :param workspace: The workspace of this ExportDataServiceZipRequest. + :type workspace: str + """ + self._workspace = workspace + + @property + def dlm_type(self): + """Gets the dlm_type of this ExportDataServiceZipRequest. + + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 + + :return: The dlm_type of this ExportDataServiceZipRequest. + :rtype: str + """ + return self._dlm_type + + @dlm_type.setter + def dlm_type(self, dlm_type): + """Sets the dlm_type of this ExportDataServiceZipRequest. + + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 + + :param dlm_type: The dlm_type of this ExportDataServiceZipRequest. + :type dlm_type: str + """ + self._dlm_type = dlm_type + + @property + def body(self): + """Gets the body of this ExportDataServiceZipRequest. + + :return: The body of this ExportDataServiceZipRequest. + :rtype: :class:`huaweicloudsdkdataartsstudio.v1.ApiParam` + """ + return self._body + + @body.setter + def body(self, body): + """Sets the body of this ExportDataServiceZipRequest. + + :param body: The body of this ExportDataServiceZipRequest. + :type body: :class:`huaweicloudsdkdataartsstudio.v1.ApiParam` + """ + 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, ExportDataServiceZipRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/export_data_service_zip_response.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/export_data_service_zip_response.py new file mode 100644 index 0000000000..2d476cbbdc --- /dev/null +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/export_data_service_zip_response.py @@ -0,0 +1,85 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_stream_response import SdkStreamResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ExportDataServiceZipResponse(SdkStreamResponse): + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the 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, response): + """ExportDataServiceZipResponse + + The model defined in huaweicloud sdk + + """ + + super(ExportDataServiceZipResponse, self).__init__(response) + 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, ExportDataServiceZipResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/fgac_single_update_req.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/fgac_single_update_req.py new file mode 100644 index 0000000000..3b9540f28d --- /dev/null +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/fgac_single_update_req.py @@ -0,0 +1,173 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class FgacSingleUpdateReq: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'dw_id': 'str', + 'fgac_flag': 'bool', + 'fgac_type': 'str' + } + + attribute_map = { + 'dw_id': 'dw_id', + 'fgac_flag': 'fgac_flag', + 'fgac_type': 'fgac_type' + } + + def __init__(self, dw_id=None, fgac_flag=None, fgac_type=None): + """FgacSingleUpdateReq + + The model defined in huaweicloud sdk + + :param dw_id: 数据连接id + :type dw_id: str + :param fgac_flag: 是否开启细粒度认证,true表示开启细粒度认证,false表示关闭细粒度认证。 + :type fgac_flag: bool + :param fgac_type: 细粒度认证类型,开启细粒度认证时才生效。\"0\"表示开发态细粒度认证,支持数据开发细粒度脚本运行、作业测试运行,\"1\"表示调度态细粒度认证,支持数据开发细粒度脚本运行、作业测试运行、作业执行调度。 + :type fgac_type: str + """ + + + + self._dw_id = None + self._fgac_flag = None + self._fgac_type = None + self.discriminator = None + + if dw_id is not None: + self.dw_id = dw_id + if fgac_flag is not None: + self.fgac_flag = fgac_flag + if fgac_type is not None: + self.fgac_type = fgac_type + + @property + def dw_id(self): + """Gets the dw_id of this FgacSingleUpdateReq. + + 数据连接id + + :return: The dw_id of this FgacSingleUpdateReq. + :rtype: str + """ + return self._dw_id + + @dw_id.setter + def dw_id(self, dw_id): + """Sets the dw_id of this FgacSingleUpdateReq. + + 数据连接id + + :param dw_id: The dw_id of this FgacSingleUpdateReq. + :type dw_id: str + """ + self._dw_id = dw_id + + @property + def fgac_flag(self): + """Gets the fgac_flag of this FgacSingleUpdateReq. + + 是否开启细粒度认证,true表示开启细粒度认证,false表示关闭细粒度认证。 + + :return: The fgac_flag of this FgacSingleUpdateReq. + :rtype: bool + """ + return self._fgac_flag + + @fgac_flag.setter + def fgac_flag(self, fgac_flag): + """Sets the fgac_flag of this FgacSingleUpdateReq. + + 是否开启细粒度认证,true表示开启细粒度认证,false表示关闭细粒度认证。 + + :param fgac_flag: The fgac_flag of this FgacSingleUpdateReq. + :type fgac_flag: bool + """ + self._fgac_flag = fgac_flag + + @property + def fgac_type(self): + """Gets the fgac_type of this FgacSingleUpdateReq. + + 细粒度认证类型,开启细粒度认证时才生效。\"0\"表示开发态细粒度认证,支持数据开发细粒度脚本运行、作业测试运行,\"1\"表示调度态细粒度认证,支持数据开发细粒度脚本运行、作业测试运行、作业执行调度。 + + :return: The fgac_type of this FgacSingleUpdateReq. + :rtype: str + """ + return self._fgac_type + + @fgac_type.setter + def fgac_type(self, fgac_type): + """Sets the fgac_type of this FgacSingleUpdateReq. + + 细粒度认证类型,开启细粒度认证时才生效。\"0\"表示开发态细粒度认证,支持数据开发细粒度脚本运行、作业测试运行,\"1\"表示调度态细粒度认证,支持数据开发细粒度脚本运行、作业测试运行、作业执行调度。 + + :param fgac_type: The fgac_type of this FgacSingleUpdateReq. + :type fgac_type: str + """ + self._fgac_type = fgac_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, FgacSingleUpdateReq): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/fgac_update_req.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/fgac_update_req.py new file mode 100644 index 0000000000..3ac784e1b4 --- /dev/null +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/fgac_update_req.py @@ -0,0 +1,115 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class FgacUpdateReq: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'fgac_ids': 'list[FgacSingleUpdateReq]' + } + + attribute_map = { + 'fgac_ids': 'fgac_ids' + } + + def __init__(self, fgac_ids=None): + """FgacUpdateReq + + The model defined in huaweicloud sdk + + :param fgac_ids: 细粒度认证数据开发连接列表 + :type fgac_ids: list[:class:`huaweicloudsdkdataartsstudio.v1.FgacSingleUpdateReq`] + """ + + + + self._fgac_ids = None + self.discriminator = None + + if fgac_ids is not None: + self.fgac_ids = fgac_ids + + @property + def fgac_ids(self): + """Gets the fgac_ids of this FgacUpdateReq. + + 细粒度认证数据开发连接列表 + + :return: The fgac_ids of this FgacUpdateReq. + :rtype: list[:class:`huaweicloudsdkdataartsstudio.v1.FgacSingleUpdateReq`] + """ + return self._fgac_ids + + @fgac_ids.setter + def fgac_ids(self, fgac_ids): + """Sets the fgac_ids of this FgacUpdateReq. + + 细粒度认证数据开发连接列表 + + :param fgac_ids: The fgac_ids of this FgacUpdateReq. + :type fgac_ids: list[:class:`huaweicloudsdkdataartsstudio.v1.FgacSingleUpdateReq`] + """ + self._fgac_ids = fgac_ids + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, FgacUpdateReq): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/fgac_update_result.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/fgac_update_result.py new file mode 100644 index 0000000000..69a04d16a3 --- /dev/null +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/fgac_update_result.py @@ -0,0 +1,173 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class FgacUpdateResult: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the 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', + 'status': 'bool', + 'error_msg': 'str' + } + + attribute_map = { + 'id': 'id', + 'status': 'status', + 'error_msg': 'error_msg' + } + + def __init__(self, id=None, status=None, error_msg=None): + """FgacUpdateResult + + The model defined in huaweicloud sdk + + :param id: 数据连接id + :type id: str + :param status: 是否更新成功,true表示更新成功,false表示更新失败。 + :type status: bool + :param error_msg: 细粒度认证更新错误信息 + :type error_msg: str + """ + + + + self._id = None + self._status = None + self._error_msg = None + self.discriminator = None + + if id is not None: + self.id = id + if status is not None: + self.status = status + if error_msg is not None: + self.error_msg = error_msg + + @property + def id(self): + """Gets the id of this FgacUpdateResult. + + 数据连接id + + :return: The id of this FgacUpdateResult. + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this FgacUpdateResult. + + 数据连接id + + :param id: The id of this FgacUpdateResult. + :type id: str + """ + self._id = id + + @property + def status(self): + """Gets the status of this FgacUpdateResult. + + 是否更新成功,true表示更新成功,false表示更新失败。 + + :return: The status of this FgacUpdateResult. + :rtype: bool + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this FgacUpdateResult. + + 是否更新成功,true表示更新成功,false表示更新失败。 + + :param status: The status of this FgacUpdateResult. + :type status: bool + """ + self._status = status + + @property + def error_msg(self): + """Gets the error_msg of this FgacUpdateResult. + + 细粒度认证更新错误信息 + + :return: The error_msg of this FgacUpdateResult. + :rtype: str + """ + return self._error_msg + + @error_msg.setter + def error_msg(self, error_msg): + """Sets the error_msg of this FgacUpdateResult. + + 细粒度认证更新错误信息 + + :param error_msg: The error_msg of this FgacUpdateResult. + :type error_msg: str + """ + self._error_msg = error_msg + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, FgacUpdateResult): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/import_data_service_excel_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/import_data_service_excel_request.py new file mode 100644 index 0000000000..f8568db5c1 --- /dev/null +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/import_data_service_excel_request.py @@ -0,0 +1,168 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ImportDataServiceExcelRequest: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'workspace': 'str', + 'dlm_type': 'str', + 'body': 'ImportDataServiceExcelRequestBody' + } + + attribute_map = { + 'workspace': 'workspace', + 'dlm_type': 'Dlm-Type', + 'body': 'body' + } + + def __init__(self, workspace=None, dlm_type=None, body=None): + """ImportDataServiceExcelRequest + + The model defined in huaweicloud sdk + + :param workspace: 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 + :type workspace: str + :param dlm_type: 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 + :type dlm_type: str + :param body: Body of the ImportDataServiceExcelRequest + :type body: :class:`huaweicloudsdkdataartsstudio.v1.ImportDataServiceExcelRequestBody` + """ + + + + self._workspace = None + self._dlm_type = None + self._body = None + self.discriminator = None + + self.workspace = workspace + if dlm_type is not None: + self.dlm_type = dlm_type + if body is not None: + self.body = body + + @property + def workspace(self): + """Gets the workspace of this ImportDataServiceExcelRequest. + + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 + + :return: The workspace of this ImportDataServiceExcelRequest. + :rtype: str + """ + return self._workspace + + @workspace.setter + def workspace(self, workspace): + """Sets the workspace of this ImportDataServiceExcelRequest. + + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 + + :param workspace: The workspace of this ImportDataServiceExcelRequest. + :type workspace: str + """ + self._workspace = workspace + + @property + def dlm_type(self): + """Gets the dlm_type of this ImportDataServiceExcelRequest. + + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 + + :return: The dlm_type of this ImportDataServiceExcelRequest. + :rtype: str + """ + return self._dlm_type + + @dlm_type.setter + def dlm_type(self, dlm_type): + """Sets the dlm_type of this ImportDataServiceExcelRequest. + + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 + + :param dlm_type: The dlm_type of this ImportDataServiceExcelRequest. + :type dlm_type: str + """ + self._dlm_type = dlm_type + + @property + def body(self): + """Gets the body of this ImportDataServiceExcelRequest. + + :return: The body of this ImportDataServiceExcelRequest. + :rtype: :class:`huaweicloudsdkdataartsstudio.v1.ImportDataServiceExcelRequestBody` + """ + return self._body + + @body.setter + def body(self, body): + """Sets the body of this ImportDataServiceExcelRequest. + + :param body: The body of this ImportDataServiceExcelRequest. + :type body: :class:`huaweicloudsdkdataartsstudio.v1.ImportDataServiceExcelRequestBody` + """ + 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, ImportDataServiceExcelRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/import_data_service_excel_request_body.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/import_data_service_excel_request_body.py new file mode 100644 index 0000000000..b72ddf6eb2 --- /dev/null +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/import_data_service_excel_request_body.py @@ -0,0 +1,114 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ImportDataServiceExcelRequestBody: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'file': 'file' + } + + attribute_map = { + 'file': 'file' + } + + def __init__(self, file=None): + """ImportDataServiceExcelRequestBody + + The model defined in huaweicloud sdk + + :param file: 导入包含api的excel文件,大小必须小于4MB。 + :type file: :class:`huaweicloudsdkcore.http.formdata.FormFile` + """ + + + + self._file = None + self.discriminator = None + + self.file = file + + @property + def file(self): + """Gets the file of this ImportDataServiceExcelRequestBody. + + 导入包含api的excel文件,大小必须小于4MB。 + + :return: The file of this ImportDataServiceExcelRequestBody. + :rtype: :class:`huaweicloudsdkcore.http.formdata.FormFile` + """ + return self._file + + @file.setter + def file(self, file): + """Sets the file of this ImportDataServiceExcelRequestBody. + + 导入包含api的excel文件,大小必须小于4MB。 + + :param file: The file of this ImportDataServiceExcelRequestBody. + :type file: :class:`huaweicloudsdkcore.http.formdata.FormFile` + """ + self._file = file + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ImportDataServiceExcelRequestBody): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/import_data_service_excel_response.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/import_data_service_excel_response.py new file mode 100644 index 0000000000..9b84ef3c5f --- /dev/null +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/import_data_service_excel_response.py @@ -0,0 +1,116 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_response import SdkResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ImportDataServiceExcelResponse(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 = { + 'job_id': 'str' + } + + attribute_map = { + 'job_id': 'job_id' + } + + def __init__(self, job_id=None): + """ImportDataServiceExcelResponse + + The model defined in huaweicloud sdk + + :param job_id: 返回的数据信息。 + :type job_id: str + """ + + super(ImportDataServiceExcelResponse, self).__init__() + + self._job_id = None + self.discriminator = None + + if job_id is not None: + self.job_id = job_id + + @property + def job_id(self): + """Gets the job_id of this ImportDataServiceExcelResponse. + + 返回的数据信息。 + + :return: The job_id of this ImportDataServiceExcelResponse. + :rtype: str + """ + return self._job_id + + @job_id.setter + def job_id(self, job_id): + """Sets the job_id of this ImportDataServiceExcelResponse. + + 返回的数据信息。 + + :param job_id: The job_id of this ImportDataServiceExcelResponse. + :type job_id: str + """ + self._job_id = job_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, ImportDataServiceExcelResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_all_catalog_list_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_all_catalog_list_request.py index 760cf56fc4..de66a79be2 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_all_catalog_list_request.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_all_catalog_list_request.py @@ -37,15 +37,15 @@ def __init__(self, workspace=None, dlm_type=None, catalog_id=None, offset=None, The model defined in huaweicloud sdk - :param workspace: 工作空间id + :param workspace: 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :type workspace: str - :param dlm_type: dlm版本类型 + :param dlm_type: 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :type dlm_type: str - :param catalog_id: 目录编号 + :param catalog_id: 目录编号。 :type catalog_id: str - :param offset: 查询起始坐标, 即跳过前X条数据 + :param offset: 查询起始坐标, 即跳过前X条数据。 :type offset: int - :param limit: 查询条数, 即查询Y条数据 + :param limit: 查询条数, 即查询Y条数据。 :type limit: int """ @@ -71,7 +71,7 @@ def __init__(self, workspace=None, dlm_type=None, catalog_id=None, offset=None, def workspace(self): """Gets the workspace of this ListAllCatalogListRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :return: The workspace of this ListAllCatalogListRequest. :rtype: str @@ -82,7 +82,7 @@ def workspace(self): def workspace(self, workspace): """Sets the workspace of this ListAllCatalogListRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :param workspace: The workspace of this ListAllCatalogListRequest. :type workspace: str @@ -93,7 +93,7 @@ def workspace(self, workspace): def dlm_type(self): """Gets the dlm_type of this ListAllCatalogListRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :return: The dlm_type of this ListAllCatalogListRequest. :rtype: str @@ -104,7 +104,7 @@ def dlm_type(self): def dlm_type(self, dlm_type): """Sets the dlm_type of this ListAllCatalogListRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :param dlm_type: The dlm_type of this ListAllCatalogListRequest. :type dlm_type: str @@ -115,7 +115,7 @@ def dlm_type(self, dlm_type): def catalog_id(self): """Gets the catalog_id of this ListAllCatalogListRequest. - 目录编号 + 目录编号。 :return: The catalog_id of this ListAllCatalogListRequest. :rtype: str @@ -126,7 +126,7 @@ def catalog_id(self): def catalog_id(self, catalog_id): """Sets the catalog_id of this ListAllCatalogListRequest. - 目录编号 + 目录编号。 :param catalog_id: The catalog_id of this ListAllCatalogListRequest. :type catalog_id: str @@ -137,7 +137,7 @@ def catalog_id(self, catalog_id): def offset(self): """Gets the offset of this ListAllCatalogListRequest. - 查询起始坐标, 即跳过前X条数据 + 查询起始坐标, 即跳过前X条数据。 :return: The offset of this ListAllCatalogListRequest. :rtype: int @@ -148,7 +148,7 @@ def offset(self): def offset(self, offset): """Sets the offset of this ListAllCatalogListRequest. - 查询起始坐标, 即跳过前X条数据 + 查询起始坐标, 即跳过前X条数据。 :param offset: The offset of this ListAllCatalogListRequest. :type offset: int @@ -159,7 +159,7 @@ def offset(self, offset): def limit(self): """Gets the limit of this ListAllCatalogListRequest. - 查询条数, 即查询Y条数据 + 查询条数, 即查询Y条数据。 :return: The limit of this ListAllCatalogListRequest. :rtype: int @@ -170,7 +170,7 @@ def limit(self): def limit(self, limit): """Sets the limit of this ListAllCatalogListRequest. - 查询条数, 即查询Y条数据 + 查询条数, 即查询Y条数据。 :param limit: The limit of this ListAllCatalogListRequest. :type limit: int diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_api_catalog_list_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_api_catalog_list_request.py index 12bf7534dc..5579bd3117 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_api_catalog_list_request.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_api_catalog_list_request.py @@ -37,15 +37,15 @@ def __init__(self, workspace=None, dlm_type=None, catalog_id=None, offset=None, The model defined in huaweicloud sdk - :param workspace: 工作空间id + :param workspace: 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :type workspace: str - :param dlm_type: dlm版本类型 + :param dlm_type: 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :type dlm_type: str - :param catalog_id: 目录编号 + :param catalog_id: 目录编号。 :type catalog_id: str - :param offset: 查询起始坐标, 即跳过前X条数据 + :param offset: 查询起始坐标, 即跳过前X条数据。 :type offset: int - :param limit: 查询条数, 即查询Y条数据 + :param limit: 查询条数, 即查询Y条数据。 :type limit: int """ @@ -71,7 +71,7 @@ def __init__(self, workspace=None, dlm_type=None, catalog_id=None, offset=None, def workspace(self): """Gets the workspace of this ListApiCatalogListRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :return: The workspace of this ListApiCatalogListRequest. :rtype: str @@ -82,7 +82,7 @@ def workspace(self): def workspace(self, workspace): """Sets the workspace of this ListApiCatalogListRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :param workspace: The workspace of this ListApiCatalogListRequest. :type workspace: str @@ -93,7 +93,7 @@ def workspace(self, workspace): def dlm_type(self): """Gets the dlm_type of this ListApiCatalogListRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :return: The dlm_type of this ListApiCatalogListRequest. :rtype: str @@ -104,7 +104,7 @@ def dlm_type(self): def dlm_type(self, dlm_type): """Sets the dlm_type of this ListApiCatalogListRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :param dlm_type: The dlm_type of this ListApiCatalogListRequest. :type dlm_type: str @@ -115,7 +115,7 @@ def dlm_type(self, dlm_type): def catalog_id(self): """Gets the catalog_id of this ListApiCatalogListRequest. - 目录编号 + 目录编号。 :return: The catalog_id of this ListApiCatalogListRequest. :rtype: str @@ -126,7 +126,7 @@ def catalog_id(self): def catalog_id(self, catalog_id): """Sets the catalog_id of this ListApiCatalogListRequest. - 目录编号 + 目录编号。 :param catalog_id: The catalog_id of this ListApiCatalogListRequest. :type catalog_id: str @@ -137,7 +137,7 @@ def catalog_id(self, catalog_id): def offset(self): """Gets the offset of this ListApiCatalogListRequest. - 查询起始坐标, 即跳过前X条数据 + 查询起始坐标, 即跳过前X条数据。 :return: The offset of this ListApiCatalogListRequest. :rtype: int @@ -148,7 +148,7 @@ def offset(self): def offset(self, offset): """Sets the offset of this ListApiCatalogListRequest. - 查询起始坐标, 即跳过前X条数据 + 查询起始坐标, 即跳过前X条数据。 :param offset: The offset of this ListApiCatalogListRequest. :type offset: int @@ -159,7 +159,7 @@ def offset(self, offset): def limit(self): """Gets the limit of this ListApiCatalogListRequest. - 查询条数, 即查询Y条数据 + 查询条数, 即查询Y条数据。 :return: The limit of this ListApiCatalogListRequest. :rtype: int @@ -170,7 +170,7 @@ def limit(self): def limit(self, limit): """Sets the limit of this ListApiCatalogListRequest. - 查询条数, 即查询Y条数据 + 查询条数, 即查询Y条数据。 :param limit: The limit of this ListApiCatalogListRequest. :type limit: int diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_api_top_n_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_api_top_n_request.py index 8854c112f5..8e8689e5c5 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_api_top_n_request.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_api_top_n_request.py @@ -45,23 +45,23 @@ def __init__(self, workspace=None, dlm_type=None, api_id=None, instance_id=None, The model defined in huaweicloud sdk - :param workspace: 工作空间id + :param workspace: 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :type workspace: str - :param dlm_type: dlm版本类型 + :param dlm_type: 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :type dlm_type: str - :param api_id: api编号 + :param api_id: api编号。 :type api_id: str - :param instance_id: 集群编号 + :param instance_id: 集群编号。 :type instance_id: str - :param start_time: 开始时间(13位时间戳) + :param start_time: 开始时间(13位时间戳)。 :type start_time: int - :param end_time: 结束时间(13位时间戳) + :param end_time: 结束时间(13位时间戳)。 :type end_time: int - :param time_unit: 时间单位 + :param time_unit: 时间单位。 :type time_unit: str - :param top_num: 前几名 + :param top_num: 前几名。 :type top_num: int - :param order_by: 排序条件 + :param order_by: 排序条件。 :type order_by: str """ @@ -94,7 +94,7 @@ def __init__(self, workspace=None, dlm_type=None, api_id=None, instance_id=None, def workspace(self): """Gets the workspace of this ListApiTopNRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :return: The workspace of this ListApiTopNRequest. :rtype: str @@ -105,7 +105,7 @@ def workspace(self): def workspace(self, workspace): """Sets the workspace of this ListApiTopNRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :param workspace: The workspace of this ListApiTopNRequest. :type workspace: str @@ -116,7 +116,7 @@ def workspace(self, workspace): def dlm_type(self): """Gets the dlm_type of this ListApiTopNRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :return: The dlm_type of this ListApiTopNRequest. :rtype: str @@ -127,7 +127,7 @@ def dlm_type(self): def dlm_type(self, dlm_type): """Sets the dlm_type of this ListApiTopNRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :param dlm_type: The dlm_type of this ListApiTopNRequest. :type dlm_type: str @@ -138,7 +138,7 @@ def dlm_type(self, dlm_type): def api_id(self): """Gets the api_id of this ListApiTopNRequest. - api编号 + api编号。 :return: The api_id of this ListApiTopNRequest. :rtype: str @@ -149,7 +149,7 @@ def api_id(self): def api_id(self, api_id): """Sets the api_id of this ListApiTopNRequest. - api编号 + api编号。 :param api_id: The api_id of this ListApiTopNRequest. :type api_id: str @@ -160,7 +160,7 @@ def api_id(self, api_id): def instance_id(self): """Gets the instance_id of this ListApiTopNRequest. - 集群编号 + 集群编号。 :return: The instance_id of this ListApiTopNRequest. :rtype: str @@ -171,7 +171,7 @@ def instance_id(self): def instance_id(self, instance_id): """Sets the instance_id of this ListApiTopNRequest. - 集群编号 + 集群编号。 :param instance_id: The instance_id of this ListApiTopNRequest. :type instance_id: str @@ -182,7 +182,7 @@ def instance_id(self, instance_id): def start_time(self): """Gets the start_time of this ListApiTopNRequest. - 开始时间(13位时间戳) + 开始时间(13位时间戳)。 :return: The start_time of this ListApiTopNRequest. :rtype: int @@ -193,7 +193,7 @@ def start_time(self): def start_time(self, start_time): """Sets the start_time of this ListApiTopNRequest. - 开始时间(13位时间戳) + 开始时间(13位时间戳)。 :param start_time: The start_time of this ListApiTopNRequest. :type start_time: int @@ -204,7 +204,7 @@ def start_time(self, start_time): def end_time(self): """Gets the end_time of this ListApiTopNRequest. - 结束时间(13位时间戳) + 结束时间(13位时间戳)。 :return: The end_time of this ListApiTopNRequest. :rtype: int @@ -215,7 +215,7 @@ def end_time(self): def end_time(self, end_time): """Sets the end_time of this ListApiTopNRequest. - 结束时间(13位时间戳) + 结束时间(13位时间戳)。 :param end_time: The end_time of this ListApiTopNRequest. :type end_time: int @@ -226,7 +226,7 @@ def end_time(self, end_time): def time_unit(self): """Gets the time_unit of this ListApiTopNRequest. - 时间单位 + 时间单位。 :return: The time_unit of this ListApiTopNRequest. :rtype: str @@ -237,7 +237,7 @@ def time_unit(self): def time_unit(self, time_unit): """Sets the time_unit of this ListApiTopNRequest. - 时间单位 + 时间单位。 :param time_unit: The time_unit of this ListApiTopNRequest. :type time_unit: str @@ -248,7 +248,7 @@ def time_unit(self, time_unit): def top_num(self): """Gets the top_num of this ListApiTopNRequest. - 前几名 + 前几名。 :return: The top_num of this ListApiTopNRequest. :rtype: int @@ -259,7 +259,7 @@ def top_num(self): def top_num(self, top_num): """Sets the top_num of this ListApiTopNRequest. - 前几名 + 前几名。 :param top_num: The top_num of this ListApiTopNRequest. :type top_num: int @@ -270,7 +270,7 @@ def top_num(self, top_num): def order_by(self): """Gets the order_by of this ListApiTopNRequest. - 排序条件 + 排序条件。 :return: The order_by of this ListApiTopNRequest. :rtype: str @@ -281,7 +281,7 @@ def order_by(self): def order_by(self, order_by): """Sets the order_by of this ListApiTopNRequest. - 排序条件 + 排序条件。 :param order_by: The order_by of this ListApiTopNRequest. :type order_by: str diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_apic_groups_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_apic_groups_request.py index 8f02900db3..84104f3cd3 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_apic_groups_request.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_apic_groups_request.py @@ -39,17 +39,17 @@ def __init__(self, workspace=None, dlm_type=None, apig_instance_id=None, apig_ty The model defined in huaweicloud sdk - :param workspace: 工作空间id + :param workspace: 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :type workspace: str - :param dlm_type: dlm版本类型 + :param dlm_type: 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :type dlm_type: str - :param apig_instance_id: 网关实例编号 + :param apig_instance_id: 网关实例编号,共享版为固定值:APIG。 :type apig_instance_id: str - :param apig_type: 网关类型 + :param apig_type: 网关类型。 :type apig_type: str - :param limit: limit + :param limit: limit。 :type limit: int - :param offset: offset + :param offset: offset。 :type offset: int """ @@ -77,7 +77,7 @@ def __init__(self, workspace=None, dlm_type=None, apig_instance_id=None, apig_ty def workspace(self): """Gets the workspace of this ListApicGroupsRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :return: The workspace of this ListApicGroupsRequest. :rtype: str @@ -88,7 +88,7 @@ def workspace(self): def workspace(self, workspace): """Sets the workspace of this ListApicGroupsRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :param workspace: The workspace of this ListApicGroupsRequest. :type workspace: str @@ -99,7 +99,7 @@ def workspace(self, workspace): def dlm_type(self): """Gets the dlm_type of this ListApicGroupsRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :return: The dlm_type of this ListApicGroupsRequest. :rtype: str @@ -110,7 +110,7 @@ def dlm_type(self): def dlm_type(self, dlm_type): """Sets the dlm_type of this ListApicGroupsRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :param dlm_type: The dlm_type of this ListApicGroupsRequest. :type dlm_type: str @@ -121,7 +121,7 @@ def dlm_type(self, dlm_type): def apig_instance_id(self): """Gets the apig_instance_id of this ListApicGroupsRequest. - 网关实例编号 + 网关实例编号,共享版为固定值:APIG。 :return: The apig_instance_id of this ListApicGroupsRequest. :rtype: str @@ -132,7 +132,7 @@ def apig_instance_id(self): def apig_instance_id(self, apig_instance_id): """Sets the apig_instance_id of this ListApicGroupsRequest. - 网关实例编号 + 网关实例编号,共享版为固定值:APIG。 :param apig_instance_id: The apig_instance_id of this ListApicGroupsRequest. :type apig_instance_id: str @@ -143,7 +143,7 @@ def apig_instance_id(self, apig_instance_id): def apig_type(self): """Gets the apig_type of this ListApicGroupsRequest. - 网关类型 + 网关类型。 :return: The apig_type of this ListApicGroupsRequest. :rtype: str @@ -154,7 +154,7 @@ def apig_type(self): def apig_type(self, apig_type): """Sets the apig_type of this ListApicGroupsRequest. - 网关类型 + 网关类型。 :param apig_type: The apig_type of this ListApicGroupsRequest. :type apig_type: str @@ -165,7 +165,7 @@ def apig_type(self, apig_type): def limit(self): """Gets the limit of this ListApicGroupsRequest. - limit + limit。 :return: The limit of this ListApicGroupsRequest. :rtype: int @@ -176,7 +176,7 @@ def limit(self): def limit(self, limit): """Sets the limit of this ListApicGroupsRequest. - limit + limit。 :param limit: The limit of this ListApicGroupsRequest. :type limit: int @@ -187,7 +187,7 @@ def limit(self, limit): def offset(self): """Gets the offset of this ListApicGroupsRequest. - offset + offset。 :return: The offset of this ListApicGroupsRequest. :rtype: int @@ -198,7 +198,7 @@ def offset(self): def offset(self, offset): """Sets the offset of this ListApicGroupsRequest. - offset + offset。 :param offset: The offset of this ListApicGroupsRequest. :type offset: int diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_apic_instances_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_apic_instances_request.py index 850c6d141c..2e9fb8cdfb 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_apic_instances_request.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_apic_instances_request.py @@ -37,15 +37,15 @@ def __init__(self, workspace=None, dlm_type=None, apig_type=None, limit=None, of The model defined in huaweicloud sdk - :param workspace: 工作空间id + :param workspace: 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :type workspace: str - :param dlm_type: dlm版本类型 + :param dlm_type: 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :type dlm_type: str - :param apig_type: 网关类型 + :param apig_type: 网关类型。 :type apig_type: str - :param limit: limit + :param limit: limit。 :type limit: int - :param offset: offset + :param offset: offset。 :type offset: int """ @@ -71,7 +71,7 @@ def __init__(self, workspace=None, dlm_type=None, apig_type=None, limit=None, of def workspace(self): """Gets the workspace of this ListApicInstancesRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :return: The workspace of this ListApicInstancesRequest. :rtype: str @@ -82,7 +82,7 @@ def workspace(self): def workspace(self, workspace): """Sets the workspace of this ListApicInstancesRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :param workspace: The workspace of this ListApicInstancesRequest. :type workspace: str @@ -93,7 +93,7 @@ def workspace(self, workspace): def dlm_type(self): """Gets the dlm_type of this ListApicInstancesRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :return: The dlm_type of this ListApicInstancesRequest. :rtype: str @@ -104,7 +104,7 @@ def dlm_type(self): def dlm_type(self, dlm_type): """Sets the dlm_type of this ListApicInstancesRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :param dlm_type: The dlm_type of this ListApicInstancesRequest. :type dlm_type: str @@ -115,7 +115,7 @@ def dlm_type(self, dlm_type): def apig_type(self): """Gets the apig_type of this ListApicInstancesRequest. - 网关类型 + 网关类型。 :return: The apig_type of this ListApicInstancesRequest. :rtype: str @@ -126,7 +126,7 @@ def apig_type(self): def apig_type(self, apig_type): """Sets the apig_type of this ListApicInstancesRequest. - 网关类型 + 网关类型。 :param apig_type: The apig_type of this ListApicInstancesRequest. :type apig_type: str @@ -137,7 +137,7 @@ def apig_type(self, apig_type): def limit(self): """Gets the limit of this ListApicInstancesRequest. - limit + limit。 :return: The limit of this ListApicInstancesRequest. :rtype: int @@ -148,7 +148,7 @@ def limit(self): def limit(self, limit): """Sets the limit of this ListApicInstancesRequest. - limit + limit。 :param limit: The limit of this ListApicInstancesRequest. :type limit: int @@ -159,7 +159,7 @@ def limit(self, limit): def offset(self): """Gets the offset of this ListApicInstancesRequest. - offset + offset。 :return: The offset of this ListApicInstancesRequest. :rtype: int @@ -170,7 +170,7 @@ def offset(self): def offset(self, offset): """Sets the offset of this ListApicInstancesRequest. - offset + offset。 :param offset: The offset of this ListApicInstancesRequest. :type offset: int diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_apis_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_apis_request.py index d360c0d00b..b5b93b890c 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_apis_request.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_apis_request.py @@ -21,7 +21,16 @@ class ListApisRequest: 'dlm_type': 'str', 'x_return_publish_messages': 'str', 'offset': 'int', - 'limit': 'int' + 'limit': 'int', + 'name': 'str', + 'description': 'str', + 'create_user': 'str', + 'start_time': 'str', + 'end_time': 'str', + 'tags': 'list[str]', + 'api_type': 'str', + 'publish_status': 'str', + 'table_name': 'str' } attribute_map = { @@ -29,24 +38,51 @@ class ListApisRequest: 'dlm_type': 'Dlm-Type', 'x_return_publish_messages': 'x-return-publish-messages', 'offset': 'offset', - 'limit': 'limit' + 'limit': 'limit', + 'name': 'name', + 'description': 'description', + 'create_user': 'create_user', + 'start_time': 'start_time', + 'end_time': 'end_time', + 'tags': 'tags', + 'api_type': 'api_type', + 'publish_status': 'publish_status', + 'table_name': 'table_name' } - def __init__(self, workspace=None, dlm_type=None, x_return_publish_messages=None, offset=None, limit=None): + def __init__(self, workspace=None, dlm_type=None, x_return_publish_messages=None, offset=None, limit=None, name=None, description=None, create_user=None, start_time=None, end_time=None, tags=None, api_type=None, publish_status=None, table_name=None): """ListApisRequest The model defined in huaweicloud sdk - :param workspace: 工作空间id + :param workspace: 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :type workspace: str - :param dlm_type: dlm版本类型 + :param dlm_type: 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :type dlm_type: str - :param x_return_publish_messages: 是否返回专享版API的发布信息 + :param x_return_publish_messages: 是否返回专享版API的发布信息。 :type x_return_publish_messages: str - :param offset: 查询起始坐标, 即跳过前X条数据。仅支持0或limit的整数倍,不满足则向下取整 + :param offset: 查询起始坐标, 即跳过前X条数据。仅支持0或limit的整数倍,不满足则向下取整。 :type offset: int - :param limit: 查询条数, 即查询Y条数据 + :param limit: 查询条数, 即查询Y条数据。 :type limit: int + :param name: 根据API名称模糊查询。 + :type name: str + :param description: 根据API描述信息模糊查询。 + :type description: str + :param create_user: 根据API创建用户模糊查询。 + :type create_user: str + :param start_time: 根据API创建时间过滤,开始时间,如2024-02-24T16:00:00.000Z。 + :type start_time: str + :param end_time: 根据API创建时间过滤,结束时间,如2024-04-05T15:59:59.998Z。 + :type end_time: str + :param tags: 标签。 + :type tags: list[str] + :param api_type: API类型。 + :type api_type: str + :param publish_status: API发布状态。 + :type publish_status: str + :param table_name: 根据API用到的数据库表名模糊查询。 + :type table_name: str """ @@ -56,6 +92,15 @@ def __init__(self, workspace=None, dlm_type=None, x_return_publish_messages=None self._x_return_publish_messages = None self._offset = None self._limit = None + self._name = None + self._description = None + self._create_user = None + self._start_time = None + self._end_time = None + self._tags = None + self._api_type = None + self._publish_status = None + self._table_name = None self.discriminator = None self.workspace = workspace @@ -67,12 +112,30 @@ def __init__(self, workspace=None, dlm_type=None, x_return_publish_messages=None self.offset = offset if limit is not None: self.limit = limit + if name is not None: + self.name = name + if description is not None: + self.description = description + if create_user is not None: + self.create_user = create_user + if start_time is not None: + self.start_time = start_time + if end_time is not None: + self.end_time = end_time + if tags is not None: + self.tags = tags + if api_type is not None: + self.api_type = api_type + if publish_status is not None: + self.publish_status = publish_status + if table_name is not None: + self.table_name = table_name @property def workspace(self): """Gets the workspace of this ListApisRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :return: The workspace of this ListApisRequest. :rtype: str @@ -83,7 +146,7 @@ def workspace(self): def workspace(self, workspace): """Sets the workspace of this ListApisRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :param workspace: The workspace of this ListApisRequest. :type workspace: str @@ -94,7 +157,7 @@ def workspace(self, workspace): def dlm_type(self): """Gets the dlm_type of this ListApisRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :return: The dlm_type of this ListApisRequest. :rtype: str @@ -105,7 +168,7 @@ def dlm_type(self): def dlm_type(self, dlm_type): """Sets the dlm_type of this ListApisRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :param dlm_type: The dlm_type of this ListApisRequest. :type dlm_type: str @@ -116,7 +179,7 @@ def dlm_type(self, dlm_type): def x_return_publish_messages(self): """Gets the x_return_publish_messages of this ListApisRequest. - 是否返回专享版API的发布信息 + 是否返回专享版API的发布信息。 :return: The x_return_publish_messages of this ListApisRequest. :rtype: str @@ -127,7 +190,7 @@ def x_return_publish_messages(self): def x_return_publish_messages(self, x_return_publish_messages): """Sets the x_return_publish_messages of this ListApisRequest. - 是否返回专享版API的发布信息 + 是否返回专享版API的发布信息。 :param x_return_publish_messages: The x_return_publish_messages of this ListApisRequest. :type x_return_publish_messages: str @@ -138,7 +201,7 @@ def x_return_publish_messages(self, x_return_publish_messages): def offset(self): """Gets the offset of this ListApisRequest. - 查询起始坐标, 即跳过前X条数据。仅支持0或limit的整数倍,不满足则向下取整 + 查询起始坐标, 即跳过前X条数据。仅支持0或limit的整数倍,不满足则向下取整。 :return: The offset of this ListApisRequest. :rtype: int @@ -149,7 +212,7 @@ def offset(self): def offset(self, offset): """Sets the offset of this ListApisRequest. - 查询起始坐标, 即跳过前X条数据。仅支持0或limit的整数倍,不满足则向下取整 + 查询起始坐标, 即跳过前X条数据。仅支持0或limit的整数倍,不满足则向下取整。 :param offset: The offset of this ListApisRequest. :type offset: int @@ -160,7 +223,7 @@ def offset(self, offset): def limit(self): """Gets the limit of this ListApisRequest. - 查询条数, 即查询Y条数据 + 查询条数, 即查询Y条数据。 :return: The limit of this ListApisRequest. :rtype: int @@ -171,13 +234,211 @@ def limit(self): def limit(self, limit): """Sets the limit of this ListApisRequest. - 查询条数, 即查询Y条数据 + 查询条数, 即查询Y条数据。 :param limit: The limit of this ListApisRequest. :type limit: int """ self._limit = limit + @property + def name(self): + """Gets the name of this ListApisRequest. + + 根据API名称模糊查询。 + + :return: The name of this ListApisRequest. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this ListApisRequest. + + 根据API名称模糊查询。 + + :param name: The name of this ListApisRequest. + :type name: str + """ + self._name = name + + @property + def description(self): + """Gets the description of this ListApisRequest. + + 根据API描述信息模糊查询。 + + :return: The description of this ListApisRequest. + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this ListApisRequest. + + 根据API描述信息模糊查询。 + + :param description: The description of this ListApisRequest. + :type description: str + """ + self._description = description + + @property + def create_user(self): + """Gets the create_user of this ListApisRequest. + + 根据API创建用户模糊查询。 + + :return: The create_user of this ListApisRequest. + :rtype: str + """ + return self._create_user + + @create_user.setter + def create_user(self, create_user): + """Sets the create_user of this ListApisRequest. + + 根据API创建用户模糊查询。 + + :param create_user: The create_user of this ListApisRequest. + :type create_user: str + """ + self._create_user = create_user + + @property + def start_time(self): + """Gets the start_time of this ListApisRequest. + + 根据API创建时间过滤,开始时间,如2024-02-24T16:00:00.000Z。 + + :return: The start_time of this ListApisRequest. + :rtype: str + """ + return self._start_time + + @start_time.setter + def start_time(self, start_time): + """Sets the start_time of this ListApisRequest. + + 根据API创建时间过滤,开始时间,如2024-02-24T16:00:00.000Z。 + + :param start_time: The start_time of this ListApisRequest. + :type start_time: str + """ + self._start_time = start_time + + @property + def end_time(self): + """Gets the end_time of this ListApisRequest. + + 根据API创建时间过滤,结束时间,如2024-04-05T15:59:59.998Z。 + + :return: The end_time of this ListApisRequest. + :rtype: str + """ + return self._end_time + + @end_time.setter + def end_time(self, end_time): + """Sets the end_time of this ListApisRequest. + + 根据API创建时间过滤,结束时间,如2024-04-05T15:59:59.998Z。 + + :param end_time: The end_time of this ListApisRequest. + :type end_time: str + """ + self._end_time = end_time + + @property + def tags(self): + """Gets the tags of this ListApisRequest. + + 标签。 + + :return: The tags of this ListApisRequest. + :rtype: list[str] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this ListApisRequest. + + 标签。 + + :param tags: The tags of this ListApisRequest. + :type tags: list[str] + """ + self._tags = tags + + @property + def api_type(self): + """Gets the api_type of this ListApisRequest. + + API类型。 + + :return: The api_type of this ListApisRequest. + :rtype: str + """ + return self._api_type + + @api_type.setter + def api_type(self, api_type): + """Sets the api_type of this ListApisRequest. + + API类型。 + + :param api_type: The api_type of this ListApisRequest. + :type api_type: str + """ + self._api_type = api_type + + @property + def publish_status(self): + """Gets the publish_status of this ListApisRequest. + + API发布状态。 + + :return: The publish_status of this ListApisRequest. + :rtype: str + """ + return self._publish_status + + @publish_status.setter + def publish_status(self, publish_status): + """Sets the publish_status of this ListApisRequest. + + API发布状态。 + + :param publish_status: The publish_status of this ListApisRequest. + :type publish_status: str + """ + self._publish_status = publish_status + + @property + def table_name(self): + """Gets the table_name of this ListApisRequest. + + 根据API用到的数据库表名模糊查询。 + + :return: The table_name of this ListApisRequest. + :rtype: str + """ + return self._table_name + + @table_name.setter + def table_name(self, table_name): + """Sets the table_name of this ListApisRequest. + + 根据API用到的数据库表名模糊查询。 + + :param table_name: The table_name of this ListApisRequest. + :type table_name: str + """ + self._table_name = table_name + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_apis_top_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_apis_top_request.py index b66f210747..6e49e66f3a 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_apis_top_request.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_apis_top_request.py @@ -43,21 +43,21 @@ def __init__(self, workspace=None, dlm_type=None, instance_id=None, start_time=N The model defined in huaweicloud sdk - :param workspace: 工作空间id + :param workspace: 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :type workspace: str - :param dlm_type: dlm版本类型 + :param dlm_type: 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :type dlm_type: str - :param instance_id: 集群编号 + :param instance_id: 集群编号。 :type instance_id: str - :param start_time: 开始时间(13位时间戳) + :param start_time: 开始时间(13位时间戳)。 :type start_time: int - :param end_time: 结束时间(13位时间戳) + :param end_time: 结束时间(13位时间戳)。 :type end_time: int - :param time_unit: 时间单位 + :param time_unit: 时间单位。 :type time_unit: str - :param top_num: 前几名 + :param top_num: 前几名。 :type top_num: int - :param order_by: 排序条件 + :param order_by: 排序条件。 :type order_by: str """ @@ -88,7 +88,7 @@ def __init__(self, workspace=None, dlm_type=None, instance_id=None, start_time=N def workspace(self): """Gets the workspace of this ListApisTopRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :return: The workspace of this ListApisTopRequest. :rtype: str @@ -99,7 +99,7 @@ def workspace(self): def workspace(self, workspace): """Sets the workspace of this ListApisTopRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :param workspace: The workspace of this ListApisTopRequest. :type workspace: str @@ -110,7 +110,7 @@ def workspace(self, workspace): def dlm_type(self): """Gets the dlm_type of this ListApisTopRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :return: The dlm_type of this ListApisTopRequest. :rtype: str @@ -121,7 +121,7 @@ def dlm_type(self): def dlm_type(self, dlm_type): """Sets the dlm_type of this ListApisTopRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :param dlm_type: The dlm_type of this ListApisTopRequest. :type dlm_type: str @@ -132,7 +132,7 @@ def dlm_type(self, dlm_type): def instance_id(self): """Gets the instance_id of this ListApisTopRequest. - 集群编号 + 集群编号。 :return: The instance_id of this ListApisTopRequest. :rtype: str @@ -143,7 +143,7 @@ def instance_id(self): def instance_id(self, instance_id): """Sets the instance_id of this ListApisTopRequest. - 集群编号 + 集群编号。 :param instance_id: The instance_id of this ListApisTopRequest. :type instance_id: str @@ -154,7 +154,7 @@ def instance_id(self, instance_id): def start_time(self): """Gets the start_time of this ListApisTopRequest. - 开始时间(13位时间戳) + 开始时间(13位时间戳)。 :return: The start_time of this ListApisTopRequest. :rtype: int @@ -165,7 +165,7 @@ def start_time(self): def start_time(self, start_time): """Sets the start_time of this ListApisTopRequest. - 开始时间(13位时间戳) + 开始时间(13位时间戳)。 :param start_time: The start_time of this ListApisTopRequest. :type start_time: int @@ -176,7 +176,7 @@ def start_time(self, start_time): def end_time(self): """Gets the end_time of this ListApisTopRequest. - 结束时间(13位时间戳) + 结束时间(13位时间戳)。 :return: The end_time of this ListApisTopRequest. :rtype: int @@ -187,7 +187,7 @@ def end_time(self): def end_time(self, end_time): """Sets the end_time of this ListApisTopRequest. - 结束时间(13位时间戳) + 结束时间(13位时间戳)。 :param end_time: The end_time of this ListApisTopRequest. :type end_time: int @@ -198,7 +198,7 @@ def end_time(self, end_time): def time_unit(self): """Gets the time_unit of this ListApisTopRequest. - 时间单位 + 时间单位。 :return: The time_unit of this ListApisTopRequest. :rtype: str @@ -209,7 +209,7 @@ def time_unit(self): def time_unit(self, time_unit): """Sets the time_unit of this ListApisTopRequest. - 时间单位 + 时间单位。 :param time_unit: The time_unit of this ListApisTopRequest. :type time_unit: str @@ -220,7 +220,7 @@ def time_unit(self, time_unit): def top_num(self): """Gets the top_num of this ListApisTopRequest. - 前几名 + 前几名。 :return: The top_num of this ListApisTopRequest. :rtype: int @@ -231,7 +231,7 @@ def top_num(self): def top_num(self, top_num): """Sets the top_num of this ListApisTopRequest. - 前几名 + 前几名。 :param top_num: The top_num of this ListApisTopRequest. :type top_num: int @@ -242,7 +242,7 @@ def top_num(self, top_num): def order_by(self): """Gets the order_by of this ListApisTopRequest. - 排序条件 + 排序条件。 :return: The order_by of this ListApisTopRequest. :rtype: str @@ -253,7 +253,7 @@ def order_by(self): def order_by(self, order_by): """Sets the order_by of this ListApisTopRequest. - 排序条件 + 排序条件。 :param order_by: The order_by of this ListApisTopRequest. :type order_by: str diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_apply_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_apply_request.py index af59448472..b4a06de5d8 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_apply_request.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_apply_request.py @@ -39,17 +39,17 @@ def __init__(self, workspace=None, dlm_type=None, offset=None, limit=None, api_n The model defined in huaweicloud sdk - :param workspace: 工作空间id + :param workspace: 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :type workspace: str - :param dlm_type: dlm版本类型 + :param dlm_type: 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :type dlm_type: str :param offset: 查询起始坐标, 即跳过前X条数据。仅支持0或limit的整数倍,不满足则向下取整。 :type offset: int - :param limit: 查询条数, 即查询Y条数据 + :param limit: 查询条数, 即查询Y条数据。 :type limit: int - :param api_name: api名称 + :param api_name: api名称。 :type api_name: str - :param query_type: 查询类型, 0:收到的申请(待审核), 1:收到的申请(已审核), 2:发出的申请(开发), 3:发出的申请(调用) + :param query_type: 查询类型, 0:收到的申请(待审核), 1:收到的申请(已审核), 2:发出的申请(开发), 3:发出的申请(调用)。 :type query_type: int """ @@ -79,7 +79,7 @@ def __init__(self, workspace=None, dlm_type=None, offset=None, limit=None, api_n def workspace(self): """Gets the workspace of this ListApplyRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :return: The workspace of this ListApplyRequest. :rtype: str @@ -90,7 +90,7 @@ def workspace(self): def workspace(self, workspace): """Sets the workspace of this ListApplyRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :param workspace: The workspace of this ListApplyRequest. :type workspace: str @@ -101,7 +101,7 @@ def workspace(self, workspace): def dlm_type(self): """Gets the dlm_type of this ListApplyRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :return: The dlm_type of this ListApplyRequest. :rtype: str @@ -112,7 +112,7 @@ def dlm_type(self): def dlm_type(self, dlm_type): """Sets the dlm_type of this ListApplyRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :param dlm_type: The dlm_type of this ListApplyRequest. :type dlm_type: str @@ -145,7 +145,7 @@ def offset(self, offset): def limit(self): """Gets the limit of this ListApplyRequest. - 查询条数, 即查询Y条数据 + 查询条数, 即查询Y条数据。 :return: The limit of this ListApplyRequest. :rtype: int @@ -156,7 +156,7 @@ def limit(self): def limit(self, limit): """Sets the limit of this ListApplyRequest. - 查询条数, 即查询Y条数据 + 查询条数, 即查询Y条数据。 :param limit: The limit of this ListApplyRequest. :type limit: int @@ -167,7 +167,7 @@ def limit(self, limit): def api_name(self): """Gets the api_name of this ListApplyRequest. - api名称 + api名称。 :return: The api_name of this ListApplyRequest. :rtype: str @@ -178,7 +178,7 @@ def api_name(self): def api_name(self, api_name): """Sets the api_name of this ListApplyRequest. - api名称 + api名称。 :param api_name: The api_name of this ListApplyRequest. :type api_name: str @@ -189,7 +189,7 @@ def api_name(self, api_name): def query_type(self): """Gets the query_type of this ListApplyRequest. - 查询类型, 0:收到的申请(待审核), 1:收到的申请(已审核), 2:发出的申请(开发), 3:发出的申请(调用) + 查询类型, 0:收到的申请(待审核), 1:收到的申请(已审核), 2:发出的申请(开发), 3:发出的申请(调用)。 :return: The query_type of this ListApplyRequest. :rtype: int @@ -200,7 +200,7 @@ def query_type(self): def query_type(self, query_type): """Sets the query_type of this ListApplyRequest. - 查询类型, 0:收到的申请(待审核), 1:收到的申请(已审核), 2:发出的申请(开发), 3:发出的申请(调用) + 查询类型, 0:收到的申请(待审核), 1:收到的申请(已审核), 2:发出的申请(开发), 3:发出的申请(调用)。 :param query_type: The query_type of this ListApplyRequest. :type query_type: int diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_apps_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_apps_request.py index cfc8930044..3ba8fb83a9 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_apps_request.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_apps_request.py @@ -39,17 +39,17 @@ def __init__(self, workspace=None, dlm_type=None, limit=None, offset=None, name= The model defined in huaweicloud sdk - :param workspace: 工作空间id + :param workspace: 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :type workspace: str - :param dlm_type: dlm版本类型 + :param dlm_type: 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :type dlm_type: str - :param limit: limit + :param limit: limit。 :type limit: int - :param offset: offset + :param offset: offset。 :type offset: int - :param name: 应用名称 + :param name: 应用名称。 :type name: str - :param app_type: 应用类型 + :param app_type: 应用类型。 :type app_type: str """ @@ -79,7 +79,7 @@ def __init__(self, workspace=None, dlm_type=None, limit=None, offset=None, name= def workspace(self): """Gets the workspace of this ListAppsRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :return: The workspace of this ListAppsRequest. :rtype: str @@ -90,7 +90,7 @@ def workspace(self): def workspace(self, workspace): """Sets the workspace of this ListAppsRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :param workspace: The workspace of this ListAppsRequest. :type workspace: str @@ -101,7 +101,7 @@ def workspace(self, workspace): def dlm_type(self): """Gets the dlm_type of this ListAppsRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :return: The dlm_type of this ListAppsRequest. :rtype: str @@ -112,7 +112,7 @@ def dlm_type(self): def dlm_type(self, dlm_type): """Sets the dlm_type of this ListAppsRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :param dlm_type: The dlm_type of this ListAppsRequest. :type dlm_type: str @@ -123,7 +123,7 @@ def dlm_type(self, dlm_type): def limit(self): """Gets the limit of this ListAppsRequest. - limit + limit。 :return: The limit of this ListAppsRequest. :rtype: int @@ -134,7 +134,7 @@ def limit(self): def limit(self, limit): """Sets the limit of this ListAppsRequest. - limit + limit。 :param limit: The limit of this ListAppsRequest. :type limit: int @@ -145,7 +145,7 @@ def limit(self, limit): def offset(self): """Gets the offset of this ListAppsRequest. - offset + offset。 :return: The offset of this ListAppsRequest. :rtype: int @@ -156,7 +156,7 @@ def offset(self): def offset(self, offset): """Sets the offset of this ListAppsRequest. - offset + offset。 :param offset: The offset of this ListAppsRequest. :type offset: int @@ -167,7 +167,7 @@ def offset(self, offset): def name(self): """Gets the name of this ListAppsRequest. - 应用名称 + 应用名称。 :return: The name of this ListAppsRequest. :rtype: str @@ -178,7 +178,7 @@ def name(self): def name(self, name): """Sets the name of this ListAppsRequest. - 应用名称 + 应用名称。 :param name: The name of this ListAppsRequest. :type name: str @@ -189,7 +189,7 @@ def name(self, name): def app_type(self): """Gets the app_type of this ListAppsRequest. - 应用类型 + 应用类型。 :return: The app_type of this ListAppsRequest. :rtype: str @@ -200,7 +200,7 @@ def app_type(self): def app_type(self, app_type): """Sets the app_type of this ListAppsRequest. - 应用类型 + 应用类型。 :param app_type: The app_type of this ListAppsRequest. :type app_type: str diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_apps_top_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_apps_top_request.py index 9c4ad41323..a9e9073f57 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_apps_top_request.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_apps_top_request.py @@ -41,17 +41,17 @@ def __init__(self, workspace=None, dlm_type=None, start_time=None, end_time=None The model defined in huaweicloud sdk - :param workspace: 工作空间id + :param workspace: 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :type workspace: str - :param dlm_type: dlm版本类型 + :param dlm_type: 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :type dlm_type: str - :param start_time: 开始时间(13位时间戳) + :param start_time: 开始时间(13位时间戳)。 :type start_time: int - :param end_time: 结束时间(13位时间戳) + :param end_time: 结束时间(13位时间戳)。 :type end_time: int - :param time_unit: 时间单位 + :param time_unit: 时间单位。 :type time_unit: str - :param top_num: 前几名 + :param top_num: 前几名。 :type top_num: int :param order_by: 排序条件 :type order_by: str @@ -81,7 +81,7 @@ def __init__(self, workspace=None, dlm_type=None, start_time=None, end_time=None def workspace(self): """Gets the workspace of this ListAppsTopRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :return: The workspace of this ListAppsTopRequest. :rtype: str @@ -92,7 +92,7 @@ def workspace(self): def workspace(self, workspace): """Sets the workspace of this ListAppsTopRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :param workspace: The workspace of this ListAppsTopRequest. :type workspace: str @@ -103,7 +103,7 @@ def workspace(self, workspace): def dlm_type(self): """Gets the dlm_type of this ListAppsTopRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :return: The dlm_type of this ListAppsTopRequest. :rtype: str @@ -114,7 +114,7 @@ def dlm_type(self): def dlm_type(self, dlm_type): """Sets the dlm_type of this ListAppsTopRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :param dlm_type: The dlm_type of this ListAppsTopRequest. :type dlm_type: str @@ -125,7 +125,7 @@ def dlm_type(self, dlm_type): def start_time(self): """Gets the start_time of this ListAppsTopRequest. - 开始时间(13位时间戳) + 开始时间(13位时间戳)。 :return: The start_time of this ListAppsTopRequest. :rtype: int @@ -136,7 +136,7 @@ def start_time(self): def start_time(self, start_time): """Sets the start_time of this ListAppsTopRequest. - 开始时间(13位时间戳) + 开始时间(13位时间戳)。 :param start_time: The start_time of this ListAppsTopRequest. :type start_time: int @@ -147,7 +147,7 @@ def start_time(self, start_time): def end_time(self): """Gets the end_time of this ListAppsTopRequest. - 结束时间(13位时间戳) + 结束时间(13位时间戳)。 :return: The end_time of this ListAppsTopRequest. :rtype: int @@ -158,7 +158,7 @@ def end_time(self): def end_time(self, end_time): """Sets the end_time of this ListAppsTopRequest. - 结束时间(13位时间戳) + 结束时间(13位时间戳)。 :param end_time: The end_time of this ListAppsTopRequest. :type end_time: int @@ -169,7 +169,7 @@ def end_time(self, end_time): def time_unit(self): """Gets the time_unit of this ListAppsTopRequest. - 时间单位 + 时间单位。 :return: The time_unit of this ListAppsTopRequest. :rtype: str @@ -180,7 +180,7 @@ def time_unit(self): def time_unit(self, time_unit): """Sets the time_unit of this ListAppsTopRequest. - 时间单位 + 时间单位。 :param time_unit: The time_unit of this ListAppsTopRequest. :type time_unit: str @@ -191,7 +191,7 @@ def time_unit(self, time_unit): def top_num(self): """Gets the top_num of this ListAppsTopRequest. - 前几名 + 前几名。 :return: The top_num of this ListAppsTopRequest. :rtype: int @@ -202,7 +202,7 @@ def top_num(self): def top_num(self, top_num): """Sets the top_num of this ListAppsTopRequest. - 前几名 + 前几名。 :param top_num: The top_num of this ListAppsTopRequest. :type top_num: int diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_catalog_list_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_catalog_list_request.py index 92a407184a..0466608a17 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_catalog_list_request.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_catalog_list_request.py @@ -37,15 +37,15 @@ def __init__(self, workspace=None, dlm_type=None, catalog_id=None, limit=None, o The model defined in huaweicloud sdk - :param workspace: 工作空间id + :param workspace: 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :type workspace: str - :param dlm_type: dlm版本类型 + :param dlm_type: 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :type dlm_type: str - :param catalog_id: 目录编号 + :param catalog_id: 目录编号。 :type catalog_id: str - :param limit: limit + :param limit: limit。 :type limit: int - :param offset: offset + :param offset: offset。 :type offset: int """ @@ -71,7 +71,7 @@ def __init__(self, workspace=None, dlm_type=None, catalog_id=None, limit=None, o def workspace(self): """Gets the workspace of this ListCatalogListRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :return: The workspace of this ListCatalogListRequest. :rtype: str @@ -82,7 +82,7 @@ def workspace(self): def workspace(self, workspace): """Sets the workspace of this ListCatalogListRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :param workspace: The workspace of this ListCatalogListRequest. :type workspace: str @@ -93,7 +93,7 @@ def workspace(self, workspace): def dlm_type(self): """Gets the dlm_type of this ListCatalogListRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :return: The dlm_type of this ListCatalogListRequest. :rtype: str @@ -104,7 +104,7 @@ def dlm_type(self): def dlm_type(self, dlm_type): """Sets the dlm_type of this ListCatalogListRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :param dlm_type: The dlm_type of this ListCatalogListRequest. :type dlm_type: str @@ -115,7 +115,7 @@ def dlm_type(self, dlm_type): def catalog_id(self): """Gets the catalog_id of this ListCatalogListRequest. - 目录编号 + 目录编号。 :return: The catalog_id of this ListCatalogListRequest. :rtype: str @@ -126,7 +126,7 @@ def catalog_id(self): def catalog_id(self, catalog_id): """Sets the catalog_id of this ListCatalogListRequest. - 目录编号 + 目录编号。 :param catalog_id: The catalog_id of this ListCatalogListRequest. :type catalog_id: str @@ -137,7 +137,7 @@ def catalog_id(self, catalog_id): def limit(self): """Gets the limit of this ListCatalogListRequest. - limit + limit。 :return: The limit of this ListCatalogListRequest. :rtype: int @@ -148,7 +148,7 @@ def limit(self): def limit(self, limit): """Sets the limit of this ListCatalogListRequest. - limit + limit。 :param limit: The limit of this ListCatalogListRequest. :type limit: int @@ -159,7 +159,7 @@ def limit(self, limit): def offset(self): """Gets the offset of this ListCatalogListRequest. - offset + offset。 :return: The offset of this ListCatalogListRequest. :rtype: int @@ -170,7 +170,7 @@ def offset(self): def offset(self, offset): """Sets the offset of this ListCatalogListRequest. - offset + offset。 :param offset: The offset of this ListCatalogListRequest. :type offset: int diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_instance_list_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_instance_list_request.py index 0319992377..8d94aa8224 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_instance_list_request.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_instance_list_request.py @@ -47,25 +47,25 @@ def __init__(self, workspace=None, dlm_type=None, api_id=None, action=None, show The model defined in huaweicloud sdk - :param workspace: 工作空间id + :param workspace: 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :type workspace: str - :param dlm_type: dlm版本类型 + :param dlm_type: 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :type dlm_type: str - :param api_id: api编号 + :param api_id: api编号。 :type api_id: str - :param action: api操作 + :param action: api操作。 :type action: str - :param show_all: 全部展示(包括不可执行当前操作的实例) + :param show_all: 全部展示(包括不可执行当前操作的实例)。 :type show_all: bool - :param check_status: 校验api状态 + :param check_status: 校验api状态。 :type check_status: bool - :param check_debug: 校验api调试状态 + :param check_debug: 校验api调试状态。 :type check_debug: bool - :param app_id: app编号(用于判断授权操作app可选的实例) + :param app_id: app编号(用于判断授权操作app可选的实例)。 :type app_id: str - :param limit: limit + :param limit: limit。 :type limit: int - :param offset: offset + :param offset: offset。 :type offset: int """ @@ -105,7 +105,7 @@ def __init__(self, workspace=None, dlm_type=None, api_id=None, action=None, show def workspace(self): """Gets the workspace of this ListInstanceListRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :return: The workspace of this ListInstanceListRequest. :rtype: str @@ -116,7 +116,7 @@ def workspace(self): def workspace(self, workspace): """Sets the workspace of this ListInstanceListRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :param workspace: The workspace of this ListInstanceListRequest. :type workspace: str @@ -127,7 +127,7 @@ def workspace(self, workspace): def dlm_type(self): """Gets the dlm_type of this ListInstanceListRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :return: The dlm_type of this ListInstanceListRequest. :rtype: str @@ -138,7 +138,7 @@ def dlm_type(self): def dlm_type(self, dlm_type): """Sets the dlm_type of this ListInstanceListRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :param dlm_type: The dlm_type of this ListInstanceListRequest. :type dlm_type: str @@ -149,7 +149,7 @@ def dlm_type(self, dlm_type): def api_id(self): """Gets the api_id of this ListInstanceListRequest. - api编号 + api编号。 :return: The api_id of this ListInstanceListRequest. :rtype: str @@ -160,7 +160,7 @@ def api_id(self): def api_id(self, api_id): """Sets the api_id of this ListInstanceListRequest. - api编号 + api编号。 :param api_id: The api_id of this ListInstanceListRequest. :type api_id: str @@ -171,7 +171,7 @@ def api_id(self, api_id): def action(self): """Gets the action of this ListInstanceListRequest. - api操作 + api操作。 :return: The action of this ListInstanceListRequest. :rtype: str @@ -182,7 +182,7 @@ def action(self): def action(self, action): """Sets the action of this ListInstanceListRequest. - api操作 + api操作。 :param action: The action of this ListInstanceListRequest. :type action: str @@ -193,7 +193,7 @@ def action(self, action): def show_all(self): """Gets the show_all of this ListInstanceListRequest. - 全部展示(包括不可执行当前操作的实例) + 全部展示(包括不可执行当前操作的实例)。 :return: The show_all of this ListInstanceListRequest. :rtype: bool @@ -204,7 +204,7 @@ def show_all(self): def show_all(self, show_all): """Sets the show_all of this ListInstanceListRequest. - 全部展示(包括不可执行当前操作的实例) + 全部展示(包括不可执行当前操作的实例)。 :param show_all: The show_all of this ListInstanceListRequest. :type show_all: bool @@ -215,7 +215,7 @@ def show_all(self, show_all): def check_status(self): """Gets the check_status of this ListInstanceListRequest. - 校验api状态 + 校验api状态。 :return: The check_status of this ListInstanceListRequest. :rtype: bool @@ -226,7 +226,7 @@ def check_status(self): def check_status(self, check_status): """Sets the check_status of this ListInstanceListRequest. - 校验api状态 + 校验api状态。 :param check_status: The check_status of this ListInstanceListRequest. :type check_status: bool @@ -237,7 +237,7 @@ def check_status(self, check_status): def check_debug(self): """Gets the check_debug of this ListInstanceListRequest. - 校验api调试状态 + 校验api调试状态。 :return: The check_debug of this ListInstanceListRequest. :rtype: bool @@ -248,7 +248,7 @@ def check_debug(self): def check_debug(self, check_debug): """Sets the check_debug of this ListInstanceListRequest. - 校验api调试状态 + 校验api调试状态。 :param check_debug: The check_debug of this ListInstanceListRequest. :type check_debug: bool @@ -259,7 +259,7 @@ def check_debug(self, check_debug): def app_id(self): """Gets the app_id of this ListInstanceListRequest. - app编号(用于判断授权操作app可选的实例) + app编号(用于判断授权操作app可选的实例)。 :return: The app_id of this ListInstanceListRequest. :rtype: str @@ -270,7 +270,7 @@ def app_id(self): def app_id(self, app_id): """Sets the app_id of this ListInstanceListRequest. - app编号(用于判断授权操作app可选的实例) + app编号(用于判断授权操作app可选的实例)。 :param app_id: The app_id of this ListInstanceListRequest. :type app_id: str @@ -281,7 +281,7 @@ def app_id(self, app_id): def limit(self): """Gets the limit of this ListInstanceListRequest. - limit + limit。 :return: The limit of this ListInstanceListRequest. :rtype: int @@ -292,7 +292,7 @@ def limit(self): def limit(self, limit): """Sets the limit of this ListInstanceListRequest. - limit + limit。 :param limit: The limit of this ListInstanceListRequest. :type limit: int @@ -303,7 +303,7 @@ def limit(self, limit): def offset(self): """Gets the offset of this ListInstanceListRequest. - offset + offset。 :return: The offset of this ListInstanceListRequest. :rtype: int @@ -314,7 +314,7 @@ def offset(self): def offset(self, offset): """Sets the offset of this ListInstanceListRequest. - offset + offset。 :param offset: The offset of this ListInstanceListRequest. :type offset: int diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_message_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_message_request.py index 92c3e98dbd..30e0a400e4 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_message_request.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_message_request.py @@ -37,15 +37,15 @@ def __init__(self, workspace=None, dlm_type=None, offset=None, limit=None, api_n The model defined in huaweicloud sdk - :param workspace: 工作空间id + :param workspace: 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :type workspace: str - :param dlm_type: dlm版本类型 + :param dlm_type: 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :type dlm_type: str :param offset: 查询起始坐标, 即跳过前X条数据。仅支持0或limit的整数倍,不满足则向下取整。 :type offset: int - :param limit: 查询条数, 即查询Y条数据 + :param limit: 查询条数, 即查询Y条数据。 :type limit: int - :param api_name: api名称 + :param api_name: api名称。 :type api_name: str """ @@ -72,7 +72,7 @@ def __init__(self, workspace=None, dlm_type=None, offset=None, limit=None, api_n def workspace(self): """Gets the workspace of this ListMessageRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :return: The workspace of this ListMessageRequest. :rtype: str @@ -83,7 +83,7 @@ def workspace(self): def workspace(self, workspace): """Sets the workspace of this ListMessageRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :param workspace: The workspace of this ListMessageRequest. :type workspace: str @@ -94,7 +94,7 @@ def workspace(self, workspace): def dlm_type(self): """Gets the dlm_type of this ListMessageRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :return: The dlm_type of this ListMessageRequest. :rtype: str @@ -105,7 +105,7 @@ def dlm_type(self): def dlm_type(self, dlm_type): """Sets the dlm_type of this ListMessageRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :param dlm_type: The dlm_type of this ListMessageRequest. :type dlm_type: str @@ -138,7 +138,7 @@ def offset(self, offset): def limit(self): """Gets the limit of this ListMessageRequest. - 查询条数, 即查询Y条数据 + 查询条数, 即查询Y条数据。 :return: The limit of this ListMessageRequest. :rtype: int @@ -149,7 +149,7 @@ def limit(self): def limit(self, limit): """Sets the limit of this ListMessageRequest. - 查询条数, 即查询Y条数据 + 查询条数, 即查询Y条数据。 :param limit: The limit of this ListMessageRequest. :type limit: int @@ -160,7 +160,7 @@ def limit(self, limit): def api_name(self): """Gets the api_name of this ListMessageRequest. - api名称 + api名称。 :return: The api_name of this ListMessageRequest. :rtype: str @@ -171,7 +171,7 @@ def api_name(self): def api_name(self, api_name): """Sets the api_name of this ListMessageRequest. - api名称 + api名称。 :param api_name: The api_name of this ListMessageRequest. :type api_name: str diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_security_dlf_data_ware_houses_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_security_dlf_data_ware_houses_request.py new file mode 100644 index 0000000000..027bbf5a4b --- /dev/null +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_security_dlf_data_ware_houses_request.py @@ -0,0 +1,114 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ListSecurityDlfDataWareHousesRequest: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'workspace': 'str' + } + + attribute_map = { + 'workspace': 'workspace' + } + + def __init__(self, workspace=None): + """ListSecurityDlfDataWareHousesRequest + + The model defined in huaweicloud sdk + + :param workspace: DataArts Studio工作空间ID + :type workspace: str + """ + + + + self._workspace = None + self.discriminator = None + + self.workspace = workspace + + @property + def workspace(self): + """Gets the workspace of this ListSecurityDlfDataWareHousesRequest. + + DataArts Studio工作空间ID + + :return: The workspace of this ListSecurityDlfDataWareHousesRequest. + :rtype: str + """ + return self._workspace + + @workspace.setter + def workspace(self, workspace): + """Sets the workspace of this ListSecurityDlfDataWareHousesRequest. + + DataArts Studio工作空间ID + + :param workspace: The workspace of this ListSecurityDlfDataWareHousesRequest. + :type workspace: str + """ + self._workspace = workspace + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ListSecurityDlfDataWareHousesRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_security_dlf_data_ware_houses_response.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_security_dlf_data_ware_houses_response.py new file mode 100644 index 0000000000..a6f282795a --- /dev/null +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_security_dlf_data_ware_houses_response.py @@ -0,0 +1,116 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_response import SdkResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ListSecurityDlfDataWareHousesResponse(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 = { + 'dw_lists': 'list[DataWareHouseDTO]' + } + + attribute_map = { + 'dw_lists': 'dw_lists' + } + + def __init__(self, dw_lists=None): + """ListSecurityDlfDataWareHousesResponse + + The model defined in huaweicloud sdk + + :param dw_lists: 数据开发细粒度连接列表 + :type dw_lists: list[:class:`huaweicloudsdkdataartsstudio.v1.DataWareHouseDTO`] + """ + + super(ListSecurityDlfDataWareHousesResponse, self).__init__() + + self._dw_lists = None + self.discriminator = None + + if dw_lists is not None: + self.dw_lists = dw_lists + + @property + def dw_lists(self): + """Gets the dw_lists of this ListSecurityDlfDataWareHousesResponse. + + 数据开发细粒度连接列表 + + :return: The dw_lists of this ListSecurityDlfDataWareHousesResponse. + :rtype: list[:class:`huaweicloudsdkdataartsstudio.v1.DataWareHouseDTO`] + """ + return self._dw_lists + + @dw_lists.setter + def dw_lists(self, dw_lists): + """Sets the dw_lists of this ListSecurityDlfDataWareHousesResponse. + + 数据开发细粒度连接列表 + + :param dw_lists: The dw_lists of this ListSecurityDlfDataWareHousesResponse. + :type dw_lists: list[:class:`huaweicloudsdkdataartsstudio.v1.DataWareHouseDTO`] + """ + self._dw_lists = dw_lists + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ListSecurityDlfDataWareHousesResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_security_sensitive_data_overviews_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_security_sensitive_data_overviews_request.py new file mode 100644 index 0000000000..756d398774 --- /dev/null +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_security_sensitive_data_overviews_request.py @@ -0,0 +1,259 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ListSecuritySensitiveDataOverviewsRequest: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'workspace': 'str', + 'datasource': 'str', + 'cluster_name': 'str', + 'database_name': 'str', + 'schema_name': 'str', + 'table_name': 'str' + } + + attribute_map = { + 'workspace': 'workspace', + 'datasource': 'datasource', + 'cluster_name': 'cluster_name', + 'database_name': 'database_name', + 'schema_name': 'schema_name', + 'table_name': 'table_name' + } + + def __init__(self, workspace=None, datasource=None, cluster_name=None, database_name=None, schema_name=None, table_name=None): + """ListSecuritySensitiveDataOverviewsRequest + + The model defined in huaweicloud sdk + + :param workspace: DataArts Studio工作空间ID + :type workspace: str + :param datasource: 数据源类型,HIVE数据源,DWS数据源,DLI数据源 + :type datasource: str + :param cluster_name: 集群名称 + :type cluster_name: str + :param database_name: 数据库名称 + :type database_name: str + :param schema_name: schema名称 + :type schema_name: str + :param table_name: 表名称 + :type table_name: str + """ + + + + self._workspace = None + self._datasource = None + self._cluster_name = None + self._database_name = None + self._schema_name = None + self._table_name = None + self.discriminator = None + + self.workspace = workspace + if datasource is not None: + self.datasource = datasource + if cluster_name is not None: + self.cluster_name = cluster_name + if database_name is not None: + self.database_name = database_name + if schema_name is not None: + self.schema_name = schema_name + if table_name is not None: + self.table_name = table_name + + @property + def workspace(self): + """Gets the workspace of this ListSecuritySensitiveDataOverviewsRequest. + + DataArts Studio工作空间ID + + :return: The workspace of this ListSecuritySensitiveDataOverviewsRequest. + :rtype: str + """ + return self._workspace + + @workspace.setter + def workspace(self, workspace): + """Sets the workspace of this ListSecuritySensitiveDataOverviewsRequest. + + DataArts Studio工作空间ID + + :param workspace: The workspace of this ListSecuritySensitiveDataOverviewsRequest. + :type workspace: str + """ + self._workspace = workspace + + @property + def datasource(self): + """Gets the datasource of this ListSecuritySensitiveDataOverviewsRequest. + + 数据源类型,HIVE数据源,DWS数据源,DLI数据源 + + :return: The datasource of this ListSecuritySensitiveDataOverviewsRequest. + :rtype: str + """ + return self._datasource + + @datasource.setter + def datasource(self, datasource): + """Sets the datasource of this ListSecuritySensitiveDataOverviewsRequest. + + 数据源类型,HIVE数据源,DWS数据源,DLI数据源 + + :param datasource: The datasource of this ListSecuritySensitiveDataOverviewsRequest. + :type datasource: str + """ + self._datasource = datasource + + @property + def cluster_name(self): + """Gets the cluster_name of this ListSecuritySensitiveDataOverviewsRequest. + + 集群名称 + + :return: The cluster_name of this ListSecuritySensitiveDataOverviewsRequest. + :rtype: str + """ + return self._cluster_name + + @cluster_name.setter + def cluster_name(self, cluster_name): + """Sets the cluster_name of this ListSecuritySensitiveDataOverviewsRequest. + + 集群名称 + + :param cluster_name: The cluster_name of this ListSecuritySensitiveDataOverviewsRequest. + :type cluster_name: str + """ + self._cluster_name = cluster_name + + @property + def database_name(self): + """Gets the database_name of this ListSecuritySensitiveDataOverviewsRequest. + + 数据库名称 + + :return: The database_name of this ListSecuritySensitiveDataOverviewsRequest. + :rtype: str + """ + return self._database_name + + @database_name.setter + def database_name(self, database_name): + """Sets the database_name of this ListSecuritySensitiveDataOverviewsRequest. + + 数据库名称 + + :param database_name: The database_name of this ListSecuritySensitiveDataOverviewsRequest. + :type database_name: str + """ + self._database_name = database_name + + @property + def schema_name(self): + """Gets the schema_name of this ListSecuritySensitiveDataOverviewsRequest. + + schema名称 + + :return: The schema_name of this ListSecuritySensitiveDataOverviewsRequest. + :rtype: str + """ + return self._schema_name + + @schema_name.setter + def schema_name(self, schema_name): + """Sets the schema_name of this ListSecuritySensitiveDataOverviewsRequest. + + schema名称 + + :param schema_name: The schema_name of this ListSecuritySensitiveDataOverviewsRequest. + :type schema_name: str + """ + self._schema_name = schema_name + + @property + def table_name(self): + """Gets the table_name of this ListSecuritySensitiveDataOverviewsRequest. + + 表名称 + + :return: The table_name of this ListSecuritySensitiveDataOverviewsRequest. + :rtype: str + """ + return self._table_name + + @table_name.setter + def table_name(self, table_name): + """Sets the table_name of this ListSecuritySensitiveDataOverviewsRequest. + + 表名称 + + :param table_name: The table_name of this ListSecuritySensitiveDataOverviewsRequest. + :type table_name: str + """ + self._table_name = table_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, ListSecuritySensitiveDataOverviewsRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_security_sensitive_data_overviews_response.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_security_sensitive_data_overviews_response.py new file mode 100644 index 0000000000..e3adefb621 --- /dev/null +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/list_security_sensitive_data_overviews_response.py @@ -0,0 +1,145 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_response import SdkResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ListSecuritySensitiveDataOverviewsResponse(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 = { + 'secrecy_level_statistics': 'list[SensitiveDataSecrecyLevelOverviewQueryDTO]', + 'category_statistics': 'list[SensitiveDataCategoryOverviewQueryDTO]' + } + + attribute_map = { + 'secrecy_level_statistics': 'secrecy_level_statistics', + 'category_statistics': 'category_statistics' + } + + def __init__(self, secrecy_level_statistics=None, category_statistics=None): + """ListSecuritySensitiveDataOverviewsResponse + + The model defined in huaweicloud sdk + + :param secrecy_level_statistics: 基于密级的概览统计 + :type secrecy_level_statistics: list[:class:`huaweicloudsdkdataartsstudio.v1.SensitiveDataSecrecyLevelOverviewQueryDTO`] + :param category_statistics: 基于分类的概览统计 + :type category_statistics: list[:class:`huaweicloudsdkdataartsstudio.v1.SensitiveDataCategoryOverviewQueryDTO`] + """ + + super(ListSecuritySensitiveDataOverviewsResponse, self).__init__() + + self._secrecy_level_statistics = None + self._category_statistics = None + self.discriminator = None + + if secrecy_level_statistics is not None: + self.secrecy_level_statistics = secrecy_level_statistics + if category_statistics is not None: + self.category_statistics = category_statistics + + @property + def secrecy_level_statistics(self): + """Gets the secrecy_level_statistics of this ListSecuritySensitiveDataOverviewsResponse. + + 基于密级的概览统计 + + :return: The secrecy_level_statistics of this ListSecuritySensitiveDataOverviewsResponse. + :rtype: list[:class:`huaweicloudsdkdataartsstudio.v1.SensitiveDataSecrecyLevelOverviewQueryDTO`] + """ + return self._secrecy_level_statistics + + @secrecy_level_statistics.setter + def secrecy_level_statistics(self, secrecy_level_statistics): + """Sets the secrecy_level_statistics of this ListSecuritySensitiveDataOverviewsResponse. + + 基于密级的概览统计 + + :param secrecy_level_statistics: The secrecy_level_statistics of this ListSecuritySensitiveDataOverviewsResponse. + :type secrecy_level_statistics: list[:class:`huaweicloudsdkdataartsstudio.v1.SensitiveDataSecrecyLevelOverviewQueryDTO`] + """ + self._secrecy_level_statistics = secrecy_level_statistics + + @property + def category_statistics(self): + """Gets the category_statistics of this ListSecuritySensitiveDataOverviewsResponse. + + 基于分类的概览统计 + + :return: The category_statistics of this ListSecuritySensitiveDataOverviewsResponse. + :rtype: list[:class:`huaweicloudsdkdataartsstudio.v1.SensitiveDataCategoryOverviewQueryDTO`] + """ + return self._category_statistics + + @category_statistics.setter + def category_statistics(self, category_statistics): + """Sets the category_statistics of this ListSecuritySensitiveDataOverviewsResponse. + + 基于分类的概览统计 + + :param category_statistics: The category_statistics of this ListSecuritySensitiveDataOverviewsResponse. + :type category_statistics: list[:class:`huaweicloudsdkdataartsstudio.v1.SensitiveDataCategoryOverviewQueryDTO`] + """ + self._category_statistics = category_statistics + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ListSecuritySensitiveDataOverviewsResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/migrate_api_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/migrate_api_request.py index 98175fd85e..d913f0995f 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/migrate_api_request.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/migrate_api_request.py @@ -33,9 +33,9 @@ def __init__(self, workspace=None, dlm_type=None, body=None): The model defined in huaweicloud sdk - :param workspace: 工作空间id + :param workspace: 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :type workspace: str - :param dlm_type: dlm版本类型 + :param dlm_type: 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :type dlm_type: str :param body: Body of the MigrateApiRequest :type body: :class:`huaweicloudsdkdataartsstudio.v1.ApiMoveParaDTO` @@ -58,7 +58,7 @@ def __init__(self, workspace=None, dlm_type=None, body=None): def workspace(self): """Gets the workspace of this MigrateApiRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :return: The workspace of this MigrateApiRequest. :rtype: str @@ -69,7 +69,7 @@ def workspace(self): def workspace(self, workspace): """Sets the workspace of this MigrateApiRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :param workspace: The workspace of this MigrateApiRequest. :type workspace: str @@ -80,7 +80,7 @@ def workspace(self, workspace): def dlm_type(self): """Gets the dlm_type of this MigrateApiRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :return: The dlm_type of this MigrateApiRequest. :rtype: str @@ -91,7 +91,7 @@ def dlm_type(self): def dlm_type(self, dlm_type): """Sets the dlm_type of this MigrateApiRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :param dlm_type: The dlm_type of this MigrateApiRequest. :type dlm_type: str diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/migrate_catalog_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/migrate_catalog_request.py index 8a0cfddd80..d95d7a4f1c 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/migrate_catalog_request.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/migrate_catalog_request.py @@ -35,11 +35,11 @@ def __init__(self, workspace=None, dlm_type=None, catalog_id=None, body=None): The model defined in huaweicloud sdk - :param workspace: 工作空间id + :param workspace: 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :type workspace: str - :param dlm_type: dlm版本类型 + :param dlm_type: 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :type dlm_type: str - :param catalog_id: 目录编号 + :param catalog_id: 目录编号。 :type catalog_id: str :param body: Body of the MigrateCatalogRequest :type body: :class:`huaweicloudsdkdataartsstudio.v1.CatalogMoveParaDTO` @@ -64,7 +64,7 @@ def __init__(self, workspace=None, dlm_type=None, catalog_id=None, body=None): def workspace(self): """Gets the workspace of this MigrateCatalogRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :return: The workspace of this MigrateCatalogRequest. :rtype: str @@ -75,7 +75,7 @@ def workspace(self): def workspace(self, workspace): """Sets the workspace of this MigrateCatalogRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :param workspace: The workspace of this MigrateCatalogRequest. :type workspace: str @@ -86,7 +86,7 @@ def workspace(self, workspace): def dlm_type(self): """Gets the dlm_type of this MigrateCatalogRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :return: The dlm_type of this MigrateCatalogRequest. :rtype: str @@ -97,7 +97,7 @@ def dlm_type(self): def dlm_type(self, dlm_type): """Sets the dlm_type of this MigrateCatalogRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :param dlm_type: The dlm_type of this MigrateCatalogRequest. :type dlm_type: str @@ -108,7 +108,7 @@ def dlm_type(self, dlm_type): def catalog_id(self): """Gets the catalog_id of this MigrateCatalogRequest. - 目录编号 + 目录编号。 :return: The catalog_id of this MigrateCatalogRequest. :rtype: str @@ -119,7 +119,7 @@ def catalog_id(self): def catalog_id(self, catalog_id): """Sets the catalog_id of this MigrateCatalogRequest. - 目录编号 + 目录编号。 :param catalog_id: The catalog_id of this MigrateCatalogRequest. :type catalog_id: str diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/open_api_para_for_publish.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/open_api_para_for_publish.py deleted file mode 100644 index fc2d0712a7..0000000000 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/open_api_para_for_publish.py +++ /dev/null @@ -1,173 +0,0 @@ -# coding: utf-8 - -import six - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class OpenApiParaForPublish: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - 'api_id': 'str', - 'action': 'str', - 'time': 'str' - } - - attribute_map = { - 'api_id': 'api_id', - 'action': 'action', - 'time': 'time' - } - - def __init__(self, api_id=None, action=None, time=None): - """OpenApiParaForPublish - - The model defined in huaweicloud sdk - - :param api_id: api编号 - :type api_id: str - :param action: 操作类型, 包括发布/下线/停用/恢复 - :type action: str - :param time: 截止时间。仅定期执行需要此参数,默认服务器当前时间三天后。 - :type time: str - """ - - - - self._api_id = None - self._action = None - self._time = None - self.discriminator = None - - if api_id is not None: - self.api_id = api_id - if action is not None: - self.action = action - if time is not None: - self.time = time - - @property - def api_id(self): - """Gets the api_id of this OpenApiParaForPublish. - - api编号 - - :return: The api_id of this OpenApiParaForPublish. - :rtype: str - """ - return self._api_id - - @api_id.setter - def api_id(self, api_id): - """Sets the api_id of this OpenApiParaForPublish. - - api编号 - - :param api_id: The api_id of this OpenApiParaForPublish. - :type api_id: str - """ - self._api_id = api_id - - @property - def action(self): - """Gets the action of this OpenApiParaForPublish. - - 操作类型, 包括发布/下线/停用/恢复 - - :return: The action of this OpenApiParaForPublish. - :rtype: str - """ - return self._action - - @action.setter - def action(self, action): - """Sets the action of this OpenApiParaForPublish. - - 操作类型, 包括发布/下线/停用/恢复 - - :param action: The action of this OpenApiParaForPublish. - :type action: str - """ - self._action = action - - @property - def time(self): - """Gets the time of this OpenApiParaForPublish. - - 截止时间。仅定期执行需要此参数,默认服务器当前时间三天后。 - - :return: The time of this OpenApiParaForPublish. - :rtype: str - """ - return self._time - - @time.setter - def time(self, time): - """Sets the time of this OpenApiParaForPublish. - - 截止时间。仅定期执行需要此参数,默认服务器当前时间三天后。 - - :param time: The time of this OpenApiParaForPublish. - :type time: str - """ - self._time = 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, OpenApiParaForPublish): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/publish_api_to_instance_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/publish_api_to_instance_request.py index 67d64e49ee..caaac4ab29 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/publish_api_to_instance_request.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/publish_api_to_instance_request.py @@ -37,13 +37,13 @@ def __init__(self, workspace=None, dlm_type=None, api_id=None, instance_id=None, The model defined in huaweicloud sdk - :param workspace: 工作空间id + :param workspace: 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :type workspace: str - :param dlm_type: dlm版本类型 + :param dlm_type: 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :type dlm_type: str - :param api_id: api编号 + :param api_id: api编号。 :type api_id: str - :param instance_id: 集群编号 + :param instance_id: 集群编号。 :type instance_id: str :param body: Body of the PublishApiToInstanceRequest :type body: :class:`huaweicloudsdkdataartsstudio.v1.GatewayDTO` @@ -70,7 +70,7 @@ def __init__(self, workspace=None, dlm_type=None, api_id=None, instance_id=None, def workspace(self): """Gets the workspace of this PublishApiToInstanceRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :return: The workspace of this PublishApiToInstanceRequest. :rtype: str @@ -81,7 +81,7 @@ def workspace(self): def workspace(self, workspace): """Sets the workspace of this PublishApiToInstanceRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :param workspace: The workspace of this PublishApiToInstanceRequest. :type workspace: str @@ -92,7 +92,7 @@ def workspace(self, workspace): def dlm_type(self): """Gets the dlm_type of this PublishApiToInstanceRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :return: The dlm_type of this PublishApiToInstanceRequest. :rtype: str @@ -103,7 +103,7 @@ def dlm_type(self): def dlm_type(self, dlm_type): """Sets the dlm_type of this PublishApiToInstanceRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :param dlm_type: The dlm_type of this PublishApiToInstanceRequest. :type dlm_type: str @@ -114,7 +114,7 @@ def dlm_type(self, dlm_type): def api_id(self): """Gets the api_id of this PublishApiToInstanceRequest. - api编号 + api编号。 :return: The api_id of this PublishApiToInstanceRequest. :rtype: str @@ -125,7 +125,7 @@ def api_id(self): def api_id(self, api_id): """Sets the api_id of this PublishApiToInstanceRequest. - api编号 + api编号。 :param api_id: The api_id of this PublishApiToInstanceRequest. :type api_id: str @@ -136,7 +136,7 @@ def api_id(self, api_id): def instance_id(self): """Gets the instance_id of this PublishApiToInstanceRequest. - 集群编号 + 集群编号。 :return: The instance_id of this PublishApiToInstanceRequest. :rtype: str @@ -147,7 +147,7 @@ def instance_id(self): def instance_id(self, instance_id): """Sets the instance_id of this PublishApiToInstanceRequest. - 集群编号 + 集群编号。 :param instance_id: The instance_id of this PublishApiToInstanceRequest. :type instance_id: str diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/search_authorize_app_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/search_authorize_app_request.py index 97af25f270..13afc76600 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/search_authorize_app_request.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/search_authorize_app_request.py @@ -37,15 +37,15 @@ def __init__(self, workspace=None, dlm_type=None, api_id=None, offset=None, limi The model defined in huaweicloud sdk - :param workspace: 工作空间id + :param workspace: 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :type workspace: str - :param dlm_type: dlm版本类型 + :param dlm_type: 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :type dlm_type: str - :param api_id: api编号 + :param api_id: api编号。 :type api_id: str :param offset: 查询起始坐标, 即跳过前X条数据。仅支持0或limit的整数倍,不满足则向下取整。 :type offset: int - :param limit: 查询条数, 即查询Y条数据 + :param limit: 查询条数, 即查询Y条数据。 :type limit: int """ @@ -71,7 +71,7 @@ def __init__(self, workspace=None, dlm_type=None, api_id=None, offset=None, limi def workspace(self): """Gets the workspace of this SearchAuthorizeAppRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :return: The workspace of this SearchAuthorizeAppRequest. :rtype: str @@ -82,7 +82,7 @@ def workspace(self): def workspace(self, workspace): """Sets the workspace of this SearchAuthorizeAppRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :param workspace: The workspace of this SearchAuthorizeAppRequest. :type workspace: str @@ -93,7 +93,7 @@ def workspace(self, workspace): def dlm_type(self): """Gets the dlm_type of this SearchAuthorizeAppRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :return: The dlm_type of this SearchAuthorizeAppRequest. :rtype: str @@ -104,7 +104,7 @@ def dlm_type(self): def dlm_type(self, dlm_type): """Sets the dlm_type of this SearchAuthorizeAppRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :param dlm_type: The dlm_type of this SearchAuthorizeAppRequest. :type dlm_type: str @@ -115,7 +115,7 @@ def dlm_type(self, dlm_type): def api_id(self): """Gets the api_id of this SearchAuthorizeAppRequest. - api编号 + api编号。 :return: The api_id of this SearchAuthorizeAppRequest. :rtype: str @@ -126,7 +126,7 @@ def api_id(self): def api_id(self, api_id): """Sets the api_id of this SearchAuthorizeAppRequest. - api编号 + api编号。 :param api_id: The api_id of this SearchAuthorizeAppRequest. :type api_id: str @@ -159,7 +159,7 @@ def offset(self, offset): def limit(self): """Gets the limit of this SearchAuthorizeAppRequest. - 查询条数, 即查询Y条数据 + 查询条数, 即查询Y条数据。 :return: The limit of this SearchAuthorizeAppRequest. :rtype: int @@ -170,7 +170,7 @@ def limit(self): def limit(self, limit): """Sets the limit of this SearchAuthorizeAppRequest. - 查询条数, 即查询Y条数据 + 查询条数, 即查询Y条数据。 :param limit: The limit of this SearchAuthorizeAppRequest. :type limit: int diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/search_bind_api_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/search_bind_api_request.py index 0e73005248..b1a0b85531 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/search_bind_api_request.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/search_bind_api_request.py @@ -37,15 +37,15 @@ def __init__(self, workspace=None, dlm_type=None, app_id=None, offset=None, limi The model defined in huaweicloud sdk - :param workspace: 工作空间id + :param workspace: 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :type workspace: str - :param dlm_type: dlm版本类型 + :param dlm_type: 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :type dlm_type: str - :param app_id: app编号 + :param app_id: app编号。 :type app_id: str - :param offset: 查询起始坐标, 即跳过前X条数据。仅支持0或limit的整数倍,不满足则向下取整 + :param offset: 查询起始坐标, 即跳过前X条数据。仅支持0或limit的整数倍,不满足则向下取整。 :type offset: int - :param limit: 查询条数, 即查询Y条数据 + :param limit: 查询条数, 即查询Y条数据。 :type limit: int """ @@ -71,7 +71,7 @@ def __init__(self, workspace=None, dlm_type=None, app_id=None, offset=None, limi def workspace(self): """Gets the workspace of this SearchBindApiRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :return: The workspace of this SearchBindApiRequest. :rtype: str @@ -82,7 +82,7 @@ def workspace(self): def workspace(self, workspace): """Sets the workspace of this SearchBindApiRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :param workspace: The workspace of this SearchBindApiRequest. :type workspace: str @@ -93,7 +93,7 @@ def workspace(self, workspace): def dlm_type(self): """Gets the dlm_type of this SearchBindApiRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :return: The dlm_type of this SearchBindApiRequest. :rtype: str @@ -104,7 +104,7 @@ def dlm_type(self): def dlm_type(self, dlm_type): """Sets the dlm_type of this SearchBindApiRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :param dlm_type: The dlm_type of this SearchBindApiRequest. :type dlm_type: str @@ -115,7 +115,7 @@ def dlm_type(self, dlm_type): def app_id(self): """Gets the app_id of this SearchBindApiRequest. - app编号 + app编号。 :return: The app_id of this SearchBindApiRequest. :rtype: str @@ -126,7 +126,7 @@ def app_id(self): def app_id(self, app_id): """Sets the app_id of this SearchBindApiRequest. - app编号 + app编号。 :param app_id: The app_id of this SearchBindApiRequest. :type app_id: str @@ -137,7 +137,7 @@ def app_id(self, app_id): def offset(self): """Gets the offset of this SearchBindApiRequest. - 查询起始坐标, 即跳过前X条数据。仅支持0或limit的整数倍,不满足则向下取整 + 查询起始坐标, 即跳过前X条数据。仅支持0或limit的整数倍,不满足则向下取整。 :return: The offset of this SearchBindApiRequest. :rtype: int @@ -148,7 +148,7 @@ def offset(self): def offset(self, offset): """Sets the offset of this SearchBindApiRequest. - 查询起始坐标, 即跳过前X条数据。仅支持0或limit的整数倍,不满足则向下取整 + 查询起始坐标, 即跳过前X条数据。仅支持0或limit的整数倍,不满足则向下取整。 :param offset: The offset of this SearchBindApiRequest. :type offset: int @@ -159,7 +159,7 @@ def offset(self, offset): def limit(self): """Gets the limit of this SearchBindApiRequest. - 查询条数, 即查询Y条数据 + 查询条数, 即查询Y条数据。 :return: The limit of this SearchBindApiRequest. :rtype: int @@ -170,7 +170,7 @@ def limit(self): def limit(self, limit): """Sets the limit of this SearchBindApiRequest. - 查询条数, 即查询Y条数据 + 查询条数, 即查询Y条数据。 :param limit: The limit of this SearchBindApiRequest. :type limit: int diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/search_debug_info_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/search_debug_info_request.py index 0b362ef1ed..6efafe4ba6 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/search_debug_info_request.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/search_debug_info_request.py @@ -37,15 +37,15 @@ def __init__(self, workspace=None, dlm_type=None, api_id=None, limit=None, offse The model defined in huaweicloud sdk - :param workspace: 工作空间id + :param workspace: 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :type workspace: str - :param dlm_type: dlm版本类型 + :param dlm_type: 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :type dlm_type: str - :param api_id: api编号 + :param api_id: api编号。 :type api_id: str - :param limit: limit + :param limit: limit。 :type limit: int - :param offset: offset + :param offset: offset。 :type offset: int """ @@ -71,7 +71,7 @@ def __init__(self, workspace=None, dlm_type=None, api_id=None, limit=None, offse def workspace(self): """Gets the workspace of this SearchDebugInfoRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :return: The workspace of this SearchDebugInfoRequest. :rtype: str @@ -82,7 +82,7 @@ def workspace(self): def workspace(self, workspace): """Sets the workspace of this SearchDebugInfoRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :param workspace: The workspace of this SearchDebugInfoRequest. :type workspace: str @@ -93,7 +93,7 @@ def workspace(self, workspace): def dlm_type(self): """Gets the dlm_type of this SearchDebugInfoRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :return: The dlm_type of this SearchDebugInfoRequest. :rtype: str @@ -104,7 +104,7 @@ def dlm_type(self): def dlm_type(self, dlm_type): """Sets the dlm_type of this SearchDebugInfoRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :param dlm_type: The dlm_type of this SearchDebugInfoRequest. :type dlm_type: str @@ -115,7 +115,7 @@ def dlm_type(self, dlm_type): def api_id(self): """Gets the api_id of this SearchDebugInfoRequest. - api编号 + api编号。 :return: The api_id of this SearchDebugInfoRequest. :rtype: str @@ -126,7 +126,7 @@ def api_id(self): def api_id(self, api_id): """Sets the api_id of this SearchDebugInfoRequest. - api编号 + api编号。 :param api_id: The api_id of this SearchDebugInfoRequest. :type api_id: str @@ -137,7 +137,7 @@ def api_id(self, api_id): def limit(self): """Gets the limit of this SearchDebugInfoRequest. - limit + limit。 :return: The limit of this SearchDebugInfoRequest. :rtype: int @@ -148,7 +148,7 @@ def limit(self): def limit(self, limit): """Sets the limit of this SearchDebugInfoRequest. - limit + limit。 :param limit: The limit of this SearchDebugInfoRequest. :type limit: int @@ -159,7 +159,7 @@ def limit(self, limit): def offset(self): """Gets the offset of this SearchDebugInfoRequest. - offset + offset。 :return: The offset of this SearchDebugInfoRequest. :rtype: int @@ -170,7 +170,7 @@ def offset(self): def offset(self, offset): """Sets the offset of this SearchDebugInfoRequest. - offset + offset。 :param offset: The offset of this SearchDebugInfoRequest. :type offset: int diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/search_id_by_path_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/search_id_by_path_request.py index 1655c433e4..11ca5df85a 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/search_id_by_path_request.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/search_id_by_path_request.py @@ -37,15 +37,15 @@ def __init__(self, workspace=None, dlm_type=None, path=None, limit=None, offset= The model defined in huaweicloud sdk - :param workspace: 工作空间id + :param workspace: 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :type workspace: str - :param dlm_type: dlm版本类型 + :param dlm_type: 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :type dlm_type: str - :param path: 路径 + :param path: 路径。 :type path: str - :param limit: limit + :param limit: limit。 :type limit: int - :param offset: offset + :param offset: offset。 :type offset: int """ @@ -71,7 +71,7 @@ def __init__(self, workspace=None, dlm_type=None, path=None, limit=None, offset= def workspace(self): """Gets the workspace of this SearchIdByPathRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :return: The workspace of this SearchIdByPathRequest. :rtype: str @@ -82,7 +82,7 @@ def workspace(self): def workspace(self, workspace): """Sets the workspace of this SearchIdByPathRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :param workspace: The workspace of this SearchIdByPathRequest. :type workspace: str @@ -93,7 +93,7 @@ def workspace(self, workspace): def dlm_type(self): """Gets the dlm_type of this SearchIdByPathRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :return: The dlm_type of this SearchIdByPathRequest. :rtype: str @@ -104,7 +104,7 @@ def dlm_type(self): def dlm_type(self, dlm_type): """Sets the dlm_type of this SearchIdByPathRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :param dlm_type: The dlm_type of this SearchIdByPathRequest. :type dlm_type: str @@ -115,7 +115,7 @@ def dlm_type(self, dlm_type): def path(self): """Gets the path of this SearchIdByPathRequest. - 路径 + 路径。 :return: The path of this SearchIdByPathRequest. :rtype: str @@ -126,7 +126,7 @@ def path(self): def path(self, path): """Sets the path of this SearchIdByPathRequest. - 路径 + 路径。 :param path: The path of this SearchIdByPathRequest. :type path: str @@ -137,7 +137,7 @@ def path(self, path): def limit(self): """Gets the limit of this SearchIdByPathRequest. - limit + limit。 :return: The limit of this SearchIdByPathRequest. :rtype: int @@ -148,7 +148,7 @@ def limit(self): def limit(self, limit): """Sets the limit of this SearchIdByPathRequest. - limit + limit。 :param limit: The limit of this SearchIdByPathRequest. :type limit: int @@ -159,7 +159,7 @@ def limit(self, limit): def offset(self): """Gets the offset of this SearchIdByPathRequest. - offset + offset。 :return: The offset of this SearchIdByPathRequest. :rtype: int @@ -170,7 +170,7 @@ def offset(self): def offset(self, offset): """Sets the offset of this SearchIdByPathRequest. - offset + offset。 :param offset: The offset of this SearchIdByPathRequest. :type offset: int diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/search_publish_info_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/search_publish_info_request.py index d6f14ba536..a5a09214c1 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/search_publish_info_request.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/search_publish_info_request.py @@ -37,15 +37,15 @@ def __init__(self, workspace=None, dlm_type=None, api_id=None, limit=None, offse The model defined in huaweicloud sdk - :param workspace: 工作空间id + :param workspace: 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :type workspace: str - :param dlm_type: dlm版本类型 + :param dlm_type: 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :type dlm_type: str - :param api_id: api编号 + :param api_id: api编号。 :type api_id: str - :param limit: limit + :param limit: limit。 :type limit: int - :param offset: offset + :param offset: offset。 :type offset: int """ @@ -71,7 +71,7 @@ def __init__(self, workspace=None, dlm_type=None, api_id=None, limit=None, offse def workspace(self): """Gets the workspace of this SearchPublishInfoRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :return: The workspace of this SearchPublishInfoRequest. :rtype: str @@ -82,7 +82,7 @@ def workspace(self): def workspace(self, workspace): """Sets the workspace of this SearchPublishInfoRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :param workspace: The workspace of this SearchPublishInfoRequest. :type workspace: str @@ -93,7 +93,7 @@ def workspace(self, workspace): def dlm_type(self): """Gets the dlm_type of this SearchPublishInfoRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :return: The dlm_type of this SearchPublishInfoRequest. :rtype: str @@ -104,7 +104,7 @@ def dlm_type(self): def dlm_type(self, dlm_type): """Sets the dlm_type of this SearchPublishInfoRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :param dlm_type: The dlm_type of this SearchPublishInfoRequest. :type dlm_type: str @@ -115,7 +115,7 @@ def dlm_type(self, dlm_type): def api_id(self): """Gets the api_id of this SearchPublishInfoRequest. - api编号 + api编号。 :return: The api_id of this SearchPublishInfoRequest. :rtype: str @@ -126,7 +126,7 @@ def api_id(self): def api_id(self, api_id): """Sets the api_id of this SearchPublishInfoRequest. - api编号 + api编号。 :param api_id: The api_id of this SearchPublishInfoRequest. :type api_id: str @@ -137,7 +137,7 @@ def api_id(self, api_id): def limit(self): """Gets the limit of this SearchPublishInfoRequest. - limit + limit。 :return: The limit of this SearchPublishInfoRequest. :rtype: int @@ -148,7 +148,7 @@ def limit(self): def limit(self, limit): """Sets the limit of this SearchPublishInfoRequest. - limit + limit。 :param limit: The limit of this SearchPublishInfoRequest. :type limit: int @@ -159,7 +159,7 @@ def limit(self, limit): def offset(self): """Gets the offset of this SearchPublishInfoRequest. - offset + offset。 :return: The offset of this SearchPublishInfoRequest. :rtype: int @@ -170,7 +170,7 @@ def offset(self): def offset(self, offset): """Sets the offset of this SearchPublishInfoRequest. - offset + offset。 :param offset: The offset of this SearchPublishInfoRequest. :type offset: int diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/sensitive_data_category_overview_query_dto.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/sensitive_data_category_overview_query_dto.py new file mode 100644 index 0000000000..6974193684 --- /dev/null +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/sensitive_data_category_overview_query_dto.py @@ -0,0 +1,289 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class SensitiveDataCategoryOverviewQueryDTO: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'root_id': 'str', + 'parent_id': 'str', + 'category_id': 'str', + 'category_name': 'str', + 'category_path': 'str', + 'count': 'int', + 'children': 'list[SensitiveDataCategoryOverviewQueryDTO]' + } + + attribute_map = { + 'root_id': 'root_id', + 'parent_id': 'parent_id', + 'category_id': 'category_id', + 'category_name': 'category_name', + 'category_path': 'category_path', + 'count': 'count', + 'children': 'children' + } + + def __init__(self, root_id=None, parent_id=None, category_id=None, category_name=None, category_path=None, count=None, children=None): + """SensitiveDataCategoryOverviewQueryDTO + + The model defined in huaweicloud sdk + + :param root_id: 当前分类节点的根节点id,根节点的 + :type root_id: str + :param parent_id: 当前分类节点的父节点id + :type parent_id: str + :param category_id: 分类的Id + :type category_id: str + :param category_name: 分类的名称 + :type category_name: str + :param category_path: 分类path + :type category_path: str + :param count: 当前分类下的敏感字段数量 + :type count: int + :param children: 当前分类的子节点 + :type children: list[:class:`huaweicloudsdkdataartsstudio.v1.SensitiveDataCategoryOverviewQueryDTO`] + """ + + + + self._root_id = None + self._parent_id = None + self._category_id = None + self._category_name = None + self._category_path = None + self._count = None + self._children = None + self.discriminator = None + + if root_id is not None: + self.root_id = root_id + if parent_id is not None: + self.parent_id = parent_id + if category_id is not None: + self.category_id = category_id + if category_name is not None: + self.category_name = category_name + if category_path is not None: + self.category_path = category_path + if count is not None: + self.count = count + if children is not None: + self.children = children + + @property + def root_id(self): + """Gets the root_id of this SensitiveDataCategoryOverviewQueryDTO. + + 当前分类节点的根节点id,根节点的 + + :return: The root_id of this SensitiveDataCategoryOverviewQueryDTO. + :rtype: str + """ + return self._root_id + + @root_id.setter + def root_id(self, root_id): + """Sets the root_id of this SensitiveDataCategoryOverviewQueryDTO. + + 当前分类节点的根节点id,根节点的 + + :param root_id: The root_id of this SensitiveDataCategoryOverviewQueryDTO. + :type root_id: str + """ + self._root_id = root_id + + @property + def parent_id(self): + """Gets the parent_id of this SensitiveDataCategoryOverviewQueryDTO. + + 当前分类节点的父节点id + + :return: The parent_id of this SensitiveDataCategoryOverviewQueryDTO. + :rtype: str + """ + return self._parent_id + + @parent_id.setter + def parent_id(self, parent_id): + """Sets the parent_id of this SensitiveDataCategoryOverviewQueryDTO. + + 当前分类节点的父节点id + + :param parent_id: The parent_id of this SensitiveDataCategoryOverviewQueryDTO. + :type parent_id: str + """ + self._parent_id = parent_id + + @property + def category_id(self): + """Gets the category_id of this SensitiveDataCategoryOverviewQueryDTO. + + 分类的Id + + :return: The category_id of this SensitiveDataCategoryOverviewQueryDTO. + :rtype: str + """ + return self._category_id + + @category_id.setter + def category_id(self, category_id): + """Sets the category_id of this SensitiveDataCategoryOverviewQueryDTO. + + 分类的Id + + :param category_id: The category_id of this SensitiveDataCategoryOverviewQueryDTO. + :type category_id: str + """ + self._category_id = category_id + + @property + def category_name(self): + """Gets the category_name of this SensitiveDataCategoryOverviewQueryDTO. + + 分类的名称 + + :return: The category_name of this SensitiveDataCategoryOverviewQueryDTO. + :rtype: str + """ + return self._category_name + + @category_name.setter + def category_name(self, category_name): + """Sets the category_name of this SensitiveDataCategoryOverviewQueryDTO. + + 分类的名称 + + :param category_name: The category_name of this SensitiveDataCategoryOverviewQueryDTO. + :type category_name: str + """ + self._category_name = category_name + + @property + def category_path(self): + """Gets the category_path of this SensitiveDataCategoryOverviewQueryDTO. + + 分类path + + :return: The category_path of this SensitiveDataCategoryOverviewQueryDTO. + :rtype: str + """ + return self._category_path + + @category_path.setter + def category_path(self, category_path): + """Sets the category_path of this SensitiveDataCategoryOverviewQueryDTO. + + 分类path + + :param category_path: The category_path of this SensitiveDataCategoryOverviewQueryDTO. + :type category_path: str + """ + self._category_path = category_path + + @property + def count(self): + """Gets the count of this SensitiveDataCategoryOverviewQueryDTO. + + 当前分类下的敏感字段数量 + + :return: The count of this SensitiveDataCategoryOverviewQueryDTO. + :rtype: int + """ + return self._count + + @count.setter + def count(self, count): + """Sets the count of this SensitiveDataCategoryOverviewQueryDTO. + + 当前分类下的敏感字段数量 + + :param count: The count of this SensitiveDataCategoryOverviewQueryDTO. + :type count: int + """ + self._count = count + + @property + def children(self): + """Gets the children of this SensitiveDataCategoryOverviewQueryDTO. + + 当前分类的子节点 + + :return: The children of this SensitiveDataCategoryOverviewQueryDTO. + :rtype: list[:class:`huaweicloudsdkdataartsstudio.v1.SensitiveDataCategoryOverviewQueryDTO`] + """ + return self._children + + @children.setter + def children(self, children): + """Sets the children of this SensitiveDataCategoryOverviewQueryDTO. + + 当前分类的子节点 + + :param children: The children of this SensitiveDataCategoryOverviewQueryDTO. + :type children: list[:class:`huaweicloudsdkdataartsstudio.v1.SensitiveDataCategoryOverviewQueryDTO`] + """ + self._children = children + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, SensitiveDataCategoryOverviewQueryDTO): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/sensitive_data_secrecy_level_overview_query_dto.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/sensitive_data_secrecy_level_overview_query_dto.py new file mode 100644 index 0000000000..1514b99165 --- /dev/null +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/sensitive_data_secrecy_level_overview_query_dto.py @@ -0,0 +1,202 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class SensitiveDataSecrecyLevelOverviewQueryDTO: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'secrecy_level_id': 'str', + 'secrecy_level_name': 'str', + 'secrecy_level_number': 'int', + 'count': 'int' + } + + attribute_map = { + 'secrecy_level_id': 'secrecy_level_id', + 'secrecy_level_name': 'secrecy_level_name', + 'secrecy_level_number': 'secrecy_level_number', + 'count': 'count' + } + + def __init__(self, secrecy_level_id=None, secrecy_level_name=None, secrecy_level_number=None, count=None): + """SensitiveDataSecrecyLevelOverviewQueryDTO + + The model defined in huaweicloud sdk + + :param secrecy_level_id: 密级ID + :type secrecy_level_id: str + :param secrecy_level_name: 密级名称 + :type secrecy_level_name: str + :param secrecy_level_number: 密级的等级 + :type secrecy_level_number: int + :param count: 当前密级下的敏感字段数量 + :type count: int + """ + + + + self._secrecy_level_id = None + self._secrecy_level_name = None + self._secrecy_level_number = None + self._count = None + self.discriminator = None + + if secrecy_level_id is not None: + self.secrecy_level_id = secrecy_level_id + if secrecy_level_name is not None: + self.secrecy_level_name = secrecy_level_name + if secrecy_level_number is not None: + self.secrecy_level_number = secrecy_level_number + if count is not None: + self.count = count + + @property + def secrecy_level_id(self): + """Gets the secrecy_level_id of this SensitiveDataSecrecyLevelOverviewQueryDTO. + + 密级ID + + :return: The secrecy_level_id of this SensitiveDataSecrecyLevelOverviewQueryDTO. + :rtype: str + """ + return self._secrecy_level_id + + @secrecy_level_id.setter + def secrecy_level_id(self, secrecy_level_id): + """Sets the secrecy_level_id of this SensitiveDataSecrecyLevelOverviewQueryDTO. + + 密级ID + + :param secrecy_level_id: The secrecy_level_id of this SensitiveDataSecrecyLevelOverviewQueryDTO. + :type secrecy_level_id: str + """ + self._secrecy_level_id = secrecy_level_id + + @property + def secrecy_level_name(self): + """Gets the secrecy_level_name of this SensitiveDataSecrecyLevelOverviewQueryDTO. + + 密级名称 + + :return: The secrecy_level_name of this SensitiveDataSecrecyLevelOverviewQueryDTO. + :rtype: str + """ + return self._secrecy_level_name + + @secrecy_level_name.setter + def secrecy_level_name(self, secrecy_level_name): + """Sets the secrecy_level_name of this SensitiveDataSecrecyLevelOverviewQueryDTO. + + 密级名称 + + :param secrecy_level_name: The secrecy_level_name of this SensitiveDataSecrecyLevelOverviewQueryDTO. + :type secrecy_level_name: str + """ + self._secrecy_level_name = secrecy_level_name + + @property + def secrecy_level_number(self): + """Gets the secrecy_level_number of this SensitiveDataSecrecyLevelOverviewQueryDTO. + + 密级的等级 + + :return: The secrecy_level_number of this SensitiveDataSecrecyLevelOverviewQueryDTO. + :rtype: int + """ + return self._secrecy_level_number + + @secrecy_level_number.setter + def secrecy_level_number(self, secrecy_level_number): + """Sets the secrecy_level_number of this SensitiveDataSecrecyLevelOverviewQueryDTO. + + 密级的等级 + + :param secrecy_level_number: The secrecy_level_number of this SensitiveDataSecrecyLevelOverviewQueryDTO. + :type secrecy_level_number: int + """ + self._secrecy_level_number = secrecy_level_number + + @property + def count(self): + """Gets the count of this SensitiveDataSecrecyLevelOverviewQueryDTO. + + 当前密级下的敏感字段数量 + + :return: The count of this SensitiveDataSecrecyLevelOverviewQueryDTO. + :rtype: int + """ + return self._count + + @count.setter + def count(self, count): + """Sets the count of this SensitiveDataSecrecyLevelOverviewQueryDTO. + + 当前密级下的敏感字段数量 + + :param count: The count of this SensitiveDataSecrecyLevelOverviewQueryDTO. + :type count: int + """ + self._count = count + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, SensitiveDataSecrecyLevelOverviewQueryDTO): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_api_dashboard_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_api_dashboard_request.py index 35336bd402..cfa5b05878 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_api_dashboard_request.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_api_dashboard_request.py @@ -41,19 +41,19 @@ def __init__(self, workspace=None, dlm_type=None, api_id=None, instance_id=None, The model defined in huaweicloud sdk - :param workspace: 工作空间id + :param workspace: 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :type workspace: str - :param dlm_type: dlm版本类型 + :param dlm_type: 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :type dlm_type: str - :param api_id: api编号 + :param api_id: api编号。 :type api_id: str - :param instance_id: 集群编号 + :param instance_id: 集群编号。 :type instance_id: str - :param start_time: 开始时间(13位时间戳) + :param start_time: 开始时间(13位时间戳)。 :type start_time: int - :param end_time: 结束时间(13位时间戳) + :param end_time: 结束时间(13位时间戳)。 :type end_time: int - :param time_unit: 时间单位 + :param time_unit: 时间单位。 :type time_unit: str """ @@ -82,7 +82,7 @@ def __init__(self, workspace=None, dlm_type=None, api_id=None, instance_id=None, def workspace(self): """Gets the workspace of this ShowApiDashboardRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :return: The workspace of this ShowApiDashboardRequest. :rtype: str @@ -93,7 +93,7 @@ def workspace(self): def workspace(self, workspace): """Sets the workspace of this ShowApiDashboardRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :param workspace: The workspace of this ShowApiDashboardRequest. :type workspace: str @@ -104,7 +104,7 @@ def workspace(self, workspace): def dlm_type(self): """Gets the dlm_type of this ShowApiDashboardRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :return: The dlm_type of this ShowApiDashboardRequest. :rtype: str @@ -115,7 +115,7 @@ def dlm_type(self): def dlm_type(self, dlm_type): """Sets the dlm_type of this ShowApiDashboardRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :param dlm_type: The dlm_type of this ShowApiDashboardRequest. :type dlm_type: str @@ -126,7 +126,7 @@ def dlm_type(self, dlm_type): def api_id(self): """Gets the api_id of this ShowApiDashboardRequest. - api编号 + api编号。 :return: The api_id of this ShowApiDashboardRequest. :rtype: str @@ -137,7 +137,7 @@ def api_id(self): def api_id(self, api_id): """Sets the api_id of this ShowApiDashboardRequest. - api编号 + api编号。 :param api_id: The api_id of this ShowApiDashboardRequest. :type api_id: str @@ -148,7 +148,7 @@ def api_id(self, api_id): def instance_id(self): """Gets the instance_id of this ShowApiDashboardRequest. - 集群编号 + 集群编号。 :return: The instance_id of this ShowApiDashboardRequest. :rtype: str @@ -159,7 +159,7 @@ def instance_id(self): def instance_id(self, instance_id): """Sets the instance_id of this ShowApiDashboardRequest. - 集群编号 + 集群编号。 :param instance_id: The instance_id of this ShowApiDashboardRequest. :type instance_id: str @@ -170,7 +170,7 @@ def instance_id(self, instance_id): def start_time(self): """Gets the start_time of this ShowApiDashboardRequest. - 开始时间(13位时间戳) + 开始时间(13位时间戳)。 :return: The start_time of this ShowApiDashboardRequest. :rtype: int @@ -181,7 +181,7 @@ def start_time(self): def start_time(self, start_time): """Sets the start_time of this ShowApiDashboardRequest. - 开始时间(13位时间戳) + 开始时间(13位时间戳)。 :param start_time: The start_time of this ShowApiDashboardRequest. :type start_time: int @@ -192,7 +192,7 @@ def start_time(self, start_time): def end_time(self): """Gets the end_time of this ShowApiDashboardRequest. - 结束时间(13位时间戳) + 结束时间(13位时间戳)。 :return: The end_time of this ShowApiDashboardRequest. :rtype: int @@ -203,7 +203,7 @@ def end_time(self): def end_time(self, end_time): """Sets the end_time of this ShowApiDashboardRequest. - 结束时间(13位时间戳) + 结束时间(13位时间戳)。 :param end_time: The end_time of this ShowApiDashboardRequest. :type end_time: int @@ -214,7 +214,7 @@ def end_time(self, end_time): def time_unit(self): """Gets the time_unit of this ShowApiDashboardRequest. - 时间单位 + 时间单位。 :return: The time_unit of this ShowApiDashboardRequest. :rtype: str @@ -225,7 +225,7 @@ def time_unit(self): def time_unit(self, time_unit): """Sets the time_unit of this ShowApiDashboardRequest. - 时间单位 + 时间单位。 :param time_unit: The time_unit of this ShowApiDashboardRequest. :type time_unit: str diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_api_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_api_request.py index 1710549ad5..6afb5e0e21 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_api_request.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_api_request.py @@ -33,11 +33,11 @@ def __init__(self, workspace=None, dlm_type=None, api_id=None): The model defined in huaweicloud sdk - :param workspace: 工作空间id + :param workspace: 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :type workspace: str - :param dlm_type: dlm版本类型 + :param dlm_type: 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :type dlm_type: str - :param api_id: API ID + :param api_id: API ID。 :type api_id: str """ @@ -57,7 +57,7 @@ def __init__(self, workspace=None, dlm_type=None, api_id=None): def workspace(self): """Gets the workspace of this ShowApiRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :return: The workspace of this ShowApiRequest. :rtype: str @@ -68,7 +68,7 @@ def workspace(self): def workspace(self, workspace): """Sets the workspace of this ShowApiRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :param workspace: The workspace of this ShowApiRequest. :type workspace: str @@ -79,7 +79,7 @@ def workspace(self, workspace): def dlm_type(self): """Gets the dlm_type of this ShowApiRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :return: The dlm_type of this ShowApiRequest. :rtype: str @@ -90,7 +90,7 @@ def dlm_type(self): def dlm_type(self, dlm_type): """Sets the dlm_type of this ShowApiRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :param dlm_type: The dlm_type of this ShowApiRequest. :type dlm_type: str @@ -101,7 +101,7 @@ def dlm_type(self, dlm_type): def api_id(self): """Gets the api_id of this ShowApiRequest. - API ID + API ID。 :return: The api_id of this ShowApiRequest. :rtype: str @@ -112,7 +112,7 @@ def api_id(self): def api_id(self, api_id): """Sets the api_id of this ShowApiRequest. - API ID + API ID。 :param api_id: The api_id of this ShowApiRequest. :type api_id: str diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_apis_dashboard_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_apis_dashboard_request.py index 6a64bf93c4..3dd91c2b21 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_apis_dashboard_request.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_apis_dashboard_request.py @@ -43,21 +43,21 @@ def __init__(self, workspace=None, dlm_type=None, instance_id=None, start_time=N The model defined in huaweicloud sdk - :param workspace: 工作空间id + :param workspace: 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :type workspace: str - :param dlm_type: dlm版本类型 + :param dlm_type: 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :type dlm_type: str - :param instance_id: 集群编号 + :param instance_id: 集群编号。 :type instance_id: str - :param start_time: 开始时间(13位时间戳) + :param start_time: 开始时间(13位时间戳)。 :type start_time: int - :param end_time: 结束时间(13位时间戳) + :param end_time: 结束时间(13位时间戳)。 :type end_time: int - :param time_unit: 时间单位 + :param time_unit: 时间单位。 :type time_unit: str - :param limit: limit + :param limit: limit。 :type limit: int - :param offset: offset + :param offset: offset。 :type offset: int """ @@ -90,7 +90,7 @@ def __init__(self, workspace=None, dlm_type=None, instance_id=None, start_time=N def workspace(self): """Gets the workspace of this ShowApisDashboardRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :return: The workspace of this ShowApisDashboardRequest. :rtype: str @@ -101,7 +101,7 @@ def workspace(self): def workspace(self, workspace): """Sets the workspace of this ShowApisDashboardRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :param workspace: The workspace of this ShowApisDashboardRequest. :type workspace: str @@ -112,7 +112,7 @@ def workspace(self, workspace): def dlm_type(self): """Gets the dlm_type of this ShowApisDashboardRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :return: The dlm_type of this ShowApisDashboardRequest. :rtype: str @@ -123,7 +123,7 @@ def dlm_type(self): def dlm_type(self, dlm_type): """Sets the dlm_type of this ShowApisDashboardRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :param dlm_type: The dlm_type of this ShowApisDashboardRequest. :type dlm_type: str @@ -134,7 +134,7 @@ def dlm_type(self, dlm_type): def instance_id(self): """Gets the instance_id of this ShowApisDashboardRequest. - 集群编号 + 集群编号。 :return: The instance_id of this ShowApisDashboardRequest. :rtype: str @@ -145,7 +145,7 @@ def instance_id(self): def instance_id(self, instance_id): """Sets the instance_id of this ShowApisDashboardRequest. - 集群编号 + 集群编号。 :param instance_id: The instance_id of this ShowApisDashboardRequest. :type instance_id: str @@ -156,7 +156,7 @@ def instance_id(self, instance_id): def start_time(self): """Gets the start_time of this ShowApisDashboardRequest. - 开始时间(13位时间戳) + 开始时间(13位时间戳)。 :return: The start_time of this ShowApisDashboardRequest. :rtype: int @@ -167,7 +167,7 @@ def start_time(self): def start_time(self, start_time): """Sets the start_time of this ShowApisDashboardRequest. - 开始时间(13位时间戳) + 开始时间(13位时间戳)。 :param start_time: The start_time of this ShowApisDashboardRequest. :type start_time: int @@ -178,7 +178,7 @@ def start_time(self, start_time): def end_time(self): """Gets the end_time of this ShowApisDashboardRequest. - 结束时间(13位时间戳) + 结束时间(13位时间戳)。 :return: The end_time of this ShowApisDashboardRequest. :rtype: int @@ -189,7 +189,7 @@ def end_time(self): def end_time(self, end_time): """Sets the end_time of this ShowApisDashboardRequest. - 结束时间(13位时间戳) + 结束时间(13位时间戳)。 :param end_time: The end_time of this ShowApisDashboardRequest. :type end_time: int @@ -200,7 +200,7 @@ def end_time(self, end_time): def time_unit(self): """Gets the time_unit of this ShowApisDashboardRequest. - 时间单位 + 时间单位。 :return: The time_unit of this ShowApisDashboardRequest. :rtype: str @@ -211,7 +211,7 @@ def time_unit(self): def time_unit(self, time_unit): """Sets the time_unit of this ShowApisDashboardRequest. - 时间单位 + 时间单位。 :param time_unit: The time_unit of this ShowApisDashboardRequest. :type time_unit: str @@ -222,7 +222,7 @@ def time_unit(self, time_unit): def limit(self): """Gets the limit of this ShowApisDashboardRequest. - limit + limit。 :return: The limit of this ShowApisDashboardRequest. :rtype: int @@ -233,7 +233,7 @@ def limit(self): def limit(self, limit): """Sets the limit of this ShowApisDashboardRequest. - limit + limit。 :param limit: The limit of this ShowApisDashboardRequest. :type limit: int @@ -244,7 +244,7 @@ def limit(self, limit): def offset(self): """Gets the offset of this ShowApisDashboardRequest. - offset + offset。 :return: The offset of this ShowApisDashboardRequest. :rtype: int @@ -255,7 +255,7 @@ def offset(self): def offset(self, offset): """Sets the offset of this ShowApisDashboardRequest. - offset + offset。 :param offset: The offset of this ShowApisDashboardRequest. :type offset: int diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_apis_detail_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_apis_detail_request.py index 469d882070..9f85ddaf34 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_apis_detail_request.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_apis_detail_request.py @@ -41,19 +41,19 @@ def __init__(self, workspace=None, dlm_type=None, api_id=None, instance_id=None, The model defined in huaweicloud sdk - :param workspace: 工作空间id + :param workspace: 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :type workspace: str - :param dlm_type: dlm版本类型 + :param dlm_type: 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :type dlm_type: str - :param api_id: api编号 + :param api_id: api编号。 :type api_id: str - :param instance_id: 集群编号 + :param instance_id: 集群编号。 :type instance_id: str - :param start_time: 开始时间(13位时间戳) + :param start_time: 开始时间(13位时间戳)。 :type start_time: int - :param end_time: 结束时间(13位时间戳) + :param end_time: 结束时间(13位时间戳)。 :type end_time: int - :param time_unit: 时间单位 + :param time_unit: 时间单位。 :type time_unit: str """ @@ -82,7 +82,7 @@ def __init__(self, workspace=None, dlm_type=None, api_id=None, instance_id=None, def workspace(self): """Gets the workspace of this ShowApisDetailRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :return: The workspace of this ShowApisDetailRequest. :rtype: str @@ -93,7 +93,7 @@ def workspace(self): def workspace(self, workspace): """Sets the workspace of this ShowApisDetailRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :param workspace: The workspace of this ShowApisDetailRequest. :type workspace: str @@ -104,7 +104,7 @@ def workspace(self, workspace): def dlm_type(self): """Gets the dlm_type of this ShowApisDetailRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :return: The dlm_type of this ShowApisDetailRequest. :rtype: str @@ -115,7 +115,7 @@ def dlm_type(self): def dlm_type(self, dlm_type): """Sets the dlm_type of this ShowApisDetailRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :param dlm_type: The dlm_type of this ShowApisDetailRequest. :type dlm_type: str @@ -126,7 +126,7 @@ def dlm_type(self, dlm_type): def api_id(self): """Gets the api_id of this ShowApisDetailRequest. - api编号 + api编号。 :return: The api_id of this ShowApisDetailRequest. :rtype: str @@ -137,7 +137,7 @@ def api_id(self): def api_id(self, api_id): """Sets the api_id of this ShowApisDetailRequest. - api编号 + api编号。 :param api_id: The api_id of this ShowApisDetailRequest. :type api_id: str @@ -148,7 +148,7 @@ def api_id(self, api_id): def instance_id(self): """Gets the instance_id of this ShowApisDetailRequest. - 集群编号 + 集群编号。 :return: The instance_id of this ShowApisDetailRequest. :rtype: str @@ -159,7 +159,7 @@ def instance_id(self): def instance_id(self, instance_id): """Sets the instance_id of this ShowApisDetailRequest. - 集群编号 + 集群编号。 :param instance_id: The instance_id of this ShowApisDetailRequest. :type instance_id: str @@ -170,7 +170,7 @@ def instance_id(self, instance_id): def start_time(self): """Gets the start_time of this ShowApisDetailRequest. - 开始时间(13位时间戳) + 开始时间(13位时间戳)。 :return: The start_time of this ShowApisDetailRequest. :rtype: int @@ -181,7 +181,7 @@ def start_time(self): def start_time(self, start_time): """Sets the start_time of this ShowApisDetailRequest. - 开始时间(13位时间戳) + 开始时间(13位时间戳)。 :param start_time: The start_time of this ShowApisDetailRequest. :type start_time: int @@ -192,7 +192,7 @@ def start_time(self, start_time): def end_time(self): """Gets the end_time of this ShowApisDetailRequest. - 结束时间(13位时间戳) + 结束时间(13位时间戳)。 :return: The end_time of this ShowApisDetailRequest. :rtype: int @@ -203,7 +203,7 @@ def end_time(self): def end_time(self, end_time): """Sets the end_time of this ShowApisDetailRequest. - 结束时间(13位时间戳) + 结束时间(13位时间戳)。 :param end_time: The end_time of this ShowApisDetailRequest. :type end_time: int @@ -214,7 +214,7 @@ def end_time(self, end_time): def time_unit(self): """Gets the time_unit of this ShowApisDetailRequest. - 时间单位 + 时间单位。 :return: The time_unit of this ShowApisDetailRequest. :rtype: str @@ -225,7 +225,7 @@ def time_unit(self): def time_unit(self, time_unit): """Sets the time_unit of this ShowApisDetailRequest. - 时间单位 + 时间单位。 :param time_unit: The time_unit of this ShowApisDetailRequest. :type time_unit: str diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_apis_overview_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_apis_overview_request.py index 6786f6339d..1b75cd84e4 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_apis_overview_request.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_apis_overview_request.py @@ -37,15 +37,15 @@ def __init__(self, workspace=None, dlm_type=None, start_time=None, end_time=None The model defined in huaweicloud sdk - :param workspace: 工作空间id + :param workspace: 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :type workspace: str - :param dlm_type: dlm版本类型 + :param dlm_type: 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :type dlm_type: str - :param start_time: 开始时间(13位时间戳) + :param start_time: 开始时间(13位时间戳)。 :type start_time: int - :param end_time: 结束时间(13位时间戳) + :param end_time: 结束时间(13位时间戳)。 :type end_time: int - :param time_unit: 时间单位 + :param time_unit: 时间单位。 :type time_unit: str """ @@ -69,7 +69,7 @@ def __init__(self, workspace=None, dlm_type=None, start_time=None, end_time=None def workspace(self): """Gets the workspace of this ShowApisOverviewRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :return: The workspace of this ShowApisOverviewRequest. :rtype: str @@ -80,7 +80,7 @@ def workspace(self): def workspace(self, workspace): """Sets the workspace of this ShowApisOverviewRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :param workspace: The workspace of this ShowApisOverviewRequest. :type workspace: str @@ -91,7 +91,7 @@ def workspace(self, workspace): def dlm_type(self): """Gets the dlm_type of this ShowApisOverviewRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :return: The dlm_type of this ShowApisOverviewRequest. :rtype: str @@ -102,7 +102,7 @@ def dlm_type(self): def dlm_type(self, dlm_type): """Sets the dlm_type of this ShowApisOverviewRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :param dlm_type: The dlm_type of this ShowApisOverviewRequest. :type dlm_type: str @@ -113,7 +113,7 @@ def dlm_type(self, dlm_type): def start_time(self): """Gets the start_time of this ShowApisOverviewRequest. - 开始时间(13位时间戳) + 开始时间(13位时间戳)。 :return: The start_time of this ShowApisOverviewRequest. :rtype: int @@ -124,7 +124,7 @@ def start_time(self): def start_time(self, start_time): """Sets the start_time of this ShowApisOverviewRequest. - 开始时间(13位时间戳) + 开始时间(13位时间戳)。 :param start_time: The start_time of this ShowApisOverviewRequest. :type start_time: int @@ -135,7 +135,7 @@ def start_time(self, start_time): def end_time(self): """Gets the end_time of this ShowApisOverviewRequest. - 结束时间(13位时间戳) + 结束时间(13位时间戳)。 :return: The end_time of this ShowApisOverviewRequest. :rtype: int @@ -146,7 +146,7 @@ def end_time(self): def end_time(self, end_time): """Sets the end_time of this ShowApisOverviewRequest. - 结束时间(13位时间戳) + 结束时间(13位时间戳)。 :param end_time: The end_time of this ShowApisOverviewRequest. :type end_time: int @@ -157,7 +157,7 @@ def end_time(self, end_time): def time_unit(self): """Gets the time_unit of this ShowApisOverviewRequest. - 时间单位 + 时间单位。 :return: The time_unit of this ShowApisOverviewRequest. :rtype: str @@ -168,7 +168,7 @@ def time_unit(self): def time_unit(self, time_unit): """Sets the time_unit of this ShowApisOverviewRequest. - 时间单位 + 时间单位。 :param time_unit: The time_unit of this ShowApisOverviewRequest. :type time_unit: str diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_app_info_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_app_info_request.py index 3861fcf105..85dff64bd2 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_app_info_request.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_app_info_request.py @@ -33,11 +33,11 @@ def __init__(self, workspace=None, dlm_type=None, app_id=None): The model defined in huaweicloud sdk - :param workspace: 工作空间id + :param workspace: 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :type workspace: str - :param dlm_type: dlm版本类型 + :param dlm_type: 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :type dlm_type: str - :param app_id: 应用编号 + :param app_id: 应用编号。 :type app_id: str """ @@ -57,7 +57,7 @@ def __init__(self, workspace=None, dlm_type=None, app_id=None): def workspace(self): """Gets the workspace of this ShowAppInfoRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :return: The workspace of this ShowAppInfoRequest. :rtype: str @@ -68,7 +68,7 @@ def workspace(self): def workspace(self, workspace): """Sets the workspace of this ShowAppInfoRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :param workspace: The workspace of this ShowAppInfoRequest. :type workspace: str @@ -79,7 +79,7 @@ def workspace(self, workspace): def dlm_type(self): """Gets the dlm_type of this ShowAppInfoRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :return: The dlm_type of this ShowAppInfoRequest. :rtype: str @@ -90,7 +90,7 @@ def dlm_type(self): def dlm_type(self, dlm_type): """Sets the dlm_type of this ShowAppInfoRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :param dlm_type: The dlm_type of this ShowAppInfoRequest. :type dlm_type: str @@ -101,7 +101,7 @@ def dlm_type(self, dlm_type): def app_id(self): """Gets the app_id of this ShowAppInfoRequest. - 应用编号 + 应用编号。 :return: The app_id of this ShowAppInfoRequest. :rtype: str @@ -112,7 +112,7 @@ def app_id(self): def app_id(self, app_id): """Sets the app_id of this ShowAppInfoRequest. - 应用编号 + 应用编号。 :param app_id: The app_id of this ShowAppInfoRequest. :type app_id: str diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_apply_detail_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_apply_detail_request.py index 00fc53f267..379d55498d 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_apply_detail_request.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_apply_detail_request.py @@ -33,11 +33,11 @@ def __init__(self, workspace=None, dlm_type=None, apply_id=None): The model defined in huaweicloud sdk - :param workspace: 工作空间id + :param workspace: 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :type workspace: str - :param dlm_type: dlm版本类型 + :param dlm_type: 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :type dlm_type: str - :param apply_id: 审核信息id + :param apply_id: 审核信息id。 :type apply_id: str """ @@ -57,7 +57,7 @@ def __init__(self, workspace=None, dlm_type=None, apply_id=None): def workspace(self): """Gets the workspace of this ShowApplyDetailRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :return: The workspace of this ShowApplyDetailRequest. :rtype: str @@ -68,7 +68,7 @@ def workspace(self): def workspace(self, workspace): """Sets the workspace of this ShowApplyDetailRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :param workspace: The workspace of this ShowApplyDetailRequest. :type workspace: str @@ -79,7 +79,7 @@ def workspace(self, workspace): def dlm_type(self): """Gets the dlm_type of this ShowApplyDetailRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :return: The dlm_type of this ShowApplyDetailRequest. :rtype: str @@ -90,7 +90,7 @@ def dlm_type(self): def dlm_type(self, dlm_type): """Sets the dlm_type of this ShowApplyDetailRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :param dlm_type: The dlm_type of this ShowApplyDetailRequest. :type dlm_type: str @@ -101,7 +101,7 @@ def dlm_type(self, dlm_type): def apply_id(self): """Gets the apply_id of this ShowApplyDetailRequest. - 审核信息id + 审核信息id。 :return: The apply_id of this ShowApplyDetailRequest. :rtype: str @@ -112,7 +112,7 @@ def apply_id(self): def apply_id(self, apply_id): """Sets the apply_id of this ShowApplyDetailRequest. - 审核信息id + 审核信息id。 :param apply_id: The apply_id of this ShowApplyDetailRequest. :type apply_id: str diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_apps_dashboard_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_apps_dashboard_request.py index 73016f8854..790e758797 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_apps_dashboard_request.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_apps_dashboard_request.py @@ -41,19 +41,19 @@ def __init__(self, workspace=None, dlm_type=None, start_time=None, end_time=None The model defined in huaweicloud sdk - :param workspace: 工作空间id + :param workspace: 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :type workspace: str - :param dlm_type: dlm版本类型 + :param dlm_type: 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :type dlm_type: str - :param start_time: 开始时间(13位时间戳) + :param start_time: 开始时间(13位时间戳)。 :type start_time: int - :param end_time: 结束时间(13位时间戳) + :param end_time: 结束时间(13位时间戳)。 :type end_time: int - :param time_unit: 时间单位 + :param time_unit: 时间单位。 :type time_unit: str - :param limit: limit + :param limit: limit。 :type limit: int - :param offset: offset + :param offset: offset。 :type offset: int """ @@ -83,7 +83,7 @@ def __init__(self, workspace=None, dlm_type=None, start_time=None, end_time=None def workspace(self): """Gets the workspace of this ShowAppsDashboardRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :return: The workspace of this ShowAppsDashboardRequest. :rtype: str @@ -94,7 +94,7 @@ def workspace(self): def workspace(self, workspace): """Sets the workspace of this ShowAppsDashboardRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :param workspace: The workspace of this ShowAppsDashboardRequest. :type workspace: str @@ -105,7 +105,7 @@ def workspace(self, workspace): def dlm_type(self): """Gets the dlm_type of this ShowAppsDashboardRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :return: The dlm_type of this ShowAppsDashboardRequest. :rtype: str @@ -116,7 +116,7 @@ def dlm_type(self): def dlm_type(self, dlm_type): """Sets the dlm_type of this ShowAppsDashboardRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :param dlm_type: The dlm_type of this ShowAppsDashboardRequest. :type dlm_type: str @@ -127,7 +127,7 @@ def dlm_type(self, dlm_type): def start_time(self): """Gets the start_time of this ShowAppsDashboardRequest. - 开始时间(13位时间戳) + 开始时间(13位时间戳)。 :return: The start_time of this ShowAppsDashboardRequest. :rtype: int @@ -138,7 +138,7 @@ def start_time(self): def start_time(self, start_time): """Sets the start_time of this ShowAppsDashboardRequest. - 开始时间(13位时间戳) + 开始时间(13位时间戳)。 :param start_time: The start_time of this ShowAppsDashboardRequest. :type start_time: int @@ -149,7 +149,7 @@ def start_time(self, start_time): def end_time(self): """Gets the end_time of this ShowAppsDashboardRequest. - 结束时间(13位时间戳) + 结束时间(13位时间戳)。 :return: The end_time of this ShowAppsDashboardRequest. :rtype: int @@ -160,7 +160,7 @@ def end_time(self): def end_time(self, end_time): """Sets the end_time of this ShowAppsDashboardRequest. - 结束时间(13位时间戳) + 结束时间(13位时间戳)。 :param end_time: The end_time of this ShowAppsDashboardRequest. :type end_time: int @@ -171,7 +171,7 @@ def end_time(self, end_time): def time_unit(self): """Gets the time_unit of this ShowAppsDashboardRequest. - 时间单位 + 时间单位。 :return: The time_unit of this ShowAppsDashboardRequest. :rtype: str @@ -182,7 +182,7 @@ def time_unit(self): def time_unit(self, time_unit): """Sets the time_unit of this ShowAppsDashboardRequest. - 时间单位 + 时间单位。 :param time_unit: The time_unit of this ShowAppsDashboardRequest. :type time_unit: str @@ -193,7 +193,7 @@ def time_unit(self, time_unit): def limit(self): """Gets the limit of this ShowAppsDashboardRequest. - limit + limit。 :return: The limit of this ShowAppsDashboardRequest. :rtype: int @@ -204,7 +204,7 @@ def limit(self): def limit(self, limit): """Sets the limit of this ShowAppsDashboardRequest. - limit + limit。 :param limit: The limit of this ShowAppsDashboardRequest. :type limit: int @@ -215,7 +215,7 @@ def limit(self, limit): def offset(self): """Gets the offset of this ShowAppsDashboardRequest. - offset + offset。 :return: The offset of this ShowAppsDashboardRequest. :rtype: int @@ -226,7 +226,7 @@ def offset(self): def offset(self, offset): """Sets the offset of this ShowAppsDashboardRequest. - offset + offset。 :param offset: The offset of this ShowAppsDashboardRequest. :type offset: int diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_apps_detail_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_apps_detail_request.py index 596f5f618f..8bebec0042 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_apps_detail_request.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_apps_detail_request.py @@ -39,17 +39,17 @@ def __init__(self, workspace=None, dlm_type=None, app_id=None, start_time=None, The model defined in huaweicloud sdk - :param workspace: 工作空间id + :param workspace: 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :type workspace: str - :param dlm_type: dlm版本类型 + :param dlm_type: 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :type dlm_type: str - :param app_id: app编号 + :param app_id: app编号。 :type app_id: str - :param start_time: 开始时间(13位时间戳) + :param start_time: 开始时间(13位时间戳)。 :type start_time: int - :param end_time: 结束时间(13位时间戳) + :param end_time: 结束时间(13位时间戳)。 :type end_time: int - :param time_unit: 时间单位 + :param time_unit: 时间单位。 :type time_unit: str """ @@ -75,7 +75,7 @@ def __init__(self, workspace=None, dlm_type=None, app_id=None, start_time=None, def workspace(self): """Gets the workspace of this ShowAppsDetailRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :return: The workspace of this ShowAppsDetailRequest. :rtype: str @@ -86,7 +86,7 @@ def workspace(self): def workspace(self, workspace): """Sets the workspace of this ShowAppsDetailRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :param workspace: The workspace of this ShowAppsDetailRequest. :type workspace: str @@ -97,7 +97,7 @@ def workspace(self, workspace): def dlm_type(self): """Gets the dlm_type of this ShowAppsDetailRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :return: The dlm_type of this ShowAppsDetailRequest. :rtype: str @@ -108,7 +108,7 @@ def dlm_type(self): def dlm_type(self, dlm_type): """Sets the dlm_type of this ShowAppsDetailRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :param dlm_type: The dlm_type of this ShowAppsDetailRequest. :type dlm_type: str @@ -119,7 +119,7 @@ def dlm_type(self, dlm_type): def app_id(self): """Gets the app_id of this ShowAppsDetailRequest. - app编号 + app编号。 :return: The app_id of this ShowAppsDetailRequest. :rtype: str @@ -130,7 +130,7 @@ def app_id(self): def app_id(self, app_id): """Sets the app_id of this ShowAppsDetailRequest. - app编号 + app编号。 :param app_id: The app_id of this ShowAppsDetailRequest. :type app_id: str @@ -141,7 +141,7 @@ def app_id(self, app_id): def start_time(self): """Gets the start_time of this ShowAppsDetailRequest. - 开始时间(13位时间戳) + 开始时间(13位时间戳)。 :return: The start_time of this ShowAppsDetailRequest. :rtype: int @@ -152,7 +152,7 @@ def start_time(self): def start_time(self, start_time): """Sets the start_time of this ShowAppsDetailRequest. - 开始时间(13位时间戳) + 开始时间(13位时间戳)。 :param start_time: The start_time of this ShowAppsDetailRequest. :type start_time: int @@ -163,7 +163,7 @@ def start_time(self, start_time): def end_time(self): """Gets the end_time of this ShowAppsDetailRequest. - 结束时间(13位时间戳) + 结束时间(13位时间戳)。 :return: The end_time of this ShowAppsDetailRequest. :rtype: int @@ -174,7 +174,7 @@ def end_time(self): def end_time(self, end_time): """Sets the end_time of this ShowAppsDetailRequest. - 结束时间(13位时间戳) + 结束时间(13位时间戳)。 :param end_time: The end_time of this ShowAppsDetailRequest. :type end_time: int @@ -185,7 +185,7 @@ def end_time(self, end_time): def time_unit(self): """Gets the time_unit of this ShowAppsDetailRequest. - 时间单位 + 时间单位。 :return: The time_unit of this ShowAppsDetailRequest. :rtype: str @@ -196,7 +196,7 @@ def time_unit(self): def time_unit(self, time_unit): """Sets the time_unit of this ShowAppsDetailRequest. - 时间单位 + 时间单位。 :param time_unit: The time_unit of this ShowAppsDetailRequest. :type time_unit: str diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_apps_overview_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_apps_overview_request.py index 98ffb64588..2bd4f9dc3b 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_apps_overview_request.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_apps_overview_request.py @@ -37,15 +37,15 @@ def __init__(self, workspace=None, dlm_type=None, start_time=None, end_time=None The model defined in huaweicloud sdk - :param workspace: 工作空间id + :param workspace: 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :type workspace: str - :param dlm_type: dlm版本类型 + :param dlm_type: 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :type dlm_type: str - :param start_time: 开始时间(13位时间戳) + :param start_time: 开始时间(13位时间戳)。 :type start_time: int - :param end_time: 结束时间(13位时间戳) + :param end_time: 结束时间(13位时间戳)。 :type end_time: int - :param time_unit: 时间单位 + :param time_unit: 时间单位。 :type time_unit: str """ @@ -69,7 +69,7 @@ def __init__(self, workspace=None, dlm_type=None, start_time=None, end_time=None def workspace(self): """Gets the workspace of this ShowAppsOverviewRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :return: The workspace of this ShowAppsOverviewRequest. :rtype: str @@ -80,7 +80,7 @@ def workspace(self): def workspace(self, workspace): """Sets the workspace of this ShowAppsOverviewRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :param workspace: The workspace of this ShowAppsOverviewRequest. :type workspace: str @@ -91,7 +91,7 @@ def workspace(self, workspace): def dlm_type(self): """Gets the dlm_type of this ShowAppsOverviewRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :return: The dlm_type of this ShowAppsOverviewRequest. :rtype: str @@ -102,7 +102,7 @@ def dlm_type(self): def dlm_type(self, dlm_type): """Sets the dlm_type of this ShowAppsOverviewRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :param dlm_type: The dlm_type of this ShowAppsOverviewRequest. :type dlm_type: str @@ -113,7 +113,7 @@ def dlm_type(self, dlm_type): def start_time(self): """Gets the start_time of this ShowAppsOverviewRequest. - 开始时间(13位时间戳) + 开始时间(13位时间戳)。 :return: The start_time of this ShowAppsOverviewRequest. :rtype: int @@ -124,7 +124,7 @@ def start_time(self): def start_time(self, start_time): """Sets the start_time of this ShowAppsOverviewRequest. - 开始时间(13位时间戳) + 开始时间(13位时间戳)。 :param start_time: The start_time of this ShowAppsOverviewRequest. :type start_time: int @@ -135,7 +135,7 @@ def start_time(self, start_time): def end_time(self): """Gets the end_time of this ShowAppsOverviewRequest. - 结束时间(13位时间戳) + 结束时间(13位时间戳)。 :return: The end_time of this ShowAppsOverviewRequest. :rtype: int @@ -146,7 +146,7 @@ def end_time(self): def end_time(self, end_time): """Sets the end_time of this ShowAppsOverviewRequest. - 结束时间(13位时间戳) + 结束时间(13位时间戳)。 :param end_time: The end_time of this ShowAppsOverviewRequest. :type end_time: int @@ -157,7 +157,7 @@ def end_time(self, end_time): def time_unit(self): """Gets the time_unit of this ShowAppsOverviewRequest. - 时间单位 + 时间单位。 :return: The time_unit of this ShowAppsOverviewRequest. :rtype: str @@ -168,7 +168,7 @@ def time_unit(self): def time_unit(self, time_unit): """Sets the time_unit of this ShowAppsOverviewRequest. - 时间单位 + 时间单位。 :param time_unit: The time_unit of this ShowAppsOverviewRequest. :type time_unit: str diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_catalog_detail_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_catalog_detail_request.py index 3901ee7e28..0c7bc0896d 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_catalog_detail_request.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_catalog_detail_request.py @@ -33,11 +33,11 @@ def __init__(self, workspace=None, dlm_type=None, catalog_id=None): The model defined in huaweicloud sdk - :param workspace: 工作空间id + :param workspace: 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :type workspace: str - :param dlm_type: dlm版本类型 + :param dlm_type: 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :type dlm_type: str - :param catalog_id: 目录编号 + :param catalog_id: 目录编号。 :type catalog_id: str """ @@ -57,7 +57,7 @@ def __init__(self, workspace=None, dlm_type=None, catalog_id=None): def workspace(self): """Gets the workspace of this ShowCatalogDetailRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :return: The workspace of this ShowCatalogDetailRequest. :rtype: str @@ -68,7 +68,7 @@ def workspace(self): def workspace(self, workspace): """Sets the workspace of this ShowCatalogDetailRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :param workspace: The workspace of this ShowCatalogDetailRequest. :type workspace: str @@ -79,7 +79,7 @@ def workspace(self, workspace): def dlm_type(self): """Gets the dlm_type of this ShowCatalogDetailRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :return: The dlm_type of this ShowCatalogDetailRequest. :rtype: str @@ -90,7 +90,7 @@ def dlm_type(self): def dlm_type(self, dlm_type): """Sets the dlm_type of this ShowCatalogDetailRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :param dlm_type: The dlm_type of this ShowCatalogDetailRequest. :type dlm_type: str @@ -101,7 +101,7 @@ def dlm_type(self, dlm_type): def catalog_id(self): """Gets the catalog_id of this ShowCatalogDetailRequest. - 目录编号 + 目录编号。 :return: The catalog_id of this ShowCatalogDetailRequest. :rtype: str @@ -112,7 +112,7 @@ def catalog_id(self): def catalog_id(self, catalog_id): """Sets the catalog_id of this ShowCatalogDetailRequest. - 目录编号 + 目录编号。 :param catalog_id: The catalog_id of this ShowCatalogDetailRequest. :type catalog_id: str diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_message_detail_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_message_detail_request.py index cdc1e4d319..00906cf8a4 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_message_detail_request.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_message_detail_request.py @@ -33,11 +33,11 @@ def __init__(self, workspace=None, dlm_type=None, message_id=None): The model defined in huaweicloud sdk - :param workspace: 工作空间id + :param workspace: 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :type workspace: str - :param dlm_type: dlm版本类型 + :param dlm_type: 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :type dlm_type: str - :param message_id: 消息信息id + :param message_id: 消息信息id。 :type message_id: str """ @@ -57,7 +57,7 @@ def __init__(self, workspace=None, dlm_type=None, message_id=None): def workspace(self): """Gets the workspace of this ShowMessageDetailRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :return: The workspace of this ShowMessageDetailRequest. :rtype: str @@ -68,7 +68,7 @@ def workspace(self): def workspace(self, workspace): """Sets the workspace of this ShowMessageDetailRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :param workspace: The workspace of this ShowMessageDetailRequest. :type workspace: str @@ -79,7 +79,7 @@ def workspace(self, workspace): def dlm_type(self): """Gets the dlm_type of this ShowMessageDetailRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :return: The dlm_type of this ShowMessageDetailRequest. :rtype: str @@ -90,7 +90,7 @@ def dlm_type(self): def dlm_type(self, dlm_type): """Sets the dlm_type of this ShowMessageDetailRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :param dlm_type: The dlm_type of this ShowMessageDetailRequest. :type dlm_type: str @@ -101,7 +101,7 @@ def dlm_type(self, dlm_type): def message_id(self): """Gets the message_id of this ShowMessageDetailRequest. - 消息信息id + 消息信息id。 :return: The message_id of this ShowMessageDetailRequest. :rtype: str @@ -112,7 +112,7 @@ def message_id(self): def message_id(self, message_id): """Sets the message_id of this ShowMessageDetailRequest. - 消息信息id + 消息信息id。 :param message_id: The message_id of this ShowMessageDetailRequest. :type message_id: str diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_path_by_id_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_path_by_id_request.py index 61f0b4ef69..f67e03a3dc 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_path_by_id_request.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_path_by_id_request.py @@ -37,15 +37,15 @@ def __init__(self, workspace=None, dlm_type=None, catalog_id=None, limit=None, o The model defined in huaweicloud sdk - :param workspace: 工作空间id + :param workspace: 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :type workspace: str - :param dlm_type: dlm版本类型 + :param dlm_type: 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :type dlm_type: str - :param catalog_id: 目录编号 + :param catalog_id: 目录编号。 :type catalog_id: str - :param limit: limit + :param limit: limit。 :type limit: int - :param offset: offset + :param offset: offset。 :type offset: int """ @@ -71,7 +71,7 @@ def __init__(self, workspace=None, dlm_type=None, catalog_id=None, limit=None, o def workspace(self): """Gets the workspace of this ShowPathByIdRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :return: The workspace of this ShowPathByIdRequest. :rtype: str @@ -82,7 +82,7 @@ def workspace(self): def workspace(self, workspace): """Sets the workspace of this ShowPathByIdRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :param workspace: The workspace of this ShowPathByIdRequest. :type workspace: str @@ -93,7 +93,7 @@ def workspace(self, workspace): def dlm_type(self): """Gets the dlm_type of this ShowPathByIdRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :return: The dlm_type of this ShowPathByIdRequest. :rtype: str @@ -104,7 +104,7 @@ def dlm_type(self): def dlm_type(self, dlm_type): """Sets the dlm_type of this ShowPathByIdRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :param dlm_type: The dlm_type of this ShowPathByIdRequest. :type dlm_type: str @@ -115,7 +115,7 @@ def dlm_type(self, dlm_type): def catalog_id(self): """Gets the catalog_id of this ShowPathByIdRequest. - 目录编号 + 目录编号。 :return: The catalog_id of this ShowPathByIdRequest. :rtype: str @@ -126,7 +126,7 @@ def catalog_id(self): def catalog_id(self, catalog_id): """Sets the catalog_id of this ShowPathByIdRequest. - 目录编号 + 目录编号。 :param catalog_id: The catalog_id of this ShowPathByIdRequest. :type catalog_id: str @@ -137,7 +137,7 @@ def catalog_id(self, catalog_id): def limit(self): """Gets the limit of this ShowPathByIdRequest. - limit + limit。 :return: The limit of this ShowPathByIdRequest. :rtype: int @@ -148,7 +148,7 @@ def limit(self): def limit(self, limit): """Sets the limit of this ShowPathByIdRequest. - limit + limit。 :param limit: The limit of this ShowPathByIdRequest. :type limit: int @@ -159,7 +159,7 @@ def limit(self, limit): def offset(self): """Gets the offset of this ShowPathByIdRequest. - offset + offset。 :return: The offset of this ShowPathByIdRequest. :rtype: int @@ -170,7 +170,7 @@ def offset(self): def offset(self, offset): """Sets the offset of this ShowPathByIdRequest. - offset + offset。 :param offset: The offset of this ShowPathByIdRequest. :type offset: int diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_path_object_by_id_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_path_object_by_id_request.py index 33af93adde..79abc875f0 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_path_object_by_id_request.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_path_object_by_id_request.py @@ -37,15 +37,15 @@ def __init__(self, workspace=None, dlm_type=None, catalog_id=None, limit=None, o The model defined in huaweicloud sdk - :param workspace: 工作空间id + :param workspace: 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :type workspace: str - :param dlm_type: dlm版本类型 + :param dlm_type: 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :type dlm_type: str - :param catalog_id: 目录编号 + :param catalog_id: 目录编号。 :type catalog_id: str - :param limit: limit + :param limit: limit。 :type limit: int - :param offset: offset + :param offset: offset。 :type offset: int """ @@ -71,7 +71,7 @@ def __init__(self, workspace=None, dlm_type=None, catalog_id=None, limit=None, o def workspace(self): """Gets the workspace of this ShowPathObjectByIdRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :return: The workspace of this ShowPathObjectByIdRequest. :rtype: str @@ -82,7 +82,7 @@ def workspace(self): def workspace(self, workspace): """Sets the workspace of this ShowPathObjectByIdRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :param workspace: The workspace of this ShowPathObjectByIdRequest. :type workspace: str @@ -93,7 +93,7 @@ def workspace(self, workspace): def dlm_type(self): """Gets the dlm_type of this ShowPathObjectByIdRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :return: The dlm_type of this ShowPathObjectByIdRequest. :rtype: str @@ -104,7 +104,7 @@ def dlm_type(self): def dlm_type(self, dlm_type): """Sets the dlm_type of this ShowPathObjectByIdRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :param dlm_type: The dlm_type of this ShowPathObjectByIdRequest. :type dlm_type: str @@ -115,7 +115,7 @@ def dlm_type(self, dlm_type): def catalog_id(self): """Gets the catalog_id of this ShowPathObjectByIdRequest. - 目录编号 + 目录编号。 :return: The catalog_id of this ShowPathObjectByIdRequest. :rtype: str @@ -126,7 +126,7 @@ def catalog_id(self): def catalog_id(self, catalog_id): """Sets the catalog_id of this ShowPathObjectByIdRequest. - 目录编号 + 目录编号。 :param catalog_id: The catalog_id of this ShowPathObjectByIdRequest. :type catalog_id: str @@ -137,7 +137,7 @@ def catalog_id(self, catalog_id): def limit(self): """Gets the limit of this ShowPathObjectByIdRequest. - limit + limit。 :return: The limit of this ShowPathObjectByIdRequest. :rtype: int @@ -148,7 +148,7 @@ def limit(self): def limit(self, limit): """Sets the limit of this ShowPathObjectByIdRequest. - limit + limit。 :param limit: The limit of this ShowPathObjectByIdRequest. :type limit: int @@ -159,7 +159,7 @@ def limit(self, limit): def offset(self): """Gets the offset of this ShowPathObjectByIdRequest. - offset + offset。 :return: The offset of this ShowPathObjectByIdRequest. :rtype: int @@ -170,7 +170,7 @@ def offset(self): def offset(self, offset): """Sets the offset of this ShowPathObjectByIdRequest. - offset + offset。 :param offset: The offset of this ShowPathObjectByIdRequest. :type offset: int diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/update_api_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/update_api_request.py index ef1117f4e3..06db6df744 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/update_api_request.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/update_api_request.py @@ -35,11 +35,11 @@ def __init__(self, workspace=None, dlm_type=None, api_id=None, body=None): The model defined in huaweicloud sdk - :param workspace: 工作空间id + :param workspace: 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :type workspace: str - :param dlm_type: dlm版本类型 + :param dlm_type: 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :type dlm_type: str - :param api_id: API ID + :param api_id: API ID。 :type api_id: str :param body: Body of the UpdateApiRequest :type body: :class:`huaweicloudsdkdataartsstudio.v1.Api` @@ -64,7 +64,7 @@ def __init__(self, workspace=None, dlm_type=None, api_id=None, body=None): def workspace(self): """Gets the workspace of this UpdateApiRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :return: The workspace of this UpdateApiRequest. :rtype: str @@ -75,7 +75,7 @@ def workspace(self): def workspace(self, workspace): """Sets the workspace of this UpdateApiRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :param workspace: The workspace of this UpdateApiRequest. :type workspace: str @@ -86,7 +86,7 @@ def workspace(self, workspace): def dlm_type(self): """Gets the dlm_type of this UpdateApiRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :return: The dlm_type of this UpdateApiRequest. :rtype: str @@ -97,7 +97,7 @@ def dlm_type(self): def dlm_type(self, dlm_type): """Sets the dlm_type of this UpdateApiRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :param dlm_type: The dlm_type of this UpdateApiRequest. :type dlm_type: str @@ -108,7 +108,7 @@ def dlm_type(self, dlm_type): def api_id(self): """Gets the api_id of this UpdateApiRequest. - API ID + API ID。 :return: The api_id of this UpdateApiRequest. :rtype: str @@ -119,7 +119,7 @@ def api_id(self): def api_id(self, api_id): """Sets the api_id of this UpdateApiRequest. - API ID + API ID。 :param api_id: The api_id of this UpdateApiRequest. :type api_id: str diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/update_app_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/update_app_request.py index 3a30bbdee7..beafdee4a2 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/update_app_request.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/update_app_request.py @@ -35,11 +35,11 @@ def __init__(self, workspace=None, dlm_type=None, app_id=None, body=None): The model defined in huaweicloud sdk - :param workspace: 工作空间id + :param workspace: 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :type workspace: str - :param dlm_type: dlm版本类型 + :param dlm_type: 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :type dlm_type: str - :param app_id: 应用编号 + :param app_id: 应用编号。 :type app_id: str :param body: Body of the UpdateAppRequest :type body: :class:`huaweicloudsdkdataartsstudio.v1.AppUpdateDTO` @@ -64,7 +64,7 @@ def __init__(self, workspace=None, dlm_type=None, app_id=None, body=None): def workspace(self): """Gets the workspace of this UpdateAppRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :return: The workspace of this UpdateAppRequest. :rtype: str @@ -75,7 +75,7 @@ def workspace(self): def workspace(self, workspace): """Sets the workspace of this UpdateAppRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :param workspace: The workspace of this UpdateAppRequest. :type workspace: str @@ -86,7 +86,7 @@ def workspace(self, workspace): def dlm_type(self): """Gets the dlm_type of this UpdateAppRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :return: The dlm_type of this UpdateAppRequest. :rtype: str @@ -97,7 +97,7 @@ def dlm_type(self): def dlm_type(self, dlm_type): """Sets the dlm_type of this UpdateAppRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :param dlm_type: The dlm_type of this UpdateAppRequest. :type dlm_type: str @@ -108,7 +108,7 @@ def dlm_type(self, dlm_type): def app_id(self): """Gets the app_id of this UpdateAppRequest. - 应用编号 + 应用编号。 :return: The app_id of this UpdateAppRequest. :rtype: str @@ -119,7 +119,7 @@ def app_id(self): def app_id(self, app_id): """Sets the app_id of this UpdateAppRequest. - 应用编号 + 应用编号。 :param app_id: The app_id of this UpdateAppRequest. :type app_id: str diff --git a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/update_catalog_request.py b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/update_catalog_request.py index 5a41dcd221..ec4cd63c98 100644 --- a/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/update_catalog_request.py +++ b/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/update_catalog_request.py @@ -35,11 +35,11 @@ def __init__(self, workspace=None, dlm_type=None, catalog_id=None, body=None): The model defined in huaweicloud sdk - :param workspace: 工作空间id + :param workspace: 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :type workspace: str - :param dlm_type: dlm版本类型 + :param dlm_type: 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :type dlm_type: str - :param catalog_id: 目录编号 + :param catalog_id: 目录编号。 :type catalog_id: str :param body: Body of the UpdateCatalogRequest :type body: :class:`huaweicloudsdkdataartsstudio.v1.ApiCatalogUpdateParaDTO` @@ -64,7 +64,7 @@ def __init__(self, workspace=None, dlm_type=None, catalog_id=None, body=None): def workspace(self): """Gets the workspace of this UpdateCatalogRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :return: The workspace of this UpdateCatalogRequest. :rtype: str @@ -75,7 +75,7 @@ def workspace(self): def workspace(self, workspace): """Sets the workspace of this UpdateCatalogRequest. - 工作空间id + 工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。 :param workspace: The workspace of this UpdateCatalogRequest. :type workspace: str @@ -86,7 +86,7 @@ def workspace(self, workspace): def dlm_type(self): """Gets the dlm_type of this UpdateCatalogRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :return: The dlm_type of this UpdateCatalogRequest. :rtype: str @@ -97,7 +97,7 @@ def dlm_type(self): def dlm_type(self, dlm_type): """Sets the dlm_type of this UpdateCatalogRequest. - dlm版本类型 + 数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。 :param dlm_type: The dlm_type of this UpdateCatalogRequest. :type dlm_type: str @@ -108,7 +108,7 @@ def dlm_type(self, dlm_type): def catalog_id(self): """Gets the catalog_id of this UpdateCatalogRequest. - 目录编号 + 目录编号。 :return: The catalog_id of this UpdateCatalogRequest. :rtype: str @@ -119,7 +119,7 @@ def catalog_id(self): def catalog_id(self, catalog_id): """Sets the catalog_id of this UpdateCatalogRequest. - 目录编号 + 目录编号。 :param catalog_id: The catalog_id of this UpdateCatalogRequest. :type catalog_id: str diff --git a/huaweicloud-sdk-dataartsstudio/requirements.txt b/huaweicloud-sdk-dataartsstudio/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-dataartsstudio/requirements.txt +++ b/huaweicloud-sdk-dataartsstudio/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-dataartsstudio/setup.py b/huaweicloud-sdk-dataartsstudio/setup.py index feb97638ec..dda58a689e 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dbss/requirements.txt b/huaweicloud-sdk-dbss/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-dbss/requirements.txt +++ b/huaweicloud-sdk-dbss/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-dbss/setup.py b/huaweicloud-sdk-dbss/setup.py index bd7671276c..2142d06f05 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dc/requirements.txt b/huaweicloud-sdk-dc/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-dc/requirements.txt +++ b/huaweicloud-sdk-dc/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-dc/setup.py b/huaweicloud-sdk-dc/setup.py index 9f733b116b..3297af31a1 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dcs/huaweicloudsdkdcs/v2/model/source_instance_body.py b/huaweicloud-sdk-dcs/huaweicloudsdkdcs/v2/model/source_instance_body.py index 77fee9c11b..f7363514b4 100644 --- a/huaweicloud-sdk-dcs/huaweicloudsdkdcs/v2/model/source_instance_body.py +++ b/huaweicloud-sdk-dcs/huaweicloudsdkdcs/v2/model/source_instance_body.py @@ -18,15 +18,29 @@ class SourceInstanceBody: openapi_types = { 'addrs': 'str', - 'password': 'str' + 'password': 'str', + 'task_status': 'str', + 'id': 'str', + 'ip': 'str', + 'port': 'str', + 'name': 'str', + 'proxy_multi_db': 'bool', + 'db': 'str' } attribute_map = { 'addrs': 'addrs', - 'password': 'password' + 'password': 'password', + 'task_status': 'task_status', + 'id': 'id', + 'ip': 'ip', + 'port': 'port', + 'name': 'name', + 'proxy_multi_db': 'proxy_multi_db', + 'db': 'db' } - def __init__(self, addrs=None, password=None): + def __init__(self, addrs=None, password=None, task_status=None, id=None, ip=None, port=None, name=None, proxy_multi_db=None, db=None): """SourceInstanceBody The model defined in huaweicloud sdk @@ -35,17 +49,52 @@ def __init__(self, addrs=None, password=None): :type addrs: str :param password: Redis密码,如果设置了密码,则必须填写。 :type password: str + :param task_status: 任务状态。 + :type task_status: str + :param id: Redis实例ID。 + :type id: str + :param ip: Redis IP地址。 + :type ip: str + :param port: Redis端口。 + :type port: str + :param name: Redis名称。 + :type name: str + :param proxy_multi_db: proxy实例是否开启了多DB。 + :type proxy_multi_db: bool + :param db: Redis数据库。 + :type db: str """ self._addrs = None self._password = None + self._task_status = None + self._id = None + self._ip = None + self._port = None + self._name = None + self._proxy_multi_db = None + self._db = None self.discriminator = None self.addrs = addrs if password is not None: self.password = password + if task_status is not None: + self.task_status = task_status + if id is not None: + self.id = id + if ip is not None: + self.ip = ip + if port is not None: + self.port = port + if name is not None: + self.name = name + if proxy_multi_db is not None: + self.proxy_multi_db = proxy_multi_db + if db is not None: + self.db = db @property def addrs(self): @@ -91,6 +140,160 @@ def password(self, password): """ self._password = password + @property + def task_status(self): + """Gets the task_status of this SourceInstanceBody. + + 任务状态。 + + :return: The task_status of this SourceInstanceBody. + :rtype: str + """ + return self._task_status + + @task_status.setter + def task_status(self, task_status): + """Sets the task_status of this SourceInstanceBody. + + 任务状态。 + + :param task_status: The task_status of this SourceInstanceBody. + :type task_status: str + """ + self._task_status = task_status + + @property + def id(self): + """Gets the id of this SourceInstanceBody. + + Redis实例ID。 + + :return: The id of this SourceInstanceBody. + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this SourceInstanceBody. + + Redis实例ID。 + + :param id: The id of this SourceInstanceBody. + :type id: str + """ + self._id = id + + @property + def ip(self): + """Gets the ip of this SourceInstanceBody. + + Redis IP地址。 + + :return: The ip of this SourceInstanceBody. + :rtype: str + """ + return self._ip + + @ip.setter + def ip(self, ip): + """Sets the ip of this SourceInstanceBody. + + Redis IP地址。 + + :param ip: The ip of this SourceInstanceBody. + :type ip: str + """ + self._ip = ip + + @property + def port(self): + """Gets the port of this SourceInstanceBody. + + Redis端口。 + + :return: The port of this SourceInstanceBody. + :rtype: str + """ + return self._port + + @port.setter + def port(self, port): + """Sets the port of this SourceInstanceBody. + + Redis端口。 + + :param port: The port of this SourceInstanceBody. + :type port: str + """ + self._port = port + + @property + def name(self): + """Gets the name of this SourceInstanceBody. + + Redis名称。 + + :return: The name of this SourceInstanceBody. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this SourceInstanceBody. + + Redis名称。 + + :param name: The name of this SourceInstanceBody. + :type name: str + """ + self._name = name + + @property + def proxy_multi_db(self): + """Gets the proxy_multi_db of this SourceInstanceBody. + + proxy实例是否开启了多DB。 + + :return: The proxy_multi_db of this SourceInstanceBody. + :rtype: bool + """ + return self._proxy_multi_db + + @proxy_multi_db.setter + def proxy_multi_db(self, proxy_multi_db): + """Sets the proxy_multi_db of this SourceInstanceBody. + + proxy实例是否开启了多DB。 + + :param proxy_multi_db: The proxy_multi_db of this SourceInstanceBody. + :type proxy_multi_db: bool + """ + self._proxy_multi_db = proxy_multi_db + + @property + def db(self): + """Gets the db of this SourceInstanceBody. + + Redis数据库。 + + :return: The db of this SourceInstanceBody. + :rtype: str + """ + return self._db + + @db.setter + def db(self, db): + """Sets the db of this SourceInstanceBody. + + Redis数据库。 + + :param db: The db of this SourceInstanceBody. + :type db: str + """ + self._db = db + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-dcs/huaweicloudsdkdcs/v2/model/target_instance_body.py b/huaweicloud-sdk-dcs/huaweicloudsdkdcs/v2/model/target_instance_body.py index 9f02c154fc..1192d966b7 100644 --- a/huaweicloud-sdk-dcs/huaweicloudsdkdcs/v2/model/target_instance_body.py +++ b/huaweicloud-sdk-dcs/huaweicloudsdkdcs/v2/model/target_instance_body.py @@ -19,16 +19,26 @@ class TargetInstanceBody: openapi_types = { 'id': 'str', 'name': 'str', - 'password': 'str' + 'password': 'str', + 'ip': 'str', + 'port': 'str', + 'addrs': 'str', + 'proxy_multi_db': 'bool', + 'db': 'str' } attribute_map = { 'id': 'id', 'name': 'name', - 'password': 'password' + 'password': 'password', + 'ip': 'ip', + 'port': 'port', + 'addrs': 'addrs', + 'proxy_multi_db': 'proxy_multi_db', + 'db': 'db' } - def __init__(self, id=None, name=None, password=None): + def __init__(self, id=None, name=None, password=None, ip=None, port=None, addrs=None, proxy_multi_db=None, db=None): """TargetInstanceBody The model defined in huaweicloud sdk @@ -39,6 +49,16 @@ def __init__(self, id=None, name=None, password=None): :type name: str :param password: Redis密码,如果设置了密码,则必须填写。 :type password: str + :param ip: Redis IP地址。 + :type ip: str + :param port: Redis端口。 + :type port: str + :param addrs: Redis实例地址。 + :type addrs: str + :param proxy_multi_db: proxy实例是否开启了多DB。 + :type proxy_multi_db: bool + :param db: Redis数据库。 + :type db: str """ @@ -46,6 +66,11 @@ def __init__(self, id=None, name=None, password=None): self._id = None self._name = None self._password = None + self._ip = None + self._port = None + self._addrs = None + self._proxy_multi_db = None + self._db = None self.discriminator = None self.id = id @@ -53,6 +78,16 @@ def __init__(self, id=None, name=None, password=None): self.name = name if password is not None: self.password = password + if ip is not None: + self.ip = ip + if port is not None: + self.port = port + if addrs is not None: + self.addrs = addrs + if proxy_multi_db is not None: + self.proxy_multi_db = proxy_multi_db + if db is not None: + self.db = db @property def id(self): @@ -120,6 +155,116 @@ def password(self, password): """ self._password = password + @property + def ip(self): + """Gets the ip of this TargetInstanceBody. + + Redis IP地址。 + + :return: The ip of this TargetInstanceBody. + :rtype: str + """ + return self._ip + + @ip.setter + def ip(self, ip): + """Sets the ip of this TargetInstanceBody. + + Redis IP地址。 + + :param ip: The ip of this TargetInstanceBody. + :type ip: str + """ + self._ip = ip + + @property + def port(self): + """Gets the port of this TargetInstanceBody. + + Redis端口。 + + :return: The port of this TargetInstanceBody. + :rtype: str + """ + return self._port + + @port.setter + def port(self, port): + """Sets the port of this TargetInstanceBody. + + Redis端口。 + + :param port: The port of this TargetInstanceBody. + :type port: str + """ + self._port = port + + @property + def addrs(self): + """Gets the addrs of this TargetInstanceBody. + + Redis实例地址。 + + :return: The addrs of this TargetInstanceBody. + :rtype: str + """ + return self._addrs + + @addrs.setter + def addrs(self, addrs): + """Sets the addrs of this TargetInstanceBody. + + Redis实例地址。 + + :param addrs: The addrs of this TargetInstanceBody. + :type addrs: str + """ + self._addrs = addrs + + @property + def proxy_multi_db(self): + """Gets the proxy_multi_db of this TargetInstanceBody. + + proxy实例是否开启了多DB。 + + :return: The proxy_multi_db of this TargetInstanceBody. + :rtype: bool + """ + return self._proxy_multi_db + + @proxy_multi_db.setter + def proxy_multi_db(self, proxy_multi_db): + """Sets the proxy_multi_db of this TargetInstanceBody. + + proxy实例是否开启了多DB。 + + :param proxy_multi_db: The proxy_multi_db of this TargetInstanceBody. + :type proxy_multi_db: bool + """ + self._proxy_multi_db = proxy_multi_db + + @property + def db(self): + """Gets the db of this TargetInstanceBody. + + Redis数据库。 + + :return: The db of this TargetInstanceBody. + :rtype: str + """ + return self._db + + @db.setter + def db(self, db): + """Sets the db of this TargetInstanceBody. + + Redis数据库。 + + :param db: The db of this TargetInstanceBody. + :type db: str + """ + self._db = db + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-dcs/requirements.txt b/huaweicloud-sdk-dcs/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-dcs/requirements.txt +++ b/huaweicloud-sdk-dcs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-dcs/setup.py b/huaweicloud-sdk-dcs/setup.py index 67127e709e..13df26a3b5 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ddm/huaweicloudsdkddm/v1/region/ddm_region.py b/huaweicloud-sdk-ddm/huaweicloudsdkddm/v1/region/ddm_region.py index 7f00ab2400..915b6f86c7 100644 --- a/huaweicloud-sdk-ddm/huaweicloudsdkddm/v1/region/ddm_region.py +++ b/huaweicloud-sdk-ddm/huaweicloudsdkddm/v1/region/ddm_region.py @@ -32,6 +32,8 @@ class DdmRegion: "https://ddm.sa-brazil-1.myhuaweicloud.com") LA_SOUTH_2 = Region("la-south-2", "https://ddm.la-south-2.myhuaweicloud.com") + MY_KUALALUMPUR_1 = Region("my-kualalumpur-1", + "https://ddm.my-kualalumpur-1.myhuaweicloud.com") static_fields = { "eu-west-101": EU_WEST_101, @@ -47,6 +49,7 @@ class DdmRegion: "la-north-2": LA_NORTH_2, "sa-brazil-1": SA_BRAZIL_1, "la-south-2": LA_SOUTH_2, + "my-kualalumpur-1": MY_KUALALUMPUR_1, } @classmethod diff --git a/huaweicloud-sdk-ddm/requirements.txt b/huaweicloud-sdk-ddm/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-ddm/requirements.txt +++ b/huaweicloud-sdk-ddm/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-ddm/setup.py b/huaweicloud-sdk-ddm/setup.py index 18d441c20e..a7f66dd858 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dds/requirements.txt b/huaweicloud-sdk-dds/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-dds/requirements.txt +++ b/huaweicloud-sdk-dds/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-dds/setup.py b/huaweicloud-sdk-dds/setup.py index 00d531ad40..9913736704 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-deh/requirements.txt b/huaweicloud-sdk-deh/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-deh/requirements.txt +++ b/huaweicloud-sdk-deh/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-deh/setup.py b/huaweicloud-sdk-deh/setup.py index 601e80a259..8e9338c9d9 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-devsecurity/requirements.txt b/huaweicloud-sdk-devsecurity/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-devsecurity/requirements.txt +++ b/huaweicloud-sdk-devsecurity/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-devsecurity/setup.py b/huaweicloud-sdk-devsecurity/setup.py index ea5eb11023..a92b4492d3 100644 --- a/huaweicloud-sdk-devsecurity/setup.py +++ b/huaweicloud-sdk-devsecurity/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "huaweicloudsdkdevsecurity" -VERSION = "3.1.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-devstar/requirements.txt b/huaweicloud-sdk-devstar/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-devstar/requirements.txt +++ b/huaweicloud-sdk-devstar/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-devstar/setup.py b/huaweicloud-sdk-devstar/setup.py index 695040af35..b43328d84a 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dgc/requirements.txt b/huaweicloud-sdk-dgc/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-dgc/requirements.txt +++ b/huaweicloud-sdk-dgc/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-dgc/setup.py b/huaweicloud-sdk-dgc/setup.py index cf4c40fa8e..c1aad1398f 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dis/requirements.txt b/huaweicloud-sdk-dis/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-dis/requirements.txt +++ b/huaweicloud-sdk-dis/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-dis/setup.py b/huaweicloud-sdk-dis/setup.py index 232fb487ac..9780339b41 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dlf/requirements.txt b/huaweicloud-sdk-dlf/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-dlf/requirements.txt +++ b/huaweicloud-sdk-dlf/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-dlf/setup.py b/huaweicloud-sdk-dlf/setup.py index 99923bc634..02aea13531 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dli/huaweicloudsdkdli/v1/model/create_flink_jar_job_response.py b/huaweicloud-sdk-dli/huaweicloudsdkdli/v1/model/create_flink_jar_job_response.py index 6881ee58d0..f430fc494d 100644 --- a/huaweicloud-sdk-dli/huaweicloudsdkdli/v1/model/create_flink_jar_job_response.py +++ b/huaweicloud-sdk-dli/huaweicloudsdkdli/v1/model/create_flink_jar_job_response.py @@ -18,7 +18,7 @@ class CreateFlinkJarJobResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'is_success': 'bool', + 'is_success': 'str', 'message': 'str', 'job': 'FlinkJobStatus' } @@ -35,7 +35,7 @@ def __init__(self, is_success=None, message=None, job=None): The model defined in huaweicloud sdk :param is_success: 执行请求是否成功。“true”表示请求执行成功。 - :type is_success: bool + :type is_success: str :param message: 消息内容 :type message: str :param job: @@ -63,7 +63,7 @@ def is_success(self): 执行请求是否成功。“true”表示请求执行成功。 :return: The is_success of this CreateFlinkJarJobResponse. - :rtype: bool + :rtype: str """ return self._is_success @@ -74,7 +74,7 @@ def is_success(self, is_success): 执行请求是否成功。“true”表示请求执行成功。 :param is_success: The is_success of this CreateFlinkJarJobResponse. - :type is_success: bool + :type is_success: str """ self._is_success = is_success diff --git a/huaweicloud-sdk-dli/huaweicloudsdkdli/v1/model/create_flink_sql_job_response.py b/huaweicloud-sdk-dli/huaweicloudsdkdli/v1/model/create_flink_sql_job_response.py index 487b8cbbd2..bb959d8d72 100644 --- a/huaweicloud-sdk-dli/huaweicloudsdkdli/v1/model/create_flink_sql_job_response.py +++ b/huaweicloud-sdk-dli/huaweicloudsdkdli/v1/model/create_flink_sql_job_response.py @@ -18,7 +18,7 @@ class CreateFlinkSqlJobResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'is_success': 'bool', + 'is_success': 'str', 'message': 'str', 'job': 'FlinkJobStatus' } @@ -35,7 +35,7 @@ def __init__(self, is_success=None, message=None, job=None): The model defined in huaweicloud sdk :param is_success: 执行请求是否成功。“true”表示请求执行成功。 - :type is_success: bool + :type is_success: str :param message: 消息内容 :type message: str :param job: @@ -63,7 +63,7 @@ def is_success(self): 执行请求是否成功。“true”表示请求执行成功。 :return: The is_success of this CreateFlinkSqlJobResponse. - :rtype: bool + :rtype: str """ return self._is_success @@ -74,7 +74,7 @@ def is_success(self, is_success): 执行请求是否成功。“true”表示请求执行成功。 :param is_success: The is_success of this CreateFlinkSqlJobResponse. - :type is_success: bool + :type is_success: str """ self._is_success = is_success diff --git a/huaweicloud-sdk-dli/huaweicloudsdkdli/v1/model/show_flink_job_response.py b/huaweicloud-sdk-dli/huaweicloudsdkdli/v1/model/show_flink_job_response.py index 0dd9ab5f6f..dfd6cfc71a 100644 --- a/huaweicloud-sdk-dli/huaweicloudsdkdli/v1/model/show_flink_job_response.py +++ b/huaweicloud-sdk-dli/huaweicloudsdkdli/v1/model/show_flink_job_response.py @@ -18,7 +18,7 @@ class ShowFlinkJobResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'is_success': 'bool', + 'is_success': 'str', 'message': 'str', 'job_detail': 'FlinkJob' } @@ -35,7 +35,7 @@ def __init__(self, is_success=None, message=None, job_detail=None): The model defined in huaweicloud sdk :param is_success: 执行请求是否成功。“true”表示请求执行成功。 - :type is_success: bool + :type is_success: str :param message: 系统提示信息,执行成功时,信息可能为空。 :type message: str :param job_detail: @@ -63,7 +63,7 @@ def is_success(self): 执行请求是否成功。“true”表示请求执行成功。 :return: The is_success of this ShowFlinkJobResponse. - :rtype: bool + :rtype: str """ return self._is_success @@ -74,7 +74,7 @@ def is_success(self, is_success): 执行请求是否成功。“true”表示请求执行成功。 :param is_success: The is_success of this ShowFlinkJobResponse. - :type is_success: bool + :type is_success: str """ self._is_success = is_success diff --git a/huaweicloud-sdk-dli/huaweicloudsdkdli/v1/model/update_flink_jar_job_response.py b/huaweicloud-sdk-dli/huaweicloudsdkdli/v1/model/update_flink_jar_job_response.py index 142bd6535e..667475ac75 100644 --- a/huaweicloud-sdk-dli/huaweicloudsdkdli/v1/model/update_flink_jar_job_response.py +++ b/huaweicloud-sdk-dli/huaweicloudsdkdli/v1/model/update_flink_jar_job_response.py @@ -18,7 +18,7 @@ class UpdateFlinkJarJobResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'is_success': 'bool', + 'is_success': 'str', 'message': 'str', 'job': 'FlinkJobUpdateTime' } @@ -35,7 +35,7 @@ def __init__(self, is_success=None, message=None, job=None): The model defined in huaweicloud sdk :param is_success: 执行请求是否成功。“true”表示请求执行成功。 - :type is_success: bool + :type is_success: str :param message: 消息内容。 :type message: str :param job: @@ -63,7 +63,7 @@ def is_success(self): 执行请求是否成功。“true”表示请求执行成功。 :return: The is_success of this UpdateFlinkJarJobResponse. - :rtype: bool + :rtype: str """ return self._is_success @@ -74,7 +74,7 @@ def is_success(self, is_success): 执行请求是否成功。“true”表示请求执行成功。 :param is_success: The is_success of this UpdateFlinkJarJobResponse. - :type is_success: bool + :type is_success: str """ self._is_success = is_success diff --git a/huaweicloud-sdk-dli/huaweicloudsdkdli/v1/model/update_flink_sql_job_response.py b/huaweicloud-sdk-dli/huaweicloudsdkdli/v1/model/update_flink_sql_job_response.py index 4f9719fa92..9645df45d2 100644 --- a/huaweicloud-sdk-dli/huaweicloudsdkdli/v1/model/update_flink_sql_job_response.py +++ b/huaweicloud-sdk-dli/huaweicloudsdkdli/v1/model/update_flink_sql_job_response.py @@ -18,7 +18,7 @@ class UpdateFlinkSqlJobResponse(SdkResponse): sensitive_list = [] openapi_types = { - 'is_success': 'bool', + 'is_success': 'str', 'message': 'str', 'job': 'FlinkJobUpdateTime' } @@ -35,7 +35,7 @@ def __init__(self, is_success=None, message=None, job=None): The model defined in huaweicloud sdk :param is_success: 执行请求是否成功。“true”表示请求执行成功。 - :type is_success: bool + :type is_success: str :param message: 消息内容。 :type message: str :param job: @@ -63,7 +63,7 @@ def is_success(self): 执行请求是否成功。“true”表示请求执行成功。 :return: The is_success of this UpdateFlinkSqlJobResponse. - :rtype: bool + :rtype: str """ return self._is_success @@ -74,7 +74,7 @@ def is_success(self, is_success): 执行请求是否成功。“true”表示请求执行成功。 :param is_success: The is_success of this UpdateFlinkSqlJobResponse. - :type is_success: bool + :type is_success: str """ self._is_success = is_success diff --git a/huaweicloud-sdk-dli/requirements.txt b/huaweicloud-sdk-dli/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-dli/requirements.txt +++ b/huaweicloud-sdk-dli/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-dli/setup.py b/huaweicloud-sdk-dli/setup.py index 22e94986bf..cc4ac75f6d 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dns/requirements.txt b/huaweicloud-sdk-dns/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-dns/requirements.txt +++ b/huaweicloud-sdk-dns/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-dns/setup.py b/huaweicloud-sdk-dns/setup.py index a0d8e0033c..210b03cd2f 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dris/requirements.txt b/huaweicloud-sdk-dris/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-dris/requirements.txt +++ b/huaweicloud-sdk-dris/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-dris/setup.py b/huaweicloud-sdk-dris/setup.py index c58a01a21e..c86ebaea17 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-drs/requirements.txt b/huaweicloud-sdk-drs/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-drs/requirements.txt +++ b/huaweicloud-sdk-drs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-drs/setup.py b/huaweicloud-sdk-drs/setup.py index b22cf79a33..f9d42e6978 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dsc/requirements.txt b/huaweicloud-sdk-dsc/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-dsc/requirements.txt +++ b/huaweicloud-sdk-dsc/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-dsc/setup.py b/huaweicloud-sdk-dsc/setup.py index 23f2d189a8..9204fce99b 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dwr/requirements.txt b/huaweicloud-sdk-dwr/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-dwr/requirements.txt +++ b/huaweicloud-sdk-dwr/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-dwr/setup.py b/huaweicloud-sdk-dwr/setup.py index d5bb5387d7..92776f289f 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-dws/huaweicloudsdkdws/v2/model/list_metrics_data_response.py b/huaweicloud-sdk-dws/huaweicloudsdkdws/v2/model/list_metrics_data_response.py index 88e29f6920..b48fb39ce4 100644 --- a/huaweicloud-sdk-dws/huaweicloudsdkdws/v2/model/list_metrics_data_response.py +++ b/huaweicloud-sdk-dws/huaweicloudsdkdws/v2/model/list_metrics_data_response.py @@ -20,7 +20,7 @@ class ListMetricsDataResponse(SdkResponse): openapi_types = { 'code': 'int', 'msg': 'str', - 'data': 'list[dict(str, str)]', + 'data': 'list[dict(str, object)]', 'count': 'int' } @@ -41,7 +41,7 @@ def __init__(self, code=None, msg=None, data=None, count=None): :param msg: 响应信息 :type msg: str :param data: 指标采集数据列表。 - :type data: list[dict(str, str)] + :type data: list[dict(str, object)] :param count: 总列表大小。 :type count: int """ @@ -114,7 +114,7 @@ def data(self): 指标采集数据列表。 :return: The data of this ListMetricsDataResponse. - :rtype: list[dict(str, str)] + :rtype: list[dict(str, object)] """ return self._data @@ -125,7 +125,7 @@ def data(self, data): 指标采集数据列表。 :param data: The data of this ListMetricsDataResponse. - :type data: list[dict(str, str)] + :type data: list[dict(str, object)] """ self._data = data diff --git a/huaweicloud-sdk-dws/requirements.txt b/huaweicloud-sdk-dws/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-dws/requirements.txt +++ b/huaweicloud-sdk-dws/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-dws/setup.py b/huaweicloud-sdk-dws/setup.py index 26be735753..b38ffa6124 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ec/requirements.txt b/huaweicloud-sdk-ec/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-ec/requirements.txt +++ b/huaweicloud-sdk-ec/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-ec/setup.py b/huaweicloud-sdk-ec/setup.py index 75f4947294..7cc09ceb8d 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ecs/requirements.txt b/huaweicloud-sdk-ecs/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-ecs/requirements.txt +++ b/huaweicloud-sdk-ecs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-ecs/setup.py b/huaweicloud-sdk-ecs/setup.py index 7448d1a9f8..54933a4e4c 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-edgesec/requirements.txt b/huaweicloud-sdk-edgesec/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-edgesec/requirements.txt +++ b/huaweicloud-sdk-edgesec/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-edgesec/setup.py b/huaweicloud-sdk-edgesec/setup.py index 3f23fb1865..0fe802e342 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-eg/requirements.txt b/huaweicloud-sdk-eg/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-eg/requirements.txt +++ b/huaweicloud-sdk-eg/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-eg/setup.py b/huaweicloud-sdk-eg/setup.py index 23f3a05427..d0abf86dad 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-eihealth/requirements.txt b/huaweicloud-sdk-eihealth/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-eihealth/requirements.txt +++ b/huaweicloud-sdk-eihealth/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-eihealth/setup.py b/huaweicloud-sdk-eihealth/setup.py index 45af32c362..22cb160bb0 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-eip/requirements.txt b/huaweicloud-sdk-eip/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-eip/requirements.txt +++ b/huaweicloud-sdk-eip/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-eip/setup.py b/huaweicloud-sdk-eip/setup.py index 42de08275c..7fdf0e1aff 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-elb/requirements.txt b/huaweicloud-sdk-elb/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-elb/requirements.txt +++ b/huaweicloud-sdk-elb/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-elb/setup.py b/huaweicloud-sdk-elb/setup.py index c67cf349d0..70af40c8c7 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-eps/requirements.txt b/huaweicloud-sdk-eps/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-eps/requirements.txt +++ b/huaweicloud-sdk-eps/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-eps/setup.py b/huaweicloud-sdk-eps/setup.py index f7caafd7fb..d4a361a7a8 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-er/requirements.txt b/huaweicloud-sdk-er/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-er/requirements.txt +++ b/huaweicloud-sdk-er/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-er/setup.py b/huaweicloud-sdk-er/setup.py index 2e37747686..585fabcfc6 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-evs/requirements.txt b/huaweicloud-sdk-evs/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-evs/requirements.txt +++ b/huaweicloud-sdk-evs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-evs/setup.py b/huaweicloud-sdk-evs/setup.py index ca65cc35a4..2616602ce5 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-frs/requirements.txt b/huaweicloud-sdk-frs/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-frs/requirements.txt +++ b/huaweicloud-sdk-frs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-frs/setup.py b/huaweicloud-sdk-frs/setup.py index 8f8015cd57..dd73b74bb2 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-functiongraph/requirements.txt b/huaweicloud-sdk-functiongraph/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-functiongraph/requirements.txt +++ b/huaweicloud-sdk-functiongraph/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-functiongraph/setup.py b/huaweicloud-sdk-functiongraph/setup.py index e82f1d1dc7..0de19457f7 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ga/requirements.txt b/huaweicloud-sdk-ga/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-ga/requirements.txt +++ b/huaweicloud-sdk-ga/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-ga/setup.py b/huaweicloud-sdk-ga/setup.py index 1b37cb30fc..d8c31ddeab 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-gaussdb/requirements.txt b/huaweicloud-sdk-gaussdb/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-gaussdb/requirements.txt +++ b/huaweicloud-sdk-gaussdb/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-gaussdb/setup.py b/huaweicloud-sdk-gaussdb/setup.py index 228a3de67d..d172e66902 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-gaussdbfornosql/huaweicloudsdkgaussdbfornosql/v3/model/list_instances_result.py b/huaweicloud-sdk-gaussdbfornosql/huaweicloudsdkgaussdbfornosql/v3/model/list_instances_result.py index 36fce2ad8b..425d80f7bb 100644 --- a/huaweicloud-sdk-gaussdbfornosql/huaweicloudsdkgaussdbfornosql/v3/model/list_instances_result.py +++ b/huaweicloud-sdk-gaussdbfornosql/huaweicloudsdkgaussdbfornosql/v3/model/list_instances_result.py @@ -40,7 +40,8 @@ class ListInstancesResult: 'time_zone': 'str', 'actions': 'list[str]', 'lb_ip_address': 'str', - 'lb_port': 'str' + 'lb_port': 'str', + 'availability_zone': 'str' } attribute_map = { @@ -67,10 +68,11 @@ class ListInstancesResult: 'time_zone': 'time_zone', 'actions': 'actions', 'lb_ip_address': 'lb_ip_address', - 'lb_port': 'lb_port' + 'lb_port': 'lb_port', + 'availability_zone': 'availability_zone' } - def __init__(self, id=None, name=None, status=None, port=None, mode=None, region=None, datastore=None, engine=None, created=None, updated=None, db_user_name=None, vpc_id=None, subnet_id=None, security_group_id=None, backup_strategy=None, pay_mode=None, maintenance_window=None, groups=None, enterprise_project_id=None, dedicated_resource_id=None, time_zone=None, actions=None, lb_ip_address=None, lb_port=None): + def __init__(self, id=None, name=None, status=None, port=None, mode=None, region=None, datastore=None, engine=None, created=None, updated=None, db_user_name=None, vpc_id=None, subnet_id=None, security_group_id=None, backup_strategy=None, pay_mode=None, maintenance_window=None, groups=None, enterprise_project_id=None, dedicated_resource_id=None, time_zone=None, actions=None, lb_ip_address=None, lb_port=None, availability_zone=None): """ListInstancesResult The model defined in huaweicloud sdk @@ -123,6 +125,8 @@ def __init__(self, id=None, name=None, status=None, port=None, mode=None, region :type lb_ip_address: str :param lb_port: 负载均衡端口,只有存在负载均衡ip,才会返回该参数。 :type lb_port: str + :param availability_zone: 实例可用区。 + :type availability_zone: str """ @@ -151,6 +155,7 @@ def __init__(self, id=None, name=None, status=None, port=None, mode=None, region self._actions = None self._lb_ip_address = None self._lb_port = None + self._availability_zone = None self.discriminator = None self.id = id @@ -180,6 +185,8 @@ def __init__(self, id=None, name=None, status=None, port=None, mode=None, region self.lb_ip_address = lb_ip_address if lb_port is not None: self.lb_port = lb_port + if availability_zone is not None: + self.availability_zone = availability_zone @property def id(self): @@ -701,6 +708,28 @@ def lb_port(self, lb_port): """ self._lb_port = lb_port + @property + def availability_zone(self): + """Gets the availability_zone of this ListInstancesResult. + + 实例可用区。 + + :return: The availability_zone of this ListInstancesResult. + :rtype: str + """ + return self._availability_zone + + @availability_zone.setter + def availability_zone(self, availability_zone): + """Sets the availability_zone of this ListInstancesResult. + + 实例可用区。 + + :param availability_zone: The availability_zone of this ListInstancesResult. + :type availability_zone: str + """ + self._availability_zone = availability_zone + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-gaussdbfornosql/requirements.txt b/huaweicloud-sdk-gaussdbfornosql/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-gaussdbfornosql/requirements.txt +++ b/huaweicloud-sdk-gaussdbfornosql/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-gaussdbfornosql/setup.py b/huaweicloud-sdk-gaussdbfornosql/setup.py index 114287035c..e218b42473 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-gaussdbforopengauss/requirements.txt b/huaweicloud-sdk-gaussdbforopengauss/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-gaussdbforopengauss/requirements.txt +++ b/huaweicloud-sdk-gaussdbforopengauss/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-gaussdbforopengauss/setup.py b/huaweicloud-sdk-gaussdbforopengauss/setup.py index d950b497be..1a094c0355 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-geip/requirements.txt b/huaweicloud-sdk-geip/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-geip/requirements.txt +++ b/huaweicloud-sdk-geip/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-geip/setup.py b/huaweicloud-sdk-geip/setup.py index 37378aa663..fe272198f2 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ges/requirements.txt b/huaweicloud-sdk-ges/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-ges/requirements.txt +++ b/huaweicloud-sdk-ges/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-ges/setup.py b/huaweicloud-sdk-ges/setup.py index 7f9795200c..6a90cda588 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-gsl/requirements.txt b/huaweicloud-sdk-gsl/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-gsl/requirements.txt +++ b/huaweicloud-sdk-gsl/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-gsl/setup.py b/huaweicloud-sdk-gsl/setup.py index 1415bb4254..a8a353e8cd 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-hilens/requirements.txt b/huaweicloud-sdk-hilens/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-hilens/requirements.txt +++ b/huaweicloud-sdk-hilens/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-hilens/setup.py b/huaweicloud-sdk-hilens/setup.py index cc58a33120..a50cdd11b0 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-hss/huaweicloudsdkhss/v5/model/create_quotas_order_response.py b/huaweicloud-sdk-hss/huaweicloudsdkhss/v5/model/create_quotas_order_response.py index d8f9cbe492..342a4bb8fe 100644 --- a/huaweicloud-sdk-hss/huaweicloudsdkhss/v5/model/create_quotas_order_response.py +++ b/huaweicloud-sdk-hss/huaweicloudsdkhss/v5/model/create_quotas_order_response.py @@ -18,21 +18,52 @@ class CreateQuotasOrderResponse(SdkResponse): sensitive_list = [] openapi_types = { + 'order_id': 'str' } attribute_map = { + 'order_id': 'order_id' } - def __init__(self): + def __init__(self, order_id=None): """CreateQuotasOrderResponse The model defined in huaweicloud sdk + :param order_id: 订单ID + :type order_id: str """ super(CreateQuotasOrderResponse, self).__init__() + + self._order_id = None self.discriminator = None + if order_id is not None: + self.order_id = order_id + + @property + def order_id(self): + """Gets the order_id of this CreateQuotasOrderResponse. + + 订单ID + + :return: The order_id of this CreateQuotasOrderResponse. + :rtype: str + """ + return self._order_id + + @order_id.setter + def order_id(self, order_id): + """Sets the order_id of this CreateQuotasOrderResponse. + + 订单ID + + :param order_id: The order_id of this CreateQuotasOrderResponse. + :type order_id: str + """ + self._order_id = order_id + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-hss/requirements.txt b/huaweicloud-sdk-hss/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-hss/requirements.txt +++ b/huaweicloud-sdk-hss/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-hss/setup.py b/huaweicloud-sdk-hss/setup.py index d876c865b7..a700f0d9d8 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-iam/requirements.txt b/huaweicloud-sdk-iam/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-iam/requirements.txt +++ b/huaweicloud-sdk-iam/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-iam/setup.py b/huaweicloud-sdk-iam/setup.py index eb786846c8..d354da83cd 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-iamaccessanalyzer/requirements.txt b/huaweicloud-sdk-iamaccessanalyzer/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-iamaccessanalyzer/requirements.txt +++ b/huaweicloud-sdk-iamaccessanalyzer/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-iamaccessanalyzer/setup.py b/huaweicloud-sdk-iamaccessanalyzer/setup.py index 9425fdc917..289fe6f092 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-identitycenter/requirements.txt b/huaweicloud-sdk-identitycenter/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-identitycenter/requirements.txt +++ b/huaweicloud-sdk-identitycenter/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-identitycenter/setup.py b/huaweicloud-sdk-identitycenter/setup.py index 75929d04b4..f5d6f6faa2 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-identitycenterstore/requirements.txt b/huaweicloud-sdk-identitycenterstore/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-identitycenterstore/requirements.txt +++ b/huaweicloud-sdk-identitycenterstore/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-identitycenterstore/setup.py b/huaweicloud-sdk-identitycenterstore/setup.py index daefcca7df..8ad3a26fc1 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-idme/requirements.txt b/huaweicloud-sdk-idme/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-idme/requirements.txt +++ b/huaweicloud-sdk-idme/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-idme/setup.py b/huaweicloud-sdk-idme/setup.py index 24456488fc..9fdf325e3a 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-idmeclassicapi/requirements.txt b/huaweicloud-sdk-idmeclassicapi/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-idmeclassicapi/requirements.txt +++ b/huaweicloud-sdk-idmeclassicapi/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-idmeclassicapi/setup.py b/huaweicloud-sdk-idmeclassicapi/setup.py index b62cef473b..a538ffbf39 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-iec/requirements.txt b/huaweicloud-sdk-iec/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-iec/requirements.txt +++ b/huaweicloud-sdk-iec/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-iec/setup.py b/huaweicloud-sdk-iec/setup.py index d41a81637d..0da13b0faf 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ief/requirements.txt b/huaweicloud-sdk-ief/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-ief/requirements.txt +++ b/huaweicloud-sdk-ief/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-ief/setup.py b/huaweicloud-sdk-ief/setup.py index b17634a1cd..26aa4f59b3 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-image/requirements.txt b/huaweicloud-sdk-image/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-image/requirements.txt +++ b/huaweicloud-sdk-image/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-image/setup.py b/huaweicloud-sdk-image/setup.py index ac33101f64..28027b0145 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-imagesearch/requirements.txt b/huaweicloud-sdk-imagesearch/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-imagesearch/requirements.txt +++ b/huaweicloud-sdk-imagesearch/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-imagesearch/setup.py b/huaweicloud-sdk-imagesearch/setup.py index b4a8258c03..78a30fff6b 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ims/requirements.txt b/huaweicloud-sdk-ims/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-ims/requirements.txt +++ b/huaweicloud-sdk-ims/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-ims/setup.py b/huaweicloud-sdk-ims/setup.py index 8ce83e32cb..8e00e22be6 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-iotanalytics/requirements.txt b/huaweicloud-sdk-iotanalytics/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-iotanalytics/requirements.txt +++ b/huaweicloud-sdk-iotanalytics/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-iotanalytics/setup.py b/huaweicloud-sdk-iotanalytics/setup.py index d9e24c7edb..0580b604ec 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/__init__.py b/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/__init__.py index d864d27d8e..3bbdc89933 100644 --- a/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/__init__.py +++ b/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/__init__.py @@ -19,6 +19,7 @@ from huaweicloudsdkiotda.v5.model.add_device_group_dto import AddDeviceGroupDTO from huaweicloudsdkiotda.v5.model.add_device_group_request import AddDeviceGroupRequest from huaweicloudsdkiotda.v5.model.add_device_group_response import AddDeviceGroupResponse +from huaweicloudsdkiotda.v5.model.add_device_proxy import AddDeviceProxy from huaweicloudsdkiotda.v5.model.add_device_request import AddDeviceRequest from huaweicloudsdkiotda.v5.model.add_device_response import AddDeviceResponse from huaweicloudsdkiotda.v5.model.add_flow_control_policy import AddFlowControlPolicy @@ -67,6 +68,8 @@ from huaweicloudsdkiotda.v5.model.create_certificate_dto import CreateCertificateDTO from huaweicloudsdkiotda.v5.model.create_command_request import CreateCommandRequest from huaweicloudsdkiotda.v5.model.create_command_response import CreateCommandResponse +from huaweicloudsdkiotda.v5.model.create_device_proxy_request import CreateDeviceProxyRequest +from huaweicloudsdkiotda.v5.model.create_device_proxy_response import CreateDeviceProxyResponse from huaweicloudsdkiotda.v5.model.create_message_request import CreateMessageRequest from huaweicloudsdkiotda.v5.model.create_message_response import CreateMessageResponse from huaweicloudsdkiotda.v5.model.create_or_delete_device_in_group_request import CreateOrDeleteDeviceInGroupRequest @@ -97,6 +100,8 @@ from huaweicloudsdkiotda.v5.model.delete_certificate_response import DeleteCertificateResponse from huaweicloudsdkiotda.v5.model.delete_device_group_request import DeleteDeviceGroupRequest from huaweicloudsdkiotda.v5.model.delete_device_group_response import DeleteDeviceGroupResponse +from huaweicloudsdkiotda.v5.model.delete_device_proxy_request import DeleteDeviceProxyRequest +from huaweicloudsdkiotda.v5.model.delete_device_proxy_response import DeleteDeviceProxyResponse from huaweicloudsdkiotda.v5.model.delete_device_request import DeleteDeviceRequest from huaweicloudsdkiotda.v5.model.delete_device_response import DeleteDeviceResponse from huaweicloudsdkiotda.v5.model.delete_device_tunnel_request import DeleteDeviceTunnelRequest @@ -131,6 +136,8 @@ from huaweicloudsdkiotda.v5.model.dis_forwarding import DisForwarding from huaweicloudsdkiotda.v5.model.dms_kafka_forwarding import DmsKafkaForwarding from huaweicloudsdkiotda.v5.model.dms_rocket_mq_forwarding import DmsRocketMQForwarding +from huaweicloudsdkiotda.v5.model.effective_time_range import EffectiveTimeRange +from huaweicloudsdkiotda.v5.model.effective_time_range_response_dto import EffectiveTimeRangeResponseDTO from huaweicloudsdkiotda.v5.model.error_info import ErrorInfo from huaweicloudsdkiotda.v5.model.error_info_dto import ErrorInfoDTO from huaweicloudsdkiotda.v5.model.file_location import FileLocation @@ -151,6 +158,8 @@ from huaweicloudsdkiotda.v5.model.list_device_groups_response import ListDeviceGroupsResponse from huaweicloudsdkiotda.v5.model.list_device_messages_request import ListDeviceMessagesRequest from huaweicloudsdkiotda.v5.model.list_device_messages_response import ListDeviceMessagesResponse +from huaweicloudsdkiotda.v5.model.list_device_proxies_request import ListDeviceProxiesRequest +from huaweicloudsdkiotda.v5.model.list_device_proxies_response import ListDeviceProxiesResponse from huaweicloudsdkiotda.v5.model.list_device_tunnels_request import ListDeviceTunnelsRequest from huaweicloudsdkiotda.v5.model.list_device_tunnels_response import ListDeviceTunnelsResponse from huaweicloudsdkiotda.v5.model.list_devices_request import ListDevicesRequest @@ -185,6 +194,7 @@ from huaweicloudsdkiotda.v5.model.product_summary import ProductSummary from huaweicloudsdkiotda.v5.model.properties_dto import PropertiesDTO from huaweicloudsdkiotda.v5.model.property_filter import PropertyFilter +from huaweicloudsdkiotda.v5.model.query_device_proxy_simplify import QueryDeviceProxySimplify from huaweicloudsdkiotda.v5.model.query_device_simplify import QueryDeviceSimplify from huaweicloudsdkiotda.v5.model.query_queue_base import QueryQueueBase from huaweicloudsdkiotda.v5.model.query_resource_by_tags_dto import QueryResourceByTagsDTO @@ -229,6 +239,8 @@ from huaweicloudsdkiotda.v5.model.show_device_group_response import ShowDeviceGroupResponse from huaweicloudsdkiotda.v5.model.show_device_message_request import ShowDeviceMessageRequest from huaweicloudsdkiotda.v5.model.show_device_message_response import ShowDeviceMessageResponse +from huaweicloudsdkiotda.v5.model.show_device_proxy_request import ShowDeviceProxyRequest +from huaweicloudsdkiotda.v5.model.show_device_proxy_response import ShowDeviceProxyResponse from huaweicloudsdkiotda.v5.model.show_device_request import ShowDeviceRequest from huaweicloudsdkiotda.v5.model.show_device_response import ShowDeviceResponse from huaweicloudsdkiotda.v5.model.show_device_shadow_request import ShowDeviceShadowRequest @@ -283,6 +295,9 @@ from huaweicloudsdkiotda.v5.model.update_device_group_dto import UpdateDeviceGroupDTO from huaweicloudsdkiotda.v5.model.update_device_group_request import UpdateDeviceGroupRequest from huaweicloudsdkiotda.v5.model.update_device_group_response import UpdateDeviceGroupResponse +from huaweicloudsdkiotda.v5.model.update_device_proxy import UpdateDeviceProxy +from huaweicloudsdkiotda.v5.model.update_device_proxy_request import UpdateDeviceProxyRequest +from huaweicloudsdkiotda.v5.model.update_device_proxy_response import UpdateDeviceProxyResponse from huaweicloudsdkiotda.v5.model.update_device_request import UpdateDeviceRequest from huaweicloudsdkiotda.v5.model.update_device_response import UpdateDeviceResponse from huaweicloudsdkiotda.v5.model.update_device_shadow_desired_data_request import UpdateDeviceShadowDesiredDataRequest diff --git a/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/iotda_async_client.py b/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/iotda_async_client.py index 1e1ee9553f..bc88639d49 100644 --- a/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/iotda_async_client.py +++ b/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/iotda_async_client.py @@ -3576,6 +3576,353 @@ def _update_device_http_info(self, request): return http_info + def create_device_proxy_async(self, request): + """创建设备代理 + + 应用服务器可调用此接口在物联网平台创建一个动态设备代理规则,用于子设备自主选择网关设备上线和上报消息,即代理组下的任意网关下的子设备均可以通过代理组里其他设备上线([[网关更新子设备状态](https://support.huaweicloud.com/api-iothub/iot_06_v5_3022.html)](tag:hws) [[网关更新子设备状态](https://support.huaweicloud.com/intl/zh-cn/api-iothub/iot_06_v5_3022.html)](tag:hws_hk))然后进行数据上报([[网关批量设备属性上报](https://support.huaweicloud.com/api-iothub/iot_06_v5_3006.html)](tag:hws) [[网关更新子设备状态](https://support.huaweicloud.com/intl/zh-cn/api-iothub/iot_06_v5_3006.html)](tag:hws_hk))。 + - 单实例最多可以配置10个设备代理 + - 单账号调用该接口的 TPS 限制最大为1/S(每秒1次请求数) + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for CreateDeviceProxy + :type request: :class:`huaweicloudsdkiotda.v5.CreateDeviceProxyRequest` + :rtype: :class:`huaweicloudsdkiotda.v5.CreateDeviceProxyResponse` + """ + http_info = self._create_device_proxy_http_info(request) + return self._call_api(**http_info) + + def create_device_proxy_async_invoker(self, request): + http_info = self._create_device_proxy_http_info(request) + return AsyncInvoker(self, http_info) + + def _create_device_proxy_http_info(self, request): + http_info = { + "method": "POST", + "resource_path": "/v5/iot/{project_id}/device-proxies", + "request_type": request.__class__.__name__, + "response_type": "CreateDeviceProxyResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + if 'instance_id' in local_var_params: + header_params['Instance-Id'] = local_var_params['instance_id'] + + form_params = {} + + body = None + if 'body' in local_var_params: + body = local_var_params['body'] + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = [] + + 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_device_proxy_async(self, request): + """删除设备代理 + + 应用服务器可调用此接口在物联网平台上删除指定设备代理。 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for DeleteDeviceProxy + :type request: :class:`huaweicloudsdkiotda.v5.DeleteDeviceProxyRequest` + :rtype: :class:`huaweicloudsdkiotda.v5.DeleteDeviceProxyResponse` + """ + http_info = self._delete_device_proxy_http_info(request) + return self._call_api(**http_info) + + def delete_device_proxy_async_invoker(self, request): + http_info = self._delete_device_proxy_http_info(request) + return AsyncInvoker(self, http_info) + + def _delete_device_proxy_http_info(self, request): + http_info = { + "method": "DELETE", + "resource_path": "/v5/iot/{project_id}/device-proxies/{proxy_id}", + "request_type": request.__class__.__name__, + "response_type": "DeleteDeviceProxyResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'proxy_id' in local_var_params: + path_params['proxy_id'] = local_var_params['proxy_id'] + + query_params = [] + + header_params = {} + if 'instance_id' in local_var_params: + header_params['Instance-Id'] = local_var_params['instance_id'] + + 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_device_proxies_async(self, request): + """查询设备代理列表 + + 应用服务器可调用此接口查询物联网平台中的设备代理列表。 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for ListDeviceProxies + :type request: :class:`huaweicloudsdkiotda.v5.ListDeviceProxiesRequest` + :rtype: :class:`huaweicloudsdkiotda.v5.ListDeviceProxiesResponse` + """ + http_info = self._list_device_proxies_http_info(request) + return self._call_api(**http_info) + + def list_device_proxies_async_invoker(self, request): + http_info = self._list_device_proxies_http_info(request) + return AsyncInvoker(self, http_info) + + def _list_device_proxies_http_info(self, request): + http_info = { + "method": "GET", + "resource_path": "/v5/iot/{project_id}/device-proxies", + "request_type": request.__class__.__name__, + "response_type": "ListDeviceProxiesResponse" + } + + 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 'app_id' in local_var_params: + query_params.append(('app_id', local_var_params['app_id'])) + if 'proxy_name' in local_var_params: + query_params.append(('proxy_name', local_var_params['proxy_name'])) + if 'limit' in local_var_params: + query_params.append(('limit', local_var_params['limit'])) + if 'marker' in local_var_params: + query_params.append(('marker', local_var_params['marker'])) + if 'offset' in local_var_params: + query_params.append(('offset', local_var_params['offset'])) + + header_params = {} + if 'instance_id' in local_var_params: + header_params['Instance-Id'] = local_var_params['instance_id'] + + 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_device_proxy_async(self, request): + """查询设备代理详情 + + 应用服务器可调用此接口查询物联网平台中指定设备代理的详细信息。 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for ShowDeviceProxy + :type request: :class:`huaweicloudsdkiotda.v5.ShowDeviceProxyRequest` + :rtype: :class:`huaweicloudsdkiotda.v5.ShowDeviceProxyResponse` + """ + http_info = self._show_device_proxy_http_info(request) + return self._call_api(**http_info) + + def show_device_proxy_async_invoker(self, request): + http_info = self._show_device_proxy_http_info(request) + return AsyncInvoker(self, http_info) + + def _show_device_proxy_http_info(self, request): + http_info = { + "method": "GET", + "resource_path": "/v5/iot/{project_id}/device-proxies/{proxy_id}", + "request_type": request.__class__.__name__, + "response_type": "ShowDeviceProxyResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'proxy_id' in local_var_params: + path_params['proxy_id'] = local_var_params['proxy_id'] + + query_params = [] + + header_params = {} + if 'instance_id' in local_var_params: + header_params['Instance-Id'] = local_var_params['instance_id'] + + 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_device_proxy_async(self, request): + """修改设备代理 + + 应用服务器可调用此接口修改物联网平台中指定设备代理的基本信息。 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for UpdateDeviceProxy + :type request: :class:`huaweicloudsdkiotda.v5.UpdateDeviceProxyRequest` + :rtype: :class:`huaweicloudsdkiotda.v5.UpdateDeviceProxyResponse` + """ + http_info = self._update_device_proxy_http_info(request) + return self._call_api(**http_info) + + def update_device_proxy_async_invoker(self, request): + http_info = self._update_device_proxy_http_info(request) + return AsyncInvoker(self, http_info) + + def _update_device_proxy_http_info(self, request): + http_info = { + "method": "PUT", + "resource_path": "/v5/iot/{project_id}/device-proxies/{proxy_id}", + "request_type": request.__class__.__name__, + "response_type": "UpdateDeviceProxyResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'proxy_id' in local_var_params: + path_params['proxy_id'] = local_var_params['proxy_id'] + + query_params = [] + + header_params = {} + if 'instance_id' in local_var_params: + header_params['Instance-Id'] = local_var_params['instance_id'] + + form_params = {} + + body = None + if 'body' in local_var_params: + body = local_var_params['body'] + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = [] + + 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_device_shadow_async(self, request): """查询设备影子数据 diff --git a/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/iotda_client.py b/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/iotda_client.py index ff019f535e..7b8791744b 100644 --- a/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/iotda_client.py +++ b/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/iotda_client.py @@ -3576,6 +3576,353 @@ def _update_device_http_info(cls, request): return http_info + def create_device_proxy(self, request): + """创建设备代理 + + 应用服务器可调用此接口在物联网平台创建一个动态设备代理规则,用于子设备自主选择网关设备上线和上报消息,即代理组下的任意网关下的子设备均可以通过代理组里其他设备上线([[网关更新子设备状态](https://support.huaweicloud.com/api-iothub/iot_06_v5_3022.html)](tag:hws) [[网关更新子设备状态](https://support.huaweicloud.com/intl/zh-cn/api-iothub/iot_06_v5_3022.html)](tag:hws_hk))然后进行数据上报([[网关批量设备属性上报](https://support.huaweicloud.com/api-iothub/iot_06_v5_3006.html)](tag:hws) [[网关更新子设备状态](https://support.huaweicloud.com/intl/zh-cn/api-iothub/iot_06_v5_3006.html)](tag:hws_hk))。 + - 单实例最多可以配置10个设备代理 + - 单账号调用该接口的 TPS 限制最大为1/S(每秒1次请求数) + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for CreateDeviceProxy + :type request: :class:`huaweicloudsdkiotda.v5.CreateDeviceProxyRequest` + :rtype: :class:`huaweicloudsdkiotda.v5.CreateDeviceProxyResponse` + """ + http_info = self._create_device_proxy_http_info(request) + return self._call_api(**http_info) + + def create_device_proxy_invoker(self, request): + http_info = self._create_device_proxy_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _create_device_proxy_http_info(cls, request): + http_info = { + "method": "POST", + "resource_path": "/v5/iot/{project_id}/device-proxies", + "request_type": request.__class__.__name__, + "response_type": "CreateDeviceProxyResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + if 'instance_id' in local_var_params: + header_params['Instance-Id'] = local_var_params['instance_id'] + + form_params = {} + + body = None + if 'body' in local_var_params: + body = local_var_params['body'] + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = [] + + 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_device_proxy(self, request): + """删除设备代理 + + 应用服务器可调用此接口在物联网平台上删除指定设备代理。 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for DeleteDeviceProxy + :type request: :class:`huaweicloudsdkiotda.v5.DeleteDeviceProxyRequest` + :rtype: :class:`huaweicloudsdkiotda.v5.DeleteDeviceProxyResponse` + """ + http_info = self._delete_device_proxy_http_info(request) + return self._call_api(**http_info) + + def delete_device_proxy_invoker(self, request): + http_info = self._delete_device_proxy_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _delete_device_proxy_http_info(cls, request): + http_info = { + "method": "DELETE", + "resource_path": "/v5/iot/{project_id}/device-proxies/{proxy_id}", + "request_type": request.__class__.__name__, + "response_type": "DeleteDeviceProxyResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'proxy_id' in local_var_params: + path_params['proxy_id'] = local_var_params['proxy_id'] + + query_params = [] + + header_params = {} + if 'instance_id' in local_var_params: + header_params['Instance-Id'] = local_var_params['instance_id'] + + 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_device_proxies(self, request): + """查询设备代理列表 + + 应用服务器可调用此接口查询物联网平台中的设备代理列表。 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for ListDeviceProxies + :type request: :class:`huaweicloudsdkiotda.v5.ListDeviceProxiesRequest` + :rtype: :class:`huaweicloudsdkiotda.v5.ListDeviceProxiesResponse` + """ + http_info = self._list_device_proxies_http_info(request) + return self._call_api(**http_info) + + def list_device_proxies_invoker(self, request): + http_info = self._list_device_proxies_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _list_device_proxies_http_info(cls, request): + http_info = { + "method": "GET", + "resource_path": "/v5/iot/{project_id}/device-proxies", + "request_type": request.__class__.__name__, + "response_type": "ListDeviceProxiesResponse" + } + + 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 'app_id' in local_var_params: + query_params.append(('app_id', local_var_params['app_id'])) + if 'proxy_name' in local_var_params: + query_params.append(('proxy_name', local_var_params['proxy_name'])) + if 'limit' in local_var_params: + query_params.append(('limit', local_var_params['limit'])) + if 'marker' in local_var_params: + query_params.append(('marker', local_var_params['marker'])) + if 'offset' in local_var_params: + query_params.append(('offset', local_var_params['offset'])) + + header_params = {} + if 'instance_id' in local_var_params: + header_params['Instance-Id'] = local_var_params['instance_id'] + + 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_device_proxy(self, request): + """查询设备代理详情 + + 应用服务器可调用此接口查询物联网平台中指定设备代理的详细信息。 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for ShowDeviceProxy + :type request: :class:`huaweicloudsdkiotda.v5.ShowDeviceProxyRequest` + :rtype: :class:`huaweicloudsdkiotda.v5.ShowDeviceProxyResponse` + """ + http_info = self._show_device_proxy_http_info(request) + return self._call_api(**http_info) + + def show_device_proxy_invoker(self, request): + http_info = self._show_device_proxy_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _show_device_proxy_http_info(cls, request): + http_info = { + "method": "GET", + "resource_path": "/v5/iot/{project_id}/device-proxies/{proxy_id}", + "request_type": request.__class__.__name__, + "response_type": "ShowDeviceProxyResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'proxy_id' in local_var_params: + path_params['proxy_id'] = local_var_params['proxy_id'] + + query_params = [] + + header_params = {} + if 'instance_id' in local_var_params: + header_params['Instance-Id'] = local_var_params['instance_id'] + + 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_device_proxy(self, request): + """修改设备代理 + + 应用服务器可调用此接口修改物联网平台中指定设备代理的基本信息。 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for UpdateDeviceProxy + :type request: :class:`huaweicloudsdkiotda.v5.UpdateDeviceProxyRequest` + :rtype: :class:`huaweicloudsdkiotda.v5.UpdateDeviceProxyResponse` + """ + http_info = self._update_device_proxy_http_info(request) + return self._call_api(**http_info) + + def update_device_proxy_invoker(self, request): + http_info = self._update_device_proxy_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _update_device_proxy_http_info(cls, request): + http_info = { + "method": "PUT", + "resource_path": "/v5/iot/{project_id}/device-proxies/{proxy_id}", + "request_type": request.__class__.__name__, + "response_type": "UpdateDeviceProxyResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + if 'proxy_id' in local_var_params: + path_params['proxy_id'] = local_var_params['proxy_id'] + + query_params = [] + + header_params = {} + if 'instance_id' in local_var_params: + header_params['Instance-Id'] = local_var_params['instance_id'] + + form_params = {} + + body = None + if 'body' in local_var_params: + body = local_var_params['body'] + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = [] + + 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_device_shadow(self, request): """查询设备影子数据 diff --git a/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/__init__.py b/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/__init__.py index aac99ad2b6..102fe91297 100644 --- a/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/__init__.py +++ b/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/__init__.py @@ -17,6 +17,7 @@ from huaweicloudsdkiotda.v5.model.add_device_group_dto import AddDeviceGroupDTO from huaweicloudsdkiotda.v5.model.add_device_group_request import AddDeviceGroupRequest from huaweicloudsdkiotda.v5.model.add_device_group_response import AddDeviceGroupResponse +from huaweicloudsdkiotda.v5.model.add_device_proxy import AddDeviceProxy from huaweicloudsdkiotda.v5.model.add_device_request import AddDeviceRequest from huaweicloudsdkiotda.v5.model.add_device_response import AddDeviceResponse from huaweicloudsdkiotda.v5.model.add_flow_control_policy import AddFlowControlPolicy @@ -65,6 +66,8 @@ from huaweicloudsdkiotda.v5.model.create_certificate_dto import CreateCertificateDTO from huaweicloudsdkiotda.v5.model.create_command_request import CreateCommandRequest from huaweicloudsdkiotda.v5.model.create_command_response import CreateCommandResponse +from huaweicloudsdkiotda.v5.model.create_device_proxy_request import CreateDeviceProxyRequest +from huaweicloudsdkiotda.v5.model.create_device_proxy_response import CreateDeviceProxyResponse from huaweicloudsdkiotda.v5.model.create_message_request import CreateMessageRequest from huaweicloudsdkiotda.v5.model.create_message_response import CreateMessageResponse from huaweicloudsdkiotda.v5.model.create_or_delete_device_in_group_request import CreateOrDeleteDeviceInGroupRequest @@ -95,6 +98,8 @@ from huaweicloudsdkiotda.v5.model.delete_certificate_response import DeleteCertificateResponse from huaweicloudsdkiotda.v5.model.delete_device_group_request import DeleteDeviceGroupRequest from huaweicloudsdkiotda.v5.model.delete_device_group_response import DeleteDeviceGroupResponse +from huaweicloudsdkiotda.v5.model.delete_device_proxy_request import DeleteDeviceProxyRequest +from huaweicloudsdkiotda.v5.model.delete_device_proxy_response import DeleteDeviceProxyResponse from huaweicloudsdkiotda.v5.model.delete_device_request import DeleteDeviceRequest from huaweicloudsdkiotda.v5.model.delete_device_response import DeleteDeviceResponse from huaweicloudsdkiotda.v5.model.delete_device_tunnel_request import DeleteDeviceTunnelRequest @@ -129,6 +134,8 @@ from huaweicloudsdkiotda.v5.model.dis_forwarding import DisForwarding from huaweicloudsdkiotda.v5.model.dms_kafka_forwarding import DmsKafkaForwarding from huaweicloudsdkiotda.v5.model.dms_rocket_mq_forwarding import DmsRocketMQForwarding +from huaweicloudsdkiotda.v5.model.effective_time_range import EffectiveTimeRange +from huaweicloudsdkiotda.v5.model.effective_time_range_response_dto import EffectiveTimeRangeResponseDTO from huaweicloudsdkiotda.v5.model.error_info import ErrorInfo from huaweicloudsdkiotda.v5.model.error_info_dto import ErrorInfoDTO from huaweicloudsdkiotda.v5.model.file_location import FileLocation @@ -149,6 +156,8 @@ from huaweicloudsdkiotda.v5.model.list_device_groups_response import ListDeviceGroupsResponse from huaweicloudsdkiotda.v5.model.list_device_messages_request import ListDeviceMessagesRequest from huaweicloudsdkiotda.v5.model.list_device_messages_response import ListDeviceMessagesResponse +from huaweicloudsdkiotda.v5.model.list_device_proxies_request import ListDeviceProxiesRequest +from huaweicloudsdkiotda.v5.model.list_device_proxies_response import ListDeviceProxiesResponse from huaweicloudsdkiotda.v5.model.list_device_tunnels_request import ListDeviceTunnelsRequest from huaweicloudsdkiotda.v5.model.list_device_tunnels_response import ListDeviceTunnelsResponse from huaweicloudsdkiotda.v5.model.list_devices_request import ListDevicesRequest @@ -183,6 +192,7 @@ from huaweicloudsdkiotda.v5.model.product_summary import ProductSummary from huaweicloudsdkiotda.v5.model.properties_dto import PropertiesDTO from huaweicloudsdkiotda.v5.model.property_filter import PropertyFilter +from huaweicloudsdkiotda.v5.model.query_device_proxy_simplify import QueryDeviceProxySimplify from huaweicloudsdkiotda.v5.model.query_device_simplify import QueryDeviceSimplify from huaweicloudsdkiotda.v5.model.query_queue_base import QueryQueueBase from huaweicloudsdkiotda.v5.model.query_resource_by_tags_dto import QueryResourceByTagsDTO @@ -227,6 +237,8 @@ from huaweicloudsdkiotda.v5.model.show_device_group_response import ShowDeviceGroupResponse from huaweicloudsdkiotda.v5.model.show_device_message_request import ShowDeviceMessageRequest from huaweicloudsdkiotda.v5.model.show_device_message_response import ShowDeviceMessageResponse +from huaweicloudsdkiotda.v5.model.show_device_proxy_request import ShowDeviceProxyRequest +from huaweicloudsdkiotda.v5.model.show_device_proxy_response import ShowDeviceProxyResponse from huaweicloudsdkiotda.v5.model.show_device_request import ShowDeviceRequest from huaweicloudsdkiotda.v5.model.show_device_response import ShowDeviceResponse from huaweicloudsdkiotda.v5.model.show_device_shadow_request import ShowDeviceShadowRequest @@ -281,6 +293,9 @@ from huaweicloudsdkiotda.v5.model.update_device_group_dto import UpdateDeviceGroupDTO from huaweicloudsdkiotda.v5.model.update_device_group_request import UpdateDeviceGroupRequest from huaweicloudsdkiotda.v5.model.update_device_group_response import UpdateDeviceGroupResponse +from huaweicloudsdkiotda.v5.model.update_device_proxy import UpdateDeviceProxy +from huaweicloudsdkiotda.v5.model.update_device_proxy_request import UpdateDeviceProxyRequest +from huaweicloudsdkiotda.v5.model.update_device_proxy_response import UpdateDeviceProxyResponse from huaweicloudsdkiotda.v5.model.update_device_request import UpdateDeviceRequest from huaweicloudsdkiotda.v5.model.update_device_response import UpdateDeviceResponse from huaweicloudsdkiotda.v5.model.update_device_shadow_desired_data_request import UpdateDeviceShadowDesiredDataRequest diff --git a/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/add_device_proxy.py b/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/add_device_proxy.py new file mode 100644 index 0000000000..a176d6d251 --- /dev/null +++ b/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/add_device_proxy.py @@ -0,0 +1,194 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class AddDeviceProxy: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'proxy_name': 'str', + 'proxy_devices': 'list[str]', + 'effective_time_range': 'EffectiveTimeRange', + 'app_id': 'str' + } + + attribute_map = { + 'proxy_name': 'proxy_name', + 'proxy_devices': 'proxy_devices', + 'effective_time_range': 'effective_time_range', + 'app_id': 'app_id' + } + + def __init__(self, proxy_name=None, proxy_devices=None, effective_time_range=None, app_id=None): + """AddDeviceProxy + + The model defined in huaweicloud sdk + + :param proxy_name: **参数说明**:设备代理名称 + :type proxy_name: str + :param proxy_devices: **参数说明**:代理设备列表,列表内所有设备共享网关权限,即列表内任意一个网关下的子设备可以通过组里任意一个网关上线然后进行数据上报。 **取值范围**:列表内填写设备id,列表内最少有2个设备id,最多有10个设备id,设备id取值范围:长度不超过128,只允许字母、数字、下划线(_)、连接符(-)的组合,建议不少于4个字符。 + :type proxy_devices: list[str] + :param effective_time_range: + :type effective_time_range: :class:`huaweicloudsdkiotda.v5.EffectiveTimeRange` + :param app_id: **参数说明**:资源空间ID。携带该参数指定创建的设备归属到哪个资源空间下。 **取值范围**:长度不超过36,只允许字母、数字、下划线(_)、连接符(-)的组合。 + :type app_id: str + """ + + + + self._proxy_name = None + self._proxy_devices = None + self._effective_time_range = None + self._app_id = None + self.discriminator = None + + self.proxy_name = proxy_name + self.proxy_devices = proxy_devices + self.effective_time_range = effective_time_range + self.app_id = app_id + + @property + def proxy_name(self): + """Gets the proxy_name of this AddDeviceProxy. + + **参数说明**:设备代理名称 + + :return: The proxy_name of this AddDeviceProxy. + :rtype: str + """ + return self._proxy_name + + @proxy_name.setter + def proxy_name(self, proxy_name): + """Sets the proxy_name of this AddDeviceProxy. + + **参数说明**:设备代理名称 + + :param proxy_name: The proxy_name of this AddDeviceProxy. + :type proxy_name: str + """ + self._proxy_name = proxy_name + + @property + def proxy_devices(self): + """Gets the proxy_devices of this AddDeviceProxy. + + **参数说明**:代理设备列表,列表内所有设备共享网关权限,即列表内任意一个网关下的子设备可以通过组里任意一个网关上线然后进行数据上报。 **取值范围**:列表内填写设备id,列表内最少有2个设备id,最多有10个设备id,设备id取值范围:长度不超过128,只允许字母、数字、下划线(_)、连接符(-)的组合,建议不少于4个字符。 + + :return: The proxy_devices of this AddDeviceProxy. + :rtype: list[str] + """ + return self._proxy_devices + + @proxy_devices.setter + def proxy_devices(self, proxy_devices): + """Sets the proxy_devices of this AddDeviceProxy. + + **参数说明**:代理设备列表,列表内所有设备共享网关权限,即列表内任意一个网关下的子设备可以通过组里任意一个网关上线然后进行数据上报。 **取值范围**:列表内填写设备id,列表内最少有2个设备id,最多有10个设备id,设备id取值范围:长度不超过128,只允许字母、数字、下划线(_)、连接符(-)的组合,建议不少于4个字符。 + + :param proxy_devices: The proxy_devices of this AddDeviceProxy. + :type proxy_devices: list[str] + """ + self._proxy_devices = proxy_devices + + @property + def effective_time_range(self): + """Gets the effective_time_range of this AddDeviceProxy. + + :return: The effective_time_range of this AddDeviceProxy. + :rtype: :class:`huaweicloudsdkiotda.v5.EffectiveTimeRange` + """ + return self._effective_time_range + + @effective_time_range.setter + def effective_time_range(self, effective_time_range): + """Sets the effective_time_range of this AddDeviceProxy. + + :param effective_time_range: The effective_time_range of this AddDeviceProxy. + :type effective_time_range: :class:`huaweicloudsdkiotda.v5.EffectiveTimeRange` + """ + self._effective_time_range = effective_time_range + + @property + def app_id(self): + """Gets the app_id of this AddDeviceProxy. + + **参数说明**:资源空间ID。携带该参数指定创建的设备归属到哪个资源空间下。 **取值范围**:长度不超过36,只允许字母、数字、下划线(_)、连接符(-)的组合。 + + :return: The app_id of this AddDeviceProxy. + :rtype: str + """ + return self._app_id + + @app_id.setter + def app_id(self, app_id): + """Sets the app_id of this AddDeviceProxy. + + **参数说明**:资源空间ID。携带该参数指定创建的设备归属到哪个资源空间下。 **取值范围**:长度不超过36,只允许字母、数字、下划线(_)、连接符(-)的组合。 + + :param app_id: The app_id of this AddDeviceProxy. + :type app_id: str + """ + self._app_id = app_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, AddDeviceProxy): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/create_device_proxy_request.py b/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/create_device_proxy_request.py new file mode 100644 index 0000000000..bc3dd9627e --- /dev/null +++ b/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/create_device_proxy_request.py @@ -0,0 +1,140 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class CreateDeviceProxyRequest: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'instance_id': 'str', + 'body': 'AddDeviceProxy' + } + + attribute_map = { + 'instance_id': 'Instance-Id', + 'body': 'body' + } + + def __init__(self, instance_id=None, body=None): + """CreateDeviceProxyRequest + + The model defined in huaweicloud sdk + + :param instance_id: **参数说明**:实例ID。物理多租下各实例的唯一标识,建议携带该参数,在使用专业版时必须携带该参数。您可以在IoTDA管理控制台界面,选择左侧导航栏“总览”页签查看当前实例的ID,具体获取方式请参考[[查看实例详情](https://support.huaweicloud.com/usermanual-iothub/iot_01_0121.html)](tag:hws) [[查看实例详情](https://support.huaweicloud.com/intl/zh-cn/usermanual-iothub/iot_01_0121.html)](tag:hws_hk)。 + :type instance_id: str + :param body: Body of the CreateDeviceProxyRequest + :type body: :class:`huaweicloudsdkiotda.v5.AddDeviceProxy` + """ + + + + self._instance_id = None + self._body = None + self.discriminator = None + + if instance_id is not None: + self.instance_id = instance_id + if body is not None: + self.body = body + + @property + def instance_id(self): + """Gets the instance_id of this CreateDeviceProxyRequest. + + **参数说明**:实例ID。物理多租下各实例的唯一标识,建议携带该参数,在使用专业版时必须携带该参数。您可以在IoTDA管理控制台界面,选择左侧导航栏“总览”页签查看当前实例的ID,具体获取方式请参考[[查看实例详情](https://support.huaweicloud.com/usermanual-iothub/iot_01_0121.html)](tag:hws) [[查看实例详情](https://support.huaweicloud.com/intl/zh-cn/usermanual-iothub/iot_01_0121.html)](tag:hws_hk)。 + + :return: The instance_id of this CreateDeviceProxyRequest. + :rtype: str + """ + return self._instance_id + + @instance_id.setter + def instance_id(self, instance_id): + """Sets the instance_id of this CreateDeviceProxyRequest. + + **参数说明**:实例ID。物理多租下各实例的唯一标识,建议携带该参数,在使用专业版时必须携带该参数。您可以在IoTDA管理控制台界面,选择左侧导航栏“总览”页签查看当前实例的ID,具体获取方式请参考[[查看实例详情](https://support.huaweicloud.com/usermanual-iothub/iot_01_0121.html)](tag:hws) [[查看实例详情](https://support.huaweicloud.com/intl/zh-cn/usermanual-iothub/iot_01_0121.html)](tag:hws_hk)。 + + :param instance_id: The instance_id of this CreateDeviceProxyRequest. + :type instance_id: str + """ + self._instance_id = instance_id + + @property + def body(self): + """Gets the body of this CreateDeviceProxyRequest. + + :return: The body of this CreateDeviceProxyRequest. + :rtype: :class:`huaweicloudsdkiotda.v5.AddDeviceProxy` + """ + return self._body + + @body.setter + def body(self, body): + """Sets the body of this CreateDeviceProxyRequest. + + :param body: The body of this CreateDeviceProxyRequest. + :type body: :class:`huaweicloudsdkiotda.v5.AddDeviceProxy` + """ + 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, CreateDeviceProxyRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/create_device_proxy_response.py b/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/create_device_proxy_response.py new file mode 100644 index 0000000000..40e861813e --- /dev/null +++ b/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/create_device_proxy_response.py @@ -0,0 +1,228 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_response import SdkResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class CreateDeviceProxyResponse(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 = { + 'proxy_id': 'str', + 'proxy_name': 'str', + 'proxy_devices': 'list[str]', + 'effective_time_range': 'EffectiveTimeRangeResponseDTO', + 'app_id': 'str' + } + + attribute_map = { + 'proxy_id': 'proxy_id', + 'proxy_name': 'proxy_name', + 'proxy_devices': 'proxy_devices', + 'effective_time_range': 'effective_time_range', + 'app_id': 'app_id' + } + + def __init__(self, proxy_id=None, proxy_name=None, proxy_devices=None, effective_time_range=None, app_id=None): + """CreateDeviceProxyResponse + + The model defined in huaweicloud sdk + + :param proxy_id: **参数说明**:代理ID。用来唯一标识一个代理规则 + :type proxy_id: str + :param proxy_name: **参数说明**:设备代理名称 + :type proxy_name: str + :param proxy_devices: **参数说明**:代理设备组,组内所有设备共享网关权限,即组内任意一个网关下的子设备可以通过组里任意一个网关上线然后进行数据上报。 + :type proxy_devices: list[str] + :param effective_time_range: + :type effective_time_range: :class:`huaweicloudsdkiotda.v5.EffectiveTimeRangeResponseDTO` + :param app_id: **参数说明**:资源空间ID。 + :type app_id: str + """ + + super(CreateDeviceProxyResponse, self).__init__() + + self._proxy_id = None + self._proxy_name = None + self._proxy_devices = None + self._effective_time_range = None + self._app_id = None + self.discriminator = None + + if proxy_id is not None: + self.proxy_id = proxy_id + if proxy_name is not None: + self.proxy_name = proxy_name + if proxy_devices is not None: + self.proxy_devices = proxy_devices + if effective_time_range is not None: + self.effective_time_range = effective_time_range + if app_id is not None: + self.app_id = app_id + + @property + def proxy_id(self): + """Gets the proxy_id of this CreateDeviceProxyResponse. + + **参数说明**:代理ID。用来唯一标识一个代理规则 + + :return: The proxy_id of this CreateDeviceProxyResponse. + :rtype: str + """ + return self._proxy_id + + @proxy_id.setter + def proxy_id(self, proxy_id): + """Sets the proxy_id of this CreateDeviceProxyResponse. + + **参数说明**:代理ID。用来唯一标识一个代理规则 + + :param proxy_id: The proxy_id of this CreateDeviceProxyResponse. + :type proxy_id: str + """ + self._proxy_id = proxy_id + + @property + def proxy_name(self): + """Gets the proxy_name of this CreateDeviceProxyResponse. + + **参数说明**:设备代理名称 + + :return: The proxy_name of this CreateDeviceProxyResponse. + :rtype: str + """ + return self._proxy_name + + @proxy_name.setter + def proxy_name(self, proxy_name): + """Sets the proxy_name of this CreateDeviceProxyResponse. + + **参数说明**:设备代理名称 + + :param proxy_name: The proxy_name of this CreateDeviceProxyResponse. + :type proxy_name: str + """ + self._proxy_name = proxy_name + + @property + def proxy_devices(self): + """Gets the proxy_devices of this CreateDeviceProxyResponse. + + **参数说明**:代理设备组,组内所有设备共享网关权限,即组内任意一个网关下的子设备可以通过组里任意一个网关上线然后进行数据上报。 + + :return: The proxy_devices of this CreateDeviceProxyResponse. + :rtype: list[str] + """ + return self._proxy_devices + + @proxy_devices.setter + def proxy_devices(self, proxy_devices): + """Sets the proxy_devices of this CreateDeviceProxyResponse. + + **参数说明**:代理设备组,组内所有设备共享网关权限,即组内任意一个网关下的子设备可以通过组里任意一个网关上线然后进行数据上报。 + + :param proxy_devices: The proxy_devices of this CreateDeviceProxyResponse. + :type proxy_devices: list[str] + """ + self._proxy_devices = proxy_devices + + @property + def effective_time_range(self): + """Gets the effective_time_range of this CreateDeviceProxyResponse. + + :return: The effective_time_range of this CreateDeviceProxyResponse. + :rtype: :class:`huaweicloudsdkiotda.v5.EffectiveTimeRangeResponseDTO` + """ + return self._effective_time_range + + @effective_time_range.setter + def effective_time_range(self, effective_time_range): + """Sets the effective_time_range of this CreateDeviceProxyResponse. + + :param effective_time_range: The effective_time_range of this CreateDeviceProxyResponse. + :type effective_time_range: :class:`huaweicloudsdkiotda.v5.EffectiveTimeRangeResponseDTO` + """ + self._effective_time_range = effective_time_range + + @property + def app_id(self): + """Gets the app_id of this CreateDeviceProxyResponse. + + **参数说明**:资源空间ID。 + + :return: The app_id of this CreateDeviceProxyResponse. + :rtype: str + """ + return self._app_id + + @app_id.setter + def app_id(self, app_id): + """Sets the app_id of this CreateDeviceProxyResponse. + + **参数说明**:资源空间ID。 + + :param app_id: The app_id of this CreateDeviceProxyResponse. + :type app_id: str + """ + self._app_id = app_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, CreateDeviceProxyResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/delete_device_proxy_request.py b/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/delete_device_proxy_request.py new file mode 100644 index 0000000000..2ddcc581ab --- /dev/null +++ b/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/delete_device_proxy_request.py @@ -0,0 +1,143 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class DeleteDeviceProxyRequest: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'instance_id': 'str', + 'proxy_id': 'str' + } + + attribute_map = { + 'instance_id': 'Instance-Id', + 'proxy_id': 'proxy_id' + } + + def __init__(self, instance_id=None, proxy_id=None): + """DeleteDeviceProxyRequest + + The model defined in huaweicloud sdk + + :param instance_id: **参数说明**:实例ID。物理多租下各实例的唯一标识,建议携带该参数,在使用专业版时必须携带该参数。您可以在IoTDA管理控制台界面,选择左侧导航栏“总览”页签查看当前实例的ID,具体获取方式请参考[[查看实例详情](https://support.huaweicloud.com/usermanual-iothub/iot_01_0121.html)](tag:hws) [[查看实例详情](https://support.huaweicloud.com/intl/zh-cn/usermanual-iothub/iot_01_0121.html)](tag:hws_hk)。 + :type instance_id: str + :param proxy_id: **参数说明**:设备代理ID,用于唯一标识一个设备代理。在注册设备代理时由物联网平台分配获得。 + :type proxy_id: str + """ + + + + self._instance_id = None + self._proxy_id = None + self.discriminator = None + + if instance_id is not None: + self.instance_id = instance_id + self.proxy_id = proxy_id + + @property + def instance_id(self): + """Gets the instance_id of this DeleteDeviceProxyRequest. + + **参数说明**:实例ID。物理多租下各实例的唯一标识,建议携带该参数,在使用专业版时必须携带该参数。您可以在IoTDA管理控制台界面,选择左侧导航栏“总览”页签查看当前实例的ID,具体获取方式请参考[[查看实例详情](https://support.huaweicloud.com/usermanual-iothub/iot_01_0121.html)](tag:hws) [[查看实例详情](https://support.huaweicloud.com/intl/zh-cn/usermanual-iothub/iot_01_0121.html)](tag:hws_hk)。 + + :return: The instance_id of this DeleteDeviceProxyRequest. + :rtype: str + """ + return self._instance_id + + @instance_id.setter + def instance_id(self, instance_id): + """Sets the instance_id of this DeleteDeviceProxyRequest. + + **参数说明**:实例ID。物理多租下各实例的唯一标识,建议携带该参数,在使用专业版时必须携带该参数。您可以在IoTDA管理控制台界面,选择左侧导航栏“总览”页签查看当前实例的ID,具体获取方式请参考[[查看实例详情](https://support.huaweicloud.com/usermanual-iothub/iot_01_0121.html)](tag:hws) [[查看实例详情](https://support.huaweicloud.com/intl/zh-cn/usermanual-iothub/iot_01_0121.html)](tag:hws_hk)。 + + :param instance_id: The instance_id of this DeleteDeviceProxyRequest. + :type instance_id: str + """ + self._instance_id = instance_id + + @property + def proxy_id(self): + """Gets the proxy_id of this DeleteDeviceProxyRequest. + + **参数说明**:设备代理ID,用于唯一标识一个设备代理。在注册设备代理时由物联网平台分配获得。 + + :return: The proxy_id of this DeleteDeviceProxyRequest. + :rtype: str + """ + return self._proxy_id + + @proxy_id.setter + def proxy_id(self, proxy_id): + """Sets the proxy_id of this DeleteDeviceProxyRequest. + + **参数说明**:设备代理ID,用于唯一标识一个设备代理。在注册设备代理时由物联网平台分配获得。 + + :param proxy_id: The proxy_id of this DeleteDeviceProxyRequest. + :type proxy_id: str + """ + self._proxy_id = proxy_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, DeleteDeviceProxyRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/delete_device_proxy_response.py b/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/delete_device_proxy_response.py new file mode 100644 index 0000000000..98e534a58c --- /dev/null +++ b/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/delete_device_proxy_response.py @@ -0,0 +1,112 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_response import SdkResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class DeleteDeviceProxyResponse(SdkResponse): + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'body': 'str' + } + + attribute_map = { + 'body': 'body' + } + + def __init__(self, body=None): + """DeleteDeviceProxyResponse + + The model defined in huaweicloud sdk + + :param body: + :type body: str + """ + + super(DeleteDeviceProxyResponse, 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 DeleteDeviceProxyResponse. + + :return: The body of this DeleteDeviceProxyResponse. + :rtype: str + """ + return self._body + + @body.setter + def body(self, body): + """Sets the body of this DeleteDeviceProxyResponse. + + :param body: The body of this DeleteDeviceProxyResponse. + :type body: str + """ + self._body = body + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, DeleteDeviceProxyResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/effective_time_range.py b/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/effective_time_range.py new file mode 100644 index 0000000000..e86f5fa6ee --- /dev/null +++ b/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/effective_time_range.py @@ -0,0 +1,144 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class EffectiveTimeRange: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the 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': 'str', + 'end_time': 'str' + } + + attribute_map = { + 'start_time': 'start_time', + 'end_time': 'end_time' + } + + def __init__(self, start_time=None, end_time=None): + """EffectiveTimeRange + + The model defined in huaweicloud sdk + + :param start_time: 设备代理开始生效的时间,使用UTC时区,格式:yyyyMMdd'T'HHmmss'Z' + :type start_time: str + :param end_time: 设备代理失效的时间,必须大于start_time,使用UTC时区,格式:yyyyMMdd'T'HHmmss'Z' + :type end_time: str + """ + + + + self._start_time = None + self._end_time = None + self.discriminator = None + + if start_time is not None: + self.start_time = start_time + if end_time is not None: + self.end_time = end_time + + @property + def start_time(self): + """Gets the start_time of this EffectiveTimeRange. + + 设备代理开始生效的时间,使用UTC时区,格式:yyyyMMdd'T'HHmmss'Z' + + :return: The start_time of this EffectiveTimeRange. + :rtype: str + """ + return self._start_time + + @start_time.setter + def start_time(self, start_time): + """Sets the start_time of this EffectiveTimeRange. + + 设备代理开始生效的时间,使用UTC时区,格式:yyyyMMdd'T'HHmmss'Z' + + :param start_time: The start_time of this EffectiveTimeRange. + :type start_time: str + """ + self._start_time = start_time + + @property + def end_time(self): + """Gets the end_time of this EffectiveTimeRange. + + 设备代理失效的时间,必须大于start_time,使用UTC时区,格式:yyyyMMdd'T'HHmmss'Z' + + :return: The end_time of this EffectiveTimeRange. + :rtype: str + """ + return self._end_time + + @end_time.setter + def end_time(self, end_time): + """Sets the end_time of this EffectiveTimeRange. + + 设备代理失效的时间,必须大于start_time,使用UTC时区,格式:yyyyMMdd'T'HHmmss'Z' + + :param end_time: The end_time of this EffectiveTimeRange. + :type end_time: str + """ + self._end_time = end_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, EffectiveTimeRange): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/effective_time_range_response_dto.py b/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/effective_time_range_response_dto.py new file mode 100644 index 0000000000..ca4cd964c9 --- /dev/null +++ b/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/effective_time_range_response_dto.py @@ -0,0 +1,142 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class EffectiveTimeRangeResponseDTO: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the 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': 'str', + 'end_time': 'str' + } + + attribute_map = { + 'start_time': 'start_time', + 'end_time': 'end_time' + } + + def __init__(self, start_time=None, end_time=None): + """EffectiveTimeRangeResponseDTO + + The model defined in huaweicloud sdk + + :param start_time: 设备代理开始生效的时间,使用UTC时区,格式:yyyyMMdd'T'HHmmss'Z' + :type start_time: str + :param end_time: 设备代理失效的时间,必须大于start_time,使用UTC时区,格式:yyyyMMdd'T'HHmmss'Z' + :type end_time: str + """ + + + + self._start_time = None + self._end_time = None + self.discriminator = None + + self.start_time = start_time + self.end_time = end_time + + @property + def start_time(self): + """Gets the start_time of this EffectiveTimeRangeResponseDTO. + + 设备代理开始生效的时间,使用UTC时区,格式:yyyyMMdd'T'HHmmss'Z' + + :return: The start_time of this EffectiveTimeRangeResponseDTO. + :rtype: str + """ + return self._start_time + + @start_time.setter + def start_time(self, start_time): + """Sets the start_time of this EffectiveTimeRangeResponseDTO. + + 设备代理开始生效的时间,使用UTC时区,格式:yyyyMMdd'T'HHmmss'Z' + + :param start_time: The start_time of this EffectiveTimeRangeResponseDTO. + :type start_time: str + """ + self._start_time = start_time + + @property + def end_time(self): + """Gets the end_time of this EffectiveTimeRangeResponseDTO. + + 设备代理失效的时间,必须大于start_time,使用UTC时区,格式:yyyyMMdd'T'HHmmss'Z' + + :return: The end_time of this EffectiveTimeRangeResponseDTO. + :rtype: str + """ + return self._end_time + + @end_time.setter + def end_time(self, end_time): + """Sets the end_time of this EffectiveTimeRangeResponseDTO. + + 设备代理失效的时间,必须大于start_time,使用UTC时区,格式:yyyyMMdd'T'HHmmss'Z' + + :param end_time: The end_time of this EffectiveTimeRangeResponseDTO. + :type end_time: str + """ + self._end_time = end_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, EffectiveTimeRangeResponseDTO): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/list_device_proxies_request.py b/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/list_device_proxies_request.py new file mode 100644 index 0000000000..e038b18b16 --- /dev/null +++ b/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/list_device_proxies_request.py @@ -0,0 +1,260 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ListDeviceProxiesRequest: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'instance_id': 'str', + 'app_id': 'str', + 'proxy_name': 'str', + 'limit': 'int', + 'marker': 'str', + 'offset': 'int' + } + + attribute_map = { + 'instance_id': 'Instance-Id', + 'app_id': 'app_id', + 'proxy_name': 'proxy_name', + 'limit': 'limit', + 'marker': 'marker', + 'offset': 'offset' + } + + def __init__(self, instance_id=None, app_id=None, proxy_name=None, limit=None, marker=None, offset=None): + """ListDeviceProxiesRequest + + The model defined in huaweicloud sdk + + :param instance_id: **参数说明**:实例ID。物理多租下各实例的唯一标识,建议携带该参数,在使用专业版时必须携带该参数。您可以在IoTDA管理控制台界面,选择左侧导航栏“总览”页签查看当前实例的ID,具体获取方式请参考[[查看实例详情](https://support.huaweicloud.com/usermanual-iothub/iot_01_0121.html)](tag:hws) [[查看实例详情](https://support.huaweicloud.com/intl/zh-cn/usermanual-iothub/iot_01_0121.html)](tag:hws_hk)。 + :type instance_id: str + :param app_id: **参数说明**:资源空间ID。此参数为非必选参数,存在多资源空间的用户需要使用该接口时,可以携带该参数查询指定资源空间下的设备代理列表,不携带该参数则会查询该用户下所有设备代理。 **取值范围**:长度不超过36,只允许字母、数字、下划线(_)、连接符(-)的组合。 + :type app_id: str + :param proxy_name: **参数说明**:设备代理名称。 **取值范围**:长度不超过64,只允许中文、字母、数字、以及_?'#().,&%@!-等字符的组合。 + :type proxy_name: str + :param limit: **参数说明**:分页查询时每页显示的记录数。 **取值范围**:1-50的整数,默认值为10。 + :type limit: int + :param marker: **参数说明**:上一次分页查询结果中最后一条记录的ID,在上一次分页查询时由物联网平台返回获得。分页查询时物联网平台是按marker也就是记录ID降序查询的,越新的数据记录ID也会越大。若填写marker,则本次只查询记录ID小于marker的数据记录。若不填写,则从记录ID最大也就是最新的一条数据开始查询。如果需要依次查询所有数据,则每次查询时必须填写上一次查询响应中的marker值。 **取值范围**:长度为24的十六进制字符串,默认值为ffffffffffffffffffffffff。 + :type marker: str + :param offset: **参数说明**:表示从marker后偏移offset条记录开始查询。默认为0,取值范围为0-500的整数。当offset为0时,表示从marker后第一条记录开始输出。限制offset最大值是出于API性能考虑,您可以搭配marker使用该参数实现翻页,例如每页50条记录,1-11页内都可以直接使用offset跳转到指定页,但到11页后,由于offset限制为500,您需要使用第11页返回的marker作为下次查询的marker,以实现翻页到12-22页。 **取值范围**:0-500的整数,默认为0。 + :type offset: int + """ + + + + self._instance_id = None + self._app_id = None + self._proxy_name = None + self._limit = None + self._marker = None + self._offset = None + self.discriminator = None + + if instance_id is not None: + self.instance_id = instance_id + if app_id is not None: + self.app_id = app_id + if proxy_name is not None: + self.proxy_name = proxy_name + if limit is not None: + self.limit = limit + if marker is not None: + self.marker = marker + if offset is not None: + self.offset = offset + + @property + def instance_id(self): + """Gets the instance_id of this ListDeviceProxiesRequest. + + **参数说明**:实例ID。物理多租下各实例的唯一标识,建议携带该参数,在使用专业版时必须携带该参数。您可以在IoTDA管理控制台界面,选择左侧导航栏“总览”页签查看当前实例的ID,具体获取方式请参考[[查看实例详情](https://support.huaweicloud.com/usermanual-iothub/iot_01_0121.html)](tag:hws) [[查看实例详情](https://support.huaweicloud.com/intl/zh-cn/usermanual-iothub/iot_01_0121.html)](tag:hws_hk)。 + + :return: The instance_id of this ListDeviceProxiesRequest. + :rtype: str + """ + return self._instance_id + + @instance_id.setter + def instance_id(self, instance_id): + """Sets the instance_id of this ListDeviceProxiesRequest. + + **参数说明**:实例ID。物理多租下各实例的唯一标识,建议携带该参数,在使用专业版时必须携带该参数。您可以在IoTDA管理控制台界面,选择左侧导航栏“总览”页签查看当前实例的ID,具体获取方式请参考[[查看实例详情](https://support.huaweicloud.com/usermanual-iothub/iot_01_0121.html)](tag:hws) [[查看实例详情](https://support.huaweicloud.com/intl/zh-cn/usermanual-iothub/iot_01_0121.html)](tag:hws_hk)。 + + :param instance_id: The instance_id of this ListDeviceProxiesRequest. + :type instance_id: str + """ + self._instance_id = instance_id + + @property + def app_id(self): + """Gets the app_id of this ListDeviceProxiesRequest. + + **参数说明**:资源空间ID。此参数为非必选参数,存在多资源空间的用户需要使用该接口时,可以携带该参数查询指定资源空间下的设备代理列表,不携带该参数则会查询该用户下所有设备代理。 **取值范围**:长度不超过36,只允许字母、数字、下划线(_)、连接符(-)的组合。 + + :return: The app_id of this ListDeviceProxiesRequest. + :rtype: str + """ + return self._app_id + + @app_id.setter + def app_id(self, app_id): + """Sets the app_id of this ListDeviceProxiesRequest. + + **参数说明**:资源空间ID。此参数为非必选参数,存在多资源空间的用户需要使用该接口时,可以携带该参数查询指定资源空间下的设备代理列表,不携带该参数则会查询该用户下所有设备代理。 **取值范围**:长度不超过36,只允许字母、数字、下划线(_)、连接符(-)的组合。 + + :param app_id: The app_id of this ListDeviceProxiesRequest. + :type app_id: str + """ + self._app_id = app_id + + @property + def proxy_name(self): + """Gets the proxy_name of this ListDeviceProxiesRequest. + + **参数说明**:设备代理名称。 **取值范围**:长度不超过64,只允许中文、字母、数字、以及_?'#().,&%@!-等字符的组合。 + + :return: The proxy_name of this ListDeviceProxiesRequest. + :rtype: str + """ + return self._proxy_name + + @proxy_name.setter + def proxy_name(self, proxy_name): + """Sets the proxy_name of this ListDeviceProxiesRequest. + + **参数说明**:设备代理名称。 **取值范围**:长度不超过64,只允许中文、字母、数字、以及_?'#().,&%@!-等字符的组合。 + + :param proxy_name: The proxy_name of this ListDeviceProxiesRequest. + :type proxy_name: str + """ + self._proxy_name = proxy_name + + @property + def limit(self): + """Gets the limit of this ListDeviceProxiesRequest. + + **参数说明**:分页查询时每页显示的记录数。 **取值范围**:1-50的整数,默认值为10。 + + :return: The limit of this ListDeviceProxiesRequest. + :rtype: int + """ + return self._limit + + @limit.setter + def limit(self, limit): + """Sets the limit of this ListDeviceProxiesRequest. + + **参数说明**:分页查询时每页显示的记录数。 **取值范围**:1-50的整数,默认值为10。 + + :param limit: The limit of this ListDeviceProxiesRequest. + :type limit: int + """ + self._limit = limit + + @property + def marker(self): + """Gets the marker of this ListDeviceProxiesRequest. + + **参数说明**:上一次分页查询结果中最后一条记录的ID,在上一次分页查询时由物联网平台返回获得。分页查询时物联网平台是按marker也就是记录ID降序查询的,越新的数据记录ID也会越大。若填写marker,则本次只查询记录ID小于marker的数据记录。若不填写,则从记录ID最大也就是最新的一条数据开始查询。如果需要依次查询所有数据,则每次查询时必须填写上一次查询响应中的marker值。 **取值范围**:长度为24的十六进制字符串,默认值为ffffffffffffffffffffffff。 + + :return: The marker of this ListDeviceProxiesRequest. + :rtype: str + """ + return self._marker + + @marker.setter + def marker(self, marker): + """Sets the marker of this ListDeviceProxiesRequest. + + **参数说明**:上一次分页查询结果中最后一条记录的ID,在上一次分页查询时由物联网平台返回获得。分页查询时物联网平台是按marker也就是记录ID降序查询的,越新的数据记录ID也会越大。若填写marker,则本次只查询记录ID小于marker的数据记录。若不填写,则从记录ID最大也就是最新的一条数据开始查询。如果需要依次查询所有数据,则每次查询时必须填写上一次查询响应中的marker值。 **取值范围**:长度为24的十六进制字符串,默认值为ffffffffffffffffffffffff。 + + :param marker: The marker of this ListDeviceProxiesRequest. + :type marker: str + """ + self._marker = marker + + @property + def offset(self): + """Gets the offset of this ListDeviceProxiesRequest. + + **参数说明**:表示从marker后偏移offset条记录开始查询。默认为0,取值范围为0-500的整数。当offset为0时,表示从marker后第一条记录开始输出。限制offset最大值是出于API性能考虑,您可以搭配marker使用该参数实现翻页,例如每页50条记录,1-11页内都可以直接使用offset跳转到指定页,但到11页后,由于offset限制为500,您需要使用第11页返回的marker作为下次查询的marker,以实现翻页到12-22页。 **取值范围**:0-500的整数,默认为0。 + + :return: The offset of this ListDeviceProxiesRequest. + :rtype: int + """ + return self._offset + + @offset.setter + def offset(self, offset): + """Sets the offset of this ListDeviceProxiesRequest. + + **参数说明**:表示从marker后偏移offset条记录开始查询。默认为0,取值范围为0-500的整数。当offset为0时,表示从marker后第一条记录开始输出。限制offset最大值是出于API性能考虑,您可以搭配marker使用该参数实现翻页,例如每页50条记录,1-11页内都可以直接使用offset跳转到指定页,但到11页后,由于offset限制为500,您需要使用第11页返回的marker作为下次查询的marker,以实现翻页到12-22页。 **取值范围**:0-500的整数,默认为0。 + + :param offset: The offset of this ListDeviceProxiesRequest. + :type offset: int + """ + self._offset = offset + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ListDeviceProxiesRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/list_device_proxies_response.py b/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/list_device_proxies_response.py new file mode 100644 index 0000000000..9ea724c372 --- /dev/null +++ b/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/list_device_proxies_response.py @@ -0,0 +1,141 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_response import SdkResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ListDeviceProxiesResponse(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 = { + 'device_proxies': 'list[QueryDeviceProxySimplify]', + 'page': 'Page' + } + + attribute_map = { + 'device_proxies': 'device_proxies', + 'page': 'page' + } + + def __init__(self, device_proxies=None, page=None): + """ListDeviceProxiesResponse + + The model defined in huaweicloud sdk + + :param device_proxies: 代理设备列表 + :type device_proxies: list[:class:`huaweicloudsdkiotda.v5.QueryDeviceProxySimplify`] + :param page: + :type page: :class:`huaweicloudsdkiotda.v5.Page` + """ + + super(ListDeviceProxiesResponse, self).__init__() + + self._device_proxies = None + self._page = None + self.discriminator = None + + if device_proxies is not None: + self.device_proxies = device_proxies + if page is not None: + self.page = page + + @property + def device_proxies(self): + """Gets the device_proxies of this ListDeviceProxiesResponse. + + 代理设备列表 + + :return: The device_proxies of this ListDeviceProxiesResponse. + :rtype: list[:class:`huaweicloudsdkiotda.v5.QueryDeviceProxySimplify`] + """ + return self._device_proxies + + @device_proxies.setter + def device_proxies(self, device_proxies): + """Sets the device_proxies of this ListDeviceProxiesResponse. + + 代理设备列表 + + :param device_proxies: The device_proxies of this ListDeviceProxiesResponse. + :type device_proxies: list[:class:`huaweicloudsdkiotda.v5.QueryDeviceProxySimplify`] + """ + self._device_proxies = device_proxies + + @property + def page(self): + """Gets the page of this ListDeviceProxiesResponse. + + :return: The page of this ListDeviceProxiesResponse. + :rtype: :class:`huaweicloudsdkiotda.v5.Page` + """ + return self._page + + @page.setter + def page(self, page): + """Sets the page of this ListDeviceProxiesResponse. + + :param page: The page of this ListDeviceProxiesResponse. + :type page: :class:`huaweicloudsdkiotda.v5.Page` + """ + self._page = page + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ListDeviceProxiesResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/query_device_proxy_simplify.py b/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/query_device_proxy_simplify.py new file mode 100644 index 0000000000..91ea9760e1 --- /dev/null +++ b/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/query_device_proxy_simplify.py @@ -0,0 +1,198 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class QueryDeviceProxySimplify: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'proxy_id': 'str', + 'proxy_name': 'str', + 'effective_time_range': 'EffectiveTimeRangeResponseDTO', + 'app_id': 'str' + } + + attribute_map = { + 'proxy_id': 'proxy_id', + 'proxy_name': 'proxy_name', + 'effective_time_range': 'effective_time_range', + 'app_id': 'app_id' + } + + def __init__(self, proxy_id=None, proxy_name=None, effective_time_range=None, app_id=None): + """QueryDeviceProxySimplify + + The model defined in huaweicloud sdk + + :param proxy_id: **参数说明**:代理ID。用来唯一标识一个代理规则 + :type proxy_id: str + :param proxy_name: **参数说明**:设备代理名称 + :type proxy_name: str + :param effective_time_range: + :type effective_time_range: :class:`huaweicloudsdkiotda.v5.EffectiveTimeRangeResponseDTO` + :param app_id: **参数说明**:资源空间ID。 + :type app_id: str + """ + + + + self._proxy_id = None + self._proxy_name = None + self._effective_time_range = None + self._app_id = None + self.discriminator = None + + if proxy_id is not None: + self.proxy_id = proxy_id + if proxy_name is not None: + self.proxy_name = proxy_name + if effective_time_range is not None: + self.effective_time_range = effective_time_range + if app_id is not None: + self.app_id = app_id + + @property + def proxy_id(self): + """Gets the proxy_id of this QueryDeviceProxySimplify. + + **参数说明**:代理ID。用来唯一标识一个代理规则 + + :return: The proxy_id of this QueryDeviceProxySimplify. + :rtype: str + """ + return self._proxy_id + + @proxy_id.setter + def proxy_id(self, proxy_id): + """Sets the proxy_id of this QueryDeviceProxySimplify. + + **参数说明**:代理ID。用来唯一标识一个代理规则 + + :param proxy_id: The proxy_id of this QueryDeviceProxySimplify. + :type proxy_id: str + """ + self._proxy_id = proxy_id + + @property + def proxy_name(self): + """Gets the proxy_name of this QueryDeviceProxySimplify. + + **参数说明**:设备代理名称 + + :return: The proxy_name of this QueryDeviceProxySimplify. + :rtype: str + """ + return self._proxy_name + + @proxy_name.setter + def proxy_name(self, proxy_name): + """Sets the proxy_name of this QueryDeviceProxySimplify. + + **参数说明**:设备代理名称 + + :param proxy_name: The proxy_name of this QueryDeviceProxySimplify. + :type proxy_name: str + """ + self._proxy_name = proxy_name + + @property + def effective_time_range(self): + """Gets the effective_time_range of this QueryDeviceProxySimplify. + + :return: The effective_time_range of this QueryDeviceProxySimplify. + :rtype: :class:`huaweicloudsdkiotda.v5.EffectiveTimeRangeResponseDTO` + """ + return self._effective_time_range + + @effective_time_range.setter + def effective_time_range(self, effective_time_range): + """Sets the effective_time_range of this QueryDeviceProxySimplify. + + :param effective_time_range: The effective_time_range of this QueryDeviceProxySimplify. + :type effective_time_range: :class:`huaweicloudsdkiotda.v5.EffectiveTimeRangeResponseDTO` + """ + self._effective_time_range = effective_time_range + + @property + def app_id(self): + """Gets the app_id of this QueryDeviceProxySimplify. + + **参数说明**:资源空间ID。 + + :return: The app_id of this QueryDeviceProxySimplify. + :rtype: str + """ + return self._app_id + + @app_id.setter + def app_id(self, app_id): + """Sets the app_id of this QueryDeviceProxySimplify. + + **参数说明**:资源空间ID。 + + :param app_id: The app_id of this QueryDeviceProxySimplify. + :type app_id: str + """ + self._app_id = app_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, QueryDeviceProxySimplify): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/show_device_proxy_request.py b/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/show_device_proxy_request.py new file mode 100644 index 0000000000..15863a928f --- /dev/null +++ b/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/show_device_proxy_request.py @@ -0,0 +1,143 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ShowDeviceProxyRequest: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'instance_id': 'str', + 'proxy_id': 'str' + } + + attribute_map = { + 'instance_id': 'Instance-Id', + 'proxy_id': 'proxy_id' + } + + def __init__(self, instance_id=None, proxy_id=None): + """ShowDeviceProxyRequest + + The model defined in huaweicloud sdk + + :param instance_id: **参数说明**:实例ID。物理多租下各实例的唯一标识,建议携带该参数,在使用专业版时必须携带该参数。您可以在IoTDA管理控制台界面,选择左侧导航栏“总览”页签查看当前实例的ID,具体获取方式请参考[[查看实例详情](https://support.huaweicloud.com/usermanual-iothub/iot_01_0121.html)](tag:hws) [[查看实例详情](https://support.huaweicloud.com/intl/zh-cn/usermanual-iothub/iot_01_0121.html)](tag:hws_hk)。 + :type instance_id: str + :param proxy_id: **参数说明**:设备代理ID,用于唯一标识一个设备代理。在注册设备代理时由物联网平台分配获得。 + :type proxy_id: str + """ + + + + self._instance_id = None + self._proxy_id = None + self.discriminator = None + + if instance_id is not None: + self.instance_id = instance_id + self.proxy_id = proxy_id + + @property + def instance_id(self): + """Gets the instance_id of this ShowDeviceProxyRequest. + + **参数说明**:实例ID。物理多租下各实例的唯一标识,建议携带该参数,在使用专业版时必须携带该参数。您可以在IoTDA管理控制台界面,选择左侧导航栏“总览”页签查看当前实例的ID,具体获取方式请参考[[查看实例详情](https://support.huaweicloud.com/usermanual-iothub/iot_01_0121.html)](tag:hws) [[查看实例详情](https://support.huaweicloud.com/intl/zh-cn/usermanual-iothub/iot_01_0121.html)](tag:hws_hk)。 + + :return: The instance_id of this ShowDeviceProxyRequest. + :rtype: str + """ + return self._instance_id + + @instance_id.setter + def instance_id(self, instance_id): + """Sets the instance_id of this ShowDeviceProxyRequest. + + **参数说明**:实例ID。物理多租下各实例的唯一标识,建议携带该参数,在使用专业版时必须携带该参数。您可以在IoTDA管理控制台界面,选择左侧导航栏“总览”页签查看当前实例的ID,具体获取方式请参考[[查看实例详情](https://support.huaweicloud.com/usermanual-iothub/iot_01_0121.html)](tag:hws) [[查看实例详情](https://support.huaweicloud.com/intl/zh-cn/usermanual-iothub/iot_01_0121.html)](tag:hws_hk)。 + + :param instance_id: The instance_id of this ShowDeviceProxyRequest. + :type instance_id: str + """ + self._instance_id = instance_id + + @property + def proxy_id(self): + """Gets the proxy_id of this ShowDeviceProxyRequest. + + **参数说明**:设备代理ID,用于唯一标识一个设备代理。在注册设备代理时由物联网平台分配获得。 + + :return: The proxy_id of this ShowDeviceProxyRequest. + :rtype: str + """ + return self._proxy_id + + @proxy_id.setter + def proxy_id(self, proxy_id): + """Sets the proxy_id of this ShowDeviceProxyRequest. + + **参数说明**:设备代理ID,用于唯一标识一个设备代理。在注册设备代理时由物联网平台分配获得。 + + :param proxy_id: The proxy_id of this ShowDeviceProxyRequest. + :type proxy_id: str + """ + self._proxy_id = proxy_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, ShowDeviceProxyRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/show_device_proxy_response.py b/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/show_device_proxy_response.py new file mode 100644 index 0000000000..5d6baffa5b --- /dev/null +++ b/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/show_device_proxy_response.py @@ -0,0 +1,228 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_response import SdkResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class ShowDeviceProxyResponse(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 = { + 'proxy_id': 'str', + 'proxy_name': 'str', + 'proxy_devices': 'list[str]', + 'effective_time_range': 'EffectiveTimeRangeResponseDTO', + 'app_id': 'str' + } + + attribute_map = { + 'proxy_id': 'proxy_id', + 'proxy_name': 'proxy_name', + 'proxy_devices': 'proxy_devices', + 'effective_time_range': 'effective_time_range', + 'app_id': 'app_id' + } + + def __init__(self, proxy_id=None, proxy_name=None, proxy_devices=None, effective_time_range=None, app_id=None): + """ShowDeviceProxyResponse + + The model defined in huaweicloud sdk + + :param proxy_id: **参数说明**:代理ID。用来唯一标识一个代理规则 + :type proxy_id: str + :param proxy_name: **参数说明**:设备代理名称 + :type proxy_name: str + :param proxy_devices: **参数说明**:代理设备组,组内所有设备共享网关权限,即组内任意一个网关下的子设备可以通过组里任意一个网关上线然后进行数据上报。 + :type proxy_devices: list[str] + :param effective_time_range: + :type effective_time_range: :class:`huaweicloudsdkiotda.v5.EffectiveTimeRangeResponseDTO` + :param app_id: **参数说明**:资源空间ID。 + :type app_id: str + """ + + super(ShowDeviceProxyResponse, self).__init__() + + self._proxy_id = None + self._proxy_name = None + self._proxy_devices = None + self._effective_time_range = None + self._app_id = None + self.discriminator = None + + if proxy_id is not None: + self.proxy_id = proxy_id + if proxy_name is not None: + self.proxy_name = proxy_name + if proxy_devices is not None: + self.proxy_devices = proxy_devices + if effective_time_range is not None: + self.effective_time_range = effective_time_range + if app_id is not None: + self.app_id = app_id + + @property + def proxy_id(self): + """Gets the proxy_id of this ShowDeviceProxyResponse. + + **参数说明**:代理ID。用来唯一标识一个代理规则 + + :return: The proxy_id of this ShowDeviceProxyResponse. + :rtype: str + """ + return self._proxy_id + + @proxy_id.setter + def proxy_id(self, proxy_id): + """Sets the proxy_id of this ShowDeviceProxyResponse. + + **参数说明**:代理ID。用来唯一标识一个代理规则 + + :param proxy_id: The proxy_id of this ShowDeviceProxyResponse. + :type proxy_id: str + """ + self._proxy_id = proxy_id + + @property + def proxy_name(self): + """Gets the proxy_name of this ShowDeviceProxyResponse. + + **参数说明**:设备代理名称 + + :return: The proxy_name of this ShowDeviceProxyResponse. + :rtype: str + """ + return self._proxy_name + + @proxy_name.setter + def proxy_name(self, proxy_name): + """Sets the proxy_name of this ShowDeviceProxyResponse. + + **参数说明**:设备代理名称 + + :param proxy_name: The proxy_name of this ShowDeviceProxyResponse. + :type proxy_name: str + """ + self._proxy_name = proxy_name + + @property + def proxy_devices(self): + """Gets the proxy_devices of this ShowDeviceProxyResponse. + + **参数说明**:代理设备组,组内所有设备共享网关权限,即组内任意一个网关下的子设备可以通过组里任意一个网关上线然后进行数据上报。 + + :return: The proxy_devices of this ShowDeviceProxyResponse. + :rtype: list[str] + """ + return self._proxy_devices + + @proxy_devices.setter + def proxy_devices(self, proxy_devices): + """Sets the proxy_devices of this ShowDeviceProxyResponse. + + **参数说明**:代理设备组,组内所有设备共享网关权限,即组内任意一个网关下的子设备可以通过组里任意一个网关上线然后进行数据上报。 + + :param proxy_devices: The proxy_devices of this ShowDeviceProxyResponse. + :type proxy_devices: list[str] + """ + self._proxy_devices = proxy_devices + + @property + def effective_time_range(self): + """Gets the effective_time_range of this ShowDeviceProxyResponse. + + :return: The effective_time_range of this ShowDeviceProxyResponse. + :rtype: :class:`huaweicloudsdkiotda.v5.EffectiveTimeRangeResponseDTO` + """ + return self._effective_time_range + + @effective_time_range.setter + def effective_time_range(self, effective_time_range): + """Sets the effective_time_range of this ShowDeviceProxyResponse. + + :param effective_time_range: The effective_time_range of this ShowDeviceProxyResponse. + :type effective_time_range: :class:`huaweicloudsdkiotda.v5.EffectiveTimeRangeResponseDTO` + """ + self._effective_time_range = effective_time_range + + @property + def app_id(self): + """Gets the app_id of this ShowDeviceProxyResponse. + + **参数说明**:资源空间ID。 + + :return: The app_id of this ShowDeviceProxyResponse. + :rtype: str + """ + return self._app_id + + @app_id.setter + def app_id(self, app_id): + """Sets the app_id of this ShowDeviceProxyResponse. + + **参数说明**:资源空间ID。 + + :param app_id: The app_id of this ShowDeviceProxyResponse. + :type app_id: str + """ + self._app_id = app_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, ShowDeviceProxyResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/update_device_proxy.py b/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/update_device_proxy.py new file mode 100644 index 0000000000..dd85534f99 --- /dev/null +++ b/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/update_device_proxy.py @@ -0,0 +1,169 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class UpdateDeviceProxy: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'proxy_name': 'str', + 'proxy_devices': 'list[str]', + 'effective_time_range': 'EffectiveTimeRange' + } + + attribute_map = { + 'proxy_name': 'proxy_name', + 'proxy_devices': 'proxy_devices', + 'effective_time_range': 'effective_time_range' + } + + def __init__(self, proxy_name=None, proxy_devices=None, effective_time_range=None): + """UpdateDeviceProxy + + The model defined in huaweicloud sdk + + :param proxy_name: **参数说明**:设备代理名称 + :type proxy_name: str + :param proxy_devices: **参数说明**:代理设备列表,列表内所有设备共享网关权限,即列表内任意一个网关下的子设备可以通过组里任意一个网关上线然后进行数据上报。 **取值范围**:列表内填写设备id,列表内最少有2个设备id,最多有10个设备id,设备id取值范围:长度不超过128,只允许字母、数字、下划线(_)、连接符(-)的组合,建议不少于4个字符。 + :type proxy_devices: list[str] + :param effective_time_range: + :type effective_time_range: :class:`huaweicloudsdkiotda.v5.EffectiveTimeRange` + """ + + + + self._proxy_name = None + self._proxy_devices = None + self._effective_time_range = None + self.discriminator = None + + if proxy_name is not None: + self.proxy_name = proxy_name + if proxy_devices is not None: + self.proxy_devices = proxy_devices + if effective_time_range is not None: + self.effective_time_range = effective_time_range + + @property + def proxy_name(self): + """Gets the proxy_name of this UpdateDeviceProxy. + + **参数说明**:设备代理名称 + + :return: The proxy_name of this UpdateDeviceProxy. + :rtype: str + """ + return self._proxy_name + + @proxy_name.setter + def proxy_name(self, proxy_name): + """Sets the proxy_name of this UpdateDeviceProxy. + + **参数说明**:设备代理名称 + + :param proxy_name: The proxy_name of this UpdateDeviceProxy. + :type proxy_name: str + """ + self._proxy_name = proxy_name + + @property + def proxy_devices(self): + """Gets the proxy_devices of this UpdateDeviceProxy. + + **参数说明**:代理设备列表,列表内所有设备共享网关权限,即列表内任意一个网关下的子设备可以通过组里任意一个网关上线然后进行数据上报。 **取值范围**:列表内填写设备id,列表内最少有2个设备id,最多有10个设备id,设备id取值范围:长度不超过128,只允许字母、数字、下划线(_)、连接符(-)的组合,建议不少于4个字符。 + + :return: The proxy_devices of this UpdateDeviceProxy. + :rtype: list[str] + """ + return self._proxy_devices + + @proxy_devices.setter + def proxy_devices(self, proxy_devices): + """Sets the proxy_devices of this UpdateDeviceProxy. + + **参数说明**:代理设备列表,列表内所有设备共享网关权限,即列表内任意一个网关下的子设备可以通过组里任意一个网关上线然后进行数据上报。 **取值范围**:列表内填写设备id,列表内最少有2个设备id,最多有10个设备id,设备id取值范围:长度不超过128,只允许字母、数字、下划线(_)、连接符(-)的组合,建议不少于4个字符。 + + :param proxy_devices: The proxy_devices of this UpdateDeviceProxy. + :type proxy_devices: list[str] + """ + self._proxy_devices = proxy_devices + + @property + def effective_time_range(self): + """Gets the effective_time_range of this UpdateDeviceProxy. + + :return: The effective_time_range of this UpdateDeviceProxy. + :rtype: :class:`huaweicloudsdkiotda.v5.EffectiveTimeRange` + """ + return self._effective_time_range + + @effective_time_range.setter + def effective_time_range(self, effective_time_range): + """Sets the effective_time_range of this UpdateDeviceProxy. + + :param effective_time_range: The effective_time_range of this UpdateDeviceProxy. + :type effective_time_range: :class:`huaweicloudsdkiotda.v5.EffectiveTimeRange` + """ + self._effective_time_range = effective_time_range + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, UpdateDeviceProxy): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/update_device_proxy_request.py b/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/update_device_proxy_request.py new file mode 100644 index 0000000000..ae13a4cd8d --- /dev/null +++ b/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/update_device_proxy_request.py @@ -0,0 +1,168 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class UpdateDeviceProxyRequest: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'instance_id': 'str', + 'proxy_id': 'str', + 'body': 'UpdateDeviceProxy' + } + + attribute_map = { + 'instance_id': 'Instance-Id', + 'proxy_id': 'proxy_id', + 'body': 'body' + } + + def __init__(self, instance_id=None, proxy_id=None, body=None): + """UpdateDeviceProxyRequest + + The model defined in huaweicloud sdk + + :param instance_id: **参数说明**:实例ID。物理多租下各实例的唯一标识,建议携带该参数,在使用专业版时必须携带该参数。您可以在IoTDA管理控制台界面,选择左侧导航栏“总览”页签查看当前实例的ID,具体获取方式请参考[[查看实例详情](https://support.huaweicloud.com/usermanual-iothub/iot_01_0121.html)](tag:hws) [[查看实例详情](https://support.huaweicloud.com/intl/zh-cn/usermanual-iothub/iot_01_0121.html)](tag:hws_hk)。 + :type instance_id: str + :param proxy_id: **参数说明**:设备代理ID,用于唯一标识一个设备代理。在注册设备代理时由物联网平台分配获得。 + :type proxy_id: str + :param body: Body of the UpdateDeviceProxyRequest + :type body: :class:`huaweicloudsdkiotda.v5.UpdateDeviceProxy` + """ + + + + self._instance_id = None + self._proxy_id = None + self._body = None + self.discriminator = None + + if instance_id is not None: + self.instance_id = instance_id + self.proxy_id = proxy_id + if body is not None: + self.body = body + + @property + def instance_id(self): + """Gets the instance_id of this UpdateDeviceProxyRequest. + + **参数说明**:实例ID。物理多租下各实例的唯一标识,建议携带该参数,在使用专业版时必须携带该参数。您可以在IoTDA管理控制台界面,选择左侧导航栏“总览”页签查看当前实例的ID,具体获取方式请参考[[查看实例详情](https://support.huaweicloud.com/usermanual-iothub/iot_01_0121.html)](tag:hws) [[查看实例详情](https://support.huaweicloud.com/intl/zh-cn/usermanual-iothub/iot_01_0121.html)](tag:hws_hk)。 + + :return: The instance_id of this UpdateDeviceProxyRequest. + :rtype: str + """ + return self._instance_id + + @instance_id.setter + def instance_id(self, instance_id): + """Sets the instance_id of this UpdateDeviceProxyRequest. + + **参数说明**:实例ID。物理多租下各实例的唯一标识,建议携带该参数,在使用专业版时必须携带该参数。您可以在IoTDA管理控制台界面,选择左侧导航栏“总览”页签查看当前实例的ID,具体获取方式请参考[[查看实例详情](https://support.huaweicloud.com/usermanual-iothub/iot_01_0121.html)](tag:hws) [[查看实例详情](https://support.huaweicloud.com/intl/zh-cn/usermanual-iothub/iot_01_0121.html)](tag:hws_hk)。 + + :param instance_id: The instance_id of this UpdateDeviceProxyRequest. + :type instance_id: str + """ + self._instance_id = instance_id + + @property + def proxy_id(self): + """Gets the proxy_id of this UpdateDeviceProxyRequest. + + **参数说明**:设备代理ID,用于唯一标识一个设备代理。在注册设备代理时由物联网平台分配获得。 + + :return: The proxy_id of this UpdateDeviceProxyRequest. + :rtype: str + """ + return self._proxy_id + + @proxy_id.setter + def proxy_id(self, proxy_id): + """Sets the proxy_id of this UpdateDeviceProxyRequest. + + **参数说明**:设备代理ID,用于唯一标识一个设备代理。在注册设备代理时由物联网平台分配获得。 + + :param proxy_id: The proxy_id of this UpdateDeviceProxyRequest. + :type proxy_id: str + """ + self._proxy_id = proxy_id + + @property + def body(self): + """Gets the body of this UpdateDeviceProxyRequest. + + :return: The body of this UpdateDeviceProxyRequest. + :rtype: :class:`huaweicloudsdkiotda.v5.UpdateDeviceProxy` + """ + return self._body + + @body.setter + def body(self, body): + """Sets the body of this UpdateDeviceProxyRequest. + + :param body: The body of this UpdateDeviceProxyRequest. + :type body: :class:`huaweicloudsdkiotda.v5.UpdateDeviceProxy` + """ + 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, UpdateDeviceProxyRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/update_device_proxy_response.py b/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/update_device_proxy_response.py new file mode 100644 index 0000000000..06bba087a2 --- /dev/null +++ b/huaweicloud-sdk-iotda/huaweicloudsdkiotda/v5/model/update_device_proxy_response.py @@ -0,0 +1,228 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_response import SdkResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class UpdateDeviceProxyResponse(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 = { + 'proxy_id': 'str', + 'proxy_name': 'str', + 'proxy_devices': 'list[str]', + 'effective_time_range': 'EffectiveTimeRangeResponseDTO', + 'app_id': 'str' + } + + attribute_map = { + 'proxy_id': 'proxy_id', + 'proxy_name': 'proxy_name', + 'proxy_devices': 'proxy_devices', + 'effective_time_range': 'effective_time_range', + 'app_id': 'app_id' + } + + def __init__(self, proxy_id=None, proxy_name=None, proxy_devices=None, effective_time_range=None, app_id=None): + """UpdateDeviceProxyResponse + + The model defined in huaweicloud sdk + + :param proxy_id: **参数说明**:代理ID。用来唯一标识一个代理规则 + :type proxy_id: str + :param proxy_name: **参数说明**:设备代理名称 + :type proxy_name: str + :param proxy_devices: **参数说明**:代理设备组,组内所有设备共享网关权限,即组内任意一个网关下的子设备可以通过组里任意一个网关上线然后进行数据上报。 + :type proxy_devices: list[str] + :param effective_time_range: + :type effective_time_range: :class:`huaweicloudsdkiotda.v5.EffectiveTimeRangeResponseDTO` + :param app_id: **参数说明**:资源空间ID。 + :type app_id: str + """ + + super(UpdateDeviceProxyResponse, self).__init__() + + self._proxy_id = None + self._proxy_name = None + self._proxy_devices = None + self._effective_time_range = None + self._app_id = None + self.discriminator = None + + if proxy_id is not None: + self.proxy_id = proxy_id + if proxy_name is not None: + self.proxy_name = proxy_name + if proxy_devices is not None: + self.proxy_devices = proxy_devices + if effective_time_range is not None: + self.effective_time_range = effective_time_range + if app_id is not None: + self.app_id = app_id + + @property + def proxy_id(self): + """Gets the proxy_id of this UpdateDeviceProxyResponse. + + **参数说明**:代理ID。用来唯一标识一个代理规则 + + :return: The proxy_id of this UpdateDeviceProxyResponse. + :rtype: str + """ + return self._proxy_id + + @proxy_id.setter + def proxy_id(self, proxy_id): + """Sets the proxy_id of this UpdateDeviceProxyResponse. + + **参数说明**:代理ID。用来唯一标识一个代理规则 + + :param proxy_id: The proxy_id of this UpdateDeviceProxyResponse. + :type proxy_id: str + """ + self._proxy_id = proxy_id + + @property + def proxy_name(self): + """Gets the proxy_name of this UpdateDeviceProxyResponse. + + **参数说明**:设备代理名称 + + :return: The proxy_name of this UpdateDeviceProxyResponse. + :rtype: str + """ + return self._proxy_name + + @proxy_name.setter + def proxy_name(self, proxy_name): + """Sets the proxy_name of this UpdateDeviceProxyResponse. + + **参数说明**:设备代理名称 + + :param proxy_name: The proxy_name of this UpdateDeviceProxyResponse. + :type proxy_name: str + """ + self._proxy_name = proxy_name + + @property + def proxy_devices(self): + """Gets the proxy_devices of this UpdateDeviceProxyResponse. + + **参数说明**:代理设备组,组内所有设备共享网关权限,即组内任意一个网关下的子设备可以通过组里任意一个网关上线然后进行数据上报。 + + :return: The proxy_devices of this UpdateDeviceProxyResponse. + :rtype: list[str] + """ + return self._proxy_devices + + @proxy_devices.setter + def proxy_devices(self, proxy_devices): + """Sets the proxy_devices of this UpdateDeviceProxyResponse. + + **参数说明**:代理设备组,组内所有设备共享网关权限,即组内任意一个网关下的子设备可以通过组里任意一个网关上线然后进行数据上报。 + + :param proxy_devices: The proxy_devices of this UpdateDeviceProxyResponse. + :type proxy_devices: list[str] + """ + self._proxy_devices = proxy_devices + + @property + def effective_time_range(self): + """Gets the effective_time_range of this UpdateDeviceProxyResponse. + + :return: The effective_time_range of this UpdateDeviceProxyResponse. + :rtype: :class:`huaweicloudsdkiotda.v5.EffectiveTimeRangeResponseDTO` + """ + return self._effective_time_range + + @effective_time_range.setter + def effective_time_range(self, effective_time_range): + """Sets the effective_time_range of this UpdateDeviceProxyResponse. + + :param effective_time_range: The effective_time_range of this UpdateDeviceProxyResponse. + :type effective_time_range: :class:`huaweicloudsdkiotda.v5.EffectiveTimeRangeResponseDTO` + """ + self._effective_time_range = effective_time_range + + @property + def app_id(self): + """Gets the app_id of this UpdateDeviceProxyResponse. + + **参数说明**:资源空间ID。 + + :return: The app_id of this UpdateDeviceProxyResponse. + :rtype: str + """ + return self._app_id + + @app_id.setter + def app_id(self, app_id): + """Sets the app_id of this UpdateDeviceProxyResponse. + + **参数说明**:资源空间ID。 + + :param app_id: The app_id of this UpdateDeviceProxyResponse. + :type app_id: str + """ + self._app_id = app_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, UpdateDeviceProxyResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-iotda/requirements.txt b/huaweicloud-sdk-iotda/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-iotda/requirements.txt +++ b/huaweicloud-sdk-iotda/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-iotda/setup.py b/huaweicloud-sdk-iotda/setup.py index 5a9627c325..cfec136041 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-iotedge/requirements.txt b/huaweicloud-sdk-iotedge/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-iotedge/requirements.txt +++ b/huaweicloud-sdk-iotedge/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-iotedge/setup.py b/huaweicloud-sdk-iotedge/setup.py index bfb23a3ce7..01a14619a4 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ivs/requirements.txt b/huaweicloud-sdk-ivs/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-ivs/requirements.txt +++ b/huaweicloud-sdk-ivs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-ivs/setup.py b/huaweicloud-sdk-ivs/setup.py index 29761e9dd4..065ad49895 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-kafka/requirements.txt b/huaweicloud-sdk-kafka/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-kafka/requirements.txt +++ b/huaweicloud-sdk-kafka/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-kafka/setup.py b/huaweicloud-sdk-kafka/setup.py index c828c1832c..45e1e7001f 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-kms/requirements.txt b/huaweicloud-sdk-kms/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-kms/requirements.txt +++ b/huaweicloud-sdk-kms/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-kms/setup.py b/huaweicloud-sdk-kms/setup.py index 3e847e290e..833f8b858d 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-koomessage/requirements.txt b/huaweicloud-sdk-koomessage/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-koomessage/requirements.txt +++ b/huaweicloud-sdk-koomessage/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-koomessage/setup.py b/huaweicloud-sdk-koomessage/setup.py index f2dc3cef24..b4146669a9 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-kps/requirements.txt b/huaweicloud-sdk-kps/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-kps/requirements.txt +++ b/huaweicloud-sdk-kps/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-kps/setup.py b/huaweicloud-sdk-kps/setup.py index 4340bb68bf..db361bed4f 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-lakeformation/requirements.txt b/huaweicloud-sdk-lakeformation/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-lakeformation/requirements.txt +++ b/huaweicloud-sdk-lakeformation/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-lakeformation/setup.py b/huaweicloud-sdk-lakeformation/setup.py index aa8ffa24b4..7ed8b3475e 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-live/requirements.txt b/huaweicloud-sdk-live/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-live/requirements.txt +++ b/huaweicloud-sdk-live/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-live/setup.py b/huaweicloud-sdk-live/setup.py index f6666f259e..4c7d8dfb48 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-lts/requirements.txt b/huaweicloud-sdk-lts/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-lts/requirements.txt +++ b/huaweicloud-sdk-lts/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-lts/setup.py b/huaweicloud-sdk-lts/setup.py index fc4c96500e..1719fcf57c 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-mapds/requirements.txt b/huaweicloud-sdk-mapds/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-mapds/requirements.txt +++ b/huaweicloud-sdk-mapds/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-mapds/setup.py b/huaweicloud-sdk-mapds/setup.py index 195064aa45..3c59efef7a 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-mas/requirements.txt b/huaweicloud-sdk-mas/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-mas/requirements.txt +++ b/huaweicloud-sdk-mas/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-mas/setup.py b/huaweicloud-sdk-mas/setup.py index 6e9a707b47..1d8ff744d3 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-meeting/requirements.txt b/huaweicloud-sdk-meeting/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-meeting/requirements.txt +++ b/huaweicloud-sdk-meeting/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-meeting/setup.py b/huaweicloud-sdk-meeting/setup.py index 76244abac4..96d118885f 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-metastudio/requirements.txt b/huaweicloud-sdk-metastudio/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-metastudio/requirements.txt +++ b/huaweicloud-sdk-metastudio/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-metastudio/setup.py b/huaweicloud-sdk-metastudio/setup.py index 16fa147ddc..4aba9db912 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/model/audio_create_request.py b/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/model/audio_create_request.py index 28f0af3ee4..2a1a0fe077 100644 --- a/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/model/audio_create_request.py +++ b/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/model/audio_create_request.py @@ -21,7 +21,8 @@ class AudioCreateRequest: 'biz_type': 'str', 'event_type': 'str', 'categories': 'list[str]', - 'param_callback': 'str' + 'param_callback': 'str', + 'seed': 'str' } attribute_map = { @@ -29,10 +30,11 @@ class AudioCreateRequest: 'biz_type': 'biz_type', 'event_type': 'event_type', 'categories': 'categories', - 'param_callback': 'callback' + 'param_callback': 'callback', + 'seed': 'seed' } - def __init__(self, data=None, biz_type=None, event_type=None, categories=None, param_callback=None): + def __init__(self, data=None, biz_type=None, event_type=None, categories=None, param_callback=None, seed=None): """AudioCreateRequest The model defined in huaweicloud sdk @@ -47,6 +49,8 @@ def __init__(self, data=None, biz_type=None, event_type=None, categories=None, p :type categories: list[str] :param param_callback: 回调http接口:当该字段非空时,服务将根据该字段回调通知用户审核结果。 :type param_callback: str + :param seed: 用于回调通知时校验请求由华为云内容安全服务发起,由您自定义。随机字符串,由英文字母、数字、下划线组成,不超过64个字符。 说明:当seed非空时,headers中将包含X-Auth-Signature字段,字段的值使用HmacSHA256算法生成,待加密字符串由create_time、job_id、request_id、seed按照顺序拼接而成,密钥为seed。 + :type seed: str """ @@ -56,6 +60,7 @@ def __init__(self, data=None, biz_type=None, event_type=None, categories=None, p self._event_type = None self._categories = None self._param_callback = None + self._seed = None self.discriminator = None self.data = data @@ -67,6 +72,8 @@ def __init__(self, data=None, biz_type=None, event_type=None, categories=None, p self.categories = categories if param_callback is not None: self.param_callback = param_callback + if seed is not None: + self.seed = seed @property def data(self): @@ -174,6 +181,28 @@ def param_callback(self, param_callback): """ self._param_callback = param_callback + @property + def seed(self): + """Gets the seed of this AudioCreateRequest. + + 用于回调通知时校验请求由华为云内容安全服务发起,由您自定义。随机字符串,由英文字母、数字、下划线组成,不超过64个字符。 说明:当seed非空时,headers中将包含X-Auth-Signature字段,字段的值使用HmacSHA256算法生成,待加密字符串由create_time、job_id、request_id、seed按照顺序拼接而成,密钥为seed。 + + :return: The seed of this AudioCreateRequest. + :rtype: str + """ + return self._seed + + @seed.setter + def seed(self, seed): + """Sets the seed of this AudioCreateRequest. + + 用于回调通知时校验请求由华为云内容安全服务发起,由您自定义。随机字符串,由英文字母、数字、下划线组成,不超过64个字符。 说明:当seed非空时,headers中将包含X-Auth-Signature字段,字段的值使用HmacSHA256算法生成,待加密字符串由create_time、job_id、request_id、seed按照顺序拼接而成,密钥为seed。 + + :param seed: The seed of this AudioCreateRequest. + :type seed: str + """ + self._seed = seed + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/model/audio_stream_create_request.py b/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/model/audio_stream_create_request.py index 5eb7a6215c..6e64b2ddfb 100644 --- a/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/model/audio_stream_create_request.py +++ b/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/model/audio_stream_create_request.py @@ -20,17 +20,19 @@ class AudioStreamCreateRequest: 'data': 'AudioStreamCreateRequestData', 'event_type': 'str', 'categories': 'list[str]', - 'param_callback': 'str' + 'param_callback': 'str', + 'seed': 'str' } attribute_map = { 'data': 'data', 'event_type': 'event_type', 'categories': 'categories', - 'param_callback': 'callback' + 'param_callback': 'callback', + 'seed': 'seed' } - def __init__(self, data=None, event_type=None, categories=None, param_callback=None): + def __init__(self, data=None, event_type=None, categories=None, param_callback=None, seed=None): """AudioStreamCreateRequest The model defined in huaweicloud sdk @@ -43,6 +45,8 @@ def __init__(self, data=None, event_type=None, categories=None, param_callback=N :type categories: list[str] :param param_callback: 回调http接口,服务将根据该字段回调通知用户审核结果,流未结束时,回调审核违规内容,流结束时,审核片段违规或不违规都将回调客户端。 回调内容如下: ``` { \"job_id\":\"xxxxxx\", \"status\":\"running\", //running - 审核中,succeeded - 审核完成,failed - 审核失败 \"request_id\":\"2419446b1fe14203f64e4018d12db3dd\", \"create_time\":\"2022-07-30T08:57:11.011Z\", \"update_time\":\"2022-07-30T08:57:14.014Z\", \"result\":{ \"suggestion\":\"block\", \"details\":[ { \"suggestion\":\"block\", \"label\":\"politics\", \"audio_text\":\"xxxx\", \"start_time\":\"2022-07-30T08:57:11.011Z\", // 当前音频片段开始的绝对时间 \"end_time\":\"2022-07-30T08:57:21.011Z\", // 当前音频片段结束的绝对时间 \"segments\":[ { \"segment\":\"xxx\" }, { \"segment\":\"xxx\" }, { \"segment\":\"xxx\" } ] } ], \"request_params\":{ \"event_type\":\"default\", \"data\":{ \"url\":\"rtmp://xxxx\" }, \"callback\":\"http://xxx\", \"categories\":[ \"porn\", \"ad\" ] } } } :type param_callback: str + :param seed: 用于回调通知时校验请求由华为云内容安全服务发起,由您自定义。随机字符串,由英文字母、数字、下划线组成,不超过64个字符。 说明:当seed非空时,headers中将包含X-Auth-Signature字段,字段的值使用HmacSHA256算法生成,待加密字符串由create_time、job_id、request_id、seed按照顺序拼接而成,密钥为seed。 + :type seed: str """ @@ -51,12 +55,15 @@ def __init__(self, data=None, event_type=None, categories=None, param_callback=N self._event_type = None self._categories = None self._param_callback = None + self._seed = None self.discriminator = None self.data = data self.event_type = event_type self.categories = categories self.param_callback = param_callback + if seed is not None: + self.seed = seed @property def data(self): @@ -142,6 +149,28 @@ def param_callback(self, param_callback): """ self._param_callback = param_callback + @property + def seed(self): + """Gets the seed of this AudioStreamCreateRequest. + + 用于回调通知时校验请求由华为云内容安全服务发起,由您自定义。随机字符串,由英文字母、数字、下划线组成,不超过64个字符。 说明:当seed非空时,headers中将包含X-Auth-Signature字段,字段的值使用HmacSHA256算法生成,待加密字符串由create_time、job_id、request_id、seed按照顺序拼接而成,密钥为seed。 + + :return: The seed of this AudioStreamCreateRequest. + :rtype: str + """ + return self._seed + + @seed.setter + def seed(self, seed): + """Sets the seed of this AudioStreamCreateRequest. + + 用于回调通知时校验请求由华为云内容安全服务发起,由您自定义。随机字符串,由英文字母、数字、下划线组成,不超过64个字符。 说明:当seed非空时,headers中将包含X-Auth-Signature字段,字段的值使用HmacSHA256算法生成,待加密字符串由create_time、job_id、request_id、seed按照顺序拼接而成,密钥为seed。 + + :param seed: The seed of this AudioStreamCreateRequest. + :type seed: str + """ + self._seed = seed + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/model/document_create_request.py b/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/model/document_create_request.py index de3d927313..25ba932909 100644 --- a/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/model/document_create_request.py +++ b/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/model/document_create_request.py @@ -23,7 +23,8 @@ class DocumentCreateRequest: 'text_categories': 'list[str]', 'video_image_categories': 'list[str]', 'audio_categories': 'list[str]', - 'param_callback': 'str' + 'param_callback': 'str', + 'seed': 'str' } attribute_map = { @@ -33,10 +34,11 @@ class DocumentCreateRequest: 'text_categories': 'text_categories', 'video_image_categories': 'video_image_categories', 'audio_categories': 'audio_categories', - 'param_callback': 'callback' + 'param_callback': 'callback', + 'seed': 'seed' } - def __init__(self, data=None, event_type=None, image_categories=None, text_categories=None, video_image_categories=None, audio_categories=None, param_callback=None): + def __init__(self, data=None, event_type=None, image_categories=None, text_categories=None, video_image_categories=None, audio_categories=None, param_callback=None, seed=None): """DocumentCreateRequest The model defined in huaweicloud sdk @@ -55,6 +57,8 @@ def __init__(self, data=None, event_type=None, image_categories=None, text_categ :type audio_categories: list[str] :param param_callback: 回调http接口:当该字段非空时,服务将根据该字段回调通知用户审核结果。 :type param_callback: str + :param seed: 用于回调通知时校验请求由华为云内容安全服务发起,由您自定义。随机字符串,由英文字母、数字、下划线组成,不超过64个字符。 说明:当seed非空时,headers中将包含X-Auth-Signature字段,字段的值使用HmacSHA256算法生成,待加密字符串由create_time、job_id、request_id、seed按照顺序拼接而成,密钥为seed。 + :type seed: str """ @@ -66,6 +70,7 @@ def __init__(self, data=None, event_type=None, image_categories=None, text_categ self._video_image_categories = None self._audio_categories = None self._param_callback = None + self._seed = None self.discriminator = None self.data = data @@ -80,6 +85,8 @@ def __init__(self, data=None, event_type=None, image_categories=None, text_categ self.audio_categories = audio_categories if param_callback is not None: self.param_callback = param_callback + if seed is not None: + self.seed = seed @property def data(self): @@ -231,6 +238,28 @@ def param_callback(self, param_callback): """ self._param_callback = param_callback + @property + def seed(self): + """Gets the seed of this DocumentCreateRequest. + + 用于回调通知时校验请求由华为云内容安全服务发起,由您自定义。随机字符串,由英文字母、数字、下划线组成,不超过64个字符。 说明:当seed非空时,headers中将包含X-Auth-Signature字段,字段的值使用HmacSHA256算法生成,待加密字符串由create_time、job_id、request_id、seed按照顺序拼接而成,密钥为seed。 + + :return: The seed of this DocumentCreateRequest. + :rtype: str + """ + return self._seed + + @seed.setter + def seed(self, seed): + """Sets the seed of this DocumentCreateRequest. + + 用于回调通知时校验请求由华为云内容安全服务发起,由您自定义。随机字符串,由英文字母、数字、下划线组成,不超过64个字符。 说明:当seed非空时,headers中将包含X-Auth-Signature字段,字段的值使用HmacSHA256算法生成,待加密字符串由create_time、job_id、request_id、seed按照顺序拼接而成,密钥为seed。 + + :param seed: The seed of this DocumentCreateRequest. + :type seed: str + """ + self._seed = seed + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/model/video_create_request.py b/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/model/video_create_request.py index 2ebf333134..9842196e24 100644 --- a/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/model/video_create_request.py +++ b/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/model/video_create_request.py @@ -22,7 +22,8 @@ class VideoCreateRequest: 'event_type': 'str', 'image_categories': 'list[str]', 'audio_categories': 'list[str]', - 'param_callback': 'str' + 'param_callback': 'str', + 'seed': 'str' } attribute_map = { @@ -31,10 +32,11 @@ class VideoCreateRequest: 'event_type': 'event_type', 'image_categories': 'image_categories', 'audio_categories': 'audio_categories', - 'param_callback': 'callback' + 'param_callback': 'callback', + 'seed': 'seed' } - def __init__(self, data=None, biz_type=None, event_type=None, image_categories=None, audio_categories=None, param_callback=None): + def __init__(self, data=None, biz_type=None, event_type=None, image_categories=None, audio_categories=None, param_callback=None, seed=None): """VideoCreateRequest The model defined in huaweicloud sdk @@ -51,6 +53,8 @@ def __init__(self, data=None, biz_type=None, event_type=None, image_categories=N :type audio_categories: list[str] :param param_callback: 回调http接口:当该字段非空时,服务将根据该字段回调通知用户审核结果。 :type param_callback: str + :param seed: 用于回调通知时校验请求由华为云内容安全服务发起,由您自定义。随机字符串,由英文字母、数字、下划线组成,不超过64个字符。 说明:当seed非空时,headers中将包含X-Auth-Signature字段,字段的值使用HmacSHA256算法生成,待加密字符串由create_time、job_id、request_id、seed按照顺序拼接而成,密钥为seed。 + :type seed: str """ @@ -61,6 +65,7 @@ def __init__(self, data=None, biz_type=None, event_type=None, image_categories=N self._image_categories = None self._audio_categories = None self._param_callback = None + self._seed = None self.discriminator = None self.data = data @@ -74,6 +79,8 @@ def __init__(self, data=None, biz_type=None, event_type=None, image_categories=N self.audio_categories = audio_categories if param_callback is not None: self.param_callback = param_callback + if seed is not None: + self.seed = seed @property def data(self): @@ -203,6 +210,28 @@ def param_callback(self, param_callback): """ self._param_callback = param_callback + @property + def seed(self): + """Gets the seed of this VideoCreateRequest. + + 用于回调通知时校验请求由华为云内容安全服务发起,由您自定义。随机字符串,由英文字母、数字、下划线组成,不超过64个字符。 说明:当seed非空时,headers中将包含X-Auth-Signature字段,字段的值使用HmacSHA256算法生成,待加密字符串由create_time、job_id、request_id、seed按照顺序拼接而成,密钥为seed。 + + :return: The seed of this VideoCreateRequest. + :rtype: str + """ + return self._seed + + @seed.setter + def seed(self, seed): + """Sets the seed of this VideoCreateRequest. + + 用于回调通知时校验请求由华为云内容安全服务发起,由您自定义。随机字符串,由英文字母、数字、下划线组成,不超过64个字符。 说明:当seed非空时,headers中将包含X-Auth-Signature字段,字段的值使用HmacSHA256算法生成,待加密字符串由create_time、job_id、request_id、seed按照顺序拼接而成,密钥为seed。 + + :param seed: The seed of this VideoCreateRequest. + :type seed: str + """ + self._seed = seed + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/model/video_stream_create_request.py b/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/model/video_stream_create_request.py index 72a8124cd0..f68329f7eb 100644 --- a/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/model/video_stream_create_request.py +++ b/huaweicloud-sdk-moderation/huaweicloudsdkmoderation/v3/model/video_stream_create_request.py @@ -21,7 +21,8 @@ class VideoStreamCreateRequest: 'event_type': 'str', 'image_categories': 'list[str]', 'audio_categories': 'list[str]', - 'param_callback': 'str' + 'param_callback': 'str', + 'seed': 'str' } attribute_map = { @@ -29,10 +30,11 @@ class VideoStreamCreateRequest: 'event_type': 'event_type', 'image_categories': 'image_categories', 'audio_categories': 'audio_categories', - 'param_callback': 'callback' + 'param_callback': 'callback', + 'seed': 'seed' } - def __init__(self, data=None, event_type=None, image_categories=None, audio_categories=None, param_callback=None): + def __init__(self, data=None, event_type=None, image_categories=None, audio_categories=None, param_callback=None, seed=None): """VideoStreamCreateRequest The model defined in huaweicloud sdk @@ -47,6 +49,8 @@ def __init__(self, data=None, event_type=None, image_categories=None, audio_cate :type audio_categories: list[str] :param param_callback: 回调http接口,回调内容如下: ```{ \"job_id\":\"xxxxxx\", \"status\":\"running\", //running - 审核中,succeeded - 审核完成,failed - 审核失败 \"request_id\":\"2419446b1fe14203f64e4018d12db3dd\", \"craete_time\":\"2022-07-30T08:57:11.011Z\", \"update_time\":\"2022-07-30T08:57:14.014Z\", \"result\":{ \"suggestion\":\"block\", \"audio_detail\":[ { \"suggestion\":\"block\", \"label\":\"politics\", \"audio_text\":\"xxxx\", \"detail\":[ { \"confidence\":1, \"suggestion\":\"block\", \"label\":\"politics\", \"segments\":[ { \"segment\":\"xxx\" }, { \"segment\":\"xxx\" }, { \"segment\":\"xxx\" } ] } ] } ], \"image_detail\":[ { \"suggestion\":\"block\", \"category\":\"xxx\", \"time\":\"xxx\", // 视频流截帧图片发生的绝对时间 \"detail\":[ { \"face_location\":{ \"bottom_right_x\":247, \"bottom_right_y\":191, \"top_left_y\":79, \"top_left_x\":160 }, \"confidence\":1, \"suggestion\":\"block\", \"label\":\"xxx\", \"category\":\"xxx\" }, { \"qr_content\":\"xxx\", \"confidence\":\"xxx\", \"suggestion\":\"xxx\", \"label\":\"xxx\", \"category\":\"xxx\", \"qr_location\":{ \"bottom_right_x\":554, \"bottom_right_y\":842, \"top_left_y\":426, \"top_left_x\":140 } }, { \"confidence\":1, \"suggestion\":\"block\", \"label\":\"politics\", \"category\":\"image_text\", \"segments\":[ { \"segment\":\"x\" }, { \"segment\":\"xxx\" }, { \"segment\":\"xx\" }, { \"segment\":\"x\" }, { \"segment\":\"xxxx\" } ] } ] } ] }, \"request_params\":{ \"data\":{ \"url\":\"rtmp://xxxx\", \"frame_interval\":3 }, \"event_type\":\"default\", \"image_categories\":[ \"politics\", \"porn\", \"image_text\", \"terrorism\" ], \"audio_categories\":[ \"porn\", \"ad\", \"politics\", \"moan\", \"abuse\" ], \"callback\":\"http://xxx/callback\" } } :type param_callback: str + :param seed: 用于回调通知时校验请求由华为云内容安全服务发起,由您自定义。随机字符串,由英文字母、数字、下划线组成,不超过64个字符。 说明:当seed非空时,headers中将包含X-Auth-Signature字段,字段的值使用HmacSHA256算法生成,待加密字符串由create_time、job_id、request_id、seed按照顺序拼接而成,密钥为seed。 + :type seed: str """ @@ -56,6 +60,7 @@ def __init__(self, data=None, event_type=None, image_categories=None, audio_cate self._image_categories = None self._audio_categories = None self._param_callback = None + self._seed = None self.discriminator = None self.data = data @@ -64,6 +69,8 @@ def __init__(self, data=None, event_type=None, image_categories=None, audio_cate if audio_categories is not None: self.audio_categories = audio_categories self.param_callback = param_callback + if seed is not None: + self.seed = seed @property def data(self): @@ -171,6 +178,28 @@ def param_callback(self, param_callback): """ self._param_callback = param_callback + @property + def seed(self): + """Gets the seed of this VideoStreamCreateRequest. + + 用于回调通知时校验请求由华为云内容安全服务发起,由您自定义。随机字符串,由英文字母、数字、下划线组成,不超过64个字符。 说明:当seed非空时,headers中将包含X-Auth-Signature字段,字段的值使用HmacSHA256算法生成,待加密字符串由create_time、job_id、request_id、seed按照顺序拼接而成,密钥为seed。 + + :return: The seed of this VideoStreamCreateRequest. + :rtype: str + """ + return self._seed + + @seed.setter + def seed(self, seed): + """Sets the seed of this VideoStreamCreateRequest. + + 用于回调通知时校验请求由华为云内容安全服务发起,由您自定义。随机字符串,由英文字母、数字、下划线组成,不超过64个字符。 说明:当seed非空时,headers中将包含X-Auth-Signature字段,字段的值使用HmacSHA256算法生成,待加密字符串由create_time、job_id、request_id、seed按照顺序拼接而成,密钥为seed。 + + :param seed: The seed of this VideoStreamCreateRequest. + :type seed: str + """ + self._seed = seed + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-moderation/requirements.txt b/huaweicloud-sdk-moderation/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-moderation/requirements.txt +++ b/huaweicloud-sdk-moderation/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-moderation/setup.py b/huaweicloud-sdk-moderation/setup.py index 1191f46d36..47c1d2aae5 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-mpc/requirements.txt b/huaweicloud-sdk-mpc/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-mpc/requirements.txt +++ b/huaweicloud-sdk-mpc/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-mpc/setup.py b/huaweicloud-sdk-mpc/setup.py index c00ffa588b..102e776de5 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-mrs/requirements.txt b/huaweicloud-sdk-mrs/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-mrs/requirements.txt +++ b/huaweicloud-sdk-mrs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-mrs/setup.py b/huaweicloud-sdk-mrs/setup.py index 6eae8c47e4..a1f5fa473e 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-msgsms/requirements.txt b/huaweicloud-sdk-msgsms/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-msgsms/requirements.txt +++ b/huaweicloud-sdk-msgsms/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-msgsms/setup.py b/huaweicloud-sdk-msgsms/setup.py index 4e02bd18d2..83ecd203ea 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-mssi/requirements.txt b/huaweicloud-sdk-mssi/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-mssi/requirements.txt +++ b/huaweicloud-sdk-mssi/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-mssi/setup.py b/huaweicloud-sdk-mssi/setup.py index b114af1d0e..7b5997e497 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-nat/requirements.txt b/huaweicloud-sdk-nat/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-nat/requirements.txt +++ b/huaweicloud-sdk-nat/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-nat/setup.py b/huaweicloud-sdk-nat/setup.py index 0446913a21..ab0bcfcd83 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-nlp/requirements.txt b/huaweicloud-sdk-nlp/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-nlp/requirements.txt +++ b/huaweicloud-sdk-nlp/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-nlp/setup.py b/huaweicloud-sdk-nlp/setup.py index def4cb8cc9..fb0ce1b4a6 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-obs/requirements.txt b/huaweicloud-sdk-obs/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-obs/requirements.txt +++ b/huaweicloud-sdk-obs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-obs/setup.py b/huaweicloud-sdk-obs/setup.py index 6d302285b2..c1bc6e5329 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/__init__.py b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/__init__.py index de444af778..cdff9de95d 100644 --- a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/__init__.py +++ b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/__init__.py @@ -10,6 +10,10 @@ from huaweicloudsdkocr.v1.model.auto_classification_request_body import AutoClassificationRequestBody from huaweicloudsdkocr.v1.model.auto_classification_result import AutoClassificationResult from huaweicloudsdkocr.v1.model.auto_classification_result_status import AutoClassificationResultStatus +from huaweicloudsdkocr.v1.model.bank_receipt_dict import BankReceiptDict +from huaweicloudsdkocr.v1.model.bank_receipt_kv_pair import BankReceiptKvPair +from huaweicloudsdkocr.v1.model.bank_receipt_request_body import BankReceiptRequestBody +from huaweicloudsdkocr.v1.model.bank_receipt_result import BankReceiptResult from huaweicloudsdkocr.v1.model.bankcard_request_body import BankcardRequestBody from huaweicloudsdkocr.v1.model.bankcard_result import BankcardResult from huaweicloudsdkocr.v1.model.belong_item_list import BelongItemList @@ -116,6 +120,8 @@ from huaweicloudsdkocr.v1.model.recognize_acceptance_bill_response import RecognizeAcceptanceBillResponse from huaweicloudsdkocr.v1.model.recognize_auto_classification_request import RecognizeAutoClassificationRequest from huaweicloudsdkocr.v1.model.recognize_auto_classification_response import RecognizeAutoClassificationResponse +from huaweicloudsdkocr.v1.model.recognize_bank_receipt_request import RecognizeBankReceiptRequest +from huaweicloudsdkocr.v1.model.recognize_bank_receipt_response import RecognizeBankReceiptResponse from huaweicloudsdkocr.v1.model.recognize_bankcard_request import RecognizeBankcardRequest from huaweicloudsdkocr.v1.model.recognize_bankcard_response import RecognizeBankcardResponse from huaweicloudsdkocr.v1.model.recognize_business_card_request import RecognizeBusinessCardRequest @@ -217,6 +223,8 @@ from huaweicloudsdkocr.v1.model.seal_result import SealResult from huaweicloudsdkocr.v1.model.seal_words_block_list import SealWordsBlockList from huaweicloudsdkocr.v1.model.smart_document_recognizer_form_result import SmartDocumentRecognizerFormResult +from huaweicloudsdkocr.v1.model.smart_document_recognizer_formula_block import SmartDocumentRecognizerFormulaBlock +from huaweicloudsdkocr.v1.model.smart_document_recognizer_formula_result import SmartDocumentRecognizerFormulaResult from huaweicloudsdkocr.v1.model.smart_document_recognizer_kv_block import SmartDocumentRecognizerKVBlock from huaweicloudsdkocr.v1.model.smart_document_recognizer_kv_words_block import SmartDocumentRecognizerKVWordsBlock from huaweicloudsdkocr.v1.model.smart_document_recognizer_kv_result import SmartDocumentRecognizerKvResult diff --git a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/__init__.py b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/__init__.py index 15468490d0..9756fa63f5 100644 --- a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/__init__.py +++ b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/__init__.py @@ -8,6 +8,10 @@ from huaweicloudsdkocr.v1.model.auto_classification_request_body import AutoClassificationRequestBody from huaweicloudsdkocr.v1.model.auto_classification_result import AutoClassificationResult from huaweicloudsdkocr.v1.model.auto_classification_result_status import AutoClassificationResultStatus +from huaweicloudsdkocr.v1.model.bank_receipt_dict import BankReceiptDict +from huaweicloudsdkocr.v1.model.bank_receipt_kv_pair import BankReceiptKvPair +from huaweicloudsdkocr.v1.model.bank_receipt_request_body import BankReceiptRequestBody +from huaweicloudsdkocr.v1.model.bank_receipt_result import BankReceiptResult from huaweicloudsdkocr.v1.model.bankcard_request_body import BankcardRequestBody from huaweicloudsdkocr.v1.model.bankcard_result import BankcardResult from huaweicloudsdkocr.v1.model.belong_item_list import BelongItemList @@ -114,6 +118,8 @@ from huaweicloudsdkocr.v1.model.recognize_acceptance_bill_response import RecognizeAcceptanceBillResponse from huaweicloudsdkocr.v1.model.recognize_auto_classification_request import RecognizeAutoClassificationRequest from huaweicloudsdkocr.v1.model.recognize_auto_classification_response import RecognizeAutoClassificationResponse +from huaweicloudsdkocr.v1.model.recognize_bank_receipt_request import RecognizeBankReceiptRequest +from huaweicloudsdkocr.v1.model.recognize_bank_receipt_response import RecognizeBankReceiptResponse from huaweicloudsdkocr.v1.model.recognize_bankcard_request import RecognizeBankcardRequest from huaweicloudsdkocr.v1.model.recognize_bankcard_response import RecognizeBankcardResponse from huaweicloudsdkocr.v1.model.recognize_business_card_request import RecognizeBusinessCardRequest @@ -215,6 +221,8 @@ from huaweicloudsdkocr.v1.model.seal_result import SealResult from huaweicloudsdkocr.v1.model.seal_words_block_list import SealWordsBlockList from huaweicloudsdkocr.v1.model.smart_document_recognizer_form_result import SmartDocumentRecognizerFormResult +from huaweicloudsdkocr.v1.model.smart_document_recognizer_formula_block import SmartDocumentRecognizerFormulaBlock +from huaweicloudsdkocr.v1.model.smart_document_recognizer_formula_result import SmartDocumentRecognizerFormulaResult from huaweicloudsdkocr.v1.model.smart_document_recognizer_kv_block import SmartDocumentRecognizerKVBlock from huaweicloudsdkocr.v1.model.smart_document_recognizer_kv_words_block import SmartDocumentRecognizerKVWordsBlock from huaweicloudsdkocr.v1.model.smart_document_recognizer_kv_result import SmartDocumentRecognizerKvResult diff --git a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/bank_receipt_dict.py b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/bank_receipt_dict.py new file mode 100644 index 0000000000..4a1c4593d8 --- /dev/null +++ b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/bank_receipt_dict.py @@ -0,0 +1,173 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class BankReceiptDict: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'kv_pair_count': 'int', + 'bank_receipt_location': 'list[list[int]]', + 'kv_pair_list': 'list[BankReceiptKvPair]' + } + + attribute_map = { + 'kv_pair_count': 'kv_pair_count', + 'bank_receipt_location': 'bank_receipt_location', + 'kv_pair_list': 'kv_pair_list' + } + + def __init__(self, kv_pair_count=None, bank_receipt_location=None, kv_pair_list=None): + """BankReceiptDict + + The model defined in huaweicloud sdk + + :param kv_pair_count: 键值对数量 + :type kv_pair_count: int + :param bank_receipt_location: 银行回单的区域位置信息,列表形式,包含文字区域四个顶点的二维坐标(x,y);坐标原点为图片左上角,x轴沿水平方向,y轴沿竖直方向。 + :type bank_receipt_location: list[list[int]] + :param kv_pair_list: 键值对识别结果列表。 + :type kv_pair_list: list[:class:`huaweicloudsdkocr.v1.BankReceiptKvPair`] + """ + + + + self._kv_pair_count = None + self._bank_receipt_location = None + self._kv_pair_list = None + self.discriminator = None + + if kv_pair_count is not None: + self.kv_pair_count = kv_pair_count + if bank_receipt_location is not None: + self.bank_receipt_location = bank_receipt_location + if kv_pair_list is not None: + self.kv_pair_list = kv_pair_list + + @property + def kv_pair_count(self): + """Gets the kv_pair_count of this BankReceiptDict. + + 键值对数量 + + :return: The kv_pair_count of this BankReceiptDict. + :rtype: int + """ + return self._kv_pair_count + + @kv_pair_count.setter + def kv_pair_count(self, kv_pair_count): + """Sets the kv_pair_count of this BankReceiptDict. + + 键值对数量 + + :param kv_pair_count: The kv_pair_count of this BankReceiptDict. + :type kv_pair_count: int + """ + self._kv_pair_count = kv_pair_count + + @property + def bank_receipt_location(self): + """Gets the bank_receipt_location of this BankReceiptDict. + + 银行回单的区域位置信息,列表形式,包含文字区域四个顶点的二维坐标(x,y);坐标原点为图片左上角,x轴沿水平方向,y轴沿竖直方向。 + + :return: The bank_receipt_location of this BankReceiptDict. + :rtype: list[list[int]] + """ + return self._bank_receipt_location + + @bank_receipt_location.setter + def bank_receipt_location(self, bank_receipt_location): + """Sets the bank_receipt_location of this BankReceiptDict. + + 银行回单的区域位置信息,列表形式,包含文字区域四个顶点的二维坐标(x,y);坐标原点为图片左上角,x轴沿水平方向,y轴沿竖直方向。 + + :param bank_receipt_location: The bank_receipt_location of this BankReceiptDict. + :type bank_receipt_location: list[list[int]] + """ + self._bank_receipt_location = bank_receipt_location + + @property + def kv_pair_list(self): + """Gets the kv_pair_list of this BankReceiptDict. + + 键值对识别结果列表。 + + :return: The kv_pair_list of this BankReceiptDict. + :rtype: list[:class:`huaweicloudsdkocr.v1.BankReceiptKvPair`] + """ + return self._kv_pair_list + + @kv_pair_list.setter + def kv_pair_list(self, kv_pair_list): + """Sets the kv_pair_list of this BankReceiptDict. + + 键值对识别结果列表。 + + :param kv_pair_list: The kv_pair_list of this BankReceiptDict. + :type kv_pair_list: list[:class:`huaweicloudsdkocr.v1.BankReceiptKvPair`] + """ + self._kv_pair_list = kv_pair_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, BankReceiptDict): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/bank_receipt_kv_pair.py b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/bank_receipt_kv_pair.py new file mode 100644 index 0000000000..6c5546566d --- /dev/null +++ b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/bank_receipt_kv_pair.py @@ -0,0 +1,144 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class BankReceiptKvPair: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'key': 'str', + 'value': 'str' + } + + attribute_map = { + 'key': 'key', + 'value': 'value' + } + + def __init__(self, key=None, value=None): + """BankReceiptKvPair + + The model defined in huaweicloud sdk + + :param key: key-value对(键值对)中的key,例如\"币别:人民币\"中的\"币别\"。 + :type key: str + :param value: key-value对(键值对)中的value,例如\"币别:人民币\"中的“人民币” + :type value: str + """ + + + + self._key = None + self._value = None + self.discriminator = None + + if key is not None: + self.key = key + if value is not None: + self.value = value + + @property + def key(self): + """Gets the key of this BankReceiptKvPair. + + key-value对(键值对)中的key,例如\"币别:人民币\"中的\"币别\"。 + + :return: The key of this BankReceiptKvPair. + :rtype: str + """ + return self._key + + @key.setter + def key(self, key): + """Sets the key of this BankReceiptKvPair. + + key-value对(键值对)中的key,例如\"币别:人民币\"中的\"币别\"。 + + :param key: The key of this BankReceiptKvPair. + :type key: str + """ + self._key = key + + @property + def value(self): + """Gets the value of this BankReceiptKvPair. + + key-value对(键值对)中的value,例如\"币别:人民币\"中的“人民币” + + :return: The value of this BankReceiptKvPair. + :rtype: str + """ + return self._value + + @value.setter + def value(self, value): + """Sets the value of this BankReceiptKvPair. + + key-value对(键值对)中的value,例如\"币别:人民币\"中的“人民币” + + :param value: The value of this BankReceiptKvPair. + :type value: str + """ + self._value = value + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, BankReceiptKvPair): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/bank_receipt_request_body.py b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/bank_receipt_request_body.py new file mode 100644 index 0000000000..ffd665381b --- /dev/null +++ b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/bank_receipt_request_body.py @@ -0,0 +1,144 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class BankReceiptRequestBody: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'data': 'str', + 'url': 'str' + } + + attribute_map = { + 'data': 'data', + 'url': 'url' + } + + def __init__(self, data=None, url=None): + """BankReceiptRequestBody + + The model defined in huaweicloud sdk + + :param data: 该参数与url二选一。 图片或PDF格式,base64编码,要求base64编码后大小不超过10M。 图像尺寸不小于15×15像素,最长边不超过8192像素,支持JPG/PNG/BMP/TIFF格式。 PDF以144dpi的分辨率转为图像进行识别,需符合上述图像尺寸规定。若PDF有多页,当前仅对第1页进行识别。 + :type data: str + :param url: 与data二选一 图片的URL路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/api-ocr/ocr_03_0132.html)。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 + :type url: str + """ + + + + self._data = None + self._url = None + self.discriminator = None + + if data is not None: + self.data = data + if url is not None: + self.url = url + + @property + def data(self): + """Gets the data of this BankReceiptRequestBody. + + 该参数与url二选一。 图片或PDF格式,base64编码,要求base64编码后大小不超过10M。 图像尺寸不小于15×15像素,最长边不超过8192像素,支持JPG/PNG/BMP/TIFF格式。 PDF以144dpi的分辨率转为图像进行识别,需符合上述图像尺寸规定。若PDF有多页,当前仅对第1页进行识别。 + + :return: The data of this BankReceiptRequestBody. + :rtype: str + """ + return self._data + + @data.setter + def data(self, data): + """Sets the data of this BankReceiptRequestBody. + + 该参数与url二选一。 图片或PDF格式,base64编码,要求base64编码后大小不超过10M。 图像尺寸不小于15×15像素,最长边不超过8192像素,支持JPG/PNG/BMP/TIFF格式。 PDF以144dpi的分辨率转为图像进行识别,需符合上述图像尺寸规定。若PDF有多页,当前仅对第1页进行识别。 + + :param data: The data of this BankReceiptRequestBody. + :type data: str + """ + self._data = data + + @property + def url(self): + """Gets the url of this BankReceiptRequestBody. + + 与data二选一 图片的URL路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/api-ocr/ocr_03_0132.html)。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 + + :return: The url of this BankReceiptRequestBody. + :rtype: str + """ + return self._url + + @url.setter + def url(self, url): + """Sets the url of this BankReceiptRequestBody. + + 与data二选一 图片的URL路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/api-ocr/ocr_03_0132.html)。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 + + :param url: The url of this BankReceiptRequestBody. + :type url: str + """ + self._url = 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, BankReceiptRequestBody): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/bank_receipt_result.py b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/bank_receipt_result.py new file mode 100644 index 0000000000..4e471f687a --- /dev/null +++ b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/bank_receipt_result.py @@ -0,0 +1,144 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class BankReceiptResult: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'bank_receipt_count': 'int', + 'bank_receipt_list': 'list[BankReceiptDict]' + } + + attribute_map = { + 'bank_receipt_count': 'bank_receipt_count', + 'bank_receipt_list': 'bank_receipt_list' + } + + def __init__(self, bank_receipt_count=None, bank_receipt_list=None): + """BankReceiptResult + + The model defined in huaweicloud sdk + + :param bank_receipt_count: 银行回单数量 + :type bank_receipt_count: int + :param bank_receipt_list: 银行回单键值对提取结果。 + :type bank_receipt_list: list[:class:`huaweicloudsdkocr.v1.BankReceiptDict`] + """ + + + + self._bank_receipt_count = None + self._bank_receipt_list = None + self.discriminator = None + + if bank_receipt_count is not None: + self.bank_receipt_count = bank_receipt_count + if bank_receipt_list is not None: + self.bank_receipt_list = bank_receipt_list + + @property + def bank_receipt_count(self): + """Gets the bank_receipt_count of this BankReceiptResult. + + 银行回单数量 + + :return: The bank_receipt_count of this BankReceiptResult. + :rtype: int + """ + return self._bank_receipt_count + + @bank_receipt_count.setter + def bank_receipt_count(self, bank_receipt_count): + """Sets the bank_receipt_count of this BankReceiptResult. + + 银行回单数量 + + :param bank_receipt_count: The bank_receipt_count of this BankReceiptResult. + :type bank_receipt_count: int + """ + self._bank_receipt_count = bank_receipt_count + + @property + def bank_receipt_list(self): + """Gets the bank_receipt_list of this BankReceiptResult. + + 银行回单键值对提取结果。 + + :return: The bank_receipt_list of this BankReceiptResult. + :rtype: list[:class:`huaweicloudsdkocr.v1.BankReceiptDict`] + """ + return self._bank_receipt_list + + @bank_receipt_list.setter + def bank_receipt_list(self, bank_receipt_list): + """Sets the bank_receipt_list of this BankReceiptResult. + + 银行回单键值对提取结果。 + + :param bank_receipt_list: The bank_receipt_list of this BankReceiptResult. + :type bank_receipt_list: list[:class:`huaweicloudsdkocr.v1.BankReceiptDict`] + """ + self._bank_receipt_list = bank_receipt_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, BankReceiptResult): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/business_license_result.py b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/business_license_result.py index b47c316357..75c23a7c99 100644 --- a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/business_license_result.py +++ b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/business_license_result.py @@ -23,6 +23,7 @@ class BusinessLicenseResult: 'address': 'str', 'legal_representative': 'str', 'registered_capital': 'str', + 'organization_form': 'str', 'found_date': 'str', 'business_term': 'str', 'business_scope': 'str', @@ -37,6 +38,7 @@ class BusinessLicenseResult: 'address': 'address', 'legal_representative': 'legal_representative', 'registered_capital': 'registered_capital', + 'organization_form': 'organization_form', 'found_date': 'found_date', 'business_term': 'business_term', 'business_scope': 'business_scope', @@ -44,24 +46,26 @@ class BusinessLicenseResult: 'confidence': 'confidence' } - def __init__(self, registration_number=None, name=None, type=None, address=None, legal_representative=None, registered_capital=None, found_date=None, business_term=None, business_scope=None, issue_date=None, confidence=None): + def __init__(self, registration_number=None, name=None, type=None, address=None, legal_representative=None, registered_capital=None, organization_form=None, found_date=None, business_term=None, business_scope=None, issue_date=None, confidence=None): """BusinessLicenseResult The model defined in huaweicloud sdk - :param registration_number: - 老版本营业执照对应注册号。 - 新三证合一版本营业执照对应社会保障号。 + :param registration_number: - 老版本营业执照对应注册号。 - 新三证合一版本营业执照对应社会保障号。 :type registration_number: str :param name: 企业名称。 :type name: str - :param type: 公司/企业类型/主体类型。 + :param type: 公司/企业类型/主体类型/类型。 :type type: str - :param address: 住所/营业场所/企业住所。 + :param address: 住所/营业场所/企业住所/主要经营场所/经营场所。 :type address: str - :param legal_representative: 法定代表人/负责人。 + :param legal_representative: 法定代表人/负责人/执行事务合伙人/投资人/经营者。 :type legal_representative: str - :param registered_capital: 注册资本。 + :param registered_capital: 注册资本/出资额。 :type registered_capital: str - :param found_date: 成立日期。 + :param organization_form: 组成形式。 + :type organization_form: str + :param found_date: 成立日期/注册日期。 :type found_date: str :param business_term: 营业期限。 :type business_term: str @@ -81,6 +85,7 @@ def __init__(self, registration_number=None, name=None, type=None, address=None, self._address = None self._legal_representative = None self._registered_capital = None + self._organization_form = None self._found_date = None self._business_term = None self._business_scope = None @@ -100,6 +105,8 @@ def __init__(self, registration_number=None, name=None, type=None, address=None, self.legal_representative = legal_representative if registered_capital is not None: self.registered_capital = registered_capital + if organization_form is not None: + self.organization_form = organization_form if found_date is not None: self.found_date = found_date if business_term is not None: @@ -115,7 +122,7 @@ def __init__(self, registration_number=None, name=None, type=None, address=None, def registration_number(self): """Gets the registration_number of this BusinessLicenseResult. - - 老版本营业执照对应注册号。 - 新三证合一版本营业执照对应社会保障号。 + - 老版本营业执照对应注册号。 - 新三证合一版本营业执照对应社会保障号。 :return: The registration_number of this BusinessLicenseResult. :rtype: str @@ -126,7 +133,7 @@ def registration_number(self): def registration_number(self, registration_number): """Sets the registration_number of this BusinessLicenseResult. - - 老版本营业执照对应注册号。 - 新三证合一版本营业执照对应社会保障号。 + - 老版本营业执照对应注册号。 - 新三证合一版本营业执照对应社会保障号。 :param registration_number: The registration_number of this BusinessLicenseResult. :type registration_number: str @@ -159,7 +166,7 @@ def name(self, name): def type(self): """Gets the type of this BusinessLicenseResult. - 公司/企业类型/主体类型。 + 公司/企业类型/主体类型/类型。 :return: The type of this BusinessLicenseResult. :rtype: str @@ -170,7 +177,7 @@ def type(self): def type(self, type): """Sets the type of this BusinessLicenseResult. - 公司/企业类型/主体类型。 + 公司/企业类型/主体类型/类型。 :param type: The type of this BusinessLicenseResult. :type type: str @@ -181,7 +188,7 @@ def type(self, type): def address(self): """Gets the address of this BusinessLicenseResult. - 住所/营业场所/企业住所。 + 住所/营业场所/企业住所/主要经营场所/经营场所。 :return: The address of this BusinessLicenseResult. :rtype: str @@ -192,7 +199,7 @@ def address(self): def address(self, address): """Sets the address of this BusinessLicenseResult. - 住所/营业场所/企业住所。 + 住所/营业场所/企业住所/主要经营场所/经营场所。 :param address: The address of this BusinessLicenseResult. :type address: str @@ -203,7 +210,7 @@ def address(self, address): def legal_representative(self): """Gets the legal_representative of this BusinessLicenseResult. - 法定代表人/负责人。 + 法定代表人/负责人/执行事务合伙人/投资人/经营者。 :return: The legal_representative of this BusinessLicenseResult. :rtype: str @@ -214,7 +221,7 @@ def legal_representative(self): def legal_representative(self, legal_representative): """Sets the legal_representative of this BusinessLicenseResult. - 法定代表人/负责人。 + 法定代表人/负责人/执行事务合伙人/投资人/经营者。 :param legal_representative: The legal_representative of this BusinessLicenseResult. :type legal_representative: str @@ -225,7 +232,7 @@ def legal_representative(self, legal_representative): def registered_capital(self): """Gets the registered_capital of this BusinessLicenseResult. - 注册资本。 + 注册资本/出资额。 :return: The registered_capital of this BusinessLicenseResult. :rtype: str @@ -236,18 +243,40 @@ def registered_capital(self): def registered_capital(self, registered_capital): """Sets the registered_capital of this BusinessLicenseResult. - 注册资本。 + 注册资本/出资额。 :param registered_capital: The registered_capital of this BusinessLicenseResult. :type registered_capital: str """ self._registered_capital = registered_capital + @property + def organization_form(self): + """Gets the organization_form of this BusinessLicenseResult. + + 组成形式。 + + :return: The organization_form of this BusinessLicenseResult. + :rtype: str + """ + return self._organization_form + + @organization_form.setter + def organization_form(self, organization_form): + """Sets the organization_form of this BusinessLicenseResult. + + 组成形式。 + + :param organization_form: The organization_form of this BusinessLicenseResult. + :type organization_form: str + """ + self._organization_form = organization_form + @property def found_date(self): """Gets the found_date of this BusinessLicenseResult. - 成立日期。 + 成立日期/注册日期。 :return: The found_date of this BusinessLicenseResult. :rtype: str @@ -258,7 +287,7 @@ def found_date(self): def found_date(self, found_date): """Sets the found_date of this BusinessLicenseResult. - 成立日期。 + 成立日期/注册日期。 :param found_date: The found_date of this BusinessLicenseResult. :type found_date: str diff --git a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/household_register_request_body.py b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/household_register_request_body.py index 1e51be8528..49554cf86a 100644 --- a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/household_register_request_body.py +++ b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/household_register_request_body.py @@ -33,7 +33,7 @@ def __init__(self, image=None, url=None): :param image: 与url二选一。 图像数据,base64编码,要求base64编码后大小不超过10MB。图片最小边不小于15px,最长边不超过8192px,支持JPEG、JPG、PNG、BMP、TIFF格式。 :type image: str - :param url: 与image二选一 图片的URL路径,目前仅支持华为云上OBS提供的匿名公开授权访问的URL以及公网URL。 + :param url: 与image二选一 图片的URL路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/api-ocr/ocr_03_0132.html)。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 :type url: str """ @@ -74,7 +74,7 @@ def image(self, image): def url(self): """Gets the url of this HouseholdRegisterRequestBody. - 与image二选一 图片的URL路径,目前仅支持华为云上OBS提供的匿名公开授权访问的URL以及公网URL。 + 与image二选一 图片的URL路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/api-ocr/ocr_03_0132.html)。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 :return: The url of this HouseholdRegisterRequestBody. :rtype: str @@ -85,7 +85,7 @@ def url(self): def url(self, url): """Sets the url of this HouseholdRegisterRequestBody. - 与image二选一 图片的URL路径,目前仅支持华为云上OBS提供的匿名公开授权访问的URL以及公网URL。 + 与image二选一 图片的URL路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/api-ocr/ocr_03_0132.html)。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 :param url: The url of this HouseholdRegisterRequestBody. :type url: str diff --git a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/recognize_bank_receipt_request.py b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/recognize_bank_receipt_request.py new file mode 100644 index 0000000000..2a138f6dcb --- /dev/null +++ b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/recognize_bank_receipt_request.py @@ -0,0 +1,140 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class RecognizeBankReceiptRequest: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the 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', + 'body': 'BankReceiptRequestBody' + } + + attribute_map = { + 'enterprise_project_id': 'Enterprise-Project-Id', + 'body': 'body' + } + + def __init__(self, enterprise_project_id=None, body=None): + """RecognizeBankReceiptRequest + + The model defined in huaweicloud sdk + + :param enterprise_project_id: 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 + :type enterprise_project_id: str + :param body: Body of the RecognizeBankReceiptRequest + :type body: :class:`huaweicloudsdkocr.v1.BankReceiptRequestBody` + """ + + + + self._enterprise_project_id = None + self._body = None + self.discriminator = None + + if enterprise_project_id is not None: + self.enterprise_project_id = enterprise_project_id + if body is not None: + self.body = body + + @property + def enterprise_project_id(self): + """Gets the enterprise_project_id of this RecognizeBankReceiptRequest. + + 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 + + :return: The enterprise_project_id of this RecognizeBankReceiptRequest. + :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 RecognizeBankReceiptRequest. + + 企业项目ID。OCR支持通过企业项目管理(EPS)对不同用户组和用户的资源使用,进行分账。 获取方法:进入“[企业项目管理](https://console.huaweicloud.com/eps/?region=cn-north-4#/projects/list)”页面,单击企业项目名称,在企业项目详情页获取Enterprise-Project-Id(企业项目ID)。 企业项目创建步骤请参见用户指南。 > 说明: 创建企业项目后,在传参时,有以下三类场景。 - 携带正确的ID,正常使用OCR服务,账单归到企业ID对应的企业项目中。 - 携带错误的ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 - 不携带ID,正常使用OCR服务,账单的企业项目会被分类为“未归集”。 + + :param enterprise_project_id: The enterprise_project_id of this RecognizeBankReceiptRequest. + :type enterprise_project_id: str + """ + self._enterprise_project_id = enterprise_project_id + + @property + def body(self): + """Gets the body of this RecognizeBankReceiptRequest. + + :return: The body of this RecognizeBankReceiptRequest. + :rtype: :class:`huaweicloudsdkocr.v1.BankReceiptRequestBody` + """ + return self._body + + @body.setter + def body(self, body): + """Sets the body of this RecognizeBankReceiptRequest. + + :param body: The body of this RecognizeBankReceiptRequest. + :type body: :class:`huaweicloudsdkocr.v1.BankReceiptRequestBody` + """ + 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, RecognizeBankReceiptRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/recognize_bank_receipt_response.py b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/recognize_bank_receipt_response.py new file mode 100644 index 0000000000..a1d4ada8c3 --- /dev/null +++ b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/recognize_bank_receipt_response.py @@ -0,0 +1,112 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.sdk_response import SdkResponse +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class RecognizeBankReceiptResponse(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 = { + 'result': 'BankReceiptResult' + } + + attribute_map = { + 'result': 'result' + } + + def __init__(self, result=None): + """RecognizeBankReceiptResponse + + The model defined in huaweicloud sdk + + :param result: + :type result: :class:`huaweicloudsdkocr.v1.BankReceiptResult` + """ + + super(RecognizeBankReceiptResponse, self).__init__() + + self._result = None + self.discriminator = None + + if result is not None: + self.result = result + + @property + def result(self): + """Gets the result of this RecognizeBankReceiptResponse. + + :return: The result of this RecognizeBankReceiptResponse. + :rtype: :class:`huaweicloudsdkocr.v1.BankReceiptResult` + """ + return self._result + + @result.setter + def result(self, result): + """Sets the result of this RecognizeBankReceiptResponse. + + :param result: The result of this RecognizeBankReceiptResponse. + :type result: :class:`huaweicloudsdkocr.v1.BankReceiptResult` + """ + self._result = result + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, RecognizeBankReceiptResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/smart_document_recognizer_formula_block.py b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/smart_document_recognizer_formula_block.py new file mode 100644 index 0000000000..3c7a335d73 --- /dev/null +++ b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/smart_document_recognizer_formula_block.py @@ -0,0 +1,144 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class SmartDocumentRecognizerFormulaBlock: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'formula': 'str', + 'location': 'list[list[int]]' + } + + attribute_map = { + 'formula': 'formula', + 'location': 'location' + } + + def __init__(self, formula=None, location=None): + """SmartDocumentRecognizerFormulaBlock + + The model defined in huaweicloud sdk + + :param formula: 数学公式识别结果,以latex字符串表示。 + :type formula: str + :param location: 数学公式位置信息,列表形式,分别表示4个顶点的x, y坐标;坐标原点为图片左上角,x轴沿水平方向,y轴沿竖直方向。 + :type location: list[list[int]] + """ + + + + self._formula = None + self._location = None + self.discriminator = None + + if formula is not None: + self.formula = formula + if location is not None: + self.location = location + + @property + def formula(self): + """Gets the formula of this SmartDocumentRecognizerFormulaBlock. + + 数学公式识别结果,以latex字符串表示。 + + :return: The formula of this SmartDocumentRecognizerFormulaBlock. + :rtype: str + """ + return self._formula + + @formula.setter + def formula(self, formula): + """Sets the formula of this SmartDocumentRecognizerFormulaBlock. + + 数学公式识别结果,以latex字符串表示。 + + :param formula: The formula of this SmartDocumentRecognizerFormulaBlock. + :type formula: str + """ + self._formula = formula + + @property + def location(self): + """Gets the location of this SmartDocumentRecognizerFormulaBlock. + + 数学公式位置信息,列表形式,分别表示4个顶点的x, y坐标;坐标原点为图片左上角,x轴沿水平方向,y轴沿竖直方向。 + + :return: The location of this SmartDocumentRecognizerFormulaBlock. + :rtype: list[list[int]] + """ + return self._location + + @location.setter + def location(self, location): + """Sets the location of this SmartDocumentRecognizerFormulaBlock. + + 数学公式位置信息,列表形式,分别表示4个顶点的x, y坐标;坐标原点为图片左上角,x轴沿水平方向,y轴沿竖直方向。 + + :param location: The location of this SmartDocumentRecognizerFormulaBlock. + :type location: list[list[int]] + """ + self._location = location + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + if attr in self.sensitive_list: + result[attr] = "****" + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + import simplejson as json + if six.PY2: + import sys + reload(sys) + sys.setdefaultencoding("utf-8") + return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) + + def __repr__(self): + """For `print`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, SmartDocumentRecognizerFormulaBlock): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/smart_document_recognizer_formula_result.py b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/smart_document_recognizer_formula_result.py new file mode 100644 index 0000000000..09210e7d40 --- /dev/null +++ b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/smart_document_recognizer_formula_result.py @@ -0,0 +1,144 @@ +# coding: utf-8 + +import six + +from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization + + +class SmartDocumentRecognizerFormulaResult: + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + sensitive_list = [] + + openapi_types = { + 'formula_count': 'int', + 'formula_list': 'list[SmartDocumentRecognizerFormulaBlock]' + } + + attribute_map = { + 'formula_count': 'formula_count', + 'formula_list': 'formula_list' + } + + def __init__(self, formula_count=None, formula_list=None): + """SmartDocumentRecognizerFormulaResult + + The model defined in huaweicloud sdk + + :param formula_count: 数学公式数量。 + :type formula_count: int + :param formula_list: 数学公式识别结果列表。 + :type formula_list: list[:class:`huaweicloudsdkocr.v1.SmartDocumentRecognizerFormulaBlock`] + """ + + + + self._formula_count = None + self._formula_list = None + self.discriminator = None + + if formula_count is not None: + self.formula_count = formula_count + if formula_list is not None: + self.formula_list = formula_list + + @property + def formula_count(self): + """Gets the formula_count of this SmartDocumentRecognizerFormulaResult. + + 数学公式数量。 + + :return: The formula_count of this SmartDocumentRecognizerFormulaResult. + :rtype: int + """ + return self._formula_count + + @formula_count.setter + def formula_count(self, formula_count): + """Sets the formula_count of this SmartDocumentRecognizerFormulaResult. + + 数学公式数量。 + + :param formula_count: The formula_count of this SmartDocumentRecognizerFormulaResult. + :type formula_count: int + """ + self._formula_count = formula_count + + @property + def formula_list(self): + """Gets the formula_list of this SmartDocumentRecognizerFormulaResult. + + 数学公式识别结果列表。 + + :return: The formula_list of this SmartDocumentRecognizerFormulaResult. + :rtype: list[:class:`huaweicloudsdkocr.v1.SmartDocumentRecognizerFormulaBlock`] + """ + return self._formula_list + + @formula_list.setter + def formula_list(self, formula_list): + """Sets the formula_list of this SmartDocumentRecognizerFormulaResult. + + 数学公式识别结果列表。 + + :param formula_list: The formula_list of this SmartDocumentRecognizerFormulaResult. + :type formula_list: list[:class:`huaweicloudsdkocr.v1.SmartDocumentRecognizerFormulaBlock`] + """ + self._formula_list = formula_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, SmartDocumentRecognizerFormulaResult): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/smart_document_recognizer_layout_block.py b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/smart_document_recognizer_layout_block.py index aa24ee2dd6..a2adf37927 100644 --- a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/smart_document_recognizer_layout_block.py +++ b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/smart_document_recognizer_layout_block.py @@ -41,7 +41,7 @@ def __init__(self, location=None, type=None, text=None, words_ids=None, table_id :param location: 文字块的区域位置信息,列表形式,包含文字区域四个顶点的二维坐标(x,y);坐标原点为图片左上角,x轴沿水平方向,y轴沿竖直方向。 :type location: list[list[int]] - :param type: 文档区域类别,包含text、table、figure等类别。 + :param type: 文档区域类别,包含text、title、sub_title、image、image_caption、form、table、table_caption、header、footer、page_number、reference、formula、stamp、directory共15个类别。 :type type: str :param text: 文档区域文字内容。对于表格与图像,不返回其中的文字内容。 :type text: str @@ -102,7 +102,7 @@ def location(self, location): def type(self): """Gets the type of this SmartDocumentRecognizerLayoutBlock. - 文档区域类别,包含text、table、figure等类别。 + 文档区域类别,包含text、title、sub_title、image、image_caption、form、table、table_caption、header、footer、page_number、reference、formula、stamp、directory共15个类别。 :return: The type of this SmartDocumentRecognizerLayoutBlock. :rtype: str @@ -113,7 +113,7 @@ def type(self): def type(self, type): """Sets the type of this SmartDocumentRecognizerLayoutBlock. - 文档区域类别,包含text、table、figure等类别。 + 文档区域类别,包含text、title、sub_title、image、image_caption、form、table、table_caption、header、footer、page_number、reference、formula、stamp、directory共15个类别。 :param type: The type of this SmartDocumentRecognizerLayoutBlock. :type type: str diff --git a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/smart_document_recognizer_request_body.py b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/smart_document_recognizer_request_body.py index 8360df0dab..0d3e924a62 100644 --- a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/smart_document_recognizer_request_body.py +++ b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/smart_document_recognizer_request_body.py @@ -24,6 +24,7 @@ class SmartDocumentRecognizerRequestBody: 'layout': 'bool', 'return_excel': 'bool', 'form': 'bool', + 'formula': 'bool', 'kv_map': 'str' } @@ -35,10 +36,11 @@ class SmartDocumentRecognizerRequestBody: 'layout': 'layout', 'return_excel': 'return_excel', 'form': 'form', + 'formula': 'formula', 'kv_map': 'kv_map' } - def __init__(self, data=None, url=None, kv=None, table=None, layout=None, return_excel=None, form=None, kv_map=None): + def __init__(self, data=None, url=None, kv=None, table=None, layout=None, return_excel=None, form=None, formula=None, kv_map=None): """SmartDocumentRecognizerRequestBody The model defined in huaweicloud sdk @@ -57,6 +59,8 @@ def __init__(self, data=None, url=None, kv=None, table=None, layout=None, return :type return_excel: bool :param form: 是否进行有线表单识别。有线表单指关键信息以有线单元格形式进行呈现,例如户口本、机动车发票等。若是,结果会以\"form_result\"这一关键字返回。 :type form: bool + :param formula: 是否进行公式识别,识别结果为latex序列。若是,结果会以“formula_result”这一关键字返回。 当前仅支持文档(例如论文)中的公式识别,不支持公式切片图像。 + :type formula: bool :param kv_map: 需要传入字典的json序列化后字符串,用于对kv_result中的特定key值进行归一化映射。例如,kv_result中包含{\"名称\":\"小明\"}的键值对,若传入{\"名称\":\"姓名\"}的kv_map,则返回结果为{“姓名”:“小明”}。 > 参数传入示例: - \"kv_map\":\"{\\\"名称\\\":\\\"姓名\\\"}\" :type kv_map: str """ @@ -70,6 +74,7 @@ def __init__(self, data=None, url=None, kv=None, table=None, layout=None, return self._layout = None self._return_excel = None self._form = None + self._formula = None self._kv_map = None self.discriminator = None @@ -87,6 +92,8 @@ def __init__(self, data=None, url=None, kv=None, table=None, layout=None, return self.return_excel = return_excel if form is not None: self.form = form + if formula is not None: + self.formula = formula if kv_map is not None: self.kv_map = kv_map @@ -244,6 +251,28 @@ def form(self, form): """ self._form = form + @property + def formula(self): + """Gets the formula of this SmartDocumentRecognizerRequestBody. + + 是否进行公式识别,识别结果为latex序列。若是,结果会以“formula_result”这一关键字返回。 当前仅支持文档(例如论文)中的公式识别,不支持公式切片图像。 + + :return: The formula of this SmartDocumentRecognizerRequestBody. + :rtype: bool + """ + return self._formula + + @formula.setter + def formula(self, formula): + """Sets the formula of this SmartDocumentRecognizerRequestBody. + + 是否进行公式识别,识别结果为latex序列。若是,结果会以“formula_result”这一关键字返回。 当前仅支持文档(例如论文)中的公式识别,不支持公式切片图像。 + + :param formula: The formula of this SmartDocumentRecognizerRequestBody. + :type formula: bool + """ + self._formula = formula + @property def kv_map(self): """Gets the kv_map of this SmartDocumentRecognizerRequestBody. diff --git a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/smart_document_recognizer_result.py b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/smart_document_recognizer_result.py index 8314ccfe0d..1e109b27af 100644 --- a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/smart_document_recognizer_result.py +++ b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/smart_document_recognizer_result.py @@ -21,7 +21,8 @@ class SmartDocumentRecognizerResult: 'kv_result': 'SmartDocumentRecognizerKvResult', 'table_result': 'SmartDocumentRecognizerTableResult', 'layout_result': 'SmartDocumentRecognizerLayoutResult', - 'form_result': 'SmartDocumentRecognizerFormResult' + 'form_result': 'SmartDocumentRecognizerFormResult', + 'formula_result': 'SmartDocumentRecognizerFormulaResult' } attribute_map = { @@ -29,10 +30,11 @@ class SmartDocumentRecognizerResult: 'kv_result': 'kv_result', 'table_result': 'table_result', 'layout_result': 'layout_result', - 'form_result': 'form_result' + 'form_result': 'form_result', + 'formula_result': 'formula_result' } - def __init__(self, ocr_result=None, kv_result=None, table_result=None, layout_result=None, form_result=None): + def __init__(self, ocr_result=None, kv_result=None, table_result=None, layout_result=None, form_result=None, formula_result=None): """SmartDocumentRecognizerResult The model defined in huaweicloud sdk @@ -47,6 +49,8 @@ def __init__(self, ocr_result=None, kv_result=None, table_result=None, layout_re :type layout_result: :class:`huaweicloudsdkocr.v1.SmartDocumentRecognizerLayoutResult` :param form_result: :type form_result: :class:`huaweicloudsdkocr.v1.SmartDocumentRecognizerFormResult` + :param formula_result: + :type formula_result: :class:`huaweicloudsdkocr.v1.SmartDocumentRecognizerFormulaResult` """ @@ -56,6 +60,7 @@ def __init__(self, ocr_result=None, kv_result=None, table_result=None, layout_re self._table_result = None self._layout_result = None self._form_result = None + self._formula_result = None self.discriminator = None self.ocr_result = ocr_result @@ -67,6 +72,8 @@ def __init__(self, ocr_result=None, kv_result=None, table_result=None, layout_re self.layout_result = layout_result if form_result is not None: self.form_result = form_result + if formula_result is not None: + self.formula_result = formula_result @property def ocr_result(self): @@ -158,6 +165,24 @@ def form_result(self, form_result): """ self._form_result = form_result + @property + def formula_result(self): + """Gets the formula_result of this SmartDocumentRecognizerResult. + + :return: The formula_result of this SmartDocumentRecognizerResult. + :rtype: :class:`huaweicloudsdkocr.v1.SmartDocumentRecognizerFormulaResult` + """ + return self._formula_result + + @formula_result.setter + def formula_result(self, formula_result): + """Sets the formula_result of this SmartDocumentRecognizerResult. + + :param formula_result: The formula_result of this SmartDocumentRecognizerResult. + :type formula_result: :class:`huaweicloudsdkocr.v1.SmartDocumentRecognizerFormulaResult` + """ + self._formula_result = formula_result + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/waybill_electronic_request_body.py b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/waybill_electronic_request_body.py index 8fa99c70b0..ca8389ef8c 100644 --- a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/waybill_electronic_request_body.py +++ b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/waybill_electronic_request_body.py @@ -31,7 +31,7 @@ def __init__(self, image=None, url=None): The model defined in huaweicloud sdk - :param image: 与url二选一 图像数据,base64编码,要求base64编码后大小不超过10MB。图片最小边不小于15px,最长边不超过4096px,支持JPEG、JPG、PNG、BMP、TIFF格式。 + :param image: 与url二选一 图像数据,base64编码,要求base64编码后大小不超过10MB。图片最小边不小于15px,最长边不超过8192px,支持JPEG、JPG、PNG、BMP、TIFF格式。 :type image: str :param url: 与image二选一 图片的URL路径,目前支持: - 公网http/https url - OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见[配置OBS访问权限](https://support.huaweicloud.com/api-ocr/ocr_03_0132.html)。 > 说明: - 接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。 - 请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。 - url中不能存在中文字符,若存在,中文需要进行utf8编码。 :type url: str @@ -52,7 +52,7 @@ def __init__(self, image=None, url=None): def image(self): """Gets the image of this WaybillElectronicRequestBody. - 与url二选一 图像数据,base64编码,要求base64编码后大小不超过10MB。图片最小边不小于15px,最长边不超过4096px,支持JPEG、JPG、PNG、BMP、TIFF格式。 + 与url二选一 图像数据,base64编码,要求base64编码后大小不超过10MB。图片最小边不小于15px,最长边不超过8192px,支持JPEG、JPG、PNG、BMP、TIFF格式。 :return: The image of this WaybillElectronicRequestBody. :rtype: str @@ -63,7 +63,7 @@ def image(self): def image(self, image): """Sets the image of this WaybillElectronicRequestBody. - 与url二选一 图像数据,base64编码,要求base64编码后大小不超过10MB。图片最小边不小于15px,最长边不超过4096px,支持JPEG、JPG、PNG、BMP、TIFF格式。 + 与url二选一 图像数据,base64编码,要求base64编码后大小不超过10MB。图片最小边不小于15px,最长边不超过8192px,支持JPEG、JPG、PNG、BMP、TIFF格式。 :param image: The image of this WaybillElectronicRequestBody. :type image: str diff --git a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/ocr_async_client.py b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/ocr_async_client.py index b2698820bc..0f3504f1f8 100644 --- a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/ocr_async_client.py +++ b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/ocr_async_client.py @@ -168,6 +168,73 @@ def _recognize_auto_classification_http_info(self, request): return http_info + def recognize_bank_receipt_async(self, request): + """银行回单识别 + + 支持对银行回单版式进行文字识别及键值对提取,实现高效的自动化结构化返回。 + + Please refer to HUAWEI cloud API Explorer for details. + + + :param request: Request instance for RecognizeBankReceipt + :type request: :class:`huaweicloudsdkocr.v1.RecognizeBankReceiptRequest` + :rtype: :class:`huaweicloudsdkocr.v1.RecognizeBankReceiptResponse` + """ + http_info = self._recognize_bank_receipt_http_info(request) + return self._call_api(**http_info) + + def recognize_bank_receipt_async_invoker(self, request): + http_info = self._recognize_bank_receipt_http_info(request) + return AsyncInvoker(self, http_info) + + def _recognize_bank_receipt_http_info(self, request): + http_info = { + "method": "POST", + "resource_path": "/v2/{project_id}/ocr/bank-receipt", + "request_type": request.__class__.__name__, + "response_type": "RecognizeBankReceiptResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + if 'enterprise_project_id' in local_var_params: + header_params['Enterprise-Project-Id'] = local_var_params['enterprise_project_id'] + + form_params = {} + + body = None + if 'body' in local_var_params: + body = local_var_params['body'] + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = [] + + 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 recognize_bankcard_async(self, request): """银行卡识别 diff --git a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/ocr_client.py b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/ocr_client.py index 91166fe943..004a3a76e1 100644 --- a/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/ocr_client.py +++ b/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/ocr_client.py @@ -168,6 +168,73 @@ def _recognize_auto_classification_http_info(cls, request): return http_info + def recognize_bank_receipt(self, request): + """银行回单识别 + + 支持对银行回单版式进行文字识别及键值对提取,实现高效的自动化结构化返回。 + + Please refer to HUAWEI cloud API Explorer for details. + + :param request: Request instance for RecognizeBankReceipt + :type request: :class:`huaweicloudsdkocr.v1.RecognizeBankReceiptRequest` + :rtype: :class:`huaweicloudsdkocr.v1.RecognizeBankReceiptResponse` + """ + http_info = self._recognize_bank_receipt_http_info(request) + return self._call_api(**http_info) + + def recognize_bank_receipt_invoker(self, request): + http_info = self._recognize_bank_receipt_http_info(request) + return SyncInvoker(self, http_info) + + @classmethod + def _recognize_bank_receipt_http_info(cls, request): + http_info = { + "method": "POST", + "resource_path": "/v2/{project_id}/ocr/bank-receipt", + "request_type": request.__class__.__name__, + "response_type": "RecognizeBankReceiptResponse" + } + + local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} + + cname = None + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + if 'enterprise_project_id' in local_var_params: + header_params['Enterprise-Project-Id'] = local_var_params['enterprise_project_id'] + + form_params = {} + + body = None + if 'body' in local_var_params: + body = local_var_params['body'] + if isinstance(request, SdkStreamRequest): + body = request.get_file_stream() + + response_headers = [] + + 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 recognize_bankcard(self, request): """银行卡识别 diff --git a/huaweicloud-sdk-ocr/requirements.txt b/huaweicloud-sdk-ocr/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-ocr/requirements.txt +++ b/huaweicloud-sdk-ocr/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-ocr/setup.py b/huaweicloud-sdk-ocr/setup.py index db2f599cb4..5d5d5ec712 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-octopus/requirements.txt b/huaweicloud-sdk-octopus/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-octopus/requirements.txt +++ b/huaweicloud-sdk-octopus/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-octopus/setup.py b/huaweicloud-sdk-octopus/setup.py index 7734552f58..298f494400 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-oms/requirements.txt b/huaweicloud-sdk-oms/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-oms/requirements.txt +++ b/huaweicloud-sdk-oms/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-oms/setup.py b/huaweicloud-sdk-oms/setup.py index 684c12ea8f..d0e2ceccf4 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-optverse/requirements.txt b/huaweicloud-sdk-optverse/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-optverse/requirements.txt +++ b/huaweicloud-sdk-optverse/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-optverse/setup.py b/huaweicloud-sdk-optverse/setup.py index 00ba1b5cd8..cf50170d84 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-organizations/requirements.txt b/huaweicloud-sdk-organizations/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-organizations/requirements.txt +++ b/huaweicloud-sdk-organizations/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-organizations/setup.py b/huaweicloud-sdk-organizations/setup.py index 5af892e6a5..7743ade833 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-orgid/requirements.txt b/huaweicloud-sdk-orgid/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-orgid/requirements.txt +++ b/huaweicloud-sdk-orgid/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-orgid/setup.py b/huaweicloud-sdk-orgid/setup.py index 642e22d93f..4aa74eabd1 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-oroas/requirements.txt b/huaweicloud-sdk-oroas/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-oroas/requirements.txt +++ b/huaweicloud-sdk-oroas/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-oroas/setup.py b/huaweicloud-sdk-oroas/setup.py index 68d0ebbdcd..24ebc57f6c 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-osm/requirements.txt b/huaweicloud-sdk-osm/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-osm/requirements.txt +++ b/huaweicloud-sdk-osm/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-osm/setup.py b/huaweicloud-sdk-osm/setup.py index 3c14eb8e1f..b69a369a35 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-pangulargemodels/requirements.txt b/huaweicloud-sdk-pangulargemodels/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-pangulargemodels/requirements.txt +++ b/huaweicloud-sdk-pangulargemodels/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-pangulargemodels/setup.py b/huaweicloud-sdk-pangulargemodels/setup.py index 3607d3dd8f..6f14470704 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-projectman/requirements.txt b/huaweicloud-sdk-projectman/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-projectman/requirements.txt +++ b/huaweicloud-sdk-projectman/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-projectman/setup.py b/huaweicloud-sdk-projectman/setup.py index f69c08c0c6..9679e653ed 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-rabbitmq/requirements.txt b/huaweicloud-sdk-rabbitmq/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-rabbitmq/requirements.txt +++ b/huaweicloud-sdk-rabbitmq/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-rabbitmq/setup.py b/huaweicloud-sdk-rabbitmq/setup.py index d57a970128..ce35be84f4 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ram/requirements.txt b/huaweicloud-sdk-ram/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-ram/requirements.txt +++ b/huaweicloud-sdk-ram/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-ram/setup.py b/huaweicloud-sdk-ram/setup.py index f1e746f959..7a22796901 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-rds/requirements.txt b/huaweicloud-sdk-rds/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-rds/requirements.txt +++ b/huaweicloud-sdk-rds/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-rds/setup.py b/huaweicloud-sdk-rds/setup.py index 2ddaed440d..9d99b95cee 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-res/requirements.txt b/huaweicloud-sdk-res/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-res/requirements.txt +++ b/huaweicloud-sdk-res/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-res/setup.py b/huaweicloud-sdk-res/setup.py index 64999e638d..e43f25cd93 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-rgc/requirements.txt b/huaweicloud-sdk-rgc/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-rgc/requirements.txt +++ b/huaweicloud-sdk-rgc/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-rgc/setup.py b/huaweicloud-sdk-rgc/setup.py index c66c0d5bd0..8fc3420a2b 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-rms/requirements.txt b/huaweicloud-sdk-rms/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-rms/requirements.txt +++ b/huaweicloud-sdk-rms/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-rms/setup.py b/huaweicloud-sdk-rms/setup.py index c798416cda..319eaaa545 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-rocketmq/requirements.txt b/huaweicloud-sdk-rocketmq/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-rocketmq/requirements.txt +++ b/huaweicloud-sdk-rocketmq/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-rocketmq/setup.py b/huaweicloud-sdk-rocketmq/setup.py index 1b2fc23764..973d9b1769 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-roma/requirements.txt b/huaweicloud-sdk-roma/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-roma/requirements.txt +++ b/huaweicloud-sdk-roma/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-roma/setup.py b/huaweicloud-sdk-roma/setup.py index 7d86f4135e..c2c4cf1e4a 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-sa/requirements.txt b/huaweicloud-sdk-sa/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-sa/requirements.txt +++ b/huaweicloud-sdk-sa/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-sa/setup.py b/huaweicloud-sdk-sa/setup.py index 0fdde936ff..e94181dc31 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-scm/huaweicloudsdkscm/v3/model/apply_certificate_request_body.py b/huaweicloud-sdk-scm/huaweicloudsdkscm/v3/model/apply_certificate_request_body.py index df67e89fd9..534d289c59 100644 --- a/huaweicloud-sdk-scm/huaweicloudsdkscm/v3/model/apply_certificate_request_body.py +++ b/huaweicloud-sdk-scm/huaweicloudsdkscm/v3/model/apply_certificate_request_body.py @@ -81,7 +81,7 @@ def __init__(self, domain=None, sans=None, csr=None, company_name=None, company_ :type company_city: str :param country: OV和EV型证书必填,国家编码,需符合正则\"**[A-Za-z]{2}**\"。 :type country: str - :param applicant_name: 申请人的姓名。字符长度为0~63位。 + :param applicant_name: 申请人的姓名。请输入中文、英文字符,下划线,中划线,英文逗号,英文句点,且长度为4到100字节。 :type applicant_name: str :param applicant_phone: 申请人的电话号码。示例:13212345678 :type applicant_phone: str @@ -341,7 +341,7 @@ def country(self, country): def applicant_name(self): """Gets the applicant_name of this ApplyCertificateRequestBody. - 申请人的姓名。字符长度为0~63位。 + 申请人的姓名。请输入中文、英文字符,下划线,中划线,英文逗号,英文句点,且长度为4到100字节。 :return: The applicant_name of this ApplyCertificateRequestBody. :rtype: str @@ -352,7 +352,7 @@ def applicant_name(self): def applicant_name(self, applicant_name): """Sets the applicant_name of this ApplyCertificateRequestBody. - 申请人的姓名。字符长度为0~63位。 + 申请人的姓名。请输入中文、英文字符,下划线,中划线,英文逗号,英文句点,且长度为4到100字节。 :param applicant_name: The applicant_name of this ApplyCertificateRequestBody. :type applicant_name: str diff --git a/huaweicloud-sdk-scm/huaweicloudsdkscm/v3/model/purchase_certificate_request_body.py b/huaweicloud-sdk-scm/huaweicloudsdkscm/v3/model/purchase_certificate_request_body.py index 1c2fbe37a2..42c8371581 100644 --- a/huaweicloud-sdk-scm/huaweicloudsdkscm/v3/model/purchase_certificate_request_body.py +++ b/huaweicloud-sdk-scm/huaweicloudsdkscm/v3/model/purchase_certificate_request_body.py @@ -53,7 +53,7 @@ def __init__(self, cert_brand=None, cert_type=None, domain_type=None, effective_ The model defined in huaweicloud sdk - :param cert_brand: 证书类型,取值如下: - DV_SSL_CERT - DV_SSL_CERT_BASIC - EV_SSL_CERT - EV_SSL_CERT_PRO - OV_SSL_CERT - OV_SSL_CERT_PRO + :param cert_brand: 证书品牌,取值如下: - GEOTRUST - GLOBALSIGN - SYMANTEC - CFCA - TRUSTASIA - VTRUS :type cert_brand: str :param cert_type: 证书类型,取值如下: - DV_SSL_CERT - DV_SSL_CERT_BASIC - EV_SSL_CERT - EV_SSL_CERT_PRO - OV_SSL_CERT - OV_SSL_CERT_PRO :type cert_type: str @@ -122,7 +122,7 @@ def __init__(self, cert_brand=None, cert_type=None, domain_type=None, effective_ def cert_brand(self): """Gets the cert_brand of this PurchaseCertificateRequestBody. - 证书类型,取值如下: - DV_SSL_CERT - DV_SSL_CERT_BASIC - EV_SSL_CERT - EV_SSL_CERT_PRO - OV_SSL_CERT - OV_SSL_CERT_PRO + 证书品牌,取值如下: - GEOTRUST - GLOBALSIGN - SYMANTEC - CFCA - TRUSTASIA - VTRUS :return: The cert_brand of this PurchaseCertificateRequestBody. :rtype: str @@ -133,7 +133,7 @@ def cert_brand(self): def cert_brand(self, cert_brand): """Sets the cert_brand of this PurchaseCertificateRequestBody. - 证书类型,取值如下: - DV_SSL_CERT - DV_SSL_CERT_BASIC - EV_SSL_CERT - EV_SSL_CERT_PRO - OV_SSL_CERT - OV_SSL_CERT_PRO + 证书品牌,取值如下: - GEOTRUST - GLOBALSIGN - SYMANTEC - CFCA - TRUSTASIA - VTRUS :param cert_brand: The cert_brand of this PurchaseCertificateRequestBody. :type cert_brand: str diff --git a/huaweicloud-sdk-scm/requirements.txt b/huaweicloud-sdk-scm/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-scm/requirements.txt +++ b/huaweicloud-sdk-scm/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-scm/setup.py b/huaweicloud-sdk-scm/setup.py index e2dedbbb14..1a1b3aad11 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-sdrs/requirements.txt b/huaweicloud-sdk-sdrs/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-sdrs/requirements.txt +++ b/huaweicloud-sdk-sdrs/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-sdrs/setup.py b/huaweicloud-sdk-sdrs/setup.py index f92e889cfe..e76b5b6c4f 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-secmaster/requirements.txt b/huaweicloud-sdk-secmaster/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-secmaster/requirements.txt +++ b/huaweicloud-sdk-secmaster/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-secmaster/setup.py b/huaweicloud-sdk-secmaster/setup.py index 47deea0fc5..4d3d9b125f 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-servicestage/requirements.txt b/huaweicloud-sdk-servicestage/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-servicestage/requirements.txt +++ b/huaweicloud-sdk-servicestage/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-servicestage/setup.py b/huaweicloud-sdk-servicestage/setup.py index 0088bb8b05..978e821cc5 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-sfsturbo/requirements.txt b/huaweicloud-sdk-sfsturbo/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-sfsturbo/requirements.txt +++ b/huaweicloud-sdk-sfsturbo/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-sfsturbo/setup.py b/huaweicloud-sdk-sfsturbo/setup.py index 425a171c46..5bfba2326f 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-sis/requirements.txt b/huaweicloud-sdk-sis/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-sis/requirements.txt +++ b/huaweicloud-sdk-sis/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-sis/setup.py b/huaweicloud-sdk-sis/setup.py index 08457dc043..4eee50ce9d 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-smn/requirements.txt b/huaweicloud-sdk-smn/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-smn/requirements.txt +++ b/huaweicloud-sdk-smn/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-smn/setup.py b/huaweicloud-sdk-smn/setup.py index aefa71cce1..8aa91633ba 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-sms/requirements.txt b/huaweicloud-sdk-sms/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-sms/requirements.txt +++ b/huaweicloud-sdk-sms/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-sms/setup.py b/huaweicloud-sdk-sms/setup.py index 5b15a0a659..9d51a783fc 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-sts/huaweicloudsdksts/v1/region/sts_region.py b/huaweicloud-sdk-sts/huaweicloudsdksts/v1/region/sts_region.py index a8b4418a65..df8a1f6852 100644 --- a/huaweicloud-sdk-sts/huaweicloudsdksts/v1/region/sts_region.py +++ b/huaweicloud-sdk-sts/huaweicloudsdksts/v1/region/sts_region.py @@ -12,8 +12,6 @@ class StsRegion: "https://sts.cn-south-1.myhuaweicloud.com") CN_EAST_3 = Region("cn-east-3", "https://sts.cn-east-3.myhuaweicloud.com") - CN_NORTH_9 = Region("cn-north-9", - "https://sts.cn-north-9.myhuaweicloud.com") CN_SOUTHWEST_2 = Region("cn-southwest-2", "https://sts.cn-southwest-2.myhuaweicloud.com") AP_SOUTHEAST_1 = Region("ap-southeast-1", @@ -32,14 +30,11 @@ class StsRegion: "https://sts.ap-southeast-4.myhuaweicloud.com") TR_WEST_1 = Region("tr-west-1", "https://sts.tr-west-1.myhuaweicloud.com") - CN_SOUTH_4 = Region("cn-south-4", - "https://sts.cn-south-4.myhuaweicloud.com") static_fields = { "cn-north-4": CN_NORTH_4, "cn-south-1": CN_SOUTH_1, "cn-east-3": CN_EAST_3, - "cn-north-9": CN_NORTH_9, "cn-southwest-2": CN_SOUTHWEST_2, "ap-southeast-1": AP_SOUTHEAST_1, "ap-southeast-3": AP_SOUTHEAST_3, @@ -49,7 +44,6 @@ class StsRegion: "af-south-1": AF_SOUTH_1, "ap-southeast-4": AP_SOUTHEAST_4, "tr-west-1": TR_WEST_1, - "cn-south-4": CN_SOUTH_4, } @classmethod diff --git a/huaweicloud-sdk-sts/requirements.txt b/huaweicloud-sdk-sts/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-sts/requirements.txt +++ b/huaweicloud-sdk-sts/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-sts/setup.py b/huaweicloud-sdk-sts/setup.py index 0da1f579b4..767e8be06e 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-swr/requirements.txt b/huaweicloud-sdk-swr/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-swr/requirements.txt +++ b/huaweicloud-sdk-swr/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-swr/setup.py b/huaweicloud-sdk-swr/setup.py index 8c74911b46..ee9af1d945 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-tics/requirements.txt b/huaweicloud-sdk-tics/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-tics/requirements.txt +++ b/huaweicloud-sdk-tics/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-tics/setup.py b/huaweicloud-sdk-tics/setup.py index 6d52813fab..555ac535ad 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-tms/requirements.txt b/huaweicloud-sdk-tms/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-tms/requirements.txt +++ b/huaweicloud-sdk-tms/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-tms/setup.py b/huaweicloud-sdk-tms/setup.py index b46863ae21..3c928c3f08 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-ugo/requirements.txt b/huaweicloud-sdk-ugo/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-ugo/requirements.txt +++ b/huaweicloud-sdk-ugo/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-ugo/setup.py b/huaweicloud-sdk-ugo/setup.py index 1500a4c804..92d52461ea 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-vas/requirements.txt b/huaweicloud-sdk-vas/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-vas/requirements.txt +++ b/huaweicloud-sdk-vas/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-vas/setup.py b/huaweicloud-sdk-vas/setup.py index 1c911fda98..f805e45949 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-vcm/requirements.txt b/huaweicloud-sdk-vcm/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-vcm/requirements.txt +++ b/huaweicloud-sdk-vcm/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-vcm/setup.py b/huaweicloud-sdk-vcm/setup.py index 04b7ca5cd1..95914387e4 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-vod/requirements.txt b/huaweicloud-sdk-vod/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-vod/requirements.txt +++ b/huaweicloud-sdk-vod/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-vod/setup.py b/huaweicloud-sdk-vod/setup.py index d7833179e3..df352735ac 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-vpc/huaweicloudsdkvpc/v3/model/firewall_insert_rule_item_option.py b/huaweicloud-sdk-vpc/huaweicloudsdkvpc/v3/model/firewall_insert_rule_item_option.py index 462c6198b2..844c3b38ad 100644 --- a/huaweicloud-sdk-vpc/huaweicloudsdkvpc/v3/model/firewall_insert_rule_item_option.py +++ b/huaweicloud-sdk-vpc/huaweicloudsdkvpc/v3/model/firewall_insert_rule_item_option.py @@ -27,7 +27,8 @@ class FirewallInsertRuleItemOption: 'source_port': 'str', 'destination_port': 'str', 'source_address_group_id': 'str', - 'destination_address_group_id': 'str' + 'destination_address_group_id': 'str', + 'enabled': 'bool' } attribute_map = { @@ -41,10 +42,11 @@ class FirewallInsertRuleItemOption: 'source_port': 'source_port', 'destination_port': 'destination_port', 'source_address_group_id': 'source_address_group_id', - 'destination_address_group_id': 'destination_address_group_id' + 'destination_address_group_id': 'destination_address_group_id', + 'enabled': 'enabled' } - def __init__(self, name=None, description=None, action=None, protocol=None, ip_version=None, source_ip_address=None, destination_ip_address=None, source_port=None, destination_port=None, source_address_group_id=None, destination_address_group_id=None): + def __init__(self, name=None, description=None, action=None, protocol=None, ip_version=None, source_ip_address=None, destination_ip_address=None, source_port=None, destination_port=None, source_address_group_id=None, destination_address_group_id=None, enabled=None): """FirewallInsertRuleItemOption The model defined in huaweicloud sdk @@ -71,6 +73,8 @@ def __init__(self, name=None, description=None, action=None, protocol=None, ip_v :type source_address_group_id: str :param destination_address_group_id: 功能说明:ACL规则的目的地址组ID 约束:destination_ip_address和destination_address_group_id不能同时设置 :type destination_address_group_id: str + :param enabled: 功能说明:是否启用ACL规则。 取值范围:true,表示启用;false,表示停用。 默认值:true。 + :type enabled: bool """ @@ -86,6 +90,7 @@ def __init__(self, name=None, description=None, action=None, protocol=None, ip_v self._destination_port = None self._source_address_group_id = None self._destination_address_group_id = None + self._enabled = None self.discriminator = None if name is not None: @@ -107,6 +112,8 @@ def __init__(self, name=None, description=None, action=None, protocol=None, ip_v self.source_address_group_id = source_address_group_id if destination_address_group_id is not None: self.destination_address_group_id = destination_address_group_id + if enabled is not None: + self.enabled = enabled @property def name(self): @@ -350,6 +357,28 @@ def destination_address_group_id(self, destination_address_group_id): """ self._destination_address_group_id = destination_address_group_id + @property + def enabled(self): + """Gets the enabled of this FirewallInsertRuleItemOption. + + 功能说明:是否启用ACL规则。 取值范围:true,表示启用;false,表示停用。 默认值:true。 + + :return: The enabled of this FirewallInsertRuleItemOption. + :rtype: bool + """ + return self._enabled + + @enabled.setter + def enabled(self, enabled): + """Sets the enabled of this FirewallInsertRuleItemOption. + + 功能说明:是否启用ACL规则。 取值范围:true,表示启用;false,表示停用。 默认值:true。 + + :param enabled: The enabled of this FirewallInsertRuleItemOption. + :type enabled: bool + """ + self._enabled = enabled + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-vpc/huaweicloudsdkvpc/v3/model/firewall_rule_detail.py b/huaweicloud-sdk-vpc/huaweicloudsdkvpc/v3/model/firewall_rule_detail.py index 5687b02e73..3f680b4695 100644 --- a/huaweicloud-sdk-vpc/huaweicloudsdkvpc/v3/model/firewall_rule_detail.py +++ b/huaweicloud-sdk-vpc/huaweicloudsdkvpc/v3/model/firewall_rule_detail.py @@ -29,7 +29,8 @@ class FirewallRuleDetail: 'source_port': 'str', 'destination_port': 'str', 'source_address_group_id': 'str', - 'destination_address_group_id': 'str' + 'destination_address_group_id': 'str', + 'enabled': 'bool' } attribute_map = { @@ -45,10 +46,11 @@ class FirewallRuleDetail: 'source_port': 'source_port', 'destination_port': 'destination_port', 'source_address_group_id': 'source_address_group_id', - 'destination_address_group_id': 'destination_address_group_id' + 'destination_address_group_id': 'destination_address_group_id', + 'enabled': 'enabled' } - def __init__(self, id=None, name=None, description=None, action=None, project_id=None, protocol=None, ip_version=None, source_ip_address=None, destination_ip_address=None, source_port=None, destination_port=None, source_address_group_id=None, destination_address_group_id=None): + def __init__(self, id=None, name=None, description=None, action=None, project_id=None, protocol=None, ip_version=None, source_ip_address=None, destination_ip_address=None, source_port=None, destination_port=None, source_address_group_id=None, destination_address_group_id=None, enabled=None): """FirewallRuleDetail The model defined in huaweicloud sdk @@ -79,6 +81,8 @@ def __init__(self, id=None, name=None, description=None, action=None, project_id :type source_address_group_id: str :param destination_address_group_id: 功能说明:ACL规则的目的地址组ID 约束:destination_ip_address和destination_address_group_id不能同时设置 :type destination_address_group_id: str + :param enabled: 功能说明:是否启用ACL规则。 取值范围:true,表示启用;false,表示停用。 默认值:true。 + :type enabled: bool """ @@ -96,6 +100,7 @@ def __init__(self, id=None, name=None, description=None, action=None, project_id self._destination_port = None self._source_address_group_id = None self._destination_address_group_id = None + self._enabled = None self.discriminator = None self.id = id @@ -111,6 +116,7 @@ def __init__(self, id=None, name=None, description=None, action=None, project_id self.destination_port = destination_port self.source_address_group_id = source_address_group_id self.destination_address_group_id = destination_address_group_id + self.enabled = enabled @property def id(self): @@ -398,6 +404,28 @@ def destination_address_group_id(self, destination_address_group_id): """ self._destination_address_group_id = destination_address_group_id + @property + def enabled(self): + """Gets the enabled of this FirewallRuleDetail. + + 功能说明:是否启用ACL规则。 取值范围:true,表示启用;false,表示停用。 默认值:true。 + + :return: The enabled of this FirewallRuleDetail. + :rtype: bool + """ + return self._enabled + + @enabled.setter + def enabled(self, enabled): + """Sets the enabled of this FirewallRuleDetail. + + 功能说明:是否启用ACL规则。 取值范围:true,表示启用;false,表示停用。 默认值:true。 + + :param enabled: The enabled of this FirewallRuleDetail. + :type enabled: bool + """ + self._enabled = enabled + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-vpc/huaweicloudsdkvpc/v3/model/firewall_update_rule_item_option.py b/huaweicloud-sdk-vpc/huaweicloudsdkvpc/v3/model/firewall_update_rule_item_option.py index f0195dead8..bd77d2386a 100644 --- a/huaweicloud-sdk-vpc/huaweicloudsdkvpc/v3/model/firewall_update_rule_item_option.py +++ b/huaweicloud-sdk-vpc/huaweicloudsdkvpc/v3/model/firewall_update_rule_item_option.py @@ -28,7 +28,8 @@ class FirewallUpdateRuleItemOption: 'source_port': 'str', 'destination_port': 'str', 'source_address_group_id': 'str', - 'destination_address_group_id': 'str' + 'destination_address_group_id': 'str', + 'enabled': 'bool' } attribute_map = { @@ -43,10 +44,11 @@ class FirewallUpdateRuleItemOption: 'source_port': 'source_port', 'destination_port': 'destination_port', 'source_address_group_id': 'source_address_group_id', - 'destination_address_group_id': 'destination_address_group_id' + 'destination_address_group_id': 'destination_address_group_id', + 'enabled': 'enabled' } - def __init__(self, id=None, name=None, description=None, action=None, protocol=None, ip_version=None, source_ip_address=None, destination_ip_address=None, source_port=None, destination_port=None, source_address_group_id=None, destination_address_group_id=None): + def __init__(self, id=None, name=None, description=None, action=None, protocol=None, ip_version=None, source_ip_address=None, destination_ip_address=None, source_port=None, destination_port=None, source_address_group_id=None, destination_address_group_id=None, enabled=None): """FirewallUpdateRuleItemOption The model defined in huaweicloud sdk @@ -75,6 +77,8 @@ def __init__(self, id=None, name=None, description=None, action=None, protocol=N :type source_address_group_id: str :param destination_address_group_id: 功能说明:ACL规则的目的地址组ID 约束:destination_ip_address和destination_address_group_id不能同时设置 :type destination_address_group_id: str + :param enabled: 功能说明:是否启用ACL规则。 取值范围:true,表示启用;false,表示停用。 默认值:true。 + :type enabled: bool """ @@ -91,6 +95,7 @@ def __init__(self, id=None, name=None, description=None, action=None, protocol=N self._destination_port = None self._source_address_group_id = None self._destination_address_group_id = None + self._enabled = None self.discriminator = None self.id = id @@ -116,6 +121,8 @@ def __init__(self, id=None, name=None, description=None, action=None, protocol=N self.source_address_group_id = source_address_group_id if destination_address_group_id is not None: self.destination_address_group_id = destination_address_group_id + if enabled is not None: + self.enabled = enabled @property def id(self): @@ -381,6 +388,28 @@ def destination_address_group_id(self, destination_address_group_id): """ self._destination_address_group_id = destination_address_group_id + @property + def enabled(self): + """Gets the enabled of this FirewallUpdateRuleItemOption. + + 功能说明:是否启用ACL规则。 取值范围:true,表示启用;false,表示停用。 默认值:true。 + + :return: The enabled of this FirewallUpdateRuleItemOption. + :rtype: bool + """ + return self._enabled + + @enabled.setter + def enabled(self, enabled): + """Sets the enabled of this FirewallUpdateRuleItemOption. + + 功能说明:是否启用ACL规则。 取值范围:true,表示启用;false,表示停用。 默认值:true。 + + :param enabled: The enabled of this FirewallUpdateRuleItemOption. + :type enabled: bool + """ + self._enabled = enabled + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/huaweicloud-sdk-vpc/requirements.txt b/huaweicloud-sdk-vpc/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-vpc/requirements.txt +++ b/huaweicloud-sdk-vpc/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-vpc/setup.py b/huaweicloud-sdk-vpc/setup.py index 28fa7f72ac..f53acbcf28 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-vpcep/requirements.txt b/huaweicloud-sdk-vpcep/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-vpcep/requirements.txt +++ b/huaweicloud-sdk-vpcep/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-vpcep/setup.py b/huaweicloud-sdk-vpcep/setup.py index 56e3d0e748..d1251d8a55 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-vpn/requirements.txt b/huaweicloud-sdk-vpn/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-vpn/requirements.txt +++ b/huaweicloud-sdk-vpn/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-vpn/setup.py b/huaweicloud-sdk-vpn/setup.py index 3cfeb33570..5025ed8c91 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-waf/huaweicloudsdkwaf/v1/model/create_instance_request_body.py b/huaweicloud-sdk-waf/huaweicloudsdkwaf/v1/model/create_instance_request_body.py index b97c005292..25b7ac63d7 100644 --- a/huaweicloud-sdk-waf/huaweicloudsdkwaf/v1/model/create_instance_request_body.py +++ b/huaweicloud-sdk-waf/huaweicloudsdkwaf/v1/model/create_instance_request_body.py @@ -63,7 +63,7 @@ def __init__(self, chargemode=None, region=None, available_zone=None, arch=None, :type arch: str :param instancename: 独享引擎名称前缀 :type instancename: str - :param specification: 独享引擎版本规格 - waf.instance.enterprise:企业版,对应控制台WI-100规格 - waf.instance.professional:专业版,对应控制台WI-500规格 + :param specification: 独享引擎版本规格 - waf.instance.enterprise:企业版,对应控制台WI-500规格 - waf.instance.professional:专业版,对应控制台WI-100规格 :type specification: str :param cpu_flavor: 独享引擎ECS规格,实例规格。创建资源租户类独享引擎可不填该参数,创建普通资源租户独享引擎必填该参数。普通租户类独享引擎具体支持的规格以waf控制台上支持的规格为准,企业版对应8U16G的ecs规格,专业版对应2U4G的ecs规格。 :type cpu_flavor: str @@ -230,7 +230,7 @@ def instancename(self, instancename): def specification(self): """Gets the specification of this CreateInstanceRequestBody. - 独享引擎版本规格 - waf.instance.enterprise:企业版,对应控制台WI-100规格 - waf.instance.professional:专业版,对应控制台WI-500规格 + 独享引擎版本规格 - waf.instance.enterprise:企业版,对应控制台WI-500规格 - waf.instance.professional:专业版,对应控制台WI-100规格 :return: The specification of this CreateInstanceRequestBody. :rtype: str @@ -241,7 +241,7 @@ def specification(self): def specification(self, specification): """Sets the specification of this CreateInstanceRequestBody. - 独享引擎版本规格 - waf.instance.enterprise:企业版,对应控制台WI-100规格 - waf.instance.professional:专业版,对应控制台WI-500规格 + 独享引擎版本规格 - waf.instance.enterprise:企业版,对应控制台WI-500规格 - waf.instance.professional:专业版,对应控制台WI-100规格 :param specification: The specification of this CreateInstanceRequestBody. :type specification: str diff --git a/huaweicloud-sdk-waf/requirements.txt b/huaweicloud-sdk-waf/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-waf/requirements.txt +++ b/huaweicloud-sdk-waf/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-waf/setup.py b/huaweicloud-sdk-waf/setup.py index 4537639851..610a48fff4 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-workspace/requirements.txt b/huaweicloud-sdk-workspace/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-workspace/requirements.txt +++ b/huaweicloud-sdk-workspace/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-workspace/setup.py b/huaweicloud-sdk-workspace/setup.py index f90fb6dd64..08244388d1 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': { diff --git a/huaweicloud-sdk-workspaceapp/requirements.txt b/huaweicloud-sdk-workspaceapp/requirements.txt index 7d04975426..cfcb0f111b 100644 --- a/huaweicloud-sdk-workspaceapp/requirements.txt +++ b/huaweicloud-sdk-workspaceapp/requirements.txt @@ -1 +1 @@ -huaweicloudsdkcore >= 3.1.92 \ No newline at end of file +huaweicloudsdkcore >= 3.1.93 \ No newline at end of file diff --git a/huaweicloud-sdk-workspaceapp/setup.py b/huaweicloud-sdk-workspaceapp/setup.py index 26ccdc1765..90a94dc09d 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.92" +VERSION = "3.1.93" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" @@ -14,7 +14,7 @@ with open(path.join(this_directory, 'README_PYPI.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() -REQUIRES = ["huaweicloudsdkcore>=3.1.92"] +REQUIRES = ["huaweicloudsdkcore>=3.1.93"] OPTIONS = { 'bdist_wheel': {