Class: Telnyx::Models::InboundMessage::Cc
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::InboundMessage::Cc
- Defined in:
- lib/telnyx/models/inbound_message.rb,
sig/telnyx/models/inbound_message.rbs
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ Cc
constructor
A new instance of Cc.
- #to_hash ⇒ { email: String, name: 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 ⇒ Cc
Returns a new instance of Cc.
167 |
# File 'sig/telnyx/models/inbound_message.rbs', line 167
def initialize: (email: String, ?name: String) -> void
|
Instance Attribute Details
#email ⇒ String
229 |
# File 'lib/telnyx/models/inbound_message.rb', line 229 required :email, String |
#name ⇒ String?
234 |
# File 'lib/telnyx/models/inbound_message.rb', line 234 optional :name, String |
Instance Method Details
#to_hash ⇒ { email: String, name: String }
169 |
# File 'sig/telnyx/models/inbound_message.rbs', line 169
def to_hash: -> { email: String, name: String }
|