function update($id, KalturaThumbParams $thumbParams) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "thumbParams", $thumbParams->toParams()); $this->client->queueServiceActionCall("thumbparams", "update", $kparams); if ($this->client->isMultiRequest()) { return null; } $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaThumbParams"); return $resultObject; }