diff --git a/docs/Api/AIAgentsApi.md b/docs/Api/AIAgentsApi.md index 80efc0b..3bd686f 100644 --- a/docs/Api/AIAgentsApi.md +++ b/docs/Api/AIAgentsApi.md @@ -1,5 +1,7 @@ # QuantClient\AIAgentsApi + + All URIs are relative to https://dashboard.quantcdn.io, except if the operation defines another base path. | Method | HTTP request | Description | @@ -33,14 +35,15 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\AIAgentsApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$agent_id = 'agent_id_example'; // string | The agent ID +$organisation = ''organisation_example''; // string | The organisation ID +$agent_id = ''agent_id_example''; // string | The agent ID $chat_with_ai_agent_request = new \QuantClient\Model\ChatWithAIAgentRequest(); // \QuantClient\Model\ChatWithAIAgentRequest try { @@ -97,13 +100,14 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\AIAgentsApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID +$organisation = ''organisation_example''; // string | The organisation ID $create_ai_agent_request = new \QuantClient\Model\CreateAIAgentRequest(); // \QuantClient\Model\CreateAIAgentRequest try { @@ -159,14 +163,15 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\AIAgentsApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$agent_id = 'agent_id_example'; // string | The agent ID +$organisation = ''organisation_example''; // string | The organisation ID +$agent_id = ''agent_id_example''; // string | The agent ID try { $result = $apiInstance->deleteAIAgent($organisation, $agent_id); @@ -221,14 +226,15 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\AIAgentsApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$agent_id = 'agent_id_example'; // string | The agent ID +$organisation = ''organisation_example''; // string | The organisation ID +$agent_id = ''agent_id_example''; // string | The agent ID try { $result = $apiInstance->getAIAgent($organisation, $agent_id); @@ -283,14 +289,15 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\AIAgentsApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$group = 'group_example'; // string | Optional group filter (e.g., 'development', 'compliance') +$organisation = ''organisation_example''; // string | The organisation ID +$group = ''group_example''; // string | Optional group filter (e.g., 'development', 'compliance') try { $result = $apiInstance->listAIAgents($organisation, $group); @@ -345,14 +352,15 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\AIAgentsApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$agent_id = 'agent_id_example'; // string | The agent ID +$organisation = ''organisation_example''; // string | The organisation ID +$agent_id = ''agent_id_example''; // string | The agent ID $update_ai_agent_request = new \QuantClient\Model\UpdateAIAgentRequest(); // \QuantClient\Model\UpdateAIAgentRequest try { diff --git a/docs/Api/AICustomToolsApi.md b/docs/Api/AICustomToolsApi.md index e4ef6f1..ff8f849 100644 --- a/docs/Api/AICustomToolsApi.md +++ b/docs/Api/AICustomToolsApi.md @@ -1,5 +1,7 @@ # QuantClient\AICustomToolsApi + + All URIs are relative to https://dashboard.quantcdn.io, except if the operation defines another base path. | Method | HTTP request | Description | @@ -30,13 +32,14 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\AICustomToolsApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID +$organisation = ''organisation_example''; // string | The organisation ID $create_custom_tool_request = new \QuantClient\Model\CreateCustomToolRequest(); // \QuantClient\Model\CreateCustomToolRequest try { @@ -92,14 +95,15 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\AICustomToolsApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$tool_name = 'tool_name_example'; // string | The tool name to delete +$organisation = ''organisation_example''; // string | The organisation ID +$tool_name = ''tool_name_example''; // string | The tool name to delete try { $result = $apiInstance->deleteCustomTool($organisation, $tool_name); @@ -154,13 +158,14 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\AICustomToolsApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID +$organisation = ''organisation_example''; // string | The organisation ID try { $result = $apiInstance->listCustomTools($organisation); diff --git a/docs/Api/AIInferenceApi.md b/docs/Api/AIInferenceApi.md index 13ddb17..b92d3b0 100644 --- a/docs/Api/AIInferenceApi.md +++ b/docs/Api/AIInferenceApi.md @@ -1,5 +1,7 @@ # QuantClient\AIInferenceApi + + All URIs are relative to https://dashboard.quantcdn.io, except if the operation defines another base path. | Method | HTTP request | Description | @@ -31,13 +33,14 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\AIInferenceApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID +$organisation = ''organisation_example''; // string | The organisation ID $chat_inference_request = new \QuantClient\Model\ChatInferenceRequest(); // \QuantClient\Model\ChatInferenceRequest | Chat request with optional multimodal content blocks try { @@ -93,13 +96,14 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\AIInferenceApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID +$organisation = ''organisation_example''; // string | The organisation ID $chat_inference_stream_request = new \QuantClient\Model\ChatInferenceStreamRequest(); // \QuantClient\Model\ChatInferenceStreamRequest | Chat request with optional multimodal content blocks try { @@ -155,13 +159,14 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\AIInferenceApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID +$organisation = ''organisation_example''; // string | The organisation ID $embeddings_request = {"input":"The Australian government announced new climate policy","modelId":"amazon.titan-embed-text-v2:0","dimensions":1024,"normalize":true}; // \QuantClient\Model\EmbeddingsRequest | Embedding request with single or multiple texts try { @@ -217,13 +222,14 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\AIInferenceApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID +$organisation = ''organisation_example''; // string | The organisation ID $image_generation_request = {"taskType":"TEXT_IMAGE","textToImageParams":{"text":"A serene mountain landscape at sunset with snow-capped peaks","negativeText":"blurry, low quality, distorted","style":"PHOTOREALISM"},"imageGenerationConfig":{"width":1024,"height":1024,"quality":"premium","numberOfImages":1,"cfgScale":7},"region":"us-east-1"}; // \QuantClient\Model\ImageGenerationRequest | Image generation request try { diff --git a/docs/Api/AIModelsApi.md b/docs/Api/AIModelsApi.md index 81f4263..4027205 100644 --- a/docs/Api/AIModelsApi.md +++ b/docs/Api/AIModelsApi.md @@ -1,5 +1,7 @@ # QuantClient\AIModelsApi + + All URIs are relative to https://dashboard.quantcdn.io, except if the operation defines another base path. | Method | HTTP request | Description | @@ -29,14 +31,15 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\AIModelsApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$model_id = amazon.nova-lite-v1:0; // string | The model identifier (e.g., amazon.nova-lite-v1:0) +$organisation = ''organisation_example''; // string | The organisation ID +$model_id = 'amazon.nova-lite-v1:0'; // string | The model identifier (e.g., amazon.nova-lite-v1:0) try { $result = $apiInstance->getAIModel($organisation, $model_id); @@ -89,14 +92,15 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\AIModelsApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$feature = embeddings; // string | Filter models by supported feature +$organisation = ''organisation_example''; // string | The organisation ID +$feature = 'embeddings'; // string | Filter models by supported feature try { $result = $apiInstance->listAIModels($organisation, $feature); diff --git a/docs/Api/AIMonitoringApi.md b/docs/Api/AIMonitoringApi.md index 6c108a4..2145dfd 100644 --- a/docs/Api/AIMonitoringApi.md +++ b/docs/Api/AIMonitoringApi.md @@ -1,5 +1,7 @@ # QuantClient\AIMonitoringApi + + All URIs are relative to https://dashboard.quantcdn.io, except if the operation defines another base path. | Method | HTTP request | Description | @@ -26,14 +28,15 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\AIMonitoringApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$month = 2025-10; // string | Month to retrieve statistics for (YYYY-MM format) +$organisation = ''organisation_example''; // string | The organisation ID +$month = '2025-10'; // string | Month to retrieve statistics for (YYYY-MM format) try { $result = $apiInstance->getAIUsageStats($organisation, $month); diff --git a/docs/Api/AISessionsApi.md b/docs/Api/AISessionsApi.md index 9688e02..a90103c 100644 --- a/docs/Api/AISessionsApi.md +++ b/docs/Api/AISessionsApi.md @@ -1,5 +1,7 @@ # QuantClient\AISessionsApi + + All URIs are relative to https://dashboard.quantcdn.io, except if the operation defines another base path. | Method | HTTP request | Description | @@ -33,13 +35,14 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\AISessionsApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID +$organisation = ''organisation_example''; // string | The organisation ID $create_ai_session_request = new \QuantClient\Model\CreateAISessionRequest(); // \QuantClient\Model\CreateAISessionRequest try { @@ -93,14 +96,15 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\AISessionsApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$session_id = 'session_id_example'; // string | The session ID +$organisation = ''organisation_example''; // string | The organisation ID +$session_id = ''session_id_example''; // string | The session ID try { $result = $apiInstance->deleteAISession($organisation, $session_id); @@ -155,14 +159,15 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\AISessionsApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$session_id = 'session_id_example'; // string | The session ID +$organisation = ''organisation_example''; // string | The organisation ID +$session_id = ''session_id_example''; // string | The session ID $extend_ai_session_request = new \QuantClient\Model\ExtendAISessionRequest(); // \QuantClient\Model\ExtendAISessionRequest try { @@ -217,14 +222,15 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\AISessionsApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$session_id = 'session_id_example'; // string | The session ID +$organisation = ''organisation_example''; // string | The organisation ID +$session_id = ''session_id_example''; // string | The session ID try { $result = $apiInstance->getAISession($organisation, $session_id); @@ -279,18 +285,19 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\AISessionsApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$user_id = user-12345; // string | Filter sessions by user ID -$session_group = drupal-production; // string | Filter by session group. Returns only sessions matching the specified group. +$organisation = ''organisation_example''; // string | The organisation ID +$user_id = 'user-12345'; // string | Filter sessions by user ID +$session_group = 'drupal-production'; // string | Filter by session group. Returns only sessions matching the specified group. $limit = 50; // int | Maximum number of sessions to return (default 50, max 100) $offset = 56; // int | Offset for pagination -$model = 'model_example'; // string | Filter by model ID +$model = ''model_example''; // string | Filter by model ID try { $result = $apiInstance->listAISessions($organisation, $user_id, $session_group, $limit, $offset, $model); @@ -349,14 +356,15 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\AISessionsApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$session_id = 'session_id_example'; // string | The session ID +$organisation = ''organisation_example''; // string | The organisation ID +$session_id = ''session_id_example''; // string | The session ID $update_ai_session_request = new \QuantClient\Model\UpdateAISessionRequest(); // \QuantClient\Model\UpdateAISessionRequest try { diff --git a/docs/Api/AIToolsApi.md b/docs/Api/AIToolsApi.md index 83cca3a..d78e8b7 100644 --- a/docs/Api/AIToolsApi.md +++ b/docs/Api/AIToolsApi.md @@ -1,5 +1,7 @@ # QuantClient\AIToolsApi + + All URIs are relative to https://dashboard.quantcdn.io, except if the operation defines another base path. | Method | HTTP request | Description | @@ -31,14 +33,15 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\AIToolsApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$execution_id = exec_0123456789abcdef0123456789abcdef; // string | Tool execution identifier +$organisation = ''organisation_example''; // string | The organisation ID +$execution_id = 'exec_0123456789abcdef0123456789abcdef'; // string | Tool execution identifier try { $result = $apiInstance->getAIToolExecutionStatus($organisation, $execution_id); @@ -93,14 +96,15 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\AIToolsApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$status = 'status_example'; // string | Filter by execution status +$organisation = ''organisation_example''; // string | The organisation ID +$status = ''status_example''; // string | Filter by execution status $limit = 50; // int | Maximum number of executions to return try { @@ -157,13 +161,14 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\AIToolsApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID +$organisation = ''organisation_example''; // string | The organisation ID try { $result = $apiInstance->listAIToolNames($organisation); @@ -217,13 +222,14 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\AIToolsApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID +$organisation = ''organisation_example''; // string | The organisation ID try { $result = $apiInstance->listAITools($organisation); diff --git a/docs/Api/AIVectorDatabaseApi.md b/docs/Api/AIVectorDatabaseApi.md index 03ba48f..668a0dc 100644 --- a/docs/Api/AIVectorDatabaseApi.md +++ b/docs/Api/AIVectorDatabaseApi.md @@ -1,5 +1,7 @@ # QuantClient\AIVectorDatabaseApi + + All URIs are relative to https://dashboard.quantcdn.io, except if the operation defines another base path. | Method | HTTP request | Description | @@ -33,13 +35,14 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\AIVectorDatabaseApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID +$organisation = ''organisation_example''; // string | The organisation ID $create_vector_collection_request = new \QuantClient\Model\CreateVectorCollectionRequest(); // \QuantClient\Model\CreateVectorCollectionRequest try { @@ -95,14 +98,15 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\AIVectorDatabaseApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$collection_id = 'collection_id_example'; // string | The collection ID +$organisation = ''organisation_example''; // string | The organisation ID +$collection_id = ''collection_id_example''; // string | The collection ID try { $result = $apiInstance->deleteVectorCollection($organisation, $collection_id); @@ -157,14 +161,15 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\AIVectorDatabaseApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$collection_id = 'collection_id_example'; // string | The collection ID +$organisation = ''organisation_example''; // string | The organisation ID +$collection_id = ''collection_id_example''; // string | The collection ID try { $result = $apiInstance->getVectorCollection($organisation, $collection_id); @@ -219,13 +224,14 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\AIVectorDatabaseApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID +$organisation = ''organisation_example''; // string | The organisation ID try { $result = $apiInstance->listVectorCollections($organisation); @@ -279,14 +285,15 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\AIVectorDatabaseApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$collection_id = 'collection_id_example'; // string | The collection ID +$organisation = ''organisation_example''; // string | The organisation ID +$collection_id = ''collection_id_example''; // string | The collection ID $query_vector_collection_request = new \QuantClient\Model\QueryVectorCollectionRequest(); // \QuantClient\Model\QueryVectorCollectionRequest try { @@ -343,14 +350,15 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\AIVectorDatabaseApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$collection_id = 'collection_id_example'; // string | The collection ID +$organisation = ''organisation_example''; // string | The organisation ID +$collection_id = ''collection_id_example''; // string | The collection ID $upload_vector_documents_request = new \QuantClient\Model\UploadVectorDocumentsRequest(); // \QuantClient\Model\UploadVectorDocumentsRequest try { diff --git a/docs/Api/ApplicationsApi.md b/docs/Api/ApplicationsApi.md index ac1f9ea..13f0004 100644 --- a/docs/Api/ApplicationsApi.md +++ b/docs/Api/ApplicationsApi.md @@ -1,5 +1,7 @@ # QuantClient\ApplicationsApi +Cloud application lifecycle management + All URIs are relative to https://dashboard.quantcdn.io, except if the operation defines another base path. | Method | HTTP request | Description | @@ -30,13 +32,14 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\ApplicationsApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID +$organisation = ''organisation_example''; // string | The organisation ID $create_application_request = new \QuantClient\Model\CreateApplicationRequest(); // \QuantClient\Model\CreateApplicationRequest try { @@ -90,14 +93,15 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\ApplicationsApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$application = 'application_example'; // string | The application ID +$organisation = ''organisation_example''; // string | The organisation ID +$application = ''application_example''; // string | The application ID try { $apiInstance->deleteApplication($organisation, $application); @@ -149,14 +153,15 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\ApplicationsApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$application = 'application_example'; // string | The application ID +$organisation = ''organisation_example''; // string | The organisation ID +$application = ''application_example''; // string | The application ID try { $result = $apiInstance->getApplication($organisation, $application); @@ -209,13 +214,14 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\ApplicationsApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID +$organisation = ''organisation_example''; // string | The organisation ID try { $result = $apiInstance->getEcrLoginCredentials($organisation); @@ -267,13 +273,14 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\ApplicationsApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID +$organisation = ''organisation_example''; // string | The organisation ID try { $result = $apiInstance->listApplications($organisation); diff --git a/docs/Api/BackupManagementApi.md b/docs/Api/BackupManagementApi.md index 727644c..ae1b5e5 100644 --- a/docs/Api/BackupManagementApi.md +++ b/docs/Api/BackupManagementApi.md @@ -1,5 +1,7 @@ # QuantClient\BackupManagementApi + + All URIs are relative to https://dashboard.quantcdn.io, except if the operation defines another base path. | Method | HTTP request | Description | @@ -29,16 +31,17 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\BackupManagementApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$application = 'application_example'; // string | The application ID -$environment = 'environment_example'; // string | The environment ID -$type = 'type_example'; // string | The backup type +$organisation = 'test-org'; // string | The organisation ID +$application = 'test-app'; // string | The application ID +$environment = 'test-env'; // string | The environment ID +$type = ''type_example''; // string | The backup type $create_backup_request = new \QuantClient\Model\CreateBackupRequest(); // \QuantClient\Model\CreateBackupRequest try { @@ -95,17 +98,18 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\BackupManagementApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$application = 'application_example'; // string | The application ID -$environment = 'environment_example'; // string | The environment ID -$type = 'type_example'; // string | The backup type -$backup_id = 'backup_id_example'; // string | The backup ID +$organisation = 'test-org'; // string | The organisation ID +$application = 'test-app'; // string | The application ID +$environment = 'test-env'; // string | The environment ID +$type = ''type_example''; // string | The backup type +$backup_id = ''backup_id_example''; // string | The backup ID try { $result = $apiInstance->deleteBackup($organisation, $application, $environment, $type, $backup_id); @@ -161,17 +165,18 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\BackupManagementApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$application = 'application_example'; // string | The application ID -$environment = 'environment_example'; // string | The environment ID -$type = 'type_example'; // string | The backup type -$backup_id = 'backup_id_example'; // string | The backup ID +$organisation = 'test-org'; // string | The organisation ID +$application = 'test-app'; // string | The application ID +$environment = 'test-env'; // string | The environment ID +$type = ''type_example''; // string | The backup type +$backup_id = ''backup_id_example''; // string | The backup ID try { $result = $apiInstance->downloadBackup($organisation, $application, $environment, $type, $backup_id); @@ -229,22 +234,23 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\BackupManagementApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$application = 'application_example'; // string | The application ID -$environment = 'environment_example'; // string | The environment ID -$type = 'type_example'; // string | The backup type -$order = 'desc'; // string | Sort order for backups by creation date (asc = oldest first, desc = newest first) +$organisation = 'test-org'; // string | The organisation ID +$application = 'test-app'; // string | The application ID +$environment = 'test-env'; // string | The environment ID +$type = ''type_example''; // string | The backup type +$order = ''desc''; // string | Sort order for backups by creation date (asc = oldest first, desc = newest first) $limit = 50; // int | Maximum number of backups to return (max 100) $created_before = new \DateTime('2013-10-20T19:20:30+01:00'); // \DateTime | Only return backups created before this ISO 8601 timestamp (e.g., 2025-01-01T00:00:00Z) $created_after = new \DateTime('2013-10-20T19:20:30+01:00'); // \DateTime | Only return backups created after this ISO 8601 timestamp (e.g., 2024-12-01T00:00:00Z) -$status = 'status_example'; // string | Filter backups by status -$next_token = 'next_token_example'; // string | Token for retrieving the next page of results +$status = ''status_example''; // string | Filter backups by status +$next_token = ''next_token_example''; // string | Token for retrieving the next page of results try { $result = $apiInstance->listBackups($organisation, $application, $environment, $type, $order, $limit, $created_before, $created_after, $status, $next_token); diff --git a/docs/Api/CommandsApi.md b/docs/Api/CommandsApi.md index f88d0a5..dc8c496 100644 --- a/docs/Api/CommandsApi.md +++ b/docs/Api/CommandsApi.md @@ -1,5 +1,7 @@ # QuantClient\CommandsApi +Execute commands in application containers + All URIs are relative to https://dashboard.quantcdn.io, except if the operation defines another base path. | Method | HTTP request | Description | @@ -28,14 +30,15 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\CommandsApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$environment = 'environment_example'; // string | The environment ID +$organisation = 'test-org'; // string | The organisation ID +$environment = 'test-env'; // string | The environment ID $create_command_request = new \QuantClient\Model\CreateCommandRequest(); // \QuantClient\Model\CreateCommandRequest try { @@ -90,15 +93,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\CommandsApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$environment = 'environment_example'; // string | The environment ID -$command = 'command_example'; // string | The command ID +$organisation = 'test-org'; // string | The organisation ID +$environment = 'test-env'; // string | The environment ID +$command = 'test-cmd'; // string | The command ID try { $result = $apiInstance->getCommand($organisation, $environment, $command); @@ -152,14 +156,15 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\CommandsApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$environment = 'environment_example'; // string | The environment ID +$organisation = 'test-org'; // string | The organisation ID +$environment = 'test-env'; // string | The environment ID try { $result = $apiInstance->listCommands($organisation, $environment); diff --git a/docs/Api/ComposeApi.md b/docs/Api/ComposeApi.md index 9c88c8f..b64c350 100644 --- a/docs/Api/ComposeApi.md +++ b/docs/Api/ComposeApi.md @@ -1,5 +1,7 @@ # QuantClient\ComposeApi +Docker compose configuration management + All URIs are relative to https://dashboard.quantcdn.io, except if the operation defines another base path. | Method | HTTP request | Description | @@ -28,15 +30,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\ComposeApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$application = 'application_example'; // string | The application ID -$environment = 'environment_example'; // string | The environment ID +$organisation = 'test-org'; // string | The organisation ID +$application = 'test-app'; // string | The application ID +$environment = 'test-env'; // string | The environment ID try { $result = $apiInstance->getEnvironmentCompose($organisation, $application, $environment); @@ -92,15 +95,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\ComposeApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$application = 'application_example'; // string | The application ID -$environment = 'environment_example'; // string | The environment ID +$organisation = 'test-org'; // string | The organisation ID +$application = 'test-app'; // string | The application ID +$environment = 'test-env'; // string | The environment ID $patch_environment_compose_request = new \QuantClient\Model\PatchEnvironmentComposeRequest(); // \QuantClient\Model\PatchEnvironmentComposeRequest | Partial compose definition updates. All fields are optional. try { @@ -158,15 +162,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\ComposeApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID +$organisation = 'test-org'; // string | The organisation ID $validate_compose_request = new \QuantClient\Model\ValidateComposeRequest(); // \QuantClient\Model\ValidateComposeRequest | The docker-compose.yml file content. Can be sent as raw YAML string or as a JSON wrapper containing both yamlContent (string) and imageSuffix (string) fields. Query parameter imageSuffix takes precedence if both are provided. -$image_suffix = pr-456; // string | Optional. Image tag suffix to apply during translation. Transforms internal image tags to consistent '{containerName}-{suffix}' format (e.g., 'nginx-pr-456'). External images are left unchanged. Useful for feature branch deployments. +$image_suffix = 'pr-456'; // string | Optional. Image tag suffix to apply during translation. Transforms internal image tags to consistent '{containerName}-{suffix}' format (e.g., 'nginx-pr-456'). External images are left unchanged. Useful for feature branch deployments. try { $result = $apiInstance->validateCompose($organisation, $validate_compose_request, $image_suffix); diff --git a/docs/Api/ContainersApi.md b/docs/Api/ContainersApi.md index 37eec84..2856140 100644 --- a/docs/Api/ContainersApi.md +++ b/docs/Api/ContainersApi.md @@ -1,5 +1,7 @@ # QuantClient\ContainersApi +Container management and operations + All URIs are relative to https://dashboard.quantcdn.io, except if the operation defines another base path. | Method | HTTP request | Description | @@ -27,15 +29,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\ContainersApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$application = 'application_example'; // string | The application ID -$environment = 'environment_example'; // string | The environment ID +$organisation = 'test-org'; // string | The organisation ID +$application = 'test-app'; // string | The application ID +$environment = 'test-env'; // string | The environment ID try { $apiInstance->listContainers($organisation, $application, $environment); @@ -88,16 +91,17 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\ContainersApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$application = 'application_example'; // string | The application ID -$environment = 'environment_example'; // string | The environment ID -$container = 'container_example'; // string | The container ID +$organisation = 'test-org'; // string | The organisation ID +$application = 'test-app'; // string | The application ID +$environment = 'test-env'; // string | The environment ID +$container = 'test-container'; // string | The container ID $container2 = new \QuantClient\Model\Container(); // \QuantClient\Model\Container try { diff --git a/docs/Api/CrawlerSchedulesApi.md b/docs/Api/CrawlerSchedulesApi.md index 520d928..cd907b1 100644 --- a/docs/Api/CrawlerSchedulesApi.md +++ b/docs/Api/CrawlerSchedulesApi.md @@ -1,5 +1,7 @@ # QuantClient\CrawlerSchedulesApi +Scheduled website crawl operations + All URIs are relative to https://dashboard.quantcdn.io, except if the operation defines another base path. | Method | HTTP request | Description | @@ -30,15 +32,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\CrawlerSchedulesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string | Organization identifier -$project = 'project_example'; // string | Project identifier -$crawler = 'crawler_example'; // string | Crawler identifier +$organization = ''organization_example''; // string | Organization identifier +$project = ''project_example''; // string | Project identifier +$crawler = ''crawler_example''; // string | Crawler identifier $v2_crawler_schedule_request = new \QuantClient\Model\V2CrawlerScheduleRequest(); // \QuantClient\Model\V2CrawlerScheduleRequest try { @@ -94,16 +97,17 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\CrawlerSchedulesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string | Organization identifier -$project = 'project_example'; // string | Project identifier -$crawler = 'crawler_example'; // string | Crawler identifier -$crawler_schedule = 'crawler_schedule_example'; // string | Crawler schedule identifier +$organization = ''organization_example''; // string | Organization identifier +$project = ''project_example''; // string | Project identifier +$crawler = ''crawler_example''; // string | Crawler identifier +$crawler_schedule = ''crawler_schedule_example''; // string | Crawler schedule identifier try { $apiInstance->crawlerSchedulesDelete($organization, $project, $crawler, $crawler_schedule); @@ -157,16 +161,17 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\CrawlerSchedulesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string | Organization identifier -$project = 'project_example'; // string | Project identifier -$crawler = 'crawler_example'; // string | Crawler identifier -$crawler_schedule = 'crawler_schedule_example'; // string | Crawler schedule identifier +$organization = ''organization_example''; // string | Organization identifier +$project = ''project_example''; // string | Project identifier +$crawler = ''crawler_example''; // string | Crawler identifier +$crawler_schedule = ''crawler_schedule_example''; // string | Crawler schedule identifier $v2_crawler_schedule_request = new \QuantClient\Model\V2CrawlerScheduleRequest(); // \QuantClient\Model\V2CrawlerScheduleRequest try { @@ -223,15 +228,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\CrawlerSchedulesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string -$project = 'project_example'; // string -$crawler = 'crawler_example'; // string +$organization = 'test-org'; // string +$project = 'test-project'; // string +$crawler = '00000000-0000-0000-0000-000000000000'; // string try { $result = $apiInstance->crawlerSchedulesList($organization, $project, $crawler); @@ -285,16 +291,17 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\CrawlerSchedulesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string | Organization identifier -$project = 'project_example'; // string | Project identifier -$crawler = 'crawler_example'; // string | Crawler identifier -$crawler_schedule = 'crawler_schedule_example'; // string | Crawler schedule identifier +$organization = ''organization_example''; // string | Organization identifier +$project = ''project_example''; // string | Project identifier +$crawler = ''crawler_example''; // string | Crawler identifier +$crawler_schedule = ''crawler_schedule_example''; // string | Crawler schedule identifier try { $result = $apiInstance->crawlerSchedulesShow($organization, $project, $crawler, $crawler_schedule); diff --git a/docs/Api/CrawlersApi.md b/docs/Api/CrawlersApi.md index 2e5f259..0a3135b 100644 --- a/docs/Api/CrawlersApi.md +++ b/docs/Api/CrawlersApi.md @@ -1,5 +1,7 @@ # QuantClient\CrawlersApi +Website crawler configuration and management + All URIs are relative to https://dashboard.quantcdn.io, except if the operation defines another base path. | Method | HTTP request | Description | @@ -33,14 +35,15 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\CrawlersApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string | Organization identifier -$project = 'project_example'; // string | Project identifier +$organization = 'test-org'; // string | Organization identifier +$project = 'test-project'; // string | Project identifier $v2_crawler_request = new \QuantClient\Model\V2CrawlerRequest(); // \QuantClient\Model\V2CrawlerRequest try { @@ -95,15 +98,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\CrawlersApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string | Organization identifier -$project = 'project_example'; // string | Project identifier -$crawler = 'crawler_example'; // string +$organization = 'test-org'; // string | Organization identifier +$project = 'test-project'; // string | Project identifier +$crawler = '00000000-0000-0000-0000-000000000000'; // string | The UUID of the crawler try { $apiInstance->crawlersDelete($organization, $project, $crawler); @@ -118,7 +122,7 @@ try { | ------------- | ------------- | ------------- | ------------- | | **organization** | **string**| Organization identifier | | | **project** | **string**| Project identifier | | -| **crawler** | **string**| | | +| **crawler** | **string**| The UUID of the crawler | | ### Return type @@ -156,16 +160,17 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\CrawlersApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string | Organization identifier -$project = 'project_example'; // string | Project identifier -$crawler = 'crawler_example'; // string | Crawler identifier -$run_id = 56; // int | Run identifier +$organization = 'test-org'; // string | Organization identifier +$project = 'test-project'; // string | Project identifier +$crawler = '00000000-0000-0000-0000-000000000000'; // string | Crawler identifier +$run_id = 1; // int | Run identifier try { $result = $apiInstance->crawlersGetRunById($organization, $project, $crawler, $run_id); @@ -220,15 +225,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\CrawlersApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string | Organization identifier -$project = 'project_example'; // string | Project identifier -$crawler = 'crawler_example'; // string | Crawler identifier +$organization = 'test-org'; // string | Organization identifier +$project = 'test-project'; // string | Project identifier +$crawler = '00000000-0000-0000-0000-000000000000'; // string | Crawler identifier try { $result = $apiInstance->crawlersGetRuns($organization, $project, $crawler); @@ -266,7 +272,7 @@ try { ## `crawlersList()` ```php -crawlersList($organization, $project): \QuantClient\Model\V2Crawler[] +crawlersList($organization, $project) ``` List crawlers for the project @@ -282,18 +288,18 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\CrawlersApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string | Organization identifier -$project = 'project_example'; // string | Project identifier +$organization = 'test-org'; // string | Organization identifier +$project = 'test-project'; // string | Project identifier try { - $result = $apiInstance->crawlersList($organization, $project); - print_r($result); + $apiInstance->crawlersList($organization, $project); } catch (Exception $e) { echo 'Exception when calling CrawlersApi->crawlersList: ', $e->getMessage(), PHP_EOL; } @@ -308,7 +314,7 @@ try { ### Return type -[**\QuantClient\Model\V2Crawler[]**](../Model/V2Crawler.md) +void (empty response body) ### Authorization @@ -342,15 +348,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\CrawlersApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string | Organization identifier -$project = 'project_example'; // string | Project identifier -$crawler = 'crawler_example'; // string +$organization = 'test-org'; // string | Organization identifier +$project = 'test-project'; // string | Project identifier +$crawler = '00000000-0000-0000-0000-000000000000'; // string | The UUID of the crawler try { $result = $apiInstance->crawlersRead($organization, $project, $crawler); @@ -366,7 +373,7 @@ try { | ------------- | ------------- | ------------- | ------------- | | **organization** | **string**| Organization identifier | | | **project** | **string**| Project identifier | | -| **crawler** | **string**| | | +| **crawler** | **string**| The UUID of the crawler | | ### Return type @@ -404,15 +411,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\CrawlersApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string | Organization identifier -$project = 'project_example'; // string | Project identifier -$crawler = 'crawler_example'; // string | Crawler identifier +$organization = 'test-org'; // string | Organization identifier +$project = 'test-project'; // string | Project identifier +$crawler = '00000000-0000-0000-0000-000000000000'; // string | Crawler identifier $crawlers_run_request = new \QuantClient\Model\CrawlersRunRequest(); // \QuantClient\Model\CrawlersRunRequest try { @@ -468,15 +476,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\CrawlersApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string | Organization identifier -$project = 'project_example'; // string | Project identifier -$crawler = 'crawler_example'; // string +$organization = 'test-org'; // string | Organization identifier +$project = 'test-project'; // string | Project identifier +$crawler = '00000000-0000-0000-0000-000000000000'; // string | The UUID of the crawler $v2_crawler_request = new \QuantClient\Model\V2CrawlerRequest(); // \QuantClient\Model\V2CrawlerRequest try { @@ -493,7 +502,7 @@ try { | ------------- | ------------- | ------------- | ------------- | | **organization** | **string**| Organization identifier | | | **project** | **string**| Project identifier | | -| **crawler** | **string**| | | +| **crawler** | **string**| The UUID of the crawler | | | **v2_crawler_request** | [**\QuantClient\Model\V2CrawlerRequest**](../Model/V2CrawlerRequest.md)| | | ### Return type diff --git a/docs/Api/CronApi.md b/docs/Api/CronApi.md index 1468fa3..5a9af62 100644 --- a/docs/Api/CronApi.md +++ b/docs/Api/CronApi.md @@ -1,5 +1,7 @@ # QuantClient\CronApi +Scheduled task management + All URIs are relative to https://dashboard.quantcdn.io, except if the operation defines another base path. | Method | HTTP request | Description | @@ -32,15 +34,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\CronApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$application = 'application_example'; // string | The application ID -$environment = 'environment_example'; // string | The environment ID +$organisation = 'test-org'; // string | The organisation ID +$application = 'test-app'; // string | The application ID +$environment = 'test-env'; // string | The environment ID $create_cron_job_request = new \QuantClient\Model\CreateCronJobRequest(); // \QuantClient\Model\CreateCronJobRequest try { @@ -96,16 +99,17 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\CronApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$application = 'application_example'; // string | The application ID -$environment = 'environment_example'; // string | The environment ID -$cron = 'cron_example'; // string | The cron job ID +$organisation = 'test-org'; // string | The organisation ID +$application = 'test-app'; // string | The application ID +$environment = 'test-env'; // string | The environment ID +$cron = ''cron_example''; // string | The cron job ID try { $apiInstance->deleteCronJob($organisation, $application, $environment, $cron); @@ -159,16 +163,17 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\CronApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$application = 'application_example'; // string | The application ID -$environment = 'environment_example'; // string | The environment ID -$cron = 'cron_example'; // string | The cron job ID +$organisation = 'test-org'; // string | The organisation ID +$application = 'test-app'; // string | The application ID +$environment = 'test-env'; // string | The environment ID +$cron = ''cron_example''; // string | The cron job ID try { $result = $apiInstance->getCronJob($organisation, $application, $environment, $cron); @@ -223,17 +228,18 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\CronApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$application = 'application_example'; // string | The application ID -$environment = 'environment_example'; // string | The environment ID -$cron = 'cron_example'; // string | The cron job ID -$run = 'run_example'; // string | The cron run ID +$organisation = 'test-org'; // string | The organisation ID +$application = 'test-app'; // string | The application ID +$environment = 'test-env'; // string | The environment ID +$cron = 'test-cron'; // string | The cron job ID +$run = ''run_example''; // string | The cron run ID try { $result = $apiInstance->getCronRun($organisation, $application, $environment, $cron, $run); @@ -289,16 +295,17 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\CronApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$application = 'application_example'; // string | The application ID -$environment = 'environment_example'; // string | The environment ID -$cron = 'cron_example'; // string | The cron job ID +$organisation = 'test-org'; // string | The organisation ID +$application = 'test-app'; // string | The application ID +$environment = 'test-env'; // string | The environment ID +$cron = 'test-cron'; // string | The cron job ID try { $result = $apiInstance->listCronJobRuns($organisation, $application, $environment, $cron); @@ -353,15 +360,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\CronApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$application = 'application_example'; // string | The application ID -$environment = 'environment_example'; // string | The environment ID +$organisation = 'test-org'; // string | The organisation ID +$application = 'test-app'; // string | The application ID +$environment = 'test-env'; // string | The environment ID try { $result = $apiInstance->listCronJobs($organisation, $application, $environment); @@ -415,16 +423,17 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\CronApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$application = 'application_example'; // string | The application ID -$environment = 'environment_example'; // string | The environment ID -$cron = 'cron_example'; // string | The cron job ID +$organisation = 'test-org'; // string | The organisation ID +$application = 'test-app'; // string | The application ID +$environment = 'test-env'; // string | The environment ID +$cron = ''cron_example''; // string | The cron job ID $update_cron_job_request = new \QuantClient\Model\UpdateCronJobRequest(); // \QuantClient\Model\UpdateCronJobRequest try { diff --git a/docs/Api/DomainsApi.md b/docs/Api/DomainsApi.md index 68a3a79..96d07a2 100644 --- a/docs/Api/DomainsApi.md +++ b/docs/Api/DomainsApi.md @@ -1,5 +1,7 @@ # QuantClient\DomainsApi +Domain and DNS management + All URIs are relative to https://dashboard.quantcdn.io, except if the operation defines another base path. | Method | HTTP request | Description | @@ -30,14 +32,15 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\DomainsApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string | Organization identifier -$project = 'project_example'; // string | Project identifier +$organization = 'test-org'; // string | Organization identifier +$project = 'test-project'; // string | Project identifier $v2_domain_request = new \QuantClient\Model\V2DomainRequest(); // \QuantClient\Model\V2DomainRequest try { @@ -92,15 +95,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\DomainsApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string | Organization identifier -$project = 'project_example'; // string | Project identifier -$domain = 'domain_example'; // string | Domain identifier +$organization = 'test-org'; // string | Organization identifier +$project = 'test-project'; // string | Project identifier +$domain = '0000'; // string | Domain id try { $apiInstance->domainsDelete($organization, $project, $domain); @@ -115,7 +119,7 @@ try { | ------------- | ------------- | ------------- | ------------- | | **organization** | **string**| Organization identifier | | | **project** | **string**| Project identifier | | -| **domain** | **string**| Domain identifier | | +| **domain** | **string**| Domain id | | ### Return type @@ -153,14 +157,15 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\DomainsApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string | Organization identifier -$project = 'project_example'; // string | Project identifier +$organization = 'test-org'; // string | Organization identifier +$project = 'test-project'; // string | Project identifier try { $result = $apiInstance->domainsList($organization, $project); @@ -213,15 +218,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\DomainsApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string | Organization identifier -$project = 'project_example'; // string | Project identifier -$domain = 'domain_example'; // string | Domain identifier +$organization = 'test-org'; // string | Organization identifier +$project = 'test-project'; // string | Project identifier +$domain = '0000'; // string | Domain id try { $result = $apiInstance->domainsRead($organization, $project, $domain); @@ -237,7 +243,7 @@ try { | ------------- | ------------- | ------------- | ------------- | | **organization** | **string**| Organization identifier | | | **project** | **string**| Project identifier | | -| **domain** | **string**| Domain identifier | | +| **domain** | **string**| Domain id | | ### Return type @@ -275,15 +281,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\DomainsApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string | Organization identifier -$project = 'project_example'; // string | Project identifier -$domain = 'domain_example'; // string | Domain identifier +$organization = 'test-org'; // string | Organization identifier +$project = 'test-project'; // string | Project identifier +$domain = '0000'; // string | Domain id try { $apiInstance->domainsRenew($organization, $project, $domain); @@ -298,7 +305,7 @@ try { | ------------- | ------------- | ------------- | ------------- | | **organization** | **string**| Organization identifier | | | **project** | **string**| Project identifier | | -| **domain** | **string**| Domain identifier | | +| **domain** | **string**| Domain id | | ### Return type diff --git a/docs/Api/EnvironmentsApi.md b/docs/Api/EnvironmentsApi.md index 8549fbf..cc849ea 100644 --- a/docs/Api/EnvironmentsApi.md +++ b/docs/Api/EnvironmentsApi.md @@ -1,5 +1,7 @@ # QuantClient\EnvironmentsApi +Application environment management and configuration + All URIs are relative to https://dashboard.quantcdn.io, except if the operation defines another base path. | Method | HTTP request | Description | @@ -35,14 +37,15 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\EnvironmentsApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$application = 'application_example'; // string | The application ID +$organisation = 'test-org'; // string | The organisation ID +$application = 'test-app'; // string | The application ID $create_environment_request = new \QuantClient\Model\CreateEnvironmentRequest(); // \QuantClient\Model\CreateEnvironmentRequest try { @@ -97,15 +100,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\EnvironmentsApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$application = 'application_example'; // string | The application ID -$environment = 'environment_example'; // string | The environment ID +$organisation = 'test-org'; // string | The organisation ID +$application = 'test-app'; // string | The application ID +$environment = 'test-env'; // string | The environment ID try { $apiInstance->deleteEnvironment($organisation, $application, $environment); @@ -158,15 +162,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\EnvironmentsApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$application = 'application_example'; // string | The application ID -$environment = 'environment_example'; // string | The environment ID +$organisation = 'test-org'; // string | The organisation ID +$application = 'test-app'; // string | The application ID +$environment = 'test-env'; // string | The environment ID try { $result = $apiInstance->getEnvironment($organisation, $application, $environment); @@ -222,21 +227,22 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\EnvironmentsApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$application = 'application_example'; // string | The application ID -$environment = 'environment_example'; // string | The environment ID -$start_time = 'start_time_example'; // string | Start time for log retrieval (ISO 8601 format or Unix timestamp) -$end_time = 'end_time_example'; // string | End time for log retrieval (ISO 8601 format or Unix timestamp) -$container_name = 'container_name_example'; // string | Filter logs by specific container name -$filter_pattern = 'filter_pattern_example'; // string | CloudWatch Logs filter pattern for searching log content +$organisation = 'test-org'; // string | The organisation ID +$application = 'test-app'; // string | The application ID +$environment = 'test-env'; // string | The environment ID +$start_time = ''start_time_example''; // string | Start time for log retrieval (ISO 8601 format or Unix timestamp) +$end_time = ''end_time_example''; // string | End time for log retrieval (ISO 8601 format or Unix timestamp) +$container_name = ''container_name_example''; // string | Filter logs by specific container name +$filter_pattern = ''filter_pattern_example''; // string | CloudWatch Logs filter pattern for searching log content $limit = 56; // int | Maximum number of log entries to return per page -$next_token = 'next_token_example'; // string | Pagination token from previous response for retrieving next page of results +$next_token = ''next_token_example''; // string | Pagination token from previous response for retrieving next page of results try { $result = $apiInstance->getEnvironmentLogs($organisation, $application, $environment, $start_time, $end_time, $container_name, $filter_pattern, $limit, $next_token); @@ -298,20 +304,21 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\EnvironmentsApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$application = 'application_example'; // string | The application ID -$environment = 'environment_example'; // string | The environment ID +$organisation = 'test-org'; // string | The organisation ID +$application = 'test-app'; // string | The application ID +$environment = 'test-env'; // string | The environment ID $start_time = 56; // int | Start time for metrics retrieval (Unix timestamp in milliseconds) $end_time = 56; // int | End time for metrics retrieval (Unix timestamp in milliseconds) $period = 56; // int | Period in seconds for metric aggregation (e.g., 60 for 1 minute, 300 for 5 minutes) -$statistics = 'statistics_example'; // string | Comma-separated list of CloudWatch statistics (e.g., Average, Maximum, Minimum, Sum, SampleCount) -$container_name = 'container_name_example'; // string | Filter metrics by specific container name +$statistics = ''statistics_example''; // string | Comma-separated list of CloudWatch statistics (e.g., Average, Maximum, Minimum, Sum, SampleCount) +$container_name = ''container_name_example''; // string | Filter metrics by specific container name try { $result = $apiInstance->getEnvironmentMetrics($organisation, $application, $environment, $start_time, $end_time, $period, $statistics, $container_name); @@ -370,14 +377,15 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\EnvironmentsApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$application = 'application_example'; // string | The application ID +$organisation = 'test-org'; // string | The organisation ID +$application = 'test-app'; // string | The application ID try { $result = $apiInstance->listEnvironments($organisation, $application); @@ -430,16 +438,17 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\EnvironmentsApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$application = 'application_example'; // string | The application ID -$environment = 'environment_example'; // string | The environment ID -$type = 'type_example'; // string | The sync type +$organisation = 'test-org'; // string | The organisation ID +$application = 'test-app'; // string | The application ID +$environment = 'test-env'; // string | The environment ID +$type = ''type_example''; // string | The sync type try { $result = $apiInstance->listSyncOperations($organisation, $application, $environment, $type); @@ -494,16 +503,17 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\EnvironmentsApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$application = 'application_example'; // string | The application ID -$environment = 'environment_example'; // string | The environment ID -$type = 'type_example'; // string | The sync type +$organisation = 'test-org'; // string | The organisation ID +$application = 'test-app'; // string | The application ID +$environment = 'test-env'; // string | The environment ID +$type = ''type_example''; // string | The sync type $sync_to_environment_request = new \QuantClient\Model\SyncToEnvironmentRequest(); // \QuantClient\Model\SyncToEnvironmentRequest try { @@ -562,15 +572,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\EnvironmentsApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$application = 'application_example'; // string | The application ID -$environment = 'environment_example'; // string | The environment ID +$organisation = ''organisation_example''; // string | The organisation ID +$application = ''application_example''; // string | The application ID +$environment = ''environment_example''; // string | The environment ID $update_environment_request = new \QuantClient\Model\UpdateEnvironmentRequest(); // \QuantClient\Model\UpdateEnvironmentRequest try { @@ -625,15 +636,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\EnvironmentsApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$application = 'application_example'; // string | The application ID -$environment = 'environment_example'; // string | The environment ID +$organisation = 'test-org'; // string | The organisation ID +$application = 'test-app'; // string | The application ID +$environment = 'test-env'; // string | The environment ID $update_environment_state_request = new \QuantClient\Model\UpdateEnvironmentStateRequest(); // \QuantClient\Model\UpdateEnvironmentStateRequest try { diff --git a/docs/Api/HeadersApi.md b/docs/Api/HeadersApi.md index dca5b61..53c1046 100644 --- a/docs/Api/HeadersApi.md +++ b/docs/Api/HeadersApi.md @@ -1,5 +1,7 @@ # QuantClient\HeadersApi +HTTP header rule management + All URIs are relative to https://dashboard.quantcdn.io, except if the operation defines another base path. | Method | HTTP request | Description | @@ -28,14 +30,15 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\HeadersApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string -$project = 'project_example'; // string +$organization = 'test-org'; // string | Organization identifier +$project = 'test-project'; // string | Project identifier $v2_custom_header_request = new \QuantClient\Model\V2CustomHeaderRequest(); // \QuantClient\Model\V2CustomHeaderRequest try { @@ -50,8 +53,8 @@ try { | Name | Type | Description | Notes | | ------------- | ------------- | ------------- | ------------- | -| **organization** | **string**| | | -| **project** | **string**| | | +| **organization** | **string**| Organization identifier | | +| **project** | **string**| Project identifier | | | **v2_custom_header_request** | [**\QuantClient\Model\V2CustomHeaderRequest**](../Model/V2CustomHeaderRequest.md)| | | ### Return type @@ -90,14 +93,15 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\HeadersApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string -$project = 'project_example'; // string +$organization = 'test-org'; // string | Organization identifier +$project = 'test-project'; // string | Project identifier $v2_custom_header_request = new \QuantClient\Model\V2CustomHeaderRequest(); // \QuantClient\Model\V2CustomHeaderRequest try { @@ -111,8 +115,8 @@ try { | Name | Type | Description | Notes | | ------------- | ------------- | ------------- | ------------- | -| **organization** | **string**| | | -| **project** | **string**| | | +| **organization** | **string**| Organization identifier | | +| **project** | **string**| Project identifier | | | **v2_custom_header_request** | [**\QuantClient\Model\V2CustomHeaderRequest**](../Model/V2CustomHeaderRequest.md)| | | ### Return type @@ -151,14 +155,15 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\HeadersApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string -$project = 'project_example'; // string +$organization = 'test-org'; // string | Organization identifier +$project = 'test-project'; // string | Project identifier try { $result = $apiInstance->headersList($organization, $project); @@ -172,8 +177,8 @@ try { | Name | Type | Description | Notes | | ------------- | ------------- | ------------- | ------------- | -| **organization** | **string**| | | -| **project** | **string**| | | +| **organization** | **string**| Organization identifier | | +| **project** | **string**| Project identifier | | ### Return type diff --git a/docs/Api/KVApi.md b/docs/Api/KVApi.md index abd928f..5fe2e81 100644 --- a/docs/Api/KVApi.md +++ b/docs/Api/KVApi.md @@ -1,5 +1,7 @@ # QuantClient\KVApi +Key-value store operations + All URIs are relative to https://dashboard.quantcdn.io, except if the operation defines another base path. | Method | HTTP request | Description | @@ -34,14 +36,15 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\KVApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string -$project = 'project_example'; // string +$organization = 'test-org'; // string | Organization identifier +$project = 'test-project'; // string | Project identifier $v2_store_request = new \QuantClient\Model\V2StoreRequest(); // \QuantClient\Model\V2StoreRequest try { @@ -56,8 +59,8 @@ try { | Name | Type | Description | Notes | | ------------- | ------------- | ------------- | ------------- | -| **organization** | **string**| | | -| **project** | **string**| | | +| **organization** | **string**| Organization identifier | | +| **project** | **string**| Project identifier | | | **v2_store_request** | [**\QuantClient\Model\V2StoreRequest**](../Model/V2StoreRequest.md)| | | ### Return type @@ -96,15 +99,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\KVApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string -$project = 'project_example'; // string -$store_id = 'store_id_example'; // string +$organization = 'test-org'; // string | Organization identifier +$project = 'test-project'; // string | Project identifier +$store_id = '0000'; // string try { $apiInstance->kVDelete($organization, $project, $store_id); @@ -117,8 +121,8 @@ try { | Name | Type | Description | Notes | | ------------- | ------------- | ------------- | ------------- | -| **organization** | **string**| | | -| **project** | **string**| | | +| **organization** | **string**| Organization identifier | | +| **project** | **string**| Project identifier | | | **store_id** | **string**| | | ### Return type @@ -157,15 +161,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\KVApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string -$project = 'project_example'; // string -$store_id = 'store_id_example'; // string +$organization = 'test-org'; // string | Organization identifier +$project = 'test-project'; // string | Project identifier +$store_id = '0000'; // string $v2_store_item_request = new \QuantClient\Model\V2StoreItemRequest(); // \QuantClient\Model\V2StoreItemRequest try { @@ -180,8 +185,8 @@ try { | Name | Type | Description | Notes | | ------------- | ------------- | ------------- | ------------- | -| **organization** | **string**| | | -| **project** | **string**| | | +| **organization** | **string**| Organization identifier | | +| **project** | **string**| Project identifier | | | **store_id** | **string**| | | | **v2_store_item_request** | [**\QuantClient\Model\V2StoreItemRequest**](../Model/V2StoreItemRequest.md)| | | @@ -221,16 +226,17 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\KVApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string -$project = 'project_example'; // string -$store_id = 'store_id_example'; // string -$key = 'key_example'; // string +$organization = 'test-org'; // string | Organization identifier +$project = 'test-project'; // string | Project identifier +$store_id = '0000'; // string +$key = ''key_example''; // string try { $result = $apiInstance->kVItemsDelete($organization, $project, $store_id, $key); @@ -244,8 +250,8 @@ try { | Name | Type | Description | Notes | | ------------- | ------------- | ------------- | ------------- | -| **organization** | **string**| | | -| **project** | **string**| | | +| **organization** | **string**| Organization identifier | | +| **project** | **string**| Project identifier | | | **store_id** | **string**| | | | **key** | **string**| | | @@ -285,18 +291,19 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\KVApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string -$project = 'project_example'; // string -$store_id = 'store_id_example'; // string -$cursor = 'cursor_example'; // string | Cursor for pagination +$organization = 'test-org'; // string | Organization identifier +$project = 'test-project'; // string | Project identifier +$store_id = '0000'; // string +$cursor = ''cursor_example''; // string | Cursor for pagination $limit = 10; // int | Number of items to return -$search = 'search_example'; // string | Search filter for keys +$search = ''search_example''; // string | Search filter for keys $include_values = false; // bool | Include values in the response. Secret values will be redacted as '[ENCRYPTED]' for security. try { @@ -311,8 +318,8 @@ try { | Name | Type | Description | Notes | | ------------- | ------------- | ------------- | ------------- | -| **organization** | **string**| | | -| **project** | **string**| | | +| **organization** | **string**| Organization identifier | | +| **project** | **string**| Project identifier | | | **store_id** | **string**| | | | **cursor** | **string**| Cursor for pagination | [optional] | | **limit** | **int**| Number of items to return | [optional] [default to 10] | @@ -357,16 +364,17 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\KVApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string -$project = 'project_example'; // string -$store_id = 'store_id_example'; // string -$key = 'key_example'; // string +$organization = 'test-org'; // string | Organization identifier +$project = 'test-project'; // string | Project identifier +$store_id = '0000'; // string +$key = ''key_example''; // string try { $result = $apiInstance->kVItemsShow($organization, $project, $store_id, $key); @@ -380,8 +388,8 @@ try { | Name | Type | Description | Notes | | ------------- | ------------- | ------------- | ------------- | -| **organization** | **string**| | | -| **project** | **string**| | | +| **organization** | **string**| Organization identifier | | +| **project** | **string**| Project identifier | | | **store_id** | **string**| | | | **key** | **string**| | | @@ -421,16 +429,17 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\KVApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string -$project = 'project_example'; // string -$store_id = 'store_id_example'; // string -$key = 'key_example'; // string +$organization = 'test-org'; // string | Organization identifier +$project = 'test-project'; // string | Project identifier +$store_id = '0000'; // string +$key = ''key_example''; // string $v2_store_item_update_request = new \QuantClient\Model\V2StoreItemUpdateRequest(); // \QuantClient\Model\V2StoreItemUpdateRequest try { @@ -445,8 +454,8 @@ try { | Name | Type | Description | Notes | | ------------- | ------------- | ------------- | ------------- | -| **organization** | **string**| | | -| **project** | **string**| | | +| **organization** | **string**| Organization identifier | | +| **project** | **string**| Project identifier | | | **store_id** | **string**| | | | **key** | **string**| | | | **v2_store_item_update_request** | [**\QuantClient\Model\V2StoreItemUpdateRequest**](../Model/V2StoreItemUpdateRequest.md)| | | @@ -487,14 +496,15 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\KVApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string -$project = 'project_example'; // string +$organization = 'test-org'; // string | Organization identifier +$project = 'test-project'; // string | Project identifier try { $result = $apiInstance->kVList($organization, $project); @@ -508,8 +518,8 @@ try { | Name | Type | Description | Notes | | ------------- | ------------- | ------------- | ------------- | -| **organization** | **string**| | | -| **project** | **string**| | | +| **organization** | **string**| Organization identifier | | +| **project** | **string**| Project identifier | | ### Return type @@ -547,15 +557,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\KVApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string -$project = 'project_example'; // string -$store_id = 'store_id_example'; // string +$organization = 'test-org'; // string | Organization identifier +$project = 'test-project'; // string | Project identifier +$store_id = '0000'; // string try { $result = $apiInstance->kVShow($organization, $project, $store_id); @@ -569,8 +580,8 @@ try { | Name | Type | Description | Notes | | ------------- | ------------- | ------------- | ------------- | -| **organization** | **string**| | | -| **project** | **string**| | | +| **organization** | **string**| Organization identifier | | +| **project** | **string**| Project identifier | | | **store_id** | **string**| | | ### Return type diff --git a/docs/Api/OrganizationsApi.md b/docs/Api/OrganizationsApi.md index a686013..b776ac9 100644 --- a/docs/Api/OrganizationsApi.md +++ b/docs/Api/OrganizationsApi.md @@ -1,5 +1,7 @@ # QuantClient\OrganizationsApi +Organization management and settings + All URIs are relative to https://dashboard.quantcdn.io, except if the operation defines another base path. | Method | HTTP request | Description | @@ -27,6 +29,7 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\OrganizationsApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -82,13 +85,14 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\OrganizationsApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string +$organization = 'test-org'; // string | Organization identifier try { $result = $apiInstance->organizationsRead($organization); @@ -102,7 +106,7 @@ try { | Name | Type | Description | Notes | | ------------- | ------------- | ------------- | ------------- | -| **organization** | **string**| | | +| **organization** | **string**| Organization identifier | | ### Return type diff --git a/docs/Api/ProjectsApi.md b/docs/Api/ProjectsApi.md index 7f9d287..3eb7eba 100644 --- a/docs/Api/ProjectsApi.md +++ b/docs/Api/ProjectsApi.md @@ -1,5 +1,7 @@ # QuantClient\ProjectsApi +Static site project management + All URIs are relative to https://dashboard.quantcdn.io, except if the operation defines another base path. | Method | HTTP request | Description | @@ -30,13 +32,14 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\ProjectsApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string +$organization = 'test-org'; // string | Organization identifier $v2_project_request = new \QuantClient\Model\V2ProjectRequest(); // \QuantClient\Model\V2ProjectRequest try { @@ -51,7 +54,7 @@ try { | Name | Type | Description | Notes | | ------------- | ------------- | ------------- | ------------- | -| **organization** | **string**| | | +| **organization** | **string**| Organization identifier | | | **v2_project_request** | [**\QuantClient\Model\V2ProjectRequest**](../Model/V2ProjectRequest.md)| | | ### Return type @@ -90,14 +93,15 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\ProjectsApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string -$project = 'project_example'; // string +$organization = 'test-org'; // string | Organization identifier +$project = 'test-project'; // string | Project identifier try { $apiInstance->projectsDelete($organization, $project); @@ -110,8 +114,8 @@ try { | Name | Type | Description | Notes | | ------------- | ------------- | ------------- | ------------- | -| **organization** | **string**| | | -| **project** | **string**| | | +| **organization** | **string**| Organization identifier | | +| **project** | **string**| Project identifier | | ### Return type @@ -149,13 +153,14 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\ProjectsApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string +$organization = 'test-org'; // string | Organization identifier try { $result = $apiInstance->projectsList($organization); @@ -169,7 +174,7 @@ try { | Name | Type | Description | Notes | | ------------- | ------------- | ------------- | ------------- | -| **organization** | **string**| | | +| **organization** | **string**| Organization identifier | | ### Return type @@ -207,14 +212,15 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\ProjectsApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string -$project = 'project_example'; // string +$organization = 'test-org'; // string | Organization identifier +$project = 'test-project'; // string | Project identifier $with_token = false; // bool try { @@ -229,8 +235,8 @@ try { | Name | Type | Description | Notes | | ------------- | ------------- | ------------- | ------------- | -| **organization** | **string**| | | -| **project** | **string**| | | +| **organization** | **string**| Organization identifier | | +| **project** | **string**| Project identifier | | | **with_token** | **bool**| | [default to false] | ### Return type @@ -269,14 +275,15 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\ProjectsApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string -$project = 'project_example'; // string +$organization = 'test-org'; // string | Organization identifier +$project = 'test-project'; // string | Project identifier $v2_project_request = new \QuantClient\Model\V2ProjectRequest(); // \QuantClient\Model\V2ProjectRequest try { @@ -291,8 +298,8 @@ try { | Name | Type | Description | Notes | | ------------- | ------------- | ------------- | ------------- | -| **organization** | **string**| | | -| **project** | **string**| | | +| **organization** | **string**| Organization identifier | | +| **project** | **string**| Project identifier | | | **v2_project_request** | [**\QuantClient\Model\V2ProjectRequest**](../Model/V2ProjectRequest.md)| | | ### Return type diff --git a/docs/Api/PurgeApi.md b/docs/Api/PurgeApi.md index 4382b49..22ea1c4 100644 --- a/docs/Api/PurgeApi.md +++ b/docs/Api/PurgeApi.md @@ -1,5 +1,7 @@ # QuantClient\PurgeApi +Cache purging and invalidation + All URIs are relative to https://dashboard.quantcdn.io, except if the operation defines another base path. | Method | HTTP request | Description | @@ -26,14 +28,15 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\PurgeApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string -$project = 'project_example'; // string +$organization = 'test-org'; // string | Organization identifier +$project = 'test-project'; // string | Project identifier $purge_create_request = new \QuantClient\Model\PurgeCreateRequest(); // \QuantClient\Model\PurgeCreateRequest try { @@ -48,8 +51,8 @@ try { | Name | Type | Description | Notes | | ------------- | ------------- | ------------- | ------------- | -| **organization** | **string**| | | -| **project** | **string**| | | +| **organization** | **string**| Organization identifier | | +| **project** | **string**| Project identifier | | | **purge_create_request** | [**\QuantClient\Model\PurgeCreateRequest**](../Model/PurgeCreateRequest.md)| | | ### Return type diff --git a/docs/Api/RulesApi.md b/docs/Api/RulesApi.md index 8fdcabf..467b729 100644 --- a/docs/Api/RulesApi.md +++ b/docs/Api/RulesApi.md @@ -1,5 +1,7 @@ # QuantClient\RulesApi +Edge rules (redirects, authentication, proxies, etc.) + All URIs are relative to https://dashboard.quantcdn.io, except if the operation defines another base path. | Method | HTTP request | Description | @@ -70,14 +72,15 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\RulesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string | Organization identifier -$project = 'project_example'; // string | Project identifier +$organization = ''organization_example''; // string | Organization identifier +$project = ''project_example''; // string | Project identifier $v2_rule_auth_request = new \QuantClient\Model\V2RuleAuthRequest(); // \QuantClient\Model\V2RuleAuthRequest try { @@ -132,15 +135,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\RulesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string | Organization identifier -$project = 'project_example'; // string | Project identifier -$rule = 'rule_example'; // string | Rule identifier +$organization = ''organization_example''; // string | Organization identifier +$project = ''project_example''; // string | Project identifier +$rule = ''rule_example''; // string | Rule identifier try { $apiInstance->rulesAuthDelete($organization, $project, $rule); @@ -193,14 +197,15 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\RulesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string | Organization identifier -$project = 'project_example'; // string | Project identifier +$organization = ''organization_example''; // string | Organization identifier +$project = ''project_example''; // string | Project identifier try { $result = $apiInstance->rulesAuthList($organization, $project); @@ -253,15 +258,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\RulesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string | Organization identifier -$project = 'project_example'; // string | Project identifier -$rule = 'rule_example'; // string | Rule identifier +$organization = ''organization_example''; // string | Organization identifier +$project = ''project_example''; // string | Project identifier +$rule = ''rule_example''; // string | Rule identifier try { $result = $apiInstance->rulesAuthRead($organization, $project, $rule); @@ -315,15 +321,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\RulesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string | Organization identifier -$project = 'project_example'; // string | Project identifier -$rule = 'rule_example'; // string | Rule identifier +$organization = ''organization_example''; // string | Organization identifier +$project = ''project_example''; // string | Project identifier +$rule = ''rule_example''; // string | Rule identifier $v2_rule_auth_request = new \QuantClient\Model\V2RuleAuthRequest(); // \QuantClient\Model\V2RuleAuthRequest try { @@ -379,14 +386,15 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\RulesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string | Organization identifier -$project = 'project_example'; // string | Project identifier +$organization = ''organization_example''; // string | Organization identifier +$project = ''project_example''; // string | Project identifier $v2_rule_bot_challenge_request = new \QuantClient\Model\V2RuleBotChallengeRequest(); // \QuantClient\Model\V2RuleBotChallengeRequest try { @@ -441,15 +449,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\RulesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string | Organization identifier -$project = 'project_example'; // string | Project identifier -$rule = 'rule_example'; // string | Rule identifier +$organization = ''organization_example''; // string | Organization identifier +$project = ''project_example''; // string | Project identifier +$rule = ''rule_example''; // string | Rule identifier try { $apiInstance->rulesBotChallengeDelete($organization, $project, $rule); @@ -502,14 +511,15 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\RulesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string | Organization identifier -$project = 'project_example'; // string | Project identifier +$organization = ''organization_example''; // string | Organization identifier +$project = ''project_example''; // string | Project identifier try { $result = $apiInstance->rulesBotChallengeList($organization, $project); @@ -562,15 +572,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\RulesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string | Organization identifier -$project = 'project_example'; // string | Project identifier -$rule = 'rule_example'; // string | Rule identifier +$organization = ''organization_example''; // string | Organization identifier +$project = ''project_example''; // string | Project identifier +$rule = ''rule_example''; // string | Rule identifier try { $result = $apiInstance->rulesBotChallengeRead($organization, $project, $rule); @@ -624,15 +635,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\RulesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string | Organization identifier -$project = 'project_example'; // string | Project identifier -$rule = 'rule_example'; // string | Rule identifier +$organization = ''organization_example''; // string | Organization identifier +$project = ''project_example''; // string | Project identifier +$rule = ''rule_example''; // string | Rule identifier $v2_rule_bot_challenge_request = new \QuantClient\Model\V2RuleBotChallengeRequest(); // \QuantClient\Model\V2RuleBotChallengeRequest try { @@ -688,14 +700,15 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\RulesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string | Organization identifier -$project = 'project_example'; // string | Project identifier +$organization = ''organization_example''; // string | Organization identifier +$project = ''project_example''; // string | Project identifier $v2_rule_content_filter_request = new \QuantClient\Model\V2RuleContentFilterRequest(); // \QuantClient\Model\V2RuleContentFilterRequest try { @@ -750,15 +763,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\RulesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string | Organization identifier -$project = 'project_example'; // string | Project identifier -$rule = 'rule_example'; // string | Rule identifier +$organization = ''organization_example''; // string | Organization identifier +$project = ''project_example''; // string | Project identifier +$rule = ''rule_example''; // string | Rule identifier try { $apiInstance->rulesContentFilterDelete($organization, $project, $rule); @@ -811,14 +825,15 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\RulesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string | Organization identifier -$project = 'project_example'; // string | Project identifier +$organization = ''organization_example''; // string | Organization identifier +$project = ''project_example''; // string | Project identifier try { $result = $apiInstance->rulesContentFilterList($organization, $project); @@ -871,15 +886,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\RulesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string | Organization identifier -$project = 'project_example'; // string | Project identifier -$rule = 'rule_example'; // string | Rule identifier +$organization = ''organization_example''; // string | Organization identifier +$project = ''project_example''; // string | Project identifier +$rule = ''rule_example''; // string | Rule identifier try { $result = $apiInstance->rulesContentFilterRead($organization, $project, $rule); @@ -933,15 +949,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\RulesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string | Organization identifier -$project = 'project_example'; // string | Project identifier -$rule = 'rule_example'; // string | Rule identifier +$organization = ''organization_example''; // string | Organization identifier +$project = ''project_example''; // string | Project identifier +$rule = ''rule_example''; // string | Rule identifier $v2_rule_content_filter_request = new \QuantClient\Model\V2RuleContentFilterRequest(); // \QuantClient\Model\V2RuleContentFilterRequest try { @@ -997,14 +1014,15 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\RulesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string | Organization identifier -$project = 'project_example'; // string | Project identifier +$organization = ''organization_example''; // string | Organization identifier +$project = ''project_example''; // string | Project identifier $v2_rule_custom_response_request = new \QuantClient\Model\V2RuleCustomResponseRequest(); // \QuantClient\Model\V2RuleCustomResponseRequest try { @@ -1059,15 +1077,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\RulesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string | Organization identifier -$project = 'project_example'; // string | Project identifier -$rule = 'rule_example'; // string | Rule identifier +$organization = ''organization_example''; // string | Organization identifier +$project = ''project_example''; // string | Project identifier +$rule = ''rule_example''; // string | Rule identifier try { $apiInstance->rulesCustomResponseDelete($organization, $project, $rule); @@ -1120,14 +1139,15 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\RulesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string | Organization identifier -$project = 'project_example'; // string | Project identifier +$organization = ''organization_example''; // string | Organization identifier +$project = ''project_example''; // string | Project identifier try { $result = $apiInstance->rulesCustomResponseList($organization, $project); @@ -1180,15 +1200,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\RulesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string | Organization identifier -$project = 'project_example'; // string | Project identifier -$rule = 'rule_example'; // string | Rule identifier +$organization = ''organization_example''; // string | Organization identifier +$project = ''project_example''; // string | Project identifier +$rule = ''rule_example''; // string | Rule identifier try { $result = $apiInstance->rulesCustomResponseRead($organization, $project, $rule); @@ -1242,15 +1263,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\RulesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string | Organization identifier -$project = 'project_example'; // string | Project identifier -$rule = 'rule_example'; // string | Rule identifier +$organization = ''organization_example''; // string | Organization identifier +$project = ''project_example''; // string | Project identifier +$rule = ''rule_example''; // string | Rule identifier $v2_rule_custom_response_request = new \QuantClient\Model\V2RuleCustomResponseRequest(); // \QuantClient\Model\V2RuleCustomResponseRequest try { @@ -1306,14 +1328,15 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\RulesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string | Organization identifier -$project = 'project_example'; // string | Project identifier +$organization = ''organization_example''; // string | Organization identifier +$project = ''project_example''; // string | Project identifier $v2_rule_function_request = new \QuantClient\Model\V2RuleFunctionRequest(); // \QuantClient\Model\V2RuleFunctionRequest try { @@ -1368,15 +1391,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\RulesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string | Organization identifier -$project = 'project_example'; // string | Project identifier -$rule = 'rule_example'; // string | Rule identifier +$organization = ''organization_example''; // string | Organization identifier +$project = ''project_example''; // string | Project identifier +$rule = ''rule_example''; // string | Rule identifier try { $apiInstance->rulesFunctionDelete($organization, $project, $rule); @@ -1429,14 +1453,15 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\RulesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string | Organization identifier -$project = 'project_example'; // string | Project identifier +$organization = ''organization_example''; // string | Organization identifier +$project = ''project_example''; // string | Project identifier try { $result = $apiInstance->rulesFunctionList($organization, $project); @@ -1489,15 +1514,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\RulesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string | Organization identifier -$project = 'project_example'; // string | Project identifier -$rule = 'rule_example'; // string | Rule identifier +$organization = ''organization_example''; // string | Organization identifier +$project = ''project_example''; // string | Project identifier +$rule = ''rule_example''; // string | Rule identifier try { $result = $apiInstance->rulesFunctionRead($organization, $project, $rule); @@ -1551,15 +1577,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\RulesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string | Organization identifier -$project = 'project_example'; // string | Project identifier -$rule = 'rule_example'; // string | Rule identifier +$organization = ''organization_example''; // string | Organization identifier +$project = ''project_example''; // string | Project identifier +$rule = ''rule_example''; // string | Rule identifier $v2_rule_function_request = new \QuantClient\Model\V2RuleFunctionRequest(); // \QuantClient\Model\V2RuleFunctionRequest try { @@ -1615,14 +1642,15 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\RulesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string | Organization identifier -$project = 'project_example'; // string | Project identifier +$organization = ''organization_example''; // string | Organization identifier +$project = ''project_example''; // string | Project identifier $v2_rule_header_request = new \QuantClient\Model\V2RuleHeaderRequest(); // \QuantClient\Model\V2RuleHeaderRequest try { @@ -1677,15 +1705,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\RulesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string | Organization identifier -$project = 'project_example'; // string | Project identifier -$rule = 'rule_example'; // string | Rule identifier +$organization = ''organization_example''; // string | Organization identifier +$project = ''project_example''; // string | Project identifier +$rule = ''rule_example''; // string | Rule identifier try { $apiInstance->rulesHeadersDelete($organization, $project, $rule); @@ -1738,14 +1767,15 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\RulesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string | Organization identifier -$project = 'project_example'; // string | Project identifier +$organization = ''organization_example''; // string | Organization identifier +$project = ''project_example''; // string | Project identifier try { $result = $apiInstance->rulesHeadersList($organization, $project); @@ -1798,15 +1828,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\RulesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string | Organization identifier -$project = 'project_example'; // string | Project identifier -$rule = 'rule_example'; // string | Rule identifier +$organization = ''organization_example''; // string | Organization identifier +$project = ''project_example''; // string | Project identifier +$rule = ''rule_example''; // string | Rule identifier try { $result = $apiInstance->rulesHeadersRead($organization, $project, $rule); @@ -1860,15 +1891,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\RulesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string | Organization identifier -$project = 'project_example'; // string | Project identifier -$rule = 'rule_example'; // string | Rule identifier +$organization = ''organization_example''; // string | Organization identifier +$project = ''project_example''; // string | Project identifier +$rule = ''rule_example''; // string | Rule identifier $v2_rule_header_request = new \QuantClient\Model\V2RuleHeaderRequest(); // \QuantClient\Model\V2RuleHeaderRequest try { @@ -1924,14 +1956,15 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\RulesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string -$project = 'project_example'; // string +$organization = ''organization_example''; // string +$project = ''project_example''; // string $v2_rule_proxy_request = new \QuantClient\Model\V2RuleProxyRequest(); // \QuantClient\Model\V2RuleProxyRequest try { @@ -1986,15 +2019,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\RulesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string -$project = 'project_example'; // string -$rule = 'rule_example'; // string +$organization = ''organization_example''; // string +$project = ''project_example''; // string +$rule = ''rule_example''; // string try { $apiInstance->rulesProxyDelete($organization, $project, $rule); @@ -2047,14 +2081,15 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\RulesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string -$project = 'project_example'; // string +$organization = ''organization_example''; // string +$project = ''project_example''; // string try { $result = $apiInstance->rulesProxyList($organization, $project); @@ -2107,15 +2142,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\RulesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string -$project = 'project_example'; // string -$rule = 'rule_example'; // string +$organization = ''organization_example''; // string +$project = ''project_example''; // string +$rule = ''rule_example''; // string try { $result = $apiInstance->rulesProxyRead($organization, $project, $rule); @@ -2169,15 +2205,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\RulesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string -$project = 'project_example'; // string -$rule = 'rule_example'; // string +$organization = ''organization_example''; // string +$project = ''project_example''; // string +$rule = ''rule_example''; // string $v2_rule_proxy_request = new \QuantClient\Model\V2RuleProxyRequest(); // \QuantClient\Model\V2RuleProxyRequest try { @@ -2233,14 +2270,15 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\RulesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string -$project = 'project_example'; // string +$organization = ''organization_example''; // string +$project = ''project_example''; // string $v2_rule_redirect_request = new \QuantClient\Model\V2RuleRedirectRequest(); // \QuantClient\Model\V2RuleRedirectRequest try { @@ -2295,15 +2333,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\RulesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string -$project = 'project_example'; // string -$rule = 'rule_example'; // string +$organization = ''organization_example''; // string +$project = ''project_example''; // string +$rule = ''rule_example''; // string try { $apiInstance->rulesRedirectDelete($organization, $project, $rule); @@ -2356,14 +2395,15 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\RulesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string -$project = 'project_example'; // string +$organization = ''organization_example''; // string +$project = ''project_example''; // string try { $result = $apiInstance->rulesRedirectList($organization, $project); @@ -2416,15 +2456,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\RulesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string -$project = 'project_example'; // string -$rule = 'rule_example'; // string +$organization = ''organization_example''; // string +$project = ''project_example''; // string +$rule = ''rule_example''; // string try { $result = $apiInstance->rulesRedirectRead($organization, $project, $rule); @@ -2478,15 +2519,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\RulesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string -$project = 'project_example'; // string -$rule = 'rule_example'; // string +$organization = ''organization_example''; // string +$project = ''project_example''; // string +$rule = ''rule_example''; // string $v2_rule_redirect_request = new \QuantClient\Model\V2RuleRedirectRequest(); // \QuantClient\Model\V2RuleRedirectRequest try { @@ -2542,14 +2584,15 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\RulesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string | Organization identifier -$project = 'project_example'; // string | Project identifier +$organization = ''organization_example''; // string | Organization identifier +$project = ''project_example''; // string | Project identifier $v2_rule_serve_static_request = new \QuantClient\Model\V2RuleServeStaticRequest(); // \QuantClient\Model\V2RuleServeStaticRequest try { @@ -2604,15 +2647,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\RulesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string | Organization identifier -$project = 'project_example'; // string | Project identifier -$rule = 'rule_example'; // string | Rule identifier +$organization = ''organization_example''; // string | Organization identifier +$project = ''project_example''; // string | Project identifier +$rule = ''rule_example''; // string | Rule identifier try { $apiInstance->rulesServeStaticDelete($organization, $project, $rule); @@ -2665,14 +2709,15 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\RulesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string | Organization identifier -$project = 'project_example'; // string | Project identifier +$organization = ''organization_example''; // string | Organization identifier +$project = ''project_example''; // string | Project identifier try { $result = $apiInstance->rulesServeStaticList($organization, $project); @@ -2725,15 +2770,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\RulesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string | Organization identifier -$project = 'project_example'; // string | Project identifier -$rule = 'rule_example'; // string | Rule identifier +$organization = ''organization_example''; // string | Organization identifier +$project = ''project_example''; // string | Project identifier +$rule = ''rule_example''; // string | Rule identifier try { $result = $apiInstance->rulesServeStaticRead($organization, $project, $rule); @@ -2787,15 +2833,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\RulesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string | Organization identifier -$project = 'project_example'; // string | Project identifier -$rule = 'rule_example'; // string | Rule identifier +$organization = ''organization_example''; // string | Organization identifier +$project = ''project_example''; // string | Project identifier +$rule = ''rule_example''; // string | Rule identifier $v2_rule_serve_static_request = new \QuantClient\Model\V2RuleServeStaticRequest(); // \QuantClient\Model\V2RuleServeStaticRequest try { diff --git a/docs/Api/SSHAccessApi.md b/docs/Api/SSHAccessApi.md index 0dd19cb..2a13344 100644 --- a/docs/Api/SSHAccessApi.md +++ b/docs/Api/SSHAccessApi.md @@ -1,5 +1,7 @@ # QuantClient\SSHAccessApi + + All URIs are relative to https://dashboard.quantcdn.io, except if the operation defines another base path. | Method | HTTP request | Description | @@ -26,15 +28,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\SSHAccessApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation machine name -$application = 'application_example'; // string | The application name -$environment = 'environment_example'; // string | The environment name +$organisation = 'test-org'; // string | The organisation ID +$application = 'test-app'; // string | The application ID +$environment = 'test-env'; // string | The environment ID try { $result = $apiInstance->getSshAccessCredentials($organisation, $application, $environment); @@ -48,9 +51,9 @@ try { | Name | Type | Description | Notes | | ------------- | ------------- | ------------- | ------------- | -| **organisation** | **string**| The organisation machine name | | -| **application** | **string**| The application name | | -| **environment** | **string**| The environment name | | +| **organisation** | **string**| The organisation ID | | +| **application** | **string**| The application ID | | +| **environment** | **string**| The environment ID | | ### Return type diff --git a/docs/Api/ScalingPolicyApi.md b/docs/Api/ScalingPolicyApi.md index befed8b..d595628 100644 --- a/docs/Api/ScalingPolicyApi.md +++ b/docs/Api/ScalingPolicyApi.md @@ -1,5 +1,7 @@ # QuantClient\ScalingPolicyApi +Auto-scaling policies and configuration + All URIs are relative to https://dashboard.quantcdn.io, except if the operation defines another base path. | Method | HTTP request | Description | @@ -28,16 +30,17 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\ScalingPolicyApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$application = 'application_example'; // string | The application ID -$environment = 'environment_example'; // string | The environment ID -$policy_name = 'policy_name_example'; // string | The policy name +$organisation = 'test-org'; // string | The organisation ID +$application = 'test-app'; // string | The application ID +$environment = 'test-env'; // string | The environment ID +$policy_name = ''policy_name_example''; // string | The policy name try { $apiInstance->deleteScalingPolicy($organisation, $application, $environment, $policy_name); @@ -91,15 +94,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\ScalingPolicyApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$application = 'application_example'; // string | The application ID -$environment = 'environment_example'; // string | The environment ID +$organisation = 'test-org'; // string | The organisation ID +$application = 'test-app'; // string | The application ID +$environment = 'test-env'; // string | The environment ID try { $apiInstance->getScalingPolicies($organisation, $application, $environment); @@ -152,15 +156,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\ScalingPolicyApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$application = 'application_example'; // string | The application ID -$environment = 'environment_example'; // string | The environment ID +$organisation = 'test-org'; // string | The organisation ID +$application = 'test-app'; // string | The application ID +$environment = 'test-env'; // string | The environment ID $scaling_policy = new \QuantClient\Model\ScalingPolicy(); // \QuantClient\Model\ScalingPolicy try { diff --git a/docs/Api/VariablesApi.md b/docs/Api/VariablesApi.md index 107b218..4ad15ee 100644 --- a/docs/Api/VariablesApi.md +++ b/docs/Api/VariablesApi.md @@ -1,5 +1,7 @@ # QuantClient\VariablesApi +Environment variable management + All URIs are relative to https://dashboard.quantcdn.io, except if the operation defines another base path. | Method | HTTP request | Description | @@ -29,15 +31,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\VariablesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$api_organisation = 'api_organisation_example'; // string | The organisation ID -$api_application = 'api_application_example'; // string | The application ID -$api_environment = 'api_environment_example'; // string | The environment ID +$api_organisation = 'test-org'; // string | The organisation ID +$api_application = 'test-app'; // string | The application ID +$api_environment = 'test-env'; // string | The environment ID $bulk_set_environment_variables_request = new \QuantClient\Model\BulkSetEnvironmentVariablesRequest(); // \QuantClient\Model\BulkSetEnvironmentVariablesRequest try { @@ -92,16 +95,17 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\VariablesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$api_organisation = 'api_organisation_example'; // string | The organisation ID -$api_application = 'api_application_example'; // string | The application ID -$api_environment = 'api_environment_example'; // string | The environment ID -$api_variable = 'api_variable_example'; // string | The variable key +$api_organisation = ''api_organisation_example''; // string | The organisation ID +$api_application = ''api_application_example''; // string | The application ID +$api_environment = ''api_environment_example''; // string | The environment ID +$api_variable = ''api_variable_example''; // string | The variable key try { $apiInstance->deleteEnvironmentVariable($api_organisation, $api_application, $api_environment, $api_variable); @@ -155,15 +159,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\VariablesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$api_organisation = 'api_organisation_example'; // string | The organisation ID -$api_application = 'api_application_example'; // string | The application ID -$api_environment = 'api_environment_example'; // string | The environment ID +$api_organisation = 'test-org'; // string | The organisation ID +$api_application = 'test-app'; // string | The application ID +$api_environment = 'test-env'; // string | The environment ID try { $apiInstance->listEnvironmentVariables($api_organisation, $api_application, $api_environment); @@ -216,16 +221,17 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\VariablesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$api_organisation = 'api_organisation_example'; // string | The organisation ID -$api_application = 'api_application_example'; // string | The application ID -$api_environment = 'api_environment_example'; // string | The environment ID -$api_variable = 'api_variable_example'; // string | The variable key +$api_organisation = 'test-org'; // string | The organisation ID +$api_application = 'test-app'; // string | The application ID +$api_environment = 'test-env'; // string | The environment ID +$api_variable = ''api_variable_example''; // string | The variable key $update_environment_variable_request = new \QuantClient\Model\UpdateEnvironmentVariableRequest(); // \QuantClient\Model\UpdateEnvironmentVariableRequest try { diff --git a/docs/Api/VolumesApi.md b/docs/Api/VolumesApi.md index a795ffa..c8b341c 100644 --- a/docs/Api/VolumesApi.md +++ b/docs/Api/VolumesApi.md @@ -1,5 +1,7 @@ # QuantClient\VolumesApi +Persistent storage volume management + All URIs are relative to https://dashboard.quantcdn.io, except if the operation defines another base path. | Method | HTTP request | Description | @@ -29,15 +31,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\VolumesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$application = 'application_example'; // string | The application ID -$environment = 'environment_example'; // string | The environment ID +$organisation = 'test-org'; // string | The organisation ID +$application = 'test-app'; // string | The application ID +$environment = 'test-env'; // string | The environment ID $create_volume_request = new \QuantClient\Model\CreateVolumeRequest(); // \QuantClient\Model\CreateVolumeRequest try { @@ -93,16 +96,17 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\VolumesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$application = 'application_example'; // string | The application ID -$environment = 'environment_example'; // string | The environment ID -$volume = 'volume_example'; // string | The volume ID +$organisation = 'test-org'; // string | The organisation ID +$application = 'test-app'; // string | The application ID +$environment = 'test-env'; // string | The environment ID +$volume = ''volume_example''; // string | The volume ID try { $apiInstance->deleteVolume($organisation, $application, $environment, $volume); @@ -156,16 +160,17 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\VolumesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$application = 'application_example'; // string | The application ID -$environment = 'environment_example'; // string | The environment ID -$volume = 'volume_example'; // string | The volume ID +$organisation = 'test-org'; // string | The organisation ID +$application = 'test-app'; // string | The application ID +$environment = 'test-env'; // string | The environment ID +$volume = ''volume_example''; // string | The volume ID try { $result = $apiInstance->getVolume($organisation, $application, $environment, $volume); @@ -220,15 +225,16 @@ require_once(__DIR__ . '/vendor/autoload.php'); $config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); + $apiInstance = new QuantClient\Api\VolumesApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); -$organisation = 'organisation_example'; // string | The organisation ID -$application = 'application_example'; // string | The application ID -$environment = 'environment_example'; // string | The environment ID +$organisation = 'test-org'; // string | The organisation ID +$application = 'test-app'; // string | The application ID +$environment = 'test-env'; // string | The environment ID try { $result = $apiInstance->listVolumes($organisation, $application, $environment); diff --git a/src/Api/CrawlersApi.php b/src/Api/CrawlersApi.php index 2b69192..131d2ea 100644 --- a/src/Api/CrawlersApi.php +++ b/src/Api/CrawlersApi.php @@ -492,7 +492,7 @@ public function crawlersCreateRequest($organization, $project, $v2_crawler_reque * * @param string $organization Organization identifier (required) * @param string $project Project identifier (required) - * @param string $crawler crawler (required) + * @param string $crawler The UUID of the crawler (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['crawlersDelete'] to see the possible values for this operation * * @throws \QuantClient\ApiException on non-2xx response or if the response body is not in the expected format @@ -511,7 +511,7 @@ public function crawlersDelete($organization, $project, $crawler, string $conten * * @param string $organization Organization identifier (required) * @param string $project Project identifier (required) - * @param string $crawler (required) + * @param string $crawler The UUID of the crawler (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['crawlersDelete'] to see the possible values for this operation * * @throws \QuantClient\ApiException on non-2xx response or if the response body is not in the expected format @@ -578,7 +578,7 @@ public function crawlersDeleteWithHttpInfo($organization, $project, $crawler, st * * @param string $organization Organization identifier (required) * @param string $project Project identifier (required) - * @param string $crawler (required) + * @param string $crawler The UUID of the crawler (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['crawlersDelete'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -601,7 +601,7 @@ function ($response) { * * @param string $organization Organization identifier (required) * @param string $project Project identifier (required) - * @param string $crawler (required) + * @param string $crawler The UUID of the crawler (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['crawlersDelete'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -640,7 +640,7 @@ function ($exception) { * * @param string $organization Organization identifier (required) * @param string $project Project identifier (required) - * @param string $crawler (required) + * @param string $crawler The UUID of the crawler (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['crawlersDelete'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -1530,12 +1530,11 @@ public function crawlersGetRunsRequest($organization, $project, $crawler, string * * @throws \QuantClient\ApiException on non-2xx response or if the response body is not in the expected format * @throws \InvalidArgumentException - * @return \QuantClient\Model\V2Crawler[]|\QuantClient\Model\V2Error|\QuantClient\Model\V2Error + * @return void */ public function crawlersList($organization, $project, string $contentType = self::contentTypes['crawlersList'][0]) { - list($response) = $this->crawlersListWithHttpInfo($organization, $project, $contentType); - return $response; + $this->crawlersListWithHttpInfo($organization, $project, $contentType); } /** @@ -1549,7 +1548,7 @@ public function crawlersList($organization, $project, string $contentType = self * * @throws \QuantClient\ApiException on non-2xx response or if the response body is not in the expected format * @throws \InvalidArgumentException - * @return array of \QuantClient\Model\V2Crawler[]|\QuantClient\Model\V2Error|\QuantClient\Model\V2Error, HTTP status code, HTTP response headers (array of strings) + * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function crawlersListWithHttpInfo($organization, $project, string $contentType = self::contentTypes['crawlersList'][0]) { @@ -1578,57 +1577,9 @@ public function crawlersListWithHttpInfo($organization, $project, string $conten $statusCode = $response->getStatusCode(); - switch($statusCode) { - case 200: - return $this->handleResponseWithDataType( - '\QuantClient\Model\V2Crawler[]', - $request, - $response, - ); - case 400: - return $this->handleResponseWithDataType( - '\QuantClient\Model\V2Error', - $request, - $response, - ); - case 403: - return $this->handleResponseWithDataType( - '\QuantClient\Model\V2Error', - $request, - $response, - ); - } - - - - if ($statusCode < 200 || $statusCode > 299) { - throw new ApiException( - sprintf( - '[%d] Error connecting to the API (%s)', - $statusCode, - (string) $request->getUri() - ), - $statusCode, - $response->getHeaders(), - (string) $response->getBody() - ); - } - - return $this->handleResponseWithDataType( - '\QuantClient\Model\V2Crawler[]', - $request, - $response, - ); + return [null, $statusCode, $response->getHeaders()]; } catch (ApiException $e) { switch ($e->getCode()) { - case 200: - $data = ObjectSerializer::deserialize( - $e->getResponseBody(), - '\QuantClient\Model\V2Crawler[]', - $e->getResponseHeaders() - ); - $e->setResponseObject($data); - throw $e; case 400: $data = ObjectSerializer::deserialize( $e->getResponseBody(), @@ -1688,27 +1639,14 @@ function ($response) { */ public function crawlersListAsyncWithHttpInfo($organization, $project, string $contentType = self::contentTypes['crawlersList'][0]) { - $returnType = '\QuantClient\Model\V2Crawler[]'; + $returnType = ''; $request = $this->crawlersListRequest($organization, $project, $contentType); return $this->client ->sendAsync($request, $this->createHttpClientOption()) ->then( function ($response) use ($returnType) { - if ($returnType === '\SplFileObject') { - $content = $response->getBody(); //stream goes to serializer - } else { - $content = (string) $response->getBody(); - if ($returnType !== 'string') { - $content = json_decode($content); - } - } - - return [ - ObjectSerializer::deserialize($content, $returnType, []), - $response->getStatusCode(), - $response->getHeaders() - ]; + return [null, $response->getStatusCode(), $response->getHeaders()]; }, function ($exception) { $response = $exception->getResponse(); @@ -1846,7 +1784,7 @@ public function crawlersListRequest($organization, $project, string $contentType * * @param string $organization Organization identifier (required) * @param string $project Project identifier (required) - * @param string $crawler crawler (required) + * @param string $crawler The UUID of the crawler (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['crawlersRead'] to see the possible values for this operation * * @throws \QuantClient\ApiException on non-2xx response or if the response body is not in the expected format @@ -1866,7 +1804,7 @@ public function crawlersRead($organization, $project, $crawler, string $contentT * * @param string $organization Organization identifier (required) * @param string $project Project identifier (required) - * @param string $crawler (required) + * @param string $crawler The UUID of the crawler (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['crawlersRead'] to see the possible values for this operation * * @throws \QuantClient\ApiException on non-2xx response or if the response body is not in the expected format @@ -1981,7 +1919,7 @@ public function crawlersReadWithHttpInfo($organization, $project, $crawler, stri * * @param string $organization Organization identifier (required) * @param string $project Project identifier (required) - * @param string $crawler (required) + * @param string $crawler The UUID of the crawler (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['crawlersRead'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -2004,7 +1942,7 @@ function ($response) { * * @param string $organization Organization identifier (required) * @param string $project Project identifier (required) - * @param string $crawler (required) + * @param string $crawler The UUID of the crawler (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['crawlersRead'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -2056,7 +1994,7 @@ function ($exception) { * * @param string $organization Organization identifier (required) * @param string $project Project identifier (required) - * @param string $crawler (required) + * @param string $crawler The UUID of the crawler (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['crawlersRead'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -2573,7 +2511,7 @@ public function crawlersRunRequest($organization, $project, $crawler, $crawlers_ * * @param string $organization Organization identifier (required) * @param string $project Project identifier (required) - * @param string $crawler crawler (required) + * @param string $crawler The UUID of the crawler (required) * @param \QuantClient\Model\V2CrawlerRequest $v2_crawler_request v2_crawler_request (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['crawlersUpdate'] to see the possible values for this operation * @@ -2594,7 +2532,7 @@ public function crawlersUpdate($organization, $project, $crawler, $v2_crawler_re * * @param string $organization Organization identifier (required) * @param string $project Project identifier (required) - * @param string $crawler (required) + * @param string $crawler The UUID of the crawler (required) * @param \QuantClient\Model\V2CrawlerRequest $v2_crawler_request (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['crawlersUpdate'] to see the possible values for this operation * @@ -2710,7 +2648,7 @@ public function crawlersUpdateWithHttpInfo($organization, $project, $crawler, $v * * @param string $organization Organization identifier (required) * @param string $project Project identifier (required) - * @param string $crawler (required) + * @param string $crawler The UUID of the crawler (required) * @param \QuantClient\Model\V2CrawlerRequest $v2_crawler_request (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['crawlersUpdate'] to see the possible values for this operation * @@ -2734,7 +2672,7 @@ function ($response) { * * @param string $organization Organization identifier (required) * @param string $project Project identifier (required) - * @param string $crawler (required) + * @param string $crawler The UUID of the crawler (required) * @param \QuantClient\Model\V2CrawlerRequest $v2_crawler_request (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['crawlersUpdate'] to see the possible values for this operation * @@ -2787,7 +2725,7 @@ function ($exception) { * * @param string $organization Organization identifier (required) * @param string $project Project identifier (required) - * @param string $crawler (required) + * @param string $crawler The UUID of the crawler (required) * @param \QuantClient\Model\V2CrawlerRequest $v2_crawler_request (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['crawlersUpdate'] to see the possible values for this operation * diff --git a/src/Api/DomainsApi.php b/src/Api/DomainsApi.php index fb1f176..97b07eb 100644 --- a/src/Api/DomainsApi.php +++ b/src/Api/DomainsApi.php @@ -483,7 +483,7 @@ public function domainsCreateRequest($organization, $project, $v2_domain_request * * @param string $organization Organization identifier (required) * @param string $project Project identifier (required) - * @param string $domain Domain identifier (required) + * @param string $domain Domain id (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['domainsDelete'] to see the possible values for this operation * * @throws \QuantClient\ApiException on non-2xx response or if the response body is not in the expected format @@ -502,7 +502,7 @@ public function domainsDelete($organization, $project, $domain, string $contentT * * @param string $organization Organization identifier (required) * @param string $project Project identifier (required) - * @param string $domain Domain identifier (required) + * @param string $domain Domain id (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['domainsDelete'] to see the possible values for this operation * * @throws \QuantClient\ApiException on non-2xx response or if the response body is not in the expected format @@ -569,7 +569,7 @@ public function domainsDeleteWithHttpInfo($organization, $project, $domain, stri * * @param string $organization Organization identifier (required) * @param string $project Project identifier (required) - * @param string $domain Domain identifier (required) + * @param string $domain Domain id (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['domainsDelete'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -592,7 +592,7 @@ function ($response) { * * @param string $organization Organization identifier (required) * @param string $project Project identifier (required) - * @param string $domain Domain identifier (required) + * @param string $domain Domain id (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['domainsDelete'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -631,7 +631,7 @@ function ($exception) { * * @param string $organization Organization identifier (required) * @param string $project Project identifier (required) - * @param string $domain Domain identifier (required) + * @param string $domain Domain id (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['domainsDelete'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -1081,7 +1081,7 @@ public function domainsListRequest($organization, $project, string $contentType * * @param string $organization Organization identifier (required) * @param string $project Project identifier (required) - * @param string $domain Domain identifier (required) + * @param string $domain Domain id (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['domainsRead'] to see the possible values for this operation * * @throws \QuantClient\ApiException on non-2xx response or if the response body is not in the expected format @@ -1101,7 +1101,7 @@ public function domainsRead($organization, $project, $domain, string $contentTyp * * @param string $organization Organization identifier (required) * @param string $project Project identifier (required) - * @param string $domain Domain identifier (required) + * @param string $domain Domain id (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['domainsRead'] to see the possible values for this operation * * @throws \QuantClient\ApiException on non-2xx response or if the response body is not in the expected format @@ -1216,7 +1216,7 @@ public function domainsReadWithHttpInfo($organization, $project, $domain, string * * @param string $organization Organization identifier (required) * @param string $project Project identifier (required) - * @param string $domain Domain identifier (required) + * @param string $domain Domain id (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['domainsRead'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -1239,7 +1239,7 @@ function ($response) { * * @param string $organization Organization identifier (required) * @param string $project Project identifier (required) - * @param string $domain Domain identifier (required) + * @param string $domain Domain id (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['domainsRead'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -1291,7 +1291,7 @@ function ($exception) { * * @param string $organization Organization identifier (required) * @param string $project Project identifier (required) - * @param string $domain Domain identifier (required) + * @param string $domain Domain id (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['domainsRead'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -1421,7 +1421,7 @@ public function domainsReadRequest($organization, $project, $domain, string $con * * @param string $organization Organization identifier (required) * @param string $project Project identifier (required) - * @param string $domain Domain identifier (required) + * @param string $domain Domain id (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['domainsRenew'] to see the possible values for this operation * * @throws \QuantClient\ApiException on non-2xx response or if the response body is not in the expected format @@ -1440,7 +1440,7 @@ public function domainsRenew($organization, $project, $domain, string $contentTy * * @param string $organization Organization identifier (required) * @param string $project Project identifier (required) - * @param string $domain Domain identifier (required) + * @param string $domain Domain id (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['domainsRenew'] to see the possible values for this operation * * @throws \QuantClient\ApiException on non-2xx response or if the response body is not in the expected format @@ -1507,7 +1507,7 @@ public function domainsRenewWithHttpInfo($organization, $project, $domain, strin * * @param string $organization Organization identifier (required) * @param string $project Project identifier (required) - * @param string $domain Domain identifier (required) + * @param string $domain Domain id (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['domainsRenew'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -1530,7 +1530,7 @@ function ($response) { * * @param string $organization Organization identifier (required) * @param string $project Project identifier (required) - * @param string $domain Domain identifier (required) + * @param string $domain Domain id (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['domainsRenew'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -1569,7 +1569,7 @@ function ($exception) { * * @param string $organization Organization identifier (required) * @param string $project Project identifier (required) - * @param string $domain Domain identifier (required) + * @param string $domain Domain id (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['domainsRenew'] to see the possible values for this operation * * @throws \InvalidArgumentException diff --git a/src/Api/HeadersApi.php b/src/Api/HeadersApi.php index 2ac7c15..bfe8c1e 100644 --- a/src/Api/HeadersApi.php +++ b/src/Api/HeadersApi.php @@ -136,8 +136,8 @@ public function getConfig() * * Create or update custom headers * - * @param string $organization organization (required) - * @param string $project project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param \QuantClient\Model\V2CustomHeaderRequest $v2_custom_header_request v2_custom_header_request (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['headersCreate'] to see the possible values for this operation * @@ -156,8 +156,8 @@ public function headersCreate($organization, $project, $v2_custom_header_request * * Create or update custom headers * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param \QuantClient\Model\V2CustomHeaderRequest $v2_custom_header_request (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['headersCreate'] to see the possible values for this operation * @@ -271,8 +271,8 @@ public function headersCreateWithHttpInfo($organization, $project, $v2_custom_he * * Create or update custom headers * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param \QuantClient\Model\V2CustomHeaderRequest $v2_custom_header_request (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['headersCreate'] to see the possible values for this operation * @@ -294,8 +294,8 @@ function ($response) { * * Create or update custom headers * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param \QuantClient\Model\V2CustomHeaderRequest $v2_custom_header_request (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['headersCreate'] to see the possible values for this operation * @@ -346,8 +346,8 @@ function ($exception) { /** * Create request for operation 'headersCreate' * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param \QuantClient\Model\V2CustomHeaderRequest $v2_custom_header_request (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['headersCreate'] to see the possible values for this operation * @@ -475,8 +475,8 @@ public function headersCreateRequest($organization, $project, $v2_custom_header_ * * Delete custom headers * - * @param string $organization organization (required) - * @param string $project project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param \QuantClient\Model\V2CustomHeaderRequest $v2_custom_header_request v2_custom_header_request (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['headersDelete'] to see the possible values for this operation * @@ -494,8 +494,8 @@ public function headersDelete($organization, $project, $v2_custom_header_request * * Delete custom headers * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param \QuantClient\Model\V2CustomHeaderRequest $v2_custom_header_request (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['headersDelete'] to see the possible values for this operation * @@ -561,8 +561,8 @@ public function headersDeleteWithHttpInfo($organization, $project, $v2_custom_he * * Delete custom headers * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param \QuantClient\Model\V2CustomHeaderRequest $v2_custom_header_request (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['headersDelete'] to see the possible values for this operation * @@ -584,8 +584,8 @@ function ($response) { * * Delete custom headers * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param \QuantClient\Model\V2CustomHeaderRequest $v2_custom_header_request (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['headersDelete'] to see the possible values for this operation * @@ -623,8 +623,8 @@ function ($exception) { /** * Create request for operation 'headersDelete' * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param \QuantClient\Model\V2CustomHeaderRequest $v2_custom_header_request (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['headersDelete'] to see the possible values for this operation * @@ -752,8 +752,8 @@ public function headersDeleteRequest($organization, $project, $v2_custom_header_ * * List custom headers for a project * - * @param string $organization organization (required) - * @param string $project project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['headersList'] to see the possible values for this operation * * @throws \QuantClient\ApiException on non-2xx response or if the response body is not in the expected format @@ -771,8 +771,8 @@ public function headersList($organization, $project, string $contentType = self: * * List custom headers for a project * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['headersList'] to see the possible values for this operation * * @throws \QuantClient\ApiException on non-2xx response or if the response body is not in the expected format @@ -885,8 +885,8 @@ public function headersListWithHttpInfo($organization, $project, string $content * * List custom headers for a project * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['headersList'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -907,8 +907,8 @@ function ($response) { * * List custom headers for a project * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['headersList'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -958,8 +958,8 @@ function ($exception) { /** * Create request for operation 'headersList' * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['headersList'] to see the possible values for this operation * * @throws \InvalidArgumentException diff --git a/src/Api/KVApi.php b/src/Api/KVApi.php index 962f225..7dcf0f9 100644 --- a/src/Api/KVApi.php +++ b/src/Api/KVApi.php @@ -154,8 +154,8 @@ public function getConfig() * * Add a kv store * - * @param string $organization organization (required) - * @param string $project project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param \QuantClient\Model\V2StoreRequest $v2_store_request v2_store_request (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['kVCreate'] to see the possible values for this operation * @@ -174,8 +174,8 @@ public function kVCreate($organization, $project, $v2_store_request, string $con * * Add a kv store * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param \QuantClient\Model\V2StoreRequest $v2_store_request (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['kVCreate'] to see the possible values for this operation * @@ -289,8 +289,8 @@ public function kVCreateWithHttpInfo($organization, $project, $v2_store_request, * * Add a kv store * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param \QuantClient\Model\V2StoreRequest $v2_store_request (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['kVCreate'] to see the possible values for this operation * @@ -312,8 +312,8 @@ function ($response) { * * Add a kv store * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param \QuantClient\Model\V2StoreRequest $v2_store_request (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['kVCreate'] to see the possible values for this operation * @@ -364,8 +364,8 @@ function ($exception) { /** * Create request for operation 'kVCreate' * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param \QuantClient\Model\V2StoreRequest $v2_store_request (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['kVCreate'] to see the possible values for this operation * @@ -493,8 +493,8 @@ public function kVCreateRequest($organization, $project, $v2_store_request, stri * * Delete a kv store * - * @param string $organization organization (required) - * @param string $project project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param string $store_id store_id (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['kVDelete'] to see the possible values for this operation * @@ -512,8 +512,8 @@ public function kVDelete($organization, $project, $store_id, string $contentType * * Delete a kv store * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param string $store_id (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['kVDelete'] to see the possible values for this operation * @@ -579,8 +579,8 @@ public function kVDeleteWithHttpInfo($organization, $project, $store_id, string * * Delete a kv store * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param string $store_id (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['kVDelete'] to see the possible values for this operation * @@ -602,8 +602,8 @@ function ($response) { * * Delete a kv store * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param string $store_id (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['kVDelete'] to see the possible values for this operation * @@ -641,8 +641,8 @@ function ($exception) { /** * Create request for operation 'kVDelete' * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param string $store_id (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['kVDelete'] to see the possible values for this operation * @@ -771,8 +771,8 @@ public function kVDeleteRequest($organization, $project, $store_id, string $cont * * Add an item to a kv store * - * @param string $organization organization (required) - * @param string $project project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param string $store_id store_id (required) * @param \QuantClient\Model\V2StoreItemRequest $v2_store_item_request v2_store_item_request (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['kVItemsCreate'] to see the possible values for this operation @@ -792,8 +792,8 @@ public function kVItemsCreate($organization, $project, $store_id, $v2_store_item * * Add an item to a kv store * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param string $store_id (required) * @param \QuantClient\Model\V2StoreItemRequest $v2_store_item_request (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['kVItemsCreate'] to see the possible values for this operation @@ -922,8 +922,8 @@ public function kVItemsCreateWithHttpInfo($organization, $project, $store_id, $v * * Add an item to a kv store * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param string $store_id (required) * @param \QuantClient\Model\V2StoreItemRequest $v2_store_item_request (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['kVItemsCreate'] to see the possible values for this operation @@ -946,8 +946,8 @@ function ($response) { * * Add an item to a kv store * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param string $store_id (required) * @param \QuantClient\Model\V2StoreItemRequest $v2_store_item_request (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['kVItemsCreate'] to see the possible values for this operation @@ -999,8 +999,8 @@ function ($exception) { /** * Create request for operation 'kVItemsCreate' * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param string $store_id (required) * @param \QuantClient\Model\V2StoreItemRequest $v2_store_item_request (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['kVItemsCreate'] to see the possible values for this operation @@ -1144,8 +1144,8 @@ public function kVItemsCreateRequest($organization, $project, $store_id, $v2_sto * * Delete an item from a kv store * - * @param string $organization organization (required) - * @param string $project project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param string $store_id store_id (required) * @param string $key key (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['kVItemsDelete'] to see the possible values for this operation @@ -1165,8 +1165,8 @@ public function kVItemsDelete($organization, $project, $store_id, $key, string $ * * Delete an item from a kv store * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param string $store_id (required) * @param string $key (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['kVItemsDelete'] to see the possible values for this operation @@ -1281,8 +1281,8 @@ public function kVItemsDeleteWithHttpInfo($organization, $project, $store_id, $k * * Delete an item from a kv store * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param string $store_id (required) * @param string $key (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['kVItemsDelete'] to see the possible values for this operation @@ -1305,8 +1305,8 @@ function ($response) { * * Delete an item from a kv store * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param string $store_id (required) * @param string $key (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['kVItemsDelete'] to see the possible values for this operation @@ -1358,8 +1358,8 @@ function ($exception) { /** * Create request for operation 'kVItemsDelete' * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param string $store_id (required) * @param string $key (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['kVItemsDelete'] to see the possible values for this operation @@ -1504,8 +1504,8 @@ public function kVItemsDeleteRequest($organization, $project, $store_id, $key, s * * List items in a kv store * - * @param string $organization organization (required) - * @param string $project project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param string $store_id store_id (required) * @param string|null $cursor Cursor for pagination (optional) * @param int|null $limit Number of items to return (optional, default to 10) @@ -1528,8 +1528,8 @@ public function kVItemsList($organization, $project, $store_id, $cursor = null, * * List items in a kv store * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param string $store_id (required) * @param string|null $cursor Cursor for pagination (optional) * @param int|null $limit Number of items to return (optional, default to 10) @@ -1647,8 +1647,8 @@ public function kVItemsListWithHttpInfo($organization, $project, $store_id, $cur * * List items in a kv store * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param string $store_id (required) * @param string|null $cursor Cursor for pagination (optional) * @param int|null $limit Number of items to return (optional, default to 10) @@ -1674,8 +1674,8 @@ function ($response) { * * List items in a kv store * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param string $store_id (required) * @param string|null $cursor Cursor for pagination (optional) * @param int|null $limit Number of items to return (optional, default to 10) @@ -1730,8 +1730,8 @@ function ($exception) { /** * Create request for operation 'kVItemsList' * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param string $store_id (required) * @param string|null $cursor Cursor for pagination (optional) * @param int|null $limit Number of items to return (optional, default to 10) @@ -1904,8 +1904,8 @@ public function kVItemsListRequest($organization, $project, $store_id, $cursor = * * Get an item from a kv store * - * @param string $organization organization (required) - * @param string $project project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param string $store_id store_id (required) * @param string $key key (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['kVItemsShow'] to see the possible values for this operation @@ -1925,8 +1925,8 @@ public function kVItemsShow($organization, $project, $store_id, $key, string $co * * Get an item from a kv store * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param string $store_id (required) * @param string $key (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['kVItemsShow'] to see the possible values for this operation @@ -2041,8 +2041,8 @@ public function kVItemsShowWithHttpInfo($organization, $project, $store_id, $key * * Get an item from a kv store * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param string $store_id (required) * @param string $key (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['kVItemsShow'] to see the possible values for this operation @@ -2065,8 +2065,8 @@ function ($response) { * * Get an item from a kv store * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param string $store_id (required) * @param string $key (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['kVItemsShow'] to see the possible values for this operation @@ -2118,8 +2118,8 @@ function ($exception) { /** * Create request for operation 'kVItemsShow' * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param string $store_id (required) * @param string $key (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['kVItemsShow'] to see the possible values for this operation @@ -2264,8 +2264,8 @@ public function kVItemsShowRequest($organization, $project, $store_id, $key, str * * Update an item in a kv store * - * @param string $organization organization (required) - * @param string $project project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param string $store_id store_id (required) * @param string $key key (required) * @param \QuantClient\Model\V2StoreItemUpdateRequest $v2_store_item_update_request v2_store_item_update_request (required) @@ -2286,8 +2286,8 @@ public function kVItemsUpdate($organization, $project, $store_id, $key, $v2_stor * * Update an item in a kv store * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param string $store_id (required) * @param string $key (required) * @param \QuantClient\Model\V2StoreItemUpdateRequest $v2_store_item_update_request (required) @@ -2417,8 +2417,8 @@ public function kVItemsUpdateWithHttpInfo($organization, $project, $store_id, $k * * Update an item in a kv store * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param string $store_id (required) * @param string $key (required) * @param \QuantClient\Model\V2StoreItemUpdateRequest $v2_store_item_update_request (required) @@ -2442,8 +2442,8 @@ function ($response) { * * Update an item in a kv store * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param string $store_id (required) * @param string $key (required) * @param \QuantClient\Model\V2StoreItemUpdateRequest $v2_store_item_update_request (required) @@ -2496,8 +2496,8 @@ function ($exception) { /** * Create request for operation 'kVItemsUpdate' * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param string $store_id (required) * @param string $key (required) * @param \QuantClient\Model\V2StoreItemUpdateRequest $v2_store_item_update_request (required) @@ -2657,8 +2657,8 @@ public function kVItemsUpdateRequest($organization, $project, $store_id, $key, $ * * List key-value stores * - * @param string $organization organization (required) - * @param string $project project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['kVList'] to see the possible values for this operation * * @throws \QuantClient\ApiException on non-2xx response or if the response body is not in the expected format @@ -2676,8 +2676,8 @@ public function kVList($organization, $project, string $contentType = self::cont * * List key-value stores * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['kVList'] to see the possible values for this operation * * @throws \QuantClient\ApiException on non-2xx response or if the response body is not in the expected format @@ -2790,8 +2790,8 @@ public function kVListWithHttpInfo($organization, $project, string $contentType * * List key-value stores * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['kVList'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -2812,8 +2812,8 @@ function ($response) { * * List key-value stores * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['kVList'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -2863,8 +2863,8 @@ function ($exception) { /** * Create request for operation 'kVList' * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['kVList'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -2977,8 +2977,8 @@ public function kVListRequest($organization, $project, string $contentType = sel * * Get a kv store * - * @param string $organization organization (required) - * @param string $project project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param string $store_id store_id (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['kVShow'] to see the possible values for this operation * @@ -2997,8 +2997,8 @@ public function kVShow($organization, $project, $store_id, string $contentType = * * Get a kv store * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param string $store_id (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['kVShow'] to see the possible values for this operation * @@ -3112,8 +3112,8 @@ public function kVShowWithHttpInfo($organization, $project, $store_id, string $c * * Get a kv store * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param string $store_id (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['kVShow'] to see the possible values for this operation * @@ -3135,8 +3135,8 @@ function ($response) { * * Get a kv store * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param string $store_id (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['kVShow'] to see the possible values for this operation * @@ -3187,8 +3187,8 @@ function ($exception) { /** * Create request for operation 'kVShow' * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param string $store_id (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['kVShow'] to see the possible values for this operation * diff --git a/src/Api/OrganizationsApi.php b/src/Api/OrganizationsApi.php index f9eea29..c49f3b4 100644 --- a/src/Api/OrganizationsApi.php +++ b/src/Api/OrganizationsApi.php @@ -413,12 +413,12 @@ public function organizationsListRequest(string $contentType = self::contentType * * Get details of a single organization * - * @param string $organization organization (required) + * @param string $organization Organization identifier (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['organizationsRead'] to see the possible values for this operation * * @throws \QuantClient\ApiException on non-2xx response or if the response body is not in the expected format * @throws \InvalidArgumentException - * @return \QuantClient\Model\V2Organization|\QuantClient\Model\V2Error|\QuantClient\Model\V2Error + * @return \QuantClient\Model\V2Organization|\QuantClient\Model\V2Error|\QuantClient\Model\V2Error|\QuantClient\Model\V2Error */ public function organizationsRead($organization, string $contentType = self::contentTypes['organizationsRead'][0]) { @@ -431,12 +431,12 @@ public function organizationsRead($organization, string $contentType = self::con * * Get details of a single organization * - * @param string $organization (required) + * @param string $organization Organization identifier (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['organizationsRead'] to see the possible values for this operation * * @throws \QuantClient\ApiException on non-2xx response or if the response body is not in the expected format * @throws \InvalidArgumentException - * @return array of \QuantClient\Model\V2Organization|\QuantClient\Model\V2Error|\QuantClient\Model\V2Error, HTTP status code, HTTP response headers (array of strings) + * @return array of \QuantClient\Model\V2Organization|\QuantClient\Model\V2Error|\QuantClient\Model\V2Error|\QuantClient\Model\V2Error, HTTP status code, HTTP response headers (array of strings) */ public function organizationsReadWithHttpInfo($organization, string $contentType = self::contentTypes['organizationsRead'][0]) { @@ -472,6 +472,12 @@ public function organizationsReadWithHttpInfo($organization, string $contentType $request, $response, ); + case 404: + return $this->handleResponseWithDataType( + '\QuantClient\Model\V2Error', + $request, + $response, + ); case 400: return $this->handleResponseWithDataType( '\QuantClient\Model\V2Error', @@ -516,6 +522,14 @@ public function organizationsReadWithHttpInfo($organization, string $contentType ); $e->setResponseObject($data); throw $e; + case 404: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\QuantClient\Model\V2Error', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + throw $e; case 400: $data = ObjectSerializer::deserialize( $e->getResponseBody(), @@ -544,7 +558,7 @@ public function organizationsReadWithHttpInfo($organization, string $contentType * * Get details of a single organization * - * @param string $organization (required) + * @param string $organization Organization identifier (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['organizationsRead'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -565,7 +579,7 @@ function ($response) { * * Get details of a single organization * - * @param string $organization (required) + * @param string $organization Organization identifier (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['organizationsRead'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -615,7 +629,7 @@ function ($exception) { /** * Create request for operation 'organizationsRead' * - * @param string $organization (required) + * @param string $organization Organization identifier (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['organizationsRead'] to see the possible values for this operation * * @throws \InvalidArgumentException diff --git a/src/Api/ProjectsApi.php b/src/Api/ProjectsApi.php index eab52ec..99cfd87 100644 --- a/src/Api/ProjectsApi.php +++ b/src/Api/ProjectsApi.php @@ -142,7 +142,7 @@ public function getConfig() * * Create a new project * - * @param string $organization organization (required) + * @param string $organization Organization identifier (required) * @param \QuantClient\Model\V2ProjectRequest $v2_project_request v2_project_request (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['projectsCreate'] to see the possible values for this operation * @@ -161,7 +161,7 @@ public function projectsCreate($organization, $v2_project_request, string $conte * * Create a new project * - * @param string $organization (required) + * @param string $organization Organization identifier (required) * @param \QuantClient\Model\V2ProjectRequest $v2_project_request (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['projectsCreate'] to see the possible values for this operation * @@ -275,7 +275,7 @@ public function projectsCreateWithHttpInfo($organization, $v2_project_request, s * * Create a new project * - * @param string $organization (required) + * @param string $organization Organization identifier (required) * @param \QuantClient\Model\V2ProjectRequest $v2_project_request (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['projectsCreate'] to see the possible values for this operation * @@ -297,7 +297,7 @@ function ($response) { * * Create a new project * - * @param string $organization (required) + * @param string $organization Organization identifier (required) * @param \QuantClient\Model\V2ProjectRequest $v2_project_request (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['projectsCreate'] to see the possible values for this operation * @@ -348,7 +348,7 @@ function ($exception) { /** * Create request for operation 'projectsCreate' * - * @param string $organization (required) + * @param string $organization Organization identifier (required) * @param \QuantClient\Model\V2ProjectRequest $v2_project_request (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['projectsCreate'] to see the possible values for this operation * @@ -461,8 +461,8 @@ public function projectsCreateRequest($organization, $v2_project_request, string * * Delete a project * - * @param string $organization organization (required) - * @param string $project project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['projectsDelete'] to see the possible values for this operation * * @throws \QuantClient\ApiException on non-2xx response or if the response body is not in the expected format @@ -479,8 +479,8 @@ public function projectsDelete($organization, $project, string $contentType = se * * Delete a project * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['projectsDelete'] to see the possible values for this operation * * @throws \QuantClient\ApiException on non-2xx response or if the response body is not in the expected format @@ -545,8 +545,8 @@ public function projectsDeleteWithHttpInfo($organization, $project, string $cont * * Delete a project * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['projectsDelete'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -567,8 +567,8 @@ function ($response) { * * Delete a project * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['projectsDelete'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -605,8 +605,8 @@ function ($exception) { /** * Create request for operation 'projectsDelete' * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['projectsDelete'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -719,7 +719,7 @@ public function projectsDeleteRequest($organization, $project, string $contentTy * * Retrieve all projects for an organization * - * @param string $organization organization (required) + * @param string $organization Organization identifier (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['projectsList'] to see the possible values for this operation * * @throws \QuantClient\ApiException on non-2xx response or if the response body is not in the expected format @@ -737,7 +737,7 @@ public function projectsList($organization, string $contentType = self::contentT * * Retrieve all projects for an organization * - * @param string $organization (required) + * @param string $organization Organization identifier (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['projectsList'] to see the possible values for this operation * * @throws \QuantClient\ApiException on non-2xx response or if the response body is not in the expected format @@ -850,7 +850,7 @@ public function projectsListWithHttpInfo($organization, string $contentType = se * * Retrieve all projects for an organization * - * @param string $organization (required) + * @param string $organization Organization identifier (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['projectsList'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -871,7 +871,7 @@ function ($response) { * * Retrieve all projects for an organization * - * @param string $organization (required) + * @param string $organization Organization identifier (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['projectsList'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -921,7 +921,7 @@ function ($exception) { /** * Create request for operation 'projectsList' * - * @param string $organization (required) + * @param string $organization Organization identifier (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['projectsList'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -1019,8 +1019,8 @@ public function projectsListRequest($organization, string $contentType = self::c * * Get details of a single project * - * @param string $organization organization (required) - * @param string $project project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param bool $with_token with_token (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['projectsRead'] to see the possible values for this operation * @@ -1039,8 +1039,8 @@ public function projectsRead($organization, $project, $with_token, string $conte * * Get details of a single project * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param bool $with_token (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['projectsRead'] to see the possible values for this operation * @@ -1154,8 +1154,8 @@ public function projectsReadWithHttpInfo($organization, $project, $with_token, s * * Get details of a single project * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param bool $with_token (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['projectsRead'] to see the possible values for this operation * @@ -1177,8 +1177,8 @@ function ($response) { * * Get details of a single project * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param bool $with_token (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['projectsRead'] to see the possible values for this operation * @@ -1229,8 +1229,8 @@ function ($exception) { /** * Create request for operation 'projectsRead' * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param bool $with_token (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['projectsRead'] to see the possible values for this operation * @@ -1360,8 +1360,8 @@ public function projectsReadRequest($organization, $project, $with_token, string * * Update a project * - * @param string $organization organization (required) - * @param string $project project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param \QuantClient\Model\V2ProjectRequest $v2_project_request v2_project_request (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['projectsUpdate'] to see the possible values for this operation * @@ -1380,8 +1380,8 @@ public function projectsUpdate($organization, $project, $v2_project_request, str * * Update a project * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param \QuantClient\Model\V2ProjectRequest $v2_project_request (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['projectsUpdate'] to see the possible values for this operation * @@ -1495,8 +1495,8 @@ public function projectsUpdateWithHttpInfo($organization, $project, $v2_project_ * * Update a project * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param \QuantClient\Model\V2ProjectRequest $v2_project_request (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['projectsUpdate'] to see the possible values for this operation * @@ -1518,8 +1518,8 @@ function ($response) { * * Update a project * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param \QuantClient\Model\V2ProjectRequest $v2_project_request (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['projectsUpdate'] to see the possible values for this operation * @@ -1570,8 +1570,8 @@ function ($exception) { /** * Create request for operation 'projectsUpdate' * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param \QuantClient\Model\V2ProjectRequest $v2_project_request (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['projectsUpdate'] to see the possible values for this operation * diff --git a/src/Api/PurgeApi.php b/src/Api/PurgeApi.php index 73ddaee..2e1ea98 100644 --- a/src/Api/PurgeApi.php +++ b/src/Api/PurgeApi.php @@ -130,8 +130,8 @@ public function getConfig() * * Purge cache via URL or cache keys * - * @param string $organization organization (required) - * @param string $project project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param \QuantClient\Model\PurgeCreateRequest $purge_create_request purge_create_request (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['purgeCreate'] to see the possible values for this operation * @@ -150,8 +150,8 @@ public function purgeCreate($organization, $project, $purge_create_request, stri * * Purge cache via URL or cache keys * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param \QuantClient\Model\PurgeCreateRequest $purge_create_request (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['purgeCreate'] to see the possible values for this operation * @@ -265,8 +265,8 @@ public function purgeCreateWithHttpInfo($organization, $project, $purge_create_r * * Purge cache via URL or cache keys * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param \QuantClient\Model\PurgeCreateRequest $purge_create_request (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['purgeCreate'] to see the possible values for this operation * @@ -288,8 +288,8 @@ function ($response) { * * Purge cache via URL or cache keys * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param \QuantClient\Model\PurgeCreateRequest $purge_create_request (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['purgeCreate'] to see the possible values for this operation * @@ -340,8 +340,8 @@ function ($exception) { /** * Create request for operation 'purgeCreate' * - * @param string $organization (required) - * @param string $project (required) + * @param string $organization Organization identifier (required) + * @param string $project Project identifier (required) * @param \QuantClient\Model\PurgeCreateRequest $purge_create_request (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['purgeCreate'] to see the possible values for this operation * diff --git a/src/Api/SSHAccessApi.php b/src/Api/SSHAccessApi.php index 17c8c4f..a5ea3b0 100644 --- a/src/Api/SSHAccessApi.php +++ b/src/Api/SSHAccessApi.php @@ -130,9 +130,9 @@ public function getConfig() * * Get SSH access credentials for an environment * - * @param string $organisation The organisation machine name (required) - * @param string $application The application name (required) - * @param string $environment The environment name (required) + * @param string $organisation The organisation ID (required) + * @param string $application The application ID (required) + * @param string $environment The environment ID (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getSshAccessCredentials'] to see the possible values for this operation * * @throws \QuantClient\ApiException on non-2xx response or if the response body is not in the expected format @@ -150,9 +150,9 @@ public function getSshAccessCredentials($organisation, $application, $environmen * * Get SSH access credentials for an environment * - * @param string $organisation The organisation machine name (required) - * @param string $application The application name (required) - * @param string $environment The environment name (required) + * @param string $organisation The organisation ID (required) + * @param string $application The application ID (required) + * @param string $environment The environment ID (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getSshAccessCredentials'] to see the possible values for this operation * * @throws \QuantClient\ApiException on non-2xx response or if the response body is not in the expected format @@ -237,9 +237,9 @@ public function getSshAccessCredentialsWithHttpInfo($organisation, $application, * * Get SSH access credentials for an environment * - * @param string $organisation The organisation machine name (required) - * @param string $application The application name (required) - * @param string $environment The environment name (required) + * @param string $organisation The organisation ID (required) + * @param string $application The application ID (required) + * @param string $environment The environment ID (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getSshAccessCredentials'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -260,9 +260,9 @@ function ($response) { * * Get SSH access credentials for an environment * - * @param string $organisation The organisation machine name (required) - * @param string $application The application name (required) - * @param string $environment The environment name (required) + * @param string $organisation The organisation ID (required) + * @param string $application The application ID (required) + * @param string $environment The environment ID (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getSshAccessCredentials'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -312,9 +312,9 @@ function ($exception) { /** * Create request for operation 'getSshAccessCredentials' * - * @param string $organisation The organisation machine name (required) - * @param string $application The application name (required) - * @param string $environment The environment name (required) + * @param string $organisation The organisation ID (required) + * @param string $application The application ID (required) + * @param string $environment The environment ID (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getSshAccessCredentials'] to see the possible values for this operation * * @throws \InvalidArgumentException diff --git a/test/Api/AIServicesApiTest.php b/test/Api/AIServicesApiTest.php deleted file mode 100644 index 0355339..0000000 --- a/test/Api/AIServicesApiTest.php +++ /dev/null @@ -1,284 +0,0 @@ -getConfig()); - $this->assertInstanceOf(AIServicesApi::class, $api); - // Additional test implementation would go here - $this->assertTrue(true);} - - /** - * Test case for chatInferenceStream - * - * Chat inference via streaming endpoint (true HTTP streaming) with multimodal support. - * - */ - public function testChatInferenceStream() - { - $api = new AIServicesApi(null, $this->getConfig()); - $this->assertInstanceOf(AIServicesApi::class, $api); - // Additional test implementation would go here - $this->assertTrue(true);} - - /** - * Test case for createAISession - * - * Create a new chat session with multi-tenant isolation. - * - */ - public function testCreateAISession() - { - $api = new AIServicesApi(null, $this->getConfig()); - $this->assertInstanceOf(AIServicesApi::class, $api); - // Additional test implementation would go here - $this->assertTrue(true);} - - /** - * Test case for deleteAISession - * - * Delete a chat session. - * - */ - public function testDeleteAISession() - { - $api = new AIServicesApi(null, $this->getConfig()); - $this->assertInstanceOf(AIServicesApi::class, $api); - // Additional test implementation would go here - $this->assertTrue(true);} - - /** - * Test case for embeddings - * - * Generate text embeddings for semantic search and RAG applications. - * - */ - public function testEmbeddings() - { - $api = new AIServicesApi(null, $this->getConfig()); - $this->assertInstanceOf(AIServicesApi::class, $api); - // Additional test implementation would go here - $this->assertTrue(true);} - - /** - * Test case for getAIConfig - * - * Get AI configuration for an organization. - * - */ - public function testGetAIConfig() - { - $api = new AIServicesApi(null, $this->getConfig()); - $this->assertInstanceOf(AIServicesApi::class, $api); - // Additional test implementation would go here - $this->assertTrue(true);} - - /** - * Test case for getAISession - * - * Get a specific chat session. - * - */ - public function testGetAISession() - { - $api = new AIServicesApi(null, $this->getConfig()); - $this->assertInstanceOf(AIServicesApi::class, $api); - // Additional test implementation would go here - $this->assertTrue(true);} - - /** - * Test case for getAIUsageStats - * - * Get AI usage statistics. - * - */ - public function testGetAIUsageStats() - { - $api = new AIServicesApi(null, $this->getConfig()); - $this->assertInstanceOf(AIServicesApi::class, $api); - // Additional test implementation would go here - $this->assertTrue(true);} - - /** - * Test case for getToolExecutionStatus - * - * Get async tool execution status and result. - * - */ - public function testGetToolExecutionStatus() - { - $api = new AIServicesApi(null, $this->getConfig()); - $this->assertInstanceOf(AIServicesApi::class, $api); - // Additional test implementation would go here - $this->assertTrue(true);} - - /** - * Test case for imageGeneration - * - * Generate images with Amazon Nova Canvas. - * - */ - public function testImageGeneration() - { - $api = new AIServicesApi(null, $this->getConfig()); - $this->assertInstanceOf(AIServicesApi::class, $api); - // Additional test implementation would go here - $this->assertTrue(true);} - - /** - * Test case for listAIModels - * - * List available AI models for an organization. - * - */ - public function testListAIModels() - { - $api = new AIServicesApi(null, $this->getConfig()); - $this->assertInstanceOf(AIServicesApi::class, $api); - // Additional test implementation would go here - $this->assertTrue(true);} - - /** - * Test case for listAISessions - * - * List chat sessions with multi-tenant filtering. - * - */ - public function testListAISessions() - { - $api = new AIServicesApi(null, $this->getConfig()); - $this->assertInstanceOf(AIServicesApi::class, $api); - // Additional test implementation would go here - $this->assertTrue(true);} - - /** - * Test case for listAIToolNames - * - * List tool names only (lightweight response). - * - */ - public function testListAIToolNames() - { - $api = new AIServicesApi(null, $this->getConfig()); - $this->assertInstanceOf(AIServicesApi::class, $api); - // Additional test implementation would go here - $this->assertTrue(true);} - - /** - * Test case for listAITools - * - * List available built-in tools for function calling. - * - */ - public function testListAITools() - { - $api = new AIServicesApi(null, $this->getConfig()); - $this->assertInstanceOf(AIServicesApi::class, $api); - // Additional test implementation would go here - $this->assertTrue(true);} - - /** - * Test case for listToolExecutions - * - * List tool executions for monitoring and debugging. - * - */ - public function testListToolExecutions() - { - $api = new AIServicesApi(null, $this->getConfig()); - $this->assertInstanceOf(AIServicesApi::class, $api); - // Additional test implementation would go here - $this->assertTrue(true);} - - /** - * Test case for updateAIConfig - * - * Update AI configuration for an organization. - * - */ - public function testUpdateAIConfig() - { - $api = new AIServicesApi(null, $this->getConfig()); - $this->assertInstanceOf(AIServicesApi::class, $api); - // Additional test implementation would go here - $this->assertTrue(true);} -} diff --git a/test/Model/GetAIConfig200ResponseTest.php b/test/Model/GetAIConfig200ResponseTest.php deleted file mode 100644 index b8485e3..0000000 --- a/test/Model/GetAIConfig200ResponseTest.php +++ /dev/null @@ -1,118 +0,0 @@ -assertInstanceOf(GetAIConfig200Response::class, $model); - } - - /** - * Test attribute "enabled_models" - */ - public function testPropertyEnabledModels() - { - $model = new GetAIConfig200Response(); - $this->assertInstanceOf(GetAIConfig200Response::class, $model); - } - - /** - * Test attribute "default_model" - */ - public function testPropertyDefaultModel() - { - $model = new GetAIConfig200Response(); - $this->assertInstanceOf(GetAIConfig200Response::class, $model); - } - - /** - * Test attribute "max_tokens" - */ - public function testPropertyMaxTokens() - { - $model = new GetAIConfig200Response(); - $this->assertInstanceOf(GetAIConfig200Response::class, $model); - } - - /** - * Test attribute "temperature" - */ - public function testPropertyTemperature() - { - $model = new GetAIConfig200Response(); - $this->assertInstanceOf(GetAIConfig200Response::class, $model); - } -} diff --git a/test/Model/GetToolExecutionStatus200ResponseResultTest.php b/test/Model/GetToolExecutionStatus200ResponseResultTest.php deleted file mode 100644 index 7c382a5..0000000 --- a/test/Model/GetToolExecutionStatus200ResponseResultTest.php +++ /dev/null @@ -1,100 +0,0 @@ -assertInstanceOf(GetToolExecutionStatus200ResponseResult::class, $model); - } - - /** - * Test attribute "images" - */ - public function testPropertyImages() - { - $model = new GetToolExecutionStatus200ResponseResult(); - $this->assertInstanceOf(GetToolExecutionStatus200ResponseResult::class, $model); - } - - /** - * Test attribute "s3_urls" - */ - public function testPropertyS3Urls() - { - $model = new GetToolExecutionStatus200ResponseResult(); - $this->assertInstanceOf(GetToolExecutionStatus200ResponseResult::class, $model); - } -} diff --git a/test/Model/GetToolExecutionStatus200ResponseTest.php b/test/Model/GetToolExecutionStatus200ResponseTest.php deleted file mode 100644 index 4843f1b..0000000 --- a/test/Model/GetToolExecutionStatus200ResponseTest.php +++ /dev/null @@ -1,163 +0,0 @@ -assertInstanceOf(GetToolExecutionStatus200Response::class, $model); - } - - /** - * Test attribute "execution_id" - */ - public function testPropertyExecutionId() - { - $model = new GetToolExecutionStatus200Response(); - $this->assertInstanceOf(GetToolExecutionStatus200Response::class, $model); - } - - /** - * Test attribute "tool_name" - */ - public function testPropertyToolName() - { - $model = new GetToolExecutionStatus200Response(); - $this->assertInstanceOf(GetToolExecutionStatus200Response::class, $model); - } - - /** - * Test attribute "status" - */ - public function testPropertyStatus() - { - $model = new GetToolExecutionStatus200Response(); - $this->assertInstanceOf(GetToolExecutionStatus200Response::class, $model); - } - - /** - * Test attribute "result" - */ - public function testPropertyResult() - { - $model = new GetToolExecutionStatus200Response(); - $this->assertInstanceOf(GetToolExecutionStatus200Response::class, $model); - } - - /** - * Test attribute "error" - */ - public function testPropertyError() - { - $model = new GetToolExecutionStatus200Response(); - $this->assertInstanceOf(GetToolExecutionStatus200Response::class, $model); - } - - /** - * Test attribute "created_at" - */ - public function testPropertyCreatedAt() - { - $model = new GetToolExecutionStatus200Response(); - $this->assertInstanceOf(GetToolExecutionStatus200Response::class, $model); - } - - /** - * Test attribute "started_at" - */ - public function testPropertyStartedAt() - { - $model = new GetToolExecutionStatus200Response(); - $this->assertInstanceOf(GetToolExecutionStatus200Response::class, $model); - } - - /** - * Test attribute "completed_at" - */ - public function testPropertyCompletedAt() - { - $model = new GetToolExecutionStatus200Response(); - $this->assertInstanceOf(GetToolExecutionStatus200Response::class, $model); - } - - /** - * Test attribute "duration" - */ - public function testPropertyDuration() - { - $model = new GetToolExecutionStatus200Response(); - $this->assertInstanceOf(GetToolExecutionStatus200Response::class, $model); - } -} diff --git a/test/Model/GetToolExecutionStatus404ResponseTest.php b/test/Model/GetToolExecutionStatus404ResponseTest.php deleted file mode 100644 index c915999..0000000 --- a/test/Model/GetToolExecutionStatus404ResponseTest.php +++ /dev/null @@ -1,100 +0,0 @@ -assertInstanceOf(GetToolExecutionStatus404Response::class, $model); - } - - /** - * Test attribute "error" - */ - public function testPropertyError() - { - $model = new GetToolExecutionStatus404Response(); - $this->assertInstanceOf(GetToolExecutionStatus404Response::class, $model); - } - - /** - * Test attribute "execution_id" - */ - public function testPropertyExecutionId() - { - $model = new GetToolExecutionStatus404Response(); - $this->assertInstanceOf(GetToolExecutionStatus404Response::class, $model); - } -} diff --git a/test/Model/ListToolExecutions200ResponseExecutionsInnerTest.php b/test/Model/ListToolExecutions200ResponseExecutionsInnerTest.php deleted file mode 100644 index a261001..0000000 --- a/test/Model/ListToolExecutions200ResponseExecutionsInnerTest.php +++ /dev/null @@ -1,127 +0,0 @@ -assertInstanceOf(ListToolExecutions200ResponseExecutionsInner::class, $model); - } - - /** - * Test attribute "execution_id" - */ - public function testPropertyExecutionId() - { - $model = new ListToolExecutions200ResponseExecutionsInner(); - $this->assertInstanceOf(ListToolExecutions200ResponseExecutionsInner::class, $model); - } - - /** - * Test attribute "tool_name" - */ - public function testPropertyToolName() - { - $model = new ListToolExecutions200ResponseExecutionsInner(); - $this->assertInstanceOf(ListToolExecutions200ResponseExecutionsInner::class, $model); - } - - /** - * Test attribute "status" - */ - public function testPropertyStatus() - { - $model = new ListToolExecutions200ResponseExecutionsInner(); - $this->assertInstanceOf(ListToolExecutions200ResponseExecutionsInner::class, $model); - } - - /** - * Test attribute "created_at" - */ - public function testPropertyCreatedAt() - { - $model = new ListToolExecutions200ResponseExecutionsInner(); - $this->assertInstanceOf(ListToolExecutions200ResponseExecutionsInner::class, $model); - } - - /** - * Test attribute "completed_at" - */ - public function testPropertyCompletedAt() - { - $model = new ListToolExecutions200ResponseExecutionsInner(); - $this->assertInstanceOf(ListToolExecutions200ResponseExecutionsInner::class, $model); - } -} diff --git a/test/Model/ListToolExecutions200ResponseTest.php b/test/Model/ListToolExecutions200ResponseTest.php deleted file mode 100644 index b40fc51..0000000 --- a/test/Model/ListToolExecutions200ResponseTest.php +++ /dev/null @@ -1,118 +0,0 @@ -assertInstanceOf(ListToolExecutions200Response::class, $model); - } - - /** - * Test attribute "executions" - */ - public function testPropertyExecutions() - { - $model = new ListToolExecutions200Response(); - $this->assertInstanceOf(ListToolExecutions200Response::class, $model); - } - - /** - * Test attribute "count" - */ - public function testPropertyCount() - { - $model = new ListToolExecutions200Response(); - $this->assertInstanceOf(ListToolExecutions200Response::class, $model); - } - - /** - * Test attribute "org_id" - */ - public function testPropertyOrgId() - { - $model = new ListToolExecutions200Response(); - $this->assertInstanceOf(ListToolExecutions200Response::class, $model); - } - - /** - * Test attribute "status" - */ - public function testPropertyStatus() - { - $model = new ListToolExecutions200Response(); - $this->assertInstanceOf(ListToolExecutions200Response::class, $model); - } -} diff --git a/test/Model/UpdateAIConfigRequestTest.php b/test/Model/UpdateAIConfigRequestTest.php deleted file mode 100644 index 703da4f..0000000 --- a/test/Model/UpdateAIConfigRequestTest.php +++ /dev/null @@ -1,118 +0,0 @@ -assertInstanceOf(UpdateAIConfigRequest::class, $model); - } - - /** - * Test attribute "enabled_models" - */ - public function testPropertyEnabledModels() - { - $model = new UpdateAIConfigRequest(); - $this->assertInstanceOf(UpdateAIConfigRequest::class, $model); - } - - /** - * Test attribute "default_model" - */ - public function testPropertyDefaultModel() - { - $model = new UpdateAIConfigRequest(); - $this->assertInstanceOf(UpdateAIConfigRequest::class, $model); - } - - /** - * Test attribute "max_tokens" - */ - public function testPropertyMaxTokens() - { - $model = new UpdateAIConfigRequest(); - $this->assertInstanceOf(UpdateAIConfigRequest::class, $model); - } - - /** - * Test attribute "temperature" - */ - public function testPropertyTemperature() - { - $model = new UpdateAIConfigRequest(); - $this->assertInstanceOf(UpdateAIConfigRequest::class, $model); - } -}