/* 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'; /** * Pseudo class for duo response * @export * @interface AuthenticatorDuoChallengeResponseRequest */ export interface AuthenticatorDuoChallengeResponseRequest { /** * * @type {string} * @memberof AuthenticatorDuoChallengeResponseRequest */ component?: string; } /** * Check if a given object implements the AuthenticatorDuoChallengeResponseRequest interface. */ export function instanceOfAuthenticatorDuoChallengeResponseRequest(value: object): value is AuthenticatorDuoChallengeResponseRequest { return true; } export function AuthenticatorDuoChallengeResponseRequestFromJSON(json: any): AuthenticatorDuoChallengeResponseRequest { return AuthenticatorDuoChallengeResponseRequestFromJSONTyped(json, false); } export function AuthenticatorDuoChallengeResponseRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticatorDuoChallengeResponseRequest { if (json == null) { return json; } return { 'component': json['component'] == null ? undefined : json['component'], }; } export function AuthenticatorDuoChallengeResponseRequestToJSON(json: any): AuthenticatorDuoChallengeResponseRequest { return AuthenticatorDuoChallengeResponseRequestToJSONTyped(json, false); } export function AuthenticatorDuoChallengeResponseRequestToJSONTyped(value?: AuthenticatorDuoChallengeResponseRequest | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'component': value['component'], }; }