interface Distinguishable
Base interface for all items that can be distingushed by moderators, admins or else.
distinguishedRaw |
to allow determining whether they have been distinguished by moderators/admins. null = not distinguished. moderator = the green. admin = the red. special = various other special distinguishes. NOTE: use the extensions in Distinguishable to have an enum representation. abstract val distinguishedRaw: String? |
distinguished |
Useful extension to map to an enum. val Distinguishable.distinguished: Distinguished |
Comment |
This class can represent a comment on a Submission or a reply to another comment. data class Comment : CommentData, Votable, Saveable, Created, Editable, Distinguishable, Gildable, Replyable, Parcelable |
Message |
This class represents the message a user can send or receive. Messages are grouped in the user inbox. data class Message : Thing, Votable, Created, Distinguishable, Replyable, Parcelable |
Submission |
This class represents a user post in a specific Subreddit, this class can be replied to, in a form of a comment section. data class Submission : Contribution, Votable, Saveable, Created, Editable, Distinguishable, Gildable, Replyable, Parcelable |