"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2025.6.4
 * 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.instanceOfPatchedRadiusProviderRequest = instanceOfPatchedRadiusProviderRequest;
exports.PatchedRadiusProviderRequestFromJSON = PatchedRadiusProviderRequestFromJSON;
exports.PatchedRadiusProviderRequestFromJSONTyped = PatchedRadiusProviderRequestFromJSONTyped;
exports.PatchedRadiusProviderRequestToJSON = PatchedRadiusProviderRequestToJSON;
exports.PatchedRadiusProviderRequestToJSONTyped = PatchedRadiusProviderRequestToJSONTyped;
/**
 * Check if a given object implements the PatchedRadiusProviderRequest interface.
 */
function instanceOfPatchedRadiusProviderRequest(value) {
    return true;
}
function PatchedRadiusProviderRequestFromJSON(json) {
    return PatchedRadiusProviderRequestFromJSONTyped(json, false);
}
function PatchedRadiusProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'name': json['name'] == null ? undefined : json['name'],
        'authenticationFlow': json['authentication_flow'] == null ? undefined : json['authentication_flow'],
        'authorizationFlow': json['authorization_flow'] == null ? undefined : json['authorization_flow'],
        'invalidationFlow': json['invalidation_flow'] == null ? undefined : json['invalidation_flow'],
        'propertyMappings': json['property_mappings'] == null ? undefined : json['property_mappings'],
        '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'],
    };
}
function PatchedRadiusProviderRequestToJSON(json) {
    return PatchedRadiusProviderRequestToJSONTyped(json, false);
}
function PatchedRadiusProviderRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'name': value['name'],
        'authentication_flow': value['authenticationFlow'],
        'authorization_flow': value['authorizationFlow'],
        'invalidation_flow': value['invalidationFlow'],
        'property_mappings': value['propertyMappings'],
        'client_networks': value['clientNetworks'],
        'shared_secret': value['sharedSecret'],
        'mfa_support': value['mfaSupport'],
    };
}
//# sourceMappingURL=PatchedRadiusProviderRequest.js.map