Class AttachmentDto


  • public class AttachmentDto
    extends Object
    AttachmentDto
    • Constructor Detail

      • AttachmentDto

        public AttachmentDto()
    • Method Detail

      • getId

        public String getId()
        The id of the task attachment.
        Returns:
        id
      • setId

        public void setId​(String id)
      • getName

        public String getName()
        The name of the task attachment.
        Returns:
        name
      • setName

        public void setName​(String name)
      • getDescription

        public String getDescription()
        The description of the task attachment.
        Returns:
        description
      • setDescription

        public void setDescription​(String description)
      • getTaskId

        public String getTaskId()
        The id of the task to which the attachment belongs.
        Returns:
        taskId
      • setTaskId

        public void setTaskId​(String taskId)
      • getType

        public String getType()
        Indication of the type of content that this attachment refers to. Can be MIME type or any other indication.
        Returns:
        type
      • setType

        public void setType​(String type)
      • getUrl

        public String getUrl()
        The url to the remote content of the task attachment.
        Returns:
        url
      • setUrl

        public void setUrl​(String url)
      • getCreateTime

        public Date getCreateTime()
        The time the variable was inserted. [Default format](https://docs.camunda.org/manual/7.18/reference/rest/overview/date-format/) `yyyy-MM-dd'T'HH:mm:ss.SSSZ`.
        Returns:
        createTime
      • setCreateTime

        public void setCreateTime​(Date createTime)
      • getRemovalTime

        public Date getRemovalTime()
        The time after which the attachment should be removed by the History Cleanup job. [Default format](https://docs.camunda.org/manual/7.18/reference/rest/overview/date-format/) `yyyy-MM-dd'T'HH:mm:ss.SSSZ`.
        Returns:
        removalTime
      • setRemovalTime

        public void setRemovalTime​(Date removalTime)
      • rootProcessInstanceId

        public AttachmentDto rootProcessInstanceId​(String rootProcessInstanceId)
      • getRootProcessInstanceId

        public String getRootProcessInstanceId()
        The process instance id of the root process instance that initiated the process containing the task.
        Returns:
        rootProcessInstanceId
      • setRootProcessInstanceId

        public void setRootProcessInstanceId​(String rootProcessInstanceId)
      • getLinks

        public List<AtomLink> getLinks()
        The links associated to this resource, with `method`, `href` and `rel`.
        Returns:
        links
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object