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

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

Issue 2159673002: Api-roll 39: 2016-07-18 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 4 years, 5 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/civicinfo/v2.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:http/http.dart' as http; 10 import 'package:http/http.dart' as http;
(...skipping 2902 matching lines...) Expand 10 before | Expand all | Expand 10 after
2913 final commons.ApiRequester _requester; 2913 final commons.ApiRequester _requester;
2914 2914
2915 VolumesMybooksResourceApi(commons.ApiRequester client) : 2915 VolumesMybooksResourceApi(commons.ApiRequester client) :
2916 _requester = client; 2916 _requester = client;
2917 2917
2918 /** 2918 /**
2919 * Return a list of books in My Library. 2919 * Return a list of books in My Library.
2920 * 2920 *
2921 * Request parameters: 2921 * Request parameters:
2922 * 2922 *
2923 * [acquireMethod] - How the book was aquired 2923 * [acquireMethod] - How the book was acquired
2924 * 2924 *
2925 * [country] - ISO-3166-1 code to override the IP-based location. 2925 * [country] - ISO-3166-1 code to override the IP-based location.
2926 * 2926 *
2927 * [locale] - ISO-639-1 language and ISO-3166-1 country code. Ex:'en_US'. Used 2927 * [locale] - ISO-639-1 language and ISO-3166-1 country code. Ex:'en_US'. Used
2928 * for generating recommendations. 2928 * for generating recommendations.
2929 * 2929 *
2930 * [maxResults] - Maximum number of results to return. 2930 * [maxResults] - Maximum number of results to return.
2931 * Value must be between "0" and "100". 2931 * Value must be between "0" and "100".
2932 * 2932 *
2933 * [processingState] - The processing state of the user uploaded volumes to be 2933 * [processingState] - The processing state of the user uploaded volumes to be
(...skipping 4483 matching lines...) Expand 10 before | Expand all | Expand 10 after
7417 if (identifier != null) { 7417 if (identifier != null) {
7418 _json["identifier"] = identifier; 7418 _json["identifier"] = identifier;
7419 } 7419 }
7420 if (type != null) { 7420 if (type != null) {
7421 _json["type"] = type; 7421 _json["type"] = type;
7422 } 7422 }
7423 return _json; 7423 return _json;
7424 } 7424 }
7425 } 7425 }
7426 7426
7427 /** A top-level summary of the panelization info in this volume. */
7428 class VolumeVolumeInfoPanelizationSummary {
7429 core.bool containsEpubBubbles;
7430 core.bool containsImageBubbles;
7431 core.String epubBubbleVersion;
7432 core.String imageBubbleVersion;
7433
7434 VolumeVolumeInfoPanelizationSummary();
7435
7436 VolumeVolumeInfoPanelizationSummary.fromJson(core.Map _json) {
7437 if (_json.containsKey("containsEpubBubbles")) {
7438 containsEpubBubbles = _json["containsEpubBubbles"];
7439 }
7440 if (_json.containsKey("containsImageBubbles")) {
7441 containsImageBubbles = _json["containsImageBubbles"];
7442 }
7443 if (_json.containsKey("epubBubbleVersion")) {
7444 epubBubbleVersion = _json["epubBubbleVersion"];
7445 }
7446 if (_json.containsKey("imageBubbleVersion")) {
7447 imageBubbleVersion = _json["imageBubbleVersion"];
7448 }
7449 }
7450
7451 core.Map toJson() {
7452 var _json = new core.Map();
7453 if (containsEpubBubbles != null) {
7454 _json["containsEpubBubbles"] = containsEpubBubbles;
7455 }
7456 if (containsImageBubbles != null) {
7457 _json["containsImageBubbles"] = containsImageBubbles;
7458 }
7459 if (epubBubbleVersion != null) {
7460 _json["epubBubbleVersion"] = epubBubbleVersion;
7461 }
7462 if (imageBubbleVersion != null) {
7463 _json["imageBubbleVersion"] = imageBubbleVersion;
7464 }
7465 return _json;
7466 }
7467 }
7468
7427 /** General volume information. */ 7469 /** General volume information. */
7428 class VolumeVolumeInfo { 7470 class VolumeVolumeInfo {
7429 /** Whether anonymous logging should be allowed. */ 7471 /** Whether anonymous logging should be allowed. */
7430 core.bool allowAnonLogging; 7472 core.bool allowAnonLogging;
7431 /** 7473 /**
7432 * The names of the authors and/or editors for this volume. (In LITE 7474 * The names of the authors and/or editors for this volume. (In LITE
7433 * projection) 7475 * projection)
7434 */ 7476 */
7435 core.List<core.String> authors; 7477 core.List<core.String> authors;
7436 /** The mean review rating for this volume. (min = 1.0, max = 5.0) */ 7478 /** The mean review rating for this volume. (min = 1.0, max = 5.0) */
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
7470 */ 7512 */
7471 core.String language; 7513 core.String language;
7472 /** 7514 /**
7473 * The main category to which this volume belongs. It will be the category 7515 * The main category to which this volume belongs. It will be the category
7474 * from the categories list returned below that has the highest weight. 7516 * from the categories list returned below that has the highest weight.
7475 */ 7517 */
7476 core.String mainCategory; 7518 core.String mainCategory;
7477 core.String maturityRating; 7519 core.String maturityRating;
7478 /** Total number of pages as per publisher metadata. */ 7520 /** Total number of pages as per publisher metadata. */
7479 core.int pageCount; 7521 core.int pageCount;
7522 /** A top-level summary of the panelization info in this volume. */
7523 VolumeVolumeInfoPanelizationSummary panelizationSummary;
7480 /** URL to preview this volume on the Google Books site. */ 7524 /** URL to preview this volume on the Google Books site. */
7481 core.String previewLink; 7525 core.String previewLink;
7482 /** 7526 /**
7483 * Type of publication of this volume. Possible values are BOOK or MAGAZINE. 7527 * Type of publication of this volume. Possible values are BOOK or MAGAZINE.
7484 */ 7528 */
7485 core.String printType; 7529 core.String printType;
7486 /** Total number of printed pages in generated pdf representation. */ 7530 /** Total number of printed pages in generated pdf representation. */
7487 core.int printedPageCount; 7531 core.int printedPageCount;
7488 /** Date of publication. (In LITE projection.) */ 7532 /** Date of publication. (In LITE projection.) */
7489 core.String publishedDate; 7533 core.String publishedDate;
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
7547 } 7591 }
7548 if (_json.containsKey("mainCategory")) { 7592 if (_json.containsKey("mainCategory")) {
7549 mainCategory = _json["mainCategory"]; 7593 mainCategory = _json["mainCategory"];
7550 } 7594 }
7551 if (_json.containsKey("maturityRating")) { 7595 if (_json.containsKey("maturityRating")) {
7552 maturityRating = _json["maturityRating"]; 7596 maturityRating = _json["maturityRating"];
7553 } 7597 }
7554 if (_json.containsKey("pageCount")) { 7598 if (_json.containsKey("pageCount")) {
7555 pageCount = _json["pageCount"]; 7599 pageCount = _json["pageCount"];
7556 } 7600 }
7601 if (_json.containsKey("panelizationSummary")) {
7602 panelizationSummary = new VolumeVolumeInfoPanelizationSummary.fromJson(_js on["panelizationSummary"]);
7603 }
7557 if (_json.containsKey("previewLink")) { 7604 if (_json.containsKey("previewLink")) {
7558 previewLink = _json["previewLink"]; 7605 previewLink = _json["previewLink"];
7559 } 7606 }
7560 if (_json.containsKey("printType")) { 7607 if (_json.containsKey("printType")) {
7561 printType = _json["printType"]; 7608 printType = _json["printType"];
7562 } 7609 }
7563 if (_json.containsKey("printedPageCount")) { 7610 if (_json.containsKey("printedPageCount")) {
7564 printedPageCount = _json["printedPageCount"]; 7611 printedPageCount = _json["printedPageCount"];
7565 } 7612 }
7566 if (_json.containsKey("publishedDate")) { 7613 if (_json.containsKey("publishedDate")) {
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
7629 } 7676 }
7630 if (mainCategory != null) { 7677 if (mainCategory != null) {
7631 _json["mainCategory"] = mainCategory; 7678 _json["mainCategory"] = mainCategory;
7632 } 7679 }
7633 if (maturityRating != null) { 7680 if (maturityRating != null) {
7634 _json["maturityRating"] = maturityRating; 7681 _json["maturityRating"] = maturityRating;
7635 } 7682 }
7636 if (pageCount != null) { 7683 if (pageCount != null) {
7637 _json["pageCount"] = pageCount; 7684 _json["pageCount"] = pageCount;
7638 } 7685 }
7686 if (panelizationSummary != null) {
7687 _json["panelizationSummary"] = (panelizationSummary).toJson();
7688 }
7639 if (previewLink != null) { 7689 if (previewLink != null) {
7640 _json["previewLink"] = previewLink; 7690 _json["previewLink"] = previewLink;
7641 } 7691 }
7642 if (printType != null) { 7692 if (printType != null) {
7643 _json["printType"] = printType; 7693 _json["printType"] = printType;
7644 } 7694 }
7645 if (printedPageCount != null) { 7695 if (printedPageCount != null) {
7646 _json["printedPageCount"] = printedPageCount; 7696 _json["printedPageCount"] = printedPageCount;
7647 } 7697 }
7648 if (publishedDate != null) { 7698 if (publishedDate != null) {
(...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after
8216 } 8266 }
8217 if (shortSeriesBookTitle != null) { 8267 if (shortSeriesBookTitle != null) {
8218 _json["shortSeriesBookTitle"] = shortSeriesBookTitle; 8268 _json["shortSeriesBookTitle"] = shortSeriesBookTitle;
8219 } 8269 }
8220 if (volumeSeries != null) { 8270 if (volumeSeries != null) {
8221 _json["volumeSeries"] = volumeSeries.map((value) => (value).toJson()).toLi st(); 8271 _json["volumeSeries"] = volumeSeries.map((value) => (value).toJson()).toLi st();
8222 } 8272 }
8223 return _json; 8273 return _json;
8224 } 8274 }
8225 } 8275 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/bigquery/v2.dart ('k') | generated/googleapis/lib/civicinfo/v2.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698