class PagingResult {

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        PagingResult<?> result1 = (PagingResult<?>) o;
        return getResult().equals(result1.getResult()) &&
                Objects.equals(getPaging(), result1.getPaging()) &&
                Objects.equals(getPagingLinkObjects(), result1.getPagingLinkObjects());
    }

    public  PagingResult(Collection<? extends T> result, Paging paging, PagingLinkObjects pagingLinkObjects);

}