Example #1
0
 /// <summary>
 /// Gets a list of networks.
 /// </summary>
 /// <param name="filter">Network filter.</param>
 /// <returns>A list of <see cref="Network"/> objects that match specified filter criteria.</returns>
 public async Task <List <Network> > GetNetworksAsync(NetworkFilter filter = null)
 {
     return(await _restClient.GetAsync <List <Network> >("network" + RestClient.MakeQueryString(filter)));
 }
 /// <summary>
 /// Gets a list of networks.
 /// </summary>
 /// <param name="filter">Network filter.</param>
 /// <returns>A list of <see cref="Network"/> objects that match specified filter criteria.</returns>
 public async Task<List<Network>> GetNetworks(NetworkFilter filter = null)
 {
     return await _restClient.Get<List<Network>>("network" + _restClient.MakeQueryString(filter));
 }