GofsFeedResponse
data class GofsFeedResponse<T : GofsFeedData>(val lastUpdated: EpochSeconds, val ttl: WholeSeconds, val version: String, val data: T)(source)
Common header structure for all GOFS feed responses.
Every JSON file in GOFS contains this common header information at the top level of the JSON response object.
Properties
Link copied to clipboard
Indicates the last time data in the feed was updated. This timestamp represents the publisher's knowledge of the current state of the system at this point in time.
Link copied to clipboard
Number of seconds before the data in the feed will be updated again. If the data should always be refreshed, the value should be 0.