struct PlaceOS::API::Models::Zone

Included Modules

Defined in:

placeos/api/models/zone.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def created_at : Time #

[View source]
def description : String | Nil #

Markdown formatted text that describes the zone.


[View source]
def id : String #

A universally unique identifier for the zone.


[View source]
def name : String #

A human readable identifier.


[View source]
def settings : Hash(String, JSON::Any) #

JSON object representing the zone configuration.


[View source]
def tags : String | Nil #

Space seperated list of tags for categorizing the zone.


[View source]
def triggers : Array(String) #

List of trigger ID's to be applied to all systems that associate with this zone.


[View source]