/* Options: Date: 2024-12-23 12:17:39 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://consumer-api.brovs.com //Package: //GlobalNamespace: ConsumerApi //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: FindSearchCompletionRequest.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class ConsumerApi { @Route(Path="/find/completion", Verbs="GET") public static class FindSearchCompletionRequest implements IReturn, IGet, IPost { public QueryFilterDto filter = null; public QueryLocationDto location = null; public QueryFilterDto getFilter() { return filter; } public FindSearchCompletionRequest setFilter(QueryFilterDto value) { this.filter = value; return this; } public QueryLocationDto getLocation() { return location; } public FindSearchCompletionRequest setLocation(QueryLocationDto value) { this.location = value; return this; } private static Object responseType = FindSearchCompletionResponse.class; public Object getResponseType() { return responseType; } } public static class FindSearchCompletionResponse { public ArrayList suggestions = null; public ArrayList getSuggestions() { return suggestions; } public FindSearchCompletionResponse setSuggestions(ArrayList value) { this.suggestions = value; return this; } } public static class QueryFilterDto { public String term = null; public UUID placeGuid = null; public UUID adMessageGuid = null; public ArrayList categoryAbsoluteSlugs = null; public ArrayList barSpecialitySlugs = null; public ArrayList barTypeSlugs = null; public ArrayList brandNames = null; public ArrayList cuisineSlugs = null; public ArrayList mealTypeSlugs = null; public ArrayList parking = null; public ArrayList paymentOptions = null; public ArrayList priceMainDishes = null; public ArrayList eatingSuitabilitySlugs = null; public ArrayList takeAwaySlugs = null; public ArrayList wearPriceProfileSlugs = null; public Boolean wheelChairAccessible = null; public Boolean wifi = null; public Boolean outdoorSeating = null; public Boolean saveFoodAndMoney = null; public OpenAtTimeDto openAt = null; public String getTerm() { return term; } public QueryFilterDto setTerm(String value) { this.term = value; return this; } public UUID getPlaceGuid() { return placeGuid; } public QueryFilterDto setPlaceGuid(UUID value) { this.placeGuid = value; return this; } public UUID getAdMessageGuid() { return adMessageGuid; } public QueryFilterDto setAdMessageGuid(UUID value) { this.adMessageGuid = value; return this; } public ArrayList getCategoryAbsoluteSlugs() { return categoryAbsoluteSlugs; } public QueryFilterDto setCategoryAbsoluteSlugs(ArrayList value) { this.categoryAbsoluteSlugs = value; return this; } public ArrayList getBarSpecialitySlugs() { return barSpecialitySlugs; } public QueryFilterDto setBarSpecialitySlugs(ArrayList value) { this.barSpecialitySlugs = value; return this; } public ArrayList getBarTypeSlugs() { return barTypeSlugs; } public QueryFilterDto setBarTypeSlugs(ArrayList value) { this.barTypeSlugs = value; return this; } public ArrayList getBrandNames() { return brandNames; } public QueryFilterDto setBrandNames(ArrayList value) { this.brandNames = value; return this; } public ArrayList getCuisineSlugs() { return cuisineSlugs; } public QueryFilterDto setCuisineSlugs(ArrayList value) { this.cuisineSlugs = value; return this; } public ArrayList getMealTypeSlugs() { return mealTypeSlugs; } public QueryFilterDto setMealTypeSlugs(ArrayList value) { this.mealTypeSlugs = value; return this; } public ArrayList getParking() { return parking; } public QueryFilterDto setParking(ArrayList value) { this.parking = value; return this; } public ArrayList getPaymentOptions() { return paymentOptions; } public QueryFilterDto setPaymentOptions(ArrayList value) { this.paymentOptions = value; return this; } public ArrayList getPriceMainDishes() { return priceMainDishes; } public QueryFilterDto setPriceMainDishes(ArrayList value) { this.priceMainDishes = value; return this; } public ArrayList getEatingSuitabilitySlugs() { return eatingSuitabilitySlugs; } public QueryFilterDto setEatingSuitabilitySlugs(ArrayList value) { this.eatingSuitabilitySlugs = value; return this; } public ArrayList getTakeAwaySlugs() { return takeAwaySlugs; } public QueryFilterDto setTakeAwaySlugs(ArrayList value) { this.takeAwaySlugs = value; return this; } public ArrayList getWearPriceProfileSlugs() { return wearPriceProfileSlugs; } public QueryFilterDto setWearPriceProfileSlugs(ArrayList value) { this.wearPriceProfileSlugs = value; return this; } public Boolean isWheelChairAccessible() { return wheelChairAccessible; } public QueryFilterDto setWheelChairAccessible(Boolean value) { this.wheelChairAccessible = value; return this; } public Boolean isWifi() { return wifi; } public QueryFilterDto setWifi(Boolean value) { this.wifi = value; return this; } public Boolean isOutdoorSeating() { return outdoorSeating; } public QueryFilterDto setOutdoorSeating(Boolean value) { this.outdoorSeating = value; return this; } public Boolean isSaveFoodAndMoney() { return saveFoodAndMoney; } public QueryFilterDto setSaveFoodAndMoney(Boolean value) { this.saveFoodAndMoney = value; return this; } public OpenAtTimeDto getOpenAt() { return openAt; } public QueryFilterDto setOpenAt(OpenAtTimeDto value) { this.openAt = value; return this; } } public static class QueryLocationDto { public Float longitude = null; public Float latitude = null; public Float searchRadiusInKm = null; public Float getLongitude() { return longitude; } public QueryLocationDto setLongitude(Float value) { this.longitude = value; return this; } public Float getLatitude() { return latitude; } public QueryLocationDto setLatitude(Float value) { this.latitude = value; return this; } public Float getSearchRadiusInKm() { return searchRadiusInKm; } public QueryLocationDto setSearchRadiusInKm(Float value) { this.searchRadiusInKm = value; return this; } } public static class FindSearchCompletionEntry { public FindSearchCompletionCategory category = null; public FindSearchCompletionBrand brand = null; public FindSearchCompletionPlace place = null; public FindSearchCompletionFreeText freeText = null; public FindSearchCompletionCategory getCategory() { return category; } public FindSearchCompletionEntry setCategory(FindSearchCompletionCategory value) { this.category = value; return this; } public FindSearchCompletionBrand getBrand() { return brand; } public FindSearchCompletionEntry setBrand(FindSearchCompletionBrand value) { this.brand = value; return this; } public FindSearchCompletionPlace getPlace() { return place; } public FindSearchCompletionEntry setPlace(FindSearchCompletionPlace value) { this.place = value; return this; } public FindSearchCompletionFreeText getFreeText() { return freeText; } public FindSearchCompletionEntry setFreeText(FindSearchCompletionFreeText value) { this.freeText = value; return this; } } public static enum Parking { StreetParking, ParkingGarageNearby; } public static enum PaymentOption { Visa, MasterCard, AmericanExpress, Diners, Vipps; } public static enum PriceMainDish { Value, Medium, High, FineDining; } public static class OpenAtTimeDto { public DayOfWeek weekDay = null; public Integer hour = null; public Integer minute = null; public DayOfWeek getWeekDay() { return weekDay; } public OpenAtTimeDto setWeekDay(DayOfWeek value) { this.weekDay = value; return this; } public Integer getHour() { return hour; } public OpenAtTimeDto setHour(Integer value) { this.hour = value; return this; } public Integer getMinute() { return minute; } public OpenAtTimeDto setMinute(Integer value) { this.minute = value; return this; } } public static class FindSearchCompletionCategory { public String name = null; public String absoluteSlug = null; public String getName() { return name; } public FindSearchCompletionCategory setName(String value) { this.name = value; return this; } public String getAbsoluteSlug() { return absoluteSlug; } public FindSearchCompletionCategory setAbsoluteSlug(String value) { this.absoluteSlug = value; return this; } } public static class FindSearchCompletionBrand { public String name = null; public String categoryAbsoluteSlug = null; public String getName() { return name; } public FindSearchCompletionBrand setName(String value) { this.name = value; return this; } public String getCategoryAbsoluteSlug() { return categoryAbsoluteSlug; } public FindSearchCompletionBrand setCategoryAbsoluteSlug(String value) { this.categoryAbsoluteSlug = value; return this; } } public static class FindSearchCompletionPlace { public String name = null; public UUID guid = null; public String getName() { return name; } public FindSearchCompletionPlace setName(String value) { this.name = value; return this; } public UUID getGuid() { return guid; } public FindSearchCompletionPlace setGuid(UUID value) { this.guid = value; return this; } } public static class FindSearchCompletionFreeText { public String term = null; public String getTerm() { return term; } public FindSearchCompletionFreeText setTerm(String value) { this.term = value; return this; } } public static enum DayOfWeek { Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday; } }