Package com.ngrok.definitions
Class AgentIngressList
java.lang.Object
com.ngrok.definitions.AgentIngressList
- All Implemented Interfaces:
Pageable
A class encapsulating the
AgentIngressList
resource.-
Constructor Summary
ConstructorDescriptionAgentIngressList
(List<AgentIngress> ingresses, URI uri, Optional<URI> nextPageUri) Creates a new instance ofAgentIngressList
. -
Method Summary
-
Constructor Details
-
AgentIngressList
Creates a new instance ofAgentIngressList
.- Parameters:
ingresses
- the list of Agent Ingresses owned by this accounturi
- URI of the Agent Ingress list API resourcenextPageUri
- URI of the next page, or null if there is no next page
-
-
Method Details
-
getIngresses
the list of Agent Ingresses owned by this account- Returns:
- the value of the property as a
List
ofAgentIngress
-
getUri
URI of the Agent Ingress 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
-