/* tslint:disable */ /* eslint-disable */ /** * Tuix MCP Host API * Service managing MCP servers for Tuix applications. * * The version of the OpenAPI document: 0.0.1 * * * 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'; /** * * @export * @interface ErrorDTO */ export interface ErrorDTO { /** * * @type {string} * @memberof ErrorDTO */ message?: string; } /** * Check if a given object implements the ErrorDTO interface. */ export function instanceOfErrorDTO(value: object): value is ErrorDTO { return true; } export function ErrorDTOFromJSON(json: any): ErrorDTO { return ErrorDTOFromJSONTyped(json, false); } export function ErrorDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): ErrorDTO { if (json == null) { return json; } return { 'message': json['message'] == null ? undefined : json['message'], }; } export function ErrorDTOToJSON(json: any): ErrorDTO { return ErrorDTOToJSONTyped(json, false); } export function ErrorDTOToJSONTyped(value?: ErrorDTO | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'message': value['message'], }; }