public Task<ListVariantsResponse> ListVariantsAsync(ListVariantsRequest request, IRequestOptions options = null) { return WebClient.SendAsync<ListVariantsResponse>(HttpMethods.GET, request.BuildUrl(ClientSettings.Version), null, options); }
public ListVariantsResponse ListVariants(ListVariantsRequest request, IRequestOptions options = null) { return WebClient.Send(request, options); }
public ListVariantsResponse ListVariants(ListVariantsRequest request, IRequestOptions options = null) { return(WebClient.Send <ListVariantsResponse>(HttpMethods.GET, request.BuildUrl(ClientSettings.Version), null, options)); }
public ListVariantsResponse ListVariants(ListVariantsRequest request, IRequestOptions options = null) { return(WebClient.Send(request, options)); }
public static string BuildUrl(this ListVariantsRequest req, string version) { return(string.Format("{0}/variantset/{1}/variants/{2}", version, req.Id, req.Chrom)); }