. // // @ignore // =================================================================================================== /** * @package Kaltura * @subpackage Client */ class Kaltura_Client_Type_UserAgentRestriction extends Kaltura_Client_Type_BaseRestriction { public function getKalturaObjectType() { return 'KalturaUserAgentRestriction'; } public function __construct(SimpleXMLElement $xml = null) { parent::__construct($xml); if(is_null($xml)) return; if(count($xml->userAgentRestrictionType)) $this->userAgentRestrictionType = (int)$xml->userAgentRestrictionType; $this->userAgentRegexList = (string)$xml->userAgentRegexList; } /** * User agent restriction type (Allow or deny) * * * @var Kaltura_Client_Enum_UserAgentRestrictionType */ public $userAgentRestrictionType = null; /** * A comma seperated list of user agent regular expressions * * * @var string */ public $userAgentRegexList = null; }