Class EndpointConfigurationList

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

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

    • EndpointConfigurationList

      public EndpointConfigurationList(List<EndpointConfiguration> endpointConfigurations, URI uri, Optional<URI> nextPageUri)
      Creates a new instance of EndpointConfigurationList.
      Parameters:
      endpointConfigurations - the list of all endpoint configurations on this account
      uri - URI of the endpoint configurations list API resource
      nextPageUri - URI of the next page, or null if there is no next page
  • Method Details

    • getEndpointConfigurations

      public List<EndpointConfiguration> getEndpointConfigurations()
      the list of all endpoint configurations on this account
      Returns:
      the value of the property as a List<EndpointConfiguration>
    • getUri

      public URI getUri()
      URI of the endpoint configurations 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