Class: IControl::System::LockStatus
- Inherits:
-
Base::Struct
- Object
- Base::Struct
- IControl::System::LockStatus
- Defined in:
- lib/icontrol/system.rb,
lib/icontrol/system.rb
Overview
A structure that describes device lock
Instance Attribute Summary collapse
-
#comment ⇒ String
User oriented information about this lock.
-
#lock_name ⇒ String
The name of the lock.
-
#time_left ⇒ Numeric
TTL of the lock in seconds.
Instance Attribute Details
#comment ⇒ String
User oriented information about this lock
222 223 224 |
# File 'lib/icontrol/system.rb', line 222 def comment @comment end |
#lock_name ⇒ String
The name of the lock. Lock is identified by this name.
222 223 224 |
# File 'lib/icontrol/system.rb', line 222 def lock_name @lock_name end |
#time_left ⇒ Numeric
TTL of the lock in seconds. The lock will be automatically removed after this time expires.
222 223 224 |
# File 'lib/icontrol/system.rb', line 222 def time_left @time_left end |