OLD | NEW |
1 library googleapis.webmasters.v3; | 1 library googleapis.webmasters.v3; |
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; |
(...skipping 11 matching lines...) Expand all Loading... |
22 static const WebmastersReadonlyScope = "https://www.googleapis.com/auth/webmas
ters.readonly"; | 22 static const WebmastersReadonlyScope = "https://www.googleapis.com/auth/webmas
ters.readonly"; |
23 | 23 |
24 | 24 |
25 final common_internal.ApiRequester _requester; | 25 final common_internal.ApiRequester _requester; |
26 | 26 |
27 SitemapsResourceApi get sitemaps => new SitemapsResourceApi(_requester); | 27 SitemapsResourceApi get sitemaps => new SitemapsResourceApi(_requester); |
28 SitesResourceApi get sites => new SitesResourceApi(_requester); | 28 SitesResourceApi get sites => new SitesResourceApi(_requester); |
29 UrlcrawlerrorscountsResourceApi get urlcrawlerrorscounts => new Urlcrawlerrors
countsResourceApi(_requester); | 29 UrlcrawlerrorscountsResourceApi get urlcrawlerrorscounts => new Urlcrawlerrors
countsResourceApi(_requester); |
30 UrlcrawlerrorssamplesResourceApi get urlcrawlerrorssamples => new Urlcrawlerro
rssamplesResourceApi(_requester); | 30 UrlcrawlerrorssamplesResourceApi get urlcrawlerrorssamples => new Urlcrawlerro
rssamplesResourceApi(_requester); |
31 | 31 |
32 WebmastersApi(http.Client client) : | 32 WebmastersApi(http.Client client, {core.String rootUrl: "https://www.googleapi
s.com/", core.String servicePath: "webmasters/v3/"}) : |
33 _requester = new common_internal.ApiRequester(client, "https://www.googlea
pis.com/", "webmasters/v3/"); | 33 _requester = new common_internal.ApiRequester(client, rootUrl, servicePath
); |
34 } | 34 } |
35 | 35 |
36 | 36 |
37 /** Not documented yet. */ | 37 /** Not documented yet. */ |
38 class SitemapsResourceApi { | 38 class SitemapsResourceApi { |
39 final common_internal.ApiRequester _requester; | 39 final common_internal.ApiRequester _requester; |
40 | 40 |
41 SitemapsResourceApi(common_internal.ApiRequester client) : | 41 SitemapsResourceApi(common_internal.ApiRequester client) : |
42 _requester = client; | 42 _requester = client; |
43 | 43 |
(...skipping 1107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1151 _json["submitted"] = submitted; | 1151 _json["submitted"] = submitted; |
1152 } | 1152 } |
1153 if (type != null) { | 1153 if (type != null) { |
1154 _json["type"] = type; | 1154 _json["type"] = type; |
1155 } | 1155 } |
1156 return _json; | 1156 return _json; |
1157 } | 1157 } |
1158 } | 1158 } |
1159 | 1159 |
1160 | 1160 |
OLD | NEW |