Class ContentStateSettings

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

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

    • contentStatesAllowed

      protected Boolean contentStatesAllowed
      Whether users can place any content states on content
    • customContentStatesAllowed

      protected Boolean customContentStatesAllowed
      Whether users can place their custom states on content
    • spaceContentStatesAllowed

      protected Boolean spaceContentStatesAllowed
      Whether users can place space suggested states on content
    • spaceContentStates

      protected List<ContentState> spaceContentStates
      space suggested content states that users can choose from
  • Constructor Details

    • ContentStateSettings

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

      @Internal protected ContentStateSettings()
      Protected no-args constructor for use by serialization frameworks.
    • ContentStateSettings

      @Internal public ContentStateSettings(Boolean contentStatesAllowed, Boolean customContentStatesAllowed, Boolean spaceContentStatesAllowed, List<ContentState> spaceContentStates)
      Constructs a validated instance of ContentStateSettings.

      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 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
  • Method Details

    • contentStatesAllowed

      public Boolean contentStatesAllowed()
      Fluent getter for contentStatesAllowed.

      Whether users can place any content states on content

      Returns:
      contentStatesAllowed
    • contentStatesAllowed

      public ContentStateSettings contentStatesAllowed(Boolean contentStatesAllowed)
      Fluent setter for contentStatesAllowed.

      Whether users can place any content states on content

      Parameters:
      contentStatesAllowed - contentStatesAllowed
      Returns:
      this
    • getContentStatesAllowed

      public Boolean getContentStatesAllowed()
      Gets the value of contentStatesAllowed.

      Whether users can place any content states on content

      Returns:
      contentStatesAllowed
    • setContentStatesAllowed

      public void setContentStatesAllowed(Boolean contentStatesAllowed)
      Sets the value of contentStatesAllowed.

      Whether users can place any content states on content

      Parameters:
      contentStatesAllowed - contentStatesAllowed
    • customContentStatesAllowed

      public Boolean customContentStatesAllowed()
      Fluent getter for customContentStatesAllowed.

      Whether users can place their custom states on content

      Returns:
      customContentStatesAllowed
    • customContentStatesAllowed

      public ContentStateSettings customContentStatesAllowed(Boolean customContentStatesAllowed)
      Fluent setter for customContentStatesAllowed.

      Whether users can place their custom states on content

      Parameters:
      customContentStatesAllowed - customContentStatesAllowed
      Returns:
      this
    • getCustomContentStatesAllowed

      public Boolean getCustomContentStatesAllowed()
      Gets the value of customContentStatesAllowed.

      Whether users can place their custom states on content

      Returns:
      customContentStatesAllowed
    • setCustomContentStatesAllowed

      public void setCustomContentStatesAllowed(Boolean customContentStatesAllowed)
      Sets the value of customContentStatesAllowed.

      Whether users can place their custom states on content

      Parameters:
      customContentStatesAllowed - customContentStatesAllowed
    • spaceContentStatesAllowed

      public Boolean spaceContentStatesAllowed()
      Fluent getter for spaceContentStatesAllowed.

      Whether users can place space suggested states on content

      Returns:
      spaceContentStatesAllowed
    • spaceContentStatesAllowed

      public ContentStateSettings spaceContentStatesAllowed(Boolean spaceContentStatesAllowed)
      Fluent setter for spaceContentStatesAllowed.

      Whether users can place space suggested states on content

      Parameters:
      spaceContentStatesAllowed - spaceContentStatesAllowed
      Returns:
      this
    • getSpaceContentStatesAllowed

      public Boolean getSpaceContentStatesAllowed()
      Gets the value of spaceContentStatesAllowed.

      Whether users can place space suggested states on content

      Returns:
      spaceContentStatesAllowed
    • setSpaceContentStatesAllowed

      public void setSpaceContentStatesAllowed(Boolean spaceContentStatesAllowed)
      Sets the value of spaceContentStatesAllowed.

      Whether users can place space suggested states on content

      Parameters:
      spaceContentStatesAllowed - spaceContentStatesAllowed
    • spaceContentStates

      public List<ContentState> spaceContentStates()
      Fluent getter for spaceContentStates.

      space suggested content states that users can choose from

      Returns:
      spaceContentStates
    • spaceContentStates

      public ContentStateSettings spaceContentStates(List<ContentState> spaceContentStates)
      Fluent setter for spaceContentStates.

      space suggested content states that users can choose from

      Parameters:
      spaceContentStates - spaceContentStates
      Returns:
      this
    • getSpaceContentStates

      public List<ContentState> getSpaceContentStates()
      Gets the value of spaceContentStates.

      space suggested content states that users can choose from

      Returns:
      spaceContentStates
    • setSpaceContentStates

      public void setSpaceContentStates(List<ContentState> spaceContentStates)
      Sets the value of spaceContentStates.

      space suggested content states that users can choose from

      Parameters:
      spaceContentStates - spaceContentStates
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object