"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2025.10.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.instanceOfPatchedConnectionTokenRequest = instanceOfPatchedConnectionTokenRequest;
exports.PatchedConnectionTokenRequestFromJSON = PatchedConnectionTokenRequestFromJSON;
exports.PatchedConnectionTokenRequestFromJSONTyped = PatchedConnectionTokenRequestFromJSONTyped;
exports.PatchedConnectionTokenRequestToJSON = PatchedConnectionTokenRequestToJSON;
exports.PatchedConnectionTokenRequestToJSONTyped = PatchedConnectionTokenRequestToJSONTyped;
/**
 * Check if a given object implements the PatchedConnectionTokenRequest interface.
 */
function instanceOfPatchedConnectionTokenRequest(value) {
    return true;
}
function PatchedConnectionTokenRequestFromJSON(json) {
    return PatchedConnectionTokenRequestFromJSONTyped(json, false);
}
function PatchedConnectionTokenRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'pk': json['pk'] == null ? undefined : json['pk'],
        'provider': json['provider'] == null ? undefined : json['provider'],
        'endpoint': json['endpoint'] == null ? undefined : json['endpoint'],
    };
}
function PatchedConnectionTokenRequestToJSON(json) {
    return PatchedConnectionTokenRequestToJSONTyped(json, false);
}
function PatchedConnectionTokenRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'pk': value['pk'],
        'provider': value['provider'],
        'endpoint': value['endpoint'],
    };
}
//# sourceMappingURL=PatchedConnectionTokenRequest.js.map