Class PostAuditV1OperationSpec
java.lang.Object
io.github.primelib.confluence4j.rest.v1.operations.PostAuditV1OperationSpec
PostAuditV1
Creates a record in the audit log. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'Confluence Administrator' global permission.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Booleanallows to disable validation of the spec, use with care! -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleaninthashCode()@NonNull AuditRecordCreatepayload()The record to be created in the audit log.payload(@NonNull AuditRecordCreate payload) The record to be created in the audit log.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
-
PostAuditV1OperationSpec
Constructs a validated instance ofPostAuditV1OperationSpec.- 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 record to be created in the audit log. -
payload
The record to be created in the audit log.- Returns:
this.
-
equals
-
canEqual
-
hashCode
-
toString
-