Class ChecklistImpl.ItemImpl
java.lang.Object
pw.chew.clickup4j.internal.entities.ChecklistImpl.ItemImpl
- All Implemented Interfaces:
Checklist.Item
- Enclosing class:
ChecklistImpl
-
Constructor Summary
ConstructorsConstructorDescriptionItemImpl(@NotNull org.json.JSONObject data) ItemImpl(@NotNull org.json.JSONObject data, @NotNull Checklist.Item parent) -
Method Summary
Modifier and TypeMethodDescription@Nullable UserThis item's assignee.@NotNull List<Checklist.Item>All child items of this item.@NotNull OffsetDateTimeReturns when this item was created.void@NotNull StringgetId()The item's ID.@NotNull StringgetName()The item's name.doubleThe item's ordering index.@Nullable Checklist.ItemThe parent item of this checklist item.booleanReturns whether this item is marked as complete.
-
Constructor Details
-
ItemImpl
public ItemImpl(@NotNull @NotNull org.json.JSONObject data) -
ItemImpl
public ItemImpl(@NotNull @NotNull org.json.JSONObject data, @NotNull @NotNull Checklist.Item parent)
-
-
Method Details
-
getId
Description copied from interface:Checklist.ItemThe item's ID.- Specified by:
getIdin interfaceChecklist.Item- Returns:
- The item's ID.
-
getName
Description copied from interface:Checklist.ItemThe item's name.- Specified by:
getNamein interfaceChecklist.Item- Returns:
- The item's name.
-
getOrderIndex
public double getOrderIndex()Description copied from interface:Checklist.ItemThe item's ordering index. This can be used as a sorting key.- Specified by:
getOrderIndexin interfaceChecklist.Item- Returns:
- The item's ordering index.
-
getAssignee
Description copied from interface:Checklist.ItemThis item's assignee.- Specified by:
getAssigneein interfaceChecklist.Item- Returns:
- The item's assignee.
-
getGroupAssignee
public void getGroupAssignee()- Specified by:
getGroupAssigneein interfaceChecklist.Item
-
isResolved
public boolean isResolved()Description copied from interface:Checklist.ItemReturns whether this item is marked as complete.- Specified by:
isResolvedin interfaceChecklist.Item- Returns:
- Whether this item is marked as complete.
-
getParent
Description copied from interface:Checklist.ItemThe parent item of this checklist item.
If this is null, this item is a top-level item.- Specified by:
getParentin interfaceChecklist.Item- Returns:
- Nullable parent item of this checklist item.
-
getCreatedAt
Description copied from interface:Checklist.ItemReturns when this item was created.- Specified by:
getCreatedAtin interfaceChecklist.Item- Returns:
- When this item was created.
-
getChildren
Description copied from interface:Checklist.ItemAll child items of this item. If the item has no children, this will be empty.- Specified by:
getChildrenin interfaceChecklist.Item- Returns:
- Never-null list containing all child items of this item.
-