/* Options: Date: 2024-12-23 12:04:30 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://consumer-api.brovs.com //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: UpdateSavedSearchRequest.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/searches/UpdateSavedSearch", Verbs="PUT") open class UpdateSavedSearchRequest : IReturn, IPut { var id:Long? = null var name:String? = null var filter:QueryFilterDto? = null var location:QueryLocationDto? = null companion object { private val responseType = UpdateSavedSearchResponse::class.java } override fun getResponseType(): Any? = UpdateSavedSearchRequest.responseType } open class UpdateSavedSearchResponse { var success:Boolean? = null } open class QueryFilterDto { var term:String? = null var placeGuid:UUID? = null var adMessageGuid:UUID? = null var categoryAbsoluteSlugs:ArrayList = ArrayList() var barSpecialitySlugs:ArrayList = ArrayList() var barTypeSlugs:ArrayList = ArrayList() var brandNames:ArrayList = ArrayList() var cuisineSlugs:ArrayList = ArrayList() var mealTypeSlugs:ArrayList = ArrayList() var parking:ArrayList = ArrayList() var paymentOptions:ArrayList = ArrayList() var priceMainDishes:ArrayList = ArrayList() var eatingSuitabilitySlugs:ArrayList = ArrayList() var takeAwaySlugs:ArrayList = ArrayList() var wearPriceProfileSlugs:ArrayList = ArrayList() var wheelChairAccessible:Boolean? = null var wifi:Boolean? = null var outdoorSeating:Boolean? = null var saveFoodAndMoney:Boolean? = null var openAt:OpenAtTimeDto? = null } open class QueryLocationDto { var longitude:Float? = null var latitude:Float? = null var searchRadiusInKm:Float? = null } enum class Parking { StreetParking, ParkingGarageNearby, } enum class PaymentOption { Visa, MasterCard, AmericanExpress, Diners, Vipps, } enum class PriceMainDish { Value, Medium, High, FineDining, } open class OpenAtTimeDto { var weekDay:DayOfWeek? = null var hour:Int? = null var minute:Int? = null } enum class DayOfWeek { Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, }