/* Options: Date: 2024-12-22 21:42:18 Version: 8.51 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://blazor-gallery.servicestack.net //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: UpdateTodo.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export interface IPut { } export class Todo { public id: number; public text: string; public isFinished: boolean; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/todos/{Id}", "PUT") export class UpdateTodo implements IReturn, IPut { public id: number; // @Validate(Validator="NotEmpty") public text: string; public isFinished: boolean; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'UpdateTodo'; } public getMethod() { return 'PUT'; } public createResponse() { return new Todo(); } }