Show / Hide Table of Contents

Class Agency

Represents a transit agency.

Inheritance
System.Object
GTFSEntity
Agency
Inherited Members
GTFSEntity.Tag
GTFSEntity.EntityChanged
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public class Agency : GTFSEntity

Properties

Email

Gets or sets an email address that is monitored by the agency's customer service department

Declaration
public string Email { get; set; }
Property Value
System.String

FareURL

Gets or sets the URL of a web page that allows a rider to purchase tickets or other fare instruments for that agency online. The value must be a fully qualified URL that includes http:// or https://, and any special characters in the URL must be correctly escaped.

Declaration
public string FareURL { get; set; }
Property Value
System.String

Id

Gets or sets the ID that uniquely identifies a transit agency.

Declaration
public string Id { get; set; }
Property Value
System.String

LanguageCode

Gets or set the two-letter ISO 639-1 code for the primary language used by this transit agency.

Declaration
public string LanguageCode { get; set; }
Property Value
System.String

Name

Gets or sets the agency name, the full name of the transit agency.

Declaration
public string Name { get; set; }
Property Value
System.String

Phone

Gets or sets the voice telephone number for the specified agency

Declaration
public string Phone { get; set; }
Property Value
System.String

Timezone

Gets or sets the timezone.

Declaration
public string Timezone { get; set; }
Property Value
System.String

URL

Gets or sets the URL of the transit agency. The value must be a fully qualified URL that includes http:// or https://, and any special characters in the URL must be correctly escaped.

Declaration
public string URL { get; set; }
Property Value
System.String

Methods

Equals(Object)

Returns true if the given object contains the same data.

Declaration
public override bool Equals(object obj)
Parameters
System.Object obj

Returns
System.Boolean

Overrides
System.Object.Equals(System.Object)

GetHashCode()

Serves as a hash function.

Declaration
public override int GetHashCode()
Returns
System.Int32

Overrides
System.Object.GetHashCode()

ToString()

Returns a description of this trip.

Declaration
public override string ToString()
Returns
System.String

Overrides
System.Object.ToString()
Back to top Built by Itinero, MIT licensed.