lib/purecloud/models/user_me.rb in purecloud-0.48.1 vs lib/purecloud/models/user_me.rb in purecloud-0.49.1
- old
+ new
@@ -66,10 +66,13 @@
attr_accessor :station
# Roles and permissions assigned to the user
attr_accessor :authorization
+ # Skills possessed by the user
+ attr_accessor :profile_skills
+
# The PureCloud system date time.
attr_accessor :date
# Geolocation settings for user's organization.
attr_accessor :geolocation_settings
@@ -126,10 +129,12 @@
:'station' => :'station',
:'authorization' => :'authorization',
+ :'profile_skills' => :'profileSkills',
+
:'date' => :'date',
:'geolocation_settings' => :'geolocationSettings',
:'organization' => :'organization',
@@ -163,10 +168,11 @@
:'conversation_summary' => :'UserConversationSummary',
:'out_of_office' => :'OutOfOffice',
:'geolocation' => :'Geolocation',
:'station' => :'UserStations',
:'authorization' => :'UserAuthorization',
+ :'profile_skills' => :'Array<String>',
:'date' => :'ServerDate',
:'geolocation_settings' => :'GeolocationSettings',
:'organization' => :'Organization',
:'presence_definitions' => :'Array<OrganizationPresence>',
:'locations' => :'Array<Location>',
@@ -262,10 +268,16 @@
if attributes[:'authorization']
self.authorization = attributes[:'authorization']
end
+ if attributes[:'profileSkills']
+ if (value = attributes[:'profileSkills']).is_a?(Array)
+ self.profile_skills = value
+ end
+ end
+
if attributes[:'date']
self.date = attributes[:'date']
end
if attributes[:'geolocationSettings']
@@ -324,10 +336,11 @@
conversation_summary == o.conversation_summary &&
out_of_office == o.out_of_office &&
geolocation == o.geolocation &&
station == o.station &&
authorization == o.authorization &&
+ profile_skills == o.profile_skills &&
date == o.date &&
geolocation_settings == o.geolocation_settings &&
organization == o.organization &&
presence_definitions == o.presence_definitions &&
locations == o.locations &&
@@ -339,10 +352,10 @@
self == o
end
# Calculate hash code according to all attributes.
def hash
- [id, name, chat, department, email, primary_contact_info, addresses, state, title, username, images, version, routing_status, presence, conversation_summary, out_of_office, geolocation, station, authorization, date, geolocation_settings, organization, presence_definitions, locations, self_uri].hash
+ [id, name, chat, department, email, primary_contact_info, addresses, state, title, username, images, version, routing_status, presence, conversation_summary, out_of_office, geolocation, station, authorization, profile_skills, date, geolocation_settings, organization, presence_definitions, locations, self_uri].hash
end
# build the object from hash
def build_from_hash(attributes)
return nil unless attributes.is_a?(Hash)