Class: Fog::Rackspace::BlockStorage::VolumeType

Inherits:
Model
  • Object
show all
Defined in:
lib/fog/rackspace/models/block_storage/volume_type.rb

Instance Attribute Summary collapse

Attributes inherited from Model

#collection, #service

Method Summary

Methods inherited from Model

#initialize, #inspect, #reload, #symbolize_keys, #to_json, #wait_for

Methods included from Attributes::ClassMethods

#_load, #aliases, #attribute, #attributes, #identity, #ignore_attributes, #ignored_attributes

Methods included from Core::DeprecatedConnectionAccessors

#connection, #connection=, #prepare_service_value

Methods included from Attributes::InstanceMethods

#_dump, #attributes, #dup, #identity, #identity=, #merge_attributes, #new_record?, #persisted?, #requires, #requires_one

Constructor Details

This class inherits a constructor from Fog::Model

Instance Attribute Details

#idString (readonly)

Returns The volume type id.

Returns:

  • (String)

    The volume type id



10
# File 'lib/fog/rackspace/models/block_storage/volume_type.rb', line 10

identity :id

#nameString (readonly)

Returns The name of the volume type.

Returns:

  • (String)

    The name of the volume type



14
# File 'lib/fog/rackspace/models/block_storage/volume_type.rb', line 14

attribute :name