Class GetContentByIDStateAvailableV1OperationSpec
java.lang.Object
io.github.primelib.confluence4j.rest.v1.operations.GetContentByIDStateAvailableV1OperationSpec
@Generated("io.github.primelib.primecodegen")
public class GetContentByIDStateAvailableV1OperationSpec
extends Object
GetContentByIDStateAvailableV1
Gets content states that are available for the content to be set as. Will return all enabled Space Content States. Will only return most the 3 most recently published custom content states to match UI editor list. To get all custom content states, use the /content-states endpoint. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to edit the content.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Booleanallows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsConstructorDescriptionGetContentByIDStateAvailableV1OperationSpec(Consumer<GetContentByIDStateAvailableV1OperationSpec> spec) Constructs a validated instance ofGetContentByIDStateAvailableV1OperationSpec. -
Method Summary
-
Field Details
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Constructor Details
-
GetContentByIDStateAvailableV1OperationSpec
@Internal public GetContentByIDStateAvailableV1OperationSpec(Consumer<GetContentByIDStateAvailableV1OperationSpec> spec) Constructs a validated instance ofGetContentByIDStateAvailableV1OperationSpec.- 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
id of content to get available states for -
id
id of content to get available states for- Returns:
this.
-
equals
-
canEqual
-
hashCode
-
toString
-