Class PutTemplateV1OperationSpec
java.lang.Object
io.github.primelib.confluence4j.rest.v1.operations.PutTemplateV1OperationSpec
@Generated("io.github.primelib.primecodegen")
public class PutTemplateV1OperationSpec
extends Object
PutTemplateV1
Updates a content template. Note, blueprint templates cannot be updated via the REST API. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'Admin' permission for the space to update a space template or 'Confluence Administrator' global permission to update a global template.
-
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
-
PutTemplateV1OperationSpec
Constructs a validated instance ofPutTemplateV1OperationSpec.- 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
The updated content template. -
payload
The updated content template.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-