Class 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
ConstructorsModifierConstructorDescriptionprotectedProtected no-args constructor for use by serialization frameworks.CopyPageHierarchyRequest(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 TypeMethodDescriptionFluent getter for copyAttachments.copyAttachments(Boolean copyAttachments) Fluent setter for copyAttachments.Fluent getter for copyCustomContents.copyCustomContents(Boolean copyCustomContents) Fluent setter for copyCustomContents.Fluent getter for copyDescendants.copyDescendants(Boolean copyDescendants) Fluent setter for copyDescendants.Fluent getter for copyLabels.copyLabels(Boolean copyLabels) Fluent setter for copyLabels.Fluent getter for copyPermissions.copyPermissions(Boolean copyPermissions) Fluent setter for copyPermissions.Fluent getter for copyProperties.copyProperties(Boolean copyProperties) Fluent setter for copyProperties.Fluent getter for destinationPageId.destinationPageId(String destinationPageId) Fluent setter for destinationPageId.booleanGets the value of copyAttachments.Gets the value of copyCustomContents.Gets the value of copyDescendants.Gets the value of copyLabels.Gets the value of copyPermissions.Gets the value of copyProperties.Gets the value of destinationPageId.Gets the value of titleOptions.inthashCode()voidsetCopyAttachments(Boolean copyAttachments) Sets the value of copyAttachments.voidsetCopyCustomContents(Boolean copyCustomContents) Sets the value of copyCustomContents.voidsetCopyDescendants(Boolean copyDescendants) Sets the value of copyDescendants.voidsetCopyLabels(Boolean copyLabels) Sets the value of copyLabels.voidsetCopyPermissions(Boolean copyPermissions) Sets the value of copyPermissions.voidsetCopyProperties(Boolean copyProperties) Sets the value of copyProperties.voidsetDestinationPageId(String destinationPageId) Sets the value of destinationPageId.voidsetTitleOptions(CopyPageHierarchyTitleOptions titleOptions) Sets the value of titleOptions.Fluent getter for titleOptions.titleOptions(CopyPageHierarchyTitleOptions titleOptions) Fluent setter for titleOptions.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 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 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.
-
-
Method Details
-
copyAttachments
Fluent getter for copyAttachments.If set to `true`, attachments are copied to the destination page.
- Returns:
- copyAttachments
-
copyAttachments
Fluent setter for copyAttachments.If set to `true`, attachments are copied to the destination page.
- Parameters:
copyAttachments- copyAttachments- Returns:
- this
-
getCopyAttachments
Gets the value of copyAttachments.If set to `true`, attachments are copied to the destination page.
- Returns:
- copyAttachments
-
setCopyAttachments
Sets the value of copyAttachments.If set to `true`, attachments are copied to the destination page.
- Parameters:
copyAttachments- copyAttachments
-
copyPermissions
Fluent getter for copyPermissions.If set to `true`, page permissions are copied to the destination page.
- Returns:
- copyPermissions
-
copyPermissions
Fluent setter for copyPermissions.If set to `true`, page permissions are copied to the destination page.
- Parameters:
copyPermissions- copyPermissions- Returns:
- this
-
getCopyPermissions
Gets the value of copyPermissions.If set to `true`, page permissions are copied to the destination page.
- Returns:
- copyPermissions
-
setCopyPermissions
Sets the value of copyPermissions.If set to `true`, page permissions are copied to the destination page.
- Parameters:
copyPermissions- copyPermissions
-
copyProperties
Fluent getter for copyProperties.If set to `true`, content properties are copied to the destination page.
- Returns:
- copyProperties
-
copyProperties
Fluent setter for copyProperties.If set to `true`, content properties are copied to the destination page.
- Parameters:
copyProperties- copyProperties- Returns:
- this
-
getCopyProperties
Gets the value of copyProperties.If set to `true`, content properties are copied to the destination page.
- Returns:
- copyProperties
-
setCopyProperties
Sets the value of copyProperties.If set to `true`, content properties are copied to the destination page.
- Parameters:
copyProperties- copyProperties
-
copyLabels
Fluent getter for copyLabels.If set to `true`, labels are copied to the destination page.
- Returns:
- copyLabels
-
copyLabels
Fluent setter for copyLabels.If set to `true`, labels are copied to the destination page.
- Parameters:
copyLabels- copyLabels- Returns:
- this
-
getCopyLabels
Gets the value of copyLabels.If set to `true`, labels are copied to the destination page.
- Returns:
- copyLabels
-
setCopyLabels
Sets the value of copyLabels.If set to `true`, labels are copied to the destination page.
- Parameters:
copyLabels- copyLabels
-
copyCustomContents
Fluent getter for copyCustomContents.If set to `true`, custom contents are copied to the destination page.
- Returns:
- copyCustomContents
-
copyCustomContents
Fluent setter for copyCustomContents.If set to `true`, custom contents are copied to the destination page.
- Parameters:
copyCustomContents- copyCustomContents- Returns:
- this
-
getCopyCustomContents
Gets the value of copyCustomContents.If set to `true`, custom contents are copied to the destination page.
- Returns:
- copyCustomContents
-
setCopyCustomContents
Sets the value of copyCustomContents.If set to `true`, custom contents are copied to the destination page.
- Parameters:
copyCustomContents- copyCustomContents
-
copyDescendants
Fluent getter for copyDescendants.If set to `true`, descendants are copied to the destination page.
- Returns:
- copyDescendants
-
copyDescendants
Fluent setter for copyDescendants.If set to `true`, descendants are copied to the destination page.
- Parameters:
copyDescendants- copyDescendants- Returns:
- this
-
getCopyDescendants
Gets the value of copyDescendants.If set to `true`, descendants are copied to the destination page.
- Returns:
- copyDescendants
-
setCopyDescendants
Sets the value of copyDescendants.If set to `true`, descendants are copied to the destination page.
- Parameters:
copyDescendants- copyDescendants
-
destinationPageId
-
destinationPageId
Fluent setter for destinationPageId.- Parameters:
destinationPageId- destinationPageId- Returns:
- this
-
getDestinationPageId
Gets the value of destinationPageId.- Returns:
- destinationPageId
-
setDestinationPageId
Sets the value of destinationPageId.- Parameters:
destinationPageId- destinationPageId
-
titleOptions
Fluent getter for titleOptions.Required for copying page in the same space.
- Returns:
- titleOptions
-
titleOptions
Fluent setter for titleOptions.Required for copying page in the same space.
- Parameters:
titleOptions- titleOptions- Returns:
- this
-
getTitleOptions
Gets the value of titleOptions.Required for copying page in the same space.
- Returns:
- titleOptions
-
setTitleOptions
Sets the value of titleOptions.Required for copying page in the same space.
- Parameters:
titleOptions- titleOptions
-
equals
-
hashCode
-
toString
-