. // // @ignore // =================================================================================================== /** * @package Kaltura * @subpackage Client */ class Kaltura_Client_Metadata_Type_Metadata extends Kaltura_Client_ObjectBase { public function getKalturaObjectType() { return 'KalturaMetadata'; } 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->partnerId)) $this->partnerId = (int)$xml->partnerId; if(count($xml->metadataProfileId)) $this->metadataProfileId = (int)$xml->metadataProfileId; if(count($xml->metadataProfileVersion)) $this->metadataProfileVersion = (int)$xml->metadataProfileVersion; $this->metadataObjectType = (string)$xml->metadataObjectType; $this->objectId = (string)$xml->objectId; if(count($xml->version)) $this->version = (int)$xml->version; if(count($xml->createdAt)) $this->createdAt = (int)$xml->createdAt; if(count($xml->updatedAt)) $this->updatedAt = (int)$xml->updatedAt; if(count($xml->status)) $this->status = (int)$xml->status; $this->xml = (string)$xml->xml; } /** * * * @var int * @readonly */ public $id = null; /** * * * @var int * @readonly */ public $partnerId = null; /** * * * @var int * @readonly */ public $metadataProfileId = null; /** * * * @var int * @readonly */ public $metadataProfileVersion = null; /** * * * @var Kaltura_Client_Metadata_Enum_MetadataObjectType * @readonly */ public $metadataObjectType = null; /** * * * @var string * @readonly */ public $objectId = null; /** * * * @var int * @readonly */ public $version = null; /** * * * @var int * @readonly */ public $createdAt = null; /** * * * @var int * @readonly */ public $updatedAt = null; /** * * * @var Kaltura_Client_Metadata_Enum_MetadataStatus * @readonly */ public $status = null; /** * * * @var string * @readonly */ public $xml = null; }