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

            return
                ((
                     JaasDefaultRealmName == other.JaasDefaultRealmName ||
                     JaasDefaultRealmName != null &&
                     JaasDefaultRealmName.Equals(other.JaasDefaultRealmName)
                     ) &&
                 (
                     JaasConfigProviderName == other.JaasConfigProviderName ||
                     JaasConfigProviderName != null &&
                     JaasConfigProviderName.Equals(other.JaasConfigProviderName)
                 ) &&
                 (
                     JaasGlobalConfigPolicy == other.JaasGlobalConfigPolicy ||
                     JaasGlobalConfigPolicy != null &&
                     JaasGlobalConfigPolicy.Equals(other.JaasGlobalConfigPolicy)
                 ));
        }
 /// <summary>
 /// Gets the hash code
 /// </summary>
 /// <returns>Hash code</returns>
 public override int GetHashCode()
 {
     unchecked // Overflow is fine, just wrap
     {
         var hashCode = 41;
         // Suitable nullity checks etc, of course :)
         if (JaasDefaultRealmName != null)
         {
             hashCode = hashCode * 59 + JaasDefaultRealmName.GetHashCode();
         }
         if (JaasConfigProviderName != null)
         {
             hashCode = hashCode * 59 + JaasConfigProviderName.GetHashCode();
         }
         if (JaasGlobalConfigPolicy != null)
         {
             hashCode = hashCode * 59 + JaasGlobalConfigPolicy.GetHashCode();
         }
         return(hashCode);
     }
 }