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