Class: OnebusawaySDK::Models::StopsForRouteListResponse::Data
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OnebusawaySDK::Models::StopsForRouteListResponse::Data
- Defined in:
- lib/onebusaway_sdk/models/stops_for_route_list_response.rb
Defined Under Namespace
Classes: Entry
Instance Attribute Summary collapse
- #entry ⇒ OnebusawaySDK::Models::StopsForRouteListResponse::Data::Entry
- #references ⇒ OnebusawaySDK::Models::References
Instance Method Summary collapse
- #initialize(entry: , references: ) ⇒ Object constructor
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(entry: , references: ) ⇒ Object
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 |
# File 'lib/onebusaway_sdk/models/stops_for_route_list_response.rb', line 15 class Data < OnebusawaySDK::Internal::Type::BaseModel # @!attribute entry # # @return [OnebusawaySDK::Models::StopsForRouteListResponse::Data::Entry] required :entry, -> { OnebusawaySDK::Models::StopsForRouteListResponse::Data::Entry } # @!attribute references # # @return [OnebusawaySDK::Models::References] required :references, -> { OnebusawaySDK::References } # @!method initialize(entry:, references:) # @param entry [OnebusawaySDK::Models::StopsForRouteListResponse::Data::Entry] # @param references [OnebusawaySDK::Models::References] # @see OnebusawaySDK::Models::StopsForRouteListResponse::Data#entry class Entry < OnebusawaySDK::Internal::Type::BaseModel # @!attribute polylines # # @return [Array<OnebusawaySDK::Models::StopsForRouteListResponse::Data::Entry::Polyline>, nil] optional :polylines, -> { OnebusawaySDK::Internal::Type::ArrayOf[OnebusawaySDK::Models::StopsForRouteListResponse::Data::Entry::Polyline] } # @!attribute route_id # # @return [String, nil] optional :route_id, String, api_name: :routeId # @!attribute stop_groupings # # @return [Array<OnebusawaySDK::Models::StopsForRouteListResponse::Data::Entry::StopGrouping>, nil] optional :stop_groupings, -> { OnebusawaySDK::Internal::Type::ArrayOf[OnebusawaySDK::Models::StopsForRouteListResponse::Data::Entry::StopGrouping] }, api_name: :stopGroupings # @!attribute stop_ids # # @return [Array<String>, nil] optional :stop_ids, OnebusawaySDK::Internal::Type::ArrayOf[String], api_name: :stopIds # @!method initialize(polylines: nil, route_id: nil, stop_groupings: nil, stop_ids: nil) # @param polylines [Array<OnebusawaySDK::Models::StopsForRouteListResponse::Data::Entry::Polyline>] # @param route_id [String] # @param stop_groupings [Array<OnebusawaySDK::Models::StopsForRouteListResponse::Data::Entry::StopGrouping>] # @param stop_ids [Array<String>] class Polyline < OnebusawaySDK::Internal::Type::BaseModel # @!attribute length # # @return [Integer, nil] optional :length, Integer # @!attribute levels # # @return [String, nil] optional :levels, String # @!attribute points # # @return [String, nil] optional :points, String # @!method initialize(length: nil, levels: nil, points: nil) # @param length [Integer] # @param levels [String] # @param points [String] end class StopGrouping < OnebusawaySDK::Internal::Type::BaseModel # @!attribute id # # @return [String, nil] optional :id, String # @!attribute name # # @return [OnebusawaySDK::Models::StopsForRouteListResponse::Data::Entry::StopGrouping::Name, nil] optional :name, -> { OnebusawaySDK::Models::StopsForRouteListResponse::Data::Entry::StopGrouping::Name } # @!attribute polylines # # @return [Array<OnebusawaySDK::Models::StopsForRouteListResponse::Data::Entry::StopGrouping::Polyline>, nil] optional :polylines, -> { OnebusawaySDK::Internal::Type::ArrayOf[OnebusawaySDK::Models::StopsForRouteListResponse::Data::Entry::StopGrouping::Polyline] } # @!attribute stop_ids # # @return [Array<String>, nil] optional :stop_ids, OnebusawaySDK::Internal::Type::ArrayOf[String], api_name: :stopIds # @!method initialize(id: nil, name: nil, polylines: nil, stop_ids: nil) # @param id [String] # @param name [OnebusawaySDK::Models::StopsForRouteListResponse::Data::Entry::StopGrouping::Name] # @param polylines [Array<OnebusawaySDK::Models::StopsForRouteListResponse::Data::Entry::StopGrouping::Polyline>] # @param stop_ids [Array<String>] # @see OnebusawaySDK::Models::StopsForRouteListResponse::Data::Entry::StopGrouping#name class Name < OnebusawaySDK::Internal::Type::BaseModel # @!attribute name # # @return [String, nil] optional :name, String # @!attribute names # # @return [Array<String>, nil] optional :names, OnebusawaySDK::Internal::Type::ArrayOf[String] # @!attribute type # # @return [String, nil] optional :type, String # @!method initialize(name: nil, names: nil, type: nil) # @param name [String] # @param names [Array<String>] # @param type [String] end class Polyline < OnebusawaySDK::Internal::Type::BaseModel # @!attribute length # # @return [Integer, nil] optional :length, Integer # @!attribute levels # # @return [String, nil] optional :levels, String # @!attribute points # # @return [String, nil] optional :points, String # @!method initialize(length: nil, levels: nil, points: nil) # @param length [Integer] # @param levels [String] # @param points [String] end end end end |
Instance Attribute Details
#entry ⇒ OnebusawaySDK::Models::StopsForRouteListResponse::Data::Entry
19 |
# File 'lib/onebusaway_sdk/models/stops_for_route_list_response.rb', line 19 required :entry, -> { OnebusawaySDK::Models::StopsForRouteListResponse::Data::Entry } |
#references ⇒ OnebusawaySDK::Models::References
24 |
# File 'lib/onebusaway_sdk/models/stops_for_route_list_response.rb', line 24 required :references, -> { OnebusawaySDK::References } |