"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2026.2.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.instanceOfPlexTokenRedeemRequest = instanceOfPlexTokenRedeemRequest;
exports.PlexTokenRedeemRequestFromJSON = PlexTokenRedeemRequestFromJSON;
exports.PlexTokenRedeemRequestFromJSONTyped = PlexTokenRedeemRequestFromJSONTyped;
exports.PlexTokenRedeemRequestToJSON = PlexTokenRedeemRequestToJSON;
exports.PlexTokenRedeemRequestToJSONTyped = PlexTokenRedeemRequestToJSONTyped;
/**
 * Check if a given object implements the PlexTokenRedeemRequest interface.
 */
function instanceOfPlexTokenRedeemRequest(value) {
    if (!('plexToken' in value) || value['plexToken'] === undefined)
        return false;
    return true;
}
function PlexTokenRedeemRequestFromJSON(json) {
    return PlexTokenRedeemRequestFromJSONTyped(json, false);
}
function PlexTokenRedeemRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'plexToken': json['plex_token'],
    };
}
function PlexTokenRedeemRequestToJSON(json) {
    return PlexTokenRedeemRequestToJSONTyped(json, false);
}
function PlexTokenRedeemRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'plex_token': value['plexToken'],
    };
}
//# sourceMappingURL=PlexTokenRedeemRequest.js.map