public override int GetHashCode()
        {
            int hash = 1;

            if (Id.Length != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (MessageType.Length != 0)
            {
                hash ^= MessageType.GetHashCode();
            }
            if (MessageSubtype.Length != 0)
            {
                hash ^= MessageSubtype.GetHashCode();
            }
            if (IsText != false)
            {
                hash ^= IsText.GetHashCode();
            }
            if (TextContent.Length != 0)
            {
                hash ^= TextContent.GetHashCode();
            }
            if (BytesContent.Length != 0)
            {
                hash ^= BytesContent.GetHashCode();
            }
            if (ContentStampTime.Length != 0)
            {
                hash ^= ContentStampTime.GetHashCode();
            }
            if (CreateTime.Length != 0)
            {
                hash ^= CreateTime.GetHashCode();
            }
            if (RoutingKey.Length != 0)
            {
                hash ^= RoutingKey.GetHashCode();
            }
            return(hash);
        }