public bool Equals(TopUpRequestBody other) { if (other == null) { return(false); } return(AuthenticationData.Equals(other.AuthenticationData) && DeviceType.Equals(other.DeviceType) && Amount == other.Amount && String.Equals(ExternalTransactionReference, other.ExternalTransactionReference) && String.Equals(MNO, other.MNO) && String.Equals(Recipient, other.Recipient)); }
/// <summary> /// True iff the given extension header is equal to this extension header. /// </summary> public bool Equals(IpV6ExtensionHeaderAuthentication other) { return(other != null && NextHeader == other.NextHeader && SecurityParametersIndex == other.SecurityParametersIndex && SequenceNumber == other.SequenceNumber && AuthenticationData.Equals(other.AuthenticationData)); }
private bool EqualsData(IpV6MobilityOptionAuthentication other) { return(other != null && Subtype == other.Subtype && MobilitySecurityParameterIndex == other.MobilitySecurityParameterIndex && AuthenticationData.Equals(other.AuthenticationData)); }