Class ContentBodyCreateStorage
This object is used when creating or updating content.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedProtected no-args constructor for use by serialization frameworks.ContentBodyCreateStorage(String value, String representation) Constructs a validated instance ofContentBodyCreateStorage.Constructs a validated instance ofContentBodyCreateStorage. -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the value of representation.getValue()Gets the value of value.inthashCode()Fluent getter for representation.representation(String representation) Fluent setter for representation.voidsetRepresentation(String representation) Sets the value of representation.voidSets the value of value.toString()value()Fluent getter for value.Fluent setter for value.
-
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
@Internal protected ContentBodyCreateStorage()Protected no-args constructor for use by serialization frameworks. -
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'.
-
-
Method Details
-
value
Fluent getter for value.The body of the content in the relevant format.
- Returns:
- value
-
value
Fluent setter for value.The body of the content in the relevant format.
- Parameters:
value- value- Returns:
- this
-
getValue
Gets the value of value.The body of the content in the relevant format.
- Returns:
- value
-
setValue
Sets the value of value.The body of the content in the relevant format.
- Parameters:
value- value
-
representation
Fluent getter for representation.The content format type. Set the value of this property to the name of the format being used, e.g. 'storage'.
- Returns:
- representation
-
representation
Fluent setter for representation.The content format type. Set the value of this property to the name of the format being used, e.g. 'storage'.
- Parameters:
representation- representation- Returns:
- this
-
getRepresentation
Gets the value of representation.The content format type. Set the value of this property to the name of the format being used, e.g. 'storage'.
- Returns:
- representation
-
setRepresentation
Sets the value of representation.The content format type. Set the value of this property to the name of the format being used, e.g. 'storage'.
- Parameters:
representation- representation
-
equals
-
hashCode
-
toString
-