Class: Virtuozzo::SOAP::Types::Devm::CpuType
- Inherits:
-
Object
- Object
- Virtuozzo::SOAP::Types::Devm::CpuType
- Defined in:
- lib/virtuozzo/soap/types/devm.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.
986 987 988 989 990 991 992 993 994 995 996 |
# File 'lib/virtuozzo/soap/types/devm.rb', line 986 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.
984 985 986 |
# File 'lib/virtuozzo/soap/types/devm.rb', line 984 def bogomips @bogomips end |
#cores ⇒ Object
Returns the value of attribute cores.
979 980 981 |
# File 'lib/virtuozzo/soap/types/devm.rb', line 979 def cores @cores end |
#family ⇒ Object
Returns the value of attribute family.
982 983 984 |
# File 'lib/virtuozzo/soap/types/devm.rb', line 982 def family @family end |
#hyperthreads ⇒ Object
Returns the value of attribute hyperthreads.
980 981 982 |
# File 'lib/virtuozzo/soap/types/devm.rb', line 980 def hyperthreads @hyperthreads end |
#mhz ⇒ Object
Returns the value of attribute mhz.
976 977 978 |
# File 'lib/virtuozzo/soap/types/devm.rb', line 976 def mhz @mhz end |
#model ⇒ Object
Returns the value of attribute model.
983 984 985 |
# File 'lib/virtuozzo/soap/types/devm.rb', line 983 def model @model end |
#name ⇒ Object
Returns the value of attribute name.
977 978 979 |
# File 'lib/virtuozzo/soap/types/devm.rb', line 977 def name @name end |
#number ⇒ Object
Returns the value of attribute number.
978 979 980 |
# File 'lib/virtuozzo/soap/types/devm.rb', line 978 def number @number end |
#units ⇒ Object
Returns the value of attribute units.
981 982 983 |
# File 'lib/virtuozzo/soap/types/devm.rb', line 981 def units @units end |