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

Side by Side Diff: generated/googleapis/lib/genomics/v1.dart

Issue 2039113004: Api-roll 37: 2016-06-06 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 4 years, 6 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
« no previous file with comments | « generated/googleapis/lib/games/v1.dart ('k') | generated/googleapis/lib/gmail/v1.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.genomics.v1; 3 library googleapis.genomics.v1;
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:crypto/crypto.dart' as crypto;
11 import 'package:http/http.dart' as http; 10 import 'package:http/http.dart' as http;
12 11
13 export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show 12 export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show
14 ApiRequestError, DetailedApiRequestError; 13 ApiRequestError, DetailedApiRequestError;
15 14
16 const core.String USER_AGENT = 'dart-api-client genomics/v1'; 15 const core.String USER_AGENT = 'dart-api-client genomics/v1';
17 16
18 /** 17 /**
19 * Stores, processes, explores and shares genomic data. This API implements the 18 * Stores, processes, explores and shares genomic data. This API implements the
20 * Global Alliance for Genomics and Health (GA4GH) v0.5.1 API as well as several 19 * Global Alliance for Genomics and Health (GA4GH) v0.5.1 API as well as several
(...skipping 4423 matching lines...) Expand 10 before | Expand all | Expand 10 after
4444 * strongly suggested that systems make use of the `etag` in the 4443 * strongly suggested that systems make use of the `etag` in the
4445 * read-modify-write cycle to perform policy updates in order to avoid race 4444 * read-modify-write cycle to perform policy updates in order to avoid race
4446 * conditions: An `etag` is returned in the response to `getIamPolicy`, and 4445 * conditions: An `etag` is returned in the response to `getIamPolicy`, and
4447 * systems are expected to put that etag in the request to `setIamPolicy` to 4446 * systems are expected to put that etag in the request to `setIamPolicy` to
4448 * ensure that their change will be applied to the same version of the policy. 4447 * ensure that their change will be applied to the same version of the policy.
4449 * If no `etag` is provided in the call to `setIamPolicy`, then the existing 4448 * If no `etag` is provided in the call to `setIamPolicy`, then the existing
4450 * policy is overwritten blindly. 4449 * policy is overwritten blindly.
4451 */ 4450 */
4452 core.String etag; 4451 core.String etag;
4453 core.List<core.int> get etagAsBytes { 4452 core.List<core.int> get etagAsBytes {
4454 return crypto.CryptoUtils.base64StringToBytes(etag); 4453 return convert.BASE64.decode(etag);
4455 } 4454 }
4456 4455
4457 void set etagAsBytes(core.List<core.int> _bytes) { 4456 void set etagAsBytes(core.List<core.int> _bytes) {
4458 etag = crypto.CryptoUtils.bytesToBase64(_bytes, urlSafe: true); 4457 etag = convert.BASE64.encode(_bytes).replaceAll("/", "_").replaceAll("+", "- ");
4459 } 4458 }
4460 /** Version of the `Policy`. The default version is 0. */ 4459 /** Version of the `Policy`. The default version is 0. */
4461 core.int version; 4460 core.int version;
4462 4461
4463 Policy(); 4462 Policy();
4464 4463
4465 Policy.fromJson(core.Map _json) { 4464 Policy.fromJson(core.Map _json) {
4466 if (_json.containsKey("bindings")) { 4465 if (_json.containsKey("bindings")) {
4467 bindings = _json["bindings"].map((value) => new Binding.fromJson(value)).t oList(); 4466 bindings = _json["bindings"].map((value) => new Binding.fromJson(value)).t oList();
4468 } 4467 }
(...skipping 2850 matching lines...) Expand 10 before | Expand all | Expand 10 after
7319 } 7318 }
7320 if (type != null) { 7319 if (type != null) {
7321 _json["type"] = type; 7320 _json["type"] = type;
7322 } 7321 }
7323 if (value != null) { 7322 if (value != null) {
7324 _json["value"] = value; 7323 _json["value"] = value;
7325 } 7324 }
7326 return _json; 7325 return _json;
7327 } 7326 }
7328 } 7327 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/games/v1.dart ('k') | generated/googleapis/lib/gmail/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698