Class: Virtuozzo::SOAP::Types::Up2date::CpuType

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



1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
# File 'lib/virtuozzo/soap/types/up2date.rb', line 1090

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.



1088
1089
1090
# File 'lib/virtuozzo/soap/types/up2date.rb', line 1088

def bogomips
  @bogomips
end

#coresObject

Returns the value of attribute cores.



1083
1084
1085
# File 'lib/virtuozzo/soap/types/up2date.rb', line 1083

def cores
  @cores
end

#familyObject

Returns the value of attribute family.



1086
1087
1088
# File 'lib/virtuozzo/soap/types/up2date.rb', line 1086

def family
  @family
end

#hyperthreadsObject

Returns the value of attribute hyperthreads.



1084
1085
1086
# File 'lib/virtuozzo/soap/types/up2date.rb', line 1084

def hyperthreads
  @hyperthreads
end

#mhzObject

Returns the value of attribute mhz.



1080
1081
1082
# File 'lib/virtuozzo/soap/types/up2date.rb', line 1080

def mhz
  @mhz
end

#modelObject

Returns the value of attribute model.



1087
1088
1089
# File 'lib/virtuozzo/soap/types/up2date.rb', line 1087

def model
  @model
end

#nameObject

Returns the value of attribute name.



1081
1082
1083
# File 'lib/virtuozzo/soap/types/up2date.rb', line 1081

def name
  @name
end

#numberObject

Returns the value of attribute number.



1082
1083
1084
# File 'lib/virtuozzo/soap/types/up2date.rb', line 1082

def number
  @number
end

#unitsObject

Returns the value of attribute units.



1085
1086
1087
# File 'lib/virtuozzo/soap/types/up2date.rb', line 1085

def units
  @units
end