lib/purecloud/models/analytics_session.rb in purecloud-0.58.1 vs lib/purecloud/models/analytics_session.rb in purecloud-0.59.1
- old
+ new
@@ -63,10 +63,26 @@
attr_accessor :skip_enabled
attr_accessor :timeout_seconds
+ attr_accessor :cobrowse_role
+
+ attr_accessor :cobrowse_room_id
+
+ attr_accessor :media_bridge_id
+
+ attr_accessor :screen_share_address_self
+
+ attr_accessor :sharing_screen
+
+ attr_accessor :screen_share_room_id
+
+ attr_accessor :video_room_id
+
+ attr_accessor :video_address_self
+
attr_accessor :segments
# Attribute mapping from ruby-style variable name to JSON key.
def self.attribute_map
{
@@ -115,10 +131,26 @@
:'skip_enabled' => :'skipEnabled',
:'timeout_seconds' => :'timeoutSeconds',
+ :'cobrowse_role' => :'cobrowseRole',
+
+ :'cobrowse_room_id' => :'cobrowseRoomId',
+
+ :'media_bridge_id' => :'mediaBridgeId',
+
+ :'screen_share_address_self' => :'screenShareAddressSelf',
+
+ :'sharing_screen' => :'sharingScreen',
+
+ :'screen_share_room_id' => :'screenShareRoomId',
+
+ :'video_room_id' => :'videoRoomId',
+
+ :'video_address_self' => :'videoAddressSelf',
+
:'segments' => :'segments'
}
end
@@ -146,10 +178,18 @@
:'callback_numbers' => :'Array<String>',
:'callback_scheduled_time' => :'DateTime',
:'script_id' => :'String',
:'skip_enabled' => :'BOOLEAN',
:'timeout_seconds' => :'Integer',
+ :'cobrowse_role' => :'String',
+ :'cobrowse_room_id' => :'String',
+ :'media_bridge_id' => :'String',
+ :'screen_share_address_self' => :'String',
+ :'sharing_screen' => :'BOOLEAN',
+ :'screen_share_room_id' => :'String',
+ :'video_room_id' => :'String',
+ :'video_address_self' => :'String',
:'segments' => :'Array<AnalyticsConversationSegment>'
}
end
@@ -254,10 +294,44 @@
if attributes[:'timeoutSeconds']
self.timeout_seconds = attributes[:'timeoutSeconds']
end
+ if attributes[:'cobrowseRole']
+ self.cobrowse_role = attributes[:'cobrowseRole']
+ end
+
+ if attributes[:'cobrowseRoomId']
+ self.cobrowse_room_id = attributes[:'cobrowseRoomId']
+ end
+
+ if attributes[:'mediaBridgeId']
+ self.media_bridge_id = attributes[:'mediaBridgeId']
+ end
+
+ if attributes[:'screenShareAddressSelf']
+ self.screen_share_address_self = attributes[:'screenShareAddressSelf']
+ end
+
+ if attributes[:'sharingScreen']
+ self.sharing_screen = attributes[:'sharingScreen']
+ else
+ self.sharing_screen = false
+ end
+
+ if attributes[:'screenShareRoomId']
+ self.screen_share_room_id = attributes[:'screenShareRoomId']
+ end
+
+ if attributes[:'videoRoomId']
+ self.video_room_id = attributes[:'videoRoomId']
+ end
+
+ if attributes[:'videoAddressSelf']
+ self.video_address_self = attributes[:'videoAddressSelf']
+ end
+
if attributes[:'segments']
if (value = attributes[:'segments']).is_a?(Array)
self.segments = value
end
end
@@ -307,20 +381,28 @@
callback_numbers == o.callback_numbers &&
callback_scheduled_time == o.callback_scheduled_time &&
script_id == o.script_id &&
skip_enabled == o.skip_enabled &&
timeout_seconds == o.timeout_seconds &&
+ cobrowse_role == o.cobrowse_role &&
+ cobrowse_room_id == o.cobrowse_room_id &&
+ media_bridge_id == o.media_bridge_id &&
+ screen_share_address_self == o.screen_share_address_self &&
+ sharing_screen == o.sharing_screen &&
+ screen_share_room_id == o.screen_share_room_id &&
+ video_room_id == o.video_room_id &&
+ video_address_self == o.video_address_self &&
segments == o.segments
end
# @see the `==` method
def eql?(o)
self == o
end
# Calculate hash code according to all attributes.
def hash
- [media_type, session_id, address_other, address_self, ani, direction, dnis, outbound_campaign_id, outbound_contact_id, outbound_contact_list_id, disposition_analyzer, disposition_name, edge_id, remote_name_displayable, room_id, monitored_session_id, monitored_participant_id, callback_user_name, callback_numbers, callback_scheduled_time, script_id, skip_enabled, timeout_seconds, segments].hash
+ [media_type, session_id, address_other, address_self, ani, direction, dnis, outbound_campaign_id, outbound_contact_id, outbound_contact_list_id, disposition_analyzer, disposition_name, edge_id, remote_name_displayable, room_id, monitored_session_id, monitored_participant_id, callback_user_name, callback_numbers, callback_scheduled_time, script_id, skip_enabled, timeout_seconds, cobrowse_role, cobrowse_room_id, media_bridge_id, screen_share_address_self, sharing_screen, screen_share_room_id, video_room_id, video_address_self, segments].hash
end
# build the object from hash
def build_from_hash(attributes)
return nil unless attributes.is_a?(Hash)