Class: BeaconCohortReadyMessage ​
Defined in: packages/method/src/core/beacon/aggregation/cohort/messages/keygen/cohort-ready.ts:20
Represents a message indicating that a cohort has met the required conditions. BeaconCohortReadyMessage
Extends ​
Constructors ​
Constructor ​
new BeaconCohortReadyMessage(
__namedParameters):BeaconCohortReadyMessage
Defined in: packages/method/src/core/beacon/aggregation/cohort/messages/keygen/cohort-ready.ts:21
Parameters ​
__namedParameters ​
Returns ​
BeaconCohortReadyMessage
Overrides ​
Properties ​
body? ​
optionalbody:BaseBody
Defined in: packages/method/src/core/beacon/aggregation/cohort/messages/base.ts:32
Inherited from ​
from ​
from:
string
Defined in: packages/method/src/core/beacon/aggregation/cohort/messages/base.ts:31
Inherited from ​
to? ​
optionalto:string
Defined in: packages/method/src/core/beacon/aggregation/cohort/messages/base.ts:30
Inherited from ​
type ​
type:
string
Defined in: packages/method/src/core/beacon/aggregation/cohort/messages/base.ts:29
Inherited from ​
Methods ​
json() ​
json():
Base
Defined in: packages/method/src/core/beacon/aggregation/cohort/messages/base.ts:54
Converts a BaseMessage to a JSON object.
Returns ​
The JSON representation of the BaseMessage.
Inherited from ​
fromJSON() ​
staticfromJSON(data):BeaconCohortReadyMessage
Defined in: packages/method/src/core/beacon/aggregation/cohort/messages/keygen/cohort-ready.ts:32
Initializes an BeaconCohortReadyMessage from a given OptIn object.
Parameters ​
data ​
any
The CohortReadyMessage object to initialize the BeaconCohortReadyMessage.
Returns ​
BeaconCohortReadyMessage
The new BeaconCohortReadyMessage.