Class ApiKeyList

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

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

    • ApiKeyList

      public ApiKeyList(List<ApiKey> keys, URI uri, Optional<URI> nextPageUri)
      Creates a new instance of ApiKeyList.
      Parameters:
      keys - the list of API keys for this account
      uri - URI of the API keys list API resource
      nextPageUri - URI of the next page, or null if there is no next page
  • Method Details

    • getKeys

      public List<ApiKey> getKeys()
      the list of API keys for this account
      Returns:
      the value of the property as a List of ApiKey
    • getUri

      public URI getUri()
      URI of the API keys 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