public class ApiKey extends Object implements ModelInterface
| Modifier and Type | Field and Description |
|---|---|
Date |
createdAt
Time which API Key was created
|
String |
description
User-supplied description of API key.
|
String |
descriptiveLabel
Unique label that describes this API key.
|
Date |
expiresAt
API Key expiration date
|
Long |
id
API Key ID
|
String |
key
API Key actual key string
|
Date |
lastUseAt
API Key last used - note this value is only updated once per 3 hour period, so the 'actual' time of last use may be up to 3 hours later than this timestamp.
|
String |
name
Internal name for the API Key.
|
String |
path
Folder path restriction for `office_integration` permission set API keys.
|
String |
permissionSet
Permissions for this API Key.
|
String |
platform
If this API key represents a Desktop app, what platform was it created on?
|
String |
url
URL for API host.
|
Long |
userId
User ID for the owner of this API Key.
|
| Constructor and Description |
|---|
ApiKey() |
ApiKey(HashMap<String,Object> parameters) |
ApiKey(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
| Modifier and Type | Method and Description |
|---|---|
static ListIterator<ApiKey> |
all() |
static ListIterator<ApiKey> |
all(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static ApiKey |
create(HashMap<String,Object> parameters)
Parameters:
user_id - int64 - User ID.
|
static ApiKey |
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 |
deleteCurrent(HashMap<String,Object> parameters) |
static void |
deleteCurrent(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 ApiKey |
find(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static ApiKey |
find(Long id,
HashMap<String,Object> parameters)
Parameters:
id (required) - int64 - Api Key ID.
|
static ApiKey |
find(Long id,
HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static ApiKey |
findCurrent(HashMap<String,Object> parameters) |
static ApiKey |
findCurrent(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static ApiKey |
get() |
static ApiKey |
get(Long id,
HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static ListIterator<ApiKey> |
list()
Parameters:
user_id - int64 - User ID.
|
static ListIterator<ApiKey> |
list(HashMap<String,Object> parameters) |
static ListIterator<ApiKey> |
list(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
void |
save() |
ApiKey |
update()
Parameters:
description - string - User-supplied description of API key.
|
static ApiKey |
update(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static ApiKey |
update(Long id,
HashMap<String,Object> parameters)
Parameters:
description - string - User-supplied description of API key.
|
static ApiKey |
update(Long id,
HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static ApiKey |
updateCurrent(HashMap<String,Object> parameters)
Parameters:
expires_at - string - API Key expiration date
name - string - Internal name for the API Key.
|
static ApiKey |
updateCurrent(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetOptionspublic Long id
public String descriptiveLabel
public String description
public Date createdAt
public Date expiresAt
public String key
public Date lastUseAt
public String name
public String permissionSet
public String platform
public String url
public Long userId
public String path
public ApiKey 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<ApiKey> list() throws RuntimeException
RuntimeExceptionpublic static ListIterator<ApiKey> list(HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static ListIterator<ApiKey> list(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static ListIterator<ApiKey> all() throws RuntimeException
RuntimeExceptionpublic static ListIterator<ApiKey> all(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static ApiKey findCurrent(HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static ApiKey findCurrent(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static ApiKey find(Long id, HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static ApiKey find(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static ApiKey find(Long id, HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static ApiKey get() throws RuntimeException
RuntimeExceptionpublic static ApiKey get(Long id, HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static ApiKey create(HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static ApiKey create(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static ApiKey updateCurrent(HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static ApiKey updateCurrent(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static ApiKey update(Long id, HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static ApiKey update(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static ApiKey update(Long id, HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static void deleteCurrent(HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static void deleteCurrent(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.