/AWS1/CL_IOTSTATUSREASON¶
Provide additional context about the status of a command execution using a reason code and description.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_reasoncode TYPE /AWS1/IOTSTATUSREASONCODE /AWS1/IOTSTATUSREASONCODE¶
A code that provides additional context for the command execution status.
Optional arguments:¶
iv_reasondescription TYPE /AWS1/IOTSTATUSREASONDESC /AWS1/IOTSTATUSREASONDESC¶
A literal string for devices to optionally provide additional information about the reason code for a command execution status.
Queryable Attributes¶
reasonCode¶
A code that provides additional context for the command execution status.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_REASONCODE() |
Getter for REASONCODE, with configurable default |
ASK_REASONCODE() |
Getter for REASONCODE w/ exceptions if field has no value |
HAS_REASONCODE() |
Determine if REASONCODE has a value |
reasonDescription¶
A literal string for devices to optionally provide additional information about the reason code for a command execution status.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_REASONDESCRIPTION() |
Getter for REASONDESCRIPTION, with configurable default |
ASK_REASONDESCRIPTION() |
Getter for REASONDESCRIPTION w/ exceptions if field has no v |
HAS_REASONDESCRIPTION() |
Determine if REASONDESCRIPTION has a value |