class Twilio::REST::Taskrouter::V1::WorkspaceContext::WorkflowContext::WorkflowCumulativeStatisticsList

Public Class Methods

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

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

Workflow.

@param [String] workflow_sid Returns the list of Tasks that are being controlled

by the Workflow with the specified Sid value.

@return [WorkflowCumulativeStatisticsList] WorkflowCumulativeStatisticsList

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