Class: Virtuozzo::SOAP::Types::Envm::CpuType
- Inherits:
-
Object
- Object
- Virtuozzo::SOAP::Types::Envm::CpuType
- Defined in:
- lib/virtuozzo/soap/types/envm.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.
548 549 550 551 552 553 554 555 556 557 558 |
# File 'lib/virtuozzo/soap/types/envm.rb', line 548 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.
546 547 548 |
# File 'lib/virtuozzo/soap/types/envm.rb', line 546 def bogomips @bogomips end |
#cores ⇒ Object
Returns the value of attribute cores.
541 542 543 |
# File 'lib/virtuozzo/soap/types/envm.rb', line 541 def cores @cores end |
#family ⇒ Object
Returns the value of attribute family.
544 545 546 |
# File 'lib/virtuozzo/soap/types/envm.rb', line 544 def family @family end |
#hyperthreads ⇒ Object
Returns the value of attribute hyperthreads.
542 543 544 |
# File 'lib/virtuozzo/soap/types/envm.rb', line 542 def hyperthreads @hyperthreads end |
#mhz ⇒ Object
Returns the value of attribute mhz.
538 539 540 |
# File 'lib/virtuozzo/soap/types/envm.rb', line 538 def mhz @mhz end |
#model ⇒ Object
Returns the value of attribute model.
545 546 547 |
# File 'lib/virtuozzo/soap/types/envm.rb', line 545 def model @model end |
#name ⇒ Object
Returns the value of attribute name.
539 540 541 |
# File 'lib/virtuozzo/soap/types/envm.rb', line 539 def name @name end |
#number ⇒ Object
Returns the value of attribute number.
540 541 542 |
# File 'lib/virtuozzo/soap/types/envm.rb', line 540 def number @number end |
#units ⇒ Object
Returns the value of attribute units.
543 544 545 |
# File 'lib/virtuozzo/soap/types/envm.rb', line 543 def units @units end |