"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2026.2.2-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.instanceOfSAMLMetadata = instanceOfSAMLMetadata;
exports.SAMLMetadataFromJSON = SAMLMetadataFromJSON;
exports.SAMLMetadataFromJSONTyped = SAMLMetadataFromJSONTyped;
exports.SAMLMetadataToJSON = SAMLMetadataToJSON;
exports.SAMLMetadataToJSONTyped = SAMLMetadataToJSONTyped;
/**
 * Check if a given object implements the SAMLMetadata interface.
 */
function instanceOfSAMLMetadata(value) {
    if (!('metadata' in value) || value['metadata'] === undefined)
        return false;
    if (!('downloadUrl' in value) || value['downloadUrl'] === undefined)
        return false;
    return true;
}
function SAMLMetadataFromJSON(json) {
    return SAMLMetadataFromJSONTyped(json, false);
}
function SAMLMetadataFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'metadata': json['metadata'],
        'downloadUrl': json['download_url'],
    };
}
function SAMLMetadataToJSON(json) {
    return SAMLMetadataToJSONTyped(json, false);
}
function SAMLMetadataToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {};
}
//# sourceMappingURL=SAMLMetadata.js.map