Package com.ngrok.definitions
Class IpWhitelistEntryList
java.lang.Object
com.ngrok.definitions.IpWhitelistEntryList
- All Implemented Interfaces:
Pageable
A class encapsulating the
IpWhitelistEntryList resource.-
Constructor Summary
ConstructorsConstructorDescriptionIpWhitelistEntryList(List<IpWhitelistEntry> whitelist, URI uri, Optional<URI> nextPageUri)Creates a new instance ofIpWhitelistEntryList. -
Method Summary
-
Constructor Details
-
IpWhitelistEntryList
Creates a new instance ofIpWhitelistEntryList.- Parameters:
whitelist- the list of all IP whitelist entries on this accounturi- URI of the IP whitelist API resourcenextPageUri- URI of the next page, or null if there is no next page
-
-
Method Details
-
getWhitelist
the list of all IP whitelist entries on this account- Returns:
- the value of the property as a
List<IpWhitelistEntry>
-
getUri
URI of the IP whitelist 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
-