Klasse RemoveContentStateOperationSpec

java.lang.Object
io.github.primelib.confluence4j.rest.v1.spec.RemoveContentStateOperationSpec

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class RemoveContentStateOperationSpec extends Object
RemoveContentStateSpec

Specification for the RemoveContentState operation.

Removes the content state of a content and publishes a new version.

  • Felddetails

    • VALIDATION_ENABLED

      @Experimental public static Boolean VALIDATION_ENABLED
      allows to disable validation of the spec, use with care!
  • Konstruktordetails

    • RemoveContentStateOperationSpec

      @Internal public RemoveContentStateOperationSpec(Consumer<RemoveContentStateOperationSpec> spec)
      Constructs a validated instance of RemoveContentStateOperationSpec.
      Parameter:
      spec - the specification to process
    • RemoveContentStateOperationSpec

      @Internal public RemoveContentStateOperationSpec(String id, String status)
      Constructs a validated instance of RemoveContentStateOperationSpec.

      NOTE: This constructor is not considered stable and may change if the operation is updated.

      Parameter:
      id - The Id of the content whose content state is to be set.
      status - status of content state from which to delete state. Can be draft or archived
    • RemoveContentStateOperationSpec

      protected RemoveContentStateOperationSpec()
  • Methodendetails