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

            return
                ((
                     OauthIssuer == other.OauthIssuer ||
                     OauthIssuer != null &&
                     OauthIssuer.Equals(other.OauthIssuer)
                     ) &&
                 (
                     OauthAccessTokenExpiresIn == other.OauthAccessTokenExpiresIn ||
                     OauthAccessTokenExpiresIn != null &&
                     OauthAccessTokenExpiresIn.Equals(other.OauthAccessTokenExpiresIn)
                 ) &&
                 (
                     OsgiHttpWhiteboardServletPattern == other.OsgiHttpWhiteboardServletPattern ||
                     OsgiHttpWhiteboardServletPattern != null &&
                     OsgiHttpWhiteboardServletPattern.Equals(other.OsgiHttpWhiteboardServletPattern)
                 ) &&
                 (
                     OsgiHttpWhiteboardContextSelect == other.OsgiHttpWhiteboardContextSelect ||
                     OsgiHttpWhiteboardContextSelect != null &&
                     OsgiHttpWhiteboardContextSelect.Equals(other.OsgiHttpWhiteboardContextSelect)
                 ));
        }