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