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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], 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

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

#initialize(id: , route_id: , service_id: , block_id: nil, direction_id: nil, peak_offpeak: nil, route_short_name: nil, shape_id: nil, time_zone: nil, trip_headsign: nil, trip_short_name: nil) ⇒ Object

Parameters:

  • id (String) (defaults to: )
  • route_id (String) (defaults to: )
  • service_id (String) (defaults to: )
  • block_id (String) (defaults to: nil)
  • direction_id (String) (defaults to: nil)
  • peak_offpeak (Integer) (defaults to: nil)
  • route_short_name (String) (defaults to: nil)
  • shape_id (String) (defaults to: nil)
  • time_zone (String) (defaults to: nil)
  • trip_headsign (String) (defaults to: nil)
  • trip_short_name (String) (defaults to: nil)


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


Instance Attribute Details

#block_idString?

Returns:

  • (String, nil)


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

optional :block_id, String, api_name: :blockId

#direction_idString?

Returns:

  • (String, nil)


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

optional :direction_id, String, api_name: :directionId

#idString

Returns:

  • (String)


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

required :id, String

#peak_offpeakInteger?

Returns:

  • (Integer, nil)


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

optional :peak_offpeak, Integer, api_name: :peakOffpeak

#route_idString

Returns:

  • (String)


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

required :route_id, String, api_name: :routeId

#route_short_nameString?

Returns:

  • (String, nil)


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

optional :route_short_name, String, api_name: :routeShortName

#service_idString

Returns:

  • (String)


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

required :service_id, String, api_name: :serviceId

#shape_idString?

Returns:

  • (String, nil)


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

optional :shape_id, String, api_name: :shapeId

#time_zoneString?

Returns:

  • (String, nil)


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

optional :time_zone, String, api_name: :timeZone

#trip_headsignString?

Returns:

  • (String, nil)


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

optional :trip_headsign, String, api_name: :tripHeadsign

#trip_short_nameString?

Returns:

  • (String, nil)


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

optional :trip_short_name, String, api_name: :tripShortName