commonMain.com.atproto.sync.subscribeReposIdentity.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 com.atproto.sync
import kotlin.Long
import kotlin.Suppress
import kotlinx.serialization.Serializable
import sh.christian.ozone.api.Did
import sh.christian.ozone.api.Handle
import sh.christian.ozone.api.model.Timestamp
/**
* Represents a change to an account's identity. Could be an updated handle, signing key, or pds
* hosting endpoint. Serves as a prod to all downstream services to refresh their identity cache.
*
* @param handle The current handle for the account, or 'handle.invalid' if validation fails. This
* field is optional, might have been validated or passed-through from an upstream source. Semantics
* and behaviors for PDS vs Relay may evolve in the future; see atproto specs for more details.
*/
@Serializable
public data class SubscribeReposIdentity(
public val seq: Long,
public val did: Did,
public val time: Timestamp,
/**
* The current handle for the account, or 'handle.invalid' if validation fails. This field is
* optional, might have been validated or passed-through from an upstream source. Semantics and
* behaviors for PDS vs Relay may evolve in the future; see atproto specs for more details.
*/
public val handle: Handle? = null,
)
© 2015 - 2024 Weber Informatics LLC | Privacy Policy