Class: Telnyx::Models::RcsSuggestion::Action::DialAction

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/rcs_suggestion.rb,
sig/telnyx/models/rcs_suggestion.rbs

Overview

See Also:

  • Telnyx::Models::RcsSuggestion::Action#dial_action

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

#initializeDialAction

Returns a new instance of DialAction.

Parameters:

  • phone_number: (String)


150
# File 'sig/telnyx/models/rcs_suggestion.rbs', line 150

def initialize: (phone_number: String) -> void

Instance Attribute Details

#phone_numberString

Phone number in +E.164 format

Parameters:

  • value (String)

Returns:

  • (String)


142
# File 'lib/telnyx/models/rcs_suggestion.rb', line 142

required :phone_number, String

Instance Method Details

#to_hash{ phone_number: String }

Returns:

  • ({ phone_number: String })


152
# File 'sig/telnyx/models/rcs_suggestion.rbs', line 152

def to_hash: -> { phone_number: String }