Class CopyPageRequest
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Bodyded886If defined, this will replace the body of the destination page.protected 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`, 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 CopyPageRequestDestinationDefines where the page will be copied to, and can be one of the following types.protected StringIf defined, this will replace the title of the destination page. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedProtected no-args constructor for use by serialization frameworks.CopyPageRequest(Boolean copyAttachments, Boolean copyPermissions, Boolean copyProperties, Boolean copyLabels, Boolean copyCustomContents, CopyPageRequestDestination destination, String pageTitle, Bodyded886 body) Constructs a validated instance ofCopyPageRequest.Constructs a validated instance ofCopyPageRequest. -
Method Summary
Modifier and TypeMethodDescriptionbody()Fluent getter for body.body(Bodyded886 body) Fluent setter for body.Fluent getter for copyAttachments.copyAttachments(Boolean copyAttachments) Fluent setter for copyAttachments.Fluent getter for copyCustomContents.copyCustomContents(Boolean copyCustomContents) Fluent setter for copyCustomContents.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 destination.destination(CopyPageRequestDestination destination) Fluent setter for destination.booleangetBody()Gets the value of body.Gets the value of copyAttachments.Gets the value of copyCustomContents.Gets the value of copyLabels.Gets the value of copyPermissions.Gets the value of copyProperties.Gets the value of destination.Gets the value of pageTitle.inthashCode()Fluent getter for pageTitle.Fluent setter for pageTitle.voidsetBody(Bodyded886 body) Sets the value of body.voidsetCopyAttachments(Boolean copyAttachments) Sets the value of copyAttachments.voidsetCopyCustomContents(Boolean copyCustomContents) Sets the value of copyCustomContents.voidsetCopyLabels(Boolean copyLabels) Sets the value of copyLabels.voidsetCopyPermissions(Boolean copyPermissions) Sets the value of copyPermissions.voidsetCopyProperties(Boolean copyProperties) Sets the value of copyProperties.voidsetDestination(CopyPageRequestDestination destination) Sets the value of destination.voidsetPageTitle(String pageTitle) Sets the value of pageTitle.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. -
destination
Defines where the page will be copied to, and can be one of the following types. - `parent_page`: page will be copied as a child of the specified parent page - `parent_content`: page will be copied as a child of the specified parent content - `space`: page will be copied to the specified space as a root page on the space - `existing_page`: page will be copied and replace the specified page -
pageTitle
If defined, this will replace the title of the destination page. -
body
If defined, this will replace the body of the destination page.
-
-
Constructor Details
-
CopyPageRequest
Constructs a validated instance ofCopyPageRequest.- Parameters:
spec- the specification to process
-
CopyPageRequest
@Internal protected CopyPageRequest()Protected no-args constructor for use by serialization frameworks. -
CopyPageRequest
@Internal public CopyPageRequest(Boolean copyAttachments, Boolean copyPermissions, Boolean copyProperties, Boolean copyLabels, Boolean copyCustomContents, CopyPageRequestDestination destination, String pageTitle, Bodyded886 body) Constructs a validated instance ofCopyPageRequest.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
CopyPageRequest(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.destination- Defines where the page will be copied to, and can be one of the following types. - `parent_page`: page will be copied as a child of the specified parent page - `parent_content`: page will be copied as a child of the specified parent content - `space`: page will be copied to the specified space as a root page on the space - `existing_page`: page will be copied and replace the specified pagepageTitle- If defined, this will replace the title of the destination page.body- If defined, this will replace the body of the destination page.
-
-
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
-
destination
Fluent getter for destination.Defines where the page will be copied to, and can be one of the following types. - `parent_page`: page will be copied as a child of the specified parent page - `parent_content`: page will be copied as a child of the specified parent content - `space`: page will be copied to the specified space as a root page on the space - `existing_page`: page will be copied and replace the specified page
- Returns:
- destination
-
destination
Fluent setter for destination.Defines where the page will be copied to, and can be one of the following types. - `parent_page`: page will be copied as a child of the specified parent page - `parent_content`: page will be copied as a child of the specified parent content - `space`: page will be copied to the specified space as a root page on the space - `existing_page`: page will be copied and replace the specified page
- Parameters:
destination- destination- Returns:
- this
-
getDestination
Gets the value of destination.Defines where the page will be copied to, and can be one of the following types. - `parent_page`: page will be copied as a child of the specified parent page - `parent_content`: page will be copied as a child of the specified parent content - `space`: page will be copied to the specified space as a root page on the space - `existing_page`: page will be copied and replace the specified page
- Returns:
- destination
-
setDestination
Sets the value of destination.Defines where the page will be copied to, and can be one of the following types. - `parent_page`: page will be copied as a child of the specified parent page - `parent_content`: page will be copied as a child of the specified parent content - `space`: page will be copied to the specified space as a root page on the space - `existing_page`: page will be copied and replace the specified page
- Parameters:
destination- destination
-
pageTitle
Fluent getter for pageTitle.If defined, this will replace the title of the destination page.
- Returns:
- pageTitle
-
pageTitle
Fluent setter for pageTitle.If defined, this will replace the title of the destination page.
- Parameters:
pageTitle- pageTitle- Returns:
- this
-
getPageTitle
Gets the value of pageTitle.If defined, this will replace the title of the destination page.
- Returns:
- pageTitle
-
setPageTitle
Sets the value of pageTitle.If defined, this will replace the title of the destination page.
- Parameters:
pageTitle- pageTitle
-
body
Fluent getter for body.If defined, this will replace the body of the destination page.
- Returns:
- body
-
body
Fluent setter for body.If defined, this will replace the body of the destination page.
- Parameters:
body- body- Returns:
- this
-
getBody
Gets the value of body.If defined, this will replace the body of the destination page.
- Returns:
- body
-
setBody
Sets the value of body.If defined, this will replace the body of the destination page.
- Parameters:
body- body
-
equals
-
hashCode
-
toString
-