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

            return
                ((
                     MimeAllowEmpty == other.MimeAllowEmpty ||
                     MimeAllowEmpty != null &&
                     MimeAllowEmpty.Equals(other.MimeAllowEmpty)
                     ) &&
                 (
                     MimeAllowed == other.MimeAllowed ||
                     MimeAllowed != null &&
                     MimeAllowed.Equals(other.MimeAllowed)
                 ));
        }