lib/purecloudplatformclientv2/models/trust_user.rb in purecloudplatformclientv2-42.0.0 vs lib/purecloudplatformclientv2/models/trust_user.rb in purecloudplatformclientv2-43.0.0

- old
+ new

@@ -71,19 +71,25 @@ attr_accessor :station # Roles and permissions assigned to the user attr_accessor :authorization - # Skills possessed by the user + # Profile skills possessed by the user 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 + # Routing (ACD) skills possessed by the user + attr_accessor :skills + + # Routing (ACD) languages possessed by the user + attr_accessor :languages + # acd auto answer attr_accessor :acd_auto_answer attr_accessor :trust_user_details @@ -137,10 +143,14 @@ :'locations' => :'locations', :'groups' => :'groups', + :'skills' => :'skills', + + :'languages' => :'languages', + :'acd_auto_answer' => :'acdAutoAnswer', :'trust_user_details' => :'trustUserDetails' } @@ -196,10 +206,14 @@ :'locations' => :'Array<Location>', :'groups' => :'Array<Group>', + :'skills' => :'Array<UserRoutingSkill>', + + :'languages' => :'Array<UserRoutingLanguage>', + :'acd_auto_answer' => :'BOOLEAN', :'trust_user_details' => :'TrustUserDetails' } @@ -440,10 +454,32 @@ end + if attributes.has_key?(:'skills') + + if (value = attributes[:'skills']).is_a?(Array) + self.skills = value + end + + + + end + + + if attributes.has_key?(:'languages') + + if (value = attributes[:'languages']).is_a?(Array) + self.languages = value + end + + + + end + + if attributes.has_key?(:'acdAutoAnswer') self.acd_auto_answer = attributes[:'acdAutoAnswer'] @@ -587,10 +623,18 @@ + + + + + + + + end @@ -729,10 +773,20 @@ + + + + + + + + + + # Checks equality by comparing each attribute. # @param [Object] Object to be compared def ==(o) return true if self.equal?(o) self.class == o.class && @@ -758,10 +812,12 @@ station == o.station && authorization == o.authorization && profile_skills == o.profile_skills && locations == o.locations && groups == o.groups && + skills == o.skills && + languages == o.languages && acd_auto_answer == o.acd_auto_answer && trust_user_details == o.trust_user_details end # @see the `==` method @@ -771,10 +827,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, routing_status, presence, conversation_summary, out_of_office, geolocation, station, authorization, profile_skills, locations, groups, acd_auto_answer, trust_user_details].hash + [id, name, division, 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, skills, languages, 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)