Klasse MovePageOperationSpec
java.lang.Object
io.github.primelib.confluence4j.rest.v1.spec.MovePageOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class MovePageOperationSpec
extends Object
MovePageSpec
Specification for the MovePage operation.
Move a page to a new location relative to a target page
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic class -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic Booleanallows to disable validation of the spec, use with care! -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotectedMovePageOperationSpec(String pageId, String position, String targetId) Constructs a validated instance ofMovePageOperationSpec.Constructs a validated instance ofMovePageOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuilder()protected booleanbooleaninthashCode()@NotNull StringpageId()The ID of the page to be movedThe ID of the page to be moved@NotNull Stringposition()The position to move the page to relative to the target page: *before- move the page under the same parent as the target, before the target in the list of children *after- move the page under the same parent as the target, after the target in the list of children *append- move the page to be a child of the targetThe position to move the page to relative to the target page: *before- move the page under the same parent as the target, before the target in the list of children *after- move the page under the same parent as the target, after the target in the list of children *append- move the page to be a child of the target@NotNull StringtargetId()The ID of the target page for this operationThe ID of the target page for this operationtoString()voidvalidate()Validates the Spec, will throw a exception if required parameters are missing
-
Felddetails
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Konstruktordetails
-
MovePageOperationSpec
Constructs a validated instance ofMovePageOperationSpec.- Parameter:
spec- the specification to process
-
MovePageOperationSpec
Constructs a validated instance ofMovePageOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
pageId- The ID of the page to be movedposition- The position to move the page to relative to the target page: *before- move the page under the same parent as the target, before the target in the list of children *after- move the page under the same parent as the target, after the target in the list of children *append- move the page to be a child of the targettargetId- The ID of the target page for this operation
-
MovePageOperationSpec
protected MovePageOperationSpec()
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
builder
-
pageId
The ID of the page to be moved -
position
The position to move the page to relative to the target page: *before- move the page under the same parent as the target, before the target in the list of children *after- move the page under the same parent as the target, after the target in the list of children *append- move the page to be a child of the target -
targetId
The ID of the target page for this operation -
pageId
The ID of the page to be moved- Gibt zurück:
this.
-
position
The position to move the page to relative to the target page: *before- move the page under the same parent as the target, before the target in the list of children *after- move the page under the same parent as the target, after the target in the list of children *append- move the page to be a child of the target- Gibt zurück:
this.
-
targetId
The ID of the target page for this operation- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-