lib/purecloudplatformclientv2/models/trust_user.rb in purecloudplatformclientv2-36.0.0 vs lib/purecloudplatformclientv2/models/trust_user.rb in purecloudplatformclientv2-36.1.0
- old
+ new
@@ -77,10 +77,13 @@
attr_accessor :locations
# The groups the user is a member of
attr_accessor :groups
+ # acd auto answer
+ attr_accessor :acd_auto_answer
+
attr_accessor :trust_user_details
# Attribute mapping from ruby-style variable name to JSON key.
def self.attribute_map
{
@@ -129,10 +132,12 @@
:'locations' => :'locations',
:'groups' => :'groups',
+ :'acd_auto_answer' => :'acdAutoAnswer',
+
:'trust_user_details' => :'trustUserDetails'
}
end
@@ -184,10 +189,12 @@
:'locations' => :'Array<Location>',
:'groups' => :'Array<Group>',
+ :'acd_auto_answer' => :'BOOLEAN',
+
:'trust_user_details' => :'TrustUserDetails'
}
end
@@ -417,10 +424,19 @@
end
+ if attributes.has_key?(:'acdAutoAnswer')
+
+
+ self.acd_auto_answer = attributes[:'acdAutoAnswer']
+
+
+ end
+
+
if attributes.has_key?(:'trustUserDetails')
self.trust_user_details = attributes[:'trustUserDetails']
@@ -547,10 +563,14 @@
+
+
+
+
end
@@ -679,10 +699,15 @@
+
+
+
+
+
# Checks equality by comparing each attribute.
# @param [Object] Object to be compared
def ==(o)
return true if self.equal?(o)
self.class == o.class &&
@@ -707,10 +732,11 @@
station == o.station &&
authorization == o.authorization &&
profile_skills == o.profile_skills &&
locations == o.locations &&
groups == o.groups &&
+ acd_auto_answer == o.acd_auto_answer &&
trust_user_details == o.trust_user_details
end
# @see the `==` method
# @param [Object] Object to be compared
@@ -719,10 +745,10 @@
end
# Calculates hash code according to all attributes.
# @return [Fixnum] Hash code
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, groups, trust_user_details].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, acd_auto_answer, trust_user_details].hash
end
# build the object from hash
def build_from_hash(attributes)
return nil unless attributes.is_a?(Hash)