ResourceMetadata

class ResourceMetadata(val kind: ResourceKind, val from: String, val id: String, val protocol: String, val createdAt: OffsetDateTime, val updatedAt: OffsetDateTime?) : Metadata

A data class representing the metadata present on every Resource.

Constructors

Link copied to clipboard
constructor(kind: ResourceKind, from: String, id: String, protocol: String, createdAt: OffsetDateTime, updatedAt: OffsetDateTime?)

Properties

Link copied to clipboard

ISO 8601 timestamp

Link copied to clipboard

The author's DID

Link copied to clipboard
val id: String

The resource's ID

Link copied to clipboard

the data property's type. e.g. offering

Link copied to clipboard

Version of the protocol in use (x.x format). The protocol version must remain consistent across messages in a given exchange. Messages sharing the same exchangeId MUST also have the same protocol version. Protocol versions are tracked in https://github.com/TBD54566975/tbdex

Link copied to clipboard

ISO 8601 timestamp