Klasse GetBlogpostAttachmentsOperationSpec.GetBlogpostAttachmentsOperationSpecBuilder
java.lang.Object
io.github.primelib.confluence4j.rest.v2.spec.GetBlogpostAttachmentsOperationSpec.GetBlogpostAttachmentsOperationSpecBuilder
- Umschließende Klasse:
GetBlogpostAttachmentsOperationSpec
public static class GetBlogpostAttachmentsOperationSpec.GetBlogpostAttachmentsOperationSpecBuilder
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 blog post for which attachments should be returned.Maximum number of attachments per result to return.Filters on the mediaType of attachments.serializeIdsAsStrings(@Nullable Boolean serializeIdsAsStrings) Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period.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 GetBlogpostAttachmentsOperationSpec.GetBlogpostAttachmentsOperationSpecBuilder id(@NotNull @NotNull Long id) The ID of the blog post for which attachments should be returned.- Gibt zurück:
this.
-
sort
public GetBlogpostAttachmentsOperationSpec.GetBlogpostAttachmentsOperationSpecBuilder sort(@Nullable @Nullable AttachmentSortOrder sort) Used to sort the result by a particular field.- Gibt zurück:
this.
-
cursor
public GetBlogpostAttachmentsOperationSpec.GetBlogpostAttachmentsOperationSpecBuilder 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 GetBlogpostAttachmentsOperationSpec.GetBlogpostAttachmentsOperationSpecBuilder 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 GetBlogpostAttachmentsOperationSpec.GetBlogpostAttachmentsOperationSpecBuilder mediaType(@Nullable @Nullable String mediaType) Filters on the mediaType of attachments. Only one may be specified.- Gibt zurück:
this.
-
filename
public GetBlogpostAttachmentsOperationSpec.GetBlogpostAttachmentsOperationSpecBuilder filename(@Nullable @Nullable String filename) Filters on the file-name of attachments. Only one may be specified.- Gibt zurück:
this.
-
limit
public GetBlogpostAttachmentsOperationSpec.GetBlogpostAttachmentsOperationSpecBuilder 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.
-
serializeIdsAsStrings
public GetBlogpostAttachmentsOperationSpec.GetBlogpostAttachmentsOperationSpecBuilder serializeIdsAsStrings(@Nullable @Nullable Boolean serializeIdsAsStrings) Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.- Gibt zurück:
this.
-
build
-
toString
-