Skip to content

Commit

Permalink
fix constant in constructor of model
Browse files Browse the repository at this point in the history
  • Loading branch information
GTony committed Aug 3, 2021
1 parent 02892e2 commit 477f6bf
Show file tree
Hide file tree
Showing 22 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion lib/Model/GatewaysAccessesEquisoftAnalyzeAccess.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/**
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/GatewaysAccessesEquisoftAnalyzeAccessAllOf.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/MovementClientBaseUsingFileMovement.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/MovementClientBaseUsingFileMovementAllOf.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/MovementClientBaseUsingFileMovementPayload.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/MovementCopyMovement.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/MovementCopyMovementAllOf.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/MovementCopyMovementPayload.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/MovementCopyMovementPayloadAllOf.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/MovementMoveMovement.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/MovementMoveMovementAllOf.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/MovementMoveMovementPayload.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/MovementMoveMovementPayloadAllOf.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/MovementReassignmentMovement.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/MovementReassignmentMovementAllOf.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/MovementReassignmentMovementPayload.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/MovementReassignmentMovementPayloadAllOf.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 477f6bf

Please sign in to comment.