Class: MiqHostSnmpSystem
- Inherits:
-
Object
- Object
- MiqHostSnmpSystem
- Defined in:
- lib/VMwareWebService/MiqHostSnmpSystem.rb
Instance Attribute Summary collapse
-
#invObj ⇒ Object
readonly
Returns the value of attribute invObj.
Instance Method Summary collapse
-
#initialize(ssMor, invObj) ⇒ MiqHostSnmpSystem
constructor
A new instance of MiqHostSnmpSystem.
- #snmpSystem ⇒ Object
Constructor Details
#initialize(ssMor, invObj) ⇒ MiqHostSnmpSystem
Returns a new instance of MiqHostSnmpSystem.
4 5 6 7 |
# File 'lib/VMwareWebService/MiqHostSnmpSystem.rb', line 4 def initialize(ssMor, invObj) @invObj = invObj @ssMor = ssMor end |
Instance Attribute Details
#invObj ⇒ Object (readonly)
Returns the value of attribute invObj.
2 3 4 |
# File 'lib/VMwareWebService/MiqHostSnmpSystem.rb', line 2 def invObj @invObj end |
Instance Method Details
#snmpSystem ⇒ Object
9 10 11 |
# File 'lib/VMwareWebService/MiqHostSnmpSystem.rb', line 9 def snmpSystem @invObj.getMoProp(@ssMor) end |