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
ConstructorsConstructorDescriptionHttpResponseBackendList(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 thebackendsparameter as aListofHttpResponseBackenduri- the value of theuriparameter as aURInextPageUri- the value of thenext_page_uriparameter as aURI
-
-
Method Details
-
getBackends
Fetches the value of thebackendsproperty.- Returns:
- the value of the property as a
ListofHttpResponseBackend
-
getUri
Fetches the value of theuriproperty.- Returns:
- the value of the property as a
URI
-
getNextPageUri
Fetches the value of thenextPageUriproperty.- Specified by:
getNextPageUriin interfacePageable- Returns:
- the value of the property as a
URIwrapped in anOptional
-
equals
-
hashCode
public int hashCode() -
toString
-