struct

PlaceOS::Model::Trigger::Conditions::Comparison::StatusVariable

Inherits JSON::Serializable < Struct < Value < Object

Status of a Module

Constructors

new(mod : String, status : String, keys : Array(String))
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

clone
Source
copy_with(mod _mod = @mod, status _status = @status, keys _keys = @keys)
Source
keys

Keys to look up in the module

mod

Module that defines the status variable

status

Unparsed hash of a status variable