Relationship

data class Relationship(val did: Did, val following: AtUri? = null, val followedBy: AtUri? = null)

lists the bi-directional graph relationships between one actor (not indicated in the object), and the target actors (the DID included in the object)

Constructors

Link copied to clipboard
constructor(did: Did, following: AtUri? = null, followedBy: AtUri? = null)

Properties

Link copied to clipboard
val did: Did
Link copied to clipboard
val followedBy: AtUri? = null

if the actor is followed by this DID, contains the AT-URI of the follow record

Link copied to clipboard
val following: AtUri? = null

if the actor follows this DID, this is the AT-URI of the follow record