Skip to content

Commit

Permalink
Merge pull request #106 from fingerprintjs/chore/regen-for-v5
Browse files Browse the repository at this point in the history
chore: regenerate from template for v5
  • Loading branch information
Orkuncakilkaya authored Sep 4, 2024
2 parents 6af96bd + 1684e1a commit 31d3000
Show file tree
Hide file tree
Showing 95 changed files with 10,916 additions and 11,168 deletions.
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

0 comments on commit 31d3000

Please sign in to comment.