Klasse CreateAttachmentOperationSpec.CreateAttachmentOperationSpecBuilder
java.lang.Object
io.github.primelib.confluence4j.rest.v1.spec.CreateAttachmentOperationSpec.CreateAttachmentOperationSpecBuilder
- Umschließende Klasse:
CreateAttachmentOperationSpec
public static class CreateAttachmentOperationSpec.CreateAttachmentOperationSpecBuilder
extends Object
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungThe relative location and name of the attachment to be added to the content.build()The comment for the attachment that is being added.The ID of the content to add the attachment to.IfminorEditsis set to 'true', no notification email or activity stream will be generated when the attachment is added to the content.The status of the content that the attachment is being added to.toString()
-
Methodendetails
-
id
public CreateAttachmentOperationSpec.CreateAttachmentOperationSpecBuilder id(@NotNull @NotNull String id) The ID of the content to add the attachment to.- Gibt zurück:
this.
-
_file
public CreateAttachmentOperationSpec.CreateAttachmentOperationSpecBuilder _file(@NotNull @NotNull File _file) The relative location and name of the attachment to be added to the content.- Gibt zurück:
this.
-
minorEdit
public CreateAttachmentOperationSpec.CreateAttachmentOperationSpecBuilder minorEdit(@NotNull @NotNull File 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.
-
status
public CreateAttachmentOperationSpec.CreateAttachmentOperationSpecBuilder status(@Nullable @Nullable String status) The status of the content that the attachment is being added to.- Gibt zurück:
this.
-
comment
public CreateAttachmentOperationSpec.CreateAttachmentOperationSpecBuilder comment(@Nullable @Nullable File 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.
-
build
-
toString
-