Model/FolderResponse.php
public function setSubFolders(array $subFolders)
    {
        $this->subFolders = [];

        foreach ($subFolders as $item) {
            $this->addFolderResponse($item);
        }

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

        foreach ($subFolders as $item) {
            $this->addFolderResponse($item);
        }

        return $this;
    }
public function setSubFolders ( array $ subFolders ) { $ this -> subFolders = [ ] ; foreach ( $ subFolders as $ item ) { $ this -> addFolderResponse ( $ item ) ; } return $ this ; }
Sets the "subFolders" of the FolderResponse.

@param FolderResponse[] $subFolders

@return FolderResponse
Sets the subFolders of the FolderResponse .