Klasse CreateContentPropertyForKeyOperationSpec
java.lang.Object
io.github.primelib.confluence4j.rest.v1.spec.CreateContentPropertyForKeyOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class CreateContentPropertyForKeyOperationSpec
extends Object
CreateContentPropertyForKeySpec
Specification for the CreateContentPropertyForKey operation.
Create content property for key
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic class
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic Boolean
allows to disable validation of the spec, use with care! -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotected
Constructs a validated instance ofCreateContentPropertyForKeyOperationSpec
.Constructs a validated instance ofCreateContentPropertyForKeyOperationSpec
. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibung@NotNull ContentPropertyCreateNoKey
body()
The content property to be created.body
(@NotNull ContentPropertyCreateNoKey body) The content property to be created.builder()
protected boolean
boolean
int
hashCode()
@NotNull String
id()
The ID of the content to add the property to.The ID of the content to add the property to.@NotNull String
key()
The key of the content property.The key of the content property.toString()
void
validate()
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
-
CreateContentPropertyForKeyOperationSpec
@Internal public CreateContentPropertyForKeyOperationSpec(Consumer<CreateContentPropertyForKeyOperationSpec> spec) Constructs a validated instance ofCreateContentPropertyForKeyOperationSpec
.- Parameter:
spec
- the specification to process
-
CreateContentPropertyForKeyOperationSpec
@Internal public CreateContentPropertyForKeyOperationSpec(String id, String key, ContentPropertyCreateNoKey body) Constructs a validated instance ofCreateContentPropertyForKeyOperationSpec
.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.key
- The key of the content property. Required.body
- The content property to be created.
-
CreateContentPropertyForKeyOperationSpec
protected CreateContentPropertyForKeyOperationSpec()
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
builder
public static CreateContentPropertyForKeyOperationSpec.CreateContentPropertyForKeyOperationSpecBuilder builder() -
id
The ID of the content to add the property to. -
key
The key of the content property. Required. -
body
The content property to be created. -
id
The ID of the content to add the property to.- Gibt zurück:
this
.
-
key
The key of the content property. Required.- Gibt zurück:
this
.
-
body
public CreateContentPropertyForKeyOperationSpec body(@NotNull @NotNull ContentPropertyCreateNoKey body) The content property to be created.- Gibt zurück:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-