AvailabilityQuery

data class AvailabilityQuery(val from: IsoDateTime? = null, val to: IsoDateTime? = null, val limit: Int? = null, val offset: Int? = null, val sort: AvailabilitySort? = null)(source)

Query parameters for GET /v1/gtfs_feeds/{id}/availability.

Constructors

Link copied to clipboard
constructor(from: IsoDateTime? = null, to: IsoDateTime? = null, limit: Int? = null, offset: Int? = null, sort: AvailabilitySort? = null)

Properties

Link copied to clipboard

Inclusive lower bound on checked_at.

Link copied to clipboard
val limit: Int?

Maximum number of checks to return. The catalog defaults to 100.

Link copied to clipboard
val offset: Int?

Offset of the first check to return.

Link copied to clipboard

Sort by checked_at. The catalog defaults to newest first.

Link copied to clipboard

Inclusive upper bound on checked_at.