/* Options: Date: 2024-12-22 21:49:33 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: UpdateTodo.* //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/{Id}", Verbs="PUT") public static class UpdateTodo implements IReturn, IPut { public Long id = null; @Validate(Validator="NotEmpty") public String text = null; public Boolean isFinished = null; public Long getId() { return id; } public UpdateTodo setId(Long value) { this.id = value; return this; } public String getText() { return text; } public UpdateTodo setText(String value) { this.text = value; return this; } public Boolean getIsFinished() { return isFinished; } public UpdateTodo setIsFinished(Boolean value) { this.isFinished = 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; } } }