@JsonClass(true) data class Me : Account
This class represent the current logged in user.
<init> |
This class represent the current logged in user. Me(id: String, fullname: String, coins: Int, commentKarma: Int, created: Long, createdUtc: Long, hasMail: Boolean, hasModMail: Boolean, hasVerifiedEmail: Boolean, inboxCount: Int, isEmployee: Boolean, isGold: Boolean, isHidingFromRobots: Boolean, isMod: Boolean, isSponsor: Boolean, isSuspended: Boolean, linkKarma: Int, numFriends: Int, subreddit: RedditorSubreddit?, over18: Boolean, verified: Boolean) |
coins |
val coins: Int |
commentKarma |
karma obtained through submitting a comment. val commentKarma: Int |
created |
The unix-time Long representing the creation date of the comment. val created: Long |
createdUtc |
The unix-time Long representing the UTC creation date of the comment. val createdUtc: Long |
fullname |
fullname of this class. val fullname: String |
hasMail |
Whether the user has unread mail. val hasMail: Boolean |
hasModMail |
Whether the user has unread mod mail. val hasModMail: Boolean |
hasVerifiedEmail |
if the user has a verified email. val hasVerifiedEmail: Boolean |
id |
This item identifier, e.g. "8xwlg" val id: String |
inboxCount |
Number of unread messages in the inbox. val inboxCount: Int |
isEmployee |
if the user is an employee of Reddit. val isEmployee: Boolean |
isGold |
if the user has a gold status. val isGold: Boolean |
isHidingFromRobots |
val isHidingFromRobots: Boolean |
isMod |
if the user is Mod. val isMod: Boolean |
isSponsor |
val isSponsor: Boolean |
isSuspended |
val isSuspended: Boolean |
linkKarma |
karma obtained through submitting a post (Submission). val linkKarma: Int |
numFriends |
val numFriends: Int |
over18 |
whether this account is set to be over 18. val over18: Boolean |
subreddit |
val subreddit: RedditorSubreddit? |
verified |
val verified: Boolean |
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 |