Class: Virtuozzo::SOAP::Types::Backupm::CpuType
- Inherits:
-
Object
- Object
- Virtuozzo::SOAP::Types::Backupm::CpuType
- Defined in:
- lib/virtuozzo/soap/types/backupm.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.
501 502 503 504 505 506 507 508 509 510 511 |
# File 'lib/virtuozzo/soap/types/backupm.rb', line 501 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.
499 500 501 |
# File 'lib/virtuozzo/soap/types/backupm.rb', line 499 def bogomips @bogomips end |
#cores ⇒ Object
Returns the value of attribute cores.
494 495 496 |
# File 'lib/virtuozzo/soap/types/backupm.rb', line 494 def cores @cores end |
#family ⇒ Object
Returns the value of attribute family.
497 498 499 |
# File 'lib/virtuozzo/soap/types/backupm.rb', line 497 def family @family end |
#hyperthreads ⇒ Object
Returns the value of attribute hyperthreads.
495 496 497 |
# File 'lib/virtuozzo/soap/types/backupm.rb', line 495 def hyperthreads @hyperthreads end |
#mhz ⇒ Object
Returns the value of attribute mhz.
491 492 493 |
# File 'lib/virtuozzo/soap/types/backupm.rb', line 491 def mhz @mhz end |
#model ⇒ Object
Returns the value of attribute model.
498 499 500 |
# File 'lib/virtuozzo/soap/types/backupm.rb', line 498 def model @model end |
#name ⇒ Object
Returns the value of attribute name.
492 493 494 |
# File 'lib/virtuozzo/soap/types/backupm.rb', line 492 def name @name end |
#number ⇒ Object
Returns the value of attribute number.
493 494 495 |
# File 'lib/virtuozzo/soap/types/backupm.rb', line 493 def number @number end |
#units ⇒ Object
Returns the value of attribute units.
496 497 498 |
# File 'lib/virtuozzo/soap/types/backupm.rb', line 496 def units @units end |