volcengine-python-sdk 5.0.44__py2.py3-none-any.whl → 5.0.45__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.
- {volcengine_python_sdk-5.0.44.dist-info → volcengine_python_sdk-5.0.45.dist-info}/METADATA +1 -1
- {volcengine_python_sdk-5.0.44.dist-info → volcengine_python_sdk-5.0.45.dist-info}/RECORD +300 -31
- {volcengine_python_sdk-5.0.44.dist-info → volcengine_python_sdk-5.0.45.dist-info}/WHEEL +1 -1
- {volcengine_python_sdk-5.0.44.dist-info → volcengine_python_sdk-5.0.45.dist-info}/top_level.txt +1 -0
- volcenginesdkacep/__init__.py +3 -0
- volcenginesdkacep/api/acep_api.py +97 -0
- volcenginesdkacep/models/__init__.py +3 -0
- volcenginesdkacep/models/delete_pod_response.py +29 -1
- volcenginesdkacep/models/delete_port_mapping_rule_request.py +177 -0
- volcenginesdkacep/models/delete_port_mapping_rule_response.py +175 -0
- volcenginesdkacep/models/detail_for_delete_pod_output.py +201 -0
- volcenginesdkarkruntime/resources/content_generation/tasks.py +8 -0
- volcenginesdkarkruntime/types/content_generation/content_generation_task.py +3 -0
- volcenginesdkcore/api_client.py +1 -1
- volcenginesdkcore/configuration.py +1 -1
- volcenginesdkcore/endpoint/providers/default_provider.py +6 -0
- volcenginesdkcore/endpoint/providers/standard_provider.py +1 -0
- volcenginesdkcpaas/api/cpaas_api.py +2 -2
- volcenginesdkcpaas/models/create_template_v2_request.py +15 -41
- volcenginesdkcpaas/models/priority_for_send_batch_message_input.py +7 -0
- volcenginesdkcpaas/models/priority_for_send_message_input.py +7 -0
- volcenginesdkdms/__init__.py +5 -0
- volcenginesdkdms/api/dms_api.py +194 -0
- volcenginesdkdms/models/__init__.py +5 -0
- volcenginesdkdms/models/basic_config_for_create_data_migrate_task_input.py +53 -1
- volcenginesdkdms/models/basic_config_for_query_data_migrate_task_output.py +53 -1
- volcenginesdkdms/models/bucket_access_config_for_create_data_migrate_task_input.py +27 -1
- volcenginesdkdms/models/bucket_access_config_for_query_data_migrate_task_output.py +27 -1
- volcenginesdkdms/models/failed_object_for_list_failed_objects_output.py +253 -0
- volcenginesdkdms/models/list_failed_objects_request.py +124 -0
- volcenginesdkdms/models/list_failed_objects_response.py +149 -0
- volcenginesdkdms/models/retry_migrate_task_callback_request.py +124 -0
- volcenginesdkdms/models/retry_migrate_task_callback_response.py +95 -0
- volcenginesdkdms/models/target_for_query_data_migrate_task_output.py +27 -1
- volcenginesdki18nopenapi/models/base_resp_for_video_project_task_batch_start_ai_flow_output.py +3 -3
- volcenginesdki18nopenapi/models/sub_for_video_editor_save_subtitle_input.py +3 -3
- volcenginesdki18nopenapi/models/video_editor_batch_update_style_request.py +28 -1
- volcenginesdktidb/__init__.py +278 -0
- volcenginesdktidb/api/__init__.py +6 -0
- volcenginesdktidb/api/tidb_api.py +3138 -0
- volcenginesdktidb/models/__init__.py +274 -0
- volcenginesdktidb/models/access_key_for_cancel_export_task_output.py +149 -0
- volcenginesdktidb/models/access_key_for_create_export_task_input.py +149 -0
- volcenginesdktidb/models/access_key_for_create_export_task_output.py +149 -0
- volcenginesdktidb/models/access_key_for_create_import_task_input.py +149 -0
- volcenginesdktidb/models/access_key_for_create_import_task_output.py +149 -0
- volcenginesdktidb/models/access_key_for_delete_export_task_output.py +149 -0
- volcenginesdktidb/models/access_key_for_get_export_task_details_output.py +149 -0
- volcenginesdktidb/models/access_key_for_get_import_task_details_output.py +149 -0
- volcenginesdktidb/models/access_key_for_list_export_tasks_output.py +149 -0
- volcenginesdktidb/models/access_key_for_list_import_tasks_output.py +149 -0
- volcenginesdktidb/models/access_key_for_precheck_import_task_input.py +149 -0
- volcenginesdktidb/models/access_key_for_validate_import_task_input.py +149 -0
- volcenginesdktidb/models/all_completed_table_for_create_import_task_output.py +201 -0
- volcenginesdktidb/models/all_completed_table_for_get_import_task_details_output.py +201 -0
- volcenginesdktidb/models/all_completed_table_for_list_import_tasks_output.py +201 -0
- volcenginesdktidb/models/auto_scaling_for_restore_cluster_input.py +149 -0
- volcenginesdktidb/models/azure_blob_for_cancel_export_task_output.py +175 -0
- volcenginesdktidb/models/azure_blob_for_create_export_task_input.py +182 -0
- volcenginesdktidb/models/azure_blob_for_create_export_task_output.py +175 -0
- volcenginesdktidb/models/azure_blob_for_create_import_task_input.py +182 -0
- volcenginesdktidb/models/azure_blob_for_create_import_task_output.py +175 -0
- volcenginesdktidb/models/azure_blob_for_delete_export_task_output.py +175 -0
- volcenginesdktidb/models/azure_blob_for_get_export_task_details_output.py +175 -0
- volcenginesdktidb/models/azure_blob_for_get_import_task_details_output.py +175 -0
- volcenginesdktidb/models/azure_blob_for_list_export_tasks_output.py +175 -0
- volcenginesdktidb/models/azure_blob_for_list_import_tasks_output.py +175 -0
- volcenginesdktidb/models/azure_blob_for_precheck_import_task_input.py +182 -0
- volcenginesdktidb/models/azure_blob_for_validate_import_task_input.py +182 -0
- volcenginesdktidb/models/backup_for_get_backup_output.py +279 -0
- volcenginesdktidb/models/backup_for_list_backups_output.py +279 -0
- volcenginesdktidb/models/cancel_export_task_request.py +177 -0
- volcenginesdktidb/models/cancel_export_task_response.py +123 -0
- volcenginesdktidb/models/cancel_import_task_request.py +177 -0
- volcenginesdktidb/models/cancel_import_task_response.py +95 -0
- volcenginesdktidb/models/cluster_for_restore_cluster_input.py +208 -0
- volcenginesdktidb/models/column_for_create_import_task_input.py +149 -0
- volcenginesdktidb/models/column_for_create_import_task_output.py +149 -0
- volcenginesdktidb/models/column_for_get_import_task_details_output.py +149 -0
- volcenginesdktidb/models/column_for_list_import_tasks_output.py +149 -0
- volcenginesdktidb/models/column_for_precheck_import_task_input.py +149 -0
- volcenginesdktidb/models/column_for_validate_import_task_input.py +149 -0
- volcenginesdktidb/models/convert_target_table_for_precheck_import_task_output.py +227 -0
- volcenginesdktidb/models/create_export_task_request.py +228 -0
- volcenginesdktidb/models/create_export_task_response.py +123 -0
- volcenginesdktidb/models/create_import_task_request.py +202 -0
- volcenginesdktidb/models/create_import_task_response.py +123 -0
- volcenginesdktidb/models/create_import_upload_url_request.py +177 -0
- volcenginesdktidb/models/create_import_upload_url_response.py +175 -0
- volcenginesdktidb/models/creation_details_for_create_import_task_output.py +149 -0
- volcenginesdktidb/models/creation_details_for_get_import_task_details_output.py +149 -0
- volcenginesdktidb/models/creation_details_for_list_import_tasks_output.py +149 -0
- volcenginesdktidb/models/csv_format_for_cancel_export_task_output.py +201 -0
- volcenginesdktidb/models/csv_format_for_create_export_task_input.py +201 -0
- volcenginesdktidb/models/csv_format_for_create_export_task_output.py +201 -0
- volcenginesdktidb/models/csv_format_for_create_import_task_input.py +279 -0
- volcenginesdktidb/models/csv_format_for_create_import_task_output.py +279 -0
- volcenginesdktidb/models/csv_format_for_delete_export_task_output.py +201 -0
- volcenginesdktidb/models/csv_format_for_get_export_task_details_output.py +201 -0
- volcenginesdktidb/models/csv_format_for_get_import_task_details_output.py +279 -0
- volcenginesdktidb/models/csv_format_for_list_export_tasks_output.py +201 -0
- volcenginesdktidb/models/csv_format_for_list_import_tasks_output.py +279 -0
- volcenginesdktidb/models/csv_format_for_precheck_import_task_input.py +279 -0
- volcenginesdktidb/models/csv_format_for_preview_local_import_input.py +279 -0
- volcenginesdktidb/models/database_for_list_import_target_tables_output.py +149 -0
- volcenginesdktidb/models/delete_export_task_request.py +177 -0
- volcenginesdktidb/models/delete_export_task_response.py +123 -0
- volcenginesdktidb/models/event_for_list_events_output.py +357 -0
- volcenginesdktidb/models/export_for_cancel_export_task_output.py +435 -0
- volcenginesdktidb/models/export_for_create_export_task_output.py +435 -0
- volcenginesdktidb/models/export_for_delete_export_task_output.py +435 -0
- volcenginesdktidb/models/export_for_get_export_task_details_output.py +435 -0
- volcenginesdktidb/models/export_for_list_export_tasks_output.py +435 -0
- volcenginesdktidb/models/export_options_for_cancel_export_task_output.py +227 -0
- volcenginesdktidb/models/export_options_for_create_export_task_input.py +241 -0
- volcenginesdktidb/models/export_options_for_create_export_task_output.py +227 -0
- volcenginesdktidb/models/export_options_for_delete_export_task_output.py +227 -0
- volcenginesdktidb/models/export_options_for_get_export_task_details_output.py +227 -0
- volcenginesdktidb/models/export_options_for_list_export_tasks_output.py +227 -0
- volcenginesdktidb/models/filter_for_cancel_export_task_output.py +149 -0
- volcenginesdktidb/models/filter_for_create_export_task_input.py +149 -0
- volcenginesdktidb/models/filter_for_create_export_task_output.py +149 -0
- volcenginesdktidb/models/filter_for_delete_export_task_output.py +149 -0
- volcenginesdktidb/models/filter_for_get_export_task_details_output.py +149 -0
- volcenginesdktidb/models/filter_for_list_export_tasks_output.py +149 -0
- volcenginesdktidb/models/gcs_for_cancel_export_task_output.py +175 -0
- volcenginesdktidb/models/gcs_for_create_export_task_input.py +182 -0
- volcenginesdktidb/models/gcs_for_create_export_task_output.py +175 -0
- volcenginesdktidb/models/gcs_for_create_import_task_input.py +182 -0
- volcenginesdktidb/models/gcs_for_create_import_task_output.py +175 -0
- volcenginesdktidb/models/gcs_for_delete_export_task_output.py +175 -0
- volcenginesdktidb/models/gcs_for_get_export_task_details_output.py +175 -0
- volcenginesdktidb/models/gcs_for_get_import_task_details_output.py +175 -0
- volcenginesdktidb/models/gcs_for_list_export_tasks_output.py +175 -0
- volcenginesdktidb/models/gcs_for_list_import_tasks_output.py +175 -0
- volcenginesdktidb/models/gcs_for_precheck_import_task_input.py +182 -0
- volcenginesdktidb/models/gcs_for_validate_import_task_input.py +182 -0
- volcenginesdktidb/models/get_backup_request.py +177 -0
- volcenginesdktidb/models/get_backup_response.py +123 -0
- volcenginesdktidb/models/get_backup_retention_request.py +150 -0
- volcenginesdktidb/models/get_backup_retention_response.py +123 -0
- volcenginesdktidb/models/get_export_task_details_request.py +177 -0
- volcenginesdktidb/models/get_export_task_details_response.py +123 -0
- volcenginesdktidb/models/get_import_table_columns_request.py +204 -0
- volcenginesdktidb/models/get_import_table_columns_response.py +123 -0
- volcenginesdktidb/models/get_import_task_details_request.py +177 -0
- volcenginesdktidb/models/get_import_task_details_response.py +123 -0
- volcenginesdktidb/models/get_metrics_request.py +257 -0
- volcenginesdktidb/models/get_metrics_response.py +123 -0
- volcenginesdktidb/models/get_restore_progress_request.py +150 -0
- volcenginesdktidb/models/get_restore_progress_response.py +175 -0
- volcenginesdktidb/models/get_slow_query_details_request.py +306 -0
- volcenginesdktidb/models/get_slow_query_details_response.py +123 -0
- volcenginesdktidb/models/get_statement_plan_details_request.py +280 -0
- volcenginesdktidb/models/get_statement_plan_details_response.py +123 -0
- volcenginesdktidb/models/import_for_create_import_task_output.py +513 -0
- volcenginesdktidb/models/import_for_get_import_task_details_output.py +513 -0
- volcenginesdktidb/models/import_for_list_import_tasks_output.py +513 -0
- volcenginesdktidb/models/import_options_for_create_import_task_input.py +208 -0
- volcenginesdktidb/models/import_options_for_create_import_task_output.py +201 -0
- volcenginesdktidb/models/import_options_for_get_import_task_details_output.py +201 -0
- volcenginesdktidb/models/import_options_for_list_import_tasks_output.py +201 -0
- volcenginesdktidb/models/import_options_for_precheck_import_task_input.py +208 -0
- volcenginesdktidb/models/item_for_get_slow_query_details_output.py +1735 -0
- volcenginesdktidb/models/item_for_get_statement_plan_details_output.py +1085 -0
- volcenginesdktidb/models/item_for_list_slow_queries_output.py +357 -0
- volcenginesdktidb/models/item_for_list_statement_plans_output.py +357 -0
- volcenginesdktidb/models/item_for_list_statement_slow_queries_output.py +357 -0
- volcenginesdktidb/models/item_for_list_statements_output.py +565 -0
- volcenginesdktidb/models/list_backups_request.py +228 -0
- volcenginesdktidb/models/list_backups_response.py +175 -0
- volcenginesdktidb/models/list_events_request.py +312 -0
- volcenginesdktidb/models/list_events_response.py +149 -0
- volcenginesdktidb/models/list_export_tasks_request.py +228 -0
- volcenginesdktidb/models/list_export_tasks_response.py +175 -0
- volcenginesdktidb/models/list_import_supported_data_types_request.py +123 -0
- volcenginesdktidb/models/list_import_supported_data_types_response.py +123 -0
- volcenginesdktidb/models/list_import_target_tables_request.py +150 -0
- volcenginesdktidb/models/list_import_target_tables_response.py +123 -0
- volcenginesdktidb/models/list_import_tasks_request.py +228 -0
- volcenginesdktidb/models/list_import_tasks_response.py +175 -0
- volcenginesdktidb/models/list_regions_request.py +95 -0
- volcenginesdktidb/models/list_regions_response.py +123 -0
- volcenginesdktidb/models/list_slow_queries_request.py +462 -0
- volcenginesdktidb/models/list_slow_queries_response.py +123 -0
- volcenginesdktidb/models/list_statement_plans_request.py +254 -0
- volcenginesdktidb/models/list_statement_plans_response.py +123 -0
- volcenginesdktidb/models/list_statement_slow_queries_request.py +358 -0
- volcenginesdktidb/models/list_statement_slow_queries_response.py +123 -0
- volcenginesdktidb/models/list_statement_types_request.py +150 -0
- volcenginesdktidb/models/list_statement_types_response.py +123 -0
- volcenginesdktidb/models/list_statements_request.py +280 -0
- volcenginesdktidb/models/list_statements_response.py +123 -0
- volcenginesdktidb/models/list_zones_request.py +123 -0
- volcenginesdktidb/models/list_zones_response.py +149 -0
- volcenginesdktidb/models/local_for_create_import_task_input.py +253 -0
- volcenginesdktidb/models/local_for_create_import_task_output.py +253 -0
- volcenginesdktidb/models/local_for_get_import_task_details_output.py +253 -0
- volcenginesdktidb/models/local_for_list_import_tasks_output.py +253 -0
- volcenginesdktidb/models/local_for_precheck_import_task_input.py +253 -0
- volcenginesdktidb/models/local_for_validate_import_task_input.py +253 -0
- volcenginesdktidb/models/oss_for_cancel_export_task_output.py +175 -0
- volcenginesdktidb/models/oss_for_create_export_task_input.py +182 -0
- volcenginesdktidb/models/oss_for_create_export_task_output.py +175 -0
- volcenginesdktidb/models/oss_for_create_import_task_input.py +182 -0
- volcenginesdktidb/models/oss_for_create_import_task_output.py +175 -0
- volcenginesdktidb/models/oss_for_delete_export_task_output.py +175 -0
- volcenginesdktidb/models/oss_for_get_export_task_details_output.py +175 -0
- volcenginesdktidb/models/oss_for_get_import_task_details_output.py +175 -0
- volcenginesdktidb/models/oss_for_list_export_tasks_output.py +175 -0
- volcenginesdktidb/models/oss_for_list_import_tasks_output.py +175 -0
- volcenginesdktidb/models/oss_for_precheck_import_task_input.py +182 -0
- volcenginesdktidb/models/oss_for_validate_import_task_input.py +182 -0
- volcenginesdktidb/models/parquet_format_for_cancel_export_task_output.py +123 -0
- volcenginesdktidb/models/parquet_format_for_create_export_task_input.py +130 -0
- volcenginesdktidb/models/parquet_format_for_create_export_task_output.py +123 -0
- volcenginesdktidb/models/parquet_format_for_delete_export_task_output.py +123 -0
- volcenginesdktidb/models/parquet_format_for_get_export_task_details_output.py +123 -0
- volcenginesdktidb/models/parquet_format_for_list_export_tasks_output.py +123 -0
- volcenginesdktidb/models/point_in_time_for_restore_cluster_input.py +149 -0
- volcenginesdktidb/models/precheck_import_task_request.py +202 -0
- volcenginesdktidb/models/precheck_import_task_response.py +227 -0
- volcenginesdktidb/models/preview_local_import_request.py +237 -0
- volcenginesdktidb/models/preview_local_import_response.py +123 -0
- volcenginesdktidb/models/region_for_list_regions_output.py +227 -0
- volcenginesdktidb/models/restore_cluster_request.py +254 -0
- volcenginesdktidb/models/restore_cluster_response.py +123 -0
- volcenginesdktidb/models/row_value_for_get_import_table_columns_output.py +123 -0
- volcenginesdktidb/models/row_value_for_preview_local_import_output.py +123 -0
- volcenginesdktidb/models/ru_v2_metrics_for_get_slow_query_details_output.py +279 -0
- volcenginesdktidb/models/s3_compatible_for_create_import_task_input.py +208 -0
- volcenginesdktidb/models/s3_compatible_for_create_import_task_output.py +201 -0
- volcenginesdktidb/models/s3_compatible_for_get_import_task_details_output.py +201 -0
- volcenginesdktidb/models/s3_compatible_for_list_import_tasks_output.py +201 -0
- volcenginesdktidb/models/s3_compatible_for_precheck_import_task_input.py +208 -0
- volcenginesdktidb/models/s3_compatible_for_validate_import_task_input.py +208 -0
- volcenginesdktidb/models/s3_for_cancel_export_task_output.py +201 -0
- volcenginesdktidb/models/s3_for_create_export_task_input.py +208 -0
- volcenginesdktidb/models/s3_for_create_export_task_output.py +201 -0
- volcenginesdktidb/models/s3_for_create_import_task_input.py +208 -0
- volcenginesdktidb/models/s3_for_create_import_task_output.py +201 -0
- volcenginesdktidb/models/s3_for_delete_export_task_output.py +201 -0
- volcenginesdktidb/models/s3_for_get_export_task_details_output.py +201 -0
- volcenginesdktidb/models/s3_for_get_import_task_details_output.py +201 -0
- volcenginesdktidb/models/s3_for_list_export_tasks_output.py +201 -0
- volcenginesdktidb/models/s3_for_list_import_tasks_output.py +201 -0
- volcenginesdktidb/models/s3_for_precheck_import_task_input.py +208 -0
- volcenginesdktidb/models/s3_for_validate_import_task_input.py +208 -0
- volcenginesdktidb/models/source_for_create_import_task_input.py +338 -0
- volcenginesdktidb/models/source_for_create_import_task_output.py +331 -0
- volcenginesdktidb/models/source_for_get_import_task_details_output.py +331 -0
- volcenginesdktidb/models/source_for_list_import_tasks_output.py +331 -0
- volcenginesdktidb/models/source_for_precheck_import_task_input.py +338 -0
- volcenginesdktidb/models/source_for_validate_import_task_input.py +338 -0
- volcenginesdktidb/models/spending_limit_for_restore_cluster_input.py +123 -0
- volcenginesdktidb/models/table_for_cancel_export_task_output.py +149 -0
- volcenginesdktidb/models/table_for_create_export_task_input.py +149 -0
- volcenginesdktidb/models/table_for_create_export_task_output.py +149 -0
- volcenginesdktidb/models/table_for_delete_export_task_output.py +149 -0
- volcenginesdktidb/models/table_for_get_export_task_details_output.py +149 -0
- volcenginesdktidb/models/table_for_get_import_table_columns_output.py +279 -0
- volcenginesdktidb/models/table_for_list_export_tasks_output.py +149 -0
- volcenginesdktidb/models/table_for_preview_local_import_output.py +279 -0
- volcenginesdktidb/models/target_for_cancel_export_task_output.py +253 -0
- volcenginesdktidb/models/target_for_create_export_task_input.py +260 -0
- volcenginesdktidb/models/target_for_create_export_task_output.py +253 -0
- volcenginesdktidb/models/target_for_delete_export_task_output.py +253 -0
- volcenginesdktidb/models/target_for_get_export_task_details_output.py +253 -0
- volcenginesdktidb/models/target_for_list_export_tasks_output.py +253 -0
- volcenginesdktidb/models/target_table_for_create_import_task_input.py +149 -0
- volcenginesdktidb/models/target_table_for_create_import_task_output.py +149 -0
- volcenginesdktidb/models/target_table_for_get_import_task_details_output.py +149 -0
- volcenginesdktidb/models/target_table_for_list_import_tasks_output.py +149 -0
- volcenginesdktidb/models/target_table_for_precheck_import_task_input.py +149 -0
- volcenginesdktidb/models/target_table_for_precheck_import_task_output.py +149 -0
- volcenginesdktidb/models/target_table_for_validate_import_task_input.py +149 -0
- volcenginesdktidb/models/target_table_info_for_create_import_task_input.py +149 -0
- volcenginesdktidb/models/target_table_info_for_create_import_task_output.py +149 -0
- volcenginesdktidb/models/target_table_info_for_get_import_task_details_output.py +149 -0
- volcenginesdktidb/models/target_table_info_for_list_import_tasks_output.py +149 -0
- volcenginesdktidb/models/target_table_info_for_precheck_import_task_input.py +149 -0
- volcenginesdktidb/models/target_table_info_for_validate_import_task_input.py +149 -0
- volcenginesdktidb/models/tos_for_cancel_export_task_output.py +175 -0
- volcenginesdktidb/models/tos_for_create_export_task_input.py +182 -0
- volcenginesdktidb/models/tos_for_create_export_task_output.py +175 -0
- volcenginesdktidb/models/tos_for_create_import_task_input.py +182 -0
- volcenginesdktidb/models/tos_for_create_import_task_output.py +175 -0
- volcenginesdktidb/models/tos_for_delete_export_task_output.py +175 -0
- volcenginesdktidb/models/tos_for_get_export_task_details_output.py +175 -0
- volcenginesdktidb/models/tos_for_get_import_task_details_output.py +175 -0
- volcenginesdktidb/models/tos_for_list_export_tasks_output.py +175 -0
- volcenginesdktidb/models/tos_for_list_import_tasks_output.py +175 -0
- volcenginesdktidb/models/tos_for_precheck_import_task_input.py +182 -0
- volcenginesdktidb/models/tos_for_validate_import_task_input.py +182 -0
- volcenginesdktidb/models/validate_import_task_request.py +210 -0
- volcenginesdktidb/models/validate_import_task_response.py +95 -0
- volcenginesdktidb/models/zone_for_list_zones_output.py +175 -0
- volcenginesdktidb/models/zone_for_restore_cluster_input.py +149 -0
- {volcengine_python_sdk-5.0.44.dist-info → volcengine_python_sdk-5.0.45.dist-info}/licenses/LICENSE.txt +0 -0
- {volcengine_python_sdk-5.0.44.dist-info → volcengine_python_sdk-5.0.45.dist-info}/licenses/NOTICE.md +0 -0
|
@@ -3137,6 +3137,103 @@ class ACEPApi(object):
|
|
|
3137
3137
|
_request_timeout=params.get('_request_timeout'),
|
|
3138
3138
|
collection_formats=collection_formats)
|
|
3139
3139
|
|
|
3140
|
+
def delete_port_mapping_rule(self, body, **kwargs): # noqa: E501
|
|
3141
|
+
"""delete_port_mapping_rule # noqa: E501
|
|
3142
|
+
|
|
3143
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
3144
|
+
asynchronous HTTP request, please pass async_req=True
|
|
3145
|
+
>>> thread = api.delete_port_mapping_rule(body, async_req=True)
|
|
3146
|
+
>>> result = thread.get()
|
|
3147
|
+
|
|
3148
|
+
:param async_req bool
|
|
3149
|
+
:param DeletePortMappingRuleRequest body: (required)
|
|
3150
|
+
:return: DeletePortMappingRuleResponse
|
|
3151
|
+
If the method is called asynchronously,
|
|
3152
|
+
returns the request thread.
|
|
3153
|
+
"""
|
|
3154
|
+
kwargs['_return_http_data_only'] = True
|
|
3155
|
+
if kwargs.get('async_req'):
|
|
3156
|
+
return self.delete_port_mapping_rule_with_http_info(body, **kwargs) # noqa: E501
|
|
3157
|
+
else:
|
|
3158
|
+
(data) = self.delete_port_mapping_rule_with_http_info(body, **kwargs) # noqa: E501
|
|
3159
|
+
return data
|
|
3160
|
+
|
|
3161
|
+
def delete_port_mapping_rule_with_http_info(self, body, **kwargs): # noqa: E501
|
|
3162
|
+
"""delete_port_mapping_rule # noqa: E501
|
|
3163
|
+
|
|
3164
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
3165
|
+
asynchronous HTTP request, please pass async_req=True
|
|
3166
|
+
>>> thread = api.delete_port_mapping_rule_with_http_info(body, async_req=True)
|
|
3167
|
+
>>> result = thread.get()
|
|
3168
|
+
|
|
3169
|
+
:param async_req bool
|
|
3170
|
+
:param DeletePortMappingRuleRequest body: (required)
|
|
3171
|
+
:return: DeletePortMappingRuleResponse
|
|
3172
|
+
If the method is called asynchronously,
|
|
3173
|
+
returns the request thread.
|
|
3174
|
+
"""
|
|
3175
|
+
|
|
3176
|
+
all_params = ['body'] # noqa: E501
|
|
3177
|
+
all_params.append('async_req')
|
|
3178
|
+
all_params.append('_return_http_data_only')
|
|
3179
|
+
all_params.append('_preload_content')
|
|
3180
|
+
all_params.append('_request_timeout')
|
|
3181
|
+
|
|
3182
|
+
params = locals()
|
|
3183
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
3184
|
+
if key not in all_params:
|
|
3185
|
+
raise TypeError(
|
|
3186
|
+
"Got an unexpected keyword argument '%s'"
|
|
3187
|
+
" to method delete_port_mapping_rule" % key
|
|
3188
|
+
)
|
|
3189
|
+
params[key] = val
|
|
3190
|
+
del params['kwargs']
|
|
3191
|
+
# verify the required parameter 'body' is set
|
|
3192
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
3193
|
+
params['body'] is None): # noqa: E501
|
|
3194
|
+
raise ValueError("Missing the required parameter `body` when calling `delete_port_mapping_rule`") # noqa: E501
|
|
3195
|
+
|
|
3196
|
+
collection_formats = {}
|
|
3197
|
+
|
|
3198
|
+
path_params = {}
|
|
3199
|
+
|
|
3200
|
+
query_params = []
|
|
3201
|
+
|
|
3202
|
+
header_params = {}
|
|
3203
|
+
|
|
3204
|
+
form_params = []
|
|
3205
|
+
local_var_files = {}
|
|
3206
|
+
|
|
3207
|
+
body_params = None
|
|
3208
|
+
if 'body' in params:
|
|
3209
|
+
body_params = params['body']
|
|
3210
|
+
# HTTP header `Accept`
|
|
3211
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
3212
|
+
['application/json']) # noqa: E501
|
|
3213
|
+
|
|
3214
|
+
# HTTP header `Content-Type`
|
|
3215
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
3216
|
+
['application/json']) # noqa: E501
|
|
3217
|
+
|
|
3218
|
+
# Authentication setting
|
|
3219
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
3220
|
+
|
|
3221
|
+
return self.api_client.call_api(
|
|
3222
|
+
'/DeletePortMappingRule/2025-05-01/acep/post/application_json/', 'POST',
|
|
3223
|
+
path_params,
|
|
3224
|
+
query_params,
|
|
3225
|
+
header_params,
|
|
3226
|
+
body=body_params,
|
|
3227
|
+
post_params=form_params,
|
|
3228
|
+
files=local_var_files,
|
|
3229
|
+
response_type='DeletePortMappingRuleResponse', # noqa: E501
|
|
3230
|
+
auth_settings=auth_settings,
|
|
3231
|
+
async_req=params.get('async_req'),
|
|
3232
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
3233
|
+
_preload_content=params.get('_preload_content', True),
|
|
3234
|
+
_request_timeout=params.get('_request_timeout'),
|
|
3235
|
+
collection_formats=collection_formats)
|
|
3236
|
+
|
|
3140
3237
|
def delete_tag(self, body, **kwargs): # noqa: E501
|
|
3141
3238
|
"""delete_tag # noqa: E501
|
|
3142
3239
|
|
|
@@ -93,6 +93,8 @@ from volcenginesdkacep.models.delete_display_layout_request import DeleteDisplay
|
|
|
93
93
|
from volcenginesdkacep.models.delete_display_layout_response import DeleteDisplayLayoutResponse
|
|
94
94
|
from volcenginesdkacep.models.delete_pod_request import DeletePodRequest
|
|
95
95
|
from volcenginesdkacep.models.delete_pod_response import DeletePodResponse
|
|
96
|
+
from volcenginesdkacep.models.delete_port_mapping_rule_request import DeletePortMappingRuleRequest
|
|
97
|
+
from volcenginesdkacep.models.delete_port_mapping_rule_response import DeletePortMappingRuleResponse
|
|
96
98
|
from volcenginesdkacep.models.delete_tag_request import DeleteTagRequest
|
|
97
99
|
from volcenginesdkacep.models.delete_tag_response import DeleteTagResponse
|
|
98
100
|
from volcenginesdkacep.models.detail_app_image_request import DetailAppImageRequest
|
|
@@ -106,6 +108,7 @@ from volcenginesdkacep.models.detail_display_layout_mini_response import DetailD
|
|
|
106
108
|
from volcenginesdkacep.models.detail_for_backup_data_output import DetailForBackupDataOutput
|
|
107
109
|
from volcenginesdkacep.models.detail_for_batch_screen_shot_output import DetailForBatchScreenShotOutput
|
|
108
110
|
from volcenginesdkacep.models.detail_for_delete_backup_data_output import DetailForDeleteBackupDataOutput
|
|
111
|
+
from volcenginesdkacep.models.detail_for_delete_pod_output import DetailForDeletePodOutput
|
|
109
112
|
from volcenginesdkacep.models.detail_for_migrate_pod_output import DetailForMigratePodOutput
|
|
110
113
|
from volcenginesdkacep.models.detail_for_power_off_pod_output import DetailForPowerOffPodOutput
|
|
111
114
|
from volcenginesdkacep.models.detail_for_power_on_pod_output import DetailForPowerOnPodOutput
|
|
@@ -33,18 +33,46 @@ class DeletePodResponse(object):
|
|
|
33
33
|
and the value is json key in definition.
|
|
34
34
|
"""
|
|
35
35
|
swagger_types = {
|
|
36
|
+
'details': 'list[DetailForDeletePodOutput]'
|
|
36
37
|
}
|
|
37
38
|
|
|
38
39
|
attribute_map = {
|
|
40
|
+
'details': 'Details'
|
|
39
41
|
}
|
|
40
42
|
|
|
41
|
-
def __init__(self, _configuration=None): # noqa: E501
|
|
43
|
+
def __init__(self, details=None, _configuration=None): # noqa: E501
|
|
42
44
|
"""DeletePodResponse - a model defined in Swagger""" # noqa: E501
|
|
43
45
|
if _configuration is None:
|
|
44
46
|
_configuration = Configuration()
|
|
45
47
|
self._configuration = _configuration
|
|
48
|
+
|
|
49
|
+
self._details = None
|
|
46
50
|
self.discriminator = None
|
|
47
51
|
|
|
52
|
+
if details is not None:
|
|
53
|
+
self.details = details
|
|
54
|
+
|
|
55
|
+
@property
|
|
56
|
+
def details(self):
|
|
57
|
+
"""Gets the details of this DeletePodResponse. # noqa: E501
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
:return: The details of this DeletePodResponse. # noqa: E501
|
|
61
|
+
:rtype: list[DetailForDeletePodOutput]
|
|
62
|
+
"""
|
|
63
|
+
return self._details
|
|
64
|
+
|
|
65
|
+
@details.setter
|
|
66
|
+
def details(self, details):
|
|
67
|
+
"""Sets the details of this DeletePodResponse.
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
:param details: The details of this DeletePodResponse. # noqa: E501
|
|
71
|
+
:type: list[DetailForDeletePodOutput]
|
|
72
|
+
"""
|
|
73
|
+
|
|
74
|
+
self._details = details
|
|
75
|
+
|
|
48
76
|
def to_dict(self):
|
|
49
77
|
"""Returns the model properties as a dict"""
|
|
50
78
|
result = {}
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
acep
|
|
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 DeletePortMappingRuleRequest(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
|
+
'force': 'bool',
|
|
37
|
+
'port_mapping_rule_id': 'str',
|
|
38
|
+
'product_id': 'str'
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
attribute_map = {
|
|
42
|
+
'force': 'Force',
|
|
43
|
+
'port_mapping_rule_id': 'PortMappingRuleId',
|
|
44
|
+
'product_id': 'ProductId'
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
def __init__(self, force=None, port_mapping_rule_id=None, product_id=None, _configuration=None): # noqa: E501
|
|
48
|
+
"""DeletePortMappingRuleRequest - a model defined in Swagger""" # noqa: E501
|
|
49
|
+
if _configuration is None:
|
|
50
|
+
_configuration = Configuration()
|
|
51
|
+
self._configuration = _configuration
|
|
52
|
+
|
|
53
|
+
self._force = None
|
|
54
|
+
self._port_mapping_rule_id = None
|
|
55
|
+
self._product_id = None
|
|
56
|
+
self.discriminator = None
|
|
57
|
+
|
|
58
|
+
if force is not None:
|
|
59
|
+
self.force = force
|
|
60
|
+
self.port_mapping_rule_id = port_mapping_rule_id
|
|
61
|
+
self.product_id = product_id
|
|
62
|
+
|
|
63
|
+
@property
|
|
64
|
+
def force(self):
|
|
65
|
+
"""Gets the force of this DeletePortMappingRuleRequest. # noqa: E501
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
:return: The force of this DeletePortMappingRuleRequest. # noqa: E501
|
|
69
|
+
:rtype: bool
|
|
70
|
+
"""
|
|
71
|
+
return self._force
|
|
72
|
+
|
|
73
|
+
@force.setter
|
|
74
|
+
def force(self, force):
|
|
75
|
+
"""Sets the force of this DeletePortMappingRuleRequest.
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
:param force: The force of this DeletePortMappingRuleRequest. # noqa: E501
|
|
79
|
+
:type: bool
|
|
80
|
+
"""
|
|
81
|
+
|
|
82
|
+
self._force = force
|
|
83
|
+
|
|
84
|
+
@property
|
|
85
|
+
def port_mapping_rule_id(self):
|
|
86
|
+
"""Gets the port_mapping_rule_id of this DeletePortMappingRuleRequest. # noqa: E501
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
:return: The port_mapping_rule_id of this DeletePortMappingRuleRequest. # noqa: E501
|
|
90
|
+
:rtype: str
|
|
91
|
+
"""
|
|
92
|
+
return self._port_mapping_rule_id
|
|
93
|
+
|
|
94
|
+
@port_mapping_rule_id.setter
|
|
95
|
+
def port_mapping_rule_id(self, port_mapping_rule_id):
|
|
96
|
+
"""Sets the port_mapping_rule_id of this DeletePortMappingRuleRequest.
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
:param port_mapping_rule_id: The port_mapping_rule_id of this DeletePortMappingRuleRequest. # noqa: E501
|
|
100
|
+
:type: str
|
|
101
|
+
"""
|
|
102
|
+
if self._configuration.client_side_validation and port_mapping_rule_id is None:
|
|
103
|
+
raise ValueError("Invalid value for `port_mapping_rule_id`, must not be `None`") # noqa: E501
|
|
104
|
+
|
|
105
|
+
self._port_mapping_rule_id = port_mapping_rule_id
|
|
106
|
+
|
|
107
|
+
@property
|
|
108
|
+
def product_id(self):
|
|
109
|
+
"""Gets the product_id of this DeletePortMappingRuleRequest. # noqa: E501
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
:return: The product_id of this DeletePortMappingRuleRequest. # noqa: E501
|
|
113
|
+
:rtype: str
|
|
114
|
+
"""
|
|
115
|
+
return self._product_id
|
|
116
|
+
|
|
117
|
+
@product_id.setter
|
|
118
|
+
def product_id(self, product_id):
|
|
119
|
+
"""Sets the product_id of this DeletePortMappingRuleRequest.
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
:param product_id: The product_id of this DeletePortMappingRuleRequest. # noqa: E501
|
|
123
|
+
:type: str
|
|
124
|
+
"""
|
|
125
|
+
if self._configuration.client_side_validation and product_id is None:
|
|
126
|
+
raise ValueError("Invalid value for `product_id`, must not be `None`") # noqa: E501
|
|
127
|
+
|
|
128
|
+
self._product_id = product_id
|
|
129
|
+
|
|
130
|
+
def to_dict(self):
|
|
131
|
+
"""Returns the model properties as a dict"""
|
|
132
|
+
result = {}
|
|
133
|
+
|
|
134
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
135
|
+
value = getattr(self, attr)
|
|
136
|
+
if isinstance(value, list):
|
|
137
|
+
result[attr] = list(map(
|
|
138
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
139
|
+
value
|
|
140
|
+
))
|
|
141
|
+
elif hasattr(value, "to_dict"):
|
|
142
|
+
result[attr] = value.to_dict()
|
|
143
|
+
elif isinstance(value, dict):
|
|
144
|
+
result[attr] = dict(map(
|
|
145
|
+
lambda item: (item[0], item[1].to_dict())
|
|
146
|
+
if hasattr(item[1], "to_dict") else item,
|
|
147
|
+
value.items()
|
|
148
|
+
))
|
|
149
|
+
else:
|
|
150
|
+
result[attr] = value
|
|
151
|
+
if issubclass(DeletePortMappingRuleRequest, dict):
|
|
152
|
+
for key, value in self.items():
|
|
153
|
+
result[key] = value
|
|
154
|
+
|
|
155
|
+
return result
|
|
156
|
+
|
|
157
|
+
def to_str(self):
|
|
158
|
+
"""Returns the string representation of the model"""
|
|
159
|
+
return pprint.pformat(self.to_dict())
|
|
160
|
+
|
|
161
|
+
def __repr__(self):
|
|
162
|
+
"""For `print` and `pprint`"""
|
|
163
|
+
return self.to_str()
|
|
164
|
+
|
|
165
|
+
def __eq__(self, other):
|
|
166
|
+
"""Returns true if both objects are equal"""
|
|
167
|
+
if not isinstance(other, DeletePortMappingRuleRequest):
|
|
168
|
+
return False
|
|
169
|
+
|
|
170
|
+
return self.to_dict() == other.to_dict()
|
|
171
|
+
|
|
172
|
+
def __ne__(self, other):
|
|
173
|
+
"""Returns true if both objects are not equal"""
|
|
174
|
+
if not isinstance(other, DeletePortMappingRuleRequest):
|
|
175
|
+
return True
|
|
176
|
+
|
|
177
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
acep
|
|
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 DeletePortMappingRuleResponse(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
|
+
'port_mapping_rule_id': 'str',
|
|
37
|
+
'protocol': 'str',
|
|
38
|
+
'source_port': 'int'
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
attribute_map = {
|
|
42
|
+
'port_mapping_rule_id': 'PortMappingRuleId',
|
|
43
|
+
'protocol': 'Protocol',
|
|
44
|
+
'source_port': 'SourcePort'
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
def __init__(self, port_mapping_rule_id=None, protocol=None, source_port=None, _configuration=None): # noqa: E501
|
|
48
|
+
"""DeletePortMappingRuleResponse - a model defined in Swagger""" # noqa: E501
|
|
49
|
+
if _configuration is None:
|
|
50
|
+
_configuration = Configuration()
|
|
51
|
+
self._configuration = _configuration
|
|
52
|
+
|
|
53
|
+
self._port_mapping_rule_id = None
|
|
54
|
+
self._protocol = None
|
|
55
|
+
self._source_port = None
|
|
56
|
+
self.discriminator = None
|
|
57
|
+
|
|
58
|
+
if port_mapping_rule_id is not None:
|
|
59
|
+
self.port_mapping_rule_id = port_mapping_rule_id
|
|
60
|
+
if protocol is not None:
|
|
61
|
+
self.protocol = protocol
|
|
62
|
+
if source_port is not None:
|
|
63
|
+
self.source_port = source_port
|
|
64
|
+
|
|
65
|
+
@property
|
|
66
|
+
def port_mapping_rule_id(self):
|
|
67
|
+
"""Gets the port_mapping_rule_id of this DeletePortMappingRuleResponse. # noqa: E501
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
:return: The port_mapping_rule_id of this DeletePortMappingRuleResponse. # noqa: E501
|
|
71
|
+
:rtype: str
|
|
72
|
+
"""
|
|
73
|
+
return self._port_mapping_rule_id
|
|
74
|
+
|
|
75
|
+
@port_mapping_rule_id.setter
|
|
76
|
+
def port_mapping_rule_id(self, port_mapping_rule_id):
|
|
77
|
+
"""Sets the port_mapping_rule_id of this DeletePortMappingRuleResponse.
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
:param port_mapping_rule_id: The port_mapping_rule_id of this DeletePortMappingRuleResponse. # noqa: E501
|
|
81
|
+
:type: str
|
|
82
|
+
"""
|
|
83
|
+
|
|
84
|
+
self._port_mapping_rule_id = port_mapping_rule_id
|
|
85
|
+
|
|
86
|
+
@property
|
|
87
|
+
def protocol(self):
|
|
88
|
+
"""Gets the protocol of this DeletePortMappingRuleResponse. # noqa: E501
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
:return: The protocol of this DeletePortMappingRuleResponse. # noqa: E501
|
|
92
|
+
:rtype: str
|
|
93
|
+
"""
|
|
94
|
+
return self._protocol
|
|
95
|
+
|
|
96
|
+
@protocol.setter
|
|
97
|
+
def protocol(self, protocol):
|
|
98
|
+
"""Sets the protocol of this DeletePortMappingRuleResponse.
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
:param protocol: The protocol of this DeletePortMappingRuleResponse. # noqa: E501
|
|
102
|
+
:type: str
|
|
103
|
+
"""
|
|
104
|
+
|
|
105
|
+
self._protocol = protocol
|
|
106
|
+
|
|
107
|
+
@property
|
|
108
|
+
def source_port(self):
|
|
109
|
+
"""Gets the source_port of this DeletePortMappingRuleResponse. # noqa: E501
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
:return: The source_port of this DeletePortMappingRuleResponse. # noqa: E501
|
|
113
|
+
:rtype: int
|
|
114
|
+
"""
|
|
115
|
+
return self._source_port
|
|
116
|
+
|
|
117
|
+
@source_port.setter
|
|
118
|
+
def source_port(self, source_port):
|
|
119
|
+
"""Sets the source_port of this DeletePortMappingRuleResponse.
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
:param source_port: The source_port of this DeletePortMappingRuleResponse. # noqa: E501
|
|
123
|
+
:type: int
|
|
124
|
+
"""
|
|
125
|
+
|
|
126
|
+
self._source_port = source_port
|
|
127
|
+
|
|
128
|
+
def to_dict(self):
|
|
129
|
+
"""Returns the model properties as a dict"""
|
|
130
|
+
result = {}
|
|
131
|
+
|
|
132
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
133
|
+
value = getattr(self, attr)
|
|
134
|
+
if isinstance(value, list):
|
|
135
|
+
result[attr] = list(map(
|
|
136
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
137
|
+
value
|
|
138
|
+
))
|
|
139
|
+
elif hasattr(value, "to_dict"):
|
|
140
|
+
result[attr] = value.to_dict()
|
|
141
|
+
elif isinstance(value, dict):
|
|
142
|
+
result[attr] = dict(map(
|
|
143
|
+
lambda item: (item[0], item[1].to_dict())
|
|
144
|
+
if hasattr(item[1], "to_dict") else item,
|
|
145
|
+
value.items()
|
|
146
|
+
))
|
|
147
|
+
else:
|
|
148
|
+
result[attr] = value
|
|
149
|
+
if issubclass(DeletePortMappingRuleResponse, dict):
|
|
150
|
+
for key, value in self.items():
|
|
151
|
+
result[key] = value
|
|
152
|
+
|
|
153
|
+
return result
|
|
154
|
+
|
|
155
|
+
def to_str(self):
|
|
156
|
+
"""Returns the string representation of the model"""
|
|
157
|
+
return pprint.pformat(self.to_dict())
|
|
158
|
+
|
|
159
|
+
def __repr__(self):
|
|
160
|
+
"""For `print` and `pprint`"""
|
|
161
|
+
return self.to_str()
|
|
162
|
+
|
|
163
|
+
def __eq__(self, other):
|
|
164
|
+
"""Returns true if both objects are equal"""
|
|
165
|
+
if not isinstance(other, DeletePortMappingRuleResponse):
|
|
166
|
+
return False
|
|
167
|
+
|
|
168
|
+
return self.to_dict() == other.to_dict()
|
|
169
|
+
|
|
170
|
+
def __ne__(self, other):
|
|
171
|
+
"""Returns true if both objects are not equal"""
|
|
172
|
+
if not isinstance(other, DeletePortMappingRuleResponse):
|
|
173
|
+
return True
|
|
174
|
+
|
|
175
|
+
return self.to_dict() != other.to_dict()
|