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

            return
                ((
                     TcpPort == other.TcpPort ||
                     TcpPort != null &&
                     TcpPort.Equals(other.TcpPort)
                     ) &&
                 (
                     AllowRemoteAccess == other.AllowRemoteAccess ||
                     AllowRemoteAccess != null &&
                     AllowRemoteAccess.Equals(other.AllowRemoteAccess)
                 ) &&
                 (
                     MaxRenderRgnPixels == other.MaxRenderRgnPixels ||
                     MaxRenderRgnPixels != null &&
                     MaxRenderRgnPixels.Equals(other.MaxRenderRgnPixels)
                 ) &&
                 (
                     MaxMessageSize == other.MaxMessageSize ||
                     MaxMessageSize != null &&
                     MaxMessageSize.Equals(other.MaxMessageSize)
                 ) &&
                 (
                     RandomAccessUrlTimeout == other.RandomAccessUrlTimeout ||
                     RandomAccessUrlTimeout != null &&
                     RandomAccessUrlTimeout.Equals(other.RandomAccessUrlTimeout)
                 ) &&
                 (
                     WorkerThreads == other.WorkerThreads ||
                     WorkerThreads != null &&
                     WorkerThreads.Equals(other.WorkerThreads)
                 ));
        }