SetTaskPushNotificationResponseBuilder

DSL builder for SetTaskPushNotificationResponse.

Example usage:

val response = setTaskPushNotificationResponse {
id = myRequestId
result {
id = "task-123"
pushNotificationConfig {
url = "https://example.org/notifications"
token = "auth-token"
}
}
}

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Builds a SetTaskPushNotificationResponse instance with the configured parameters.

Link copied to clipboard
Link copied to clipboard

Sets the ID of the response.

Link copied to clipboard

Sets the result task push notification config.

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

Configures the result task push notification config using a lambda with receiver.