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

commonMain.tools.ozone.moderation.getRecord.kt Maven / Gradle / Ivy

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

package tools.ozone.moderation

import kotlin.Any
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlinx.collections.immutable.toImmutableList
import kotlinx.serialization.Serializable
import sh.christian.ozone.api.AtUri
import sh.christian.ozone.api.Cid
import sh.christian.ozone.api.model.ReadOnlyList

@Serializable
public data class GetRecordQueryParams(
  public val uri: AtUri,
  public val cid: Cid? = null,
) {
  public fun asList(): ReadOnlyList> = buildList {
    add("uri" to uri)
    add("cid" to cid)
  }.toImmutableList()
}

public typealias GetRecordResponse = RecordViewDetail




© 2015 - 2024 Weber Informatics LLC | Privacy Policy