Class: Telnyx::Models::NumbersFeatureCreateResponse::Data
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::NumbersFeatureCreateResponse::Data
- Defined in:
- lib/telnyx/models/numbers_feature_create_response.rb
Instance Attribute Summary collapse
Instance Method Summary collapse
- #initialize(features:, phone_number:) ⇒ Object constructor
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(features:, phone_number:) ⇒ Object
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
# File 'lib/telnyx/models/numbers_feature_create_response.rb', line 15 class Data < Telnyx::Internal::Type::BaseModel # @!attribute features # # @return [Array<String>] required :features, Telnyx::Internal::Type::ArrayOf[String] # @!attribute phone_number # # @return [String] required :phone_number, String # @!method initialize(features:, phone_number:) # @param features [Array<String>] # @param phone_number [String] end |
Instance Attribute Details
#features ⇒ Array<String>
19 |
# File 'lib/telnyx/models/numbers_feature_create_response.rb', line 19 required :features, Telnyx::Internal::Type::ArrayOf[String] |
#phone_number ⇒ String
24 |
# File 'lib/telnyx/models/numbers_feature_create_response.rb', line 24 required :phone_number, String |