Class: IControl::Common::IPHost

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

Overview

An struct that specifies either an explicit IP address, or a hostname.

Instance Attribute Summary (collapse)

Method Summary

Methods inherited from Base::Struct

from_soap, icontrol_attribute, #to_soap

Instance Attribute Details

- (String) ip_or_host

The string representing either an IP address or a hostname.



131
132
133
# File 'lib/icontrol/common.rb', line 131

def ip_or_host
  @ip_or_host
end

- (IControl::Common::IPHostType) type

An indicator of what type of value the ip_or_host string represents.



131
132
133
# File 'lib/icontrol/common.rb', line 131

def type
  @type
end