class

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

Inherits JSON::Serializable < Reference < Object

inherit this to extend with additional locker information

Constructors

new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

allocated=(allocated : Bool | Nil)

is the current locker allocated

Source
allocated?

is the current locker allocated

Source
allocation_id

an indicator that can be synced with PlaceOS bookings could be the locker system user id or a booking id

Source
allocation_id=(allocation_id : String | Int64 | Nil)

an indicator that can be synced with PlaceOS bookings could be the locker system user id or a booking id

Source
bank_id

the locker system ids

Source
bank_id=(bank_id : String | Int64)

the locker system ids

Source
building

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

Source
building=(building : String | Nil)

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

Source
expires_at

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

Source
expires_at=(expires_at : Time | Nil)

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

Source
level
Source
level=(level : String | Nil)
Source
location

identifier for location services

Source
locker_id
Source
locker_id=(locker_id : String | Int64)
Source
locker_name

the text on the outside of the locker

Source
locker_name=(locker_name : String)

the text on the outside of the locker

Source
mac

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)

Source
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)

Source