lib/purecloud/models/participant.rb in purecloud-0.60.1 vs lib/purecloud/models/participant.rb in purecloud-0.61.1

- old
+ new

@@ -67,10 +67,13 @@ attr_accessor :address # The address for the this participant. For a phone call this will be the ANI. attr_accessor :ani + # The ani-based name for this participant. + attr_accessor :ani_name + # The address for the this participant. For a phone call this will be the ANI. attr_accessor :dnis # An ISO 639 language code specifying the locale for this participant attr_accessor :locale @@ -150,10 +153,12 @@ :'address' => :'address', :'ani' => :'ani', + :'ani_name' => :'aniName', + :'dnis' => :'dnis', :'locale' => :'locale', :'wrapup_required' => :'wrapupRequired', @@ -209,10 +214,11 @@ :'purpose' => :'String', :'participant_type' => :'String', :'consult_participant_id' => :'String', :'address' => :'String', :'ani' => :'String', + :'ani_name' => :'String', :'dnis' => :'String', :'locale' => :'String', :'wrapup_required' => :'BOOLEAN', :'wrapup_prompt' => :'String', :'wrapup_timeout_ms' => :'Integer', @@ -306,10 +312,14 @@ if attributes[:'ani'] self.ani = attributes[:'ani'] end + if attributes[:'aniName'] + self.ani_name = attributes[:'aniName'] + end + if attributes[:'dnis'] self.dnis = attributes[:'dnis'] end if attributes[:'locale'] @@ -434,10 +444,11 @@ purpose == o.purpose && participant_type == o.participant_type && consult_participant_id == o.consult_participant_id && address == o.address && ani == o.ani && + ani_name == o.ani_name && dnis == o.dnis && locale == o.locale && wrapup_required == o.wrapup_required && wrapup_prompt == o.wrapup_prompt && wrapup_timeout_ms == o.wrapup_timeout_ms && @@ -461,10 +472,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, external_contact_id, external_organization_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, cobrowsesessions, emails, screenshares, social_expressions, videos, evaluations].hash + [id, start_time, end_time, connected_time, name, user_uri, user_id, external_contact_id, external_organization_id, queue_id, group_id, queue_name, purpose, participant_type, consult_participant_id, address, ani, ani_name, dnis, locale, wrapup_required, wrapup_prompt, wrapup_timeout_ms, wrapup_skipped, wrapup, monitored_participant_id, attributes, calls, callbacks, chats, cobrowsesessions, emails, screenshares, social_expressions, videos, evaluations].hash end # build the object from hash def build_from_hash(attributes) return nil unless attributes.is_a?(Hash)