commonMain.com.atproto.sync.subscribeReposRepoOp.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bluesky-jvm Show documentation
Show all versions of bluesky-jvm Show documentation
Bluesky Social API bindings for Kotlin.
The newest version!
@file:Suppress("DEPRECATION")
package com.atproto.sync
import kotlin.ByteArray
import kotlin.String
import kotlin.Suppress
import kotlinx.serialization.Serializable
import kotlinx.serialization.cbor.ByteString
/**
* A repo operation, ie a mutation of a single record.
*
* @param cid For creates and updates, the new record CID. For deletions, null.
*/
@Serializable
public data class SubscribeReposRepoOp(
public val action: SubscribeReposAction,
public val path: String,
/**
* For creates and updates, the new record CID. For deletions, null.
*/
@ByteString
public val cid: ByteArray? = null,
)