org.gs4tr.gcc.restclient.model.GCTask Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gcc-restclient Show documentation
Show all versions of gcc-restclient Show documentation
GlobalLink Connect Cloud java is a library to connect your system to GlobalLink Connect Cloud REST API.
package org.gs4tr.gcc.restclient.model;
import java.util.Date;
import java.util.List;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
@JsonIgnoreProperties(ignoreUnknown = true)
public class GCTask {
@JsonProperty("submission_id")
private Long submissionId;
@JsonProperty("job_id")
private Long jobId;
@JsonProperty("task_id")
private Long taskId;
@JsonProperty("node_id")
private String nodeId;
@JsonProperty("content_id")
private String contentId;
@JsonProperty("submissionName")
private String submissionName;
@JsonProperty("name")
private String name;
@JsonProperty("node_type")
private String nodeType;
@JsonProperty("unique_identifier")
private String uniqueIdentifier;
@JsonProperty("state")
private String state;
@JsonProperty("source_locale")
private Locale sourceLocale;
@JsonProperty("target_locale")
private Locale targetLocale;
@JsonProperty("last_updated")
private Date lastUpdated;
@JsonProperty("pd_submission_id")
private List pdSubmissionIds;
@JsonProperty("error_message")
private String errorMessage;
@JsonProperty("is_cancelled")
private Boolean isCancelled;
@JsonProperty("is_error")
private Boolean isError;
@JsonProperty("confirm_cancel")
private Boolean isCancelConfirmed;
@JsonProperty("submitter")
private String submitter;
@JsonProperty("path")
private String path;
@JsonProperty("sequence_number")
private Long sequenceNumber;
@JsonProperty("metadata")
private Map metadata;
@JsonProperty("node_metadata")
private Map nodeMetadata;
@JsonProperty("connector_key")
private String connectorKey;
public GCTask() {
}
public Long getSubmissionId() {
return submissionId;
}
public void setSubmissionId(Long submissionId) {
this.submissionId = submissionId;
}
public Long getTaskId() {
return taskId;
}
public void setTaskId(Long taskId) {
this.taskId = taskId;
}
public String getNodeId() {
return nodeId;
}
public void setNodeId(String nodeId) {
this.nodeId = nodeId;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getNodeType() {
return nodeType;
}
public void setNodeType(String nodeType) {
this.nodeType = nodeType;
}
public String getUniqueIdentifier() {
return uniqueIdentifier;
}
public void setUniqueIdentifier(String uniqueIdentifier) {
this.uniqueIdentifier = uniqueIdentifier;
}
public Locale getTargetLocale() {
return targetLocale;
}
public void setTargetLocale(Locale targetLocale) {
this.targetLocale = targetLocale;
}
public Date getLastUpdated() {
return lastUpdated;
}
public void setLastUpdated(Date lastUpdated) {
this.lastUpdated = lastUpdated;
}
public Long getJobId() {
return jobId;
}
public void setJobId(Long jobId) {
this.jobId = jobId;
}
public String getContentId() {
return contentId;
}
public void setContentId(String contentId) {
this.contentId = contentId;
}
public String getSubmissionName() {
return submissionName;
}
public void setSubmissionName(String submissionName) {
this.submissionName = submissionName;
}
public String getErrorMessage() {
return errorMessage;
}
public void setErrorMessage(String errorMessage) {
this.errorMessage = errorMessage;
}
public Boolean getIsCancelled() {
return isCancelled;
}
public void setIsCancelled(Boolean isCancelled) {
this.isCancelled = isCancelled;
}
public Boolean getIsError() {
return isError;
}
public void setIsError(Boolean isError) {
this.isError = isError;
}
public Boolean getIsCancelConfirmed() {
return isCancelConfirmed;
}
public void setIsCancelConfirmed(Boolean isCancelConfirmed) {
this.isCancelConfirmed = isCancelConfirmed;
}
public String getSubmitter() {
return submitter;
}
public void setSubmitter(String submitter) {
this.submitter = submitter;
}
public String getPath() {
return path;
}
public void setPath(String path) {
this.path = path;
}
public Long getSequenceNumber() {
return sequenceNumber;
}
public void setSequenceNumber(Long sequenceNumber) {
this.sequenceNumber = sequenceNumber;
}
public Map getNodeMetadata() {
return nodeMetadata;
}
public void setNodeMetadata(Map nodeMetadata) {
this.nodeMetadata = nodeMetadata;
}
public List getPdSubmissionIds() {
return pdSubmissionIds;
}
public void setPdSubmissionIds(List pdSubmissionIds) {
this.pdSubmissionIds = pdSubmissionIds;
}
public String getState() {
return state;
}
public void setState(String state) {
this.state = state;
}
public Locale getSourceLocale() {
return sourceLocale;
}
public void setSourceLocale(Locale sourceLocale) {
this.sourceLocale = sourceLocale;
}
public Map getMetadata() {
return metadata;
}
public void setMetadata(Map metadata) {
this.metadata = metadata;
}
public String getConnectorKey() {
return connectorKey;
}
public void setConnectorKey(String connectorKey) {
this.connectorKey = connectorKey;
}
}