code: public User withMetadata(final List<Meta> metadata) {
        return new User(id, username, displayName, slug, email, createTimestamp, url, metadata);
     }
docs: Creates a user with added metadata.
  @param metadata The metadata.
  @return The user with metadata added.