Class: Telnyx::Models::CallReasonValidateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::CallReasonValidateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/telnyx/models/call_reason_validate_params.rb,
sig/telnyx/models/call_reason_validate_params.rbs
Overview
Instance Attribute Summary collapse
-
#body ⇒ Array<String>
Bare JSON array of candidate call-reason strings (NOT an object - there is no top-level
call_reasonskey on this endpoint).
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(body:, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see CallReasonValidateParams for more details.
- #to_hash ⇒ {
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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(body:, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see Telnyx::Models::CallReasonValidateParams for more details.
|
|
# File 'lib/telnyx/models/call_reason_validate_params.rb', line 18
|
Instance Attribute Details
#body ⇒ Array<String>
Bare JSON array of candidate call-reason strings (NOT an object - there is
no top-level call_reasons key on this endpoint). 1–10 strings, each ≤64
characters.
16 |
# File 'lib/telnyx/models/call_reason_validate_params.rb', line 16 required :body, Telnyx::Internal::Type::ArrayOf[String] |
Instance Method Details
#to_hash ⇒ {
17 |
# File 'sig/telnyx/models/call_reason_validate_params.rbs', line 17
def to_hash: -> {
|