Class 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
ConstructorsModifierConstructorDescriptionprotectedProtected no-args constructor for use by serialization frameworks.CopyPageRequestDestination(String type, String value) Constructs a validated instance ofCopyPageRequestDestination.Constructs a validated instance ofCopyPageRequestDestination. -
Method Summary
Modifier and TypeMethodDescriptionbooleangetType()Gets the value of type.getValue()Gets the value of value.inthashCode()voidSets the value of type.voidSets the value of value.toString()type()Fluent getter for type.Fluent setter for type.value()Fluent getter for value.Fluent setter for value.
-
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
@Internal protected CopyPageRequestDestination()Protected no-args constructor for use by serialization frameworks. -
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`
-
-
Method Details
-
type
-
type
Fluent setter for type.- Parameters:
type- type- Returns:
- this
-
getType
-
setType
-
value
Fluent getter for value.The space key for `space` type, and content id for `parent_page`, `parent_content`, and `existing_page`
- Returns:
- value
-
value
Fluent setter for value.The space key for `space` type, and content id for `parent_page`, `parent_content`, and `existing_page`
- Parameters:
value- value- Returns:
- this
-
getValue
Gets the value of value.The space key for `space` type, and content id for `parent_page`, `parent_content`, and `existing_page`
- Returns:
- value
-
setValue
Sets the value of value.The space key for `space` type, and content id for `parent_page`, `parent_content`, and `existing_page`
- Parameters:
value- value
-
equals
-
hashCode
-
toString
-