"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.instanceOfRadiusOutpostConfig = instanceOfRadiusOutpostConfig;
exports.RadiusOutpostConfigFromJSON = RadiusOutpostConfigFromJSON;
exports.RadiusOutpostConfigFromJSONTyped = RadiusOutpostConfigFromJSONTyped;
exports.RadiusOutpostConfigToJSON = RadiusOutpostConfigToJSON;
exports.RadiusOutpostConfigToJSONTyped = RadiusOutpostConfigToJSONTyped;
/**
 * Check if a given object implements the RadiusOutpostConfig interface.
 */
function instanceOfRadiusOutpostConfig(value) {
    if (!('pk' in value) || value['pk'] === undefined)
        return false;
    if (!('name' in value) || value['name'] === undefined)
        return false;
    if (!('applicationSlug' in value) || value['applicationSlug'] === undefined)
        return false;
    if (!('authFlowSlug' in value) || value['authFlowSlug'] === undefined)
        return false;
    return true;
}
function RadiusOutpostConfigFromJSON(json) {
    return RadiusOutpostConfigFromJSONTyped(json, false);
}
function RadiusOutpostConfigFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'pk': json['pk'],
        'name': json['name'],
        'applicationSlug': json['application_slug'],
        'authFlowSlug': json['auth_flow_slug'],
        'clientNetworks': json['client_networks'] == null ? undefined : json['client_networks'],
        'sharedSecret': json['shared_secret'] == null ? undefined : json['shared_secret'],
        'mfaSupport': json['mfa_support'] == null ? undefined : json['mfa_support'],
        'certificate': json['certificate'] == null ? undefined : json['certificate'],
    };
}
function RadiusOutpostConfigToJSON(json) {
    return RadiusOutpostConfigToJSONTyped(json, false);
}
function RadiusOutpostConfigToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'name': value['name'],
        'application_slug': value['applicationSlug'],
        'auth_flow_slug': value['authFlowSlug'],
        'client_networks': value['clientNetworks'],
        'shared_secret': value['sharedSecret'],
        'mfa_support': value['mfaSupport'],
        'certificate': value['certificate'],
    };
}
//# sourceMappingURL=RadiusOutpostConfig.js.map