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