Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

FlightWithEmissions

import type { FlightWithEmissions } from "https://googleapis.deno.dev/v1/travelimpactmodel:v1.ts";

Direct flight with emission estimates.

interface FlightWithEmissions {
contrailsImpactBucket?:
| "CONTRAILS_IMPACT_UNSPECIFIED"
| "CONTRAILS_IMPACT_NEGLIGIBLE"
| "CONTRAILS_IMPACT_MODERATE"
| "CONTRAILS_IMPACT_SEVERE";
easaLabelMetadata?: EasaLabelMetadata;
emissionsGramsPerPax?: EmissionsGramsPerPax;
flight?: Flight;
source?: "SOURCE_UNSPECIFIED" | "TIM" | "EASA";
}

§Properties

§
contrailsImpactBucket?: "CONTRAILS_IMPACT_UNSPECIFIED" | "CONTRAILS_IMPACT_NEGLIGIBLE" | "CONTRAILS_IMPACT_MODERATE" | "CONTRAILS_IMPACT_SEVERE"
[src]

Optional. The significance of contrails warming impact compared to the total CO2e emissions impact.

§
easaLabelMetadata?: EasaLabelMetadata
[src]

Optional. Metadata about the EASA Flight Emissions Label. Only set when the emissions data source is EASA.

§
emissionsGramsPerPax?: EmissionsGramsPerPax
[src]

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.

§
flight?: Flight
[src]

Required. Matches the flight identifiers in the request. Note: all IATA codes are capitalized.

§
source?: "SOURCE_UNSPECIFIED" | "TIM" | "EASA"
[src]

Optional. The source of the emissions data.