Klasse GetPageAttachmentsOperationSpec.GetPageAttachmentsOperationSpecBuilder
java.lang.Object
io.github.primelib.confluence4j.rest.v2.spec.GetPageAttachmentsOperationSpec.GetPageAttachmentsOperationSpecBuilder
- Umschließende Klasse:
GetPageAttachmentsOperationSpec
public static class GetPageAttachmentsOperationSpec.GetPageAttachmentsOperationSpecBuilder
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 page 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 GetPageAttachmentsOperationSpec.GetPageAttachmentsOperationSpecBuilder id(@NotNull @NotNull Long id) The ID of the page for which attachments should be returned.- Gibt zurück:
this.
-
sort
public GetPageAttachmentsOperationSpec.GetPageAttachmentsOperationSpecBuilder sort(@Nullable @Nullable AttachmentSortOrder sort) Used to sort the result by a particular field.- Gibt zurück:
this.
-
cursor
public GetPageAttachmentsOperationSpec.GetPageAttachmentsOperationSpecBuilder 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 GetPageAttachmentsOperationSpec.GetPageAttachmentsOperationSpecBuilder 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 GetPageAttachmentsOperationSpec.GetPageAttachmentsOperationSpecBuilder mediaType(@Nullable @Nullable String mediaType) Filters on the mediaType of attachments. Only one may be specified.- Gibt zurück:
this.
-
filename
public GetPageAttachmentsOperationSpec.GetPageAttachmentsOperationSpecBuilder filename(@Nullable @Nullable String filename) Filters on the file-name of attachments. Only one may be specified.- Gibt zurück:
this.
-
limit
public GetPageAttachmentsOperationSpec.GetPageAttachmentsOperationSpecBuilder 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
-