Class: OnebusawaySDK::Models::BlockRetrieveResponse::Data::Entry::Configuration::Trip::BlockStopTime::StopTime
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OnebusawaySDK::Models::BlockRetrieveResponse::Data::Entry::Configuration::Trip::BlockStopTime::StopTime
show all
- Defined in:
- lib/onebusaway_sdk/models/block_retrieve_response.rb,
sig/onebusaway_sdk/models/block_retrieve_response.rbs
Overview
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(arrival_time:, departure_time:, stop_id:, drop_off_type: nil, pickup_type: nil) ⇒ Object
|
# File 'lib/onebusaway_sdk/models/block_retrieve_response.rb', line 158
|
Instance Attribute Details
#arrival_time ⇒ Integer
136
|
# File 'lib/onebusaway_sdk/models/block_retrieve_response.rb', line 136
required :arrival_time, Integer, api_name: :arrivalTime
|
#departure_time ⇒ Integer
141
|
# File 'lib/onebusaway_sdk/models/block_retrieve_response.rb', line 141
required :departure_time, Integer, api_name: :departureTime
|
#drop_off_type ⇒ Integer?
151
|
# File 'lib/onebusaway_sdk/models/block_retrieve_response.rb', line 151
optional :drop_off_type, Integer, api_name: :dropOffType
|
#pickup_type ⇒ Integer?
156
|
# File 'lib/onebusaway_sdk/models/block_retrieve_response.rb', line 156
optional :pickup_type, Integer, api_name: :pickupType
|
#stop_id ⇒ String
146
|
# File 'lib/onebusaway_sdk/models/block_retrieve_response.rb', line 146
required :stop_id, String, api_name: :stopId
|
Instance Method Details
#to_hash ⇒ {
185
|
# File 'sig/onebusaway_sdk/models/block_retrieve_response.rbs', line 185
def to_hash: -> {
|