lib/twilio-ruby/rest/conversations/v1/service/conversation/webhook.rb in twilio-ruby-5.40.3 vs lib/twilio-ruby/rest/conversations/v1/service/conversation/webhook.rb in twilio-ruby-5.40.4
- old
+ new
@@ -10,21 +10,19 @@
module REST
class Conversations < Domain
class V1 < Version
class ServiceContext < InstanceContext
class ConversationContext < InstanceContext
- ##
- # PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
class WebhookList < ListResource
##
# Initialize the WebhookList
# @param [Version] version Version that contains the resource
- # @param [String] chat_service_sid The SID of the [Conversation
- # Service](https://www.twilio.com/docs/conversations/api/service-resource) the
+ # @param [String] chat_service_sid The SID of the {Conversation
+ # Service}[https://www.twilio.com/docs/conversations/api/service-resource] the
# Participant resource is associated with.
# @param [String] conversation_sid The unique ID of the
- # [Conversation](https://www.twilio.com/docs/conversations/api/conversation-resource)
+ # {Conversation}[https://www.twilio.com/docs/conversations/api/conversation-resource]
# for this webhook.
# @return [WebhookList] WebhookList
def initialize(version, chat_service_sid: nil, conversation_sid: nil)
super(version)
@@ -156,12 +154,10 @@
def to_s
'#<Twilio.Conversations.V1.WebhookList>'
end
end
- ##
- # PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
class WebhookPage < Page
##
# Initialize the WebhookPage
# @param [Version] version Version that contains the resource
# @param [Response] response Response from the API
@@ -192,21 +188,19 @@
def to_s
'<Twilio.Conversations.V1.WebhookPage>'
end
end
- ##
- # PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
class WebhookContext < InstanceContext
##
# Initialize the WebhookContext
# @param [Version] version Version that contains the resource
- # @param [String] chat_service_sid The SID of the [Conversation
- # Service](https://www.twilio.com/docs/conversations/api/service-resource) the
+ # @param [String] chat_service_sid The SID of the {Conversation
+ # Service}[https://www.twilio.com/docs/conversations/api/service-resource] the
# Participant resource is associated with.
# @param [String] conversation_sid The unique ID of the
- # [Conversation](https://www.twilio.com/docs/conversations/api/conversation-resource)
+ # {Conversation}[https://www.twilio.com/docs/conversations/api/conversation-resource]
# for this webhook.
# @param [String] sid A 34 character string that uniquely identifies this
# resource.
# @return [WebhookContext] WebhookContext
def initialize(version, chat_service_sid, conversation_sid, sid)
@@ -285,21 +279,19 @@
context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
"#<Twilio.Conversations.V1.WebhookContext #{context}>"
end
end
- ##
- # PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
class WebhookInstance < InstanceResource
##
# Initialize the WebhookInstance
# @param [Version] version Version that contains the resource
# @param [Hash] payload payload that contains response from Twilio
- # @param [String] chat_service_sid The SID of the [Conversation
- # Service](https://www.twilio.com/docs/conversations/api/service-resource) the
+ # @param [String] chat_service_sid The SID of the {Conversation
+ # Service}[https://www.twilio.com/docs/conversations/api/service-resource] the
# Participant resource is associated with.
# @param [String] conversation_sid The unique ID of the
- # [Conversation](https://www.twilio.com/docs/conversations/api/conversation-resource)
+ # {Conversation}[https://www.twilio.com/docs/conversations/api/conversation-resource]
# for this webhook.
# @param [String] sid A 34 character string that uniquely identifies this
# resource.
# @return [WebhookInstance] WebhookInstance
def initialize(version, payload, chat_service_sid: nil, conversation_sid: nil, sid: nil)
\ No newline at end of file