"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.instanceOfContentType = instanceOfContentType;
exports.ContentTypeFromJSON = ContentTypeFromJSON;
exports.ContentTypeFromJSONTyped = ContentTypeFromJSONTyped;
exports.ContentTypeToJSON = ContentTypeToJSON;
exports.ContentTypeToJSONTyped = ContentTypeToJSONTyped;
/**
 * Check if a given object implements the ContentType interface.
 */
function instanceOfContentType(value) {
    if (!('id' in value) || value['id'] === undefined)
        return false;
    if (!('appLabel' in value) || value['appLabel'] === undefined)
        return false;
    if (!('model' in value) || value['model'] === undefined)
        return false;
    if (!('verboseNamePlural' in value) || value['verboseNamePlural'] === undefined)
        return false;
    return true;
}
function ContentTypeFromJSON(json) {
    return ContentTypeFromJSONTyped(json, false);
}
function ContentTypeFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'id': json['id'],
        'appLabel': json['app_label'],
        'model': json['model'],
        'verboseNamePlural': json['verbose_name_plural'],
    };
}
function ContentTypeToJSON(json) {
    return ContentTypeToJSONTyped(json, false);
}
function ContentTypeToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {};
}
//# sourceMappingURL=ContentType.js.map