/* Options: Date: 2024-12-23 11:28:17 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://consumer-api.brovs.com //GlobalNamespace: ConsumerApi //MakePartial: True //MakeVirtual: False //MakeInternal: False //MakeDataContractsExtensible: False //AddNullableAnnotations: True //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //InitializeCollections: True //ExportValueTypes: False IncludeTypes: UpdateSavedSearchRequest.* //ExcludeTypes: //AddNamespaces: //AddDefaultXmlNamespace: http://schemas.servicestack.net/types */ using System; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using ConsumerApi; namespace ConsumerApi { public partial class QueryFilterDto { public QueryFilterDto() { CategoryAbsoluteSlugs = new List{}; BarSpecialitySlugs = new List{}; BarTypeSlugs = new List{}; BrandNames = new List{}; CuisineSlugs = new List{}; MealTypeSlugs = new List{}; Parking = new List{}; PaymentOptions = new List{}; PriceMainDishes = new List{}; EatingSuitabilitySlugs = new List{}; TakeAwaySlugs = new List{}; WearPriceProfileSlugs = new List{}; } public string? Term { get; set; } public Guid? PlaceGuid { get; set; } public Guid? AdMessageGuid { get; set; } public List? CategoryAbsoluteSlugs { get; set; } public List? BarSpecialitySlugs { get; set; } public List? BarTypeSlugs { get; set; } public List? BrandNames { get; set; } public List? CuisineSlugs { get; set; } public List? MealTypeSlugs { get; set; } public List? Parking { get; set; } public List? PaymentOptions { get; set; } public List? PriceMainDishes { get; set; } public List? EatingSuitabilitySlugs { get; set; } public List? TakeAwaySlugs { get; set; } public List? WearPriceProfileSlugs { get; set; } public bool? WheelChairAccessible { get; set; } public bool? Wifi { get; set; } public bool? OutdoorSeating { get; set; } public bool? SaveFoodAndMoney { get; set; } public OpenAtTimeDto? OpenAt { get; set; } } public partial class QueryLocationDto { public float? Longitude { get; set; } public float? Latitude { get; set; } public float? SearchRadiusInKm { get; set; } } [Route("/searches/UpdateSavedSearch", "PUT")] public partial class UpdateSavedSearchRequest : IReturn, IPut { public long Id { get; set; } public string Name { get; set; } public QueryFilterDto Filter { get; set; } public QueryLocationDto Location { get; set; } } public partial class UpdateSavedSearchResponse { public bool Success { get; set; } } public enum DayOfWeek { Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, } public partial class OpenAtTimeDto { public DayOfWeek WeekDay { get; set; } public int Hour { get; set; } public int Minute { get; set; } } public enum Parking { StreetParking, ParkingGarageNearby, } public enum PaymentOption { Visa, MasterCard, AmericanExpress, Diners, Vipps, } public enum PriceMainDish { Value, Medium, High, FineDining, } }