"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2026.2.2-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.instanceOfLicenseForecast = instanceOfLicenseForecast;
exports.LicenseForecastFromJSON = LicenseForecastFromJSON;
exports.LicenseForecastFromJSONTyped = LicenseForecastFromJSONTyped;
exports.LicenseForecastToJSON = LicenseForecastToJSON;
exports.LicenseForecastToJSONTyped = LicenseForecastToJSONTyped;
/**
 * Check if a given object implements the LicenseForecast interface.
 */
function instanceOfLicenseForecast(value) {
    if (!('internalUsers' in value) || value['internalUsers'] === undefined)
        return false;
    if (!('externalUsers' in value) || value['externalUsers'] === undefined)
        return false;
    if (!('forecastedInternalUsers' in value) || value['forecastedInternalUsers'] === undefined)
        return false;
    if (!('forecastedExternalUsers' in value) || value['forecastedExternalUsers'] === undefined)
        return false;
    return true;
}
function LicenseForecastFromJSON(json) {
    return LicenseForecastFromJSONTyped(json, false);
}
function LicenseForecastFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'internalUsers': json['internal_users'],
        'externalUsers': json['external_users'],
        'forecastedInternalUsers': json['forecasted_internal_users'],
        'forecastedExternalUsers': json['forecasted_external_users'],
    };
}
function LicenseForecastToJSON(json) {
    return LicenseForecastToJSONTyped(json, false);
}
function LicenseForecastToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'internal_users': value['internalUsers'],
        'external_users': value['externalUsers'],
        'forecasted_internal_users': value['forecastedInternalUsers'],
        'forecasted_external_users': value['forecastedExternalUsers'],
    };
}
//# sourceMappingURL=LicenseForecast.js.map