Klasse DeletePageOperationSpec
java.lang.Object
io.github.primelib.confluence4j.rest.v2.spec.DeletePageOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class DeletePageOperationSpec
extends Object
DeletePageSpec
Specification for the DeletePage operation.
Delete 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
KonstruktorenModifiziererKonstruktorBeschreibungprotectedDeletePageOperationSpec(Long id, Boolean purge, Boolean draft) Constructs a validated instance ofDeletePageOperationSpec.Constructs a validated instance ofDeletePageOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuilder()protected boolean@Nullable Booleandraft()If attempting to delete a page that is a draft.If attempting to delete a page that is a draft.booleaninthashCode()@NotNull Longid()The ID of the page to be deleted.The ID of the page to be deleted.@Nullable Booleanpurge()If attempting to purge the page.If attempting to purge the page.toString()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
-
DeletePageOperationSpec
Constructs a validated instance ofDeletePageOperationSpec.- Parameter:
spec- the specification to process
-
DeletePageOperationSpec
Constructs a validated instance ofDeletePageOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
id- The ID of the page to be deleted.purge- If attempting to purge the page.draft- If attempting to delete a page that is a draft.
-
DeletePageOperationSpec
protected DeletePageOperationSpec()
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
builder
-
id
The ID of the page to be deleted. -
purge
If attempting to purge the page. -
draft
If attempting to delete a page that is a draft. -
id
The ID of the page to be deleted.- Gibt zurück:
this.
-
purge
If attempting to purge the page.- Gibt zurück:
this.
-
draft
If attempting to delete a page that is a draft.- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-