lib/twilio-ruby/rest/autopilot/v1/assistant/task.rb in twilio-ruby-5.40.3 vs lib/twilio-ruby/rest/autopilot/v1/assistant/task.rb in twilio-ruby-5.40.4
- old
+ new
@@ -16,11 +16,11 @@
class TaskList < ListResource
##
# Initialize the TaskList
# @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
+ # {Assistant}[https://www.twilio.com/docs/autopilot/api/assistant] that is the
# parent of the resource.
# @return [TaskList] TaskList
def initialize(version, assistant_sid: nil)
super(version)
@@ -116,11 +116,11 @@
# the URL path to address the resource. This value must be unique and 64
# characters or less in length.
# @param [String] friendly_name A descriptive string that you create to describe
# the new resource. It is not unique and can be up to 255 characters long.
# @param [Hash] actions The JSON string that specifies the
- # [actions](https://www.twilio.com/docs/autopilot/actions) that instruct the
+ # {actions}[https://www.twilio.com/docs/autopilot/actions] that instruct the
# Assistant on how to perform the task. It is optional and not unique.
# @param [String] actions_url The URL from which the Assistant can fetch actions.
# @return [TaskInstance] Created TaskInstance
def create(unique_name: nil, friendly_name: :unset, actions: :unset, actions_url: :unset)
data = Twilio::Values.of({
@@ -178,11 +178,11 @@
class TaskContext < InstanceContext
##
# Initialize the TaskContext
# @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
+ # {Assistant}[https://www.twilio.com/docs/autopilot/api/assistant] that is the
# parent of the resource to fetch.
# @param [String] sid The Twilio-provided string that uniquely identifies the Task
# resource to fetch.
# @return [TaskContext] TaskContext
def initialize(version, assistant_sid, sid)
@@ -215,11 +215,11 @@
# @param [String] unique_name An application-defined string that uniquely
# identifies the resource. This value must be 64 characters or less in length and
# be unique. It can be used as an alternative to the `sid` in the URL path to
# address the resource.
# @param [Hash] actions The JSON string that specifies the
- # [actions](https://www.twilio.com/docs/autopilot/actions) that instruct the
+ # {actions}[https://www.twilio.com/docs/autopilot/actions] that instruct the
# Assistant on how to perform the task.
# @param [String] actions_url The URL from which the Assistant can fetch actions.
# @return [TaskInstance] Updated TaskInstance
def update(friendly_name: :unset, unique_name: :unset, actions: :unset, actions_url: :unset)
data = Twilio::Values.of({
@@ -322,11 +322,11 @@
##
# Initialize the TaskInstance
# @param [Version] version Version that contains the resource
# @param [Hash] payload payload that contains response from Twilio
# @param [String] assistant_sid The SID of the
- # [Assistant](https://www.twilio.com/docs/autopilot/api/assistant) that is the
+ # {Assistant}[https://www.twilio.com/docs/autopilot/api/assistant] that is the
# parent of the resource.
# @param [String] sid The Twilio-provided string that uniquely identifies the Task
# resource to fetch.
# @return [TaskInstance] TaskInstance
def initialize(version, payload, assistant_sid: nil, sid: nil)
@@ -436,10 +436,10 @@
# @param [String] unique_name An application-defined string that uniquely
# identifies the resource. This value must be 64 characters or less in length and
# be unique. It can be used as an alternative to the `sid` in the URL path to
# address the resource.
# @param [Hash] actions The JSON string that specifies the
- # [actions](https://www.twilio.com/docs/autopilot/actions) that instruct the
+ # {actions}[https://www.twilio.com/docs/autopilot/actions] that instruct the
# Assistant on how to perform the task.
# @param [String] actions_url The URL from which the Assistant can fetch actions.
# @return [TaskInstance] Updated TaskInstance
def update(friendly_name: :unset, unique_name: :unset, actions: :unset, actions_url: :unset)
context.update(
\ No newline at end of file