/* Options: Date: 2024-12-22 21:36:15 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: UpdateGameItem.* //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.* open class UpdateGameItem : IReturn, IPatchDb { @Validate(Validator="NotEmpty") open var name:String? = null @Validate(Validator="NotEmpty") open var description:String? = null open var imageUrl:String? = null companion object { private val responseType = IdResponse::class.java } override fun getResponseType(): Any? = UpdateGameItem.responseType } @DataContract open class IdResponse { @DataMember(Order=1) open var id:String? = null @DataMember(Order=2) open var responseStatus:ResponseStatus? = null } open class GameItem : AuditBase() { @StringLength(MaximumLength=50) open var name:String? = null open var imageUrl:String? = null @StringLength(MaximumLength=2147483647) open var description:String? = null open var dateAdded:Date? = null }