public function updateBatchTags(
        $batchId, array $tagsToAdd, array $tagsToRemove
    ) {
        $json = Serialize::tagsUpdate($tagsToAdd, $tagsToRemove);
        $result = $this->_post($this->_batchUrl($batchId, '/tags'), $json);
        return Deserialize::tags($result);
    }
public function updateBatchTags(
        $batchId, array $tagsToAdd, array $tagsToRemove
    ) {
        $json = Serialize::tagsUpdate($tagsToAdd, $tagsToRemove);
        $result = $this->_post($this->_batchUrl($batchId, '/tags'), $json);
        return Deserialize::tags($result);
    }
public function updateBatchTags ( $ batchId , array $ tagsToAdd , array $ tagsToRemove ) { $ json = Serialize :: tagsUpdate ( $ tagsToAdd , $ tagsToRemove ) ; $ result = $ this -> _post ( $ this -> _batchUrl ( $ batchId , '/tags' ) , $ json ) ; return Deserialize :: tags ( $ result ) ; }
Updates the tags of the given batch.

@param string   $batchId      batch identifier
@param string[] $tagsToAdd    tags to add to batch
@param string[] $tagsToRemove tags to remove from batch

@return string[] the updated batch tags
Updates the tags of the given batch .