Class: Virtuozzo::SOAP::Types::Computerm::CpuType

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



320
321
322
323
324
325
326
327
328
329
330
# File 'lib/virtuozzo/soap/types/computerm.rb', line 320

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.



318
319
320
# File 'lib/virtuozzo/soap/types/computerm.rb', line 318

def bogomips
  @bogomips
end

#coresObject

Returns the value of attribute cores.



313
314
315
# File 'lib/virtuozzo/soap/types/computerm.rb', line 313

def cores
  @cores
end

#familyObject

Returns the value of attribute family.



316
317
318
# File 'lib/virtuozzo/soap/types/computerm.rb', line 316

def family
  @family
end

#hyperthreadsObject

Returns the value of attribute hyperthreads.



314
315
316
# File 'lib/virtuozzo/soap/types/computerm.rb', line 314

def hyperthreads
  @hyperthreads
end

#mhzObject

Returns the value of attribute mhz.



310
311
312
# File 'lib/virtuozzo/soap/types/computerm.rb', line 310

def mhz
  @mhz
end

#modelObject

Returns the value of attribute model.



317
318
319
# File 'lib/virtuozzo/soap/types/computerm.rb', line 317

def model
  @model
end

#nameObject

Returns the value of attribute name.



311
312
313
# File 'lib/virtuozzo/soap/types/computerm.rb', line 311

def name
  @name
end

#numberObject

Returns the value of attribute number.



312
313
314
# File 'lib/virtuozzo/soap/types/computerm.rb', line 312

def number
  @number
end

#unitsObject

Returns the value of attribute units.



315
316
317
# File 'lib/virtuozzo/soap/types/computerm.rb', line 315

def units
  @units
end