Package com.ngrok.definitions
Class CredentialList
java.lang.Object
com.ngrok.definitions.CredentialList
- All Implemented Interfaces:
Pageable
A class encapsulating the
CredentialList
resource.-
Constructor Summary
ConstructorDescriptionCredentialList
(List<Credential> credentials, URI uri, Optional<URI> nextPageUri) Creates a new instance ofCredentialList
. -
Method Summary
-
Constructor Details
-
CredentialList
Creates a new instance ofCredentialList
.- Parameters:
credentials
- the list of all tunnel credentials on this accounturi
- URI of the tunnel credential list API resourcenextPageUri
- URI of the next page, or null if there is no next page
-
-
Method Details
-
getCredentials
the list of all tunnel credentials on this account- Returns:
- the value of the property as a
List
ofCredential
-
getUri
URI of the tunnel credential 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
-