lib/ionoscloud/models/user_properties.rb in ionoscloud-5.0.1 vs lib/ionoscloud/models/user_properties.rb in ionoscloud-5.1.0
- old
+ new
@@ -34,13 +34,10 @@
attr_accessor :sec_auth_active
# Canonical (S3) id of the user for a given identity
attr_accessor :s3_canonical_user_id
- # User password
- attr_accessor :password
-
# indicates if the user is active
attr_accessor :active
# Attribute mapping from ruby-style variable name to JSON key.
def self.attribute_map
@@ -50,11 +47,10 @@
:'email' => :'email',
:'administrator' => :'administrator',
:'force_sec_auth' => :'forceSecAuth',
:'sec_auth_active' => :'secAuthActive',
:'s3_canonical_user_id' => :'s3CanonicalUserId',
- :'password' => :'password',
:'active' => :'active'
}
end
# Returns all the JSON keys this model knows about
@@ -70,11 +66,10 @@
:'email' => :'String',
:'administrator' => :'Boolean',
:'force_sec_auth' => :'Boolean',
:'sec_auth_active' => :'Boolean',
:'s3_canonical_user_id' => :'String',
- :'password' => :'String',
:'active' => :'Boolean'
}
end
# List of attributes with nullable: true
@@ -124,14 +119,10 @@
if attributes.key?(:'s3_canonical_user_id')
self.s3_canonical_user_id = attributes[:'s3_canonical_user_id']
end
- if attributes.key?(:'password')
- self.password = attributes[:'password']
- end
-
if attributes.key?(:'active')
self.active = attributes[:'active']
end
end
@@ -158,11 +149,10 @@
email == o.email &&
administrator == o.administrator &&
force_sec_auth == o.force_sec_auth &&
sec_auth_active == o.sec_auth_active &&
s3_canonical_user_id == o.s3_canonical_user_id &&
- password == o.password &&
active == o.active
end
# @see the `==` method
# @param [Object] Object to be compared
@@ -171,10 +161,10 @@
end
# Calculates hash code according to all attributes.
# @return [Integer] Hash code
def hash
- [firstname, lastname, email, administrator, force_sec_auth, sec_auth_active, s3_canonical_user_id, password, active].hash
+ [firstname, lastname, email, administrator, force_sec_auth, sec_auth_active, s3_canonical_user_id, active].hash
end
# Builds the object from hash
# @param [Hash] attributes Model attributes in the form of hash
# @return [Object] Returns the model itself