Package com.ngrok.definitions
Class TunnelList
java.lang.Object
com.ngrok.definitions.TunnelList
- All Implemented Interfaces:
Pageable
A class encapsulating the
TunnelList resource.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TunnelList
Creates a new instance ofTunnelList.- Parameters:
tunnels- the list of all online tunnels on this accounturi- URI of the tunnels list API resourcenextPageUri- URI of the next page, or null if there is no next page
-
-
Method Details
-
getTunnels
the list of all online tunnels on this account -
getUri
URI of the tunnels 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
-