lib/purecloudplatformclientv2/models/analytics_conversation.rb in purecloudplatformclientv2-23.0.0 vs lib/purecloudplatformclientv2/models/analytics_conversation.rb in purecloudplatformclientv2-24.0.0
- old
+ new
@@ -28,13 +28,16 @@
attr_accessor :conversation_end
# Participants in the conversation
attr_accessor :participants
- # Evaluations tied to this conersation
+ # Evaluations tied to this conversation
attr_accessor :evaluations
+ # Identifiers of divisions associated with this conversation
+ attr_accessor :division_ids
+
# Attribute mapping from ruby-style variable name to JSON key.
def self.attribute_map
{
:'conversation_id' => :'conversationId',
@@ -43,12 +46,14 @@
:'conversation_end' => :'conversationEnd',
:'participants' => :'participants',
- :'evaluations' => :'evaluations'
+ :'evaluations' => :'evaluations',
+ :'division_ids' => :'divisionIds'
+
}
end
# Attribute type mapping.
def self.swagger_types
@@ -60,12 +65,14 @@
:'conversation_end' => :'DateTime',
:'participants' => :'Array<AnalyticsParticipant>',
- :'evaluations' => :'Array<AnalyticsEvaluation>'
+ :'evaluations' => :'Array<AnalyticsEvaluation>',
+ :'division_ids' => :'Array<String>'
+
}
end
# Initializes the object
# @param [Hash] attributes Model attributes in the form of hash
@@ -123,10 +130,21 @@
end
+ if attributes.has_key?(:'divisionIds')
+
+ if (value = attributes[:'divisionIds']).is_a?(Array)
+ self.division_ids = value
+ end
+
+
+
+ end
+
+
end
# Show invalid properties with the reasons. Usually used together with valid?
# @return Array for valid properies with the reasons
def list_invalid_properties
@@ -158,10 +176,14 @@
+
+
+
+
end
@@ -186,20 +208,26 @@
+
+
+
+
+
# Checks equality by comparing each attribute.
# @param [Object] Object to be compared
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
+ evaluations == o.evaluations &&
+ division_ids == o.division_ids
end
# @see the `==` method
# @param [Object] Object to be compared
def eql?(o)
@@ -207,10 +235,10 @@
end
# Calculates hash code according to all attributes.
# @return [Fixnum] Hash code
def hash
- [conversation_id, conversation_start, conversation_end, participants, evaluations].hash
+ [conversation_id, conversation_start, conversation_end, participants, evaluations, division_ids].hash
end
# build the object from hash
def build_from_hash(attributes)
return nil unless attributes.is_a?(Hash)