GtfsFeedAvailabilityCheck

data class GtfsFeedAvailabilityCheck(val checkedAt: IsoDateTime? = null, val success: Boolean? = null, val requestMethod: AvailabilityRequestMethod? = null, val statusCode: Int? = null, val latencyMs: Double? = null, val errorType: String? = null)(source)

One scheduled availability check.

Constructors

Link copied to clipboard
constructor(checkedAt: IsoDateTime? = null, success: Boolean? = null, requestMethod: AvailabilityRequestMethod? = null, statusCode: Int? = null, latencyMs: Double? = null, errorType: String? = null)

Properties

Link copied to clipboard
@SerialName(value = "checked_at")
val checkedAt: IsoDateTime?

Instant the check ran.

Link copied to clipboard
@SerialName(value = "error_type")
val errorType: String?

Machine-readable error category when the check failed.

Link copied to clipboard
@SerialName(value = "latency_ms")
val latencyMs: Double?

Time taken to receive the response, in milliseconds.

Link copied to clipboard
@SerialName(value = "request_method")
val requestMethod: AvailabilityRequestMethod?

HTTP method used for the check.

Link copied to clipboard
@SerialName(value = "status_code")
val statusCode: Int?

Final HTTP status code, when available.

Link copied to clipboard

Whether the producer URL responded.