Package com.ngrok.definitions
Class ReservedAddrList
java.lang.Object
com.ngrok.definitions.ReservedAddrList
- All Implemented Interfaces:
Pageable
A class encapsulating the
ReservedAddrList resource.-
Constructor Summary
ConstructorsConstructorDescriptionReservedAddrList(List<ReservedAddr> reservedAddrs, URI uri, Optional<URI> nextPageUri) Creates a new instance ofReservedAddrList. -
Method Summary
-
Constructor Details
-
ReservedAddrList
Creates a new instance ofReservedAddrList.- Parameters:
reservedAddrs- the list of all reserved addresses on this accounturi- URI of the reserved address list API resourcenextPageUri- URI of the next page, or null if there is no next page
-
-
Method Details
-
getReservedAddrs
the list of all reserved addresses on this account- Returns:
- the value of the property as a
ListofReservedAddr
-
getUri
URI of the reserved address 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
-