Package org.openapitools.client.model
Class CommentDto
- java.lang.Object
-
- org.openapitools.client.model.CommentDto
-
public class CommentDto extends Object
CommentDto
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_LINKSstatic StringSERIALIZED_NAME_MESSAGEstatic StringSERIALIZED_NAME_PROCESS_INSTANCE_IDstatic StringSERIALIZED_NAME_REMOVAL_TIMEstatic StringSERIALIZED_NAME_ROOT_PROCESS_INSTANCE_IDstatic StringSERIALIZED_NAME_TASK_IDstatic StringSERIALIZED_NAME_TIMEstatic StringSERIALIZED_NAME_USER_ID
-
Constructor Summary
Constructors Constructor Description CommentDto()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommentDtoaddLinksItem(AtomLink linksItem)booleanequals(Object o)StringgetId()The id of the task comment.List<AtomLink>getLinks()The links associated to this resource, with `method`, `href` and `rel`.StringgetMessage()The content of the comment.StringgetProcessInstanceId()The id of the process instance the comment is related to.DategetRemovalTime()The time after which the comment should be removed by the History Cleanup job.StringgetRootProcessInstanceId()The process instance id of the root process instance that initiated the process containing the task.StringgetTaskId()The id of the task to which the comment belongs.DategetTime()The time when the comment was created.StringgetUserId()The id of the user who created the comment.inthashCode()CommentDtoid(String id)CommentDtolinks(List<AtomLink> links)CommentDtomessage(String message)CommentDtoprocessInstanceId(String processInstanceId)CommentDtoremovalTime(Date removalTime)CommentDtorootProcessInstanceId(String rootProcessInstanceId)voidsetId(String id)voidsetLinks(List<AtomLink> links)voidsetMessage(String message)voidsetProcessInstanceId(String processInstanceId)voidsetRemovalTime(Date removalTime)voidsetRootProcessInstanceId(String rootProcessInstanceId)voidsetTaskId(String taskId)voidsetTime(Date time)voidsetUserId(String userId)CommentDtotaskId(String taskId)CommentDtotime(Date time)StringtoString()CommentDtouserId(String userId)
-
-
-
Field Detail
-
SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_USER_ID
public static final String SERIALIZED_NAME_USER_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TASK_ID
public static final String SERIALIZED_NAME_TASK_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PROCESS_INSTANCE_ID
public static final String SERIALIZED_NAME_PROCESS_INSTANCE_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TIME
public static final String SERIALIZED_NAME_TIME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MESSAGE
public static final String SERIALIZED_NAME_MESSAGE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_REMOVAL_TIME
public static final String SERIALIZED_NAME_REMOVAL_TIME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ROOT_PROCESS_INSTANCE_ID
public static final String SERIALIZED_NAME_ROOT_PROCESS_INSTANCE_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LINKS
public static final String SERIALIZED_NAME_LINKS
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public CommentDto id(String id)
-
getId
public String getId()
The id of the task comment.- Returns:
- id
-
setId
public void setId(String id)
-
userId
public CommentDto userId(String userId)
-
getUserId
public String getUserId()
The id of the user who created the comment.- Returns:
- userId
-
setUserId
public void setUserId(String userId)
-
taskId
public CommentDto taskId(String taskId)
-
getTaskId
public String getTaskId()
The id of the task to which the comment belongs.- Returns:
- taskId
-
setTaskId
public void setTaskId(String taskId)
-
processInstanceId
public CommentDto processInstanceId(String processInstanceId)
-
getProcessInstanceId
public String getProcessInstanceId()
The id of the process instance the comment is related to.- Returns:
- processInstanceId
-
setProcessInstanceId
public void setProcessInstanceId(String processInstanceId)
-
time
public CommentDto time(Date time)
-
getTime
public Date getTime()
The time when the comment was created. [Default format]($(docsUrl)/reference/rest/overview/date-format/) `yyyy-MM-dd'T'HH:mm:ss.SSSZ`.- Returns:
- time
-
setTime
public void setTime(Date time)
-
message
public CommentDto message(String message)
-
getMessage
public String getMessage()
The content of the comment.- Returns:
- message
-
setMessage
public void setMessage(String message)
-
removalTime
public CommentDto removalTime(Date removalTime)
-
getRemovalTime
public Date getRemovalTime()
The time after which the comment should be removed by the History Cleanup job. [Default format]($(docsUrl)/reference/rest/overview/date-format/) `yyyy-MM-dd'T'HH:mm:ss.SSSZ`.- Returns:
- removalTime
-
setRemovalTime
public void setRemovalTime(Date removalTime)
-
rootProcessInstanceId
public CommentDto 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)
-
links
public CommentDto links(List<AtomLink> links)
-
addLinksItem
public CommentDto addLinksItem(AtomLink linksItem)
-
getLinks
public List<AtomLink> getLinks()
The links associated to this resource, with `method`, `href` and `rel`.- Returns:
- links
-
-