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()Content copied to clipboard
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
fun pushNotificationConfig(init: Consumer<PushNotificationConfigBuilder>): TaskPushNotificationConfigBuilder
Configures the push notification config using a Java-friendly Consumer.
fun pushNotificationConfig(init: PushNotificationConfigBuilder.() -> Unit): TaskPushNotificationConfigBuilder
Configures the push notification config using a lambda with receiver.