Klasse GetCustomContentVersionsOperationSpec.GetCustomContentVersionsOperationSpecBuilder
java.lang.Object
io.github.primelib.confluence4j.rest.v2.spec.GetCustomContentVersionsOperationSpec.GetCustomContentVersionsOperationSpecBuilder
- Umschließende Klasse:
GetCustomContentVersionsOperationSpec
public static class GetCustomContentVersionsOperationSpec.GetCustomContentVersionsOperationSpecBuilder
extends Object
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbodyFormat(@Nullable CustomContentBodyRepresentation bodyFormat) The content format types to be returned in thebodyfield of the response.build()Used for pagination, this opaque cursor will be returned in thenextURL in theLinkresponse header.customContentId(@NotNull Long customContentId) The ID of the custom content 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
-
customContentId
public GetCustomContentVersionsOperationSpec.GetCustomContentVersionsOperationSpecBuilder customContentId(@NotNull @NotNull Long customContentId) The ID of the custom content to be queried for its versions. 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 GetCustomContentVersionsOperationSpec.GetCustomContentVersionsOperationSpecBuilder bodyFormat(@Nullable @Nullable CustomContentBodyRepresentation 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.
-
cursor
public GetCustomContentVersionsOperationSpec.GetCustomContentVersionsOperationSpecBuilder 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.
-
limit
public GetCustomContentVersionsOperationSpec.GetCustomContentVersionsOperationSpecBuilder limit(@Nullable @Nullable Integer limit) Maximum number of versions 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.
-
sort
public GetCustomContentVersionsOperationSpec.GetCustomContentVersionsOperationSpecBuilder sort(@Nullable @Nullable VersionSortOrder sort) Used to sort the result by a particular field.- Gibt zurück:
this.
-
build
-
toString
-