struct PlaceOS::API::Models::Websocket::Request

Included Modules

Defined in:

placeos/api/models/websocket/request.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def args : Array(JSON::Any::Type) | Nil #

Associated arguments for the command.


[View source]
def cmd : Type #

The command type.


[View source]
def id : String | Int32 | Int64 #

A unique identifier to associate with the command. This will be returned as part of the response.


[View source]
def index : Int32 | Nil #

The module index the command targets. Defaults to 1.


[View source]
def mod : String #

The module name the command targets.


[View source]
def name : String #

Name of the status variable of method being interacted with.


[View source]
def sys : String #

The system identified the command targets.


[View source]