View Source GoogleApi.TravelImpactModel.V1.Model.EmissionsGramsPerPax (google_api_travel_impact_model v0.2.0)

Grouped emissions per seating class results.

Attributes

  • business (type: integer(), default: nil) - Emissions for one passenger in business class in grams. This field is always computed and populated, regardless of whether the aircraft has business class seats or not.
  • economy (type: integer(), default: nil) - Emissions for one passenger in economy class in grams. This field is always computed and populated, regardless of whether the aircraft has economy class seats or not.
  • first (type: integer(), default: nil) - Emissions for one passenger in first class in grams. This field is always computed and populated, regardless of whether the aircraft has first class seats or not.
  • premiumEconomy (type: integer(), default: nil) - Emissions for one passenger in premium economy class in grams. This field is always computed and populated, regardless of whether the aircraft has premium economy class seats or not.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.TravelImpactModel.V1.Model.EmissionsGramsPerPax{
  business: integer() | nil,
  economy: integer() | nil,
  first: integer() | nil,
  premiumEconomy: integer() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.