/* Options: Date: 2024-12-23 11:55:02 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://consumer-api.brovs.com //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: SharePlaceLinkUsedRequest.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/share/share-place-link-used", Verbs="POST") open class SharePlaceLinkUsedRequest : IReturn, IPost { var sharePlaceToken:String? = null var locale:Locale? = null companion object { private val responseType = SharePlaceLinkUsedResponse::class.java } override fun getResponseType(): Any? = SharePlaceLinkUsedRequest.responseType } open class SharePlaceLinkUsedResponse { var sharingUser:SharingUser? = null var place:SharedPlace? = null var expiresAt:Date? = null var state:SharingState? = null } enum class Locale { EnUs, NbNo, } open class SharingUser { var firstName:String? = null var lastName:String? = null var profilePhotoUrl:String? = null } open class SharedPlace { var id:Long? = null var guid:UUID? = null var name:String? = null var logoUrl:String? = null var imageUrl:String? = null var openingHours:OpeningHours? = null var timeZoneDto:TimeZoneDto? = null var rootCategories:ArrayList = ArrayList() var priceMainDish:SharePriceMainDish? = null var wearPriceProfiles:ArrayList = ArrayList() } enum class SharingState { Teaser, Awarded, SelfShare, Expired, } enum class PriceMainDish { Value, Medium, High, FineDining, } open class OpeningHours { var weekly:WeeklyOpeningHours? = null } open class TimeZoneDto { var baseUtcOffset:TimeSpan? = null var daylightName:String? = null var displayName:String? = null var id:String? = null var standardName:String? = null var supportsDaylightSavingTime:Boolean? = null } open class SharedRootCategory { var name:String? = null var absoluteSlug:String? = null } open class SharePriceMainDish { var label:String? = null var slug:PriceMainDish? = null } open class ShareWearPriceProfile { var label:String? = null var slug:String? = null } open class WeeklyOpeningHours { var monday:OpeningHour? = null var tuesday:OpeningHour? = null var wednesday:OpeningHour? = null var thursday:OpeningHour? = null var friday:OpeningHour? = null var saturday:OpeningHour? = null var sunday:OpeningHour? = null } open class OpeningHour { var openAtHour:Int? = null var openAtMinute:Int? = null var closeAtHour:Int? = null var closeAtMinute:Int? = null }