DirectMessage

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

Constructors

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

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
open override val client: ApiClient

The ApiClient instance.

Link copied to clipboard
val createdAtRaw: String
Link copied to clipboard
val entities: StatusEntity
Link copied to clipboard
val id: Long
Link copied to clipboard
val idStr: String
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 read: Boolean
Link copied to clipboard
val recipient: User
Link copied to clipboard
val recipientId: Long
Link copied to clipboard
val recipientIdStr: String
Link copied to clipboard
val recipientScreenName: String
Link copied to clipboard
val sender: User
Link copied to clipboard
val senderId: Long
Link copied to clipboard
val senderIdStr: String
Link copied to clipboard
val senderScreenName: String
Link copied to clipboard
val text: String

Extensions

Link copied to clipboard
val DirectMessage.createdAt: CreatedAt

Parsed "created_at" object.