Class GetContentbodyConvertAsyncByIDV1OperationSpec
java.lang.Object
io.github.primelib.confluence4j.rest.v1.operations.GetContentbodyConvertAsyncByIDV1OperationSpec
@Generated("io.github.primelib.primecodegen")
public class GetContentbodyConvertAsyncByIDV1OperationSpec
extends Object
GetContentbodyConvertAsyncByIDV1
Returns the asynchronous content body for the corresponding id if the task is complete or returns the status of the task. After the task is completed, the result can be obtained for 5 minutes, or until an identical conversion request is made again, with allowCache query param set to false. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: If request specifies 'contentIdContext', 'View' permission for the space, and permission to view the content.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Booleanallows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsConstructorDescriptionGetContentbodyConvertAsyncByIDV1OperationSpec(Consumer<GetContentbodyConvertAsyncByIDV1OperationSpec> spec) Constructs a validated instance ofGetContentbodyConvertAsyncByIDV1OperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleaninthashCode()@NonNull Stringid()The asyncId of the macro task to get the converted body.The asyncId of the macro task to get the converted body.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
-
GetContentbodyConvertAsyncByIDV1OperationSpec
@Internal public GetContentbodyConvertAsyncByIDV1OperationSpec(Consumer<GetContentbodyConvertAsyncByIDV1OperationSpec> spec) Constructs a validated instance ofGetContentbodyConvertAsyncByIDV1OperationSpec.- 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
-
id
The asyncId of the macro task to get the converted body. -
id
The asyncId of the macro task to get the converted body.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-