lib/twilio-ruby/rest/conversations/v1/service/role.rb in twilio-ruby-5.40.2 vs lib/twilio-ruby/rest/conversations/v1/service/role.rb in twilio-ruby-5.40.3

- old
+ new

@@ -15,13 +15,13 @@ # PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution. class RoleList < ListResource ## # Initialize the RoleList # @param [Version] version Version that contains the resource - # @param [String] chat_service_sid The SID of the [Chat - # Service](https://www.twilio.com/docs/chat/rest/service-resource) the Role - # resource is associated with. + # @param [String] chat_service_sid The SID of the [Conversation + # Service](https://www.twilio.com/docs/conversations/api/service-resource) the + # Role resource is associated with. # @return [RoleList] RoleList def initialize(version, chat_service_sid: nil) super(version) # Path Solution @@ -32,11 +32,13 @@ ## # Create the RoleInstance # @param [String] friendly_name A descriptive string that you create to describe # the new resource. It can be up to 64 characters long. # @param [role.RoleType] type The type of role. Can be: `conversation` for - # [Conversation](https://www.twilio.com/docs/conversations/api/conversation-resource) roles or `service` for [Service](https://www.twilio.com/docs/chat/rest/service-resource) roles. + # [Conversation](https://www.twilio.com/docs/conversations/api/conversation-resource) + # roles or `service` for [Conversation + # Service](https://www.twilio.com/docs/conversations/api/service-resource) roles. # @param [String] permission A permission that you grant to the new role. Only one # permission can be granted per parameter. To assign more than one permission, # repeat this parameter for each permission value. The values for this parameter # depend on the role's `type`. # @return [RoleInstance] Created RoleInstance @@ -174,13 +176,13 @@ # PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution. class RoleContext < InstanceContext ## # Initialize the RoleContext # @param [Version] version Version that contains the resource - # @param [String] chat_service_sid The SID of the [Chat - # Service](https://www.twilio.com/docs/chat/rest/service-resource) to fetch the - # Role resource from. + # @param [String] chat_service_sid The SID of the [Conversation + # Service](https://www.twilio.com/docs/conversations/api/service-resource) to + # fetch the Role resource from. # @param [String] sid The SID of the Role resource to fetch. # @return [RoleContext] RoleContext def initialize(version, chat_service_sid, sid) super(version) @@ -252,13 +254,13 @@ class RoleInstance < InstanceResource ## # Initialize the RoleInstance # @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 [Chat - # Service](https://www.twilio.com/docs/chat/rest/service-resource) the Role - # resource is associated with. + # @param [String] chat_service_sid The SID of the [Conversation + # Service](https://www.twilio.com/docs/conversations/api/service-resource) the + # Role resource is associated with. # @param [String] sid The SID of the Role resource to fetch. # @return [RoleInstance] RoleInstance def initialize(version, payload, chat_service_sid: nil, sid: nil) super(version) @@ -302,10 +304,10 @@ def account_sid @properties['account_sid'] end ## - # @return [String] The SID of the Service that the resource is associated with + # @return [String] The SID of the Conversation Service that the resource is associated with def chat_service_sid @properties['chat_service_sid'] end ## \ No newline at end of file