Class: Sentdm::Models::MeRetrieveResponse::Data::Channels

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/sentdm/models/me_retrieve_response.rb

Overview

See Also:

Defined Under Namespace

Classes: Rcs, SMS, Whatsapp

Instance Attribute Summary collapse

Instance Method Summary collapse

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(configured: nil, phone_number: nil) ⇒ Object

SMS channel configuration. When configured, includes the sending phone number.

Parameters:

  • configured (Boolean) (defaults to: nil)

    Whether SMS is configured for this account

  • phone_number (String, nil) (defaults to: nil)

    Sending phone number in E.164 format



# File 'lib/sentdm/models/me_retrieve_response.rb', line 187

Instance Attribute Details

#rcsSentdm::Models::MeRetrieveResponse::Data::Channels::Rcs?

RCS channel configuration. When configured, includes the RCS phone number.



172
# File 'lib/sentdm/models/me_retrieve_response.rb', line 172

optional :rcs, -> { Sentdm::Models::MeRetrieveResponse::Data::Channels::Rcs }

#smsSentdm::Models::MeRetrieveResponse::Data::Channels::SMS?

SMS channel configuration. When configured, includes the sending phone number.



178
# File 'lib/sentdm/models/me_retrieve_response.rb', line 178

optional :sms, -> { Sentdm::Models::MeRetrieveResponse::Data::Channels::SMS }

#whatsappSentdm::Models::MeRetrieveResponse::Data::Channels::Whatsapp?

WhatsApp Business channel configuration. When configured, includes the WhatsApp phone number and business name.



185
# File 'lib/sentdm/models/me_retrieve_response.rb', line 185

optional :whatsapp, -> { Sentdm::Models::MeRetrieveResponse::Data::Channels::Whatsapp }