"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2025.12.0-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.instanceOfPatchedAgentConnectorRequest = instanceOfPatchedAgentConnectorRequest;
exports.PatchedAgentConnectorRequestFromJSON = PatchedAgentConnectorRequestFromJSON;
exports.PatchedAgentConnectorRequestFromJSONTyped = PatchedAgentConnectorRequestFromJSONTyped;
exports.PatchedAgentConnectorRequestToJSON = PatchedAgentConnectorRequestToJSON;
exports.PatchedAgentConnectorRequestToJSONTyped = PatchedAgentConnectorRequestToJSONTyped;
/**
 * Check if a given object implements the PatchedAgentConnectorRequest interface.
 */
function instanceOfPatchedAgentConnectorRequest(value) {
    return true;
}
function PatchedAgentConnectorRequestFromJSON(json) {
    return PatchedAgentConnectorRequestFromJSONTyped(json, false);
}
function PatchedAgentConnectorRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'connectorUuid': json['connector_uuid'] == null ? undefined : json['connector_uuid'],
        'name': json['name'] == null ? undefined : json['name'],
        'enabled': json['enabled'] == null ? undefined : json['enabled'],
        'snapshotExpiry': json['snapshot_expiry'] == null ? undefined : json['snapshot_expiry'],
        'authTerminateSessionOnExpiry': json['auth_terminate_session_on_expiry'] == null ? undefined : json['auth_terminate_session_on_expiry'],
        'refreshInterval': json['refresh_interval'] == null ? undefined : json['refresh_interval'],
        'authorizationFlow': json['authorization_flow'] == null ? undefined : json['authorization_flow'],
        'nssUidOffset': json['nss_uid_offset'] == null ? undefined : json['nss_uid_offset'],
        'nssGidOffset': json['nss_gid_offset'] == null ? undefined : json['nss_gid_offset'],
        'challengeKey': json['challenge_key'] == null ? undefined : json['challenge_key'],
        'jwtFederationProviders': json['jwt_federation_providers'] == null ? undefined : json['jwt_federation_providers'],
    };
}
function PatchedAgentConnectorRequestToJSON(json) {
    return PatchedAgentConnectorRequestToJSONTyped(json, false);
}
function PatchedAgentConnectorRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'connector_uuid': value['connectorUuid'],
        'name': value['name'],
        'enabled': value['enabled'],
        'snapshot_expiry': value['snapshotExpiry'],
        'auth_terminate_session_on_expiry': value['authTerminateSessionOnExpiry'],
        'refresh_interval': value['refreshInterval'],
        'authorization_flow': value['authorizationFlow'],
        'nss_uid_offset': value['nssUidOffset'],
        'nss_gid_offset': value['nssGidOffset'],
        'challenge_key': value['challengeKey'],
        'jwt_federation_providers': value['jwtFederationProviders'],
    };
}
//# sourceMappingURL=PatchedAgentConnectorRequest.js.map