commonMain.app.bsky.labeler.LabelerPolicies.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bluesky-jvm Show documentation
Show all versions of bluesky-jvm Show documentation
Bluesky Social API bindings for Kotlin.
The newest version!
@file:Suppress("DEPRECATION")
package app.bsky.labeler
import com.atproto.label.LabelValue
import com.atproto.label.LabelValueDefinition
import kotlin.Suppress
import kotlinx.collections.immutable.persistentListOf
import kotlinx.serialization.Serializable
import sh.christian.ozone.api.model.ReadOnlyList
/**
* @param labelValues The label values which this labeler publishes. May include global or custom
* labels.
* @param labelValueDefinitions Label values created by this labeler and scoped exclusively to it.
* Labels defined here will override global label definitions for this labeler.
*/
@Serializable
public data class LabelerPolicies(
/**
* The label values which this labeler publishes. May include global or custom labels.
*/
public val labelValues: ReadOnlyList,
/**
* Label values created by this labeler and scoped exclusively to it. Labels defined here will
* override global label definitions for this labeler.
*/
public val labelValueDefinitions: ReadOnlyList = persistentListOf(),
)