@Generated(value={"Immutables.generator","_Pagination"}) public final class Pagination extends Object
_Pagination.
Use the builder to create immutable instances:
Pagination.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
Pagination.Builder
Builds instances of type
Pagination. |
| Modifier and Type | Method and Description |
|---|---|
static Pagination.Builder |
builder()
Creates a builder for
Pagination. |
boolean |
equals(Object another)
This instance is equal to all instances of
Pagination that have equal attribute values. |
Link |
getFirst()
The first
|
Link |
getLast()
The last
|
Link |
getNext()
The next
|
Link |
getPrevious()
The previous
|
Integer |
getTotalPages()
The total pages
|
Integer |
getTotalResults()
The total results
|
int |
hashCode()
Computes a hash code from attributes:
first, last, next, previous, totalPages, totalResults. |
String |
toString()
Prints the immutable value
Pagination with attribute values. |
public Link getFirst()
public Link getLast()
public Link getNext()
public Link getPrevious()
public Integer getTotalPages()
public Integer getTotalResults()
public boolean equals(Object another)
Pagination that have equal attribute values.public int hashCode()
first, last, next, previous, totalPages, totalResults.public String toString()
Pagination with attribute values.public static Pagination.Builder builder()
Pagination.Copyright © 2017 Pivotal Software, Inc.. All rights reserved.