. // // @ignore // =================================================================================================== /** * @package Kaltura * @subpackage Client */ class Kaltura_Client_Type_AssetParams extends Kaltura_Client_ObjectBase { public function getKalturaObjectType() { return 'KalturaAssetParams'; } 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->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->isSystemDefault)) $this->isSystemDefault = (int)$xml->isSystemDefault; $this->tags = (string)$xml->tags; if(empty($xml->requiredPermissions)) $this->requiredPermissions = array(); else $this->requiredPermissions = Kaltura_Client_Client::unmarshalItem($xml->requiredPermissions); if(count($xml->sourceRemoteStorageProfileId)) $this->sourceRemoteStorageProfileId = (int)$xml->sourceRemoteStorageProfileId; if(count($xml->remoteStorageProfileIds)) $this->remoteStorageProfileIds = (int)$xml->remoteStorageProfileIds; $this->mediaParserType = (string)$xml->mediaParserType; } /** * The id of the Flavor Params * * * @var int * @readonly */ public $id = null; /** * * * @var int * @readonly */ public $partnerId = null; /** * The name of the Flavor Params * * * @var string */ public $name = null; /** * System name of the Flavor Params * * * @var string */ public $systemName = null; /** * The description of the Flavor Params * * * @var string */ public $description = null; /** * Creation date as Unix timestamp (In seconds) * * * @var int * @readonly */ public $createdAt = null; /** * True if those Flavor Params are part of system defaults * * * @var Kaltura_Client_Enum_NullableBoolean * @readonly */ public $isSystemDefault = null; /** * The Flavor Params tags are used to identify the flavor for different usage (e.g. web, hd, mobile) * * * @var string */ public $tags = null; /** * Array of partner permisison names that required for using this asset params * * * @var array of KalturaString */ public $requiredPermissions; /** * Id of remote storage profile that used to get the source, zero indicates Kaltura data center * * * @var int */ public $sourceRemoteStorageProfileId = null; /** * Comma seperated ids of remote storage profiles that the flavor distributed to, the distribution done by the conversion engine * * * @var int */ public $remoteStorageProfileIds = null; /** * Media parser type to be used for post-conversion validation * * * @var Kaltura_Client_Enum_MediaParserType */ public $mediaParserType = null; }