SearchFeedItem

data class SearchFeedItem(val id: FeedId? = null, val dataType: FeedDataType? = null, val status: FeedStatus? = null, val createdAt: IsoDateTime? = null, val official: Boolean? = null, val seasonal: Boolean? = false, val externalIds: List<ExternalId>? = null, val provider: String? = null, val feedName: String? = null, val note: String? = null, val feedContactEmail: String? = null, val sourceInfo: SourceInfo? = null, val redirects: List<Redirect>? = null, val locations: List<Location>? = null, val latestDataset: LatestDataset? = null, val entityTypes: List<RealtimeEntityType>? = null, val versions: List<String>? = null, val feedReferences: List<FeedId>? = null, val reliabilitySeal: FeedReliabilitySummary? = null)(source)

One feed in a search result page.

Constructors

Link copied to clipboard
constructor(id: FeedId? = null, dataType: FeedDataType? = null, status: FeedStatus? = null, createdAt: IsoDateTime? = null, official: Boolean? = null, seasonal: Boolean? = false, externalIds: List<ExternalId>? = null, provider: String? = null, feedName: String? = null, note: String? = null, feedContactEmail: String? = null, sourceInfo: SourceInfo? = null, redirects: List<Redirect>? = null, locations: List<Location>? = null, latestDataset: LatestDataset? = null, entityTypes: List<RealtimeEntityType>? = null, versions: List<String>? = null, feedReferences: List<FeedId>? = null, reliabilitySeal: FeedReliabilitySummary? = null)

Properties

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

Instant the feed was added to the catalog.

Link copied to clipboard
@SerialName(value = "data_type")
val dataType: FeedDataType?

Discriminator for this mixed search row.

Link copied to clipboard
@SerialName(value = "entity_types")
val entityTypes: List<RealtimeEntityType>?

Realtime entity types, for GTFS-RT hits.

Link copied to clipboard
@SerialName(value = "external_ids")
val externalIds: List<ExternalId>?

External identifiers.

Link copied to clipboard
@SerialName(value = "feed_contact_email")
val feedContactEmail: String?

Producer contact email.

Link copied to clipboard
@SerialName(value = "feed_name")
val feedName: String?

Optional feed description.

Link copied to clipboard
@SerialName(value = "feed_references")
val feedReferences: List<FeedId>?

Related GTFS feed ids, for GTFS-RT hits.

Link copied to clipboard
val id: FeedId?

Catalog feed id.

Link copied to clipboard
@SerialName(value = "latest_dataset")
val latestDataset: LatestDataset?

Latest dataset, for GTFS hits.

Link copied to clipboard

Locations served by the feed.

Link copied to clipboard
val note: String?

Note that clarifies complex use cases.

Link copied to clipboard

Whether the feed is official.

Link copied to clipboard

Transit provider name.

Link copied to clipboard

Replacement feeds.

Link copied to clipboard
@SerialName(value = "reliability_seal")
val reliabilitySeal: FeedReliabilitySummary?

Embedded Seal of Reliability summary.

Link copied to clipboard

Whether the feed only covers a recurring season.

Link copied to clipboard
@SerialName(value = "source_info")
val sourceInfo: SourceInfo?

Producer URL and authentication.

Link copied to clipboard

Publication status.

Link copied to clipboard

GBFS versions, for GBFS hits.