volcengine-python-sdk 4.0.29__py2.py3-none-any.whl → 4.0.30__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of volcengine-python-sdk might be problematic. Click here for more details.
- {volcengine_python_sdk-4.0.29.dist-info → volcengine_python_sdk-4.0.30.dist-info}/METADATA +1 -1
- {volcengine_python_sdk-4.0.29.dist-info → volcengine_python_sdk-4.0.30.dist-info}/RECORD +476 -72
- {volcengine_python_sdk-4.0.29.dist-info → volcengine_python_sdk-4.0.30.dist-info}/top_level.txt +2 -0
- volcenginesdkacep/__init__.py +42 -0
- volcenginesdkacep/api/acep_api.py +1001 -128
- volcenginesdkacep/models/__init__.py +42 -0
- volcenginesdkacep/models/add_phone_template_request.py +256 -0
- volcenginesdkacep/models/add_phone_template_response.py +123 -0
- volcenginesdkacep/models/app_list_for_create_pod_one_step_input.py +149 -0
- volcenginesdkacep/models/create_pod_one_step_request.py +698 -0
- volcenginesdkacep/models/create_pod_one_step_response.py +175 -0
- volcenginesdkacep/models/create_pod_request.py +696 -0
- volcenginesdkacep/models/create_pod_response.py +149 -0
- volcenginesdkacep/models/get_phone_template_request.py +124 -0
- volcenginesdkacep/models/get_phone_template_response.py +149 -0
- volcenginesdkacep/models/job_for_reset_pod_output.py +305 -0
- volcenginesdkacep/models/list_phone_template_request.py +279 -0
- volcenginesdkacep/models/list_phone_template_response.py +149 -0
- volcenginesdkacep/models/overlay_persist_property_for_add_phone_template_input.py +175 -0
- volcenginesdkacep/models/overlay_persist_property_for_create_pod_input.py +175 -0
- volcenginesdkacep/models/overlay_persist_property_for_create_pod_one_step_input.py +175 -0
- volcenginesdkacep/models/overlay_persist_property_for_get_phone_template_output.py +175 -0
- volcenginesdkacep/models/overlay_persist_property_for_list_phone_template_output.py +175 -0
- volcenginesdkacep/models/overlay_property_for_add_phone_template_input.py +175 -0
- volcenginesdkacep/models/overlay_property_for_create_pod_input.py +175 -0
- volcenginesdkacep/models/overlay_property_for_create_pod_one_step_input.py +175 -0
- volcenginesdkacep/models/overlay_property_for_get_phone_template_output.py +175 -0
- volcenginesdkacep/models/overlay_property_for_list_phone_template_output.py +175 -0
- volcenginesdkacep/models/overlay_setting_for_add_phone_template_input.py +201 -0
- volcenginesdkacep/models/overlay_setting_for_create_pod_input.py +201 -0
- volcenginesdkacep/models/overlay_setting_for_create_pod_one_step_input.py +201 -0
- volcenginesdkacep/models/overlay_setting_for_get_phone_template_output.py +201 -0
- volcenginesdkacep/models/overlay_setting_for_list_phone_template_output.py +201 -0
- volcenginesdkacep/models/phone_template_for_get_phone_template_output.py +279 -0
- volcenginesdkacep/models/pod_persist_property_for_update_pod_property_input.py +175 -0
- volcenginesdkacep/models/pod_property_for_update_pod_property_input.py +175 -0
- volcenginesdkacep/models/pod_setting_for_update_pod_property_input.py +201 -0
- volcenginesdkacep/models/pod_spec_list_for_create_pod_input.py +617 -0
- volcenginesdkacep/models/remove_phone_template_request.py +123 -0
- volcenginesdkacep/models/remove_phone_template_response.py +123 -0
- volcenginesdkacep/models/reset_pod_request.py +280 -0
- volcenginesdkacep/models/reset_pod_response.py +175 -0
- volcenginesdkacep/models/row_for_list_phone_template_output.py +279 -0
- volcenginesdkacep/models/tag_for_get_phone_template_output.py +201 -0
- volcenginesdkacep/models/update_phone_template_request.py +176 -0
- volcenginesdkacep/models/update_phone_template_response.py +95 -0
- volcenginesdkacep/models/update_pod_property_request.py +280 -0
- volcenginesdkacep/models/update_pod_property_response.py +95 -0
- volcenginesdkarkruntime/resources/encryption.py +10 -2
- volcenginesdkarkruntime/resources/responses/responses.py +42 -24
- volcenginesdkarkruntime/types/__init__.py +2 -0
- volcenginesdkarkruntime/types/responses/audio_chunking_strategy.py +30 -0
- volcenginesdkarkruntime/types/responses/audio_chunking_strategy_param.py +28 -0
- volcenginesdkarkruntime/types/responses/image_process_grounding_options.py +23 -0
- volcenginesdkarkruntime/types/responses/image_process_grounding_options_param.py +23 -0
- volcenginesdkarkruntime/types/responses/image_process_point_options.py +23 -0
- volcenginesdkarkruntime/types/responses/image_process_point_options_param.py +23 -0
- volcenginesdkarkruntime/types/responses/image_process_rotate_options.py +23 -0
- volcenginesdkarkruntime/types/responses/image_process_rotate_options_param.py +23 -0
- volcenginesdkarkruntime/types/responses/image_process_tool.py +41 -0
- volcenginesdkarkruntime/types/responses/image_process_tool_param.py +40 -0
- volcenginesdkarkruntime/types/responses/image_process_zoom_options.py +23 -0
- volcenginesdkarkruntime/types/responses/image_process_zoom_options_param.py +23 -0
- volcenginesdkarkruntime/types/responses/item_function_image_process.py +37 -0
- volcenginesdkarkruntime/types/responses/knowledge_search_tool.py +46 -0
- volcenginesdkarkruntime/types/responses/knowledge_search_tool_param.py +44 -0
- volcenginesdkarkruntime/types/responses/mcp_tool.py +8 -4
- volcenginesdkarkruntime/types/responses/response.py +58 -92
- volcenginesdkarkruntime/types/responses/response_annotation_added_event.py +3 -22
- volcenginesdkarkruntime/types/responses/response_caching.py +6 -6
- volcenginesdkarkruntime/types/responses/response_caching_param.py +7 -4
- volcenginesdkarkruntime/types/responses/response_create_params.py +11 -3
- volcenginesdkarkruntime/types/responses/response_image_process_action.py +24 -0
- volcenginesdkarkruntime/types/responses/response_image_process_args.py +30 -0
- volcenginesdkarkruntime/types/responses/response_image_process_call_completed_event.py +35 -0
- volcenginesdkarkruntime/types/responses/response_image_process_call_in_progress_event.py +24 -0
- volcenginesdkarkruntime/types/responses/response_image_process_call_processing_event.py +30 -0
- volcenginesdkarkruntime/types/responses/response_image_process_error.py +20 -0
- volcenginesdkarkruntime/types/responses/response_image_process_grounding_args.py +24 -0
- volcenginesdkarkruntime/types/responses/response_image_process_point_args.py +24 -0
- volcenginesdkarkruntime/types/responses/response_image_process_rotate_args.py +22 -0
- volcenginesdkarkruntime/types/responses/response_image_process_zoom_args.py +24 -0
- volcenginesdkarkruntime/types/responses/response_input_audio.py +33 -0
- volcenginesdkarkruntime/types/responses/response_input_audio_param.py +32 -0
- volcenginesdkarkruntime/types/responses/response_input_content.py +13 -3
- volcenginesdkarkruntime/types/responses/response_input_file.py +32 -0
- volcenginesdkarkruntime/types/responses/response_input_file_param.py +30 -0
- volcenginesdkarkruntime/types/responses/response_input_message_content_list_param.py +11 -3
- volcenginesdkarkruntime/types/responses/response_input_video.py +33 -0
- volcenginesdkarkruntime/types/responses/response_input_video_param.py +6 -9
- volcenginesdkarkruntime/types/responses/response_knowledge_search_call_completed_event.py +24 -0
- volcenginesdkarkruntime/types/responses/response_knowledge_search_call_failed_event.py +24 -0
- volcenginesdkarkruntime/types/responses/response_knowledge_search_call_in_progress_event.py +24 -0
- volcenginesdkarkruntime/types/responses/response_knowledge_search_call_searching_event.py +24 -0
- volcenginesdkarkruntime/types/responses/response_knowledge_search_item.py +32 -0
- volcenginesdkarkruntime/types/responses/response_output_item.py +8 -4
- volcenginesdkarkruntime/types/responses/response_output_text.py +4 -33
- volcenginesdkarkruntime/types/responses/response_output_text_annotation.py +63 -0
- volcenginesdkarkruntime/types/responses/response_output_text_annotation_added_event.py +33 -0
- volcenginesdkarkruntime/types/responses/response_stream_event.py +89 -50
- volcenginesdkarkruntime/types/responses/response_tool_usage.py +14 -6
- volcenginesdkarkruntime/types/responses/responses_output_text_annotation_cover_image.py +25 -0
- volcenginesdkarkruntime/types/responses/tool.py +5 -2
- volcenginesdkarkruntime/types/responses/tool_choice_knowledge_search.py +22 -0
- volcenginesdkarkruntime/types/responses/tool_choice_knowledge_search_param.py +20 -0
- volcenginesdkarkruntime/types/responses/tool_choice_mcp.py +31 -0
- volcenginesdkarkruntime/types/responses/tool_choice_mcp_param.py +4 -4
- volcenginesdkarkruntime/types/responses/tool_choice_web_search.py +22 -0
- volcenginesdkarkruntime/types/responses/tool_choice_web_search_param.py +20 -0
- volcenginesdkarkruntime/types/responses/tool_param.py +11 -3
- volcenginesdkarkruntime/types/responses/user_location.py +29 -0
- volcenginesdkarkruntime/types/responses/user_location_param.py +31 -0
- volcenginesdkarkruntime/types/responses/web_search_tool.py +11 -22
- volcenginesdkarkruntime/types/responses/web_search_tool_param.py +8 -17
- volcenginesdkarkruntime/types/shared/__init__.py +3 -0
- volcenginesdkarkruntime/types/shared/reasoning.py +10 -0
- volcenginesdkarkruntime/types/shared_params/__init__.py +2 -0
- volcenginesdkarkruntime/types/shared_params/reasoning.py +12 -0
- volcenginesdkarkruntime/types/shared_params/reasoning_effort.py +8 -0
- volcenginesdkcbr/__init__.py +91 -0
- volcenginesdkcbr/api/__init__.py +6 -0
- volcenginesdkcbr/api/cbr_api.py +2362 -0
- volcenginesdkcbr/models/__init__.py +87 -0
- volcenginesdkcbr/models/backup_policy_for_describe_backup_policies_output.py +357 -0
- volcenginesdkcbr/models/create_backup_job_request.py +238 -0
- volcenginesdkcbr/models/create_backup_job_response.py +123 -0
- volcenginesdkcbr/models/create_backup_plan_request.py +176 -0
- volcenginesdkcbr/models/create_backup_plan_response.py +123 -0
- volcenginesdkcbr/models/create_backup_policy_request.py +293 -0
- volcenginesdkcbr/models/create_backup_policy_response.py +123 -0
- volcenginesdkcbr/models/create_backup_resource_request.py +211 -0
- volcenginesdkcbr/models/create_backup_resource_response.py +123 -0
- volcenginesdkcbr/models/create_restore_job_request.py +177 -0
- volcenginesdkcbr/models/create_restore_job_response.py +123 -0
- volcenginesdkcbr/models/create_vault_request.py +150 -0
- volcenginesdkcbr/models/create_vault_response.py +123 -0
- volcenginesdkcbr/models/delete_backup_plan_request.py +124 -0
- volcenginesdkcbr/models/delete_backup_plan_response.py +95 -0
- volcenginesdkcbr/models/delete_backup_policy_request.py +124 -0
- volcenginesdkcbr/models/delete_backup_policy_response.py +95 -0
- volcenginesdkcbr/models/delete_backup_resource_request.py +124 -0
- volcenginesdkcbr/models/delete_backup_resource_response.py +95 -0
- volcenginesdkcbr/models/delete_recovery_point_request.py +124 -0
- volcenginesdkcbr/models/delete_recovery_point_response.py +95 -0
- volcenginesdkcbr/models/delete_vault_request.py +124 -0
- volcenginesdkcbr/models/delete_vault_response.py +95 -0
- volcenginesdkcbr/models/describe_backup_plans_request.py +175 -0
- volcenginesdkcbr/models/describe_backup_plans_response.py +149 -0
- volcenginesdkcbr/models/describe_backup_policies_request.py +175 -0
- volcenginesdkcbr/models/describe_backup_policies_response.py +149 -0
- volcenginesdkcbr/models/describe_backup_resources_request.py +175 -0
- volcenginesdkcbr/models/describe_backup_resources_response.py +149 -0
- volcenginesdkcbr/models/describe_recovery_points_request.py +175 -0
- volcenginesdkcbr/models/describe_recovery_points_response.py +149 -0
- volcenginesdkcbr/models/describe_regions_request.py +95 -0
- volcenginesdkcbr/models/describe_regions_response.py +123 -0
- volcenginesdkcbr/models/describe_restore_jobs_request.py +175 -0
- volcenginesdkcbr/models/describe_restore_jobs_response.py +149 -0
- volcenginesdkcbr/models/describe_vaults_request.py +201 -0
- volcenginesdkcbr/models/describe_vaults_response.py +149 -0
- volcenginesdkcbr/models/disable_backup_policy_request.py +124 -0
- volcenginesdkcbr/models/disable_backup_policy_response.py +95 -0
- volcenginesdkcbr/models/enable_backup_policy_request.py +124 -0
- volcenginesdkcbr/models/enable_backup_policy_response.py +95 -0
- volcenginesdkcbr/models/filter_list_for_describe_backup_resources_input.py +149 -0
- volcenginesdkcbr/models/filters_for_describe_backup_plans_input.py +149 -0
- volcenginesdkcbr/models/filters_for_describe_backup_policies_input.py +175 -0
- volcenginesdkcbr/models/filters_for_describe_recovery_points_input.py +253 -0
- volcenginesdkcbr/models/filters_for_describe_restore_jobs_input.py +201 -0
- volcenginesdkcbr/models/filters_for_describe_vaults_input.py +149 -0
- volcenginesdkcbr/models/job_for_describe_restore_jobs_output.py +279 -0
- volcenginesdkcbr/models/meta_information_for_create_backup_plan_input.py +149 -0
- volcenginesdkcbr/models/meta_information_for_create_backup_resource_input.py +149 -0
- volcenginesdkcbr/models/meta_information_for_describe_backup_resources_output.py +149 -0
- volcenginesdkcbr/models/meta_information_for_update_backup_plan_input.py +149 -0
- volcenginesdkcbr/models/plan_for_describe_backup_plans_output.py +253 -0
- volcenginesdkcbr/models/plan_for_describe_backup_resources_output.py +149 -0
- volcenginesdkcbr/models/policy_for_describe_backup_plans_output.py +357 -0
- volcenginesdkcbr/models/recovery_point_for_describe_recovery_points_output.py +513 -0
- volcenginesdkcbr/models/region_for_describe_regions_output.py +149 -0
- volcenginesdkcbr/models/resource_for_describe_backup_resources_output.py +409 -0
- volcenginesdkcbr/models/resource_list_for_create_backup_plan_input.py +175 -0
- volcenginesdkcbr/models/resource_list_for_update_backup_plan_input.py +175 -0
- volcenginesdkcbr/models/tag_for_describe_vaults_output.py +149 -0
- volcenginesdkcbr/models/update_backup_plan_request.py +202 -0
- volcenginesdkcbr/models/update_backup_plan_response.py +95 -0
- volcenginesdkcbr/models/update_backup_policy_request.py +261 -0
- volcenginesdkcbr/models/update_backup_policy_response.py +95 -0
- volcenginesdkcbr/models/update_recovery_point_request.py +151 -0
- volcenginesdkcbr/models/update_recovery_point_response.py +95 -0
- volcenginesdkcbr/models/update_restore_job_request.py +151 -0
- volcenginesdkcbr/models/update_restore_job_response.py +95 -0
- volcenginesdkcbr/models/vault_list_for_describe_vaults_output.py +279 -0
- volcenginesdkcore/api_client.py +1 -1
- volcenginesdkcore/configuration.py +1 -1
- volcenginesdkcore/interceptor/interceptors/sign_request_interceptor.py +1 -0
- volcenginesdkcore/observability/debugger.py +4 -2
- volcenginesdkcore/retryer/retryer.py +4 -1
- volcenginesdkgraph/__init__.py +11 -0
- volcenginesdkgraph/api/graph_api.py +485 -0
- volcenginesdkgraph/models/__init__.py +11 -0
- volcenginesdkgraph/models/describe_vegraph_config_in_k8s_request.py +124 -0
- volcenginesdkgraph/models/describe_vegraph_config_in_k8s_response.py +201 -0
- volcenginesdkgraph/models/key_black_list_for_update_key_black_list_conf_input.py +175 -0
- volcenginesdkgraph/models/update_gremlin_keyword_black_list_conf_request.py +230 -0
- volcenginesdkgraph/models/update_gremlin_keyword_black_list_conf_response.py +95 -0
- volcenginesdkgraph/models/update_key_black_list_conf_request.py +230 -0
- volcenginesdkgraph/models/update_key_black_list_conf_response.py +95 -0
- volcenginesdkgraph/models/update_tablet_read_black_list_conf_request.py +230 -0
- volcenginesdkgraph/models/update_tablet_read_black_list_conf_response.py +95 -0
- volcenginesdkgraph/models/update_tablet_write_black_list_conf_request.py +230 -0
- volcenginesdkgraph/models/update_tablet_write_black_list_conf_response.py +95 -0
- volcenginesdkmilvus/__init__.py +112 -0
- volcenginesdkmilvus/api/__init__.py +6 -0
- volcenginesdkmilvus/api/milvus_api.py +2168 -0
- volcenginesdkmilvus/models/__init__.py +108 -0
- volcenginesdkmilvus/models/allow_group_list_for_describe_instance_detail_output.py +149 -0
- volcenginesdkmilvus/models/base_instance_for_describe_instance_detail_output.py +435 -0
- volcenginesdkmilvus/models/charge_config_for_create_instance_input.py +201 -0
- volcenginesdkmilvus/models/charge_config_for_create_instance_one_step_input.py +201 -0
- volcenginesdkmilvus/models/charge_config_for_describe_instance_detail_output.py +201 -0
- volcenginesdkmilvus/models/charge_config_for_describe_instances_output.py +201 -0
- volcenginesdkmilvus/models/charge_config_for_describe_price_input.py +201 -0
- volcenginesdkmilvus/models/component_spec_list_for_create_instance_input.py +253 -0
- volcenginesdkmilvus/models/component_spec_list_for_create_instance_one_step_input.py +253 -0
- volcenginesdkmilvus/models/component_spec_list_for_describe_price_input.py +227 -0
- volcenginesdkmilvus/models/component_spec_list_for_scale_instance_input.py +227 -0
- volcenginesdkmilvus/models/config_assign_list_for_modify_instance_config_input.py +149 -0
- volcenginesdkmilvus/models/configuration_for_describe_instance_config_output.py +331 -0
- volcenginesdkmilvus/models/create_instance_one_step_request.py +306 -0
- volcenginesdkmilvus/models/create_instance_one_step_response.py +227 -0
- volcenginesdkmilvus/models/create_instance_request.py +306 -0
- volcenginesdkmilvus/models/create_instance_response.py +227 -0
- volcenginesdkmilvus/models/describe_available_spec_request.py +95 -0
- volcenginesdkmilvus/models/describe_available_spec_response.py +201 -0
- volcenginesdkmilvus/models/describe_available_version_request.py +95 -0
- volcenginesdkmilvus/models/describe_available_version_response.py +123 -0
- volcenginesdkmilvus/models/describe_config_modules_request.py +124 -0
- volcenginesdkmilvus/models/describe_config_modules_response.py +123 -0
- volcenginesdkmilvus/models/describe_instance_config_request.py +124 -0
- volcenginesdkmilvus/models/describe_instance_config_response.py +123 -0
- volcenginesdkmilvus/models/describe_instance_detail_request.py +124 -0
- volcenginesdkmilvus/models/describe_instance_detail_response.py +409 -0
- volcenginesdkmilvus/models/describe_instances_request.py +253 -0
- volcenginesdkmilvus/models/describe_instances_response.py +227 -0
- volcenginesdkmilvus/models/describe_node_info_request.py +124 -0
- volcenginesdkmilvus/models/describe_node_info_response.py +123 -0
- volcenginesdkmilvus/models/describe_price_request.py +175 -0
- volcenginesdkmilvus/models/describe_price_response.py +227 -0
- volcenginesdkmilvus/models/describe_zones_request.py +95 -0
- volcenginesdkmilvus/models/describe_zones_response.py +123 -0
- volcenginesdkmilvus/models/endpoint_list_for_describe_instance_detail_output.py +305 -0
- volcenginesdkmilvus/models/instance_configuration_for_create_instance_input.py +227 -0
- volcenginesdkmilvus/models/instance_configuration_for_create_instance_one_step_input.py +227 -0
- volcenginesdkmilvus/models/instance_info_for_describe_instances_output.py +409 -0
- volcenginesdkmilvus/models/list_tags_for_resources_request.py +228 -0
- volcenginesdkmilvus/models/list_tags_for_resources_response.py +149 -0
- volcenginesdkmilvus/models/modify_delete_protect_request.py +151 -0
- volcenginesdkmilvus/models/modify_delete_protect_response.py +123 -0
- volcenginesdkmilvus/models/modify_instance_config_request.py +150 -0
- volcenginesdkmilvus/models/modify_instance_config_response.py +123 -0
- volcenginesdkmilvus/models/modify_instance_name_request.py +151 -0
- volcenginesdkmilvus/models/modify_instance_name_response.py +123 -0
- volcenginesdkmilvus/models/modify_post_paid_request.py +205 -0
- volcenginesdkmilvus/models/modify_post_paid_response.py +253 -0
- volcenginesdkmilvus/models/modify_pre_paid_request.py +205 -0
- volcenginesdkmilvus/models/modify_pre_paid_response.py +253 -0
- volcenginesdkmilvus/models/modify_resource_tags_request.py +176 -0
- volcenginesdkmilvus/models/modify_resource_tags_response.py +123 -0
- volcenginesdkmilvus/models/network_config_for_create_instance_input.py +175 -0
- volcenginesdkmilvus/models/network_config_for_create_instance_one_step_input.py +175 -0
- volcenginesdkmilvus/models/network_config_for_describe_instance_detail_output.py +175 -0
- volcenginesdkmilvus/models/network_config_for_describe_instances_output.py +175 -0
- volcenginesdkmilvus/models/node_cu_type_support_spec_list_for_describe_available_spec_output.py +175 -0
- volcenginesdkmilvus/models/node_info_list_for_describe_node_info_output.py +357 -0
- volcenginesdkmilvus/models/node_price_list_for_describe_price_output.py +305 -0
- volcenginesdkmilvus/models/node_support_spec_list_for_describe_available_spec_output.py +175 -0
- volcenginesdkmilvus/models/release_instance_request.py +124 -0
- volcenginesdkmilvus/models/release_instance_response.py +123 -0
- volcenginesdkmilvus/models/scale_instance_request.py +204 -0
- volcenginesdkmilvus/models/scale_instance_response.py +175 -0
- volcenginesdkmilvus/models/spec_config_for_describe_instance_detail_output.py +227 -0
- volcenginesdkmilvus/models/spec_list_for_describe_available_spec_output.py +253 -0
- volcenginesdkmilvus/models/subnet_info_for_create_instance_input.py +149 -0
- volcenginesdkmilvus/models/subnet_info_for_create_instance_one_step_input.py +149 -0
- volcenginesdkmilvus/models/subnet_info_for_describe_instance_detail_output.py +149 -0
- volcenginesdkmilvus/models/subnet_info_for_describe_instances_output.py +149 -0
- volcenginesdkmilvus/models/tag_filter_for_describe_instances_input.py +149 -0
- volcenginesdkmilvus/models/tag_filter_for_list_tags_for_resources_input.py +149 -0
- volcenginesdkmilvus/models/tag_for_create_instance_input.py +149 -0
- volcenginesdkmilvus/models/tag_for_create_instance_one_step_input.py +149 -0
- volcenginesdkmilvus/models/tag_for_describe_instance_detail_output.py +149 -0
- volcenginesdkmilvus/models/tag_for_describe_instances_output.py +149 -0
- volcenginesdkmilvus/models/tag_for_modify_resource_tags_input.py +149 -0
- volcenginesdkmilvus/models/tag_for_tag_resources_input.py +149 -0
- volcenginesdkmilvus/models/tag_resource_for_list_tags_for_resources_output.py +201 -0
- volcenginesdkmilvus/models/tag_resources_request.py +175 -0
- volcenginesdkmilvus/models/tag_resources_response.py +123 -0
- volcenginesdkmilvus/models/untag_resources_request.py +175 -0
- volcenginesdkmilvus/models/untag_resources_response.py +123 -0
- volcenginesdkmilvus/models/version_for_describe_available_version_output.py +149 -0
- volcenginesdkmilvus/models/vpc_info_for_create_instance_input.py +149 -0
- volcenginesdkmilvus/models/vpc_info_for_create_instance_one_step_input.py +149 -0
- volcenginesdkmilvus/models/vpc_info_for_describe_instance_detail_output.py +149 -0
- volcenginesdkmilvus/models/vpc_info_for_describe_instances_output.py +149 -0
- volcenginesdkmilvus/models/zone_for_describe_zones_output.py +175 -0
- volcenginesdkmilvus/models/zone_support_spec_list_for_describe_available_spec_output.py +149 -0
- volcenginesdkorganization/__init__.py +6 -0
- volcenginesdkorganization/api/organization_api.py +194 -0
- volcenginesdkorganization/models/__init__.py +6 -0
- volcenginesdkorganization/models/filter_for_list_tags_keys_input.py +123 -0
- volcenginesdkorganization/models/filter_for_list_tags_values_input.py +123 -0
- volcenginesdkorganization/models/list_tags_keys_request.py +209 -0
- volcenginesdkorganization/models/list_tags_keys_response.py +175 -0
- volcenginesdkorganization/models/list_tags_values_request.py +236 -0
- volcenginesdkorganization/models/list_tags_values_response.py +175 -0
- volcenginesdkseccenter20240508/__init__.py +128 -0
- volcenginesdkseccenter20240508/api/seccenter20240508_api.py +7987 -3913
- volcenginesdkseccenter20240508/models/__init__.py +128 -0
- volcenginesdkseccenter20240508/models/add_baseline_check_config_request.py +383 -0
- volcenginesdkseccenter20240508/models/add_baseline_check_config_response.py +123 -0
- volcenginesdkseccenter20240508/models/add_login_config_request.py +27 -1
- volcenginesdkseccenter20240508/models/alarm_topic_config_for_get_tls_info_output.py +175 -0
- volcenginesdkseccenter20240508/models/alarm_topic_config_for_modify_tls_config_input.py +149 -0
- volcenginesdkseccenter20240508/models/ban_alarm_ip_request.py +175 -0
- volcenginesdkseccenter20240508/models/ban_alarm_ip_response.py +123 -0
- volcenginesdkseccenter20240508/models/baseline_list_for_add_baseline_check_config_input.py +149 -0
- volcenginesdkseccenter20240508/models/baseline_list_for_edit_baseline_check_config_input.py +149 -0
- volcenginesdkseccenter20240508/models/baseline_list_for_list_baseline_basic_info_output.py +201 -0
- volcenginesdkseccenter20240508/models/baseline_list_for_list_baseline_check_config_output.py +149 -0
- volcenginesdkseccenter20240508/models/bind_mlp_auth_request.py +123 -0
- volcenginesdkseccenter20240508/models/bind_mlp_auth_response.py +123 -0
- volcenginesdkseccenter20240508/models/check_alarm_support_ban_ip_request.py +175 -0
- volcenginesdkseccenter20240508/models/check_alarm_support_ban_ip_response.py +227 -0
- volcenginesdkseccenter20240508/models/check_install_agent_client_response.py +105 -1
- volcenginesdkseccenter20240508/models/conditions_for_list_ordered_hosts_basic_infos_input.py +435 -0
- volcenginesdkseccenter20240508/models/create_mlp_asset_sync_task_request.py +124 -0
- volcenginesdkseccenter20240508/models/create_mlp_asset_sync_task_response.py +123 -0
- volcenginesdkseccenter20240508/models/data_for_get_alarm_rule_list_output.py +331 -0
- volcenginesdkseccenter20240508/models/data_for_get_fingerprint_env_output.py +409 -0
- volcenginesdkseccenter20240508/models/data_for_get_fingerprint_process_output.py +27 -1
- volcenginesdkseccenter20240508/models/data_for_get_fingerprint_service_output.py +53 -1
- volcenginesdkseccenter20240508/models/data_for_get_mlp_asset_sync_task_detail_output.py +305 -0
- volcenginesdkseccenter20240508/models/data_for_get_offline_notification_list_output.py +929 -0
- volcenginesdkseccenter20240508/models/data_for_list_ban_ip_list_output.py +487 -0
- volcenginesdkseccenter20240508/models/data_for_list_baseline_basic_info_output.py +201 -0
- volcenginesdkseccenter20240508/models/data_for_list_baseline_check_config_output.py +617 -0
- volcenginesdkseccenter20240508/models/data_for_list_baseline_for_group_policy_output.py +201 -0
- volcenginesdkseccenter20240508/models/data_for_list_check_config_related_baseline_output.py +201 -0
- volcenginesdkseccenter20240508/models/data_for_list_fingerprint_collect_config_output.py +331 -0
- volcenginesdkseccenter20240508/models/data_for_list_mlp_asset_tasks_output.py +305 -0
- volcenginesdkseccenter20240508/models/data_for_list_ordered_hosts_basic_infos_output.py +539 -0
- volcenginesdkseccenter20240508/models/delete_baseline_check_config_request.py +124 -0
- volcenginesdkseccenter20240508/models/delete_baseline_check_config_response.py +123 -0
- volcenginesdkseccenter20240508/models/detect_baseline_by_check_config_request.py +124 -0
- volcenginesdkseccenter20240508/models/detect_baseline_by_check_config_response.py +123 -0
- volcenginesdkseccenter20240508/models/ecs_instance_for_get_auto_isolate_agent_list_output.py +53 -1
- volcenginesdkseccenter20240508/models/ecs_instance_for_get_host_basic_info_output.py +53 -1
- volcenginesdkseccenter20240508/models/ecs_instance_for_get_offline_notification_list_output.py +669 -0
- volcenginesdkseccenter20240508/models/ecs_instance_for_list_asset_center_hosts_output.py +53 -1
- volcenginesdkseccenter20240508/models/ecs_instance_for_list_auto_defense_hosts_output.py +53 -1
- volcenginesdkseccenter20240508/models/ecs_instance_for_list_ban_ip_list_output.py +669 -0
- volcenginesdkseccenter20240508/models/ecs_instance_for_list_hosts_basic_infos_output.py +53 -1
- volcenginesdkseccenter20240508/models/ecs_instance_for_list_multi_level_asset_hosts_output.py +53 -1
- volcenginesdkseccenter20240508/models/ecs_instance_for_list_ordered_hosts_basic_infos_output.py +669 -0
- volcenginesdkseccenter20240508/models/ecs_instance_for_list_rasp_config_agent_infos_output.py +53 -1
- volcenginesdkseccenter20240508/models/edit_baseline_check_config_request.py +410 -0
- volcenginesdkseccenter20240508/models/edit_baseline_check_config_response.py +123 -0
- volcenginesdkseccenter20240508/models/edit_fingerprint_collect_config_request.py +254 -0
- volcenginesdkseccenter20240508/models/edit_fingerprint_collect_config_response.py +123 -0
- volcenginesdkseccenter20240508/models/export_dev_fingerprint_data_request.py +1 -1
- volcenginesdkseccenter20240508/models/file_for_handle_endpoint_alarms_input.py +149 -0
- volcenginesdkseccenter20240508/models/get_alarm_rule_list_request.py +333 -0
- volcenginesdkseccenter20240508/models/get_alarm_rule_list_response.py +201 -0
- volcenginesdkseccenter20240508/models/get_auto_protect_config_request.py +95 -0
- volcenginesdkseccenter20240508/models/get_auto_protect_config_response.py +149 -0
- volcenginesdkvod20250101/models/scenario_for_create_ai_termbase_input.py → volcenginesdkseccenter20240508/models/get_brute_force_ban_cap_params_request.py +6 -6
- volcenginesdkseccenter20240508/models/get_brute_force_ban_cap_params_response.py +123 -0
- volcenginesdkseccenter20240508/models/get_brute_force_ban_config_request.py +123 -0
- volcenginesdkseccenter20240508/models/get_brute_force_ban_config_response.py +383 -0
- volcenginesdkseccenter20240508/models/get_brute_force_ban_statistics_request.py +123 -0
- volcenginesdkseccenter20240508/models/get_brute_force_ban_statistics_response.py +149 -0
- volcenginesdkseccenter20240508/models/get_custom_weak_passwords_request.py +95 -0
- volcenginesdkseccenter20240508/models/get_custom_weak_passwords_response.py +201 -0
- volcenginesdkseccenter20240508/models/get_fingerprint_env_request.py +489 -0
- volcenginesdkseccenter20240508/models/get_fingerprint_env_response.py +201 -0
- volcenginesdkseccenter20240508/models/get_fingerprint_service_request.py +0 -7
- volcenginesdkseccenter20240508/models/get_fingerprint_statistics_response.py +27 -1
- volcenginesdkseccenter20240508/models/get_geo_location_request.py +123 -0
- volcenginesdkseccenter20240508/models/get_geo_location_response.py +123 -0
- volcenginesdkseccenter20240508/models/get_mlp_asset_sync_task_detail_request.py +124 -0
- volcenginesdkseccenter20240508/models/get_mlp_asset_sync_task_detail_response.py +123 -0
- volcenginesdkseccenter20240508/models/get_mlp_asset_sync_task_status_request.py +124 -0
- volcenginesdkseccenter20240508/models/get_mlp_asset_sync_task_status_response.py +201 -0
- volcenginesdkseccenter20240508/models/get_offline_notification_config_request.py +95 -0
- volcenginesdkseccenter20240508/models/get_offline_notification_config_response.py +149 -0
- volcenginesdkseccenter20240508/models/get_offline_notification_list_request.py +411 -0
- volcenginesdkseccenter20240508/models/get_offline_notification_list_response.py +201 -0
- volcenginesdkseccenter20240508/models/get_security_overview_score_stats_request.py +123 -0
- volcenginesdkseccenter20240508/models/get_security_overview_score_stats_response.py +149 -0
- volcenginesdkseccenter20240508/models/get_tls_info_response.py +122 -70
- volcenginesdkseccenter20240508/models/handle_endpoint_alarms_request.py +150 -0
- volcenginesdkseccenter20240508/models/handle_endpoint_alarms_response.py +95 -0
- volcenginesdkseccenter20240508/models/handle_list_for_handle_endpoint_alarms_input.py +201 -0
- volcenginesdkseccenter20240508/models/host_info_for_list_ban_ip_list_output.py +279 -0
- volcenginesdkseccenter20240508/models/list_alarm_tags_request.py +6 -6
- volcenginesdkseccenter20240508/models/list_ban_ip_list_request.py +567 -0
- volcenginesdkseccenter20240508/models/list_ban_ip_list_response.py +201 -0
- volcenginesdkseccenter20240508/models/list_baseline_basic_info_request.py +203 -0
- volcenginesdkseccenter20240508/models/list_baseline_basic_info_response.py +201 -0
- volcenginesdkseccenter20240508/models/list_baseline_check_config_request.py +203 -0
- volcenginesdkseccenter20240508/models/list_baseline_check_config_response.py +201 -0
- volcenginesdkseccenter20240508/models/list_baseline_for_group_policy_request.py +124 -0
- volcenginesdkseccenter20240508/models/list_baseline_for_group_policy_response.py +123 -0
- volcenginesdkseccenter20240508/models/list_batch_endpoint_handle_methods_request.py +150 -0
- volcenginesdkseccenter20240508/models/list_batch_endpoint_handle_methods_response.py +149 -0
- volcenginesdkseccenter20240508/models/list_check_config_related_baseline_request.py +256 -0
- volcenginesdkseccenter20240508/models/list_check_config_related_baseline_response.py +201 -0
- volcenginesdkseccenter20240508/models/list_fingerprint_collect_config_request.py +149 -0
- volcenginesdkseccenter20240508/models/list_fingerprint_collect_config_response.py +201 -0
- volcenginesdkseccenter20240508/models/list_mlp_alarm_tags_request.py +6 -6
- volcenginesdkseccenter20240508/models/list_mlp_asset_tasks_request.py +255 -0
- volcenginesdkseccenter20240508/models/list_mlp_asset_tasks_response.py +201 -0
- volcenginesdkseccenter20240508/models/list_ordered_hosts_basic_infos_request.py +256 -0
- volcenginesdkseccenter20240508/models/list_ordered_hosts_basic_infos_response.py +201 -0
- volcenginesdkseccenter20240508/models/location_for_get_geo_location_output.py +149 -0
- volcenginesdkseccenter20240508/models/login_location_for_add_login_config_input.py +175 -0
- volcenginesdkseccenter20240508/models/login_location_for_update_login_config_input.py +175 -0
- volcenginesdkseccenter20240508/models/login_topic_config_for_get_tls_info_output.py +175 -0
- volcenginesdkseccenter20240508/models/login_topic_config_for_modify_tls_config_input.py +149 -0
- volcenginesdkseccenter20240508/models/modify_tls_config_request.py +133 -3
- volcenginesdkseccenter20240508/models/operation_list_for_list_batch_endpoint_handle_methods_output.py +201 -0
- volcenginesdkseccenter20240508/models/port_change_topic_config_for_get_tls_info_output.py +175 -0
- volcenginesdkseccenter20240508/models/port_change_topic_config_for_modify_tls_config_input.py +149 -0
- volcenginesdkseccenter20240508/models/proc_list_for_list_batch_endpoint_handle_methods_output.py +175 -0
- volcenginesdkseccenter20240508/models/process_for_handle_endpoint_alarms_input.py +175 -0
- volcenginesdkseccenter20240508/models/process_start_topic_config_for_get_tls_info_output.py +175 -0
- volcenginesdkseccenter20240508/models/process_start_topic_config_for_modify_tls_config_input.py +149 -0
- volcenginesdkseccenter20240508/models/relate_alarm_info_for_list_ban_ip_list_output.py +149 -0
- volcenginesdkseccenter20240508/models/retry_ip_operation_request.py +150 -0
- volcenginesdkseccenter20240508/models/retry_ip_operation_response.py +123 -0
- volcenginesdkseccenter20240508/models/risk_for_get_offline_notification_list_output.py +201 -0
- volcenginesdkseccenter20240508/models/rule_list_for_get_brute_force_ban_config_output.py +227 -0
- volcenginesdkseccenter20240508/models/rule_list_for_set_brute_force_ban_config_input.py +227 -0
- volcenginesdkseccenter20240508/models/score_for_get_security_overview_score_stats_output.py +149 -0
- volcenginesdkseccenter20240508/models/set_brute_force_ban_config_request.py +461 -0
- volcenginesdkseccenter20240508/models/set_brute_force_ban_config_response.py +95 -0
- volcenginesdkseccenter20240508/models/set_custom_weak_passwords_request.py +123 -0
- volcenginesdkseccenter20240508/models/set_custom_weak_passwords_response.py +123 -0
- volcenginesdkseccenter20240508/models/stop_mlp_asset_sync_task_request.py +124 -0
- volcenginesdkseccenter20240508/models/stop_mlp_asset_sync_task_response.py +123 -0
- volcenginesdkseccenter20240508/models/un_ban_ip_item_request.py +123 -0
- volcenginesdkseccenter20240508/models/un_ban_ip_item_response.py +149 -0
- volcenginesdkseccenter20240508/models/unbind_mlp_auth_request.py +123 -0
- volcenginesdkseccenter20240508/models/unbind_mlp_auth_response.py +123 -0
- volcenginesdkseccenter20240508/models/update_auto_protect_config_request.py +124 -0
- volcenginesdkseccenter20240508/models/update_auto_protect_config_response.py +149 -0
- volcenginesdkseccenter20240508/models/update_baseline_check_config_switch_request.py +150 -0
- volcenginesdkseccenter20240508/models/update_baseline_check_config_switch_response.py +123 -0
- volcenginesdkseccenter20240508/models/update_cloud_provider_request.py +149 -0
- volcenginesdkseccenter20240508/models/update_cloud_provider_response.py +201 -0
- volcenginesdkseccenter20240508/models/update_login_config_request.py +27 -1
- volcenginesdkseccenter20240508/models/update_offline_notification_config_request.py +151 -0
- volcenginesdkseccenter20240508/models/update_offline_notification_config_response.py +123 -0
- volcenginesdkseccenter20240508/models/vuln_topic_config_for_get_tls_info_output.py +175 -0
- volcenginesdkseccenter20240508/models/vuln_topic_config_for_modify_tls_config_input.py +149 -0
- volcenginesdkvefaas/__init__.py +1 -0
- volcenginesdkvefaas/models/__init__.py +1 -0
- volcenginesdkvefaas/models/describe_sandbox_response.py +53 -1
- volcenginesdkvefaas/models/metadata_list_for_describe_sandbox_output.py +149 -0
- volcenginesdkvod20250101/__init__.py +0 -1
- volcenginesdkvod20250101/models/__init__.py +0 -1
- volcenginesdkvod20250101/models/create_ai_termbase_request.py +6 -5
- {volcengine_python_sdk-4.0.29.dist-info → volcengine_python_sdk-4.0.30.dist-info}/WHEEL +0 -0
- {volcengine_python_sdk-4.0.29.dist-info → volcengine_python_sdk-4.0.30.dist-info}/licenses/LICENSE.txt +0 -0
- {volcengine_python_sdk-4.0.29.dist-info → volcengine_python_sdk-4.0.30.dist-info}/licenses/NOTICE.md +0 -0
|
@@ -0,0 +1,513 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
cbr
|
|
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 RecoveryPointForDescribeRecoveryPointsOutput(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
|
+
'backup_completed_time': 'str',
|
|
38
|
+
'capacity_in_bytes': 'int',
|
|
39
|
+
'created_at': 'str',
|
|
40
|
+
'error_detail': 'str',
|
|
41
|
+
'extra_metadata': 'str',
|
|
42
|
+
'instance_id': 'str',
|
|
43
|
+
'instance_name': 'str',
|
|
44
|
+
'name': 'str',
|
|
45
|
+
'plan_id': 'str',
|
|
46
|
+
'plan_name': 'str',
|
|
47
|
+
'recovery_point_id': 'str',
|
|
48
|
+
'resource_type': 'str',
|
|
49
|
+
'retention_day': 'int',
|
|
50
|
+
'status': 'str',
|
|
51
|
+
'updated_at': 'str'
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
attribute_map = {
|
|
55
|
+
'account_id': 'AccountId',
|
|
56
|
+
'backup_completed_time': 'BackupCompletedTime',
|
|
57
|
+
'capacity_in_bytes': 'CapacityInBytes',
|
|
58
|
+
'created_at': 'CreatedAt',
|
|
59
|
+
'error_detail': 'ErrorDetail',
|
|
60
|
+
'extra_metadata': 'ExtraMetadata',
|
|
61
|
+
'instance_id': 'InstanceId',
|
|
62
|
+
'instance_name': 'InstanceName',
|
|
63
|
+
'name': 'Name',
|
|
64
|
+
'plan_id': 'PlanId',
|
|
65
|
+
'plan_name': 'PlanName',
|
|
66
|
+
'recovery_point_id': 'RecoveryPointId',
|
|
67
|
+
'resource_type': 'ResourceType',
|
|
68
|
+
'retention_day': 'RetentionDay',
|
|
69
|
+
'status': 'Status',
|
|
70
|
+
'updated_at': 'UpdatedAt'
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
def __init__(self, account_id=None, backup_completed_time=None, capacity_in_bytes=None, created_at=None, error_detail=None, extra_metadata=None, instance_id=None, instance_name=None, name=None, plan_id=None, plan_name=None, recovery_point_id=None, resource_type=None, retention_day=None, status=None, updated_at=None, _configuration=None): # noqa: E501
|
|
74
|
+
"""RecoveryPointForDescribeRecoveryPointsOutput - a model defined in Swagger""" # noqa: E501
|
|
75
|
+
if _configuration is None:
|
|
76
|
+
_configuration = Configuration()
|
|
77
|
+
self._configuration = _configuration
|
|
78
|
+
|
|
79
|
+
self._account_id = None
|
|
80
|
+
self._backup_completed_time = None
|
|
81
|
+
self._capacity_in_bytes = None
|
|
82
|
+
self._created_at = None
|
|
83
|
+
self._error_detail = None
|
|
84
|
+
self._extra_metadata = None
|
|
85
|
+
self._instance_id = None
|
|
86
|
+
self._instance_name = None
|
|
87
|
+
self._name = None
|
|
88
|
+
self._plan_id = None
|
|
89
|
+
self._plan_name = None
|
|
90
|
+
self._recovery_point_id = None
|
|
91
|
+
self._resource_type = None
|
|
92
|
+
self._retention_day = None
|
|
93
|
+
self._status = None
|
|
94
|
+
self._updated_at = None
|
|
95
|
+
self.discriminator = None
|
|
96
|
+
|
|
97
|
+
if account_id is not None:
|
|
98
|
+
self.account_id = account_id
|
|
99
|
+
if backup_completed_time is not None:
|
|
100
|
+
self.backup_completed_time = backup_completed_time
|
|
101
|
+
if capacity_in_bytes is not None:
|
|
102
|
+
self.capacity_in_bytes = capacity_in_bytes
|
|
103
|
+
if created_at is not None:
|
|
104
|
+
self.created_at = created_at
|
|
105
|
+
if error_detail is not None:
|
|
106
|
+
self.error_detail = error_detail
|
|
107
|
+
if extra_metadata is not None:
|
|
108
|
+
self.extra_metadata = extra_metadata
|
|
109
|
+
if instance_id is not None:
|
|
110
|
+
self.instance_id = instance_id
|
|
111
|
+
if instance_name is not None:
|
|
112
|
+
self.instance_name = instance_name
|
|
113
|
+
if name is not None:
|
|
114
|
+
self.name = name
|
|
115
|
+
if plan_id is not None:
|
|
116
|
+
self.plan_id = plan_id
|
|
117
|
+
if plan_name is not None:
|
|
118
|
+
self.plan_name = plan_name
|
|
119
|
+
if recovery_point_id is not None:
|
|
120
|
+
self.recovery_point_id = recovery_point_id
|
|
121
|
+
if resource_type is not None:
|
|
122
|
+
self.resource_type = resource_type
|
|
123
|
+
if retention_day is not None:
|
|
124
|
+
self.retention_day = retention_day
|
|
125
|
+
if status is not None:
|
|
126
|
+
self.status = status
|
|
127
|
+
if updated_at is not None:
|
|
128
|
+
self.updated_at = updated_at
|
|
129
|
+
|
|
130
|
+
@property
|
|
131
|
+
def account_id(self):
|
|
132
|
+
"""Gets the account_id of this RecoveryPointForDescribeRecoveryPointsOutput. # noqa: E501
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
:return: The account_id of this RecoveryPointForDescribeRecoveryPointsOutput. # noqa: E501
|
|
136
|
+
:rtype: str
|
|
137
|
+
"""
|
|
138
|
+
return self._account_id
|
|
139
|
+
|
|
140
|
+
@account_id.setter
|
|
141
|
+
def account_id(self, account_id):
|
|
142
|
+
"""Sets the account_id of this RecoveryPointForDescribeRecoveryPointsOutput.
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
:param account_id: The account_id of this RecoveryPointForDescribeRecoveryPointsOutput. # noqa: E501
|
|
146
|
+
:type: str
|
|
147
|
+
"""
|
|
148
|
+
|
|
149
|
+
self._account_id = account_id
|
|
150
|
+
|
|
151
|
+
@property
|
|
152
|
+
def backup_completed_time(self):
|
|
153
|
+
"""Gets the backup_completed_time of this RecoveryPointForDescribeRecoveryPointsOutput. # noqa: E501
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
:return: The backup_completed_time of this RecoveryPointForDescribeRecoveryPointsOutput. # noqa: E501
|
|
157
|
+
:rtype: str
|
|
158
|
+
"""
|
|
159
|
+
return self._backup_completed_time
|
|
160
|
+
|
|
161
|
+
@backup_completed_time.setter
|
|
162
|
+
def backup_completed_time(self, backup_completed_time):
|
|
163
|
+
"""Sets the backup_completed_time of this RecoveryPointForDescribeRecoveryPointsOutput.
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
:param backup_completed_time: The backup_completed_time of this RecoveryPointForDescribeRecoveryPointsOutput. # noqa: E501
|
|
167
|
+
:type: str
|
|
168
|
+
"""
|
|
169
|
+
|
|
170
|
+
self._backup_completed_time = backup_completed_time
|
|
171
|
+
|
|
172
|
+
@property
|
|
173
|
+
def capacity_in_bytes(self):
|
|
174
|
+
"""Gets the capacity_in_bytes of this RecoveryPointForDescribeRecoveryPointsOutput. # noqa: E501
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
:return: The capacity_in_bytes of this RecoveryPointForDescribeRecoveryPointsOutput. # noqa: E501
|
|
178
|
+
:rtype: int
|
|
179
|
+
"""
|
|
180
|
+
return self._capacity_in_bytes
|
|
181
|
+
|
|
182
|
+
@capacity_in_bytes.setter
|
|
183
|
+
def capacity_in_bytes(self, capacity_in_bytes):
|
|
184
|
+
"""Sets the capacity_in_bytes of this RecoveryPointForDescribeRecoveryPointsOutput.
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
:param capacity_in_bytes: The capacity_in_bytes of this RecoveryPointForDescribeRecoveryPointsOutput. # noqa: E501
|
|
188
|
+
:type: int
|
|
189
|
+
"""
|
|
190
|
+
|
|
191
|
+
self._capacity_in_bytes = capacity_in_bytes
|
|
192
|
+
|
|
193
|
+
@property
|
|
194
|
+
def created_at(self):
|
|
195
|
+
"""Gets the created_at of this RecoveryPointForDescribeRecoveryPointsOutput. # noqa: E501
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
:return: The created_at of this RecoveryPointForDescribeRecoveryPointsOutput. # noqa: E501
|
|
199
|
+
:rtype: str
|
|
200
|
+
"""
|
|
201
|
+
return self._created_at
|
|
202
|
+
|
|
203
|
+
@created_at.setter
|
|
204
|
+
def created_at(self, created_at):
|
|
205
|
+
"""Sets the created_at of this RecoveryPointForDescribeRecoveryPointsOutput.
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
:param created_at: The created_at of this RecoveryPointForDescribeRecoveryPointsOutput. # noqa: E501
|
|
209
|
+
:type: str
|
|
210
|
+
"""
|
|
211
|
+
|
|
212
|
+
self._created_at = created_at
|
|
213
|
+
|
|
214
|
+
@property
|
|
215
|
+
def error_detail(self):
|
|
216
|
+
"""Gets the error_detail of this RecoveryPointForDescribeRecoveryPointsOutput. # noqa: E501
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
:return: The error_detail of this RecoveryPointForDescribeRecoveryPointsOutput. # noqa: E501
|
|
220
|
+
:rtype: str
|
|
221
|
+
"""
|
|
222
|
+
return self._error_detail
|
|
223
|
+
|
|
224
|
+
@error_detail.setter
|
|
225
|
+
def error_detail(self, error_detail):
|
|
226
|
+
"""Sets the error_detail of this RecoveryPointForDescribeRecoveryPointsOutput.
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
:param error_detail: The error_detail of this RecoveryPointForDescribeRecoveryPointsOutput. # noqa: E501
|
|
230
|
+
:type: str
|
|
231
|
+
"""
|
|
232
|
+
|
|
233
|
+
self._error_detail = error_detail
|
|
234
|
+
|
|
235
|
+
@property
|
|
236
|
+
def extra_metadata(self):
|
|
237
|
+
"""Gets the extra_metadata of this RecoveryPointForDescribeRecoveryPointsOutput. # noqa: E501
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
:return: The extra_metadata of this RecoveryPointForDescribeRecoveryPointsOutput. # noqa: E501
|
|
241
|
+
:rtype: str
|
|
242
|
+
"""
|
|
243
|
+
return self._extra_metadata
|
|
244
|
+
|
|
245
|
+
@extra_metadata.setter
|
|
246
|
+
def extra_metadata(self, extra_metadata):
|
|
247
|
+
"""Sets the extra_metadata of this RecoveryPointForDescribeRecoveryPointsOutput.
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
:param extra_metadata: The extra_metadata of this RecoveryPointForDescribeRecoveryPointsOutput. # noqa: E501
|
|
251
|
+
:type: str
|
|
252
|
+
"""
|
|
253
|
+
|
|
254
|
+
self._extra_metadata = extra_metadata
|
|
255
|
+
|
|
256
|
+
@property
|
|
257
|
+
def instance_id(self):
|
|
258
|
+
"""Gets the instance_id of this RecoveryPointForDescribeRecoveryPointsOutput. # noqa: E501
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
:return: The instance_id of this RecoveryPointForDescribeRecoveryPointsOutput. # noqa: E501
|
|
262
|
+
:rtype: str
|
|
263
|
+
"""
|
|
264
|
+
return self._instance_id
|
|
265
|
+
|
|
266
|
+
@instance_id.setter
|
|
267
|
+
def instance_id(self, instance_id):
|
|
268
|
+
"""Sets the instance_id of this RecoveryPointForDescribeRecoveryPointsOutput.
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
:param instance_id: The instance_id of this RecoveryPointForDescribeRecoveryPointsOutput. # noqa: E501
|
|
272
|
+
:type: str
|
|
273
|
+
"""
|
|
274
|
+
|
|
275
|
+
self._instance_id = instance_id
|
|
276
|
+
|
|
277
|
+
@property
|
|
278
|
+
def instance_name(self):
|
|
279
|
+
"""Gets the instance_name of this RecoveryPointForDescribeRecoveryPointsOutput. # noqa: E501
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
:return: The instance_name of this RecoveryPointForDescribeRecoveryPointsOutput. # noqa: E501
|
|
283
|
+
:rtype: str
|
|
284
|
+
"""
|
|
285
|
+
return self._instance_name
|
|
286
|
+
|
|
287
|
+
@instance_name.setter
|
|
288
|
+
def instance_name(self, instance_name):
|
|
289
|
+
"""Sets the instance_name of this RecoveryPointForDescribeRecoveryPointsOutput.
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
:param instance_name: The instance_name of this RecoveryPointForDescribeRecoveryPointsOutput. # noqa: E501
|
|
293
|
+
:type: str
|
|
294
|
+
"""
|
|
295
|
+
|
|
296
|
+
self._instance_name = instance_name
|
|
297
|
+
|
|
298
|
+
@property
|
|
299
|
+
def name(self):
|
|
300
|
+
"""Gets the name of this RecoveryPointForDescribeRecoveryPointsOutput. # noqa: E501
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
:return: The name of this RecoveryPointForDescribeRecoveryPointsOutput. # noqa: E501
|
|
304
|
+
:rtype: str
|
|
305
|
+
"""
|
|
306
|
+
return self._name
|
|
307
|
+
|
|
308
|
+
@name.setter
|
|
309
|
+
def name(self, name):
|
|
310
|
+
"""Sets the name of this RecoveryPointForDescribeRecoveryPointsOutput.
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
:param name: The name of this RecoveryPointForDescribeRecoveryPointsOutput. # noqa: E501
|
|
314
|
+
:type: str
|
|
315
|
+
"""
|
|
316
|
+
|
|
317
|
+
self._name = name
|
|
318
|
+
|
|
319
|
+
@property
|
|
320
|
+
def plan_id(self):
|
|
321
|
+
"""Gets the plan_id of this RecoveryPointForDescribeRecoveryPointsOutput. # noqa: E501
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
:return: The plan_id of this RecoveryPointForDescribeRecoveryPointsOutput. # noqa: E501
|
|
325
|
+
:rtype: str
|
|
326
|
+
"""
|
|
327
|
+
return self._plan_id
|
|
328
|
+
|
|
329
|
+
@plan_id.setter
|
|
330
|
+
def plan_id(self, plan_id):
|
|
331
|
+
"""Sets the plan_id of this RecoveryPointForDescribeRecoveryPointsOutput.
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
:param plan_id: The plan_id of this RecoveryPointForDescribeRecoveryPointsOutput. # noqa: E501
|
|
335
|
+
:type: str
|
|
336
|
+
"""
|
|
337
|
+
|
|
338
|
+
self._plan_id = plan_id
|
|
339
|
+
|
|
340
|
+
@property
|
|
341
|
+
def plan_name(self):
|
|
342
|
+
"""Gets the plan_name of this RecoveryPointForDescribeRecoveryPointsOutput. # noqa: E501
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
:return: The plan_name of this RecoveryPointForDescribeRecoveryPointsOutput. # noqa: E501
|
|
346
|
+
:rtype: str
|
|
347
|
+
"""
|
|
348
|
+
return self._plan_name
|
|
349
|
+
|
|
350
|
+
@plan_name.setter
|
|
351
|
+
def plan_name(self, plan_name):
|
|
352
|
+
"""Sets the plan_name of this RecoveryPointForDescribeRecoveryPointsOutput.
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
:param plan_name: The plan_name of this RecoveryPointForDescribeRecoveryPointsOutput. # noqa: E501
|
|
356
|
+
:type: str
|
|
357
|
+
"""
|
|
358
|
+
|
|
359
|
+
self._plan_name = plan_name
|
|
360
|
+
|
|
361
|
+
@property
|
|
362
|
+
def recovery_point_id(self):
|
|
363
|
+
"""Gets the recovery_point_id of this RecoveryPointForDescribeRecoveryPointsOutput. # noqa: E501
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
:return: The recovery_point_id of this RecoveryPointForDescribeRecoveryPointsOutput. # noqa: E501
|
|
367
|
+
:rtype: str
|
|
368
|
+
"""
|
|
369
|
+
return self._recovery_point_id
|
|
370
|
+
|
|
371
|
+
@recovery_point_id.setter
|
|
372
|
+
def recovery_point_id(self, recovery_point_id):
|
|
373
|
+
"""Sets the recovery_point_id of this RecoveryPointForDescribeRecoveryPointsOutput.
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
:param recovery_point_id: The recovery_point_id of this RecoveryPointForDescribeRecoveryPointsOutput. # noqa: E501
|
|
377
|
+
:type: str
|
|
378
|
+
"""
|
|
379
|
+
|
|
380
|
+
self._recovery_point_id = recovery_point_id
|
|
381
|
+
|
|
382
|
+
@property
|
|
383
|
+
def resource_type(self):
|
|
384
|
+
"""Gets the resource_type of this RecoveryPointForDescribeRecoveryPointsOutput. # noqa: E501
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
:return: The resource_type of this RecoveryPointForDescribeRecoveryPointsOutput. # noqa: E501
|
|
388
|
+
:rtype: str
|
|
389
|
+
"""
|
|
390
|
+
return self._resource_type
|
|
391
|
+
|
|
392
|
+
@resource_type.setter
|
|
393
|
+
def resource_type(self, resource_type):
|
|
394
|
+
"""Sets the resource_type of this RecoveryPointForDescribeRecoveryPointsOutput.
|
|
395
|
+
|
|
396
|
+
|
|
397
|
+
:param resource_type: The resource_type of this RecoveryPointForDescribeRecoveryPointsOutput. # noqa: E501
|
|
398
|
+
:type: str
|
|
399
|
+
"""
|
|
400
|
+
|
|
401
|
+
self._resource_type = resource_type
|
|
402
|
+
|
|
403
|
+
@property
|
|
404
|
+
def retention_day(self):
|
|
405
|
+
"""Gets the retention_day of this RecoveryPointForDescribeRecoveryPointsOutput. # noqa: E501
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
:return: The retention_day of this RecoveryPointForDescribeRecoveryPointsOutput. # noqa: E501
|
|
409
|
+
:rtype: int
|
|
410
|
+
"""
|
|
411
|
+
return self._retention_day
|
|
412
|
+
|
|
413
|
+
@retention_day.setter
|
|
414
|
+
def retention_day(self, retention_day):
|
|
415
|
+
"""Sets the retention_day of this RecoveryPointForDescribeRecoveryPointsOutput.
|
|
416
|
+
|
|
417
|
+
|
|
418
|
+
:param retention_day: The retention_day of this RecoveryPointForDescribeRecoveryPointsOutput. # noqa: E501
|
|
419
|
+
:type: int
|
|
420
|
+
"""
|
|
421
|
+
|
|
422
|
+
self._retention_day = retention_day
|
|
423
|
+
|
|
424
|
+
@property
|
|
425
|
+
def status(self):
|
|
426
|
+
"""Gets the status of this RecoveryPointForDescribeRecoveryPointsOutput. # noqa: E501
|
|
427
|
+
|
|
428
|
+
|
|
429
|
+
:return: The status of this RecoveryPointForDescribeRecoveryPointsOutput. # noqa: E501
|
|
430
|
+
:rtype: str
|
|
431
|
+
"""
|
|
432
|
+
return self._status
|
|
433
|
+
|
|
434
|
+
@status.setter
|
|
435
|
+
def status(self, status):
|
|
436
|
+
"""Sets the status of this RecoveryPointForDescribeRecoveryPointsOutput.
|
|
437
|
+
|
|
438
|
+
|
|
439
|
+
:param status: The status of this RecoveryPointForDescribeRecoveryPointsOutput. # noqa: E501
|
|
440
|
+
:type: str
|
|
441
|
+
"""
|
|
442
|
+
|
|
443
|
+
self._status = status
|
|
444
|
+
|
|
445
|
+
@property
|
|
446
|
+
def updated_at(self):
|
|
447
|
+
"""Gets the updated_at of this RecoveryPointForDescribeRecoveryPointsOutput. # noqa: E501
|
|
448
|
+
|
|
449
|
+
|
|
450
|
+
:return: The updated_at of this RecoveryPointForDescribeRecoveryPointsOutput. # noqa: E501
|
|
451
|
+
:rtype: str
|
|
452
|
+
"""
|
|
453
|
+
return self._updated_at
|
|
454
|
+
|
|
455
|
+
@updated_at.setter
|
|
456
|
+
def updated_at(self, updated_at):
|
|
457
|
+
"""Sets the updated_at of this RecoveryPointForDescribeRecoveryPointsOutput.
|
|
458
|
+
|
|
459
|
+
|
|
460
|
+
:param updated_at: The updated_at of this RecoveryPointForDescribeRecoveryPointsOutput. # noqa: E501
|
|
461
|
+
:type: str
|
|
462
|
+
"""
|
|
463
|
+
|
|
464
|
+
self._updated_at = updated_at
|
|
465
|
+
|
|
466
|
+
def to_dict(self):
|
|
467
|
+
"""Returns the model properties as a dict"""
|
|
468
|
+
result = {}
|
|
469
|
+
|
|
470
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
471
|
+
value = getattr(self, attr)
|
|
472
|
+
if isinstance(value, list):
|
|
473
|
+
result[attr] = list(map(
|
|
474
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
475
|
+
value
|
|
476
|
+
))
|
|
477
|
+
elif hasattr(value, "to_dict"):
|
|
478
|
+
result[attr] = value.to_dict()
|
|
479
|
+
elif isinstance(value, dict):
|
|
480
|
+
result[attr] = dict(map(
|
|
481
|
+
lambda item: (item[0], item[1].to_dict())
|
|
482
|
+
if hasattr(item[1], "to_dict") else item,
|
|
483
|
+
value.items()
|
|
484
|
+
))
|
|
485
|
+
else:
|
|
486
|
+
result[attr] = value
|
|
487
|
+
if issubclass(RecoveryPointForDescribeRecoveryPointsOutput, dict):
|
|
488
|
+
for key, value in self.items():
|
|
489
|
+
result[key] = value
|
|
490
|
+
|
|
491
|
+
return result
|
|
492
|
+
|
|
493
|
+
def to_str(self):
|
|
494
|
+
"""Returns the string representation of the model"""
|
|
495
|
+
return pprint.pformat(self.to_dict())
|
|
496
|
+
|
|
497
|
+
def __repr__(self):
|
|
498
|
+
"""For `print` and `pprint`"""
|
|
499
|
+
return self.to_str()
|
|
500
|
+
|
|
501
|
+
def __eq__(self, other):
|
|
502
|
+
"""Returns true if both objects are equal"""
|
|
503
|
+
if not isinstance(other, RecoveryPointForDescribeRecoveryPointsOutput):
|
|
504
|
+
return False
|
|
505
|
+
|
|
506
|
+
return self.to_dict() == other.to_dict()
|
|
507
|
+
|
|
508
|
+
def __ne__(self, other):
|
|
509
|
+
"""Returns true if both objects are not equal"""
|
|
510
|
+
if not isinstance(other, RecoveryPointForDescribeRecoveryPointsOutput):
|
|
511
|
+
return True
|
|
512
|
+
|
|
513
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
cbr
|
|
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 RegionForDescribeRegionsOutput(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
|
+
'name': 'str',
|
|
37
|
+
'region_id': 'str'
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
attribute_map = {
|
|
41
|
+
'name': 'Name',
|
|
42
|
+
'region_id': 'RegionId'
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
def __init__(self, name=None, region_id=None, _configuration=None): # noqa: E501
|
|
46
|
+
"""RegionForDescribeRegionsOutput - a model defined in Swagger""" # noqa: E501
|
|
47
|
+
if _configuration is None:
|
|
48
|
+
_configuration = Configuration()
|
|
49
|
+
self._configuration = _configuration
|
|
50
|
+
|
|
51
|
+
self._name = None
|
|
52
|
+
self._region_id = None
|
|
53
|
+
self.discriminator = None
|
|
54
|
+
|
|
55
|
+
if name is not None:
|
|
56
|
+
self.name = name
|
|
57
|
+
if region_id is not None:
|
|
58
|
+
self.region_id = region_id
|
|
59
|
+
|
|
60
|
+
@property
|
|
61
|
+
def name(self):
|
|
62
|
+
"""Gets the name of this RegionForDescribeRegionsOutput. # noqa: E501
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
:return: The name of this RegionForDescribeRegionsOutput. # noqa: E501
|
|
66
|
+
:rtype: str
|
|
67
|
+
"""
|
|
68
|
+
return self._name
|
|
69
|
+
|
|
70
|
+
@name.setter
|
|
71
|
+
def name(self, name):
|
|
72
|
+
"""Sets the name of this RegionForDescribeRegionsOutput.
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
:param name: The name of this RegionForDescribeRegionsOutput. # noqa: E501
|
|
76
|
+
:type: str
|
|
77
|
+
"""
|
|
78
|
+
|
|
79
|
+
self._name = name
|
|
80
|
+
|
|
81
|
+
@property
|
|
82
|
+
def region_id(self):
|
|
83
|
+
"""Gets the region_id of this RegionForDescribeRegionsOutput. # noqa: E501
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
:return: The region_id of this RegionForDescribeRegionsOutput. # noqa: E501
|
|
87
|
+
:rtype: str
|
|
88
|
+
"""
|
|
89
|
+
return self._region_id
|
|
90
|
+
|
|
91
|
+
@region_id.setter
|
|
92
|
+
def region_id(self, region_id):
|
|
93
|
+
"""Sets the region_id of this RegionForDescribeRegionsOutput.
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
:param region_id: The region_id of this RegionForDescribeRegionsOutput. # noqa: E501
|
|
97
|
+
:type: str
|
|
98
|
+
"""
|
|
99
|
+
|
|
100
|
+
self._region_id = region_id
|
|
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(RegionForDescribeRegionsOutput, 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, RegionForDescribeRegionsOutput):
|
|
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, RegionForDescribeRegionsOutput):
|
|
147
|
+
return True
|
|
148
|
+
|
|
149
|
+
return self.to_dict() != other.to_dict()
|