Class: Telnyx::Models::CallReasonListResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::CallReasonListResponse
- Defined in:
- lib/telnyx/models/call_reason_list_response.rb,
sig/telnyx/models/call_reason_list_response.rbs
Overview
Instance Attribute Summary collapse
- #description ⇒ String?
-
#id ⇒ String?
readonly
Returns the value of attribute id.
- #reason ⇒ String?
Instance Method Summary collapse
- #id ⇒ String readonly
-
#initialize(id: nil, description: nil, reason: nil) ⇒ Object
constructor
Pre-vetted call-reason library entry.
- #to_hash ⇒ { id: String, description: String, reason: String }
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(id: nil, description: nil, reason: nil) ⇒ Object
Pre-vetted call-reason library entry.
|
|
# File 'lib/telnyx/models/call_reason_list_response.rb', line 24
|
Instance Attribute Details
#description ⇒ String?
10 |
# File 'lib/telnyx/models/call_reason_list_response.rb', line 10 optional :description, String |
#id ⇒ String? (readonly)
Returns the value of attribute id.
15 16 17 |
# File 'sig/telnyx/models/call_reason_list_response.rbs', line 15 def id @id end |
#reason ⇒ String?
15 |
# File 'lib/telnyx/models/call_reason_list_response.rb', line 15 optional :reason, String |
Instance Method Details
#id= ⇒ String (readonly)
17 |
# File 'sig/telnyx/models/call_reason_list_response.rbs', line 17
def id=: (String) -> String
|
#to_hash ⇒ { id: String, description: String, reason: String }
25 |
# File 'sig/telnyx/models/call_reason_list_response.rbs', line 25
def to_hash: -> { id: String, description: String, reason: String }
|