Class: Google::Apis::QpxExpressV1::TripOptionsResponse
- Inherits:
-
Object
- Object
- Google::Apis::QpxExpressV1::TripOptionsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/qpx_express_v1/classes.rb,
generated/google/apis/qpx_express_v1/representations.rb,
generated/google/apis/qpx_express_v1/representations.rb
Overview
A QPX Express search response.
Instance Attribute Summary collapse
-
#data ⇒ 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.
-
#kind ⇒ String
Identifies this as a QPX Express trip response object, which consists of zero or more solutions.
-
#request_id ⇒ String
An identifier uniquely identifying this response.
-
#trip_option ⇒ Array<Google::Apis::QpxExpressV1::TripOption>
A list of priced itinerary solutions to the QPX Express query.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TripOptionsResponse
constructor
A new instance of TripOptionsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ TripOptionsResponse
Returns a new instance of TripOptionsResponse
1215 1216 1217 |
# File 'generated/google/apis/qpx_express_v1/classes.rb', line 1215 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data ⇒ 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.
Corresponds to the JSON property data
1197 1198 1199 |
# File 'generated/google/apis/qpx_express_v1/classes.rb', line 1197 def data @data end |
#kind ⇒ String
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
1203 1204 1205 |
# File 'generated/google/apis/qpx_express_v1/classes.rb', line 1203 def kind @kind end |
#request_id ⇒ String
An identifier uniquely identifying this response.
Corresponds to the JSON property requestId
1208 1209 1210 |
# File 'generated/google/apis/qpx_express_v1/classes.rb', line 1208 def request_id @request_id end |
#trip_option ⇒ Array<Google::Apis::QpxExpressV1::TripOption>
A list of priced itinerary solutions to the QPX Express query.
Corresponds to the JSON property tripOption
1213 1214 1215 |
# File 'generated/google/apis/qpx_express_v1/classes.rb', line 1213 def trip_option @trip_option end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1220 1221 1222 1223 1224 1225 |
# File 'generated/google/apis/qpx_express_v1/classes.rb', line 1220 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 |