    # File lib/fog/cloudstack/requests/compute/list_volumes.rb, line 20
            def list_volumes(options={})
              volume_id = options.delete('id')
              if volume_id
                volumes = [self.data[:volumes][volume_id]]
              else
                volumes = self.data[:volumes].values
              end

              {
                'listvolumesresponse' => {
                  'count' => volumes.size,
                  'volume' => volumes
                }
              }
            end