class Twilio::REST::Taskrouter::V1::WorkspaceContext::TaskQueueContext::TaskQueueStatisticsList

Public Class Methods

new(version, workspace_sid: nil, task_queue_sid: nil) click to toggle source

Initialize the TaskQueueStatisticsList @param [Version] version Version that contains the resource @param [String] workspace_sid The SID of the Workspace that contains the

TaskQueue.

@param [String] task_queue_sid The SID of the TaskQueue from which these

statistics were calculated.

@return [TaskQueueStatisticsList] TaskQueueStatisticsList

Calls superclass method Twilio::REST::ListResource::new
   # File lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_statistics.rb
24 def initialize(version, workspace_sid: nil, task_queue_sid: nil)
25   super(version)
26 
27   # Path Solution
28   @solution = {workspace_sid: workspace_sid, task_queue_sid: task_queue_sid}
29 end

Public Instance Methods

to_s() click to toggle source

Provide a user friendly representation

   # File lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_statistics.rb
33 def to_s
34   '#<Twilio.Taskrouter.V1.TaskQueueStatisticsList>'
35 end