Class: OnebusawaySDK::Models::StopsForRouteListResponse::Data::Entry

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/onebusaway_sdk/models/stops_for_route_list_response.rb

Overview

See Also:

Defined Under Namespace

Classes: Polyline, StopGrouping

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(length: nil, levels: nil, points: nil) ⇒ Object

Parameters:

  • length (Integer) (defaults to: nil)
  • levels (String) (defaults to: nil)
  • points (String) (defaults to: nil)


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


Instance Attribute Details

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



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

optional :polylines,
-> { OnebusawaySDK::Internal::Type::ArrayOf[OnebusawaySDK::Models::StopsForRouteListResponse::Data::Entry::Polyline] }

#route_idString?

Returns:

  • (String, nil)


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

optional :route_id, String, api_name: :routeId

#stop_groupingsArray<OnebusawaySDK::Models::StopsForRouteListResponse::Data::Entry::StopGrouping>?



46
47
48
# File 'lib/onebusaway_sdk/models/stops_for_route_list_response.rb', line 46

optional :stop_groupings,
-> { OnebusawaySDK::Internal::Type::ArrayOf[OnebusawaySDK::Models::StopsForRouteListResponse::Data::Entry::StopGrouping] },
api_name: :stopGroupings

#stop_idsArray<String>?

Returns:

  • (Array<String>, nil)


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

optional :stop_ids, OnebusawaySDK::Internal::Type::ArrayOf[String], api_name: :stopIds