Skip to content
Snippets Groups Projects
Commit 8cd17ed3 authored by Carsten Karbach's avatar Carsten Karbach
Browse files

Fix namespace gcsjardapi -> gcsjardsapiclient

parent 4e3dc111
No related branches found
No related tags found
No related merge requests found
# Swagger\Client\FilesApi # jards\gcsjardsapiclient\Swagger\Client\FilesApi
All URIs are relative to *https://localhost* All URIs are relative to *https://localhost*
...@@ -20,7 +20,7 @@ Download file for an application ID ...@@ -20,7 +20,7 @@ Download file for an application ID
<?php <?php
require_once(__DIR__ . '/vendor/autoload.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. $appid = 56; // int | ID of the application.
$file = "file_example"; // string | Name of requested file. $file = "file_example"; // string | Name of requested file.
...@@ -67,7 +67,7 @@ Get a list of files available for an application ID ...@@ -67,7 +67,7 @@ Get a list of files available for an application ID
<?php <?php
require_once(__DIR__ . '/vendor/autoload.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. $appid = 56; // int | ID of the application.
try { try {
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* PHP version 5 * PHP version 5
* *
* @category Class * @category Class
* @package jards\gcsjardsapi\Swagger\Client * @package jards\gcsjardsapiclient\Swagger\Client
* @author Swagger Codegen team * @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen * @link https://github.com/swagger-api/swagger-codegen
*/ */
...@@ -26,18 +26,18 @@ ...@@ -26,18 +26,18 @@
* Do not edit the class manually. * 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\gcsjardsapiclient\Swagger\Client\ApiClient;
use \jards\gcsjardsapi\Swagger\Client\ApiException; use \jards\gcsjardsapiclient\Swagger\Client\ApiException;
use \jards\gcsjardsapi\Swagger\Client\Configuration; use \jards\gcsjardsapiclient\Swagger\Client\Configuration;
use \jards\gcsjardsapi\Swagger\Client\ObjectSerializer; use \jards\gcsjardsapiclient\Swagger\Client\ObjectSerializer;
/** /**
* FilesApi Class Doc Comment * FilesApi Class Doc Comment
* *
* @category Class * @category Class
* @package jards\gcsjardsapi\Swagger\Client * @package jards\gcsjardsapiclient\Swagger\Client
* @author Swagger Codegen team * @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen * @link https://github.com/swagger-api/swagger-codegen
*/ */
...@@ -46,16 +46,16 @@ class FilesApi ...@@ -46,16 +46,16 @@ class FilesApi
/** /**
* API Client * API Client
* *
* @var \jards\gcsjardsapi\Swagger\Client\ApiClient instance of the ApiClient * @var \jards\gcsjardsapiclient\Swagger\Client\ApiClient instance of the ApiClient
*/ */
protected $apiClient; protected $apiClient;
/** /**
* Constructor * 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) { if ($apiClient === null) {
$apiClient = new ApiClient(); $apiClient = new ApiClient();
...@@ -67,7 +67,7 @@ class FilesApi ...@@ -67,7 +67,7 @@ class FilesApi
/** /**
* Get API client * 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() public function getApiClient()
{ {
...@@ -77,11 +77,11 @@ class FilesApi ...@@ -77,11 +77,11 @@ class FilesApi
/** /**
* Set the API client * 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 * @return FilesApi
*/ */
public function setApiClient(\jards\gcsjardsapi\Swagger\Client\ApiClient $apiClient) public function setApiClient(\jards\gcsjardsapiclient\Swagger\Client\ApiClient $apiClient)
{ {
$this->apiClient = $apiClient; $this->apiClient = $apiClient;
return $this; return $this;
...@@ -92,7 +92,7 @@ class FilesApi ...@@ -92,7 +92,7 @@ class FilesApi
* *
* @param int $appid ID of the application. (required) * @param int $appid ID of the application. (required)
* @param string $file Name of requested file. (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 * @return \SplFileObject
*/ */
public function filesAppidFileGet($appid, $file) public function filesAppidFileGet($appid, $file)
...@@ -106,7 +106,7 @@ class FilesApi ...@@ -106,7 +106,7 @@ class FilesApi
* *
* @param int $appid ID of the application. (required) * @param int $appid ID of the application. (required)
* @param string $file Name of requested file. (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) * @return array of \SplFileObject, HTTP status code, HTTP response headers (array of strings)
*/ */
public function filesAppidFileGetWithHttpInfo($appid, $file) public function filesAppidFileGetWithHttpInfo($appid, $file)
...@@ -187,7 +187,7 @@ class FilesApi ...@@ -187,7 +187,7 @@ class FilesApi
* Operation filesAppidGet * Operation filesAppidGet
* *
* @param int $appid ID of the application. (required) * @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[] * @return string[]
*/ */
public function filesAppidGet($appid) public function filesAppidGet($appid)
...@@ -200,7 +200,7 @@ class FilesApi ...@@ -200,7 +200,7 @@ class FilesApi
* Operation filesAppidGetWithHttpInfo * Operation filesAppidGetWithHttpInfo
* *
* @param int $appid ID of the application. (required) * @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) * @return array of string[], HTTP status code, HTTP response headers (array of strings)
*/ */
public function filesAppidGetWithHttpInfo($appid) public function filesAppidGetWithHttpInfo($appid)
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
* PHP version 5 * PHP version 5
* *
* @category Class * @category Class
* @package jards\gcsjardsapi\Swagger\Client * @package jards\gcsjardsapiclient\Swagger\Client
* @author Swagger Codegen team * @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen * @link https://github.com/swagger-api/swagger-codegen
*/ */
...@@ -27,13 +27,13 @@ ...@@ -27,13 +27,13 @@
* Do not edit the class manually. * Do not edit the class manually.
*/ */
namespace jards\gcsjardsapi\Swagger\Client; namespace jards\gcsjardsapiclient\Swagger\Client;
/** /**
* ApiClient Class Doc Comment * ApiClient Class Doc Comment
* *
* @category Class * @category Class
* @package jards\gcsjardsapi\Swagger\Client * @package jards\gcsjardsapiclient\Swagger\Client
* @author Swagger Codegen team * @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen * @link https://github.com/swagger-api/swagger-codegen
*/ */
...@@ -66,7 +66,7 @@ class ApiClient ...@@ -66,7 +66,7 @@ class ApiClient
* *
* @param Configuration $config config for this 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) { if ($config === null) {
$config = Configuration::getDefaultConfiguration(); $config = Configuration::getDefaultConfiguration();
...@@ -132,7 +132,7 @@ class ApiClient ...@@ -132,7 +132,7 @@ class ApiClient
* @param string $responseType expected response type of the endpoint * @param string $responseType expected response type of the endpoint
* @param string $endpointPath path to method endpoint before expanding parameters * @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 * @return mixed
*/ */
public function callApi($resourcePath, $method, $queryParams, $postData, $headerParams, $responseType = null, $endpointPath = null) public function callApi($resourcePath, $method, $queryParams, $postData, $headerParams, $responseType = null, $endpointPath = null)
...@@ -153,7 +153,7 @@ class ApiClient ...@@ -153,7 +153,7 @@ class ApiClient
if ($postData and in_array('Content-Type: application/x-www-form-urlencoded', $headers, true)) { if ($postData and in_array('Content-Type: application/x-www-form-urlencoded', $headers, true)) {
$postData = http_build_query($postData); $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 } 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; $url = $this->config->getHost() . $resourcePath;
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* PHP version 5 * PHP version 5
* *
* @category Class * @category Class
* @package jards\gcsjardsapi\Swagger\Client * @package jards\gcsjardsapiclient\Swagger\Client
* @author Swagger Codegen team * @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen * @link https://github.com/swagger-api/swagger-codegen
*/ */
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
* Do not edit the class manually. * Do not edit the class manually.
*/ */
namespace jards\gcsjardsapi\Swagger\Client; namespace jards\gcsjardsapiclient\Swagger\Client;
use \Exception; use \Exception;
...@@ -34,7 +34,7 @@ use \Exception; ...@@ -34,7 +34,7 @@ use \Exception;
* ApiException Class Doc Comment * ApiException Class Doc Comment
* *
* @category Class * @category Class
* @package jards\gcsjardsapi\Swagger\Client * @package jards\gcsjardsapiclient\Swagger\Client
* @author Swagger Codegen team * @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen * @link https://github.com/swagger-api/swagger-codegen
*/ */
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* PHP version 5 * PHP version 5
* *
* @category Class * @category Class
* @package jards\gcsjardsapi\Swagger\Client * @package jards\gcsjardsapiclient\Swagger\Client
* @author Swagger Codegen team * @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen * @link https://github.com/swagger-api/swagger-codegen
*/ */
...@@ -26,14 +26,14 @@ ...@@ -26,14 +26,14 @@
* Do not edit the class manually. * Do not edit the class manually.
*/ */
namespace jards\gcsjardsapi\Swagger\Client; namespace jards\gcsjardsapiclient\Swagger\Client;
/** /**
* Configuration Class Doc Comment * Configuration Class Doc Comment
* PHP version 5 * PHP version 5
* *
* @category Class * @category Class
* @package jards\gcsjardsapi\Swagger\Client * @package jards\gcsjardsapiclient\Swagger\Client
* @author Swagger Codegen team * @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen * @link https://github.com/swagger-api/swagger-codegen
*/ */
...@@ -733,7 +733,7 @@ class Configuration ...@@ -733,7 +733,7 @@ class Configuration
/** /**
* Set certificate key file * Set certificate key file
* @param string $certificatekey 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) public function setCertificateKey($certificatekey)
{ {
...@@ -753,7 +753,7 @@ class Configuration ...@@ -753,7 +753,7 @@ class Configuration
/** /**
* Set passphrase for client certificate key file * Set passphrase for client certificate key file
* @param string $passphrase 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) public function setCertificatePassphrase($passphrase)
{ {
...@@ -803,7 +803,7 @@ class Configuration ...@@ -803,7 +803,7 @@ class Configuration
*/ */
public static function toDebugReport() 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 .= ' OS: ' . php_uname() . PHP_EOL;
$report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL; $report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL;
$report .= ' OpenAPI Spec Version: 0.0.1' . PHP_EOL; $report .= ' OpenAPI Spec Version: 0.0.1' . PHP_EOL;
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
* PHP version 5 * PHP version 5
* *
* @category Class * @category Class
* @package jards\gcsjardsapi\Swagger\Client * @package jards\gcsjardsapiclient\Swagger\Client
* @author Swagger Codegen team * @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen * @link https://github.com/swagger-api/swagger-codegen
*/ */
...@@ -27,13 +27,13 @@ ...@@ -27,13 +27,13 @@
* Do not edit the class manually. * Do not edit the class manually.
*/ */
namespace jards\gcsjardsapi\Swagger\Client; namespace jards\gcsjardsapiclient\Swagger\Client;
/** /**
* ObjectSerializer Class Doc Comment * ObjectSerializer Class Doc Comment
* *
* @category Class * @category Class
* @package jards\gcsjardsapi\Swagger\Client * @package jards\gcsjardsapiclient\Swagger\Client
* @author Swagger Codegen team * @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen * @link https://github.com/swagger-api/swagger-codegen
*/ */
...@@ -288,7 +288,7 @@ class ObjectSerializer ...@@ -288,7 +288,7 @@ class ObjectSerializer
// If a discriminator is defined and points to a valid subclass, use it. // If a discriminator is defined and points to a valid subclass, use it.
$discriminator = $class::DISCRIMINATOR; $discriminator = $class::DISCRIMINATOR;
if (!empty($discriminator) && isset($data->{$discriminator}) && is_string($data->{$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)) { if (is_subclass_of($subclass, $class)) {
$class = $subclass; $class = $subclass;
} }
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* PHP version 5 * PHP version 5
* *
* @category Class * @category Class
* @package jards\gcsjardsapi\Swagger\Client * @package jards\gcsjardsapiclient\Swagger\Client
* @author Swagger Codegen team * @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen * @link https://github.com/swagger-api/swagger-codegen
*/ */
...@@ -26,18 +26,18 @@ ...@@ -26,18 +26,18 @@
* Please update the test case below to test the endpoint. * 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\gcsjardsapiclient\Swagger\Client\Configuration;
use \jards\gcsjardsapi\Swagger\Client\ApiClient; use \jards\gcsjardsapiclient\Swagger\Client\ApiClient;
use \jards\gcsjardsapi\Swagger\Client\ApiException; use \jards\gcsjardsapiclient\Swagger\Client\ApiException;
use \jards\gcsjardsapi\Swagger\Client\ObjectSerializer; use \jards\gcsjardsapiclient\Swagger\Client\ObjectSerializer;
/** /**
* FilesApiTest Class Doc Comment * FilesApiTest Class Doc Comment
* *
* @category Class * @category Class
* @package jards\gcsjardsapi\Swagger\Client * @package jards\gcsjardsapiclient\Swagger\Client
* @author Swagger Codegen team * @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen * @link https://github.com/swagger-api/swagger-codegen
*/ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment