Package pw.chew.clickup4j.api.entities
Interface TimelineEntry
- All Known Implementing Classes:
TimelineEntryImpl
public interface TimelineEntry
-
Method Summary
Modifier and TypeMethodDescription@NotNull ClickUp4jReturns thisClickUp4jinstance.@NotNull OffsetDateTimeThe date this entry was created (or last modified).@NotNull UUIDgetId()Get the ID of this Timeline Entry.@NotNull StringgetNote()The note of this entry as displayed to the user.@Nullable IntegerReturns the amount of steps before this entry occurred.@Nullable IntegerReturns the amount of steps taken caused by this entry.@NotNull TargetGets theTargetthis Timeline Entry is for.@NotNull StringReturns theUserid 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 theTargetthis Timeline Entry is for.- Returns:
- never-null Target this Timeline Entry is for.
-
getUserId
Returns theUserid 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 thisClickUp4jinstance.- Returns:
- never-null ClickUp4j instance.
-