Klasse GetCustomContentByIdOperationSpec.GetCustomContentByIdOperationSpecBuilder
java.lang.Object
io.github.primelib.confluence4j.rest.v2.spec.GetCustomContentByIdOperationSpec.GetCustomContentByIdOperationSpecBuilder
- Umschließende Klasse:
GetCustomContentByIdOperationSpec
public static class GetCustomContentByIdOperationSpec.GetCustomContentByIdOperationSpecBuilder
extends Object
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbodyFormat(@Nullable CustomContentBodyRepresentationSingle bodyFormat) The content format types to be returned in thebodyfield of the response.build()The ID of the custom content to be returned.toString()Allows you to retrieve a previously published version.
-
Methodendetails
-
id
public GetCustomContentByIdOperationSpec.GetCustomContentByIdOperationSpecBuilder id(@NotNull @NotNull Long id) The ID of the custom content to be returned. If you don't know the custom content ID, use Get Custom Content by Type and filter the results.- Gibt zurück:
this.
-
bodyFormat
public GetCustomContentByIdOperationSpec.GetCustomContentByIdOperationSpecBuilder bodyFormat(@Nullable @Nullable CustomContentBodyRepresentationSingle 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. Note: If the custom content body type isstorage, thestorageandatlas_doc_formatbody formats are able to be returned. If the custom content body type israw, only therawbody format is able to be returned.- Gibt zurück:
this.
-
version
public GetCustomContentByIdOperationSpec.GetCustomContentByIdOperationSpecBuilder 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.
-
build
-
toString
-