public override int GetHashCode() { int hashcode = 157; unchecked { if (__isset.squareChatMid) { hashcode = (hashcode * 397) + SquareChatMid.GetHashCode(); } if (__isset.squareMessage) { hashcode = (hashcode * 397) + SquareMessage.GetHashCode(); } if (__isset.senderDisplayName) { hashcode = (hashcode * 397) + SenderDisplayName.GetHashCode(); } if (__isset.unreadCount) { hashcode = (hashcode * 397) + UnreadCount.GetHashCode(); } if (__isset.requiredToFetchChatEvents) { hashcode = (hashcode * 397) + RequiredToFetchChatEvents.GetHashCode(); } } return(hashcode); }
public override int GetHashCode() { return(Tenant.GetHashCode() ^ User.GetHashCode() ^ Id.GetHashCode() ^ ParentId.GetHashCode() ^ Name.GetHashCode() ^ FolderCount.GetHashCode() ^ UnreadCount.GetHashCode() ^ TotalCount.GetHashCode() ^ UnreadChainCount.GetHashCode() ^ TotalChainCount.GetHashCode()); }
public override int GetHashCode() { int hashcode = 157; unchecked { if (__isset.id) { hashcode = (hashcode * 397) + Id.GetHashCode(); } if (__isset.channelId) { hashcode = (hashcode * 397) + ChannelId.GetHashCode(); } if (__isset.lastSeq) { hashcode = (hashcode * 397) + LastSeq.GetHashCode(); } if (__isset.unreadCount) { hashcode = (hashcode * 397) + UnreadCount.GetHashCode(); } if (__isset.lastModifiedTime) { hashcode = (hashcode * 397) + LastModifiedTime.GetHashCode(); } if (__isset.status) { hashcode = (hashcode * 397) + Status.GetHashCode(); } if (__isset.midType) { hashcode = (hashcode * 397) + MidType.GetHashCode(); } if (__isset.lastMessages) { hashcode = (hashcode * 397) + TCollections.GetHashCode(LastMessages); } } return(hashcode); }