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; }
/** * Update an existing KalturaDropFolderFile object * * * @return \Kaltura\Client\Plugin\DropFolder\Type\DropFolderFile */ function update($dropFolderFileId, \Kaltura\Client\Plugin\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\\Plugin\\DropFolder\\Type\\DropFolderFile"); return $resultObject; }