Package com.ngrok.definitions
Class TunnelGroupBackendList
java.lang.Object
com.ngrok.definitions.TunnelGroupBackendList
- All Implemented Interfaces:
Pageable
A class encapsulating the
TunnelGroupBackendList resource.-
Constructor Summary
ConstructorsConstructorDescriptionTunnelGroupBackendList(List<TunnelGroupBackend> backends, URI uri, Optional<URI> nextPageUri) Creates a new instance ofTunnelGroupBackendList. -
Method Summary
-
Constructor Details
-
TunnelGroupBackendList
public TunnelGroupBackendList(List<TunnelGroupBackend> backends, URI uri, Optional<URI> nextPageUri) Creates a new instance ofTunnelGroupBackendList.- Parameters:
backends- the list of all TunnelGroup backends on this accounturi- URI of the TunnelGroup backends list API resourcenextPageUri- URI of the next page, or null if there is no next page
-
-
Method Details
-
getBackends
the list of all TunnelGroup backends on this account- Returns:
- the value of the property as a
ListofTunnelGroupBackend
-
getUri
URI of the TunnelGroup backends list API resource- Returns:
- the value of the property as a
URI
-
getNextPageUri
URI of the next page, or null if there is no next page- Specified by:
getNextPageUriin interfacePageable- Returns:
- the value of the property as a
URIwrapped in anOptional
-
equals
-
hashCode
public int hashCode() -
toString
-