Skip to content

Commit be52b15

Browse files
Merge pull request #10 from INDA-HR/manuel-sdk-fix
Revert "fix(Filters): fix missing filters classes"
2 parents f34df2e + f692934 commit be52b15

File tree

6 files changed

+37
-1847
lines changed

6 files changed

+37
-1847
lines changed

lib/Model/FilterField.php

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -46,52 +46,52 @@ class FilterField implements ModelInterface, ArrayAccess, \JsonSerializable
4646
public const DISCRIMINATOR = null;
4747

4848
/**
49-
* The original name of the model.
50-
*
51-
* @var string
52-
*/
49+
* The original name of the model.
50+
*
51+
* @var string
52+
*/
5353
protected static $openAPIModelName = 'FilterField';
5454

5555
/**
56-
* Array of property to type mappings. Used for (de)serialization
57-
*
58-
* @var string[]
59-
*/
56+
* Array of property to type mappings. Used for (de)serialization
57+
*
58+
* @var string[]
59+
*/
6060
protected static $openAPITypes = [
6161
'field' => 'string',
6262
'type' => 'string',
63-
'value' => '\OpenAPI\Client\Model\FilterFieldInterface'
63+
'value' => 'object'
6464
];
6565

6666
/**
67-
* Array of property to format mappings. Used for (de)serialization
68-
*
69-
* @var string[]
70-
* @phpstan-var array<string, string|null>
71-
* @psalm-var array<string, string|null>
72-
*/
67+
* Array of property to format mappings. Used for (de)serialization
68+
*
69+
* @var string[]
70+
* @phpstan-var array<string, string|null>
71+
* @psalm-var array<string, string|null>
72+
*/
7373
protected static $openAPIFormats = [
7474
'field' => null,
7575
'type' => null,
7676
'value' => null
7777
];
7878

7979
/**
80-
* Array of nullable properties. Used for (de)serialization
81-
*
82-
* @var boolean[]
83-
*/
80+
* Array of nullable properties. Used for (de)serialization
81+
*
82+
* @var boolean[]
83+
*/
8484
protected static array $openAPINullables = [
8585
'field' => false,
86-
'type' => false,
87-
'value' => false
86+
'type' => false,
87+
'value' => false
8888
];
8989

9090
/**
91-
* If a nullable field gets set to null, insert it here
92-
*
93-
* @var boolean[]
94-
*/
91+
* If a nullable field gets set to null, insert it here
92+
*
93+
* @var boolean[]
94+
*/
9595
protected array $openAPINullablesSetToNull = [];
9696

9797
/**
@@ -263,14 +263,14 @@ public function __construct(array $data = null)
263263
}
264264

265265
/**
266-
* Sets $this->container[$variableName] to the given data or to the given default Value; if $variableName
267-
* is nullable and its value is set to null in the $fields array, then mark it as "set to null" in the
268-
* $this->openAPINullablesSetToNull array
269-
*
270-
* @param string $variableName
271-
* @param array $fields
272-
* @param mixed $defaultValue
273-
*/
266+
* Sets $this->container[$variableName] to the given data or to the given default Value; if $variableName
267+
* is nullable and its value is set to null in the $fields array, then mark it as "set to null" in the
268+
* $this->openAPINullablesSetToNull array
269+
*
270+
* @param string $variableName
271+
* @param array $fields
272+
* @param mixed $defaultValue
273+
*/
274274
private function setIfExists(string $variableName, array $fields, $defaultValue): void
275275
{
276276
if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) {
@@ -370,17 +370,17 @@ public function setType($type)
370370
/**
371371
* Gets value
372372
*
373-
* @return FilterFieldInterface
373+
* @return object
374374
*/
375-
public function getValue(): FilterFieldInterface
375+
public function getValue()
376376
{
377377
return $this->container['value'];
378378
}
379379

380380
/**
381381
* Sets value
382382
*
383-
* @param FilterFieldInterface $value value
383+
* @param object $value value
384384
*
385385
* @return self
386386
*/
@@ -457,7 +457,7 @@ public function offsetUnset($offset): void
457457
#[\ReturnTypeWillChange]
458458
public function jsonSerialize()
459459
{
460-
return ObjectSerializer::sanitizeForSerialization($this);
460+
return ObjectSerializer::sanitizeForSerialization($this);
461461
}
462462

463463
/**

0 commit comments

Comments
 (0)