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 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 - 2024 Weber Informatics LLC | Privacy Policy