Class: IControl::System::LockStatus

Inherits:
Base::Struct
  • Object
show all
Defined in:
lib/icontrol/system.rb,
lib/icontrol/system.rb

Overview

A structure that describes device lock

Instance Attribute Summary collapse

Instance Attribute Details

#commentString

User oriented information about this lock

Returns:

  • (String)

    the current value of comment



222
223
224
# File 'lib/icontrol/system.rb', line 222

def comment
  @comment
end

#lock_nameString

The name of the lock. Lock is identified by this name.

Returns:

  • (String)

    the current value of lock_name



222
223
224
# File 'lib/icontrol/system.rb', line 222

def lock_name
  @lock_name
end

#time_leftNumeric

TTL of the lock in seconds. The lock will be automatically removed after this time expires.

Returns:

  • (Numeric)

    the current value of time_left



222
223
224
# File 'lib/icontrol/system.rb', line 222

def time_left
  @time_left
end