/* 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 UpdateApplicationDTO */ export interface UpdateApplicationDTO { /** * * @type {string} * @memberof UpdateApplicationDTO */ description?: string; /** * * @type {string} * @memberof UpdateApplicationDTO */ initialMessage?: string; /** * * @type {string} * @memberof UpdateApplicationDTO */ name?: string; /** * * @type {string} * @memberof UpdateApplicationDTO */ ragApiKey?: string; /** * * @type {string} * @memberof UpdateApplicationDTO */ resourceGroupId?: string; /** * * @type {string} * @memberof UpdateApplicationDTO */ systemPrompt?: string; } /** * Check if a given object implements the UpdateApplicationDTO interface. */ export function instanceOfUpdateApplicationDTO(value: object): value is UpdateApplicationDTO { return true; } export function UpdateApplicationDTOFromJSON(json: any): UpdateApplicationDTO { return UpdateApplicationDTOFromJSONTyped(json, false); } export function UpdateApplicationDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateApplicationDTO { if (json == null) { return json; } return { 'description': json['description'] == null ? undefined : json['description'], 'initialMessage': json['initialMessage'] == null ? undefined : json['initialMessage'], 'name': json['name'] == null ? undefined : 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 UpdateApplicationDTOToJSON(json: any): UpdateApplicationDTO { return UpdateApplicationDTOToJSONTyped(json, false); } export function UpdateApplicationDTOToJSONTyped(value?: UpdateApplicationDTO | 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'], }; }