View Source GoogleApi.ContentWarehouse.V1.Model.GeostoreTransitLineVariantProto (google_api_content_warehouse v0.4.0)

A line variant is a specific instantiation of a line concept, denoted by the ordered set of stops and collection of segments that it traverses. Line variants are modeled as TYPE_ROUTE features with gcid:transit_line_variant. This proto stores line-variant-specific information that is not generally applicable to all routes. Schema Design Doc: go/transit-line-concepts-and-variants

Attributes

  • lineConcept (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreFeatureIdProto.t, default: nil) - Reference to the line variant’s line concept.
  • stops (type: list(GoogleApi.ContentWarehouse.V1.Model.GeostoreServicedStopProto.t), default: nil) - Ordered list of stations or platforms serviced by this line variant. The order is captured by the ServicedStopProto.index field.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GeostoreTransitLineVariantProto{
  lineConcept:
    GoogleApi.ContentWarehouse.V1.Model.GeostoreFeatureIdProto.t() | nil,
  stops:
    [GoogleApi.ContentWarehouse.V1.Model.GeostoreServicedStopProto.t()] | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.