Class PostContentbodyConvertAsyncBulkTasksV1OperationSpec
java.lang.Object
io.github.primelib.confluence4j.rest.v1.operations.PostContentbodyConvertAsyncBulkTasksV1OperationSpec
@Generated("io.github.primelib.primecodegen")
public class PostContentbodyConvertAsyncBulkTasksV1OperationSpec
extends Object
PostContentbodyConvertAsyncBulkTasksV1
Asynchronously converts content bodies from one format to another format in bulk. Use the Content body REST API to get the status of conversion tasks. Note that there is a maximum limit of 10 conversions per request to this endpoint. Supported conversions: - storage: editor, export_view, styled_view, view - editor: storage Once a conversion task is completed, it is available for polling for up to 5 minutes. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: 'View' permission for the space, and permission to view the content if the `spaceKeyContext` or `contentIdContext` are present.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Booleanallows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsConstructorDescriptionPostContentbodyConvertAsyncBulkTasksV1OperationSpec(Consumer<PostContentbodyConvertAsyncBulkTasksV1OperationSpec> spec) Constructs a validated instance ofPostContentbodyConvertAsyncBulkTasksV1OperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleaninthashCode()@NonNull BulkContentBodyConversionInputpayload()An array of parameters to create content body conversion tasks.payload(@NonNull BulkContentBodyConversionInput payload) An array of parameters to create content body conversion tasks.toString()voidvalidate()Validates the Spec, will throw a exception if required parameters are missing
-
Field Details
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Constructor Details
-
PostContentbodyConvertAsyncBulkTasksV1OperationSpec
@Internal public PostContentbodyConvertAsyncBulkTasksV1OperationSpec(Consumer<PostContentbodyConvertAsyncBulkTasksV1OperationSpec> spec) Constructs a validated instance ofPostContentbodyConvertAsyncBulkTasksV1OperationSpec.- Parameters:
spec- the specification to process
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
payload
An array of parameters to create content body conversion tasks. -
payload
public PostContentbodyConvertAsyncBulkTasksV1OperationSpec payload(@NonNull BulkContentBodyConversionInput payload) An array of parameters to create content body conversion tasks.- Returns:
this.
-
equals
-
canEqual
-
hashCode
-
toString
-