Class: Virtuozzo::SOAP::Types::Mailer::CpuType

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



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

#bogomipsObject

Returns the value of attribute bogomips.



277
278
279
# File 'lib/virtuozzo/soap/types/mailer.rb', line 277

def bogomips
  @bogomips
end

#coresObject

Returns the value of attribute cores.



272
273
274
# File 'lib/virtuozzo/soap/types/mailer.rb', line 272

def cores
  @cores
end

#familyObject

Returns the value of attribute family.



275
276
277
# File 'lib/virtuozzo/soap/types/mailer.rb', line 275

def family
  @family
end

#hyperthreadsObject

Returns the value of attribute hyperthreads.



273
274
275
# File 'lib/virtuozzo/soap/types/mailer.rb', line 273

def hyperthreads
  @hyperthreads
end

#mhzObject

Returns the value of attribute mhz.



269
270
271
# File 'lib/virtuozzo/soap/types/mailer.rb', line 269

def mhz
  @mhz
end

#modelObject

Returns the value of attribute model.



276
277
278
# File 'lib/virtuozzo/soap/types/mailer.rb', line 276

def model
  @model
end

#nameObject

Returns the value of attribute name.



270
271
272
# File 'lib/virtuozzo/soap/types/mailer.rb', line 270

def name
  @name
end

#numberObject

Returns the value of attribute number.



271
272
273
# File 'lib/virtuozzo/soap/types/mailer.rb', line 271

def number
  @number
end

#unitsObject

Returns the value of attribute units.



274
275
276
# File 'lib/virtuozzo/soap/types/mailer.rb', line 274

def units
  @units
end