Status

data class Status(val json: JsonObject, val client: ApiClient) : PenicillinModel

Constructors

Link copied to clipboard
fun Status(json: JsonObject, client: ApiClient)

Types

Link copied to clipboard
data class Contributor(val json: JsonObject, val client: ApiClient) : PenicillinModel
Link copied to clipboard
data class Coordinate(val json: JsonObject, val client: ApiClient) : PenicillinModel
Link copied to clipboard
data class CurrentUserRetweet(val json: JsonObject, val client: ApiClient) : PenicillinModel
Link copied to clipboard
data class ExtendedTweet(val json: JsonObject, val client: ApiClient) : PenicillinModel
Link copied to clipboard
data class MatchingRule(val json: JsonObject, val client: ApiClient) : PenicillinModel

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Indicates whether some other model is "equal to" this one.

Link copied to clipboard
open override fun hashCode(): Int

Returns a hash code value for the model.

Properties

Link copied to clipboard
val cardUri: String?
Link copied to clipboard
open override val client: ApiClient

The ApiClient instance.

Link copied to clipboard
val contributors: List<Status.Contributor>
Link copied to clipboard
val conversationId: Long?
Link copied to clipboard
val coordinates: Status.Coordinate?
Link copied to clipboard
val createdAtRaw: String
Link copied to clipboard
val currentUserRetweet: Status.CurrentUserRetweet?
Link copied to clipboard
val displayTextRange: List<Int>
Link copied to clipboard
val entities: StatusEntity
Link copied to clipboard
val extendedEntities: StatusEntity?
Link copied to clipboard
val extendedTweet: Status.ExtendedTweet?
Link copied to clipboard
val favoriteCount: Int
Link copied to clipboard
val favorited: Boolean
Link copied to clipboard
val filterLevel: String?
Link copied to clipboard
val fullTextRaw: String?
Link copied to clipboard
val geo: JsonElement?
Link copied to clipboard
val id: Long
Link copied to clipboard
val idStr: String
Link copied to clipboard
val inReplyToScreenName: String?
Link copied to clipboard
val inReplyToStatusId: Long?
Link copied to clipboard
val inReplyToStatusIdStr: String?
Link copied to clipboard
val inReplyToUserId: Long?
Link copied to clipboard
val inReplyToUserIdStr: String?
Link copied to clipboard
val isQuoteStatus: Boolean
Link copied to clipboard
open override val json: JsonObject

The underlying JsonObject.

Link copied to clipboard
open val keyCase: JsonKeyCase
Link copied to clipboard
open val keyConverter: JsonKeyConverter
Link copied to clipboard
val langRaw: String
Link copied to clipboard
val matchingRules: List<Status.MatchingRule?>
Link copied to clipboard
val place: Place?
Link copied to clipboard
val possiblySensitive: Boolean
Link copied to clipboard
val possiblySensitiveAppealable: Boolean?
Link copied to clipboard
val possiblySensitiveEditable: Boolean?
Link copied to clipboard
val quoteCount: Int?
Link copied to clipboard
val quotedStatus: Status?
Link copied to clipboard
val quotedStatusId: Long?
Link copied to clipboard
val quotedStatusIdStr: String?
Link copied to clipboard
val replyCount: Int?
Link copied to clipboard
val retweetCount: Int
Link copied to clipboard
val retweeted: Boolean
Link copied to clipboard
val retweetedStatus: Status?
Link copied to clipboard
val source: String
Link copied to clipboard
val supplementalLanguage: String?
Link copied to clipboard
val textRaw: String?
Link copied to clipboard
val timestampMs: String?
Link copied to clipboard
val truncated: Boolean
Link copied to clipboard
val user: User
Link copied to clipboard
val withheldCopyright: Boolean?
Link copied to clipboard
val withheldInCountries: List<String>
Link copied to clipboard
val withheldScope: String?

Extensions

Link copied to clipboard
val Status.createdAt: CreatedAt

Parsed "created_at" object.

Link copied to clipboard
fun Status.delete(): JsonObjectApiAction<Status>

Creates an action to delete this status.

Link copied to clipboard
val Status.expandedText: String

Returns full-body status text which shortened urls in are each expanded.

Link copied to clipboard
val Status.expandedTextWithIndices: String

Returns full-body status text which shortened urls in are each expanded.

Link copied to clipboard
fun Status.favorite(): JsonObjectApiAction<Status>

Creates an action to favorite this status.

Link copied to clipboard
val Status.hasCard: Boolean

If true, this status has card entity.

Link copied to clipboard
val Status.idObj: StatusID

Parsed status id object for "id".

Link copied to clipboard
val Status.inReplyToStatusIdObj: StatusID?

Parsed status id object for "in_reply_to_status_id".

Link copied to clipboard
val Status.lang: Language

Parsed "lang" object.

Link copied to clipboard
val Status.likeCount: Int

Compatibility extension to Status.favoriteCount.

Link copied to clipboard
val Status.liked: Boolean

Compatibility extension to Status.favorited.

Link copied to clipboard
fun Status.mention(text: String): JsonObjectApiAction<Status>

Creates an action to send a mention to this status.

Link copied to clipboard
val Status.quotedStatusIdObj: StatusID?

Parsed status id object for "quoted_status_id.

Link copied to clipboard
fun Status.refresh(): JsonObjectApiAction<Status>

Creates an action to retrieve this status.

Link copied to clipboard
fun Status.showCard(name: String): JsonObjectApiAction<CardState>

Creates new action to show card with name.

Link copied to clipboard
val Status.text: String

Returns full-body, unescaped status text. Supports both tweet modes (Extend and Compat).

Link copied to clipboard
fun Status.unfavorite(): JsonObjectApiAction<Status>

Creates an action to unfavorite this status.

Link copied to clipboard
val Status.via: Via

Parsed status source.