lib / com.kirkbushman.araw.models / ModeratedSub

ModeratedSub

@JsonClass(true) data class ModeratedSub : Parcelable, Created

Constructors

<init>

ModeratedSub(fullname: String, bannerImg: String, bannerImgSize: List<Int>?, created: Long, createdUtc: Long, iconImg: String, iconImgSize: List<Int>?, isSubscriber: Boolean, displayName: String, displayNamePrefixed: String, over18: Boolean, subredditType: String, subscribers: Int, title: String, url: String)

Properties

bannerImg

val bannerImg: String

bannerImgSize

val bannerImgSize: List<Int>?

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

val fullname: String

iconImg

val iconImg: String

iconImgSize

val iconImgSize: List<Int>?

isSubscriber

val isSubscriber: Boolean

over18

val over18: Boolean

subredditType

val subredditType: String

subscribers

val subscribers: Int

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