lib/purecloud/models/cobrowse_media_participant.rb in purecloud-0.68.1 vs lib/purecloud/models/cobrowse_media_participant.rb in purecloud-0.69.1
- old
+ new
@@ -88,10 +88,13 @@
attr_accessor :external_contact
# If this participant represents an external org, then this will be the reference for the external org.
attr_accessor :external_organization
+ # Wrapup for this participant, if it has been applied.
+ attr_accessor :wrapup
+
# The co-browse session ID.
attr_accessor :cobrowse_session_id
# This value identifies the role of the co-browse client within the co-browse session (a client is a sharer or a viewer).
attr_accessor :cobrowse_role
@@ -155,10 +158,12 @@
:'external_contact' => :'externalContact',
:'external_organization' => :'externalOrganization',
+ :'wrapup' => :'wrapup',
+
:'cobrowse_session_id' => :'cobrowseSessionId',
:'cobrowse_role' => :'cobrowseRole',
:'controlling' => :'controlling',
@@ -195,10 +200,11 @@
:'wrapup_timeout_ms' => :'Integer',
:'wrapup_skipped' => :'BOOLEAN',
:'provider' => :'String',
:'external_contact' => :'UriReference',
:'external_organization' => :'UriReference',
+ :'wrapup' => :'Wrapup',
:'cobrowse_session_id' => :'String',
:'cobrowse_role' => :'String',
:'controlling' => :'Array<String>',
:'viewer_url' => :'String',
:'provider_event_time' => :'DateTime'
@@ -309,10 +315,14 @@
if attributes[:'externalOrganization']
self.external_organization = attributes[:'externalOrganization']
end
+ if attributes[:'wrapup']
+ self.wrapup = attributes[:'wrapup']
+ end
+
if attributes[:'cobrowseSessionId']
self.cobrowse_session_id = attributes[:'cobrowseSessionId']
end
if attributes[:'cobrowseRole']
@@ -388,10 +398,11 @@
wrapup_timeout_ms == o.wrapup_timeout_ms &&
wrapup_skipped == o.wrapup_skipped &&
provider == o.provider &&
external_contact == o.external_contact &&
external_organization == o.external_organization &&
+ wrapup == o.wrapup &&
cobrowse_session_id == o.cobrowse_session_id &&
cobrowse_role == o.cobrowse_role &&
controlling == o.controlling &&
viewer_url == o.viewer_url &&
provider_event_time == o.provider_event_time
@@ -402,10 +413,10 @@
self == o
end
# Calculate hash code according to all attributes.
def hash
- [id, name, address, start_time, connected_time, end_time, start_hold_time, purpose, state, direction, disconnect_type, held, wrapup_required, wrapup_prompt, user, queue, attributes, error_info, script, wrapup_timeout_ms, wrapup_skipped, provider, external_contact, external_organization, cobrowse_session_id, cobrowse_role, controlling, viewer_url, provider_event_time].hash
+ [id, name, address, start_time, connected_time, end_time, start_hold_time, purpose, state, direction, disconnect_type, held, wrapup_required, wrapup_prompt, user, queue, attributes, error_info, script, wrapup_timeout_ms, wrapup_skipped, provider, external_contact, external_organization, wrapup, cobrowse_session_id, cobrowse_role, controlling, viewer_url, provider_event_time].hash
end
# build the object from hash
def build_from_hash(attributes)
return nil unless attributes.is_a?(Hash)