/* 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 authenticator devices * @export * @interface StaticDeviceRequest */ export interface StaticDeviceRequest { /** * The human-readable name of this device. * @type {string} * @memberof StaticDeviceRequest */ name: string; } /** * Check if a given object implements the StaticDeviceRequest interface. */ export function instanceOfStaticDeviceRequest(value: object): value is StaticDeviceRequest { if (!('name' in value) || value['name'] === undefined) return false; return true; } export function StaticDeviceRequestFromJSON(json: any): StaticDeviceRequest { return StaticDeviceRequestFromJSONTyped(json, false); } export function StaticDeviceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): StaticDeviceRequest { if (json == null) { return json; } return { 'name': json['name'], }; } export function StaticDeviceRequestToJSON(json: any): StaticDeviceRequest { return StaticDeviceRequestToJSONTyped(json, false); } export function StaticDeviceRequestToJSONTyped(value?: StaticDeviceRequest | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'name': value['name'], }; }