@JsonClass(true) data class PresentationPreviewAttribute
Represents a specification for an attribute. This specification proposes its attribute's characteristics for creation within a presentation.
<init> |
Represents a specification for an attribute. This specification proposes its attribute's characteristics for creation within a presentation. PresentationPreviewAttribute(name: String, credentialDefinitionId: String?, mimeType: String? = null, value: String?, referent: String?) |
credentialDefinitionId |
is optional. It maps to the credential definition ID of the credential with the current attribute. The holder creates the preview and has the corresponding credential, so the holder must also know its credential definition ID. val credentialDefinitionId: String? |
mimeType |
is optional and specifies how to render the value. If it is null, the value is a string. Otherwise, the value is a base64-encoded string that represents a binary BLOB that should be interpreted as mimeType. You can wrap the value in Base64NormalString if needed. val mimeType: String? |
name |
is mandatory. This is the name of the attribute. val name: String |
referent |
is optional. It indicates which credential will supply the attribute in the presentation. val referent: String? |
value |
is optional. It is the value of the attribute for presentation. val value: String? |