Skip to content
Open
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
2 changes: 1 addition & 1 deletion .openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.20.0
7.21.0
2 changes: 1 addition & 1 deletion src/Api/PublicApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*
* The version of the OpenAPI document: 1.0.0
* @generated Generated by: https://openapi-generator.tech
* Generator version: 7.20.0
* Generator version: 7.21.0
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion src/ApiException.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*
* The version of the OpenAPI document: 1.0.0
* @generated Generated by: https://openapi-generator.tech
* Generator version: 7.20.0
* Generator version: 7.21.0
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*
* The version of the OpenAPI document: 1.0.0
* @generated Generated by: https://openapi-generator.tech
* Generator version: 7.20.0
* Generator version: 7.21.0
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion src/FormDataProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*
* The version of the OpenAPI document: 1.0.0
* @generated Generated by: https://openapi-generator.tech
* Generator version: 7.20.0
* Generator version: 7.21.0
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion src/HeaderSelector.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*
* The version of the OpenAPI document: 1.0.0
* @generated Generated by: https://openapi-generator.tech
* Generator version: 7.20.0
* Generator version: 7.21.0
*/

/**
Expand Down
46 changes: 11 additions & 35 deletions src/Model/CheckVatRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*
* The version of the OpenAPI document: 1.0.0
* @generated Generated by: https://openapi-generator.tech
* Generator version: 7.20.0
* Generator version: 7.21.0
*/

/**
Expand Down Expand Up @@ -111,19 +111,15 @@ class CheckVatRequest implements ModelInterface, ArrayAccess, JsonSerializable
protected array $openAPINullablesSetToNull = [];

/**
* Array of property to type mappings. Used for (de)serialization
*
* @return array<string, string>
* {@inheritdoc}
*/
public static function openAPITypes(): array
{
return self::$openAPITypes;
}

/**
* Array of property to format mappings. Used for (de)serialization
*
* @return array<string, string>
* {@inheritdoc}
*/
public static function openAPIFormats(): array
{
Expand Down Expand Up @@ -161,21 +157,15 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull):
}

/**
* Checks if a property is nullable
*
* @param string $property
* @return bool
* {@inheritdoc}
*/
public static function isNullable(string $property): bool
{
return self::openAPINullables()[$property] ?? false;
}

/**
* Checks if a nullable property is set to null.
*
* @param string $property
* @return bool
* {@inheritdoc}
*/
public function isNullableSetToNull(string $property): bool
{
Expand Down Expand Up @@ -235,40 +225,31 @@ public function isNullableSetToNull(string $property): bool
];

/**
* Array of attributes where the key is the local name,
* and the value is the original name
*
* @return array<string, string>
* {@inheritdoc}
*/
public static function attributeMap(): array
{
return self::$attributeMap;
}

/**
* Array of attributes to setter functions (for deserialization of responses)
*
* @return array<string, string>
* {@inheritdoc}
*/
public static function setters(): array
{
return self::$setters;
}

/**
* Array of attributes to getter functions (for serialization of requests)
*
* @return array<string, string>
* {@inheritdoc}
*/
public static function getters(): array
{
return self::$getters;
}

/**
* The original name of the model.
*
* @return string
* {@inheritdoc}
*/
public function getModelName(): string
{
Expand Down Expand Up @@ -320,9 +301,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default
}

/**
* Show all the invalid properties with reasons.
*
* @return string[] invalid properties with reasons
* {@inheritdoc}
*/
public function listInvalidProperties(): array
{
Expand All @@ -332,10 +311,7 @@ public function listInvalidProperties(): array
}

/**
* Validate all the properties in the model
* return true if all passed
*
* @return bool True if all properties are valid
* {@inheritdoc}
*/
public function valid(): bool
{
Expand Down
46 changes: 11 additions & 35 deletions src/Model/CheckVatResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*
* The version of the OpenAPI document: 1.0.0
* @generated Generated by: https://openapi-generator.tech
* Generator version: 7.20.0
* Generator version: 7.21.0
*/

/**
Expand Down Expand Up @@ -135,19 +135,15 @@ class CheckVatResponse implements ModelInterface, ArrayAccess, JsonSerializable
protected array $openAPINullablesSetToNull = [];

/**
* Array of property to type mappings. Used for (de)serialization
*
* @return array<string, string>
* {@inheritdoc}
*/
public static function openAPITypes(): array
{
return self::$openAPITypes;
}

/**
* Array of property to format mappings. Used for (de)serialization
*
* @return array<string, string>
* {@inheritdoc}
*/
public static function openAPIFormats(): array
{
Expand Down Expand Up @@ -185,21 +181,15 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull):
}

/**
* Checks if a property is nullable
*
* @param string $property
* @return bool
* {@inheritdoc}
*/
public static function isNullable(string $property): bool
{
return self::openAPINullables()[$property] ?? false;
}

/**
* Checks if a nullable property is set to null.
*
* @param string $property
* @return bool
* {@inheritdoc}
*/
public function isNullableSetToNull(string $property): bool
{
Expand Down Expand Up @@ -283,40 +273,31 @@ public function isNullableSetToNull(string $property): bool
];

/**
* Array of attributes where the key is the local name,
* and the value is the original name
*
* @return array<string, string>
* {@inheritdoc}
*/
public static function attributeMap(): array
{
return self::$attributeMap;
}

/**
* Array of attributes to setter functions (for deserialization of responses)
*
* @return array<string, string>
* {@inheritdoc}
*/
public static function setters(): array
{
return self::$setters;
}

/**
* Array of attributes to getter functions (for serialization of requests)
*
* @return array<string, string>
* {@inheritdoc}
*/
public static function getters(): array
{
return self::$getters;
}

/**
* The original name of the model.
*
* @return string
* {@inheritdoc}
*/
public function getModelName(): string
{
Expand Down Expand Up @@ -376,9 +357,7 @@ private function setIfExists(string $variableName, array $fields, mixed $default
}

/**
* Show all the invalid properties with reasons.
*
* @return string[] invalid properties with reasons
* {@inheritdoc}
*/
public function listInvalidProperties(): array
{
Expand All @@ -388,10 +367,7 @@ public function listInvalidProperties(): array
}

/**
* Validate all the properties in the model
* return true if all passed
*
* @return bool True if all properties are valid
* {@inheritdoc}
*/
public function valid(): bool
{
Expand Down
Loading