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

Gildable

interface Gildable : Thing

Base interface for all the item that can be given Gildings

Properties

canGild

whether this item can be given a gilding or not.

abstract val canGild: Boolean

fullname

Fullname of the item, e.g. "t1_c3v7f8u"

abstract val fullname: String

gildings

the number of times this comment received reddit gold, silver, platinum.

abstract val gildings: Gildings

id

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

abstract val id: String

Inheritors

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

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