/* 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 StaticDeviceTokenRequest */ export interface StaticDeviceTokenRequest { /** * * @type {string} * @memberof StaticDeviceTokenRequest */ token: string; } /** * Check if a given object implements the StaticDeviceTokenRequest interface. */ export function instanceOfStaticDeviceTokenRequest(value: object): value is StaticDeviceTokenRequest { if (!('token' in value) || value['token'] === undefined) return false; return true; } export function StaticDeviceTokenRequestFromJSON(json: any): StaticDeviceTokenRequest { return StaticDeviceTokenRequestFromJSONTyped(json, false); } export function StaticDeviceTokenRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): StaticDeviceTokenRequest { if (json == null) { return json; } return { 'token': json['token'], }; } export function StaticDeviceTokenRequestToJSON(json: any): StaticDeviceTokenRequest { return StaticDeviceTokenRequestToJSONTyped(json, false); } export function StaticDeviceTokenRequestToJSONTyped(value?: StaticDeviceTokenRequest | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'token': value['token'], }; }