public override int GetHashCode() { int hash = 1; if (Id != 0) { hash ^= Id.GetHashCode(); } if (Name.Length != 0) { hash ^= Name.GetHashCode(); } hash ^= phoneNumbers_.GetHashCode(); if (CustomerType != global::GrpcGreeter.CustomerType.FirstLevel) { hash ^= CustomerType.GetHashCode(); } if (ModifiedTime != 0L) { hash ^= ModifiedTime.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public virtual int _GetUniqueIdentifier() { var hashCode = 399326290; hashCode = hashCode * -1521134295 + (Id?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (InvoiceNumber?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (Description?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (DateIssued?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (Amount?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (CustomerType?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (CumulativeBalance?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (TotalPrice?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (DescriptionTwo?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (Attribute?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (InvoiceAttachment?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (Status?.GetHashCode() ?? 0); return(hashCode); }