Class: Virtuozzo::SOAP::Types::Filer::CpuType
- Inherits:
-
Object
- Object
- Virtuozzo::SOAP::Types::Filer::CpuType
- Defined in:
- lib/virtuozzo/soap/types/filer.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.
375 376 377 378 379 380 381 382 383 384 385 |
# File 'lib/virtuozzo/soap/types/filer.rb', line 375 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.
373 374 375 |
# File 'lib/virtuozzo/soap/types/filer.rb', line 373 def bogomips @bogomips end |
#cores ⇒ Object
Returns the value of attribute cores.
368 369 370 |
# File 'lib/virtuozzo/soap/types/filer.rb', line 368 def cores @cores end |
#family ⇒ Object
Returns the value of attribute family.
371 372 373 |
# File 'lib/virtuozzo/soap/types/filer.rb', line 371 def family @family end |
#hyperthreads ⇒ Object
Returns the value of attribute hyperthreads.
369 370 371 |
# File 'lib/virtuozzo/soap/types/filer.rb', line 369 def hyperthreads @hyperthreads end |
#mhz ⇒ Object
Returns the value of attribute mhz.
365 366 367 |
# File 'lib/virtuozzo/soap/types/filer.rb', line 365 def mhz @mhz end |
#model ⇒ Object
Returns the value of attribute model.
372 373 374 |
# File 'lib/virtuozzo/soap/types/filer.rb', line 372 def model @model end |
#name ⇒ Object
Returns the value of attribute name.
366 367 368 |
# File 'lib/virtuozzo/soap/types/filer.rb', line 366 def name @name end |
#number ⇒ Object
Returns the value of attribute number.
367 368 369 |
# File 'lib/virtuozzo/soap/types/filer.rb', line 367 def number @number end |
#units ⇒ Object
Returns the value of attribute units.
370 371 372 |
# File 'lib/virtuozzo/soap/types/filer.rb', line 370 def units @units end |