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

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

Issue 2987103002: Api-Roll 52: 2017-07-31 (Closed)
Patch Set: Created 3 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
« no previous file with comments | « generated/googleapis/lib/sheets/v4.dart ('k') | generated/googleapis/lib/speech/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 2908 matching lines...) Expand 10 before | Expand all | Expand 10 after
2919 _json["listId"] = listId; 2919 _json["listId"] = listId;
2920 } 2920 }
2921 if (nestingLevel != null) { 2921 if (nestingLevel != null) {
2922 _json["nestingLevel"] = commons.mapMap<NestingLevel, core.Map<core.String, core.Object>>(nestingLevel, (NestingLevel item) => (item).toJson()); 2922 _json["nestingLevel"] = commons.mapMap<NestingLevel, core.Map<core.String, core.Object>>(nestingLevel, (NestingLevel item) => (item).toJson());
2923 } 2923 }
2924 return _json; 2924 return _json;
2925 } 2925 }
2926 } 2926 }
2927 2927
2928 /** 2928 /**
2929 * The properties of Page that are only
2930 * relevant for pages with page_type MASTER.
2931 */
2932 class MasterProperties {
2933 /** The human-readable name of the master. */
2934 core.String displayName;
2935
2936 MasterProperties();
2937
2938 MasterProperties.fromJson(core.Map _json) {
2939 if (_json.containsKey("displayName")) {
2940 displayName = _json["displayName"];
2941 }
2942 }
2943
2944 core.Map<core.String, core.Object> toJson() {
2945 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2946 if (displayName != null) {
2947 _json["displayName"] = displayName;
2948 }
2949 return _json;
2950 }
2951 }
2952
2953 /**
2929 * Contains properties describing the look and feel of a list bullet at a given 2954 * Contains properties describing the look and feel of a list bullet at a given
2930 * level of nesting. 2955 * level of nesting.
2931 */ 2956 */
2932 class NestingLevel { 2957 class NestingLevel {
2933 /** The style of a bullet at this level of nesting. */ 2958 /** The style of a bullet at this level of nesting. */
2934 TextStyle bulletStyle; 2959 TextStyle bulletStyle;
2935 2960
2936 NestingLevel(); 2961 NestingLevel();
2937 2962
2938 NestingLevel.fromJson(core.Map _json) { 2963 NestingLevel.fromJson(core.Map _json) {
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
3177 _json["solidFill"] = (solidFill).toJson(); 3202 _json["solidFill"] = (solidFill).toJson();
3178 } 3203 }
3179 return _json; 3204 return _json;
3180 } 3205 }
3181 } 3206 }
3182 3207
3183 /** A page in a presentation. */ 3208 /** A page in a presentation. */
3184 class Page { 3209 class Page {
3185 /** Layout specific properties. Only set if page_type = LAYOUT. */ 3210 /** Layout specific properties. Only set if page_type = LAYOUT. */
3186 LayoutProperties layoutProperties; 3211 LayoutProperties layoutProperties;
3212 /** Master specific properties. Only set if page_type = MASTER. */
3213 MasterProperties masterProperties;
3187 /** Notes specific properties. Only set if page_type = NOTES. */ 3214 /** Notes specific properties. Only set if page_type = NOTES. */
3188 NotesProperties notesProperties; 3215 NotesProperties notesProperties;
3189 /** 3216 /**
3190 * The object ID for this page. Object IDs used by 3217 * The object ID for this page. Object IDs used by
3191 * Page and 3218 * Page and
3192 * PageElement share the same namespace. 3219 * PageElement share the same namespace.
3193 */ 3220 */
3194 core.String objectId; 3221 core.String objectId;
3195 /** The page elements rendered on the page. */ 3222 /** The page elements rendered on the page. */
3196 core.List<PageElement> pageElements; 3223 core.List<PageElement> pageElements;
(...skipping 26 matching lines...) Expand all
3223 core.String revisionId; 3250 core.String revisionId;
3224 /** Slide specific properties. Only set if page_type = SLIDE. */ 3251 /** Slide specific properties. Only set if page_type = SLIDE. */
3225 SlideProperties slideProperties; 3252 SlideProperties slideProperties;
3226 3253
3227 Page(); 3254 Page();
3228 3255
3229 Page.fromJson(core.Map _json) { 3256 Page.fromJson(core.Map _json) {
3230 if (_json.containsKey("layoutProperties")) { 3257 if (_json.containsKey("layoutProperties")) {
3231 layoutProperties = new LayoutProperties.fromJson(_json["layoutProperties"] ); 3258 layoutProperties = new LayoutProperties.fromJson(_json["layoutProperties"] );
3232 } 3259 }
3260 if (_json.containsKey("masterProperties")) {
3261 masterProperties = new MasterProperties.fromJson(_json["masterProperties"] );
3262 }
3233 if (_json.containsKey("notesProperties")) { 3263 if (_json.containsKey("notesProperties")) {
3234 notesProperties = new NotesProperties.fromJson(_json["notesProperties"]); 3264 notesProperties = new NotesProperties.fromJson(_json["notesProperties"]);
3235 } 3265 }
3236 if (_json.containsKey("objectId")) { 3266 if (_json.containsKey("objectId")) {
3237 objectId = _json["objectId"]; 3267 objectId = _json["objectId"];
3238 } 3268 }
3239 if (_json.containsKey("pageElements")) { 3269 if (_json.containsKey("pageElements")) {
3240 pageElements = _json["pageElements"].map((value) => new PageElement.fromJs on(value)).toList(); 3270 pageElements = _json["pageElements"].map((value) => new PageElement.fromJs on(value)).toList();
3241 } 3271 }
3242 if (_json.containsKey("pageProperties")) { 3272 if (_json.containsKey("pageProperties")) {
3243 pageProperties = new PageProperties.fromJson(_json["pageProperties"]); 3273 pageProperties = new PageProperties.fromJson(_json["pageProperties"]);
3244 } 3274 }
3245 if (_json.containsKey("pageType")) { 3275 if (_json.containsKey("pageType")) {
3246 pageType = _json["pageType"]; 3276 pageType = _json["pageType"];
3247 } 3277 }
3248 if (_json.containsKey("revisionId")) { 3278 if (_json.containsKey("revisionId")) {
3249 revisionId = _json["revisionId"]; 3279 revisionId = _json["revisionId"];
3250 } 3280 }
3251 if (_json.containsKey("slideProperties")) { 3281 if (_json.containsKey("slideProperties")) {
3252 slideProperties = new SlideProperties.fromJson(_json["slideProperties"]); 3282 slideProperties = new SlideProperties.fromJson(_json["slideProperties"]);
3253 } 3283 }
3254 } 3284 }
3255 3285
3256 core.Map<core.String, core.Object> toJson() { 3286 core.Map<core.String, core.Object> toJson() {
3257 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>(); 3287 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3258 if (layoutProperties != null) { 3288 if (layoutProperties != null) {
3259 _json["layoutProperties"] = (layoutProperties).toJson(); 3289 _json["layoutProperties"] = (layoutProperties).toJson();
3260 } 3290 }
3291 if (masterProperties != null) {
3292 _json["masterProperties"] = (masterProperties).toJson();
3293 }
3261 if (notesProperties != null) { 3294 if (notesProperties != null) {
3262 _json["notesProperties"] = (notesProperties).toJson(); 3295 _json["notesProperties"] = (notesProperties).toJson();
3263 } 3296 }
3264 if (objectId != null) { 3297 if (objectId != null) {
3265 _json["objectId"] = objectId; 3298 _json["objectId"] = objectId;
3266 } 3299 }
3267 if (pageElements != null) { 3300 if (pageElements != null) {
3268 _json["pageElements"] = pageElements.map((value) => (value).toJson()).toLi st(); 3301 _json["pageElements"] = pageElements.map((value) => (value).toJson()).toLi st();
3269 } 3302 }
3270 if (pageProperties != null) { 3303 if (pageProperties != null) {
(...skipping 3994 matching lines...) Expand 10 before | Expand all | Expand 10 after
7265 } 7298 }
7266 7299
7267 core.Map<core.String, core.Object> toJson() { 7300 core.Map<core.String, core.Object> toJson() {
7268 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>(); 7301 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
7269 if (requiredRevisionId != null) { 7302 if (requiredRevisionId != null) {
7270 _json["requiredRevisionId"] = requiredRevisionId; 7303 _json["requiredRevisionId"] = requiredRevisionId;
7271 } 7304 }
7272 return _json; 7305 return _json;
7273 } 7306 }
7274 } 7307 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/sheets/v4.dart ('k') | generated/googleapis/lib/speech/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698