volcengine-python-sdk 4.0.18__py2.py3-none-any.whl → 4.0.20__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of volcengine-python-sdk might be problematic. Click here for more details.
- {volcengine_python_sdk-4.0.18.dist-info → volcengine_python_sdk-4.0.20.dist-info}/METADATA +1 -1
- {volcengine_python_sdk-4.0.18.dist-info → volcengine_python_sdk-4.0.20.dist-info}/RECORD +242 -115
- volcenginesdkalb/__init__.py +41 -0
- volcenginesdkalb/models/__init__.py +41 -0
- volcenginesdkalb/models/clone_load_balancer_request.py +1 -1
- volcenginesdkalb/models/convert_forward_group_config_for_create_rules_input.py +149 -0
- volcenginesdkalb/models/convert_forward_group_config_for_describe_rules_output.py +149 -0
- volcenginesdkalb/models/convert_forward_group_config_for_modify_rules_input.py +149 -0
- volcenginesdkalb/models/convert_redirect_config_for_create_rules_input.py +227 -0
- volcenginesdkalb/models/convert_redirect_config_for_describe_rules_output.py +227 -0
- volcenginesdkalb/models/convert_redirect_config_for_modify_rules_input.py +227 -0
- volcenginesdkalb/models/convert_rewrite_config_for_create_rules_input.py +123 -0
- volcenginesdkalb/models/convert_rewrite_config_for_describe_rules_output.py +123 -0
- volcenginesdkalb/models/convert_rewrite_config_for_modify_rules_input.py +123 -0
- volcenginesdkalb/models/create_listener_request.py +105 -1
- volcenginesdkalb/models/create_load_balancer_request.py +27 -1
- volcenginesdkalb/models/create_server_group_request.py +27 -1
- volcenginesdkalb/models/describe_listener_attributes_response.py +105 -1
- volcenginesdkalb/models/describe_server_group_attributes_response.py +27 -1
- volcenginesdkalb/models/domain_extension_for_create_listener_input.py +29 -3
- volcenginesdkalb/models/domain_extension_for_describe_listener_attributes_output.py +27 -1
- volcenginesdkalb/models/domain_extension_for_describe_listeners_output.py +29 -3
- volcenginesdkalb/models/domain_extension_for_modify_listener_attributes_input.py +29 -3
- volcenginesdkalb/models/fixed_response_config_for_create_rules_input.py +175 -0
- volcenginesdkalb/models/fixed_response_config_for_describe_rules_output.py +175 -0
- volcenginesdkalb/models/fixed_response_config_for_modify_rules_input.py +175 -0
- volcenginesdkalb/models/header_config_for_create_rules_input.py +149 -0
- volcenginesdkalb/models/header_config_for_describe_rules_output.py +149 -0
- volcenginesdkalb/models/header_config_for_modify_rules_input.py +149 -0
- volcenginesdkalb/models/health_check_for_create_server_group_input.py +2 -3
- volcenginesdkalb/models/health_check_for_modify_server_group_attributes_input.py +2 -3
- volcenginesdkalb/models/health_check_templates_tag_for_create_health_check_templates_input.py +2 -3
- volcenginesdkalb/models/host_config_for_create_rules_input.py +123 -0
- volcenginesdkalb/models/host_config_for_describe_rules_output.py +123 -0
- volcenginesdkalb/models/host_config_for_modify_rules_input.py +123 -0
- volcenginesdkalb/models/listener_for_describe_listeners_output.py +105 -1
- volcenginesdkalb/models/method_config_for_create_rules_input.py +123 -0
- volcenginesdkalb/models/method_config_for_describe_rules_output.py +123 -0
- volcenginesdkalb/models/method_config_for_modify_rules_input.py +123 -0
- volcenginesdkalb/models/modify_listener_attributes_request.py +105 -1
- volcenginesdkalb/models/modify_server_group_attributes_request.py +27 -1
- volcenginesdkalb/models/path_config_for_create_rules_input.py +123 -0
- volcenginesdkalb/models/path_config_for_describe_rules_output.py +123 -0
- volcenginesdkalb/models/path_config_for_modify_rules_input.py +123 -0
- volcenginesdkalb/models/query_string_config_for_create_rules_input.py +123 -0
- volcenginesdkalb/models/query_string_config_for_describe_rules_output.py +123 -0
- volcenginesdkalb/models/query_string_config_for_modify_rules_input.py +123 -0
- volcenginesdkalb/models/query_string_config_value_for_create_rules_input.py +149 -0
- volcenginesdkalb/models/query_string_config_value_for_modify_rules_input.py +149 -0
- volcenginesdkalb/models/rule_action_for_describe_rules_output.py +253 -0
- volcenginesdkalb/models/rule_condition_for_describe_rules_output.py +253 -0
- volcenginesdkalb/models/rule_for_create_rules_input.py +85 -1
- volcenginesdkalb/models/rule_for_describe_rules_output.py +79 -1
- volcenginesdkalb/models/rule_for_modify_rules_input.py +85 -1
- volcenginesdkalb/models/rules_rule_action_for_create_rules_input.py +253 -0
- volcenginesdkalb/models/rules_rule_action_for_modify_rules_input.py +253 -0
- volcenginesdkalb/models/rules_rule_condition_for_create_rules_input.py +253 -0
- volcenginesdkalb/models/rules_rule_condition_for_modify_rules_input.py +253 -0
- volcenginesdkalb/models/server_group_for_describe_server_groups_output.py +27 -1
- volcenginesdklivesaas/models/update_activity_menu_api_request.py → volcenginesdkalb/models/server_group_sticky_session_for_create_rules_input.py +39 -40
- volcenginesdkalb/models/server_group_sticky_session_for_describe_rules_output.py +149 -0
- volcenginesdkalb/models/server_group_sticky_session_for_modify_rules_input.py +149 -0
- volcenginesdkalb/models/traffic_limit_config_for_create_rules_input.py +123 -0
- volcenginesdkalb/models/traffic_limit_config_for_describe_rules_output.py +123 -0
- volcenginesdkalb/models/traffic_limit_config_for_modify_rules_input.py +123 -0
- volcenginesdkcore/api_client.py +1 -1
- volcenginesdkcore/configuration.py +1 -1
- volcenginesdkdirectconnect/__init__.py +45 -6
- volcenginesdkdirectconnect/api/directconnect_api.py +2015 -366
- volcenginesdkdirectconnect/models/__init__.py +45 -4
- volcenginesdkdirectconnect/models/allocate_direct_connect_virtual_interface_request.py +560 -0
- volcenginesdkdirectconnect/models/allocate_direct_connect_virtual_interface_response.py +149 -0
- volcenginesdkdirectconnect/models/confirm_direct_connect_virtual_interface_request.py +151 -0
- volcenginesdkdirectconnect/models/confirm_direct_connect_virtual_interface_response.py +123 -0
- volcenginesdkdirectconnect/models/create_direct_connect_gateway_request.py +27 -1
- volcenginesdkdirectconnect/models/create_direct_connect_traffic_qos_policy_request.py +175 -0
- volcenginesdkdirectconnect/models/create_direct_connect_traffic_qos_policy_response.py +149 -0
- volcenginesdkdirectconnect/models/create_direct_connect_traffic_qos_queue_request.py +255 -0
- volcenginesdkdirectconnect/models/create_direct_connect_traffic_qos_queue_response.py +149 -0
- volcenginesdkdirectconnect/models/create_direct_connect_traffic_qos_rule_request.py +496 -0
- volcenginesdkdirectconnect/models/create_direct_connect_traffic_qos_rule_response.py +149 -0
- volcenginesdkdirectconnect/models/create_direct_connect_virtual_interface_request.py +27 -1
- volcenginesdkdirectconnect/models/delete_direct_connect_traffic_qos_policy_request.py +124 -0
- volcenginesdkdirectconnect/models/delete_direct_connect_traffic_qos_policy_response.py +123 -0
- volcenginesdkdirectconnect/models/delete_direct_connect_traffic_qos_queue_request.py +124 -0
- volcenginesdkdirectconnect/models/delete_direct_connect_traffic_qos_queue_response.py +123 -0
- volcenginesdkdirectconnect/models/delete_direct_connect_traffic_qos_rule_request.py +124 -0
- volcenginesdkdirectconnect/models/delete_direct_connect_traffic_qos_rule_response.py +123 -0
- volcenginesdkdirectconnect/models/describe_direct_connect_gateways_request.py +27 -1
- volcenginesdkdirectconnect/models/describe_direct_connect_traffic_qos_policies_request.py +201 -0
- volcenginesdkdirectconnect/models/describe_direct_connect_traffic_qos_policies_response.py +227 -0
- volcenginesdkdirectconnect/models/describe_direct_connect_traffic_qos_queues_request.py +201 -0
- volcenginesdkdirectconnect/models/describe_direct_connect_traffic_qos_queues_response.py +227 -0
- volcenginesdkdirectconnect/models/describe_direct_connect_traffic_qos_rules_request.py +331 -0
- volcenginesdkdirectconnect/models/describe_direct_connect_traffic_qos_rules_response.py +227 -0
- volcenginesdkdirectconnect/models/describe_direct_connect_virtual_interface_attributes_response.py +27 -1
- volcenginesdkdirectconnect/models/direct_connect_traffic_qos_rule_for_describe_direct_connect_traffic_qos_rules_output.py +513 -0
- volcenginesdkdirectconnect/models/list_tags_for_resources_request.py +254 -0
- volcenginesdkdirectconnect/models/list_tags_for_resources_response.py +149 -0
- volcenginesdkdirectconnect/models/models.py +592 -0
- volcenginesdkdirectconnect/models/modify_direct_connect_traffic_qos_policy_attributes_request.py +202 -0
- volcenginesdkdirectconnect/models/modify_direct_connect_traffic_qos_policy_attributes_response.py +123 -0
- volcenginesdkdirectconnect/models/modify_direct_connect_traffic_qos_queue_attributes_request.py +202 -0
- volcenginesdkdirectconnect/models/modify_direct_connect_traffic_qos_queue_attributes_response.py +123 -0
- volcenginesdkdirectconnect/models/modify_direct_connect_traffic_qos_rule_attributes_request.py +151 -0
- volcenginesdkdirectconnect/models/modify_direct_connect_traffic_qos_rule_attributes_response.py +123 -0
- volcenginesdkdirectconnect/models/modify_direct_connect_virtual_interface_attributes_request.py +27 -1
- volcenginesdkdirectconnect/models/resource_tag_for_list_tags_for_resources_output.py +201 -0
- volcenginesdkdirectconnect/models/tag_filter_for_list_tags_for_resources_input.py +149 -0
- volcenginesdkdirectconnect/models/tag_for_allocate_direct_connect_virtual_interface_input.py +149 -0
- volcenginesdkdirectconnect/models/tag_for_tag_resources_input.py +150 -0
- volcenginesdkdirectconnect/models/tag_resources_request.py +176 -0
- volcenginesdkdirectconnect/models/tag_resources_response.py +95 -0
- volcenginesdkdirectconnect/models/untag_resources_request.py +176 -0
- volcenginesdkdirectconnect/models/untag_resources_response.py +95 -0
- volcenginesdkgraph20250815/models/get_table_response.py +29 -29
- volcenginesdklivesaas/__init__.py +0 -3
- volcenginesdklivesaas/api/livesaas_api.py +0 -97
- volcenginesdklivesaas/models/__init__.py +0 -3
- volcenginesdklivesaas/models/task_award_record_list_for_get_task_award_record_statistics_api_output.py +27 -1
- volcenginesdklivesaas20230801/models/award_record_for_list_award_record_statistics_output.py +27 -1
- volcenginesdklivesaas20230801/models/robot_comment_for_list_robot_comments_output.py +1 -1
- volcenginesdkmlplatform20240701/__init__.py +31 -0
- volcenginesdkmlplatform20240701/api/ml_platform20240701_api.py +194 -0
- volcenginesdkmlplatform20240701/models/__init__.py +31 -0
- volcenginesdkmlplatform20240701/models/allocated_compute_resource_for_list_resource_reservation_records_output.py +27 -1
- volcenginesdkmlplatform20240701/models/available_resource_for_list_resource_reservation_plan_available_resources_output.py +149 -0
- volcenginesdkmlplatform20240701/models/compute_resource_for_create_resource_reservation_plan_input.py +27 -1
- volcenginesdkmlplatform20240701/models/compute_resource_for_list_resource_reservation_plan_available_resources_input.py +201 -0
- volcenginesdkmlplatform20240701/models/config_for_create_deployment_input.py +55 -3
- volcenginesdkmlplatform20240701/models/config_for_create_dev_instance_input.py +55 -3
- volcenginesdkmlplatform20240701/models/config_for_create_job_input.py +55 -3
- volcenginesdkmlplatform20240701/models/config_for_get_deployment_output.py +55 -3
- volcenginesdkmlplatform20240701/models/config_for_get_dev_instance_output.py +55 -3
- volcenginesdkmlplatform20240701/models/config_for_get_job_output.py +55 -3
- volcenginesdkmlplatform20240701/models/config_for_list_dev_instances_output.py +55 -3
- volcenginesdkmlplatform20240701/models/config_for_update_deployment_input.py +55 -3
- volcenginesdkmlplatform20240701/models/config_for_update_dev_instance_input.py +55 -3
- volcenginesdkmlplatform20240701/models/create_dev_instance_request.py +87 -4
- volcenginesdkmlplatform20240701/models/create_job_request.py +33 -1
- volcenginesdkmlplatform20240701/models/create_resource_group_request.py +59 -1
- volcenginesdkmlplatform20240701/models/create_resource_queue_request.py +33 -1
- volcenginesdkmlplatform20240701/models/create_resource_reservation_plan_request.py +87 -3
- volcenginesdkmlplatform20240701/models/create_service_request.py +33 -1
- volcenginesdkmlplatform20240701/models/delivered_compute_resource_for_list_resource_reservation_records_output.py +27 -1
- volcenginesdkmlplatform20240701/models/desired_compute_resource_for_get_resource_reservation_plan_output.py +27 -1
- volcenginesdkmlplatform20240701/models/desired_compute_resource_for_list_resource_reservation_plans_output.py +27 -1
- volcenginesdkmlplatform20240701/models/desired_compute_resource_for_list_resource_reservation_records_output.py +27 -1
- volcenginesdkmlplatform20240701/models/get_deployment_response.py +27 -1
- volcenginesdkmlplatform20240701/models/get_dev_instance_response.py +79 -1
- volcenginesdkmlplatform20240701/models/get_job_response.py +27 -1
- volcenginesdkmlplatform20240701/models/get_resource_group_response.py +53 -1
- volcenginesdkmlplatform20240701/models/get_resource_queue_response.py +27 -1
- volcenginesdkmlplatform20240701/models/get_resource_reservation_plan_response.py +81 -3
- volcenginesdkmlplatform20240701/models/get_service_response.py +27 -1
- volcenginesdkmlplatform20240701/models/item_for_list_jobs_output.py +27 -1
- volcenginesdkmlplatform20240701/models/item_for_list_resource_groups_output.py +53 -1
- volcenginesdkmlplatform20240701/models/item_for_list_resource_queues_output.py +27 -1
- volcenginesdkmlplatform20240701/models/item_for_list_resource_reservation_plans_output.py +81 -3
- volcenginesdkmlplatform20240701/models/list_dev_instances_request.py +59 -1
- volcenginesdkmlplatform20240701/models/list_for_list_dev_instances_output.py +79 -1
- volcenginesdkmlplatform20240701/models/list_jobs_request.py +33 -1
- volcenginesdkmlplatform20240701/models/list_resource_claim_options_request.py +27 -1
- volcenginesdkmlplatform20240701/models/list_resource_groups_request.py +33 -1
- volcenginesdkmlplatform20240701/models/list_resource_queues_request.py +33 -1
- volcenginesdkmlplatform20240701/models/list_resource_reservation_plan_available_resources_request.py +243 -0
- volcenginesdkmlplatform20240701/models/list_resource_reservation_plan_available_resources_response.py +123 -0
- volcenginesdkmlplatform20240701/models/list_resource_reservation_plans_request.py +59 -1
- volcenginesdkmlplatform20240701/models/list_services_request.py +33 -1
- volcenginesdkmlplatform20240701/models/nas_ap_for_create_deployment_input.py +149 -0
- volcenginesdkmlplatform20240701/models/nas_ap_for_create_dev_instance_input.py +149 -0
- volcenginesdkmlplatform20240701/models/nas_ap_for_create_job_input.py +149 -0
- volcenginesdkmlplatform20240701/models/nas_ap_for_get_deployment_output.py +149 -0
- volcenginesdkmlplatform20240701/models/nas_ap_for_get_dev_instance_output.py +149 -0
- volcenginesdkmlplatform20240701/models/nas_ap_for_get_job_output.py +149 -0
- volcenginesdkmlplatform20240701/models/nas_ap_for_list_dev_instances_output.py +149 -0
- volcenginesdkmlplatform20240701/models/nas_ap_for_update_deployment_input.py +149 -0
- volcenginesdkmlplatform20240701/models/nas_ap_for_update_dev_instance_input.py +149 -0
- volcenginesdkmlplatform20240701/models/reservation_config_for_create_resource_reservation_plan_input.py +27 -1
- volcenginesdkmlplatform20240701/models/reservation_config_for_get_resource_reservation_plan_output.py +29 -3
- volcenginesdkmlplatform20240701/models/reservation_config_for_list_resource_reservation_plans_output.py +29 -3
- volcenginesdkmlplatform20240701/models/resource_segment_for_get_resource_reservation_plan_output.py +175 -0
- volcenginesdkmlplatform20240701/models/resource_segment_for_list_resource_reservation_plans_output.py +175 -0
- volcenginesdkmlplatform20240701/models/schedule_config_for_create_resource_reservation_plan_input.py +123 -0
- volcenginesdkmlplatform20240701/models/schedule_config_for_get_resource_reservation_plan_output.py +123 -0
- volcenginesdkmlplatform20240701/models/schedule_config_for_list_resource_reservation_plans_output.py +123 -0
- volcenginesdkmlplatform20240701/models/schedule_config_for_update_resource_reservation_plan_input.py +123 -0
- volcenginesdkmlplatform20240701/models/segment_for_list_resource_reservation_plan_available_resources_output.py +175 -0
- volcenginesdklivesaas/models/menu_for_update_activity_menu_api_input.py → volcenginesdkmlplatform20240701/models/sign_jwt_token_request.py +33 -57
- volcenginesdklivesaas/models/update_activity_menu_api_response.py → volcenginesdkmlplatform20240701/models/sign_jwt_token_response.py +23 -23
- volcenginesdkmlplatform20240701/models/update_dev_instance_request.py +53 -1
- volcenginesdkmlplatform20240701/models/update_resource_reservation_plan_request.py +55 -3
- volcenginesdkmlplatform20240701/models/vepfs_ap_for_create_deployment_input.py +149 -0
- volcenginesdkmlplatform20240701/models/vepfs_ap_for_create_dev_instance_input.py +149 -0
- volcenginesdkmlplatform20240701/models/vepfs_ap_for_create_job_input.py +149 -0
- volcenginesdkmlplatform20240701/models/vepfs_ap_for_get_deployment_output.py +149 -0
- volcenginesdkmlplatform20240701/models/vepfs_ap_for_get_dev_instance_output.py +149 -0
- volcenginesdkmlplatform20240701/models/vepfs_ap_for_get_job_output.py +149 -0
- volcenginesdkmlplatform20240701/models/vepfs_ap_for_list_dev_instances_output.py +149 -0
- volcenginesdkmlplatform20240701/models/vepfs_ap_for_update_deployment_input.py +149 -0
- volcenginesdkmlplatform20240701/models/vepfs_ap_for_update_dev_instance_input.py +149 -0
- volcenginesdkvod20250101/__init__.py +18 -0
- volcenginesdkvod20250101/api/vod20250101_api.py +485 -0
- volcenginesdkvod20250101/models/__init__.py +18 -0
- volcenginesdkvod20250101/models/background_audio_for_get_ai_translation_project_output.py +27 -1
- volcenginesdkvod20250101/models/clip_audio_for_generate_ai_translation_utterance_audio_output.py +27 -1
- volcenginesdkvod20250101/models/clip_video_for_generate_ai_translation_utterance_audio_output.py +27 -1
- volcenginesdkvod20250101/models/create_ai_translation_speaker_request.py +205 -0
- volcenginesdkvod20250101/models/create_ai_translation_speaker_response.py +149 -0
- volcenginesdkvod20250101/models/create_ai_translation_speech_request.py +232 -0
- volcenginesdkvod20250101/models/create_ai_translation_speech_response.py +123 -0
- volcenginesdkvod20250101/models/delete_ai_translation_speech_request.py +151 -0
- volcenginesdkvod20250101/models/delete_ai_translation_speech_response.py +95 -0
- volcenginesdkvod20250101/models/erased_subtitle_video_for_get_ai_translation_project_output.py +27 -1
- volcenginesdkvod20250101/models/facial_translation_video_for_get_ai_translation_project_output.py +27 -1
- volcenginesdkvod20250101/models/foreground_audio_for_get_ai_translation_project_output.py +27 -1
- volcenginesdkvod20250101/models/input_subtitle_for_get_ai_translation_project_output.py +253 -0
- volcenginesdkvod20250101/models/input_video_for_get_ai_translation_project_output.py +27 -1
- volcenginesdkvod20250101/models/input_video_for_list_ai_translation_project_output.py +27 -1
- volcenginesdkvod20250101/models/list_ai_translation_speech_request.py +178 -0
- volcenginesdkvod20250101/models/list_ai_translation_speech_response.py +149 -0
- volcenginesdkvod20250101/models/output_subtitle_for_get_ai_translation_project_output.py +253 -0
- volcenginesdkvod20250101/models/output_video_for_get_ai_translation_project_output.py +27 -1
- volcenginesdkvod20250101/models/output_video_for_list_ai_translation_project_output.py +27 -1
- volcenginesdkvod20250101/models/preset_speech_for_list_ai_translation_speech_output.py +253 -0
- volcenginesdkvod20250101/models/preview_video_for_get_ai_translation_project_output.py +27 -1
- volcenginesdkvod20250101/models/preview_video_muted_for_get_ai_translation_project_output.py +27 -1
- volcenginesdkvod20250101/models/project_base_info_for_create_ai_translation_speaker_output.py +149 -0
- volcenginesdkvod20250101/models/project_info_for_get_ai_translation_project_output.py +53 -1
- volcenginesdkvod20250101/models/speaker_for_create_ai_translation_speaker_output.py +227 -0
- volcenginesdkvod20250101/models/speaker_for_get_ai_translation_project_output.py +27 -1
- volcenginesdkvod20250101/models/speaker_for_update_ai_translation_speakers_input.py +29 -3
- volcenginesdkvod20250101/models/speech_for_create_ai_translation_speech_output.py +253 -0
- volcenginesdkvod20250101/models/speech_for_update_ai_translation_speeches_input.py +149 -0
- volcenginesdkvod20250101/models/update_ai_translation_speeches_request.py +150 -0
- volcenginesdkvod20250101/models/update_ai_translation_speeches_response.py +95 -0
- volcenginesdkvod20250101/models/user_speech_for_list_ai_translation_speech_output.py +253 -0
- volcenginesdkvod20250101/models/voice_translation_video_for_get_ai_translation_project_output.py +27 -1
- {volcengine_python_sdk-4.0.18.dist-info → volcengine_python_sdk-4.0.20.dist-info}/LICENSE.txt +0 -0
- {volcengine_python_sdk-4.0.18.dist-info → volcengine_python_sdk-4.0.20.dist-info}/NOTICE.md +0 -0
- {volcengine_python_sdk-4.0.18.dist-info → volcengine_python_sdk-4.0.20.dist-info}/WHEEL +0 -0
- {volcengine_python_sdk-4.0.18.dist-info → volcengine_python_sdk-4.0.20.dist-info}/top_level.txt +0 -0
volcenginesdkdirectconnect/models/modify_direct_connect_traffic_qos_rule_attributes_request.py
ADDED
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
directconnect
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: common-version
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import pprint
|
|
15
|
+
import re # noqa: F401
|
|
16
|
+
|
|
17
|
+
import six
|
|
18
|
+
|
|
19
|
+
from volcenginesdkcore.configuration import Configuration
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class ModifyDirectConnectTrafficQosRuleAttributesRequest(object):
|
|
23
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
24
|
+
|
|
25
|
+
Do not edit the class manually.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
"""
|
|
29
|
+
Attributes:
|
|
30
|
+
swagger_types (dict): The key is attribute name
|
|
31
|
+
and the value is attribute type.
|
|
32
|
+
attribute_map (dict): The key is attribute name
|
|
33
|
+
and the value is json key in definition.
|
|
34
|
+
"""
|
|
35
|
+
swagger_types = {
|
|
36
|
+
'direct_connect_traffic_qos_rule_id': 'str',
|
|
37
|
+
'remarking_dscp': 'int'
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
attribute_map = {
|
|
41
|
+
'direct_connect_traffic_qos_rule_id': 'DirectConnectTrafficQosRuleId',
|
|
42
|
+
'remarking_dscp': 'RemarkingDscp'
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
def __init__(self, direct_connect_traffic_qos_rule_id=None, remarking_dscp=None, _configuration=None): # noqa: E501
|
|
46
|
+
"""ModifyDirectConnectTrafficQosRuleAttributesRequest - a model defined in Swagger""" # noqa: E501
|
|
47
|
+
if _configuration is None:
|
|
48
|
+
_configuration = Configuration()
|
|
49
|
+
self._configuration = _configuration
|
|
50
|
+
|
|
51
|
+
self._direct_connect_traffic_qos_rule_id = None
|
|
52
|
+
self._remarking_dscp = None
|
|
53
|
+
self.discriminator = None
|
|
54
|
+
|
|
55
|
+
self.direct_connect_traffic_qos_rule_id = direct_connect_traffic_qos_rule_id
|
|
56
|
+
self.remarking_dscp = remarking_dscp
|
|
57
|
+
|
|
58
|
+
@property
|
|
59
|
+
def direct_connect_traffic_qos_rule_id(self):
|
|
60
|
+
"""Gets the direct_connect_traffic_qos_rule_id of this ModifyDirectConnectTrafficQosRuleAttributesRequest. # noqa: E501
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
:return: The direct_connect_traffic_qos_rule_id of this ModifyDirectConnectTrafficQosRuleAttributesRequest. # noqa: E501
|
|
64
|
+
:rtype: str
|
|
65
|
+
"""
|
|
66
|
+
return self._direct_connect_traffic_qos_rule_id
|
|
67
|
+
|
|
68
|
+
@direct_connect_traffic_qos_rule_id.setter
|
|
69
|
+
def direct_connect_traffic_qos_rule_id(self, direct_connect_traffic_qos_rule_id):
|
|
70
|
+
"""Sets the direct_connect_traffic_qos_rule_id of this ModifyDirectConnectTrafficQosRuleAttributesRequest.
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
:param direct_connect_traffic_qos_rule_id: The direct_connect_traffic_qos_rule_id of this ModifyDirectConnectTrafficQosRuleAttributesRequest. # noqa: E501
|
|
74
|
+
:type: str
|
|
75
|
+
"""
|
|
76
|
+
if self._configuration.client_side_validation and direct_connect_traffic_qos_rule_id is None:
|
|
77
|
+
raise ValueError("Invalid value for `direct_connect_traffic_qos_rule_id`, must not be `None`") # noqa: E501
|
|
78
|
+
|
|
79
|
+
self._direct_connect_traffic_qos_rule_id = direct_connect_traffic_qos_rule_id
|
|
80
|
+
|
|
81
|
+
@property
|
|
82
|
+
def remarking_dscp(self):
|
|
83
|
+
"""Gets the remarking_dscp of this ModifyDirectConnectTrafficQosRuleAttributesRequest. # noqa: E501
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
:return: The remarking_dscp of this ModifyDirectConnectTrafficQosRuleAttributesRequest. # noqa: E501
|
|
87
|
+
:rtype: int
|
|
88
|
+
"""
|
|
89
|
+
return self._remarking_dscp
|
|
90
|
+
|
|
91
|
+
@remarking_dscp.setter
|
|
92
|
+
def remarking_dscp(self, remarking_dscp):
|
|
93
|
+
"""Sets the remarking_dscp of this ModifyDirectConnectTrafficQosRuleAttributesRequest.
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
:param remarking_dscp: The remarking_dscp of this ModifyDirectConnectTrafficQosRuleAttributesRequest. # noqa: E501
|
|
97
|
+
:type: int
|
|
98
|
+
"""
|
|
99
|
+
if self._configuration.client_side_validation and remarking_dscp is None:
|
|
100
|
+
raise ValueError("Invalid value for `remarking_dscp`, must not be `None`") # noqa: E501
|
|
101
|
+
|
|
102
|
+
self._remarking_dscp = remarking_dscp
|
|
103
|
+
|
|
104
|
+
def to_dict(self):
|
|
105
|
+
"""Returns the model properties as a dict"""
|
|
106
|
+
result = {}
|
|
107
|
+
|
|
108
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
109
|
+
value = getattr(self, attr)
|
|
110
|
+
if isinstance(value, list):
|
|
111
|
+
result[attr] = list(map(
|
|
112
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
113
|
+
value
|
|
114
|
+
))
|
|
115
|
+
elif hasattr(value, "to_dict"):
|
|
116
|
+
result[attr] = value.to_dict()
|
|
117
|
+
elif isinstance(value, dict):
|
|
118
|
+
result[attr] = dict(map(
|
|
119
|
+
lambda item: (item[0], item[1].to_dict())
|
|
120
|
+
if hasattr(item[1], "to_dict") else item,
|
|
121
|
+
value.items()
|
|
122
|
+
))
|
|
123
|
+
else:
|
|
124
|
+
result[attr] = value
|
|
125
|
+
if issubclass(ModifyDirectConnectTrafficQosRuleAttributesRequest, dict):
|
|
126
|
+
for key, value in self.items():
|
|
127
|
+
result[key] = value
|
|
128
|
+
|
|
129
|
+
return result
|
|
130
|
+
|
|
131
|
+
def to_str(self):
|
|
132
|
+
"""Returns the string representation of the model"""
|
|
133
|
+
return pprint.pformat(self.to_dict())
|
|
134
|
+
|
|
135
|
+
def __repr__(self):
|
|
136
|
+
"""For `print` and `pprint`"""
|
|
137
|
+
return self.to_str()
|
|
138
|
+
|
|
139
|
+
def __eq__(self, other):
|
|
140
|
+
"""Returns true if both objects are equal"""
|
|
141
|
+
if not isinstance(other, ModifyDirectConnectTrafficQosRuleAttributesRequest):
|
|
142
|
+
return False
|
|
143
|
+
|
|
144
|
+
return self.to_dict() == other.to_dict()
|
|
145
|
+
|
|
146
|
+
def __ne__(self, other):
|
|
147
|
+
"""Returns true if both objects are not equal"""
|
|
148
|
+
if not isinstance(other, ModifyDirectConnectTrafficQosRuleAttributesRequest):
|
|
149
|
+
return True
|
|
150
|
+
|
|
151
|
+
return self.to_dict() != other.to_dict()
|
volcenginesdkdirectconnect/models/modify_direct_connect_traffic_qos_rule_attributes_response.py
ADDED
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
directconnect
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: common-version
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import pprint
|
|
15
|
+
import re # noqa: F401
|
|
16
|
+
|
|
17
|
+
import six
|
|
18
|
+
|
|
19
|
+
from volcenginesdkcore.configuration import Configuration
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class ModifyDirectConnectTrafficQosRuleAttributesResponse(object):
|
|
23
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
24
|
+
|
|
25
|
+
Do not edit the class manually.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
"""
|
|
29
|
+
Attributes:
|
|
30
|
+
swagger_types (dict): The key is attribute name
|
|
31
|
+
and the value is attribute type.
|
|
32
|
+
attribute_map (dict): The key is attribute name
|
|
33
|
+
and the value is json key in definition.
|
|
34
|
+
"""
|
|
35
|
+
swagger_types = {
|
|
36
|
+
'request_id': 'str'
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
attribute_map = {
|
|
40
|
+
'request_id': 'RequestId'
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
def __init__(self, request_id=None, _configuration=None): # noqa: E501
|
|
44
|
+
"""ModifyDirectConnectTrafficQosRuleAttributesResponse - a model defined in Swagger""" # noqa: E501
|
|
45
|
+
if _configuration is None:
|
|
46
|
+
_configuration = Configuration()
|
|
47
|
+
self._configuration = _configuration
|
|
48
|
+
|
|
49
|
+
self._request_id = None
|
|
50
|
+
self.discriminator = None
|
|
51
|
+
|
|
52
|
+
if request_id is not None:
|
|
53
|
+
self.request_id = request_id
|
|
54
|
+
|
|
55
|
+
@property
|
|
56
|
+
def request_id(self):
|
|
57
|
+
"""Gets the request_id of this ModifyDirectConnectTrafficQosRuleAttributesResponse. # noqa: E501
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
:return: The request_id of this ModifyDirectConnectTrafficQosRuleAttributesResponse. # noqa: E501
|
|
61
|
+
:rtype: str
|
|
62
|
+
"""
|
|
63
|
+
return self._request_id
|
|
64
|
+
|
|
65
|
+
@request_id.setter
|
|
66
|
+
def request_id(self, request_id):
|
|
67
|
+
"""Sets the request_id of this ModifyDirectConnectTrafficQosRuleAttributesResponse.
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
:param request_id: The request_id of this ModifyDirectConnectTrafficQosRuleAttributesResponse. # noqa: E501
|
|
71
|
+
:type: str
|
|
72
|
+
"""
|
|
73
|
+
|
|
74
|
+
self._request_id = request_id
|
|
75
|
+
|
|
76
|
+
def to_dict(self):
|
|
77
|
+
"""Returns the model properties as a dict"""
|
|
78
|
+
result = {}
|
|
79
|
+
|
|
80
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
81
|
+
value = getattr(self, attr)
|
|
82
|
+
if isinstance(value, list):
|
|
83
|
+
result[attr] = list(map(
|
|
84
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
85
|
+
value
|
|
86
|
+
))
|
|
87
|
+
elif hasattr(value, "to_dict"):
|
|
88
|
+
result[attr] = value.to_dict()
|
|
89
|
+
elif isinstance(value, dict):
|
|
90
|
+
result[attr] = dict(map(
|
|
91
|
+
lambda item: (item[0], item[1].to_dict())
|
|
92
|
+
if hasattr(item[1], "to_dict") else item,
|
|
93
|
+
value.items()
|
|
94
|
+
))
|
|
95
|
+
else:
|
|
96
|
+
result[attr] = value
|
|
97
|
+
if issubclass(ModifyDirectConnectTrafficQosRuleAttributesResponse, dict):
|
|
98
|
+
for key, value in self.items():
|
|
99
|
+
result[key] = value
|
|
100
|
+
|
|
101
|
+
return result
|
|
102
|
+
|
|
103
|
+
def to_str(self):
|
|
104
|
+
"""Returns the string representation of the model"""
|
|
105
|
+
return pprint.pformat(self.to_dict())
|
|
106
|
+
|
|
107
|
+
def __repr__(self):
|
|
108
|
+
"""For `print` and `pprint`"""
|
|
109
|
+
return self.to_str()
|
|
110
|
+
|
|
111
|
+
def __eq__(self, other):
|
|
112
|
+
"""Returns true if both objects are equal"""
|
|
113
|
+
if not isinstance(other, ModifyDirectConnectTrafficQosRuleAttributesResponse):
|
|
114
|
+
return False
|
|
115
|
+
|
|
116
|
+
return self.to_dict() == other.to_dict()
|
|
117
|
+
|
|
118
|
+
def __ne__(self, other):
|
|
119
|
+
"""Returns true if both objects are not equal"""
|
|
120
|
+
if not isinstance(other, ModifyDirectConnectTrafficQosRuleAttributesResponse):
|
|
121
|
+
return True
|
|
122
|
+
|
|
123
|
+
return self.to_dict() != other.to_dict()
|
volcenginesdkdirectconnect/models/modify_direct_connect_virtual_interface_attributes_request.py
CHANGED
|
@@ -38,6 +38,7 @@ class ModifyDirectConnectVirtualInterfaceAttributesRequest(object):
|
|
|
38
38
|
'bfd_detect_multiplier': 'int',
|
|
39
39
|
'description': 'str',
|
|
40
40
|
'enable_bfd': 'bool',
|
|
41
|
+
'enable_bfd_echo': 'bool',
|
|
41
42
|
'enable_nqa': 'bool',
|
|
42
43
|
'local_ipv6_ip': 'str',
|
|
43
44
|
'nqa_detect_interval': 'int',
|
|
@@ -53,6 +54,7 @@ class ModifyDirectConnectVirtualInterfaceAttributesRequest(object):
|
|
|
53
54
|
'bfd_detect_multiplier': 'BfdDetectMultiplier',
|
|
54
55
|
'description': 'Description',
|
|
55
56
|
'enable_bfd': 'EnableBfd',
|
|
57
|
+
'enable_bfd_echo': 'EnableBfdEcho',
|
|
56
58
|
'enable_nqa': 'EnableNqa',
|
|
57
59
|
'local_ipv6_ip': 'LocalIpv6Ip',
|
|
58
60
|
'nqa_detect_interval': 'NqaDetectInterval',
|
|
@@ -62,7 +64,7 @@ class ModifyDirectConnectVirtualInterfaceAttributesRequest(object):
|
|
|
62
64
|
'virtual_interface_name': 'VirtualInterfaceName'
|
|
63
65
|
}
|
|
64
66
|
|
|
65
|
-
def __init__(self, bandwidth=None, bfd_detect_interval=None, bfd_detect_multiplier=None, description=None, enable_bfd=None, enable_nqa=None, local_ipv6_ip=None, nqa_detect_interval=None, nqa_detect_multiplier=None, peer_ipv6_ip=None, virtual_interface_id=None, virtual_interface_name=None, _configuration=None): # noqa: E501
|
|
67
|
+
def __init__(self, bandwidth=None, bfd_detect_interval=None, bfd_detect_multiplier=None, description=None, enable_bfd=None, enable_bfd_echo=None, enable_nqa=None, local_ipv6_ip=None, nqa_detect_interval=None, nqa_detect_multiplier=None, peer_ipv6_ip=None, virtual_interface_id=None, virtual_interface_name=None, _configuration=None): # noqa: E501
|
|
66
68
|
"""ModifyDirectConnectVirtualInterfaceAttributesRequest - a model defined in Swagger""" # noqa: E501
|
|
67
69
|
if _configuration is None:
|
|
68
70
|
_configuration = Configuration()
|
|
@@ -73,6 +75,7 @@ class ModifyDirectConnectVirtualInterfaceAttributesRequest(object):
|
|
|
73
75
|
self._bfd_detect_multiplier = None
|
|
74
76
|
self._description = None
|
|
75
77
|
self._enable_bfd = None
|
|
78
|
+
self._enable_bfd_echo = None
|
|
76
79
|
self._enable_nqa = None
|
|
77
80
|
self._local_ipv6_ip = None
|
|
78
81
|
self._nqa_detect_interval = None
|
|
@@ -92,6 +95,8 @@ class ModifyDirectConnectVirtualInterfaceAttributesRequest(object):
|
|
|
92
95
|
self.description = description
|
|
93
96
|
if enable_bfd is not None:
|
|
94
97
|
self.enable_bfd = enable_bfd
|
|
98
|
+
if enable_bfd_echo is not None:
|
|
99
|
+
self.enable_bfd_echo = enable_bfd_echo
|
|
95
100
|
if enable_nqa is not None:
|
|
96
101
|
self.enable_nqa = enable_nqa
|
|
97
102
|
if local_ipv6_ip is not None:
|
|
@@ -229,6 +234,27 @@ class ModifyDirectConnectVirtualInterfaceAttributesRequest(object):
|
|
|
229
234
|
|
|
230
235
|
self._enable_bfd = enable_bfd
|
|
231
236
|
|
|
237
|
+
@property
|
|
238
|
+
def enable_bfd_echo(self):
|
|
239
|
+
"""Gets the enable_bfd_echo of this ModifyDirectConnectVirtualInterfaceAttributesRequest. # noqa: E501
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
:return: The enable_bfd_echo of this ModifyDirectConnectVirtualInterfaceAttributesRequest. # noqa: E501
|
|
243
|
+
:rtype: bool
|
|
244
|
+
"""
|
|
245
|
+
return self._enable_bfd_echo
|
|
246
|
+
|
|
247
|
+
@enable_bfd_echo.setter
|
|
248
|
+
def enable_bfd_echo(self, enable_bfd_echo):
|
|
249
|
+
"""Sets the enable_bfd_echo of this ModifyDirectConnectVirtualInterfaceAttributesRequest.
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
:param enable_bfd_echo: The enable_bfd_echo of this ModifyDirectConnectVirtualInterfaceAttributesRequest. # noqa: E501
|
|
253
|
+
:type: bool
|
|
254
|
+
"""
|
|
255
|
+
|
|
256
|
+
self._enable_bfd_echo = enable_bfd_echo
|
|
257
|
+
|
|
232
258
|
@property
|
|
233
259
|
def enable_nqa(self):
|
|
234
260
|
"""Gets the enable_nqa of this ModifyDirectConnectVirtualInterfaceAttributesRequest. # noqa: E501
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
directconnect
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: common-version
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import pprint
|
|
15
|
+
import re # noqa: F401
|
|
16
|
+
|
|
17
|
+
import six
|
|
18
|
+
|
|
19
|
+
from volcenginesdkcore.configuration import Configuration
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class ResourceTagForListTagsForResourcesOutput(object):
|
|
23
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
24
|
+
|
|
25
|
+
Do not edit the class manually.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
"""
|
|
29
|
+
Attributes:
|
|
30
|
+
swagger_types (dict): The key is attribute name
|
|
31
|
+
and the value is attribute type.
|
|
32
|
+
attribute_map (dict): The key is attribute name
|
|
33
|
+
and the value is json key in definition.
|
|
34
|
+
"""
|
|
35
|
+
swagger_types = {
|
|
36
|
+
'resource_id': 'str',
|
|
37
|
+
'resource_type': 'str',
|
|
38
|
+
'tag_key': 'str',
|
|
39
|
+
'tag_value': 'str'
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
attribute_map = {
|
|
43
|
+
'resource_id': 'ResourceId',
|
|
44
|
+
'resource_type': 'ResourceType',
|
|
45
|
+
'tag_key': 'TagKey',
|
|
46
|
+
'tag_value': 'TagValue'
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
def __init__(self, resource_id=None, resource_type=None, tag_key=None, tag_value=None, _configuration=None): # noqa: E501
|
|
50
|
+
"""ResourceTagForListTagsForResourcesOutput - a model defined in Swagger""" # noqa: E501
|
|
51
|
+
if _configuration is None:
|
|
52
|
+
_configuration = Configuration()
|
|
53
|
+
self._configuration = _configuration
|
|
54
|
+
|
|
55
|
+
self._resource_id = None
|
|
56
|
+
self._resource_type = None
|
|
57
|
+
self._tag_key = None
|
|
58
|
+
self._tag_value = None
|
|
59
|
+
self.discriminator = None
|
|
60
|
+
|
|
61
|
+
if resource_id is not None:
|
|
62
|
+
self.resource_id = resource_id
|
|
63
|
+
if resource_type is not None:
|
|
64
|
+
self.resource_type = resource_type
|
|
65
|
+
if tag_key is not None:
|
|
66
|
+
self.tag_key = tag_key
|
|
67
|
+
if tag_value is not None:
|
|
68
|
+
self.tag_value = tag_value
|
|
69
|
+
|
|
70
|
+
@property
|
|
71
|
+
def resource_id(self):
|
|
72
|
+
"""Gets the resource_id of this ResourceTagForListTagsForResourcesOutput. # noqa: E501
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
:return: The resource_id of this ResourceTagForListTagsForResourcesOutput. # noqa: E501
|
|
76
|
+
:rtype: str
|
|
77
|
+
"""
|
|
78
|
+
return self._resource_id
|
|
79
|
+
|
|
80
|
+
@resource_id.setter
|
|
81
|
+
def resource_id(self, resource_id):
|
|
82
|
+
"""Sets the resource_id of this ResourceTagForListTagsForResourcesOutput.
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
:param resource_id: The resource_id of this ResourceTagForListTagsForResourcesOutput. # noqa: E501
|
|
86
|
+
:type: str
|
|
87
|
+
"""
|
|
88
|
+
|
|
89
|
+
self._resource_id = resource_id
|
|
90
|
+
|
|
91
|
+
@property
|
|
92
|
+
def resource_type(self):
|
|
93
|
+
"""Gets the resource_type of this ResourceTagForListTagsForResourcesOutput. # noqa: E501
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
:return: The resource_type of this ResourceTagForListTagsForResourcesOutput. # noqa: E501
|
|
97
|
+
:rtype: str
|
|
98
|
+
"""
|
|
99
|
+
return self._resource_type
|
|
100
|
+
|
|
101
|
+
@resource_type.setter
|
|
102
|
+
def resource_type(self, resource_type):
|
|
103
|
+
"""Sets the resource_type of this ResourceTagForListTagsForResourcesOutput.
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
:param resource_type: The resource_type of this ResourceTagForListTagsForResourcesOutput. # noqa: E501
|
|
107
|
+
:type: str
|
|
108
|
+
"""
|
|
109
|
+
|
|
110
|
+
self._resource_type = resource_type
|
|
111
|
+
|
|
112
|
+
@property
|
|
113
|
+
def tag_key(self):
|
|
114
|
+
"""Gets the tag_key of this ResourceTagForListTagsForResourcesOutput. # noqa: E501
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
:return: The tag_key of this ResourceTagForListTagsForResourcesOutput. # noqa: E501
|
|
118
|
+
:rtype: str
|
|
119
|
+
"""
|
|
120
|
+
return self._tag_key
|
|
121
|
+
|
|
122
|
+
@tag_key.setter
|
|
123
|
+
def tag_key(self, tag_key):
|
|
124
|
+
"""Sets the tag_key of this ResourceTagForListTagsForResourcesOutput.
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
:param tag_key: The tag_key of this ResourceTagForListTagsForResourcesOutput. # noqa: E501
|
|
128
|
+
:type: str
|
|
129
|
+
"""
|
|
130
|
+
|
|
131
|
+
self._tag_key = tag_key
|
|
132
|
+
|
|
133
|
+
@property
|
|
134
|
+
def tag_value(self):
|
|
135
|
+
"""Gets the tag_value of this ResourceTagForListTagsForResourcesOutput. # noqa: E501
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
:return: The tag_value of this ResourceTagForListTagsForResourcesOutput. # noqa: E501
|
|
139
|
+
:rtype: str
|
|
140
|
+
"""
|
|
141
|
+
return self._tag_value
|
|
142
|
+
|
|
143
|
+
@tag_value.setter
|
|
144
|
+
def tag_value(self, tag_value):
|
|
145
|
+
"""Sets the tag_value of this ResourceTagForListTagsForResourcesOutput.
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
:param tag_value: The tag_value of this ResourceTagForListTagsForResourcesOutput. # noqa: E501
|
|
149
|
+
:type: str
|
|
150
|
+
"""
|
|
151
|
+
|
|
152
|
+
self._tag_value = tag_value
|
|
153
|
+
|
|
154
|
+
def to_dict(self):
|
|
155
|
+
"""Returns the model properties as a dict"""
|
|
156
|
+
result = {}
|
|
157
|
+
|
|
158
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
159
|
+
value = getattr(self, attr)
|
|
160
|
+
if isinstance(value, list):
|
|
161
|
+
result[attr] = list(map(
|
|
162
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
163
|
+
value
|
|
164
|
+
))
|
|
165
|
+
elif hasattr(value, "to_dict"):
|
|
166
|
+
result[attr] = value.to_dict()
|
|
167
|
+
elif isinstance(value, dict):
|
|
168
|
+
result[attr] = dict(map(
|
|
169
|
+
lambda item: (item[0], item[1].to_dict())
|
|
170
|
+
if hasattr(item[1], "to_dict") else item,
|
|
171
|
+
value.items()
|
|
172
|
+
))
|
|
173
|
+
else:
|
|
174
|
+
result[attr] = value
|
|
175
|
+
if issubclass(ResourceTagForListTagsForResourcesOutput, dict):
|
|
176
|
+
for key, value in self.items():
|
|
177
|
+
result[key] = value
|
|
178
|
+
|
|
179
|
+
return result
|
|
180
|
+
|
|
181
|
+
def to_str(self):
|
|
182
|
+
"""Returns the string representation of the model"""
|
|
183
|
+
return pprint.pformat(self.to_dict())
|
|
184
|
+
|
|
185
|
+
def __repr__(self):
|
|
186
|
+
"""For `print` and `pprint`"""
|
|
187
|
+
return self.to_str()
|
|
188
|
+
|
|
189
|
+
def __eq__(self, other):
|
|
190
|
+
"""Returns true if both objects are equal"""
|
|
191
|
+
if not isinstance(other, ResourceTagForListTagsForResourcesOutput):
|
|
192
|
+
return False
|
|
193
|
+
|
|
194
|
+
return self.to_dict() == other.to_dict()
|
|
195
|
+
|
|
196
|
+
def __ne__(self, other):
|
|
197
|
+
"""Returns true if both objects are not equal"""
|
|
198
|
+
if not isinstance(other, ResourceTagForListTagsForResourcesOutput):
|
|
199
|
+
return True
|
|
200
|
+
|
|
201
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
directconnect
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: common-version
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import pprint
|
|
15
|
+
import re # noqa: F401
|
|
16
|
+
|
|
17
|
+
import six
|
|
18
|
+
|
|
19
|
+
from volcenginesdkcore.configuration import Configuration
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class TagFilterForListTagsForResourcesInput(object):
|
|
23
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
24
|
+
|
|
25
|
+
Do not edit the class manually.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
"""
|
|
29
|
+
Attributes:
|
|
30
|
+
swagger_types (dict): The key is attribute name
|
|
31
|
+
and the value is attribute type.
|
|
32
|
+
attribute_map (dict): The key is attribute name
|
|
33
|
+
and the value is json key in definition.
|
|
34
|
+
"""
|
|
35
|
+
swagger_types = {
|
|
36
|
+
'key': 'str',
|
|
37
|
+
'values': 'list[str]'
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
attribute_map = {
|
|
41
|
+
'key': 'Key',
|
|
42
|
+
'values': 'Values'
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
def __init__(self, key=None, values=None, _configuration=None): # noqa: E501
|
|
46
|
+
"""TagFilterForListTagsForResourcesInput - a model defined in Swagger""" # noqa: E501
|
|
47
|
+
if _configuration is None:
|
|
48
|
+
_configuration = Configuration()
|
|
49
|
+
self._configuration = _configuration
|
|
50
|
+
|
|
51
|
+
self._key = None
|
|
52
|
+
self._values = None
|
|
53
|
+
self.discriminator = None
|
|
54
|
+
|
|
55
|
+
if key is not None:
|
|
56
|
+
self.key = key
|
|
57
|
+
if values is not None:
|
|
58
|
+
self.values = values
|
|
59
|
+
|
|
60
|
+
@property
|
|
61
|
+
def key(self):
|
|
62
|
+
"""Gets the key of this TagFilterForListTagsForResourcesInput. # noqa: E501
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
:return: The key of this TagFilterForListTagsForResourcesInput. # noqa: E501
|
|
66
|
+
:rtype: str
|
|
67
|
+
"""
|
|
68
|
+
return self._key
|
|
69
|
+
|
|
70
|
+
@key.setter
|
|
71
|
+
def key(self, key):
|
|
72
|
+
"""Sets the key of this TagFilterForListTagsForResourcesInput.
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
:param key: The key of this TagFilterForListTagsForResourcesInput. # noqa: E501
|
|
76
|
+
:type: str
|
|
77
|
+
"""
|
|
78
|
+
|
|
79
|
+
self._key = key
|
|
80
|
+
|
|
81
|
+
@property
|
|
82
|
+
def values(self):
|
|
83
|
+
"""Gets the values of this TagFilterForListTagsForResourcesInput. # noqa: E501
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
:return: The values of this TagFilterForListTagsForResourcesInput. # noqa: E501
|
|
87
|
+
:rtype: list[str]
|
|
88
|
+
"""
|
|
89
|
+
return self._values
|
|
90
|
+
|
|
91
|
+
@values.setter
|
|
92
|
+
def values(self, values):
|
|
93
|
+
"""Sets the values of this TagFilterForListTagsForResourcesInput.
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
:param values: The values of this TagFilterForListTagsForResourcesInput. # noqa: E501
|
|
97
|
+
:type: list[str]
|
|
98
|
+
"""
|
|
99
|
+
|
|
100
|
+
self._values = values
|
|
101
|
+
|
|
102
|
+
def to_dict(self):
|
|
103
|
+
"""Returns the model properties as a dict"""
|
|
104
|
+
result = {}
|
|
105
|
+
|
|
106
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
107
|
+
value = getattr(self, attr)
|
|
108
|
+
if isinstance(value, list):
|
|
109
|
+
result[attr] = list(map(
|
|
110
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
111
|
+
value
|
|
112
|
+
))
|
|
113
|
+
elif hasattr(value, "to_dict"):
|
|
114
|
+
result[attr] = value.to_dict()
|
|
115
|
+
elif isinstance(value, dict):
|
|
116
|
+
result[attr] = dict(map(
|
|
117
|
+
lambda item: (item[0], item[1].to_dict())
|
|
118
|
+
if hasattr(item[1], "to_dict") else item,
|
|
119
|
+
value.items()
|
|
120
|
+
))
|
|
121
|
+
else:
|
|
122
|
+
result[attr] = value
|
|
123
|
+
if issubclass(TagFilterForListTagsForResourcesInput, dict):
|
|
124
|
+
for key, value in self.items():
|
|
125
|
+
result[key] = value
|
|
126
|
+
|
|
127
|
+
return result
|
|
128
|
+
|
|
129
|
+
def to_str(self):
|
|
130
|
+
"""Returns the string representation of the model"""
|
|
131
|
+
return pprint.pformat(self.to_dict())
|
|
132
|
+
|
|
133
|
+
def __repr__(self):
|
|
134
|
+
"""For `print` and `pprint`"""
|
|
135
|
+
return self.to_str()
|
|
136
|
+
|
|
137
|
+
def __eq__(self, other):
|
|
138
|
+
"""Returns true if both objects are equal"""
|
|
139
|
+
if not isinstance(other, TagFilterForListTagsForResourcesInput):
|
|
140
|
+
return False
|
|
141
|
+
|
|
142
|
+
return self.to_dict() == other.to_dict()
|
|
143
|
+
|
|
144
|
+
def __ne__(self, other):
|
|
145
|
+
"""Returns true if both objects are not equal"""
|
|
146
|
+
if not isinstance(other, TagFilterForListTagsForResourcesInput):
|
|
147
|
+
return True
|
|
148
|
+
|
|
149
|
+
return self.to_dict() != other.to_dict()
|