Class: OnebusawaySDK::Models::SearchForStopListResponse::Data
Defined Under Namespace
Classes: List
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(data: nil) ⇒ 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
|
# File 'lib/onebusaway_sdk/models/search_for_stop_list_response.rb', line 15
class Data < OnebusawaySDK::Internal::Type::BaseModel
required :limit_exceeded, OnebusawaySDK::Internal::Type::Boolean, api_name: :limitExceeded
required :list,
-> { OnebusawaySDK::Internal::Type::ArrayOf[OnebusawaySDK::Models::SearchForStopListResponse::Data::List] }
required :out_of_range, OnebusawaySDK::Internal::Type::Boolean, api_name: :outOfRange
required :references, -> { OnebusawaySDK::References }
class List < OnebusawaySDK::Internal::Type::BaseModel
required :id, String
required :lat, Float
required :location_type, Integer, api_name: :locationType
required :lon, Float
required :name, String
required :parent, String
required :route_ids, OnebusawaySDK::Internal::Type::ArrayOf[String], api_name: :routeIds
required :static_route_ids,
OnebusawaySDK::Internal::Type::ArrayOf[String],
api_name: :staticRouteIds
optional :code, String
optional :direction, String
optional :wheelchair_boarding, String, api_name: :wheelchairBoarding
end
end
|
Instance Attribute Details
#limit_exceeded ⇒ Boolean
19
|
# File 'lib/onebusaway_sdk/models/search_for_stop_list_response.rb', line 19
required :limit_exceeded, OnebusawaySDK::Internal::Type::Boolean, api_name: :limitExceeded
|
24
25
|
# File 'lib/onebusaway_sdk/models/search_for_stop_list_response.rb', line 24
required :list,
-> { OnebusawaySDK::Internal::Type::ArrayOf[OnebusawaySDK::Models::SearchForStopListResponse::Data::List] }
|
#out_of_range ⇒ Boolean
30
|
# File 'lib/onebusaway_sdk/models/search_for_stop_list_response.rb', line 30
required :out_of_range, OnebusawaySDK::Internal::Type::Boolean, api_name: :outOfRange
|
35
|
# File 'lib/onebusaway_sdk/models/search_for_stop_list_response.rb', line 35
required :references, -> { OnebusawaySDK::References }
|