/**
  * 
  * 
  * @param int $id 
  * @param KalturaUserEntry $userEntry 
  * @return 
  */
 function update($id, KalturaUserEntry $userEntry)
 {
     $kparams = array();
     $this->client->addParam($kparams, "id", $id);
     $this->client->addParam($kparams, "userEntry", $userEntry->toParams());
     $this->client->queueServiceActionCall("userentry", "update", $kparams);
     if ($this->client->isMultiRequest()) {
         return $this->client->getMultiRequestResult();
     }
     $resultObject = $this->client->doQueue();
     $this->client->throwExceptionIfError($resultObject);
     $this->client->validateObjectType($resultObject, "null");
     return $resultObject;
 }