Klasse DeleteBlogPostOperationSpec
java.lang.Object
io.github.primelib.confluence4j.rest.v2.spec.DeleteBlogPostOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class DeleteBlogPostOperationSpec
extends Object
DeleteBlogPostSpec
Specification for the DeleteBlogPost operation.
Delete blog post
-
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
KonstruktorenModifiziererKonstruktorBeschreibungprotectedDeleteBlogPostOperationSpec(Long id, Boolean purge, Boolean draft) Constructs a validated instance ofDeleteBlogPostOperationSpec.Constructs a validated instance ofDeleteBlogPostOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuilder()protected boolean@Nullable Booleandraft()If attempting to delete a blog post that is a draft.If attempting to delete a blog post that is a draft.booleaninthashCode()@NotNull Longid()The ID of the blog post to be deleted.The ID of the blog post to be deleted.@Nullable Booleanpurge()If attempting to purge the blog post.If attempting to purge the blog post.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
-
DeleteBlogPostOperationSpec
Constructs a validated instance ofDeleteBlogPostOperationSpec.- Parameter:
spec- the specification to process
-
DeleteBlogPostOperationSpec
Constructs a validated instance ofDeleteBlogPostOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
id- The ID of the blog post to be deleted.purge- If attempting to purge the blog post.draft- If attempting to delete a blog post that is a draft.
-
DeleteBlogPostOperationSpec
protected DeleteBlogPostOperationSpec()
-
-
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 blog post to be deleted. -
purge
If attempting to purge the blog post. -
draft
If attempting to delete a blog post that is a draft. -
id
The ID of the blog post to be deleted.- Gibt zurück:
this.
-
purge
If attempting to purge the blog post.- Gibt zurück:
this.
-
draft
If attempting to delete a blog post that is a draft.- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-