Class: OnebusawaySDK::Models::ScheduleForRouteRetrieveResponse::Data::Entry

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/onebusaway_sdk/models/schedule_for_route_retrieve_response.rb

Overview

See Also:

Defined Under Namespace

Classes: StopTripGrouping

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

#route_idString

Returns:

  • (String)


29
# File 'lib/onebusaway_sdk/models/schedule_for_route_retrieve_response.rb', line 29

required :route_id, String, api_name: :routeId

#schedule_dateInteger

Returns:

  • (Integer)


34
# File 'lib/onebusaway_sdk/models/schedule_for_route_retrieve_response.rb', line 34

required :schedule_date, Integer, api_name: :scheduleDate

#service_idsArray<String>

Returns:

  • (Array<String>)


39
# File 'lib/onebusaway_sdk/models/schedule_for_route_retrieve_response.rb', line 39

required :service_ids, OnebusawaySDK::Internal::Type::ArrayOf[String], api_name: :serviceIds

#stop_trip_groupingsArray<OnebusawaySDK::Models::ScheduleForRouteRetrieveResponse::Data::Entry::StopTripGrouping>



44
45
46
# File 'lib/onebusaway_sdk/models/schedule_for_route_retrieve_response.rb', line 44

required :stop_trip_groupings,
-> { OnebusawaySDK::Internal::Type::ArrayOf[OnebusawaySDK::Models::ScheduleForRouteRetrieveResponse::Data::Entry::StopTripGrouping] },
api_name: :stopTripGroupings