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

Side by Side Diff: generated/googleapis/lib/books/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/bigquery/v2.dart ('k') | generated/googleapis/lib/cloudbuild/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.books.v1; 3 library googleapis.books.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 books/v1'; 15 const core.String USER_AGENT = 'dart-api-client books/v1';
17 16
18 /** Lets you search for books and manage your Google Books library. */ 17 /** Lets you search for books and manage your Google Books library. */
19 class BooksApi { 18 class BooksApi {
20 /** Manage your books */ 19 /** Manage your books */
(...skipping 3486 matching lines...) Expand 10 before | Expand all | Expand 10 after
3507 /** 3506 /**
3508 * 3507 *
3509 * 3508 *
3510 * The values for Object must be JSON objects. It can consist of `num`, 3509 * The values for Object must be JSON objects. It can consist of `num`,
3511 * `String`, `bool` and `null` as well as `Map` and `List` values. 3510 * `String`, `bool` and `null` as well as `Map` and `List` values.
3512 */ 3511 */
3513 core.Object data; 3512 core.Object data;
3514 /** Base64 encoded data for this annotation data. */ 3513 /** Base64 encoded data for this annotation data. */
3515 core.String encodedData; 3514 core.String encodedData;
3516 core.List<core.int> get encodedDataAsBytes { 3515 core.List<core.int> get encodedDataAsBytes {
3517 return crypto.CryptoUtils.base64StringToBytes(encodedData); 3516 return convert.BASE64.decode(encodedData);
3518 } 3517 }
3519 3518
3520 void set encodedDataAsBytes(core.List<core.int> _bytes) { 3519 void set encodedDataAsBytes(core.List<core.int> _bytes) {
3521 encodedData = crypto.CryptoUtils.bytesToBase64(_bytes, urlSafe: true); 3520 encodedData = convert.BASE64.encode(_bytes).replaceAll("/", "_").replaceAll( "+", "-");
3522 } 3521 }
3523 /** Unique id for this annotation data. */ 3522 /** Unique id for this annotation data. */
3524 core.String id; 3523 core.String id;
3525 /** Resource Type */ 3524 /** Resource Type */
3526 core.String kind; 3525 core.String kind;
3527 /** The Layer id for this data. * */ 3526 /** The Layer id for this data. * */
3528 core.String layerId; 3527 core.String layerId;
3529 /** URL for this resource. * */ 3528 /** URL for this resource. * */
3530 core.String selfLink; 3529 core.String selfLink;
3531 /** 3530 /**
(...skipping 4650 matching lines...) Expand 10 before | Expand all | Expand 10 after
8182 } 8181 }
8183 if (shortSeriesBookTitle != null) { 8182 if (shortSeriesBookTitle != null) {
8184 _json["shortSeriesBookTitle"] = shortSeriesBookTitle; 8183 _json["shortSeriesBookTitle"] = shortSeriesBookTitle;
8185 } 8184 }
8186 if (volumeSeries != null) { 8185 if (volumeSeries != null) {
8187 _json["volumeSeries"] = volumeSeries.map((value) => (value).toJson()).toLi st(); 8186 _json["volumeSeries"] = volumeSeries.map((value) => (value).toJson()).toLi st();
8188 } 8187 }
8189 return _json; 8188 return _json;
8190 } 8189 }
8191 } 8190 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/bigquery/v2.dart ('k') | generated/googleapis/lib/cloudbuild/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698