/* 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 CreateAccountDTO */ export interface CreateAccountDTO { /** * * @type {string} * @memberof CreateAccountDTO */ firstName: string; /** * * @type {string} * @memberof CreateAccountDTO */ lastName: string; } /** * Check if a given object implements the CreateAccountDTO interface. */ export function instanceOfCreateAccountDTO(value: object): value is CreateAccountDTO { if (!('firstName' in value) || value['firstName'] === undefined) return false; if (!('lastName' in value) || value['lastName'] === undefined) return false; return true; } export function CreateAccountDTOFromJSON(json: any): CreateAccountDTO { return CreateAccountDTOFromJSONTyped(json, false); } export function CreateAccountDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateAccountDTO { if (json == null) { return json; } return { 'firstName': json['firstName'], 'lastName': json['lastName'], }; } export function CreateAccountDTOToJSON(json: any): CreateAccountDTO { return CreateAccountDTOToJSONTyped(json, false); } export function CreateAccountDTOToJSONTyped(value?: CreateAccountDTO | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'firstName': value['firstName'], 'lastName': value['lastName'], }; }