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

- old
+ new

@@ -9,18 +9,16 @@ 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 RoleList < ListResource ## # Initialize the RoleList # @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 # Role resource is associated with. # @return [RoleList] RoleList def initialize(version, chat_service_sid: nil) super(version) @@ -32,13 +30,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 [Conversation - # Service](https://www.twilio.com/docs/conversations/api/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 @@ -139,12 +137,10 @@ def to_s '#<Twilio.Conversations.V1.RoleList>' end end - ## - # PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution. class RolePage < Page ## # Initialize the RolePage # @param [Version] version Version that contains the resource # @param [Response] response Response from the API @@ -170,18 +166,16 @@ def to_s '<Twilio.Conversations.V1.RolePage>' end end - ## - # 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 [Conversation - # Service](https://www.twilio.com/docs/conversations/api/service-resource) to + # @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) @@ -247,19 +241,17 @@ context = @solution.map {|k, v| "#{k}: #{v}"}.join(',') "#<Twilio.Conversations.V1.RoleContext #{context}>" end end - ## - # PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution. 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 [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 # 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) @@ -340,10 +332,10 @@ def date_updated @properties['date_updated'] end ## - # @return [String] The absolute URL of the Role resource + # @return [String] An absolute URL for this user role. def url @properties['url'] end ## \ No newline at end of file