HapiOccupancy

data class HapiOccupancy(name: String?, v: Int, number: Int?, raw: Int?)

Occupancy information

Constructors

HapiOccupancy
Link copied to clipboard
fun HapiOccupancy(name: String?, v: Int = 0, number: Int?, raw: Int?)

Properties

name
Link copied to clipboard
val name: String?

Name of seat class or category.

number
Link copied to clipboard
val number: Int?

Public number of the car for which the occupancy data is valid for, if the data is only valid for a single car. Otherwise this attribute is simply left out.

raw
Link copied to clipboard
val raw: Int?

Seat occupancy raw data

v
Link copied to clipboard
val v: Int = 0

Seat occupancy value of this class or category between 0 and 100.