Module: Telnyx::Models::AdvancedOrder::Feature

Extended by:
Internal::Type::Enum
Defined in:
lib/telnyx/models/advanced_order.rb

Constant Summary collapse

SMS =
:sms
MMS =
:mms
VOICE =
:voice
FAX =
:fax
EMERGENCY =
:emergency

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

Instance Method Details

#initialize(area_code: nil, comments: nil, country_code: nil, customer_reference: nil, features: nil, phone_number_type: nil, quantity: nil, requirement_group_id: nil) ⇒ Object

Parameters:

  • area_code (String) (defaults to: nil)
  • comments (String) (defaults to: nil)
  • country_code (String) (defaults to: nil)
  • customer_reference (String) (defaults to: nil)
  • features (Array<Symbol, Telnyx::Models::AdvancedOrder::Feature>) (defaults to: nil)
  • phone_number_type (Symbol, Telnyx::Models::AdvancedOrder::PhoneNumberType) (defaults to: nil)
  • quantity (Integer) (defaults to: nil)
  • requirement_group_id (String) (defaults to: nil)

    The ID of the requirement group to associate with this advanced order



64
65
66
67
68
69
70
71
72
73
74
75
# File 'lib/telnyx/models/advanced_order.rb', line 64

module Feature
  extend Telnyx::Internal::Type::Enum

  SMS = :sms
  MMS = :mms
  VOICE = :voice
  FAX = :fax
  EMERGENCY = :emergency

  # @!method self.values
  #   @return [Array<Symbol>]
end