. // // @ignore // =================================================================================================== /** * @package Kaltura * @subpackage Client */ class Kaltura_Client_Type_SessionInfo extends Kaltura_Client_ObjectBase { public function getKalturaObjectType() { return 'KalturaSessionInfo'; } public function __construct(SimpleXMLElement $xml = null) { parent::__construct($xml); if(is_null($xml)) return; $this->ks = (string)$xml->ks; if(count($xml->sessionType)) $this->sessionType = (int)$xml->sessionType; if(count($xml->partnerId)) $this->partnerId = (int)$xml->partnerId; $this->userId = (string)$xml->userId; if(count($xml->expiry)) $this->expiry = (int)$xml->expiry; $this->privileges = (string)$xml->privileges; } /** * * * @var string * @readonly */ public $ks = null; /** * * * @var Kaltura_Client_Enum_SessionType * @readonly */ public $sessionType = null; /** * * * @var int * @readonly */ public $partnerId = null; /** * * * @var string * @readonly */ public $userId = null; /** * * * @var int * @readonly */ public $expiry = null; /** * * * @var string * @readonly */ public $privileges = null; }