Klasse RestoreContentVersionOperationSpec
java.lang.Object
io.github.primelib.confluence4j.rest.v1.spec.RestoreContentVersionOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class RestoreContentVersionOperationSpec
extends Object
RestoreContentVersionSpec
Specification for the RestoreContentVersion operation.
Restore content version
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic class -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic Booleanallows to disable validation of the spec, use with care! -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotectedRestoreContentVersionOperationSpec(String id, VersionRestore body, List<String> expand) Constructs a validated instance ofRestoreContentVersionOperationSpec.Constructs a validated instance ofRestoreContentVersionOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibung@NotNull VersionRestorebody()The content version to be restored.body(@NotNull VersionRestore body) The content version to be restored.builder()protected booleanbooleanexpand()A multi-value parameter indicating which properties of the content to expand.A multi-value parameter indicating which properties of the content to expand.inthashCode()@NotNull Stringid()The ID of the content for which the history will be restored.The ID of the content for which the history will be restored.toString()voidvalidate()Validates the Spec, will throw a exception if required parameters are missing
-
Felddetails
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Konstruktordetails
-
RestoreContentVersionOperationSpec
@Internal public RestoreContentVersionOperationSpec(Consumer<RestoreContentVersionOperationSpec> spec) Constructs a validated instance ofRestoreContentVersionOperationSpec.- Parameter:
spec- the specification to process
-
RestoreContentVersionOperationSpec
@Internal public RestoreContentVersionOperationSpec(String id, VersionRestore body, List<String> expand) Constructs a validated instance ofRestoreContentVersionOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
id- The ID of the content for which the history will be restored.body- The content version to be restored.expand- A multi-value parameter indicating which properties of the content to expand. By default, thecontentobject is expanded. -collaboratorsreturns the users that collaborated on the version. -contentreturns the content for the version.
-
RestoreContentVersionOperationSpec
protected RestoreContentVersionOperationSpec()
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
builder
public static RestoreContentVersionOperationSpec.RestoreContentVersionOperationSpecBuilder builder() -
id
The ID of the content for which the history will be restored. -
body
The content version to be restored. -
expand
A multi-value parameter indicating which properties of the content to expand. By default, thecontentobject is expanded. -collaboratorsreturns the users that collaborated on the version. -contentreturns the content for the version. -
id
The ID of the content for which the history will be restored.- Gibt zurück:
this.
-
body
The content version to be restored.- Gibt zurück:
this.
-
expand
A multi-value parameter indicating which properties of the content to expand. By default, thecontentobject is expanded. -collaboratorsreturns the users that collaborated on the version. -contentreturns the content for the version.- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-