/// <summary> /// Returns true if InitiateTradeModel1 instances are equal /// </summary> /// <param name="other">Instance of InitiateTradeModel1 to be compared</param> /// <returns>Boolean</returns> public bool Equals(InitiateTradeModel1 other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( InputCoinType == other.InputCoinType || InputCoinType != null && InputCoinType.Equals(other.InputCoinType) ) && ( OutputCoinType == other.OutputCoinType || OutputCoinType != null && OutputCoinType.Equals(other.OutputCoinType) ) && ( OutputAddress == other.OutputAddress || OutputAddress != null && OutputAddress.Equals(other.OutputAddress) ) && ( OutputMemo == other.OutputMemo || OutputMemo != null && OutputMemo.Equals(other.OutputMemo) ) && ( RefundAddress == other.RefundAddress || RefundAddress != null && RefundAddress.Equals(other.RefundAddress) ) && ( RefundMemo == other.RefundMemo || RefundMemo != null && RefundMemo.Equals(other.RefundMemo) ) && ( InputAddressType == other.InputAddressType || InputAddressType != null && InputAddressType.Equals(other.InputAddressType) ) && ( SessionToken == other.SessionToken || SessionToken != null && SessionToken.Equals(other.SessionToken) ) && ( AffiliateId == other.AffiliateId || AffiliateId != null && AffiliateId.Equals(other.AffiliateId) )); }