Class TransitAgency
- Namespace
- GoogleMapsApi.Entities.Directions.Response
- Assembly
- GoogleMapsApi.dll
Information about the transit agency. Note: You must display the names and URLs of the transit agencies servicing the trip results.
[DataContract(Name = "TransitAgency")]
public class TransitAgency
- Inheritance
-
TransitAgency
- Inherited Members
Properties
Name
Contains the name of the transit agency.
[DataMember(Name = "name")]
public string? Name { get; set; }
Property Value
Phone
Contains the phone number of the transit agency.
[DataMember(Name = "phone")]
public string? Phone { get; set; }
Property Value
Url
Contains the URL for the transit agency.
[DataMember(Name = "url")]
public string? Url { get; set; }