src/Api/Proto/Events/MessagePatchToPost.php
public function addCustomDataPatches(\AgentSIB\Diadoc\Api\Proto\Events\CustomDataPatch $value)
    {
        if ($this->CustomDataPatches === null) {
            $this->CustomDataPatches = new \Protobuf\MessageCollection();
        }

        $this->CustomDataPatches->add($value);
    }
public function addCustomDataPatches(\AgentSIB\Diadoc\Api\Proto\Events\CustomDataPatch $value)
    {
        if ($this->CustomDataPatches === null) {
            $this->CustomDataPatches = new \Protobuf\MessageCollection();
        }

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

@param \AgentSIB\Diadoc\Api\Proto\Events\CustomDataPatch $value
Add a new element to CustomDataPatches