Class: OnebusawaySDK::Models::References::Situation::Description
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OnebusawaySDK::Models::References::Situation::Description
- Defined in:
- lib/onebusaway_sdk/models/references.rb,
sig/onebusaway_sdk/models/references.rbs
Overview
Instance Attribute Summary collapse
-
#lang ⇒ String?
Language of the description.
-
#value ⇒ String?
Longer description of the situation.
Instance Method Summary collapse
-
#initialize ⇒ Description
constructor
A new instance of Description.
- #to_hash ⇒ { lang: String, value: String }
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 ⇒ Description
Returns a new instance of Description.
465 |
# File 'sig/onebusaway_sdk/models/references.rbs', line 465
def initialize: (?lang: String, ?value: String) -> void
|
Instance Attribute Details
#lang ⇒ String?
Language of the description.
425 |
# File 'lib/onebusaway_sdk/models/references.rb', line 425 optional :lang, String |
#value ⇒ String?
Longer description of the situation.
431 |
# File 'lib/onebusaway_sdk/models/references.rb', line 431 optional :value, String |
Instance Method Details
#to_hash ⇒ { lang: String, value: String }
467 |
# File 'sig/onebusaway_sdk/models/references.rbs', line 467
def to_hash: -> { lang: String, value: String }
|