Klasse GetContentStateOperationSpec
java.lang.Object
io.github.primelib.confluence4j.rest.v1.spec.GetContentStateOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetContentStateOperationSpec
extends Object
GetContentStateSpec
Specification for the GetContentState operation.
Get content state
-
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
KonstruktorenModifiziererKonstruktorBeschreibungprotectedGetContentStateOperationSpec(String id, String status) Constructs a validated instance ofGetContentStateOperationSpec.Constructs a validated instance ofGetContentStateOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuilder()protected booleanbooleaninthashCode()@NotNull Stringid()The id of the content whose content state is of interest.The id of the content whose content state is of interest.@Nullable Stringstatus()Set status to one of [current,draft,archived].Set status to one of [current,draft,archived].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
-
GetContentStateOperationSpec
Constructs a validated instance ofGetContentStateOperationSpec.- Parameter:
spec- the specification to process
-
GetContentStateOperationSpec
Constructs a validated instance ofGetContentStateOperationSpec.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 of interest.status- Set status to one of [current,draft,archived]. Default value is current.
-
GetContentStateOperationSpec
protected GetContentStateOperationSpec()
-
-
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 of interest. -
status
Set status to one of [current,draft,archived]. Default value is current. -
id
The id of the content whose content state is of interest.- Gibt zurück:
this.
-
status
Set status to one of [current,draft,archived]. Default value is current.- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-