/* Options: Date: 2024-12-23 12:14:44 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: UpdateSavedSearchRequest.* //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/UpdateSavedSearch", Verbs="PUT") public static class UpdateSavedSearchRequest implements IReturn, IPut { public Long id = null; public String name = null; public QueryFilterDto filter = null; public QueryLocationDto location = null; public Long getId() { return id; } public UpdateSavedSearchRequest setId(Long value) { this.id = value; return this; } public String getName() { return name; } public UpdateSavedSearchRequest setName(String value) { this.name = value; return this; } public QueryFilterDto getFilter() { return filter; } public UpdateSavedSearchRequest setFilter(QueryFilterDto value) { this.filter = value; return this; } public QueryLocationDto getLocation() { return location; } public UpdateSavedSearchRequest setLocation(QueryLocationDto value) { this.location = value; return this; } private static Object responseType = UpdateSavedSearchResponse.class; public Object getResponseType() { return responseType; } } public static class UpdateSavedSearchResponse { public Boolean success = null; public Boolean isSuccess() { return success; } public UpdateSavedSearchResponse setSuccess(Boolean value) { this.success = 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 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 enum DayOfWeek { Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday; } }