commonMain.tools.ozone.moderation.AccountEvent.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bluesky Show documentation
Show all versions of bluesky Show documentation
Bluesky Social API bindings for Kotlin.
The newest version!
@file:Suppress("DEPRECATION")
package tools.ozone.moderation
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlinx.serialization.Serializable
import sh.christian.ozone.api.model.Timestamp
/**
* Logs account status related events on a repo subject. Normally captured by automod from the
* firehose and emitted to ozone for historical tracking.
*
* @param active Indicates that the account has a repository which can be fetched from the host that
* emitted this event.
*/
@Serializable
public data class AccountEvent(
public val comment: String? = null,
/**
* Indicates that the account has a repository which can be fetched from the host that emitted
* this event.
*/
public val active: Boolean,
public val status: Status? = null,
public val timestamp: Timestamp,
)