@JsonClass(true) data class AttachmentDescriptorData
Represents the actual data of the attachment.
<init> |
Represents the actual data of the attachment. AttachmentDescriptorData(sha256: String? = null, links: List<String>? = null, base64: Base64NormalString? = null, json: String? = null) |
base64 |
is Base64-encoded data. Used for representing arbitrary content inline instead off via links. val base64: Base64NormalString? |
json |
is directly embedded JSON data. This is useful if the content is natively JSON, as Base64 conversion is not needed. val json: String? |
links |
is a list of zero or more locations from which the content can be fetched. val links: List<String>? |
sha256 |
is the hash of the content, useful for integrity check for inlined content. val sha256: String? |