/* tslint:disable */ /* eslint-disable */ /** * authentik * Making authentication simple. * * The version of the OpenAPI document: 2026.2.3-rc1 * Contact: hello@goauthentik.io * * 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 DeviceFactsOSFamily = { Linux: 'linux', Unix: 'unix', Bsd: 'bsd', Windows: 'windows', MacOs: 'mac_os', Android: 'android', IOs: 'i_os', Other: 'other', UnknownDefaultOpenApi: '11184809' } as const; export type DeviceFactsOSFamily = typeof DeviceFactsOSFamily[keyof typeof DeviceFactsOSFamily]; export function instanceOfDeviceFactsOSFamily(value: any): boolean { for (const key in DeviceFactsOSFamily) { if (Object.prototype.hasOwnProperty.call(DeviceFactsOSFamily, key)) { if (DeviceFactsOSFamily[key as keyof typeof DeviceFactsOSFamily] === value) { return true; } } } return false; } export function DeviceFactsOSFamilyFromJSON(json: any): DeviceFactsOSFamily { return DeviceFactsOSFamilyFromJSONTyped(json, false); } export function DeviceFactsOSFamilyFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeviceFactsOSFamily { return json as DeviceFactsOSFamily; } export function DeviceFactsOSFamilyToJSON(value?: DeviceFactsOSFamily | null): any { return value as any; } export function DeviceFactsOSFamilyToJSONTyped(value: any, ignoreDiscriminator: boolean): DeviceFactsOSFamily { return value as DeviceFactsOSFamily; }