/* Options: Date: 2025-12-06 08:00:50 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://backoffice-api.brovs.com //Package: //GlobalNamespace: BackofficeApi //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: BusinessSearchRequest.* //ExcludeTypes: //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.*; public class BackofficeApi { @Route(Path="/business/search", Verbs="GET") public static class BusinessSearchRequest implements IReturn, IGet { public String query = null; public Integer size = null; public Integer offset = null; public String getQuery() { return query; } public BusinessSearchRequest setQuery(String value) { this.query = value; return this; } public Integer getSize() { return size; } public BusinessSearchRequest setSize(Integer value) { this.size = value; return this; } public Integer getOffset() { return offset; } public BusinessSearchRequest setOffset(Integer value) { this.offset = value; return this; } private static Object responseType = BusinessSearchResponse.class; public Object getResponseType() { return responseType; } } public static class BusinessSearchResponse { public ArrayList businesses = new ArrayList(); public Long total = null; public Integer size = null; public Integer offset = null; public ArrayList getBusinesses() { return businesses; } public BusinessSearchResponse setBusinesses(ArrayList value) { this.businesses = value; return this; } public Long getTotal() { return total; } public BusinessSearchResponse setTotal(Long value) { this.total = value; return this; } public Integer getSize() { return size; } public BusinessSearchResponse setSize(Integer value) { this.size = value; return this; } public Integer getOffset() { return offset; } public BusinessSearchResponse setOffset(Integer value) { this.offset = value; return this; } } public static class BusinessDto { public Long id = null; public String name = null; public String organizationNumber = null; public String postalAddress = null; public String postalCode = null; public String city = null; public String country = null; public BusinessContact contact = null; public Long getId() { return id; } public BusinessDto setId(Long value) { this.id = value; return this; } public String getName() { return name; } public BusinessDto setName(String value) { this.name = value; return this; } public String getOrganizationNumber() { return organizationNumber; } public BusinessDto setOrganizationNumber(String value) { this.organizationNumber = value; return this; } public String getPostalAddress() { return postalAddress; } public BusinessDto setPostalAddress(String value) { this.postalAddress = value; return this; } public String getPostalCode() { return postalCode; } public BusinessDto setPostalCode(String value) { this.postalCode = value; return this; } public String getCity() { return city; } public BusinessDto setCity(String value) { this.city = value; return this; } public String getCountry() { return country; } public BusinessDto setCountry(String value) { this.country = value; return this; } public BusinessContact getContact() { return contact; } public BusinessDto setContact(BusinessContact value) { this.contact = value; return this; } } public static class BusinessContact { public String firstName = null; public String lastName = null; public String position = null; public String phone = null; public String email = null; public String getFirstName() { return firstName; } public BusinessContact setFirstName(String value) { this.firstName = value; return this; } public String getLastName() { return lastName; } public BusinessContact setLastName(String value) { this.lastName = value; return this; } public String getPosition() { return position; } public BusinessContact setPosition(String value) { this.position = value; return this; } public String getPhone() { return phone; } public BusinessContact setPhone(String value) { this.phone = value; return this; } public String getEmail() { return email; } public BusinessContact setEmail(String value) { this.email = value; return this; } } }