public function __construct(SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } $this->filesPermissionInS3 = (string) $xml->filesPermissionInS3; }
public function __construct(SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } $this->flavorAssetId = (string) $xml->flavorAssetId; $this->contentMoid = (string) $xml->contentMoid; $this->serviceToken = (string) $xml->serviceToken; }