/* tslint:disable */ /* eslint-disable */ /** * authentik * Making authentication simple. * * The version of the OpenAPI document: 2025.6.3 * 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. */ import { mapValues } from '../runtime'; /** * Serializer for static device's tokens * @export * @interface StaticDeviceToken */ export interface StaticDeviceToken { /** * * @type {string} * @memberof StaticDeviceToken */ token: string; } /** * Check if a given object implements the StaticDeviceToken interface. */ export function instanceOfStaticDeviceToken(value: object): value is StaticDeviceToken { if (!('token' in value) || value['token'] === undefined) return false; return true; } export function StaticDeviceTokenFromJSON(json: any): StaticDeviceToken { return StaticDeviceTokenFromJSONTyped(json, false); } export function StaticDeviceTokenFromJSONTyped(json: any, ignoreDiscriminator: boolean): StaticDeviceToken { if (json == null) { return json; } return { 'token': json['token'], }; } export function StaticDeviceTokenToJSON(json: any): StaticDeviceToken { return StaticDeviceTokenToJSONTyped(json, false); } export function StaticDeviceTokenToJSONTyped(value?: StaticDeviceToken | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'token': value['token'], }; }