Class: Virtuozzo::SOAP::Types::Envm::CpuType

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



548
549
550
551
552
553
554
555
556
557
558
# File 'lib/virtuozzo/soap/types/envm.rb', line 548

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.



546
547
548
# File 'lib/virtuozzo/soap/types/envm.rb', line 546

def bogomips
  @bogomips
end

#coresObject

Returns the value of attribute cores.



541
542
543
# File 'lib/virtuozzo/soap/types/envm.rb', line 541

def cores
  @cores
end

#familyObject

Returns the value of attribute family.



544
545
546
# File 'lib/virtuozzo/soap/types/envm.rb', line 544

def family
  @family
end

#hyperthreadsObject

Returns the value of attribute hyperthreads.



542
543
544
# File 'lib/virtuozzo/soap/types/envm.rb', line 542

def hyperthreads
  @hyperthreads
end

#mhzObject

Returns the value of attribute mhz.



538
539
540
# File 'lib/virtuozzo/soap/types/envm.rb', line 538

def mhz
  @mhz
end

#modelObject

Returns the value of attribute model.



545
546
547
# File 'lib/virtuozzo/soap/types/envm.rb', line 545

def model
  @model
end

#nameObject

Returns the value of attribute name.



539
540
541
# File 'lib/virtuozzo/soap/types/envm.rb', line 539

def name
  @name
end

#numberObject

Returns the value of attribute number.



540
541
542
# File 'lib/virtuozzo/soap/types/envm.rb', line 540

def number
  @number
end

#unitsObject

Returns the value of attribute units.



543
544
545
# File 'lib/virtuozzo/soap/types/envm.rb', line 543

def units
  @units
end