Klasse CreateContentPropertyOperationSpec
java.lang.Object
io.github.primelib.confluence4j.rest.v1.spec.CreateContentPropertyOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class CreateContentPropertyOperationSpec
extends Object
CreateContentPropertySpec
Specification for the CreateContentProperty operation.
Create content property
-
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
KonstruktorenModifiziererKonstruktorBeschreibungprotectedConstructs a validated instance ofCreateContentPropertyOperationSpec.Constructs a validated instance ofCreateContentPropertyOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibung@NotNull ContentPropertyCreatebody()The content property to be created.body(@NotNull ContentPropertyCreate body) The content property to be created.builder()protected booleanbooleaninthashCode()@NotNull Stringid()The ID of the content to add the property to.The ID of the content to add the property to.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
-
CreateContentPropertyOperationSpec
@Internal public CreateContentPropertyOperationSpec(Consumer<CreateContentPropertyOperationSpec> spec) Constructs a validated instance ofCreateContentPropertyOperationSpec.- Parameter:
spec- the specification to process
-
CreateContentPropertyOperationSpec
Constructs a validated instance ofCreateContentPropertyOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
id- The ID of the content to add the property to.body- The content property to be created.
-
CreateContentPropertyOperationSpec
protected CreateContentPropertyOperationSpec()
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
builder
public static CreateContentPropertyOperationSpec.CreateContentPropertyOperationSpecBuilder builder() -
id
The ID of the content to add the property to. -
body
The content property to be created. -
id
The ID of the content to add the property to.- Gibt zurück:
this.
-
body
The content property to be created.- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-