lib/purecloud/models/user_me.rb in purecloud-0.68.1 vs lib/purecloud/models/user_me.rb in purecloud-0.69.1

- old
+ new

@@ -74,10 +74,13 @@ attr_accessor :profile_skills # The user placement at each site location. attr_accessor :locations + # The groups the user is a member of + attr_accessor :groups + # The PureCloud system date time. attr_accessor :date # Geolocation settings for user's organization. attr_accessor :geolocation_settings @@ -161,10 +164,12 @@ :'profile_skills' => :'profileSkills', :'locations' => :'locations', + :'groups' => :'groups', + :'date' => :'date', :'geolocation_settings' => :'geolocationSettings', :'organization' => :'organization', @@ -215,10 +220,11 @@ :'geolocation' => :'Geolocation', :'station' => :'UserStations', :'authorization' => :'UserAuthorization', :'profile_skills' => :'Array<String>', :'locations' => :'Array<Location>', + :'groups' => :'Array<Group>', :'date' => :'ServerDate', :'geolocation_settings' => :'GeolocationSettings', :'organization' => :'Organization', :'presence_definitions' => :'Array<OrganizationPresence>', :'location_definitions' => :'Array<LocationDefinition>', @@ -337,10 +343,16 @@ if (value = attributes[:'locations']).is_a?(Array) self.locations = value end end + if attributes[:'groups'] + if (value = attributes[:'groups']).is_a?(Array) + self.groups = value + end + end + if attributes[:'date'] self.date = attributes[:'date'] end if attributes[:'geolocationSettings'] @@ -440,10 +452,11 @@ geolocation == o.geolocation && station == o.station && authorization == o.authorization && profile_skills == o.profile_skills && locations == o.locations && + groups == o.groups && date == o.date && geolocation_settings == o.geolocation_settings && organization == o.organization && presence_definitions == o.presence_definitions && location_definitions == o.location_definitions && @@ -462,10 +475,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, manager, images, version, routing_status, presence, conversation_summary, out_of_office, geolocation, station, authorization, profile_skills, locations, date, geolocation_settings, organization, presence_definitions, location_definitions, org_authorization, favorites, superiors, direct_reports, adjacents, routing_skills, field_configs, self_uri].hash + [id, name, 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, date, geolocation_settings, organization, presence_definitions, location_definitions, org_authorization, favorites, superiors, direct_reports, adjacents, routing_skills, field_configs, self_uri].hash end # build the object from hash def build_from_hash(attributes) return nil unless attributes.is_a?(Hash)