public function addContracts(\AgentSIB\Diadoc\Api\Proto\Events\ContractAttachment $value)
    {
        if ($this->Contracts === null) {
            $this->Contracts = new \Protobuf\MessageCollection();
        }

        $this->Contracts->add($value);
    }