Klasse GetAttachmentByIdOperationSpec.GetAttachmentByIdOperationSpecBuilder
java.lang.Object
io.github.primelib.confluence4j.rest.v2.spec.GetAttachmentByIdOperationSpec.GetAttachmentByIdOperationSpecBuilder
- Umschließende Klasse:
GetAttachmentByIdOperationSpec
public static class GetAttachmentByIdOperationSpec.GetAttachmentByIdOperationSpecBuilder
extends Object
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuild()The ID of the attachment 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 GetAttachmentByIdOperationSpec.GetAttachmentByIdOperationSpecBuilder id(@NotNull @NotNull String id) The ID of the attachment to be returned. If you don't know the attachment's ID, use Get attachments for page/blogpost/custom content.- Gibt zurück:
this.
-
version
public GetAttachmentByIdOperationSpec.GetAttachmentByIdOperationSpecBuilder 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 GetAttachmentByIdOperationSpec.GetAttachmentByIdOperationSpecBuilder 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
-