/* Options: Date: 2024-12-23 12:13:11 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: GetSavedSearchesRequest.* //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="/searches/GetSavedSearches", Verbs="GET") public static class GetSavedSearchesRequest implements IReturn, IGet { private static Object responseType = GetSavedSearchesResponse.class; public Object getResponseType() { return responseType; } } public static class GetSavedSearchesResponse { public ArrayList searches = null; public ArrayList getSearches() { return searches; } public GetSavedSearchesResponse setSearches(ArrayList value) { this.searches = 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 SavedSearchDto { public Long id = null; public String name = null; public QueryFilterDto filter = null; public QueryLocationDto location = null; public FilterDetails filterDetails = null; public Date createdAt = null; public Date updatedAt = null; public Long getId() { return id; } public SavedSearchDto setId(Long value) { this.id = value; return this; } public String getName() { return name; } public SavedSearchDto setName(String value) { this.name = value; return this; } public QueryFilterDto getFilter() { return filter; } public SavedSearchDto setFilter(QueryFilterDto value) { this.filter = value; return this; } public QueryLocationDto getLocation() { return location; } public SavedSearchDto setLocation(QueryLocationDto value) { this.location = value; return this; } public FilterDetails getFilterDetails() { return filterDetails; } public SavedSearchDto setFilterDetails(FilterDetails value) { this.filterDetails = value; return this; } public Date getCreatedAt() { return createdAt; } public SavedSearchDto setCreatedAt(Date value) { this.createdAt = value; return this; } public Date getUpdatedAt() { return updatedAt; } public SavedSearchDto setUpdatedAt(Date value) { this.updatedAt = 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 BarSpecialityDto { public String slug = null; public String title = null; public String getSlug() { return slug; } public BarSpecialityDto setSlug(String value) { this.slug = value; return this; } public String getTitle() { return title; } public BarSpecialityDto setTitle(String value) { this.title = value; return this; } } public static class BarTypeDto { public String slug = null; public String title = null; public String getSlug() { return slug; } public BarTypeDto setSlug(String value) { this.slug = value; return this; } public String getTitle() { return title; } public BarTypeDto setTitle(String value) { this.title = value; return this; } } public static class CuisineDto { public String label = null; public String slug = null; public String getLabel() { return label; } public CuisineDto setLabel(String value) { this.label = value; return this; } public String getSlug() { return slug; } public CuisineDto setSlug(String value) { this.slug = value; return this; } } public static class MealTypeDto { public String label = null; public String slug = null; public String getLabel() { return label; } public MealTypeDto setLabel(String value) { this.label = value; return this; } public String getSlug() { return slug; } public MealTypeDto setSlug(String value) { this.slug = value; return this; } } public static class ParkingDto { public String label = null; public Parking slug = null; public String getLabel() { return label; } public ParkingDto setLabel(String value) { this.label = value; return this; } public Parking getSlug() { return slug; } public ParkingDto setSlug(Parking value) { this.slug = value; return this; } } public static class PaymentOptionDto { public String label = null; public PaymentOption slug = null; public String getLabel() { return label; } public PaymentOptionDto setLabel(String value) { this.label = value; return this; } public PaymentOption getSlug() { return slug; } public PaymentOptionDto setSlug(PaymentOption value) { this.slug = value; return this; } } public static class EatingSuitabilityDto { public String label = null; public String slug = null; public String getLabel() { return label; } public EatingSuitabilityDto setLabel(String value) { this.label = value; return this; } public String getSlug() { return slug; } public EatingSuitabilityDto setSlug(String value) { this.slug = value; return this; } } public static class TakeAwayDto { public String label = null; public String slug = null; public String getLabel() { return label; } public TakeAwayDto setLabel(String value) { this.label = value; return this; } public String getSlug() { return slug; } public TakeAwayDto setSlug(String value) { this.slug = value; return this; } } public static class WearPriceProfileDto { public String slug = null; public String label = null; public String getSlug() { return slug; } public WearPriceProfileDto setSlug(String value) { this.slug = value; return this; } public String getLabel() { return label; } public WearPriceProfileDto setLabel(String value) { this.label = value; return this; } } public static class PriceMainDishDto { public String title = null; public PriceMainDish slug = null; public String getTitle() { return title; } public PriceMainDishDto setTitle(String value) { this.title = value; return this; } public PriceMainDish getSlug() { return slug; } public PriceMainDishDto setSlug(PriceMainDish value) { this.slug = value; return this; } } public static class FilterDetails { public ArrayList categories = null; public ArrayList barSpecialities = null; public ArrayList barTypes = null; public ArrayList brands = null; public ArrayList cuisines = null; public ArrayList mealTypes = null; public ArrayList parking = null; public ArrayList paymentOptions = null; public ArrayList priceMainDishes = null; public ArrayList eatingSuitability = null; public ArrayList takeAways = null; public ArrayList wearPriceProfiles = null; public ArrayList rootCategories = null; public ArrayList getCategories() { return categories; } public FilterDetails setCategories(ArrayList value) { this.categories = value; return this; } public ArrayList getBarSpecialities() { return barSpecialities; } public FilterDetails setBarSpecialities(ArrayList value) { this.barSpecialities = value; return this; } public ArrayList getBarTypes() { return barTypes; } public FilterDetails setBarTypes(ArrayList value) { this.barTypes = value; return this; } public ArrayList getBrands() { return brands; } public FilterDetails setBrands(ArrayList value) { this.brands = value; return this; } public ArrayList getCuisines() { return cuisines; } public FilterDetails setCuisines(ArrayList value) { this.cuisines = value; return this; } public ArrayList getMealTypes() { return mealTypes; } public FilterDetails setMealTypes(ArrayList value) { this.mealTypes = value; return this; } public ArrayList getParking() { return parking; } public FilterDetails setParking(ArrayList value) { this.parking = value; return this; } public ArrayList getPaymentOptions() { return paymentOptions; } public FilterDetails setPaymentOptions(ArrayList value) { this.paymentOptions = value; return this; } public ArrayList getPriceMainDishes() { return priceMainDishes; } public FilterDetails setPriceMainDishes(ArrayList value) { this.priceMainDishes = value; return this; } public ArrayList getEatingSuitability() { return eatingSuitability; } public FilterDetails setEatingSuitability(ArrayList value) { this.eatingSuitability = value; return this; } public ArrayList getTakeAways() { return takeAways; } public FilterDetails setTakeAways(ArrayList value) { this.takeAways = value; return this; } public ArrayList getWearPriceProfiles() { return wearPriceProfiles; } public FilterDetails setWearPriceProfiles(ArrayList value) { this.wearPriceProfiles = value; return this; } public ArrayList getRootCategories() { return rootCategories; } public FilterDetails setRootCategories(ArrayList value) { this.rootCategories = value; return this; } } public static class BrandDto { public String name = null; public String getName() { return name; } public BrandDto setName(String value) { this.name = value; return this; } } public static enum DayOfWeek { Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday; } public static class CategoryDto { public String name = null; public String slug = null; public String absoluteSlug = null; public String imageUrl = null; public String allImageUrl = null; public String iconImageUrl = null; public Integer position = null; public String getName() { return name; } public CategoryDto setName(String value) { this.name = value; return this; } public String getSlug() { return slug; } public CategoryDto setSlug(String value) { this.slug = value; return this; } public String getAbsoluteSlug() { return absoluteSlug; } public CategoryDto setAbsoluteSlug(String value) { this.absoluteSlug = value; return this; } public String getImageUrl() { return imageUrl; } public CategoryDto setImageUrl(String value) { this.imageUrl = value; return this; } public String getAllImageUrl() { return allImageUrl; } public CategoryDto setAllImageUrl(String value) { this.allImageUrl = value; return this; } public String getIconImageUrl() { return iconImageUrl; } public CategoryDto setIconImageUrl(String value) { this.iconImageUrl = value; return this; } public Integer getPosition() { return position; } public CategoryDto setPosition(Integer value) { this.position = value; return this; } } }