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