lib/purecloud/models/participant.rb in purecloud-0.27.0 vs lib/purecloud/models/participant.rb in purecloud-0.28.0

- old
+ new

@@ -39,12 +39,10 @@ attr_accessor :locale attr_accessor :wrapup_required - attr_accessor :wrapup_expected - attr_accessor :wrapup_prompt attr_accessor :wrapup_timeout_ms attr_accessor :wrapup_skipped @@ -107,12 +105,10 @@ :'locale' => :'locale', :'wrapup_required' => :'wrapupRequired', - :'wrapup_expected' => :'wrapupExpected', - :'wrapup_prompt' => :'wrapupPrompt', :'wrapup_timeout_ms' => :'wrapupTimeoutMs', :'wrapup_skipped' => :'wrapupSkipped', @@ -159,11 +155,10 @@ :'address' => :'String', :'ani' => :'String', :'dnis' => :'String', :'locale' => :'String', :'wrapup_required' => :'BOOLEAN', - :'wrapup_expected' => :'BOOLEAN', :'wrapup_prompt' => :'String', :'wrapup_timeout_ms' => :'Integer', :'wrapup_skipped' => :'BOOLEAN', :'wrapup' => :'Wrapup', :'monitored_participant_id' => :'String', @@ -258,16 +253,10 @@ self.wrapup_required = attributes[:'wrapupRequired'] else self.wrapup_required = false end - if attributes[:'wrapupExpected'] - self.wrapup_expected = attributes[:'wrapupExpected'] - else - self.wrapup_expected = false - end - if attributes[:'wrapupPrompt'] self.wrapup_prompt = attributes[:'wrapupPrompt'] end if attributes[:'wrapupTimeoutMs'] @@ -367,11 +356,10 @@ address == o.address && ani == o.ani && dnis == o.dnis && locale == o.locale && wrapup_required == o.wrapup_required && - wrapup_expected == o.wrapup_expected && wrapup_prompt == o.wrapup_prompt && wrapup_timeout_ms == o.wrapup_timeout_ms && wrapup_skipped == o.wrapup_skipped && wrapup == o.wrapup && monitored_participant_id == o.monitored_participant_id && @@ -390,10 +378,10 @@ self == o end # Calculate hash code according to all attributes. def hash - [id, start_time, end_time, connected_time, name, user_uri, user_id, queue_id, group_id, queue_name, purpose, participant_type, consult_participant_id, address, ani, dnis, locale, wrapup_required, wrapup_expected, wrapup_prompt, wrapup_timeout_ms, wrapup_skipped, wrapup, monitored_participant_id, attributes, calls, callbacks, chats, emails, social_expressions, videos, evaluations].hash + [id, start_time, end_time, connected_time, name, user_uri, user_id, queue_id, group_id, queue_name, purpose, participant_type, consult_participant_id, address, ani, dnis, locale, wrapup_required, wrapup_prompt, wrapup_timeout_ms, wrapup_skipped, wrapup, monitored_participant_id, attributes, calls, callbacks, chats, emails, social_expressions, videos, evaluations].hash end # build the object from hash def build_from_hash(attributes) return nil unless attributes.is_a?(Hash)