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