lib/purecloud/models/analytics_conversation.rb in purecloud-0.64.1 vs lib/purecloud/models/analytics_conversation.rb in purecloud-0.65.1

- old
+ new

@@ -21,10 +21,13 @@ attr_accessor :conversation_id # Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ attr_accessor :conversation_start + # Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ + attr_accessor :conversation_end + attr_accessor :participants attr_accessor :evaluations # Attribute mapping from ruby-style variable name to JSON key. @@ -33,10 +36,12 @@ :'conversation_id' => :'conversationId', :'conversation_start' => :'conversationStart', + :'conversation_end' => :'conversationEnd', + :'participants' => :'participants', :'evaluations' => :'evaluations' } @@ -45,10 +50,11 @@ # Attribute type mapping. def self.swagger_types { :'conversation_id' => :'String', :'conversation_start' => :'DateTime', + :'conversation_end' => :'DateTime', :'participants' => :'Array<AnalyticsParticipant>', :'evaluations' => :'Array<AnalyticsEvaluation>' } end @@ -66,10 +72,14 @@ if attributes[:'conversationStart'] self.conversation_start = attributes[:'conversationStart'] end + if attributes[:'conversationEnd'] + self.conversation_end = attributes[:'conversationEnd'] + end + if attributes[:'participants'] if (value = attributes[:'participants']).is_a?(Array) self.participants = value end end @@ -86,10 +96,11 @@ def ==(o) return true if self.equal?(o) self.class == o.class && conversation_id == o.conversation_id && conversation_start == o.conversation_start && + conversation_end == o.conversation_end && participants == o.participants && evaluations == o.evaluations end # @see the `==` method @@ -97,10 +108,10 @@ self == o end # Calculate hash code according to all attributes. def hash - [conversation_id, conversation_start, participants, evaluations].hash + [conversation_id, conversation_start, conversation_end, participants, evaluations].hash end # build the object from hash def build_from_hash(attributes) return nil unless attributes.is_a?(Hash)