. // // @ignore // =================================================================================================== /** * @package Kaltura * @subpackage Client */ class Kaltura_Client_Type_IndexJobData extends Kaltura_Client_Type_JobData { public function getKalturaObjectType() { return 'KalturaIndexJobData'; } public function __construct(SimpleXMLElement $xml = null) { parent::__construct($xml); if(is_null($xml)) return; if(!empty($xml->filter)) $this->filter = Kaltura_Client_Client::unmarshalItem($xml->filter); if(count($xml->lastIndexId)) $this->lastIndexId = (int)$xml->lastIndexId; if(!empty($xml->shouldUpdate)) $this->shouldUpdate = true; } /** * The filter should return the list of objects that need to be reindexed. * * * @var Kaltura_Client_Type_Filter */ public $filter; /** * Indicates the last id that reindexed, used when the batch crached, to re-run from the last crash point. * * * @var int */ public $lastIndexId = null; /** * Indicates that the object columns and attributes values should be recalculated before reindexed. * * * @var bool */ public $shouldUpdate = null; }