"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2025.12.0-rc1
 * 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.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.instanceOfOAuthDeviceCodeChallengeResponseRequest = instanceOfOAuthDeviceCodeChallengeResponseRequest;
exports.OAuthDeviceCodeChallengeResponseRequestFromJSON = OAuthDeviceCodeChallengeResponseRequestFromJSON;
exports.OAuthDeviceCodeChallengeResponseRequestFromJSONTyped = OAuthDeviceCodeChallengeResponseRequestFromJSONTyped;
exports.OAuthDeviceCodeChallengeResponseRequestToJSON = OAuthDeviceCodeChallengeResponseRequestToJSON;
exports.OAuthDeviceCodeChallengeResponseRequestToJSONTyped = OAuthDeviceCodeChallengeResponseRequestToJSONTyped;
/**
 * Check if a given object implements the OAuthDeviceCodeChallengeResponseRequest interface.
 */
function instanceOfOAuthDeviceCodeChallengeResponseRequest(value) {
    if (!('code' in value) || value['code'] === undefined)
        return false;
    return true;
}
function OAuthDeviceCodeChallengeResponseRequestFromJSON(json) {
    return OAuthDeviceCodeChallengeResponseRequestFromJSONTyped(json, false);
}
function OAuthDeviceCodeChallengeResponseRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'component': json['component'] == null ? undefined : json['component'],
        'code': json['code'],
    };
}
function OAuthDeviceCodeChallengeResponseRequestToJSON(json) {
    return OAuthDeviceCodeChallengeResponseRequestToJSONTyped(json, false);
}
function OAuthDeviceCodeChallengeResponseRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'component': value['component'],
        'code': value['code'],
    };
}
//# sourceMappingURL=OAuthDeviceCodeChallengeResponseRequest.js.map