"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.instanceOfMDMConfigResponse = instanceOfMDMConfigResponse;
exports.MDMConfigResponseFromJSON = MDMConfigResponseFromJSON;
exports.MDMConfigResponseFromJSONTyped = MDMConfigResponseFromJSONTyped;
exports.MDMConfigResponseToJSON = MDMConfigResponseToJSON;
exports.MDMConfigResponseToJSONTyped = MDMConfigResponseToJSONTyped;
/**
 * Check if a given object implements the MDMConfigResponse interface.
 */
function instanceOfMDMConfigResponse(value) {
    if (!('config' in value) || value['config'] === undefined)
        return false;
    if (!('mimeType' in value) || value['mimeType'] === undefined)
        return false;
    if (!('filename' in value) || value['filename'] === undefined)
        return false;
    return true;
}
function MDMConfigResponseFromJSON(json) {
    return MDMConfigResponseFromJSONTyped(json, false);
}
function MDMConfigResponseFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'config': json['config'],
        'mimeType': json['mime_type'],
        'filename': json['filename'],
    };
}
function MDMConfigResponseToJSON(json) {
    return MDMConfigResponseToJSONTyped(json, false);
}
function MDMConfigResponseToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'config': value['config'],
        'mime_type': value['mimeType'],
        'filename': value['filename'],
    };
}
//# sourceMappingURL=MDMConfigResponse.js.map