/* Options: Date: 2024-12-23 12:02:09 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: GetSavedSearchesRequest.* //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 BarSpecialityDto { public string Slug { get; set; } public string Title { get; set; } } public partial class BarTypeDto { public string Slug { get; set; } public string Title { get; set; } } public partial class BrandDto { public string Name { get; set; } } public partial class CategoryDto { public string Name { get; set; } public string Slug { get; set; } public string AbsoluteSlug { get; set; } public string? ImageUrl { get; set; } public string? AllImageUrl { get; set; } public string? IconImageUrl { get; set; } public int Position { get; set; } } public partial class CuisineDto { public string Label { get; set; } public string Slug { get; set; } } public partial class EatingSuitabilityDto { public string Label { get; set; } public string Slug { get; set; } } public partial class FilterDetails { public FilterDetails() { Categories = new List{}; BarSpecialities = new List{}; BarTypes = new List{}; Brands = new List{}; Cuisines = new List{}; MealTypes = new List{}; Parking = new List{}; PaymentOptions = new List{}; PriceMainDishes = new List{}; EatingSuitability = new List{}; TakeAways = new List{}; WearPriceProfiles = new List{}; RootCategories = new List{}; } public List Categories { get; set; } public List BarSpecialities { get; set; } public List BarTypes { get; set; } public List Brands { get; set; } public List Cuisines { get; set; } public List MealTypes { get; set; } public List Parking { get; set; } public List PaymentOptions { get; set; } public List PriceMainDishes { get; set; } public List EatingSuitability { get; set; } public List TakeAways { get; set; } public List WearPriceProfiles { get; set; } public List RootCategories { get; set; } } [Route("/searches/GetSavedSearches", "GET")] public partial class GetSavedSearchesRequest : IReturn, IGet { } public partial class GetSavedSearchesResponse { public GetSavedSearchesResponse() { Searches = new List{}; } public List Searches { get; set; } } public partial class MealTypeDto { public string Label { get; set; } public string Slug { get; set; } } public partial class ParkingDto { public string Label { get; set; } public Parking Slug { get; set; } } public partial class PaymentOptionDto { public string Label { get; set; } public PaymentOption Slug { get; set; } } public partial class PriceMainDishDto { public string Title { get; set; } public PriceMainDish Slug { get; set; } } 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; } } public partial class SavedSearchDto { public long Id { get; set; } public string Name { get; set; } public QueryFilterDto Filter { get; set; } public QueryLocationDto Location { get; set; } public FilterDetails FilterDetails { get; set; } public DateTimeOffset CreatedAt { get; set; } public DateTimeOffset UpdatedAt { get; set; } } public partial class TakeAwayDto { public string Label { get; set; } public string Slug { get; set; } } public partial class WearPriceProfileDto { public string Slug { get; set; } public string Label { 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, } }