Klasse CreateOrUpdateAttachmentsOperationSpec.CreateOrUpdateAttachmentsOperationSpecBuilder
java.lang.Object
io.github.primelib.confluence4j.rest.v1.spec.CreateOrUpdateAttachmentsOperationSpec.CreateOrUpdateAttachmentsOperationSpecBuilder
- Umschließende Klasse:
CreateOrUpdateAttachmentsOperationSpec
public static class CreateOrUpdateAttachmentsOperationSpec.CreateOrUpdateAttachmentsOperationSpecBuilder
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 CreateOrUpdateAttachmentsOperationSpec.CreateOrUpdateAttachmentsOperationSpecBuilder id(@NotNull @NotNull String id) The ID of the content to add the attachment to.- Gibt zurück:
this.
-
_file
public CreateOrUpdateAttachmentsOperationSpec.CreateOrUpdateAttachmentsOperationSpecBuilder _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 CreateOrUpdateAttachmentsOperationSpec.CreateOrUpdateAttachmentsOperationSpecBuilder 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 CreateOrUpdateAttachmentsOperationSpec.CreateOrUpdateAttachmentsOperationSpecBuilder status(@Nullable @Nullable String status) The status of the content that the attachment is being added to. This should always be set to 'current'.- Gibt zurück:
this.
-
comment
public CreateOrUpdateAttachmentsOperationSpec.CreateOrUpdateAttachmentsOperationSpecBuilder 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
-