Class AvailableContentStates

java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.AvailableContentStates

@Generated("io.github.primelib.primecodegen") public class AvailableContentStates extends Object
AvailableContentStates
  • Field Details

    • spaceContentStates

      protected List<ContentState> spaceContentStates
      Space suggested content states that can be used in the space. This list can be empty if there are no space content states defined in the space or if space content states are disabled in the space. All spaces start with 4 default space content states, and this can be modified in the UI under space settings.
    • customContentStates

      protected List<ContentState> customContentStates
      Custom content states that can be used by the user on the content of this call. This list can be empty if there are no custom content states defined by the user or if custom content states are disabled in the space of the content. This will at most have 3 of the most recently published content states. Only the calling user has access to place these states on content, but all users can see these states once they are placed.
  • Constructor Details

    • AvailableContentStates

      public AvailableContentStates(Consumer<AvailableContentStates> spec)
      Constructs a validated instance of AvailableContentStates.
      Parameters:
      spec - the specification to process
    • AvailableContentStates

      @Internal public AvailableContentStates(List<ContentState> spaceContentStates, List<ContentState> customContentStates)
      Constructs a validated instance of AvailableContentStates.

      NOTE: This constructor is not considered stable and may change if the model is updated. Consider using AvailableContentStates(Consumer) instead.

      Parameters:
      spaceContentStates - Space suggested content states that can be used in the space. This list can be empty if there are no space content states defined in the space or if space content states are disabled in the space. All spaces start with 4 default space content states, and this can be modified in the UI under space settings.
      customContentStates - Custom content states that can be used by the user on the content of this call. This list can be empty if there are no custom content states defined by the user or if custom content states are disabled in the space of the content. This will at most have 3 of the most recently published content states. Only the calling user has access to place these states on content, but all users can see these states once they are placed.
    • AvailableContentStates

      protected AvailableContentStates()
  • Method Details

    • spaceContentStates

      public List<ContentState> spaceContentStates()
      Space suggested content states that can be used in the space. This list can be empty if there are no space content states defined in the space or if space content states are disabled in the space. All spaces start with 4 default space content states, and this can be modified in the UI under space settings.
    • customContentStates

      public List<ContentState> customContentStates()
      Custom content states that can be used by the user on the content of this call. This list can be empty if there are no custom content states defined by the user or if custom content states are disabled in the space of the content. This will at most have 3 of the most recently published content states. Only the calling user has access to place these states on content, but all users can see these states once they are placed.
    • spaceContentStates

      public AvailableContentStates spaceContentStates(List<ContentState> spaceContentStates)
      Space suggested content states that can be used in the space. This list can be empty if there are no space content states defined in the space or if space content states are disabled in the space. All spaces start with 4 default space content states, and this can be modified in the UI under space settings.
      Returns:
      this.
    • customContentStates

      public AvailableContentStates customContentStates(List<ContentState> customContentStates)
      Custom content states that can be used by the user on the content of this call. This list can be empty if there are no custom content states defined by the user or if custom content states are disabled in the space of the content. This will at most have 3 of the most recently published content states. Only the calling user has access to place these states on content, but all users can see these states once they are placed.
      Returns:
      this.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object