lib/purecloudplatformclientv2/models/analytics_conversation.rb in purecloudplatformclientv2-46.1.0 vs lib/purecloudplatformclientv2/models/analytics_conversation.rb in purecloudplatformclientv2-47.0.0
- old
+ new
@@ -25,10 +25,16 @@
attr_accessor :conversation_start
# Date/time the conversation ended. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
attr_accessor :conversation_end
+ # The lowest estimated average MOS among all the audio streams belonging to this conversation
+ attr_accessor :media_stats_min_conversation_mos
+
+ # The lowest R-factor value among all of the audio streams belonging to this conversation
+ attr_accessor :media_stats_min_conversation_r_factor
+
# Participants in the conversation
attr_accessor :participants
# Evaluations tied to this conversation
attr_accessor :evaluations
@@ -47,10 +53,14 @@
:'conversation_start' => :'conversationStart',
:'conversation_end' => :'conversationEnd',
+ :'media_stats_min_conversation_mos' => :'mediaStatsMinConversationMos',
+
+ :'media_stats_min_conversation_r_factor' => :'mediaStatsMinConversationRFactor',
+
:'participants' => :'participants',
:'evaluations' => :'evaluations',
:'surveys' => :'surveys',
@@ -68,10 +78,14 @@
:'conversation_start' => :'DateTime',
:'conversation_end' => :'DateTime',
+ :'media_stats_min_conversation_mos' => :'Float',
+
+ :'media_stats_min_conversation_r_factor' => :'Float',
+
:'participants' => :'Array<AnalyticsParticipant>',
:'evaluations' => :'Array<AnalyticsEvaluation>',
:'surveys' => :'Array<AnalyticsSurvey>',
@@ -115,10 +129,28 @@
end
+ if attributes.has_key?(:'mediaStatsMinConversationMos')
+
+
+ self.media_stats_min_conversation_mos = attributes[:'mediaStatsMinConversationMos']
+
+
+ end
+
+
+ if attributes.has_key?(:'mediaStatsMinConversationRFactor')
+
+
+ self.media_stats_min_conversation_r_factor = attributes[:'mediaStatsMinConversationRFactor']
+
+
+ end
+
+
if attributes.has_key?(:'participants')
if (value = attributes[:'participants']).is_a?(Array)
self.participants = value
end
@@ -202,10 +234,18 @@
+
+
+
+
+
+
+
+
end
@@ -240,18 +280,30 @@
+
+
+
+
+
+
+
+
+
+
# 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 &&
+ media_stats_min_conversation_mos == o.media_stats_min_conversation_mos &&
+ media_stats_min_conversation_r_factor == o.media_stats_min_conversation_r_factor &&
participants == o.participants &&
evaluations == o.evaluations &&
surveys == o.surveys &&
division_ids == o.division_ids
end
@@ -263,10 +315,10 @@
end
# Calculates hash code according to all attributes.
# @return [Fixnum] Hash code
def hash
- [conversation_id, conversation_start, conversation_end, participants, evaluations, surveys, division_ids].hash
+ [conversation_id, conversation_start, conversation_end, media_stats_min_conversation_mos, media_stats_min_conversation_r_factor, participants, evaluations, surveys, division_ids].hash
end
# build the object from hash
def build_from_hash(attributes)
return nil unless attributes.is_a?(Hash)