/// <summary>
        /// Returns true if PdfAnnotateParameters instances are equal
        /// </summary>
        /// <param name="input">Instance of PdfAnnotateParameters to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(PdfAnnotateParameters 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))
                 ) &&
                 (
                     AnnotationType == input.AnnotationType ||
                     AnnotationType.Equals(input.AnnotationType)
                 ) &&
                 (
                     StickyNoteAnnotationParameters == input.StickyNoteAnnotationParameters ||
                     (StickyNoteAnnotationParameters != null &&
                      StickyNoteAnnotationParameters.Equals(input.StickyNoteAnnotationParameters))
                 ) &&
                 (
                     LinkAnnotationParameters == input.LinkAnnotationParameters ||
                     (LinkAnnotationParameters != null &&
                      LinkAnnotationParameters.Equals(input.LinkAnnotationParameters))
                 ) &&
                 (
                     FreeTextAnnotationParameters == input.FreeTextAnnotationParameters ||
                     (FreeTextAnnotationParameters != null &&
                      FreeTextAnnotationParameters.Equals(input.FreeTextAnnotationParameters))
                 ) &&
                 (
                     LineAnnotationParameters == input.LineAnnotationParameters ||
                     (LineAnnotationParameters != null &&
                      LineAnnotationParameters.Equals(input.LineAnnotationParameters))
                 ) &&
                 (
                     SquareAndCircleAnnotationParameters == input.SquareAndCircleAnnotationParameters ||
                     (SquareAndCircleAnnotationParameters != null &&
                      SquareAndCircleAnnotationParameters.Equals(input.SquareAndCircleAnnotationParameters))
                 ) &&
                 (
                     RubberStampAnnotationParameters == input.RubberStampAnnotationParameters ||
                     (RubberStampAnnotationParameters != null &&
                      RubberStampAnnotationParameters.Equals(input.RubberStampAnnotationParameters))
                 ));
        }
 /// <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 + AnnotationType.GetHashCode();
         if (StickyNoteAnnotationParameters != null)
         {
             hashCode = hashCode * 59 + StickyNoteAnnotationParameters.GetHashCode();
         }
         if (LinkAnnotationParameters != null)
         {
             hashCode = hashCode * 59 + LinkAnnotationParameters.GetHashCode();
         }
         if (FreeTextAnnotationParameters != null)
         {
             hashCode = hashCode * 59 + FreeTextAnnotationParameters.GetHashCode();
         }
         if (LineAnnotationParameters != null)
         {
             hashCode = hashCode * 59 + LineAnnotationParameters.GetHashCode();
         }
         if (SquareAndCircleAnnotationParameters != null)
         {
             hashCode = hashCode * 59 + SquareAndCircleAnnotationParameters.GetHashCode();
         }
         if (RubberStampAnnotationParameters != null)
         {
             hashCode = hashCode * 59 + RubberStampAnnotationParameters.GetHashCode();
         }
         return(hashCode);
     }
 }