/* Options: Date: 2024-12-22 21:40:42 Version: 8.51 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://blazor-gallery.servicestack.net //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: CreateTodo.* //ExcludeTypes: //InitializeCollections: False //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.* @Route(Path="/todos", Verbs="POST") open class CreateTodo : IReturn, IPost { @Validate(Validator="NotEmpty") open var text:String? = null companion object { private val responseType = Todo::class.java } override fun getResponseType(): Any? = CreateTodo.responseType } open class Todo { open var id:Long? = null open var text:String? = null open var isFinished:Boolean? = null }