Class ContentStateSettings
java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.ContentStateSettings
ContentStateSettings
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BooleanWhether users can place any content states on contentprotected BooleanWhether users can place their custom states on contentprotected List<ContentState>space suggested content states that users can choose fromprotected BooleanWhether users can place space suggested states on content -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedContentStateSettings(Boolean contentStatesAllowed, Boolean customContentStatesAllowed, Boolean spaceContentStatesAllowed, List<ContentState> spaceContentStates) Constructs a validated instance ofContentStateSettings.Constructs a validated instance ofContentStateSettings. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanWhether users can place any content states on contentcontentStatesAllowed(Boolean contentStatesAllowed) Whether users can place any content states on contentWhether users can place their custom states on contentcustomContentStatesAllowed(Boolean customContentStatesAllowed) Whether users can place their custom states on contentbooleaninthashCode()space suggested content states that users can choose fromspaceContentStates(List<ContentState> spaceContentStates) space suggested content states that users can choose fromWhether users can place space suggested states on contentspaceContentStatesAllowed(Boolean spaceContentStatesAllowed) Whether users can place space suggested states on contenttoString()
-
Field Details
-
contentStatesAllowed
Whether users can place any content states on content -
customContentStatesAllowed
Whether users can place their custom states on content -
spaceContentStatesAllowed
Whether users can place space suggested states on content -
spaceContentStates
space suggested content states that users can choose from
-
-
Constructor Details
-
ContentStateSettings
Constructs a validated instance ofContentStateSettings.- Parameters:
spec- the specification to process
-
ContentStateSettings
@Internal public ContentStateSettings(Boolean contentStatesAllowed, Boolean customContentStatesAllowed, Boolean spaceContentStatesAllowed, List<ContentState> spaceContentStates) Constructs a validated instance ofContentStateSettings.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
ContentStateSettings(Consumer)instead.- Parameters:
contentStatesAllowed- Whether users can place any content states on contentcustomContentStatesAllowed- Whether users can place their custom states on contentspaceContentStatesAllowed- Whether users can place space suggested states on contentspaceContentStates- space suggested content states that users can choose from
-
ContentStateSettings
protected ContentStateSettings()
-
-
Method Details
-
contentStatesAllowed
Whether users can place any content states on content -
customContentStatesAllowed
Whether users can place their custom states on content -
spaceContentStatesAllowed
Whether users can place space suggested states on content -
spaceContentStates
space suggested content states that users can choose from -
contentStatesAllowed
Whether users can place any content states on content- Returns:
this.
-
customContentStatesAllowed
Whether users can place their custom states on content- Returns:
this.
-
spaceContentStatesAllowed
Whether users can place space suggested states on content- Returns:
this.
-
spaceContentStates
space suggested content states that users can choose from- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-