"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2025.10.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.instanceOfRedirectURIRequest = instanceOfRedirectURIRequest;
exports.RedirectURIRequestFromJSON = RedirectURIRequestFromJSON;
exports.RedirectURIRequestFromJSONTyped = RedirectURIRequestFromJSONTyped;
exports.RedirectURIRequestToJSON = RedirectURIRequestToJSON;
exports.RedirectURIRequestToJSONTyped = RedirectURIRequestToJSONTyped;
const MatchingModeEnum_1 = require("./MatchingModeEnum");
/**
 * Check if a given object implements the RedirectURIRequest interface.
 */
function instanceOfRedirectURIRequest(value) {
    if (!('matchingMode' in value) || value['matchingMode'] === undefined)
        return false;
    if (!('url' in value) || value['url'] === undefined)
        return false;
    return true;
}
function RedirectURIRequestFromJSON(json) {
    return RedirectURIRequestFromJSONTyped(json, false);
}
function RedirectURIRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'matchingMode': (0, MatchingModeEnum_1.MatchingModeEnumFromJSON)(json['matching_mode']),
        'url': json['url'],
    };
}
function RedirectURIRequestToJSON(json) {
    return RedirectURIRequestToJSONTyped(json, false);
}
function RedirectURIRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'matching_mode': (0, MatchingModeEnum_1.MatchingModeEnumToJSON)(value['matchingMode']),
        'url': value['url'],
    };
}
//# sourceMappingURL=RedirectURIRequest.js.map