Package com.ngrok.definitions
Class IpPolicyRuleList
java.lang.Object
com.ngrok.definitions.IpPolicyRuleList
- All Implemented Interfaces:
Pageable
A class encapsulating the
IpPolicyRuleList
resource.-
Constructor Summary
ConstructorDescriptionIpPolicyRuleList
(List<IpPolicyRule> ipPolicyRules, URI uri, Optional<URI> nextPageUri) Creates a new instance ofIpPolicyRuleList
. -
Method Summary
-
Constructor Details
-
IpPolicyRuleList
Creates a new instance ofIpPolicyRuleList
.- Parameters:
ipPolicyRules
- the list of all IP policy rules on this accounturi
- URI of the IP policy rule list API resourcenextPageUri
- URI of the next page, or null if there is no next page
-
-
Method Details
-
getIpPolicyRules
the list of all IP policy rules on this account- Returns:
- the value of the property as a
List
ofIpPolicyRule
-
getUri
URI of the IP policy rule 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
-