Class: OnebusawaySDK::Models::References::StopTime

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/onebusaway_sdk/models/references.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Internal::Type::BaseModel

#==, ==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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

This class inherits a constructor from OnebusawaySDK::Internal::Type::BaseModel

Instance Attribute Details

#arrival_timeInteger?

Returns:

  • (Integer, nil)


589
# File 'lib/onebusaway_sdk/models/references.rb', line 589

optional :arrival_time, Integer, api_name: :arrivalTime

#departure_timeInteger?

Returns:

  • (Integer, nil)


594
# File 'lib/onebusaway_sdk/models/references.rb', line 594

optional :departure_time, Integer, api_name: :departureTime

#distance_along_tripFloat?

Returns:

  • (Float, nil)


599
# File 'lib/onebusaway_sdk/models/references.rb', line 599

optional :distance_along_trip, Float, api_name: :distanceAlongTrip

#historical_occupancyString?

Returns:

  • (String, nil)


604
# File 'lib/onebusaway_sdk/models/references.rb', line 604

optional :historical_occupancy, String, api_name: :historicalOccupancy

#stop_headsignString?

Returns:

  • (String, nil)


609
# File 'lib/onebusaway_sdk/models/references.rb', line 609

optional :stop_headsign, String, api_name: :stopHeadsign

#stop_idString?

Returns:

  • (String, nil)


614
# File 'lib/onebusaway_sdk/models/references.rb', line 614

optional :stop_id, String, api_name: :stopId