Show / Hide Table of Contents

Class GoogleMapsPlacesV1TransitLine

Represents a single transit line.

Inheritance
object
GoogleMapsPlacesV1TransitLine
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.MapsPlaces.v1.Data
Assembly: Google.Apis.MapsPlaces.v1.dll
Syntax
public class GoogleMapsPlacesV1TransitLine : IDirectResponseSchema

Properties

BackgroundColor

The background color of the labels for this transit line in #RRGGBB hex format, e.g. #909CE1. This color can also be used for drawing shapes for this transit line.

Declaration
[JsonProperty("backgroundColor")]
public virtual string BackgroundColor { get; set; }
Property Value
Type Description
string

DisplayName

The long name for this transit line (e.g. "Sunnydale local").

Declaration
[JsonProperty("displayName")]
public virtual GoogleTypeLocalizedText DisplayName { get; set; }
Property Value
Type Description
GoogleTypeLocalizedText

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Icon

Icon identifier for this particular line (e.g. subway lines in New York).

Declaration
[JsonProperty("icon")]
public virtual GoogleMapsPlacesV1TransitIcon Icon { get; set; }
Property Value
Type Description
GoogleMapsPlacesV1TransitIcon

Id

The id of the transit line that can be used to uniquely identify the line among other transit lines in the same transit station. This identifier is not guaranteed to be stable across different responses.

Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
Type Description
string

ShortDisplayName

The short name for this transit line (e.g. "S2").

Declaration
[JsonProperty("shortDisplayName")]
public virtual GoogleTypeLocalizedText ShortDisplayName { get; set; }
Property Value
Type Description
GoogleTypeLocalizedText

TextColor

The text color of labels for this transit line in #RRGGBB hex format, e.g. #909CE1.

Declaration
[JsonProperty("textColor")]
public virtual string TextColor { get; set; }
Property Value
Type Description
string

Url

The URL of a webpage with details about this line.

Declaration
[JsonProperty("url")]
public virtual string Url { get; set; }
Property Value
Type Description
string

VehicleIcon

Icon identifier for this particular vehicle type.

Declaration
[JsonProperty("vehicleIcon")]
public virtual GoogleMapsPlacesV1TransitIcon VehicleIcon { get; set; }
Property Value
Type Description
GoogleMapsPlacesV1TransitIcon

VehicleType

The type of vehicle using this line.

Declaration
[JsonProperty("vehicleType")]
public virtual string VehicleType { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX