lib/purecloud/models/call_media_participant.rb in purecloud-0.68.1 vs lib/purecloud/models/call_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
+
# Value is true when the call is muted.
attr_accessor :muted
# Value is true when the call is confined.
attr_accessor :confined
@@ -173,10 +176,12 @@
:'external_contact' => :'externalContact',
:'external_organization' => :'externalOrganization',
+ :'wrapup' => :'wrapup',
+
:'muted' => :'muted',
:'confined' => :'confined',
:'recording' => :'recording',
@@ -225,10 +230,11 @@
:'wrapup_timeout_ms' => :'Integer',
:'wrapup_skipped' => :'BOOLEAN',
:'provider' => :'String',
:'external_contact' => :'UriReference',
:'external_organization' => :'UriReference',
+ :'wrapup' => :'Wrapup',
:'muted' => :'BOOLEAN',
:'confined' => :'BOOLEAN',
:'recording' => :'BOOLEAN',
:'recording_state' => :'String',
:'group' => :'UriReference',
@@ -345,10 +351,14 @@
if attributes[:'externalOrganization']
self.external_organization = attributes[:'externalOrganization']
end
+ if attributes[:'wrapup']
+ self.wrapup = attributes[:'wrapup']
+ end
+
if attributes[:'muted']
self.muted = attributes[:'muted']
end
if attributes[:'confined']
@@ -455,10 +465,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 &&
muted == o.muted &&
confined == o.confined &&
recording == o.recording &&
recording_state == o.recording_state &&
group == o.group &&
@@ -475,10 +486,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, muted, confined, recording, recording_state, group, ani, dnis, document_id, fax_status, monitored_participant_id, consult_participant_id].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, muted, confined, recording, recording_state, group, ani, dnis, document_id, fax_status, monitored_participant_id, consult_participant_id].hash
end
# build the object from hash
def build_from_hash(attributes)
return nil unless attributes.is_a?(Hash)