public function updateFolder($id, Folder $folder)
    {
        $parameters = [
            'query' => [],
            'body' => json_encode(['folder' => $folder], JSON_UNESCAPED_UNICODE),
            'headers' => [],
        ];

        $result = $this->post('v1/folders/' . $id . '', $parameters);
        $result = new FolderResponse($result);

        return $result;
    }
public function updateFolder($id, Folder $folder)
    {
        $parameters = [
            'query' => [],
            'body' => json_encode(['folder' => $folder], JSON_UNESCAPED_UNICODE),
            'headers' => [],
        ];

        $result = $this->post('v1/folders/' . $id . '', $parameters);
        $result = new FolderResponse($result);

        return $result;
    }
public function updateFolder ( $ id , Folder $ folder ) { $ parameters = [ 'query' => [ ] , 'body' => json_encode ( [ 'folder' => $ folder ] , JSON_UNESCAPED_UNICODE ) , 'headers' => [ ] , ] ; $ result = $ this -> post ( 'v1/folders/' . $ id . '' , $ parameters ) ; $ result = new FolderResponse ( $ result ) ; return $ result ; }
Update a Folder. Move a folder by updating the parent folder id.

Update a Folder.

@param  int            $id     the Folder identifier
@param  Folder         $folder A JSON encoded Folder representing the updates
@return FolderResponse
Update a Folder . Move a folder by updating the parent folder id .