Class: Virtuozzo::SOAP::Types::Packagem::CpuType

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



944
945
946
947
948
949
950
951
952
953
954
# File 'lib/virtuozzo/soap/types/packagem.rb', line 944

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.



942
943
944
# File 'lib/virtuozzo/soap/types/packagem.rb', line 942

def bogomips
  @bogomips
end

#coresObject

Returns the value of attribute cores.



937
938
939
# File 'lib/virtuozzo/soap/types/packagem.rb', line 937

def cores
  @cores
end

#familyObject

Returns the value of attribute family.



940
941
942
# File 'lib/virtuozzo/soap/types/packagem.rb', line 940

def family
  @family
end

#hyperthreadsObject

Returns the value of attribute hyperthreads.



938
939
940
# File 'lib/virtuozzo/soap/types/packagem.rb', line 938

def hyperthreads
  @hyperthreads
end

#mhzObject

Returns the value of attribute mhz.



934
935
936
# File 'lib/virtuozzo/soap/types/packagem.rb', line 934

def mhz
  @mhz
end

#modelObject

Returns the value of attribute model.



941
942
943
# File 'lib/virtuozzo/soap/types/packagem.rb', line 941

def model
  @model
end

#nameObject

Returns the value of attribute name.



935
936
937
# File 'lib/virtuozzo/soap/types/packagem.rb', line 935

def name
  @name
end

#numberObject

Returns the value of attribute number.



936
937
938
# File 'lib/virtuozzo/soap/types/packagem.rb', line 936

def number
  @number
end

#unitsObject

Returns the value of attribute units.



939
940
941
# File 'lib/virtuozzo/soap/types/packagem.rb', line 939

def units
  @units
end