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

commonMain.app.bsky.notification.listNotificationsNotification.kt Maven / Gradle / Ivy

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 kotlin.collections.List
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.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: List




© 2015 - 2024 Weber Informatics LLC | Privacy Policy