Module: Telnyx::Models::PhoneNumberWithMessagingSettings::Type

Extended by:
Internal::Type::Enum
Defined in:
lib/telnyx/models/phone_number_with_messaging_settings.rb,
sig/telnyx/models/phone_number_with_messaging_settings.rbs

Overview

The type of the phone number

See Also:

  • Telnyx::Models::PhoneNumberWithMessagingSettings#type

Constant Summary collapse

LONG_CODE =

Returns:

  • (:"long-code")
:"long-code"
TOLL_FREE =

Returns:

  • (:"toll-free")
:"toll-free"
SHORT_CODE =

Returns:

  • (:"short-code")
:"short-code"
LONGCODE =

Returns:

  • (:longcode)
:longcode
TOLLFREE =

Returns:

  • (:tollfree)
:tollfree
SHORTCODE =

Returns:

  • (:shortcode)
:shortcode

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type, values

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/telnyx/models/phone_number_with_messaging_settings.rb', line 184

Instance Method Details

#self?.values::Array[Telnyx::Models::PhoneNumberWithMessagingSettings::type_]

Returns:

  • (::Array[Telnyx::Models::PhoneNumberWithMessagingSettings::type_])


171
# File 'sig/telnyx/models/phone_number_with_messaging_settings.rbs', line 171

def self?.values: -> ::Array[Telnyx::Models::PhoneNumberWithMessagingSettings::type_]