Class: OvirtSDK4::Io
- Inherits:
-
Struct
- Object
- Struct
- OvirtSDK4::Io
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary (collapse)
-
- (Io) initialize(opts = {})
constructor
Creates a new instance of the Io class.
-
- (Integer) threads
Returns the value of the
threads
attribute. -
- (Object) threads=(value)
Sets the value of the
threads
attribute.
Methods included from Type
Constructor Details
- (Io) initialize(opts = {})
Creates a new instance of the OvirtSDK4::Io class.
4349 4350 4351 4352 |
# File 'lib/ovirtsdk4/types.rb', line 4349 def initialize(opts = {}) super(opts) self.threads = opts[:threads] end |
Instance Method Details
- (Integer) threads
Returns the value of the threads
attribute.
4326 4327 4328 |
# File 'lib/ovirtsdk4/types.rb', line 4326 def threads return @threads end |
- (Object) threads=(value)
Sets the value of the threads
attribute.
4335 4336 4337 |
# File 'lib/ovirtsdk4/types.rb', line 4335 def threads=(value) @threads = value end |