Class: Virtuozzo::SOAP::Types::Networkm::CpuType
- Inherits:
-
Object
- Object
- Virtuozzo::SOAP::Types::Networkm::CpuType
- Defined in:
- lib/virtuozzo/soap/types/networkm.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.
338 339 340 341 342 343 344 345 346 347 348 |
# File 'lib/virtuozzo/soap/types/networkm.rb', line 338 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.
336 337 338 |
# File 'lib/virtuozzo/soap/types/networkm.rb', line 336 def bogomips @bogomips end |
#cores ⇒ Object
Returns the value of attribute cores.
331 332 333 |
# File 'lib/virtuozzo/soap/types/networkm.rb', line 331 def cores @cores end |
#family ⇒ Object
Returns the value of attribute family.
334 335 336 |
# File 'lib/virtuozzo/soap/types/networkm.rb', line 334 def family @family end |
#hyperthreads ⇒ Object
Returns the value of attribute hyperthreads.
332 333 334 |
# File 'lib/virtuozzo/soap/types/networkm.rb', line 332 def hyperthreads @hyperthreads end |
#mhz ⇒ Object
Returns the value of attribute mhz.
328 329 330 |
# File 'lib/virtuozzo/soap/types/networkm.rb', line 328 def mhz @mhz end |
#model ⇒ Object
Returns the value of attribute model.
335 336 337 |
# File 'lib/virtuozzo/soap/types/networkm.rb', line 335 def model @model end |
#name ⇒ Object
Returns the value of attribute name.
329 330 331 |
# File 'lib/virtuozzo/soap/types/networkm.rb', line 329 def name @name end |
#number ⇒ Object
Returns the value of attribute number.
330 331 332 |
# File 'lib/virtuozzo/soap/types/networkm.rb', line 330 def number @number end |
#units ⇒ Object
Returns the value of attribute units.
333 334 335 |
# File 'lib/virtuozzo/soap/types/networkm.rb', line 333 def units @units end |