AssetOpeningHours

data class AssetOpeningHours(val timezone: String? = null, val usual: AssetOpeningHoursUsual? = null, val special: Map<String, AssetOpeningHoursPeriod>? = null)

An object describing the opening hours of an Asset.

Parameters

timezone

Timezone for the Opening Hours of an Asset. It is used to compute the open_now property of an asset. see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones

usual
special

Constructors

Link copied to clipboard
constructor(timezone: String? = null, usual: AssetOpeningHoursUsual? = null, special: Map<String, AssetOpeningHoursPeriod>? = null)

Properties

Link copied to clipboard
@SerializedName(value = "special")
val special: Map<String, AssetOpeningHoursPeriod>? = null
Link copied to clipboard
@SerializedName(value = "timezone")
val timezone: String? = null
Link copied to clipboard
@SerializedName(value = "usual")
val usual: AssetOpeningHoursUsual? = null