code: public <V> Resources<V> transform(Function<T, V> fn) {
          return new Resources<>(
                  resources.stream().map(fn).collect(Collectors.toList()),
                  get_self(),
                  pagination,
                  Object.class
          ).withLinks(getLinks());
      }
docs: Creates a new <code>Resources</code> object by transforming the elements in the underlying collection.
  The links and the pagination are kept but not the view type.