Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(168)

Side by Side Diff: generated/googleapis_beta/lib/genomics/v1beta2.dart

Issue 1268013003: Api-roll 21: 2015-08-04 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // This is a generated file (see the discoveryapis_generator project). 1 // This is a generated file (see the discoveryapis_generator project).
2 2
3 library googleapis_beta.genomics.v1beta2; 3 library googleapis_beta.genomics.v1beta2;
4 4
5 import 'dart:core' as core; 5 import 'dart:core' as core;
6 import 'dart:async' as async; 6 import 'dart:async' as async;
7 import 'dart:convert' as convert; 7 import 'dart:convert' as convert;
8 8
9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons;
10 import 'package:http/http.dart' as http; 10 import 'package:http/http.dart' as http;
(...skipping 2389 matching lines...) Expand 10 before | Expand all | Expand 10 after
2400 } 2400 }
2401 2401
2402 2402
2403 class VariantsetsResourceApi { 2403 class VariantsetsResourceApi {
2404 final commons.ApiRequester _requester; 2404 final commons.ApiRequester _requester;
2405 2405
2406 VariantsetsResourceApi(commons.ApiRequester client) : 2406 VariantsetsResourceApi(commons.ApiRequester client) :
2407 _requester = client; 2407 _requester = client;
2408 2408
2409 /** 2409 /**
2410 * Creates a new variant set (only necessary in v1).
2411 *
2412 * [request] - The metadata request object.
2413 *
2414 * Request parameters:
2415 *
2416 * Completes with a [VariantSet].
2417 *
2418 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
2419 * error.
2420 *
2421 * If the used [http.Client] completes with an error when making a REST call,
2422 * this method will complete with the same error.
2423 */
2424 async.Future<VariantSet> create(VariantSet request) {
2425 var _url = null;
2426 var _queryParams = new core.Map();
2427 var _uploadMedia = null;
2428 var _uploadOptions = null;
2429 var _downloadOptions = commons.DownloadOptions.Metadata;
2430 var _body = null;
2431
2432 if (request != null) {
2433 _body = convert.JSON.encode((request).toJson());
2434 }
2435
2436 _url = 'variantsets';
2437
2438 var _response = _requester.request(_url,
2439 "POST",
2440 body: _body,
2441 queryParams: _queryParams,
2442 uploadOptions: _uploadOptions,
2443 uploadMedia: _uploadMedia,
2444 downloadOptions: _downloadOptions);
2445 return _response.then((data) => new VariantSet.fromJson(data));
2446 }
2447
2448 /**
2410 * Deletes the contents of a variant set. The variant set object is not 2449 * Deletes the contents of a variant set. The variant set object is not
2411 * deleted. 2450 * deleted.
2412 * 2451 *
2413 * Request parameters: 2452 * Request parameters:
2414 * 2453 *
2415 * [variantSetId] - The ID of the variant set to be deleted. 2454 * [variantSetId] - The ID of the variant set to be deleted.
2416 * 2455 *
2417 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 2456 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
2418 * error. 2457 * error.
2419 * 2458 *
(...skipping 3818 matching lines...) Expand 10 before | Expand all | Expand 10 after
6238 } 6277 }
6239 return _json; 6278 return _json;
6240 } 6279 }
6241 } 6280 }
6242 6281
6243 /** The read search response. */ 6282 /** The read search response. */
6244 class SearchReadsResponse { 6283 class SearchReadsResponse {
6245 /** 6284 /**
6246 * The list of matching alignments sorted by mapped genomic coordinate, if 6285 * The list of matching alignments sorted by mapped genomic coordinate, if
6247 * any, ascending in position within the same reference. Unmapped reads, which 6286 * any, ascending in position within the same reference. Unmapped reads, which
6248 * have no position, are returned last and are further sorted in ascending 6287 * have no position, are returned contiguously and are sorted in ascending
6249 * lexicographic order by fragment name. 6288 * lexicographic order by fragment name.
6250 */ 6289 */
6251 core.List<Read> alignments; 6290 core.List<Read> alignments;
6252 /** 6291 /**
6253 * The continuation token, which is used to page through large result sets. 6292 * The continuation token, which is used to page through large result sets.
6254 * Provide this value in a subsequent request to return the next page of 6293 * Provide this value in a subsequent request to return the next page of
6255 * results. This field will be empty if there aren't any additional results. 6294 * results. This field will be empty if there aren't any additional results.
6256 */ 6295 */
6257 core.String nextPageToken; 6296 core.String nextPageToken;
6258 6297
(...skipping 972 matching lines...) Expand 10 before | Expand all | Expand 10 after
7231 } 7270 }
7232 if (metadata != null) { 7271 if (metadata != null) {
7233 _json["metadata"] = metadata.map((value) => (value).toJson()).toList(); 7272 _json["metadata"] = metadata.map((value) => (value).toJson()).toList();
7234 } 7273 }
7235 if (referenceBounds != null) { 7274 if (referenceBounds != null) {
7236 _json["referenceBounds"] = referenceBounds.map((value) => (value).toJson() ).toList(); 7275 _json["referenceBounds"] = referenceBounds.map((value) => (value).toJson() ).toList();
7237 } 7276 }
7238 return _json; 7277 return _json;
7239 } 7278 }
7240 } 7279 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698