java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.v2.dto.ImportJob

public class ImportJob extends Object
Represents a task used to import resources from a file
  • Constructor Details

    • ImportJob

      public ImportJob()
  • Method Details

    • id

      public ImportJob id(String id)
    • getId

      public String getId()
      Identifier of the import job
      Returns:
      id
    • setId

      public void setId(String id)
    • href

      public ImportJob href(String href)
    • getHref

      public String getHref()
      Reference of the import job
      Returns:
      href
    • setHref

      public void setHref(String href)
    • contentType

      public ImportJob contentType(String contentType)
    • getContentType

      public String getContentType()
      Indicates the format of the imported data
      Returns:
      contentType
    • setContentType

      public void setContentType(String contentType)
    • path

      public ImportJob path(String path)
    • getPath

      public 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(String path)
    • status

      public ImportJob status(String status)
    • getStatus

      public String getStatus()
      Status of the import job (not started, running, succeeded, failed)
      Returns:
      status
    • setStatus

      public void setStatus(String status)
    • url

      public ImportJob url(String url)
    • getUrl

      public String getUrl()
      URL of the file containing the data to be imported
      Returns:
      url
    • setUrl

      public void setUrl(String url)
    • completionDate

      public ImportJob completionDate(Date completionDate)
    • getCompletionDate

      @Valid public @Valid Date getCompletionDate()
      Date at which the job was completed
      Returns:
      completionDate
    • setCompletionDate

      public void setCompletionDate(Date completionDate)
    • creationDate

      public ImportJob creationDate(Date creationDate)
    • getCreationDate

      @Valid public @Valid Date getCreationDate()
      Date at which the job was created
      Returns:
      creationDate
    • setCreationDate

      public void setCreationDate(Date creationDate)
    • errorLog

      public ImportJob errorLog(String errorLog)
    • getErrorLog

      public String getErrorLog()
      Reason for failure if status is failed
      Returns:
      errorLog
    • setErrorLog

      public void setErrorLog(String errorLog)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object