Class: Virtuozzo::SOAP::Types::Computerm::SystemType

Inherits:
Object
  • Object
show all
Defined in:
lib/virtuozzo/soap/types/computerm.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(architecture = nil, os = nil, cpu = nil, memory = nil, swap = nil) ⇒ SystemType

Returns a new instance of SystemType.



53
54
55
56
57
58
59
# File 'lib/virtuozzo/soap/types/computerm.rb', line 53

def initialize(architecture = nil, os = nil, cpu = nil, memory = nil, swap = nil)
  @architecture = architecture
  @os = os
  @cpu = cpu
  @memory = memory
  @swap = swap
end

Instance Attribute Details

#architectureObject

Returns the value of attribute architecture.



47
48
49
# File 'lib/virtuozzo/soap/types/computerm.rb', line 47

def architecture
  @architecture
end

#cpuObject

Returns the value of attribute cpu.



49
50
51
# File 'lib/virtuozzo/soap/types/computerm.rb', line 49

def cpu
  @cpu
end

#memoryObject

Returns the value of attribute memory.



50
51
52
# File 'lib/virtuozzo/soap/types/computerm.rb', line 50

def memory
  @memory
end

#osObject

Returns the value of attribute os.



48
49
50
# File 'lib/virtuozzo/soap/types/computerm.rb', line 48

def os
  @os
end

#swapObject

Returns the value of attribute swap.



51
52
53
# File 'lib/virtuozzo/soap/types/computerm.rb', line 51

def swap
  @swap
end