. // // @ignore // =================================================================================================== /** * @package Kaltura * @subpackage Client */ class Kaltura_Client_Type_ThumbAsset extends Kaltura_Client_Type_Asset { public function getKalturaObjectType() { return 'KalturaThumbAsset'; } public function __construct(SimpleXMLElement $xml = null) { parent::__construct($xml); if(is_null($xml)) return; if(count($xml->thumbParamsId)) $this->thumbParamsId = (int)$xml->thumbParamsId; if(count($xml->width)) $this->width = (int)$xml->width; if(count($xml->height)) $this->height = (int)$xml->height; if(count($xml->status)) $this->status = (int)$xml->status; } /** * The Flavor Params used to create this Flavor Asset * * * @var int * @insertonly */ public $thumbParamsId = null; /** * The width of the Flavor Asset * * * @var int * @readonly */ public $width = null; /** * The height of the Flavor Asset * * * @var int * @readonly */ public $height = null; /** * The status of the asset * * * @var Kaltura_Client_Enum_ThumbAssetStatus * @readonly */ public $status = null; }