/* Options: Date: 2024-12-23 11:52:53 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: FindPlaceRequest.* //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 CategoryFacetTreeDto { public CategoryFacetTreeDto() { FeatureTypes = new List{}; Children = new List{}; } public string Name { get; set; } public string Slug { get; set; } public string AbsoluteSlug { get; set; } public List? FeatureTypes { get; set; } public CategoryFacetTreeType Type { get; set; } public long? Count { get; set; } public string? ImageUrl { get; set; } public string? AllImageUrl { get; set; } public string? IconImageUrl { get; set; } public int Position { get; set; } public List? Children { get; set; } } public enum CategoryFacetTreeType { Parent, Selected, Available, } public partial class CategoryTreeDto { public CategoryTreeDto() { Children = new List{}; } 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 List? Children { 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; } } [Route("/find/place", "GET")] public partial class FindPlaceRequest : IReturn, IGet, IPost { public int? Offset { get; set; } public int? Size { get; set; } public DateTime? ResultAt { get; set; } public QueryFilterDto? Filter { get; set; } public QueryLocationDto Location { get; set; } public long? CacheVersion { get; set; } } public partial class FindPlaceResponse { public FindPlaceResponse() { Places = new List{}; CategoryFacetTrees = new List{}; } public List Places { get; set; } public long PlaceCount { get; set; } public DateTime? ResultAt { get; set; } public List CategoryFacetTrees { get; set; } } public partial class IndividualFeatureDataDto { public FeatureType Slug { get; set; } public string Label { get; set; } } public partial class MallOtherServiceDto { public string ServiceName { get; set; } public string Floor { get; set; } } public partial class MealTypeDto { public string Label { get; set; } public string Slug { get; set; } } public partial class MenuDto { public string Name { get; set; } public string Url { get; set; } public int Position { 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 PlaceBasicDto { public PlaceBasicDto() { Categories = new List{}; WearPriceProfiles = new List{}; Brands = new List{}; } public long Id { get; set; } public Guid Guid { get; set; } public string? Overview { get; set; } public string Name { get; set; } public float Longitude { get; set; } public float Latitude { get; set; } public bool Claimed { get; set; } public string? OrganizationNumber { get; set; } public string CountryCode { get; set; } public OpeningHours? OpeningHours { get; set; } public bool? WheelchairAccessible { get; set; } public bool? Wifi { get; set; } public bool? OutdoorSeating { get; set; } public bool? SaveFoodAndMoney { get; set; } public PlaceType PlaceType { get; set; } public PriceMainDishDto? PriceMainDish { get; set; } public TimeZoneDto TimeZoneDto { get; set; } public long? BusinessId { get; set; } public PlaceContact Contact { get; set; } public PlaceAddress Address { get; set; } public List Categories { get; set; } public ImageUrls? LogoUrl { get; set; } public ImageUrls? ImageUrl { get; set; } public List WearPriceProfiles { get; set; } public List Brands { get; set; } public string? Floor { get; set; } } public partial class PlaceCustomBrandDto { public string Name { get; set; } } public partial class PlaceDto { public PlaceDto() { Categories = new List{}; FeatureData = new List{}; BarSpecialities = new List{}; BarTypes = new List{}; Brands = new List{}; Cuisines = new List{}; MealTypes = new List{}; Parking = new List{}; PaymentOptions = new List{}; EatingSuitabilities = new List{}; TakeAways = new List{}; WearPriceProfiles = new List{}; Menus = new List{}; Places = new List{}; OtherServices = new List{}; } public long Id { get; set; } public Guid Guid { get; set; } public string? Overview { get; set; } public string Name { get; set; } public float Longitude { get; set; } public float Latitude { get; set; } public bool Claimed { get; set; } public string? OrganizationNumber { get; set; } public string CountryCode { get; set; } public string PlaceState { get; set; } public long FollowersCount { get; set; } public OpeningHours? OpeningHours { get; set; } public List Categories { get; set; } public List FeatureData { 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 EatingSuitabilities { get; set; } public List TakeAways { get; set; } public List WearPriceProfiles { get; set; } public List Menus { get; set; } public ImageUrls? LogoUrl { get; set; } public ImageUrls? ImageUrl { get; set; } public bool? WheelchairAccessible { get; set; } public bool? Wifi { get; set; } public bool? OutdoorSeating { get; set; } public bool? SaveFoodAndMoney { get; set; } public PlaceType PlaceType { get; set; } public PlaceBasicDto? Mall { get; set; } public PriceMainDishDto? PriceMainDish { get; set; } public List? Places { get; set; } public List? OtherServices { get; set; } public string? Floor { get; set; } public TimeZoneDto TimeZoneDto { get; set; } public long? BusinessId { get; set; } public PlaceContact Contact { get; set; } public PlaceAddress Address { get; set; } } public partial class PlaceSelectedBrandDto { public PlaceSelectedBrandDto() { CategoryAbsoluteSlugs = new string[]{}; } public BrandDto? Brand { get; set; } public string[]? CategoryAbsoluteSlugs { get; set; } public PlaceCustomBrandDto? PlaceCustomBrand { 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 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 ImageUrls { public string Preview { get; set; } public string Small { get; set; } public string Medium { get; set; } public string Large { get; set; } } public partial class OpenAtTimeDto { public DayOfWeek WeekDay { get; set; } public int Hour { get; set; } public int Minute { get; set; } } public partial class OpeningHour { public int OpenAtHour { get; set; } public int OpenAtMinute { get; set; } public int CloseAtHour { get; set; } public int CloseAtMinute { get; set; } } public partial class OpeningHours { public WeeklyOpeningHours Weekly { get; set; } } public partial class PlaceAddress { public string Street { get; set; } public string PostalCode { get; set; } public string Region { get; set; } public string CountryCode { get; set; } } public partial class PlaceContact { public string? Phone { get; set; } public string? Email { get; set; } public string? Website { get; set; } public string? WebShop { get; set; } } public enum PlaceType { Mall, Regular, } public partial class TimeZoneDto { public TimeSpan BaseUtcOffset { get; set; } public string DaylightName { get; set; } public string DisplayName { get; set; } public string Id { get; set; } public string StandardName { get; set; } public bool SupportsDaylightSavingTime { get; set; } } public partial class WeeklyOpeningHours { public OpeningHour? Monday { get; set; } public OpeningHour? Tuesday { get; set; } public OpeningHour? Wednesday { get; set; } public OpeningHour? Thursday { get; set; } public OpeningHour? Friday { get; set; } public OpeningHour? Saturday { get; set; } public OpeningHour? Sunday { get; set; } } public enum FeatureType { BarSpeciality, BarType, Cuisine, SaveFoodAndMoney, MealType, Menu, OutdoorSeating, Parking, PaymentOptions, PriceMainDish, SubCategories, SubCategoriesAndBrands, EatingSuitabilities, TakeAway, WearPriceProfile, WheelChairAccessible, Wifi, WebShop, Filtering, } public enum Parking { StreetParking, ParkingGarageNearby, } public enum PaymentOption { Visa, MasterCard, AmericanExpress, Diners, Vipps, } public enum PriceMainDish { Value, Medium, High, FineDining, } }