Propose Presentation
Class representing a proposal for a presentation.
Throws
If the message type is invalid.
Constructors
Link copied to clipboard
constructor(id: String? = UUID.randomUUID().toString(), body: ProposePresentation.Body, attachments: Array<AttachmentDescriptor>, thid: String?, from: DID, to: DID)
The ProposePresentation
class represents a proposal for a presentation in the Prism agent. It is used to create a new ProposePresentation
object with the given parameters.
Constructs a ProposePresentation object by processing a Message.
Types
Link copied to clipboard
data class Body constructor(val goalCode: String? = null, val comment: String? = null, val proofTypes: Array<ProofTypes>? = emptyArray())
Represents the body of a message in the ProposePresentation protocol.
Properties
Functions
Link copied to clipboard
Calculates the hash code of the ProposePresentation instance.
Link copied to clipboard
Creates a Message object based on the current state of the ProposePresentation instance. The Message object includes information about the sender, recipient, message body, and other metadata.