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,279 @@
|
|
|
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 RuV2MetricsForGetSlowQueryDetailsOutput(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
|
+
'plan_cnt': 'int',
|
|
37
|
+
'result_chunk_cells': 'int',
|
|
38
|
+
'session_parser_total': 'int',
|
|
39
|
+
'tidb_ru': 'float',
|
|
40
|
+
'tiflash_ru': 'float',
|
|
41
|
+
'tikv_ru': 'float',
|
|
42
|
+
'total_ru': 'float'
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
attribute_map = {
|
|
46
|
+
'plan_cnt': 'plan_cnt',
|
|
47
|
+
'result_chunk_cells': 'result_chunk_cells',
|
|
48
|
+
'session_parser_total': 'session_parser_total',
|
|
49
|
+
'tidb_ru': 'tidb_ru',
|
|
50
|
+
'tiflash_ru': 'tiflash_ru',
|
|
51
|
+
'tikv_ru': 'tikv_ru',
|
|
52
|
+
'total_ru': 'total_ru'
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
def __init__(self, plan_cnt=None, result_chunk_cells=None, session_parser_total=None, tidb_ru=None, tiflash_ru=None, tikv_ru=None, total_ru=None, _configuration=None): # noqa: E501
|
|
56
|
+
"""RuV2MetricsForGetSlowQueryDetailsOutput - a model defined in Swagger""" # noqa: E501
|
|
57
|
+
if _configuration is None:
|
|
58
|
+
_configuration = Configuration()
|
|
59
|
+
self._configuration = _configuration
|
|
60
|
+
|
|
61
|
+
self._plan_cnt = None
|
|
62
|
+
self._result_chunk_cells = None
|
|
63
|
+
self._session_parser_total = None
|
|
64
|
+
self._tidb_ru = None
|
|
65
|
+
self._tiflash_ru = None
|
|
66
|
+
self._tikv_ru = None
|
|
67
|
+
self._total_ru = None
|
|
68
|
+
self.discriminator = None
|
|
69
|
+
|
|
70
|
+
if plan_cnt is not None:
|
|
71
|
+
self.plan_cnt = plan_cnt
|
|
72
|
+
if result_chunk_cells is not None:
|
|
73
|
+
self.result_chunk_cells = result_chunk_cells
|
|
74
|
+
if session_parser_total is not None:
|
|
75
|
+
self.session_parser_total = session_parser_total
|
|
76
|
+
if tidb_ru is not None:
|
|
77
|
+
self.tidb_ru = tidb_ru
|
|
78
|
+
if tiflash_ru is not None:
|
|
79
|
+
self.tiflash_ru = tiflash_ru
|
|
80
|
+
if tikv_ru is not None:
|
|
81
|
+
self.tikv_ru = tikv_ru
|
|
82
|
+
if total_ru is not None:
|
|
83
|
+
self.total_ru = total_ru
|
|
84
|
+
|
|
85
|
+
@property
|
|
86
|
+
def plan_cnt(self):
|
|
87
|
+
"""Gets the plan_cnt of this RuV2MetricsForGetSlowQueryDetailsOutput. # noqa: E501
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
:return: The plan_cnt of this RuV2MetricsForGetSlowQueryDetailsOutput. # noqa: E501
|
|
91
|
+
:rtype: int
|
|
92
|
+
"""
|
|
93
|
+
return self._plan_cnt
|
|
94
|
+
|
|
95
|
+
@plan_cnt.setter
|
|
96
|
+
def plan_cnt(self, plan_cnt):
|
|
97
|
+
"""Sets the plan_cnt of this RuV2MetricsForGetSlowQueryDetailsOutput.
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
:param plan_cnt: The plan_cnt of this RuV2MetricsForGetSlowQueryDetailsOutput. # noqa: E501
|
|
101
|
+
:type: int
|
|
102
|
+
"""
|
|
103
|
+
|
|
104
|
+
self._plan_cnt = plan_cnt
|
|
105
|
+
|
|
106
|
+
@property
|
|
107
|
+
def result_chunk_cells(self):
|
|
108
|
+
"""Gets the result_chunk_cells of this RuV2MetricsForGetSlowQueryDetailsOutput. # noqa: E501
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
:return: The result_chunk_cells of this RuV2MetricsForGetSlowQueryDetailsOutput. # noqa: E501
|
|
112
|
+
:rtype: int
|
|
113
|
+
"""
|
|
114
|
+
return self._result_chunk_cells
|
|
115
|
+
|
|
116
|
+
@result_chunk_cells.setter
|
|
117
|
+
def result_chunk_cells(self, result_chunk_cells):
|
|
118
|
+
"""Sets the result_chunk_cells of this RuV2MetricsForGetSlowQueryDetailsOutput.
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
:param result_chunk_cells: The result_chunk_cells of this RuV2MetricsForGetSlowQueryDetailsOutput. # noqa: E501
|
|
122
|
+
:type: int
|
|
123
|
+
"""
|
|
124
|
+
|
|
125
|
+
self._result_chunk_cells = result_chunk_cells
|
|
126
|
+
|
|
127
|
+
@property
|
|
128
|
+
def session_parser_total(self):
|
|
129
|
+
"""Gets the session_parser_total of this RuV2MetricsForGetSlowQueryDetailsOutput. # noqa: E501
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
:return: The session_parser_total of this RuV2MetricsForGetSlowQueryDetailsOutput. # noqa: E501
|
|
133
|
+
:rtype: int
|
|
134
|
+
"""
|
|
135
|
+
return self._session_parser_total
|
|
136
|
+
|
|
137
|
+
@session_parser_total.setter
|
|
138
|
+
def session_parser_total(self, session_parser_total):
|
|
139
|
+
"""Sets the session_parser_total of this RuV2MetricsForGetSlowQueryDetailsOutput.
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
:param session_parser_total: The session_parser_total of this RuV2MetricsForGetSlowQueryDetailsOutput. # noqa: E501
|
|
143
|
+
:type: int
|
|
144
|
+
"""
|
|
145
|
+
|
|
146
|
+
self._session_parser_total = session_parser_total
|
|
147
|
+
|
|
148
|
+
@property
|
|
149
|
+
def tidb_ru(self):
|
|
150
|
+
"""Gets the tidb_ru of this RuV2MetricsForGetSlowQueryDetailsOutput. # noqa: E501
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
:return: The tidb_ru of this RuV2MetricsForGetSlowQueryDetailsOutput. # noqa: E501
|
|
154
|
+
:rtype: float
|
|
155
|
+
"""
|
|
156
|
+
return self._tidb_ru
|
|
157
|
+
|
|
158
|
+
@tidb_ru.setter
|
|
159
|
+
def tidb_ru(self, tidb_ru):
|
|
160
|
+
"""Sets the tidb_ru of this RuV2MetricsForGetSlowQueryDetailsOutput.
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
:param tidb_ru: The tidb_ru of this RuV2MetricsForGetSlowQueryDetailsOutput. # noqa: E501
|
|
164
|
+
:type: float
|
|
165
|
+
"""
|
|
166
|
+
|
|
167
|
+
self._tidb_ru = tidb_ru
|
|
168
|
+
|
|
169
|
+
@property
|
|
170
|
+
def tiflash_ru(self):
|
|
171
|
+
"""Gets the tiflash_ru of this RuV2MetricsForGetSlowQueryDetailsOutput. # noqa: E501
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
:return: The tiflash_ru of this RuV2MetricsForGetSlowQueryDetailsOutput. # noqa: E501
|
|
175
|
+
:rtype: float
|
|
176
|
+
"""
|
|
177
|
+
return self._tiflash_ru
|
|
178
|
+
|
|
179
|
+
@tiflash_ru.setter
|
|
180
|
+
def tiflash_ru(self, tiflash_ru):
|
|
181
|
+
"""Sets the tiflash_ru of this RuV2MetricsForGetSlowQueryDetailsOutput.
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
:param tiflash_ru: The tiflash_ru of this RuV2MetricsForGetSlowQueryDetailsOutput. # noqa: E501
|
|
185
|
+
:type: float
|
|
186
|
+
"""
|
|
187
|
+
|
|
188
|
+
self._tiflash_ru = tiflash_ru
|
|
189
|
+
|
|
190
|
+
@property
|
|
191
|
+
def tikv_ru(self):
|
|
192
|
+
"""Gets the tikv_ru of this RuV2MetricsForGetSlowQueryDetailsOutput. # noqa: E501
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
:return: The tikv_ru of this RuV2MetricsForGetSlowQueryDetailsOutput. # noqa: E501
|
|
196
|
+
:rtype: float
|
|
197
|
+
"""
|
|
198
|
+
return self._tikv_ru
|
|
199
|
+
|
|
200
|
+
@tikv_ru.setter
|
|
201
|
+
def tikv_ru(self, tikv_ru):
|
|
202
|
+
"""Sets the tikv_ru of this RuV2MetricsForGetSlowQueryDetailsOutput.
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
:param tikv_ru: The tikv_ru of this RuV2MetricsForGetSlowQueryDetailsOutput. # noqa: E501
|
|
206
|
+
:type: float
|
|
207
|
+
"""
|
|
208
|
+
|
|
209
|
+
self._tikv_ru = tikv_ru
|
|
210
|
+
|
|
211
|
+
@property
|
|
212
|
+
def total_ru(self):
|
|
213
|
+
"""Gets the total_ru of this RuV2MetricsForGetSlowQueryDetailsOutput. # noqa: E501
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
:return: The total_ru of this RuV2MetricsForGetSlowQueryDetailsOutput. # noqa: E501
|
|
217
|
+
:rtype: float
|
|
218
|
+
"""
|
|
219
|
+
return self._total_ru
|
|
220
|
+
|
|
221
|
+
@total_ru.setter
|
|
222
|
+
def total_ru(self, total_ru):
|
|
223
|
+
"""Sets the total_ru of this RuV2MetricsForGetSlowQueryDetailsOutput.
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
:param total_ru: The total_ru of this RuV2MetricsForGetSlowQueryDetailsOutput. # noqa: E501
|
|
227
|
+
:type: float
|
|
228
|
+
"""
|
|
229
|
+
|
|
230
|
+
self._total_ru = total_ru
|
|
231
|
+
|
|
232
|
+
def to_dict(self):
|
|
233
|
+
"""Returns the model properties as a dict"""
|
|
234
|
+
result = {}
|
|
235
|
+
|
|
236
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
237
|
+
value = getattr(self, attr)
|
|
238
|
+
if isinstance(value, list):
|
|
239
|
+
result[attr] = list(map(
|
|
240
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
241
|
+
value
|
|
242
|
+
))
|
|
243
|
+
elif hasattr(value, "to_dict"):
|
|
244
|
+
result[attr] = value.to_dict()
|
|
245
|
+
elif isinstance(value, dict):
|
|
246
|
+
result[attr] = dict(map(
|
|
247
|
+
lambda item: (item[0], item[1].to_dict())
|
|
248
|
+
if hasattr(item[1], "to_dict") else item,
|
|
249
|
+
value.items()
|
|
250
|
+
))
|
|
251
|
+
else:
|
|
252
|
+
result[attr] = value
|
|
253
|
+
if issubclass(RuV2MetricsForGetSlowQueryDetailsOutput, dict):
|
|
254
|
+
for key, value in self.items():
|
|
255
|
+
result[key] = value
|
|
256
|
+
|
|
257
|
+
return result
|
|
258
|
+
|
|
259
|
+
def to_str(self):
|
|
260
|
+
"""Returns the string representation of the model"""
|
|
261
|
+
return pprint.pformat(self.to_dict())
|
|
262
|
+
|
|
263
|
+
def __repr__(self):
|
|
264
|
+
"""For `print` and `pprint`"""
|
|
265
|
+
return self.to_str()
|
|
266
|
+
|
|
267
|
+
def __eq__(self, other):
|
|
268
|
+
"""Returns true if both objects are equal"""
|
|
269
|
+
if not isinstance(other, RuV2MetricsForGetSlowQueryDetailsOutput):
|
|
270
|
+
return False
|
|
271
|
+
|
|
272
|
+
return self.to_dict() == other.to_dict()
|
|
273
|
+
|
|
274
|
+
def __ne__(self, other):
|
|
275
|
+
"""Returns true if both objects are not equal"""
|
|
276
|
+
if not isinstance(other, RuV2MetricsForGetSlowQueryDetailsOutput):
|
|
277
|
+
return True
|
|
278
|
+
|
|
279
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,208 @@
|
|
|
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 S3CompatibleForCreateImportTaskInput(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
|
+
'access_key': 'AccessKeyForCreateImportTaskInput',
|
|
37
|
+
'auth_type': 'str',
|
|
38
|
+
'endpoint': 'str',
|
|
39
|
+
'uri': 'str'
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
attribute_map = {
|
|
43
|
+
'access_key': 'AccessKey',
|
|
44
|
+
'auth_type': 'AuthType',
|
|
45
|
+
'endpoint': 'Endpoint',
|
|
46
|
+
'uri': 'Uri'
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
def __init__(self, access_key=None, auth_type=None, endpoint=None, uri=None, _configuration=None): # noqa: E501
|
|
50
|
+
"""S3CompatibleForCreateImportTaskInput - a model defined in Swagger""" # noqa: E501
|
|
51
|
+
if _configuration is None:
|
|
52
|
+
_configuration = Configuration()
|
|
53
|
+
self._configuration = _configuration
|
|
54
|
+
|
|
55
|
+
self._access_key = None
|
|
56
|
+
self._auth_type = None
|
|
57
|
+
self._endpoint = None
|
|
58
|
+
self._uri = None
|
|
59
|
+
self.discriminator = None
|
|
60
|
+
|
|
61
|
+
if access_key is not None:
|
|
62
|
+
self.access_key = access_key
|
|
63
|
+
if auth_type is not None:
|
|
64
|
+
self.auth_type = auth_type
|
|
65
|
+
if endpoint is not None:
|
|
66
|
+
self.endpoint = endpoint
|
|
67
|
+
if uri is not None:
|
|
68
|
+
self.uri = uri
|
|
69
|
+
|
|
70
|
+
@property
|
|
71
|
+
def access_key(self):
|
|
72
|
+
"""Gets the access_key of this S3CompatibleForCreateImportTaskInput. # noqa: E501
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
:return: The access_key of this S3CompatibleForCreateImportTaskInput. # noqa: E501
|
|
76
|
+
:rtype: AccessKeyForCreateImportTaskInput
|
|
77
|
+
"""
|
|
78
|
+
return self._access_key
|
|
79
|
+
|
|
80
|
+
@access_key.setter
|
|
81
|
+
def access_key(self, access_key):
|
|
82
|
+
"""Sets the access_key of this S3CompatibleForCreateImportTaskInput.
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
:param access_key: The access_key of this S3CompatibleForCreateImportTaskInput. # noqa: E501
|
|
86
|
+
:type: AccessKeyForCreateImportTaskInput
|
|
87
|
+
"""
|
|
88
|
+
|
|
89
|
+
self._access_key = access_key
|
|
90
|
+
|
|
91
|
+
@property
|
|
92
|
+
def auth_type(self):
|
|
93
|
+
"""Gets the auth_type of this S3CompatibleForCreateImportTaskInput. # noqa: E501
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
:return: The auth_type of this S3CompatibleForCreateImportTaskInput. # noqa: E501
|
|
97
|
+
:rtype: str
|
|
98
|
+
"""
|
|
99
|
+
return self._auth_type
|
|
100
|
+
|
|
101
|
+
@auth_type.setter
|
|
102
|
+
def auth_type(self, auth_type):
|
|
103
|
+
"""Sets the auth_type of this S3CompatibleForCreateImportTaskInput.
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
:param auth_type: The auth_type of this S3CompatibleForCreateImportTaskInput. # noqa: E501
|
|
107
|
+
:type: str
|
|
108
|
+
"""
|
|
109
|
+
allowed_values = ["ROLE_ARN", "ACCESS_KEY", "SERVICE_ACCOUNT_KEY", "SAS_TOKEN"] # noqa: E501
|
|
110
|
+
if (self._configuration.client_side_validation and
|
|
111
|
+
auth_type not in allowed_values):
|
|
112
|
+
raise ValueError(
|
|
113
|
+
"Invalid value for `auth_type` ({0}), must be one of {1}" # noqa: E501
|
|
114
|
+
.format(auth_type, allowed_values)
|
|
115
|
+
)
|
|
116
|
+
|
|
117
|
+
self._auth_type = auth_type
|
|
118
|
+
|
|
119
|
+
@property
|
|
120
|
+
def endpoint(self):
|
|
121
|
+
"""Gets the endpoint of this S3CompatibleForCreateImportTaskInput. # noqa: E501
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
:return: The endpoint of this S3CompatibleForCreateImportTaskInput. # noqa: E501
|
|
125
|
+
:rtype: str
|
|
126
|
+
"""
|
|
127
|
+
return self._endpoint
|
|
128
|
+
|
|
129
|
+
@endpoint.setter
|
|
130
|
+
def endpoint(self, endpoint):
|
|
131
|
+
"""Sets the endpoint of this S3CompatibleForCreateImportTaskInput.
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
:param endpoint: The endpoint of this S3CompatibleForCreateImportTaskInput. # noqa: E501
|
|
135
|
+
:type: str
|
|
136
|
+
"""
|
|
137
|
+
|
|
138
|
+
self._endpoint = endpoint
|
|
139
|
+
|
|
140
|
+
@property
|
|
141
|
+
def uri(self):
|
|
142
|
+
"""Gets the uri of this S3CompatibleForCreateImportTaskInput. # noqa: E501
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
:return: The uri of this S3CompatibleForCreateImportTaskInput. # noqa: E501
|
|
146
|
+
:rtype: str
|
|
147
|
+
"""
|
|
148
|
+
return self._uri
|
|
149
|
+
|
|
150
|
+
@uri.setter
|
|
151
|
+
def uri(self, uri):
|
|
152
|
+
"""Sets the uri of this S3CompatibleForCreateImportTaskInput.
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
:param uri: The uri of this S3CompatibleForCreateImportTaskInput. # noqa: E501
|
|
156
|
+
:type: str
|
|
157
|
+
"""
|
|
158
|
+
|
|
159
|
+
self._uri = uri
|
|
160
|
+
|
|
161
|
+
def to_dict(self):
|
|
162
|
+
"""Returns the model properties as a dict"""
|
|
163
|
+
result = {}
|
|
164
|
+
|
|
165
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
166
|
+
value = getattr(self, attr)
|
|
167
|
+
if isinstance(value, list):
|
|
168
|
+
result[attr] = list(map(
|
|
169
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
170
|
+
value
|
|
171
|
+
))
|
|
172
|
+
elif hasattr(value, "to_dict"):
|
|
173
|
+
result[attr] = value.to_dict()
|
|
174
|
+
elif isinstance(value, dict):
|
|
175
|
+
result[attr] = dict(map(
|
|
176
|
+
lambda item: (item[0], item[1].to_dict())
|
|
177
|
+
if hasattr(item[1], "to_dict") else item,
|
|
178
|
+
value.items()
|
|
179
|
+
))
|
|
180
|
+
else:
|
|
181
|
+
result[attr] = value
|
|
182
|
+
if issubclass(S3CompatibleForCreateImportTaskInput, dict):
|
|
183
|
+
for key, value in self.items():
|
|
184
|
+
result[key] = value
|
|
185
|
+
|
|
186
|
+
return result
|
|
187
|
+
|
|
188
|
+
def to_str(self):
|
|
189
|
+
"""Returns the string representation of the model"""
|
|
190
|
+
return pprint.pformat(self.to_dict())
|
|
191
|
+
|
|
192
|
+
def __repr__(self):
|
|
193
|
+
"""For `print` and `pprint`"""
|
|
194
|
+
return self.to_str()
|
|
195
|
+
|
|
196
|
+
def __eq__(self, other):
|
|
197
|
+
"""Returns true if both objects are equal"""
|
|
198
|
+
if not isinstance(other, S3CompatibleForCreateImportTaskInput):
|
|
199
|
+
return False
|
|
200
|
+
|
|
201
|
+
return self.to_dict() == other.to_dict()
|
|
202
|
+
|
|
203
|
+
def __ne__(self, other):
|
|
204
|
+
"""Returns true if both objects are not equal"""
|
|
205
|
+
if not isinstance(other, S3CompatibleForCreateImportTaskInput):
|
|
206
|
+
return True
|
|
207
|
+
|
|
208
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,201 @@
|
|
|
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 S3CompatibleForCreateImportTaskOutput(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
|
+
'access_key': 'AccessKeyForCreateImportTaskOutput',
|
|
37
|
+
'auth_type': 'str',
|
|
38
|
+
'endpoint': 'str',
|
|
39
|
+
'uri': 'str'
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
attribute_map = {
|
|
43
|
+
'access_key': 'AccessKey',
|
|
44
|
+
'auth_type': 'AuthType',
|
|
45
|
+
'endpoint': 'Endpoint',
|
|
46
|
+
'uri': 'Uri'
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
def __init__(self, access_key=None, auth_type=None, endpoint=None, uri=None, _configuration=None): # noqa: E501
|
|
50
|
+
"""S3CompatibleForCreateImportTaskOutput - a model defined in Swagger""" # noqa: E501
|
|
51
|
+
if _configuration is None:
|
|
52
|
+
_configuration = Configuration()
|
|
53
|
+
self._configuration = _configuration
|
|
54
|
+
|
|
55
|
+
self._access_key = None
|
|
56
|
+
self._auth_type = None
|
|
57
|
+
self._endpoint = None
|
|
58
|
+
self._uri = None
|
|
59
|
+
self.discriminator = None
|
|
60
|
+
|
|
61
|
+
if access_key is not None:
|
|
62
|
+
self.access_key = access_key
|
|
63
|
+
if auth_type is not None:
|
|
64
|
+
self.auth_type = auth_type
|
|
65
|
+
if endpoint is not None:
|
|
66
|
+
self.endpoint = endpoint
|
|
67
|
+
if uri is not None:
|
|
68
|
+
self.uri = uri
|
|
69
|
+
|
|
70
|
+
@property
|
|
71
|
+
def access_key(self):
|
|
72
|
+
"""Gets the access_key of this S3CompatibleForCreateImportTaskOutput. # noqa: E501
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
:return: The access_key of this S3CompatibleForCreateImportTaskOutput. # noqa: E501
|
|
76
|
+
:rtype: AccessKeyForCreateImportTaskOutput
|
|
77
|
+
"""
|
|
78
|
+
return self._access_key
|
|
79
|
+
|
|
80
|
+
@access_key.setter
|
|
81
|
+
def access_key(self, access_key):
|
|
82
|
+
"""Sets the access_key of this S3CompatibleForCreateImportTaskOutput.
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
:param access_key: The access_key of this S3CompatibleForCreateImportTaskOutput. # noqa: E501
|
|
86
|
+
:type: AccessKeyForCreateImportTaskOutput
|
|
87
|
+
"""
|
|
88
|
+
|
|
89
|
+
self._access_key = access_key
|
|
90
|
+
|
|
91
|
+
@property
|
|
92
|
+
def auth_type(self):
|
|
93
|
+
"""Gets the auth_type of this S3CompatibleForCreateImportTaskOutput. # noqa: E501
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
:return: The auth_type of this S3CompatibleForCreateImportTaskOutput. # noqa: E501
|
|
97
|
+
:rtype: str
|
|
98
|
+
"""
|
|
99
|
+
return self._auth_type
|
|
100
|
+
|
|
101
|
+
@auth_type.setter
|
|
102
|
+
def auth_type(self, auth_type):
|
|
103
|
+
"""Sets the auth_type of this S3CompatibleForCreateImportTaskOutput.
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
:param auth_type: The auth_type of this S3CompatibleForCreateImportTaskOutput. # noqa: E501
|
|
107
|
+
:type: str
|
|
108
|
+
"""
|
|
109
|
+
|
|
110
|
+
self._auth_type = auth_type
|
|
111
|
+
|
|
112
|
+
@property
|
|
113
|
+
def endpoint(self):
|
|
114
|
+
"""Gets the endpoint of this S3CompatibleForCreateImportTaskOutput. # noqa: E501
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
:return: The endpoint of this S3CompatibleForCreateImportTaskOutput. # noqa: E501
|
|
118
|
+
:rtype: str
|
|
119
|
+
"""
|
|
120
|
+
return self._endpoint
|
|
121
|
+
|
|
122
|
+
@endpoint.setter
|
|
123
|
+
def endpoint(self, endpoint):
|
|
124
|
+
"""Sets the endpoint of this S3CompatibleForCreateImportTaskOutput.
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
:param endpoint: The endpoint of this S3CompatibleForCreateImportTaskOutput. # noqa: E501
|
|
128
|
+
:type: str
|
|
129
|
+
"""
|
|
130
|
+
|
|
131
|
+
self._endpoint = endpoint
|
|
132
|
+
|
|
133
|
+
@property
|
|
134
|
+
def uri(self):
|
|
135
|
+
"""Gets the uri of this S3CompatibleForCreateImportTaskOutput. # noqa: E501
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
:return: The uri of this S3CompatibleForCreateImportTaskOutput. # noqa: E501
|
|
139
|
+
:rtype: str
|
|
140
|
+
"""
|
|
141
|
+
return self._uri
|
|
142
|
+
|
|
143
|
+
@uri.setter
|
|
144
|
+
def uri(self, uri):
|
|
145
|
+
"""Sets the uri of this S3CompatibleForCreateImportTaskOutput.
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
:param uri: The uri of this S3CompatibleForCreateImportTaskOutput. # noqa: E501
|
|
149
|
+
:type: str
|
|
150
|
+
"""
|
|
151
|
+
|
|
152
|
+
self._uri = uri
|
|
153
|
+
|
|
154
|
+
def to_dict(self):
|
|
155
|
+
"""Returns the model properties as a dict"""
|
|
156
|
+
result = {}
|
|
157
|
+
|
|
158
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
159
|
+
value = getattr(self, attr)
|
|
160
|
+
if isinstance(value, list):
|
|
161
|
+
result[attr] = list(map(
|
|
162
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
163
|
+
value
|
|
164
|
+
))
|
|
165
|
+
elif hasattr(value, "to_dict"):
|
|
166
|
+
result[attr] = value.to_dict()
|
|
167
|
+
elif isinstance(value, dict):
|
|
168
|
+
result[attr] = dict(map(
|
|
169
|
+
lambda item: (item[0], item[1].to_dict())
|
|
170
|
+
if hasattr(item[1], "to_dict") else item,
|
|
171
|
+
value.items()
|
|
172
|
+
))
|
|
173
|
+
else:
|
|
174
|
+
result[attr] = value
|
|
175
|
+
if issubclass(S3CompatibleForCreateImportTaskOutput, dict):
|
|
176
|
+
for key, value in self.items():
|
|
177
|
+
result[key] = value
|
|
178
|
+
|
|
179
|
+
return result
|
|
180
|
+
|
|
181
|
+
def to_str(self):
|
|
182
|
+
"""Returns the string representation of the model"""
|
|
183
|
+
return pprint.pformat(self.to_dict())
|
|
184
|
+
|
|
185
|
+
def __repr__(self):
|
|
186
|
+
"""For `print` and `pprint`"""
|
|
187
|
+
return self.to_str()
|
|
188
|
+
|
|
189
|
+
def __eq__(self, other):
|
|
190
|
+
"""Returns true if both objects are equal"""
|
|
191
|
+
if not isinstance(other, S3CompatibleForCreateImportTaskOutput):
|
|
192
|
+
return False
|
|
193
|
+
|
|
194
|
+
return self.to_dict() == other.to_dict()
|
|
195
|
+
|
|
196
|
+
def __ne__(self, other):
|
|
197
|
+
"""Returns true if both objects are not equal"""
|
|
198
|
+
if not isinstance(other, S3CompatibleForCreateImportTaskOutput):
|
|
199
|
+
return True
|
|
200
|
+
|
|
201
|
+
return self.to_dict() != other.to_dict()
|