Unknown

data class Unknown(val dataType: String = "unknown", val id: FeedId? = null, val createdAt: IsoDateTime? = null, val externalIds: List<ExternalId>? = null, val provider: String? = null, val feedContactEmail: String? = null, val sourceInfo: SourceInfo? = null, val redirects: List<Redirect>? = null, val status: FeedStatus? = null, val official: Boolean? = null, val officialUpdatedAt: IsoDateTime? = null, val seasonal: Boolean? = false, val feedName: String? = null, val note: String? = null, val relatedLinks: List<FeedRelatedLink>? = null) : Feed(source)

A catalog row whose data_type is not gtfs, gtfs_rt, or gbfs.

Extra properties on the wire are ignored. dataType is the raw discriminator.

Constructors

Link copied to clipboard
constructor(dataType: String = "unknown", id: FeedId? = null, createdAt: IsoDateTime? = null, externalIds: List<ExternalId>? = null, provider: String? = null, feedContactEmail: String? = null, sourceInfo: SourceInfo? = null, redirects: List<Redirect>? = null, status: FeedStatus? = null, official: Boolean? = null, officialUpdatedAt: IsoDateTime? = null, seasonal: Boolean? = false, feedName: String? = null, note: String? = null, relatedLinks: List<FeedRelatedLink>? = null)

Properties

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

Instant the feed was added to the catalog.

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

Wire data_type value.

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

Identifiers for the same feed in external databases.

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

Contact email for the feed producer.

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

Optional description of the data feed.

Link copied to clipboard
open override val id: FeedId?

Unique catalog identifier.

Link copied to clipboard
open override val note: String?

Note that clarifies complex use cases.

Link copied to clipboard
open override val official: Boolean?

Whether the feed is provided by the agency or a trusted source.

Link copied to clipboard
@SerialName(value = "official_updated_at")
open override val officialUpdatedAt: IsoDateTime?

Instant the official status was last updated.

Link copied to clipboard
open override val provider: String?

Common name for the transit provider.

Link copied to clipboard
open override val redirects: List<Redirect>?

Replacement feeds when this one should not be used.

Link copied to clipboard
@SerialName(value = "related_links")
open override val relatedLinks: List<FeedRelatedLink>?

Related links for the feed.

Link copied to clipboard
open override val seasonal: Boolean?

Whether the feed only covers a recurring season. Omitted values decode as false.

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

Producer URL and authentication details.

Link copied to clipboard
open override val status: FeedStatus?

Whether the feed is active, deprecated, inactive, in development, or future.