Show / Hide Table of Contents

Class Scope3FlightSegment

Flight parameters with which the Scope 3 emissions are fetched.

Inheritance
object
Scope3FlightSegment
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.TravelImpactModel.v1.Data
Assembly: Google.Apis.TravelImpactModel.v1.dll
Syntax
public class Scope3FlightSegment : IDirectResponseSchema

Properties

CabinClass

Required. The cabin class of the flight.

Declaration
[JsonProperty("cabinClass")]
public virtual string CabinClass { get; set; }
Property Value
Type Description
string

CarrierCode

Optional. 2-character IATA carrier code, e.g. KE. This is required if specific flight matching is desired. Otherwise, this is unused for typical flight and distance-based emissions models. This could be both operating and marketing carrier code (i.e. codeshare is covered).

Declaration
[JsonProperty("carrierCode")]
public virtual string CarrierCode { get; set; }
Property Value
Type Description
string

DepartureDate

Required. Date of the flight in the time zone of the origin airport. Only year is required for typical flight and distance-based emissions models (month and day values are ignored and therefore, can be either omitted, set to 0, or set to a valid date for those cases). Correspondingly, if a specific date is not provided for TIM emissions, we will fallback to typical flight (or distance-based) emissions.

Declaration
[JsonProperty("departureDate")]
public virtual Date DepartureDate { get; set; }
Property Value
Type Description
Date

Destination

Optional. 3-character IATA airport code for flight destination, e.g. ICN. This is used to match specific flight if provided alongside origin, carrier, and flight number. If there is no match, we will first try to match the flight to a typical flight between the provided origin and destination airports. Otherwise, we will use the distance-based emissions model if the flight distance is provided.

Declaration
[JsonProperty("destination")]
public virtual string Destination { get; set; }
Property Value
Type Description
string

DistanceKm

Optional. Distance in kilometers, e.g. 2423, from [1, 2.5e16) km. This is used to match a flight to distance-based emissions when origin and destination are not provided or there are no matching typical flights.

Declaration
[JsonProperty("distanceKm")]
public virtual long? DistanceKm { get; set; }
Property Value
Type Description
long?

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

FlightNumber

Optional. Up to 4-digit flight number, e.g. 71, from [1, 9999]. This is first used to match a specific flight if a flight number is specified alongside origin, destination, and carrier. If a flight number is not specified, we will first try to match the flight to a typical flight between the provided origin and destination airports. If that fails and/or origin & destination are not provided, we will use the distance-based emissions model based on the flight distance provided.

Declaration
[JsonProperty("flightNumber")]
public virtual int? FlightNumber { get; set; }
Property Value
Type Description
int?

Origin

Optional. 3-character IATA airport code for flight origin, e.g. YVR. This is used to match specific flight if provided alongside destination, carrier, and flight number. If there is no match, we will first try to match the flight to a typical flight between the provided origin and destination airports. Otherwise, we will use the distance-based emissions model if the flight distance is provided.

Declaration
[JsonProperty("origin")]
public virtual string Origin { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX