lib/twilio-ruby/rest/conversations/v1/service/conversation.rb in twilio-ruby-5.40.3 vs lib/twilio-ruby/rest/conversations/v1/service/conversation.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 ConversationList < ListResource ## # Initialize the ConversationList # @param [Version] version Version that contains the resource - # @param [String] chat_service_sid The unique ID of the [Conversation - # Service](https://www.twilio.com/docs/conversations/api/service-resource) this + # @param [String] chat_service_sid The unique ID of the {Conversation + # Service}[https://www.twilio.com/docs/conversations/api/service-resource] this # conversation belongs to. # @return [ConversationList] ConversationList def initialize(version, chat_service_sid: nil) super(version) @@ -38,12 +36,12 @@ # resource's `sid` in the URL. # @param [String] attributes An optional string metadata field you can use to # store any data you wish. The string value must contain structurally valid JSON # if specified. **Note** that if the attributes are not set "{}" will be # returned. - # @param [String] messaging_service_sid The unique ID of the [Messaging - # Service](https://www.twilio.com/docs/sms/services/api) this conversation belongs + # @param [String] messaging_service_sid The unique ID of the {Messaging + # Service}[https://www.twilio.com/docs/sms/services/api] this conversation belongs # to. # @param [Time] date_created The date that this resource was created. # @param [Time] date_updated The date that this resource was last updated. # @param [conversation.State] state Current state of this conversation. Can be # either `active`, `inactive` or `closed` and defaults to `active` @@ -158,12 +156,10 @@ def to_s '#<Twilio.Conversations.V1.ConversationList>' end end - ## - # PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution. class ConversationPage < Page ## # Initialize the ConversationPage # @param [Version] version Version that contains the resource # @param [Response] response Response from the API @@ -189,12 +185,10 @@ def to_s '<Twilio.Conversations.V1.ConversationPage>' end end - ## - # PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution. class ConversationContext < InstanceContext ## # Initialize the ConversationContext # @param [Version] version Version that contains the resource # @param [String] chat_service_sid The chat_service_sid @@ -222,12 +216,12 @@ # @param [Time] date_updated The date that this resource was last updated. # @param [String] attributes An optional string metadata field you can use to # store any data you wish. The string value must contain structurally valid JSON # if specified. **Note** that if the attributes are not set "{}" will be # returned. - # @param [String] messaging_service_sid The unique ID of the [Messaging - # Service](https://www.twilio.com/docs/sms/services/api) this conversation belongs + # @param [String] messaging_service_sid The unique ID of the {Messaging + # Service}[https://www.twilio.com/docs/sms/services/api] this conversation belongs # to. # @param [conversation.State] state Current state of this conversation. Can be # either `active`, `inactive` or `closed` and defaults to `active` # @param [String] timers_inactive ISO8601 duration when conversation will be # switched to `inactive` state. Minimum value for this timer is 1 minute. @@ -363,19 +357,17 @@ context = @solution.map {|k, v| "#{k}: #{v}"}.join(',') "#<Twilio.Conversations.V1.ConversationContext #{context}>" end end - ## - # PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution. class ConversationInstance < InstanceResource ## # Initialize the ConversationInstance # @param [Version] version Version that contains the resource # @param [Hash] payload payload that contains response from Twilio - # @param [String] chat_service_sid The unique ID of the [Conversation - # Service](https://www.twilio.com/docs/conversations/api/service-resource) this + # @param [String] chat_service_sid The unique ID of the {Conversation + # Service}[https://www.twilio.com/docs/conversations/api/service-resource] this # conversation belongs to. # @param [String] sid A 34 character string that uniquely identifies this # resource. Can also be the `unique_name` of the Conversation. # @return [ConversationInstance] ConversationInstance def initialize(version, payload, chat_service_sid: nil, sid: nil) @@ -485,11 +477,11 @@ def url @properties['url'] end ## - # @return [String] Absolute URLs to access the Participants, Messages and Webhooks of this Conversation. + # @return [String] Absolute URLs to access the participants, messages and webhooks of this conversation. def links @properties['links'] end ## @@ -500,11 +492,11 @@ # @param [Time] date_updated The date that this resource was last updated. # @param [String] attributes An optional string metadata field you can use to # store any data you wish. The string value must contain structurally valid JSON # if specified. **Note** that if the attributes are not set "{}" will be # returned. - # @param [String] messaging_service_sid The unique ID of the [Messaging - # Service](https://www.twilio.com/docs/sms/services/api) this conversation belongs + # @param [String] messaging_service_sid The unique ID of the {Messaging + # Service}[https://www.twilio.com/docs/sms/services/api] this conversation belongs # to. # @param [conversation.State] state Current state of this conversation. Can be # either `active`, `inactive` or `closed` and defaults to `active` # @param [String] timers_inactive ISO8601 duration when conversation will be # switched to `inactive` state. Minimum value for this timer is 1 minute. \ No newline at end of file