Klasse UpdateAttachmentDataOperationSpec
java.lang.Object
io.github.primelib.confluence4j.rest.v1.spec.UpdateAttachmentDataOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class UpdateAttachmentDataOperationSpec
extends Object
UpdateAttachmentDataSpec
Specification for the UpdateAttachmentData operation.
Update attachment data
-
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
KonstruktorenModifiziererKonstruktorBeschreibungprotectedUpdateAttachmentDataOperationSpec(String id, String attachmentId, File _file, File minorEdit, File comment) Constructs a validated instance ofUpdateAttachmentDataOperationSpec.Constructs a validated instance ofUpdateAttachmentDataOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibung@NotNull File_file()The relative location and name of the attachment to be added to the content.The relative location and name of the attachment to be added to the content.@NotNull StringThe ID of the attachment to update.attachmentId(@NotNull String attachmentId) The ID of the attachment to update.builder()protected boolean@Nullable Filecomment()The comment for the attachment that is being added.The comment for the attachment that is being added.booleaninthashCode()@NotNull Stringid()The ID of the content that the attachment is attached to.The ID of the content that the attachment is attached to.@NotNull FileIfminorEditsis set to 'true', no notification email or activity stream will be generated when the attachment is added to the content.IfminorEditsis set to 'true', no notification email or activity stream will be generated when the attachment is added to the content.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
-
UpdateAttachmentDataOperationSpec
@Internal public UpdateAttachmentDataOperationSpec(Consumer<UpdateAttachmentDataOperationSpec> spec) Constructs a validated instance ofUpdateAttachmentDataOperationSpec.- Parameter:
spec- the specification to process
-
UpdateAttachmentDataOperationSpec
@Internal public UpdateAttachmentDataOperationSpec(String id, String attachmentId, File _file, File minorEdit, File comment) Constructs a validated instance ofUpdateAttachmentDataOperationSpec.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._file- The relative location and name of the attachment to be added to the content.minorEdit- IfminorEditsis set to 'true', no notification email or activity stream will be generated when the attachment is added to the content.comment- The comment for the attachment that is being added. If you specify a comment, then every file must have a comment and the comments must be in the same order as the files. Alternatively, don't specify any comments.
-
UpdateAttachmentDataOperationSpec
protected UpdateAttachmentDataOperationSpec()
-
-
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 content that the attachment is attached to. -
attachmentId
The ID of the attachment to update. -
_file
The relative location and name of the attachment to be added to the content. -
minorEdit
IfminorEditsis set to 'true', no notification email or activity stream will be generated when the attachment is added to the content. -
comment
The comment for the attachment that is being added. If you specify a comment, then every file must have a comment and the comments must be in the same order as the files. Alternatively, don't specify any comments. -
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.
-
_file
The relative location and name of the attachment to be added to the content.- Gibt zurück:
this.
-
minorEdit
IfminorEditsis set to 'true', no notification email or activity stream will be generated when the attachment is added to the content.- Gibt zurück:
this.
-
comment
The comment for the attachment that is being added. If you specify a comment, then every file must have a comment and the comments must be in the same order as the files. Alternatively, don't specify any comments.- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-