class Descriptor
Represents the specifications of a Subscription.
Descriptor(type: Type, includesRevocation: Boolean = true, expirationDate: Long? = null, encryptionAlgorithm: CryptoMethod = CryptoMethod.None, constraint: Constraint = Constraint.None)
Represents the specifications of a Subscription. |
val constraint: Constraint
Additional constraint on the type of event to subscribe to, which makes it possible to filter the subscribed data. |
|
val encryptionAlgorithm: CryptoMethod
Algorithm to use to encrypt notifications (no encryption if not set). This setting is mandatory for Notification targets. |
|
val expirationDate: Long?
Deadline for the subscription (or infinite if not set). This setting is mandatory for Webhook and Notification targets. |
|
val includesRevocation: Boolean
Set to |
|
val type: Type
The type of event to subscribe to. |