class Twilio::REST::Taskrouter::V1::WorkspaceContext::WorkerContext::WorkerStatisticsList

Public Class Methods

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

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

WorkerChannel.

@param [String] worker_sid The SID of the Worker that contains the

WorkerChannel.

@return [WorkerStatisticsList] WorkerStatisticsList

Calls superclass method Twilio::REST::ListResource::new
   # File lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_statistics.rb
24 def initialize(version, workspace_sid: nil, worker_sid: nil)
25   super(version)
26 
27   # Path Solution
28   @solution = {workspace_sid: workspace_sid, worker_sid: worker_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/worker/worker_statistics.rb
33 def to_s
34   '#<Twilio.Taskrouter.V1.WorkerStatisticsList>'
35 end