Klasse GetBlogPostLabelsOperationSpec.GetBlogPostLabelsOperationSpecBuilder
java.lang.Object
io.github.primelib.confluence4j.rest.v2.spec.GetBlogPostLabelsOperationSpec.GetBlogPostLabelsOperationSpecBuilder
- Umschließende Klasse:
GetBlogPostLabelsOperationSpec
public static class GetBlogPostLabelsOperationSpec.GetBlogPostLabelsOperationSpecBuilder
extends Object
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuild()
Used for pagination, this opaque cursor will be returned in thenext
URL in theLink
response header.The ID of the blog post for which labels should be returned.Maximum number of labels per result to return.Filter the results to labels based on their prefix.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 List<LabelSortOrder> sort) Used to sort the result by a particular field.toString()
-
Methodendetails
-
id
public GetBlogPostLabelsOperationSpec.GetBlogPostLabelsOperationSpecBuilder id(@NotNull @NotNull Long id) The ID of the blog post for which labels should be returned.- Gibt zurück:
this
.
-
prefix
public GetBlogPostLabelsOperationSpec.GetBlogPostLabelsOperationSpecBuilder prefix(@Nullable @Nullable String prefix) Filter the results to labels based on their prefix.- Gibt zurück:
this
.
-
sort
public GetBlogPostLabelsOperationSpec.GetBlogPostLabelsOperationSpecBuilder sort(@Nullable @Nullable List<LabelSortOrder> sort) Used to sort the result by a particular field.- Gibt zurück:
this
.
-
cursor
public GetBlogPostLabelsOperationSpec.GetBlogPostLabelsOperationSpecBuilder cursor(@Nullable @Nullable String cursor) Used for pagination, this opaque cursor will be returned in thenext
URL in theLink
response header. Use the relative URL in theLink
header to retrieve thenext
set of results.- Gibt zurück:
this
.
-
limit
public GetBlogPostLabelsOperationSpec.GetBlogPostLabelsOperationSpecBuilder limit(@Nullable @Nullable Integer limit) Maximum number of labels per result to return. If more results exist, use theLink
header to retrieve a relative URL that will return the next set of results.- Gibt zurück:
this
.
-
serializeIdsAsStrings
public GetBlogPostLabelsOperationSpec.GetBlogPostLabelsOperationSpecBuilder 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
-