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

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

Issue 2824163002: Api-roll 48: 2017-04-18 (Closed)
Patch Set: Revert changes to pubspecs Created 3 years, 8 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/sheets/v4.dart ('k') | generated/googleapis/lib/sourcerepo/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.slides.v1; 3 library googleapis.slides.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 442 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 _json["type"] = type; 453 _json["type"] = type;
454 } 454 }
455 return _json; 455 return _json;
456 } 456 }
457 } 457 }
458 458
459 /** Request message for PresentationsService.BatchUpdatePresentation. */ 459 /** Request message for PresentationsService.BatchUpdatePresentation. */
460 class BatchUpdatePresentationRequest { 460 class BatchUpdatePresentationRequest {
461 /** A list of updates to apply to the presentation. */ 461 /** A list of updates to apply to the presentation. */
462 core.List<Request> requests; 462 core.List<Request> requests;
463 /** 463 /** Provides control over how write requests are executed. */
464 * Provides control over how write requests are executed, such as
465 * conditionally updating the presentation.
466 */
467 WriteControl writeControl; 464 WriteControl writeControl;
468 465
469 BatchUpdatePresentationRequest(); 466 BatchUpdatePresentationRequest();
470 467
471 BatchUpdatePresentationRequest.fromJson(core.Map _json) { 468 BatchUpdatePresentationRequest.fromJson(core.Map _json) {
472 if (_json.containsKey("requests")) { 469 if (_json.containsKey("requests")) {
473 requests = _json["requests"].map((value) => new Request.fromJson(value)).t oList(); 470 requests = _json["requests"].map((value) => new Request.fromJson(value)).t oList();
474 } 471 }
475 if (_json.containsKey("writeControl")) { 472 if (_json.containsKey("writeControl")) {
476 writeControl = new WriteControl.fromJson(_json["writeControl"]); 473 writeControl = new WriteControl.fromJson(_json["writeControl"]);
(...skipping 2733 matching lines...) Expand 10 before | Expand all | Expand 10 after
3210 */ 3207 */
3211 core.String pageType; 3208 core.String pageType;
3212 /** 3209 /**
3213 * The revision ID of the presentation containing this page. Can be used in 3210 * The revision ID of the presentation containing this page. Can be used in
3214 * update requests to assert that the presentation revision hasn't changed 3211 * update requests to assert that the presentation revision hasn't changed
3215 * since the last read operation. Only populated if the user has edit access 3212 * since the last read operation. Only populated if the user has edit access
3216 * to the presentation. 3213 * to the presentation.
3217 * 3214 *
3218 * The format of the revision ID may change over time, so it should be treated 3215 * The format of the revision ID may change over time, so it should be treated
3219 * opaquely. A returned revision ID is only guaranteed to be valid for 24 3216 * opaquely. A returned revision ID is only guaranteed to be valid for 24
3220 * hours after it has been returned and cannot be shared across 3217 * hours after it has been returned and cannot be shared across users. If the
3221 * users. Callers can assume that if two revision IDs are equal then the 3218 * revision ID is unchanged between calls, then the presentation has not
3222 * presentation has not changed. 3219 * changed. Conversely, a changed ID (for the same presentation and user)
3220 * usually means the presentation has been updated; however, a changed ID can
3221 * also be due to internal factors such as ID format changes.
3223 */ 3222 */
3224 core.String revisionId; 3223 core.String revisionId;
3225 /** Slide specific properties. Only set if page_type = SLIDE. */ 3224 /** Slide specific properties. Only set if page_type = SLIDE. */
3226 SlideProperties slideProperties; 3225 SlideProperties slideProperties;
3227 3226
3228 Page(); 3227 Page();
3229 3228
3230 Page.fromJson(core.Map _json) { 3229 Page.fromJson(core.Map _json) {
3231 if (_json.containsKey("layoutProperties")) { 3230 if (_json.containsKey("layoutProperties")) {
3232 layoutProperties = new LayoutProperties.fromJson(_json["layoutProperties"] ); 3231 layoutProperties = new LayoutProperties.fromJson(_json["layoutProperties"] );
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
3628 * LTR text, right-aligned otherwise. 3627 * LTR text, right-aligned otherwise.
3629 * - "CENTER" : The paragraph is centered. 3628 * - "CENTER" : The paragraph is centered.
3630 * - "END" : The paragraph is aligned to the end of the line. Right-aligned 3629 * - "END" : The paragraph is aligned to the end of the line. Right-aligned
3631 * for 3630 * for
3632 * LTR text, left-aligned otherwise. 3631 * LTR text, left-aligned otherwise.
3633 * - "JUSTIFIED" : The paragraph is justified. 3632 * - "JUSTIFIED" : The paragraph is justified.
3634 */ 3633 */
3635 core.String alignment; 3634 core.String alignment;
3636 /** 3635 /**
3637 * The text direction of this paragraph. If unset, the value defaults to 3636 * The text direction of this paragraph. If unset, the value defaults to
3638 * LEFT_TO_RIGHT 3637 * LEFT_TO_RIGHT since
3639 * since text direction is not inherited. 3638 * text direction is not inherited.
3640 * Possible string values are: 3639 * Possible string values are:
3641 * - "TEXT_DIRECTION_UNSPECIFIED" : The text direction is inherited from the 3640 * - "TEXT_DIRECTION_UNSPECIFIED" : The text direction is inherited from the
3642 * parent. 3641 * parent.
3643 * - "LEFT_TO_RIGHT" : The text goes from left to right. 3642 * - "LEFT_TO_RIGHT" : The text goes from left to right.
3644 * - "RIGHT_TO_LEFT" : The text goes from right to left. 3643 * - "RIGHT_TO_LEFT" : The text goes from right to left.
3645 */ 3644 */
3646 core.String direction; 3645 core.String direction;
3647 /** 3646 /**
3648 * The amount indentation for the paragraph on the side that corresponds to 3647 * The amount indentation for the paragraph on the side that corresponds to
3649 * the end of the text, based on the current text direction. If unset, the 3648 * the end of the text, based on the current text direction. If unset, the
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
3749 } 3748 }
3750 return _json; 3749 return _json;
3751 } 3750 }
3752 } 3751 }
3753 3752
3754 /** 3753 /**
3755 * The placeholder information that uniquely identifies a placeholder shape. 3754 * The placeholder information that uniquely identifies a placeholder shape.
3756 */ 3755 */
3757 class Placeholder { 3756 class Placeholder {
3758 /** 3757 /**
3759 * The index of the placeholder. If the same placeholder types are the present 3758 * The index of the placeholder. If the same placeholder types are present in
3760 * in the same page, they would have different index values. 3759 * the same page, they would have different index values.
3761 */ 3760 */
3762 core.int index; 3761 core.int index;
3763 /** 3762 /**
3764 * The object ID of this shape's parent placeholder. 3763 * The object ID of this shape's parent placeholder.
3765 * If unset, the parent placeholder shape does not exist, so the shape does 3764 * If unset, the parent placeholder shape does not exist, so the shape does
3766 * not inherit properties from any other shape. 3765 * not inherit properties from any other shape.
3767 */ 3766 */
3768 core.String parentObjectId; 3767 core.String parentObjectId;
3769 /** 3768 /**
3770 * The type of the placeholder. 3769 * The type of the placeholder.
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
3860 /** The ID of the presentation. */ 3859 /** The ID of the presentation. */
3861 core.String presentationId; 3860 core.String presentationId;
3862 /** 3861 /**
3863 * The revision ID of the presentation. Can be used in update requests 3862 * The revision ID of the presentation. Can be used in update requests
3864 * to assert that the presentation revision hasn't changed since the last 3863 * to assert that the presentation revision hasn't changed since the last
3865 * read operation. Only populated if the user has edit access to the 3864 * read operation. Only populated if the user has edit access to the
3866 * presentation. 3865 * presentation.
3867 * 3866 *
3868 * The format of the revision ID may change over time, so it should be treated 3867 * The format of the revision ID may change over time, so it should be treated
3869 * opaquely. A returned revision ID is only guaranteed to be valid for 24 3868 * opaquely. A returned revision ID is only guaranteed to be valid for 24
3870 * hours after it has been returned and cannot be shared across users. Callers 3869 * hours after it has been returned and cannot be shared across users. If the
3871 * can assume that if two revision IDs are equal then the presentation has not 3870 * revision ID is unchanged between calls, then the presentation has not
3872 * changed. 3871 * changed. Conversely, a changed ID (for the same presentation and user)
3872 * usually means the presentation has been updated; however, a changed ID can
3873 * also be due to internal factors such as ID format changes.
3873 */ 3874 */
3874 core.String revisionId; 3875 core.String revisionId;
3875 /** 3876 /**
3876 * The slides in the presentation. 3877 * The slides in the presentation.
3877 * A slide inherits properties from a slide layout. 3878 * A slide inherits properties from a slide layout.
3878 */ 3879 */
3879 core.List<Page> slides; 3880 core.List<Page> slides;
3880 /** The title of the presentation. */ 3881 /** The title of the presentation. */
3881 core.String title; 3882 core.String title;
3882 3883
(...skipping 3231 matching lines...) Expand 10 before | Expand all | Expand 10 after
7114 /** 7115 /**
7115 * The font family of the text. 7116 * The font family of the text.
7116 * 7117 *
7117 * The font family can be any font from the Font menu in Slides or from 7118 * The font family can be any font from the Font menu in Slides or from
7118 * [Google Fonts] (https://fonts.google.com/). If the font name is 7119 * [Google Fonts] (https://fonts.google.com/). If the font name is
7119 * unrecognized, the text is rendered in `Arial`. 7120 * unrecognized, the text is rendered in `Arial`.
7120 */ 7121 */
7121 core.String fontFamily; 7122 core.String fontFamily;
7122 /** 7123 /**
7123 * The rendered weight of the text. This field can have any value that is a 7124 * The rendered weight of the text. This field can have any value that is a
7124 * multiple of 100 between 100 and 900, inclusive. This range corresponds to 7125 * multiple of `100` between `100` and `900`, inclusive. This range
7125 * only the numerical values described in the "Cascading Style Sheets Level 7126 * corresponds to the numerical values described in the CSS 2.1
7126 * 2 Revision 1 (CSS 2.1) Specification", 7127 * Specification, [section
7127 * [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness). The 7128 * 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness),
7128 * non-numerical values in the specification are disallowed. Weights greater 7129 * with non-numerical values disallowed. Weights greater than or equal to
7129 * than or equal to 700 are considered bold, and weights less than 700 are 7130 * `700` are considered bold, and weights less than `700`are not bold. The
7130 * not bold. The default value is `400` ("normal"). 7131 * default value is `400` ("normal").
7131 */ 7132 */
7132 core.int weight; 7133 core.int weight;
7133 7134
7134 WeightedFontFamily(); 7135 WeightedFontFamily();
7135 7136
7136 WeightedFontFamily.fromJson(core.Map _json) { 7137 WeightedFontFamily.fromJson(core.Map _json) {
7137 if (_json.containsKey("fontFamily")) { 7138 if (_json.containsKey("fontFamily")) {
7138 fontFamily = _json["fontFamily"]; 7139 fontFamily = _json["fontFamily"];
7139 } 7140 }
7140 if (_json.containsKey("weight")) { 7141 if (_json.containsKey("weight")) {
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
7198 } 7199 }
7199 7200
7200 core.Map toJson() { 7201 core.Map toJson() {
7201 var _json = new core.Map(); 7202 var _json = new core.Map();
7202 if (requiredRevisionId != null) { 7203 if (requiredRevisionId != null) {
7203 _json["requiredRevisionId"] = requiredRevisionId; 7204 _json["requiredRevisionId"] = requiredRevisionId;
7204 } 7205 }
7205 return _json; 7206 return _json;
7206 } 7207 }
7207 } 7208 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/sheets/v4.dart ('k') | generated/googleapis/lib/sourcerepo/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698