Class PostSettingsLookandfeelCustomV1OperationSpec
java.lang.Object
io.github.primelib.confluence4j.rest.v1.operations.PostSettingsLookandfeelCustomV1OperationSpec
@Generated("io.github.primelib.primecodegen")
public class PostSettingsLookandfeelCustomV1OperationSpec
extends Object
PostSettingsLookandfeelCustomV1
Updates the look and feel settings for the site or for a single space. If custom settings exist, they are updated. If no custom settings exist, then a set of custom settings is created. Note, if a theme is selected for a space, the space look and feel settings are provided by the theme and cannot be overridden. **[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
ConstructorsConstructorDescriptionPostSettingsLookandfeelCustomV1OperationSpec(Consumer<PostSettingsLookandfeelCustomV1OperationSpec> spec) Constructs a validated instance ofPostSettingsLookandfeelCustomV1OperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleaninthashCode()@NonNull LookAndFeelpayload()The updated settings.payload(@NonNull LookAndFeel payload) The updated settings.@Nullable StringspaceKey()The key of the space for which the look and feel settings will be updated.The key of the space for which the look and feel settings will be updated.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
-
PostSettingsLookandfeelCustomV1OperationSpec
@Internal public PostSettingsLookandfeelCustomV1OperationSpec(Consumer<PostSettingsLookandfeelCustomV1OperationSpec> spec) Constructs a validated instance ofPostSettingsLookandfeelCustomV1OperationSpec.- 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 updated. If this is not set, the global look and feel settings will be updated. -
payload
The updated settings. All values for the settings must be included, regardless of whether they are being changed. One way to create the request body is to copy the settings from the response body of [Get look and feel settings](#api-settings-lookandfeel-get) and modify it as needed. -
spaceKey
The key of the space for which the look and feel settings will be updated. If this is not set, the global look and feel settings will be updated.- Returns:
this.
-
payload
The updated settings. All values for the settings must be included, regardless of whether they are being changed. One way to create the request body is to copy the settings from the response body of [Get look and feel settings](#api-settings-lookandfeel-get) and modify it as needed.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-