Package com.ngrok.definitions
Class HttpResponseBackendList
java.lang.Object
com.ngrok.definitions.HttpResponseBackendList
- All Implemented Interfaces:
Pageable
A class encapsulating the
HttpResponseBackendList
resource.-
Constructor Summary
ConstructorDescriptionHttpResponseBackendList
(List<HttpResponseBackend> backends, URI uri, Optional<URI> nextPageUri) Creates a new instance ofHttpResponseBackendList
. -
Method Summary
-
Constructor Details
-
HttpResponseBackendList
public HttpResponseBackendList(List<HttpResponseBackend> backends, URI uri, Optional<URI> nextPageUri) Creates a new instance ofHttpResponseBackendList
.- Parameters:
backends
- the value of thebackends
parameter as aList
ofHttpResponseBackend
uri
- the value of theuri
parameter as aURI
nextPageUri
- the value of thenext_page_uri
parameter as aURI
-
-
Method Details
-
getBackends
Fetches the value of thebackends
property.- Returns:
- the value of the property as a
List
ofHttpResponseBackend
-
getUri
Fetches the value of theuri
property.- Returns:
- the value of the property as a
URI
-
getNextPageUri
Fetches the value of thenextPageUri
property.- Specified by:
getNextPageUri
in interfacePageable
- Returns:
- the value of the property as a
URI
wrapped in anOptional
-
equals
-
hashCode
public int hashCode() -
toString
-