diff --git a/docs/Api/FilesApi.md b/docs/Api/FilesApi.md index 19e2bb001f686571a63cf1df336ae281e2987fd8..be2e8f332badda48c6ca7b3661a454ab8c024b63 100644 --- a/docs/Api/FilesApi.md +++ b/docs/Api/FilesApi.md @@ -1,4 +1,4 @@ -# Swagger\Client\FilesApi +# jards\gcsjardsapiclient\Swagger\Client\FilesApi All URIs are relative to *https://localhost* @@ -20,7 +20,7 @@ Download file for an application ID <?php require_once(__DIR__ . '/vendor/autoload.php'); -$api_instance = new Swagger\Client\Api\FilesApi(); +$api_instance = new jards\gcsjardsapiclient\Swagger\Client\Api\FilesApi(); $appid = 56; // int | ID of the application. $file = "file_example"; // string | Name of requested file. @@ -67,7 +67,7 @@ Get a list of files available for an application ID <?php require_once(__DIR__ . '/vendor/autoload.php'); -$api_instance = new Swagger\Client\Api\FilesApi(); +$api_instance = new jards\gcsjardsapiclient\Swagger\Client\Api\FilesApi(); $appid = 56; // int | ID of the application. try { diff --git a/lib/Api/FilesApi.php b/lib/Api/FilesApi.php index fcc56d7cda8a2326fa6597871155749d33c47faf..069132e6fc22eb6e6863f455234833f45f4fa307 100644 --- a/lib/Api/FilesApi.php +++ b/lib/Api/FilesApi.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package jards\gcsjardsapi\Swagger\Client + * @package jards\gcsjardsapiclient\Swagger\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Do not edit the class manually. */ -namespace jards\gcsjardsapi\Swagger\Client\Api; +namespace jards\gcsjardsapiclient\Swagger\Client\Api; -use \jards\gcsjardsapi\Swagger\Client\ApiClient; -use \jards\gcsjardsapi\Swagger\Client\ApiException; -use \jards\gcsjardsapi\Swagger\Client\Configuration; -use \jards\gcsjardsapi\Swagger\Client\ObjectSerializer; +use \jards\gcsjardsapiclient\Swagger\Client\ApiClient; +use \jards\gcsjardsapiclient\Swagger\Client\ApiException; +use \jards\gcsjardsapiclient\Swagger\Client\Configuration; +use \jards\gcsjardsapiclient\Swagger\Client\ObjectSerializer; /** * FilesApi Class Doc Comment * * @category Class - * @package jards\gcsjardsapi\Swagger\Client + * @package jards\gcsjardsapiclient\Swagger\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -46,16 +46,16 @@ class FilesApi /** * API Client * - * @var \jards\gcsjardsapi\Swagger\Client\ApiClient instance of the ApiClient + * @var \jards\gcsjardsapiclient\Swagger\Client\ApiClient instance of the ApiClient */ protected $apiClient; /** * Constructor * - * @param \jards\gcsjardsapi\Swagger\Client\ApiClient|null $apiClient The api client to use + * @param \jards\gcsjardsapiclient\Swagger\Client\ApiClient|null $apiClient The api client to use */ - public function __construct(\jards\gcsjardsapi\Swagger\Client\ApiClient $apiClient = null) + public function __construct(\jards\gcsjardsapiclient\Swagger\Client\ApiClient $apiClient = null) { if ($apiClient === null) { $apiClient = new ApiClient(); @@ -67,7 +67,7 @@ class FilesApi /** * Get API client * - * @return \jards\gcsjardsapi\Swagger\Client\ApiClient get the API client + * @return \jards\gcsjardsapiclient\Swagger\Client\ApiClient get the API client */ public function getApiClient() { @@ -77,11 +77,11 @@ class FilesApi /** * Set the API client * - * @param \jards\gcsjardsapi\Swagger\Client\ApiClient $apiClient set the API client + * @param \jards\gcsjardsapiclient\Swagger\Client\ApiClient $apiClient set the API client * * @return FilesApi */ - public function setApiClient(\jards\gcsjardsapi\Swagger\Client\ApiClient $apiClient) + public function setApiClient(\jards\gcsjardsapiclient\Swagger\Client\ApiClient $apiClient) { $this->apiClient = $apiClient; return $this; @@ -92,7 +92,7 @@ class FilesApi * * @param int $appid ID of the application. (required) * @param string $file Name of requested file. (required) - * @throws \jards\gcsjardsapi\Swagger\Client\ApiException on non-2xx response + * @throws \jards\gcsjardsapiclient\Swagger\Client\ApiException on non-2xx response * @return \SplFileObject */ public function filesAppidFileGet($appid, $file) @@ -106,7 +106,7 @@ class FilesApi * * @param int $appid ID of the application. (required) * @param string $file Name of requested file. (required) - * @throws \jards\gcsjardsapi\Swagger\Client\ApiException on non-2xx response + * @throws \jards\gcsjardsapiclient\Swagger\Client\ApiException on non-2xx response * @return array of \SplFileObject, HTTP status code, HTTP response headers (array of strings) */ public function filesAppidFileGetWithHttpInfo($appid, $file) @@ -187,7 +187,7 @@ class FilesApi * Operation filesAppidGet * * @param int $appid ID of the application. (required) - * @throws \jards\gcsjardsapi\Swagger\Client\ApiException on non-2xx response + * @throws \jards\gcsjardsapiclient\Swagger\Client\ApiException on non-2xx response * @return string[] */ public function filesAppidGet($appid) @@ -200,7 +200,7 @@ class FilesApi * Operation filesAppidGetWithHttpInfo * * @param int $appid ID of the application. (required) - * @throws \jards\gcsjardsapi\Swagger\Client\ApiException on non-2xx response + * @throws \jards\gcsjardsapiclient\Swagger\Client\ApiException on non-2xx response * @return array of string[], HTTP status code, HTTP response headers (array of strings) */ public function filesAppidGetWithHttpInfo($appid) diff --git a/lib/ApiClient.php b/lib/ApiClient.php index 71504ea38ee1c529344bac30eb3a4dd5efe15242..7e6786a1f574a7c70b31f5e2c320968b9395b454 100644 --- a/lib/ApiClient.php +++ b/lib/ApiClient.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package jards\gcsjardsapi\Swagger\Client + * @package jards\gcsjardsapiclient\Swagger\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,13 +27,13 @@ * Do not edit the class manually. */ -namespace jards\gcsjardsapi\Swagger\Client; +namespace jards\gcsjardsapiclient\Swagger\Client; /** * ApiClient Class Doc Comment * * @category Class - * @package jards\gcsjardsapi\Swagger\Client + * @package jards\gcsjardsapiclient\Swagger\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -66,7 +66,7 @@ class ApiClient * * @param Configuration $config config for this ApiClient */ - public function __construct(\jards\gcsjardsapi\Swagger\Client\Configuration $config = null) + public function __construct(\jards\gcsjardsapiclient\Swagger\Client\Configuration $config = null) { if ($config === null) { $config = Configuration::getDefaultConfiguration(); @@ -132,7 +132,7 @@ class ApiClient * @param string $responseType expected response type of the endpoint * @param string $endpointPath path to method endpoint before expanding parameters * - * @throws \jards\gcsjardsapi\Swagger\Client\ApiException on a non 2xx response + * @throws \jards\gcsjardsapiclient\Swagger\Client\ApiException on a non 2xx response * @return mixed */ public function callApi($resourcePath, $method, $queryParams, $postData, $headerParams, $responseType = null, $endpointPath = null) @@ -153,7 +153,7 @@ class ApiClient if ($postData and in_array('Content-Type: application/x-www-form-urlencoded', $headers, true)) { $postData = http_build_query($postData); } elseif ((is_object($postData) or is_array($postData)) and !in_array('Content-Type: multipart/form-data', $headers, true)) { // json model - $postData = json_encode(\jards\gcsjardsapi\Swagger\Client\ObjectSerializer::sanitizeForSerialization($postData)); + $postData = json_encode(\jards\gcsjardsapiclient\Swagger\Client\ObjectSerializer::sanitizeForSerialization($postData)); } $url = $this->config->getHost() . $resourcePath; diff --git a/lib/ApiException.php b/lib/ApiException.php index 7c9bfd3435d2f72e32a7f3326ae2c3ddcbcba8d2..ecc37b2545d237f9e10e3a5d3c2f67ad0cd1e112 100644 --- a/lib/ApiException.php +++ b/lib/ApiException.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package jards\gcsjardsapi\Swagger\Client + * @package jards\gcsjardsapiclient\Swagger\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,7 +26,7 @@ * Do not edit the class manually. */ -namespace jards\gcsjardsapi\Swagger\Client; +namespace jards\gcsjardsapiclient\Swagger\Client; use \Exception; @@ -34,7 +34,7 @@ use \Exception; * ApiException Class Doc Comment * * @category Class - * @package jards\gcsjardsapi\Swagger\Client + * @package jards\gcsjardsapiclient\Swagger\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/lib/Configuration.php b/lib/Configuration.php index 1576a61f8d1e2b7283ee548dc96deb05bd0cb0a9..270587f412d2bd3dc5969e87e679891336ca2fc1 100644 --- a/lib/Configuration.php +++ b/lib/Configuration.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package jards\gcsjardsapi\Swagger\Client + * @package jards\gcsjardsapiclient\Swagger\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,14 +26,14 @@ * Do not edit the class manually. */ -namespace jards\gcsjardsapi\Swagger\Client; +namespace jards\gcsjardsapiclient\Swagger\Client; /** * Configuration Class Doc Comment * PHP version 5 * * @category Class - * @package jards\gcsjardsapi\Swagger\Client + * @package jards\gcsjardsapiclient\Swagger\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -733,7 +733,7 @@ class Configuration /** * Set certificate key file * @param string $certificatekey certificate key file - * @return \jards\gcsjardsapi\Swagger\Client\Configuration + * @return \jards\gcsjardsapiclient\Swagger\Client\Configuration */ public function setCertificateKey($certificatekey) { @@ -753,7 +753,7 @@ class Configuration /** * Set passphrase for client certificate key file * @param string $passphrase passphrase for client certificate key file - * @return \jards\gcsjardsapi\Swagger\Client\Configuration + * @return \jards\gcsjardsapiclient\Swagger\Client\Configuration */ public function setCertificatePassphrase($passphrase) { @@ -803,7 +803,7 @@ class Configuration */ public static function toDebugReport() { - $report = 'PHP SDK (jards\gcsjardsapi\Swagger\Client) Debug Report:' . PHP_EOL; + $report = 'PHP SDK (jards\gcsjardsapiclient\Swagger\Client) Debug Report:' . PHP_EOL; $report .= ' OS: ' . php_uname() . PHP_EOL; $report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL; $report .= ' OpenAPI Spec Version: 0.0.1' . PHP_EOL; diff --git a/lib/ObjectSerializer.php b/lib/ObjectSerializer.php index 1ca75654fb01e1787925c55ad27f6d00011e9329..db5ce1ae62923385a1a17e3daf6704f93b82be72 100644 --- a/lib/ObjectSerializer.php +++ b/lib/ObjectSerializer.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package jards\gcsjardsapi\Swagger\Client + * @package jards\gcsjardsapiclient\Swagger\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,13 +27,13 @@ * Do not edit the class manually. */ -namespace jards\gcsjardsapi\Swagger\Client; +namespace jards\gcsjardsapiclient\Swagger\Client; /** * ObjectSerializer Class Doc Comment * * @category Class - * @package jards\gcsjardsapi\Swagger\Client + * @package jards\gcsjardsapiclient\Swagger\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -288,7 +288,7 @@ class ObjectSerializer // If a discriminator is defined and points to a valid subclass, use it. $discriminator = $class::DISCRIMINATOR; if (!empty($discriminator) && isset($data->{$discriminator}) && is_string($data->{$discriminator})) { - $subclass = '\jards\gcsjardsapi\Swagger\Client\Model\\' . $data->{$discriminator}; + $subclass = '\jards\gcsjardsapiclient\Swagger\Client\Model\\' . $data->{$discriminator}; if (is_subclass_of($subclass, $class)) { $class = $subclass; } diff --git a/test/Api/FilesApiTest.php b/test/Api/FilesApiTest.php index e377e353ed5ce16f29104f34659fe3141d417c4d..544bbb7d8be4fc5ad78869c5575dd3b25799b79b 100644 --- a/test/Api/FilesApiTest.php +++ b/test/Api/FilesApiTest.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package jards\gcsjardsapi\Swagger\Client + * @package jards\gcsjardsapiclient\Swagger\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Please update the test case below to test the endpoint. */ -namespace jards\gcsjardsapi\Swagger\Client; +namespace jards\gcsjardsapiclient\Swagger\Client; -use \jards\gcsjardsapi\Swagger\Client\Configuration; -use \jards\gcsjardsapi\Swagger\Client\ApiClient; -use \jards\gcsjardsapi\Swagger\Client\ApiException; -use \jards\gcsjardsapi\Swagger\Client\ObjectSerializer; +use \jards\gcsjardsapiclient\Swagger\Client\Configuration; +use \jards\gcsjardsapiclient\Swagger\Client\ApiClient; +use \jards\gcsjardsapiclient\Swagger\Client\ApiException; +use \jards\gcsjardsapiclient\Swagger\Client\ObjectSerializer; /** * FilesApiTest Class Doc Comment * * @category Class - * @package jards\gcsjardsapi\Swagger\Client + * @package jards\gcsjardsapiclient\Swagger\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */