class Google::Apis::QpxExpressV1::TripOptionsResponse

A QPX Express search response.

Attributes

data[RW]

Detailed information about components found in the solutions of this response, including a trip's airport, city, taxes, airline, and aircraft. Corresponds to the JSON property `data` @return [Google::Apis::QpxExpressV1::Data]

kind[RW]

Identifies this as a QPX Express trip response object, which consists of zero or more solutions. Value: the fixed string qpxexpress#tripOptions. Corresponds to the JSON property `kind` @return [String]

request_id[RW]

An identifier uniquely identifying this response. Corresponds to the JSON property `requestId` @return [String]

trip_option[RW]

A list of priced itinerary solutions to the QPX Express query. Corresponds to the JSON property `tripOption` @return [Array<Google::Apis::QpxExpressV1::TripOption>]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/qpx_express_v1/classes.rb, line 1209
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/qpx_express_v1/classes.rb, line 1214
def update!(**args)
  @data = args[:data] if args.key?(:data)
  @kind = args[:kind] if args.key?(:kind)
  @request_id = args[:request_id] if args.key?(:request_id)
  @trip_option = args[:trip_option] if args.key?(:trip_option)
end