diff --git a/.openapi-generator/VERSION b/.openapi-generator/VERSION index 2540a3a..a29ba3d 100644 --- a/.openapi-generator/VERSION +++ b/.openapi-generator/VERSION @@ -1 +1 @@ -7.20.0 +7.21.0 diff --git a/src/Api/PublicApi.php b/src/Api/PublicApi.php index 36144f5..7c8d69f 100644 --- a/src/Api/PublicApi.php +++ b/src/Api/PublicApi.php @@ -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 */ /** diff --git a/src/ApiException.php b/src/ApiException.php index 7d0199a..a4c633f 100644 --- a/src/ApiException.php +++ b/src/ApiException.php @@ -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 */ /** diff --git a/src/Configuration.php b/src/Configuration.php index 780a20f..8eca917 100644 --- a/src/Configuration.php +++ b/src/Configuration.php @@ -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 */ /** diff --git a/src/FormDataProcessor.php b/src/FormDataProcessor.php index 49e8221..34403c6 100644 --- a/src/FormDataProcessor.php +++ b/src/FormDataProcessor.php @@ -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 */ /** diff --git a/src/HeaderSelector.php b/src/HeaderSelector.php index 58d537d..3f53ef0 100644 --- a/src/HeaderSelector.php +++ b/src/HeaderSelector.php @@ -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 */ /** diff --git a/src/Model/CheckVatRequest.php b/src/Model/CheckVatRequest.php index 449697c..fa3306f 100644 --- a/src/Model/CheckVatRequest.php +++ b/src/Model/CheckVatRequest.php @@ -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 */ /** @@ -111,9 +111,7 @@ class CheckVatRequest implements ModelInterface, ArrayAccess, JsonSerializable protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -121,9 +119,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -161,10 +157,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -172,10 +165,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -235,10 +225,7 @@ 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 + * {@inheritdoc} */ public static function attributeMap(): array { @@ -246,9 +233,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -256,9 +241,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -266,9 +249,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -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 { @@ -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 { diff --git a/src/Model/CheckVatResponse.php b/src/Model/CheckVatResponse.php index 3648cf8..f4d7805 100644 --- a/src/Model/CheckVatResponse.php +++ b/src/Model/CheckVatResponse.php @@ -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 */ /** @@ -135,9 +135,7 @@ class CheckVatResponse implements ModelInterface, ArrayAccess, JsonSerializable protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -145,9 +143,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -185,10 +181,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -196,10 +189,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -283,10 +273,7 @@ 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 + * {@inheritdoc} */ public static function attributeMap(): array { @@ -294,9 +281,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -304,9 +289,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -314,9 +297,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -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 { @@ -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 { diff --git a/src/Model/CommonResponse.php b/src/Model/CommonResponse.php index 1d4c965..55f8e5e 100644 --- a/src/Model/CommonResponse.php +++ b/src/Model/CommonResponse.php @@ -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 */ /** @@ -90,9 +90,7 @@ class CommonResponse implements ModelInterface, ArrayAccess, JsonSerializable protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -100,9 +98,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -140,10 +136,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -151,10 +144,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -193,10 +183,7 @@ 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 + * {@inheritdoc} */ public static function attributeMap(): array { @@ -204,9 +191,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -214,9 +199,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -224,9 +207,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -271,9 +252,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 { @@ -283,10 +262,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 { diff --git a/src/Model/CountryStatus.php b/src/Model/CountryStatus.php index 059fa2a..f968a97 100644 --- a/src/Model/CountryStatus.php +++ b/src/Model/CountryStatus.php @@ -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 */ /** @@ -90,9 +90,7 @@ class CountryStatus implements ModelInterface, ArrayAccess, JsonSerializable protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -100,9 +98,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -140,10 +136,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -151,10 +144,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -193,10 +183,7 @@ 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 + * {@inheritdoc} */ public static function attributeMap(): array { @@ -204,9 +191,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -214,9 +199,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -224,9 +207,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -288,9 +269,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 { @@ -309,10 +288,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 { diff --git a/src/Model/ErrorWrapper.php b/src/Model/ErrorWrapper.php index 28b17ea..baff43a 100644 --- a/src/Model/ErrorWrapper.php +++ b/src/Model/ErrorWrapper.php @@ -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 */ /** @@ -91,9 +91,7 @@ class ErrorWrapper implements ModelInterface, ArrayAccess, JsonSerializable protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -101,9 +99,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -141,10 +137,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -152,10 +145,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -194,10 +184,7 @@ 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 + * {@inheritdoc} */ public static function attributeMap(): array { @@ -205,9 +192,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -215,9 +200,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -225,9 +208,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -272,9 +253,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 { @@ -284,10 +263,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 { diff --git a/src/Model/ModelInterface.php b/src/Model/ModelInterface.php index f3dc4b3..c4ae3ad 100644 --- a/src/Model/ModelInterface.php +++ b/src/Model/ModelInterface.php @@ -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 */ /** @@ -45,42 +45,43 @@ public function getModelName(): string; /** * Array of property to type mappings. Used for (de)serialization * - * @return array + * @return array */ public static function openAPITypes(): array; /** * Array of property to format mappings. Used for (de)serialization * - * @return array + * @return array */ public static function openAPIFormats(): array; /** - * Array of attributes where the key is the local name, and the value is the original name + * Array of attributes where the key is the local name, + * and the value is the original name * - * @return array + * @return array */ public static function attributeMap(): array; /** * Array of attributes to setter functions (for deserialization of responses) * - * @return array + * @return array */ public static function setters(): array; /** * Array of attributes to getter functions (for serialization of requests) * - * @return array + * @return array */ public static function getters(): array; /** * Show all the invalid properties with reasons. * - * @return array + * @return string[] invalid properties with reasons */ public function listInvalidProperties(): array; @@ -88,7 +89,7 @@ public function listInvalidProperties(): array; * Validate all the properties in the model * return true if all passed * - * @return bool + * @return bool True if all properties are valid */ public function valid(): bool; diff --git a/src/Model/Status.php b/src/Model/Status.php index d228906..3f78be2 100644 --- a/src/Model/Status.php +++ b/src/Model/Status.php @@ -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 */ /** diff --git a/src/Model/StatusInformationResponse.php b/src/Model/StatusInformationResponse.php index 76138c6..2d20578 100644 --- a/src/Model/StatusInformationResponse.php +++ b/src/Model/StatusInformationResponse.php @@ -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 */ /** @@ -90,9 +90,7 @@ class StatusInformationResponse implements ModelInterface, ArrayAccess, JsonSeri protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -100,9 +98,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -140,10 +136,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -151,10 +144,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -193,10 +183,7 @@ 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 + * {@inheritdoc} */ public static function attributeMap(): array { @@ -204,9 +191,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -214,9 +199,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -224,9 +207,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -271,9 +252,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 { @@ -283,10 +262,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 { diff --git a/src/Model/StatusInformationResponseVow.php b/src/Model/StatusInformationResponseVow.php index d258233..d98c0a7 100644 --- a/src/Model/StatusInformationResponseVow.php +++ b/src/Model/StatusInformationResponseVow.php @@ -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 */ /** @@ -87,9 +87,7 @@ class StatusInformationResponseVow implements ModelInterface, ArrayAccess, JsonS protected array $openAPINullablesSetToNull = []; /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPITypes(): array { @@ -97,9 +95,7 @@ public static function openAPITypes(): array } /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array + * {@inheritdoc} */ public static function openAPIFormats(): array { @@ -137,10 +133,7 @@ private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): } /** - * Checks if a property is nullable - * - * @param string $property - * @return bool + * {@inheritdoc} */ public static function isNullable(string $property): bool { @@ -148,10 +141,7 @@ public static function isNullable(string $property): bool } /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool + * {@inheritdoc} */ public function isNullableSetToNull(string $property): bool { @@ -187,10 +177,7 @@ 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 + * {@inheritdoc} */ public static function attributeMap(): array { @@ -198,9 +185,7 @@ public static function attributeMap(): array } /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array + * {@inheritdoc} */ public static function setters(): array { @@ -208,9 +193,7 @@ public static function setters(): array } /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array + * {@inheritdoc} */ public static function getters(): array { @@ -218,9 +201,7 @@ public static function getters(): array } /** - * The original name of the model. - * - * @return string + * {@inheritdoc} */ public function getModelName(): string { @@ -264,9 +245,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 { @@ -276,10 +255,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 { diff --git a/src/ObjectSerializer.php b/src/ObjectSerializer.php index 1f61e69..a6ebc81 100644 --- a/src/ObjectSerializer.php +++ b/src/ObjectSerializer.php @@ -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 */ /** @@ -120,7 +120,7 @@ public static function sanitizeForSerialization(mixed $data, ?string $type = nul $values[$property] = self::sanitizeForSerialization($value); } } - return (object)$values; + return (object) $values; } else { return (string)$data; } @@ -241,7 +241,7 @@ public static function toQueryValue( } // Handle DateTime objects in query - if ($openApiType === "\DateTime" && $value instanceof DateTime) { + if ($openApiType === "\\DateTime" && $value instanceof DateTime) { return ["{$paramName}" => $value->format(self::$dateTimeFormat)]; } @@ -501,7 +501,7 @@ public static function deserialize(mixed $data, string $class, ?array $httpHeade $data = is_string($data) ? json_decode($data) : $data; if (is_array($data)) { - $data = (object)$data; + $data = (object) $data; } // If a discriminator is defined and points to a valid subclass, use it.