Class: OnebusawaySDK::Models::ArrivalsAndDeparturesForLocationListResponse::Data::Entry::NearbyStopID
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OnebusawaySDK::Models::ArrivalsAndDeparturesForLocationListResponse::Data::Entry::NearbyStopID
show all
- Defined in:
- lib/onebusaway_sdk/models/arrivals_and_departures_for_location_list_response.rb,
sig/onebusaway_sdk/models/arrivals_and_departures_for_location_list_response.rbs
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(distance_from_query: nil, stop_id: nil) ⇒ Object
|
# File 'lib/onebusaway_sdk/models/arrivals_and_departures_for_location_list_response.rb', line 647
|
Instance Attribute Details
#distance_from_query ⇒ Float?
640
|
# File 'lib/onebusaway_sdk/models/arrivals_and_departures_for_location_list_response.rb', line 640
optional :distance_from_query, Float, api_name: :distanceFromQuery
|
#stop_id ⇒ String?
645
|
# File 'lib/onebusaway_sdk/models/arrivals_and_departures_for_location_list_response.rb', line 645
optional :stop_id, String, api_name: :stopId
|
Instance Method Details
#to_hash ⇒ { distance_from_query: Float, stop_id: String }
507
|
# File 'sig/onebusaway_sdk/models/arrivals_and_departures_for_location_list_response.rbs', line 507
def to_hash: -> { distance_from_query: Float, stop_id: String }
|