ObjectReference
data class ObjectReference(var objectId: ObjectId, var version: Version, var digest: ObjectDigest) : Disposable
Reference to an object
Contains sufficient information to uniquely identify a specific object.
BCS
The BCS serialized form of this type is specified in bcs-schema.abnf.
Constructors
| ObjectReference | constructor(objectId: ObjectId, version: Version, digest: ObjectDigest) |
Properties
| Name | Summary |
|---|---|
| digest | var digest: ObjectDigest |
| objectId | var objectId: ObjectId |
| version | var version: Version |
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |
| toBcs | fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | fun toDisplayString(): String Render this type as human-readable text. |
| toJson | fun toJson(): String Convert this type to a JSON encoded string. |