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,175 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
ml_platform20240701
|
|
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 SegmentForListResourceReservationPlanAvailableResourcesOutput(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
|
+
'availability_zone': 'str',
|
|
37
|
+
'end_time': 'str',
|
|
38
|
+
'start_time': 'str'
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
attribute_map = {
|
|
42
|
+
'availability_zone': 'AvailabilityZone',
|
|
43
|
+
'end_time': 'EndTime',
|
|
44
|
+
'start_time': 'StartTime'
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
def __init__(self, availability_zone=None, end_time=None, start_time=None, _configuration=None): # noqa: E501
|
|
48
|
+
"""SegmentForListResourceReservationPlanAvailableResourcesOutput - a model defined in Swagger""" # noqa: E501
|
|
49
|
+
if _configuration is None:
|
|
50
|
+
_configuration = Configuration()
|
|
51
|
+
self._configuration = _configuration
|
|
52
|
+
|
|
53
|
+
self._availability_zone = None
|
|
54
|
+
self._end_time = None
|
|
55
|
+
self._start_time = None
|
|
56
|
+
self.discriminator = None
|
|
57
|
+
|
|
58
|
+
if availability_zone is not None:
|
|
59
|
+
self.availability_zone = availability_zone
|
|
60
|
+
if end_time is not None:
|
|
61
|
+
self.end_time = end_time
|
|
62
|
+
if start_time is not None:
|
|
63
|
+
self.start_time = start_time
|
|
64
|
+
|
|
65
|
+
@property
|
|
66
|
+
def availability_zone(self):
|
|
67
|
+
"""Gets the availability_zone of this SegmentForListResourceReservationPlanAvailableResourcesOutput. # noqa: E501
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
:return: The availability_zone of this SegmentForListResourceReservationPlanAvailableResourcesOutput. # noqa: E501
|
|
71
|
+
:rtype: str
|
|
72
|
+
"""
|
|
73
|
+
return self._availability_zone
|
|
74
|
+
|
|
75
|
+
@availability_zone.setter
|
|
76
|
+
def availability_zone(self, availability_zone):
|
|
77
|
+
"""Sets the availability_zone of this SegmentForListResourceReservationPlanAvailableResourcesOutput.
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
:param availability_zone: The availability_zone of this SegmentForListResourceReservationPlanAvailableResourcesOutput. # noqa: E501
|
|
81
|
+
:type: str
|
|
82
|
+
"""
|
|
83
|
+
|
|
84
|
+
self._availability_zone = availability_zone
|
|
85
|
+
|
|
86
|
+
@property
|
|
87
|
+
def end_time(self):
|
|
88
|
+
"""Gets the end_time of this SegmentForListResourceReservationPlanAvailableResourcesOutput. # noqa: E501
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
:return: The end_time of this SegmentForListResourceReservationPlanAvailableResourcesOutput. # noqa: E501
|
|
92
|
+
:rtype: str
|
|
93
|
+
"""
|
|
94
|
+
return self._end_time
|
|
95
|
+
|
|
96
|
+
@end_time.setter
|
|
97
|
+
def end_time(self, end_time):
|
|
98
|
+
"""Sets the end_time of this SegmentForListResourceReservationPlanAvailableResourcesOutput.
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
:param end_time: The end_time of this SegmentForListResourceReservationPlanAvailableResourcesOutput. # noqa: E501
|
|
102
|
+
:type: str
|
|
103
|
+
"""
|
|
104
|
+
|
|
105
|
+
self._end_time = end_time
|
|
106
|
+
|
|
107
|
+
@property
|
|
108
|
+
def start_time(self):
|
|
109
|
+
"""Gets the start_time of this SegmentForListResourceReservationPlanAvailableResourcesOutput. # noqa: E501
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
:return: The start_time of this SegmentForListResourceReservationPlanAvailableResourcesOutput. # noqa: E501
|
|
113
|
+
:rtype: str
|
|
114
|
+
"""
|
|
115
|
+
return self._start_time
|
|
116
|
+
|
|
117
|
+
@start_time.setter
|
|
118
|
+
def start_time(self, start_time):
|
|
119
|
+
"""Sets the start_time of this SegmentForListResourceReservationPlanAvailableResourcesOutput.
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
:param start_time: The start_time of this SegmentForListResourceReservationPlanAvailableResourcesOutput. # noqa: E501
|
|
123
|
+
:type: str
|
|
124
|
+
"""
|
|
125
|
+
|
|
126
|
+
self._start_time = start_time
|
|
127
|
+
|
|
128
|
+
def to_dict(self):
|
|
129
|
+
"""Returns the model properties as a dict"""
|
|
130
|
+
result = {}
|
|
131
|
+
|
|
132
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
133
|
+
value = getattr(self, attr)
|
|
134
|
+
if isinstance(value, list):
|
|
135
|
+
result[attr] = list(map(
|
|
136
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
137
|
+
value
|
|
138
|
+
))
|
|
139
|
+
elif hasattr(value, "to_dict"):
|
|
140
|
+
result[attr] = value.to_dict()
|
|
141
|
+
elif isinstance(value, dict):
|
|
142
|
+
result[attr] = dict(map(
|
|
143
|
+
lambda item: (item[0], item[1].to_dict())
|
|
144
|
+
if hasattr(item[1], "to_dict") else item,
|
|
145
|
+
value.items()
|
|
146
|
+
))
|
|
147
|
+
else:
|
|
148
|
+
result[attr] = value
|
|
149
|
+
if issubclass(SegmentForListResourceReservationPlanAvailableResourcesOutput, dict):
|
|
150
|
+
for key, value in self.items():
|
|
151
|
+
result[key] = value
|
|
152
|
+
|
|
153
|
+
return result
|
|
154
|
+
|
|
155
|
+
def to_str(self):
|
|
156
|
+
"""Returns the string representation of the model"""
|
|
157
|
+
return pprint.pformat(self.to_dict())
|
|
158
|
+
|
|
159
|
+
def __repr__(self):
|
|
160
|
+
"""For `print` and `pprint`"""
|
|
161
|
+
return self.to_str()
|
|
162
|
+
|
|
163
|
+
def __eq__(self, other):
|
|
164
|
+
"""Returns true if both objects are equal"""
|
|
165
|
+
if not isinstance(other, SegmentForListResourceReservationPlanAvailableResourcesOutput):
|
|
166
|
+
return False
|
|
167
|
+
|
|
168
|
+
return self.to_dict() == other.to_dict()
|
|
169
|
+
|
|
170
|
+
def __ne__(self, other):
|
|
171
|
+
"""Returns true if both objects are not equal"""
|
|
172
|
+
if not isinstance(other, SegmentForListResourceReservationPlanAvailableResourcesOutput):
|
|
173
|
+
return True
|
|
174
|
+
|
|
175
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
ml_platform20240701
|
|
5
5
|
|
|
6
6
|
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
7
|
|
|
@@ -19,7 +19,7 @@ import six
|
|
|
19
19
|
from volcenginesdkcore.configuration import Configuration
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class SignJwtTokenRequest(object):
|
|
23
23
|
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
24
24
|
|
|
25
25
|
Do not edit the class manually.
|
|
@@ -33,95 +33,71 @@ class MenuForUpdateActivityMenuAPIInput(object):
|
|
|
33
33
|
and the value is json key in definition.
|
|
34
34
|
"""
|
|
35
35
|
swagger_types = {
|
|
36
|
-
'
|
|
37
|
-
'
|
|
38
|
-
'type': 'int'
|
|
36
|
+
'id': 'str',
|
|
37
|
+
'type': 'str'
|
|
39
38
|
}
|
|
40
39
|
|
|
41
40
|
attribute_map = {
|
|
42
|
-
'
|
|
43
|
-
'
|
|
44
|
-
'type': 'Type'
|
|
41
|
+
'id': 'Id',
|
|
42
|
+
'type': 'type'
|
|
45
43
|
}
|
|
46
44
|
|
|
47
|
-
def __init__(self,
|
|
48
|
-
"""
|
|
45
|
+
def __init__(self, id=None, type=None, _configuration=None): # noqa: E501
|
|
46
|
+
"""SignJwtTokenRequest - a model defined in Swagger""" # noqa: E501
|
|
49
47
|
if _configuration is None:
|
|
50
48
|
_configuration = Configuration()
|
|
51
49
|
self._configuration = _configuration
|
|
52
50
|
|
|
53
|
-
self.
|
|
54
|
-
self._name = None
|
|
51
|
+
self._id = None
|
|
55
52
|
self._type = None
|
|
56
53
|
self.discriminator = None
|
|
57
54
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
if name is not None:
|
|
61
|
-
self.name = name
|
|
62
|
-
if type is not None:
|
|
63
|
-
self.type = type
|
|
55
|
+
self.id = id
|
|
56
|
+
self.type = type
|
|
64
57
|
|
|
65
58
|
@property
|
|
66
|
-
def
|
|
67
|
-
"""Gets the
|
|
59
|
+
def id(self):
|
|
60
|
+
"""Gets the id of this SignJwtTokenRequest. # noqa: E501
|
|
68
61
|
|
|
69
62
|
|
|
70
|
-
:return: The
|
|
71
|
-
:rtype: int
|
|
72
|
-
"""
|
|
73
|
-
return self._location
|
|
74
|
-
|
|
75
|
-
@location.setter
|
|
76
|
-
def location(self, location):
|
|
77
|
-
"""Sets the location of this MenuForUpdateActivityMenuAPIInput.
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
:param location: The location of this MenuForUpdateActivityMenuAPIInput. # noqa: E501
|
|
81
|
-
:type: int
|
|
82
|
-
"""
|
|
83
|
-
|
|
84
|
-
self._location = location
|
|
85
|
-
|
|
86
|
-
@property
|
|
87
|
-
def name(self):
|
|
88
|
-
"""Gets the name of this MenuForUpdateActivityMenuAPIInput. # noqa: E501
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
:return: The name of this MenuForUpdateActivityMenuAPIInput. # noqa: E501
|
|
63
|
+
:return: The id of this SignJwtTokenRequest. # noqa: E501
|
|
92
64
|
:rtype: str
|
|
93
65
|
"""
|
|
94
|
-
return self.
|
|
66
|
+
return self._id
|
|
95
67
|
|
|
96
|
-
@
|
|
97
|
-
def
|
|
98
|
-
"""Sets the
|
|
68
|
+
@id.setter
|
|
69
|
+
def id(self, id):
|
|
70
|
+
"""Sets the id of this SignJwtTokenRequest.
|
|
99
71
|
|
|
100
72
|
|
|
101
|
-
:param
|
|
73
|
+
:param id: The id of this SignJwtTokenRequest. # noqa: E501
|
|
102
74
|
:type: str
|
|
103
75
|
"""
|
|
76
|
+
if self._configuration.client_side_validation and id is None:
|
|
77
|
+
raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501
|
|
104
78
|
|
|
105
|
-
self.
|
|
79
|
+
self._id = id
|
|
106
80
|
|
|
107
81
|
@property
|
|
108
82
|
def type(self):
|
|
109
|
-
"""Gets the type of this
|
|
83
|
+
"""Gets the type of this SignJwtTokenRequest. # noqa: E501
|
|
110
84
|
|
|
111
85
|
|
|
112
|
-
:return: The type of this
|
|
113
|
-
:rtype:
|
|
86
|
+
:return: The type of this SignJwtTokenRequest. # noqa: E501
|
|
87
|
+
:rtype: str
|
|
114
88
|
"""
|
|
115
89
|
return self._type
|
|
116
90
|
|
|
117
91
|
@type.setter
|
|
118
92
|
def type(self, type):
|
|
119
|
-
"""Sets the type of this
|
|
93
|
+
"""Sets the type of this SignJwtTokenRequest.
|
|
120
94
|
|
|
121
95
|
|
|
122
|
-
:param type: The type of this
|
|
123
|
-
:type:
|
|
96
|
+
:param type: The type of this SignJwtTokenRequest. # noqa: E501
|
|
97
|
+
:type: str
|
|
124
98
|
"""
|
|
99
|
+
if self._configuration.client_side_validation and type is None:
|
|
100
|
+
raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501
|
|
125
101
|
|
|
126
102
|
self._type = type
|
|
127
103
|
|
|
@@ -146,7 +122,7 @@ class MenuForUpdateActivityMenuAPIInput(object):
|
|
|
146
122
|
))
|
|
147
123
|
else:
|
|
148
124
|
result[attr] = value
|
|
149
|
-
if issubclass(
|
|
125
|
+
if issubclass(SignJwtTokenRequest, dict):
|
|
150
126
|
for key, value in self.items():
|
|
151
127
|
result[key] = value
|
|
152
128
|
|
|
@@ -162,14 +138,14 @@ class MenuForUpdateActivityMenuAPIInput(object):
|
|
|
162
138
|
|
|
163
139
|
def __eq__(self, other):
|
|
164
140
|
"""Returns true if both objects are equal"""
|
|
165
|
-
if not isinstance(other,
|
|
141
|
+
if not isinstance(other, SignJwtTokenRequest):
|
|
166
142
|
return False
|
|
167
143
|
|
|
168
144
|
return self.to_dict() == other.to_dict()
|
|
169
145
|
|
|
170
146
|
def __ne__(self, other):
|
|
171
147
|
"""Returns true if both objects are not equal"""
|
|
172
|
-
if not isinstance(other,
|
|
148
|
+
if not isinstance(other, SignJwtTokenRequest):
|
|
173
149
|
return True
|
|
174
150
|
|
|
175
151
|
return self.to_dict() != other.to_dict()
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
ml_platform20240701
|
|
5
5
|
|
|
6
6
|
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
7
|
|
|
@@ -19,7 +19,7 @@ import six
|
|
|
19
19
|
from volcenginesdkcore.configuration import Configuration
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class SignJwtTokenResponse(object):
|
|
23
23
|
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
24
24
|
|
|
25
25
|
Do not edit the class manually.
|
|
@@ -33,45 +33,45 @@ class UpdateActivityMenuAPIResponse(object):
|
|
|
33
33
|
and the value is json key in definition.
|
|
34
34
|
"""
|
|
35
35
|
swagger_types = {
|
|
36
|
-
'
|
|
36
|
+
'token': 'str'
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
attribute_map = {
|
|
40
|
-
'
|
|
40
|
+
'token': 'Token'
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
def __init__(self,
|
|
44
|
-
"""
|
|
43
|
+
def __init__(self, token=None, _configuration=None): # noqa: E501
|
|
44
|
+
"""SignJwtTokenResponse - a model defined in Swagger""" # noqa: E501
|
|
45
45
|
if _configuration is None:
|
|
46
46
|
_configuration = Configuration()
|
|
47
47
|
self._configuration = _configuration
|
|
48
48
|
|
|
49
|
-
self.
|
|
49
|
+
self._token = None
|
|
50
50
|
self.discriminator = None
|
|
51
51
|
|
|
52
|
-
if
|
|
53
|
-
self.
|
|
52
|
+
if token is not None:
|
|
53
|
+
self.token = token
|
|
54
54
|
|
|
55
55
|
@property
|
|
56
|
-
def
|
|
57
|
-
"""Gets the
|
|
56
|
+
def token(self):
|
|
57
|
+
"""Gets the token of this SignJwtTokenResponse. # noqa: E501
|
|
58
58
|
|
|
59
59
|
|
|
60
|
-
:return: The
|
|
61
|
-
:rtype:
|
|
60
|
+
:return: The token of this SignJwtTokenResponse. # noqa: E501
|
|
61
|
+
:rtype: str
|
|
62
62
|
"""
|
|
63
|
-
return self.
|
|
63
|
+
return self._token
|
|
64
64
|
|
|
65
|
-
@
|
|
66
|
-
def
|
|
67
|
-
"""Sets the
|
|
65
|
+
@token.setter
|
|
66
|
+
def token(self, token):
|
|
67
|
+
"""Sets the token of this SignJwtTokenResponse.
|
|
68
68
|
|
|
69
69
|
|
|
70
|
-
:param
|
|
71
|
-
:type:
|
|
70
|
+
:param token: The token of this SignJwtTokenResponse. # noqa: E501
|
|
71
|
+
:type: str
|
|
72
72
|
"""
|
|
73
73
|
|
|
74
|
-
self.
|
|
74
|
+
self._token = token
|
|
75
75
|
|
|
76
76
|
def to_dict(self):
|
|
77
77
|
"""Returns the model properties as a dict"""
|
|
@@ -94,7 +94,7 @@ class UpdateActivityMenuAPIResponse(object):
|
|
|
94
94
|
))
|
|
95
95
|
else:
|
|
96
96
|
result[attr] = value
|
|
97
|
-
if issubclass(
|
|
97
|
+
if issubclass(SignJwtTokenResponse, dict):
|
|
98
98
|
for key, value in self.items():
|
|
99
99
|
result[key] = value
|
|
100
100
|
|
|
@@ -110,14 +110,14 @@ class UpdateActivityMenuAPIResponse(object):
|
|
|
110
110
|
|
|
111
111
|
def __eq__(self, other):
|
|
112
112
|
"""Returns true if both objects are equal"""
|
|
113
|
-
if not isinstance(other,
|
|
113
|
+
if not isinstance(other, SignJwtTokenResponse):
|
|
114
114
|
return False
|
|
115
115
|
|
|
116
116
|
return self.to_dict() == other.to_dict()
|
|
117
117
|
|
|
118
118
|
def __ne__(self, other):
|
|
119
119
|
"""Returns true if both objects are not equal"""
|
|
120
|
-
if not isinstance(other,
|
|
120
|
+
if not isinstance(other, SignJwtTokenResponse):
|
|
121
121
|
return True
|
|
122
122
|
|
|
123
123
|
return self.to_dict() != other.to_dict()
|
|
@@ -34,6 +34,7 @@ class UpdateDevInstanceRequest(object):
|
|
|
34
34
|
"""
|
|
35
35
|
swagger_types = {
|
|
36
36
|
'credential': 'CredentialForUpdateDevInstanceInput',
|
|
37
|
+
'default_folder': 'str',
|
|
37
38
|
'description': 'str',
|
|
38
39
|
'id': 'str',
|
|
39
40
|
'name': 'str',
|
|
@@ -42,6 +43,7 @@ class UpdateDevInstanceRequest(object):
|
|
|
42
43
|
'ports': 'list[PortForUpdateDevInstanceInput]',
|
|
43
44
|
'resource_claim': 'ResourceClaimForUpdateDevInstanceInput',
|
|
44
45
|
'resource_queue_id': 'str',
|
|
46
|
+
'resource_reservation_plan_id': 'str',
|
|
45
47
|
'ssh_public_key': 'str',
|
|
46
48
|
'storages': 'list[StorageForUpdateDevInstanceInput]',
|
|
47
49
|
'volume_size': 'int'
|
|
@@ -49,6 +51,7 @@ class UpdateDevInstanceRequest(object):
|
|
|
49
51
|
|
|
50
52
|
attribute_map = {
|
|
51
53
|
'credential': 'Credential',
|
|
54
|
+
'default_folder': 'DefaultFolder',
|
|
52
55
|
'description': 'Description',
|
|
53
56
|
'id': 'Id',
|
|
54
57
|
'name': 'Name',
|
|
@@ -57,18 +60,20 @@ class UpdateDevInstanceRequest(object):
|
|
|
57
60
|
'ports': 'Ports',
|
|
58
61
|
'resource_claim': 'ResourceClaim',
|
|
59
62
|
'resource_queue_id': 'ResourceQueueId',
|
|
63
|
+
'resource_reservation_plan_id': 'ResourceReservationPlanId',
|
|
60
64
|
'ssh_public_key': 'SshPublicKey',
|
|
61
65
|
'storages': 'Storages',
|
|
62
66
|
'volume_size': 'VolumeSize'
|
|
63
67
|
}
|
|
64
68
|
|
|
65
|
-
def __init__(self, credential=None, description=None, id=None, name=None, node_affinity_spec=None, numa_affinity=None, ports=None, resource_claim=None, resource_queue_id=None, ssh_public_key=None, storages=None, volume_size=None, _configuration=None): # noqa: E501
|
|
69
|
+
def __init__(self, credential=None, default_folder=None, description=None, id=None, name=None, node_affinity_spec=None, numa_affinity=None, ports=None, resource_claim=None, resource_queue_id=None, resource_reservation_plan_id=None, ssh_public_key=None, storages=None, volume_size=None, _configuration=None): # noqa: E501
|
|
66
70
|
"""UpdateDevInstanceRequest - a model defined in Swagger""" # noqa: E501
|
|
67
71
|
if _configuration is None:
|
|
68
72
|
_configuration = Configuration()
|
|
69
73
|
self._configuration = _configuration
|
|
70
74
|
|
|
71
75
|
self._credential = None
|
|
76
|
+
self._default_folder = None
|
|
72
77
|
self._description = None
|
|
73
78
|
self._id = None
|
|
74
79
|
self._name = None
|
|
@@ -77,6 +82,7 @@ class UpdateDevInstanceRequest(object):
|
|
|
77
82
|
self._ports = None
|
|
78
83
|
self._resource_claim = None
|
|
79
84
|
self._resource_queue_id = None
|
|
85
|
+
self._resource_reservation_plan_id = None
|
|
80
86
|
self._ssh_public_key = None
|
|
81
87
|
self._storages = None
|
|
82
88
|
self._volume_size = None
|
|
@@ -84,6 +90,8 @@ class UpdateDevInstanceRequest(object):
|
|
|
84
90
|
|
|
85
91
|
if credential is not None:
|
|
86
92
|
self.credential = credential
|
|
93
|
+
if default_folder is not None:
|
|
94
|
+
self.default_folder = default_folder
|
|
87
95
|
if description is not None:
|
|
88
96
|
self.description = description
|
|
89
97
|
self.id = id
|
|
@@ -99,6 +107,8 @@ class UpdateDevInstanceRequest(object):
|
|
|
99
107
|
self.resource_claim = resource_claim
|
|
100
108
|
if resource_queue_id is not None:
|
|
101
109
|
self.resource_queue_id = resource_queue_id
|
|
110
|
+
if resource_reservation_plan_id is not None:
|
|
111
|
+
self.resource_reservation_plan_id = resource_reservation_plan_id
|
|
102
112
|
if ssh_public_key is not None:
|
|
103
113
|
self.ssh_public_key = ssh_public_key
|
|
104
114
|
if storages is not None:
|
|
@@ -127,6 +137,27 @@ class UpdateDevInstanceRequest(object):
|
|
|
127
137
|
|
|
128
138
|
self._credential = credential
|
|
129
139
|
|
|
140
|
+
@property
|
|
141
|
+
def default_folder(self):
|
|
142
|
+
"""Gets the default_folder of this UpdateDevInstanceRequest. # noqa: E501
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
:return: The default_folder of this UpdateDevInstanceRequest. # noqa: E501
|
|
146
|
+
:rtype: str
|
|
147
|
+
"""
|
|
148
|
+
return self._default_folder
|
|
149
|
+
|
|
150
|
+
@default_folder.setter
|
|
151
|
+
def default_folder(self, default_folder):
|
|
152
|
+
"""Sets the default_folder of this UpdateDevInstanceRequest.
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
:param default_folder: The default_folder of this UpdateDevInstanceRequest. # noqa: E501
|
|
156
|
+
:type: str
|
|
157
|
+
"""
|
|
158
|
+
|
|
159
|
+
self._default_folder = default_folder
|
|
160
|
+
|
|
130
161
|
@property
|
|
131
162
|
def description(self):
|
|
132
163
|
"""Gets the description of this UpdateDevInstanceRequest. # noqa: E501
|
|
@@ -297,6 +328,27 @@ class UpdateDevInstanceRequest(object):
|
|
|
297
328
|
|
|
298
329
|
self._resource_queue_id = resource_queue_id
|
|
299
330
|
|
|
331
|
+
@property
|
|
332
|
+
def resource_reservation_plan_id(self):
|
|
333
|
+
"""Gets the resource_reservation_plan_id of this UpdateDevInstanceRequest. # noqa: E501
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
:return: The resource_reservation_plan_id of this UpdateDevInstanceRequest. # noqa: E501
|
|
337
|
+
:rtype: str
|
|
338
|
+
"""
|
|
339
|
+
return self._resource_reservation_plan_id
|
|
340
|
+
|
|
341
|
+
@resource_reservation_plan_id.setter
|
|
342
|
+
def resource_reservation_plan_id(self, resource_reservation_plan_id):
|
|
343
|
+
"""Sets the resource_reservation_plan_id of this UpdateDevInstanceRequest.
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
:param resource_reservation_plan_id: The resource_reservation_plan_id of this UpdateDevInstanceRequest. # noqa: E501
|
|
347
|
+
:type: str
|
|
348
|
+
"""
|
|
349
|
+
|
|
350
|
+
self._resource_reservation_plan_id = resource_reservation_plan_id
|
|
351
|
+
|
|
300
352
|
@property
|
|
301
353
|
def ssh_public_key(self):
|
|
302
354
|
"""Gets the ssh_public_key of this UpdateDevInstanceRequest. # noqa: E501
|
|
@@ -37,8 +37,10 @@ class UpdateResourceReservationPlanRequest(object):
|
|
|
37
37
|
'dry_run': 'bool',
|
|
38
38
|
'id': 'str',
|
|
39
39
|
'name': 'str',
|
|
40
|
+
'schedule_config': 'ScheduleConfigForUpdateResourceReservationPlanInput',
|
|
40
41
|
'storage_config': 'StorageConfigForUpdateResourceReservationPlanInput',
|
|
41
|
-
'workload_network_config': 'WorkloadNetworkConfigForUpdateResourceReservationPlanInput'
|
|
42
|
+
'workload_network_config': 'WorkloadNetworkConfigForUpdateResourceReservationPlanInput',
|
|
43
|
+
'workload_network_mode': 'str'
|
|
42
44
|
}
|
|
43
45
|
|
|
44
46
|
attribute_map = {
|
|
@@ -46,11 +48,13 @@ class UpdateResourceReservationPlanRequest(object):
|
|
|
46
48
|
'dry_run': 'DryRun',
|
|
47
49
|
'id': 'Id',
|
|
48
50
|
'name': 'Name',
|
|
51
|
+
'schedule_config': 'ScheduleConfig',
|
|
49
52
|
'storage_config': 'StorageConfig',
|
|
50
|
-
'workload_network_config': 'WorkloadNetworkConfig'
|
|
53
|
+
'workload_network_config': 'WorkloadNetworkConfig',
|
|
54
|
+
'workload_network_mode': 'WorkloadNetworkMode'
|
|
51
55
|
}
|
|
52
56
|
|
|
53
|
-
def __init__(self, description=None, dry_run=None, id=None, name=None, storage_config=None, workload_network_config=None, _configuration=None): # noqa: E501
|
|
57
|
+
def __init__(self, description=None, dry_run=None, id=None, name=None, schedule_config=None, storage_config=None, workload_network_config=None, workload_network_mode=None, _configuration=None): # noqa: E501
|
|
54
58
|
"""UpdateResourceReservationPlanRequest - a model defined in Swagger""" # noqa: E501
|
|
55
59
|
if _configuration is None:
|
|
56
60
|
_configuration = Configuration()
|
|
@@ -60,8 +64,10 @@ class UpdateResourceReservationPlanRequest(object):
|
|
|
60
64
|
self._dry_run = None
|
|
61
65
|
self._id = None
|
|
62
66
|
self._name = None
|
|
67
|
+
self._schedule_config = None
|
|
63
68
|
self._storage_config = None
|
|
64
69
|
self._workload_network_config = None
|
|
70
|
+
self._workload_network_mode = None
|
|
65
71
|
self.discriminator = None
|
|
66
72
|
|
|
67
73
|
if description is not None:
|
|
@@ -71,10 +77,14 @@ class UpdateResourceReservationPlanRequest(object):
|
|
|
71
77
|
self.id = id
|
|
72
78
|
if name is not None:
|
|
73
79
|
self.name = name
|
|
80
|
+
if schedule_config is not None:
|
|
81
|
+
self.schedule_config = schedule_config
|
|
74
82
|
if storage_config is not None:
|
|
75
83
|
self.storage_config = storage_config
|
|
76
84
|
if workload_network_config is not None:
|
|
77
85
|
self.workload_network_config = workload_network_config
|
|
86
|
+
if workload_network_mode is not None:
|
|
87
|
+
self.workload_network_mode = workload_network_mode
|
|
78
88
|
|
|
79
89
|
@property
|
|
80
90
|
def description(self):
|
|
@@ -174,6 +184,27 @@ class UpdateResourceReservationPlanRequest(object):
|
|
|
174
184
|
|
|
175
185
|
self._name = name
|
|
176
186
|
|
|
187
|
+
@property
|
|
188
|
+
def schedule_config(self):
|
|
189
|
+
"""Gets the schedule_config of this UpdateResourceReservationPlanRequest. # noqa: E501
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
:return: The schedule_config of this UpdateResourceReservationPlanRequest. # noqa: E501
|
|
193
|
+
:rtype: ScheduleConfigForUpdateResourceReservationPlanInput
|
|
194
|
+
"""
|
|
195
|
+
return self._schedule_config
|
|
196
|
+
|
|
197
|
+
@schedule_config.setter
|
|
198
|
+
def schedule_config(self, schedule_config):
|
|
199
|
+
"""Sets the schedule_config of this UpdateResourceReservationPlanRequest.
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
:param schedule_config: The schedule_config of this UpdateResourceReservationPlanRequest. # noqa: E501
|
|
203
|
+
:type: ScheduleConfigForUpdateResourceReservationPlanInput
|
|
204
|
+
"""
|
|
205
|
+
|
|
206
|
+
self._schedule_config = schedule_config
|
|
207
|
+
|
|
177
208
|
@property
|
|
178
209
|
def storage_config(self):
|
|
179
210
|
"""Gets the storage_config of this UpdateResourceReservationPlanRequest. # noqa: E501
|
|
@@ -216,6 +247,27 @@ class UpdateResourceReservationPlanRequest(object):
|
|
|
216
247
|
|
|
217
248
|
self._workload_network_config = workload_network_config
|
|
218
249
|
|
|
250
|
+
@property
|
|
251
|
+
def workload_network_mode(self):
|
|
252
|
+
"""Gets the workload_network_mode of this UpdateResourceReservationPlanRequest. # noqa: E501
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
:return: The workload_network_mode of this UpdateResourceReservationPlanRequest. # noqa: E501
|
|
256
|
+
:rtype: str
|
|
257
|
+
"""
|
|
258
|
+
return self._workload_network_mode
|
|
259
|
+
|
|
260
|
+
@workload_network_mode.setter
|
|
261
|
+
def workload_network_mode(self, workload_network_mode):
|
|
262
|
+
"""Sets the workload_network_mode of this UpdateResourceReservationPlanRequest.
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
:param workload_network_mode: The workload_network_mode of this UpdateResourceReservationPlanRequest. # noqa: E501
|
|
266
|
+
:type: str
|
|
267
|
+
"""
|
|
268
|
+
|
|
269
|
+
self._workload_network_mode = workload_network_mode
|
|
270
|
+
|
|
219
271
|
def to_dict(self):
|
|
220
272
|
"""Returns the model properties as a dict"""
|
|
221
273
|
result = {}
|