class Google::Apis::QpxExpressV1::Data
Detailed information about components found in the solutions of this response, including a trip's airport, city, taxes, airline, and aircraft.
Attributes
The aircraft that is flying between an origin and destination. Corresponds to the JSON property `aircraft` @return [Array<Google::Apis::QpxExpressV1::AircraftData>]
The airport of an origin or destination. Corresponds to the JSON property `airport` @return [Array<Google::Apis::QpxExpressV1::AirportData>]
The airline carrier of the aircraft flying between an origin and destination. Allowed values are IATA carrier codes. Corresponds to the JSON property `carrier` @return [Array<Google::Apis::QpxExpressV1::CarrierData>]
The city that is either the origin or destination of part of a trip. Corresponds to the JSON property `city` @return [Array<Google::Apis::QpxExpressV1::CityData>]
Identifies this as QPX Express response resource, including a trip's airport, city, taxes, airline, and aircraft. Value: the fixed string qpxexpress#data. Corresponds to the JSON property `kind` @return [String]
The taxes due for flying between an origin and a destination. Corresponds to the JSON property `tax` @return [Array<Google::Apis::QpxExpressV1::TaxData>]
Public Class Methods
# File generated/google/apis/qpx_express_v1/classes.rb, line 252 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/qpx_express_v1/classes.rb, line 257 def update!(**args) @aircraft = args[:aircraft] if args.key?(:aircraft) @airport = args[:airport] if args.key?(:airport) @carrier = args[:carrier] if args.key?(:carrier) @city = args[:city] if args.key?(:city) @kind = args[:kind] if args.key?(:kind) @tax = args[:tax] if args.key?(:tax) end