. // // @ignore // =================================================================================================== /** * @package Kaltura * @subpackage Client */ class Kaltura_Client_Type_Asset extends Kaltura_Client_ObjectBase { public function getKalturaObjectType() { return 'KalturaAsset'; } public function __construct(SimpleXMLElement $xml = null) { parent::__construct($xml); if(is_null($xml)) return; $this->id = (string)$xml->id; $this->entryId = (string)$xml->entryId; if(count($xml->partnerId)) $this->partnerId = (int)$xml->partnerId; if(count($xml->version)) $this->version = (int)$xml->version; if(count($xml->size)) $this->size = (int)$xml->size; $this->tags = (string)$xml->tags; $this->fileExt = (string)$xml->fileExt; if(count($xml->createdAt)) $this->createdAt = (int)$xml->createdAt; if(count($xml->updatedAt)) $this->updatedAt = (int)$xml->updatedAt; if(count($xml->deletedAt)) $this->deletedAt = (int)$xml->deletedAt; $this->description = (string)$xml->description; $this->partnerData = (string)$xml->partnerData; $this->partnerDescription = (string)$xml->partnerDescription; } /** * The ID of the Flavor Asset * * * @var string * @readonly */ public $id = null; /** * The entry ID of the Flavor Asset * * * @var string * @readonly */ public $entryId = null; /** * * * @var int * @readonly */ public $partnerId = null; /** * The version of the Flavor Asset * * * @var int * @readonly */ public $version = null; /** * The size (in KBytes) of the Flavor Asset * * * @var int * @readonly */ public $size = null; /** * Tags used to identify the Flavor Asset in various scenarios * * * @var string */ public $tags = null; /** * The file extension * * * @var string * @insertonly */ public $fileExt = null; /** * * * @var int * @readonly */ public $createdAt = null; /** * * * @var int * @readonly */ public $updatedAt = null; /** * * * @var int * @readonly */ public $deletedAt = null; /** * System description, error message, warnings and failure cause. * * * @var string * @readonly */ public $description = null; /** * Partner private data * * * @var string */ public $partnerData = null; /** * Partner friendly description * * * @var string */ public $partnerDescription = null; }