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