From 477f6bfbd50563e29dd25e99fd4db0523ce784a3 Mon Sep 17 00:00:00 2001 From: Antoine Giasson Date: Tue, 3 Aug 2021 18:53:50 -0400 Subject: [PATCH] fix constant in constructor of model --- lib/Model/GatewaysAccessesEquisoftAnalyzeAccess.php | 2 +- lib/Model/GatewaysAccessesEquisoftAnalyzeAccessAllOf.php | 2 +- lib/Model/MovementClientBaseUsingDistributionListMovement.php | 2 +- .../MovementClientBaseUsingDistributionListMovementAllOf.php | 2 +- .../MovementClientBaseUsingDistributionListMovementPayload.php | 2 +- ...ementClientBaseUsingDistributionListMovementPayloadAllOf.php | 2 +- lib/Model/MovementClientBaseUsingFileMovement.php | 2 +- lib/Model/MovementClientBaseUsingFileMovementAllOf.php | 2 +- lib/Model/MovementClientBaseUsingFileMovementPayload.php | 2 +- lib/Model/MovementClientBaseUsingFileMovementPayloadAllOf.php | 2 +- lib/Model/MovementCopyMovement.php | 2 +- lib/Model/MovementCopyMovementAllOf.php | 2 +- lib/Model/MovementCopyMovementPayload.php | 2 +- lib/Model/MovementCopyMovementPayloadAllOf.php | 2 +- lib/Model/MovementMoveMovement.php | 2 +- lib/Model/MovementMoveMovementAllOf.php | 2 +- lib/Model/MovementMoveMovementPayload.php | 2 +- lib/Model/MovementMoveMovementPayloadAllOf.php | 2 +- lib/Model/MovementReassignmentMovement.php | 2 +- lib/Model/MovementReassignmentMovementAllOf.php | 2 +- lib/Model/MovementReassignmentMovementPayload.php | 2 +- lib/Model/MovementReassignmentMovementPayloadAllOf.php | 2 +- 22 files changed, 22 insertions(+), 22 deletions(-) diff --git a/lib/Model/GatewaysAccessesEquisoftAnalyzeAccess.php b/lib/Model/GatewaysAccessesEquisoftAnalyzeAccess.php index b2a25546..8f12b541 100644 --- a/lib/Model/GatewaysAccessesEquisoftAnalyzeAccess.php +++ b/lib/Model/GatewaysAccessesEquisoftAnalyzeAccess.php @@ -193,7 +193,7 @@ public function __construct(array $data = null) parent::__construct($data); $this->container['clientKey'] = $data['clientKey'] ?? null; - $this->container['version'] = $data['version'] ?? VERSION_NATIVE; + $this->container['version'] = $data['version'] ?? self::VERSION_NATIVE; } /** diff --git a/lib/Model/GatewaysAccessesEquisoftAnalyzeAccessAllOf.php b/lib/Model/GatewaysAccessesEquisoftAnalyzeAccessAllOf.php index 1f917ee7..94b1c66f 100644 --- a/lib/Model/GatewaysAccessesEquisoftAnalyzeAccessAllOf.php +++ b/lib/Model/GatewaysAccessesEquisoftAnalyzeAccessAllOf.php @@ -199,7 +199,7 @@ public function getVersionAllowableValues() public function __construct(array $data = null) { $this->container['clientKey'] = $data['clientKey'] ?? null; - $this->container['version'] = $data['version'] ?? VERSION_NATIVE; + $this->container['version'] = $data['version'] ?? self::VERSION_NATIVE; } /** diff --git a/lib/Model/MovementClientBaseUsingDistributionListMovement.php b/lib/Model/MovementClientBaseUsingDistributionListMovement.php index e7d6a085..cebc5288 100644 --- a/lib/Model/MovementClientBaseUsingDistributionListMovement.php +++ b/lib/Model/MovementClientBaseUsingDistributionListMovement.php @@ -220,7 +220,7 @@ public function __construct(array $data = null) { parent::__construct($data); - $this->container['type'] = $data['type'] ?? TYPE_CLIENTBASE_USING_DISTLIST; + $this->container['type'] = $data['type'] ?? self::TYPE_CLIENTBASE_USING_DISTLIST; $this->container['sourceDatabase'] = $data['sourceDatabase'] ?? null; $this->container['sourceUser'] = $data['sourceUser'] ?? null; $this->container['sourceDistributionList'] = $data['sourceDistributionList'] ?? null; diff --git a/lib/Model/MovementClientBaseUsingDistributionListMovementAllOf.php b/lib/Model/MovementClientBaseUsingDistributionListMovementAllOf.php index a41ec9eb..64cf93ee 100644 --- a/lib/Model/MovementClientBaseUsingDistributionListMovementAllOf.php +++ b/lib/Model/MovementClientBaseUsingDistributionListMovementAllOf.php @@ -226,7 +226,7 @@ public function getTypeAllowableValues() */ public function __construct(array $data = null) { - $this->container['type'] = $data['type'] ?? TYPE_CLIENTBASE_USING_DISTLIST; + $this->container['type'] = $data['type'] ?? self::TYPE_CLIENTBASE_USING_DISTLIST; $this->container['sourceDatabase'] = $data['sourceDatabase'] ?? null; $this->container['sourceUser'] = $data['sourceUser'] ?? null; $this->container['sourceDistributionList'] = $data['sourceDistributionList'] ?? null; diff --git a/lib/Model/MovementClientBaseUsingDistributionListMovementPayload.php b/lib/Model/MovementClientBaseUsingDistributionListMovementPayload.php index 2f7c5dca..1bc9d370 100644 --- a/lib/Model/MovementClientBaseUsingDistributionListMovementPayload.php +++ b/lib/Model/MovementClientBaseUsingDistributionListMovementPayload.php @@ -220,7 +220,7 @@ public function __construct(array $data = null) { parent::__construct($data); - $this->container['type'] = $data['type'] ?? TYPE_CLIENTBASE_USING_DISTLIST; + $this->container['type'] = $data['type'] ?? self::TYPE_CLIENTBASE_USING_DISTLIST; $this->container['sourceDatabase'] = $data['sourceDatabase'] ?? null; $this->container['sourceUser'] = $data['sourceUser'] ?? null; $this->container['sourceDistributionList'] = $data['sourceDistributionList'] ?? null; diff --git a/lib/Model/MovementClientBaseUsingDistributionListMovementPayloadAllOf.php b/lib/Model/MovementClientBaseUsingDistributionListMovementPayloadAllOf.php index 22077c7e..56001999 100644 --- a/lib/Model/MovementClientBaseUsingDistributionListMovementPayloadAllOf.php +++ b/lib/Model/MovementClientBaseUsingDistributionListMovementPayloadAllOf.php @@ -226,7 +226,7 @@ public function getTypeAllowableValues() */ public function __construct(array $data = null) { - $this->container['type'] = $data['type'] ?? TYPE_CLIENTBASE_USING_DISTLIST; + $this->container['type'] = $data['type'] ?? self::TYPE_CLIENTBASE_USING_DISTLIST; $this->container['sourceDatabase'] = $data['sourceDatabase'] ?? null; $this->container['sourceUser'] = $data['sourceUser'] ?? null; $this->container['sourceDistributionList'] = $data['sourceDistributionList'] ?? null; diff --git a/lib/Model/MovementClientBaseUsingFileMovement.php b/lib/Model/MovementClientBaseUsingFileMovement.php index 82f3632d..43b7e2eb 100644 --- a/lib/Model/MovementClientBaseUsingFileMovement.php +++ b/lib/Model/MovementClientBaseUsingFileMovement.php @@ -220,7 +220,7 @@ public function __construct(array $data = null) { parent::__construct($data); - $this->container['type'] = $data['type'] ?? TYPE_CLIENTBASE_USING_FILE; + $this->container['type'] = $data['type'] ?? self::TYPE_CLIENTBASE_USING_FILE; $this->container['sourceDatabase'] = $data['sourceDatabase'] ?? null; $this->container['sourceUser'] = $data['sourceUser'] ?? null; $this->container['destinationDatabase'] = $data['destinationDatabase'] ?? null; diff --git a/lib/Model/MovementClientBaseUsingFileMovementAllOf.php b/lib/Model/MovementClientBaseUsingFileMovementAllOf.php index 93576adb..0cbc79ce 100644 --- a/lib/Model/MovementClientBaseUsingFileMovementAllOf.php +++ b/lib/Model/MovementClientBaseUsingFileMovementAllOf.php @@ -226,7 +226,7 @@ public function getTypeAllowableValues() */ public function __construct(array $data = null) { - $this->container['type'] = $data['type'] ?? TYPE_CLIENTBASE_USING_FILE; + $this->container['type'] = $data['type'] ?? self::TYPE_CLIENTBASE_USING_FILE; $this->container['sourceDatabase'] = $data['sourceDatabase'] ?? null; $this->container['sourceUser'] = $data['sourceUser'] ?? null; $this->container['destinationDatabase'] = $data['destinationDatabase'] ?? null; diff --git a/lib/Model/MovementClientBaseUsingFileMovementPayload.php b/lib/Model/MovementClientBaseUsingFileMovementPayload.php index 9ee995d8..71d87a76 100644 --- a/lib/Model/MovementClientBaseUsingFileMovementPayload.php +++ b/lib/Model/MovementClientBaseUsingFileMovementPayload.php @@ -220,7 +220,7 @@ public function __construct(array $data = null) { parent::__construct($data); - $this->container['type'] = $data['type'] ?? TYPE_CLIENTBASE_USING_FILE; + $this->container['type'] = $data['type'] ?? self::TYPE_CLIENTBASE_USING_FILE; $this->container['sourceDatabase'] = $data['sourceDatabase'] ?? null; $this->container['sourceUser'] = $data['sourceUser'] ?? null; $this->container['destinationDatabase'] = $data['destinationDatabase'] ?? null; diff --git a/lib/Model/MovementClientBaseUsingFileMovementPayloadAllOf.php b/lib/Model/MovementClientBaseUsingFileMovementPayloadAllOf.php index 0501315f..fecd5b42 100644 --- a/lib/Model/MovementClientBaseUsingFileMovementPayloadAllOf.php +++ b/lib/Model/MovementClientBaseUsingFileMovementPayloadAllOf.php @@ -226,7 +226,7 @@ public function getTypeAllowableValues() */ public function __construct(array $data = null) { - $this->container['type'] = $data['type'] ?? TYPE_CLIENTBASE_USING_FILE; + $this->container['type'] = $data['type'] ?? self::TYPE_CLIENTBASE_USING_FILE; $this->container['sourceDatabase'] = $data['sourceDatabase'] ?? null; $this->container['sourceUser'] = $data['sourceUser'] ?? null; $this->container['destinationDatabase'] = $data['destinationDatabase'] ?? null; diff --git a/lib/Model/MovementCopyMovement.php b/lib/Model/MovementCopyMovement.php index f160586c..cd9e60e2 100644 --- a/lib/Model/MovementCopyMovement.php +++ b/lib/Model/MovementCopyMovement.php @@ -200,7 +200,7 @@ public function __construct(array $data = null) { parent::__construct($data); - $this->container['type'] = $data['type'] ?? TYPE_COPY; + $this->container['type'] = $data['type'] ?? self::TYPE_COPY; $this->container['sourceDatabase'] = $data['sourceDatabase'] ?? null; $this->container['destinationDatabase'] = $data['destinationDatabase'] ?? null; $this->container['userTuples'] = $data['userTuples'] ?? null; diff --git a/lib/Model/MovementCopyMovementAllOf.php b/lib/Model/MovementCopyMovementAllOf.php index 659ff99b..75444778 100644 --- a/lib/Model/MovementCopyMovementAllOf.php +++ b/lib/Model/MovementCopyMovementAllOf.php @@ -206,7 +206,7 @@ public function getTypeAllowableValues() */ public function __construct(array $data = null) { - $this->container['type'] = $data['type'] ?? TYPE_COPY; + $this->container['type'] = $data['type'] ?? self::TYPE_COPY; $this->container['sourceDatabase'] = $data['sourceDatabase'] ?? null; $this->container['destinationDatabase'] = $data['destinationDatabase'] ?? null; $this->container['userTuples'] = $data['userTuples'] ?? null; diff --git a/lib/Model/MovementCopyMovementPayload.php b/lib/Model/MovementCopyMovementPayload.php index 7eb370e7..9a231a0f 100644 --- a/lib/Model/MovementCopyMovementPayload.php +++ b/lib/Model/MovementCopyMovementPayload.php @@ -200,7 +200,7 @@ public function __construct(array $data = null) { parent::__construct($data); - $this->container['type'] = $data['type'] ?? TYPE_COPY; + $this->container['type'] = $data['type'] ?? self::TYPE_COPY; $this->container['sourceDatabase'] = $data['sourceDatabase'] ?? null; $this->container['destinationDatabase'] = $data['destinationDatabase'] ?? null; $this->container['userTuples'] = $data['userTuples'] ?? null; diff --git a/lib/Model/MovementCopyMovementPayloadAllOf.php b/lib/Model/MovementCopyMovementPayloadAllOf.php index 453f44ac..1ba1dac2 100644 --- a/lib/Model/MovementCopyMovementPayloadAllOf.php +++ b/lib/Model/MovementCopyMovementPayloadAllOf.php @@ -206,7 +206,7 @@ public function getTypeAllowableValues() */ public function __construct(array $data = null) { - $this->container['type'] = $data['type'] ?? TYPE_COPY; + $this->container['type'] = $data['type'] ?? self::TYPE_COPY; $this->container['sourceDatabase'] = $data['sourceDatabase'] ?? null; $this->container['destinationDatabase'] = $data['destinationDatabase'] ?? null; $this->container['userTuples'] = $data['userTuples'] ?? null; diff --git a/lib/Model/MovementMoveMovement.php b/lib/Model/MovementMoveMovement.php index 480b4c38..663c3042 100644 --- a/lib/Model/MovementMoveMovement.php +++ b/lib/Model/MovementMoveMovement.php @@ -200,7 +200,7 @@ public function __construct(array $data = null) { parent::__construct($data); - $this->container['type'] = $data['type'] ?? TYPE_MOVE; + $this->container['type'] = $data['type'] ?? self::TYPE_MOVE; $this->container['sourceDatabase'] = $data['sourceDatabase'] ?? null; $this->container['destinationDatabase'] = $data['destinationDatabase'] ?? null; $this->container['users'] = $data['users'] ?? null; diff --git a/lib/Model/MovementMoveMovementAllOf.php b/lib/Model/MovementMoveMovementAllOf.php index a4b75007..302f3071 100644 --- a/lib/Model/MovementMoveMovementAllOf.php +++ b/lib/Model/MovementMoveMovementAllOf.php @@ -206,7 +206,7 @@ public function getTypeAllowableValues() */ public function __construct(array $data = null) { - $this->container['type'] = $data['type'] ?? TYPE_MOVE; + $this->container['type'] = $data['type'] ?? self::TYPE_MOVE; $this->container['sourceDatabase'] = $data['sourceDatabase'] ?? null; $this->container['destinationDatabase'] = $data['destinationDatabase'] ?? null; $this->container['users'] = $data['users'] ?? null; diff --git a/lib/Model/MovementMoveMovementPayload.php b/lib/Model/MovementMoveMovementPayload.php index cbb1aa9a..3a4aace9 100644 --- a/lib/Model/MovementMoveMovementPayload.php +++ b/lib/Model/MovementMoveMovementPayload.php @@ -200,7 +200,7 @@ public function __construct(array $data = null) { parent::__construct($data); - $this->container['type'] = $data['type'] ?? TYPE_MOVE; + $this->container['type'] = $data['type'] ?? self::TYPE_MOVE; $this->container['sourceDatabase'] = $data['sourceDatabase'] ?? null; $this->container['destinationDatabase'] = $data['destinationDatabase'] ?? null; $this->container['users'] = $data['users'] ?? null; diff --git a/lib/Model/MovementMoveMovementPayloadAllOf.php b/lib/Model/MovementMoveMovementPayloadAllOf.php index fd46c657..ba5bbb55 100644 --- a/lib/Model/MovementMoveMovementPayloadAllOf.php +++ b/lib/Model/MovementMoveMovementPayloadAllOf.php @@ -206,7 +206,7 @@ public function getTypeAllowableValues() */ public function __construct(array $data = null) { - $this->container['type'] = $data['type'] ?? TYPE_MOVE; + $this->container['type'] = $data['type'] ?? self::TYPE_MOVE; $this->container['sourceDatabase'] = $data['sourceDatabase'] ?? null; $this->container['destinationDatabase'] = $data['destinationDatabase'] ?? null; $this->container['users'] = $data['users'] ?? null; diff --git a/lib/Model/MovementReassignmentMovement.php b/lib/Model/MovementReassignmentMovement.php index 5cef7d86..1c294f8c 100644 --- a/lib/Model/MovementReassignmentMovement.php +++ b/lib/Model/MovementReassignmentMovement.php @@ -205,7 +205,7 @@ public function __construct(array $data = null) { parent::__construct($data); - $this->container['type'] = $data['type'] ?? TYPE_REASSIGNMENT; + $this->container['type'] = $data['type'] ?? self::TYPE_REASSIGNMENT; $this->container['sourceDatabase'] = $data['sourceDatabase'] ?? null; $this->container['sourceUser'] = $data['sourceUser'] ?? null; $this->container['destinationUser'] = $data['destinationUser'] ?? null; diff --git a/lib/Model/MovementReassignmentMovementAllOf.php b/lib/Model/MovementReassignmentMovementAllOf.php index d99ada7e..d1f28a0b 100644 --- a/lib/Model/MovementReassignmentMovementAllOf.php +++ b/lib/Model/MovementReassignmentMovementAllOf.php @@ -211,7 +211,7 @@ public function getTypeAllowableValues() */ public function __construct(array $data = null) { - $this->container['type'] = $data['type'] ?? TYPE_REASSIGNMENT; + $this->container['type'] = $data['type'] ?? self::TYPE_REASSIGNMENT; $this->container['sourceDatabase'] = $data['sourceDatabase'] ?? null; $this->container['sourceUser'] = $data['sourceUser'] ?? null; $this->container['destinationUser'] = $data['destinationUser'] ?? null; diff --git a/lib/Model/MovementReassignmentMovementPayload.php b/lib/Model/MovementReassignmentMovementPayload.php index f60ae346..cfd06a90 100644 --- a/lib/Model/MovementReassignmentMovementPayload.php +++ b/lib/Model/MovementReassignmentMovementPayload.php @@ -205,7 +205,7 @@ public function __construct(array $data = null) { parent::__construct($data); - $this->container['type'] = $data['type'] ?? TYPE_REASSIGNMENT; + $this->container['type'] = $data['type'] ?? self::TYPE_REASSIGNMENT; $this->container['sourceDatabase'] = $data['sourceDatabase'] ?? null; $this->container['sourceUser'] = $data['sourceUser'] ?? null; $this->container['destinationUser'] = $data['destinationUser'] ?? null; diff --git a/lib/Model/MovementReassignmentMovementPayloadAllOf.php b/lib/Model/MovementReassignmentMovementPayloadAllOf.php index 6aea4b45..3c92662b 100644 --- a/lib/Model/MovementReassignmentMovementPayloadAllOf.php +++ b/lib/Model/MovementReassignmentMovementPayloadAllOf.php @@ -211,7 +211,7 @@ public function getTypeAllowableValues() */ public function __construct(array $data = null) { - $this->container['type'] = $data['type'] ?? TYPE_REASSIGNMENT; + $this->container['type'] = $data['type'] ?? self::TYPE_REASSIGNMENT; $this->container['sourceDatabase'] = $data['sourceDatabase'] ?? null; $this->container['sourceUser'] = $data['sourceUser'] ?? null; $this->container['destinationUser'] = $data['destinationUser'] ?? null;