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)


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

optional :arrival_time, Integer, api_name: :arrivalTime

#departure_timeInteger?

Returns:

  • (Integer, nil)


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

optional :departure_time, Integer, api_name: :departureTime

#distance_along_tripFloat?

Returns:

  • (Float, nil)


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

optional :distance_along_trip, Float, api_name: :distanceAlongTrip

#historical_occupancyString?

Returns:

  • (String, nil)


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

optional :historical_occupancy, String, api_name: :historicalOccupancy

#stop_headsignString?

Returns:

  • (String, nil)


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

optional :stop_headsign, String, api_name: :stopHeadsign

#stop_idString?

Returns:

  • (String, nil)


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

optional :stop_id, String, api_name: :stopId