Klasse DeleteContentVersionOperationSpec
java.lang.Object
io.github.primelib.confluence4j.rest.v1.spec.DeleteContentVersionOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class DeleteContentVersionOperationSpec
extends Object
DeleteContentVersionSpec
Specification for the DeleteContentVersion operation.
Delete 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
KonstruktorenModifiziererKonstruktorBeschreibungprotectedDeleteContentVersionOperationSpec(String id, Integer versionNumber) Constructs a validated instance ofDeleteContentVersionOperationSpec.Constructs a validated instance ofDeleteContentVersionOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuilder()protected booleanbooleaninthashCode()@NotNull Stringid()The ID of the content that the version will be deleted from.The ID of the content that the version will be deleted from.toString()voidvalidate()Validates the Spec, will throw a exception if required parameters are missing@NotNull IntegerThe number of the version to be deleted.versionNumber(@NotNull Integer versionNumber) The number of the version to be deleted.
-
Felddetails
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Konstruktordetails
-
DeleteContentVersionOperationSpec
@Internal public DeleteContentVersionOperationSpec(Consumer<DeleteContentVersionOperationSpec> spec) Constructs a validated instance ofDeleteContentVersionOperationSpec.- Parameter:
spec- the specification to process
-
DeleteContentVersionOperationSpec
Constructs a validated instance ofDeleteContentVersionOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
id- The ID of the content that the version will be deleted from.versionNumber- The number of the version to be deleted. The version number starts from 1 up to current version.
-
DeleteContentVersionOperationSpec
protected DeleteContentVersionOperationSpec()
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
builder
-
id
The ID of the content that the version will be deleted from. -
versionNumber
The number of the version to be deleted. The version number starts from 1 up to current version. -
id
The ID of the content that the version will be deleted from.- Gibt zurück:
this.
-
versionNumber
The number of the version to be deleted. The version number starts from 1 up to current version.- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-