Topic

@JsonClass(generateAdapter = true)
data class Topic(    val _id: String?,     val name: String?,     val score: Any?,     val uid: String?)

Models a topic used in describing a piece of content.

Constructors

Link copied to clipboard
fun Topic(    _id: String?,     name: String?,     score: Any?,     uid: String?)

Properties

Link copied to clipboard
val _id: String?

The unique identifier for this topic.

Link copied to clipboard
val name: String?

The general name for this topic.

Link copied to clipboard
val score: Any?

An arbitrary weighting to give the topic (could be int or double)

Link copied to clipboard
val uid: String?

A short identifier for this topic. Usually used in cases where a long form id cannot work.