public class TaskDto extends SingleResourceTransportDto
| Modifier and Type | Field and Description |
|---|---|
static String |
MEDIA_TYPE |
static String |
MEDIA_TYPE_JSON |
static String |
MEDIA_TYPE_XML |
static String |
SHORT_MEDIA_TYPE_JSON |
static String |
SHORT_MEDIA_TYPE_XML |
API_VERSION, API_VERSION_20, API_VERSION_22, API_VERSION_23, API_VERSION_24, API_VERSION_26, API_VERSION_27, API_VERSION_28, API_VERSION_29, APPLICATION, editLink, JSON, links, VERSION_PARAM, XML| Constructor and Description |
|---|
TaskDto() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBaseMediaType() |
Long |
getCreationTimestamp()
Creation timestamp in standard UNIX timestamp
|
JobsDto |
getJobs()
Jobs collection of the task
|
String |
getMediaType() |
String |
getOwnerId()
Identifier of the task owner
|
TaskState |
getState()
Current state of the task
|
String |
getTaskId()
Identifier of the task
|
long |
getTimestamp()
Timestamp of the last update on the task in standard UNIX timestamp
|
TaskType |
getType()
Type of the task
|
String |
getUserId()
Identifier of the user who created the task
|
void |
setCreationTimestamp(Long creationTimestamp) |
void |
setJobs(JobsDto jobs) |
void |
setOwnerId(String ownerId) |
void |
setState(TaskState state) |
void |
setTaskId(String taskId) |
void |
setTimestamp(long timestamp) |
void |
setType(TaskType type) |
void |
setUserId(String userId) |
addEditLink, addLink, addLinks, getEditLink, getIdFromLink, getLinks, modifyLink, searchLink, searchLink, searchLinkByHref, searchLinks, setLinkspublic static final String MEDIA_TYPE
public static final String SHORT_MEDIA_TYPE_JSON
public static final String SHORT_MEDIA_TYPE_XML
public static final String MEDIA_TYPE_XML
public static final String MEDIA_TYPE_JSON
@NotNull public Long getCreationTimestamp()
public JobsDto getJobs()
@NotNull public String getOwnerId()
@NotNull public TaskState getState()
@NotNull public String getTaskId()
@NotNull public long getTimestamp()
@NotNull public TaskType getType()
public String getUserId()
public void setCreationTimestamp(Long creationTimestamp)
public void setJobs(JobsDto jobs)
public void setOwnerId(String ownerId)
public void setState(TaskState state)
public void setTaskId(String taskId)
public void setTimestamp(long timestamp)
public void setType(TaskType type)
public void setUserId(String userId)
public String getBaseMediaType()
getBaseMediaType in class SingleResourceTransportDtopublic String getMediaType()
getMediaType in class SingleResourceTransportDtoCopyright © 2008-2014 Abiquo Holdings S.L.. All Rights Reserved.