Class CopyPageRequest
java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.CopyPageRequest
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
ConstructorsModifierConstructorDescriptionprotectedCopyPageRequest(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()If defined, this will replace the body of the destination page.body(Bodyded886 body) If defined, this will replace the body of the destination page.protected 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`, 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.Defines where the page will be copied to, and can be one of the following types.destination(CopyPageRequestDestination destination) Defines where the page will be copied to, and can be one of the following types.booleaninthashCode()If defined, this will replace the title of the destination page.If defined, this will replace the title of the destination page.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 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.
-
CopyPageRequest
protected CopyPageRequest()
-
-
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. -
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. -
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.
-
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:
this.
-
pageTitle
If defined, this will replace the title of the destination page.- Returns:
this.
-
body
If defined, this will replace the body of the destination page.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-