/// <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 (Path != null)
         {
             hashCode = hashCode * 59 + Path.GetHashCode();
         }
         if (OauthClientIdsAllowed != null)
         {
             hashCode = hashCode * 59 + OauthClientIdsAllowed.GetHashCode();
         }
         if (AuthBearerSyncIms != null)
         {
             hashCode = hashCode * 59 + AuthBearerSyncIms.GetHashCode();
         }
         if (AuthTokenRequestParameter != null)
         {
             hashCode = hashCode * 59 + AuthTokenRequestParameter.GetHashCode();
         }
         if (OauthBearerConfigid != null)
         {
             hashCode = hashCode * 59 + OauthBearerConfigid.GetHashCode();
         }
         if (OauthJwtSupport != null)
         {
             hashCode = hashCode * 59 + OauthJwtSupport.GetHashCode();
         }
         return(hashCode);
     }
 }
        /// <summary>
        /// Returns true if ComAdobeGraniteAuthOauthImplBearerAuthenticationHandlerProperties instances are equal
        /// </summary>
        /// <param name="other">Instance of ComAdobeGraniteAuthOauthImplBearerAuthenticationHandlerProperties to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(ComAdobeGraniteAuthOauthImplBearerAuthenticationHandlerProperties other)
        {
            if (other is null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     Path == other.Path ||
                     Path != null &&
                     Path.Equals(other.Path)
                     ) &&
                 (
                     OauthClientIdsAllowed == other.OauthClientIdsAllowed ||
                     OauthClientIdsAllowed != null &&
                     OauthClientIdsAllowed.Equals(other.OauthClientIdsAllowed)
                 ) &&
                 (
                     AuthBearerSyncIms == other.AuthBearerSyncIms ||
                     AuthBearerSyncIms != null &&
                     AuthBearerSyncIms.Equals(other.AuthBearerSyncIms)
                 ) &&
                 (
                     AuthTokenRequestParameter == other.AuthTokenRequestParameter ||
                     AuthTokenRequestParameter != null &&
                     AuthTokenRequestParameter.Equals(other.AuthTokenRequestParameter)
                 ) &&
                 (
                     OauthBearerConfigid == other.OauthBearerConfigid ||
                     OauthBearerConfigid != null &&
                     OauthBearerConfigid.Equals(other.OauthBearerConfigid)
                 ) &&
                 (
                     OauthJwtSupport == other.OauthJwtSupport ||
                     OauthJwtSupport != null &&
                     OauthJwtSupport.Equals(other.OauthJwtSupport)
                 ));
        }