. // // @ignore // =================================================================================================== /** * @namespace */ namespace Kaltura\Client\Plugin\Schedule\Type; /** * @package Kaltura * @subpackage Client */ abstract class ScheduleResource extends \Kaltura\Client\ObjectBase { public function getKalturaObjectType() { return 'KalturaScheduleResource'; } public function __construct(\SimpleXMLElement $xml = null) { parent::__construct($xml); if(is_null($xml)) return; if(count($xml->id)) $this->id = (int)$xml->id; if(count($xml->parentId)) $this->parentId = (int)$xml->parentId; if(count($xml->partnerId)) $this->partnerId = (int)$xml->partnerId; if(count($xml->name)) $this->name = (string)$xml->name; if(count($xml->systemName)) $this->systemName = (string)$xml->systemName; if(count($xml->description)) $this->description = (string)$xml->description; if(count($xml->status)) $this->status = (int)$xml->status; if(count($xml->tags)) $this->tags = (string)$xml->tags; if(count($xml->createdAt)) $this->createdAt = (int)$xml->createdAt; if(count($xml->updatedAt)) $this->updatedAt = (int)$xml->updatedAt; } /** * Auto-generated unique identifier * @var int * @readonly */ public $id = null; /** * * @var int */ public $parentId = null; /** * * @var int * @readonly */ public $partnerId = null; /** * Defines a short name * @var string */ public $name = null; /** * Defines a unique system-name * @var string */ public $systemName = null; /** * * @var string */ public $description = null; /** * * @var \Kaltura\Client\Plugin\Schedule\Enum\ScheduleResourceStatus * @readonly */ public $status = null; /** * * @var string */ public $tags = null; /** * Creation date as Unix timestamp (In seconds) * @var int * @readonly */ public $createdAt = null; /** * Last update as Unix timestamp (In seconds) * @var int * @readonly */ public $updatedAt = null; }