public class PublicKey extends Object implements ModelInterface
| Modifier and Type | Field and Description |
|---|---|
Date |
createdAt
Public key created at date/time
|
String |
fingerprint
Public key fingerprint (MD5)
|
String |
fingerprintSha256
Public key fingerprint (SHA256)
|
Long |
id
Public key ID
|
String |
publicKey
Actual contents of SSH key.
|
String |
title
Public key title
|
Long |
userId
User ID this public key is associated with
|
String |
username
Username of the user this public key is associated with
|
| Constructor and Description |
|---|
PublicKey() |
PublicKey(HashMap<String,Object> parameters) |
PublicKey(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
| Modifier and Type | Method and Description |
|---|---|
static ListIterator<PublicKey> |
all() |
static ListIterator<PublicKey> |
all(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static PublicKey |
create(HashMap<String,Object> parameters)
Parameters:
user_id - int64 - User ID.
|
static PublicKey |
create(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
void |
delete() |
static void |
delete(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static void |
delete(Long id,
HashMap<String,Object> parameters) |
static void |
delete(Long id,
HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static void |
destroy() |
void |
destroy(HashMap<String,Object> parameters) |
static void |
destroy(Long id,
HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static PublicKey |
find(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static PublicKey |
find(Long id,
HashMap<String,Object> parameters)
Parameters:
id (required) - int64 - Public Key ID.
|
static PublicKey |
find(Long id,
HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static PublicKey |
get() |
static PublicKey |
get(Long id,
HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static ListIterator<PublicKey> |
list()
Parameters:
user_id - int64 - User ID.
|
static ListIterator<PublicKey> |
list(HashMap<String,Object> parameters) |
static ListIterator<PublicKey> |
list(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
void |
save() |
PublicKey |
update()
Parameters:
title (required) - string - Internal reference for key.
|
static PublicKey |
update(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static PublicKey |
update(Long id,
HashMap<String,Object> parameters)
Parameters:
title (required) - string - Internal reference for key.
|
static PublicKey |
update(Long id,
HashMap<String,Object> parameters,
HashMap<String,Object> options) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetOptionspublic Long id
public String title
public Date createdAt
public String fingerprint
public String fingerprintSha256
public String username
public Long userId
public String publicKey
public PublicKey update() throws IOException
IOExceptionpublic void delete()
throws IOException
IOExceptionpublic void destroy(HashMap<String,Object> parameters) throws IOException
IOExceptionpublic void save()
throws IOException
IOExceptionpublic static ListIterator<PublicKey> list() throws RuntimeException
RuntimeExceptionpublic static ListIterator<PublicKey> list(HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static ListIterator<PublicKey> list(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static ListIterator<PublicKey> all() throws RuntimeException
RuntimeExceptionpublic static ListIterator<PublicKey> all(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static PublicKey find(Long id, HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static PublicKey find(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static PublicKey find(Long id, HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static PublicKey get() throws RuntimeException
RuntimeExceptionpublic static PublicKey get(Long id, HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static PublicKey create(HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static PublicKey create(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static PublicKey update(Long id, HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static PublicKey update(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static PublicKey update(Long id, HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static void delete(Long id, HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static void delete(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static void delete(Long id, HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static void destroy()
throws RuntimeException
RuntimeExceptionpublic static void destroy(Long id, HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionCopyright © 2024 com.github.files-com. All rights reserved.