Class ChecklistImpl
java.lang.Object
pw.chew.clickup4j.internal.entities.ChecklistImpl
- All Implemented Interfaces:
Checklist
-
Nested Class Summary
Nested classes/interfaces inherited from interface pw.chew.clickup4j.api.entities.Checklist
Checklist.Item
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns thisClickUp4j
instance.@NotNull OffsetDateTime
Return when this checklist was created.long
Gets the ID of the user who created this checklist.@NotNull String
getId()
The checklist's ID.getItems()
Returns the items in this checklist.@NotNull String
getName()
The checklist's name.int
The ordering of this checklist, if there are multiple.int
The amount of items that are marked as complete.@NotNull String
The ID of the task this checklist belongs to.int
The amount of items that are marked as incomplete.
-
Constructor Details
-
ChecklistImpl
-
-
Method Details
-
getId
Description copied from interface:Checklist
The checklist's ID. -
getTaskId
Description copied from interface:Checklist
The ID of the task this checklist belongs to. -
getName
Description copied from interface:Checklist
The checklist's name. -
getCreatedAt
Description copied from interface:Checklist
Return when this checklist was created.- Specified by:
getCreatedAt
in interfaceChecklist
- Returns:
- When this checklist was created.
-
getOrderIndex
public int getOrderIndex()Description copied from interface:Checklist
The ordering of this checklist, if there are multiple. This can be used as a sorting key.- Specified by:
getOrderIndex
in interfaceChecklist
- Returns:
- The order index of this checklist.
-
getCreatorId
public long getCreatorId()Description copied from interface:Checklist
Gets the ID of the user who created this checklist.- Specified by:
getCreatorId
in interfaceChecklist
- Returns:
- the user ID of the user who created this checklist.
-
getResolvedCount
public int getResolvedCount()Description copied from interface:Checklist
The amount of items that are marked as complete.- Specified by:
getResolvedCount
in interfaceChecklist
- Returns:
- The amount of items that are marked as complete.
-
getUnresolvedCount
public int getUnresolvedCount()Description copied from interface:Checklist
The amount of items that are marked as incomplete.- Specified by:
getUnresolvedCount
in interfaceChecklist
- Returns:
- The amount of items that are marked as incomplete.
-
getItems
Description copied from interface:Checklist
Returns the items in this checklist. -
getClickUp4j
Description copied from interface:Checklist
Returns thisClickUp4j
instance.- Specified by:
getClickUp4j
in interfaceChecklist
- Returns:
- This
ClickUp4j
instance.
-