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) (defaults to: )
  • name (String) (defaults to: )
  • timezone (String) (defaults to: )
  • url (String) (defaults to: )
  • 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 88

Instance Attribute Details

#disclaimerString?

Returns:

  • (String, nil)


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

optional :disclaimer, String

#emailString?

Returns:

  • (String, nil)


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

optional :email, String

#fare_urlString?

Returns:

  • (String, nil)


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

optional :fare_url, String, api_name: :fareUrl

#idString

Returns:

  • (String)


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

required :id, String

#langString?

Returns:

  • (String, nil)


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

optional :lang, String

#nameString

Returns:

  • (String)


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

required :name, String

#phoneString?

Returns:

  • (String, nil)


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

optional :phone, String

#private_serviceBoolean?

Returns:

  • (Boolean, nil)


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

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

#timezoneString

Returns:

  • (String)


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

required :timezone, String

#urlString

Returns:

  • (String)


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

required :url, String