OLD | NEW |
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.licensing.v1; | 3 library googleapis.licensing.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 licensing/v1'; | 15 const core.String USER_AGENT = 'dart-api-client licensing/v1'; |
16 | 16 |
17 /** Licensing API to view and manage license for your domain. */ | 17 /** Licensing API to view and manage license for your domain. */ |
18 class LicensingApi { | 18 class LicensingApi { |
19 /** View and manage Google Apps licenses for your domain */ | 19 /** View and manage G Suite licenses for your domain */ |
20 static const AppsLicensingScope = "https://www.googleapis.com/auth/apps.licens
ing"; | 20 static const AppsLicensingScope = "https://www.googleapis.com/auth/apps.licens
ing"; |
21 | 21 |
22 | 22 |
23 final commons.ApiRequester _requester; | 23 final commons.ApiRequester _requester; |
24 | 24 |
25 LicenseAssignmentsResourceApi get licenseAssignments => new LicenseAssignments
ResourceApi(_requester); | 25 LicenseAssignmentsResourceApi get licenseAssignments => new LicenseAssignments
ResourceApi(_requester); |
26 | 26 |
27 LicensingApi(http.Client client, {core.String rootUrl: "https://www.googleapis
.com/", core.String servicePath: "apps/licensing/v1/product/"}) : | 27 LicensingApi(http.Client client, {core.String rootUrl: "https://www.googleapis
.com/", core.String servicePath: "apps/licensing/v1/product/"}) : |
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 512 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
542 } | 542 } |
543 if (kind != null) { | 543 if (kind != null) { |
544 _json["kind"] = kind; | 544 _json["kind"] = kind; |
545 } | 545 } |
546 if (nextPageToken != null) { | 546 if (nextPageToken != null) { |
547 _json["nextPageToken"] = nextPageToken; | 547 _json["nextPageToken"] = nextPageToken; |
548 } | 548 } |
549 return _json; | 549 return _json; |
550 } | 550 } |
551 } | 551 } |
OLD | NEW |