Class: Telnyx::Models::WhatsappContact::URL
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::WhatsappContact::URL
- Defined in:
- lib/telnyx/models/whatsapp_contact.rb,
sig/telnyx/models/whatsapp_contact.rbs
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(type: nil, url: nil) ⇒ URL
constructor
A new instance of URL.
- #to_hash ⇒ { type: String, url: 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(type: nil, url: nil) ⇒ URL
Returns a new instance of URL.
|
|
# File 'lib/telnyx/models/whatsapp_contact.rb', line 168
|
Instance Attribute Details
#type ⇒ String?
161 |
# File 'lib/telnyx/models/whatsapp_contact.rb', line 161 optional :type, String |
#url ⇒ String?
166 |
# File 'lib/telnyx/models/whatsapp_contact.rb', line 166 optional :url, String |
Instance Method Details
#to_hash ⇒ { type: String, url: String }
205 |
# File 'sig/telnyx/models/whatsapp_contact.rbs', line 205
def to_hash: -> { type: String, url: String }
|