Body

data class Body constructor(val goalCode: String? = null, val comment: String? = null, val proofTypes: Array<ProofTypes>? = emptyArray())(source)

Represents the body of a message in the ProposePresentation protocol.

Constructors

Link copied to clipboard
constructor(goalCode: String? = null, comment: String? = null, proofTypes: Array<ProofTypes>? = emptyArray())

Properties

Link copied to clipboard
val comment: String? = null

Additional comment about the presentation.

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

The goal code for the presentation.

Link copied to clipboard
@SerialName(value = "proof_types")
val proofTypes: Array<ProofTypes>?

An array of proof types.

Functions

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

Compares this Body object with the specified object for equality.

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

Calculates the hash code of the Body instance.