Class ContentPropertyCreate
java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.ContentPropertyCreate
ContentPropertyCreate
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedProtected no-args constructor for use by serialization frameworks.ContentPropertyCreate(String key, Object value) Constructs a validated instance ofContentPropertyCreate.Constructs a validated instance ofContentPropertyCreate. -
Method Summary
Modifier and TypeMethodDescriptionbooleangetKey()Gets the value of key.getValue()Gets the value of value.inthashCode()key()Fluent getter for key.Fluent setter for key.voidSets the value of key.voidSets the value of value.toString()value()Fluent getter for value.Fluent setter for value.
-
Field Details
-
key
The key of the new property. -
value
The value of the content property. This can be empty or a complex object.
-
-
Constructor Details
-
ContentPropertyCreate
Constructs a validated instance ofContentPropertyCreate.- Parameters:
spec- the specification to process
-
ContentPropertyCreate
@Internal protected ContentPropertyCreate()Protected no-args constructor for use by serialization frameworks. -
ContentPropertyCreate
Constructs a validated instance ofContentPropertyCreate.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
ContentPropertyCreate(Consumer)instead.- Parameters:
key- The key of the new property.value- The value of the content property. This can be empty or a complex object.
-
-
Method Details
-
key
-
key
Fluent setter for key.The key of the new property.
- Parameters:
key- key- Returns:
- this
-
getKey
-
setKey
Sets the value of key.The key of the new property.
- Parameters:
key- key
-
value
Fluent getter for value.The value of the content property. This can be empty or a complex object.
- Returns:
- value
-
value
Fluent setter for value.The value of the content property. This can be empty or a complex object.
- Parameters:
value- value- Returns:
- this
-
getValue
Gets the value of value.The value of the content property. This can be empty or a complex object.
- Returns:
- value
-
setValue
Sets the value of value.The value of the content property. This can be empty or a complex object.
- Parameters:
value- value
-
equals
-
hashCode
-
toString
-