lib/purecloud/models/social_expression.rb in purecloud-0.50.1 vs lib/purecloud/models/social_expression.rb in purecloud-0.51.1
- old
+ new
@@ -16,37 +16,47 @@
require 'date'
module PureCloud
class SocialExpression
+ # The connection state of this communication.
attr_accessor :state
+ # A globally unique identifier for this communication.
attr_accessor :id
+ # A globally unique identifier for the social media.
attr_accessor :social_media_id
+ # The social network of the communication
attr_accessor :social_media_hub
+ # The user name for the communication.
attr_accessor :social_user_name
+ # The text preview of the communication contents
attr_accessor :preview_text
+ # A globally unique identifier for the recording associated with this chat.
attr_accessor :recording_id
+ # The time line of the participant's chat, divided into activity segments.
attr_accessor :segments
+ # True if this call is held and the person on this side hears silence.
attr_accessor :held
+ # System defined string indicating what caused the communication to disconnect. Will be null until the communication disconnects.
attr_accessor :disconnect_type
- # Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
+ # The timestamp the chat was placed on hold in the cloud clock if the chat is currently on hold. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
attr_accessor :start_hold_time
- # Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
+ # The timestamp when this communication was connected in the cloud clock. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
attr_accessor :connected_time
- # Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
+ # The timestamp when this communication disconnected from the conversation in the provider clock. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
attr_accessor :disconnected_time
# Attribute mapping from ruby-style variable name to JSON key.
def self.attribute_map
{
@@ -174,10 +184,10 @@
@state = state
end
# Custom attribute writer method checking allowed values (enum).
def disconnect_type=(disconnect_type)
- allowed_values = ["ENDPOINT", "CLIENT", "SYSTEM", "TIMEOUT", "TRANSFER", "TRANSFER_CONFERENCE", "TRANSFER_CONSULT", "TRANSFER_FORWARD", "TRANSPORT_FAILURE", "ERROR", "PEER", "OTHER", "SPAM"]
+ allowed_values = ["ENDPOINT", "CLIENT", "SYSTEM", "TIMEOUT", "TRANSFER", "TRANSFER_CONFERENCE", "TRANSFER_CONSULT", "TRANSFER_FORWARD", "TRANSFER_NOANSWER", "TRANSFER_NOTAVAILABLE", "TRANSPORT_FAILURE", "ERROR", "PEER", "OTHER", "SPAM"]
if disconnect_type && !allowed_values.include?(disconnect_type)
fail "invalid value for 'disconnect_type', must be one of #{allowed_values}"
end
@disconnect_type = disconnect_type
end