/* Options: Date: 2024-12-22 21:23:10 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: UpdateChinookCustomer.* //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="/customers/{CustomerId}", Verbs="PUT") open class UpdateChinookCustomer : IReturn, IPut, IUpdateDb { open var customerId:Long? = null open var firstName:String? = null open var lastName:String? = null open var company:String? = null open var address:String? = null open var city:String? = null open var state:String? = null open var country:String? = null open var postalCode:String? = null open var phone:String? = null open var fax:String? = null open var email:String? = null open var supportRepId:Long? = null companion object { private val responseType = IdResponse::class.java } override fun getResponseType(): Any? = UpdateChinookCustomer.responseType } @DataContract open class IdResponse { @DataMember(Order=1) open var id:String? = null @DataMember(Order=2) open var responseStatus:ResponseStatus? = null } open class Customers { open var customerId:Long? = null @Required() open var firstName:String? = null @Required() open var lastName:String? = null open var company:String? = null open var address:String? = null open var city:String? = null open var state:String? = null open var country:String? = null open var postalCode:String? = null open var phone:String? = null open var fax:String? = null @Required() open var email:String? = null open var supportRepId:Long? = null }