Label

constructor(ver: Long? = null, src: Did, uri: Uri, cid: Cid? = null, val: String, neg: Boolean? = null, cts: Timestamp, exp: Timestamp? = null, sig: ByteArray? = null)

Parameters

ver

The AT Protocol version of the label object.

src

DID of the actor who created this label.

uri

AT URI of the record, repository (account), or other resource that this label applies to.

cid

Optionally, CID specifying the specific version of 'uri' resource this label applies to.

val

The short string name of the value or type of this label.

neg

If true, this is a negation label, overwriting a previous label.

cts

Timestamp when this label was created.

exp

Timestamp at which this label expires (no longer applies).

sig

Signature of dag-cbor encoded label.