
commonMain.tools.ozone.setting.removeOptions.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.
@file:Suppress("DEPRECATION")
package tools.ozone.setting
import kotlin.Suppress
import kotlinx.serialization.Serializable
import sh.christian.ozone.api.Nsid
import sh.christian.ozone.api.model.ReadOnlyList
@Serializable
public data class RemoveOptionsRequest(
public val keys: ReadOnlyList,
public val scope: RemoveOptionsScope,
) {
init {
require(keys.count() >= 1) {
"keys.count() must be >= 1, but was ${keys.count()}"
}
require(keys.count() <= 200) {
"keys.count() must be <= 200, but was ${keys.count()}"
}
}
}
@Serializable
public object RemoveOptionsResponse
© 2015 - 2025 Weber Informatics LLC | Privacy Policy