OLD | NEW |
1 library googleapis.licensing.v1; | 1 library googleapis.licensing.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 /** Licensing API to view and manage license for your domain. */ | 16 /** Licensing API to view and manage license for your domain. */ |
17 class LicensingApi { | 17 class LicensingApi { |
18 | 18 |
19 final common_internal.ApiRequester _requester; | 19 final common_internal.ApiRequester _requester; |
20 | 20 |
21 LicenseAssignmentsResourceApi get licenseAssignments => new LicenseAssignments
ResourceApi(_requester); | 21 LicenseAssignmentsResourceApi get licenseAssignments => new LicenseAssignments
ResourceApi(_requester); |
22 | 22 |
23 LicensingApi(http.Client client) : | 23 LicensingApi(http.Client client) : |
24 _requester = new common_internal.ApiRequester(client, "https://www.googlea
pis.com/", "/apps/licensing/v1/product/"); | 24 _requester = new common_internal.ApiRequester(client, "https://www.googlea
pis.com/", "apps/licensing/v1/product/"); |
25 } | 25 } |
26 | 26 |
27 | 27 |
28 /** Not documented yet. */ | 28 /** Not documented yet. */ |
29 class LicenseAssignmentsResourceApi { | 29 class LicenseAssignmentsResourceApi { |
30 final common_internal.ApiRequester _requester; | 30 final common_internal.ApiRequester _requester; |
31 | 31 |
32 LicenseAssignmentsResourceApi(common_internal.ApiRequester client) : | 32 LicenseAssignmentsResourceApi(common_internal.ApiRequester client) : |
33 _requester = client; | 33 _requester = client; |
34 | 34 |
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
560 _json["kind"] = kind; | 560 _json["kind"] = kind; |
561 } | 561 } |
562 if (nextPageToken != null) { | 562 if (nextPageToken != null) { |
563 _json["nextPageToken"] = nextPageToken; | 563 _json["nextPageToken"] = nextPageToken; |
564 } | 564 } |
565 return _json; | 565 return _json; |
566 } | 566 } |
567 } | 567 } |
568 | 568 |
569 | 569 |
OLD | NEW |