Class ImportJob


  • @Validated
    @Generated(value="de.hybris.platform.b2ctelcotmfwebservices.swagger.TelcoCodegen",
               date="2020-06-25T12:53:59.275Z")
    public class ImportJob
    extends java.lang.Object
    Represents a task used to import resources from a file
    • Constructor Summary

      Constructors 
      Constructor Description
      ImportJob()  
    • Constructor Detail

      • ImportJob

        public ImportJob()
    • 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:
        equals in class java.lang.Object
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object