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

            return
                ((
                     Name == other.Name ||
                     Name != null &&
                     Name.Equals(other.Name)
                     ) &&
                 (
                     Path == other.Path ||
                     Path != null &&
                     Path.Equals(other.Path)
                 ) &&
                 (
                     IgnoredPathsPatterns == other.IgnoredPathsPatterns ||
                     IgnoredPathsPatterns != null &&
                     IgnoredPathsPatterns.Equals(other.IgnoredPathsPatterns)
                 ) &&
                 (
                     ServiceName == other.ServiceName ||
                     ServiceName != null &&
                     ServiceName.Equals(other.ServiceName)
                 ) &&
                 (
                     Deep == other.Deep ||
                     Deep != null &&
                     Deep.Equals(other.Deep)
                 ));
        }