Class: Telnyx::Models::PortoutListRejectionCodesResponse::Data
- Inherits:
-
Internal::Type::BaseModel
show all
- Defined in:
- lib/telnyx/models/portout_list_rejection_codes_response.rb,
sig/telnyx/models/portout_list_rejection_codes_response.rbs
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(code: nil, description: nil, reason_required: nil) ⇒ Object
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# File 'lib/telnyx/models/portout_list_rejection_codes_response.rb', line 16
class Data < Telnyx::Internal::Type::BaseModel
optional :code, Integer
optional :description, String
optional :reason_required, Telnyx::Internal::Type::Boolean
end
|
Instance Attribute Details
#code ⇒ Integer?
20
|
# File 'lib/telnyx/models/portout_list_rejection_codes_response.rb', line 20
optional :code, Integer
|
#description ⇒ String?
25
|
# File 'lib/telnyx/models/portout_list_rejection_codes_response.rb', line 25
optional :description, String
|
#reason_required ⇒ Boolean?
30
|
# File 'lib/telnyx/models/portout_list_rejection_codes_response.rb', line 30
optional :reason_required, Telnyx::Internal::Type::Boolean
|
Instance Method Details
#to_hash ⇒ {
42
|
# File 'sig/telnyx/models/portout_list_rejection_codes_response.rbs', line 42
def to_hash: -> {
|