Class TimelineEntryImpl
java.lang.Object
pw.chew.clickup4j.internal.entities.TimelineEntryImpl
- All Implemented Interfaces:
TimelineEntry
-
Constructor Summary
ConstructorsConstructorDescriptionTimelineEntryImpl(@NotNull org.json.JSONObject data, @NotNull ClickUp4j api, @NotNull List<Target> targets) TimelineEntryImpl(@NotNull org.json.JSONObject data, @NotNull ClickUp4j api, @NotNull Target target) -
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.
-
Constructor Details
-
TimelineEntryImpl
-
TimelineEntryImpl
-
-
Method Details
-
getId
Description copied from interface:TimelineEntryGet the ID of this Timeline Entry.- Specified by:
getIdin interfaceTimelineEntry- Returns:
- never-null ID of this Timeline Entry.
-
getTarget
Description copied from interface:TimelineEntryGets theTargetthis Timeline Entry is for.- Specified by:
getTargetin interfaceTimelineEntry- Returns:
- never-null Target this Timeline Entry is for.
-
getUserId
Description copied from interface:TimelineEntryReturns theUserid who created this Timeline Entry.- Specified by:
getUserIdin interfaceTimelineEntry- Returns:
- never-null User id who created this Timeline Entry.
-
getNote
Description copied from interface:TimelineEntryThe note of this entry as displayed to the user.
If the user did not leave a note, this will be a blank String.- Specified by:
getNotein interfaceTimelineEntry- Returns:
- never-null note of this entry.
-
getDateModified
Description copied from interface:TimelineEntryThe date this entry was created (or last modified).- Specified by:
getDateModifiedin interfaceTimelineEntry- Returns:
- never-null date this entry was created.
-
getStepsTaken
Description copied from interface:TimelineEntryReturns the amount of steps taken caused by this entry.
This will be null if the entry was not a step change.- Specified by:
getStepsTakenin interfaceTimelineEntry- Returns:
- amount of steps taken caused by this entry.
-
getStepsBefore
Description copied from interface:TimelineEntryReturns the amount of steps before this entry occurred.
This will be null if the entry was creating theTarget.- Specified by:
getStepsBeforein interfaceTimelineEntry- Returns:
- amount of steps before this entry occurred.
-
getClickUp4j
Description copied from interface:TimelineEntryReturns thisClickUp4jinstance.- Specified by:
getClickUp4jin interfaceTimelineEntry- Returns:
- never-null ClickUp4j instance.
-