/* tslint:disable */ /* eslint-disable */ /** * authentik * Making authentication simple. * * The version of the OpenAPI document: 2026.2.3-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; /** * * @type {string} * @memberof MDMConfigResponse */ mimeType: string; /** * * @type {string} * @memberof MDMConfigResponse */ filename: 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; if (!('mimeType' in value) || value['mimeType'] === undefined) return false; if (!('filename' in value) || value['filename'] === 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'], 'mimeType': json['mime_type'], 'filename': json['filename'], }; } 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'], 'mime_type': value['mimeType'], 'filename': value['filename'], }; }