GoogleApi.TravelImpactModel.V1.Model.FlightWithEmissions (google_api_travel_impact_model v0.3.1)
View SourceDirect flight with emission estimates.
Attributes
-
emissionsGramsPerPax
(type:GoogleApi.TravelImpactModel.V1.Model.EmissionsGramsPerPax.t
, default:nil
) - Optional. Per-passenger emission estimate numbers. Will not be present if emissions could not be computed. For the list of reasons why emissions could not be computed, see ComputeFlightEmissions. This field uses wtw emissions aka ttw_emissions_grams_per_pax + wtt_emissions_grams_per_pax. -
flight
(type:GoogleApi.TravelImpactModel.V1.Model.Flight.t
, default:nil
) - Required. Matches the flight identifiers in the request. Note: all IATA codes are capitalized.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.TravelImpactModel.V1.Model.FlightWithEmissions{ emissionsGramsPerPax: GoogleApi.TravelImpactModel.V1.Model.EmissionsGramsPerPax.t() | nil, flight: GoogleApi.TravelImpactModel.V1.Model.Flight.t() | nil }