/* tslint:disable */ /* eslint-disable */ /** * Fabric API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export */ export const UserGroup = { Admin: 'admin', FabricInternal: 'fabric-internal', FabricEmail: 'fabric-email', Investor: 'investor', Dogfooding: 'dogfooding', GoogleDriveBeta: 'google-drive-beta', BetaUserRecap: 'beta-user-recap', LocalFileSync: 'local-file-sync', NotepadDiffs: 'notepad-diffs' } as const; export type UserGroup = typeof UserGroup[keyof typeof UserGroup]; export function instanceOfUserGroup(value: any): boolean { for (const key in UserGroup) { if (Object.prototype.hasOwnProperty.call(UserGroup, key)) { if (UserGroup[key as keyof typeof UserGroup] === value) { return true; } } } return false; } export function UserGroupFromJSON(json: any): UserGroup { return UserGroupFromJSONTyped(json, false); } export function UserGroupFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserGroup { return json as UserGroup; } export function UserGroupToJSON(value?: UserGroup | null): any { return value as any; } export function UserGroupToJSONTyped(value: any, ignoreDiscriminator: boolean): UserGroup { return value as UserGroup; }