/** * Updates a recording with a new hash and or name * * @param string $id The id of the existing recording * @param string $hash The new hash of the pylon recording * @param string $name The new updated name of the recording * * @throws DataSift_Exception_InvalidData */ public function update($id = false, $hash = false, $name = false) { if ($id) { $this->_id = $id; } if ($hash) { $this->_hash = $hash; } if ($name) { $this->_name = $name; } $params = array('id' => $this->_id, 'hash' => $this->_hash, 'name' => $this->_name); $this->_user->put('pylon/update', $params); }