Class AvailableContentStates
java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.AvailableContentStates
AvailableContentStates
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<ContentState>Custom content states that can be used by the user on the content of this call.protected List<ContentState>Space suggested content states that can be used in the space. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructs a validated instance ofAvailableContentStates.AvailableContentStates(List<ContentState> spaceContentStates, List<ContentState> customContentStates) Constructs a validated instance ofAvailableContentStates. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanCustom content states that can be used by the user on the content of this call.customContentStates(List<ContentState> customContentStates) Custom content states that can be used by the user on the content of this call.booleaninthashCode()Space suggested content states that can be used in the space.spaceContentStates(List<ContentState> spaceContentStates) Space suggested content states that can be used in the space.toString()
-
Field Details
-
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.
-
-
Constructor Details
-
AvailableContentStates
Constructs a validated instance ofAvailableContentStates.- Parameters:
spec- the specification to process
-
AvailableContentStates
@Internal public AvailableContentStates(List<ContentState> spaceContentStates, List<ContentState> customContentStates) Constructs a validated instance ofAvailableContentStates.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
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. -
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
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
-
canEqual
-
hashCode
public int hashCode() -
toString
-