function fromXML($xmlElement)
    {
        $this->contact = new ReportContact();
        $this->contact->fromXML($xmlElement->contact);

        if (isset($xmlElement->mailing_id)) $this->mailingId = $xmlElement->mailing_id;
        if (isset($xmlElement->timestamp)) $this->timestamp = $xmlElement->timestamp;
        if (isset($xmlElement->last_type)) $this->lastType = $xmlElement->last_type;
        if (isset($xmlElement->count)) $this->count = $xmlElement->count;
        if (isset($xmlElement->count_hard)) $this->countHard = $xmlElement->count_hard;
        if (isset($xmlElement->count_soft)) $this->countSoft = $xmlElement->count_soft;
    }