Class: OvirtSDK4::Mac
- Inherits:
-
Struct
- Object
- Struct
- OvirtSDK4::Mac
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary (collapse)
-
- (String) address
Returns the value of the
address
attribute. -
- (Object) address=(value)
Sets the value of the
address
attribute. -
- (Mac) initialize(opts = {})
constructor
Creates a new instance of the Mac class.
Methods included from Type
Constructor Details
- (Mac) initialize(opts = {})
Creates a new instance of the OvirtSDK4::Mac class.
6175 6176 6177 6178 |
# File 'lib/ovirtsdk4/types.rb', line 6175 def initialize(opts = {}) super(opts) self.address = opts[:address] end |
Instance Method Details
- (String) address
Returns the value of the address
attribute.
6152 6153 6154 |
# File 'lib/ovirtsdk4/types.rb', line 6152 def address return @address end |
- (Object) address=(value)
Sets the value of the address
attribute.
6161 6162 6163 |
# File 'lib/ovirtsdk4/types.rb', line 6161 def address=(value) @address = value end |