GoogleApi.TravelImpactModel.V1.Model.ComputeFlightEmissionsResponse (google_api_travel_impact_model v0.3.1)

View Source

Output definition for the ComputeFlightEmissions response.

Attributes

  • flightEmissions (type: list(GoogleApi.TravelImpactModel.V1.Model.FlightWithEmissions.t), default: nil) - List of flight legs with emission estimates.
  • modelVersion (type: GoogleApi.TravelImpactModel.V1.Model.ModelVersion.t, default: nil) - The model version under which emission estimates for all flights in this response were computed.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.TravelImpactModel.V1.Model.ComputeFlightEmissionsResponse{
  flightEmissions:
    [GoogleApi.TravelImpactModel.V1.Model.FlightWithEmissions.t()] | nil,
  modelVersion: GoogleApi.TravelImpactModel.V1.Model.ModelVersion.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.