"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.instanceOfStaticDeviceToken = instanceOfStaticDeviceToken;
exports.StaticDeviceTokenFromJSON = StaticDeviceTokenFromJSON;
exports.StaticDeviceTokenFromJSONTyped = StaticDeviceTokenFromJSONTyped;
exports.StaticDeviceTokenToJSON = StaticDeviceTokenToJSON;
exports.StaticDeviceTokenToJSONTyped = StaticDeviceTokenToJSONTyped;
/**
 * Check if a given object implements the StaticDeviceToken interface.
 */
function instanceOfStaticDeviceToken(value) {
    if (!('token' in value) || value['token'] === undefined)
        return false;
    return true;
}
function StaticDeviceTokenFromJSON(json) {
    return StaticDeviceTokenFromJSONTyped(json, false);
}
function StaticDeviceTokenFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'token': json['token'],
    };
}
function StaticDeviceTokenToJSON(json) {
    return StaticDeviceTokenToJSONTyped(json, false);
}
function StaticDeviceTokenToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'token': value['token'],
    };
}
//# sourceMappingURL=StaticDeviceToken.js.map