Class: OnebusawaySDK::Models::TripForVehicleRetrieveResponse::Data::Entry::Status::Position
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OnebusawaySDK::Models::TripForVehicleRetrieveResponse::Data::Entry::Status::Position
- Defined in:
- lib/onebusaway_sdk/models/trip_for_vehicle_retrieve_response.rb
Overview
Instance Attribute Summary collapse
-
#lat ⇒ Float?
Latitude of the current position of the transit vehicle.
-
#lon ⇒ Float?
Longitude of the current position of the transit vehicle.
Instance Method Summary collapse
-
#initialize(lat: nil, lon: nil) ⇒ Object
constructor
Current position of the transit vehicle.
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(lat: nil, lon: nil) ⇒ Object
Current position of the transit vehicle.
|
|
# File 'lib/onebusaway_sdk/models/trip_for_vehicle_retrieve_response.rb', line 414
|
Instance Attribute Details
#lat ⇒ Float?
Latitude of the current position of the transit vehicle.
406 |
# File 'lib/onebusaway_sdk/models/trip_for_vehicle_retrieve_response.rb', line 406 optional :lat, Float |
#lon ⇒ Float?
Longitude of the current position of the transit vehicle.
412 |
# File 'lib/onebusaway_sdk/models/trip_for_vehicle_retrieve_response.rb', line 412 optional :lon, Float |