Class: Zavudev::Models::CallListParams

Inherits:
Internal::Type::BaseModel show all
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

See Also:

  • Zavudev::Resources::Calls#list

Defined Under Namespace

Modules: Direction, Status

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

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.

Parameters:

  • (defaults to: nil)
  • (defaults to: nil)

    Whether the call was placed by Zavu (outbound) or received from a caller (inboun

  • (defaults to: nil)
  • (defaults to: nil)

    Lifecycle status of a voice call.

  • (defaults to: {})


# File 'lib/zavudev/models/call_list_params.rb', line 42

Instance Attribute Details

#cursor ⇒ String?

Parameters:

Returns:



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).

Returns:



20
# File 'lib/zavudev/models/call_list_params.rb', line 20

optional :direction, enum: -> { Zavudev::CallListParams::Direction }

#limit ⇒ Integer?

Parameters:

Returns:



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.

Returns:



40
# File 'lib/zavudev/models/call_list_params.rb', line 40

optional :status, enum: -> { Zavudev::CallListParams::Status }

Class Method Details

.values ⇒ Array<Symbol>

Returns:



# File 'lib/zavudev/models/call_list_params.rb', line 64

Instance Method Details

#to_hash ⇒ {

Returns:



44
# File 'sig/zavudev/models/call_list_params.rbs', line 44

def to_hash: -> {