Class: Zavudev::Models::CallListParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Zavudev::Models::CallListParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/zavudev/models/call_list_params.rb,
sig/zavudev/models/call_list_params.rbs
Overview
Defined Under Namespace
Instance Attribute Summary collapse
- #cursor ⇒ String?
-
#direction ⇒ Symbol, ...
Whether the call was placed by Zavu (outbound) or received from a caller (inbound).
- #limit ⇒ Integer?
-
#status ⇒ Symbol, ...
Lifecycle status of a voice call.
Attributes included from Internal::Type::RequestParameters
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(cursor: nil, direction: nil, limit: nil, status: nil, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see CallListParams 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(cursor: nil, direction: nil, limit: nil, status: nil, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see Zavudev::Models::CallListParams for more details.
|
|
# File 'lib/zavudev/models/call_list_params.rb', line 42
|
Instance Attribute Details
#cursor ⇒ String?
13 |
# File 'lib/zavudev/models/call_list_params.rb', line 13 optional :cursor, String |
#direction ⇒ Symbol, ...
Whether the call was placed by Zavu (outbound) or received from a caller (inbound).
20 |
# File 'lib/zavudev/models/call_list_params.rb', line 20 optional :direction, enum: -> { Zavudev::CallListParams::Direction } |
#limit ⇒ Integer?
25 |
# File 'lib/zavudev/models/call_list_params.rb', line 25 optional :limit, Integer |
#status ⇒ Symbol, ...
Lifecycle status of a voice call.
queued: outbound call created, not yet dialing.ringing: dialing (outbound) or received and ringing (inbound).in_progress: answered, the agent is connected.completed: ended after a conversation.failed: could not be completed.busy: the line was busy.no_answer: rang but was not answered.canceled: canceled before it was answered.
40 |
# File 'lib/zavudev/models/call_list_params.rb', line 40 optional :status, enum: -> { Zavudev::CallListParams::Status } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/zavudev/models/call_list_params.rb', line 64
|
Instance Method Details
#to_hash ⇒ {
44 |
# File 'sig/zavudev/models/call_list_params.rbs', line 44
def to_hash: -> {
|