GbfsVersion

data class GbfsVersion(val version: String? = null, val createdAt: IsoDateTime? = null, val lastUpdatedAt: IsoDateTime? = null, val source: GbfsVersionSource? = null, val endpoints: List<GbfsEndpoint>? = null, val latestValidationReport: GbfsValidationReport? = null)(source)

One GBFS specification version supported by a feed.

Constructors

Link copied to clipboard
constructor(version: String? = null, createdAt: IsoDateTime? = null, lastUpdatedAt: IsoDateTime? = null, source: GbfsVersionSource? = null, endpoints: List<GbfsEndpoint>? = null, latestValidationReport: GbfsValidationReport? = null)

Properties

Link copied to clipboard
@SerialName(value = "created_at")
val createdAt: IsoDateTime?

Instant this version row was saved.

Link copied to clipboard

Endpoints available in this version.

Link copied to clipboard
@SerialName(value = "last_updated_at")
val lastUpdatedAt: IsoDateTime?

Instant this version row was last updated.

Link copied to clipboard
@SerialName(value = "latest_validation_report")
val latestValidationReport: GbfsValidationReport?

Latest validation report for this version.

Link copied to clipboard

Whether the version came from autodiscovery or gbfs_versions.

Link copied to clipboard

GBFS version string.