. // // @ignore // =================================================================================================== /** * @package Kaltura * @subpackage Client */ class Kaltura_Client_Metadata_Type_MetadataProfile extends Kaltura_Client_ObjectBase { public function getKalturaObjectType() { return 'KalturaMetadataProfile'; } 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; $this->metadataObjectType = (string)$xml->metadataObjectType; if(count($xml->version)) $this->version = (int)$xml->version; $this->name = (string)$xml->name; $this->systemName = (string)$xml->systemName; $this->description = (string)$xml->description; 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->xsd = (string)$xml->xsd; $this->views = (string)$xml->views; $this->xslt = (string)$xml->xslt; if(count($xml->createMode)) $this->createMode = (int)$xml->createMode; } /** * * * @var int * @readonly */ public $id = null; /** * * * @var int * @readonly */ public $partnerId = null; /** * * * @var Kaltura_Client_Metadata_Enum_MetadataObjectType */ public $metadataObjectType = null; /** * * * @var int * @readonly */ public $version = null; /** * * * @var string */ public $name = null; /** * * * @var string */ public $systemName = null; /** * * * @var string */ public $description = null; /** * * * @var int * @readonly */ public $createdAt = null; /** * * * @var int * @readonly */ public $updatedAt = null; /** * * * @var Kaltura_Client_Metadata_Enum_MetadataProfileStatus * @readonly */ public $status = null; /** * * * @var string * @readonly */ public $xsd = null; /** * * * @var string * @readonly */ public $views = null; /** * * * @var string * @readonly */ public $xslt = null; /** * * * @var Kaltura_Client_Metadata_Enum_MetadataProfileCreateMode */ public $createMode = null; }