/* Options: Date: 2024-12-22 21:51:32 Version: 8.51 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://blazor-gallery.servicestack.net //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: CreateTodo.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.*; import java.util.*; import java.io.InputStream; import net.servicestack.client.*; public class dtos { @Route(Path="/todos", Verbs="POST") public static class CreateTodo implements IReturn, IPost { @Validate(Validator="NotEmpty") public String text = null; public String getText() { return text; } public CreateTodo setText(String value) { this.text = value; return this; } private static Object responseType = Todo.class; public Object getResponseType() { return responseType; } } public static class Todo { public Long id = null; public String text = null; public Boolean isFinished = null; public Long getId() { return id; } public Todo setId(Long value) { this.id = value; return this; } public String getText() { return text; } public Todo setText(String value) { this.text = value; return this; } public Boolean getIsFinished() { return isFinished; } public Todo setIsFinished(Boolean value) { this.isFinished = value; return this; } } }