lib / com.kirkbushman.araw.models.base / Contribution

Contribution

interface Contribution : Thing

Base interface for all the data submitted by a user. e.g. Submission, Comment, Message

Properties

fullname

Fullname of comment, e.g. "t1_c3v7f8u"

abstract val fullname: String

id

This item identifier, e.g. "8xwlg"

abstract val id: String

Inheritors

CommentData

Base interface for the elements in the comments section of a submission.

interface CommentData : Contribution

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