Class LabeledContent
java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.LabeledContent
LabeledContent
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedLabeledContent(String contentType, Long contentId, String title) Constructs a validated instance ofLabeledContent.LabeledContent(Consumer<LabeledContent> spec) Constructs a validated instance ofLabeledContent. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancontentType(String contentType) booleaninthashCode()title()Title of the content.Title of the content.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
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.
-
LabeledContent
protected LabeledContent()
-
-
Method Details
-
contentType
-
contentId
-
title
Title of the content. -
contentType
- Returns:
this.
-
contentId
- Returns:
this.
-
title
Title of the content.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-