diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 57fb1bd..b71c614 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -9,6 +9,7 @@ docs/AIFileStorageApi.md docs/AIInferenceApi.md docs/AIModelsApi.md docs/AIMonitoringApi.md +docs/AIOrchestrationsApi.md docs/AISessionsApi.md docs/AITaskManagementApi.md docs/AIToolsApi.md @@ -23,6 +24,7 @@ docs/ApplicationsApi.md docs/BackupManagementApi.md docs/BulkSetEnvironmentVariablesRequest.md docs/BulkSetEnvironmentVariablesRequestEnvironmentInner.md +docs/CDNMetricsApi.md docs/ChatInference200Response.md docs/ChatInference200ResponseResponse.md docs/ChatInference200ResponseResponseToolUse.md @@ -32,6 +34,7 @@ docs/ChatInference200ResponseResponseToolUseOneOfResult.md docs/ChatInference200ResponseUsage.md docs/ChatInference202Response.md docs/ChatInferenceRequest.md +docs/ChatInferenceRequestGuardrails.md docs/ChatInferenceRequestMessagesInner.md docs/ChatInferenceRequestMessagesInnerContent.md docs/ChatInferenceRequestMessagesInnerContentOneOfInner.md @@ -94,6 +97,9 @@ docs/CreateCustomToolRequest.md docs/CreateEnvironment403Response.md docs/CreateEnvironmentRequest.md docs/CreateEnvironmentRequestEnvironmentInner.md +docs/CreateOrchestrationRequest.md +docs/CreateOrchestrationRequestInputSource.md +docs/CreateOrchestrationRequestStopCondition.md docs/CreateTask201Response.md docs/CreateTaskRequest.md docs/CreateVectorCollection201Response.md @@ -111,6 +117,9 @@ docs/DeleteFile200Response.md docs/DeleteTask200Response.md docs/DeleteTask409Response.md docs/DeleteVectorCollection200Response.md +docs/DeleteVectorDocuments200Response.md +docs/DeleteVectorDocumentsRequest.md +docs/DeleteVectorDocumentsRequestMetadata.md docs/DomainsApi.md docs/DownloadBackup200Response.md docs/Embeddings200Response.md @@ -170,6 +179,8 @@ docs/KVItemsCreate200Response.md docs/KVItemsDelete200Response.md docs/KVItemsShow200Response.md docs/KVItemsShow200ResponseValue.md +docs/KVLinkToProject200Response.md +docs/KVLinkToProjectRequest.md docs/ListAIAgents200Response.md docs/ListAIAgents200ResponseAgentsInner.md docs/ListAIModels200Response.md @@ -190,6 +201,9 @@ docs/ListCustomTools200Response.md docs/ListCustomTools200ResponseToolsInner.md docs/ListFiles200Response.md docs/ListFiles200ResponseFilesInner.md +docs/ListOrchestrationBatches200Response.md +docs/ListOrchestrationBatches200ResponseBatchesInner.md +docs/ListOrchestrations200Response.md docs/ListTasks200Response.md docs/ListTasks200ResponseTasksInner.md docs/ListVectorCollections200Response.md @@ -292,6 +306,11 @@ docs/V2DomainDnsGoLiveRecordsInner.md docs/V2DomainDnsValidationRecordsInner.md docs/V2DomainRequest.md docs/V2Error.md +docs/V2MetricData.md +docs/V2MetricDataPoint.md +docs/V2MetricDataPointTimestamp.md +docs/V2MetricsMeta.md +docs/V2MetricsResponse.md docs/V2Organization.md docs/V2OrganizationRequest.md docs/V2Project.md @@ -356,12 +375,14 @@ quantcdn/api/ai_file_storage_api.py quantcdn/api/ai_inference_api.py quantcdn/api/ai_models_api.py quantcdn/api/ai_monitoring_api.py +quantcdn/api/ai_orchestrations_api.py quantcdn/api/ai_sessions_api.py quantcdn/api/ai_task_management_api.py quantcdn/api/ai_tools_api.py quantcdn/api/ai_vector_database_api.py quantcdn/api/applications_api.py quantcdn/api/backup_management_api.py +quantcdn/api/cdn_metrics_api.py quantcdn/api/commands_api.py quantcdn/api/compose_api.py quantcdn/api/containers_api.py @@ -403,6 +424,7 @@ quantcdn/models/chat_inference200_response_response_tool_use_one_of_result.py quantcdn/models/chat_inference200_response_usage.py quantcdn/models/chat_inference202_response.py quantcdn/models/chat_inference_request.py +quantcdn/models/chat_inference_request_guardrails.py quantcdn/models/chat_inference_request_messages_inner.py quantcdn/models/chat_inference_request_messages_inner_content.py quantcdn/models/chat_inference_request_messages_inner_content_one_of_inner.py @@ -460,6 +482,9 @@ quantcdn/models/create_custom_tool_request.py quantcdn/models/create_environment403_response.py quantcdn/models/create_environment_request.py quantcdn/models/create_environment_request_environment_inner.py +quantcdn/models/create_orchestration_request.py +quantcdn/models/create_orchestration_request_input_source.py +quantcdn/models/create_orchestration_request_stop_condition.py quantcdn/models/create_task201_response.py quantcdn/models/create_task_request.py quantcdn/models/create_vector_collection201_response.py @@ -476,6 +501,9 @@ quantcdn/models/delete_file200_response.py quantcdn/models/delete_task200_response.py quantcdn/models/delete_task409_response.py quantcdn/models/delete_vector_collection200_response.py +quantcdn/models/delete_vector_documents200_response.py +quantcdn/models/delete_vector_documents_request.py +quantcdn/models/delete_vector_documents_request_metadata.py quantcdn/models/download_backup200_response.py quantcdn/models/embeddings200_response.py quantcdn/models/embeddings200_response_embeddings.py @@ -531,6 +559,8 @@ quantcdn/models/kv_items_create200_response.py quantcdn/models/kv_items_delete200_response.py quantcdn/models/kv_items_show200_response.py quantcdn/models/kv_items_show200_response_value.py +quantcdn/models/kv_link_to_project200_response.py +quantcdn/models/kv_link_to_project_request.py quantcdn/models/list_ai_agents200_response.py quantcdn/models/list_ai_agents200_response_agents_inner.py quantcdn/models/list_ai_models200_response.py @@ -551,6 +581,9 @@ quantcdn/models/list_custom_tools200_response.py quantcdn/models/list_custom_tools200_response_tools_inner.py quantcdn/models/list_files200_response.py quantcdn/models/list_files200_response_files_inner.py +quantcdn/models/list_orchestration_batches200_response.py +quantcdn/models/list_orchestration_batches200_response_batches_inner.py +quantcdn/models/list_orchestrations200_response.py quantcdn/models/list_tasks200_response.py quantcdn/models/list_tasks200_response_tasks_inner.py quantcdn/models/list_vector_collections200_response.py @@ -646,6 +679,11 @@ quantcdn/models/v2_domain_dns_go_live_records_inner.py quantcdn/models/v2_domain_dns_validation_records_inner.py quantcdn/models/v2_domain_request.py quantcdn/models/v2_error.py +quantcdn/models/v2_metric_data.py +quantcdn/models/v2_metric_data_point.py +quantcdn/models/v2_metric_data_point_timestamp.py +quantcdn/models/v2_metrics_meta.py +quantcdn/models/v2_metrics_response.py quantcdn/models/v2_organization.py quantcdn/models/v2_organization_request.py quantcdn/models/v2_project.py @@ -711,6 +749,7 @@ test/test_ai_file_storage_api.py test/test_ai_inference_api.py test/test_ai_models_api.py test/test_ai_monitoring_api.py +test/test_ai_orchestrations_api.py test/test_ai_sessions_api.py test/test_ai_task_management_api.py test/test_ai_tools_api.py @@ -725,6 +764,7 @@ test/test_applications_api.py test/test_backup_management_api.py test/test_bulk_set_environment_variables_request.py test/test_bulk_set_environment_variables_request_environment_inner.py +test/test_cdn_metrics_api.py test/test_chat_inference200_response.py test/test_chat_inference200_response_response.py test/test_chat_inference200_response_response_tool_use.py @@ -734,6 +774,7 @@ test/test_chat_inference200_response_response_tool_use_one_of_result.py test/test_chat_inference200_response_usage.py test/test_chat_inference202_response.py test/test_chat_inference_request.py +test/test_chat_inference_request_guardrails.py test/test_chat_inference_request_messages_inner.py test/test_chat_inference_request_messages_inner_content.py test/test_chat_inference_request_messages_inner_content_one_of_inner.py @@ -796,6 +837,9 @@ test/test_create_custom_tool_request.py test/test_create_environment403_response.py test/test_create_environment_request.py test/test_create_environment_request_environment_inner.py +test/test_create_orchestration_request.py +test/test_create_orchestration_request_input_source.py +test/test_create_orchestration_request_stop_condition.py test/test_create_task201_response.py test/test_create_task_request.py test/test_create_vector_collection201_response.py @@ -813,6 +857,9 @@ test/test_delete_file200_response.py test/test_delete_task200_response.py test/test_delete_task409_response.py test/test_delete_vector_collection200_response.py +test/test_delete_vector_documents200_response.py +test/test_delete_vector_documents_request.py +test/test_delete_vector_documents_request_metadata.py test/test_domains_api.py test/test_download_backup200_response.py test/test_embeddings200_response.py @@ -872,6 +919,8 @@ test/test_kv_items_create200_response.py test/test_kv_items_delete200_response.py test/test_kv_items_show200_response.py test/test_kv_items_show200_response_value.py +test/test_kv_link_to_project200_response.py +test/test_kv_link_to_project_request.py test/test_list_ai_agents200_response.py test/test_list_ai_agents200_response_agents_inner.py test/test_list_ai_models200_response.py @@ -892,6 +941,9 @@ test/test_list_custom_tools200_response.py test/test_list_custom_tools200_response_tools_inner.py test/test_list_files200_response.py test/test_list_files200_response_files_inner.py +test/test_list_orchestration_batches200_response.py +test/test_list_orchestration_batches200_response_batches_inner.py +test/test_list_orchestrations200_response.py test/test_list_tasks200_response.py test/test_list_tasks200_response_tasks_inner.py test/test_list_vector_collections200_response.py @@ -994,6 +1046,11 @@ test/test_v2_domain_dns_go_live_records_inner.py test/test_v2_domain_dns_validation_records_inner.py test/test_v2_domain_request.py test/test_v2_error.py +test/test_v2_metric_data.py +test/test_v2_metric_data_point.py +test/test_v2_metric_data_point_timestamp.py +test/test_v2_metrics_meta.py +test/test_v2_metrics_response.py test/test_v2_organization.py test/test_v2_organization_request.py test/test_v2_project.py diff --git a/README.md b/README.md index 13b3f72..6f61901 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 4.9.0 +- API version: 4.10.0 - Package version: 1.0.0 - Generator version: 7.13.0 - Build package: org.openapitools.codegen.languages.PythonClientCodegen @@ -118,6 +118,15 @@ Class | Method | HTTP request | Description *AIModelsApi* | [**get_ai_model**](docs/AIModelsApi.md#get_ai_model) | **GET** /api/v3/organizations/{organisation}/ai/models/{modelId} | Get AI Model Details *AIModelsApi* | [**list_ai_models**](docs/AIModelsApi.md#list_ai_models) | **GET** /api/v3/organizations/{organisation}/ai/models | List available AI models for an organization *AIMonitoringApi* | [**get_ai_usage_stats**](docs/AIMonitoringApi.md#get_ai_usage_stats) | **GET** /api/v3/organizations/{organisation}/ai/usage | Get AI usage statistics +*AIOrchestrationsApi* | [**cancel_orchestration**](docs/AIOrchestrationsApi.md#cancel_orchestration) | **POST** /api/v3/organizations/{organisation}/ai/orchestrations/{orchestrationId}/cancel | Cancel Durable Orchestration +*AIOrchestrationsApi* | [**create_orchestration**](docs/AIOrchestrationsApi.md#create_orchestration) | **POST** /api/v3/organizations/{organisation}/ai/orchestrations | Create Durable Orchestration +*AIOrchestrationsApi* | [**delete_orchestration**](docs/AIOrchestrationsApi.md#delete_orchestration) | **DELETE** /api/v3/organizations/{organisation}/ai/orchestrations/{orchestrationId} | Delete Durable Orchestration +*AIOrchestrationsApi* | [**get_orchestration**](docs/AIOrchestrationsApi.md#get_orchestration) | **GET** /api/v3/organizations/{organisation}/ai/orchestrations/{orchestrationId} | Get Durable Orchestration +*AIOrchestrationsApi* | [**list_orchestration_batches**](docs/AIOrchestrationsApi.md#list_orchestration_batches) | **GET** /api/v3/organizations/{organisation}/ai/orchestrations/{orchestrationId}/batches | List Orchestration Batches +*AIOrchestrationsApi* | [**list_orchestrations**](docs/AIOrchestrationsApi.md#list_orchestrations) | **GET** /api/v3/organizations/{organisation}/ai/orchestrations | List Durable Orchestrations +*AIOrchestrationsApi* | [**pause_orchestration**](docs/AIOrchestrationsApi.md#pause_orchestration) | **POST** /api/v3/organizations/{organisation}/ai/orchestrations/{orchestrationId}/pause | Pause Durable Orchestration +*AIOrchestrationsApi* | [**resume_orchestration**](docs/AIOrchestrationsApi.md#resume_orchestration) | **POST** /api/v3/organizations/{organisation}/ai/orchestrations/{orchestrationId}/resume | Resume Durable Orchestration +*AIOrchestrationsApi* | [**start_orchestration**](docs/AIOrchestrationsApi.md#start_orchestration) | **POST** /api/v3/organizations/{organisation}/ai/orchestrations/{orchestrationId}/start | Start Durable Orchestration *AISessionsApi* | [**create_ai_session**](docs/AISessionsApi.md#create_ai_session) | **POST** /api/v3/organizations/{organisation}/ai/sessions | Create a new chat session with multi-tenant isolation *AISessionsApi* | [**delete_ai_session**](docs/AISessionsApi.md#delete_ai_session) | **DELETE** /api/v3/organizations/{organisation}/ai/sessions/{sessionId} | Delete a chat session *AISessionsApi* | [**extend_ai_session**](docs/AISessionsApi.md#extend_ai_session) | **PUT** /api/v3/organizations/{organisation}/ai/sessions/{sessionId}/extend | Extend Session Expiration @@ -130,13 +139,14 @@ Class | Method | HTTP request | Description *AITaskManagementApi* | [**get_task**](docs/AITaskManagementApi.md#get_task) | **GET** /api/v3/organizations/{organisation}/ai/tasks/{taskId} | Get task details *AITaskManagementApi* | [**list_tasks**](docs/AITaskManagementApi.md#list_tasks) | **GET** /api/v3/organizations/{organisation}/ai/tasks | List tasks with optional filtering *AITaskManagementApi* | [**update_task**](docs/AITaskManagementApi.md#update_task) | **PUT** /api/v3/organizations/{organisation}/ai/tasks/{taskId} | Update a task -*AIToolsApi* | [**get_ai_orchestration_status**](docs/AIToolsApi.md#get_ai_orchestration_status) | **GET** /api/v3/organizations/{organisation}/ai/tools/orchestrations/{orchestrationId} | Get Orchestration Status +*AIToolsApi* | [**get_ai_orchestration_status**](docs/AIToolsApi.md#get_ai_orchestration_status) | **GET** /api/v3/organizations/{organisation}/ai/tools/orchestrations/{orchestrationId} | Get Tool Orchestration Status (Async Tool Polling) *AIToolsApi* | [**get_ai_tool_execution_status**](docs/AIToolsApi.md#get_ai_tool_execution_status) | **GET** /api/v3/organizations/{organisation}/ai/tools/executions/{executionId} | Get async tool execution status and result *AIToolsApi* | [**list_ai_tool_executions**](docs/AIToolsApi.md#list_ai_tool_executions) | **GET** /api/v3/organizations/{organisation}/ai/tools/executions | List tool executions for monitoring and debugging *AIToolsApi* | [**list_ai_tool_names**](docs/AIToolsApi.md#list_ai_tool_names) | **GET** /api/v3/organizations/{organisation}/ai/tools/names | List tool names only (lightweight response) *AIToolsApi* | [**list_ai_tools**](docs/AIToolsApi.md#list_ai_tools) | **GET** /api/v3/organizations/{organisation}/ai/tools | List available built-in tools for function calling *AIVectorDatabaseApi* | [**create_vector_collection**](docs/AIVectorDatabaseApi.md#create_vector_collection) | **POST** /api/v3/organizations/{organisation}/ai/vector-db/collections | Create Vector Database Collection *AIVectorDatabaseApi* | [**delete_vector_collection**](docs/AIVectorDatabaseApi.md#delete_vector_collection) | **DELETE** /api/v3/organizations/{organisation}/ai/vector-db/collections/{collectionId} | Delete Collection +*AIVectorDatabaseApi* | [**delete_vector_documents**](docs/AIVectorDatabaseApi.md#delete_vector_documents) | **DELETE** /api/v3/organizations/{organisation}/ai/vector-db/collections/{collectionId}/documents | Delete Documents from Collection *AIVectorDatabaseApi* | [**get_vector_collection**](docs/AIVectorDatabaseApi.md#get_vector_collection) | **GET** /api/v3/organizations/{organisation}/ai/vector-db/collections/{collectionId} | Get Collection Details *AIVectorDatabaseApi* | [**list_vector_collections**](docs/AIVectorDatabaseApi.md#list_vector_collections) | **GET** /api/v3/organizations/{organisation}/ai/vector-db/collections | List Vector Database Collections *AIVectorDatabaseApi* | [**query_vector_collection**](docs/AIVectorDatabaseApi.md#query_vector_collection) | **POST** /api/v3/organizations/{organisation}/ai/vector-db/collections/{collectionId}/query | Semantic Search Query @@ -150,6 +160,9 @@ Class | Method | HTTP request | Description *BackupManagementApi* | [**delete_backup**](docs/BackupManagementApi.md#delete_backup) | **DELETE** /api/v3/organizations/{organisation}/applications/{application}/environments/{environment}/backups/{type}/{backupId} | Delete a backup *BackupManagementApi* | [**download_backup**](docs/BackupManagementApi.md#download_backup) | **GET** /api/v3/organizations/{organisation}/applications/{application}/environments/{environment}/backups/{type}/{backupId}/download | Generate a download URL for a backup *BackupManagementApi* | [**list_backups**](docs/BackupManagementApi.md#list_backups) | **GET** /api/v3/organizations/{organisation}/applications/{application}/environments/{environment}/backups/{type} | List backups for an environment +*CDNMetricsApi* | [**get_daily_metrics**](docs/CDNMetricsApi.md#get_daily_metrics) | **GET** /v2/organizations/{organization}/projects/{project}/metrics/daily | Get daily metrics +*CDNMetricsApi* | [**get_hourly_metrics**](docs/CDNMetricsApi.md#get_hourly_metrics) | **GET** /v2/organizations/{organization}/projects/{project}/metrics/hourly | Get hourly metrics +*CDNMetricsApi* | [**get_monthly_metrics**](docs/CDNMetricsApi.md#get_monthly_metrics) | **GET** /v2/organizations/{organization}/projects/{project}/metrics/monthly | Get monthly metrics *CommandsApi* | [**create_command**](docs/CommandsApi.md#create_command) | **POST** /api/v3/organizations/{organisation}/environments/{environment}/commands | Create a command for an environment *CommandsApi* | [**get_command**](docs/CommandsApi.md#get_command) | **GET** /api/v3/organizations/{organisation}/environments/{environment}/commands/{command} | Get a command *CommandsApi* | [**list_commands**](docs/CommandsApi.md#list_commands) | **GET** /api/v3/organizations/{organisation}/environments/{environment}/commands | Get all commands for an environment @@ -203,9 +216,11 @@ Class | Method | HTTP request | Description *KVApi* | [**k_v_items_list**](docs/KVApi.md#k_v_items_list) | **GET** /api/v2/organizations/{organization}/projects/{project}/kv/{store_id}/items | List items in a kv store *KVApi* | [**k_v_items_show**](docs/KVApi.md#k_v_items_show) | **GET** /api/v2/organizations/{organization}/projects/{project}/kv/{store_id}/items/{key} | Get an item from a kv store *KVApi* | [**k_v_items_update**](docs/KVApi.md#k_v_items_update) | **PUT** /api/v2/organizations/{organization}/projects/{project}/kv/{store_id}/items/{key} | Update an item in a kv store +*KVApi* | [**k_v_link_to_project**](docs/KVApi.md#k_v_link_to_project) | **POST** /api/v2/organizations/{organization}/projects/{project}/kv/{store_id}/link | Link a KV store to another project *KVApi* | [**k_v_list**](docs/KVApi.md#k_v_list) | **GET** /api/v2/organizations/{organization}/projects/{project}/kv | List key-value stores *KVApi* | [**k_v_show**](docs/KVApi.md#k_v_show) | **GET** /api/v2/organizations/{organization}/projects/{project}/kv/{store_id} | Get a kv store -*OrchestrationApi* | [**get_ai_orchestration_status**](docs/OrchestrationApi.md#get_ai_orchestration_status) | **GET** /api/v3/organizations/{organisation}/ai/tools/orchestrations/{orchestrationId} | Get Orchestration Status +*KVApi* | [**k_v_unlink_from_project**](docs/KVApi.md#k_v_unlink_from_project) | **DELETE** /api/v2/organizations/{organization}/projects/{project}/kv/{store_id}/link | Unlink a KV store from this project +*OrchestrationApi* | [**get_ai_orchestration_status**](docs/OrchestrationApi.md#get_ai_orchestration_status) | **GET** /api/v3/organizations/{organisation}/ai/tools/orchestrations/{orchestrationId} | Get Tool Orchestration Status (Async Tool Polling) *OrganizationsApi* | [**organizations_list**](docs/OrganizationsApi.md#organizations_list) | **GET** /api/v2/organizations | Retrieve all organizations *OrganizationsApi* | [**organizations_read**](docs/OrganizationsApi.md#organizations_read) | **GET** /api/v2/organizations/{organization} | Get details of a single organization *ProjectsApi* | [**projects_create**](docs/ProjectsApi.md#projects_create) | **POST** /api/v2/organizations/{organization}/projects | Create a new project @@ -292,6 +307,7 @@ Class | Method | HTTP request | Description - [ChatInference200ResponseUsage](docs/ChatInference200ResponseUsage.md) - [ChatInference202Response](docs/ChatInference202Response.md) - [ChatInferenceRequest](docs/ChatInferenceRequest.md) + - [ChatInferenceRequestGuardrails](docs/ChatInferenceRequestGuardrails.md) - [ChatInferenceRequestMessagesInner](docs/ChatInferenceRequestMessagesInner.md) - [ChatInferenceRequestMessagesInnerContent](docs/ChatInferenceRequestMessagesInnerContent.md) - [ChatInferenceRequestMessagesInnerContentOneOfInner](docs/ChatInferenceRequestMessagesInnerContentOneOfInner.md) @@ -349,6 +365,9 @@ Class | Method | HTTP request | Description - [CreateEnvironment403Response](docs/CreateEnvironment403Response.md) - [CreateEnvironmentRequest](docs/CreateEnvironmentRequest.md) - [CreateEnvironmentRequestEnvironmentInner](docs/CreateEnvironmentRequestEnvironmentInner.md) + - [CreateOrchestrationRequest](docs/CreateOrchestrationRequest.md) + - [CreateOrchestrationRequestInputSource](docs/CreateOrchestrationRequestInputSource.md) + - [CreateOrchestrationRequestStopCondition](docs/CreateOrchestrationRequestStopCondition.md) - [CreateTask201Response](docs/CreateTask201Response.md) - [CreateTaskRequest](docs/CreateTaskRequest.md) - [CreateVectorCollection201Response](docs/CreateVectorCollection201Response.md) @@ -365,6 +384,9 @@ Class | Method | HTTP request | Description - [DeleteTask200Response](docs/DeleteTask200Response.md) - [DeleteTask409Response](docs/DeleteTask409Response.md) - [DeleteVectorCollection200Response](docs/DeleteVectorCollection200Response.md) + - [DeleteVectorDocuments200Response](docs/DeleteVectorDocuments200Response.md) + - [DeleteVectorDocumentsRequest](docs/DeleteVectorDocumentsRequest.md) + - [DeleteVectorDocumentsRequestMetadata](docs/DeleteVectorDocumentsRequestMetadata.md) - [DownloadBackup200Response](docs/DownloadBackup200Response.md) - [Embeddings200Response](docs/Embeddings200Response.md) - [Embeddings200ResponseEmbeddings](docs/Embeddings200ResponseEmbeddings.md) @@ -420,6 +442,8 @@ Class | Method | HTTP request | Description - [KVItemsDelete200Response](docs/KVItemsDelete200Response.md) - [KVItemsShow200Response](docs/KVItemsShow200Response.md) - [KVItemsShow200ResponseValue](docs/KVItemsShow200ResponseValue.md) + - [KVLinkToProject200Response](docs/KVLinkToProject200Response.md) + - [KVLinkToProjectRequest](docs/KVLinkToProjectRequest.md) - [ListAIAgents200Response](docs/ListAIAgents200Response.md) - [ListAIAgents200ResponseAgentsInner](docs/ListAIAgents200ResponseAgentsInner.md) - [ListAIModels200Response](docs/ListAIModels200Response.md) @@ -440,6 +464,9 @@ Class | Method | HTTP request | Description - [ListCustomTools200ResponseToolsInner](docs/ListCustomTools200ResponseToolsInner.md) - [ListFiles200Response](docs/ListFiles200Response.md) - [ListFiles200ResponseFilesInner](docs/ListFiles200ResponseFilesInner.md) + - [ListOrchestrationBatches200Response](docs/ListOrchestrationBatches200Response.md) + - [ListOrchestrationBatches200ResponseBatchesInner](docs/ListOrchestrationBatches200ResponseBatchesInner.md) + - [ListOrchestrations200Response](docs/ListOrchestrations200Response.md) - [ListTasks200Response](docs/ListTasks200Response.md) - [ListTasks200ResponseTasksInner](docs/ListTasks200ResponseTasksInner.md) - [ListVectorCollections200Response](docs/ListVectorCollections200Response.md) @@ -535,6 +562,11 @@ Class | Method | HTTP request | Description - [V2DomainDnsValidationRecordsInner](docs/V2DomainDnsValidationRecordsInner.md) - [V2DomainRequest](docs/V2DomainRequest.md) - [V2Error](docs/V2Error.md) + - [V2MetricData](docs/V2MetricData.md) + - [V2MetricDataPoint](docs/V2MetricDataPoint.md) + - [V2MetricDataPointTimestamp](docs/V2MetricDataPointTimestamp.md) + - [V2MetricsMeta](docs/V2MetricsMeta.md) + - [V2MetricsResponse](docs/V2MetricsResponse.md) - [V2Organization](docs/V2Organization.md) - [V2OrganizationRequest](docs/V2OrganizationRequest.md) - [V2Project](docs/V2Project.md) diff --git a/docs/AIOrchestrationsApi.md b/docs/AIOrchestrationsApi.md new file mode 100644 index 0000000..a19cd7f --- /dev/null +++ b/docs/AIOrchestrationsApi.md @@ -0,0 +1,796 @@ +# quantcdn.AIOrchestrationsApi + +All URIs are relative to *https://dashboard.quantcdn.io* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**cancel_orchestration**](AIOrchestrationsApi.md#cancel_orchestration) | **POST** /api/v3/organizations/{organisation}/ai/orchestrations/{orchestrationId}/cancel | Cancel Durable Orchestration +[**create_orchestration**](AIOrchestrationsApi.md#create_orchestration) | **POST** /api/v3/organizations/{organisation}/ai/orchestrations | Create Durable Orchestration +[**delete_orchestration**](AIOrchestrationsApi.md#delete_orchestration) | **DELETE** /api/v3/organizations/{organisation}/ai/orchestrations/{orchestrationId} | Delete Durable Orchestration +[**get_orchestration**](AIOrchestrationsApi.md#get_orchestration) | **GET** /api/v3/organizations/{organisation}/ai/orchestrations/{orchestrationId} | Get Durable Orchestration +[**list_orchestration_batches**](AIOrchestrationsApi.md#list_orchestration_batches) | **GET** /api/v3/organizations/{organisation}/ai/orchestrations/{orchestrationId}/batches | List Orchestration Batches +[**list_orchestrations**](AIOrchestrationsApi.md#list_orchestrations) | **GET** /api/v3/organizations/{organisation}/ai/orchestrations | List Durable Orchestrations +[**pause_orchestration**](AIOrchestrationsApi.md#pause_orchestration) | **POST** /api/v3/organizations/{organisation}/ai/orchestrations/{orchestrationId}/pause | Pause Durable Orchestration +[**resume_orchestration**](AIOrchestrationsApi.md#resume_orchestration) | **POST** /api/v3/organizations/{organisation}/ai/orchestrations/{orchestrationId}/resume | Resume Durable Orchestration +[**start_orchestration**](AIOrchestrationsApi.md#start_orchestration) | **POST** /api/v3/organizations/{organisation}/ai/orchestrations/{orchestrationId}/start | Start Durable Orchestration + + +# **cancel_orchestration** +> object cancel_orchestration(organisation, orchestration_id) + +Cancel Durable Orchestration + +Cancel an orchestration permanently. Cannot be resumed. Any in-progress items will complete, but no new processing starts. + +### Example + +* Bearer (JWT) Authentication (BearerAuth): + +```python +import quantcdn +from quantcdn.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://dashboard.quantcdn.io +# See configuration.py for a list of all supported configuration parameters. +configuration = quantcdn.Configuration( + host = "https://dashboard.quantcdn.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure Bearer authorization (JWT): BearerAuth +configuration = quantcdn.Configuration( + access_token = os.environ["BEARER_TOKEN"] +) + +# Enter a context with an instance of the API client +with quantcdn.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = quantcdn.AIOrchestrationsApi(api_client) + organisation = 'organisation_example' # str | The organisation machine name + orchestration_id = 'orchestration_id_example' # str | Orchestration identifier + + try: + # Cancel Durable Orchestration + api_response = api_instance.cancel_orchestration(organisation, orchestration_id) + print("The response of AIOrchestrationsApi->cancel_orchestration:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling AIOrchestrationsApi->cancel_orchestration: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **organisation** | **str**| The organisation machine name | + **orchestration_id** | **str**| Orchestration identifier | + +### Return type + +**object** + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Orchestration cancelled | - | +**400** | Orchestration already completed/cancelled | - | +**403** | Access denied | - | +**404** | Orchestration not found | - | +**500** | Failed to cancel orchestration | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **create_orchestration** +> object create_orchestration(organisation, create_orchestration_request) + +Create Durable Orchestration + +Create a new durable orchestration for batch processing. + * + * **Input Sources:** + * - `static`: Process a fixed list of items + * - `task_query`: Process tasks matching a query + * - `generator`: AI generates items from a prompt + * + * **Stop Conditions:** + * - `all_complete`: Stop when all items processed + * - `max_iterations`: Stop after N iterations + * - `condition`: AI evaluates a prompt to decide + * - `manual`: Run until manually stopped + * + * **Auto-start:** + * By default, the orchestration starts immediately. Set `autoStart: false` to create in pending state. + +### Example + +* Bearer (JWT) Authentication (BearerAuth): + +```python +import quantcdn +from quantcdn.models.create_orchestration_request import CreateOrchestrationRequest +from quantcdn.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://dashboard.quantcdn.io +# See configuration.py for a list of all supported configuration parameters. +configuration = quantcdn.Configuration( + host = "https://dashboard.quantcdn.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure Bearer authorization (JWT): BearerAuth +configuration = quantcdn.Configuration( + access_token = os.environ["BEARER_TOKEN"] +) + +# Enter a context with an instance of the API client +with quantcdn.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = quantcdn.AIOrchestrationsApi(api_client) + organisation = 'organisation_example' # str | The organisation machine name + create_orchestration_request = quantcdn.CreateOrchestrationRequest() # CreateOrchestrationRequest | + + try: + # Create Durable Orchestration + api_response = api_instance.create_orchestration(organisation, create_orchestration_request) + print("The response of AIOrchestrationsApi->create_orchestration:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling AIOrchestrationsApi->create_orchestration: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **organisation** | **str**| The organisation machine name | + **create_orchestration_request** | [**CreateOrchestrationRequest**](CreateOrchestrationRequest.md)| | + +### Return type + +**object** + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**201** | Orchestration created | - | +**400** | Invalid request | - | +**403** | Access denied | - | +**500** | Failed to create orchestration | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_orchestration** +> delete_orchestration(organisation, orchestration_id) + +Delete Durable Orchestration + +Delete an orchestration. Can only delete orchestrations in completed, failed, or cancelled status. + +### Example + +* Bearer (JWT) Authentication (BearerAuth): + +```python +import quantcdn +from quantcdn.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://dashboard.quantcdn.io +# See configuration.py for a list of all supported configuration parameters. +configuration = quantcdn.Configuration( + host = "https://dashboard.quantcdn.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure Bearer authorization (JWT): BearerAuth +configuration = quantcdn.Configuration( + access_token = os.environ["BEARER_TOKEN"] +) + +# Enter a context with an instance of the API client +with quantcdn.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = quantcdn.AIOrchestrationsApi(api_client) + organisation = 'organisation_example' # str | The organisation machine name + orchestration_id = 'orchestration_id_example' # str | Orchestration identifier + + try: + # Delete Durable Orchestration + api_instance.delete_orchestration(organisation, orchestration_id) + except Exception as e: + print("Exception when calling AIOrchestrationsApi->delete_orchestration: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **organisation** | **str**| The organisation machine name | + **orchestration_id** | **str**| Orchestration identifier | + +### Return type + +void (empty response body) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**204** | Orchestration deleted | - | +**400** | Cannot delete active orchestration | - | +**403** | Access denied | - | +**404** | Orchestration not found | - | +**500** | Failed to delete orchestration | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_orchestration** +> object get_orchestration(organisation, orchestration_id) + +Get Durable Orchestration + +Get orchestration details including status and progress. + * + * **Progress Tracking:** + * - `total`: Total items to process + * - `completed`: Successfully processed + * - `failed`: Failed processing + * - `pending`: Awaiting processing + +### Example + +* Bearer (JWT) Authentication (BearerAuth): + +```python +import quantcdn +from quantcdn.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://dashboard.quantcdn.io +# See configuration.py for a list of all supported configuration parameters. +configuration = quantcdn.Configuration( + host = "https://dashboard.quantcdn.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure Bearer authorization (JWT): BearerAuth +configuration = quantcdn.Configuration( + access_token = os.environ["BEARER_TOKEN"] +) + +# Enter a context with an instance of the API client +with quantcdn.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = quantcdn.AIOrchestrationsApi(api_client) + organisation = 'organisation_example' # str | The organisation machine name + orchestration_id = 'orch_1704067200_abc123xyz' # str | Orchestration identifier + + try: + # Get Durable Orchestration + api_response = api_instance.get_orchestration(organisation, orchestration_id) + print("The response of AIOrchestrationsApi->get_orchestration:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling AIOrchestrationsApi->get_orchestration: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **organisation** | **str**| The organisation machine name | + **orchestration_id** | **str**| Orchestration identifier | + +### Return type + +**object** + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Orchestration details | - | +**403** | Access denied | - | +**404** | Orchestration not found | - | +**500** | Failed to get orchestration | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **list_orchestration_batches** +> ListOrchestrationBatches200Response list_orchestration_batches(organisation, orchestration_id, limit=limit, cursor=cursor) + +List Orchestration Batches + +Get history of batches processed by this orchestration. Returns paginated batch records with status and item counts. + +### Example + +* Bearer (JWT) Authentication (BearerAuth): + +```python +import quantcdn +from quantcdn.models.list_orchestration_batches200_response import ListOrchestrationBatches200Response +from quantcdn.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://dashboard.quantcdn.io +# See configuration.py for a list of all supported configuration parameters. +configuration = quantcdn.Configuration( + host = "https://dashboard.quantcdn.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure Bearer authorization (JWT): BearerAuth +configuration = quantcdn.Configuration( + access_token = os.environ["BEARER_TOKEN"] +) + +# Enter a context with an instance of the API client +with quantcdn.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = quantcdn.AIOrchestrationsApi(api_client) + organisation = 'organisation_example' # str | The organisation machine name + orchestration_id = 'orchestration_id_example' # str | Orchestration identifier + limit = 20 # int | Maximum number of batches to return (optional) (default to 20) + cursor = 'cursor_example' # str | Pagination cursor from previous response (optional) + + try: + # List Orchestration Batches + api_response = api_instance.list_orchestration_batches(organisation, orchestration_id, limit=limit, cursor=cursor) + print("The response of AIOrchestrationsApi->list_orchestration_batches:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling AIOrchestrationsApi->list_orchestration_batches: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **organisation** | **str**| The organisation machine name | + **orchestration_id** | **str**| Orchestration identifier | + **limit** | **int**| Maximum number of batches to return | [optional] [default to 20] + **cursor** | **str**| Pagination cursor from previous response | [optional] + +### Return type + +[**ListOrchestrationBatches200Response**](ListOrchestrationBatches200Response.md) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Batch history | - | +**403** | Access denied | - | +**404** | Orchestration not found | - | +**500** | Failed to list orchestration batches | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **list_orchestrations** +> ListOrchestrations200Response list_orchestrations(organisation, status=status, limit=limit, cursor=cursor) + +List Durable Orchestrations + +List durable orchestrations for an organization with optional filtering. + * + * **Note:** This is different from `/tools/orchestrations` which handles async tool execution + * polling. These durable orchestrations are for long-running batch processing loops. + * + * **Filter Options:** + * - `status`: Filter by orchestration status + * - `limit`: Max results (default 20, max 100) + * - `cursor`: Pagination cursor + +### Example + +* Bearer (JWT) Authentication (BearerAuth): + +```python +import quantcdn +from quantcdn.models.list_orchestrations200_response import ListOrchestrations200Response +from quantcdn.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://dashboard.quantcdn.io +# See configuration.py for a list of all supported configuration parameters. +configuration = quantcdn.Configuration( + host = "https://dashboard.quantcdn.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure Bearer authorization (JWT): BearerAuth +configuration = quantcdn.Configuration( + access_token = os.environ["BEARER_TOKEN"] +) + +# Enter a context with an instance of the API client +with quantcdn.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = quantcdn.AIOrchestrationsApi(api_client) + organisation = 'organisation_example' # str | The organisation machine name + status = 'status_example' # str | Filter by orchestration status (optional) + limit = 20 # int | Maximum number of results (optional) (default to 20) + cursor = 'cursor_example' # str | Pagination cursor from previous response (optional) + + try: + # List Durable Orchestrations + api_response = api_instance.list_orchestrations(organisation, status=status, limit=limit, cursor=cursor) + print("The response of AIOrchestrationsApi->list_orchestrations:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling AIOrchestrationsApi->list_orchestrations: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **organisation** | **str**| The organisation machine name | + **status** | **str**| Filter by orchestration status | [optional] + **limit** | **int**| Maximum number of results | [optional] [default to 20] + **cursor** | **str**| Pagination cursor from previous response | [optional] + +### Return type + +[**ListOrchestrations200Response**](ListOrchestrations200Response.md) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | List of orchestrations | - | +**403** | Access denied | - | +**500** | Failed to list orchestrations | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **pause_orchestration** +> object pause_orchestration(organisation, orchestration_id) + +Pause Durable Orchestration + +Pause a running orchestration. The current batch will complete, but no new batches will start. Can be resumed later. + +### Example + +* Bearer (JWT) Authentication (BearerAuth): + +```python +import quantcdn +from quantcdn.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://dashboard.quantcdn.io +# See configuration.py for a list of all supported configuration parameters. +configuration = quantcdn.Configuration( + host = "https://dashboard.quantcdn.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure Bearer authorization (JWT): BearerAuth +configuration = quantcdn.Configuration( + access_token = os.environ["BEARER_TOKEN"] +) + +# Enter a context with an instance of the API client +with quantcdn.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = quantcdn.AIOrchestrationsApi(api_client) + organisation = 'organisation_example' # str | The organisation machine name + orchestration_id = 'orchestration_id_example' # str | Orchestration identifier + + try: + # Pause Durable Orchestration + api_response = api_instance.pause_orchestration(organisation, orchestration_id) + print("The response of AIOrchestrationsApi->pause_orchestration:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling AIOrchestrationsApi->pause_orchestration: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **organisation** | **str**| The organisation machine name | + **orchestration_id** | **str**| Orchestration identifier | + +### Return type + +**object** + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Orchestration paused | - | +**400** | Orchestration not running | - | +**403** | Access denied | - | +**404** | Orchestration not found | - | +**500** | Failed to pause orchestration | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **resume_orchestration** +> object resume_orchestration(organisation, orchestration_id) + +Resume Durable Orchestration + +Resume a paused orchestration. Processing continues from where it left off. + +### Example + +* Bearer (JWT) Authentication (BearerAuth): + +```python +import quantcdn +from quantcdn.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://dashboard.quantcdn.io +# See configuration.py for a list of all supported configuration parameters. +configuration = quantcdn.Configuration( + host = "https://dashboard.quantcdn.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure Bearer authorization (JWT): BearerAuth +configuration = quantcdn.Configuration( + access_token = os.environ["BEARER_TOKEN"] +) + +# Enter a context with an instance of the API client +with quantcdn.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = quantcdn.AIOrchestrationsApi(api_client) + organisation = 'organisation_example' # str | The organisation machine name + orchestration_id = 'orchestration_id_example' # str | Orchestration identifier + + try: + # Resume Durable Orchestration + api_response = api_instance.resume_orchestration(organisation, orchestration_id) + print("The response of AIOrchestrationsApi->resume_orchestration:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling AIOrchestrationsApi->resume_orchestration: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **organisation** | **str**| The organisation machine name | + **orchestration_id** | **str**| Orchestration identifier | + +### Return type + +**object** + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Orchestration resumed | - | +**400** | Orchestration not paused | - | +**403** | Access denied | - | +**404** | Orchestration not found | - | +**500** | Failed to resume orchestration | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **start_orchestration** +> object start_orchestration(organisation, orchestration_id) + +Start Durable Orchestration + +Start a pending orchestration. Only works on orchestrations created with `autoStart: false`. + +### Example + +* Bearer (JWT) Authentication (BearerAuth): + +```python +import quantcdn +from quantcdn.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://dashboard.quantcdn.io +# See configuration.py for a list of all supported configuration parameters. +configuration = quantcdn.Configuration( + host = "https://dashboard.quantcdn.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure Bearer authorization (JWT): BearerAuth +configuration = quantcdn.Configuration( + access_token = os.environ["BEARER_TOKEN"] +) + +# Enter a context with an instance of the API client +with quantcdn.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = quantcdn.AIOrchestrationsApi(api_client) + organisation = 'organisation_example' # str | The organisation machine name + orchestration_id = 'orchestration_id_example' # str | Orchestration identifier + + try: + # Start Durable Orchestration + api_response = api_instance.start_orchestration(organisation, orchestration_id) + print("The response of AIOrchestrationsApi->start_orchestration:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling AIOrchestrationsApi->start_orchestration: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **organisation** | **str**| The organisation machine name | + **orchestration_id** | **str**| Orchestration identifier | + +### Return type + +**object** + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Orchestration started | - | +**400** | Orchestration not in pending state | - | +**403** | Access denied | - | +**404** | Orchestration not found | - | +**500** | Failed to start orchestration | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/AIToolsApi.md b/docs/AIToolsApi.md index c52e658..b618f16 100644 --- a/docs/AIToolsApi.md +++ b/docs/AIToolsApi.md @@ -4,7 +4,7 @@ All URIs are relative to *https://dashboard.quantcdn.io* Method | HTTP request | Description ------------- | ------------- | ------------- -[**get_ai_orchestration_status**](AIToolsApi.md#get_ai_orchestration_status) | **GET** /api/v3/organizations/{organisation}/ai/tools/orchestrations/{orchestrationId} | Get Orchestration Status +[**get_ai_orchestration_status**](AIToolsApi.md#get_ai_orchestration_status) | **GET** /api/v3/organizations/{organisation}/ai/tools/orchestrations/{orchestrationId} | Get Tool Orchestration Status (Async Tool Polling) [**get_ai_tool_execution_status**](AIToolsApi.md#get_ai_tool_execution_status) | **GET** /api/v3/organizations/{organisation}/ai/tools/executions/{executionId} | Get async tool execution status and result [**list_ai_tool_executions**](AIToolsApi.md#list_ai_tool_executions) | **GET** /api/v3/organizations/{organisation}/ai/tools/executions | List tool executions for monitoring and debugging [**list_ai_tool_names**](AIToolsApi.md#list_ai_tool_names) | **GET** /api/v3/organizations/{organisation}/ai/tools/names | List tool names only (lightweight response) @@ -14,9 +14,12 @@ Method | HTTP request | Description # **get_ai_orchestration_status** > GetAIOrchestrationStatus200Response get_ai_orchestration_status(organisation, orchestration_id) -Get Orchestration Status +Get Tool Orchestration Status (Async Tool Polling) -Retrieves the status and synthesized result of a multi-tool orchestration. +Retrieves the status and synthesized result of a multi-tool async execution orchestration. + * + * **Note:** This endpoint is for async tool execution polling (`/tools/orchestrations`). + * For durable batch processing orchestrations, see `GET /orchestrations` endpoints. * * **Orchestration Pattern:** * When the AI requests multiple async tools simultaneously, an orchestration is created @@ -80,7 +83,7 @@ with quantcdn.ApiClient(configuration) as api_client: orchestration_id = 'orch_abc123def456789012345678901234' # str | Orchestration identifier for aggregated async tool executions try: - # Get Orchestration Status + # Get Tool Orchestration Status (Async Tool Polling) api_response = api_instance.get_ai_orchestration_status(organisation, orchestration_id) print("The response of AIToolsApi->get_ai_orchestration_status:\n") pprint(api_response) diff --git a/docs/AIVectorDatabaseApi.md b/docs/AIVectorDatabaseApi.md index 9ba325a..b46ff44 100644 --- a/docs/AIVectorDatabaseApi.md +++ b/docs/AIVectorDatabaseApi.md @@ -6,6 +6,7 @@ Method | HTTP request | Description ------------- | ------------- | ------------- [**create_vector_collection**](AIVectorDatabaseApi.md#create_vector_collection) | **POST** /api/v3/organizations/{organisation}/ai/vector-db/collections | Create Vector Database Collection [**delete_vector_collection**](AIVectorDatabaseApi.md#delete_vector_collection) | **DELETE** /api/v3/organizations/{organisation}/ai/vector-db/collections/{collectionId} | Delete Collection +[**delete_vector_documents**](AIVectorDatabaseApi.md#delete_vector_documents) | **DELETE** /api/v3/organizations/{organisation}/ai/vector-db/collections/{collectionId}/documents | Delete Documents from Collection [**get_vector_collection**](AIVectorDatabaseApi.md#get_vector_collection) | **GET** /api/v3/organizations/{organisation}/ai/vector-db/collections/{collectionId} | Get Collection Details [**list_vector_collections**](AIVectorDatabaseApi.md#list_vector_collections) | **GET** /api/v3/organizations/{organisation}/ai/vector-db/collections | List Vector Database Collections [**query_vector_collection**](AIVectorDatabaseApi.md#query_vector_collection) | **POST** /api/v3/organizations/{organisation}/ai/vector-db/collections/{collectionId}/query | Semantic Search Query @@ -186,6 +187,104 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **delete_vector_documents** +> DeleteVectorDocuments200Response delete_vector_documents(organisation, collection_id, delete_vector_documents_request) + +Delete Documents from Collection + +Delete documents from a collection. Supports three deletion modes: + * + * 1. **Purge All** - Set `purgeAll: true` to delete ALL documents in the collection + * + * 2. **By Document IDs** - Provide `documentIds` array with specific document UUIDs + * + * 3. **By Metadata** - Provide `metadata` object with `field` and `values` to delete documents where the metadata field matches any of the values + * + * **Drupal Integration:** + * When using with Drupal AI Search, use metadata deletion with: + * - `field: 'drupal_entity_id'` to delete all chunks for specific entities + * - `field: 'drupal_long_id'` to delete specific chunks + +### Example + +* Bearer (JWT) Authentication (BearerAuth): + +```python +import quantcdn +from quantcdn.models.delete_vector_documents200_response import DeleteVectorDocuments200Response +from quantcdn.models.delete_vector_documents_request import DeleteVectorDocumentsRequest +from quantcdn.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://dashboard.quantcdn.io +# See configuration.py for a list of all supported configuration parameters. +configuration = quantcdn.Configuration( + host = "https://dashboard.quantcdn.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure Bearer authorization (JWT): BearerAuth +configuration = quantcdn.Configuration( + access_token = os.environ["BEARER_TOKEN"] +) + +# Enter a context with an instance of the API client +with quantcdn.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = quantcdn.AIVectorDatabaseApi(api_client) + organisation = 'organisation_example' # str | Organisation machine name + collection_id = 'collection_id_example' # str | Collection UUID + delete_vector_documents_request = quantcdn.DeleteVectorDocumentsRequest() # DeleteVectorDocumentsRequest | + + try: + # Delete Documents from Collection + api_response = api_instance.delete_vector_documents(organisation, collection_id, delete_vector_documents_request) + print("The response of AIVectorDatabaseApi->delete_vector_documents:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling AIVectorDatabaseApi->delete_vector_documents: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **organisation** | **str**| Organisation machine name | + **collection_id** | **str**| Collection UUID | + **delete_vector_documents_request** | [**DeleteVectorDocumentsRequest**](DeleteVectorDocumentsRequest.md)| | + +### Return type + +[**DeleteVectorDocuments200Response**](DeleteVectorDocuments200Response.md) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Documents deleted successfully | - | +**400** | Invalid request - must specify purgeAll, documentIds, or metadata | - | +**403** | Access denied | - | +**404** | Collection not found | - | +**500** | Failed to delete documents | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_vector_collection** > GetVectorCollection200Response get_vector_collection(organisation, collection_id) diff --git a/docs/CDNMetricsApi.md b/docs/CDNMetricsApi.md new file mode 100644 index 0000000..296af8f --- /dev/null +++ b/docs/CDNMetricsApi.md @@ -0,0 +1,275 @@ +# quantcdn.CDNMetricsApi + +All URIs are relative to *https://dashboard.quantcdn.io* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**get_daily_metrics**](CDNMetricsApi.md#get_daily_metrics) | **GET** /v2/organizations/{organization}/projects/{project}/metrics/daily | Get daily metrics +[**get_hourly_metrics**](CDNMetricsApi.md#get_hourly_metrics) | **GET** /v2/organizations/{organization}/projects/{project}/metrics/hourly | Get hourly metrics +[**get_monthly_metrics**](CDNMetricsApi.md#get_monthly_metrics) | **GET** /v2/organizations/{organization}/projects/{project}/metrics/monthly | Get monthly metrics + + +# **get_daily_metrics** +> V2MetricsResponse get_daily_metrics(organization, project, domain=domain, metrics=metrics, timestamp_format=timestamp_format) + +Get daily metrics + +Returns the last 30 days of daily metrics data + +### Example + +* Bearer (JWT) Authentication (BearerAuth): + +```python +import quantcdn +from quantcdn.models.v2_metrics_response import V2MetricsResponse +from quantcdn.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://dashboard.quantcdn.io +# See configuration.py for a list of all supported configuration parameters. +configuration = quantcdn.Configuration( + host = "https://dashboard.quantcdn.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure Bearer authorization (JWT): BearerAuth +configuration = quantcdn.Configuration( + access_token = os.environ["BEARER_TOKEN"] +) + +# Enter a context with an instance of the API client +with quantcdn.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = quantcdn.CDNMetricsApi(api_client) + organization = 'organization_example' # str | Organization identifier + project = 'project_example' # str | Project identifier + domain = 'domain_example' # str | Filter by domain ID or domain name (optional) + metrics = ['metrics_example'] # List[str] | Metrics to return (default: hits, bytes) (optional) + timestamp_format = iso8601 # str | Timestamp format in response (optional) (default to iso8601) + + try: + # Get daily metrics + api_response = api_instance.get_daily_metrics(organization, project, domain=domain, metrics=metrics, timestamp_format=timestamp_format) + print("The response of CDNMetricsApi->get_daily_metrics:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling CDNMetricsApi->get_daily_metrics: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **organization** | **str**| Organization identifier | + **project** | **str**| Project identifier | + **domain** | **str**| Filter by domain ID or domain name | [optional] + **metrics** | [**List[str]**](str.md)| Metrics to return (default: hits, bytes) | [optional] + **timestamp_format** | **str**| Timestamp format in response | [optional] [default to iso8601] + +### Return type + +[**V2MetricsResponse**](V2MetricsResponse.md) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Daily metrics data | - | +**400** | Invalid metric requested | - | +**404** | No domains found or domain not found | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_hourly_metrics** +> V2MetricsResponse get_hourly_metrics(organization, project, domain=domain, metrics=metrics, timestamp_format=timestamp_format) + +Get hourly metrics + +Returns the last hour of minute-by-minute metrics data + +### Example + +* Bearer (JWT) Authentication (BearerAuth): + +```python +import quantcdn +from quantcdn.models.v2_metrics_response import V2MetricsResponse +from quantcdn.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://dashboard.quantcdn.io +# See configuration.py for a list of all supported configuration parameters. +configuration = quantcdn.Configuration( + host = "https://dashboard.quantcdn.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure Bearer authorization (JWT): BearerAuth +configuration = quantcdn.Configuration( + access_token = os.environ["BEARER_TOKEN"] +) + +# Enter a context with an instance of the API client +with quantcdn.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = quantcdn.CDNMetricsApi(api_client) + organization = 'organization_example' # str | Organization identifier + project = 'project_example' # str | Project identifier + domain = 'domain_example' # str | Filter by domain ID or domain name (optional) + metrics = ['metrics_example'] # List[str] | Metrics to return (default: hits, bytes) (optional) + timestamp_format = iso8601 # str | Timestamp format in response (optional) (default to iso8601) + + try: + # Get hourly metrics + api_response = api_instance.get_hourly_metrics(organization, project, domain=domain, metrics=metrics, timestamp_format=timestamp_format) + print("The response of CDNMetricsApi->get_hourly_metrics:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling CDNMetricsApi->get_hourly_metrics: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **organization** | **str**| Organization identifier | + **project** | **str**| Project identifier | + **domain** | **str**| Filter by domain ID or domain name | [optional] + **metrics** | [**List[str]**](str.md)| Metrics to return (default: hits, bytes) | [optional] + **timestamp_format** | **str**| Timestamp format in response | [optional] [default to iso8601] + +### Return type + +[**V2MetricsResponse**](V2MetricsResponse.md) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Hourly metrics data | - | +**400** | Invalid metric requested | - | +**404** | No domains found or domain not found | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_monthly_metrics** +> V2MetricsResponse get_monthly_metrics(organization, project, domain=domain, metrics=metrics, timestamp_format=timestamp_format) + +Get monthly metrics + +Returns the last 12 months of monthly metrics data + +### Example + +* Bearer (JWT) Authentication (BearerAuth): + +```python +import quantcdn +from quantcdn.models.v2_metrics_response import V2MetricsResponse +from quantcdn.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://dashboard.quantcdn.io +# See configuration.py for a list of all supported configuration parameters. +configuration = quantcdn.Configuration( + host = "https://dashboard.quantcdn.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure Bearer authorization (JWT): BearerAuth +configuration = quantcdn.Configuration( + access_token = os.environ["BEARER_TOKEN"] +) + +# Enter a context with an instance of the API client +with quantcdn.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = quantcdn.CDNMetricsApi(api_client) + organization = 'organization_example' # str | Organization identifier + project = 'project_example' # str | Project identifier + domain = 'domain_example' # str | Filter by domain ID or domain name (optional) + metrics = ['metrics_example'] # List[str] | Metrics to return (default: hits, bytes) (optional) + timestamp_format = iso8601 # str | Timestamp format in response (optional) (default to iso8601) + + try: + # Get monthly metrics + api_response = api_instance.get_monthly_metrics(organization, project, domain=domain, metrics=metrics, timestamp_format=timestamp_format) + print("The response of CDNMetricsApi->get_monthly_metrics:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling CDNMetricsApi->get_monthly_metrics: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **organization** | **str**| Organization identifier | + **project** | **str**| Project identifier | + **domain** | **str**| Filter by domain ID or domain name | [optional] + **metrics** | [**List[str]**](str.md)| Metrics to return (default: hits, bytes) | [optional] + **timestamp_format** | **str**| Timestamp format in response | [optional] [default to iso8601] + +### Return type + +[**V2MetricsResponse**](V2MetricsResponse.md) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Monthly metrics data | - | +**400** | Invalid metric requested | - | +**404** | No domains found or domain not found | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/ChatInferenceRequest.md b/docs/ChatInferenceRequest.md index fb5bcdd..ac89264 100644 --- a/docs/ChatInferenceRequest.md +++ b/docs/ChatInferenceRequest.md @@ -17,6 +17,8 @@ Name | Type | Description | Notes **tool_config** | [**ChatInferenceRequestToolConfig**](ChatInferenceRequestToolConfig.md) | | [optional] **session_id** | **str** | Optional session ID for conversation continuity. Omit to use stateless mode, include to continue an existing session. | [optional] **var_async** | **bool** | Enable async/durable execution mode. When true, returns 202 with pollUrl instead of waiting for completion. Use for long-running inference, client-executed tools, or operations >30 seconds. | [optional] [default to False] +**allowed_tools** | **List[str]** | Top-level convenience alias for toolConfig.allowedTools. Whitelists which tools can be auto-executed. | [optional] +**guardrails** | [**ChatInferenceRequestGuardrails**](ChatInferenceRequestGuardrails.md) | | [optional] ## Example diff --git a/docs/ChatInferenceRequestGuardrails.md b/docs/ChatInferenceRequestGuardrails.md new file mode 100644 index 0000000..9eb42c9 --- /dev/null +++ b/docs/ChatInferenceRequestGuardrails.md @@ -0,0 +1,32 @@ +# ChatInferenceRequestGuardrails + +AWS Bedrock guardrails configuration for content filtering and safety. + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**guardrail_identifier** | **str** | Guardrail identifier from AWS Bedrock | [optional] +**guardrail_version** | **str** | Guardrail version | [optional] +**trace** | **str** | Enable guardrail trace output | [optional] + +## Example + +```python +from quantcdn.models.chat_inference_request_guardrails import ChatInferenceRequestGuardrails + +# TODO update the JSON string below +json = "{}" +# create an instance of ChatInferenceRequestGuardrails from a JSON string +chat_inference_request_guardrails_instance = ChatInferenceRequestGuardrails.from_json(json) +# print the JSON string representation of the object +print(ChatInferenceRequestGuardrails.to_json()) + +# convert the object into a dict +chat_inference_request_guardrails_dict = chat_inference_request_guardrails_instance.to_dict() +# create an instance of ChatInferenceRequestGuardrails from a dict +chat_inference_request_guardrails_from_dict = ChatInferenceRequestGuardrails.from_dict(chat_inference_request_guardrails_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ChatInferenceStreamRequest.md b/docs/ChatInferenceStreamRequest.md index 7926327..dcc66a3 100644 --- a/docs/ChatInferenceStreamRequest.md +++ b/docs/ChatInferenceStreamRequest.md @@ -16,6 +16,8 @@ Name | Type | Description | Notes **tool_config** | [**ChatInferenceRequestToolConfig**](ChatInferenceRequestToolConfig.md) | | [optional] **session_id** | **str** | Optional session ID for conversation continuity. Omit to use stateless mode, include to continue an existing session. | [optional] **var_async** | **bool** | Enable async/durable execution mode. When true, returns 202 with pollUrl instead of streaming. Use for long-running inference, client-executed tools, or operations >30 seconds. | [optional] [default to False] +**allowed_tools** | **List[str]** | Top-level convenience alias for toolConfig.allowedTools. Whitelists which tools can be auto-executed. | [optional] +**guardrails** | [**ChatInferenceRequestGuardrails**](ChatInferenceRequestGuardrails.md) | | [optional] ## Example diff --git a/docs/CreateOrchestrationRequest.md b/docs/CreateOrchestrationRequest.md new file mode 100644 index 0000000..05103b5 --- /dev/null +++ b/docs/CreateOrchestrationRequest.md @@ -0,0 +1,39 @@ +# CreateOrchestrationRequest + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **str** | Orchestration name | +**description** | **str** | Optional description | [optional] +**agent_id** | **str** | Agent to process items | [optional] +**tool_id** | **str** | Tool to execute for items | [optional] +**workflow_id** | **str** | Workflow to run for items | [optional] +**input_source** | [**CreateOrchestrationRequestInputSource**](CreateOrchestrationRequestInputSource.md) | | +**batch_size** | **int** | Items per batch | [optional] [default to 10] +**concurrency** | **int** | Concurrent items within a batch | [optional] [default to 1] +**stop_condition** | [**CreateOrchestrationRequestStopCondition**](CreateOrchestrationRequestStopCondition.md) | | [optional] +**assigned_skills** | **List[str]** | Skill IDs to assign | [optional] +**auto_start** | **bool** | Whether to start immediately | [optional] [default to True] + +## Example + +```python +from quantcdn.models.create_orchestration_request import CreateOrchestrationRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of CreateOrchestrationRequest from a JSON string +create_orchestration_request_instance = CreateOrchestrationRequest.from_json(json) +# print the JSON string representation of the object +print(CreateOrchestrationRequest.to_json()) + +# convert the object into a dict +create_orchestration_request_dict = create_orchestration_request_instance.to_dict() +# create an instance of CreateOrchestrationRequest from a dict +create_orchestration_request_from_dict = CreateOrchestrationRequest.from_dict(create_orchestration_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CreateOrchestrationRequestInputSource.md b/docs/CreateOrchestrationRequestInputSource.md new file mode 100644 index 0000000..4dd82ad --- /dev/null +++ b/docs/CreateOrchestrationRequestInputSource.md @@ -0,0 +1,32 @@ +# CreateOrchestrationRequestInputSource + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**type** | **str** | Input source type (api type not yet supported) | +**items** | **List[object]** | Static items (for type=static) | [optional] +**task_query** | **object** | Task query filters (for type=task_query) | [optional] +**generator_prompt** | **str** | AI prompt (for type=generator) | [optional] + +## Example + +```python +from quantcdn.models.create_orchestration_request_input_source import CreateOrchestrationRequestInputSource + +# TODO update the JSON string below +json = "{}" +# create an instance of CreateOrchestrationRequestInputSource from a JSON string +create_orchestration_request_input_source_instance = CreateOrchestrationRequestInputSource.from_json(json) +# print the JSON string representation of the object +print(CreateOrchestrationRequestInputSource.to_json()) + +# convert the object into a dict +create_orchestration_request_input_source_dict = create_orchestration_request_input_source_instance.to_dict() +# create an instance of CreateOrchestrationRequestInputSource from a dict +create_orchestration_request_input_source_from_dict = CreateOrchestrationRequestInputSource.from_dict(create_orchestration_request_input_source_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CreateOrchestrationRequestStopCondition.md b/docs/CreateOrchestrationRequestStopCondition.md new file mode 100644 index 0000000..f03784a --- /dev/null +++ b/docs/CreateOrchestrationRequestStopCondition.md @@ -0,0 +1,31 @@ +# CreateOrchestrationRequestStopCondition + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**type** | **str** | | [optional] [default to 'all_complete'] +**max_iterations** | **int** | Max iterations (for type=max_iterations) | [optional] +**condition_prompt** | **str** | AI prompt to evaluate stop (for type=condition) | [optional] + +## Example + +```python +from quantcdn.models.create_orchestration_request_stop_condition import CreateOrchestrationRequestStopCondition + +# TODO update the JSON string below +json = "{}" +# create an instance of CreateOrchestrationRequestStopCondition from a JSON string +create_orchestration_request_stop_condition_instance = CreateOrchestrationRequestStopCondition.from_json(json) +# print the JSON string representation of the object +print(CreateOrchestrationRequestStopCondition.to_json()) + +# convert the object into a dict +create_orchestration_request_stop_condition_dict = create_orchestration_request_stop_condition_instance.to_dict() +# create an instance of CreateOrchestrationRequestStopCondition from a dict +create_orchestration_request_stop_condition_from_dict = CreateOrchestrationRequestStopCondition.from_dict(create_orchestration_request_stop_condition_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DeleteVectorDocuments200Response.md b/docs/DeleteVectorDocuments200Response.md new file mode 100644 index 0000000..5ef3488 --- /dev/null +++ b/docs/DeleteVectorDocuments200Response.md @@ -0,0 +1,31 @@ +# DeleteVectorDocuments200Response + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**message** | **str** | | [optional] +**collection_id** | **str** | | [optional] +**deleted_count** | **int** | | [optional] + +## Example + +```python +from quantcdn.models.delete_vector_documents200_response import DeleteVectorDocuments200Response + +# TODO update the JSON string below +json = "{}" +# create an instance of DeleteVectorDocuments200Response from a JSON string +delete_vector_documents200_response_instance = DeleteVectorDocuments200Response.from_json(json) +# print the JSON string representation of the object +print(DeleteVectorDocuments200Response.to_json()) + +# convert the object into a dict +delete_vector_documents200_response_dict = delete_vector_documents200_response_instance.to_dict() +# create an instance of DeleteVectorDocuments200Response from a dict +delete_vector_documents200_response_from_dict = DeleteVectorDocuments200Response.from_dict(delete_vector_documents200_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DeleteVectorDocumentsRequest.md b/docs/DeleteVectorDocumentsRequest.md new file mode 100644 index 0000000..8448e63 --- /dev/null +++ b/docs/DeleteVectorDocumentsRequest.md @@ -0,0 +1,31 @@ +# DeleteVectorDocumentsRequest + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**purge_all** | **bool** | Delete ALL documents in collection | [optional] +**document_ids** | **List[str]** | Delete specific documents by UUID | [optional] +**metadata** | [**DeleteVectorDocumentsRequestMetadata**](DeleteVectorDocumentsRequestMetadata.md) | | [optional] + +## Example + +```python +from quantcdn.models.delete_vector_documents_request import DeleteVectorDocumentsRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of DeleteVectorDocumentsRequest from a JSON string +delete_vector_documents_request_instance = DeleteVectorDocumentsRequest.from_json(json) +# print the JSON string representation of the object +print(DeleteVectorDocumentsRequest.to_json()) + +# convert the object into a dict +delete_vector_documents_request_dict = delete_vector_documents_request_instance.to_dict() +# create an instance of DeleteVectorDocumentsRequest from a dict +delete_vector_documents_request_from_dict = DeleteVectorDocumentsRequest.from_dict(delete_vector_documents_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DeleteVectorDocumentsRequestMetadata.md b/docs/DeleteVectorDocumentsRequestMetadata.md new file mode 100644 index 0000000..28db80b --- /dev/null +++ b/docs/DeleteVectorDocumentsRequestMetadata.md @@ -0,0 +1,30 @@ +# DeleteVectorDocumentsRequestMetadata + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**var_field** | **str** | Metadata field name (e.g., 'drupal_entity_id') | [optional] +**values** | **List[str]** | Values to match (OR logic) | [optional] + +## Example + +```python +from quantcdn.models.delete_vector_documents_request_metadata import DeleteVectorDocumentsRequestMetadata + +# TODO update the JSON string below +json = "{}" +# create an instance of DeleteVectorDocumentsRequestMetadata from a JSON string +delete_vector_documents_request_metadata_instance = DeleteVectorDocumentsRequestMetadata.from_json(json) +# print the JSON string representation of the object +print(DeleteVectorDocumentsRequestMetadata.to_json()) + +# convert the object into a dict +delete_vector_documents_request_metadata_dict = delete_vector_documents_request_metadata_instance.to_dict() +# create an instance of DeleteVectorDocumentsRequestMetadata from a dict +delete_vector_documents_request_metadata_from_dict = DeleteVectorDocumentsRequestMetadata.from_dict(delete_vector_documents_request_metadata_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/KVApi.md b/docs/KVApi.md index c5737a9..6d2f240 100644 --- a/docs/KVApi.md +++ b/docs/KVApi.md @@ -11,8 +11,10 @@ Method | HTTP request | Description [**k_v_items_list**](KVApi.md#k_v_items_list) | **GET** /api/v2/organizations/{organization}/projects/{project}/kv/{store_id}/items | List items in a kv store [**k_v_items_show**](KVApi.md#k_v_items_show) | **GET** /api/v2/organizations/{organization}/projects/{project}/kv/{store_id}/items/{key} | Get an item from a kv store [**k_v_items_update**](KVApi.md#k_v_items_update) | **PUT** /api/v2/organizations/{organization}/projects/{project}/kv/{store_id}/items/{key} | Update an item in a kv store +[**k_v_link_to_project**](KVApi.md#k_v_link_to_project) | **POST** /api/v2/organizations/{organization}/projects/{project}/kv/{store_id}/link | Link a KV store to another project [**k_v_list**](KVApi.md#k_v_list) | **GET** /api/v2/organizations/{organization}/projects/{project}/kv | List key-value stores [**k_v_show**](KVApi.md#k_v_show) | **GET** /api/v2/organizations/{organization}/projects/{project}/kv/{store_id} | Get a kv store +[**k_v_unlink_from_project**](KVApi.md#k_v_unlink_from_project) | **DELETE** /api/v2/organizations/{organization}/projects/{project}/kv/{store_id}/link | Unlink a KV store from this project # **k_v_create** @@ -611,6 +613,94 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **k_v_link_to_project** +> KVLinkToProject200Response k_v_link_to_project(organization, project, store_id, kv_link_to_project_request) + +Link a KV store to another project + +Share a KV store from the source project with a target project. The store will be accessible in the target project. + +### Example + +* Bearer (JWT) Authentication (BearerAuth): + +```python +import quantcdn +from quantcdn.models.kv_link_to_project200_response import KVLinkToProject200Response +from quantcdn.models.kv_link_to_project_request import KVLinkToProjectRequest +from quantcdn.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://dashboard.quantcdn.io +# See configuration.py for a list of all supported configuration parameters. +configuration = quantcdn.Configuration( + host = "https://dashboard.quantcdn.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure Bearer authorization (JWT): BearerAuth +configuration = quantcdn.Configuration( + access_token = os.environ["BEARER_TOKEN"] +) + +# Enter a context with an instance of the API client +with quantcdn.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = quantcdn.KVApi(api_client) + organization = 'test-org' # str | Organization identifier + project = 'test-project' # str | Source project identifier + store_id = 'store-123' # str | KV store identifier + kv_link_to_project_request = quantcdn.KVLinkToProjectRequest() # KVLinkToProjectRequest | + + try: + # Link a KV store to another project + api_response = api_instance.k_v_link_to_project(organization, project, store_id, kv_link_to_project_request) + print("The response of KVApi->k_v_link_to_project:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling KVApi->k_v_link_to_project: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **organization** | **str**| Organization identifier | + **project** | **str**| Source project identifier | + **store_id** | **str**| KV store identifier | + **kv_link_to_project_request** | [**KVLinkToProjectRequest**](KVLinkToProjectRequest.md)| | + +### Return type + +[**KVLinkToProject200Response**](KVLinkToProject200Response.md) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Store linked successfully | - | +**400** | Store already linked or invalid request | - | +**404** | Store or target project not found | - | +**403** | Access forbidden | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **k_v_list** > List[V2Store] k_v_list(organization, project) @@ -773,3 +863,87 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **k_v_unlink_from_project** +> KVLinkToProject200Response k_v_unlink_from_project(organization, project, store_id) + +Unlink a KV store from this project + +Remove access to a linked KV store from this project. The store must be linked (not owned by this project). + +### Example + +* Bearer (JWT) Authentication (BearerAuth): + +```python +import quantcdn +from quantcdn.models.kv_link_to_project200_response import KVLinkToProject200Response +from quantcdn.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://dashboard.quantcdn.io +# See configuration.py for a list of all supported configuration parameters. +configuration = quantcdn.Configuration( + host = "https://dashboard.quantcdn.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure Bearer authorization (JWT): BearerAuth +configuration = quantcdn.Configuration( + access_token = os.environ["BEARER_TOKEN"] +) + +# Enter a context with an instance of the API client +with quantcdn.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = quantcdn.KVApi(api_client) + organization = 'test-org' # str | Organization identifier + project = 'test-project' # str | Project identifier + store_id = 'store-123' # str | KV store identifier + + try: + # Unlink a KV store from this project + api_response = api_instance.k_v_unlink_from_project(organization, project, store_id) + print("The response of KVApi->k_v_unlink_from_project:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling KVApi->k_v_unlink_from_project: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **organization** | **str**| Organization identifier | + **project** | **str**| Project identifier | + **store_id** | **str**| KV store identifier | + +### Return type + +[**KVLinkToProject200Response**](KVLinkToProject200Response.md) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Store unlinked successfully | - | +**400** | Store not linked or invalid request | - | +**403** | Cannot unlink store owned by this project | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/KVLinkToProject200Response.md b/docs/KVLinkToProject200Response.md new file mode 100644 index 0000000..44a8ea8 --- /dev/null +++ b/docs/KVLinkToProject200Response.md @@ -0,0 +1,30 @@ +# KVLinkToProject200Response + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**success** | **bool** | | [optional] +**message** | **str** | | [optional] + +## Example + +```python +from quantcdn.models.kv_link_to_project200_response import KVLinkToProject200Response + +# TODO update the JSON string below +json = "{}" +# create an instance of KVLinkToProject200Response from a JSON string +kv_link_to_project200_response_instance = KVLinkToProject200Response.from_json(json) +# print the JSON string representation of the object +print(KVLinkToProject200Response.to_json()) + +# convert the object into a dict +kv_link_to_project200_response_dict = kv_link_to_project200_response_instance.to_dict() +# create an instance of KVLinkToProject200Response from a dict +kv_link_to_project200_response_from_dict = KVLinkToProject200Response.from_dict(kv_link_to_project200_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/KVLinkToProjectRequest.md b/docs/KVLinkToProjectRequest.md new file mode 100644 index 0000000..3ef94b2 --- /dev/null +++ b/docs/KVLinkToProjectRequest.md @@ -0,0 +1,29 @@ +# KVLinkToProjectRequest + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**project_id** | **int** | Target project ID to link to | + +## Example + +```python +from quantcdn.models.kv_link_to_project_request import KVLinkToProjectRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of KVLinkToProjectRequest from a JSON string +kv_link_to_project_request_instance = KVLinkToProjectRequest.from_json(json) +# print the JSON string representation of the object +print(KVLinkToProjectRequest.to_json()) + +# convert the object into a dict +kv_link_to_project_request_dict = kv_link_to_project_request_instance.to_dict() +# create an instance of KVLinkToProjectRequest from a dict +kv_link_to_project_request_from_dict = KVLinkToProjectRequest.from_dict(kv_link_to_project_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListOrchestrationBatches200Response.md b/docs/ListOrchestrationBatches200Response.md new file mode 100644 index 0000000..9f2f1a0 --- /dev/null +++ b/docs/ListOrchestrationBatches200Response.md @@ -0,0 +1,30 @@ +# ListOrchestrationBatches200Response + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**batches** | [**List[ListOrchestrationBatches200ResponseBatchesInner]**](ListOrchestrationBatches200ResponseBatchesInner.md) | | [optional] +**next_cursor** | **str** | | [optional] + +## Example + +```python +from quantcdn.models.list_orchestration_batches200_response import ListOrchestrationBatches200Response + +# TODO update the JSON string below +json = "{}" +# create an instance of ListOrchestrationBatches200Response from a JSON string +list_orchestration_batches200_response_instance = ListOrchestrationBatches200Response.from_json(json) +# print the JSON string representation of the object +print(ListOrchestrationBatches200Response.to_json()) + +# convert the object into a dict +list_orchestration_batches200_response_dict = list_orchestration_batches200_response_instance.to_dict() +# create an instance of ListOrchestrationBatches200Response from a dict +list_orchestration_batches200_response_from_dict = ListOrchestrationBatches200Response.from_dict(list_orchestration_batches200_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListOrchestrationBatches200ResponseBatchesInner.md b/docs/ListOrchestrationBatches200ResponseBatchesInner.md new file mode 100644 index 0000000..23606a3 --- /dev/null +++ b/docs/ListOrchestrationBatches200ResponseBatchesInner.md @@ -0,0 +1,38 @@ +# ListOrchestrationBatches200ResponseBatchesInner + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**batch_id** | **str** | | [optional] +**orchestration_id** | **str** | | [optional] +**iteration** | **int** | | [optional] +**item_count** | **int** | | [optional] +**completed_count** | **int** | | [optional] +**failed_count** | **int** | | [optional] +**status** | **str** | | [optional] +**started_at** | **datetime** | | [optional] +**completed_at** | **datetime** | | [optional] +**error** | **str** | | [optional] + +## Example + +```python +from quantcdn.models.list_orchestration_batches200_response_batches_inner import ListOrchestrationBatches200ResponseBatchesInner + +# TODO update the JSON string below +json = "{}" +# create an instance of ListOrchestrationBatches200ResponseBatchesInner from a JSON string +list_orchestration_batches200_response_batches_inner_instance = ListOrchestrationBatches200ResponseBatchesInner.from_json(json) +# print the JSON string representation of the object +print(ListOrchestrationBatches200ResponseBatchesInner.to_json()) + +# convert the object into a dict +list_orchestration_batches200_response_batches_inner_dict = list_orchestration_batches200_response_batches_inner_instance.to_dict() +# create an instance of ListOrchestrationBatches200ResponseBatchesInner from a dict +list_orchestration_batches200_response_batches_inner_from_dict = ListOrchestrationBatches200ResponseBatchesInner.from_dict(list_orchestration_batches200_response_batches_inner_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListOrchestrations200Response.md b/docs/ListOrchestrations200Response.md new file mode 100644 index 0000000..930d298 --- /dev/null +++ b/docs/ListOrchestrations200Response.md @@ -0,0 +1,30 @@ +# ListOrchestrations200Response + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**orchestrations** | **List[object]** | | [optional] +**next_cursor** | **str** | | [optional] + +## Example + +```python +from quantcdn.models.list_orchestrations200_response import ListOrchestrations200Response + +# TODO update the JSON string below +json = "{}" +# create an instance of ListOrchestrations200Response from a JSON string +list_orchestrations200_response_instance = ListOrchestrations200Response.from_json(json) +# print the JSON string representation of the object +print(ListOrchestrations200Response.to_json()) + +# convert the object into a dict +list_orchestrations200_response_dict = list_orchestrations200_response_instance.to_dict() +# create an instance of ListOrchestrations200Response from a dict +list_orchestrations200_response_from_dict = ListOrchestrations200Response.from_dict(list_orchestrations200_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/OrchestrationApi.md b/docs/OrchestrationApi.md index 5cb1978..6b9dd08 100644 --- a/docs/OrchestrationApi.md +++ b/docs/OrchestrationApi.md @@ -4,15 +4,18 @@ All URIs are relative to *https://dashboard.quantcdn.io* Method | HTTP request | Description ------------- | ------------- | ------------- -[**get_ai_orchestration_status**](OrchestrationApi.md#get_ai_orchestration_status) | **GET** /api/v3/organizations/{organisation}/ai/tools/orchestrations/{orchestrationId} | Get Orchestration Status +[**get_ai_orchestration_status**](OrchestrationApi.md#get_ai_orchestration_status) | **GET** /api/v3/organizations/{organisation}/ai/tools/orchestrations/{orchestrationId} | Get Tool Orchestration Status (Async Tool Polling) # **get_ai_orchestration_status** > GetAIOrchestrationStatus200Response get_ai_orchestration_status(organisation, orchestration_id) -Get Orchestration Status +Get Tool Orchestration Status (Async Tool Polling) -Retrieves the status and synthesized result of a multi-tool orchestration. +Retrieves the status and synthesized result of a multi-tool async execution orchestration. + * + * **Note:** This endpoint is for async tool execution polling (`/tools/orchestrations`). + * For durable batch processing orchestrations, see `GET /orchestrations` endpoints. * * **Orchestration Pattern:** * When the AI requests multiple async tools simultaneously, an orchestration is created @@ -76,7 +79,7 @@ with quantcdn.ApiClient(configuration) as api_client: orchestration_id = 'orch_abc123def456789012345678901234' # str | Orchestration identifier for aggregated async tool executions try: - # Get Orchestration Status + # Get Tool Orchestration Status (Async Tool Polling) api_response = api_instance.get_ai_orchestration_status(organisation, orchestration_id) print("The response of OrchestrationApi->get_ai_orchestration_status:\n") pprint(api_response) diff --git a/docs/V2CrawlerSchedule.md b/docs/V2CrawlerSchedule.md index 3639f8d..1df78df 100644 --- a/docs/V2CrawlerSchedule.md +++ b/docs/V2CrawlerSchedule.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes **crawler_uuid** | **str** | Crawler UUID | [optional] **project_id** | **int** | Project ID | **crawler_last_run_id** | **int** | Last run ID | -**schedule_cron_string** | **str** | Cron schedule string | +**schedule_cron_string** | **str** | Standard Unix cron expression with 5 space-separated fields: minute, hour, day-of-month, month, day-of-week. Example: 0 2 * * * runs daily at 2 AM. | **created_at** | **datetime** | Creation timestamp | [optional] **updated_at** | **datetime** | Last update timestamp | [optional] diff --git a/docs/V2CrawlerScheduleRequest.md b/docs/V2CrawlerScheduleRequest.md index 46b272d..22e1837 100644 --- a/docs/V2CrawlerScheduleRequest.md +++ b/docs/V2CrawlerScheduleRequest.md @@ -5,8 +5,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**name** | **str** | Schedule name | -**schedule_cron_string** | **str** | Cron schedule string | +**name** | **str** | Schedule name. If not provided, defaults to 'Schedule {crawler_name}'. | [optional] +**schedule_cron_string** | **str** | Standard Unix cron expression with 5 space-separated fields: minute, hour, day-of-month, month, day-of-week. Example: 0 2 * * * for daily at 2 AM. | ## Example diff --git a/docs/V2MetricData.md b/docs/V2MetricData.md new file mode 100644 index 0000000..e3b32cf --- /dev/null +++ b/docs/V2MetricData.md @@ -0,0 +1,32 @@ +# V2MetricData + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**series** | [**List[V2MetricDataPoint]**](V2MetricDataPoint.md) | Time series data points | +**period_total** | **float** | Total value for the period | +**all_time_total** | **float** | All-time total value | +**period_average** | **float** | Average value per time unit in the period | + +## Example + +```python +from quantcdn.models.v2_metric_data import V2MetricData + +# TODO update the JSON string below +json = "{}" +# create an instance of V2MetricData from a JSON string +v2_metric_data_instance = V2MetricData.from_json(json) +# print the JSON string representation of the object +print(V2MetricData.to_json()) + +# convert the object into a dict +v2_metric_data_dict = v2_metric_data_instance.to_dict() +# create an instance of V2MetricData from a dict +v2_metric_data_from_dict = V2MetricData.from_dict(v2_metric_data_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/V2MetricDataPoint.md b/docs/V2MetricDataPoint.md new file mode 100644 index 0000000..5ed99bd --- /dev/null +++ b/docs/V2MetricDataPoint.md @@ -0,0 +1,30 @@ +# V2MetricDataPoint + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**timestamp** | [**V2MetricDataPointTimestamp**](V2MetricDataPointTimestamp.md) | | +**value** | **float** | Metric value at this timestamp | + +## Example + +```python +from quantcdn.models.v2_metric_data_point import V2MetricDataPoint + +# TODO update the JSON string below +json = "{}" +# create an instance of V2MetricDataPoint from a JSON string +v2_metric_data_point_instance = V2MetricDataPoint.from_json(json) +# print the JSON string representation of the object +print(V2MetricDataPoint.to_json()) + +# convert the object into a dict +v2_metric_data_point_dict = v2_metric_data_point_instance.to_dict() +# create an instance of V2MetricDataPoint from a dict +v2_metric_data_point_from_dict = V2MetricDataPoint.from_dict(v2_metric_data_point_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/V2MetricDataPointTimestamp.md b/docs/V2MetricDataPointTimestamp.md new file mode 100644 index 0000000..2d94752 --- /dev/null +++ b/docs/V2MetricDataPointTimestamp.md @@ -0,0 +1,29 @@ +# V2MetricDataPointTimestamp + +Timestamp for this data point (format depends on timestamp_format parameter) + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +## Example + +```python +from quantcdn.models.v2_metric_data_point_timestamp import V2MetricDataPointTimestamp + +# TODO update the JSON string below +json = "{}" +# create an instance of V2MetricDataPointTimestamp from a JSON string +v2_metric_data_point_timestamp_instance = V2MetricDataPointTimestamp.from_json(json) +# print the JSON string representation of the object +print(V2MetricDataPointTimestamp.to_json()) + +# convert the object into a dict +v2_metric_data_point_timestamp_dict = v2_metric_data_point_timestamp_instance.to_dict() +# create an instance of V2MetricDataPointTimestamp from a dict +v2_metric_data_point_timestamp_from_dict = V2MetricDataPointTimestamp.from_dict(v2_metric_data_point_timestamp_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/V2MetricsMeta.md b/docs/V2MetricsMeta.md new file mode 100644 index 0000000..5f3e534 --- /dev/null +++ b/docs/V2MetricsMeta.md @@ -0,0 +1,34 @@ +# V2MetricsMeta + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**period** | **str** | The period type for this data | +**granularity** | **str** | The granularity of data points | +**start_time** | **str** | Start time of the data range (ISO8601 or Unix timestamp based on timestamp_format parameter) | +**end_time** | **str** | End time of the data range (ISO8601 or Unix timestamp based on timestamp_format parameter) | +**metrics** | **List[str]** | List of metrics included in the response | +**domain** | **str** | Domain filter applied (if any) | [optional] + +## Example + +```python +from quantcdn.models.v2_metrics_meta import V2MetricsMeta + +# TODO update the JSON string below +json = "{}" +# create an instance of V2MetricsMeta from a JSON string +v2_metrics_meta_instance = V2MetricsMeta.from_json(json) +# print the JSON string representation of the object +print(V2MetricsMeta.to_json()) + +# convert the object into a dict +v2_metrics_meta_dict = v2_metrics_meta_instance.to_dict() +# create an instance of V2MetricsMeta from a dict +v2_metrics_meta_from_dict = V2MetricsMeta.from_dict(v2_metrics_meta_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/V2MetricsResponse.md b/docs/V2MetricsResponse.md new file mode 100644 index 0000000..d38afe4 --- /dev/null +++ b/docs/V2MetricsResponse.md @@ -0,0 +1,30 @@ +# V2MetricsResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**meta** | [**V2MetricsMeta**](V2MetricsMeta.md) | | +**data** | [**Dict[str, V2MetricData]**](V2MetricData.md) | Metrics data keyed by metric name | + +## Example + +```python +from quantcdn.models.v2_metrics_response import V2MetricsResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V2MetricsResponse from a JSON string +v2_metrics_response_instance = V2MetricsResponse.from_json(json) +# print the JSON string representation of the object +print(V2MetricsResponse.to_json()) + +# convert the object into a dict +v2_metrics_response_dict = v2_metrics_response_instance.to_dict() +# create an instance of V2MetricsResponse from a dict +v2_metrics_response_from_dict = V2MetricsResponse.from_dict(v2_metrics_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/pyproject.toml b/pyproject.toml index 5f9a58b..602d31c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "quantcdn" -version = "4.9.0" +version = "4.10.0" description = "QuantCDN API" authors = ["OpenAPI Generator Community "] license = "NoLicense" diff --git a/quantcdn/__init__.py b/quantcdn/__init__.py index 2d28adf..f3210cd 100644 --- a/quantcdn/__init__.py +++ b/quantcdn/__init__.py @@ -7,7 +7,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -23,12 +23,14 @@ from quantcdn.api.ai_inference_api import AIInferenceApi from quantcdn.api.ai_models_api import AIModelsApi from quantcdn.api.ai_monitoring_api import AIMonitoringApi +from quantcdn.api.ai_orchestrations_api import AIOrchestrationsApi from quantcdn.api.ai_sessions_api import AISessionsApi from quantcdn.api.ai_task_management_api import AITaskManagementApi from quantcdn.api.ai_tools_api import AIToolsApi from quantcdn.api.ai_vector_database_api import AIVectorDatabaseApi from quantcdn.api.applications_api import ApplicationsApi from quantcdn.api.backup_management_api import BackupManagementApi +from quantcdn.api.cdn_metrics_api import CDNMetricsApi from quantcdn.api.commands_api import CommandsApi from quantcdn.api.compose_api import ComposeApi from quantcdn.api.containers_api import ContainersApi @@ -78,6 +80,7 @@ from quantcdn.models.chat_inference200_response_usage import ChatInference200ResponseUsage from quantcdn.models.chat_inference202_response import ChatInference202Response from quantcdn.models.chat_inference_request import ChatInferenceRequest +from quantcdn.models.chat_inference_request_guardrails import ChatInferenceRequestGuardrails from quantcdn.models.chat_inference_request_messages_inner import ChatInferenceRequestMessagesInner from quantcdn.models.chat_inference_request_messages_inner_content import ChatInferenceRequestMessagesInnerContent from quantcdn.models.chat_inference_request_messages_inner_content_one_of_inner import ChatInferenceRequestMessagesInnerContentOneOfInner @@ -135,6 +138,9 @@ from quantcdn.models.create_environment403_response import CreateEnvironment403Response from quantcdn.models.create_environment_request import CreateEnvironmentRequest from quantcdn.models.create_environment_request_environment_inner import CreateEnvironmentRequestEnvironmentInner +from quantcdn.models.create_orchestration_request import CreateOrchestrationRequest +from quantcdn.models.create_orchestration_request_input_source import CreateOrchestrationRequestInputSource +from quantcdn.models.create_orchestration_request_stop_condition import CreateOrchestrationRequestStopCondition from quantcdn.models.create_task201_response import CreateTask201Response from quantcdn.models.create_task_request import CreateTaskRequest from quantcdn.models.create_vector_collection201_response import CreateVectorCollection201Response @@ -151,6 +157,9 @@ from quantcdn.models.delete_task200_response import DeleteTask200Response from quantcdn.models.delete_task409_response import DeleteTask409Response from quantcdn.models.delete_vector_collection200_response import DeleteVectorCollection200Response +from quantcdn.models.delete_vector_documents200_response import DeleteVectorDocuments200Response +from quantcdn.models.delete_vector_documents_request import DeleteVectorDocumentsRequest +from quantcdn.models.delete_vector_documents_request_metadata import DeleteVectorDocumentsRequestMetadata from quantcdn.models.download_backup200_response import DownloadBackup200Response from quantcdn.models.embeddings200_response import Embeddings200Response from quantcdn.models.embeddings200_response_embeddings import Embeddings200ResponseEmbeddings @@ -206,6 +215,8 @@ from quantcdn.models.kv_items_delete200_response import KVItemsDelete200Response from quantcdn.models.kv_items_show200_response import KVItemsShow200Response from quantcdn.models.kv_items_show200_response_value import KVItemsShow200ResponseValue +from quantcdn.models.kv_link_to_project200_response import KVLinkToProject200Response +from quantcdn.models.kv_link_to_project_request import KVLinkToProjectRequest from quantcdn.models.list_ai_agents200_response import ListAIAgents200Response from quantcdn.models.list_ai_agents200_response_agents_inner import ListAIAgents200ResponseAgentsInner from quantcdn.models.list_ai_models200_response import ListAIModels200Response @@ -226,6 +237,9 @@ from quantcdn.models.list_custom_tools200_response_tools_inner import ListCustomTools200ResponseToolsInner from quantcdn.models.list_files200_response import ListFiles200Response from quantcdn.models.list_files200_response_files_inner import ListFiles200ResponseFilesInner +from quantcdn.models.list_orchestration_batches200_response import ListOrchestrationBatches200Response +from quantcdn.models.list_orchestration_batches200_response_batches_inner import ListOrchestrationBatches200ResponseBatchesInner +from quantcdn.models.list_orchestrations200_response import ListOrchestrations200Response from quantcdn.models.list_tasks200_response import ListTasks200Response from quantcdn.models.list_tasks200_response_tasks_inner import ListTasks200ResponseTasksInner from quantcdn.models.list_vector_collections200_response import ListVectorCollections200Response @@ -321,6 +335,11 @@ from quantcdn.models.v2_domain_dns_validation_records_inner import V2DomainDnsValidationRecordsInner from quantcdn.models.v2_domain_request import V2DomainRequest from quantcdn.models.v2_error import V2Error +from quantcdn.models.v2_metric_data import V2MetricData +from quantcdn.models.v2_metric_data_point import V2MetricDataPoint +from quantcdn.models.v2_metric_data_point_timestamp import V2MetricDataPointTimestamp +from quantcdn.models.v2_metrics_meta import V2MetricsMeta +from quantcdn.models.v2_metrics_response import V2MetricsResponse from quantcdn.models.v2_organization import V2Organization from quantcdn.models.v2_organization_request import V2OrganizationRequest from quantcdn.models.v2_project import V2Project diff --git a/quantcdn/__version__.py b/quantcdn/__version__.py index 787f0e9..696d25f 100644 --- a/quantcdn/__version__.py +++ b/quantcdn/__version__.py @@ -1,2 +1,2 @@ """Version information for quantcdn SDK.""" -__version__ = "4.9.0" +__version__ = "4.10.0" diff --git a/quantcdn/api/__init__.py b/quantcdn/api/__init__.py index 5d10a47..cbbcdc7 100644 --- a/quantcdn/api/__init__.py +++ b/quantcdn/api/__init__.py @@ -7,12 +7,14 @@ from quantcdn.api.ai_inference_api import AIInferenceApi from quantcdn.api.ai_models_api import AIModelsApi from quantcdn.api.ai_monitoring_api import AIMonitoringApi +from quantcdn.api.ai_orchestrations_api import AIOrchestrationsApi from quantcdn.api.ai_sessions_api import AISessionsApi from quantcdn.api.ai_task_management_api import AITaskManagementApi from quantcdn.api.ai_tools_api import AIToolsApi from quantcdn.api.ai_vector_database_api import AIVectorDatabaseApi from quantcdn.api.applications_api import ApplicationsApi from quantcdn.api.backup_management_api import BackupManagementApi +from quantcdn.api.cdn_metrics_api import CDNMetricsApi from quantcdn.api.commands_api import CommandsApi from quantcdn.api.compose_api import ComposeApi from quantcdn.api.containers_api import ContainersApi diff --git a/quantcdn/api/ai_agents_api.py b/quantcdn/api/ai_agents_api.py index 996b66a..8fac90d 100644 --- a/quantcdn/api/ai_agents_api.py +++ b/quantcdn/api/ai_agents_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/api/ai_custom_tools_api.py b/quantcdn/api/ai_custom_tools_api.py index 2ae1144..7630a79 100644 --- a/quantcdn/api/ai_custom_tools_api.py +++ b/quantcdn/api/ai_custom_tools_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/api/ai_file_storage_api.py b/quantcdn/api/ai_file_storage_api.py index f81689e..cd31c2f 100644 --- a/quantcdn/api/ai_file_storage_api.py +++ b/quantcdn/api/ai_file_storage_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/api/ai_inference_api.py b/quantcdn/api/ai_inference_api.py index ff9ef81..e7367dd 100644 --- a/quantcdn/api/ai_inference_api.py +++ b/quantcdn/api/ai_inference_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/api/ai_models_api.py b/quantcdn/api/ai_models_api.py index 4d2a5e6..7655ace 100644 --- a/quantcdn/api/ai_models_api.py +++ b/quantcdn/api/ai_models_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/api/ai_monitoring_api.py b/quantcdn/api/ai_monitoring_api.py index 25dd503..81f90ba 100644 --- a/quantcdn/api/ai_monitoring_api.py +++ b/quantcdn/api/ai_monitoring_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/api/ai_orchestrations_api.py b/quantcdn/api/ai_orchestrations_api.py new file mode 100644 index 0000000..d2fa80a --- /dev/null +++ b/quantcdn/api/ai_orchestrations_api.py @@ -0,0 +1,2694 @@ +# coding: utf-8 + +""" + QuantCDN API + + Unified API for QuantCDN Admin and QuantCloud Platform services + + The version of the OpenAPI document: 4.10.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + +import warnings +from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt +from typing import Any, Dict, List, Optional, Tuple, Union +from typing_extensions import Annotated + +from pydantic import Field, StrictStr, field_validator +from typing import Any, Dict, Optional +from typing_extensions import Annotated +from quantcdn.models.create_orchestration_request import CreateOrchestrationRequest +from quantcdn.models.list_orchestration_batches200_response import ListOrchestrationBatches200Response +from quantcdn.models.list_orchestrations200_response import ListOrchestrations200Response + +from quantcdn.api_client import ApiClient, RequestSerialized +from quantcdn.api_response import ApiResponse +from quantcdn.rest import RESTResponseType + + +class AIOrchestrationsApi: + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, api_client=None) -> None: + if api_client is None: + api_client = ApiClient.get_default() + self.api_client = api_client + + + @validate_call + def cancel_orchestration( + self, + organisation: Annotated[StrictStr, Field(description="The organisation machine name")], + orchestration_id: Annotated[StrictStr, Field(description="Orchestration identifier")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> object: + """Cancel Durable Orchestration + + Cancel an orchestration permanently. Cannot be resumed. Any in-progress items will complete, but no new processing starts. + + :param organisation: The organisation machine name (required) + :type organisation: str + :param orchestration_id: Orchestration identifier (required) + :type orchestration_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._cancel_orchestration_serialize( + organisation=organisation, + orchestration_id=orchestration_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "object", + '400': None, + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def cancel_orchestration_with_http_info( + self, + organisation: Annotated[StrictStr, Field(description="The organisation machine name")], + orchestration_id: Annotated[StrictStr, Field(description="Orchestration identifier")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[object]: + """Cancel Durable Orchestration + + Cancel an orchestration permanently. Cannot be resumed. Any in-progress items will complete, but no new processing starts. + + :param organisation: The organisation machine name (required) + :type organisation: str + :param orchestration_id: Orchestration identifier (required) + :type orchestration_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._cancel_orchestration_serialize( + organisation=organisation, + orchestration_id=orchestration_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "object", + '400': None, + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def cancel_orchestration_without_preload_content( + self, + organisation: Annotated[StrictStr, Field(description="The organisation machine name")], + orchestration_id: Annotated[StrictStr, Field(description="Orchestration identifier")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Cancel Durable Orchestration + + Cancel an orchestration permanently. Cannot be resumed. Any in-progress items will complete, but no new processing starts. + + :param organisation: The organisation machine name (required) + :type organisation: str + :param orchestration_id: Orchestration identifier (required) + :type orchestration_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._cancel_orchestration_serialize( + organisation=organisation, + orchestration_id=orchestration_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "object", + '400': None, + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _cancel_orchestration_serialize( + self, + organisation, + orchestration_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if organisation is not None: + _path_params['organisation'] = organisation + if orchestration_id is not None: + _path_params['orchestrationId'] = orchestration_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'BearerAuth' + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/api/v3/organizations/{organisation}/ai/orchestrations/{orchestrationId}/cancel', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def create_orchestration( + self, + organisation: Annotated[StrictStr, Field(description="The organisation machine name")], + create_orchestration_request: CreateOrchestrationRequest, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> object: + """Create Durable Orchestration + + Create a new durable orchestration for batch processing. * * **Input Sources:** * - `static`: Process a fixed list of items * - `task_query`: Process tasks matching a query * - `generator`: AI generates items from a prompt * * **Stop Conditions:** * - `all_complete`: Stop when all items processed * - `max_iterations`: Stop after N iterations * - `condition`: AI evaluates a prompt to decide * - `manual`: Run until manually stopped * * **Auto-start:** * By default, the orchestration starts immediately. Set `autoStart: false` to create in pending state. + + :param organisation: The organisation machine name (required) + :type organisation: str + :param create_orchestration_request: (required) + :type create_orchestration_request: CreateOrchestrationRequest + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._create_orchestration_serialize( + organisation=organisation, + create_orchestration_request=create_orchestration_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '201': "object", + '400': None, + '403': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def create_orchestration_with_http_info( + self, + organisation: Annotated[StrictStr, Field(description="The organisation machine name")], + create_orchestration_request: CreateOrchestrationRequest, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[object]: + """Create Durable Orchestration + + Create a new durable orchestration for batch processing. * * **Input Sources:** * - `static`: Process a fixed list of items * - `task_query`: Process tasks matching a query * - `generator`: AI generates items from a prompt * * **Stop Conditions:** * - `all_complete`: Stop when all items processed * - `max_iterations`: Stop after N iterations * - `condition`: AI evaluates a prompt to decide * - `manual`: Run until manually stopped * * **Auto-start:** * By default, the orchestration starts immediately. Set `autoStart: false` to create in pending state. + + :param organisation: The organisation machine name (required) + :type organisation: str + :param create_orchestration_request: (required) + :type create_orchestration_request: CreateOrchestrationRequest + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._create_orchestration_serialize( + organisation=organisation, + create_orchestration_request=create_orchestration_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '201': "object", + '400': None, + '403': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def create_orchestration_without_preload_content( + self, + organisation: Annotated[StrictStr, Field(description="The organisation machine name")], + create_orchestration_request: CreateOrchestrationRequest, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Create Durable Orchestration + + Create a new durable orchestration for batch processing. * * **Input Sources:** * - `static`: Process a fixed list of items * - `task_query`: Process tasks matching a query * - `generator`: AI generates items from a prompt * * **Stop Conditions:** * - `all_complete`: Stop when all items processed * - `max_iterations`: Stop after N iterations * - `condition`: AI evaluates a prompt to decide * - `manual`: Run until manually stopped * * **Auto-start:** * By default, the orchestration starts immediately. Set `autoStart: false` to create in pending state. + + :param organisation: The organisation machine name (required) + :type organisation: str + :param create_orchestration_request: (required) + :type create_orchestration_request: CreateOrchestrationRequest + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._create_orchestration_serialize( + organisation=organisation, + create_orchestration_request=create_orchestration_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '201': "object", + '400': None, + '403': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _create_orchestration_serialize( + self, + organisation, + create_orchestration_request, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if organisation is not None: + _path_params['organisation'] = organisation + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + if create_orchestration_request is not None: + _body_params = create_orchestration_request + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'BearerAuth' + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/api/v3/organizations/{organisation}/ai/orchestrations', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def delete_orchestration( + self, + organisation: Annotated[StrictStr, Field(description="The organisation machine name")], + orchestration_id: Annotated[StrictStr, Field(description="Orchestration identifier")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> None: + """Delete Durable Orchestration + + Delete an orchestration. Can only delete orchestrations in completed, failed, or cancelled status. + + :param organisation: The organisation machine name (required) + :type organisation: str + :param orchestration_id: Orchestration identifier (required) + :type orchestration_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._delete_orchestration_serialize( + organisation=organisation, + orchestration_id=orchestration_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '400': None, + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def delete_orchestration_with_http_info( + self, + organisation: Annotated[StrictStr, Field(description="The organisation machine name")], + orchestration_id: Annotated[StrictStr, Field(description="Orchestration identifier")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[None]: + """Delete Durable Orchestration + + Delete an orchestration. Can only delete orchestrations in completed, failed, or cancelled status. + + :param organisation: The organisation machine name (required) + :type organisation: str + :param orchestration_id: Orchestration identifier (required) + :type orchestration_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._delete_orchestration_serialize( + organisation=organisation, + orchestration_id=orchestration_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '400': None, + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def delete_orchestration_without_preload_content( + self, + organisation: Annotated[StrictStr, Field(description="The organisation machine name")], + orchestration_id: Annotated[StrictStr, Field(description="Orchestration identifier")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Delete Durable Orchestration + + Delete an orchestration. Can only delete orchestrations in completed, failed, or cancelled status. + + :param organisation: The organisation machine name (required) + :type organisation: str + :param orchestration_id: Orchestration identifier (required) + :type orchestration_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._delete_orchestration_serialize( + organisation=organisation, + orchestration_id=orchestration_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '400': None, + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _delete_orchestration_serialize( + self, + organisation, + orchestration_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if organisation is not None: + _path_params['organisation'] = organisation + if orchestration_id is not None: + _path_params['orchestrationId'] = orchestration_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + + + # authentication setting + _auth_settings: List[str] = [ + 'BearerAuth' + ] + + return self.api_client.param_serialize( + method='DELETE', + resource_path='/api/v3/organizations/{organisation}/ai/orchestrations/{orchestrationId}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_orchestration( + self, + organisation: Annotated[StrictStr, Field(description="The organisation machine name")], + orchestration_id: Annotated[StrictStr, Field(description="Orchestration identifier")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> object: + """Get Durable Orchestration + + Get orchestration details including status and progress. * * **Progress Tracking:** * - `total`: Total items to process * - `completed`: Successfully processed * - `failed`: Failed processing * - `pending`: Awaiting processing + + :param organisation: The organisation machine name (required) + :type organisation: str + :param orchestration_id: Orchestration identifier (required) + :type orchestration_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_orchestration_serialize( + organisation=organisation, + orchestration_id=orchestration_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "object", + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_orchestration_with_http_info( + self, + organisation: Annotated[StrictStr, Field(description="The organisation machine name")], + orchestration_id: Annotated[StrictStr, Field(description="Orchestration identifier")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[object]: + """Get Durable Orchestration + + Get orchestration details including status and progress. * * **Progress Tracking:** * - `total`: Total items to process * - `completed`: Successfully processed * - `failed`: Failed processing * - `pending`: Awaiting processing + + :param organisation: The organisation machine name (required) + :type organisation: str + :param orchestration_id: Orchestration identifier (required) + :type orchestration_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_orchestration_serialize( + organisation=organisation, + orchestration_id=orchestration_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "object", + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_orchestration_without_preload_content( + self, + organisation: Annotated[StrictStr, Field(description="The organisation machine name")], + orchestration_id: Annotated[StrictStr, Field(description="Orchestration identifier")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Get Durable Orchestration + + Get orchestration details including status and progress. * * **Progress Tracking:** * - `total`: Total items to process * - `completed`: Successfully processed * - `failed`: Failed processing * - `pending`: Awaiting processing + + :param organisation: The organisation machine name (required) + :type organisation: str + :param orchestration_id: Orchestration identifier (required) + :type orchestration_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_orchestration_serialize( + organisation=organisation, + orchestration_id=orchestration_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "object", + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_orchestration_serialize( + self, + organisation, + orchestration_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if organisation is not None: + _path_params['organisation'] = organisation + if orchestration_id is not None: + _path_params['orchestrationId'] = orchestration_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'BearerAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/api/v3/organizations/{organisation}/ai/orchestrations/{orchestrationId}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def list_orchestration_batches( + self, + organisation: Annotated[StrictStr, Field(description="The organisation machine name")], + orchestration_id: Annotated[StrictStr, Field(description="Orchestration identifier")], + limit: Annotated[Optional[Annotated[int, Field(le=100, strict=True, ge=1)]], Field(description="Maximum number of batches to return")] = None, + cursor: Annotated[Optional[StrictStr], Field(description="Pagination cursor from previous response")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ListOrchestrationBatches200Response: + """List Orchestration Batches + + Get history of batches processed by this orchestration. Returns paginated batch records with status and item counts. + + :param organisation: The organisation machine name (required) + :type organisation: str + :param orchestration_id: Orchestration identifier (required) + :type orchestration_id: str + :param limit: Maximum number of batches to return + :type limit: int + :param cursor: Pagination cursor from previous response + :type cursor: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._list_orchestration_batches_serialize( + organisation=organisation, + orchestration_id=orchestration_id, + limit=limit, + cursor=cursor, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "ListOrchestrationBatches200Response", + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def list_orchestration_batches_with_http_info( + self, + organisation: Annotated[StrictStr, Field(description="The organisation machine name")], + orchestration_id: Annotated[StrictStr, Field(description="Orchestration identifier")], + limit: Annotated[Optional[Annotated[int, Field(le=100, strict=True, ge=1)]], Field(description="Maximum number of batches to return")] = None, + cursor: Annotated[Optional[StrictStr], Field(description="Pagination cursor from previous response")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[ListOrchestrationBatches200Response]: + """List Orchestration Batches + + Get history of batches processed by this orchestration. Returns paginated batch records with status and item counts. + + :param organisation: The organisation machine name (required) + :type organisation: str + :param orchestration_id: Orchestration identifier (required) + :type orchestration_id: str + :param limit: Maximum number of batches to return + :type limit: int + :param cursor: Pagination cursor from previous response + :type cursor: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._list_orchestration_batches_serialize( + organisation=organisation, + orchestration_id=orchestration_id, + limit=limit, + cursor=cursor, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "ListOrchestrationBatches200Response", + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def list_orchestration_batches_without_preload_content( + self, + organisation: Annotated[StrictStr, Field(description="The organisation machine name")], + orchestration_id: Annotated[StrictStr, Field(description="Orchestration identifier")], + limit: Annotated[Optional[Annotated[int, Field(le=100, strict=True, ge=1)]], Field(description="Maximum number of batches to return")] = None, + cursor: Annotated[Optional[StrictStr], Field(description="Pagination cursor from previous response")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """List Orchestration Batches + + Get history of batches processed by this orchestration. Returns paginated batch records with status and item counts. + + :param organisation: The organisation machine name (required) + :type organisation: str + :param orchestration_id: Orchestration identifier (required) + :type orchestration_id: str + :param limit: Maximum number of batches to return + :type limit: int + :param cursor: Pagination cursor from previous response + :type cursor: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._list_orchestration_batches_serialize( + organisation=organisation, + orchestration_id=orchestration_id, + limit=limit, + cursor=cursor, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "ListOrchestrationBatches200Response", + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _list_orchestration_batches_serialize( + self, + organisation, + orchestration_id, + limit, + cursor, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if organisation is not None: + _path_params['organisation'] = organisation + if orchestration_id is not None: + _path_params['orchestrationId'] = orchestration_id + # process the query parameters + if limit is not None: + + _query_params.append(('limit', limit)) + + if cursor is not None: + + _query_params.append(('cursor', cursor)) + + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'BearerAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/api/v3/organizations/{organisation}/ai/orchestrations/{orchestrationId}/batches', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def list_orchestrations( + self, + organisation: Annotated[StrictStr, Field(description="The organisation machine name")], + status: Annotated[Optional[StrictStr], Field(description="Filter by orchestration status")] = None, + limit: Annotated[Optional[Annotated[int, Field(le=100, strict=True, ge=1)]], Field(description="Maximum number of results")] = None, + cursor: Annotated[Optional[StrictStr], Field(description="Pagination cursor from previous response")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ListOrchestrations200Response: + """List Durable Orchestrations + + List durable orchestrations for an organization with optional filtering. * * **Note:** This is different from `/tools/orchestrations` which handles async tool execution * polling. These durable orchestrations are for long-running batch processing loops. * * **Filter Options:** * - `status`: Filter by orchestration status * - `limit`: Max results (default 20, max 100) * - `cursor`: Pagination cursor + + :param organisation: The organisation machine name (required) + :type organisation: str + :param status: Filter by orchestration status + :type status: str + :param limit: Maximum number of results + :type limit: int + :param cursor: Pagination cursor from previous response + :type cursor: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._list_orchestrations_serialize( + organisation=organisation, + status=status, + limit=limit, + cursor=cursor, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "ListOrchestrations200Response", + '403': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def list_orchestrations_with_http_info( + self, + organisation: Annotated[StrictStr, Field(description="The organisation machine name")], + status: Annotated[Optional[StrictStr], Field(description="Filter by orchestration status")] = None, + limit: Annotated[Optional[Annotated[int, Field(le=100, strict=True, ge=1)]], Field(description="Maximum number of results")] = None, + cursor: Annotated[Optional[StrictStr], Field(description="Pagination cursor from previous response")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[ListOrchestrations200Response]: + """List Durable Orchestrations + + List durable orchestrations for an organization with optional filtering. * * **Note:** This is different from `/tools/orchestrations` which handles async tool execution * polling. These durable orchestrations are for long-running batch processing loops. * * **Filter Options:** * - `status`: Filter by orchestration status * - `limit`: Max results (default 20, max 100) * - `cursor`: Pagination cursor + + :param organisation: The organisation machine name (required) + :type organisation: str + :param status: Filter by orchestration status + :type status: str + :param limit: Maximum number of results + :type limit: int + :param cursor: Pagination cursor from previous response + :type cursor: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._list_orchestrations_serialize( + organisation=organisation, + status=status, + limit=limit, + cursor=cursor, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "ListOrchestrations200Response", + '403': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def list_orchestrations_without_preload_content( + self, + organisation: Annotated[StrictStr, Field(description="The organisation machine name")], + status: Annotated[Optional[StrictStr], Field(description="Filter by orchestration status")] = None, + limit: Annotated[Optional[Annotated[int, Field(le=100, strict=True, ge=1)]], Field(description="Maximum number of results")] = None, + cursor: Annotated[Optional[StrictStr], Field(description="Pagination cursor from previous response")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """List Durable Orchestrations + + List durable orchestrations for an organization with optional filtering. * * **Note:** This is different from `/tools/orchestrations` which handles async tool execution * polling. These durable orchestrations are for long-running batch processing loops. * * **Filter Options:** * - `status`: Filter by orchestration status * - `limit`: Max results (default 20, max 100) * - `cursor`: Pagination cursor + + :param organisation: The organisation machine name (required) + :type organisation: str + :param status: Filter by orchestration status + :type status: str + :param limit: Maximum number of results + :type limit: int + :param cursor: Pagination cursor from previous response + :type cursor: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._list_orchestrations_serialize( + organisation=organisation, + status=status, + limit=limit, + cursor=cursor, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "ListOrchestrations200Response", + '403': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _list_orchestrations_serialize( + self, + organisation, + status, + limit, + cursor, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if organisation is not None: + _path_params['organisation'] = organisation + # process the query parameters + if status is not None: + + _query_params.append(('status', status)) + + if limit is not None: + + _query_params.append(('limit', limit)) + + if cursor is not None: + + _query_params.append(('cursor', cursor)) + + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'BearerAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/api/v3/organizations/{organisation}/ai/orchestrations', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def pause_orchestration( + self, + organisation: Annotated[StrictStr, Field(description="The organisation machine name")], + orchestration_id: Annotated[StrictStr, Field(description="Orchestration identifier")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> object: + """Pause Durable Orchestration + + Pause a running orchestration. The current batch will complete, but no new batches will start. Can be resumed later. + + :param organisation: The organisation machine name (required) + :type organisation: str + :param orchestration_id: Orchestration identifier (required) + :type orchestration_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._pause_orchestration_serialize( + organisation=organisation, + orchestration_id=orchestration_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "object", + '400': None, + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def pause_orchestration_with_http_info( + self, + organisation: Annotated[StrictStr, Field(description="The organisation machine name")], + orchestration_id: Annotated[StrictStr, Field(description="Orchestration identifier")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[object]: + """Pause Durable Orchestration + + Pause a running orchestration. The current batch will complete, but no new batches will start. Can be resumed later. + + :param organisation: The organisation machine name (required) + :type organisation: str + :param orchestration_id: Orchestration identifier (required) + :type orchestration_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._pause_orchestration_serialize( + organisation=organisation, + orchestration_id=orchestration_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "object", + '400': None, + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def pause_orchestration_without_preload_content( + self, + organisation: Annotated[StrictStr, Field(description="The organisation machine name")], + orchestration_id: Annotated[StrictStr, Field(description="Orchestration identifier")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Pause Durable Orchestration + + Pause a running orchestration. The current batch will complete, but no new batches will start. Can be resumed later. + + :param organisation: The organisation machine name (required) + :type organisation: str + :param orchestration_id: Orchestration identifier (required) + :type orchestration_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._pause_orchestration_serialize( + organisation=organisation, + orchestration_id=orchestration_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "object", + '400': None, + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _pause_orchestration_serialize( + self, + organisation, + orchestration_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if organisation is not None: + _path_params['organisation'] = organisation + if orchestration_id is not None: + _path_params['orchestrationId'] = orchestration_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'BearerAuth' + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/api/v3/organizations/{organisation}/ai/orchestrations/{orchestrationId}/pause', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def resume_orchestration( + self, + organisation: Annotated[StrictStr, Field(description="The organisation machine name")], + orchestration_id: Annotated[StrictStr, Field(description="Orchestration identifier")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> object: + """Resume Durable Orchestration + + Resume a paused orchestration. Processing continues from where it left off. + + :param organisation: The organisation machine name (required) + :type organisation: str + :param orchestration_id: Orchestration identifier (required) + :type orchestration_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._resume_orchestration_serialize( + organisation=organisation, + orchestration_id=orchestration_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "object", + '400': None, + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def resume_orchestration_with_http_info( + self, + organisation: Annotated[StrictStr, Field(description="The organisation machine name")], + orchestration_id: Annotated[StrictStr, Field(description="Orchestration identifier")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[object]: + """Resume Durable Orchestration + + Resume a paused orchestration. Processing continues from where it left off. + + :param organisation: The organisation machine name (required) + :type organisation: str + :param orchestration_id: Orchestration identifier (required) + :type orchestration_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._resume_orchestration_serialize( + organisation=organisation, + orchestration_id=orchestration_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "object", + '400': None, + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def resume_orchestration_without_preload_content( + self, + organisation: Annotated[StrictStr, Field(description="The organisation machine name")], + orchestration_id: Annotated[StrictStr, Field(description="Orchestration identifier")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Resume Durable Orchestration + + Resume a paused orchestration. Processing continues from where it left off. + + :param organisation: The organisation machine name (required) + :type organisation: str + :param orchestration_id: Orchestration identifier (required) + :type orchestration_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._resume_orchestration_serialize( + organisation=organisation, + orchestration_id=orchestration_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "object", + '400': None, + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _resume_orchestration_serialize( + self, + organisation, + orchestration_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if organisation is not None: + _path_params['organisation'] = organisation + if orchestration_id is not None: + _path_params['orchestrationId'] = orchestration_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'BearerAuth' + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/api/v3/organizations/{organisation}/ai/orchestrations/{orchestrationId}/resume', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def start_orchestration( + self, + organisation: Annotated[StrictStr, Field(description="The organisation machine name")], + orchestration_id: Annotated[StrictStr, Field(description="Orchestration identifier")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> object: + """Start Durable Orchestration + + Start a pending orchestration. Only works on orchestrations created with `autoStart: false`. + + :param organisation: The organisation machine name (required) + :type organisation: str + :param orchestration_id: Orchestration identifier (required) + :type orchestration_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._start_orchestration_serialize( + organisation=organisation, + orchestration_id=orchestration_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "object", + '400': None, + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def start_orchestration_with_http_info( + self, + organisation: Annotated[StrictStr, Field(description="The organisation machine name")], + orchestration_id: Annotated[StrictStr, Field(description="Orchestration identifier")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[object]: + """Start Durable Orchestration + + Start a pending orchestration. Only works on orchestrations created with `autoStart: false`. + + :param organisation: The organisation machine name (required) + :type organisation: str + :param orchestration_id: Orchestration identifier (required) + :type orchestration_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._start_orchestration_serialize( + organisation=organisation, + orchestration_id=orchestration_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "object", + '400': None, + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def start_orchestration_without_preload_content( + self, + organisation: Annotated[StrictStr, Field(description="The organisation machine name")], + orchestration_id: Annotated[StrictStr, Field(description="Orchestration identifier")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Start Durable Orchestration + + Start a pending orchestration. Only works on orchestrations created with `autoStart: false`. + + :param organisation: The organisation machine name (required) + :type organisation: str + :param orchestration_id: Orchestration identifier (required) + :type orchestration_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._start_orchestration_serialize( + organisation=organisation, + orchestration_id=orchestration_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "object", + '400': None, + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _start_orchestration_serialize( + self, + organisation, + orchestration_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if organisation is not None: + _path_params['organisation'] = organisation + if orchestration_id is not None: + _path_params['orchestrationId'] = orchestration_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'BearerAuth' + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/api/v3/organizations/{organisation}/ai/orchestrations/{orchestrationId}/start', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + diff --git a/quantcdn/api/ai_sessions_api.py b/quantcdn/api/ai_sessions_api.py index 5dcbdbd..0768082 100644 --- a/quantcdn/api/ai_sessions_api.py +++ b/quantcdn/api/ai_sessions_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/api/ai_task_management_api.py b/quantcdn/api/ai_task_management_api.py index e689e48..9b17213 100644 --- a/quantcdn/api/ai_task_management_api.py +++ b/quantcdn/api/ai_task_management_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/api/ai_tools_api.py b/quantcdn/api/ai_tools_api.py index 547341a..b003abf 100644 --- a/quantcdn/api/ai_tools_api.py +++ b/quantcdn/api/ai_tools_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -61,9 +61,9 @@ def get_ai_orchestration_status( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> GetAIOrchestrationStatus200Response: - """Get Orchestration Status + """Get Tool Orchestration Status (Async Tool Polling) - Retrieves the status and synthesized result of a multi-tool orchestration. * * **Orchestration Pattern:** * When the AI requests multiple async tools simultaneously, an orchestration is created * to track all tool executions and synthesize their results into a single coherent response. * * **Flow:** * 1. AI requests multiple async tools (e.g., image generation + web search) * 2. Chat API creates orchestration and returns orchestrationId * 3. Tool Orchestrator Lambda polls all async tools * 4. When all tools complete, Orchestrator synthesizes results using AI * 5. Client polls this endpoint and receives final synthesized response * * **Status Values:** * - pending: Orchestration created, tools not yet started * - polling: Orchestrator is actively polling async tools * - synthesizing: All tools complete, AI is synthesizing response * - complete: Orchestration finished, synthesizedResponse available * - failed: Orchestration failed, error available * * **Polling Recommendations:** * - Poll every 2 seconds * - Maximum poll time: 10 minutes * - Orchestrator handles tool polling internally * * **Benefits over individual polling:** * - Single poll endpoint for multiple async tools * - AI synthesizes all results into coherent response * - Answers the original user question, not just tool summaries + Retrieves the status and synthesized result of a multi-tool async execution orchestration. * * **Note:** This endpoint is for async tool execution polling (`/tools/orchestrations`). * For durable batch processing orchestrations, see `GET /orchestrations` endpoints. * * **Orchestration Pattern:** * When the AI requests multiple async tools simultaneously, an orchestration is created * to track all tool executions and synthesize their results into a single coherent response. * * **Flow:** * 1. AI requests multiple async tools (e.g., image generation + web search) * 2. Chat API creates orchestration and returns orchestrationId * 3. Tool Orchestrator Lambda polls all async tools * 4. When all tools complete, Orchestrator synthesizes results using AI * 5. Client polls this endpoint and receives final synthesized response * * **Status Values:** * - pending: Orchestration created, tools not yet started * - polling: Orchestrator is actively polling async tools * - synthesizing: All tools complete, AI is synthesizing response * - complete: Orchestration finished, synthesizedResponse available * - failed: Orchestration failed, error available * * **Polling Recommendations:** * - Poll every 2 seconds * - Maximum poll time: 10 minutes * - Orchestrator handles tool polling internally * * **Benefits over individual polling:** * - Single poll endpoint for multiple async tools * - AI synthesizes all results into coherent response * - Answers the original user question, not just tool summaries :param organisation: The organisation ID (required) :type organisation: str @@ -135,9 +135,9 @@ def get_ai_orchestration_status_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[GetAIOrchestrationStatus200Response]: - """Get Orchestration Status + """Get Tool Orchestration Status (Async Tool Polling) - Retrieves the status and synthesized result of a multi-tool orchestration. * * **Orchestration Pattern:** * When the AI requests multiple async tools simultaneously, an orchestration is created * to track all tool executions and synthesize their results into a single coherent response. * * **Flow:** * 1. AI requests multiple async tools (e.g., image generation + web search) * 2. Chat API creates orchestration and returns orchestrationId * 3. Tool Orchestrator Lambda polls all async tools * 4. When all tools complete, Orchestrator synthesizes results using AI * 5. Client polls this endpoint and receives final synthesized response * * **Status Values:** * - pending: Orchestration created, tools not yet started * - polling: Orchestrator is actively polling async tools * - synthesizing: All tools complete, AI is synthesizing response * - complete: Orchestration finished, synthesizedResponse available * - failed: Orchestration failed, error available * * **Polling Recommendations:** * - Poll every 2 seconds * - Maximum poll time: 10 minutes * - Orchestrator handles tool polling internally * * **Benefits over individual polling:** * - Single poll endpoint for multiple async tools * - AI synthesizes all results into coherent response * - Answers the original user question, not just tool summaries + Retrieves the status and synthesized result of a multi-tool async execution orchestration. * * **Note:** This endpoint is for async tool execution polling (`/tools/orchestrations`). * For durable batch processing orchestrations, see `GET /orchestrations` endpoints. * * **Orchestration Pattern:** * When the AI requests multiple async tools simultaneously, an orchestration is created * to track all tool executions and synthesize their results into a single coherent response. * * **Flow:** * 1. AI requests multiple async tools (e.g., image generation + web search) * 2. Chat API creates orchestration and returns orchestrationId * 3. Tool Orchestrator Lambda polls all async tools * 4. When all tools complete, Orchestrator synthesizes results using AI * 5. Client polls this endpoint and receives final synthesized response * * **Status Values:** * - pending: Orchestration created, tools not yet started * - polling: Orchestrator is actively polling async tools * - synthesizing: All tools complete, AI is synthesizing response * - complete: Orchestration finished, synthesizedResponse available * - failed: Orchestration failed, error available * * **Polling Recommendations:** * - Poll every 2 seconds * - Maximum poll time: 10 minutes * - Orchestrator handles tool polling internally * * **Benefits over individual polling:** * - Single poll endpoint for multiple async tools * - AI synthesizes all results into coherent response * - Answers the original user question, not just tool summaries :param organisation: The organisation ID (required) :type organisation: str @@ -209,9 +209,9 @@ def get_ai_orchestration_status_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Get Orchestration Status + """Get Tool Orchestration Status (Async Tool Polling) - Retrieves the status and synthesized result of a multi-tool orchestration. * * **Orchestration Pattern:** * When the AI requests multiple async tools simultaneously, an orchestration is created * to track all tool executions and synthesize their results into a single coherent response. * * **Flow:** * 1. AI requests multiple async tools (e.g., image generation + web search) * 2. Chat API creates orchestration and returns orchestrationId * 3. Tool Orchestrator Lambda polls all async tools * 4. When all tools complete, Orchestrator synthesizes results using AI * 5. Client polls this endpoint and receives final synthesized response * * **Status Values:** * - pending: Orchestration created, tools not yet started * - polling: Orchestrator is actively polling async tools * - synthesizing: All tools complete, AI is synthesizing response * - complete: Orchestration finished, synthesizedResponse available * - failed: Orchestration failed, error available * * **Polling Recommendations:** * - Poll every 2 seconds * - Maximum poll time: 10 minutes * - Orchestrator handles tool polling internally * * **Benefits over individual polling:** * - Single poll endpoint for multiple async tools * - AI synthesizes all results into coherent response * - Answers the original user question, not just tool summaries + Retrieves the status and synthesized result of a multi-tool async execution orchestration. * * **Note:** This endpoint is for async tool execution polling (`/tools/orchestrations`). * For durable batch processing orchestrations, see `GET /orchestrations` endpoints. * * **Orchestration Pattern:** * When the AI requests multiple async tools simultaneously, an orchestration is created * to track all tool executions and synthesize their results into a single coherent response. * * **Flow:** * 1. AI requests multiple async tools (e.g., image generation + web search) * 2. Chat API creates orchestration and returns orchestrationId * 3. Tool Orchestrator Lambda polls all async tools * 4. When all tools complete, Orchestrator synthesizes results using AI * 5. Client polls this endpoint and receives final synthesized response * * **Status Values:** * - pending: Orchestration created, tools not yet started * - polling: Orchestrator is actively polling async tools * - synthesizing: All tools complete, AI is synthesizing response * - complete: Orchestration finished, synthesizedResponse available * - failed: Orchestration failed, error available * * **Polling Recommendations:** * - Poll every 2 seconds * - Maximum poll time: 10 minutes * - Orchestrator handles tool polling internally * * **Benefits over individual polling:** * - Single poll endpoint for multiple async tools * - AI synthesizes all results into coherent response * - Answers the original user question, not just tool summaries :param organisation: The organisation ID (required) :type organisation: str diff --git a/quantcdn/api/ai_vector_database_api.py b/quantcdn/api/ai_vector_database_api.py index ef8c7da..913d10a 100644 --- a/quantcdn/api/ai_vector_database_api.py +++ b/quantcdn/api/ai_vector_database_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -21,6 +21,8 @@ from quantcdn.models.create_vector_collection201_response import CreateVectorCollection201Response from quantcdn.models.create_vector_collection_request import CreateVectorCollectionRequest from quantcdn.models.delete_vector_collection200_response import DeleteVectorCollection200Response +from quantcdn.models.delete_vector_documents200_response import DeleteVectorDocuments200Response +from quantcdn.models.delete_vector_documents_request import DeleteVectorDocumentsRequest from quantcdn.models.get_vector_collection200_response import GetVectorCollection200Response from quantcdn.models.list_vector_collections200_response import ListVectorCollections200Response from quantcdn.models.query_vector_collection200_response import QueryVectorCollection200Response @@ -632,6 +634,322 @@ def _delete_vector_collection_serialize( + @validate_call + def delete_vector_documents( + self, + organisation: Annotated[StrictStr, Field(description="Organisation machine name")], + collection_id: Annotated[StrictStr, Field(description="Collection UUID")], + delete_vector_documents_request: DeleteVectorDocumentsRequest, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> DeleteVectorDocuments200Response: + """Delete Documents from Collection + + Delete documents from a collection. Supports three deletion modes: * * 1. **Purge All** - Set `purgeAll: true` to delete ALL documents in the collection * * 2. **By Document IDs** - Provide `documentIds` array with specific document UUIDs * * 3. **By Metadata** - Provide `metadata` object with `field` and `values` to delete documents where the metadata field matches any of the values * * **Drupal Integration:** * When using with Drupal AI Search, use metadata deletion with: * - `field: 'drupal_entity_id'` to delete all chunks for specific entities * - `field: 'drupal_long_id'` to delete specific chunks + + :param organisation: Organisation machine name (required) + :type organisation: str + :param collection_id: Collection UUID (required) + :type collection_id: str + :param delete_vector_documents_request: (required) + :type delete_vector_documents_request: DeleteVectorDocumentsRequest + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._delete_vector_documents_serialize( + organisation=organisation, + collection_id=collection_id, + delete_vector_documents_request=delete_vector_documents_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "DeleteVectorDocuments200Response", + '400': None, + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def delete_vector_documents_with_http_info( + self, + organisation: Annotated[StrictStr, Field(description="Organisation machine name")], + collection_id: Annotated[StrictStr, Field(description="Collection UUID")], + delete_vector_documents_request: DeleteVectorDocumentsRequest, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[DeleteVectorDocuments200Response]: + """Delete Documents from Collection + + Delete documents from a collection. Supports three deletion modes: * * 1. **Purge All** - Set `purgeAll: true` to delete ALL documents in the collection * * 2. **By Document IDs** - Provide `documentIds` array with specific document UUIDs * * 3. **By Metadata** - Provide `metadata` object with `field` and `values` to delete documents where the metadata field matches any of the values * * **Drupal Integration:** * When using with Drupal AI Search, use metadata deletion with: * - `field: 'drupal_entity_id'` to delete all chunks for specific entities * - `field: 'drupal_long_id'` to delete specific chunks + + :param organisation: Organisation machine name (required) + :type organisation: str + :param collection_id: Collection UUID (required) + :type collection_id: str + :param delete_vector_documents_request: (required) + :type delete_vector_documents_request: DeleteVectorDocumentsRequest + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._delete_vector_documents_serialize( + organisation=organisation, + collection_id=collection_id, + delete_vector_documents_request=delete_vector_documents_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "DeleteVectorDocuments200Response", + '400': None, + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def delete_vector_documents_without_preload_content( + self, + organisation: Annotated[StrictStr, Field(description="Organisation machine name")], + collection_id: Annotated[StrictStr, Field(description="Collection UUID")], + delete_vector_documents_request: DeleteVectorDocumentsRequest, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Delete Documents from Collection + + Delete documents from a collection. Supports three deletion modes: * * 1. **Purge All** - Set `purgeAll: true` to delete ALL documents in the collection * * 2. **By Document IDs** - Provide `documentIds` array with specific document UUIDs * * 3. **By Metadata** - Provide `metadata` object with `field` and `values` to delete documents where the metadata field matches any of the values * * **Drupal Integration:** * When using with Drupal AI Search, use metadata deletion with: * - `field: 'drupal_entity_id'` to delete all chunks for specific entities * - `field: 'drupal_long_id'` to delete specific chunks + + :param organisation: Organisation machine name (required) + :type organisation: str + :param collection_id: Collection UUID (required) + :type collection_id: str + :param delete_vector_documents_request: (required) + :type delete_vector_documents_request: DeleteVectorDocumentsRequest + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._delete_vector_documents_serialize( + organisation=organisation, + collection_id=collection_id, + delete_vector_documents_request=delete_vector_documents_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "DeleteVectorDocuments200Response", + '400': None, + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _delete_vector_documents_serialize( + self, + organisation, + collection_id, + delete_vector_documents_request, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if organisation is not None: + _path_params['organisation'] = organisation + if collection_id is not None: + _path_params['collectionId'] = collection_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + if delete_vector_documents_request is not None: + _body_params = delete_vector_documents_request + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'BearerAuth' + ] + + return self.api_client.param_serialize( + method='DELETE', + resource_path='/api/v3/organizations/{organisation}/ai/vector-db/collections/{collectionId}/documents', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + @validate_call def get_vector_collection( self, diff --git a/quantcdn/api/applications_api.py b/quantcdn/api/applications_api.py index 3229a67..17c8598 100644 --- a/quantcdn/api/applications_api.py +++ b/quantcdn/api/applications_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/api/backup_management_api.py b/quantcdn/api/backup_management_api.py index 400ce57..d280e35 100644 --- a/quantcdn/api/backup_management_api.py +++ b/quantcdn/api/backup_management_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/api/cdn_metrics_api.py b/quantcdn/api/cdn_metrics_api.py new file mode 100644 index 0000000..03ab234 --- /dev/null +++ b/quantcdn/api/cdn_metrics_api.py @@ -0,0 +1,1041 @@ +# coding: utf-8 + +""" + QuantCDN API + + Unified API for QuantCDN Admin and QuantCloud Platform services + + The version of the OpenAPI document: 4.10.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + +import warnings +from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt +from typing import Any, Dict, List, Optional, Tuple, Union +from typing_extensions import Annotated + +from pydantic import Field, StrictStr, field_validator +from typing import List, Optional +from typing_extensions import Annotated +from quantcdn.models.v2_metrics_response import V2MetricsResponse + +from quantcdn.api_client import ApiClient, RequestSerialized +from quantcdn.api_response import ApiResponse +from quantcdn.rest import RESTResponseType + + +class CDNMetricsApi: + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, api_client=None) -> None: + if api_client is None: + api_client = ApiClient.get_default() + self.api_client = api_client + + + @validate_call + def get_daily_metrics( + self, + organization: Annotated[StrictStr, Field(description="Organization identifier")], + project: Annotated[StrictStr, Field(description="Project identifier")], + domain: Annotated[Optional[StrictStr], Field(description="Filter by domain ID or domain name")] = None, + metrics: Annotated[Optional[List[StrictStr]], Field(description="Metrics to return (default: hits, bytes)")] = None, + timestamp_format: Annotated[Optional[StrictStr], Field(description="Timestamp format in response")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> V2MetricsResponse: + """Get daily metrics + + Returns the last 30 days of daily metrics data + + :param organization: Organization identifier (required) + :type organization: str + :param project: Project identifier (required) + :type project: str + :param domain: Filter by domain ID or domain name + :type domain: str + :param metrics: Metrics to return (default: hits, bytes) + :type metrics: List[str] + :param timestamp_format: Timestamp format in response + :type timestamp_format: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_daily_metrics_serialize( + organization=organization, + project=project, + domain=domain, + metrics=metrics, + timestamp_format=timestamp_format, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V2MetricsResponse", + '400': None, + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_daily_metrics_with_http_info( + self, + organization: Annotated[StrictStr, Field(description="Organization identifier")], + project: Annotated[StrictStr, Field(description="Project identifier")], + domain: Annotated[Optional[StrictStr], Field(description="Filter by domain ID or domain name")] = None, + metrics: Annotated[Optional[List[StrictStr]], Field(description="Metrics to return (default: hits, bytes)")] = None, + timestamp_format: Annotated[Optional[StrictStr], Field(description="Timestamp format in response")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[V2MetricsResponse]: + """Get daily metrics + + Returns the last 30 days of daily metrics data + + :param organization: Organization identifier (required) + :type organization: str + :param project: Project identifier (required) + :type project: str + :param domain: Filter by domain ID or domain name + :type domain: str + :param metrics: Metrics to return (default: hits, bytes) + :type metrics: List[str] + :param timestamp_format: Timestamp format in response + :type timestamp_format: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_daily_metrics_serialize( + organization=organization, + project=project, + domain=domain, + metrics=metrics, + timestamp_format=timestamp_format, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V2MetricsResponse", + '400': None, + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_daily_metrics_without_preload_content( + self, + organization: Annotated[StrictStr, Field(description="Organization identifier")], + project: Annotated[StrictStr, Field(description="Project identifier")], + domain: Annotated[Optional[StrictStr], Field(description="Filter by domain ID or domain name")] = None, + metrics: Annotated[Optional[List[StrictStr]], Field(description="Metrics to return (default: hits, bytes)")] = None, + timestamp_format: Annotated[Optional[StrictStr], Field(description="Timestamp format in response")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Get daily metrics + + Returns the last 30 days of daily metrics data + + :param organization: Organization identifier (required) + :type organization: str + :param project: Project identifier (required) + :type project: str + :param domain: Filter by domain ID or domain name + :type domain: str + :param metrics: Metrics to return (default: hits, bytes) + :type metrics: List[str] + :param timestamp_format: Timestamp format in response + :type timestamp_format: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_daily_metrics_serialize( + organization=organization, + project=project, + domain=domain, + metrics=metrics, + timestamp_format=timestamp_format, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V2MetricsResponse", + '400': None, + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_daily_metrics_serialize( + self, + organization, + project, + domain, + metrics, + timestamp_format, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + 'metrics[]': 'multi', + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if organization is not None: + _path_params['organization'] = organization + if project is not None: + _path_params['project'] = project + # process the query parameters + if domain is not None: + + _query_params.append(('domain', domain)) + + if metrics is not None: + + _query_params.append(('metrics[]', metrics)) + + if timestamp_format is not None: + + _query_params.append(('timestamp_format', timestamp_format)) + + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'BearerAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/v2/organizations/{organization}/projects/{project}/metrics/daily', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_hourly_metrics( + self, + organization: Annotated[StrictStr, Field(description="Organization identifier")], + project: Annotated[StrictStr, Field(description="Project identifier")], + domain: Annotated[Optional[StrictStr], Field(description="Filter by domain ID or domain name")] = None, + metrics: Annotated[Optional[List[StrictStr]], Field(description="Metrics to return (default: hits, bytes)")] = None, + timestamp_format: Annotated[Optional[StrictStr], Field(description="Timestamp format in response")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> V2MetricsResponse: + """Get hourly metrics + + Returns the last hour of minute-by-minute metrics data + + :param organization: Organization identifier (required) + :type organization: str + :param project: Project identifier (required) + :type project: str + :param domain: Filter by domain ID or domain name + :type domain: str + :param metrics: Metrics to return (default: hits, bytes) + :type metrics: List[str] + :param timestamp_format: Timestamp format in response + :type timestamp_format: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_hourly_metrics_serialize( + organization=organization, + project=project, + domain=domain, + metrics=metrics, + timestamp_format=timestamp_format, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V2MetricsResponse", + '400': None, + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_hourly_metrics_with_http_info( + self, + organization: Annotated[StrictStr, Field(description="Organization identifier")], + project: Annotated[StrictStr, Field(description="Project identifier")], + domain: Annotated[Optional[StrictStr], Field(description="Filter by domain ID or domain name")] = None, + metrics: Annotated[Optional[List[StrictStr]], Field(description="Metrics to return (default: hits, bytes)")] = None, + timestamp_format: Annotated[Optional[StrictStr], Field(description="Timestamp format in response")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[V2MetricsResponse]: + """Get hourly metrics + + Returns the last hour of minute-by-minute metrics data + + :param organization: Organization identifier (required) + :type organization: str + :param project: Project identifier (required) + :type project: str + :param domain: Filter by domain ID or domain name + :type domain: str + :param metrics: Metrics to return (default: hits, bytes) + :type metrics: List[str] + :param timestamp_format: Timestamp format in response + :type timestamp_format: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_hourly_metrics_serialize( + organization=organization, + project=project, + domain=domain, + metrics=metrics, + timestamp_format=timestamp_format, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V2MetricsResponse", + '400': None, + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_hourly_metrics_without_preload_content( + self, + organization: Annotated[StrictStr, Field(description="Organization identifier")], + project: Annotated[StrictStr, Field(description="Project identifier")], + domain: Annotated[Optional[StrictStr], Field(description="Filter by domain ID or domain name")] = None, + metrics: Annotated[Optional[List[StrictStr]], Field(description="Metrics to return (default: hits, bytes)")] = None, + timestamp_format: Annotated[Optional[StrictStr], Field(description="Timestamp format in response")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Get hourly metrics + + Returns the last hour of minute-by-minute metrics data + + :param organization: Organization identifier (required) + :type organization: str + :param project: Project identifier (required) + :type project: str + :param domain: Filter by domain ID or domain name + :type domain: str + :param metrics: Metrics to return (default: hits, bytes) + :type metrics: List[str] + :param timestamp_format: Timestamp format in response + :type timestamp_format: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_hourly_metrics_serialize( + organization=organization, + project=project, + domain=domain, + metrics=metrics, + timestamp_format=timestamp_format, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V2MetricsResponse", + '400': None, + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_hourly_metrics_serialize( + self, + organization, + project, + domain, + metrics, + timestamp_format, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + 'metrics[]': 'multi', + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if organization is not None: + _path_params['organization'] = organization + if project is not None: + _path_params['project'] = project + # process the query parameters + if domain is not None: + + _query_params.append(('domain', domain)) + + if metrics is not None: + + _query_params.append(('metrics[]', metrics)) + + if timestamp_format is not None: + + _query_params.append(('timestamp_format', timestamp_format)) + + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'BearerAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/v2/organizations/{organization}/projects/{project}/metrics/hourly', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_monthly_metrics( + self, + organization: Annotated[StrictStr, Field(description="Organization identifier")], + project: Annotated[StrictStr, Field(description="Project identifier")], + domain: Annotated[Optional[StrictStr], Field(description="Filter by domain ID or domain name")] = None, + metrics: Annotated[Optional[List[StrictStr]], Field(description="Metrics to return (default: hits, bytes)")] = None, + timestamp_format: Annotated[Optional[StrictStr], Field(description="Timestamp format in response")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> V2MetricsResponse: + """Get monthly metrics + + Returns the last 12 months of monthly metrics data + + :param organization: Organization identifier (required) + :type organization: str + :param project: Project identifier (required) + :type project: str + :param domain: Filter by domain ID or domain name + :type domain: str + :param metrics: Metrics to return (default: hits, bytes) + :type metrics: List[str] + :param timestamp_format: Timestamp format in response + :type timestamp_format: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_monthly_metrics_serialize( + organization=organization, + project=project, + domain=domain, + metrics=metrics, + timestamp_format=timestamp_format, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V2MetricsResponse", + '400': None, + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_monthly_metrics_with_http_info( + self, + organization: Annotated[StrictStr, Field(description="Organization identifier")], + project: Annotated[StrictStr, Field(description="Project identifier")], + domain: Annotated[Optional[StrictStr], Field(description="Filter by domain ID or domain name")] = None, + metrics: Annotated[Optional[List[StrictStr]], Field(description="Metrics to return (default: hits, bytes)")] = None, + timestamp_format: Annotated[Optional[StrictStr], Field(description="Timestamp format in response")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[V2MetricsResponse]: + """Get monthly metrics + + Returns the last 12 months of monthly metrics data + + :param organization: Organization identifier (required) + :type organization: str + :param project: Project identifier (required) + :type project: str + :param domain: Filter by domain ID or domain name + :type domain: str + :param metrics: Metrics to return (default: hits, bytes) + :type metrics: List[str] + :param timestamp_format: Timestamp format in response + :type timestamp_format: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_monthly_metrics_serialize( + organization=organization, + project=project, + domain=domain, + metrics=metrics, + timestamp_format=timestamp_format, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V2MetricsResponse", + '400': None, + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_monthly_metrics_without_preload_content( + self, + organization: Annotated[StrictStr, Field(description="Organization identifier")], + project: Annotated[StrictStr, Field(description="Project identifier")], + domain: Annotated[Optional[StrictStr], Field(description="Filter by domain ID or domain name")] = None, + metrics: Annotated[Optional[List[StrictStr]], Field(description="Metrics to return (default: hits, bytes)")] = None, + timestamp_format: Annotated[Optional[StrictStr], Field(description="Timestamp format in response")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Get monthly metrics + + Returns the last 12 months of monthly metrics data + + :param organization: Organization identifier (required) + :type organization: str + :param project: Project identifier (required) + :type project: str + :param domain: Filter by domain ID or domain name + :type domain: str + :param metrics: Metrics to return (default: hits, bytes) + :type metrics: List[str] + :param timestamp_format: Timestamp format in response + :type timestamp_format: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_monthly_metrics_serialize( + organization=organization, + project=project, + domain=domain, + metrics=metrics, + timestamp_format=timestamp_format, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V2MetricsResponse", + '400': None, + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_monthly_metrics_serialize( + self, + organization, + project, + domain, + metrics, + timestamp_format, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + 'metrics[]': 'multi', + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if organization is not None: + _path_params['organization'] = organization + if project is not None: + _path_params['project'] = project + # process the query parameters + if domain is not None: + + _query_params.append(('domain', domain)) + + if metrics is not None: + + _query_params.append(('metrics[]', metrics)) + + if timestamp_format is not None: + + _query_params.append(('timestamp_format', timestamp_format)) + + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'BearerAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/v2/organizations/{organization}/projects/{project}/metrics/monthly', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + diff --git a/quantcdn/api/commands_api.py b/quantcdn/api/commands_api.py index 54ecd96..21be510 100644 --- a/quantcdn/api/commands_api.py +++ b/quantcdn/api/commands_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/api/compose_api.py b/quantcdn/api/compose_api.py index 1508dee..1683fe4 100644 --- a/quantcdn/api/compose_api.py +++ b/quantcdn/api/compose_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/api/containers_api.py b/quantcdn/api/containers_api.py index f22b98a..fa6850c 100644 --- a/quantcdn/api/containers_api.py +++ b/quantcdn/api/containers_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/api/crawler_schedules_api.py b/quantcdn/api/crawler_schedules_api.py index e6f766b..e94adff 100644 --- a/quantcdn/api/crawler_schedules_api.py +++ b/quantcdn/api/crawler_schedules_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/api/crawlers_api.py b/quantcdn/api/crawlers_api.py index 0332810..4e7deb8 100644 --- a/quantcdn/api/crawlers_api.py +++ b/quantcdn/api/crawlers_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/api/cron_api.py b/quantcdn/api/cron_api.py index a497d8b..da32f2a 100644 --- a/quantcdn/api/cron_api.py +++ b/quantcdn/api/cron_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/api/domains_api.py b/quantcdn/api/domains_api.py index 3f15b5d..2ca4b07 100644 --- a/quantcdn/api/domains_api.py +++ b/quantcdn/api/domains_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/api/environments_api.py b/quantcdn/api/environments_api.py index 7a09d3c..dace47c 100644 --- a/quantcdn/api/environments_api.py +++ b/quantcdn/api/environments_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/api/headers_api.py b/quantcdn/api/headers_api.py index 7f481dc..d17fa18 100644 --- a/quantcdn/api/headers_api.py +++ b/quantcdn/api/headers_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/api/kv_api.py b/quantcdn/api/kv_api.py index 07ff1e3..d1e98e3 100644 --- a/quantcdn/api/kv_api.py +++ b/quantcdn/api/kv_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -22,6 +22,8 @@ from quantcdn.models.kv_items_create200_response import KVItemsCreate200Response from quantcdn.models.kv_items_delete200_response import KVItemsDelete200Response from quantcdn.models.kv_items_show200_response import KVItemsShow200Response +from quantcdn.models.kv_link_to_project200_response import KVLinkToProject200Response +from quantcdn.models.kv_link_to_project_request import KVLinkToProjectRequest from quantcdn.models.v2_store import V2Store from quantcdn.models.v2_store_item_request import V2StoreItemRequest from quantcdn.models.v2_store_item_update_request import V2StoreItemUpdateRequest @@ -2295,6 +2297,334 @@ def _k_v_items_update_serialize( + @validate_call + def k_v_link_to_project( + self, + organization: Annotated[StrictStr, Field(description="Organization identifier")], + project: Annotated[StrictStr, Field(description="Source project identifier")], + store_id: Annotated[StrictStr, Field(description="KV store identifier")], + kv_link_to_project_request: KVLinkToProjectRequest, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> KVLinkToProject200Response: + """Link a KV store to another project + + Share a KV store from the source project with a target project. The store will be accessible in the target project. + + :param organization: Organization identifier (required) + :type organization: str + :param project: Source project identifier (required) + :type project: str + :param store_id: KV store identifier (required) + :type store_id: str + :param kv_link_to_project_request: (required) + :type kv_link_to_project_request: KVLinkToProjectRequest + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._k_v_link_to_project_serialize( + organization=organization, + project=project, + store_id=store_id, + kv_link_to_project_request=kv_link_to_project_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "KVLinkToProject200Response", + '400': "V2Error", + '404': "V2Error", + '403': "V2Error", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def k_v_link_to_project_with_http_info( + self, + organization: Annotated[StrictStr, Field(description="Organization identifier")], + project: Annotated[StrictStr, Field(description="Source project identifier")], + store_id: Annotated[StrictStr, Field(description="KV store identifier")], + kv_link_to_project_request: KVLinkToProjectRequest, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[KVLinkToProject200Response]: + """Link a KV store to another project + + Share a KV store from the source project with a target project. The store will be accessible in the target project. + + :param organization: Organization identifier (required) + :type organization: str + :param project: Source project identifier (required) + :type project: str + :param store_id: KV store identifier (required) + :type store_id: str + :param kv_link_to_project_request: (required) + :type kv_link_to_project_request: KVLinkToProjectRequest + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._k_v_link_to_project_serialize( + organization=organization, + project=project, + store_id=store_id, + kv_link_to_project_request=kv_link_to_project_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "KVLinkToProject200Response", + '400': "V2Error", + '404': "V2Error", + '403': "V2Error", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def k_v_link_to_project_without_preload_content( + self, + organization: Annotated[StrictStr, Field(description="Organization identifier")], + project: Annotated[StrictStr, Field(description="Source project identifier")], + store_id: Annotated[StrictStr, Field(description="KV store identifier")], + kv_link_to_project_request: KVLinkToProjectRequest, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Link a KV store to another project + + Share a KV store from the source project with a target project. The store will be accessible in the target project. + + :param organization: Organization identifier (required) + :type organization: str + :param project: Source project identifier (required) + :type project: str + :param store_id: KV store identifier (required) + :type store_id: str + :param kv_link_to_project_request: (required) + :type kv_link_to_project_request: KVLinkToProjectRequest + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._k_v_link_to_project_serialize( + organization=organization, + project=project, + store_id=store_id, + kv_link_to_project_request=kv_link_to_project_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "KVLinkToProject200Response", + '400': "V2Error", + '404': "V2Error", + '403': "V2Error", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _k_v_link_to_project_serialize( + self, + organization, + project, + store_id, + kv_link_to_project_request, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if organization is not None: + _path_params['organization'] = organization + if project is not None: + _path_params['project'] = project + if store_id is not None: + _path_params['store_id'] = store_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + if kv_link_to_project_request is not None: + _body_params = kv_link_to_project_request + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'BearerAuth' + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/api/v2/organizations/{organization}/projects/{project}/kv/{store_id}/link', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + @validate_call def k_v_list( self, @@ -2312,7 +2642,151 @@ def k_v_list( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> List[V2Store]: + ) -> List[V2Store]: + """List key-value stores + + + :param organization: Organization identifier (required) + :type organization: str + :param project: Project identifier (required) + :type project: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._k_v_list_serialize( + organization=organization, + project=project, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[V2Store]", + '400': "V2Error", + '403': "V2Error", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def k_v_list_with_http_info( + self, + organization: Annotated[StrictStr, Field(description="Organization identifier")], + project: Annotated[StrictStr, Field(description="Project identifier")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[List[V2Store]]: + """List key-value stores + + + :param organization: Organization identifier (required) + :type organization: str + :param project: Project identifier (required) + :type project: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._k_v_list_serialize( + organization=organization, + project=project, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[V2Store]", + '400': "V2Error", + '403': "V2Error", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def k_v_list_without_preload_content( + self, + organization: Annotated[StrictStr, Field(description="Organization identifier")], + project: Annotated[StrictStr, Field(description="Project identifier")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: """List key-value stores @@ -2360,6 +2834,145 @@ def k_v_list( *_param, _request_timeout=_request_timeout ) + return response_data.response + + + def _k_v_list_serialize( + self, + organization, + project, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if organization is not None: + _path_params['organization'] = organization + if project is not None: + _path_params['project'] = project + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'BearerAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/api/v2/organizations/{organization}/projects/{project}/kv', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def k_v_show( + self, + organization: Annotated[StrictStr, Field(description="Organization identifier")], + project: Annotated[StrictStr, Field(description="Project identifier")], + store_id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> V2Store: + """Get a kv store + + + :param organization: Organization identifier (required) + :type organization: str + :param project: Project identifier (required) + :type project: str + :param store_id: (required) + :type store_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._k_v_show_serialize( + organization=organization, + project=project, + store_id=store_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V2Store", + '404': "V2Error", + '403': "V2Error", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) response_data.read() return self.api_client.response_deserialize( response_data=response_data, @@ -2368,10 +2981,11 @@ def k_v_list( @validate_call - def k_v_list_with_http_info( + def k_v_show_with_http_info( self, organization: Annotated[StrictStr, Field(description="Organization identifier")], project: Annotated[StrictStr, Field(description="Project identifier")], + store_id: StrictStr, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2384,14 +2998,16 @@ def k_v_list_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[List[V2Store]]: - """List key-value stores + ) -> ApiResponse[V2Store]: + """Get a kv store :param organization: Organization identifier (required) :type organization: str :param project: Project identifier (required) :type project: str + :param store_id: (required) + :type store_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2414,9 +3030,10 @@ def k_v_list_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._k_v_list_serialize( + _param = self._k_v_show_serialize( organization=organization, project=project, + store_id=store_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2424,8 +3041,8 @@ def k_v_list_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "List[V2Store]", - '400': "V2Error", + '200': "V2Store", + '404': "V2Error", '403': "V2Error", } response_data = self.api_client.call_api( @@ -2440,10 +3057,11 @@ def k_v_list_with_http_info( @validate_call - def k_v_list_without_preload_content( + def k_v_show_without_preload_content( self, organization: Annotated[StrictStr, Field(description="Organization identifier")], project: Annotated[StrictStr, Field(description="Project identifier")], + store_id: StrictStr, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2457,13 +3075,15 @@ def k_v_list_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """List key-value stores + """Get a kv store :param organization: Organization identifier (required) :type organization: str :param project: Project identifier (required) :type project: str + :param store_id: (required) + :type store_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2486,9 +3106,10 @@ def k_v_list_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._k_v_list_serialize( + _param = self._k_v_show_serialize( organization=organization, project=project, + store_id=store_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2496,8 +3117,8 @@ def k_v_list_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "List[V2Store]", - '400': "V2Error", + '200': "V2Store", + '404': "V2Error", '403': "V2Error", } response_data = self.api_client.call_api( @@ -2507,10 +3128,11 @@ def k_v_list_without_preload_content( return response_data.response - def _k_v_list_serialize( + def _k_v_show_serialize( self, organization, project, + store_id, _request_auth, _content_type, _headers, @@ -2536,6 +3158,8 @@ def _k_v_list_serialize( _path_params['organization'] = organization if project is not None: _path_params['project'] = project + if store_id is not None: + _path_params['store_id'] = store_id # process the query parameters # process the header parameters # process the form parameters @@ -2558,7 +3182,7 @@ def _k_v_list_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/api/v2/organizations/{organization}/projects/{project}/kv', + resource_path='/api/v2/organizations/{organization}/projects/{project}/kv/{store_id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -2575,11 +3199,11 @@ def _k_v_list_serialize( @validate_call - def k_v_show( + def k_v_unlink_from_project( self, organization: Annotated[StrictStr, Field(description="Organization identifier")], project: Annotated[StrictStr, Field(description="Project identifier")], - store_id: StrictStr, + store_id: Annotated[StrictStr, Field(description="KV store identifier")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2592,15 +3216,16 @@ def k_v_show( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2Store: - """Get a kv store + ) -> KVLinkToProject200Response: + """Unlink a KV store from this project + Remove access to a linked KV store from this project. The store must be linked (not owned by this project). :param organization: Organization identifier (required) :type organization: str :param project: Project identifier (required) :type project: str - :param store_id: (required) + :param store_id: KV store identifier (required) :type store_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -2624,7 +3249,7 @@ def k_v_show( :return: Returns the result object. """ # noqa: E501 - _param = self._k_v_show_serialize( + _param = self._k_v_unlink_from_project_serialize( organization=organization, project=project, store_id=store_id, @@ -2635,8 +3260,8 @@ def k_v_show( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2Store", - '404': "V2Error", + '200': "KVLinkToProject200Response", + '400': "V2Error", '403': "V2Error", } response_data = self.api_client.call_api( @@ -2651,11 +3276,11 @@ def k_v_show( @validate_call - def k_v_show_with_http_info( + def k_v_unlink_from_project_with_http_info( self, organization: Annotated[StrictStr, Field(description="Organization identifier")], project: Annotated[StrictStr, Field(description="Project identifier")], - store_id: StrictStr, + store_id: Annotated[StrictStr, Field(description="KV store identifier")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2668,15 +3293,16 @@ def k_v_show_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2Store]: - """Get a kv store + ) -> ApiResponse[KVLinkToProject200Response]: + """Unlink a KV store from this project + Remove access to a linked KV store from this project. The store must be linked (not owned by this project). :param organization: Organization identifier (required) :type organization: str :param project: Project identifier (required) :type project: str - :param store_id: (required) + :param store_id: KV store identifier (required) :type store_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -2700,7 +3326,7 @@ def k_v_show_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._k_v_show_serialize( + _param = self._k_v_unlink_from_project_serialize( organization=organization, project=project, store_id=store_id, @@ -2711,8 +3337,8 @@ def k_v_show_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2Store", - '404': "V2Error", + '200': "KVLinkToProject200Response", + '400': "V2Error", '403': "V2Error", } response_data = self.api_client.call_api( @@ -2727,11 +3353,11 @@ def k_v_show_with_http_info( @validate_call - def k_v_show_without_preload_content( + def k_v_unlink_from_project_without_preload_content( self, organization: Annotated[StrictStr, Field(description="Organization identifier")], project: Annotated[StrictStr, Field(description="Project identifier")], - store_id: StrictStr, + store_id: Annotated[StrictStr, Field(description="KV store identifier")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2745,14 +3371,15 @@ def k_v_show_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Get a kv store + """Unlink a KV store from this project + Remove access to a linked KV store from this project. The store must be linked (not owned by this project). :param organization: Organization identifier (required) :type organization: str :param project: Project identifier (required) :type project: str - :param store_id: (required) + :param store_id: KV store identifier (required) :type store_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -2776,7 +3403,7 @@ def k_v_show_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._k_v_show_serialize( + _param = self._k_v_unlink_from_project_serialize( organization=organization, project=project, store_id=store_id, @@ -2787,8 +3414,8 @@ def k_v_show_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2Store", - '404': "V2Error", + '200': "KVLinkToProject200Response", + '400': "V2Error", '403': "V2Error", } response_data = self.api_client.call_api( @@ -2798,7 +3425,7 @@ def k_v_show_without_preload_content( return response_data.response - def _k_v_show_serialize( + def _k_v_unlink_from_project_serialize( self, organization, project, @@ -2851,8 +3478,8 @@ def _k_v_show_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/api/v2/organizations/{organization}/projects/{project}/kv/{store_id}', + method='DELETE', + resource_path='/api/v2/organizations/{organization}/projects/{project}/kv/{store_id}/link', path_params=_path_params, query_params=_query_params, header_params=_header_params, diff --git a/quantcdn/api/orchestration_api.py b/quantcdn/api/orchestration_api.py index 9e162a8..e37b63e 100644 --- a/quantcdn/api/orchestration_api.py +++ b/quantcdn/api/orchestration_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -56,9 +56,9 @@ def get_ai_orchestration_status( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> GetAIOrchestrationStatus200Response: - """Get Orchestration Status + """Get Tool Orchestration Status (Async Tool Polling) - Retrieves the status and synthesized result of a multi-tool orchestration. * * **Orchestration Pattern:** * When the AI requests multiple async tools simultaneously, an orchestration is created * to track all tool executions and synthesize their results into a single coherent response. * * **Flow:** * 1. AI requests multiple async tools (e.g., image generation + web search) * 2. Chat API creates orchestration and returns orchestrationId * 3. Tool Orchestrator Lambda polls all async tools * 4. When all tools complete, Orchestrator synthesizes results using AI * 5. Client polls this endpoint and receives final synthesized response * * **Status Values:** * - pending: Orchestration created, tools not yet started * - polling: Orchestrator is actively polling async tools * - synthesizing: All tools complete, AI is synthesizing response * - complete: Orchestration finished, synthesizedResponse available * - failed: Orchestration failed, error available * * **Polling Recommendations:** * - Poll every 2 seconds * - Maximum poll time: 10 minutes * - Orchestrator handles tool polling internally * * **Benefits over individual polling:** * - Single poll endpoint for multiple async tools * - AI synthesizes all results into coherent response * - Answers the original user question, not just tool summaries + Retrieves the status and synthesized result of a multi-tool async execution orchestration. * * **Note:** This endpoint is for async tool execution polling (`/tools/orchestrations`). * For durable batch processing orchestrations, see `GET /orchestrations` endpoints. * * **Orchestration Pattern:** * When the AI requests multiple async tools simultaneously, an orchestration is created * to track all tool executions and synthesize their results into a single coherent response. * * **Flow:** * 1. AI requests multiple async tools (e.g., image generation + web search) * 2. Chat API creates orchestration and returns orchestrationId * 3. Tool Orchestrator Lambda polls all async tools * 4. When all tools complete, Orchestrator synthesizes results using AI * 5. Client polls this endpoint and receives final synthesized response * * **Status Values:** * - pending: Orchestration created, tools not yet started * - polling: Orchestrator is actively polling async tools * - synthesizing: All tools complete, AI is synthesizing response * - complete: Orchestration finished, synthesizedResponse available * - failed: Orchestration failed, error available * * **Polling Recommendations:** * - Poll every 2 seconds * - Maximum poll time: 10 minutes * - Orchestrator handles tool polling internally * * **Benefits over individual polling:** * - Single poll endpoint for multiple async tools * - AI synthesizes all results into coherent response * - Answers the original user question, not just tool summaries :param organisation: The organisation ID (required) :type organisation: str @@ -130,9 +130,9 @@ def get_ai_orchestration_status_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[GetAIOrchestrationStatus200Response]: - """Get Orchestration Status + """Get Tool Orchestration Status (Async Tool Polling) - Retrieves the status and synthesized result of a multi-tool orchestration. * * **Orchestration Pattern:** * When the AI requests multiple async tools simultaneously, an orchestration is created * to track all tool executions and synthesize their results into a single coherent response. * * **Flow:** * 1. AI requests multiple async tools (e.g., image generation + web search) * 2. Chat API creates orchestration and returns orchestrationId * 3. Tool Orchestrator Lambda polls all async tools * 4. When all tools complete, Orchestrator synthesizes results using AI * 5. Client polls this endpoint and receives final synthesized response * * **Status Values:** * - pending: Orchestration created, tools not yet started * - polling: Orchestrator is actively polling async tools * - synthesizing: All tools complete, AI is synthesizing response * - complete: Orchestration finished, synthesizedResponse available * - failed: Orchestration failed, error available * * **Polling Recommendations:** * - Poll every 2 seconds * - Maximum poll time: 10 minutes * - Orchestrator handles tool polling internally * * **Benefits over individual polling:** * - Single poll endpoint for multiple async tools * - AI synthesizes all results into coherent response * - Answers the original user question, not just tool summaries + Retrieves the status and synthesized result of a multi-tool async execution orchestration. * * **Note:** This endpoint is for async tool execution polling (`/tools/orchestrations`). * For durable batch processing orchestrations, see `GET /orchestrations` endpoints. * * **Orchestration Pattern:** * When the AI requests multiple async tools simultaneously, an orchestration is created * to track all tool executions and synthesize their results into a single coherent response. * * **Flow:** * 1. AI requests multiple async tools (e.g., image generation + web search) * 2. Chat API creates orchestration and returns orchestrationId * 3. Tool Orchestrator Lambda polls all async tools * 4. When all tools complete, Orchestrator synthesizes results using AI * 5. Client polls this endpoint and receives final synthesized response * * **Status Values:** * - pending: Orchestration created, tools not yet started * - polling: Orchestrator is actively polling async tools * - synthesizing: All tools complete, AI is synthesizing response * - complete: Orchestration finished, synthesizedResponse available * - failed: Orchestration failed, error available * * **Polling Recommendations:** * - Poll every 2 seconds * - Maximum poll time: 10 minutes * - Orchestrator handles tool polling internally * * **Benefits over individual polling:** * - Single poll endpoint for multiple async tools * - AI synthesizes all results into coherent response * - Answers the original user question, not just tool summaries :param organisation: The organisation ID (required) :type organisation: str @@ -204,9 +204,9 @@ def get_ai_orchestration_status_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Get Orchestration Status + """Get Tool Orchestration Status (Async Tool Polling) - Retrieves the status and synthesized result of a multi-tool orchestration. * * **Orchestration Pattern:** * When the AI requests multiple async tools simultaneously, an orchestration is created * to track all tool executions and synthesize their results into a single coherent response. * * **Flow:** * 1. AI requests multiple async tools (e.g., image generation + web search) * 2. Chat API creates orchestration and returns orchestrationId * 3. Tool Orchestrator Lambda polls all async tools * 4. When all tools complete, Orchestrator synthesizes results using AI * 5. Client polls this endpoint and receives final synthesized response * * **Status Values:** * - pending: Orchestration created, tools not yet started * - polling: Orchestrator is actively polling async tools * - synthesizing: All tools complete, AI is synthesizing response * - complete: Orchestration finished, synthesizedResponse available * - failed: Orchestration failed, error available * * **Polling Recommendations:** * - Poll every 2 seconds * - Maximum poll time: 10 minutes * - Orchestrator handles tool polling internally * * **Benefits over individual polling:** * - Single poll endpoint for multiple async tools * - AI synthesizes all results into coherent response * - Answers the original user question, not just tool summaries + Retrieves the status and synthesized result of a multi-tool async execution orchestration. * * **Note:** This endpoint is for async tool execution polling (`/tools/orchestrations`). * For durable batch processing orchestrations, see `GET /orchestrations` endpoints. * * **Orchestration Pattern:** * When the AI requests multiple async tools simultaneously, an orchestration is created * to track all tool executions and synthesize their results into a single coherent response. * * **Flow:** * 1. AI requests multiple async tools (e.g., image generation + web search) * 2. Chat API creates orchestration and returns orchestrationId * 3. Tool Orchestrator Lambda polls all async tools * 4. When all tools complete, Orchestrator synthesizes results using AI * 5. Client polls this endpoint and receives final synthesized response * * **Status Values:** * - pending: Orchestration created, tools not yet started * - polling: Orchestrator is actively polling async tools * - synthesizing: All tools complete, AI is synthesizing response * - complete: Orchestration finished, synthesizedResponse available * - failed: Orchestration failed, error available * * **Polling Recommendations:** * - Poll every 2 seconds * - Maximum poll time: 10 minutes * - Orchestrator handles tool polling internally * * **Benefits over individual polling:** * - Single poll endpoint for multiple async tools * - AI synthesizes all results into coherent response * - Answers the original user question, not just tool summaries :param organisation: The organisation ID (required) :type organisation: str diff --git a/quantcdn/api/organizations_api.py b/quantcdn/api/organizations_api.py index 7cc8511..4a894f6 100644 --- a/quantcdn/api/organizations_api.py +++ b/quantcdn/api/organizations_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/api/projects_api.py b/quantcdn/api/projects_api.py index ab132e3..8c341c8 100644 --- a/quantcdn/api/projects_api.py +++ b/quantcdn/api/projects_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/api/purge_api.py b/quantcdn/api/purge_api.py index 320c9c3..586c70f 100644 --- a/quantcdn/api/purge_api.py +++ b/quantcdn/api/purge_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/api/rules_api.py b/quantcdn/api/rules_api.py index a481395..743cf09 100644 --- a/quantcdn/api/rules_api.py +++ b/quantcdn/api/rules_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/api/scaling_policy_api.py b/quantcdn/api/scaling_policy_api.py index b0da9cc..e2fbbc0 100644 --- a/quantcdn/api/scaling_policy_api.py +++ b/quantcdn/api/scaling_policy_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/api/ssh_access_api.py b/quantcdn/api/ssh_access_api.py index ceb8c82..c61ef96 100644 --- a/quantcdn/api/ssh_access_api.py +++ b/quantcdn/api/ssh_access_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/api/variables_api.py b/quantcdn/api/variables_api.py index 6056171..1c17350 100644 --- a/quantcdn/api/variables_api.py +++ b/quantcdn/api/variables_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/api/volumes_api.py b/quantcdn/api/volumes_api.py index b45c93d..aa30c41 100644 --- a/quantcdn/api/volumes_api.py +++ b/quantcdn/api/volumes_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/api_client.py b/quantcdn/api_client.py index 13cae24..f050340 100644 --- a/quantcdn/api_client.py +++ b/quantcdn/api_client.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/configuration.py b/quantcdn/configuration.py index 1a2eb5d..3a2d549 100644 --- a/quantcdn/configuration.py +++ b/quantcdn/configuration.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -510,7 +510,7 @@ def to_debug_report(self) -> str: return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 4.9.0\n"\ + "Version of the API: 4.10.0\n"\ "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/quantcdn/exceptions.py b/quantcdn/exceptions.py index 9b78c7c..59ed694 100644 --- a/quantcdn/exceptions.py +++ b/quantcdn/exceptions.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/__init__.py b/quantcdn/models/__init__.py index c4179ae..7976daf 100644 --- a/quantcdn/models/__init__.py +++ b/quantcdn/models/__init__.py @@ -6,7 +6,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -31,6 +31,7 @@ from quantcdn.models.chat_inference200_response_usage import ChatInference200ResponseUsage from quantcdn.models.chat_inference202_response import ChatInference202Response from quantcdn.models.chat_inference_request import ChatInferenceRequest +from quantcdn.models.chat_inference_request_guardrails import ChatInferenceRequestGuardrails from quantcdn.models.chat_inference_request_messages_inner import ChatInferenceRequestMessagesInner from quantcdn.models.chat_inference_request_messages_inner_content import ChatInferenceRequestMessagesInnerContent from quantcdn.models.chat_inference_request_messages_inner_content_one_of_inner import ChatInferenceRequestMessagesInnerContentOneOfInner @@ -88,6 +89,9 @@ from quantcdn.models.create_environment403_response import CreateEnvironment403Response from quantcdn.models.create_environment_request import CreateEnvironmentRequest from quantcdn.models.create_environment_request_environment_inner import CreateEnvironmentRequestEnvironmentInner +from quantcdn.models.create_orchestration_request import CreateOrchestrationRequest +from quantcdn.models.create_orchestration_request_input_source import CreateOrchestrationRequestInputSource +from quantcdn.models.create_orchestration_request_stop_condition import CreateOrchestrationRequestStopCondition from quantcdn.models.create_task201_response import CreateTask201Response from quantcdn.models.create_task_request import CreateTaskRequest from quantcdn.models.create_vector_collection201_response import CreateVectorCollection201Response @@ -104,6 +108,9 @@ from quantcdn.models.delete_task200_response import DeleteTask200Response from quantcdn.models.delete_task409_response import DeleteTask409Response from quantcdn.models.delete_vector_collection200_response import DeleteVectorCollection200Response +from quantcdn.models.delete_vector_documents200_response import DeleteVectorDocuments200Response +from quantcdn.models.delete_vector_documents_request import DeleteVectorDocumentsRequest +from quantcdn.models.delete_vector_documents_request_metadata import DeleteVectorDocumentsRequestMetadata from quantcdn.models.download_backup200_response import DownloadBackup200Response from quantcdn.models.embeddings200_response import Embeddings200Response from quantcdn.models.embeddings200_response_embeddings import Embeddings200ResponseEmbeddings @@ -159,6 +166,8 @@ from quantcdn.models.kv_items_delete200_response import KVItemsDelete200Response from quantcdn.models.kv_items_show200_response import KVItemsShow200Response from quantcdn.models.kv_items_show200_response_value import KVItemsShow200ResponseValue +from quantcdn.models.kv_link_to_project200_response import KVLinkToProject200Response +from quantcdn.models.kv_link_to_project_request import KVLinkToProjectRequest from quantcdn.models.list_ai_agents200_response import ListAIAgents200Response from quantcdn.models.list_ai_agents200_response_agents_inner import ListAIAgents200ResponseAgentsInner from quantcdn.models.list_ai_models200_response import ListAIModels200Response @@ -179,6 +188,9 @@ from quantcdn.models.list_custom_tools200_response_tools_inner import ListCustomTools200ResponseToolsInner from quantcdn.models.list_files200_response import ListFiles200Response from quantcdn.models.list_files200_response_files_inner import ListFiles200ResponseFilesInner +from quantcdn.models.list_orchestration_batches200_response import ListOrchestrationBatches200Response +from quantcdn.models.list_orchestration_batches200_response_batches_inner import ListOrchestrationBatches200ResponseBatchesInner +from quantcdn.models.list_orchestrations200_response import ListOrchestrations200Response from quantcdn.models.list_tasks200_response import ListTasks200Response from quantcdn.models.list_tasks200_response_tasks_inner import ListTasks200ResponseTasksInner from quantcdn.models.list_vector_collections200_response import ListVectorCollections200Response @@ -274,6 +286,11 @@ from quantcdn.models.v2_domain_dns_validation_records_inner import V2DomainDnsValidationRecordsInner from quantcdn.models.v2_domain_request import V2DomainRequest from quantcdn.models.v2_error import V2Error +from quantcdn.models.v2_metric_data import V2MetricData +from quantcdn.models.v2_metric_data_point import V2MetricDataPoint +from quantcdn.models.v2_metric_data_point_timestamp import V2MetricDataPointTimestamp +from quantcdn.models.v2_metrics_meta import V2MetricsMeta +from quantcdn.models.v2_metrics_response import V2MetricsResponse from quantcdn.models.v2_organization import V2Organization from quantcdn.models.v2_organization_request import V2OrganizationRequest from quantcdn.models.v2_project import V2Project diff --git a/quantcdn/models/application.py b/quantcdn/models/application.py index ddb9fc6..e1a6eb0 100644 --- a/quantcdn/models/application.py +++ b/quantcdn/models/application.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/application_database.py b/quantcdn/models/application_database.py index 00db186..4292fc8 100644 --- a/quantcdn/models/application_database.py +++ b/quantcdn/models/application_database.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/application_deployment_information_inner.py b/quantcdn/models/application_deployment_information_inner.py index cc2b196..1aaf7f3 100644 --- a/quantcdn/models/application_deployment_information_inner.py +++ b/quantcdn/models/application_deployment_information_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/application_environments_inner.py b/quantcdn/models/application_environments_inner.py index 62187a3..d771be1 100644 --- a/quantcdn/models/application_environments_inner.py +++ b/quantcdn/models/application_environments_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/application_filesystem.py b/quantcdn/models/application_filesystem.py index 12e386b..24a7f85 100644 --- a/quantcdn/models/application_filesystem.py +++ b/quantcdn/models/application_filesystem.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/application_image_reference.py b/quantcdn/models/application_image_reference.py index 876a9a2..c73ae53 100644 --- a/quantcdn/models/application_image_reference.py +++ b/quantcdn/models/application_image_reference.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/bulk_set_environment_variables_request.py b/quantcdn/models/bulk_set_environment_variables_request.py index 6475570..d467a81 100644 --- a/quantcdn/models/bulk_set_environment_variables_request.py +++ b/quantcdn/models/bulk_set_environment_variables_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/bulk_set_environment_variables_request_environment_inner.py b/quantcdn/models/bulk_set_environment_variables_request_environment_inner.py index 8e5dd36..e155860 100644 --- a/quantcdn/models/bulk_set_environment_variables_request_environment_inner.py +++ b/quantcdn/models/bulk_set_environment_variables_request_environment_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/chat_inference200_response.py b/quantcdn/models/chat_inference200_response.py index 1560e91..59a1bf7 100644 --- a/quantcdn/models/chat_inference200_response.py +++ b/quantcdn/models/chat_inference200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/chat_inference200_response_response.py b/quantcdn/models/chat_inference200_response_response.py index 8a0170a..a290626 100644 --- a/quantcdn/models/chat_inference200_response_response.py +++ b/quantcdn/models/chat_inference200_response_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/chat_inference200_response_response_tool_use.py b/quantcdn/models/chat_inference200_response_response_tool_use.py index 1af39dc..f3945eb 100644 --- a/quantcdn/models/chat_inference200_response_response_tool_use.py +++ b/quantcdn/models/chat_inference200_response_response_tool_use.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/chat_inference200_response_response_tool_use_one_of.py b/quantcdn/models/chat_inference200_response_response_tool_use_one_of.py index bc7d1a6..bdcd7b6 100644 --- a/quantcdn/models/chat_inference200_response_response_tool_use_one_of.py +++ b/quantcdn/models/chat_inference200_response_response_tool_use_one_of.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/chat_inference200_response_response_tool_use_one_of1_inner.py b/quantcdn/models/chat_inference200_response_response_tool_use_one_of1_inner.py index c8b6d39..d69a2d9 100644 --- a/quantcdn/models/chat_inference200_response_response_tool_use_one_of1_inner.py +++ b/quantcdn/models/chat_inference200_response_response_tool_use_one_of1_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/chat_inference200_response_response_tool_use_one_of_result.py b/quantcdn/models/chat_inference200_response_response_tool_use_one_of_result.py index 3b765a0..4b6b99f 100644 --- a/quantcdn/models/chat_inference200_response_response_tool_use_one_of_result.py +++ b/quantcdn/models/chat_inference200_response_response_tool_use_one_of_result.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/chat_inference200_response_usage.py b/quantcdn/models/chat_inference200_response_usage.py index bd22513..245f510 100644 --- a/quantcdn/models/chat_inference200_response_usage.py +++ b/quantcdn/models/chat_inference200_response_usage.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/chat_inference202_response.py b/quantcdn/models/chat_inference202_response.py index 461b23a..abe50c1 100644 --- a/quantcdn/models/chat_inference202_response.py +++ b/quantcdn/models/chat_inference202_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/chat_inference_request.py b/quantcdn/models/chat_inference_request.py index a59e633..b4d45ef 100644 --- a/quantcdn/models/chat_inference_request.py +++ b/quantcdn/models/chat_inference_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -20,6 +20,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr from typing import Any, ClassVar, Dict, List, Optional, Union from typing_extensions import Annotated +from quantcdn.models.chat_inference_request_guardrails import ChatInferenceRequestGuardrails from quantcdn.models.chat_inference_request_messages_inner import ChatInferenceRequestMessagesInner from quantcdn.models.chat_inference_request_response_format import ChatInferenceRequestResponseFormat from quantcdn.models.chat_inference_request_tool_config import ChatInferenceRequestToolConfig @@ -42,7 +43,9 @@ class ChatInferenceRequest(BaseModel): tool_config: Optional[ChatInferenceRequestToolConfig] = Field(default=None, alias="toolConfig") session_id: Optional[StrictStr] = Field(default=None, description="Optional session ID for conversation continuity. Omit to use stateless mode, include to continue an existing session.", alias="sessionId") var_async: Optional[StrictBool] = Field(default=False, description="Enable async/durable execution mode. When true, returns 202 with pollUrl instead of waiting for completion. Use for long-running inference, client-executed tools, or operations >30 seconds.", alias="async") - __properties: ClassVar[List[str]] = ["messages", "modelId", "temperature", "maxTokens", "topP", "stream", "systemPrompt", "stopSequences", "responseFormat", "toolConfig", "sessionId", "async"] + allowed_tools: Optional[List[StrictStr]] = Field(default=None, description="Top-level convenience alias for toolConfig.allowedTools. Whitelists which tools can be auto-executed.", alias="allowedTools") + guardrails: Optional[ChatInferenceRequestGuardrails] = None + __properties: ClassVar[List[str]] = ["messages", "modelId", "temperature", "maxTokens", "topP", "stream", "systemPrompt", "stopSequences", "responseFormat", "toolConfig", "sessionId", "async", "allowedTools", "guardrails"] model_config = ConfigDict( populate_by_name=True, @@ -96,6 +99,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of tool_config if self.tool_config: _dict['toolConfig'] = self.tool_config.to_dict() + # override the default output from pydantic by calling `to_dict()` of guardrails + if self.guardrails: + _dict['guardrails'] = self.guardrails.to_dict() return _dict @classmethod @@ -119,7 +125,9 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "responseFormat": ChatInferenceRequestResponseFormat.from_dict(obj["responseFormat"]) if obj.get("responseFormat") is not None else None, "toolConfig": ChatInferenceRequestToolConfig.from_dict(obj["toolConfig"]) if obj.get("toolConfig") is not None else None, "sessionId": obj.get("sessionId"), - "async": obj.get("async") if obj.get("async") is not None else False + "async": obj.get("async") if obj.get("async") is not None else False, + "allowedTools": obj.get("allowedTools"), + "guardrails": ChatInferenceRequestGuardrails.from_dict(obj["guardrails"]) if obj.get("guardrails") is not None else None }) return _obj diff --git a/quantcdn/models/chat_inference_request_guardrails.py b/quantcdn/models/chat_inference_request_guardrails.py new file mode 100644 index 0000000..d8a5188 --- /dev/null +++ b/quantcdn/models/chat_inference_request_guardrails.py @@ -0,0 +1,101 @@ +# coding: utf-8 + +""" + QuantCDN API + + Unified API for QuantCDN Admin and QuantCloud Platform services + + The version of the OpenAPI document: 4.10.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ChatInferenceRequestGuardrails(BaseModel): + """ + AWS Bedrock guardrails configuration for content filtering and safety. + """ # noqa: E501 + guardrail_identifier: Optional[StrictStr] = Field(default=None, description="Guardrail identifier from AWS Bedrock", alias="guardrailIdentifier") + guardrail_version: Optional[StrictStr] = Field(default=None, description="Guardrail version", alias="guardrailVersion") + trace: Optional[StrictStr] = Field(default=None, description="Enable guardrail trace output") + __properties: ClassVar[List[str]] = ["guardrailIdentifier", "guardrailVersion", "trace"] + + @field_validator('trace') + def trace_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['enabled', 'disabled']): + raise ValueError("must be one of enum values ('enabled', 'disabled')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ChatInferenceRequestGuardrails from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ChatInferenceRequestGuardrails from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "guardrailIdentifier": obj.get("guardrailIdentifier"), + "guardrailVersion": obj.get("guardrailVersion"), + "trace": obj.get("trace") + }) + return _obj + + diff --git a/quantcdn/models/chat_inference_request_messages_inner.py b/quantcdn/models/chat_inference_request_messages_inner.py index 816d56f..f72ea53 100644 --- a/quantcdn/models/chat_inference_request_messages_inner.py +++ b/quantcdn/models/chat_inference_request_messages_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/chat_inference_request_messages_inner_content.py b/quantcdn/models/chat_inference_request_messages_inner_content.py index 64967f1..5a3ca32 100644 --- a/quantcdn/models/chat_inference_request_messages_inner_content.py +++ b/quantcdn/models/chat_inference_request_messages_inner_content.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/chat_inference_request_messages_inner_content_one_of_inner.py b/quantcdn/models/chat_inference_request_messages_inner_content_one_of_inner.py index 0b57d3c..a6e8d70 100644 --- a/quantcdn/models/chat_inference_request_messages_inner_content_one_of_inner.py +++ b/quantcdn/models/chat_inference_request_messages_inner_content_one_of_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/chat_inference_request_messages_inner_content_one_of_inner_one_of.py b/quantcdn/models/chat_inference_request_messages_inner_content_one_of_inner_one_of.py index 992a46e..670ec1c 100644 --- a/quantcdn/models/chat_inference_request_messages_inner_content_one_of_inner_one_of.py +++ b/quantcdn/models/chat_inference_request_messages_inner_content_one_of_inner_one_of.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/chat_inference_request_messages_inner_content_one_of_inner_one_of1.py b/quantcdn/models/chat_inference_request_messages_inner_content_one_of_inner_one_of1.py index 0277155..97fcf97 100644 --- a/quantcdn/models/chat_inference_request_messages_inner_content_one_of_inner_one_of1.py +++ b/quantcdn/models/chat_inference_request_messages_inner_content_one_of_inner_one_of1.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/chat_inference_request_messages_inner_content_one_of_inner_one_of1_image.py b/quantcdn/models/chat_inference_request_messages_inner_content_one_of_inner_one_of1_image.py index 6b092d8..6390cb7 100644 --- a/quantcdn/models/chat_inference_request_messages_inner_content_one_of_inner_one_of1_image.py +++ b/quantcdn/models/chat_inference_request_messages_inner_content_one_of_inner_one_of1_image.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/chat_inference_request_messages_inner_content_one_of_inner_one_of1_image_source.py b/quantcdn/models/chat_inference_request_messages_inner_content_one_of_inner_one_of1_image_source.py index 585aee0..7740279 100644 --- a/quantcdn/models/chat_inference_request_messages_inner_content_one_of_inner_one_of1_image_source.py +++ b/quantcdn/models/chat_inference_request_messages_inner_content_one_of_inner_one_of1_image_source.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/chat_inference_request_messages_inner_content_one_of_inner_one_of2.py b/quantcdn/models/chat_inference_request_messages_inner_content_one_of_inner_one_of2.py index d566005..acbbc86 100644 --- a/quantcdn/models/chat_inference_request_messages_inner_content_one_of_inner_one_of2.py +++ b/quantcdn/models/chat_inference_request_messages_inner_content_one_of_inner_one_of2.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/chat_inference_request_messages_inner_content_one_of_inner_one_of2_video.py b/quantcdn/models/chat_inference_request_messages_inner_content_one_of_inner_one_of2_video.py index 51475b3..adf91a1 100644 --- a/quantcdn/models/chat_inference_request_messages_inner_content_one_of_inner_one_of2_video.py +++ b/quantcdn/models/chat_inference_request_messages_inner_content_one_of_inner_one_of2_video.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/chat_inference_request_messages_inner_content_one_of_inner_one_of2_video_source.py b/quantcdn/models/chat_inference_request_messages_inner_content_one_of_inner_one_of2_video_source.py index 32454fb..defdd0b 100644 --- a/quantcdn/models/chat_inference_request_messages_inner_content_one_of_inner_one_of2_video_source.py +++ b/quantcdn/models/chat_inference_request_messages_inner_content_one_of_inner_one_of2_video_source.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/chat_inference_request_messages_inner_content_one_of_inner_one_of3.py b/quantcdn/models/chat_inference_request_messages_inner_content_one_of_inner_one_of3.py index b9ef762..3f6d9a5 100644 --- a/quantcdn/models/chat_inference_request_messages_inner_content_one_of_inner_one_of3.py +++ b/quantcdn/models/chat_inference_request_messages_inner_content_one_of_inner_one_of3.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/chat_inference_request_messages_inner_content_one_of_inner_one_of3_document.py b/quantcdn/models/chat_inference_request_messages_inner_content_one_of_inner_one_of3_document.py index 740e44f..19e466f 100644 --- a/quantcdn/models/chat_inference_request_messages_inner_content_one_of_inner_one_of3_document.py +++ b/quantcdn/models/chat_inference_request_messages_inner_content_one_of_inner_one_of3_document.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/chat_inference_request_messages_inner_content_one_of_inner_one_of3_document_source.py b/quantcdn/models/chat_inference_request_messages_inner_content_one_of_inner_one_of3_document_source.py index c4af379..7705116 100644 --- a/quantcdn/models/chat_inference_request_messages_inner_content_one_of_inner_one_of3_document_source.py +++ b/quantcdn/models/chat_inference_request_messages_inner_content_one_of_inner_one_of3_document_source.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/chat_inference_request_response_format.py b/quantcdn/models/chat_inference_request_response_format.py index b4bdcb8..9edf8fb 100644 --- a/quantcdn/models/chat_inference_request_response_format.py +++ b/quantcdn/models/chat_inference_request_response_format.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/chat_inference_request_tool_config.py b/quantcdn/models/chat_inference_request_tool_config.py index f661c28..ba92229 100644 --- a/quantcdn/models/chat_inference_request_tool_config.py +++ b/quantcdn/models/chat_inference_request_tool_config.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/chat_inference_request_tool_config_tools_inner.py b/quantcdn/models/chat_inference_request_tool_config_tools_inner.py index bbec911..ca0329c 100644 --- a/quantcdn/models/chat_inference_request_tool_config_tools_inner.py +++ b/quantcdn/models/chat_inference_request_tool_config_tools_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/chat_inference_request_tool_config_tools_inner_tool_spec.py b/quantcdn/models/chat_inference_request_tool_config_tools_inner_tool_spec.py index b9c0b47..5edb401 100644 --- a/quantcdn/models/chat_inference_request_tool_config_tools_inner_tool_spec.py +++ b/quantcdn/models/chat_inference_request_tool_config_tools_inner_tool_spec.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/chat_inference_request_tool_config_tools_inner_tool_spec_input_schema.py b/quantcdn/models/chat_inference_request_tool_config_tools_inner_tool_spec_input_schema.py index d94ef85..c2e0124 100644 --- a/quantcdn/models/chat_inference_request_tool_config_tools_inner_tool_spec_input_schema.py +++ b/quantcdn/models/chat_inference_request_tool_config_tools_inner_tool_spec_input_schema.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/chat_inference_stream_request.py b/quantcdn/models/chat_inference_stream_request.py index aed07cd..912341f 100644 --- a/quantcdn/models/chat_inference_stream_request.py +++ b/quantcdn/models/chat_inference_stream_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -20,6 +20,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr from typing import Any, ClassVar, Dict, List, Optional, Union from typing_extensions import Annotated +from quantcdn.models.chat_inference_request_guardrails import ChatInferenceRequestGuardrails from quantcdn.models.chat_inference_request_response_format import ChatInferenceRequestResponseFormat from quantcdn.models.chat_inference_request_tool_config import ChatInferenceRequestToolConfig from quantcdn.models.chat_inference_stream_request_messages_inner import ChatInferenceStreamRequestMessagesInner @@ -41,7 +42,9 @@ class ChatInferenceStreamRequest(BaseModel): tool_config: Optional[ChatInferenceRequestToolConfig] = Field(default=None, alias="toolConfig") session_id: Optional[StrictStr] = Field(default=None, description="Optional session ID for conversation continuity. Omit to use stateless mode, include to continue an existing session.", alias="sessionId") var_async: Optional[StrictBool] = Field(default=False, description="Enable async/durable execution mode. When true, returns 202 with pollUrl instead of streaming. Use for long-running inference, client-executed tools, or operations >30 seconds.", alias="async") - __properties: ClassVar[List[str]] = ["messages", "modelId", "temperature", "maxTokens", "topP", "systemPrompt", "stopSequences", "responseFormat", "toolConfig", "sessionId", "async"] + allowed_tools: Optional[List[StrictStr]] = Field(default=None, description="Top-level convenience alias for toolConfig.allowedTools. Whitelists which tools can be auto-executed.", alias="allowedTools") + guardrails: Optional[ChatInferenceRequestGuardrails] = None + __properties: ClassVar[List[str]] = ["messages", "modelId", "temperature", "maxTokens", "topP", "systemPrompt", "stopSequences", "responseFormat", "toolConfig", "sessionId", "async", "allowedTools", "guardrails"] model_config = ConfigDict( populate_by_name=True, @@ -95,6 +98,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of tool_config if self.tool_config: _dict['toolConfig'] = self.tool_config.to_dict() + # override the default output from pydantic by calling `to_dict()` of guardrails + if self.guardrails: + _dict['guardrails'] = self.guardrails.to_dict() return _dict @classmethod @@ -117,7 +123,9 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "responseFormat": ChatInferenceRequestResponseFormat.from_dict(obj["responseFormat"]) if obj.get("responseFormat") is not None else None, "toolConfig": ChatInferenceRequestToolConfig.from_dict(obj["toolConfig"]) if obj.get("toolConfig") is not None else None, "sessionId": obj.get("sessionId"), - "async": obj.get("async") if obj.get("async") is not None else False + "async": obj.get("async") if obj.get("async") is not None else False, + "allowedTools": obj.get("allowedTools"), + "guardrails": ChatInferenceRequestGuardrails.from_dict(obj["guardrails"]) if obj.get("guardrails") is not None else None }) return _obj diff --git a/quantcdn/models/chat_inference_stream_request_messages_inner.py b/quantcdn/models/chat_inference_stream_request_messages_inner.py index 0a24001..62c7683 100644 --- a/quantcdn/models/chat_inference_stream_request_messages_inner.py +++ b/quantcdn/models/chat_inference_stream_request_messages_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/chat_inference_stream_request_messages_inner_content.py b/quantcdn/models/chat_inference_stream_request_messages_inner_content.py index 018faed..f134001 100644 --- a/quantcdn/models/chat_inference_stream_request_messages_inner_content.py +++ b/quantcdn/models/chat_inference_stream_request_messages_inner_content.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/chat_with_ai_agent200_response.py b/quantcdn/models/chat_with_ai_agent200_response.py index c1245cb..e3ee580 100644 --- a/quantcdn/models/chat_with_ai_agent200_response.py +++ b/quantcdn/models/chat_with_ai_agent200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/chat_with_ai_agent200_response_response.py b/quantcdn/models/chat_with_ai_agent200_response_response.py index 701946f..e410771 100644 --- a/quantcdn/models/chat_with_ai_agent200_response_response.py +++ b/quantcdn/models/chat_with_ai_agent200_response_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/chat_with_ai_agent200_response_response_usage.py b/quantcdn/models/chat_with_ai_agent200_response_response_usage.py index 1cbef57..f006acc 100644 --- a/quantcdn/models/chat_with_ai_agent200_response_response_usage.py +++ b/quantcdn/models/chat_with_ai_agent200_response_response_usage.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/chat_with_ai_agent202_response.py b/quantcdn/models/chat_with_ai_agent202_response.py index e5430ac..a79eeb9 100644 --- a/quantcdn/models/chat_with_ai_agent202_response.py +++ b/quantcdn/models/chat_with_ai_agent202_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/chat_with_ai_agent_request.py b/quantcdn/models/chat_with_ai_agent_request.py index 51a7e71..683271d 100644 --- a/quantcdn/models/chat_with_ai_agent_request.py +++ b/quantcdn/models/chat_with_ai_agent_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/command.py b/quantcdn/models/command.py index e64c646..53d63bb 100644 --- a/quantcdn/models/command.py +++ b/quantcdn/models/command.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/compose.py b/quantcdn/models/compose.py index e763c07..cf51bdf 100644 --- a/quantcdn/models/compose.py +++ b/quantcdn/models/compose.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/container.py b/quantcdn/models/container.py index 858504a..68ea332 100644 --- a/quantcdn/models/container.py +++ b/quantcdn/models/container.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/container_depends_on_inner.py b/quantcdn/models/container_depends_on_inner.py index afa2bf4..0ac142e 100644 --- a/quantcdn/models/container_depends_on_inner.py +++ b/quantcdn/models/container_depends_on_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/container_environment_inner.py b/quantcdn/models/container_environment_inner.py index f21d4bf..b88d8fa 100644 --- a/quantcdn/models/container_environment_inner.py +++ b/quantcdn/models/container_environment_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/container_health_check.py b/quantcdn/models/container_health_check.py index 64ba8ca..b261277 100644 --- a/quantcdn/models/container_health_check.py +++ b/quantcdn/models/container_health_check.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/container_image_reference.py b/quantcdn/models/container_image_reference.py index d947034..e5658cd 100644 --- a/quantcdn/models/container_image_reference.py +++ b/quantcdn/models/container_image_reference.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/container_mount_points_inner.py b/quantcdn/models/container_mount_points_inner.py index f7786c8..8a8a8f0 100644 --- a/quantcdn/models/container_mount_points_inner.py +++ b/quantcdn/models/container_mount_points_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/container_origin_protection_config.py b/quantcdn/models/container_origin_protection_config.py index c48b9f1..f19ef08 100644 --- a/quantcdn/models/container_origin_protection_config.py +++ b/quantcdn/models/container_origin_protection_config.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/container_secrets_inner.py b/quantcdn/models/container_secrets_inner.py index a6e74d2..0659665 100644 --- a/quantcdn/models/container_secrets_inner.py +++ b/quantcdn/models/container_secrets_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/crawlers_run200_response.py b/quantcdn/models/crawlers_run200_response.py index 1e5b6ce..ba37d83 100644 --- a/quantcdn/models/crawlers_run200_response.py +++ b/quantcdn/models/crawlers_run200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/crawlers_run_request.py b/quantcdn/models/crawlers_run_request.py index fa8d797..579b271 100644 --- a/quantcdn/models/crawlers_run_request.py +++ b/quantcdn/models/crawlers_run_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/create_ai_agent201_response.py b/quantcdn/models/create_ai_agent201_response.py index bdccd8d..8039c1f 100644 --- a/quantcdn/models/create_ai_agent201_response.py +++ b/quantcdn/models/create_ai_agent201_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/create_ai_agent_request.py b/quantcdn/models/create_ai_agent_request.py index 192558e..5208530 100644 --- a/quantcdn/models/create_ai_agent_request.py +++ b/quantcdn/models/create_ai_agent_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/create_ai_session201_response.py b/quantcdn/models/create_ai_session201_response.py index ad0abb9..2c2df88 100644 --- a/quantcdn/models/create_ai_session201_response.py +++ b/quantcdn/models/create_ai_session201_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/create_ai_session_request.py b/quantcdn/models/create_ai_session_request.py index af7f9df..4391e2a 100644 --- a/quantcdn/models/create_ai_session_request.py +++ b/quantcdn/models/create_ai_session_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/create_ai_session_request_initial_messages_inner.py b/quantcdn/models/create_ai_session_request_initial_messages_inner.py index 67ad738..9db6c32 100644 --- a/quantcdn/models/create_ai_session_request_initial_messages_inner.py +++ b/quantcdn/models/create_ai_session_request_initial_messages_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/create_application403_response.py b/quantcdn/models/create_application403_response.py index 1c0f2c8..33d4245 100644 --- a/quantcdn/models/create_application403_response.py +++ b/quantcdn/models/create_application403_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/create_application_request.py b/quantcdn/models/create_application_request.py index e872b53..2c231ee 100644 --- a/quantcdn/models/create_application_request.py +++ b/quantcdn/models/create_application_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/create_application_request_database.py b/quantcdn/models/create_application_request_database.py index 56b6f8e..a7134ec 100644 --- a/quantcdn/models/create_application_request_database.py +++ b/quantcdn/models/create_application_request_database.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/create_application_request_environment_inner.py b/quantcdn/models/create_application_request_environment_inner.py index d22bce6..24c1200 100644 --- a/quantcdn/models/create_application_request_environment_inner.py +++ b/quantcdn/models/create_application_request_environment_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/create_application_request_filesystem.py b/quantcdn/models/create_application_request_filesystem.py index a21c634..da4ea61 100644 --- a/quantcdn/models/create_application_request_filesystem.py +++ b/quantcdn/models/create_application_request_filesystem.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/create_backup202_response.py b/quantcdn/models/create_backup202_response.py index e41e884..02ba96a 100644 --- a/quantcdn/models/create_backup202_response.py +++ b/quantcdn/models/create_backup202_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/create_backup_request.py b/quantcdn/models/create_backup_request.py index 30269cb..7739b61 100644 --- a/quantcdn/models/create_backup_request.py +++ b/quantcdn/models/create_backup_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/create_command_request.py b/quantcdn/models/create_command_request.py index 32a4b9d..8692fa3 100644 --- a/quantcdn/models/create_command_request.py +++ b/quantcdn/models/create_command_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/create_cron_job_request.py b/quantcdn/models/create_cron_job_request.py index 7ad1bec..c02f4e3 100644 --- a/quantcdn/models/create_cron_job_request.py +++ b/quantcdn/models/create_cron_job_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/create_custom_tool201_response.py b/quantcdn/models/create_custom_tool201_response.py index b9457bc..37c8df7 100644 --- a/quantcdn/models/create_custom_tool201_response.py +++ b/quantcdn/models/create_custom_tool201_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/create_custom_tool_request.py b/quantcdn/models/create_custom_tool_request.py index 276ea8b..023c244 100644 --- a/quantcdn/models/create_custom_tool_request.py +++ b/quantcdn/models/create_custom_tool_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/create_environment403_response.py b/quantcdn/models/create_environment403_response.py index 9f0884f..68087d2 100644 --- a/quantcdn/models/create_environment403_response.py +++ b/quantcdn/models/create_environment403_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/create_environment_request.py b/quantcdn/models/create_environment_request.py index e7bce86..161773f 100644 --- a/quantcdn/models/create_environment_request.py +++ b/quantcdn/models/create_environment_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/create_environment_request_environment_inner.py b/quantcdn/models/create_environment_request_environment_inner.py index 5e2553b..9b90b22 100644 --- a/quantcdn/models/create_environment_request_environment_inner.py +++ b/quantcdn/models/create_environment_request_environment_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/create_orchestration_request.py b/quantcdn/models/create_orchestration_request.py new file mode 100644 index 0000000..22be2c6 --- /dev/null +++ b/quantcdn/models/create_orchestration_request.py @@ -0,0 +1,136 @@ +# coding: utf-8 + +""" + QuantCDN API + + Unified API for QuantCDN Admin and QuantCloud Platform services + + The version of the OpenAPI document: 4.10.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from quantcdn.models.create_orchestration_request_input_source import CreateOrchestrationRequestInputSource +from quantcdn.models.create_orchestration_request_stop_condition import CreateOrchestrationRequestStopCondition +from typing import Optional, Set +from typing_extensions import Self + +class CreateOrchestrationRequest(BaseModel): + """ + CreateOrchestrationRequest + """ # noqa: E501 + name: StrictStr = Field(description="Orchestration name") + description: Optional[StrictStr] = Field(default=None, description="Optional description") + agent_id: Optional[StrictStr] = Field(default=None, description="Agent to process items", alias="agentId") + tool_id: Optional[StrictStr] = Field(default=None, description="Tool to execute for items", alias="toolId") + workflow_id: Optional[StrictStr] = Field(default=None, description="Workflow to run for items", alias="workflowId") + input_source: CreateOrchestrationRequestInputSource = Field(alias="inputSource") + batch_size: Optional[Annotated[int, Field(le=100, strict=True, ge=1)]] = Field(default=10, description="Items per batch", alias="batchSize") + concurrency: Optional[Annotated[int, Field(le=10, strict=True, ge=1)]] = Field(default=1, description="Concurrent items within a batch") + stop_condition: Optional[CreateOrchestrationRequestStopCondition] = Field(default=None, alias="stopCondition") + assigned_skills: Optional[List[StrictStr]] = Field(default=None, description="Skill IDs to assign", alias="assignedSkills") + auto_start: Optional[StrictBool] = Field(default=True, description="Whether to start immediately", alias="autoStart") + __properties: ClassVar[List[str]] = ["name", "description", "agentId", "toolId", "workflowId", "inputSource", "batchSize", "concurrency", "stopCondition", "assignedSkills", "autoStart"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CreateOrchestrationRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of input_source + if self.input_source: + _dict['inputSource'] = self.input_source.to_dict() + # override the default output from pydantic by calling `to_dict()` of stop_condition + if self.stop_condition: + _dict['stopCondition'] = self.stop_condition.to_dict() + # set to None if description (nullable) is None + # and model_fields_set contains the field + if self.description is None and "description" in self.model_fields_set: + _dict['description'] = None + + # set to None if agent_id (nullable) is None + # and model_fields_set contains the field + if self.agent_id is None and "agent_id" in self.model_fields_set: + _dict['agentId'] = None + + # set to None if tool_id (nullable) is None + # and model_fields_set contains the field + if self.tool_id is None and "tool_id" in self.model_fields_set: + _dict['toolId'] = None + + # set to None if workflow_id (nullable) is None + # and model_fields_set contains the field + if self.workflow_id is None and "workflow_id" in self.model_fields_set: + _dict['workflowId'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CreateOrchestrationRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "name": obj.get("name"), + "description": obj.get("description"), + "agentId": obj.get("agentId"), + "toolId": obj.get("toolId"), + "workflowId": obj.get("workflowId"), + "inputSource": CreateOrchestrationRequestInputSource.from_dict(obj["inputSource"]) if obj.get("inputSource") is not None else None, + "batchSize": obj.get("batchSize") if obj.get("batchSize") is not None else 10, + "concurrency": obj.get("concurrency") if obj.get("concurrency") is not None else 1, + "stopCondition": CreateOrchestrationRequestStopCondition.from_dict(obj["stopCondition"]) if obj.get("stopCondition") is not None else None, + "assignedSkills": obj.get("assignedSkills"), + "autoStart": obj.get("autoStart") if obj.get("autoStart") is not None else True + }) + return _obj + + diff --git a/quantcdn/models/create_orchestration_request_input_source.py b/quantcdn/models/create_orchestration_request_input_source.py new file mode 100644 index 0000000..460125a --- /dev/null +++ b/quantcdn/models/create_orchestration_request_input_source.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + QuantCDN API + + Unified API for QuantCDN Admin and QuantCloud Platform services + + The version of the OpenAPI document: 4.10.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class CreateOrchestrationRequestInputSource(BaseModel): + """ + CreateOrchestrationRequestInputSource + """ # noqa: E501 + type: StrictStr = Field(description="Input source type (api type not yet supported)") + items: Optional[List[Dict[str, Any]]] = Field(default=None, description="Static items (for type=static)") + task_query: Optional[Dict[str, Any]] = Field(default=None, description="Task query filters (for type=task_query)", alias="taskQuery") + generator_prompt: Optional[StrictStr] = Field(default=None, description="AI prompt (for type=generator)", alias="generatorPrompt") + __properties: ClassVar[List[str]] = ["type", "items", "taskQuery", "generatorPrompt"] + + @field_validator('type') + def type_validate_enum(cls, value): + """Validates the enum""" + if value not in set(['static', 'task_query', 'generator']): + raise ValueError("must be one of enum values ('static', 'task_query', 'generator')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CreateOrchestrationRequestInputSource from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CreateOrchestrationRequestInputSource from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "type": obj.get("type"), + "items": obj.get("items"), + "taskQuery": obj.get("taskQuery"), + "generatorPrompt": obj.get("generatorPrompt") + }) + return _obj + + diff --git a/quantcdn/models/create_orchestration_request_stop_condition.py b/quantcdn/models/create_orchestration_request_stop_condition.py new file mode 100644 index 0000000..6a1dba4 --- /dev/null +++ b/quantcdn/models/create_orchestration_request_stop_condition.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + QuantCDN API + + Unified API for QuantCDN Admin and QuantCloud Platform services + + The version of the OpenAPI document: 4.10.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class CreateOrchestrationRequestStopCondition(BaseModel): + """ + CreateOrchestrationRequestStopCondition + """ # noqa: E501 + type: Optional[StrictStr] = 'all_complete' + max_iterations: Optional[Annotated[int, Field(strict=True, ge=1)]] = Field(default=None, description="Max iterations (for type=max_iterations)", alias="maxIterations") + condition_prompt: Optional[StrictStr] = Field(default=None, description="AI prompt to evaluate stop (for type=condition)", alias="conditionPrompt") + __properties: ClassVar[List[str]] = ["type", "maxIterations", "conditionPrompt"] + + @field_validator('type') + def type_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['all_complete', 'max_iterations', 'condition', 'manual']): + raise ValueError("must be one of enum values ('all_complete', 'max_iterations', 'condition', 'manual')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CreateOrchestrationRequestStopCondition from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CreateOrchestrationRequestStopCondition from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "type": obj.get("type") if obj.get("type") is not None else 'all_complete', + "maxIterations": obj.get("maxIterations"), + "conditionPrompt": obj.get("conditionPrompt") + }) + return _obj + + diff --git a/quantcdn/models/create_task201_response.py b/quantcdn/models/create_task201_response.py index 0a6e105..53d69e4 100644 --- a/quantcdn/models/create_task201_response.py +++ b/quantcdn/models/create_task201_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/create_task_request.py b/quantcdn/models/create_task_request.py index 06b69f0..843d046 100644 --- a/quantcdn/models/create_task_request.py +++ b/quantcdn/models/create_task_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/create_vector_collection201_response.py b/quantcdn/models/create_vector_collection201_response.py index 4b1e193..e211236 100644 --- a/quantcdn/models/create_vector_collection201_response.py +++ b/quantcdn/models/create_vector_collection201_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/create_vector_collection201_response_collection.py b/quantcdn/models/create_vector_collection201_response_collection.py index 700e7f5..48c04f0 100644 --- a/quantcdn/models/create_vector_collection201_response_collection.py +++ b/quantcdn/models/create_vector_collection201_response_collection.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/create_vector_collection_request.py b/quantcdn/models/create_vector_collection_request.py index d8aecce..d3e69b6 100644 --- a/quantcdn/models/create_vector_collection_request.py +++ b/quantcdn/models/create_vector_collection_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/create_volume_request.py b/quantcdn/models/create_volume_request.py index bea22f3..48c0b1e 100644 --- a/quantcdn/models/create_volume_request.py +++ b/quantcdn/models/create_volume_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/cron.py b/quantcdn/models/cron.py index cd55d1a..5fb9e82 100644 --- a/quantcdn/models/cron.py +++ b/quantcdn/models/cron.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/cron_run.py b/quantcdn/models/cron_run.py index 5d3eda6..74c7c70 100644 --- a/quantcdn/models/cron_run.py +++ b/quantcdn/models/cron_run.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/delete_ai_agent200_response.py b/quantcdn/models/delete_ai_agent200_response.py index fb60fc8..db7a0bd 100644 --- a/quantcdn/models/delete_ai_agent200_response.py +++ b/quantcdn/models/delete_ai_agent200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/delete_ai_session200_response.py b/quantcdn/models/delete_ai_session200_response.py index 448649c..c86a162 100644 --- a/quantcdn/models/delete_ai_session200_response.py +++ b/quantcdn/models/delete_ai_session200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/delete_backup200_response.py b/quantcdn/models/delete_backup200_response.py index 9c88192..f3ecb85 100644 --- a/quantcdn/models/delete_backup200_response.py +++ b/quantcdn/models/delete_backup200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/delete_custom_tool200_response.py b/quantcdn/models/delete_custom_tool200_response.py index 879fc35..e8eb046 100644 --- a/quantcdn/models/delete_custom_tool200_response.py +++ b/quantcdn/models/delete_custom_tool200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/delete_file200_response.py b/quantcdn/models/delete_file200_response.py index f683ea6..51d2a34 100644 --- a/quantcdn/models/delete_file200_response.py +++ b/quantcdn/models/delete_file200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/delete_task200_response.py b/quantcdn/models/delete_task200_response.py index 06ba1c8..ada2f54 100644 --- a/quantcdn/models/delete_task200_response.py +++ b/quantcdn/models/delete_task200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/delete_task409_response.py b/quantcdn/models/delete_task409_response.py index 2615cd0..bc561d4 100644 --- a/quantcdn/models/delete_task409_response.py +++ b/quantcdn/models/delete_task409_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/delete_vector_collection200_response.py b/quantcdn/models/delete_vector_collection200_response.py index b4c544b..272471f 100644 --- a/quantcdn/models/delete_vector_collection200_response.py +++ b/quantcdn/models/delete_vector_collection200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/delete_vector_documents200_response.py b/quantcdn/models/delete_vector_documents200_response.py new file mode 100644 index 0000000..56eeb49 --- /dev/null +++ b/quantcdn/models/delete_vector_documents200_response.py @@ -0,0 +1,91 @@ +# coding: utf-8 + +""" + QuantCDN API + + Unified API for QuantCDN Admin and QuantCloud Platform services + + The version of the OpenAPI document: 4.10.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class DeleteVectorDocuments200Response(BaseModel): + """ + DeleteVectorDocuments200Response + """ # noqa: E501 + message: Optional[StrictStr] = None + collection_id: Optional[StrictStr] = Field(default=None, alias="collectionId") + deleted_count: Optional[StrictInt] = Field(default=None, alias="deletedCount") + __properties: ClassVar[List[str]] = ["message", "collectionId", "deletedCount"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DeleteVectorDocuments200Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DeleteVectorDocuments200Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "message": obj.get("message"), + "collectionId": obj.get("collectionId"), + "deletedCount": obj.get("deletedCount") + }) + return _obj + + diff --git a/quantcdn/models/delete_vector_documents_request.py b/quantcdn/models/delete_vector_documents_request.py new file mode 100644 index 0000000..7db480c --- /dev/null +++ b/quantcdn/models/delete_vector_documents_request.py @@ -0,0 +1,95 @@ +# coding: utf-8 + +""" + QuantCDN API + + Unified API for QuantCDN Admin and QuantCloud Platform services + + The version of the OpenAPI document: 4.10.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from quantcdn.models.delete_vector_documents_request_metadata import DeleteVectorDocumentsRequestMetadata +from typing import Optional, Set +from typing_extensions import Self + +class DeleteVectorDocumentsRequest(BaseModel): + """ + DeleteVectorDocumentsRequest + """ # noqa: E501 + purge_all: Optional[StrictBool] = Field(default=None, description="Delete ALL documents in collection", alias="purgeAll") + document_ids: Optional[List[StrictStr]] = Field(default=None, description="Delete specific documents by UUID", alias="documentIds") + metadata: Optional[DeleteVectorDocumentsRequestMetadata] = None + __properties: ClassVar[List[str]] = ["purgeAll", "documentIds", "metadata"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DeleteVectorDocumentsRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of metadata + if self.metadata: + _dict['metadata'] = self.metadata.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DeleteVectorDocumentsRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "purgeAll": obj.get("purgeAll"), + "documentIds": obj.get("documentIds"), + "metadata": DeleteVectorDocumentsRequestMetadata.from_dict(obj["metadata"]) if obj.get("metadata") is not None else None + }) + return _obj + + diff --git a/quantcdn/models/delete_vector_documents_request_metadata.py b/quantcdn/models/delete_vector_documents_request_metadata.py new file mode 100644 index 0000000..cada177 --- /dev/null +++ b/quantcdn/models/delete_vector_documents_request_metadata.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + QuantCDN API + + Unified API for QuantCDN Admin and QuantCloud Platform services + + The version of the OpenAPI document: 4.10.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class DeleteVectorDocumentsRequestMetadata(BaseModel): + """ + DeleteVectorDocumentsRequestMetadata + """ # noqa: E501 + var_field: Optional[StrictStr] = Field(default=None, description="Metadata field name (e.g., 'drupal_entity_id')", alias="field") + values: Optional[List[StrictStr]] = Field(default=None, description="Values to match (OR logic)") + __properties: ClassVar[List[str]] = ["field", "values"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DeleteVectorDocumentsRequestMetadata from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DeleteVectorDocumentsRequestMetadata from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "field": obj.get("field"), + "values": obj.get("values") + }) + return _obj + + diff --git a/quantcdn/models/download_backup200_response.py b/quantcdn/models/download_backup200_response.py index 41b55cd..28c22b7 100644 --- a/quantcdn/models/download_backup200_response.py +++ b/quantcdn/models/download_backup200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/embeddings200_response.py b/quantcdn/models/embeddings200_response.py index 22a2216..eb6c975 100644 --- a/quantcdn/models/embeddings200_response.py +++ b/quantcdn/models/embeddings200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/embeddings200_response_embeddings.py b/quantcdn/models/embeddings200_response_embeddings.py index 05c1a5d..500168b 100644 --- a/quantcdn/models/embeddings200_response_embeddings.py +++ b/quantcdn/models/embeddings200_response_embeddings.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/embeddings200_response_usage.py b/quantcdn/models/embeddings200_response_usage.py index 289a71b..cb056da 100644 --- a/quantcdn/models/embeddings200_response_usage.py +++ b/quantcdn/models/embeddings200_response_usage.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/embeddings_request.py b/quantcdn/models/embeddings_request.py index ba5c782..073556a 100644 --- a/quantcdn/models/embeddings_request.py +++ b/quantcdn/models/embeddings_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/embeddings_request_input.py b/quantcdn/models/embeddings_request_input.py index 21ae3fd..3c07be1 100644 --- a/quantcdn/models/embeddings_request_input.py +++ b/quantcdn/models/embeddings_request_input.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/environment.py b/quantcdn/models/environment.py index b089de1..435faa2 100644 --- a/quantcdn/models/environment.py +++ b/quantcdn/models/environment.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/environment_response.py b/quantcdn/models/environment_response.py index 60cf987..5575364 100644 --- a/quantcdn/models/environment_response.py +++ b/quantcdn/models/environment_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/environment_summary.py b/quantcdn/models/environment_summary.py index 20df429..36ddde6 100644 --- a/quantcdn/models/environment_summary.py +++ b/quantcdn/models/environment_summary.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/extend_ai_session200_response.py b/quantcdn/models/extend_ai_session200_response.py index a1bd2b8..47c4976 100644 --- a/quantcdn/models/extend_ai_session200_response.py +++ b/quantcdn/models/extend_ai_session200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/extend_ai_session_request.py b/quantcdn/models/extend_ai_session_request.py index eea1bb3..ca7ce43 100644 --- a/quantcdn/models/extend_ai_session_request.py +++ b/quantcdn/models/extend_ai_session_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/get_ai_agent200_response.py b/quantcdn/models/get_ai_agent200_response.py index f74ddf3..630991b 100644 --- a/quantcdn/models/get_ai_agent200_response.py +++ b/quantcdn/models/get_ai_agent200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/get_ai_agent200_response_agent.py b/quantcdn/models/get_ai_agent200_response_agent.py index 95dd1ab..6410acf 100644 --- a/quantcdn/models/get_ai_agent200_response_agent.py +++ b/quantcdn/models/get_ai_agent200_response_agent.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/get_ai_model200_response.py b/quantcdn/models/get_ai_model200_response.py index 3671914..f2550d6 100644 --- a/quantcdn/models/get_ai_model200_response.py +++ b/quantcdn/models/get_ai_model200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/get_ai_model200_response_capabilities.py b/quantcdn/models/get_ai_model200_response_capabilities.py index 6d60125..354c277 100644 --- a/quantcdn/models/get_ai_model200_response_capabilities.py +++ b/quantcdn/models/get_ai_model200_response_capabilities.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/get_ai_model200_response_pricing.py b/quantcdn/models/get_ai_model200_response_pricing.py index a1c6a2d..0cf561e 100644 --- a/quantcdn/models/get_ai_model200_response_pricing.py +++ b/quantcdn/models/get_ai_model200_response_pricing.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/get_ai_model404_response.py b/quantcdn/models/get_ai_model404_response.py index bcc747c..d3587f1 100644 --- a/quantcdn/models/get_ai_model404_response.py +++ b/quantcdn/models/get_ai_model404_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/get_ai_orchestration_status200_response.py b/quantcdn/models/get_ai_orchestration_status200_response.py index ae49d56..b760e45 100644 --- a/quantcdn/models/get_ai_orchestration_status200_response.py +++ b/quantcdn/models/get_ai_orchestration_status200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/get_ai_orchestration_status200_response_tools_inner.py b/quantcdn/models/get_ai_orchestration_status200_response_tools_inner.py index ff6a83d..8509e02 100644 --- a/quantcdn/models/get_ai_orchestration_status200_response_tools_inner.py +++ b/quantcdn/models/get_ai_orchestration_status200_response_tools_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/get_ai_orchestration_status404_response.py b/quantcdn/models/get_ai_orchestration_status404_response.py index 2e66e01..ac62dd3 100644 --- a/quantcdn/models/get_ai_orchestration_status404_response.py +++ b/quantcdn/models/get_ai_orchestration_status404_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/get_ai_session200_response.py b/quantcdn/models/get_ai_session200_response.py index cdb722a..d49b734 100644 --- a/quantcdn/models/get_ai_session200_response.py +++ b/quantcdn/models/get_ai_session200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/get_ai_tool_execution_status200_response.py b/quantcdn/models/get_ai_tool_execution_status200_response.py index d8d598a..1678f7f 100644 --- a/quantcdn/models/get_ai_tool_execution_status200_response.py +++ b/quantcdn/models/get_ai_tool_execution_status200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/get_ai_tool_execution_status200_response_result.py b/quantcdn/models/get_ai_tool_execution_status200_response_result.py index b8c742e..8a2a476 100644 --- a/quantcdn/models/get_ai_tool_execution_status200_response_result.py +++ b/quantcdn/models/get_ai_tool_execution_status200_response_result.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/get_ai_tool_execution_status404_response.py b/quantcdn/models/get_ai_tool_execution_status404_response.py index 138fc1d..abd6b80 100644 --- a/quantcdn/models/get_ai_tool_execution_status404_response.py +++ b/quantcdn/models/get_ai_tool_execution_status404_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/get_ai_usage_stats200_response.py b/quantcdn/models/get_ai_usage_stats200_response.py index c9cbaff..84c701a 100644 --- a/quantcdn/models/get_ai_usage_stats200_response.py +++ b/quantcdn/models/get_ai_usage_stats200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/get_ai_usage_stats200_response_by_model_value.py b/quantcdn/models/get_ai_usage_stats200_response_by_model_value.py index e8b8ba3..a67b78a 100644 --- a/quantcdn/models/get_ai_usage_stats200_response_by_model_value.py +++ b/quantcdn/models/get_ai_usage_stats200_response_by_model_value.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/get_dependency_graph200_response.py b/quantcdn/models/get_dependency_graph200_response.py index e7353f6..7858ce0 100644 --- a/quantcdn/models/get_dependency_graph200_response.py +++ b/quantcdn/models/get_dependency_graph200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/get_durable_execution_status200_response.py b/quantcdn/models/get_durable_execution_status200_response.py index 444b32f..a34d514 100644 --- a/quantcdn/models/get_durable_execution_status200_response.py +++ b/quantcdn/models/get_durable_execution_status200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/get_durable_execution_status200_response_error.py b/quantcdn/models/get_durable_execution_status200_response_error.py index 9c23434..a8ec8bf 100644 --- a/quantcdn/models/get_durable_execution_status200_response_error.py +++ b/quantcdn/models/get_durable_execution_status200_response_error.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/get_durable_execution_status200_response_pending_tools_inner.py b/quantcdn/models/get_durable_execution_status200_response_pending_tools_inner.py index 239ce91..acb6b1a 100644 --- a/quantcdn/models/get_durable_execution_status200_response_pending_tools_inner.py +++ b/quantcdn/models/get_durable_execution_status200_response_pending_tools_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/get_durable_execution_status200_response_result.py b/quantcdn/models/get_durable_execution_status200_response_result.py index eb0e164..3bdae90 100644 --- a/quantcdn/models/get_durable_execution_status200_response_result.py +++ b/quantcdn/models/get_durable_execution_status200_response_result.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/get_durable_execution_status200_response_result_response.py b/quantcdn/models/get_durable_execution_status200_response_result_response.py index 40090b5..73f7ef9 100644 --- a/quantcdn/models/get_durable_execution_status200_response_result_response.py +++ b/quantcdn/models/get_durable_execution_status200_response_result_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/get_durable_execution_status200_response_result_usage.py b/quantcdn/models/get_durable_execution_status200_response_result_usage.py index d154aef..9068fe4 100644 --- a/quantcdn/models/get_durable_execution_status200_response_result_usage.py +++ b/quantcdn/models/get_durable_execution_status200_response_result_usage.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/get_ecr_login_credentials200_response.py b/quantcdn/models/get_ecr_login_credentials200_response.py index fb725ce..70f27c9 100644 --- a/quantcdn/models/get_ecr_login_credentials200_response.py +++ b/quantcdn/models/get_ecr_login_credentials200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/get_environment_logs200_response.py b/quantcdn/models/get_environment_logs200_response.py index 83bf084..015304d 100644 --- a/quantcdn/models/get_environment_logs200_response.py +++ b/quantcdn/models/get_environment_logs200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/get_environment_logs200_response_log_events_inner.py b/quantcdn/models/get_environment_logs200_response_log_events_inner.py index 93f786a..4f4165b 100644 --- a/quantcdn/models/get_environment_logs200_response_log_events_inner.py +++ b/quantcdn/models/get_environment_logs200_response_log_events_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/get_file200_response.py b/quantcdn/models/get_file200_response.py index b688972..56b7256 100644 --- a/quantcdn/models/get_file200_response.py +++ b/quantcdn/models/get_file200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/get_ssh_access_credentials200_response.py b/quantcdn/models/get_ssh_access_credentials200_response.py index 5d01761..14863ed 100644 --- a/quantcdn/models/get_ssh_access_credentials200_response.py +++ b/quantcdn/models/get_ssh_access_credentials200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/get_ssh_access_credentials200_response_credentials.py b/quantcdn/models/get_ssh_access_credentials200_response_credentials.py index 35318a2..4bb7dd4 100644 --- a/quantcdn/models/get_ssh_access_credentials200_response_credentials.py +++ b/quantcdn/models/get_ssh_access_credentials200_response_credentials.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/get_task200_response.py b/quantcdn/models/get_task200_response.py index a9778ef..8e94cd0 100644 --- a/quantcdn/models/get_task200_response.py +++ b/quantcdn/models/get_task200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/get_vector_collection200_response.py b/quantcdn/models/get_vector_collection200_response.py index 4f4208e..fce1a91 100644 --- a/quantcdn/models/get_vector_collection200_response.py +++ b/quantcdn/models/get_vector_collection200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/get_vector_collection200_response_collection.py b/quantcdn/models/get_vector_collection200_response_collection.py index a41cf4a..9960024 100644 --- a/quantcdn/models/get_vector_collection200_response_collection.py +++ b/quantcdn/models/get_vector_collection200_response_collection.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/image_generation200_response.py b/quantcdn/models/image_generation200_response.py index 2d07da6..8e33a1d 100644 --- a/quantcdn/models/image_generation200_response.py +++ b/quantcdn/models/image_generation200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/image_generation_request.py b/quantcdn/models/image_generation_request.py index bac37b4..933fa49 100644 --- a/quantcdn/models/image_generation_request.py +++ b/quantcdn/models/image_generation_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/image_generation_request_background_removal_params.py b/quantcdn/models/image_generation_request_background_removal_params.py index d326ad9..da2c5fb 100644 --- a/quantcdn/models/image_generation_request_background_removal_params.py +++ b/quantcdn/models/image_generation_request_background_removal_params.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/image_generation_request_color_guided_generation_params.py b/quantcdn/models/image_generation_request_color_guided_generation_params.py index 9ed8125..70fb858 100644 --- a/quantcdn/models/image_generation_request_color_guided_generation_params.py +++ b/quantcdn/models/image_generation_request_color_guided_generation_params.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/image_generation_request_image_generation_config.py b/quantcdn/models/image_generation_request_image_generation_config.py index f231ae2..55baf13 100644 --- a/quantcdn/models/image_generation_request_image_generation_config.py +++ b/quantcdn/models/image_generation_request_image_generation_config.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/image_generation_request_image_variation_params.py b/quantcdn/models/image_generation_request_image_variation_params.py index 30d8a0c..9dbed60 100644 --- a/quantcdn/models/image_generation_request_image_variation_params.py +++ b/quantcdn/models/image_generation_request_image_variation_params.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/image_generation_request_in_painting_params.py b/quantcdn/models/image_generation_request_in_painting_params.py index 0270da6..eb6536b 100644 --- a/quantcdn/models/image_generation_request_in_painting_params.py +++ b/quantcdn/models/image_generation_request_in_painting_params.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/image_generation_request_out_painting_params.py b/quantcdn/models/image_generation_request_out_painting_params.py index 447b397..b4c99d8 100644 --- a/quantcdn/models/image_generation_request_out_painting_params.py +++ b/quantcdn/models/image_generation_request_out_painting_params.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/image_generation_request_text_to_image_params.py b/quantcdn/models/image_generation_request_text_to_image_params.py index 63e0b0a..2730a34 100644 --- a/quantcdn/models/image_generation_request_text_to_image_params.py +++ b/quantcdn/models/image_generation_request_text_to_image_params.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/kv_items_create200_response.py b/quantcdn/models/kv_items_create200_response.py index 0e9ba83..62dd88e 100644 --- a/quantcdn/models/kv_items_create200_response.py +++ b/quantcdn/models/kv_items_create200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/kv_items_delete200_response.py b/quantcdn/models/kv_items_delete200_response.py index b07850c..53aefdf 100644 --- a/quantcdn/models/kv_items_delete200_response.py +++ b/quantcdn/models/kv_items_delete200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/kv_items_show200_response.py b/quantcdn/models/kv_items_show200_response.py index 8e706c0..29d5fd9 100644 --- a/quantcdn/models/kv_items_show200_response.py +++ b/quantcdn/models/kv_items_show200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/kv_items_show200_response_value.py b/quantcdn/models/kv_items_show200_response_value.py index 91b6099..4679302 100644 --- a/quantcdn/models/kv_items_show200_response_value.py +++ b/quantcdn/models/kv_items_show200_response_value.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/kv_link_to_project200_response.py b/quantcdn/models/kv_link_to_project200_response.py new file mode 100644 index 0000000..137ae8a --- /dev/null +++ b/quantcdn/models/kv_link_to_project200_response.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + QuantCDN API + + Unified API for QuantCDN Admin and QuantCloud Platform services + + The version of the OpenAPI document: 4.10.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class KVLinkToProject200Response(BaseModel): + """ + KVLinkToProject200Response + """ # noqa: E501 + success: Optional[StrictBool] = None + message: Optional[StrictStr] = None + __properties: ClassVar[List[str]] = ["success", "message"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of KVLinkToProject200Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of KVLinkToProject200Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "success": obj.get("success"), + "message": obj.get("message") + }) + return _obj + + diff --git a/quantcdn/models/kv_link_to_project_request.py b/quantcdn/models/kv_link_to_project_request.py new file mode 100644 index 0000000..b053284 --- /dev/null +++ b/quantcdn/models/kv_link_to_project_request.py @@ -0,0 +1,87 @@ +# coding: utf-8 + +""" + QuantCDN API + + Unified API for QuantCDN Admin and QuantCloud Platform services + + The version of the OpenAPI document: 4.10.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt +from typing import Any, ClassVar, Dict, List +from typing import Optional, Set +from typing_extensions import Self + +class KVLinkToProjectRequest(BaseModel): + """ + KVLinkToProjectRequest + """ # noqa: E501 + project_id: StrictInt = Field(description="Target project ID to link to") + __properties: ClassVar[List[str]] = ["project_id"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of KVLinkToProjectRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of KVLinkToProjectRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "project_id": obj.get("project_id") + }) + return _obj + + diff --git a/quantcdn/models/list_ai_agents200_response.py b/quantcdn/models/list_ai_agents200_response.py index 60037c1..f9154d1 100644 --- a/quantcdn/models/list_ai_agents200_response.py +++ b/quantcdn/models/list_ai_agents200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/list_ai_agents200_response_agents_inner.py b/quantcdn/models/list_ai_agents200_response_agents_inner.py index e2a2442..e2eed92 100644 --- a/quantcdn/models/list_ai_agents200_response_agents_inner.py +++ b/quantcdn/models/list_ai_agents200_response_agents_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/list_ai_models200_response.py b/quantcdn/models/list_ai_models200_response.py index 325343a..47d10c3 100644 --- a/quantcdn/models/list_ai_models200_response.py +++ b/quantcdn/models/list_ai_models200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/list_ai_models200_response_models_inner.py b/quantcdn/models/list_ai_models200_response_models_inner.py index 6e5afaa..2dbea4a 100644 --- a/quantcdn/models/list_ai_models200_response_models_inner.py +++ b/quantcdn/models/list_ai_models200_response_models_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/list_ai_models200_response_models_inner_capabilities.py b/quantcdn/models/list_ai_models200_response_models_inner_capabilities.py index baad9ed..642fe90 100644 --- a/quantcdn/models/list_ai_models200_response_models_inner_capabilities.py +++ b/quantcdn/models/list_ai_models200_response_models_inner_capabilities.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/list_ai_sessions200_response_inner.py b/quantcdn/models/list_ai_sessions200_response_inner.py index 07647ea..cebe2b5 100644 --- a/quantcdn/models/list_ai_sessions200_response_inner.py +++ b/quantcdn/models/list_ai_sessions200_response_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/list_ai_tool_executions200_response.py b/quantcdn/models/list_ai_tool_executions200_response.py index b4950a1..56c561c 100644 --- a/quantcdn/models/list_ai_tool_executions200_response.py +++ b/quantcdn/models/list_ai_tool_executions200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/list_ai_tool_executions200_response_executions_inner.py b/quantcdn/models/list_ai_tool_executions200_response_executions_inner.py index 71feea4..1a105a9 100644 --- a/quantcdn/models/list_ai_tool_executions200_response_executions_inner.py +++ b/quantcdn/models/list_ai_tool_executions200_response_executions_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/list_ai_tool_names200_response.py b/quantcdn/models/list_ai_tool_names200_response.py index 65138b7..03e040a 100644 --- a/quantcdn/models/list_ai_tool_names200_response.py +++ b/quantcdn/models/list_ai_tool_names200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/list_ai_tools200_response.py b/quantcdn/models/list_ai_tools200_response.py index e47189e..4bcc3e6 100644 --- a/quantcdn/models/list_ai_tools200_response.py +++ b/quantcdn/models/list_ai_tools200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/list_ai_tools200_response_tools_inner.py b/quantcdn/models/list_ai_tools200_response_tools_inner.py index 4354b33..63947e7 100644 --- a/quantcdn/models/list_ai_tools200_response_tools_inner.py +++ b/quantcdn/models/list_ai_tools200_response_tools_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/list_ai_tools200_response_tools_inner_tool_spec.py b/quantcdn/models/list_ai_tools200_response_tools_inner_tool_spec.py index 18ec90e..df50cff 100644 --- a/quantcdn/models/list_ai_tools200_response_tools_inner_tool_spec.py +++ b/quantcdn/models/list_ai_tools200_response_tools_inner_tool_spec.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/list_ai_tools200_response_tools_inner_tool_spec_input_schema.py b/quantcdn/models/list_ai_tools200_response_tools_inner_tool_spec_input_schema.py index 553280d..58d8b1f 100644 --- a/quantcdn/models/list_ai_tools200_response_tools_inner_tool_spec_input_schema.py +++ b/quantcdn/models/list_ai_tools200_response_tools_inner_tool_spec_input_schema.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/list_backups200_response.py b/quantcdn/models/list_backups200_response.py index d1b40ba..fe8921c 100644 --- a/quantcdn/models/list_backups200_response.py +++ b/quantcdn/models/list_backups200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/list_backups200_response_backups_inner.py b/quantcdn/models/list_backups200_response_backups_inner.py index d656962..bf699a3 100644 --- a/quantcdn/models/list_backups200_response_backups_inner.py +++ b/quantcdn/models/list_backups200_response_backups_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/list_backups422_response.py b/quantcdn/models/list_backups422_response.py index 7c2062d..adf6052 100644 --- a/quantcdn/models/list_backups422_response.py +++ b/quantcdn/models/list_backups422_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/list_custom_tools200_response.py b/quantcdn/models/list_custom_tools200_response.py index c849136..e270c5e 100644 --- a/quantcdn/models/list_custom_tools200_response.py +++ b/quantcdn/models/list_custom_tools200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/list_custom_tools200_response_tools_inner.py b/quantcdn/models/list_custom_tools200_response_tools_inner.py index 821acef..ef9d61a 100644 --- a/quantcdn/models/list_custom_tools200_response_tools_inner.py +++ b/quantcdn/models/list_custom_tools200_response_tools_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/list_files200_response.py b/quantcdn/models/list_files200_response.py index 43ae918..e292564 100644 --- a/quantcdn/models/list_files200_response.py +++ b/quantcdn/models/list_files200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/list_files200_response_files_inner.py b/quantcdn/models/list_files200_response_files_inner.py index 26ad571..c18e71d 100644 --- a/quantcdn/models/list_files200_response_files_inner.py +++ b/quantcdn/models/list_files200_response_files_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/list_orchestration_batches200_response.py b/quantcdn/models/list_orchestration_batches200_response.py new file mode 100644 index 0000000..3302278 --- /dev/null +++ b/quantcdn/models/list_orchestration_batches200_response.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + QuantCDN API + + Unified API for QuantCDN Admin and QuantCloud Platform services + + The version of the OpenAPI document: 4.10.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from quantcdn.models.list_orchestration_batches200_response_batches_inner import ListOrchestrationBatches200ResponseBatchesInner +from typing import Optional, Set +from typing_extensions import Self + +class ListOrchestrationBatches200Response(BaseModel): + """ + ListOrchestrationBatches200Response + """ # noqa: E501 + batches: Optional[List[ListOrchestrationBatches200ResponseBatchesInner]] = None + next_cursor: Optional[StrictStr] = Field(default=None, alias="nextCursor") + __properties: ClassVar[List[str]] = ["batches", "nextCursor"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ListOrchestrationBatches200Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in batches (list) + _items = [] + if self.batches: + for _item_batches in self.batches: + if _item_batches: + _items.append(_item_batches.to_dict()) + _dict['batches'] = _items + # set to None if next_cursor (nullable) is None + # and model_fields_set contains the field + if self.next_cursor is None and "next_cursor" in self.model_fields_set: + _dict['nextCursor'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ListOrchestrationBatches200Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "batches": [ListOrchestrationBatches200ResponseBatchesInner.from_dict(_item) for _item in obj["batches"]] if obj.get("batches") is not None else None, + "nextCursor": obj.get("nextCursor") + }) + return _obj + + diff --git a/quantcdn/models/list_orchestration_batches200_response_batches_inner.py b/quantcdn/models/list_orchestration_batches200_response_batches_inner.py new file mode 100644 index 0000000..f91436c --- /dev/null +++ b/quantcdn/models/list_orchestration_batches200_response_batches_inner.py @@ -0,0 +1,121 @@ +# coding: utf-8 + +""" + QuantCDN API + + Unified API for QuantCDN Admin and QuantCloud Platform services + + The version of the OpenAPI document: 4.10.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from datetime import datetime +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ListOrchestrationBatches200ResponseBatchesInner(BaseModel): + """ + ListOrchestrationBatches200ResponseBatchesInner + """ # noqa: E501 + batch_id: Optional[StrictStr] = Field(default=None, alias="batchId") + orchestration_id: Optional[StrictStr] = Field(default=None, alias="orchestrationId") + iteration: Optional[StrictInt] = None + item_count: Optional[StrictInt] = Field(default=None, alias="itemCount") + completed_count: Optional[StrictInt] = Field(default=None, alias="completedCount") + failed_count: Optional[StrictInt] = Field(default=None, alias="failedCount") + status: Optional[StrictStr] = None + started_at: Optional[datetime] = Field(default=None, alias="startedAt") + completed_at: Optional[datetime] = Field(default=None, alias="completedAt") + error: Optional[StrictStr] = None + __properties: ClassVar[List[str]] = ["batchId", "orchestrationId", "iteration", "itemCount", "completedCount", "failedCount", "status", "startedAt", "completedAt", "error"] + + @field_validator('status') + def status_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['pending', 'running', 'completed', 'failed']): + raise ValueError("must be one of enum values ('pending', 'running', 'completed', 'failed')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ListOrchestrationBatches200ResponseBatchesInner from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # set to None if error (nullable) is None + # and model_fields_set contains the field + if self.error is None and "error" in self.model_fields_set: + _dict['error'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ListOrchestrationBatches200ResponseBatchesInner from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "batchId": obj.get("batchId"), + "orchestrationId": obj.get("orchestrationId"), + "iteration": obj.get("iteration"), + "itemCount": obj.get("itemCount"), + "completedCount": obj.get("completedCount"), + "failedCount": obj.get("failedCount"), + "status": obj.get("status"), + "startedAt": obj.get("startedAt"), + "completedAt": obj.get("completedAt"), + "error": obj.get("error") + }) + return _obj + + diff --git a/quantcdn/models/list_orchestrations200_response.py b/quantcdn/models/list_orchestrations200_response.py new file mode 100644 index 0000000..082cb5e --- /dev/null +++ b/quantcdn/models/list_orchestrations200_response.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + QuantCDN API + + Unified API for QuantCDN Admin and QuantCloud Platform services + + The version of the OpenAPI document: 4.10.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ListOrchestrations200Response(BaseModel): + """ + ListOrchestrations200Response + """ # noqa: E501 + orchestrations: Optional[List[Dict[str, Any]]] = None + next_cursor: Optional[StrictStr] = Field(default=None, alias="nextCursor") + __properties: ClassVar[List[str]] = ["orchestrations", "nextCursor"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ListOrchestrations200Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # set to None if next_cursor (nullable) is None + # and model_fields_set contains the field + if self.next_cursor is None and "next_cursor" in self.model_fields_set: + _dict['nextCursor'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ListOrchestrations200Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "orchestrations": obj.get("orchestrations"), + "nextCursor": obj.get("nextCursor") + }) + return _obj + + diff --git a/quantcdn/models/list_tasks200_response.py b/quantcdn/models/list_tasks200_response.py index adbd5bd..16714a6 100644 --- a/quantcdn/models/list_tasks200_response.py +++ b/quantcdn/models/list_tasks200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/list_tasks200_response_tasks_inner.py b/quantcdn/models/list_tasks200_response_tasks_inner.py index 1d15599..d5694f0 100644 --- a/quantcdn/models/list_tasks200_response_tasks_inner.py +++ b/quantcdn/models/list_tasks200_response_tasks_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/list_vector_collections200_response.py b/quantcdn/models/list_vector_collections200_response.py index 85b0d23..babcb57 100644 --- a/quantcdn/models/list_vector_collections200_response.py +++ b/quantcdn/models/list_vector_collections200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/list_vector_collections200_response_collections_inner.py b/quantcdn/models/list_vector_collections200_response_collections_inner.py index f761ce2..d155795 100644 --- a/quantcdn/models/list_vector_collections200_response_collections_inner.py +++ b/quantcdn/models/list_vector_collections200_response_collections_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/organizations_list200_response_inner.py b/quantcdn/models/organizations_list200_response_inner.py index 6239bd9..ee05c22 100644 --- a/quantcdn/models/organizations_list200_response_inner.py +++ b/quantcdn/models/organizations_list200_response_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/patch_environment_compose202_response.py b/quantcdn/models/patch_environment_compose202_response.py index fc8a9a8..5f838da 100644 --- a/quantcdn/models/patch_environment_compose202_response.py +++ b/quantcdn/models/patch_environment_compose202_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/patch_environment_compose202_response_spot_configuration.py b/quantcdn/models/patch_environment_compose202_response_spot_configuration.py index 794ef00..d4be96c 100644 --- a/quantcdn/models/patch_environment_compose202_response_spot_configuration.py +++ b/quantcdn/models/patch_environment_compose202_response_spot_configuration.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/patch_environment_compose400_response.py b/quantcdn/models/patch_environment_compose400_response.py index 1ced7a4..4bf74d8 100644 --- a/quantcdn/models/patch_environment_compose400_response.py +++ b/quantcdn/models/patch_environment_compose400_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/patch_environment_compose_request.py b/quantcdn/models/patch_environment_compose_request.py index 50d80a1..a76747d 100644 --- a/quantcdn/models/patch_environment_compose_request.py +++ b/quantcdn/models/patch_environment_compose_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/patch_environment_compose_request_spot_configuration.py b/quantcdn/models/patch_environment_compose_request_spot_configuration.py index 2e41e25..14d3069 100644 --- a/quantcdn/models/patch_environment_compose_request_spot_configuration.py +++ b/quantcdn/models/patch_environment_compose_request_spot_configuration.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/purge_create_request.py b/quantcdn/models/purge_create_request.py index 17dea8d..25ddd48 100644 --- a/quantcdn/models/purge_create_request.py +++ b/quantcdn/models/purge_create_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/query_vector_collection200_response.py b/quantcdn/models/query_vector_collection200_response.py index 275a9bb..9d94570 100644 --- a/quantcdn/models/query_vector_collection200_response.py +++ b/quantcdn/models/query_vector_collection200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/query_vector_collection200_response_pagination.py b/quantcdn/models/query_vector_collection200_response_pagination.py index 4b3ff69..de0e4da 100644 --- a/quantcdn/models/query_vector_collection200_response_pagination.py +++ b/quantcdn/models/query_vector_collection200_response_pagination.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/query_vector_collection200_response_results_inner.py b/quantcdn/models/query_vector_collection200_response_results_inner.py index 54fed02..d85465e 100644 --- a/quantcdn/models/query_vector_collection200_response_results_inner.py +++ b/quantcdn/models/query_vector_collection200_response_results_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/query_vector_collection_request.py b/quantcdn/models/query_vector_collection_request.py index 370c600..fd5bb6f 100644 --- a/quantcdn/models/query_vector_collection_request.py +++ b/quantcdn/models/query_vector_collection_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/query_vector_collection_request_filter.py b/quantcdn/models/query_vector_collection_request_filter.py index cde3431..b53c343 100644 --- a/quantcdn/models/query_vector_collection_request_filter.py +++ b/quantcdn/models/query_vector_collection_request_filter.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/scaling_policy.py b/quantcdn/models/scaling_policy.py index 9cedec3..734dc90 100644 --- a/quantcdn/models/scaling_policy.py +++ b/quantcdn/models/scaling_policy.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/spot_configuration.py b/quantcdn/models/spot_configuration.py index 79a04ea..2c3ee0e 100644 --- a/quantcdn/models/spot_configuration.py +++ b/quantcdn/models/spot_configuration.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/submit_tool_callback200_response.py b/quantcdn/models/submit_tool_callback200_response.py index 07a8969..829ed2a 100644 --- a/quantcdn/models/submit_tool_callback200_response.py +++ b/quantcdn/models/submit_tool_callback200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/submit_tool_callback_request.py b/quantcdn/models/submit_tool_callback_request.py index 4f04beb..9c542df 100644 --- a/quantcdn/models/submit_tool_callback_request.py +++ b/quantcdn/models/submit_tool_callback_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/submit_tool_callback_request_tool_results_inner.py b/quantcdn/models/submit_tool_callback_request_tool_results_inner.py index ac5ccaf..31969ed 100644 --- a/quantcdn/models/submit_tool_callback_request_tool_results_inner.py +++ b/quantcdn/models/submit_tool_callback_request_tool_results_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/sync_operation.py b/quantcdn/models/sync_operation.py index 95282ff..8ced1e2 100644 --- a/quantcdn/models/sync_operation.py +++ b/quantcdn/models/sync_operation.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/sync_to_environment_request.py b/quantcdn/models/sync_to_environment_request.py index 053b539..09b7283 100644 --- a/quantcdn/models/sync_to_environment_request.py +++ b/quantcdn/models/sync_to_environment_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/update_ai_agent200_response.py b/quantcdn/models/update_ai_agent200_response.py index c386dc4..b257dc6 100644 --- a/quantcdn/models/update_ai_agent200_response.py +++ b/quantcdn/models/update_ai_agent200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/update_ai_agent_request.py b/quantcdn/models/update_ai_agent_request.py index 6c33ac5..9207079 100644 --- a/quantcdn/models/update_ai_agent_request.py +++ b/quantcdn/models/update_ai_agent_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/update_ai_session200_response.py b/quantcdn/models/update_ai_session200_response.py index 52c30ff..f98bfe2 100644 --- a/quantcdn/models/update_ai_session200_response.py +++ b/quantcdn/models/update_ai_session200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/update_ai_session_request.py b/quantcdn/models/update_ai_session_request.py index 80617e0..9816813 100644 --- a/quantcdn/models/update_ai_session_request.py +++ b/quantcdn/models/update_ai_session_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/update_ai_session_request_new_messages_inner.py b/quantcdn/models/update_ai_session_request_new_messages_inner.py index b66a53e..56cca51 100644 --- a/quantcdn/models/update_ai_session_request_new_messages_inner.py +++ b/quantcdn/models/update_ai_session_request_new_messages_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/update_cron_job_request.py b/quantcdn/models/update_cron_job_request.py index 63665fa..b511bca 100644 --- a/quantcdn/models/update_cron_job_request.py +++ b/quantcdn/models/update_cron_job_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/update_environment_request.py b/quantcdn/models/update_environment_request.py index 2c07587..b362c7d 100644 --- a/quantcdn/models/update_environment_request.py +++ b/quantcdn/models/update_environment_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/update_environment_state_request.py b/quantcdn/models/update_environment_state_request.py index f29a5d7..eb09b6c 100644 --- a/quantcdn/models/update_environment_state_request.py +++ b/quantcdn/models/update_environment_state_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/update_environment_variable_request.py b/quantcdn/models/update_environment_variable_request.py index f36e556..30a33d6 100644 --- a/quantcdn/models/update_environment_variable_request.py +++ b/quantcdn/models/update_environment_variable_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/update_task200_response.py b/quantcdn/models/update_task200_response.py index 218f84a..0d86d12 100644 --- a/quantcdn/models/update_task200_response.py +++ b/quantcdn/models/update_task200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/update_task_request.py b/quantcdn/models/update_task_request.py index 8aebe47..ad77da1 100644 --- a/quantcdn/models/update_task_request.py +++ b/quantcdn/models/update_task_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/upload_file201_response.py b/quantcdn/models/upload_file201_response.py index afa2d0f..a76da25 100644 --- a/quantcdn/models/upload_file201_response.py +++ b/quantcdn/models/upload_file201_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/upload_file_request.py b/quantcdn/models/upload_file_request.py index b57e6af..00a13e4 100644 --- a/quantcdn/models/upload_file_request.py +++ b/quantcdn/models/upload_file_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/upload_vector_documents200_response.py b/quantcdn/models/upload_vector_documents200_response.py index 8a235d0..3f81bcb 100644 --- a/quantcdn/models/upload_vector_documents200_response.py +++ b/quantcdn/models/upload_vector_documents200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/upload_vector_documents_request.py b/quantcdn/models/upload_vector_documents_request.py index 876d6bf..fd1847c 100644 --- a/quantcdn/models/upload_vector_documents_request.py +++ b/quantcdn/models/upload_vector_documents_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/upload_vector_documents_request_documents_inner.py b/quantcdn/models/upload_vector_documents_request_documents_inner.py index a7ecf49..df6b325 100644 --- a/quantcdn/models/upload_vector_documents_request_documents_inner.py +++ b/quantcdn/models/upload_vector_documents_request_documents_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/upload_vector_documents_request_documents_inner_metadata.py b/quantcdn/models/upload_vector_documents_request_documents_inner_metadata.py index 6509c38..4f15fb4 100644 --- a/quantcdn/models/upload_vector_documents_request_documents_inner_metadata.py +++ b/quantcdn/models/upload_vector_documents_request_documents_inner_metadata.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v1_content_item.py b/quantcdn/models/v1_content_item.py index 69744ab..358056c 100644 --- a/quantcdn/models/v1_content_item.py +++ b/quantcdn/models/v1_content_item.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v1_content_list_response.py b/quantcdn/models/v1_content_list_response.py index 5a38b95..e4153eb 100644 --- a/quantcdn/models/v1_content_list_response.py +++ b/quantcdn/models/v1_content_list_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v1_content_request.py b/quantcdn/models/v1_content_request.py index ec8e187..45eeefd 100644 --- a/quantcdn/models/v1_content_request.py +++ b/quantcdn/models/v1_content_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v1_delete_response.py b/quantcdn/models/v1_delete_response.py index 8395fe6..f98f0a6 100644 --- a/quantcdn/models/v1_delete_response.py +++ b/quantcdn/models/v1_delete_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v1_error.py b/quantcdn/models/v1_error.py index f77e6c0..b485ca4 100644 --- a/quantcdn/models/v1_error.py +++ b/quantcdn/models/v1_error.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v1_form_submission_item.py b/quantcdn/models/v1_form_submission_item.py index 7166fc7..f61a76e 100644 --- a/quantcdn/models/v1_form_submission_item.py +++ b/quantcdn/models/v1_form_submission_item.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v1_form_submission_list_response.py b/quantcdn/models/v1_form_submission_list_response.py index 54d73ee..e141a15 100644 --- a/quantcdn/models/v1_form_submission_list_response.py +++ b/quantcdn/models/v1_form_submission_list_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v1_get_metric_series_response.py b/quantcdn/models/v1_get_metric_series_response.py index b9b125c..787d0b9 100644 --- a/quantcdn/models/v1_get_metric_series_response.py +++ b/quantcdn/models/v1_get_metric_series_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v1_get_metric_series_response_data.py b/quantcdn/models/v1_get_metric_series_response_data.py index 15e52a4..33d4ef4 100644 --- a/quantcdn/models/v1_get_metric_series_response_data.py +++ b/quantcdn/models/v1_get_metric_series_response_data.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v1_get_metrics_response.py b/quantcdn/models/v1_get_metrics_response.py index ee14b7a..b4ef228 100644 --- a/quantcdn/models/v1_get_metrics_response.py +++ b/quantcdn/models/v1_get_metrics_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v1_get_metrics_response_data.py b/quantcdn/models/v1_get_metrics_response_data.py index b519c29..2422281 100644 --- a/quantcdn/models/v1_get_metrics_response_data.py +++ b/quantcdn/models/v1_get_metrics_response_data.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v1_global_meta_response.py b/quantcdn/models/v1_global_meta_response.py index 6ec78ec..d407489 100644 --- a/quantcdn/models/v1_global_meta_response.py +++ b/quantcdn/models/v1_global_meta_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v1_global_meta_response_global_meta.py b/quantcdn/models/v1_global_meta_response_global_meta.py index 4e1c20c..20aa2c4 100644 --- a/quantcdn/models/v1_global_meta_response_global_meta.py +++ b/quantcdn/models/v1_global_meta_response_global_meta.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v1_info.py b/quantcdn/models/v1_info.py index d778476..bcd61de 100644 --- a/quantcdn/models/v1_info.py +++ b/quantcdn/models/v1_info.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v1_meta.py b/quantcdn/models/v1_meta.py index 52dfcfa..6500e4a 100644 --- a/quantcdn/models/v1_meta.py +++ b/quantcdn/models/v1_meta.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v1_metric_day_stats.py b/quantcdn/models/v1_metric_day_stats.py index 130c8a1..7ecdcb1 100644 --- a/quantcdn/models/v1_metric_day_stats.py +++ b/quantcdn/models/v1_metric_day_stats.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v1_metric_minute_stats.py b/quantcdn/models/v1_metric_minute_stats.py index c416f89..7d5ebad 100644 --- a/quantcdn/models/v1_metric_minute_stats.py +++ b/quantcdn/models/v1_metric_minute_stats.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v1_metric_month_stats.py b/quantcdn/models/v1_metric_month_stats.py index 06d89ff..ca7708c 100644 --- a/quantcdn/models/v1_metric_month_stats.py +++ b/quantcdn/models/v1_metric_month_stats.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v1_ping_response.py b/quantcdn/models/v1_ping_response.py index ee94889..6e377a3 100644 --- a/quantcdn/models/v1_ping_response.py +++ b/quantcdn/models/v1_ping_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v1_proxy_item.py b/quantcdn/models/v1_proxy_item.py index c8074e3..41c7bdf 100644 --- a/quantcdn/models/v1_proxy_item.py +++ b/quantcdn/models/v1_proxy_item.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v1_proxy_list_response.py b/quantcdn/models/v1_proxy_list_response.py index 6f4c082..44b3002 100644 --- a/quantcdn/models/v1_proxy_list_response.py +++ b/quantcdn/models/v1_proxy_list_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v1_redirect_item.py b/quantcdn/models/v1_redirect_item.py index 52d89b0..21d138d 100644 --- a/quantcdn/models/v1_redirect_item.py +++ b/quantcdn/models/v1_redirect_item.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v1_redirect_list_response.py b/quantcdn/models/v1_redirect_list_response.py index c36ec65..6d55a83 100644 --- a/quantcdn/models/v1_redirect_list_response.py +++ b/quantcdn/models/v1_redirect_list_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v1_redirect_request.py b/quantcdn/models/v1_redirect_request.py index 656057f..47db58d 100644 --- a/quantcdn/models/v1_redirect_request.py +++ b/quantcdn/models/v1_redirect_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v1_redirect_response.py b/quantcdn/models/v1_redirect_response.py index 8797aa2..4b60d96 100644 --- a/quantcdn/models/v1_redirect_response.py +++ b/quantcdn/models/v1_redirect_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v1_revision.py b/quantcdn/models/v1_revision.py index 77e849e..6a4e539 100644 --- a/quantcdn/models/v1_revision.py +++ b/quantcdn/models/v1_revision.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v1_revisions_response.py b/quantcdn/models/v1_revisions_response.py index 3930e66..3d85a4e 100644 --- a/quantcdn/models/v1_revisions_response.py +++ b/quantcdn/models/v1_revisions_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v1_search_hit.py b/quantcdn/models/v1_search_hit.py index 1454861..4bae589 100644 --- a/quantcdn/models/v1_search_hit.py +++ b/quantcdn/models/v1_search_hit.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v1_search_items_response.py b/quantcdn/models/v1_search_items_response.py index 1faa40c..9f28942 100644 --- a/quantcdn/models/v1_search_items_response.py +++ b/quantcdn/models/v1_search_items_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v1_search_mutation_response.py b/quantcdn/models/v1_search_mutation_response.py index 623485c..e896e2f 100644 --- a/quantcdn/models/v1_search_mutation_response.py +++ b/quantcdn/models/v1_search_mutation_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v1_search_record.py b/quantcdn/models/v1_search_record.py index 9d708f9..e3cde05 100644 --- a/quantcdn/models/v1_search_record.py +++ b/quantcdn/models/v1_search_record.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v1_search_response.py b/quantcdn/models/v1_search_response.py index 0e6d259..ccabdae 100644 --- a/quantcdn/models/v1_search_response.py +++ b/quantcdn/models/v1_search_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v1_series_point_day.py b/quantcdn/models/v1_series_point_day.py index 2365afb..edf3762 100644 --- a/quantcdn/models/v1_series_point_day.py +++ b/quantcdn/models/v1_series_point_day.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v1_series_point_month.py b/quantcdn/models/v1_series_point_month.py index 7014c12..c93c2eb 100644 --- a/quantcdn/models/v1_series_point_month.py +++ b/quantcdn/models/v1_series_point_month.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v1_transition.py b/quantcdn/models/v1_transition.py index 1d29543..aac9f1f 100644 --- a/quantcdn/models/v1_transition.py +++ b/quantcdn/models/v1_transition.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v1_upload_response.py b/quantcdn/models/v1_upload_response.py index 80e0e7d..00a5521 100644 --- a/quantcdn/models/v1_upload_response.py +++ b/quantcdn/models/v1_upload_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v1_url_meta_request.py b/quantcdn/models/v1_url_meta_request.py index aaa39ed..7ff9436 100644 --- a/quantcdn/models/v1_url_meta_request.py +++ b/quantcdn/models/v1_url_meta_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v1_url_meta_response.py b/quantcdn/models/v1_url_meta_response.py index 9333c40..e1fb129 100644 --- a/quantcdn/models/v1_url_meta_response.py +++ b/quantcdn/models/v1_url_meta_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v1_waf_log_item.py b/quantcdn/models/v1_waf_log_item.py index 1f8fa39..68dbe24 100644 --- a/quantcdn/models/v1_waf_log_item.py +++ b/quantcdn/models/v1_waf_log_item.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v1_waf_log_list_response.py b/quantcdn/models/v1_waf_log_list_response.py index c30c798..a55588b 100644 --- a/quantcdn/models/v1_waf_log_list_response.py +++ b/quantcdn/models/v1_waf_log_list_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_crawler.py b/quantcdn/models/v2_crawler.py index f9c10ac..c6983ef 100644 --- a/quantcdn/models/v2_crawler.py +++ b/quantcdn/models/v2_crawler.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_crawler_assets.py b/quantcdn/models/v2_crawler_assets.py index 1dcf8c3..6fb1abc 100644 --- a/quantcdn/models/v2_crawler_assets.py +++ b/quantcdn/models/v2_crawler_assets.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_crawler_assets_network_intercept.py b/quantcdn/models/v2_crawler_assets_network_intercept.py index 39fc803..77a00f7 100644 --- a/quantcdn/models/v2_crawler_assets_network_intercept.py +++ b/quantcdn/models/v2_crawler_assets_network_intercept.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_crawler_assets_parser.py b/quantcdn/models/v2_crawler_assets_parser.py index e2cf8a4..ec52678 100644 --- a/quantcdn/models/v2_crawler_assets_parser.py +++ b/quantcdn/models/v2_crawler_assets_parser.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_crawler_request.py b/quantcdn/models/v2_crawler_request.py index 9eddb4e..228bfe2 100644 --- a/quantcdn/models/v2_crawler_request.py +++ b/quantcdn/models/v2_crawler_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_crawler_run.py b/quantcdn/models/v2_crawler_run.py index 8aea434..486a584 100644 --- a/quantcdn/models/v2_crawler_run.py +++ b/quantcdn/models/v2_crawler_run.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_crawler_schedule.py b/quantcdn/models/v2_crawler_schedule.py index 99e7308..a304f7a 100644 --- a/quantcdn/models/v2_crawler_schedule.py +++ b/quantcdn/models/v2_crawler_schedule.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -33,7 +33,7 @@ class V2CrawlerSchedule(BaseModel): crawler_uuid: Optional[StrictStr] = Field(default=None, description="Crawler UUID") project_id: StrictInt = Field(description="Project ID") crawler_last_run_id: StrictInt = Field(description="Last run ID") - schedule_cron_string: StrictStr = Field(description="Cron schedule string") + schedule_cron_string: StrictStr = Field(description="Standard Unix cron expression with 5 space-separated fields: minute, hour, day-of-month, month, day-of-week. Example: 0 2 * * * runs daily at 2 AM.") created_at: Optional[datetime] = Field(default=None, description="Creation timestamp") updated_at: Optional[datetime] = Field(default=None, description="Last update timestamp") __properties: ClassVar[List[str]] = ["id", "name", "crawler_config_id", "crawler_uuid", "project_id", "crawler_last_run_id", "schedule_cron_string", "created_at", "updated_at"] diff --git a/quantcdn/models/v2_crawler_schedule_request.py b/quantcdn/models/v2_crawler_schedule_request.py index cb99131..0f3cf74 100644 --- a/quantcdn/models/v2_crawler_schedule_request.py +++ b/quantcdn/models/v2_crawler_schedule_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -18,7 +18,7 @@ import json from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List +from typing import Any, ClassVar, Dict, List, Optional from typing import Optional, Set from typing_extensions import Self @@ -26,8 +26,8 @@ class V2CrawlerScheduleRequest(BaseModel): """ V2CrawlerScheduleRequest """ # noqa: E501 - name: StrictStr = Field(description="Schedule name") - schedule_cron_string: StrictStr = Field(description="Cron schedule string") + name: Optional[StrictStr] = Field(default=None, description="Schedule name. If not provided, defaults to 'Schedule {crawler_name}'.") + schedule_cron_string: StrictStr = Field(description="Standard Unix cron expression with 5 space-separated fields: minute, hour, day-of-month, month, day-of-week. Example: 0 2 * * * for daily at 2 AM.") __properties: ClassVar[List[str]] = ["name", "schedule_cron_string"] model_config = ConfigDict( diff --git a/quantcdn/models/v2_crawler_sitemap_inner.py b/quantcdn/models/v2_crawler_sitemap_inner.py index 93b798d..168f21f 100644 --- a/quantcdn/models/v2_crawler_sitemap_inner.py +++ b/quantcdn/models/v2_crawler_sitemap_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_custom_header_request.py b/quantcdn/models/v2_custom_header_request.py index 233e71f..0ec2c0a 100644 --- a/quantcdn/models/v2_custom_header_request.py +++ b/quantcdn/models/v2_custom_header_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_domain.py b/quantcdn/models/v2_domain.py index d8e6f89..ec10c27 100644 --- a/quantcdn/models/v2_domain.py +++ b/quantcdn/models/v2_domain.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_domain_dns_go_live_records_inner.py b/quantcdn/models/v2_domain_dns_go_live_records_inner.py index c3c1fdd..df68b42 100644 --- a/quantcdn/models/v2_domain_dns_go_live_records_inner.py +++ b/quantcdn/models/v2_domain_dns_go_live_records_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_domain_dns_validation_records_inner.py b/quantcdn/models/v2_domain_dns_validation_records_inner.py index 870540c..5d41dae 100644 --- a/quantcdn/models/v2_domain_dns_validation_records_inner.py +++ b/quantcdn/models/v2_domain_dns_validation_records_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_domain_request.py b/quantcdn/models/v2_domain_request.py index 2337b63..4a4fbdc 100644 --- a/quantcdn/models/v2_domain_request.py +++ b/quantcdn/models/v2_domain_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_error.py b/quantcdn/models/v2_error.py index 261ddc4..d46eb8e 100644 --- a/quantcdn/models/v2_error.py +++ b/quantcdn/models/v2_error.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_metric_data.py b/quantcdn/models/v2_metric_data.py new file mode 100644 index 0000000..b785c6e --- /dev/null +++ b/quantcdn/models/v2_metric_data.py @@ -0,0 +1,101 @@ +# coding: utf-8 + +""" + QuantCDN API + + Unified API for QuantCDN Admin and QuantCloud Platform services + + The version of the OpenAPI document: 4.10.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt +from typing import Any, ClassVar, Dict, List, Union +from quantcdn.models.v2_metric_data_point import V2MetricDataPoint +from typing import Optional, Set +from typing_extensions import Self + +class V2MetricData(BaseModel): + """ + V2MetricData + """ # noqa: E501 + series: List[V2MetricDataPoint] = Field(description="Time series data points") + period_total: Union[StrictFloat, StrictInt] = Field(description="Total value for the period") + all_time_total: Union[StrictFloat, StrictInt] = Field(description="All-time total value") + period_average: Union[StrictFloat, StrictInt] = Field(description="Average value per time unit in the period") + __properties: ClassVar[List[str]] = ["series", "period_total", "all_time_total", "period_average"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V2MetricData from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in series (list) + _items = [] + if self.series: + for _item_series in self.series: + if _item_series: + _items.append(_item_series.to_dict()) + _dict['series'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V2MetricData from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "series": [V2MetricDataPoint.from_dict(_item) for _item in obj["series"]] if obj.get("series") is not None else None, + "period_total": obj.get("period_total"), + "all_time_total": obj.get("all_time_total"), + "period_average": obj.get("period_average") + }) + return _obj + + diff --git a/quantcdn/models/v2_metric_data_point.py b/quantcdn/models/v2_metric_data_point.py new file mode 100644 index 0000000..5c80656 --- /dev/null +++ b/quantcdn/models/v2_metric_data_point.py @@ -0,0 +1,93 @@ +# coding: utf-8 + +""" + QuantCDN API + + Unified API for QuantCDN Admin and QuantCloud Platform services + + The version of the OpenAPI document: 4.10.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt +from typing import Any, ClassVar, Dict, List, Union +from quantcdn.models.v2_metric_data_point_timestamp import V2MetricDataPointTimestamp +from typing import Optional, Set +from typing_extensions import Self + +class V2MetricDataPoint(BaseModel): + """ + V2MetricDataPoint + """ # noqa: E501 + timestamp: V2MetricDataPointTimestamp + value: Union[StrictFloat, StrictInt] = Field(description="Metric value at this timestamp") + __properties: ClassVar[List[str]] = ["timestamp", "value"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V2MetricDataPoint from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of timestamp + if self.timestamp: + _dict['timestamp'] = self.timestamp.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V2MetricDataPoint from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "timestamp": V2MetricDataPointTimestamp.from_dict(obj["timestamp"]) if obj.get("timestamp") is not None else None, + "value": obj.get("value") + }) + return _obj + + diff --git a/quantcdn/models/v2_metric_data_point_timestamp.py b/quantcdn/models/v2_metric_data_point_timestamp.py new file mode 100644 index 0000000..75c5fce --- /dev/null +++ b/quantcdn/models/v2_metric_data_point_timestamp.py @@ -0,0 +1,144 @@ +# coding: utf-8 + +""" + QuantCDN API + + Unified API for QuantCDN Admin and QuantCloud Platform services + + The version of the OpenAPI document: 4.10.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +import pprint +from datetime import datetime +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr, ValidationError, field_validator +from typing import Any, List, Optional +from pydantic import StrictStr, Field +from typing import Union, List, Set, Optional, Dict +from typing_extensions import Literal, Self + +V2METRICDATAPOINTTIMESTAMP_ONE_OF_SCHEMAS = ["datetime", "int"] + +class V2MetricDataPointTimestamp(BaseModel): + """ + Timestamp for this data point (format depends on timestamp_format parameter) + """ + # data type: datetime + oneof_schema_1_validator: Optional[datetime] = Field(default=None, description="ISO8601 timestamp") + # data type: int + oneof_schema_2_validator: Optional[StrictInt] = Field(default=None, description="Unix timestamp") + actual_instance: Optional[Union[datetime, int]] = None + one_of_schemas: Set[str] = { "datetime", "int" } + + model_config = ConfigDict( + validate_assignment=True, + protected_namespaces=(), + ) + + + def __init__(self, *args, **kwargs) -> None: + if args: + if len(args) > 1: + raise ValueError("If a position argument is used, only 1 is allowed to set `actual_instance`") + if kwargs: + raise ValueError("If a position argument is used, keyword arguments cannot be used.") + super().__init__(actual_instance=args[0]) + else: + super().__init__(**kwargs) + + @field_validator('actual_instance') + def actual_instance_must_validate_oneof(cls, v): + instance = V2MetricDataPointTimestamp.model_construct() + error_messages = [] + match = 0 + # validate data type: datetime + try: + instance.oneof_schema_1_validator = v + match += 1 + except (ValidationError, ValueError) as e: + error_messages.append(str(e)) + # validate data type: int + try: + instance.oneof_schema_2_validator = v + match += 1 + except (ValidationError, ValueError) as e: + error_messages.append(str(e)) + if match > 1: + # more than 1 match + raise ValueError("Multiple matches found when setting `actual_instance` in V2MetricDataPointTimestamp with oneOf schemas: datetime, int. Details: " + ", ".join(error_messages)) + elif match == 0: + # no match + raise ValueError("No match found when setting `actual_instance` in V2MetricDataPointTimestamp with oneOf schemas: datetime, int. Details: " + ", ".join(error_messages)) + else: + return v + + @classmethod + def from_dict(cls, obj: Union[str, Dict[str, Any]]) -> Self: + return cls.from_json(json.dumps(obj)) + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Returns the object represented by the json string""" + instance = cls.model_construct() + error_messages = [] + match = 0 + + # deserialize data into datetime + try: + # validation + instance.oneof_schema_1_validator = json.loads(json_str) + # assign value to actual_instance + instance.actual_instance = instance.oneof_schema_1_validator + match += 1 + except (ValidationError, ValueError) as e: + error_messages.append(str(e)) + # deserialize data into int + try: + # validation + instance.oneof_schema_2_validator = json.loads(json_str) + # assign value to actual_instance + instance.actual_instance = instance.oneof_schema_2_validator + match += 1 + except (ValidationError, ValueError) as e: + error_messages.append(str(e)) + + if match > 1: + # more than 1 match + raise ValueError("Multiple matches found when deserializing the JSON string into V2MetricDataPointTimestamp with oneOf schemas: datetime, int. Details: " + ", ".join(error_messages)) + elif match == 0: + # no match + raise ValueError("No match found when deserializing the JSON string into V2MetricDataPointTimestamp with oneOf schemas: datetime, int. Details: " + ", ".join(error_messages)) + else: + return instance + + def to_json(self) -> str: + """Returns the JSON representation of the actual instance""" + if self.actual_instance is None: + return "null" + + if hasattr(self.actual_instance, "to_json") and callable(self.actual_instance.to_json): + return self.actual_instance.to_json() + else: + return json.dumps(self.actual_instance) + + def to_dict(self) -> Optional[Union[Dict[str, Any], datetime, int]]: + """Returns the dict representation of the actual instance""" + if self.actual_instance is None: + return None + + if hasattr(self.actual_instance, "to_dict") and callable(self.actual_instance.to_dict): + return self.actual_instance.to_dict() + else: + # primitive type + return self.actual_instance + + def to_str(self) -> str: + """Returns the string representation of the actual instance""" + return pprint.pformat(self.model_dump()) + + diff --git a/quantcdn/models/v2_metrics_meta.py b/quantcdn/models/v2_metrics_meta.py new file mode 100644 index 0000000..00d0c29 --- /dev/null +++ b/quantcdn/models/v2_metrics_meta.py @@ -0,0 +1,116 @@ +# coding: utf-8 + +""" + QuantCDN API + + Unified API for QuantCDN Admin and QuantCloud Platform services + + The version of the OpenAPI document: 4.10.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class V2MetricsMeta(BaseModel): + """ + V2MetricsMeta + """ # noqa: E501 + period: StrictStr = Field(description="The period type for this data") + granularity: StrictStr = Field(description="The granularity of data points") + start_time: StrictStr = Field(description="Start time of the data range (ISO8601 or Unix timestamp based on timestamp_format parameter)") + end_time: StrictStr = Field(description="End time of the data range (ISO8601 or Unix timestamp based on timestamp_format parameter)") + metrics: List[StrictStr] = Field(description="List of metrics included in the response") + domain: Optional[StrictStr] = Field(default=None, description="Domain filter applied (if any)") + __properties: ClassVar[List[str]] = ["period", "granularity", "start_time", "end_time", "metrics", "domain"] + + @field_validator('period') + def period_validate_enum(cls, value): + """Validates the enum""" + if value not in set(['hourly', 'daily', 'monthly']): + raise ValueError("must be one of enum values ('hourly', 'daily', 'monthly')") + return value + + @field_validator('granularity') + def granularity_validate_enum(cls, value): + """Validates the enum""" + if value not in set(['minute', 'day', 'month']): + raise ValueError("must be one of enum values ('minute', 'day', 'month')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V2MetricsMeta from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # set to None if domain (nullable) is None + # and model_fields_set contains the field + if self.domain is None and "domain" in self.model_fields_set: + _dict['domain'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V2MetricsMeta from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "period": obj.get("period"), + "granularity": obj.get("granularity"), + "start_time": obj.get("start_time"), + "end_time": obj.get("end_time"), + "metrics": obj.get("metrics"), + "domain": obj.get("domain") + }) + return _obj + + diff --git a/quantcdn/models/v2_metrics_response.py b/quantcdn/models/v2_metrics_response.py new file mode 100644 index 0000000..619f2fb --- /dev/null +++ b/quantcdn/models/v2_metrics_response.py @@ -0,0 +1,106 @@ +# coding: utf-8 + +""" + QuantCDN API + + Unified API for QuantCDN Admin and QuantCloud Platform services + + The version of the OpenAPI document: 4.10.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from quantcdn.models.v2_metric_data import V2MetricData +from quantcdn.models.v2_metrics_meta import V2MetricsMeta +from typing import Optional, Set +from typing_extensions import Self + +class V2MetricsResponse(BaseModel): + """ + V2MetricsResponse + """ # noqa: E501 + meta: V2MetricsMeta + data: Dict[str, V2MetricData] = Field(description="Metrics data keyed by metric name") + __properties: ClassVar[List[str]] = ["meta", "data"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V2MetricsResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of meta + if self.meta: + _dict['meta'] = self.meta.to_dict() + # override the default output from pydantic by calling `to_dict()` of each value in data (dict) + _field_dict = {} + if self.data: + for _key_data in self.data: + if self.data[_key_data]: + _field_dict[_key_data] = self.data[_key_data].to_dict() + _dict['data'] = _field_dict + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V2MetricsResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "meta": V2MetricsMeta.from_dict(obj["meta"]) if obj.get("meta") is not None else None, + "data": dict( + (_k, V2MetricData.from_dict(_v)) + for _k, _v in obj["data"].items() + ) + if obj.get("data") is not None + else None + }) + return _obj + + diff --git a/quantcdn/models/v2_organization.py b/quantcdn/models/v2_organization.py index a10455a..2ee8a45 100644 --- a/quantcdn/models/v2_organization.py +++ b/quantcdn/models/v2_organization.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_organization_request.py b/quantcdn/models/v2_organization_request.py index b559cba..f703417 100644 --- a/quantcdn/models/v2_organization_request.py +++ b/quantcdn/models/v2_organization_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_project.py b/quantcdn/models/v2_project.py index f0b36fd..8eca93e 100644 --- a/quantcdn/models/v2_project.py +++ b/quantcdn/models/v2_project.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_project_request.py b/quantcdn/models/v2_project_request.py index 54b1bc9..17f74da 100644 --- a/quantcdn/models/v2_project_request.py +++ b/quantcdn/models/v2_project_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_rule.py b/quantcdn/models/v2_rule.py index da59caf..e0c8d90 100644 --- a/quantcdn/models/v2_rule.py +++ b/quantcdn/models/v2_rule.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_rule_auth.py b/quantcdn/models/v2_rule_auth.py index c3a8e58..9b257ad 100644 --- a/quantcdn/models/v2_rule_auth.py +++ b/quantcdn/models/v2_rule_auth.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_rule_auth_action.py b/quantcdn/models/v2_rule_auth_action.py index d20aa28..d937bc0 100644 --- a/quantcdn/models/v2_rule_auth_action.py +++ b/quantcdn/models/v2_rule_auth_action.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_rule_auth_request.py b/quantcdn/models/v2_rule_auth_request.py index 9930d9b..6fcc620 100644 --- a/quantcdn/models/v2_rule_auth_request.py +++ b/quantcdn/models/v2_rule_auth_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_rule_bot_challenge.py b/quantcdn/models/v2_rule_bot_challenge.py index b3828ec..a3db775 100644 --- a/quantcdn/models/v2_rule_bot_challenge.py +++ b/quantcdn/models/v2_rule_bot_challenge.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_rule_bot_challenge_action.py b/quantcdn/models/v2_rule_bot_challenge_action.py index 403d0fd..0322abe 100644 --- a/quantcdn/models/v2_rule_bot_challenge_action.py +++ b/quantcdn/models/v2_rule_bot_challenge_action.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_rule_bot_challenge_request.py b/quantcdn/models/v2_rule_bot_challenge_request.py index d40e59b..8300bf9 100644 --- a/quantcdn/models/v2_rule_bot_challenge_request.py +++ b/quantcdn/models/v2_rule_bot_challenge_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_rule_content_filter.py b/quantcdn/models/v2_rule_content_filter.py index b98d17a..ede9fa3 100644 --- a/quantcdn/models/v2_rule_content_filter.py +++ b/quantcdn/models/v2_rule_content_filter.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_rule_content_filter_action.py b/quantcdn/models/v2_rule_content_filter_action.py index 763ce88..b266d06 100644 --- a/quantcdn/models/v2_rule_content_filter_action.py +++ b/quantcdn/models/v2_rule_content_filter_action.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_rule_content_filter_request.py b/quantcdn/models/v2_rule_content_filter_request.py index 48fc081..c8d88f1 100644 --- a/quantcdn/models/v2_rule_content_filter_request.py +++ b/quantcdn/models/v2_rule_content_filter_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_rule_custom_response.py b/quantcdn/models/v2_rule_custom_response.py index c00bbf6..695f128 100644 --- a/quantcdn/models/v2_rule_custom_response.py +++ b/quantcdn/models/v2_rule_custom_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_rule_custom_response_action.py b/quantcdn/models/v2_rule_custom_response_action.py index 52b4352..210978d 100644 --- a/quantcdn/models/v2_rule_custom_response_action.py +++ b/quantcdn/models/v2_rule_custom_response_action.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_rule_custom_response_request.py b/quantcdn/models/v2_rule_custom_response_request.py index ec64eb1..6b4befa 100644 --- a/quantcdn/models/v2_rule_custom_response_request.py +++ b/quantcdn/models/v2_rule_custom_response_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_rule_function.py b/quantcdn/models/v2_rule_function.py index 1d79e2f..860b0d6 100644 --- a/quantcdn/models/v2_rule_function.py +++ b/quantcdn/models/v2_rule_function.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_rule_function_action.py b/quantcdn/models/v2_rule_function_action.py index 4ffbd58..a5ab6af 100644 --- a/quantcdn/models/v2_rule_function_action.py +++ b/quantcdn/models/v2_rule_function_action.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_rule_function_request.py b/quantcdn/models/v2_rule_function_request.py index 531cabf..5548f11 100644 --- a/quantcdn/models/v2_rule_function_request.py +++ b/quantcdn/models/v2_rule_function_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_rule_header.py b/quantcdn/models/v2_rule_header.py index 6123552..9089171 100644 --- a/quantcdn/models/v2_rule_header.py +++ b/quantcdn/models/v2_rule_header.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_rule_header_action.py b/quantcdn/models/v2_rule_header_action.py index 9fbf4ef..1c378d3 100644 --- a/quantcdn/models/v2_rule_header_action.py +++ b/quantcdn/models/v2_rule_header_action.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_rule_header_request.py b/quantcdn/models/v2_rule_header_request.py index 1422f00..97f8846 100644 --- a/quantcdn/models/v2_rule_header_request.py +++ b/quantcdn/models/v2_rule_header_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_rule_proxy.py b/quantcdn/models/v2_rule_proxy.py index 2cb9dbc..ec92f49 100644 --- a/quantcdn/models/v2_rule_proxy.py +++ b/quantcdn/models/v2_rule_proxy.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_rule_proxy_action.py b/quantcdn/models/v2_rule_proxy_action.py index f3782f3..5bfc200 100644 --- a/quantcdn/models/v2_rule_proxy_action.py +++ b/quantcdn/models/v2_rule_proxy_action.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_rule_proxy_action_notify_config.py b/quantcdn/models/v2_rule_proxy_action_notify_config.py index 8f1b87a..41f76ae 100644 --- a/quantcdn/models/v2_rule_proxy_action_notify_config.py +++ b/quantcdn/models/v2_rule_proxy_action_notify_config.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_rule_proxy_action_quant_cloud_selection.py b/quantcdn/models/v2_rule_proxy_action_quant_cloud_selection.py index 7cc2a57..dbdc2b6 100644 --- a/quantcdn/models/v2_rule_proxy_action_quant_cloud_selection.py +++ b/quantcdn/models/v2_rule_proxy_action_quant_cloud_selection.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_rule_proxy_request.py b/quantcdn/models/v2_rule_proxy_request.py index 309c488..8baad02 100644 --- a/quantcdn/models/v2_rule_proxy_request.py +++ b/quantcdn/models/v2_rule_proxy_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_rule_redirect.py b/quantcdn/models/v2_rule_redirect.py index 4983488..71fcf75 100644 --- a/quantcdn/models/v2_rule_redirect.py +++ b/quantcdn/models/v2_rule_redirect.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_rule_redirect_action.py b/quantcdn/models/v2_rule_redirect_action.py index b17a02f..5a498c6 100644 --- a/quantcdn/models/v2_rule_redirect_action.py +++ b/quantcdn/models/v2_rule_redirect_action.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_rule_redirect_request.py b/quantcdn/models/v2_rule_redirect_request.py index 4d2a70e..c3b244c 100644 --- a/quantcdn/models/v2_rule_redirect_request.py +++ b/quantcdn/models/v2_rule_redirect_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_rule_request.py b/quantcdn/models/v2_rule_request.py index b1a51fb..338524f 100644 --- a/quantcdn/models/v2_rule_request.py +++ b/quantcdn/models/v2_rule_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_rule_serve_static.py b/quantcdn/models/v2_rule_serve_static.py index 487f4fe..ff4e7e1 100644 --- a/quantcdn/models/v2_rule_serve_static.py +++ b/quantcdn/models/v2_rule_serve_static.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_rule_serve_static_action.py b/quantcdn/models/v2_rule_serve_static_action.py index c9943ee..8d74059 100644 --- a/quantcdn/models/v2_rule_serve_static_action.py +++ b/quantcdn/models/v2_rule_serve_static_action.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_rule_serve_static_request.py b/quantcdn/models/v2_rule_serve_static_request.py index 39f22d0..7c1eb59 100644 --- a/quantcdn/models/v2_rule_serve_static_request.py +++ b/quantcdn/models/v2_rule_serve_static_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_secret_store.py b/quantcdn/models/v2_secret_store.py index 73e4056..6afc0d0 100644 --- a/quantcdn/models/v2_secret_store.py +++ b/quantcdn/models/v2_secret_store.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_secret_store_request.py b/quantcdn/models/v2_secret_store_request.py index 2858139..fd56f4f 100644 --- a/quantcdn/models/v2_secret_store_request.py +++ b/quantcdn/models/v2_secret_store_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_store.py b/quantcdn/models/v2_store.py index 9e1b7cd..a3f1c7b 100644 --- a/quantcdn/models/v2_store.py +++ b/quantcdn/models/v2_store.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_store_item.py b/quantcdn/models/v2_store_item.py index ddac216..f133c56 100644 --- a/quantcdn/models/v2_store_item.py +++ b/quantcdn/models/v2_store_item.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_store_item_request.py b/quantcdn/models/v2_store_item_request.py index b4445e0..997df3c 100644 --- a/quantcdn/models/v2_store_item_request.py +++ b/quantcdn/models/v2_store_item_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_store_item_update_request.py b/quantcdn/models/v2_store_item_update_request.py index d8f780e..11f62e1 100644 --- a/quantcdn/models/v2_store_item_update_request.py +++ b/quantcdn/models/v2_store_item_update_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_store_items_list_response.py b/quantcdn/models/v2_store_items_list_response.py index 808270b..114c113 100644 --- a/quantcdn/models/v2_store_items_list_response.py +++ b/quantcdn/models/v2_store_items_list_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/v2_store_request.py b/quantcdn/models/v2_store_request.py index 5fc5ce9..e2d90ba 100644 --- a/quantcdn/models/v2_store_request.py +++ b/quantcdn/models/v2_store_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/validate_compose200_response.py b/quantcdn/models/validate_compose200_response.py index 165ee3e..18c97b0 100644 --- a/quantcdn/models/validate_compose200_response.py +++ b/quantcdn/models/validate_compose200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/validate_compose422_response.py b/quantcdn/models/validate_compose422_response.py index 254ca7f..8d4c38b 100644 --- a/quantcdn/models/validate_compose422_response.py +++ b/quantcdn/models/validate_compose422_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/validate_compose_request.py b/quantcdn/models/validate_compose_request.py index 6fdd3bc..f9c26d0 100644 --- a/quantcdn/models/validate_compose_request.py +++ b/quantcdn/models/validate_compose_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/variable.py b/quantcdn/models/variable.py index 313d250..e65d686 100644 --- a/quantcdn/models/variable.py +++ b/quantcdn/models/variable.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/volume.py b/quantcdn/models/volume.py index c8f6f2b..a7bc1c8 100644 --- a/quantcdn/models/volume.py +++ b/quantcdn/models/volume.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/waf_config.py b/quantcdn/models/waf_config.py index d67d39d..c5abcbd 100644 --- a/quantcdn/models/waf_config.py +++ b/quantcdn/models/waf_config.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/waf_config_block_lists.py b/quantcdn/models/waf_config_block_lists.py index 84f2361..c8ea607 100644 --- a/quantcdn/models/waf_config_block_lists.py +++ b/quantcdn/models/waf_config_block_lists.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/waf_config_httpbl.py b/quantcdn/models/waf_config_httpbl.py index d3fed9b..105dad0 100644 --- a/quantcdn/models/waf_config_httpbl.py +++ b/quantcdn/models/waf_config_httpbl.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/models/waf_config_thresholds_inner.py b/quantcdn/models/waf_config_thresholds_inner.py index 2cb6929..6730e22 100644 --- a/quantcdn/models/waf_config_thresholds_inner.py +++ b/quantcdn/models/waf_config_thresholds_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/quantcdn/rest.py b/quantcdn/rest.py index 9269c3d..11d09b0 100644 --- a/quantcdn/rest.py +++ b/quantcdn/rest.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/setup.py b/setup.py index 5e8461b..b5305f9 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -21,7 +21,7 @@ # prerequisite: setuptools # http://pypi.python.org/pypi/setuptools NAME = "quantcdn-client" -VERSION = "4.9.0" +VERSION = "4.10.0" PYTHON_REQUIRES = ">= 3.9" REQUIRES = [ "urllib3 >= 2.1.0, < 3.0.0", diff --git a/test/test_ai_agents_api.py b/test/test_ai_agents_api.py index 32c0d6a..6a958e8 100644 --- a/test/test_ai_agents_api.py +++ b/test/test_ai_agents_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_ai_custom_tools_api.py b/test/test_ai_custom_tools_api.py index ccc184a..fcf93bb 100644 --- a/test/test_ai_custom_tools_api.py +++ b/test/test_ai_custom_tools_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_ai_file_storage_api.py b/test/test_ai_file_storage_api.py index ca714ed..f991dbb 100644 --- a/test/test_ai_file_storage_api.py +++ b/test/test_ai_file_storage_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_ai_inference_api.py b/test/test_ai_inference_api.py index 941fd74..ffe375a 100644 --- a/test/test_ai_inference_api.py +++ b/test/test_ai_inference_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_ai_models_api.py b/test/test_ai_models_api.py index 9ca7892..f311cb4 100644 --- a/test/test_ai_models_api.py +++ b/test/test_ai_models_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_ai_monitoring_api.py b/test/test_ai_monitoring_api.py index d589590..434ef28 100644 --- a/test/test_ai_monitoring_api.py +++ b/test/test_ai_monitoring_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_ai_orchestrations_api.py b/test/test_ai_orchestrations_api.py new file mode 100644 index 0000000..8cf21ba --- /dev/null +++ b/test/test_ai_orchestrations_api.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + QuantCDN API + + Unified API for QuantCDN Admin and QuantCloud Platform services + + The version of the OpenAPI document: 4.10.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from quantcdn.api.ai_orchestrations_api import AIOrchestrationsApi + + +class TestAIOrchestrationsApi(unittest.TestCase): + """AIOrchestrationsApi unit test stubs""" + + def setUp(self) -> None: + self.api = AIOrchestrationsApi() + + def tearDown(self) -> None: + pass + + def test_cancel_orchestration(self) -> None: + """Test case for cancel_orchestration + + Cancel Durable Orchestration + """ + pass + + def test_create_orchestration(self) -> None: + """Test case for create_orchestration + + Create Durable Orchestration + """ + pass + + def test_delete_orchestration(self) -> None: + """Test case for delete_orchestration + + Delete Durable Orchestration + """ + pass + + def test_get_orchestration(self) -> None: + """Test case for get_orchestration + + Get Durable Orchestration + """ + pass + + def test_list_orchestration_batches(self) -> None: + """Test case for list_orchestration_batches + + List Orchestration Batches + """ + pass + + def test_list_orchestrations(self) -> None: + """Test case for list_orchestrations + + List Durable Orchestrations + """ + pass + + def test_pause_orchestration(self) -> None: + """Test case for pause_orchestration + + Pause Durable Orchestration + """ + pass + + def test_resume_orchestration(self) -> None: + """Test case for resume_orchestration + + Resume Durable Orchestration + """ + pass + + def test_start_orchestration(self) -> None: + """Test case for start_orchestration + + Start Durable Orchestration + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_ai_sessions_api.py b/test/test_ai_sessions_api.py index 4e888e6..27bc801 100644 --- a/test/test_ai_sessions_api.py +++ b/test/test_ai_sessions_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_ai_task_management_api.py b/test/test_ai_task_management_api.py index 0402fb1..efdee94 100644 --- a/test/test_ai_task_management_api.py +++ b/test/test_ai_task_management_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_ai_tools_api.py b/test/test_ai_tools_api.py index 7cae802..ebc2d37 100644 --- a/test/test_ai_tools_api.py +++ b/test/test_ai_tools_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -29,7 +29,7 @@ def tearDown(self) -> None: def test_get_ai_orchestration_status(self) -> None: """Test case for get_ai_orchestration_status - Get Orchestration Status + Get Tool Orchestration Status (Async Tool Polling) """ pass diff --git a/test/test_ai_vector_database_api.py b/test/test_ai_vector_database_api.py index ca10ff6..4802444 100644 --- a/test/test_ai_vector_database_api.py +++ b/test/test_ai_vector_database_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -40,6 +40,13 @@ def test_delete_vector_collection(self) -> None: """ pass + def test_delete_vector_documents(self) -> None: + """Test case for delete_vector_documents + + Delete Documents from Collection + """ + pass + def test_get_vector_collection(self) -> None: """Test case for get_vector_collection diff --git a/test/test_application.py b/test/test_application.py index 0d6e55a..f92c829 100644 --- a/test/test_application.py +++ b/test/test_application.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_application_database.py b/test/test_application_database.py index 60d5873..6e669c9 100644 --- a/test/test_application_database.py +++ b/test/test_application_database.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_application_deployment_information_inner.py b/test/test_application_deployment_information_inner.py index 70862aa..31f8161 100644 --- a/test/test_application_deployment_information_inner.py +++ b/test/test_application_deployment_information_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_application_environments_inner.py b/test/test_application_environments_inner.py index 0cb50a8..5e84108 100644 --- a/test/test_application_environments_inner.py +++ b/test/test_application_environments_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_application_filesystem.py b/test/test_application_filesystem.py index 74ee292..ce9f2c6 100644 --- a/test/test_application_filesystem.py +++ b/test/test_application_filesystem.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_application_image_reference.py b/test/test_application_image_reference.py index 6309ed5..450e1d8 100644 --- a/test/test_application_image_reference.py +++ b/test/test_application_image_reference.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_applications_api.py b/test/test_applications_api.py index 1ee18a9..2e62a4f 100644 --- a/test/test_applications_api.py +++ b/test/test_applications_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_backup_management_api.py b/test/test_backup_management_api.py index c0d7a92..04f4452 100644 --- a/test/test_backup_management_api.py +++ b/test/test_backup_management_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_bulk_set_environment_variables_request.py b/test/test_bulk_set_environment_variables_request.py index 7adeebd..ccf97d6 100644 --- a/test/test_bulk_set_environment_variables_request.py +++ b/test/test_bulk_set_environment_variables_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_bulk_set_environment_variables_request_environment_inner.py b/test/test_bulk_set_environment_variables_request_environment_inner.py index afbf444..560212d 100644 --- a/test/test_bulk_set_environment_variables_request_environment_inner.py +++ b/test/test_bulk_set_environment_variables_request_environment_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_cdn_metrics_api.py b/test/test_cdn_metrics_api.py new file mode 100644 index 0000000..338fa0d --- /dev/null +++ b/test/test_cdn_metrics_api.py @@ -0,0 +1,52 @@ +# coding: utf-8 + +""" + QuantCDN API + + Unified API for QuantCDN Admin and QuantCloud Platform services + + The version of the OpenAPI document: 4.10.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from quantcdn.api.cdn_metrics_api import CDNMetricsApi + + +class TestCDNMetricsApi(unittest.TestCase): + """CDNMetricsApi unit test stubs""" + + def setUp(self) -> None: + self.api = CDNMetricsApi() + + def tearDown(self) -> None: + pass + + def test_get_daily_metrics(self) -> None: + """Test case for get_daily_metrics + + Get daily metrics + """ + pass + + def test_get_hourly_metrics(self) -> None: + """Test case for get_hourly_metrics + + Get hourly metrics + """ + pass + + def test_get_monthly_metrics(self) -> None: + """Test case for get_monthly_metrics + + Get monthly metrics + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_chat_inference200_response.py b/test/test_chat_inference200_response.py index 1eff608..c3e9478 100644 --- a/test/test_chat_inference200_response.py +++ b/test/test_chat_inference200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_chat_inference200_response_response.py b/test/test_chat_inference200_response_response.py index 14f627a..d356931 100644 --- a/test/test_chat_inference200_response_response.py +++ b/test/test_chat_inference200_response_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_chat_inference200_response_response_tool_use.py b/test/test_chat_inference200_response_response_tool_use.py index 39b6652..8916c49 100644 --- a/test/test_chat_inference200_response_response_tool_use.py +++ b/test/test_chat_inference200_response_response_tool_use.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_chat_inference200_response_response_tool_use_one_of.py b/test/test_chat_inference200_response_response_tool_use_one_of.py index 7996fd6..43c9c44 100644 --- a/test/test_chat_inference200_response_response_tool_use_one_of.py +++ b/test/test_chat_inference200_response_response_tool_use_one_of.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_chat_inference200_response_response_tool_use_one_of1_inner.py b/test/test_chat_inference200_response_response_tool_use_one_of1_inner.py index 1e49696..8a27691 100644 --- a/test/test_chat_inference200_response_response_tool_use_one_of1_inner.py +++ b/test/test_chat_inference200_response_response_tool_use_one_of1_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_chat_inference200_response_response_tool_use_one_of_result.py b/test/test_chat_inference200_response_response_tool_use_one_of_result.py index f25cb3d..7634af4 100644 --- a/test/test_chat_inference200_response_response_tool_use_one_of_result.py +++ b/test/test_chat_inference200_response_response_tool_use_one_of_result.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_chat_inference200_response_usage.py b/test/test_chat_inference200_response_usage.py index 92a6ce4..237676a 100644 --- a/test/test_chat_inference200_response_usage.py +++ b/test/test_chat_inference200_response_usage.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_chat_inference202_response.py b/test/test_chat_inference202_response.py index 3bea1ec..f3688c8 100644 --- a/test/test_chat_inference202_response.py +++ b/test/test_chat_inference202_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_chat_inference_request.py b/test/test_chat_inference_request.py index af5dcbc..f9bfb1a 100644 --- a/test/test_chat_inference_request.py +++ b/test/test_chat_inference_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -66,7 +66,12 @@ def make_instance(self, include_optional) -> ChatInferenceRequest: '' ], ), session_id = '', - var_async = True + var_async = True, + allowed_tools = ["get_weather","generate_image"], + guardrails = quantcdn.models.chat_inference_request_guardrails.chatInference_request_guardrails( + guardrail_identifier = '', + guardrail_version = '', + trace = 'enabled', ) ) else: return ChatInferenceRequest( diff --git a/test/test_chat_inference_request_guardrails.py b/test/test_chat_inference_request_guardrails.py new file mode 100644 index 0000000..f5db26c --- /dev/null +++ b/test/test_chat_inference_request_guardrails.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + QuantCDN API + + Unified API for QuantCDN Admin and QuantCloud Platform services + + The version of the OpenAPI document: 4.10.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from quantcdn.models.chat_inference_request_guardrails import ChatInferenceRequestGuardrails + +class TestChatInferenceRequestGuardrails(unittest.TestCase): + """ChatInferenceRequestGuardrails unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ChatInferenceRequestGuardrails: + """Test ChatInferenceRequestGuardrails + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `ChatInferenceRequestGuardrails` + """ + model = ChatInferenceRequestGuardrails() + if include_optional: + return ChatInferenceRequestGuardrails( + guardrail_identifier = '', + guardrail_version = '', + trace = 'enabled' + ) + else: + return ChatInferenceRequestGuardrails( + ) + """ + + def testChatInferenceRequestGuardrails(self): + """Test ChatInferenceRequestGuardrails""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_chat_inference_request_messages_inner.py b/test/test_chat_inference_request_messages_inner.py index 7fc04d9..b7c462f 100644 --- a/test/test_chat_inference_request_messages_inner.py +++ b/test/test_chat_inference_request_messages_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_chat_inference_request_messages_inner_content.py b/test/test_chat_inference_request_messages_inner_content.py index 1eeee40..46db473 100644 --- a/test/test_chat_inference_request_messages_inner_content.py +++ b/test/test_chat_inference_request_messages_inner_content.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_chat_inference_request_messages_inner_content_one_of_inner.py b/test/test_chat_inference_request_messages_inner_content_one_of_inner.py index 14d36e4..ebb6d8b 100644 --- a/test/test_chat_inference_request_messages_inner_content_one_of_inner.py +++ b/test/test_chat_inference_request_messages_inner_content_one_of_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_chat_inference_request_messages_inner_content_one_of_inner_one_of.py b/test/test_chat_inference_request_messages_inner_content_one_of_inner_one_of.py index 5bc6441..ae1ab0c 100644 --- a/test/test_chat_inference_request_messages_inner_content_one_of_inner_one_of.py +++ b/test/test_chat_inference_request_messages_inner_content_one_of_inner_one_of.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_chat_inference_request_messages_inner_content_one_of_inner_one_of1.py b/test/test_chat_inference_request_messages_inner_content_one_of_inner_one_of1.py index deec9cf..fc809af 100644 --- a/test/test_chat_inference_request_messages_inner_content_one_of_inner_one_of1.py +++ b/test/test_chat_inference_request_messages_inner_content_one_of_inner_one_of1.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_chat_inference_request_messages_inner_content_one_of_inner_one_of1_image.py b/test/test_chat_inference_request_messages_inner_content_one_of_inner_one_of1_image.py index 1bba4d3..41c2d93 100644 --- a/test/test_chat_inference_request_messages_inner_content_one_of_inner_one_of1_image.py +++ b/test/test_chat_inference_request_messages_inner_content_one_of_inner_one_of1_image.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_chat_inference_request_messages_inner_content_one_of_inner_one_of1_image_source.py b/test/test_chat_inference_request_messages_inner_content_one_of_inner_one_of1_image_source.py index 78babc5..f4ab868 100644 --- a/test/test_chat_inference_request_messages_inner_content_one_of_inner_one_of1_image_source.py +++ b/test/test_chat_inference_request_messages_inner_content_one_of_inner_one_of1_image_source.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_chat_inference_request_messages_inner_content_one_of_inner_one_of2.py b/test/test_chat_inference_request_messages_inner_content_one_of_inner_one_of2.py index 2d6cc94..c3a8957 100644 --- a/test/test_chat_inference_request_messages_inner_content_one_of_inner_one_of2.py +++ b/test/test_chat_inference_request_messages_inner_content_one_of_inner_one_of2.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_chat_inference_request_messages_inner_content_one_of_inner_one_of2_video.py b/test/test_chat_inference_request_messages_inner_content_one_of_inner_one_of2_video.py index 8f37d1b..4c33957 100644 --- a/test/test_chat_inference_request_messages_inner_content_one_of_inner_one_of2_video.py +++ b/test/test_chat_inference_request_messages_inner_content_one_of_inner_one_of2_video.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_chat_inference_request_messages_inner_content_one_of_inner_one_of2_video_source.py b/test/test_chat_inference_request_messages_inner_content_one_of_inner_one_of2_video_source.py index 1a6bac4..7948a54 100644 --- a/test/test_chat_inference_request_messages_inner_content_one_of_inner_one_of2_video_source.py +++ b/test/test_chat_inference_request_messages_inner_content_one_of_inner_one_of2_video_source.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_chat_inference_request_messages_inner_content_one_of_inner_one_of3.py b/test/test_chat_inference_request_messages_inner_content_one_of_inner_one_of3.py index b02c9d7..27869ad 100644 --- a/test/test_chat_inference_request_messages_inner_content_one_of_inner_one_of3.py +++ b/test/test_chat_inference_request_messages_inner_content_one_of_inner_one_of3.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_chat_inference_request_messages_inner_content_one_of_inner_one_of3_document.py b/test/test_chat_inference_request_messages_inner_content_one_of_inner_one_of3_document.py index 0f3c5f6..6ed5b9f 100644 --- a/test/test_chat_inference_request_messages_inner_content_one_of_inner_one_of3_document.py +++ b/test/test_chat_inference_request_messages_inner_content_one_of_inner_one_of3_document.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_chat_inference_request_messages_inner_content_one_of_inner_one_of3_document_source.py b/test/test_chat_inference_request_messages_inner_content_one_of_inner_one_of3_document_source.py index 405e8d6..a459f70 100644 --- a/test/test_chat_inference_request_messages_inner_content_one_of_inner_one_of3_document_source.py +++ b/test/test_chat_inference_request_messages_inner_content_one_of_inner_one_of3_document_source.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_chat_inference_request_response_format.py b/test/test_chat_inference_request_response_format.py index 603b8d0..b3ec7c4 100644 --- a/test/test_chat_inference_request_response_format.py +++ b/test/test_chat_inference_request_response_format.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_chat_inference_request_tool_config.py b/test/test_chat_inference_request_tool_config.py index f5d13e3..ad49001 100644 --- a/test/test_chat_inference_request_tool_config.py +++ b/test/test_chat_inference_request_tool_config.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_chat_inference_request_tool_config_tools_inner.py b/test/test_chat_inference_request_tool_config_tools_inner.py index a43b828..6e9962b 100644 --- a/test/test_chat_inference_request_tool_config_tools_inner.py +++ b/test/test_chat_inference_request_tool_config_tools_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_chat_inference_request_tool_config_tools_inner_tool_spec.py b/test/test_chat_inference_request_tool_config_tools_inner_tool_spec.py index a9d4b2e..fe91960 100644 --- a/test/test_chat_inference_request_tool_config_tools_inner_tool_spec.py +++ b/test/test_chat_inference_request_tool_config_tools_inner_tool_spec.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_chat_inference_request_tool_config_tools_inner_tool_spec_input_schema.py b/test/test_chat_inference_request_tool_config_tools_inner_tool_spec_input_schema.py index cdcd594..70184d3 100644 --- a/test/test_chat_inference_request_tool_config_tools_inner_tool_spec_input_schema.py +++ b/test/test_chat_inference_request_tool_config_tools_inner_tool_spec_input_schema.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_chat_inference_stream_request.py b/test/test_chat_inference_stream_request.py index e548f59..8319c46 100644 --- a/test/test_chat_inference_stream_request.py +++ b/test/test_chat_inference_stream_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -65,7 +65,12 @@ def make_instance(self, include_optional) -> ChatInferenceStreamRequest: '' ], ), session_id = '', - var_async = True + var_async = True, + allowed_tools = ["get_weather","generate_image"], + guardrails = quantcdn.models.chat_inference_request_guardrails.chatInference_request_guardrails( + guardrail_identifier = '', + guardrail_version = '', + trace = 'enabled', ) ) else: return ChatInferenceStreamRequest( diff --git a/test/test_chat_inference_stream_request_messages_inner.py b/test/test_chat_inference_stream_request_messages_inner.py index b0d58a7..36b08d5 100644 --- a/test/test_chat_inference_stream_request_messages_inner.py +++ b/test/test_chat_inference_stream_request_messages_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_chat_inference_stream_request_messages_inner_content.py b/test/test_chat_inference_stream_request_messages_inner_content.py index b1e717e..b723be8 100644 --- a/test/test_chat_inference_stream_request_messages_inner_content.py +++ b/test/test_chat_inference_stream_request_messages_inner_content.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_chat_with_ai_agent200_response.py b/test/test_chat_with_ai_agent200_response.py index ab9aa26..bffcef6 100644 --- a/test/test_chat_with_ai_agent200_response.py +++ b/test/test_chat_with_ai_agent200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_chat_with_ai_agent200_response_response.py b/test/test_chat_with_ai_agent200_response_response.py index 3ede808..b96e0b6 100644 --- a/test/test_chat_with_ai_agent200_response_response.py +++ b/test/test_chat_with_ai_agent200_response_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_chat_with_ai_agent200_response_response_usage.py b/test/test_chat_with_ai_agent200_response_response_usage.py index ca867d6..bc02a02 100644 --- a/test/test_chat_with_ai_agent200_response_response_usage.py +++ b/test/test_chat_with_ai_agent200_response_response_usage.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_chat_with_ai_agent202_response.py b/test/test_chat_with_ai_agent202_response.py index b283fde..ff8d65d 100644 --- a/test/test_chat_with_ai_agent202_response.py +++ b/test/test_chat_with_ai_agent202_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_chat_with_ai_agent_request.py b/test/test_chat_with_ai_agent_request.py index 1d4f3d0..0bc3da5 100644 --- a/test/test_chat_with_ai_agent_request.py +++ b/test/test_chat_with_ai_agent_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_command.py b/test/test_command.py index 977434e..f4fab91 100644 --- a/test/test_command.py +++ b/test/test_command.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_commands_api.py b/test/test_commands_api.py index c44678c..19b6994 100644 --- a/test/test_commands_api.py +++ b/test/test_commands_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_compose.py b/test/test_compose.py index 254737b..0ba00da 100644 --- a/test/test_compose.py +++ b/test/test_compose.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_compose_api.py b/test/test_compose_api.py index 271cd8a..6fe42a4 100644 --- a/test/test_compose_api.py +++ b/test/test_compose_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_container.py b/test/test_container.py index 26ef7b3..6e5552c 100644 --- a/test/test_container.py +++ b/test/test_container.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_container_depends_on_inner.py b/test/test_container_depends_on_inner.py index 82fc066..77b69df 100644 --- a/test/test_container_depends_on_inner.py +++ b/test/test_container_depends_on_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_container_environment_inner.py b/test/test_container_environment_inner.py index 3e42d17..d50bd2c 100644 --- a/test/test_container_environment_inner.py +++ b/test/test_container_environment_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_container_health_check.py b/test/test_container_health_check.py index 8b53e5a..f83bc29 100644 --- a/test/test_container_health_check.py +++ b/test/test_container_health_check.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_container_image_reference.py b/test/test_container_image_reference.py index b9e4488..fc010d8 100644 --- a/test/test_container_image_reference.py +++ b/test/test_container_image_reference.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_container_mount_points_inner.py b/test/test_container_mount_points_inner.py index 1189cf7..38a5868 100644 --- a/test/test_container_mount_points_inner.py +++ b/test/test_container_mount_points_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_container_origin_protection_config.py b/test/test_container_origin_protection_config.py index 19b4c4b..dc26352 100644 --- a/test/test_container_origin_protection_config.py +++ b/test/test_container_origin_protection_config.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_container_secrets_inner.py b/test/test_container_secrets_inner.py index d97081e..dba4f3c 100644 --- a/test/test_container_secrets_inner.py +++ b/test/test_container_secrets_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_containers_api.py b/test/test_containers_api.py index 7d24ed1..626b84f 100644 --- a/test/test_containers_api.py +++ b/test/test_containers_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_crawler_schedules_api.py b/test/test_crawler_schedules_api.py index 1335164..4b297df 100644 --- a/test/test_crawler_schedules_api.py +++ b/test/test_crawler_schedules_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_crawlers_api.py b/test/test_crawlers_api.py index 625fb89..daf1b63 100644 --- a/test/test_crawlers_api.py +++ b/test/test_crawlers_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_crawlers_run200_response.py b/test/test_crawlers_run200_response.py index 7105974..fa874f7 100644 --- a/test/test_crawlers_run200_response.py +++ b/test/test_crawlers_run200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_crawlers_run_request.py b/test/test_crawlers_run_request.py index 739cecb..d9f156d 100644 --- a/test/test_crawlers_run_request.py +++ b/test/test_crawlers_run_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_ai_agent201_response.py b/test/test_create_ai_agent201_response.py index 3187c25..0eed2df 100644 --- a/test/test_create_ai_agent201_response.py +++ b/test/test_create_ai_agent201_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_ai_agent_request.py b/test/test_create_ai_agent_request.py index cd55b39..385dc23 100644 --- a/test/test_create_ai_agent_request.py +++ b/test/test_create_ai_agent_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_ai_session201_response.py b/test/test_create_ai_session201_response.py index d41f6a8..44731cf 100644 --- a/test/test_create_ai_session201_response.py +++ b/test/test_create_ai_session201_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_ai_session_request.py b/test/test_create_ai_session_request.py index 4c02ba8..9c7b500 100644 --- a/test/test_create_ai_session_request.py +++ b/test/test_create_ai_session_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_ai_session_request_initial_messages_inner.py b/test/test_create_ai_session_request_initial_messages_inner.py index bdd58c2..7812fb1 100644 --- a/test/test_create_ai_session_request_initial_messages_inner.py +++ b/test/test_create_ai_session_request_initial_messages_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_application403_response.py b/test/test_create_application403_response.py index f409086..0acf4dd 100644 --- a/test/test_create_application403_response.py +++ b/test/test_create_application403_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_application_request.py b/test/test_create_application_request.py index e1a6d9b..be74f14 100644 --- a/test/test_create_application_request.py +++ b/test/test_create_application_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_application_request_database.py b/test/test_create_application_request_database.py index 03cc5ca..7a0df6a 100644 --- a/test/test_create_application_request_database.py +++ b/test/test_create_application_request_database.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_application_request_environment_inner.py b/test/test_create_application_request_environment_inner.py index 322854d..04f0f4d 100644 --- a/test/test_create_application_request_environment_inner.py +++ b/test/test_create_application_request_environment_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_application_request_filesystem.py b/test/test_create_application_request_filesystem.py index 98b66bb..b6ef12e 100644 --- a/test/test_create_application_request_filesystem.py +++ b/test/test_create_application_request_filesystem.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_backup202_response.py b/test/test_create_backup202_response.py index b0ca230..f2ffec1 100644 --- a/test/test_create_backup202_response.py +++ b/test/test_create_backup202_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_backup_request.py b/test/test_create_backup_request.py index 7c2e24b..a7b40b6 100644 --- a/test/test_create_backup_request.py +++ b/test/test_create_backup_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_command_request.py b/test/test_create_command_request.py index 221f2b7..2569772 100644 --- a/test/test_create_command_request.py +++ b/test/test_create_command_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_cron_job_request.py b/test/test_create_cron_job_request.py index 3922166..b435578 100644 --- a/test/test_create_cron_job_request.py +++ b/test/test_create_cron_job_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_custom_tool201_response.py b/test/test_create_custom_tool201_response.py index 9d9ed48..3428d1f 100644 --- a/test/test_create_custom_tool201_response.py +++ b/test/test_create_custom_tool201_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_custom_tool_request.py b/test/test_create_custom_tool_request.py index babba14..ff4b92a 100644 --- a/test/test_create_custom_tool_request.py +++ b/test/test_create_custom_tool_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_environment403_response.py b/test/test_create_environment403_response.py index 94cb891..02e285f 100644 --- a/test/test_create_environment403_response.py +++ b/test/test_create_environment403_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_environment_request.py b/test/test_create_environment_request.py index c227484..f388173 100644 --- a/test/test_create_environment_request.py +++ b/test/test_create_environment_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_environment_request_environment_inner.py b/test/test_create_environment_request_environment_inner.py index e75388f..20e2c2d 100644 --- a/test/test_create_environment_request_environment_inner.py +++ b/test/test_create_environment_request_environment_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_orchestration_request.py b/test/test_create_orchestration_request.py new file mode 100644 index 0000000..fab8f2f --- /dev/null +++ b/test/test_create_orchestration_request.py @@ -0,0 +1,80 @@ +# coding: utf-8 + +""" + QuantCDN API + + Unified API for QuantCDN Admin and QuantCloud Platform services + + The version of the OpenAPI document: 4.10.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from quantcdn.models.create_orchestration_request import CreateOrchestrationRequest + +class TestCreateOrchestrationRequest(unittest.TestCase): + """CreateOrchestrationRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CreateOrchestrationRequest: + """Test CreateOrchestrationRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `CreateOrchestrationRequest` + """ + model = CreateOrchestrationRequest() + if include_optional: + return CreateOrchestrationRequest( + name = 'Process batch documents', + description = '', + agent_id = '', + tool_id = '', + workflow_id = '', + input_source = quantcdn.models.create_orchestration_request_input_source.createOrchestration_request_inputSource( + type = 'static', + items = [ + None + ], + task_query = quantcdn.models.task_query.taskQuery(), + generator_prompt = '', ), + batch_size = 1, + concurrency = 1, + stop_condition = quantcdn.models.create_orchestration_request_stop_condition.createOrchestration_request_stopCondition( + type = 'all_complete', + max_iterations = 1, + condition_prompt = '', ), + assigned_skills = [ + '' + ], + auto_start = True + ) + else: + return CreateOrchestrationRequest( + name = 'Process batch documents', + input_source = quantcdn.models.create_orchestration_request_input_source.createOrchestration_request_inputSource( + type = 'static', + items = [ + None + ], + task_query = quantcdn.models.task_query.taskQuery(), + generator_prompt = '', ), + ) + """ + + def testCreateOrchestrationRequest(self): + """Test CreateOrchestrationRequest""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_create_orchestration_request_input_source.py b/test/test_create_orchestration_request_input_source.py new file mode 100644 index 0000000..79a6d41 --- /dev/null +++ b/test/test_create_orchestration_request_input_source.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + QuantCDN API + + Unified API for QuantCDN Admin and QuantCloud Platform services + + The version of the OpenAPI document: 4.10.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from quantcdn.models.create_orchestration_request_input_source import CreateOrchestrationRequestInputSource + +class TestCreateOrchestrationRequestInputSource(unittest.TestCase): + """CreateOrchestrationRequestInputSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CreateOrchestrationRequestInputSource: + """Test CreateOrchestrationRequestInputSource + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `CreateOrchestrationRequestInputSource` + """ + model = CreateOrchestrationRequestInputSource() + if include_optional: + return CreateOrchestrationRequestInputSource( + type = 'static', + items = [ + None + ], + task_query = None, + generator_prompt = '' + ) + else: + return CreateOrchestrationRequestInputSource( + type = 'static', + ) + """ + + def testCreateOrchestrationRequestInputSource(self): + """Test CreateOrchestrationRequestInputSource""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_create_orchestration_request_stop_condition.py b/test/test_create_orchestration_request_stop_condition.py new file mode 100644 index 0000000..c56a982 --- /dev/null +++ b/test/test_create_orchestration_request_stop_condition.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + QuantCDN API + + Unified API for QuantCDN Admin and QuantCloud Platform services + + The version of the OpenAPI document: 4.10.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from quantcdn.models.create_orchestration_request_stop_condition import CreateOrchestrationRequestStopCondition + +class TestCreateOrchestrationRequestStopCondition(unittest.TestCase): + """CreateOrchestrationRequestStopCondition unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CreateOrchestrationRequestStopCondition: + """Test CreateOrchestrationRequestStopCondition + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `CreateOrchestrationRequestStopCondition` + """ + model = CreateOrchestrationRequestStopCondition() + if include_optional: + return CreateOrchestrationRequestStopCondition( + type = 'all_complete', + max_iterations = 1, + condition_prompt = '' + ) + else: + return CreateOrchestrationRequestStopCondition( + ) + """ + + def testCreateOrchestrationRequestStopCondition(self): + """Test CreateOrchestrationRequestStopCondition""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_create_task201_response.py b/test/test_create_task201_response.py index 41cf7b3..b8e3b67 100644 --- a/test/test_create_task201_response.py +++ b/test/test_create_task201_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_task_request.py b/test/test_create_task_request.py index d62ccc1..ef1db50 100644 --- a/test/test_create_task_request.py +++ b/test/test_create_task_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_vector_collection201_response.py b/test/test_create_vector_collection201_response.py index 425118c..5ceba68 100644 --- a/test/test_create_vector_collection201_response.py +++ b/test/test_create_vector_collection201_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_vector_collection201_response_collection.py b/test/test_create_vector_collection201_response_collection.py index 7e55f46..c196fd0 100644 --- a/test/test_create_vector_collection201_response_collection.py +++ b/test/test_create_vector_collection201_response_collection.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_vector_collection_request.py b/test/test_create_vector_collection_request.py index 3ece7cb..7a02661 100644 --- a/test/test_create_vector_collection_request.py +++ b/test/test_create_vector_collection_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_volume_request.py b/test/test_create_volume_request.py index 8ca2d34..0767c77 100644 --- a/test/test_create_volume_request.py +++ b/test/test_create_volume_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_cron.py b/test/test_cron.py index e7e9d4b..bf74a8a 100644 --- a/test/test_cron.py +++ b/test/test_cron.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_cron_api.py b/test/test_cron_api.py index e4bdc3c..e02bd7e 100644 --- a/test/test_cron_api.py +++ b/test/test_cron_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_cron_run.py b/test/test_cron_run.py index 601d077..73a9bd4 100644 --- a/test/test_cron_run.py +++ b/test/test_cron_run.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_delete_ai_agent200_response.py b/test/test_delete_ai_agent200_response.py index e19835a..3196362 100644 --- a/test/test_delete_ai_agent200_response.py +++ b/test/test_delete_ai_agent200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_delete_ai_session200_response.py b/test/test_delete_ai_session200_response.py index ba926cc..363403f 100644 --- a/test/test_delete_ai_session200_response.py +++ b/test/test_delete_ai_session200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_delete_backup200_response.py b/test/test_delete_backup200_response.py index 0062858..644bd3d 100644 --- a/test/test_delete_backup200_response.py +++ b/test/test_delete_backup200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_delete_custom_tool200_response.py b/test/test_delete_custom_tool200_response.py index f07d1a7..c6b7427 100644 --- a/test/test_delete_custom_tool200_response.py +++ b/test/test_delete_custom_tool200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_delete_file200_response.py b/test/test_delete_file200_response.py index 6cb0cbb..4657442 100644 --- a/test/test_delete_file200_response.py +++ b/test/test_delete_file200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_delete_task200_response.py b/test/test_delete_task200_response.py index 2603759..31e603b 100644 --- a/test/test_delete_task200_response.py +++ b/test/test_delete_task200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_delete_task409_response.py b/test/test_delete_task409_response.py index 2a1450b..8ae6080 100644 --- a/test/test_delete_task409_response.py +++ b/test/test_delete_task409_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_delete_vector_collection200_response.py b/test/test_delete_vector_collection200_response.py index 65fc64c..6de5613 100644 --- a/test/test_delete_vector_collection200_response.py +++ b/test/test_delete_vector_collection200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_delete_vector_documents200_response.py b/test/test_delete_vector_documents200_response.py new file mode 100644 index 0000000..fa81ce9 --- /dev/null +++ b/test/test_delete_vector_documents200_response.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + QuantCDN API + + Unified API for QuantCDN Admin and QuantCloud Platform services + + The version of the OpenAPI document: 4.10.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from quantcdn.models.delete_vector_documents200_response import DeleteVectorDocuments200Response + +class TestDeleteVectorDocuments200Response(unittest.TestCase): + """DeleteVectorDocuments200Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DeleteVectorDocuments200Response: + """Test DeleteVectorDocuments200Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `DeleteVectorDocuments200Response` + """ + model = DeleteVectorDocuments200Response() + if include_optional: + return DeleteVectorDocuments200Response( + message = '', + collection_id = '', + deleted_count = 56 + ) + else: + return DeleteVectorDocuments200Response( + ) + """ + + def testDeleteVectorDocuments200Response(self): + """Test DeleteVectorDocuments200Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_delete_vector_documents_request.py b/test/test_delete_vector_documents_request.py new file mode 100644 index 0000000..7da0a17 --- /dev/null +++ b/test/test_delete_vector_documents_request.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + QuantCDN API + + Unified API for QuantCDN Admin and QuantCloud Platform services + + The version of the OpenAPI document: 4.10.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from quantcdn.models.delete_vector_documents_request import DeleteVectorDocumentsRequest + +class TestDeleteVectorDocumentsRequest(unittest.TestCase): + """DeleteVectorDocumentsRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DeleteVectorDocumentsRequest: + """Test DeleteVectorDocumentsRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `DeleteVectorDocumentsRequest` + """ + model = DeleteVectorDocumentsRequest() + if include_optional: + return DeleteVectorDocumentsRequest( + purge_all = True, + document_ids = [ + '' + ], + metadata = quantcdn.models.delete_vector_documents_request_metadata.deleteVectorDocuments_request_metadata( + field = '', + values = [ + '' + ], ) + ) + else: + return DeleteVectorDocumentsRequest( + ) + """ + + def testDeleteVectorDocumentsRequest(self): + """Test DeleteVectorDocumentsRequest""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_delete_vector_documents_request_metadata.py b/test/test_delete_vector_documents_request_metadata.py new file mode 100644 index 0000000..b6795a3 --- /dev/null +++ b/test/test_delete_vector_documents_request_metadata.py @@ -0,0 +1,54 @@ +# coding: utf-8 + +""" + QuantCDN API + + Unified API for QuantCDN Admin and QuantCloud Platform services + + The version of the OpenAPI document: 4.10.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from quantcdn.models.delete_vector_documents_request_metadata import DeleteVectorDocumentsRequestMetadata + +class TestDeleteVectorDocumentsRequestMetadata(unittest.TestCase): + """DeleteVectorDocumentsRequestMetadata unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DeleteVectorDocumentsRequestMetadata: + """Test DeleteVectorDocumentsRequestMetadata + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `DeleteVectorDocumentsRequestMetadata` + """ + model = DeleteVectorDocumentsRequestMetadata() + if include_optional: + return DeleteVectorDocumentsRequestMetadata( + var_field = '', + values = [ + '' + ] + ) + else: + return DeleteVectorDocumentsRequestMetadata( + ) + """ + + def testDeleteVectorDocumentsRequestMetadata(self): + """Test DeleteVectorDocumentsRequestMetadata""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_domains_api.py b/test/test_domains_api.py index c971298..8cc89c8 100644 --- a/test/test_domains_api.py +++ b/test/test_domains_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_download_backup200_response.py b/test/test_download_backup200_response.py index 88bb40a..650c7a3 100644 --- a/test/test_download_backup200_response.py +++ b/test/test_download_backup200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_embeddings200_response.py b/test/test_embeddings200_response.py index 99b5f12..6868b69 100644 --- a/test/test_embeddings200_response.py +++ b/test/test_embeddings200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_embeddings200_response_embeddings.py b/test/test_embeddings200_response_embeddings.py index 44d405a..58280e1 100644 --- a/test/test_embeddings200_response_embeddings.py +++ b/test/test_embeddings200_response_embeddings.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_embeddings200_response_usage.py b/test/test_embeddings200_response_usage.py index b8de7f4..7b681bf 100644 --- a/test/test_embeddings200_response_usage.py +++ b/test/test_embeddings200_response_usage.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_embeddings_request.py b/test/test_embeddings_request.py index 510a2c4..24896ed 100644 --- a/test/test_embeddings_request.py +++ b/test/test_embeddings_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_embeddings_request_input.py b/test/test_embeddings_request_input.py index 930ae7c..d2812d6 100644 --- a/test/test_embeddings_request_input.py +++ b/test/test_embeddings_request_input.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_environment.py b/test/test_environment.py index b780cd5..7664262 100644 --- a/test/test_environment.py +++ b/test/test_environment.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_environment_response.py b/test/test_environment_response.py index f4eaad9..960eb17 100644 --- a/test/test_environment_response.py +++ b/test/test_environment_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_environment_summary.py b/test/test_environment_summary.py index 6be0d16..61bce54 100644 --- a/test/test_environment_summary.py +++ b/test/test_environment_summary.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_environments_api.py b/test/test_environments_api.py index 3ea91b0..5fb37c5 100644 --- a/test/test_environments_api.py +++ b/test/test_environments_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_extend_ai_session200_response.py b/test/test_extend_ai_session200_response.py index 2520e30..c1b8f41 100644 --- a/test/test_extend_ai_session200_response.py +++ b/test/test_extend_ai_session200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_extend_ai_session_request.py b/test/test_extend_ai_session_request.py index 9cb9b59..c44ffa0 100644 --- a/test/test_extend_ai_session_request.py +++ b/test/test_extend_ai_session_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_get_ai_agent200_response.py b/test/test_get_ai_agent200_response.py index 075d99a..089689e 100644 --- a/test/test_get_ai_agent200_response.py +++ b/test/test_get_ai_agent200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_get_ai_agent200_response_agent.py b/test/test_get_ai_agent200_response_agent.py index 7e42022..18ae539 100644 --- a/test/test_get_ai_agent200_response_agent.py +++ b/test/test_get_ai_agent200_response_agent.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_get_ai_model200_response.py b/test/test_get_ai_model200_response.py index 615d8cd..d01c3b8 100644 --- a/test/test_get_ai_model200_response.py +++ b/test/test_get_ai_model200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_get_ai_model200_response_capabilities.py b/test/test_get_ai_model200_response_capabilities.py index 90df811..80e2de5 100644 --- a/test/test_get_ai_model200_response_capabilities.py +++ b/test/test_get_ai_model200_response_capabilities.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_get_ai_model200_response_pricing.py b/test/test_get_ai_model200_response_pricing.py index 20da82d..59a101d 100644 --- a/test/test_get_ai_model200_response_pricing.py +++ b/test/test_get_ai_model200_response_pricing.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_get_ai_model404_response.py b/test/test_get_ai_model404_response.py index 2110a3c..27ade89 100644 --- a/test/test_get_ai_model404_response.py +++ b/test/test_get_ai_model404_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_get_ai_orchestration_status200_response.py b/test/test_get_ai_orchestration_status200_response.py index 27e37c6..5540987 100644 --- a/test/test_get_ai_orchestration_status200_response.py +++ b/test/test_get_ai_orchestration_status200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_get_ai_orchestration_status200_response_tools_inner.py b/test/test_get_ai_orchestration_status200_response_tools_inner.py index 3d42937..d91346a 100644 --- a/test/test_get_ai_orchestration_status200_response_tools_inner.py +++ b/test/test_get_ai_orchestration_status200_response_tools_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_get_ai_orchestration_status404_response.py b/test/test_get_ai_orchestration_status404_response.py index 15756ba..721c240 100644 --- a/test/test_get_ai_orchestration_status404_response.py +++ b/test/test_get_ai_orchestration_status404_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_get_ai_session200_response.py b/test/test_get_ai_session200_response.py index b5ae658..5dd9e24 100644 --- a/test/test_get_ai_session200_response.py +++ b/test/test_get_ai_session200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_get_ai_tool_execution_status200_response.py b/test/test_get_ai_tool_execution_status200_response.py index 5cc3983..b973f64 100644 --- a/test/test_get_ai_tool_execution_status200_response.py +++ b/test/test_get_ai_tool_execution_status200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_get_ai_tool_execution_status200_response_result.py b/test/test_get_ai_tool_execution_status200_response_result.py index 85444fc..e00b5dd 100644 --- a/test/test_get_ai_tool_execution_status200_response_result.py +++ b/test/test_get_ai_tool_execution_status200_response_result.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_get_ai_tool_execution_status404_response.py b/test/test_get_ai_tool_execution_status404_response.py index 5801031..ac30cac 100644 --- a/test/test_get_ai_tool_execution_status404_response.py +++ b/test/test_get_ai_tool_execution_status404_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_get_ai_usage_stats200_response.py b/test/test_get_ai_usage_stats200_response.py index 1985b81..30a7ec8 100644 --- a/test/test_get_ai_usage_stats200_response.py +++ b/test/test_get_ai_usage_stats200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_get_ai_usage_stats200_response_by_model_value.py b/test/test_get_ai_usage_stats200_response_by_model_value.py index 8bbf1fd..c521834 100644 --- a/test/test_get_ai_usage_stats200_response_by_model_value.py +++ b/test/test_get_ai_usage_stats200_response_by_model_value.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_get_dependency_graph200_response.py b/test/test_get_dependency_graph200_response.py index c39900c..fd51e55 100644 --- a/test/test_get_dependency_graph200_response.py +++ b/test/test_get_dependency_graph200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_get_durable_execution_status200_response.py b/test/test_get_durable_execution_status200_response.py index 37b8fef..07ef2f8 100644 --- a/test/test_get_durable_execution_status200_response.py +++ b/test/test_get_durable_execution_status200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_get_durable_execution_status200_response_error.py b/test/test_get_durable_execution_status200_response_error.py index 5242895..e854c50 100644 --- a/test/test_get_durable_execution_status200_response_error.py +++ b/test/test_get_durable_execution_status200_response_error.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_get_durable_execution_status200_response_pending_tools_inner.py b/test/test_get_durable_execution_status200_response_pending_tools_inner.py index 093faeb..7472013 100644 --- a/test/test_get_durable_execution_status200_response_pending_tools_inner.py +++ b/test/test_get_durable_execution_status200_response_pending_tools_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_get_durable_execution_status200_response_result.py b/test/test_get_durable_execution_status200_response_result.py index de27299..75c591c 100644 --- a/test/test_get_durable_execution_status200_response_result.py +++ b/test/test_get_durable_execution_status200_response_result.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_get_durable_execution_status200_response_result_response.py b/test/test_get_durable_execution_status200_response_result_response.py index b1e34e1..91a0039 100644 --- a/test/test_get_durable_execution_status200_response_result_response.py +++ b/test/test_get_durable_execution_status200_response_result_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_get_durable_execution_status200_response_result_usage.py b/test/test_get_durable_execution_status200_response_result_usage.py index 2d89f48..30aab71 100644 --- a/test/test_get_durable_execution_status200_response_result_usage.py +++ b/test/test_get_durable_execution_status200_response_result_usage.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_get_ecr_login_credentials200_response.py b/test/test_get_ecr_login_credentials200_response.py index 248e196..6688c40 100644 --- a/test/test_get_ecr_login_credentials200_response.py +++ b/test/test_get_ecr_login_credentials200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_get_environment_logs200_response.py b/test/test_get_environment_logs200_response.py index ec6bd18..71eed14 100644 --- a/test/test_get_environment_logs200_response.py +++ b/test/test_get_environment_logs200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_get_environment_logs200_response_log_events_inner.py b/test/test_get_environment_logs200_response_log_events_inner.py index 3187a8e..e2c1979 100644 --- a/test/test_get_environment_logs200_response_log_events_inner.py +++ b/test/test_get_environment_logs200_response_log_events_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_get_file200_response.py b/test/test_get_file200_response.py index d09cf11..33426e3 100644 --- a/test/test_get_file200_response.py +++ b/test/test_get_file200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_get_ssh_access_credentials200_response.py b/test/test_get_ssh_access_credentials200_response.py index 2fa7358..262ee91 100644 --- a/test/test_get_ssh_access_credentials200_response.py +++ b/test/test_get_ssh_access_credentials200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_get_ssh_access_credentials200_response_credentials.py b/test/test_get_ssh_access_credentials200_response_credentials.py index 01cfa10..28a23cb 100644 --- a/test/test_get_ssh_access_credentials200_response_credentials.py +++ b/test/test_get_ssh_access_credentials200_response_credentials.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_get_task200_response.py b/test/test_get_task200_response.py index 0c67634..4f457f9 100644 --- a/test/test_get_task200_response.py +++ b/test/test_get_task200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_get_vector_collection200_response.py b/test/test_get_vector_collection200_response.py index 26f55f3..68ad83c 100644 --- a/test/test_get_vector_collection200_response.py +++ b/test/test_get_vector_collection200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_get_vector_collection200_response_collection.py b/test/test_get_vector_collection200_response_collection.py index 772e419..aadd1c5 100644 --- a/test/test_get_vector_collection200_response_collection.py +++ b/test/test_get_vector_collection200_response_collection.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_headers_api.py b/test/test_headers_api.py index 0d0feee..ce5a625 100644 --- a/test/test_headers_api.py +++ b/test/test_headers_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_image_generation200_response.py b/test/test_image_generation200_response.py index f3294bf..832ed61 100644 --- a/test/test_image_generation200_response.py +++ b/test/test_image_generation200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_image_generation_request.py b/test/test_image_generation_request.py index 498443c..b9eac0a 100644 --- a/test/test_image_generation_request.py +++ b/test/test_image_generation_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_image_generation_request_background_removal_params.py b/test/test_image_generation_request_background_removal_params.py index b053bee..305f944 100644 --- a/test/test_image_generation_request_background_removal_params.py +++ b/test/test_image_generation_request_background_removal_params.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_image_generation_request_color_guided_generation_params.py b/test/test_image_generation_request_color_guided_generation_params.py index 0a6316c..bfdaba4 100644 --- a/test/test_image_generation_request_color_guided_generation_params.py +++ b/test/test_image_generation_request_color_guided_generation_params.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_image_generation_request_image_generation_config.py b/test/test_image_generation_request_image_generation_config.py index bf4f2f9..e310a99 100644 --- a/test/test_image_generation_request_image_generation_config.py +++ b/test/test_image_generation_request_image_generation_config.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_image_generation_request_image_variation_params.py b/test/test_image_generation_request_image_variation_params.py index 0b8ea42..e903ae4 100644 --- a/test/test_image_generation_request_image_variation_params.py +++ b/test/test_image_generation_request_image_variation_params.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_image_generation_request_in_painting_params.py b/test/test_image_generation_request_in_painting_params.py index c91f1d6..5e7547d 100644 --- a/test/test_image_generation_request_in_painting_params.py +++ b/test/test_image_generation_request_in_painting_params.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_image_generation_request_out_painting_params.py b/test/test_image_generation_request_out_painting_params.py index 1220c7b..0486bb5 100644 --- a/test/test_image_generation_request_out_painting_params.py +++ b/test/test_image_generation_request_out_painting_params.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_image_generation_request_text_to_image_params.py b/test/test_image_generation_request_text_to_image_params.py index 51a5cdb..82102db 100644 --- a/test/test_image_generation_request_text_to_image_params.py +++ b/test/test_image_generation_request_text_to_image_params.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_kv_api.py b/test/test_kv_api.py index fecfcf8..f20dc8e 100644 --- a/test/test_kv_api.py +++ b/test/test_kv_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -75,6 +75,13 @@ def test_k_v_items_update(self) -> None: """ pass + def test_k_v_link_to_project(self) -> None: + """Test case for k_v_link_to_project + + Link a KV store to another project + """ + pass + def test_k_v_list(self) -> None: """Test case for k_v_list @@ -89,6 +96,13 @@ def test_k_v_show(self) -> None: """ pass + def test_k_v_unlink_from_project(self) -> None: + """Test case for k_v_unlink_from_project + + Unlink a KV store from this project + """ + pass + if __name__ == '__main__': unittest.main() diff --git a/test/test_kv_items_create200_response.py b/test/test_kv_items_create200_response.py index 3fbac1c..97d51ea 100644 --- a/test/test_kv_items_create200_response.py +++ b/test/test_kv_items_create200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_kv_items_delete200_response.py b/test/test_kv_items_delete200_response.py index b764098..f23f590 100644 --- a/test/test_kv_items_delete200_response.py +++ b/test/test_kv_items_delete200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_kv_items_show200_response.py b/test/test_kv_items_show200_response.py index 0f60780..7771fe6 100644 --- a/test/test_kv_items_show200_response.py +++ b/test/test_kv_items_show200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_kv_items_show200_response_value.py b/test/test_kv_items_show200_response_value.py index df52e08..f3d2c0a 100644 --- a/test/test_kv_items_show200_response_value.py +++ b/test/test_kv_items_show200_response_value.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_kv_link_to_project200_response.py b/test/test_kv_link_to_project200_response.py new file mode 100644 index 0000000..bcf50eb --- /dev/null +++ b/test/test_kv_link_to_project200_response.py @@ -0,0 +1,52 @@ +# coding: utf-8 + +""" + QuantCDN API + + Unified API for QuantCDN Admin and QuantCloud Platform services + + The version of the OpenAPI document: 4.10.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from quantcdn.models.kv_link_to_project200_response import KVLinkToProject200Response + +class TestKVLinkToProject200Response(unittest.TestCase): + """KVLinkToProject200Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> KVLinkToProject200Response: + """Test KVLinkToProject200Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `KVLinkToProject200Response` + """ + model = KVLinkToProject200Response() + if include_optional: + return KVLinkToProject200Response( + success = True, + message = '' + ) + else: + return KVLinkToProject200Response( + ) + """ + + def testKVLinkToProject200Response(self): + """Test KVLinkToProject200Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_kv_link_to_project_request.py b/test/test_kv_link_to_project_request.py new file mode 100644 index 0000000..aaef99f --- /dev/null +++ b/test/test_kv_link_to_project_request.py @@ -0,0 +1,52 @@ +# coding: utf-8 + +""" + QuantCDN API + + Unified API for QuantCDN Admin and QuantCloud Platform services + + The version of the OpenAPI document: 4.10.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from quantcdn.models.kv_link_to_project_request import KVLinkToProjectRequest + +class TestKVLinkToProjectRequest(unittest.TestCase): + """KVLinkToProjectRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> KVLinkToProjectRequest: + """Test KVLinkToProjectRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `KVLinkToProjectRequest` + """ + model = KVLinkToProjectRequest() + if include_optional: + return KVLinkToProjectRequest( + project_id = 56 + ) + else: + return KVLinkToProjectRequest( + project_id = 56, + ) + """ + + def testKVLinkToProjectRequest(self): + """Test KVLinkToProjectRequest""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_list_ai_agents200_response.py b/test/test_list_ai_agents200_response.py index f5c97b7..59ae3f1 100644 --- a/test/test_list_ai_agents200_response.py +++ b/test/test_list_ai_agents200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_list_ai_agents200_response_agents_inner.py b/test/test_list_ai_agents200_response_agents_inner.py index 45ccae5..49c422c 100644 --- a/test/test_list_ai_agents200_response_agents_inner.py +++ b/test/test_list_ai_agents200_response_agents_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_list_ai_models200_response.py b/test/test_list_ai_models200_response.py index 7999c8b..d9fe5aa 100644 --- a/test/test_list_ai_models200_response.py +++ b/test/test_list_ai_models200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_list_ai_models200_response_models_inner.py b/test/test_list_ai_models200_response_models_inner.py index 23ffdd5..849c4f7 100644 --- a/test/test_list_ai_models200_response_models_inner.py +++ b/test/test_list_ai_models200_response_models_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_list_ai_models200_response_models_inner_capabilities.py b/test/test_list_ai_models200_response_models_inner_capabilities.py index 9f77829..7fe722f 100644 --- a/test/test_list_ai_models200_response_models_inner_capabilities.py +++ b/test/test_list_ai_models200_response_models_inner_capabilities.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_list_ai_sessions200_response_inner.py b/test/test_list_ai_sessions200_response_inner.py index 313ed30..7276e6e 100644 --- a/test/test_list_ai_sessions200_response_inner.py +++ b/test/test_list_ai_sessions200_response_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_list_ai_tool_executions200_response.py b/test/test_list_ai_tool_executions200_response.py index 848968e..47b6c99 100644 --- a/test/test_list_ai_tool_executions200_response.py +++ b/test/test_list_ai_tool_executions200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_list_ai_tool_executions200_response_executions_inner.py b/test/test_list_ai_tool_executions200_response_executions_inner.py index 03f8ef4..839d35f 100644 --- a/test/test_list_ai_tool_executions200_response_executions_inner.py +++ b/test/test_list_ai_tool_executions200_response_executions_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_list_ai_tool_names200_response.py b/test/test_list_ai_tool_names200_response.py index 1f501c9..dfc4384 100644 --- a/test/test_list_ai_tool_names200_response.py +++ b/test/test_list_ai_tool_names200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_list_ai_tools200_response.py b/test/test_list_ai_tools200_response.py index eaf8706..8f81651 100644 --- a/test/test_list_ai_tools200_response.py +++ b/test/test_list_ai_tools200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_list_ai_tools200_response_tools_inner.py b/test/test_list_ai_tools200_response_tools_inner.py index 1e90114..0ffbf08 100644 --- a/test/test_list_ai_tools200_response_tools_inner.py +++ b/test/test_list_ai_tools200_response_tools_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_list_ai_tools200_response_tools_inner_tool_spec.py b/test/test_list_ai_tools200_response_tools_inner_tool_spec.py index 3ef7e7a..05f8b77 100644 --- a/test/test_list_ai_tools200_response_tools_inner_tool_spec.py +++ b/test/test_list_ai_tools200_response_tools_inner_tool_spec.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_list_ai_tools200_response_tools_inner_tool_spec_input_schema.py b/test/test_list_ai_tools200_response_tools_inner_tool_spec_input_schema.py index dd8836c..773e9bf 100644 --- a/test/test_list_ai_tools200_response_tools_inner_tool_spec_input_schema.py +++ b/test/test_list_ai_tools200_response_tools_inner_tool_spec_input_schema.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_list_backups200_response.py b/test/test_list_backups200_response.py index fd85ce1..515b336 100644 --- a/test/test_list_backups200_response.py +++ b/test/test_list_backups200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_list_backups200_response_backups_inner.py b/test/test_list_backups200_response_backups_inner.py index 3d0d0fc..152b33d 100644 --- a/test/test_list_backups200_response_backups_inner.py +++ b/test/test_list_backups200_response_backups_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_list_backups422_response.py b/test/test_list_backups422_response.py index abb8f90..597f2c5 100644 --- a/test/test_list_backups422_response.py +++ b/test/test_list_backups422_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_list_custom_tools200_response.py b/test/test_list_custom_tools200_response.py index 0cd2c62..d8d724f 100644 --- a/test/test_list_custom_tools200_response.py +++ b/test/test_list_custom_tools200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_list_custom_tools200_response_tools_inner.py b/test/test_list_custom_tools200_response_tools_inner.py index 8c446d5..da508b1 100644 --- a/test/test_list_custom_tools200_response_tools_inner.py +++ b/test/test_list_custom_tools200_response_tools_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_list_files200_response.py b/test/test_list_files200_response.py index 83a961a..c208942 100644 --- a/test/test_list_files200_response.py +++ b/test/test_list_files200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_list_files200_response_files_inner.py b/test/test_list_files200_response_files_inner.py index 9db4650..f632e1e 100644 --- a/test/test_list_files200_response_files_inner.py +++ b/test/test_list_files200_response_files_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_list_orchestration_batches200_response.py b/test/test_list_orchestration_batches200_response.py new file mode 100644 index 0000000..ba3f2c2 --- /dev/null +++ b/test/test_list_orchestration_batches200_response.py @@ -0,0 +1,64 @@ +# coding: utf-8 + +""" + QuantCDN API + + Unified API for QuantCDN Admin and QuantCloud Platform services + + The version of the OpenAPI document: 4.10.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from quantcdn.models.list_orchestration_batches200_response import ListOrchestrationBatches200Response + +class TestListOrchestrationBatches200Response(unittest.TestCase): + """ListOrchestrationBatches200Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ListOrchestrationBatches200Response: + """Test ListOrchestrationBatches200Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `ListOrchestrationBatches200Response` + """ + model = ListOrchestrationBatches200Response() + if include_optional: + return ListOrchestrationBatches200Response( + batches = [ + quantcdn.models.list_orchestration_batches_200_response_batches_inner.listOrchestrationBatches_200_response_batches_inner( + batch_id = '', + orchestration_id = '', + iteration = 56, + item_count = 56, + completed_count = 56, + failed_count = 56, + status = 'pending', + started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + completed_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + error = '', ) + ], + next_cursor = '' + ) + else: + return ListOrchestrationBatches200Response( + ) + """ + + def testListOrchestrationBatches200Response(self): + """Test ListOrchestrationBatches200Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_list_orchestration_batches200_response_batches_inner.py b/test/test_list_orchestration_batches200_response_batches_inner.py new file mode 100644 index 0000000..23a95dd --- /dev/null +++ b/test/test_list_orchestration_batches200_response_batches_inner.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + QuantCDN API + + Unified API for QuantCDN Admin and QuantCloud Platform services + + The version of the OpenAPI document: 4.10.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from quantcdn.models.list_orchestration_batches200_response_batches_inner import ListOrchestrationBatches200ResponseBatchesInner + +class TestListOrchestrationBatches200ResponseBatchesInner(unittest.TestCase): + """ListOrchestrationBatches200ResponseBatchesInner unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ListOrchestrationBatches200ResponseBatchesInner: + """Test ListOrchestrationBatches200ResponseBatchesInner + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `ListOrchestrationBatches200ResponseBatchesInner` + """ + model = ListOrchestrationBatches200ResponseBatchesInner() + if include_optional: + return ListOrchestrationBatches200ResponseBatchesInner( + batch_id = '', + orchestration_id = '', + iteration = 56, + item_count = 56, + completed_count = 56, + failed_count = 56, + status = 'pending', + started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + completed_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + error = '' + ) + else: + return ListOrchestrationBatches200ResponseBatchesInner( + ) + """ + + def testListOrchestrationBatches200ResponseBatchesInner(self): + """Test ListOrchestrationBatches200ResponseBatchesInner""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_list_orchestrations200_response.py b/test/test_list_orchestrations200_response.py new file mode 100644 index 0000000..b236f19 --- /dev/null +++ b/test/test_list_orchestrations200_response.py @@ -0,0 +1,54 @@ +# coding: utf-8 + +""" + QuantCDN API + + Unified API for QuantCDN Admin and QuantCloud Platform services + + The version of the OpenAPI document: 4.10.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from quantcdn.models.list_orchestrations200_response import ListOrchestrations200Response + +class TestListOrchestrations200Response(unittest.TestCase): + """ListOrchestrations200Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ListOrchestrations200Response: + """Test ListOrchestrations200Response + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `ListOrchestrations200Response` + """ + model = ListOrchestrations200Response() + if include_optional: + return ListOrchestrations200Response( + orchestrations = [ + None + ], + next_cursor = '' + ) + else: + return ListOrchestrations200Response( + ) + """ + + def testListOrchestrations200Response(self): + """Test ListOrchestrations200Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_list_tasks200_response.py b/test/test_list_tasks200_response.py index f5ae3e2..f194c47 100644 --- a/test/test_list_tasks200_response.py +++ b/test/test_list_tasks200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_list_tasks200_response_tasks_inner.py b/test/test_list_tasks200_response_tasks_inner.py index e569a4f..f376b2a 100644 --- a/test/test_list_tasks200_response_tasks_inner.py +++ b/test/test_list_tasks200_response_tasks_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_list_vector_collections200_response.py b/test/test_list_vector_collections200_response.py index 53b28e4..ab22cf1 100644 --- a/test/test_list_vector_collections200_response.py +++ b/test/test_list_vector_collections200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_list_vector_collections200_response_collections_inner.py b/test/test_list_vector_collections200_response_collections_inner.py index 91f5bb5..42f49b3 100644 --- a/test/test_list_vector_collections200_response_collections_inner.py +++ b/test/test_list_vector_collections200_response_collections_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_orchestration_api.py b/test/test_orchestration_api.py index 9f2c5ba..4487052 100644 --- a/test/test_orchestration_api.py +++ b/test/test_orchestration_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -29,7 +29,7 @@ def tearDown(self) -> None: def test_get_ai_orchestration_status(self) -> None: """Test case for get_ai_orchestration_status - Get Orchestration Status + Get Tool Orchestration Status (Async Tool Polling) """ pass diff --git a/test/test_organizations_api.py b/test/test_organizations_api.py index 5375d38..323a6e3 100644 --- a/test/test_organizations_api.py +++ b/test/test_organizations_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_organizations_list200_response_inner.py b/test/test_organizations_list200_response_inner.py index a762284..5fab757 100644 --- a/test/test_organizations_list200_response_inner.py +++ b/test/test_organizations_list200_response_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_patch_environment_compose202_response.py b/test/test_patch_environment_compose202_response.py index 385976b..351b8db 100644 --- a/test/test_patch_environment_compose202_response.py +++ b/test/test_patch_environment_compose202_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_patch_environment_compose202_response_spot_configuration.py b/test/test_patch_environment_compose202_response_spot_configuration.py index 6a07b32..5607aca 100644 --- a/test/test_patch_environment_compose202_response_spot_configuration.py +++ b/test/test_patch_environment_compose202_response_spot_configuration.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_patch_environment_compose400_response.py b/test/test_patch_environment_compose400_response.py index bf460bc..062b3c8 100644 --- a/test/test_patch_environment_compose400_response.py +++ b/test/test_patch_environment_compose400_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_patch_environment_compose_request.py b/test/test_patch_environment_compose_request.py index b2ba78b..06a7b06 100644 --- a/test/test_patch_environment_compose_request.py +++ b/test/test_patch_environment_compose_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_patch_environment_compose_request_spot_configuration.py b/test/test_patch_environment_compose_request_spot_configuration.py index bd0eb3d..a3f7db9 100644 --- a/test/test_patch_environment_compose_request_spot_configuration.py +++ b/test/test_patch_environment_compose_request_spot_configuration.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_projects_api.py b/test/test_projects_api.py index 0fe58ed..2e0409f 100644 --- a/test/test_projects_api.py +++ b/test/test_projects_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_purge_api.py b/test/test_purge_api.py index 336fccb..6849639 100644 --- a/test/test_purge_api.py +++ b/test/test_purge_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_purge_create_request.py b/test/test_purge_create_request.py index f25ab80..6184225 100644 --- a/test/test_purge_create_request.py +++ b/test/test_purge_create_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_query_vector_collection200_response.py b/test/test_query_vector_collection200_response.py index 759ac19..9c5af10 100644 --- a/test/test_query_vector_collection200_response.py +++ b/test/test_query_vector_collection200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_query_vector_collection200_response_pagination.py b/test/test_query_vector_collection200_response_pagination.py index 53c4c93..53857c1 100644 --- a/test/test_query_vector_collection200_response_pagination.py +++ b/test/test_query_vector_collection200_response_pagination.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_query_vector_collection200_response_results_inner.py b/test/test_query_vector_collection200_response_results_inner.py index 136ad42..818c79b 100644 --- a/test/test_query_vector_collection200_response_results_inner.py +++ b/test/test_query_vector_collection200_response_results_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_query_vector_collection_request.py b/test/test_query_vector_collection_request.py index 748d4e2..d22aa21 100644 --- a/test/test_query_vector_collection_request.py +++ b/test/test_query_vector_collection_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_query_vector_collection_request_filter.py b/test/test_query_vector_collection_request_filter.py index 23cab6e..dc07588 100644 --- a/test/test_query_vector_collection_request_filter.py +++ b/test/test_query_vector_collection_request_filter.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_rules_api.py b/test/test_rules_api.py index ae59ff9..d06921d 100644 --- a/test/test_rules_api.py +++ b/test/test_rules_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_scaling_policy.py b/test/test_scaling_policy.py index a7edf13..3f774ac 100644 --- a/test/test_scaling_policy.py +++ b/test/test_scaling_policy.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_scaling_policy_api.py b/test/test_scaling_policy_api.py index f7782c9..354ae02 100644 --- a/test/test_scaling_policy_api.py +++ b/test/test_scaling_policy_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_spot_configuration.py b/test/test_spot_configuration.py index 6aec582..9a78bf3 100644 --- a/test/test_spot_configuration.py +++ b/test/test_spot_configuration.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_ssh_access_api.py b/test/test_ssh_access_api.py index 92c1574..47500cb 100644 --- a/test/test_ssh_access_api.py +++ b/test/test_ssh_access_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_submit_tool_callback200_response.py b/test/test_submit_tool_callback200_response.py index d1d2558..620c6b4 100644 --- a/test/test_submit_tool_callback200_response.py +++ b/test/test_submit_tool_callback200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_submit_tool_callback_request.py b/test/test_submit_tool_callback_request.py index f282721..27450c0 100644 --- a/test/test_submit_tool_callback_request.py +++ b/test/test_submit_tool_callback_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_submit_tool_callback_request_tool_results_inner.py b/test/test_submit_tool_callback_request_tool_results_inner.py index 89d673d..081a9d8 100644 --- a/test/test_submit_tool_callback_request_tool_results_inner.py +++ b/test/test_submit_tool_callback_request_tool_results_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_sync_operation.py b/test/test_sync_operation.py index cac07f6..d150f7c 100644 --- a/test/test_sync_operation.py +++ b/test/test_sync_operation.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_sync_to_environment_request.py b/test/test_sync_to_environment_request.py index 7fc1bb0..b1c193c 100644 --- a/test/test_sync_to_environment_request.py +++ b/test/test_sync_to_environment_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_update_ai_agent200_response.py b/test/test_update_ai_agent200_response.py index 534550f..4d48c40 100644 --- a/test/test_update_ai_agent200_response.py +++ b/test/test_update_ai_agent200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_update_ai_agent_request.py b/test/test_update_ai_agent_request.py index bbe2d8c..27e23ee 100644 --- a/test/test_update_ai_agent_request.py +++ b/test/test_update_ai_agent_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_update_ai_session200_response.py b/test/test_update_ai_session200_response.py index d40f73f..148b378 100644 --- a/test/test_update_ai_session200_response.py +++ b/test/test_update_ai_session200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_update_ai_session_request.py b/test/test_update_ai_session_request.py index f58139e..fcfd407 100644 --- a/test/test_update_ai_session_request.py +++ b/test/test_update_ai_session_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_update_ai_session_request_new_messages_inner.py b/test/test_update_ai_session_request_new_messages_inner.py index 6c66928..550a6da 100644 --- a/test/test_update_ai_session_request_new_messages_inner.py +++ b/test/test_update_ai_session_request_new_messages_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_update_cron_job_request.py b/test/test_update_cron_job_request.py index 44b2420..8c14f02 100644 --- a/test/test_update_cron_job_request.py +++ b/test/test_update_cron_job_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_update_environment_request.py b/test/test_update_environment_request.py index d9a4410..ce71ab0 100644 --- a/test/test_update_environment_request.py +++ b/test/test_update_environment_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_update_environment_state_request.py b/test/test_update_environment_state_request.py index a0f6307..fe2a818 100644 --- a/test/test_update_environment_state_request.py +++ b/test/test_update_environment_state_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_update_environment_variable_request.py b/test/test_update_environment_variable_request.py index b97289e..0255912 100644 --- a/test/test_update_environment_variable_request.py +++ b/test/test_update_environment_variable_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_update_task200_response.py b/test/test_update_task200_response.py index 3230acc..5fc6104 100644 --- a/test/test_update_task200_response.py +++ b/test/test_update_task200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_update_task_request.py b/test/test_update_task_request.py index b3d2986..8f77f9c 100644 --- a/test/test_update_task_request.py +++ b/test/test_update_task_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_upload_file201_response.py b/test/test_upload_file201_response.py index 9466a80..9aa65b3 100644 --- a/test/test_upload_file201_response.py +++ b/test/test_upload_file201_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_upload_file_request.py b/test/test_upload_file_request.py index 591bb9f..dba5c5f 100644 --- a/test/test_upload_file_request.py +++ b/test/test_upload_file_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_upload_vector_documents200_response.py b/test/test_upload_vector_documents200_response.py index d0876af..a87e7aa 100644 --- a/test/test_upload_vector_documents200_response.py +++ b/test/test_upload_vector_documents200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_upload_vector_documents_request.py b/test/test_upload_vector_documents_request.py index cfd3730..4d64f4a 100644 --- a/test/test_upload_vector_documents_request.py +++ b/test/test_upload_vector_documents_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_upload_vector_documents_request_documents_inner.py b/test/test_upload_vector_documents_request_documents_inner.py index 731c397..f609dab 100644 --- a/test/test_upload_vector_documents_request_documents_inner.py +++ b/test/test_upload_vector_documents_request_documents_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_upload_vector_documents_request_documents_inner_metadata.py b/test/test_upload_vector_documents_request_documents_inner_metadata.py index 9358a41..19a4634 100644 --- a/test/test_upload_vector_documents_request_documents_inner_metadata.py +++ b/test/test_upload_vector_documents_request_documents_inner_metadata.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v1_content_item.py b/test/test_v1_content_item.py index 16ce6b6..c6f64b1 100644 --- a/test/test_v1_content_item.py +++ b/test/test_v1_content_item.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v1_content_list_response.py b/test/test_v1_content_list_response.py index 8c0cea0..c3932fb 100644 --- a/test/test_v1_content_list_response.py +++ b/test/test_v1_content_list_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v1_content_request.py b/test/test_v1_content_request.py index 38af269..3078136 100644 --- a/test/test_v1_content_request.py +++ b/test/test_v1_content_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v1_delete_response.py b/test/test_v1_delete_response.py index 0d63de9..7370b18 100644 --- a/test/test_v1_delete_response.py +++ b/test/test_v1_delete_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v1_error.py b/test/test_v1_error.py index 6341486..5792345 100644 --- a/test/test_v1_error.py +++ b/test/test_v1_error.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v1_form_submission_item.py b/test/test_v1_form_submission_item.py index 1bd3e5b..4974110 100644 --- a/test/test_v1_form_submission_item.py +++ b/test/test_v1_form_submission_item.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v1_form_submission_list_response.py b/test/test_v1_form_submission_list_response.py index e7301b8..ba827f3 100644 --- a/test/test_v1_form_submission_list_response.py +++ b/test/test_v1_form_submission_list_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v1_get_metric_series_response.py b/test/test_v1_get_metric_series_response.py index 071d2d8..030ba4c 100644 --- a/test/test_v1_get_metric_series_response.py +++ b/test/test_v1_get_metric_series_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v1_get_metric_series_response_data.py b/test/test_v1_get_metric_series_response_data.py index 3b4fc8f..20ca4b3 100644 --- a/test/test_v1_get_metric_series_response_data.py +++ b/test/test_v1_get_metric_series_response_data.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v1_get_metrics_response.py b/test/test_v1_get_metrics_response.py index 00e4880..79e63a2 100644 --- a/test/test_v1_get_metrics_response.py +++ b/test/test_v1_get_metrics_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v1_get_metrics_response_data.py b/test/test_v1_get_metrics_response_data.py index 6868bc2..2a3bd54 100644 --- a/test/test_v1_get_metrics_response_data.py +++ b/test/test_v1_get_metrics_response_data.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v1_global_meta_response.py b/test/test_v1_global_meta_response.py index 0d76f71..cfabdf9 100644 --- a/test/test_v1_global_meta_response.py +++ b/test/test_v1_global_meta_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v1_global_meta_response_global_meta.py b/test/test_v1_global_meta_response_global_meta.py index c2a686a..7750f49 100644 --- a/test/test_v1_global_meta_response_global_meta.py +++ b/test/test_v1_global_meta_response_global_meta.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v1_info.py b/test/test_v1_info.py index b00e813..77e23a2 100644 --- a/test/test_v1_info.py +++ b/test/test_v1_info.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v1_meta.py b/test/test_v1_meta.py index 651d131..c568657 100644 --- a/test/test_v1_meta.py +++ b/test/test_v1_meta.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v1_metric_day_stats.py b/test/test_v1_metric_day_stats.py index abb9628..20550c9 100644 --- a/test/test_v1_metric_day_stats.py +++ b/test/test_v1_metric_day_stats.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v1_metric_minute_stats.py b/test/test_v1_metric_minute_stats.py index 18e49d5..99c2ec2 100644 --- a/test/test_v1_metric_minute_stats.py +++ b/test/test_v1_metric_minute_stats.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v1_metric_month_stats.py b/test/test_v1_metric_month_stats.py index 78d13e0..c09be57 100644 --- a/test/test_v1_metric_month_stats.py +++ b/test/test_v1_metric_month_stats.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v1_ping_response.py b/test/test_v1_ping_response.py index 95a2e9a..a2c2744 100644 --- a/test/test_v1_ping_response.py +++ b/test/test_v1_ping_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v1_proxy_item.py b/test/test_v1_proxy_item.py index dbf0974..a1c6849 100644 --- a/test/test_v1_proxy_item.py +++ b/test/test_v1_proxy_item.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v1_proxy_list_response.py b/test/test_v1_proxy_list_response.py index 56f6782..ddb753f 100644 --- a/test/test_v1_proxy_list_response.py +++ b/test/test_v1_proxy_list_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v1_redirect_item.py b/test/test_v1_redirect_item.py index c9794b1..d5da636 100644 --- a/test/test_v1_redirect_item.py +++ b/test/test_v1_redirect_item.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v1_redirect_list_response.py b/test/test_v1_redirect_list_response.py index 6651cab..080c1ed 100644 --- a/test/test_v1_redirect_list_response.py +++ b/test/test_v1_redirect_list_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v1_redirect_request.py b/test/test_v1_redirect_request.py index b37e616..ff3b221 100644 --- a/test/test_v1_redirect_request.py +++ b/test/test_v1_redirect_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v1_redirect_response.py b/test/test_v1_redirect_response.py index e5c4693..bc78b85 100644 --- a/test/test_v1_redirect_response.py +++ b/test/test_v1_redirect_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v1_revision.py b/test/test_v1_revision.py index ea9f310..4c6ed48 100644 --- a/test/test_v1_revision.py +++ b/test/test_v1_revision.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v1_revisions_response.py b/test/test_v1_revisions_response.py index e6db565..eeabd3d 100644 --- a/test/test_v1_revisions_response.py +++ b/test/test_v1_revisions_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v1_search_hit.py b/test/test_v1_search_hit.py index 32f45db..0ae2c24 100644 --- a/test/test_v1_search_hit.py +++ b/test/test_v1_search_hit.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v1_search_items_response.py b/test/test_v1_search_items_response.py index ed4c624..aee218b 100644 --- a/test/test_v1_search_items_response.py +++ b/test/test_v1_search_items_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v1_search_mutation_response.py b/test/test_v1_search_mutation_response.py index 9dd01e7..6de98a6 100644 --- a/test/test_v1_search_mutation_response.py +++ b/test/test_v1_search_mutation_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v1_search_record.py b/test/test_v1_search_record.py index 0d98639..e975ed7 100644 --- a/test/test_v1_search_record.py +++ b/test/test_v1_search_record.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v1_search_response.py b/test/test_v1_search_response.py index cbb436b..0f99140 100644 --- a/test/test_v1_search_response.py +++ b/test/test_v1_search_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v1_series_point_day.py b/test/test_v1_series_point_day.py index 8f3443b..1a6c403 100644 --- a/test/test_v1_series_point_day.py +++ b/test/test_v1_series_point_day.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v1_series_point_month.py b/test/test_v1_series_point_month.py index 884c2d5..f28ad92 100644 --- a/test/test_v1_series_point_month.py +++ b/test/test_v1_series_point_month.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v1_transition.py b/test/test_v1_transition.py index 38318bd..324ee4e 100644 --- a/test/test_v1_transition.py +++ b/test/test_v1_transition.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v1_upload_response.py b/test/test_v1_upload_response.py index b86f906..1a550bc 100644 --- a/test/test_v1_upload_response.py +++ b/test/test_v1_upload_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v1_url_meta_request.py b/test/test_v1_url_meta_request.py index b4c2d7d..b27f1c2 100644 --- a/test/test_v1_url_meta_request.py +++ b/test/test_v1_url_meta_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v1_url_meta_response.py b/test/test_v1_url_meta_response.py index 9a135aa..cf86c1a 100644 --- a/test/test_v1_url_meta_response.py +++ b/test/test_v1_url_meta_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v1_waf_log_item.py b/test/test_v1_waf_log_item.py index 571953e..244b663 100644 --- a/test/test_v1_waf_log_item.py +++ b/test/test_v1_waf_log_item.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v1_waf_log_list_response.py b/test/test_v1_waf_log_list_response.py index e66e98c..5d2bc48 100644 --- a/test/test_v1_waf_log_list_response.py +++ b/test/test_v1_waf_log_list_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_crawler.py b/test/test_v2_crawler.py index 8c5078d..3cbdbe2 100644 --- a/test/test_v2_crawler.py +++ b/test/test_v2_crawler.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_crawler_assets.py b/test/test_v2_crawler_assets.py index 45c9b50..776923d 100644 --- a/test/test_v2_crawler_assets.py +++ b/test/test_v2_crawler_assets.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_crawler_assets_network_intercept.py b/test/test_v2_crawler_assets_network_intercept.py index bad5076..9e45645 100644 --- a/test/test_v2_crawler_assets_network_intercept.py +++ b/test/test_v2_crawler_assets_network_intercept.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_crawler_assets_parser.py b/test/test_v2_crawler_assets_parser.py index 52ebfb2..914ea95 100644 --- a/test/test_v2_crawler_assets_parser.py +++ b/test/test_v2_crawler_assets_parser.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_crawler_request.py b/test/test_v2_crawler_request.py index f92299e..0372663 100644 --- a/test/test_v2_crawler_request.py +++ b/test/test_v2_crawler_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_crawler_run.py b/test/test_v2_crawler_run.py index e2ae45f..1cf3acc 100644 --- a/test/test_v2_crawler_run.py +++ b/test/test_v2_crawler_run.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_crawler_schedule.py b/test/test_v2_crawler_schedule.py index 9219086..3cbdf1e 100644 --- a/test/test_v2_crawler_schedule.py +++ b/test/test_v2_crawler_schedule.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_crawler_schedule_request.py b/test/test_v2_crawler_schedule_request.py index 247684c..4ccfd77 100644 --- a/test/test_v2_crawler_schedule_request.py +++ b/test/test_v2_crawler_schedule_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -35,12 +35,11 @@ def make_instance(self, include_optional) -> V2CrawlerScheduleRequest: model = V2CrawlerScheduleRequest() if include_optional: return V2CrawlerScheduleRequest( - name = 'Test schedule', + name = 'Daily Crawl', schedule_cron_string = '0 2 * * *' ) else: return V2CrawlerScheduleRequest( - name = 'Test schedule', schedule_cron_string = '0 2 * * *', ) """ diff --git a/test/test_v2_crawler_sitemap_inner.py b/test/test_v2_crawler_sitemap_inner.py index 9583342..a58a1dc 100644 --- a/test/test_v2_crawler_sitemap_inner.py +++ b/test/test_v2_crawler_sitemap_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_custom_header_request.py b/test/test_v2_custom_header_request.py index 9674c71..b954c4c 100644 --- a/test/test_v2_custom_header_request.py +++ b/test/test_v2_custom_header_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_domain.py b/test/test_v2_domain.py index bf5f146..a56b8a3 100644 --- a/test/test_v2_domain.py +++ b/test/test_v2_domain.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_domain_dns_go_live_records_inner.py b/test/test_v2_domain_dns_go_live_records_inner.py index a96d90d..3dd197b 100644 --- a/test/test_v2_domain_dns_go_live_records_inner.py +++ b/test/test_v2_domain_dns_go_live_records_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_domain_dns_validation_records_inner.py b/test/test_v2_domain_dns_validation_records_inner.py index e6f4361..2c3cf51 100644 --- a/test/test_v2_domain_dns_validation_records_inner.py +++ b/test/test_v2_domain_dns_validation_records_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_domain_request.py b/test/test_v2_domain_request.py index 9074b7f..f3560d4 100644 --- a/test/test_v2_domain_request.py +++ b/test/test_v2_domain_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_error.py b/test/test_v2_error.py index 02f9649..c248eea 100644 --- a/test/test_v2_error.py +++ b/test/test_v2_error.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_metric_data.py b/test/test_v2_metric_data.py new file mode 100644 index 0000000..0fcf3d3 --- /dev/null +++ b/test/test_v2_metric_data.py @@ -0,0 +1,66 @@ +# coding: utf-8 + +""" + QuantCDN API + + Unified API for QuantCDN Admin and QuantCloud Platform services + + The version of the OpenAPI document: 4.10.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from quantcdn.models.v2_metric_data import V2MetricData + +class TestV2MetricData(unittest.TestCase): + """V2MetricData unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V2MetricData: + """Test V2MetricData + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V2MetricData` + """ + model = V2MetricData() + if include_optional: + return V2MetricData( + series = [ + quantcdn.models.v2_metric_data_point.V2MetricDataPoint( + timestamp = 2026-01-29T12:00:00+00:00, + value = 150, ) + ], + period_total = 8523, + all_time_total = 1284567, + period_average = 142.05 + ) + else: + return V2MetricData( + series = [ + quantcdn.models.v2_metric_data_point.V2MetricDataPoint( + timestamp = 2026-01-29T12:00:00+00:00, + value = 150, ) + ], + period_total = 8523, + all_time_total = 1284567, + period_average = 142.05, + ) + """ + + def testV2MetricData(self): + """Test V2MetricData""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v2_metric_data_point.py b/test/test_v2_metric_data_point.py new file mode 100644 index 0000000..5a9d966 --- /dev/null +++ b/test/test_v2_metric_data_point.py @@ -0,0 +1,54 @@ +# coding: utf-8 + +""" + QuantCDN API + + Unified API for QuantCDN Admin and QuantCloud Platform services + + The version of the OpenAPI document: 4.10.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from quantcdn.models.v2_metric_data_point import V2MetricDataPoint + +class TestV2MetricDataPoint(unittest.TestCase): + """V2MetricDataPoint unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V2MetricDataPoint: + """Test V2MetricDataPoint + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V2MetricDataPoint` + """ + model = V2MetricDataPoint() + if include_optional: + return V2MetricDataPoint( + timestamp = 2026-01-29T12:00:00+00:00, + value = 150 + ) + else: + return V2MetricDataPoint( + timestamp = 2026-01-29T12:00:00+00:00, + value = 150, + ) + """ + + def testV2MetricDataPoint(self): + """Test V2MetricDataPoint""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v2_metric_data_point_timestamp.py b/test/test_v2_metric_data_point_timestamp.py new file mode 100644 index 0000000..de0f1b9 --- /dev/null +++ b/test/test_v2_metric_data_point_timestamp.py @@ -0,0 +1,50 @@ +# coding: utf-8 + +""" + QuantCDN API + + Unified API for QuantCDN Admin and QuantCloud Platform services + + The version of the OpenAPI document: 4.10.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from quantcdn.models.v2_metric_data_point_timestamp import V2MetricDataPointTimestamp + +class TestV2MetricDataPointTimestamp(unittest.TestCase): + """V2MetricDataPointTimestamp unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V2MetricDataPointTimestamp: + """Test V2MetricDataPointTimestamp + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V2MetricDataPointTimestamp` + """ + model = V2MetricDataPointTimestamp() + if include_optional: + return V2MetricDataPointTimestamp( + ) + else: + return V2MetricDataPointTimestamp( + ) + """ + + def testV2MetricDataPointTimestamp(self): + """Test V2MetricDataPointTimestamp""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v2_metrics_meta.py b/test/test_v2_metrics_meta.py new file mode 100644 index 0000000..d0680cd --- /dev/null +++ b/test/test_v2_metrics_meta.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + QuantCDN API + + Unified API for QuantCDN Admin and QuantCloud Platform services + + The version of the OpenAPI document: 4.10.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from quantcdn.models.v2_metrics_meta import V2MetricsMeta + +class TestV2MetricsMeta(unittest.TestCase): + """V2MetricsMeta unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V2MetricsMeta: + """Test V2MetricsMeta + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V2MetricsMeta` + """ + model = V2MetricsMeta() + if include_optional: + return V2MetricsMeta( + period = 'hourly', + granularity = 'minute', + start_time = '2026-01-29T12:00:00+00:00', + end_time = '2026-01-29T13:00:00+00:00', + metrics = ["hits","bytes"], + domain = '' + ) + else: + return V2MetricsMeta( + period = 'hourly', + granularity = 'minute', + start_time = '2026-01-29T12:00:00+00:00', + end_time = '2026-01-29T13:00:00+00:00', + metrics = ["hits","bytes"], + ) + """ + + def testV2MetricsMeta(self): + """Test V2MetricsMeta""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v2_metrics_response.py b/test/test_v2_metrics_response.py new file mode 100644 index 0000000..d9727d4 --- /dev/null +++ b/test/test_v2_metrics_response.py @@ -0,0 +1,66 @@ +# coding: utf-8 + +""" + QuantCDN API + + Unified API for QuantCDN Admin and QuantCloud Platform services + + The version of the OpenAPI document: 4.10.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from quantcdn.models.v2_metrics_response import V2MetricsResponse + +class TestV2MetricsResponse(unittest.TestCase): + """V2MetricsResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V2MetricsResponse: + """Test V2MetricsResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V2MetricsResponse` + """ + model = V2MetricsResponse() + if include_optional: + return V2MetricsResponse( + meta = quantcdn.models.v2_metrics_meta.V2MetricsMeta( + period = 'hourly', + granularity = 'minute', + start_time = '2026-01-29T12:00:00+00:00', + end_time = '2026-01-29T13:00:00+00:00', + metrics = ["hits","bytes"], + domain = '', ), + data = {"hits":{"series":[{"timestamp":"2026-01-29T12:00:00+00:00","value":150},{"timestamp":"2026-01-29T12:01:00+00:00","value":142}],"period_total":8523,"all_time_total":1284567,"period_average":142.05},"bytes":{"series":[{"timestamp":"2026-01-29T12:00:00+00:00","value":1520576},{"timestamp":"2026-01-29T12:01:00+00:00","value":1423456}],"period_total":91234567,"all_time_total":12845670000,"period_average":1520576.12}} + ) + else: + return V2MetricsResponse( + meta = quantcdn.models.v2_metrics_meta.V2MetricsMeta( + period = 'hourly', + granularity = 'minute', + start_time = '2026-01-29T12:00:00+00:00', + end_time = '2026-01-29T13:00:00+00:00', + metrics = ["hits","bytes"], + domain = '', ), + data = {"hits":{"series":[{"timestamp":"2026-01-29T12:00:00+00:00","value":150},{"timestamp":"2026-01-29T12:01:00+00:00","value":142}],"period_total":8523,"all_time_total":1284567,"period_average":142.05},"bytes":{"series":[{"timestamp":"2026-01-29T12:00:00+00:00","value":1520576},{"timestamp":"2026-01-29T12:01:00+00:00","value":1423456}],"period_total":91234567,"all_time_total":12845670000,"period_average":1520576.12}}, + ) + """ + + def testV2MetricsResponse(self): + """Test V2MetricsResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v2_organization.py b/test/test_v2_organization.py index 1ce4bc1..d6648cc 100644 --- a/test/test_v2_organization.py +++ b/test/test_v2_organization.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_organization_request.py b/test/test_v2_organization_request.py index cc49338..6c00323 100644 --- a/test/test_v2_organization_request.py +++ b/test/test_v2_organization_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_project.py b/test/test_v2_project.py index 3555650..a8cf1c2 100644 --- a/test/test_v2_project.py +++ b/test/test_v2_project.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_project_request.py b/test/test_v2_project_request.py index e8d40fe..ca05071 100644 --- a/test/test_v2_project_request.py +++ b/test/test_v2_project_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_rule.py b/test/test_v2_rule.py index 064c083..dadb7d0 100644 --- a/test/test_v2_rule.py +++ b/test/test_v2_rule.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_rule_auth.py b/test/test_v2_rule_auth.py index 9252944..7baf687 100644 --- a/test/test_v2_rule_auth.py +++ b/test/test_v2_rule_auth.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_rule_auth_action.py b/test/test_v2_rule_auth_action.py index eaeb561..85d91af 100644 --- a/test/test_v2_rule_auth_action.py +++ b/test/test_v2_rule_auth_action.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_rule_auth_request.py b/test/test_v2_rule_auth_request.py index 16d1b80..5959458 100644 --- a/test/test_v2_rule_auth_request.py +++ b/test/test_v2_rule_auth_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_rule_bot_challenge.py b/test/test_v2_rule_bot_challenge.py index a465797..2d8739a 100644 --- a/test/test_v2_rule_bot_challenge.py +++ b/test/test_v2_rule_bot_challenge.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_rule_bot_challenge_action.py b/test/test_v2_rule_bot_challenge_action.py index 4a3497a..f7528e9 100644 --- a/test/test_v2_rule_bot_challenge_action.py +++ b/test/test_v2_rule_bot_challenge_action.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_rule_bot_challenge_request.py b/test/test_v2_rule_bot_challenge_request.py index cb785d3..9dc9643 100644 --- a/test/test_v2_rule_bot_challenge_request.py +++ b/test/test_v2_rule_bot_challenge_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_rule_content_filter.py b/test/test_v2_rule_content_filter.py index fbe5401..46974bb 100644 --- a/test/test_v2_rule_content_filter.py +++ b/test/test_v2_rule_content_filter.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_rule_content_filter_action.py b/test/test_v2_rule_content_filter_action.py index 5de4b44..e80d38a 100644 --- a/test/test_v2_rule_content_filter_action.py +++ b/test/test_v2_rule_content_filter_action.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_rule_content_filter_request.py b/test/test_v2_rule_content_filter_request.py index 3d421eb..a66ca02 100644 --- a/test/test_v2_rule_content_filter_request.py +++ b/test/test_v2_rule_content_filter_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_rule_custom_response.py b/test/test_v2_rule_custom_response.py index 236cea0..e738a2c 100644 --- a/test/test_v2_rule_custom_response.py +++ b/test/test_v2_rule_custom_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_rule_custom_response_action.py b/test/test_v2_rule_custom_response_action.py index 8673155..cd32a67 100644 --- a/test/test_v2_rule_custom_response_action.py +++ b/test/test_v2_rule_custom_response_action.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_rule_custom_response_request.py b/test/test_v2_rule_custom_response_request.py index 8d82e50..4ed648c 100644 --- a/test/test_v2_rule_custom_response_request.py +++ b/test/test_v2_rule_custom_response_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_rule_function.py b/test/test_v2_rule_function.py index ca08077..0735d81 100644 --- a/test/test_v2_rule_function.py +++ b/test/test_v2_rule_function.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_rule_function_action.py b/test/test_v2_rule_function_action.py index 6171a2b..2651ed1 100644 --- a/test/test_v2_rule_function_action.py +++ b/test/test_v2_rule_function_action.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_rule_function_request.py b/test/test_v2_rule_function_request.py index 3549a6b..9f750cf 100644 --- a/test/test_v2_rule_function_request.py +++ b/test/test_v2_rule_function_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_rule_header.py b/test/test_v2_rule_header.py index faaa7e7..32fe91b 100644 --- a/test/test_v2_rule_header.py +++ b/test/test_v2_rule_header.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_rule_header_action.py b/test/test_v2_rule_header_action.py index e44e01b..b6876de 100644 --- a/test/test_v2_rule_header_action.py +++ b/test/test_v2_rule_header_action.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_rule_header_request.py b/test/test_v2_rule_header_request.py index 0e4dc79..6e8f16e 100644 --- a/test/test_v2_rule_header_request.py +++ b/test/test_v2_rule_header_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_rule_proxy.py b/test/test_v2_rule_proxy.py index 8bf70cd..df62f98 100644 --- a/test/test_v2_rule_proxy.py +++ b/test/test_v2_rule_proxy.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_rule_proxy_action.py b/test/test_v2_rule_proxy_action.py index 362dcc2..1b0ae25 100644 --- a/test/test_v2_rule_proxy_action.py +++ b/test/test_v2_rule_proxy_action.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_rule_proxy_action_notify_config.py b/test/test_v2_rule_proxy_action_notify_config.py index 4c6f195..0e34fbf 100644 --- a/test/test_v2_rule_proxy_action_notify_config.py +++ b/test/test_v2_rule_proxy_action_notify_config.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_rule_proxy_action_quant_cloud_selection.py b/test/test_v2_rule_proxy_action_quant_cloud_selection.py index df0a4ae..ac01f37 100644 --- a/test/test_v2_rule_proxy_action_quant_cloud_selection.py +++ b/test/test_v2_rule_proxy_action_quant_cloud_selection.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_rule_proxy_request.py b/test/test_v2_rule_proxy_request.py index 7eb1021..1a59920 100644 --- a/test/test_v2_rule_proxy_request.py +++ b/test/test_v2_rule_proxy_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_rule_redirect.py b/test/test_v2_rule_redirect.py index 559b1ca..a325714 100644 --- a/test/test_v2_rule_redirect.py +++ b/test/test_v2_rule_redirect.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_rule_redirect_action.py b/test/test_v2_rule_redirect_action.py index 7d7be7e..67971f1 100644 --- a/test/test_v2_rule_redirect_action.py +++ b/test/test_v2_rule_redirect_action.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_rule_redirect_request.py b/test/test_v2_rule_redirect_request.py index f289627..4b1f424 100644 --- a/test/test_v2_rule_redirect_request.py +++ b/test/test_v2_rule_redirect_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_rule_request.py b/test/test_v2_rule_request.py index 390044d..4171b60 100644 --- a/test/test_v2_rule_request.py +++ b/test/test_v2_rule_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_rule_serve_static.py b/test/test_v2_rule_serve_static.py index 7cbfb8f..7050cb4 100644 --- a/test/test_v2_rule_serve_static.py +++ b/test/test_v2_rule_serve_static.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_rule_serve_static_action.py b/test/test_v2_rule_serve_static_action.py index 227efc7..9ae2256 100644 --- a/test/test_v2_rule_serve_static_action.py +++ b/test/test_v2_rule_serve_static_action.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_rule_serve_static_request.py b/test/test_v2_rule_serve_static_request.py index 2f36a6f..5bd133c 100644 --- a/test/test_v2_rule_serve_static_request.py +++ b/test/test_v2_rule_serve_static_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_secret_store.py b/test/test_v2_secret_store.py index b58235a..936d06b 100644 --- a/test/test_v2_secret_store.py +++ b/test/test_v2_secret_store.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_secret_store_request.py b/test/test_v2_secret_store_request.py index f17f7ce..8f4d206 100644 --- a/test/test_v2_secret_store_request.py +++ b/test/test_v2_secret_store_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_store.py b/test/test_v2_store.py index 4c9a879..39b18a5 100644 --- a/test/test_v2_store.py +++ b/test/test_v2_store.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_store_item.py b/test/test_v2_store_item.py index da3445f..caf9810 100644 --- a/test/test_v2_store_item.py +++ b/test/test_v2_store_item.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_store_item_request.py b/test/test_v2_store_item_request.py index 6a681ef..d8bb959 100644 --- a/test/test_v2_store_item_request.py +++ b/test/test_v2_store_item_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_store_item_update_request.py b/test/test_v2_store_item_update_request.py index 0610b7b..44caa38 100644 --- a/test/test_v2_store_item_update_request.py +++ b/test/test_v2_store_item_update_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_store_items_list_response.py b/test/test_v2_store_items_list_response.py index 3966ffc..0b7eed5 100644 --- a/test/test_v2_store_items_list_response.py +++ b/test/test_v2_store_items_list_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_v2_store_request.py b/test/test_v2_store_request.py index 5410ffa..6a60599 100644 --- a/test/test_v2_store_request.py +++ b/test/test_v2_store_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_validate_compose200_response.py b/test/test_validate_compose200_response.py index 2b3c9bf..b09731c 100644 --- a/test/test_validate_compose200_response.py +++ b/test/test_validate_compose200_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_validate_compose422_response.py b/test/test_validate_compose422_response.py index ce824bb..7f7b8a8 100644 --- a/test/test_validate_compose422_response.py +++ b/test/test_validate_compose422_response.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_validate_compose_request.py b/test/test_validate_compose_request.py index 4acff94..e2c1258 100644 --- a/test/test_validate_compose_request.py +++ b/test/test_validate_compose_request.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_variable.py b/test/test_variable.py index eac2645..d97b8de 100644 --- a/test/test_variable.py +++ b/test/test_variable.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_variables_api.py b/test/test_variables_api.py index 032b139..895b018 100644 --- a/test/test_variables_api.py +++ b/test/test_variables_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_volume.py b/test/test_volume.py index a834403..13121ea 100644 --- a/test/test_volume.py +++ b/test/test_volume.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_volumes_api.py b/test/test_volumes_api.py index eda0437..cd66c13 100644 --- a/test/test_volumes_api.py +++ b/test/test_volumes_api.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_waf_config.py b/test/test_waf_config.py index 61f6be7..2018eb5 100644 --- a/test/test_waf_config.py +++ b/test/test_waf_config.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_waf_config_block_lists.py b/test/test_waf_config_block_lists.py index dddc276..5b9faa0 100644 --- a/test/test_waf_config_block_lists.py +++ b/test/test_waf_config_block_lists.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_waf_config_httpbl.py b/test/test_waf_config_httpbl.py index 7ba0b14..e7b766c 100644 --- a/test/test_waf_config_httpbl.py +++ b/test/test_waf_config_httpbl.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_waf_config_thresholds_inner.py b/test/test_waf_config_thresholds_inner.py index fc20bd8..f92a9cc 100644 --- a/test/test_waf_config_thresholds_inner.py +++ b/test/test_waf_config_thresholds_inner.py @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services - The version of the OpenAPI document: 4.9.0 + The version of the OpenAPI document: 4.10.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually.