function update($dropFolderFileId, Kaltura_Client_DropFolder_Type_DropFolderFile $dropFolderFile)
 {
     $kparams = array();
     $this->client->addParam($kparams, "dropFolderFileId", $dropFolderFileId);
     $this->client->addParam($kparams, "dropFolderFile", $dropFolderFile->toParams());
     $this->client->queueServiceActionCall("dropfolder_dropfolderfile", "update", $kparams);
     if ($this->client->isMultiRequest()) {
         return $this->client->getMultiRequestResult();
     }
     $resultObject = $this->client->doQueue();
     $this->client->throwExceptionIfError($resultObject);
     $this->client->validateObjectType($resultObject, "Kaltura_Client_DropFolder_Type_DropFolderFile");
     return $resultObject;
 }
コード例 #2
0
 function update($dropFolderFileId, Kaltura_Client_DropFolder_Type_DropFolderFile $dropFolderFile)
 {
     $kparams = array();
     $this->client->addParam($kparams, "dropFolderFileId", $dropFolderFileId);
     $this->client->addParam($kparams, "dropFolderFile", $dropFolderFile->toParams());
     $this->client->queueServiceActionCall("dropfolder_dropfolderfile", "update", "KalturaDropFolderFile", $kparams);
     if ($this->client->isMultiRequest()) {
         return $this->client->getMultiRequestResult();
     }
     $resultXml = $this->client->doQueue();
     $resultXmlObject = new \SimpleXMLElement($resultXml);
     Kaltura_Client_ParseUtils::checkIfError($resultXmlObject->result);
     $resultObject = Kaltura_Client_ParseUtils::unmarshalObject($resultXmlObject->result, "KalturaDropFolderFile");
     $this->client->validateObjectType($resultObject, "Kaltura_Client_DropFolder_Type_DropFolderFile");
     return $resultObject;
 }
コード例 #3
0
 public function __construct(SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (count($xml->recordingId)) {
         $this->recordingId = (int) $xml->recordingId;
     }
     $this->webexHostId = (string) $xml->webexHostId;
     $this->description = (string) $xml->description;
     $this->confId = (string) $xml->confId;
     $this->contentUrl = (string) $xml->contentUrl;
 }