/* 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 CreateAPIKeyRequestDTO */ export interface CreateAPIKeyRequestDTO { /** * * @type {string} * @memberof CreateAPIKeyRequestDTO */ name: string; } /** * Check if a given object implements the CreateAPIKeyRequestDTO interface. */ export function instanceOfCreateAPIKeyRequestDTO(value: object): value is CreateAPIKeyRequestDTO { if (!('name' in value) || value['name'] === undefined) return false; return true; } export function CreateAPIKeyRequestDTOFromJSON(json: any): CreateAPIKeyRequestDTO { return CreateAPIKeyRequestDTOFromJSONTyped(json, false); } export function CreateAPIKeyRequestDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateAPIKeyRequestDTO { if (json == null) { return json; } return { 'name': json['name'], }; } export function CreateAPIKeyRequestDTOToJSON(json: any): CreateAPIKeyRequestDTO { return CreateAPIKeyRequestDTOToJSONTyped(json, false); } export function CreateAPIKeyRequestDTOToJSONTyped(value?: CreateAPIKeyRequestDTO | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'name': value['name'], }; }