@Generated(value="org.immutables.processor.ProxyProcessor") public final class Pagination extends Object
| 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.
Pagination.builder()
.first(org.cloudfoundry.client.v3.Link | null) // nullable first
.last(org.cloudfoundry.client.v3.Link | null) // nullable last
.next(org.cloudfoundry.client.v3.Link | null) // nullable next
.previous(org.cloudfoundry.client.v3.Link | null) // nullable previous
.totalPages(Integer | null) // nullable totalPages
.totalResults(Integer | null) // nullable totalResults
.build();
Copyright © 2020. All rights reserved.