Klasse GetCustomContentAttachmentsOperationSpec.GetCustomContentAttachmentsOperationSpecBuilder
java.lang.Object
io.github.primelib.confluence4j.rest.v2.spec.GetCustomContentAttachmentsOperationSpec.GetCustomContentAttachmentsOperationSpecBuilder
- Umschließende Klasse:
GetCustomContentAttachmentsOperationSpec
public static class GetCustomContentAttachmentsOperationSpec.GetCustomContentAttachmentsOperationSpecBuilder
extends Object
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuild()Used for pagination, this opaque cursor will be returned in thenextURL in theLinkresponse header.Filters on the file-name of attachments.The ID of the custom content for which attachments should be returned.Maximum number of attachments per result to return.Filters on the mediaType of attachments.sort(@Nullable AttachmentSortOrder sort) Used to sort the result by a particular field.Filter the results to attachments based on their status.toString()
-
Methodendetails
-
id
public GetCustomContentAttachmentsOperationSpec.GetCustomContentAttachmentsOperationSpecBuilder id(@NotNull @NotNull Long id) The ID of the custom content for which attachments should be returned.- Gibt zurück:
this.
-
sort
public GetCustomContentAttachmentsOperationSpec.GetCustomContentAttachmentsOperationSpecBuilder sort(@Nullable @Nullable AttachmentSortOrder sort) Used to sort the result by a particular field.- Gibt zurück:
this.
-
cursor
public GetCustomContentAttachmentsOperationSpec.GetCustomContentAttachmentsOperationSpecBuilder cursor(@Nullable @Nullable String cursor) Used for pagination, this opaque cursor will be returned in thenextURL in theLinkresponse header. Use the relative URL in theLinkheader to retrieve thenextset of results.- Gibt zurück:
this.
-
status
public GetCustomContentAttachmentsOperationSpec.GetCustomContentAttachmentsOperationSpecBuilder status(@Nullable @Nullable List<String> status) Filter the results to attachments based on their status. By default,currentandarchivedare used.- Gibt zurück:
this.
-
mediaType
public GetCustomContentAttachmentsOperationSpec.GetCustomContentAttachmentsOperationSpecBuilder mediaType(@Nullable @Nullable String mediaType) Filters on the mediaType of attachments. Only one may be specified.- Gibt zurück:
this.
-
filename
public GetCustomContentAttachmentsOperationSpec.GetCustomContentAttachmentsOperationSpecBuilder filename(@Nullable @Nullable String filename) Filters on the file-name of attachments. Only one may be specified.- Gibt zurück:
this.
-
limit
public GetCustomContentAttachmentsOperationSpec.GetCustomContentAttachmentsOperationSpecBuilder limit(@Nullable @Nullable Integer limit) Maximum number of attachments per result to return. If more results exist, use theLinkheader to retrieve a relative URL that will return the next set of results.- Gibt zurück:
this.
-
build
-
toString
-