/// <summary> /// List all transfers for user /// </summary> public async Task <List <Transfer> > ListTransfers() { var response = await _apiClient.ExecuteGetWithResponseAsync <ListTransfersResponse>("transfers/list"); return(response.Transfers); }
/// <summary> /// Get account info /// </summary> public async Task <AccountInfo> GetAccountInfo() { var response = await _apiClient.ExecuteGetWithResponseAsync <GetAccountInfoResponse>("account/info"); return(response.AccountInfo); }
/// <summary> /// List all your shared files /// </summary> public async Task <List <Share> > ListSharedFiles() { var response = await _apiClient.ExecuteGetWithResponseAsync <ListSharedFilesResponse>("files/shared"); return(response.Shared); }
/// <summary> /// List events /// </summary> public async Task <List <Event> > ListEvents() { var response = await _apiClient.ExecuteGetWithResponseAsync <ListEventsResponse>("events/list"); return(response.Events); }
/// <summary> /// List files and their properties /// </summary> public async Task <ListFilesResponse> ListFiles(ListFilesRequest request) { return(await _apiClient.ExecuteGetWithResponseAsync <ListFilesResponse>($"files/list", request)); }
/// <summary> /// Lists all RSS feeds for the user /// </summary> public async Task <List <Feed> > ListFeeds() { var response = await _apiClient.ExecuteGetWithResponseAsync <ListFeedsResponse>("rss/list"); return(response.Feeds); }
/// <summary> /// List active zipping jobs /// </summary> public async Task <List <Zip> > ListZips() { var response = await _apiClient.ExecuteGetWithResponseAsync <ListZipResponse>("zips/list"); return(response.Zips); }