/AWS1/CL_IOTATTRIBUTEPAYLOAD¶
The attribute payload.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
it_attributes TYPE /AWS1/CL_IOTATTRIBUTES_W=>TT_ATTRIBUTES TT_ATTRIBUTES¶
A JSON string containing up to three key-value pair in JSON format. For example:
{\"attributes\":{\"string1\":\"string2\"}}
iv_merge TYPE /AWS1/IOTFLAG /AWS1/IOTFLAG¶
Specifies whether the list of attributes provided in the
AttributePayloadis merged with the attributes stored in the registry, instead of overwriting them.To remove an attribute, call
UpdateThingwith an empty attribute value.The
mergeattribute is only valid when callingUpdateThingorUpdateThingGroup.
Queryable Attributes¶
attributes¶
A JSON string containing up to three key-value pair in JSON format. For example:
{\"attributes\":{\"string1\":\"string2\"}}
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ATTRIBUTES() |
Getter for ATTRIBUTES, with configurable default |
ASK_ATTRIBUTES() |
Getter for ATTRIBUTES w/ exceptions if field has no value |
HAS_ATTRIBUTES() |
Determine if ATTRIBUTES has a value |
merge¶
Specifies whether the list of attributes provided in the
AttributePayloadis merged with the attributes stored in the registry, instead of overwriting them.To remove an attribute, call
UpdateThingwith an empty attribute value.The
mergeattribute is only valid when callingUpdateThingorUpdateThingGroup.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_MERGE() |
Getter for MERGE |