/* Options: Date: 2024-12-23 13:14:54 SwiftVersion: 5.0 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://consumer-api.brovs.com //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True IncludeTypes: ShareAdMessageLinkUsedRequest.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/share/share-ad-message-link-used", "POST") public class ShareAdMessageLinkUsedRequest : IReturn, IPost, Codable { public typealias Return = ShareAdMessageLinkUsedResponse public var shareAdMessageToken:String public var locale:Locale? required public init(){} } public class ShareAdMessageLinkUsedResponse : Codable { public var user:SharingUser public var adMessage:SharedAdMessage public var place:SharedPlace public var expiresAt:Date? public var state:SharingState required public init(){} } public enum Locale : String, Codable { case EnUs case NbNo } public class SharingUser : Codable { public var firstName:String public var lastName:String public var profilePhotoUrl:String required public init(){} } public class SharedPlace : Codable { public var id:Int public var guid:String public var name:String public var logoUrl:String public var imageUrl:String public var openingHours:OpeningHours public var timeZoneDto:TimeZoneDto public var rootCategories:[SharedRootCategory] = [] public var priceMainDish:SharePriceMainDish public var wearPriceProfiles:[ShareWearPriceProfile] = [] required public init(){} } public enum SharingState : String, Codable { case Teaser case Awarded case SelfShare case Expired } public class SharedAdMessage : Codable { public var id:Int public var guid:String public var title:String public var imageUrl:String public var startAt:Date public var stopAt:Date required public init(){} } public enum PriceMainDish : String, Codable { case Value case Medium case High case FineDining } public class OpeningHours : Codable { public var weekly:WeeklyOpeningHours required public init(){} } public class TimeZoneDto : Codable { @TimeSpan public var baseUtcOffset:TimeInterval public var daylightName:String public var displayName:String public var id:String public var standardName:String public var supportsDaylightSavingTime:Bool required public init(){} } public class SharedRootCategory : Codable { public var name:String public var absoluteSlug:String required public init(){} } public class SharePriceMainDish : Codable { public var label:String public var slug:PriceMainDish required public init(){} } public class ShareWearPriceProfile : Codable { public var label:String public var slug:String required public init(){} } public class WeeklyOpeningHours : Codable { public var monday:OpeningHour public var tuesday:OpeningHour public var wednesday:OpeningHour public var thursday:OpeningHour public var friday:OpeningHour public var saturday:OpeningHour public var sunday:OpeningHour required public init(){} } public class OpeningHour : Codable { public var openAtHour:Int public var openAtMinute:Int public var closeAtHour:Int public var closeAtMinute:Int required public init(){} }