Class GetSpaceBySpaceKeyStateContentV1OperationSpec
java.lang.Object
io.github.primelib.confluence4j.rest.v1.operations.GetSpaceBySpaceKeyStateContentV1OperationSpec
@Generated("io.github.primelib.primecodegen")
public class GetSpaceBySpaceKeyStateContentV1OperationSpec
extends Object
GetSpaceBySpaceKeyStateContentV1
Returns all content that has the provided content state in a space. If the expand query parameter is used with the `body.export_view` and/or `body.styled_view` properties, then the query limit parameter will be restricted to a maximum value of 25. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'View' permission for the space.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Booleanallows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsConstructorDescriptionGetSpaceBySpaceKeyStateContentV1OperationSpec(Consumer<GetSpaceBySpaceKeyStateContentV1OperationSpec> spec) Constructs a validated instance ofGetSpaceBySpaceKeyStateContentV1OperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionprotected 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@NonNull 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.@NonNull 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
-
Field Details
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Constructor Details
-
GetSpaceBySpaceKeyStateContentV1OperationSpec
@Internal public GetSpaceBySpaceKeyStateContentV1OperationSpec(Consumer<GetSpaceBySpaceKeyStateContentV1OperationSpec> spec) Constructs a validated instance ofGetSpaceBySpaceKeyStateContentV1OperationSpec.- Parameters:
spec- the specification to process
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
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
-
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.- Returns:
this.
-
stateId
The id of the content state to filter content by- Returns:
this.
-
expand
A multi-value parameter indicating which properties of the content to expand. Options include: space, version, history, children, etc. Ex: space,version- Returns:
this.
-
limit
Maximum number of results to return- Returns:
this.
-
start
Number of result to start returning. (0 indexed)- Returns:
this.
-
equals
-
canEqual
-
hashCode
-
toString
-