Klasse UpdateAttachmentPropertiesOperationSpec
java.lang.Object
io.github.primelib.confluence4j.rest.v1.spec.UpdateAttachmentPropertiesOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class UpdateAttachmentPropertiesOperationSpec
extends Object
UpdateAttachmentPropertiesSpec
Specification for the UpdateAttachmentProperties operation.
Update attachment properties
-
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
KonstruktorenModifiziererKonstruktorBeschreibungprotectedUpdateAttachmentPropertiesOperationSpec(String id, String attachmentId, AttachmentPropertiesUpdateBody body) Constructs a validated instance ofUpdateAttachmentPropertiesOperationSpec.Constructs a validated instance ofUpdateAttachmentPropertiesOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibung@NotNull StringThe ID of the attachment to update.attachmentId(@NotNull String attachmentId) The ID of the attachment to update.@NotNull AttachmentPropertiesUpdateBodybody()The details of the attachment to be updated.body(@NotNull AttachmentPropertiesUpdateBody body) The details of the attachment to be updated.builder()protected booleanbooleaninthashCode()@NotNull Stringid()The ID of the content that the attachment is attached to.The ID of the content that the attachment is attached to.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
-
UpdateAttachmentPropertiesOperationSpec
@Internal public UpdateAttachmentPropertiesOperationSpec(Consumer<UpdateAttachmentPropertiesOperationSpec> spec) Constructs a validated instance ofUpdateAttachmentPropertiesOperationSpec.- Parameter:
spec- the specification to process
-
UpdateAttachmentPropertiesOperationSpec
@Internal public UpdateAttachmentPropertiesOperationSpec(String id, String attachmentId, AttachmentPropertiesUpdateBody body) Constructs a validated instance ofUpdateAttachmentPropertiesOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
id- The ID of the content that the attachment is attached to.attachmentId- The ID of the attachment to update.body- The details of the attachment to be updated.
-
UpdateAttachmentPropertiesOperationSpec
protected UpdateAttachmentPropertiesOperationSpec()
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
builder
public static UpdateAttachmentPropertiesOperationSpec.UpdateAttachmentPropertiesOperationSpecBuilder builder() -
id
The ID of the content that the attachment is attached to. -
attachmentId
The ID of the attachment to update. -
body
The details of the attachment to be updated. -
id
The ID of the content that the attachment is attached to.- Gibt zurück:
this.
-
attachmentId
The ID of the attachment to update.- Gibt zurück:
this.
-
body
public UpdateAttachmentPropertiesOperationSpec body(@NotNull @NotNull AttachmentPropertiesUpdateBody body) The details of the attachment to be updated.- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-