. // // @ignore // =================================================================================================== /** * @package Kaltura * @subpackage Client */ abstract class Kaltura_Client_Type_PermissionItem extends Kaltura_Client_ObjectBase { public function getKalturaObjectType() { return 'KalturaPermissionItem'; } public function __construct(SimpleXMLElement $xml = null) { parent::__construct($xml); if(is_null($xml)) return; if(count($xml->id)) $this->id = (int)$xml->id; $this->type = (string)$xml->type; if(count($xml->partnerId)) $this->partnerId = (int)$xml->partnerId; $this->tags = (string)$xml->tags; if(count($xml->createdAt)) $this->createdAt = (int)$xml->createdAt; if(count($xml->updatedAt)) $this->updatedAt = (int)$xml->updatedAt; } /** * * * @var int * @readonly */ public $id = null; /** * * * @var Kaltura_Client_Enum_PermissionItemType * @readonly */ public $type = null; /** * * * @var int * @readonly */ public $partnerId = null; /** * * * @var string */ public $tags = null; /** * * * @var int * @readonly */ public $createdAt = null; /** * * * @var int * @readonly */ public $updatedAt = null; }