Class: OvirtSDK4::VcpuPin
- Inherits:
-
Struct
- Object
- Struct
- OvirtSDK4::VcpuPin
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary (collapse)
-
- (String) cpu_set
Returns the value of the
cpu_set
attribute. -
- (Object) cpu_set=(value)
Sets the value of the
cpu_set
attribute. -
- (VcpuPin) initialize(opts = {})
constructor
Creates a new instance of the VcpuPin class.
-
- (Integer) vcpu
Returns the value of the
vcpu
attribute. -
- (Object) vcpu=(value)
Sets the value of the
vcpu
attribute.
Methods included from Type
Constructor Details
- (VcpuPin) initialize(opts = {})
Creates a new instance of the OvirtSDK4::VcpuPin class.
17882 17883 17884 17885 17886 |
# File 'lib/ovirtsdk4/types.rb', line 17882 def initialize(opts = {}) super(opts) self.cpu_set = opts[:cpu_set] self.vcpu = opts[:vcpu] end |
Instance Method Details
- (String) cpu_set
Returns the value of the cpu_set
attribute.
17839 17840 17841 |
# File 'lib/ovirtsdk4/types.rb', line 17839 def cpu_set return @cpu_set end |
- (Object) cpu_set=(value)
Sets the value of the cpu_set
attribute.
17848 17849 17850 |
# File 'lib/ovirtsdk4/types.rb', line 17848 def cpu_set=(value) @cpu_set = value end |
- (Integer) vcpu
Returns the value of the vcpu
attribute.
17857 17858 17859 |
# File 'lib/ovirtsdk4/types.rb', line 17857 def vcpu return @vcpu end |
- (Object) vcpu=(value)
Sets the value of the vcpu
attribute.
17866 17867 17868 |
# File 'lib/ovirtsdk4/types.rb', line 17866 def vcpu=(value) @vcpu = value end |