/* 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'; /** * WebAuthnDeviceType Serializer * @export * @interface WebAuthnDeviceTypeRequest */ export interface WebAuthnDeviceTypeRequest { /** * * @type {string} * @memberof WebAuthnDeviceTypeRequest */ aaguid: string; /** * * @type {string} * @memberof WebAuthnDeviceTypeRequest */ description: string; } /** * Check if a given object implements the WebAuthnDeviceTypeRequest interface. */ export function instanceOfWebAuthnDeviceTypeRequest(value: object): value is WebAuthnDeviceTypeRequest { if (!('aaguid' in value) || value['aaguid'] === undefined) return false; if (!('description' in value) || value['description'] === undefined) return false; return true; } export function WebAuthnDeviceTypeRequestFromJSON(json: any): WebAuthnDeviceTypeRequest { return WebAuthnDeviceTypeRequestFromJSONTyped(json, false); } export function WebAuthnDeviceTypeRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebAuthnDeviceTypeRequest { if (json == null) { return json; } return { 'aaguid': json['aaguid'], 'description': json['description'], }; } export function WebAuthnDeviceTypeRequestToJSON(json: any): WebAuthnDeviceTypeRequest { return WebAuthnDeviceTypeRequestToJSONTyped(json, false); } export function WebAuthnDeviceTypeRequestToJSONTyped(value?: WebAuthnDeviceTypeRequest | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'aaguid': value['aaguid'], 'description': value['description'], }; }