Class: OvirtSDK4::CustomProperty
- Inherits:
-
Struct
- Object
- Struct
- OvirtSDK4::CustomProperty
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary (collapse)
-
- (CustomProperty) initialize(opts = {})
constructor
Creates a new instance of the CustomProperty class.
-
- (String) name
Returns the value of the
name
attribute. -
- (Object) name=(value)
Sets the value of the
name
attribute. -
- (String) regexp
Returns the value of the
regexp
attribute. -
- (Object) regexp=(value)
Sets the value of the
regexp
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
- (CustomProperty) initialize(opts = {})
Creates a new instance of the OvirtSDK4::CustomProperty class.
2124 2125 2126 2127 2128 2129 |
# File 'lib/ovirtsdk4/types.rb', line 2124 def initialize(opts = {}) super(opts) self.name = opts[:name] self.regexp = opts[:regexp] self.value = opts[:value] end |
Instance Method Details
- (String) name
Returns the value of the name
attribute.
2061 2062 2063 |
# File 'lib/ovirtsdk4/types.rb', line 2061 def name return @name end |
- (Object) name=(value)
Sets the value of the name
attribute.
2070 2071 2072 |
# File 'lib/ovirtsdk4/types.rb', line 2070 def name=(value) @name = value end |
- (String) regexp
Returns the value of the regexp
attribute.
2079 2080 2081 |
# File 'lib/ovirtsdk4/types.rb', line 2079 def regexp return @regexp end |
- (Object) regexp=(value)
Sets the value of the regexp
attribute.
2088 2089 2090 |
# File 'lib/ovirtsdk4/types.rb', line 2088 def regexp=(value) @regexp = value end |
- (String) value
Returns the value of the value
attribute.
2097 2098 2099 |
# File 'lib/ovirtsdk4/types.rb', line 2097 def value return @value end |
- (Object) value=(value)
Sets the value of the value
attribute.
2106 2107 2108 |
# File 'lib/ovirtsdk4/types.rb', line 2106 def value=(value) @value = value end |