class Twilio::REST::Autopilot::V1::AssistantContext::TaskContext::TaskActionsList

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 TaskActionsList @param [Version] version Version that contains the resource @param [String] assistant_sid The SID of the

{Assistant}[https://www.twilio.com/docs/autopilot/api/assistant] that is the
parent of the Task associated with the resource.

@param [String] task_sid The SID of the

{Task}[https://www.twilio.com/docs/autopilot/api/task] associated with the
resource.

@return [TaskActionsList] TaskActionsList

Calls superclass method Twilio::REST::ListResource::new
   # File lib/twilio-ruby/rest/autopilot/v1/assistant/task/task_actions.rb
28 def initialize(version, assistant_sid: nil, task_sid: nil)
29   super(version)
30 
31   # Path Solution
32   @solution = {assistant_sid: assistant_sid, task_sid: task_sid}
33 end

Public Instance Methods

to_s() click to toggle source

Provide a user friendly representation

   # File lib/twilio-ruby/rest/autopilot/v1/assistant/task/task_actions.rb
37 def to_s
38   '#<Twilio.Autopilot.V1.TaskActionsList>'
39 end