Class Vehicle
- Namespace
- GoogleMapsApi.Entities.Directions.Response
- Assembly
- GoogleMapsApi.dll
public class Vehicle
- Inheritance
-
Vehicle
- Inherited Members
Properties
Icon
Contains the URL for an icon associated with this vehicle type.
[JsonPropertyName("icon")]
public string? Icon { get; set; }
Property Value
LocalIcon
Contains the URL for a localized icon associated with this vehicle type.
[JsonPropertyName("local_icon")]
public string? LocalIcon { get; set; }
Property Value
Name
Contains the name of the vehicle on this line. eg. "Subway."
[JsonPropertyName("name")]
public string? Name { get; set; }
Property Value
VehicleType
Contains the type of vehicle that runs on this line.
[JsonPropertyName("type")]
[JsonConverter(typeof(EnumMemberJsonConverter<VehicleType>))]
public VehicleType VehicleType { get; set; }