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

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

Issue 595873002: Api roll 1: 2014-09-23 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 6 years, 2 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/translate/v2.dart ('k') | generated/googleapis/lib/webfonts/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 library googleapis.urlshortener.v1; 1 library googleapis.urlshortener.v1;
2 2
3 import "dart:core" as core; 3 import "dart:core" as core;
4 import "dart:collection" as collection; 4 import "dart:collection" as collection;
5 import "dart:async" as async; 5 import "dart:async" as async;
6 import "dart:convert" as convert; 6 import "dart:convert" as convert;
7 7
8 import "package:crypto/crypto.dart" as crypto; 8 import "package:crypto/crypto.dart" as crypto;
9 import 'package:http/http.dart' as http; 9 import 'package:http/http.dart' as http;
10 import '../src/common_internal.dart' as common_internal; 10 import '../src/common_internal.dart' as common_internal;
11 import '../common/common.dart' as common; 11 import '../common/common.dart' as common;
12 12
13 export '../common/common.dart' show ApiRequestError; 13 export '../common/common.dart' show ApiRequestError;
14 export '../common/common.dart' show DetailedApiRequestError; 14 export '../common/common.dart' show DetailedApiRequestError;
15 15
16 /** Lets you create, inspect, and manage goo.gl short URLs */ 16 /** Lets you create, inspect, and manage goo.gl short URLs */
17 class UrlshortenerApi { 17 class UrlshortenerApi {
18 /** Manage your goo.gl short URLs */ 18 /** Manage your goo.gl short URLs */
19 static const UrlshortenerScope = "https://www.googleapis.com/auth/urlshortener "; 19 static const UrlshortenerScope = "https://www.googleapis.com/auth/urlshortener ";
20 20
21 21
22 final common_internal.ApiRequester _requester; 22 final common_internal.ApiRequester _requester;
23 23
24 UrlResourceApi get url => new UrlResourceApi(_requester); 24 UrlResourceApi get url => new UrlResourceApi(_requester);
25 25
26 UrlshortenerApi(http.Client client) : 26 UrlshortenerApi(http.Client client) :
27 _requester = new common_internal.ApiRequester(client, "https://www.googlea pis.com/", "/urlshortener/v1/"); 27 _requester = new common_internal.ApiRequester(client, "https://www.googlea pis.com/", "urlshortener/v1/");
28 } 28 }
29 29
30 30
31 /** Not documented yet. */ 31 /** Not documented yet. */
32 class UrlResourceApi { 32 class UrlResourceApi {
33 final common_internal.ApiRequester _requester; 33 final common_internal.ApiRequester _requester;
34 34
35 UrlResourceApi(common_internal.ApiRequester client) : 35 UrlResourceApi(common_internal.ApiRequester client) :
36 _requester = client; 36 _requester = client;
37 37
(...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after
494 _json["nextPageToken"] = nextPageToken; 494 _json["nextPageToken"] = nextPageToken;
495 } 495 }
496 if (totalItems != null) { 496 if (totalItems != null) {
497 _json["totalItems"] = totalItems; 497 _json["totalItems"] = totalItems;
498 } 498 }
499 return _json; 499 return _json;
500 } 500 }
501 } 501 }
502 502
503 503
OLDNEW
« no previous file with comments | « generated/googleapis/lib/translate/v2.dart ('k') | generated/googleapis/lib/webfonts/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698