From e32db27706c7a4b0f7500a2e9e1623914d613f28 Mon Sep 17 00:00:00 2001 From: github-actions Date: Mon, 20 May 2024 22:03:46 +0000 Subject: [PATCH] SDK updates --- docs/Model/AppInfo.md | 1 + docs/Model/ListPaginatedUsersItem.md | 1 + docs/Model/UserInfo.md | 1 + generated/lib/Model/AppInfo.php | 37 +++++++++++++++++++ .../lib/Model/ListPaginatedUsersItem.php | 37 +++++++++++++++++++ generated/lib/Model/UserInfo.php | 37 +++++++++++++++++++ generated/test/Model/AppInfoTest.php | 9 +++++ .../test/Model/ListPaginatedUsersItemTest.php | 9 +++++ generated/test/Model/UserInfoTest.php | 9 +++++ 9 files changed, 141 insertions(+) diff --git a/docs/Model/AppInfo.md b/docs/Model/AppInfo.md index 1125d93..e9481ac 100644 --- a/docs/Model/AppInfo.md +++ b/docs/Model/AppInfo.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **auth_fallback_method_ttl** | **int** | Deprecated Property. Please refer to `auth_methods` to view settings for individual authentication methods. | **auth_methods** | [**\OpenAPI\Client\Model\AuthMethods**](AuthMethods.md) | | **auth_origin** | **string** | | +**auto_theme_enabled** | **bool** | | **created_at** | **\DateTime** | | **default_language** | **string** | | **id** | **string** | | 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/AppInfo.php b/generated/lib/Model/AppInfo.php index bf1d57e..04d2712 100644 --- a/generated/lib/Model/AppInfo.php +++ b/generated/lib/Model/AppInfo.php @@ -67,6 +67,7 @@ class AppInfo implements ModelInterface, ArrayAccess, \JsonSerializable 'auth_fallback_method_ttl' => 'int', 'auth_methods' => '\OpenAPI\Client\Model\AuthMethods', 'auth_origin' => 'string', + 'auto_theme_enabled' => 'bool', 'created_at' => '\DateTime', 'default_language' => 'string', 'id' => 'string', @@ -116,6 +117,7 @@ class AppInfo implements ModelInterface, ArrayAccess, \JsonSerializable 'auth_fallback_method_ttl' => null, 'auth_methods' => null, 'auth_origin' => null, + 'auto_theme_enabled' => null, 'created_at' => 'date-time', 'default_language' => null, 'id' => null, @@ -163,6 +165,7 @@ class AppInfo implements ModelInterface, ArrayAccess, \JsonSerializable 'auth_fallback_method_ttl' => false, 'auth_methods' => false, 'auth_origin' => false, + 'auto_theme_enabled' => false, 'created_at' => false, 'default_language' => false, 'id' => false, @@ -290,6 +293,7 @@ public function isNullableSetToNull(string $property): bool 'auth_fallback_method_ttl' => 'auth_fallback_method_ttl', 'auth_methods' => 'auth_methods', 'auth_origin' => 'auth_origin', + 'auto_theme_enabled' => 'auto_theme_enabled', 'created_at' => 'created_at', 'default_language' => 'default_language', 'id' => 'id', @@ -337,6 +341,7 @@ public function isNullableSetToNull(string $property): bool 'auth_fallback_method_ttl' => 'setAuthFallbackMethodTtl', 'auth_methods' => 'setAuthMethods', 'auth_origin' => 'setAuthOrigin', + 'auto_theme_enabled' => 'setAutoThemeEnabled', 'created_at' => 'setCreatedAt', 'default_language' => 'setDefaultLanguage', 'id' => 'setId', @@ -384,6 +389,7 @@ public function isNullableSetToNull(string $property): bool 'auth_fallback_method_ttl' => 'getAuthFallbackMethodTtl', 'auth_methods' => 'getAuthMethods', 'auth_origin' => 'getAuthOrigin', + 'auto_theme_enabled' => 'getAutoThemeEnabled', 'created_at' => 'getCreatedAt', 'default_language' => 'getDefaultLanguage', 'id' => 'getId', @@ -497,6 +503,7 @@ public function __construct(array $data = null) $this->setIfExists('auth_fallback_method_ttl', $data ?? [], null); $this->setIfExists('auth_methods', $data ?? [], null); $this->setIfExists('auth_origin', $data ?? [], null); + $this->setIfExists('auto_theme_enabled', $data ?? [], null); $this->setIfExists('created_at', $data ?? [], null); $this->setIfExists('default_language', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); @@ -583,6 +590,9 @@ public function listInvalidProperties() if ($this->container['auth_origin'] === null) { $invalidProperties[] = "'auth_origin' can't be null"; } + if ($this->container['auto_theme_enabled'] === null) { + $invalidProperties[] = "'auto_theme_enabled' can't be null"; + } if ($this->container['created_at'] === null) { $invalidProperties[] = "'created_at' can't be null"; } @@ -932,6 +942,33 @@ public function setAuthOrigin($auth_origin) return $this; } + /** + * Gets auto_theme_enabled + * + * @return bool + */ + public function getAutoThemeEnabled() + { + return $this->container['auto_theme_enabled']; + } + + /** + * Sets auto_theme_enabled + * + * @param bool $auto_theme_enabled auto_theme_enabled + * + * @return self + */ + public function setAutoThemeEnabled($auto_theme_enabled) + { + if (is_null($auto_theme_enabled)) { + throw new \InvalidArgumentException('non-nullable auto_theme_enabled cannot be null'); + } + $this->container['auto_theme_enabled'] = $auto_theme_enabled; + + return $this; + } + /** * Gets created_at * 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/AppInfoTest.php b/generated/test/Model/AppInfoTest.php index bc49509..dc25157 100644 --- a/generated/test/Model/AppInfoTest.php +++ b/generated/test/Model/AppInfoTest.php @@ -161,6 +161,15 @@ public function testPropertyAuthOrigin() $this->markTestIncomplete('Not implemented'); } + /** + * Test attribute "auto_theme_enabled" + */ + public function testPropertyAutoThemeEnabled() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } + /** * Test attribute "created_at" */ 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" */