Class GetSpaceBySpaceKeyStateSettingsV1OperationSpec
java.lang.Object
io.github.primelib.confluence4j.rest.v1.operations.GetSpaceBySpaceKeyStateSettingsV1OperationSpec
@Generated("io.github.primelib.primecodegen")
public class GetSpaceBySpaceKeyStateSettingsV1OperationSpec
extends Object
GetSpaceBySpaceKeyStateSettingsV1
Get object describing whether content states are allowed at all, if custom content states or space content states are restricted, and a list of space content states allowed for the space if they are not restricted. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'Admin' permission for the space.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Booleanallows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsConstructorDescriptionGetSpaceBySpaceKeyStateSettingsV1OperationSpec(Consumer<GetSpaceBySpaceKeyStateSettingsV1OperationSpec> spec) Constructs a validated instance ofGetSpaceBySpaceKeyStateSettingsV1OperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleaninthashCode()@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.toString()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
-
GetSpaceBySpaceKeyStateSettingsV1OperationSpec
@Internal public GetSpaceBySpaceKeyStateSettingsV1OperationSpec(Consumer<GetSpaceBySpaceKeyStateSettingsV1OperationSpec> spec) Constructs a validated instance ofGetSpaceBySpaceKeyStateSettingsV1OperationSpec.- 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. -
spaceKey
The key of the space to be queried for its content state settings.- Returns:
this.
-
equals
-
canEqual
-
hashCode
-
toString
-