class Twilio::REST::Preview::Understand::AssistantContext::TaskContext::TaskStatisticsList

PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com.

Public Class Methods

new(version, assistant_sid: nil, task_sid: nil) click to toggle source

Initialize the TaskStatisticsList @param [Version] version Version that contains the resource @param [String] assistant_sid The unique ID of the parent Assistant. @param [String] task_sid The unique ID of the Task associated with this Field. @return [TaskStatisticsList] TaskStatisticsList

Calls superclass method Twilio::REST::ListResource::new
   # File lib/twilio-ruby/rest/preview/understand/assistant/task/task_statistics.rb
24 def initialize(version, assistant_sid: nil, task_sid: nil)
25   super(version)
26 
27   # Path Solution
28   @solution = {assistant_sid: assistant_sid, task_sid: task_sid}
29 end

Public Instance Methods

to_s() click to toggle source

Provide a user friendly representation

   # File lib/twilio-ruby/rest/preview/understand/assistant/task/task_statistics.rb
33 def to_s
34   '#<Twilio.Preview.Understand.TaskStatisticsList>'
35 end