commonMain.app.bsky.notification.listNotificationsNotification.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.
The newest version!
@file:Suppress("DEPRECATION")
package app.bsky.notification
import app.bsky.actor.ProfileView
import com.atproto.label.Label
import kotlin.Boolean
import kotlin.Suppress
import kotlinx.collections.immutable.persistentListOf
import kotlinx.serialization.Serializable
import sh.christian.ozone.api.AtUri
import sh.christian.ozone.api.Cid
import sh.christian.ozone.api.model.JsonContent
import sh.christian.ozone.api.model.ReadOnlyList
import sh.christian.ozone.api.model.Timestamp
/**
* @param reason Expected values are 'like', 'repost', 'follow', 'mention', 'reply', 'quote', and
* 'starterpack-joined'.
*/
@Serializable
public data class ListNotificationsNotification(
public val uri: AtUri,
public val cid: Cid,
public val author: ProfileView,
/**
* Expected values are 'like', 'repost', 'follow', 'mention', 'reply', 'quote', and
* 'starterpack-joined'.
*/
public val reason: ListNotificationsReason,
public val reasonSubject: AtUri? = null,
public val record: JsonContent,
public val isRead: Boolean,
public val indexedAt: Timestamp,
public val labels: ReadOnlyList