/* 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 ApplicationWithApplicationCountDTO */ export interface ApplicationWithApplicationCountDTO { /** * * @type {string} * @memberof ApplicationWithApplicationCountDTO */ accountId?: string; /** * * @type {string} * @memberof ApplicationWithApplicationCountDTO */ createdAt?: string; /** * * @type {string} * @memberof ApplicationWithApplicationCountDTO */ description?: string; /** * * @type {string} * @memberof ApplicationWithApplicationCountDTO */ id?: string; /** * * @type {string} * @memberof ApplicationWithApplicationCountDTO */ initialMessage?: string; /** * * @type {number} * @memberof ApplicationWithApplicationCountDTO */ mcpServersCount?: number; /** * * @type {string} * @memberof ApplicationWithApplicationCountDTO */ name?: string; /** * * @type {string} * @memberof ApplicationWithApplicationCountDTO */ ragApiKey?: string; /** * * @type {string} * @memberof ApplicationWithApplicationCountDTO */ resourceGroupId?: string; /** * * @type {string} * @memberof ApplicationWithApplicationCountDTO */ systemPrompt?: string; } /** * Check if a given object implements the ApplicationWithApplicationCountDTO interface. */ export function instanceOfApplicationWithApplicationCountDTO(value: object): value is ApplicationWithApplicationCountDTO { return true; } export function ApplicationWithApplicationCountDTOFromJSON(json: any): ApplicationWithApplicationCountDTO { return ApplicationWithApplicationCountDTOFromJSONTyped(json, false); } export function ApplicationWithApplicationCountDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApplicationWithApplicationCountDTO { if (json == null) { return json; } return { 'accountId': json['accountId'] == null ? undefined : json['accountId'], 'createdAt': json['createdAt'] == null ? undefined : json['createdAt'], 'description': json['description'] == null ? undefined : json['description'], 'id': json['id'] == null ? undefined : json['id'], 'initialMessage': json['initialMessage'] == null ? undefined : json['initialMessage'], 'mcpServersCount': json['mcpServersCount'] == null ? undefined : json['mcpServersCount'], '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 ApplicationWithApplicationCountDTOToJSON(json: any): ApplicationWithApplicationCountDTO { return ApplicationWithApplicationCountDTOToJSONTyped(json, false); } export function ApplicationWithApplicationCountDTOToJSONTyped(value?: ApplicationWithApplicationCountDTO | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'accountId': value['accountId'], 'createdAt': value['createdAt'], 'description': value['description'], 'id': value['id'], 'initialMessage': value['initialMessage'], 'mcpServersCount': value['mcpServersCount'], 'name': value['name'], 'ragApiKey': value['ragApiKey'], 'resourceGroupId': value['resourceGroupId'], 'systemPrompt': value['systemPrompt'], }; }