Class ContentBodyCreateStorage
java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.ContentBodyCreateStorage
ContentBodyCreateStorage
This object is used when creating or updating content.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedContentBodyCreateStorage(String value, String representation) Constructs a validated instance ofContentBodyCreateStorage.Constructs a validated instance ofContentBodyCreateStorage. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleaninthashCode()The content format type.representation(String representation) The content format type.toString()value()The body of the content in the relevant format.The body of the content in the relevant format.
-
Field Details
-
value
The body of the content in the relevant format. -
representation
The content format type. Set the value of this property to the name of the format being used, e.g. 'storage'.
-
-
Constructor Details
-
ContentBodyCreateStorage
Constructs a validated instance ofContentBodyCreateStorage.- Parameters:
spec- the specification to process
-
ContentBodyCreateStorage
Constructs a validated instance ofContentBodyCreateStorage.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
ContentBodyCreateStorage(Consumer)instead.- Parameters:
value- The body of the content in the relevant format.representation- The content format type. Set the value of this property to the name of the format being used, e.g. 'storage'.
-
ContentBodyCreateStorage
protected ContentBodyCreateStorage()
-
-
Method Details
-
value
The body of the content in the relevant format. -
representation
The content format type. Set the value of this property to the name of the format being used, e.g. 'storage'. -
value
The body of the content in the relevant format.- Returns:
this.
-
representation
The content format type. Set the value of this property to the name of the format being used, e.g. 'storage'.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-