Package pw.chew.clickup4j.api.entities
Interface Space
- All Known Implementing Classes:
SpaceImpl
public interface Space
Represents a space in ClickUp.
A space is the 2nd level of organization in ClickUp. It can contain lists, folders, and docs.
A space is the 2nd level of organization in ClickUp. It can contain lists, folders, and docs.
-
Method Summary
Modifier and TypeMethodDescription@NotNull ClickUp4jReturns theClickUp4jinstance of this Space.@NotNull StringgetId()Returns the ID of this space.@NotNull StringgetName()The human-readable name of theSpace.@NotNull List<Task.Status>Returns a list of space-levelTaskstatuses.booleanReturns if this Space is archived, meaning it is no longer visible to users.booleanReturns if the Multiple Assignees feature is enabled for this space.booleanChecks if this space is private, meaning members must be invited to see it.
-
Method Details
-
getId
Returns the ID of this space.- Returns:
- Never-null String containing the Id.
-
getName
The human-readable name of theSpace.- Returns:
- Never-null String containing the space's name.
-
getStatuses
Returns a list of space-levelTaskstatuses.
Lists and folders may have their own statuses.- Returns:
- Never-null List of
Task.Statusobjects.
-
isPrivate
boolean isPrivate()Checks if this space is private, meaning members must be invited to see it.- Returns:
- True if this space is private, false otherwise.
-
isMultipleAssignees
boolean isMultipleAssignees()Returns if the Multiple Assignees feature is enabled for this space.- Returns:
- true if enabled, false otherwise
-
isArchived
boolean isArchived()Returns if this Space is archived, meaning it is no longer visible to users.- Returns:
- true if archived, false otherwise
-
getClickUp4j
Returns theClickUp4jinstance of this Space.- Returns:
- the corresponding instance
-