Show / Hide Table of Contents

Class FeedInfo

Represents additional information about the GTFS feed itself, including publisher, version, and expiration information.

Inheritance
System.Object
GTFSEntity
FeedInfo
Inherited Members
GTFSEntity.Tag
GTFSEntity.EntityChanged
System.Object.ToString()
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 FeedInfo : GTFSEntity

Properties

EndDate

Gets or sets the end date.

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

Lang

Gets or sets a IETF BCP 47 language code specifying the default language used for the text in this feed. This setting helps GTFS consumers choose capitalization rules and other language-specific settings for the feed. For an introduction to IETF BCP 47, please refer to http://www.rfc-editor.org/rfc/bcp/bcp47.txt and http://www.w3.org/International/articles/language-tags/.

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

PublisherName

Gets or sets the full name of the organization that publishes the feed. (This may be the same as one of the agency_name values in agency.txt.) GTFS-consuming applications can display this name when giving attribution for a particular feed's data.

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

PublisherUrl

Gets or sets the URL of the feed publishing organization's website. (This may be the same as one of the agency_url values in agency.txt.) The value must be a fully qualified URL that includes http:// or https://, and any special characters in the URL must be correctly escaped. See http://www.w3.org/Addressing/URL/4_URI_Recommentations.html for a description of how to create fully qualified URL values.

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

StartDate

Gets or sets the start date.

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

Version

Gets or sets a string here that indicates the current version of their GTFS feed. GTFS-consuming applications can display this value to help feed publishers determine whether the latest version of their feed has been incorporated.

Declaration
public string Version { 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()
Back to top Built by Itinero, MIT licensed.