Class Flight
All details related to a single request item for a direct flight emission estimates.
Implements
Inherited Members
Namespace: Google.Apis.TravelImpactModel.v1.Data
Assembly: Google.Apis.TravelImpactModel.v1.dll
Syntax
public class Flight : IDirectResponseSchema
Properties
DepartureDate
Required. Date of the flight in the time zone of the origin airport. Must be a date in the present or future.
Declaration
[JsonProperty("departureDate")]
public virtual Date DepartureDate { get; set; }
Property Value
Type | Description |
---|---|
Date |
Destination
Required. IATA airport code for flight destination, e.g. "JFK".
Declaration
[JsonProperty("destination")]
public virtual string Destination { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
FlightNumber
Required. Flight number, e.g. 324.
Declaration
[JsonProperty("flightNumber")]
public virtual int? FlightNumber { get; set; }
Property Value
Type | Description |
---|---|
int? |
OperatingCarrierCode
Required. IATA carrier code, e.g. "AA".
Declaration
[JsonProperty("operatingCarrierCode")]
public virtual string OperatingCarrierCode { get; set; }
Property Value
Type | Description |
---|---|
string |
Origin
Required. IATA airport code for flight origin, e.g. "LHR".
Declaration
[JsonProperty("origin")]
public virtual string Origin { get; set; }
Property Value
Type | Description |
---|---|
string |