diff --git a/docs/Api/AIAgentsApi.md b/docs/Api/AIAgentsApi.md index 80efc0b..3816bd7 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,6 +35,7 @@ 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. @@ -97,6 +100,7 @@ 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. @@ -159,6 +163,7 @@ 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. @@ -221,6 +226,7 @@ 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. @@ -283,6 +289,7 @@ 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. @@ -345,6 +352,7 @@ 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. diff --git a/docs/Api/AICustomToolsApi.md b/docs/Api/AICustomToolsApi.md index e4ef6f1..ab7c1a9 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,6 +32,7 @@ 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. @@ -92,6 +95,7 @@ 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. @@ -154,6 +158,7 @@ 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. diff --git a/docs/Api/AIInferenceApi.md b/docs/Api/AIInferenceApi.md index 13ddb17..ef5bfa3 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,6 +33,7 @@ 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. @@ -93,6 +96,7 @@ 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. @@ -155,6 +159,7 @@ 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. @@ -217,6 +222,7 @@ 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. diff --git a/docs/Api/AIModelsApi.md b/docs/Api/AIModelsApi.md index 81f4263..2611a95 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,6 +31,7 @@ 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. @@ -89,6 +92,7 @@ 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. diff --git a/docs/Api/AIMonitoringApi.md b/docs/Api/AIMonitoringApi.md index 6c108a4..a062248 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,6 +28,7 @@ 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. diff --git a/docs/Api/AISessionsApi.md b/docs/Api/AISessionsApi.md index 9688e02..8322370 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,6 +35,7 @@ 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. @@ -93,6 +96,7 @@ 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. @@ -155,6 +159,7 @@ 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. @@ -217,6 +222,7 @@ 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. @@ -279,6 +285,7 @@ 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. @@ -349,6 +356,7 @@ 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. diff --git a/docs/Api/AIToolsApi.md b/docs/Api/AIToolsApi.md index 83cca3a..7454319 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,6 +33,7 @@ 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. @@ -93,6 +96,7 @@ 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. @@ -157,6 +161,7 @@ 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. @@ -217,6 +222,7 @@ 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. diff --git a/docs/Api/AIVectorDatabaseApi.md b/docs/Api/AIVectorDatabaseApi.md index 03ba48f..247fb10 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,6 +35,7 @@ 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. @@ -95,6 +98,7 @@ 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. @@ -157,6 +161,7 @@ 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. @@ -219,6 +224,7 @@ 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. @@ -279,6 +285,7 @@ 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. @@ -343,6 +350,7 @@ 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. diff --git a/docs/Api/ApplicationsApi.md b/docs/Api/ApplicationsApi.md index ac1f9ea..7946f29 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,6 +32,7 @@ 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. @@ -90,6 +93,7 @@ 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. @@ -149,6 +153,7 @@ 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. @@ -209,6 +214,7 @@ 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. @@ -267,6 +273,7 @@ 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. diff --git a/docs/Api/BackupManagementApi.md b/docs/Api/BackupManagementApi.md index 727644c..4a44595 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,15 +31,16 @@ 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 +$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 @@ -95,15 +98,16 @@ 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 +$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 @@ -161,15 +165,16 @@ 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 +$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 @@ -229,15 +234,16 @@ 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 +$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) diff --git a/docs/Api/CommandsApi.md b/docs/Api/CommandsApi.md index f88d0a5..9206fd3 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..c014160 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,13 +162,14 @@ 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. diff --git a/docs/Api/ContainersApi.md b/docs/Api/ContainersApi.md index 37eec84..6b8da72 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..9599004 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,6 +32,7 @@ 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. @@ -94,6 +97,7 @@ 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. @@ -157,6 +161,7 @@ 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. @@ -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,6 +291,7 @@ 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. diff --git a/docs/Api/CrawlersApi.md b/docs/Api/CrawlersApi.md index 2e5f259..763bf50 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..d3c078c 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,15 +99,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 $cron = 'cron_example'; // string | The cron job ID try { @@ -159,15 +163,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 $cron = 'cron_example'; // string | The cron job ID try { @@ -223,16 +228,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 $run = 'run_example'; // string | The cron run ID try { @@ -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,15 +423,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 $cron = 'cron_example'; // string | The cron job ID $update_cron_job_request = new \QuantClient\Model\UpdateCronJobRequest(); // \QuantClient\Model\UpdateCronJobRequest diff --git a/docs/Api/DomainsApi.md b/docs/Api/DomainsApi.md index 68a3a79..9b6eb39 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..83d5154 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,15 +227,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 $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 @@ -298,15 +304,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 $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) @@ -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,15 +438,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 $type = 'type_example'; // string | The sync type try { @@ -494,15 +503,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 $type = 'type_example'; // string | The sync type $sync_to_environment_request = new \QuantClient\Model\SyncToEnvironmentRequest(); // \QuantClient\Model\SyncToEnvironmentRequest @@ -562,6 +572,7 @@ 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. @@ -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..01363c1 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..c103079 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,15 +226,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 $key = 'key_example'; // string try { @@ -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,15 +291,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 $cursor = 'cursor_example'; // string | Cursor for pagination $limit = 10; // int | Number of items to return $search = 'search_example'; // string | Search filter for keys @@ -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,15 +364,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 $key = 'key_example'; // string try { @@ -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,15 +429,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 $key = 'key_example'; // string $v2_store_item_update_request = new \QuantClient\Model\V2StoreItemUpdateRequest(); // \QuantClient\Model\V2StoreItemUpdateRequest @@ -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..3350549 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..1480cc6 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..bb5aaf6 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..547e0c0 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,6 +72,7 @@ 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. @@ -132,6 +135,7 @@ 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. @@ -193,6 +197,7 @@ 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. @@ -253,6 +258,7 @@ 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. @@ -315,6 +321,7 @@ 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. @@ -379,6 +386,7 @@ 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. @@ -441,6 +449,7 @@ 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. @@ -502,6 +511,7 @@ 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. @@ -562,6 +572,7 @@ 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. @@ -624,6 +635,7 @@ 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. @@ -688,6 +700,7 @@ 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. @@ -750,6 +763,7 @@ 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. @@ -811,6 +825,7 @@ 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. @@ -871,6 +886,7 @@ 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. @@ -933,6 +949,7 @@ 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. @@ -997,6 +1014,7 @@ 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. @@ -1059,6 +1077,7 @@ 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. @@ -1120,6 +1139,7 @@ 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. @@ -1180,6 +1200,7 @@ 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. @@ -1242,6 +1263,7 @@ 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. @@ -1306,6 +1328,7 @@ 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. @@ -1368,6 +1391,7 @@ 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. @@ -1429,6 +1453,7 @@ 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. @@ -1489,6 +1514,7 @@ 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. @@ -1551,6 +1577,7 @@ 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. @@ -1615,6 +1642,7 @@ 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. @@ -1677,6 +1705,7 @@ 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. @@ -1738,6 +1767,7 @@ 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. @@ -1798,6 +1828,7 @@ 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. @@ -1860,6 +1891,7 @@ 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. @@ -1924,6 +1956,7 @@ 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. @@ -1986,6 +2019,7 @@ 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. @@ -2047,6 +2081,7 @@ 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. @@ -2107,6 +2142,7 @@ 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. @@ -2169,6 +2205,7 @@ 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. @@ -2233,6 +2270,7 @@ 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. @@ -2295,6 +2333,7 @@ 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. @@ -2356,6 +2395,7 @@ 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. @@ -2416,6 +2456,7 @@ 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. @@ -2478,6 +2519,7 @@ 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. @@ -2542,6 +2584,7 @@ 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. @@ -2604,6 +2647,7 @@ 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. @@ -2665,6 +2709,7 @@ 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. @@ -2725,6 +2770,7 @@ 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. @@ -2787,6 +2833,7 @@ 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. diff --git a/docs/Api/SSHAccessApi.md b/docs/Api/SSHAccessApi.md index 0dd19cb..1eec8e5 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..7092f15 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,15 +30,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 $policy_name = 'policy_name_example'; // string | The policy name try { @@ -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..e7470eb 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,6 +95,7 @@ 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. @@ -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,15 +221,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 $api_variable = 'api_variable_example'; // string | The variable key $update_environment_variable_request = new \QuantClient\Model\UpdateEnvironmentVariableRequest(); // \QuantClient\Model\UpdateEnvironmentVariableRequest diff --git a/docs/Api/VolumesApi.md b/docs/Api/VolumesApi.md index a795ffa..17cbd44 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,15 +96,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 $volume = 'volume_example'; // string | The volume ID try { @@ -156,15 +160,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 $volume = 'volume_example'; // string | The volume ID try { @@ -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); - } -}