Class 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
ConstructorsModifierConstructorDescriptionprotectedProtected no-args constructor for use by serialization frameworks.Constructs a validated instance ofAvailableContentStates.AvailableContentStates(List<ContentState> spaceContentStates, List<ContentState> customContentStates) Constructs a validated instance ofAvailableContentStates. -
Method Summary
Modifier and TypeMethodDescriptionFluent getter for customContentStates.customContentStates(List<ContentState> customContentStates) Fluent setter for customContentStates.booleanGets the value of customContentStates.Gets the value of spaceContentStates.inthashCode()voidsetCustomContentStates(List<ContentState> customContentStates) Sets the value of customContentStates.voidsetSpaceContentStates(List<ContentState> spaceContentStates) Sets the value of spaceContentStates.Fluent getter for spaceContentStates.spaceContentStates(List<ContentState> spaceContentStates) Fluent setter for spaceContentStates.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 protected AvailableContentStates()Protected no-args constructor for use by serialization frameworks. -
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.
-
-
Method Details
-
spaceContentStates
Fluent getter for 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:
- spaceContentStates
-
spaceContentStates
Fluent setter for 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.
- Parameters:
spaceContentStates- spaceContentStates- Returns:
- this
-
getSpaceContentStates
Gets the value of 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:
- spaceContentStates
-
setSpaceContentStates
Sets the value of 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.
- Parameters:
spaceContentStates- spaceContentStates
-
customContentStates
Fluent getter for 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:
- customContentStates
-
customContentStates
Fluent setter for 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.
- Parameters:
customContentStates- customContentStates- Returns:
- this
-
getCustomContentStates
Gets the value of 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:
- customContentStates
-
setCustomContentStates
Sets the value of 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.
- Parameters:
customContentStates- customContentStates
-
equals
-
hashCode
-
toString
-