lib/purecloud/models/user_me.rb in purecloud-0.66.1 vs lib/purecloud/models/user_me.rb in purecloud-0.67.1
- old
+ new
@@ -107,10 +107,13 @@
attr_accessor :adjacents
# The first 50 routing skills for user's organizations
attr_accessor :routing_skills
+ # The field config for all entities types of user's organization
+ attr_accessor :field_configs
+
# The URI for this object
attr_accessor :self_uri
# Attribute mapping from ruby-style variable name to JSON key.
def self.attribute_map
@@ -180,10 +183,12 @@
:'adjacents' => :'adjacents',
:'routing_skills' => :'routingSkills',
+ :'field_configs' => :'fieldConfigs',
+
:'self_uri' => :'selfUri'
}
end
@@ -221,10 +226,11 @@
:'favorites' => :'Array<User>',
:'superiors' => :'Array<User>',
:'direct_reports' => :'Array<User>',
:'adjacents' => :'Adjacents',
:'routing_skills' => :'Array<RoutingSkill>',
+ :'field_configs' => :'FieldConfigs',
:'self_uri' => :'String'
}
end
@@ -389,10 +395,14 @@
if (value = attributes[:'routingSkills']).is_a?(Array)
self.routing_skills = value
end
end
+ if attributes[:'fieldConfigs']
+ self.field_configs = attributes[:'fieldConfigs']
+ end
+
if attributes[:'selfUri']
self.self_uri = attributes[:'selfUri']
end
end
@@ -441,20 +451,21 @@
favorites == o.favorites &&
superiors == o.superiors &&
direct_reports == o.direct_reports &&
adjacents == o.adjacents &&
routing_skills == o.routing_skills &&
+ field_configs == o.field_configs &&
self_uri == o.self_uri
end
# @see the `==` method
def eql?(o)
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, 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, 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)