Class: Virtuozzo::SOAP::Types::Processm::CpuType
- Inherits:
-
Object
- Object
- Virtuozzo::SOAP::Types::Processm::CpuType
- Defined in:
- lib/virtuozzo/soap/types/processm.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.
902 903 904 905 906 907 908 909 910 911 912 |
# File 'lib/virtuozzo/soap/types/processm.rb', line 902 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.
900 901 902 |
# File 'lib/virtuozzo/soap/types/processm.rb', line 900 def bogomips @bogomips end |
#cores ⇒ Object
Returns the value of attribute cores.
895 896 897 |
# File 'lib/virtuozzo/soap/types/processm.rb', line 895 def cores @cores end |
#family ⇒ Object
Returns the value of attribute family.
898 899 900 |
# File 'lib/virtuozzo/soap/types/processm.rb', line 898 def family @family end |
#hyperthreads ⇒ Object
Returns the value of attribute hyperthreads.
896 897 898 |
# File 'lib/virtuozzo/soap/types/processm.rb', line 896 def hyperthreads @hyperthreads end |
#mhz ⇒ Object
Returns the value of attribute mhz.
892 893 894 |
# File 'lib/virtuozzo/soap/types/processm.rb', line 892 def mhz @mhz end |
#model ⇒ Object
Returns the value of attribute model.
899 900 901 |
# File 'lib/virtuozzo/soap/types/processm.rb', line 899 def model @model end |
#name ⇒ Object
Returns the value of attribute name.
893 894 895 |
# File 'lib/virtuozzo/soap/types/processm.rb', line 893 def name @name end |
#number ⇒ Object
Returns the value of attribute number.
894 895 896 |
# File 'lib/virtuozzo/soap/types/processm.rb', line 894 def number @number end |
#units ⇒ Object
Returns the value of attribute units.
897 898 899 |
# File 'lib/virtuozzo/soap/types/processm.rb', line 897 def units @units end |