Properties
Name | Access | Type | Description |
---|---|---|---|
Body | Read | String | Body |
Errors | Read | IList of Error | Errors |
Id | Read, Write | Int32 | Id |
MessageId | Read, Write | Guid | Message Id |
Name | Read | String | Name |
StatusCode | Read | Int32 | Status Code |
Warnings | Read | IList of Warning | Warnings |
Methods
HasErrors
Velocity
#set($booleanResponse = $message.HasErrors())
JavaScript
var booleanResponse = message.HasErrors();
Returns
Boolean
HasWarnings
Velocity
#set($booleanResponse = $message.HasWarnings())
JavaScript
var booleanResponse = message.HasWarnings();
Returns
Boolean
HasWarningsOrErrors
Velocity
#set($booleanResponse = $message.HasWarningsOrErrors())
JavaScript
var booleanResponse = message.HasWarningsOrErrors();
Returns
Boolean
HtmlBody
Velocity
#set($stringResponse = $message.HtmlBody($target))
JavaScript
var stringResponse = message.HtmlBody(target);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
target | String | Target | Required |
Returns
String
HtmlName
Velocity
#set($stringResponse = $message.HtmlName($target))
JavaScript
var stringResponse = message.HtmlName(target);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
target | String | Target | Required |
Returns
String
ThrowErrors
Velocity
$message.ThrowErrors()
JavaScript
message.ThrowErrors();