Class Line
- Namespace
- GoogleMapsApi.Entities.Directions.Response
- Assembly
- GoogleMapsApi.dll
public class Line
- Inheritance
-
Line
- Inherited Members
Properties
Agencies
Contains a List of TransitAgency objects that each provide information about the operator of the line.
[JsonPropertyName("agencies")]
public List<TransitAgency>? Agencies { get; set; }
Property Value
Color
Contains the color commonly used in signage for this transit line. The color will be specified as a hex string such as: #FF0033.
[JsonPropertyName("color")]
public string? Color { get; set; }
Property Value
Icon
Contains the URL for the icon associated with this line.
[JsonPropertyName("icon")]
public string? Icon { get; set; }
Property Value
Name
Contains the full name of this transit line. eg. "7 Avenue Express".
[JsonPropertyName("name")]
public string? Name { get; set; }
Property Value
ShortName
Contains the short name of this transit line. This will normally be a line number, such as "M7" or "355".
[JsonPropertyName("short_name")]
public string? ShortName { get; set; }
Property Value
TextColor
Contains the color of text commonly used for signage of this line. The color will be specified as a hex string.
[JsonPropertyName("text_color")]
public string? TextColor { get; set; }
Property Value
Url
Contains the URL for this transit line as provided by the transit agency.
[JsonPropertyName("url")]
public string? Url { get; set; }
Property Value
Vehicle
Contains the type of vehicle used on this line.
[JsonPropertyName("vehicle")]
public Vehicle? Vehicle { get; set; }