public function __construct(SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
 }
 public function __construct(SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (count($xml->durationLessThan)) {
         $this->durationLessThan = (int) $xml->durationLessThan;
     }
     if (count($xml->durationGreaterThan)) {
         $this->durationGreaterThan = (int) $xml->durationGreaterThan;
     }
     if (count($xml->durationLessThanOrEqual)) {
         $this->durationLessThanOrEqual = (int) $xml->durationLessThanOrEqual;
     }
     if (count($xml->durationGreaterThanOrEqual)) {
         $this->durationGreaterThanOrEqual = (int) $xml->durationGreaterThanOrEqual;
     }
     if (count($xml->msDurationLessThan)) {
         $this->msDurationLessThan = (int) $xml->msDurationLessThan;
     }
     if (count($xml->msDurationGreaterThan)) {
         $this->msDurationGreaterThan = (int) $xml->msDurationGreaterThan;
     }
     if (count($xml->msDurationLessThanOrEqual)) {
         $this->msDurationLessThanOrEqual = (int) $xml->msDurationLessThanOrEqual;
     }
     if (count($xml->msDurationGreaterThanOrEqual)) {
         $this->msDurationGreaterThanOrEqual = (int) $xml->msDurationGreaterThanOrEqual;
     }
     $this->durationTypeMatchOr = (string) $xml->durationTypeMatchOr;
 }
 public function __construct(SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (count($xml->documentTypeEqual)) {
         $this->documentTypeEqual = (int) $xml->documentTypeEqual;
     }
     $this->documentTypeIn = (string) $xml->documentTypeIn;
     $this->assetParamsIdsMatchOr = (string) $xml->assetParamsIdsMatchOr;
     $this->assetParamsIdsMatchAnd = (string) $xml->assetParamsIdsMatchAnd;
 }