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

Overview

See Also:

Defined Under Namespace

Classes: StopTime

Instance Attribute Summary collapse

Method Summary

Methods inherited from Internal::Type::BaseModel

#==, ==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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

This class inherits a constructor from OnebusawaySDK::Internal::Type::BaseModel

Instance Attribute Details

#frequencyString?

Returns:

  • (String, nil)


97
# File 'lib/onebusaway_sdk/models/trip_for_vehicle_retrieve_response.rb', line 97

optional :frequency, String, nil?: true

#next_trip_idString

Returns:

  • (String)


75
# File 'lib/onebusaway_sdk/models/trip_for_vehicle_retrieve_response.rb', line 75

required :next_trip_id, String, api_name: :nextTripId

#previous_trip_idString

Returns:

  • (String)


80
# File 'lib/onebusaway_sdk/models/trip_for_vehicle_retrieve_response.rb', line 80

required :previous_trip_id, String, api_name: :previousTripId

#stop_timesArray<OnebusawaySDK::Models::TripForVehicleRetrieveResponse::Data::Entry::Schedule::StopTime>



85
86
87
# File 'lib/onebusaway_sdk/models/trip_for_vehicle_retrieve_response.rb', line 85

required :stop_times,
-> { OnebusawaySDK::Internal::Type::ArrayOf[OnebusawaySDK::Models::TripForVehicleRetrieveResponse::Data::Entry::Schedule::StopTime] },
api_name: :stopTimes

#time_zoneString

Returns:

  • (String)


92
# File 'lib/onebusaway_sdk/models/trip_for_vehicle_retrieve_response.rb', line 92

required :time_zone, String, api_name: :timeZone