lib/twilio-ruby/rest/conversations/v1/service/configuration.rb in twilio-ruby-5.40.3 vs lib/twilio-ruby/rest/conversations/v1/service/configuration.rb in twilio-ruby-5.40.4
- old
+ new
@@ -9,12 +9,10 @@
module Twilio
module REST
class Conversations < Domain
class V1 < Version
class ServiceContext < InstanceContext
- ##
- # PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
class ConfigurationList < ListResource
##
# Initialize the ConfigurationList
# @param [Version] version Version that contains the resource
# @param [String] chat_service_sid The unique string that we created to identify
@@ -32,12 +30,10 @@
def to_s
'#<Twilio.Conversations.V1.ConfigurationList>'
end
end
- ##
- # PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
class ConfigurationPage < Page
##
# Initialize the ConfigurationPage
# @param [Version] version Version that contains the resource
# @param [Response] response Response from the API
@@ -63,12 +59,10 @@
def to_s
'<Twilio.Conversations.V1.ConfigurationPage>'
end
end
- ##
- # PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
class ConfigurationContext < InstanceContext
##
# Initialize the ConfigurationContext
# @param [Version] version Version that contains the resource
# @param [String] chat_service_sid The SID of the Service configuration resource
@@ -96,20 +90,20 @@
##
# Update the ConfigurationInstance
# @param [String] default_conversation_creator_role_sid The conversation-level
# role assigned to a conversation creator when they join a new conversation. See
- # the [Conversation
- # Role](https://www.twilio.com/docs/conversations/api/role-resource) for more info
+ # the {Conversation
+ # Role}[https://www.twilio.com/docs/conversations/api/role-resource] for more info
# about roles.
# @param [String] default_conversation_role_sid The conversation-level role
- # assigned to users when they are added to a conversation. See the [Conversation
- # Role](https://www.twilio.com/docs/conversations/api/role-resource) for more info
+ # assigned to users when they are added to a conversation. See the {Conversation
+ # Role}[https://www.twilio.com/docs/conversations/api/role-resource] for more info
# about roles.
# @param [String] default_chat_service_role_sid The service-level role assigned to
- # users when they are added to the service. See the [Conversation
- # Role](https://www.twilio.com/docs/conversations/api/role-resource) for more info
+ # users when they are added to the service. See the {Conversation
+ # Role}[https://www.twilio.com/docs/conversations/api/role-resource] for more info
# about roles.
# @return [ConfigurationInstance] Updated ConfigurationInstance
def update(default_conversation_creator_role_sid: :unset, default_conversation_role_sid: :unset, default_chat_service_role_sid: :unset)
data = Twilio::Values.of({
'DefaultConversationCreatorRoleSid' => default_conversation_creator_role_sid,
@@ -142,12 +136,10 @@
context = @solution.map {|k, v| "#{k}: #{v}"}.join(',')
"#<Twilio.Conversations.V1.ConfigurationContext #{context}>"
end
end
- ##
- # PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
class ConfigurationInstance < InstanceResource
##
# Initialize the ConfigurationInstance
# @param [Version] version Version that contains the resource
# @param [Hash] payload payload that contains response from Twilio
@@ -206,17 +198,17 @@
def default_chat_service_role_sid
@properties['default_chat_service_role_sid']
end
##
- # @return [String] The absolute URL of the Service configuration resource
+ # @return [String] An absolute URL for this service configuration.
def url
@properties['url']
end
##
- # @return [String] Absolute URL to access the Push Notifications configuration of this Service.
+ # @return [String] Absolute URL to access the push notifications configuration of this service.
def links
@properties['links']
end
##
@@ -228,19 +220,19 @@
##
# Update the ConfigurationInstance
# @param [String] default_conversation_creator_role_sid The conversation-level
# role assigned to a conversation creator when they join a new conversation. See
- # the [Conversation
- # Role](https://www.twilio.com/docs/conversations/api/role-resource) for more info
+ # the {Conversation
+ # Role}[https://www.twilio.com/docs/conversations/api/role-resource] for more info
# about roles.
# @param [String] default_conversation_role_sid The conversation-level role
- # assigned to users when they are added to a conversation. See the [Conversation
- # Role](https://www.twilio.com/docs/conversations/api/role-resource) for more info
+ # assigned to users when they are added to a conversation. See the {Conversation
+ # Role}[https://www.twilio.com/docs/conversations/api/role-resource] for more info
# about roles.
# @param [String] default_chat_service_role_sid The service-level role assigned to
- # users when they are added to the service. See the [Conversation
- # Role](https://www.twilio.com/docs/conversations/api/role-resource) for more info
+ # users when they are added to the service. See the {Conversation
+ # Role}[https://www.twilio.com/docs/conversations/api/role-resource] for more info
# about roles.
# @return [ConfigurationInstance] Updated ConfigurationInstance
def update(default_conversation_creator_role_sid: :unset, default_conversation_role_sid: :unset, default_chat_service_role_sid: :unset)
context.update(
default_conversation_creator_role_sid: default_conversation_creator_role_sid,
\ No newline at end of file