Class: OvirtSDK4::CpuType
- Inherits:
-
Struct
- Object
- Struct
- OvirtSDK4::CpuType
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary (collapse)
-
- (Architecture) architecture
Returns the value of the
architecture
attribute. -
- (Object) architecture=(value)
Sets the value of the
architecture
attribute. -
- (CpuType) initialize(opts = {})
constructor
Creates a new instance of the CpuType class.
-
- (Integer) level
Returns the value of the
level
attribute. -
- (Object) level=(value)
Sets the value of the
level
attribute. -
- (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
- (CpuType) initialize(opts = {})
Creates a new instance of the OvirtSDK4::CpuType class.
2045 2046 2047 2048 2049 2050 |
# File 'lib/ovirtsdk4/types.rb', line 2045 def initialize(opts = {}) super(opts) self.architecture = opts[:architecture] self.level = opts[:level] self.name = opts[:name] end |
Instance Method Details
- (Architecture) architecture
Returns the value of the architecture
attribute.
1982 1983 1984 |
# File 'lib/ovirtsdk4/types.rb', line 1982 def architecture return @architecture end |
- (Object) architecture=(value)
Sets the value of the architecture
attribute.
1991 1992 1993 |
# File 'lib/ovirtsdk4/types.rb', line 1991 def architecture=(value) @architecture = value end |
- (Integer) level
Returns the value of the level
attribute.
2000 2001 2002 |
# File 'lib/ovirtsdk4/types.rb', line 2000 def level return @level end |
- (Object) level=(value)
Sets the value of the level
attribute.
2009 2010 2011 |
# File 'lib/ovirtsdk4/types.rb', line 2009 def level=(value) @level = value end |
- (String) name
Returns the value of the name
attribute.
2018 2019 2020 |
# File 'lib/ovirtsdk4/types.rb', line 2018 def name return @name end |
- (Object) name=(value)
Sets the value of the name
attribute.
2027 2028 2029 |
# File 'lib/ovirtsdk4/types.rb', line 2027 def name=(value) @name = value end |