@@ -0,0 +1,1260 @@
+/*%0A    Java Libraries https://github.com/foilen/java-libraries%0A    Copyright (c) 2015-2019 Foilen (http://foilen.com)%0A%0A    The MIT License%0A    http://opensource.org/licenses/MIT%0A%0A */%0Apackage com.foilen.smalltools.restapi.model;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.List;%0A%0A/**%0A * To provide a list of items and pagination. You need to extends to enable deserialization on the client side.%0A *%0A * %3Cpre%3E%0A * Dependencies:%0A * compile 'org.apache.commons:commons-lang3:3.6'%0A * compile 'com.fasterxml.jackson.core:jackson-databind:2.9.1'%0A * compile 'org.slf4j:slf4j-api:1.7.25'%0A * %3C/pre%3E%0A *%0A * @param %3CT%3E%0A *            the type of the returned items%0A */%0Apublic abstract class AbstractListResultWithPagination%3CT%3E extends AbstractApiBaseWithError %7B%0A%0A    private ApiPagination pagination;%0A%0A    private List%3CT%3E items = new ArrayList%3C%3E();%0A%0A    public List%3CT%3E getItems() %7B%0A        return items;%0A    %7D%0A%0A    public ApiPagination getPagination() %7B%0A        return pagination;%0A    %7D%0A%0A    public AbstractListResultWithPagination%3CT%3E setItems(List%3CT%3E items) %7B%0A        this.items = items;%0A        return this;%0A    %7D%0A%0A    public AbstractListResultWithPagination%3CT%3E setPagination(ApiPagination pagination) %7B%0A        this.pagination = pagination;%0A        return this;%0A    %7D%0A%0A%7D%0A

Create AbstractListResultWithPagination