Class LabeledContent
java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.LabeledContent
LabeledContent
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedProtected no-args constructor for use by serialization frameworks.LabeledContent(String contentType, Long contentId, String title) Constructs a validated instance ofLabeledContent.LabeledContent(Consumer<LabeledContent> spec) Constructs a validated instance ofLabeledContent. -
Method Summary
Modifier and TypeMethodDescriptionFluent getter for contentId.Fluent setter for contentId.Fluent getter for contentType.contentType(String contentType) Fluent setter for contentType.booleanGets the value of contentId.Gets the value of contentType.getTitle()Gets the value of title.inthashCode()voidsetContentId(Long contentId) Sets the value of contentId.voidsetContentType(String contentType) Sets the value of contentType.voidSets the value of title.title()Fluent getter for title.Fluent setter for title.toString()
-
Field Details
-
contentType
-
contentId
-
title
Title of the content.
-
-
Constructor Details
-
LabeledContent
Constructs a validated instance ofLabeledContent.- Parameters:
spec- the specification to process
-
LabeledContent
@Internal protected LabeledContent()Protected no-args constructor for use by serialization frameworks. -
LabeledContent
Constructs a validated instance ofLabeledContent.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
LabeledContent(Consumer)instead.- Parameters:
contentType- contentTypecontentId- contentIdtitle- Title of the content.
-
-
Method Details
-
contentType
-
contentType
Fluent setter for contentType.- Parameters:
contentType- contentType- Returns:
- this
-
getContentType
-
setContentType
Sets the value of contentType.- Parameters:
contentType- contentType
-
contentId
-
contentId
Fluent setter for contentId.- Parameters:
contentId- contentId- Returns:
- this
-
getContentId
-
setContentId
Sets the value of contentId.- Parameters:
contentId- contentId
-
title
-
title
Fluent setter for title.Title of the content.
- Parameters:
title- title- Returns:
- this
-
getTitle
-
setTitle
Sets the value of title.Title of the content.
- Parameters:
title- title
-
equals
-
hashCode
-
toString
-