Class: OnebusawaySDK::Models::AgencyRetrieveResponse::Data::Entry

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

Overview

See Also:

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:, name:, timezone:, url:, disclaimer: nil, email: nil, fare_url: nil, lang: nil, phone: nil, private_service: nil) ⇒ Object

Parameters:

  • id (String)
  • name (String)
  • timezone (String)
  • url (String)
  • disclaimer (String) (defaults to: nil)
  • email (String) (defaults to: nil)
  • fare_url (String) (defaults to: nil)
  • lang (String) (defaults to: nil)
  • phone (String) (defaults to: nil)
  • private_service (Boolean) (defaults to: nil)


# File 'lib/onebusaway_sdk/models/agency_retrieve_response.rb', line 82

Instance Attribute Details

#disclaimerString?

Returns:

  • (String, nil)


55
# File 'lib/onebusaway_sdk/models/agency_retrieve_response.rb', line 55

optional :disclaimer, String

#emailString?

Returns:

  • (String, nil)


60
# File 'lib/onebusaway_sdk/models/agency_retrieve_response.rb', line 60

optional :email, String

#fare_urlString?

Returns:

  • (String, nil)


65
# File 'lib/onebusaway_sdk/models/agency_retrieve_response.rb', line 65

optional :fare_url, String, api_name: :fareUrl

#idString

Returns:

  • (String)


35
# File 'lib/onebusaway_sdk/models/agency_retrieve_response.rb', line 35

required :id, String

#langString?

Returns:

  • (String, nil)


70
# File 'lib/onebusaway_sdk/models/agency_retrieve_response.rb', line 70

optional :lang, String

#nameString

Returns:

  • (String)


40
# File 'lib/onebusaway_sdk/models/agency_retrieve_response.rb', line 40

required :name, String

#phoneString?

Returns:

  • (String, nil)


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

optional :phone, String

#private_serviceBoolean?

Returns:

  • (Boolean, nil)


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

optional :private_service, OnebusawaySDK::Internal::Type::Boolean, api_name: :privateService

#timezoneString

Returns:

  • (String)


45
# File 'lib/onebusaway_sdk/models/agency_retrieve_response.rb', line 45

required :timezone, String

#urlString

Returns:

  • (String)


50
# File 'lib/onebusaway_sdk/models/agency_retrieve_response.rb', line 50

required :url, String