Class: Google::Apis::QpxExpressV1::SearchTripsResponse
- Inherits:
-
Object
- Object
- Google::Apis::QpxExpressV1::SearchTripsResponse
- 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
-
#kind ⇒ String
Identifies this as a QPX Express API search response resource.
-
#trips ⇒ Google::Apis::QpxExpressV1::TripOptionsResponse
A QPX Express search response.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SearchTripsResponse
constructor
A new instance of SearchTripsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SearchTripsResponse
Returns a new instance of SearchTripsResponse
1262 1263 1264 |
# File 'generated/google/apis/qpx_express_v1/classes.rb', line 1262 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
Identifies this as a QPX Express API search response resource. Value: the
fixed string qpxExpress#tripsSearch.
Corresponds to the JSON property kind
1255 1256 1257 |
# File 'generated/google/apis/qpx_express_v1/classes.rb', line 1255 def kind @kind end |
#trips ⇒ Google::Apis::QpxExpressV1::TripOptionsResponse
A QPX Express search response.
Corresponds to the JSON property trips
1260 1261 1262 |
# File 'generated/google/apis/qpx_express_v1/classes.rb', line 1260 def trips @trips end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1267 1268 1269 1270 |
# File 'generated/google/apis/qpx_express_v1/classes.rb', line 1267 def update!(**args) @kind = args[:kind] if args.key?(:kind) @trips = args[:trips] if args.key?(:trips) end |