Class: Virtuozzo::SOAP::Types::Up2date::CpuType
- Inherits:
-
Object
- Object
- Virtuozzo::SOAP::Types::Up2date::CpuType
- Defined in:
- lib/virtuozzo/soap/types/up2date.rb
Overview
Instance Attribute Summary collapse
-
#bogomips ⇒ Object
Returns the value of attribute bogomips.
-
#cores ⇒ Object
Returns the value of attribute cores.
-
#family ⇒ Object
Returns the value of attribute family.
-
#hyperthreads ⇒ Object
Returns the value of attribute hyperthreads.
-
#mhz ⇒ Object
Returns the value of attribute mhz.
-
#model ⇒ Object
Returns the value of attribute model.
-
#name ⇒ Object
Returns the value of attribute name.
-
#number ⇒ Object
Returns the value of attribute number.
-
#units ⇒ Object
Returns the value of attribute units.
Instance Method Summary collapse
-
#initialize(mhz = nil, name = nil, number = nil, cores = nil, hyperthreads = nil, units = nil, family = nil, model = nil, bogomips = nil) ⇒ CpuType
constructor
A new instance of CpuType.
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
#bogomips ⇒ Object
Returns the value of attribute bogomips.
1088 1089 1090 |
# File 'lib/virtuozzo/soap/types/up2date.rb', line 1088 def bogomips @bogomips end |
#cores ⇒ Object
Returns the value of attribute cores.
1083 1084 1085 |
# File 'lib/virtuozzo/soap/types/up2date.rb', line 1083 def cores @cores end |
#family ⇒ Object
Returns the value of attribute family.
1086 1087 1088 |
# File 'lib/virtuozzo/soap/types/up2date.rb', line 1086 def family @family end |
#hyperthreads ⇒ Object
Returns the value of attribute hyperthreads.
1084 1085 1086 |
# File 'lib/virtuozzo/soap/types/up2date.rb', line 1084 def hyperthreads @hyperthreads end |
#mhz ⇒ Object
Returns the value of attribute mhz.
1080 1081 1082 |
# File 'lib/virtuozzo/soap/types/up2date.rb', line 1080 def mhz @mhz end |
#model ⇒ Object
Returns the value of attribute model.
1087 1088 1089 |
# File 'lib/virtuozzo/soap/types/up2date.rb', line 1087 def model @model end |
#name ⇒ Object
Returns the value of attribute name.
1081 1082 1083 |
# File 'lib/virtuozzo/soap/types/up2date.rb', line 1081 def name @name end |
#number ⇒ Object
Returns the value of attribute number.
1082 1083 1084 |
# File 'lib/virtuozzo/soap/types/up2date.rb', line 1082 def number @number end |
#units ⇒ Object
Returns the value of attribute units.
1085 1086 1087 |
# File 'lib/virtuozzo/soap/types/up2date.rb', line 1085 def units @units end |