struct PlaceOS::API::Models::Websocket::Request
- PlaceOS::API::Models::Websocket::Request
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
placeos/api/models/websocket/request.crConstructors
Instance Method Summary
-
#args : Array(JSON::Any::Type) | Nil
Associated arguments for the command.
-
#cmd : Type
The command type.
-
#id : String | Int32 | Int64
A unique identifier to associate with the command.
-
#index : Int32 | Nil
The module index the command targets.
-
#mod : String
The module name the command targets.
-
#name : String
Name of the status variable of method being interacted with.
-
#sys : String
The system identified the command targets.
Constructor Detail
Instance Method Detail
def id : String | Int32 | Int64
#
A unique identifier to associate with the command. This will be returned as part of the response.