public ListFolders ( long folderId, PaginationParameters paging ) : PaginatedResult |
||
folderId | long | the folderId |
paging | PaginationParameters | the pagination information |
Результат | PaginatedResult |
public virtual void TestListFolders() { server.setResponseBody("../../../TestSDK/resources/listFolders.json"); IList <Folder> folders = folderResource.ListFolders(12345L); Assert.AreEqual(2, folders.Count); }
public virtual void TestListFolders() { server.setResponseBody("../../../TestSDK/resources/listFolders.json"); PaginatedResult <Folder> result = folderResource.ListFolders(12345L, new PaginationParameters(false, null, null)); Assert.AreEqual(2, result.Data.Count); }