. // // @ignore // =================================================================================================== /** * @package Kaltura * @subpackage Client */ class Kaltura_Client_Type_UserRole extends Kaltura_Client_ObjectBase { public function getKalturaObjectType() { return 'KalturaUserRole'; } public function __construct(SimpleXMLElement $xml = null) { parent::__construct($xml); if(is_null($xml)) return; if(count($xml->id)) $this->id = (int)$xml->id; $this->name = (string)$xml->name; $this->systemName = (string)$xml->systemName; $this->description = (string)$xml->description; if(count($xml->status)) $this->status = (int)$xml->status; if(count($xml->partnerId)) $this->partnerId = (int)$xml->partnerId; $this->permissionNames = (string)$xml->permissionNames; $this->tags = (string)$xml->tags; if(count($xml->createdAt)) $this->createdAt = (int)$xml->createdAt; if(count($xml->updatedAt)) $this->updatedAt = (int)$xml->updatedAt; } /** * * * @var int * @readonly */ public $id = null; /** * * * @var string */ public $name = null; /** * * * @var string */ public $systemName = null; /** * * * @var string */ public $description = null; /** * * * @var Kaltura_Client_Enum_UserRoleStatus */ public $status = null; /** * * * @var int * @readonly */ public $partnerId = null; /** * * * @var string */ public $permissionNames = null; /** * * * @var string */ public $tags = null; /** * * * @var int * @readonly */ public $createdAt = null; /** * * * @var int * @readonly */ public $updatedAt = null; }