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

Created

interface Created

Base interface for keeping track of when a Thing was created.

Properties

created

The unix-time Long representing the creation date of the item.

abstract val created: Long

createdUtc

The unix-time Long representing the UTC creation date of the item.

abstract val createdUtc: Long

Extension Properties

createdDate

Useful extension to convert the creation date property, from the Long unixtime, to a more practical Date object.

val Created.createdDate: Date

createdUtcDate

Useful extension to convert the utc creation date property, from the Long unixtime, to a more practical Date object.

val Created.createdUtcDate: Date

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

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

ModeratedSub

data class ModeratedSub : Parcelable, Created

Multi

data class Multi : Created, 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

SubredditData

interface SubredditData : Thing, Created