/// <summary>
        /// Returns true if OrgApacheJackrabbitOakSecurityAuthenticationTokenTokenConfiguraProperties instances are equal
        /// </summary>
        /// <param name="other">Instance of OrgApacheJackrabbitOakSecurityAuthenticationTokenTokenConfiguraProperties to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(OrgApacheJackrabbitOakSecurityAuthenticationTokenTokenConfiguraProperties other)
        {
            if (other is null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     TokenExpiration == other.TokenExpiration ||
                     TokenExpiration != null &&
                     TokenExpiration.Equals(other.TokenExpiration)
                     ) &&
                 (
                     TokenLength == other.TokenLength ||
                     TokenLength != null &&
                     TokenLength.Equals(other.TokenLength)
                 ) &&
                 (
                     TokenRefresh == other.TokenRefresh ||
                     TokenRefresh != null &&
                     TokenRefresh.Equals(other.TokenRefresh)
                 ) &&
                 (
                     TokenCleanupThreshold == other.TokenCleanupThreshold ||
                     TokenCleanupThreshold != null &&
                     TokenCleanupThreshold.Equals(other.TokenCleanupThreshold)
                 ) &&
                 (
                     PasswordHashAlgorithm == other.PasswordHashAlgorithm ||
                     PasswordHashAlgorithm != null &&
                     PasswordHashAlgorithm.Equals(other.PasswordHashAlgorithm)
                 ) &&
                 (
                     PasswordHashIterations == other.PasswordHashIterations ||
                     PasswordHashIterations != null &&
                     PasswordHashIterations.Equals(other.PasswordHashIterations)
                 ) &&
                 (
                     PasswordSaltSize == other.PasswordSaltSize ||
                     PasswordSaltSize != null &&
                     PasswordSaltSize.Equals(other.PasswordSaltSize)
                 ));
        }
        /// <summary>
        /// Returns true if OrgApacheJackrabbitOakSecurityUserUserConfigurationImplProperties instances are equal
        /// </summary>
        /// <param name="other">Instance of OrgApacheJackrabbitOakSecurityUserUserConfigurationImplProperties to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(OrgApacheJackrabbitOakSecurityUserUserConfigurationImplProperties other)
        {
            if (other is null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     UsersPath == other.UsersPath ||
                     UsersPath != null &&
                     UsersPath.Equals(other.UsersPath)
                     ) &&
                 (
                     GroupsPath == other.GroupsPath ||
                     GroupsPath != null &&
                     GroupsPath.Equals(other.GroupsPath)
                 ) &&
                 (
                     SystemRelativePath == other.SystemRelativePath ||
                     SystemRelativePath != null &&
                     SystemRelativePath.Equals(other.SystemRelativePath)
                 ) &&
                 (
                     DefaultDepth == other.DefaultDepth ||
                     DefaultDepth != null &&
                     DefaultDepth.Equals(other.DefaultDepth)
                 ) &&
                 (
                     ImportBehavior == other.ImportBehavior ||
                     ImportBehavior != null &&
                     ImportBehavior.Equals(other.ImportBehavior)
                 ) &&
                 (
                     PasswordHashAlgorithm == other.PasswordHashAlgorithm ||
                     PasswordHashAlgorithm != null &&
                     PasswordHashAlgorithm.Equals(other.PasswordHashAlgorithm)
                 ) &&
                 (
                     PasswordHashIterations == other.PasswordHashIterations ||
                     PasswordHashIterations != null &&
                     PasswordHashIterations.Equals(other.PasswordHashIterations)
                 ) &&
                 (
                     PasswordSaltSize == other.PasswordSaltSize ||
                     PasswordSaltSize != null &&
                     PasswordSaltSize.Equals(other.PasswordSaltSize)
                 ) &&
                 (
                     OmitAdminPw == other.OmitAdminPw ||
                     OmitAdminPw != null &&
                     OmitAdminPw.Equals(other.OmitAdminPw)
                 ) &&
                 (
                     SupportAutoSave == other.SupportAutoSave ||
                     SupportAutoSave != null &&
                     SupportAutoSave.Equals(other.SupportAutoSave)
                 ) &&
                 (
                     PasswordMaxAge == other.PasswordMaxAge ||
                     PasswordMaxAge != null &&
                     PasswordMaxAge.Equals(other.PasswordMaxAge)
                 ) &&
                 (
                     InitialPasswordChange == other.InitialPasswordChange ||
                     InitialPasswordChange != null &&
                     InitialPasswordChange.Equals(other.InitialPasswordChange)
                 ) &&
                 (
                     PasswordHistorySize == other.PasswordHistorySize ||
                     PasswordHistorySize != null &&
                     PasswordHistorySize.Equals(other.PasswordHistorySize)
                 ) &&
                 (
                     PasswordExpiryForAdmin == other.PasswordExpiryForAdmin ||
                     PasswordExpiryForAdmin != null &&
                     PasswordExpiryForAdmin.Equals(other.PasswordExpiryForAdmin)
                 ) &&
                 (
                     CacheExpiration == other.CacheExpiration ||
                     CacheExpiration != null &&
                     CacheExpiration.Equals(other.CacheExpiration)
                 ) &&
                 (
                     EnableRFC7613UsercaseMappedProfile == other.EnableRFC7613UsercaseMappedProfile ||
                     EnableRFC7613UsercaseMappedProfile != null &&
                     EnableRFC7613UsercaseMappedProfile.Equals(other.EnableRFC7613UsercaseMappedProfile)
                 ));
        }