AssetOpenResponse

data class AssetOpenResponse(val currentSlice: AssetOpeningHoursPeriod? = null, val openHours: List<AssetOpeningHoursPeriod>? = null, val openNow: Boolean? = null, val nextOpening: AssetOpenResponseNextOpening? = null, val weekDay: Int? = null)

The Current opening status for an Asset

Parameters

currentSlice
openHours

the opening hours for the day

openNow

Boolean value indicating the status of the opening hours

nextOpening
weekDay

the day of the week starting from 1 to 7

Constructors

Link copied to clipboard
constructor(currentSlice: AssetOpeningHoursPeriod? = null, openHours: List<AssetOpeningHoursPeriod>? = null, openNow: Boolean? = null, nextOpening: AssetOpenResponseNextOpening? = null, weekDay: Int? = null)

Properties

Link copied to clipboard
@SerializedName(value = "current_slice")
val currentSlice: AssetOpeningHoursPeriod? = null
Link copied to clipboard
@SerializedName(value = "next_opening")
val nextOpening: AssetOpenResponseNextOpening? = null
Link copied to clipboard
@SerializedName(value = "open_hours")
val openHours: List<AssetOpeningHoursPeriod>? = null
Link copied to clipboard
@SerializedName(value = "open_now")
val openNow: Boolean? = null
Link copied to clipboard
@SerializedName(value = "week_day")
val weekDay: Int? = null