Class: StorageVolume
- Defined in:
- lib/deltacloud/models/storage_volume.rb
Instance Attribute Summary collapse
-
#capacity ⇒ Object
Returns the value of attribute capacity.
-
#created ⇒ Object
Returns the value of attribute created.
-
#device ⇒ Object
Returns the value of attribute device.
-
#instance_id ⇒ Object
Returns the value of attribute instance_id.
-
#state ⇒ Object
Returns the value of attribute state.
Method Summary
Methods inherited from BaseModel
attr_accessor, attributes, #attributes, #id, #initialize, #to_hash, #to_json
Constructor Details
This class inherits a constructor from BaseModel
Instance Attribute Details
#capacity ⇒ Object
Returns the value of attribute capacity.
24 25 26 |
# File 'lib/deltacloud/models/storage_volume.rb', line 24 def capacity @capacity end |
#created ⇒ Object
Returns the value of attribute created.
22 23 24 |
# File 'lib/deltacloud/models/storage_volume.rb', line 22 def created @created end |
#device ⇒ Object
Returns the value of attribute device.
26 27 28 |
# File 'lib/deltacloud/models/storage_volume.rb', line 26 def device @device end |
#instance_id ⇒ Object
Returns the value of attribute instance_id.
25 26 27 |
# File 'lib/deltacloud/models/storage_volume.rb', line 25 def instance_id @instance_id end |
#state ⇒ Object
Returns the value of attribute state.
23 24 25 |
# File 'lib/deltacloud/models/storage_volume.rb', line 23 def state @state end |