Class: StorageVolume

Inherits:
BaseModel show all
Defined in:
lib/deltacloud/models/storage_volume.rb

Instance Attribute Summary collapse

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

#actionsObject

Returns the value of attribute actions.



28
29
30
# File 'lib/deltacloud/models/storage_volume.rb', line 28

def actions
  @actions
end

#capacityObject

Returns the value of attribute capacity.



24
25
26
# File 'lib/deltacloud/models/storage_volume.rb', line 24

def capacity
  @capacity
end

#createdObject

Returns the value of attribute created.



22
23
24
# File 'lib/deltacloud/models/storage_volume.rb', line 22

def created
  @created
end

#deviceObject

Returns the value of attribute device.



26
27
28
# File 'lib/deltacloud/models/storage_volume.rb', line 26

def device
  @device
end

#instance_idObject

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

#realm_idObject

Returns the value of attribute realm_id.



27
28
29
# File 'lib/deltacloud/models/storage_volume.rb', line 27

def realm_id
  @realm_id
end

#stateObject

Returns the value of attribute state.



23
24
25
# File 'lib/deltacloud/models/storage_volume.rb', line 23

def state
  @state
end