Class: Telnyx::Models::InboundMessage::Bcc
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::InboundMessage::Bcc
- Defined in:
- lib/telnyx/models/inbound_message.rb,
sig/telnyx/models/inbound_message.rbs
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(id:, attachments:, bcc:, cc:, created_at:, direction:, from:, has_quoted_text:, headers:, html_body_url:, in_reply_to:, inbox_id:, inline_files:, message_id:, read_at:, received_at:, record_type:, references:, reply_text:, reply_to:, status:, subject:, text_body_url:, thread_id:, to:, updated_at:) ⇒ Bcc
constructor
Some parameter documentations has been truncated, see Telnyx::Models::InboundMessage for more details.
- #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(id:, attachments:, bcc:, cc:, created_at:, direction:, from:, has_quoted_text:, headers:, html_body_url:, in_reply_to:, inbox_id:, inline_files:, message_id:, read_at:, received_at:, record_type:, references:, reply_text:, reply_to:, status:, subject:, text_body_url:, thread_id:, to:, updated_at:) ⇒ Bcc
Some parameter documentations has been truncated, see Telnyx::Models::InboundMessage for more details.
209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 |
# File 'lib/telnyx/models/inbound_message.rb', line 209 class Bcc < Telnyx::Internal::Type::BaseModel # @!attribute email # # @return [String] required :email, String # @!attribute name # # @return [String, nil] optional :name, String # @!method initialize(email:, name: nil) # @param email [String] # @param name [String] end |
Instance Attribute Details
#email ⇒ String
213 |
# File 'lib/telnyx/models/inbound_message.rb', line 213 required :email, String |
#name ⇒ String?
218 |
# File 'lib/telnyx/models/inbound_message.rb', line 218 optional :name, String |
Instance Method Details
#to_hash ⇒ { email: String, name: String }
155 |
# File 'sig/telnyx/models/inbound_message.rbs', line 155
def to_hash: -> { email: String, name: String }
|