SetTaskPushNotificationRequestBuilder
DSL builder for SetTaskPushNotificationRequest.
Example usage:
val request = setTaskPushNotificationRequest {
id = myRequestId
params {
id = "task-123"
pushNotificationConfig {
url = "https://example.org/notifications"
token = "auth-token"
}
}
}Content copied to clipboard
Properties
Functions
Link copied to clipboard
Builds a SetTaskPushNotificationRequest instance with the configured parameters.
Link copied to clipboard
Sets the ID of the request.
Link copied to clipboard
fun params(init: Consumer<TaskPushNotificationConfigBuilder>): SetTaskPushNotificationRequestBuilder
Configures the task push notification config using a Java-friendly Consumer.
fun params(init: TaskPushNotificationConfigBuilder.() -> Unit): SetTaskPushNotificationRequestBuilder
Configures the task push notification config using a lambda with receiver.