Skip to content

Commit 66204a0

Browse files
author
manuel.flamminio
committed
feat(Customizations): add customized fields for JobAds
1 parent 9fdf604 commit 66204a0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

lib/Model/JobAdRequest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
* @link https://openapi-generator.tech
4242
* @implements \ArrayAccess<string, mixed>
4343
*/
44-
class JobAdRequest implements ModelInterface, ArrayAccess, \JsonSerializable
44+
class JobAdRequest extends CustomizableModelAbstract implements ModelInterface, ArrayAccess, \JsonSerializable
4545
{
4646
public const DISCRIMINATOR = null;
4747

@@ -253,6 +253,7 @@ public function __construct(array $data = null)
253253
{
254254
$this->setIfExists('data', $data ?? [], null);
255255
$this->setIfExists('metadata', $data ?? [], null);
256+
parent::__construct([]);
256257
}
257258

258259
/**

lib/Model/PatchJobAdRequest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
* @link https://openapi-generator.tech
4242
* @implements \ArrayAccess<string, mixed>
4343
*/
44-
class PatchJobAdRequest implements ModelInterface, ArrayAccess, \JsonSerializable
44+
class PatchJobAdRequest extends CustomizableModelAbstract implements ModelInterface, ArrayAccess, \JsonSerializable
4545
{
4646
public const DISCRIMINATOR = null;
4747

@@ -253,6 +253,7 @@ public function __construct(array $data = null)
253253
{
254254
$this->setIfExists('data', $data ?? [], null);
255255
$this->setIfExists('metadata', $data ?? [], null);
256+
parent::__construct([]);
256257
}
257258

258259
/**

0 commit comments

Comments
 (0)