Class: Virtuozzo::SOAP::Types::Scheduler::CpuType

Inherits:
Object
  • Object
show all
Defined in:
lib/virtuozzo/soap/types/scheduler.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.



417
418
419
420
421
422
423
424
425
426
427
# File 'lib/virtuozzo/soap/types/scheduler.rb', line 417

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.



415
416
417
# File 'lib/virtuozzo/soap/types/scheduler.rb', line 415

def bogomips
  @bogomips
end

#coresObject

Returns the value of attribute cores.



410
411
412
# File 'lib/virtuozzo/soap/types/scheduler.rb', line 410

def cores
  @cores
end

#familyObject

Returns the value of attribute family.



413
414
415
# File 'lib/virtuozzo/soap/types/scheduler.rb', line 413

def family
  @family
end

#hyperthreadsObject

Returns the value of attribute hyperthreads.



411
412
413
# File 'lib/virtuozzo/soap/types/scheduler.rb', line 411

def hyperthreads
  @hyperthreads
end

#mhzObject

Returns the value of attribute mhz.



407
408
409
# File 'lib/virtuozzo/soap/types/scheduler.rb', line 407

def mhz
  @mhz
end

#modelObject

Returns the value of attribute model.



414
415
416
# File 'lib/virtuozzo/soap/types/scheduler.rb', line 414

def model
  @model
end

#nameObject

Returns the value of attribute name.



408
409
410
# File 'lib/virtuozzo/soap/types/scheduler.rb', line 408

def name
  @name
end

#numberObject

Returns the value of attribute number.



409
410
411
# File 'lib/virtuozzo/soap/types/scheduler.rb', line 409

def number
  @number
end

#unitsObject

Returns the value of attribute units.



412
413
414
# File 'lib/virtuozzo/soap/types/scheduler.rb', line 412

def units
  @units
end