/* Options: Date: 2025-05-12 15:53:06 Version: 8.53 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: HelloAllTypes.* //ExcludeTypes: //DefaultImports: */ export class AllTypes implements IReturn { public id: number; public nullableId?: number; public byte: number; public short: number; public int: number; public long: number; public uShort: number; public uInt: number; public uLong: number; public float: number; public double: number; public decimal: number; public string: string; public dateTime: string; public timeSpan: string; public dateTimeOffset: string; public guid: string; public char: string; public keyValuePair: KeyValuePair; public nullableDateTime?: string; public nullableTimeSpan?: string; public stringList: string[] = []; public stringArray: string[] = []; public stringMap: { [index:string]: string; } = {}; public intStringMap: { [index:number]: string; } = {}; public subType: SubType; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'AllTypes'; } public getMethod() { return 'POST'; } public createResponse() { return new AllTypes(); } } export class AllCollectionTypes implements IReturn { public intArray: number[] = []; public intList: number[] = []; public stringArray: string[] = []; public stringList: string[] = []; public floatArray: number[] = []; public doubleList: number[] = []; public byteArray: string = []; public charArray: string[] = []; public decimalList: number[] = []; public pocoArray: Poco[] = []; public pocoList: Poco[] = []; public pocoLookup: { [index:string]: Poco[]; } = {}; public pocoLookupMap: { [index:string]: { [index:string]: Poco; }[]; } = {}; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'AllCollectionTypes'; } public getMethod() { return 'POST'; } public createResponse() { return new AllCollectionTypes(); } } export class HelloAllTypesResponse { public result: string; public allTypes: AllTypes; public allCollectionTypes: AllCollectionTypes; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/all-types") export class HelloAllTypes implements IReturn { public name: string; public allTypes: AllTypes; public allCollectionTypes: AllCollectionTypes; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'HelloAllTypes'; } public getMethod() { return 'POST'; } public createResponse() { return new HelloAllTypesResponse(); } }