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

commonMain.tools.ozone.setting.removeOptions.kt Maven / Gradle / Ivy

The newest version!
@file:Suppress("DEPRECATION")

package tools.ozone.setting

import kotlin.Suppress
import kotlin.collections.List
import kotlinx.serialization.Serializable
import sh.christian.ozone.api.Nsid

@Serializable
public data class RemoveOptionsRequest(
  public val keys: List,
  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 - 2024 Weber Informatics LLC | Privacy Policy