Class: OnebusawaySDK::Models::TripDetailRetrieveResponse::Data::Entry::Schedule::StopTime
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(next_trip_id: , previous_trip_id: , stop_times: , time_zone: , frequency: nil) ⇒ Object
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
|
# File 'lib/onebusaway_sdk/models/trip_detail_retrieve_response.rb', line 106
class StopTime < OnebusawaySDK::Internal::Type::BaseModel
optional :arrival_time, Integer, api_name: :arrivalTime
optional :departure_time, Integer, api_name: :departureTime
optional :distance_along_trip, Float, api_name: :distanceAlongTrip
optional :historical_occupancy, String, api_name: :historicalOccupancy
optional :stop_headsign, String, api_name: :stopHeadsign
optional :stop_id, String, api_name: :stopId
end
|
Instance Attribute Details
#arrival_time ⇒ Integer?
110
|
# File 'lib/onebusaway_sdk/models/trip_detail_retrieve_response.rb', line 110
optional :arrival_time, Integer, api_name: :arrivalTime
|
#departure_time ⇒ Integer?
115
|
# File 'lib/onebusaway_sdk/models/trip_detail_retrieve_response.rb', line 115
optional :departure_time, Integer, api_name: :departureTime
|
#distance_along_trip ⇒ Float?
120
|
# File 'lib/onebusaway_sdk/models/trip_detail_retrieve_response.rb', line 120
optional :distance_along_trip, Float, api_name: :distanceAlongTrip
|
#historical_occupancy ⇒ String?
125
|
# File 'lib/onebusaway_sdk/models/trip_detail_retrieve_response.rb', line 125
optional :historical_occupancy, String, api_name: :historicalOccupancy
|
#stop_headsign ⇒ String?
130
|
# File 'lib/onebusaway_sdk/models/trip_detail_retrieve_response.rb', line 130
optional :stop_headsign, String, api_name: :stopHeadsign
|
#stop_id ⇒ String?
135
|
# File 'lib/onebusaway_sdk/models/trip_detail_retrieve_response.rb', line 135
optional :stop_id, String, api_name: :stopId
|