struct PlaceOS::Client::API::Models::Trigger::Conditions::Comparison

Defined in:

placeos/api/models/trigger.cr

Constant Summary

OPERATORS = {"equal", "not_equal", "greater_than", "greater_than_or_equal", "less_than", "less_than_or_equal", "and", "or", "exclusive_or"}

Constructors

Instance Method Summary

Constructor methods inherited from struct PlaceOS::Client::API::Models::Response

new(pull : JSON::PullParser) new

Macros inherited from module PlaceOS::Client::API::Models::Response::Init

__add_initialize__ __add_initialize__

Constructor Detail

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

[View source]

Instance Method Detail

def left : Value #

[View source]
def operator : String #

[View source]
def right : Value #

[View source]