Package pw.chew.clickup4j.api.entities
Interface Checklist.Item
- All Known Implementing Classes:
ChecklistImpl.ItemImpl
- Enclosing interface:
Checklist
public static interface Checklist.Item
An item in the checklist.
-
Method Summary
Modifier and TypeMethodDescription@Nullable User
This item's assignee.@NotNull List<Checklist.Item>
All child items of this item.@NotNull OffsetDateTime
Returns when this item was created.void
@NotNull String
getId()
The item's ID.@NotNull String
getName()
The item's name.double
The item's ordering index.@Nullable Checklist.Item
The parent item of this checklist item.boolean
Returns whether this item is marked as complete.
-
Method Details
-
getId
The item's ID.- Returns:
- The item's ID.
-
getName
The item's name.- Returns:
- The item's name.
-
getOrderIndex
double getOrderIndex()The item's ordering index. This can be used as a sorting key.- Returns:
- The item's ordering index.
-
getAssignee
This item's assignee.- Returns:
- The item's assignee.
-
getGroupAssignee
void getGroupAssignee() -
isResolved
boolean isResolved()Returns whether this item is marked as complete.- Returns:
- Whether this item is marked as complete.
-
getParent
The parent item of this checklist item.
If this is null, this item is a top-level item.- Returns:
- Nullable parent item of this checklist item.
-
getCreatedAt
Returns when this item was created.- Returns:
- When this item was created.
-
getChildren
All child items of this item. If the item has no children, this will be empty.- Returns:
- Never-null list containing all child items of this item.
-