Class: OvirtSDK4::Package
- Inherits:
-
Struct
- Object
- Struct
- OvirtSDK4::Package
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary (collapse)
-
- (Package) initialize(opts = {})
constructor
Creates a new instance of the Package class.
-
- (String) name
Returns the value of the
name
attribute. -
- (Object) name=(value)
Sets the value of the
name
attribute.
Methods included from Type
Constructor Details
- (Package) initialize(opts = {})
Creates a new instance of the OvirtSDK4::Package class.
9758 9759 9760 9761 |
# File 'lib/ovirtsdk4/types.rb', line 9758 def initialize(opts = {}) super(opts) self.name = opts[:name] end |
Instance Method Details
- (String) name
Returns the value of the name
attribute.
9735 9736 9737 |
# File 'lib/ovirtsdk4/types.rb', line 9735 def name return @name end |
- (Object) name=(value)
Sets the value of the name
attribute.
9744 9745 9746 |
# File 'lib/ovirtsdk4/types.rb', line 9744 def name=(value) @name = value end |