Class AgentIngressList

java.lang.Object
com.ngrok.definitions.AgentIngressList
All Implemented Interfaces:
Pageable

public class AgentIngressList extends Object implements Pageable
A class encapsulating the AgentIngressList resource.
  • Constructor Details

    • AgentIngressList

      public AgentIngressList(List<AgentIngress> ingresses, URI uri, Optional<URI> nextPageUri)
      Creates a new instance of AgentIngressList.
      Parameters:
      ingresses - the list of Agent Ingresses owned by this account
      uri - URI of the Agent Ingress list API resource
      nextPageUri - URI of the next page, or null if there is no next page
  • Method Details

    • getIngresses

      public List<AgentIngress> getIngresses()
      the list of Agent Ingresses owned by this account
      Returns:
      the value of the property as a List of AgentIngress
    • getUri

      public URI getUri()
      URI of the Agent Ingress list API resource
      Returns:
      the value of the property as a URI
    • getNextPageUri

      public Optional<URI> getNextPageUri()
      URI of the next page, or null if there is no next page
      Specified by:
      getNextPageUri in interface Pageable
      Returns:
      the value of the property as a URI wrapped in an Optional
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object