From 588db81b7861a8616c5dc08de294138277d7a228 Mon Sep 17 00:00:00 2001 From: "quantcloud[bot]" Date: Thu, 18 Dec 2025 06:16:35 +0000 Subject: [PATCH] feat(sdk): v4.8.0 - Auto-generated from unified API spec Generated from unified API spec v4.8.0 Changes: - Auto-generated SDK updates This PR was automatically created by the API generation pipeline. --- docs/Api/BackupManagementApi.md | 24 ++--- docs/Api/CommandsApi.md | 14 +-- docs/Api/ComposeApi.md | 14 +-- docs/Api/ContainersApi.md | 14 +-- docs/Api/CrawlerSchedulesApi.md | 6 +- docs/Api/CrawlersApi.md | 59 +++++------ docs/Api/CronApi.md | 46 ++++---- docs/Api/DomainsApi.md | 32 +++--- docs/Api/EnvironmentsApi.md | 50 ++++----- docs/Api/HeadersApi.md | 24 ++--- docs/Api/KVApi.md | 86 +++++++-------- docs/Api/OrganizationsApi.md | 4 +- docs/Api/ProjectsApi.md | 32 +++--- docs/Api/PurgeApi.md | 8 +- docs/Api/SSHAccessApi.md | 12 +-- docs/Api/ScalingPolicyApi.md | 18 ++-- docs/Api/VariablesApi.md | 18 ++-- docs/Api/VolumesApi.md | 24 ++--- src/Api/CrawlersApi.php | 104 ++++-------------- src/Api/DomainsApi.php | 30 +++--- src/Api/HeadersApi.php | 60 +++++------ src/Api/KVApi.php | 180 ++++++++++++++++---------------- src/Api/OrganizationsApi.php | 28 +++-- src/Api/ProjectsApi.php | 80 +++++++------- src/Api/PurgeApi.php | 20 ++-- src/Api/SSHAccessApi.php | 30 +++--- 26 files changed, 484 insertions(+), 533 deletions(-) diff --git a/docs/Api/BackupManagementApi.md b/docs/Api/BackupManagementApi.md index 727644c..47e1838 100644 --- a/docs/Api/BackupManagementApi.md +++ b/docs/Api/BackupManagementApi.md @@ -35,9 +35,9 @@ $apiInstance = new QuantClient\Api\BackupManagementApi( 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 @@ -101,9 +101,9 @@ $apiInstance = new QuantClient\Api\BackupManagementApi( 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 @@ -167,9 +167,9 @@ $apiInstance = new QuantClient\Api\BackupManagementApi( 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 @@ -235,9 +235,9 @@ $apiInstance = new QuantClient\Api\BackupManagementApi( 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..739b5ee 100644 --- a/docs/Api/CommandsApi.md +++ b/docs/Api/CommandsApi.md @@ -34,8 +34,8 @@ $apiInstance = new QuantClient\Api\CommandsApi( 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 { @@ -96,9 +96,9 @@ $apiInstance = new QuantClient\Api\CommandsApi( 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); @@ -158,8 +158,8 @@ $apiInstance = new QuantClient\Api\CommandsApi( 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..4e6c866 100644 --- a/docs/Api/ComposeApi.md +++ b/docs/Api/ComposeApi.md @@ -34,9 +34,9 @@ $apiInstance = new QuantClient\Api\ComposeApi( 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); @@ -98,9 +98,9 @@ $apiInstance = new QuantClient\Api\ComposeApi( 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 { @@ -164,7 +164,7 @@ $apiInstance = new QuantClient\Api\ComposeApi( 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..8542727 100644 --- a/docs/Api/ContainersApi.md +++ b/docs/Api/ContainersApi.md @@ -33,9 +33,9 @@ $apiInstance = new QuantClient\Api\ContainersApi( 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); @@ -94,10 +94,10 @@ $apiInstance = new QuantClient\Api\ContainersApi( 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..5e9d12f 100644 --- a/docs/Api/CrawlerSchedulesApi.md +++ b/docs/Api/CrawlerSchedulesApi.md @@ -229,9 +229,9 @@ $apiInstance = new QuantClient\Api\CrawlerSchedulesApi( 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); diff --git a/docs/Api/CrawlersApi.md b/docs/Api/CrawlersApi.md index 2e5f259..7d5b751 100644 --- a/docs/Api/CrawlersApi.md +++ b/docs/Api/CrawlersApi.md @@ -39,8 +39,8 @@ $apiInstance = new QuantClient\Api\CrawlersApi( 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 { @@ -101,9 +101,9 @@ $apiInstance = new QuantClient\Api\CrawlersApi( 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 +118,7 @@ try { | ------------- | ------------- | ------------- | ------------- | | **organization** | **string**| Organization identifier | | | **project** | **string**| Project identifier | | -| **crawler** | **string**| | | +| **crawler** | **string**| The UUID of the crawler | | ### Return type @@ -162,10 +162,10 @@ $apiInstance = new QuantClient\Api\CrawlersApi( 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); @@ -226,9 +226,9 @@ $apiInstance = new QuantClient\Api\CrawlersApi( 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 +266,7 @@ try { ## `crawlersList()` ```php -crawlersList($organization, $project): \QuantClient\Model\V2Crawler[] +crawlersList($organization, $project) ``` List crawlers for the project @@ -288,12 +288,11 @@ $apiInstance = new QuantClient\Api\CrawlersApi( 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 +307,7 @@ try { ### Return type -[**\QuantClient\Model\V2Crawler[]**](../Model/V2Crawler.md) +void (empty response body) ### Authorization @@ -348,9 +347,9 @@ $apiInstance = new QuantClient\Api\CrawlersApi( 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 +365,7 @@ try { | ------------- | ------------- | ------------- | ------------- | | **organization** | **string**| Organization identifier | | | **project** | **string**| Project identifier | | -| **crawler** | **string**| | | +| **crawler** | **string**| The UUID of the crawler | | ### Return type @@ -410,9 +409,9 @@ $apiInstance = new QuantClient\Api\CrawlersApi( 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 { @@ -474,9 +473,9 @@ $apiInstance = new QuantClient\Api\CrawlersApi( 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 +492,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..eb9c7e8 100644 --- a/docs/Api/CronApi.md +++ b/docs/Api/CronApi.md @@ -38,9 +38,9 @@ $apiInstance = new QuantClient\Api\CronApi( 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 { @@ -102,9 +102,9 @@ $apiInstance = new QuantClient\Api\CronApi( 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 { @@ -165,9 +165,9 @@ $apiInstance = new QuantClient\Api\CronApi( 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 { @@ -229,10 +229,10 @@ $apiInstance = new QuantClient\Api\CronApi( 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 { @@ -295,10 +295,10 @@ $apiInstance = new QuantClient\Api\CronApi( 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); @@ -359,9 +359,9 @@ $apiInstance = new QuantClient\Api\CronApi( 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); @@ -421,9 +421,9 @@ $apiInstance = new QuantClient\Api\CronApi( 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..bb54073 100644 --- a/docs/Api/DomainsApi.md +++ b/docs/Api/DomainsApi.md @@ -36,8 +36,8 @@ $apiInstance = new QuantClient\Api\DomainsApi( 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 { @@ -98,9 +98,9 @@ $apiInstance = new QuantClient\Api\DomainsApi( 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 +115,7 @@ try { | ------------- | ------------- | ------------- | ------------- | | **organization** | **string**| Organization identifier | | | **project** | **string**| Project identifier | | -| **domain** | **string**| Domain identifier | | +| **domain** | **string**| Domain id | | ### Return type @@ -159,8 +159,8 @@ $apiInstance = new QuantClient\Api\DomainsApi( 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); @@ -219,9 +219,9 @@ $apiInstance = new QuantClient\Api\DomainsApi( 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 +237,7 @@ try { | ------------- | ------------- | ------------- | ------------- | | **organization** | **string**| Organization identifier | | | **project** | **string**| Project identifier | | -| **domain** | **string**| Domain identifier | | +| **domain** | **string**| Domain id | | ### Return type @@ -281,9 +281,9 @@ $apiInstance = new QuantClient\Api\DomainsApi( 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 +298,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..6da7583 100644 --- a/docs/Api/EnvironmentsApi.md +++ b/docs/Api/EnvironmentsApi.md @@ -41,8 +41,8 @@ $apiInstance = new QuantClient\Api\EnvironmentsApi( 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 { @@ -103,9 +103,9 @@ $apiInstance = new QuantClient\Api\EnvironmentsApi( 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); @@ -164,9 +164,9 @@ $apiInstance = new QuantClient\Api\EnvironmentsApi( 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); @@ -228,9 +228,9 @@ $apiInstance = new QuantClient\Api\EnvironmentsApi( 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 @@ -304,9 +304,9 @@ $apiInstance = new QuantClient\Api\EnvironmentsApi( 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) @@ -376,8 +376,8 @@ $apiInstance = new QuantClient\Api\EnvironmentsApi( 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); @@ -436,9 +436,9 @@ $apiInstance = new QuantClient\Api\EnvironmentsApi( 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 { @@ -500,9 +500,9 @@ $apiInstance = new QuantClient\Api\EnvironmentsApi( 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 @@ -631,9 +631,9 @@ $apiInstance = new QuantClient\Api\EnvironmentsApi( 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..6b9b48e 100644 --- a/docs/Api/HeadersApi.md +++ b/docs/Api/HeadersApi.md @@ -34,8 +34,8 @@ $apiInstance = new QuantClient\Api\HeadersApi( 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 +50,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 @@ -96,8 +96,8 @@ $apiInstance = new QuantClient\Api\HeadersApi( 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 +111,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 @@ -157,8 +157,8 @@ $apiInstance = new QuantClient\Api\HeadersApi( 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 +172,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..136f671 100644 --- a/docs/Api/KVApi.md +++ b/docs/Api/KVApi.md @@ -40,8 +40,8 @@ $apiInstance = new QuantClient\Api\KVApi( 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 +56,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 @@ -102,9 +102,9 @@ $apiInstance = new QuantClient\Api\KVApi( 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 +117,8 @@ try { | Name | Type | Description | Notes | | ------------- | ------------- | ------------- | ------------- | -| **organization** | **string**| | | -| **project** | **string**| | | +| **organization** | **string**| Organization identifier | | +| **project** | **string**| Project identifier | | | **store_id** | **string**| | | ### Return type @@ -163,9 +163,9 @@ $apiInstance = new QuantClient\Api\KVApi( 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 +180,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)| | | @@ -227,9 +227,9 @@ $apiInstance = new QuantClient\Api\KVApi( 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 +244,8 @@ try { | Name | Type | Description | Notes | | ------------- | ------------- | ------------- | ------------- | -| **organization** | **string**| | | -| **project** | **string**| | | +| **organization** | **string**| Organization identifier | | +| **project** | **string**| Project identifier | | | **store_id** | **string**| | | | **key** | **string**| | | @@ -291,9 +291,9 @@ $apiInstance = new QuantClient\Api\KVApi( 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 +311,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] | @@ -363,9 +363,9 @@ $apiInstance = new QuantClient\Api\KVApi( 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 +380,8 @@ try { | Name | Type | Description | Notes | | ------------- | ------------- | ------------- | ------------- | -| **organization** | **string**| | | -| **project** | **string**| | | +| **organization** | **string**| Organization identifier | | +| **project** | **string**| Project identifier | | | **store_id** | **string**| | | | **key** | **string**| | | @@ -427,9 +427,9 @@ $apiInstance = new QuantClient\Api\KVApi( 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 +445,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)| | | @@ -493,8 +493,8 @@ $apiInstance = new QuantClient\Api\KVApi( 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 +508,8 @@ try { | Name | Type | Description | Notes | | ------------- | ------------- | ------------- | ------------- | -| **organization** | **string**| | | -| **project** | **string**| | | +| **organization** | **string**| Organization identifier | | +| **project** | **string**| Project identifier | | ### Return type @@ -553,9 +553,9 @@ $apiInstance = new QuantClient\Api\KVApi( 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 +569,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..282ae50 100644 --- a/docs/Api/OrganizationsApi.md +++ b/docs/Api/OrganizationsApi.md @@ -88,7 +88,7 @@ $apiInstance = new QuantClient\Api\OrganizationsApi( new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string +$organization = test-org; // string | Organization identifier try { $result = $apiInstance->organizationsRead($organization); @@ -102,7 +102,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..4225809 100644 --- a/docs/Api/ProjectsApi.md +++ b/docs/Api/ProjectsApi.md @@ -36,7 +36,7 @@ $apiInstance = new QuantClient\Api\ProjectsApi( 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 +51,7 @@ try { | Name | Type | Description | Notes | | ------------- | ------------- | ------------- | ------------- | -| **organization** | **string**| | | +| **organization** | **string**| Organization identifier | | | **v2_project_request** | [**\QuantClient\Model\V2ProjectRequest**](../Model/V2ProjectRequest.md)| | | ### Return type @@ -96,8 +96,8 @@ $apiInstance = new QuantClient\Api\ProjectsApi( 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 +110,8 @@ try { | Name | Type | Description | Notes | | ------------- | ------------- | ------------- | ------------- | -| **organization** | **string**| | | -| **project** | **string**| | | +| **organization** | **string**| Organization identifier | | +| **project** | **string**| Project identifier | | ### Return type @@ -155,7 +155,7 @@ $apiInstance = new QuantClient\Api\ProjectsApi( new GuzzleHttp\Client(), $config ); -$organization = 'organization_example'; // string +$organization = test-org; // string | Organization identifier try { $result = $apiInstance->projectsList($organization); @@ -169,7 +169,7 @@ try { | Name | Type | Description | Notes | | ------------- | ------------- | ------------- | ------------- | -| **organization** | **string**| | | +| **organization** | **string**| Organization identifier | | ### Return type @@ -213,8 +213,8 @@ $apiInstance = new QuantClient\Api\ProjectsApi( 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 +229,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 @@ -275,8 +275,8 @@ $apiInstance = new QuantClient\Api\ProjectsApi( 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 +291,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..9867270 100644 --- a/docs/Api/PurgeApi.md +++ b/docs/Api/PurgeApi.md @@ -32,8 +32,8 @@ $apiInstance = new QuantClient\Api\PurgeApi( 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 +48,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/SSHAccessApi.md b/docs/Api/SSHAccessApi.md index 0dd19cb..bda27f4 100644 --- a/docs/Api/SSHAccessApi.md +++ b/docs/Api/SSHAccessApi.md @@ -32,9 +32,9 @@ $apiInstance = new QuantClient\Api\SSHAccessApi( 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 +48,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..4542b7c 100644 --- a/docs/Api/ScalingPolicyApi.md +++ b/docs/Api/ScalingPolicyApi.md @@ -34,9 +34,9 @@ $apiInstance = new QuantClient\Api\ScalingPolicyApi( 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 { @@ -97,9 +97,9 @@ $apiInstance = new QuantClient\Api\ScalingPolicyApi( 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); @@ -158,9 +158,9 @@ $apiInstance = new QuantClient\Api\ScalingPolicyApi( 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..2e5d7f1 100644 --- a/docs/Api/VariablesApi.md +++ b/docs/Api/VariablesApi.md @@ -35,9 +35,9 @@ $apiInstance = new QuantClient\Api\VariablesApi( 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 { @@ -161,9 +161,9 @@ $apiInstance = new QuantClient\Api\VariablesApi( 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); @@ -222,9 +222,9 @@ $apiInstance = new QuantClient\Api\VariablesApi( 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..9ec1b07 100644 --- a/docs/Api/VolumesApi.md +++ b/docs/Api/VolumesApi.md @@ -35,9 +35,9 @@ $apiInstance = new QuantClient\Api\VolumesApi( 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 { @@ -99,9 +99,9 @@ $apiInstance = new QuantClient\Api\VolumesApi( 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 { @@ -162,9 +162,9 @@ $apiInstance = new QuantClient\Api\VolumesApi( 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 { @@ -226,9 +226,9 @@ $apiInstance = new QuantClient\Api\VolumesApi( 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