/* Options: Date: 2024-12-22 21:05:34 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: CreateTracks.* //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="/tracks", Verbs="POST") open class CreateTracks : IReturn, IPost, ICreateDb { open var name:String? = null open var albumId:Long? = null open var mediaTypeId:Long? = null open var genreId:Long? = null open var composer:String? = null open var milliseconds:Long? = null open var bytes:Long? = null open var unitPrice:BigDecimal? = null companion object { private val responseType = IdResponse::class.java } override fun getResponseType(): Any? = CreateTracks.responseType } @DataContract open class IdResponse { @DataMember(Order=1) open var id:String? = null @DataMember(Order=2) open var responseStatus:ResponseStatus? = null } open class Tracks { open var trackId:Long? = null @Required() open var name:String? = null open var albumId:Long? = null open var mediaTypeId:Long? = null open var genreId:Long? = null open var composer:String? = null open var milliseconds:Long? = null open var bytes:Long? = null open var unitPrice:BigDecimal? = null }