/* Options: Date: 2024-11-21 17:50:52 Version: 6.111 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://northwind.netcore.io //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetAllCustomers.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route("/customers") open class GetAllCustomers : IReturn, IGet { companion object { private val responseType = CustomersResponse::class.java } override fun getResponseType(): Any? = GetAllCustomers.responseType } @DataContract open class CustomersResponse { @DataMember var results:ArrayList = ArrayList() @DataMember var responseStatus:ResponseStatus? = null } @DataContract open class Customer { @DataMember var id:String? = null @DataMember var companyName:String? = null @DataMember var contactName:String? = null @DataMember var contactTitle:String? = null @DataMember var address:String? = null @DataMember var city:String? = null @DataMember var region:String? = null @DataMember var postalCode:String? = null @DataMember var country:String? = null @DataMember var phone:String? = null @DataMember var fax:String? = null }