/* Options: Date: 2024-11-21 15:19:11 Version: 6.111 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://northwind.netcore.io //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: CachedGetAllCustomers.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { @Route("/cached/customers") public static class CachedGetAllCustomers implements IReturn, IGet { private static Object responseType = CustomersResponse.class; public Object getResponseType() { return responseType; } } @DataContract public static class CustomersResponse { @DataMember public ArrayList results = null; @DataMember public ResponseStatus responseStatus = null; public ArrayList getResults() { return results; } public CustomersResponse setResults(ArrayList value) { this.results = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public CustomersResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } @DataContract public static class Customer { @DataMember public String id = null; @DataMember public String companyName = null; @DataMember public String contactName = null; @DataMember public String contactTitle = null; @DataMember public String address = null; @DataMember public String city = null; @DataMember public String region = null; @DataMember public String postalCode = null; @DataMember public String country = null; @DataMember public String phone = null; @DataMember public String fax = null; public String getId() { return id; } public Customer setId(String value) { this.id = value; return this; } public String getCompanyName() { return companyName; } public Customer setCompanyName(String value) { this.companyName = value; return this; } public String getContactName() { return contactName; } public Customer setContactName(String value) { this.contactName = value; return this; } public String getContactTitle() { return contactTitle; } public Customer setContactTitle(String value) { this.contactTitle = value; return this; } public String getAddress() { return address; } public Customer setAddress(String value) { this.address = value; return this; } public String getCity() { return city; } public Customer setCity(String value) { this.city = value; return this; } public String getRegion() { return region; } public Customer setRegion(String value) { this.region = value; return this; } public String getPostalCode() { return postalCode; } public Customer setPostalCode(String value) { this.postalCode = value; return this; } public String getCountry() { return country; } public Customer setCountry(String value) { this.country = value; return this; } public String getPhone() { return phone; } public Customer setPhone(String value) { this.phone = value; return this; } public String getFax() { return fax; } public Customer setFax(String value) { this.fax = value; return this; } } }