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
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
tidb
|
|
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 GcsForValidateImportTaskInput(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
|
+
'auth_type': 'str',
|
|
37
|
+
'service_account_key': 'str',
|
|
38
|
+
'uri': 'str'
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
attribute_map = {
|
|
42
|
+
'auth_type': 'AuthType',
|
|
43
|
+
'service_account_key': 'ServiceAccountKey',
|
|
44
|
+
'uri': 'Uri'
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
def __init__(self, auth_type=None, service_account_key=None, uri=None, _configuration=None): # noqa: E501
|
|
48
|
+
"""GcsForValidateImportTaskInput - a model defined in Swagger""" # noqa: E501
|
|
49
|
+
if _configuration is None:
|
|
50
|
+
_configuration = Configuration()
|
|
51
|
+
self._configuration = _configuration
|
|
52
|
+
|
|
53
|
+
self._auth_type = None
|
|
54
|
+
self._service_account_key = None
|
|
55
|
+
self._uri = None
|
|
56
|
+
self.discriminator = None
|
|
57
|
+
|
|
58
|
+
if auth_type is not None:
|
|
59
|
+
self.auth_type = auth_type
|
|
60
|
+
if service_account_key is not None:
|
|
61
|
+
self.service_account_key = service_account_key
|
|
62
|
+
if uri is not None:
|
|
63
|
+
self.uri = uri
|
|
64
|
+
|
|
65
|
+
@property
|
|
66
|
+
def auth_type(self):
|
|
67
|
+
"""Gets the auth_type of this GcsForValidateImportTaskInput. # noqa: E501
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
:return: The auth_type of this GcsForValidateImportTaskInput. # noqa: E501
|
|
71
|
+
:rtype: str
|
|
72
|
+
"""
|
|
73
|
+
return self._auth_type
|
|
74
|
+
|
|
75
|
+
@auth_type.setter
|
|
76
|
+
def auth_type(self, auth_type):
|
|
77
|
+
"""Sets the auth_type of this GcsForValidateImportTaskInput.
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
:param auth_type: The auth_type of this GcsForValidateImportTaskInput. # noqa: E501
|
|
81
|
+
:type: str
|
|
82
|
+
"""
|
|
83
|
+
allowed_values = ["ROLE_ARN", "ACCESS_KEY", "SERVICE_ACCOUNT_KEY", "SAS_TOKEN"] # noqa: E501
|
|
84
|
+
if (self._configuration.client_side_validation and
|
|
85
|
+
auth_type not in allowed_values):
|
|
86
|
+
raise ValueError(
|
|
87
|
+
"Invalid value for `auth_type` ({0}), must be one of {1}" # noqa: E501
|
|
88
|
+
.format(auth_type, allowed_values)
|
|
89
|
+
)
|
|
90
|
+
|
|
91
|
+
self._auth_type = auth_type
|
|
92
|
+
|
|
93
|
+
@property
|
|
94
|
+
def service_account_key(self):
|
|
95
|
+
"""Gets the service_account_key of this GcsForValidateImportTaskInput. # noqa: E501
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
:return: The service_account_key of this GcsForValidateImportTaskInput. # noqa: E501
|
|
99
|
+
:rtype: str
|
|
100
|
+
"""
|
|
101
|
+
return self._service_account_key
|
|
102
|
+
|
|
103
|
+
@service_account_key.setter
|
|
104
|
+
def service_account_key(self, service_account_key):
|
|
105
|
+
"""Sets the service_account_key of this GcsForValidateImportTaskInput.
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
:param service_account_key: The service_account_key of this GcsForValidateImportTaskInput. # noqa: E501
|
|
109
|
+
:type: str
|
|
110
|
+
"""
|
|
111
|
+
|
|
112
|
+
self._service_account_key = service_account_key
|
|
113
|
+
|
|
114
|
+
@property
|
|
115
|
+
def uri(self):
|
|
116
|
+
"""Gets the uri of this GcsForValidateImportTaskInput. # noqa: E501
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
:return: The uri of this GcsForValidateImportTaskInput. # noqa: E501
|
|
120
|
+
:rtype: str
|
|
121
|
+
"""
|
|
122
|
+
return self._uri
|
|
123
|
+
|
|
124
|
+
@uri.setter
|
|
125
|
+
def uri(self, uri):
|
|
126
|
+
"""Sets the uri of this GcsForValidateImportTaskInput.
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
:param uri: The uri of this GcsForValidateImportTaskInput. # noqa: E501
|
|
130
|
+
:type: str
|
|
131
|
+
"""
|
|
132
|
+
|
|
133
|
+
self._uri = uri
|
|
134
|
+
|
|
135
|
+
def to_dict(self):
|
|
136
|
+
"""Returns the model properties as a dict"""
|
|
137
|
+
result = {}
|
|
138
|
+
|
|
139
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
140
|
+
value = getattr(self, attr)
|
|
141
|
+
if isinstance(value, list):
|
|
142
|
+
result[attr] = list(map(
|
|
143
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
144
|
+
value
|
|
145
|
+
))
|
|
146
|
+
elif hasattr(value, "to_dict"):
|
|
147
|
+
result[attr] = value.to_dict()
|
|
148
|
+
elif isinstance(value, dict):
|
|
149
|
+
result[attr] = dict(map(
|
|
150
|
+
lambda item: (item[0], item[1].to_dict())
|
|
151
|
+
if hasattr(item[1], "to_dict") else item,
|
|
152
|
+
value.items()
|
|
153
|
+
))
|
|
154
|
+
else:
|
|
155
|
+
result[attr] = value
|
|
156
|
+
if issubclass(GcsForValidateImportTaskInput, dict):
|
|
157
|
+
for key, value in self.items():
|
|
158
|
+
result[key] = value
|
|
159
|
+
|
|
160
|
+
return result
|
|
161
|
+
|
|
162
|
+
def to_str(self):
|
|
163
|
+
"""Returns the string representation of the model"""
|
|
164
|
+
return pprint.pformat(self.to_dict())
|
|
165
|
+
|
|
166
|
+
def __repr__(self):
|
|
167
|
+
"""For `print` and `pprint`"""
|
|
168
|
+
return self.to_str()
|
|
169
|
+
|
|
170
|
+
def __eq__(self, other):
|
|
171
|
+
"""Returns true if both objects are equal"""
|
|
172
|
+
if not isinstance(other, GcsForValidateImportTaskInput):
|
|
173
|
+
return False
|
|
174
|
+
|
|
175
|
+
return self.to_dict() == other.to_dict()
|
|
176
|
+
|
|
177
|
+
def __ne__(self, other):
|
|
178
|
+
"""Returns true if both objects are not equal"""
|
|
179
|
+
if not isinstance(other, GcsForValidateImportTaskInput):
|
|
180
|
+
return True
|
|
181
|
+
|
|
182
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
tidb
|
|
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 GetBackupRequest(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
|
+
'backup_id': 'str',
|
|
37
|
+
'cluster_id': 'str',
|
|
38
|
+
'project_name': 'str'
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
attribute_map = {
|
|
42
|
+
'backup_id': 'BackupId',
|
|
43
|
+
'cluster_id': 'ClusterId',
|
|
44
|
+
'project_name': 'ProjectName'
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
def __init__(self, backup_id=None, cluster_id=None, project_name=None, _configuration=None): # noqa: E501
|
|
48
|
+
"""GetBackupRequest - a model defined in Swagger""" # noqa: E501
|
|
49
|
+
if _configuration is None:
|
|
50
|
+
_configuration = Configuration()
|
|
51
|
+
self._configuration = _configuration
|
|
52
|
+
|
|
53
|
+
self._backup_id = None
|
|
54
|
+
self._cluster_id = None
|
|
55
|
+
self._project_name = None
|
|
56
|
+
self.discriminator = None
|
|
57
|
+
|
|
58
|
+
self.backup_id = backup_id
|
|
59
|
+
self.cluster_id = cluster_id
|
|
60
|
+
if project_name is not None:
|
|
61
|
+
self.project_name = project_name
|
|
62
|
+
|
|
63
|
+
@property
|
|
64
|
+
def backup_id(self):
|
|
65
|
+
"""Gets the backup_id of this GetBackupRequest. # noqa: E501
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
:return: The backup_id of this GetBackupRequest. # noqa: E501
|
|
69
|
+
:rtype: str
|
|
70
|
+
"""
|
|
71
|
+
return self._backup_id
|
|
72
|
+
|
|
73
|
+
@backup_id.setter
|
|
74
|
+
def backup_id(self, backup_id):
|
|
75
|
+
"""Sets the backup_id of this GetBackupRequest.
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
:param backup_id: The backup_id of this GetBackupRequest. # noqa: E501
|
|
79
|
+
:type: str
|
|
80
|
+
"""
|
|
81
|
+
if self._configuration.client_side_validation and backup_id is None:
|
|
82
|
+
raise ValueError("Invalid value for `backup_id`, must not be `None`") # noqa: E501
|
|
83
|
+
|
|
84
|
+
self._backup_id = backup_id
|
|
85
|
+
|
|
86
|
+
@property
|
|
87
|
+
def cluster_id(self):
|
|
88
|
+
"""Gets the cluster_id of this GetBackupRequest. # noqa: E501
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
:return: The cluster_id of this GetBackupRequest. # noqa: E501
|
|
92
|
+
:rtype: str
|
|
93
|
+
"""
|
|
94
|
+
return self._cluster_id
|
|
95
|
+
|
|
96
|
+
@cluster_id.setter
|
|
97
|
+
def cluster_id(self, cluster_id):
|
|
98
|
+
"""Sets the cluster_id of this GetBackupRequest.
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
:param cluster_id: The cluster_id of this GetBackupRequest. # noqa: E501
|
|
102
|
+
:type: str
|
|
103
|
+
"""
|
|
104
|
+
if self._configuration.client_side_validation and cluster_id is None:
|
|
105
|
+
raise ValueError("Invalid value for `cluster_id`, must not be `None`") # noqa: E501
|
|
106
|
+
|
|
107
|
+
self._cluster_id = cluster_id
|
|
108
|
+
|
|
109
|
+
@property
|
|
110
|
+
def project_name(self):
|
|
111
|
+
"""Gets the project_name of this GetBackupRequest. # noqa: E501
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
:return: The project_name of this GetBackupRequest. # noqa: E501
|
|
115
|
+
:rtype: str
|
|
116
|
+
"""
|
|
117
|
+
return self._project_name
|
|
118
|
+
|
|
119
|
+
@project_name.setter
|
|
120
|
+
def project_name(self, project_name):
|
|
121
|
+
"""Sets the project_name of this GetBackupRequest.
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
:param project_name: The project_name of this GetBackupRequest. # noqa: E501
|
|
125
|
+
:type: str
|
|
126
|
+
"""
|
|
127
|
+
|
|
128
|
+
self._project_name = project_name
|
|
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(GetBackupRequest, 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, GetBackupRequest):
|
|
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, GetBackupRequest):
|
|
175
|
+
return True
|
|
176
|
+
|
|
177
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
tidb
|
|
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 GetBackupResponse(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
|
+
'backup': 'BackupForGetBackupOutput'
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
attribute_map = {
|
|
40
|
+
'backup': 'Backup'
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
def __init__(self, backup=None, _configuration=None): # noqa: E501
|
|
44
|
+
"""GetBackupResponse - a model defined in Swagger""" # noqa: E501
|
|
45
|
+
if _configuration is None:
|
|
46
|
+
_configuration = Configuration()
|
|
47
|
+
self._configuration = _configuration
|
|
48
|
+
|
|
49
|
+
self._backup = None
|
|
50
|
+
self.discriminator = None
|
|
51
|
+
|
|
52
|
+
if backup is not None:
|
|
53
|
+
self.backup = backup
|
|
54
|
+
|
|
55
|
+
@property
|
|
56
|
+
def backup(self):
|
|
57
|
+
"""Gets the backup of this GetBackupResponse. # noqa: E501
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
:return: The backup of this GetBackupResponse. # noqa: E501
|
|
61
|
+
:rtype: BackupForGetBackupOutput
|
|
62
|
+
"""
|
|
63
|
+
return self._backup
|
|
64
|
+
|
|
65
|
+
@backup.setter
|
|
66
|
+
def backup(self, backup):
|
|
67
|
+
"""Sets the backup of this GetBackupResponse.
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
:param backup: The backup of this GetBackupResponse. # noqa: E501
|
|
71
|
+
:type: BackupForGetBackupOutput
|
|
72
|
+
"""
|
|
73
|
+
|
|
74
|
+
self._backup = backup
|
|
75
|
+
|
|
76
|
+
def to_dict(self):
|
|
77
|
+
"""Returns the model properties as a dict"""
|
|
78
|
+
result = {}
|
|
79
|
+
|
|
80
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
81
|
+
value = getattr(self, attr)
|
|
82
|
+
if isinstance(value, list):
|
|
83
|
+
result[attr] = list(map(
|
|
84
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
85
|
+
value
|
|
86
|
+
))
|
|
87
|
+
elif hasattr(value, "to_dict"):
|
|
88
|
+
result[attr] = value.to_dict()
|
|
89
|
+
elif isinstance(value, dict):
|
|
90
|
+
result[attr] = dict(map(
|
|
91
|
+
lambda item: (item[0], item[1].to_dict())
|
|
92
|
+
if hasattr(item[1], "to_dict") else item,
|
|
93
|
+
value.items()
|
|
94
|
+
))
|
|
95
|
+
else:
|
|
96
|
+
result[attr] = value
|
|
97
|
+
if issubclass(GetBackupResponse, dict):
|
|
98
|
+
for key, value in self.items():
|
|
99
|
+
result[key] = value
|
|
100
|
+
|
|
101
|
+
return result
|
|
102
|
+
|
|
103
|
+
def to_str(self):
|
|
104
|
+
"""Returns the string representation of the model"""
|
|
105
|
+
return pprint.pformat(self.to_dict())
|
|
106
|
+
|
|
107
|
+
def __repr__(self):
|
|
108
|
+
"""For `print` and `pprint`"""
|
|
109
|
+
return self.to_str()
|
|
110
|
+
|
|
111
|
+
def __eq__(self, other):
|
|
112
|
+
"""Returns true if both objects are equal"""
|
|
113
|
+
if not isinstance(other, GetBackupResponse):
|
|
114
|
+
return False
|
|
115
|
+
|
|
116
|
+
return self.to_dict() == other.to_dict()
|
|
117
|
+
|
|
118
|
+
def __ne__(self, other):
|
|
119
|
+
"""Returns true if both objects are not equal"""
|
|
120
|
+
if not isinstance(other, GetBackupResponse):
|
|
121
|
+
return True
|
|
122
|
+
|
|
123
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
tidb
|
|
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 GetBackupRetentionRequest(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
|
+
'cluster_id': 'str',
|
|
37
|
+
'project_name': 'str'
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
attribute_map = {
|
|
41
|
+
'cluster_id': 'ClusterId',
|
|
42
|
+
'project_name': 'ProjectName'
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
def __init__(self, cluster_id=None, project_name=None, _configuration=None): # noqa: E501
|
|
46
|
+
"""GetBackupRetentionRequest - a model defined in Swagger""" # noqa: E501
|
|
47
|
+
if _configuration is None:
|
|
48
|
+
_configuration = Configuration()
|
|
49
|
+
self._configuration = _configuration
|
|
50
|
+
|
|
51
|
+
self._cluster_id = None
|
|
52
|
+
self._project_name = None
|
|
53
|
+
self.discriminator = None
|
|
54
|
+
|
|
55
|
+
self.cluster_id = cluster_id
|
|
56
|
+
if project_name is not None:
|
|
57
|
+
self.project_name = project_name
|
|
58
|
+
|
|
59
|
+
@property
|
|
60
|
+
def cluster_id(self):
|
|
61
|
+
"""Gets the cluster_id of this GetBackupRetentionRequest. # noqa: E501
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
:return: The cluster_id of this GetBackupRetentionRequest. # noqa: E501
|
|
65
|
+
:rtype: str
|
|
66
|
+
"""
|
|
67
|
+
return self._cluster_id
|
|
68
|
+
|
|
69
|
+
@cluster_id.setter
|
|
70
|
+
def cluster_id(self, cluster_id):
|
|
71
|
+
"""Sets the cluster_id of this GetBackupRetentionRequest.
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
:param cluster_id: The cluster_id of this GetBackupRetentionRequest. # noqa: E501
|
|
75
|
+
:type: str
|
|
76
|
+
"""
|
|
77
|
+
if self._configuration.client_side_validation and cluster_id is None:
|
|
78
|
+
raise ValueError("Invalid value for `cluster_id`, must not be `None`") # noqa: E501
|
|
79
|
+
|
|
80
|
+
self._cluster_id = cluster_id
|
|
81
|
+
|
|
82
|
+
@property
|
|
83
|
+
def project_name(self):
|
|
84
|
+
"""Gets the project_name of this GetBackupRetentionRequest. # noqa: E501
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
:return: The project_name of this GetBackupRetentionRequest. # noqa: E501
|
|
88
|
+
:rtype: str
|
|
89
|
+
"""
|
|
90
|
+
return self._project_name
|
|
91
|
+
|
|
92
|
+
@project_name.setter
|
|
93
|
+
def project_name(self, project_name):
|
|
94
|
+
"""Sets the project_name of this GetBackupRetentionRequest.
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
:param project_name: The project_name of this GetBackupRetentionRequest. # noqa: E501
|
|
98
|
+
:type: str
|
|
99
|
+
"""
|
|
100
|
+
|
|
101
|
+
self._project_name = project_name
|
|
102
|
+
|
|
103
|
+
def to_dict(self):
|
|
104
|
+
"""Returns the model properties as a dict"""
|
|
105
|
+
result = {}
|
|
106
|
+
|
|
107
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
108
|
+
value = getattr(self, attr)
|
|
109
|
+
if isinstance(value, list):
|
|
110
|
+
result[attr] = list(map(
|
|
111
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
112
|
+
value
|
|
113
|
+
))
|
|
114
|
+
elif hasattr(value, "to_dict"):
|
|
115
|
+
result[attr] = value.to_dict()
|
|
116
|
+
elif isinstance(value, dict):
|
|
117
|
+
result[attr] = dict(map(
|
|
118
|
+
lambda item: (item[0], item[1].to_dict())
|
|
119
|
+
if hasattr(item[1], "to_dict") else item,
|
|
120
|
+
value.items()
|
|
121
|
+
))
|
|
122
|
+
else:
|
|
123
|
+
result[attr] = value
|
|
124
|
+
if issubclass(GetBackupRetentionRequest, dict):
|
|
125
|
+
for key, value in self.items():
|
|
126
|
+
result[key] = value
|
|
127
|
+
|
|
128
|
+
return result
|
|
129
|
+
|
|
130
|
+
def to_str(self):
|
|
131
|
+
"""Returns the string representation of the model"""
|
|
132
|
+
return pprint.pformat(self.to_dict())
|
|
133
|
+
|
|
134
|
+
def __repr__(self):
|
|
135
|
+
"""For `print` and `pprint`"""
|
|
136
|
+
return self.to_str()
|
|
137
|
+
|
|
138
|
+
def __eq__(self, other):
|
|
139
|
+
"""Returns true if both objects are equal"""
|
|
140
|
+
if not isinstance(other, GetBackupRetentionRequest):
|
|
141
|
+
return False
|
|
142
|
+
|
|
143
|
+
return self.to_dict() == other.to_dict()
|
|
144
|
+
|
|
145
|
+
def __ne__(self, other):
|
|
146
|
+
"""Returns true if both objects are not equal"""
|
|
147
|
+
if not isinstance(other, GetBackupRetentionRequest):
|
|
148
|
+
return True
|
|
149
|
+
|
|
150
|
+
return self.to_dict() != other.to_dict()
|