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 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
    • ContentStateSettings

      protected ContentStateSettings()
  • Method Details

    • contentStatesAllowed

      public Boolean contentStatesAllowed()
      Whether users can place any content states on content
    • customContentStatesAllowed

      public Boolean customContentStatesAllowed()
      Whether users can place their custom states on content
    • spaceContentStatesAllowed

      public Boolean spaceContentStatesAllowed()
      Whether users can place space suggested states on content
    • spaceContentStates

      public List<ContentState> spaceContentStates()
      space suggested content states that users can choose from
    • contentStatesAllowed

      public ContentStateSettings contentStatesAllowed(Boolean contentStatesAllowed)
      Whether users can place any content states on content
      Returns:
      this.
    • customContentStatesAllowed

      public ContentStateSettings customContentStatesAllowed(Boolean customContentStatesAllowed)
      Whether users can place their custom states on content
      Returns:
      this.
    • spaceContentStatesAllowed

      public ContentStateSettings spaceContentStatesAllowed(Boolean spaceContentStatesAllowed)
      Whether users can place space suggested states on content
      Returns:
      this.
    • spaceContentStates

      public ContentStateSettings spaceContentStates(List<ContentState> spaceContentStates)
      space suggested content states that users can choose from
      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