lib / com.kirkbushman.araw.models / PrivateSubreddit

PrivateSubreddit

@JsonClass(true) data class PrivateSubreddit : SubredditData, Parcelable

Constructors

<init>

PrivateSubreddit(id: String, fullname: String, communityIcon: String, created: Long, createdUtc: Long, displayName: String, displayNamePrefixed: String, publicDescription: String, publicDescriptionHtml: String?, subredditType: String, title: String, url: String)

Properties

communityIcon

val communityIcon: String

created

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

val created: Long

createdUtc

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

val createdUtc: Long

displayName

val displayName: String

displayNamePrefixed

val displayNamePrefixed: String

fullname

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

val fullname: String

id

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

val id: String

publicDescription

val publicDescription: String

publicDescriptionHtml

val publicDescriptionHtml: String?

subredditType

val subredditType: String

title

val title: String

url

val url: String

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