Class: Virtuozzo::SOAP::Types::ResLog::CpuType
- Inherits:
-
Object
- Object
- Virtuozzo::SOAP::Types::ResLog::CpuType
- Defined in:
- lib/virtuozzo/soap/types/res_log.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.
314 315 316 317 318 319 320 321 322 323 324 |
# File 'lib/virtuozzo/soap/types/res_log.rb', line 314 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.
312 313 314 |
# File 'lib/virtuozzo/soap/types/res_log.rb', line 312 def bogomips @bogomips end |
#cores ⇒ Object
Returns the value of attribute cores.
307 308 309 |
# File 'lib/virtuozzo/soap/types/res_log.rb', line 307 def cores @cores end |
#family ⇒ Object
Returns the value of attribute family.
310 311 312 |
# File 'lib/virtuozzo/soap/types/res_log.rb', line 310 def family @family end |
#hyperthreads ⇒ Object
Returns the value of attribute hyperthreads.
308 309 310 |
# File 'lib/virtuozzo/soap/types/res_log.rb', line 308 def hyperthreads @hyperthreads end |
#mhz ⇒ Object
Returns the value of attribute mhz.
304 305 306 |
# File 'lib/virtuozzo/soap/types/res_log.rb', line 304 def mhz @mhz end |
#model ⇒ Object
Returns the value of attribute model.
311 312 313 |
# File 'lib/virtuozzo/soap/types/res_log.rb', line 311 def model @model end |
#name ⇒ Object
Returns the value of attribute name.
305 306 307 |
# File 'lib/virtuozzo/soap/types/res_log.rb', line 305 def name @name end |
#number ⇒ Object
Returns the value of attribute number.
306 307 308 |
# File 'lib/virtuozzo/soap/types/res_log.rb', line 306 def number @number end |
#units ⇒ Object
Returns the value of attribute units.
309 310 311 |
# File 'lib/virtuozzo/soap/types/res_log.rb', line 309 def units @units end |