"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2026.2.0-rc5
 * 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.instanceOfSSFProviderRequest = instanceOfSSFProviderRequest;
exports.SSFProviderRequestFromJSON = SSFProviderRequestFromJSON;
exports.SSFProviderRequestFromJSONTyped = SSFProviderRequestFromJSONTyped;
exports.SSFProviderRequestToJSON = SSFProviderRequestToJSON;
exports.SSFProviderRequestToJSONTyped = SSFProviderRequestToJSONTyped;
/**
 * Check if a given object implements the SSFProviderRequest interface.
 */
function instanceOfSSFProviderRequest(value) {
    if (!('name' in value) || value['name'] === undefined)
        return false;
    if (!('signingKey' in value) || value['signingKey'] === undefined)
        return false;
    return true;
}
function SSFProviderRequestFromJSON(json) {
    return SSFProviderRequestFromJSONTyped(json, false);
}
function SSFProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'name': json['name'],
        'signingKey': json['signing_key'],
        'oidcAuthProviders': json['oidc_auth_providers'] == null ? undefined : json['oidc_auth_providers'],
        'eventRetention': json['event_retention'] == null ? undefined : json['event_retention'],
    };
}
function SSFProviderRequestToJSON(json) {
    return SSFProviderRequestToJSONTyped(json, false);
}
function SSFProviderRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'name': value['name'],
        'signing_key': value['signingKey'],
        'oidc_auth_providers': value['oidcAuthProviders'],
        'event_retention': value['eventRetention'],
    };
}
//# sourceMappingURL=SSFProviderRequest.js.map