Class: Virtuozzo::SOAP::Types::Licensem::CpuType
- Inherits:
-
Object
- Object
- Virtuozzo::SOAP::Types::Licensem::CpuType
- Defined in:
- lib/virtuozzo/soap/types/licensem.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.
299 300 301 302 303 304 305 306 307 308 309 |
# File 'lib/virtuozzo/soap/types/licensem.rb', line 299 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.
297 298 299 |
# File 'lib/virtuozzo/soap/types/licensem.rb', line 297 def bogomips @bogomips end |
#cores ⇒ Object
Returns the value of attribute cores.
292 293 294 |
# File 'lib/virtuozzo/soap/types/licensem.rb', line 292 def cores @cores end |
#family ⇒ Object
Returns the value of attribute family.
295 296 297 |
# File 'lib/virtuozzo/soap/types/licensem.rb', line 295 def family @family end |
#hyperthreads ⇒ Object
Returns the value of attribute hyperthreads.
293 294 295 |
# File 'lib/virtuozzo/soap/types/licensem.rb', line 293 def hyperthreads @hyperthreads end |
#mhz ⇒ Object
Returns the value of attribute mhz.
289 290 291 |
# File 'lib/virtuozzo/soap/types/licensem.rb', line 289 def mhz @mhz end |
#model ⇒ Object
Returns the value of attribute model.
296 297 298 |
# File 'lib/virtuozzo/soap/types/licensem.rb', line 296 def model @model end |
#name ⇒ Object
Returns the value of attribute name.
290 291 292 |
# File 'lib/virtuozzo/soap/types/licensem.rb', line 290 def name @name end |
#number ⇒ Object
Returns the value of attribute number.
291 292 293 |
# File 'lib/virtuozzo/soap/types/licensem.rb', line 291 def number @number end |
#units ⇒ Object
Returns the value of attribute units.
294 295 296 |
# File 'lib/virtuozzo/soap/types/licensem.rb', line 294 def units @units end |