public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->wsdlUsername = (string) $xml->wsdlUsername;
     $this->wsdlPassword = (string) $xml->wsdlPassword;
     $this->cpcode = (string) $xml->cpcode;
     $this->emailId = (string) $xml->emailId;
     $this->primaryContact = (string) $xml->primaryContact;
     $this->secondaryContact = (string) $xml->secondaryContact;
 }
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (empty($xml->provisioningParams)) {
         $this->provisioningParams = array();
     } else {
         $this->provisioningParams = \Kaltura\Client\ParseUtils::unmarshalArray($xml->provisioningParams, "KalturaKeyValue");
     }
     $this->userName = (string) $xml->userName;
     $this->password = (string) $xml->password;
 }
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (count($xml->streamId)) {
         $this->streamId = (int) $xml->streamId;
     }
     $this->systemUserName = (string) $xml->systemUserName;
     $this->systemPassword = (string) $xml->systemPassword;
     $this->domainName = (string) $xml->domainName;
     if (count($xml->dvrEnabled)) {
         $this->dvrEnabled = (int) $xml->dvrEnabled;
     }
     if (count($xml->dvrWindow)) {
         $this->dvrWindow = (int) $xml->dvrWindow;
     }
     $this->primaryContact = (string) $xml->primaryContact;
     $this->secondaryContact = (string) $xml->secondaryContact;
     $this->streamType = (string) $xml->streamType;
     $this->notificationEmail = (string) $xml->notificationEmail;
 }