/* 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 CreateApplicationDTO */ export interface CreateApplicationDTO { /** * * @type {string} * @memberof CreateApplicationDTO */ description?: string; /** * * @type {string} * @memberof CreateApplicationDTO */ initialMessage?: string; /** * * @type {string} * @memberof CreateApplicationDTO */ name: string; /** * * @type {string} * @memberof CreateApplicationDTO */ ragApiKey?: string; /** * * @type {string} * @memberof CreateApplicationDTO */ resourceGroupId?: string; /** * * @type {string} * @memberof CreateApplicationDTO */ systemPrompt?: string; } /** * Check if a given object implements the CreateApplicationDTO interface. */ export function instanceOfCreateApplicationDTO(value: object): value is CreateApplicationDTO { if (!('name' in value) || value['name'] === undefined) return false; return true; } export function CreateApplicationDTOFromJSON(json: any): CreateApplicationDTO { return CreateApplicationDTOFromJSONTyped(json, false); } export function CreateApplicationDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateApplicationDTO { if (json == null) { return json; } return { 'description': json['description'] == null ? undefined : json['description'], 'initialMessage': json['initialMessage'] == null ? undefined : json['initialMessage'], 'name': json['name'], 'ragApiKey': json['ragApiKey'] == null ? undefined : json['ragApiKey'], 'resourceGroupId': json['resourceGroupId'] == null ? undefined : json['resourceGroupId'], 'systemPrompt': json['systemPrompt'] == null ? undefined : json['systemPrompt'], }; } export function CreateApplicationDTOToJSON(json: any): CreateApplicationDTO { return CreateApplicationDTOToJSONTyped(json, false); } export function CreateApplicationDTOToJSONTyped(value?: CreateApplicationDTO | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'description': value['description'], 'initialMessage': value['initialMessage'], 'name': value['name'], 'ragApiKey': value['ragApiKey'], 'resourceGroupId': value['resourceGroupId'], 'systemPrompt': value['systemPrompt'], }; }