TwitterList

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

Constructors

Link copied to clipboard
fun TwitterList(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 description: String
Link copied to clipboard
val following: Boolean
Link copied to clipboard
val fullName: String
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 memberCount: Int
Link copied to clipboard
val mode: ListVisibilityMode
Link copied to clipboard
val name: String
Link copied to clipboard
val slug: String
Link copied to clipboard
val subscriberCount: Int
Link copied to clipboard
val uri: String
Link copied to clipboard
val user: User

Extensions

Link copied to clipboard
val TwitterList.createdAt: CreatedAt

Parsed "created_at" object.

Link copied to clipboard
suspend operator fun TwitterList.minusAssign(user: User)

Removes the user from this list. This function is suspend-function.

suspend operator fun TwitterList.minusAssign(users: Iterable<User>)

Removes the users from this list. This function is suspend-function.

Link copied to clipboard
suspend operator fun TwitterList.plusAssign(user: User)

Adds the user to this list. This function is suspend-function.

suspend operator fun TwitterList.plusAssign(users: Iterable<User>)

Adds the users to this list. This function is suspend-function.