PickupRequest

class PickupRequest constructor(var id: String = UUID.randomUUID().toString(), val from: DID, val to: DID, var body: PickupRequest.Body)(source)

A class representing a pickup request.

Constructors

Link copied to clipboard
constructor(id: String = UUID.randomUUID().toString(), from: DID, to: DID, body: PickupRequest.Body)

Creates a pickup request with the specified parameters.

Types

Link copied to clipboard
data class Body(var recipientKey: String? = null, var limit: Int)

A class representing the body of a message.

Properties

Link copied to clipboard

The body of the pickup request.

Link copied to clipboard
val from: DID

The sender's DID (Decentralized Identifier).

Link copied to clipboard
var id: String

The unique identifier of the pickup request.

Link copied to clipboard
val to: DID

The receiver's DID (Decentralized Identifier).

Link copied to clipboard

The type of the pickup request.

Functions

Link copied to clipboard

Creates a Message object using the provided parameters.