$k. ActionResponse

new ActionResponse()

Methods

setData(jseData) → {$k.ActionResponse}

Data function

Parameters:
NameTypeDescription
jseDataobject
Returns:
Type: 
$k.ActionResponse

setFollowup(jseString) → {$k.ActionResponse}

Followup function

Parameters:
NameTypeDescription
jseStringstring
Returns:
Type: 
$k.ActionResponse

setGlobalContext(jseGlobalContext) → {$k.ActionResponse}

Set global context object

Parameters:
NameTypeDescription
jseGlobalContextArray.<object>
Returns:
Type: 
$k.ActionResponse

setNotification(jseMessageString, jseTypeStringopt) → {$k.ActionResponse}

Notification function

Parameters:
NameTypeAttributesDescription
jseMessageStringstring
jseTypeStringstring<optional>
Returns:
Type: 
$k.ActionResponse

setReceiverRole(jseString) → {$k.ActionResponse}

the view with the given role will receive the response

Parameters:
NameTypeDescription
jseStringstring
Since
  • 5.4.0
Returns:
Type: 
$k.ActionResponse

setSession(session)

Set the session

Parameters:
NameTypeDescription
sessionobject

Either a JSON object or a Session

toJSON()