Class CopyPageHierarchyRequest
java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.CopyPageHierarchyRequest
CopyPageHierarchyRequest
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BooleanIf set to `true`, attachments are copied to the destination page.protected BooleanIf set to `true`, custom contents are copied to the destination page.protected BooleanIf set to `true`, descendants are copied to the destination page.protected BooleanIf set to `true`, labels are copied to the destination page.protected BooleanIf set to `true`, page permissions are copied to the destination page.protected BooleanIf set to `true`, content properties are copied to the destination page.protected Stringprotected CopyPageHierarchyTitleOptionsRequired for copying page in the same space. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCopyPageHierarchyRequest(Boolean copyAttachments, Boolean copyPermissions, Boolean copyProperties, Boolean copyLabels, Boolean copyCustomContents, Boolean copyDescendants, String destinationPageId, CopyPageHierarchyTitleOptions titleOptions) Constructs a validated instance ofCopyPageHierarchyRequest.Constructs a validated instance ofCopyPageHierarchyRequest. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanIf set to `true`, attachments are copied to the destination page.copyAttachments(Boolean copyAttachments) If set to `true`, attachments are copied to the destination page.If set to `true`, custom contents are copied to the destination page.copyCustomContents(Boolean copyCustomContents) If set to `true`, custom contents are copied to the destination page.If set to `true`, descendants are copied to the destination page.copyDescendants(Boolean copyDescendants) If set to `true`, descendants are copied to the destination page.If set to `true`, labels are copied to the destination page.copyLabels(Boolean copyLabels) If set to `true`, labels are copied to the destination page.If set to `true`, page permissions are copied to the destination page.copyPermissions(Boolean copyPermissions) If set to `true`, page permissions are copied to the destination page.If set to `true`, content properties are copied to the destination page.copyProperties(Boolean copyProperties) If set to `true`, content properties are copied to the destination page.destinationPageId(String destinationPageId) booleaninthashCode()Required for copying page in the same space.titleOptions(CopyPageHierarchyTitleOptions titleOptions) Required for copying page in the same space.toString()
-
Field Details
-
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
-
titleOptions
Required for copying page in the same space.
-
-
Constructor Details
-
CopyPageHierarchyRequest
Constructs a validated instance ofCopyPageHierarchyRequest.- 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 ofCopyPageHierarchyRequest.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- destinationPageIdtitleOptions- Required for copying page in the same space.
-
CopyPageHierarchyRequest
protected CopyPageHierarchyRequest()
-
-
Method Details
-
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
-
titleOptions
Required for copying page in the same space. -
copyAttachments
If set to `true`, attachments are copied to the destination page.- Returns:
this.
-
copyPermissions
If set to `true`, page permissions are copied to the destination page.- Returns:
this.
-
copyProperties
If set to `true`, content properties are copied to the destination page.- Returns:
this.
-
copyLabels
If set to `true`, labels are copied to the destination page.- Returns:
this.
-
copyCustomContents
If set to `true`, custom contents are copied to the destination page.- Returns:
this.
-
copyDescendants
If set to `true`, descendants are copied to the destination page.- Returns:
this.
-
destinationPageId
- Returns:
this.
-
titleOptions
Required for copying page in the same space.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-