Skip to content

Commit 85bb491

Browse files
authored
Merge pull request #30 from openprovider/v1beta
Merge v1beta into master
2 parents 2940772 + 05d95f5 commit 85bb491

414 files changed

Lines changed: 9210 additions & 754 deletions

File tree

Some content is hidden

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

src/Auth/Api/AuthApi.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* The version of the OpenAPI document: 1.0.0-beta
1818
*
1919
* Generated by: https://openapi-generator.tech
20-
* OpenAPI Generator version: 4.0.3
20+
* OpenAPI Generator version: 7.2.0
2121
*/
2222

2323
/**
@@ -123,7 +123,7 @@ public function getConfig()
123123
*
124124
* @param \Openprovider\Api\Rest\Client\Auth\Model\AuthLoginRequest $body body (required)
125125
*
126-
* @throws \Openprovider\Api\Rest\Client\Base\ApiException; on non-2xx response
126+
* @throws \Openprovider\Api\Rest\Client\Auth\ApiException on non-2xx response or if the response body is not in the expected format
127127
* @throws \InvalidArgumentException
128128
* @return \Openprovider\Api\Rest\Client\Auth\Model\AuthLoginResponse|\Openprovider\Api\Rest\Client\Auth\Model\ErrorError
129129
*/

src/Auth/Api/SpamExpertApi.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* The version of the OpenAPI document: 1.0.0-beta
1818
*
1919
* Generated by: https://openapi-generator.tech
20-
* OpenAPI Generator version: 4.0.3
20+
* OpenAPI Generator version: 7.2.0
2121
*/
2222

2323
/**
@@ -123,7 +123,7 @@ public function getConfig()
123123
*
124124
* @param \Openprovider\Api\Rest\Client\Auth\Model\SpamExpertGenerateLoginURLRequest $body body (required)
125125
*
126-
* @throws \Openprovider\Api\Rest\Client\Base\ApiException; on non-2xx response
126+
* @throws \Openprovider\Api\Rest\Client\Auth\ApiException on non-2xx response or if the response body is not in the expected format
127127
* @throws \InvalidArgumentException
128128
* @return \Openprovider\Api\Rest\Client\Auth\Model\SpamExpertGenerateLoginURLResponse|\Openprovider\Api\Rest\Client\Auth\Model\ErrorError
129129
*/

src/Auth/Model/AuthLoginRequest.php

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* The version of the OpenAPI document: 1.0.0-beta
1919
*
2020
* Generated by: https://openapi-generator.tech
21-
* OpenAPI Generator version: 4.0.3
21+
* OpenAPI Generator version: 7.2.0
2222
*/
2323

2424
/**
@@ -134,6 +134,7 @@ public static function openAPIFormats()
134134
*
135135
* @return array
136136
*/
137+
#[\ReturnTypeWillChange]
137138
public static function attributeMap()
138139
{
139140
return self::$attributeMap;
@@ -144,6 +145,7 @@ public static function attributeMap()
144145
*
145146
* @return array
146147
*/
148+
#[\ReturnTypeWillChange]
147149
public static function setters()
148150
{
149151
return self::$setters;
@@ -154,6 +156,7 @@ public static function setters()
154156
*
155157
* @return array
156158
*/
159+
#[\ReturnTypeWillChange]
157160
public static function getters()
158161
{
159162
return self::$getters;
@@ -164,6 +167,7 @@ public static function getters()
164167
*
165168
* @return string
166169
*/
170+
#[\ReturnTypeWillChange]
167171
public function getModelName()
168172
{
169173
return self::$openAPIModelName;
@@ -198,6 +202,7 @@ public function __construct(array $data = null)
198202
*
199203
* @return array invalid properties with reasons
200204
*/
205+
#[\ReturnTypeWillChange]
201206
public function listInvalidProperties()
202207
{
203208
$invalidProperties = [];
@@ -211,6 +216,7 @@ public function listInvalidProperties()
211216
*
212217
* @return bool True if all properties are valid
213218
*/
219+
#[\ReturnTypeWillChange]
214220
public function valid()
215221
{
216222
return count($this->listInvalidProperties()) === 0;
@@ -222,6 +228,7 @@ public function valid()
222228
*
223229
* @return string|null
224230
*/
231+
#[\ReturnTypeWillChange]
225232
public function getIp()
226233
{
227234
return $this->container['ip'];
@@ -234,6 +241,7 @@ public function getIp()
234241
*
235242
* @return $this
236243
*/
244+
#[\ReturnTypeWillChange]
237245
public function setIp($ip)
238246
{
239247
$this->container['ip'] = $ip;
@@ -246,6 +254,7 @@ public function setIp($ip)
246254
*
247255
* @return string|null
248256
*/
257+
#[\ReturnTypeWillChange]
249258
public function getPassword()
250259
{
251260
return $this->container['password'];
@@ -258,6 +267,7 @@ public function getPassword()
258267
*
259268
* @return $this
260269
*/
270+
#[\ReturnTypeWillChange]
261271
public function setPassword($password)
262272
{
263273
$this->container['password'] = $password;
@@ -270,6 +280,7 @@ public function setPassword($password)
270280
*
271281
* @return string|null
272282
*/
283+
#[\ReturnTypeWillChange]
273284
public function getUsername()
274285
{
275286
return $this->container['username'];
@@ -282,6 +293,7 @@ public function getUsername()
282293
*
283294
* @return $this
284295
*/
296+
#[\ReturnTypeWillChange]
285297
public function setUsername($username)
286298
{
287299
$this->container['username'] = $username;
@@ -295,6 +307,7 @@ public function setUsername($username)
295307
*
296308
* @return boolean
297309
*/
310+
#[\ReturnTypeWillChange]
298311
public function offsetExists($offset)
299312
{
300313
return isset($this->container[$offset]);
@@ -307,6 +320,7 @@ public function offsetExists($offset)
307320
*
308321
* @return mixed
309322
*/
323+
#[\ReturnTypeWillChange]
310324
public function offsetGet($offset)
311325
{
312326
return isset($this->container[$offset]) ? $this->container[$offset] : null;
@@ -320,6 +334,7 @@ public function offsetGet($offset)
320334
*
321335
* @return void
322336
*/
337+
#[\ReturnTypeWillChange]
323338
public function offsetSet($offset, $value)
324339
{
325340
if (is_null($offset)) {
@@ -336,6 +351,7 @@ public function offsetSet($offset, $value)
336351
*
337352
* @return void
338353
*/
354+
#[\ReturnTypeWillChange]
339355
public function offsetUnset($offset)
340356
{
341357
unset($this->container[$offset]);
@@ -346,6 +362,7 @@ public function offsetUnset($offset)
346362
*
347363
* @return string
348364
*/
365+
#[\ReturnTypeWillChange]
349366
public function __toString()
350367
{
351368
return json_encode(

src/Auth/Model/AuthLoginResponse.php

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* The version of the OpenAPI document: 1.0.0-beta
1919
*
2020
* Generated by: https://openapi-generator.tech
21-
* OpenAPI Generator version: 4.0.3
21+
* OpenAPI Generator version: 7.2.0
2222
*/
2323

2424
/**
@@ -144,6 +144,7 @@ public static function openAPIFormats()
144144
*
145145
* @return array
146146
*/
147+
#[\ReturnTypeWillChange]
147148
public static function attributeMap()
148149
{
149150
return self::$attributeMap;
@@ -154,6 +155,7 @@ public static function attributeMap()
154155
*
155156
* @return array
156157
*/
158+
#[\ReturnTypeWillChange]
157159
public static function setters()
158160
{
159161
return self::$setters;
@@ -164,6 +166,7 @@ public static function setters()
164166
*
165167
* @return array
166168
*/
169+
#[\ReturnTypeWillChange]
167170
public static function getters()
168171
{
169172
return self::$getters;
@@ -174,6 +177,7 @@ public static function getters()
174177
*
175178
* @return string
176179
*/
180+
#[\ReturnTypeWillChange]
177181
public function getModelName()
178182
{
179183
return self::$openAPIModelName;
@@ -210,6 +214,7 @@ public function __construct(array $data = null)
210214
*
211215
* @return array invalid properties with reasons
212216
*/
217+
#[\ReturnTypeWillChange]
213218
public function listInvalidProperties()
214219
{
215220
$invalidProperties = [];
@@ -223,6 +228,7 @@ public function listInvalidProperties()
223228
*
224229
* @return bool True if all properties are valid
225230
*/
231+
#[\ReturnTypeWillChange]
226232
public function valid()
227233
{
228234
return count($this->listInvalidProperties()) === 0;
@@ -234,6 +240,7 @@ public function valid()
234240
*
235241
* @return int|null
236242
*/
243+
#[\ReturnTypeWillChange]
237244
public function getCode()
238245
{
239246
return $this->container['code'];
@@ -246,6 +253,7 @@ public function getCode()
246253
*
247254
* @return $this
248255
*/
256+
#[\ReturnTypeWillChange]
249257
public function setCode($code)
250258
{
251259
$this->container['code'] = $code;
@@ -258,6 +266,7 @@ public function setCode($code)
258266
*
259267
* @return \Openprovider\Api\Rest\Client\Auth\Model\AuthLoginResponseData|null
260268
*/
269+
#[\ReturnTypeWillChange]
261270
public function getData()
262271
{
263272
return $this->container['data'];
@@ -270,6 +279,7 @@ public function getData()
270279
*
271280
* @return $this
272281
*/
282+
#[\ReturnTypeWillChange]
273283
public function setData($data)
274284
{
275285
$this->container['data'] = $data;
@@ -282,6 +292,7 @@ public function setData($data)
282292
*
283293
* @return string|null
284294
*/
295+
#[\ReturnTypeWillChange]
285296
public function getDesc()
286297
{
287298
return $this->container['desc'];
@@ -294,6 +305,7 @@ public function getDesc()
294305
*
295306
* @return $this
296307
*/
308+
#[\ReturnTypeWillChange]
297309
public function setDesc($desc)
298310
{
299311
$this->container['desc'] = $desc;
@@ -306,6 +318,7 @@ public function setDesc($desc)
306318
*
307319
* @return bool|null
308320
*/
321+
#[\ReturnTypeWillChange]
309322
public function getMaintenance()
310323
{
311324
return $this->container['maintenance'];
@@ -318,6 +331,7 @@ public function getMaintenance()
318331
*
319332
* @return $this
320333
*/
334+
#[\ReturnTypeWillChange]
321335
public function setMaintenance($maintenance)
322336
{
323337
$this->container['maintenance'] = $maintenance;
@@ -330,6 +344,7 @@ public function setMaintenance($maintenance)
330344
*
331345
* @return \Openprovider\Api\Rest\Client\Auth\Model\ErrorWarning[]|null
332346
*/
347+
#[\ReturnTypeWillChange]
333348
public function getWarnings()
334349
{
335350
return $this->container['warnings'];
@@ -342,6 +357,7 @@ public function getWarnings()
342357
*
343358
* @return $this
344359
*/
360+
#[\ReturnTypeWillChange]
345361
public function setWarnings($warnings)
346362
{
347363
$this->container['warnings'] = $warnings;
@@ -355,6 +371,7 @@ public function setWarnings($warnings)
355371
*
356372
* @return boolean
357373
*/
374+
#[\ReturnTypeWillChange]
358375
public function offsetExists($offset)
359376
{
360377
return isset($this->container[$offset]);
@@ -367,6 +384,7 @@ public function offsetExists($offset)
367384
*
368385
* @return mixed
369386
*/
387+
#[\ReturnTypeWillChange]
370388
public function offsetGet($offset)
371389
{
372390
return isset($this->container[$offset]) ? $this->container[$offset] : null;
@@ -380,6 +398,7 @@ public function offsetGet($offset)
380398
*
381399
* @return void
382400
*/
401+
#[\ReturnTypeWillChange]
383402
public function offsetSet($offset, $value)
384403
{
385404
if (is_null($offset)) {
@@ -396,6 +415,7 @@ public function offsetSet($offset, $value)
396415
*
397416
* @return void
398417
*/
418+
#[\ReturnTypeWillChange]
399419
public function offsetUnset($offset)
400420
{
401421
unset($this->container[$offset]);
@@ -406,6 +426,7 @@ public function offsetUnset($offset)
406426
*
407427
* @return string
408428
*/
429+
#[\ReturnTypeWillChange]
409430
public function __toString()
410431
{
411432
return json_encode(

0 commit comments

Comments
 (0)