volcengine-python-sdk 4.0.28__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.28.dist-info → volcengine_python_sdk-4.0.30.dist-info}/METADATA +1 -1
- {volcengine_python_sdk-4.0.28.dist-info → volcengine_python_sdk-4.0.30.dist-info}/RECORD +486 -80
- {volcengine_python_sdk-4.0.28.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/_client.py +7 -6
- volcenginesdkarkruntime/_utils/_key_agreement.py +18 -14
- volcenginesdkarkruntime/resources/batch_chat/completions.py +10 -141
- volcenginesdkarkruntime/resources/beta/chat/completions.py +10 -0
- volcenginesdkarkruntime/resources/chat/completions.py +9 -206
- volcenginesdkarkruntime/resources/encryption.py +217 -0
- volcenginesdkarkruntime/resources/images/images.py +72 -55
- volcenginesdkarkruntime/resources/responses/responses.py +42 -24
- volcenginesdkarkruntime/types/__init__.py +2 -0
- volcenginesdkarkruntime/types/content_generation/content_generation_task.py +15 -0
- volcenginesdkarkruntime/types/images/__init__.py +2 -2
- volcenginesdkarkruntime/types/images/images.py +7 -1
- 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/reasoning_effort.py +17 -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.28.dist-info → volcengine_python_sdk-4.0.30.dist-info}/WHEEL +0 -0
- {volcengine_python_sdk-4.0.28.dist-info → volcengine_python_sdk-4.0.30.dist-info}/licenses/LICENSE.txt +0 -0
- {volcengine_python_sdk-4.0.28.dist-info → volcengine_python_sdk-4.0.30.dist-info}/licenses/NOTICE.md +0 -0
|
@@ -0,0 +1,175 @@
|
|
|
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 PortChangeTopicConfigForGetTLSInfoOutput(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
|
+
'storage_days': 'int',
|
|
37
|
+
'switch': 'bool',
|
|
38
|
+
'topic_id': 'str'
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
attribute_map = {
|
|
42
|
+
'storage_days': 'StorageDays',
|
|
43
|
+
'switch': 'Switch',
|
|
44
|
+
'topic_id': 'TopicID'
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
def __init__(self, storage_days=None, switch=None, topic_id=None, _configuration=None): # noqa: E501
|
|
48
|
+
"""PortChangeTopicConfigForGetTLSInfoOutput - a model defined in Swagger""" # noqa: E501
|
|
49
|
+
if _configuration is None:
|
|
50
|
+
_configuration = Configuration()
|
|
51
|
+
self._configuration = _configuration
|
|
52
|
+
|
|
53
|
+
self._storage_days = None
|
|
54
|
+
self._switch = None
|
|
55
|
+
self._topic_id = None
|
|
56
|
+
self.discriminator = None
|
|
57
|
+
|
|
58
|
+
if storage_days is not None:
|
|
59
|
+
self.storage_days = storage_days
|
|
60
|
+
if switch is not None:
|
|
61
|
+
self.switch = switch
|
|
62
|
+
if topic_id is not None:
|
|
63
|
+
self.topic_id = topic_id
|
|
64
|
+
|
|
65
|
+
@property
|
|
66
|
+
def storage_days(self):
|
|
67
|
+
"""Gets the storage_days of this PortChangeTopicConfigForGetTLSInfoOutput. # noqa: E501
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
:return: The storage_days of this PortChangeTopicConfigForGetTLSInfoOutput. # noqa: E501
|
|
71
|
+
:rtype: int
|
|
72
|
+
"""
|
|
73
|
+
return self._storage_days
|
|
74
|
+
|
|
75
|
+
@storage_days.setter
|
|
76
|
+
def storage_days(self, storage_days):
|
|
77
|
+
"""Sets the storage_days of this PortChangeTopicConfigForGetTLSInfoOutput.
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
:param storage_days: The storage_days of this PortChangeTopicConfigForGetTLSInfoOutput. # noqa: E501
|
|
81
|
+
:type: int
|
|
82
|
+
"""
|
|
83
|
+
|
|
84
|
+
self._storage_days = storage_days
|
|
85
|
+
|
|
86
|
+
@property
|
|
87
|
+
def switch(self):
|
|
88
|
+
"""Gets the switch of this PortChangeTopicConfigForGetTLSInfoOutput. # noqa: E501
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
:return: The switch of this PortChangeTopicConfigForGetTLSInfoOutput. # noqa: E501
|
|
92
|
+
:rtype: bool
|
|
93
|
+
"""
|
|
94
|
+
return self._switch
|
|
95
|
+
|
|
96
|
+
@switch.setter
|
|
97
|
+
def switch(self, switch):
|
|
98
|
+
"""Sets the switch of this PortChangeTopicConfigForGetTLSInfoOutput.
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
:param switch: The switch of this PortChangeTopicConfigForGetTLSInfoOutput. # noqa: E501
|
|
102
|
+
:type: bool
|
|
103
|
+
"""
|
|
104
|
+
|
|
105
|
+
self._switch = switch
|
|
106
|
+
|
|
107
|
+
@property
|
|
108
|
+
def topic_id(self):
|
|
109
|
+
"""Gets the topic_id of this PortChangeTopicConfigForGetTLSInfoOutput. # noqa: E501
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
:return: The topic_id of this PortChangeTopicConfigForGetTLSInfoOutput. # noqa: E501
|
|
113
|
+
:rtype: str
|
|
114
|
+
"""
|
|
115
|
+
return self._topic_id
|
|
116
|
+
|
|
117
|
+
@topic_id.setter
|
|
118
|
+
def topic_id(self, topic_id):
|
|
119
|
+
"""Sets the topic_id of this PortChangeTopicConfigForGetTLSInfoOutput.
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
:param topic_id: The topic_id of this PortChangeTopicConfigForGetTLSInfoOutput. # noqa: E501
|
|
123
|
+
:type: str
|
|
124
|
+
"""
|
|
125
|
+
|
|
126
|
+
self._topic_id = topic_id
|
|
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(PortChangeTopicConfigForGetTLSInfoOutput, 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, PortChangeTopicConfigForGetTLSInfoOutput):
|
|
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, PortChangeTopicConfigForGetTLSInfoOutput):
|
|
173
|
+
return True
|
|
174
|
+
|
|
175
|
+
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 PortChangeTopicConfigForModifyTLSConfigInput(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
|
+
'storage_days': 'int',
|
|
37
|
+
'switch': 'bool'
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
attribute_map = {
|
|
41
|
+
'storage_days': 'StorageDays',
|
|
42
|
+
'switch': 'Switch'
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
def __init__(self, storage_days=None, switch=None, _configuration=None): # noqa: E501
|
|
46
|
+
"""PortChangeTopicConfigForModifyTLSConfigInput - a model defined in Swagger""" # noqa: E501
|
|
47
|
+
if _configuration is None:
|
|
48
|
+
_configuration = Configuration()
|
|
49
|
+
self._configuration = _configuration
|
|
50
|
+
|
|
51
|
+
self._storage_days = None
|
|
52
|
+
self._switch = None
|
|
53
|
+
self.discriminator = None
|
|
54
|
+
|
|
55
|
+
if storage_days is not None:
|
|
56
|
+
self.storage_days = storage_days
|
|
57
|
+
if switch is not None:
|
|
58
|
+
self.switch = switch
|
|
59
|
+
|
|
60
|
+
@property
|
|
61
|
+
def storage_days(self):
|
|
62
|
+
"""Gets the storage_days of this PortChangeTopicConfigForModifyTLSConfigInput. # noqa: E501
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
:return: The storage_days of this PortChangeTopicConfigForModifyTLSConfigInput. # noqa: E501
|
|
66
|
+
:rtype: int
|
|
67
|
+
"""
|
|
68
|
+
return self._storage_days
|
|
69
|
+
|
|
70
|
+
@storage_days.setter
|
|
71
|
+
def storage_days(self, storage_days):
|
|
72
|
+
"""Sets the storage_days of this PortChangeTopicConfigForModifyTLSConfigInput.
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
:param storage_days: The storage_days of this PortChangeTopicConfigForModifyTLSConfigInput. # noqa: E501
|
|
76
|
+
:type: int
|
|
77
|
+
"""
|
|
78
|
+
|
|
79
|
+
self._storage_days = storage_days
|
|
80
|
+
|
|
81
|
+
@property
|
|
82
|
+
def switch(self):
|
|
83
|
+
"""Gets the switch of this PortChangeTopicConfigForModifyTLSConfigInput. # noqa: E501
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
:return: The switch of this PortChangeTopicConfigForModifyTLSConfigInput. # noqa: E501
|
|
87
|
+
:rtype: bool
|
|
88
|
+
"""
|
|
89
|
+
return self._switch
|
|
90
|
+
|
|
91
|
+
@switch.setter
|
|
92
|
+
def switch(self, switch):
|
|
93
|
+
"""Sets the switch of this PortChangeTopicConfigForModifyTLSConfigInput.
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
:param switch: The switch of this PortChangeTopicConfigForModifyTLSConfigInput. # noqa: E501
|
|
97
|
+
:type: bool
|
|
98
|
+
"""
|
|
99
|
+
|
|
100
|
+
self._switch = switch
|
|
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(PortChangeTopicConfigForModifyTLSConfigInput, 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, PortChangeTopicConfigForModifyTLSConfigInput):
|
|
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, PortChangeTopicConfigForModifyTLSConfigInput):
|
|
147
|
+
return True
|
|
148
|
+
|
|
149
|
+
return self.to_dict() != other.to_dict()
|
volcenginesdkseccenter20240508/models/proc_list_for_list_batch_endpoint_handle_methods_output.py
ADDED
|
@@ -0,0 +1,175 @@
|
|
|
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 ProcListForListBatchEndpointHandleMethodsOutput(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
|
+
'cmdline': 'str',
|
|
37
|
+
'exe': 'str',
|
|
38
|
+
'pid': 'int'
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
attribute_map = {
|
|
42
|
+
'cmdline': 'Cmdline',
|
|
43
|
+
'exe': 'Exe',
|
|
44
|
+
'pid': 'Pid'
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
def __init__(self, cmdline=None, exe=None, pid=None, _configuration=None): # noqa: E501
|
|
48
|
+
"""ProcListForListBatchEndpointHandleMethodsOutput - a model defined in Swagger""" # noqa: E501
|
|
49
|
+
if _configuration is None:
|
|
50
|
+
_configuration = Configuration()
|
|
51
|
+
self._configuration = _configuration
|
|
52
|
+
|
|
53
|
+
self._cmdline = None
|
|
54
|
+
self._exe = None
|
|
55
|
+
self._pid = None
|
|
56
|
+
self.discriminator = None
|
|
57
|
+
|
|
58
|
+
if cmdline is not None:
|
|
59
|
+
self.cmdline = cmdline
|
|
60
|
+
if exe is not None:
|
|
61
|
+
self.exe = exe
|
|
62
|
+
if pid is not None:
|
|
63
|
+
self.pid = pid
|
|
64
|
+
|
|
65
|
+
@property
|
|
66
|
+
def cmdline(self):
|
|
67
|
+
"""Gets the cmdline of this ProcListForListBatchEndpointHandleMethodsOutput. # noqa: E501
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
:return: The cmdline of this ProcListForListBatchEndpointHandleMethodsOutput. # noqa: E501
|
|
71
|
+
:rtype: str
|
|
72
|
+
"""
|
|
73
|
+
return self._cmdline
|
|
74
|
+
|
|
75
|
+
@cmdline.setter
|
|
76
|
+
def cmdline(self, cmdline):
|
|
77
|
+
"""Sets the cmdline of this ProcListForListBatchEndpointHandleMethodsOutput.
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
:param cmdline: The cmdline of this ProcListForListBatchEndpointHandleMethodsOutput. # noqa: E501
|
|
81
|
+
:type: str
|
|
82
|
+
"""
|
|
83
|
+
|
|
84
|
+
self._cmdline = cmdline
|
|
85
|
+
|
|
86
|
+
@property
|
|
87
|
+
def exe(self):
|
|
88
|
+
"""Gets the exe of this ProcListForListBatchEndpointHandleMethodsOutput. # noqa: E501
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
:return: The exe of this ProcListForListBatchEndpointHandleMethodsOutput. # noqa: E501
|
|
92
|
+
:rtype: str
|
|
93
|
+
"""
|
|
94
|
+
return self._exe
|
|
95
|
+
|
|
96
|
+
@exe.setter
|
|
97
|
+
def exe(self, exe):
|
|
98
|
+
"""Sets the exe of this ProcListForListBatchEndpointHandleMethodsOutput.
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
:param exe: The exe of this ProcListForListBatchEndpointHandleMethodsOutput. # noqa: E501
|
|
102
|
+
:type: str
|
|
103
|
+
"""
|
|
104
|
+
|
|
105
|
+
self._exe = exe
|
|
106
|
+
|
|
107
|
+
@property
|
|
108
|
+
def pid(self):
|
|
109
|
+
"""Gets the pid of this ProcListForListBatchEndpointHandleMethodsOutput. # noqa: E501
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
:return: The pid of this ProcListForListBatchEndpointHandleMethodsOutput. # noqa: E501
|
|
113
|
+
:rtype: int
|
|
114
|
+
"""
|
|
115
|
+
return self._pid
|
|
116
|
+
|
|
117
|
+
@pid.setter
|
|
118
|
+
def pid(self, pid):
|
|
119
|
+
"""Sets the pid of this ProcListForListBatchEndpointHandleMethodsOutput.
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
:param pid: The pid of this ProcListForListBatchEndpointHandleMethodsOutput. # noqa: E501
|
|
123
|
+
:type: int
|
|
124
|
+
"""
|
|
125
|
+
|
|
126
|
+
self._pid = pid
|
|
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(ProcListForListBatchEndpointHandleMethodsOutput, 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, ProcListForListBatchEndpointHandleMethodsOutput):
|
|
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, ProcListForListBatchEndpointHandleMethodsOutput):
|
|
173
|
+
return True
|
|
174
|
+
|
|
175
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,175 @@
|
|
|
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 ProcessForHandleEndpointAlarmsInput(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
|
+
'cmdline': 'str',
|
|
37
|
+
'exe': 'str',
|
|
38
|
+
'pid': 'int'
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
attribute_map = {
|
|
42
|
+
'cmdline': 'Cmdline',
|
|
43
|
+
'exe': 'Exe',
|
|
44
|
+
'pid': 'Pid'
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
def __init__(self, cmdline=None, exe=None, pid=None, _configuration=None): # noqa: E501
|
|
48
|
+
"""ProcessForHandleEndpointAlarmsInput - a model defined in Swagger""" # noqa: E501
|
|
49
|
+
if _configuration is None:
|
|
50
|
+
_configuration = Configuration()
|
|
51
|
+
self._configuration = _configuration
|
|
52
|
+
|
|
53
|
+
self._cmdline = None
|
|
54
|
+
self._exe = None
|
|
55
|
+
self._pid = None
|
|
56
|
+
self.discriminator = None
|
|
57
|
+
|
|
58
|
+
if cmdline is not None:
|
|
59
|
+
self.cmdline = cmdline
|
|
60
|
+
if exe is not None:
|
|
61
|
+
self.exe = exe
|
|
62
|
+
if pid is not None:
|
|
63
|
+
self.pid = pid
|
|
64
|
+
|
|
65
|
+
@property
|
|
66
|
+
def cmdline(self):
|
|
67
|
+
"""Gets the cmdline of this ProcessForHandleEndpointAlarmsInput. # noqa: E501
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
:return: The cmdline of this ProcessForHandleEndpointAlarmsInput. # noqa: E501
|
|
71
|
+
:rtype: str
|
|
72
|
+
"""
|
|
73
|
+
return self._cmdline
|
|
74
|
+
|
|
75
|
+
@cmdline.setter
|
|
76
|
+
def cmdline(self, cmdline):
|
|
77
|
+
"""Sets the cmdline of this ProcessForHandleEndpointAlarmsInput.
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
:param cmdline: The cmdline of this ProcessForHandleEndpointAlarmsInput. # noqa: E501
|
|
81
|
+
:type: str
|
|
82
|
+
"""
|
|
83
|
+
|
|
84
|
+
self._cmdline = cmdline
|
|
85
|
+
|
|
86
|
+
@property
|
|
87
|
+
def exe(self):
|
|
88
|
+
"""Gets the exe of this ProcessForHandleEndpointAlarmsInput. # noqa: E501
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
:return: The exe of this ProcessForHandleEndpointAlarmsInput. # noqa: E501
|
|
92
|
+
:rtype: str
|
|
93
|
+
"""
|
|
94
|
+
return self._exe
|
|
95
|
+
|
|
96
|
+
@exe.setter
|
|
97
|
+
def exe(self, exe):
|
|
98
|
+
"""Sets the exe of this ProcessForHandleEndpointAlarmsInput.
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
:param exe: The exe of this ProcessForHandleEndpointAlarmsInput. # noqa: E501
|
|
102
|
+
:type: str
|
|
103
|
+
"""
|
|
104
|
+
|
|
105
|
+
self._exe = exe
|
|
106
|
+
|
|
107
|
+
@property
|
|
108
|
+
def pid(self):
|
|
109
|
+
"""Gets the pid of this ProcessForHandleEndpointAlarmsInput. # noqa: E501
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
:return: The pid of this ProcessForHandleEndpointAlarmsInput. # noqa: E501
|
|
113
|
+
:rtype: int
|
|
114
|
+
"""
|
|
115
|
+
return self._pid
|
|
116
|
+
|
|
117
|
+
@pid.setter
|
|
118
|
+
def pid(self, pid):
|
|
119
|
+
"""Sets the pid of this ProcessForHandleEndpointAlarmsInput.
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
:param pid: The pid of this ProcessForHandleEndpointAlarmsInput. # noqa: E501
|
|
123
|
+
:type: int
|
|
124
|
+
"""
|
|
125
|
+
|
|
126
|
+
self._pid = pid
|
|
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(ProcessForHandleEndpointAlarmsInput, 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, ProcessForHandleEndpointAlarmsInput):
|
|
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, ProcessForHandleEndpointAlarmsInput):
|
|
173
|
+
return True
|
|
174
|
+
|
|
175
|
+
return self.to_dict() != other.to_dict()
|