Klasse GetContentsWithStateOperationSpec
java.lang.Object
io.github.primelib.confluence4j.rest.v1.spec.GetContentsWithStateOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetContentsWithStateOperationSpec
extends Object
GetContentsWithStateSpec
Specification for the GetContentsWithState operation.
Get content in space with given 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
KonstruktorenModifiziererKonstruktorBeschreibungprotectedGetContentsWithStateOperationSpec(String spaceKey, Integer stateId, List<String> expand, Integer limit, Integer start) Constructs a validated instance ofGetContentsWithStateOperationSpec.Constructs a validated instance ofGetContentsWithStateOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuilder()protected booleanbooleanexpand()A multi-value parameter indicating which properties of the content to expand.A multi-value parameter indicating which properties of the content to expand.inthashCode()@Nullable Integerlimit()Maximum number of results to returnMaximum number of results to return@NotNull StringspaceKey()The key of the space to be queried for its content state settings.The key of the space to be queried for its content state settings.@Nullable Integerstart()Number of result to start returning.Number of result to start returning.@NotNull IntegerstateId()The id of the content state to filter content byThe id of the content state to filter content bytoString()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
-
GetContentsWithStateOperationSpec
@Internal public GetContentsWithStateOperationSpec(Consumer<GetContentsWithStateOperationSpec> spec) Constructs a validated instance ofGetContentsWithStateOperationSpec.- Parameter:
spec- the specification to process
-
GetContentsWithStateOperationSpec
@Internal public GetContentsWithStateOperationSpec(String spaceKey, Integer stateId, List<String> expand, Integer limit, Integer start) Constructs a validated instance ofGetContentsWithStateOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
spaceKey- The key of the space to be queried for its content state settings.stateId- The id of the content state to filter content byexpand- A multi-value parameter indicating which properties of the content to expand. Options include: space, version, history, children, etc. Ex: space,versionlimit- Maximum number of results to returnstart- Number of result to start returning. (0 indexed)
-
GetContentsWithStateOperationSpec
protected GetContentsWithStateOperationSpec()
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
builder
-
spaceKey
The key of the space to be queried for its content state settings. -
stateId
The id of the content state to filter content by -
expand
A multi-value parameter indicating which properties of the content to expand. Options include: space, version, history, children, etc. Ex: space,version -
limit
Maximum number of results to return -
start
Number of result to start returning. (0 indexed) -
spaceKey
The key of the space to be queried for its content state settings.- Gibt zurück:
this.
-
stateId
The id of the content state to filter content by- Gibt zurück:
this.
-
expand
A multi-value parameter indicating which properties of the content to expand. Options include: space, version, history, children, etc. Ex: space,version- Gibt zurück:
this.
-
limit
Maximum number of results to return- Gibt zurück:
this.
-
start
Number of result to start returning. (0 indexed)- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-