/* Options: Date: 2024-12-23 11:49:21 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: GetPlaceRequest.* //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 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 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("/place/GetPlace", "GET")] public partial class GetPlaceRequest : IReturn, IGet, ICacheable { public Guid PlaceGuid { get; set; } public long? CacheVersion { get; set; } } public partial class GetPlaceResponse { public GetPlaceResponse() { AdMessages = new List{}; TopCategoriesSlug = new List{}; } public PlaceDto PlaceDto { get; set; } public List AdMessages { get; set; } public List TopCategoriesSlug { get; set; } } public partial interface ICacheable { long? CacheVersion { 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 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 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 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 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, } }