public class JobDto 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 |
|---|
JobDto() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBaseMediaType() |
Long |
getCreationTimestamp()
Creation timestamp in standard UNIX timestamp
|
String |
getDescription()
Description of the job
|
String |
getId()
Identifier of the job
|
String |
getMediaType() |
String |
getParentTaskId()
Identifier of the parent task
|
JobState |
getRollbackState()
Current rollback state of the job
|
JobState |
getState()
Current state of the job
|
Long |
getTimestamp()
Timestamp of the last update on the job in standard UNIX timestamp
|
JobType |
getType()
Type of the job
|
void |
setCreationTimestamp(Long creationTimestamp) |
void |
setDescription(String description) |
void |
setId(String id) |
void |
setParentTaskId(String parentTaskId) |
void |
setRollbackState(JobState rollbackState) |
void |
setState(JobState state) |
void |
setTimestamp(Long timestamp) |
void |
setType(JobType type) |
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()
@NotNull public Long getTimestamp()
@NotNull public String getId()
@NotNull public JobType getType()
public JobState getState()
public String getParentTaskId()
public String getDescription()
public JobState getRollbackState()
public void setCreationTimestamp(Long creationTimestamp)
public void setDescription(String description)
public void setId(String id)
public void setParentTaskId(String parentTaskId)
public void setRollbackState(JobState rollbackState)
public void setState(JobState state)
public void setTimestamp(Long timestamp)
public void setType(JobType type)
public String getBaseMediaType()
getBaseMediaType in class SingleResourceTransportDtopublic String getMediaType()
getMediaType in class SingleResourceTransportDtoCopyright © 2008-2014 Abiquo Holdings S.L.. All Rights Reserved.