DatasetQuery

data class DatasetQuery(val latest: Boolean? = null, val limit: Int? = null, val offset: Int? = null, val downloadedAfter: IsoDateTime? = null, val downloadedBefore: IsoDateTime? = null)(source)

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

Constructors

Link copied to clipboard
constructor(latest: Boolean? = null, limit: Int? = null, offset: Int? = null, downloadedAfter: IsoDateTime? = null, downloadedBefore: IsoDateTime? = null)

Properties

Link copied to clipboard

Inclusive lower bound on downloaded_at.

Link copied to clipboard

Inclusive upper bound on downloaded_at.

Link copied to clipboard

When true, only the latest dataset.

Link copied to clipboard
val limit: Int?

Maximum number of datasets to return. The catalog defaults to 500.

Link copied to clipboard
val offset: Int?

Offset of the first dataset to return.