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.
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic class -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic Booleanallows to disable validation of the spec, use with care! -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotectedRemoveContentStateOperationSpec(String id, String status) Constructs a validated instance ofRemoveContentStateOperationSpec.Constructs a validated instance ofRemoveContentStateOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuilder()protected booleanbooleaninthashCode()@NotNull Stringid()The Id of the content whose content state is to be set.The Id of the content whose content state is to be set.@Nullable Stringstatus()status of content state from which to delete state.status of content state from which to delete state.toString()voidvalidate()Validates the Spec, will throw a exception if required parameters are missing
-
Felddetails
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Konstruktordetails
-
RemoveContentStateOperationSpec
Constructs a validated instance ofRemoveContentStateOperationSpec.- Parameter:
spec- the specification to process
-
RemoveContentStateOperationSpec
Constructs a validated instance ofRemoveContentStateOperationSpec.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
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
builder
-
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 -
id
The Id of the content whose content state is to be set.- Gibt zurück:
this.
-
status
status of content state from which to delete state. Can be draft or archived- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-