/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2025.12.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.
 */

import { mapValues } from '../runtime';
/**
 * Base serializer class which doesn't implement create/update methods
 * @export
 * @interface MDMConfigResponse
 */
export interface MDMConfigResponse {
    /**
     * 
     * @type {string}
     * @memberof MDMConfigResponse
     */
    config: string;
}

/**
 * Check if a given object implements the MDMConfigResponse interface.
 */
export function instanceOfMDMConfigResponse(value: object): value is MDMConfigResponse {
    if (!('config' in value) || value['config'] === undefined) return false;
    return true;
}

export function MDMConfigResponseFromJSON(json: any): MDMConfigResponse {
    return MDMConfigResponseFromJSONTyped(json, false);
}

export function MDMConfigResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): MDMConfigResponse {
    if (json == null) {
        return json;
    }
    return {
        
        'config': json['config'],
    };
}

export function MDMConfigResponseToJSON(json: any): MDMConfigResponse {
    return MDMConfigResponseToJSONTyped(json, false);
}

export function MDMConfigResponseToJSONTyped(value?: MDMConfigResponse | null, ignoreDiscriminator: boolean = false): any {
    if (value == null) {
        return value;
    }

    return {
        
        'config': value['config'],
    };
}

