Klasse GetContentVersionOperationSpec
java.lang.Object
io.github.primelib.confluence4j.rest.v1.spec.GetContentVersionOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetContentVersionOperationSpec
extends Object
GetContentVersionSpec
Specification for the GetContentVersion operation.
Get 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
KonstruktorenModifiziererKonstruktorBeschreibungprotectedGetContentVersionOperationSpec(String id, Integer versionNumber, List<String> expand) Constructs a validated instance ofGetContentVersionOperationSpec.Constructs a validated instance ofGetContentVersionOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuilder()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 to be queried for its version.The ID of the content to be queried for its version.toString()voidvalidate()Validates the Spec, will throw a exception if required parameters are missing@NotNull IntegerThe number of the version to be retrieved.versionNumber(@NotNull Integer versionNumber) The number of the version to be retrieved.
-
Felddetails
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Konstruktordetails
-
GetContentVersionOperationSpec
Constructs a validated instance ofGetContentVersionOperationSpec.- Parameter:
spec- the specification to process
-
GetContentVersionOperationSpec
@Internal public GetContentVersionOperationSpec(String id, Integer versionNumber, List<String> expand) Constructs a validated instance ofGetContentVersionOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
id- The ID of the content to be queried for its version.versionNumber- The number of the version to be retrieved.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.
-
GetContentVersionOperationSpec
protected GetContentVersionOperationSpec()
-
-
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 to be queried for its version. -
versionNumber
The number of the version to be retrieved. -
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 to be queried for its version.- Gibt zurück:
this.
-
versionNumber
The number of the version to be retrieved.- 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
-