lib/twilio-ruby/rest/conversations/v1/service/conversation.rb in twilio-ruby-5.40.2 vs lib/twilio-ruby/rest/conversations/v1/service/conversation.rb in twilio-ruby-5.40.3
- old
+ new
@@ -15,12 +15,12 @@
# 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 [Chat
- # Service](https://www.twilio.com/docs/chat/rest/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,11 +38,11 @@
# 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 [SMS
+ # @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
@@ -222,11 +222,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 [SMS
+ # @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
@@ -370,12 +370,12 @@
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 [Chat
- # Service](https://www.twilio.com/docs/chat/rest/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)
@@ -413,23 +413,23 @@
end
@instance_context
end
##
- # @return [String] The unique id of the Account responsible for this conversation.
+ # @return [String] The unique ID of the Account responsible for this conversation.
def account_sid
@properties['account_sid']
end
##
- # @return [String] The unique id of the Chat Service this conversation belongs to.
+ # @return [String] The unique ID of the Conversation Service this conversation belongs to.
def chat_service_sid
@properties['chat_service_sid']
end
##
- # @return [String] The unique id of the SMS Service this conversation belongs to.
+ # @return [String] The unique ID of the Messaging Service this conversation belongs to.
def messaging_service_sid
@properties['messaging_service_sid']
end
##
@@ -500,10 +500,10 @@
# @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 [SMS
+ # @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
\ No newline at end of file