Class SpaceImpl

java.lang.Object
pw.chew.clickup4j.internal.entities.SpaceImpl
All Implemented Interfaces:
Space

public class SpaceImpl extends Object implements Space
  • Constructor Details

    • SpaceImpl

      public SpaceImpl(org.json.JSONObject data, ClickUp4j clickUp4j)
  • Method Details

    • getId

      @NotNull public @NotNull String getId()
      Description copied from interface: Space
      Returns the ID of this space.
      Specified by:
      getId in interface Space
      Returns:
      Never-null String containing the Id.
    • getName

      @NotNull public @NotNull String getName()
      Description copied from interface: Space
      The human-readable name of the Space.
      Specified by:
      getName in interface Space
      Returns:
      Never-null String containing the space's name.
    • getStatuses

      @NotNull public @NotNull List<Task.Status> getStatuses()
      Description copied from interface: Space
      Returns a list of space-level Task statuses.
      Lists and folders may have their own statuses.
      Specified by:
      getStatuses in interface Space
      Returns:
      Never-null List of Task.Status objects.
    • isPrivate

      public boolean isPrivate()
      Description copied from interface: Space
      Checks if this space is private, meaning members must be invited to see it.
      Specified by:
      isPrivate in interface Space
      Returns:
      True if this space is private, false otherwise.
    • isMultipleAssignees

      public boolean isMultipleAssignees()
      Description copied from interface: Space
      Returns if the Multiple Assignees feature is enabled for this space.
      Specified by:
      isMultipleAssignees in interface Space
      Returns:
      true if enabled, false otherwise
    • isArchived

      public boolean isArchived()
      Description copied from interface: Space
      Returns if this Space is archived, meaning it is no longer visible to users.
      Specified by:
      isArchived in interface Space
      Returns:
      true if archived, false otherwise
    • getClickUp4j

      @NotNull public @NotNull ClickUp4j getClickUp4j()
      Description copied from interface: Space
      Returns the ClickUp4j instance of this Space.
      Specified by:
      getClickUp4j in interface Space
      Returns:
      the corresponding instance