"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.instanceOfPatchedRACProviderRequest = instanceOfPatchedRACProviderRequest;
exports.PatchedRACProviderRequestFromJSON = PatchedRACProviderRequestFromJSON;
exports.PatchedRACProviderRequestFromJSONTyped = PatchedRACProviderRequestFromJSONTyped;
exports.PatchedRACProviderRequestToJSON = PatchedRACProviderRequestToJSON;
exports.PatchedRACProviderRequestToJSONTyped = PatchedRACProviderRequestToJSONTyped;
/**
 * Check if a given object implements the PatchedRACProviderRequest interface.
 */
function instanceOfPatchedRACProviderRequest(value) {
    return true;
}
function PatchedRACProviderRequestFromJSON(json) {
    return PatchedRACProviderRequestFromJSONTyped(json, false);
}
function PatchedRACProviderRequestFromJSONTyped(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'],
        'propertyMappings': json['property_mappings'] == null ? undefined : json['property_mappings'],
        'settings': json['settings'] == null ? undefined : json['settings'],
        'connectionExpiry': json['connection_expiry'] == null ? undefined : json['connection_expiry'],
        'deleteTokenOnDisconnect': json['delete_token_on_disconnect'] == null ? undefined : json['delete_token_on_disconnect'],
    };
}
function PatchedRACProviderRequestToJSON(json) {
    return PatchedRACProviderRequestToJSONTyped(json, false);
}
function PatchedRACProviderRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'name': value['name'],
        'authentication_flow': value['authenticationFlow'],
        'authorization_flow': value['authorizationFlow'],
        'property_mappings': value['propertyMappings'],
        'settings': value['settings'],
        'connection_expiry': value['connectionExpiry'],
        'delete_token_on_disconnect': value['deleteTokenOnDisconnect'],
    };
}
//# sourceMappingURL=PatchedRACProviderRequest.js.map