/* Options: Date: 2026-09-01 19:38:26 Version: 10.09 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: QueryTodos.* //ExcludeTypes: //DefaultImports: */ package dtos import ( ss "github.com/ServiceStack/servicestack-go" ) type Todo struct { Id int64 `json:"id,omitempty"` Text string `json:"text"` IsFinished bool `json:"isFinished,omitempty"` } // @Route("/todos", "GET") type QueryTodos struct { ss.QueryData Id *int `json:"id,omitempty"` Ids []int64 `json:"ids,omitempty"` TextContains *string `json:"textContains,omitempty"` } func (QueryTodos) CreateResponse() (r ss.QueryResponse[Todo]) { return } func (QueryTodos) HttpMethod() string { return "GET" }