Class: Virtuozzo::SOAP::Types::Relocator::CpuType
- Inherits:
-
Object
- Object
- Virtuozzo::SOAP::Types::Relocator::CpuType
- Defined in:
- lib/virtuozzo/soap/types/relocator.rb
Overview
Instance Attribute Summary collapse
-
#bogomips ⇒ Object
Returns the value of attribute bogomips.
-
#cores ⇒ Object
Returns the value of attribute cores.
-
#family ⇒ Object
Returns the value of attribute family.
-
#hyperthreads ⇒ Object
Returns the value of attribute hyperthreads.
-
#mhz ⇒ Object
Returns the value of attribute mhz.
-
#model ⇒ Object
Returns the value of attribute model.
-
#name ⇒ Object
Returns the value of attribute name.
-
#number ⇒ Object
Returns the value of attribute number.
-
#units ⇒ Object
Returns the value of attribute units.
Instance Method Summary collapse
-
#initialize(mhz = nil, name = nil, number = nil, cores = nil, hyperthreads = nil, units = nil, family = nil, model = nil, bogomips = nil) ⇒ CpuType
constructor
A new instance of CpuType.
Constructor Details
#initialize(mhz = nil, name = nil, number = nil, cores = nil, hyperthreads = nil, units = nil, family = nil, model = nil, bogomips = nil) ⇒ CpuType
Returns a new instance of CpuType.
950 951 952 953 954 955 956 957 958 959 960 |
# File 'lib/virtuozzo/soap/types/relocator.rb', line 950 def initialize(mhz = nil, name = nil, number = nil, cores = nil, hyperthreads = nil, units = nil, family = nil, model = nil, bogomips = nil) @mhz = mhz @name = name @number = number @cores = cores @hyperthreads = hyperthreads @units = units @family = family @model = model @bogomips = bogomips end |
Instance Attribute Details
#bogomips ⇒ Object
Returns the value of attribute bogomips.
948 949 950 |
# File 'lib/virtuozzo/soap/types/relocator.rb', line 948 def bogomips @bogomips end |
#cores ⇒ Object
Returns the value of attribute cores.
943 944 945 |
# File 'lib/virtuozzo/soap/types/relocator.rb', line 943 def cores @cores end |
#family ⇒ Object
Returns the value of attribute family.
946 947 948 |
# File 'lib/virtuozzo/soap/types/relocator.rb', line 946 def family @family end |
#hyperthreads ⇒ Object
Returns the value of attribute hyperthreads.
944 945 946 |
# File 'lib/virtuozzo/soap/types/relocator.rb', line 944 def hyperthreads @hyperthreads end |
#mhz ⇒ Object
Returns the value of attribute mhz.
940 941 942 |
# File 'lib/virtuozzo/soap/types/relocator.rb', line 940 def mhz @mhz end |
#model ⇒ Object
Returns the value of attribute model.
947 948 949 |
# File 'lib/virtuozzo/soap/types/relocator.rb', line 947 def model @model end |
#name ⇒ Object
Returns the value of attribute name.
941 942 943 |
# File 'lib/virtuozzo/soap/types/relocator.rb', line 941 def name @name end |
#number ⇒ Object
Returns the value of attribute number.
942 943 944 |
# File 'lib/virtuozzo/soap/types/relocator.rb', line 942 def number @number end |
#units ⇒ Object
Returns the value of attribute units.
945 946 947 |
# File 'lib/virtuozzo/soap/types/relocator.rb', line 945 def units @units end |