/* 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'; /** * * @export * @interface AuthenticatorDuoStageDeviceImportResponse */ export interface AuthenticatorDuoStageDeviceImportResponse { /** * * @type {number} * @memberof AuthenticatorDuoStageDeviceImportResponse */ readonly count: number; /** * * @type {string} * @memberof AuthenticatorDuoStageDeviceImportResponse */ readonly error: string; } /** * Check if a given object implements the AuthenticatorDuoStageDeviceImportResponse interface. */ export function instanceOfAuthenticatorDuoStageDeviceImportResponse(value: object): value is AuthenticatorDuoStageDeviceImportResponse { if (!('count' in value) || value['count'] === undefined) return false; if (!('error' in value) || value['error'] === undefined) return false; return true; } export function AuthenticatorDuoStageDeviceImportResponseFromJSON(json: any): AuthenticatorDuoStageDeviceImportResponse { return AuthenticatorDuoStageDeviceImportResponseFromJSONTyped(json, false); } export function AuthenticatorDuoStageDeviceImportResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticatorDuoStageDeviceImportResponse { if (json == null) { return json; } return { 'count': json['count'], 'error': json['error'], }; } export function AuthenticatorDuoStageDeviceImportResponseToJSON(json: any): AuthenticatorDuoStageDeviceImportResponse { return AuthenticatorDuoStageDeviceImportResponseToJSONTyped(json, false); } export function AuthenticatorDuoStageDeviceImportResponseToJSONTyped(value?: Omit | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { }; }