TaskPushNotificationConfigBuilder

Builder class for creating TaskPushNotificationConfig instances.

This builder provides a fluent API for creating TaskPushNotificationConfig objects, making it easier to configure task push notification settings.

Example usage:

val config = TaskPushNotificationConfigBuilder()
.id("task-123")
.pushNotificationConfig {
url = "https://example.org/notifications"
token = "auth-token"
}
.create()

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
var id: String?

Functions

Link copied to clipboard

Builds a TaskPushNotificationConfig instance with the configured parameters.

Link copied to clipboard

Sets the ID of the task.

Link copied to clipboard

Configures the push notification config using a Java-friendly Consumer.

Configures the push notification config using a lambda with receiver.