Class: Telnyx::Models::Messages::RcSendParams::SMSFallback
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::Messages::RcSendParams::SMSFallback
- Defined in:
- lib/telnyx/models/messages/rc_send_params.rb,
sig/telnyx/models/messages/rc_send_params.rbs
Instance Attribute Summary collapse
-
#from ⇒ String?
Phone number in +E.164 format.
-
#text ⇒ String?
Text (maximum 3072 characters).
Instance Method Summary collapse
-
#initialize ⇒ SMSFallback
constructor
A new instance of SMSFallback.
- #to_hash ⇒ { from: String, text: 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 ⇒ SMSFallback
Returns a new instance of SMSFallback.
126 |
# File 'sig/telnyx/models/messages/rc_send_params.rbs', line 126
def initialize: (?from: String, ?text: String) -> void
|
Instance Attribute Details
#from ⇒ String?
Phone number in +E.164 format
115 |
# File 'lib/telnyx/models/messages/rc_send_params.rb', line 115 optional :from, String |
#text ⇒ String?
Text (maximum 3072 characters)
121 |
# File 'lib/telnyx/models/messages/rc_send_params.rb', line 121 optional :text, String |
Instance Method Details
#to_hash ⇒ { from: String, text: String }
128 |
# File 'sig/telnyx/models/messages/rc_send_params.rbs', line 128
def to_hash: -> { from: String, text: String }
|