/* Options: Date: 2024-12-22 21:25:19 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: UpdatePlayer.* //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 UpdatePlayer : IReturn, IPatchDb { open var id:Int? = null @Validate(Validator="NotEmpty") open var firstName:String? = null open var lastName:String? = null open var email:String? = null open var phoneNumbers:ArrayList? = null open var profileId:Int? = null open var savedLevelId:UUID? = null companion object { private val responseType = IdResponse::class.java } override fun getResponseType(): Any? = UpdatePlayer.responseType } @DataContract open class IdResponse { @DataMember(Order=1) open var id:String? = null @DataMember(Order=2) open var responseStatus:ResponseStatus? = null } open class Player : AuditBase() { open var id:Int? = null @Required() open var firstName:String? = null open var lastName:String? = null open var email:String? = null open var phoneNumbers:ArrayList = ArrayList() open var gameItems:ArrayList = ArrayList() open var profile:Profile? = null open var profileId:Int? = null open var savedLevelId:UUID? = null open var rowVersion:BigInteger? = null } open class Phone { open var kind:PhoneKind? = null open var number:String? = null open var ext:String? = null } enum class PhoneKind { Home, Mobile, Work, }