Class: Telnyx::Models::NumbersFeatureCreateResponse::Data
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#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
required :features, Telnyx::Internal::Type::ArrayOf[String]
required :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
|
Instance Method Details
#to_hash ⇒ { features: ::Array[String], phone_number: String }
33
|
# File 'sig/telnyx/models/numbers_feature_create_response.rbs', line 33
def to_hash: -> { features: ::Array[String], phone_number: String }
|