Package pw.chew.clickup4j.api.entities
Interface TimelineEntry
- All Known Implementing Classes:
TimelineEntryImpl
public interface TimelineEntry
-
Method Summary
Modifier and TypeMethodDescription@NotNull ClickUp4j
Returns thisClickUp4j
instance.@NotNull OffsetDateTime
The date this entry was created (or last modified).@NotNull UUID
getId()
Get the ID of this Timeline Entry.@NotNull String
getNote()
The note of this entry as displayed to the user.@Nullable Integer
Returns the amount of steps before this entry occurred.@Nullable Integer
Returns the amount of steps taken caused by this entry.@NotNull Target
Gets theTarget
this Timeline Entry is for.@NotNull String
Returns theUser
id who created this Timeline Entry.
-
Method Details
-
getId
Get the ID of this Timeline Entry.- Returns:
- never-null ID of this Timeline Entry.
-
getTarget
Gets theTarget
this Timeline Entry is for.- Returns:
- never-null Target this Timeline Entry is for.
-
getUserId
Returns theUser
id who created this Timeline Entry.- Returns:
- never-null User id who created this Timeline Entry.
-
getNote
The note of this entry as displayed to the user.
If the user did not leave a note, this will be a blank String.- Returns:
- never-null note of this entry.
-
getDateModified
The date this entry was created (or last modified).- Returns:
- never-null date this entry was created.
-
getStepsTaken
Returns the amount of steps taken caused by this entry.
This will be null if the entry was not a step change.- Returns:
- amount of steps taken caused by this entry.
-
getStepsBefore
Returns the amount of steps before this entry occurred.
This will be null if the entry was creating theTarget
.- Returns:
- amount of steps before this entry occurred.
-
getClickUp4j
Returns thisClickUp4j
instance.- Returns:
- never-null ClickUp4j instance.
-