Class: OnebusawaySDK::Models::References::Route

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

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

#agency_idString

Returns:

  • (String)


119
# File 'lib/onebusaway_sdk/models/references.rb', line 119

required :agency_id, String, api_name: :agencyId

#colorString?

Returns:

  • (String, nil)


129
# File 'lib/onebusaway_sdk/models/references.rb', line 129

optional :color, String

#descriptionString?

Returns:

  • (String, nil)


134
# File 'lib/onebusaway_sdk/models/references.rb', line 134

optional :description, String

#idString

Returns:

  • (String)


114
# File 'lib/onebusaway_sdk/models/references.rb', line 114

required :id, String

#long_nameString?

Returns:

  • (String, nil)


139
# File 'lib/onebusaway_sdk/models/references.rb', line 139

optional :long_name, String, api_name: :longName

#null_safe_short_nameString?

Returns:

  • (String, nil)


144
# File 'lib/onebusaway_sdk/models/references.rb', line 144

optional :null_safe_short_name, String, api_name: :nullSafeShortName

#short_nameString?

Returns:

  • (String, nil)


149
# File 'lib/onebusaway_sdk/models/references.rb', line 149

optional :short_name, String, api_name: :shortName

#text_colorString?

Returns:

  • (String, nil)


154
# File 'lib/onebusaway_sdk/models/references.rb', line 154

optional :text_color, String, api_name: :textColor

#typeInteger

Returns:

  • (Integer)


124
# File 'lib/onebusaway_sdk/models/references.rb', line 124

required :type, Integer

#urlString?

Returns:

  • (String, nil)


159
# File 'lib/onebusaway_sdk/models/references.rb', line 159

optional :url, String