Klasse GetBlogPostVersionsOperationSpec.GetBlogPostVersionsOperationSpecBuilder
java.lang.Object
io.github.primelib.confluence4j.rest.v2.spec.GetBlogPostVersionsOperationSpec.GetBlogPostVersionsOperationSpecBuilder
- Umschließende Klasse:
GetBlogPostVersionsOperationSpec
public static class GetBlogPostVersionsOperationSpec.GetBlogPostVersionsOperationSpecBuilder
extends Object
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbodyFormat
(@Nullable PrimaryBodyRepresentation bodyFormat) The content format types to be returned in thebody
field of the response.build()
Used for pagination, this opaque cursor will be returned in thenext
URL in theLink
response header.The ID of the blog post to be queried for its versions.Maximum number of versions per result to return.sort
(@Nullable VersionSortOrder sort) Used to sort the result by a particular field.toString()
-
Methodendetails
-
id
public GetBlogPostVersionsOperationSpec.GetBlogPostVersionsOperationSpecBuilder id(@NotNull @NotNull Long id) The ID of the blog post to be queried for its versions. If you don't know the blog post ID, use Get blog posts and filter the results.- Gibt zurück:
this
.
-
bodyFormat
public GetBlogPostVersionsOperationSpec.GetBlogPostVersionsOperationSpecBuilder bodyFormat(@Nullable @Nullable PrimaryBodyRepresentation bodyFormat) The content format types to be returned in thebody
field of the response. If available, the representation will be available under a response field of the same name under thebody
field.- Gibt zurück:
this
.
-
cursor
public GetBlogPostVersionsOperationSpec.GetBlogPostVersionsOperationSpecBuilder 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 GetBlogPostVersionsOperationSpec.GetBlogPostVersionsOperationSpecBuilder limit(@Nullable @Nullable Integer limit) Maximum number of versions 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
.
-
sort
public GetBlogPostVersionsOperationSpec.GetBlogPostVersionsOperationSpecBuilder sort(@Nullable @Nullable VersionSortOrder sort) Used to sort the result by a particular field.- Gibt zurück:
this
.
-
build
-
toString
-