Overview

Represents a command that will be/has been executed on a device.

Members

Name Type Description

action

deviceCommandAction

Returns the command action. This is an immutable field. Once the command is created, the action cannot be changed.

collabId

beeId

The CollabId of the DeviceCommand.

createdOn

dateTime

Returns the command creation timestamp. This is an immutable field.

device

device

Returns the device associated with this command. This is an immutable field. Once the command is created, the device cannot be changed.

executedOn

dateTime

Returns the command executed timestamp.

executionDuration

long

Returns the command execution duration.

status

deviceCommandStatus

Returns the command status.

statusMessage

string

Returns the command status message.

Hierarchy

Examples

Below are examples in XML formats. All examples are shown with all inherited members. Quoting when required is part of the examples, but you must obviously populate with your own data.

XML Example

(show inherited members)

<obh:deviceCommand xsi:type="obh:deviceCommand" xmlns:obh="http://www.oracle.com/beehive" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <action>your_deviceCommandAction_0</action>
        <collabId>your_beeId_0</collabId>
        <createdOn>your_dateTime_0</createdOn>
        <device>your_device_0</device>
        <executedOn>your_dateTime_0</executedOn>
        <executionDuration>your_long_0</executionDuration>
        <status>your_deviceCommandStatus_0</status>
        <statusMessage>your_string_0</statusMessage>
</obh:deviceCommand>

Referenced By Representaions