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

Thing

interface Thing : Parcelable

Base class for every class of the Reddit API,

Properties

fullname

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

abstract val fullname: String

id

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

abstract val id: String

Inheritors

Account

Base interface that groups the common fields between the class Redditor and Me, that has extra fields of the current logged in user.

interface Account : Thing, Created, Parcelable

Awarding

data class Awarding : Thing, Parcelable

Contribution

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

interface Contribution : Thing

Friend

data class Friend : Thing, Parcelable

Gildable

Base interface for all the item that can be given Gildings

interface Gildable : Thing

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

SubredditData

interface SubredditData : Thing, Created

Votable

Base interface for all the items that can be voted on, likes = True -> Upvote, likes = False -> Downvote, likes = null

interface Votable : Thing