GoogleApi.WalletObjects.V1.Model.FlightHeader (google_api_wallet_objects v0.12.0)

View Source

Attributes

  • carrier (type: GoogleApi.WalletObjects.V1.Model.FlightCarrier.t, default: nil) - Information about airline carrier. This is a required property of flightHeader.
  • flightNumber (type: String.t, default: nil) - The flight number without IATA carrier code. This field should contain only digits. This is a required property of flightHeader. eg: "123"
  • flightNumberDisplayOverride (type: String.t, default: nil) - Override value to use for flight number. The default value used for display purposes is carrier + flight_number. If a different value needs to be shown to passengers, use this field to override the default behavior. eg: "XX1234 / YY576"
  • kind (type: String.t, default: nil) - Identifies what kind of resource this is. Value: the fixed string "walletobjects#flightHeader".
  • operatingCarrier (type: GoogleApi.WalletObjects.V1.Model.FlightCarrier.t, default: nil) - Information about operating airline carrier.
  • operatingFlightNumber (type: String.t, default: nil) - The flight number used by the operating carrier without IATA carrier code. This field should contain only digits. eg: "234"

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.WalletObjects.V1.Model.FlightHeader{
  carrier: GoogleApi.WalletObjects.V1.Model.FlightCarrier.t() | nil,
  flightNumber: String.t() | nil,
  flightNumberDisplayOverride: String.t() | nil,
  kind: String.t() | nil,
  operatingCarrier: GoogleApi.WalletObjects.V1.Model.FlightCarrier.t() | nil,
  operatingFlightNumber: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.