Interface ConversationContent

  • All Known Implementing Classes:
    IncomingDto

    public interface ConversationContent
    • Method Detail

      • 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 if getType() returns `MESSAGE`.
      • getRating

        int getRating()
        Get the rating for this evaluation. Only available if getType() returns `EVALUATION`.
        Returns:
        a rating between 1 and 5