Package net.worcade.client.get
Interface ConversationContent
-
- All Known Implementing Classes:
IncomingDto
public interface ConversationContent
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ReferencegetContent()Get a reference to the content.Collection<? extends Markup>getMarkup()StringgetMessage()Get the text message for this content.intgetRating()Get the rating for this evaluation.ReferenceWithNamegetSource()Get a reference to the entity who added the content.InstantgetTimestamp()StringgetType()
-
-
-
Method Detail
-
getType
String getType()
-
getTimestamp
Instant getTimestamp()
-
getSource
ReferenceWithName getSource()
Get a reference to the entity who added the content.
-
getContent
Reference getContent()
Get a reference to the content. Available for all types except `MESSAGE` and `EVALUATION`.
-
getMessage
String getMessage()
Get the text message for this content. Only available ifgetType()returns `MESSAGE`.
-
getRating
int getRating()
Get the rating for this evaluation. Only available ifgetType()returns `EVALUATION`.- Returns:
- a rating between 1 and 5
-
getMarkup
Collection<? extends Markup> getMarkup()
-
-