CredentialPreview

data class CredentialPreview constructor(val schemaId: String? = null, val body: CredentialPreview.Body)(source)

https://github.com/hyperledger/aries-rfcs/tree/main/features/0453-issue-credential-v2#preview-credential

Constructors

Link copied to clipboard
constructor(schemaId: String? = null, attributes: Array<CredentialPreview.Attribute>)

Initializes a new instance of CredentialPreview.

constructor(schemaId: String? = null, body: CredentialPreview.Body)

Types

Link copied to clipboard
data class Attribute(val name: String, val value: String, val mediaType: String?)

Represents an attribute in a credential preview.

Link copied to clipboard
data class Body(val attributes: Array<CredentialPreview.Attribute>)

Represents a body object.

Properties

Link copied to clipboard
Link copied to clipboard
@SerialName(value = "schema_id")
val schemaId: String? = null
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Compares this CredentialPreview object to the specified other object for equality.

Link copied to clipboard
open override fun hashCode(): Int

Computes the hash code value for this object.