Class: OnebusawaySDK::Models::TripForVehicleRetrieveResponse::Data::Entry::Schedule
- Inherits:
-
Internal::Type::BaseModel
show all
- Defined in:
- lib/onebusaway_sdk/models/trip_for_vehicle_retrieve_response.rb,
sig/onebusaway_sdk/models/trip_for_vehicle_retrieve_response.rbs
Overview
Defined Under Namespace
Classes: 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 ⇒ Object
111
|
# File 'sig/onebusaway_sdk/models/trip_for_vehicle_retrieve_response.rbs', line 111
def initialize: (
|
Instance Attribute Details
#frequency ⇒ String?
105
|
# File 'lib/onebusaway_sdk/models/trip_for_vehicle_retrieve_response.rb', line 105
optional :frequency, String, nil?: true
|
#next_trip_id ⇒ String
83
|
# File 'lib/onebusaway_sdk/models/trip_for_vehicle_retrieve_response.rb', line 83
required :next_trip_id, String, api_name: :nextTripId
|
#previous_trip_id ⇒ String
88
|
# File 'lib/onebusaway_sdk/models/trip_for_vehicle_retrieve_response.rb', line 88
required :previous_trip_id, String, api_name: :previousTripId
|
93
94
95
|
# File 'lib/onebusaway_sdk/models/trip_for_vehicle_retrieve_response.rb', line 93
required :stop_times,
-> { OnebusawaySDK::Internal::Type::ArrayOf[OnebusawaySDK::Models::TripForVehicleRetrieveResponse::Data::Entry::Schedule::StopTime] },
api_name: :stopTimes
|
#time_zone ⇒ String
100
|
# File 'lib/onebusaway_sdk/models/trip_for_vehicle_retrieve_response.rb', line 100
required :time_zone, String, api_name: :timeZone
|
Instance Method Details
#to_hash ⇒ {
119
|
# File 'sig/onebusaway_sdk/models/trip_for_vehicle_retrieve_response.rbs', line 119
def to_hash: -> {
|