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
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
alb
|
|
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 ConvertForwardGroupConfigForModifyRulesInput(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
|
+
'server_group_sticky_session': 'ServerGroupStickySessionForModifyRulesInput',
|
|
37
|
+
'server_group_tuples': 'list[ForwardGroupConfigServerGroupTupleForModifyRulesInput]'
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
attribute_map = {
|
|
41
|
+
'server_group_sticky_session': 'ServerGroupStickySession',
|
|
42
|
+
'server_group_tuples': 'ServerGroupTuples'
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
def __init__(self, server_group_sticky_session=None, server_group_tuples=None, _configuration=None): # noqa: E501
|
|
46
|
+
"""ConvertForwardGroupConfigForModifyRulesInput - a model defined in Swagger""" # noqa: E501
|
|
47
|
+
if _configuration is None:
|
|
48
|
+
_configuration = Configuration()
|
|
49
|
+
self._configuration = _configuration
|
|
50
|
+
|
|
51
|
+
self._server_group_sticky_session = None
|
|
52
|
+
self._server_group_tuples = None
|
|
53
|
+
self.discriminator = None
|
|
54
|
+
|
|
55
|
+
if server_group_sticky_session is not None:
|
|
56
|
+
self.server_group_sticky_session = server_group_sticky_session
|
|
57
|
+
if server_group_tuples is not None:
|
|
58
|
+
self.server_group_tuples = server_group_tuples
|
|
59
|
+
|
|
60
|
+
@property
|
|
61
|
+
def server_group_sticky_session(self):
|
|
62
|
+
"""Gets the server_group_sticky_session of this ConvertForwardGroupConfigForModifyRulesInput. # noqa: E501
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
:return: The server_group_sticky_session of this ConvertForwardGroupConfigForModifyRulesInput. # noqa: E501
|
|
66
|
+
:rtype: ServerGroupStickySessionForModifyRulesInput
|
|
67
|
+
"""
|
|
68
|
+
return self._server_group_sticky_session
|
|
69
|
+
|
|
70
|
+
@server_group_sticky_session.setter
|
|
71
|
+
def server_group_sticky_session(self, server_group_sticky_session):
|
|
72
|
+
"""Sets the server_group_sticky_session of this ConvertForwardGroupConfigForModifyRulesInput.
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
:param server_group_sticky_session: The server_group_sticky_session of this ConvertForwardGroupConfigForModifyRulesInput. # noqa: E501
|
|
76
|
+
:type: ServerGroupStickySessionForModifyRulesInput
|
|
77
|
+
"""
|
|
78
|
+
|
|
79
|
+
self._server_group_sticky_session = server_group_sticky_session
|
|
80
|
+
|
|
81
|
+
@property
|
|
82
|
+
def server_group_tuples(self):
|
|
83
|
+
"""Gets the server_group_tuples of this ConvertForwardGroupConfigForModifyRulesInput. # noqa: E501
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
:return: The server_group_tuples of this ConvertForwardGroupConfigForModifyRulesInput. # noqa: E501
|
|
87
|
+
:rtype: list[ForwardGroupConfigServerGroupTupleForModifyRulesInput]
|
|
88
|
+
"""
|
|
89
|
+
return self._server_group_tuples
|
|
90
|
+
|
|
91
|
+
@server_group_tuples.setter
|
|
92
|
+
def server_group_tuples(self, server_group_tuples):
|
|
93
|
+
"""Sets the server_group_tuples of this ConvertForwardGroupConfigForModifyRulesInput.
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
:param server_group_tuples: The server_group_tuples of this ConvertForwardGroupConfigForModifyRulesInput. # noqa: E501
|
|
97
|
+
:type: list[ForwardGroupConfigServerGroupTupleForModifyRulesInput]
|
|
98
|
+
"""
|
|
99
|
+
|
|
100
|
+
self._server_group_tuples = server_group_tuples
|
|
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(ConvertForwardGroupConfigForModifyRulesInput, 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, ConvertForwardGroupConfigForModifyRulesInput):
|
|
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, ConvertForwardGroupConfigForModifyRulesInput):
|
|
147
|
+
return True
|
|
148
|
+
|
|
149
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
alb
|
|
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 ConvertRedirectConfigForCreateRulesInput(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
|
+
'host': 'str',
|
|
37
|
+
'http_code': 'str',
|
|
38
|
+
'path': 'str',
|
|
39
|
+
'port': 'str',
|
|
40
|
+
'protocol': 'str'
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
attribute_map = {
|
|
44
|
+
'host': 'Host',
|
|
45
|
+
'http_code': 'HttpCode',
|
|
46
|
+
'path': 'Path',
|
|
47
|
+
'port': 'Port',
|
|
48
|
+
'protocol': 'Protocol'
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
def __init__(self, host=None, http_code=None, path=None, port=None, protocol=None, _configuration=None): # noqa: E501
|
|
52
|
+
"""ConvertRedirectConfigForCreateRulesInput - a model defined in Swagger""" # noqa: E501
|
|
53
|
+
if _configuration is None:
|
|
54
|
+
_configuration = Configuration()
|
|
55
|
+
self._configuration = _configuration
|
|
56
|
+
|
|
57
|
+
self._host = None
|
|
58
|
+
self._http_code = None
|
|
59
|
+
self._path = None
|
|
60
|
+
self._port = None
|
|
61
|
+
self._protocol = None
|
|
62
|
+
self.discriminator = None
|
|
63
|
+
|
|
64
|
+
if host is not None:
|
|
65
|
+
self.host = host
|
|
66
|
+
if http_code is not None:
|
|
67
|
+
self.http_code = http_code
|
|
68
|
+
if path is not None:
|
|
69
|
+
self.path = path
|
|
70
|
+
if port is not None:
|
|
71
|
+
self.port = port
|
|
72
|
+
if protocol is not None:
|
|
73
|
+
self.protocol = protocol
|
|
74
|
+
|
|
75
|
+
@property
|
|
76
|
+
def host(self):
|
|
77
|
+
"""Gets the host of this ConvertRedirectConfigForCreateRulesInput. # noqa: E501
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
:return: The host of this ConvertRedirectConfigForCreateRulesInput. # noqa: E501
|
|
81
|
+
:rtype: str
|
|
82
|
+
"""
|
|
83
|
+
return self._host
|
|
84
|
+
|
|
85
|
+
@host.setter
|
|
86
|
+
def host(self, host):
|
|
87
|
+
"""Sets the host of this ConvertRedirectConfigForCreateRulesInput.
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
:param host: The host of this ConvertRedirectConfigForCreateRulesInput. # noqa: E501
|
|
91
|
+
:type: str
|
|
92
|
+
"""
|
|
93
|
+
|
|
94
|
+
self._host = host
|
|
95
|
+
|
|
96
|
+
@property
|
|
97
|
+
def http_code(self):
|
|
98
|
+
"""Gets the http_code of this ConvertRedirectConfigForCreateRulesInput. # noqa: E501
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
:return: The http_code of this ConvertRedirectConfigForCreateRulesInput. # noqa: E501
|
|
102
|
+
:rtype: str
|
|
103
|
+
"""
|
|
104
|
+
return self._http_code
|
|
105
|
+
|
|
106
|
+
@http_code.setter
|
|
107
|
+
def http_code(self, http_code):
|
|
108
|
+
"""Sets the http_code of this ConvertRedirectConfigForCreateRulesInput.
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
:param http_code: The http_code of this ConvertRedirectConfigForCreateRulesInput. # noqa: E501
|
|
112
|
+
:type: str
|
|
113
|
+
"""
|
|
114
|
+
|
|
115
|
+
self._http_code = http_code
|
|
116
|
+
|
|
117
|
+
@property
|
|
118
|
+
def path(self):
|
|
119
|
+
"""Gets the path of this ConvertRedirectConfigForCreateRulesInput. # noqa: E501
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
:return: The path of this ConvertRedirectConfigForCreateRulesInput. # noqa: E501
|
|
123
|
+
:rtype: str
|
|
124
|
+
"""
|
|
125
|
+
return self._path
|
|
126
|
+
|
|
127
|
+
@path.setter
|
|
128
|
+
def path(self, path):
|
|
129
|
+
"""Sets the path of this ConvertRedirectConfigForCreateRulesInput.
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
:param path: The path of this ConvertRedirectConfigForCreateRulesInput. # noqa: E501
|
|
133
|
+
:type: str
|
|
134
|
+
"""
|
|
135
|
+
|
|
136
|
+
self._path = path
|
|
137
|
+
|
|
138
|
+
@property
|
|
139
|
+
def port(self):
|
|
140
|
+
"""Gets the port of this ConvertRedirectConfigForCreateRulesInput. # noqa: E501
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
:return: The port of this ConvertRedirectConfigForCreateRulesInput. # noqa: E501
|
|
144
|
+
:rtype: str
|
|
145
|
+
"""
|
|
146
|
+
return self._port
|
|
147
|
+
|
|
148
|
+
@port.setter
|
|
149
|
+
def port(self, port):
|
|
150
|
+
"""Sets the port of this ConvertRedirectConfigForCreateRulesInput.
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
:param port: The port of this ConvertRedirectConfigForCreateRulesInput. # noqa: E501
|
|
154
|
+
:type: str
|
|
155
|
+
"""
|
|
156
|
+
|
|
157
|
+
self._port = port
|
|
158
|
+
|
|
159
|
+
@property
|
|
160
|
+
def protocol(self):
|
|
161
|
+
"""Gets the protocol of this ConvertRedirectConfigForCreateRulesInput. # noqa: E501
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
:return: The protocol of this ConvertRedirectConfigForCreateRulesInput. # noqa: E501
|
|
165
|
+
:rtype: str
|
|
166
|
+
"""
|
|
167
|
+
return self._protocol
|
|
168
|
+
|
|
169
|
+
@protocol.setter
|
|
170
|
+
def protocol(self, protocol):
|
|
171
|
+
"""Sets the protocol of this ConvertRedirectConfigForCreateRulesInput.
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
:param protocol: The protocol of this ConvertRedirectConfigForCreateRulesInput. # noqa: E501
|
|
175
|
+
:type: str
|
|
176
|
+
"""
|
|
177
|
+
|
|
178
|
+
self._protocol = protocol
|
|
179
|
+
|
|
180
|
+
def to_dict(self):
|
|
181
|
+
"""Returns the model properties as a dict"""
|
|
182
|
+
result = {}
|
|
183
|
+
|
|
184
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
185
|
+
value = getattr(self, attr)
|
|
186
|
+
if isinstance(value, list):
|
|
187
|
+
result[attr] = list(map(
|
|
188
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
189
|
+
value
|
|
190
|
+
))
|
|
191
|
+
elif hasattr(value, "to_dict"):
|
|
192
|
+
result[attr] = value.to_dict()
|
|
193
|
+
elif isinstance(value, dict):
|
|
194
|
+
result[attr] = dict(map(
|
|
195
|
+
lambda item: (item[0], item[1].to_dict())
|
|
196
|
+
if hasattr(item[1], "to_dict") else item,
|
|
197
|
+
value.items()
|
|
198
|
+
))
|
|
199
|
+
else:
|
|
200
|
+
result[attr] = value
|
|
201
|
+
if issubclass(ConvertRedirectConfigForCreateRulesInput, dict):
|
|
202
|
+
for key, value in self.items():
|
|
203
|
+
result[key] = value
|
|
204
|
+
|
|
205
|
+
return result
|
|
206
|
+
|
|
207
|
+
def to_str(self):
|
|
208
|
+
"""Returns the string representation of the model"""
|
|
209
|
+
return pprint.pformat(self.to_dict())
|
|
210
|
+
|
|
211
|
+
def __repr__(self):
|
|
212
|
+
"""For `print` and `pprint`"""
|
|
213
|
+
return self.to_str()
|
|
214
|
+
|
|
215
|
+
def __eq__(self, other):
|
|
216
|
+
"""Returns true if both objects are equal"""
|
|
217
|
+
if not isinstance(other, ConvertRedirectConfigForCreateRulesInput):
|
|
218
|
+
return False
|
|
219
|
+
|
|
220
|
+
return self.to_dict() == other.to_dict()
|
|
221
|
+
|
|
222
|
+
def __ne__(self, other):
|
|
223
|
+
"""Returns true if both objects are not equal"""
|
|
224
|
+
if not isinstance(other, ConvertRedirectConfigForCreateRulesInput):
|
|
225
|
+
return True
|
|
226
|
+
|
|
227
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
alb
|
|
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 ConvertRedirectConfigForDescribeRulesOutput(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
|
+
'host': 'str',
|
|
37
|
+
'http_code': 'str',
|
|
38
|
+
'path': 'str',
|
|
39
|
+
'port': 'str',
|
|
40
|
+
'protocol': 'str'
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
attribute_map = {
|
|
44
|
+
'host': 'Host',
|
|
45
|
+
'http_code': 'HttpCode',
|
|
46
|
+
'path': 'Path',
|
|
47
|
+
'port': 'Port',
|
|
48
|
+
'protocol': 'Protocol'
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
def __init__(self, host=None, http_code=None, path=None, port=None, protocol=None, _configuration=None): # noqa: E501
|
|
52
|
+
"""ConvertRedirectConfigForDescribeRulesOutput - a model defined in Swagger""" # noqa: E501
|
|
53
|
+
if _configuration is None:
|
|
54
|
+
_configuration = Configuration()
|
|
55
|
+
self._configuration = _configuration
|
|
56
|
+
|
|
57
|
+
self._host = None
|
|
58
|
+
self._http_code = None
|
|
59
|
+
self._path = None
|
|
60
|
+
self._port = None
|
|
61
|
+
self._protocol = None
|
|
62
|
+
self.discriminator = None
|
|
63
|
+
|
|
64
|
+
if host is not None:
|
|
65
|
+
self.host = host
|
|
66
|
+
if http_code is not None:
|
|
67
|
+
self.http_code = http_code
|
|
68
|
+
if path is not None:
|
|
69
|
+
self.path = path
|
|
70
|
+
if port is not None:
|
|
71
|
+
self.port = port
|
|
72
|
+
if protocol is not None:
|
|
73
|
+
self.protocol = protocol
|
|
74
|
+
|
|
75
|
+
@property
|
|
76
|
+
def host(self):
|
|
77
|
+
"""Gets the host of this ConvertRedirectConfigForDescribeRulesOutput. # noqa: E501
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
:return: The host of this ConvertRedirectConfigForDescribeRulesOutput. # noqa: E501
|
|
81
|
+
:rtype: str
|
|
82
|
+
"""
|
|
83
|
+
return self._host
|
|
84
|
+
|
|
85
|
+
@host.setter
|
|
86
|
+
def host(self, host):
|
|
87
|
+
"""Sets the host of this ConvertRedirectConfigForDescribeRulesOutput.
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
:param host: The host of this ConvertRedirectConfigForDescribeRulesOutput. # noqa: E501
|
|
91
|
+
:type: str
|
|
92
|
+
"""
|
|
93
|
+
|
|
94
|
+
self._host = host
|
|
95
|
+
|
|
96
|
+
@property
|
|
97
|
+
def http_code(self):
|
|
98
|
+
"""Gets the http_code of this ConvertRedirectConfigForDescribeRulesOutput. # noqa: E501
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
:return: The http_code of this ConvertRedirectConfigForDescribeRulesOutput. # noqa: E501
|
|
102
|
+
:rtype: str
|
|
103
|
+
"""
|
|
104
|
+
return self._http_code
|
|
105
|
+
|
|
106
|
+
@http_code.setter
|
|
107
|
+
def http_code(self, http_code):
|
|
108
|
+
"""Sets the http_code of this ConvertRedirectConfigForDescribeRulesOutput.
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
:param http_code: The http_code of this ConvertRedirectConfigForDescribeRulesOutput. # noqa: E501
|
|
112
|
+
:type: str
|
|
113
|
+
"""
|
|
114
|
+
|
|
115
|
+
self._http_code = http_code
|
|
116
|
+
|
|
117
|
+
@property
|
|
118
|
+
def path(self):
|
|
119
|
+
"""Gets the path of this ConvertRedirectConfigForDescribeRulesOutput. # noqa: E501
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
:return: The path of this ConvertRedirectConfigForDescribeRulesOutput. # noqa: E501
|
|
123
|
+
:rtype: str
|
|
124
|
+
"""
|
|
125
|
+
return self._path
|
|
126
|
+
|
|
127
|
+
@path.setter
|
|
128
|
+
def path(self, path):
|
|
129
|
+
"""Sets the path of this ConvertRedirectConfigForDescribeRulesOutput.
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
:param path: The path of this ConvertRedirectConfigForDescribeRulesOutput. # noqa: E501
|
|
133
|
+
:type: str
|
|
134
|
+
"""
|
|
135
|
+
|
|
136
|
+
self._path = path
|
|
137
|
+
|
|
138
|
+
@property
|
|
139
|
+
def port(self):
|
|
140
|
+
"""Gets the port of this ConvertRedirectConfigForDescribeRulesOutput. # noqa: E501
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
:return: The port of this ConvertRedirectConfigForDescribeRulesOutput. # noqa: E501
|
|
144
|
+
:rtype: str
|
|
145
|
+
"""
|
|
146
|
+
return self._port
|
|
147
|
+
|
|
148
|
+
@port.setter
|
|
149
|
+
def port(self, port):
|
|
150
|
+
"""Sets the port of this ConvertRedirectConfigForDescribeRulesOutput.
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
:param port: The port of this ConvertRedirectConfigForDescribeRulesOutput. # noqa: E501
|
|
154
|
+
:type: str
|
|
155
|
+
"""
|
|
156
|
+
|
|
157
|
+
self._port = port
|
|
158
|
+
|
|
159
|
+
@property
|
|
160
|
+
def protocol(self):
|
|
161
|
+
"""Gets the protocol of this ConvertRedirectConfigForDescribeRulesOutput. # noqa: E501
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
:return: The protocol of this ConvertRedirectConfigForDescribeRulesOutput. # noqa: E501
|
|
165
|
+
:rtype: str
|
|
166
|
+
"""
|
|
167
|
+
return self._protocol
|
|
168
|
+
|
|
169
|
+
@protocol.setter
|
|
170
|
+
def protocol(self, protocol):
|
|
171
|
+
"""Sets the protocol of this ConvertRedirectConfigForDescribeRulesOutput.
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
:param protocol: The protocol of this ConvertRedirectConfigForDescribeRulesOutput. # noqa: E501
|
|
175
|
+
:type: str
|
|
176
|
+
"""
|
|
177
|
+
|
|
178
|
+
self._protocol = protocol
|
|
179
|
+
|
|
180
|
+
def to_dict(self):
|
|
181
|
+
"""Returns the model properties as a dict"""
|
|
182
|
+
result = {}
|
|
183
|
+
|
|
184
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
185
|
+
value = getattr(self, attr)
|
|
186
|
+
if isinstance(value, list):
|
|
187
|
+
result[attr] = list(map(
|
|
188
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
189
|
+
value
|
|
190
|
+
))
|
|
191
|
+
elif hasattr(value, "to_dict"):
|
|
192
|
+
result[attr] = value.to_dict()
|
|
193
|
+
elif isinstance(value, dict):
|
|
194
|
+
result[attr] = dict(map(
|
|
195
|
+
lambda item: (item[0], item[1].to_dict())
|
|
196
|
+
if hasattr(item[1], "to_dict") else item,
|
|
197
|
+
value.items()
|
|
198
|
+
))
|
|
199
|
+
else:
|
|
200
|
+
result[attr] = value
|
|
201
|
+
if issubclass(ConvertRedirectConfigForDescribeRulesOutput, dict):
|
|
202
|
+
for key, value in self.items():
|
|
203
|
+
result[key] = value
|
|
204
|
+
|
|
205
|
+
return result
|
|
206
|
+
|
|
207
|
+
def to_str(self):
|
|
208
|
+
"""Returns the string representation of the model"""
|
|
209
|
+
return pprint.pformat(self.to_dict())
|
|
210
|
+
|
|
211
|
+
def __repr__(self):
|
|
212
|
+
"""For `print` and `pprint`"""
|
|
213
|
+
return self.to_str()
|
|
214
|
+
|
|
215
|
+
def __eq__(self, other):
|
|
216
|
+
"""Returns true if both objects are equal"""
|
|
217
|
+
if not isinstance(other, ConvertRedirectConfigForDescribeRulesOutput):
|
|
218
|
+
return False
|
|
219
|
+
|
|
220
|
+
return self.to_dict() == other.to_dict()
|
|
221
|
+
|
|
222
|
+
def __ne__(self, other):
|
|
223
|
+
"""Returns true if both objects are not equal"""
|
|
224
|
+
if not isinstance(other, ConvertRedirectConfigForDescribeRulesOutput):
|
|
225
|
+
return True
|
|
226
|
+
|
|
227
|
+
return self.to_dict() != other.to_dict()
|