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

commonMain.app.bsky.labeler.LabelerPolicies.kt Maven / Gradle / Ivy

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(),
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy