Class CopyPageHierarchyRequest

java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.CopyPageHierarchyRequest

@Generated("io.github.primelib.primecodegen") public class CopyPageHierarchyRequest extends Object
CopyPageHierarchyRequest
  • Field Details

    • copyAttachments

      protected Boolean copyAttachments
      If set to `true`, attachments are copied to the destination page.
    • copyPermissions

      protected Boolean copyPermissions
      If set to `true`, page permissions are copied to the destination page.
    • copyProperties

      protected Boolean copyProperties
      If set to `true`, content properties are copied to the destination page.
    • copyLabels

      protected Boolean copyLabels
      If set to `true`, labels are copied to the destination page.
    • copyCustomContents

      protected Boolean copyCustomContents
      If set to `true`, custom contents are copied to the destination page.
    • copyDescendants

      protected Boolean copyDescendants
      If set to `true`, descendants are copied to the destination page.
    • destinationPageId

      protected String destinationPageId
    • titleOptions

      protected CopyPageHierarchyTitleOptions titleOptions
      Required for copying page in the same space.
  • Constructor Details

    • CopyPageHierarchyRequest

      public CopyPageHierarchyRequest(Consumer<CopyPageHierarchyRequest> spec)
      Constructs a validated instance of CopyPageHierarchyRequest.
      Parameters:
      spec - the specification to process
    • CopyPageHierarchyRequest

      @Internal public CopyPageHierarchyRequest(Boolean copyAttachments, Boolean copyPermissions, Boolean copyProperties, Boolean copyLabels, Boolean copyCustomContents, Boolean copyDescendants, String destinationPageId, CopyPageHierarchyTitleOptions titleOptions)
      Constructs a validated instance of CopyPageHierarchyRequest.

      NOTE: This constructor is not considered stable and may change if the model is updated. Consider using CopyPageHierarchyRequest(Consumer) instead.

      Parameters:
      copyAttachments - If set to `true`, attachments are copied to the destination page.
      copyPermissions - If set to `true`, page permissions are copied to the destination page.
      copyProperties - If set to `true`, content properties are copied to the destination page.
      copyLabels - If set to `true`, labels are copied to the destination page.
      copyCustomContents - If set to `true`, custom contents are copied to the destination page.
      copyDescendants - If set to `true`, descendants are copied to the destination page.
      destinationPageId - destinationPageId
      titleOptions - Required for copying page in the same space.
    • CopyPageHierarchyRequest

      protected CopyPageHierarchyRequest()
  • Method Details

    • copyAttachments

      public Boolean copyAttachments()
      If set to `true`, attachments are copied to the destination page.
    • copyPermissions

      public Boolean copyPermissions()
      If set to `true`, page permissions are copied to the destination page.
    • copyProperties

      public Boolean copyProperties()
      If set to `true`, content properties are copied to the destination page.
    • copyLabels

      public Boolean copyLabels()
      If set to `true`, labels are copied to the destination page.
    • copyCustomContents

      public Boolean copyCustomContents()
      If set to `true`, custom contents are copied to the destination page.
    • copyDescendants

      public Boolean copyDescendants()
      If set to `true`, descendants are copied to the destination page.
    • destinationPageId

      public String destinationPageId()
    • titleOptions

      public CopyPageHierarchyTitleOptions titleOptions()
      Required for copying page in the same space.
    • copyAttachments

      public CopyPageHierarchyRequest copyAttachments(Boolean copyAttachments)
      If set to `true`, attachments are copied to the destination page.
      Returns:
      this.
    • copyPermissions

      public CopyPageHierarchyRequest copyPermissions(Boolean copyPermissions)
      If set to `true`, page permissions are copied to the destination page.
      Returns:
      this.
    • copyProperties

      public CopyPageHierarchyRequest copyProperties(Boolean copyProperties)
      If set to `true`, content properties are copied to the destination page.
      Returns:
      this.
    • copyLabels

      public CopyPageHierarchyRequest copyLabels(Boolean copyLabels)
      If set to `true`, labels are copied to the destination page.
      Returns:
      this.
    • copyCustomContents

      public CopyPageHierarchyRequest copyCustomContents(Boolean copyCustomContents)
      If set to `true`, custom contents are copied to the destination page.
      Returns:
      this.
    • copyDescendants

      public CopyPageHierarchyRequest copyDescendants(Boolean copyDescendants)
      If set to `true`, descendants are copied to the destination page.
      Returns:
      this.
    • destinationPageId

      public CopyPageHierarchyRequest destinationPageId(String destinationPageId)
      Returns:
      this.
    • titleOptions

      public CopyPageHierarchyRequest titleOptions(CopyPageHierarchyTitleOptions titleOptions)
      Required for copying page in the same space.
      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