Class ImportJob
- java.lang.Object
-
- de.hybris.platform.b2ctelcotmfwebservices.v2.dto.ImportJob
-
@Validated @Generated(value="de.hybris.platform.b2ctelcotmfwebservices.swagger.TelcoCodegen", date="2020-06-25T12:53:59.275Z") public class ImportJob extends java.lang.ObjectRepresents a task used to import resources from a file
-
-
Constructor Summary
Constructors Constructor Description ImportJob()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImportJobcompletionDate(java.util.Date completionDate)ImportJobcontentType(java.lang.String contentType)ImportJobcreationDate(java.util.Date creationDate)booleanequals(java.lang.Object o)ImportJoberrorLog(java.lang.String errorLog)@Valid java.util.DategetCompletionDate()Date at which the job was completedjava.lang.StringgetContentType()Indicates the format of the imported data@Valid java.util.DategetCreationDate()Date at which the job was createdjava.lang.StringgetErrorLog()Reason for failure if status is failedjava.lang.StringgetHref()Reference of the import jobjava.lang.StringgetId()Identifier of the import jobjava.lang.StringgetPath()URL of the root resource where the content of the file specified by the import job must be appliedjava.lang.StringgetStatus()Status of the import job (not started, running, succeeded, failed)java.lang.StringgetUrl()URL of the file containing the data to be importedinthashCode()ImportJobhref(java.lang.String href)ImportJobid(java.lang.String id)ImportJobpath(java.lang.String path)voidsetCompletionDate(java.util.Date completionDate)voidsetContentType(java.lang.String contentType)voidsetCreationDate(java.util.Date creationDate)voidsetErrorLog(java.lang.String errorLog)voidsetHref(java.lang.String href)voidsetId(java.lang.String id)voidsetPath(java.lang.String path)voidsetStatus(java.lang.String status)voidsetUrl(java.lang.String url)ImportJobstatus(java.lang.String status)java.lang.StringtoString()ImportJoburl(java.lang.String url)
-
-
-
Method Detail
-
id
public ImportJob id(java.lang.String id)
-
getId
public java.lang.String getId()
Identifier of the import job- Returns:
- id
-
setId
public void setId(java.lang.String id)
-
href
public ImportJob href(java.lang.String href)
-
getHref
public java.lang.String getHref()
Reference of the import job- Returns:
- href
-
setHref
public void setHref(java.lang.String href)
-
contentType
public ImportJob contentType(java.lang.String contentType)
-
getContentType
public java.lang.String getContentType()
Indicates the format of the imported data- Returns:
- contentType
-
setContentType
public void setContentType(java.lang.String contentType)
-
path
public ImportJob path(java.lang.String path)
-
getPath
public java.lang.String getPath()
URL of the root resource where the content of the file specified by the import job must be applied- Returns:
- path
-
setPath
public void setPath(java.lang.String path)
-
status
public ImportJob status(java.lang.String status)
-
getStatus
public java.lang.String getStatus()
Status of the import job (not started, running, succeeded, failed)- Returns:
- status
-
setStatus
public void setStatus(java.lang.String status)
-
url
public ImportJob url(java.lang.String url)
-
getUrl
public java.lang.String getUrl()
URL of the file containing the data to be imported- Returns:
- url
-
setUrl
public void setUrl(java.lang.String url)
-
completionDate
public ImportJob completionDate(java.util.Date completionDate)
-
getCompletionDate
@Valid public @Valid java.util.Date getCompletionDate()
Date at which the job was completed- Returns:
- completionDate
-
setCompletionDate
public void setCompletionDate(java.util.Date completionDate)
-
creationDate
public ImportJob creationDate(java.util.Date creationDate)
-
getCreationDate
@Valid public @Valid java.util.Date getCreationDate()
Date at which the job was created- Returns:
- creationDate
-
setCreationDate
public void setCreationDate(java.util.Date creationDate)
-
errorLog
public ImportJob errorLog(java.lang.String errorLog)
-
getErrorLog
public java.lang.String getErrorLog()
Reason for failure if status is failed- Returns:
- errorLog
-
setErrorLog
public void setErrorLog(java.lang.String errorLog)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-