lib/purecloudplatformclientv2/models/manager.rb in purecloudplatformclientv2-57.0.0 vs lib/purecloudplatformclientv2/models/manager.rb in purecloudplatformclientv2-58.0.0
- old
+ new
@@ -41,10 +41,13 @@
attr_accessor :emails
# Photos
attr_accessor :photos
+ # External ID
+ attr_accessor :external_id
+
# Group References
attr_accessor :groups
attr_accessor :meta
@@ -74,10 +77,12 @@
:'emails' => :'emails',
:'photos' => :'photos',
+ :'external_id' => :'externalId',
+
:'groups' => :'groups',
:'meta' => :'meta',
:'urnietfparamsscimschemasextensionenterprise2_0_user' => :'urn:ietf:params:scim:schemas:extension:enterprise:2.0:User',
@@ -107,10 +112,12 @@
:'emails' => :'Array<ScimEmail>',
:'photos' => :'Array<Photo>',
+ :'external_id' => :'String',
+
:'groups' => :'Array<ScimV2GroupReference>',
:'meta' => :'ScimMetadata',
:'urnietfparamsscimschemasextensionenterprise2_0_user' => :'ScimV2EnterpriseUser',
@@ -207,10 +214,19 @@
end
+ if attributes.has_key?(:'externalId')
+
+
+ self.external_id = attributes[:'externalId']
+
+
+ end
+
+
if attributes.has_key?(:'groups')
if (value = attributes[:'groups']).is_a?(Array)
self.groups = value
end
@@ -321,10 +337,14 @@
+
+
+
+
end
@@ -389,10 +409,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 &&
@@ -402,10 +427,11 @@
password == o.password &&
title == o.title &&
phone_numbers == o.phone_numbers &&
emails == o.emails &&
photos == o.photos &&
+ external_id == o.external_id &&
groups == o.groups &&
meta == o.meta &&
urnietfparamsscimschemasextensionenterprise2_0_user == o.urnietfparamsscimschemasextensionenterprise2_0_user &&
value == o.value &&
ref == o.ref
@@ -418,10 +444,10 @@
end
# Calculates hash code according to all attributes.
# @return [Fixnum] Hash code
def hash
- [display_name, active, user_name, password, title, phone_numbers, emails, photos, groups, meta, urnietfparamsscimschemasextensionenterprise2_0_user, value, ref].hash
+ [display_name, active, user_name, password, title, phone_numbers, emails, photos, external_id, groups, meta, urnietfparamsscimschemasextensionenterprise2_0_user, value, ref].hash
end
# build the object from hash
def build_from_hash(attributes)
return nil unless attributes.is_a?(Hash)