Class Metadata
java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.Metadata
Metadata
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncomment()Fluent getter for comment.Fluent setter for comment.booleanGets the value of comment.Gets the value of mediaType.inthashCode()Fluent getter for mediaType.Fluent setter for mediaType.voidsetComment(String comment) Sets the value of comment.voidsetMediaType(String mediaType) Sets the value of mediaType.toString()
-
Field Details
-
mediaType
The media type of the attachment, e.g. 'img/jpg'. -
comment
The comment for this update.
-
-
Constructor Details
-
Metadata
-
Metadata
@Internal protected Metadata()Protected no-args constructor for use by serialization frameworks. -
Metadata
Constructs a validated instance ofMetadata.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
Metadata(Consumer)instead.- Parameters:
mediaType- The media type of the attachment, e.g. 'img/jpg'.comment- The comment for this update.
-
-
Method Details
-
mediaType
Fluent getter for mediaType.The media type of the attachment, e.g. 'img/jpg'.
- Returns:
- mediaType
-
mediaType
-
getMediaType
Gets the value of mediaType.The media type of the attachment, e.g. 'img/jpg'.
- Returns:
- mediaType
-
setMediaType
Sets the value of mediaType.The media type of the attachment, e.g. 'img/jpg'.
- Parameters:
mediaType- mediaType
-
comment
-
comment
-
getComment
-
setComment
Sets the value of comment.The comment for this update.
- Parameters:
comment- comment
-
equals
-
hashCode
-
toString
-