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

commonMain.tools.ozone.moderation.AccountEvent.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.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,
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy