/* Options: Date: 2024-05-09 03:10:23 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://test.servicestack.net //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: EchoComplexTypes.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export class SubType { public id: number; public name: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/echo/complex") export class EchoComplexTypes implements IReturn { public subType: SubType; public subTypes: SubType[]; public subTypeMap: { [index: string]: SubType; }; public stringMap: { [index: string]: string; }; public intStringMap: { [index: number]: string; }; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'EchoComplexTypes'; } public getMethod() { return 'POST'; } public createResponse() { return new EchoComplexTypes(); } }