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