Class: OnebusawaySDK::Models::StopsForAgencyListResponse::List
Instance Attribute Summary collapse
Instance Method Summary
collapse
-
#initialize(id: , lat: , location_type: , lon: , name: , parent: , route_ids: , static_route_ids: , code: nil, direction: nil, wheelchair_boarding: nil) ⇒ Object
constructor
==, #==, #[], 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(id: , lat: , location_type: , lon: , name: , parent: , route_ids: , static_route_ids: , code: nil, direction: nil, wheelchair_boarding: nil) ⇒ Object
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
|
# File 'lib/onebusaway_sdk/models/stops_for_agency_list_response.rb', line 34
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
|
Instance Attribute Details
#code ⇒ String?
78
|
# File 'lib/onebusaway_sdk/models/stops_for_agency_list_response.rb', line 78
optional :code, String
|
#direction ⇒ String?
83
|
# File 'lib/onebusaway_sdk/models/stops_for_agency_list_response.rb', line 83
optional :direction, String
|
#id ⇒ String
38
|
# File 'lib/onebusaway_sdk/models/stops_for_agency_list_response.rb', line 38
required :id, String
|
#lat ⇒ Float
43
|
# File 'lib/onebusaway_sdk/models/stops_for_agency_list_response.rb', line 43
required :lat, Float
|
#location_type ⇒ Integer
48
|
# File 'lib/onebusaway_sdk/models/stops_for_agency_list_response.rb', line 48
required :location_type, Integer, api_name: :locationType
|
#lon ⇒ Float
53
|
# File 'lib/onebusaway_sdk/models/stops_for_agency_list_response.rb', line 53
required :lon, Float
|
#name ⇒ String
58
|
# File 'lib/onebusaway_sdk/models/stops_for_agency_list_response.rb', line 58
required :name, String
|
#parent ⇒ String
63
|
# File 'lib/onebusaway_sdk/models/stops_for_agency_list_response.rb', line 63
required :parent, String
|
#route_ids ⇒ Array<String>
68
|
# File 'lib/onebusaway_sdk/models/stops_for_agency_list_response.rb', line 68
required :route_ids, OnebusawaySDK::Internal::Type::ArrayOf[String], api_name: :routeIds
|
#static_route_ids ⇒ Array<String>
73
|
# File 'lib/onebusaway_sdk/models/stops_for_agency_list_response.rb', line 73
required :static_route_ids, OnebusawaySDK::Internal::Type::ArrayOf[String], api_name: :staticRouteIds
|
#wheelchair_boarding ⇒ String?
88
|
# File 'lib/onebusaway_sdk/models/stops_for_agency_list_response.rb', line 88
optional :wheelchair_boarding, String, api_name: :wheelchairBoarding
|