src/Api/Proto/CounteragentList.php
public function addCounteragents(\AgentSIB\Diadoc\Api\Proto\Counteragent $value)
    {
        if ($this->Counteragents === null) {
            $this->Counteragents = new \Protobuf\MessageCollection();
        }

        $this->Counteragents->add($value);
    }
public function addCounteragents(\AgentSIB\Diadoc\Api\Proto\Counteragent $value)
    {
        if ($this->Counteragents === null) {
            $this->Counteragents = new \Protobuf\MessageCollection();
        }

        $this->Counteragents->add($value);
    }
public function addCounteragents ( \ AgentSIB \ Diadoc \ Api \ Proto \ Counteragent $ value ) { if ( $ this -> Counteragents === null ) { $ this -> Counteragents = new \ Protobuf \ MessageCollection ( ) ; } $ this -> Counteragents -> add ( $ value ) ; }
Add a new element to 'Counteragents'

@param \AgentSIB\Diadoc\Api\Proto\Counteragent $value
Add a new element to Counteragents