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 protected CopyPageHierarchyRequest()
      Protected no-args constructor for use by serialization frameworks.
    • 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.
  • Method Details

    • copyAttachments

      public Boolean copyAttachments()
      Fluent getter for copyAttachments.

      If set to `true`, attachments are copied to the destination page.

      Returns:
      copyAttachments
    • copyAttachments

      public CopyPageHierarchyRequest copyAttachments(Boolean copyAttachments)
      Fluent setter for copyAttachments.

      If set to `true`, attachments are copied to the destination page.

      Parameters:
      copyAttachments - copyAttachments
      Returns:
      this
    • getCopyAttachments

      public Boolean getCopyAttachments()
      Gets the value of copyAttachments.

      If set to `true`, attachments are copied to the destination page.

      Returns:
      copyAttachments
    • setCopyAttachments

      public void setCopyAttachments(Boolean copyAttachments)
      Sets the value of copyAttachments.

      If set to `true`, attachments are copied to the destination page.

      Parameters:
      copyAttachments - copyAttachments
    • copyPermissions

      public Boolean copyPermissions()
      Fluent getter for copyPermissions.

      If set to `true`, page permissions are copied to the destination page.

      Returns:
      copyPermissions
    • copyPermissions

      public CopyPageHierarchyRequest copyPermissions(Boolean copyPermissions)
      Fluent setter for copyPermissions.

      If set to `true`, page permissions are copied to the destination page.

      Parameters:
      copyPermissions - copyPermissions
      Returns:
      this
    • getCopyPermissions

      public Boolean getCopyPermissions()
      Gets the value of copyPermissions.

      If set to `true`, page permissions are copied to the destination page.

      Returns:
      copyPermissions
    • setCopyPermissions

      public void setCopyPermissions(Boolean copyPermissions)
      Sets the value of copyPermissions.

      If set to `true`, page permissions are copied to the destination page.

      Parameters:
      copyPermissions - copyPermissions
    • copyProperties

      public Boolean copyProperties()
      Fluent getter for copyProperties.

      If set to `true`, content properties are copied to the destination page.

      Returns:
      copyProperties
    • copyProperties

      public CopyPageHierarchyRequest copyProperties(Boolean copyProperties)
      Fluent setter for copyProperties.

      If set to `true`, content properties are copied to the destination page.

      Parameters:
      copyProperties - copyProperties
      Returns:
      this
    • getCopyProperties

      public Boolean getCopyProperties()
      Gets the value of copyProperties.

      If set to `true`, content properties are copied to the destination page.

      Returns:
      copyProperties
    • setCopyProperties

      public void setCopyProperties(Boolean copyProperties)
      Sets the value of copyProperties.

      If set to `true`, content properties are copied to the destination page.

      Parameters:
      copyProperties - copyProperties
    • copyLabels

      public Boolean copyLabels()
      Fluent getter for copyLabels.

      If set to `true`, labels are copied to the destination page.

      Returns:
      copyLabels
    • copyLabels

      public CopyPageHierarchyRequest copyLabels(Boolean copyLabels)
      Fluent setter for copyLabels.

      If set to `true`, labels are copied to the destination page.

      Parameters:
      copyLabels - copyLabels
      Returns:
      this
    • getCopyLabels

      public Boolean getCopyLabels()
      Gets the value of copyLabels.

      If set to `true`, labels are copied to the destination page.

      Returns:
      copyLabels
    • setCopyLabels

      public void setCopyLabels(Boolean copyLabels)
      Sets the value of copyLabels.

      If set to `true`, labels are copied to the destination page.

      Parameters:
      copyLabels - copyLabels
    • copyCustomContents

      public Boolean copyCustomContents()
      Fluent getter for copyCustomContents.

      If set to `true`, custom contents are copied to the destination page.

      Returns:
      copyCustomContents
    • copyCustomContents

      public CopyPageHierarchyRequest copyCustomContents(Boolean copyCustomContents)
      Fluent setter for copyCustomContents.

      If set to `true`, custom contents are copied to the destination page.

      Parameters:
      copyCustomContents - copyCustomContents
      Returns:
      this
    • getCopyCustomContents

      public Boolean getCopyCustomContents()
      Gets the value of copyCustomContents.

      If set to `true`, custom contents are copied to the destination page.

      Returns:
      copyCustomContents
    • setCopyCustomContents

      public void setCopyCustomContents(Boolean copyCustomContents)
      Sets the value of copyCustomContents.

      If set to `true`, custom contents are copied to the destination page.

      Parameters:
      copyCustomContents - copyCustomContents
    • copyDescendants

      public Boolean copyDescendants()
      Fluent getter for copyDescendants.

      If set to `true`, descendants are copied to the destination page.

      Returns:
      copyDescendants
    • copyDescendants

      public CopyPageHierarchyRequest copyDescendants(Boolean copyDescendants)
      Fluent setter for copyDescendants.

      If set to `true`, descendants are copied to the destination page.

      Parameters:
      copyDescendants - copyDescendants
      Returns:
      this
    • getCopyDescendants

      public Boolean getCopyDescendants()
      Gets the value of copyDescendants.

      If set to `true`, descendants are copied to the destination page.

      Returns:
      copyDescendants
    • setCopyDescendants

      public void setCopyDescendants(Boolean copyDescendants)
      Sets the value of copyDescendants.

      If set to `true`, descendants are copied to the destination page.

      Parameters:
      copyDescendants - copyDescendants
    • destinationPageId

      public String destinationPageId()
      Fluent getter for destinationPageId.
      Returns:
      destinationPageId
    • destinationPageId

      public CopyPageHierarchyRequest destinationPageId(String destinationPageId)
      Fluent setter for destinationPageId.
      Parameters:
      destinationPageId - destinationPageId
      Returns:
      this
    • getDestinationPageId

      public String getDestinationPageId()
      Gets the value of destinationPageId.
      Returns:
      destinationPageId
    • setDestinationPageId

      public void setDestinationPageId(String destinationPageId)
      Sets the value of destinationPageId.
      Parameters:
      destinationPageId - destinationPageId
    • titleOptions

      public CopyPageHierarchyTitleOptions titleOptions()
      Fluent getter for titleOptions.

      Required for copying page in the same space.

      Returns:
      titleOptions
    • titleOptions

      public CopyPageHierarchyRequest titleOptions(CopyPageHierarchyTitleOptions titleOptions)
      Fluent setter for titleOptions.

      Required for copying page in the same space.

      Parameters:
      titleOptions - titleOptions
      Returns:
      this
    • getTitleOptions

      public CopyPageHierarchyTitleOptions getTitleOptions()
      Gets the value of titleOptions.

      Required for copying page in the same space.

      Returns:
      titleOptions
    • setTitleOptions

      public void setTitleOptions(CopyPageHierarchyTitleOptions titleOptions)
      Sets the value of titleOptions.

      Required for copying page in the same space.

      Parameters:
      titleOptions - titleOptions
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object