Class PutSpaceBySpaceKeyV1OperationSpec
java.lang.Object
io.github.primelib.confluence4j.rest.v1.operations.PutSpaceBySpaceKeyV1OperationSpec
@Generated("io.github.primelib.primecodegen")
public class PutSpaceBySpaceKeyV1OperationSpec
extends Object
PutSpaceBySpaceKeyV1
Updates the name, description, or homepage of a space. - For security reasons, permissions cannot be updated via the API and must be changed via the user interface instead. - Currently you cannot set space labels when updating a space. **[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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleaninthashCode()payload()The updated space.The updated space.@NonNull StringspaceKey()The key of the space to update.The key of the space to update.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
-
PutSpaceBySpaceKeyV1OperationSpec
@Internal public PutSpaceBySpaceKeyV1OperationSpec(Consumer<PutSpaceBySpaceKeyV1OperationSpec> spec) Constructs a validated instance ofPutSpaceBySpaceKeyV1OperationSpec.- 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 update. -
payload
-
spaceKey
The key of the space to update.- Returns:
this.
-
payload
The updated space.- Returns:
this.
-
equals
-
canEqual
-
hashCode
-
toString
-