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

            return
                ((
                     CqDamAllowAllMime == other.CqDamAllowAllMime ||
                     CqDamAllowAllMime != null &&
                     CqDamAllowAllMime.Equals(other.CqDamAllowAllMime)
                     ) &&
                 (
                     CqDamAllowedAssetMimes == other.CqDamAllowedAssetMimes ||
                     CqDamAllowedAssetMimes != null &&
                     CqDamAllowedAssetMimes.Equals(other.CqDamAllowedAssetMimes)
                 ));
        }