Class: Twilio::REST::Autopilot::V1::AssistantContext::TaskContext::TaskStatisticsList

Inherits:
ListResource
  • Object
show all
Defined in:
lib/twilio-ruby/rest/autopilot/v1/assistant/task/task_statistics.rb

Overview

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 [email protected].

Instance Method Summary collapse

Constructor Details

#initialize(version, assistant_sid: nil, task_sid: nil) ⇒ TaskStatisticsList

Initialize the TaskStatisticsList

Parameters:



28
29
30
31
32
33
# File 'lib/twilio-ruby/rest/autopilot/v1/assistant/task/task_statistics.rb', line 28

def initialize(version, assistant_sid: nil, task_sid: nil)
  super(version)

  # Path Solution
  @solution = {assistant_sid: assistant_sid, task_sid: task_sid}
end

Instance Method Details

#to_sObject

Provide a user friendly representation



37
38
39
# File 'lib/twilio-ruby/rest/autopilot/v1/assistant/task/task_statistics.rb', line 37

def to_s
  '#<Twilio.Autopilot.V1.TaskStatisticsList>'
end