class Paging implements ImmutableBean {

  public static Paging of(final PagingRequest pagingRequest, final int totalItems) {
    return new Paging(pagingRequest, totalItems);
  }

  @ImmutableConstructor private  Paging(final PagingRequest pagingRequest, final int totalItems);

}