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

Defined Under Namespace

Classes: Name, Polyline

Instance Attribute Summary collapse

Instance Method Summary collapse

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(name: nil, names: nil, type: nil) ⇒ Object

Parameters:

  • name (String) (defaults to: nil)
  • names (Array<String>) (defaults to: nil)
  • type (String) (defaults to: nil)


# File 'lib/onebusaway_sdk/models/stops_for_route_list_response.rb', line 105


Instance Attribute Details

#idString?

Returns:

  • (String, nil)


87
# File 'lib/onebusaway_sdk/models/stops_for_route_list_response.rb', line 87

optional :id, String

#nameOnebusawaySDK::Models::StopsForRouteListResponse::Data::Entry::StopGrouping::Name?



92
# File 'lib/onebusaway_sdk/models/stops_for_route_list_response.rb', line 92

optional :name, -> { OnebusawaySDK::Models::StopsForRouteListResponse::Data::Entry::StopGrouping::Name }

#polylinesArray<OnebusawaySDK::Models::StopsForRouteListResponse::Data::Entry::StopGrouping::Polyline>?



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_idsArray<String>?

Returns:

  • (Array<String>, nil)


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