Class: Virtuozzo::SOAP::Types::Servicem::CpuType

Inherits:
Object
  • Object
show all
Defined in:
lib/virtuozzo/soap/types/servicem.rb

Overview

http://www.swsoft.com/webservices/vzl/4.0.0/typescpuType

mhz - SOAP::SOAPInt
name - SOAP::SOAPString
number - SOAP::SOAPInt
cores - SOAP::SOAPInt
hyperthreads - SOAP::SOAPInt
units - SOAP::SOAPInt
family - SOAP::SOAPString
model - SOAP::SOAPString
bogomips - SOAP::SOAPInt

Instance Attribute Summary collapse

Instance Method Summary collapse

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.



337
338
339
340
341
342
343
344
345
346
347
# File 'lib/virtuozzo/soap/types/servicem.rb', line 337

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

#bogomipsObject

Returns the value of attribute bogomips.



335
336
337
# File 'lib/virtuozzo/soap/types/servicem.rb', line 335

def bogomips
  @bogomips
end

#coresObject

Returns the value of attribute cores.



330
331
332
# File 'lib/virtuozzo/soap/types/servicem.rb', line 330

def cores
  @cores
end

#familyObject

Returns the value of attribute family.



333
334
335
# File 'lib/virtuozzo/soap/types/servicem.rb', line 333

def family
  @family
end

#hyperthreadsObject

Returns the value of attribute hyperthreads.



331
332
333
# File 'lib/virtuozzo/soap/types/servicem.rb', line 331

def hyperthreads
  @hyperthreads
end

#mhzObject

Returns the value of attribute mhz.



327
328
329
# File 'lib/virtuozzo/soap/types/servicem.rb', line 327

def mhz
  @mhz
end

#modelObject

Returns the value of attribute model.



334
335
336
# File 'lib/virtuozzo/soap/types/servicem.rb', line 334

def model
  @model
end

#nameObject

Returns the value of attribute name.



328
329
330
# File 'lib/virtuozzo/soap/types/servicem.rb', line 328

def name
  @name
end

#numberObject

Returns the value of attribute number.



329
330
331
# File 'lib/virtuozzo/soap/types/servicem.rb', line 329

def number
  @number
end

#unitsObject

Returns the value of attribute units.



332
333
334
# File 'lib/virtuozzo/soap/types/servicem.rb', line 332

def units
  @units
end