Class TlsEdgeList

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

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

    • TlsEdgeList

      public TlsEdgeList(List<TlsEdge> tlsEdges, URI uri, Optional<URI> nextPageUri)
      Creates a new instance of TlsEdgeList.
      Parameters:
      tlsEdges - the list of all TLS Edges on this account
      uri - URI of the TLS Edge list API resource
      nextPageUri - URI of the next page, or null if there is no next page
  • Method Details

    • getTlsEdges

      public List<TlsEdge> getTlsEdges()
      the list of all TLS Edges on this account
      Returns:
      the value of the property as a List of TlsEdge
    • getUri

      public URI getUri()
      URI of the TLS Edge 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