Model/DeploymentSite.php
public function setVideotemplates(array $videotemplates)
    {
        $this->videotemplates = [];

        foreach ($videotemplates as $item) {
            $this->addVideoTemplate($item);
        }

        return $this;
    }
public function setVideotemplates(array $videotemplates)
    {
        $this->videotemplates = [];

        foreach ($videotemplates as $item) {
            $this->addVideoTemplate($item);
        }

        return $this;
    }
Sets the "videotemplates" of the DeploymentSite.

@param VideoTemplate[] $videotemplates

@return DeploymentSite