diff --git a/docs/Model/ListPaginatedUsersItem.md b/docs/Model/ListPaginatedUsersItem.md index 115f7b5..52b7c6e 100644 --- a/docs/Model/ListPaginatedUsersItem.md +++ b/docs/Model/ListPaginatedUsersItem.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **created_at** | **\DateTime** | | **email** | **string** | | **email_verified** | **bool** | | +**external_id** | **string** | The external ID of the user. Only set if the user was created in a Flex app. | **id** | **string** | | **last_login_at** | **\DateTime** | | **login_count** | **int** | | diff --git a/docs/Model/UserInfo.md b/docs/Model/UserInfo.md index a960f73..e456189 100644 --- a/docs/Model/UserInfo.md +++ b/docs/Model/UserInfo.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **created_at** | **\DateTime** | | **email** | **string** | | **email_verified** | **bool** | | +**external_id** | **string** | The external ID of the user. Only set if the user was created in a Flex app. | **id** | **string** | | **last_login_at** | **\DateTime** | | **login_count** | **int** | | diff --git a/generated/lib/Model/ListPaginatedUsersItem.php b/generated/lib/Model/ListPaginatedUsersItem.php index bac3130..8786c4f 100644 --- a/generated/lib/Model/ListPaginatedUsersItem.php +++ b/generated/lib/Model/ListPaginatedUsersItem.php @@ -61,6 +61,7 @@ class ListPaginatedUsersItem implements ModelInterface, ArrayAccess, \JsonSerial 'created_at' => '\DateTime', 'email' => 'string', 'email_verified' => 'bool', + 'external_id' => 'string', 'id' => 'string', 'last_login_at' => '\DateTime', 'login_count' => 'int', @@ -82,6 +83,7 @@ class ListPaginatedUsersItem implements ModelInterface, ArrayAccess, \JsonSerial 'created_at' => 'date-time', 'email' => null, 'email_verified' => null, + 'external_id' => null, 'id' => null, 'last_login_at' => 'date-time', 'login_count' => null, @@ -101,6 +103,7 @@ class ListPaginatedUsersItem implements ModelInterface, ArrayAccess, \JsonSerial 'created_at' => false, 'email' => false, 'email_verified' => false, + 'external_id' => false, 'id' => false, 'last_login_at' => false, 'login_count' => false, @@ -200,6 +203,7 @@ public function isNullableSetToNull(string $property): bool 'created_at' => 'created_at', 'email' => 'email', 'email_verified' => 'email_verified', + 'external_id' => 'external_id', 'id' => 'id', 'last_login_at' => 'last_login_at', 'login_count' => 'login_count', @@ -219,6 +223,7 @@ public function isNullableSetToNull(string $property): bool 'created_at' => 'setCreatedAt', 'email' => 'setEmail', 'email_verified' => 'setEmailVerified', + 'external_id' => 'setExternalId', 'id' => 'setId', 'last_login_at' => 'setLastLoginAt', 'login_count' => 'setLoginCount', @@ -238,6 +243,7 @@ public function isNullableSetToNull(string $property): bool 'created_at' => 'getCreatedAt', 'email' => 'getEmail', 'email_verified' => 'getEmailVerified', + 'external_id' => 'getExternalId', 'id' => 'getId', 'last_login_at' => 'getLastLoginAt', 'login_count' => 'getLoginCount', @@ -308,6 +314,7 @@ public function __construct(array $data = null) $this->setIfExists('created_at', $data ?? [], null); $this->setIfExists('email', $data ?? [], null); $this->setIfExists('email_verified', $data ?? [], null); + $this->setIfExists('external_id', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); $this->setIfExists('last_login_at', $data ?? [], null); $this->setIfExists('login_count', $data ?? [], null); @@ -354,6 +361,9 @@ public function listInvalidProperties() if ($this->container['email_verified'] === null) { $invalidProperties[] = "'email_verified' can't be null"; } + if ($this->container['external_id'] === null) { + $invalidProperties[] = "'external_id' can't be null"; + } if ($this->container['id'] === null) { $invalidProperties[] = "'id' can't be null"; } @@ -474,6 +484,33 @@ public function setEmailVerified($email_verified) return $this; } + /** + * Gets external_id + * + * @return string + */ + public function getExternalId() + { + return $this->container['external_id']; + } + + /** + * Sets external_id + * + * @param string $external_id The external ID of the user. Only set if the user was created in a Flex app. + * + * @return self + */ + public function setExternalId($external_id) + { + if (is_null($external_id)) { + throw new \InvalidArgumentException('non-nullable external_id cannot be null'); + } + $this->container['external_id'] = $external_id; + + return $this; + } + /** * Gets id * diff --git a/generated/lib/Model/UserInfo.php b/generated/lib/Model/UserInfo.php index 57eeb80..31f769d 100644 --- a/generated/lib/Model/UserInfo.php +++ b/generated/lib/Model/UserInfo.php @@ -61,6 +61,7 @@ class UserInfo implements ModelInterface, ArrayAccess, \JsonSerializable 'created_at' => '\DateTime', 'email' => 'string', 'email_verified' => 'bool', + 'external_id' => 'string', 'id' => 'string', 'last_login_at' => '\DateTime', 'login_count' => 'int', @@ -87,6 +88,7 @@ class UserInfo implements ModelInterface, ArrayAccess, \JsonSerializable 'created_at' => 'date-time', 'email' => null, 'email_verified' => null, + 'external_id' => null, 'id' => null, 'last_login_at' => 'date-time', 'login_count' => null, @@ -111,6 +113,7 @@ class UserInfo implements ModelInterface, ArrayAccess, \JsonSerializable 'created_at' => false, 'email' => false, 'email_verified' => false, + 'external_id' => false, 'id' => false, 'last_login_at' => false, 'login_count' => false, @@ -215,6 +218,7 @@ public function isNullableSetToNull(string $property): bool 'created_at' => 'created_at', 'email' => 'email', 'email_verified' => 'email_verified', + 'external_id' => 'external_id', 'id' => 'id', 'last_login_at' => 'last_login_at', 'login_count' => 'login_count', @@ -239,6 +243,7 @@ public function isNullableSetToNull(string $property): bool 'created_at' => 'setCreatedAt', 'email' => 'setEmail', 'email_verified' => 'setEmailVerified', + 'external_id' => 'setExternalId', 'id' => 'setId', 'last_login_at' => 'setLastLoginAt', 'login_count' => 'setLoginCount', @@ -263,6 +268,7 @@ public function isNullableSetToNull(string $property): bool 'created_at' => 'getCreatedAt', 'email' => 'getEmail', 'email_verified' => 'getEmailVerified', + 'external_id' => 'getExternalId', 'id' => 'getId', 'last_login_at' => 'getLastLoginAt', 'login_count' => 'getLoginCount', @@ -338,6 +344,7 @@ public function __construct(array $data = null) $this->setIfExists('created_at', $data ?? [], null); $this->setIfExists('email', $data ?? [], null); $this->setIfExists('email_verified', $data ?? [], null); + $this->setIfExists('external_id', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); $this->setIfExists('last_login_at', $data ?? [], null); $this->setIfExists('login_count', $data ?? [], null); @@ -389,6 +396,9 @@ public function listInvalidProperties() if ($this->container['email_verified'] === null) { $invalidProperties[] = "'email_verified' can't be null"; } + if ($this->container['external_id'] === null) { + $invalidProperties[] = "'external_id' can't be null"; + } if ($this->container['id'] === null) { $invalidProperties[] = "'id' can't be null"; } @@ -524,6 +534,33 @@ public function setEmailVerified($email_verified) return $this; } + /** + * Gets external_id + * + * @return string + */ + public function getExternalId() + { + return $this->container['external_id']; + } + + /** + * Sets external_id + * + * @param string $external_id The external ID of the user. Only set if the user was created in a Flex app. + * + * @return self + */ + public function setExternalId($external_id) + { + if (is_null($external_id)) { + throw new \InvalidArgumentException('non-nullable external_id cannot be null'); + } + $this->container['external_id'] = $external_id; + + return $this; + } + /** * Gets id * diff --git a/generated/test/Model/ListPaginatedUsersItemTest.php b/generated/test/Model/ListPaginatedUsersItemTest.php index b2188a3..8ceb83e 100644 --- a/generated/test/Model/ListPaginatedUsersItemTest.php +++ b/generated/test/Model/ListPaginatedUsersItemTest.php @@ -107,6 +107,15 @@ public function testPropertyEmailVerified() $this->markTestIncomplete('Not implemented'); } + /** + * Test attribute "external_id" + */ + public function testPropertyExternalId() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + /** * Test attribute "id" */ diff --git a/generated/test/Model/UserInfoTest.php b/generated/test/Model/UserInfoTest.php index 4ed9dd6..44eca32 100644 --- a/generated/test/Model/UserInfoTest.php +++ b/generated/test/Model/UserInfoTest.php @@ -107,6 +107,15 @@ public function testPropertyEmailVerified() $this->markTestIncomplete('Not implemented'); } + /** + * Test attribute "external_id" + */ + public function testPropertyExternalId() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + /** * Test attribute "id" */