View Source GoogleApi.ContentWarehouse.V1.Model.TravelFlightsAirlineConfig (google_api_content_warehouse v0.4.0)

Next ID: 29

Attributes

  • alliance (type: String.t, default: nil) - STAR_ALLIANCE
  • baggageCarryonLimitationsUrls (type: GoogleApi.ContentWarehouse.V1.Model.TravelFlightsNameCatalogProto.t, default: nil) - Default url for baggage fee information.
  • baggageFeeUrls (type: GoogleApi.ContentWarehouse.V1.Model.TravelFlightsNameCatalogProto.t, default: nil) - Default url for baggage fee information.
  • countryCode (type: String.t, default: nil) - ISO 3166-1 alpha-2 country code in which this airline is domestic.
  • countryContactInfo (type: list(GoogleApi.ContentWarehouse.V1.Model.TravelFlightsAirlineConfigCountryContactInfo.t), default: nil) - LocalizedContactInfo allows localization by country and language. Once the data is ready, we will start filling both fields. After that the old field will be deprecated and deleted at some point.
  • dupFlag (type: boolean(), default: nil) - true, if this carrier's IATA code is a "controlled duplicate" (goto/controlled-duplicate).
  • fareFamilyUrls (type: GoogleApi.ContentWarehouse.V1.Model.TravelFlightsNameCatalogProto.t, default: nil) -
  • fqtvPartnerCode (type: list(String.t), default: nil) - IATA codes of airlines who this airline's travel can be credited to for mileage accrual.
  • greenFaresInfo (type: GoogleApi.ContentWarehouse.V1.Model.TravelFlightsAirlineConfigGreenFaresInfo.t, default: nil) -
  • iataCode (type: String.t, default: nil) - Note that some iata_codes are reused (dup_flag field). For details, including how to resolve collisions for airlines shown in Google Flights, see: go/controlled-duplicate go/flights-data/airlines#resolving-iata-code-collisions cs/go/controlled-duplicate U2 - some have no IATA code
  • icaoCode (type: String.t, default: nil) - EZY - some have no ICAO code
  • innovataCode (type: String.t, default: nil) - U2! - with optional dedup sign ('!')
  • localizedContactInfo (type: list(GoogleApi.ContentWarehouse.V1.Model.TravelFlightsAirlineConfigLocalizedContactInfo.t), default: nil) -
  • mid (type: String.t, default: nil) - Note: fields #16 and #17 are ununused. The identifier of the airline, e.g. /m/07y2s for United Populated using airlines_mids.csv.
  • names (type: GoogleApi.ContentWarehouse.V1.Model.TravelFlightsNameCatalogProto.t, default: nil) - EasyJet/イージージェット
  • passengerAssistanceUrls (type: GoogleApi.ContentWarehouse.V1.Model.TravelFlightsNameCatalogProto.t, default: nil) - Default url for passenger assistance information.
  • popularity (type: integer(), default: nil) - Number of flights with this airline over the next 180 days.
  • shortNames (type: GoogleApi.ContentWarehouse.V1.Model.TravelFlightsNameCatalogProto.t, default: nil) - KLM - instead of 'KLM Royal Dutch Airlines'
  • sustainabilityProgramUrls (type: GoogleApi.ContentWarehouse.V1.Model.TravelFlightsNameCatalogProto.t, default: nil) - URLs for airlines' sustainability programs.
  • type (type: String.t, default: nil) -
  • urls (type: GoogleApi.ContentWarehouse.V1.Model.TravelFlightsNameCatalogProto.t, default: nil) - http://www.airfrance.us/
  • waiverSummaryUrls (type: GoogleApi.ContentWarehouse.V1.Model.TravelFlightsNameCatalogProto.t, default: nil) - Default url for waiver information.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.TravelFlightsAirlineConfig{
  alliance: String.t() | nil,
  baggageCarryonLimitationsUrls:
    GoogleApi.ContentWarehouse.V1.Model.TravelFlightsNameCatalogProto.t() | nil,
  baggageFeeUrls:
    GoogleApi.ContentWarehouse.V1.Model.TravelFlightsNameCatalogProto.t() | nil,
  countryCode: String.t() | nil,
  countryContactInfo:
    [
      GoogleApi.ContentWarehouse.V1.Model.TravelFlightsAirlineConfigCountryContactInfo.t()
    ]
    | nil,
  dupFlag: boolean() | nil,
  fareFamilyUrls:
    GoogleApi.ContentWarehouse.V1.Model.TravelFlightsNameCatalogProto.t() | nil,
  fqtvPartnerCode: [String.t()] | nil,
  greenFaresInfo:
    GoogleApi.ContentWarehouse.V1.Model.TravelFlightsAirlineConfigGreenFaresInfo.t()
    | nil,
  iataCode: String.t() | nil,
  icaoCode: String.t() | nil,
  innovataCode: String.t() | nil,
  localizedContactInfo:
    [
      GoogleApi.ContentWarehouse.V1.Model.TravelFlightsAirlineConfigLocalizedContactInfo.t()
    ]
    | nil,
  mid: String.t() | nil,
  names:
    GoogleApi.ContentWarehouse.V1.Model.TravelFlightsNameCatalogProto.t() | nil,
  passengerAssistanceUrls:
    GoogleApi.ContentWarehouse.V1.Model.TravelFlightsNameCatalogProto.t() | nil,
  popularity: integer() | nil,
  shortNames:
    GoogleApi.ContentWarehouse.V1.Model.TravelFlightsNameCatalogProto.t() | nil,
  sustainabilityProgramUrls:
    GoogleApi.ContentWarehouse.V1.Model.TravelFlightsNameCatalogProto.t() | nil,
  type: String.t() | nil,
  urls:
    GoogleApi.ContentWarehouse.V1.Model.TravelFlightsNameCatalogProto.t() | nil,
  waiverSummaryUrls:
    GoogleApi.ContentWarehouse.V1.Model.TravelFlightsNameCatalogProto.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.