GetTaskPushNotificationResponseBuilder
DSL builder for GetTaskPushNotificationResponse.
Example usage:
val response = getTaskPushNotificationResponse {
id = myRequestId
result = myTaskPushNotificationConfig
}Content copied to clipboard
Functions
Link copied to clipboard
Builds a GetTaskPushNotificationResponse instance with the configured parameters.
Link copied to clipboard
Sets the error.
Link copied to clipboard
Sets the ID of the response.
Link copied to clipboard
Sets the result task push notification config.
fun result(init: Consumer<TaskPushNotificationConfigBuilder>): GetTaskPushNotificationResponseBuilder
Configures the result task push notification config using a Java-friendly Consumer.
fun result(init: TaskPushNotificationConfigBuilder.() -> Unit): GetTaskPushNotificationResponseBuilder
Configures the result task push notification config using a lambda with receiver.