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,487 @@
|
|
|
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 DataForListBanIPListOutput(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
|
+
'account_id': 'str',
|
|
37
|
+
'ban_end_time_unix': 'int',
|
|
38
|
+
'ban_ip': 'str',
|
|
39
|
+
'ban_start_time_unix': 'int',
|
|
40
|
+
'ban_type': 'str',
|
|
41
|
+
'id': 'str',
|
|
42
|
+
'insert_time': 'int',
|
|
43
|
+
'port_end': 'int',
|
|
44
|
+
'port_start': 'int',
|
|
45
|
+
'reason': 'str',
|
|
46
|
+
'region': 'str',
|
|
47
|
+
'relate_alarm_info': 'RelateAlarmInfoForListBanIPListOutput',
|
|
48
|
+
'security_group_id': 'str',
|
|
49
|
+
'status': 'str',
|
|
50
|
+
'host_info': 'HostInfoForListBanIPListOutput'
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
attribute_map = {
|
|
54
|
+
'account_id': 'AccountID',
|
|
55
|
+
'ban_end_time_unix': 'BanEndTimeUnix',
|
|
56
|
+
'ban_ip': 'BanIP',
|
|
57
|
+
'ban_start_time_unix': 'BanStartTimeUnix',
|
|
58
|
+
'ban_type': 'BanType',
|
|
59
|
+
'id': 'ID',
|
|
60
|
+
'insert_time': 'InsertTime',
|
|
61
|
+
'port_end': 'PortEnd',
|
|
62
|
+
'port_start': 'PortStart',
|
|
63
|
+
'reason': 'Reason',
|
|
64
|
+
'region': 'Region',
|
|
65
|
+
'relate_alarm_info': 'RelateAlarmInfo',
|
|
66
|
+
'security_group_id': 'SecurityGroupID',
|
|
67
|
+
'status': 'Status',
|
|
68
|
+
'host_info': 'hostInfo'
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
def __init__(self, account_id=None, ban_end_time_unix=None, ban_ip=None, ban_start_time_unix=None, ban_type=None, id=None, insert_time=None, port_end=None, port_start=None, reason=None, region=None, relate_alarm_info=None, security_group_id=None, status=None, host_info=None, _configuration=None): # noqa: E501
|
|
72
|
+
"""DataForListBanIPListOutput - a model defined in Swagger""" # noqa: E501
|
|
73
|
+
if _configuration is None:
|
|
74
|
+
_configuration = Configuration()
|
|
75
|
+
self._configuration = _configuration
|
|
76
|
+
|
|
77
|
+
self._account_id = None
|
|
78
|
+
self._ban_end_time_unix = None
|
|
79
|
+
self._ban_ip = None
|
|
80
|
+
self._ban_start_time_unix = None
|
|
81
|
+
self._ban_type = None
|
|
82
|
+
self._id = None
|
|
83
|
+
self._insert_time = None
|
|
84
|
+
self._port_end = None
|
|
85
|
+
self._port_start = None
|
|
86
|
+
self._reason = None
|
|
87
|
+
self._region = None
|
|
88
|
+
self._relate_alarm_info = None
|
|
89
|
+
self._security_group_id = None
|
|
90
|
+
self._status = None
|
|
91
|
+
self._host_info = None
|
|
92
|
+
self.discriminator = None
|
|
93
|
+
|
|
94
|
+
if account_id is not None:
|
|
95
|
+
self.account_id = account_id
|
|
96
|
+
if ban_end_time_unix is not None:
|
|
97
|
+
self.ban_end_time_unix = ban_end_time_unix
|
|
98
|
+
if ban_ip is not None:
|
|
99
|
+
self.ban_ip = ban_ip
|
|
100
|
+
if ban_start_time_unix is not None:
|
|
101
|
+
self.ban_start_time_unix = ban_start_time_unix
|
|
102
|
+
if ban_type is not None:
|
|
103
|
+
self.ban_type = ban_type
|
|
104
|
+
if id is not None:
|
|
105
|
+
self.id = id
|
|
106
|
+
if insert_time is not None:
|
|
107
|
+
self.insert_time = insert_time
|
|
108
|
+
if port_end is not None:
|
|
109
|
+
self.port_end = port_end
|
|
110
|
+
if port_start is not None:
|
|
111
|
+
self.port_start = port_start
|
|
112
|
+
if reason is not None:
|
|
113
|
+
self.reason = reason
|
|
114
|
+
if region is not None:
|
|
115
|
+
self.region = region
|
|
116
|
+
if relate_alarm_info is not None:
|
|
117
|
+
self.relate_alarm_info = relate_alarm_info
|
|
118
|
+
if security_group_id is not None:
|
|
119
|
+
self.security_group_id = security_group_id
|
|
120
|
+
if status is not None:
|
|
121
|
+
self.status = status
|
|
122
|
+
if host_info is not None:
|
|
123
|
+
self.host_info = host_info
|
|
124
|
+
|
|
125
|
+
@property
|
|
126
|
+
def account_id(self):
|
|
127
|
+
"""Gets the account_id of this DataForListBanIPListOutput. # noqa: E501
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
:return: The account_id of this DataForListBanIPListOutput. # noqa: E501
|
|
131
|
+
:rtype: str
|
|
132
|
+
"""
|
|
133
|
+
return self._account_id
|
|
134
|
+
|
|
135
|
+
@account_id.setter
|
|
136
|
+
def account_id(self, account_id):
|
|
137
|
+
"""Sets the account_id of this DataForListBanIPListOutput.
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
:param account_id: The account_id of this DataForListBanIPListOutput. # noqa: E501
|
|
141
|
+
:type: str
|
|
142
|
+
"""
|
|
143
|
+
|
|
144
|
+
self._account_id = account_id
|
|
145
|
+
|
|
146
|
+
@property
|
|
147
|
+
def ban_end_time_unix(self):
|
|
148
|
+
"""Gets the ban_end_time_unix of this DataForListBanIPListOutput. # noqa: E501
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
:return: The ban_end_time_unix of this DataForListBanIPListOutput. # noqa: E501
|
|
152
|
+
:rtype: int
|
|
153
|
+
"""
|
|
154
|
+
return self._ban_end_time_unix
|
|
155
|
+
|
|
156
|
+
@ban_end_time_unix.setter
|
|
157
|
+
def ban_end_time_unix(self, ban_end_time_unix):
|
|
158
|
+
"""Sets the ban_end_time_unix of this DataForListBanIPListOutput.
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
:param ban_end_time_unix: The ban_end_time_unix of this DataForListBanIPListOutput. # noqa: E501
|
|
162
|
+
:type: int
|
|
163
|
+
"""
|
|
164
|
+
|
|
165
|
+
self._ban_end_time_unix = ban_end_time_unix
|
|
166
|
+
|
|
167
|
+
@property
|
|
168
|
+
def ban_ip(self):
|
|
169
|
+
"""Gets the ban_ip of this DataForListBanIPListOutput. # noqa: E501
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
:return: The ban_ip of this DataForListBanIPListOutput. # noqa: E501
|
|
173
|
+
:rtype: str
|
|
174
|
+
"""
|
|
175
|
+
return self._ban_ip
|
|
176
|
+
|
|
177
|
+
@ban_ip.setter
|
|
178
|
+
def ban_ip(self, ban_ip):
|
|
179
|
+
"""Sets the ban_ip of this DataForListBanIPListOutput.
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
:param ban_ip: The ban_ip of this DataForListBanIPListOutput. # noqa: E501
|
|
183
|
+
:type: str
|
|
184
|
+
"""
|
|
185
|
+
|
|
186
|
+
self._ban_ip = ban_ip
|
|
187
|
+
|
|
188
|
+
@property
|
|
189
|
+
def ban_start_time_unix(self):
|
|
190
|
+
"""Gets the ban_start_time_unix of this DataForListBanIPListOutput. # noqa: E501
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
:return: The ban_start_time_unix of this DataForListBanIPListOutput. # noqa: E501
|
|
194
|
+
:rtype: int
|
|
195
|
+
"""
|
|
196
|
+
return self._ban_start_time_unix
|
|
197
|
+
|
|
198
|
+
@ban_start_time_unix.setter
|
|
199
|
+
def ban_start_time_unix(self, ban_start_time_unix):
|
|
200
|
+
"""Sets the ban_start_time_unix of this DataForListBanIPListOutput.
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
:param ban_start_time_unix: The ban_start_time_unix of this DataForListBanIPListOutput. # noqa: E501
|
|
204
|
+
:type: int
|
|
205
|
+
"""
|
|
206
|
+
|
|
207
|
+
self._ban_start_time_unix = ban_start_time_unix
|
|
208
|
+
|
|
209
|
+
@property
|
|
210
|
+
def ban_type(self):
|
|
211
|
+
"""Gets the ban_type of this DataForListBanIPListOutput. # noqa: E501
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
:return: The ban_type of this DataForListBanIPListOutput. # noqa: E501
|
|
215
|
+
:rtype: str
|
|
216
|
+
"""
|
|
217
|
+
return self._ban_type
|
|
218
|
+
|
|
219
|
+
@ban_type.setter
|
|
220
|
+
def ban_type(self, ban_type):
|
|
221
|
+
"""Sets the ban_type of this DataForListBanIPListOutput.
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
:param ban_type: The ban_type of this DataForListBanIPListOutput. # noqa: E501
|
|
225
|
+
:type: str
|
|
226
|
+
"""
|
|
227
|
+
|
|
228
|
+
self._ban_type = ban_type
|
|
229
|
+
|
|
230
|
+
@property
|
|
231
|
+
def id(self):
|
|
232
|
+
"""Gets the id of this DataForListBanIPListOutput. # noqa: E501
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
:return: The id of this DataForListBanIPListOutput. # noqa: E501
|
|
236
|
+
:rtype: str
|
|
237
|
+
"""
|
|
238
|
+
return self._id
|
|
239
|
+
|
|
240
|
+
@id.setter
|
|
241
|
+
def id(self, id):
|
|
242
|
+
"""Sets the id of this DataForListBanIPListOutput.
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
:param id: The id of this DataForListBanIPListOutput. # noqa: E501
|
|
246
|
+
:type: str
|
|
247
|
+
"""
|
|
248
|
+
|
|
249
|
+
self._id = id
|
|
250
|
+
|
|
251
|
+
@property
|
|
252
|
+
def insert_time(self):
|
|
253
|
+
"""Gets the insert_time of this DataForListBanIPListOutput. # noqa: E501
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
:return: The insert_time of this DataForListBanIPListOutput. # noqa: E501
|
|
257
|
+
:rtype: int
|
|
258
|
+
"""
|
|
259
|
+
return self._insert_time
|
|
260
|
+
|
|
261
|
+
@insert_time.setter
|
|
262
|
+
def insert_time(self, insert_time):
|
|
263
|
+
"""Sets the insert_time of this DataForListBanIPListOutput.
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
:param insert_time: The insert_time of this DataForListBanIPListOutput. # noqa: E501
|
|
267
|
+
:type: int
|
|
268
|
+
"""
|
|
269
|
+
|
|
270
|
+
self._insert_time = insert_time
|
|
271
|
+
|
|
272
|
+
@property
|
|
273
|
+
def port_end(self):
|
|
274
|
+
"""Gets the port_end of this DataForListBanIPListOutput. # noqa: E501
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
:return: The port_end of this DataForListBanIPListOutput. # noqa: E501
|
|
278
|
+
:rtype: int
|
|
279
|
+
"""
|
|
280
|
+
return self._port_end
|
|
281
|
+
|
|
282
|
+
@port_end.setter
|
|
283
|
+
def port_end(self, port_end):
|
|
284
|
+
"""Sets the port_end of this DataForListBanIPListOutput.
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
:param port_end: The port_end of this DataForListBanIPListOutput. # noqa: E501
|
|
288
|
+
:type: int
|
|
289
|
+
"""
|
|
290
|
+
|
|
291
|
+
self._port_end = port_end
|
|
292
|
+
|
|
293
|
+
@property
|
|
294
|
+
def port_start(self):
|
|
295
|
+
"""Gets the port_start of this DataForListBanIPListOutput. # noqa: E501
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
:return: The port_start of this DataForListBanIPListOutput. # noqa: E501
|
|
299
|
+
:rtype: int
|
|
300
|
+
"""
|
|
301
|
+
return self._port_start
|
|
302
|
+
|
|
303
|
+
@port_start.setter
|
|
304
|
+
def port_start(self, port_start):
|
|
305
|
+
"""Sets the port_start of this DataForListBanIPListOutput.
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
:param port_start: The port_start of this DataForListBanIPListOutput. # noqa: E501
|
|
309
|
+
:type: int
|
|
310
|
+
"""
|
|
311
|
+
|
|
312
|
+
self._port_start = port_start
|
|
313
|
+
|
|
314
|
+
@property
|
|
315
|
+
def reason(self):
|
|
316
|
+
"""Gets the reason of this DataForListBanIPListOutput. # noqa: E501
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
:return: The reason of this DataForListBanIPListOutput. # noqa: E501
|
|
320
|
+
:rtype: str
|
|
321
|
+
"""
|
|
322
|
+
return self._reason
|
|
323
|
+
|
|
324
|
+
@reason.setter
|
|
325
|
+
def reason(self, reason):
|
|
326
|
+
"""Sets the reason of this DataForListBanIPListOutput.
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
:param reason: The reason of this DataForListBanIPListOutput. # noqa: E501
|
|
330
|
+
:type: str
|
|
331
|
+
"""
|
|
332
|
+
|
|
333
|
+
self._reason = reason
|
|
334
|
+
|
|
335
|
+
@property
|
|
336
|
+
def region(self):
|
|
337
|
+
"""Gets the region of this DataForListBanIPListOutput. # noqa: E501
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
:return: The region of this DataForListBanIPListOutput. # noqa: E501
|
|
341
|
+
:rtype: str
|
|
342
|
+
"""
|
|
343
|
+
return self._region
|
|
344
|
+
|
|
345
|
+
@region.setter
|
|
346
|
+
def region(self, region):
|
|
347
|
+
"""Sets the region of this DataForListBanIPListOutput.
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
:param region: The region of this DataForListBanIPListOutput. # noqa: E501
|
|
351
|
+
:type: str
|
|
352
|
+
"""
|
|
353
|
+
|
|
354
|
+
self._region = region
|
|
355
|
+
|
|
356
|
+
@property
|
|
357
|
+
def relate_alarm_info(self):
|
|
358
|
+
"""Gets the relate_alarm_info of this DataForListBanIPListOutput. # noqa: E501
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
:return: The relate_alarm_info of this DataForListBanIPListOutput. # noqa: E501
|
|
362
|
+
:rtype: RelateAlarmInfoForListBanIPListOutput
|
|
363
|
+
"""
|
|
364
|
+
return self._relate_alarm_info
|
|
365
|
+
|
|
366
|
+
@relate_alarm_info.setter
|
|
367
|
+
def relate_alarm_info(self, relate_alarm_info):
|
|
368
|
+
"""Sets the relate_alarm_info of this DataForListBanIPListOutput.
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
:param relate_alarm_info: The relate_alarm_info of this DataForListBanIPListOutput. # noqa: E501
|
|
372
|
+
:type: RelateAlarmInfoForListBanIPListOutput
|
|
373
|
+
"""
|
|
374
|
+
|
|
375
|
+
self._relate_alarm_info = relate_alarm_info
|
|
376
|
+
|
|
377
|
+
@property
|
|
378
|
+
def security_group_id(self):
|
|
379
|
+
"""Gets the security_group_id of this DataForListBanIPListOutput. # noqa: E501
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
:return: The security_group_id of this DataForListBanIPListOutput. # noqa: E501
|
|
383
|
+
:rtype: str
|
|
384
|
+
"""
|
|
385
|
+
return self._security_group_id
|
|
386
|
+
|
|
387
|
+
@security_group_id.setter
|
|
388
|
+
def security_group_id(self, security_group_id):
|
|
389
|
+
"""Sets the security_group_id of this DataForListBanIPListOutput.
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
:param security_group_id: The security_group_id of this DataForListBanIPListOutput. # noqa: E501
|
|
393
|
+
:type: str
|
|
394
|
+
"""
|
|
395
|
+
|
|
396
|
+
self._security_group_id = security_group_id
|
|
397
|
+
|
|
398
|
+
@property
|
|
399
|
+
def status(self):
|
|
400
|
+
"""Gets the status of this DataForListBanIPListOutput. # noqa: E501
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
:return: The status of this DataForListBanIPListOutput. # noqa: E501
|
|
404
|
+
:rtype: str
|
|
405
|
+
"""
|
|
406
|
+
return self._status
|
|
407
|
+
|
|
408
|
+
@status.setter
|
|
409
|
+
def status(self, status):
|
|
410
|
+
"""Sets the status of this DataForListBanIPListOutput.
|
|
411
|
+
|
|
412
|
+
|
|
413
|
+
:param status: The status of this DataForListBanIPListOutput. # noqa: E501
|
|
414
|
+
:type: str
|
|
415
|
+
"""
|
|
416
|
+
|
|
417
|
+
self._status = status
|
|
418
|
+
|
|
419
|
+
@property
|
|
420
|
+
def host_info(self):
|
|
421
|
+
"""Gets the host_info of this DataForListBanIPListOutput. # noqa: E501
|
|
422
|
+
|
|
423
|
+
|
|
424
|
+
:return: The host_info of this DataForListBanIPListOutput. # noqa: E501
|
|
425
|
+
:rtype: HostInfoForListBanIPListOutput
|
|
426
|
+
"""
|
|
427
|
+
return self._host_info
|
|
428
|
+
|
|
429
|
+
@host_info.setter
|
|
430
|
+
def host_info(self, host_info):
|
|
431
|
+
"""Sets the host_info of this DataForListBanIPListOutput.
|
|
432
|
+
|
|
433
|
+
|
|
434
|
+
:param host_info: The host_info of this DataForListBanIPListOutput. # noqa: E501
|
|
435
|
+
:type: HostInfoForListBanIPListOutput
|
|
436
|
+
"""
|
|
437
|
+
|
|
438
|
+
self._host_info = host_info
|
|
439
|
+
|
|
440
|
+
def to_dict(self):
|
|
441
|
+
"""Returns the model properties as a dict"""
|
|
442
|
+
result = {}
|
|
443
|
+
|
|
444
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
445
|
+
value = getattr(self, attr)
|
|
446
|
+
if isinstance(value, list):
|
|
447
|
+
result[attr] = list(map(
|
|
448
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
449
|
+
value
|
|
450
|
+
))
|
|
451
|
+
elif hasattr(value, "to_dict"):
|
|
452
|
+
result[attr] = value.to_dict()
|
|
453
|
+
elif isinstance(value, dict):
|
|
454
|
+
result[attr] = dict(map(
|
|
455
|
+
lambda item: (item[0], item[1].to_dict())
|
|
456
|
+
if hasattr(item[1], "to_dict") else item,
|
|
457
|
+
value.items()
|
|
458
|
+
))
|
|
459
|
+
else:
|
|
460
|
+
result[attr] = value
|
|
461
|
+
if issubclass(DataForListBanIPListOutput, dict):
|
|
462
|
+
for key, value in self.items():
|
|
463
|
+
result[key] = value
|
|
464
|
+
|
|
465
|
+
return result
|
|
466
|
+
|
|
467
|
+
def to_str(self):
|
|
468
|
+
"""Returns the string representation of the model"""
|
|
469
|
+
return pprint.pformat(self.to_dict())
|
|
470
|
+
|
|
471
|
+
def __repr__(self):
|
|
472
|
+
"""For `print` and `pprint`"""
|
|
473
|
+
return self.to_str()
|
|
474
|
+
|
|
475
|
+
def __eq__(self, other):
|
|
476
|
+
"""Returns true if both objects are equal"""
|
|
477
|
+
if not isinstance(other, DataForListBanIPListOutput):
|
|
478
|
+
return False
|
|
479
|
+
|
|
480
|
+
return self.to_dict() == other.to_dict()
|
|
481
|
+
|
|
482
|
+
def __ne__(self, other):
|
|
483
|
+
"""Returns true if both objects are not equal"""
|
|
484
|
+
if not isinstance(other, DataForListBanIPListOutput):
|
|
485
|
+
return True
|
|
486
|
+
|
|
487
|
+
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 DataForListBaselineBasicInfoOutput(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
|
+
'baseline_list': 'list[BaselineListForListBaselineBasicInfoOutput]',
|
|
37
|
+
'group_id': 'int',
|
|
38
|
+
'group_name': 'str',
|
|
39
|
+
'group_name_en': 'str'
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
attribute_map = {
|
|
43
|
+
'baseline_list': 'BaselineList',
|
|
44
|
+
'group_id': 'GroupID',
|
|
45
|
+
'group_name': 'GroupName',
|
|
46
|
+
'group_name_en': 'GroupNameEn'
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
def __init__(self, baseline_list=None, group_id=None, group_name=None, group_name_en=None, _configuration=None): # noqa: E501
|
|
50
|
+
"""DataForListBaselineBasicInfoOutput - a model defined in Swagger""" # noqa: E501
|
|
51
|
+
if _configuration is None:
|
|
52
|
+
_configuration = Configuration()
|
|
53
|
+
self._configuration = _configuration
|
|
54
|
+
|
|
55
|
+
self._baseline_list = None
|
|
56
|
+
self._group_id = None
|
|
57
|
+
self._group_name = None
|
|
58
|
+
self._group_name_en = None
|
|
59
|
+
self.discriminator = None
|
|
60
|
+
|
|
61
|
+
if baseline_list is not None:
|
|
62
|
+
self.baseline_list = baseline_list
|
|
63
|
+
if group_id is not None:
|
|
64
|
+
self.group_id = group_id
|
|
65
|
+
if group_name is not None:
|
|
66
|
+
self.group_name = group_name
|
|
67
|
+
if group_name_en is not None:
|
|
68
|
+
self.group_name_en = group_name_en
|
|
69
|
+
|
|
70
|
+
@property
|
|
71
|
+
def baseline_list(self):
|
|
72
|
+
"""Gets the baseline_list of this DataForListBaselineBasicInfoOutput. # noqa: E501
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
:return: The baseline_list of this DataForListBaselineBasicInfoOutput. # noqa: E501
|
|
76
|
+
:rtype: list[BaselineListForListBaselineBasicInfoOutput]
|
|
77
|
+
"""
|
|
78
|
+
return self._baseline_list
|
|
79
|
+
|
|
80
|
+
@baseline_list.setter
|
|
81
|
+
def baseline_list(self, baseline_list):
|
|
82
|
+
"""Sets the baseline_list of this DataForListBaselineBasicInfoOutput.
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
:param baseline_list: The baseline_list of this DataForListBaselineBasicInfoOutput. # noqa: E501
|
|
86
|
+
:type: list[BaselineListForListBaselineBasicInfoOutput]
|
|
87
|
+
"""
|
|
88
|
+
|
|
89
|
+
self._baseline_list = baseline_list
|
|
90
|
+
|
|
91
|
+
@property
|
|
92
|
+
def group_id(self):
|
|
93
|
+
"""Gets the group_id of this DataForListBaselineBasicInfoOutput. # noqa: E501
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
:return: The group_id of this DataForListBaselineBasicInfoOutput. # noqa: E501
|
|
97
|
+
:rtype: int
|
|
98
|
+
"""
|
|
99
|
+
return self._group_id
|
|
100
|
+
|
|
101
|
+
@group_id.setter
|
|
102
|
+
def group_id(self, group_id):
|
|
103
|
+
"""Sets the group_id of this DataForListBaselineBasicInfoOutput.
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
:param group_id: The group_id of this DataForListBaselineBasicInfoOutput. # noqa: E501
|
|
107
|
+
:type: int
|
|
108
|
+
"""
|
|
109
|
+
|
|
110
|
+
self._group_id = group_id
|
|
111
|
+
|
|
112
|
+
@property
|
|
113
|
+
def group_name(self):
|
|
114
|
+
"""Gets the group_name of this DataForListBaselineBasicInfoOutput. # noqa: E501
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
:return: The group_name of this DataForListBaselineBasicInfoOutput. # noqa: E501
|
|
118
|
+
:rtype: str
|
|
119
|
+
"""
|
|
120
|
+
return self._group_name
|
|
121
|
+
|
|
122
|
+
@group_name.setter
|
|
123
|
+
def group_name(self, group_name):
|
|
124
|
+
"""Sets the group_name of this DataForListBaselineBasicInfoOutput.
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
:param group_name: The group_name of this DataForListBaselineBasicInfoOutput. # noqa: E501
|
|
128
|
+
:type: str
|
|
129
|
+
"""
|
|
130
|
+
|
|
131
|
+
self._group_name = group_name
|
|
132
|
+
|
|
133
|
+
@property
|
|
134
|
+
def group_name_en(self):
|
|
135
|
+
"""Gets the group_name_en of this DataForListBaselineBasicInfoOutput. # noqa: E501
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
:return: The group_name_en of this DataForListBaselineBasicInfoOutput. # noqa: E501
|
|
139
|
+
:rtype: str
|
|
140
|
+
"""
|
|
141
|
+
return self._group_name_en
|
|
142
|
+
|
|
143
|
+
@group_name_en.setter
|
|
144
|
+
def group_name_en(self, group_name_en):
|
|
145
|
+
"""Sets the group_name_en of this DataForListBaselineBasicInfoOutput.
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
:param group_name_en: The group_name_en of this DataForListBaselineBasicInfoOutput. # noqa: E501
|
|
149
|
+
:type: str
|
|
150
|
+
"""
|
|
151
|
+
|
|
152
|
+
self._group_name_en = group_name_en
|
|
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(DataForListBaselineBasicInfoOutput, 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, DataForListBaselineBasicInfoOutput):
|
|
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, DataForListBaselineBasicInfoOutput):
|
|
199
|
+
return True
|
|
200
|
+
|
|
201
|
+
return self.to_dict() != other.to_dict()
|