Class: Virtuozzo::SOAP::Types::Computerm::SystemType
- Inherits:
-
Object
- Object
- Virtuozzo::SOAP::Types::Computerm::SystemType
- Defined in:
- lib/virtuozzo/soap/types/computerm.rb
Overview
http://www.swsoft.com/webservices/vzl/4.0.0/computermsystemType
architecture - SOAP::SOAPString
os - Virtuozzo::SOAP::Types::Computerm::OsType
cpu - Virtuozzo::SOAP::Types::Computerm::CpuType
memory - Virtuozzo::SOAP::Types::Computerm::ResourceType
swap - Virtuozzo::SOAP::Types::Computerm::ResourceType
Instance Attribute Summary collapse
-
#architecture ⇒ Object
Returns the value of attribute architecture.
-
#cpu ⇒ Object
Returns the value of attribute cpu.
-
#memory ⇒ Object
Returns the value of attribute memory.
-
#os ⇒ Object
Returns the value of attribute os.
-
#swap ⇒ Object
Returns the value of attribute swap.
Instance Method Summary collapse
-
#initialize(architecture = nil, os = nil, cpu = nil, memory = nil, swap = nil) ⇒ SystemType
constructor
A new instance of SystemType.
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
#architecture ⇒ Object
Returns the value of attribute architecture.
47 48 49 |
# File 'lib/virtuozzo/soap/types/computerm.rb', line 47 def architecture @architecture end |
#cpu ⇒ Object
Returns the value of attribute cpu.
49 50 51 |
# File 'lib/virtuozzo/soap/types/computerm.rb', line 49 def cpu @cpu end |
#memory ⇒ Object
Returns the value of attribute memory.
50 51 52 |
# File 'lib/virtuozzo/soap/types/computerm.rb', line 50 def memory @memory end |
#os ⇒ Object
Returns the value of attribute os.
48 49 50 |
# File 'lib/virtuozzo/soap/types/computerm.rb', line 48 def os @os end |
#swap ⇒ Object
Returns the value of attribute swap.
51 52 53 |
# File 'lib/virtuozzo/soap/types/computerm.rb', line 51 def swap @swap end |