Class: Virtuozzo::SOAP::Types::Support::CpuType

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



910
911
912
913
914
915
916
917
918
919
920
# File 'lib/virtuozzo/soap/types/support.rb', line 910

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.



908
909
910
# File 'lib/virtuozzo/soap/types/support.rb', line 908

def bogomips
  @bogomips
end

#coresObject

Returns the value of attribute cores.



903
904
905
# File 'lib/virtuozzo/soap/types/support.rb', line 903

def cores
  @cores
end

#familyObject

Returns the value of attribute family.



906
907
908
# File 'lib/virtuozzo/soap/types/support.rb', line 906

def family
  @family
end

#hyperthreadsObject

Returns the value of attribute hyperthreads.



904
905
906
# File 'lib/virtuozzo/soap/types/support.rb', line 904

def hyperthreads
  @hyperthreads
end

#mhzObject

Returns the value of attribute mhz.



900
901
902
# File 'lib/virtuozzo/soap/types/support.rb', line 900

def mhz
  @mhz
end

#modelObject

Returns the value of attribute model.



907
908
909
# File 'lib/virtuozzo/soap/types/support.rb', line 907

def model
  @model
end

#nameObject

Returns the value of attribute name.



901
902
903
# File 'lib/virtuozzo/soap/types/support.rb', line 901

def name
  @name
end

#numberObject

Returns the value of attribute number.



902
903
904
# File 'lib/virtuozzo/soap/types/support.rb', line 902

def number
  @number
end

#unitsObject

Returns the value of attribute units.



905
906
907
# File 'lib/virtuozzo/soap/types/support.rb', line 905

def units
  @units
end