Class PostSpacePrivateV1OperationSpec
java.lang.Object
io.github.primelib.confluence4j.rest.v1.operations.PostSpacePrivateV1OperationSpec
@Generated("io.github.primelib.primecodegen")
public class PostSpacePrivateV1OperationSpec
extends Object
PostSpacePrivateV1
Creates a new space that is only visible to the creator. This method is the same as the [Create space](#api-space-post) method with permissions set to the current user only. Note, currently you cannot set space labels when creating a space. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'Create Space(s)' global permission.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Booleanallows to disable validation of the spec, use with care! -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Constructor Details
-
PostSpacePrivateV1OperationSpec
Constructs a validated instance ofPostSpacePrivateV1OperationSpec.- 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
-
payload
-
payload
The space to be created.- Returns:
this.
-
equals
-
canEqual
-
hashCode
-
toString
-