Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Codes are generated by openapi #31

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
132 changes: 66 additions & 66 deletions src/clients/channel-access-token/lib/Api/ChannelAccessTokenApi.php

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions src/clients/channel-access-token/lib/ApiException.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* PHP version 7.4
*
* @category Class
* @package LINE\Clients\ChannelAccessToken
* @package LINE\\Clients\\ChannelAccessToken
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
*/
Expand All @@ -31,7 +31,7 @@
*
* The version of the OpenAPI document: 0.0.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 6.5.0
* OpenAPI Generator version: 6.6.0
*/

/**
Expand All @@ -40,15 +40,15 @@
* Do not edit the class manually.
*/

namespace LINE\Clients\ChannelAccessToken;
namespace LINE\\Clients\\ChannelAccessToken;

use \Exception;

/**
* ApiException Class Doc Comment
*
* @category Class
* @package LINE\Clients\ChannelAccessToken
* @package LINE\\Clients\\ChannelAccessToken
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
*/
Expand Down
10 changes: 5 additions & 5 deletions src/clients/channel-access-token/lib/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* PHP version 7.4
*
* @category Class
* @package LINE\Clients\ChannelAccessToken
* @package LINE\\Clients\\ChannelAccessToken
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
*/
Expand All @@ -31,7 +31,7 @@
*
* The version of the OpenAPI document: 0.0.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 6.5.0
* OpenAPI Generator version: 6.6.0
*/

/**
Expand All @@ -40,14 +40,14 @@
* Do not edit the class manually.
*/

namespace LINE\Clients\ChannelAccessToken;
namespace LINE\\Clients\\ChannelAccessToken;

/**
* Configuration Class Doc Comment
* PHP version 7.4
*
* @category Class
* @package LINE\Clients\ChannelAccessToken
* @package LINE\\Clients\\ChannelAccessToken
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
*/
Expand Down Expand Up @@ -444,7 +444,7 @@ public static function setDefaultConfiguration(Configuration $config)
*/
public static function toDebugReport()
{
$report = 'PHP SDK (LINE\Clients\ChannelAccessToken) Debug Report:' . PHP_EOL;
$report = 'PHP SDK (LINE\\Clients\\ChannelAccessToken) Debug Report:' . PHP_EOL;
$report .= ' OS: ' . php_uname() . PHP_EOL;
$report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL;
$report .= ' The version of the OpenAPI document: 0.0.1' . PHP_EOL;
Expand Down
8 changes: 4 additions & 4 deletions src/clients/channel-access-token/lib/HeaderSelector.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* PHP version 7.4
*
* @category Class
* @package LINE\Clients\ChannelAccessToken
* @package LINE\\Clients\\ChannelAccessToken
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
*/
Expand All @@ -31,7 +31,7 @@
*
* The version of the OpenAPI document: 0.0.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 6.5.0
* OpenAPI Generator version: 6.6.0
*/

/**
Expand All @@ -40,13 +40,13 @@
* Do not edit the class manually.
*/

namespace LINE\Clients\ChannelAccessToken;
namespace LINE\\Clients\\ChannelAccessToken;

/**
* HeaderSelector Class Doc Comment
*
* @category Class
* @package LINE\Clients\ChannelAccessToken
* @package LINE\\Clients\\ChannelAccessToken
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* PHP version 7.4
*
* @category Class
* @package LINE\Clients\ChannelAccessToken
* @package LINE\\Clients\\ChannelAccessToken
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
*/
Expand All @@ -32,7 +32,7 @@
*
* The version of the OpenAPI document: 0.0.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 6.5.0
* OpenAPI Generator version: 6.6.0
*/

/**
Expand All @@ -41,17 +41,17 @@
* Do not edit the class manually.
*/

namespace LINE\Clients\ChannelAccessToken\Model;
namespace LINE\\Clients\\ChannelAccessToken\Model;

use \ArrayAccess;
use \LINE\Clients\ChannelAccessToken\ObjectSerializer;
use \LINE\\Clients\\ChannelAccessToken\ObjectSerializer;

/**
* ChannelAccessTokenKeyIdsResponse Class Doc Comment
*
* @category Class
* @description Channel access token key IDs
* @package LINE\Clients\ChannelAccessToken
* @package LINE\\Clients\\ChannelAccessToken
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
* @implements \ArrayAccess<string, mixed>
Expand Down
10 changes: 5 additions & 5 deletions src/clients/channel-access-token/lib/Model/ErrorResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* PHP version 7.4
*
* @category Class
* @package LINE\Clients\ChannelAccessToken
* @package LINE\\Clients\\ChannelAccessToken
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
*/
Expand All @@ -32,7 +32,7 @@
*
* The version of the OpenAPI document: 0.0.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 6.5.0
* OpenAPI Generator version: 6.6.0
*/

/**
Expand All @@ -41,17 +41,17 @@
* Do not edit the class manually.
*/

namespace LINE\Clients\ChannelAccessToken\Model;
namespace LINE\\Clients\\ChannelAccessToken\Model;

use \ArrayAccess;
use \LINE\Clients\ChannelAccessToken\ObjectSerializer;
use \LINE\\Clients\\ChannelAccessToken\ObjectSerializer;

/**
* ErrorResponse Class Doc Comment
*
* @category Class
* @description Error response of the Channel access token
* @package LINE\Clients\ChannelAccessToken
* @package LINE\\Clients\\ChannelAccessToken
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
* @implements \ArrayAccess<string, mixed>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* PHP version 7.4
*
* @category Class
* @package LINE\Clients\ChannelAccessToken
* @package LINE\\Clients\\ChannelAccessToken
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
*/
Expand All @@ -32,7 +32,7 @@
*
* The version of the OpenAPI document: 0.0.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 6.5.0
* OpenAPI Generator version: 6.6.0
*/

/**
Expand All @@ -41,17 +41,17 @@
* Do not edit the class manually.
*/

namespace LINE\Clients\ChannelAccessToken\Model;
namespace LINE\\Clients\\ChannelAccessToken\Model;

use \ArrayAccess;
use \LINE\Clients\ChannelAccessToken\ObjectSerializer;
use \LINE\\Clients\\ChannelAccessToken\ObjectSerializer;

/**
* IssueChannelAccessTokenResponse Class Doc Comment
*
* @category Class
* @description Issued channel access token
* @package LINE\Clients\ChannelAccessToken
* @package LINE\\Clients\\ChannelAccessToken
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
* @implements \ArrayAccess<string, mixed>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* PHP version 7.4
*
* @category Class
* @package LINE\Clients\ChannelAccessToken
* @package LINE\\Clients\\ChannelAccessToken
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
*/
Expand All @@ -32,7 +32,7 @@
*
* The version of the OpenAPI document: 0.0.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 6.5.0
* OpenAPI Generator version: 6.6.0
*/

/**
Expand All @@ -41,17 +41,17 @@
* Do not edit the class manually.
*/

namespace LINE\Clients\ChannelAccessToken\Model;
namespace LINE\\Clients\\ChannelAccessToken\Model;

use \ArrayAccess;
use \LINE\Clients\ChannelAccessToken\ObjectSerializer;
use \LINE\\Clients\\ChannelAccessToken\ObjectSerializer;

/**
* IssueShortLivedChannelAccessTokenResponse Class Doc Comment
*
* @category Class
* @description Issued short-lived channel access token
* @package LINE\Clients\ChannelAccessToken
* @package LINE\\Clients\\ChannelAccessToken
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
* @implements \ArrayAccess<string, mixed>
Expand Down
8 changes: 4 additions & 4 deletions src/clients/channel-access-token/lib/Model/ModelInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* PHP version 7.4
*
* @category Class
* @package LINE\Clients\ChannelAccessToken\Model
* @package LINE\\Clients\\ChannelAccessToken\Model
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
*/
Expand All @@ -32,7 +32,7 @@
*
* The version of the OpenAPI document: 0.0.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 6.5.0
* OpenAPI Generator version: 6.6.0
*/

/**
Expand All @@ -41,12 +41,12 @@
* Do not edit the class manually.
*/

namespace LINE\Clients\ChannelAccessToken\Model;
namespace LINE\\Clients\\ChannelAccessToken\Model;

/**
* Interface abstracting model access.
*
* @package LINE\Clients\ChannelAccessToken\Model
* @package LINE\\Clients\\ChannelAccessToken\Model
* @author OpenAPI Generator team
*/
interface ModelInterface
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* PHP version 7.4
*
* @category Class
* @package LINE\Clients\ChannelAccessToken
* @package LINE\\Clients\\ChannelAccessToken
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
*/
Expand All @@ -32,7 +32,7 @@
*
* The version of the OpenAPI document: 0.0.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 6.5.0
* OpenAPI Generator version: 6.6.0
*/

/**
Expand All @@ -41,17 +41,17 @@
* Do not edit the class manually.
*/

namespace LINE\Clients\ChannelAccessToken\Model;
namespace LINE\\Clients\\ChannelAccessToken\Model;

use \ArrayAccess;
use \LINE\Clients\ChannelAccessToken\ObjectSerializer;
use \LINE\\Clients\\ChannelAccessToken\ObjectSerializer;

/**
* VerifyChannelAccessTokenResponse Class Doc Comment
*
* @category Class
* @description Verification result
* @package LINE\Clients\ChannelAccessToken
* @package LINE\\Clients\\ChannelAccessToken
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
* @implements \ArrayAccess<string, mixed>
Expand Down
12 changes: 6 additions & 6 deletions src/clients/channel-access-token/lib/ObjectSerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* PHP version 7.4
*
* @category Class
* @package LINE\Clients\ChannelAccessToken
* @package LINE\\Clients\\ChannelAccessToken
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
*/
Expand All @@ -32,7 +32,7 @@
*
* The version of the OpenAPI document: 0.0.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 6.5.0
* OpenAPI Generator version: 6.6.0
*/

/**
Expand All @@ -41,16 +41,16 @@
* Do not edit the class manually.
*/

namespace LINE\Clients\ChannelAccessToken;
namespace LINE\\Clients\\ChannelAccessToken;

use GuzzleHttp\Psr7\Utils;
use LINE\Clients\ChannelAccessToken\Model\ModelInterface;
use LINE\\Clients\\ChannelAccessToken\Model\ModelInterface;

/**
* ObjectSerializer Class Doc Comment
*
* @category Class
* @package LINE\Clients\ChannelAccessToken
* @package LINE\\Clients\\ChannelAccessToken
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
*/
Expand Down Expand Up @@ -528,7 +528,7 @@ public static function deserialize($data, $class, $httpHeaders = null)
// 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 = '\LINE\Clients\ChannelAccessToken\Model\\' . $data->{$discriminator};
$subclass = '\LINE\\Clients\\ChannelAccessToken\Model\\' . $data->{$discriminator};
if (is_subclass_of($subclass, $class)) {
$class = $subclass;
}
Expand Down
Loading