lib/purecloud/models/create_user.rb in purecloud-0.37.1 vs lib/purecloud/models/create_user.rb in purecloud-0.38.1
- old
+ new
@@ -31,13 +31,10 @@
attr_accessor :title
# User's password
attr_accessor :password
- # Use version number 1 when creating
- attr_accessor :version
-
# Attribute mapping from ruby-style variable name to JSON key.
def self.attribute_map
{
:'name' => :'name',
@@ -48,14 +45,12 @@
:'addresses' => :'addresses',
:'title' => :'title',
- :'password' => :'password',
+ :'password' => :'password'
- :'version' => :'version'
-
}
end
# Attribute type mapping.
def self.swagger_types
@@ -63,12 +58,11 @@
:'name' => :'String',
:'department' => :'String',
:'email' => :'String',
:'addresses' => :'Array<Contact>',
:'title' => :'String',
- :'password' => :'String',
- :'version' => :'String'
+ :'password' => :'String'
}
end
def initialize(attributes = {})
@@ -102,14 +96,10 @@
if attributes[:'password']
self.password = attributes[:'password']
end
- if attributes[:'version']
- self.version = attributes[:'version']
- end
-
end
# Check equality by comparing each attribute.
def ==(o)
return true if self.equal?(o)
@@ -117,21 +107,20 @@
name == o.name &&
department == o.department &&
email == o.email &&
addresses == o.addresses &&
title == o.title &&
- password == o.password &&
- version == o.version
+ password == o.password
end
# @see the `==` method
def eql?(o)
self == o
end
# Calculate hash code according to all attributes.
def hash
- [name, department, email, addresses, title, password, version].hash
+ [name, department, email, addresses, title, password].hash
end
# build the object from hash
def build_from_hash(attributes)
return nil unless attributes.is_a?(Hash)