Class: Virtuozzo::SOAP::Types::Mailer::CpuType
- Inherits:
-
Object
- Object
- Virtuozzo::SOAP::Types::Mailer::CpuType
- Defined in:
- lib/virtuozzo/soap/types/mailer.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.
279 280 281 282 283 284 285 286 287 288 289 |
# File 'lib/virtuozzo/soap/types/mailer.rb', line 279 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.
277 278 279 |
# File 'lib/virtuozzo/soap/types/mailer.rb', line 277 def bogomips @bogomips end |
#cores ⇒ Object
Returns the value of attribute cores.
272 273 274 |
# File 'lib/virtuozzo/soap/types/mailer.rb', line 272 def cores @cores end |
#family ⇒ Object
Returns the value of attribute family.
275 276 277 |
# File 'lib/virtuozzo/soap/types/mailer.rb', line 275 def family @family end |
#hyperthreads ⇒ Object
Returns the value of attribute hyperthreads.
273 274 275 |
# File 'lib/virtuozzo/soap/types/mailer.rb', line 273 def hyperthreads @hyperthreads end |
#mhz ⇒ Object
Returns the value of attribute mhz.
269 270 271 |
# File 'lib/virtuozzo/soap/types/mailer.rb', line 269 def mhz @mhz end |
#model ⇒ Object
Returns the value of attribute model.
276 277 278 |
# File 'lib/virtuozzo/soap/types/mailer.rb', line 276 def model @model end |
#name ⇒ Object
Returns the value of attribute name.
270 271 272 |
# File 'lib/virtuozzo/soap/types/mailer.rb', line 270 def name @name end |
#number ⇒ Object
Returns the value of attribute number.
271 272 273 |
# File 'lib/virtuozzo/soap/types/mailer.rb', line 271 def number @number end |
#units ⇒ Object
Returns the value of attribute units.
274 275 276 |
# File 'lib/virtuozzo/soap/types/mailer.rb', line 274 def units @units end |