volcengine-python-sdk 4.0.29__py2.py3-none-any.whl → 4.0.30__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.29.dist-info → volcengine_python_sdk-4.0.30.dist-info}/METADATA +1 -1
- {volcengine_python_sdk-4.0.29.dist-info → volcengine_python_sdk-4.0.30.dist-info}/RECORD +476 -72
- {volcengine_python_sdk-4.0.29.dist-info → volcengine_python_sdk-4.0.30.dist-info}/top_level.txt +2 -0
- volcenginesdkacep/__init__.py +42 -0
- volcenginesdkacep/api/acep_api.py +1001 -128
- volcenginesdkacep/models/__init__.py +42 -0
- volcenginesdkacep/models/add_phone_template_request.py +256 -0
- volcenginesdkacep/models/add_phone_template_response.py +123 -0
- volcenginesdkacep/models/app_list_for_create_pod_one_step_input.py +149 -0
- volcenginesdkacep/models/create_pod_one_step_request.py +698 -0
- volcenginesdkacep/models/create_pod_one_step_response.py +175 -0
- volcenginesdkacep/models/create_pod_request.py +696 -0
- volcenginesdkacep/models/create_pod_response.py +149 -0
- volcenginesdkacep/models/get_phone_template_request.py +124 -0
- volcenginesdkacep/models/get_phone_template_response.py +149 -0
- volcenginesdkacep/models/job_for_reset_pod_output.py +305 -0
- volcenginesdkacep/models/list_phone_template_request.py +279 -0
- volcenginesdkacep/models/list_phone_template_response.py +149 -0
- volcenginesdkacep/models/overlay_persist_property_for_add_phone_template_input.py +175 -0
- volcenginesdkacep/models/overlay_persist_property_for_create_pod_input.py +175 -0
- volcenginesdkacep/models/overlay_persist_property_for_create_pod_one_step_input.py +175 -0
- volcenginesdkacep/models/overlay_persist_property_for_get_phone_template_output.py +175 -0
- volcenginesdkacep/models/overlay_persist_property_for_list_phone_template_output.py +175 -0
- volcenginesdkacep/models/overlay_property_for_add_phone_template_input.py +175 -0
- volcenginesdkacep/models/overlay_property_for_create_pod_input.py +175 -0
- volcenginesdkacep/models/overlay_property_for_create_pod_one_step_input.py +175 -0
- volcenginesdkacep/models/overlay_property_for_get_phone_template_output.py +175 -0
- volcenginesdkacep/models/overlay_property_for_list_phone_template_output.py +175 -0
- volcenginesdkacep/models/overlay_setting_for_add_phone_template_input.py +201 -0
- volcenginesdkacep/models/overlay_setting_for_create_pod_input.py +201 -0
- volcenginesdkacep/models/overlay_setting_for_create_pod_one_step_input.py +201 -0
- volcenginesdkacep/models/overlay_setting_for_get_phone_template_output.py +201 -0
- volcenginesdkacep/models/overlay_setting_for_list_phone_template_output.py +201 -0
- volcenginesdkacep/models/phone_template_for_get_phone_template_output.py +279 -0
- volcenginesdkacep/models/pod_persist_property_for_update_pod_property_input.py +175 -0
- volcenginesdkacep/models/pod_property_for_update_pod_property_input.py +175 -0
- volcenginesdkacep/models/pod_setting_for_update_pod_property_input.py +201 -0
- volcenginesdkacep/models/pod_spec_list_for_create_pod_input.py +617 -0
- volcenginesdkacep/models/remove_phone_template_request.py +123 -0
- volcenginesdkacep/models/remove_phone_template_response.py +123 -0
- volcenginesdkacep/models/reset_pod_request.py +280 -0
- volcenginesdkacep/models/reset_pod_response.py +175 -0
- volcenginesdkacep/models/row_for_list_phone_template_output.py +279 -0
- volcenginesdkacep/models/tag_for_get_phone_template_output.py +201 -0
- volcenginesdkacep/models/update_phone_template_request.py +176 -0
- volcenginesdkacep/models/update_phone_template_response.py +95 -0
- volcenginesdkacep/models/update_pod_property_request.py +280 -0
- volcenginesdkacep/models/update_pod_property_response.py +95 -0
- volcenginesdkarkruntime/resources/encryption.py +10 -2
- volcenginesdkarkruntime/resources/responses/responses.py +42 -24
- volcenginesdkarkruntime/types/__init__.py +2 -0
- volcenginesdkarkruntime/types/responses/audio_chunking_strategy.py +30 -0
- volcenginesdkarkruntime/types/responses/audio_chunking_strategy_param.py +28 -0
- volcenginesdkarkruntime/types/responses/image_process_grounding_options.py +23 -0
- volcenginesdkarkruntime/types/responses/image_process_grounding_options_param.py +23 -0
- volcenginesdkarkruntime/types/responses/image_process_point_options.py +23 -0
- volcenginesdkarkruntime/types/responses/image_process_point_options_param.py +23 -0
- volcenginesdkarkruntime/types/responses/image_process_rotate_options.py +23 -0
- volcenginesdkarkruntime/types/responses/image_process_rotate_options_param.py +23 -0
- volcenginesdkarkruntime/types/responses/image_process_tool.py +41 -0
- volcenginesdkarkruntime/types/responses/image_process_tool_param.py +40 -0
- volcenginesdkarkruntime/types/responses/image_process_zoom_options.py +23 -0
- volcenginesdkarkruntime/types/responses/image_process_zoom_options_param.py +23 -0
- volcenginesdkarkruntime/types/responses/item_function_image_process.py +37 -0
- volcenginesdkarkruntime/types/responses/knowledge_search_tool.py +46 -0
- volcenginesdkarkruntime/types/responses/knowledge_search_tool_param.py +44 -0
- volcenginesdkarkruntime/types/responses/mcp_tool.py +8 -4
- volcenginesdkarkruntime/types/responses/response.py +58 -92
- volcenginesdkarkruntime/types/responses/response_annotation_added_event.py +3 -22
- volcenginesdkarkruntime/types/responses/response_caching.py +6 -6
- volcenginesdkarkruntime/types/responses/response_caching_param.py +7 -4
- volcenginesdkarkruntime/types/responses/response_create_params.py +11 -3
- volcenginesdkarkruntime/types/responses/response_image_process_action.py +24 -0
- volcenginesdkarkruntime/types/responses/response_image_process_args.py +30 -0
- volcenginesdkarkruntime/types/responses/response_image_process_call_completed_event.py +35 -0
- volcenginesdkarkruntime/types/responses/response_image_process_call_in_progress_event.py +24 -0
- volcenginesdkarkruntime/types/responses/response_image_process_call_processing_event.py +30 -0
- volcenginesdkarkruntime/types/responses/response_image_process_error.py +20 -0
- volcenginesdkarkruntime/types/responses/response_image_process_grounding_args.py +24 -0
- volcenginesdkarkruntime/types/responses/response_image_process_point_args.py +24 -0
- volcenginesdkarkruntime/types/responses/response_image_process_rotate_args.py +22 -0
- volcenginesdkarkruntime/types/responses/response_image_process_zoom_args.py +24 -0
- volcenginesdkarkruntime/types/responses/response_input_audio.py +33 -0
- volcenginesdkarkruntime/types/responses/response_input_audio_param.py +32 -0
- volcenginesdkarkruntime/types/responses/response_input_content.py +13 -3
- volcenginesdkarkruntime/types/responses/response_input_file.py +32 -0
- volcenginesdkarkruntime/types/responses/response_input_file_param.py +30 -0
- volcenginesdkarkruntime/types/responses/response_input_message_content_list_param.py +11 -3
- volcenginesdkarkruntime/types/responses/response_input_video.py +33 -0
- volcenginesdkarkruntime/types/responses/response_input_video_param.py +6 -9
- volcenginesdkarkruntime/types/responses/response_knowledge_search_call_completed_event.py +24 -0
- volcenginesdkarkruntime/types/responses/response_knowledge_search_call_failed_event.py +24 -0
- volcenginesdkarkruntime/types/responses/response_knowledge_search_call_in_progress_event.py +24 -0
- volcenginesdkarkruntime/types/responses/response_knowledge_search_call_searching_event.py +24 -0
- volcenginesdkarkruntime/types/responses/response_knowledge_search_item.py +32 -0
- volcenginesdkarkruntime/types/responses/response_output_item.py +8 -4
- volcenginesdkarkruntime/types/responses/response_output_text.py +4 -33
- volcenginesdkarkruntime/types/responses/response_output_text_annotation.py +63 -0
- volcenginesdkarkruntime/types/responses/response_output_text_annotation_added_event.py +33 -0
- volcenginesdkarkruntime/types/responses/response_stream_event.py +89 -50
- volcenginesdkarkruntime/types/responses/response_tool_usage.py +14 -6
- volcenginesdkarkruntime/types/responses/responses_output_text_annotation_cover_image.py +25 -0
- volcenginesdkarkruntime/types/responses/tool.py +5 -2
- volcenginesdkarkruntime/types/responses/tool_choice_knowledge_search.py +22 -0
- volcenginesdkarkruntime/types/responses/tool_choice_knowledge_search_param.py +20 -0
- volcenginesdkarkruntime/types/responses/tool_choice_mcp.py +31 -0
- volcenginesdkarkruntime/types/responses/tool_choice_mcp_param.py +4 -4
- volcenginesdkarkruntime/types/responses/tool_choice_web_search.py +22 -0
- volcenginesdkarkruntime/types/responses/tool_choice_web_search_param.py +20 -0
- volcenginesdkarkruntime/types/responses/tool_param.py +11 -3
- volcenginesdkarkruntime/types/responses/user_location.py +29 -0
- volcenginesdkarkruntime/types/responses/user_location_param.py +31 -0
- volcenginesdkarkruntime/types/responses/web_search_tool.py +11 -22
- volcenginesdkarkruntime/types/responses/web_search_tool_param.py +8 -17
- volcenginesdkarkruntime/types/shared/__init__.py +3 -0
- volcenginesdkarkruntime/types/shared/reasoning.py +10 -0
- volcenginesdkarkruntime/types/shared_params/__init__.py +2 -0
- volcenginesdkarkruntime/types/shared_params/reasoning.py +12 -0
- volcenginesdkarkruntime/types/shared_params/reasoning_effort.py +8 -0
- volcenginesdkcbr/__init__.py +91 -0
- volcenginesdkcbr/api/__init__.py +6 -0
- volcenginesdkcbr/api/cbr_api.py +2362 -0
- volcenginesdkcbr/models/__init__.py +87 -0
- volcenginesdkcbr/models/backup_policy_for_describe_backup_policies_output.py +357 -0
- volcenginesdkcbr/models/create_backup_job_request.py +238 -0
- volcenginesdkcbr/models/create_backup_job_response.py +123 -0
- volcenginesdkcbr/models/create_backup_plan_request.py +176 -0
- volcenginesdkcbr/models/create_backup_plan_response.py +123 -0
- volcenginesdkcbr/models/create_backup_policy_request.py +293 -0
- volcenginesdkcbr/models/create_backup_policy_response.py +123 -0
- volcenginesdkcbr/models/create_backup_resource_request.py +211 -0
- volcenginesdkcbr/models/create_backup_resource_response.py +123 -0
- volcenginesdkcbr/models/create_restore_job_request.py +177 -0
- volcenginesdkcbr/models/create_restore_job_response.py +123 -0
- volcenginesdkcbr/models/create_vault_request.py +150 -0
- volcenginesdkcbr/models/create_vault_response.py +123 -0
- volcenginesdkcbr/models/delete_backup_plan_request.py +124 -0
- volcenginesdkcbr/models/delete_backup_plan_response.py +95 -0
- volcenginesdkcbr/models/delete_backup_policy_request.py +124 -0
- volcenginesdkcbr/models/delete_backup_policy_response.py +95 -0
- volcenginesdkcbr/models/delete_backup_resource_request.py +124 -0
- volcenginesdkcbr/models/delete_backup_resource_response.py +95 -0
- volcenginesdkcbr/models/delete_recovery_point_request.py +124 -0
- volcenginesdkcbr/models/delete_recovery_point_response.py +95 -0
- volcenginesdkcbr/models/delete_vault_request.py +124 -0
- volcenginesdkcbr/models/delete_vault_response.py +95 -0
- volcenginesdkcbr/models/describe_backup_plans_request.py +175 -0
- volcenginesdkcbr/models/describe_backup_plans_response.py +149 -0
- volcenginesdkcbr/models/describe_backup_policies_request.py +175 -0
- volcenginesdkcbr/models/describe_backup_policies_response.py +149 -0
- volcenginesdkcbr/models/describe_backup_resources_request.py +175 -0
- volcenginesdkcbr/models/describe_backup_resources_response.py +149 -0
- volcenginesdkcbr/models/describe_recovery_points_request.py +175 -0
- volcenginesdkcbr/models/describe_recovery_points_response.py +149 -0
- volcenginesdkcbr/models/describe_regions_request.py +95 -0
- volcenginesdkcbr/models/describe_regions_response.py +123 -0
- volcenginesdkcbr/models/describe_restore_jobs_request.py +175 -0
- volcenginesdkcbr/models/describe_restore_jobs_response.py +149 -0
- volcenginesdkcbr/models/describe_vaults_request.py +201 -0
- volcenginesdkcbr/models/describe_vaults_response.py +149 -0
- volcenginesdkcbr/models/disable_backup_policy_request.py +124 -0
- volcenginesdkcbr/models/disable_backup_policy_response.py +95 -0
- volcenginesdkcbr/models/enable_backup_policy_request.py +124 -0
- volcenginesdkcbr/models/enable_backup_policy_response.py +95 -0
- volcenginesdkcbr/models/filter_list_for_describe_backup_resources_input.py +149 -0
- volcenginesdkcbr/models/filters_for_describe_backup_plans_input.py +149 -0
- volcenginesdkcbr/models/filters_for_describe_backup_policies_input.py +175 -0
- volcenginesdkcbr/models/filters_for_describe_recovery_points_input.py +253 -0
- volcenginesdkcbr/models/filters_for_describe_restore_jobs_input.py +201 -0
- volcenginesdkcbr/models/filters_for_describe_vaults_input.py +149 -0
- volcenginesdkcbr/models/job_for_describe_restore_jobs_output.py +279 -0
- volcenginesdkcbr/models/meta_information_for_create_backup_plan_input.py +149 -0
- volcenginesdkcbr/models/meta_information_for_create_backup_resource_input.py +149 -0
- volcenginesdkcbr/models/meta_information_for_describe_backup_resources_output.py +149 -0
- volcenginesdkcbr/models/meta_information_for_update_backup_plan_input.py +149 -0
- volcenginesdkcbr/models/plan_for_describe_backup_plans_output.py +253 -0
- volcenginesdkcbr/models/plan_for_describe_backup_resources_output.py +149 -0
- volcenginesdkcbr/models/policy_for_describe_backup_plans_output.py +357 -0
- volcenginesdkcbr/models/recovery_point_for_describe_recovery_points_output.py +513 -0
- volcenginesdkcbr/models/region_for_describe_regions_output.py +149 -0
- volcenginesdkcbr/models/resource_for_describe_backup_resources_output.py +409 -0
- volcenginesdkcbr/models/resource_list_for_create_backup_plan_input.py +175 -0
- volcenginesdkcbr/models/resource_list_for_update_backup_plan_input.py +175 -0
- volcenginesdkcbr/models/tag_for_describe_vaults_output.py +149 -0
- volcenginesdkcbr/models/update_backup_plan_request.py +202 -0
- volcenginesdkcbr/models/update_backup_plan_response.py +95 -0
- volcenginesdkcbr/models/update_backup_policy_request.py +261 -0
- volcenginesdkcbr/models/update_backup_policy_response.py +95 -0
- volcenginesdkcbr/models/update_recovery_point_request.py +151 -0
- volcenginesdkcbr/models/update_recovery_point_response.py +95 -0
- volcenginesdkcbr/models/update_restore_job_request.py +151 -0
- volcenginesdkcbr/models/update_restore_job_response.py +95 -0
- volcenginesdkcbr/models/vault_list_for_describe_vaults_output.py +279 -0
- volcenginesdkcore/api_client.py +1 -1
- volcenginesdkcore/configuration.py +1 -1
- volcenginesdkcore/interceptor/interceptors/sign_request_interceptor.py +1 -0
- volcenginesdkcore/observability/debugger.py +4 -2
- volcenginesdkcore/retryer/retryer.py +4 -1
- volcenginesdkgraph/__init__.py +11 -0
- volcenginesdkgraph/api/graph_api.py +485 -0
- volcenginesdkgraph/models/__init__.py +11 -0
- volcenginesdkgraph/models/describe_vegraph_config_in_k8s_request.py +124 -0
- volcenginesdkgraph/models/describe_vegraph_config_in_k8s_response.py +201 -0
- volcenginesdkgraph/models/key_black_list_for_update_key_black_list_conf_input.py +175 -0
- volcenginesdkgraph/models/update_gremlin_keyword_black_list_conf_request.py +230 -0
- volcenginesdkgraph/models/update_gremlin_keyword_black_list_conf_response.py +95 -0
- volcenginesdkgraph/models/update_key_black_list_conf_request.py +230 -0
- volcenginesdkgraph/models/update_key_black_list_conf_response.py +95 -0
- volcenginesdkgraph/models/update_tablet_read_black_list_conf_request.py +230 -0
- volcenginesdkgraph/models/update_tablet_read_black_list_conf_response.py +95 -0
- volcenginesdkgraph/models/update_tablet_write_black_list_conf_request.py +230 -0
- volcenginesdkgraph/models/update_tablet_write_black_list_conf_response.py +95 -0
- volcenginesdkmilvus/__init__.py +112 -0
- volcenginesdkmilvus/api/__init__.py +6 -0
- volcenginesdkmilvus/api/milvus_api.py +2168 -0
- volcenginesdkmilvus/models/__init__.py +108 -0
- volcenginesdkmilvus/models/allow_group_list_for_describe_instance_detail_output.py +149 -0
- volcenginesdkmilvus/models/base_instance_for_describe_instance_detail_output.py +435 -0
- volcenginesdkmilvus/models/charge_config_for_create_instance_input.py +201 -0
- volcenginesdkmilvus/models/charge_config_for_create_instance_one_step_input.py +201 -0
- volcenginesdkmilvus/models/charge_config_for_describe_instance_detail_output.py +201 -0
- volcenginesdkmilvus/models/charge_config_for_describe_instances_output.py +201 -0
- volcenginesdkmilvus/models/charge_config_for_describe_price_input.py +201 -0
- volcenginesdkmilvus/models/component_spec_list_for_create_instance_input.py +253 -0
- volcenginesdkmilvus/models/component_spec_list_for_create_instance_one_step_input.py +253 -0
- volcenginesdkmilvus/models/component_spec_list_for_describe_price_input.py +227 -0
- volcenginesdkmilvus/models/component_spec_list_for_scale_instance_input.py +227 -0
- volcenginesdkmilvus/models/config_assign_list_for_modify_instance_config_input.py +149 -0
- volcenginesdkmilvus/models/configuration_for_describe_instance_config_output.py +331 -0
- volcenginesdkmilvus/models/create_instance_one_step_request.py +306 -0
- volcenginesdkmilvus/models/create_instance_one_step_response.py +227 -0
- volcenginesdkmilvus/models/create_instance_request.py +306 -0
- volcenginesdkmilvus/models/create_instance_response.py +227 -0
- volcenginesdkmilvus/models/describe_available_spec_request.py +95 -0
- volcenginesdkmilvus/models/describe_available_spec_response.py +201 -0
- volcenginesdkmilvus/models/describe_available_version_request.py +95 -0
- volcenginesdkmilvus/models/describe_available_version_response.py +123 -0
- volcenginesdkmilvus/models/describe_config_modules_request.py +124 -0
- volcenginesdkmilvus/models/describe_config_modules_response.py +123 -0
- volcenginesdkmilvus/models/describe_instance_config_request.py +124 -0
- volcenginesdkmilvus/models/describe_instance_config_response.py +123 -0
- volcenginesdkmilvus/models/describe_instance_detail_request.py +124 -0
- volcenginesdkmilvus/models/describe_instance_detail_response.py +409 -0
- volcenginesdkmilvus/models/describe_instances_request.py +253 -0
- volcenginesdkmilvus/models/describe_instances_response.py +227 -0
- volcenginesdkmilvus/models/describe_node_info_request.py +124 -0
- volcenginesdkmilvus/models/describe_node_info_response.py +123 -0
- volcenginesdkmilvus/models/describe_price_request.py +175 -0
- volcenginesdkmilvus/models/describe_price_response.py +227 -0
- volcenginesdkmilvus/models/describe_zones_request.py +95 -0
- volcenginesdkmilvus/models/describe_zones_response.py +123 -0
- volcenginesdkmilvus/models/endpoint_list_for_describe_instance_detail_output.py +305 -0
- volcenginesdkmilvus/models/instance_configuration_for_create_instance_input.py +227 -0
- volcenginesdkmilvus/models/instance_configuration_for_create_instance_one_step_input.py +227 -0
- volcenginesdkmilvus/models/instance_info_for_describe_instances_output.py +409 -0
- volcenginesdkmilvus/models/list_tags_for_resources_request.py +228 -0
- volcenginesdkmilvus/models/list_tags_for_resources_response.py +149 -0
- volcenginesdkmilvus/models/modify_delete_protect_request.py +151 -0
- volcenginesdkmilvus/models/modify_delete_protect_response.py +123 -0
- volcenginesdkmilvus/models/modify_instance_config_request.py +150 -0
- volcenginesdkmilvus/models/modify_instance_config_response.py +123 -0
- volcenginesdkmilvus/models/modify_instance_name_request.py +151 -0
- volcenginesdkmilvus/models/modify_instance_name_response.py +123 -0
- volcenginesdkmilvus/models/modify_post_paid_request.py +205 -0
- volcenginesdkmilvus/models/modify_post_paid_response.py +253 -0
- volcenginesdkmilvus/models/modify_pre_paid_request.py +205 -0
- volcenginesdkmilvus/models/modify_pre_paid_response.py +253 -0
- volcenginesdkmilvus/models/modify_resource_tags_request.py +176 -0
- volcenginesdkmilvus/models/modify_resource_tags_response.py +123 -0
- volcenginesdkmilvus/models/network_config_for_create_instance_input.py +175 -0
- volcenginesdkmilvus/models/network_config_for_create_instance_one_step_input.py +175 -0
- volcenginesdkmilvus/models/network_config_for_describe_instance_detail_output.py +175 -0
- volcenginesdkmilvus/models/network_config_for_describe_instances_output.py +175 -0
- volcenginesdkmilvus/models/node_cu_type_support_spec_list_for_describe_available_spec_output.py +175 -0
- volcenginesdkmilvus/models/node_info_list_for_describe_node_info_output.py +357 -0
- volcenginesdkmilvus/models/node_price_list_for_describe_price_output.py +305 -0
- volcenginesdkmilvus/models/node_support_spec_list_for_describe_available_spec_output.py +175 -0
- volcenginesdkmilvus/models/release_instance_request.py +124 -0
- volcenginesdkmilvus/models/release_instance_response.py +123 -0
- volcenginesdkmilvus/models/scale_instance_request.py +204 -0
- volcenginesdkmilvus/models/scale_instance_response.py +175 -0
- volcenginesdkmilvus/models/spec_config_for_describe_instance_detail_output.py +227 -0
- volcenginesdkmilvus/models/spec_list_for_describe_available_spec_output.py +253 -0
- volcenginesdkmilvus/models/subnet_info_for_create_instance_input.py +149 -0
- volcenginesdkmilvus/models/subnet_info_for_create_instance_one_step_input.py +149 -0
- volcenginesdkmilvus/models/subnet_info_for_describe_instance_detail_output.py +149 -0
- volcenginesdkmilvus/models/subnet_info_for_describe_instances_output.py +149 -0
- volcenginesdkmilvus/models/tag_filter_for_describe_instances_input.py +149 -0
- volcenginesdkmilvus/models/tag_filter_for_list_tags_for_resources_input.py +149 -0
- volcenginesdkmilvus/models/tag_for_create_instance_input.py +149 -0
- volcenginesdkmilvus/models/tag_for_create_instance_one_step_input.py +149 -0
- volcenginesdkmilvus/models/tag_for_describe_instance_detail_output.py +149 -0
- volcenginesdkmilvus/models/tag_for_describe_instances_output.py +149 -0
- volcenginesdkmilvus/models/tag_for_modify_resource_tags_input.py +149 -0
- volcenginesdkmilvus/models/tag_for_tag_resources_input.py +149 -0
- volcenginesdkmilvus/models/tag_resource_for_list_tags_for_resources_output.py +201 -0
- volcenginesdkmilvus/models/tag_resources_request.py +175 -0
- volcenginesdkmilvus/models/tag_resources_response.py +123 -0
- volcenginesdkmilvus/models/untag_resources_request.py +175 -0
- volcenginesdkmilvus/models/untag_resources_response.py +123 -0
- volcenginesdkmilvus/models/version_for_describe_available_version_output.py +149 -0
- volcenginesdkmilvus/models/vpc_info_for_create_instance_input.py +149 -0
- volcenginesdkmilvus/models/vpc_info_for_create_instance_one_step_input.py +149 -0
- volcenginesdkmilvus/models/vpc_info_for_describe_instance_detail_output.py +149 -0
- volcenginesdkmilvus/models/vpc_info_for_describe_instances_output.py +149 -0
- volcenginesdkmilvus/models/zone_for_describe_zones_output.py +175 -0
- volcenginesdkmilvus/models/zone_support_spec_list_for_describe_available_spec_output.py +149 -0
- volcenginesdkorganization/__init__.py +6 -0
- volcenginesdkorganization/api/organization_api.py +194 -0
- volcenginesdkorganization/models/__init__.py +6 -0
- volcenginesdkorganization/models/filter_for_list_tags_keys_input.py +123 -0
- volcenginesdkorganization/models/filter_for_list_tags_values_input.py +123 -0
- volcenginesdkorganization/models/list_tags_keys_request.py +209 -0
- volcenginesdkorganization/models/list_tags_keys_response.py +175 -0
- volcenginesdkorganization/models/list_tags_values_request.py +236 -0
- volcenginesdkorganization/models/list_tags_values_response.py +175 -0
- volcenginesdkseccenter20240508/__init__.py +128 -0
- volcenginesdkseccenter20240508/api/seccenter20240508_api.py +7987 -3913
- volcenginesdkseccenter20240508/models/__init__.py +128 -0
- volcenginesdkseccenter20240508/models/add_baseline_check_config_request.py +383 -0
- volcenginesdkseccenter20240508/models/add_baseline_check_config_response.py +123 -0
- volcenginesdkseccenter20240508/models/add_login_config_request.py +27 -1
- volcenginesdkseccenter20240508/models/alarm_topic_config_for_get_tls_info_output.py +175 -0
- volcenginesdkseccenter20240508/models/alarm_topic_config_for_modify_tls_config_input.py +149 -0
- volcenginesdkseccenter20240508/models/ban_alarm_ip_request.py +175 -0
- volcenginesdkseccenter20240508/models/ban_alarm_ip_response.py +123 -0
- volcenginesdkseccenter20240508/models/baseline_list_for_add_baseline_check_config_input.py +149 -0
- volcenginesdkseccenter20240508/models/baseline_list_for_edit_baseline_check_config_input.py +149 -0
- volcenginesdkseccenter20240508/models/baseline_list_for_list_baseline_basic_info_output.py +201 -0
- volcenginesdkseccenter20240508/models/baseline_list_for_list_baseline_check_config_output.py +149 -0
- volcenginesdkseccenter20240508/models/bind_mlp_auth_request.py +123 -0
- volcenginesdkseccenter20240508/models/bind_mlp_auth_response.py +123 -0
- volcenginesdkseccenter20240508/models/check_alarm_support_ban_ip_request.py +175 -0
- volcenginesdkseccenter20240508/models/check_alarm_support_ban_ip_response.py +227 -0
- volcenginesdkseccenter20240508/models/check_install_agent_client_response.py +105 -1
- volcenginesdkseccenter20240508/models/conditions_for_list_ordered_hosts_basic_infos_input.py +435 -0
- volcenginesdkseccenter20240508/models/create_mlp_asset_sync_task_request.py +124 -0
- volcenginesdkseccenter20240508/models/create_mlp_asset_sync_task_response.py +123 -0
- volcenginesdkseccenter20240508/models/data_for_get_alarm_rule_list_output.py +331 -0
- volcenginesdkseccenter20240508/models/data_for_get_fingerprint_env_output.py +409 -0
- volcenginesdkseccenter20240508/models/data_for_get_fingerprint_process_output.py +27 -1
- volcenginesdkseccenter20240508/models/data_for_get_fingerprint_service_output.py +53 -1
- volcenginesdkseccenter20240508/models/data_for_get_mlp_asset_sync_task_detail_output.py +305 -0
- volcenginesdkseccenter20240508/models/data_for_get_offline_notification_list_output.py +929 -0
- volcenginesdkseccenter20240508/models/data_for_list_ban_ip_list_output.py +487 -0
- volcenginesdkseccenter20240508/models/data_for_list_baseline_basic_info_output.py +201 -0
- volcenginesdkseccenter20240508/models/data_for_list_baseline_check_config_output.py +617 -0
- volcenginesdkseccenter20240508/models/data_for_list_baseline_for_group_policy_output.py +201 -0
- volcenginesdkseccenter20240508/models/data_for_list_check_config_related_baseline_output.py +201 -0
- volcenginesdkseccenter20240508/models/data_for_list_fingerprint_collect_config_output.py +331 -0
- volcenginesdkseccenter20240508/models/data_for_list_mlp_asset_tasks_output.py +305 -0
- volcenginesdkseccenter20240508/models/data_for_list_ordered_hosts_basic_infos_output.py +539 -0
- volcenginesdkseccenter20240508/models/delete_baseline_check_config_request.py +124 -0
- volcenginesdkseccenter20240508/models/delete_baseline_check_config_response.py +123 -0
- volcenginesdkseccenter20240508/models/detect_baseline_by_check_config_request.py +124 -0
- volcenginesdkseccenter20240508/models/detect_baseline_by_check_config_response.py +123 -0
- volcenginesdkseccenter20240508/models/ecs_instance_for_get_auto_isolate_agent_list_output.py +53 -1
- volcenginesdkseccenter20240508/models/ecs_instance_for_get_host_basic_info_output.py +53 -1
- volcenginesdkseccenter20240508/models/ecs_instance_for_get_offline_notification_list_output.py +669 -0
- volcenginesdkseccenter20240508/models/ecs_instance_for_list_asset_center_hosts_output.py +53 -1
- volcenginesdkseccenter20240508/models/ecs_instance_for_list_auto_defense_hosts_output.py +53 -1
- volcenginesdkseccenter20240508/models/ecs_instance_for_list_ban_ip_list_output.py +669 -0
- volcenginesdkseccenter20240508/models/ecs_instance_for_list_hosts_basic_infos_output.py +53 -1
- volcenginesdkseccenter20240508/models/ecs_instance_for_list_multi_level_asset_hosts_output.py +53 -1
- volcenginesdkseccenter20240508/models/ecs_instance_for_list_ordered_hosts_basic_infos_output.py +669 -0
- volcenginesdkseccenter20240508/models/ecs_instance_for_list_rasp_config_agent_infos_output.py +53 -1
- volcenginesdkseccenter20240508/models/edit_baseline_check_config_request.py +410 -0
- volcenginesdkseccenter20240508/models/edit_baseline_check_config_response.py +123 -0
- volcenginesdkseccenter20240508/models/edit_fingerprint_collect_config_request.py +254 -0
- volcenginesdkseccenter20240508/models/edit_fingerprint_collect_config_response.py +123 -0
- volcenginesdkseccenter20240508/models/export_dev_fingerprint_data_request.py +1 -1
- volcenginesdkseccenter20240508/models/file_for_handle_endpoint_alarms_input.py +149 -0
- volcenginesdkseccenter20240508/models/get_alarm_rule_list_request.py +333 -0
- volcenginesdkseccenter20240508/models/get_alarm_rule_list_response.py +201 -0
- volcenginesdkseccenter20240508/models/get_auto_protect_config_request.py +95 -0
- volcenginesdkseccenter20240508/models/get_auto_protect_config_response.py +149 -0
- volcenginesdkvod20250101/models/scenario_for_create_ai_termbase_input.py → volcenginesdkseccenter20240508/models/get_brute_force_ban_cap_params_request.py +6 -6
- volcenginesdkseccenter20240508/models/get_brute_force_ban_cap_params_response.py +123 -0
- volcenginesdkseccenter20240508/models/get_brute_force_ban_config_request.py +123 -0
- volcenginesdkseccenter20240508/models/get_brute_force_ban_config_response.py +383 -0
- volcenginesdkseccenter20240508/models/get_brute_force_ban_statistics_request.py +123 -0
- volcenginesdkseccenter20240508/models/get_brute_force_ban_statistics_response.py +149 -0
- volcenginesdkseccenter20240508/models/get_custom_weak_passwords_request.py +95 -0
- volcenginesdkseccenter20240508/models/get_custom_weak_passwords_response.py +201 -0
- volcenginesdkseccenter20240508/models/get_fingerprint_env_request.py +489 -0
- volcenginesdkseccenter20240508/models/get_fingerprint_env_response.py +201 -0
- volcenginesdkseccenter20240508/models/get_fingerprint_service_request.py +0 -7
- volcenginesdkseccenter20240508/models/get_fingerprint_statistics_response.py +27 -1
- volcenginesdkseccenter20240508/models/get_geo_location_request.py +123 -0
- volcenginesdkseccenter20240508/models/get_geo_location_response.py +123 -0
- volcenginesdkseccenter20240508/models/get_mlp_asset_sync_task_detail_request.py +124 -0
- volcenginesdkseccenter20240508/models/get_mlp_asset_sync_task_detail_response.py +123 -0
- volcenginesdkseccenter20240508/models/get_mlp_asset_sync_task_status_request.py +124 -0
- volcenginesdkseccenter20240508/models/get_mlp_asset_sync_task_status_response.py +201 -0
- volcenginesdkseccenter20240508/models/get_offline_notification_config_request.py +95 -0
- volcenginesdkseccenter20240508/models/get_offline_notification_config_response.py +149 -0
- volcenginesdkseccenter20240508/models/get_offline_notification_list_request.py +411 -0
- volcenginesdkseccenter20240508/models/get_offline_notification_list_response.py +201 -0
- volcenginesdkseccenter20240508/models/get_security_overview_score_stats_request.py +123 -0
- volcenginesdkseccenter20240508/models/get_security_overview_score_stats_response.py +149 -0
- volcenginesdkseccenter20240508/models/get_tls_info_response.py +122 -70
- volcenginesdkseccenter20240508/models/handle_endpoint_alarms_request.py +150 -0
- volcenginesdkseccenter20240508/models/handle_endpoint_alarms_response.py +95 -0
- volcenginesdkseccenter20240508/models/handle_list_for_handle_endpoint_alarms_input.py +201 -0
- volcenginesdkseccenter20240508/models/host_info_for_list_ban_ip_list_output.py +279 -0
- volcenginesdkseccenter20240508/models/list_alarm_tags_request.py +6 -6
- volcenginesdkseccenter20240508/models/list_ban_ip_list_request.py +567 -0
- volcenginesdkseccenter20240508/models/list_ban_ip_list_response.py +201 -0
- volcenginesdkseccenter20240508/models/list_baseline_basic_info_request.py +203 -0
- volcenginesdkseccenter20240508/models/list_baseline_basic_info_response.py +201 -0
- volcenginesdkseccenter20240508/models/list_baseline_check_config_request.py +203 -0
- volcenginesdkseccenter20240508/models/list_baseline_check_config_response.py +201 -0
- volcenginesdkseccenter20240508/models/list_baseline_for_group_policy_request.py +124 -0
- volcenginesdkseccenter20240508/models/list_baseline_for_group_policy_response.py +123 -0
- volcenginesdkseccenter20240508/models/list_batch_endpoint_handle_methods_request.py +150 -0
- volcenginesdkseccenter20240508/models/list_batch_endpoint_handle_methods_response.py +149 -0
- volcenginesdkseccenter20240508/models/list_check_config_related_baseline_request.py +256 -0
- volcenginesdkseccenter20240508/models/list_check_config_related_baseline_response.py +201 -0
- volcenginesdkseccenter20240508/models/list_fingerprint_collect_config_request.py +149 -0
- volcenginesdkseccenter20240508/models/list_fingerprint_collect_config_response.py +201 -0
- volcenginesdkseccenter20240508/models/list_mlp_alarm_tags_request.py +6 -6
- volcenginesdkseccenter20240508/models/list_mlp_asset_tasks_request.py +255 -0
- volcenginesdkseccenter20240508/models/list_mlp_asset_tasks_response.py +201 -0
- volcenginesdkseccenter20240508/models/list_ordered_hosts_basic_infos_request.py +256 -0
- volcenginesdkseccenter20240508/models/list_ordered_hosts_basic_infos_response.py +201 -0
- volcenginesdkseccenter20240508/models/location_for_get_geo_location_output.py +149 -0
- volcenginesdkseccenter20240508/models/login_location_for_add_login_config_input.py +175 -0
- volcenginesdkseccenter20240508/models/login_location_for_update_login_config_input.py +175 -0
- volcenginesdkseccenter20240508/models/login_topic_config_for_get_tls_info_output.py +175 -0
- volcenginesdkseccenter20240508/models/login_topic_config_for_modify_tls_config_input.py +149 -0
- volcenginesdkseccenter20240508/models/modify_tls_config_request.py +133 -3
- volcenginesdkseccenter20240508/models/operation_list_for_list_batch_endpoint_handle_methods_output.py +201 -0
- volcenginesdkseccenter20240508/models/port_change_topic_config_for_get_tls_info_output.py +175 -0
- volcenginesdkseccenter20240508/models/port_change_topic_config_for_modify_tls_config_input.py +149 -0
- volcenginesdkseccenter20240508/models/proc_list_for_list_batch_endpoint_handle_methods_output.py +175 -0
- volcenginesdkseccenter20240508/models/process_for_handle_endpoint_alarms_input.py +175 -0
- volcenginesdkseccenter20240508/models/process_start_topic_config_for_get_tls_info_output.py +175 -0
- volcenginesdkseccenter20240508/models/process_start_topic_config_for_modify_tls_config_input.py +149 -0
- volcenginesdkseccenter20240508/models/relate_alarm_info_for_list_ban_ip_list_output.py +149 -0
- volcenginesdkseccenter20240508/models/retry_ip_operation_request.py +150 -0
- volcenginesdkseccenter20240508/models/retry_ip_operation_response.py +123 -0
- volcenginesdkseccenter20240508/models/risk_for_get_offline_notification_list_output.py +201 -0
- volcenginesdkseccenter20240508/models/rule_list_for_get_brute_force_ban_config_output.py +227 -0
- volcenginesdkseccenter20240508/models/rule_list_for_set_brute_force_ban_config_input.py +227 -0
- volcenginesdkseccenter20240508/models/score_for_get_security_overview_score_stats_output.py +149 -0
- volcenginesdkseccenter20240508/models/set_brute_force_ban_config_request.py +461 -0
- volcenginesdkseccenter20240508/models/set_brute_force_ban_config_response.py +95 -0
- volcenginesdkseccenter20240508/models/set_custom_weak_passwords_request.py +123 -0
- volcenginesdkseccenter20240508/models/set_custom_weak_passwords_response.py +123 -0
- volcenginesdkseccenter20240508/models/stop_mlp_asset_sync_task_request.py +124 -0
- volcenginesdkseccenter20240508/models/stop_mlp_asset_sync_task_response.py +123 -0
- volcenginesdkseccenter20240508/models/un_ban_ip_item_request.py +123 -0
- volcenginesdkseccenter20240508/models/un_ban_ip_item_response.py +149 -0
- volcenginesdkseccenter20240508/models/unbind_mlp_auth_request.py +123 -0
- volcenginesdkseccenter20240508/models/unbind_mlp_auth_response.py +123 -0
- volcenginesdkseccenter20240508/models/update_auto_protect_config_request.py +124 -0
- volcenginesdkseccenter20240508/models/update_auto_protect_config_response.py +149 -0
- volcenginesdkseccenter20240508/models/update_baseline_check_config_switch_request.py +150 -0
- volcenginesdkseccenter20240508/models/update_baseline_check_config_switch_response.py +123 -0
- volcenginesdkseccenter20240508/models/update_cloud_provider_request.py +149 -0
- volcenginesdkseccenter20240508/models/update_cloud_provider_response.py +201 -0
- volcenginesdkseccenter20240508/models/update_login_config_request.py +27 -1
- volcenginesdkseccenter20240508/models/update_offline_notification_config_request.py +151 -0
- volcenginesdkseccenter20240508/models/update_offline_notification_config_response.py +123 -0
- volcenginesdkseccenter20240508/models/vuln_topic_config_for_get_tls_info_output.py +175 -0
- volcenginesdkseccenter20240508/models/vuln_topic_config_for_modify_tls_config_input.py +149 -0
- volcenginesdkvefaas/__init__.py +1 -0
- volcenginesdkvefaas/models/__init__.py +1 -0
- volcenginesdkvefaas/models/describe_sandbox_response.py +53 -1
- volcenginesdkvefaas/models/metadata_list_for_describe_sandbox_output.py +149 -0
- volcenginesdkvod20250101/__init__.py +0 -1
- volcenginesdkvod20250101/models/__init__.py +0 -1
- volcenginesdkvod20250101/models/create_ai_termbase_request.py +6 -5
- {volcengine_python_sdk-4.0.29.dist-info → volcengine_python_sdk-4.0.30.dist-info}/WHEEL +0 -0
- {volcengine_python_sdk-4.0.29.dist-info → volcengine_python_sdk-4.0.30.dist-info}/licenses/LICENSE.txt +0 -0
- {volcengine_python_sdk-4.0.29.dist-info → volcengine_python_sdk-4.0.30.dist-info}/licenses/NOTICE.md +0 -0
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
seccenter20240508
|
|
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 UpdateBaselineCheckConfigSwitchResponse(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
|
+
'status': 'str'
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
attribute_map = {
|
|
40
|
+
'status': 'Status'
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
def __init__(self, status=None, _configuration=None): # noqa: E501
|
|
44
|
+
"""UpdateBaselineCheckConfigSwitchResponse - a model defined in Swagger""" # noqa: E501
|
|
45
|
+
if _configuration is None:
|
|
46
|
+
_configuration = Configuration()
|
|
47
|
+
self._configuration = _configuration
|
|
48
|
+
|
|
49
|
+
self._status = None
|
|
50
|
+
self.discriminator = None
|
|
51
|
+
|
|
52
|
+
if status is not None:
|
|
53
|
+
self.status = status
|
|
54
|
+
|
|
55
|
+
@property
|
|
56
|
+
def status(self):
|
|
57
|
+
"""Gets the status of this UpdateBaselineCheckConfigSwitchResponse. # noqa: E501
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
:return: The status of this UpdateBaselineCheckConfigSwitchResponse. # noqa: E501
|
|
61
|
+
:rtype: str
|
|
62
|
+
"""
|
|
63
|
+
return self._status
|
|
64
|
+
|
|
65
|
+
@status.setter
|
|
66
|
+
def status(self, status):
|
|
67
|
+
"""Sets the status of this UpdateBaselineCheckConfigSwitchResponse.
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
:param status: The status of this UpdateBaselineCheckConfigSwitchResponse. # noqa: E501
|
|
71
|
+
:type: str
|
|
72
|
+
"""
|
|
73
|
+
|
|
74
|
+
self._status = status
|
|
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(UpdateBaselineCheckConfigSwitchResponse, 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, UpdateBaselineCheckConfigSwitchResponse):
|
|
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, UpdateBaselineCheckConfigSwitchResponse):
|
|
121
|
+
return True
|
|
122
|
+
|
|
123
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
seccenter20240508
|
|
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 UpdateCloudProviderRequest(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
|
+
'agent_ids': 'list[str]',
|
|
37
|
+
'cloud_provider': 'str'
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
attribute_map = {
|
|
41
|
+
'agent_ids': 'AgentIDs',
|
|
42
|
+
'cloud_provider': 'CloudProvider'
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
def __init__(self, agent_ids=None, cloud_provider=None, _configuration=None): # noqa: E501
|
|
46
|
+
"""UpdateCloudProviderRequest - a model defined in Swagger""" # noqa: E501
|
|
47
|
+
if _configuration is None:
|
|
48
|
+
_configuration = Configuration()
|
|
49
|
+
self._configuration = _configuration
|
|
50
|
+
|
|
51
|
+
self._agent_ids = None
|
|
52
|
+
self._cloud_provider = None
|
|
53
|
+
self.discriminator = None
|
|
54
|
+
|
|
55
|
+
if agent_ids is not None:
|
|
56
|
+
self.agent_ids = agent_ids
|
|
57
|
+
if cloud_provider is not None:
|
|
58
|
+
self.cloud_provider = cloud_provider
|
|
59
|
+
|
|
60
|
+
@property
|
|
61
|
+
def agent_ids(self):
|
|
62
|
+
"""Gets the agent_ids of this UpdateCloudProviderRequest. # noqa: E501
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
:return: The agent_ids of this UpdateCloudProviderRequest. # noqa: E501
|
|
66
|
+
:rtype: list[str]
|
|
67
|
+
"""
|
|
68
|
+
return self._agent_ids
|
|
69
|
+
|
|
70
|
+
@agent_ids.setter
|
|
71
|
+
def agent_ids(self, agent_ids):
|
|
72
|
+
"""Sets the agent_ids of this UpdateCloudProviderRequest.
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
:param agent_ids: The agent_ids of this UpdateCloudProviderRequest. # noqa: E501
|
|
76
|
+
:type: list[str]
|
|
77
|
+
"""
|
|
78
|
+
|
|
79
|
+
self._agent_ids = agent_ids
|
|
80
|
+
|
|
81
|
+
@property
|
|
82
|
+
def cloud_provider(self):
|
|
83
|
+
"""Gets the cloud_provider of this UpdateCloudProviderRequest. # noqa: E501
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
:return: The cloud_provider of this UpdateCloudProviderRequest. # noqa: E501
|
|
87
|
+
:rtype: str
|
|
88
|
+
"""
|
|
89
|
+
return self._cloud_provider
|
|
90
|
+
|
|
91
|
+
@cloud_provider.setter
|
|
92
|
+
def cloud_provider(self, cloud_provider):
|
|
93
|
+
"""Sets the cloud_provider of this UpdateCloudProviderRequest.
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
:param cloud_provider: The cloud_provider of this UpdateCloudProviderRequest. # noqa: E501
|
|
97
|
+
:type: str
|
|
98
|
+
"""
|
|
99
|
+
|
|
100
|
+
self._cloud_provider = cloud_provider
|
|
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(UpdateCloudProviderRequest, 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, UpdateCloudProviderRequest):
|
|
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, UpdateCloudProviderRequest):
|
|
147
|
+
return True
|
|
148
|
+
|
|
149
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
seccenter20240508
|
|
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 UpdateCloudProviderResponse(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
|
+
'failure_count': 'int',
|
|
37
|
+
'failure_ids': 'list[str]',
|
|
38
|
+
'success_count': 'int',
|
|
39
|
+
'success_ids': 'list[str]'
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
attribute_map = {
|
|
43
|
+
'failure_count': 'FailureCount',
|
|
44
|
+
'failure_ids': 'FailureIds',
|
|
45
|
+
'success_count': 'SuccessCount',
|
|
46
|
+
'success_ids': 'SuccessIds'
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
def __init__(self, failure_count=None, failure_ids=None, success_count=None, success_ids=None, _configuration=None): # noqa: E501
|
|
50
|
+
"""UpdateCloudProviderResponse - a model defined in Swagger""" # noqa: E501
|
|
51
|
+
if _configuration is None:
|
|
52
|
+
_configuration = Configuration()
|
|
53
|
+
self._configuration = _configuration
|
|
54
|
+
|
|
55
|
+
self._failure_count = None
|
|
56
|
+
self._failure_ids = None
|
|
57
|
+
self._success_count = None
|
|
58
|
+
self._success_ids = None
|
|
59
|
+
self.discriminator = None
|
|
60
|
+
|
|
61
|
+
if failure_count is not None:
|
|
62
|
+
self.failure_count = failure_count
|
|
63
|
+
if failure_ids is not None:
|
|
64
|
+
self.failure_ids = failure_ids
|
|
65
|
+
if success_count is not None:
|
|
66
|
+
self.success_count = success_count
|
|
67
|
+
if success_ids is not None:
|
|
68
|
+
self.success_ids = success_ids
|
|
69
|
+
|
|
70
|
+
@property
|
|
71
|
+
def failure_count(self):
|
|
72
|
+
"""Gets the failure_count of this UpdateCloudProviderResponse. # noqa: E501
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
:return: The failure_count of this UpdateCloudProviderResponse. # noqa: E501
|
|
76
|
+
:rtype: int
|
|
77
|
+
"""
|
|
78
|
+
return self._failure_count
|
|
79
|
+
|
|
80
|
+
@failure_count.setter
|
|
81
|
+
def failure_count(self, failure_count):
|
|
82
|
+
"""Sets the failure_count of this UpdateCloudProviderResponse.
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
:param failure_count: The failure_count of this UpdateCloudProviderResponse. # noqa: E501
|
|
86
|
+
:type: int
|
|
87
|
+
"""
|
|
88
|
+
|
|
89
|
+
self._failure_count = failure_count
|
|
90
|
+
|
|
91
|
+
@property
|
|
92
|
+
def failure_ids(self):
|
|
93
|
+
"""Gets the failure_ids of this UpdateCloudProviderResponse. # noqa: E501
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
:return: The failure_ids of this UpdateCloudProviderResponse. # noqa: E501
|
|
97
|
+
:rtype: list[str]
|
|
98
|
+
"""
|
|
99
|
+
return self._failure_ids
|
|
100
|
+
|
|
101
|
+
@failure_ids.setter
|
|
102
|
+
def failure_ids(self, failure_ids):
|
|
103
|
+
"""Sets the failure_ids of this UpdateCloudProviderResponse.
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
:param failure_ids: The failure_ids of this UpdateCloudProviderResponse. # noqa: E501
|
|
107
|
+
:type: list[str]
|
|
108
|
+
"""
|
|
109
|
+
|
|
110
|
+
self._failure_ids = failure_ids
|
|
111
|
+
|
|
112
|
+
@property
|
|
113
|
+
def success_count(self):
|
|
114
|
+
"""Gets the success_count of this UpdateCloudProviderResponse. # noqa: E501
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
:return: The success_count of this UpdateCloudProviderResponse. # noqa: E501
|
|
118
|
+
:rtype: int
|
|
119
|
+
"""
|
|
120
|
+
return self._success_count
|
|
121
|
+
|
|
122
|
+
@success_count.setter
|
|
123
|
+
def success_count(self, success_count):
|
|
124
|
+
"""Sets the success_count of this UpdateCloudProviderResponse.
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
:param success_count: The success_count of this UpdateCloudProviderResponse. # noqa: E501
|
|
128
|
+
:type: int
|
|
129
|
+
"""
|
|
130
|
+
|
|
131
|
+
self._success_count = success_count
|
|
132
|
+
|
|
133
|
+
@property
|
|
134
|
+
def success_ids(self):
|
|
135
|
+
"""Gets the success_ids of this UpdateCloudProviderResponse. # noqa: E501
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
:return: The success_ids of this UpdateCloudProviderResponse. # noqa: E501
|
|
139
|
+
:rtype: list[str]
|
|
140
|
+
"""
|
|
141
|
+
return self._success_ids
|
|
142
|
+
|
|
143
|
+
@success_ids.setter
|
|
144
|
+
def success_ids(self, success_ids):
|
|
145
|
+
"""Sets the success_ids of this UpdateCloudProviderResponse.
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
:param success_ids: The success_ids of this UpdateCloudProviderResponse. # noqa: E501
|
|
149
|
+
:type: list[str]
|
|
150
|
+
"""
|
|
151
|
+
|
|
152
|
+
self._success_ids = success_ids
|
|
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(UpdateCloudProviderResponse, 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, UpdateCloudProviderResponse):
|
|
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, UpdateCloudProviderResponse):
|
|
199
|
+
return True
|
|
200
|
+
|
|
201
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -41,6 +41,7 @@ class UpdateLoginConfigRequest(object):
|
|
|
41
41
|
'leaf_group_ids': 'list[str]',
|
|
42
42
|
'legal_user': 'list[str]',
|
|
43
43
|
'login_config_rules': 'list[str]',
|
|
44
|
+
'login_locations': 'list[LoginLocationForUpdateLoginConfigInput]',
|
|
44
45
|
'time_intervals': 'list[str]',
|
|
45
46
|
'top_group_id': 'str'
|
|
46
47
|
}
|
|
@@ -54,11 +55,12 @@ class UpdateLoginConfigRequest(object):
|
|
|
54
55
|
'leaf_group_ids': 'LeafGroupIDs',
|
|
55
56
|
'legal_user': 'LegalUser',
|
|
56
57
|
'login_config_rules': 'LoginConfigRules',
|
|
58
|
+
'login_locations': 'LoginLocations',
|
|
57
59
|
'time_intervals': 'TimeIntervals',
|
|
58
60
|
'top_group_id': 'TopGroupID'
|
|
59
61
|
}
|
|
60
62
|
|
|
61
|
-
def __init__(self, agent_id_list=None, description=None, id=None, ip_list=None, if_all_host=None, leaf_group_ids=None, legal_user=None, login_config_rules=None, time_intervals=None, top_group_id=None, _configuration=None): # noqa: E501
|
|
63
|
+
def __init__(self, agent_id_list=None, description=None, id=None, ip_list=None, if_all_host=None, leaf_group_ids=None, legal_user=None, login_config_rules=None, login_locations=None, time_intervals=None, top_group_id=None, _configuration=None): # noqa: E501
|
|
62
64
|
"""UpdateLoginConfigRequest - a model defined in Swagger""" # noqa: E501
|
|
63
65
|
if _configuration is None:
|
|
64
66
|
_configuration = Configuration()
|
|
@@ -72,6 +74,7 @@ class UpdateLoginConfigRequest(object):
|
|
|
72
74
|
self._leaf_group_ids = None
|
|
73
75
|
self._legal_user = None
|
|
74
76
|
self._login_config_rules = None
|
|
77
|
+
self._login_locations = None
|
|
75
78
|
self._time_intervals = None
|
|
76
79
|
self._top_group_id = None
|
|
77
80
|
self.discriminator = None
|
|
@@ -91,6 +94,8 @@ class UpdateLoginConfigRequest(object):
|
|
|
91
94
|
self.legal_user = legal_user
|
|
92
95
|
if login_config_rules is not None:
|
|
93
96
|
self.login_config_rules = login_config_rules
|
|
97
|
+
if login_locations is not None:
|
|
98
|
+
self.login_locations = login_locations
|
|
94
99
|
if time_intervals is not None:
|
|
95
100
|
self.time_intervals = time_intervals
|
|
96
101
|
if top_group_id is not None:
|
|
@@ -266,6 +271,27 @@ class UpdateLoginConfigRequest(object):
|
|
|
266
271
|
|
|
267
272
|
self._login_config_rules = login_config_rules
|
|
268
273
|
|
|
274
|
+
@property
|
|
275
|
+
def login_locations(self):
|
|
276
|
+
"""Gets the login_locations of this UpdateLoginConfigRequest. # noqa: E501
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
:return: The login_locations of this UpdateLoginConfigRequest. # noqa: E501
|
|
280
|
+
:rtype: list[LoginLocationForUpdateLoginConfigInput]
|
|
281
|
+
"""
|
|
282
|
+
return self._login_locations
|
|
283
|
+
|
|
284
|
+
@login_locations.setter
|
|
285
|
+
def login_locations(self, login_locations):
|
|
286
|
+
"""Sets the login_locations of this UpdateLoginConfigRequest.
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
:param login_locations: The login_locations of this UpdateLoginConfigRequest. # noqa: E501
|
|
290
|
+
:type: list[LoginLocationForUpdateLoginConfigInput]
|
|
291
|
+
"""
|
|
292
|
+
|
|
293
|
+
self._login_locations = login_locations
|
|
294
|
+
|
|
269
295
|
@property
|
|
270
296
|
def time_intervals(self):
|
|
271
297
|
"""Gets the time_intervals of this UpdateLoginConfigRequest. # noqa: E501
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
seccenter20240508
|
|
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 UpdateOfflineNotificationConfigRequest(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
|
+
'notification_switch_on': 'bool',
|
|
37
|
+
'notification_threshold': 'int'
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
attribute_map = {
|
|
41
|
+
'notification_switch_on': 'NotificationSwitchOn',
|
|
42
|
+
'notification_threshold': 'NotificationThreshold'
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
def __init__(self, notification_switch_on=None, notification_threshold=None, _configuration=None): # noqa: E501
|
|
46
|
+
"""UpdateOfflineNotificationConfigRequest - a model defined in Swagger""" # noqa: E501
|
|
47
|
+
if _configuration is None:
|
|
48
|
+
_configuration = Configuration()
|
|
49
|
+
self._configuration = _configuration
|
|
50
|
+
|
|
51
|
+
self._notification_switch_on = None
|
|
52
|
+
self._notification_threshold = None
|
|
53
|
+
self.discriminator = None
|
|
54
|
+
|
|
55
|
+
self.notification_switch_on = notification_switch_on
|
|
56
|
+
self.notification_threshold = notification_threshold
|
|
57
|
+
|
|
58
|
+
@property
|
|
59
|
+
def notification_switch_on(self):
|
|
60
|
+
"""Gets the notification_switch_on of this UpdateOfflineNotificationConfigRequest. # noqa: E501
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
:return: The notification_switch_on of this UpdateOfflineNotificationConfigRequest. # noqa: E501
|
|
64
|
+
:rtype: bool
|
|
65
|
+
"""
|
|
66
|
+
return self._notification_switch_on
|
|
67
|
+
|
|
68
|
+
@notification_switch_on.setter
|
|
69
|
+
def notification_switch_on(self, notification_switch_on):
|
|
70
|
+
"""Sets the notification_switch_on of this UpdateOfflineNotificationConfigRequest.
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
:param notification_switch_on: The notification_switch_on of this UpdateOfflineNotificationConfigRequest. # noqa: E501
|
|
74
|
+
:type: bool
|
|
75
|
+
"""
|
|
76
|
+
if self._configuration.client_side_validation and notification_switch_on is None:
|
|
77
|
+
raise ValueError("Invalid value for `notification_switch_on`, must not be `None`") # noqa: E501
|
|
78
|
+
|
|
79
|
+
self._notification_switch_on = notification_switch_on
|
|
80
|
+
|
|
81
|
+
@property
|
|
82
|
+
def notification_threshold(self):
|
|
83
|
+
"""Gets the notification_threshold of this UpdateOfflineNotificationConfigRequest. # noqa: E501
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
:return: The notification_threshold of this UpdateOfflineNotificationConfigRequest. # noqa: E501
|
|
87
|
+
:rtype: int
|
|
88
|
+
"""
|
|
89
|
+
return self._notification_threshold
|
|
90
|
+
|
|
91
|
+
@notification_threshold.setter
|
|
92
|
+
def notification_threshold(self, notification_threshold):
|
|
93
|
+
"""Sets the notification_threshold of this UpdateOfflineNotificationConfigRequest.
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
:param notification_threshold: The notification_threshold of this UpdateOfflineNotificationConfigRequest. # noqa: E501
|
|
97
|
+
:type: int
|
|
98
|
+
"""
|
|
99
|
+
if self._configuration.client_side_validation and notification_threshold is None:
|
|
100
|
+
raise ValueError("Invalid value for `notification_threshold`, must not be `None`") # noqa: E501
|
|
101
|
+
|
|
102
|
+
self._notification_threshold = notification_threshold
|
|
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(UpdateOfflineNotificationConfigRequest, 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, UpdateOfflineNotificationConfigRequest):
|
|
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, UpdateOfflineNotificationConfigRequest):
|
|
149
|
+
return True
|
|
150
|
+
|
|
151
|
+
return self.to_dict() != other.to_dict()
|