public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (!empty($xml->field)) {
         $this->field = \Kaltura\Client\ParseUtils::unmarshalObject($xml->field, "KalturaIntegerField");
     }
 }
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->xPath = (string) $xml->xPath;
     if (count($xml->profileId)) {
         $this->profileId = (int) $xml->profileId;
     }
     $this->profileSystemName = (string) $xml->profileSystemName;
 }