Class: OvirtSDK4::Property
- Inherits:
-
Struct
- Object
- Struct
- OvirtSDK4::Property
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary (collapse)
-
- (Property) initialize(opts = {})
constructor
Creates a new instance of the Property class.
-
- (String) name
Returns the value of the
name
attribute. -
- (Object) name=(value)
Sets the value of the
name
attribute. -
- (String) value
Returns the value of the
value
attribute. -
- (Object) value=(value)
Sets the value of the
value
attribute.
Methods included from Type
Constructor Details
- (Property) initialize(opts = {})
Creates a new instance of the OvirtSDK4::Property class.
11107 11108 11109 11110 11111 |
# File 'lib/ovirtsdk4/types.rb', line 11107 def initialize(opts = {}) super(opts) self.name = opts[:name] self.value = opts[:value] end |
Instance Method Details
- (String) name
Returns the value of the name
attribute.
11064 11065 11066 |
# File 'lib/ovirtsdk4/types.rb', line 11064 def name return @name end |
- (Object) name=(value)
Sets the value of the name
attribute.
11073 11074 11075 |
# File 'lib/ovirtsdk4/types.rb', line 11073 def name=(value) @name = value end |
- (String) value
Returns the value of the value
attribute.
11082 11083 11084 |
# File 'lib/ovirtsdk4/types.rb', line 11082 def value return @value end |
- (Object) value=(value)
Sets the value of the value
attribute.
11091 11092 11093 |
# File 'lib/ovirtsdk4/types.rb', line 11091 def value=(value) @value = value end |