lib/purecloud/models/analytics_conversation_segment.rb in purecloud-0.58.1 vs lib/purecloud/models/analytics_conversation_segment.rb in purecloud-0.59.1
- old
+ new
@@ -62,10 +62,14 @@
attr_accessor :group_id
attr_accessor :subject
+ attr_accessor :audio_muted
+
+ attr_accessor :video_muted
+
# Attribute mapping from ruby-style variable name to JSON key.
def self.attribute_map
{
:'segment_start' => :'segmentStart',
@@ -108,12 +112,16 @@
:'conference' => :'conference',
:'group_id' => :'groupId',
- :'subject' => :'subject'
+ :'subject' => :'subject',
+ :'audio_muted' => :'audioMuted',
+
+ :'video_muted' => :'videoMuted'
+
}
end
# Attribute type mapping.
def self.swagger_types
@@ -137,11 +145,13 @@
:'destination_session_id' => :'String',
:'sip_response_codes' => :'Array<Integer>',
:'q850_response_codes' => :'Array<Integer>',
:'conference' => :'BOOLEAN',
:'group_id' => :'String',
- :'subject' => :'String'
+ :'subject' => :'String',
+ :'audio_muted' => :'BOOLEAN',
+ :'video_muted' => :'BOOLEAN'
}
end
def initialize(attributes = {})
@@ -251,10 +261,22 @@
if attributes[:'subject']
self.subject = attributes[:'subject']
end
+ if attributes[:'audioMuted']
+ self.audio_muted = attributes[:'audioMuted']
+ else
+ self.audio_muted = false
+ end
+
+ if attributes[:'videoMuted']
+ self.video_muted = attributes[:'videoMuted']
+ else
+ self.video_muted = false
+ end
+
end
# Custom attribute writer method checking allowed values (enum).
def disconnect_type=(disconnect_type)
allowed_values = ["endpoint", "client", "system", "transfer", "error", "peer", "other", "spam", "transportFailure", "conferenceTransfer", "consultTransfer", "forwardTransfer"]
@@ -296,20 +318,22 @@
destination_session_id == o.destination_session_id &&
sip_response_codes == o.sip_response_codes &&
q850_response_codes == o.q850_response_codes &&
conference == o.conference &&
group_id == o.group_id &&
- subject == o.subject
+ subject == o.subject &&
+ audio_muted == o.audio_muted &&
+ video_muted == o.video_muted
end
# @see the `==` method
def eql?(o)
self == o
end
# Calculate hash code according to all attributes.
def hash
- [segment_start, segment_end, queue_id, wrap_up_code, wrap_up_note, wrap_up_tags, error_code, disconnect_type, segment_type, requested_routing_user_ids, requested_routing_skill_ids, requested_language_id, properties, source_conversation_id, destination_conversation_id, source_session_id, destination_session_id, sip_response_codes, q850_response_codes, conference, group_id, subject].hash
+ [segment_start, segment_end, queue_id, wrap_up_code, wrap_up_note, wrap_up_tags, error_code, disconnect_type, segment_type, requested_routing_user_ids, requested_routing_skill_ids, requested_language_id, properties, source_conversation_id, destination_conversation_id, source_session_id, destination_session_id, sip_response_codes, q850_response_codes, conference, group_id, subject, audio_muted, video_muted].hash
end
# build the object from hash
def build_from_hash(attributes)
return nil unless attributes.is_a?(Hash)