/* Options: Date: 2024-11-21 15:07:01 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: CachedGetAllCustomers.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route("/cached/customers") open class CachedGetAllCustomers : IReturn, IGet { companion object { private val responseType = CustomersResponse::class.java } override fun getResponseType(): Any? = CachedGetAllCustomers.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 }