Class: Google::Apis::QpxExpressV1::SearchTripsRequest

Inherits:
Object
  • Object
show all
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 request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SearchTripsRequest

Returns a new instance of SearchTripsRequest.



1237
1238
1239
# File 'generated/google/apis/qpx_express_v1/classes.rb', line 1237

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#requestGoogle::Apis::QpxExpressV1::TripOptionsRequest

A QPX Express search request, which will yield one or more solutions. Corresponds to the JSON property request



1235
1236
1237
# File 'generated/google/apis/qpx_express_v1/classes.rb', line 1235

def request
  @request
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1242
1243
1244
# File 'generated/google/apis/qpx_express_v1/classes.rb', line 1242

def update!(**args)
  @request = args[:request] if args.key?(:request)
end