Class: OvirtSDK4::HardwareInformation
- Inherits:
-
Struct
- Object
- Struct
- OvirtSDK4::HardwareInformation
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary (collapse)
-
- (String) family
Returns the value of the
family
attribute. -
- (Object) family=(value)
Sets the value of the
family
attribute. -
- (HardwareInformation) initialize(opts = {})
constructor
Creates a new instance of the HardwareInformation class.
-
- (String) manufacturer
Returns the value of the
manufacturer
attribute. -
- (Object) manufacturer=(value)
Sets the value of the
manufacturer
attribute. -
- (String) product_name
Returns the value of the
product_name
attribute. -
- (Object) product_name=(value)
Sets the value of the
product_name
attribute. -
- (String) serial_number
Returns the value of the
serial_number
attribute. -
- (Object) serial_number=(value)
Sets the value of the
serial_number
attribute. -
- (Array<RngSource>) supported_rng_sources
Returns the value of the
supported_rng_sources
attribute. -
- (Object) supported_rng_sources=(list)
Sets the value of the
supported_rng_sources
attribute. -
- (String) uuid
Returns the value of the
uuid
attribute. -
- (Object) uuid=(value)
Sets the value of the
uuid
attribute. -
- (String) version
Returns the value of the
version
attribute. -
- (Object) version=(value)
Sets the value of the
version
attribute.
Methods included from Type
Constructor Details
- (HardwareInformation) initialize(opts = {})
Creates a new instance of the OvirtSDK4::HardwareInformation class.
3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 |
# File 'lib/ovirtsdk4/types.rb', line 3305 def initialize(opts = {}) super(opts) self.family = opts[:family] self.manufacturer = opts[:manufacturer] self.product_name = opts[:product_name] self.serial_number = opts[:serial_number] self.supported_rng_sources = opts[:supported_rng_sources] self.uuid = opts[:uuid] self.version = opts[:version] end |
Instance Method Details
- (String) family
Returns the value of the family
attribute.
3163 3164 3165 |
# File 'lib/ovirtsdk4/types.rb', line 3163 def family return @family end |
- (Object) family=(value)
Sets the value of the family
attribute.
3172 3173 3174 |
# File 'lib/ovirtsdk4/types.rb', line 3172 def family=(value) @family = value end |
- (String) manufacturer
Returns the value of the manufacturer
attribute.
3181 3182 3183 |
# File 'lib/ovirtsdk4/types.rb', line 3181 def manufacturer return @manufacturer end |
- (Object) manufacturer=(value)
Sets the value of the manufacturer
attribute.
3190 3191 3192 |
# File 'lib/ovirtsdk4/types.rb', line 3190 def manufacturer=(value) @manufacturer = value end |
- (String) product_name
Returns the value of the product_name
attribute.
3199 3200 3201 |
# File 'lib/ovirtsdk4/types.rb', line 3199 def product_name return @product_name end |
- (Object) product_name=(value)
Sets the value of the product_name
attribute.
3208 3209 3210 |
# File 'lib/ovirtsdk4/types.rb', line 3208 def product_name=(value) @product_name = value end |
- (String) serial_number
Returns the value of the serial_number
attribute.
3217 3218 3219 |
# File 'lib/ovirtsdk4/types.rb', line 3217 def serial_number return @serial_number end |
- (Object) serial_number=(value)
Sets the value of the serial_number
attribute.
3226 3227 3228 |
# File 'lib/ovirtsdk4/types.rb', line 3226 def serial_number=(value) @serial_number = value end |
- (Array<RngSource>) supported_rng_sources
Returns the value of the supported_rng_sources
attribute.
3235 3236 3237 |
# File 'lib/ovirtsdk4/types.rb', line 3235 def supported_rng_sources return @supported_rng_sources end |
- (Object) supported_rng_sources=(list)
Sets the value of the supported_rng_sources
attribute.
3243 3244 3245 |
# File 'lib/ovirtsdk4/types.rb', line 3243 def supported_rng_sources=(list) @supported_rng_sources = list end |
- (String) uuid
Returns the value of the uuid
attribute.
3252 3253 3254 |
# File 'lib/ovirtsdk4/types.rb', line 3252 def uuid return @uuid end |
- (Object) uuid=(value)
Sets the value of the uuid
attribute.
3261 3262 3263 |
# File 'lib/ovirtsdk4/types.rb', line 3261 def uuid=(value) @uuid = value end |
- (String) version
Returns the value of the version
attribute.
3270 3271 3272 |
# File 'lib/ovirtsdk4/types.rb', line 3270 def version return @version end |
- (Object) version=(value)
Sets the value of the version
attribute.
3279 3280 3281 |
# File 'lib/ovirtsdk4/types.rb', line 3279 def version=(value) @version = value end |