public class JobResult extends HashMap<String,Object> implements Serializable
Result entries have various properties. There is no clear description thus let's use a generic Map Only the "id" of the object in Zendesk (Always a Long) seems to be always present. We define few others helpers.
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier and Type | Field and Description |
|---|---|
static String |
ACCOUNT_ID
The account ID
|
static String |
ACTION
the action the job attempted
|
static String |
DETAILS
The details about the error
|
static String |
EMAIL
The user email
|
static String |
ERROR
An error code
|
static String |
EXTERNAL_ID
The user external ID
|
static String |
ID
the id of the resource created or updated
|
static String |
INDEX
the index number of the result
|
static String |
STATUS
the status of the action
|
static String |
SUCCESS
whether the action was successful or not
|
| Constructor and Description |
|---|
JobResult() |
| Modifier and Type | Method and Description |
|---|---|
Long |
getAccountId() |
String |
getAction() |
String |
getDetails() |
String |
getEmail() |
String |
getError() |
String |
getExternalId() |
Long |
getId() |
Long |
getIndex() |
String |
getStatus() |
Boolean |
getSuccess() |
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesequals, hashCode, toStringpublic static final String ACCOUNT_ID
public static final String ACTION
public static final String DETAILS
public static final String EMAIL
public static final String ERROR
public static final String EXTERNAL_ID
public static final String ID
public static final String INDEX
public static final String STATUS
public static final String SUCCESS
public Long getAccountId()
public String getAction()
public String getDetails()
public String getEmail()
public String getError()
public String getExternalId()
public Long getId()
public Long getIndex()
public String getStatus()
public Boolean getSuccess()
Copyright © 2013–2020. All rights reserved.