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

Side by Side Diff: generated/googleapis/lib/acceleratedmobilepageurl/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/README.md ('k') | generated/googleapis/lib/admin/directory_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.acceleratedmobilepageurl.v1; 3 library googleapis.acceleratedmobilepageurl.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;
11 11
12 export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show 12 export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show
13 ApiRequestError, DetailedApiRequestError; 13 ApiRequestError, DetailedApiRequestError;
14 14
15 const core.String USER_AGENT = 'dart-api-client acceleratedmobilepageurl/v1'; 15 const core.String USER_AGENT = 'dart-api-client acceleratedmobilepageurl/v1';
16 16
17 /** 17 /**
18 * Retrieves the list of AMP URL (and equivalent AMP Cache URL) for a given list 18 * Retrieves the list of AMP URLs (and equivalent AMP Cache URLs) for a given
19 * of public URL(s). 19 * list of public URL(s).
20 */ 20 */
21 class AcceleratedmobilepageurlApi { 21 class AcceleratedmobilepageurlApi {
22 22
23 final commons.ApiRequester _requester; 23 final commons.ApiRequester _requester;
24 24
25 AmpUrlsResourceApi get ampUrls => new AmpUrlsResourceApi(_requester); 25 AmpUrlsResourceApi get ampUrls => new AmpUrlsResourceApi(_requester);
26 26
27 AcceleratedmobilepageurlApi(http.Client client, {core.String rootUrl: "https:/ /acceleratedmobilepageurl.googleapis.com/", core.String servicePath: ""}) : 27 AcceleratedmobilepageurlApi(http.Client client, {core.String rootUrl: "https:/ /acceleratedmobilepageurl.googleapis.com/", core.String servicePath: ""}) :
28 _requester = new commons.ApiRequester(client, rootUrl, servicePath, USER_A GENT); 28 _requester = new commons.ApiRequester(client, rootUrl, servicePath, USER_A GENT);
29 } 29 }
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>(); 254 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
255 if (ampUrls != null) { 255 if (ampUrls != null) {
256 _json["ampUrls"] = ampUrls.map((value) => (value).toJson()).toList(); 256 _json["ampUrls"] = ampUrls.map((value) => (value).toJson()).toList();
257 } 257 }
258 if (urlErrors != null) { 258 if (urlErrors != null) {
259 _json["urlErrors"] = urlErrors.map((value) => (value).toJson()).toList(); 259 _json["urlErrors"] = urlErrors.map((value) => (value).toJson()).toList();
260 } 260 }
261 return _json; 261 return _json;
262 } 262 }
263 } 263 }
OLDNEW
« no previous file with comments | « generated/googleapis/README.md ('k') | generated/googleapis/lib/admin/directory_v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698