Skip to content

Commit a8599c2

Browse files
committed
[reformat][antom-sdk-automation] automated change
1 parent cd049e4 commit a8599c2

File tree

273 files changed

+80501
-4278
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

273 files changed

+80501
-4278
lines changed

Api/DefaultApi.php

Whitespace-only changes.

ApiException.php

Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
<?php
2+
3+
/**
4+
* ApiException
5+
* PHP version 7.4
6+
*
7+
* @category Class
8+
* @package request
9+
* @author OpenAPI Generator team
10+
* @link https://openapi-generator.tech
11+
*/
12+
13+
/**
14+
* vaults_createVaultingSession
15+
*
16+
* The version of the OpenAPI document: 1.0.0
17+
* Generated by: https://openapi-generator.tech
18+
* OpenAPI Generator version: 6.0.1
19+
*
20+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
21+
* https://openapi-generator.tech
22+
* Do not edit the class manually.
23+
*/
24+
25+
/**
26+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
27+
* https://openapi-generator.tech
28+
* Do not edit the class manually.
29+
*/
30+
31+
namespace request;
32+
33+
use Exception;
34+
35+
/**
36+
* ApiException Class Doc Comment
37+
*
38+
* @category Class
39+
* @package request
40+
* @author OpenAPI Generator team
41+
* @link https://openapi-generator.tech
42+
*/
43+
class ApiException extends Exception
44+
{
45+
/**
46+
* The HTTP body of the server response either as Json or string.
47+
*
48+
* @var \stdClass|string|null
49+
*/
50+
protected $responseBody;
51+
52+
/**
53+
* The HTTP header of the server response.
54+
*
55+
* @var string[]|null
56+
*/
57+
protected $responseHeaders;
58+
59+
/**
60+
* The deserialized response object
61+
*
62+
* @var \stdClass|string|null
63+
*/
64+
protected $responseObject;
65+
66+
/**
67+
* Constructor
68+
*
69+
* @param string $message Error message
70+
* @param int $code HTTP status code
71+
* @param string[]|null $responseHeaders HTTP response header
72+
* @param \stdClass|string|null $responseBody HTTP decoded body of the server response either as \stdClass or string
73+
*/
74+
public function __construct($message = "", $code = 0, $responseHeaders = [], $responseBody = null)
75+
{
76+
parent::__construct($message, $code);
77+
$this->responseHeaders = $responseHeaders;
78+
$this->responseBody = $responseBody;
79+
}
80+
81+
/**
82+
* Gets the HTTP response header
83+
*
84+
* @return string[]|null HTTP response header
85+
*/
86+
public function getResponseHeaders()
87+
{
88+
return $this->responseHeaders;
89+
}
90+
91+
/**
92+
* Gets the HTTP body of the server response either as Json or string
93+
*
94+
* @return \stdClass|string|null HTTP body of the server response either as \stdClass or string
95+
*/
96+
public function getResponseBody()
97+
{
98+
return $this->responseBody;
99+
}
100+
101+
/**
102+
* Sets the deserialized response object (during deserialization)
103+
*
104+
* @param mixed $obj Deserialized response object
105+
*
106+
* @return void
107+
*/
108+
public function setResponseObject($obj)
109+
{
110+
$this->responseObject = $obj;
111+
}
112+
113+
/**
114+
* Gets the deserialized response object (during deserialization)
115+
*
116+
* @return mixed the deserialized response object
117+
*/
118+
public function getResponseObject()
119+
{
120+
return $this->responseObject;
121+
}
122+
}

0 commit comments

Comments
 (0)