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 Details

    • VALIDATION_ENABLED

      @Experimental public static Boolean VALIDATION_ENABLED
      allows to disable validation of the spec, use with care!
  • Constructor Details

  • Method Details

    • validate

      public void validate()
      Validates the Spec, will throw a exception if required parameters are missing
      Throws:
      NullPointerException
    • spaceKey

      public @Nullable String 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

      public @NonNull LookAndFeel 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

      public PostSettingsLookandfeelCustomV1OperationSpec spaceKey(@Nullable String 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

      public PostSettingsLookandfeelCustomV1OperationSpec payload(@NonNull LookAndFeel 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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object