Class: OnebusawaySDK::Models::ScheduleForRouteRetrieveResponse::Data::Entry::StopTripGrouping::TripsWithStopTime::StopTime
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(arrival_enabled:, arrival_time:, departure_enabled:, departure_time:, stop_id:, trip_id:, service_id: nil, stop_headsign: nil) ⇒ Object
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
158
159
160
161
162
|
# File 'lib/onebusaway_sdk/models/schedule_for_route_retrieve_response.rb', line 110
class StopTime < OnebusawaySDK::Internal::Type::BaseModel
required :arrival_enabled, OnebusawaySDK::Internal::Type::Boolean, api_name: :arrivalEnabled
required :arrival_time, Integer, api_name: :arrivalTime
required :departure_enabled,
OnebusawaySDK::Internal::Type::Boolean,
api_name: :departureEnabled
required :departure_time, Integer, api_name: :departureTime
required :stop_id, String, api_name: :stopId
required :trip_id, String, api_name: :tripId
optional :service_id, String, api_name: :serviceId
optional :stop_headsign, String, api_name: :stopHeadsign
end
|
Instance Attribute Details
#arrival_enabled ⇒ Boolean
114
|
# File 'lib/onebusaway_sdk/models/schedule_for_route_retrieve_response.rb', line 114
required :arrival_enabled, OnebusawaySDK::Internal::Type::Boolean, api_name: :arrivalEnabled
|
#arrival_time ⇒ Integer
119
|
# File 'lib/onebusaway_sdk/models/schedule_for_route_retrieve_response.rb', line 119
required :arrival_time, Integer, api_name: :arrivalTime
|
#departure_enabled ⇒ Boolean
124
125
126
|
# File 'lib/onebusaway_sdk/models/schedule_for_route_retrieve_response.rb', line 124
required :departure_enabled,
OnebusawaySDK::Internal::Type::Boolean,
api_name: :departureEnabled
|
#departure_time ⇒ Integer
131
|
# File 'lib/onebusaway_sdk/models/schedule_for_route_retrieve_response.rb', line 131
required :departure_time, Integer, api_name: :departureTime
|
#service_id ⇒ String?
146
|
# File 'lib/onebusaway_sdk/models/schedule_for_route_retrieve_response.rb', line 146
optional :service_id, String, api_name: :serviceId
|
#stop_headsign ⇒ String?
151
|
# File 'lib/onebusaway_sdk/models/schedule_for_route_retrieve_response.rb', line 151
optional :stop_headsign, String, api_name: :stopHeadsign
|
#stop_id ⇒ String
136
|
# File 'lib/onebusaway_sdk/models/schedule_for_route_retrieve_response.rb', line 136
required :stop_id, String, api_name: :stopId
|
#trip_id ⇒ String
141
|
# File 'lib/onebusaway_sdk/models/schedule_for_route_retrieve_response.rb', line 141
required :trip_id, String, api_name: :tripId
|