/* Options: Date: 2024-12-23 11:22:19 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: FindBoundedMapAdMessagesRequest.* //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 AdMessageDto { public AdMessageDto() { ImageUrls = new List{}; } public long Id { get; set; } public Guid Guid { get; set; } public string Title { get; set; } public DateTimeOffset StartAt { get; set; } public DateTimeOffset StopAt { get; set; } public DateTimeOffset PublishAt { get; set; } public List ImageUrls { get; set; } public PlaceBasicDto Place { get; set; } public AdMessageDetailsUnion DetailsUnion { get; set; } public long StarredCount { get; set; } } public partial class AdMessageWithDisplayLocationDto { public AdMessageDto AdMessage { get; set; } public Position CrowdedMapDisplayLocation { 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 FindBoundedMapAdMessagesRequest : IReturn, IGet, IPost, ICacheable { public long? CacheVersion { get; set; } public QueryFilterDto? Filter { get; set; } public MapBoundsDto Bounds { get; set; } } public partial class FindBoundedMapAdMessagesResponse { public FindBoundedMapAdMessagesResponse() { Clusters = new List{}; AdMessagesWithDisplayLocation = new List{}; CategoryFacetTrees = new List{}; } public List Clusters { get; set; } public List AdMessagesWithDisplayLocation { get; set; } public List CategoryFacetTrees { get; set; } public long PlaceCount { get; set; } public long? AdMessageSaveFoodAndMoneyCount { get; set; } } public partial class FindBoundedMapPinCluster { public long Count { get; set; } public float Latitude { get; set; } public float Longitude { get; set; } } public partial interface ICacheable { long? CacheVersion { get; set; } } public partial class MapBoundsDto { public float? North { get; set; } public float? South { get; set; } public float? East { get; set; } public float? West { get; set; } public int? ClusterZoomLevel { 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 PlaceSelectedBrandDto { public PlaceSelectedBrandDto() { CategoryAbsoluteSlugs = new string[]{}; } public BrandDto? Brand { get; set; } public string[]? CategoryAbsoluteSlugs { get; set; } public PlaceCustomBrandDto? PlaceCustomBrand { get; set; } } public partial class Position { public float Longitude { get; set; } public float Latitude { 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 WearPriceProfileDto { public string Slug { get; set; } public string Label { get; set; } } public partial class AdMessageDetailsAbsoluteDiscountOnSelectedMerchandise : AdMessageDetailsBase { public double Value { get; set; } } public partial class AdMessageDetailsAbsoluteDiscountRangeOnAllMerchandise : AdMessageDetailsBase { public double Start { get; set; } public double Stop { get; set; } } public partial class AdMessageDetailsBase { public AdMessageDetailsBase() { MoreInformation = new List{}; } public string? Description { get; set; } public List? MoreInformation { get; set; } } public partial class AdMessageDetailsFreetext : AdMessageDetailsBase { public string Title { get; set; } } public partial class AdMessageDetailsHappyHour : AdMessageDetailsBase { } public partial class AdMessageDetailsNewArrivals : AdMessageDetailsBase { } public partial class AdMessageDetailsPercentageDiscountOnAllMerchandise : AdMessageDetailsBase { public double Value { get; set; } } public partial class AdMessageDetailsPercentageDiscountOnSelectedMerchandise : AdMessageDetailsBase { public double Value { get; set; } } public partial class AdMessageDetailsPercentageDiscountRangeOnAllMerchandise : AdMessageDetailsBase { public double Start { get; set; } public double Stop { get; set; } } public partial class AdMessageDetailsPercentageOffYourFoodBill : AdMessageDetailsBase { public double Percentage { get; set; } } public partial class AdMessageDetailsSaveFoodAndMoney : AdMessageDetailsBase { public double Value { get; set; } } public partial class AdMessageDetailsSomeFreeTablesLeftToday : AdMessageDetailsBase { } public partial class AdMessageDetailsTodaysBreakFastOffer : AdMessageDetailsBase { public double Value { get; set; } } public partial class AdMessageDetailsTodaysDinnerOffer : AdMessageDetailsBase { public double Value { get; set; } } public partial class AdMessageDetailsTodaysLunchOffer : AdMessageDetailsBase { public double Value { get; set; } } public partial class AdMessageDetailsTotalAmountOverXgivesYdiscount : AdMessageDetailsBase { public double IfTotalAmountMoreThanX { get; set; } public double ThenYouGetDiscountPercentageY { get; set; } } public partial class AdMessageDetailsTwoDishesForThePriceOfOne : AdMessageDetailsBase { } public partial class AdMessageDetailsUnion { public AdMessageDetailsPercentageDiscountOnAllMerchandise? PercentageOnAllMerchandise { get; set; } public AdMessageDetailsPercentageDiscountRangeOnAllMerchandise? PercentageRangeOnAllMerchandise { get; set; } public AdMessageDetailsPercentageDiscountOnSelectedMerchandise? PercentageOnSelectedMerchandise { get; set; } public AdMessageDetailsAbsoluteDiscountOnSelectedMerchandise? AbsoluteOnSelectedMerchandise { get; set; } public AdMessageDetailsAbsoluteDiscountRangeOnAllMerchandise? AbsoluteRangeOnAllMerchandise { get; set; } public AdMessageDetailsTotalAmountOverXgivesYdiscount? TotalAmountOverXgivesYdiscount { get; set; } public AdMessageDetailsXforYdiscount? XforY { get; set; } public AdMessageDetailsNewArrivals? NewArrivals { get; set; } public AdMessageDetailsFreetext? Freetext { get; set; } public AdMessageDetailsTodaysBreakFastOffer? TodaysBreakFastOffer { get; set; } public AdMessageDetailsTodaysLunchOffer? TodaysLunchOffer { get; set; } public AdMessageDetailsTodaysDinnerOffer? TodaysDinnerOffer { get; set; } public AdMessageDetailsSaveFoodAndMoney? SaveFoodAndMoney { get; set; } public AdMessageDetailsPercentageOffYourFoodBill? PercentageOfYourFoodBill { get; set; } public AdMessageDetailsHappyHour? HappyHour { get; set; } public AdMessageDetailsSomeFreeTablesLeftToday? SomeFreeTablesLeftToday { get; set; } public AdMessageDetailsTwoDishesForThePriceOfOne? TwoDishesForThePriceOfOne { get; set; } } public partial class AdMessageDetailsXforYdiscount : AdMessageDetailsBase { public int IfYouBuyX { get; set; } public int ThenYouGetY { 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, } }