public class Job extends GenericModel
DocumentConversion| Constructor and Description |
|---|
Job() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBatchId()
Returns the batch id from the job.
|
com.google.gson.JsonObject |
getConfig()
Returns the configuration for the job.
|
ConversionTarget |
getConversionTarget()
Returns the conversion target for the job.
|
Date |
getCreatedOn()
Returns the date on which the job was created on.
|
com.google.gson.JsonObject |
getDocumentCounts()
Returns number of documents from the job.
|
String |
getDuration()
Returns the duration for the job.
|
String |
getId()
Returns the id for the job.
|
List<Link> |
getLinks()
Returns the links to the jobs.
|
String |
getName()
Sets the name of the job.
|
String |
getResult()
Returns the result of the job.
|
JobStatus |
getStatus()
Returns the status of the job.
|
void |
setBatchId(String batchId)
Sets the batch id for the job.
|
void |
setConfig(com.google.gson.JsonObject config)
Sets the configuration for the job.
|
void |
setConversionTarget(ConversionTarget conversionTarget)
Sets the conversion target for the job.
|
void |
setCreatedOn(Date createdOn)
Sets the date on which the job was created on.
|
void |
setDocumentCounts(com.google.gson.JsonObject documentCounts)
Sets the number of documents in the job.
|
void |
setDuration(String duration)
Sets the duration of job execution.
|
void |
setId(String id)
Sets the id for the job.
|
void |
setLinks(List<Link> links)
Sets the links to the jobs.
|
void |
setName(String name)
Sets the name for the job.
|
void |
setResult(String result)
Sets the result of the job.
|
void |
setStatus(JobStatus status)
Sets the status of the job.
|
equals, hashCode, toStringpublic String getId()
public void setId(String id)
id - the new idpublic String getName()
public void setName(String name)
name - the new namepublic String getBatchId()
public void setBatchId(String batchId)
batchId - the new batch idpublic ConversionTarget getConversionTarget()
public void setConversionTarget(ConversionTarget conversionTarget)
conversionTarget - the new conversion targetpublic com.google.gson.JsonObject getConfig()
public void setConfig(com.google.gson.JsonObject config)
config - the new configpublic Date getCreatedOn()
public void setCreatedOn(Date createdOn)
createdOn - the new created onpublic JobStatus getStatus()
public void setStatus(JobStatus status)
status - the new statuspublic String getResult()
public void setResult(String result)
result - the new resultpublic String getDuration()
public void setDuration(String duration)
duration - the new durationpublic com.google.gson.JsonObject getDocumentCounts()
public void setDocumentCounts(com.google.gson.JsonObject documentCounts)
documentCounts - the new document countsCopyright © 2015. All rights reserved.