/* 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 PatchedStaticDeviceRequest */ export interface PatchedStaticDeviceRequest { /** * The human-readable name of this device. * @type {string} * @memberof PatchedStaticDeviceRequest */ name?: string; } /** * Check if a given object implements the PatchedStaticDeviceRequest interface. */ export function instanceOfPatchedStaticDeviceRequest(value: object): value is PatchedStaticDeviceRequest { return true; } export function PatchedStaticDeviceRequestFromJSON(json: any): PatchedStaticDeviceRequest { return PatchedStaticDeviceRequestFromJSONTyped(json, false); } export function PatchedStaticDeviceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedStaticDeviceRequest { if (json == null) { return json; } return { 'name': json['name'] == null ? undefined : json['name'], }; } export function PatchedStaticDeviceRequestToJSON(json: any): PatchedStaticDeviceRequest { return PatchedStaticDeviceRequestToJSONTyped(json, false); } export function PatchedStaticDeviceRequestToJSONTyped(value?: PatchedStaticDeviceRequest | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'name': value['name'], }; }