Class: Fog::Vsphere::Compute::NVMEController
- Inherits:
-
Model
- Object
- Model
- Fog::Vsphere::Compute::NVMEController
- Defined in:
- lib/fog/vsphere/models/compute/nvmecontroller.rb
Constant Summary collapse
- DEFAULT_KEY =
2000
- DEFAULT_TYPE =
"VirtualNVMEController".freeze
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ NVMEController
constructor
A new instance of NVMEController.
- #to_s ⇒ Object
Constructor Details
#initialize(attributes = {}) ⇒ NVMEController
Returns a new instance of NVMEController.
12 13 14 15 16 |
# File 'lib/fog/vsphere/models/compute/nvmecontroller.rb', line 12 def initialize(attributes = {}) super self.key ||= DEFAULT_KEY self.type ||= DEFAULT_TYPE end |
Instance Method Details
#to_s ⇒ Object
18 19 20 |
# File 'lib/fog/vsphere/models/compute/nvmecontroller.rb', line 18 def to_s "#{type} ##{key}:, unit_number: #{unit_number}" end |