class PlaceOS::Driver::Interface::Lockers::PlaceLocker

Overview

inherit this to extend with additional locker information

Included Modules

Extended Modules

Defined in:

placeos-driver/interface/lockers.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def allocated=(allocated : Bool | Nil) #

is the current locker allocated


[View source]
def allocated? : Bool | Nil #

is the current locker allocated


[View source]
def bank_id : String | Int64 #

the locker system ids


[View source]
def bank_id=(bank_id : String | Int64) #

the locker system ids


[View source]
def building : String | Nil #

metadata for locating the locker (if known) - placeos zone ids


[View source]
def building=(building : String | Nil) #

metadata for locating the locker (if known) - placeos zone ids


[View source]
def expires_at : Time | Nil #

when the locker is released if known / enabled in the locker system


[View source]
def expires_at=(expires_at : Time | Nil) #

when the locker is released if known / enabled in the locker system


[View source]
def level : String | Nil #

[View source]
def level=(level : String | Nil) #

[View source]
def location : Symbol #

identifier for location services


[View source]
def locker_id : String | Int64 #

[View source]
def locker_id=(locker_id : String | Int64) #

[View source]
def locker_name : String #

the text on the outside of the locker


[View source]
def locker_name=(locker_name : String) #

the text on the outside of the locker


[View source]
def mac : String | Nil #

a single field that can be used to uniquely identify a locker should not clash with other systems and ideally be usable to identify the user who is allocated to the locker (via a lookup function)


[View source]
def mac=(mac : String | Nil) #

a single field that can be used to uniquely identify a locker should not clash with other systems and ideally be usable to identify the user who is allocated to the locker (via a lookup function)


[View source]