Class: Virtuozzo::SOAP::Types::PerfMon::CpuType

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



294
295
296
297
298
299
300
301
302
303
304
# File 'lib/virtuozzo/soap/types/perf_mon.rb', line 294

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.



292
293
294
# File 'lib/virtuozzo/soap/types/perf_mon.rb', line 292

def bogomips
  @bogomips
end

#coresObject

Returns the value of attribute cores.



287
288
289
# File 'lib/virtuozzo/soap/types/perf_mon.rb', line 287

def cores
  @cores
end

#familyObject

Returns the value of attribute family.



290
291
292
# File 'lib/virtuozzo/soap/types/perf_mon.rb', line 290

def family
  @family
end

#hyperthreadsObject

Returns the value of attribute hyperthreads.



288
289
290
# File 'lib/virtuozzo/soap/types/perf_mon.rb', line 288

def hyperthreads
  @hyperthreads
end

#mhzObject

Returns the value of attribute mhz.



284
285
286
# File 'lib/virtuozzo/soap/types/perf_mon.rb', line 284

def mhz
  @mhz
end

#modelObject

Returns the value of attribute model.



291
292
293
# File 'lib/virtuozzo/soap/types/perf_mon.rb', line 291

def model
  @model
end

#nameObject

Returns the value of attribute name.



285
286
287
# File 'lib/virtuozzo/soap/types/perf_mon.rb', line 285

def name
  @name
end

#numberObject

Returns the value of attribute number.



286
287
288
# File 'lib/virtuozzo/soap/types/perf_mon.rb', line 286

def number
  @number
end

#unitsObject

Returns the value of attribute units.



289
290
291
# File 'lib/virtuozzo/soap/types/perf_mon.rb', line 289

def units
  @units
end