Builder

data class Builder(    context: String,     namespace: String,     name: String,     version: String)

The builder for EventMessageRequest

Parameters

context

the context for the message

namespace

the namespace of directive

name

the name of directive

version

the version

Constructors

Link copied to clipboard
fun Builder(    context: String,     namespace: String,     name: String,     version: String)

Functions

Link copied to clipboard
fun build(): EventMessageRequest

Create a EventMessageRequest applied given params.

Link copied to clipboard
fun dialogRequestId(id: String): EventMessageRequest.Builder

Set dialogRequestId

Link copied to clipboard
fun messageId(id: String): EventMessageRequest.Builder

Set messageId

Link copied to clipboard
fun payload(payload: String): EventMessageRequest.Builder

Set payload

Link copied to clipboard
fun referrerDialogRequestId(referrerDialogRequestId: String): EventMessageRequest.Builder

Set referrerDialogRequestId