lib/purecloudplatformclientv2/models/trust_user.rb in purecloudplatformclientv2-73.0.0 vs lib/purecloudplatformclientv2/models/trust_user.rb in purecloudplatformclientv2-75.0.0
- old
+ new
@@ -98,10 +98,12 @@
attr_accessor :acd_auto_answer
# preferred language by the user
attr_accessor :language_preference
+ attr_accessor :last_token_issued
+
attr_accessor :trust_user_details
# Attribute mapping from ruby-style variable name to JSON key.
def self.attribute_map
{
@@ -166,10 +168,12 @@
:'acd_auto_answer' => :'acdAutoAnswer',
:'language_preference' => :'languagePreference',
+ :'last_token_issued' => :'lastTokenIssued',
+
:'trust_user_details' => :'trustUserDetails'
}
end
@@ -237,10 +241,12 @@
:'acd_auto_answer' => :'BOOLEAN',
:'language_preference' => :'String',
+ :'last_token_issued' => :'OAuthLastTokenIssued',
+
:'trust_user_details' => :'TrustUserDetails'
}
end
@@ -548,10 +554,19 @@
end
+ if attributes.has_key?(:'lastTokenIssued')
+
+
+ self.last_token_issued = attributes[:'lastTokenIssued']
+
+
+ end
+
+
if attributes.has_key?(:'trustUserDetails')
self.trust_user_details = attributes[:'trustUserDetails']
@@ -710,10 +725,14 @@
+
+
+
+
end
@@ -882,10 +901,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 &&
@@ -918,10 +942,11 @@
groups == o.groups &&
skills == o.skills &&
languages == o.languages &&
acd_auto_answer == o.acd_auto_answer &&
language_preference == o.language_preference &&
+ last_token_issued == o.last_token_issued &&
trust_user_details == o.trust_user_details
end
# @see the `==` method
# @param [Object] Object to be compared
@@ -930,10 +955,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, 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
+ [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, last_token_issued, trust_user_details].hash
end
# build the object from hash
def build_from_hash(attributes)
return nil unless attributes.is_a?(Hash)