. // // @ignore // =================================================================================================== /** * @package Kaltura * @subpackage Client */ class Kaltura_Client_Type_BulkUploadResultEntry extends Kaltura_Client_Type_BulkUploadResult { public function getKalturaObjectType() { return 'KalturaBulkUploadResultEntry'; } public function __construct(SimpleXMLElement $xml = null) { parent::__construct($xml); if(is_null($xml)) return; $this->entryId = (string)$xml->entryId; $this->title = (string)$xml->title; $this->description = (string)$xml->description; $this->tags = (string)$xml->tags; $this->url = (string)$xml->url; $this->contentType = (string)$xml->contentType; if(count($xml->conversionProfileId)) $this->conversionProfileId = (int)$xml->conversionProfileId; if(count($xml->accessControlProfileId)) $this->accessControlProfileId = (int)$xml->accessControlProfileId; $this->category = (string)$xml->category; if(count($xml->scheduleStartDate)) $this->scheduleStartDate = (int)$xml->scheduleStartDate; if(count($xml->scheduleEndDate)) $this->scheduleEndDate = (int)$xml->scheduleEndDate; if(count($xml->entryStatus)) $this->entryStatus = (int)$xml->entryStatus; $this->thumbnailUrl = (string)$xml->thumbnailUrl; if(!empty($xml->thumbnailSaved)) $this->thumbnailSaved = true; $this->sshPrivateKey = (string)$xml->sshPrivateKey; $this->sshPublicKey = (string)$xml->sshPublicKey; $this->sshKeyPassphrase = (string)$xml->sshKeyPassphrase; $this->creatorId = (string)$xml->creatorId; $this->entitledUsersEdit = (string)$xml->entitledUsersEdit; $this->entitledUsersPublish = (string)$xml->entitledUsersPublish; $this->ownerId = (string)$xml->ownerId; } /** * * * @var string */ public $entryId = null; /** * * * @var string */ public $title = null; /** * * * @var string */ public $description = null; /** * * * @var string */ public $tags = null; /** * * * @var string */ public $url = null; /** * * * @var string */ public $contentType = null; /** * * * @var int */ public $conversionProfileId = null; /** * * * @var int */ public $accessControlProfileId = null; /** * * * @var string */ public $category = null; /** * * * @var int */ public $scheduleStartDate = null; /** * * * @var int */ public $scheduleEndDate = null; /** * * * @var int */ public $entryStatus = null; /** * * * @var string */ public $thumbnailUrl = null; /** * * * @var bool */ public $thumbnailSaved = null; /** * * * @var string */ public $sshPrivateKey = null; /** * * * @var string */ public $sshPublicKey = null; /** * * * @var string */ public $sshKeyPassphrase = null; /** * * * @var string */ public $creatorId = null; /** * * * @var string */ public $entitledUsersEdit = null; /** * * * @var string */ public $entitledUsersPublish = null; /** * * * @var string */ public $ownerId = null; }