ServiceCalendarOverride

data class ServiceCalendarOverride(val serviceId: String, val date: BasicLocalDate, val overrideType: OverrideType)(source)

Exceptions for the services defined in the calendar.txt.

This class represents a record in the calendar_dates.txt file.

Constructors

Link copied to clipboard
constructor(serviceId: String, date: BasicLocalDate, overrideType: OverrideType)

Properties

Link copied to clipboard
@SerialName(value = "date")
val date: BasicLocalDate

Date when service exception occurs.

Link copied to clipboard
@SerialName(value = "exception_type")
val overrideType: OverrideType

Indicates whether service is available on the date specified.

Link copied to clipboard
@SerialName(value = "service_id")
val serviceId: String

Identifies a set of dates when a service exception occurs.