Class DeleteSettingsLookandfeelCustomV1OperationSpec
java.lang.Object
io.github.primelib.confluence4j.rest.v1.operations.DeleteSettingsLookandfeelCustomV1OperationSpec
@Generated("io.github.primelib.primecodegen")
public class DeleteSettingsLookandfeelCustomV1OperationSpec
extends Object
DeleteSettingsLookandfeelCustomV1
Resets the custom look and feel settings for the site or a single space. This changes the values of the custom settings to be the same as the default settings. It does not change which settings (default or custom) are selected. Note, the default space settings are inherited from the current global settings. **[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
ConstructorsConstructorDescriptionDeleteSettingsLookandfeelCustomV1OperationSpec(Consumer<DeleteSettingsLookandfeelCustomV1OperationSpec> spec) Constructs a validated instance ofDeleteSettingsLookandfeelCustomV1OperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleaninthashCode()@Nullable StringspaceKey()The key of the space for which the look and feel settings will be reset.The key of the space for which the look and feel settings will be reset.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
-
DeleteSettingsLookandfeelCustomV1OperationSpec
@Internal public DeleteSettingsLookandfeelCustomV1OperationSpec(Consumer<DeleteSettingsLookandfeelCustomV1OperationSpec> spec) Constructs a validated instance ofDeleteSettingsLookandfeelCustomV1OperationSpec.- 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 for which the look and feel settings will be reset. If this is not set, the global look and feel settings will be reset. -
spaceKey
The key of the space for which the look and feel settings will be reset. If this is not set, the global look and feel settings will be reset.- Returns:
this.
-
equals
-
canEqual
-
hashCode
-
toString
-