Klasse GetBlogPostByIdOperationSpec.GetBlogPostByIdOperationSpecBuilder
java.lang.Object
io.github.primelib.confluence4j.rest.v2.spec.GetBlogPostByIdOperationSpec.GetBlogPostByIdOperationSpecBuilder
- Umschließende Klasse:
GetBlogPostByIdOperationSpec
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbodyFormat(@Nullable PrimaryBodyRepresentationSingle bodyFormat) The content format types to be returned in thebodyfield of the response.build()Retrieve the draft version of this blog post.The ID of the blog post to be returned.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.toString()Allows you to retrieve a previously published version.
-
Methodendetails
-
id
public GetBlogPostByIdOperationSpec.GetBlogPostByIdOperationSpecBuilder id(@NotNull @NotNull Long id) The ID of the blog post to be returned. If you don't know the blog post ID, use Get blog posts and filter the results.- Gibt zurück:
this.
-
bodyFormat
public GetBlogPostByIdOperationSpec.GetBlogPostByIdOperationSpecBuilder bodyFormat(@Nullable @Nullable PrimaryBodyRepresentationSingle bodyFormat) The content format types to be returned in thebodyfield of the response. If available, the representation will be available under a response field of the same name under thebodyfield.- Gibt zurück:
this.
-
getDraft
public GetBlogPostByIdOperationSpec.GetBlogPostByIdOperationSpecBuilder getDraft(@Nullable @Nullable Boolean getDraft) Retrieve the draft version of this blog post.- Gibt zurück:
this.
-
version
public GetBlogPostByIdOperationSpec.GetBlogPostByIdOperationSpecBuilder version(@Nullable @Nullable Integer version) Allows you to retrieve a previously published version. Specify the previous version's number to retrieve its details.- Gibt zurück:
this.
-
serializeIdsAsStrings
public GetBlogPostByIdOperationSpec.GetBlogPostByIdOperationSpecBuilder 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
-