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