Class: OnebusawaySDK::Models::ScheduleForRouteRetrieveResponse::Data::Entry::StopTripGrouping::TripsWithStopTime
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OnebusawaySDK::Models::ScheduleForRouteRetrieveResponse::Data::Entry::StopTripGrouping::TripsWithStopTime
- Defined in:
- lib/onebusaway_sdk/models/schedule_for_route_retrieve_response.rb
Defined Under Namespace
Classes: StopTime
Instance Attribute Summary collapse
- #stop_times ⇒ Array<OnebusawaySDK::Models::ScheduleForRouteRetrieveResponse::Data::Entry::StopTripGrouping::TripsWithStopTime::StopTime>
- #trip_id ⇒ String
Instance Method Summary collapse
- #initialize(direction_id: , stop_ids: , trip_headsigns: , trip_ids: , trips_with_stop_times: nil) ⇒ Object constructor
Methods inherited from Internal::Type::BaseModel
==, #==, #[], 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
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(direction_id: , stop_ids: , trip_headsigns: , trip_ids: , trips_with_stop_times: nil) ⇒ Object
175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 |
# File 'lib/onebusaway_sdk/models/schedule_for_route_retrieve_response.rb', line 175 class TripsWithStopTime < OnebusawaySDK::Internal::Type::BaseModel # @!attribute stop_times # # @return [Array<OnebusawaySDK::Models::ScheduleForRouteRetrieveResponse::Data::Entry::StopTripGrouping::TripsWithStopTime::StopTime>] required :stop_times, -> do OnebusawaySDK::Internal::Type::ArrayOf[ OnebusawaySDK::Models::ScheduleForRouteRetrieveResponse::Data::Entry::StopTripGrouping::TripsWithStopTime::StopTime ] end, api_name: :stopTimes # @!attribute trip_id # # @return [String] required :trip_id, String, api_name: :tripId # @!method initialize(stop_times:, trip_id:) # @param stop_times [Array<OnebusawaySDK::Models::ScheduleForRouteRetrieveResponse::Data::Entry::StopTripGrouping::TripsWithStopTime::StopTime>] # @param trip_id [String] class StopTime < OnebusawaySDK::Internal::Type::BaseModel # @!attribute arrival_enabled # # @return [Boolean] required :arrival_enabled, OnebusawaySDK::Internal::Type::Boolean, api_name: :arrivalEnabled # @!attribute arrival_time # # @return [Integer] required :arrival_time, Integer, api_name: :arrivalTime # @!attribute departure_enabled # # @return [Boolean] required :departure_enabled, OnebusawaySDK::Internal::Type::Boolean, api_name: :departureEnabled # @!attribute departure_time # # @return [Integer] required :departure_time, Integer, api_name: :departureTime # @!attribute stop_id # # @return [String] required :stop_id, String, api_name: :stopId # @!attribute trip_id # # @return [String] required :trip_id, String, api_name: :tripId # @!attribute service_id # # @return [String, nil] optional :service_id, String, api_name: :serviceId # @!attribute stop_headsign # # @return [String, nil] optional :stop_headsign, String, api_name: :stopHeadsign # @!method initialize(arrival_enabled:, arrival_time:, departure_enabled:, departure_time:, stop_id:, trip_id:, service_id: nil, stop_headsign: nil) # @param arrival_enabled [Boolean] # @param arrival_time [Integer] # @param departure_enabled [Boolean] # @param departure_time [Integer] # @param stop_id [String] # @param trip_id [String] # @param service_id [String] # @param stop_headsign [String] end end |
Instance Attribute Details
#stop_times ⇒ Array<OnebusawaySDK::Models::ScheduleForRouteRetrieveResponse::Data::Entry::StopTripGrouping::TripsWithStopTime::StopTime>
179 180 181 182 183 184 185 |
# File 'lib/onebusaway_sdk/models/schedule_for_route_retrieve_response.rb', line 179 required :stop_times, -> do OnebusawaySDK::Internal::Type::ArrayOf[ OnebusawaySDK::Models::ScheduleForRouteRetrieveResponse::Data::Entry::StopTripGrouping::TripsWithStopTime::StopTime ] end, api_name: :stopTimes |
#trip_id ⇒ String
190 |
# File 'lib/onebusaway_sdk/models/schedule_for_route_retrieve_response.rb', line 190 required :trip_id, String, api_name: :tripId |