public function __construct(SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (count($xml->storageProfileId)) {
         $this->storageProfileId = (int) $xml->storageProfileId;
     }
 }
 public function __construct(SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->privateKey = (string) $xml->privateKey;
     $this->publicKey = (string) $xml->publicKey;
     $this->keyPassphrase = (string) $xml->keyPassphrase;
 }