Class: Telnyx::Models::AdvancedOrder

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/advanced_order.rb

Defined Under Namespace

Modules: Feature, PhoneNumberType

Instance Attribute Summary collapse

Class Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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

This class inherits a constructor from Telnyx::Internal::Type::BaseModel

Instance Attribute Details

#area_codeString?

Returns:

  • (String, nil)


9
# File 'lib/telnyx/models/advanced_order.rb', line 9

optional :area_code, String

#commentsString?

Returns:

  • (String, nil)


14
# File 'lib/telnyx/models/advanced_order.rb', line 14

optional :comments, String

#country_codeString?

Returns:

  • (String, nil)


19
# File 'lib/telnyx/models/advanced_order.rb', line 19

optional :country_code, String

#customer_referenceString?

Returns:

  • (String, nil)


24
# File 'lib/telnyx/models/advanced_order.rb', line 24

optional :customer_reference, String

#featuresArray<Symbol, Telnyx::Models::AdvancedOrder::Feature>?

Returns:



29
# File 'lib/telnyx/models/advanced_order.rb', line 29

optional :features, -> { Telnyx::Internal::Type::ArrayOf[enum: Telnyx::AdvancedOrder::Feature] }

#phone_number_typeSymbol, ...



34
# File 'lib/telnyx/models/advanced_order.rb', line 34

optional :phone_number_type, enum: -> { Telnyx::AdvancedOrder::PhoneNumberType }

#quantityInteger?

Returns:

  • (Integer, nil)


39
# File 'lib/telnyx/models/advanced_order.rb', line 39

optional :quantity, Integer

#requirement_group_idString?

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

Returns:

  • (String, nil)


45
# File 'lib/telnyx/models/advanced_order.rb', line 45

optional :requirement_group_id, String

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/telnyx/models/advanced_order.rb', line 73