Class: OnebusawaySDK::Models::StopsForRouteListResponse::Data::Entry::StopGrouping
- Inherits:
-
Internal::Type::BaseModel
show all
- Defined in:
- lib/onebusaway_sdk/models/stops_for_route_list_response.rb,
sig/onebusaway_sdk/models/stops_for_route_list_response.rbs
Defined Under Namespace
Classes: Name, Polyline
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(name: nil, names: nil, type: nil) ⇒ Object
|
# File 'lib/onebusaway_sdk/models/stops_for_route_list_response.rb', line 105
|
Instance Attribute Details
#id ⇒ String?
87
|
# File 'lib/onebusaway_sdk/models/stops_for_route_list_response.rb', line 87
optional :id, String
|
92
|
# File 'lib/onebusaway_sdk/models/stops_for_route_list_response.rb', line 92
optional :name, -> { OnebusawaySDK::Models::StopsForRouteListResponse::Data::Entry::StopGrouping::Name }
|
97
98
|
# File 'lib/onebusaway_sdk/models/stops_for_route_list_response.rb', line 97
optional :polylines,
-> { OnebusawaySDK::Internal::Type::ArrayOf[OnebusawaySDK::Models::StopsForRouteListResponse::Data::Entry::StopGrouping::Polyline] }
|
#stop_ids ⇒ Array<String>?
103
|
# File 'lib/onebusaway_sdk/models/stops_for_route_list_response.rb', line 103
optional :stop_ids, OnebusawaySDK::Internal::Type::ArrayOf[String], api_name: :stopIds
|
Instance Method Details
#to_hash ⇒ {
145
|
# File 'sig/onebusaway_sdk/models/stops_for_route_list_response.rbs', line 145
def to_hash: -> {
|