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
-
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:
getNextPageUri
in interfacePageable
- Returns:
- the value of the property as a
URI
wrapped in anOptional
-
equals
-
hashCode
public int hashCode() -
toString
-