/* Options: Date: 2024-12-23 12:06: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: ShareAdMessageLinkUsedRequest.* //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 { [Route("/share/share-ad-message-link-used", "POST")] public partial class ShareAdMessageLinkUsedRequest : IReturn, IPost { public string ShareAdMessageToken { get; set; } public Locale? Locale { get; set; } } public partial class ShareAdMessageLinkUsedResponse { public SharingUser? User { get; set; } public SharedAdMessage? AdMessage { get; set; } public SharedPlace? Place { get; set; } public DateTimeOffset? ExpiresAt { get; set; } public SharingState State { get; set; } } public partial class SharedAdMessage { public long Id { get; set; } public Guid Guid { get; set; } public string Title { get; set; } public string? ImageUrl { get; set; } public DateTimeOffset StartAt { get; set; } public DateTimeOffset StopAt { get; set; } } public partial class SharedPlace { public SharedPlace() { RootCategories = new List{}; WearPriceProfiles = new List{}; } public long Id { get; set; } public Guid Guid { get; set; } public string Name { get; set; } public string? LogoUrl { get; set; } public string? ImageUrl { get; set; } public OpeningHours? OpeningHours { get; set; } public TimeZoneDto TimeZoneDto { get; set; } public List RootCategories { get; set; } public SharePriceMainDish? PriceMainDish { get; set; } public List WearPriceProfiles { get; set; } } public partial class SharedRootCategory { public string Name { get; set; } public string AbsoluteSlug { get; set; } } public partial class SharePriceMainDish { public string Label { get; set; } public PriceMainDish Slug { get; set; } } public partial class ShareWearPriceProfile { public string Label { get; set; } public string Slug { get; set; } } public enum SharingState { Teaser, Awarded, SelfShare, Expired, } public partial class SharingUser { public string FirstName { get; set; } public string LastName { get; set; } public string? ProfilePhotoUrl { get; set; } } public enum Locale { EnUs, NbNo, } 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 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 PriceMainDish { Value, Medium, High, FineDining, } }