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

            return
                ((
                     FileId == input.FileId ||
                     (FileId != null &&
                      FileId.Equals(input.FileId))
                     ) &&
                 (
                     PageRange == input.PageRange ||
                     (PageRange != null &&
                      PageRange.Equals(input.PageRange))
                 ) &&
                 (
                     MaxAngleOfResearch == input.MaxAngleOfResearch ||
                     MaxAngleOfResearch.Equals(input.MaxAngleOfResearch)
                 ) &&
                 (
                     Optimistic == input.Optimistic ||
                     Optimistic.Equals(input.Optimistic)
                 ));
        }
 /// <summary>
 /// Gets the hash code
 /// </summary>
 /// <returns>Hash code</returns>
 public override int GetHashCode()
 {
     unchecked // Overflow is fine, just wrap
     {
         int hashCode = 41;
         if (FileId != null)
         {
             hashCode = hashCode * 59 + FileId.GetHashCode();
         }
         if (PageRange != null)
         {
             hashCode = hashCode * 59 + PageRange.GetHashCode();
         }
         hashCode = hashCode * 59 + MaxAngleOfResearch.GetHashCode();
         hashCode = hashCode * 59 + Optimistic.GetHashCode();
         return(hashCode);
     }
 }