Class CopyPageRequestDestination
java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.CopyPageRequestDestination
@Generated("io.github.primelib.primecodegen")
public class CopyPageRequestDestination
extends Object
CopyPageRequestDestination
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
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCopyPageRequestDestination(String type, String value) Constructs a validated instance ofCopyPageRequestDestination.Constructs a validated instance ofCopyPageRequestDestination. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleaninthashCode()toString()type()value()The space key for `space` type, and content id for `parent_page`, `parent_content`, and `existing_page`The space key for `space` type, and content id for `parent_page`, `parent_content`, and `existing_page`
-
Field Details
-
type
-
value
The space key for `space` type, and content id for `parent_page`, `parent_content`, and `existing_page`
-
-
Constructor Details
-
CopyPageRequestDestination
Constructs a validated instance ofCopyPageRequestDestination.- Parameters:
spec- the specification to process
-
CopyPageRequestDestination
Constructs a validated instance ofCopyPageRequestDestination.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
CopyPageRequestDestination(Consumer)instead.- Parameters:
type- typevalue- The space key for `space` type, and content id for `parent_page`, `parent_content`, and `existing_page`
-
CopyPageRequestDestination
protected CopyPageRequestDestination()
-
-
Method Details
-
type
-
value
The space key for `space` type, and content id for `parent_page`, `parent_content`, and `existing_page` -
type
- Returns:
this.
-
value
The space key for `space` type, and content id for `parent_page`, `parent_content`, and `existing_page`- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-