lib/purecloudplatformclientv2/models/trust_user.rb in purecloudplatformclientv2-50.0.0 vs lib/purecloudplatformclientv2/models/trust_user.rb in purecloudplatformclientv2-51.0.0
- old
+ new
@@ -50,10 +50,16 @@
attr_accessor :images
# Required when updating a user, this value should be the current version of the user. The current version can be obtained with a GET on the user before doing a PATCH.
attr_accessor :version
+ attr_accessor :certifications
+
+ attr_accessor :biography
+
+ attr_accessor :employer_info
+
# ACD routing status
attr_accessor :routing_status
# Active presence
attr_accessor :presence
@@ -126,10 +132,16 @@
:'images' => :'images',
:'version' => :'version',
+ :'certifications' => :'certifications',
+
+ :'biography' => :'biography',
+
+ :'employer_info' => :'employerInfo',
+
:'routing_status' => :'routingStatus',
:'presence' => :'presence',
:'conversation_summary' => :'conversationSummary',
@@ -191,10 +203,16 @@
:'images' => :'Array<UserImage>',
:'version' => :'Integer',
+ :'certifications' => :'Array<String>',
+
+ :'biography' => :'Biography',
+
+ :'employer_info' => :'EmployerInfo',
+
:'routing_status' => :'RoutingStatus',
:'presence' => :'UserPresence',
:'conversation_summary' => :'UserConversationSummary',
@@ -365,10 +383,39 @@
end
+ if attributes.has_key?(:'certifications')
+
+ if (value = attributes[:'certifications']).is_a?(Array)
+ self.certifications = value
+ end
+
+
+
+ end
+
+
+ if attributes.has_key?(:'biography')
+
+
+ self.biography = attributes[:'biography']
+
+
+ end
+
+
+ if attributes.has_key?(:'employerInfo')
+
+
+ self.employer_info = attributes[:'employerInfo']
+
+
+ end
+
+
if attributes.has_key?(:'routingStatus')
self.routing_status = attributes[:'routingStatus']
@@ -651,10 +698,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
end
@@ -808,10 +867,25 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
# Checks equality by comparing each attribute.
# @param [Object] Object to be compared
def ==(o)
return true if self.equal?(o)
self.class == o.class &&
@@ -827,10 +901,13 @@
title == o.title &&
username == o.username &&
manager == o.manager &&
images == o.images &&
version == o.version &&
+ certifications == o.certifications &&
+ biography == o.biography &&
+ employer_info == o.employer_info &&
routing_status == o.routing_status &&
presence == o.presence &&
conversation_summary == o.conversation_summary &&
out_of_office == o.out_of_office &&
geolocation == o.geolocation &&
@@ -853,10 +930,10 @@
end
# Calculates hash code according to all attributes.
# @return [Fixnum] Hash code
def hash
- [id, name, division, chat, department, email, primary_contact_info, addresses, state, title, username, manager, images, version, routing_status, presence, conversation_summary, out_of_office, geolocation, station, authorization, profile_skills, locations, groups, skills, languages, acd_auto_answer, language_preference, trust_user_details].hash
+ [id, name, division, chat, department, email, primary_contact_info, addresses, state, title, username, manager, images, version, certifications, biography, employer_info, routing_status, presence, conversation_summary, out_of_office, geolocation, station, authorization, profile_skills, locations, groups, skills, languages, acd_auto_answer, language_preference, trust_user_details].hash
end
# build the object from hash
def build_from_hash(attributes)
return nil unless attributes.is_a?(Hash)