Skip to content

chore: regenerate from template for v5 #106

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

Merged
merged 1 commit into from
Sep 4, 2024
Merged
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
978 changes: 526 additions & 452 deletions src/Api/FingerprintApi.php

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions src/ApiException.php
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
<?php
/**
* ApiException
* PHP version 5
* PHP version 5.
*
* @category Class
* @package Fingerprint\ServerAPI
*
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen
*
* @see https://github.com/swagger-api/swagger-codegen
*/

/**
* Fingerprint Pro Server API
* Fingerprint Pro Server API.
*
* Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device.
*
Expand All @@ -27,33 +28,32 @@

namespace Fingerprint\ServerAPI;

use \Exception;
use Fingerprint\ServerAPI\Model\ModelInterface;
use Psr\Http\Message\ResponseInterface;

/**
* ApiException Class Doc Comment
* ApiException Class Doc Comment.
*
* @category Class
* @package Fingerprint\ServerAPI
*
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen
*
* @see https://github.com/swagger-api/swagger-codegen
*/
class ApiException extends Exception
class ApiException extends \Exception
{
protected ResponseInterface $responseObject;
protected ?ModelInterface $errorDetails = null;
protected ?int $retryAfter = null;

public function __construct(?string $message = "", ?int $code = 0)
public function __construct(?string $message = '', ?int $code = 0)
{
parent::__construct($message, $code);
}


/**
* Sets the deseralized response object (during deserialization)
*/
* Sets the deseralized response object (during deserialization).
*/
public function setResponseObject(ResponseInterface $obj): void
{
$this->responseObject = $obj;
Expand Down Expand Up @@ -83,4 +83,4 @@ public function setRetryAfter(?int $retryAfter): void
{
$this->retryAfter = $retryAfter;
}
}
}
Loading
Loading