All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.tools.ozone.moderation.IdentityEvent.kt Maven / Gradle / Ivy

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.Handle
import sh.christian.ozone.api.Uri
import sh.christian.ozone.api.model.Timestamp

/**
 * Logs identity related events on a repo subject. Normally captured by automod from the firehose
 * and emitted to ozone for historical tracking.
 */
@Serializable
public data class IdentityEvent(
  public val comment: String? = null,
  public val handle: Handle? = null,
  public val pdsHost: Uri? = null,
  public val tombstone: Boolean? = null,
  public val timestamp: Timestamp,
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy