Skip to content
Merged
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
32 changes: 16 additions & 16 deletions lib/Model/BetaInternalPermissionServiceProjectGrant.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class BetaInternalPermissionServiceProjectGrant implements ModelInterface, Array
*/
protected static $openAPITypes = [
'projectId' => 'string',
'projectGrantId' => 'string'
'organizationId' => 'string'
];

/**
Expand All @@ -70,7 +70,7 @@ class BetaInternalPermissionServiceProjectGrant implements ModelInterface, Array
*/
protected static $openAPIFormats = [
'projectId' => null,
'projectGrantId' => null
'organizationId' => null
];

/**
Expand All @@ -80,7 +80,7 @@ class BetaInternalPermissionServiceProjectGrant implements ModelInterface, Array
*/
protected static array $openAPINullables = [
'projectId' => false,
'projectGrantId' => false
'organizationId' => false
];

/**
Expand Down Expand Up @@ -170,7 +170,7 @@ public function isNullableSetToNull(string $property): bool
*/
protected static $attributeMap = [
'projectId' => 'projectId',
'projectGrantId' => 'projectGrantId'
'organizationId' => 'organizationId'
];

/**
Expand All @@ -180,7 +180,7 @@ public function isNullableSetToNull(string $property): bool
*/
protected static $setters = [
'projectId' => 'setProjectId',
'projectGrantId' => 'setProjectGrantId'
'organizationId' => 'setOrganizationId'
];

/**
Expand All @@ -190,7 +190,7 @@ public function isNullableSetToNull(string $property): bool
*/
protected static $getters = [
'projectId' => 'getProjectId',
'projectGrantId' => 'getProjectGrantId'
'organizationId' => 'getOrganizationId'
];

/**
Expand Down Expand Up @@ -251,7 +251,7 @@ public function getModelName()
public function __construct(?array $data = null)
{
$this->setIfExists('projectId', $data ?? [], null);
$this->setIfExists('projectGrantId', $data ?? [], null);
$this->setIfExists('organizationId', $data ?? [], null);
}

/**
Expand Down Expand Up @@ -324,28 +324,28 @@ public function setProjectId($projectId)
}

/**
* Gets projectGrantId
* Gets organizationId
*
* @return string|null
*/
public function getProjectGrantId()
public function getOrganizationId()
{
return $this->container['projectGrantId'];
return $this->container['organizationId'];
}

/**
* Sets projectGrantId
* Sets organizationId
*
* @param string|null $projectGrantId ProjectGrantID is required to grant administrator privileges for a specific project grant.
* @param string|null $organizationId OrganizationID is required to grant administrator privileges for a specific project grant.
*
* @return self
*/
public function setProjectGrantId($projectGrantId)
public function setOrganizationId($organizationId)
{
if (is_null($projectGrantId)) {
throw new \InvalidArgumentException('non-nullable projectGrantId cannot be null');
if (is_null($organizationId)) {
throw new \InvalidArgumentException('non-nullable organizationId cannot be null');
}
$this->container['projectGrantId'] = $projectGrantId;
$this->container['organizationId'] = $organizationId;

return $this;
}
Expand Down