Class: Virtuozzo::SOAP::Types::ProcInfo::CpuType
- Inherits:
-
Object
- Object
- Virtuozzo::SOAP::Types::ProcInfo::CpuType
- Defined in:
- lib/virtuozzo/soap/types/proc_info.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.
264 265 266 267 268 269 270 271 272 273 274 |
# File 'lib/virtuozzo/soap/types/proc_info.rb', line 264 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.
262 263 264 |
# File 'lib/virtuozzo/soap/types/proc_info.rb', line 262 def bogomips @bogomips end |
#cores ⇒ Object
Returns the value of attribute cores.
257 258 259 |
# File 'lib/virtuozzo/soap/types/proc_info.rb', line 257 def cores @cores end |
#family ⇒ Object
Returns the value of attribute family.
260 261 262 |
# File 'lib/virtuozzo/soap/types/proc_info.rb', line 260 def family @family end |
#hyperthreads ⇒ Object
Returns the value of attribute hyperthreads.
258 259 260 |
# File 'lib/virtuozzo/soap/types/proc_info.rb', line 258 def hyperthreads @hyperthreads end |
#mhz ⇒ Object
Returns the value of attribute mhz.
254 255 256 |
# File 'lib/virtuozzo/soap/types/proc_info.rb', line 254 def mhz @mhz end |
#model ⇒ Object
Returns the value of attribute model.
261 262 263 |
# File 'lib/virtuozzo/soap/types/proc_info.rb', line 261 def model @model end |
#name ⇒ Object
Returns the value of attribute name.
255 256 257 |
# File 'lib/virtuozzo/soap/types/proc_info.rb', line 255 def name @name end |
#number ⇒ Object
Returns the value of attribute number.
256 257 258 |
# File 'lib/virtuozzo/soap/types/proc_info.rb', line 256 def number @number end |
#units ⇒ Object
Returns the value of attribute units.
259 260 261 |
# File 'lib/virtuozzo/soap/types/proc_info.rb', line 259 def units @units end |